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

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 (397) hide show
  1. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
  2. package/dist/bn-template-engine/p-12c8c444.entry.js +1 -0
  3. package/dist/bn-template-engine/p-2cbccbe7.entry.js +1 -0
  4. package/dist/bn-template-engine/p-5e66d1d0.entry.js +1 -0
  5. package/dist/bn-template-engine/p-69dfa165.entry.js +1 -0
  6. package/dist/bn-template-engine/p-Bo7_IopT.js +1 -0
  7. package/dist/bn-template-engine/p-ByoAF_Qe.js +1 -0
  8. package/dist/bn-template-engine/p-CCZcKl0Q.js +2 -0
  9. package/dist/bn-template-engine/p-CsupHyLQ.js +1 -0
  10. package/dist/bn-template-engine/p-D0qTf1_a.js +1 -0
  11. package/dist/bn-template-engine/p-b09430b6.entry.js +1 -0
  12. package/dist/bn-template-engine/p-f10950e8.entry.js +1 -0
  13. package/dist/bn-template-engine/p-qcLonXCz.js +1 -0
  14. package/dist/cjs/bn-asset_28.cjs.entry.js +23551 -23726
  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 +12 -12
  21. package/dist/cjs/{diagnostics-Cq-qDtXq.js → diagnostics-DMmUPOsm.js} +2 -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/{sanitizeHtml-Yx1xn6i_.js → sanitizeHtml-Cr0jVSJ_.js} +52 -33
  25. package/dist/cjs/{withBodyObserver-CaPUjuC5.js → withBodyObserver-CrSp_FfF.js} +2 -2
  26. package/dist/cjs/{context-protocol-C0rKepqu.js → withHasError-DpogV-4f.js} +455 -13
  27. package/dist/cjs/{withStyled-vSfogp9J.js → withStyled-TQ67jCAV.js} +20 -34
  28. package/dist/collection/collection-manifest.json +9 -11
  29. package/dist/collection/components/bn-body/bn-body.js +24 -1
  30. package/dist/collection/components/bn-card/bn-card.js +24 -1
  31. package/dist/collection/components/bn-chart-bubble/{ibcs-chart-bubble.js → bn-chart-bubble-renderer/bn-chart-bubble-renderer.js} +153 -59
  32. package/dist/collection/components/bn-chart-bubble/bn-chart-bubble.js +70 -13
  33. package/dist/collection/components/bn-chart-bullet/{ibcs-chart-bullet.js → bn-chart-bullet-renderer/bn-chart-bullet-renderer.js} +127 -53
  34. package/dist/collection/components/bn-chart-bullet/bn-chart-bullet.js +83 -20
  35. package/dist/collection/components/bn-chart-bullet/utils/BulletChart.js +8 -8
  36. package/dist/collection/components/bn-chart-bullet/utils/model/BulletChartStyle.js +4 -4
  37. package/dist/collection/components/bn-chart-scatter/{ibcs-chart-scatter.js → bn-chart-scatter-renderer/bn-chart-scatter-renderer.js} +132 -53
  38. package/dist/collection/components/bn-chart-scatter/bn-chart-scatter.js +69 -12
  39. package/dist/collection/components/bn-chart-scatter/utils/ScatterChart.js +5 -1
  40. package/dist/collection/components/bn-chart-structure/{ibcs-chart-structure.js → bn-chart-structure-renderer/bn-chart-structure-renderer.js} +159 -66
  41. package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +115 -95
  42. package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +18 -6
  43. package/dist/collection/components/bn-chart-structure/utils/elements/Axis.js +1 -1
  44. package/dist/collection/components/bn-chart-structure/utils/elements/Bar.js +1 -1
  45. package/dist/collection/components/bn-chart-time/{ibcs-chart-time.js → bn-chart-time-renderer/bn-chart-time-renderer.js} +188 -150
  46. package/dist/collection/components/bn-chart-time/bn-chart-time.js +140 -405
  47. package/dist/collection/components/bn-chart-time/utils/TimeChart.js +27 -13
  48. package/dist/collection/components/bn-chart-time/utils/elements/LineSeries.js +6 -3
  49. package/dist/collection/components/bn-chart-time/utils/factories/ScenarioFactory.js +2 -2
  50. package/dist/collection/components/bn-chart-time/utils/model/TimeChartComponentConfig.js +2 -18
  51. package/dist/collection/components/bn-component-style/bn-component-style.js +3 -3
  52. package/dist/collection/components/bn-context/bn-context.js +23 -4
  53. package/dist/collection/components/bn-dataset/bn-dataset.js +8 -8
  54. package/dist/collection/components/bn-datasource/bn-datasource.js +8 -8
  55. package/dist/collection/components/bn-footer/bn-footer.css +1 -15
  56. package/dist/collection/components/bn-footer/bn-footer.js +17 -34
  57. package/dist/collection/components/bn-grid/bn-grid.js +38 -71
  58. package/dist/collection/components/bn-image/bn-image.js +21 -2
  59. package/dist/collection/components/bn-internationalization/bn-internationalization.js +7 -1
  60. package/dist/collection/components/bn-layout-card/bn-layout-card.js +3 -32
  61. package/dist/collection/components/bn-layout-page/bn-layout-page.js +3 -32
  62. package/dist/collection/components/bn-message/bn-message.js +20 -2
  63. package/dist/collection/components/bn-page/bn-page.js +22 -3
  64. package/dist/collection/components/bn-ruleset/bn-ruleset.js +3 -3
  65. package/dist/collection/components/bn-scaling-group/bn-scaling-group.js +9 -9
  66. package/dist/collection/components/bn-table/{ibcs-table.js → bn-table-renderer/bn-table-renderer.js} +215 -81
  67. package/dist/collection/components/bn-table/bn-table.js +134 -157
  68. package/dist/collection/components/bn-table/utils/Table.js +3 -3
  69. package/dist/collection/components/bn-table/utils/elements/TableRow.js +1 -1
  70. package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +12 -3
  71. package/dist/collection/components/bn-table/utils/helper/barColumnGeometry.js +2 -2
  72. package/dist/collection/components/bn-text/bn-text.js +66 -8
  73. package/dist/collection/components/bn-title/{ibcs-title/ibcs-title.js → bn-title-renderer/bn-title-renderer.js} +59 -83
  74. package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/Title.js +2 -2
  75. package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/factories/TitleDataSetFactory.js +1 -1
  76. package/dist/collection/components/bn-title/bn-title.js +58 -14
  77. package/dist/collection/components/bn-tree/bn-tree.js +30 -28
  78. package/dist/collection/index.js +0 -1
  79. package/dist/collection/schemas.js +1 -0
  80. package/dist/collection/stores/componentStyles.js +6 -6
  81. package/dist/collection/stores/internationalization.js +10 -6
  82. package/dist/collection/utils/autoFit.js +2 -2
  83. package/dist/collection/utils/emptyState.js +1 -1
  84. package/dist/collection/utils/ibcsRuleSet.js +42 -0
  85. package/dist/collection/utils/layoutTemplate.js +0 -2
  86. package/dist/collection/utils/scaling.js +9 -0
  87. package/dist/collection/utils/validate.js +0 -7
  88. package/dist/collection/utils/withComponentStyle.js +12 -17
  89. package/dist/collection/utils/withDataset.js +22 -11
  90. package/dist/collection/utils/withHasError.js +17 -2
  91. package/dist/collection/utils/withRuleSet.js +7 -7
  92. package/dist/collection/utils/withTranslation.js +14 -14
  93. package/dist/collection/utils/xy/XYFrame.js +13 -3
  94. package/dist/collection/utils/xy/model/ScaleFactorsXYChart.js +8 -9
  95. package/dist/components/bn-asset.js +1 -1
  96. package/dist/components/bn-body.js +1 -1
  97. package/dist/components/bn-card.js +1 -1
  98. package/dist/components/bn-chart-bubble-renderer.d.ts +11 -0
  99. package/dist/components/bn-chart-bubble-renderer.js +1 -0
  100. package/dist/components/bn-chart-bubble.js +1 -1
  101. package/dist/components/bn-chart-bullet-renderer.d.ts +11 -0
  102. package/dist/components/bn-chart-bullet-renderer.js +1 -0
  103. package/dist/components/bn-chart-bullet.js +1 -1
  104. package/dist/components/bn-chart-scatter-renderer.d.ts +11 -0
  105. package/dist/components/bn-chart-scatter-renderer.js +1 -0
  106. package/dist/components/bn-chart-scatter.js +1 -1
  107. package/dist/components/bn-chart-structure-renderer.d.ts +11 -0
  108. package/dist/components/bn-chart-structure-renderer.js +1 -0
  109. package/dist/components/bn-chart-structure.js +1 -1
  110. package/dist/components/{bn-template.d.ts → bn-chart-time-renderer.d.ts} +4 -4
  111. package/dist/components/bn-chart-time-renderer.js +1 -0
  112. package/dist/components/bn-chart-time.js +1 -1
  113. package/dist/components/bn-component-style.js +1 -1
  114. package/dist/components/bn-context.js +1 -1
  115. package/dist/components/bn-dataset.js +1 -1
  116. package/dist/components/bn-datasource.js +1 -1
  117. package/dist/components/bn-footer.js +1 -1
  118. package/dist/components/bn-grid.js +1 -1
  119. package/dist/components/bn-image.js +1 -1
  120. package/dist/components/bn-internationalization.js +1 -1
  121. package/dist/components/bn-layout-card.js +1 -1
  122. package/dist/components/bn-layout-page.js +1 -1
  123. package/dist/components/bn-message.js +1 -1
  124. package/dist/components/bn-page.js +1 -1
  125. package/dist/components/bn-ruleset.js +1 -1
  126. package/dist/components/bn-scaling-group.js +1 -1
  127. package/dist/components/{ibcs-chart-bubble.d.ts → bn-table-renderer.d.ts} +4 -4
  128. package/dist/components/bn-table-renderer.js +1 -0
  129. package/dist/components/bn-table.js +1 -1
  130. package/dist/components/bn-text.js +1 -1
  131. package/dist/components/{editor-companion.d.ts → bn-title-renderer.d.ts} +4 -4
  132. package/dist/components/bn-title-renderer.js +1 -0
  133. package/dist/components/bn-title.js +1 -1
  134. package/dist/components/bn-tree.js +1 -1
  135. package/dist/components/index.js +1 -1
  136. package/dist/components/p--cxUP_so.js +1 -0
  137. package/dist/components/p-B7GzUuM1.js +1 -0
  138. package/dist/components/p-BFUNrRAN.js +1 -0
  139. package/dist/components/p-BI5orga2.js +1 -0
  140. package/dist/components/p-BN7PtJVV.js +1 -0
  141. package/dist/components/p-BN8vBcMD.js +1 -0
  142. package/dist/components/p-BZe4T2ta.js +1 -0
  143. package/dist/components/p-BbS6qL8Z.js +1 -0
  144. package/dist/components/p-BcQv74MZ.js +1 -0
  145. package/dist/components/p-BgWfMdDE.js +1 -0
  146. package/dist/components/p-BhOssNAI.js +1 -0
  147. package/dist/components/p-BvuJFY7b.js +1 -0
  148. package/dist/components/p-C3Lz_w4H.js +1 -0
  149. package/dist/components/p-CD39zcHF.js +1 -0
  150. package/dist/components/p-CYurh604.js +1 -0
  151. package/dist/components/p-CYwd_ZNM.js +1 -0
  152. package/dist/components/p-CfBqQljd.js +1 -0
  153. package/dist/components/p-Ci4wYt6s.js +1 -0
  154. package/dist/components/p-ClvHVwGH.js +1 -0
  155. package/dist/components/p-Co1dDaxy.js +1 -0
  156. package/dist/components/p-Cq5MNEMN.js +1 -0
  157. package/dist/components/p-CtiP8VJ_.js +1 -0
  158. package/dist/components/p-CwzAQJSz.js +1 -0
  159. package/dist/components/p-D2Epww9R.js +1 -0
  160. package/dist/components/p-D413xjVu.js +1 -0
  161. package/dist/components/p-D4lSYFwX.js +1 -0
  162. package/dist/components/p-D6YGOYV1.js +2 -0
  163. package/dist/components/p-DCja-Yov.js +1 -0
  164. package/dist/components/p-DJijh10F.js +1 -0
  165. package/dist/components/p-DZ3ub5DV.js +1 -0
  166. package/dist/components/p-DcfgLtdU.js +1 -0
  167. package/dist/components/p-Dd6b8E_1.js +1 -0
  168. package/dist/components/p-Di57x1j-.js +1 -0
  169. package/dist/components/p-Dq4KMCDU.js +1 -0
  170. package/dist/components/p-DrN6R99a.js +1 -0
  171. package/dist/components/p-DtBFwIVs.js +1 -0
  172. package/dist/components/p-DynTmVfI.js +1 -0
  173. package/dist/components/p-Igh8PJUo.js +1 -0
  174. package/dist/components/p-Xb6Ilq8u.js +1 -0
  175. package/dist/components/p-e6lZYVYf.js +1 -0
  176. package/dist/components/p-g4dh_F-M.js +1 -0
  177. package/dist/components/p-iJCxRAmO.js +1 -0
  178. package/dist/components/p-kGB4WKet.js +1 -0
  179. package/dist/components/p-pH6_06qq.js +1 -0
  180. package/dist/components/p-xJ1DeaDY.js +1 -0
  181. package/dist/esm/bn-asset_28.entry.js +24797 -24972
  182. package/dist/esm/bn-grid.entry.js +11 -63
  183. package/dist/esm/bn-image.entry.js +4 -5
  184. package/dist/esm/bn-internationalization.entry.js +9 -5
  185. package/dist/esm/bn-ruleset.entry.js +6 -7
  186. package/dist/esm/bn-template-engine.js +3 -3
  187. package/dist/esm/bn-text.entry.js +12 -12
  188. package/dist/esm/{diagnostics-vw6TKMiT.js → diagnostics-BaXhpaAg.js} +1 -1
  189. package/dist/esm/{index-C5UYpZUU.js → index-CCZcKl0Q.js} +1 -1
  190. package/dist/esm/loader.js +3 -3
  191. package/dist/esm/{sanitizeHtml-C5bFtARM.js → sanitizeHtml-BpBu47OE.js} +48 -30
  192. package/dist/esm/{withBodyObserver-DD_-r04o.js → withBodyObserver-1IBghfa8.js} +2 -2
  193. package/dist/esm/{context-protocol-CdTp19uA.js → withHasError-C8f_AGmT.js} +451 -13
  194. package/dist/esm/{withStyled-BDEyKd_H.js → withStyled-DS6G7yrL.js} +15 -28
  195. package/dist/schemas/axis.schema.json +52 -0
  196. package/dist/schemas/i18n.schema.json +31 -0
  197. package/dist/schemas/partof.schema.json +33 -0
  198. package/dist/schemas/ruleset.schema.json +59 -0
  199. package/dist/schemas/stack.schema.json +51 -0
  200. package/dist/schemas/theme.schema.json +583 -0
  201. package/dist/schemas/thereof.schema.json +34 -0
  202. package/dist/types/components/bn-body/bn-body.d.ts +5 -0
  203. package/dist/types/components/bn-card/bn-card.d.ts +5 -0
  204. package/dist/types/components/bn-chart-bubble/bn-chart-bubble-renderer/bn-chart-bubble-renderer.d.ts +97 -0
  205. package/dist/types/components/bn-chart-bubble/bn-chart-bubble.d.ts +20 -2
  206. package/dist/types/components/bn-chart-bullet/bn-chart-bullet-renderer/bn-chart-bullet-renderer.d.ts +81 -0
  207. package/dist/types/components/bn-chart-bullet/bn-chart-bullet.d.ts +21 -3
  208. package/dist/types/components/bn-chart-bullet/utils/model/BulletChartStyle.d.ts +2 -2
  209. package/dist/types/components/bn-chart-scatter/bn-chart-scatter-renderer/bn-chart-scatter-renderer.d.ts +85 -0
  210. package/dist/types/components/bn-chart-scatter/bn-chart-scatter.d.ts +20 -2
  211. package/dist/types/components/bn-chart-structure/{ibcs-chart-structure.d.ts → bn-chart-structure-renderer/bn-chart-structure-renderer.d.ts} +43 -13
  212. package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +29 -17
  213. package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +5 -0
  214. package/dist/types/components/bn-chart-time/{ibcs-chart-time.d.ts → bn-chart-time-renderer/bn-chart-time-renderer.d.ts} +50 -17
  215. package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +36 -66
  216. package/dist/types/components/bn-chart-time/utils/TimeChart.d.ts +5 -0
  217. package/dist/types/components/bn-chart-time/utils/elements/LineSeries.d.ts +5 -1
  218. package/dist/types/components/bn-chart-time/utils/factories/ScenarioFactory.d.ts +1 -1
  219. package/dist/types/components/bn-chart-time/utils/model/TimeChartComponentConfig.d.ts +2 -8
  220. package/dist/types/components/bn-context/bn-context.d.ts +7 -1
  221. package/dist/types/components/bn-dataset/bn-dataset.d.ts +2 -2
  222. package/dist/types/components/bn-datasource/bn-datasource.d.ts +2 -2
  223. package/dist/types/components/bn-footer/bn-footer.d.ts +5 -7
  224. package/dist/types/components/bn-grid/bn-grid.d.ts +8 -6
  225. package/dist/types/components/bn-image/bn-image.d.ts +4 -0
  226. package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +0 -1
  227. package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +0 -1
  228. package/dist/types/components/bn-message/bn-message.d.ts +5 -0
  229. package/dist/types/components/bn-page/bn-page.d.ts +5 -0
  230. package/dist/types/components/bn-table/{ibcs-table.d.ts → bn-table-renderer/bn-table-renderer.d.ts} +49 -12
  231. package/dist/types/components/bn-table/bn-table.d.ts +48 -49
  232. package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +2 -1
  233. package/dist/types/components/bn-table/utils/factories/tableDataSetFactory.d.ts +5 -2
  234. package/dist/types/components/bn-text/bn-text.d.ts +19 -1
  235. package/dist/types/components/bn-title/{ibcs-title/ibcs-title.d.ts → bn-title-renderer/bn-title-renderer.d.ts} +15 -4
  236. package/dist/types/components/bn-title/bn-title.d.ts +15 -3
  237. package/dist/types/components/bn-tree/bn-tree.d.ts +6 -2
  238. package/dist/types/components.d.ts +1923 -2433
  239. package/dist/types/context/scopedDb.d.ts +9 -12
  240. package/dist/types/index.d.ts +0 -1
  241. package/dist/types/schemas.d.ts +50 -0
  242. package/dist/types/stores/internationalization.d.ts +3 -2
  243. package/dist/types/stores/ruleSets.d.ts +15 -3
  244. package/dist/types/utils/autoFit.d.ts +2 -2
  245. package/dist/types/utils/emptyState.d.ts +1 -1
  246. package/dist/types/utils/ibcsRuleSet.d.ts +16 -0
  247. package/dist/types/utils/model/ChartStyles.d.ts +2 -1
  248. package/dist/types/utils/scaling.d.ts +2 -0
  249. package/dist/types/utils/validate.d.ts +0 -1
  250. package/dist/types/utils/withComponentStyle.d.ts +4 -4
  251. package/dist/types/utils/withDataset.d.ts +3 -3
  252. package/dist/types/utils/withHasError.d.ts +22 -1
  253. package/dist/types/utils/withRuleSet.d.ts +3 -2
  254. package/dist/types/utils/withTranslation.d.ts +1 -2
  255. package/dist/types/utils/xy/model/ScaleFactorsXYChart.d.ts +6 -7
  256. package/package.json +24 -8
  257. package/readme.md +12 -8
  258. package/dist/bn-template-engine/assets/bar.png +0 -0
  259. package/dist/bn-template-engine/assets/matrix.png +0 -0
  260. package/dist/bn-template-engine/p-5075771a.entry.js +0 -1
  261. package/dist/bn-template-engine/p-5d516435.entry.js +0 -1
  262. package/dist/bn-template-engine/p-5e90e728.entry.js +0 -1
  263. package/dist/bn-template-engine/p-9ef7e132.entry.js +0 -1
  264. package/dist/bn-template-engine/p-9f7a1980.entry.js +0 -1
  265. package/dist/bn-template-engine/p-BeXgxHkW.js +0 -1
  266. package/dist/bn-template-engine/p-C5UYpZUU.js +0 -2
  267. package/dist/bn-template-engine/p-CH0bpt_k.js +0 -1
  268. package/dist/bn-template-engine/p-DFmSrSnf.js +0 -1
  269. package/dist/bn-template-engine/p-DI3efDSV.js +0 -1
  270. package/dist/bn-template-engine/p-DXLTTILG.js +0 -1
  271. package/dist/bn-template-engine/p-DtP4jqG5.js +0 -1
  272. package/dist/bn-template-engine/p-a8281b71.entry.js +0 -1
  273. package/dist/bn-template-engine/p-b31277e7.entry.js +0 -1
  274. package/dist/bn-template-engine/p-b396ac84.entry.js +0 -1
  275. package/dist/cjs/bn-template.cjs.entry.js +0 -18
  276. package/dist/cjs/editor-companion.cjs.entry.js +0 -56
  277. package/dist/cjs/withHasError-qGW_yqIv.js +0 -426
  278. package/dist/collection/components/bn-footer/assets/bar.png +0 -0
  279. package/dist/collection/components/bn-footer/assets/matrix.png +0 -0
  280. package/dist/collection/components/bn-message/assets/bar.png +0 -0
  281. package/dist/collection/components/bn-message/assets/matrix.png +0 -0
  282. package/dist/collection/components/bn-template/bn-template.js +0 -38
  283. package/dist/collection/components/editor-companion/editor-companion.css +0 -3
  284. package/dist/collection/components/editor-companion/editor-companion.js +0 -137
  285. package/dist/collection/utils/templateId.js +0 -12
  286. package/dist/collection/utils/testing/fakeGroup.js +0 -21
  287. package/dist/collection/utils/testing/hostFont.js +0 -20
  288. package/dist/collection/utils/testing/mutationObserver.js +0 -44
  289. package/dist/collection/utils/testing/structureChart.js +0 -26
  290. package/dist/collection/utils/testing/timeChart.js +0 -28
  291. package/dist/components/AxisConfig.js +0 -1
  292. package/dist/components/CompareUtil.js +0 -1
  293. package/dist/components/DataFormatDigits.js +0 -1
  294. package/dist/components/DateStringFactory.js +0 -1
  295. package/dist/components/LabelCollisionManager.js +0 -1
  296. package/dist/components/Order.js +0 -1
  297. package/dist/components/SVGStyle.js +0 -1
  298. package/dist/components/SVGVariancesStyleGroup.js +0 -1
  299. package/dist/components/StringAdapter.js +0 -1
  300. package/dist/components/VarianceMeasure.js +0 -1
  301. package/dist/components/XYChartDataRow.js +0 -1
  302. package/dist/components/bn-body2.js +0 -1
  303. package/dist/components/bn-card2.js +0 -1
  304. package/dist/components/bn-footer2.js +0 -1
  305. package/dist/components/bn-message2.js +0 -1
  306. package/dist/components/bn-page2.js +0 -1
  307. package/dist/components/bn-template.js +0 -1
  308. package/dist/components/bn-title2.js +0 -1
  309. package/dist/components/checkXYOverflow.js +0 -1
  310. package/dist/components/contentDecoder.js +0 -1
  311. package/dist/components/context-protocol.js +0 -1
  312. package/dist/components/editor-companion.js +0 -1
  313. package/dist/components/formatter.js +0 -1
  314. package/dist/components/geometry.js +0 -1
  315. package/dist/components/ibcs-chart-bubble.js +0 -1
  316. package/dist/components/ibcs-chart-bubble2.js +0 -1
  317. package/dist/components/ibcs-chart-bullet.d.ts +0 -11
  318. package/dist/components/ibcs-chart-bullet.js +0 -1
  319. package/dist/components/ibcs-chart-bullet2.js +0 -1
  320. package/dist/components/ibcs-chart-scatter.d.ts +0 -11
  321. package/dist/components/ibcs-chart-scatter.js +0 -1
  322. package/dist/components/ibcs-chart-scatter2.js +0 -1
  323. package/dist/components/ibcs-chart-structure.d.ts +0 -11
  324. package/dist/components/ibcs-chart-structure.js +0 -1
  325. package/dist/components/ibcs-chart-structure2.js +0 -1
  326. package/dist/components/ibcs-chart-time.d.ts +0 -11
  327. package/dist/components/ibcs-chart-time.js +0 -1
  328. package/dist/components/ibcs-chart-time2.js +0 -1
  329. package/dist/components/ibcs-table.d.ts +0 -11
  330. package/dist/components/ibcs-table.js +0 -1
  331. package/dist/components/ibcs-table2.js +0 -1
  332. package/dist/components/ibcs-title.d.ts +0 -11
  333. package/dist/components/ibcs-title.js +0 -1
  334. package/dist/components/ibcs-title2.js +0 -1
  335. package/dist/components/layoutTemplate.js +0 -1
  336. package/dist/components/luxon.js +0 -1
  337. package/dist/components/scaling.js +0 -1
  338. package/dist/components/svg.esm.js +0 -1
  339. package/dist/components/svgChartElements.js +0 -1
  340. package/dist/components/types.js +0 -1
  341. package/dist/components/validate.js +0 -1
  342. package/dist/components/withBodyObserver.js +0 -1
  343. package/dist/components/withComponentStatus.js +0 -1
  344. package/dist/components/withComponentStyle.js +0 -1
  345. package/dist/components/withDataset.js +0 -1
  346. package/dist/components/withHasError.js +0 -1
  347. package/dist/components/withRuleSet.js +0 -1
  348. package/dist/components/withScalingGroup.js +0 -1
  349. package/dist/components/withStyled.js +0 -1
  350. package/dist/components/withTranslation.js +0 -1
  351. package/dist/esm/bn-template.entry.js +0 -16
  352. package/dist/esm/editor-companion.entry.js +0 -54
  353. package/dist/esm/withHasError-73WV2SP5.js +0 -422
  354. package/dist/types/components/bn-chart-bubble/ibcs-chart-bubble.d.ts +0 -59
  355. package/dist/types/components/bn-chart-bullet/ibcs-chart-bullet.d.ts +0 -53
  356. package/dist/types/components/bn-chart-scatter/ibcs-chart-scatter.d.ts +0 -54
  357. package/dist/types/components/bn-template/bn-template.d.ts +0 -10
  358. package/dist/types/components/editor-companion/editor-companion.d.ts +0 -20
  359. package/dist/types/utils/templateId.d.ts +0 -9
  360. package/dist/types/utils/testing/fakeGroup.d.ts +0 -8
  361. package/dist/types/utils/testing/hostFont.d.ts +0 -16
  362. package/dist/types/utils/testing/mutationObserver.d.ts +0 -5
  363. package/dist/types/utils/testing/structureChart.d.ts +0 -5
  364. package/dist/types/utils/testing/timeChart.d.ts +0 -5
  365. /package/dist/collection/components/bn-chart-bubble/{ibcs-chart-bubble.css → bn-chart-bubble-renderer/bn-chart-bubble-renderer.css} +0 -0
  366. /package/dist/collection/components/bn-chart-bullet/{ibcs-chart-bullet.css → bn-chart-bullet-renderer/bn-chart-bullet-renderer.css} +0 -0
  367. /package/dist/collection/components/bn-chart-scatter/{ibcs-chart-scatter.css → bn-chart-scatter-renderer/bn-chart-scatter-renderer.css} +0 -0
  368. /package/dist/collection/components/bn-chart-time/{ibcs-chart-time.css → bn-chart-time-renderer/bn-chart-time-renderer.css} +0 -0
  369. /package/dist/collection/components/bn-table/{ibcs-table.css → bn-table-renderer/bn-table-renderer.css} +0 -0
  370. /package/dist/collection/components/bn-title/{ibcs-title/ibcs-title.css → bn-title-renderer/bn-title-renderer.css} +0 -0
  371. /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/factories/index.js +0 -0
  372. /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/MeasureEntriy.js +0 -0
  373. /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/TimePeriod.js +0 -0
  374. /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/TitleConfig.js +0 -0
  375. /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/index.js +0 -0
  376. /package/dist/components/{stackColors.js → p-4q8nRcWC.js} +0 -0
  377. /package/dist/components/{merge.js → p-B2NXsfMz.js} +0 -0
  378. /package/dist/components/{layoutObserver.js → p-B6kka9sT.js} +0 -0
  379. /package/dist/components/{NumericScale.js → p-BJmwHV0a.js} +0 -0
  380. /package/dist/components/{stackLayout.js → p-BTnRaHPb.js} +0 -0
  381. /package/dist/components/{emotion-hash.esm.js → p-BYBpC0EO.js} +0 -0
  382. /package/dist/components/{diagnostics.js → p-CckAR27O.js} +0 -0
  383. /package/dist/components/{SiPrefix.js → p-CeE4_3wQ.js} +0 -0
  384. /package/dist/components/{queryError.js → p-ClruFZD_.js} +0 -0
  385. /package/dist/components/{sanitizeHtml.js → p-CyUmrWfW.js} +0 -0
  386. /package/dist/components/{TableAttribute.js → p-DCPLGEs_.js} +0 -0
  387. /package/dist/components/{parentDimensions.js → p-DD1zlev_.js} +0 -0
  388. /package/dist/components/{pageFormats.js → p-DM7fwmH4.js} +0 -0
  389. /package/dist/components/{emptyState.js → p-DakXa7Dp.js} +0 -0
  390. /package/dist/components/{relativeVariance.js → p-fCjsrD7I.js} +0 -0
  391. /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/Title.d.ts +0 -0
  392. /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/factories/TitleDataSetFactory.d.ts +0 -0
  393. /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/factories/index.d.ts +0 -0
  394. /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/MeasureEntriy.d.ts +0 -0
  395. /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/TimePeriod.d.ts +0 -0
  396. /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/TitleConfig.d.ts +0 -0
  397. /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/index.d.ts +0 -0
@@ -1,56 +1,89 @@
1
- import { StackConfigParsed } from "./utils/model/TimeChartComponentConfig";
2
- import { TimeChartStyle } from "./utils/model/styles/TimeChartStyle";
3
- import { DateDistance } from "../../utils/DateStringFactory";
4
- import { AggregationLevel, AxisLabelsMode, ChartMode } from "../../utils/constants";
5
- import { ParentDimensions } from "../../utils/parentDimensions";
6
- import { AutoScalingReport } from "../../utils/scaling";
7
- import { ErrorDispatcher } from "../../utils/withHasError";
8
- import { RuleSetConfig } from "../../stores/ruleSets";
9
- import { DataFormatDigits } from "../../utils/model/DataFormatDigits";
10
- import { Order } from "../../utils/model/Order";
11
- export declare class IbcsChartTime {
1
+ import { StackConfigParsed } from "../utils/model/TimeChartComponentConfig";
2
+ import { TimeChartStyle } from "../utils/model/styles/TimeChartStyle";
3
+ import { DateDistance } from "../../../utils/DateStringFactory";
4
+ import { AxisLabelsMode, ChartMode } from "../../../utils/constants";
5
+ import { ParentDimensions } from "../../../utils/parentDimensions";
6
+ import { AutoScalingReport } from "../../../utils/scaling";
7
+ import { ErrorDispatcher } from "../../../utils/withHasError";
8
+ import { RuleSetConfig } from "../../../stores/ruleSets";
9
+ import { DataFormatDigits } from "../../../utils/model/DataFormatDigits";
10
+ /** @internal */
11
+ export declare class BnChartTimeRenderer {
12
12
  element: HTMLElement;
13
- /** Name of the dataset (table or view in the shared alasql database). */
13
+ /**
14
+ * Name of the dataset (table or view in the shared alasql database).
15
+ * @internal
16
+ */
14
17
  tableName: string;
15
- /** Bumped by `bn-chart-time` when the dataset changes; triggers re-render. */
18
+ /**
19
+ * Bumped by `bn-chart-time` when the dataset changes; triggers re-render.
20
+ * @internal
21
+ */
16
22
  dataVersion: number;
23
+ /** @internal */
17
24
  chartTitle?: string;
25
+ /** @internal */
18
26
  scenarios: string[];
27
+ /** @internal */
19
28
  variances: string[];
29
+ /** @internal */
20
30
  hideAxisLabels: boolean;
31
+ /** @internal */
21
32
  pixelPerUnit: number;
33
+ /** @internal */
22
34
  pixelPerPercentage: number;
23
35
  /**
24
36
  * Internal wrapper channel: called with the auto-fitted values (px for one
25
37
  * data unit / px per 1.0 fraction) whenever one of them was auto-resolved, so
26
38
  * the outer `bn-chart-time` can surface them in its AUTO_* warnings.
27
39
  * Not for end users.
40
+ * @internal
28
41
  */
29
42
  reportAutoScaling?: (report: AutoScalingReport) => void;
30
- /** The wrapper's error dispatcher: a failed query is reported through it as `ERR_sql`. Not for end users. */
43
+ /**
44
+ * The wrapper's error dispatcher: a failed query is reported through it as `ERR_sql`. Not for end users.
45
+ * @internal
46
+ */
31
47
  errors?: ErrorDispatcher;
32
- limit: number;
48
+ /** @internal */
33
49
  leftSideOffsetForHorizontalSync: number;
50
+ /** @internal */
34
51
  styles: TimeChartStyle | undefined;
52
+ /** @internal */
35
53
  i18n: Map<string, string>;
36
- order: Order;
37
- level: AggregationLevel;
54
+ /** @internal */
38
55
  dateInterval: DateDistance;
56
+ /** @internal */
39
57
  intervalSpanLimit: number;
58
+ /** @internal */
40
59
  axisLabelsMode: AxisLabelsMode;
60
+ /** @internal */
41
61
  filter: string;
62
+ /** @internal */
42
63
  measureScale: string;
64
+ /** @internal */
43
65
  measureUnit: string;
66
+ /** @internal */
44
67
  showMeasureScale: boolean;
68
+ /** @internal */
45
69
  showOverlayMedian: boolean;
70
+ /** @internal */
46
71
  showOverlayAvg: boolean;
72
+ /** @internal */
47
73
  chartMode: ChartMode;
74
+ /** @internal */
48
75
  maxBars: number;
76
+ /** @internal */
49
77
  stackConfig: StackConfigParsed | null;
78
+ /** @internal */
50
79
  lineFullWidth: boolean;
80
+ /** @internal */
51
81
  containerWidth: number;
82
+ /** @internal */
52
83
  dataFormatDigits: DataFormatDigits;
84
+ /** @internal */
53
85
  parentDimensions: ParentDimensions;
86
+ /** @internal */
54
87
  ruleSetConfig?: RuleSetConfig;
55
88
  drawElement: SVGElement | undefined;
56
89
  patternElement: HTMLSpanElement | undefined;
@@ -7,7 +7,7 @@ import { ComponentLayoutState, LayoutStateOptions } from "../../utils/layoutStat
7
7
  * line charts with up to four scenario layers, optional variance sub-charts,
8
8
  * stacking, and proportional auto-scaling. Date normalization and interval
9
9
  * detection are delegated to `DateStringFactory`. The heavy SVG rendering
10
- * is performed by the inner `ibcs-chart-time` element; this outer component
10
+ * is performed by the inner `bn-chart-time-renderer` element; this outer component
11
11
  * validates props, resolves auto-detected metadata, and computes styles.
12
12
  */
13
13
  export declare class Chart {
@@ -24,10 +24,28 @@ export declare class Chart {
24
24
  private readonly errors;
25
25
  private readonly resolveInherited;
26
26
  private layoutObserver;
27
+ /**
28
+ * Name of the dataset to render (the `name` of a `<bn-dataset>`). A name
29
+ * that starts with `$` reads a `<bn-datasource>` directly, which gives a
30
+ * warning.
31
+ */
32
+ datasets?: string;
33
+ /**
34
+ * Name of the component style to use (the `name` of a
35
+ * `<bn-component-style>`). Its values go on top of the default style.
36
+ */
37
+ selectedStyle?: string;
38
+ /**
39
+ * Namespace of the translations to use (the `namespace` of a
40
+ * `<bn-internationalization>`). Without it the component takes the
41
+ * `i18n-namespace` of the nearest ancestor that has one, then the built-in
42
+ * texts.
43
+ */
44
+ i18nNamespace?: string;
27
45
  /**
28
46
  * Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario
29
- * ordering. Supports `"inherited-closest"` / `"inherited-page"` to take
30
- * over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
47
+ * ordering, look and names. Supports `"inherited-closest"` / `"inherited-page"` to
48
+ * take over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
31
49
  */
32
50
  ruleset?: string;
33
51
  /**
@@ -82,15 +100,6 @@ export declare class Chart {
82
100
  validateVariances(newValue: string): void;
83
101
  syncSpaceLeft: number;
84
102
  validateLeftSync(newValue: string | number): void;
85
- /**
86
- * Set the maximum number of columns stacks The value 0 means *no limit*
87
- * <br /><br />
88
- *
89
- * columns stacks wich where cut by the limit are cumulated as REST
90
- *
91
- */
92
- limit: number;
93
- validateLimit(newValue: number): void;
94
103
  /**
95
104
  * Data units displayed per 1 em of bar length (vertical bars) - map-scale
96
105
  * semantics: a larger value means smaller bars.
@@ -124,37 +133,6 @@ export declare class Chart {
124
133
  */
125
134
  percentageScaling: string | number;
126
135
  validatePercentageScaling(newValue: string | number): void;
127
- /**
128
- * Determines level on which the chart is aggregated on.
129
- * <br /> <br />
130
- *
131
- * values:<br/>
132
- * ``` rowcategory // category // subcategory // auto```
133
- * <br /> <br />
134
- * When set to ```auto```, level is detected from the dataset silently.
135
- * When left blank, level is detected from the dataset with a warning.
136
- *
137
- */
138
- level: string;
139
- validateLevel(newValue: string): void;
140
- /** List of the primary scenarios on which the order direction are applied valid scenarios are
141
- * If order is set to a scenario it has also exists in scenariolist
142
- * <br /><br />
143
- * values:<br />
144
- * ``` category // categoryindex // rowgroup // rowgroup // rowgroupindex // ac[1-4] // fc[1-4] // py[1-4] // pl[1-4] // auto```
145
- * <br /><br />
146
- * When set to ```auto```, order is detected from the dataset silently.
147
- * When left blank, order is detected from the dataset with a warning.
148
- */
149
- order: string;
150
- validateOrderList(newValue: string): void;
151
- /** set sorting order direction
152
- * <br /><br />
153
- * values:<br />
154
- * ```asc // desc```
155
- */
156
- orderDirection: string;
157
- validateOrderDirection(newValue: string): void;
158
136
  /** Axis Date Interval
159
137
  * <br /><br />
160
138
  * values:<br />
@@ -192,16 +170,16 @@ export declare class Chart {
192
170
  * **JSON schema:**
193
171
  * ```json
194
172
  * {
195
- * "by": "scenario" | "category" | "subcategory" | "rowgroup",
173
+ * "by": "scenarios" | "dimensions",
196
174
  * "mode": "absolute" | "relative" | "absolute-relative",
197
175
  * "order": "asc" | "desc" | "dataset"
198
176
  * }
199
177
  * ```
200
178
  *
201
- * - `by` (required): The dimension to stack.
202
- * - `"scenario"` - stack the scenarios from the `scenarios` prop as layers.
203
- * - `"category"` / `"subcategory"` / `"rowgroup"` - decompose a single
204
- * scenario by this data dimension. Must be finer than `level`.
179
+ * - `by` (required): What a stack is made of.
180
+ * - `"scenarios"` - stack the scenarios from the `scenarios` prop as layers.
181
+ * - `"dimensions"` - only the first scenario is drawn. A time chart has one
182
+ * value per period, so each stack has one segment.
205
183
  * - `mode` (optional, default `"absolute"`):
206
184
  * - `"absolute"` - additive stacking, axis shows absolute units.
207
185
  * - `"relative"` - 100% stacking, axis shows 0%-100%. `unit-scaling` is
@@ -217,11 +195,11 @@ export declare class Chart {
217
195
  *
218
196
  * @example
219
197
  * // Stack scenarios
220
- * stack='{"by":"scenario"}'
198
+ * stack='{"by":"scenarios"}'
221
199
  *
222
200
  * @example
223
- * // Stack by category, relative mode
224
- * stack='{"by":"category","mode":"relative"}'
201
+ * // Stack scenarios, relative mode
202
+ * stack='{"by":"scenarios","mode":"relative"}'
225
203
  */
226
204
  stack: string;
227
205
  validateStack(newValue: string): void;
@@ -259,10 +237,8 @@ export declare class Chart {
259
237
  * values:<br />
260
238
  * ```true // false```
261
239
  */
262
- lineFullWidth: string;
263
- validateLineFullWidth(newValue: string): void;
264
- showCategories: string;
265
- validateShowCategories(newValue: string): void;
240
+ lineFullWidth: boolean;
241
+ showCategories: boolean;
266
242
  /**
267
243
  * Sets the SiPrefix of the Mesaurements and converts the
268
244
  * original value.
@@ -305,12 +281,9 @@ export declare class Chart {
305
281
  * values: <br />
306
282
  * ```true // false```
307
283
  */
308
- showMeasureScale: string;
309
- validateShowMeasureScale(newValue: string): void;
310
- showOverlayAvg: string;
311
- validateShowOverlayAvg(newValue: string): void;
312
- showOverlayMedian: string;
313
- validateShowOverlayMedian(newValue: string): void;
284
+ showMeasureScale: boolean;
285
+ showOverlayAvg: boolean;
286
+ showOverlayMedian: boolean;
314
287
  /**
315
288
  * measureUnit displayed in table.
316
289
  */
@@ -331,7 +304,7 @@ export declare class Chart {
331
304
  /** Content height as the sum of the vertically stacked segment SVGs. */
332
305
  private measureContentHeight;
333
306
  /**
334
- * Reports a WARN_overflow item when the rendered chart exceeds its
307
+ * Reports an overflow item when the rendered chart exceeds its
335
308
  * container. Overflow attributable to a fixed scaling attribute is an
336
309
  * error (height: unit-scaling / percentage-scaling, width: scale);
337
310
  * overflow in fully-auto mode is a warning - auto-fit prevents it by
@@ -374,18 +347,15 @@ export declare class Chart {
374
347
  private preparePixelPerUnit;
375
348
  private preparePixelPerPercentage;
376
349
  /**
377
- * Receives the auto-fitted values from the inner ibcs-chart-time (px per
350
+ * Receives the auto-fitted values from the inner bn-chart-time-renderer (px per
378
351
  * unit / px per 1.0 fraction) and surfaces them in the AUTO_* warnings,
379
352
  * converted back to the attribute's units-per-em form so users can copy
380
353
  * them into a bn-scaling-group.
381
354
  */
382
355
  private handleAutoScalingReport;
383
- private prepareLevel;
384
- private prepareOrder;
385
356
  private prepareStyle;
386
357
  private prepareLeftSideOffset;
387
358
  private prepareChartTitle;
388
- private prepareLimit;
389
359
  private prepareDateInterval;
390
360
  private prepareIntervalSpanLimit;
391
361
  private prepareAxisLabelsMode;
@@ -175,6 +175,11 @@ export declare class TimeChart {
175
175
  private createI18n;
176
176
  private createElementPosition;
177
177
  private calculateTitleLength;
178
+ /**
179
+ * The styles with each scenario on the bar style slot its colorIndex selects.
180
+ * `this.styles` stays the theme: the hatch pattern is built from its `fc` slot.
181
+ */
182
+ private scenarioStyles;
178
183
  private setAxisScenario;
179
184
  private populateModel;
180
185
  private detectNaNCells;
@@ -9,6 +9,8 @@ export interface LineSeriesDataPoint {
9
9
  index: number;
10
10
  }
11
11
  export declare class LineSeries {
12
+ /** Style slot (ac, pp, fc, pl) of the line. Without it the scenario name decides. */
13
+ private readonly lineSlot?;
12
14
  private readonly MARKER_SIZE;
13
15
  private readonly LINE_WIDTH;
14
16
  private readonly ID_LINE_PREFIX;
@@ -24,7 +26,9 @@ export declare class LineSeries {
24
26
  private readonly scenarioName;
25
27
  private readonly scenarioLabel;
26
28
  private readonly collisionManager;
27
- constructor(position: ElementPositions, styles: TimeChartStyle, dataPoints: LineSeriesDataPoint[], scenarioGroup: G, labelGroup: G, scenarioName: string, scenarioLabel: string | null, _i18n: Map<string | number, string>, collisionManager?: LabelCollisionManager | null);
29
+ constructor(position: ElementPositions, styles: TimeChartStyle, dataPoints: LineSeriesDataPoint[], scenarioGroup: G, labelGroup: G, scenarioName: string, scenarioLabel: string | null, _i18n: Map<string | number, string>, collisionManager?: LabelCollisionManager | null,
30
+ /** Style slot (ac, pp, fc, pl) of the line. Without it the scenario name decides. */
31
+ lineSlot?: string);
28
32
  /**
29
33
  * Backward-compatible: draws everything (geometry + labels) in one call.
30
34
  */
@@ -61,5 +61,5 @@ export declare class ScenarioFactory {
61
61
  * Moves the label group to the front of the SVG tree so labels render on top of all geometry.
62
62
  */
63
63
  moveLabelsToFront(): void;
64
- createLineSeries(dataPoints: LineSeriesDataPoint[], scenarioName: string): LineSeries;
64
+ createLineSeries(dataPoints: LineSeriesDataPoint[], scenarioName: string, lineSlot?: string): LineSeries;
65
65
  }
@@ -1,9 +1,8 @@
1
- import { AggregationLevel, AxisLabelsMode, ChartMode, StackBy, StackMode, StackOrder } from "../../../../utils/constants";
1
+ import { AxisLabelsMode, ChartMode, StackBy, StackMode, StackOrder } from "../../../../utils/constants";
2
2
  import { DateDistance } from "../../../../utils/DateStringFactory";
3
3
  import { IAdapter } from "../../../../utils/helper/IAdapter";
4
4
  import { StringAdapter } from "../../../../utils/helper/StringAdapter";
5
5
  import { DataFormatDigits, DataFormatDigitsAdapter } from "../../../../utils/model/DataFormatDigits";
6
- import { Order, OrderAdapter } from "../../../../utils/model/Order";
7
6
  import { SiPrefix } from "../../../../utils/model/SiPrefix";
8
7
  import { TimeChartDataRow, TimeChartDataRowAdapter } from "./TimeChartDataRow";
9
8
  import { AlaSQLDatabase } from "../../../../context/scopedDb";
@@ -30,10 +29,6 @@ export declare class TimeChartComponentConfig {
30
29
  pixelPerUnit: number;
31
30
  /** Vertical scale factor for percentage variances: pixels per 1.0 (=100%). */
32
31
  pixelPerPercentage: number;
33
- /** Maximum data points to display; 0 means unlimited. */
34
- limit: number;
35
- sortOrder: Order;
36
- level: AggregationLevel;
37
32
  /** Pixel offset from left edge for horizontal alignment across multiple charts. -1 disables sync. */
38
33
  leftSideOffsetForHorizontalSync: number;
39
34
  /** Date granularity (year, quarter, month, etc.). AUTO auto-detects from data. */
@@ -66,13 +61,12 @@ export declare class TimeChartComponentConfig {
66
61
  */
67
62
  export declare class TimeChartComponentConfigAdapter implements IAdapter<TimeChartComponentConfig> {
68
63
  private dataRowAdapter;
69
- private orderAdapter;
70
64
  private stringAdapter;
71
65
  private dataFormatDigitsAdapter;
72
66
  private db;
73
67
  private fromExpr;
74
68
  private onQueryError?;
75
- constructor(dataRowAdapter: TimeChartDataRowAdapter, orderAdapter: OrderAdapter, stringAdapter: StringAdapter, dataFormatDigitsAdapter: DataFormatDigitsAdapter, db: AlaSQLDatabase, fromExpr: string, onQueryError?: (e: unknown) => void);
69
+ constructor(dataRowAdapter: TimeChartDataRowAdapter, stringAdapter: StringAdapter, dataFormatDigitsAdapter: DataFormatDigitsAdapter, db: AlaSQLDatabase, fromExpr: string, onQueryError?: (e: unknown) => void);
76
70
  adapt(data: Record<string, unknown>): TimeChartComponentConfig;
77
71
  default(): TimeChartComponentConfig;
78
72
  }
@@ -13,12 +13,18 @@ export declare class Context {
13
13
  * part of the typed public API rather than a bare DOM attribute.
14
14
  */
15
15
  i18nNamespace: string;
16
+ /**
17
+ * Orientation of the sheets the document is printed on: `landscape` or
18
+ * `portrait`. A `<bn-layout-page>` with the other orientation is turned
19
+ * onto the sheet. Without it no page is turned.
20
+ */
21
+ renderOrientation?: "landscape" | "portrait";
16
22
  setLocale(newValue: string): void;
17
23
  /** The page numbers this context wrote. A number that is not in here was set by the author and is left alone. */
18
24
  private readonly assignedPageNumbers;
19
25
  private pageObserver;
20
26
  private pageSizeStyle;
21
- private renderOrientation;
27
+ private lastRenderOrientation;
22
28
  connectedCallback(): void;
23
29
  disconnectedCallback(): void;
24
30
  /** Numbers the pages and writes the paper size of the document. */
@@ -8,7 +8,7 @@
8
8
  * parsed body directly to the `datasets` store.
9
9
  *
10
10
  * Set the `src` attribute to fetch JSON from an HTTP endpoint instead and
11
- * write it to the `datasets` store. Set the `interval` prop (in seconds)
11
+ * write it to the `datasets` store. Set the `refresh-interval` attribute (in seconds)
12
12
  * to enable periodic re-fetching.
13
13
  */
14
14
  export declare class Dataset {
@@ -45,7 +45,7 @@ export declare class Dataset {
45
45
  * interval. Has no effect for SQL, inline JSON or compressed content.
46
46
  * Set to `0` or leave unset to disable polling.
47
47
  */
48
- interval: number;
48
+ refreshInterval: number;
49
49
  /**
50
50
  * URL to fetch the dataset JSON from. When set, the body is ignored and
51
51
  * the fetched payload is written directly to the `datasets` store
@@ -5,7 +5,7 @@
5
5
  * 1. **Inline JSON** - Place JSON text inside the element body (default).
6
6
  * 2. **Compressed payload** - Set `raw="false"` and provide `<hash>:<base64_gzip>` format.
7
7
  * 3. **URL** - Set the `src` attribute to fetch JSON from an HTTP endpoint.
8
- * Set the `interval` prop (in seconds) to enable periodic re-fetching
8
+ * Set the `refresh-interval` attribute (in seconds) to enable periodic re-fetching
9
9
  * (polling).
10
10
  *
11
11
  * The body is always inline data and is ignored while `src` is set.
@@ -31,7 +31,7 @@ export declare class Datasource {
31
31
  * interval. Has no effect for inline JSON or compressed content.
32
32
  * Set to `0` or leave unset to disable polling.
33
33
  */
34
- interval: number;
34
+ refreshInterval: number;
35
35
  /**
36
36
  * URL to fetch the JSON from. When set, the body is ignored.
37
37
  */
@@ -4,6 +4,11 @@ export declare class Footer {
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
  /**
8
13
  * Page label: a number or any text, e.g. `3` or `A-1`.
9
14
  * Is displayed if displayPageNumber == true
@@ -14,16 +19,9 @@ export declare class Footer {
14
19
  * <br />If empty string (`''` or `null`) the footer row is omitted
15
20
  */
16
21
  text: string;
17
- /**
18
- * code .
19
- * <br />If empty string (`''` or `null`) the footer row is omitted
20
- */
21
- code: string;
22
22
  /**
23
23
  * Toggle if pagenumer label is displayed
24
24
  */
25
25
  displayPageNumber: boolean;
26
- isValidHttpUrl(string: any): boolean;
27
- prepareAssetUrl(imgUrl: string): string;
28
26
  render(): any;
29
27
  }
@@ -10,6 +10,11 @@ export declare class Grid {
10
10
  private gridConfig;
11
11
  private readonly errors;
12
12
  private readonly componentStyle;
13
+ /**
14
+ * Name of the component style to use (the `name` of a
15
+ * `<bn-component-style>`). Its values go on top of the default style.
16
+ */
17
+ selectedStyle?: string;
13
18
  /**
14
19
  * Title displayed at top-left of the grid.
15
20
  */
@@ -31,12 +36,11 @@ export declare class Grid {
31
36
  /**
32
37
  * Whether to display row headers.
33
38
  */
34
- showRowHeaders: string;
35
- validateShowRowHeaders(newValue: string): void;
39
+ showRowHeaders: boolean;
36
40
  /**
37
41
  * Whether to display column headers.
38
42
  */
39
- showColumnHeaders: string;
43
+ showColumnHeaders: boolean;
40
44
  /**
41
45
  * I18n namespace inherited by this grid's children (their own namespace
42
46
  * wins). Resolved at runtime from the `i18n-namespace` attribute by the
@@ -45,12 +49,10 @@ export declare class Grid {
45
49
  * public API rather than a bare DOM attribute.
46
50
  */
47
51
  i18nNamespace: string;
48
- validateShowColumnHeaders(newValue: string): void;
49
52
  /**
50
53
  * Whether to display divider lines between cells.
51
54
  */
52
- showBorders: string;
53
- validateShowBorders(newValue: string): void;
55
+ showBorders: boolean;
54
56
  /**
55
57
  * Width of row header column. Accepts CSS values (e.g., 'auto', '100px', '20%').
56
58
  */
@@ -7,6 +7,10 @@ export declare class Image {
7
7
  connectedCallback(): void;
8
8
  private getFontStyles;
9
9
  /**
10
+ * Name of the component style to use (the `name` of a
11
+ * `<bn-component-style>`). Its values go on top of the default style.
12
+ */
13
+ selectedStyle?: string;
10
14
  /**
11
15
  * Url of the image.
12
16
  * <br />
@@ -205,7 +205,6 @@ export declare class LayoutCard {
205
205
  private getSlots;
206
206
  private extractSlotNames;
207
207
  private getTemplatePattern;
208
- getNumberOfSlot(name: string): Promise<number>;
209
208
  componentWillRender(): void;
210
209
  setCardClass(): string;
211
210
  /** The value of a prop for the inner title. An unresolved keyword reaches it as blank. */
@@ -227,7 +227,6 @@ export declare class LayoutPage {
227
227
  private extractSlotNames;
228
228
  private getTemplateAreas;
229
229
  private getGridTemplateColumns;
230
- getNumberOfSlot(name: string): Promise<number>;
231
230
  private mirror;
232
231
  componentWillRender(): void;
233
232
  /**
@@ -6,6 +6,11 @@ export declare class Footer {
6
6
  constructor();
7
7
  connectedCallback(): void;
8
8
  private getFontStyles;
9
+ /**
10
+ * Name of the component style to use (the `name` of a
11
+ * `<bn-component-style>`). Its values go on top of the default style.
12
+ */
13
+ selectedStyle?: string;
9
14
  /**
10
15
  * Message text. Rendered as HTML, sanitized against XSS
11
16
  * (only safe tags such as `br`, `b`, `i`, `strong`, `em`, `a` and their
@@ -3,6 +3,11 @@ export declare class Page {
3
3
  private readonly componentStyle;
4
4
  private readonly errors;
5
5
  constructor();
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
  /**
7
12
  * Defines the size of the page
8
13
  * <br /><br />