boardplot 0.59.0 → 0.61.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 (381) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/README.md +2 -2
  3. package/dist/{ReaderBox-4PNFZO56.js → ReaderBox-75LYQMSA.js} +3 -3
  4. package/dist/{annotateEngine-DL4KRQ6B.js → annotateEngine-CL6ZSRGG.js} +1 -1
  5. package/dist/build-identity.json +3 -3
  6. package/dist/{chunk-7UZUXPFM.js → chunk-24O6BRKD.js} +1 -1
  7. package/dist/{chunk-HC4UW7MB.js → chunk-2BF6HZV7.js} +4 -4
  8. package/dist/chunk-2KGF6AIK.js +1483 -0
  9. package/dist/{chunk-RF6ZHX5F.js → chunk-2T22INLD.js} +1 -1
  10. package/dist/{chunk-3WFJDXZO.js → chunk-2X6672YL.js} +4 -4
  11. package/dist/{chunk-LC4KDLUE.js → chunk-32FGSRR3.js} +4 -4
  12. package/dist/{chunk-MOBRWYUQ.js → chunk-352V2W5P.js} +2 -2
  13. package/dist/{chunk-FWPPZB4G.js → chunk-3553PK6F.js} +2 -2
  14. package/dist/{chunk-XUEX5WTR.js → chunk-35RSAHLK.js} +1 -1
  15. package/dist/{chunk-E4KHHC46.js → chunk-36KGPRMX.js} +9 -9
  16. package/dist/{chunk-BOUZKVIY.js → chunk-3GL23VOF.js} +31 -3
  17. package/dist/{chunk-SNJ3FZXC.js → chunk-4ORV4RGE.js} +5 -5
  18. package/dist/chunk-4ZIFMZO4.js +63 -0
  19. package/dist/{chunk-FMVXXKSW.js → chunk-533SNVDD.js} +4 -4
  20. package/dist/{chunk-UZDQFUHO.js → chunk-55BVHNZQ.js} +4 -4
  21. package/dist/{chunk-JRM22ULA.js → chunk-56PPEORW.js} +52 -28
  22. package/dist/{chunk-DUDVHQD6.js → chunk-57XHIICM.js} +5 -5
  23. package/dist/{chunk-EJA5EANI.js → chunk-5DH5ACTO.js} +90 -83
  24. package/dist/{chunk-4EEK4AMC.js → chunk-5EU5DLA3.js} +2 -2
  25. package/dist/{chunk-XFDNAR4S.js → chunk-5JZQXMXU.js} +6 -6
  26. package/dist/{chunk-MTOBNHAU.js → chunk-5ZGCGIHG.js} +2 -2
  27. package/dist/{chunk-PHQGGR5O.js → chunk-64577PGJ.js} +4 -4
  28. package/dist/{chunk-GZYMHC44.js → chunk-6JOLPUTW.js} +2 -2
  29. package/dist/{chunk-MYBBZNYN.js → chunk-6QUQEN75.js} +2 -2
  30. package/dist/{chunk-OM5MAJST.js → chunk-6R6LM337.js} +12 -12
  31. package/dist/{chunk-UKEI7JDA.js → chunk-6U4J3T2G.js} +3 -2
  32. package/dist/{chunk-NZGQLR4X.js → chunk-6U7VIQLV.js} +6 -6
  33. package/dist/{chunk-ZNA4JHHG.js → chunk-757IKZZU.js} +2 -2
  34. package/dist/{chunk-V3XYFLOZ.js → chunk-7D65YEEY.js} +4 -4
  35. package/dist/{chunk-XWUHUTXX.js → chunk-7JM235F7.js} +8 -8
  36. package/dist/{chunk-4YZQY3AA.js → chunk-7SSN5ECA.js} +1 -1
  37. package/dist/{chunk-DZBT7AWJ.js → chunk-7WC2N4QZ.js} +2 -2
  38. package/dist/{chunk-ZOQRX5V7.js → chunk-7ZHM37LQ.js} +3 -3
  39. package/dist/{chunk-HW67YGJC.js → chunk-7ZPHJOG6.js} +1 -1
  40. package/dist/{chunk-MZCJ22O4.js → chunk-A4UL5GIM.js} +1 -1
  41. package/dist/{chunk-XUGEYHOQ.js → chunk-ASRICUAD.js} +2 -2
  42. package/dist/{chunk-XZBX6LIC.js → chunk-B62SEOJC.js} +6 -6
  43. package/dist/{chunk-WD5NJHZG.js → chunk-B76O5YXI.js} +1 -1
  44. package/dist/{chunk-RF2REMRV.js → chunk-BF6KECQD.js} +6 -6
  45. package/dist/{chunk-5HOIOQK3.js → chunk-BJ5GI5ZB.js} +1 -1
  46. package/dist/{chunk-XAH4EWJT.js → chunk-BKUTKQMT.js} +38 -2
  47. package/dist/chunk-BOQQARLT.js +89 -0
  48. package/dist/{chunk-VVWTD4XP.js → chunk-BVE5LPOA.js} +4 -4
  49. package/dist/{chunk-BJJYNTVJ.js → chunk-CVUHCNQO.js} +1 -1
  50. package/dist/{chunk-WTWM4RK6.js → chunk-CWP5ZYVQ.js} +1 -1
  51. package/dist/{chunk-W4ZLMK6Z.js → chunk-CYMSES53.js} +1 -1
  52. package/dist/{chunk-B5FT4YAX.js → chunk-DOVEWKJ6.js} +1 -1
  53. package/dist/{chunk-4DLIXTDH.js → chunk-E6IN6QDF.js} +5 -5
  54. package/dist/{chunk-6TZDPQDE.js → chunk-E7FWHKCI.js} +14 -7
  55. package/dist/{chunk-USATDW6O.js → chunk-EAMZDY55.js} +1 -1
  56. package/dist/{chunk-7UUSHA7H.js → chunk-EIQTUVJT.js} +1 -1
  57. package/dist/{chunk-56CDMSE5.js → chunk-EKYVRXTE.js} +1 -1
  58. package/dist/{chunk-GDE2JINW.js → chunk-EL5E6O3K.js} +7 -7
  59. package/dist/{chunk-QMQZC2KW.js → chunk-EM33NXGZ.js} +2 -2
  60. package/dist/{chunk-3V7Y7CHI.js → chunk-EOPDGMDS.js} +1 -1
  61. package/dist/{chunk-PSUSHJFV.js → chunk-EQDLZGZO.js} +1 -1
  62. package/dist/{chunk-5YULK4DY.js → chunk-ESZIJ5Z6.js} +3 -3
  63. package/dist/chunk-EU45YU5W.js +96 -0
  64. package/dist/{chunk-O32L5FK2.js → chunk-EV3GY7Y3.js} +4 -4
  65. package/dist/{chunk-TLKRYDH3.js → chunk-EV7AATQM.js} +2 -2
  66. package/dist/{chunk-XRPZJDAK.js → chunk-EWG3PCYJ.js} +72 -1188
  67. package/dist/{chunk-M2FF4IPF.js → chunk-F2IHSUPI.js} +2 -2
  68. package/dist/{chunk-RPS7G77V.js → chunk-F2WMTUWC.js} +2 -2
  69. package/dist/{chunk-7TZIPGFH.js → chunk-F37PADCM.js} +2 -2
  70. package/dist/{chunk-SE6LBMRJ.js → chunk-FBUAKQAI.js} +25 -23
  71. package/dist/{chunk-77L6QGIG.js → chunk-FKRL2ZB2.js} +1 -1
  72. package/dist/{chunk-MF6XGFHB.js → chunk-FNDDKZ4Z.js} +6 -2
  73. package/dist/{chunk-IX2SLULO.js → chunk-FTIQ6TI2.js} +2 -2
  74. package/dist/{chunk-YM4MVABU.js → chunk-FY3VV7TF.js} +5 -4
  75. package/dist/{chunk-VT6PDWUA.js → chunk-G3CVCW5K.js} +81 -79
  76. package/dist/{chunk-TEZWFQB7.js → chunk-GCZHZVNX.js} +6 -6
  77. package/dist/{chunk-GNK7RTO4.js → chunk-GEQSZ5RE.js} +4 -4
  78. package/dist/{chunk-QKDDGDRF.js → chunk-GNB4JQTB.js} +10 -10
  79. package/dist/{chunk-W6NEWQZU.js → chunk-GRMAYSIG.js} +8 -8
  80. package/dist/{chunk-PZZAVTLQ.js → chunk-GSR6UO7H.js} +2 -2
  81. package/dist/{chunk-AH2L44TR.js → chunk-GZ6MPJKY.js} +3 -3
  82. package/dist/{chunk-POHML4N4.js → chunk-H26UA4UM.js} +6 -6
  83. package/dist/{chunk-VZVPN7NT.js → chunk-H5YDEIY2.js} +4 -4
  84. package/dist/{chunk-EADD6NNQ.js → chunk-HS4DLZ6H.js} +17 -12
  85. package/dist/{chunk-XLX3TUFO.js → chunk-HTLEHU5D.js} +2 -2
  86. package/dist/{chunk-JYSS5ZZF.js → chunk-HUCUNGHB.js} +5 -5
  87. package/dist/{chunk-FP3ORYCG.js → chunk-I3GRAQHO.js} +9 -9
  88. package/dist/{chunk-2GVW5WDD.js → chunk-I4A4MY3S.js} +4 -4
  89. package/dist/{chunk-XGTSZ7NC.js → chunk-IIKM6NXU.js} +4 -4
  90. package/dist/{chunk-AVYRC2T3.js → chunk-IKH3DWS2.js} +11 -11
  91. package/dist/{chunk-U4WG46QP.js → chunk-IKTAVMF2.js} +31 -15
  92. package/dist/{chunk-7BQK2UDV.js → chunk-IXCDKCYE.js} +1 -1
  93. package/dist/{chunk-IXZI4SN4.js → chunk-JE54IO26.js} +15 -15
  94. package/dist/{chunk-TCWJQIVQ.js → chunk-JEAUVQTV.js} +65 -29
  95. package/dist/{chunk-RYYB7REV.js → chunk-JG35YUYX.js} +3 -3
  96. package/dist/{chunk-X3AMBFGF.js → chunk-JIVNJBXI.js} +4 -4
  97. package/dist/{chunk-7YJSSPQX.js → chunk-JLJ4QRAE.js} +12 -12
  98. package/dist/{chunk-6IIYLDSQ.js → chunk-JLZFXNUE.js} +4 -4
  99. package/dist/{chunk-B7UWG6XJ.js → chunk-JTCXK7AG.js} +1 -1
  100. package/dist/{chunk-NWUEA42V.js → chunk-JUTMQGKU.js} +4 -4
  101. package/dist/{chunk-5OV7VOGV.js → chunk-JXHTZVSV.js} +2 -2
  102. package/dist/{chunk-SDAVHADX.js → chunk-JZK6ZPUM.js} +2 -2
  103. package/dist/{chunk-VHZ4MXJO.js → chunk-K2RZKPQ2.js} +1 -1
  104. package/dist/{chunk-NUASZPS7.js → chunk-KJF7SLOA.js} +1 -1
  105. package/dist/{chunk-KRIYGX3N.js → chunk-KTFUYWN2.js} +5 -5
  106. package/dist/{chunk-O623CYPA.js → chunk-KY5MSTME.js} +4 -4
  107. package/dist/{chunk-5ACFYNA4.js → chunk-KZKWDFIS.js} +4 -0
  108. package/dist/{chunk-ID5PE4KM.js → chunk-L5RZFP5B.js} +3 -3
  109. package/dist/{chunk-U75MMLNQ.js → chunk-L6OMA45Q.js} +4 -4
  110. package/dist/{chunk-LLECS747.js → chunk-LEPXK7RN.js} +2 -2
  111. package/dist/{chunk-4YKS2JDE.js → chunk-LFL4KMKF.js} +1 -1
  112. package/dist/{chunk-5UXK5BAA.js → chunk-LH5URXDJ.js} +10 -10
  113. package/dist/{chunk-33SPSKTP.js → chunk-LHQFDRQV.js} +4 -4
  114. package/dist/{chunk-TMVERETB.js → chunk-LL7ZU6BT.js} +12 -12
  115. package/dist/{chunk-GEEHXLFQ.js → chunk-LLHCEZV2.js} +110 -86
  116. package/dist/{chunk-YJXIHVNK.js → chunk-LMDU5MNF.js} +2 -2
  117. package/dist/{chunk-GWDKUKOJ.js → chunk-LT7IY2L3.js} +7 -7
  118. package/dist/{chunk-RSDGBNXP.js → chunk-LTYDEWKW.js} +3 -3
  119. package/dist/{chunk-NIL6TYAN.js → chunk-M2LYZUQA.js} +10 -7
  120. package/dist/{chunk-IQRRT32Q.js → chunk-M4IIJ24E.js} +2 -2
  121. package/dist/{chunk-VMLVZW4F.js → chunk-MBRVSKFJ.js} +6 -6
  122. package/dist/{chunk-AGR4VJ2Y.js → chunk-MM2ADIPB.js} +1 -1
  123. package/dist/{chunk-LM4GVVPM.js → chunk-MNPNLXSI.js} +3 -3
  124. package/dist/{chunk-VLMKGQ33.js → chunk-MNVMTW7K.js} +11 -11
  125. package/dist/{chunk-P3N74SZ5.js → chunk-MYYDNK72.js} +4 -4
  126. package/dist/{chunk-AFQZBCME.js → chunk-NCKINI7K.js} +2 -2
  127. package/dist/{chunk-4WH2YGO6.js → chunk-NHQKHMIS.js} +4 -4
  128. package/dist/{chunk-E62SXDRT.js → chunk-NJKUODK3.js} +1 -1
  129. package/dist/{chunk-HBKZC5BH.js → chunk-NJVXE2DU.js} +2 -2
  130. package/dist/{chunk-MOPY5REE.js → chunk-NNOKYAFB.js} +3 -3
  131. package/dist/{chunk-JIB74SQS.js → chunk-NSQBT4CM.js} +4 -4
  132. package/dist/{chunk-HFDU2E7C.js → chunk-NWJ4DXAZ.js} +11 -11
  133. package/dist/{chunk-JOX252XQ.js → chunk-OGD23BIK.js} +3 -1
  134. package/dist/{chunk-WTH3KQDM.js → chunk-OIMT2SSN.js} +2 -2
  135. package/dist/{chunk-6CZGFTGK.js → chunk-OIPBVU7G.js} +11 -11
  136. package/dist/chunk-OLAPTOUH.js +69 -0
  137. package/dist/{chunk-I65BCUVH.js → chunk-OLEUVUH3.js} +4 -4
  138. package/dist/{chunk-XMII3G47.js → chunk-OP7K5NSS.js} +4 -4
  139. package/dist/{chunk-GGFT6IIM.js → chunk-OQKVFWAO.js} +4 -4
  140. package/dist/{chunk-F2N5BUBK.js → chunk-OR7KKODW.js} +9 -9
  141. package/dist/{chunk-YOUYJHW3.js → chunk-OUSYBIGE.js} +4 -4
  142. package/dist/{chunk-DEJ27Y2P.js → chunk-OYCEFOIW.js} +54 -26
  143. package/dist/{chunk-DANKUHCX.js → chunk-P2QIWGFU.js} +9 -9
  144. package/dist/{chunk-4LCQO46F.js → chunk-P3CZFAFA.js} +79 -75
  145. package/dist/{chunk-2HRDOBPS.js → chunk-P3TOPI3M.js} +1 -1
  146. package/dist/{chunk-DXLWMK24.js → chunk-PCHV6KYJ.js} +3 -3
  147. package/dist/{chunk-YRCIG4IO.js → chunk-PGKGK43I.js} +112 -24
  148. package/dist/{chunk-FBIMTKYK.js → chunk-PH274WAF.js} +3 -3
  149. package/dist/{chunk-266ENWFM.js → chunk-QER2YJHC.js} +4 -4
  150. package/dist/{chunk-XETSLYFD.js → chunk-QJPI55S5.js} +4 -4
  151. package/dist/{chunk-OL6HVC6K.js → chunk-QK2OFTEB.js} +1 -1
  152. package/dist/{chunk-5AXWSGS7.js → chunk-QSMKLDAO.js} +2 -2
  153. package/dist/{chunk-UFGJNSSL.js → chunk-R3IPQHWC.js} +1 -1
  154. package/dist/{chunk-IXOBDDMW.js → chunk-RD24ORGR.js} +2 -0
  155. package/dist/{chunk-QM6IW5BL.js → chunk-RMBWY5JE.js} +4 -4
  156. package/dist/{chunk-UGHJHJKY.js → chunk-RT4V47U6.js} +1 -1
  157. package/dist/{chunk-UI2MKLON.js → chunk-RTSSUQ25.js} +1 -1
  158. package/dist/{chunk-PP23D6QV.js → chunk-RV6JDD6S.js} +4 -4
  159. package/dist/{chunk-6TH5NVKS.js → chunk-RXC3XU62.js} +33 -8
  160. package/dist/{chunk-CV5KCQD3.js → chunk-RZQU5DHD.js} +10 -10
  161. package/dist/{chunk-Y4BJ7D5F.js → chunk-S7AHPU2N.js} +1 -1
  162. package/dist/{chunk-67744WKZ.js → chunk-SGTSTGIP.js} +1 -1
  163. package/dist/{chunk-FB36HSY2.js → chunk-SJORKHHL.js} +5 -5
  164. package/dist/{chunk-7IONS4Z7.js → chunk-SSVOJXFR.js} +3 -3
  165. package/dist/{chunk-XVFUJRRC.js → chunk-T2DGSOAH.js} +1 -1
  166. package/dist/{chunk-EWGFOEJB.js → chunk-T6XSXJDQ.js} +76 -48
  167. package/dist/{chunk-ZK22I3NF.js → chunk-TB734IYI.js} +4 -4
  168. package/dist/{chunk-GSHRYDJM.js → chunk-TFYVBPGR.js} +1 -1
  169. package/dist/{chunk-DYD7W3Y6.js → chunk-THKVAXTQ.js} +43 -26
  170. package/dist/{chunk-7SIZGM5S.js → chunk-TI5PPS3L.js} +89 -42
  171. package/dist/{chunk-VTUSC24F.js → chunk-TIVUSWGT.js} +2 -2
  172. package/dist/{chunk-ICJUN47O.js → chunk-TL5ICZT2.js} +2 -2
  173. package/dist/{chunk-YPELB4Q7.js → chunk-TS472T4D.js} +4 -4
  174. package/dist/{chunk-ISMFUWOP.js → chunk-TWMVAPG2.js} +4 -4
  175. package/dist/{chunk-QDFX2KAP.js → chunk-U2YWY6FH.js} +1 -1
  176. package/dist/{chunk-XXYV5UEM.js → chunk-UERGJOG4.js} +12 -12
  177. package/dist/{chunk-X725AGYP.js → chunk-UFKLGMYZ.js} +2 -2
  178. package/dist/{chunk-SXCFMPNM.js → chunk-UGH3CLTZ.js} +4 -4
  179. package/dist/{chunk-C26Z5AEW.js → chunk-ULXSTWJF.js} +3 -3
  180. package/dist/{chunk-IDJVUZAA.js → chunk-USK77VAZ.js} +4 -4
  181. package/dist/{chunk-ICERP2YF.js → chunk-UXAON5DO.js} +2 -2
  182. package/dist/{chunk-7ZXIHEZS.js → chunk-V3YQQDR4.js} +4 -4
  183. package/dist/{chunk-RLX6VODQ.js → chunk-V4XTBNZD.js} +2 -2
  184. package/dist/{chunk-YJN54OZS.js → chunk-VE6P436Y.js} +12 -12
  185. package/dist/{chunk-BXZNLMMH.js → chunk-VFXGAEUO.js} +2 -2
  186. package/dist/{chunk-XWGAANY4.js → chunk-VITZVVCD.js} +2 -2
  187. package/dist/{chunk-ADLKZEML.js → chunk-VJAZFGBY.js} +15 -15
  188. package/dist/{chunk-KWMQNKGX.js → chunk-VR3HLYAT.js} +6 -5
  189. package/dist/{chunk-UV77Y7QK.js → chunk-W2QJDTAR.js} +2 -2
  190. package/dist/{chunk-A3SOYL6F.js → chunk-WBIMWGV7.js} +4 -4
  191. package/dist/{chunk-OTOASFG4.js → chunk-WK6LQCUT.js} +6 -6
  192. package/dist/{chunk-SBYKLBDV.js → chunk-WOTRCVA5.js} +4 -4
  193. package/dist/{chunk-EWMPUCIG.js → chunk-WQPMBAG2.js} +37 -37
  194. package/dist/{chunk-WZNO3LUF.js → chunk-WSHSR3B2.js} +4 -4
  195. package/dist/{chunk-EH23CIC5.js → chunk-WVYC6MR6.js} +2 -2
  196. package/dist/{chunk-EZ5KUBYF.js → chunk-WY7FHINS.js} +3 -3
  197. package/dist/{chunk-4NIIQFDA.js → chunk-X4NDN6PQ.js} +10 -10
  198. package/dist/{chunk-3ZR7ZE64.js → chunk-XC53YNZG.js} +2 -2
  199. package/dist/{chunk-TQFBLSZJ.js → chunk-XGJZRPHC.js} +7 -7
  200. package/dist/{chunk-T4CFY4YT.js → chunk-XLP6U3FG.js} +2 -2
  201. package/dist/{chunk-2E2MK4XM.js → chunk-XMI7SCPX.js} +2 -2
  202. package/dist/{chunk-7QUWM5W6.js → chunk-XTECBM5K.js} +3 -3
  203. package/dist/{chunk-DO7MMF4C.js → chunk-Y7O3T4DF.js} +27 -26
  204. package/dist/{chunk-NPDF7HEH.js → chunk-YBMYW7LD.js} +1 -1
  205. package/dist/{chunk-5ZE7SHRM.js → chunk-YO7LCXKN.js} +2 -2
  206. package/dist/{chunk-AIPOSNVG.js → chunk-YRWJBS6C.js} +1 -1
  207. package/dist/{chunk-LADFOYH7.js → chunk-YSKLERPF.js} +6 -6
  208. package/dist/{chunk-OJR5GPCN.js → chunk-YUEJZBME.js} +4 -4
  209. package/dist/{chunk-3WC2TA6C.js → chunk-YUJK6ZYO.js} +2 -2
  210. package/dist/{chunk-ZIQR2CNM.js → chunk-YXHSM7QL.js} +5 -5
  211. package/dist/{chunk-SFRMBCVY.js → chunk-YZW4VLSO.js} +4 -4
  212. package/dist/{chunk-AUSZDYGE.js → chunk-Z2WGJH2P.js} +3 -3
  213. package/dist/{chunk-CX7WUNMO.js → chunk-ZMZNMVPR.js} +6 -6
  214. package/dist/{chunk-5QMM354E.js → chunk-ZT5Q6BRT.js} +1 -1
  215. package/dist/cli/index.js +1 -1
  216. package/dist/{core-A2MERE3C.js → core-2IWCOLCX.js} +1 -1
  217. package/dist/{core-BOU34T23.js → core-2SCAWP7F.js} +2 -1
  218. package/dist/{core-Y6DJHIYT.js → core-2ZRSLX2J.js} +2 -1
  219. package/dist/{core-BSEXRZD6.js → core-3H2PZVYN.js} +2 -1
  220. package/dist/{core-JJLIPTEW.js → core-4SX63YE4.js} +1 -1
  221. package/dist/{core-FXC4TB2K.js → core-76KPBWTL.js} +1 -1
  222. package/dist/{core-BOOD7ZUQ.js → core-7LODBY2T.js} +2 -1
  223. package/dist/{core-AVNB2Q3G.js → core-7PNZRGK7.js} +1 -1
  224. package/dist/{core-Q4IILTGO.js → core-7RSXZIVD.js} +1 -1
  225. package/dist/{core-W3UBWZR3.js → core-B7TS5HK6.js} +3 -1
  226. package/dist/{core-34YTH4KN.js → core-BEBRTX5W.js} +2 -1
  227. package/dist/{core-CXEEM26F.js → core-CTI37JP5.js} +1 -1
  228. package/dist/{core-HMS72VO6.js → core-DICZFWV4.js} +1 -1
  229. package/dist/{core-XYQRB5WF.js → core-DZVYQFBX.js} +2 -1
  230. package/dist/{core-IYEFTP6C.js → core-E6Q3H52Q.js} +1 -1
  231. package/dist/{core-MVIK7FAJ.js → core-EQP4ERQK.js} +1 -1
  232. package/dist/{core-6KO5AEUH.js → core-FZJOKAFE.js} +1 -1
  233. package/dist/{core-VGMMKEU4.js → core-GGKGWGHO.js} +2 -1
  234. package/dist/{core-2PT7IROA.js → core-J7ZHSASB.js} +1 -1
  235. package/dist/{core-YJXOVNIE.js → core-LCX7EK3Y.js} +2 -1
  236. package/dist/{core-QCPDOQEJ.js → core-LSN2YKO4.js} +1 -1
  237. package/dist/{core-VWISBHXE.js → core-NL6TMYOZ.js} +1 -1
  238. package/dist/{core-RVTF336C.js → core-NPCHUGTV.js} +1 -1
  239. package/dist/{core-MBNVENCZ.js → core-OO22DXBW.js} +1 -1
  240. package/dist/{core-J2QTOU4D.js → core-QACGDEDF.js} +7 -1
  241. package/dist/{core-VUVJOMUC.js → core-RZ5ZDSQL.js} +1 -1
  242. package/dist/{core-N4OKPNXQ.js → core-S56FGRAT.js} +1 -1
  243. package/dist/{core-YHWVJULU.js → core-SERUDXVA.js} +1 -1
  244. package/dist/{core-7WLD237S.js → core-UOATHRZG.js} +1 -1
  245. package/dist/{core-LCP44UYI.js → core-UPPUXBWO.js} +1 -1
  246. package/dist/{core-IQC6H4A7.js → core-UYTRLCZY.js} +1 -1
  247. package/dist/{core-I2GPMB2B.js → core-V55HGH7X.js} +1 -1
  248. package/dist/{core-B7KOBTRL.js → core-W5WF7FHA.js} +7 -1
  249. package/dist/{core-BQ2I77OF.js → core-XINQIYQ6.js} +1 -1
  250. package/dist/{core-EHMPBG6Q.js → core-Y3WI32MB.js} +4 -1
  251. package/dist/{core-4ZEVWU43.js → core-ZFXHFRWI.js} +3 -1
  252. package/dist/{core-64EHPUVV.js → core-ZYLCLTFQ.js} +1 -1
  253. package/dist/{dataTable-3ZK3ZEZP.js → dataTable-72HO6PCW.js} +2 -2
  254. package/dist/{engine-FSWLRWZR.js → engine-UCMXMWGA.js} +26 -13
  255. package/dist/fixtures.js +1 -1
  256. package/dist/index.js +12 -12
  257. package/dist/{main-NYMXWJGJ.js → main-NS5NPNQ7.js} +6 -6
  258. package/dist/mcp/server.js +11 -11
  259. package/dist/react/bar.js +3 -1
  260. package/dist/react/bartable.js +1 -1
  261. package/dist/react/box.js +1 -1
  262. package/dist/react/bullet.js +2 -1
  263. package/dist/react/butterfly.js +1 -1
  264. package/dist/react/choropleth.js +1 -1
  265. package/dist/react/cohort.js +1 -1
  266. package/dist/react/column.js +2 -1
  267. package/dist/react/combo.js +7 -1
  268. package/dist/react/creative.js +1 -1
  269. package/dist/react/diagram.js +1 -1
  270. package/dist/react/dimswitch.js +1 -1
  271. package/dist/react/dot.js +4 -1
  272. package/dist/react/export.js +15 -15
  273. package/dist/react/funnel.js +1 -1
  274. package/dist/react/gantt.js +1 -1
  275. package/dist/react/grid.js +1 -1
  276. package/dist/react/heatmap.js +1 -1
  277. package/dist/react/histogram.js +2 -1
  278. package/dist/react/index.js +83 -83
  279. package/dist/react/kpi.js +1 -1
  280. package/dist/react/likert.js +3 -1
  281. package/dist/react/line.js +1 -1
  282. package/dist/react/mekko.js +2 -1
  283. package/dist/react/pareto.js +5 -1
  284. package/dist/react/pie.js +1 -1
  285. package/dist/react/prepare.js +20 -20
  286. package/dist/react/pvm.js +2 -1
  287. package/dist/react/pyramid.js +1 -1
  288. package/dist/react/sankey.js +1 -1
  289. package/dist/react/scatter.js +1 -1
  290. package/dist/react/slope.js +2 -1
  291. package/dist/react/sparkline.js +1 -1
  292. package/dist/react/spec.js +8 -8
  293. package/dist/react/status.js +1 -1
  294. package/dist/react/story.js +1 -1
  295. package/dist/react/table.js +1 -1
  296. package/dist/react/theme.js +2 -2
  297. package/dist/react/tilemap.js +1 -1
  298. package/dist/react/treemap.js +1 -1
  299. package/dist/react/variance.js +2 -1
  300. package/dist/react/waffle.js +1 -1
  301. package/dist/react/waterfall.js +2 -1
  302. package/dist/{rowsModule-43LCK2Q7.js → rowsModule-QGCXTE6X.js} +1 -1
  303. package/dist/{schema-NNNG7CWG.js → schema-2BFNQ5GW.js} +1 -1
  304. package/dist/{schema-VH4AW62Z.js → schema-2XGHH7PU.js} +1 -1
  305. package/dist/{schema-KWCIIIGP.js → schema-3IXLM7X4.js} +1 -1
  306. package/dist/{schema-LDF6HORS.js → schema-4SRLAXUP.js} +1 -1
  307. package/dist/{schema-IYLRZNFB.js → schema-6PLNMFVY.js} +1 -1
  308. package/dist/{schema-FPDLOIA6.js → schema-6WNG4LCV.js} +1 -1
  309. package/dist/{schema-A4U4RDKJ.js → schema-7WNRP7FW.js} +1 -1
  310. package/dist/{schema-IYBZPCM4.js → schema-7XQMEJII.js} +1 -1
  311. package/dist/{schema-LGYHJPXU.js → schema-AGKSRVXN.js} +1 -1
  312. package/dist/{schema-FQWENOJY.js → schema-AMIFJ2JX.js} +1 -1
  313. package/dist/{schema-SQ2GYLMI.js → schema-BK2TU6XT.js} +1 -1
  314. package/dist/{schema-AM2KS6ZC.js → schema-C3PYINCY.js} +1 -1
  315. package/dist/{schema-D3ELHESU.js → schema-CWOPBOK4.js} +1 -1
  316. package/dist/{schema-FBIEOKO2.js → schema-E2WWDYU5.js} +1 -1
  317. package/dist/{schema-LX4EXDTI.js → schema-EAYC5DVH.js} +1 -1
  318. package/dist/{schema-GTLGAPCU.js → schema-ENLWEZOI.js} +1 -1
  319. package/dist/{schema-HAMPGUH3.js → schema-ETH6WXZU.js} +1 -1
  320. package/dist/{schema-CBLNGK2F.js → schema-FOBGNU5I.js} +1 -1
  321. package/dist/{schema-GYVYJEL3.js → schema-FSX7WR7M.js} +1 -1
  322. package/dist/{schema-5SVPR3EU.js → schema-G6KGEQRD.js} +1 -1
  323. package/dist/{schema-SUDJBIHX.js → schema-GAUZZRA4.js} +1 -1
  324. package/dist/{schema-2ACHQTR3.js → schema-GFRB4BJW.js} +1 -1
  325. package/dist/{schema-KBV2JB2A.js → schema-GQPXSWIR.js} +1 -1
  326. package/dist/{schema-WDKBCN3V.js → schema-JJIXQIBN.js} +1 -1
  327. package/dist/{schema-C25ECGJL.js → schema-JKZBRZSI.js} +1 -1
  328. package/dist/{schema-4YIYGGOJ.js → schema-MCA4J2BP.js} +1 -1
  329. package/dist/{schema-P2JYSV32.js → schema-MM7JPYI7.js} +1 -1
  330. package/dist/{schema-GUDG343K.js → schema-O5HGNE3W.js} +2 -2
  331. package/dist/{schema-YVBUY7NH.js → schema-OIY565PO.js} +1 -1
  332. package/dist/{schema-TRPPZCIR.js → schema-PVUWOLUB.js} +1 -1
  333. package/dist/{schema-PAKZIYQF.js → schema-RRZXOF5G.js} +1 -1
  334. package/dist/{schema-4HGZZNUL.js → schema-UEZQN4WK.js} +1 -1
  335. package/dist/{schema-GYTWCCNA.js → schema-WWWWEQAR.js} +1 -1
  336. package/dist/{schema-3LRC5TOZ.js → schema-XQSP5QAX.js} +1 -1
  337. package/dist/{schema-UNYDUIL5.js → schema-YUMFWHIE.js} +1 -1
  338. package/dist/{schema-5OLQ54J5.js → schema-ZBIIPJAI.js} +1 -1
  339. package/dist/{schema-YCKUQ3FF.js → schema-ZFUX3UIO.js} +1 -1
  340. package/dist/{specValidation-FKHSTMMR.js → specValidation-5AI56FM3.js} +1 -1
  341. package/dist/theme.js +3 -3
  342. package/dist/{themeShapeRules-G7UZX6GJ.js → themeShapeRules-GGBYWZY7.js} +1 -1
  343. package/dist/types/core/annotate.d.ts +12 -3
  344. package/dist/types/core/annotateFields.d.ts +36 -1
  345. package/dist/types/core/annotateTargets.d.ts +2 -0
  346. package/dist/types/core/types/data.d.ts +6 -0
  347. package/dist/types/core/types/options.d.ts +4 -0
  348. package/dist/types/core/types/theme.d.ts +17 -2
  349. package/dist/types/react/hover/engine.d.ts +5 -1
  350. package/dist/types/react/hover/labelCard.d.ts +33 -2
  351. package/dist/types/theme.d.ts +1 -1
  352. package/dist/validate.js +5 -5
  353. package/docs/manual.md +1 -1
  354. package/docs/reference/bar.md +2 -2
  355. package/docs/reference/bullet.md +6 -4
  356. package/docs/reference/butterfly.md +1 -1
  357. package/docs/reference/column.md +2 -2
  358. package/docs/reference/combo.md +2 -2
  359. package/docs/reference/dot.md +2 -2
  360. package/docs/reference/fixtures.md +2 -0
  361. package/docs/reference/grid.md +2 -2
  362. package/docs/reference/heatmap.md +1 -1
  363. package/docs/reference/line.md +2 -2
  364. package/docs/reference/mekko.md +2 -2
  365. package/docs/reference/options.md +3 -1
  366. package/docs/reference/pvm.md +1 -1
  367. package/docs/reference/react.md +7 -3
  368. package/docs/reference/scatter.md +1 -1
  369. package/docs/reference/slope.md +2 -2
  370. package/docs/reference/sparkline.md +1 -0
  371. package/docs/reference/table.md +1 -1
  372. package/docs/reference/theme.md +2 -0
  373. package/docs/reference/variance.md +1 -1
  374. package/docs/reference/warnings.md +3 -2
  375. package/docs/reference/waterfall.md +6 -4
  376. package/package.json +1 -1
  377. package/dist/chunk-CDZHNLO6.js +0 -42
  378. package/dist/chunk-GIJM4MP4.js +0 -272
  379. package/dist/chunk-J6LGZPKI.js +0 -89
  380. package/dist/chunk-QPWRHDLZ.js +0 -17
  381. package/dist/chunk-REIIGIJG.js +0 -123
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  chartPalette,
3
3
  chartTheme
4
- } from "./chunk-AIPOSNVG.js";
4
+ } from "./chunk-YRWJBS6C.js";
5
5
  import {
6
6
  diagramKindError
7
7
  } from "./chunk-ZBOOMLHD.js";
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  fitsRoom,
13
13
  widthsThatFit
14
- } from "./chunk-UI2MKLON.js";
14
+ } from "./chunk-RTSSUQ25.js";
15
15
  import {
16
16
  structureCount
17
17
  } from "./chunk-YDYZWCUQ.js";
@@ -26,7 +26,7 @@ import {
26
26
  resolveSizing,
27
27
  rowDrivenHeight,
28
28
  sizeRefusal
29
- } from "./chunk-YM4MVABU.js";
29
+ } from "./chunk-FY3VV7TF.js";
30
30
  import {
31
31
  PRIORITY,
32
32
  fitText,
@@ -36,7 +36,7 @@ import {
36
36
  seatLeader,
37
37
  solveFrame,
38
38
  solveLabels
39
- } from "./chunk-AUSZDYGE.js";
39
+ } from "./chunk-Z2WGJH2P.js";
40
40
  import {
41
41
  chartStrings
42
42
  } from "./chunk-FYFXOLWI.js";
@@ -65,7 +65,7 @@ import {
65
65
  seriesPaint,
66
66
  strokeToken,
67
67
  themeForWidth
68
- } from "./chunk-XAH4EWJT.js";
68
+ } from "./chunk-BKUTKQMT.js";
69
69
  import {
70
70
  monotonePath,
71
71
  monotoneSegments
@@ -2,51 +2,51 @@ import {
2
2
  floorValueLabel,
3
3
  printedValueLabel,
4
4
  valueLabelPlotFloor
5
- } from "./chunk-BJJYNTVJ.js";
5
+ } from "./chunk-CVUHCNQO.js";
6
6
  import {
7
7
  stackSegmentCandidates
8
- } from "./chunk-XUGEYHOQ.js";
8
+ } from "./chunk-ASRICUAD.js";
9
9
  import {
10
10
  hasLabelPosition,
11
11
  positionBarLabel
12
- } from "./chunk-7UUSHA7H.js";
12
+ } from "./chunk-EIQTUVJT.js";
13
13
  import {
14
14
  STACK_ROOM,
15
15
  digitSeat,
16
16
  digitSeatEdge,
17
17
  segmentTooShort
18
- } from "./chunk-RLX6VODQ.js";
18
+ } from "./chunk-V4XTBNZD.js";
19
19
  import {
20
20
  axisBreakHeightOrderWarning,
21
21
  axisBreakInvalid,
22
22
  breakReversesOrder,
23
23
  breakStyleRefusal
24
- } from "./chunk-NUASZPS7.js";
24
+ } from "./chunk-KJF7SLOA.js";
25
25
  import {
26
26
  valueLineExtent
27
- } from "./chunk-QPWRHDLZ.js";
27
+ } from "./chunk-4ZIFMZO4.js";
28
28
  import {
29
29
  runAnnotatePass
30
- } from "./chunk-QDFX2KAP.js";
30
+ } from "./chunk-U2YWY6FH.js";
31
31
  import {
32
32
  GUTTER_MAX_SHARE,
33
33
  fitColumn,
34
34
  stepDownFont
35
- } from "./chunk-MOBRWYUQ.js";
35
+ } from "./chunk-352V2W5P.js";
36
36
  import {
37
37
  chartPalette,
38
38
  chartTheme
39
- } from "./chunk-AIPOSNVG.js";
39
+ } from "./chunk-YRWJBS6C.js";
40
40
  import {
41
41
  widthsThatFit
42
- } from "./chunk-UI2MKLON.js";
43
- import {
44
- categoryBandFromCenters
45
- } from "./chunk-CDZHNLO6.js";
42
+ } from "./chunk-RTSSUQ25.js";
46
43
  import {
47
44
  BRACKET_GAP,
48
45
  BRACKET_TICK
49
46
  } from "./chunk-R4MVXUAG.js";
47
+ import {
48
+ categoryBandFromCenters
49
+ } from "./chunk-OLAPTOUH.js";
50
50
  import {
51
51
  structureCount
52
52
  } from "./chunk-YDYZWCUQ.js";
@@ -79,7 +79,7 @@ import {
79
79
  valueAxisTitleBand,
80
80
  valueAxisTitleRequest,
81
81
  yieldToRotatedName
82
- } from "./chunk-YM4MVABU.js";
82
+ } from "./chunk-FY3VV7TF.js";
83
83
  import {
84
84
  HEIGHT_STRUCTURE,
85
85
  PRIORITY,
@@ -102,10 +102,10 @@ import {
102
102
  solveFrame,
103
103
  solveLabels,
104
104
  withUnprintedClaims
105
- } from "./chunk-AUSZDYGE.js";
105
+ } from "./chunk-Z2WGJH2P.js";
106
106
  import {
107
107
  disclosureNote
108
- } from "./chunk-WD5NJHZG.js";
108
+ } from "./chunk-B76O5YXI.js";
109
109
  import {
110
110
  emptyIdRecord
111
111
  } from "./chunk-LINZPU5D.js";
@@ -141,6 +141,7 @@ import {
141
141
  emphasisLabelTheme,
142
142
  emphasisWeight,
143
143
  haloOverpaintedInsideLabels,
144
+ markRolePaint,
144
145
  paintColor,
145
146
  panelTypeClass,
146
147
  rectsOverlap,
@@ -150,7 +151,7 @@ import {
150
151
  strokeToken,
151
152
  textScaleOf,
152
153
  withSegmentSeams
153
- } from "./chunk-XAH4EWJT.js";
154
+ } from "./chunk-BKUTKQMT.js";
154
155
  import {
155
156
  NormalizeError,
156
157
  accessibleTitle,
@@ -617,7 +618,7 @@ function layoutWaterfallWithPad(data, options, extraAnnPad, categoryRow = !0, au
617
618
  suggest: `highlight one of the bar ids: ${items.map((it) => it.id).join(", ")}`,
618
619
  field: ["options", "highlight"]
619
620
  });
620
- let authoredValues = allItems.flatMap((it) => [it.checkValue, ...it.segments.map((seg) => seg.value)]), raster = seriesRasterFormatter(options.format, authoredValues, options.locale?.language, options.unit), { fmtSigned } = raster, fmt = raster.spec.signed ? (value) => formatWithSpec(value, levelFormatSpec(raster.spec)) : raster.fmt, checkValueNotes = [], checkAgainstSum = (supplied, computed, summed) => {
621
+ let authoredValues = allItems.flatMap((it) => [it.checkValue, ...[...it.segments, ...it.totalSegments ?? []].map((seg) => seg.value)]), raster = seriesRasterFormatter(options.format, authoredValues, options.locale?.language, options.unit), { fmtSigned } = raster, fmt = raster.spec.signed ? (value) => formatWithSpec(value, levelFormatSpec(raster.spec)) : raster.fmt, checkValueNotes = [], checkAgainstSum = (supplied, computed, summed) => {
621
622
  let gap = Math.abs(supplied - computed), partial = 0, noise = Number.isSafeInteger(supplied) && summed.every((value) => Number.isSafeInteger(value) && Number.isSafeInteger(partial += value)) ? 0 : sumRoundoff(summed);
622
623
  if (gap <= noise) return;
623
624
  let decimals = Math.max(0, maxOf(summed.map(authoredDecimals))), shown = Math.max(decimals, authoredDecimals(supplied));
@@ -630,33 +631,34 @@ function layoutWaterfallWithPad(data, options, extraAnnPad, categoryRow = !0, au
630
631
  message: `${it.type} '${it.id}': supplied ${printed[0]} differs from the computed ${printed[1]} by less than its inputs' rounding; the computed ${printed[1]} is drawn and a note names both`,
631
632
  owner: { categoryId: it.id }
632
633
  }), checkValueNotes.push(disclosureNote(chartString(options, what, { v1: name, v2: printed[1], v3: printed[0] })));
633
- }, segmentCatalog = /* @__PURE__ */ new Map();
634
+ }, segmentCatalog = /* @__PURE__ */ new Map(), fillConflicts = /* @__PURE__ */ new Set();
634
635
  for (let it of items)
635
- if (it.authoredSegments)
636
- for (let seg of it.segments) {
637
- let known = segmentCatalog.get(seg.id);
638
- if (!known) {
639
- segmentCatalog.set(seg.id, {
640
- id: seg.id,
641
- label: seg.label,
642
- colorRole: seg.colorRole,
643
- scenario: seg.scenario,
644
- slot: segmentCatalog.size
645
- });
646
- continue;
647
- }
648
- let conflicts = [
649
- known.label && seg.label && known.label !== seg.label ? `label '${seg.label}'` : null,
650
- known.colorRole && seg.colorRole && known.colorRole !== seg.colorRole ? `colorRole '${seg.colorRole}'` : null
651
- ].filter((v) => v !== null);
652
- conflicts.length > 0 && warnings.push({
653
- code: "segment-identity-mismatch",
654
- severity: "warn",
655
- message: `segment '${seg.id}' reuses ${conflicts.join(" and ")}; first authored identity wins`,
656
- owner: { categoryId: it.id, segmentId: seg.id }
657
- }), !known.label && seg.label && (known.label = seg.label), !known.colorRole && seg.colorRole && (known.colorRole = seg.colorRole), !known.scenario && seg.scenario && (known.scenario = seg.scenario);
636
+ for (let seg of it.authoredSegments ? it.segments : it.totalSegments ?? []) {
637
+ let known = segmentCatalog.get(seg.id);
638
+ if (!known) {
639
+ segmentCatalog.set(seg.id, {
640
+ id: seg.id,
641
+ label: seg.label,
642
+ colorRole: seg.colorRole,
643
+ fill: seg.fill,
644
+ scenario: seg.scenario,
645
+ slot: segmentCatalog.size
646
+ });
647
+ continue;
658
648
  }
659
- let roleKey = (identity) => `${identity.label ?? identity.id}\0${identity.colorRole}`, roleSteps = colorRolePaints([...new Map([...segmentCatalog.values()].map((identity) => [roleKey(identity), { id: roleKey(identity), colorRole: identity.colorRole }])).values()]), segmentRoles = new Map([...segmentCatalog.values()].flatMap((identity) => roleSteps.has(roleKey(identity)) ? [[identity.id, roleSteps.get(roleKey(identity))]] : [])), fixedKeys = [];
649
+ let conflicts = [
650
+ known.label && seg.label && known.label !== seg.label ? `label '${seg.label}'` : null,
651
+ known.colorRole && seg.colorRole && known.colorRole !== seg.colorRole ? `colorRole '${seg.colorRole}'` : null,
652
+ known.fill && seg.fill && known.fill !== seg.fill && !fillConflicts.has(seg.id) ? `fill '${seg.fill}'` : null
653
+ ].filter((v) => v !== null);
654
+ known.fill && seg.fill && known.fill !== seg.fill && fillConflicts.add(seg.id), conflicts.length > 0 && warnings.push({
655
+ code: "segment-identity-mismatch",
656
+ severity: "warn",
657
+ message: `segment '${seg.id}' reuses ${conflicts.join(" and ")}; first authored identity wins`,
658
+ owner: { categoryId: it.id, segmentId: seg.id }
659
+ }), !known.label && seg.label && (known.label = seg.label), !known.colorRole && seg.colorRole && (known.colorRole = seg.colorRole), !known.fill && seg.fill && (known.fill = seg.fill), !known.scenario && seg.scenario && (known.scenario = seg.scenario);
660
+ }
661
+ let roleKey = (identity) => `${identity.label ?? identity.id}\0${identity.colorRole}`, roleSteps = colorRolePaints([...new Map([...segmentCatalog.values()].map((identity) => [roleKey(identity), { id: roleKey(identity), colorRole: identity.colorRole, fill: identity.fill }])).values()]), segmentRoles = new Map([...segmentCatalog.values()].flatMap((identity) => roleSteps.has(roleKey(identity)) ? [[identity.id, roleSteps.get(roleKey(identity))]] : [])), fixedKeys = [];
660
662
  items.some((it) => it.type !== "delta" && !it.authoredSegments) && fixedKeys.push({ id: "__keyTotal", label: chartString(options, "total"), paint: { token: "total" } });
661
663
  let segmentPaints = new Map(distinguishSeries(
662
664
  [
@@ -668,12 +670,12 @@ function layoutWaterfallWithPad(data, options, extraAnnPad, categoryRow = !0, au
668
670
  pattern: scenarioPattern(identity.scenario)
669
671
  }))
670
672
  ],
671
- /* @__PURE__ */ new Set([...fixedKeys.map((key) => key.id), ...[...segmentCatalog.values()].filter((identity) => identity.colorRole).map((identity) => identity.id)]),
673
+ /* @__PURE__ */ new Set([...fixedKeys.map((key) => key.id), ...[...segmentCatalog.values()].filter((identity) => identity.colorRole || identity.fill).map((identity) => identity.id)]),
672
674
  Array.from({ length: theme.color.series.length }, (_, i) => seriesPaint(i, paletteRamp ? options.palette : void 0)),
673
675
  theme
674
676
  ).map((identity) => [identity.id, identity.paint]));
675
677
  if (categoryRow) {
676
- let plainIds = [...segmentCatalog.values()].filter((identity) => !identity.colorRole && segmentPaints.has(identity.id)).map((identity) => identity.id), plain = plainIds.map((id) => segmentPaints.get(id)), others = [...segmentPaints].filter(([id]) => !plainIds.includes(id)).map(([, paint]) => paint);
678
+ let plainIds = [...segmentCatalog.values()].filter((identity) => !identity.colorRole && !identity.fill && segmentPaints.has(identity.id)).map((identity) => identity.id), plain = plainIds.map((id) => segmentPaints.get(id)), others = [...segmentPaints].filter(([id]) => !plainIds.includes(id)).map(([, paint]) => paint);
677
679
  plainIds.forEach((id, index) => {
678
680
  let own = plain[index], paint = { token: "token" in own ? own.token : "neutral", theme: { kind: "segment-apart", plain, others, index } };
679
681
  paintColor(theme, paint), segmentPaints.set(id, paint);
@@ -732,7 +734,7 @@ function layoutWaterfallWithPad(data, options, extraAnnPad, categoryRow = !0, au
732
734
  ]), compositionEligible = !1, hasSegmentedDelta = !1, composition = /* @__PURE__ */ new Map(), block = [];
733
735
  }
734
736
  if (it.type === "total" || it.type === "subtotal") {
735
- let wasStarted = started, opening = wasStarted ? null : it.checkValue ?? backwardOpening(it);
737
+ let wasStarted = started, parts = it.totalSegments?.map((seg) => seg.value), opening = wasStarted ? null : parts ? compensatedSum(parts) : it.checkValue ?? backwardOpening(it);
736
738
  if (!wasStarted && opening === null) {
737
739
  let index = items2.indexOf(it);
738
740
  warnings.push({
@@ -745,18 +747,28 @@ function layoutWaterfallWithPad(data, options, extraAnnPad, categoryRow = !0, au
745
747
  });
746
748
  }
747
749
  let blockSum = it.type === "subtotal" && it.toBaseline && wasStarted, value = blockSum ? compensatedSum(block.map((c) => c.value)) : wasStarted ? running : opening ?? 0;
748
- started || (running = value, summed = [it.checkValue ?? backwardOpenings.get(it.id)?.inputs[0].value ?? 0]), levels2[it.id] = blockSum ? { start: 0, end: value, balance: running } : { start: 0, end: value }, totals2[it.id] = value;
750
+ started || (running = value, summed = parts ?? [it.checkValue ?? backwardOpenings.get(it.id)?.inputs[0].value ?? 0]), levels2[it.id] = blockSum ? { start: 0, end: value, balance: running } : { start: 0, end: value }, totals2[it.id] = value;
749
751
  let derivedOpening = wasStarted ? void 0 : backwardOpenings.get(it.id);
750
- totalBasis2[it.id] = blockSum ? { authored: !1, inputs: block.map(({ ref, value: value2 }) => ({ ref, value: value2 })) } : wasStarted ? { authored: !1, inputs: contributions.map((c) => ({ ...c })) } : derivedOpening ? { authored: !1, inputs: derivedOpening.inputs } : { authored: !0, ref: `${it.id}.value` }, blockSum || (contributions = [{ ref: it.id, value }], operands = [value]);
751
- let totalCheck = started && it.checkValue !== null ? checkAgainstSum(it.checkValue, value, blockSum ? block.flatMap((c) => c.segments) : summed) : void 0;
752
- totalCheck?.withinRounding && discloseRoundedCheck(it, k, totalCheck.printed, "checkTotalNote");
752
+ totalBasis2[it.id] = blockSum ? { authored: !1, inputs: block.map(({ ref, value: value2 }) => ({ ref, value: value2 })) } : wasStarted ? { authored: !1, inputs: contributions.map((c) => ({ ...c })) } : derivedOpening ? { authored: !1, inputs: derivedOpening.inputs } : it.totalSegments ? { authored: !1, inputs: it.totalSegments.map((seg) => ({ ref: `${it.id}:${seg.id}`, value: seg.value })) } : { authored: !0, ref: `${it.id}.value` }, blockSum || (contributions = [{ ref: it.id, value }], operands = [value]);
753
+ let levelSummed = blockSum ? block.flatMap((c) => c.segments) : summed, totalCheck = it.checkValue === null ? void 0 : started ? checkAgainstSum(it.checkValue, value, levelSummed) : parts ? checkAgainstSum(it.checkValue, value, parts) : void 0;
754
+ totalCheck?.withinRounding && discloseRoundedCheck(it, k, totalCheck.printed, started ? "checkTotalNote" : "checkSegmentsNote");
753
755
  let totalMismatch = totalCheck && !totalCheck.withinRounding ? totalCheck.printed : void 0;
754
- if (totalMismatch && warnings.push({
756
+ totalMismatch && warnings.push({
755
757
  code: "derived-mismatch",
756
758
  severity: "warn",
757
- message: `${it.type} '${it.id}': supplied ${totalMismatch[0]} \u2260 computed ${totalMismatch[1]} \u2014 computed wins`,
759
+ message: `${it.type} '${it.id}': supplied ${totalMismatch[0]} \u2260 ${started ? "computed" : "segment sum"} ${totalMismatch[1]} \u2014 computed wins`,
758
760
  owner: { categoryId: it.id }
759
- }), (it.type === "total" || blockSum) && (block = []), !wasStarted && Math.abs(value) > 1e-9 && (compositionEligible = !1), it.type === "total" && wasStarted && compositionEligible && hasSegmentedDelta) {
761
+ });
762
+ let partsOff = parts && started ? checkAgainstSum(compensatedSum(parts), value, [...levelSummed, ...parts]) : void 0;
763
+ if (partsOff && warnings.push({
764
+ code: "derived-mismatch",
765
+ severity: "warn",
766
+ message: `${it.type} '${it.id}': its segments add up to ${partsOff.printed[0]} \u2260 computed ${partsOff.printed[1]} \u2014 computed wins and draws as one bar`,
767
+ suggest: `make the segments of '${it.id}' add up to ${partsOff.printed[1]}`,
768
+ owner: { categoryId: it.id }
769
+ }), (it.type === "total" || blockSum) && (block = []), !wasStarted && Math.abs(value) > 1e-9 && (compositionEligible = !1), it.totalSegments && !partsOff)
770
+ derivedTotalSegments2.set(it.id, it.totalSegments);
771
+ else if (it.type === "total" && wasStarted && compositionEligible && hasSegmentedDelta) {
760
772
  let seriesTotals = [...segmentCatalog.values()].map((identity) => ({
761
773
  id: identity.id,
762
774
  label: identity.label,
@@ -812,7 +824,7 @@ function layoutWaterfallWithPad(data, options, extraAnnPad, categoryRow = !0, au
812
824
  pattern: scenarioPattern(identity.scenario)
813
825
  }));
814
826
  pushAll(legendItems, cases.map((c, k) => ({ id: c.id, label: c.label ?? c.id, paint: casePaint(k) })));
815
- let plain = (it) => !derivedTotalSegments.has(it.id) && !it.authoredSegments && !it.segments.some((seg) => seg.fill || segmentCatalog.has(seg.id)), keyed = legendItems.length > 0, inverted = cases.length === 0 && (signBridge || signSteps) && items.some((it) => plain(it) && it.type === "delta" && it.direction === "lowerIsBetter" && !!it.checkValue && !highlights.has(it.id));
827
+ let plain = (it) => !derivedTotalSegments.has(it.id) && !it.authoredSegments && !it.segments.some((seg) => seg.fill || seg.colorRole || segmentCatalog.has(seg.id)), keyed = legendItems.length > 0, inverted = cases.length === 0 && (signBridge || signSteps) && items.some((it) => plain(it) && it.type === "delta" && it.direction === "lowerIsBetter" && !!it.checkValue && !highlights.has(it.id));
816
828
  if ((keyed || inverted) && cases.length === 0) {
817
829
  let steps = items.filter((it) => plain(it) && it.type === "delta" && !highlights.has(it.id));
818
830
  if (signBridge || signSteps) {
@@ -854,7 +866,7 @@ function layoutWaterfallWithPad(data, options, extraAnnPad, categoryRow = !0, au
854
866
  measure
855
867
  },
856
868
  occupied
857
- ), tickFont = { family: theme.type.family, ...theme.type.axis }, segmentValueWidth = categoryRow && options2.bandFraction === void 0 && options2.labels !== !1 && cases.length === 0 ? Math.max(0, maxOf(items.filter((it) => it.authoredSegments && !(it.segments.some((seg) => seg.value > 0) && it.segments.some((seg) => seg.value < 0))).flatMap((it) => it.segments.map((seg) => measure(it.type === "delta" ? fmtSigned(seg.value) : fmt(seg.value), { family: theme.type.family, ...theme.type.label }).width + 4)))) : 0, fractionFor = (w) => {
869
+ ), tickFont = { family: theme.type.family, ...theme.type.axis }, segmentValueWidth = categoryRow && options2.bandFraction === void 0 && options2.labels !== !1 && cases.length === 0 ? Math.max(0, maxOf(items.filter((it) => it.totalSegments ? derivedTotalSegments.has(it.id) : it.authoredSegments && !(it.segments.some((seg) => seg.value > 0) && it.segments.some((seg) => seg.value < 0))).flatMap((it) => segmentsFor(it).map((seg) => measure(it.type === "delta" ? fmtSigned(seg.value) : fmt(seg.value), { family: theme.type.family, ...theme.type.label }).width + 4)))) : 0, fractionFor = (w) => {
858
870
  let base = options2.bandFraction ?? 0.62;
859
871
  if (segmentValueWidth === 0) return base;
860
872
  let step = w / (items.length + 0.1);
@@ -1134,7 +1146,7 @@ function layoutWaterfallWithPad(data, options, extraAnnPad, categoryRow = !0, au
1134
1146
  }] : []
1135
1147
  ]
1136
1148
  };
1137
- if (segmentedMark || (valueRequest = positionBarLabel(valueRequest, options2, {
1149
+ if ((!segmentedMark || drawSegments.length === 1) && (valueRequest = positionBarLabel(valueRequest, options2, {
1138
1150
  rect: barRect,
1139
1151
  size: tsize,
1140
1152
  orientation: "vertical",
@@ -1435,32 +1447,25 @@ function layoutWaterfallWithPad(data, options, extraAnnPad, categoryRow = !0, au
1435
1447
  }
1436
1448
  function normalizeItem(raw, i) {
1437
1449
  if (!raw?.id) throw new NormalizeError("missing-id", `items[${i}]`, "item requires an id", void 0, void 0, ["data", "items", i, "id"]);
1438
- let type = raw.type ?? "delta", path = `items[${raw.id}]`, checkCell = raw.value !== void 0 ? normalizeCell(raw.value, `${path}.value`) : null, checkValue = checkCell === null ? null : cellValue(checkCell), segments;
1450
+ let type = raw.type ?? "delta", path = `items[${raw.id}]`, checkCell = raw.value !== void 0 ? normalizeCell(raw.value, `${path}.value`) : null, checkValue = checkCell === null ? null : cellValue(checkCell), segments, authored = raw.segments && raw.segments.length > 0 ? raw.segments.map((s, k) => {
1451
+ let cell = normalizeCell(s.value, `${path}.segments[${k}].value`), v = cellValue(cell);
1452
+ if (v === null) throw new NormalizeError("missing-value", `${path}.segments[${k}]`, "segment needs a numeric value", void 0, void 0, ["data", "items", i, "segments", k]);
1453
+ let meta = cellMeta(cell);
1454
+ return {
1455
+ id: s.id ?? `s${k}`,
1456
+ label: s.label,
1457
+ value: v,
1458
+ colorRole: s.colorRole,
1459
+ scenario: normalizeScenario(s.scenario ?? meta?.scenario, `${path}.segments[${k}].scenario`),
1460
+ fill: meta?.fill,
1461
+ ...cellText(meta)
1462
+ };
1463
+ }) : void 0;
1439
1464
  if (type !== "delta") {
1440
- raw.segments?.some((segment) => cellMeta(segment.value)?.format) && warnings.push({
1441
- code: "format-ignored",
1442
- severity: "warn",
1443
- owner: { categoryId: raw.id },
1444
- message: `item '${raw.id}': a total derives its segments; an authored segment format cannot apply`,
1445
- suggest: "set the total format on value.format, or format its contributing delta segments"
1446
- });
1447
1465
  let fill = checkCell === null ? void 0 : cellMeta(checkCell)?.fill;
1448
1466
  segments = [{ id: "__total", value: 0, ...fill ? { fill } : {} }];
1449
- } else if (raw.segments && raw.segments.length > 0)
1450
- segments = raw.segments.map((s, k) => {
1451
- let cell = normalizeCell(s.value, `${path}.segments[${k}].value`), v = cellValue(cell);
1452
- if (v === null) throw new NormalizeError("missing-value", `${path}.segments[${k}]`, "segment needs a numeric value", void 0, void 0, ["data", "items", i, "segments", k]);
1453
- let meta = cellMeta(cell);
1454
- return {
1455
- id: s.id ?? `s${k}`,
1456
- label: s.label,
1457
- value: v,
1458
- colorRole: s.colorRole,
1459
- scenario: normalizeScenario(s.scenario ?? meta?.scenario, `${path}.segments[${k}].scenario`),
1460
- fill: meta?.fill,
1461
- ...cellText(meta)
1462
- };
1463
- });
1467
+ } else if (authored)
1468
+ segments = authored;
1464
1469
  else {
1465
1470
  if (checkValue === null)
1466
1471
  throw new NormalizeError("missing-value", path, "delta item needs a value or segments");
@@ -1469,6 +1474,7 @@ function layoutWaterfallWithPad(data, options, extraAnnPad, categoryRow = !0, au
1469
1474
  {
1470
1475
  id: "__value",
1471
1476
  value: checkValue,
1477
+ ...raw.colorRole ? { colorRole: raw.colorRole } : {},
1472
1478
  scenario: normalizeScenario(raw.scenario ?? meta?.scenario, `${path}.scenario`),
1473
1479
  fill: meta?.fill,
1474
1480
  ...cellText(meta)
@@ -1484,7 +1490,8 @@ function layoutWaterfallWithPad(data, options, extraAnnPad, categoryRow = !0, au
1484
1490
  checkValue,
1485
1491
  ...checkCell === null ? {} : { valueMeta: cellText(cellMeta(checkCell)) },
1486
1492
  segments,
1487
- authoredSegments: type === "delta" && !!raw.segments?.length,
1493
+ authoredSegments: type === "delta" && authored !== void 0,
1494
+ ...type !== "delta" && authored ? { totalSegments: authored } : {},
1488
1495
  scenario: normalizeScenario(raw.scenario, `${path}.scenario`),
1489
1496
  direction: raw.direction
1490
1497
  };
@@ -1497,15 +1504,15 @@ function layoutWaterfallWithPad(data, options, extraAnnPad, categoryRow = !0, au
1497
1504
  return seriesPaint(k, paletteRamp ? options.palette : void 0);
1498
1505
  }
1499
1506
  function segmentPaint(it, seg) {
1500
- if (seg.fill) return { css: seg.fill };
1507
+ if (seg.fill && !segmentCatalog.has(seg.id)) return { css: seg.fill };
1501
1508
  let identity = segmentCatalog.get(seg.id);
1502
- return identity ? identityPaint(identity) : signBridge && it.type === "delta" ? tonePaint(stepTone(seg.value, it.direction), options.colorblindSafe === !0) : highlights.has(it.id) ? { token: "focus" } : it.type !== "delta" ? { token: "total" } : signSteps ? tonePaint(stepTone(seg.value, it.direction), options.colorblindSafe === !0) : paletteRamp ? seriesPaint(0, options.palette) : { token: "neutralMark" };
1509
+ return identity ? identityPaint(identity) : seg.colorRole ? markRolePaint(seg.colorRole, !0) : signBridge && it.type === "delta" ? tonePaint(stepTone(seg.value, it.direction), options.colorblindSafe === !0) : highlights.has(it.id) ? { token: "focus" } : it.type !== "delta" ? { token: "total" } : signSteps ? tonePaint(stepTone(seg.value, it.direction), options.colorblindSafe === !0) : paletteRamp ? seriesPaint(0, options.palette) : { token: "neutralMark" };
1503
1510
  }
1504
1511
  function identityPaint(identity) {
1505
1512
  return segmentPaints.get(identity.id) ?? rawIdentityPaint(identity);
1506
1513
  }
1507
1514
  function rawIdentityPaint(identity) {
1508
- return identity.colorRole ? segmentRoles.get(identity.id) : seriesPaint(identity.slot, paletteRamp ? options.palette : void 0);
1515
+ return identity.fill ? { css: identity.fill } : identity.colorRole ? segmentRoles.get(identity.id) : seriesPaint(identity.slot, paletteRamp ? options.palette : void 0);
1509
1516
  }
1510
1517
  function scenarioPattern(scenario) {
1511
1518
  return scenario === "FC" ? "hatch45" : scenario === "PL" ? "outline" : void 0;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  layoutWaterfall
3
- } from "./chunk-EJA5EANI.js";
3
+ } from "./chunk-5DH5ACTO.js";
4
4
  import {
5
5
  chartSizing
6
- } from "./chunk-YM4MVABU.js";
6
+ } from "./chunk-FY3VV7TF.js";
7
7
 
8
8
  // src/core/charts/waterfall/core.ts
9
9
  var waterfallCore = {
@@ -6,10 +6,10 @@ import {
6
6
  HIGHLIGHT_KEY,
7
7
  SECONDARY_FULL_DOMAIN,
8
8
  layoutCombo
9
- } from "./chunk-TCWJQIVQ.js";
9
+ } from "./chunk-JEAUVQTV.js";
10
10
  import {
11
11
  FORCE_CATEGORY_RANKS
12
- } from "./chunk-GIJM4MP4.js";
12
+ } from "./chunk-2KGF6AIK.js";
13
13
  import {
14
14
  structureCount
15
15
  } from "./chunk-YDYZWCUQ.js";
@@ -20,19 +20,19 @@ import {
20
20
  chartSizing,
21
21
  crowdedTailCut,
22
22
  valueAxisTitleText
23
- } from "./chunk-YM4MVABU.js";
23
+ } from "./chunk-FY3VV7TF.js";
24
24
  import {
25
25
  HOST_CLAIMS,
26
26
  authoredNotes,
27
27
  legendRequired,
28
28
  withAuthoredFootnotes,
29
29
  withUnprintedClaims
30
- } from "./chunk-AUSZDYGE.js";
30
+ } from "./chunk-Z2WGJH2P.js";
31
31
  import {
32
32
  disclosureNote,
33
33
  keepShownNotes,
34
34
  rankKeyShown
35
- } from "./chunk-WD5NJHZG.js";
35
+ } from "./chunk-B76O5YXI.js";
36
36
  import {
37
37
  emptyIdRecord
38
38
  } from "./chunk-LINZPU5D.js";
@@ -53,7 +53,7 @@ import {
53
53
  import {
54
54
  paintTokenColor,
55
55
  resolveTheme
56
- } from "./chunk-XAH4EWJT.js";
56
+ } from "./chunk-BKUTKQMT.js";
57
57
  import {
58
58
  NormalizeError,
59
59
  TARGET_SIZE,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  fitBand
3
- } from "./chunk-MOBRWYUQ.js";
3
+ } from "./chunk-352V2W5P.js";
4
4
  import {
5
5
  footnoteSuffix
6
- } from "./chunk-AUSZDYGE.js";
6
+ } from "./chunk-Z2WGJH2P.js";
7
7
  import {
8
8
  wrapText
9
9
  } from "./chunk-UIHGGWES.js";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  sharedKeys10,
3
3
  sharedKeys5
4
- } from "./chunk-7BQK2UDV.js";
4
+ } from "./chunk-IXCDKCYE.js";
5
5
  import {
6
6
  optionKeyCheck
7
7
  } from "./chunk-Z6H5ED2I.js";
8
8
  import {
9
9
  createChartComponent
10
- } from "./chunk-E4KHHC46.js";
10
+ } from "./chunk-36KGPRMX.js";
11
11
  import {
12
12
  statusCore
13
- } from "./chunk-FP3ORYCG.js";
13
+ } from "./chunk-I3GRAQHO.js";
14
14
  import {
15
15
  registeredType
16
- } from "./chunk-4YZQY3AA.js";
16
+ } from "./chunk-7SSN5ECA.js";
17
17
 
18
18
  // src/react/charts/status.ts
19
19
  var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0 }, scaleGroup: { y: 0, id: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, interactive: 0, states: { "[]": { id: 0, label: 0, tone: { role: 0 }, pattern: 0 } }, columnLabels: 0, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } } }, labels: ["category", "series"] }), StatusChart = createChartComponent(registeredType(statusCore), checkOptionKeys);
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  columnOverridesOption
3
- } from "./chunk-B7UWG6XJ.js";
3
+ } from "./chunk-JTCXK7AG.js";
4
4
  import {
5
5
  addDuplicateIdIssues,
6
6
  baseOptionsSchema,
7
7
  idSchema,
8
8
  refusedBaseOptions
9
- } from "./chunk-JOX252XQ.js";
9
+ } from "./chunk-OGD23BIK.js";
10
10
 
11
11
  // src/core/charts/pvm/schema.ts
12
12
  import * as z from "zod";
@@ -4,7 +4,7 @@ import {
4
4
  rowOrderOption,
5
5
  rowOverridesOption,
6
6
  rowVisibilityOption
7
- } from "./chunk-B7UWG6XJ.js";
7
+ } from "./chunk-JTCXK7AG.js";
8
8
  import {
9
9
  LEGEND_NONE_REFUSED,
10
10
  headlessColumnFields,
@@ -18,7 +18,7 @@ import {
18
18
  idSchema,
19
19
  optionShapeSchema,
20
20
  refusedBaseOptions
21
- } from "./chunk-JOX252XQ.js";
21
+ } from "./chunk-OGD23BIK.js";
22
22
  import {
23
23
  isIconName,
24
24
  listIcons
@@ -5,35 +5,35 @@ import {
5
5
  } from "./chunk-VXZFQKBJ.js";
6
6
  import {
7
7
  marginBracketLayout
8
- } from "./chunk-3ZR7ZE64.js";
8
+ } from "./chunk-XC53YNZG.js";
9
9
  import {
10
10
  axisBreakInvalid,
11
11
  breakStyleRefusal
12
- } from "./chunk-NUASZPS7.js";
12
+ } from "./chunk-KJF7SLOA.js";
13
13
  import {
14
14
  HEAD_PREFIX,
15
15
  asColumnHeads,
16
16
  columnHeadFont,
17
17
  fitHead,
18
18
  headRequest
19
- } from "./chunk-ICJUN47O.js";
19
+ } from "./chunk-TL5ICZT2.js";
20
20
  import {
21
21
  runAnnotatePass
22
- } from "./chunk-QDFX2KAP.js";
22
+ } from "./chunk-U2YWY6FH.js";
23
23
  import {
24
24
  rowLabelBand
25
- } from "./chunk-MTOBNHAU.js";
25
+ } from "./chunk-5ZGCGIHG.js";
26
26
  import {
27
27
  fittedLabel,
28
28
  gutterBudget,
29
29
  stepDownFont
30
- } from "./chunk-MOBRWYUQ.js";
30
+ } from "./chunk-352V2W5P.js";
31
31
  import {
32
32
  chartTheme
33
- } from "./chunk-AIPOSNVG.js";
33
+ } from "./chunk-YRWJBS6C.js";
34
34
  import {
35
35
  labelOn
36
- } from "./chunk-77L6QGIG.js";
36
+ } from "./chunk-FKRL2ZB2.js";
37
37
  import {
38
38
  structureCount
39
39
  } from "./chunk-YDYZWCUQ.js";
@@ -59,7 +59,7 @@ import {
59
59
  planValueAxisTitle,
60
60
  straightBreakGlyph,
61
61
  valueAxisTitleRequest
62
- } from "./chunk-YM4MVABU.js";
62
+ } from "./chunk-FY3VV7TF.js";
63
63
  import {
64
64
  PRIORITY,
65
65
  authoredFootnoteCount,
@@ -73,10 +73,10 @@ import {
73
73
  solveFrame,
74
74
  solveLabels,
75
75
  withUnprintedClaims
76
- } from "./chunk-AUSZDYGE.js";
76
+ } from "./chunk-Z2WGJH2P.js";
77
77
  import {
78
78
  disclosureNote
79
- } from "./chunk-WD5NJHZG.js";
79
+ } from "./chunk-B76O5YXI.js";
80
80
  import {
81
81
  emptyIdRecord
82
82
  } from "./chunk-LINZPU5D.js";
@@ -105,7 +105,7 @@ import {
105
105
  semanticPalettePaint,
106
106
  strokeToken,
107
107
  textScaleOf
108
- } from "./chunk-XAH4EWJT.js";
108
+ } from "./chunk-BKUTKQMT.js";
109
109
  import {
110
110
  pickInk
111
111
  } from "./chunk-BQBD6Q5J.js";
@@ -4,7 +4,7 @@ import {
4
4
  cellSchema,
5
5
  refusedBaseOptions,
6
6
  valueKindSchema
7
- } from "./chunk-JOX252XQ.js";
7
+ } from "./chunk-OGD23BIK.js";
8
8
  import {
9
9
  RING_TONE_WITHOUT_RING_REFUSED,
10
10
  ringToneRefusal
@@ -15,7 +15,8 @@ import * as z from "zod";
15
15
  var sparklineDataSchema = z.strictObject({
16
16
  valueKind: valueKindSchema,
17
17
  values: z.array(cellSchema).min(2).describe("The series in order, at least two points. A null is bridged by a dotted segment with a ring on the missing point."),
18
- labels: z.array(z.string().min(1).describe("Name of one point.")).optional().describe("One name per value, in the same order. The end labels and the hover records read them; without them a point is named by its position.")
18
+ labels: z.array(z.string().min(1).describe("Name of one point.")).optional().describe("One name per value, in the same order. The end labels and the hover records read them; without them a point is named by its position."),
19
+ label: z.string().trim().min(1).optional().describe('Name of the metric the line shows, such as "Orders", as `label` names a KPI. The hover card names each value with it ("Orders: 18"); nothing on the chart prints it.')
19
20
  }).describe("One series drawn as a mini line: no axes, no smoothing, no fill."), sparklineOptionsSchema = baseOptionsSchema.safeExtend(refusedBaseOptions("sparkline")).safeExtend({
20
21
  ring: z.enum(["last", "none"]).optional().describe("A ring on the last observed point, in the highlight. 'last' is the default; 'none' draws the bare line.").meta({ default: "last" }),
21
22
  endLabels: z.enum(["ends", "none"]).optional().describe("'ends' prints the first and last authored label under the ends of the line, at the micro step in the muted ink. Default 'none'. The key is endLabels because labels is the shared per-label-kind switch. The labels take one text line of the height, about half of a 36 px card, so the line and a reference inside its range share the rest. Use 'none' on a short card, or when a reference must read apart from the line.").meta({ default: "none" }),
@@ -10,28 +10,28 @@ import {
10
10
  import {
11
11
  resolveSharedScale,
12
12
  sharedScaleValueAxis
13
- } from "./chunk-UFGJNSSL.js";
13
+ } from "./chunk-R3IPQHWC.js";
14
14
  import {
15
15
  resolveThemeRequest
16
- } from "./chunk-DZBT7AWJ.js";
16
+ } from "./chunk-7WC2N4QZ.js";
17
17
  import {
18
18
  chartRegistryRevision,
19
19
  onChartRegistered
20
- } from "./chunk-YM4MVABU.js";
20
+ } from "./chunk-FY3VV7TF.js";
21
21
  import {
22
22
  haloPaint,
23
23
  repaintGeometry,
24
24
  repaintScene,
25
25
  resolvePaint
26
- } from "./chunk-AUSZDYGE.js";
26
+ } from "./chunk-Z2WGJH2P.js";
27
27
  import {
28
28
  themeGeometryTokens
29
- } from "./chunk-3V7Y7CHI.js";
29
+ } from "./chunk-EOPDGMDS.js";
30
30
  import {
31
31
  hatchPaint,
32
32
  isHatchPattern,
33
33
  unsetRolesAsFallback
34
- } from "./chunk-XAH4EWJT.js";
34
+ } from "./chunk-BKUTKQMT.js";
35
35
 
36
36
  // src/react/ScaleGroup.tsx
37
37
  import { useMemo, useSyncExternalStore } from "react";