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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (360) hide show
  1. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
  2. package/dist/bn-template-engine/p-14318b0d.entry.js +1 -0
  3. package/dist/bn-template-engine/{p-c9f050bf.entry.js → p-2133e02b.entry.js} +1 -1
  4. package/dist/bn-template-engine/p-6b469808.entry.js +1 -0
  5. package/dist/bn-template-engine/p-7HSTE79g.js +1 -0
  6. package/dist/bn-template-engine/p-9b1288df.entry.js +1 -0
  7. package/dist/bn-template-engine/p-B4JfKvVT.js +1 -0
  8. package/dist/bn-template-engine/p-B_d-jp99.js +2 -0
  9. package/dist/bn-template-engine/p-Bi2wx-el.js +1 -0
  10. package/dist/bn-template-engine/p-CWiZks2h.js +1 -0
  11. package/dist/bn-template-engine/{p-BQp6ZPYW.js → p-DSXNgKLa.js} +1 -1
  12. package/dist/bn-template-engine/p-c2cbb8ea.entry.js +1 -0
  13. package/dist/bn-template-engine/p-e783733e.entry.js +1 -0
  14. package/dist/bn-template-engine/p-e94b4e31.entry.js +1 -0
  15. package/dist/bn-template-engine/p-fdb3e99a.entry.js +1 -0
  16. package/dist/cjs/bn-asset_21.cjs.entry.js +23906 -0
  17. package/dist/cjs/bn-grid.cjs.entry.js +6 -13
  18. package/dist/cjs/bn-image.cjs.entry.js +6 -13
  19. package/dist/cjs/bn-internationalization.cjs.entry.js +5 -7
  20. package/dist/cjs/bn-template-engine.cjs.js +2 -2
  21. package/dist/cjs/bn-template.cjs.entry.js +4 -6
  22. package/dist/cjs/bn-text.cjs.entry.js +10 -19
  23. package/dist/cjs/bn-tree.cjs.entry.js +11 -14
  24. package/dist/cjs/{context-protocol-BkYHFkXE.js → context-protocol-B_jipZpJ.js} +6 -2
  25. package/dist/cjs/editor-companion.cjs.entry.js +3 -3
  26. package/dist/cjs/{index-CScBFiS1.js → index-CDKG4xmO.js} +2 -2
  27. package/dist/cjs/loader.cjs.js +2 -2
  28. package/dist/cjs/scaling-eyzCrFB8.js +329 -0
  29. package/dist/cjs/{withBodyObserver-B0_W1VOf.js → withBodyObserver-D7BKWN2N.js} +2 -2
  30. package/dist/cjs/{withHasError-Dspb3lIV.js → withHasError-Cl2gTQzA.js} +106 -2
  31. package/dist/{esm/luxon-DbyXf6dF.js → cjs/withStyled-V7xz_x1c.js} +1406 -1
  32. package/dist/collection/collection-manifest.json +2 -10
  33. package/dist/collection/components/bn-body/bn-body.css +1 -0
  34. package/dist/collection/components/bn-card/bn-card.css +2 -0
  35. package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +368 -130
  36. package/dist/collection/components/bn-chart-structure/ibcs-chart-structure.js +34 -10
  37. package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +94 -11
  38. package/dist/collection/components/bn-chart-structure/utils/elements/Label.js +11 -0
  39. package/dist/collection/components/bn-chart-structure/utils/elements/StackedBar.js +8 -6
  40. package/dist/collection/components/bn-chart-structure/utils/model/styles/StructureChartStyle.js +4 -0
  41. package/dist/collection/components/bn-chart-time/bn-chart-time.css +1 -1
  42. package/dist/collection/components/bn-chart-time/bn-chart-time.js +172 -51
  43. package/dist/collection/components/bn-chart-time/ibcs-chart-time.js +22 -9
  44. package/dist/collection/components/bn-chart-time/utils/TimeChart.js +3 -3
  45. package/dist/collection/components/bn-chart-time/utils/elements/StackedColumn.js +3 -4
  46. package/dist/collection/components/bn-chart-time/utils/model/styles/TimeChartStyle.js +4 -0
  47. package/dist/collection/components/bn-dataset/bn-dataset.js +49 -2
  48. package/dist/collection/components/bn-datasource/bn-datasource.js +46 -3
  49. package/dist/collection/components/bn-layout-card/bn-layout-card.css +3 -2
  50. package/dist/collection/components/bn-layout-card/bn-layout-card.js +207 -32
  51. package/dist/collection/components/bn-layout-page/bn-layout-page.css +1 -3
  52. package/dist/collection/components/bn-layout-page/bn-layout-page.js +172 -43
  53. package/dist/collection/components/bn-message/bn-message.js +1 -1
  54. package/dist/collection/components/bn-page/bn-page.js +1 -1
  55. package/dist/collection/components/bn-scaling-group/bn-scaling-group.css +3 -0
  56. package/dist/collection/components/bn-scaling-group/bn-scaling-group.js +136 -0
  57. package/dist/collection/components/bn-table/bn-table.js +201 -55
  58. package/dist/collection/components/bn-table/ibcs-table.css +7 -5
  59. package/dist/collection/components/bn-table/ibcs-table.js +91 -5
  60. package/dist/collection/components/bn-table/utils/elements/CellBarChart.js +79 -31
  61. package/dist/collection/components/bn-table/utils/elements/TableRow.js +3 -1
  62. package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +12 -3
  63. package/dist/collection/components/bn-table/utils/helper/ColumnStatistics.js +9 -1
  64. package/dist/collection/components/bn-template/bn-template.js +1 -1
  65. package/dist/collection/components/bn-text/bn-text.js +1 -1
  66. package/dist/collection/components/bn-title/bn-title.js +1 -9
  67. package/dist/collection/components/bn-title/ibcs-title/ibcs-title.js +1 -1
  68. package/dist/collection/components/bn-tree/bn-tree.js +5 -1
  69. package/dist/collection/components/editor-companion/editor-companion.js +1 -1
  70. package/dist/collection/stores/componentStyles.js +2 -0
  71. package/dist/collection/stores/createScopedStores.js +3 -1
  72. package/dist/collection/utils/DateStringFactory.js +0 -1
  73. package/dist/collection/utils/constants.js +35 -5
  74. package/dist/collection/utils/contentDecoder.js +28 -0
  75. package/dist/collection/utils/layoutObserver.js +88 -0
  76. package/dist/collection/utils/parentDimensions.js +57 -10
  77. package/dist/collection/utils/stackColors.js +2 -2
  78. package/dist/collection/utils/validate.js +5 -2
  79. package/dist/collection/utils/withInheritedProps.js +152 -0
  80. package/dist/collection/utils/withScalingGroup.js +66 -0
  81. package/dist/components/DataFormatDigits.js +1 -1
  82. package/dist/components/DateStringFactory.js +1 -1
  83. package/dist/components/Order.js +1 -1
  84. package/dist/components/SVGVariancesStyleGroup.js +1 -1
  85. package/dist/components/bn-body2.js +1 -1
  86. package/dist/components/bn-card2.js +1 -1
  87. package/dist/components/bn-chart-structure.js +1 -1
  88. package/dist/components/bn-chart-time.js +1 -1
  89. package/dist/components/bn-dataset.js +1 -1
  90. package/dist/components/bn-datasource.js +1 -1
  91. package/dist/components/bn-layout-card.js +1 -1
  92. package/dist/components/bn-layout-page.js +1 -1
  93. package/dist/components/bn-message2.js +1 -1
  94. package/dist/components/bn-page2.js +1 -1
  95. package/dist/components/{test-runner-time.d.ts → bn-scaling-group.d.ts} +4 -4
  96. package/dist/components/bn-scaling-group.js +1 -0
  97. package/dist/components/bn-table.js +1 -1
  98. package/dist/components/bn-template.js +1 -1
  99. package/dist/components/bn-text.js +1 -1
  100. package/dist/components/bn-title2.js +1 -1
  101. package/dist/components/bn-tree.js +1 -1
  102. package/dist/components/contentDecoder.js +1 -0
  103. package/dist/components/context-protocol.js +1 -1
  104. package/dist/components/editor-companion.js +1 -1
  105. package/dist/components/emotion-hash.esm.js +1 -0
  106. package/dist/components/ibcs-chart-structure2.js +1 -1
  107. package/dist/components/ibcs-chart-time2.js +1 -1
  108. package/dist/components/ibcs-table2.js +1 -1
  109. package/dist/components/ibcs-title2.js +1 -1
  110. package/dist/components/ibcsRuleSet.js +1 -1
  111. package/dist/components/layoutObserver.js +1 -0
  112. package/dist/components/scaling.js +1 -1
  113. package/dist/components/validate.js +1 -1
  114. package/dist/components/withHasError.js +1 -1
  115. package/dist/components/withInheritedProps.js +1 -0
  116. package/dist/components/withStyled.js +1 -1
  117. package/dist/esm/bn-asset_21.entry.js +23884 -0
  118. package/dist/esm/bn-grid.entry.js +4 -11
  119. package/dist/esm/bn-image.entry.js +4 -11
  120. package/dist/esm/bn-internationalization.entry.js +4 -6
  121. package/dist/esm/bn-template-engine.js +3 -3
  122. package/dist/esm/bn-template.entry.js +3 -5
  123. package/dist/esm/bn-text.entry.js +6 -15
  124. package/dist/esm/bn-tree.entry.js +9 -12
  125. package/dist/esm/{context-protocol-DzeqZxg6.js → context-protocol-D-o_UZ33.js} +6 -2
  126. package/dist/esm/editor-companion.entry.js +3 -3
  127. package/dist/esm/{index-B27Ax6P_.js → index-B_d-jp99.js} +2 -2
  128. package/dist/esm/loader.js +3 -3
  129. package/dist/esm/scaling-BzbiBnuN.js +324 -0
  130. package/dist/esm/{withBodyObserver-gZpZiEIK.js → withBodyObserver-AFk2wwHT.js} +2 -2
  131. package/dist/esm/{withHasError-C48fTE2k.js → withHasError-DW_vMDUp.js} +106 -2
  132. package/dist/{cjs/luxon-8hyy5YD7.js → esm/withStyled-5RqF8WBL.js} +1371 -2
  133. package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +163 -110
  134. package/dist/types/components/bn-chart-structure/ibcs-chart-structure.d.ts +4 -3
  135. package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +7 -0
  136. package/dist/types/components/bn-chart-structure/utils/elements/Label.d.ts +2 -0
  137. package/dist/types/components/bn-chart-structure/utils/model/styles/StructureChartStyle.d.ts +1 -0
  138. package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +29 -12
  139. package/dist/types/components/bn-chart-time/ibcs-chart-time.d.ts +4 -3
  140. package/dist/types/components/bn-chart-time/utils/model/styles/TimeChartStyle.d.ts +1 -0
  141. package/dist/types/components/bn-dataset/bn-dataset.d.ts +6 -0
  142. package/dist/types/components/bn-datasource/bn-datasource.d.ts +8 -0
  143. package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +153 -0
  144. package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +160 -1
  145. package/dist/types/components/bn-scaling-group/bn-scaling-group.d.ts +37 -0
  146. package/dist/types/components/bn-table/bn-table.d.ts +32 -16
  147. package/dist/types/components/bn-table/ibcs-table.d.ts +20 -0
  148. package/dist/types/components/bn-table/utils/elements/Cell.d.ts +1 -0
  149. package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +1 -0
  150. package/dist/types/components/bn-title/bn-title.d.ts +0 -1
  151. package/dist/types/components.d.ts +389 -443
  152. package/dist/types/context/context-protocol.d.ts +2 -1
  153. package/dist/types/stores/componentStyles.d.ts +2 -0
  154. package/dist/types/stores/createScopedStores.d.ts +1 -0
  155. package/dist/types/utils/constants.d.ts +23 -5
  156. package/dist/types/utils/contentDecoder.d.ts +12 -0
  157. package/dist/types/utils/layoutObserver.d.ts +27 -0
  158. package/dist/types/utils/parentDimensions.d.ts +7 -2
  159. package/dist/types/utils/validate.d.ts +1 -0
  160. package/dist/types/utils/withInheritedProps.d.ts +38 -0
  161. package/dist/types/utils/withScalingGroup.d.ts +14 -0
  162. package/package.json +3 -3
  163. package/readme.md +0 -1
  164. package/dist/bn-template-engine/assets/gpx/Chasing_Legends.gpx +0 -195076
  165. package/dist/bn-template-engine/assets/gpx/Fahrt_am_Nachmittag.gpx +0 -142007
  166. package/dist/bn-template-engine/assets/icons/gpx-finish.png +0 -0
  167. package/dist/bn-template-engine/assets/icons/gpx-shadow.png +0 -0
  168. package/dist/bn-template-engine/assets/icons/gpx-start.png +0 -0
  169. package/dist/bn-template-engine/assets/icons/marker-example.png +0 -0
  170. package/dist/bn-template-engine/assets/icons/pin-icon-end.png +0 -0
  171. package/dist/bn-template-engine/assets/icons/pin-icon-start.png +0 -0
  172. package/dist/bn-template-engine/assets/icons/pin-icon-wpt.png +0 -0
  173. package/dist/bn-template-engine/assets/icons/pin-shadow.png +0 -0
  174. package/dist/bn-template-engine/assets/icons/pin.png +0 -0
  175. package/dist/bn-template-engine/p--TeDldm8.js +0 -1
  176. package/dist/bn-template-engine/p-0e7dc113.entry.js +0 -1
  177. package/dist/bn-template-engine/p-1jFf17Vj.js +0 -1
  178. package/dist/bn-template-engine/p-264c6bad.entry.js +0 -1
  179. package/dist/bn-template-engine/p-326a0902.entry.js +0 -1
  180. package/dist/bn-template-engine/p-38a8bde3.entry.js +0 -1
  181. package/dist/bn-template-engine/p-577eafcd.entry.js +0 -1
  182. package/dist/bn-template-engine/p-5905cc43.entry.js +0 -1
  183. package/dist/bn-template-engine/p-5d155a72.entry.js +0 -1
  184. package/dist/bn-template-engine/p-65f8962a.entry.js +0 -1
  185. package/dist/bn-template-engine/p-6b8d1ebf.entry.js +0 -1
  186. package/dist/bn-template-engine/p-7995acb2.entry.js +0 -1
  187. package/dist/bn-template-engine/p-7afe431e.entry.js +0 -1
  188. package/dist/bn-template-engine/p-8014b1ac.entry.js +0 -1
  189. package/dist/bn-template-engine/p-80423fc8.entry.js +0 -1
  190. package/dist/bn-template-engine/p-91e74d42.entry.js +0 -1
  191. package/dist/bn-template-engine/p-930a9e29.entry.js +0 -1
  192. package/dist/bn-template-engine/p-93C9jL8R.js +0 -1
  193. package/dist/bn-template-engine/p-93ff8584.entry.js +0 -1
  194. package/dist/bn-template-engine/p-B0m0U4wJ.js +0 -1
  195. package/dist/bn-template-engine/p-B27Ax6P_.js +0 -2
  196. package/dist/bn-template-engine/p-B79VcHiT.js +0 -1
  197. package/dist/bn-template-engine/p-BBd0ZVLL.js +0 -1
  198. package/dist/bn-template-engine/p-BFTU3MAI.js +0 -1
  199. package/dist/bn-template-engine/p-BFatTBqh.js +0 -1
  200. package/dist/bn-template-engine/p-BYmPQYxx.js +0 -1
  201. package/dist/bn-template-engine/p-BhEQy-2D.js +0 -1
  202. package/dist/bn-template-engine/p-BtVfu16B.js +0 -1
  203. package/dist/bn-template-engine/p-CY1RzLjU.js +0 -1
  204. package/dist/bn-template-engine/p-CfWnag33.js +0 -1
  205. package/dist/bn-template-engine/p-CnI71OA9.js +0 -1
  206. package/dist/bn-template-engine/p-Cp4MVxCu.js +0 -1
  207. package/dist/bn-template-engine/p-DbyXf6dF.js +0 -1
  208. package/dist/bn-template-engine/p-TdL-LRR9.js +0 -1
  209. package/dist/bn-template-engine/p-_LBTIfNN.js +0 -1
  210. package/dist/bn-template-engine/p-a342cd3c.entry.js +0 -1
  211. package/dist/bn-template-engine/p-ad94cf63.entry.js +0 -1
  212. package/dist/bn-template-engine/p-bc37d750.entry.js +0 -1
  213. package/dist/bn-template-engine/p-d07a0ca3.entry.js +0 -1
  214. package/dist/bn-template-engine/p-e5f372af.entry.js +0 -1
  215. package/dist/bn-template-engine/p-e620028c.entry.js +0 -1
  216. package/dist/bn-template-engine/p-e81e116a.entry.js +0 -1
  217. package/dist/bn-template-engine/p-eca98070.entry.js +0 -1
  218. package/dist/bn-template-engine/p-ee6de950.entry.js +0 -1
  219. package/dist/bn-template-engine/p-efe0ef1e.entry.js +0 -1
  220. package/dist/bn-template-engine/p-f034f1b8.entry.js +0 -1
  221. package/dist/bn-template-engine/p-f1c1a8a3.entry.js +0 -1
  222. package/dist/bn-template-engine/p-fe573a1a.entry.js +0 -1
  223. package/dist/bn-template-engine/p-kMyLevYy.js +0 -1
  224. package/dist/cjs/DataFormatDigits-DmTbhF8q.js +0 -142
  225. package/dist/cjs/DateStringFactory-Dn0aRj2Y.js +0 -453
  226. package/dist/cjs/Order-B4NIqQWe.js +0 -129
  227. package/dist/cjs/SVGVariancesStyleGroup-Czizhngt.js +0 -7973
  228. package/dist/cjs/StringAdapter-0EbYMkR0.js +0 -136
  229. package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +0 -10
  230. package/dist/cjs/alasql.min-C_nHTuEQ.js +0 -306
  231. package/dist/cjs/bn-asset.cjs.entry.js +0 -42
  232. package/dist/cjs/bn-body_3.cjs.entry.js +0 -413
  233. package/dist/cjs/bn-card.cjs.entry.js +0 -37
  234. package/dist/cjs/bn-chart-structure.cjs.entry.js +0 -705
  235. package/dist/cjs/bn-chart-time.cjs.entry.js +0 -987
  236. package/dist/cjs/bn-component-style.cjs.entry.js +0 -44
  237. package/dist/cjs/bn-context_5.cjs.entry.js +0 -3380
  238. package/dist/cjs/bn-dataset.cjs.entry.js +0 -278
  239. package/dist/cjs/bn-layout-card.cjs.entry.js +0 -128
  240. package/dist/cjs/bn-layout-page.cjs.entry.js +0 -142
  241. package/dist/cjs/bn-map.cjs.entry.js +0 -425
  242. package/dist/cjs/bn-message.cjs.entry.js +0 -52
  243. package/dist/cjs/componentRegister-C17UFNPh.js +0 -72
  244. package/dist/cjs/constants-DHqQXSSd.js +0 -158
  245. package/dist/cjs/formatter-DIJL_crx.js +0 -215
  246. package/dist/cjs/ibcs-chart-structure.cjs.entry.js +0 -2906
  247. package/dist/cjs/ibcs-chart-time.cjs.entry.js +0 -4140
  248. package/dist/cjs/ibcs-map.cjs.entry.js +0 -1075
  249. package/dist/cjs/ibcs-title.cjs.entry.js +0 -352
  250. package/dist/cjs/scaling-B23eOtsC.js +0 -67
  251. package/dist/cjs/test-runner-card.cjs.entry.js +0 -27
  252. package/dist/cjs/test-runner-chart-time.cjs.entry.js +0 -230
  253. package/dist/cjs/test-runner-chart.cjs.entry.js +0 -326
  254. package/dist/cjs/test-runner-map.cjs.entry.js +0 -1862
  255. package/dist/cjs/test-runner-table.cjs.entry.js +0 -477
  256. package/dist/cjs/test-runner-time.cjs.entry.js +0 -381
  257. package/dist/cjs/test-runner-title.cjs.entry.js +0 -115
  258. package/dist/cjs/withComponentStatus-BrxL7usr.js +0 -39
  259. package/dist/cjs/withComponentStyle-C6KHnZHt.js +0 -128
  260. package/dist/cjs/withDataset-ZdN-RRTx.js +0 -146
  261. package/dist/cjs/withStyled-Bf-stJTR.js +0 -567
  262. package/dist/cjs/withTranslation-Cz0M5maV.js +0 -77
  263. package/dist/collection/components/bn-map/bn-map.css +0 -4
  264. package/dist/collection/components/bn-map/bn-map.js +0 -725
  265. package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Chasing_Legends.gpx +0 -195076
  266. package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Fahrt_am_Nachmittag.gpx +0 -142007
  267. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-finish.png +0 -0
  268. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-shadow.png +0 -0
  269. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-start.png +0 -0
  270. package/dist/collection/components/bn-map/ibcs-map/assets/icons/marker-example.png +0 -0
  271. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-end.png +0 -0
  272. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-start.png +0 -0
  273. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-wpt.png +0 -0
  274. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-shadow.png +0 -0
  275. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin.png +0 -0
  276. package/dist/collection/components/bn-map/ibcs-map/ibcs-map.css +0 -674
  277. package/dist/collection/components/bn-map/ibcs-map/ibcs-map.js +0 -744
  278. package/dist/collection/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.js +0 -9
  279. package/dist/collection/components/bn-map/ibcs-map/utils/model/GpxLayer.js +0 -13
  280. package/dist/collection/components/bn-map/ibcs-map/utils/model/Marker.js +0 -11
  281. package/dist/collection/components/bn-map/ibcs-map/utils/model/index.js +0 -2
  282. package/dist/collection/test-runner/test-runner-card.js +0 -36
  283. package/dist/collection/test-runner/test-runner-chart-time.js +0 -234
  284. package/dist/collection/test-runner/test-runner-chart.js +0 -364
  285. package/dist/collection/test-runner/test-runner-map.js +0 -1901
  286. package/dist/collection/test-runner/test-runner-table.js +0 -469
  287. package/dist/collection/test-runner/test-runner-time.js +0 -399
  288. package/dist/collection/test-runner/test-runner-title.js +0 -108
  289. package/dist/components/bn-map.d.ts +0 -11
  290. package/dist/components/bn-map.js +0 -1
  291. package/dist/components/componentRegister.js +0 -1
  292. package/dist/components/ibcs-map.d.ts +0 -11
  293. package/dist/components/ibcs-map.js +0 -1
  294. package/dist/components/ibcs-map2.js +0 -1
  295. package/dist/components/test-runner-card.d.ts +0 -11
  296. package/dist/components/test-runner-card.js +0 -1
  297. package/dist/components/test-runner-chart-time.d.ts +0 -11
  298. package/dist/components/test-runner-chart-time.js +0 -1
  299. package/dist/components/test-runner-chart.d.ts +0 -11
  300. package/dist/components/test-runner-chart.js +0 -1
  301. package/dist/components/test-runner-map.d.ts +0 -11
  302. package/dist/components/test-runner-map.js +0 -1
  303. package/dist/components/test-runner-table.d.ts +0 -11
  304. package/dist/components/test-runner-table.js +0 -1
  305. package/dist/components/test-runner-time.js +0 -1
  306. package/dist/components/test-runner-title.d.ts +0 -11
  307. package/dist/components/test-runner-title.js +0 -1
  308. package/dist/components/withDataset.js +0 -1
  309. package/dist/esm/DataFormatDigits-Dt6gpIiZ.js +0 -137
  310. package/dist/esm/DateStringFactory-_Qiv0IvF.js +0 -451
  311. package/dist/esm/Order-B4fpLe_f.js +0 -125
  312. package/dist/esm/SVGVariancesStyleGroup-DlWgvpzs.js +0 -7961
  313. package/dist/esm/StringAdapter-BLvo1Krl.js +0 -133
  314. package/dist/esm/_commonjsHelpers-BFTU3MAI.js +0 -7
  315. package/dist/esm/alasql.min-CWu4NkIt.js +0 -304
  316. package/dist/esm/bn-asset.entry.js +0 -40
  317. package/dist/esm/bn-body_3.entry.js +0 -409
  318. package/dist/esm/bn-card.entry.js +0 -35
  319. package/dist/esm/bn-chart-structure.entry.js +0 -703
  320. package/dist/esm/bn-chart-time.entry.js +0 -985
  321. package/dist/esm/bn-component-style.entry.js +0 -42
  322. package/dist/esm/bn-context_5.entry.js +0 -3374
  323. package/dist/esm/bn-dataset.entry.js +0 -276
  324. package/dist/esm/bn-layout-card.entry.js +0 -126
  325. package/dist/esm/bn-layout-page.entry.js +0 -140
  326. package/dist/esm/bn-map.entry.js +0 -423
  327. package/dist/esm/bn-message.entry.js +0 -50
  328. package/dist/esm/componentRegister-BtVfu16B.js +0 -72
  329. package/dist/esm/constants-kMyLevYy.js +0 -158
  330. package/dist/esm/formatter-DTMEZ6d8.js +0 -211
  331. package/dist/esm/ibcs-chart-structure.entry.js +0 -2904
  332. package/dist/esm/ibcs-chart-time.entry.js +0 -4138
  333. package/dist/esm/ibcs-map.entry.js +0 -1073
  334. package/dist/esm/ibcs-title.entry.js +0 -350
  335. package/dist/esm/scaling-BBd0ZVLL.js +0 -64
  336. package/dist/esm/test-runner-card.entry.js +0 -25
  337. package/dist/esm/test-runner-chart-time.entry.js +0 -228
  338. package/dist/esm/test-runner-chart.entry.js +0 -324
  339. package/dist/esm/test-runner-map.entry.js +0 -1860
  340. package/dist/esm/test-runner-table.entry.js +0 -475
  341. package/dist/esm/test-runner-time.entry.js +0 -379
  342. package/dist/esm/test-runner-title.entry.js +0 -113
  343. package/dist/esm/withComponentStatus-elELReKt.js +0 -37
  344. package/dist/esm/withComponentStyle-NaxfakAG.js +0 -126
  345. package/dist/esm/withDataset-BT2VQCsG.js +0 -144
  346. package/dist/esm/withStyled-CpUTv74m.js +0 -539
  347. package/dist/esm/withTranslation-Do4GhleK.js +0 -75
  348. package/dist/types/components/bn-map/bn-map.d.ts +0 -122
  349. package/dist/types/components/bn-map/ibcs-map/ibcs-map.d.ts +0 -73
  350. package/dist/types/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.d.ts +0 -8
  351. package/dist/types/components/bn-map/ibcs-map/utils/model/GpxLayer.d.ts +0 -11
  352. package/dist/types/components/bn-map/ibcs-map/utils/model/Marker.d.ts +0 -9
  353. package/dist/types/components/bn-map/ibcs-map/utils/model/index.d.ts +0 -2
  354. package/dist/types/test-runner/test-runner-card.d.ts +0 -3
  355. package/dist/types/test-runner/test-runner-chart-time.d.ts +0 -3
  356. package/dist/types/test-runner/test-runner-chart.d.ts +0 -3
  357. package/dist/types/test-runner/test-runner-map.d.ts +0 -3
  358. package/dist/types/test-runner/test-runner-table.d.ts +0 -3
  359. package/dist/types/test-runner/test-runner-time.d.ts +0 -3
  360. package/dist/types/test-runner/test-runner-title.d.ts +0 -3
@@ -1,350 +0,0 @@
1
- import { r as registerInstance, h } from './index-B27Ax6P_.js';
2
- import { I as I18nMode } from './constants-kMyLevYy.js';
3
- import { b as DateStringFactory, D as DateDistance, a as DateLink } from './DateStringFactory-_Qiv0IvF.js';
4
- import { F as Formatter } from './formatter-DTMEZ6d8.js';
5
- import { C as CompareUtil, A as AdapterUtils, O as OrderDirection, b as OrderAdapter } from './Order-B4fpLe_f.js';
6
- import { I as IBCSRuleSet, S as StringAdapter } from './StringAdapter-BLvo1Krl.js';
7
- import { D as DateTime } from './luxon-DbyXf6dF.js';
8
- import './_commonjsHelpers-BFTU3MAI.js';
9
-
10
- class TitleDataSetFactory {
11
- constructor() { }
12
- /**
13
- * Creates measures, adds i18n to each element
14
- * @param measures
15
- * @param i18n
16
- * @param i18nMode
17
- */
18
- createMeasures(measures, i18n, i18nMode) {
19
- if (this.allMeasuresUseSameUnit(measures)) {
20
- const amountOfMeasures = measures.length;
21
- let measureName = "";
22
- let unit = "";
23
- for (let i = 0; i < amountOfMeasures; i++) {
24
- let separator = "";
25
- if (i > 0) {
26
- separator = i18n.get("SEPERATOR_WS");
27
- }
28
- if (amountOfMeasures > 1 && i === amountOfMeasures - 1) {
29
- separator = i18n.get("CONNECTOR_WS");
30
- }
31
- if (i18nMode === I18nMode.ALL) {
32
- measureName =
33
- (i18n.get(measureName) || measureName) + separator + (i18n.get(measures[i].name) || measures[i].name);
34
- unit = i18n.get(measures[i].unit) || measures[i].unit;
35
- }
36
- else {
37
- measureName = measureName + separator + measures[i].name;
38
- unit = measures[i].unit;
39
- }
40
- }
41
- return [
42
- {
43
- name: measureName,
44
- unit: unit,
45
- },
46
- ];
47
- }
48
- else {
49
- return measures;
50
- }
51
- }
52
- /**
53
- * Creates Dimension String,
54
- * concat of translated scenarios, time and order
55
- *
56
- * @param scenarios
57
- * @param time
58
- * @param order
59
- * @param i18n
60
- */
61
- createDimension(scenarios, time, order, i18n, spanLimit) {
62
- let formatedTime = "";
63
- if (time !== undefined) {
64
- formatedTime = new DateStringFactory().getDateLinkString(time.start, time.end, time.link, time.format, spanLimit);
65
- }
66
- const formatedScenarios = scenarios
67
- .map((scenario) => {
68
- let orderString = "";
69
- if (order != null && order.hierarchy != null) {
70
- if (order.hierarchy.find((x) => x === scenario)) {
71
- if (order.direction === "asc") {
72
- orderString = i18n.get("ORDER_asc");
73
- }
74
- else {
75
- orderString = i18n.get("ORDER_desc");
76
- }
77
- }
78
- }
79
- return "".concat(" ", Formatter.translateScenarioLabel(scenario, i18n), orderString);
80
- })
81
- .toString();
82
- return formatedTime + formatedScenarios;
83
- }
84
- allMeasuresUseSameUnit(measures) {
85
- const units = new Map();
86
- measures.forEach(function (entry) {
87
- units.set(entry.unit, true);
88
- });
89
- const hasOneUnit = units.size === 1;
90
- return hasOneUnit;
91
- }
92
- }
93
-
94
- class TitleConfig {
95
- constructor() {
96
- this.businessunit = "";
97
- this.measures = [];
98
- this.scenarios = [];
99
- this.i18nMode = I18nMode.ALL;
100
- this.intervalSpanLimit = 32;
101
- }
102
- }
103
- class TitleConifgAdapter {
104
- constructor(measureEntryAdapter, timePeriodAdapter, orderAdapter, stringAdapter) {
105
- this.measureEntryAdapter = measureEntryAdapter;
106
- this.timePeriodAdapter = timePeriodAdapter;
107
- this.orderAdapter = orderAdapter;
108
- this.stringAdapter = stringAdapter;
109
- }
110
- adapt(data) {
111
- const config = new TitleConfig();
112
- if (CompareUtil.isString(data.businessunit)) {
113
- config.businessunit = data.businessunit;
114
- }
115
- if (CompareUtil.isArray(data.measures)) {
116
- config.measures = AdapterUtils.adaptArray(data.measures, this.measureEntryAdapter);
117
- }
118
- if (CompareUtil.isArray(data.scenarios)) {
119
- config.scenarios = AdapterUtils.adaptArray(data.scenarios, this.stringAdapter);
120
- }
121
- if (CompareUtil.isExisting(data.timeperiod)) {
122
- config.timeperiod = this.timePeriodAdapter.adapt(data.timeperiod);
123
- }
124
- if (CompareUtil.isNumber(data.intervalSpanLimit)) {
125
- config.intervalSpanLimit = data.intervalSpanLimit;
126
- }
127
- if (CompareUtil.isExisting(data.i18nMode)) {
128
- config.i18nMode = data.i18nMode;
129
- }
130
- if (CompareUtil.isExisting(data.order)) {
131
- config.order = this.orderAdapter.adapt(data.order);
132
- }
133
- return config;
134
- }
135
- default() {
136
- return new TitleConfig();
137
- }
138
- }
139
-
140
- var FactoryState;
141
- (function (FactoryState) {
142
- FactoryState[FactoryState["UP_TO_DATE"] = 0] = "UP_TO_DATE";
143
- FactoryState[FactoryState["DIRTY"] = 1] = "DIRTY";
144
- })(FactoryState || (FactoryState = {}));
145
- class Title {
146
- constructor(ruleSet) {
147
- this.i18n = new Map();
148
- this.unit = "";
149
- this.measures = [];
150
- this.dimension = "";
151
- this.config = new TitleConfig();
152
- this.state = FactoryState.DIRTY;
153
- this.ruleSet = ruleSet || new IBCSRuleSet();
154
- this.dataSetFactory = new TitleDataSetFactory();
155
- this.state = FactoryState.DIRTY;
156
- this.setI18n(new Map());
157
- }
158
- /**
159
- * Set Localisation Map
160
- * @param i18n
161
- */
162
- setI18n(i18n) {
163
- this.state = FactoryState.DIRTY; // mark dataSet for update
164
- const defaultI18n = new Map([
165
- ["SEPERATOR_WS", ", "],
166
- ["in", "in"],
167
- ["ORDER_asc", "↑"],
168
- ["ORDER_desc", "↓"],
169
- ["ac1", "AC"],
170
- ["pp1", "PY"],
171
- ["fc1", "FC"],
172
- ["pl1", "PL"],
173
- ["ac2", "AC2"],
174
- ["pp2", "PY2"],
175
- ["fc2", "FC2"],
176
- ["pl2", "PL2"],
177
- ["ac3", "AC3"],
178
- ["pp3", "PY3"],
179
- ["fc3", "FC3"],
180
- ["pp3", "PL3"],
181
- ["ac4", "AC4"],
182
- ["py4", "PY4"],
183
- ["fc4", "FC4"],
184
- ["pp4", "PL4"],
185
- ["category", " "],
186
- ["operation", " "],
187
- ["there_of", "davon"],
188
- ["part_of", "in % von"],
189
- ["ibcssymbol_delta_ac", "Δ{%}"],
190
- ["ibcssymbol_delta_generic", "Δ({%})"],
191
- ["ibcssymbol_delta_ac_relative", "Δ{%}%"],
192
- ["ibcssymbol_delta_generic_relative", "Δ({%})%"],
193
- ["SUM_TOTAL", "❖"],
194
- ["CONNECTOR_WS", " und "],
195
- ]);
196
- this.i18n = new Map([...defaultI18n, ...(i18n || new Map())]);
197
- }
198
- /**
199
- * Generates and Returns the DataSet based,
200
- * data and config.
201
- * if data or config have not been changed since last run
202
- * the dataSet will not be regenerated.
203
- */
204
- update() {
205
- if (FactoryState.DIRTY === this.state) {
206
- this.unit = this.config.businessunit;
207
- this.measures = this.dataSetFactory.createMeasures(this.config.measures, this.i18n, this.config.i18nMode);
208
- this.dimension = this.dataSetFactory.createDimension(this.config.scenarios, this.config.timeperiod, this.config.order, this.i18n, this.config.intervalSpanLimit);
209
- this.state = FactoryState.UP_TO_DATE;
210
- }
211
- return this;
212
- }
213
- setConfig(config) {
214
- this.config = this.initConfig(config);
215
- }
216
- initConfig(config) {
217
- this.state = FactoryState.DIRTY;
218
- const tmpConfig = config;
219
- // this.checkConfigIfValidElseSetDefaultOrder(config.order);
220
- // sorting scenario order based on Ruleset
221
- const self = this;
222
- config.scenarios.sort((n1, n2) => {
223
- return self.ruleSet.getScenarioSorIndex(n1) - self.ruleSet.getScenarioSorIndex(n2);
224
- });
225
- return tmpConfig;
226
- }
227
- }
228
-
229
- //import { IAdapter } from "../../../../utils/helper/IAdapter";
230
- // import { CompareUtil } from "../../../../utils/helper/CompareUtil";
231
- class MeasureEntry {
232
- constructor(name = "", unit = "") {
233
- this.name = name;
234
- this.unit = unit;
235
- }
236
- }
237
- class MeasureEntryAdapter {
238
- construnctor() { }
239
- adapt(data) {
240
- const entry = new MeasureEntry();
241
- if (CompareUtil.isString(data.name)) {
242
- entry.name = data.name;
243
- }
244
- if (CompareUtil.isString(data.unit)) {
245
- entry.unit = data.unit;
246
- }
247
- return entry;
248
- }
249
- default() {
250
- return new MeasureEntry("", "");
251
- }
252
- }
253
-
254
- class TimePeriod {
255
- constructor(start = DateTime.now(), end = DateTime.now(), format = DateDistance.AUTO, link = DateLink.AUTO) {
256
- this.start = start;
257
- this.end = end;
258
- this.format = format;
259
- this.link = link;
260
- }
261
- }
262
- class TimePeriodAdapter {
263
- construnctor() { }
264
- adapt(data) {
265
- const entry = new TimePeriod();
266
- if (CompareUtil.isDate(data.start)) {
267
- entry.start = data.start;
268
- }
269
- if (CompareUtil.isDate(data.end)) {
270
- entry.end = data.end;
271
- }
272
- if (CompareUtil.isExisting(data.format)) {
273
- entry.format = data.format;
274
- }
275
- if (CompareUtil.isExisting(data.link)) {
276
- entry.link = data.link;
277
- }
278
- return entry;
279
- }
280
- default() {
281
- return new TimePeriod();
282
- }
283
- }
284
-
285
- const ibcsTitleCss = () => `:host{display:block;font-family:var(--bn-font-family, "Noto Sans", sans-serif);font-size:var(--bn-font-size, 13.3333px);color:var(--bn-font-color, #000000)}.measure{font-weight:bold}div{background-color:var(--bn-font-background, white);color:var(--bn-font-color, black)}`;
286
-
287
- const IbcsTitle = class {
288
- constructor(hostRef) {
289
- registerInstance(this, hostRef);
290
- // sample fuer die chrome dev console:
291
- // document.querySelector("ibcs-title").setBusinessUnit("Sven")
292
- // document.querySelector("ibcs-title").setProps({businessUnit: "Lalal"})
293
- this.businessUnit = "";
294
- this.scenarios = [];
295
- this.measures = [];
296
- this.intervalSpanLimit = 28;
297
- this.order = {
298
- hierarchy: [],
299
- direction: OrderDirection.ASC,
300
- };
301
- this.i18n = new Map(); // I18nMode;
302
- this.i18nMode = I18nMode.ALL;
303
- this.title = new Title(new IBCSRuleSet());
304
- }
305
- // so
306
- async setBusinessUnit(businessUnit) {
307
- this.businessUnit = businessUnit;
308
- }
309
- // oder so
310
- async setProps(data) {
311
- Object.keys(data).forEach((key) => {
312
- //@ts-ignore
313
- this[key] = data[key];
314
- });
315
- }
316
- render() {
317
- return (h("div", { key: '5c9f0c8cdfba5e01f46ee0e5ab820bb88811f365' }, h("div", { key: '2dce919eb35df3d35c696c95ad04d5e41a40c374' }, this.title.unit), h("div", { key: 'f5979715f3203637c7b2256b31230b3794902849' }, this.title.measures.map((measure, index) => (h("span", null, this.isFirstElement(index) ? this.title.i18n.get("SEPERATOR_WS") : "", h("span", { class: "measure" }, measure.name), " ", measure.unit ? this.title.i18n.get("in") : "", " ", measure.unit)))), h("div", { key: '6dbe3c259c571ec902afa2815e82997b37dd8f8c' }, this.title.dimension)));
318
- }
319
- componentWillLoad() {
320
- const config = this.prepareConfig();
321
- this.title = new Title(new IBCSRuleSet());
322
- this.title.setI18n(this.i18n);
323
- this.title.setConfig(config);
324
- }
325
- componentWillUpdate() {
326
- const config = this.prepareConfig();
327
- this.title.setI18n(this.i18n);
328
- this.title.setConfig(config);
329
- }
330
- componentWillRender() {
331
- this.title.update();
332
- }
333
- isFirstElement(index) {
334
- return index !== 0;
335
- }
336
- prepareConfig() {
337
- return new TitleConifgAdapter(new MeasureEntryAdapter(), new TimePeriodAdapter(), new OrderAdapter(new StringAdapter()), new StringAdapter()).adapt({
338
- businessunit: this.businessUnit,
339
- measures: this.measures,
340
- scenarios: this.scenarios,
341
- timeperiod: this.timeperiod,
342
- intervalSpanLimit: this.intervalSpanLimit,
343
- i18nMode: this.i18nMode,
344
- order: this.order,
345
- });
346
- }
347
- };
348
- IbcsTitle.style = ibcsTitleCss();
349
-
350
- export { IbcsTitle as ibcs_title };
@@ -1,64 +0,0 @@
1
- /**
2
- * Returns the available dimensions for a component.
3
- *
4
- * Width: parent content-box width (excluding padding).
5
- * Height: walks up the DOM to find the nearest ancestor with a constrained
6
- * height (overflow !== 'visible' or explicit max-height). Falls back to
7
- * the viewport height when every ancestor auto-grows with its content.
8
- */
9
- function getParentDimensions(element) {
10
- const parent = element.parentElement;
11
- if (!parent) {
12
- return { width: 0, height: 0 };
13
- }
14
- const parentStyle = getComputedStyle(parent);
15
- const width = parent.clientWidth - parseFloat(parentStyle.paddingLeft) - parseFloat(parentStyle.paddingRight);
16
- const height = findConstrainedHeight(element);
17
- return { width: Math.max(0, width), height: Math.max(0, height) };
18
- }
19
- /**
20
- * Walks up the ancestor chain to find a height that is actually constrained
21
- * (not just "whatever my content needs"). Returns viewport height as a
22
- * last resort.
23
- */
24
- function findConstrainedHeight(element) {
25
- let current = element.parentElement;
26
- while (current) {
27
- const style = getComputedStyle(current);
28
- const overflow = style.overflowY;
29
- // An ancestor that clips / scrolls its content has a meaningful height
30
- if (overflow === "hidden" || overflow === "scroll" || overflow === "auto") {
31
- return current.clientHeight - parseFloat(style.paddingTop) - parseFloat(style.paddingBottom);
32
- }
33
- // An explicit max-height constrains the available space
34
- if (style.maxHeight !== "none") {
35
- const mh = parseFloat(style.maxHeight);
36
- if (!isNaN(mh) && mh > 0) {
37
- return Math.min(mh, current.clientHeight - parseFloat(style.paddingTop) - parseFloat(style.paddingBottom));
38
- }
39
- }
40
- current = current.parentElement;
41
- }
42
- // No constrained ancestor found — use viewport
43
- return typeof window !== "undefined" ? window.innerHeight : 0;
44
- }
45
-
46
- /**
47
- * Parses the raw `scale` attribute string into a typed {@link ScalingConfig}.
48
- * Handles null/empty (-> empty), literal `"none"` / `"auto"`, or a positive
49
- * numeric string (-> factor mode). Invalid non-numeric strings fall back to empty.
50
- */
51
- function parseScaling(scale) {
52
- if (scale == null || scale === "")
53
- return { mode: "empty" };
54
- if (scale === "none")
55
- return { mode: "none" };
56
- if (scale === "auto")
57
- return { mode: "auto" };
58
- const num = Number(scale);
59
- if (!isNaN(num) && num > 0)
60
- return { mode: "factor", factor: num };
61
- return { mode: "empty" };
62
- }
63
-
64
- export { getParentDimensions as g, parseScaling as p };
@@ -1,25 +0,0 @@
1
- import { r as registerInstance, h } from './index-B27Ax6P_.js';
2
- import { A as AggregationLevel, I as I18nMode, T as TableType } from './constants-kMyLevYy.js';
3
- import { O as OrderDirection, a as OrderColumn } from './Order-B4fpLe_f.js';
4
- import './luxon-DbyXf6dF.js';
5
-
6
- const TestRunnerTitle = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- }
10
- render() {
11
- return (h("div", { key: 'e21f394ec62bf5444da864b00860270551a18879' }, h("ibcs-card", { key: 'db1d071ffd4c72dd0c5b173b739bc33a7f6826d9', title: "Eintracht Frankfurt", image: "debug/concordia.png", showBorder: false }, h("ibcs-title", { key: 'bb49cdd2edc75f889d0e99b7bd010a692770ef8a', businessUnit: "Test Cars", measures: [
12
- { name: "Bruttoumsatz", unit: "mEUR" },
13
- { name: "Bruttoumsatz2", unit: "mDollar" },
14
- ], scenarios: ["ac", "py", "dpy_ac_pos"] })), h("ibcs-card", { key: '4a643bbd44b7e0cb90ed304939c423c602462957', title: "Nintendo", image: "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b3/Nintendo_red_logo.svg/1280px-Nintendo_red_logo.svg.png", showBorder: true }, h("ibcs-table", { key: 'd83c0e84abc29d3305a8cdac0e6c84c6cca31099', "table-title": "\uD83D\uDE0ESven ist der Papa von Phineas und Max", scenarios: ["ac", "py"], "scenarios-unit-type": "decimal", grouped: true, type: TableType.OPT, "i18n-mode": I18nMode.META, showGroupTitle: true, data: [], "there-of": [
15
- {
16
- rowGroup: "Umsatz",
17
- category: "Applications",
18
- subCategory: "",
19
- partOf: "category",
20
- },
21
- ] })), h("ibcs-card", { key: 'a3049a945b3cad596adc062c2ad1ef22521efc39', title: "Eintracht Frankfurt", image: "debug/concordia.png", showBorder: true }, h("ibcs-chart-structure", { key: '98298c085685f28a704cbcaa372e1b320c50283d', data: [], scenarios: ["ac", "fc", "py", "pl"], variances: ["dac_fc_pos"], hideCategories: false, pixelPerUnit: 15, chartTitle: undefined, styles: undefined, i18n: undefined, level: AggregationLevel.CATEGORY, order: { hierarchy: [OrderColumn.CATEGORY], direction: OrderDirection.DESC } }))));
22
- }
23
- };
24
-
25
- export { TestRunnerTitle as test_runner_card };
@@ -1,228 +0,0 @@
1
- import { r as registerInstance, h } from './index-B27Ax6P_.js';
2
- import { D as DateDistance } from './DateStringFactory-_Qiv0IvF.js';
3
- import './luxon-DbyXf6dF.js';
4
-
5
- const TestRunnerChart = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- }
9
- render() {
10
- const style = {
11
- scaleFactors: {
12
- scenarioOffset: 0.3,
13
- scenarioLabelToColumn: 0.3,
14
- labelToColum: 0.3,
15
- labelToAxis: 0.3,
16
- needleWidth: 0.3,
17
- needleHeadWidth: 0.6,
18
- columnWidth: 2.0,
19
- varianceAxisLineWidth: 0.3,
20
- axisLineWidth: 0.1,
21
- auxiliaryLineWidth: 0.1,
22
- scenarioLineWidth: 0.2,
23
- markerWidth: 0.7,
24
- markerOffset: 0.0,
25
- categoryWidth: 3.0,
26
- axisTickLength: 0.3,
27
- },
28
- fontStyles: {
29
- font: `27.3333px Sans-Serif`,
30
- size: 27.3333,
31
- color: "#000000",
32
- background: "#ffffff",
33
- leading: 1.8,
34
- },
35
- axisStyles: {
36
- ac: { stroke: "#121212", fill: "#121212", width: 0.1 },
37
- fc: { stroke: "#121212", fill: "#ffffff", width: 0.1, dasharray: "10 5 5 5" },
38
- pp: { stroke: "#606060", fill: "#606060", width: 0.1 },
39
- pl: { stroke: "#121212", fill: "#ffffff", width: 0.1 },
40
- },
41
- barStyles: {
42
- ac: { stroke: "#404040", fill: "#404040", width: 0.1 },
43
- fc: { stroke: "#404040", fill: "#ffffff", width: 0.5, fillpattern: "fc" },
44
- pp: { stroke: "#A6A6A6", fill: "#A6A6A6", width: 0.1 },
45
- pl: { stroke: "#404040", fill: "#ffffff", width: 0.1 },
46
- },
47
- varianceStyles: {
48
- pos: { stroke: "#008f96", fill: "#008f96", width: 0.1 },
49
- neg: { stroke: "#ff0000", fill: "#ff0000", width: 0.1 },
50
- neu: { stroke: "#808080", fill: "#808080", width: 0.1 },
51
- },
52
- padding: {
53
- top: 10,
54
- left: 10,
55
- right: 10,
56
- bottom: 10,
57
- },
58
- pattern: new Map(),
59
- };
60
- const dataSet = [
61
- {
62
- setName: "de",
63
- date: "2022-03-01T01:05:00Z",
64
- operation: "+",
65
- rowGroup: "Afrika",
66
- rowGroupIndex: 1,
67
- category: "I",
68
- categoryIndex: 1,
69
- subCategory: "Question Mark",
70
- subCategoryIndex: 1,
71
- columnGroup: null,
72
- columnGroupIndex: null,
73
- columnSubGroup: null,
74
- columnSubGroupIndex: null,
75
- pp1: 100,
76
- ac1: 100,
77
- pl1: 100,
78
- fc1: 100,
79
- ac2: 0.001,
80
- pp2: 7,
81
- fc2: 7,
82
- pl2: 4,
83
- ac3: 1,
84
- pp3: 7,
85
- fc3: 7,
86
- pl3: 4,
87
- ac4: 1,
88
- pp4: 7,
89
- fc4: 7,
90
- pl4: 4,
91
- },
92
- {
93
- setName: "de",
94
- date: "2022-03-01T01:00:00Z",
95
- operation: "+",
96
- rowGroup: "Amerika",
97
- rowGroupIndex: 1,
98
- category: "II",
99
- categoryIndex: 2,
100
- subCategory: "Stars",
101
- subCategoryIndex: 2,
102
- columnGroup: null,
103
- columnGroupIndex: null,
104
- columnSubGroup: null,
105
- columnSubGroupIndex: null,
106
- pp1: 1201,
107
- ac1: 300,
108
- pl1: 1209,
109
- fc1: 100,
110
- ac2: 0.001,
111
- pp2: 7,
112
- fc2: 7,
113
- pl2: 4,
114
- ac3: 1,
115
- pp3: 7,
116
- fc3: 7,
117
- pl3: 4,
118
- ac4: 1,
119
- pp4: 7,
120
- fc4: 7,
121
- pl4: 4,
122
- },
123
- {
124
- setName: "de",
125
- date: "2022-03-01T01:06:00Z",
126
- operation: "+",
127
- rowGroup: "Asien",
128
- rowGroupIndex: 1,
129
- category: "III",
130
- categoryIndex: 3,
131
- subCategory: "Cash Cows",
132
- subCategoryIndex: 3,
133
- columnGroup: null,
134
- columnGroupIndex: null,
135
- columnSubGroup: null,
136
- columnSubGroupIndex: null,
137
- pp1: 835,
138
- ac1: 200,
139
- pl1: 955,
140
- fc1: 100,
141
- ac2: 0.001,
142
- pp2: 7,
143
- fc2: 7,
144
- pl2: 4,
145
- ac3: 1,
146
- pp3: 7,
147
- fc3: 7,
148
- pl3: 4,
149
- ac4: 1,
150
- pp4: 7,
151
- fc4: 7,
152
- pl4: 4,
153
- },
154
- {
155
- setName: "de",
156
- date: "2022-03-01T00:59:00Z",
157
- operation: "+",
158
- rowGroup: "Europa",
159
- rowGroupIndex: 1,
160
- category: "Produktgrupppe IV",
161
- categoryIndex: 4,
162
- subCategory: "Poor Dogs",
163
- subCategoryIndex: 4,
164
- columnGroup: null,
165
- columnGroupIndex: null,
166
- columnSubGroup: null,
167
- columnSubGroupIndex: null,
168
- pp1: 423,
169
- ac1: 741,
170
- pl1: 641,
171
- fc1: 400,
172
- ac2: 0.001,
173
- pp2: 7,
174
- fc2: 7,
175
- pl2: 4,
176
- ac3: 1,
177
- pp3: 7,
178
- fc3: 7,
179
- pl3: 4,
180
- ac4: 1,
181
- pp4: 7,
182
- fc4: 7,
183
- pl4: 4,
184
- },
185
- {
186
- setName: "de",
187
- date: "2022-03-01T00:59:01Z",
188
- operation: "+",
189
- rowGroup: "Rest",
190
- rowGroupIndex: 1,
191
- category: "Rest",
192
- categoryIndex: 5,
193
- subCategory: "Rest",
194
- subCategoryIndex: 5,
195
- columnGroup: null,
196
- columnGroupIndex: null,
197
- columnSubGroup: null,
198
- columnSubGroupIndex: null,
199
- pp1: 1,
200
- ac1: 400,
201
- pl1: 1,
202
- fc1: 100,
203
- ac2: 0.001,
204
- pp2: 7,
205
- fc2: 7,
206
- pl2: 4,
207
- ac3: 1,
208
- pp3: 7,
209
- fc3: 7,
210
- pl3: 4,
211
- ac4: 1,
212
- pp4: 7,
213
- fc4: 7,
214
- pl4: 4,
215
- },
216
- ];
217
- const trans = new Map();
218
- trans.set("pp1", "PY");
219
- trans.set("ac1", "AC");
220
- trans.set("pl1", "PL");
221
- trans.set("fc1", "FC");
222
- //let scenarios = ["ac1", "pp1","pl1","fc1","dpl1_ac1_pos",""]
223
- //let leftSideOffset = Formatter.getMaxWidthOfArrayItems(scenarios, trans, style);
224
- return (h("div", { key: '79749e85befc60318e77e304ab58b6dffcb113dd' }, h("div", { key: 'cc40a80a42894d4eca30a389bbc9d94526c99915', style: { fontFamily: style.fontStyles.font, fontSize: style.fontStyles.size + "px" } }, h("div", { key: 'db1a42dd4695f00e2220b1ea25911fe13536fea5' }, "T-2 1 Series MONTH"), h("ibcs-chart-time", { key: '5ed470df7180fd31c45049ad56b3c02a2f1f7cad', data: dataSet, scenarios: ["ac2"], variances: [], pixelPerUnit: 10, styles: style, "date-interval": DateDistance.YEAR, "interval-span-Limit": 10, measureScale: "p", measureUnit: "EUR", showMeasureScale: true, dataFormatDigits: { percent: 2, decimal: 2 } }))));
225
- }
226
- };
227
-
228
- export { TestRunnerChart as test_runner_chart_time };