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

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 (673) hide show
  1. package/LICENSE +21 -0
  2. package/dist/bn-template-engine/assets/bar.png +0 -0
  3. package/dist/bn-template-engine/assets/gpx/Chasing_Legends.gpx +195076 -0
  4. package/dist/bn-template-engine/assets/gpx/Fahrt_am_Nachmittag.gpx +142007 -0
  5. package/dist/bn-template-engine/assets/icons/gpx-finish.png +0 -0
  6. package/dist/bn-template-engine/assets/icons/gpx-shadow.png +0 -0
  7. package/dist/bn-template-engine/assets/icons/gpx-start.png +0 -0
  8. package/dist/bn-template-engine/assets/icons/marker-example.png +0 -0
  9. package/dist/bn-template-engine/assets/icons/pin-icon-end.png +0 -0
  10. package/dist/bn-template-engine/assets/icons/pin-icon-start.png +0 -0
  11. package/dist/bn-template-engine/assets/icons/pin-icon-wpt.png +0 -0
  12. package/dist/bn-template-engine/assets/icons/pin-shadow.png +0 -0
  13. package/dist/bn-template-engine/assets/icons/pin.png +0 -0
  14. package/dist/bn-template-engine/assets/matrix.png +0 -0
  15. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -0
  16. package/dist/bn-template-engine/index.esm.js +0 -0
  17. package/dist/bn-template-engine/p--TeDldm8.js +1 -0
  18. package/dist/bn-template-engine/p-0e7dc113.entry.js +1 -0
  19. package/dist/bn-template-engine/p-1jFf17Vj.js +1 -0
  20. package/dist/bn-template-engine/p-264c6bad.entry.js +1 -0
  21. package/dist/bn-template-engine/p-326a0902.entry.js +1 -0
  22. package/dist/bn-template-engine/p-38a8bde3.entry.js +1 -0
  23. package/dist/bn-template-engine/p-577eafcd.entry.js +1 -0
  24. package/dist/bn-template-engine/p-5905cc43.entry.js +1 -0
  25. package/dist/bn-template-engine/p-5d155a72.entry.js +1 -0
  26. package/dist/bn-template-engine/p-65f8962a.entry.js +1 -0
  27. package/dist/bn-template-engine/p-6b8d1ebf.entry.js +1 -0
  28. package/dist/bn-template-engine/p-7995acb2.entry.js +1 -0
  29. package/dist/bn-template-engine/p-7afe431e.entry.js +1 -0
  30. package/dist/bn-template-engine/p-8014b1ac.entry.js +1 -0
  31. package/dist/bn-template-engine/p-80423fc8.entry.js +1 -0
  32. package/dist/bn-template-engine/p-91e74d42.entry.js +1 -0
  33. package/dist/bn-template-engine/p-930a9e29.entry.js +1 -0
  34. package/dist/bn-template-engine/p-93C9jL8R.js +1 -0
  35. package/dist/bn-template-engine/p-93ff8584.entry.js +1 -0
  36. package/dist/bn-template-engine/p-B0m0U4wJ.js +1 -0
  37. package/dist/bn-template-engine/p-B27Ax6P_.js +2 -0
  38. package/dist/bn-template-engine/p-B79VcHiT.js +1 -0
  39. package/dist/bn-template-engine/p-BBd0ZVLL.js +1 -0
  40. package/dist/bn-template-engine/p-BFTU3MAI.js +1 -0
  41. package/dist/bn-template-engine/p-BFatTBqh.js +1 -0
  42. package/dist/bn-template-engine/p-BQp6ZPYW.js +1 -0
  43. package/dist/bn-template-engine/p-BYmPQYxx.js +1 -0
  44. package/dist/bn-template-engine/p-BhEQy-2D.js +1 -0
  45. package/dist/bn-template-engine/p-BtVfu16B.js +1 -0
  46. package/dist/bn-template-engine/p-CY1RzLjU.js +1 -0
  47. package/dist/bn-template-engine/p-CfWnag33.js +1 -0
  48. package/dist/bn-template-engine/p-CnI71OA9.js +1 -0
  49. package/dist/bn-template-engine/p-Cp4MVxCu.js +1 -0
  50. package/dist/bn-template-engine/p-DQuL1Twl.js +1 -0
  51. package/dist/bn-template-engine/p-DbyXf6dF.js +1 -0
  52. package/dist/bn-template-engine/p-TdL-LRR9.js +1 -0
  53. package/dist/bn-template-engine/p-_LBTIfNN.js +1 -0
  54. package/dist/bn-template-engine/p-a342cd3c.entry.js +1 -0
  55. package/dist/bn-template-engine/p-ad94cf63.entry.js +1 -0
  56. package/dist/bn-template-engine/p-bc37d750.entry.js +1 -0
  57. package/dist/bn-template-engine/p-c9f050bf.entry.js +1 -0
  58. package/dist/bn-template-engine/p-d07a0ca3.entry.js +1 -0
  59. package/dist/bn-template-engine/p-e5f372af.entry.js +1 -0
  60. package/dist/bn-template-engine/p-e620028c.entry.js +1 -0
  61. package/dist/bn-template-engine/p-e81e116a.entry.js +1 -0
  62. package/dist/bn-template-engine/p-eca98070.entry.js +1 -0
  63. package/dist/bn-template-engine/p-ee6de950.entry.js +1 -0
  64. package/dist/bn-template-engine/p-efe0ef1e.entry.js +1 -0
  65. package/dist/bn-template-engine/p-f034f1b8.entry.js +1 -0
  66. package/dist/bn-template-engine/p-f1c1a8a3.entry.js +1 -0
  67. package/dist/bn-template-engine/p-fe573a1a.entry.js +1 -0
  68. package/dist/bn-template-engine/p-kMyLevYy.js +1 -0
  69. package/dist/cjs/DataFormatDigits-DmTbhF8q.js +142 -0
  70. package/dist/cjs/DateStringFactory-Dn0aRj2Y.js +453 -0
  71. package/dist/cjs/Order-B4NIqQWe.js +129 -0
  72. package/dist/cjs/SVGVariancesStyleGroup-Czizhngt.js +7973 -0
  73. package/dist/cjs/StringAdapter-0EbYMkR0.js +136 -0
  74. package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +10 -0
  75. package/dist/cjs/alasql.min-C_nHTuEQ.js +306 -0
  76. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  77. package/dist/cjs/bn-asset.cjs.entry.js +42 -0
  78. package/dist/cjs/bn-body_3.cjs.entry.js +413 -0
  79. package/dist/cjs/bn-card.cjs.entry.js +37 -0
  80. package/dist/cjs/bn-chart-structure.cjs.entry.js +705 -0
  81. package/dist/cjs/bn-chart-time.cjs.entry.js +987 -0
  82. package/dist/cjs/bn-component-style.cjs.entry.js +44 -0
  83. package/dist/cjs/bn-context_5.cjs.entry.js +3380 -0
  84. package/dist/cjs/bn-dataset.cjs.entry.js +278 -0
  85. package/dist/cjs/bn-grid.cjs.entry.js +407 -0
  86. package/dist/cjs/bn-image.cjs.entry.js +57 -0
  87. package/dist/cjs/bn-internationalization.cjs.entry.js +40 -0
  88. package/dist/cjs/bn-layout-card.cjs.entry.js +128 -0
  89. package/dist/cjs/bn-layout-page.cjs.entry.js +142 -0
  90. package/dist/cjs/bn-map.cjs.entry.js +425 -0
  91. package/dist/cjs/bn-message.cjs.entry.js +52 -0
  92. package/dist/cjs/bn-template-engine.cjs.js +52 -0
  93. package/dist/cjs/bn-template.cjs.entry.js +20 -0
  94. package/dist/cjs/bn-text.cjs.entry.js +286 -0
  95. package/dist/cjs/bn-tree.cjs.entry.js +969 -0
  96. package/dist/cjs/componentRegister-C17UFNPh.js +72 -0
  97. package/dist/cjs/constants-DHqQXSSd.js +158 -0
  98. package/dist/cjs/context-protocol-BkYHFkXE.js +661 -0
  99. package/dist/cjs/editor-companion.cjs.entry.js +49 -0
  100. package/dist/cjs/formatter-DIJL_crx.js +215 -0
  101. package/dist/cjs/ibcs-chart-structure.cjs.entry.js +2906 -0
  102. package/dist/cjs/ibcs-chart-time.cjs.entry.js +4140 -0
  103. package/dist/cjs/ibcs-map.cjs.entry.js +1075 -0
  104. package/dist/cjs/ibcs-title.cjs.entry.js +352 -0
  105. package/dist/cjs/index-CScBFiS1.js +4653 -0
  106. package/dist/cjs/index.cjs.js +2 -0
  107. package/dist/cjs/loader.cjs.js +13 -0
  108. package/dist/cjs/luxon-8hyy5YD7.js +8132 -0
  109. package/dist/cjs/scaling-B23eOtsC.js +67 -0
  110. package/dist/cjs/test-runner-card.cjs.entry.js +27 -0
  111. package/dist/cjs/test-runner-chart-time.cjs.entry.js +230 -0
  112. package/dist/cjs/test-runner-chart.cjs.entry.js +326 -0
  113. package/dist/cjs/test-runner-map.cjs.entry.js +1862 -0
  114. package/dist/cjs/test-runner-table.cjs.entry.js +477 -0
  115. package/dist/cjs/test-runner-time.cjs.entry.js +381 -0
  116. package/dist/cjs/test-runner-title.cjs.entry.js +115 -0
  117. package/dist/cjs/withBodyObserver-B0_W1VOf.js +39 -0
  118. package/dist/cjs/withComponentStatus-BrxL7usr.js +39 -0
  119. package/dist/cjs/withComponentStyle-C6KHnZHt.js +128 -0
  120. package/dist/cjs/withDataset-ZdN-RRTx.js +146 -0
  121. package/dist/cjs/withHasError-Dspb3lIV.js +154 -0
  122. package/dist/cjs/withStyled-Bf-stJTR.js +567 -0
  123. package/dist/cjs/withTranslation-Cz0M5maV.js +77 -0
  124. package/dist/collection/collection-manifest.json +48 -0
  125. package/dist/collection/components/bn-asset/bn-asset.css +3 -0
  126. package/dist/collection/components/bn-asset/bn-asset.js +67 -0
  127. package/dist/collection/components/bn-body/bn-body.css +9 -0
  128. package/dist/collection/components/bn-body/bn-body.js +38 -0
  129. package/dist/collection/components/bn-card/bn-card.css +21 -0
  130. package/dist/collection/components/bn-card/bn-card.js +38 -0
  131. package/dist/collection/components/bn-chart-structure/bn-chart-structure.css +105 -0
  132. package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +1047 -0
  133. package/dist/collection/components/bn-chart-structure/ibcs-chart-structure.js +594 -0
  134. package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +979 -0
  135. package/dist/collection/components/bn-chart-structure/utils/elements/Axis.js +39 -0
  136. package/dist/collection/components/bn-chart-structure/utils/elements/Bar.js +293 -0
  137. package/dist/collection/components/bn-chart-structure/utils/elements/Label.js +136 -0
  138. package/dist/collection/components/bn-chart-structure/utils/elements/Marker.js +118 -0
  139. package/dist/collection/components/bn-chart-structure/utils/elements/Needle.js +151 -0
  140. package/dist/collection/components/bn-chart-structure/utils/elements/StackedBar.js +83 -0
  141. package/dist/collection/components/bn-chart-structure/utils/elements/index.js +6 -0
  142. package/dist/collection/components/bn-chart-structure/utils/factories/ScenarioFactory.js +119 -0
  143. package/dist/collection/components/bn-chart-structure/utils/factories/index.js +1 -0
  144. package/dist/collection/components/bn-chart-structure/utils/helper/CustomPattern.js +45 -0
  145. package/dist/collection/components/bn-chart-structure/utils/helper/ElementPositions.js +210 -0
  146. package/dist/collection/components/bn-chart-structure/utils/helper/MarkerPattern.js +46 -0
  147. package/dist/collection/components/bn-chart-structure/utils/helper/Padding.js +13 -0
  148. package/dist/collection/components/bn-chart-structure/utils/helper/index.js +15 -0
  149. package/dist/collection/components/bn-chart-structure/utils/model/DataPoint.js +101 -0
  150. package/dist/collection/components/bn-chart-structure/utils/model/OverflowConfig.js +1 -0
  151. package/dist/collection/components/bn-chart-structure/utils/model/StructureChartComponentConfig.js +106 -0
  152. package/dist/collection/components/bn-chart-structure/utils/model/StructureChartDataRow.js +127 -0
  153. package/dist/collection/components/bn-chart-structure/utils/model/index.js +45 -0
  154. package/dist/collection/components/bn-chart-structure/utils/model/styles/ScaleFactorsStructureChart.js +99 -0
  155. package/dist/collection/components/bn-chart-structure/utils/model/styles/StructureChartStyle.js +58 -0
  156. package/dist/collection/components/bn-chart-time/bn-chart-time.css +17 -0
  157. package/dist/collection/components/bn-chart-time/bn-chart-time.js +1510 -0
  158. package/dist/collection/components/bn-chart-time/ibcs-chart-time.css +96 -0
  159. package/dist/collection/components/bn-chart-time/ibcs-chart-time.js +829 -0
  160. package/dist/collection/components/bn-chart-time/utils/TimeChart.js +1388 -0
  161. package/dist/collection/components/bn-chart-time/utils/elements/AreaFill.js +83 -0
  162. package/dist/collection/components/bn-chart-time/utils/elements/Axis.js +42 -0
  163. package/dist/collection/components/bn-chart-time/utils/elements/Column.js +266 -0
  164. package/dist/collection/components/bn-chart-time/utils/elements/Label.js +174 -0
  165. package/dist/collection/components/bn-chart-time/utils/elements/Line.js +150 -0
  166. package/dist/collection/components/bn-chart-time/utils/elements/LineSeries.js +267 -0
  167. package/dist/collection/components/bn-chart-time/utils/elements/Marker.js +121 -0
  168. package/dist/collection/components/bn-chart-time/utils/elements/Needle.js +148 -0
  169. package/dist/collection/components/bn-chart-time/utils/elements/StackedColumn.js +107 -0
  170. package/dist/collection/components/bn-chart-time/utils/elements/index.js +8 -0
  171. package/dist/collection/components/bn-chart-time/utils/factories/ScenarioFactory.js +146 -0
  172. package/dist/collection/components/bn-chart-time/utils/factories/index.js +1 -0
  173. package/dist/collection/components/bn-chart-time/utils/helper/CustomPattern.js +46 -0
  174. package/dist/collection/components/bn-chart-time/utils/helper/ElementPositions.js +178 -0
  175. package/dist/collection/components/bn-chart-time/utils/helper/LabelCollisionManager.js +199 -0
  176. package/dist/collection/components/bn-chart-time/utils/helper/MarkerPattern.js +84 -0
  177. package/dist/collection/components/bn-chart-time/utils/helper/Padding.js +13 -0
  178. package/dist/collection/components/bn-chart-time/utils/helper/index.js +5 -0
  179. package/dist/collection/components/bn-chart-time/utils/model/DataPoint.js +93 -0
  180. package/dist/collection/components/bn-chart-time/utils/model/OverflowConfig.js +1 -0
  181. package/dist/collection/components/bn-chart-time/utils/model/TimeChartComponentConfig.js +150 -0
  182. package/dist/collection/components/bn-chart-time/utils/model/TimeChartDataRow.js +146 -0
  183. package/dist/collection/components/bn-chart-time/utils/model/index.js +45 -0
  184. package/dist/collection/components/bn-chart-time/utils/model/styles/ScaleFactorsTimeChart.js +99 -0
  185. package/dist/collection/components/bn-chart-time/utils/model/styles/TimeChartStyle.js +54 -0
  186. package/dist/collection/components/bn-component-style/bn-component-style.css +3 -0
  187. package/dist/collection/components/bn-component-style/bn-component-style.js +69 -0
  188. package/dist/collection/components/bn-context/bn-context.css +3 -0
  189. package/dist/collection/components/bn-context/bn-context.js +96 -0
  190. package/dist/collection/components/bn-dataset/bn-dataset.css +3 -0
  191. package/dist/collection/components/bn-dataset/bn-dataset.js +159 -0
  192. package/dist/collection/components/bn-datasource/bn-datasource.css +3 -0
  193. package/dist/collection/components/bn-datasource/bn-datasource.js +70 -0
  194. package/dist/collection/components/bn-footer/assets/bar.png +0 -0
  195. package/dist/collection/components/bn-footer/assets/matrix.png +0 -0
  196. package/dist/collection/components/bn-footer/bn-footer.css +40 -0
  197. package/dist/collection/components/bn-footer/bn-footer.js +146 -0
  198. package/dist/collection/components/bn-grid/bn-grid.css +37 -0
  199. package/dist/collection/components/bn-grid/bn-grid.js +467 -0
  200. package/dist/collection/components/bn-grid/utils/GridConfig.js +114 -0
  201. package/dist/collection/components/bn-image/bn-image.css +10 -0
  202. package/dist/collection/components/bn-image/bn-image.js +78 -0
  203. package/dist/collection/components/bn-internationalization/bn-internationalization.css +3 -0
  204. package/dist/collection/components/bn-internationalization/bn-internationalization.js +84 -0
  205. package/dist/collection/components/bn-layout-card/bn-layout-card.css +25 -0
  206. package/dist/collection/components/bn-layout-card/bn-layout-card.js +534 -0
  207. package/dist/collection/components/bn-layout-page/bn-layout-page.css +10 -0
  208. package/dist/collection/components/bn-layout-page/bn-layout-page.js +624 -0
  209. package/dist/collection/components/bn-map/bn-map.css +4 -0
  210. package/dist/collection/components/bn-map/bn-map.js +725 -0
  211. package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Chasing_Legends.gpx +195076 -0
  212. package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Fahrt_am_Nachmittag.gpx +142007 -0
  213. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-finish.png +0 -0
  214. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-shadow.png +0 -0
  215. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-start.png +0 -0
  216. package/dist/collection/components/bn-map/ibcs-map/assets/icons/marker-example.png +0 -0
  217. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-end.png +0 -0
  218. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-start.png +0 -0
  219. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-wpt.png +0 -0
  220. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-shadow.png +0 -0
  221. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin.png +0 -0
  222. package/dist/collection/components/bn-map/ibcs-map/ibcs-map.css +674 -0
  223. package/dist/collection/components/bn-map/ibcs-map/ibcs-map.js +744 -0
  224. package/dist/collection/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.js +9 -0
  225. package/dist/collection/components/bn-map/ibcs-map/utils/model/GpxLayer.js +13 -0
  226. package/dist/collection/components/bn-map/ibcs-map/utils/model/Marker.js +11 -0
  227. package/dist/collection/components/bn-map/ibcs-map/utils/model/index.js +2 -0
  228. package/dist/collection/components/bn-message/assets/bar.png +0 -0
  229. package/dist/collection/components/bn-message/assets/matrix.png +0 -0
  230. package/dist/collection/components/bn-message/bn-message.css +31 -0
  231. package/dist/collection/components/bn-message/bn-message.js +96 -0
  232. package/dist/collection/components/bn-page/bn-page.css +252 -0
  233. package/dist/collection/components/bn-page/bn-page.js +118 -0
  234. package/dist/collection/components/bn-table/bn-table.css +5 -0
  235. package/dist/collection/components/bn-table/bn-table.js +1475 -0
  236. package/dist/collection/components/bn-table/ibcs-table.css +322 -0
  237. package/dist/collection/components/bn-table/ibcs-table.js +757 -0
  238. package/dist/collection/components/bn-table/utils/Table.js +182 -0
  239. package/dist/collection/components/bn-table/utils/elements/Cell.js +66 -0
  240. package/dist/collection/components/bn-table/utils/elements/CellBarChart.js +251 -0
  241. package/dist/collection/components/bn-table/utils/elements/TableRow.js +88 -0
  242. package/dist/collection/components/bn-table/utils/elements/index.js +3 -0
  243. package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +380 -0
  244. package/dist/collection/components/bn-table/utils/helper/ColumnStatistics.js +62 -0
  245. package/dist/collection/components/bn-table/utils/helper/DataQuery.js +750 -0
  246. package/dist/collection/components/bn-table/utils/helper/QueryGroup.js +38 -0
  247. package/dist/collection/components/bn-table/utils/helper/index.js +1 -0
  248. package/dist/collection/components/bn-table/utils/model/TableComponentConfig.js +136 -0
  249. package/dist/collection/components/bn-table/utils/model/TableDataRow.js +134 -0
  250. package/dist/collection/components/bn-table/utils/model/TableDrillGroup.js +42 -0
  251. package/dist/collection/components/bn-table/utils/model/index.js +63 -0
  252. package/dist/collection/components/bn-template/bn-template.js +38 -0
  253. package/dist/collection/components/bn-text/bn-text.css +14 -0
  254. package/dist/collection/components/bn-text/bn-text.js +343 -0
  255. package/dist/collection/components/bn-title/bn-title.css +11 -0
  256. package/dist/collection/components/bn-title/bn-title.js +541 -0
  257. package/dist/collection/components/bn-title/ibcs-title/ibcs-title.css +15 -0
  258. package/dist/collection/components/bn-title/ibcs-title/ibcs-title.js +321 -0
  259. package/dist/collection/components/bn-title/ibcs-title/utils/Title.js +91 -0
  260. package/dist/collection/components/bn-title/ibcs-title/utils/factories/TitleDataSetFactory.js +86 -0
  261. package/dist/collection/components/bn-title/ibcs-title/utils/factories/index.js +1 -0
  262. package/dist/collection/components/bn-title/ibcs-title/utils/model/MeasureEntriy.js +25 -0
  263. package/dist/collection/components/bn-title/ibcs-title/utils/model/TimePeriod.js +33 -0
  264. package/dist/collection/components/bn-title/ibcs-title/utils/model/TitleConfig.js +48 -0
  265. package/dist/collection/components/bn-title/ibcs-title/utils/model/index.js +6 -0
  266. package/dist/collection/components/bn-tree/bn-tree.css +40 -0
  267. package/dist/collection/components/bn-tree/bn-tree.js +520 -0
  268. package/dist/collection/components/bn-tree/utils/EdgeRenderer.js +196 -0
  269. package/dist/collection/components/bn-tree/utils/TreeLayout.js +225 -0
  270. package/dist/collection/components/bn-tree/utils/TreeParser.js +180 -0
  271. package/dist/collection/components/editor-companion/editor-companion.css +3 -0
  272. package/dist/collection/components/editor-companion/editor-companion.js +130 -0
  273. package/dist/collection/context/context-protocol.js +84 -0
  274. package/dist/collection/declarations.js +1 -0
  275. package/dist/collection/index.js +2 -0
  276. package/dist/collection/stores/assets.js +12 -0
  277. package/dist/collection/stores/componentStyles.js +106 -0
  278. package/dist/collection/stores/context.js +1 -0
  279. package/dist/collection/stores/createScopedStores.js +31 -0
  280. package/dist/collection/stores/datasets.js +14 -0
  281. package/dist/collection/stores/datasetsMeta.js +14 -0
  282. package/dist/collection/stores/datasources.js +14 -0
  283. package/dist/collection/stores/internationalization.js +128 -0
  284. package/dist/collection/test-runner/test-runner-card.js +36 -0
  285. package/dist/collection/test-runner/test-runner-chart-time.js +234 -0
  286. package/dist/collection/test-runner/test-runner-chart.js +364 -0
  287. package/dist/collection/test-runner/test-runner-map.js +1901 -0
  288. package/dist/collection/test-runner/test-runner-table.js +469 -0
  289. package/dist/collection/test-runner/test-runner-time.js +399 -0
  290. package/dist/collection/test-runner/test-runner-title.js +108 -0
  291. package/dist/collection/utils/DataUriUtil.js +19 -0
  292. package/dist/collection/utils/DateStringFactory.js +448 -0
  293. package/dist/collection/utils/componentRegister.js +70 -0
  294. package/dist/collection/utils/constants.js +156 -0
  295. package/dist/collection/utils/dataAnalyzer.js +103 -0
  296. package/dist/collection/utils/datasetMetaCalculator.js +137 -0
  297. package/dist/collection/utils/flattenObject.js +28 -0
  298. package/dist/collection/utils/formatter.js +86 -0
  299. package/dist/collection/utils/helper/AdapterUtils.js +24 -0
  300. package/dist/collection/utils/helper/CompareUtil.js +42 -0
  301. package/dist/collection/utils/helper/IAdapter.js +1 -0
  302. package/dist/collection/utils/helper/StringAdapter.js +9 -0
  303. package/dist/collection/utils/ibcsRuleSet.js +120 -0
  304. package/dist/collection/utils/index.js +2 -0
  305. package/dist/collection/utils/model/ChartStyles.js +1 -0
  306. package/dist/collection/utils/model/DataFormatDigits.js +23 -0
  307. package/dist/collection/utils/model/DataQueryResultRow.js +1 -0
  308. package/dist/collection/utils/model/DatasetMeta.js +1 -0
  309. package/dist/collection/utils/model/DateFormat.js +1 -0
  310. package/dist/collection/utils/model/Order.js +56 -0
  311. package/dist/collection/utils/model/SiPrefix.js +23 -0
  312. package/dist/collection/utils/model/TextStyles.js +1 -0
  313. package/dist/collection/utils/model/VarianceScenario.js +33 -0
  314. package/dist/collection/utils/model/index.js +38 -0
  315. package/dist/collection/utils/model/styles/FontStyle.js +34 -0
  316. package/dist/collection/utils/model/styles/Padding.js +30 -0
  317. package/dist/collection/utils/model/styles/SVGStyle.js +47 -0
  318. package/dist/collection/utils/model/styles/SVGStyleGroup.js +48 -0
  319. package/dist/collection/utils/model/styles/SVGVariancesStyleGroup.js +45 -0
  320. package/dist/collection/utils/parentDimensions.js +44 -0
  321. package/dist/collection/utils/scaling.js +17 -0
  322. package/dist/collection/utils/stackColors.js +31 -0
  323. package/dist/collection/utils/styled/attributes.js +110 -0
  324. package/dist/collection/utils/styled/style-sheet.js +21 -0
  325. package/dist/collection/utils/styled/withStyled.js +71 -0
  326. package/dist/collection/utils/templateId.js +12 -0
  327. package/dist/collection/utils/utils.js +83 -0
  328. package/dist/collection/utils/validate.js +372 -0
  329. package/dist/collection/utils/withBodyObserver.js +35 -0
  330. package/dist/collection/utils/withComponentStatus.js +35 -0
  331. package/dist/collection/utils/withComponentStyle.js +74 -0
  332. package/dist/collection/utils/withDataset.js +142 -0
  333. package/dist/collection/utils/withDatasource.js +59 -0
  334. package/dist/collection/utils/withHasError.js +56 -0
  335. package/dist/collection/utils/withTranslation.js +73 -0
  336. package/dist/components/DataFormatDigits.js +1 -0
  337. package/dist/components/DateStringFactory.js +1 -0
  338. package/dist/components/Order.js +1 -0
  339. package/dist/components/SVGVariancesStyleGroup.js +1 -0
  340. package/dist/components/_commonjsHelpers.js +1 -0
  341. package/dist/components/alasql.min.js +1 -0
  342. package/dist/components/bn-asset.d.ts +11 -0
  343. package/dist/components/bn-asset.js +1 -0
  344. package/dist/components/bn-body.d.ts +11 -0
  345. package/dist/components/bn-body.js +1 -0
  346. package/dist/components/bn-body2.js +1 -0
  347. package/dist/components/bn-card.d.ts +11 -0
  348. package/dist/components/bn-card.js +1 -0
  349. package/dist/components/bn-card2.js +1 -0
  350. package/dist/components/bn-chart-structure.d.ts +11 -0
  351. package/dist/components/bn-chart-structure.js +1 -0
  352. package/dist/components/bn-chart-time.d.ts +11 -0
  353. package/dist/components/bn-chart-time.js +1 -0
  354. package/dist/components/bn-component-style.d.ts +11 -0
  355. package/dist/components/bn-component-style.js +1 -0
  356. package/dist/components/bn-context.d.ts +11 -0
  357. package/dist/components/bn-context.js +1 -0
  358. package/dist/components/bn-dataset.d.ts +11 -0
  359. package/dist/components/bn-dataset.js +1 -0
  360. package/dist/components/bn-datasource.d.ts +11 -0
  361. package/dist/components/bn-datasource.js +1 -0
  362. package/dist/components/bn-footer.d.ts +11 -0
  363. package/dist/components/bn-footer.js +1 -0
  364. package/dist/components/bn-footer2.js +1 -0
  365. package/dist/components/bn-grid.d.ts +11 -0
  366. package/dist/components/bn-grid.js +1 -0
  367. package/dist/components/bn-image.d.ts +11 -0
  368. package/dist/components/bn-image.js +1 -0
  369. package/dist/components/bn-internationalization.d.ts +11 -0
  370. package/dist/components/bn-internationalization.js +1 -0
  371. package/dist/components/bn-layout-card.d.ts +11 -0
  372. package/dist/components/bn-layout-card.js +1 -0
  373. package/dist/components/bn-layout-page.d.ts +11 -0
  374. package/dist/components/bn-layout-page.js +1 -0
  375. package/dist/components/bn-map.d.ts +11 -0
  376. package/dist/components/bn-map.js +1 -0
  377. package/dist/components/bn-message.d.ts +11 -0
  378. package/dist/components/bn-message.js +1 -0
  379. package/dist/components/bn-message2.js +1 -0
  380. package/dist/components/bn-page.d.ts +11 -0
  381. package/dist/components/bn-page.js +1 -0
  382. package/dist/components/bn-page2.js +1 -0
  383. package/dist/components/bn-table.d.ts +11 -0
  384. package/dist/components/bn-table.js +1 -0
  385. package/dist/components/bn-template.d.ts +11 -0
  386. package/dist/components/bn-template.js +1 -0
  387. package/dist/components/bn-text.d.ts +11 -0
  388. package/dist/components/bn-text.js +1 -0
  389. package/dist/components/bn-title.d.ts +11 -0
  390. package/dist/components/bn-title.js +1 -0
  391. package/dist/components/bn-title2.js +1 -0
  392. package/dist/components/bn-tree.d.ts +11 -0
  393. package/dist/components/bn-tree.js +1 -0
  394. package/dist/components/componentRegister.js +1 -0
  395. package/dist/components/context-protocol.js +1 -0
  396. package/dist/components/editor-companion.d.ts +11 -0
  397. package/dist/components/editor-companion.js +1 -0
  398. package/dist/components/ibcs-chart-structure.d.ts +11 -0
  399. package/dist/components/ibcs-chart-structure.js +1 -0
  400. package/dist/components/ibcs-chart-structure2.js +1 -0
  401. package/dist/components/ibcs-chart-time.d.ts +11 -0
  402. package/dist/components/ibcs-chart-time.js +1 -0
  403. package/dist/components/ibcs-chart-time2.js +1 -0
  404. package/dist/components/ibcs-map.d.ts +11 -0
  405. package/dist/components/ibcs-map.js +1 -0
  406. package/dist/components/ibcs-map2.js +1 -0
  407. package/dist/components/ibcs-table.d.ts +11 -0
  408. package/dist/components/ibcs-table.js +1 -0
  409. package/dist/components/ibcs-table2.js +1 -0
  410. package/dist/components/ibcs-title.d.ts +11 -0
  411. package/dist/components/ibcs-title.js +1 -0
  412. package/dist/components/ibcs-title2.js +1 -0
  413. package/dist/components/ibcsRuleSet.js +1 -0
  414. package/dist/components/index.d.ts +35 -0
  415. package/dist/components/index.js +1 -0
  416. package/dist/components/scaling.js +1 -0
  417. package/dist/components/test-runner-card.d.ts +11 -0
  418. package/dist/components/test-runner-card.js +1 -0
  419. package/dist/components/test-runner-chart-time.d.ts +11 -0
  420. package/dist/components/test-runner-chart-time.js +1 -0
  421. package/dist/components/test-runner-chart.d.ts +11 -0
  422. package/dist/components/test-runner-chart.js +1 -0
  423. package/dist/components/test-runner-map.d.ts +11 -0
  424. package/dist/components/test-runner-map.js +1 -0
  425. package/dist/components/test-runner-table.d.ts +11 -0
  426. package/dist/components/test-runner-table.js +1 -0
  427. package/dist/components/test-runner-time.d.ts +11 -0
  428. package/dist/components/test-runner-time.js +1 -0
  429. package/dist/components/test-runner-title.d.ts +11 -0
  430. package/dist/components/test-runner-title.js +1 -0
  431. package/dist/components/utils.js +1 -0
  432. package/dist/components/validate.js +1 -0
  433. package/dist/components/withBodyObserver.js +1 -0
  434. package/dist/components/withComponentStyle.js +1 -0
  435. package/dist/components/withDataset.js +1 -0
  436. package/dist/components/withHasError.js +1 -0
  437. package/dist/components/withStyled.js +1 -0
  438. package/dist/components/withTranslation.js +1 -0
  439. package/dist/esm/DataFormatDigits-Dt6gpIiZ.js +137 -0
  440. package/dist/esm/DateStringFactory-_Qiv0IvF.js +451 -0
  441. package/dist/esm/Order-B4fpLe_f.js +125 -0
  442. package/dist/esm/SVGVariancesStyleGroup-DlWgvpzs.js +7961 -0
  443. package/dist/esm/StringAdapter-BLvo1Krl.js +133 -0
  444. package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
  445. package/dist/esm/alasql.min-CWu4NkIt.js +304 -0
  446. package/dist/esm/app-globals-DQuL1Twl.js +3 -0
  447. package/dist/esm/bn-asset.entry.js +40 -0
  448. package/dist/esm/bn-body_3.entry.js +409 -0
  449. package/dist/esm/bn-card.entry.js +35 -0
  450. package/dist/esm/bn-chart-structure.entry.js +703 -0
  451. package/dist/esm/bn-chart-time.entry.js +985 -0
  452. package/dist/esm/bn-component-style.entry.js +42 -0
  453. package/dist/esm/bn-context_5.entry.js +3374 -0
  454. package/dist/esm/bn-dataset.entry.js +276 -0
  455. package/dist/esm/bn-grid.entry.js +405 -0
  456. package/dist/esm/bn-image.entry.js +55 -0
  457. package/dist/esm/bn-internationalization.entry.js +38 -0
  458. package/dist/esm/bn-layout-card.entry.js +126 -0
  459. package/dist/esm/bn-layout-page.entry.js +140 -0
  460. package/dist/esm/bn-map.entry.js +423 -0
  461. package/dist/esm/bn-message.entry.js +50 -0
  462. package/dist/esm/bn-template-engine.js +48 -0
  463. package/dist/esm/bn-template.entry.js +18 -0
  464. package/dist/esm/bn-text.entry.js +284 -0
  465. package/dist/esm/bn-tree.entry.js +967 -0
  466. package/dist/esm/componentRegister-BtVfu16B.js +72 -0
  467. package/dist/esm/constants-kMyLevYy.js +158 -0
  468. package/dist/esm/context-protocol-DzeqZxg6.js +654 -0
  469. package/dist/esm/editor-companion.entry.js +47 -0
  470. package/dist/esm/formatter-DTMEZ6d8.js +211 -0
  471. package/dist/esm/ibcs-chart-structure.entry.js +2904 -0
  472. package/dist/esm/ibcs-chart-time.entry.js +4138 -0
  473. package/dist/esm/ibcs-map.entry.js +1073 -0
  474. package/dist/esm/ibcs-title.entry.js +350 -0
  475. package/dist/esm/index-B27Ax6P_.js +4635 -0
  476. package/dist/esm/index.js +1 -0
  477. package/dist/esm/loader.js +11 -0
  478. package/dist/esm/luxon-DbyXf6dF.js +8130 -0
  479. package/dist/esm/scaling-BBd0ZVLL.js +64 -0
  480. package/dist/esm/test-runner-card.entry.js +25 -0
  481. package/dist/esm/test-runner-chart-time.entry.js +228 -0
  482. package/dist/esm/test-runner-chart.entry.js +324 -0
  483. package/dist/esm/test-runner-map.entry.js +1860 -0
  484. package/dist/esm/test-runner-table.entry.js +475 -0
  485. package/dist/esm/test-runner-time.entry.js +379 -0
  486. package/dist/esm/test-runner-title.entry.js +113 -0
  487. package/dist/esm/withBodyObserver-gZpZiEIK.js +37 -0
  488. package/dist/esm/withComponentStatus-elELReKt.js +37 -0
  489. package/dist/esm/withComponentStyle-NaxfakAG.js +126 -0
  490. package/dist/esm/withDataset-BT2VQCsG.js +144 -0
  491. package/dist/esm/withHasError-C48fTE2k.js +150 -0
  492. package/dist/esm/withStyled-CpUTv74m.js +539 -0
  493. package/dist/esm/withTranslation-Do4GhleK.js +75 -0
  494. package/dist/index.cjs.js +1 -0
  495. package/dist/index.js +1 -0
  496. package/dist/types/components/bn-asset/bn-asset.d.ts +11 -0
  497. package/dist/types/components/bn-body/bn-body.d.ts +8 -0
  498. package/dist/types/components/bn-card/bn-card.d.ts +8 -0
  499. package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +234 -0
  500. package/dist/types/components/bn-chart-structure/ibcs-chart-structure.d.ts +47 -0
  501. package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +137 -0
  502. package/dist/types/components/bn-chart-structure/utils/elements/Axis.d.ts +29 -0
  503. package/dist/types/components/bn-chart-structure/utils/elements/Bar.d.ts +58 -0
  504. package/dist/types/components/bn-chart-structure/utils/elements/Label.d.ts +47 -0
  505. package/dist/types/components/bn-chart-structure/utils/elements/Marker.d.ts +33 -0
  506. package/dist/types/components/bn-chart-structure/utils/elements/Needle.d.ts +37 -0
  507. package/dist/types/components/bn-chart-structure/utils/elements/StackedBar.d.ts +25 -0
  508. package/dist/types/components/bn-chart-structure/utils/elements/index.d.ts +6 -0
  509. package/dist/types/components/bn-chart-structure/utils/factories/ScenarioFactory.d.ts +46 -0
  510. package/dist/types/components/bn-chart-structure/utils/factories/index.d.ts +1 -0
  511. package/dist/types/components/bn-chart-structure/utils/helper/CustomPattern.d.ts +20 -0
  512. package/dist/types/components/bn-chart-structure/utils/helper/ElementPositions.d.ts +60 -0
  513. package/dist/types/components/bn-chart-structure/utils/helper/MarkerPattern.d.ts +28 -0
  514. package/dist/types/components/bn-chart-structure/utils/helper/Padding.d.ts +14 -0
  515. package/dist/types/components/bn-chart-structure/utils/helper/index.d.ts +13 -0
  516. package/dist/types/components/bn-chart-structure/utils/model/DataPoint.d.ts +44 -0
  517. package/dist/types/components/bn-chart-structure/utils/model/OverflowConfig.d.ts +7 -0
  518. package/dist/types/components/bn-chart-structure/utils/model/StructureChartComponentConfig.d.ts +60 -0
  519. package/dist/types/components/bn-chart-structure/utils/model/StructureChartDataRow.d.ts +61 -0
  520. package/dist/types/components/bn-chart-structure/utils/model/index.d.ts +108 -0
  521. package/dist/types/components/bn-chart-structure/utils/model/styles/ScaleFactorsStructureChart.d.ts +46 -0
  522. package/dist/types/components/bn-chart-structure/utils/model/styles/StructureChartStyle.d.ts +29 -0
  523. package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +325 -0
  524. package/dist/types/components/bn-chart-time/ibcs-chart-time.d.ts +59 -0
  525. package/dist/types/components/bn-chart-time/utils/TimeChart.d.ts +154 -0
  526. package/dist/types/components/bn-chart-time/utils/elements/AreaFill.d.ts +23 -0
  527. package/dist/types/components/bn-chart-time/utils/elements/Axis.d.ts +28 -0
  528. package/dist/types/components/bn-chart-time/utils/elements/Column.d.ts +68 -0
  529. package/dist/types/components/bn-chart-time/utils/elements/Label.d.ts +55 -0
  530. package/dist/types/components/bn-chart-time/utils/elements/Line.d.ts +48 -0
  531. package/dist/types/components/bn-chart-time/utils/elements/LineSeries.d.ts +74 -0
  532. package/dist/types/components/bn-chart-time/utils/elements/Marker.d.ts +37 -0
  533. package/dist/types/components/bn-chart-time/utils/elements/Needle.d.ts +41 -0
  534. package/dist/types/components/bn-chart-time/utils/elements/StackedColumn.d.ts +40 -0
  535. package/dist/types/components/bn-chart-time/utils/elements/index.d.ts +8 -0
  536. package/dist/types/components/bn-chart-time/utils/factories/ScenarioFactory.d.ts +65 -0
  537. package/dist/types/components/bn-chart-time/utils/factories/index.d.ts +1 -0
  538. package/dist/types/components/bn-chart-time/utils/helper/CustomPattern.d.ts +22 -0
  539. package/dist/types/components/bn-chart-time/utils/helper/ElementPositions.d.ts +60 -0
  540. package/dist/types/components/bn-chart-time/utils/helper/LabelCollisionManager.d.ts +101 -0
  541. package/dist/types/components/bn-chart-time/utils/helper/MarkerPattern.d.ts +42 -0
  542. package/dist/types/components/bn-chart-time/utils/helper/Padding.d.ts +14 -0
  543. package/dist/types/components/bn-chart-time/utils/helper/index.d.ts +5 -0
  544. package/dist/types/components/bn-chart-time/utils/model/DataPoint.d.ts +44 -0
  545. package/dist/types/components/bn-chart-time/utils/model/OverflowConfig.d.ts +7 -0
  546. package/dist/types/components/bn-chart-time/utils/model/TimeChartComponentConfig.d.ts +73 -0
  547. package/dist/types/components/bn-chart-time/utils/model/TimeChartDataRow.d.ts +62 -0
  548. package/dist/types/components/bn-chart-time/utils/model/index.d.ts +109 -0
  549. package/dist/types/components/bn-chart-time/utils/model/styles/ScaleFactorsTimeChart.d.ts +46 -0
  550. package/dist/types/components/bn-chart-time/utils/model/styles/TimeChartStyle.d.ts +29 -0
  551. package/dist/types/components/bn-component-style/bn-component-style.d.ts +8 -0
  552. package/dist/types/components/bn-context/bn-context.d.ts +19 -0
  553. package/dist/types/components/bn-dataset/bn-dataset.d.ts +38 -0
  554. package/dist/types/components/bn-datasource/bn-datasource.d.ts +18 -0
  555. package/dist/types/components/bn-footer/bn-footer.d.ts +29 -0
  556. package/dist/types/components/bn-grid/bn-grid.d.ts +70 -0
  557. package/dist/types/components/bn-grid/utils/GridConfig.d.ts +47 -0
  558. package/dist/types/components/bn-image/bn-image.d.ts +22 -0
  559. package/dist/types/components/bn-internationalization/bn-internationalization.d.ts +9 -0
  560. package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +38 -0
  561. package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +40 -0
  562. package/dist/types/components/bn-map/bn-map.d.ts +122 -0
  563. package/dist/types/components/bn-map/ibcs-map/ibcs-map.d.ts +73 -0
  564. package/dist/types/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.d.ts +8 -0
  565. package/dist/types/components/bn-map/ibcs-map/utils/model/GpxLayer.d.ts +11 -0
  566. package/dist/types/components/bn-map/ibcs-map/utils/model/Marker.d.ts +9 -0
  567. package/dist/types/components/bn-map/ibcs-map/utils/model/index.d.ts +2 -0
  568. package/dist/types/components/bn-message/bn-message.d.ts +27 -0
  569. package/dist/types/components/bn-page/bn-page.d.ts +29 -0
  570. package/dist/types/components/bn-table/bn-table.d.ts +373 -0
  571. package/dist/types/components/bn-table/ibcs-table.d.ts +59 -0
  572. package/dist/types/components/bn-table/utils/Table.d.ts +61 -0
  573. package/dist/types/components/bn-table/utils/elements/Cell.d.ts +36 -0
  574. package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +45 -0
  575. package/dist/types/components/bn-table/utils/elements/TableRow.d.ts +30 -0
  576. package/dist/types/components/bn-table/utils/elements/index.d.ts +3 -0
  577. package/dist/types/components/bn-table/utils/factories/tableDataSetFactory.d.ts +114 -0
  578. package/dist/types/components/bn-table/utils/helper/ColumnStatistics.d.ts +21 -0
  579. package/dist/types/components/bn-table/utils/helper/DataQuery.d.ts +139 -0
  580. package/dist/types/components/bn-table/utils/helper/QueryGroup.d.ts +19 -0
  581. package/dist/types/components/bn-table/utils/helper/index.d.ts +1 -0
  582. package/dist/types/components/bn-table/utils/model/TableComponentConfig.d.ts +72 -0
  583. package/dist/types/components/bn-table/utils/model/TableDataRow.d.ts +70 -0
  584. package/dist/types/components/bn-table/utils/model/TableDrillGroup.d.ts +22 -0
  585. package/dist/types/components/bn-table/utils/model/index.d.ts +130 -0
  586. package/dist/types/components/bn-template/bn-template.d.ts +10 -0
  587. package/dist/types/components/bn-text/bn-text.d.ts +63 -0
  588. package/dist/types/components/bn-title/bn-title.d.ts +128 -0
  589. package/dist/types/components/bn-title/ibcs-title/ibcs-title.d.ts +23 -0
  590. package/dist/types/components/bn-title/ibcs-title/utils/Title.d.ts +28 -0
  591. package/dist/types/components/bn-title/ibcs-title/utils/factories/TitleDataSetFactory.d.ts +26 -0
  592. package/dist/types/components/bn-title/ibcs-title/utils/factories/index.d.ts +1 -0
  593. package/dist/types/components/bn-title/ibcs-title/utils/model/MeasureEntriy.d.ts +11 -0
  594. package/dist/types/components/bn-title/ibcs-title/utils/model/TimePeriod.d.ts +15 -0
  595. package/dist/types/components/bn-title/ibcs-title/utils/model/TitleConfig.d.ts +25 -0
  596. package/dist/types/components/bn-title/ibcs-title/utils/model/index.d.ts +35 -0
  597. package/dist/types/components/bn-tree/bn-tree.d.ts +84 -0
  598. package/dist/types/components/bn-tree/utils/EdgeRenderer.d.ts +57 -0
  599. package/dist/types/components/bn-tree/utils/TreeLayout.d.ts +37 -0
  600. package/dist/types/components/bn-tree/utils/TreeParser.d.ts +42 -0
  601. package/dist/types/components/editor-companion/editor-companion.d.ts +18 -0
  602. package/dist/types/components.d.ts +3311 -0
  603. package/dist/types/context/context-protocol.d.ts +53 -0
  604. package/dist/types/declarations.d.ts +1 -0
  605. package/dist/types/index.d.ts +2 -0
  606. package/dist/types/stencil-public-runtime.d.ts +1860 -0
  607. package/dist/types/stores/assets.d.ts +12 -0
  608. package/dist/types/stores/componentStyles.d.ts +82 -0
  609. package/dist/types/stores/context.d.ts +12 -0
  610. package/dist/types/stores/createScopedStores.d.ts +12 -0
  611. package/dist/types/stores/datasets.d.ts +14 -0
  612. package/dist/types/stores/datasetsMeta.d.ts +14 -0
  613. package/dist/types/stores/datasources.d.ts +14 -0
  614. package/dist/types/stores/internationalization.d.ts +9 -0
  615. package/dist/types/test-runner/test-runner-card.d.ts +3 -0
  616. package/dist/types/test-runner/test-runner-chart-time.d.ts +3 -0
  617. package/dist/types/test-runner/test-runner-chart.d.ts +3 -0
  618. package/dist/types/test-runner/test-runner-map.d.ts +3 -0
  619. package/dist/types/test-runner/test-runner-table.d.ts +3 -0
  620. package/dist/types/test-runner/test-runner-time.d.ts +3 -0
  621. package/dist/types/test-runner/test-runner-title.d.ts +3 -0
  622. package/dist/types/utils/DataUriUtil.d.ts +5 -0
  623. package/dist/types/utils/DateStringFactory.d.ts +123 -0
  624. package/dist/types/utils/componentRegister.d.ts +38 -0
  625. package/dist/types/utils/constants.d.ts +142 -0
  626. package/dist/types/utils/dataAnalyzer.d.ts +56 -0
  627. package/dist/types/utils/datasetMetaCalculator.d.ts +16 -0
  628. package/dist/types/utils/flattenObject.d.ts +13 -0
  629. package/dist/types/utils/formatter.d.ts +34 -0
  630. package/dist/types/utils/helper/AdapterUtils.d.ts +11 -0
  631. package/dist/types/utils/helper/CompareUtil.d.ts +26 -0
  632. package/dist/types/utils/helper/IAdapter.d.ts +16 -0
  633. package/dist/types/utils/helper/StringAdapter.d.ts +5 -0
  634. package/dist/types/utils/ibcsRuleSet.d.ts +47 -0
  635. package/dist/types/utils/index.d.ts +2 -0
  636. package/dist/types/utils/model/ChartStyles.d.ts +58 -0
  637. package/dist/types/utils/model/DataFormatDigits.d.ts +11 -0
  638. package/dist/types/utils/model/DataQueryResultRow.d.ts +29 -0
  639. package/dist/types/utils/model/DatasetMeta.d.ts +43 -0
  640. package/dist/types/utils/model/DateFormat.d.ts +38 -0
  641. package/dist/types/utils/model/Order.d.ts +46 -0
  642. package/dist/types/utils/model/SiPrefix.d.ts +11 -0
  643. package/dist/types/utils/model/TextStyles.d.ts +10 -0
  644. package/dist/types/utils/model/VarianceScenario.d.ts +20 -0
  645. package/dist/types/utils/model/index.d.ts +37 -0
  646. package/dist/types/utils/model/styles/FontStyle.d.ts +13 -0
  647. package/dist/types/utils/model/styles/Padding.d.ts +11 -0
  648. package/dist/types/utils/model/styles/SVGStyle.d.ts +20 -0
  649. package/dist/types/utils/model/styles/SVGStyleGroup.d.ts +16 -0
  650. package/dist/types/utils/model/styles/SVGVariancesStyleGroup.d.ts +16 -0
  651. package/dist/types/utils/parentDimensions.d.ts +13 -0
  652. package/dist/types/utils/scaling.d.ts +22 -0
  653. package/dist/types/utils/stackColors.d.ts +20 -0
  654. package/dist/types/utils/styled/attributes.d.ts +6 -0
  655. package/dist/types/utils/styled/style-sheet.d.ts +10 -0
  656. package/dist/types/utils/styled/withStyled.d.ts +12 -0
  657. package/dist/types/utils/templateId.d.ts +9 -0
  658. package/dist/types/utils/utils.d.ts +36 -0
  659. package/dist/types/utils/validate.d.ts +55 -0
  660. package/dist/types/utils/withBodyObserver.d.ts +14 -0
  661. package/dist/types/utils/withComponentStatus.d.ts +15 -0
  662. package/dist/types/utils/withComponentStyle.d.ts +20 -0
  663. package/dist/types/utils/withDataset.d.ts +18 -0
  664. package/dist/types/utils/withDatasource.d.ts +16 -0
  665. package/dist/types/utils/withHasError.d.ts +35 -0
  666. package/dist/types/utils/withTranslation.d.ts +24 -0
  667. package/loader/cdn.js +1 -0
  668. package/loader/index.cjs.js +1 -0
  669. package/loader/index.d.ts +24 -0
  670. package/loader/index.es2017.js +1 -0
  671. package/loader/index.js +2 -0
  672. package/package.json +68 -0
  673. package/readme.md +164 -0
@@ -0,0 +1,1047 @@
1
+ import { h, Host } from "@stencil/core";
2
+ import { isBlankInput, isValidBoolean, isValidDirection, isValidInteger, isValidLevel, isValidMeasureScale, isValidNumber, validateOrderList, validateScenarioList, validateStackConfig, validateVariancesList, } from "../../utils/validate";
3
+ import withDataset from "../../utils/withDataset";
4
+ import withComponentStatus from "../../utils/withComponentStatus";
5
+ import withTranslation from "../../utils/withTranslation";
6
+ import { globalLabelKeys } from "../../stores/internationalization";
7
+ import { withStyled } from "../../utils/styled/withStyled";
8
+ import withComponentStyle from "../../utils/withComponentStyle";
9
+ import withHasError from "../../utils/withHasError";
10
+ import { getParentDimensions } from "../../utils/parentDimensions";
11
+ import { parseScaling } from "../../utils/scaling";
12
+ import { AggregationLevel, StackMode, StackOrder } from "../../utils/constants";
13
+ import { OrderColumn, OrderDirection } from "../../utils/model/Order";
14
+ /**
15
+ * SVG structure (categorical) bar chart following IBCS standards.
16
+ *
17
+ * Subscribes to a dataset (via `withDataset`) and renders horizontal bar
18
+ * charts grouped by category, with up to four scenario layers, optional
19
+ * variance sub-charts, stacking, and proportional auto-scaling (height-
20
+ * based). The heavy SVG rendering is performed by the inner
21
+ * `ibcs-chart-structure` element; this outer component validates props,
22
+ * resolves auto-detected metadata, and computes styles.
23
+ */
24
+ export class Chart {
25
+ validateScenario(newValue) {
26
+ const invalidScenarios = validateScenarioList(newValue);
27
+ const errId = "ERR_scenarios";
28
+ if (invalidScenarios.length > 0) {
29
+ this.errors.addOrReplace({
30
+ id: errId,
31
+ type: "warning",
32
+ message: "scenarios: invalid value(s) '" + JSON.stringify(invalidScenarios) + "' are not supported.",
33
+ });
34
+ }
35
+ else {
36
+ this.errors.remove(errId);
37
+ }
38
+ }
39
+ validateVariances(newValue) {
40
+ const errIdVar = "ERR_variances";
41
+ const invalidVariances = validateVariancesList(newValue);
42
+ if (invalidVariances.length > 0) {
43
+ this.errors.addOrReplace({
44
+ id: errIdVar,
45
+ type: "warning",
46
+ message: "variances: invalid value(s) '" + JSON.stringify(invalidVariances) + "' are not supported.",
47
+ });
48
+ }
49
+ else {
50
+ this.errors.remove(errIdVar);
51
+ }
52
+ }
53
+ validateUnitScaling(newValue) {
54
+ const errId = "ERR_unitScaling";
55
+ if (!isValidNumber(newValue) && !this.pixelPerUnitGroupMap.has(newValue)) {
56
+ this.errors.addOrReplace({
57
+ id: errId,
58
+ type: "warning",
59
+ message: "unitScaling: invalid value(s) '" + newValue + "' are not supported.",
60
+ });
61
+ }
62
+ else {
63
+ this.errors.remove(errId);
64
+ }
65
+ }
66
+ validatePercentageScaling(newValue) {
67
+ const errId = "ERR_percentageScaling";
68
+ if (!isValidNumber(newValue) && !this.pixelPerUnitGroupMap.has(newValue)) {
69
+ this.errors.addOrReplace({
70
+ id: errId,
71
+ type: "warning",
72
+ message: "percentageScaling: invalid value(s) '" + newValue + "' are not supported.",
73
+ });
74
+ }
75
+ else {
76
+ this.errors.remove(errId);
77
+ }
78
+ }
79
+ validateLevel(newValue) {
80
+ const errId = "ERR_level";
81
+ if (!isValidLevel(newValue)) {
82
+ this.errors.addOrReplace({
83
+ id: errId,
84
+ type: "warning",
85
+ message: "level: invalid value(s) '" + newValue + "' are not supported.",
86
+ });
87
+ }
88
+ else {
89
+ this.errors.remove(errId);
90
+ }
91
+ }
92
+ validateOrderList(newValue) {
93
+ const invalidElements = validateOrderList(newValue);
94
+ const errId = "ERR_order";
95
+ if (invalidElements.length > 0) {
96
+ this.errors.addOrReplace({
97
+ id: errId,
98
+ type: "warning",
99
+ message: "order: invalid value(s) '" + JSON.stringify(invalidElements) + "' are not supported.",
100
+ });
101
+ }
102
+ else {
103
+ this.errors.remove(errId);
104
+ }
105
+ }
106
+ validateOrderDirection(newValue) {
107
+ const errId = "ERR_orderDirection";
108
+ if (!isValidDirection(newValue)) {
109
+ this.errors.addOrReplace({
110
+ id: errId,
111
+ type: "warning",
112
+ message: "orderDirection: invalid value '" + (newValue === null || newValue === void 0 ? void 0 : newValue.toString()) + "' is not supported.",
113
+ });
114
+ }
115
+ else {
116
+ this.errors.remove(errId);
117
+ }
118
+ }
119
+ validateLimit(newValue) {
120
+ const errId = "ERR_limit";
121
+ if (!isValidInteger(newValue)) {
122
+ this.errors.addOrReplace({
123
+ id: errId,
124
+ type: "warning",
125
+ message: "limit: invalid value '" + (newValue === null || newValue === void 0 ? void 0 : newValue.toString()) + "' is not supported.",
126
+ });
127
+ }
128
+ else {
129
+ this.errors.remove(errId);
130
+ }
131
+ }
132
+ validateShowCategories(newValue) {
133
+ const errId = "ERR_showCategories";
134
+ if (!isValidBoolean(newValue)) {
135
+ this.errors.addOrReplace({
136
+ id: errId,
137
+ type: "warning",
138
+ message: "showCategories: invalid value(s) '" + (newValue === null || newValue === void 0 ? void 0 : newValue.toString()) + "' are not supported.",
139
+ });
140
+ }
141
+ else {
142
+ this.errors.remove(errId);
143
+ }
144
+ }
145
+ validateMeasureScale(newValue) {
146
+ const errId = "ERR_measureScale";
147
+ if (!isValidMeasureScale(newValue)) {
148
+ this.errors.addOrReplace({
149
+ id: errId,
150
+ type: "warning",
151
+ message: "measureScale: invalid value '" + (newValue === null || newValue === void 0 ? void 0 : newValue.toString()) + "' is not supported.",
152
+ });
153
+ }
154
+ else {
155
+ this.errors.remove(errId);
156
+ }
157
+ }
158
+ validateShowMeasureScale(newValue) {
159
+ const errId = "ERR_grouped";
160
+ if (!isValidBoolean(newValue)) {
161
+ this.errors.addOrReplace({
162
+ id: errId,
163
+ type: "warning",
164
+ message: "showMeasureScale: invalid value(s) '" + (newValue === null || newValue === void 0 ? void 0 : newValue.toString()) + "' are not supported.",
165
+ });
166
+ }
167
+ else {
168
+ this.errors.remove(errId);
169
+ }
170
+ }
171
+ validateStack(newValue) {
172
+ const errId = "ERR_stack";
173
+ const errors = validateStackConfig(newValue);
174
+ if (errors.length > 0) {
175
+ this.errors.addOrReplace({
176
+ id: errId,
177
+ type: "warning",
178
+ message: errors.join("; "),
179
+ });
180
+ }
181
+ else {
182
+ this.errors.remove(errId);
183
+ }
184
+ }
185
+ validateScaling(newValue) {
186
+ if (newValue == null || newValue === "" || newValue === "none" || newValue === "auto") {
187
+ this.errors.remove("ERR_scale");
188
+ return;
189
+ }
190
+ const num = Number(newValue);
191
+ if (isNaN(num) || num <= 0) {
192
+ this.errors.addOrReplace({
193
+ id: "ERR_scale",
194
+ type: "warning",
195
+ message: `Invalid scale value: "${newValue}". Use "none", "auto", or a positive number.`,
196
+ });
197
+ }
198
+ else {
199
+ this.errors.remove("ERR_scale");
200
+ }
201
+ }
202
+ constructor() {
203
+ this.data = [];
204
+ this.datasetMeta = null;
205
+ this.appliedScaleFactor = 1;
206
+ /**
207
+ * Custom chart title
208
+ */
209
+ this.chartTitle = "";
210
+ /**
211
+ * AlaSQL WHERE clause fragment injected into the data query to filter
212
+ * rows before rendering (e.g. `"rowGroup = 'Revenue'"`).
213
+ */
214
+ this.filter = "";
215
+ /** set translaton mode.
216
+ * <br /><br />
217
+ * values:<br />
218
+ * ``` all // none // meta ```
219
+ */
220
+ /**
221
+ * Set the maximum number of bars for each
222
+ * group. The value 0 means *no limit*
223
+ * <br /><br />
224
+ * rows wich where cut by the limit are cumulated as REST
225
+ *
226
+ */
227
+ this.limit = 0;
228
+ this.showCategories = "true";
229
+ /**
230
+ * Sets the SiPrefix of the Mesaurements and converts the
231
+ * original value.
232
+ * <br /><br />
233
+ * values: <br />
234
+ * ```_ // k // M // G // T // P // E // Z // Y // m // μ // n // p // P // f // a // z // y // GREATEST // LEAST```
235
+ * <br /><br />
236
+ * SiPrefix overview:
237
+ * ``` "Y": 1E+24,```<br />
238
+ * ``` "Z": 1E+21,```<br />
239
+ * ``` "E": 1E+18,```<br />
240
+ * ``` "P": 1E+15,```<br />
241
+ * ``` "T": 1E+12,```<br />
242
+ * ``` "G": 1000000000,```<br />
243
+ * ``` "M": 1000000,```<br />
244
+ * ``` "k": 1000,```<br />
245
+ * <br />
246
+ * ``` "m": 0.001,```<br />
247
+ * ``` "μ": 0.000001,```<br />
248
+ * ``` "n": 0.000000001,```<br />
249
+ * ``` "p": 0.000000000001,```<br />
250
+ * ``` "f": 0.000000000000001,```<br />
251
+ * ``` "a": 0.000000000000000001,```<br />
252
+ * ``` "z": 0.000000000000000000001,```<br />
253
+ * ``` "y": 0.000000000000000000000001,```<br />
254
+ * <br /><br />
255
+ * Special modes:
256
+ * ```GREATEST``` seaches for the bigest (farest to zero) Value in the dataset and sets this value to SiPrefix<br />
257
+ * ```LEAST``` searches for smallest (closest to zero) Value in the dataset and sets this value to SiPrefix<br />
258
+ *<br /><br />
259
+ * ```_``` is the value for no SiPrefix the value is displayed as in the dataset stored.
260
+ *
261
+ *
262
+ */
263
+ this.measureScale = "greatest";
264
+ /**
265
+ * Toggles display of measure units in table header
266
+ * <br /><br />
267
+ * values: <br />
268
+ * ```true // false```
269
+ */
270
+ this.showMeasureScale = "false";
271
+ /**
272
+ * measureUnit displayed in table.
273
+ */
274
+ this.measureUnit = "";
275
+ /**
276
+ * Stacking configuration for the chart as a JSON string.
277
+ *
278
+ * When set, bars are drawn stacked (additive layers) instead of side-by-side.
279
+ *
280
+ * @default '' (empty — no stacking)
281
+ * @example stack='{"by":"scenario"}'
282
+ */
283
+ this.stack = "";
284
+ this.scenariosArray = [""];
285
+ this.pixelPerUnitGroupMap = new Map();
286
+ this._autoScaleGuard = false;
287
+ withStyled(this);
288
+ withComponentStatus(this);
289
+ withDataset(this, (_name, data) => {
290
+ this.data = (data || []);
291
+ }, (_name, meta) => {
292
+ this.datasetMeta = meta;
293
+ });
294
+ this.chartTemplate = this.chartTemplate.bind(this);
295
+ this.errors = withHasError(this);
296
+ this.componentStyle = withComponentStyle(this);
297
+ this.t = withTranslation(this).t;
298
+ }
299
+ componentWillLoad() {
300
+ this.validateScenario(this.scenarios);
301
+ this.validateVariances(this.variances);
302
+ this.validateUnitScaling(this.unitScaling);
303
+ //this.validateSelectedStyle(this.selectedStyle);
304
+ this.validateLevel(this.level);
305
+ this.validateOrderDirection(this.orderDirection);
306
+ this.validateOrderList(this.order);
307
+ this.validateShowCategories(this.showCategories);
308
+ this.validateMeasureScale(this.measureScale);
309
+ this.validateShowMeasureScale(this.showMeasureScale);
310
+ this.validateStack(this.stack);
311
+ this.validateScaling(this.scale);
312
+ }
313
+ componentDidRender() {
314
+ var _a, _b;
315
+ const { mode } = parseScaling(this.scale);
316
+ if (mode !== "auto" && mode !== "empty") {
317
+ this._autoScaleGuard = false;
318
+ // Keep existing width-based overflow warning for non-auto modes
319
+ const parent = getParentDimensions(this.element);
320
+ const errId = "WARN_overflow";
321
+ if (parent.width > 0 && this.element.scrollWidth > parent.width + 1) {
322
+ this.errors.addOrReplace({
323
+ id: errId,
324
+ type: "warning",
325
+ message: "Chart exceeds available space and will be cut off. Check unit-scaling value.",
326
+ });
327
+ }
328
+ else {
329
+ this.errors.remove(errId);
330
+ }
331
+ return;
332
+ }
333
+ if (this._autoScaleGuard) {
334
+ this._autoScaleGuard = false;
335
+ return;
336
+ }
337
+ const host = this.element;
338
+ const { height: parentHeight } = getParentDimensions(host);
339
+ if (parentHeight <= 0)
340
+ return;
341
+ // Measure at base (unscaled) font size to get true content height
342
+ const baseFontSize = this.componentStyle(($) => { var _a; return ((_a = $["global"]) === null || _a === void 0 ? void 0 : _a["fontSizePx"]) || 13.3333; });
343
+ host.style.setProperty("--bn-font-size", `${baseFontSize}px`);
344
+ // Reading scrollHeight forces a synchronous reflow at base size
345
+ const div = (_a = host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".container");
346
+ const unscaledHeight = (_b = div === null || div === void 0 ? void 0 : div.scrollHeight) !== null && _b !== void 0 ? _b : host.scrollHeight;
347
+ if (unscaledHeight <= parentHeight + 1) {
348
+ this.errors.remove("AUTO_scale");
349
+ if (this.appliedScaleFactor !== 1) {
350
+ this._autoScaleGuard = true;
351
+ this.appliedScaleFactor = 1;
352
+ }
353
+ return;
354
+ }
355
+ const computedFactor = (parentHeight - 1) / unscaledHeight;
356
+ host.style.setProperty("--bn-font-size", `${baseFontSize * computedFactor}px`);
357
+ if (mode === "empty") {
358
+ this.errors.addOrReplace({
359
+ id: "AUTO_scale",
360
+ type: "warning",
361
+ message: `Auto-scaled chart by factor ${computedFactor.toFixed(3)}`,
362
+ });
363
+ }
364
+ else {
365
+ this.errors.remove("AUTO_scale");
366
+ }
367
+ if (Math.abs(computedFactor - this.appliedScaleFactor) > 0.001) {
368
+ this._autoScaleGuard = true;
369
+ this.appliedScaleFactor = computedFactor;
370
+ }
371
+ }
372
+ prepareDimension() {
373
+ const parent = getParentDimensions(this.element);
374
+ this.canvasWidthSegmented = parent.width / this.scenariosArray.length;
375
+ return { width: this.canvasWidthSegmented, height: parent.height };
376
+ }
377
+ prepareScenarios() {
378
+ var _a, _b, _c, _d;
379
+ const isAuto = ((_a = this.scenarios) === null || _a === void 0 ? void 0 : _a.trim().toLowerCase()) === "auto";
380
+ if (isBlankInput(this.scenarios) || isAuto) {
381
+ if (((_c = (_b = this.datasetMeta) === null || _b === void 0 ? void 0 : _b.availableScenarios) === null || _c === void 0 ? void 0 : _c.length) > 0) {
382
+ if (!isAuto) {
383
+ this.errors.addOrReplace({
384
+ id: "AUTO_scenarios",
385
+ type: "warning",
386
+ message: `scenarios: not set, auto-detected: ${this.datasetMeta.availableScenarios.join(",")}`,
387
+ });
388
+ }
389
+ else {
390
+ this.errors.remove("AUTO_scenarios");
391
+ }
392
+ return this.datasetMeta.availableScenarios;
393
+ }
394
+ return [];
395
+ }
396
+ this.errors.remove("AUTO_scenarios");
397
+ return (_d = this.scenarios) === null || _d === void 0 ? void 0 : _d.split(",").map((entry) => entry.trim());
398
+ }
399
+ prepareVariances() {
400
+ var _a;
401
+ if (isBlankInput(this.variances)) {
402
+ return [];
403
+ }
404
+ return (_a = this.variances) === null || _a === void 0 ? void 0 : _a.split(",").map((entry) => entry.trim());
405
+ }
406
+ prepareHideCategories(idx) {
407
+ return idx >= 1 || this.showCategories !== "true";
408
+ }
409
+ prepareI18n() {
410
+ const i18nMetaLabelsLocal = [];
411
+ const i18nMetaLabelsGlobal = globalLabelKeys;
412
+ const i18nMapLocal = new Map(i18nMetaLabelsLocal.map((key) => [key, this.t(".".concat(key))]));
413
+ const i18nMapGlobal = new Map(i18nMetaLabelsGlobal.map((key) => [key, this.t("global.".concat(key))]));
414
+ return new Map([...i18nMapGlobal.entries(), ...i18nMapLocal.entries()]);
415
+ }
416
+ preparePixelPerUnit() {
417
+ var _a;
418
+ if (this.pixelPerUnitGroupMap.has(this.unitScaling)) {
419
+ this.errors.remove("AUTO_unitScaling");
420
+ return this.pixelPerUnitGroupMap.get(this.unitScaling);
421
+ }
422
+ // Explicit 'auto' → auto-calculate silently
423
+ if (((_a = this.unitScaling) === null || _a === void 0 ? void 0 : _a.toString().trim().toLowerCase()) === "auto") {
424
+ this.errors.remove("AUTO_unitScaling");
425
+ return 0;
426
+ }
427
+ const numeric = Number(this.unitScaling);
428
+ if (!isNaN(numeric) && numeric > 0) {
429
+ this.errors.remove("AUTO_unitScaling");
430
+ return numeric;
431
+ }
432
+ // Not set / invalid → auto-calculate with warning
433
+ this.errors.addOrReplace({
434
+ id: "AUTO_unitScaling",
435
+ type: "warning",
436
+ message: `unit-scaling: not set, auto-calculated to fit available space.`,
437
+ });
438
+ return 0;
439
+ }
440
+ preparePixelPerPercentage() {
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
443
+ }
444
+ return Number(this.percentageScaling) * 100;
445
+ }
446
+ prepareLevel() {
447
+ var _a, _b, _c;
448
+ const isAuto = ((_a = this.level) === null || _a === void 0 ? void 0 : _a.trim().toLowerCase()) === "auto";
449
+ if (isBlankInput(this.level) || isAuto) {
450
+ if ((_b = this.datasetMeta) === null || _b === void 0 ? void 0 : _b.suggestedLevel) {
451
+ if (!isAuto) {
452
+ this.errors.addOrReplace({
453
+ id: "AUTO_level",
454
+ type: "warning",
455
+ message: `level: not set, auto-detected: ${this.datasetMeta.suggestedLevel}`,
456
+ });
457
+ }
458
+ else {
459
+ this.errors.remove("AUTO_level");
460
+ }
461
+ return AggregationLevel[this.datasetMeta.suggestedLevel.toUpperCase()];
462
+ }
463
+ return undefined;
464
+ }
465
+ this.errors.remove("AUTO_level");
466
+ return AggregationLevel[(_c = this.level) === null || _c === void 0 ? void 0 : _c.toUpperCase()];
467
+ }
468
+ prepareOrder() {
469
+ var _a, _b, _c;
470
+ const isAuto = ((_a = this.order) === null || _a === void 0 ? void 0 : _a.trim().toLowerCase()) === "auto";
471
+ let orderStr;
472
+ if (isBlankInput(this.order) || isAuto) {
473
+ if ((_b = this.datasetMeta) === null || _b === void 0 ? void 0 : _b.suggestedOrder) {
474
+ if (!isAuto) {
475
+ this.errors.addOrReplace({
476
+ id: "AUTO_order",
477
+ type: "warning",
478
+ message: `order: not set, auto-detected: ${this.datasetMeta.suggestedOrder}`,
479
+ });
480
+ }
481
+ else {
482
+ this.errors.remove("AUTO_order");
483
+ }
484
+ orderStr = this.datasetMeta.suggestedOrder;
485
+ }
486
+ else {
487
+ orderStr = this.order;
488
+ }
489
+ }
490
+ else {
491
+ this.errors.remove("AUTO_order");
492
+ orderStr = this.order;
493
+ }
494
+ const tableOrder = {
495
+ hierarchy: orderStr === null || orderStr === void 0 ? void 0 : orderStr.split(",").map((entry) => OrderColumn[entry === null || entry === void 0 ? void 0 : entry.toUpperCase()]),
496
+ direction: OrderDirection[(_c = this.orderDirection) === null || _c === void 0 ? void 0 : _c.toUpperCase()],
497
+ };
498
+ return tableOrder;
499
+ }
500
+ // TODO(JHE): consider extracting style preparation into an adapter pattern
501
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
502
+ prepareStyle() {
503
+ const effectiveFactor = this.getEffectiveScaleFactor();
504
+ return this.componentStyle(($) => {
505
+ const baseFontSize = $["global"]["fontSizePx"];
506
+ const scaledFontSize = baseFontSize * effectiveFactor;
507
+ return {
508
+ scaleFactors: {
509
+ scenarioOffset: $["bn-chart-structure"]["scaleFactors"]["scenarioOffset"],
510
+ scenarioLabelToBar: $["bn-chart-structure"]["scaleFactors"]["scenarioLabelToBar"],
511
+ labelToBar: $["bn-chart-structure"]["scaleFactors"]["labelToBar"],
512
+ labelToAxis: $["bn-chart-structure"]["scaleFactors"]["labelToAxis"],
513
+ needleWidth: $["bn-chart-structure"]["scaleFactors"]["needleWidth"],
514
+ needleHeadWidth: $["bn-chart-structure"]["scaleFactors"]["needleHeadWidth"],
515
+ barWidth: $["bn-chart-structure"]["scaleFactors"]["barWidth"],
516
+ varianceAxisLineWidth: $["bn-chart-structure"]["scaleFactors"]["varianceAxisLineWidth"],
517
+ axisLineWidth: $["bn-chart-structure"]["scaleFactors"]["axisLineWidth"],
518
+ auxiliaryLineWidth: $["bn-chart-structure"]["scaleFactors"]["auxiliaryLineWidth"],
519
+ scenarioLineWidth: $["bn-chart-structure"]["scaleFactors"]["scenarioLineWidth"],
520
+ markerWidth: $["bn-chart-structure"]["scaleFactors"]["markerWidth"],
521
+ markerOffset: $["bn-chart-structure"]["scaleFactors"]["markerOffset"],
522
+ categoryWidth: $["bn-chart-structure"]["scaleFactors"]["categoryWidth"],
523
+ axisTickLength: $["bn-chart-structure"]["scaleFactors"]["axisTickLength"],
524
+ },
525
+ fontStyles: {
526
+ font: `${scaledFontSize}px ${$["global"]["fontFamily"]}`,
527
+ size: scaledFontSize,
528
+ color: $["global"]["fontColor"],
529
+ background: $["global"]["fontBackgroundColor"],
530
+ leading: 1.8,
531
+ },
532
+ axisStyles: $["bn-chart-structure"]["axisStyles"],
533
+ barStyles: $["bn-chart-structure"]["barStyles"],
534
+ varianceStyles: $["bn-chart-structure"]["varianceStyles"],
535
+ padding: $["bn-chart-structure"]["padding"],
536
+ pattern: null,
537
+ };
538
+ });
539
+ }
540
+ prepareChartTitle(idx) {
541
+ if (idx >= 1) {
542
+ return "";
543
+ }
544
+ return this.chartTitle;
545
+ }
546
+ prepareStackConfig() {
547
+ if (isBlankInput(this.stack)) {
548
+ return null;
549
+ }
550
+ try {
551
+ const parsed = JSON.parse(this.stack);
552
+ return {
553
+ by: parsed.by,
554
+ mode: parsed.mode || StackMode.ABSOLUTE,
555
+ order: parsed.order || StackOrder.DATASET,
556
+ };
557
+ }
558
+ catch (_a) {
559
+ return null;
560
+ }
561
+ }
562
+ prepareFilter() {
563
+ if (this.filter.length === 0) {
564
+ return "";
565
+ }
566
+ return this.filter;
567
+ }
568
+ prepareLimit() {
569
+ return Math.floor(Number(this.limit) || 0);
570
+ }
571
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
572
+ getDataStructure() {
573
+ const dataSetStructure = {
574
+ IStructureChartDataRow: {
575
+ operation: { type: "string", isOptional: false, description: "" },
576
+ rowGroup: { type: "string", isOptional: false, description: "" },
577
+ rowGroupIndex: { type: "number", isOptional: false, description: "" },
578
+ category: { type: "string", isOptional: false, description: "" },
579
+ categoryIndex: { type: "number", isOptional: false, description: "" },
580
+ subCategory: { type: "string", isOptional: false, description: "" },
581
+ subCategoryIndex: { type: "number", isOptional: false, description: "" },
582
+ columnGroup: { type: "string", isOptional: false, description: "" },
583
+ columnGroupIndex: { type: "number", isOptional: false, description: "" },
584
+ columnSubGroup: { type: "string", isOptional: false, description: "" },
585
+ columnSubGroupIndex: { type: "number", isOptional: false, description: "" },
586
+ ac1: { type: "number", isOptional: false, description: "" },
587
+ ac2: { type: "number", isOptional: false, description: "" },
588
+ ac3: { type: "number", isOptional: false, description: "" },
589
+ ac4: { type: "number", isOptional: false, description: "" },
590
+ pp1: { type: "number", isOptional: false, description: "" },
591
+ pp2: { type: "number", isOptional: false, description: "" },
592
+ pp3: { type: "number", isOptional: false, description: "" },
593
+ pp4: { type: "number", isOptional: false, description: "" },
594
+ fc1: { type: "number", isOptional: false, description: "" },
595
+ fc2: { type: "number", isOptional: false, description: "" },
596
+ fc3: { type: "number", isOptional: false, description: "" },
597
+ fc4: { type: "number", isOptional: false, description: "" },
598
+ pl1: { type: "number", isOptional: false, description: "" },
599
+ pl2: { type: "number", isOptional: false, description: "" },
600
+ pl3: { type: "number", isOptional: false, description: "" },
601
+ pl4: { type: "number", isOptional: false, description: "" },
602
+ },
603
+ };
604
+ return dataSetStructure;
605
+ }
606
+ prepareMeasureScale() {
607
+ if (isBlankInput(this.measureScale)) {
608
+ return "GREATEST";
609
+ }
610
+ if (["_", "k", "M", "G", "T", "P", "E", "Z", "Y", "m", "μ", "n", "p", "P", "f", "a", "z", "y"].includes(this.measureScale.trim())) {
611
+ return this.measureScale.trim();
612
+ }
613
+ if (this.measureScale.trim().toUpperCase() === "LEAST") {
614
+ return this.measureScale.trim();
615
+ }
616
+ return "GREATEST";
617
+ }
618
+ prepareShowMeasureScale(idx) {
619
+ return idx === 0 && this.showMeasureScale === "true";
620
+ }
621
+ prepareMeasureUnit() {
622
+ if (this.measureUnit === "" || this.measureUnit == null) {
623
+ return "";
624
+ }
625
+ return this.measureUnit;
626
+ }
627
+ chartTemplate(localScenarioString, idx) {
628
+ const effectiveFactor = this.getEffectiveScaleFactor();
629
+ const ppu = this.preparePixelPerUnit();
630
+ const ppp = this.preparePixelPerPercentage();
631
+ return (h("ibcs-chart-structure", { data: this.data, chartTitle: this.prepareChartTitle(idx), scenarios: this.prepareScenarios(), variances: [localScenarioString], hideCategories: this.prepareHideCategories(idx), pixelPerUnit: ppu > 0 ? ppu * effectiveFactor : 0, pixelPerPercentage: ppp > 0 ? ppp * effectiveFactor : 0, limit: this.prepareLimit(), styles: this.prepareStyle(), i18n: this.prepareI18n(), order: this.prepareOrder(), level: this.prepareLevel(), filter: this.prepareFilter(), "measure-scale": this.prepareMeasureScale(), "measure-unit": this.prepareMeasureUnit(), showMeasureScale: this.prepareShowMeasureScale(idx), stackConfig: this.prepareStackConfig(), parentDimensions: this.prepareDimension() }));
632
+ }
633
+ getEffectiveScaleFactor() {
634
+ const { mode, factor } = parseScaling(this.scale);
635
+ if (mode === "factor")
636
+ return factor;
637
+ if (mode === "auto" || mode === "empty")
638
+ return this.appliedScaleFactor;
639
+ return 1;
640
+ }
641
+ getFontStyles() {
642
+ const effectiveFactor = this.getEffectiveScaleFactor();
643
+ return this.componentStyle(($) => {
644
+ var _a, _b, _c, _d;
645
+ const baseFontSize = ((_a = $["global"]) === null || _a === void 0 ? void 0 : _a["fontSizePx"]) || 13.3333;
646
+ return {
647
+ "--bn-font-family": ((_b = $["global"]) === null || _b === void 0 ? void 0 : _b["fontFamily"]) || "'Noto Sans', sans-serif",
648
+ "--bn-font-size": `${baseFontSize * effectiveFactor}px`,
649
+ "--bn-font-color": ((_c = $["global"]) === null || _c === void 0 ? void 0 : _c["fontColor"]) || "#000000",
650
+ "--bn-font-background": ((_d = $["global"]) === null || _d === void 0 ? void 0 : _d["fontBackgroundColor"]) || "#ffffff",
651
+ };
652
+ });
653
+ }
654
+ render() {
655
+ let scenariosArray = [""];
656
+ const variancesArray = this.prepareVariances();
657
+ if (variancesArray.length > 0) {
658
+ scenariosArray = [...scenariosArray, ...variancesArray];
659
+ }
660
+ const fontStyles = this.getFontStyles();
661
+ return (h(Host, { key: '292a75492d9ba0f6ae65e25aa9da26bc094ed69d', style: fontStyles }, h("div", { key: '97e10ab499494b6fb71c628cdab049b077e62c44', class: "container" }, scenariosArray.map(this.chartTemplate))));
662
+ }
663
+ static get is() { return "bn-chart-structure"; }
664
+ static get encapsulation() { return "shadow"; }
665
+ static get originalStyleUrls() {
666
+ return {
667
+ "$": ["bn-chart-structure.scss"]
668
+ };
669
+ }
670
+ static get styleUrls() {
671
+ return {
672
+ "$": ["bn-chart-structure.css"]
673
+ };
674
+ }
675
+ static get properties() {
676
+ return {
677
+ "chartTitle": {
678
+ "type": "string",
679
+ "mutable": false,
680
+ "complexType": {
681
+ "original": "string",
682
+ "resolved": "string",
683
+ "references": {}
684
+ },
685
+ "required": false,
686
+ "optional": false,
687
+ "docs": {
688
+ "tags": [],
689
+ "text": "Custom chart title"
690
+ },
691
+ "getter": false,
692
+ "setter": false,
693
+ "reflect": false,
694
+ "attribute": "chart-title",
695
+ "defaultValue": "\"\""
696
+ },
697
+ "filter": {
698
+ "type": "string",
699
+ "mutable": false,
700
+ "complexType": {
701
+ "original": "string",
702
+ "resolved": "string",
703
+ "references": {}
704
+ },
705
+ "required": false,
706
+ "optional": false,
707
+ "docs": {
708
+ "tags": [],
709
+ "text": "AlaSQL WHERE clause fragment injected into the data query to filter\nrows before rendering (e.g. `\"rowGroup = 'Revenue'\"`)."
710
+ },
711
+ "getter": false,
712
+ "setter": false,
713
+ "reflect": false,
714
+ "attribute": "filter",
715
+ "defaultValue": "\"\""
716
+ },
717
+ "scenarios": {
718
+ "type": "string",
719
+ "mutable": false,
720
+ "complexType": {
721
+ "original": "string",
722
+ "resolved": "string",
723
+ "references": {}
724
+ },
725
+ "required": true,
726
+ "optional": false,
727
+ "docs": {
728
+ "tags": [],
729
+ "text": "List of Scenarios Map.\n<br /> <br />\nper chart there are up to 4 different scenarios supported.\nThe first 4 scenarios in the list are used, the rest ignored.\n\n<br /> <br />\n values:<br /> ```ac // fc // pp // pl [1-4] // auto```\n example:<br /> ```ac1,ac2,ac3,ac4```\n<br /> <br />\n When set to ```auto```, scenarios are detected from the dataset silently.\n When left blank, scenarios are detected from the dataset with a warning."
730
+ },
731
+ "getter": false,
732
+ "setter": false,
733
+ "reflect": false,
734
+ "attribute": "scenarios"
735
+ },
736
+ "variances": {
737
+ "type": "string",
738
+ "mutable": false,
739
+ "complexType": {
740
+ "original": "string",
741
+ "resolved": "string",
742
+ "references": {}
743
+ },
744
+ "required": true,
745
+ "optional": false,
746
+ "docs": {
747
+ "tags": [],
748
+ "text": "List of Variance Map.\n<br /> <br />\n Variance chart can be added by seperating the scenarios\n of each chart with ```;```<br />\n The additonal variances which\n are calculated form the given scenarios.\n the scenarios used in the variances have also\n be defined in the *scenarios* property.\n<br /> <br />\n the variance is defiend as (Scenario A - ScenarioB)\n neu. neg and pos post fix defines which value is *good*\n a negative or a positive value.\n<br /> <br />\n if empty variance charts are hidden\n<br /> <br />\n each variance creates a chart\n<br /> <br />\n pattern:<br /> ```d<scenarioB>_<scenarioA>_[pos/neg/neu]```\n\n example: <br />```'dpp1_ac1_neg,dfc1_ac1_neg'```"
749
+ },
750
+ "getter": false,
751
+ "setter": false,
752
+ "reflect": false,
753
+ "attribute": "variances"
754
+ },
755
+ "unitScaling": {
756
+ "type": "any",
757
+ "mutable": false,
758
+ "complexType": {
759
+ "original": "string | number",
760
+ "resolved": "number | string",
761
+ "references": {}
762
+ },
763
+ "required": true,
764
+ "optional": false,
765
+ "docs": {
766
+ "tags": [],
767
+ "text": "Name of the 'scaling-group' which the chart uses\nscaling groups are maintained globally\n<br /> <br />\nalternatively a number which represent the\npixel per measure unit."
768
+ },
769
+ "getter": false,
770
+ "setter": false,
771
+ "reflect": false,
772
+ "attribute": "unit-scaling"
773
+ },
774
+ "percentageScaling": {
775
+ "type": "any",
776
+ "mutable": false,
777
+ "complexType": {
778
+ "original": "string | number",
779
+ "resolved": "number | string",
780
+ "references": {}
781
+ },
782
+ "required": true,
783
+ "optional": false,
784
+ "docs": {
785
+ "tags": [],
786
+ "text": "Name of the 'scaling-group' which the chart uses\nscaling groups are maintained globally\n<br /> <br />\nalternatively a number which represent the\npixel per percentage."
787
+ },
788
+ "getter": false,
789
+ "setter": false,
790
+ "reflect": false,
791
+ "attribute": "percentage-scaling"
792
+ },
793
+ "level": {
794
+ "type": "string",
795
+ "mutable": false,
796
+ "complexType": {
797
+ "original": "string",
798
+ "resolved": "string",
799
+ "references": {}
800
+ },
801
+ "required": true,
802
+ "optional": false,
803
+ "docs": {
804
+ "tags": [],
805
+ "text": "Determines level on which the chart is aggregated on.\n<br /> <br />\n\nvalues:<br/>\n``` rowcategory // category // subcategory // auto```\n<br /> <br />\n When set to ```auto```, level is detected from the dataset silently.\n When left blank, level is detected from the dataset with a warning."
806
+ },
807
+ "getter": false,
808
+ "setter": false,
809
+ "reflect": false,
810
+ "attribute": "level"
811
+ },
812
+ "order": {
813
+ "type": "string",
814
+ "mutable": false,
815
+ "complexType": {
816
+ "original": "string",
817
+ "resolved": "string",
818
+ "references": {}
819
+ },
820
+ "required": true,
821
+ "optional": false,
822
+ "docs": {
823
+ "tags": [],
824
+ "text": "List of the primary scenarios on which the order direction are applied valid scenarios are\nIf order is set to a scenario it has also exists in scenariolist\n<br /><br />\nvalues:<br />\n``` category // categoryindex // rowgroup // rowgroup // rowgroupindex // ac[1-4] // fc[1-4] // py[1-4] // pl[1-4] // auto```\n<br /><br />\nWhen set to ```auto```, order is detected from the dataset silently.\nWhen left blank, order is detected from the dataset with a warning."
825
+ },
826
+ "getter": false,
827
+ "setter": false,
828
+ "reflect": false,
829
+ "attribute": "order"
830
+ },
831
+ "orderDirection": {
832
+ "type": "string",
833
+ "mutable": false,
834
+ "complexType": {
835
+ "original": "string",
836
+ "resolved": "string",
837
+ "references": {}
838
+ },
839
+ "required": true,
840
+ "optional": false,
841
+ "docs": {
842
+ "tags": [],
843
+ "text": "set sorting order direction\n<br /><br />\nvalues:<br />\n```asc // desc```"
844
+ },
845
+ "getter": false,
846
+ "setter": false,
847
+ "reflect": false,
848
+ "attribute": "order-direction"
849
+ },
850
+ "limit": {
851
+ "type": "number",
852
+ "mutable": false,
853
+ "complexType": {
854
+ "original": "number",
855
+ "resolved": "number",
856
+ "references": {}
857
+ },
858
+ "required": false,
859
+ "optional": false,
860
+ "docs": {
861
+ "tags": [],
862
+ "text": "Set the maximum number of bars for each\ngroup. The value 0 means *no limit*\n<br /><br />\nrows wich where cut by the limit are cumulated as REST"
863
+ },
864
+ "getter": false,
865
+ "setter": false,
866
+ "reflect": false,
867
+ "attribute": "limit",
868
+ "defaultValue": "0"
869
+ },
870
+ "showCategories": {
871
+ "type": "string",
872
+ "mutable": false,
873
+ "complexType": {
874
+ "original": "string",
875
+ "resolved": "string",
876
+ "references": {}
877
+ },
878
+ "required": false,
879
+ "optional": false,
880
+ "docs": {
881
+ "tags": [],
882
+ "text": ""
883
+ },
884
+ "getter": false,
885
+ "setter": false,
886
+ "reflect": false,
887
+ "attribute": "show-categories",
888
+ "defaultValue": "\"true\""
889
+ },
890
+ "measureScale": {
891
+ "type": "string",
892
+ "mutable": false,
893
+ "complexType": {
894
+ "original": "string",
895
+ "resolved": "string",
896
+ "references": {}
897
+ },
898
+ "required": false,
899
+ "optional": false,
900
+ "docs": {
901
+ "tags": [],
902
+ "text": "Sets the SiPrefix of the Mesaurements and converts the\noriginal value.\n<br /><br />\nvalues: <br />\n```_ // k // M // G // T // P // E // Z // Y // m // \u03BC // n // p // P // f // a // z // y // GREATEST // LEAST```\n<br /><br />\nSiPrefix overview:\n``` \"Y\": 1E+24,```<br />\n``` \"Z\": 1E+21,```<br />\n``` \"E\": 1E+18,```<br />\n``` \"P\": 1E+15,```<br />\n``` \"T\": 1E+12,```<br />\n``` \"G\": 1000000000,```<br />\n``` \"M\": 1000000,```<br />\n``` \"k\": 1000,```<br />\n<br />\n``` \"m\": 0.001,```<br />\n``` \"\u03BC\": 0.000001,```<br />\n``` \"n\": 0.000000001,```<br />\n``` \"p\": 0.000000000001,```<br />\n``` \"f\": 0.000000000000001,```<br />\n``` \"a\": 0.000000000000000001,```<br />\n``` \"z\": 0.000000000000000000001,```<br />\n``` \"y\": 0.000000000000000000000001,```<br />\n<br /><br />\nSpecial modes:\n```GREATEST``` seaches for the bigest (farest to zero) Value in the dataset and sets this value to SiPrefix<br />\n```LEAST``` searches for smallest (closest to zero) Value in the dataset and sets this value to SiPrefix<br />\n<br /><br />\n```_``` is the value for no SiPrefix the value is displayed as in the dataset stored."
903
+ },
904
+ "getter": false,
905
+ "setter": false,
906
+ "reflect": false,
907
+ "attribute": "measure-scale",
908
+ "defaultValue": "\"greatest\""
909
+ },
910
+ "showMeasureScale": {
911
+ "type": "string",
912
+ "mutable": false,
913
+ "complexType": {
914
+ "original": "string",
915
+ "resolved": "string",
916
+ "references": {}
917
+ },
918
+ "required": false,
919
+ "optional": false,
920
+ "docs": {
921
+ "tags": [],
922
+ "text": "Toggles display of measure units in table header\n<br /><br />\nvalues: <br />\n```true // false```"
923
+ },
924
+ "getter": false,
925
+ "setter": false,
926
+ "reflect": false,
927
+ "attribute": "show-measure-scale",
928
+ "defaultValue": "\"false\""
929
+ },
930
+ "measureUnit": {
931
+ "type": "string",
932
+ "mutable": false,
933
+ "complexType": {
934
+ "original": "string",
935
+ "resolved": "string",
936
+ "references": {}
937
+ },
938
+ "required": false,
939
+ "optional": false,
940
+ "docs": {
941
+ "tags": [],
942
+ "text": "measureUnit displayed in table."
943
+ },
944
+ "getter": false,
945
+ "setter": false,
946
+ "reflect": false,
947
+ "attribute": "measure-unit",
948
+ "defaultValue": "\"\""
949
+ },
950
+ "stack": {
951
+ "type": "string",
952
+ "mutable": false,
953
+ "complexType": {
954
+ "original": "string",
955
+ "resolved": "string",
956
+ "references": {}
957
+ },
958
+ "required": false,
959
+ "optional": false,
960
+ "docs": {
961
+ "tags": [{
962
+ "name": "default",
963
+ "text": "'' (empty \u2014 no stacking)"
964
+ }, {
965
+ "name": "example",
966
+ "text": "stack='{\"by\":\"scenario\"}'"
967
+ }],
968
+ "text": "Stacking configuration for the chart as a JSON string.\n\nWhen set, bars are drawn stacked (additive layers) instead of side-by-side."
969
+ },
970
+ "getter": false,
971
+ "setter": false,
972
+ "reflect": false,
973
+ "attribute": "stack",
974
+ "defaultValue": "\"\""
975
+ },
976
+ "scale": {
977
+ "type": "string",
978
+ "mutable": false,
979
+ "complexType": {
980
+ "original": "string",
981
+ "resolved": "string",
982
+ "references": {}
983
+ },
984
+ "required": false,
985
+ "optional": true,
986
+ "docs": {
987
+ "tags": [],
988
+ "text": "Controls proportional scaling of the chart to fit the available parent height.\n\n| Value | Behavior |\n|---------------------|-----------------------------------------------------------------------------------|\n| not set / `\"\"` | Auto-scale to fit parent height; emit `AUTO_scale` warning with the applied factor |\n| `\"none\"` | No scaling (render at base font size regardless of available space) |\n| `\"auto\"` | Auto-scale to fit parent height silently (no warning) |\n| `\"0.5\"`, `\"1.2\"`, \u2026 | Fixed factor \u2014 apply `baseFontSize \u00D7 factor` |"
989
+ },
990
+ "getter": false,
991
+ "setter": false,
992
+ "reflect": false,
993
+ "attribute": "scale"
994
+ }
995
+ };
996
+ }
997
+ static get states() {
998
+ return {
999
+ "data": {},
1000
+ "datasetMeta": {},
1001
+ "appliedScaleFactor": {}
1002
+ };
1003
+ }
1004
+ static get elementRef() { return "element"; }
1005
+ static get watchers() {
1006
+ return [{
1007
+ "propName": "scenarios",
1008
+ "methodName": "validateScenario"
1009
+ }, {
1010
+ "propName": "variances",
1011
+ "methodName": "validateVariances"
1012
+ }, {
1013
+ "propName": "unitScaling",
1014
+ "methodName": "validateUnitScaling"
1015
+ }, {
1016
+ "propName": "percentageScaling",
1017
+ "methodName": "validatePercentageScaling"
1018
+ }, {
1019
+ "propName": "level",
1020
+ "methodName": "validateLevel"
1021
+ }, {
1022
+ "propName": "order",
1023
+ "methodName": "validateOrderList"
1024
+ }, {
1025
+ "propName": "orderDirection",
1026
+ "methodName": "validateOrderDirection"
1027
+ }, {
1028
+ "propName": "limit",
1029
+ "methodName": "validateLimit"
1030
+ }, {
1031
+ "propName": "showCategories",
1032
+ "methodName": "validateShowCategories"
1033
+ }, {
1034
+ "propName": "measureScale",
1035
+ "methodName": "validateMeasureScale"
1036
+ }, {
1037
+ "propName": "showMeasureScale",
1038
+ "methodName": "validateShowMeasureScale"
1039
+ }, {
1040
+ "propName": "stack",
1041
+ "methodName": "validateStack"
1042
+ }, {
1043
+ "propName": "scale",
1044
+ "methodName": "validateScaling"
1045
+ }];
1046
+ }
1047
+ }