boardplot 0.58.1 → 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 +67 -0
  2. package/dist/{ReaderBox-WVOT7VVJ.js → ReaderBox-4PNFZO56.js} +4 -4
  3. package/dist/{annotateEngine-57L26X77.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-HF4BCPIV.js → chunk-266ENWFM.js} +3 -3
  7. package/dist/{chunk-FRR7BJ3B.js → chunk-2E2MK4XM.js} +2 -2
  8. package/dist/{chunk-2DS4MT7T.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-PVGJM2HP.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-T7PRG6AO.js → chunk-3WFJDXZO.js} +3 -3
  16. package/dist/{chunk-5KAYLRRP.js → chunk-3ZR7ZE64.js} +2 -2
  17. package/dist/{chunk-WW4KLAVO.js → chunk-4DLIXTDH.js} +5 -5
  18. package/dist/{chunk-OQUH7I5T.js → chunk-4EEK4AMC.js} +2 -2
  19. package/dist/{chunk-RLH2CQCD.js → chunk-4LCQO46F.js} +144 -55
  20. package/dist/{chunk-SHYS52VO.js → chunk-4NIIQFDA.js} +147 -104
  21. package/dist/{chunk-ED7GLWTF.js → chunk-4PKUS5MG.js} +2 -1
  22. package/dist/{chunk-645BGVPP.js → chunk-4WH2YGO6.js} +3 -3
  23. package/dist/{chunk-MXUPMGRY.js → chunk-4YKS2JDE.js} +3 -3
  24. package/dist/{chunk-LYAT62UT.js → chunk-4YZQY3AA.js} +1 -1
  25. package/dist/{chunk-VJULLJLN.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-USMKNNOU.js → chunk-5UXK5BAA.js} +37 -38
  31. package/dist/{chunk-ZB3JIL3L.js → chunk-5YULK4DY.js} +6 -10
  32. package/dist/{chunk-63JUV7NR.js → chunk-5ZE7SHRM.js} +3 -3
  33. package/dist/{chunk-SCAYWQZK.js → chunk-67744WKZ.js} +1 -1
  34. package/dist/{chunk-IFUAPFL5.js → chunk-6CZGFTGK.js} +51 -47
  35. package/dist/{chunk-7YZZCQT3.js → chunk-6IIYLDSQ.js} +3 -3
  36. package/dist/{chunk-JBAVMO56.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-OS7C2KMQ.js → chunk-7IONS4Z7.js} +3 -3
  40. package/dist/{chunk-ETUKDEGL.js → chunk-7QUWM5W6.js} +6 -6
  41. package/dist/{chunk-KI7VCHNZ.js → chunk-7SIZGM5S.js} +78 -53
  42. package/dist/{chunk-G7BCLYL4.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-4DK67I3B.js → chunk-7YJSSPQX.js} +31 -28
  46. package/dist/{chunk-TBZT5WUT.js → chunk-7ZXIHEZS.js} +4 -4
  47. package/dist/{chunk-IMUMPKXF.js → chunk-A3SOYL6F.js} +3 -3
  48. package/dist/{chunk-P3NMDPDP.js → chunk-ADLKZEML.js} +31 -64
  49. package/dist/{chunk-SKPOXLG5.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-4OJF6DXL.js → chunk-AUSZDYGE.js} +9 -7
  54. package/dist/{chunk-2SWSUNA4.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-X3QUASBR.js → chunk-BJJYNTVJ.js} +1 -1
  58. package/dist/{chunk-WKXLJNHW.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-VC62V7CX.js → chunk-CV5KCQD3.js} +72 -79
  62. package/dist/{chunk-RPGEB3Z5.js → chunk-CX7WUNMO.js} +22 -18
  63. package/dist/{chunk-YJUBX3QF.js → chunk-DANKUHCX.js} +41 -40
  64. package/dist/{chunk-IDXYHDQY.js → chunk-DBKMJWPO.js} +1 -1
  65. package/dist/{chunk-6ALORYH7.js → chunk-DEJ27Y2P.js} +138 -91
  66. package/dist/{chunk-HTQGJQZN.js → chunk-DITI57ZB.js} +1 -1
  67. package/dist/{chunk-IXU5C3YY.js → chunk-DO7MMF4C.js} +86 -43
  68. package/dist/{chunk-I52OMC5B.js → chunk-DUDVHQD6.js} +7 -7
  69. package/dist/{chunk-4TUU3UGY.js → chunk-DXLWMK24.js} +3 -3
  70. package/dist/{chunk-MALSSEXO.js → chunk-DYD7W3Y6.js} +20 -21
  71. package/dist/{chunk-P5RCP4NK.js → chunk-DZBT7AWJ.js} +2 -2
  72. package/dist/{chunk-YLRAAJYV.js → chunk-E4KHHC46.js} +16 -16
  73. package/dist/{chunk-KUWIRCYJ.js → chunk-E62SXDRT.js} +2 -2
  74. package/dist/{chunk-WOICFLOJ.js → chunk-EADD6NNQ.js} +73 -79
  75. package/dist/{chunk-CMPHT2LS.js → chunk-EH23CIC5.js} +4 -4
  76. package/dist/{chunk-HM4AJ5U4.js → chunk-EJA5EANI.js} +47 -26
  77. package/dist/{chunk-NFGV5OAR.js → chunk-EWGFOEJB.js} +126 -65
  78. package/dist/{chunk-Y6E4JU3U.js → chunk-EWMPUCIG.js} +37 -37
  79. package/dist/{chunk-GB3RZYTK.js → chunk-EZ5KUBYF.js} +38 -27
  80. package/dist/{chunk-M5LPP2GQ.js → chunk-F2N5BUBK.js} +12 -13
  81. package/dist/{chunk-VJ7VBB6S.js → chunk-F7QCIJAY.js} +1 -1
  82. package/dist/{chunk-C4SQU2PB.js → chunk-FB36HSY2.js} +4 -4
  83. package/dist/{chunk-F3XOBFS4.js → chunk-FBIMTKYK.js} +3 -10
  84. package/dist/{chunk-XSC4IXXC.js → chunk-FMVXXKSW.js} +3 -3
  85. package/dist/{chunk-3ESWPMDW.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-SH4UGK5U.js → chunk-GDE2JINW.js} +11 -11
  89. package/dist/{chunk-WDJSDJLV.js → chunk-GEEHXLFQ.js} +7 -6
  90. package/dist/{chunk-EDW5HQND.js → chunk-GGFT6IIM.js} +3 -3
  91. package/dist/{chunk-UBYDY4B7.js → chunk-GIJM4MP4.js} +5 -5
  92. package/dist/{chunk-UY34DDUM.js → chunk-GNK7RTO4.js} +3 -3
  93. package/dist/{chunk-CFESVCZR.js → chunk-GSHRYDJM.js} +1 -1
  94. package/dist/{chunk-3M2F7KSS.js → chunk-GWDKUKOJ.js} +96 -321
  95. package/dist/{chunk-XMX4PCFL.js → chunk-GZYMHC44.js} +2 -2
  96. package/dist/{chunk-OUR5ZHCB.js → chunk-HBKZC5BH.js} +2 -2
  97. package/dist/{chunk-23FT7RLN.js → chunk-HC4UW7MB.js} +4 -4
  98. package/dist/{chunk-AMBQ6SWU.js → chunk-HFDU2E7C.js} +27 -21
  99. package/dist/{chunk-ZG4BMJRL.js → chunk-HW67YGJC.js} +1 -1
  100. package/dist/{chunk-FJNZ7NWD.js → chunk-I65BCUVH.js} +3 -3
  101. package/dist/{chunk-VTY6YHQZ.js → chunk-ICERP2YF.js} +3 -3
  102. package/dist/{chunk-G7CXJPEN.js → chunk-ICJUN47O.js} +2 -2
  103. package/dist/{chunk-H4EDDGGX.js → chunk-ID5PE4KM.js} +3 -3
  104. package/dist/{chunk-BQ7SN7AW.js → chunk-IDJVUZAA.js} +3 -3
  105. package/dist/{chunk-O3LT4TAI.js → chunk-IQRRT32Q.js} +2 -2
  106. package/dist/{chunk-WGJIYFVQ.js → chunk-ISMFUWOP.js} +3 -3
  107. package/dist/{chunk-6AVUTZ6W.js → chunk-IX2SLULO.js} +3 -3
  108. package/dist/{chunk-Q2I3QLE3.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-YGWPOYDE.js → chunk-JIB74SQS.js} +6 -6
  112. package/dist/{chunk-ZIVCPXXL.js → chunk-JOX252XQ.js} +5 -5
  113. package/dist/{chunk-V7JFT7NQ.js → chunk-JRM22ULA.js} +54 -45
  114. package/dist/{chunk-XSEETONJ.js → chunk-JYSS5ZZF.js} +5 -5
  115. package/dist/{chunk-WLH5IBFY.js → chunk-KRIYGX3N.js} +3 -3
  116. package/dist/{chunk-XRRG4MBM.js → chunk-KWMQNKGX.js} +2 -2
  117. package/dist/{chunk-6YBNVI5I.js → chunk-LADFOYH7.js} +40 -27
  118. package/dist/{chunk-VKNQOSGW.js → chunk-LC4KDLUE.js} +3 -3
  119. package/dist/{chunk-ITEJQHXE.js → chunk-LLECS747.js} +4 -4
  120. package/dist/{chunk-JYSFAH7C.js → chunk-LM4GVVPM.js} +16 -10
  121. package/dist/{chunk-EHRRHSPV.js → chunk-LPLRXEOT.js} +55 -19
  122. package/dist/{chunk-ZBCCJPGW.js → chunk-M2FF4IPF.js} +16 -7
  123. package/dist/{chunk-4JGBCBDZ.js → chunk-MF6XGFHB.js} +1 -1
  124. package/dist/{chunk-BHLNSJG7.js → chunk-MOBRWYUQ.js} +2 -2
  125. package/dist/{chunk-CDUR3KWV.js → chunk-MOPY5REE.js} +2 -2
  126. package/dist/{chunk-MGXHFRQK.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-W2QILXAL.js → chunk-NIL6TYAN.js} +4 -4
  130. package/dist/{chunk-YW35KSXR.js → chunk-NPDF7HEH.js} +2 -2
  131. package/dist/{chunk-SH4FLUAD.js → chunk-NUASZPS7.js} +1 -1
  132. package/dist/{chunk-Z62TJQO5.js → chunk-NWUEA42V.js} +3 -3
  133. package/dist/{chunk-UOOXWGBU.js → chunk-NZGQLR4X.js} +8 -8
  134. package/dist/{chunk-RQKDEJFQ.js → chunk-O32L5FK2.js} +3 -3
  135. package/dist/{chunk-OUNYHYJL.js → chunk-O623CYPA.js} +3 -3
  136. package/dist/{chunk-OELB7MTE.js → chunk-OJR5GPCN.js} +3 -3
  137. package/dist/{chunk-C47POAC5.js → chunk-OL6HVC6K.js} +1 -1
  138. package/dist/{chunk-6NGKQNTB.js → chunk-OM5MAJST.js} +68 -57
  139. package/dist/{chunk-AAQWFTDM.js → chunk-OTOASFG4.js} +92 -35
  140. package/dist/{chunk-6JTCFPAD.js → chunk-P3N74SZ5.js} +3 -3
  141. package/dist/{chunk-CKEFAD4R.js → chunk-PHQGGR5O.js} +3 -3
  142. package/dist/{chunk-DUOGEFLG.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-R5SGE2NS.js → chunk-QDFX2KAP.js} +2 -2
  149. package/dist/{chunk-XC32OSCD.js → chunk-QKDDGDRF.js} +10 -10
  150. package/dist/{chunk-U6QZOMYC.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-XZOFKLTD.js → chunk-REIIGIJG.js} +3 -3
  156. package/dist/{chunk-4M3UADCM.js → chunk-RF2REMRV.js} +6 -6
  157. package/dist/{chunk-3MFVJMP6.js → chunk-RF6ZHX5F.js} +1 -1
  158. package/dist/{chunk-TKH655ON.js → chunk-RLX6VODQ.js} +9 -2
  159. package/dist/{chunk-KWIP5YRA.js → chunk-RPS7G77V.js} +3 -3
  160. package/dist/{chunk-MVR7YKBF.js → chunk-RSDGBNXP.js} +5 -5
  161. package/dist/{chunk-QFNWGSCT.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-AQ2PQ7FK.js → chunk-SE6LBMRJ.js} +137 -62
  165. package/dist/{chunk-3OSQ32GN.js → chunk-SFRMBCVY.js} +3 -3
  166. package/dist/{chunk-AGJ2QL4A.js → chunk-SNJ3FZXC.js} +14 -12
  167. package/dist/{chunk-USSG6TJV.js → chunk-SXCFMPNM.js} +3 -3
  168. package/dist/{chunk-SGDWLXUC.js → chunk-SY7JC3PH.js} +1 -1
  169. package/dist/{chunk-QATOOZMH.js → chunk-T4CFY4YT.js} +4 -4
  170. package/dist/{chunk-5SVGTQTW.js → chunk-TASEX7VA.js} +1 -1
  171. package/dist/{chunk-BVIJCUWW.js → chunk-TCWJQIVQ.js} +123 -71
  172. package/dist/{chunk-VACZGW5R.js → chunk-TEZWFQB7.js} +7 -7
  173. package/dist/{chunk-GHCU6OSE.js → chunk-TLKRYDH3.js} +2 -2
  174. package/dist/{chunk-MB5EX2YG.js → chunk-TMVERETB.js} +23 -332
  175. package/dist/{chunk-LOXZSTIM.js → chunk-TQFBLSZJ.js} +44 -27
  176. package/dist/{chunk-NT3HCXQC.js → chunk-U4WG46QP.js} +117 -43
  177. package/dist/{chunk-LJDATBPB.js → chunk-U75MMLNQ.js} +3 -6
  178. package/dist/{chunk-R3VSWOTI.js → chunk-UFGJNSSL.js} +1 -1
  179. package/dist/{chunk-FB6X7QHA.js → chunk-UGHJHJKY.js} +1 -1
  180. package/dist/{chunk-LXH4RPY4.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-NQPJWQTW.js → chunk-UV77Y7QK.js} +11 -5
  185. package/dist/{chunk-PMT75APP.js → chunk-UXJXA4NP.js} +1 -1
  186. package/dist/{chunk-3RXUA6VY.js → chunk-UZDQFUHO.js} +3 -3
  187. package/dist/{chunk-AKZOQGF3.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-EBWMTQ4U.js → chunk-VLMKGQ33.js} +13 -13
  191. package/dist/{chunk-34PKJZRY.js → chunk-VMLVZW4F.js} +39 -36
  192. package/dist/{chunk-65U6ZBZZ.js → chunk-VT6PDWUA.js} +78 -78
  193. package/dist/{chunk-GQYT7G4F.js → chunk-VTUSC24F.js} +2 -2
  194. package/dist/{chunk-33EBLJVZ.js → chunk-VVWTD4XP.js} +9 -9
  195. package/dist/{chunk-5CYLT6FJ.js → chunk-VZVPN7NT.js} +3 -3
  196. package/dist/{chunk-Z3WQXVFV.js → chunk-W4ZLMK6Z.js} +1 -1
  197. package/dist/{chunk-35ZJUZUO.js → chunk-W6NEWQZU.js} +20 -18
  198. package/dist/{chunk-DZYTXZNS.js → chunk-WD5NJHZG.js} +2 -2
  199. package/dist/{chunk-P7UOOMXE.js → chunk-WTH3KQDM.js} +2 -2
  200. package/dist/{chunk-CSMVKG2C.js → chunk-WTWM4RK6.js} +1 -1
  201. package/dist/{chunk-W6XSIBLR.js → chunk-WZNO3LUF.js} +3 -3
  202. package/dist/{chunk-QQMESIDA.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-4DMRIL5K.js → chunk-XETSLYFD.js} +3 -3
  206. package/dist/{chunk-6V3A3MTG.js → chunk-XFDNAR4S.js} +16 -27
  207. package/dist/{chunk-WMQ57FOP.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-XLLWIHN2.js → chunk-XMII3G47.js} +3 -3
  211. package/dist/{chunk-BSZOQJXB.js → chunk-XRPZJDAK.js} +101 -72
  212. package/dist/{chunk-IPBOREIY.js → chunk-XUEX5WTR.js} +1 -1
  213. package/dist/{chunk-HO4ILCW7.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-IPZJCBWD.js → chunk-XWUHUTXX.js} +24 -18
  217. package/dist/{chunk-WNTUBGBB.js → chunk-XXYV5UEM.js} +50 -49
  218. package/dist/{chunk-7GRR72MY.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-ZCHKIR7C.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-GNMB72V7.js → chunk-YM4MVABU.js} +56 -24
  225. package/dist/{chunk-GOFS336W.js → chunk-YM7MO7WI.js} +1 -1
  226. package/dist/{chunk-PNYWBY4K.js → chunk-YOUYJHW3.js} +3 -3
  227. package/dist/{chunk-OTWIW2L3.js → chunk-YPELB4Q7.js} +3 -3
  228. package/dist/{chunk-5I4RPBNE.js → chunk-YRCIG4IO.js} +8 -7
  229. package/dist/{chunk-FPFRLRQO.js → chunk-ZIQR2CNM.js} +7 -7
  230. package/dist/{chunk-H7BCNS5J.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-LSYX4UQQ.js → core-2PT7IROA.js} +2 -1
  237. package/dist/{core-YN2VVGUL.js → core-34YTH4KN.js} +1 -1
  238. package/dist/{core-7YDNMUU3.js → core-4ZEVWU43.js} +1 -1
  239. package/dist/{core-743ZXTWK.js → core-64EHPUVV.js} +1 -1
  240. package/dist/{core-ZETBHLSV.js → core-6KO5AEUH.js} +1 -1
  241. package/dist/{core-2GWH3ED7.js → core-7WLD237S.js} +1 -1
  242. package/dist/{core-AC5AKSCM.js → core-A2MERE3C.js} +1 -1
  243. package/dist/{core-O5S2NETE.js → core-AVNB2Q3G.js} +2 -1
  244. package/dist/{core-XUNZB6BM.js → core-B7KOBTRL.js} +1 -1
  245. package/dist/{core-HIONDJGC.js → core-BOOD7ZUQ.js} +1 -1
  246. package/dist/{core-3LCSHMKN.js → core-BOU34T23.js} +1 -1
  247. package/dist/{core-VYHQ5JY6.js → core-BQ2I77OF.js} +2 -1
  248. package/dist/{core-HMBMMF5Z.js → core-BSEXRZD6.js} +1 -1
  249. package/dist/{core-Q2Y3JEWL.js → core-CXEEM26F.js} +1 -1
  250. package/dist/{core-7OAGK7ZJ.js → core-EHMPBG6Q.js} +1 -1
  251. package/dist/{core-BEK6EPVF.js → core-FXC4TB2K.js} +1 -1
  252. package/dist/{core-MIERUUUT.js → core-HMS72VO6.js} +1 -1
  253. package/dist/{core-EGTJOQK7.js → core-I2GPMB2B.js} +1 -1
  254. package/dist/{core-XJZWD43V.js → core-IQC6H4A7.js} +1 -1
  255. package/dist/{core-RTBPKALG.js → core-IYEFTP6C.js} +1 -1
  256. package/dist/{core-3XGQBHJI.js → core-J2QTOU4D.js} +1 -1
  257. package/dist/{core-AEALAFRA.js → core-JJLIPTEW.js} +1 -1
  258. package/dist/{core-5CRTPVYA.js → core-LCP44UYI.js} +1 -2
  259. package/dist/{core-BRBJ3LPF.js → core-MBNVENCZ.js} +1 -1
  260. package/dist/{core-VBMWBPKM.js → core-MVIK7FAJ.js} +2 -1
  261. package/dist/{core-TIIPSEK3.js → core-N4OKPNXQ.js} +1 -1
  262. package/dist/{core-FE4THVV3.js → core-Q4IILTGO.js} +1 -1
  263. package/dist/{core-4N6WH3IF.js → core-QCPDOQEJ.js} +2 -1
  264. package/dist/{core-AAPPZSSZ.js → core-RVTF336C.js} +1 -1
  265. package/dist/{core-5K4HRIHX.js → core-VGMMKEU4.js} +1 -1
  266. package/dist/{core-3NQ5TXOJ.js → core-VUVJOMUC.js} +1 -1
  267. package/dist/{core-T7CKLMT2.js → core-VWISBHXE.js} +1 -1
  268. package/dist/{core-YKDDPMWW.js → core-W3UBWZR3.js} +1 -1
  269. package/dist/{core-FEBNVNVE.js → core-XYQRB5WF.js} +1 -1
  270. package/dist/{core-YP4MNIMV.js → core-Y6DJHIYT.js} +1 -1
  271. package/dist/{core-NTOOJZRA.js → core-YHWVJULU.js} +1 -1
  272. package/dist/{core-VLXOQ5CK.js → core-YJXOVNIE.js} +1 -1
  273. package/dist/{dataTable-FEQZSDUZ.js → dataTable-3ZK3ZEZP.js} +3 -2
  274. package/dist/{engine-SCQVNSAM.js → engine-FSWLRWZR.js} +19 -17
  275. package/dist/fixtures.js +1 -1
  276. package/dist/index.js +14 -13
  277. package/dist/{main-7UKLXCIL.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-WJH4QNXZ.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-Q5DACE4I.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-JIAQE7WO.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-DC4TVHWD.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 +13 -7
  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-2IRMGCYE.js +0 -125
  412. package/dist/chunk-WVCDISZP.js +0 -89
  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
@@ -13,10 +13,10 @@ import {
13
13
  seatValuesOnGround,
14
14
  shadesFills,
15
15
  withoutEvents
16
- } from "./chunk-NT3HCXQC.js";
16
+ } from "./chunk-U4WG46QP.js";
17
17
  import {
18
18
  preparePolyline
19
- } from "./chunk-OZA7HA6L.js";
19
+ } from "./chunk-7UZUXPFM.js";
20
20
  import {
21
21
  FORCE_CATEGORY_RANKS,
22
22
  STAIRCASE,
@@ -33,7 +33,7 @@ import {
33
33
  staircaseRoom,
34
34
  staircaseState,
35
35
  withCategoryRanks
36
- } from "./chunk-UBYDY4B7.js";
36
+ } from "./chunk-GIJM4MP4.js";
37
37
  import {
38
38
  ANOMALY_FLAG_GAP,
39
39
  ANOMALY_FLAG_H,
@@ -50,10 +50,10 @@ import {
50
50
  lineAnomalyFurniture,
51
51
  refuseAnomalySpec,
52
52
  seatFlaggedValues
53
- } from "./chunk-GB3RZYTK.js";
53
+ } from "./chunk-EZ5KUBYF.js";
54
54
  import {
55
55
  stackSegmentCandidates
56
- } from "./chunk-HO4ILCW7.js";
56
+ } from "./chunk-XUGEYHOQ.js";
57
57
  import {
58
58
  REFERENCE_MARKER_R,
59
59
  rankValueLabels,
@@ -62,7 +62,7 @@ import {
62
62
  referenceMarkerPaint,
63
63
  referenceTickGeometry,
64
64
  withBandValueNotes
65
- } from "./chunk-XZOFKLTD.js";
65
+ } from "./chunk-REIIGIJG.js";
66
66
  import {
67
67
  cellFields,
68
68
  normalizeCategorySeries
@@ -75,12 +75,12 @@ import {
75
75
  hasLabelPosition,
76
76
  positionBarLabel,
77
77
  refuseLabelPosition
78
- } from "./chunk-76GPN6AT.js";
78
+ } from "./chunk-7UUSHA7H.js";
79
79
  import {
80
80
  roundingUnavailable,
81
81
  shareRoundingNotes,
82
82
  sumConsistentShares
83
- } from "./chunk-MXUPMGRY.js";
83
+ } from "./chunk-4YKS2JDE.js";
84
84
  import {
85
85
  averageMarkerLine,
86
86
  averageMarkerMean,
@@ -91,12 +91,12 @@ import {
91
91
  sk,
92
92
  stackParts,
93
93
  warnIncompleteStacks
94
- } from "./chunk-ETUKDEGL.js";
94
+ } from "./chunk-7QUWM5W6.js";
95
95
  import {
96
96
  applyCategoryViewport,
97
97
  liveWindowOptions,
98
98
  viewportMeanSpan
99
- } from "./chunk-JNDWRV34.js";
99
+ } from "./chunk-R2RLERPT.js";
100
100
  import {
101
101
  haloOverRules,
102
102
  linesSize,
@@ -104,27 +104,27 @@ import {
104
104
  valueRowCrowded,
105
105
  valueShareLines,
106
106
  warnShareParts
107
- } from "./chunk-TKH655ON.js";
107
+ } from "./chunk-RLX6VODQ.js";
108
108
  import {
109
109
  valueLineExtent
110
110
  } from "./chunk-QPWRHDLZ.js";
111
111
  import {
112
112
  isIncomplete
113
- } from "./chunk-AICO24HJ.js";
113
+ } from "./chunk-5QMM354E.js";
114
114
  import {
115
115
  emitEventLane,
116
116
  percentLevels,
117
117
  runAnnotatePass,
118
118
  settleEventLane
119
- } from "./chunk-R5SGE2NS.js";
119
+ } from "./chunk-QDFX2KAP.js";
120
120
  import {
121
121
  stepDownFont
122
- } from "./chunk-BHLNSJG7.js";
122
+ } from "./chunk-MOBRWYUQ.js";
123
123
  import {
124
124
  breakUnsupported,
125
125
  chartPalette,
126
126
  chartTheme
127
- } from "./chunk-WFBN2HXR.js";
127
+ } from "./chunk-AIPOSNVG.js";
128
128
  import {
129
129
  NO_STACK_MEAN,
130
130
  noTotal,
@@ -139,10 +139,10 @@ import {
139
139
  VALUE_LINE_RESERVE,
140
140
  hiddenValueLineReserve,
141
141
  namedLineText
142
- } from "./chunk-E5YF236N.js";
142
+ } from "./chunk-R4MVXUAG.js";
143
143
  import {
144
144
  structureCount
145
- } from "./chunk-KW4JXWHO.js";
145
+ } from "./chunk-YDYZWCUQ.js";
146
146
  import {
147
147
  CATEGORY_ROW_FROM_END,
148
148
  CATEGORY_ROW_VERTICAL,
@@ -174,7 +174,7 @@ import {
174
174
  verticalNameRect,
175
175
  yearRowRequests,
176
176
  yieldToRotatedName
177
- } from "./chunk-GNMB72V7.js";
177
+ } from "./chunk-YM4MVABU.js";
178
178
  import {
179
179
  AREA_FILL_PART,
180
180
  DEFER_DENSITY_NOTES,
@@ -212,7 +212,7 @@ import {
212
212
  toDateRoom,
213
213
  withAuthoredFootnotes,
214
214
  withCategoryNoteNames
215
- } from "./chunk-4OJF6DXL.js";
215
+ } from "./chunk-AUSZDYGE.js";
216
216
  import {
217
217
  copyFrame,
218
218
  disclosureNote,
@@ -221,32 +221,36 @@ import {
221
221
  rankKeyShown,
222
222
  recordFreedChrome,
223
223
  wrapFootnote
224
- } from "./chunk-DZYTXZNS.js";
224
+ } from "./chunk-WD5NJHZG.js";
225
225
  import {
226
226
  defaultAnnotationId
227
- } from "./chunk-F2ET5ZTT.js";
227
+ } from "./chunk-PPOUKS24.js";
228
228
  import {
229
229
  emptyIdRecord
230
230
  } from "./chunk-LINZPU5D.js";
231
231
  import {
232
+ RULE_SET,
233
+ defaultSetSpec,
234
+ engineFormatterFromExample,
232
235
  formatStatWithSpec,
236
+ formatWithSpec,
233
237
  formatterFromExample,
234
238
  parseFormatExample,
239
+ percentChangeSpec,
235
240
  percentRasterFormatter,
236
241
  roundedNumber,
242
+ ruleStatistics,
237
243
  sameUnit,
238
244
  seriesRasterFormatter,
239
- unitMagnitude
240
- } from "./chunk-Z6DUNKFU.js";
245
+ statisticFormatter
246
+ } from "./chunk-3JG764MI.js";
241
247
  import {
242
248
  NOT_AVAILABLE,
243
- autoDecimals,
244
249
  chartString,
245
- formatAutomaticNumber,
246
250
  formatAutomaticPercent,
247
251
  formatShare,
248
252
  withLocaleStrings
249
- } from "./chunk-MSYTF3DZ.js";
253
+ } from "./chunk-FYFXOLWI.js";
250
254
  import {
251
255
  canvasMargin,
252
256
  cleanSum,
@@ -274,7 +278,7 @@ import {
274
278
  strokeToken,
275
279
  textScaleOf,
276
280
  withSegmentSeams
277
- } from "./chunk-TX5FSNAU.js";
281
+ } from "./chunk-XAH4EWJT.js";
278
282
  import {
279
283
  curvePathFromSegments,
280
284
  drawnStroke,
@@ -389,8 +393,8 @@ function prepareComboEndpointTexts(series, textOf, engine) {
389
393
  let first = /* @__PURE__ */ new Map(), last = /* @__PURE__ */ new Map(), add = (target, item, ci) => {
390
394
  let authoredOnly = !(target === first ? typeof engine.first == "function" ? engine.first(item) : engine.first : engine.last), value = item.vals[ci];
391
395
  if (authoredOnly && typeof value.labelOverride != "string") return;
392
- let composed = textOf(item, ci), text = typeof value.labelOverride == "string" ? value.labelOverride.replace(/\$\{value\}/g, composed) : composed;
393
- (text || value.labelOverride === !1) && target.set(item.id, { text, ci, suppressed: value.labelOverride === !1 });
396
+ let composed = textOf(item, ci), text = typeof value.labelOverride == "string" ? value.labelOverride.replace(/\$\{value\}/g, composed.text) : composed.text, override = value.labelOverride, shows = override === !1 || typeof override == "string" && !override.includes("${value}") ? void 0 : composed.shows;
397
+ (text || override === !1) && target.set(item.id, { text, ci, suppressed: override === !1, ...shows ? { shows } : {} });
394
398
  };
395
399
  for (let item of series) {
396
400
  let firstCi = item.vals.findIndex((value) => value.v !== null);
@@ -559,6 +563,7 @@ function comboEndpointRequest(input) {
559
563
  kind: "point",
560
564
  owner: { seriesId: s.id, categoryId: lastCat.id },
561
565
  text,
566
+ ...input.shows ? { shows: input.shows } : {},
562
567
  lines: [text],
563
568
  typeRole: "label",
564
569
  font: labelFont,
@@ -775,7 +780,7 @@ function rightAxis(options, gate, raw, primary, secondarySpec, fixed) {
775
780
  for (let d = 0; d <= 3; d++)
776
781
  if (Math.abs(tv - Number(tv.toFixed(d))) < 1e-9) return d;
777
782
  return 3;
778
- })) : 0, secTickFmt = secAxisFmtSrc ? formatterFromExample(secAxisFmtSrc, options.locale?.language) : secFmtSrc ? formatterFromExample(secFmtSrc, options.locale?.language) : secondaryAllPct ? (tv) => formatAutomaticPercent(tv, pctDecimals, !1, lang) : tickFormatter(secondarySpec.spec, secTickValues);
783
+ })) : 0, secTickFmt = secAxisFmtSrc ? engineFormatterFromExample(secAxisFmtSrc, options.locale?.language) : secFmtSrc ? engineFormatterFromExample(secFmtSrc, options.locale?.language) : secondaryAllPct ? (tv) => formatAutomaticPercent(tv, pctDecimals, !1, lang) : tickFormatter(secondarySpec.spec, secTickValues);
779
784
  return secOpt?.show === !1 ? { secFmtSrc, secondaryDomain, rightTicks: [] } : { secFmtSrc, secondaryDomain, rightTicks: secTickValues.map((tv) => ({ at: tv, text: secTickFmt(tv) })) };
780
785
  }
781
786
  if (ruler) {
@@ -919,11 +924,11 @@ function comboAnomalyModel(spec, cats, lines, secondary, primary, pctFmt, locale
919
924
  ["options", "anomaly"]
920
925
  );
921
926
  refuseAnomalySpec(spec);
922
- let series = lineSeries[0], onSecondary = series.axis === "secondary" && secondary !== primary, raster = onSecondary ? secondary : primary, isPct = series.vals.some((val) => val.isPct), fmt = isPct ? pctFmt : raster.fmt, statFmt = isPct ? (v) => formatAutomaticPercent(v, 2, !1, locale) : (v) => formatStatWithSpec(v, raster.spec), present = cats.flatMap((c, ci) => {
927
+ let series = lineSeries[0], onSecondary = series.axis === "secondary" && secondary !== primary, raster = onSecondary ? secondary : primary, isPct = series.vals.some((val) => val.isPct), fmt = isPct ? pctFmt : raster.fmt, statSpec = isPct ? raster.percentSpec : raster.spec, rule = ruleStatistics(statSpec, fmt), statFmt = rule ? (v) => formatStatWithSpec(v, statSpec) : isPct ? (v) => formatAutomaticPercent(v, 2, !1, locale) : (v) => formatStatWithSpec(v, raster.spec), present = cats.flatMap((c, ci) => {
923
928
  let value = series.vals[ci]?.v;
924
929
  return value == null || !Number.isFinite(value) ? [] : [{ categoryId: c.id, value }];
925
930
  });
926
- return { ...anomalyModel(spec, present, fmt, statFmt, locale, warnings, strings), seriesId: series.id, statFmt, onSecondary };
931
+ return { ...anomalyModel(spec, present, fmt, statFmt, locale, warnings, strings, rule), seriesId: series.id, statFmt, rule, onSecondary };
927
932
  }
928
933
  var TOTALS_AXIS = /* @__PURE__ */ Symbol("boardplot.comboTotalsAxis"), SECONDARY_FULL_DOMAIN = /* @__PURE__ */ Symbol("boardplot.secondaryFullDomain"), LINE_BAND_CLEARANCE = /* @__PURE__ */ Symbol("boardplot.lineBandClearance"), FLOAT_BAND_CLEARANCE = /* @__PURE__ */ Symbol("boardplot.floatBandClearance");
929
934
  function secondaryPrimaryRange(options, secondary, fallback) {
@@ -943,17 +948,14 @@ function resolveComboDomain(data, options, warnings, theme) {
943
948
  let columns = dataSeries.filter((s) => s.kind === "column"), lines = dataSeries.filter((s) => s.kind !== "column"), chartInterpolation = options.interpolate ?? "linear", gate = comboAxisGate(options, seriesNorm, columns, lines, warnings), { secondaryActive } = gate;
944
949
  comboUnitConflicts(options, seriesNorm, dataSeries, secondaryActive, warnings);
945
950
  let rasterFor = (axis) => {
946
- let group = seriesNorm.filter((s) => (s.axis ?? "primary") === axis), units = new Set(group.flatMap((s) => s.unit === void 0 || s.unit === "%" || s.vals.every((val) => val.isPct) ? [] : [s.unit])), printed = axis === "primary" && options.format ? seriesNorm.filter((s) => !s.format) : group, shared2 = units.size === 1 ? [...units][0] : void 0, unnamed = units.size === 0 && unitMagnitude(options.unit) !== void 0 ? options.unit : void 0;
951
+ let group = seriesNorm.filter((s) => (s.axis ?? "primary") === axis), units = new Set(group.flatMap((s) => s.unit === void 0 || s.unit === "%" || s.vals.every((val) => val.isPct) ? [] : [s.unit])), printed = axis === "primary" && options.format ? seriesNorm.filter((s) => !s.format) : group, shared2 = units.size === 1 ? [...units][0] : void 0, unnamed = units.size === 0 ? options.unit : void 0;
947
952
  return seriesRasterFormatter(
948
953
  axis === "primary" ? options.format : void 0,
949
954
  printed.flatMap((s) => s.vals.filter((val) => !val.isPct).map((val) => val.v)),
950
955
  options.locale?.language,
951
- axis === "primary" ? options.unit ?? shared2 : shared2 ?? unnamed,
952
- options.target,
953
- axis === "primary" ? options.defaultFormat : void 0,
954
- columns.length > 1
956
+ axis === "primary" ? options.unit ?? shared2 : shared2 ?? unnamed
955
957
  );
956
- }, valueSpec = rasterFor("primary"), fmt = valueSpec.fmt, secondarySpec = secondaryActive ? rasterFor("secondary") : valueSpec, pctFmt = percentRasterFormatter(seriesNorm.flatMap((s) => s.vals.filter((val) => val.isPct).map((val) => val.v)), options.locale?.language), sourceMean = options.viewDomain || options.window ? columns.length > 0 && cats.length > 0 ? columns.reduce((sum, series) => sum + series.vals.reduce((n, value) => n + (value.v ?? 0), 0), 0) / cats.length : primaryLineMean(lines.map((s) => ({ s, pts: [] })), secondaryActive) : void 0, addsOver = (series) => stackAdds(series.map((s) => ({ label: s.label, unit: s.unit, pctCells: s.vals.some((val) => val.isPct) })), options.unit, void 0), columnsAdd = addsOver(columns), averageRun = comboAverageRun(options, cats, columns, lines, warnings, addsOver), anomalyRun = options.anomaly ? comboAnomalyModel(options.anomaly, cats, lines, secondarySpec, valueSpec, pctFmt, options.locale?.language, warnings, options.strings) : void 0, population = applyCategoryViewport({
958
+ }, valueSpec = rasterFor("primary"), fmt = valueSpec.fmt, secondarySpec = secondaryActive ? rasterFor("secondary") : valueSpec, pctValues = seriesNorm.flatMap((s) => s.vals.filter((val) => val.isPct).map((val) => val.v)), pctSpec = options.format ? void 0 : { ...defaultSetSpec(pctValues, options.locale?.language, void 0, { kind: "percent" }), suffix: "%" }, pctFmt = pctSpec ? (value) => formatWithSpec(value, pctSpec) : percentRasterFormatter(pctValues, options.locale?.language), sourceMean = options.viewDomain || options.window ? columns.length > 0 && cats.length > 0 ? columns.reduce((sum, series) => sum + series.vals.reduce((n, value) => n + (value.v ?? 0), 0), 0) / cats.length : primaryLineMean(lines.map((s) => ({ s, pts: [] })), secondaryActive) : void 0, addsOver = (series) => stackAdds(series.map((s) => ({ label: s.label, unit: s.unit, pctCells: s.vals.some((val) => val.isPct) })), options.unit, void 0), columnsAdd = addsOver(columns), averageRun = comboAverageRun(options, cats, columns, lines, warnings, addsOver), anomalyRun = options.anomaly ? comboAnomalyModel(options.anomaly, cats, lines, secondarySpec, valueSpec, pctFmt, options.locale?.language, warnings, options.strings) : void 0, population = applyCategoryViewport({
957
959
  domain: options.viewDomain,
958
960
  window: options.window,
959
961
  categories: cats,
@@ -976,7 +978,7 @@ function resolveComboDomain(data, options, warnings, theme) {
976
978
  disclosuresShown(options)
977
979
  );
978
980
  let shareTexts = /* @__PURE__ */ new Map(), roundingAdjustments = [];
979
- options.rounding !== "nearest" && columns.length > 1 && cats.forEach((c, ci) => {
981
+ options.rounding === "sum-consistent" && columns.length > 1 && cats.forEach((c, ci) => {
980
982
  if (!anyByCat[ci] || negBot[ci] < 0 || !(posTop[ci] > 0) || incompleteCats.has(c.id) || columns.some((s) => s.vals[ci].isPct)) return;
981
983
  let shares = columns.map((s) => s.vals[ci].v / posTop[ci] * 100), rounded = sumConsistentShares(shares, options.locale?.language);
982
984
  rounded?.warning ? warnings.push(roundingUnavailable(c.label ?? c.id, rounded.warning)) : rounded && columns.forEach((s, si) => {
@@ -1057,7 +1059,7 @@ function resolveComboDomain(data, options, warnings, theme) {
1057
1059
  model: anomalyRun.anomaly,
1058
1060
  seriesId: anomalyRun.seriesId,
1059
1061
  statFmt: anomalyRun.statFmt,
1060
- ...anomalyCorridor(anomalyRun.anomaly, anomalyRun.values, extent[0], extent[1], anomalyRun.statFmt, out, options.strings)
1062
+ ...anomalyCorridor(anomalyRun.anomaly, anomalyRun.values, extent[0], extent[1], anomalyRun.statFmt, out, options.strings, anomalyRun.rule)
1061
1063
  };
1062
1064
  }, ticksFromLabels = anatomy && shared !== void 0 && columns.length > 0 && anomalyRun === void 0 && comboValueLabels(options, !0, cats.length) === "all" && options.labels !== !1 && (options.labels === void 0 || options.labels.grandTotal !== !1) && options[TOTALS_AXIS] !== !0 && options.valueAxis?.show === void 0 && options.secondaryAxis?.show === void 0, resolved = {
1063
1065
  anomaly: anomalyFor(primary, right.secondaryDomain, warnings),
@@ -1130,11 +1132,13 @@ function growthItems(domain, lang) {
1130
1132
  let a = at[0], b = at[at.length - 1], first = values[a], last = values[b];
1131
1133
  if (!(first > 0)) return;
1132
1134
  let span = a === 0 && b === cats.length - 1 ? "" : `${label(a)}\u2013${label(b)}`, head = name.split(",")[0].trim();
1133
- return { text: formatAutomaticPercent((last / first - 1) * 100, 0, !0, lang), name: [name, span].filter(Boolean).join(", "), short: [head, span].filter(Boolean).join(", "), last };
1135
+ return { text: "", rate: (last / first - 1) * 100, name: [name, span].filter(Boolean).join(", "), short: [head, span].filter(Boolean).join(", "), last };
1134
1136
  }, line = lines.find((s) => s.axis === "secondary" && s.kind === "line"), lineGrowth = line && growth(line.vals.map((val) => val.v), line.label);
1135
1137
  line && lineGrowth && items.push({ seriesId: line.id, ...lineGrowth, axis: "secondary", ink: "ink" });
1136
1138
  let columnGrowth = columns.length > 0 ? growth(cats.map((c, ci) => anyByCat[ci] ? stackTotals[c.id] : null), columns.length === 1 ? columns[0].label : "") : void 0;
1137
- return columnGrowth && items.push({ seriesId: columns[0].id, ...columnGrowth, axis: "primary", ink: "inkMuted" }), items;
1139
+ columnGrowth && items.push({ seriesId: columns[0].id, ...columnGrowth, axis: "primary", ink: "inkMuted" });
1140
+ let spec = percentChangeSpec(items.map((item) => item.rate), lang, "%");
1141
+ return items.map(({ rate, ...item }) => ({ ...item, text: formatWithSpec(rate, spec) }));
1138
1142
  }
1139
1143
  function growthStatements(env, domain) {
1140
1144
  let { options } = domain, { theme, measure, size } = env, valueFont = { ...{ family: theme.type.family, ...theme.type.label }, weight: emphasisWeight(theme) }, nameFont = valueFont, items = domain.anatomy && options.dualAxis?.growth ? growthItems(domain, options.locale?.language) : [], oneLineW = items.length > 0 ? GROWTH_GAP + maxOf(items.map((item) => measure(growthLine(item), valueFont).width)) : 0, oneLine = items.length > 0 && oneLineW <= size.width * GROWTH_ONE_LINE_SHARE, reserve = items.length === 0 ? 0 : oneLine ? oneLineW : GROWTH_GAP + maxOf(items.flatMap((item) => {
@@ -1388,11 +1392,27 @@ function kindSetting(domain, kind) {
1388
1392
  let v = l?.[kind];
1389
1393
  return v === void 0 ? !0 : v;
1390
1394
  }
1391
- function composeLines(domain, content, value, catLabel, serLabel, valueFmt) {
1392
- let { abs, isPct, share } = value, parts = [];
1395
+ function composeParts(domain, content, value, catLabel, serLabel, valueFmt) {
1396
+ let { abs, isPct, share } = value, parts = [], shows = {};
1393
1397
  for (let c of content)
1394
- c === "absolute" && abs !== null ? parts.push([c, valueFmt(abs)]) : c === "percent" && abs !== null && isPct ? parts.push([c, valueFmt(abs)]) : c === "percent" && share !== void 0 && share !== null ? parts.push([c, value.shareText ?? formatShare(share, domain.options.locale?.language)]) : c === "category" && catLabel ? parts.push([c, catLabel]) : c === "series" && serLabel && parts.push([c, serLabel]);
1395
- return valueShareLines(parts);
1398
+ if ((c === "absolute" || c === "percent" && isPct) && abs !== null) {
1399
+ let text = valueFmt(abs);
1400
+ parts.push([c, text]), shows.value ??= text;
1401
+ } else if (c === "percent" && share !== void 0 && share !== null) {
1402
+ let text = value.shareText ?? formatShare(share, domain.options.locale?.language);
1403
+ parts.push([c, text]), shows["share.percent"] ??= text;
1404
+ } else c === "category" && catLabel ? parts.push([c, catLabel]) : c === "series" && serLabel && parts.push([c, serLabel]);
1405
+ return { parts, shows: Object.keys(shows).length > 0 ? shows : void 0 };
1406
+ }
1407
+ function composeLines(...args) {
1408
+ return valueShareLines(composeParts(...args).parts);
1409
+ }
1410
+ function composeWithShows(override, ...args) {
1411
+ let { parts, shows } = composeParts(...args);
1412
+ return {
1413
+ text: valueShareLines(parts).join(" "),
1414
+ shows: override === !1 || typeof override == "string" && !override.includes("${value}") ? void 0 : shows
1415
+ };
1396
1416
  }
1397
1417
  function composeText(...args) {
1398
1418
  return composeLines(...args).join(" ");
@@ -1446,7 +1466,8 @@ function comboPlotArea(env, domain, paints, framed, gutterOverride, warnings) {
1446
1466
  lines,
1447
1467
  (series, ci) => {
1448
1468
  let value = series.vals[ci];
1449
- return composeText(
1469
+ return composeWithShows(
1470
+ void 0,
1450
1471
  domain,
1451
1472
  pointContent ?? ["absolute"],
1452
1473
  { abs: value.v, isPct: value.isPct },
@@ -1469,11 +1490,11 @@ function comboPlotArea(env, domain, paints, framed, gutterOverride, warnings) {
1469
1490
  markerR: 2.75,
1470
1491
  width: axisW - rightAxisReserve - growthReserve,
1471
1492
  adjacent: { first: showPrimaryAxis, last: rightAxisActive }
1472
- }), anomalyReserve = domain.anomaly ? anomalyRuleReserve(anomalyRuleLines(theme, domain.anomaly.model, domain.anomaly.corridorShown, domain.anomaly.statFmt, { token: "warn" }, options.strings), labelFont, measure) : 0, valueLineFont = { ...labelFont, weight: emphasisWeight(theme) }, rightLineLabels = (domain.options.annotations ?? []).filter((a) => a.kind !== "event").flatMap((annotation, index) => {
1493
+ }), anomalyReserve = domain.anomaly ? anomalyRuleReserve(anomalyRuleLines(theme, domain.anomaly.model, domain.anomaly.corridorShown, domain.anomaly, { token: "warn" }, options.strings), labelFont, measure) : 0, valueLineFont = { ...labelFont, weight: emphasisWeight(theme) }, rightLineLabels = (domain.options.annotations ?? []).filter((a) => a.kind !== "event").flatMap((annotation, index) => {
1473
1494
  if (annotation.kind !== "valueLine" || annotation.label === !1 || (annotation.side ?? "right") !== "right") return [];
1474
1495
  let value = typeof annotation.value == "number" ? annotation.value : domain.columnsAdd ? domain.sourceMean ?? (columns.length > 0 && cats.length > 0 ? cats.reduce((sum, _, ci) => sum + domain.posTop[ci] + domain.negBot[ci], 0) / cats.length : primaryLineMean(domain.lines.map((s) => ({ s, pts: [] })), domain.secondaryActive)) : void 0;
1475
1496
  if (value === void 0) return [];
1476
- let example = annotation.format ?? domain.options.format, fmt = example ? formatterFromExample(example, domain.options.locale?.language) : (v) => formatAutomaticNumber(v, { locale: domain.options.locale?.language, decimals: autoDecimals(v), signed: !1 }), span = domain.meanSpan({ from: annotation.from, to: annotation.to }), text = typeof annotation.label == "string" ? namedLineText(annotation.label, fmt(value), value, annotation.id ?? "") : `${options.strings.average} ${fmt(value)}${span ? ` (${span})` : ""}`;
1497
+ let example = annotation.format ?? domain.options.format, level = domain.valueSpec[RULE_SET] ? { ...domain.valueSpec, prefix: "", suffix: "", signed: !1 } : defaultSetSpec([value], domain.options.locale?.language, domain.options.unit), fmt = example ? formatterFromExample(example, domain.options.locale?.language) : typeof annotation.value == "number" ? (v) => formatWithSpec(v, level) : statisticFormatter([value], level), span = domain.meanSpan({ from: annotation.from, to: annotation.to }), text = typeof annotation.label == "string" ? namedLineText(annotation.label, fmt(value), value, annotation.id ?? "") : `${options.strings.average} ${fmt(value)}${span ? ` (${span})` : ""}`;
1477
1498
  return [{
1478
1499
  id: defaultAnnotationId(annotation, index),
1479
1500
  text,
@@ -1657,7 +1678,7 @@ function segmentLabels(env, domain, area, geometry, paints, requests, warnings)
1657
1678
  warnShareParts(warnings, mixedSigns, unavailable);
1658
1679
  let tooWide = !1, first = requests.length;
1659
1680
  for (let { s, si, ci, v, rect } of geometry.segments) {
1660
- let c = domain.cats[ci], val = s.vals[ci], share = shareBasis[ci] > 0 ? v / shareBasis[ci] * 100 : null, lines = composeLines(domain, content, { abs: v, isPct: val.isPct, share, shareText: domain.shareTexts.get(`${c.id}\0${s.id}`) }, c.label ?? c.id, s.label, domain.valueFmtOf(s, val)), text = lines.join(" "), single = v !== 0 && onePartDrawn(domain.columns.map((column) => column.vals[ci].v)), printed = val.isPct || share !== null ? content : content.filter((part) => part !== "percent");
1681
+ let c = domain.cats[ci], val = s.vals[ci], share = shareBasis[ci] > 0 ? v / shareBasis[ci] * 100 : null, composed = composeParts(domain, content, { abs: v, isPct: val.isPct, share, shareText: domain.shareTexts.get(`${c.id}\0${s.id}`) }, c.label ?? c.id, s.label, domain.valueFmtOf(s, val)), lines = valueShareLines(composed.parts), text = lines.join(" "), shows = val.labelOverride === !1 || typeof val.labelOverride == "string" && !val.labelOverride.includes("${value}") ? void 0 : composed.shows, single = v !== 0 && onePartDrawn(domain.columns.map((column) => column.vals[ci].v)), printed = val.isPct || share !== null ? content : content.filter((part) => part !== "percent");
1661
1682
  if (typeof val.labelOverride == "string" && (text = val.labelOverride.replace(/\$\{value\}/g, text), lines = [text]), !text && val.labelOverride !== !1) continue;
1662
1683
  let tsize = linesSize(lines, labelFont, env.measure), fits = tsize.height + 2 <= rect.h && tsize.width + 4 <= band.bandwidth, sliver = env.density !== "full" && rect.h < SLIVER_MIN_H, hl = env.highlights.has(c.id) || env.highlights.has(s.id), priority = val.priority ?? PRIORITY.interior + Math.min(99, Math.abs(v)) + (hl ? PRIORITY.highlightBonus : 0);
1663
1684
  typeof val.labelOverride != "string" && val.labelOverride !== !1 && !sliver && !single && env.density !== "full" && tsize.width > rect.w && (tooWide = !0), requests.push({
@@ -1669,6 +1690,7 @@ function segmentLabels(env, domain, area, geometry, paints, requests, warnings)
1669
1690
  ...single && printed.length === 1 && printed[0] === "absolute" && (typeof val.labelOverride != "string" || totalValueAlone && totalColumn(domain, ci) === s) ? { printedIn: `grandTotal:${c.id}` } : {},
1670
1691
  owner: { seriesId: s.id, categoryId: c.id },
1671
1692
  text,
1693
+ ...shows ? { shows } : {},
1672
1694
  lines,
1673
1695
  ...lines.length > 1 ? { align: "middle" } : {},
1674
1696
  typeRole: "label",
@@ -1704,9 +1726,13 @@ function insideSeats(candidates, rect, labelH) {
1704
1726
  function grandTotalLabels(env, domain, area, paints, requests, lineYs, strokes = []) {
1705
1727
  let gtContent = domain.columns.length > 0 && domain.columnsAdd ? contentOf(domain, "grandTotal", ["absolute"]) : null;
1706
1728
  if (!gtContent) return;
1707
- let { posTop, negBot } = domain, { y, band, strongFont } = area, authored = /* @__PURE__ */ new Set(), bare = /* @__PURE__ */ new Set(), linked = new Map(requests.flatMap((req) => req.printedIn ? [[req.printedIn, req.id]] : [])), valueAlone = gtContent.join() === "absolute", shares = domain.options[FIRST_END_BELOW_TOTALS] === !0, backLink = (id, words) => !words && valueAlone && linked.has(id) ? { printedIn: linked.get(id) } : {}, crossesRules = domain.averageMarkerId !== void 0 || (domain.options.annotations ?? []).some((annotation) => annotation.kind === "valueLine"), texts = domain.cats.map((c, ci) => {
1729
+ let { posTop, negBot } = domain, { y, band, strongFont } = area, authored = /* @__PURE__ */ new Set(), bare = /* @__PURE__ */ new Set(), linked = new Map(requests.flatMap((req) => req.printedIn ? [[req.printedIn, req.id]] : [])), valueAlone = gtContent.join() === "absolute", shares = domain.options[FIRST_END_BELOW_TOTALS] === !0, backLink = (id, words) => !words && valueAlone && linked.has(id) ? { printedIn: linked.get(id) } : {}, crossesRules = domain.averageMarkerId !== void 0 || (domain.options.annotations ?? []).some((annotation) => annotation.kind === "valueLine"), totals = domain.cats.map((c, ci) => {
1730
+ if (!domain.anyByCat[ci]) return null;
1731
+ let cell = totalColumn(domain, ci)?.vals[ci];
1732
+ return composeWithShows(cell?.labelOverride, domain, gtContent, { abs: domain.stackTotals[c.id], isPct: cell?.isPct ?? !1 }, c.label ?? c.id, "", domain.totalFmtOf(ci));
1733
+ }), totalShows = totals.map((total) => total?.shows), texts = domain.cats.map((c, ci) => {
1708
1734
  if (!domain.anyByCat[ci]) return null;
1709
- let cell = totalColumn(domain, ci)?.vals[ci], composed = composeText(domain, gtContent, { abs: domain.stackTotals[c.id], isPct: cell?.isPct ?? !1 }, c.label ?? c.id, "", domain.totalFmtOf(ci)), override = cell?.labelOverride;
1735
+ let cell = totalColumn(domain, ci)?.vals[ci], composed = totals[ci].text, override = cell?.labelOverride;
1710
1736
  return override === !1 ? null : (typeof override == "string" && authored.add(c.id), namesOnly(cell?.isPct ? gtContent : gtContent.filter((part) => part !== "percent"), override).printsFor && bare.add(c.id), (typeof override == "string" ? override.replace(/\$\{value\}/g, composed) : composed) || null);
1711
1737
  }), anatomyFont = domain.anatomy && domain.columns.length === 1 ? { ...strongFont } : void 0, insideFont = anatomyFont && texts.every((text) => text === null || env.measure(text, anatomyFont).width + 4 <= band.bandwidth) ? anatomyFont : void 0, toDateIds = insideFont ? /* @__PURE__ */ new Set() : toDateOnTotals(env, domain), toDate = domain.options.strings?.toDate ?? chartString(domain.options, "toDate"), wordsAt = (ci, text, font) => {
1712
1738
  let id = domain.cats[ci].id, words = toDateIds.has(id) ? toDate : !insideFont && domain.columnsAdd && domain.incompleteCats.has(id) && disclosuresShown(domain.options) ? domain.options.strings.incomplete : void 0;
@@ -1736,14 +1762,18 @@ function grandTotalLabels(env, domain, area, paints, requests, lineYs, strokes =
1736
1762
  return v !== null && (above ? v > 0 : v < 0);
1737
1763
  });
1738
1764
  return top === void 0 ? 0 : Math.abs(y(top.vals[ci].v) - y(0));
1739
- })(), inside = (dy, slot) => insideDepth >= tsize.height + dy ? { ...at(slot, above ? edgeY + dy : edgeY - tsize.height - dy, 2), ...paints.top(ci, above) } : void 0, lowered = () => {
1765
+ })(), inside = (dy, slot) => insideDepth >= tsize.height + dy ? { ...at(slot, above ? edgeY + dy : edgeY - tsize.height - dy, 2), ...paints.top(ci, above) } : void 0, lowered = (insideEnd2) => {
1766
+ let seats = [], clears = (seat2) => strokes.every((stroke) => !stroke.hits(seat2.rect, STROKE_CLEAR2)), further = insideEnd2 !== void 0 && !clears(insideEnd2);
1740
1767
  if (strokes.length > 0) for (let dy = 12; dy <= 12 + tsize.height; dy++) {
1741
- let seat = inside(dy, "insideEndLowered");
1742
- if (!seat) break;
1743
- if (strokes.every((stroke) => !stroke.hits(seat.rect, STROKE_CLEAR2))) return { ...seat, pad: 0 };
1768
+ let seat2 = inside(dy, "insideEndLowered");
1769
+ if (!seat2) break;
1770
+ if (clears(seat2) && (seats.push({ ...seat2, pad: 0 }), !further))
1771
+ break;
1744
1772
  }
1745
- return inside(12, "insideEndLowered");
1746
- }, curveStartsOnTop = ci === 0 && shares && lineYs(ci).some((ly) => Math.abs(ly - edgeY) < 0.5), leftX = cx - LEFT_SEAT_AIR - (curveStartsOnTop ? 2.75 : 0) - tsize.width, leftSeat = ci === 0 && tsize.width + 4 > band.bandwidth && strokes.length > 0 && above && leftX >= LEFT_SEAT_MIN_X ? [{ slot: "aboveStackLeft", rect: { x: leftX, y: edgeY - tsize.height - 4, w: tsize.width, h: tsize.height }, penalty: 2 }] : [], lift = curveStartsOnTop && above ? clearLift({ ...at("aboveStack", edgeY - tsize.height - 4, 0).rect }, strokes, 2 * tsize.height + 4) : void 0, liftedSeat = lift !== void 0 && lift >= 2.75 ? [at("aboveStackLifted", edgeY - tsize.height - 4 - lift - 2, 1)] : [], named = {
1773
+ if (seats.length > 0) return seats;
1774
+ let seat = inside(12, "insideEndLowered");
1775
+ return seat ? [seat] : [];
1776
+ }, curveStartsOnTop = ci === 0 && shares && lineYs(ci).some((ly) => Math.abs(ly - edgeY) < 0.5), insideEnd = inside(8, "insideEnd"), leftX = cx - LEFT_SEAT_AIR - (curveStartsOnTop ? 2.75 : 0) - tsize.width, leftSeat = ci === 0 && tsize.width + 4 > band.bandwidth && strokes.length > 0 && above && leftX >= LEFT_SEAT_MIN_X ? [{ slot: "aboveStackLeft", rect: { x: leftX, y: edgeY - tsize.height - 4, w: tsize.width, h: tsize.height }, penalty: 2 }] : [], lift = curveStartsOnTop && above ? clearLift({ ...at("aboveStack", edgeY - tsize.height - 4, 0).rect }, strokes, 2 * tsize.height + 4) : void 0, liftedSeat = lift !== void 0 && lift >= 2.75 ? [at("aboveStackLifted", edgeY - tsize.height - 4 - lift - 2, 1)] : [], named = {
1747
1777
  noteText: `${domain.columns.length === 1 ? noteName(domain.columns[0]) : chartString(domain.options, "total")} ${text}${words ? ` ${words.lines[1]}` : ""} (${noteName(c)})`,
1748
1778
  claimIds: [`stack:total:${c.id}`]
1749
1779
  };
@@ -1757,6 +1787,7 @@ function grandTotalLabels(env, domain, area, paints, requests, lineYs, strokes =
1757
1787
  ...backLink(`grandTotal:${c.id}`, void 0),
1758
1788
  owner: { categoryId: c.id },
1759
1789
  text,
1790
+ ...totalShows[ci] ? { shows: totalShows[ci] } : {},
1760
1791
  lines: [text],
1761
1792
  typeRole: "label",
1762
1793
  font: insideFont,
@@ -1775,6 +1806,7 @@ function grandTotalLabels(env, domain, area, paints, requests, lineYs, strokes =
1775
1806
  ...backLink(`grandTotal:${c.id}`, words),
1776
1807
  owner: { categoryId: c.id },
1777
1808
  text,
1809
+ ...totalShows[ci] ? { shows: totalShows[ci] } : {},
1778
1810
  lines: words?.lines ?? [text],
1779
1811
  ...words?.request,
1780
1812
  typeRole: "label",
@@ -1793,10 +1825,10 @@ function grandTotalLabels(env, domain, area, paints, requests, lineYs, strokes =
1793
1825
  ],
1794
1826
  edgeY,
1795
1827
  lineYs(ci),
1796
- inside(8, "insideEnd"),
1828
+ insideEnd,
1797
1829
  domain.columns.length > 1,
1798
1830
  // Last of all, one step further in: a line marker just inside the column top blocks the inside end by a fraction of a pixel.
1799
- lowered()
1831
+ lowered(insideEnd)
1800
1832
  )
1801
1833
  });
1802
1834
  });
@@ -1809,12 +1841,13 @@ function referenceLabels(env, domain, area, requests) {
1809
1841
  for (let s of domain.refs) domain.cats.forEach((c, ci) => {
1810
1842
  let val = s.vals[ci];
1811
1843
  if (val.v === null) return;
1812
- let text = composeText(domain, content, { abs: val.v, isPct: val.isPct }, c.label ?? c.id, s.label, domain.valueFmtOf(s, val)), { width: w, height: h } = env.measure(text, tickFont), ry = y(val.v), seat = (slot, x, top, penalty) => ({ slot, rect: { x, y: top, w, h }, penalty }), cx = band.center(ci), right = band.position(ci) + band.bandwidth + 5;
1844
+ let composed = composeParts(domain, content, { abs: val.v, isPct: val.isPct }, c.label ?? c.id, s.label, domain.valueFmtOf(s, val)), text = valueShareLines(composed.parts).join(" "), { width: w, height: h } = env.measure(text, tickFont), ry = y(val.v), seat = (slot, x, top, penalty) => ({ slot, rect: { x, y: top, w, h }, penalty }), cx = band.center(ci), right = band.position(ci) + band.bandwidth + 5;
1813
1845
  requests.push({
1814
1846
  id: `tick:${s.id}:${c.id}`,
1815
1847
  kind: "tick",
1816
1848
  owner: { seriesId: s.id, categoryId: c.id },
1817
1849
  text,
1850
+ ...composed.shows ? { shows: composed.shows } : {},
1818
1851
  lines: [text],
1819
1852
  typeRole: "label",
1820
1853
  font: tickFont,
@@ -1832,7 +1865,7 @@ function referenceLabels(env, domain, area, requests) {
1832
1865
  });
1833
1866
  });
1834
1867
  }
1835
- function nearestOwnMarkFirst(outer, edgeY, lineYs, inside, tieIsOwn, insideLast) {
1868
+ function nearestOwnMarkFirst(outer, edgeY, lineYs, inside, tieIsOwn, insideLast = []) {
1836
1869
  let own = (c) => {
1837
1870
  let cy = c.rect.y + c.rect.h / 2;
1838
1871
  return lineYs.every((ly) => Math.abs(ly - edgeY) < 0.5 ? tieIsOwn : Math.abs(cy - ly) > Math.abs(cy - edgeY));
@@ -1841,7 +1874,7 @@ function nearestOwnMarkFirst(outer, edgeY, lineYs, inside, tieIsOwn, insideLast)
1841
1874
  ...outer.filter(own),
1842
1875
  ...inside ? [inside] : [],
1843
1876
  ...outer.filter((c) => !own(c)).map((c) => ({ ...c, lastResort: !0 })),
1844
- ...insideLast ? [insideLast] : []
1877
+ ...insideLast
1845
1878
  ].map((c, penalty) => ({ ...c, penalty }));
1846
1879
  }
1847
1880
  function categoryLabels(domain, area, requests) {
@@ -1878,7 +1911,7 @@ function linePointLabels(env, domain, area, geometry, requests, strokes, fills)
1878
1911
  if (area.first.get(s.id)?.ci === point.ci || area.last.get(s.id)?.ci === point.ci) continue;
1879
1912
  let cell = s.vals[point.ci], override = cell.labelOverride, extreme = cell.v === min || cell.v === max, flagged = flaggedContent !== null && override === void 0 && flaggedAt(s, point.ci), engine = content !== null && override === void 0 && (mode === "all" || extreme) || flagged;
1880
1913
  if (typeof override != "string" && !engine) continue;
1881
- let category = domain.cats[point.ci], valueFmt = domain.valueFmtOf(s, cell), text = typeof override == "string" ? override.replace(/\$\{value\}/g, composeText(domain, ["absolute"], { abs: cell.v ?? 0, isPct: cell.isPct }, category.label ?? category.id, s.label, valueFmt)) : composeText(domain, content ?? flaggedContent, { abs: cell.v, isPct: cell.isPct }, category.label ?? category.id, s.label, valueFmt);
1914
+ let category = domain.cats[point.ci], valueFmt = domain.valueFmtOf(s, cell), { text: composed, shows } = typeof override == "string" ? composeWithShows(override, domain, ["absolute"], { abs: cell.v ?? 0, isPct: cell.isPct }, category.label ?? category.id, s.label, valueFmt) : composeWithShows(override, domain, content ?? flaggedContent, { abs: cell.v, isPct: cell.isPct }, category.label ?? category.id, s.label, valueFmt), text = typeof override == "string" ? override.replace(/\$\{value\}/g, composed) : composed;
1882
1915
  if (!text) continue;
1883
1916
  let size = env.measure(text, labelFont), below = sideAwayFrom(point, others) === "below", centeredX = Math.max(frame.plot.x, Math.min(point.x - size.width / 2, frame.plot.x + frame.plot.w - size.width)), aboveY = point.y - labelH - ABOVE_POINT_GAP, lift = domain.anatomy ? clearLift({ x: centeredX, y: aboveY, w: size.width, h: labelH }, strokes, labelH) : void 0, free = [
1884
1917
  { slot: "above", y: aboveY, penalty: below ? 1 : 0 },
@@ -1894,6 +1927,7 @@ function linePointLabels(env, domain, area, geometry, requests, strokes, fills)
1894
1927
  role: composedTextRole(text),
1895
1928
  owner: { seriesId: s.id, categoryId: category.id },
1896
1929
  text,
1930
+ ...shows ? { shows } : {},
1897
1931
  lines: [text],
1898
1932
  typeRole: "label",
1899
1933
  font: labelFont,
@@ -1999,6 +2033,7 @@ function planComboLabels(env, domain, area, geometry, paints, warnings) {
1999
2033
  last: endpoint.point,
2000
2034
  lastCat: domain.cats[endpoint.point.ci],
2001
2035
  text: endpoint.end.text,
2036
+ ...endpoint.end.shows ? { shows: endpoint.end.shows } : {},
2002
2037
  labelFont,
2003
2038
  measure: env.measure,
2004
2039
  MARKER_R: 2.75,
@@ -2089,7 +2124,7 @@ function columnMarks(ctx) {
2089
2124
  if (v === null) return;
2090
2125
  let v0 = v >= 0 ? pos : neg, v1 = v0 + v;
2091
2126
  if (v >= 0 ? pos = v1 : neg = v1, g.segEdges.set(sk(s.id, c.id), { v0, v1, v }), v === 0) return;
2092
- let rect = { x: bx, y: y(Math.max(v0, v1)), w: bw, h: Math.max(Math.abs(y(v0) - y(v1)), 0.5) }, nodeId = `mark:${s.id}:${c.id}`, cellFill = paints.cell(s, val, c, si), cellPat = paints.pattern(s, val, c), washed = "tint" in cellFill && cellFill.tint !== void 0, cellSep = cellPat || washed || markOutlineOff(cellFill, env.theme) ? void 0 : segmentSeparationStroke(cellFill, env.theme.color.background, env.theme);
2127
+ let rect = { x: bx, y: y(Math.max(v0, v1)), w: bw, h: Math.max(Math.abs(y(v0) - y(v1)), 0.5) }, nodeId = `mark:${s.id}:${c.id}`, cellFill = paints.cell(s, val, c, si), cellPat = paints.pattern(s, val, c), washed = "tint" in cellFill && cellFill.tint !== void 0, valueText = domain.valueFmtOf(s, val)(v), cellSep = cellPat || washed || markOutlineOff(cellFill, env.theme) ? void 0 : segmentSeparationStroke(cellFill, env.theme.color.background, env.theme);
2093
2128
  nodes.push({
2094
2129
  t: "rect",
2095
2130
  id: nodeId,
@@ -2100,7 +2135,8 @@ function columnMarks(ctx) {
2100
2135
  ...washed ? {} : { separation: { fillStep: !0, fill: cellFill, backing: { token: "background" }, pattern: cellPat } },
2101
2136
  owner: { seriesId: s.id, categoryId: c.id },
2102
2137
  part: "segment",
2103
- display: { value: domain.valueFmtOf(s, val)(v) }
2138
+ // Its label's value text, also where it draws none: as the segment or the single column's total prints it.
2139
+ display: { value: valueText, shows: { value: valueText } }
2104
2140
  }), claims.claim(rect, "mark", { seriesId: s.id, categoryId: c.id }, "segment"), segs.push({ seriesId: s.id, rect, nodeId }), g.segments.push({ s, si, ci, v, rect });
2105
2141
  });
2106
2142
  let stackTop = y(pos), stackBot = y(neg);
@@ -2114,7 +2150,7 @@ function columnMarks(ctx) {
2114
2150
  cats.forEach((c, ci) => {
2115
2151
  let v = s.vals[ci].v;
2116
2152
  if (v === null) return;
2117
- let ry = y(v), bx = band.position(ci), bw = band.bandwidth, owner = { seriesId: s.id, categoryId: c.id }, id = `ref:${s.id}:${c.id}`, display = { value: domain.valueFmtOf(s, s.vals[ci])(v) };
2153
+ let ry = y(v), bx = band.position(ci), bw = band.bandwidth, owner = { seriesId: s.id, categoryId: c.id }, id = `ref:${s.id}:${c.id}`, text = domain.valueFmtOf(s, s.vals[ci])(v), display = { value: text, shows: { value: text } };
2118
2154
  if (style === "marker") {
2119
2155
  let cx = band.center(ci);
2120
2156
  nodes.push({ t: "circle", id, cx, cy: ry, ...referenceMarkerPaint(env.theme, paints.ref(s)), owner, part: "referenceMarker", display });
@@ -2250,12 +2286,17 @@ function lineMark(ctx, plan, areaNodeId, ringed) {
2250
2286
  let c = cats[p.ci], markerNodeId;
2251
2287
  if (markerShape !== "none" && (full || c.partial === !0)) {
2252
2288
  markerNodeId = `marker:${s.id}:${c.id}`;
2253
- let hollow = c.partial === !0 || paints.lineHollow(s), markerFill = hollow ? { token: "background" } : paint, owner = { seriesId: s.id, categoryId: c.id }, value = s.vals[p.ci], display = { value: domain.valueFmtOf(s, value)(value.v) };
2289
+ let hollow = c.partial === !0 || paints.lineHollow(s), markerFill = hollow ? { token: "background" } : paint, owner = { seriesId: s.id, categoryId: c.id }, value = s.vals[p.ci], text = domain.valueFmtOf(s, value)(value.v), display = { value: text, shows: { value: text } };
2254
2290
  g.nodes.push(anatomyDots && !hollow ? { t: "circle", id: markerNodeId, cx: p.x, cy: p.y, r: ANATOMY_DOT_R, fill: markerFill, stroke: { token: "background" }, strokeWidth: strokeToken(env.theme, "mark"), owner, part: "marker", display } : markerShape === "square" ? { t: "rect", id: markerNodeId, rect: { x: p.x - 2.75, y: p.y - 2.75, w: 2.75 * 2, h: 2.75 * 2 }, fill: markerFill, ...hollow ? { stroke: paint, strokeWidth: strokeToken(env.theme, "mark") } : {}, owner, part: "marker", display } : markerShape === "triangle" || markerShape === "diamond" ? { t: "path", id: markerNodeId, d: markerPath(markerShape, p), fill: markerFill, ...hollow ? { stroke: paint, width: strokeToken(env.theme, "mark") } : {}, owner, part: "marker", display } : { t: "circle", id: markerNodeId, cx: p.x, cy: p.y, r: 2.75, fill: markerFill, stroke: hollow ? paint : { token: "background" }, strokeWidth: strokeToken(env.theme, "mark"), owner, part: "marker", display });
2255
2291
  let claimR = markerShape === "triangle" || markerShape === "diamond" ? 4 + (hollow ? strokeToken(env.theme, "mark") / 2 : 0) : 2.75 + 1;
2256
2292
  g.claims.claim({ x: p.x - claimR, y: p.y - claimR, w: claimR * 2, h: claimR * 2 }, "mark", { seriesId: s.id, categoryId: c.id });
2257
2293
  }
2258
2294
  markPoints.push({ categoryId: c.id, x: p.x, y: p.y, markerNodeId });
2295
+ let cell = s.vals[p.ci];
2296
+ if (!markerNodeId) {
2297
+ let endShown = [ctx.area.first.get(s.id), ctx.area.last.get(s.id)].find((end) => end?.ci === p.ci)?.shows?.value;
2298
+ (g.marks.shown ??= []).push({ owner: { seriesId: s.id, categoryId: c.id }, shows: { value: endShown ?? domain.valueFmtOf(s, cell)(cell.v) } });
2299
+ }
2259
2300
  }
2260
2301
  let latest = domain.options.latestPoint;
2261
2302
  (latest === void 0 ? inkLead : latest === "ring" && s.id === ringed) && latestPointRing(env.theme, g, s, pts.filter((p) => {
@@ -2315,6 +2356,7 @@ function comboAnomalyMarks(env, domain, anomaly, area, geometry) {
2315
2356
  anomaly: anomaly.model,
2316
2357
  corridorShown: anomaly.corridorShown,
2317
2358
  statFmt: anomaly.statFmt,
2359
+ corridorFmt: anomaly.corridorFmt,
2318
2360
  fmt: domain.valueFmtOf(series),
2319
2361
  corridorPaint: columnCorridorPaint(domain.options.colorblindSafe),
2320
2362
  plot: area.plot,
@@ -2377,6 +2419,7 @@ function annotateCombo(env, domain, area, geometry, occupied, solveCtx, labelReq
2377
2419
  measure: env.measure,
2378
2420
  format: domain.options.format,
2379
2421
  locale: domain.options.locale?.language,
2422
+ levelSpec: domain.valueSpec,
2380
2423
  strings: domain.options.strings,
2381
2424
  valueLinePercentLevels: domain.options.unit === "%" || percentLevels([...columns, ...domain.lines.filter((series) => series.axis === "primary")]),
2382
2425
  secondaryPercentLevels: !!domain.options.secondaryAxis?.ruler || secondarySeries.length > 0 && secondarySeries.every((series) => series.unit === "%" || percentLevels([series])),
@@ -2394,7 +2437,15 @@ function annotateCombo(env, domain, area, geometry, occupied, solveCtx, labelReq
2394
2437
  });
2395
2438
  }
2396
2439
  function assembleComboGeometry(input) {
2397
- let { env, domain, area, geometry, solved, annotated, warnings, lane } = input, { cats, columns, lines, refs, fmt, stackTotals, secondaryDomain } = domain, { frame, catPlan, band, plot, showCatTickRow, strongFont, labelFont, tickFont } = area, catFont = catPlan.font, allLabels = [...solved.placed, ...annotated.labels], nodes = [...frame.nodes, ...geometry.nodes];
2440
+ let { env, domain, area, geometry, solved, annotated, warnings, lane } = input, { cats, columns, lines, refs, fmt, stackTotals, secondaryDomain } = domain, { frame, catPlan, band, plot, showCatTickRow, strongFont, labelFont, tickFont } = area, catFont = catPlan.font, allLabels = [...solved.placed, ...annotated.labels], shown = [...geometry.marks.shown ?? []], totalShows = /* @__PURE__ */ new Map();
2441
+ for (let label of allLabels) {
2442
+ let categoryId = label.owner.categoryId;
2443
+ if (label.kind !== "grandTotal" || label.hidden !== void 0 || !label.shows || categoryId === void 0) continue;
2444
+ totalShows.set(categoryId, label.shows);
2445
+ let ci = cats.findIndex((c) => c.id === categoryId), single = ci < 0 ? void 0 : totalColumn(domain, ci);
2446
+ single && shown.push({ owner: { seriesId: single.id, categoryId }, shows: label.shows, drawn: !0 });
2447
+ }
2448
+ let nodes = [...frame.nodes, ...geometry.nodes];
2398
2449
  spliceAnnotationNodes(nodes, annotated.nodes);
2399
2450
  let lastFill = nodes.reduce((at, node, i) => node.part === "area" ? i : at, -1);
2400
2451
  if (lastFill >= 0) {
@@ -2426,7 +2477,8 @@ function assembleComboGeometry(input) {
2426
2477
  columns.length > 0 ? chartString2(domain.options, "stackedColumnSeriesDesc", { v1: columns.length, v2: columns.map((s) => s.label).join(", ") }) : "",
2427
2478
  lines.length > 0 ? chartString2(domain.options, "lineAreaSeriesDesc", { v1: lines.length, v2: lines.map((s) => s.label).join(", ") }) : "",
2428
2479
  refs.length > 0 ? chartString2(domain.options, "referenceSeriesCount", { v1: refs.length }) : ""
2429
- ].filter(Boolean).join(chartString2(domain.options, "plusClause")), totalsAdd = columns.length > 0 && domain.columnsAdd, a11yDesc = chartString2(domain.options, "comboDescStart", { v1: cats.length, v2: partsDesc }) + (domain.secondaryActive ? chartString2(domain.options, "secondaryAxisDesc") : "") + (totalsAdd ? chartString2(domain.options, "columnTotalsSentence", { v1: cats.map((c, ci) => `${c.label ?? c.id} ${domain.anyByCat[ci] ? domain.totalFmtOf(ci)(stackTotals[c.id]) : NOT_AVAILABLE}`).join(", ") }) : ".") + anomalyA11y({ options: domain.options, anomaly: domain.anomaly, fmt: domain.anomaly ? domain.valueFmtOf(domain.lines.find((s) => s.id === domain.anomaly.seriesId)) : fmt, cats }), paintWarningRules = [];
2480
+ ].filter(Boolean).join(chartString2(domain.options, "plusClause")), totalsAdd = columns.length > 0 && domain.columnsAdd, a11yDesc = chartString2(domain.options, "comboDescStart", { v1: cats.length, v2: partsDesc }) + (domain.secondaryActive ? chartString2(domain.options, "secondaryAxisDesc") : "") + // Each total as the chart shows it: its drawn label's text, else as that label formats it.
2481
+ (totalsAdd ? chartString2(domain.options, "columnTotalsSentence", { v1: cats.map((c, ci) => `${c.label ?? c.id} ${domain.anyByCat[ci] ? totalShows.get(c.id)?.value ?? domain.totalFmtOf(ci)(stackTotals[c.id]) : NOT_AVAILABLE}`).join(", ") }) : ".") + anomalyA11y({ options: domain.options, anomaly: domain.anomaly, fmt: domain.anomaly ? domain.valueFmtOf(domain.lines.find((s) => s.id === domain.anomaly.seriesId)) : fmt, cats }), paintWarningRules = [];
2430
2482
  pushAll(warnings, rectSeriesAdjacentWarnings(nodes, input.paints.css, "vertical", env.highlights, env.theme, { rules: paintWarningRules, before: warnings.filter((warning) => !["pie-ramp-crowded", "likert-ramp-invisible", "band-lightness-insufficient", "series-adjacent-similar", "highlight-reads-as-loss"].includes(warning.code)).length }));
2431
2483
  let catTickMaxLines = catPlan.maxLines, clearance = domain.options[LINE_BAND_CLEARANCE], floatClearance = domain.options[FLOAT_BAND_CLEARANCE];
2432
2484
  return {
@@ -2444,7 +2496,7 @@ function assembleComboGeometry(input) {
2444
2496
  annotations: lane ? [...annotated.placed, ...lane.placed] : annotated.placed,
2445
2497
  legend: frame.legend,
2446
2498
  frame: frame.frame,
2447
- marks: geometry.marks,
2499
+ marks: shown.length > 0 ? { ...geometry.marks, shown } : geometry.marks,
2448
2500
  derived: {
2449
2501
  stackTotals: totalsAdd ? stackTotals : {},
2450
2502
  stackParts: totalsAdd ? stackParts(stackTotals, cats, columns, (si, ci) => columns[si].vals[ci].v) : {},