boardplot 0.56.0 → 0.57.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 (468) hide show
  1. package/CHANGELOG.md +110 -0
  2. package/README.md +3 -3
  3. package/dist/{ReaderBox-GLCKYXBU.js → ReaderBox-GCIITQCX.js} +4 -4
  4. package/dist/{annotateEngine-QVNAE3EH.js → annotateEngine-JMZI6QEG.js} +1 -1
  5. package/dist/build-identity.json +3 -3
  6. package/dist/{chunk-CKGSGRP7.js → chunk-26WNBTWB.js} +20 -4
  7. package/dist/{chunk-UBCVBBJJ.js → chunk-2AJWRVZ2.js} +4 -3
  8. package/dist/{chunk-XMP2DNLI.js → chunk-2BHLRHF2.js} +2 -2
  9. package/dist/{chunk-2NRHD2G7.js → chunk-2HD5RY2U.js} +11 -3
  10. package/dist/{chunk-6QDMRPXI.js → chunk-2I76VFMZ.js} +184 -239
  11. package/dist/{chunk-XC5IRUEL.js → chunk-2KCK63DD.js} +2 -2
  12. package/dist/{chunk-ZEYBI47P.js → chunk-2WTD3GCR.js} +11 -3
  13. package/dist/{chunk-BTDGWHGJ.js → chunk-2X6XY4K4.js} +4 -4
  14. package/dist/{chunk-5S3JQ5AT.js → chunk-3DUGZ7ML.js} +149 -118
  15. package/dist/{chunk-JTFKRDDA.js → chunk-3LNVEE5Z.js} +1 -1
  16. package/dist/{chunk-JCAGVAB3.js → chunk-43PCSBVQ.js} +563 -10
  17. package/dist/{chunk-F2EVCJ4U.js → chunk-4JNHF6JW.js} +10 -10
  18. package/dist/{chunk-ECBUFKCP.js → chunk-4RN4OM6I.js} +3 -3
  19. package/dist/{chunk-A2GAWGVJ.js → chunk-4U2WSW6F.js} +20 -20
  20. package/dist/{chunk-CCDXK5NA.js → chunk-53OEKS4L.js} +5 -3
  21. package/dist/{chunk-YPYD6OJ3.js → chunk-54HEIM2A.js} +2 -2
  22. package/dist/{chunk-IGJ2G5C6.js → chunk-5H4HFRDO.js} +6 -6
  23. package/dist/{chunk-EMFUZKYK.js → chunk-5HTGSB6Y.js} +3 -3
  24. package/dist/{chunk-WXJ5MHLH.js → chunk-5JTRCSBN.js} +1 -1
  25. package/dist/{chunk-67QSW5RW.js → chunk-5P4MXWKP.js} +3 -3
  26. package/dist/{chunk-EBB4PYBN.js → chunk-5RHP7YTL.js} +5 -5
  27. package/dist/{chunk-VVXKFU72.js → chunk-5TUDYKNL.js} +35 -27
  28. package/dist/{chunk-HZUAEMN5.js → chunk-5WSIH4SR.js} +1 -1
  29. package/dist/{chunk-KF7HD3EH.js → chunk-62JZL6FW.js} +43 -35
  30. package/dist/{chunk-S7NRL66K.js → chunk-6EE6XEMA.js} +4 -4
  31. package/dist/chunk-6JXBLQJ2.js +32 -0
  32. package/dist/{chunk-KBJMLXNW.js → chunk-6KHRMK3I.js} +14 -14
  33. package/dist/{chunk-2DOEZ5QY.js → chunk-6LQKU6YN.js} +4 -4
  34. package/dist/chunk-6VU2XI3W.js +89 -0
  35. package/dist/{chunk-DQ7YMQVX.js → chunk-6WJOHZPW.js} +5 -5
  36. package/dist/{chunk-ZMPH2OC4.js → chunk-6XU5XGYV.js} +7 -8
  37. package/dist/{chunk-MAFPVR4G.js → chunk-6ZN2XJFI.js} +10 -5
  38. package/dist/{chunk-PQLAZEQV.js → chunk-72OJBDRB.js} +204 -59
  39. package/dist/{chunk-T2YDWT54.js → chunk-73O6AOAA.js} +43 -30
  40. package/dist/{chunk-4JHMCXOB.js → chunk-76UL4CT4.js} +60 -24
  41. package/dist/chunk-7BQK2UDV.js +13 -0
  42. package/dist/{chunk-7PPMT5EJ.js → chunk-7EQU2TUN.js} +300 -64
  43. package/dist/{chunk-2HTYGMMG.js → chunk-7FAO4ICF.js} +2 -2
  44. package/dist/{chunk-6WHWXCHJ.js → chunk-7MYJUJZV.js} +6 -2
  45. package/dist/{chunk-CB4CERXZ.js → chunk-7P7D6WXR.js} +11 -2
  46. package/dist/{chunk-RT66UTLJ.js → chunk-A33MFWHW.js} +2 -2
  47. package/dist/{chunk-4JC3SE4G.js → chunk-A6XCVOC5.js} +1 -1
  48. package/dist/{chunk-QWCLWFKC.js → chunk-AFA32LHN.js} +132 -36
  49. package/dist/{chunk-T2CYNDYU.js → chunk-AFGQXMKT.js} +235 -80
  50. package/dist/{chunk-HOU2MZHC.js → chunk-AKJO6N4K.js} +2 -2
  51. package/dist/{chunk-MRAP2UVV.js → chunk-ANNQJWDX.js} +10 -10
  52. package/dist/{chunk-LGNJCPFP.js → chunk-AOIZJ7GR.js} +7 -7
  53. package/dist/chunk-B5A7X2BA.js +44 -0
  54. package/dist/{chunk-SS4YGK3E.js → chunk-BDCKHLUB.js} +15 -15
  55. package/dist/{chunk-XHRUXZD7.js → chunk-BFDPY7JM.js} +10 -3
  56. package/dist/{chunk-BK6P6KMW.js → chunk-BM2A3IGQ.js} +1 -1
  57. package/dist/{chunk-GQT2SY2S.js → chunk-BO5EJBLH.js} +247 -127
  58. package/dist/chunk-BQIADGJB.js +23 -0
  59. package/dist/{chunk-PJBEJR2U.js → chunk-BY5JGQFZ.js} +24 -7
  60. package/dist/{chunk-SXD3OYAR.js → chunk-C5SQEYTQ.js} +76 -55
  61. package/dist/{chunk-3465633G.js → chunk-CEMXGMQN.js} +2 -2
  62. package/dist/{chunk-AMR4SUAN.js → chunk-CIDOL4FO.js} +5 -5
  63. package/dist/{chunk-E7V3OHQQ.js → chunk-CT4RFZO4.js} +6 -6
  64. package/dist/{chunk-7Q37C6GZ.js → chunk-CV3NC75L.js} +1 -1
  65. package/dist/{chunk-FFJGC2DX.js → chunk-D3PQAVFW.js} +22 -12
  66. package/dist/{chunk-52WNCUIN.js → chunk-D5G67OER.js} +1 -1
  67. package/dist/{chunk-MOS6WFWM.js → chunk-D5RAVZ5C.js} +6 -7
  68. package/dist/{chunk-FNRPQIQE.js → chunk-DJBMA4FW.js} +4 -4
  69. package/dist/{chunk-4DZFR52I.js → chunk-DPUCT567.js} +2 -2
  70. package/dist/{chunk-TE4M52AA.js → chunk-DYSEZVIJ.js} +18 -2
  71. package/dist/{chunk-SA46CNMS.js → chunk-ED7GLWTF.js} +4 -1
  72. package/dist/{chunk-R5MEBBAA.js → chunk-EDBUVDRI.js} +117 -67
  73. package/dist/{chunk-TUW5IYGA.js → chunk-EEBMK6T6.js} +6 -6
  74. package/dist/{chunk-RLMC5CUP.js → chunk-EEL2N4Y6.js} +7 -8
  75. package/dist/{chunk-CF4NMRN7.js → chunk-EFKFZNQC.js} +24 -18
  76. package/dist/{chunk-UPTXFTKH.js → chunk-EHNGPUTO.js} +6 -6
  77. package/dist/{chunk-BISJK67O.js → chunk-EHQLLZCQ.js} +48 -21
  78. package/dist/{chunk-U3A6FMSI.js → chunk-EWR6WVOV.js} +6 -6
  79. package/dist/{chunk-RMC4OONA.js → chunk-EY4OA4OF.js} +985 -663
  80. package/dist/{chunk-YYJORENB.js → chunk-F4JAGDPD.js} +5 -5
  81. package/dist/{chunk-ZY72LSQK.js → chunk-FAFUMSPR.js} +33 -24
  82. package/dist/{chunk-CYKXROFG.js → chunk-FERP4WS3.js} +19 -9
  83. package/dist/{chunk-N5HN5QGH.js → chunk-FF7MV4D4.js} +1 -1
  84. package/dist/{chunk-O7REHICC.js → chunk-FJKFYQ5I.js} +10 -10
  85. package/dist/chunk-FL3FQ2YA.js +27 -0
  86. package/dist/{chunk-YOOHNQ3L.js → chunk-FX5VZK5F.js} +4 -0
  87. package/dist/{chunk-7M2GK7XQ.js → chunk-G5BUGYIL.js} +68 -16
  88. package/dist/{chunk-QZIHKQRH.js → chunk-G5CELEUR.js} +6 -6
  89. package/dist/{chunk-ZJFJ2IKQ.js → chunk-GADI2DU7.js} +11 -10
  90. package/dist/{chunk-F6OLHND5.js → chunk-GAFEN3H7.js} +2 -2
  91. package/dist/{chunk-GM3EGUYW.js → chunk-GHFTKVJN.js} +1 -1
  92. package/dist/chunk-GKDUIDU6.js +138 -0
  93. package/dist/{chunk-OJ5CQV7H.js → chunk-GKQLKUMF.js} +186 -82
  94. package/dist/{chunk-EGGDPDYJ.js → chunk-GS5UG6QD.js} +1 -1
  95. package/dist/{chunk-5TWY3ZIC.js → chunk-H2POQ4LB.js} +5 -5
  96. package/dist/{chunk-KD5GOR2K.js → chunk-H3EWFSWI.js} +93 -52
  97. package/dist/{chunk-CHAS5A5B.js → chunk-H6EJ63QN.js} +18 -16
  98. package/dist/{chunk-GIHH6VC2.js → chunk-HB3TH7GY.js} +3 -3
  99. package/dist/{chunk-FMDNJ6PC.js → chunk-HC6WHTBX.js} +2 -2
  100. package/dist/{chunk-63Y3ROZ7.js → chunk-HDSHS2QZ.js} +45 -30
  101. package/dist/{chunk-KTHFHD6C.js → chunk-HFFKN7PA.js} +11 -6
  102. package/dist/{chunk-QSMGZOT5.js → chunk-HGPFEG2L.js} +7 -8
  103. package/dist/{chunk-2YO4WRJN.js → chunk-HVX2E26J.js} +35 -25
  104. package/dist/{chunk-KLB2QC24.js → chunk-I3DLERI7.js} +1 -1
  105. package/dist/{chunk-SPSGUFTI.js → chunk-I4NUYVP5.js} +1 -1
  106. package/dist/{chunk-LKMFMNQX.js → chunk-I5ZADE2U.js} +1 -1
  107. package/dist/{chunk-CPGASWNN.js → chunk-I65OLJ2X.js} +1 -1
  108. package/dist/{chunk-SRAV6FPB.js → chunk-I6QGYRY4.js} +3 -3
  109. package/dist/{chunk-NCLRZQR6.js → chunk-I7KDPCC7.js} +3 -3
  110. package/dist/{chunk-6EYTD777.js → chunk-IFURKTOL.js} +2 -2
  111. package/dist/{chunk-Y54LU4CU.js → chunk-IPWUBZ4P.js} +1 -1
  112. package/dist/{chunk-BIGQKCU7.js → chunk-IRXTNSZL.js} +9 -9
  113. package/dist/{chunk-2FKEF2AC.js → chunk-IUVJVMKS.js} +11 -11
  114. package/dist/{chunk-ZKJ5L35C.js → chunk-IVQT2E3Y.js} +28 -17
  115. package/dist/{chunk-7DAH2E4T.js → chunk-IW3YUMPI.js} +2 -2
  116. package/dist/chunk-IXM6BAM4.js +53 -0
  117. package/dist/{chunk-YMTXTQCN.js → chunk-IZRTNCJQ.js} +5 -5
  118. package/dist/{chunk-QGFKSDQO.js → chunk-J22ETKDJ.js} +2 -2
  119. package/dist/{chunk-HJRNBKIT.js → chunk-JARJP576.js} +3 -3
  120. package/dist/{chunk-DD6RVD3S.js → chunk-JHWDTV4K.js} +5 -1
  121. package/dist/{chunk-P4SMC4BY.js → chunk-JIH52I36.js} +79 -79
  122. package/dist/{chunk-KQCKK3LD.js → chunk-JKXJWCJ5.js} +69 -34
  123. package/dist/{chunk-WI5VOSQX.js → chunk-JMOBA5ES.js} +2 -2
  124. package/dist/{chunk-AGDDH6XY.js → chunk-JMXNXLAC.js} +5 -1
  125. package/dist/{chunk-R2IKOLBK.js → chunk-JRRSKCGG.js} +3 -3
  126. package/dist/{chunk-IVRYF7QA.js → chunk-JSA3ESEJ.js} +1 -1
  127. package/dist/{chunk-WBETBGSC.js → chunk-K6Y4HBK7.js} +31 -31
  128. package/dist/{chunk-Z55DXFWS.js → chunk-KAAB2DIV.js} +23 -13
  129. package/dist/{chunk-UZLR25BW.js → chunk-KF3ZHLHQ.js} +7 -8
  130. package/dist/{chunk-GELSK76Y.js → chunk-KGS5Z7SL.js} +3 -3
  131. package/dist/{chunk-E2ZUBP4Q.js → chunk-KIXNHDXS.js} +7 -8
  132. package/dist/{chunk-7VMEM3LN.js → chunk-KJLH5EHD.js} +26 -26
  133. package/dist/{chunk-KLIZXSBK.js → chunk-KLQKHA3T.js} +6 -6
  134. package/dist/chunk-KQ2WZ6BY.js +11 -0
  135. package/dist/{chunk-DF3XEFQ7.js → chunk-KUMJI5B6.js} +10 -10
  136. package/dist/{chunk-SE7MJ2LQ.js → chunk-L2XRUG4P.js} +7 -8
  137. package/dist/{chunk-JYBT2JNY.js → chunk-LE3LSEUL.js} +27 -2
  138. package/dist/{chunk-75WIUG2W.js → chunk-LFX5BERN.js} +140 -60
  139. package/dist/{chunk-MJPXHCBW.js → chunk-LGMV7ZV4.js} +4 -4
  140. package/dist/{chunk-3V62N3Z7.js → chunk-LO3AGGE3.js} +7 -8
  141. package/dist/{chunk-7KSUMFBK.js → chunk-LSKCKGCF.js} +5 -1
  142. package/dist/{chunk-NHC2ADGI.js → chunk-LSR3SBJ4.js} +45 -34
  143. package/dist/{chunk-V634AXDM.js → chunk-LUZ7HXBT.js} +1 -1
  144. package/dist/{chunk-5PPQIF4D.js → chunk-LW4ZQGVL.js} +2 -2
  145. package/dist/{chunk-H3IBJQ5A.js → chunk-M2OQK2FO.js} +1 -1
  146. package/dist/{chunk-4LTN7SND.js → chunk-M74H7QYD.js} +1 -1
  147. package/dist/{chunk-TXBO2LWM.js → chunk-MOQFYJ3F.js} +6 -6
  148. package/dist/{chunk-VPL3JYC6.js → chunk-MQ5EKWIG.js} +51 -9
  149. package/dist/{chunk-X3KCQEYZ.js → chunk-MTCDGSYW.js} +9 -1
  150. package/dist/{chunk-FCECYJVA.js → chunk-NCCDEUHD.js} +1 -1
  151. package/dist/{chunk-IGVAWAOK.js → chunk-NIDH22DI.js} +31 -7
  152. package/dist/{chunk-5DTCOOLU.js → chunk-NINK4G7U.js} +2 -2
  153. package/dist/{chunk-HHXIVFAU.js → chunk-NO7GRVUU.js} +10 -8
  154. package/dist/{chunk-X23SZHV5.js → chunk-NRYERHEI.js} +6 -6
  155. package/dist/{chunk-V5JQQMFQ.js → chunk-O4D27FKH.js} +1 -1
  156. package/dist/{chunk-I7H5DU34.js → chunk-O7Y6RJ4D.js} +21 -9
  157. package/dist/{chunk-2NN676RI.js → chunk-OAT6FWKL.js} +7 -8
  158. package/dist/{chunk-JHWYG7V5.js → chunk-OF7FMGH5.js} +6 -6
  159. package/dist/{chunk-GLQ3KCTY.js → chunk-OKM5LYYP.js} +7 -8
  160. package/dist/{chunk-JCIXYOND.js → chunk-OTGNVAI4.js} +2 -2
  161. package/dist/{chunk-EIL3KHAL.js → chunk-PSYPB22T.js} +3 -3
  162. package/dist/{chunk-JXBZIJCG.js → chunk-PYGEIPPH.js} +1 -1
  163. package/dist/{chunk-KZJ5VM6E.js → chunk-PZ3TQFSY.js} +15 -1
  164. package/dist/{chunk-K3VZ5QJK.js → chunk-Q7VPTN5X.js} +4 -4
  165. package/dist/{chunk-ZVM5TFGR.js → chunk-QFIRPOXR.js} +6 -2
  166. package/dist/{chunk-YHD2FZFP.js → chunk-QHPJ5ZKS.js} +6 -6
  167. package/dist/{chunk-QLANK3VN.js → chunk-QLWUFEKR.js} +6 -6
  168. package/dist/{chunk-64LJDGJH.js → chunk-QNLESRH6.js} +3 -1
  169. package/dist/{chunk-RJGCYGC3.js → chunk-QRZESG66.js} +38 -27
  170. package/dist/{chunk-76Q7E3TM.js → chunk-QYOZ46ZQ.js} +70 -23
  171. package/dist/{chunk-E555EDOQ.js → chunk-QZMLSK43.js} +221 -62
  172. package/dist/{chunk-NGA7ICG4.js → chunk-RDJ3ZU6O.js} +16 -13
  173. package/dist/{chunk-6MJUW5R5.js → chunk-RHBQ2Q5H.js} +95 -44
  174. package/dist/{chunk-ZYQYX66L.js → chunk-RHVP62HI.js} +6 -6
  175. package/dist/{chunk-F5BYLT3M.js → chunk-RMVCKO6N.js} +13 -11
  176. package/dist/chunk-RRPTQGRU.js +47 -0
  177. package/dist/{chunk-IRXVV65V.js → chunk-S2TSXUYP.js} +6 -6
  178. package/dist/{chunk-OG2YUVBW.js → chunk-SD6ENKTO.js} +7 -2
  179. package/dist/{chunk-6AMN7IKJ.js → chunk-SHAAMKN7.js} +43 -22
  180. package/dist/{chunk-DLUNQHFO.js → chunk-SHCW2TCA.js} +9 -9
  181. package/dist/{chunk-54ROMBU7.js → chunk-SSZB3VXG.js} +17 -17
  182. package/dist/chunk-SXAZDIGM.js +84 -0
  183. package/dist/{chunk-QHRE2M6V.js → chunk-T2L5H2WW.js} +4 -3
  184. package/dist/{chunk-RPIKNMZA.js → chunk-T3WCDDIL.js} +7 -2
  185. package/dist/{chunk-JIEVDGAF.js → chunk-T5MBORBK.js} +1 -1
  186. package/dist/{chunk-32LLDRPI.js → chunk-TDDSWNGD.js} +23 -15
  187. package/dist/{chunk-7VVHTOE7.js → chunk-TGR6PRKG.js} +2 -2
  188. package/dist/{chunk-QJWLNP64.js → chunk-TKERVBJ3.js} +7 -8
  189. package/dist/{chunk-43GGVT7W.js → chunk-TMXRTYGT.js} +10 -4
  190. package/dist/{chunk-BIVL764T.js → chunk-TQ5HHNM3.js} +2 -2
  191. package/dist/{chunk-WN3HEU3P.js → chunk-TWRFVW3J.js} +4 -2
  192. package/dist/{chunk-7FKY6YWU.js → chunk-TXMS7QUJ.js} +3 -3
  193. package/dist/{chunk-O6ZTIDWB.js → chunk-UBXIGE2P.js} +3 -2
  194. package/dist/{chunk-JTC5SEAQ.js → chunk-UCIAHSJK.js} +2 -2
  195. package/dist/{chunk-BVYIKLQ5.js → chunk-UD6U4EF5.js} +1 -1
  196. package/dist/{chunk-DMAMWUYY.js → chunk-UFZXZJJG.js} +5 -5
  197. package/dist/{chunk-SNQ7D5R7.js → chunk-UIHGGWES.js} +51 -11
  198. package/dist/{chunk-27OIGDRK.js → chunk-UP4JSNDR.js} +1 -1
  199. package/dist/{chunk-JEUL777U.js → chunk-USFIDSTO.js} +7 -5
  200. package/dist/{chunk-PZ46S2SY.js → chunk-V3UE3TB7.js} +2 -2
  201. package/dist/{chunk-KDSYZLF6.js → chunk-V5IFI3FV.js} +8 -1
  202. package/dist/{chunk-BSATR6ZO.js → chunk-V62B23VC.js} +13 -1
  203. package/dist/{chunk-WWGPTEQB.js → chunk-VFLMBA2M.js} +66 -16
  204. package/dist/{chunk-5P2TTHBZ.js → chunk-VM5CQ7CG.js} +2 -2
  205. package/dist/{chunk-UREXN6WG.js → chunk-VMGTNB6H.js} +6 -6
  206. package/dist/{chunk-2NSQIPAA.js → chunk-VT7PBGL2.js} +6 -6
  207. package/dist/{chunk-CXETOLPX.js → chunk-VY2NPB2Q.js} +1 -1
  208. package/dist/{chunk-F77TMAUY.js → chunk-VY67Q6CJ.js} +18 -18
  209. package/dist/{chunk-7STMIK2X.js → chunk-W5SVS4B6.js} +2 -2
  210. package/dist/{chunk-MD6DCQMA.js → chunk-W7Q6PLT4.js} +37 -37
  211. package/dist/{chunk-JVZTKQFS.js → chunk-WDAZ2MT4.js} +8 -4
  212. package/dist/{chunk-MZACASZY.js → chunk-WE5WVQE4.js} +13 -1
  213. package/dist/chunk-WJQX7HBH.js +54 -0
  214. package/dist/{chunk-MS7O3KDJ.js → chunk-WKWCNS6K.js} +6 -6
  215. package/dist/{chunk-4KQHKPB3.js → chunk-WSKZZ2ZB.js} +11 -12
  216. package/dist/{chunk-SMHZXHHD.js → chunk-WZB6R2ZX.js} +6 -4
  217. package/dist/{chunk-37PKNVLS.js → chunk-X5OVVMZX.js} +1 -1
  218. package/dist/{chunk-MPO5TVGF.js → chunk-XFCBH3TI.js} +3 -3
  219. package/dist/{chunk-CAJ54IEP.js → chunk-XJUZC53Y.js} +1 -1
  220. package/dist/chunk-XN7JDII2.js +2047 -0
  221. package/dist/{chunk-4KMZAK6J.js → chunk-XNV7VOIT.js} +4 -4
  222. package/dist/{chunk-YK2KWNTU.js → chunk-XR7VOF2V.js} +9 -7
  223. package/dist/{chunk-WTQAG2OT.js → chunk-XYUXB5VK.js} +8 -3
  224. package/dist/{chunk-QB5HV4IY.js → chunk-Y5IKCXQR.js} +7 -8
  225. package/dist/{chunk-FNMH5WEY.js → chunk-Y5WHM2Q5.js} +1 -1
  226. package/dist/{chunk-IGNBQT23.js → chunk-Y7Q3VEYC.js} +96 -5
  227. package/dist/{chunk-L6YVK6VC.js → chunk-YB6QGOCO.js} +1 -1
  228. package/dist/{chunk-BYCJ6TKI.js → chunk-YBYV56FS.js} +3 -3
  229. package/dist/{chunk-DLDDRXAI.js → chunk-YCUNFAEE.js} +77 -37
  230. package/dist/{chunk-V7F4F6JA.js → chunk-YFI5PN5O.js} +5 -7
  231. package/dist/{chunk-ZL6IHMOW.js → chunk-YGPLUENN.js} +88 -58
  232. package/dist/chunk-YGZEG3JV.js +123 -0
  233. package/dist/{chunk-JGFHNAHS.js → chunk-YJGFT63R.js} +8 -3
  234. package/dist/{chunk-XQMYQ4TN.js → chunk-YNHPPZ7S.js} +1 -1
  235. package/dist/{chunk-EZZ533MH.js → chunk-YO5UKKCQ.js} +1 -1
  236. package/dist/{chunk-YZZLIYPA.js → chunk-YTEJYLU7.js} +5 -1
  237. package/dist/{chunk-CCJP6QZO.js → chunk-Z257SH5U.js} +1 -1
  238. package/dist/{chunk-ETMHDCEH.js → chunk-Z2BDTZDT.js} +13 -11
  239. package/dist/{chunk-MOK3ZS6P.js → chunk-ZDD3MJ2H.js} +1 -1
  240. package/dist/{chunk-6364WO5D.js → chunk-ZNX5J7D7.js} +2 -2
  241. package/dist/{chunk-UZTQUPTB.js → chunk-ZSYU6LIH.js} +4 -4
  242. package/dist/{chunk-JFFREZGT.js → chunk-ZTSJ7NY6.js} +6 -2
  243. package/dist/chunk-ZV3SNRJI.js +122 -0
  244. package/dist/cli/index.js +1 -1
  245. package/dist/{core-MU4ALRR7.js → core-4M4RY7MX.js} +4 -1
  246. package/dist/{core-XW7UJFJZ.js → core-4PW4MXWR.js} +4 -1
  247. package/dist/{core-LB5M7XL4.js → core-5S5CJHBG.js} +5 -1
  248. package/dist/{core-LGJZUP6H.js → core-7TTM4KRP.js} +6 -1
  249. package/dist/{core-GSILPKUR.js → core-7XKNJM7Y.js} +4 -1
  250. package/dist/{core-JDFUZFRH.js → core-A7HXVSKB.js} +5 -1
  251. package/dist/{core-K3JX5WPM.js → core-AMWCZTOT.js} +2 -1
  252. package/dist/{core-BLHEJ5OK.js → core-AVA4XLQ2.js} +4 -1
  253. package/dist/{core-ILPXXC2Z.js → core-BJZEJ63L.js} +5 -1
  254. package/dist/{core-3KLQSYWB.js → core-CCB3IXGD.js} +4 -1
  255. package/dist/{core-BBNY2BX4.js → core-D2OIGYC7.js} +2 -1
  256. package/dist/{core-4RR6VSXM.js → core-DMDAXVMY.js} +3 -1
  257. package/dist/{core-HDNWVLJW.js → core-EMSJRGSE.js} +4 -1
  258. package/dist/{core-A5AKUB7H.js → core-FCSA74RT.js} +2 -1
  259. package/dist/{core-WZ4CHVYL.js → core-FTQBESDS.js} +3 -1
  260. package/dist/{core-G3LXHW73.js → core-GS4DXDDG.js} +4 -1
  261. package/dist/{core-H5HO2CED.js → core-JDZDBTID.js} +2 -1
  262. package/dist/{core-VKZSQFRG.js → core-L3UR75IJ.js} +2 -1
  263. package/dist/{core-AR2T32Y3.js → core-MAW4S3KA.js} +4 -1
  264. package/dist/{core-4HFVG4CP.js → core-N2JEWJ7D.js} +3 -1
  265. package/dist/{core-BOG33BFD.js → core-OBPTBKX6.js} +4 -1
  266. package/dist/{core-HTD5RHE7.js → core-OFPPRHYY.js} +5 -1
  267. package/dist/{core-ZLSQHZ3I.js → core-QFAVWFI3.js} +4 -1
  268. package/dist/{core-TCSW24N6.js → core-QM34237W.js} +4 -1
  269. package/dist/{core-WJNK7F2J.js → core-SKMHEA4Y.js} +5 -1
  270. package/dist/{core-7S3XMW5O.js → core-T3OSZOVV.js} +2 -1
  271. package/dist/{core-7Y5BZZON.js → core-UNX4ZV4M.js} +4 -1
  272. package/dist/{core-DFZMOO7E.js → core-VRVL6LIM.js} +5 -1
  273. package/dist/{core-J2JD5ODO.js → core-VT35VDVS.js} +4 -1
  274. package/dist/{core-TKZZZ6UW.js → core-VWYXK2R3.js} +4 -1
  275. package/dist/{core-E2XOSHPR.js → core-WNT6ZMRO.js} +5 -1
  276. package/dist/{core-RR2CAZC5.js → core-WP73P4CW.js} +4 -1
  277. package/dist/{core-DD62MWEW.js → core-WPEYRK6Y.js} +2 -1
  278. package/dist/{core-YMXYUGF5.js → core-WXZJ7V7S.js} +2 -1
  279. package/dist/{core-5UF44NDI.js → core-XKXDXALI.js} +3 -1
  280. package/dist/{core-GLOZY6Z7.js → core-ZACFV6XR.js} +2 -1
  281. package/dist/{core-QPSAYRFT.js → core-ZSERZGK6.js} +5 -1
  282. package/dist/{dataTable-CNDRVGA5.js → dataTable-7IO546LM.js} +10 -2
  283. package/dist/{engine-FVEIM3WV.js → engine-US3N6UCH.js} +17 -9
  284. package/dist/fixtures.js +3 -1
  285. package/dist/fonts.js +1 -1
  286. package/dist/geo/dach.js +1 -1
  287. package/dist/geo/de-states.js +1 -1
  288. package/dist/geo/eu27.js +1 -1
  289. package/dist/geo/europe.js +1 -1
  290. package/dist/geo/index.js +2 -2
  291. package/dist/geo/us-states.js +1 -1
  292. package/dist/geo/world.js +1 -1
  293. package/dist/index.js +31 -19
  294. package/dist/{main-THU6VIVU.js → main-2UWKGUHR.js} +27 -13
  295. package/dist/mcp/server.js +23 -13
  296. package/dist/react/bar.js +6 -1
  297. package/dist/react/bartable.js +8 -1
  298. package/dist/react/box.js +6 -1
  299. package/dist/react/bullet.js +7 -1
  300. package/dist/react/butterfly.js +6 -1
  301. package/dist/react/choropleth.js +8 -1
  302. package/dist/react/cohort.js +9 -1
  303. package/dist/react/column.js +6 -1
  304. package/dist/react/combo.js +6 -1
  305. package/dist/react/creative.js +8 -1
  306. package/dist/react/diagram.js +8 -1
  307. package/dist/react/dimswitch.js +6 -1
  308. package/dist/react/dot.js +6 -1
  309. package/dist/react/export.js +25 -18
  310. package/dist/react/funnel.js +6 -1
  311. package/dist/react/gantt.js +7 -1
  312. package/dist/react/grid.js +5 -1
  313. package/dist/react/heatmap.js +7 -1
  314. package/dist/react/histogram.js +6 -1
  315. package/dist/react/index.js +93 -84
  316. package/dist/react/kpi.js +7 -1
  317. package/dist/react/likert.js +6 -1
  318. package/dist/react/line.js +6 -1
  319. package/dist/react/mekko.js +6 -1
  320. package/dist/react/pareto.js +6 -1
  321. package/dist/react/pie.js +6 -1
  322. package/dist/react/prepare.js +35 -20
  323. package/dist/react/pvm.js +7 -1
  324. package/dist/react/pyramid.js +6 -1
  325. package/dist/react/sankey.js +8 -1
  326. package/dist/react/scatter.js +6 -1
  327. package/dist/react/slope.js +7 -1
  328. package/dist/react/sparkline.js +7 -1
  329. package/dist/react/spec.js +17 -11
  330. package/dist/react/status.js +7 -1
  331. package/dist/react/story.js +4 -2
  332. package/dist/react/table.js +6 -1
  333. package/dist/react/theme.js +8 -3
  334. package/dist/react/tilemap.js +7 -1
  335. package/dist/react/treemap.js +7 -1
  336. package/dist/react/variance.js +6 -1
  337. package/dist/react/waffle.js +7 -1
  338. package/dist/react/waterfall.js +7 -1
  339. package/dist/rows.js +3 -2
  340. package/dist/{rowsModule-LI6KOS46.js → rowsModule-DYDVHBAX.js} +2 -1
  341. package/dist/{schema-ZQSIR5UC.js → schema-3KMU5737.js} +1 -1
  342. package/dist/{schema-YLE4XXQQ.js → schema-4JRNXEZF.js} +3 -1
  343. package/dist/{schema-KPEPBGAX.js → schema-626QXX4G.js} +3 -1
  344. package/dist/{schema-72EEMYS3.js → schema-6PL46VXZ.js} +3 -1
  345. package/dist/{schema-JH57NFXJ.js → schema-6V5K3J2V.js} +4 -1
  346. package/dist/{schema-H2EC4GAQ.js → schema-A2XUZUCV.js} +3 -1
  347. package/dist/{schema-QPOBZUAR.js → schema-CNJ4Y6CT.js} +3 -1
  348. package/dist/{schema-5KDEQBBT.js → schema-DHMMGDTI.js} +3 -1
  349. package/dist/{schema-BKUFZLLI.js → schema-F2Q6MH7W.js} +3 -1
  350. package/dist/{schema-PL3EU6EQ.js → schema-FC6J6KZC.js} +5 -1
  351. package/dist/{schema-AXRDF6ND.js → schema-FGE5YK3S.js} +3 -1
  352. package/dist/{schema-5DUTAVO7.js → schema-FSYDLMGD.js} +1 -1
  353. package/dist/{schema-PQZWO3BP.js → schema-G5KSSI5W.js} +1 -1
  354. package/dist/{schema-25INXAMY.js → schema-GXOG4MXL.js} +1 -1
  355. package/dist/{schema-AMT7P7KB.js → schema-HEB6ZDI5.js} +3 -1
  356. package/dist/{schema-HH5HOORE.js → schema-I44IDRGD.js} +1 -1
  357. package/dist/{schema-VYECMPON.js → schema-IFTIMTS3.js} +1 -1
  358. package/dist/{schema-QCIE6M2P.js → schema-IUY7VYHJ.js} +3 -1
  359. package/dist/{schema-M5JBHQIV.js → schema-J4HCSD5C.js} +5 -2
  360. package/dist/{schema-B2GCEYXD.js → schema-JCU6LTYD.js} +1 -1
  361. package/dist/{schema-FDFQKIO5.js → schema-JJWORI7D.js} +3 -1
  362. package/dist/{schema-GNTKL5DN.js → schema-K4V4PYBO.js} +3 -1
  363. package/dist/{schema-L5U4OROI.js → schema-LGLQBRC4.js} +3 -1
  364. package/dist/{schema-THXXFY6I.js → schema-MD22QYZU.js} +1 -1
  365. package/dist/{schema-7NSV542V.js → schema-MGETMQYC.js} +3 -1
  366. package/dist/{schema-ZG6ZKFRZ.js → schema-MQB6CE5V.js} +3 -1
  367. package/dist/{schema-OU35XA3Z.js → schema-NMIYKGHE.js} +3 -1
  368. package/dist/{schema-5ZTGVQAJ.js → schema-NOBNFD2F.js} +3 -1
  369. package/dist/{schema-MMVPMJEF.js → schema-OXO2XY4Y.js} +1 -1
  370. package/dist/{schema-LOQ3AFC7.js → schema-PHIHMDVB.js} +1 -1
  371. package/dist/{schema-ZEVJMFLV.js → schema-UXWKA3PI.js} +3 -1
  372. package/dist/{schema-GN6GAIU5.js → schema-WBOPCTPC.js} +1 -1
  373. package/dist/{schema-BBTXTWYI.js → schema-WFGDVBJK.js} +1 -1
  374. package/dist/{schema-J7TNCZIP.js → schema-WX2RS4OU.js} +3 -1
  375. package/dist/{schema-QORUB6EK.js → schema-XIHAKX3B.js} +18 -1
  376. package/dist/{schema-R5Y6NVBH.js → schema-XRSORYBI.js} +3 -1
  377. package/dist/{schema-CGQID64D.js → schema-YDZCGL56.js} +3 -1
  378. package/dist/{specValidation-VHLGDEME.js → specValidation-XGELWQUU.js} +2 -1
  379. package/dist/theme.js +5 -1
  380. package/dist/types/core/charts/bartable/types.d.ts +14 -1
  381. package/dist/types/core/charts/box/types.d.ts +3 -1
  382. package/dist/types/core/charts/choropleth/layout.d.ts +1 -5
  383. package/dist/types/core/charts/choropleth/types.d.ts +19 -0
  384. package/dist/types/core/charts/cohort/types.d.ts +16 -3
  385. package/dist/types/core/charts/creative/types.d.ts +21 -0
  386. package/dist/types/core/charts/dimswitch/compile.d.ts +15 -2
  387. package/dist/types/core/charts/dimswitch/types.d.ts +24 -1
  388. package/dist/types/core/charts/gantt/calendar.d.ts +20 -0
  389. package/dist/types/core/charts/gantt/columns.d.ts +56 -0
  390. package/dist/types/core/charts/gantt/layout.d.ts +8 -2
  391. package/dist/types/core/charts/gantt/model.d.ts +296 -0
  392. package/dist/types/core/charts/grid/metricStack.d.ts +9 -0
  393. package/dist/types/core/charts/grid/metricStackSchema.d.ts +13 -0
  394. package/dist/types/core/charts/histogram/types.d.ts +8 -0
  395. package/dist/types/core/charts/likert/layout.d.ts +10 -8
  396. package/dist/types/core/charts/pvm/types.d.ts +9 -1
  397. package/dist/types/core/charts/pyramid/types.d.ts +3 -1
  398. package/dist/types/core/charts/sankey/types.d.ts +5 -1
  399. package/dist/types/core/charts/status/layout.d.ts +3 -0
  400. package/dist/types/core/charts/table/resolve.d.ts +14 -0
  401. package/dist/types/core/footer.d.ts +2 -0
  402. package/dist/types/core/formatSpec.d.ts +10 -0
  403. package/dist/types/core/frame.d.ts +1 -1
  404. package/dist/types/core/geo/types.d.ts +2 -0
  405. package/dist/types/core/geometry.d.ts +1 -1
  406. package/dist/types/core/normalize/shared.d.ts +2 -0
  407. package/dist/types/core/registry.d.ts +4 -5
  408. package/dist/types/core/request.d.ts +6 -0
  409. package/dist/types/core/schema/capability.d.ts +20 -7
  410. package/dist/types/core/schema/generatedColumns.d.ts +168 -0
  411. package/dist/types/core/text.d.ts +16 -0
  412. package/dist/types/core/themeGeometry.d.ts +9 -0
  413. package/dist/types/core/timeAxis.d.ts +6 -1
  414. package/dist/types/core/types/diagram.d.ts +7 -0
  415. package/dist/types/core/types/options.d.ts +83 -12
  416. package/dist/types/core/types/table.d.ts +21 -3
  417. package/dist/types/index.d.ts +2 -0
  418. package/dist/types/react/barrelCharts.d.ts +16 -5
  419. package/dist/types/react/charts/butterfly.d.ts +2 -2
  420. package/dist/types/react/charts/dot.d.ts +7 -1
  421. package/dist/types/react/charts/pareto.d.ts +4 -1
  422. package/dist/types/react/charts/variance.d.ts +3 -1
  423. package/dist/types/react/hover/labelCard.d.ts +11 -2
  424. package/dist/types/react/prepare.d.ts +7 -1
  425. package/dist/types/theme.d.ts +2 -0
  426. package/dist/validate.js +15 -5
  427. package/docs/manual.md +31 -3
  428. package/docs/reference/bar.md +3 -0
  429. package/docs/reference/bartable.md +16 -1
  430. package/docs/reference/box.md +8 -1
  431. package/docs/reference/bullet.md +12 -1
  432. package/docs/reference/butterfly.md +7 -1
  433. package/docs/reference/choropleth.md +14 -1
  434. package/docs/reference/cohort.md +25 -5
  435. package/docs/reference/column.md +1 -0
  436. package/docs/reference/combo.md +1 -0
  437. package/docs/reference/creative.md +13 -0
  438. package/docs/reference/diagram.md +5 -0
  439. package/docs/reference/dimswitch.md +50 -32
  440. package/docs/reference/dot.md +7 -2
  441. package/docs/reference/fixtures.md +57 -0
  442. package/docs/reference/funnel.md +5 -0
  443. package/docs/reference/gantt.md +10 -2
  444. package/docs/reference/grid.md +9 -2
  445. package/docs/reference/heatmap.md +6 -0
  446. package/docs/reference/histogram.md +2 -2
  447. package/docs/reference/kpi.md +5 -1
  448. package/docs/reference/likert.md +8 -0
  449. package/docs/reference/options.md +4 -3
  450. package/docs/reference/pareto.md +1 -1
  451. package/docs/reference/pvm.md +7 -1
  452. package/docs/reference/pyramid.md +6 -0
  453. package/docs/reference/react.md +1 -2
  454. package/docs/reference/sankey.md +6 -2
  455. package/docs/reference/slope.md +6 -0
  456. package/docs/reference/sparkline.md +1 -1
  457. package/docs/reference/status.md +7 -1
  458. package/docs/reference/table.md +16 -4
  459. package/docs/reference/tilemap.md +1 -1
  460. package/docs/reference/treemap.md +1 -1
  461. package/docs/reference/waffle.md +1 -1
  462. package/docs/reference/waterfall.md +4 -1
  463. package/package.json +1 -1
  464. package/dist/chunk-FG5L2LUK.js +0 -89
  465. package/dist/chunk-IFQN4GKK.js +0 -1852
  466. package/dist/chunk-O36WX56O.js +0 -13
  467. package/dist/chunk-WIVFIVFZ.js +0 -27
  468. package/dist/chunk-ZWNRLIFT.js +0 -24
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  calendarLike,
3
3
  numberedSequence
4
- } from "./chunk-T2CYNDYU.js";
4
+ } from "./chunk-AFGQXMKT.js";
5
5
  import {
6
6
  PRIORITY
7
- } from "./chunk-4KQHKPB3.js";
7
+ } from "./chunk-WSKZZ2ZB.js";
8
8
  import {
9
9
  rankKeyNote
10
- } from "./chunk-SMHZXHHD.js";
10
+ } from "./chunk-WZB6R2ZX.js";
11
11
  import {
12
12
  chartStrings
13
13
  } from "./chunk-MSYTF3DZ.js";
14
14
  import {
15
15
  strokeToken
16
- } from "./chunk-HJRNBKIT.js";
16
+ } from "./chunk-JARJP576.js";
17
17
  import {
18
18
  maxOf,
19
19
  minOf,
@@ -22,7 +22,7 @@ import {
22
22
  import {
23
23
  twoLineWidth,
24
24
  wrapText
25
- } from "./chunk-SNQ7D5R7.js";
25
+ } from "./chunk-UIHGGWES.js";
26
26
 
27
27
  // src/core/strings/combo.ts
28
28
  var EN = {
@@ -5,45 +5,49 @@ import {
5
5
  columnHeadText,
6
6
  columnWidth,
7
7
  differenceFormatter
8
- } from "./chunk-HOU2MZHC.js";
8
+ } from "./chunk-AKJO6N4K.js";
9
9
  import {
10
10
  unitConflict,
11
11
  unitConflictRefusal
12
12
  } from "./chunk-DZ3S4RPI.js";
13
13
  import {
14
14
  marginBracketLayout
15
- } from "./chunk-5PPQIF4D.js";
15
+ } from "./chunk-LW4ZQGVL.js";
16
16
  import {
17
17
  warnMissingValue
18
- } from "./chunk-KLB2QC24.js";
18
+ } from "./chunk-I3DLERI7.js";
19
19
  import {
20
20
  HEAD_PREFIX,
21
21
  asColumnHeads,
22
22
  fitHead,
23
23
  headRequest
24
- } from "./chunk-XC5IRUEL.js";
24
+ } from "./chunk-2KCK63DD.js";
25
25
  import {
26
26
  percentLevels,
27
27
  runAnnotatePass
28
- } from "./chunk-JTC5SEAQ.js";
28
+ } from "./chunk-UCIAHSJK.js";
29
29
  import {
30
30
  GUTTER_MAX_SHARE,
31
31
  fitColumn,
32
32
  fittedLabel,
33
33
  stepDownFont
34
- } from "./chunk-MPO5TVGF.js";
34
+ } from "./chunk-XFCBH3TI.js";
35
35
  import {
36
36
  restDetailsWarning,
37
37
  restLabel,
38
38
  restSum,
39
39
  topNCut
40
- } from "./chunk-7STMIK2X.js";
40
+ } from "./chunk-W5SVS4B6.js";
41
41
  import {
42
42
  structureCount
43
43
  } from "./chunk-XCROSJ2Z.js";
44
44
  import {
45
- emptyIdRecord
46
- } from "./chunk-LINZPU5D.js";
45
+ alignedLeft,
46
+ alignedRight,
47
+ authoredTrackWidth,
48
+ columnOverrideWarnings,
49
+ trackPlotFloor
50
+ } from "./chunk-GKDUIDU6.js";
47
51
  import {
48
52
  bandScale,
49
53
  layoutValueAxis,
@@ -51,7 +55,7 @@ import {
51
55
  niceDomain,
52
56
  rowDrivenHeight,
53
57
  rowSizing
54
- } from "./chunk-T2CYNDYU.js";
58
+ } from "./chunk-AFGQXMKT.js";
55
59
  import {
56
60
  PRIORITY,
57
61
  authoredFootnoteCount,
@@ -70,14 +74,17 @@ import {
70
74
  normalizeLegendOption,
71
75
  solveFrame,
72
76
  solveLabels
73
- } from "./chunk-4KQHKPB3.js";
77
+ } from "./chunk-WSKZZ2ZB.js";
74
78
  import {
75
79
  disclosureNote
76
- } from "./chunk-SMHZXHHD.js";
80
+ } from "./chunk-WZB6R2ZX.js";
81
+ import {
82
+ emptyIdRecord
83
+ } from "./chunk-LINZPU5D.js";
77
84
  import {
78
85
  memoFormatterFromExample,
79
86
  seriesRasterFormatter
80
- } from "./chunk-FFJGC2DX.js";
87
+ } from "./chunk-D3PQAVFW.js";
81
88
  import {
82
89
  chartString,
83
90
  chartStrings
@@ -105,7 +112,7 @@ import {
105
112
  strokeToken,
106
113
  textScaleOf,
107
114
  themeForWidth
108
- } from "./chunk-HJRNBKIT.js";
115
+ } from "./chunk-JARJP576.js";
109
116
  import {
110
117
  MARK_CONTRAST_FLOOR
111
118
  } from "./chunk-DRHQG44U.js";
@@ -120,14 +127,14 @@ import {
120
127
  resolveHighlight,
121
128
  resolveSize,
122
129
  targetFloorsPx
123
- } from "./chunk-YOOHNQ3L.js";
130
+ } from "./chunk-FX5VZK5F.js";
124
131
  import {
125
132
  maxOf,
126
133
  pushAll
127
134
  } from "./chunk-WYJEOMNY.js";
128
135
  import {
129
136
  defaultMeasurer
130
- } from "./chunk-SNQ7D5R7.js";
137
+ } from "./chunk-UIHGGWES.js";
131
138
 
132
139
  // src/core/strings/butterfly.ts
133
140
  var EN = {
@@ -310,7 +317,7 @@ function layoutButterfly(data, options, comparison) {
310
317
  let raster = seriesRasterFormatter(opts.format, [...aCells, ...bCells].map(cellValue), opts.locale?.language, opts.unit, opts.target), signed2 = differenceFormatter({ format: opts.format, locale: opts.locale?.language, decimals: raster.spec.decimals, values: [...aCells, ...bCells].flatMap((cell) => cellValue(cell) ?? []) });
311
318
  for (let r of rows) r.a !== null && r.b !== null && diffText.set(r.id, signed2(r.b, r.a));
312
319
  }
313
- let diffHead = diffText.size === 0 ? void 0 : columnHeadText("\u0394", opts.unit?.startsWith("%") === !0 || percentLevels([sA, sB].map((s, k) => ({ vals: (k === 0 ? aCells : bCells).map((cell) => ({ v: cellValue(cell), isPct: isPctCell(cell) })), format: s.format, unit: s.unit })), opts.format, opts.unit)), diffFont = (id) => highlights.has(id) ? strongFont : labelFont, diffW = diffHead === void 0 ? 0 : columnWidth(measure, [...diffText].map(([id, text]) => ({ text, font: diffFont(id) })), { text: diffHead, font: strongFont }), diffReserve = diffW > 0 ? diffW + COLUMN_GAP : 0, isPairDelta = (ann) => {
320
+ let diffOverride = opts.columnOverrides?.diff, labelOverride = opts.columnOverrides?.label, diffHead = diffText.size === 0 ? void 0 : diffOverride?.label ?? columnHeadText("\u0394", opts.unit?.startsWith("%") === !0 || percentLevels([sA, sB].map((s, k) => ({ vals: (k === 0 ? aCells : bCells).map((cell) => ({ v: cellValue(cell), isPct: isPctCell(cell) })), format: s.format, unit: s.unit })), opts.format, opts.unit)), diffFont = (id) => highlights.has(id) ? strongFont : labelFont, diffNaturalW = diffHead === void 0 ? 0 : columnWidth(measure, [...diffText].map(([id, text]) => ({ text, font: diffFont(id) })), { text: diffHead, font: strongFont }), isPairDelta = (ann) => {
314
321
  if (ann.kind !== "delta" || ann.text !== void 0 || typeof ann.vs == "number") return !1;
315
322
  let at = typeof ann.at == "string" ? { categoryId: ann.at } : ann.at, vs = typeof ann.vs == "string" ? { categoryId: ann.vs } : ann.vs;
316
323
  return at.categoryId !== void 0 && at.categoryId === vs.categoryId && diffText.has(at.categoryId) && (at.seriesId ?? sB.id) === sB.id && vs.seriesId === sA.id;
@@ -338,7 +345,9 @@ function layoutButterfly(data, options, comparison) {
338
345
  measure
339
346
  },
340
347
  occupied
341
- ), plot = diffReserve > 0 ? { ...frameResult.plot, w: frameResult.plot.w - diffReserve } : frameResult.plot, diffRight = frameResult.plot.x + frameResult.plot.w;
348
+ );
349
+ columnOverrideWarnings(comparison?.paneFit ? "pyramid" : "butterfly", opts.columnOverrides, ["label", ...diffHead === void 0 ? [] : ["diff"]], ["diff"], warnings);
350
+ let diffW = diffHead === void 0 ? 0 : diffOverride?.width === void 0 ? diffNaturalW : authoredTrackWidth("diff", diffOverride.width, diffNaturalW, frameResult.plot.w - COLUMN_GAP - trackPlotFloor(frameResult.plot.w), warnings), diffReserve = diffW > 0 ? diffW + COLUMN_GAP : 0, plot = diffReserve > 0 ? { ...frameResult.plot, w: frameResult.plot.w - diffReserve } : frameResult.plot, diffRight = frameResult.plot.x + frameResult.plot.w;
342
351
  fixedPlotChrome(frameResult);
343
352
  let catLineH = tickFont.size * (tickFont.lineHeight ?? 1.2), maxCatLabelW = Math.max(
344
353
  1,
@@ -397,8 +406,8 @@ function layoutButterfly(data, options, comparison) {
397
406
  }, room = comparison?.bracketRoom ?? { left: 0, right: 0 }, comparisonRun = annotations.some((ann) => ann.kind === "cagr" || ann.kind === "diff") ? 20 : 40, minimumPane = (side, bracketRoom) => comparisonRun + (valuesOff ? 0 : Math.max(0, maxOf(rows.map((r) => {
398
407
  let text = textOf(side === "a" ? r.a : r.b, side === "a" ? r.aMeta : r.bMeta, side);
399
408
  return text ? measure(text, labelFont).width + 10 : 0;
400
- })))) + bracketRoom, panesMinimum = comparisonRun === 20 ? minimumPane("a", room.left) + minimumPane("b", room.right) : 2 * Math.max(minimumPane("a", room.left), minimumPane("b", room.right)), narrowLane = (insideCard || redesign && size.width < 480) && opts.centerColumnWidth === void 0 && Math.ceil(maxCatLabelW) + 2 * LANE_PAD <= plot.w * 0.35, namePad = narrowLane ? 2 * LANE_PAD : 16, centerW = narrowLane ? Math.ceil(maxCatLabelW) + 2 * LANE_PAD : centerColumnWidth(rows.map((r) => ({ label: `${r.label}${r.mark}`, font: catFontOf(r) })), {
401
- authored: opts.centerColumnWidth,
409
+ })))) + bracketRoom, panesMinimum = comparisonRun === 20 ? minimumPane("a", room.left) + minimumPane("b", room.right) : 2 * Math.max(minimumPane("a", room.left), minimumPane("b", room.right)), laneCard = insideCard || redesign && size.width < 480, authoredCenter = labelOverride?.width === void 0 ? opts.centerColumnWidth : authoredTrackWidth("label", labelOverride.width, 40, Math.max(40, plot.w - Math.max(80, panesMinimum)), warnings), narrowLane = laneCard && authoredCenter === void 0 && Math.ceil(maxCatLabelW) + 2 * LANE_PAD <= plot.w * 0.35, namePad = narrowLane ? 2 * LANE_PAD : 16, centerW = narrowLane ? Math.ceil(maxCatLabelW) + 2 * LANE_PAD : centerColumnWidth(rows.map((r) => ({ label: `${r.label}${r.mark}`, font: catFontOf(r) })), {
410
+ authored: authoredCenter,
402
411
  natural: maxCatLabelW + 20,
403
412
  plotW: plot.w,
404
413
  maxLines: catMaxLines,
@@ -555,7 +564,7 @@ function layoutButterfly(data, options, comparison) {
555
564
  let extremeA = maxA > 0 ? rows[absA.indexOf(maxA)]?.id : void 0, extremeB = maxB > 0 ? rows[absB.indexOf(maxB)]?.id : void 0, resolveCss = (paint) => paintColor(theme, paint);
556
565
  rows.forEach((r, i) => {
557
566
  let rowY = band.position(i), rowH = band.bandwidth, cy = rowY + rowH / 2, endpoint = i === 0 || i === rows.length - 1, rowHl = highlights.has(r.id);
558
- diffText.has(r.id) && labelRequests.push(columnCellRequest({ id: `diff:${r.id}`, owner: { categoryId: r.id }, text: diffText.get(r.id), font: diffFont(r.id), measure, right: diffRight, cy }));
567
+ diffText.has(r.id) && labelRequests.push(columnCellRequest({ id: `diff:${r.id}`, owner: { categoryId: r.id }, text: diffText.get(r.id), font: diffFont(r.id), measure, right: alignedRight(diffRight, diffW, measure(diffText.get(r.id), diffFont(r.id)).width, diffOverride?.align ?? "right"), cy }));
559
568
  for (let side of ["a", "b"]) {
560
569
  let series = side === "a" ? sA : sB, v = side === "a" ? r.a : r.b, meta = side === "a" ? r.aMeta : r.bMeta, fmt = side === "a" ? fmtA : fmtB, len = v === null ? 0 : Math.max(lenOf[side](Math.abs(v)), 0.5), dir = dirOf(side, v), tipX = zeroOf(side) + dir * len, rect = { x: Math.min(zeroOf(side), tipX), y: rowY, w: len, h: rowH }, nodeId = `mark:${series.id}:${r.id}`, basePaint = side === "a" ? paintA : paintB, paint = v !== null && v < 0 && !signed ? negativePaint(barPaint(r.rest, meta, basePaint)) : barPaint(r.rest, meta, basePaint), scen = normalizeScenario(meta?.scenario, `series[${series.id}].values[${r.id}].scenario`) ?? (side === "a" ? scenA : scenB), sep = othersSeparation(paint, theme);
561
570
  if (nodes.push({
@@ -651,7 +660,7 @@ function layoutButterfly(data, options, comparison) {
651
660
  candidates: [
652
661
  {
653
662
  slot: "center",
654
- rect: { x: centerX0 + centerW / 2 - catW / 2, y: cy - catH / 2, w: catW, h: catH },
663
+ rect: { x: labelOverride?.align === void 0 ? centerX0 + centerW / 2 - catW / 2 : alignedLeft(centerX0 + namePad / 2, centerW - namePad, catW, labelOverride.align), y: cy - catH / 2, w: catW, h: catH },
655
664
  penalty: 0
656
665
  }
657
666
  ]
@@ -697,9 +706,9 @@ function layoutButterfly(data, options, comparison) {
697
706
  ]
698
707
  });
699
708
  }
700
- if (diffHead !== void 0) {
709
+ if (diffHead) {
701
710
  let head = fitHead(diffHead, strongFont, diffW, measure, { target: opts.target ?? DEFAULT_TARGET, textScale: textScaleOf(opts) });
702
- labelRequests.push(headRequest("diff", 0, head, diffRight, plot.y, measure(head.lines[0], strongFont).height, !1));
711
+ labelRequests.push(headRequest("diff", 0, head, alignedRight(diffRight, diffW, head.w, diffOverride?.headAlign ?? diffOverride?.align ?? "right"), plot.y, measure(head.lines[0], strongFont).height, !1));
703
712
  }
704
713
  let valueAxes = [];
705
714
  if (ownAxis)
@@ -1,25 +1,31 @@
1
+ import {
2
+ columnOrderOption,
3
+ columnOverridesOption,
4
+ columnVisibilityOption
5
+ } from "./chunk-RRPTQGRU.js";
1
6
  import {
2
7
  isMetricStackData,
3
8
  normalizeMetricStack
4
- } from "./chunk-5P2TTHBZ.js";
9
+ } from "./chunk-VM5CQ7CG.js";
5
10
  import {
6
11
  addDuplicateIdIssues,
7
12
  baseOptionsSchema,
8
13
  idRecord,
9
- refusedBaseOptions
10
- } from "./chunk-76Q7E3TM.js";
14
+ refusedBaseOptions,
15
+ retiredKey
16
+ } from "./chunk-QYOZ46ZQ.js";
11
17
  import {
12
18
  normalizeGridData
13
- } from "./chunk-V7F4F6JA.js";
19
+ } from "./chunk-YFI5PN5O.js";
14
20
  import {
15
21
  ownedDocumentCopy
16
- } from "./chunk-V634AXDM.js";
22
+ } from "./chunk-LUZ7HXBT.js";
17
23
  import {
18
24
  getChartSchemas
19
- } from "./chunk-T2CYNDYU.js";
25
+ } from "./chunk-AFGQXMKT.js";
20
26
  import {
21
27
  NormalizeError
22
- } from "./chunk-YOOHNQ3L.js";
28
+ } from "./chunk-FX5VZK5F.js";
23
29
 
24
30
  // src/core/charts/grid/metricStackSchema.ts
25
31
  import * as z from "zod";
@@ -41,7 +47,7 @@ var id = z.string().min(1), range = z.strictObject({
41
47
  panels: z.array(z.strictObject({
42
48
  id: id.describe("Unique panel id; state scopes use this id."),
43
49
  type: z.enum(["column", "line"]).describe("Columns, stacked columns for a multi-measure sum, or a line with points."),
44
- title: id.describe("Measure name in the shared left readout gutter."),
50
+ title: id.describe("Measure name in the shared readout gutter."),
45
51
  unit: id.describe("Measure unit in the readout gutter."),
46
52
  measure: z.union([
47
53
  z.strictObject({ sum: fields.describe("Measures added for each category. Columns stack the inputs in order.") }),
@@ -76,7 +82,10 @@ var id = z.string().min(1), range = z.strictObject({
76
82
  ctx.addIssue({ code: "custom", path: error.segments?.slice(1), message: error.message });
77
83
  }
78
84
  }).describe("Metric stack: shared categories and source measures, top-down panels with computed readouts. Use options.stack."), metricStackOptionsSchema = z.strictObject({
79
- heights: z.array(z.number().positive()).min(2).max(5).optional().describe("Plot heights in layout pixels, one per panel in top-down order. Use rows for proportional heights instead.")
85
+ heights: z.array(z.number().positive()).min(2).max(5).optional().describe("Plot heights in layout pixels, one per panel in top-down order. Use rows for proportional heights instead."),
86
+ columnVisibility: columnVisibilityOption("grid").describe("False leaves a seat of the one gutter track out, with its height: unit, headline or span. The panel name stays. Hiding headline and span also drops the method line. The values stay in the marks."),
87
+ columnOverrides: columnOverridesOption("grid", ["width", "align"]),
88
+ columnOrder: columnOrderOption("grid")
80
89
  }).describe("Select metric-stack mode of sharedAxis category. Top-down panels, independent zero scales, one axis, one gutter and shared states.");
81
90
 
82
91
  // src/core/charts/grid/schema.ts
@@ -327,6 +336,7 @@ var gapSchema = z2.union([
327
336
  z2.number().nonnegative().describe("Uniform gap in layout pixels between adjacent tracks."),
328
337
  z2.array(z2.number().nonnegative().describe("Gap in layout pixels between this pair of adjacent tracks.")).describe("Ordered gaps, exactly one fewer than the number of tracks.")
329
338
  ]).describe("A uniform gap or one gap for each adjacent pair of tracks."), trackScopeSchema = z2.enum(["row", "column", "all"]).describe("Apply alignment within each row, within each column, or across all panels."), gridOptionsSchema = baseOptionsSchema.safeExtend(refusedBaseOptions("grid")).safeExtend({
339
+ format: retiredKey("'format' has no effect on a grid; set it on each panel", "each panel sets its own format."),
330
340
  stack: metricStackOptionsSchema.optional(),
331
341
  columns: z2.union([z2.number().int().positive().max(50), z2.array(z2.number().positive()).min(1).max(50)]).optional().describe("Legacy facet column count, or authored positive column-track weights. At most 50 rows and columns."),
332
342
  rows: z2.array(z2.number().positive()).min(1).max(50).optional().describe("Positive row weights override content fitting. Omitted: content-fit rows use their natural height; other rows share the rest. Without columns, the row count sets placement. With category sharing, rows[i] follows panels[i] in bottom-up order; metric stacks use top-down order."),
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  namedKeys,
6
6
  wordUnknownKeys
7
- } from "./chunk-BSATR6ZO.js";
7
+ } from "./chunk-V62B23VC.js";
8
8
 
9
9
  // src/core/schema/unknownKeys.ts
10
10
  function unknownKeys(options, keys) {
@@ -4,10 +4,10 @@ import {
4
4
  import {
5
5
  eyebrowFont,
6
6
  figureRole
7
- } from "./chunk-F6OLHND5.js";
7
+ } from "./chunk-GAFEN3H7.js";
8
8
  import {
9
9
  chartPalette
10
- } from "./chunk-7DAH2E4T.js";
10
+ } from "./chunk-IW3YUMPI.js";
11
11
  import {
12
12
  structureCount
13
13
  } from "./chunk-XCROSJ2Z.js";
@@ -15,10 +15,10 @@ import {
15
15
  heightOmitted,
16
16
  resolveSizing,
17
17
  rowDrivenHeight
18
- } from "./chunk-T2CYNDYU.js";
18
+ } from "./chunk-AFGQXMKT.js";
19
19
  import {
20
20
  prepareFractionData
21
- } from "./chunk-CPGASWNN.js";
21
+ } from "./chunk-I65OLJ2X.js";
22
22
  import {
23
23
  COMPACT_SOURCE_LINES,
24
24
  PRIORITY,
@@ -34,16 +34,16 @@ import {
34
34
  solveFrame,
35
35
  solveLabels,
36
36
  textRole
37
- } from "./chunk-4KQHKPB3.js";
37
+ } from "./chunk-WSKZZ2ZB.js";
38
38
  import {
39
39
  disclosureNote,
40
40
  engineNote
41
- } from "./chunk-SMHZXHHD.js";
41
+ } from "./chunk-WZB6R2ZX.js";
42
42
  import {
43
43
  exampleSpec,
44
44
  formatWithSpec,
45
45
  roundedNumber
46
- } from "./chunk-FFJGC2DX.js";
46
+ } from "./chunk-D3PQAVFW.js";
47
47
  import {
48
48
  authoredDecimals,
49
49
  autoDecimals,
@@ -73,7 +73,7 @@ import {
73
73
  surfaceFloorPaint,
74
74
  textScaleOf,
75
75
  themeForWidth
76
- } from "./chunk-HJRNBKIT.js";
76
+ } from "./chunk-JARJP576.js";
77
77
  import {
78
78
  DEFAULT_TARGET,
79
79
  NormalizeError,
@@ -84,7 +84,7 @@ import {
84
84
  normalizeSeriesValues,
85
85
  panelHeroSizesPx,
86
86
  resolveSize
87
- } from "./chunk-YOOHNQ3L.js";
87
+ } from "./chunk-FX5VZK5F.js";
88
88
  import {
89
89
  maxOf,
90
90
  minOf,
@@ -93,7 +93,7 @@ import {
93
93
  import {
94
94
  defaultMeasurer,
95
95
  wrapText
96
- } from "./chunk-SNQ7D5R7.js";
96
+ } from "./chunk-UIHGGWES.js";
97
97
 
98
98
  // src/core/strings/waffle.ts
99
99
  var EN = {
@@ -0,0 +1,27 @@
1
+ import {
2
+ sharedKeys1,
3
+ sharedKeys10,
4
+ sharedKeys2,
5
+ sharedKeys4,
6
+ sharedKeys5,
7
+ sharedKeys9
8
+ } from "./chunk-7BQK2UDV.js";
9
+ import {
10
+ optionKeyCheck
11
+ } from "./chunk-FF7MV4D4.js";
12
+ import {
13
+ createChartComponent
14
+ } from "./chunk-BDCKHLUB.js";
15
+ import {
16
+ columnCore
17
+ } from "./chunk-O7Y6RJ4D.js";
18
+ import {
19
+ registeredType
20
+ } from "./chunk-D5G67OER.js";
21
+
22
+ // src/react/charts/column.ts
23
+ 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, detailFields: { "[]": { key: 0, label: 0, format: 0, unit: 0 } }, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, categoryLabels: 0, labelPlacements: 0, legend: { position: 0, order: 0 }, valueAxis: sharedKeys4, categoryAxis: { dateTicks: 0 }, scaleGroup: { y: 0, id: 0 }, sort: { categories: 0, segments: 0 }, topN: { n: 0, rest: 0, restLabel: 0, showRestCount: 0, threshold: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, rounding: 0, interactive: 0, annotations: sharedKeys9, axisTitles: { primary: 0 }, valueLabels: 0, variant: 0, grandTotalLabels: 0, sharesOfOneWhole: 0, referenceStyle: 0, netLine: { seriesId: 0, connectors: 0 }, averageMarker: { scope: 0, includePartial: 0 }, connectors: { style: 0, scope: 0 }, ribbons: { order: 0 }, ratioTier: sharedKeys2, seriesRamp: 0, othersShade: 0, signColor: 0, anomaly: { method: 0, k: 0, baseline: 0, label: 0, low: 0, high: 0 }, seriesLabels: { at: 0, only: 0, cagr: { from: 0, to: 0, format: 0 } }, shareLabels: { only: 0, format: 0 }, events: sharedKeys1, window: { last: 0 }, viewDomain: { x: 0 } }, labels: ["category", "segment", "restSeries", "point", "grandTotal", "percentIndicator", "tick", "axisTitle", "valueLine", "annotation", "growth"] }), ColumnChart = createChartComponent(registeredType(columnCore), checkOptionKeys);
24
+
25
+ export {
26
+ ColumnChart
27
+ };
@@ -224,6 +224,9 @@ function formatScenarios(scenarios) {
224
224
  function resolveHighlight(h) {
225
225
  return h === void 0 ? [] : Array.isArray(h) ? h : [h];
226
226
  }
227
+ function substitute(value, placeholder, replacement) {
228
+ return typeof value == "string" ? value.split(placeholder).join(replacement) : Array.isArray(value) ? value.map((item) => substitute(item, placeholder, replacement)) : value !== null && typeof value == "object" ? Object.fromEntries(Object.entries(value).map(([key, item]) => [key, substitute(item, placeholder, replacement)])) : value;
229
+ }
227
230
 
228
231
  export {
229
232
  NormalizeError,
@@ -241,6 +244,7 @@ export {
241
244
  resolveSubtitle,
242
245
  formatScenarios,
243
246
  resolveHighlight,
247
+ substitute,
244
248
  DEFAULT_TARGET,
245
249
  withDefaultTarget,
246
250
  SIZE_PRESETS,
@@ -1,24 +1,32 @@
1
1
  import {
2
2
  chartPalette,
3
3
  chartTheme
4
- } from "./chunk-7DAH2E4T.js";
4
+ } from "./chunk-IW3YUMPI.js";
5
5
  import {
6
6
  diagramKindError
7
- } from "./chunk-7Q37C6GZ.js";
7
+ } from "./chunk-CV3NC75L.js";
8
8
  import {
9
9
  compileIcon
10
- } from "./chunk-H3IBJQ5A.js";
10
+ } from "./chunk-M2OQK2FO.js";
11
+ import {
12
+ fitsRoom,
13
+ widthsThatFit
14
+ } from "./chunk-IXM6BAM4.js";
11
15
  import {
12
16
  structureCount
13
17
  } from "./chunk-XCROSJ2Z.js";
18
+ import {
19
+ generatedIdWarnings
20
+ } from "./chunk-SXAZDIGM.js";
14
21
  import {
15
22
  CARD_MIN_WIDTH,
16
23
  chartSizing,
17
24
  contentSizing,
25
+ heightOmitted,
18
26
  resolveSizing,
19
27
  rowDrivenHeight,
20
28
  sizeRefusal
21
- } from "./chunk-T2CYNDYU.js";
29
+ } from "./chunk-AFGQXMKT.js";
22
30
  import {
23
31
  PRIORITY,
24
32
  boundsOf,
@@ -36,7 +44,7 @@ import {
36
44
  seatLeader,
37
45
  solveFrame,
38
46
  solveLabels
39
- } from "./chunk-4KQHKPB3.js";
47
+ } from "./chunk-WSKZZ2ZB.js";
40
48
  import {
41
49
  chartStrings
42
50
  } from "./chunk-MSYTF3DZ.js";
@@ -56,7 +64,7 @@ import {
56
64
  seriesPaint,
57
65
  strokeToken,
58
66
  themeForWidth
59
- } from "./chunk-HJRNBKIT.js";
67
+ } from "./chunk-JARJP576.js";
60
68
  import {
61
69
  monotonePath,
62
70
  monotoneSegments
@@ -66,7 +74,7 @@ import {
66
74
  TARGET_SIZE,
67
75
  accessibleTitle,
68
76
  resolveSize
69
- } from "./chunk-YOOHNQ3L.js";
77
+ } from "./chunk-FX5VZK5F.js";
70
78
  import {
71
79
  maxOf,
72
80
  minOf,
@@ -77,7 +85,7 @@ import {
77
85
  defaultMeasurer,
78
86
  wrapNameText,
79
87
  wrapText
80
- } from "./chunk-SNQ7D5R7.js";
88
+ } from "./chunk-UIHGGWES.js";
81
89
 
82
90
  // src/core/strings/diagram.ts
83
91
  var EN = {
@@ -1646,22 +1654,44 @@ function layoutArchitecture(data, options, plot, fonts, measure, u, palette, the
1646
1654
  let planFonts = { ...fonts, text: { ...secondaryFont(theme), weight: 400 } };
1647
1655
  if (!data.inset) return planArchitecture(data, options, plot, planFonts, measure, u, palette, theme, badges, plans);
1648
1656
  let beside = plot.w >= INSET_BESIDE_WIDTH, gap = 6 * u, width = beside ? insetWidth(data.inset, plot.w, fonts, measure, u) : plot.w, layout = planArchitecture(data, options, beside ? { ...plot, w: plot.w - width - gap } : plot, planFonts, measure, u, palette, theme, badges, plans), bottom = Math.max(...[...layout.preset.nodeRects.values(), ...layout.preset.groups.map((group) => group.bounds), ...layout.preset.lanes.map((lane) => lane.bounds), ...layout.extent].map((rect) => rect.y + rect.h)), box = { x: plot.x + plot.w - width, y: beside ? plot.y : bottom + gap, w: width }, panel = insetPanel(data.inset, box, !beside, fonts, measure, u), end = box.y + panel.height, stroke = { token: "axis" }, hair = strokeToken(theme, "hair"), rule = beside ? { x1: box.x - gap / 2, y1: plot.y, x2: box.x - gap / 2, y2: Math.max(bottom, end) } : { x1: plot.x, y1: bottom + gap / 2, x2: plot.x + plot.w, y2: bottom + gap / 2 };
1649
- return layout.preset.decorationScene.push({ t: "line", id: diagramSceneId("inset", "rule"), ...rule, stroke, width: hair, owner: {}, part: "diagramLane" }), layout.channelLabels = [...layout.channelLabels ?? [], ...panel.labels], layout.extent.push(...panel.labels.map((label) => label.rect)), end > plot.y + plot.h + 1 && !layout.warnings.some((warning) => warning.code === "diagram-size-too-small") && layout.warnings.push({ code: "diagram-size-too-small", severity: "error", message: `architecture needs ${Math.ceil(end - plot.y - plot.h)} px more height` }), layout;
1657
+ return layout.preset.decorationScene.push({ t: "line", id: diagramSceneId("inset", "rule"), ...rule, stroke, width: hair, owner: {}, part: "diagramLane" }), layout.channelLabels = [...layout.channelLabels ?? [], ...panel.labels], layout.warnings = [...layout.warnings ?? [], ...insetWarnings(data.inset, box.w, fonts, measure, u)], layout.extent.push(...panel.labels.map((label) => label.rect)), end > plot.y + plot.h + 1 && !layout.warnings.some((warning) => warning.code === "diagram-size-too-small") && layout.warnings.push({ code: "diagram-size-too-small", severity: "error", message: `architecture needs ${Math.ceil(end - plot.y - plot.h)} px more height` }), layout;
1658
+ }
1659
+ function insetWarnings(inset, panelW, fonts, measure, u) {
1660
+ let tracks = inset.columnOverrides;
1661
+ if (!tracks) return [];
1662
+ let unknown = generatedIdWarnings("diagram", "columnOverrides", tracks, inset.rows ? ["label", "value"] : []).map((warning) => ({ ...warning, field: ["data", "inset", "columnOverrides", warning.field.at(-1)] })), widest = Math.max(...(inset.rows ?? []).map((row) => (tracks.label?.width ?? measure(row.label, fonts.text).width) + (tracks.value?.width ?? measure(row.value, fonts.name).width) + 2 * u), 0), capped = inset.rows !== void 0 && (tracks.label?.width !== void 0 || tracks.value?.width !== void 0) && (widest > panelW + 1 || (tracks.value?.width ?? 0) > Math.floor(panelW / 2)), rows = inset.rows ?? [], floored = tracks.label?.width !== void 0 && rows.some((row) => row.label.split(/\s+/).some((word) => Math.ceil(measure(word, fonts.text).width) + 1 > tracks.label.width)) || tracks.value?.width !== void 0 && rows.some((row) => Math.ceil(measure(row.value, fonts.name).width) + 1 > tracks.value.width);
1663
+ return [
1664
+ ...unknown,
1665
+ ...capped ? [{
1666
+ code: "generated-column-width-capped",
1667
+ severity: "warn",
1668
+ field: ["data", "inset", "columnOverrides"],
1669
+ message: `the authored inset columns do not fit the ${Math.round(panelW)} px panel, so they were reduced`,
1670
+ suggest: "Use smaller widths, or give the chart more width."
1671
+ }] : [],
1672
+ ...floored ? [{
1673
+ code: "generated-column-width-floored",
1674
+ severity: "warn",
1675
+ field: ["data", "inset", "columnOverrides"],
1676
+ message: "an authored inset width is narrower than its text, so it was raised",
1677
+ suggest: "Use a larger width, or leave the width out."
1678
+ }] : []
1679
+ ];
1650
1680
  }
1651
1681
  function insetWidth(inset, plotW, fonts, measure, u) {
1652
- let need = Math.max(
1653
- measure(inset.title, fonts.title).width,
1654
- ...(inset.rows ?? []).map((row) => measure(row.label, fonts.text).width + measure(row.value, fonts.name).width + 3 * u),
1682
+ let tracks = inset.columnOverrides, need = Math.max(
1683
+ inset.heading === !1 ? 0 : measure(inset.title, fonts.title).width,
1684
+ ...(inset.rows ?? []).map((row) => (tracks?.label?.width ?? measure(row.label, fonts.text).width) + (tracks?.value?.width ?? measure(row.value, fonts.name).width) + 3 * u),
1655
1685
  ...(inset.kpis ?? []).flatMap((kpi) => [measure(kpi.value, kpiFont(fonts)).width, measure(kpi.label, fonts.text).width])
1656
1686
  );
1657
1687
  return q(Math.max(36 * u, Math.min(Math.ceil(need), INSET_MAX_SHARE * plotW)));
1658
1688
  }
1659
1689
  var kpiFont = (fonts) => ({ ...fonts.title, size: Math.round(fonts.title.size * 1.75) });
1660
1690
  function insetPanel(inset, box, wide, fonts, measure, u) {
1661
- let labels = [], seat = (id, text, font, x, y2, width, right = !1) => {
1691
+ let labels = [], seat = (id, text, font, x, y2, width, align = "left") => {
1662
1692
  let wrapped = wrapText(text, font, width, 4, measure), w = Math.ceil(Math.max(...wrapped.lines.map((line) => measure(line, font).width))) + 1, h = wrapped.lines.length * font.size * (font.lineHeight ?? 1.2);
1663
- return labels.push({ id: `inset-label:${id}`, text, rect: qRect({ x: right ? x + width - w : x, y: y2, w, h }), owner: {}, font }), h;
1664
- }, y = box.y + seat("title", inset.title, fonts.title, box.x, box.y, box.w) + 2 * u, kpis = inset.kpis ?? [], across = wide ? kpis.length : 1, cell = (box.w - (across - 1) * 3 * u) / Math.max(1, across);
1693
+ return labels.push({ id: `inset-label:${id}`, text, rect: qRect({ x: align === "right" ? x + width - w : align === "center" ? x + (width - w) / 2 : x, y: y2, w, h }), owner: {}, font }), h;
1694
+ }, tracks = inset.columnOverrides, y = box.y + (inset.heading === !1 ? 0 : seat("title", inset.title, fonts.title, box.x, box.y, box.w) + 2 * u), kpis = inset.kpis ?? [], across = wide ? kpis.length : 1, cell = (box.w - (across - 1) * 3 * u) / Math.max(1, across);
1665
1695
  for (let at = 0; at < kpis.length; at += across) {
1666
1696
  let tallest = 0;
1667
1697
  kpis.slice(at, at + across).forEach((kpi, index) => {
@@ -1669,8 +1699,9 @@ function insetPanel(inset, box, wide, fonts, measure, u) {
1669
1699
  tallest = Math.max(tallest, top + u + seat(`kpi:${at + index}:label`, kpi.label, fonts.text, x, y + top + u, cell));
1670
1700
  }), y += tallest + 2 * u;
1671
1701
  }
1702
+ let widestValue = tracks?.value?.align === void 0 && (tracks?.label?.align ?? "left") === "left" ? 0 : Math.max(0, ...(inset.rows ?? []).map((row) => Math.ceil(measure(row.value, fonts.name).width) + 1));
1672
1703
  return (inset.rows ?? []).forEach((row, index) => {
1673
- let value = Math.min(Math.ceil(measure(row.value, fonts.name).width) + 1, Math.floor(box.w / 2)), name = seat(`row:${index}:label`, row.label, fonts.text, box.x, y, box.w - value - 2 * u), worth = seat(`row:${index}:value`, row.value, fonts.name, box.x + box.w - value, y, value, !0);
1704
+ let value = Math.min(Math.max(Math.ceil(measure(row.value, fonts.name).width) + 1, tracks?.value?.width ?? 0, widestValue), Math.floor(box.w / 2)), room = box.w - value - 2 * u, wordFloor = Math.max(0, ...row.label.split(/\s+/).map((word) => Math.ceil(measure(word, fonts.text).width) + 1)), nameW = tracks?.label?.width === void 0 ? room : Math.min(room, Math.max(wordFloor, tracks.label.width)), name = seat(`row:${index}:label`, row.label, fonts.text, box.x, y, nameW, tracks?.label?.align), worth = seat(`row:${index}:value`, row.value, fonts.name, box.x + box.w - value, y, value, tracks?.value?.align ?? "right");
1674
1705
  y += Math.max(name, worth) + u;
1675
1706
  }), { labels, height: y - box.y - u };
1676
1707
  }
@@ -3823,6 +3854,27 @@ var pointKey = (point) => `${q(point.x)},${q(point.y)}`, uniqueSorted = (values)
3823
3854
  // src/core/charts/diagram/layout.ts
3824
3855
  var DIAGRAM_MIN_WIDTH = 480, NARROW_PRESETS = /* @__PURE__ */ new Set(["circular-process", "strategy-house"]);
3825
3856
  function layoutDiagram(rawData, rawOptions, measureMinimum = !0) {
3857
+ let inset = rawData.inset;
3858
+ if (inset?.columnOverrides === void 0) return layoutPlanned(rawData, rawOptions, measureMinimum);
3859
+ let { columnOverrides: tracks, ...rest } = inset, pinned = rawOptions?.[TARGET_SIZE]?.fixed.height ?? !heightOmitted(rawOptions?.size);
3860
+ if (!pinned) return layoutPlanned(rawData, rawOptions, measureMinimum);
3861
+ let draw = ({ columnOverrides }) => layoutPlanned({ ...rawData, inset: { ...rest, ...columnOverrides ? { columnOverrides } : {} } }, rawOptions, measureMinimum), field = ["data", "inset", "columnOverrides"], drawn = widthsThatFit({ columnOverrides: tracks }, draw, pinned, { field }), dropLabel = tracks?.label?.align !== void 0 && tracks.label.align !== "left", dropValue = tracks?.value?.align !== void 0;
3862
+ if (fitsRoom(drawn, pinned) || !dropLabel && !dropValue) return drawn;
3863
+ let unaligned = { ...tracks }, dropped = [...dropLabel ? ["label"] : [], ...dropValue ? ["value"] : []];
3864
+ for (let id of dropped) {
3865
+ let { align: _align, ...others } = tracks[id];
3866
+ unaligned[id] = others;
3867
+ }
3868
+ let plain = widthsThatFit({ columnOverrides: unaligned }, draw, pinned, { field });
3869
+ return fitsRoom(plain, pinned) ? { ...plain, warnings: [...plain.warnings, ...dropped.map((id) => ({
3870
+ code: "option-ignored",
3871
+ severity: "warn",
3872
+ field: [...field, id, "align"],
3873
+ message: `the aligned inset columns need more height than this chart has, so ${id}.align was ignored`,
3874
+ suggest: `Give the chart more height, or remove ${id}.align.`
3875
+ }))] } : drawn;
3876
+ }
3877
+ function layoutPlanned(rawData, rawOptions, measureMinimum) {
3826
3878
  let planned = rawOptions?.variant === "architecture" && !(ARCHITECTURE_PLANS in rawOptions);
3827
3879
  return layoutDiagramPass(rawData, planned ? { ...rawOptions, [ARCHITECTURE_PLANS]: /* @__PURE__ */ new Map() } : rawOptions, measureMinimum);
3828
3880
  }
@@ -4,22 +4,22 @@ import {
4
4
  sharedKeys10,
5
5
  sharedKeys5,
6
6
  sharedKeys9
7
- } from "./chunk-O36WX56O.js";
7
+ } from "./chunk-7BQK2UDV.js";
8
8
  import {
9
9
  optionKeyCheck
10
- } from "./chunk-N5HN5QGH.js";
10
+ } from "./chunk-FF7MV4D4.js";
11
11
  import {
12
12
  createChartComponent
13
- } from "./chunk-SS4YGK3E.js";
13
+ } from "./chunk-BDCKHLUB.js";
14
14
  import {
15
15
  comboCore
16
- } from "./chunk-67QSW5RW.js";
16
+ } from "./chunk-5P4MXWKP.js";
17
17
  import {
18
18
  registeredType
19
- } from "./chunk-52WNCUIN.js";
19
+ } from "./chunk-D5G67OER.js";
20
20
 
21
21
  // src/react/charts/combo.ts
22
- 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, detailFields: { "[]": { key: 0, label: 0, format: 0, unit: 0 } }, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, categoryLabels: 0, labelPlacements: 0, legend: { position: 0, order: 0 }, valueAxis: sharedKeys0, categoryAxis: { crossesBetween: 0, dateTicks: 0 }, secondaryAxis: { acknowledge: 0, domain: 0, format: 0, show: 0, ruler: { of: 0, total: 0, ticks: 0 } }, scaleGroup: { y: 0, id: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, rounding: 0, interactive: 0, annotations: sharedKeys9, viewDomain: { x: 0 }, window: { last: 0 }, anomaly: { method: 0, k: 0, baseline: 0, label: 0, low: 0, high: 0 }, axisTitles: { primary: 0, secondary: 0 }, interpolate: 0, dualAxis: { anatomy: 0, growth: 0 }, valueLabels: 0, latestPoint: 0, averageMarker: { scope: 0, includePartial: 0 }, referenceStyle: 0, referenceTick: { width: 0, color: 0 }, events: sharedKeys1 }, labels: ["category", "segment", "point", "grandTotal", "tick", "axisTitle"] }), ComboChart = createChartComponent(registeredType(comboCore), checkOptionKeys);
22
+ 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, detailFields: { "[]": { key: 0, label: 0, format: 0, unit: 0 } }, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, categoryLabels: 0, labelPlacements: 0, legend: { position: 0, order: 0 }, valueAxis: sharedKeys0, categoryAxis: { dateTicks: 0 }, secondaryAxis: { acknowledge: 0, domain: 0, format: 0, show: 0, ruler: { of: 0, total: 0, ticks: 0 } }, scaleGroup: { y: 0, id: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, rounding: 0, interactive: 0, annotations: sharedKeys9, viewDomain: { x: 0 }, window: { last: 0 }, anomaly: { method: 0, k: 0, baseline: 0, label: 0, low: 0, high: 0 }, axisTitles: { primary: 0, secondary: 0 }, interpolate: 0, dualAxis: { anatomy: 0, growth: 0 }, valueLabels: 0, latestPoint: 0, averageMarker: { scope: 0, includePartial: 0 }, referenceStyle: 0, referenceTick: { width: 0, color: 0 }, events: sharedKeys1 }, labels: ["category", "segment", "point", "grandTotal", "tick", "axisTitle"] }), ComboChart = createChartComponent(registeredType(comboCore), checkOptionKeys);
23
23
 
24
24
  export {
25
25
  ComboChart