@bino-bi/bn-template-engine 1.0.0-next.28 → 1.0.0-next.30

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 (449) hide show
  1. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
  2. package/dist/bn-template-engine/p-132ad556.entry.js +1 -0
  3. package/dist/bn-template-engine/p-17d71782.entry.js +1 -0
  4. package/dist/bn-template-engine/p-40ba7f43.entry.js +1 -0
  5. package/dist/bn-template-engine/p-467871f3.entry.js +1 -0
  6. package/dist/bn-template-engine/p-64803a42.entry.js +1 -0
  7. package/dist/bn-template-engine/p-B8AjeKja.js +1 -0
  8. package/dist/bn-template-engine/p-CCZcKl0Q.js +2 -0
  9. package/dist/bn-template-engine/p-CrT83eO4.js +1 -0
  10. package/dist/bn-template-engine/p-D_DzKxRV.js +1 -0
  11. package/dist/bn-template-engine/p-Z2rUaSh_.js +1 -0
  12. package/dist/bn-template-engine/p-c41c0a1b.entry.js +1 -0
  13. package/dist/bn-template-engine/p-yc69rwuH.js +1 -0
  14. package/dist/cjs/{bn-asset_28.cjs.entry.js → bn-annotation-layer_30.cjs.entry.js} +27566 -26774
  15. package/dist/cjs/bn-grid.cjs.entry.js +11 -63
  16. package/dist/cjs/bn-image.cjs.entry.js +5 -6
  17. package/dist/cjs/bn-internationalization.cjs.entry.js +11 -7
  18. package/dist/cjs/bn-ruleset.cjs.entry.js +7 -8
  19. package/dist/cjs/bn-template-engine.cjs.js +2 -2
  20. package/dist/cjs/bn-text.cjs.entry.js +18 -18
  21. package/dist/cjs/{diagnostics-Cq-qDtXq.js → diagnostics-C4Ggts3w.js} +50 -2
  22. package/dist/cjs/{index-C1Z9vO7z.js → index-DGis1BzT.js} +0 -1
  23. package/dist/cjs/loader.cjs.js +2 -2
  24. package/dist/cjs/{withBodyObserver-CaPUjuC5.js → withBodyObserver-BK4idxqG.js} +2 -2
  25. package/dist/cjs/{context-protocol-C0rKepqu.js → withHasError-CqvcS23z.js} +462 -14
  26. package/dist/cjs/{withStyled-vSfogp9J.js → withStyled-70D4Isgt.js} +22 -35
  27. package/dist/cjs/{sanitizeHtml-Yx1xn6i_.js → withTranslation-C6Pye2CM.js} +148 -129
  28. package/dist/collection/collection-manifest.json +11 -11
  29. package/dist/collection/components/bn-annotation-layer/bn-annotation-layer.css +24 -0
  30. package/dist/collection/components/bn-annotation-layer/bn-annotation-layer.js +430 -0
  31. package/dist/collection/components/bn-annotation-layer/utils/marks.js +161 -0
  32. package/dist/collection/components/bn-annotation-layer/utils/matchPoint.js +25 -0
  33. package/dist/collection/components/bn-annotation-list/bn-annotation-list.css +46 -0
  34. package/dist/collection/components/bn-annotation-list/bn-annotation-list.js +112 -0
  35. package/dist/collection/components/bn-asset/bn-asset.js +1 -1
  36. package/dist/collection/components/bn-body/bn-body.js +24 -1
  37. package/dist/collection/components/bn-card/bn-card.js +24 -1
  38. package/dist/collection/components/bn-chart-bubble/{ibcs-chart-bubble.js → bn-chart-bubble-renderer/bn-chart-bubble-renderer.js} +153 -59
  39. package/dist/collection/components/bn-chart-bubble/bn-chart-bubble.js +70 -13
  40. package/dist/collection/components/bn-chart-bubble/utils/BubbleChart.js +29 -21
  41. package/dist/collection/components/bn-chart-bullet/{ibcs-chart-bullet.js → bn-chart-bullet-renderer/bn-chart-bullet-renderer.js} +127 -53
  42. package/dist/collection/components/bn-chart-bullet/bn-chart-bullet.js +83 -20
  43. package/dist/collection/components/bn-chart-bullet/utils/BulletChart.js +26 -17
  44. package/dist/collection/components/bn-chart-bullet/utils/model/BulletChartStyle.js +4 -4
  45. package/dist/collection/components/bn-chart-scatter/{ibcs-chart-scatter.js → bn-chart-scatter-renderer/bn-chart-scatter-renderer.js} +132 -53
  46. package/dist/collection/components/bn-chart-scatter/bn-chart-scatter.js +69 -12
  47. package/dist/collection/components/bn-chart-scatter/utils/ScatterChart.js +26 -14
  48. package/dist/collection/components/bn-chart-structure/{ibcs-chart-structure.js → bn-chart-structure-renderer/bn-chart-structure-renderer.js} +159 -66
  49. package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +115 -95
  50. package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +44 -15
  51. package/dist/collection/components/bn-chart-structure/utils/elements/Axis.js +1 -1
  52. package/dist/collection/components/bn-chart-structure/utils/elements/Bar.js +6 -2
  53. package/dist/collection/components/bn-chart-structure/utils/elements/Label.js +11 -0
  54. package/dist/collection/components/bn-chart-structure/utils/elements/Marker.js +5 -1
  55. package/dist/collection/components/bn-chart-structure/utils/elements/Needle.js +4 -1
  56. package/dist/collection/components/bn-chart-structure/utils/elements/StackedBar.js +6 -2
  57. package/dist/collection/components/bn-chart-time/{ibcs-chart-time.js → bn-chart-time-renderer/bn-chart-time-renderer.js} +188 -150
  58. package/dist/collection/components/bn-chart-time/bn-chart-time.js +140 -405
  59. package/dist/collection/components/bn-chart-time/utils/TimeChart.js +55 -15
  60. package/dist/collection/components/bn-chart-time/utils/elements/Column.js +5 -1
  61. package/dist/collection/components/bn-chart-time/utils/elements/Label.js +14 -0
  62. package/dist/collection/components/bn-chart-time/utils/elements/LineSeries.js +18 -12
  63. package/dist/collection/components/bn-chart-time/utils/elements/Marker.js +5 -1
  64. package/dist/collection/components/bn-chart-time/utils/elements/Needle.js +4 -1
  65. package/dist/collection/components/bn-chart-time/utils/elements/StackedColumn.js +6 -2
  66. package/dist/collection/components/bn-chart-time/utils/factories/ScenarioFactory.js +2 -2
  67. package/dist/collection/components/bn-chart-time/utils/model/TimeChartComponentConfig.js +2 -18
  68. package/dist/collection/components/bn-component-style/bn-component-style.js +3 -3
  69. package/dist/collection/components/bn-context/bn-context.js +24 -5
  70. package/dist/collection/components/bn-dataset/bn-dataset.js +8 -8
  71. package/dist/collection/components/bn-datasource/bn-datasource.js +8 -8
  72. package/dist/collection/components/bn-footer/bn-footer.css +1 -15
  73. package/dist/collection/components/bn-footer/bn-footer.js +17 -34
  74. package/dist/collection/components/bn-grid/bn-grid.js +38 -71
  75. package/dist/collection/components/bn-image/bn-image.js +21 -2
  76. package/dist/collection/components/bn-internationalization/bn-internationalization.js +7 -1
  77. package/dist/collection/components/bn-layout-card/bn-layout-card.js +3 -32
  78. package/dist/collection/components/bn-layout-page/bn-layout-page.js +3 -32
  79. package/dist/collection/components/bn-message/bn-message.js +20 -2
  80. package/dist/collection/components/bn-page/bn-page.js +22 -3
  81. package/dist/collection/components/bn-ruleset/bn-ruleset.js +3 -3
  82. package/dist/collection/components/bn-scaling-group/bn-scaling-group.js +9 -9
  83. package/dist/collection/components/bn-table/{ibcs-table.js → bn-table-renderer/bn-table-renderer.js} +230 -83
  84. package/dist/collection/components/bn-table/bn-table.js +134 -157
  85. package/dist/collection/components/bn-table/utils/Table.js +3 -3
  86. package/dist/collection/components/bn-table/utils/elements/TableRow.js +1 -1
  87. package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +38 -4
  88. package/dist/collection/components/bn-table/utils/helper/DataQuery.js +3 -1
  89. package/dist/collection/components/bn-table/utils/helper/barColumnGeometry.js +2 -2
  90. package/dist/collection/components/bn-text/bn-text.js +66 -8
  91. package/dist/collection/components/bn-title/{ibcs-title/ibcs-title.js → bn-title-renderer/bn-title-renderer.js} +59 -83
  92. package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/Title.js +2 -2
  93. package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/factories/TitleDataSetFactory.js +1 -1
  94. package/dist/collection/components/bn-title/bn-title.js +58 -14
  95. package/dist/collection/components/bn-tree/bn-tree.js +30 -28
  96. package/dist/collection/index.js +0 -1
  97. package/dist/collection/schemas.js +1 -0
  98. package/dist/collection/stores/componentStyles.js +10 -6
  99. package/dist/collection/stores/createScopedStores.js +3 -1
  100. package/dist/collection/stores/internationalization.js +10 -6
  101. package/dist/collection/utils/annotations.js +66 -0
  102. package/dist/collection/utils/autoFit.js +2 -2
  103. package/dist/collection/utils/emptyState.js +1 -1
  104. package/dist/collection/utils/ibcsRuleSet.js +42 -0
  105. package/dist/collection/utils/layoutState/dataPoint.js +59 -0
  106. package/dist/collection/utils/layoutState/geometry.js +46 -0
  107. package/dist/collection/utils/layoutState/index.js +1 -0
  108. package/dist/collection/utils/layoutState/svgChartElements.js +113 -11
  109. package/dist/collection/utils/layoutTemplate.js +0 -2
  110. package/dist/collection/utils/scaling.js +9 -0
  111. package/dist/collection/utils/validate.js +0 -7
  112. package/dist/collection/utils/withComponentStyle.js +14 -18
  113. package/dist/collection/utils/withDataset.js +22 -11
  114. package/dist/collection/utils/withHasError.js +17 -2
  115. package/dist/collection/utils/withRuleSet.js +7 -7
  116. package/dist/collection/utils/withTranslation.js +14 -14
  117. package/dist/collection/utils/xy/XYFrame.js +13 -3
  118. package/dist/collection/utils/xy/model/ScaleFactorsXYChart.js +8 -9
  119. package/dist/collection/utils/xy/pointKey.js +10 -0
  120. package/dist/components/{ibcs-chart-bullet.d.ts → bn-annotation-layer.d.ts} +4 -4
  121. package/dist/components/bn-annotation-layer.js +1 -0
  122. package/dist/components/{ibcs-chart-scatter.d.ts → bn-annotation-list.d.ts} +4 -4
  123. package/dist/components/bn-annotation-list.js +1 -0
  124. package/dist/components/bn-asset.js +1 -1
  125. package/dist/components/bn-body.js +1 -1
  126. package/dist/components/bn-card.js +1 -1
  127. package/dist/components/bn-chart-bubble-renderer.d.ts +11 -0
  128. package/dist/components/bn-chart-bubble-renderer.js +1 -0
  129. package/dist/components/bn-chart-bubble.js +1 -1
  130. package/dist/components/bn-chart-bullet-renderer.d.ts +11 -0
  131. package/dist/components/bn-chart-bullet-renderer.js +1 -0
  132. package/dist/components/bn-chart-bullet.js +1 -1
  133. package/dist/components/bn-chart-scatter-renderer.d.ts +11 -0
  134. package/dist/components/bn-chart-scatter-renderer.js +1 -0
  135. package/dist/components/bn-chart-scatter.js +1 -1
  136. package/dist/components/bn-chart-structure-renderer.d.ts +11 -0
  137. package/dist/components/bn-chart-structure-renderer.js +1 -0
  138. package/dist/components/bn-chart-structure.js +1 -1
  139. package/dist/components/{bn-template.d.ts → bn-chart-time-renderer.d.ts} +4 -4
  140. package/dist/components/bn-chart-time-renderer.js +1 -0
  141. package/dist/components/bn-chart-time.js +1 -1
  142. package/dist/components/bn-component-style.js +1 -1
  143. package/dist/components/bn-context.js +1 -1
  144. package/dist/components/bn-dataset.js +1 -1
  145. package/dist/components/bn-datasource.js +1 -1
  146. package/dist/components/bn-footer.js +1 -1
  147. package/dist/components/bn-grid.js +1 -1
  148. package/dist/components/bn-image.js +1 -1
  149. package/dist/components/bn-internationalization.js +1 -1
  150. package/dist/components/bn-layout-card.js +1 -1
  151. package/dist/components/bn-layout-page.js +1 -1
  152. package/dist/components/bn-message.js +1 -1
  153. package/dist/components/bn-page.js +1 -1
  154. package/dist/components/bn-ruleset.js +1 -1
  155. package/dist/components/bn-scaling-group.js +1 -1
  156. package/dist/components/{ibcs-chart-bubble.d.ts → bn-table-renderer.d.ts} +4 -4
  157. package/dist/components/bn-table-renderer.js +1 -0
  158. package/dist/components/bn-table.js +1 -1
  159. package/dist/components/bn-text.js +1 -1
  160. package/dist/components/{editor-companion.d.ts → bn-title-renderer.d.ts} +4 -4
  161. package/dist/components/bn-title-renderer.js +1 -0
  162. package/dist/components/bn-title.js +1 -1
  163. package/dist/components/bn-tree.js +1 -1
  164. package/dist/components/index.js +1 -1
  165. package/dist/components/p-B1nL0yOa.js +1 -0
  166. package/dist/components/p-B7uwck1J.js +1 -0
  167. package/dist/components/p-BDS_jiow.js +1 -0
  168. package/dist/components/p-BIIDTtcR.js +1 -0
  169. package/dist/components/p-BQMKgvEC.js +1 -0
  170. package/dist/components/p-BSV_vyqs.js +1 -0
  171. package/dist/components/p-BVKLCz2k.js +1 -0
  172. package/dist/components/p-BWBHlztH.js +1 -0
  173. package/dist/components/p-BXrPfAvP.js +1 -0
  174. package/dist/components/p-Ba9PUiBp.js +1 -0
  175. package/dist/components/p-BpCL2bfw.js +1 -0
  176. package/dist/components/p-BpsXOtoW.js +1 -0
  177. package/dist/components/p-Bs-YxJEt.js +1 -0
  178. package/dist/components/p-CGI6XIaK.js +1 -0
  179. package/dist/components/p-CMM8vtHW.js +1 -0
  180. package/dist/components/p-COqIkH1M.js +1 -0
  181. package/dist/components/p-CYwd_ZNM.js +1 -0
  182. package/dist/components/p-CkW23yp2.js +1 -0
  183. package/dist/components/p-CtBM3KFY.js +1 -0
  184. package/dist/{bn-template-engine/p-DFmSrSnf.js → components/p-CurWSJkH.js} +1 -1
  185. package/dist/components/p-CxPSvrcF.js +1 -0
  186. package/dist/components/p-D2Epww9R.js +1 -0
  187. package/dist/components/p-D5-dYgK_.js +1 -0
  188. package/dist/components/p-D6YGOYV1.js +2 -0
  189. package/dist/components/p-DEHnizot.js +1 -0
  190. package/dist/components/p-DIyUaSBg.js +1 -0
  191. package/dist/components/p-DPLcGhVt.js +1 -0
  192. package/dist/components/p-DUHp_9X-.js +1 -0
  193. package/dist/components/p-DYG9FH_u.js +1 -0
  194. package/dist/components/p-DdGnuNtc.js +1 -0
  195. package/dist/components/p-Dlb4ncGF.js +1 -0
  196. package/dist/components/p-Dm55bMs2.js +1 -0
  197. package/dist/components/p-Dq1AzGKX.js +1 -0
  198. package/dist/components/p-Dq4KMCDU.js +1 -0
  199. package/dist/components/p-DsOaqeTN.js +1 -0
  200. package/dist/components/p-Ds_BSK8v.js +1 -0
  201. package/dist/components/p-LZ9lAY8T.js +1 -0
  202. package/dist/components/p-U3zkcEJZ.js +1 -0
  203. package/dist/components/p-WzaayhTX.js +1 -0
  204. package/dist/components/p-X9hpquOX.js +1 -0
  205. package/dist/components/p-Xb6Ilq8u.js +1 -0
  206. package/dist/components/p-ey23VlID.js +1 -0
  207. package/dist/components/p-jbp6YiHf.js +1 -0
  208. package/dist/components/p-oJjMz8JF.js +1 -0
  209. package/dist/components/p-xhiPDAZa.js +1 -0
  210. package/dist/components/p-xpguaboj.js +1 -0
  211. package/dist/esm/{bn-asset_28.entry.js → bn-annotation-layer_30.entry.js} +24689 -23899
  212. package/dist/esm/bn-grid.entry.js +11 -63
  213. package/dist/esm/bn-image.entry.js +4 -5
  214. package/dist/esm/bn-internationalization.entry.js +9 -5
  215. package/dist/esm/bn-ruleset.entry.js +6 -7
  216. package/dist/esm/bn-template-engine.js +3 -3
  217. package/dist/esm/bn-text.entry.js +12 -12
  218. package/dist/esm/{diagnostics-vw6TKMiT.js → diagnostics-Cyqy1zDT.js} +48 -2
  219. package/dist/esm/{index-C5UYpZUU.js → index-CCZcKl0Q.js} +1 -1
  220. package/dist/esm/loader.js +3 -3
  221. package/dist/esm/{withBodyObserver-DD_-r04o.js → withBodyObserver-JcRB9OPQ.js} +2 -2
  222. package/dist/esm/{context-protocol-CdTp19uA.js → withHasError-l3cMN-oP.js} +458 -14
  223. package/dist/esm/{withStyled-BDEyKd_H.js → withStyled-DGOiR00Q.js} +17 -29
  224. package/dist/esm/{sanitizeHtml-C5bFtARM.js → withTranslation-BpO8BC5B.js} +144 -126
  225. package/dist/schemas/axis.schema.json +52 -0
  226. package/dist/schemas/i18n.schema.json +31 -0
  227. package/dist/schemas/partof.schema.json +33 -0
  228. package/dist/schemas/ruleset.schema.json +59 -0
  229. package/dist/schemas/stack.schema.json +51 -0
  230. package/dist/schemas/theme.schema.json +604 -0
  231. package/dist/schemas/thereof.schema.json +34 -0
  232. package/dist/types/components/bn-annotation-layer/bn-annotation-layer.d.ts +81 -0
  233. package/dist/types/components/bn-annotation-layer/utils/marks.d.ts +69 -0
  234. package/dist/types/components/bn-annotation-layer/utils/matchPoint.d.ts +17 -0
  235. package/dist/types/components/bn-annotation-list/bn-annotation-list.d.ts +35 -0
  236. package/dist/types/components/bn-body/bn-body.d.ts +5 -0
  237. package/dist/types/components/bn-card/bn-card.d.ts +5 -0
  238. package/dist/types/components/bn-chart-bubble/bn-chart-bubble-renderer/bn-chart-bubble-renderer.d.ts +97 -0
  239. package/dist/types/components/bn-chart-bubble/bn-chart-bubble.d.ts +20 -2
  240. package/dist/types/components/bn-chart-bullet/bn-chart-bullet-renderer/bn-chart-bullet-renderer.d.ts +81 -0
  241. package/dist/types/components/bn-chart-bullet/bn-chart-bullet.d.ts +21 -3
  242. package/dist/types/components/bn-chart-bullet/utils/BulletChart.d.ts +2 -0
  243. package/dist/types/components/bn-chart-bullet/utils/model/BulletChartStyle.d.ts +2 -2
  244. package/dist/types/components/bn-chart-scatter/bn-chart-scatter-renderer/bn-chart-scatter-renderer.d.ts +85 -0
  245. package/dist/types/components/bn-chart-scatter/bn-chart-scatter.d.ts +20 -2
  246. package/dist/types/components/bn-chart-structure/{ibcs-chart-structure.d.ts → bn-chart-structure-renderer/bn-chart-structure-renderer.d.ts} +43 -13
  247. package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +29 -17
  248. package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +7 -0
  249. package/dist/types/components/bn-chart-structure/utils/elements/Label.d.ts +5 -0
  250. package/dist/types/components/bn-chart-structure/utils/elements/Marker.d.ts +1 -0
  251. package/dist/types/components/bn-chart-structure/utils/elements/StackedBar.d.ts +2 -1
  252. package/dist/types/components/bn-chart-structure/utils/model/DataPoint.d.ts +3 -0
  253. package/dist/types/components/bn-chart-time/{ibcs-chart-time.d.ts → bn-chart-time-renderer/bn-chart-time-renderer.d.ts} +50 -17
  254. package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +36 -66
  255. package/dist/types/components/bn-chart-time/utils/TimeChart.d.ts +7 -0
  256. package/dist/types/components/bn-chart-time/utils/elements/Label.d.ts +5 -0
  257. package/dist/types/components/bn-chart-time/utils/elements/LineSeries.d.ts +5 -1
  258. package/dist/types/components/bn-chart-time/utils/elements/Marker.d.ts +1 -0
  259. package/dist/types/components/bn-chart-time/utils/elements/StackedColumn.d.ts +2 -1
  260. package/dist/types/components/bn-chart-time/utils/factories/ScenarioFactory.d.ts +1 -1
  261. package/dist/types/components/bn-chart-time/utils/model/DataPoint.d.ts +3 -0
  262. package/dist/types/components/bn-chart-time/utils/model/TimeChartComponentConfig.d.ts +2 -8
  263. package/dist/types/components/bn-context/bn-context.d.ts +7 -1
  264. package/dist/types/components/bn-dataset/bn-dataset.d.ts +2 -2
  265. package/dist/types/components/bn-datasource/bn-datasource.d.ts +2 -2
  266. package/dist/types/components/bn-footer/bn-footer.d.ts +5 -7
  267. package/dist/types/components/bn-grid/bn-grid.d.ts +8 -6
  268. package/dist/types/components/bn-image/bn-image.d.ts +4 -0
  269. package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +0 -1
  270. package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +0 -1
  271. package/dist/types/components/bn-message/bn-message.d.ts +5 -0
  272. package/dist/types/components/bn-page/bn-page.d.ts +5 -0
  273. package/dist/types/components/bn-table/{ibcs-table.d.ts → bn-table-renderer/bn-table-renderer.d.ts} +49 -12
  274. package/dist/types/components/bn-table/bn-table.d.ts +48 -49
  275. package/dist/types/components/bn-table/utils/elements/Cell.d.ts +2 -0
  276. package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +2 -1
  277. package/dist/types/components/bn-table/utils/elements/TableRow.d.ts +3 -0
  278. package/dist/types/components/bn-table/utils/factories/tableDataSetFactory.d.ts +9 -2
  279. package/dist/types/components/bn-text/bn-text.d.ts +19 -1
  280. package/dist/types/components/bn-title/{ibcs-title/ibcs-title.d.ts → bn-title-renderer/bn-title-renderer.d.ts} +15 -4
  281. package/dist/types/components/bn-title/bn-title.d.ts +15 -3
  282. package/dist/types/components/bn-tree/bn-tree.d.ts +6 -2
  283. package/dist/types/components.d.ts +2070 -2406
  284. package/dist/types/context/context-protocol.d.ts +2 -0
  285. package/dist/types/context/scopedDb.d.ts +9 -12
  286. package/dist/types/index.d.ts +0 -1
  287. package/dist/types/schemas.d.ts +50 -0
  288. package/dist/types/stores/componentStyles.d.ts +8 -0
  289. package/dist/types/stores/createScopedStores.d.ts +1 -0
  290. package/dist/types/stores/internationalization.d.ts +3 -2
  291. package/dist/types/stores/ruleSets.d.ts +15 -3
  292. package/dist/types/utils/annotations.d.ts +45 -0
  293. package/dist/types/utils/autoFit.d.ts +2 -2
  294. package/dist/types/utils/emptyState.d.ts +1 -1
  295. package/dist/types/utils/ibcsRuleSet.d.ts +16 -0
  296. package/dist/types/utils/layoutState/dataPoint.d.ts +13 -0
  297. package/dist/types/utils/layoutState/geometry.d.ts +12 -0
  298. package/dist/types/utils/layoutState/index.d.ts +1 -0
  299. package/dist/types/utils/layoutState/svgChartElements.d.ts +9 -6
  300. package/dist/types/utils/layoutState/types.d.ts +29 -0
  301. package/dist/types/utils/model/ChartStyles.d.ts +2 -1
  302. package/dist/types/utils/scaling.d.ts +2 -0
  303. package/dist/types/utils/validate.d.ts +0 -1
  304. package/dist/types/utils/withComponentStyle.d.ts +4 -4
  305. package/dist/types/utils/withDataset.d.ts +3 -3
  306. package/dist/types/utils/withHasError.d.ts +22 -1
  307. package/dist/types/utils/withRuleSet.d.ts +3 -2
  308. package/dist/types/utils/withTranslation.d.ts +1 -2
  309. package/dist/types/utils/xy/model/ScaleFactorsXYChart.d.ts +6 -7
  310. package/dist/types/utils/xy/pointKey.d.ts +9 -0
  311. package/package.json +24 -8
  312. package/readme.md +14 -8
  313. package/dist/bn-template-engine/assets/bar.png +0 -0
  314. package/dist/bn-template-engine/assets/matrix.png +0 -0
  315. package/dist/bn-template-engine/p-5075771a.entry.js +0 -1
  316. package/dist/bn-template-engine/p-5d516435.entry.js +0 -1
  317. package/dist/bn-template-engine/p-5e90e728.entry.js +0 -1
  318. package/dist/bn-template-engine/p-9ef7e132.entry.js +0 -1
  319. package/dist/bn-template-engine/p-9f7a1980.entry.js +0 -1
  320. package/dist/bn-template-engine/p-BeXgxHkW.js +0 -1
  321. package/dist/bn-template-engine/p-C5UYpZUU.js +0 -2
  322. package/dist/bn-template-engine/p-CH0bpt_k.js +0 -1
  323. package/dist/bn-template-engine/p-DI3efDSV.js +0 -1
  324. package/dist/bn-template-engine/p-DXLTTILG.js +0 -1
  325. package/dist/bn-template-engine/p-DtP4jqG5.js +0 -1
  326. package/dist/bn-template-engine/p-a8281b71.entry.js +0 -1
  327. package/dist/bn-template-engine/p-b31277e7.entry.js +0 -1
  328. package/dist/bn-template-engine/p-b396ac84.entry.js +0 -1
  329. package/dist/cjs/bn-template.cjs.entry.js +0 -18
  330. package/dist/cjs/editor-companion.cjs.entry.js +0 -56
  331. package/dist/cjs/withHasError-qGW_yqIv.js +0 -426
  332. package/dist/collection/components/bn-footer/assets/bar.png +0 -0
  333. package/dist/collection/components/bn-footer/assets/matrix.png +0 -0
  334. package/dist/collection/components/bn-message/assets/bar.png +0 -0
  335. package/dist/collection/components/bn-message/assets/matrix.png +0 -0
  336. package/dist/collection/components/bn-template/bn-template.js +0 -38
  337. package/dist/collection/components/editor-companion/editor-companion.css +0 -3
  338. package/dist/collection/components/editor-companion/editor-companion.js +0 -137
  339. package/dist/collection/utils/templateId.js +0 -12
  340. package/dist/collection/utils/testing/fakeGroup.js +0 -21
  341. package/dist/collection/utils/testing/hostFont.js +0 -20
  342. package/dist/collection/utils/testing/mutationObserver.js +0 -44
  343. package/dist/collection/utils/testing/structureChart.js +0 -26
  344. package/dist/collection/utils/testing/timeChart.js +0 -28
  345. package/dist/components/AxisConfig.js +0 -1
  346. package/dist/components/CompareUtil.js +0 -1
  347. package/dist/components/DataFormatDigits.js +0 -1
  348. package/dist/components/DateStringFactory.js +0 -1
  349. package/dist/components/LabelCollisionManager.js +0 -1
  350. package/dist/components/Order.js +0 -1
  351. package/dist/components/SVGStyle.js +0 -1
  352. package/dist/components/SVGVariancesStyleGroup.js +0 -1
  353. package/dist/components/StringAdapter.js +0 -1
  354. package/dist/components/VarianceMeasure.js +0 -1
  355. package/dist/components/XYChartDataRow.js +0 -1
  356. package/dist/components/bn-body2.js +0 -1
  357. package/dist/components/bn-card2.js +0 -1
  358. package/dist/components/bn-footer2.js +0 -1
  359. package/dist/components/bn-message2.js +0 -1
  360. package/dist/components/bn-page2.js +0 -1
  361. package/dist/components/bn-template.js +0 -1
  362. package/dist/components/bn-title2.js +0 -1
  363. package/dist/components/checkXYOverflow.js +0 -1
  364. package/dist/components/contentDecoder.js +0 -1
  365. package/dist/components/context-protocol.js +0 -1
  366. package/dist/components/editor-companion.js +0 -1
  367. package/dist/components/formatter.js +0 -1
  368. package/dist/components/geometry.js +0 -1
  369. package/dist/components/ibcs-chart-bubble.js +0 -1
  370. package/dist/components/ibcs-chart-bubble2.js +0 -1
  371. package/dist/components/ibcs-chart-bullet.js +0 -1
  372. package/dist/components/ibcs-chart-bullet2.js +0 -1
  373. package/dist/components/ibcs-chart-scatter.js +0 -1
  374. package/dist/components/ibcs-chart-scatter2.js +0 -1
  375. package/dist/components/ibcs-chart-structure.d.ts +0 -11
  376. package/dist/components/ibcs-chart-structure.js +0 -1
  377. package/dist/components/ibcs-chart-structure2.js +0 -1
  378. package/dist/components/ibcs-chart-time.d.ts +0 -11
  379. package/dist/components/ibcs-chart-time.js +0 -1
  380. package/dist/components/ibcs-chart-time2.js +0 -1
  381. package/dist/components/ibcs-table.d.ts +0 -11
  382. package/dist/components/ibcs-table.js +0 -1
  383. package/dist/components/ibcs-table2.js +0 -1
  384. package/dist/components/ibcs-title.d.ts +0 -11
  385. package/dist/components/ibcs-title.js +0 -1
  386. package/dist/components/ibcs-title2.js +0 -1
  387. package/dist/components/layoutTemplate.js +0 -1
  388. package/dist/components/luxon.js +0 -1
  389. package/dist/components/scaling.js +0 -1
  390. package/dist/components/svg.esm.js +0 -1
  391. package/dist/components/svgChartElements.js +0 -1
  392. package/dist/components/types.js +0 -1
  393. package/dist/components/validate.js +0 -1
  394. package/dist/components/withBodyObserver.js +0 -1
  395. package/dist/components/withComponentStatus.js +0 -1
  396. package/dist/components/withComponentStyle.js +0 -1
  397. package/dist/components/withDataset.js +0 -1
  398. package/dist/components/withHasError.js +0 -1
  399. package/dist/components/withRuleSet.js +0 -1
  400. package/dist/components/withScalingGroup.js +0 -1
  401. package/dist/components/withStyled.js +0 -1
  402. package/dist/components/withTranslation.js +0 -1
  403. package/dist/esm/bn-template.entry.js +0 -16
  404. package/dist/esm/editor-companion.entry.js +0 -54
  405. package/dist/esm/withHasError-73WV2SP5.js +0 -422
  406. package/dist/types/components/bn-chart-bubble/ibcs-chart-bubble.d.ts +0 -59
  407. package/dist/types/components/bn-chart-bullet/ibcs-chart-bullet.d.ts +0 -53
  408. package/dist/types/components/bn-chart-scatter/ibcs-chart-scatter.d.ts +0 -54
  409. package/dist/types/components/bn-template/bn-template.d.ts +0 -10
  410. package/dist/types/components/editor-companion/editor-companion.d.ts +0 -20
  411. package/dist/types/utils/templateId.d.ts +0 -9
  412. package/dist/types/utils/testing/fakeGroup.d.ts +0 -8
  413. package/dist/types/utils/testing/hostFont.d.ts +0 -16
  414. package/dist/types/utils/testing/mutationObserver.d.ts +0 -5
  415. package/dist/types/utils/testing/structureChart.d.ts +0 -5
  416. package/dist/types/utils/testing/timeChart.d.ts +0 -5
  417. /package/dist/collection/components/bn-chart-bubble/{ibcs-chart-bubble.css → bn-chart-bubble-renderer/bn-chart-bubble-renderer.css} +0 -0
  418. /package/dist/collection/components/bn-chart-bullet/{ibcs-chart-bullet.css → bn-chart-bullet-renderer/bn-chart-bullet-renderer.css} +0 -0
  419. /package/dist/collection/components/bn-chart-scatter/{ibcs-chart-scatter.css → bn-chart-scatter-renderer/bn-chart-scatter-renderer.css} +0 -0
  420. /package/dist/collection/components/bn-chart-time/{ibcs-chart-time.css → bn-chart-time-renderer/bn-chart-time-renderer.css} +0 -0
  421. /package/dist/collection/components/bn-table/{ibcs-table.css → bn-table-renderer/bn-table-renderer.css} +0 -0
  422. /package/dist/collection/components/bn-title/{ibcs-title/ibcs-title.css → bn-title-renderer/bn-title-renderer.css} +0 -0
  423. /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/factories/index.js +0 -0
  424. /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/MeasureEntriy.js +0 -0
  425. /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/TimePeriod.js +0 -0
  426. /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/TitleConfig.js +0 -0
  427. /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/index.js +0 -0
  428. /package/dist/components/{stackColors.js → p-4q8nRcWC.js} +0 -0
  429. /package/dist/components/{merge.js → p-B2NXsfMz.js} +0 -0
  430. /package/dist/components/{layoutObserver.js → p-B6kka9sT.js} +0 -0
  431. /package/dist/components/{NumericScale.js → p-BJmwHV0a.js} +0 -0
  432. /package/dist/components/{stackLayout.js → p-BTnRaHPb.js} +0 -0
  433. /package/dist/components/{emotion-hash.esm.js → p-BYBpC0EO.js} +0 -0
  434. /package/dist/components/{diagnostics.js → p-CckAR27O.js} +0 -0
  435. /package/dist/components/{SiPrefix.js → p-CeE4_3wQ.js} +0 -0
  436. /package/dist/components/{queryError.js → p-ClruFZD_.js} +0 -0
  437. /package/dist/components/{sanitizeHtml.js → p-CyUmrWfW.js} +0 -0
  438. /package/dist/components/{TableAttribute.js → p-DCPLGEs_.js} +0 -0
  439. /package/dist/components/{parentDimensions.js → p-DD1zlev_.js} +0 -0
  440. /package/dist/components/{pageFormats.js → p-DM7fwmH4.js} +0 -0
  441. /package/dist/components/{emptyState.js → p-DakXa7Dp.js} +0 -0
  442. /package/dist/components/{relativeVariance.js → p-fCjsrD7I.js} +0 -0
  443. /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/Title.d.ts +0 -0
  444. /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/factories/TitleDataSetFactory.d.ts +0 -0
  445. /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/factories/index.d.ts +0 -0
  446. /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/MeasureEntriy.d.ts +0 -0
  447. /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/TimePeriod.d.ts +0 -0
  448. /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/TitleConfig.d.ts +0 -0
  449. /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/index.d.ts +0 -0
@@ -0,0 +1,81 @@
1
+ /**
2
+ * Draws annotation marks over a page: a numbered circle on a data point, a
3
+ * rounded frame around a value, or a straight arrow between two data points.
4
+ *
5
+ * The marks are an overlay and not part of the charts, because a chart
6
+ * rewrites its SVG on every render. Positions come from `getLayoutState()` of
7
+ * the components, and they are measured again when a component resizes or
8
+ * draws again. A point with no match, or with more than one, draws nothing:
9
+ * that is a finding in the data and not a broken page, so the layer does not fail.
10
+ *
11
+ * Place it in the `annotations` slot of `bn-layout-page`. The numbers are given,
12
+ * the layer never counts.
13
+ *
14
+ * @example
15
+ * <bn-layout-page>
16
+ * <div slot="slot-0" data-bino-annotation-target="t1"><bn-chart-time ...></bn-chart-time></div>
17
+ * <bn-annotation-layer slot="annotations"
18
+ * items='[{"label":"1","mark":"marker","target":"t1","point":{"date":"2024-01-01","scenario":"pl1"}}]'>
19
+ * </bn-annotation-layer>
20
+ * </bn-layout-page>
21
+ */
22
+ export declare class AnnotationLayer {
23
+ private element;
24
+ /**
25
+ * JSON array of the marks, each one `{ label?, mark?, color?, target, point?, to?, toPoint? }`.
26
+ * `mark` is `marker` (default), `frame` or `arrow`. `target` and `to` name a
27
+ * `data-bino-annotation-target` on this page. `point` and `toPoint` hold raw
28
+ * data values (`rowGroup`, `category`, `subCategory`, `date`, `scenario`, `row`)
29
+ * and a `part` (`element`, `label`, `total`). Without a field they mean the
30
+ * component as a whole.
31
+ */
32
+ items?: string;
33
+ /**
34
+ * Name of the component style to use (the `name` of a
35
+ * `<bn-component-style>`). Its section `bn-annotation` sets the colours.
36
+ */
37
+ selectedStyle?: string;
38
+ private marks;
39
+ private readonly errors;
40
+ private readonly holdStatus;
41
+ private readonly componentStyle;
42
+ private stores;
43
+ private pageKey;
44
+ private parsedItems;
45
+ private svg?;
46
+ private scheduled;
47
+ private run;
48
+ private resizeObserver?;
49
+ private mutationObserver?;
50
+ private observed;
51
+ private reported;
52
+ constructor();
53
+ connectedCallback(): void;
54
+ disconnectedCallback(): void;
55
+ componentWillLoad(): void;
56
+ componentDidLoad(): void;
57
+ onItemsChange(): void;
58
+ private parseItems;
59
+ /**
60
+ * Places the marks after the next paint. The layer counts as working until
61
+ * then, so a printer does not print a page with marks of an older layout.
62
+ */
63
+ private readonly schedule;
64
+ private place;
65
+ /**
66
+ * Not part of the placement: the register would wait for this layer, and this
67
+ * layer for the register. The checks end within the quiet period the register
68
+ * has before it publishes, so the warning is out before a page counts as ready.
69
+ */
70
+ private reportWhenQuiet;
71
+ private report;
72
+ /** The screen box of an element is axis-aligned on a rotated page too, so its corners map to a box here. */
73
+ private toLocalSpace;
74
+ private storeUnplaced;
75
+ /** A chart redraws inside its shadow roots, where the host and a mutation observer on it see nothing. */
76
+ private observe;
77
+ private observeSize;
78
+ private renderBadge;
79
+ private renderMark;
80
+ render(): any;
81
+ }
@@ -0,0 +1,69 @@
1
+ import { AnnotationLayerItem } from "../../../utils/annotations";
2
+ export interface Box {
3
+ x: number;
4
+ y: number;
5
+ width: number;
6
+ height: number;
7
+ }
8
+ interface Area {
9
+ width: number;
10
+ height: number;
11
+ }
12
+ interface Badge {
13
+ cx: number;
14
+ cy: number;
15
+ r: number;
16
+ label?: string;
17
+ }
18
+ /** What the layer draws for one item, in the coordinates of its SVG. `color` is the name given in the item. */
19
+ export type DrawnMark = {
20
+ kind: "marker";
21
+ color?: string;
22
+ badge: Badge;
23
+ } | {
24
+ kind: "frame";
25
+ color?: string;
26
+ x: number;
27
+ y: number;
28
+ width: number;
29
+ height: number;
30
+ rx: number;
31
+ ry: number;
32
+ badge?: Badge;
33
+ } | {
34
+ kind: "arrow";
35
+ color?: string;
36
+ x1: number;
37
+ y1: number;
38
+ x2: number;
39
+ y2: number;
40
+ head: string;
41
+ badge?: Badge;
42
+ };
43
+ export interface MarkOptions {
44
+ /** The box is a component and not one of its data points. */
45
+ whole?: boolean;
46
+ /** The size of the layer: marks that would leave it stay inside. */
47
+ area?: Area;
48
+ /** The box of the text, when the data point is a table cell. */
49
+ text?: Box;
50
+ /** What a marker next to a text must not cover: the texts of the other cells. */
51
+ obstacles?: Box[];
52
+ }
53
+ /** Where the line from the centre of a box to `towards` leaves the box. */
54
+ export declare function boxEdge(box: Box, towards: {
55
+ x: number;
56
+ y: number;
57
+ }): {
58
+ x: number;
59
+ y: number;
60
+ };
61
+ /**
62
+ * The geometry of one item. On a whole component a marker sits in the top-right
63
+ * corner, and on a table cell next to the number. A frame goes around the text
64
+ * of a cell. It is an oval around a text, and long sides stay straight, so it
65
+ * also fits a long label; a whole component keeps its corners. An arrow between
66
+ * two boxes with the same centre has no direction and gives `undefined`.
67
+ */
68
+ export declare function buildMark(item: AnnotationLayerItem, box: Box, toBox: Box | undefined, em: number, options?: MarkOptions): DrawnMark | undefined;
69
+ export {};
@@ -0,0 +1,17 @@
1
+ import { AnnotationPoint } from "../../../utils/annotations";
2
+ import { ComponentLayoutState, DualRect } from "../../../utils/layoutState/types";
3
+ /** The box of a point, and the box of its text when it is a table cell. */
4
+ export interface MatchedPoint {
5
+ rect: DualRect;
6
+ content?: DualRect;
7
+ contentSign?: number;
8
+ }
9
+ /** A point without a field, or no point at all, means the component as a whole. */
10
+ export declare function isWholeComponent(point: AnnotationPoint | undefined): boolean;
11
+ /**
12
+ * The rendered boxes of a point. A table point without a scenario means the
13
+ * whole row, so it is looked up in the rows and not in the cells. A thereof row
14
+ * of a table repeats the key of its parent and adds a `subCategory`, so a point
15
+ * without one means the parent: otherwise the parent could never be named.
16
+ */
17
+ export declare function matchPoint(state: ComponentLayoutState, point: AnnotationPoint): MatchedPoint[];
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Prints the numbered texts of the annotations of a page: the number in a
3
+ * circle like the ones on the page (always in the main colour of the style), the bold
4
+ * title, then the text.
5
+ *
6
+ * The numbers are given. An entry without a number has no circle, and neither
7
+ * has an entry whose mark `bn-annotation-layer` could not place on this page.
8
+ * The other entries keep their numbers: the list never counts again.
9
+ *
10
+ * @example
11
+ * <bn-annotation-list items='[{"label":"1","title":"2024 Plan Software","html":"Up by <b>9.1 kEUR</b>."}]'>
12
+ * </bn-annotation-list>
13
+ */
14
+ export declare class AnnotationList {
15
+ private element;
16
+ /**
17
+ * JSON array of the entries, each one `{ label?, title?, html? }`. `html` is
18
+ * inline markup and is sanitized before it is inserted.
19
+ */
20
+ items?: string;
21
+ /**
22
+ * Name of the component style to use (the `name` of a
23
+ * `<bn-component-style>`). Its section `bn-annotation` sets the colour of the circles.
24
+ */
25
+ selectedStyle?: string;
26
+ private readonly errors;
27
+ private readonly componentStyle;
28
+ private stores;
29
+ private pageKey;
30
+ private unsubscribe?;
31
+ constructor();
32
+ connectedCallback(): void;
33
+ disconnectedCallback(): void;
34
+ render(): any;
35
+ }
@@ -4,5 +4,10 @@ export declare class Body {
4
4
  private readonly errors;
5
5
  constructor();
6
6
  private getFontStyles;
7
+ /**
8
+ * Name of the component style to use (the `name` of a
9
+ * `<bn-component-style>`). Its values go on top of the default style.
10
+ */
11
+ selectedStyle?: string;
7
12
  render(): any;
8
13
  }
@@ -3,6 +3,11 @@ export declare class Card {
3
3
  private readonly errors;
4
4
  constructor();
5
5
  private element;
6
+ /**
7
+ * Name of the component style to use (the `name` of a
8
+ * `<bn-component-style>`). Its values go on top of the default style.
9
+ */
10
+ selectedStyle?: string;
6
11
  render(): any;
7
12
  private prepareStyle;
8
13
  }
@@ -0,0 +1,97 @@
1
+ import { RuleSetConfig } from "../../../stores/ruleSets";
2
+ import { ErrorDispatcher } from "../../../utils/withHasError";
3
+ import { AxisConfig, FacetConfig, LabelConfig, LegendConfig, ShareConfig, SizeConfig } from "../../../utils/xy/model/AxisConfig";
4
+ import { GroupLevel, PointLevel } from "../../../utils/xy/model/XYChartDataRow";
5
+ import { XYChartStyle } from "../../../utils/xy/model/XYChartStyle";
6
+ /**
7
+ * Inner presentational element of `bn-chart-bubble`: owns the
8
+ * {@link BubbleChart} orchestrator and emits its SVG string. All props
9
+ * arrive validated and parsed from the facade.
10
+ * @internal
11
+ */
12
+ export declare class BnChartBubbleRenderer {
13
+ element: HTMLElement;
14
+ /**
15
+ * Name of the dataset (table or view in the scoped alasql database).
16
+ * @internal
17
+ */
18
+ tableName: string;
19
+ /**
20
+ * Bumped by the facade when the dataset changes; triggers re-render.
21
+ * @internal
22
+ */
23
+ dataVersion: number;
24
+ /** @internal */
25
+ chartTitle: string;
26
+ /** @internal */
27
+ x: AxisConfig;
28
+ /** @internal */
29
+ y: AxisConfig;
30
+ /** @internal */
31
+ size: SizeConfig;
32
+ /** @internal */
33
+ share: ShareConfig | null;
34
+ /**
35
+ * Comparison scenario family, or `null` (10D overlay).
36
+ * @internal
37
+ */
38
+ compareFamily: string | null;
39
+ /** @internal */
40
+ labels: LabelConfig;
41
+ /** @internal */
42
+ legend: LegendConfig;
43
+ /** @internal */
44
+ facet: FacetConfig | null;
45
+ /** @internal */
46
+ pointLevel: PointLevel;
47
+ /** @internal */
48
+ seriesLevel: GroupLevel | null;
49
+ /**
50
+ * Plot aspect ratio, width/height.
51
+ * @internal
52
+ */
53
+ aspect: number;
54
+ /** @internal */
55
+ limit: number;
56
+ /** @internal */
57
+ filter: string;
58
+ /**
59
+ * Scaling-group mode: area px² per data unit (0 = local sizing).
60
+ * @internal
61
+ */
62
+ sizeAreaPerUnit: number;
63
+ /** @internal */
64
+ styles: XYChartStyle | undefined;
65
+ /** @internal */
66
+ i18n: Map<string, string>;
67
+ /** @internal */
68
+ containerWidth: number;
69
+ /** @internal */
70
+ ruleSetConfig?: RuleSetConfig;
71
+ /**
72
+ * The facade's error dispatcher - data warnings are synced through it (stable ids).
73
+ * @internal
74
+ */
75
+ errors?: ErrorDispatcher;
76
+ /**
77
+ * Facade-bound translator for warning messages (resolves `.key` in the facade's namespace).
78
+ * @internal
79
+ */
80
+ translator?: (key: string, data?: object) => string;
81
+ private chart;
82
+ private svgMarkup;
83
+ private stores;
84
+ constructor();
85
+ private getDb;
86
+ componentWillLoad(): void;
87
+ componentWillUpdate(): void;
88
+ private rebuild;
89
+ /**
90
+ * Syncs the orchestrator's data warnings to the facade's dispatcher.
91
+ * Walks the full fixed code list so cleared warnings are removed again
92
+ * (addOrReplace/remove discipline, stable ids).
93
+ */
94
+ private syncWarnings;
95
+ private prepareStyle;
96
+ render(): any;
97
+ }
@@ -7,7 +7,7 @@ import { ComponentLayoutState, LayoutStateOptions } from "../../utils/layoutStat
7
7
  * compose series hues with scenario treatments, an optional comparison
8
8
  * family overlays behind the primary set (10D), and `share` draws pie
9
9
  * sectors inside the bubbles (10E). The heavy SVG rendering is performed
10
- * by the inner `ibcs-chart-bubble` element; this facade validates props,
10
+ * by the inner `bn-chart-bubble-renderer` element; this facade validates props,
11
11
  * resolves auto-detected metadata, and computes styles.
12
12
  */
13
13
  export declare class ChartBubble {
@@ -27,6 +27,24 @@ export declare class ChartBubble {
27
27
  private readonly activeErrors;
28
28
  /** Named scaling-group values, synced from the scoped store by `withScalingGroup`. */
29
29
  private pixelPerUnitGroupMap;
30
+ /**
31
+ * Name of the dataset to render (the `name` of a `<bn-dataset>`). A name
32
+ * that starts with `$` reads a `<bn-datasource>` directly, which gives a
33
+ * warning.
34
+ */
35
+ datasets?: string;
36
+ /**
37
+ * Name of the component style to use (the `name` of a
38
+ * `<bn-component-style>`). Its values go on top of the default style.
39
+ */
40
+ selectedStyle?: string;
41
+ /**
42
+ * Namespace of the translations to use (the `namespace` of a
43
+ * `<bn-internationalization>`). Without it the component takes the
44
+ * `i18n-namespace` of the nearest ancestor that has one, then the built-in
45
+ * texts.
46
+ */
47
+ i18nNamespace?: string;
30
48
  /**
31
49
  * Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario
32
50
  * treatments and display names. Supports `"inherited-closest"` /
@@ -200,7 +218,7 @@ export declare class ChartBubble {
200
218
  /** Facade-bound translator handed to the inner element for warning messages. */
201
219
  private readonly translateForInner;
202
220
  /**
203
- * Dataset field map for the editor-companion: hierarchy fields plus the
221
+ * Dataset field map: hierarchy fields plus the
204
222
  * 16 scenario slots; descriptions of currently-mapped slots reflect the
205
223
  * live mapping (e.g. `ac3 → "size: Net sales"`).
206
224
  */
@@ -0,0 +1,81 @@
1
+ import { RuleSetConfig } from "../../../stores/ruleSets";
2
+ import { AggregationLevel } from "../../../utils/constants";
3
+ import { Order } from "../../../utils/model/Order";
4
+ import { ErrorDispatcher } from "../../../utils/withHasError";
5
+ import { BulletChartStyle } from "../utils/model/BulletChartStyle";
6
+ import { BulletLabelConfig, BulletMeasureConfig } from "../utils/model/BulletConfig";
7
+ /**
8
+ * Inner presentational element of `bn-chart-bullet`: owns the
9
+ * {@link BulletChart} orchestrator and emits its SVG string. All props
10
+ * arrive validated and parsed from the facade.
11
+ * @internal
12
+ */
13
+ export declare class BnChartBulletRenderer {
14
+ element: HTMLElement;
15
+ /**
16
+ * Name of the dataset (table or view in the scoped alasql database).
17
+ * @internal
18
+ */
19
+ tableName: string;
20
+ /**
21
+ * Bumped by the facade when the dataset changes; triggers re-render.
22
+ * @internal
23
+ */
24
+ dataVersion: number;
25
+ /** @internal */
26
+ chartTitle: string;
27
+ /** @internal */
28
+ actual: BulletMeasureConfig;
29
+ /** @internal */
30
+ target: BulletMeasureConfig | null;
31
+ /** @internal */
32
+ ranges: number[];
33
+ /** @internal */
34
+ normalizeMode: "target" | "none";
35
+ /** @internal */
36
+ showVariances: boolean;
37
+ /** @internal */
38
+ level: AggregationLevel;
39
+ /** @internal */
40
+ order: Order;
41
+ /** @internal */
42
+ limit: number;
43
+ /** @internal */
44
+ labels: BulletLabelConfig;
45
+ /** @internal */
46
+ filter: string;
47
+ /** @internal */
48
+ styles: BulletChartStyle | undefined;
49
+ /** @internal */
50
+ i18n: Map<string, string>;
51
+ /** @internal */
52
+ containerWidth: number;
53
+ /** @internal */
54
+ ruleSetConfig?: RuleSetConfig;
55
+ /**
56
+ * The facade's error dispatcher - data warnings are synced through it (stable ids).
57
+ * @internal
58
+ */
59
+ errors?: ErrorDispatcher;
60
+ /**
61
+ * Facade-bound translator for warning messages (resolves `.key` in the facade's namespace).
62
+ * @internal
63
+ */
64
+ translator?: (key: string, data?: object) => string;
65
+ private chart;
66
+ private svgMarkup;
67
+ private stores;
68
+ constructor();
69
+ private getDb;
70
+ componentWillLoad(): void;
71
+ componentWillUpdate(): void;
72
+ private rebuild;
73
+ /**
74
+ * Syncs the orchestrator's data warnings to the facade's dispatcher.
75
+ * Walks the full fixed code list so cleared warnings are removed again
76
+ * (addOrReplace/remove discipline, stable ids).
77
+ */
78
+ private syncWarnings;
79
+ private prepareStyle;
80
+ render(): any;
81
+ }
@@ -11,7 +11,7 @@ import { ComponentLayoutState, LayoutStateOptions } from "../../utils/layoutStat
11
11
  * `normalize="none"` (per-row scales) and `ranges` (max two qualitative
12
12
  * gray bands). Actual and target scenarios are auto-detected from the
13
13
  * dataset meta when not set. The heavy SVG rendering is performed by the
14
- * inner `ibcs-chart-bullet` element; this facade validates props, resolves
14
+ * inner `bn-chart-bullet-renderer` element; this facade validates props, resolves
15
15
  * auto-detected metadata, and computes styles.
16
16
  */
17
17
  export declare class ChartBullet {
@@ -29,6 +29,24 @@ export declare class ChartBullet {
29
29
  private layoutObserver;
30
30
  /** Ids of currently-active blocking errors - the chart renders empty while any is set. */
31
31
  private readonly activeErrors;
32
+ /**
33
+ * Name of the dataset to render (the `name` of a `<bn-dataset>`). A name
34
+ * that starts with `$` reads a `<bn-datasource>` directly, which gives a
35
+ * warning.
36
+ */
37
+ datasets?: string;
38
+ /**
39
+ * Name of the component style to use (the `name` of a
40
+ * `<bn-component-style>`). Its values go on top of the default style.
41
+ */
42
+ selectedStyle?: string;
43
+ /**
44
+ * Namespace of the translations to use (the `namespace` of a
45
+ * `<bn-internationalization>`). Without it the component takes the
46
+ * `i18n-namespace` of the nearest ancestor that has one, then the built-in
47
+ * texts.
48
+ */
49
+ i18nNamespace?: string;
32
50
  /**
33
51
  * Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario
34
52
  * treatments and display names. Supports `"inherited-closest"` /
@@ -75,7 +93,7 @@ export declare class ChartBullet {
75
93
  * position, the IBCS-comparable form) or `none` (classic per-row scales
76
94
  * with tick strips).
77
95
  */
78
- normalize: string;
96
+ normalizeMode: string;
79
97
  validateNormalize(newValue: string): void;
80
98
  /**
81
99
  * Variance bars between actual and target: `auto` (default - drawn in
@@ -173,7 +191,7 @@ export declare class ChartBullet {
173
191
  /** Facade-bound translator handed to the inner element for warning messages. */
174
192
  private readonly translateForInner;
175
193
  /**
176
- * Dataset field map for the editor-companion: hierarchy fields plus the
194
+ * Dataset field map: hierarchy fields plus the
177
195
  * 16 scenario slots; descriptions of currently-mapped slots reflect the
178
196
  * live mapping (e.g. `pl1 → "target: Plan"`).
179
197
  */
@@ -91,4 +91,6 @@ export declare class BulletChart {
91
91
  /** Classic mode: per-row scales with tick strips, target ticks, optional range bands. */
92
92
  private drawClassic;
93
93
  private drawValueText;
94
+ /** The row of a bullet: its value of the chart's level and the actual measure. */
95
+ private rowKey;
94
96
  }
@@ -20,9 +20,9 @@ export declare class ScaleFactorsBulletChart {
20
20
  varianceHeight: number;
21
21
  /** Height of a per-row target tick (classic mode). */
22
22
  targetTickHeight: number;
23
- /** Stroke width of the shared target line, in pixels. */
23
+ /** Stroke width of the shared target line (2 px at the default font size). */
24
24
  targetLineWidth: number;
25
- /** Stroke width of the baseline axis, in pixels. */
25
+ /** Stroke width of the baseline axis (1 px at the default font size). */
26
26
  axisLineWidth: number;
27
27
  /** Gap between a bar end and its value label. */
28
28
  labelToBar: number;
@@ -0,0 +1,85 @@
1
+ import { RuleSetConfig } from "../../../stores/ruleSets";
2
+ import { ErrorDispatcher } from "../../../utils/withHasError";
3
+ import { AxisConfig, FacetConfig, IsoConfig, LabelConfig, LegendConfig } from "../../../utils/xy/model/AxisConfig";
4
+ import { GroupLevel, PointLevel } from "../../../utils/xy/model/XYChartDataRow";
5
+ import { XYChartStyle } from "../../../utils/xy/model/XYChartStyle";
6
+ /**
7
+ * Inner presentational element of `bn-chart-scatter`: owns the
8
+ * {@link ScatterChart} orchestrator and emits its SVG string. All props
9
+ * arrive validated and parsed from the facade.
10
+ * @internal
11
+ */
12
+ export declare class BnChartScatterRenderer {
13
+ element: HTMLElement;
14
+ /**
15
+ * Name of the dataset (table or view in the scoped alasql database).
16
+ * @internal
17
+ */
18
+ tableName: string;
19
+ /**
20
+ * Bumped by the facade when the dataset changes; triggers re-render.
21
+ * @internal
22
+ */
23
+ dataVersion: number;
24
+ /** @internal */
25
+ chartTitle: string;
26
+ /** @internal */
27
+ x: AxisConfig;
28
+ /** @internal */
29
+ y: AxisConfig;
30
+ /** @internal */
31
+ iso: IsoConfig | null;
32
+ /** @internal */
33
+ labels: LabelConfig;
34
+ /** @internal */
35
+ legend: LegendConfig;
36
+ /** @internal */
37
+ facet: FacetConfig | null;
38
+ /** @internal */
39
+ pointLevel: PointLevel;
40
+ /** @internal */
41
+ seriesLevel: GroupLevel | null;
42
+ /**
43
+ * Plot aspect ratio, width/height.
44
+ * @internal
45
+ */
46
+ aspect: number;
47
+ /** @internal */
48
+ limit: number;
49
+ /** @internal */
50
+ filter: string;
51
+ /** @internal */
52
+ styles: XYChartStyle | undefined;
53
+ /** @internal */
54
+ i18n: Map<string, string>;
55
+ /** @internal */
56
+ containerWidth: number;
57
+ /** @internal */
58
+ ruleSetConfig?: RuleSetConfig;
59
+ /**
60
+ * The facade's error dispatcher - data warnings are synced through it (stable ids).
61
+ * @internal
62
+ */
63
+ errors?: ErrorDispatcher;
64
+ /**
65
+ * Facade-bound translator for warning messages (resolves `.key` in the facade's namespace).
66
+ * @internal
67
+ */
68
+ translator?: (key: string, data?: object) => string;
69
+ private chart;
70
+ private svgMarkup;
71
+ private stores;
72
+ constructor();
73
+ private getDb;
74
+ componentWillLoad(): void;
75
+ componentWillUpdate(): void;
76
+ private rebuild;
77
+ /**
78
+ * Syncs the orchestrator's data warnings to the facade's dispatcher.
79
+ * Walks the full fixed code list so cleared warnings are removed again
80
+ * (addOrReplace/remove discipline, stable ids).
81
+ */
82
+ private syncWarnings;
83
+ private prepareStyle;
84
+ render(): any;
85
+ }
@@ -8,7 +8,7 @@ import { XYChartStyle } from "../../utils/xy/model/XYChartStyle";
8
8
  * Subscribes to a dataset (via `withDataset`) and renders an XY point cloud
9
9
  * with series hues, selective labels, highlight bands, and hyperbolic
10
10
  * iso-lines (`x·y = k`). The heavy SVG rendering is performed by the inner
11
- * `ibcs-chart-scatter` element; this facade validates props, resolves
11
+ * `bn-chart-scatter-renderer` element; this facade validates props, resolves
12
12
  * auto-detected metadata, and computes styles.
13
13
  */
14
14
  export declare class ChartScatter {
@@ -26,6 +26,24 @@ export declare class ChartScatter {
26
26
  private layoutObserver;
27
27
  /** Ids of currently-active blocking errors - the chart renders empty while any is set. */
28
28
  private readonly activeErrors;
29
+ /**
30
+ * Name of the dataset to render (the `name` of a `<bn-dataset>`). A name
31
+ * that starts with `$` reads a `<bn-datasource>` directly, which gives a
32
+ * warning.
33
+ */
34
+ datasets?: string;
35
+ /**
36
+ * Name of the component style to use (the `name` of a
37
+ * `<bn-component-style>`). Its values go on top of the default style.
38
+ */
39
+ selectedStyle?: string;
40
+ /**
41
+ * Namespace of the translations to use (the `namespace` of a
42
+ * `<bn-internationalization>`). Without it the component takes the
43
+ * `i18n-namespace` of the nearest ancestor that has one, then the built-in
44
+ * texts.
45
+ */
46
+ i18nNamespace?: string;
29
47
  /**
30
48
  * Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario
31
49
  * treatments and display names. Supports `"inherited-closest"` /
@@ -173,7 +191,7 @@ export declare class ChartScatter {
173
191
  /** Facade-bound translator handed to the inner element for warning messages. */
174
192
  private readonly translateForInner;
175
193
  /**
176
- * Dataset field map for the editor-companion: hierarchy fields plus the
194
+ * Dataset field map: hierarchy fields plus the
177
195
  * 16 scenario slots; descriptions of currently-mapped slots reflect the
178
196
  * live mapping (e.g. `ac1 → "x: Margin"`).
179
197
  */