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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
  2. package/dist/bn-template-engine/p-05a82a77.entry.js +1 -0
  3. package/dist/bn-template-engine/p-0f1504f3.entry.js +1 -0
  4. package/dist/bn-template-engine/p-1970906d.entry.js +1 -0
  5. package/dist/bn-template-engine/p-1dbd339c.entry.js +1 -0
  6. package/dist/bn-template-engine/p-2e68cf09.entry.js +1 -0
  7. package/dist/bn-template-engine/p-31cc6a2d.entry.js +1 -0
  8. package/dist/bn-template-engine/p-37881d05.entry.js +1 -0
  9. package/dist/bn-template-engine/{p-65f8962a.entry.js → p-3b894997.entry.js} +1 -1
  10. package/dist/bn-template-engine/p-50e49732.entry.js +1 -0
  11. package/dist/bn-template-engine/{p-ad94cf63.entry.js → p-6c7c0455.entry.js} +1 -1
  12. package/dist/bn-template-engine/p-6da93eae.entry.js +1 -0
  13. package/dist/bn-template-engine/p-701e1578.entry.js +1 -0
  14. package/dist/bn-template-engine/{p-_LBTIfNN.js → p-8tsCnxIz.js} +1 -1
  15. package/dist/bn-template-engine/p-997b2fe4.entry.js +1 -0
  16. package/dist/bn-template-engine/p-B4ySv9KQ.js +1 -0
  17. package/dist/bn-template-engine/p-BL8gyUwE.js +1 -0
  18. package/dist/bn-template-engine/p-BSfqOkN_.js +1 -0
  19. package/dist/bn-template-engine/{p-Cp4MVxCu.js → p-C0yAPzJz.js} +1 -1
  20. package/dist/bn-template-engine/{p--TeDldm8.js → p-CRLgp9-v.js} +1 -1
  21. package/dist/bn-template-engine/p-CYjZRKdI.js +1 -0
  22. package/dist/bn-template-engine/p-DG-1MR_T.js +1 -0
  23. package/dist/bn-template-engine/{p-CnI71OA9.js → p-DRikHQE-.js} +1 -1
  24. package/dist/bn-template-engine/p-DVMu6dEy.js +1 -0
  25. package/dist/bn-template-engine/p-DtdQCMzj.js +1 -0
  26. package/dist/bn-template-engine/p-JNHhIe7t.js +2 -0
  27. package/dist/bn-template-engine/p-a90f1cbe.entry.js +1 -0
  28. package/dist/bn-template-engine/p-b7bec050.entry.js +1 -0
  29. package/dist/bn-template-engine/p-d7f0cbaf.entry.js +1 -0
  30. package/dist/bn-template-engine/p-dfb61aa5.entry.js +1 -0
  31. package/dist/bn-template-engine/p-ece17f84.entry.js +1 -0
  32. package/dist/bn-template-engine/p-f27995c9.entry.js +1 -0
  33. package/dist/bn-template-engine/p-fd427179.entry.js +1 -0
  34. package/dist/bn-template-engine/p-sqjrku2z.js +1 -0
  35. package/dist/bn-template-engine/{p-CY1RzLjU.js → p-tzFCK9qn.js} +1 -1
  36. package/dist/cjs/{DataFormatDigits-DmTbhF8q.js → DataFormatDigits-DAmZzqbD.js} +1 -1
  37. package/dist/cjs/{DateStringFactory-Dn0aRj2Y.js → DateStringFactory-CcluhpGI.js} +4 -5
  38. package/dist/cjs/{luxon-8hyy5YD7.js → Order-BKoDS21t.js} +310 -0
  39. package/dist/cjs/{SVGVariancesStyleGroup-Czizhngt.js → SVGVariancesStyleGroup-DYYAU-81.js} +1 -1
  40. package/dist/cjs/{StringAdapter-0EbYMkR0.js → StringAdapter-Bneo8T4k.js} +1 -1
  41. package/dist/cjs/bn-asset.cjs.entry.js +5 -6
  42. package/dist/cjs/{bn-body_3.cjs.entry.js → bn-body_4.cjs.entry.js} +360 -27
  43. package/dist/cjs/bn-card.cjs.entry.js +5 -6
  44. package/dist/cjs/bn-chart-structure.cjs.entry.js +17 -22
  45. package/dist/cjs/bn-chart-time.cjs.entry.js +38 -51
  46. package/dist/cjs/bn-component-style.cjs.entry.js +5 -6
  47. package/dist/cjs/bn-context_5.cjs.entry.js +145 -78
  48. package/dist/cjs/bn-dataset.cjs.entry.js +5 -6
  49. package/dist/cjs/bn-grid.cjs.entry.js +8 -11
  50. package/dist/cjs/bn-image.cjs.entry.js +8 -11
  51. package/dist/cjs/bn-internationalization.cjs.entry.js +5 -6
  52. package/dist/cjs/bn-layout-card.cjs.entry.js +3 -3
  53. package/dist/cjs/bn-layout-page.cjs.entry.js +2 -2
  54. package/dist/cjs/bn-message.cjs.entry.js +6 -7
  55. package/dist/cjs/bn-template-engine.cjs.js +2 -2
  56. package/dist/cjs/bn-template.cjs.entry.js +4 -5
  57. package/dist/cjs/bn-text.cjs.entry.js +12 -16
  58. package/dist/cjs/bn-tree.cjs.entry.js +8 -11
  59. package/dist/cjs/{context-protocol-BkYHFkXE.js → context-protocol-CRPmux5D.js} +1 -1
  60. package/dist/cjs/editor-companion.cjs.entry.js +3 -3
  61. package/dist/cjs/ibcs-chart-structure.cjs.entry.js +31 -33
  62. package/dist/cjs/ibcs-chart-time.cjs.entry.js +42 -44
  63. package/dist/cjs/{index-CScBFiS1.js → index-Cjw0q6gP.js} +1 -2
  64. package/dist/cjs/loader.cjs.js +2 -2
  65. package/dist/cjs/{withDataset-ZdN-RRTx.js → scaling-D8sIIKft.js} +68 -3
  66. package/dist/cjs/{withBodyObserver-B0_W1VOf.js → withBodyObserver-C6gLgq_e.js} +2 -2
  67. package/dist/cjs/{componentRegister-C17UFNPh.js → withComponentStatus-_x4LQZ0N.js} +43 -6
  68. package/dist/cjs/{withComponentStyle-C6KHnZHt.js → withComponentStyle-DMtic_9Y.js} +3 -3
  69. package/dist/cjs/{withHasError-Dspb3lIV.js → withHasError-B8gHkfV2.js} +1 -1
  70. package/dist/cjs/{withStyled-Bf-stJTR.js → withStyled-CW30Bh6c.js} +18 -63
  71. package/dist/cjs/{withTranslation-Cz0M5maV.js → withTranslation-CWPAIRjh.js} +3 -3
  72. package/dist/collection/collection-manifest.json +1 -10
  73. package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +2 -3
  74. package/dist/collection/components/bn-chart-time/bn-chart-time.js +21 -30
  75. package/dist/collection/components/bn-message/bn-message.js +1 -1
  76. package/dist/collection/components/bn-page/bn-page.js +1 -1
  77. package/dist/collection/components/bn-table/bn-table.js +63 -12
  78. package/dist/collection/components/bn-table/ibcs-table.css +7 -5
  79. package/dist/collection/components/bn-table/ibcs-table.js +22 -1
  80. package/dist/collection/components/bn-table/utils/elements/CellBarChart.js +56 -25
  81. package/dist/collection/components/bn-table/utils/elements/TableRow.js +3 -1
  82. package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +12 -3
  83. package/dist/collection/components/bn-table/utils/helper/ColumnStatistics.js +9 -1
  84. package/dist/collection/components/bn-template/bn-template.js +1 -1
  85. package/dist/collection/components/bn-text/bn-text.js +1 -1
  86. package/dist/collection/components/bn-title/bn-title.js +1 -9
  87. package/dist/collection/components/bn-title/ibcs-title/ibcs-title.js +1 -1
  88. package/dist/collection/components/editor-companion/editor-companion.js +1 -1
  89. package/dist/collection/utils/DateStringFactory.js +0 -1
  90. package/dist/collection/utils/constants.js +27 -0
  91. package/dist/collection/utils/validate.js +4 -1
  92. package/dist/components/DataFormatDigits.js +1 -1
  93. package/dist/components/DateStringFactory.js +1 -1
  94. package/dist/components/Order.js +1 -1
  95. package/dist/components/SVGVariancesStyleGroup.js +1 -1
  96. package/dist/components/bn-chart-structure.js +1 -1
  97. package/dist/components/bn-chart-time.js +1 -1
  98. package/dist/components/bn-message2.js +1 -1
  99. package/dist/components/bn-page2.js +1 -1
  100. package/dist/components/bn-table.js +1 -1
  101. package/dist/components/bn-template.js +1 -1
  102. package/dist/components/bn-text.js +1 -1
  103. package/dist/components/bn-title2.js +1 -1
  104. package/dist/components/editor-companion.js +1 -1
  105. package/dist/components/ibcs-chart-structure2.js +1 -1
  106. package/dist/components/ibcs-chart-time2.js +1 -1
  107. package/dist/components/ibcs-table2.js +1 -1
  108. package/dist/components/ibcs-title2.js +1 -1
  109. package/dist/components/ibcsRuleSet.js +1 -1
  110. package/dist/components/scaling.js +1 -1
  111. package/dist/components/validate.js +1 -1
  112. package/dist/components/withHasError.js +1 -1
  113. package/dist/esm/{DataFormatDigits-Dt6gpIiZ.js → DataFormatDigits--qIbKvXa.js} +1 -1
  114. package/dist/esm/{DateStringFactory-_Qiv0IvF.js → DateStringFactory-XWdUjsn8.js} +1 -2
  115. package/dist/esm/{luxon-DbyXf6dF.js → Order-sqjrku2z.js} +307 -1
  116. package/dist/esm/{SVGVariancesStyleGroup-DlWgvpzs.js → SVGVariancesStyleGroup-ibg3sLjM.js} +1 -1
  117. package/dist/esm/{StringAdapter-BLvo1Krl.js → StringAdapter-BCLJpQQ8.js} +1 -1
  118. package/dist/esm/bn-asset.entry.js +5 -6
  119. package/dist/esm/{bn-body_3.entry.js → bn-body_4.entry.js} +356 -24
  120. package/dist/esm/bn-card.entry.js +5 -6
  121. package/dist/esm/bn-chart-structure.entry.js +12 -17
  122. package/dist/esm/bn-chart-time.entry.js +31 -44
  123. package/dist/esm/bn-component-style.entry.js +5 -6
  124. package/dist/esm/bn-context_5.entry.js +124 -57
  125. package/dist/esm/bn-dataset.entry.js +5 -6
  126. package/dist/esm/bn-grid.entry.js +8 -11
  127. package/dist/esm/bn-image.entry.js +8 -11
  128. package/dist/esm/bn-internationalization.entry.js +5 -6
  129. package/dist/esm/bn-layout-card.entry.js +3 -3
  130. package/dist/esm/bn-layout-page.entry.js +2 -2
  131. package/dist/esm/bn-message.entry.js +6 -7
  132. package/dist/esm/bn-template-engine.js +3 -3
  133. package/dist/esm/bn-template.entry.js +4 -5
  134. package/dist/esm/bn-text.entry.js +11 -15
  135. package/dist/esm/bn-tree.entry.js +8 -11
  136. package/dist/esm/{context-protocol-DzeqZxg6.js → context-protocol-Bz5klD-F.js} +1 -1
  137. package/dist/esm/editor-companion.entry.js +3 -3
  138. package/dist/esm/ibcs-chart-structure.entry.js +5 -7
  139. package/dist/esm/ibcs-chart-time.entry.js +6 -8
  140. package/dist/esm/{index-B27Ax6P_.js → index-JNHhIe7t.js} +2 -2
  141. package/dist/esm/loader.js +3 -3
  142. package/dist/esm/{withDataset-BT2VQCsG.js → scaling-C6K8FYSF.js} +67 -4
  143. package/dist/esm/{withBodyObserver-gZpZiEIK.js → withBodyObserver-DczL5ia8.js} +2 -2
  144. package/dist/esm/{componentRegister-BtVfu16B.js → withComponentStatus-DodoSXe-.js} +36 -1
  145. package/dist/esm/{withComponentStyle-NaxfakAG.js → withComponentStyle-BerJY64r.js} +3 -3
  146. package/dist/esm/{withHasError-C48fTE2k.js → withHasError-B3QX2emi.js} +1 -1
  147. package/dist/esm/{withStyled-CpUTv74m.js → withStyled-D1fAWJ3g.js} +8 -51
  148. package/dist/esm/{withTranslation-Do4GhleK.js → withTranslation-mimbJdER.js} +3 -3
  149. package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +1 -2
  150. package/dist/types/components/bn-table/bn-table.d.ts +11 -7
  151. package/dist/types/components/bn-table/ibcs-table.d.ts +1 -0
  152. package/dist/types/components/bn-table/utils/elements/Cell.d.ts +1 -0
  153. package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +3 -0
  154. package/dist/types/components/bn-title/bn-title.d.ts +0 -1
  155. package/dist/types/components.d.ts +22 -403
  156. package/dist/types/utils/constants.d.ts +15 -0
  157. package/dist/types/utils/validate.d.ts +1 -0
  158. package/package.json +2 -3
  159. package/readme.md +0 -1
  160. package/dist/bn-template-engine/assets/gpx/Chasing_Legends.gpx +0 -195076
  161. package/dist/bn-template-engine/assets/gpx/Fahrt_am_Nachmittag.gpx +0 -142007
  162. package/dist/bn-template-engine/assets/icons/gpx-finish.png +0 -0
  163. package/dist/bn-template-engine/assets/icons/gpx-shadow.png +0 -0
  164. package/dist/bn-template-engine/assets/icons/gpx-start.png +0 -0
  165. package/dist/bn-template-engine/assets/icons/marker-example.png +0 -0
  166. package/dist/bn-template-engine/assets/icons/pin-icon-end.png +0 -0
  167. package/dist/bn-template-engine/assets/icons/pin-icon-start.png +0 -0
  168. package/dist/bn-template-engine/assets/icons/pin-icon-wpt.png +0 -0
  169. package/dist/bn-template-engine/assets/icons/pin-shadow.png +0 -0
  170. package/dist/bn-template-engine/assets/icons/pin.png +0 -0
  171. package/dist/bn-template-engine/p-0e7dc113.entry.js +0 -1
  172. package/dist/bn-template-engine/p-264c6bad.entry.js +0 -1
  173. package/dist/bn-template-engine/p-326a0902.entry.js +0 -1
  174. package/dist/bn-template-engine/p-38a8bde3.entry.js +0 -1
  175. package/dist/bn-template-engine/p-577eafcd.entry.js +0 -1
  176. package/dist/bn-template-engine/p-5905cc43.entry.js +0 -1
  177. package/dist/bn-template-engine/p-5d155a72.entry.js +0 -1
  178. package/dist/bn-template-engine/p-6b8d1ebf.entry.js +0 -1
  179. package/dist/bn-template-engine/p-7995acb2.entry.js +0 -1
  180. package/dist/bn-template-engine/p-7afe431e.entry.js +0 -1
  181. package/dist/bn-template-engine/p-8014b1ac.entry.js +0 -1
  182. package/dist/bn-template-engine/p-80423fc8.entry.js +0 -1
  183. package/dist/bn-template-engine/p-91e74d42.entry.js +0 -1
  184. package/dist/bn-template-engine/p-930a9e29.entry.js +0 -1
  185. package/dist/bn-template-engine/p-93C9jL8R.js +0 -1
  186. package/dist/bn-template-engine/p-93ff8584.entry.js +0 -1
  187. package/dist/bn-template-engine/p-B0m0U4wJ.js +0 -1
  188. package/dist/bn-template-engine/p-B27Ax6P_.js +0 -2
  189. package/dist/bn-template-engine/p-B79VcHiT.js +0 -1
  190. package/dist/bn-template-engine/p-BBd0ZVLL.js +0 -1
  191. package/dist/bn-template-engine/p-BFatTBqh.js +0 -1
  192. package/dist/bn-template-engine/p-BQp6ZPYW.js +0 -1
  193. package/dist/bn-template-engine/p-BhEQy-2D.js +0 -1
  194. package/dist/bn-template-engine/p-BtVfu16B.js +0 -1
  195. package/dist/bn-template-engine/p-CfWnag33.js +0 -1
  196. package/dist/bn-template-engine/p-DbyXf6dF.js +0 -1
  197. package/dist/bn-template-engine/p-TdL-LRR9.js +0 -1
  198. package/dist/bn-template-engine/p-a342cd3c.entry.js +0 -1
  199. package/dist/bn-template-engine/p-bc37d750.entry.js +0 -1
  200. package/dist/bn-template-engine/p-c9f050bf.entry.js +0 -1
  201. package/dist/bn-template-engine/p-d07a0ca3.entry.js +0 -1
  202. package/dist/bn-template-engine/p-e5f372af.entry.js +0 -1
  203. package/dist/bn-template-engine/p-e620028c.entry.js +0 -1
  204. package/dist/bn-template-engine/p-e81e116a.entry.js +0 -1
  205. package/dist/bn-template-engine/p-eca98070.entry.js +0 -1
  206. package/dist/bn-template-engine/p-ee6de950.entry.js +0 -1
  207. package/dist/bn-template-engine/p-efe0ef1e.entry.js +0 -1
  208. package/dist/bn-template-engine/p-f034f1b8.entry.js +0 -1
  209. package/dist/bn-template-engine/p-f1c1a8a3.entry.js +0 -1
  210. package/dist/bn-template-engine/p-fe573a1a.entry.js +0 -1
  211. package/dist/bn-template-engine/p-kMyLevYy.js +0 -1
  212. package/dist/cjs/Order-B4NIqQWe.js +0 -129
  213. package/dist/cjs/bn-map.cjs.entry.js +0 -425
  214. package/dist/cjs/constants-DHqQXSSd.js +0 -158
  215. package/dist/cjs/ibcs-map.cjs.entry.js +0 -1075
  216. package/dist/cjs/ibcs-title.cjs.entry.js +0 -352
  217. package/dist/cjs/scaling-B23eOtsC.js +0 -67
  218. package/dist/cjs/test-runner-card.cjs.entry.js +0 -27
  219. package/dist/cjs/test-runner-chart-time.cjs.entry.js +0 -230
  220. package/dist/cjs/test-runner-chart.cjs.entry.js +0 -326
  221. package/dist/cjs/test-runner-map.cjs.entry.js +0 -1862
  222. package/dist/cjs/test-runner-table.cjs.entry.js +0 -477
  223. package/dist/cjs/test-runner-time.cjs.entry.js +0 -381
  224. package/dist/cjs/test-runner-title.cjs.entry.js +0 -115
  225. package/dist/cjs/withComponentStatus-BrxL7usr.js +0 -39
  226. package/dist/collection/components/bn-map/bn-map.css +0 -4
  227. package/dist/collection/components/bn-map/bn-map.js +0 -725
  228. package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Chasing_Legends.gpx +0 -195076
  229. package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Fahrt_am_Nachmittag.gpx +0 -142007
  230. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-finish.png +0 -0
  231. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-shadow.png +0 -0
  232. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-start.png +0 -0
  233. package/dist/collection/components/bn-map/ibcs-map/assets/icons/marker-example.png +0 -0
  234. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-end.png +0 -0
  235. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-start.png +0 -0
  236. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-wpt.png +0 -0
  237. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-shadow.png +0 -0
  238. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin.png +0 -0
  239. package/dist/collection/components/bn-map/ibcs-map/ibcs-map.css +0 -674
  240. package/dist/collection/components/bn-map/ibcs-map/ibcs-map.js +0 -744
  241. package/dist/collection/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.js +0 -9
  242. package/dist/collection/components/bn-map/ibcs-map/utils/model/GpxLayer.js +0 -13
  243. package/dist/collection/components/bn-map/ibcs-map/utils/model/Marker.js +0 -11
  244. package/dist/collection/components/bn-map/ibcs-map/utils/model/index.js +0 -2
  245. package/dist/collection/test-runner/test-runner-card.js +0 -36
  246. package/dist/collection/test-runner/test-runner-chart-time.js +0 -234
  247. package/dist/collection/test-runner/test-runner-chart.js +0 -364
  248. package/dist/collection/test-runner/test-runner-map.js +0 -1901
  249. package/dist/collection/test-runner/test-runner-table.js +0 -469
  250. package/dist/collection/test-runner/test-runner-time.js +0 -399
  251. package/dist/collection/test-runner/test-runner-title.js +0 -108
  252. package/dist/components/bn-map.d.ts +0 -11
  253. package/dist/components/bn-map.js +0 -1
  254. package/dist/components/componentRegister.js +0 -1
  255. package/dist/components/ibcs-map.d.ts +0 -11
  256. package/dist/components/ibcs-map.js +0 -1
  257. package/dist/components/ibcs-map2.js +0 -1
  258. package/dist/components/test-runner-card.d.ts +0 -11
  259. package/dist/components/test-runner-card.js +0 -1
  260. package/dist/components/test-runner-chart-time.d.ts +0 -11
  261. package/dist/components/test-runner-chart-time.js +0 -1
  262. package/dist/components/test-runner-chart.d.ts +0 -11
  263. package/dist/components/test-runner-chart.js +0 -1
  264. package/dist/components/test-runner-map.d.ts +0 -11
  265. package/dist/components/test-runner-map.js +0 -1
  266. package/dist/components/test-runner-table.d.ts +0 -11
  267. package/dist/components/test-runner-table.js +0 -1
  268. package/dist/components/test-runner-time.d.ts +0 -11
  269. package/dist/components/test-runner-time.js +0 -1
  270. package/dist/components/test-runner-title.d.ts +0 -11
  271. package/dist/components/test-runner-title.js +0 -1
  272. package/dist/components/withDataset.js +0 -1
  273. package/dist/esm/Order-B4fpLe_f.js +0 -125
  274. package/dist/esm/bn-map.entry.js +0 -423
  275. package/dist/esm/constants-kMyLevYy.js +0 -158
  276. package/dist/esm/ibcs-map.entry.js +0 -1073
  277. package/dist/esm/ibcs-title.entry.js +0 -350
  278. package/dist/esm/scaling-BBd0ZVLL.js +0 -64
  279. package/dist/esm/test-runner-card.entry.js +0 -25
  280. package/dist/esm/test-runner-chart-time.entry.js +0 -228
  281. package/dist/esm/test-runner-chart.entry.js +0 -324
  282. package/dist/esm/test-runner-map.entry.js +0 -1860
  283. package/dist/esm/test-runner-table.entry.js +0 -475
  284. package/dist/esm/test-runner-time.entry.js +0 -379
  285. package/dist/esm/test-runner-title.entry.js +0 -113
  286. package/dist/esm/withComponentStatus-elELReKt.js +0 -37
  287. package/dist/types/components/bn-map/bn-map.d.ts +0 -122
  288. package/dist/types/components/bn-map/ibcs-map/ibcs-map.d.ts +0 -73
  289. package/dist/types/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.d.ts +0 -8
  290. package/dist/types/components/bn-map/ibcs-map/utils/model/GpxLayer.d.ts +0 -11
  291. package/dist/types/components/bn-map/ibcs-map/utils/model/Marker.d.ts +0 -9
  292. package/dist/types/components/bn-map/ibcs-map/utils/model/index.d.ts +0 -2
  293. package/dist/types/test-runner/test-runner-card.d.ts +0 -3
  294. package/dist/types/test-runner/test-runner-chart-time.d.ts +0 -3
  295. package/dist/types/test-runner/test-runner-chart.d.ts +0 -3
  296. package/dist/types/test-runner/test-runner-map.d.ts +0 -3
  297. package/dist/types/test-runner/test-runner-table.d.ts +0 -3
  298. package/dist/types/test-runner/test-runner-time.d.ts +0 -3
  299. package/dist/types/test-runner/test-runner-title.d.ts +0 -3
@@ -1 +0,0 @@
1
- import{r as t,h as e,H as n,g as s}from"./p-B27Ax6P_.js";import{i as r,f as i,w as o}from"./p-TdL-LRR9.js";import{w as a}from"./p-BFatTBqh.js";import{w as l}from"./p-93C9jL8R.js";import{w as c}from"./p-CY1RzLjU.js";import"./p-kMyLevYy.js";import"./p-CfWnag33.js";import"./p-DbyXf6dF.js";import"./p-B79VcHiT.js";import"./p-BtVfu16B.js";import"./p-CnI71OA9.js";const d=["*","/","+","-","x","÷","none"];function u(t){switch(t){case"*":case"x":return"×";case"/":case"÷":return"÷";case"+":return"+";case"-":return"−";default:return""}}function h(t,e,n){return t.find((t=>t.from===e&&t.to===n))}function f(t){return 2*(t-1)+1}function p(t){return 2*(t-1)+1}function g(t,e){const n=t.getBoundingClientRect(),s=n.left-e.left,r=n.top-e.top;return{left:s,top:r,width:n.width,height:n.height,centerX:s+n.width/2,centerY:r+n.height/2}}function y(t,e,n){switch(n){case"ltr":return e?{x:t.left+t.width,y:t.centerY}:{x:t.left,y:t.centerY};case"rtl":return e?{x:t.left,y:t.centerY}:{x:t.left+t.width,y:t.centerY};case"ttb":return e?{x:t.centerX,y:t.top+t.height}:{x:t.centerX,y:t.top};case"btt":return e?{x:t.centerX,y:t.top}:{x:t.centerX,y:t.top+t.height}}}function v(t,e,n,s,r=8){const i=-(s-1)*r/2+n*r;switch(e){case"ltr":return{x:t.left,y:t.centerY+i};case"rtl":return{x:t.left+t.width,y:t.centerY+i};case"ttb":return{x:t.centerX+i,y:t.top};case"btt":return{x:t.centerX+i,y:t.top+t.height}}}function m(t,e,n,s){switch(n){case"straight":return function(t,e){return{path:`M ${t.x} ${t.y} L ${e.x} ${e.y}`,midpoint:{x:(t.x+e.x)/2,y:(t.y+e.y)/2}}}(t,e);case"curved":return function(t,e,n){let s,r;if("ltr"===n||"rtl"===n){const n=(t.x+e.x)/2;s={x:n,y:t.y},r={x:n,y:e.y}}else{const n=(t.y+e.y)/2;s={x:t.x,y:n},r={x:e.x,y:n}}return{path:`M ${t.x} ${t.y} C ${s.x} ${s.y}, ${r.x} ${r.y}, ${e.x} ${e.y}`,midpoint:{x:.125*t.x+.375*s.x+.375*r.x+.125*e.x,y:.125*t.y+.375*s.y+.375*r.y+.125*e.y}}}(t,e,s);default:return function(t,e,n){let s,r;if("ltr"===n||"rtl"===n){const n=t.x+.7*(e.x-t.x);s=`M ${t.x} ${t.y} L ${n} ${t.y} L ${n} ${e.y} L ${e.x} ${e.y}`,r={x:n,y:(t.y+e.y)/2}}else{const n=t.y+.7*(e.y-t.y);s=`M ${t.x} ${t.y} L ${t.x} ${n} L ${e.x} ${n} L ${e.x} ${e.y}`,r={x:(t.x+e.x)/2,y:n}}return{path:s,midpoint:r}}(t,e,s)}}function b(t,e,n,s){const r=.7;switch(s){case"ltr":{const s=t.left+t.width;return{x:s+(Math.min(e.left,n.left)-s)*r,y:t.centerY}}case"rtl":{const s=t.left,i=Math.max(e.left+e.width,n.left+n.width);return{x:i+(s-i)*r,y:t.centerY}}case"ttb":{const s=t.top+t.height,i=Math.min(e.top,n.top);return{x:t.centerX,y:s+(i-s)*r}}case"btt":{const s=t.top,i=Math.max(e.top+e.height,n.top+n.height);return{x:t.centerX,y:i+(s-i)*r}}}}function $(t,e,n){var s,r;return Object.assign({stroke:null!==(s=null==n?void 0:n.color)&&void 0!==s?s:t,strokeWidth:null!==(r=null==n?void 0:n.width)&&void 0!==r?r:e},(null==n?void 0:n.dasharray)?{strokeDasharray:n.dasharray}:{})}const x=class{validateEdgesProp(t){const e="ERR_edges",n=function(t){const e=[];if(!t||""===t.trim())return e.push("edges: value is required"),e;let n;try{n=JSON.parse(t)}catch(t){return e.push("edges: invalid JSON structure"),e}if(!Array.isArray(n))return e.push("edges: must be an array"),e;if(0===n.length)return e.push("edges: array must not be empty"),e;const s=new Set,r=new Set;n.forEach(((t,n)=>{if("object"!=typeof t||null===t)return void e.push(`edges[${n}]: must be an object`);const i=t;if("string"!=typeof i.from||""===i.from.trim()?e.push(`edges[${n}]: 'from' is required and must be a non-empty string`):s.add(i.from),"string"!=typeof i.to||""===i.to.trim()?e.push(`edges[${n}]: 'to' is required and must be a non-empty string`):(s.add(i.to),r.add(i.to)),void 0!==i.operator&&("string"==typeof i.operator&&d.includes(i.operator)||e.push(`edges[${n}]: 'operator' must be one of: ${d.join(", ")}`)),void 0!==i.label&&"string"!=typeof i.label&&e.push(`edges[${n}]: 'label' must be a string`),void 0!==i.style)if("object"!=typeof i.style||null===i.style)e.push(`edges[${n}]: 'style' must be an object`);else{const t=i.style;void 0!==t.color&&"string"!=typeof t.color&&e.push(`edges[${n}]: 'style.color' must be a string`),void 0!==t.width&&"number"!=typeof t.width&&e.push(`edges[${n}]: 'style.width' must be a number`),void 0!==t.dasharray&&"string"!=typeof t.dasharray&&e.push(`edges[${n}]: 'style.dasharray' must be a string`)}}));const i=Array.from(s).filter((t=>!r.has(t)));return 0===i.length?e.push("edges: tree has no root node (circular reference detected)"):i.length>1&&e.push(`edges: tree has multiple root nodes: ${i.join(", ")}`),e}(t);n.length>0?(this.errors.addOrReplace({id:e,type:"error",message:`edges: ${n.join("; ")}`}),this.treeConfig=null):(this.errors.remove(e),this.treeConfig=function(t){if(!t||""===t.trim())return null;try{const e=JSON.parse(t);if(!Array.isArray(e))return null;const n=e,s=function(t){const e=new Map;for(const n of t){const t=e.get(n.from)||[];t.push(n.to),e.set(n.from,t)}return e}(n),r=function(t){const e=new Set;for(const n of t)e.add(n.from),e.add(n.to);return e}(n),i=function(t,e){const n=new Set;for(const e of t)n.add(e.to);const s=Array.from(e).filter((t=>!n.has(t)));return 1===s.length?s[0]:null}(n,r);return{edges:n,adjacencyList:s,rootNode:i,allNodes:r}}catch(t){return console.error("parseTreeConfig: failed to parse tree configuration",t),null}}(t)),this.recalculateLayout()}validateDirection(t){const e="ERR_direction",n=["ltr","rtl","ttb","btt"];n.includes(t)?this.errors.remove(e):this.errors.addOrReplace({id:e,type:"warning",message:`direction: invalid value '${t}', must be one of: ${n.join(", ")}`}),this.recalculateLayout()}validateLevelSpacing(t){const e="ERR_levelSpacing";!r(t)||t<0?this.errors.addOrReplace({id:e,type:"warning",message:`level-spacing: invalid value '${t}', must be a non-negative number`}):this.errors.remove(e),this.recalculateLayout()}validateNodeSpacing(t){const e="ERR_nodeSpacing";!r(t)||t<0?this.errors.addOrReplace({id:e,type:"warning",message:`node-spacing: invalid value '${t}', must be a non-negative number`}):this.errors.remove(e),this.recalculateLayout()}validateEdgeStyle(t){const e="ERR_edgeStyle",n=["straight","orthogonal","curved"];n.includes(t)?this.errors.remove(e):this.errors.addOrReplace({id:e,type:"warning",message:`edge-style: invalid value '${t}', must be one of: ${n.join(", ")}`})}validateShowOperators(t){const e="ERR_showOperators";i(t)?this.errors.remove(e):this.errors.addOrReplace({id:e,type:"warning",message:`show-operators: invalid value '${t}', must be 'true' or 'false'`})}constructor(e){t(this,e),this.treeConfig=null,this.layout=null,this.nodeRects=new Map,this.svgWidth=0,this.svgHeight=0,this.resizeObserver=null,this.gridContainer=null,this.direction="ltr",this.levelSpacing=60,this.nodeSpacing=20,this.edgeStyle="orthogonal",this.showOperators="true",o(this),a(this),this.errors=c(this),this.componentStyle=l(this)}getTreeStyle(){return this.componentStyle((t=>({edgeColor:t["bn-tree"].edgeColor,edgeWidth:t["bn-tree"].edgeWidth,operatorCircleRadius:t["bn-tree"].operatorCircleRadius,operatorFontSize:t.global.fontSizePx*t["bn-tree"].operatorFontSizeScale,operatorColor:t["bn-tree"].operatorColor})))}componentWillLoad(){this.validateEdgesProp(this.edges),this.validateDirection(this.direction),this.validateLevelSpacing(this.levelSpacing),this.validateNodeSpacing(this.nodeSpacing),this.validateEdgeStyle(this.edgeStyle),this.validateShowOperators(this.showOperators)}componentDidLoad(){this.setupResizeObserver(),this.updateNodeRects()}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}setupResizeObserver(){var t;this.gridContainer=null===(t=this.element.shadowRoot)||void 0===t?void 0:t.querySelector(".tree-grid"),this.gridContainer&&(this.resizeObserver=new ResizeObserver((()=>{this.updateNodeRects()})),this.resizeObserver.observe(this.gridContainer),this.element.querySelectorAll("[slot]").forEach((t=>{this.resizeObserver.observe(t)})))}recalculateLayout(){this.layout=this.treeConfig?function(t,e,n,s){if(!t.rootNode)return{positions:new Map,gridTemplateColumns:"",gridTemplateRows:"",maxLevel:0,maxIndex:0};const r=function(t){const e=new Map;if(!t.rootNode)return e;const n=[{node:t.rootNode,level:0}],s=new Set;for(;n.length>0;){const{node:r,level:i}=n.shift();if(s.has(r))continue;s.add(r),e.set(r,i);const o=t.adjacencyList.get(r)||[];for(const t of o)s.has(t)||n.push({node:t,level:i+1})}return e}(t),i=function(t){const e=new Map;if(!t.rootNode)return e;let n=0;return function s(r){const i=e.get(r);if(i)return i;const o=t.adjacencyList.get(r)||[];if(0===o.length){const t={startIndex:n,endIndex:n};return e.set(r,t),n++,t}let a=1/0,l=-1/0;for(const t of o){const e=s(t);a=Math.min(a,e.startIndex),l=Math.max(l,e.endIndex)}const c={startIndex:a,endIndex:l};return e.set(r,c),c}(t.rootNode),e}(t),o=function(t,e,n,s){var r,i;const o=new Map,a=Math.max(...Array.from(e.values()));for(const l of t.allNodes){const t=null!==(r=e.get(l))&&void 0!==r?r:0,c=null!==(i=n.get(l))&&void 0!==i?i:{startIndex:0,endIndex:0};let d,u,h;switch(s){case"ltr":d=t+1,u=c.startIndex+1,h=c.endIndex-c.startIndex+1;break;case"rtl":d=a-t+1,u=c.startIndex+1,h=c.endIndex-c.startIndex+1;break;case"ttb":u=t+1,d=c.startIndex+1,h=1;break;case"btt":u=a-t+1,d=c.startIndex+1,h=1}o.set(l,{nodeId:l,level:t,index:c.startIndex,gridColumn:d,gridRow:u,gridRowSpan:h})}return o}(t,r,i,e),a=Math.max(...Array.from(r.values())),l=Math.max(...Array.from(i.values()).map((t=>t.endIndex))),{gridTemplateColumns:c,gridTemplateRows:d}=function(t,e,n,s,r){const i=t+1,o=e+1;if("ltr"===n||"rtl"===n){const t=[];for(let e=0;e<i;e++)t.push("auto"),e<i-1&&t.push(`${s}px`);const e=[];for(let t=0;t<o;t++)e.push("auto"),t<o-1&&e.push(`${r}px`);return{gridTemplateColumns:t.join(" "),gridTemplateRows:e.join(" ")}}{const t=[];for(let e=0;e<i;e++)t.push("auto"),e<i-1&&t.push(`${s}px`);const e=[];for(let t=0;t<o;t++)e.push("auto"),t<o-1&&e.push(`${r}px`);return{gridTemplateColumns:e.join(" "),gridTemplateRows:t.join(" ")}}}(a,l,e,n,s);return{positions:o,gridTemplateColumns:c,gridTemplateRows:d,maxLevel:a,maxIndex:l}}(this.treeConfig,this.direction,this.levelSpacing,this.nodeSpacing):null}updateNodeRects(){if(!this.treeConfig||!this.gridContainer)return;const t=this.gridContainer.getBoundingClientRect(),e=new Map;for(const n of this.treeConfig.allNodes){const s=this.element.querySelector(`[slot="${n}"]`);s&&e.set(n,g(s,t))}this.nodeRects=e,this.svgWidth=t.width,this.svgHeight=t.height}getSlotStyle(t){if(!this.layout)return{};const e=this.layout.positions.get(t);return e?"ltr"===this.direction||"rtl"===this.direction?{"grid-column":String(f(e.gridColumn)),"grid-row":`${p(e.gridRow)} / span ${n=e.gridRowSpan,n<=1?1:2*(n-1)+1}`,"align-self":"center"}:{"grid-row":String(p(e.gridRow)),"grid-column":String(f(e.gridColumn)),"justify-self":"center"}:{};var n}renderEdges(){var t;if(!this.treeConfig||0===this.nodeRects.size)return null;const n=this.getTreeStyle(),s=[],r=[],i=new Map;for(const t of this.treeConfig.edges){const e=i.get(t.to)||[];e.push(t.from),i.set(t.to,e)}for(const t of this.treeConfig.edges){const r=this.nodeRects.get(t.from),o=this.nodeRects.get(t.to);if(!r||!o)continue;const a=y(r,!0,this.direction),l=i.get(t.to)||[];let c;if(l.length>1){const e=l.indexOf(t.from);c=v(o,this.direction,e,l.length)}else c=y(o,!1,this.direction);const{path:d}=m(a,c,this.edgeStyle,this.direction),u=$(n.edgeColor,n.edgeWidth,t.style);s.push(e("path",{key:`edge-${t.from}-${t.to}`,d,fill:"none",stroke:u.stroke,"stroke-width":u.strokeWidth,"stroke-dasharray":u.strokeDasharray}))}if("true"===this.showOperators)for(const[s,i]of this.treeConfig.adjacencyList.entries()){const o=this.nodeRects.get(s);if(o)for(let a=0;a<i.length-1;a++){const l=i[a],c=i[a+1],d=h(this.treeConfig.edges,s,l);if(!(null==d?void 0:d.operator)||"none"===d.operator)continue;const f=this.nodeRects.get(l),p=this.nodeRects.get(c);if(!f||!p)continue;const g=null!==(t=d.label)&&void 0!==t?t:u(d.operator),y=b(o,f,p,this.direction);r.push(e("g",{key:`operator-${s}-${l}`,class:"operator-group"},e("circle",{cx:y.x,cy:y.y,r:n.operatorCircleRadius,fill:"white",stroke:n.edgeColor,"stroke-width":n.edgeWidth}),e("text",{x:y.x,y:y.y,"text-anchor":"middle","dominant-baseline":"central",style:{fontSize:`${n.operatorFontSize}px`,fill:n.operatorColor,fontWeight:"bold"}},g)))}}return e("svg",{class:"edge-layer",width:this.svgWidth,height:this.svgHeight,style:{position:"absolute",top:"0",left:"0",pointerEvents:"none"}},s,r)}renderSlots(){return this.treeConfig&&this.layout?Array.from(this.treeConfig.allNodes).map((t=>e("div",{key:t,class:"tree-node",style:this.getSlotStyle(t)},e("slot",{name:t})))):null}getFontStyles(){return this.componentStyle((t=>{var e,n,s,r;return{"--bn-font-family":(null===(e=t.global)||void 0===e?void 0:e.fontFamily)||"'Noto Sans', sans-serif","--bn-font-size":`${(null===(n=t.global)||void 0===n?void 0:n.fontSizePx)||13.3333}px`,"--bn-font-color":(null===(s=t.global)||void 0===s?void 0:s.fontColor)||"#000000","--bn-font-background":(null===(r=t.global)||void 0===r?void 0:r.fontBackgroundColor)||"#ffffff"}}))}render(){const t=this.getFontStyles();return e(n,{style:t},this.treeConfig&&this.layout?e("div",{class:"tree-container"},e("div",{class:"tree-grid",style:{display:"grid","grid-template-columns":this.layout.gridTemplateColumns,"grid-template-rows":this.layout.gridTemplateRows,position:"relative"}},this.renderEdges(),this.renderSlots())):e("div",{class:"tree-container tree-error"},e("slot",null)))}get element(){return s(this)}static get watchers(){return{edges:[{validateEdgesProp:0}],direction:[{validateDirection:0}],levelSpacing:[{validateLevelSpacing:0}],nodeSpacing:[{validateNodeSpacing:0}],edgeStyle:[{validateEdgeStyle:0}],showOperators:[{validateShowOperators:0}]}}};x.style=':host{display:inline-block;position:relative;font-family:var(--bn-font-family, "Noto Sans", sans-serif);font-size:var(--bn-font-size, 13.3333px);color:var(--bn-font-color, #000000)}.tree-container{position:relative;display:inline-block}.tree-grid{position:relative;display:grid;align-items:center}.tree-node{position:relative;z-index:1;border:1px solid #404040;background:var(--bn-font-background, white)}.edge-layer{position:absolute;top:0;left:0;z-index:0;pointer-events:none;overflow:visible}.tree-error{display:flex;flex-wrap:wrap;gap:20px}';export{x as bn_tree}
@@ -1 +0,0 @@
1
- import{r as e,h as o}from"./p-B27Ax6P_.js";import{D as l}from"./p-CfWnag33.js";import"./p-DbyXf6dF.js";const a=class{constructor(o){e(this,o)}render(){const e={scaleFactors:{scenarioOffset:.3,scenarioLabelToColumn:.3,labelToColum:.3,labelToAxis:.3,needleWidth:.3,needleHeadWidth:.6,columnWidth:2,varianceAxisLineWidth:.3,axisLineWidth:.1,auxiliaryLineWidth:.1,scenarioLineWidth:.2,markerWidth:.7,markerOffset:0,categoryWidth:3,axisTickLength:.3},fontStyles:{font:"27.3333px Sans-Serif",size:27.3333,color:"#000000",background:"#ffffff",leading:1.8},axisStyles:{ac:{stroke:"#121212",fill:"#121212",width:.1},fc:{stroke:"#121212",fill:"#ffffff",width:.1,dasharray:"10 5 5 5"},pp:{stroke:"#606060",fill:"#606060",width:.1},pl:{stroke:"#121212",fill:"#ffffff",width:.1}},barStyles:{ac:{stroke:"#404040",fill:"#404040",width:.1},fc:{stroke:"#404040",fill:"#ffffff",width:.5,fillpattern:"fc"},pp:{stroke:"#A6A6A6",fill:"#A6A6A6",width:.1},pl:{stroke:"#404040",fill:"#ffffff",width:.1}},varianceStyles:{pos:{stroke:"#008f96",fill:"#008f96",width:.1},neg:{stroke:"#ff0000",fill:"#ff0000",width:.1},neu:{stroke:"#808080",fill:"#808080",width:.1}},padding:{top:10,left:10,right:10,bottom:10},pattern:new Map},a=new Map;return a.set("pp1","PY"),a.set("ac1","AC"),a.set("pl1","PL"),a.set("fc1","FC"),o("div",{key:"79749e85befc60318e77e304ab58b6dffcb113dd"},o("div",{key:"cc40a80a42894d4eca30a389bbc9d94526c99915",style:{fontFamily:e.fontStyles.font,fontSize:e.fontStyles.size+"px"}},o("div",{key:"db1a42dd4695f00e2220b1ea25911fe13536fea5"},"T-2 1 Series MONTH"),o("ibcs-chart-time",{key:"5ed470df7180fd31c45049ad56b3c02a2f1f7cad",data:[{setName:"de",date:"2022-03-01T01:05:00Z",operation:"+",rowGroup:"Afrika",rowGroupIndex:1,category:"I",categoryIndex:1,subCategory:"Question Mark",subCategoryIndex:1,columnGroup:null,columnGroupIndex:null,columnSubGroup:null,columnSubGroupIndex:null,pp1:100,ac1:100,pl1:100,fc1:100,ac2:.001,pp2:7,fc2:7,pl2:4,ac3:1,pp3:7,fc3:7,pl3:4,ac4:1,pp4:7,fc4:7,pl4:4},{setName:"de",date:"2022-03-01T01:00:00Z",operation:"+",rowGroup:"Amerika",rowGroupIndex:1,category:"II",categoryIndex:2,subCategory:"Stars",subCategoryIndex:2,columnGroup:null,columnGroupIndex:null,columnSubGroup:null,columnSubGroupIndex:null,pp1:1201,ac1:300,pl1:1209,fc1:100,ac2:.001,pp2:7,fc2:7,pl2:4,ac3:1,pp3:7,fc3:7,pl3:4,ac4:1,pp4:7,fc4:7,pl4:4},{setName:"de",date:"2022-03-01T01:06:00Z",operation:"+",rowGroup:"Asien",rowGroupIndex:1,category:"III",categoryIndex:3,subCategory:"Cash Cows",subCategoryIndex:3,columnGroup:null,columnGroupIndex:null,columnSubGroup:null,columnSubGroupIndex:null,pp1:835,ac1:200,pl1:955,fc1:100,ac2:.001,pp2:7,fc2:7,pl2:4,ac3:1,pp3:7,fc3:7,pl3:4,ac4:1,pp4:7,fc4:7,pl4:4},{setName:"de",date:"2022-03-01T00:59:00Z",operation:"+",rowGroup:"Europa",rowGroupIndex:1,category:"Produktgrupppe IV",categoryIndex:4,subCategory:"Poor Dogs",subCategoryIndex:4,columnGroup:null,columnGroupIndex:null,columnSubGroup:null,columnSubGroupIndex:null,pp1:423,ac1:741,pl1:641,fc1:400,ac2:.001,pp2:7,fc2:7,pl2:4,ac3:1,pp3:7,fc3:7,pl3:4,ac4:1,pp4:7,fc4:7,pl4:4},{setName:"de",date:"2022-03-01T00:59:01Z",operation:"+",rowGroup:"Rest",rowGroupIndex:1,category:"Rest",categoryIndex:5,subCategory:"Rest",subCategoryIndex:5,columnGroup:null,columnGroupIndex:null,columnSubGroup:null,columnSubGroupIndex:null,pp1:1,ac1:400,pl1:1,fc1:100,ac2:.001,pp2:7,fc2:7,pl2:4,ac3:1,pp3:7,fc3:7,pl3:4,ac4:1,pp4:7,fc4:7,pl4:4}],scenarios:["ac2"],variances:[],pixelPerUnit:10,styles:e,"date-interval":l.YEAR,"interval-span-Limit":10,measureScale:"p",measureUnit:"EUR",showMeasureScale:!0,dataFormatDigits:{percent:2,decimal:2}})))}};export{a as test_runner_chart_time}
@@ -1 +0,0 @@
1
- var a,n,o,t,c,e,u,s,r,i,f,l,p,w;!function(a){a.ALL="all",a.META="meta"}(a||(a={})),function(a){a.CURRENCY="currency",a.VOLUME="volume"}(n||(n={})),function(a){a.AC1="ac1",a.AC2="ac2",a.AC3="ac3",a.AC4="ac4",a.PP1="pp1",a.PP2="pp2",a.PP3="pp3",a.PP4="pp4",a.FC1="fc1",a.FC2="fc2",a.FC3="fc3",a.FC4="fc4",a.PL1="pl1",a.PL2="pl2",a.PL3="pl3",a.PL4="pl4"}(o||(o={})),function(a){a.POS="pos",a.NEG="neg",a.NEU="neu"}(t||(t={})),function(a){a.DECIMAL="decimal",a.PERCENT="percent"}(c||(c={})),function(a){a.LIST="list",a.SUM="sum",a.SUMNOTOTAL="sumnototal",a.OPT="opt",a.OPTNOTOTAL="optnototal"}(e||(e={})),function(a){a.INF="inf",a.W100="w100",a.W50="w50",a.W25="w25",a.W20="w20",a.W15="w15",a.W10="w10",a.W5="w5"}(u||(u={})),function(a){a.ROWGROUP="rowGroup",a.ROWGROUPINDEX="rowGroupIndex",a.CATEGORY="category",a.CATEGORYINDEX="categoryIndex",a.SUBCATEGORY="subCategory",a.SUBCATEGORYINDEX="subCategoryIndex"}(s||(s={})),function(a){a.SMART="smart",a.LONG="long",a.SHORT="short"}(r||(r={})),function(a){a.COLUMN="column",a.LINE="line",a.WATERFALL="waterfall"}(i||(i={})),function(a){a.BAR="bar",a.LINE="line",a.AUTO="auto"}(f||(f={})),function(a){a.SCENARIO="scenario",a.CATEGORY="category",a.SUBCATEGORY="subcategory",a.ROWGROUP="rowgroup"}(l||(l={})),function(a){a.ABSOLUTE="absolute",a.RELATIVE="relative",a.ABSOLUTE_RELATIVE="absolute-relative"}(p||(p={})),function(a){a.ASC="asc",a.DESC="desc",a.DATASET="dataset"}(w||(w={}));export{s as A,f as C,c as D,a as I,n as M,w as S,e as T,u as a,p as b,r as c,o as d,t as e,l as f}
@@ -1,129 +0,0 @@
1
- 'use strict';
2
-
3
- var luxon = require('./luxon-8hyy5YD7.js');
4
-
5
- /**
6
- * Type-checking utility used throughout the adapter layer for safe JSON-to-domain conversion.
7
- *
8
- * All methods are static guards that validate a single `unknown` value before it is
9
- * assigned to a typed domain property. Methods that serve as TypeScript type guards
10
- * use `data is T` return types to enable downstream type narrowing.
11
- */
12
- class CompareUtil {
13
- static isExisting(data) {
14
- return data !== null && data !== undefined;
15
- }
16
- static isString(data) {
17
- return typeof data === "string";
18
- }
19
- static isNumber(data) {
20
- return typeof data === "number" && !Number.isNaN(data);
21
- }
22
- static isBoolean(data) {
23
- return typeof data === "boolean";
24
- }
25
- static isArray(data) {
26
- return Array.isArray(data);
27
- }
28
- static isObject(data) {
29
- return typeof data === "object" && data !== null;
30
- }
31
- /**
32
- * Checks if the value is a valid IBCS aggregation operator.
33
- * Only `"+"` and `"-"` are valid; any other value is rejected.
34
- */
35
- static isOperator(data) {
36
- return data === "+" || data === "-";
37
- }
38
- /**
39
- * Checks if the value is a valid Luxon DateTime instance.
40
- * Returns false for invalid DateTime objects (e.g. parsed from malformed strings).
41
- */
42
- static isDate(data) {
43
- return data instanceof luxon.DateTime && data.isValid;
44
- }
45
- }
46
-
47
- /** Shared utilities for the adapter layer, used by all component config adapters. */
48
- class AdapterUtils {
49
- /** Returns the trimmed string value, or an empty string if the input is not a string. */
50
- static adaptDefaultString(data) {
51
- if (CompareUtil.isString(data)) {
52
- return data.trim();
53
- }
54
- return "";
55
- }
56
- /**
57
- * Safely adapts an array of untyped records through a typed adapter.
58
- * If `data` is not an array, returns an empty array instead of throwing.
59
- */
60
- static adaptArray(data, adapter) {
61
- const targetArray = [];
62
- if (CompareUtil.isArray(data)) {
63
- data.forEach((b) => {
64
- targetArray.push(adapter.adapt(b));
65
- });
66
- }
67
- return targetArray;
68
- }
69
- }
70
-
71
- exports.OrderDirection = void 0;
72
- (function (OrderDirection) {
73
- OrderDirection["ASC"] = "asc";
74
- OrderDirection["DESC"] = "desc";
75
- })(exports.OrderDirection || (exports.OrderDirection = {}));
76
- /** Valid columns for ORDER BY in AlaSQL queries — includes hierarchy dimensions and all 16 scenario slots. */
77
- exports.OrderColumn = void 0;
78
- (function (OrderColumn) {
79
- OrderColumn["ROWGROUP"] = "rowGroup";
80
- OrderColumn["ROWGROUPINDEX"] = "rowGroupIndex";
81
- OrderColumn["CATEGORY"] = "category";
82
- OrderColumn["CATEGORYINDEX"] = "categoryIndex";
83
- OrderColumn["SUBCATEGORY"] = "subCategory";
84
- OrderColumn["SUBCATEGORYINDEX"] = "subCategoryIndex";
85
- OrderColumn["AC1"] = "ac1";
86
- OrderColumn["AC2"] = "ac2";
87
- OrderColumn["AC3"] = "ac3";
88
- OrderColumn["AC4"] = "ac4";
89
- OrderColumn["PP1"] = "pp1";
90
- OrderColumn["PP2"] = "pp2";
91
- OrderColumn["PP3"] = "pp3";
92
- OrderColumn["PP4"] = "pp4";
93
- OrderColumn["FC1"] = "fc1";
94
- OrderColumn["FC2"] = "fc2";
95
- OrderColumn["FC3"] = "fc3";
96
- OrderColumn["FC4"] = "fc4";
97
- OrderColumn["PL1"] = "pl1";
98
- OrderColumn["PL2"] = "pl2";
99
- OrderColumn["PL3"] = "pl3";
100
- OrderColumn["PL4"] = "pl4";
101
- })(exports.OrderColumn || (exports.OrderColumn = {}));
102
- class Order {
103
- /**
104
- * @param hierarchy Columns for multi-level sorting, applied left-to-right (e.g. `["rowGroup", "category"]`).
105
- * @param direction Sort direction applied to all hierarchy levels.
106
- */
107
- constructor(hierarchy = ["category"], direction = exports.OrderDirection.ASC) {
108
- this.hierarchy = hierarchy;
109
- this.direction = direction;
110
- }
111
- }
112
- class OrderAdapter {
113
- constructor(stringAdapter) {
114
- this.stringAdapter = stringAdapter;
115
- }
116
- adapt(data) {
117
- var _a;
118
- const hierarchy = AdapterUtils.adaptArray(data.hierarchy, this.stringAdapter);
119
- const order = exports.OrderDirection[(_a = data.direction) === null || _a === void 0 ? void 0 : _a.toUpperCase()] || exports.OrderDirection.ASC;
120
- return new Order(hierarchy.map((str) => exports.OrderColumn[str.toUpperCase()] || exports.OrderColumn.CATEGORY), order);
121
- }
122
- default() {
123
- return new Order(["category"], exports.OrderDirection.ASC);
124
- }
125
- }
126
-
127
- exports.AdapterUtils = AdapterUtils;
128
- exports.CompareUtil = CompareUtil;
129
- exports.OrderAdapter = OrderAdapter;
@@ -1,425 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-CScBFiS1.js');
4
- var withStyled = require('./withStyled-Bf-stJTR.js');
5
- var withComponentStatus = require('./withComponentStatus-BrxL7usr.js');
6
- var withDataset = require('./withDataset-ZdN-RRTx.js');
7
- var withHasError = require('./withHasError-Dspb3lIV.js');
8
- var componentRegister = require('./componentRegister-C17UFNPh.js');
9
- require('./constants-DHqQXSSd.js');
10
- require('./DateStringFactory-Dn0aRj2Y.js');
11
- require('./luxon-8hyy5YD7.js');
12
- require('./Order-B4NIqQWe.js');
13
- require('./context-protocol-BkYHFkXE.js');
14
-
15
- const bnMapCss = () => `:host{display:block;height:100%}`;
16
-
17
- const BnMap = class {
18
- constructor(hostRef) {
19
- index.registerInstance(this, hostRef);
20
- this.bnStateUpdated = index.createEvent(this, "bnStateUpdated", 7);
21
- this.bnDragZoomEnded = index.createEvent(this, "bnDragZoomEnded", 7);
22
- this.markerList = [];
23
- this.gpxList = [];
24
- this.geojsonList = [];
25
- // @State() gpxdata: GpxParams[] = [];
26
- this.gpxData = [];
27
- this.geojsonData = [];
28
- this.markerData = [];
29
- this.data = [];
30
- this.uuid = withHasError.generateUUID();
31
- /**
32
- * Name of the makers Dataset used in map
33
- *
34
- * default: $markers
35
- */
36
- this.markersDatasetName = "$markers";
37
- /**
38
- * Name of the gpxs Dataset used in map
39
- *
40
- * default: $gpxs
41
- */
42
- this.gpxsDatasetName = "$gpxs";
43
- /**
44
- * Latitude of the maps viewport center,
45
- * the selected value will be ignored if gpx files are
46
- * selected
47
- */
48
- this.latitude = 50.137634;
49
- /**
50
- * Latitude of the maps viewport center,
51
- * the selected value will be ignored if gpx files are
52
- * selected
53
- */
54
- this.longitude = 8.679129;
55
- /**
56
- * scale / zoom factor of the maps viewport.
57
- * Decrease the value to zoom out.
58
- * Increase the value to zoom in.
59
- * the selected value will be ignored if gpx files are
60
- * selected
61
- */
62
- this.scale = 11;
63
- this.manualPosOverride = true;
64
- /**
65
- * Activates/ Deactivates Map Scale
66
- */
67
- this.showScale = false;
68
- /**
69
- * Set Footer label
70
- */
71
- this.attribution = "";
72
- /**
73
- * URL for maplayer provider
74
- * example provers https://leaflet-extras.github.io/leaflet-providers/preview/
75
- */
76
- this.tileLayer = "https://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}{r}.png";
77
- /**
78
- * Marker Parameter
79
- * example [{"latitude": 50.137634,
80
- * "longitude": 8.679129,
81
- * "iconUrl": "http://localhost:3333/build/assets/icons/marker-example.png",
82
- * "iconWidth": 64,
83
- * "iconHeight":64}]
84
- *
85
- */
86
- this.markers = null;
87
- /**
88
- * GPX Parameter
89
- * example ["file": "http://URL_TO_GPX.gpx",
90
- * "color": "#FC5200",
91
- * "opacity": 0.75,
92
- * "weight": 3,
93
- * "lineCap": "round"}]
94
- * */
95
- this.gpxs = null;
96
- this.geojsons = null;
97
- withStyled.withStyled(this);
98
- withComponentStatus.withComponentStatus(this);
99
- this.errors = withHasError.withHasError(this);
100
- withDataset.withDataset(this, (name, data) => {
101
- if (name === this.markersDatasetName) {
102
- this.markerData = data;
103
- }
104
- else if (name === this.gpxsDatasetName) {
105
- this.gpxData = data;
106
- }
107
- });
108
- }
109
- validateMarkerDatasetName(newValue) {
110
- const errId = "ERR_markersDatasetName";
111
- if (typeof newValue !== "string") {
112
- this.errors.addOrReplace({
113
- id: errId,
114
- type: "warning",
115
- message: "markerDatasetName: invalid value(s) '" + newValue + "' are not supported.",
116
- });
117
- }
118
- else {
119
- this.errors.remove(errId);
120
- }
121
- }
122
- validateGpxsDatasetName(newValue) {
123
- const errId = "ERR_gpxsDatasetName";
124
- if (typeof newValue !== "string") {
125
- this.errors.addOrReplace({
126
- id: errId,
127
- type: "warning",
128
- message: "gpxsDatasetName: invalid value(s) '" + newValue + "' are not supported.",
129
- });
130
- }
131
- else {
132
- this.errors.remove(errId);
133
- }
134
- }
135
- validateLatitude(newValue) {
136
- const errId = "ERR_latitude";
137
- if (!withStyled.isValidNumber(newValue)) {
138
- this.errors.addOrReplace({
139
- id: errId,
140
- type: "warning",
141
- message: "latitude: invalid value(s) '" + newValue + "' are not supported.",
142
- });
143
- }
144
- else {
145
- this.errors.remove(errId);
146
- }
147
- }
148
- validateLongitude(newValue) {
149
- const errId = "ERR_longitude";
150
- if (!withStyled.isValidNumber(newValue)) {
151
- this.errors.addOrReplace({
152
- id: errId,
153
- type: "warning",
154
- message: "longitude: invalid value(s) '" + newValue + "' are not supported.",
155
- });
156
- }
157
- else {
158
- this.errors.remove(errId);
159
- }
160
- }
161
- validateScale(newValue) {
162
- const errId = "ERR_scale";
163
- if (!withStyled.isValidNumber(newValue)) {
164
- this.errors.addOrReplace({
165
- id: errId,
166
- type: "warning",
167
- message: "scale: invalid value(s) '" + newValue + "' are not supported.",
168
- });
169
- }
170
- else {
171
- this.errors.remove(errId);
172
- }
173
- }
174
- validateManualPosOverride(newValue) {
175
- const errId = "ERR_scale";
176
- if (!withStyled.isValidBoolean(newValue)) {
177
- this.errors.addOrReplace({
178
- id: errId,
179
- type: "warning",
180
- message: "manualPosOverride: invalid value(s) '" + newValue + "' are not supported.",
181
- });
182
- }
183
- else {
184
- this.errors.remove(errId);
185
- }
186
- }
187
- validateShowScale(newValue) {
188
- const errId = "ERR_showScale";
189
- if (!withStyled.isValidBoolean(newValue)) {
190
- this.errors.addOrReplace({
191
- id: errId,
192
- type: "warning",
193
- message: "showScale: invalid value(s) '" + newValue + "' are not supported.",
194
- });
195
- }
196
- else {
197
- this.errors.remove(errId);
198
- }
199
- }
200
- validateAttribution(newValue) {
201
- const errId = "ERR_attribution";
202
- if (typeof newValue !== "string") {
203
- this.errors.addOrReplace({
204
- id: errId,
205
- type: "warning",
206
- message: "attribution: invalid value(s) '" + newValue + "' are not supported.",
207
- });
208
- }
209
- else {
210
- this.errors.remove(errId);
211
- }
212
- }
213
- validateTileLayer(newValue) {
214
- const errId = "ERR_tileLayer";
215
- if (typeof newValue !== "string") {
216
- this.errors.addOrReplace({
217
- id: errId,
218
- type: "warning",
219
- message: "tileLayer: invalid value(s) '" + newValue + "' are not supported.",
220
- });
221
- }
222
- else {
223
- this.errors.remove(errId);
224
- }
225
- }
226
- validateMarkers(newValue) {
227
- if (!newValue) {
228
- return;
229
- }
230
- const errId = "ERR_markers";
231
- const errIdJson = "ERR_markersJSON";
232
- try {
233
- const invalidScenarios = withStyled.validateMarkerType(newValue);
234
- if (invalidScenarios.length > 0) {
235
- this.errors.addOrReplace({
236
- id: errId,
237
- type: "warning",
238
- message: "Markers: invalid value(s) '" + invalidScenarios + "' are not supported.",
239
- });
240
- }
241
- else {
242
- this.errors.remove(errId);
243
- }
244
- this.markerList = JSON.parse(newValue);
245
- this.errors.remove(errIdJson);
246
- }
247
- catch (e) {
248
- this.errors.addOrReplace({
249
- id: errIdJson,
250
- type: "warning",
251
- message: "Markers: invalid value(s) '" + newValue + "' are not supported.:" + e.message,
252
- });
253
- }
254
- }
255
- validateGpx(newValue) {
256
- if (!newValue) {
257
- return;
258
- }
259
- const errId = "ERR_gpxs";
260
- const errIdJson = "ERR_gpxsJSON";
261
- try {
262
- const invalidScenarios = withStyled.validateGpxType(newValue);
263
- if (invalidScenarios.length > 0) {
264
- this.errors.addOrReplace({
265
- id: errId,
266
- type: "warning",
267
- message: "gpxs: invalid value(s) '" + invalidScenarios + "' are not supported.",
268
- });
269
- }
270
- else {
271
- this.errors.remove(errId);
272
- }
273
- this.gpxList = JSON.parse(newValue);
274
- this.errors.remove(errIdJson);
275
- }
276
- catch (e) {
277
- this.errors.addOrReplace({
278
- id: errIdJson,
279
- type: "warning",
280
- message: "gpxs: invalid '" + newValue + "' is not supported.:" + e.message,
281
- });
282
- }
283
- }
284
- validateGeojson(newValue) {
285
- if (!newValue) {
286
- return;
287
- }
288
- const errId = "ERR_geojsons";
289
- const errIdJson = "ERR_geojsons";
290
- try {
291
- const invalidScenarios = withStyled.validateGeojsonType(newValue);
292
- if (invalidScenarios.length > 0) {
293
- this.errors.addOrReplace({
294
- id: errId,
295
- type: "warning",
296
- message: "geojsons: invalid value(s) '" + invalidScenarios + "' are not supported.",
297
- });
298
- }
299
- else {
300
- this.errors.remove(errId);
301
- }
302
- this.geojsonList = JSON.parse(newValue);
303
- this.errors.remove(errIdJson);
304
- }
305
- catch (e) {
306
- this.errors.addOrReplace({
307
- id: errIdJson,
308
- type: "warning",
309
- message: "geojsons: invalid '" + newValue + "' is not supported.:" + e.message,
310
- });
311
- }
312
- }
313
- stateUpdated(status) {
314
- componentRegister.ComponentRegister.updateStatus(this.uuid, status.detail);
315
- }
316
- dragZoomEnded(props) {
317
- this.bnDragZoomEnded.emit(props.detail);
318
- }
319
- componentWillLoad() {
320
- this.validateLatitude(this.latitude);
321
- this.validateLongitude(this.longitude);
322
- this.validateScale(this.scale);
323
- this.validateShowScale(this.showScale);
324
- this.validateAttribution(this.attribution);
325
- this.validateTileLayer(this.tileLayer);
326
- this.validateMarkers(this.markers);
327
- this.validateGpx(this.gpxs);
328
- this.validateGeojson(this.geojsons);
329
- this.validateManualPosOverride(this.manualPosOverride);
330
- }
331
- render() {
332
- return (index.h(index.Host, { key: 'fa9bf3fb7fcf0c10b91967c6e3a67db914af1bf9' }, index.h("ibcs-map", { key: '2b692fe311b00b65d0001ae64f5b17f7b99d111d', tileLayer: this.tileLayer, latitude: this.latitude, longitude: this.longitude, scale: this.scale, showScale: this.showScale, showZoom: false, attribution: this.attribution, gpxs: this.prepareGpxData(), markers: this.prepareMarkerData(), geojsons: this.prepareGeojsonData(), manualPosOverride: this.manualPosOverride })));
333
- }
334
- prepareMarkerData() {
335
- return [...this.markerData, ...this.markerList];
336
- }
337
- prepareGpxData() {
338
- return [...this.gpxData, ...this.gpxList];
339
- }
340
- prepareGeojsonData() {
341
- return [...this.geojsonData, ...this.geojsonList];
342
- }
343
- getDataStructureGpxParams() {
344
- const dataSetStructure = {
345
- GpxParams: {
346
- file: { type: "string", isOptional: false, description: "" },
347
- color: { type: "string", isOptional: false, description: "" },
348
- opacity: { type: "number", isOptional: false, description: "" },
349
- weight: { type: "number", isOptional: false, description: "" },
350
- lineCap: { type: "string", isOptional: false, description: "" },
351
- startIconUrl: { type: "string", isOptional: false, description: "" },
352
- endIconUrl: { type: "string", isOptional: false, description: "" },
353
- shadowUrl: { type: "string", isOptional: false, description: "" },
354
- },
355
- };
356
- return dataSetStructure;
357
- }
358
- getDataStructureGeojsonParams() {
359
- const dataSetStructure = {
360
- GeojsonParams: {
361
- file: { type: "string", isOptional: false, description: "" },
362
- color: { type: "string", isOptional: false, description: "" },
363
- opacity: { type: "number", isOptional: false, description: "" },
364
- weight: { type: "number", isOptional: false, description: "" },
365
- lineCap: { type: "string", isOptional: false, description: "" },
366
- },
367
- };
368
- return dataSetStructure;
369
- }
370
- getDataStructureMarkerParams() {
371
- const dataSetStructure = {
372
- MarkerParams: {
373
- latitude: { type: "number", isOptional: false, description: "" },
374
- longitude: { type: "string", isOptional: false, description: "" },
375
- iconUrl: { type: "number", isOptional: false, description: "" },
376
- iconWidth: { type: "number", isOptional: false, description: "" },
377
- iconHeight: { type: "number", isOptional: false, description: "" },
378
- tile: { type: "string", isOptional: false, description: "" },
379
- },
380
- };
381
- return dataSetStructure;
382
- }
383
- get element() { return index.getElement(this); }
384
- static get watchers() { return {
385
- "markersDatasetName": [{
386
- "validateMarkerDatasetName": 0
387
- }],
388
- "gpxsDatasetName": [{
389
- "validateGpxsDatasetName": 0
390
- }],
391
- "latitude": [{
392
- "validateLatitude": 0
393
- }],
394
- "longitude": [{
395
- "validateLongitude": 0
396
- }],
397
- "scale": [{
398
- "validateScale": 0
399
- }],
400
- "manualPosOverride": [{
401
- "validateManualPosOverride": 0
402
- }],
403
- "showScale": [{
404
- "validateShowScale": 0
405
- }],
406
- "attribution": [{
407
- "validateAttribution": 0
408
- }],
409
- "tileLayer": [{
410
- "validateTileLayer": 0
411
- }],
412
- "markers": [{
413
- "validateMarkers": 0
414
- }],
415
- "gpxs": [{
416
- "validateGpx": 0
417
- }],
418
- "geojsons": [{
419
- "validateGeojson": 0
420
- }]
421
- }; }
422
- };
423
- BnMap.style = bnMapCss();
424
-
425
- exports.bn_map = BnMap;