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

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 (360) hide show
  1. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
  2. package/dist/bn-template-engine/p-14318b0d.entry.js +1 -0
  3. package/dist/bn-template-engine/{p-c9f050bf.entry.js → p-2133e02b.entry.js} +1 -1
  4. package/dist/bn-template-engine/p-6b469808.entry.js +1 -0
  5. package/dist/bn-template-engine/p-7HSTE79g.js +1 -0
  6. package/dist/bn-template-engine/p-9b1288df.entry.js +1 -0
  7. package/dist/bn-template-engine/p-B4JfKvVT.js +1 -0
  8. package/dist/bn-template-engine/p-B_d-jp99.js +2 -0
  9. package/dist/bn-template-engine/p-Bi2wx-el.js +1 -0
  10. package/dist/bn-template-engine/p-CWiZks2h.js +1 -0
  11. package/dist/bn-template-engine/{p-BQp6ZPYW.js → p-DSXNgKLa.js} +1 -1
  12. package/dist/bn-template-engine/p-c2cbb8ea.entry.js +1 -0
  13. package/dist/bn-template-engine/p-e783733e.entry.js +1 -0
  14. package/dist/bn-template-engine/p-e94b4e31.entry.js +1 -0
  15. package/dist/bn-template-engine/p-fdb3e99a.entry.js +1 -0
  16. package/dist/cjs/bn-asset_21.cjs.entry.js +23906 -0
  17. package/dist/cjs/bn-grid.cjs.entry.js +6 -13
  18. package/dist/cjs/bn-image.cjs.entry.js +6 -13
  19. package/dist/cjs/bn-internationalization.cjs.entry.js +5 -7
  20. package/dist/cjs/bn-template-engine.cjs.js +2 -2
  21. package/dist/cjs/bn-template.cjs.entry.js +4 -6
  22. package/dist/cjs/bn-text.cjs.entry.js +10 -19
  23. package/dist/cjs/bn-tree.cjs.entry.js +11 -14
  24. package/dist/cjs/{context-protocol-BkYHFkXE.js → context-protocol-B_jipZpJ.js} +6 -2
  25. package/dist/cjs/editor-companion.cjs.entry.js +3 -3
  26. package/dist/cjs/{index-CScBFiS1.js → index-CDKG4xmO.js} +2 -2
  27. package/dist/cjs/loader.cjs.js +2 -2
  28. package/dist/cjs/scaling-eyzCrFB8.js +329 -0
  29. package/dist/cjs/{withBodyObserver-B0_W1VOf.js → withBodyObserver-D7BKWN2N.js} +2 -2
  30. package/dist/cjs/{withHasError-Dspb3lIV.js → withHasError-Cl2gTQzA.js} +106 -2
  31. package/dist/{esm/luxon-DbyXf6dF.js → cjs/withStyled-V7xz_x1c.js} +1406 -1
  32. package/dist/collection/collection-manifest.json +2 -10
  33. package/dist/collection/components/bn-body/bn-body.css +1 -0
  34. package/dist/collection/components/bn-card/bn-card.css +2 -0
  35. package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +368 -130
  36. package/dist/collection/components/bn-chart-structure/ibcs-chart-structure.js +34 -10
  37. package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +94 -11
  38. package/dist/collection/components/bn-chart-structure/utils/elements/Label.js +11 -0
  39. package/dist/collection/components/bn-chart-structure/utils/elements/StackedBar.js +8 -6
  40. package/dist/collection/components/bn-chart-structure/utils/model/styles/StructureChartStyle.js +4 -0
  41. package/dist/collection/components/bn-chart-time/bn-chart-time.css +1 -1
  42. package/dist/collection/components/bn-chart-time/bn-chart-time.js +172 -51
  43. package/dist/collection/components/bn-chart-time/ibcs-chart-time.js +22 -9
  44. package/dist/collection/components/bn-chart-time/utils/TimeChart.js +3 -3
  45. package/dist/collection/components/bn-chart-time/utils/elements/StackedColumn.js +3 -4
  46. package/dist/collection/components/bn-chart-time/utils/model/styles/TimeChartStyle.js +4 -0
  47. package/dist/collection/components/bn-dataset/bn-dataset.js +49 -2
  48. package/dist/collection/components/bn-datasource/bn-datasource.js +46 -3
  49. package/dist/collection/components/bn-layout-card/bn-layout-card.css +3 -2
  50. package/dist/collection/components/bn-layout-card/bn-layout-card.js +207 -32
  51. package/dist/collection/components/bn-layout-page/bn-layout-page.css +1 -3
  52. package/dist/collection/components/bn-layout-page/bn-layout-page.js +172 -43
  53. package/dist/collection/components/bn-message/bn-message.js +1 -1
  54. package/dist/collection/components/bn-page/bn-page.js +1 -1
  55. package/dist/collection/components/bn-scaling-group/bn-scaling-group.css +3 -0
  56. package/dist/collection/components/bn-scaling-group/bn-scaling-group.js +136 -0
  57. package/dist/collection/components/bn-table/bn-table.js +201 -55
  58. package/dist/collection/components/bn-table/ibcs-table.css +7 -5
  59. package/dist/collection/components/bn-table/ibcs-table.js +91 -5
  60. package/dist/collection/components/bn-table/utils/elements/CellBarChart.js +79 -31
  61. package/dist/collection/components/bn-table/utils/elements/TableRow.js +3 -1
  62. package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +12 -3
  63. package/dist/collection/components/bn-table/utils/helper/ColumnStatistics.js +9 -1
  64. package/dist/collection/components/bn-template/bn-template.js +1 -1
  65. package/dist/collection/components/bn-text/bn-text.js +1 -1
  66. package/dist/collection/components/bn-title/bn-title.js +1 -9
  67. package/dist/collection/components/bn-title/ibcs-title/ibcs-title.js +1 -1
  68. package/dist/collection/components/bn-tree/bn-tree.js +5 -1
  69. package/dist/collection/components/editor-companion/editor-companion.js +1 -1
  70. package/dist/collection/stores/componentStyles.js +2 -0
  71. package/dist/collection/stores/createScopedStores.js +3 -1
  72. package/dist/collection/utils/DateStringFactory.js +0 -1
  73. package/dist/collection/utils/constants.js +35 -5
  74. package/dist/collection/utils/contentDecoder.js +28 -0
  75. package/dist/collection/utils/layoutObserver.js +88 -0
  76. package/dist/collection/utils/parentDimensions.js +57 -10
  77. package/dist/collection/utils/stackColors.js +2 -2
  78. package/dist/collection/utils/validate.js +5 -2
  79. package/dist/collection/utils/withInheritedProps.js +152 -0
  80. package/dist/collection/utils/withScalingGroup.js +66 -0
  81. package/dist/components/DataFormatDigits.js +1 -1
  82. package/dist/components/DateStringFactory.js +1 -1
  83. package/dist/components/Order.js +1 -1
  84. package/dist/components/SVGVariancesStyleGroup.js +1 -1
  85. package/dist/components/bn-body2.js +1 -1
  86. package/dist/components/bn-card2.js +1 -1
  87. package/dist/components/bn-chart-structure.js +1 -1
  88. package/dist/components/bn-chart-time.js +1 -1
  89. package/dist/components/bn-dataset.js +1 -1
  90. package/dist/components/bn-datasource.js +1 -1
  91. package/dist/components/bn-layout-card.js +1 -1
  92. package/dist/components/bn-layout-page.js +1 -1
  93. package/dist/components/bn-message2.js +1 -1
  94. package/dist/components/bn-page2.js +1 -1
  95. package/dist/components/{test-runner-time.d.ts → bn-scaling-group.d.ts} +4 -4
  96. package/dist/components/bn-scaling-group.js +1 -0
  97. package/dist/components/bn-table.js +1 -1
  98. package/dist/components/bn-template.js +1 -1
  99. package/dist/components/bn-text.js +1 -1
  100. package/dist/components/bn-title2.js +1 -1
  101. package/dist/components/bn-tree.js +1 -1
  102. package/dist/components/contentDecoder.js +1 -0
  103. package/dist/components/context-protocol.js +1 -1
  104. package/dist/components/editor-companion.js +1 -1
  105. package/dist/components/emotion-hash.esm.js +1 -0
  106. package/dist/components/ibcs-chart-structure2.js +1 -1
  107. package/dist/components/ibcs-chart-time2.js +1 -1
  108. package/dist/components/ibcs-table2.js +1 -1
  109. package/dist/components/ibcs-title2.js +1 -1
  110. package/dist/components/ibcsRuleSet.js +1 -1
  111. package/dist/components/layoutObserver.js +1 -0
  112. package/dist/components/scaling.js +1 -1
  113. package/dist/components/validate.js +1 -1
  114. package/dist/components/withHasError.js +1 -1
  115. package/dist/components/withInheritedProps.js +1 -0
  116. package/dist/components/withStyled.js +1 -1
  117. package/dist/esm/bn-asset_21.entry.js +23884 -0
  118. package/dist/esm/bn-grid.entry.js +4 -11
  119. package/dist/esm/bn-image.entry.js +4 -11
  120. package/dist/esm/bn-internationalization.entry.js +4 -6
  121. package/dist/esm/bn-template-engine.js +3 -3
  122. package/dist/esm/bn-template.entry.js +3 -5
  123. package/dist/esm/bn-text.entry.js +6 -15
  124. package/dist/esm/bn-tree.entry.js +9 -12
  125. package/dist/esm/{context-protocol-DzeqZxg6.js → context-protocol-D-o_UZ33.js} +6 -2
  126. package/dist/esm/editor-companion.entry.js +3 -3
  127. package/dist/esm/{index-B27Ax6P_.js → index-B_d-jp99.js} +2 -2
  128. package/dist/esm/loader.js +3 -3
  129. package/dist/esm/scaling-BzbiBnuN.js +324 -0
  130. package/dist/esm/{withBodyObserver-gZpZiEIK.js → withBodyObserver-AFk2wwHT.js} +2 -2
  131. package/dist/esm/{withHasError-C48fTE2k.js → withHasError-DW_vMDUp.js} +106 -2
  132. package/dist/{cjs/luxon-8hyy5YD7.js → esm/withStyled-5RqF8WBL.js} +1371 -2
  133. package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +163 -110
  134. package/dist/types/components/bn-chart-structure/ibcs-chart-structure.d.ts +4 -3
  135. package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +7 -0
  136. package/dist/types/components/bn-chart-structure/utils/elements/Label.d.ts +2 -0
  137. package/dist/types/components/bn-chart-structure/utils/model/styles/StructureChartStyle.d.ts +1 -0
  138. package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +29 -12
  139. package/dist/types/components/bn-chart-time/ibcs-chart-time.d.ts +4 -3
  140. package/dist/types/components/bn-chart-time/utils/model/styles/TimeChartStyle.d.ts +1 -0
  141. package/dist/types/components/bn-dataset/bn-dataset.d.ts +6 -0
  142. package/dist/types/components/bn-datasource/bn-datasource.d.ts +8 -0
  143. package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +153 -0
  144. package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +160 -1
  145. package/dist/types/components/bn-scaling-group/bn-scaling-group.d.ts +37 -0
  146. package/dist/types/components/bn-table/bn-table.d.ts +32 -16
  147. package/dist/types/components/bn-table/ibcs-table.d.ts +20 -0
  148. package/dist/types/components/bn-table/utils/elements/Cell.d.ts +1 -0
  149. package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +1 -0
  150. package/dist/types/components/bn-title/bn-title.d.ts +0 -1
  151. package/dist/types/components.d.ts +389 -443
  152. package/dist/types/context/context-protocol.d.ts +2 -1
  153. package/dist/types/stores/componentStyles.d.ts +2 -0
  154. package/dist/types/stores/createScopedStores.d.ts +1 -0
  155. package/dist/types/utils/constants.d.ts +23 -5
  156. package/dist/types/utils/contentDecoder.d.ts +12 -0
  157. package/dist/types/utils/layoutObserver.d.ts +27 -0
  158. package/dist/types/utils/parentDimensions.d.ts +7 -2
  159. package/dist/types/utils/validate.d.ts +1 -0
  160. package/dist/types/utils/withInheritedProps.d.ts +38 -0
  161. package/dist/types/utils/withScalingGroup.d.ts +14 -0
  162. package/package.json +3 -3
  163. package/readme.md +0 -1
  164. package/dist/bn-template-engine/assets/gpx/Chasing_Legends.gpx +0 -195076
  165. package/dist/bn-template-engine/assets/gpx/Fahrt_am_Nachmittag.gpx +0 -142007
  166. package/dist/bn-template-engine/assets/icons/gpx-finish.png +0 -0
  167. package/dist/bn-template-engine/assets/icons/gpx-shadow.png +0 -0
  168. package/dist/bn-template-engine/assets/icons/gpx-start.png +0 -0
  169. package/dist/bn-template-engine/assets/icons/marker-example.png +0 -0
  170. package/dist/bn-template-engine/assets/icons/pin-icon-end.png +0 -0
  171. package/dist/bn-template-engine/assets/icons/pin-icon-start.png +0 -0
  172. package/dist/bn-template-engine/assets/icons/pin-icon-wpt.png +0 -0
  173. package/dist/bn-template-engine/assets/icons/pin-shadow.png +0 -0
  174. package/dist/bn-template-engine/assets/icons/pin.png +0 -0
  175. package/dist/bn-template-engine/p--TeDldm8.js +0 -1
  176. package/dist/bn-template-engine/p-0e7dc113.entry.js +0 -1
  177. package/dist/bn-template-engine/p-1jFf17Vj.js +0 -1
  178. package/dist/bn-template-engine/p-264c6bad.entry.js +0 -1
  179. package/dist/bn-template-engine/p-326a0902.entry.js +0 -1
  180. package/dist/bn-template-engine/p-38a8bde3.entry.js +0 -1
  181. package/dist/bn-template-engine/p-577eafcd.entry.js +0 -1
  182. package/dist/bn-template-engine/p-5905cc43.entry.js +0 -1
  183. package/dist/bn-template-engine/p-5d155a72.entry.js +0 -1
  184. package/dist/bn-template-engine/p-65f8962a.entry.js +0 -1
  185. package/dist/bn-template-engine/p-6b8d1ebf.entry.js +0 -1
  186. package/dist/bn-template-engine/p-7995acb2.entry.js +0 -1
  187. package/dist/bn-template-engine/p-7afe431e.entry.js +0 -1
  188. package/dist/bn-template-engine/p-8014b1ac.entry.js +0 -1
  189. package/dist/bn-template-engine/p-80423fc8.entry.js +0 -1
  190. package/dist/bn-template-engine/p-91e74d42.entry.js +0 -1
  191. package/dist/bn-template-engine/p-930a9e29.entry.js +0 -1
  192. package/dist/bn-template-engine/p-93C9jL8R.js +0 -1
  193. package/dist/bn-template-engine/p-93ff8584.entry.js +0 -1
  194. package/dist/bn-template-engine/p-B0m0U4wJ.js +0 -1
  195. package/dist/bn-template-engine/p-B27Ax6P_.js +0 -2
  196. package/dist/bn-template-engine/p-B79VcHiT.js +0 -1
  197. package/dist/bn-template-engine/p-BBd0ZVLL.js +0 -1
  198. package/dist/bn-template-engine/p-BFTU3MAI.js +0 -1
  199. package/dist/bn-template-engine/p-BFatTBqh.js +0 -1
  200. package/dist/bn-template-engine/p-BYmPQYxx.js +0 -1
  201. package/dist/bn-template-engine/p-BhEQy-2D.js +0 -1
  202. package/dist/bn-template-engine/p-BtVfu16B.js +0 -1
  203. package/dist/bn-template-engine/p-CY1RzLjU.js +0 -1
  204. package/dist/bn-template-engine/p-CfWnag33.js +0 -1
  205. package/dist/bn-template-engine/p-CnI71OA9.js +0 -1
  206. package/dist/bn-template-engine/p-Cp4MVxCu.js +0 -1
  207. package/dist/bn-template-engine/p-DbyXf6dF.js +0 -1
  208. package/dist/bn-template-engine/p-TdL-LRR9.js +0 -1
  209. package/dist/bn-template-engine/p-_LBTIfNN.js +0 -1
  210. package/dist/bn-template-engine/p-a342cd3c.entry.js +0 -1
  211. package/dist/bn-template-engine/p-ad94cf63.entry.js +0 -1
  212. package/dist/bn-template-engine/p-bc37d750.entry.js +0 -1
  213. package/dist/bn-template-engine/p-d07a0ca3.entry.js +0 -1
  214. package/dist/bn-template-engine/p-e5f372af.entry.js +0 -1
  215. package/dist/bn-template-engine/p-e620028c.entry.js +0 -1
  216. package/dist/bn-template-engine/p-e81e116a.entry.js +0 -1
  217. package/dist/bn-template-engine/p-eca98070.entry.js +0 -1
  218. package/dist/bn-template-engine/p-ee6de950.entry.js +0 -1
  219. package/dist/bn-template-engine/p-efe0ef1e.entry.js +0 -1
  220. package/dist/bn-template-engine/p-f034f1b8.entry.js +0 -1
  221. package/dist/bn-template-engine/p-f1c1a8a3.entry.js +0 -1
  222. package/dist/bn-template-engine/p-fe573a1a.entry.js +0 -1
  223. package/dist/bn-template-engine/p-kMyLevYy.js +0 -1
  224. package/dist/cjs/DataFormatDigits-DmTbhF8q.js +0 -142
  225. package/dist/cjs/DateStringFactory-Dn0aRj2Y.js +0 -453
  226. package/dist/cjs/Order-B4NIqQWe.js +0 -129
  227. package/dist/cjs/SVGVariancesStyleGroup-Czizhngt.js +0 -7973
  228. package/dist/cjs/StringAdapter-0EbYMkR0.js +0 -136
  229. package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +0 -10
  230. package/dist/cjs/alasql.min-C_nHTuEQ.js +0 -306
  231. package/dist/cjs/bn-asset.cjs.entry.js +0 -42
  232. package/dist/cjs/bn-body_3.cjs.entry.js +0 -413
  233. package/dist/cjs/bn-card.cjs.entry.js +0 -37
  234. package/dist/cjs/bn-chart-structure.cjs.entry.js +0 -705
  235. package/dist/cjs/bn-chart-time.cjs.entry.js +0 -987
  236. package/dist/cjs/bn-component-style.cjs.entry.js +0 -44
  237. package/dist/cjs/bn-context_5.cjs.entry.js +0 -3380
  238. package/dist/cjs/bn-dataset.cjs.entry.js +0 -278
  239. package/dist/cjs/bn-layout-card.cjs.entry.js +0 -128
  240. package/dist/cjs/bn-layout-page.cjs.entry.js +0 -142
  241. package/dist/cjs/bn-map.cjs.entry.js +0 -425
  242. package/dist/cjs/bn-message.cjs.entry.js +0 -52
  243. package/dist/cjs/componentRegister-C17UFNPh.js +0 -72
  244. package/dist/cjs/constants-DHqQXSSd.js +0 -158
  245. package/dist/cjs/formatter-DIJL_crx.js +0 -215
  246. package/dist/cjs/ibcs-chart-structure.cjs.entry.js +0 -2906
  247. package/dist/cjs/ibcs-chart-time.cjs.entry.js +0 -4140
  248. package/dist/cjs/ibcs-map.cjs.entry.js +0 -1075
  249. package/dist/cjs/ibcs-title.cjs.entry.js +0 -352
  250. package/dist/cjs/scaling-B23eOtsC.js +0 -67
  251. package/dist/cjs/test-runner-card.cjs.entry.js +0 -27
  252. package/dist/cjs/test-runner-chart-time.cjs.entry.js +0 -230
  253. package/dist/cjs/test-runner-chart.cjs.entry.js +0 -326
  254. package/dist/cjs/test-runner-map.cjs.entry.js +0 -1862
  255. package/dist/cjs/test-runner-table.cjs.entry.js +0 -477
  256. package/dist/cjs/test-runner-time.cjs.entry.js +0 -381
  257. package/dist/cjs/test-runner-title.cjs.entry.js +0 -115
  258. package/dist/cjs/withComponentStatus-BrxL7usr.js +0 -39
  259. package/dist/cjs/withComponentStyle-C6KHnZHt.js +0 -128
  260. package/dist/cjs/withDataset-ZdN-RRTx.js +0 -146
  261. package/dist/cjs/withStyled-Bf-stJTR.js +0 -567
  262. package/dist/cjs/withTranslation-Cz0M5maV.js +0 -77
  263. package/dist/collection/components/bn-map/bn-map.css +0 -4
  264. package/dist/collection/components/bn-map/bn-map.js +0 -725
  265. package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Chasing_Legends.gpx +0 -195076
  266. package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Fahrt_am_Nachmittag.gpx +0 -142007
  267. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-finish.png +0 -0
  268. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-shadow.png +0 -0
  269. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-start.png +0 -0
  270. package/dist/collection/components/bn-map/ibcs-map/assets/icons/marker-example.png +0 -0
  271. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-end.png +0 -0
  272. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-start.png +0 -0
  273. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-wpt.png +0 -0
  274. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-shadow.png +0 -0
  275. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin.png +0 -0
  276. package/dist/collection/components/bn-map/ibcs-map/ibcs-map.css +0 -674
  277. package/dist/collection/components/bn-map/ibcs-map/ibcs-map.js +0 -744
  278. package/dist/collection/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.js +0 -9
  279. package/dist/collection/components/bn-map/ibcs-map/utils/model/GpxLayer.js +0 -13
  280. package/dist/collection/components/bn-map/ibcs-map/utils/model/Marker.js +0 -11
  281. package/dist/collection/components/bn-map/ibcs-map/utils/model/index.js +0 -2
  282. package/dist/collection/test-runner/test-runner-card.js +0 -36
  283. package/dist/collection/test-runner/test-runner-chart-time.js +0 -234
  284. package/dist/collection/test-runner/test-runner-chart.js +0 -364
  285. package/dist/collection/test-runner/test-runner-map.js +0 -1901
  286. package/dist/collection/test-runner/test-runner-table.js +0 -469
  287. package/dist/collection/test-runner/test-runner-time.js +0 -399
  288. package/dist/collection/test-runner/test-runner-title.js +0 -108
  289. package/dist/components/bn-map.d.ts +0 -11
  290. package/dist/components/bn-map.js +0 -1
  291. package/dist/components/componentRegister.js +0 -1
  292. package/dist/components/ibcs-map.d.ts +0 -11
  293. package/dist/components/ibcs-map.js +0 -1
  294. package/dist/components/ibcs-map2.js +0 -1
  295. package/dist/components/test-runner-card.d.ts +0 -11
  296. package/dist/components/test-runner-card.js +0 -1
  297. package/dist/components/test-runner-chart-time.d.ts +0 -11
  298. package/dist/components/test-runner-chart-time.js +0 -1
  299. package/dist/components/test-runner-chart.d.ts +0 -11
  300. package/dist/components/test-runner-chart.js +0 -1
  301. package/dist/components/test-runner-map.d.ts +0 -11
  302. package/dist/components/test-runner-map.js +0 -1
  303. package/dist/components/test-runner-table.d.ts +0 -11
  304. package/dist/components/test-runner-table.js +0 -1
  305. package/dist/components/test-runner-time.js +0 -1
  306. package/dist/components/test-runner-title.d.ts +0 -11
  307. package/dist/components/test-runner-title.js +0 -1
  308. package/dist/components/withDataset.js +0 -1
  309. package/dist/esm/DataFormatDigits-Dt6gpIiZ.js +0 -137
  310. package/dist/esm/DateStringFactory-_Qiv0IvF.js +0 -451
  311. package/dist/esm/Order-B4fpLe_f.js +0 -125
  312. package/dist/esm/SVGVariancesStyleGroup-DlWgvpzs.js +0 -7961
  313. package/dist/esm/StringAdapter-BLvo1Krl.js +0 -133
  314. package/dist/esm/_commonjsHelpers-BFTU3MAI.js +0 -7
  315. package/dist/esm/alasql.min-CWu4NkIt.js +0 -304
  316. package/dist/esm/bn-asset.entry.js +0 -40
  317. package/dist/esm/bn-body_3.entry.js +0 -409
  318. package/dist/esm/bn-card.entry.js +0 -35
  319. package/dist/esm/bn-chart-structure.entry.js +0 -703
  320. package/dist/esm/bn-chart-time.entry.js +0 -985
  321. package/dist/esm/bn-component-style.entry.js +0 -42
  322. package/dist/esm/bn-context_5.entry.js +0 -3374
  323. package/dist/esm/bn-dataset.entry.js +0 -276
  324. package/dist/esm/bn-layout-card.entry.js +0 -126
  325. package/dist/esm/bn-layout-page.entry.js +0 -140
  326. package/dist/esm/bn-map.entry.js +0 -423
  327. package/dist/esm/bn-message.entry.js +0 -50
  328. package/dist/esm/componentRegister-BtVfu16B.js +0 -72
  329. package/dist/esm/constants-kMyLevYy.js +0 -158
  330. package/dist/esm/formatter-DTMEZ6d8.js +0 -211
  331. package/dist/esm/ibcs-chart-structure.entry.js +0 -2904
  332. package/dist/esm/ibcs-chart-time.entry.js +0 -4138
  333. package/dist/esm/ibcs-map.entry.js +0 -1073
  334. package/dist/esm/ibcs-title.entry.js +0 -350
  335. package/dist/esm/scaling-BBd0ZVLL.js +0 -64
  336. package/dist/esm/test-runner-card.entry.js +0 -25
  337. package/dist/esm/test-runner-chart-time.entry.js +0 -228
  338. package/dist/esm/test-runner-chart.entry.js +0 -324
  339. package/dist/esm/test-runner-map.entry.js +0 -1860
  340. package/dist/esm/test-runner-table.entry.js +0 -475
  341. package/dist/esm/test-runner-time.entry.js +0 -379
  342. package/dist/esm/test-runner-title.entry.js +0 -113
  343. package/dist/esm/withComponentStatus-elELReKt.js +0 -37
  344. package/dist/esm/withComponentStyle-NaxfakAG.js +0 -126
  345. package/dist/esm/withDataset-BT2VQCsG.js +0 -144
  346. package/dist/esm/withStyled-CpUTv74m.js +0 -539
  347. package/dist/esm/withTranslation-Do4GhleK.js +0 -75
  348. package/dist/types/components/bn-map/bn-map.d.ts +0 -122
  349. package/dist/types/components/bn-map/ibcs-map/ibcs-map.d.ts +0 -73
  350. package/dist/types/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.d.ts +0 -8
  351. package/dist/types/components/bn-map/ibcs-map/utils/model/GpxLayer.d.ts +0 -11
  352. package/dist/types/components/bn-map/ibcs-map/utils/model/Marker.d.ts +0 -9
  353. package/dist/types/components/bn-map/ibcs-map/utils/model/index.d.ts +0 -2
  354. package/dist/types/test-runner/test-runner-card.d.ts +0 -3
  355. package/dist/types/test-runner/test-runner-chart-time.d.ts +0 -3
  356. package/dist/types/test-runner/test-runner-chart.d.ts +0 -3
  357. package/dist/types/test-runner/test-runner-map.d.ts +0 -3
  358. package/dist/types/test-runner/test-runner-table.d.ts +0 -3
  359. package/dist/types/test-runner/test-runner-time.d.ts +0 -3
  360. package/dist/types/test-runner/test-runner-title.d.ts +0 -3
@@ -84,25 +84,34 @@ export class IbcsChartStructure {
84
84
  this.chart.setPattern("fc", this.pattern.getFCPolygonPattern());
85
85
  }
86
86
  /**
87
- * Two-pass auto-fit: only when pixelPerUnit is 0 (auto mode).
88
- * Explicit values are never overridden — the outer component warns
89
- * about overflow via componentDidRender.
87
+ * Two-pass auto-fit for pixelPerUnit and/or pixelPerPercentage.
88
+ * When either is 0 (auto mode), renders a measurement pass at 1,
89
+ * computes the ratio to fit the available width, and rebuilds.
90
90
  * Structure charts grow horizontally, so we fit to width.
91
+ * Explicit (> 0) values are never overridden.
91
92
  */
92
93
  autoFitScaling(config, styles) {
93
94
  var _a;
94
- if (config.pixelPerUnit > 0) {
95
- return; // Explicit value — respect it, do not override
95
+ const autoUnit = config.pixelPerUnit <= 0;
96
+ const autoPercent = config.pixelPerPercentage <= 0;
97
+ if (!autoUnit && !autoPercent) {
98
+ return; // Both explicit — nothing to auto-fit
96
99
  }
97
100
  const targetWidth = (_a = this.parentDimensions) === null || _a === void 0 ? void 0 : _a.width;
98
101
  if (!targetWidth || targetWidth <= 0) {
99
- config.pixelPerUnit = 1;
102
+ if (autoUnit)
103
+ config.pixelPerUnit = 1;
104
+ if (autoPercent)
105
+ config.pixelPerPercentage = 50;
100
106
  this.chart = new StructureChart(new IBCSRuleSet(), config, styles);
101
107
  this.chart.setI18n(this.i18n);
102
108
  return;
103
109
  }
104
- // First pass with pixelPerUnit=1 to measure the real SVG width
105
- config.pixelPerUnit = 1;
110
+ // First pass: set auto values to 1 and measure total width + bar extent
111
+ if (autoUnit)
112
+ config.pixelPerUnit = 1;
113
+ if (autoPercent)
114
+ config.pixelPerPercentage = 1;
106
115
  this.chart = new StructureChart(new IBCSRuleSet(), config, styles);
107
116
  this.chart.setI18n(this.i18n);
108
117
  this.chart.toString();
@@ -110,8 +119,23 @@ export class IbcsChartStructure {
110
119
  if (svgWidth <= 0) {
111
120
  return;
112
121
  }
113
- // Scale so the chart fits in ~90% of the available width
114
- config.pixelPerUnit = (targetWidth * 0.9) / svgWidth;
122
+ // Separate fixed parts (labels, padding, spacing) from variable part (bar extent).
123
+ // totalWidth(ppu) = fixedWidth + maxBarValue * ppu
124
+ // Solving for ppu: ppu = (targetWidth - fixedWidth) / maxBarValue
125
+ const maxBarValue = this.chart.getMaxBarValue();
126
+ if (autoUnit) {
127
+ if (maxBarValue > 0) {
128
+ const fixedWidth = svgWidth - maxBarValue; // at ppu=1, barExtent = maxBarValue * 1
129
+ config.pixelPerUnit = Math.max(0.001, (targetWidth - fixedWidth) / maxBarValue);
130
+ }
131
+ else {
132
+ config.pixelPerUnit = (targetWidth * 0.9) / svgWidth;
133
+ }
134
+ }
135
+ if (autoPercent) {
136
+ // Same ratio approach: scale percentage bars to fill ~90% of width
137
+ config.pixelPerPercentage = (targetWidth * 0.9) / svgWidth;
138
+ }
115
139
  // Second pass with the corrected scaling
116
140
  this.chart = new StructureChart(new IBCSRuleSet(), config, styles);
117
141
  this.chart.setI18n(this.i18n);
@@ -58,6 +58,7 @@ export class StructureChart {
58
58
  this.dataFormatDigits = { percent: 2, decimal: 1 };
59
59
  this.stackConfig = null;
60
60
  this.overflowConfig = null;
61
+ this.highestStackedTotal = 0;
61
62
  this.initSQLFunctions();
62
63
  this.ruleSet = ruleSet || new IBCSRuleSet();
63
64
  this.i18n = this.createI18n(new Map());
@@ -96,7 +97,7 @@ export class StructureChart {
96
97
  this.setData([...config.data], config.filter);
97
98
  this.dataModel = this.populateModel(config.scenarios, config.level, config.sortOrder);
98
99
  // Populate per-dimension stack segments when stacking by a data dimension
99
- if (config.stackConfig && config.stackConfig.by !== StackBy.SCENARIO) {
100
+ if (config.stackConfig && config.stackConfig.by !== StackBy.SCENARIOS) {
100
101
  this.populateDimensionStackSegments(config.scenarios, config.stackConfig, config.level);
101
102
  }
102
103
  this.variancesDataModel = this.populateVarianceModel(config.variances, this.dataModel);
@@ -110,6 +111,7 @@ export class StructureChart {
110
111
  this.measureUnit = config.measureUnit;
111
112
  this.dataFormatDigits = config.dataFormatDigits;
112
113
  this.stackConfig = config.stackConfig;
114
+ this.highestStackedTotal = this.findHighestStackedRowTotal(this.dataModel);
113
115
  this.updatePosition();
114
116
  }
115
117
  sortScenariosbyVisualisationRules(config) {
@@ -199,6 +201,30 @@ export class StructureChart {
199
201
  this.preparedDataSet = data;
200
202
  }
201
203
  }
204
+ /**
205
+ * Returns the data value whose bar extent is proportional to pixelPerUnit.
206
+ * Used by autoFitScaling to separate fixed vs variable width components.
207
+ */
208
+ getMaxBarValue() {
209
+ var _a, _b;
210
+ // Stacked: bar extent = highestStackedTotal * ppu (or just ppu for relative)
211
+ if (this.stackConfig != null && this.highestStackedTotal > 0) {
212
+ if (this.stackConfig.mode === StackMode.RELATIVE) {
213
+ return 1;
214
+ }
215
+ return this.highestStackedTotal;
216
+ }
217
+ // Non-stacked: bar extent = highestDataPointValue * ppu
218
+ const vt = this.getVarianceType();
219
+ if (vt === VarianceType.NONE && ((_a = this.highestDataPointValue) === null || _a === void 0 ? void 0 : _a.value) != null) {
220
+ return Math.abs(this.highestDataPointValue.value);
221
+ }
222
+ if (vt === VarianceType.ABSOLUTE && ((_b = this.highestVarianceDataPointValue) === null || _b === void 0 ? void 0 : _b.value) != null) {
223
+ return Math.abs(this.highestVarianceDataPointValue.value);
224
+ }
225
+ // RELATIVE variance depends on pixelPerPercentage, not pixelPerUnit
226
+ return 0;
227
+ }
202
228
  getAllocatedCanvasWidth() {
203
229
  //let columnLabelWidth = this.calculateCategoryWidth();
204
230
  const leftSideWidth = this.position.getAxisPositionX(); //this.calculateLeftSideWidth(this.getVarianceType());
@@ -449,6 +475,48 @@ export class StructureChart {
449
475
  }
450
476
  return highestDataPoint;
451
477
  }
478
+ findHighestStackedRowTotal(dataModel) {
479
+ if (!this.stackConfig || dataModel.length === 0)
480
+ return 0;
481
+ const isScenarioStack = this.stackConfig.by === StackBy.SCENARIOS;
482
+ let maxTotal = 0;
483
+ for (const row of dataModel) {
484
+ let rowTotal = 0;
485
+ if (isScenarioStack) {
486
+ const scenarioKeys = ["scenario1", "scenario2", "scenario3", "scenario4"];
487
+ const segments = [];
488
+ for (const key of scenarioKeys) {
489
+ const dp = row[key];
490
+ if (dp && !dp.isEmpty() && dp.value != null) {
491
+ segments.push({ value: dp.value, scenario: dp.scenario });
492
+ }
493
+ }
494
+ const prefixes = new Set(segments.map((s) => getScenarioPrefix(s.scenario)));
495
+ if (prefixes.size > 1) {
496
+ // Overlay: groups overlap from baseline, width = max group total
497
+ const groupMap = new Map();
498
+ for (const seg of segments) {
499
+ const prefix = getScenarioPrefix(seg.scenario);
500
+ groupMap.set(prefix, (groupMap.get(prefix) || 0) + Math.abs(seg.value));
501
+ }
502
+ rowTotal = Math.max(...groupMap.values());
503
+ }
504
+ else {
505
+ // Single group: segments stack end-to-end, width = sum
506
+ rowTotal = segments.reduce((sum, s) => sum + Math.abs(s.value), 0);
507
+ }
508
+ }
509
+ else {
510
+ // Dimension stacking: use stackSegments
511
+ if (row.stackSegments && row.stackSegments.length > 0) {
512
+ rowTotal = row.stackSegments.reduce((sum, s) => sum + Math.abs(s.value), 0);
513
+ }
514
+ }
515
+ if (rowTotal > maxTotal)
516
+ maxTotal = rowTotal;
517
+ }
518
+ return maxTotal;
519
+ }
452
520
  populateVarianceModel(variancesConfig, dataModel) {
453
521
  const varianceModel = [];
454
522
  if (variancesConfig.length === 0) {
@@ -596,7 +664,7 @@ export class StructureChart {
596
664
  if (!this.stackConfig)
597
665
  return;
598
666
  const stackGroup = svgContainer.group().id("StackedScenarios");
599
- const isScenarioStack = this.stackConfig.by === StackBy.SCENARIO;
667
+ const isScenarioStack = this.stackConfig.by === StackBy.SCENARIOS;
600
668
  dataModel.forEach((elements, index) => {
601
669
  const scenarioKeys = ["scenario1", "scenario2", "scenario3", "scenario4"];
602
670
  const segments = [];
@@ -697,7 +765,7 @@ export class StructureChart {
697
765
  drawStackedHeaders(dataModel, svgContainer) {
698
766
  if (!this.stackConfig || dataModel.length === 0)
699
767
  return;
700
- const isScenarioStack = this.stackConfig.by === StackBy.SCENARIO;
768
+ const isScenarioStack = this.stackConfig.by === StackBy.SCENARIOS;
701
769
  const headerGroup = svgContainer.group().id("StackedHeaders");
702
770
  const firstRow = dataModel[0];
703
771
  // Dimension stacking: use stackSegments from first row for headers
@@ -832,6 +900,20 @@ export class StructureChart {
832
900
  }
833
901
  calculateRightSideWidth(varianceType) {
834
902
  var _a, _b, _c;
903
+ // Stacked charts: width based on max row total, not individual max
904
+ if (this.stackConfig != null && this.highestStackedTotal > 0) {
905
+ const labelToBar = this.styles.fontStyles.size * this.styles.scaleFactors.labelToBar;
906
+ let barExtent;
907
+ if (this.stackConfig.mode === StackMode.RELATIVE) {
908
+ barExtent = this.pixelPerUnit;
909
+ }
910
+ else {
911
+ barExtent = this.highestStackedTotal * this.pixelPerUnit;
912
+ }
913
+ const sizeTotalLabel = this.calculateTextBoxWidth(this.highestStackedTotal);
914
+ const width = barExtent + labelToBar + sizeTotalLabel;
915
+ return Math.max(width, this.titleLength);
916
+ }
835
917
  let width = 0;
836
918
  const labelToBar = this.styles.fontStyles.size * this.styles.scaleFactors.labelToBar;
837
919
  if (VarianceType.NONE === varianceType &&
@@ -861,19 +943,20 @@ export class StructureChart {
861
943
  * For dimension stacking (by category, subcategory, or rowgroup), query the raw data
862
944
  * at the stack dimension level and attach stackSegments to each dataModel row.
863
945
  */
864
- populateDimensionStackSegments(scenarios, stackConfig, level) {
946
+ populateDimensionStackSegments(scenarios, _stackConfig, level) {
865
947
  var _a;
866
948
  if (((_a = this.preparedDataSet) === null || _a === void 0 ? void 0 : _a.length) === 0 || scenarios.length === 0)
867
949
  return;
868
- // Map StackBy value to the actual data column name
869
- const stackColumnMap = {
870
- [StackBy.CATEGORY]: "category",
871
- [StackBy.SUBCATEGORY]: "subCategory",
872
- [StackBy.ROWGROUP]: "rowGroup",
950
+ // Derive stack column from level: stack by the next-lower hierarchy dimension
951
+ const nextLowerDimension = {
952
+ [AggregationLevel.ROWGROUP]: "category",
953
+ [AggregationLevel.ROWGROUPINDEX]: "category",
954
+ [AggregationLevel.CATEGORY]: "subCategory",
955
+ [AggregationLevel.CATEGORYINDEX]: "subCategory",
873
956
  };
874
- const stackColumn = stackColumnMap[stackConfig.by];
957
+ const stackColumn = nextLowerDimension[level];
875
958
  if (!stackColumn)
876
- return;
959
+ return; // subCategory has no lower dimension
877
960
  // The display level column (what each bar represents)
878
961
  const displayColumn = level.toString(); // e.g. 'rowGroup', 'category', 'subCategory'
879
962
  const scenario = scenarios[0]; // dimension stacking uses first scenario
@@ -30,6 +30,7 @@ export class Label {
30
30
  constructor(parent, xPosition, yPosition, groupPrefix, value, styles, verticalHookLocation, horizontalHookLocation) {
31
31
  this.group = null;
32
32
  this.segmentFillColor = null;
33
+ this.maxWidth = null;
33
34
  this.ID_SCENARIOLABEL = "Label";
34
35
  this.CSS_CATEGORIES = "categories";
35
36
  this.x = xPosition;
@@ -57,6 +58,10 @@ export class Label {
57
58
  this.segmentFillColor = color;
58
59
  return this;
59
60
  }
61
+ setMaxWidth(width) {
62
+ this.maxWidth = width;
63
+ return this;
64
+ }
60
65
  updateGroup(newGroup) {
61
66
  this.group = newGroup;
62
67
  return this;
@@ -65,6 +70,7 @@ export class Label {
65
70
  return prefix + "_" + groupPrefix + "_" + this.ID_SCENARIOLABEL;
66
71
  }
67
72
  draw(dataFormatDigits = { percent: 2, decimal: 1 }, measureScale = new SiPrefix()) {
73
+ var _a;
68
74
  if (this.isEmpty()) {
69
75
  return this;
70
76
  }
@@ -102,6 +108,11 @@ export class Label {
102
108
  text.move(this.x, this.y);
103
109
  const boxWidth = text.bbox().w;
104
110
  const boxHeight = text.bbox().h;
111
+ if (this.maxWidth != null && boxWidth > this.maxWidth) {
112
+ (_a = this.group) === null || _a === void 0 ? void 0 : _a.remove();
113
+ this.group = null;
114
+ return this;
115
+ }
105
116
  if (this.horizontalHookLocation === HookLocation.Right) {
106
117
  labelAnchor = "end";
107
118
  text.move(text.x() - text.length(), text.y());
@@ -1,7 +1,6 @@
1
1
  import { HookLocation, Label } from "./Label";
2
2
  import { SiPrefix } from "../../../../utils/model/SiPrefix";
3
3
  import { StackMode } from "../../../../utils/constants";
4
- import { getStackFill, getStackStroke } from "../../../../utils/stackColors";
5
4
  /**
6
5
  * Renders a single horizontal stacked bar segment for the structure chart.
7
6
  */
@@ -45,26 +44,29 @@ export class StackedBar {
45
44
  xPos = axisX + baselinePixels;
46
45
  }
47
46
  const yPos = this.position.getBarPositionY(this.index, true);
48
- // Unified IBCS 3-color palette for all stacking modes
49
- const fillColor = getStackFill(this.segmentIndex);
47
+ const colors = this.styles.stackColors;
48
+ const fillColor = colors[this.segmentIndex % colors.length];
50
49
  const fillStyle = { color: fillColor };
51
- const strokeStyle = { color: getStackStroke(this.segmentIndex), width: 0.5 };
50
+ const strokeStyle = { color: fillColor, width: 0.5 };
52
51
  this.barGroup.rect(Math.max(segmentLength, 0.5), barWidth).fill(fillStyle).stroke(strokeStyle).cy(yPos).x(xPos);
53
52
  // Draw segment value label centered on bar if wide enough
54
- const MIN_SEGMENT_WIDTH_FOR_LABEL = 30;
55
- if (segmentLength >= MIN_SEGMENT_WIDTH_FOR_LABEL) {
53
+ const LABEL_PADDING = 6;
54
+ const availableWidth = segmentLength - LABEL_PADDING;
55
+ if (availableWidth > 0) {
56
56
  const labelX = xPos + segmentLength / 2;
57
57
  if (this.stackMode === StackMode.RELATIVE || this.stackMode === StackMode.ABSOLUTE_RELATIVE) {
58
58
  const pct = this.totalValue !== 0 ? (value / this.totalValue) * 100 : 0;
59
59
  const labelValue = pct.toFixed(dataFormatDigits.percent) + "%";
60
60
  new Label(this.group, labelX, yPos, "STACK_SEG", labelValue, this.styles, HookLocation.Center, HookLocation.Center)
61
61
  .setSegmentFill(fillColor)
62
+ .setMaxWidth(availableWidth)
62
63
  .draw();
63
64
  }
64
65
  else {
65
66
  // Pass raw numeric value — Label.draw() formats with measureScale
66
67
  new Label(this.group, labelX, yPos, "STACK_SEG", value, this.styles, HookLocation.Center, HookLocation.Center)
67
68
  .setSegmentFill(fillColor)
69
+ .setMaxWidth(availableWidth)
68
70
  .draw(dataFormatDigits, measureScale);
69
71
  }
70
72
  }
@@ -16,6 +16,7 @@ export class StructureChartStyle {
16
16
  this.varianceStyles = varianceStyles;
17
17
  this.padding = padding;
18
18
  this.pattern = new Map();
19
+ this.stackColors = ["#000000", "#c0c0c0", "#808080"];
19
20
  }
20
21
  }
21
22
  /** Adapts raw componentStyle JSON into a StructureChartStyle, falling back to defaults for missing properties. */
@@ -48,6 +49,9 @@ export class StructureChartStylesAdapter {
48
49
  if (CompareUtil.isExisting(data.padding)) {
49
50
  styles.padding = this.paddingadapter.adapt(data.padding);
50
51
  }
52
+ if (Array.isArray(data.stackColors) && data.stackColors.length > 0) {
53
+ styles.stackColors = data.stackColors;
54
+ }
51
55
  styles.pattern = new MarkerPattern(styles.fontStyles.size).createPatternMapForStructureBar();
52
56
  }
53
57
  return styles;
@@ -1,7 +1,7 @@
1
1
  :host {
2
2
  display: inline-block;
3
3
  position: relative;
4
- overflow: visible; /* debug: temporarily visible to diagnose label clipping */
4
+ overflow: hidden;
5
5
  }
6
6
 
7
7
  .container {