@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,352 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-CScBFiS1.js');
4
- var constants = require('./constants-DHqQXSSd.js');
5
- var DateStringFactory = require('./DateStringFactory-Dn0aRj2Y.js');
6
- var formatter = require('./formatter-DIJL_crx.js');
7
- var Order = require('./Order-B4NIqQWe.js');
8
- var StringAdapter = require('./StringAdapter-0EbYMkR0.js');
9
- var luxon = require('./luxon-8hyy5YD7.js');
10
- require('./_commonjsHelpers-BJu3ubxk.js');
11
-
12
- class TitleDataSetFactory {
13
- constructor() { }
14
- /**
15
- * Creates measures, adds i18n to each element
16
- * @param measures
17
- * @param i18n
18
- * @param i18nMode
19
- */
20
- createMeasures(measures, i18n, i18nMode) {
21
- if (this.allMeasuresUseSameUnit(measures)) {
22
- const amountOfMeasures = measures.length;
23
- let measureName = "";
24
- let unit = "";
25
- for (let i = 0; i < amountOfMeasures; i++) {
26
- let separator = "";
27
- if (i > 0) {
28
- separator = i18n.get("SEPERATOR_WS");
29
- }
30
- if (amountOfMeasures > 1 && i === amountOfMeasures - 1) {
31
- separator = i18n.get("CONNECTOR_WS");
32
- }
33
- if (i18nMode === constants.I18nMode.ALL) {
34
- measureName =
35
- (i18n.get(measureName) || measureName) + separator + (i18n.get(measures[i].name) || measures[i].name);
36
- unit = i18n.get(measures[i].unit) || measures[i].unit;
37
- }
38
- else {
39
- measureName = measureName + separator + measures[i].name;
40
- unit = measures[i].unit;
41
- }
42
- }
43
- return [
44
- {
45
- name: measureName,
46
- unit: unit,
47
- },
48
- ];
49
- }
50
- else {
51
- return measures;
52
- }
53
- }
54
- /**
55
- * Creates Dimension String,
56
- * concat of translated scenarios, time and order
57
- *
58
- * @param scenarios
59
- * @param time
60
- * @param order
61
- * @param i18n
62
- */
63
- createDimension(scenarios, time, order, i18n, spanLimit) {
64
- let formatedTime = "";
65
- if (time !== undefined) {
66
- formatedTime = new DateStringFactory.DateStringFactory().getDateLinkString(time.start, time.end, time.link, time.format, spanLimit);
67
- }
68
- const formatedScenarios = scenarios
69
- .map((scenario) => {
70
- let orderString = "";
71
- if (order != null && order.hierarchy != null) {
72
- if (order.hierarchy.find((x) => x === scenario)) {
73
- if (order.direction === "asc") {
74
- orderString = i18n.get("ORDER_asc");
75
- }
76
- else {
77
- orderString = i18n.get("ORDER_desc");
78
- }
79
- }
80
- }
81
- return "".concat(" ", formatter.Formatter.translateScenarioLabel(scenario, i18n), orderString);
82
- })
83
- .toString();
84
- return formatedTime + formatedScenarios;
85
- }
86
- allMeasuresUseSameUnit(measures) {
87
- const units = new Map();
88
- measures.forEach(function (entry) {
89
- units.set(entry.unit, true);
90
- });
91
- const hasOneUnit = units.size === 1;
92
- return hasOneUnit;
93
- }
94
- }
95
-
96
- class TitleConfig {
97
- constructor() {
98
- this.businessunit = "";
99
- this.measures = [];
100
- this.scenarios = [];
101
- this.i18nMode = constants.I18nMode.ALL;
102
- this.intervalSpanLimit = 32;
103
- }
104
- }
105
- class TitleConifgAdapter {
106
- constructor(measureEntryAdapter, timePeriodAdapter, orderAdapter, stringAdapter) {
107
- this.measureEntryAdapter = measureEntryAdapter;
108
- this.timePeriodAdapter = timePeriodAdapter;
109
- this.orderAdapter = orderAdapter;
110
- this.stringAdapter = stringAdapter;
111
- }
112
- adapt(data) {
113
- const config = new TitleConfig();
114
- if (Order.CompareUtil.isString(data.businessunit)) {
115
- config.businessunit = data.businessunit;
116
- }
117
- if (Order.CompareUtil.isArray(data.measures)) {
118
- config.measures = Order.AdapterUtils.adaptArray(data.measures, this.measureEntryAdapter);
119
- }
120
- if (Order.CompareUtil.isArray(data.scenarios)) {
121
- config.scenarios = Order.AdapterUtils.adaptArray(data.scenarios, this.stringAdapter);
122
- }
123
- if (Order.CompareUtil.isExisting(data.timeperiod)) {
124
- config.timeperiod = this.timePeriodAdapter.adapt(data.timeperiod);
125
- }
126
- if (Order.CompareUtil.isNumber(data.intervalSpanLimit)) {
127
- config.intervalSpanLimit = data.intervalSpanLimit;
128
- }
129
- if (Order.CompareUtil.isExisting(data.i18nMode)) {
130
- config.i18nMode = data.i18nMode;
131
- }
132
- if (Order.CompareUtil.isExisting(data.order)) {
133
- config.order = this.orderAdapter.adapt(data.order);
134
- }
135
- return config;
136
- }
137
- default() {
138
- return new TitleConfig();
139
- }
140
- }
141
-
142
- var FactoryState;
143
- (function (FactoryState) {
144
- FactoryState[FactoryState["UP_TO_DATE"] = 0] = "UP_TO_DATE";
145
- FactoryState[FactoryState["DIRTY"] = 1] = "DIRTY";
146
- })(FactoryState || (FactoryState = {}));
147
- class Title {
148
- constructor(ruleSet) {
149
- this.i18n = new Map();
150
- this.unit = "";
151
- this.measures = [];
152
- this.dimension = "";
153
- this.config = new TitleConfig();
154
- this.state = FactoryState.DIRTY;
155
- this.ruleSet = ruleSet || new StringAdapter.IBCSRuleSet();
156
- this.dataSetFactory = new TitleDataSetFactory();
157
- this.state = FactoryState.DIRTY;
158
- this.setI18n(new Map());
159
- }
160
- /**
161
- * Set Localisation Map
162
- * @param i18n
163
- */
164
- setI18n(i18n) {
165
- this.state = FactoryState.DIRTY; // mark dataSet for update
166
- const defaultI18n = new Map([
167
- ["SEPERATOR_WS", ", "],
168
- ["in", "in"],
169
- ["ORDER_asc", "↑"],
170
- ["ORDER_desc", "↓"],
171
- ["ac1", "AC"],
172
- ["pp1", "PY"],
173
- ["fc1", "FC"],
174
- ["pl1", "PL"],
175
- ["ac2", "AC2"],
176
- ["pp2", "PY2"],
177
- ["fc2", "FC2"],
178
- ["pl2", "PL2"],
179
- ["ac3", "AC3"],
180
- ["pp3", "PY3"],
181
- ["fc3", "FC3"],
182
- ["pp3", "PL3"],
183
- ["ac4", "AC4"],
184
- ["py4", "PY4"],
185
- ["fc4", "FC4"],
186
- ["pp4", "PL4"],
187
- ["category", " "],
188
- ["operation", " "],
189
- ["there_of", "davon"],
190
- ["part_of", "in % von"],
191
- ["ibcssymbol_delta_ac", "Δ{%}"],
192
- ["ibcssymbol_delta_generic", "Δ({%})"],
193
- ["ibcssymbol_delta_ac_relative", "Δ{%}%"],
194
- ["ibcssymbol_delta_generic_relative", "Δ({%})%"],
195
- ["SUM_TOTAL", "❖"],
196
- ["CONNECTOR_WS", " und "],
197
- ]);
198
- this.i18n = new Map([...defaultI18n, ...(i18n || new Map())]);
199
- }
200
- /**
201
- * Generates and Returns the DataSet based,
202
- * data and config.
203
- * if data or config have not been changed since last run
204
- * the dataSet will not be regenerated.
205
- */
206
- update() {
207
- if (FactoryState.DIRTY === this.state) {
208
- this.unit = this.config.businessunit;
209
- this.measures = this.dataSetFactory.createMeasures(this.config.measures, this.i18n, this.config.i18nMode);
210
- this.dimension = this.dataSetFactory.createDimension(this.config.scenarios, this.config.timeperiod, this.config.order, this.i18n, this.config.intervalSpanLimit);
211
- this.state = FactoryState.UP_TO_DATE;
212
- }
213
- return this;
214
- }
215
- setConfig(config) {
216
- this.config = this.initConfig(config);
217
- }
218
- initConfig(config) {
219
- this.state = FactoryState.DIRTY;
220
- const tmpConfig = config;
221
- // this.checkConfigIfValidElseSetDefaultOrder(config.order);
222
- // sorting scenario order based on Ruleset
223
- const self = this;
224
- config.scenarios.sort((n1, n2) => {
225
- return self.ruleSet.getScenarioSorIndex(n1) - self.ruleSet.getScenarioSorIndex(n2);
226
- });
227
- return tmpConfig;
228
- }
229
- }
230
-
231
- //import { IAdapter } from "../../../../utils/helper/IAdapter";
232
- // import { CompareUtil } from "../../../../utils/helper/CompareUtil";
233
- class MeasureEntry {
234
- constructor(name = "", unit = "") {
235
- this.name = name;
236
- this.unit = unit;
237
- }
238
- }
239
- class MeasureEntryAdapter {
240
- construnctor() { }
241
- adapt(data) {
242
- const entry = new MeasureEntry();
243
- if (Order.CompareUtil.isString(data.name)) {
244
- entry.name = data.name;
245
- }
246
- if (Order.CompareUtil.isString(data.unit)) {
247
- entry.unit = data.unit;
248
- }
249
- return entry;
250
- }
251
- default() {
252
- return new MeasureEntry("", "");
253
- }
254
- }
255
-
256
- class TimePeriod {
257
- constructor(start = luxon.DateTime.now(), end = luxon.DateTime.now(), format = DateStringFactory.DateDistance.AUTO, link = DateStringFactory.DateLink.AUTO) {
258
- this.start = start;
259
- this.end = end;
260
- this.format = format;
261
- this.link = link;
262
- }
263
- }
264
- class TimePeriodAdapter {
265
- construnctor() { }
266
- adapt(data) {
267
- const entry = new TimePeriod();
268
- if (Order.CompareUtil.isDate(data.start)) {
269
- entry.start = data.start;
270
- }
271
- if (Order.CompareUtil.isDate(data.end)) {
272
- entry.end = data.end;
273
- }
274
- if (Order.CompareUtil.isExisting(data.format)) {
275
- entry.format = data.format;
276
- }
277
- if (Order.CompareUtil.isExisting(data.link)) {
278
- entry.link = data.link;
279
- }
280
- return entry;
281
- }
282
- default() {
283
- return new TimePeriod();
284
- }
285
- }
286
-
287
- 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)}`;
288
-
289
- const IbcsTitle = class {
290
- constructor(hostRef) {
291
- index.registerInstance(this, hostRef);
292
- // sample fuer die chrome dev console:
293
- // document.querySelector("ibcs-title").setBusinessUnit("Sven")
294
- // document.querySelector("ibcs-title").setProps({businessUnit: "Lalal"})
295
- this.businessUnit = "";
296
- this.scenarios = [];
297
- this.measures = [];
298
- this.intervalSpanLimit = 28;
299
- this.order = {
300
- hierarchy: [],
301
- direction: Order.OrderDirection.ASC,
302
- };
303
- this.i18n = new Map(); // I18nMode;
304
- this.i18nMode = constants.I18nMode.ALL;
305
- this.title = new Title(new StringAdapter.IBCSRuleSet());
306
- }
307
- // so
308
- async setBusinessUnit(businessUnit) {
309
- this.businessUnit = businessUnit;
310
- }
311
- // oder so
312
- async setProps(data) {
313
- Object.keys(data).forEach((key) => {
314
- //@ts-ignore
315
- this[key] = data[key];
316
- });
317
- }
318
- render() {
319
- return (index.h("div", { key: '5c9f0c8cdfba5e01f46ee0e5ab820bb88811f365' }, index.h("div", { key: '2dce919eb35df3d35c696c95ad04d5e41a40c374' }, this.title.unit), index.h("div", { key: 'f5979715f3203637c7b2256b31230b3794902849' }, this.title.measures.map((measure, index$1) => (index.h("span", null, this.isFirstElement(index$1) ? this.title.i18n.get("SEPERATOR_WS") : "", index.h("span", { class: "measure" }, measure.name), " ", measure.unit ? this.title.i18n.get("in") : "", " ", measure.unit)))), index.h("div", { key: '6dbe3c259c571ec902afa2815e82997b37dd8f8c' }, this.title.dimension)));
320
- }
321
- componentWillLoad() {
322
- const config = this.prepareConfig();
323
- this.title = new Title(new StringAdapter.IBCSRuleSet());
324
- this.title.setI18n(this.i18n);
325
- this.title.setConfig(config);
326
- }
327
- componentWillUpdate() {
328
- const config = this.prepareConfig();
329
- this.title.setI18n(this.i18n);
330
- this.title.setConfig(config);
331
- }
332
- componentWillRender() {
333
- this.title.update();
334
- }
335
- isFirstElement(index) {
336
- return index !== 0;
337
- }
338
- prepareConfig() {
339
- return new TitleConifgAdapter(new MeasureEntryAdapter(), new TimePeriodAdapter(), new Order.OrderAdapter(new StringAdapter.StringAdapter()), new StringAdapter.StringAdapter()).adapt({
340
- businessunit: this.businessUnit,
341
- measures: this.measures,
342
- scenarios: this.scenarios,
343
- timeperiod: this.timeperiod,
344
- intervalSpanLimit: this.intervalSpanLimit,
345
- i18nMode: this.i18nMode,
346
- order: this.order,
347
- });
348
- }
349
- };
350
- IbcsTitle.style = ibcsTitleCss();
351
-
352
- exports.ibcs_title = IbcsTitle;
@@ -1,67 +0,0 @@
1
- 'use strict';
2
-
3
- /**
4
- * Returns the available dimensions for a component.
5
- *
6
- * Width: parent content-box width (excluding padding).
7
- * Height: walks up the DOM to find the nearest ancestor with a constrained
8
- * height (overflow !== 'visible' or explicit max-height). Falls back to
9
- * the viewport height when every ancestor auto-grows with its content.
10
- */
11
- function getParentDimensions(element) {
12
- const parent = element.parentElement;
13
- if (!parent) {
14
- return { width: 0, height: 0 };
15
- }
16
- const parentStyle = getComputedStyle(parent);
17
- const width = parent.clientWidth - parseFloat(parentStyle.paddingLeft) - parseFloat(parentStyle.paddingRight);
18
- const height = findConstrainedHeight(element);
19
- return { width: Math.max(0, width), height: Math.max(0, height) };
20
- }
21
- /**
22
- * Walks up the ancestor chain to find a height that is actually constrained
23
- * (not just "whatever my content needs"). Returns viewport height as a
24
- * last resort.
25
- */
26
- function findConstrainedHeight(element) {
27
- let current = element.parentElement;
28
- while (current) {
29
- const style = getComputedStyle(current);
30
- const overflow = style.overflowY;
31
- // An ancestor that clips / scrolls its content has a meaningful height
32
- if (overflow === "hidden" || overflow === "scroll" || overflow === "auto") {
33
- return current.clientHeight - parseFloat(style.paddingTop) - parseFloat(style.paddingBottom);
34
- }
35
- // An explicit max-height constrains the available space
36
- if (style.maxHeight !== "none") {
37
- const mh = parseFloat(style.maxHeight);
38
- if (!isNaN(mh) && mh > 0) {
39
- return Math.min(mh, current.clientHeight - parseFloat(style.paddingTop) - parseFloat(style.paddingBottom));
40
- }
41
- }
42
- current = current.parentElement;
43
- }
44
- // No constrained ancestor found — use viewport
45
- return typeof window !== "undefined" ? window.innerHeight : 0;
46
- }
47
-
48
- /**
49
- * Parses the raw `scale` attribute string into a typed {@link ScalingConfig}.
50
- * Handles null/empty (-> empty), literal `"none"` / `"auto"`, or a positive
51
- * numeric string (-> factor mode). Invalid non-numeric strings fall back to empty.
52
- */
53
- function parseScaling(scale) {
54
- if (scale == null || scale === "")
55
- return { mode: "empty" };
56
- if (scale === "none")
57
- return { mode: "none" };
58
- if (scale === "auto")
59
- return { mode: "auto" };
60
- const num = Number(scale);
61
- if (!isNaN(num) && num > 0)
62
- return { mode: "factor", factor: num };
63
- return { mode: "empty" };
64
- }
65
-
66
- exports.getParentDimensions = getParentDimensions;
67
- exports.parseScaling = parseScaling;
@@ -1,27 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-CScBFiS1.js');
4
- var constants = require('./constants-DHqQXSSd.js');
5
- var Order = require('./Order-B4NIqQWe.js');
6
- require('./luxon-8hyy5YD7.js');
7
-
8
- const TestRunnerTitle = class {
9
- constructor(hostRef) {
10
- index.registerInstance(this, hostRef);
11
- }
12
- render() {
13
- return (index.h("div", { key: 'e21f394ec62bf5444da864b00860270551a18879' }, index.h("ibcs-card", { key: 'db1d071ffd4c72dd0c5b173b739bc33a7f6826d9', title: "Eintracht Frankfurt", image: "debug/concordia.png", showBorder: false }, index.h("ibcs-title", { key: 'bb49cdd2edc75f889d0e99b7bd010a692770ef8a', businessUnit: "Test Cars", measures: [
14
- { name: "Bruttoumsatz", unit: "mEUR" },
15
- { name: "Bruttoumsatz2", unit: "mDollar" },
16
- ], scenarios: ["ac", "py", "dpy_ac_pos"] })), index.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 }, index.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: constants.TableType.OPT, "i18n-mode": constants.I18nMode.META, showGroupTitle: true, data: [], "there-of": [
17
- {
18
- rowGroup: "Umsatz",
19
- category: "Applications",
20
- subCategory: "",
21
- partOf: "category",
22
- },
23
- ] })), index.h("ibcs-card", { key: 'a3049a945b3cad596adc062c2ad1ef22521efc39', title: "Eintracht Frankfurt", image: "debug/concordia.png", showBorder: true }, index.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: constants.AggregationLevel.CATEGORY, order: { hierarchy: [Order.OrderColumn.CATEGORY], direction: Order.OrderDirection.DESC } }))));
24
- }
25
- };
26
-
27
- exports.test_runner_card = TestRunnerTitle;
@@ -1,230 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-CScBFiS1.js');
4
- var DateStringFactory = require('./DateStringFactory-Dn0aRj2Y.js');
5
- require('./luxon-8hyy5YD7.js');
6
-
7
- const TestRunnerChart = class {
8
- constructor(hostRef) {
9
- index.registerInstance(this, hostRef);
10
- }
11
- render() {
12
- const style = {
13
- scaleFactors: {
14
- scenarioOffset: 0.3,
15
- scenarioLabelToColumn: 0.3,
16
- labelToColum: 0.3,
17
- labelToAxis: 0.3,
18
- needleWidth: 0.3,
19
- needleHeadWidth: 0.6,
20
- columnWidth: 2.0,
21
- varianceAxisLineWidth: 0.3,
22
- axisLineWidth: 0.1,
23
- auxiliaryLineWidth: 0.1,
24
- scenarioLineWidth: 0.2,
25
- markerWidth: 0.7,
26
- markerOffset: 0.0,
27
- categoryWidth: 3.0,
28
- axisTickLength: 0.3,
29
- },
30
- fontStyles: {
31
- font: `27.3333px Sans-Serif`,
32
- size: 27.3333,
33
- color: "#000000",
34
- background: "#ffffff",
35
- leading: 1.8,
36
- },
37
- axisStyles: {
38
- ac: { stroke: "#121212", fill: "#121212", width: 0.1 },
39
- fc: { stroke: "#121212", fill: "#ffffff", width: 0.1, dasharray: "10 5 5 5" },
40
- pp: { stroke: "#606060", fill: "#606060", width: 0.1 },
41
- pl: { stroke: "#121212", fill: "#ffffff", width: 0.1 },
42
- },
43
- barStyles: {
44
- ac: { stroke: "#404040", fill: "#404040", width: 0.1 },
45
- fc: { stroke: "#404040", fill: "#ffffff", width: 0.5, fillpattern: "fc" },
46
- pp: { stroke: "#A6A6A6", fill: "#A6A6A6", width: 0.1 },
47
- pl: { stroke: "#404040", fill: "#ffffff", width: 0.1 },
48
- },
49
- varianceStyles: {
50
- pos: { stroke: "#008f96", fill: "#008f96", width: 0.1 },
51
- neg: { stroke: "#ff0000", fill: "#ff0000", width: 0.1 },
52
- neu: { stroke: "#808080", fill: "#808080", width: 0.1 },
53
- },
54
- padding: {
55
- top: 10,
56
- left: 10,
57
- right: 10,
58
- bottom: 10,
59
- },
60
- pattern: new Map(),
61
- };
62
- const dataSet = [
63
- {
64
- setName: "de",
65
- date: "2022-03-01T01:05:00Z",
66
- operation: "+",
67
- rowGroup: "Afrika",
68
- rowGroupIndex: 1,
69
- category: "I",
70
- categoryIndex: 1,
71
- subCategory: "Question Mark",
72
- subCategoryIndex: 1,
73
- columnGroup: null,
74
- columnGroupIndex: null,
75
- columnSubGroup: null,
76
- columnSubGroupIndex: null,
77
- pp1: 100,
78
- ac1: 100,
79
- pl1: 100,
80
- fc1: 100,
81
- ac2: 0.001,
82
- pp2: 7,
83
- fc2: 7,
84
- pl2: 4,
85
- ac3: 1,
86
- pp3: 7,
87
- fc3: 7,
88
- pl3: 4,
89
- ac4: 1,
90
- pp4: 7,
91
- fc4: 7,
92
- pl4: 4,
93
- },
94
- {
95
- setName: "de",
96
- date: "2022-03-01T01:00:00Z",
97
- operation: "+",
98
- rowGroup: "Amerika",
99
- rowGroupIndex: 1,
100
- category: "II",
101
- categoryIndex: 2,
102
- subCategory: "Stars",
103
- subCategoryIndex: 2,
104
- columnGroup: null,
105
- columnGroupIndex: null,
106
- columnSubGroup: null,
107
- columnSubGroupIndex: null,
108
- pp1: 1201,
109
- ac1: 300,
110
- pl1: 1209,
111
- fc1: 100,
112
- ac2: 0.001,
113
- pp2: 7,
114
- fc2: 7,
115
- pl2: 4,
116
- ac3: 1,
117
- pp3: 7,
118
- fc3: 7,
119
- pl3: 4,
120
- ac4: 1,
121
- pp4: 7,
122
- fc4: 7,
123
- pl4: 4,
124
- },
125
- {
126
- setName: "de",
127
- date: "2022-03-01T01:06:00Z",
128
- operation: "+",
129
- rowGroup: "Asien",
130
- rowGroupIndex: 1,
131
- category: "III",
132
- categoryIndex: 3,
133
- subCategory: "Cash Cows",
134
- subCategoryIndex: 3,
135
- columnGroup: null,
136
- columnGroupIndex: null,
137
- columnSubGroup: null,
138
- columnSubGroupIndex: null,
139
- pp1: 835,
140
- ac1: 200,
141
- pl1: 955,
142
- fc1: 100,
143
- ac2: 0.001,
144
- pp2: 7,
145
- fc2: 7,
146
- pl2: 4,
147
- ac3: 1,
148
- pp3: 7,
149
- fc3: 7,
150
- pl3: 4,
151
- ac4: 1,
152
- pp4: 7,
153
- fc4: 7,
154
- pl4: 4,
155
- },
156
- {
157
- setName: "de",
158
- date: "2022-03-01T00:59:00Z",
159
- operation: "+",
160
- rowGroup: "Europa",
161
- rowGroupIndex: 1,
162
- category: "Produktgrupppe IV",
163
- categoryIndex: 4,
164
- subCategory: "Poor Dogs",
165
- subCategoryIndex: 4,
166
- columnGroup: null,
167
- columnGroupIndex: null,
168
- columnSubGroup: null,
169
- columnSubGroupIndex: null,
170
- pp1: 423,
171
- ac1: 741,
172
- pl1: 641,
173
- fc1: 400,
174
- ac2: 0.001,
175
- pp2: 7,
176
- fc2: 7,
177
- pl2: 4,
178
- ac3: 1,
179
- pp3: 7,
180
- fc3: 7,
181
- pl3: 4,
182
- ac4: 1,
183
- pp4: 7,
184
- fc4: 7,
185
- pl4: 4,
186
- },
187
- {
188
- setName: "de",
189
- date: "2022-03-01T00:59:01Z",
190
- operation: "+",
191
- rowGroup: "Rest",
192
- rowGroupIndex: 1,
193
- category: "Rest",
194
- categoryIndex: 5,
195
- subCategory: "Rest",
196
- subCategoryIndex: 5,
197
- columnGroup: null,
198
- columnGroupIndex: null,
199
- columnSubGroup: null,
200
- columnSubGroupIndex: null,
201
- pp1: 1,
202
- ac1: 400,
203
- pl1: 1,
204
- fc1: 100,
205
- ac2: 0.001,
206
- pp2: 7,
207
- fc2: 7,
208
- pl2: 4,
209
- ac3: 1,
210
- pp3: 7,
211
- fc3: 7,
212
- pl3: 4,
213
- ac4: 1,
214
- pp4: 7,
215
- fc4: 7,
216
- pl4: 4,
217
- },
218
- ];
219
- const trans = new Map();
220
- trans.set("pp1", "PY");
221
- trans.set("ac1", "AC");
222
- trans.set("pl1", "PL");
223
- trans.set("fc1", "FC");
224
- //let scenarios = ["ac1", "pp1","pl1","fc1","dpl1_ac1_pos",""]
225
- //let leftSideOffset = Formatter.getMaxWidthOfArrayItems(scenarios, trans, style);
226
- return (index.h("div", { key: '79749e85befc60318e77e304ab58b6dffcb113dd' }, index.h("div", { key: 'cc40a80a42894d4eca30a389bbc9d94526c99915', style: { fontFamily: style.fontStyles.font, fontSize: style.fontStyles.size + "px" } }, index.h("div", { key: 'db1a42dd4695f00e2220b1ea25911fe13536fea5' }, "T-2 1 Series MONTH"), index.h("ibcs-chart-time", { key: '5ed470df7180fd31c45049ad56b3c02a2f1f7cad', data: dataSet, scenarios: ["ac2"], variances: [], pixelPerUnit: 10, styles: style, "date-interval": DateStringFactory.DateDistance.YEAR, "interval-span-Limit": 10, measureScale: "p", measureUnit: "EUR", showMeasureScale: true, dataFormatDigits: { percent: 2, decimal: 2 } }))));
227
- }
228
- };
229
-
230
- exports.test_runner_chart_time = TestRunnerChart;