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

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 (278) hide show
  1. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
  2. package/dist/bn-template-engine/{p-_LBTIfNN.js → p--PSoPbDM.js} +1 -1
  3. package/dist/bn-template-engine/p-05a82a77.entry.js +1 -0
  4. package/dist/bn-template-engine/p-0ca8dc17.entry.js +1 -0
  5. package/dist/bn-template-engine/p-0f1504f3.entry.js +1 -0
  6. package/dist/bn-template-engine/p-1d9a3be9.entry.js +1 -0
  7. package/dist/bn-template-engine/p-35638ad0.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-60a7fc59.entry.js +1 -0
  12. package/dist/bn-template-engine/{p-ad94cf63.entry.js → p-6c7c0455.entry.js} +1 -1
  13. package/dist/bn-template-engine/p-6da93eae.entry.js +1 -0
  14. package/dist/bn-template-engine/p-701e1578.entry.js +1 -0
  15. package/dist/bn-template-engine/p-BSfqOkN_.js +1 -0
  16. package/dist/bn-template-engine/{p--TeDldm8.js → p-CRLgp9-v.js} +1 -1
  17. package/dist/bn-template-engine/p-CYjZRKdI.js +1 -0
  18. package/dist/bn-template-engine/{p-Cp4MVxCu.js → p-CvXqez4D.js} +1 -1
  19. package/dist/bn-template-engine/p-DG-1MR_T.js +1 -0
  20. package/dist/bn-template-engine/{p-CnI71OA9.js → p-DRikHQE-.js} +1 -1
  21. package/dist/bn-template-engine/p-DVMu6dEy.js +1 -0
  22. package/dist/bn-template-engine/p-DVo6aZUE.js +1 -0
  23. package/dist/bn-template-engine/p-DdexOqTs.js +1 -0
  24. package/dist/bn-template-engine/p-DgfL-ffj.js +1 -0
  25. package/dist/bn-template-engine/p-DyRaC0MB.js +1 -0
  26. package/dist/bn-template-engine/p-JNHhIe7t.js +2 -0
  27. package/dist/bn-template-engine/p-a95ccc16.entry.js +1 -0
  28. package/dist/bn-template-engine/p-b7bec050.entry.js +1 -0
  29. package/dist/bn-template-engine/p-bc59ea5c.entry.js +1 -0
  30. package/dist/bn-template-engine/p-d279b578.entry.js +1 -0
  31. package/dist/bn-template-engine/p-dd9dd407.entry.js +1 -0
  32. package/dist/bn-template-engine/p-e102a490.entry.js +1 -0
  33. package/dist/bn-template-engine/p-f27995c9.entry.js +1 -0
  34. package/dist/bn-template-engine/p-f89e55c6.entry.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-CbIVfGEH.js} +1 -1
  37. package/dist/cjs/{DateStringFactory-Dn0aRj2Y.js → DateStringFactory-CfkXYAMN.js} +4 -5
  38. package/dist/cjs/{luxon-8hyy5YD7.js → Order-DtpbD8mQ.js} +282 -0
  39. package/dist/cjs/{SVGVariancesStyleGroup-Czizhngt.js → SVGVariancesStyleGroup-D-rTWlDo.js} +1 -1
  40. package/dist/cjs/{StringAdapter-0EbYMkR0.js → StringAdapter-ByCHdlDO.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 +36 -40
  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-BBtMesx3.js} +14 -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 +1 -1
  78. package/dist/collection/components/bn-template/bn-template.js +1 -1
  79. package/dist/collection/components/bn-text/bn-text.js +1 -1
  80. package/dist/collection/components/bn-title/bn-title.js +1 -9
  81. package/dist/collection/components/bn-title/ibcs-title/ibcs-title.js +1 -1
  82. package/dist/collection/components/editor-companion/editor-companion.js +1 -1
  83. package/dist/collection/utils/DateStringFactory.js +0 -1
  84. package/dist/components/DateStringFactory.js +1 -1
  85. package/dist/components/bn-chart-structure.js +1 -1
  86. package/dist/components/bn-chart-time.js +1 -1
  87. package/dist/components/bn-message2.js +1 -1
  88. package/dist/components/bn-page2.js +1 -1
  89. package/dist/components/bn-table.js +1 -1
  90. package/dist/components/bn-template.js +1 -1
  91. package/dist/components/bn-text.js +1 -1
  92. package/dist/components/bn-title2.js +1 -1
  93. package/dist/components/editor-companion.js +1 -1
  94. package/dist/components/ibcs-title2.js +1 -1
  95. package/dist/components/scaling.js +1 -1
  96. package/dist/components/validate.js +1 -1
  97. package/dist/components/withHasError.js +1 -1
  98. package/dist/esm/{DataFormatDigits-Dt6gpIiZ.js → DataFormatDigits-DYdbRX-1.js} +1 -1
  99. package/dist/esm/{DateStringFactory-_Qiv0IvF.js → DateStringFactory-DRcbojUT.js} +1 -2
  100. package/dist/esm/{luxon-DbyXf6dF.js → Order-DdexOqTs.js} +280 -1
  101. package/dist/esm/{SVGVariancesStyleGroup-DlWgvpzs.js → SVGVariancesStyleGroup-D0Cwprv1.js} +1 -1
  102. package/dist/esm/{StringAdapter-BLvo1Krl.js → StringAdapter-CTL-Dvzp.js} +1 -1
  103. package/dist/esm/bn-asset.entry.js +5 -6
  104. package/dist/esm/{bn-body_3.entry.js → bn-body_4.entry.js} +356 -24
  105. package/dist/esm/bn-card.entry.js +5 -6
  106. package/dist/esm/bn-chart-structure.entry.js +12 -17
  107. package/dist/esm/bn-chart-time.entry.js +31 -44
  108. package/dist/esm/bn-component-style.entry.js +5 -6
  109. package/dist/esm/bn-context_5.entry.js +15 -19
  110. package/dist/esm/bn-dataset.entry.js +5 -6
  111. package/dist/esm/bn-grid.entry.js +8 -11
  112. package/dist/esm/bn-image.entry.js +8 -11
  113. package/dist/esm/bn-internationalization.entry.js +5 -6
  114. package/dist/esm/bn-layout-card.entry.js +3 -3
  115. package/dist/esm/bn-layout-page.entry.js +2 -2
  116. package/dist/esm/bn-message.entry.js +6 -7
  117. package/dist/esm/bn-template-engine.js +3 -3
  118. package/dist/esm/bn-template.entry.js +4 -5
  119. package/dist/esm/bn-text.entry.js +11 -15
  120. package/dist/esm/bn-tree.entry.js +8 -11
  121. package/dist/esm/{context-protocol-DzeqZxg6.js → context-protocol-Bz5klD-F.js} +1 -1
  122. package/dist/esm/editor-companion.entry.js +3 -3
  123. package/dist/esm/ibcs-chart-structure.entry.js +5 -7
  124. package/dist/esm/ibcs-chart-time.entry.js +6 -8
  125. package/dist/esm/{index-B27Ax6P_.js → index-JNHhIe7t.js} +2 -2
  126. package/dist/esm/loader.js +3 -3
  127. package/dist/esm/{withDataset-BT2VQCsG.js → scaling-C6K8FYSF.js} +67 -4
  128. package/dist/esm/{withBodyObserver-gZpZiEIK.js → withBodyObserver-DczL5ia8.js} +2 -2
  129. package/dist/esm/{componentRegister-BtVfu16B.js → withComponentStatus-DodoSXe-.js} +36 -1
  130. package/dist/esm/{withComponentStyle-NaxfakAG.js → withComponentStyle-BerJY64r.js} +3 -3
  131. package/dist/esm/{withHasError-C48fTE2k.js → withHasError-B3QX2emi.js} +1 -1
  132. package/dist/esm/{withStyled-CpUTv74m.js → withStyled-DCipbf2O.js} +5 -51
  133. package/dist/esm/{withTranslation-Do4GhleK.js → withTranslation-mimbJdER.js} +3 -3
  134. package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +1 -2
  135. package/dist/types/components/bn-title/bn-title.d.ts +0 -1
  136. package/dist/types/components.d.ts +0 -401
  137. package/package.json +2 -3
  138. package/readme.md +0 -1
  139. package/dist/bn-template-engine/assets/gpx/Chasing_Legends.gpx +0 -195076
  140. package/dist/bn-template-engine/assets/gpx/Fahrt_am_Nachmittag.gpx +0 -142007
  141. package/dist/bn-template-engine/assets/icons/gpx-finish.png +0 -0
  142. package/dist/bn-template-engine/assets/icons/gpx-shadow.png +0 -0
  143. package/dist/bn-template-engine/assets/icons/gpx-start.png +0 -0
  144. package/dist/bn-template-engine/assets/icons/marker-example.png +0 -0
  145. package/dist/bn-template-engine/assets/icons/pin-icon-end.png +0 -0
  146. package/dist/bn-template-engine/assets/icons/pin-icon-start.png +0 -0
  147. package/dist/bn-template-engine/assets/icons/pin-icon-wpt.png +0 -0
  148. package/dist/bn-template-engine/assets/icons/pin-shadow.png +0 -0
  149. package/dist/bn-template-engine/assets/icons/pin.png +0 -0
  150. package/dist/bn-template-engine/p-0e7dc113.entry.js +0 -1
  151. package/dist/bn-template-engine/p-264c6bad.entry.js +0 -1
  152. package/dist/bn-template-engine/p-326a0902.entry.js +0 -1
  153. package/dist/bn-template-engine/p-38a8bde3.entry.js +0 -1
  154. package/dist/bn-template-engine/p-577eafcd.entry.js +0 -1
  155. package/dist/bn-template-engine/p-5905cc43.entry.js +0 -1
  156. package/dist/bn-template-engine/p-5d155a72.entry.js +0 -1
  157. package/dist/bn-template-engine/p-6b8d1ebf.entry.js +0 -1
  158. package/dist/bn-template-engine/p-7995acb2.entry.js +0 -1
  159. package/dist/bn-template-engine/p-7afe431e.entry.js +0 -1
  160. package/dist/bn-template-engine/p-8014b1ac.entry.js +0 -1
  161. package/dist/bn-template-engine/p-80423fc8.entry.js +0 -1
  162. package/dist/bn-template-engine/p-91e74d42.entry.js +0 -1
  163. package/dist/bn-template-engine/p-930a9e29.entry.js +0 -1
  164. package/dist/bn-template-engine/p-93C9jL8R.js +0 -1
  165. package/dist/bn-template-engine/p-93ff8584.entry.js +0 -1
  166. package/dist/bn-template-engine/p-B0m0U4wJ.js +0 -1
  167. package/dist/bn-template-engine/p-B27Ax6P_.js +0 -2
  168. package/dist/bn-template-engine/p-B79VcHiT.js +0 -1
  169. package/dist/bn-template-engine/p-BBd0ZVLL.js +0 -1
  170. package/dist/bn-template-engine/p-BFatTBqh.js +0 -1
  171. package/dist/bn-template-engine/p-BQp6ZPYW.js +0 -1
  172. package/dist/bn-template-engine/p-BhEQy-2D.js +0 -1
  173. package/dist/bn-template-engine/p-BtVfu16B.js +0 -1
  174. package/dist/bn-template-engine/p-CfWnag33.js +0 -1
  175. package/dist/bn-template-engine/p-DbyXf6dF.js +0 -1
  176. package/dist/bn-template-engine/p-TdL-LRR9.js +0 -1
  177. package/dist/bn-template-engine/p-a342cd3c.entry.js +0 -1
  178. package/dist/bn-template-engine/p-bc37d750.entry.js +0 -1
  179. package/dist/bn-template-engine/p-c9f050bf.entry.js +0 -1
  180. package/dist/bn-template-engine/p-d07a0ca3.entry.js +0 -1
  181. package/dist/bn-template-engine/p-e5f372af.entry.js +0 -1
  182. package/dist/bn-template-engine/p-e620028c.entry.js +0 -1
  183. package/dist/bn-template-engine/p-e81e116a.entry.js +0 -1
  184. package/dist/bn-template-engine/p-eca98070.entry.js +0 -1
  185. package/dist/bn-template-engine/p-ee6de950.entry.js +0 -1
  186. package/dist/bn-template-engine/p-efe0ef1e.entry.js +0 -1
  187. package/dist/bn-template-engine/p-f034f1b8.entry.js +0 -1
  188. package/dist/bn-template-engine/p-f1c1a8a3.entry.js +0 -1
  189. package/dist/bn-template-engine/p-fe573a1a.entry.js +0 -1
  190. package/dist/bn-template-engine/p-kMyLevYy.js +0 -1
  191. package/dist/cjs/Order-B4NIqQWe.js +0 -129
  192. package/dist/cjs/bn-map.cjs.entry.js +0 -425
  193. package/dist/cjs/constants-DHqQXSSd.js +0 -158
  194. package/dist/cjs/ibcs-map.cjs.entry.js +0 -1075
  195. package/dist/cjs/ibcs-title.cjs.entry.js +0 -352
  196. package/dist/cjs/scaling-B23eOtsC.js +0 -67
  197. package/dist/cjs/test-runner-card.cjs.entry.js +0 -27
  198. package/dist/cjs/test-runner-chart-time.cjs.entry.js +0 -230
  199. package/dist/cjs/test-runner-chart.cjs.entry.js +0 -326
  200. package/dist/cjs/test-runner-map.cjs.entry.js +0 -1862
  201. package/dist/cjs/test-runner-table.cjs.entry.js +0 -477
  202. package/dist/cjs/test-runner-time.cjs.entry.js +0 -381
  203. package/dist/cjs/test-runner-title.cjs.entry.js +0 -115
  204. package/dist/cjs/withComponentStatus-BrxL7usr.js +0 -39
  205. package/dist/collection/components/bn-map/bn-map.css +0 -4
  206. package/dist/collection/components/bn-map/bn-map.js +0 -725
  207. package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Chasing_Legends.gpx +0 -195076
  208. package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Fahrt_am_Nachmittag.gpx +0 -142007
  209. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-finish.png +0 -0
  210. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-shadow.png +0 -0
  211. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-start.png +0 -0
  212. package/dist/collection/components/bn-map/ibcs-map/assets/icons/marker-example.png +0 -0
  213. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-end.png +0 -0
  214. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-start.png +0 -0
  215. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-wpt.png +0 -0
  216. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-shadow.png +0 -0
  217. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin.png +0 -0
  218. package/dist/collection/components/bn-map/ibcs-map/ibcs-map.css +0 -674
  219. package/dist/collection/components/bn-map/ibcs-map/ibcs-map.js +0 -744
  220. package/dist/collection/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.js +0 -9
  221. package/dist/collection/components/bn-map/ibcs-map/utils/model/GpxLayer.js +0 -13
  222. package/dist/collection/components/bn-map/ibcs-map/utils/model/Marker.js +0 -11
  223. package/dist/collection/components/bn-map/ibcs-map/utils/model/index.js +0 -2
  224. package/dist/collection/test-runner/test-runner-card.js +0 -36
  225. package/dist/collection/test-runner/test-runner-chart-time.js +0 -234
  226. package/dist/collection/test-runner/test-runner-chart.js +0 -364
  227. package/dist/collection/test-runner/test-runner-map.js +0 -1901
  228. package/dist/collection/test-runner/test-runner-table.js +0 -469
  229. package/dist/collection/test-runner/test-runner-time.js +0 -399
  230. package/dist/collection/test-runner/test-runner-title.js +0 -108
  231. package/dist/components/bn-map.d.ts +0 -11
  232. package/dist/components/bn-map.js +0 -1
  233. package/dist/components/componentRegister.js +0 -1
  234. package/dist/components/ibcs-map.d.ts +0 -11
  235. package/dist/components/ibcs-map.js +0 -1
  236. package/dist/components/ibcs-map2.js +0 -1
  237. package/dist/components/test-runner-card.d.ts +0 -11
  238. package/dist/components/test-runner-card.js +0 -1
  239. package/dist/components/test-runner-chart-time.d.ts +0 -11
  240. package/dist/components/test-runner-chart-time.js +0 -1
  241. package/dist/components/test-runner-chart.d.ts +0 -11
  242. package/dist/components/test-runner-chart.js +0 -1
  243. package/dist/components/test-runner-map.d.ts +0 -11
  244. package/dist/components/test-runner-map.js +0 -1
  245. package/dist/components/test-runner-table.d.ts +0 -11
  246. package/dist/components/test-runner-table.js +0 -1
  247. package/dist/components/test-runner-time.d.ts +0 -11
  248. package/dist/components/test-runner-time.js +0 -1
  249. package/dist/components/test-runner-title.d.ts +0 -11
  250. package/dist/components/test-runner-title.js +0 -1
  251. package/dist/components/withDataset.js +0 -1
  252. package/dist/esm/Order-B4fpLe_f.js +0 -125
  253. package/dist/esm/bn-map.entry.js +0 -423
  254. package/dist/esm/constants-kMyLevYy.js +0 -158
  255. package/dist/esm/ibcs-map.entry.js +0 -1073
  256. package/dist/esm/ibcs-title.entry.js +0 -350
  257. package/dist/esm/scaling-BBd0ZVLL.js +0 -64
  258. package/dist/esm/test-runner-card.entry.js +0 -25
  259. package/dist/esm/test-runner-chart-time.entry.js +0 -228
  260. package/dist/esm/test-runner-chart.entry.js +0 -324
  261. package/dist/esm/test-runner-map.entry.js +0 -1860
  262. package/dist/esm/test-runner-table.entry.js +0 -475
  263. package/dist/esm/test-runner-time.entry.js +0 -379
  264. package/dist/esm/test-runner-title.entry.js +0 -113
  265. package/dist/esm/withComponentStatus-elELReKt.js +0 -37
  266. package/dist/types/components/bn-map/bn-map.d.ts +0 -122
  267. package/dist/types/components/bn-map/ibcs-map/ibcs-map.d.ts +0 -73
  268. package/dist/types/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.d.ts +0 -8
  269. package/dist/types/components/bn-map/ibcs-map/utils/model/GpxLayer.d.ts +0 -11
  270. package/dist/types/components/bn-map/ibcs-map/utils/model/Marker.d.ts +0 -9
  271. package/dist/types/components/bn-map/ibcs-map/utils/model/index.d.ts +0 -2
  272. package/dist/types/test-runner/test-runner-card.d.ts +0 -3
  273. package/dist/types/test-runner/test-runner-chart-time.d.ts +0 -3
  274. package/dist/types/test-runner/test-runner-chart.d.ts +0 -3
  275. package/dist/types/test-runner/test-runner-map.d.ts +0 -3
  276. package/dist/types/test-runner/test-runner-table.d.ts +0 -3
  277. package/dist/types/test-runner/test-runner-time.d.ts +0 -3
  278. package/dist/types/test-runner/test-runner-title.d.ts +0 -3
@@ -1,423 +0,0 @@
1
- import { r as registerInstance, d as createEvent, h, H as Host, g as getElement } from './index-B27Ax6P_.js';
2
- import { w as withStyled, i as isValidNumber, f as isValidBoolean, m as validateMarkerType, n as validateGpxType, o as validateGeojsonType } from './withStyled-CpUTv74m.js';
3
- import { w as withComponentStatus } from './withComponentStatus-elELReKt.js';
4
- import { w as withDataset } from './withDataset-BT2VQCsG.js';
5
- import { g as generateUUID, w as withHasError } from './withHasError-C48fTE2k.js';
6
- import { C as ComponentRegister } from './componentRegister-BtVfu16B.js';
7
- import './constants-kMyLevYy.js';
8
- import './DateStringFactory-_Qiv0IvF.js';
9
- import './luxon-DbyXf6dF.js';
10
- import './Order-B4fpLe_f.js';
11
- import './context-protocol-DzeqZxg6.js';
12
-
13
- const bnMapCss = () => `:host{display:block;height:100%}`;
14
-
15
- const BnMap = class {
16
- constructor(hostRef) {
17
- registerInstance(this, hostRef);
18
- this.bnStateUpdated = createEvent(this, "bnStateUpdated", 7);
19
- this.bnDragZoomEnded = createEvent(this, "bnDragZoomEnded", 7);
20
- this.markerList = [];
21
- this.gpxList = [];
22
- this.geojsonList = [];
23
- // @State() gpxdata: GpxParams[] = [];
24
- this.gpxData = [];
25
- this.geojsonData = [];
26
- this.markerData = [];
27
- this.data = [];
28
- this.uuid = generateUUID();
29
- /**
30
- * Name of the makers Dataset used in map
31
- *
32
- * default: $markers
33
- */
34
- this.markersDatasetName = "$markers";
35
- /**
36
- * Name of the gpxs Dataset used in map
37
- *
38
- * default: $gpxs
39
- */
40
- this.gpxsDatasetName = "$gpxs";
41
- /**
42
- * Latitude of the maps viewport center,
43
- * the selected value will be ignored if gpx files are
44
- * selected
45
- */
46
- this.latitude = 50.137634;
47
- /**
48
- * Latitude of the maps viewport center,
49
- * the selected value will be ignored if gpx files are
50
- * selected
51
- */
52
- this.longitude = 8.679129;
53
- /**
54
- * scale / zoom factor of the maps viewport.
55
- * Decrease the value to zoom out.
56
- * Increase the value to zoom in.
57
- * the selected value will be ignored if gpx files are
58
- * selected
59
- */
60
- this.scale = 11;
61
- this.manualPosOverride = true;
62
- /**
63
- * Activates/ Deactivates Map Scale
64
- */
65
- this.showScale = false;
66
- /**
67
- * Set Footer label
68
- */
69
- this.attribution = "";
70
- /**
71
- * URL for maplayer provider
72
- * example provers https://leaflet-extras.github.io/leaflet-providers/preview/
73
- */
74
- this.tileLayer = "https://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}{r}.png";
75
- /**
76
- * Marker Parameter
77
- * example [{"latitude": 50.137634,
78
- * "longitude": 8.679129,
79
- * "iconUrl": "http://localhost:3333/build/assets/icons/marker-example.png",
80
- * "iconWidth": 64,
81
- * "iconHeight":64}]
82
- *
83
- */
84
- this.markers = null;
85
- /**
86
- * GPX Parameter
87
- * example ["file": "http://URL_TO_GPX.gpx",
88
- * "color": "#FC5200",
89
- * "opacity": 0.75,
90
- * "weight": 3,
91
- * "lineCap": "round"}]
92
- * */
93
- this.gpxs = null;
94
- this.geojsons = null;
95
- withStyled(this);
96
- withComponentStatus(this);
97
- this.errors = withHasError(this);
98
- withDataset(this, (name, data) => {
99
- if (name === this.markersDatasetName) {
100
- this.markerData = data;
101
- }
102
- else if (name === this.gpxsDatasetName) {
103
- this.gpxData = data;
104
- }
105
- });
106
- }
107
- validateMarkerDatasetName(newValue) {
108
- const errId = "ERR_markersDatasetName";
109
- if (typeof newValue !== "string") {
110
- this.errors.addOrReplace({
111
- id: errId,
112
- type: "warning",
113
- message: "markerDatasetName: invalid value(s) '" + newValue + "' are not supported.",
114
- });
115
- }
116
- else {
117
- this.errors.remove(errId);
118
- }
119
- }
120
- validateGpxsDatasetName(newValue) {
121
- const errId = "ERR_gpxsDatasetName";
122
- if (typeof newValue !== "string") {
123
- this.errors.addOrReplace({
124
- id: errId,
125
- type: "warning",
126
- message: "gpxsDatasetName: invalid value(s) '" + newValue + "' are not supported.",
127
- });
128
- }
129
- else {
130
- this.errors.remove(errId);
131
- }
132
- }
133
- validateLatitude(newValue) {
134
- const errId = "ERR_latitude";
135
- if (!isValidNumber(newValue)) {
136
- this.errors.addOrReplace({
137
- id: errId,
138
- type: "warning",
139
- message: "latitude: invalid value(s) '" + newValue + "' are not supported.",
140
- });
141
- }
142
- else {
143
- this.errors.remove(errId);
144
- }
145
- }
146
- validateLongitude(newValue) {
147
- const errId = "ERR_longitude";
148
- if (!isValidNumber(newValue)) {
149
- this.errors.addOrReplace({
150
- id: errId,
151
- type: "warning",
152
- message: "longitude: invalid value(s) '" + newValue + "' are not supported.",
153
- });
154
- }
155
- else {
156
- this.errors.remove(errId);
157
- }
158
- }
159
- validateScale(newValue) {
160
- const errId = "ERR_scale";
161
- if (!isValidNumber(newValue)) {
162
- this.errors.addOrReplace({
163
- id: errId,
164
- type: "warning",
165
- message: "scale: invalid value(s) '" + newValue + "' are not supported.",
166
- });
167
- }
168
- else {
169
- this.errors.remove(errId);
170
- }
171
- }
172
- validateManualPosOverride(newValue) {
173
- const errId = "ERR_scale";
174
- if (!isValidBoolean(newValue)) {
175
- this.errors.addOrReplace({
176
- id: errId,
177
- type: "warning",
178
- message: "manualPosOverride: invalid value(s) '" + newValue + "' are not supported.",
179
- });
180
- }
181
- else {
182
- this.errors.remove(errId);
183
- }
184
- }
185
- validateShowScale(newValue) {
186
- const errId = "ERR_showScale";
187
- if (!isValidBoolean(newValue)) {
188
- this.errors.addOrReplace({
189
- id: errId,
190
- type: "warning",
191
- message: "showScale: invalid value(s) '" + newValue + "' are not supported.",
192
- });
193
- }
194
- else {
195
- this.errors.remove(errId);
196
- }
197
- }
198
- validateAttribution(newValue) {
199
- const errId = "ERR_attribution";
200
- if (typeof newValue !== "string") {
201
- this.errors.addOrReplace({
202
- id: errId,
203
- type: "warning",
204
- message: "attribution: invalid value(s) '" + newValue + "' are not supported.",
205
- });
206
- }
207
- else {
208
- this.errors.remove(errId);
209
- }
210
- }
211
- validateTileLayer(newValue) {
212
- const errId = "ERR_tileLayer";
213
- if (typeof newValue !== "string") {
214
- this.errors.addOrReplace({
215
- id: errId,
216
- type: "warning",
217
- message: "tileLayer: invalid value(s) '" + newValue + "' are not supported.",
218
- });
219
- }
220
- else {
221
- this.errors.remove(errId);
222
- }
223
- }
224
- validateMarkers(newValue) {
225
- if (!newValue) {
226
- return;
227
- }
228
- const errId = "ERR_markers";
229
- const errIdJson = "ERR_markersJSON";
230
- try {
231
- const invalidScenarios = validateMarkerType(newValue);
232
- if (invalidScenarios.length > 0) {
233
- this.errors.addOrReplace({
234
- id: errId,
235
- type: "warning",
236
- message: "Markers: invalid value(s) '" + invalidScenarios + "' are not supported.",
237
- });
238
- }
239
- else {
240
- this.errors.remove(errId);
241
- }
242
- this.markerList = JSON.parse(newValue);
243
- this.errors.remove(errIdJson);
244
- }
245
- catch (e) {
246
- this.errors.addOrReplace({
247
- id: errIdJson,
248
- type: "warning",
249
- message: "Markers: invalid value(s) '" + newValue + "' are not supported.:" + e.message,
250
- });
251
- }
252
- }
253
- validateGpx(newValue) {
254
- if (!newValue) {
255
- return;
256
- }
257
- const errId = "ERR_gpxs";
258
- const errIdJson = "ERR_gpxsJSON";
259
- try {
260
- const invalidScenarios = validateGpxType(newValue);
261
- if (invalidScenarios.length > 0) {
262
- this.errors.addOrReplace({
263
- id: errId,
264
- type: "warning",
265
- message: "gpxs: invalid value(s) '" + invalidScenarios + "' are not supported.",
266
- });
267
- }
268
- else {
269
- this.errors.remove(errId);
270
- }
271
- this.gpxList = JSON.parse(newValue);
272
- this.errors.remove(errIdJson);
273
- }
274
- catch (e) {
275
- this.errors.addOrReplace({
276
- id: errIdJson,
277
- type: "warning",
278
- message: "gpxs: invalid '" + newValue + "' is not supported.:" + e.message,
279
- });
280
- }
281
- }
282
- validateGeojson(newValue) {
283
- if (!newValue) {
284
- return;
285
- }
286
- const errId = "ERR_geojsons";
287
- const errIdJson = "ERR_geojsons";
288
- try {
289
- const invalidScenarios = validateGeojsonType(newValue);
290
- if (invalidScenarios.length > 0) {
291
- this.errors.addOrReplace({
292
- id: errId,
293
- type: "warning",
294
- message: "geojsons: invalid value(s) '" + invalidScenarios + "' are not supported.",
295
- });
296
- }
297
- else {
298
- this.errors.remove(errId);
299
- }
300
- this.geojsonList = JSON.parse(newValue);
301
- this.errors.remove(errIdJson);
302
- }
303
- catch (e) {
304
- this.errors.addOrReplace({
305
- id: errIdJson,
306
- type: "warning",
307
- message: "geojsons: invalid '" + newValue + "' is not supported.:" + e.message,
308
- });
309
- }
310
- }
311
- stateUpdated(status) {
312
- ComponentRegister.updateStatus(this.uuid, status.detail);
313
- }
314
- dragZoomEnded(props) {
315
- this.bnDragZoomEnded.emit(props.detail);
316
- }
317
- componentWillLoad() {
318
- this.validateLatitude(this.latitude);
319
- this.validateLongitude(this.longitude);
320
- this.validateScale(this.scale);
321
- this.validateShowScale(this.showScale);
322
- this.validateAttribution(this.attribution);
323
- this.validateTileLayer(this.tileLayer);
324
- this.validateMarkers(this.markers);
325
- this.validateGpx(this.gpxs);
326
- this.validateGeojson(this.geojsons);
327
- this.validateManualPosOverride(this.manualPosOverride);
328
- }
329
- render() {
330
- return (h(Host, { key: 'fa9bf3fb7fcf0c10b91967c6e3a67db914af1bf9' }, 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 })));
331
- }
332
- prepareMarkerData() {
333
- return [...this.markerData, ...this.markerList];
334
- }
335
- prepareGpxData() {
336
- return [...this.gpxData, ...this.gpxList];
337
- }
338
- prepareGeojsonData() {
339
- return [...this.geojsonData, ...this.geojsonList];
340
- }
341
- getDataStructureGpxParams() {
342
- const dataSetStructure = {
343
- GpxParams: {
344
- file: { type: "string", isOptional: false, description: "" },
345
- color: { type: "string", isOptional: false, description: "" },
346
- opacity: { type: "number", isOptional: false, description: "" },
347
- weight: { type: "number", isOptional: false, description: "" },
348
- lineCap: { type: "string", isOptional: false, description: "" },
349
- startIconUrl: { type: "string", isOptional: false, description: "" },
350
- endIconUrl: { type: "string", isOptional: false, description: "" },
351
- shadowUrl: { type: "string", isOptional: false, description: "" },
352
- },
353
- };
354
- return dataSetStructure;
355
- }
356
- getDataStructureGeojsonParams() {
357
- const dataSetStructure = {
358
- GeojsonParams: {
359
- file: { type: "string", isOptional: false, description: "" },
360
- color: { type: "string", isOptional: false, description: "" },
361
- opacity: { type: "number", isOptional: false, description: "" },
362
- weight: { type: "number", isOptional: false, description: "" },
363
- lineCap: { type: "string", isOptional: false, description: "" },
364
- },
365
- };
366
- return dataSetStructure;
367
- }
368
- getDataStructureMarkerParams() {
369
- const dataSetStructure = {
370
- MarkerParams: {
371
- latitude: { type: "number", isOptional: false, description: "" },
372
- longitude: { type: "string", isOptional: false, description: "" },
373
- iconUrl: { type: "number", isOptional: false, description: "" },
374
- iconWidth: { type: "number", isOptional: false, description: "" },
375
- iconHeight: { type: "number", isOptional: false, description: "" },
376
- tile: { type: "string", isOptional: false, description: "" },
377
- },
378
- };
379
- return dataSetStructure;
380
- }
381
- get element() { return getElement(this); }
382
- static get watchers() { return {
383
- "markersDatasetName": [{
384
- "validateMarkerDatasetName": 0
385
- }],
386
- "gpxsDatasetName": [{
387
- "validateGpxsDatasetName": 0
388
- }],
389
- "latitude": [{
390
- "validateLatitude": 0
391
- }],
392
- "longitude": [{
393
- "validateLongitude": 0
394
- }],
395
- "scale": [{
396
- "validateScale": 0
397
- }],
398
- "manualPosOverride": [{
399
- "validateManualPosOverride": 0
400
- }],
401
- "showScale": [{
402
- "validateShowScale": 0
403
- }],
404
- "attribution": [{
405
- "validateAttribution": 0
406
- }],
407
- "tileLayer": [{
408
- "validateTileLayer": 0
409
- }],
410
- "markers": [{
411
- "validateMarkers": 0
412
- }],
413
- "gpxs": [{
414
- "validateGpx": 0
415
- }],
416
- "geojsons": [{
417
- "validateGeojson": 0
418
- }]
419
- }; }
420
- };
421
- BnMap.style = bnMapCss();
422
-
423
- export { BnMap as bn_map };
@@ -1,158 +0,0 @@
1
- /** Controls which parts of a component are translated: ALL=labels+data, META=labels only. */
2
- var I18nMode;
3
- (function (I18nMode) {
4
- I18nMode["ALL"] = "all";
5
- I18nMode["META"] = "meta";
6
- })(I18nMode || (I18nMode = {}));
7
- /** Unit type of the measured values — affects default formatting and SI prefix behavior. */
8
- var MeasureType;
9
- (function (MeasureType) {
10
- MeasureType["CURRENCY"] = "currency";
11
- MeasureType["VOLUME"] = "volume";
12
- })(MeasureType || (MeasureType = {}));
13
- /**
14
- * IBCS four-scenario model with up to 4 variants per type.
15
- * - AC (actual): reported/measured values
16
- * - PP (previous period): prior year or period for comparison
17
- * - FC (forecast): projected future values
18
- * - PL (plan): budgeted/target values
19
- */
20
- var Scenarios;
21
- (function (Scenarios) {
22
- Scenarios["AC1"] = "ac1";
23
- Scenarios["AC2"] = "ac2";
24
- Scenarios["AC3"] = "ac3";
25
- Scenarios["AC4"] = "ac4";
26
- Scenarios["PP1"] = "pp1";
27
- Scenarios["PP2"] = "pp2";
28
- Scenarios["PP3"] = "pp3";
29
- Scenarios["PP4"] = "pp4";
30
- Scenarios["FC1"] = "fc1";
31
- Scenarios["FC2"] = "fc2";
32
- Scenarios["FC3"] = "fc3";
33
- Scenarios["FC4"] = "fc4";
34
- Scenarios["PL1"] = "pl1";
35
- Scenarios["PL2"] = "pl2";
36
- Scenarios["PL3"] = "pl3";
37
- Scenarios["PL4"] = "pl4";
38
- })(Scenarios || (Scenarios = {}));
39
- /**
40
- * Variance direction for IBCS traffic-light coloring.
41
- * - POS: favorable variance (green in IBCS)
42
- * - NEG: unfavorable variance (red in IBCS)
43
- * - NEU: neutral / no directional meaning
44
- */
45
- var Sentiments;
46
- (function (Sentiments) {
47
- Sentiments["POS"] = "pos";
48
- Sentiments["NEG"] = "neg";
49
- Sentiments["NEU"] = "neu";
50
- })(Sentiments || (Sentiments = {}));
51
- /** Number display format: DECIMAL for absolute values, PERCENT for ratio columns. */
52
- var DataFormat;
53
- (function (DataFormat) {
54
- DataFormat["DECIMAL"] = "decimal";
55
- DataFormat["PERCENT"] = "percent";
56
- })(DataFormat || (DataFormat = {}));
57
- /**
58
- * Table aggregation mode.
59
- * - LIST: no aggregation, rows displayed as-is
60
- * - SUM: simple sum per group with a grand total row
61
- * - SUMNOTOTAL: sum per group without a grand total
62
- * - OPT: operation-aware aggregation — rows with operation="-" subtract from the group sum
63
- * - OPTNOTOTAL: operation-aware aggregation without a grand total
64
- */
65
- var TableType;
66
- (function (TableType) {
67
- TableType["LIST"] = "list";
68
- TableType["SUM"] = "sum";
69
- TableType["SUMNOTOTAL"] = "sumnototal";
70
- TableType["OPT"] = "opt";
71
- TableType["OPTNOTOTAL"] = "optnototal";
72
- })(TableType || (TableType = {}));
73
- /** Width of the category label column as a percentage of the table width. INF = auto/infinite. */
74
- var TableCategoryWidth;
75
- (function (TableCategoryWidth) {
76
- TableCategoryWidth["INF"] = "inf";
77
- TableCategoryWidth["W100"] = "w100";
78
- TableCategoryWidth["W50"] = "w50";
79
- TableCategoryWidth["W25"] = "w25";
80
- TableCategoryWidth["W20"] = "w20";
81
- TableCategoryWidth["W15"] = "w15";
82
- TableCategoryWidth["W10"] = "w10";
83
- TableCategoryWidth["W5"] = "w5";
84
- })(TableCategoryWidth || (TableCategoryWidth = {}));
85
- /**
86
- * Three-level row hierarchy for grouping and drill-down: rowGroup > category > subCategory.
87
- * Index variants (e.g. ROWGROUPINDEX) provide stable numeric sort keys that preserve
88
- * the original dataset order when alphabetical sorting is undesirable.
89
- */
90
- var AggregationLevel;
91
- (function (AggregationLevel) {
92
- AggregationLevel["ROWGROUP"] = "rowGroup";
93
- AggregationLevel["ROWGROUPINDEX"] = "rowGroupIndex";
94
- AggregationLevel["CATEGORY"] = "category";
95
- AggregationLevel["CATEGORYINDEX"] = "categoryIndex";
96
- AggregationLevel["SUBCATEGORY"] = "subCategory";
97
- AggregationLevel["SUBCATEGORYINDEX"] = "subCategoryIndex";
98
- })(AggregationLevel || (AggregationLevel = {}));
99
- /**
100
- * Date axis label display strategy.
101
- * - SMART: abbreviated labels with parent period shown at boundary crossings (e.g. "Jan" normally, "Jan 2024" at year boundary)
102
- * - LONG: full date format for every label
103
- * - SHORT: abbreviated format for every label
104
- */
105
- var AxisLabelsMode;
106
- (function (AxisLabelsMode) {
107
- AxisLabelsMode["SMART"] = "smart";
108
- AxisLabelsMode["LONG"] = "long";
109
- AxisLabelsMode["SHORT"] = "short";
110
- })(AxisLabelsMode || (AxisLabelsMode = {}));
111
- /**
112
- * Visual representation type for chart series.
113
- * - COLUMN: vertical bars (time chart) or horizontal bars (structure chart)
114
- * - LINE: connected data points
115
- * - WATERFALL: cumulative flow where each bar starts where the previous one ended
116
- */
117
- var ChartType;
118
- (function (ChartType) {
119
- ChartType["COLUMN"] = "column";
120
- ChartType["LINE"] = "line";
121
- ChartType["WATERFALL"] = "waterfall";
122
- })(ChartType || (ChartType = {}));
123
- /** Chart rendering mode. AUTO selects BAR or LINE based on scenario type. */
124
- var ChartMode;
125
- (function (ChartMode) {
126
- ChartMode["BAR"] = "bar";
127
- ChartMode["LINE"] = "line";
128
- ChartMode["AUTO"] = "auto";
129
- })(ChartMode || (ChartMode = {}));
130
- /** Dimension used to split bars into stacked segments within a single data point. */
131
- var StackBy;
132
- (function (StackBy) {
133
- StackBy["SCENARIO"] = "scenario";
134
- StackBy["CATEGORY"] = "category";
135
- StackBy["SUBCATEGORY"] = "subcategory";
136
- StackBy["ROWGROUP"] = "rowgroup";
137
- })(StackBy || (StackBy = {}));
138
- /**
139
- * How stacked values are presented.
140
- * - ABSOLUTE: raw values stacked
141
- * - RELATIVE: normalized to 100% per data point
142
- * - ABSOLUTE_RELATIVE: absolute bars with a relative (%) total label
143
- */
144
- var StackMode;
145
- (function (StackMode) {
146
- StackMode["ABSOLUTE"] = "absolute";
147
- StackMode["RELATIVE"] = "relative";
148
- StackMode["ABSOLUTE_RELATIVE"] = "absolute-relative";
149
- })(StackMode || (StackMode = {}));
150
- /** Sort order of segments within a stacked bar. DATASET preserves the original data order. */
151
- var StackOrder;
152
- (function (StackOrder) {
153
- StackOrder["ASC"] = "asc";
154
- StackOrder["DESC"] = "desc";
155
- StackOrder["DATASET"] = "dataset";
156
- })(StackOrder || (StackOrder = {}));
157
-
158
- export { AggregationLevel as A, ChartMode as C, DataFormat as D, I18nMode as I, MeasureType as M, StackOrder as S, TableType as T, TableCategoryWidth as a, StackMode as b, AxisLabelsMode as c, Scenarios as d, Sentiments as e, StackBy as f };