boardplot 0.57.0 → 0.58.1

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 (496) hide show
  1. package/CHANGELOG.md +311 -0
  2. package/README.md +48 -14
  3. package/dist/{DiagnosticDetails-JFBBXOT2.js → DiagnosticDetails-FXNTFSA4.js} +2 -2
  4. package/dist/{ReaderBox-GCIITQCX.js → ReaderBox-WVOT7VVJ.js} +8 -7
  5. package/dist/{annotateEngine-JMZI6QEG.js → annotateEngine-57L26X77.js} +2 -1
  6. package/dist/build-identity.json +3 -3
  7. package/dist/{chunk-6LQKU6YN.js → chunk-23FT7RLN.js} +11 -10
  8. package/dist/{chunk-5WSIH4SR.js → chunk-2CQBBN7M.js} +4 -4
  9. package/dist/chunk-2DS4MT7T.js +25 -0
  10. package/dist/{chunk-QFIRPOXR.js → chunk-2HII2B6S.js} +3 -3
  11. package/dist/{chunk-JMOBA5ES.js → chunk-2IRMGCYE.js} +2 -2
  12. package/dist/{chunk-JKXJWCJ5.js → chunk-2SWSUNA4.js} +116 -54
  13. package/dist/{chunk-O7Y6RJ4D.js → chunk-33EBLJVZ.js} +11 -11
  14. package/dist/{chunk-EHQLLZCQ.js → chunk-34PKJZRY.js} +59 -34
  15. package/dist/{chunk-SHAAMKN7.js → chunk-35ZJUZUO.js} +18 -18
  16. package/dist/{chunk-TGR6PRKG.js → chunk-3BMPYY26.js} +6 -3
  17. package/dist/{chunk-XJUZC53Y.js → chunk-3E6NLODZ.js} +1 -1
  18. package/dist/{chunk-H3EWFSWI.js → chunk-3ESWPMDW.js} +43 -29
  19. package/dist/{chunk-6KHRMK3I.js → chunk-3M2F7KSS.js} +158 -75
  20. package/dist/{chunk-UBXIGE2P.js → chunk-3MFVJMP6.js} +2 -2
  21. package/dist/{chunk-MOQFYJ3F.js → chunk-3OSQ32GN.js} +5 -5
  22. package/dist/{chunk-HGPFEG2L.js → chunk-3RXUA6VY.js} +5 -5
  23. package/dist/{chunk-I65OLJ2X.js → chunk-42QKUSHJ.js} +13 -3
  24. package/dist/{chunk-FAFUMSPR.js → chunk-4DK67I3B.js} +83 -51
  25. package/dist/{chunk-EEBMK6T6.js → chunk-4DMRIL5K.js} +8 -8
  26. package/dist/chunk-4M3UADCM.js +602 -0
  27. package/dist/{chunk-WSKZZ2ZB.js → chunk-4OJF6DXL.js} +538 -503
  28. package/dist/{chunk-UD6U4EF5.js → chunk-4ROZ4TFL.js} +1 -1
  29. package/dist/{chunk-I7KDPCC7.js → chunk-4TUU3UGY.js} +18 -10
  30. package/dist/{chunk-6ZN2XJFI.js → chunk-54YO56IK.js} +1 -1
  31. package/dist/{chunk-JMGB444D.js → chunk-5ACFYNA4.js} +8 -4
  32. package/dist/{chunk-BQIADGJB.js → chunk-5CYLT6FJ.js} +5 -5
  33. package/dist/{chunk-IVQT2E3Y.js → chunk-5I4RPBNE.js} +13 -13
  34. package/dist/{chunk-LW4ZQGVL.js → chunk-5KAYLRRP.js} +7 -8
  35. package/dist/{chunk-2BHLRHF2.js → chunk-5SVGTQTW.js} +4 -4
  36. package/dist/{chunk-5JTRCSBN.js → chunk-62BDQTO6.js} +2 -2
  37. package/dist/{chunk-4RN4OM6I.js → chunk-63JUV7NR.js} +3 -3
  38. package/dist/chunk-645BGVPP.js +26 -0
  39. package/dist/{chunk-JIH52I36.js → chunk-65U6ZBZZ.js} +119 -85
  40. package/dist/{chunk-3DUGZ7ML.js → chunk-6ALORYH7.js} +46 -31
  41. package/dist/{chunk-HB3TH7GY.js → chunk-6AVUTZ6W.js} +10 -6
  42. package/dist/{chunk-JYAZPMSA.js → chunk-6IUK6PAH.js} +7 -6
  43. package/dist/{chunk-W5SVS4B6.js → chunk-6JFQCVNN.js} +4 -4
  44. package/dist/{chunk-IZRTNCJQ.js → chunk-6JTCFPAD.js} +5 -5
  45. package/dist/{chunk-5TUDYKNL.js → chunk-6NGKQNTB.js} +42 -29
  46. package/dist/{chunk-IUVJVMKS.js → chunk-6V3A3MTG.js} +55 -32
  47. package/dist/{chunk-FJKFYQ5I.js → chunk-6YBNVI5I.js} +36 -28
  48. package/dist/chunk-76GPN6AT.js +72 -0
  49. package/dist/{chunk-SHCW2TCA.js → chunk-7GRR72MY.js} +25 -23
  50. package/dist/{chunk-D2B3KP35.js → chunk-7VWXXBTC.js} +4 -0
  51. package/dist/{chunk-Y5IKCXQR.js → chunk-7YZZCQT3.js} +5 -5
  52. package/dist/chunk-A65B23JK.js +113 -0
  53. package/dist/{chunk-2WTD3GCR.js → chunk-A6N24NGW.js} +3 -3
  54. package/dist/{chunk-72OJBDRB.js → chunk-AAQWFTDM.js} +52 -41
  55. package/dist/{chunk-4JNHF6JW.js → chunk-AGJ2QL4A.js} +84 -40
  56. package/dist/{chunk-I3DLERI7.js → chunk-AICO24HJ.js} +5 -2
  57. package/dist/{chunk-LSKCKGCF.js → chunk-AJGSCVVW.js} +2 -2
  58. package/dist/{chunk-7P7D6WXR.js → chunk-AKZOQGF3.js} +3 -3
  59. package/dist/{chunk-RSCRIWAH.js → chunk-AL62JJTB.js} +10 -3
  60. package/dist/{chunk-VY67Q6CJ.js → chunk-AMBQ6SWU.js} +36 -33
  61. package/dist/{chunk-73O6AOAA.js → chunk-AQ2PQ7FK.js} +241 -140
  62. package/dist/{chunk-XFCBH3TI.js → chunk-BHLNSJG7.js} +3 -3
  63. package/dist/{chunk-6XU5XGYV.js → chunk-BQ7SN7AW.js} +5 -5
  64. package/dist/{chunk-DRHQG44U.js → chunk-BQBD6Q5J.js} +6 -2
  65. package/dist/{chunk-LSR3SBJ4.js → chunk-BSZOQJXB.js} +234 -136
  66. package/dist/{chunk-KJLH5EHD.js → chunk-BVIJCUWW.js} +175 -110
  67. package/dist/{chunk-2AJWRVZ2.js → chunk-C47POAC5.js} +1 -1
  68. package/dist/{chunk-AOIZJ7GR.js → chunk-C4SQU2PB.js} +6 -6
  69. package/dist/{chunk-Y7Q3VEYC.js → chunk-CCAAI56H.js} +30 -10
  70. package/dist/{chunk-T3WCDDIL.js → chunk-CDUR3KWV.js} +2 -2
  71. package/dist/{chunk-T5MBORBK.js → chunk-CFESVCZR.js} +1 -1
  72. package/dist/{chunk-EEL2N4Y6.js → chunk-CKEFAD4R.js} +5 -5
  73. package/dist/{chunk-WE5WVQE4.js → chunk-CMPHT2LS.js} +3 -3
  74. package/dist/{chunk-FHA3KMFC.js → chunk-CQBPNE7Z.js} +5 -1
  75. package/dist/{chunk-JSA3ESEJ.js → chunk-CR5FP5SF.js} +1 -1
  76. package/dist/{chunk-NCCDEUHD.js → chunk-CSMVKG2C.js} +1 -1
  77. package/dist/{chunk-JHWDTV4K.js → chunk-D2TQX7UJ.js} +2 -2
  78. package/dist/{chunk-GHFTKVJN.js → chunk-DHGE46UK.js} +1 -1
  79. package/dist/{chunk-26WNBTWB.js → chunk-DORE2RHL.js} +5 -5
  80. package/dist/{chunk-AFA32LHN.js → chunk-DUOGEFLG.js} +62 -36
  81. package/dist/{chunk-WZB6R2ZX.js → chunk-DZYTXZNS.js} +11 -3
  82. package/dist/{chunk-O4D27FKH.js → chunk-E5YF236N.js} +4 -1
  83. package/dist/{chunk-6EE6XEMA.js → chunk-EB4PQEI3.js} +26 -17
  84. package/dist/{chunk-ANNQJWDX.js → chunk-EBWMTQ4U.js} +285 -34
  85. package/dist/{chunk-EHNGPUTO.js → chunk-EDW5HQND.js} +5 -5
  86. package/dist/{chunk-VM5CQ7CG.js → chunk-EHRRHSPV.js} +2 -2
  87. package/dist/{chunk-PYGEIPPH.js → chunk-EILNJQMN.js} +32 -12
  88. package/dist/{chunk-KGS5Z7SL.js → chunk-ERDKMZ7O.js} +2 -2
  89. package/dist/{chunk-USFIDSTO.js → chunk-ETUKDEGL.js} +18 -11
  90. package/dist/chunk-F2ET5ZTT.js +49 -0
  91. package/dist/{chunk-HVX2E26J.js → chunk-F3XOBFS4.js} +9 -8
  92. package/dist/{chunk-I4NUYVP5.js → chunk-FB6X7QHA.js} +1 -1
  93. package/dist/{chunk-LO3AGGE3.js → chunk-FJNZ7NWD.js} +5 -5
  94. package/dist/{chunk-IRXTNSZL.js → chunk-FPFRLRQO.js} +40 -22
  95. package/dist/{chunk-YTEJYLU7.js → chunk-FRR7BJ3B.js} +2 -2
  96. package/dist/{chunk-DPUCT567.js → chunk-FVWHEM2N.js} +7 -5
  97. package/dist/{chunk-A33MFWHW.js → chunk-G7BCLYL4.js} +2 -2
  98. package/dist/{chunk-2KCK63DD.js → chunk-G7CXJPEN.js} +2 -2
  99. package/dist/{chunk-2X6XY4K4.js → chunk-GB3RZYTK.js} +39 -19
  100. package/dist/{chunk-MTCDGSYW.js → chunk-GHCU6OSE.js} +2 -2
  101. package/dist/{chunk-AFGQXMKT.js → chunk-GNMB72V7.js} +161 -67
  102. package/dist/chunk-GOFS336W.js +24 -0
  103. package/dist/{chunk-JMXNXLAC.js → chunk-GQYT7G4F.js} +2 -2
  104. package/dist/{chunk-RRPTQGRU.js → chunk-H3VICNTN.js} +1 -1
  105. package/dist/{chunk-JRRSKCGG.js → chunk-H4EDDGGX.js} +3 -3
  106. package/dist/{chunk-5H4HFRDO.js → chunk-H7BCNS5J.js} +5 -5
  107. package/dist/{chunk-GC4WOLV3.js → chunk-HAG3K6PQ.js} +14 -2
  108. package/dist/chunk-HF4BCPIV.js +26 -0
  109. package/dist/{chunk-YCUNFAEE.js → chunk-HM4AJ5U4.js} +238 -127
  110. package/dist/{chunk-7FAO4ICF.js → chunk-HO4ILCW7.js} +2 -2
  111. package/dist/{chunk-ZV3SNRJI.js → chunk-HTQGJQZN.js} +4 -2
  112. package/dist/{chunk-G5BUGYIL.js → chunk-I52OMC5B.js} +192 -113
  113. package/dist/{chunk-TMXRTYGT.js → chunk-I5VNHDPR.js} +3 -2
  114. package/dist/{chunk-M74H7QYD.js → chunk-IDXYHDQY.js} +1 -1
  115. package/dist/{chunk-SSZB3VXG.js → chunk-IFUAPFL5.js} +102 -47
  116. package/dist/{chunk-IPWUBZ4P.js → chunk-IIWZJ5ZM.js} +1 -1
  117. package/dist/{chunk-KF3ZHLHQ.js → chunk-IMUMPKXF.js} +5 -5
  118. package/dist/{chunk-HC6WHTBX.js → chunk-IPBOREIY.js} +1 -1
  119. package/dist/{chunk-76UL4CT4.js → chunk-IPZJCBWD.js} +27 -22
  120. package/dist/{chunk-5P4MXWKP.js → chunk-ITEJQHXE.js} +4 -4
  121. package/dist/{chunk-WDAZ2MT4.js → chunk-IVDTP6SV.js} +4 -4
  122. package/dist/{chunk-BDGLMWPO.js → chunk-IXOBDDMW.js} +11 -2
  123. package/dist/{chunk-K6Y4HBK7.js → chunk-IXU5C3YY.js} +1000 -904
  124. package/dist/{chunk-EDBUVDRI.js → chunk-JBAVMO56.js} +372 -93
  125. package/dist/{chunk-VY2NPB2Q.js → chunk-JNDWRV34.js} +4 -4
  126. package/dist/{chunk-XYUXB5VK.js → chunk-JT3UTEWZ.js} +3 -3
  127. package/dist/{chunk-A6XCVOC5.js → chunk-JY4LTPOV.js} +1 -1
  128. package/dist/{chunk-VT7PBGL2.js → chunk-JYSFAH7C.js} +23 -36
  129. package/dist/chunk-K7XPTQBJ.js +267 -0
  130. package/dist/{chunk-2I76VFMZ.js → chunk-KI7VCHNZ.js} +49 -37
  131. package/dist/{chunk-YB6QGOCO.js → chunk-KUWIRCYJ.js} +2 -2
  132. package/dist/{chunk-MQ5EKWIG.js → chunk-KVBLTAO7.js} +5 -5
  133. package/dist/{chunk-XCROSJ2Z.js → chunk-KW4JXWHO.js} +1 -1
  134. package/dist/{chunk-BY5JGQFZ.js → chunk-KWIP5YRA.js} +4 -4
  135. package/dist/{chunk-KAAB2DIV.js → chunk-LJDATBPB.js} +6 -6
  136. package/dist/{chunk-TDDSWNGD.js → chunk-LOXZSTIM.js} +30 -28
  137. package/dist/{chunk-ZTSJ7NY6.js → chunk-LPMSGO7L.js} +3 -3
  138. package/dist/{chunk-IXM6BAM4.js → chunk-LXH4RPY4.js} +1 -1
  139. package/dist/{chunk-D5G67OER.js → chunk-LYAT62UT.js} +1 -1
  140. package/dist/{chunk-EFKFZNQC.js → chunk-M5LPP2GQ.js} +34 -20
  141. package/dist/{chunk-QZMLSK43.js → chunk-MALSSEXO.js} +294 -145
  142. package/dist/{chunk-XN7JDII2.js → chunk-MB5EX2YG.js} +230 -107
  143. package/dist/{chunk-PSYPB22T.js → chunk-MGXHFRQK.js} +5 -5
  144. package/dist/{chunk-GADI2DU7.js → chunk-MVR7YKBF.js} +152 -27
  145. package/dist/{chunk-IFURKTOL.js → chunk-MXUPMGRY.js} +2 -2
  146. package/dist/{chunk-C5SQEYTQ.js → chunk-NFGV5OAR.js} +153 -65
  147. package/dist/{chunk-RZNYW7UP.js → chunk-NNIZG3TH.js} +8 -0
  148. package/dist/{chunk-AKJO6N4K.js → chunk-NQPJWQTW.js} +11 -4
  149. package/dist/{chunk-YFI5PN5O.js → chunk-NSMYIUBZ.js} +34 -11
  150. package/dist/{chunk-H6EJ63QN.js → chunk-NT3HCXQC.js} +144 -83
  151. package/dist/chunk-NZ7FX3AE.js +65 -0
  152. package/dist/chunk-O3LT4TAI.js +34 -0
  153. package/dist/{chunk-L2XRUG4P.js → chunk-OELB7MTE.js} +5 -5
  154. package/dist/{chunk-7MYJUJZV.js → chunk-OMNB27GM.js} +4 -4
  155. package/dist/{chunk-GS5UG6QD.js → chunk-OO63YP35.js} +1 -1
  156. package/dist/{chunk-CEMXGMQN.js → chunk-OQUH7I5T.js} +3 -3
  157. package/dist/{chunk-Q7VPTN5X.js → chunk-OS7C2KMQ.js} +4 -4
  158. package/dist/{chunk-NRYERHEI.js → chunk-OTWIW2L3.js} +5 -5
  159. package/dist/chunk-OUNYHYJL.js +27 -0
  160. package/dist/{chunk-54HEIM2A.js → chunk-OUR5ZHCB.js} +2 -2
  161. package/dist/{chunk-Z257SH5U.js → chunk-OZA7HA6L.js} +1 -1
  162. package/dist/{chunk-WJQX7HBH.js → chunk-OZLKEBCD.js} +2 -2
  163. package/dist/{chunk-YGPLUENN.js → chunk-P3NMDPDP.js} +132 -83
  164. package/dist/{chunk-NINK4G7U.js → chunk-P5RCP4NK.js} +2 -2
  165. package/dist/{chunk-DYSEZVIJ.js → chunk-P6DEFCMQ.js} +2 -2
  166. package/dist/{chunk-J22ETKDJ.js → chunk-P7UOOMXE.js} +2 -2
  167. package/dist/chunk-PMT75APP.js +94 -0
  168. package/dist/{chunk-KLQKHA3T.js → chunk-PNYWBY4K.js} +5 -5
  169. package/dist/{chunk-XNV7VOIT.js → chunk-PVGJM2HP.js} +4 -4
  170. package/dist/{chunk-4U2WSW6F.js → chunk-Q2I3QLE3.js} +65 -36
  171. package/dist/{chunk-LGMV7ZV4.js → chunk-QATOOZMH.js} +5 -5
  172. package/dist/{chunk-H2POQ4LB.js → chunk-QFNWGSCT.js} +4 -4
  173. package/dist/{chunk-CIDOL4FO.js → chunk-QQMESIDA.js} +5 -5
  174. package/dist/{chunk-OTGNVAI4.js → chunk-R3VSWOTI.js} +4 -4
  175. package/dist/{chunk-UCIAHSJK.js → chunk-R5SGE2NS.js} +7 -3
  176. package/dist/{chunk-FX5VZK5F.js → chunk-RJICOOB3.js} +14 -8
  177. package/dist/{chunk-RMVCKO6N.js → chunk-RLH2CQCD.js} +458 -136
  178. package/dist/{chunk-VFLMBA2M.js → chunk-RPGEB3Z5.js} +19 -18
  179. package/dist/{chunk-KIXNHDXS.js → chunk-RQKDEJFQ.js} +5 -5
  180. package/dist/chunk-SBKM6XFS.js +211 -0
  181. package/dist/{chunk-TQ5HHNM3.js → chunk-SCAYWQZK.js} +2 -2
  182. package/dist/{chunk-Y5WHM2Q5.js → chunk-SH4FLUAD.js} +1 -1
  183. package/dist/{chunk-7EQU2TUN.js → chunk-SH4UGK5U.js} +84 -53
  184. package/dist/{chunk-EY4OA4OF.js → chunk-SHYS52VO.js} +370 -785
  185. package/dist/{chunk-ZSYU6LIH.js → chunk-SKPOXLG5.js} +5 -5
  186. package/dist/{chunk-OAT6FWKL.js → chunk-T7PRG6AO.js} +5 -5
  187. package/dist/chunk-TBZT5WUT.js +39 -0
  188. package/dist/{chunk-5HTGSB6Y.js → chunk-TKH655ON.js} +3 -3
  189. package/dist/{chunk-YO5UKKCQ.js → chunk-TMEUK2WS.js} +6 -2
  190. package/dist/{chunk-X5OVVMZX.js → chunk-TVOMGNFQ.js} +1 -1
  191. package/dist/{chunk-JARJP576.js → chunk-TX5FSNAU.js} +435 -29
  192. package/dist/{chunk-LUZ7HXBT.js → chunk-U52PNFPX.js} +1 -1
  193. package/dist/{chunk-OKM5LYYP.js → chunk-U6QZOMYC.js} +5 -5
  194. package/dist/{chunk-F4JAGDPD.js → chunk-UBYDY4B7.js} +8 -8
  195. package/dist/{chunk-V3UE3TB7.js → chunk-UCKUAKYQ.js} +2 -2
  196. package/dist/{chunk-NO7GRVUU.js → chunk-UOOXWGBU.js} +8 -8
  197. package/dist/{chunk-LFX5BERN.js → chunk-USMKNNOU.js} +47 -33
  198. package/dist/chunk-USSG6TJV.js +23 -0
  199. package/dist/{chunk-HFFKN7PA.js → chunk-UY34DDUM.js} +3 -3
  200. package/dist/{chunk-3LNVEE5Z.js → chunk-V7FV66KL.js} +1 -1
  201. package/dist/{chunk-62JZL6FW.js → chunk-V7JFT7NQ.js} +56 -42
  202. package/dist/{chunk-UP4JSNDR.js → chunk-V7NUJEJE.js} +1 -1
  203. package/dist/{chunk-FERP4WS3.js → chunk-VACZGW5R.js} +16 -18
  204. package/dist/{chunk-BO5EJBLH.js → chunk-VC62V7CX.js} +82 -47
  205. package/dist/{chunk-53OEKS4L.js → chunk-VESSIKBG.js} +6 -3
  206. package/dist/chunk-VJULLJLN.js +70 -0
  207. package/dist/{chunk-QLWUFEKR.js → chunk-VKNQOSGW.js} +8 -8
  208. package/dist/{chunk-BFDPY7JM.js → chunk-VTY6YHQZ.js} +11 -6
  209. package/dist/{chunk-UFZXZJJG.js → chunk-W2QILXAL.js} +5 -5
  210. package/dist/{chunk-QHPJ5ZKS.js → chunk-W6XSIBLR.js} +5 -5
  211. package/dist/{chunk-DJBMA4FW.js → chunk-WDJSDJLV.js} +4 -6
  212. package/dist/{chunk-JKOEHRGV.js → chunk-WDLWWEHZ.js} +1 -1
  213. package/dist/{chunk-IW3YUMPI.js → chunk-WFBN2HXR.js} +2 -2
  214. package/dist/chunk-WGJIYFVQ.js +24 -0
  215. package/dist/{chunk-43PCSBVQ.js → chunk-WKXLJNHW.js} +634 -8
  216. package/dist/{chunk-EWR6WVOV.js → chunk-WLH5IBFY.js} +6 -6
  217. package/dist/{chunk-RHVP62HI.js → chunk-WMQ57FOP.js} +5 -5
  218. package/dist/{chunk-GKQLKUMF.js → chunk-WNTUBGBB.js} +41 -32
  219. package/dist/{chunk-RHBQ2Q5H.js → chunk-WOICFLOJ.js} +60 -43
  220. package/dist/{chunk-QNLESRH6.js → chunk-WUP6C4ZD.js} +2 -2
  221. package/dist/chunk-WVCDISZP.js +89 -0
  222. package/dist/{chunk-CT4RFZO4.js → chunk-WW4KLAVO.js} +38 -23
  223. package/dist/{chunk-I5ZADE2U.js → chunk-X3QUASBR.js} +1 -1
  224. package/dist/{chunk-TXMS7QUJ.js → chunk-X46PSAJ7.js} +6 -6
  225. package/dist/{chunk-Z2BDTZDT.js → chunk-XC32OSCD.js} +97 -39
  226. package/dist/{chunk-M2OQK2FO.js → chunk-XD5XB22R.js} +2 -2
  227. package/dist/chunk-XLLWIHN2.js +24 -0
  228. package/dist/{chunk-SD6ENKTO.js → chunk-XMX4PCFL.js} +3 -3
  229. package/dist/{chunk-BM2A3IGQ.js → chunk-XO44IJGZ.js} +1 -1
  230. package/dist/{chunk-2HD5RY2U.js → chunk-XRRG4MBM.js} +3 -3
  231. package/dist/chunk-XSC4IXXC.js +24 -0
  232. package/dist/{chunk-D5RAVZ5C.js → chunk-XSEETONJ.js} +10 -9
  233. package/dist/{chunk-YBYV56FS.js → chunk-XZOFKLTD.js} +3 -3
  234. package/dist/{chunk-YNHPPZ7S.js → chunk-XZXZNI7A.js} +1 -1
  235. package/dist/{chunk-W7Q6PLT4.js → chunk-Y6E4JU3U.js} +37 -37
  236. package/dist/{chunk-XR7VOF2V.js → chunk-YGWPOYDE.js} +25 -13
  237. package/dist/{chunk-HDSHS2QZ.js → chunk-YJUBX3QF.js} +70 -47
  238. package/dist/{chunk-BDCKHLUB.js → chunk-YLRAAJYV.js} +72 -304
  239. package/dist/{chunk-I6QGYRY4.js → chunk-YW35KSXR.js} +2 -2
  240. package/dist/{chunk-GAFEN3H7.js → chunk-Z3WQXVFV.js} +2 -2
  241. package/dist/{chunk-WKWCNS6K.js → chunk-Z62TJQO5.js} +5 -5
  242. package/dist/{chunk-D3PQAVFW.js → chunk-Z6DUNKFU.js} +152 -29
  243. package/dist/{chunk-FF7MV4D4.js → chunk-Z6H5ED2I.js} +1 -1
  244. package/dist/{chunk-TWRFVW3J.js → chunk-ZB3JIL3L.js} +138 -89
  245. package/dist/{chunk-KUMJI5B6.js → chunk-ZBCCJPGW.js} +17 -14
  246. package/dist/{chunk-CV3NC75L.js → chunk-ZBOOMLHD.js} +1 -1
  247. package/dist/{chunk-QRZESG66.js → chunk-ZCHKIR7C.js} +64 -239
  248. package/dist/{chunk-ZDD3MJ2H.js → chunk-ZDJ7C64T.js} +1 -1
  249. package/dist/{chunk-KQ2WZ6BY.js → chunk-ZG4BMJRL.js} +1 -1
  250. package/dist/{chunk-QYOZ46ZQ.js → chunk-ZIVCPXXL.js} +467 -650
  251. package/dist/{chunk-V62B23VC.js → chunk-ZNRSYS76.js} +8 -2
  252. package/dist/{chunk-NIDH22DI.js → chunk-ZSYFQSPF.js} +12 -2
  253. package/dist/cli/index.js +8 -3
  254. package/dist/{core-5S5CJHBG.js → core-2GWH3ED7.js} +2 -1
  255. package/dist/{core-ZSERZGK6.js → core-3LCSHMKN.js} +3 -1
  256. package/dist/{core-FTQBESDS.js → core-3NQ5TXOJ.js} +3 -1
  257. package/dist/{core-D2OIGYC7.js → core-3XGQBHJI.js} +4 -1
  258. package/dist/{core-T3OSZOVV.js → core-4N6WH3IF.js} +3 -1
  259. package/dist/{core-VRVL6LIM.js → core-5CRTPVYA.js} +3 -1
  260. package/dist/{core-7XKNJM7Y.js → core-5K4HRIHX.js} +5 -1
  261. package/dist/{core-CCB3IXGD.js → core-743ZXTWK.js} +3 -1
  262. package/dist/{core-4M4RY7MX.js → core-7OAGK7ZJ.js} +3 -1
  263. package/dist/{core-VT35VDVS.js → core-7YDNMUU3.js} +6 -1
  264. package/dist/{core-4PW4MXWR.js → core-AAPPZSSZ.js} +4 -1
  265. package/dist/{core-OBPTBKX6.js → core-AC5AKSCM.js} +2 -1
  266. package/dist/{core-QFAVWFI3.js → core-AEALAFRA.js} +2 -1
  267. package/dist/{core-WXZJ7V7S.js → core-BEK6EPVF.js} +4 -1
  268. package/dist/{core-WP73P4CW.js → core-BRBJ3LPF.js} +5 -1
  269. package/dist/{core-AVA4XLQ2.js → core-EGTJOQK7.js} +2 -1
  270. package/dist/{core-XKXDXALI.js → core-FE4THVV3.js} +6 -1
  271. package/dist/{core-MAW4S3KA.js → core-FEBNVNVE.js} +5 -1
  272. package/dist/{core-L3UR75IJ.js → core-HIONDJGC.js} +4 -1
  273. package/dist/{core-GS4DXDDG.js → core-HMBMMF5Z.js} +4 -1
  274. package/dist/{core-QM34237W.js → core-LSYX4UQQ.js} +2 -1
  275. package/dist/{core-N2JEWJ7D.js → core-MIERUUUT.js} +2 -1
  276. package/dist/{core-A7HXVSKB.js → core-NTOOJZRA.js} +2 -1
  277. package/dist/{core-JDZDBTID.js → core-O5S2NETE.js} +2 -1
  278. package/dist/{core-OFPPRHYY.js → core-Q2Y3JEWL.js} +3 -1
  279. package/dist/{core-BJZEJ63L.js → core-RTBPKALG.js} +3 -1
  280. package/dist/{core-WNT6ZMRO.js → core-T7CKLMT2.js} +2 -1
  281. package/dist/{core-VWYXK2R3.js → core-TIIPSEK3.js} +4 -1
  282. package/dist/{core-EMSJRGSE.js → core-VBMWBPKM.js} +2 -1
  283. package/dist/{core-WPEYRK6Y.js → core-VLXOQ5CK.js} +4 -1
  284. package/dist/{core-7TTM4KRP.js → core-VYHQ5JY6.js} +3 -1
  285. package/dist/{core-DMDAXVMY.js → core-XJZWD43V.js} +2 -1
  286. package/dist/{core-AMWCZTOT.js → core-XUNZB6BM.js} +5 -1
  287. package/dist/{core-UNX4ZV4M.js → core-YKDDPMWW.js} +5 -1
  288. package/dist/{core-SKMHEA4Y.js → core-YN2VVGUL.js} +3 -1
  289. package/dist/{core-ZACFV6XR.js → core-YP4MNIMV.js} +5 -1
  290. package/dist/{core-FCSA74RT.js → core-ZETBHLSV.js} +3 -1
  291. package/dist/{dataTable-7IO546LM.js → dataTable-FEQZSDUZ.js} +7 -2
  292. package/dist/{engine-US3N6UCH.js → engine-SCQVNSAM.js} +23 -18
  293. package/dist/fixtures.js +2 -1
  294. package/dist/flags-BVLSAXT3.js +10 -0
  295. package/dist/{fontTables-ZPZQ6IR3.js → fontTables-JUW7ZTQY.js} +3 -1
  296. package/dist/geo/dach.js +1 -1
  297. package/dist/geo/de-states.js +1 -1
  298. package/dist/geo/eu27.js +1 -1
  299. package/dist/geo/europe.js +1 -1
  300. package/dist/geo/index.js +2 -2
  301. package/dist/geo/us-states.js +1 -1
  302. package/dist/geo/world.js +1 -1
  303. package/dist/index.js +27 -20
  304. package/dist/{main-2UWKGUHR.js → main-7UKLXCIL.js} +50 -119
  305. package/dist/mcp/server.js +121 -118
  306. package/dist/react/bar.js +5 -1
  307. package/dist/react/bartable.js +3 -1
  308. package/dist/react/box.js +3 -1
  309. package/dist/react/bullet.js +4 -1
  310. package/dist/react/butterfly.js +5 -1
  311. package/dist/react/choropleth.js +3 -1
  312. package/dist/react/cohort.js +3 -1
  313. package/dist/react/column.js +5 -1
  314. package/dist/react/combo.js +5 -1
  315. package/dist/react/creative.js +4 -1
  316. package/dist/react/diagram.js +3 -1
  317. package/dist/react/dimswitch.js +6 -1
  318. package/dist/react/dot.js +4 -1
  319. package/dist/react/export.js +29 -18
  320. package/dist/react/funnel.js +4 -1
  321. package/dist/react/gantt.js +3 -1
  322. package/dist/react/grid.js +6 -1
  323. package/dist/react/heatmap.js +3 -1
  324. package/dist/react/histogram.js +6 -1
  325. package/dist/react/index.js +92 -85
  326. package/dist/react/kpi.js +4 -1
  327. package/dist/react/likert.js +6 -1
  328. package/dist/react/line.js +4 -1
  329. package/dist/react/mekko.js +5 -1
  330. package/dist/react/pareto.js +6 -1
  331. package/dist/react/pie.js +4 -1
  332. package/dist/react/prepare.js +35 -22
  333. package/dist/react/pvm.js +6 -1
  334. package/dist/react/pyramid.js +5 -1
  335. package/dist/react/sankey.js +3 -1
  336. package/dist/react/scatter.js +3 -1
  337. package/dist/react/slope.js +4 -1
  338. package/dist/react/sparkline.js +4 -1
  339. package/dist/react/spec.js +17 -13
  340. package/dist/react/status.js +3 -1
  341. package/dist/react/story.js +3 -2
  342. package/dist/react/table.js +4 -1
  343. package/dist/react/theme.js +5 -3
  344. package/dist/react/tilemap.js +3 -1
  345. package/dist/react/treemap.js +3 -1
  346. package/dist/react/variance.js +5 -1
  347. package/dist/react/waffle.js +3 -1
  348. package/dist/react/waterfall.js +5 -1
  349. package/dist/{resvg-VB7S5HRF.js → resvg-ZYEZTSUO.js} +3 -1
  350. package/dist/rows.js +2 -2
  351. package/dist/{rowsModule-DYDVHBAX.js → rowsModule-WJH4QNXZ.js} +1 -1
  352. package/dist/{schema-YDZCGL56.js → schema-2R32F6AW.js} +1 -3
  353. package/dist/{schema-A2XUZUCV.js → schema-2TPGJGVR.js} +1 -3
  354. package/dist/{schema-MD22QYZU.js → schema-47BG2TZA.js} +1 -3
  355. package/dist/{schema-HEB6ZDI5.js → schema-56MOEOVR.js} +1 -3
  356. package/dist/{schema-K4V4PYBO.js → schema-5MSR4LNN.js} +1 -3
  357. package/dist/{schema-NOBNFD2F.js → schema-5RIYEWE6.js} +1 -3
  358. package/dist/{schema-OXO2XY4Y.js → schema-ALBF6V7Y.js} +1 -3
  359. package/dist/{schema-F2Q6MH7W.js → schema-BA6WP5YZ.js} +1 -3
  360. package/dist/{schema-G5KSSI5W.js → schema-CBL2SMVR.js} +1 -3
  361. package/dist/{schema-WFGDVBJK.js → schema-CWKGLDSR.js} +1 -3
  362. package/dist/{schema-DHMMGDTI.js → schema-DBIQFL56.js} +1 -3
  363. package/dist/{schema-626QXX4G.js → schema-DL7V6NN2.js} +1 -3
  364. package/dist/{schema-FC6J6KZC.js → schema-DUVJMFKQ.js} +1 -3
  365. package/dist/{schema-LGLQBRC4.js → schema-ECJERHKF.js} +1 -2
  366. package/dist/{schema-4JRNXEZF.js → schema-EDSEKZDJ.js} +1 -3
  367. package/dist/{schema-I44IDRGD.js → schema-ESR6ZIK4.js} +1 -3
  368. package/dist/{schema-FSYDLMGD.js → schema-F7TWGLRZ.js} +1 -3
  369. package/dist/{schema-JCU6LTYD.js → schema-FGB6IGZM.js} +1 -3
  370. package/dist/{schema-MGETMQYC.js → schema-FKGGTM4Z.js} +1 -2
  371. package/dist/{schema-XIHAKX3B.js → schema-JIAQE7WO.js} +1 -1
  372. package/dist/{schema-6V5K3J2V.js → schema-JYZ4RF6S.js} +1 -3
  373. package/dist/{schema-GXOG4MXL.js → schema-K7F6TEDK.js} +1 -2
  374. package/dist/{schema-NMIYKGHE.js → schema-KAK6DZX4.js} +1 -3
  375. package/dist/{schema-PHIHMDVB.js → schema-KCJ6WTGV.js} +1 -3
  376. package/dist/{schema-XRSORYBI.js → schema-MOKWIGF7.js} +1 -3
  377. package/dist/{schema-3KMU5737.js → schema-MQT6BMNK.js} +1 -3
  378. package/dist/{schema-JJWORI7D.js → schema-MR3BPPQR.js} +1 -3
  379. package/dist/{schema-IFTIMTS3.js → schema-OPXZYIW7.js} +1 -3
  380. package/dist/{schema-UXWKA3PI.js → schema-PV7JGX5H.js} +1 -3
  381. package/dist/{schema-CNJ4Y6CT.js → schema-PWPQF5RC.js} +1 -3
  382. package/dist/{schema-WBOPCTPC.js → schema-PYQEUC5P.js} +1 -3
  383. package/dist/{schema-J4HCSD5C.js → schema-Q5DACE4I.js} +6 -2
  384. package/dist/{schema-IUY7VYHJ.js → schema-R42VXFIS.js} +1 -3
  385. package/dist/{schema-WX2RS4OU.js → schema-TVUJNEX7.js} +1 -3
  386. package/dist/{schema-6PL46VXZ.js → schema-WZOSDDDJ.js} +1 -3
  387. package/dist/{schema-FGE5YK3S.js → schema-Y4TI2T3T.js} +1 -3
  388. package/dist/{schema-MQB6CE5V.js → schema-ZU2EU2VP.js} +1 -3
  389. package/dist/{specValidation-XGELWQUU.js → specValidation-DC4TVHWD.js} +3 -1
  390. package/dist/theme.js +4 -3
  391. package/dist/{themeShapeRules-PW4BQHKL.js → themeShapeRules-G7UZX6GJ.js} +1 -1
  392. package/dist/types/core/annotate.d.ts +27 -2
  393. package/dist/types/core/annotateArms.d.ts +3 -1
  394. package/dist/types/core/annotateTargets.d.ts +4 -0
  395. package/dist/types/core/annotationOrigin.d.ts +13 -0
  396. package/dist/types/core/axis.d.ts +2 -2
  397. package/dist/types/core/charts/band/stacks.d.ts +7 -1
  398. package/dist/types/core/charts/column/model.d.ts +13 -0
  399. package/dist/types/core/charts/combo/layout.d.ts +7 -0
  400. package/dist/types/core/charts/gantt/calendar.d.ts +4 -0
  401. package/dist/types/core/charts/grid/normalize.d.ts +5 -0
  402. package/dist/types/core/charts/grid/schema.d.ts +2 -2
  403. package/dist/types/core/charts/pareto/layout.d.ts +2 -0
  404. package/dist/types/core/charts/pvm/types.d.ts +1 -0
  405. package/dist/types/core/charts/scatter/clamp.d.ts +2 -1
  406. package/dist/types/core/charts/scatter/model.d.ts +5 -0
  407. package/dist/types/core/charts/scatter/valueLines.d.ts +3 -1
  408. package/dist/types/core/charts/table/resolve.d.ts +8 -3
  409. package/dist/types/core/charts/table/view.d.ts +24 -1
  410. package/dist/types/core/claims/browser.d.ts +2 -0
  411. package/dist/types/core/claims/ids.d.ts +38 -0
  412. package/dist/types/core/deferred.d.ts +1 -0
  413. package/dist/types/core/diagnostics/describe.d.ts +6 -1
  414. package/dist/types/core/doc/diagnostics.d.ts +3 -2
  415. package/dist/types/core/formatSpec.d.ts +33 -14
  416. package/dist/types/core/frame.d.ts +25 -58
  417. package/dist/types/core/frameText.d.ts +203 -0
  418. package/dist/types/core/geometry.d.ts +2 -0
  419. package/dist/types/core/label/categoryRow.d.ts +19 -2
  420. package/dist/types/core/label/solver.d.ts +23 -2
  421. package/dist/types/core/normalize/shared.d.ts +12 -2
  422. package/dist/types/core/notes.d.ts +15 -2
  423. package/dist/types/core/reading.d.ts +12 -1
  424. package/dist/types/core/request.d.ts +1 -1
  425. package/dist/types/core/schema/capability.d.ts +12 -0
  426. package/dist/types/core/seriesIdentity.d.ts +4 -1
  427. package/dist/types/core/sizing.d.ts +37 -1
  428. package/dist/types/core/structureCounts.d.ts +3 -1
  429. package/dist/types/core/theme.d.ts +33 -4
  430. package/dist/types/core/themeRules.d.ts +2 -0
  431. package/dist/types/core/types/annotations.d.ts +74 -4
  432. package/dist/types/core/types/options.d.ts +35 -3
  433. package/dist/types/core/types/scene.d.ts +30 -2
  434. package/dist/types/core/types/table.d.ts +6 -0
  435. package/dist/types/core/types/theme.d.ts +23 -0
  436. package/dist/types/react/TableChart.d.ts +5 -0
  437. package/dist/validate.js +13 -6
  438. package/docs/TELEMETRY.md +2 -2
  439. package/docs/manual.md +252 -62
  440. package/docs/reference/bar.md +12 -4
  441. package/docs/reference/bartable.md +2 -2
  442. package/docs/reference/box.md +8 -4
  443. package/docs/reference/bullet.md +9 -5
  444. package/docs/reference/butterfly.md +10 -5
  445. package/docs/reference/choropleth.md +3 -5
  446. package/docs/reference/cohort.md +1 -1
  447. package/docs/reference/column.md +18 -4
  448. package/docs/reference/combo.md +10 -5
  449. package/docs/reference/creative.md +3 -7
  450. package/docs/reference/diagram.md +1 -1
  451. package/docs/reference/dimswitch.md +23 -88
  452. package/docs/reference/dot.md +9 -5
  453. package/docs/reference/fixtures.md +37 -1
  454. package/docs/reference/funnel.md +9 -5
  455. package/docs/reference/gantt.md +8 -15
  456. package/docs/reference/grid.md +5 -2
  457. package/docs/reference/heatmap.md +10 -6
  458. package/docs/reference/kpi.md +1 -1
  459. package/docs/reference/likert.md +9 -4
  460. package/docs/reference/line.md +18 -5
  461. package/docs/reference/mekko.md +10 -5
  462. package/docs/reference/options.md +17 -13
  463. package/docs/reference/pareto.md +8 -4
  464. package/docs/reference/pie.md +9 -5
  465. package/docs/reference/pvm.md +9 -5
  466. package/docs/reference/pyramid.md +8 -4
  467. package/docs/reference/react.md +5 -5
  468. package/docs/reference/sankey.md +2 -2
  469. package/docs/reference/scatter.md +8 -4
  470. package/docs/reference/slope.md +9 -5
  471. package/docs/reference/sparkline.md +1 -1
  472. package/docs/reference/status.md +1 -1
  473. package/docs/reference/table.md +33 -114
  474. package/docs/reference/theme.md +12 -4
  475. package/docs/reference/tilemap.md +2 -4
  476. package/docs/reference/treemap.md +1 -1
  477. package/docs/reference/variance.md +12 -6
  478. package/docs/reference/waffle.md +1 -1
  479. package/docs/reference/warnings.md +1077 -0
  480. package/docs/reference/waterfall.md +16 -4
  481. package/docs/use-cases.md +25 -13
  482. package/llms.txt +19 -6
  483. package/package.json +18 -3
  484. package/dist/chunk-5RHP7YTL.js +0 -24
  485. package/dist/chunk-6VU2XI3W.js +0 -89
  486. package/dist/chunk-6WJOHZPW.js +0 -26
  487. package/dist/chunk-FL3FQ2YA.js +0 -27
  488. package/dist/chunk-G5CELEUR.js +0 -26
  489. package/dist/chunk-M4SPKUZE.js +0 -7
  490. package/dist/chunk-OF7FMGH5.js +0 -24
  491. package/dist/chunk-S2TSXUYP.js +0 -24
  492. package/dist/chunk-TKERVBJ3.js +0 -23
  493. package/dist/chunk-VMGTNB6H.js +0 -25
  494. package/dist/chunk-WZL4EEBS.js +0 -11
  495. package/dist/chunk-YJGFT63R.js +0 -27
  496. package/dist/chunk-ZNX5J7D7.js +0 -47
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  columnOverridesOption
3
- } from "./chunk-RRPTQGRU.js";
3
+ } from "./chunk-H3VICNTN.js";
4
4
  import {
5
5
  baseOptionsSchema,
6
6
  cellSchema,
@@ -9,7 +9,7 @@ import {
9
9
  primaryAxisTitleSchema,
10
10
  refusedBaseOptions,
11
11
  scenarioField
12
- } from "./chunk-QYOZ46ZQ.js";
12
+ } from "./chunk-ZIVCPXXL.js";
13
13
 
14
14
  // src/core/charts/waterfall/schema.ts
15
15
  import * as z from "zod";
@@ -128,6 +128,7 @@ var waterfallDataSchema = z.object({
128
128
  variant: z.enum(["vertical", "horizontal"]).optional().describe("Left out: vertical columns, turned into a horizontal bridge when the step names would rotate, shorten or drop, the horizontal bridge draws without a new finding, and the spec has no cases and no annotations. 'vertical' always keeps columns. A horizontal bridge draws no annotations: an old spec draws without them and warns option-ignored, so use vertical for annotations."),
129
129
  build: z.enum(["up", "down"]).optional().describe("Build label in the accessible description; defaults to up. Item types and signed values determine accumulation in both modes."),
130
130
  signColor: z.boolean().optional().describe("Paint each plain step good or bad by sign \xD7 item direction, as column's signColor; zero is neutral. Default true unless the theme sets marks.bridge or a palette is named; false paints steps neutral. colorblindSafe paints signed steps, labels and key swatches with the theme's colour-blind pair."),
131
+ bracketRow: z.enum(["shared", "span"]).optional().describe("Where the step brackets stand. 'shared' (default): all brackets of the bridge on one row, the lowest row that clears every bracketed span and its values. 'span': each bracket right above its own steps and their values. Either way a bracket moves to the top row where its seat is taken."),
131
132
  columnOverrides: columnOverridesOption("waterfall", ["width"]).describe("Horizontal bridge only: width in px of the name band (label) and the value band (value). With variant 'vertical' it is refused. Left out, the variant is chosen without it, and a bridge that draws vertical warns option-ignored.")
132
133
  }), waterfallOptionsSchema = waterfallOptionsShape.superRefine((options, ctx) => {
133
134
  options.columnOverrides !== void 0 && options.variant === "vertical" && ctx.addIssue({ code: "custom", path: ["columnOverrides"], message: "columnOverrides sets the bands of a horizontal bridge, and variant 'vertical' has none; drop one of the two" });
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-SGDWLXUC.js";
4
4
  import {
5
5
  DEFAULT_TARGET
6
- } from "./chunk-FX5VZK5F.js";
6
+ } from "./chunk-RJICOOB3.js";
7
7
 
8
8
  // src/react/themeContext.ts
9
9
  import { createContext, useContext } from "react";
@@ -1,32 +1,36 @@
1
1
  import {
2
2
  bandFloorSizing
3
- } from "./chunk-I5ZADE2U.js";
3
+ } from "./chunk-X3QUASBR.js";
4
+ import {
5
+ positionBarLabel,
6
+ refuseLabelPosition
7
+ } from "./chunk-76GPN6AT.js";
4
8
  import {
5
9
  valueLineExtent
6
10
  } from "./chunk-QPWRHDLZ.js";
7
11
  import {
8
12
  warnMissingValue
9
- } from "./chunk-I3DLERI7.js";
13
+ } from "./chunk-AICO24HJ.js";
10
14
  import {
11
15
  percentLevels,
12
16
  runAnnotatePass
13
- } from "./chunk-UCIAHSJK.js";
17
+ } from "./chunk-R5SGE2NS.js";
14
18
  import {
15
19
  breakUnsupported,
16
20
  chartTheme
17
- } from "./chunk-IW3YUMPI.js";
21
+ } from "./chunk-WFBN2HXR.js";
18
22
  import {
19
23
  topNCut,
20
24
  topNOmitted,
21
25
  topNRestUnsupported
22
- } from "./chunk-W5SVS4B6.js";
26
+ } from "./chunk-6JFQCVNN.js";
23
27
  import {
24
28
  VALUE_LINE_RESERVE,
25
29
  hiddenValueLineReserve
26
- } from "./chunk-O4D27FKH.js";
30
+ } from "./chunk-E5YF236N.js";
27
31
  import {
28
32
  structureCount
29
- } from "./chunk-XCROSJ2Z.js";
33
+ } from "./chunk-KW4JXWHO.js";
30
34
  import {
31
35
  PLOT_FLOOR_RECT,
32
36
  applyAxisBounds,
@@ -46,27 +50,22 @@ import {
46
50
  planCategoryRow,
47
51
  planValueAxisTitle,
48
52
  rotatedClaimRect,
49
- rotatedLeftOverhang,
50
53
  shownTickStep,
51
54
  valueAxisTitleBand,
52
55
  valueAxisTitleRequest,
53
- yearRowRequests
54
- } from "./chunk-AFGQXMKT.js";
56
+ yearRowRequests,
57
+ yieldToRotatedName
58
+ } from "./chunk-GNMB72V7.js";
55
59
  import {
56
60
  prepareFractionData
57
- } from "./chunk-I65OLJ2X.js";
61
+ } from "./chunk-42QKUSHJ.js";
58
62
  import {
59
63
  PARTIAL_KEY,
60
64
  PRIORITY,
61
65
  SERIES_VALUE_GAP,
62
66
  authoredFootnoteCount,
63
67
  authoredNotes,
64
- boxGap,
65
68
  categoryLabelsAndMarks,
66
- cleanDiff,
67
- cleanFloat,
68
- cleanSum,
69
- createOccupiedIndex,
70
69
  fixedPlotChrome,
71
70
  frameTextOptions,
72
71
  highlightPaintWarnings,
@@ -89,11 +88,12 @@ import {
89
88
  toDateFont,
90
89
  toDateLabel,
91
90
  toDateRoom,
92
- withAuthoredFootnotes
93
- } from "./chunk-WSKZZ2ZB.js";
91
+ withAuthoredFootnotes,
92
+ withUnprintedClaims
93
+ } from "./chunk-4OJF6DXL.js";
94
94
  import {
95
95
  disclosureNote
96
- } from "./chunk-WZB6R2ZX.js";
96
+ } from "./chunk-DZYTXZNS.js";
97
97
  import {
98
98
  emptyIdRecord
99
99
  } from "./chunk-LINZPU5D.js";
@@ -107,7 +107,7 @@ import {
107
107
  signedFormatterFromExample,
108
108
  specUnitKind,
109
109
  withUnit
110
- } from "./chunk-D3PQAVFW.js";
110
+ } from "./chunk-Z6DUNKFU.js";
111
111
  import {
112
112
  PERCENTAGE_POINTS,
113
113
  autoDecimals,
@@ -127,8 +127,14 @@ import {
127
127
  isPctCell
128
128
  } from "./chunk-O3VN6BTL.js";
129
129
  import {
130
+ boxGap,
130
131
  canvasMargin,
132
+ classStepWidth,
133
+ cleanDiff,
134
+ cleanFloat,
135
+ cleanSum,
131
136
  colorblindPaint,
137
+ createOccupiedIndex,
132
138
  effectiveFill,
133
139
  emphasisLabelTheme,
134
140
  emphasisWeight,
@@ -144,7 +150,7 @@ import {
144
150
  signedFillPaint,
145
151
  strokeToken,
146
152
  textScaleOf
147
- } from "./chunk-JARJP576.js";
153
+ } from "./chunk-TX5FSNAU.js";
148
154
  import {
149
155
  DEFAULT_TARGET,
150
156
  NormalizeError,
@@ -156,14 +162,14 @@ import {
156
162
  resolveHighlight,
157
163
  resolveSize,
158
164
  resolveTargetSize
159
- } from "./chunk-FX5VZK5F.js";
165
+ } from "./chunk-RJICOOB3.js";
166
+ import {
167
+ defaultMeasurer
168
+ } from "./chunk-UIHGGWES.js";
160
169
  import {
161
170
  maxOf,
162
171
  pushAll
163
172
  } from "./chunk-WYJEOMNY.js";
164
- import {
165
- defaultMeasurer
166
- } from "./chunk-UIHGGWES.js";
167
173
 
168
174
  // src/core/strings/variance.ts
169
175
  var EN = {
@@ -232,8 +238,14 @@ function relativePointCandidates(cx, y, baseline, size, negative, radius, beside
232
238
  }
233
239
 
234
240
  // src/core/charts/variance/layout.ts
235
- var pinGeometry = (theme, width) => width >= 720 ? { r: 5, stem: strokeToken(theme, "data") * 1.25 } : { r: 4.5, stem: strokeToken(theme, "data") }, LIFT_ROW = /* @__PURE__ */ Symbol("liftRow");
241
+ var pinGeometry = (theme, width) => classStepWidth(width) >= 720 ? { r: 5, stem: strokeToken(theme, "data") * 1.25 } : { r: 4.5, stem: strokeToken(theme, "data") }, LIFT_ROW = /* @__PURE__ */ Symbol("liftRow");
236
242
  function layoutVariance(data, options = {}) {
243
+ let variant = options.variant ?? "absolute";
244
+ variant !== "absolute" && refuseLabelPosition(
245
+ options,
246
+ `variance ${variant}`,
247
+ variant === "integrated" ? ["center", "insideEnd", "insideBase"] : []
248
+ );
237
249
  let warnings = [];
238
250
  breakUnsupported("variance", options, warnings);
239
251
  let theme = resolveSemanticPaletteTheme(
@@ -244,9 +256,9 @@ function layoutVariance(data, options = {}) {
244
256
  paintWarningRules.length && warnings.push(...highlightPaintWarnings(theme, "variance"));
245
257
  let density = options.labelDensity ?? "smart";
246
258
  if (!data || !Array.isArray(data.categories) || data.categories.length === 0)
247
- throw new NormalizeError("empty-data", "categories", "variance requires at least one category");
259
+ throw new NormalizeError("empty-data", "categories", "variance requires at least one category", void 0, void 0, ["data", "categories"]);
248
260
  if (!Array.isArray(data.series) || data.series.length === 0)
249
- throw new NormalizeError("empty-data", "series", "variance requires at least one series");
261
+ throw new NormalizeError("empty-data", "series", "variance requires at least one series", void 0, void 0, ["data", "series"]);
250
262
  let spec = options.variance;
251
263
  if (!spec || !spec.vs)
252
264
  throw new NormalizeError(
@@ -256,7 +268,7 @@ function layoutVariance(data, options = {}) {
256
268
  "e.g. { vs: 'py' }"
257
269
  );
258
270
  let mode = options.variant ?? "absolute", cats = data.categories.map((c, i) => normalizeCategory(c, i)), seriesNorm = data.series.map((s, si) => {
259
- if (!s?.id) throw new NormalizeError("missing-id", `series[${si}]`, "series requires an id");
271
+ if (!s?.id) throw new NormalizeError("missing-id", `series[${si}]`, "series requires an id", void 0, void 0, ["data", "series", si]);
260
272
  let vals = normalizeSeriesValues(s, cats, si).map((cell, ci) => {
261
273
  let meta = cellMeta(cell);
262
274
  return {
@@ -286,7 +298,7 @@ function layoutVariance(data, options = {}) {
286
298
  };
287
299
  }), dataSeries = seriesNorm.filter((s) => s.role !== "reference");
288
300
  if (dataSeries.length === 0)
289
- throw new NormalizeError("empty-data", "series", "variance requires at least one data-role series");
301
+ throw new NormalizeError("empty-data", "series", "variance requires at least one data-role series", void 0, void 0, ["data", "series"]);
290
302
  let refSeries = seriesNorm.find((s) => s.id === spec.vs);
291
303
  if (!refSeries)
292
304
  throw new NormalizeError(
@@ -495,7 +507,7 @@ function layoutVariance(data, options = {}) {
495
507
  paddingInner: 1 - fraction,
496
508
  paddingOuter: (1 - fraction) / 2 + 0.05
497
509
  });
498
- }, band = bandFor(plotX0, plotW0), dateNumericTicks = isDateNumericTickSequence(cats.map((c) => c.label ?? c.id)), planRow = (b) => planCategoryRow({
510
+ }, band = bandFor(plotX0, plotW0), dateNumericTicks = isDateNumericTickSequence(cats.map((c) => c.label ?? c.id)), planRow = (b, rotate) => planCategoryRow({
499
511
  ...categoryLabelsAndMarks(cats, { count: authoredFootnoteCount(options), warnings }, partialAxisWords(options.strings, options, legendInput?.items.some((item) => item.id === "__partial") || partialNamed)),
500
512
  centers: cats.map((_, ci) => b.center(ci)),
501
513
  step: b.step,
@@ -504,9 +516,10 @@ function layoutVariance(data, options = {}) {
504
516
  measure,
505
517
  plotHeight: frameResult.plot.h,
506
518
  target: options.target,
507
- textScale: textScaleOf(options)
508
- }), catPlan = planRow(band), catOverhang = rotatedLeftOverhang(catPlan, cats.map((_, ci) => band.center(ci)), 4);
509
- catOverhang > 0 && (plotX0 += catOverhang, plotW0 -= catOverhang, band = bandFor(plotX0, plotW0), catPlan = planRow(band));
519
+ textScale: textScaleOf(options),
520
+ ...rotate === !1 ? { rotate } : {}
521
+ }), catPlan = planRow(band);
522
+ ({ plan: catPlan, band } = yieldToRotatedName(catPlan, band, cats.length, plotX0, plotW0, bandFor, planRow));
510
523
  let catInfos = catPlan.infos, catFont = catPlan.font, catTickMaxLines = catPlan.maxLines, showCatTickRow = kindShown("category") && cats.length > 0;
511
524
  showCatTickRow && pushAll(warnings, catPlan.warnings);
512
525
  let catBandH = showCatTickRow && !(() => {
@@ -641,7 +654,7 @@ function layoutVariance(data, options = {}) {
641
654
  let words = toDateIds.has(c.id) ? toDateLabel(text, strongFont, toDate, theme, measure) : void 0, tsize = words?.size ?? measure(text, strongFont);
642
655
  tone !== "neutral" && pinInk.set(`point:${c.id}`, seriesTextPaint(paint)), labelRequests.push({
643
656
  id: `point:${c.id}`,
644
- claimId: `var:${mode === "relative" ? "pct" : "abs"}:${c.id}`,
657
+ claimIds: [`var:${mode === "relative" ? "pct" : "abs"}:${c.id}`],
645
658
  claimText: mode === "relative" ? pctSigned(d2, ci) : absolute(d2, ci, !0),
646
659
  kind: "point",
647
660
  owner,
@@ -651,6 +664,8 @@ function layoutVariance(data, options = {}) {
651
664
  ...words?.request,
652
665
  font: strongFont,
653
666
  priority: (mv.priority ?? PRIORITY.endpoint + Math.min(99, Math.abs(d2))) + (hl ? PRIORITY.highlightBonus : 0),
667
+ // A highlighted value passes the minimal density gate, also under an authored low priority.
668
+ ...hl ? { keepWhenDense: !0 } : {},
654
669
  candidates: relativePointCandidates(cx, yv, y0, tsize, d2 < 0, pin.r, isVarianceTier(options), !isVarianceTier(options) || isSingleVarianceTier(options))
655
670
  });
656
671
  return;
@@ -680,9 +695,9 @@ function layoutVariance(data, options = {}) {
680
695
  let text = absolute(d2, ci, !0);
681
696
  if (typeof mv.labelOverride == "string" && (text = mv.labelOverride.replace(/\$\{value\}/g, text)), mv.labelOverride === !1) return;
682
697
  let words = toDateIds.has(c.id) ? toDateLabel(text, labelFont, toDate, theme, measure) : void 0, tsize = words?.size ?? measure(text, labelFont);
683
- labelRequests.push({
698
+ labelRequests.push(positionBarLabel({
684
699
  id: `point:${c.id}`,
685
- claimId: `var:abs:${c.id}`,
700
+ claimIds: [`var:abs:${c.id}`],
686
701
  claimText: absolute(d2, ci, !0),
687
702
  kind: "point",
688
703
  owner,
@@ -693,9 +708,21 @@ function layoutVariance(data, options = {}) {
693
708
  font: labelFont,
694
709
  // EVERY bar labeled: endpoint band keeps them through density=minimal
695
710
  priority: (mv.priority ?? PRIORITY.endpoint + Math.min(99, Math.abs(d2))) + (hl ? PRIORITY.highlightBonus : 0),
711
+ ...hl ? { keepWhenDense: !0 } : {},
696
712
  // The muted words never sit inside the fill.
697
713
  candidates: deltaBarCandidates(rect, tsize, d2 < 0, toneCss(tone, mv.fill)).filter((candidate) => !words || !candidate.insideFill).map((candidate) => ({ ...candidate, ...pattern && candidate.insideFill ? { insidePattern: pattern, insideFill: effectiveFill(toneCss(tone, mv.fill), pattern, theme) } : {}, insidePaint: mv.fill ? { css: mv.fill } : tone === "neutral" ? { token: "neutralMark" } : tonePaint(tone, void 0, !0) }))
698
- });
714
+ }, options, {
715
+ rect,
716
+ size: tsize,
717
+ orientation: "vertical",
718
+ endPositive: d2 >= 0,
719
+ zero: d2 === 0,
720
+ edgeGap: 2,
721
+ muted: words !== void 0,
722
+ insidePaint: tonePaint(tone, mv.fill, !0),
723
+ insidePattern: pattern,
724
+ insideFill: effectiveFill(toneCss(tone, mv.fill), pattern, theme)
725
+ }));
699
726
  return;
700
727
  }
701
728
  let ac = acArr[ci];
@@ -741,7 +768,7 @@ function layoutVariance(data, options = {}) {
741
768
  marks.bars.push(bar);
742
769
  let visHiY = y(visHiVal), visLoY = y(visLoVal);
743
770
  if (anchorTopY[ci] = ac >= 0 ? visHiY : visLoY, markSpanY[ci] = { top: Math.min(visHiY, visLoY, y0), bottom: Math.max(visHiY, visLoY, y0) }, visBottomY[ci] = Math.max(y0, visLoY), kindShown("total")) {
744
- let text = absolute(ac, ci), tsize = measure(text, strongFont), above = ac >= 0, acEdgeY = above ? acTop : acBot, insideCap = capRect !== null && ref !== null && !capIsShortfall(ci) && (above ? ref < ac : ref > ac), insidePaint = insideCap ? capTone === "neutral" ? mutedMarkPaint() : tonePaint(capTone, void 0, !0) : actualPaint(mv.fill), insideHeight = insideCap ? Math.min(barRect.h, capRect.h) : Math.abs(y0 - acEdgeY), candidates = [], footEdgeVal = ref === null || d === null || d === 0 ? ac : above ? Math.max(0, Math.min(ac, ref)) : Math.min(0, Math.max(ac, ref)), foot = Math.abs(y0 - y(footEdgeVal)) >= tsize.height + 8;
771
+ let text = absolute(ac, ci), tsize = measure(text, strongFont), above = ac >= 0, acEdgeY = above ? acTop : acBot, insideCap = capRect !== null && ref !== null && !capIsShortfall(ci) && (above ? ref < ac : ref > ac), insidePaint = insideCap ? capTone === "neutral" ? mutedMarkPaint() : tonePaint(capTone, void 0, !0) : actualPaint(mv.fill), insideHeight = insideCap ? Math.min(barRect.h, capRect.h) : Math.abs(y0 - acEdgeY), candidates = [], footEdgeVal = ref === null || d === null || d === 0 ? ac : above ? Math.max(0, Math.min(ac, ref)) : Math.min(0, Math.max(ac, ref)), footH = Math.abs(y0 - y(footEdgeVal)), foot = footH >= tsize.height + 8;
745
772
  if (foot) {
746
773
  let footPaint = actualPaint(mv.fill);
747
774
  candidates.push({
@@ -775,7 +802,7 @@ function layoutVariance(data, options = {}) {
775
802
  slot: "leftOfAcEdge",
776
803
  rect: { x: bx - 4 - tsize.width, y: acEdgeY - tsize.height / 2, w: tsize.width, h: tsize.height },
777
804
  penalty: 1 + fallback
778
- }), labelRequests.push({
805
+ }), labelRequests.push(positionBarLabel({
779
806
  id: `total:${c.id}`,
780
807
  kind: "total",
781
808
  owner,
@@ -784,13 +811,35 @@ function layoutVariance(data, options = {}) {
784
811
  font: strongFont,
785
812
  priority: PRIORITY.total + (hl ? PRIORITY.highlightBonus : 0),
786
813
  candidates: candidates.filter((candidate) => candidate.rect.x >= bx && candidate.rect.x + candidate.rect.w <= bx + bw)
787
- });
814
+ }, options, {
815
+ rect: barRect,
816
+ size: tsize,
817
+ orientation: "vertical",
818
+ endPositive: above,
819
+ zero: ac === 0,
820
+ edgeGap: 4,
821
+ fallback: "inside",
822
+ paints: [
823
+ {
824
+ rect: { ...barRect, y: above ? y(footEdgeVal) : y0, h: footH },
825
+ insidePaint: actualPaint(mv.fill),
826
+ insidePattern: pattern,
827
+ insideFill: effectiveFill(paintColor(theme, actualPaint(mv.fill)), pattern, theme)
828
+ },
829
+ ...insideCap ? [{
830
+ rect: capRect,
831
+ insidePaint,
832
+ insidePattern: pattern,
833
+ insideFill: effectiveFill(paintColor(theme, insidePaint), pattern, theme)
834
+ }] : []
835
+ ]
836
+ }));
788
837
  }
789
838
  if (capRect && d !== null && kindShown("point")) {
790
839
  let text = absolute(d, ci, !0), words = toDateIds.has(c.id) ? toDateLabel(text, labelFont, toDate, theme, measure) : void 0, tsize = words?.size ?? measure(text, labelFont), above = ac >= 0, outerY = above ? capRect.y : capRect.y + capRect.h;
791
840
  labelRequests.push({
792
841
  id: `point:${c.id}`,
793
- claimId: `var:abs:${c.id}`,
842
+ claimIds: [`var:abs:${c.id}`],
794
843
  claimText: absolute(d, ci, !0),
795
844
  kind: "point",
796
845
  owner,
@@ -800,6 +849,8 @@ function layoutVariance(data, options = {}) {
800
849
  ...words?.request,
801
850
  font: labelFont,
802
851
  priority: PRIORITY.interior + Math.min(99, Math.abs(d)) + (hl ? PRIORITY.highlightBonus : 0),
852
+ // A highlighted value passes the minimal density gate.
853
+ ...hl ? { keepWhenDense: !0 } : {},
803
854
  candidates: [0, 1].map((row) => ({
804
855
  slot: row === 0 ? above ? "aboveCap" : "belowCap" : above ? "aboveCapShifted" : "belowCapShifted",
805
856
  rect: {
@@ -946,14 +997,18 @@ function layoutVariance(data, options = {}) {
946
997
  });
947
998
  let modeName = mode === "absolute" ? chartString(options, "absoluteVariance") : mode === "relative" ? chartString(options, "relativeVariance") : chartString(options, "integratedVariance"), deltaText = (ci) => {
948
999
  let d = deltaOf(ci);
949
- return d === null ? "n/a" : mode === "relative" ? pctSigned(d, ci) : absolute(d, ci, !0);
1000
+ return d === null ? chartString(options, "notApplicable") : mode === "relative" ? pctSigned(d, ci) : absolute(d, ci, !0);
950
1001
  }, a11yDesc = chartString(options, "varianceDesc", { v1: tierName, v2: modeName, v3: refSeries.label, v4: cats.length }) + `${direction === "lowerIsBetter" ? chartString(options, "lowerBetterClause") : ""}. ` + cats.map((c, ci) => `${c.label ?? c.id} ${deltaText(ci)}`).join(", ") + ".", sizing = bandFloorSizing("variance", size, plot, allLabels, [...marks.bars, ...marks.pins].map((mark) => ({
951
1002
  bar: mark.rect,
952
1003
  labelIds: [`total:${mark.categoryId}`, `point:${mark.categoryId}`]
953
1004
  })), options);
954
1005
  if (toDateIds.size > 0 && (sizing.minWidth > size.width || sizing.minHeight > size.height))
955
1006
  return layoutVariance(data, { ...options, [PARTIAL_KEY]: !0 });
956
- return {
1007
+ let valued = new Set(labelRequests.flatMap((request) => request.id.startsWith("point:") ? [request.id.slice(6)] : [])), shownChange = mode === "relative" ? "pct" : "abs", otherChange = mode === "relative" ? "abs" : "pct", unprinted = cats.flatMap((c) => [
1008
+ ...valued.has(c.id) ? [] : [`var:${shownChange}:${c.id}`],
1009
+ ...mode === "relative" && nmCats.has(c.id) ? [] : [`var:${otherChange}:${c.id}`]
1010
+ ]);
1011
+ return withUnprintedClaims({
957
1012
  type: "variance",
958
1013
  size,
959
1014
  sizing,
@@ -990,7 +1045,7 @@ function layoutVariance(data, options = {}) {
990
1045
  occupied: occupied.snapshot(),
991
1046
  decisions: [...solved.decisions, ...annResult.decisions]
992
1047
  }
993
- };
1048
+ }, unprinted);
994
1049
  function deltaBarCandidates(rect, tsize, negative, insideFill) {
995
1050
  let cx = rect.x + rect.w / 2, yTop = rect.y, yBot = rect.y + rect.h, w = tsize.width, h = tsize.height;
996
1051
  return negative ? [
@@ -1028,7 +1083,7 @@ function solveVarianceLabels(requests, occupied, ctx, lift) {
1028
1083
  stranded,
1029
1084
  placed: solved.placed.map((label) => seated.get(label.id) ?? label),
1030
1085
  decisions: solved.decisions.map((decision) => seated.has(decision.labelId) ? decided.get(decision.labelId) ?? decision : decision),
1031
- warnings: solved.warnings.filter((warning) => warning.code !== "label-hidden" || ![...seated.keys()].some((id) => warning.message.startsWith(`label '${id}' `)))
1086
+ warnings: solved.warnings.filter((warning) => warning.code !== "label-hidden" || !seated.has(String(warning.detail?.labelId)))
1032
1087
  };
1033
1088
  }
1034
1089
 
@@ -1044,7 +1099,7 @@ var varianceCore = {
1044
1099
  categoryLabels: calendarCategories,
1045
1100
  prepare: prepareFractionData,
1046
1101
  defaults: {},
1047
- annotationKinds: ["cagr", "diff", "delta", "abs", "note", "callout", "valueLine"]
1102
+ annotationKinds: ["cagr", "diff", "delta", "abs", "note", "callout", "valueLine", "text", "line", "arrow", "box"]
1048
1103
  };
1049
1104
 
1050
1105
  export {
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-ACXX2JNL.js";
19
19
  import {
20
20
  registerGeoPack
21
- } from "./chunk-JSA3ESEJ.js";
21
+ } from "./chunk-CR5FP5SF.js";
22
22
 
23
23
  // src/core/geo/packs/index.ts
24
24
  var DACH_PACK2 = DACH_PACK, DE_STATES_PACK2 = DE_STATES_PACK, EU27_PACK2 = EU27_PACK, EUROPE_PACK2 = EUROPE_PACK, US_STATES_PACK2 = US_STATES_PACK, WORLD_PACK2 = WORLD_PACK;
@@ -4,19 +4,19 @@ import {
4
4
  } from "./chunk-7BQK2UDV.js";
5
5
  import {
6
6
  optionKeyCheck
7
- } from "./chunk-FF7MV4D4.js";
7
+ } from "./chunk-Z6H5ED2I.js";
8
8
  import {
9
9
  createChartComponent
10
- } from "./chunk-BDCKHLUB.js";
10
+ } from "./chunk-YLRAAJYV.js";
11
11
  import {
12
12
  bartableCore
13
- } from "./chunk-GKQLKUMF.js";
13
+ } from "./chunk-WNTUBGBB.js";
14
14
  import {
15
15
  registeredType
16
- } from "./chunk-D5G67OER.js";
16
+ } from "./chunk-LYAT62UT.js";
17
17
 
18
18
  // src/react/charts/bartable.ts
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: { point: 0 }, labelPlacements: 0, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, rounding: 0, interactive: 0, total: 0, totalPosition: 0, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } }, columnOrder: 0, columnHeads: 0, combinedShare: { rows: 0, label: 0 }, segmentValues: 0, variant: 0, cascade: { totalApart: 0, share: 0, growth: { measure: 0, years: 0, label: 0 } }, sharedScale: 0, heightFill: 0 }, labels: ["point"] }), BarTableChart = createChartComponent(registeredType(bartableCore), checkOptionKeys);
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: { point: 0 }, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, rounding: 0, interactive: 0, total: 0, totalPosition: 0, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } }, columnOrder: 0, columnHeads: 0, combinedShare: { rows: 0, label: 0 }, segmentValues: 0, variant: 0, cascade: { totalApart: 0, share: 0, growth: { measure: 0, years: 0, label: 0 } }, sharedScale: 0, heightFill: 0 }, labels: ["point"] }), BarTableChart = createChartComponent(registeredType(bartableCore), checkOptionKeys);
20
20
 
21
21
  export {
22
22
  BarTableChart
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  baseOptionsSchema,
3
3
  refusedBaseOptions
4
- } from "./chunk-QYOZ46ZQ.js";
4
+ } from "./chunk-ZIVCPXXL.js";
5
5
 
6
6
  // src/core/charts/histogram/schema.ts
7
7
  import * as z from "zod";
@@ -3,7 +3,10 @@ import {
3
3
  classFloor,
4
4
  memoLayout,
5
5
  prepareTableExecutor
6
- } from "./chunk-XN7JDII2.js";
6
+ } from "./chunk-MB5EX2YG.js";
7
+ import {
8
+ hostedLayout
9
+ } from "./chunk-NZ7FX3AE.js";
7
10
  import {
8
11
  FOLDED,
9
12
  PARTIAL_NOTE_OFF,
@@ -14,15 +17,21 @@ import {
14
17
  dimswitchRowId,
15
18
  hostPeriods,
16
19
  partialNoteWarning
17
- } from "./chunk-72OJBDRB.js";
20
+ } from "./chunk-AAQWFTDM.js";
21
+ import {
22
+ withUnprintedCells
23
+ } from "./chunk-O3LT4TAI.js";
18
24
  import {
19
25
  prepareTableData,
20
26
  resolvePreparedTable,
21
27
  resolveTable
22
- } from "./chunk-EY4OA4OF.js";
28
+ } from "./chunk-SHYS52VO.js";
29
+ import {
30
+ checkedTightAdvice
31
+ } from "./chunk-VJULLJLN.js";
23
32
  import {
24
33
  ENGINE_NOTES
25
- } from "./chunk-HVX2E26J.js";
34
+ } from "./chunk-F3XOBFS4.js";
26
35
  import {
27
36
  CARD_MIN_WIDTH,
28
37
  PLAN_ONLY,
@@ -33,21 +42,21 @@ import {
33
42
  isWidthProbe,
34
43
  layoutKey,
35
44
  ownPlanInput
36
- } from "./chunk-AFGQXMKT.js";
45
+ } from "./chunk-GNMB72V7.js";
37
46
  import {
38
47
  engineNote,
39
48
  engineNoteMeta
40
- } from "./chunk-WZB6R2ZX.js";
49
+ } from "./chunk-DZYTXZNS.js";
41
50
  import {
42
51
  TARGET_SIZE
43
- } from "./chunk-FX5VZK5F.js";
52
+ } from "./chunk-RJICOOB3.js";
44
53
  import {
45
54
  minOf
46
55
  } from "./chunk-WYJEOMNY.js";
47
56
 
48
57
  // src/core/charts/dimswitch/core.ts
49
58
  function resolveDimSwitch(data, options = {}, form = {}) {
50
- let compiled = compileDimSwitch(data, options, form), resolved = resolveTable(compiled.data, compiled.options), rows = new Map(resolved.table.rows.map((row) => [row.id, row])), records = compiled.computedCells.map((record) => ({ ...record, displayed: record.kind === "calc" ? rows.get(record.rowId)?.cells[record.colId]?.displayed ?? "" : record.displayed }));
59
+ let compiled = compileDimSwitch(data, options, form), resolved = hostedLayout(options, compiled.options, () => resolveTable(compiled.data, compiled.options)), rows = new Map(resolved.table.rows.map((row) => [row.id, row])), records = compiled.computedCells.map((record) => ({ ...record, displayed: record.kind === "calc" ? rows.get(record.rowId)?.cells[record.colId]?.displayed ?? "" : record.displayed }));
51
60
  return { ...compiled, ...resolved, compileWarnings: compiled.warnings, computedCells: [...resolved.computedCells, ...records] };
52
61
  }
53
62
  var PER_PROBE = [TARGET_SIZE, WIDTH_PROBE, REGULAR_SPACING, PLAN_ONLY], keptForms = /* @__PURE__ */ new WeakMap();
@@ -65,12 +74,12 @@ function prepareForm(data, options, form) {
65
74
  for (let symbol of PER_PROBE) delete copy[symbol];
66
75
  return copy;
67
76
  }, compute = () => {
68
- let compiled = compileDimSwitch(data, options, form), resolved = resolvePreparedTable(prepareTableData(compiled.data, compiled.options), compiled.options), noteMetadata = /* @__PURE__ */ new Map();
77
+ let compiled = compileDimSwitch(data, options, form), resolved = hostedLayout(options, compiled.options, () => resolvePreparedTable(prepareTableData(compiled.data, compiled.options), compiled.options)), noteMetadata = /* @__PURE__ */ new Map();
69
78
  for (let text of compiled.options[ENGINE_NOTES] ?? []) {
70
79
  let meta = engineNoteMeta(text);
71
80
  meta && noteMetadata.set(text, { ...meta });
72
81
  }
73
- return ownPlanInput(compiled.data), { compiled: { ...compiled, options: without(compiled.options) }, resolved, executor: prepareTableExecutor(compiled.data, compiled.options, resolved), noteMetadata };
82
+ return ownPlanInput(compiled.data), { compiled: { ...compiled, options: without(compiled.options) }, resolved, executor: hostedLayout(options, compiled.options, () => prepareTableExecutor(compiled.data, compiled.options, resolved)), noteMetadata };
74
83
  };
75
84
  if (typeof options.theme == "string") return withProbe(compute());
76
85
  let { size: _size, inlineVisibility: _inlineVisibility, ...rest } = without(options), key = `${layoutKey(data, rest)}:${form.card === !0}:${form.hide ?? 0}`, byKey = keptForms.get(data);
@@ -81,7 +90,7 @@ function prepareForm(data, options, form) {
81
90
  function layoutForm(data, options, form, forms) {
82
91
  let key = `${form.card === !0}:${form.hide ?? 0}`, prepared = forms.get(key);
83
92
  prepared || (prepared = prepareForm(data, options, form), forms.set(key, prepared));
84
- let compiled = { ...prepared.compiled, options: { ...prepared.compiled.options, size: options.size } }, resolved = prepared.resolved, geometry = prepared.executor.run({ ...options, ...compiled.options, [PLAN_ONLY]: !0, [REGULAR_SPACING]: options[REGULAR_SPACING] }, !0, resolved);
93
+ let compiled = { ...prepared.compiled, options: { ...prepared.compiled.options, size: options.size } }, resolved = prepared.resolved, runOptions = { ...options, ...compiled.options, [PLAN_ONLY]: !0, [REGULAR_SPACING]: options[REGULAR_SPACING] }, geometry = hostedLayout(options, runOptions, () => prepared.executor.run(runOptions, !0, resolved));
85
94
  options[TARGET_SIZE]?.fixed.height === !1 && typeof compiled.options.size == "object" && compiled.options.size.height !== void 0 && compiled.options.size.height !== geometry.size.height && (compiled.options = { ...compiled.options, size: geometry.size });
86
95
  let originalRows = new Map(resolved.table.rows.map((row) => [row.id, row])), drawnRows = new Map(geometry.derived.table.rows.map((row) => [row.id, row])), { [VERIFY_ADVICE]: _verify, ...kept } = compiled.options, records = compiled.computedCells.map((record) => ({ ...record, displayed: record.kind === "calc" ? originalRows.get(record.rowId)?.cells[record.colId]?.displayed ?? "" : record.displayed })), partialNote = compiled.partialNote, offFrame = partialNote !== void 0 && options[TARGET_SIZE]?.fixed?.height === !0 && !heightOmitted(options.size) && !compiled.warnings.some((warning) => warning.code === PARTIAL_NOTE_OFF_FRAME) && geometry.frame?.noteList?.some((note) => note.text === partialNote && !note.inFrame) === !0;
87
96
  return { ...geometry, type: "dimswitch", warnings: [...dimSwitchTableWarnings(geometry.warnings, options.columnOverrides), ...compiled.warnings, ...offFrame ? [partialNoteWarning(partialNote)] : [], ...options.format ? [{ code: "format-unused", severity: "warn", field: ["options", "format"], message: "DimSwitch measures supply their own formats. Set measures[].format." }] : []], derived: { ...geometry.derived, compiled: { data: compiled.data, options: kept }, omissions: compiled.omissions, computedCells: [...resolved.computedCells, ...records].map((record) => ({ ...record, displayed: record.kind === "calc" ? drawnRows.get(record.rowId)?.cells[record.colId]?.displayed ?? record.displayed : record.displayed })) } };
@@ -116,21 +125,17 @@ function layoutDimSwitch(data, options, forms) {
116
125
  let track = minOf(geometry.marks.columns.filter((column) => !blocks.has(column.id)).map((column) => column.w));
117
126
  if (Number.isFinite(track) && geometry.size.width - (geometry.sizing?.minWidth ?? 0) < track) break;
118
127
  }
119
- return checkedTightAdvice(best.geometry, best.shown < periods && periods <= PROBE_PERIODS ? (size) => next?.warnings.some((warning) => warning.code === "table-tight-spacing") ? next : layoutForm(data, {
128
+ return checkedCardAdvice(best.geometry, best.shown < periods && periods <= PROBE_PERIODS ? (size) => next?.warnings.some((warning) => warning.code === "table-tight-spacing") ? next : layoutForm(data, {
120
129
  ...options,
121
130
  size,
122
131
  [TARGET_SIZE]: { sizePx: { width: size.width, height: size.height ?? Math.round(size.width * 9 / 16) }, fixed: { width: !0, height: size.height !== void 0 } }
123
132
  }, { card: !0, hide: periods - best.shown - 1 }, forms) : void 0);
124
133
  }
125
- function checkedTightAdvice(geometry, nextCard) {
126
- let at = geometry.warnings.findIndex((warning2) => warning2.code === "table-tight-spacing"), advice = geometry.warnings[at]?.fix?.[0];
127
- if (at < 0 || advice?.op !== "replace" || !nextCard) return geometry;
128
- let size = advice.value, next = nextCard(size);
129
- if (size.width < (next.sizing?.minWidth ?? 1 / 0)) return geometry;
130
- let again = next.warnings.find((warning2) => warning2.code === "table-tight-spacing")?.fix?.[0];
131
- if (again?.op !== "replace") return geometry;
132
- let need = (value) => value.height === void 0 ? `${value.width} px of width` : `${value.width} \xD7 ${value.height} px`, warning = geometry.warnings[at], swap = (text) => text.replace(need(size), need(again.value));
133
- return geometry.warnings[at] = { ...warning, message: swap(warning.message), ...warning.suggest === void 0 ? {} : { suggest: swap(warning.suggest) }, fix: [again] }, geometry;
134
+ function checkedCardAdvice(geometry, nextCard) {
135
+ return checkedTightAdvice(geometry, nextCard && ((size) => {
136
+ let next = nextCard(size);
137
+ return size.width < (next.sizing?.minWidth ?? 1 / 0) ? void 0 : next;
138
+ }));
134
139
  }
135
140
  var fixedFits = (geometry) => geometry.size.width >= (geometry.sizing?.minWidth ?? 0), PROBE_PERIODS = 16;
136
141
  function mostShown(card, periods, missed, fitted) {
@@ -202,7 +207,7 @@ var dimswitchCore = {
202
207
  sizing: { ...chartSizing("table"), minWidth: CARD_MIN_WIDTH },
203
208
  defaults: { variant: "by-measure", depth: 1, splits: !1 },
204
209
  annotationKinds: [],
205
- layout: layoutDimSwitchCard
210
+ layout: (data, options) => withUnprintedCells(layoutDimSwitchCard(data, options))
206
211
  };
207
212
 
208
213
  export {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  layoutCombo
3
- } from "./chunk-KJLH5EHD.js";
3
+ } from "./chunk-BVIJCUWW.js";
4
4
  import {
5
5
  withEventsDescribed
6
6
  } from "./chunk-OQQMDSCC.js";
7
7
  import {
8
8
  calendarCategories,
9
9
  chartSizing
10
- } from "./chunk-AFGQXMKT.js";
10
+ } from "./chunk-GNMB72V7.js";
11
11
  import {
12
12
  prepareFractionData
13
- } from "./chunk-I65OLJ2X.js";
13
+ } from "./chunk-42QKUSHJ.js";
14
14
 
15
15
  // src/core/charts/combo/core.ts
16
16
  var comboCore = {
@@ -22,7 +22,7 @@ var comboCore = {
22
22
  categoryLabels: (categories, language) => calendarCategories(categories, language, !0),
23
23
  prepare: prepareFractionData,
24
24
  defaults: {},
25
- annotationKinds: ["cagr", "diff", "delta", "note", "callout", "valueLine", "abs", "event", "band"]
25
+ annotationKinds: ["cagr", "diff", "delta", "note", "callout", "valueLine", "abs", "event", "band", "text", "line", "arrow", "box"]
26
26
  };
27
27
 
28
28
  export {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  columnOverridesOption
3
- } from "./chunk-RRPTQGRU.js";
3
+ } from "./chunk-H3VICNTN.js";
4
4
  import {
5
5
  SANKEY_OTHER_SHARE
6
- } from "./chunk-2BHLRHF2.js";
6
+ } from "./chunk-5SVGTQTW.js";
7
7
  import {
8
8
  addDuplicateIdIssues,
9
9
  baseOptionsSchema,
10
10
  colorRoleField,
11
11
  idSchema,
12
12
  refusedBaseOptions
13
- } from "./chunk-QYOZ46ZQ.js";
13
+ } from "./chunk-ZIVCPXXL.js";
14
14
 
15
15
  // src/core/charts/sankey/schema.ts
16
16
  import * as z from "zod";
@@ -36,7 +36,7 @@ var linkSchema = z.strictObject({
36
36
  data.nodes && addDuplicateIdIssues(ctx, data.nodes, ["nodes"], { name: "node", keys: "node labels and colours" }), data.stages && addDuplicateIdIssues(ctx, data.stages, ["stages"], { name: "stage", keys: "columns and headers" });
37
37
  }), sankeyOptionsSchema = baseOptionsSchema.safeExtend(refusedBaseOptions("sankey")).safeExtend({
38
38
  linkColor: z.enum(["source", "target"]).optional().describe(
39
- "Which end's node colour a ribbon takes. Unset: every node and ribbon draws neutral, and a node with fill, colorRole or a highlight colours the ribbons it touches. 'source' shows where flows come from and 'target' where they go, each with one palette step per node; with a highlight, only the highlighted nodes keep a colour. Nodes that colour no link draw in the neutral mark colour."
39
+ "Which end's node colour a ribbon takes. Unset: every node and ribbon draws neutral, and a node with fill, colorRole or a highlight colours the ribbons it touches. 'source' shows where flows come from and 'target' where they go, each with one palette step per node; with a highlight, only the highlighted nodes keep a colour. Nodes that colour no link draw in the neutral mark colour. Ribbons are translucent so crossings and node bars show through: on a light page the alpha rises from surface.ribbonAlpha (default 0.35) until a ribbon reaches the 1.4:1 mark floor; on a dark page it stays at surface.ribbonAlpha, under 3:1 against the page, and the node bars and values carry the flow."
40
40
  ),
41
41
  order: z.enum(["flow", "data"]).optional().describe(
42
42
  "'flow' orders the nodes of each column for the fewest weighted ribbon crossings. 'data' keeps the order of data.nodes, then first seen in links. Default 'flow', and 'data' when stage-qualified ids repeat across stages, so segments keep one order every month."