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

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 (299) hide show
  1. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
  2. package/dist/bn-template-engine/p-05a82a77.entry.js +1 -0
  3. package/dist/bn-template-engine/p-0f1504f3.entry.js +1 -0
  4. package/dist/bn-template-engine/p-1970906d.entry.js +1 -0
  5. package/dist/bn-template-engine/p-1dbd339c.entry.js +1 -0
  6. package/dist/bn-template-engine/p-2e68cf09.entry.js +1 -0
  7. package/dist/bn-template-engine/p-31cc6a2d.entry.js +1 -0
  8. package/dist/bn-template-engine/p-37881d05.entry.js +1 -0
  9. package/dist/bn-template-engine/{p-65f8962a.entry.js → p-3b894997.entry.js} +1 -1
  10. package/dist/bn-template-engine/p-50e49732.entry.js +1 -0
  11. package/dist/bn-template-engine/{p-ad94cf63.entry.js → p-6c7c0455.entry.js} +1 -1
  12. package/dist/bn-template-engine/p-6da93eae.entry.js +1 -0
  13. package/dist/bn-template-engine/p-701e1578.entry.js +1 -0
  14. package/dist/bn-template-engine/{p-_LBTIfNN.js → p-8tsCnxIz.js} +1 -1
  15. package/dist/bn-template-engine/p-997b2fe4.entry.js +1 -0
  16. package/dist/bn-template-engine/p-B4ySv9KQ.js +1 -0
  17. package/dist/bn-template-engine/p-BL8gyUwE.js +1 -0
  18. package/dist/bn-template-engine/p-BSfqOkN_.js +1 -0
  19. package/dist/bn-template-engine/{p-Cp4MVxCu.js → p-C0yAPzJz.js} +1 -1
  20. package/dist/bn-template-engine/{p--TeDldm8.js → p-CRLgp9-v.js} +1 -1
  21. package/dist/bn-template-engine/p-CYjZRKdI.js +1 -0
  22. package/dist/bn-template-engine/p-DG-1MR_T.js +1 -0
  23. package/dist/bn-template-engine/{p-CnI71OA9.js → p-DRikHQE-.js} +1 -1
  24. package/dist/bn-template-engine/p-DVMu6dEy.js +1 -0
  25. package/dist/bn-template-engine/p-DtdQCMzj.js +1 -0
  26. package/dist/bn-template-engine/p-JNHhIe7t.js +2 -0
  27. package/dist/bn-template-engine/p-a90f1cbe.entry.js +1 -0
  28. package/dist/bn-template-engine/p-b7bec050.entry.js +1 -0
  29. package/dist/bn-template-engine/p-d7f0cbaf.entry.js +1 -0
  30. package/dist/bn-template-engine/p-dfb61aa5.entry.js +1 -0
  31. package/dist/bn-template-engine/p-ece17f84.entry.js +1 -0
  32. package/dist/bn-template-engine/p-f27995c9.entry.js +1 -0
  33. package/dist/bn-template-engine/p-fd427179.entry.js +1 -0
  34. package/dist/bn-template-engine/p-sqjrku2z.js +1 -0
  35. package/dist/bn-template-engine/{p-CY1RzLjU.js → p-tzFCK9qn.js} +1 -1
  36. package/dist/cjs/{DataFormatDigits-DmTbhF8q.js → DataFormatDigits-DAmZzqbD.js} +1 -1
  37. package/dist/cjs/{DateStringFactory-Dn0aRj2Y.js → DateStringFactory-CcluhpGI.js} +4 -5
  38. package/dist/cjs/{luxon-8hyy5YD7.js → Order-BKoDS21t.js} +310 -0
  39. package/dist/cjs/{SVGVariancesStyleGroup-Czizhngt.js → SVGVariancesStyleGroup-DYYAU-81.js} +1 -1
  40. package/dist/cjs/{StringAdapter-0EbYMkR0.js → StringAdapter-Bneo8T4k.js} +1 -1
  41. package/dist/cjs/bn-asset.cjs.entry.js +5 -6
  42. package/dist/cjs/{bn-body_3.cjs.entry.js → bn-body_4.cjs.entry.js} +360 -27
  43. package/dist/cjs/bn-card.cjs.entry.js +5 -6
  44. package/dist/cjs/bn-chart-structure.cjs.entry.js +17 -22
  45. package/dist/cjs/bn-chart-time.cjs.entry.js +38 -51
  46. package/dist/cjs/bn-component-style.cjs.entry.js +5 -6
  47. package/dist/cjs/bn-context_5.cjs.entry.js +145 -78
  48. package/dist/cjs/bn-dataset.cjs.entry.js +5 -6
  49. package/dist/cjs/bn-grid.cjs.entry.js +8 -11
  50. package/dist/cjs/bn-image.cjs.entry.js +8 -11
  51. package/dist/cjs/bn-internationalization.cjs.entry.js +5 -6
  52. package/dist/cjs/bn-layout-card.cjs.entry.js +3 -3
  53. package/dist/cjs/bn-layout-page.cjs.entry.js +2 -2
  54. package/dist/cjs/bn-message.cjs.entry.js +6 -7
  55. package/dist/cjs/bn-template-engine.cjs.js +2 -2
  56. package/dist/cjs/bn-template.cjs.entry.js +4 -5
  57. package/dist/cjs/bn-text.cjs.entry.js +12 -16
  58. package/dist/cjs/bn-tree.cjs.entry.js +8 -11
  59. package/dist/cjs/{context-protocol-BkYHFkXE.js → context-protocol-CRPmux5D.js} +1 -1
  60. package/dist/cjs/editor-companion.cjs.entry.js +3 -3
  61. package/dist/cjs/ibcs-chart-structure.cjs.entry.js +31 -33
  62. package/dist/cjs/ibcs-chart-time.cjs.entry.js +42 -44
  63. package/dist/cjs/{index-CScBFiS1.js → index-Cjw0q6gP.js} +1 -2
  64. package/dist/cjs/loader.cjs.js +2 -2
  65. package/dist/cjs/{withDataset-ZdN-RRTx.js → scaling-D8sIIKft.js} +68 -3
  66. package/dist/cjs/{withBodyObserver-B0_W1VOf.js → withBodyObserver-C6gLgq_e.js} +2 -2
  67. package/dist/cjs/{componentRegister-C17UFNPh.js → withComponentStatus-_x4LQZ0N.js} +43 -6
  68. package/dist/cjs/{withComponentStyle-C6KHnZHt.js → withComponentStyle-DMtic_9Y.js} +3 -3
  69. package/dist/cjs/{withHasError-Dspb3lIV.js → withHasError-B8gHkfV2.js} +1 -1
  70. package/dist/cjs/{withStyled-Bf-stJTR.js → withStyled-CW30Bh6c.js} +18 -63
  71. package/dist/cjs/{withTranslation-Cz0M5maV.js → withTranslation-CWPAIRjh.js} +3 -3
  72. package/dist/collection/collection-manifest.json +1 -10
  73. package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +2 -3
  74. package/dist/collection/components/bn-chart-time/bn-chart-time.js +21 -30
  75. package/dist/collection/components/bn-message/bn-message.js +1 -1
  76. package/dist/collection/components/bn-page/bn-page.js +1 -1
  77. package/dist/collection/components/bn-table/bn-table.js +63 -12
  78. package/dist/collection/components/bn-table/ibcs-table.css +7 -5
  79. package/dist/collection/components/bn-table/ibcs-table.js +22 -1
  80. package/dist/collection/components/bn-table/utils/elements/CellBarChart.js +56 -25
  81. package/dist/collection/components/bn-table/utils/elements/TableRow.js +3 -1
  82. package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +12 -3
  83. package/dist/collection/components/bn-table/utils/helper/ColumnStatistics.js +9 -1
  84. package/dist/collection/components/bn-template/bn-template.js +1 -1
  85. package/dist/collection/components/bn-text/bn-text.js +1 -1
  86. package/dist/collection/components/bn-title/bn-title.js +1 -9
  87. package/dist/collection/components/bn-title/ibcs-title/ibcs-title.js +1 -1
  88. package/dist/collection/components/editor-companion/editor-companion.js +1 -1
  89. package/dist/collection/utils/DateStringFactory.js +0 -1
  90. package/dist/collection/utils/constants.js +27 -0
  91. package/dist/collection/utils/validate.js +4 -1
  92. package/dist/components/DataFormatDigits.js +1 -1
  93. package/dist/components/DateStringFactory.js +1 -1
  94. package/dist/components/Order.js +1 -1
  95. package/dist/components/SVGVariancesStyleGroup.js +1 -1
  96. package/dist/components/bn-chart-structure.js +1 -1
  97. package/dist/components/bn-chart-time.js +1 -1
  98. package/dist/components/bn-message2.js +1 -1
  99. package/dist/components/bn-page2.js +1 -1
  100. package/dist/components/bn-table.js +1 -1
  101. package/dist/components/bn-template.js +1 -1
  102. package/dist/components/bn-text.js +1 -1
  103. package/dist/components/bn-title2.js +1 -1
  104. package/dist/components/editor-companion.js +1 -1
  105. package/dist/components/ibcs-chart-structure2.js +1 -1
  106. package/dist/components/ibcs-chart-time2.js +1 -1
  107. package/dist/components/ibcs-table2.js +1 -1
  108. package/dist/components/ibcs-title2.js +1 -1
  109. package/dist/components/ibcsRuleSet.js +1 -1
  110. package/dist/components/scaling.js +1 -1
  111. package/dist/components/validate.js +1 -1
  112. package/dist/components/withHasError.js +1 -1
  113. package/dist/esm/{DataFormatDigits-Dt6gpIiZ.js → DataFormatDigits--qIbKvXa.js} +1 -1
  114. package/dist/esm/{DateStringFactory-_Qiv0IvF.js → DateStringFactory-XWdUjsn8.js} +1 -2
  115. package/dist/esm/{luxon-DbyXf6dF.js → Order-sqjrku2z.js} +307 -1
  116. package/dist/esm/{SVGVariancesStyleGroup-DlWgvpzs.js → SVGVariancesStyleGroup-ibg3sLjM.js} +1 -1
  117. package/dist/esm/{StringAdapter-BLvo1Krl.js → StringAdapter-BCLJpQQ8.js} +1 -1
  118. package/dist/esm/bn-asset.entry.js +5 -6
  119. package/dist/esm/{bn-body_3.entry.js → bn-body_4.entry.js} +356 -24
  120. package/dist/esm/bn-card.entry.js +5 -6
  121. package/dist/esm/bn-chart-structure.entry.js +12 -17
  122. package/dist/esm/bn-chart-time.entry.js +31 -44
  123. package/dist/esm/bn-component-style.entry.js +5 -6
  124. package/dist/esm/bn-context_5.entry.js +124 -57
  125. package/dist/esm/bn-dataset.entry.js +5 -6
  126. package/dist/esm/bn-grid.entry.js +8 -11
  127. package/dist/esm/bn-image.entry.js +8 -11
  128. package/dist/esm/bn-internationalization.entry.js +5 -6
  129. package/dist/esm/bn-layout-card.entry.js +3 -3
  130. package/dist/esm/bn-layout-page.entry.js +2 -2
  131. package/dist/esm/bn-message.entry.js +6 -7
  132. package/dist/esm/bn-template-engine.js +3 -3
  133. package/dist/esm/bn-template.entry.js +4 -5
  134. package/dist/esm/bn-text.entry.js +11 -15
  135. package/dist/esm/bn-tree.entry.js +8 -11
  136. package/dist/esm/{context-protocol-DzeqZxg6.js → context-protocol-Bz5klD-F.js} +1 -1
  137. package/dist/esm/editor-companion.entry.js +3 -3
  138. package/dist/esm/ibcs-chart-structure.entry.js +5 -7
  139. package/dist/esm/ibcs-chart-time.entry.js +6 -8
  140. package/dist/esm/{index-B27Ax6P_.js → index-JNHhIe7t.js} +2 -2
  141. package/dist/esm/loader.js +3 -3
  142. package/dist/esm/{withDataset-BT2VQCsG.js → scaling-C6K8FYSF.js} +67 -4
  143. package/dist/esm/{withBodyObserver-gZpZiEIK.js → withBodyObserver-DczL5ia8.js} +2 -2
  144. package/dist/esm/{componentRegister-BtVfu16B.js → withComponentStatus-DodoSXe-.js} +36 -1
  145. package/dist/esm/{withComponentStyle-NaxfakAG.js → withComponentStyle-BerJY64r.js} +3 -3
  146. package/dist/esm/{withHasError-C48fTE2k.js → withHasError-B3QX2emi.js} +1 -1
  147. package/dist/esm/{withStyled-CpUTv74m.js → withStyled-D1fAWJ3g.js} +8 -51
  148. package/dist/esm/{withTranslation-Do4GhleK.js → withTranslation-mimbJdER.js} +3 -3
  149. package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +1 -2
  150. package/dist/types/components/bn-table/bn-table.d.ts +11 -7
  151. package/dist/types/components/bn-table/ibcs-table.d.ts +1 -0
  152. package/dist/types/components/bn-table/utils/elements/Cell.d.ts +1 -0
  153. package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +3 -0
  154. package/dist/types/components/bn-title/bn-title.d.ts +0 -1
  155. package/dist/types/components.d.ts +22 -403
  156. package/dist/types/utils/constants.d.ts +15 -0
  157. package/dist/types/utils/validate.d.ts +1 -0
  158. package/package.json +2 -3
  159. package/readme.md +0 -1
  160. package/dist/bn-template-engine/assets/gpx/Chasing_Legends.gpx +0 -195076
  161. package/dist/bn-template-engine/assets/gpx/Fahrt_am_Nachmittag.gpx +0 -142007
  162. package/dist/bn-template-engine/assets/icons/gpx-finish.png +0 -0
  163. package/dist/bn-template-engine/assets/icons/gpx-shadow.png +0 -0
  164. package/dist/bn-template-engine/assets/icons/gpx-start.png +0 -0
  165. package/dist/bn-template-engine/assets/icons/marker-example.png +0 -0
  166. package/dist/bn-template-engine/assets/icons/pin-icon-end.png +0 -0
  167. package/dist/bn-template-engine/assets/icons/pin-icon-start.png +0 -0
  168. package/dist/bn-template-engine/assets/icons/pin-icon-wpt.png +0 -0
  169. package/dist/bn-template-engine/assets/icons/pin-shadow.png +0 -0
  170. package/dist/bn-template-engine/assets/icons/pin.png +0 -0
  171. package/dist/bn-template-engine/p-0e7dc113.entry.js +0 -1
  172. package/dist/bn-template-engine/p-264c6bad.entry.js +0 -1
  173. package/dist/bn-template-engine/p-326a0902.entry.js +0 -1
  174. package/dist/bn-template-engine/p-38a8bde3.entry.js +0 -1
  175. package/dist/bn-template-engine/p-577eafcd.entry.js +0 -1
  176. package/dist/bn-template-engine/p-5905cc43.entry.js +0 -1
  177. package/dist/bn-template-engine/p-5d155a72.entry.js +0 -1
  178. package/dist/bn-template-engine/p-6b8d1ebf.entry.js +0 -1
  179. package/dist/bn-template-engine/p-7995acb2.entry.js +0 -1
  180. package/dist/bn-template-engine/p-7afe431e.entry.js +0 -1
  181. package/dist/bn-template-engine/p-8014b1ac.entry.js +0 -1
  182. package/dist/bn-template-engine/p-80423fc8.entry.js +0 -1
  183. package/dist/bn-template-engine/p-91e74d42.entry.js +0 -1
  184. package/dist/bn-template-engine/p-930a9e29.entry.js +0 -1
  185. package/dist/bn-template-engine/p-93C9jL8R.js +0 -1
  186. package/dist/bn-template-engine/p-93ff8584.entry.js +0 -1
  187. package/dist/bn-template-engine/p-B0m0U4wJ.js +0 -1
  188. package/dist/bn-template-engine/p-B27Ax6P_.js +0 -2
  189. package/dist/bn-template-engine/p-B79VcHiT.js +0 -1
  190. package/dist/bn-template-engine/p-BBd0ZVLL.js +0 -1
  191. package/dist/bn-template-engine/p-BFatTBqh.js +0 -1
  192. package/dist/bn-template-engine/p-BQp6ZPYW.js +0 -1
  193. package/dist/bn-template-engine/p-BhEQy-2D.js +0 -1
  194. package/dist/bn-template-engine/p-BtVfu16B.js +0 -1
  195. package/dist/bn-template-engine/p-CfWnag33.js +0 -1
  196. package/dist/bn-template-engine/p-DbyXf6dF.js +0 -1
  197. package/dist/bn-template-engine/p-TdL-LRR9.js +0 -1
  198. package/dist/bn-template-engine/p-a342cd3c.entry.js +0 -1
  199. package/dist/bn-template-engine/p-bc37d750.entry.js +0 -1
  200. package/dist/bn-template-engine/p-c9f050bf.entry.js +0 -1
  201. package/dist/bn-template-engine/p-d07a0ca3.entry.js +0 -1
  202. package/dist/bn-template-engine/p-e5f372af.entry.js +0 -1
  203. package/dist/bn-template-engine/p-e620028c.entry.js +0 -1
  204. package/dist/bn-template-engine/p-e81e116a.entry.js +0 -1
  205. package/dist/bn-template-engine/p-eca98070.entry.js +0 -1
  206. package/dist/bn-template-engine/p-ee6de950.entry.js +0 -1
  207. package/dist/bn-template-engine/p-efe0ef1e.entry.js +0 -1
  208. package/dist/bn-template-engine/p-f034f1b8.entry.js +0 -1
  209. package/dist/bn-template-engine/p-f1c1a8a3.entry.js +0 -1
  210. package/dist/bn-template-engine/p-fe573a1a.entry.js +0 -1
  211. package/dist/bn-template-engine/p-kMyLevYy.js +0 -1
  212. package/dist/cjs/Order-B4NIqQWe.js +0 -129
  213. package/dist/cjs/bn-map.cjs.entry.js +0 -425
  214. package/dist/cjs/constants-DHqQXSSd.js +0 -158
  215. package/dist/cjs/ibcs-map.cjs.entry.js +0 -1075
  216. package/dist/cjs/ibcs-title.cjs.entry.js +0 -352
  217. package/dist/cjs/scaling-B23eOtsC.js +0 -67
  218. package/dist/cjs/test-runner-card.cjs.entry.js +0 -27
  219. package/dist/cjs/test-runner-chart-time.cjs.entry.js +0 -230
  220. package/dist/cjs/test-runner-chart.cjs.entry.js +0 -326
  221. package/dist/cjs/test-runner-map.cjs.entry.js +0 -1862
  222. package/dist/cjs/test-runner-table.cjs.entry.js +0 -477
  223. package/dist/cjs/test-runner-time.cjs.entry.js +0 -381
  224. package/dist/cjs/test-runner-title.cjs.entry.js +0 -115
  225. package/dist/cjs/withComponentStatus-BrxL7usr.js +0 -39
  226. package/dist/collection/components/bn-map/bn-map.css +0 -4
  227. package/dist/collection/components/bn-map/bn-map.js +0 -725
  228. package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Chasing_Legends.gpx +0 -195076
  229. package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Fahrt_am_Nachmittag.gpx +0 -142007
  230. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-finish.png +0 -0
  231. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-shadow.png +0 -0
  232. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-start.png +0 -0
  233. package/dist/collection/components/bn-map/ibcs-map/assets/icons/marker-example.png +0 -0
  234. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-end.png +0 -0
  235. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-start.png +0 -0
  236. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-wpt.png +0 -0
  237. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-shadow.png +0 -0
  238. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin.png +0 -0
  239. package/dist/collection/components/bn-map/ibcs-map/ibcs-map.css +0 -674
  240. package/dist/collection/components/bn-map/ibcs-map/ibcs-map.js +0 -744
  241. package/dist/collection/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.js +0 -9
  242. package/dist/collection/components/bn-map/ibcs-map/utils/model/GpxLayer.js +0 -13
  243. package/dist/collection/components/bn-map/ibcs-map/utils/model/Marker.js +0 -11
  244. package/dist/collection/components/bn-map/ibcs-map/utils/model/index.js +0 -2
  245. package/dist/collection/test-runner/test-runner-card.js +0 -36
  246. package/dist/collection/test-runner/test-runner-chart-time.js +0 -234
  247. package/dist/collection/test-runner/test-runner-chart.js +0 -364
  248. package/dist/collection/test-runner/test-runner-map.js +0 -1901
  249. package/dist/collection/test-runner/test-runner-table.js +0 -469
  250. package/dist/collection/test-runner/test-runner-time.js +0 -399
  251. package/dist/collection/test-runner/test-runner-title.js +0 -108
  252. package/dist/components/bn-map.d.ts +0 -11
  253. package/dist/components/bn-map.js +0 -1
  254. package/dist/components/componentRegister.js +0 -1
  255. package/dist/components/ibcs-map.d.ts +0 -11
  256. package/dist/components/ibcs-map.js +0 -1
  257. package/dist/components/ibcs-map2.js +0 -1
  258. package/dist/components/test-runner-card.d.ts +0 -11
  259. package/dist/components/test-runner-card.js +0 -1
  260. package/dist/components/test-runner-chart-time.d.ts +0 -11
  261. package/dist/components/test-runner-chart-time.js +0 -1
  262. package/dist/components/test-runner-chart.d.ts +0 -11
  263. package/dist/components/test-runner-chart.js +0 -1
  264. package/dist/components/test-runner-map.d.ts +0 -11
  265. package/dist/components/test-runner-map.js +0 -1
  266. package/dist/components/test-runner-table.d.ts +0 -11
  267. package/dist/components/test-runner-table.js +0 -1
  268. package/dist/components/test-runner-time.d.ts +0 -11
  269. package/dist/components/test-runner-time.js +0 -1
  270. package/dist/components/test-runner-title.d.ts +0 -11
  271. package/dist/components/test-runner-title.js +0 -1
  272. package/dist/components/withDataset.js +0 -1
  273. package/dist/esm/Order-B4fpLe_f.js +0 -125
  274. package/dist/esm/bn-map.entry.js +0 -423
  275. package/dist/esm/constants-kMyLevYy.js +0 -158
  276. package/dist/esm/ibcs-map.entry.js +0 -1073
  277. package/dist/esm/ibcs-title.entry.js +0 -350
  278. package/dist/esm/scaling-BBd0ZVLL.js +0 -64
  279. package/dist/esm/test-runner-card.entry.js +0 -25
  280. package/dist/esm/test-runner-chart-time.entry.js +0 -228
  281. package/dist/esm/test-runner-chart.entry.js +0 -324
  282. package/dist/esm/test-runner-map.entry.js +0 -1860
  283. package/dist/esm/test-runner-table.entry.js +0 -475
  284. package/dist/esm/test-runner-time.entry.js +0 -379
  285. package/dist/esm/test-runner-title.entry.js +0 -113
  286. package/dist/esm/withComponentStatus-elELReKt.js +0 -37
  287. package/dist/types/components/bn-map/bn-map.d.ts +0 -122
  288. package/dist/types/components/bn-map/ibcs-map/ibcs-map.d.ts +0 -73
  289. package/dist/types/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.d.ts +0 -8
  290. package/dist/types/components/bn-map/ibcs-map/utils/model/GpxLayer.d.ts +0 -11
  291. package/dist/types/components/bn-map/ibcs-map/utils/model/Marker.d.ts +0 -9
  292. package/dist/types/components/bn-map/ibcs-map/utils/model/index.d.ts +0 -2
  293. package/dist/types/test-runner/test-runner-card.d.ts +0 -3
  294. package/dist/types/test-runner/test-runner-chart-time.d.ts +0 -3
  295. package/dist/types/test-runner/test-runner-chart.d.ts +0 -3
  296. package/dist/types/test-runner/test-runner-map.d.ts +0 -3
  297. package/dist/types/test-runner/test-runner-table.d.ts +0 -3
  298. package/dist/types/test-runner/test-runner-time.d.ts +0 -3
  299. package/dist/types/test-runner/test-runner-title.d.ts +0 -3
@@ -1,10 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var constants = require('./constants-DHqQXSSd.js');
4
- var DateStringFactory = require('./DateStringFactory-Dn0aRj2Y.js');
5
- var Order = require('./Order-B4NIqQWe.js');
6
- var index = require('./index-CScBFiS1.js');
7
- var withHasError = require('./withHasError-Dspb3lIV.js');
3
+ var Order = require('./Order-BKoDS21t.js');
4
+ var DateStringFactory = require('./DateStringFactory-CcluhpGI.js');
5
+ var index = require('./index-Cjw0q6gP.js');
6
+ var withHasError = require('./withHasError-B8gHkfV2.js');
8
7
 
9
8
  /**
10
9
  * Prop validators for Stencil @Watch handlers.
@@ -34,7 +33,7 @@ function validateScenarioList(value) {
34
33
  if (value.trim().toLowerCase() === "auto") {
35
34
  return [];
36
35
  }
37
- const invalidScenarios = value === null || value === void 0 ? void 0 : value.split(",").filter((element) => !(element.toUpperCase().trim() in constants.Scenarios));
36
+ const invalidScenarios = value === null || value === void 0 ? void 0 : value.split(",").filter((element) => !(element.toUpperCase().trim() in Order.Scenarios));
38
37
  return validateVariancesList(invalidScenarios.toString());
39
38
  }
40
39
  /**
@@ -56,9 +55,9 @@ function validateVariancesList(value) {
56
55
  const scenarioMinuend = (_b = splittedElement[1]) === null || _b === void 0 ? void 0 : _b.toUpperCase().trim();
57
56
  const scenarioSentiment = (_c = splittedElement[2]) === null || _c === void 0 ? void 0 : _c.toUpperCase().trim();
58
57
  return (splittedElement.length !== 3 ||
59
- !(scenarioSubtrahend in constants.Scenarios) ||
60
- !(scenarioMinuend in constants.Scenarios) ||
61
- !(scenarioSentiment in constants.Sentiments));
58
+ !(scenarioSubtrahend in Order.Scenarios) ||
59
+ !(scenarioMinuend in Order.Scenarios) ||
60
+ !(scenarioSentiment in Order.Sentiments));
62
61
  });
63
62
  return invalidScenarios;
64
63
  }
@@ -94,7 +93,7 @@ function isValidLevel(value) {
94
93
  if ((value === null || value === void 0 ? void 0 : value.toLowerCase()) === "auto") {
95
94
  return true;
96
95
  }
97
- return (value === null || value === void 0 ? void 0 : value.toUpperCase()) in constants.AggregationLevel;
96
+ return (value === null || value === void 0 ? void 0 : value.toUpperCase()) in Order.AggregationLevel;
98
97
  }
99
98
  function validateMeasureList(value) {
100
99
  if (isBlankInput(value)) {
@@ -111,51 +110,6 @@ function validateMeasureList(value) {
111
110
  }
112
111
  return ["Invalid JSON structure"];
113
112
  }
114
- function validateMarkerType(value) {
115
- if (isBlankInput(value)) {
116
- return [];
117
- }
118
- try {
119
- const newObj = JSON.parse(value);
120
- if (newObj instanceof Array) {
121
- return newObj.filter((elem) => !elem.hasOwnProperty("latitude") && !elem.hasOwnProperty("longitude") && !elem.hasOwnProperty("iconUrl"));
122
- }
123
- }
124
- catch (e) {
125
- throw e;
126
- }
127
- return ["Invalid JSON structure"];
128
- }
129
- function validateGpxType(value) {
130
- if (isBlankInput(value)) {
131
- return [];
132
- }
133
- try {
134
- const newObj = JSON.parse(value);
135
- if (newObj instanceof Array) {
136
- return newObj.filter((elem) => !elem.hasOwnProperty("file"));
137
- }
138
- }
139
- catch (e) {
140
- throw e;
141
- }
142
- return ["Invalid JSON structure"];
143
- }
144
- function validateGeojsonType(value) {
145
- if (isBlankInput(value)) {
146
- return [];
147
- }
148
- try {
149
- const newObj = JSON.parse(value);
150
- if (newObj instanceof Array) {
151
- return newObj.filter((elem) => !elem.hasOwnProperty("file"));
152
- }
153
- }
154
- catch (e) {
155
- throw e;
156
- }
157
- return ["Invalid JSON structure"];
158
- }
159
113
  function isValidDate(value) {
160
114
  const newDate = Date.parse(value);
161
115
  return Number.isInteger(newDate);
@@ -167,13 +121,13 @@ function isValidDateFormat(value) {
167
121
  return (value === null || value === void 0 ? void 0 : value.toUpperCase()) in DateStringFactory.DateDistance;
168
122
  }
169
123
  function isValidAxisLabelsMode(value) {
170
- return (value === null || value === void 0 ? void 0 : value.toUpperCase()) in constants.AxisLabelsMode;
124
+ return (value === null || value === void 0 ? void 0 : value.toUpperCase()) in Order.AxisLabelsMode;
171
125
  }
172
126
  function isValidDataFormat(value) {
173
127
  if (isBlankInput(value)) {
174
128
  return false;
175
129
  }
176
- return (value === null || value === void 0 ? void 0 : value.toUpperCase()) in constants.DataFormat;
130
+ return (value === null || value === void 0 ? void 0 : value.toUpperCase()) in Order.DataFormat;
177
131
  }
178
132
  function isValidBoolean(value) {
179
133
  if (isBlankInput(value)) {
@@ -186,7 +140,7 @@ function isValidTableType(value) {
186
140
  if (isBlankInput(value)) {
187
141
  return false;
188
142
  }
189
- return (value === null || value === void 0 ? void 0 : value.toUpperCase()) in constants.TableType;
143
+ return (value === null || value === void 0 ? void 0 : value.toUpperCase()) in Order.TableType;
190
144
  }
191
145
  function validateThereOfJsonStr(value) {
192
146
  if (isBlankInput(value)) {
@@ -221,7 +175,7 @@ function validatePartOfJsonStr(value) {
221
175
  return ["Invalid JSON structure"];
222
176
  }
223
177
  function isValidMeasureType(value) {
224
- return (value === null || value === void 0 ? void 0 : value.trim().toUpperCase()) in constants.MeasureType;
178
+ return (value === null || value === void 0 ? void 0 : value.trim().toUpperCase()) in Order.MeasureType;
225
179
  }
226
180
  /**
227
181
  * Validates a measure-scale attribute value.
@@ -232,7 +186,10 @@ function isValidMeasureScale(value) {
232
186
  return (["_", "k", "M", "G", "T", "P", "E", "Z", "Y", "m", "μ", "n", "p", "P", "f", "a", "z", "y"].includes(value === null || value === void 0 ? void 0 : value.trim()) || ["GREATEST", "LEAST"].includes(value === null || value === void 0 ? void 0 : value.trim().toUpperCase()));
233
187
  }
234
188
  function isTableCategoryWidth(value) {
235
- return (value === null || value === void 0 ? void 0 : value.toUpperCase().trim()) in constants.TableCategoryWidth;
189
+ return (value === null || value === void 0 ? void 0 : value.toUpperCase().trim()) in Order.TableCategoryWidth;
190
+ }
191
+ function isTableBarColumnWidth(value) {
192
+ return (value === null || value === void 0 ? void 0 : value.toUpperCase().trim()) in Order.TableBarColumnWidth;
236
193
  }
237
194
  function validateColumnThereOfJsonStr(value) {
238
195
  if (isBlankInput(value)) {
@@ -539,6 +496,7 @@ const withStyled = (component) => {
539
496
  };
540
497
 
541
498
  exports.isBlankInput = isBlankInput;
499
+ exports.isTableBarColumnWidth = isTableBarColumnWidth;
542
500
  exports.isTableCategoryWidth = isTableCategoryWidth;
543
501
  exports.isValidAxisLabelsMode = isValidAxisLabelsMode;
544
502
  exports.isValidBoolean = isValidBoolean;
@@ -554,9 +512,6 @@ exports.isValidMeasureType = isValidMeasureType;
554
512
  exports.isValidNumber = isValidNumber;
555
513
  exports.isValidTableType = isValidTableType;
556
514
  exports.validateColumnThereOfJsonStr = validateColumnThereOfJsonStr;
557
- exports.validateGeojsonType = validateGeojsonType;
558
- exports.validateGpxType = validateGpxType;
559
- exports.validateMarkerType = validateMarkerType;
560
515
  exports.validateMeasureList = validateMeasureList;
561
516
  exports.validateOrderList = validateOrderList;
562
517
  exports.validatePartOfJsonStr = validatePartOfJsonStr;
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var contextProtocol = require('./context-protocol-BkYHFkXE.js');
4
- var index = require('./index-CScBFiS1.js');
5
- var withHasError = require('./withHasError-Dspb3lIV.js');
3
+ var contextProtocol = require('./context-protocol-CRPmux5D.js');
4
+ var index = require('./index-Cjw0q6gP.js');
5
+ var withHasError = require('./withHasError-B8gHkfV2.js');
6
6
 
7
7
  /**
8
8
  * Mixin that provides i18n translation support to a Stencil component.
@@ -17,8 +17,6 @@
17
17
  "components/bn-internationalization/bn-internationalization.js",
18
18
  "components/bn-layout-card/bn-layout-card.js",
19
19
  "components/bn-layout-page/bn-layout-page.js",
20
- "components/bn-map/bn-map.js",
21
- "components/bn-map/ibcs-map/ibcs-map.js",
22
20
  "components/bn-message/bn-message.js",
23
21
  "components/bn-page/bn-page.js",
24
22
  "components/bn-table/bn-table.js",
@@ -28,14 +26,7 @@
28
26
  "components/bn-title/bn-title.js",
29
27
  "components/bn-title/ibcs-title/ibcs-title.js",
30
28
  "components/bn-tree/bn-tree.js",
31
- "components/editor-companion/editor-companion.js",
32
- "test-runner/test-runner-card.js",
33
- "test-runner/test-runner-chart-time.js",
34
- "test-runner/test-runner-chart.js",
35
- "test-runner/test-runner-map.js",
36
- "test-runner/test-runner-table.js",
37
- "test-runner/test-runner-time.js",
38
- "test-runner/test-runner-title.js"
29
+ "components/editor-companion/editor-companion.js"
39
30
  ],
40
31
  "mixins": [],
41
32
  "compiler": {
@@ -439,7 +439,7 @@ export class Chart {
439
439
  }
440
440
  preparePixelPerPercentage() {
441
441
  if (this.pixelPerUnitGroupMap.has(this.percentageScaling)) {
442
- return this.pixelPerUnitGroupMap.get(this.percentageScaling); // TODO(JHE): revisit '* 100' correctness when global scaling groups are implemented
442
+ return this.pixelPerUnitGroupMap.get(this.percentageScaling);
443
443
  }
444
444
  return Number(this.percentageScaling) * 100;
445
445
  }
@@ -497,7 +497,6 @@ export class Chart {
497
497
  };
498
498
  return tableOrder;
499
499
  }
500
- // TODO(JHE): consider extracting style preparation into an adapter pattern
501
500
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
502
501
  prepareStyle() {
503
502
  const effectiveFactor = this.getEffectiveScaleFactor();
@@ -658,7 +657,7 @@ export class Chart {
658
657
  scenariosArray = [...scenariosArray, ...variancesArray];
659
658
  }
660
659
  const fontStyles = this.getFontStyles();
661
- return (h(Host, { key: '292a75492d9ba0f6ae65e25aa9da26bc094ed69d', style: fontStyles }, h("div", { key: '97e10ab499494b6fb71c628cdab049b077e62c44', class: "container" }, scenariosArray.map(this.chartTemplate))));
660
+ return (h(Host, { key: 'c8ad939fbe92ab4a01af1e5ce17e097dbb5eab56', style: fontStyles }, h("div", { key: 'd786c49dd808c2dd9093ede7100e16ac52f50689', class: "container" }, scenariosArray.map(this.chartTemplate))));
662
661
  }
663
662
  static get is() { return "bn-chart-structure"; }
664
663
  static get encapsulation() { return "shadow"; }
@@ -456,7 +456,7 @@ export class Chart {
456
456
  */
457
457
  this.measureUnit = "";
458
458
  this.pixelPerUnitGroupMap = new Map();
459
- this._autoScaleIterations = 0;
459
+ this._autoScaleGuard = false;
460
460
  withStyled(this);
461
461
  withComponentStatus(this);
462
462
  withDataset(this, (_name, data) => {
@@ -496,7 +496,7 @@ export class Chart {
496
496
  var _a, _b;
497
497
  const { mode } = parseScaling(this.scale);
498
498
  if (mode !== "auto" && mode !== "empty") {
499
- this._autoScaleIterations = 0;
499
+ this._autoScaleGuard = false;
500
500
  // Keep existing width-based overflow warning for non-auto modes
501
501
  const parent = getParentDimensions(this.element);
502
502
  const errId = "WARN_overflow";
@@ -512,51 +512,43 @@ export class Chart {
512
512
  }
513
513
  return;
514
514
  }
515
+ if (this._autoScaleGuard) {
516
+ this._autoScaleGuard = false;
517
+ return;
518
+ }
515
519
  const host = this.element;
516
520
  const { width: parentWidth } = getParentDimensions(host);
517
521
  if (parentWidth <= 0)
518
522
  return;
519
- const div = (_a = host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".container");
520
- const currentWidth = (_b = div === null || div === void 0 ? void 0 : div.scrollWidth) !== null && _b !== void 0 ? _b : host.scrollWidth;
523
+ // Measure at base (unscaled) font size to get true content width
521
524
  const baseFontSize = this.componentStyle(($) => { var _a; return ((_a = $["global"]) === null || _a === void 0 ? void 0 : _a["fontSizePx"]) || 13.3333; });
522
- // Content fits — no scaling needed (or current scale is sufficient)
523
- if (currentWidth <= parentWidth + 1) {
524
- this._autoScaleIterations = 0;
525
+ host.style.setProperty("--bn-font-size", `${baseFontSize}px`);
526
+ // Reading scrollWidth forces a synchronous reflow at base size
527
+ const div = (_a = host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".container");
528
+ const unscaledWidth = (_b = div === null || div === void 0 ? void 0 : div.scrollWidth) !== null && _b !== void 0 ? _b : host.scrollWidth;
529
+ if (unscaledWidth <= parentWidth + 1) {
525
530
  this.errors.remove("AUTO_scale");
526
- // If previously scaled but content now fits at base, reset to 1
527
531
  if (this.appliedScaleFactor !== 1) {
528
- // Try resetting — if that overflows, the next didRender will re-scale
529
- this._autoScaleIterations = 1;
532
+ this._autoScaleGuard = true;
530
533
  this.appliedScaleFactor = 1;
531
- host.style.setProperty("--bn-font-size", `${baseFontSize}px`);
532
534
  }
533
535
  return;
534
536
  }
535
- // Prevent infinite loop
536
- if (this._autoScaleIterations >= Chart.MAX_SCALE_ITERATIONS) {
537
- this._autoScaleIterations = 0;
538
- return;
539
- }
540
- // Content overflows — compute multiplicative correction
541
- const correction = (parentWidth - 1) / currentWidth;
542
- const newFactor = this.appliedScaleFactor * correction;
543
- host.style.setProperty("--bn-font-size", `${baseFontSize * newFactor}px`);
537
+ const computedFactor = (parentWidth - 1) / unscaledWidth;
538
+ host.style.setProperty("--bn-font-size", `${baseFontSize * computedFactor}px`);
544
539
  if (mode === "empty") {
545
540
  this.errors.addOrReplace({
546
541
  id: "AUTO_scale",
547
542
  type: "warning",
548
- message: `Auto-scaled chart by factor ${newFactor.toFixed(3)}`,
543
+ message: `Auto-scaled chart by factor ${computedFactor.toFixed(3)}`,
549
544
  });
550
545
  }
551
546
  else {
552
547
  this.errors.remove("AUTO_scale");
553
548
  }
554
- if (Math.abs(newFactor - this.appliedScaleFactor) > 0.001) {
555
- this._autoScaleIterations++;
556
- this.appliedScaleFactor = newFactor;
557
- }
558
- else {
559
- this._autoScaleIterations = 0;
549
+ if (Math.abs(computedFactor - this.appliedScaleFactor) > 0.001) {
550
+ this._autoScaleGuard = true;
551
+ this.appliedScaleFactor = computedFactor;
560
552
  }
561
553
  }
562
554
  prepareDimension() {
@@ -637,7 +629,7 @@ export class Chart {
637
629
  }
638
630
  preparePixelPerPercentage() {
639
631
  if (this.pixelPerUnitGroupMap.has(this.percentageScaling)) {
640
- return this.pixelPerUnitGroupMap.get(this.percentageScaling); // TODO(JHE): revisit '* 100' correctness when global scaling groups are implemented
632
+ return this.pixelPerUnitGroupMap.get(this.percentageScaling);
641
633
  }
642
634
  return Number(this.percentageScaling) * 100;
643
635
  }
@@ -915,7 +907,7 @@ export class Chart {
915
907
  scenariosArray = [...scenariosArray, ...variancesArray];
916
908
  }
917
909
  const fontStyles = this.getFontStyles();
918
- return (h(Host, { key: 'b1fbfa70b5fda0078c06f5983e2defc9c603a96b', style: fontStyles }, h("div", { key: '96666d16869645a1bbe9382a019ac78534229e55', class: "container" }, scenariosArray.map(this.chartTemplate))));
910
+ return (h(Host, { key: 'ed9bf10764443d9b4be0bf05dbbcd858d271993a', style: fontStyles }, h("div", { key: 'c2bda702b470a4ddba2da84d81908d96ce893c8e', class: "container" }, scenariosArray.map(this.chartTemplate))));
919
911
  }
920
912
  static get is() { return "bn-chart-time"; }
921
913
  static get encapsulation() { return "shadow"; }
@@ -1507,4 +1499,3 @@ export class Chart {
1507
1499
  }];
1508
1500
  }
1509
1501
  }
1510
- Chart.MAX_SCALE_ITERATIONS = 3;
@@ -35,7 +35,7 @@ export class Footer {
35
35
  return assetsState[value] || value;
36
36
  }
37
37
  render() {
38
- return (h(Host, { key: 'fc5f029a310621d2dc911d05549a8128896d22bc', id: this.text || this.image ? "container-page-message" : "container", style: this.getFontStyles() }, h("div", { key: '7e8b92d010ade7d71360145c2d9ca82c5682dfb9', id: "message-text" }, this.text != null && this.text !== "" ? h("span", { class: "note" }, this.text) : ""), h("div", { key: 'b40fdf7a7af3ba9352015c42617b39aa9d17a0dc', id: "page-image" }, this.image != null && this.image !== "" ? h("img", { class: "image", src: this.prepareAssetUrl(this.image) }) : "")));
38
+ return (h(Host, { key: 'bbe7f6098aa6f3a5495b36557b218a82ec2ccbca', id: this.text || this.image ? "container-page-message" : "container", style: this.getFontStyles() }, h("div", { key: 'd89297da5605b0ee1cc757b1771b6a48525a24e5', id: "message-text" }, this.text != null && this.text !== "" ? h("span", { class: "note" }, this.text) : ""), h("div", { key: '70bc74b0a8a5a39fdd2931cf86faada294142a26', id: "page-image" }, this.image != null && this.image !== "" ? h("img", { class: "image", src: this.prepareAssetUrl(this.image) }) : "")));
39
39
  }
40
40
  static get is() { return "bn-message"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -38,7 +38,7 @@ export class Page {
38
38
  }
39
39
  }
40
40
  render() {
41
- return (h(Host, { key: '7623fe9a67534d467f10d7ad25afb201e895110f', format: this.format, orientation: this.orientation, style: this.prepareStyle() }, h("slot", { key: '8a2e3cce4449d2ce5ce898aff45ca8b4b903ab6c' })));
41
+ return (h(Host, { key: 'b4d682a8f6e83f77c58236265eaf9d1327809c6f', format: this.format, orientation: this.orientation, style: this.prepareStyle() }, h("slot", { key: 'ef49c43c1f8926c4c968b752608627adbe330d6c' })));
42
42
  }
43
43
  prepareStyle() {
44
44
  const pageStyle = {
@@ -1,5 +1,5 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { isBlankInput, isTableCategoryWidth, isValidBoolean, isValidDataFormat, isValidDirection, isValidInteger, isValidMeasureScale, isValidMeasureType, isValidNumber, isValidTableType, validateColumnThereOfJsonStr, validateOrderList, validatePartOfJsonStr, validateScenarioList, validateThereOfJsonStr, validateVariancesList, } from "../../utils/validate";
2
+ import { isBlankInput, isTableBarColumnWidth, isTableCategoryWidth, isValidBoolean, isValidDataFormat, isValidDirection, isValidInteger, isValidMeasureScale, isValidMeasureType, isValidNumber, isValidTableType, validateColumnThereOfJsonStr, validateOrderList, validatePartOfJsonStr, validateScenarioList, validateThereOfJsonStr, validateVariancesList, } from "../../utils/validate";
3
3
  import withDataset from "../../utils/withDataset";
4
4
  import withComponentStatus from "../../utils/withComponentStatus";
5
5
  import { globalLabelKeys } from "../../stores/internationalization";
@@ -9,7 +9,7 @@ import withComponentStyle from "../../utils/withComponentStyle";
9
9
  import withHasError from "../../utils/withHasError";
10
10
  import { getParentDimensions } from "../../utils/parentDimensions";
11
11
  import { parseScaling } from "../../utils/scaling";
12
- import { DataFormat, I18nMode, MeasureType, TableCategoryWidth } from "../../utils/constants";
12
+ import { BAR_COLUMN_WIDTH_EM, DataFormat, I18nMode, MeasureType, TableBarColumnWidth, TableCategoryWidth, } from "../../utils/constants";
13
13
  import { TableType } from "./utils/model";
14
14
  import { OrderColumn, OrderDirection } from "../../utils/model/Order";
15
15
  /**
@@ -57,14 +57,16 @@ export class Table {
57
57
  */
58
58
  this.measureUnit = "";
59
59
  /**
60
- * Scaling for absolute variance bar charts (ΔPY).
61
- * <br /><br />
62
- * Name of the 'scaling-group' which the table uses.
63
- * Scaling groups are maintained globally.
64
- * <br /><br />
65
- * Alternatively a number which represents pixels per unit of measure.
60
+ * Set width of bar chart columns. Controls the max bar/pin width in pixels.
61
+ * <br /><br />
62
+ * values:<br />
63
+ * ``` w5 // w10 // w15 // w20 // w25 // w30 // w40 // w60 // w80 // w100 ```
64
+ */
65
+ this.barColumnWidth = "w30";
66
+ /**
67
+ * @deprecated Bars now scale proportionally via column statistics. Kept for backward compatibility.
66
68
  * <br /><br />
67
- * Example: 0.01 means 1000 units = 10 pixels width.
69
+ * Scaling for absolute variance bar charts (ΔPY).
68
70
  * <br /><br />
69
71
  * Default: 0.01
70
72
  */
@@ -312,6 +314,19 @@ export class Table {
312
314
  this.errors.remove(errId);
313
315
  }
314
316
  }
317
+ validateBarColumnWidth(newValue) {
318
+ const errId = "ERR_barColumnWidth";
319
+ if (!isTableBarColumnWidth(newValue)) {
320
+ this.errors.addOrReplace({
321
+ id: errId,
322
+ type: "warning",
323
+ message: "barColumnWidth: invalid value '" + newValue + "' is not supported.",
324
+ });
325
+ }
326
+ else {
327
+ this.errors.remove(errId);
328
+ }
329
+ }
315
330
  validateUnitScaling(newValue) {
316
331
  const errId = "ERR_unitScaling";
317
332
  if (!isValidNumber(newValue) && !this.pixelPerUnitGroupMap.has(newValue)) {
@@ -572,6 +587,7 @@ export class Table {
572
587
  this.validateColumnThereOf(this.columnthereof);
573
588
  this.validateShowMeasureScale(this.showMeasureScale);
574
589
  this.validateBarColumns(this.barColumns);
590
+ this.validateBarColumnWidth(this.barColumnWidth);
575
591
  this.validateUnitScaling(this.unitScaling);
576
592
  this.validatePercentageScaling(this.percentageScaling);
577
593
  this.validateScaling(this.scale);
@@ -799,6 +815,15 @@ export class Table {
799
815
  }
800
816
  return this.filter;
801
817
  }
818
+ prepareBarColumnWidth() {
819
+ var _a;
820
+ const key = (_a = this.barColumnWidth) === null || _a === void 0 ? void 0 : _a.toUpperCase();
821
+ const preset = TableBarColumnWidth[key];
822
+ if (preset) {
823
+ return BAR_COLUMN_WIDTH_EM[preset];
824
+ }
825
+ return BAR_COLUMN_WIDTH_EM[TableBarColumnWidth.W30];
826
+ }
802
827
  prepareBarColumns() {
803
828
  if (isBlankInput(this.barColumns)) {
804
829
  return [];
@@ -878,7 +903,7 @@ export class Table {
878
903
  render() {
879
904
  const fontStyles = this.getFontStyles();
880
905
  const effectiveFactor = this.getEffectiveScaleFactor();
881
- return (h(Host, { key: 'ff1e93fe32fef547dfcd092016cbde05a82e54ce', style: fontStyles }, h("div", { key: '54a4539d8f67b50ed96036e66492a5a280cef987' }, h("ibcs-table", { key: '54a47b6ffd1ca979583b79339bfe19cbbaa00ce8', data: this.data, "table-title": this.prepareTableTitle(), scenarios: this.prepareScenarios(), "scenarios-data-format": this.prepareDataFormat(), grouped: this.prepareGrouped(), limit: this.prepareLimit(), showGroupTitle: this.prepareShowGroupTitle(), thereof: this.prepareThereOf(), partof: this.preparePartOf(), order: this.prepareOrder(), categorythereof: this.prepareColumnThereOf(), type: this.prepareTableType(), "category-width": this.prepareCategoryWidth(), dataFormatDigits: this.prepareDataFormatDigits(), i18n: this.prepareI18n(), "i18n-mode": this.prepareI18nMode(), "measure-scale": this.prepareMeasureScale(), "measure-type": this.prepareMeasureType(), "measure-unit": this.prepareMeasureUnit(), showMeasureScale: this.prepareShowMeasureScale(), filter: this.prepareFilter(), barColumns: this.prepareBarColumns(), unitScaling: this.prepareUnitScaling(), percentageScaling: this.preparePercentageScaling(), scaleFactor: effectiveFactor }))));
906
+ return (h(Host, { key: 'b379c18d4d92805e91404917ffb096e582b9bec2', style: fontStyles }, h("div", { key: 'a45679a84d85b856f0e01615952c0ccfe05108f9' }, h("ibcs-table", { key: '0b375fca9ab9422bc61a4d0ba75eaf30eedfa77d', data: this.data, "table-title": this.prepareTableTitle(), scenarios: this.prepareScenarios(), "scenarios-data-format": this.prepareDataFormat(), grouped: this.prepareGrouped(), limit: this.prepareLimit(), showGroupTitle: this.prepareShowGroupTitle(), thereof: this.prepareThereOf(), partof: this.preparePartOf(), order: this.prepareOrder(), categorythereof: this.prepareColumnThereOf(), type: this.prepareTableType(), "category-width": this.prepareCategoryWidth(), dataFormatDigits: this.prepareDataFormatDigits(), i18n: this.prepareI18n(), "i18n-mode": this.prepareI18nMode(), "measure-scale": this.prepareMeasureScale(), "measure-type": this.prepareMeasureType(), "measure-unit": this.prepareMeasureUnit(), showMeasureScale: this.prepareShowMeasureScale(), filter: this.prepareFilter(), barColumns: this.prepareBarColumns(), barColumnMaxWidth: this.prepareBarColumnWidth(), unitScaling: this.prepareUnitScaling(), percentageScaling: this.preparePercentageScaling(), scaleFactor: effectiveFactor }))));
882
907
  }
883
908
  static get is() { return "bn-table"; }
884
909
  static get encapsulation() { return "shadow"; }
@@ -1033,6 +1058,26 @@ export class Table {
1033
1058
  "reflect": false,
1034
1059
  "attribute": "bar-columns"
1035
1060
  },
1061
+ "barColumnWidth": {
1062
+ "type": "string",
1063
+ "mutable": false,
1064
+ "complexType": {
1065
+ "original": "string",
1066
+ "resolved": "string",
1067
+ "references": {}
1068
+ },
1069
+ "required": false,
1070
+ "optional": false,
1071
+ "docs": {
1072
+ "tags": [],
1073
+ "text": "Set width of bar chart columns. Controls the max bar/pin width in pixels.\n<br /><br />\nvalues:<br />\n``` w5 // w10 // w15 // w20 // w25 // w30 // w40 // w60 // w80 // w100 ```"
1074
+ },
1075
+ "getter": false,
1076
+ "setter": false,
1077
+ "reflect": false,
1078
+ "attribute": "bar-column-width",
1079
+ "defaultValue": "\"w30\""
1080
+ },
1036
1081
  "unitScaling": {
1037
1082
  "type": "any",
1038
1083
  "mutable": false,
@@ -1044,8 +1089,11 @@ export class Table {
1044
1089
  "required": false,
1045
1090
  "optional": false,
1046
1091
  "docs": {
1047
- "tags": [],
1048
- "text": "Scaling for absolute variance bar charts (\u0394PY).\n<br /><br />\nName of the 'scaling-group' which the table uses.\nScaling groups are maintained globally.\n<br /><br />\nAlternatively a number which represents pixels per unit of measure.\n<br /><br />\nExample: 0.01 means 1000 units = 10 pixels width.\n<br /><br />\nDefault: 0.01"
1092
+ "tags": [{
1093
+ "name": "deprecated",
1094
+ "text": "Bars now scale proportionally via column statistics. Kept for backward compatibility.\n<br /><br />\nScaling for absolute variance bar charts (\u0394PY).\n<br /><br />\nDefault: 0.01"
1095
+ }],
1096
+ "text": ""
1049
1097
  },
1050
1098
  "getter": false,
1051
1099
  "setter": false,
@@ -1416,6 +1464,9 @@ export class Table {
1416
1464
  }, {
1417
1465
  "propName": "barColumns",
1418
1466
  "methodName": "validateBarColumns"
1467
+ }, {
1468
+ "propName": "barColumnWidth",
1469
+ "methodName": "validateBarColumnWidth"
1419
1470
  }, {
1420
1471
  "propName": "unitScaling",
1421
1472
  "methodName": "validateUnitScaling"
@@ -47,35 +47,38 @@ td.neg_neutral {
47
47
  text-align: right;
48
48
  }
49
49
 
50
- .category-inf {
51
- max-width: 1000em;
52
- }
53
-
54
50
  .category-w100 {
51
+ min-width: 100em;
55
52
  max-width: 100em;
56
53
  }
57
54
 
58
55
  .category-w50 {
56
+ min-width: 50em;
59
57
  max-width: 50em;
60
58
  }
61
59
 
62
60
  .category-w25 {
61
+ min-width: 25em;
63
62
  max-width: 25em;
64
63
  }
65
64
 
66
65
  .category-w20 {
66
+ min-width: 20em;
67
67
  max-width: 20em;
68
68
  }
69
69
 
70
70
  .category-w15 {
71
+ min-width: 15em;
71
72
  max-width: 15em;
72
73
  }
73
74
 
74
75
  .category-w10 {
76
+ min-width: 10em;
75
77
  max-width: 10em;
76
78
  }
77
79
 
78
80
  .category-w5 {
81
+ min-width: 5em;
79
82
  max-width: 5em;
80
83
  }
81
84
 
@@ -287,7 +290,6 @@ td {
287
290
  -webkit-box-sizing: border-box;
288
291
  border-top: 0.1em dashed #ddd;
289
292
  padding-left: 0.5em;
290
- max-width: 15em;
291
293
  white-space: nowrap;
292
294
  overflow: hidden;
293
295
  text-overflow: ellipsis;
@@ -48,6 +48,7 @@ export class IbcsTable {
48
48
  this.measureType = MeasureType.VOLUME;
49
49
  this.filter = "";
50
50
  this.barColumns = [];
51
+ this.barColumnMaxWidth = 30;
51
52
  this.unitScaling = 0.01;
52
53
  this.percentageScaling = 0.5;
53
54
  this.scaleFactor = 1;
@@ -63,7 +64,7 @@ export class IbcsTable {
63
64
  const errorMsg = this.i18n.get("NO_DATA") || "==No Data==";
64
65
  return h("p", { class: "warning" }, errorMsg);
65
66
  }
66
- return (h("table", null, h("thead", null, this.table.getHeader().map((row) => (h("tr", { class: row.cssStyle }, row.getCells().map((cell) => (h("th", { colSpan: cell.colSpan, class: cell.cssStyle }, cell.getAsHeaderList().map((line, i, arr) => (h("span", null, i === arr.length - 1 ? (h("span", { class: line === " " ? "table-footer" : "" }, line, cell.drawPrefix(), " ")) : (h("span", null, line, cell.drawPrefix(), h("br", null))))))))))))), h("tbody", null, this.table.getBody().map((row) => (h("tr", { class: row.cssStyle }, row === null || row === void 0 ? void 0 : row.getCells().map((cell) => (h("td", { colSpan: cell.colSpan, class: cell.cssStyle + " " + cell.type }, cell.prefix != null ? (h("span", { class: cell.cssStyle + " " + cell.prefixStyle }, cell.drawPrefix())) : (""), cell.isBarChart && cell.columnStats ? (h(CellBarChart, { value: cell.value, scenario: cell.key, columnStats: cell.columnStats, height: 18 * this.scaleFactor, isRelative: cell.key.startsWith("dr"), isPositiveGood: cell.key.endsWith("_pos"), measureScale: cell.measureScale, styles: this.barChartStyles })) : (cell.draw(this.componentDataFormatDigits)))))))))));
67
+ return (h("table", null, h("thead", null, this.table.getHeader().map((row) => (h("tr", { class: row.cssStyle }, row.getCells().map((cell) => (h("th", { colSpan: cell.colSpan, class: cell.cssStyle }, cell.getAsHeaderList().map((line, i, arr) => (h("span", null, i === arr.length - 1 ? (h("span", { class: line === " " ? "table-footer" : "" }, line, cell.drawPrefix(), " ")) : (h("span", null, line, cell.drawPrefix(), h("br", null))))))))))))), h("tbody", null, this.table.getBody().map((row) => (h("tr", { class: row.cssStyle }, row === null || row === void 0 ? void 0 : row.getCells().map((cell) => (h("td", { colSpan: cell.colSpan, class: cell.type ? `${cell.cssStyle} ${cell.type}` : cell.cssStyle }, cell.prefix != null ? (h("span", { class: cell.cssStyle + " " + cell.prefixStyle }, cell.drawPrefix())) : (""), cell.isBarChart && cell.columnStats ? (h(CellBarChart, { value: cell.value, scenario: cell.key, columnStats: cell.columnStats, height: 18 * this.scaleFactor, isRelative: cell.key.startsWith("dr"), isPositiveGood: cell.key.endsWith("_pos"), measureScale: cell.measureScale, maxBarWidth: this.barColumnMaxWidth, styles: this.barChartStyles })) : (cell.draw(this.componentDataFormatDigits)))))))))));
67
68
  };
68
69
  return h(Host, null, helper());
69
70
  }
@@ -691,6 +692,26 @@ export class IbcsTable {
691
692
  "setter": false,
692
693
  "defaultValue": "[]"
693
694
  },
695
+ "barColumnMaxWidth": {
696
+ "type": "number",
697
+ "mutable": false,
698
+ "complexType": {
699
+ "original": "number",
700
+ "resolved": "number",
701
+ "references": {}
702
+ },
703
+ "required": false,
704
+ "optional": false,
705
+ "docs": {
706
+ "tags": [],
707
+ "text": ""
708
+ },
709
+ "getter": false,
710
+ "setter": false,
711
+ "reflect": false,
712
+ "attribute": "bar-column-max-width",
713
+ "defaultValue": "30"
714
+ },
694
715
  "unitScaling": {
695
716
  "type": "number",
696
717
  "mutable": false,