@bino-bi/bn-template-engine 1.0.0-alpha.0 → 1.0.0-alpha.11

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 (361) hide show
  1. package/LICENSE +203 -21
  2. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
  3. package/dist/bn-template-engine/p-095f74d7.entry.js +1 -0
  4. package/dist/bn-template-engine/p-14318b0d.entry.js +1 -0
  5. package/dist/bn-template-engine/{p-c9f050bf.entry.js → p-2133e02b.entry.js} +1 -1
  6. package/dist/bn-template-engine/p-6b469808.entry.js +1 -0
  7. package/dist/bn-template-engine/p-7HSTE79g.js +1 -0
  8. package/dist/bn-template-engine/p-B4JfKvVT.js +1 -0
  9. package/dist/bn-template-engine/p-B_d-jp99.js +2 -0
  10. package/dist/bn-template-engine/p-Bi2wx-el.js +1 -0
  11. package/dist/bn-template-engine/p-CWiZks2h.js +1 -0
  12. package/dist/bn-template-engine/{p-BQp6ZPYW.js → p-DSXNgKLa.js} +1 -1
  13. package/dist/bn-template-engine/p-c2cbb8ea.entry.js +1 -0
  14. package/dist/bn-template-engine/p-e783733e.entry.js +1 -0
  15. package/dist/bn-template-engine/p-e94b4e31.entry.js +1 -0
  16. package/dist/bn-template-engine/p-fdb3e99a.entry.js +1 -0
  17. package/dist/cjs/bn-asset_21.cjs.entry.js +23995 -0
  18. package/dist/cjs/bn-grid.cjs.entry.js +6 -13
  19. package/dist/cjs/bn-image.cjs.entry.js +6 -13
  20. package/dist/cjs/bn-internationalization.cjs.entry.js +5 -7
  21. package/dist/cjs/bn-template-engine.cjs.js +2 -2
  22. package/dist/cjs/bn-template.cjs.entry.js +4 -6
  23. package/dist/cjs/bn-text.cjs.entry.js +10 -19
  24. package/dist/cjs/bn-tree.cjs.entry.js +11 -14
  25. package/dist/cjs/{context-protocol-BkYHFkXE.js → context-protocol-B_jipZpJ.js} +6 -2
  26. package/dist/cjs/editor-companion.cjs.entry.js +3 -3
  27. package/dist/cjs/{index-CScBFiS1.js → index-CDKG4xmO.js} +2 -2
  28. package/dist/cjs/loader.cjs.js +2 -2
  29. package/dist/cjs/scaling-eyzCrFB8.js +329 -0
  30. package/dist/cjs/{withBodyObserver-B0_W1VOf.js → withBodyObserver-D7BKWN2N.js} +2 -2
  31. package/dist/cjs/{withHasError-Dspb3lIV.js → withHasError-Cl2gTQzA.js} +106 -2
  32. package/dist/{esm/luxon-DbyXf6dF.js → cjs/withStyled-V7xz_x1c.js} +1406 -1
  33. package/dist/collection/collection-manifest.json +2 -10
  34. package/dist/collection/components/bn-body/bn-body.css +1 -0
  35. package/dist/collection/components/bn-card/bn-card.css +2 -0
  36. package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +368 -130
  37. package/dist/collection/components/bn-chart-structure/ibcs-chart-structure.js +34 -10
  38. package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +94 -11
  39. package/dist/collection/components/bn-chart-structure/utils/elements/Label.js +11 -0
  40. package/dist/collection/components/bn-chart-structure/utils/elements/StackedBar.js +8 -6
  41. package/dist/collection/components/bn-chart-structure/utils/model/styles/StructureChartStyle.js +4 -0
  42. package/dist/collection/components/bn-chart-time/bn-chart-time.css +1 -1
  43. package/dist/collection/components/bn-chart-time/bn-chart-time.js +172 -51
  44. package/dist/collection/components/bn-chart-time/ibcs-chart-time.js +22 -9
  45. package/dist/collection/components/bn-chart-time/utils/TimeChart.js +3 -3
  46. package/dist/collection/components/bn-chart-time/utils/elements/StackedColumn.js +3 -4
  47. package/dist/collection/components/bn-chart-time/utils/model/styles/TimeChartStyle.js +4 -0
  48. package/dist/collection/components/bn-dataset/bn-dataset.js +49 -2
  49. package/dist/collection/components/bn-datasource/bn-datasource.js +173 -8
  50. package/dist/collection/components/bn-layout-card/bn-layout-card.css +3 -2
  51. package/dist/collection/components/bn-layout-card/bn-layout-card.js +207 -32
  52. package/dist/collection/components/bn-layout-page/bn-layout-page.css +1 -3
  53. package/dist/collection/components/bn-layout-page/bn-layout-page.js +172 -43
  54. package/dist/collection/components/bn-message/bn-message.js +1 -1
  55. package/dist/collection/components/bn-page/bn-page.js +1 -1
  56. package/dist/collection/components/bn-scaling-group/bn-scaling-group.css +3 -0
  57. package/dist/collection/components/bn-scaling-group/bn-scaling-group.js +136 -0
  58. package/dist/collection/components/bn-table/bn-table.js +201 -58
  59. package/dist/collection/components/bn-table/ibcs-table.css +7 -5
  60. package/dist/collection/components/bn-table/ibcs-table.js +91 -5
  61. package/dist/collection/components/bn-table/utils/elements/CellBarChart.js +79 -31
  62. package/dist/collection/components/bn-table/utils/elements/TableRow.js +3 -1
  63. package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +12 -3
  64. package/dist/collection/components/bn-table/utils/helper/ColumnStatistics.js +9 -1
  65. package/dist/collection/components/bn-template/bn-template.js +1 -1
  66. package/dist/collection/components/bn-text/bn-text.js +1 -1
  67. package/dist/collection/components/bn-title/bn-title.js +1 -9
  68. package/dist/collection/components/bn-title/ibcs-title/ibcs-title.js +1 -4
  69. package/dist/collection/components/bn-tree/bn-tree.js +5 -1
  70. package/dist/collection/components/editor-companion/editor-companion.js +1 -1
  71. package/dist/collection/stores/componentStyles.js +2 -0
  72. package/dist/collection/stores/createScopedStores.js +3 -1
  73. package/dist/collection/utils/DateStringFactory.js +0 -1
  74. package/dist/collection/utils/constants.js +35 -5
  75. package/dist/collection/utils/contentDecoder.js +28 -0
  76. package/dist/collection/utils/layoutObserver.js +88 -0
  77. package/dist/collection/utils/parentDimensions.js +57 -10
  78. package/dist/collection/utils/stackColors.js +2 -2
  79. package/dist/collection/utils/validate.js +5 -2
  80. package/dist/collection/utils/withInheritedProps.js +152 -0
  81. package/dist/collection/utils/withScalingGroup.js +66 -0
  82. package/dist/components/DataFormatDigits.js +1 -1
  83. package/dist/components/DateStringFactory.js +1 -1
  84. package/dist/components/Order.js +1 -1
  85. package/dist/components/SVGVariancesStyleGroup.js +1 -1
  86. package/dist/components/bn-body2.js +1 -1
  87. package/dist/components/bn-card2.js +1 -1
  88. package/dist/components/bn-chart-structure.js +1 -1
  89. package/dist/components/bn-chart-time.js +1 -1
  90. package/dist/components/bn-dataset.js +1 -1
  91. package/dist/components/bn-datasource.js +1 -1
  92. package/dist/components/bn-layout-card.js +1 -1
  93. package/dist/components/bn-layout-page.js +1 -1
  94. package/dist/components/bn-message2.js +1 -1
  95. package/dist/components/bn-page2.js +1 -1
  96. package/dist/components/{test-runner-time.d.ts → bn-scaling-group.d.ts} +4 -4
  97. package/dist/components/bn-scaling-group.js +1 -0
  98. package/dist/components/bn-table.js +1 -1
  99. package/dist/components/bn-template.js +1 -1
  100. package/dist/components/bn-text.js +1 -1
  101. package/dist/components/bn-title2.js +1 -1
  102. package/dist/components/bn-tree.js +1 -1
  103. package/dist/components/contentDecoder.js +1 -0
  104. package/dist/components/context-protocol.js +1 -1
  105. package/dist/components/editor-companion.js +1 -1
  106. package/dist/components/emotion-hash.esm.js +1 -0
  107. package/dist/components/ibcs-chart-structure2.js +1 -1
  108. package/dist/components/ibcs-chart-time2.js +1 -1
  109. package/dist/components/ibcs-table2.js +1 -1
  110. package/dist/components/ibcs-title2.js +1 -1
  111. package/dist/components/ibcsRuleSet.js +1 -1
  112. package/dist/components/layoutObserver.js +1 -0
  113. package/dist/components/scaling.js +1 -1
  114. package/dist/components/validate.js +1 -1
  115. package/dist/components/withHasError.js +1 -1
  116. package/dist/components/withInheritedProps.js +1 -0
  117. package/dist/components/withStyled.js +1 -1
  118. package/dist/esm/bn-asset_21.entry.js +23973 -0
  119. package/dist/esm/bn-grid.entry.js +4 -11
  120. package/dist/esm/bn-image.entry.js +4 -11
  121. package/dist/esm/bn-internationalization.entry.js +4 -6
  122. package/dist/esm/bn-template-engine.js +3 -3
  123. package/dist/esm/bn-template.entry.js +3 -5
  124. package/dist/esm/bn-text.entry.js +6 -15
  125. package/dist/esm/bn-tree.entry.js +9 -12
  126. package/dist/esm/{context-protocol-DzeqZxg6.js → context-protocol-D-o_UZ33.js} +6 -2
  127. package/dist/esm/editor-companion.entry.js +3 -3
  128. package/dist/esm/{index-B27Ax6P_.js → index-B_d-jp99.js} +2 -2
  129. package/dist/esm/loader.js +3 -3
  130. package/dist/esm/scaling-BzbiBnuN.js +324 -0
  131. package/dist/esm/{withBodyObserver-gZpZiEIK.js → withBodyObserver-AFk2wwHT.js} +2 -2
  132. package/dist/esm/{withHasError-C48fTE2k.js → withHasError-DW_vMDUp.js} +106 -2
  133. package/dist/{cjs/luxon-8hyy5YD7.js → esm/withStyled-5RqF8WBL.js} +1371 -2
  134. package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +163 -110
  135. package/dist/types/components/bn-chart-structure/ibcs-chart-structure.d.ts +4 -3
  136. package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +7 -0
  137. package/dist/types/components/bn-chart-structure/utils/elements/Label.d.ts +2 -0
  138. package/dist/types/components/bn-chart-structure/utils/model/styles/StructureChartStyle.d.ts +1 -0
  139. package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +29 -12
  140. package/dist/types/components/bn-chart-time/ibcs-chart-time.d.ts +4 -3
  141. package/dist/types/components/bn-chart-time/utils/model/styles/TimeChartStyle.d.ts +1 -0
  142. package/dist/types/components/bn-dataset/bn-dataset.d.ts +6 -0
  143. package/dist/types/components/bn-datasource/bn-datasource.d.ts +48 -5
  144. package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +153 -0
  145. package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +160 -1
  146. package/dist/types/components/bn-scaling-group/bn-scaling-group.d.ts +37 -0
  147. package/dist/types/components/bn-table/bn-table.d.ts +32 -17
  148. package/dist/types/components/bn-table/ibcs-table.d.ts +20 -0
  149. package/dist/types/components/bn-table/utils/elements/Cell.d.ts +1 -0
  150. package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +1 -0
  151. package/dist/types/components/bn-title/bn-title.d.ts +0 -1
  152. package/dist/types/components.d.ts +438 -461
  153. package/dist/types/context/context-protocol.d.ts +2 -1
  154. package/dist/types/stores/componentStyles.d.ts +2 -0
  155. package/dist/types/stores/createScopedStores.d.ts +1 -0
  156. package/dist/types/utils/constants.d.ts +23 -5
  157. package/dist/types/utils/contentDecoder.d.ts +12 -0
  158. package/dist/types/utils/layoutObserver.d.ts +27 -0
  159. package/dist/types/utils/parentDimensions.d.ts +7 -2
  160. package/dist/types/utils/validate.d.ts +1 -0
  161. package/dist/types/utils/withInheritedProps.d.ts +38 -0
  162. package/dist/types/utils/withScalingGroup.d.ts +14 -0
  163. package/package.json +4 -4
  164. package/readme.md +2 -3
  165. package/dist/bn-template-engine/assets/gpx/Chasing_Legends.gpx +0 -195076
  166. package/dist/bn-template-engine/assets/gpx/Fahrt_am_Nachmittag.gpx +0 -142007
  167. package/dist/bn-template-engine/assets/icons/gpx-finish.png +0 -0
  168. package/dist/bn-template-engine/assets/icons/gpx-shadow.png +0 -0
  169. package/dist/bn-template-engine/assets/icons/gpx-start.png +0 -0
  170. package/dist/bn-template-engine/assets/icons/marker-example.png +0 -0
  171. package/dist/bn-template-engine/assets/icons/pin-icon-end.png +0 -0
  172. package/dist/bn-template-engine/assets/icons/pin-icon-start.png +0 -0
  173. package/dist/bn-template-engine/assets/icons/pin-icon-wpt.png +0 -0
  174. package/dist/bn-template-engine/assets/icons/pin-shadow.png +0 -0
  175. package/dist/bn-template-engine/assets/icons/pin.png +0 -0
  176. package/dist/bn-template-engine/p--TeDldm8.js +0 -1
  177. package/dist/bn-template-engine/p-0e7dc113.entry.js +0 -1
  178. package/dist/bn-template-engine/p-1jFf17Vj.js +0 -1
  179. package/dist/bn-template-engine/p-264c6bad.entry.js +0 -1
  180. package/dist/bn-template-engine/p-326a0902.entry.js +0 -1
  181. package/dist/bn-template-engine/p-38a8bde3.entry.js +0 -1
  182. package/dist/bn-template-engine/p-577eafcd.entry.js +0 -1
  183. package/dist/bn-template-engine/p-5905cc43.entry.js +0 -1
  184. package/dist/bn-template-engine/p-5d155a72.entry.js +0 -1
  185. package/dist/bn-template-engine/p-65f8962a.entry.js +0 -1
  186. package/dist/bn-template-engine/p-6b8d1ebf.entry.js +0 -1
  187. package/dist/bn-template-engine/p-7995acb2.entry.js +0 -1
  188. package/dist/bn-template-engine/p-7afe431e.entry.js +0 -1
  189. package/dist/bn-template-engine/p-8014b1ac.entry.js +0 -1
  190. package/dist/bn-template-engine/p-80423fc8.entry.js +0 -1
  191. package/dist/bn-template-engine/p-91e74d42.entry.js +0 -1
  192. package/dist/bn-template-engine/p-930a9e29.entry.js +0 -1
  193. package/dist/bn-template-engine/p-93C9jL8R.js +0 -1
  194. package/dist/bn-template-engine/p-93ff8584.entry.js +0 -1
  195. package/dist/bn-template-engine/p-B0m0U4wJ.js +0 -1
  196. package/dist/bn-template-engine/p-B27Ax6P_.js +0 -2
  197. package/dist/bn-template-engine/p-B79VcHiT.js +0 -1
  198. package/dist/bn-template-engine/p-BBd0ZVLL.js +0 -1
  199. package/dist/bn-template-engine/p-BFTU3MAI.js +0 -1
  200. package/dist/bn-template-engine/p-BFatTBqh.js +0 -1
  201. package/dist/bn-template-engine/p-BYmPQYxx.js +0 -1
  202. package/dist/bn-template-engine/p-BhEQy-2D.js +0 -1
  203. package/dist/bn-template-engine/p-BtVfu16B.js +0 -1
  204. package/dist/bn-template-engine/p-CY1RzLjU.js +0 -1
  205. package/dist/bn-template-engine/p-CfWnag33.js +0 -1
  206. package/dist/bn-template-engine/p-CnI71OA9.js +0 -1
  207. package/dist/bn-template-engine/p-Cp4MVxCu.js +0 -1
  208. package/dist/bn-template-engine/p-DbyXf6dF.js +0 -1
  209. package/dist/bn-template-engine/p-TdL-LRR9.js +0 -1
  210. package/dist/bn-template-engine/p-_LBTIfNN.js +0 -1
  211. package/dist/bn-template-engine/p-a342cd3c.entry.js +0 -1
  212. package/dist/bn-template-engine/p-ad94cf63.entry.js +0 -1
  213. package/dist/bn-template-engine/p-bc37d750.entry.js +0 -1
  214. package/dist/bn-template-engine/p-d07a0ca3.entry.js +0 -1
  215. package/dist/bn-template-engine/p-e5f372af.entry.js +0 -1
  216. package/dist/bn-template-engine/p-e620028c.entry.js +0 -1
  217. package/dist/bn-template-engine/p-e81e116a.entry.js +0 -1
  218. package/dist/bn-template-engine/p-eca98070.entry.js +0 -1
  219. package/dist/bn-template-engine/p-ee6de950.entry.js +0 -1
  220. package/dist/bn-template-engine/p-efe0ef1e.entry.js +0 -1
  221. package/dist/bn-template-engine/p-f034f1b8.entry.js +0 -1
  222. package/dist/bn-template-engine/p-f1c1a8a3.entry.js +0 -1
  223. package/dist/bn-template-engine/p-fe573a1a.entry.js +0 -1
  224. package/dist/bn-template-engine/p-kMyLevYy.js +0 -1
  225. package/dist/cjs/DataFormatDigits-DmTbhF8q.js +0 -142
  226. package/dist/cjs/DateStringFactory-Dn0aRj2Y.js +0 -453
  227. package/dist/cjs/Order-B4NIqQWe.js +0 -129
  228. package/dist/cjs/SVGVariancesStyleGroup-Czizhngt.js +0 -7973
  229. package/dist/cjs/StringAdapter-0EbYMkR0.js +0 -136
  230. package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +0 -10
  231. package/dist/cjs/alasql.min-C_nHTuEQ.js +0 -306
  232. package/dist/cjs/bn-asset.cjs.entry.js +0 -42
  233. package/dist/cjs/bn-body_3.cjs.entry.js +0 -413
  234. package/dist/cjs/bn-card.cjs.entry.js +0 -37
  235. package/dist/cjs/bn-chart-structure.cjs.entry.js +0 -705
  236. package/dist/cjs/bn-chart-time.cjs.entry.js +0 -987
  237. package/dist/cjs/bn-component-style.cjs.entry.js +0 -44
  238. package/dist/cjs/bn-context_5.cjs.entry.js +0 -3380
  239. package/dist/cjs/bn-dataset.cjs.entry.js +0 -278
  240. package/dist/cjs/bn-layout-card.cjs.entry.js +0 -128
  241. package/dist/cjs/bn-layout-page.cjs.entry.js +0 -142
  242. package/dist/cjs/bn-map.cjs.entry.js +0 -425
  243. package/dist/cjs/bn-message.cjs.entry.js +0 -52
  244. package/dist/cjs/componentRegister-C17UFNPh.js +0 -72
  245. package/dist/cjs/constants-DHqQXSSd.js +0 -158
  246. package/dist/cjs/formatter-DIJL_crx.js +0 -215
  247. package/dist/cjs/ibcs-chart-structure.cjs.entry.js +0 -2906
  248. package/dist/cjs/ibcs-chart-time.cjs.entry.js +0 -4140
  249. package/dist/cjs/ibcs-map.cjs.entry.js +0 -1075
  250. package/dist/cjs/ibcs-title.cjs.entry.js +0 -352
  251. package/dist/cjs/scaling-B23eOtsC.js +0 -67
  252. package/dist/cjs/test-runner-card.cjs.entry.js +0 -27
  253. package/dist/cjs/test-runner-chart-time.cjs.entry.js +0 -230
  254. package/dist/cjs/test-runner-chart.cjs.entry.js +0 -326
  255. package/dist/cjs/test-runner-map.cjs.entry.js +0 -1862
  256. package/dist/cjs/test-runner-table.cjs.entry.js +0 -477
  257. package/dist/cjs/test-runner-time.cjs.entry.js +0 -381
  258. package/dist/cjs/test-runner-title.cjs.entry.js +0 -115
  259. package/dist/cjs/withComponentStatus-BrxL7usr.js +0 -39
  260. package/dist/cjs/withComponentStyle-C6KHnZHt.js +0 -128
  261. package/dist/cjs/withDataset-ZdN-RRTx.js +0 -146
  262. package/dist/cjs/withStyled-Bf-stJTR.js +0 -567
  263. package/dist/cjs/withTranslation-Cz0M5maV.js +0 -77
  264. package/dist/collection/components/bn-map/bn-map.css +0 -4
  265. package/dist/collection/components/bn-map/bn-map.js +0 -725
  266. package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Chasing_Legends.gpx +0 -195076
  267. package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Fahrt_am_Nachmittag.gpx +0 -142007
  268. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-finish.png +0 -0
  269. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-shadow.png +0 -0
  270. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-start.png +0 -0
  271. package/dist/collection/components/bn-map/ibcs-map/assets/icons/marker-example.png +0 -0
  272. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-end.png +0 -0
  273. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-start.png +0 -0
  274. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-wpt.png +0 -0
  275. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-shadow.png +0 -0
  276. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin.png +0 -0
  277. package/dist/collection/components/bn-map/ibcs-map/ibcs-map.css +0 -674
  278. package/dist/collection/components/bn-map/ibcs-map/ibcs-map.js +0 -744
  279. package/dist/collection/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.js +0 -9
  280. package/dist/collection/components/bn-map/ibcs-map/utils/model/GpxLayer.js +0 -13
  281. package/dist/collection/components/bn-map/ibcs-map/utils/model/Marker.js +0 -11
  282. package/dist/collection/components/bn-map/ibcs-map/utils/model/index.js +0 -2
  283. package/dist/collection/test-runner/test-runner-card.js +0 -36
  284. package/dist/collection/test-runner/test-runner-chart-time.js +0 -234
  285. package/dist/collection/test-runner/test-runner-chart.js +0 -364
  286. package/dist/collection/test-runner/test-runner-map.js +0 -1901
  287. package/dist/collection/test-runner/test-runner-table.js +0 -469
  288. package/dist/collection/test-runner/test-runner-time.js +0 -399
  289. package/dist/collection/test-runner/test-runner-title.js +0 -108
  290. package/dist/components/bn-map.d.ts +0 -11
  291. package/dist/components/bn-map.js +0 -1
  292. package/dist/components/componentRegister.js +0 -1
  293. package/dist/components/ibcs-map.d.ts +0 -11
  294. package/dist/components/ibcs-map.js +0 -1
  295. package/dist/components/ibcs-map2.js +0 -1
  296. package/dist/components/test-runner-card.d.ts +0 -11
  297. package/dist/components/test-runner-card.js +0 -1
  298. package/dist/components/test-runner-chart-time.d.ts +0 -11
  299. package/dist/components/test-runner-chart-time.js +0 -1
  300. package/dist/components/test-runner-chart.d.ts +0 -11
  301. package/dist/components/test-runner-chart.js +0 -1
  302. package/dist/components/test-runner-map.d.ts +0 -11
  303. package/dist/components/test-runner-map.js +0 -1
  304. package/dist/components/test-runner-table.d.ts +0 -11
  305. package/dist/components/test-runner-table.js +0 -1
  306. package/dist/components/test-runner-time.js +0 -1
  307. package/dist/components/test-runner-title.d.ts +0 -11
  308. package/dist/components/test-runner-title.js +0 -1
  309. package/dist/components/withDataset.js +0 -1
  310. package/dist/esm/DataFormatDigits-Dt6gpIiZ.js +0 -137
  311. package/dist/esm/DateStringFactory-_Qiv0IvF.js +0 -451
  312. package/dist/esm/Order-B4fpLe_f.js +0 -125
  313. package/dist/esm/SVGVariancesStyleGroup-DlWgvpzs.js +0 -7961
  314. package/dist/esm/StringAdapter-BLvo1Krl.js +0 -133
  315. package/dist/esm/_commonjsHelpers-BFTU3MAI.js +0 -7
  316. package/dist/esm/alasql.min-CWu4NkIt.js +0 -304
  317. package/dist/esm/bn-asset.entry.js +0 -40
  318. package/dist/esm/bn-body_3.entry.js +0 -409
  319. package/dist/esm/bn-card.entry.js +0 -35
  320. package/dist/esm/bn-chart-structure.entry.js +0 -703
  321. package/dist/esm/bn-chart-time.entry.js +0 -985
  322. package/dist/esm/bn-component-style.entry.js +0 -42
  323. package/dist/esm/bn-context_5.entry.js +0 -3374
  324. package/dist/esm/bn-dataset.entry.js +0 -276
  325. package/dist/esm/bn-layout-card.entry.js +0 -126
  326. package/dist/esm/bn-layout-page.entry.js +0 -140
  327. package/dist/esm/bn-map.entry.js +0 -423
  328. package/dist/esm/bn-message.entry.js +0 -50
  329. package/dist/esm/componentRegister-BtVfu16B.js +0 -72
  330. package/dist/esm/constants-kMyLevYy.js +0 -158
  331. package/dist/esm/formatter-DTMEZ6d8.js +0 -211
  332. package/dist/esm/ibcs-chart-structure.entry.js +0 -2904
  333. package/dist/esm/ibcs-chart-time.entry.js +0 -4138
  334. package/dist/esm/ibcs-map.entry.js +0 -1073
  335. package/dist/esm/ibcs-title.entry.js +0 -350
  336. package/dist/esm/scaling-BBd0ZVLL.js +0 -64
  337. package/dist/esm/test-runner-card.entry.js +0 -25
  338. package/dist/esm/test-runner-chart-time.entry.js +0 -228
  339. package/dist/esm/test-runner-chart.entry.js +0 -324
  340. package/dist/esm/test-runner-map.entry.js +0 -1860
  341. package/dist/esm/test-runner-table.entry.js +0 -475
  342. package/dist/esm/test-runner-time.entry.js +0 -379
  343. package/dist/esm/test-runner-title.entry.js +0 -113
  344. package/dist/esm/withComponentStatus-elELReKt.js +0 -37
  345. package/dist/esm/withComponentStyle-NaxfakAG.js +0 -126
  346. package/dist/esm/withDataset-BT2VQCsG.js +0 -144
  347. package/dist/esm/withStyled-CpUTv74m.js +0 -539
  348. package/dist/esm/withTranslation-Do4GhleK.js +0 -75
  349. package/dist/types/components/bn-map/bn-map.d.ts +0 -122
  350. package/dist/types/components/bn-map/ibcs-map/ibcs-map.d.ts +0 -73
  351. package/dist/types/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.d.ts +0 -8
  352. package/dist/types/components/bn-map/ibcs-map/utils/model/GpxLayer.d.ts +0 -11
  353. package/dist/types/components/bn-map/ibcs-map/utils/model/Marker.d.ts +0 -9
  354. package/dist/types/components/bn-map/ibcs-map/utils/model/index.d.ts +0 -2
  355. package/dist/types/test-runner/test-runner-card.d.ts +0 -3
  356. package/dist/types/test-runner/test-runner-chart-time.d.ts +0 -3
  357. package/dist/types/test-runner/test-runner-chart.d.ts +0 -3
  358. package/dist/types/test-runner/test-runner-map.d.ts +0 -3
  359. package/dist/types/test-runner/test-runner-table.d.ts +0 -3
  360. package/dist/types/test-runner/test-runner-time.d.ts +0 -3
  361. package/dist/types/test-runner/test-runner-title.d.ts +0 -3
@@ -18,175 +18,222 @@ export declare class Chart {
18
18
  private readonly t;
19
19
  private readonly componentStyle;
20
20
  private readonly errors;
21
+ private readonly resolveInherited;
22
+ private layoutObserver;
23
+ /** Last parent height seen, used to suppress ResizeObserver noise. */
24
+ private _lastScaledParentHeight;
21
25
  /**
22
- * Custom chart title
26
+ * Title displayed above the chart. When empty, the title is derived
27
+ * from the variance scenario labels (if variances are configured).
28
+ *
29
+ * @example chart-title="Revenue by Category"
23
30
  */
24
31
  chartTitle: string;
25
32
  /**
26
33
  * AlaSQL WHERE clause fragment injected into the data query to filter
27
- * rows before rendering (e.g. `"rowGroup = 'Revenue'"`).
34
+ * rows before rendering.
35
+ *
36
+ * @example filter="rowGroup = 'Revenue'"
28
37
  */
29
38
  filter: string;
30
39
  /**
31
- * List of Scenarios Map.
32
- *<br /> <br />
33
- * per chart there are up to 4 different scenarios supported.
34
- * The first 4 scenarios in the list are used, the rest ignored.
40
+ * Comma-separated list of scenario columns to display as bars.
41
+ * Up to 4 scenarios are supported; additional values are ignored.
42
+ *
43
+ * Valid scenario names: `ac1`–`ac4`, `fc1`–`fc4`, `pp1`–`pp4`, `pl1`–`pl4`.
35
44
  *
36
- *<br /> <br />
37
- * values:<br /> ```ac // fc // pp // pl [1-4] // auto```
38
- * example:<br /> ```ac1,ac2,ac3,ac4```
39
- *<br /> <br />
40
- * When set to ```auto```, scenarios are detected from the dataset silently.
41
- * When left blank, scenarios are detected from the dataset with a warning.
45
+ * | Value | Behavior |
46
+ * |---------------|-------------------------------------------------------------|
47
+ * | `"ac1,fc1"` | Show the listed scenarios |
48
+ * | `"auto"` | Auto-detect from dataset metadata (no warning) |
49
+ * | not set / `""` | Auto-detect from dataset metadata (emits `AUTO_scenarios` warning) |
42
50
  *
51
+ * @example scenarios="ac1,pp1,pl1"
43
52
  */
44
53
  scenarios: string;
45
54
  validateScenario(newValue: string): void;
46
55
  /**
47
- * List of Variance Map.
48
- *<br /> <br />
49
- * Variance chart can be added by seperating the scenarios
50
- * of each chart with ```;```<br />
51
- * The additonal variances which
52
- * are calculated form the given scenarios.
53
- * the scenarios used in the variances have also
54
- * be defined in the *scenarios* property.
55
- *<br /> <br />
56
- * the variance is defiend as (Scenario A - ScenarioB)
57
- * neu. neg and pos post fix defines which value is *good*
58
- * a negative or a positive value.
59
- *<br /> <br />
60
- * if empty variance charts are hidden
61
- *<br /> <br />
62
- * each variance creates a chart
63
- *<br /> <br />
64
- * pattern:<br /> ```d<scenarioB>_<scenarioA>_[pos/neg/neu]```
65
- *
66
- * example: <br />```'dpp1_ac1_neg,dfc1_ac1_neg'```
56
+ * Comma-separated list of variance definitions. Each variance adds
57
+ * a separate sub-chart next to the main bar chart.
58
+ *
59
+ * **Pattern:** `d<base>_<comparison>_<sentiment>` (absolute)
60
+ * or `dr<base>_<comparison>_<sentiment>` (relative / percentage).
61
+ *
62
+ * - `base` / `comparison`: scenario names that must also appear in `scenarios`.
63
+ * - `sentiment`: `pos` (positive is good), `neg` (negative is good), `neu` (neutral).
64
+ *
65
+ * When empty, no variance charts are shown.
66
+ *
67
+ * @example variances="dpp1_ac1_neg,dfc1_ac1_neg"
68
+ * @example variances="drac1_pl1_pos"
67
69
  */
68
70
  variances: string;
69
71
  validateVariances(newValue: string): void;
70
72
  /**
71
- * Name of the 'scaling-group' which the chart uses
72
- * scaling groups are maintained globally
73
- * <br /> <br />
74
- * alternatively a number which represent the
75
- * pixel per measure unit.
73
+ * Controls horizontal bar scaling (pixels per data unit).
74
+ *
75
+ * | Value | Behavior |
76
+ * |----------------|-----------------------------------------------------------------|
77
+ * | `"auto"` | Auto-fit bars to fill the available container width (no warning) |
78
+ * | not set / `""` | Same as auto, but emits `AUTO_unitScaling` warning |
79
+ * | `"0.03"`, `1` | Explicit pixels-per-unit value; bars scale proportionally |
80
+ * | group name | References a `<bn-scaling-group>` for synchronized scaling |
81
+ *
82
+ * When using a custom value that causes the chart to exceed its container,
83
+ * a `WARN_overflow` error is emitted.
84
+ *
85
+ * @example unit-scaling="auto"
86
+ * @example unit-scaling="0.05"
87
+ * @example unit-scaling="revenue-scale"
76
88
  */
77
89
  unitScaling: string | number;
78
90
  validateUnitScaling(newValue: string | number): void;
79
91
  /**
80
- * Name of the 'scaling-group' which the chart uses
81
- * scaling groups are maintained globally
82
- * <br /> <br />
83
- * alternatively a number which represent the
84
- * pixel per percentage.
92
+ * Controls scaling of relative variance bars (pixels per percentage point).
93
+ *
94
+ * | Value | Behavior |
95
+ * |----------------|---------------------------------------------------------------|
96
+ * | `"auto"` | Auto-fit to available width |
97
+ * | not set / `""` | Same as auto with warning |
98
+ * | `"50"`, `1.5` | Explicit pixels-per-percentage-point value |
99
+ * | group name | References a `<bn-scaling-group>` for synchronized scaling |
100
+ *
101
+ * @example percentage-scaling="50"
102
+ * @example percentage-scaling="pct-scale"
85
103
  */
86
104
  percentageScaling: string | number;
87
105
  validatePercentageScaling(newValue: string | number): void;
88
106
  /**
89
- * Determines level on which the chart is aggregated on.
90
- * <br /> <br />
107
+ * Aggregation level that determines which hierarchy dimension each bar represents.
91
108
  *
92
- * values:<br/>
93
- * ``` rowcategory // category // subcategory // auto```
94
- * <br /> <br />
95
- * When set to ```auto```, level is detected from the dataset silently.
96
- * When left blank, level is detected from the dataset with a warning.
109
+ * | Value | Bars represent |
110
+ * |--------------------|---------------------------|
111
+ * | `"rowGroup"` | Row groups |
112
+ * | `"rowGroupIndex"` | Row groups (dataset order)|
113
+ * | `"category"` | Categories |
114
+ * | `"categoryIndex"` | Categories (dataset order)|
115
+ * | `"subCategory"` | Sub-categories |
116
+ * | `"subCategoryIndex"` | Sub-categories (dataset order)|
117
+ * | `"auto"` | Auto-detect from dataset metadata (no warning) |
118
+ * | not set / `""` | Auto-detect with `AUTO_level` warning |
97
119
  *
120
+ * Index variants preserve the original dataset order instead of sorting alphabetically.
121
+ * When `stack.by` is `"dimensions"`, the chart automatically stacks by the next-lower
122
+ * level (e.g. level `"rowGroup"` stacks by category).
123
+ *
124
+ * @example level="category"
98
125
  */
99
126
  level: string;
100
127
  validateLevel(newValue: string): void;
101
- /** List of the primary scenarios on which the order direction are applied valid scenarios are
102
- * If order is set to a scenario it has also exists in scenariolist
103
- * <br /><br />
104
- * values:<br />
105
- * ``` category // categoryindex // rowgroup // rowgroup // rowgroupindex // ac[1-4] // fc[1-4] // py[1-4] // pl[1-4] // auto```
106
- * <br /><br />
107
- * When set to ```auto```, order is detected from the dataset silently.
108
- * When left blank, order is detected from the dataset with a warning.
128
+ /**
129
+ * Comma-separated list of columns that define the sort order of bars.
130
+ * When ordering by a scenario column, that scenario must also be listed in `scenarios`.
131
+ *
132
+ * Valid values: `category`, `categoryIndex`, `rowGroup`, `rowGroupIndex`,
133
+ * `subCategory`, `subCategoryIndex`, `ac1`–`ac4`, `fc1`–`fc4`, `pp1`–`pp4`, `pl1`–`pl4`.
134
+ *
135
+ * | Value | Behavior |
136
+ * |----------------|-----------------------------------------------------|
137
+ * | `"ac1"` | Sort bars by the ac1 scenario values |
138
+ * | `"category"` | Sort bars alphabetically by category name |
139
+ * | `"auto"` | Auto-detect from dataset metadata (no warning) |
140
+ * | not set / `""` | Auto-detect with `AUTO_order` warning |
141
+ *
142
+ * @example order="ac1"
109
143
  */
110
144
  order: string;
111
145
  validateOrderList(newValue: string): void;
112
- /** set sorting order direction
113
- * <br /><br />
114
- * values:<br />
115
- * ```asc // desc```
146
+ /**
147
+ * Sort direction applied to the columns specified in `order`.
148
+ *
149
+ * Values: `"asc"` (ascending) | `"desc"` (descending).
150
+ *
151
+ * @default "asc"
152
+ * @example order-direction="desc"
116
153
  */
117
154
  orderDirection: string;
118
155
  validateOrderDirection(newValue: string): void;
119
- /** set translaton mode.
120
- * <br /><br />
121
- * values:<br />
122
- * ``` all // none // meta ```
123
- */
124
156
  /**
125
- * Set the maximum number of bars for each
126
- * group. The value 0 means *no limit*
127
- * <br /><br />
128
- * rows wich where cut by the limit are cumulated as REST
157
+ * Maximum number of bars to display. Excess rows are aggregated into
158
+ * a "REST" summary bar. `0` means no limit (all rows are shown).
129
159
  *
160
+ * @default 0
161
+ * @example limit="5"
130
162
  */
131
163
  limit: number;
132
164
  validateLimit(newValue: number): void;
165
+ /**
166
+ * Whether to display category labels on the left side of the chart.
167
+ *
168
+ * Values: `"true"` | `"false"`.
169
+ *
170
+ * @default "true"
171
+ * @example show-categories="false"
172
+ */
133
173
  showCategories: string;
134
174
  validateShowCategories(newValue: string): void;
135
175
  /**
136
- * Sets the SiPrefix of the Mesaurements and converts the
137
- * original value.
138
- * <br /><br />
139
- * values: <br />
140
- * ```_ // k // M // G // T // P // E // Z // Y // m // μ // n // p // P // f // a // z // y // GREATEST // LEAST```
141
- * <br /><br />
142
- * SiPrefix overview:
143
- * ``` "Y": 1E+24,```<br />
144
- * ``` "Z": 1E+21,```<br />
145
- * ``` "E": 1E+18,```<br />
146
- * ``` "P": 1E+15,```<br />
147
- * ``` "T": 1E+12,```<br />
148
- * ``` "G": 1000000000,```<br />
149
- * ``` "M": 1000000,```<br />
150
- * ``` "k": 1000,```<br />
151
- * <br />
152
- * ``` "m": 0.001,```<br />
153
- * ``` "μ": 0.000001,```<br />
154
- * ``` "n": 0.000000001,```<br />
155
- * ``` "p": 0.000000000001,```<br />
156
- * ``` "f": 0.000000000000001,```<br />
157
- * ``` "a": 0.000000000000000001,```<br />
158
- * ``` "z": 0.000000000000000000001,```<br />
159
- * ``` "y": 0.000000000000000000000001,```<br />
160
- * <br /><br />
161
- * Special modes:
162
- * ```GREATEST``` seaches for the bigest (farest to zero) Value in the dataset and sets this value to SiPrefix<br />
163
- * ```LEAST``` searches for smallest (closest to zero) Value in the dataset and sets this value to SiPrefix<br />
164
- *<br /><br />
165
- * ```_``` is the value for no SiPrefix the value is displayed as in the dataset stored.
176
+ * SI prefix applied to data values, dividing them for display
177
+ * (e.g. `"k"` divides by 1 000, showing 14 000 as "14").
178
+ *
179
+ * Common prefixes: `"k"` (×10³), `"M"` (×10⁶), `"G"` (×10⁹), `"T"` (×10¹²).
180
+ * Use `"_"` for no prefix (raw values).
181
+ *
182
+ * | Special value | Behavior |
183
+ * |---------------|--------------------------------------------------------------|
184
+ * | `"GREATEST"` | Auto-select prefix based on the largest value in the dataset |
185
+ * | `"LEAST"` | Auto-select prefix based on the smallest value |
166
186
  *
187
+ * The selected prefix is shown in the chart footer when `show-measure-scale` is enabled.
167
188
  *
189
+ * @default "greatest"
190
+ * @example measure-scale="k"
168
191
  */
169
192
  measureScale: string;
170
193
  validateMeasureScale(newValue: string): void;
171
194
  /**
172
- * Toggles display of measure units in table header
173
- * <br /><br />
174
- * values: <br />
175
- * ```true // false```
195
+ * Toggles display of the SI prefix and unit label in the chart footer
196
+ * (e.g. "k EUR").
197
+ *
198
+ * Values: `"true"` | `"false"`.
199
+ *
200
+ * @default "false"
201
+ * @example show-measure-scale="true"
176
202
  */
177
203
  showMeasureScale: string;
178
204
  validateShowMeasureScale(newValue: string): void;
179
205
  /**
180
- * measureUnit displayed in table.
206
+ * Unit label displayed alongside the SI prefix in the chart footer
207
+ * (e.g. "EUR", "USD", "pcs"). Only visible when `show-measure-scale` is `"true"`.
208
+ *
209
+ * @default ""
210
+ * @example measure-unit="EUR"
181
211
  */
182
212
  measureUnit: string;
183
213
  /**
184
- * Stacking configuration for the chart as a JSON string.
214
+ * Stacking configuration as a JSON string. When set, bars are drawn as
215
+ * stacked segments instead of side-by-side.
216
+ *
217
+ * **Properties:**
185
218
  *
186
- * When set, bars are drawn stacked (additive layers) instead of side-by-side.
219
+ * | Key | Values | Description |
220
+ * |---------|-----------------------------------------------|----------------------------------------------------|
221
+ * | `by` | `"scenarios"` \| `"dimensions"` | **Required.** What to stack. |
222
+ * | `mode` | `"absolute"` \| `"relative"` \| `"absolute-relative"` | Stacking mode. Default: `"absolute"`. |
223
+ * | `order` | `"asc"` \| `"desc"` \| `"dataset"` | Segment sort order. Default: `"dataset"`. |
187
224
  *
188
- * @default '' (empty — no stacking)
189
- * @example stack='{"by":"scenario"}'
225
+ * - `by: "scenarios"` — stacks the scenarios listed in the `scenarios` prop end-to-end.
226
+ * - `by: "dimensions"` — stacks by the next-lower hierarchy level derived from `level`
227
+ * (e.g. level `"rowGroup"` stacks by category). Only the first scenario is used;
228
+ * extra scenarios trigger a `WARN_stack_dimensions_scenarios` warning.
229
+ * - `mode: "relative"` — normalizes each bar to 100%, showing proportions.
230
+ * - `mode: "absolute-relative"` — absolute bars with percentage labels.
231
+ *
232
+ * Segment colors are configurable via the `stackColors` array in component styles.
233
+ *
234
+ * @default "" (no stacking)
235
+ * @example stack='{"by":"scenarios","mode":"absolute"}'
236
+ * @example stack='{"by":"dimensions","mode":"relative"}'
190
237
  */
191
238
  stack: string;
192
239
  validateStack(newValue: string): void;
@@ -202,13 +249,19 @@ export declare class Chart {
202
249
  */
203
250
  scale?: string;
204
251
  validateScaling(newValue: string): void;
205
- private scenariosArray;
206
252
  private canvasWidthSegmented;
207
253
  private pixelPerUnitGroupMap;
208
254
  constructor();
209
255
  componentWillLoad(): void;
210
256
  private _autoScaleGuard;
211
257
  componentDidRender(): void;
258
+ componentDidLoad(): void;
259
+ disconnectedCallback(): void;
260
+ /**
261
+ * Emits an error when a custom unit-scaling value causes the chart to exceed its container width.
262
+ * Skipped for auto/unset unit-scaling since auto-fit handles width.
263
+ */
264
+ private checkWidthOverflow;
212
265
  prepareDimension(): ParentDimensions;
213
266
  private prepareScenarios;
214
267
  private prepareVariances;
@@ -33,10 +33,11 @@ export declare class IbcsChartStructure {
33
33
  componentWillLoad(): Promise<void>;
34
34
  componentWillUpdate(): Promise<void>;
35
35
  /**
36
- * Two-pass auto-fit: only when pixelPerUnit is 0 (auto mode).
37
- * Explicit values are never overridden — the outer component warns
38
- * about overflow via componentDidRender.
36
+ * Two-pass auto-fit for pixelPerUnit and/or pixelPerPercentage.
37
+ * When either is 0 (auto mode), renders a measurement pass at 1,
38
+ * computes the ratio to fit the available width, and rebuilds.
39
39
  * Structure charts grow horizontally, so we fit to width.
40
+ * Explicit (> 0) values are never overridden.
40
41
  */
41
42
  private autoFitScaling;
42
43
  componentWillRender(): Promise<void>;
@@ -50,6 +50,7 @@ export declare class StructureChart {
50
50
  private dataFormatDigits;
51
51
  private stackConfig;
52
52
  private overflowConfig;
53
+ private highestStackedTotal;
53
54
  constructor(ruleSet: VisualisationRuleSet, config: StructureChartComponentConfig, styles: StructureChartStyle);
54
55
  private updatePosition;
55
56
  private createElementPosition;
@@ -82,6 +83,11 @@ export declare class StructureChart {
82
83
  * @param customColumnNameMap Custon ColumnNameMap can be used if data uses non standard columnames
83
84
  */
84
85
  setData(data: StructureChartDataRow[], filter: string): void;
86
+ /**
87
+ * Returns the data value whose bar extent is proportional to pixelPerUnit.
88
+ * Used by autoFitScaling to separate fixed vs variable width components.
89
+ */
90
+ getMaxBarValue(): number;
85
91
  getAllocatedCanvasWidth(): number;
86
92
  getAllocatedCanvasHeight(): number;
87
93
  patternToString(): string;
@@ -101,6 +107,7 @@ export declare class StructureChart {
101
107
  private calculateCategoryWidth;
102
108
  private findSmallestDataPointValue;
103
109
  private findHighestDataPointValue;
110
+ private findHighestStackedRowTotal;
104
111
  private populateVarianceModel;
105
112
  private calculateVariance;
106
113
  private mapScenarios;
@@ -30,6 +30,7 @@ export declare class Label {
30
30
  private styles;
31
31
  private isVarianceLabel;
32
32
  private segmentFillColor;
33
+ private maxWidth;
33
34
  readonly ID_SCENARIOLABEL: string;
34
35
  readonly CSS_CATEGORIES: string;
35
36
  private isRelativeLabel;
@@ -39,6 +40,7 @@ export declare class Label {
39
40
  setToVarianceLabel(): Label;
40
41
  setToRelativeVarianceLabel(): Label;
41
42
  setSegmentFill(color: string): Label;
43
+ setMaxWidth(width: number): Label;
42
44
  updateGroup(newGroup: G): Label;
43
45
  private createElementID;
44
46
  draw(dataFormatDigits?: DataFormatDigits, measureScale?: SiPrefix): Label;
@@ -14,6 +14,7 @@ export declare class StructureChartStyle {
14
14
  varianceStyles: SVGVariancesStyleGroup;
15
15
  padding: Padding;
16
16
  pattern: Map<string, SVGPolgonPattern>;
17
+ stackColors: string[];
17
18
  constructor(scaleFactors: ScaleFactorsStructureChart, fontStyles: FontStyle, axisStyles: SVGStyleGroup, barStyles: SVGStyleGroup, varianceStyles: SVGVariancesStyleGroup, padding: Padding);
18
19
  }
19
20
  /** Adapts raw componentStyle JSON into a StructureChartStyle, falling back to defaults for missing properties. */
@@ -18,6 +18,8 @@ export declare class Chart {
18
18
  private readonly t;
19
19
  private readonly componentStyle;
20
20
  private readonly errors;
21
+ private readonly resolveInherited;
22
+ private layoutObserver;
21
23
  /**
22
24
  * Custom chart title
23
25
  */
@@ -79,20 +81,33 @@ export declare class Chart {
79
81
  limit: number;
80
82
  validateLimit(newValue: number): void;
81
83
  /**
82
- * Name of the 'scaling-group' which the chart uses
83
- * scaling groups are maintained globally
84
- * <br /> <br />
85
- * alternatively a number which represent the
86
- * pixel per measure unit.
84
+ * Controls vertical bar scaling (pixels per data unit).
85
+ *
86
+ * | Value | Behavior |
87
+ * |----------------|-----------------------------------------------------------------|
88
+ * | `"auto"` | Auto-fit bars to fill the available container height |
89
+ * | not set / `""` | Same as auto, but emits `AUTO_unitScaling` warning |
90
+ * | `"0.03"`, `1` | Explicit pixels-per-unit value; bars scale proportionally |
91
+ * | group name | References a `<bn-scaling-group>` for synchronized scaling |
92
+ *
93
+ * @example unit-scaling="auto"
94
+ * @example unit-scaling="0.05"
95
+ * @example unit-scaling="revenue-scale"
87
96
  */
88
97
  unitScaling: string | number;
89
98
  validateUnitScaling(newValue: string | number): void;
90
99
  /**
91
- * Name of the 'scaling-group' which the chart uses
92
- * scaling groups are maintained globally
93
- * <br /> <br />
94
- * alternatively a number which represent the
95
- * pixel per percentage.
100
+ * Pixels per percentage point for relative variance bars/pins.
101
+ *
102
+ * | Value | Behavior |
103
+ * |----------------|---------------------------------------------------------------|
104
+ * | `"auto"` | Auto-fit to available height (same two-pass as unit-scaling) |
105
+ * | not set / `""` | Same as auto with `AUTO_percentageScaling` warning |
106
+ * | `"50"`, `1.5` | Explicit pixels-per-percentage-point value |
107
+ * | group name | References a `<bn-scaling-group>` for synchronized scaling |
108
+ *
109
+ * @example percentage-scaling="50"
110
+ * @example percentage-scaling="pct-scale"
96
111
  */
97
112
  percentageScaling: string | number;
98
113
  validatePercentageScaling(newValue: string | number): void;
@@ -288,9 +303,11 @@ export declare class Chart {
288
303
  private pixelPerUnitGroupMap;
289
304
  constructor();
290
305
  componentWillLoad(): void;
291
- private _autoScaleIterations;
292
- private static readonly MAX_SCALE_ITERATIONS;
306
+ private _autoScaleGuard;
307
+ private _lastObservedWidth;
293
308
  componentDidRender(): void;
309
+ componentDidLoad(): void;
310
+ disconnectedCallback(): void;
294
311
  prepareDimension(): ParentDimensions;
295
312
  private prepareScenarios;
296
313
  private prepareAvg;
@@ -46,9 +46,10 @@ export declare class IbcsChartTime {
46
46
  componentWillLoad(): Promise<void>;
47
47
  componentWillUpdate(): Promise<void>;
48
48
  /**
49
- * Two-pass auto-fit: only when pixelPerUnit is 0 (auto mode).
50
- * Explicit values are never overridden — the outer component warns
51
- * about overflow via componentDidRender.
49
+ * Two-pass auto-fit for pixelPerUnit and/or pixelPerPercentage.
50
+ * When either is 0 (auto mode), renders a measurement pass at 1,
51
+ * computes the ratio to fit ~90% of the available height, and rebuilds.
52
+ * Explicit (> 0) values are never overridden.
52
53
  */
53
54
  private autoFitScaling;
54
55
  componentWillRender(): Promise<void>;
@@ -14,6 +14,7 @@ export declare class TimeChartStyle {
14
14
  varianceStyles: SVGVariancesStyleGroup;
15
15
  padding: Padding;
16
16
  pattern: Map<string, SVGPolgonPattern>;
17
+ stackColors: string[];
17
18
  constructor(scaleFactors: ScaleFactorsTimeChart, fontStyles: FontStyle, axisStyles: SVGStyleGroup, barStyles: SVGStyleGroup, varianceStyles: SVGVariancesStyleGroup, padding: Padding);
18
19
  }
19
20
  /** Adapts raw componentStyle JSON into a TimeChartStyle, falling back to defaults for missing properties. */
@@ -29,7 +29,13 @@ export declare class Dataset {
29
29
  * content as raw JSON, writing it directly to the datasets store.
30
30
  */
31
31
  static: boolean;
32
+ /**
33
+ * When true (default), body content is plain text (SQL or JSON).
34
+ * When false, body content is a compressed payload (`<hash>:<base64_gzip>`).
35
+ */
36
+ raw: boolean;
32
37
  private query;
38
+ private lastBodyHash;
33
39
  private database;
34
40
  private latestResult;
35
41
  executeQuery(): void;
@@ -1,18 +1,61 @@
1
1
  /**
2
- * Ingests raw JSON data and writes it to the scoped `datasources` store.
2
+ * Ingests data and writes it to the scoped `datasources` store.
3
3
  *
4
- * Data is provided as JSON text inside the element body (observed via
5
- * `withBodyObserver`). Other components (e.g. `bn-dataset`) reference
6
- * the stored data by the `name` prop to run queries against it.
4
+ * Data can be provided in three ways:
5
+ * 1. **Inline JSON** — Place JSON text inside the element body (default).
6
+ * 2. **Compressed payload** — Set `raw="false"` and provide `<hash>:<base64_gzip>` format.
7
+ * 3. **URL** — Place an `http://` or `https://` URL in the body to fetch JSON
8
+ * from a remote endpoint.
9
+ *
10
+ * In URL mode the component fetches JSON from the URL. Set the `interval`
11
+ * prop (in seconds) to enable periodic re-fetching (polling).
12
+ *
13
+ * Other components (e.g. `bn-dataset`) reference the stored data by the
14
+ * `name` prop to run queries against it.
7
15
  */
8
16
  export declare class Datasource {
9
17
  private element;
10
18
  /**
11
- * Unique (template scope) name of the datasource
19
+ * Unique (template scope) name of the datasource.
12
20
  */
13
21
  name: string;
22
+ /**
23
+ * When true (default), body content is plain JSON text.
24
+ * When false, body content is a compressed payload (`<hash>:<base64_gzip>`).
25
+ * Ignored in URL mode.
26
+ */
27
+ raw: boolean;
28
+ /**
29
+ * Polling interval in **seconds** for URL mode.
30
+ * When set and the body content is a URL, the component re-fetches
31
+ * data at this interval. Has no effect for inline JSON or compressed content.
32
+ * Set to `0` or leave unset to disable polling.
33
+ */
34
+ interval: number;
14
35
  private readonly errors;
15
36
  private stores;
37
+ private lastHash;
38
+ /** The currently active URL (`null` when in inline-JSON mode). */
39
+ private currentUrl;
40
+ /** Timer ID for the polling interval. */
41
+ private pollTimerId;
42
+ /** AbortController for cancelling in-flight fetch requests. */
43
+ private abortController;
16
44
  constructor();
45
+ onIntervalChange(): void;
46
+ disconnectedCallback(): void;
47
+ /**
48
+ * Returns `true` if the text starts with `http://` or `https://`.
49
+ */
50
+ private isUrl;
51
+ /**
52
+ * Fetches JSON from the given URL and stores the result.
53
+ * Cancels any in-flight request before starting a new one.
54
+ */
55
+ private fetchAndStore;
56
+ /** Stops the polling timer and cancels any in-flight fetch. */
57
+ private clearPolling;
58
+ /** Starts (or restarts) the polling timer if in URL mode with a positive interval. */
59
+ private startPolling;
17
60
  render(): any;
18
61
  }