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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (360) hide show
  1. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
  2. package/dist/bn-template-engine/p-14318b0d.entry.js +1 -0
  3. package/dist/bn-template-engine/{p-c9f050bf.entry.js → p-2133e02b.entry.js} +1 -1
  4. package/dist/bn-template-engine/p-6b469808.entry.js +1 -0
  5. package/dist/bn-template-engine/p-7HSTE79g.js +1 -0
  6. package/dist/bn-template-engine/p-9b1288df.entry.js +1 -0
  7. package/dist/bn-template-engine/p-B4JfKvVT.js +1 -0
  8. package/dist/bn-template-engine/p-B_d-jp99.js +2 -0
  9. package/dist/bn-template-engine/p-Bi2wx-el.js +1 -0
  10. package/dist/bn-template-engine/p-CWiZks2h.js +1 -0
  11. package/dist/bn-template-engine/{p-BQp6ZPYW.js → p-DSXNgKLa.js} +1 -1
  12. package/dist/bn-template-engine/p-c2cbb8ea.entry.js +1 -0
  13. package/dist/bn-template-engine/p-e783733e.entry.js +1 -0
  14. package/dist/bn-template-engine/p-e94b4e31.entry.js +1 -0
  15. package/dist/bn-template-engine/p-fdb3e99a.entry.js +1 -0
  16. package/dist/cjs/bn-asset_21.cjs.entry.js +23906 -0
  17. package/dist/cjs/bn-grid.cjs.entry.js +6 -13
  18. package/dist/cjs/bn-image.cjs.entry.js +6 -13
  19. package/dist/cjs/bn-internationalization.cjs.entry.js +5 -7
  20. package/dist/cjs/bn-template-engine.cjs.js +2 -2
  21. package/dist/cjs/bn-template.cjs.entry.js +4 -6
  22. package/dist/cjs/bn-text.cjs.entry.js +10 -19
  23. package/dist/cjs/bn-tree.cjs.entry.js +11 -14
  24. package/dist/cjs/{context-protocol-BkYHFkXE.js → context-protocol-B_jipZpJ.js} +6 -2
  25. package/dist/cjs/editor-companion.cjs.entry.js +3 -3
  26. package/dist/cjs/{index-CScBFiS1.js → index-CDKG4xmO.js} +2 -2
  27. package/dist/cjs/loader.cjs.js +2 -2
  28. package/dist/cjs/scaling-eyzCrFB8.js +329 -0
  29. package/dist/cjs/{withBodyObserver-B0_W1VOf.js → withBodyObserver-D7BKWN2N.js} +2 -2
  30. package/dist/cjs/{withHasError-Dspb3lIV.js → withHasError-Cl2gTQzA.js} +106 -2
  31. package/dist/{esm/luxon-DbyXf6dF.js → cjs/withStyled-V7xz_x1c.js} +1406 -1
  32. package/dist/collection/collection-manifest.json +2 -10
  33. package/dist/collection/components/bn-body/bn-body.css +1 -0
  34. package/dist/collection/components/bn-card/bn-card.css +2 -0
  35. package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +368 -130
  36. package/dist/collection/components/bn-chart-structure/ibcs-chart-structure.js +34 -10
  37. package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +94 -11
  38. package/dist/collection/components/bn-chart-structure/utils/elements/Label.js +11 -0
  39. package/dist/collection/components/bn-chart-structure/utils/elements/StackedBar.js +8 -6
  40. package/dist/collection/components/bn-chart-structure/utils/model/styles/StructureChartStyle.js +4 -0
  41. package/dist/collection/components/bn-chart-time/bn-chart-time.css +1 -1
  42. package/dist/collection/components/bn-chart-time/bn-chart-time.js +172 -51
  43. package/dist/collection/components/bn-chart-time/ibcs-chart-time.js +22 -9
  44. package/dist/collection/components/bn-chart-time/utils/TimeChart.js +3 -3
  45. package/dist/collection/components/bn-chart-time/utils/elements/StackedColumn.js +3 -4
  46. package/dist/collection/components/bn-chart-time/utils/model/styles/TimeChartStyle.js +4 -0
  47. package/dist/collection/components/bn-dataset/bn-dataset.js +49 -2
  48. package/dist/collection/components/bn-datasource/bn-datasource.js +46 -3
  49. package/dist/collection/components/bn-layout-card/bn-layout-card.css +3 -2
  50. package/dist/collection/components/bn-layout-card/bn-layout-card.js +207 -32
  51. package/dist/collection/components/bn-layout-page/bn-layout-page.css +1 -3
  52. package/dist/collection/components/bn-layout-page/bn-layout-page.js +172 -43
  53. package/dist/collection/components/bn-message/bn-message.js +1 -1
  54. package/dist/collection/components/bn-page/bn-page.js +1 -1
  55. package/dist/collection/components/bn-scaling-group/bn-scaling-group.css +3 -0
  56. package/dist/collection/components/bn-scaling-group/bn-scaling-group.js +136 -0
  57. package/dist/collection/components/bn-table/bn-table.js +201 -55
  58. package/dist/collection/components/bn-table/ibcs-table.css +7 -5
  59. package/dist/collection/components/bn-table/ibcs-table.js +91 -5
  60. package/dist/collection/components/bn-table/utils/elements/CellBarChart.js +79 -31
  61. package/dist/collection/components/bn-table/utils/elements/TableRow.js +3 -1
  62. package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +12 -3
  63. package/dist/collection/components/bn-table/utils/helper/ColumnStatistics.js +9 -1
  64. package/dist/collection/components/bn-template/bn-template.js +1 -1
  65. package/dist/collection/components/bn-text/bn-text.js +1 -1
  66. package/dist/collection/components/bn-title/bn-title.js +1 -9
  67. package/dist/collection/components/bn-title/ibcs-title/ibcs-title.js +1 -1
  68. package/dist/collection/components/bn-tree/bn-tree.js +5 -1
  69. package/dist/collection/components/editor-companion/editor-companion.js +1 -1
  70. package/dist/collection/stores/componentStyles.js +2 -0
  71. package/dist/collection/stores/createScopedStores.js +3 -1
  72. package/dist/collection/utils/DateStringFactory.js +0 -1
  73. package/dist/collection/utils/constants.js +35 -5
  74. package/dist/collection/utils/contentDecoder.js +28 -0
  75. package/dist/collection/utils/layoutObserver.js +88 -0
  76. package/dist/collection/utils/parentDimensions.js +57 -10
  77. package/dist/collection/utils/stackColors.js +2 -2
  78. package/dist/collection/utils/validate.js +5 -2
  79. package/dist/collection/utils/withInheritedProps.js +152 -0
  80. package/dist/collection/utils/withScalingGroup.js +66 -0
  81. package/dist/components/DataFormatDigits.js +1 -1
  82. package/dist/components/DateStringFactory.js +1 -1
  83. package/dist/components/Order.js +1 -1
  84. package/dist/components/SVGVariancesStyleGroup.js +1 -1
  85. package/dist/components/bn-body2.js +1 -1
  86. package/dist/components/bn-card2.js +1 -1
  87. package/dist/components/bn-chart-structure.js +1 -1
  88. package/dist/components/bn-chart-time.js +1 -1
  89. package/dist/components/bn-dataset.js +1 -1
  90. package/dist/components/bn-datasource.js +1 -1
  91. package/dist/components/bn-layout-card.js +1 -1
  92. package/dist/components/bn-layout-page.js +1 -1
  93. package/dist/components/bn-message2.js +1 -1
  94. package/dist/components/bn-page2.js +1 -1
  95. package/dist/components/{test-runner-time.d.ts → bn-scaling-group.d.ts} +4 -4
  96. package/dist/components/bn-scaling-group.js +1 -0
  97. package/dist/components/bn-table.js +1 -1
  98. package/dist/components/bn-template.js +1 -1
  99. package/dist/components/bn-text.js +1 -1
  100. package/dist/components/bn-title2.js +1 -1
  101. package/dist/components/bn-tree.js +1 -1
  102. package/dist/components/contentDecoder.js +1 -0
  103. package/dist/components/context-protocol.js +1 -1
  104. package/dist/components/editor-companion.js +1 -1
  105. package/dist/components/emotion-hash.esm.js +1 -0
  106. package/dist/components/ibcs-chart-structure2.js +1 -1
  107. package/dist/components/ibcs-chart-time2.js +1 -1
  108. package/dist/components/ibcs-table2.js +1 -1
  109. package/dist/components/ibcs-title2.js +1 -1
  110. package/dist/components/ibcsRuleSet.js +1 -1
  111. package/dist/components/layoutObserver.js +1 -0
  112. package/dist/components/scaling.js +1 -1
  113. package/dist/components/validate.js +1 -1
  114. package/dist/components/withHasError.js +1 -1
  115. package/dist/components/withInheritedProps.js +1 -0
  116. package/dist/components/withStyled.js +1 -1
  117. package/dist/esm/bn-asset_21.entry.js +23884 -0
  118. package/dist/esm/bn-grid.entry.js +4 -11
  119. package/dist/esm/bn-image.entry.js +4 -11
  120. package/dist/esm/bn-internationalization.entry.js +4 -6
  121. package/dist/esm/bn-template-engine.js +3 -3
  122. package/dist/esm/bn-template.entry.js +3 -5
  123. package/dist/esm/bn-text.entry.js +6 -15
  124. package/dist/esm/bn-tree.entry.js +9 -12
  125. package/dist/esm/{context-protocol-DzeqZxg6.js → context-protocol-D-o_UZ33.js} +6 -2
  126. package/dist/esm/editor-companion.entry.js +3 -3
  127. package/dist/esm/{index-B27Ax6P_.js → index-B_d-jp99.js} +2 -2
  128. package/dist/esm/loader.js +3 -3
  129. package/dist/esm/scaling-BzbiBnuN.js +324 -0
  130. package/dist/esm/{withBodyObserver-gZpZiEIK.js → withBodyObserver-AFk2wwHT.js} +2 -2
  131. package/dist/esm/{withHasError-C48fTE2k.js → withHasError-DW_vMDUp.js} +106 -2
  132. package/dist/{cjs/luxon-8hyy5YD7.js → esm/withStyled-5RqF8WBL.js} +1371 -2
  133. package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +163 -110
  134. package/dist/types/components/bn-chart-structure/ibcs-chart-structure.d.ts +4 -3
  135. package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +7 -0
  136. package/dist/types/components/bn-chart-structure/utils/elements/Label.d.ts +2 -0
  137. package/dist/types/components/bn-chart-structure/utils/model/styles/StructureChartStyle.d.ts +1 -0
  138. package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +29 -12
  139. package/dist/types/components/bn-chart-time/ibcs-chart-time.d.ts +4 -3
  140. package/dist/types/components/bn-chart-time/utils/model/styles/TimeChartStyle.d.ts +1 -0
  141. package/dist/types/components/bn-dataset/bn-dataset.d.ts +6 -0
  142. package/dist/types/components/bn-datasource/bn-datasource.d.ts +8 -0
  143. package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +153 -0
  144. package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +160 -1
  145. package/dist/types/components/bn-scaling-group/bn-scaling-group.d.ts +37 -0
  146. package/dist/types/components/bn-table/bn-table.d.ts +32 -16
  147. package/dist/types/components/bn-table/ibcs-table.d.ts +20 -0
  148. package/dist/types/components/bn-table/utils/elements/Cell.d.ts +1 -0
  149. package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +1 -0
  150. package/dist/types/components/bn-title/bn-title.d.ts +0 -1
  151. package/dist/types/components.d.ts +389 -443
  152. package/dist/types/context/context-protocol.d.ts +2 -1
  153. package/dist/types/stores/componentStyles.d.ts +2 -0
  154. package/dist/types/stores/createScopedStores.d.ts +1 -0
  155. package/dist/types/utils/constants.d.ts +23 -5
  156. package/dist/types/utils/contentDecoder.d.ts +12 -0
  157. package/dist/types/utils/layoutObserver.d.ts +27 -0
  158. package/dist/types/utils/parentDimensions.d.ts +7 -2
  159. package/dist/types/utils/validate.d.ts +1 -0
  160. package/dist/types/utils/withInheritedProps.d.ts +38 -0
  161. package/dist/types/utils/withScalingGroup.d.ts +14 -0
  162. package/package.json +3 -3
  163. package/readme.md +0 -1
  164. package/dist/bn-template-engine/assets/gpx/Chasing_Legends.gpx +0 -195076
  165. package/dist/bn-template-engine/assets/gpx/Fahrt_am_Nachmittag.gpx +0 -142007
  166. package/dist/bn-template-engine/assets/icons/gpx-finish.png +0 -0
  167. package/dist/bn-template-engine/assets/icons/gpx-shadow.png +0 -0
  168. package/dist/bn-template-engine/assets/icons/gpx-start.png +0 -0
  169. package/dist/bn-template-engine/assets/icons/marker-example.png +0 -0
  170. package/dist/bn-template-engine/assets/icons/pin-icon-end.png +0 -0
  171. package/dist/bn-template-engine/assets/icons/pin-icon-start.png +0 -0
  172. package/dist/bn-template-engine/assets/icons/pin-icon-wpt.png +0 -0
  173. package/dist/bn-template-engine/assets/icons/pin-shadow.png +0 -0
  174. package/dist/bn-template-engine/assets/icons/pin.png +0 -0
  175. package/dist/bn-template-engine/p--TeDldm8.js +0 -1
  176. package/dist/bn-template-engine/p-0e7dc113.entry.js +0 -1
  177. package/dist/bn-template-engine/p-1jFf17Vj.js +0 -1
  178. package/dist/bn-template-engine/p-264c6bad.entry.js +0 -1
  179. package/dist/bn-template-engine/p-326a0902.entry.js +0 -1
  180. package/dist/bn-template-engine/p-38a8bde3.entry.js +0 -1
  181. package/dist/bn-template-engine/p-577eafcd.entry.js +0 -1
  182. package/dist/bn-template-engine/p-5905cc43.entry.js +0 -1
  183. package/dist/bn-template-engine/p-5d155a72.entry.js +0 -1
  184. package/dist/bn-template-engine/p-65f8962a.entry.js +0 -1
  185. package/dist/bn-template-engine/p-6b8d1ebf.entry.js +0 -1
  186. package/dist/bn-template-engine/p-7995acb2.entry.js +0 -1
  187. package/dist/bn-template-engine/p-7afe431e.entry.js +0 -1
  188. package/dist/bn-template-engine/p-8014b1ac.entry.js +0 -1
  189. package/dist/bn-template-engine/p-80423fc8.entry.js +0 -1
  190. package/dist/bn-template-engine/p-91e74d42.entry.js +0 -1
  191. package/dist/bn-template-engine/p-930a9e29.entry.js +0 -1
  192. package/dist/bn-template-engine/p-93C9jL8R.js +0 -1
  193. package/dist/bn-template-engine/p-93ff8584.entry.js +0 -1
  194. package/dist/bn-template-engine/p-B0m0U4wJ.js +0 -1
  195. package/dist/bn-template-engine/p-B27Ax6P_.js +0 -2
  196. package/dist/bn-template-engine/p-B79VcHiT.js +0 -1
  197. package/dist/bn-template-engine/p-BBd0ZVLL.js +0 -1
  198. package/dist/bn-template-engine/p-BFTU3MAI.js +0 -1
  199. package/dist/bn-template-engine/p-BFatTBqh.js +0 -1
  200. package/dist/bn-template-engine/p-BYmPQYxx.js +0 -1
  201. package/dist/bn-template-engine/p-BhEQy-2D.js +0 -1
  202. package/dist/bn-template-engine/p-BtVfu16B.js +0 -1
  203. package/dist/bn-template-engine/p-CY1RzLjU.js +0 -1
  204. package/dist/bn-template-engine/p-CfWnag33.js +0 -1
  205. package/dist/bn-template-engine/p-CnI71OA9.js +0 -1
  206. package/dist/bn-template-engine/p-Cp4MVxCu.js +0 -1
  207. package/dist/bn-template-engine/p-DbyXf6dF.js +0 -1
  208. package/dist/bn-template-engine/p-TdL-LRR9.js +0 -1
  209. package/dist/bn-template-engine/p-_LBTIfNN.js +0 -1
  210. package/dist/bn-template-engine/p-a342cd3c.entry.js +0 -1
  211. package/dist/bn-template-engine/p-ad94cf63.entry.js +0 -1
  212. package/dist/bn-template-engine/p-bc37d750.entry.js +0 -1
  213. package/dist/bn-template-engine/p-d07a0ca3.entry.js +0 -1
  214. package/dist/bn-template-engine/p-e5f372af.entry.js +0 -1
  215. package/dist/bn-template-engine/p-e620028c.entry.js +0 -1
  216. package/dist/bn-template-engine/p-e81e116a.entry.js +0 -1
  217. package/dist/bn-template-engine/p-eca98070.entry.js +0 -1
  218. package/dist/bn-template-engine/p-ee6de950.entry.js +0 -1
  219. package/dist/bn-template-engine/p-efe0ef1e.entry.js +0 -1
  220. package/dist/bn-template-engine/p-f034f1b8.entry.js +0 -1
  221. package/dist/bn-template-engine/p-f1c1a8a3.entry.js +0 -1
  222. package/dist/bn-template-engine/p-fe573a1a.entry.js +0 -1
  223. package/dist/bn-template-engine/p-kMyLevYy.js +0 -1
  224. package/dist/cjs/DataFormatDigits-DmTbhF8q.js +0 -142
  225. package/dist/cjs/DateStringFactory-Dn0aRj2Y.js +0 -453
  226. package/dist/cjs/Order-B4NIqQWe.js +0 -129
  227. package/dist/cjs/SVGVariancesStyleGroup-Czizhngt.js +0 -7973
  228. package/dist/cjs/StringAdapter-0EbYMkR0.js +0 -136
  229. package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +0 -10
  230. package/dist/cjs/alasql.min-C_nHTuEQ.js +0 -306
  231. package/dist/cjs/bn-asset.cjs.entry.js +0 -42
  232. package/dist/cjs/bn-body_3.cjs.entry.js +0 -413
  233. package/dist/cjs/bn-card.cjs.entry.js +0 -37
  234. package/dist/cjs/bn-chart-structure.cjs.entry.js +0 -705
  235. package/dist/cjs/bn-chart-time.cjs.entry.js +0 -987
  236. package/dist/cjs/bn-component-style.cjs.entry.js +0 -44
  237. package/dist/cjs/bn-context_5.cjs.entry.js +0 -3380
  238. package/dist/cjs/bn-dataset.cjs.entry.js +0 -278
  239. package/dist/cjs/bn-layout-card.cjs.entry.js +0 -128
  240. package/dist/cjs/bn-layout-page.cjs.entry.js +0 -142
  241. package/dist/cjs/bn-map.cjs.entry.js +0 -425
  242. package/dist/cjs/bn-message.cjs.entry.js +0 -52
  243. package/dist/cjs/componentRegister-C17UFNPh.js +0 -72
  244. package/dist/cjs/constants-DHqQXSSd.js +0 -158
  245. package/dist/cjs/formatter-DIJL_crx.js +0 -215
  246. package/dist/cjs/ibcs-chart-structure.cjs.entry.js +0 -2906
  247. package/dist/cjs/ibcs-chart-time.cjs.entry.js +0 -4140
  248. package/dist/cjs/ibcs-map.cjs.entry.js +0 -1075
  249. package/dist/cjs/ibcs-title.cjs.entry.js +0 -352
  250. package/dist/cjs/scaling-B23eOtsC.js +0 -67
  251. package/dist/cjs/test-runner-card.cjs.entry.js +0 -27
  252. package/dist/cjs/test-runner-chart-time.cjs.entry.js +0 -230
  253. package/dist/cjs/test-runner-chart.cjs.entry.js +0 -326
  254. package/dist/cjs/test-runner-map.cjs.entry.js +0 -1862
  255. package/dist/cjs/test-runner-table.cjs.entry.js +0 -477
  256. package/dist/cjs/test-runner-time.cjs.entry.js +0 -381
  257. package/dist/cjs/test-runner-title.cjs.entry.js +0 -115
  258. package/dist/cjs/withComponentStatus-BrxL7usr.js +0 -39
  259. package/dist/cjs/withComponentStyle-C6KHnZHt.js +0 -128
  260. package/dist/cjs/withDataset-ZdN-RRTx.js +0 -146
  261. package/dist/cjs/withStyled-Bf-stJTR.js +0 -567
  262. package/dist/cjs/withTranslation-Cz0M5maV.js +0 -77
  263. package/dist/collection/components/bn-map/bn-map.css +0 -4
  264. package/dist/collection/components/bn-map/bn-map.js +0 -725
  265. package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Chasing_Legends.gpx +0 -195076
  266. package/dist/collection/components/bn-map/ibcs-map/assets/gpx/Fahrt_am_Nachmittag.gpx +0 -142007
  267. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-finish.png +0 -0
  268. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-shadow.png +0 -0
  269. package/dist/collection/components/bn-map/ibcs-map/assets/icons/gpx-start.png +0 -0
  270. package/dist/collection/components/bn-map/ibcs-map/assets/icons/marker-example.png +0 -0
  271. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-end.png +0 -0
  272. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-start.png +0 -0
  273. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-icon-wpt.png +0 -0
  274. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin-shadow.png +0 -0
  275. package/dist/collection/components/bn-map/ibcs-map/assets/icons/pin.png +0 -0
  276. package/dist/collection/components/bn-map/ibcs-map/ibcs-map.css +0 -674
  277. package/dist/collection/components/bn-map/ibcs-map/ibcs-map.js +0 -744
  278. package/dist/collection/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.js +0 -9
  279. package/dist/collection/components/bn-map/ibcs-map/utils/model/GpxLayer.js +0 -13
  280. package/dist/collection/components/bn-map/ibcs-map/utils/model/Marker.js +0 -11
  281. package/dist/collection/components/bn-map/ibcs-map/utils/model/index.js +0 -2
  282. package/dist/collection/test-runner/test-runner-card.js +0 -36
  283. package/dist/collection/test-runner/test-runner-chart-time.js +0 -234
  284. package/dist/collection/test-runner/test-runner-chart.js +0 -364
  285. package/dist/collection/test-runner/test-runner-map.js +0 -1901
  286. package/dist/collection/test-runner/test-runner-table.js +0 -469
  287. package/dist/collection/test-runner/test-runner-time.js +0 -399
  288. package/dist/collection/test-runner/test-runner-title.js +0 -108
  289. package/dist/components/bn-map.d.ts +0 -11
  290. package/dist/components/bn-map.js +0 -1
  291. package/dist/components/componentRegister.js +0 -1
  292. package/dist/components/ibcs-map.d.ts +0 -11
  293. package/dist/components/ibcs-map.js +0 -1
  294. package/dist/components/ibcs-map2.js +0 -1
  295. package/dist/components/test-runner-card.d.ts +0 -11
  296. package/dist/components/test-runner-card.js +0 -1
  297. package/dist/components/test-runner-chart-time.d.ts +0 -11
  298. package/dist/components/test-runner-chart-time.js +0 -1
  299. package/dist/components/test-runner-chart.d.ts +0 -11
  300. package/dist/components/test-runner-chart.js +0 -1
  301. package/dist/components/test-runner-map.d.ts +0 -11
  302. package/dist/components/test-runner-map.js +0 -1
  303. package/dist/components/test-runner-table.d.ts +0 -11
  304. package/dist/components/test-runner-table.js +0 -1
  305. package/dist/components/test-runner-time.js +0 -1
  306. package/dist/components/test-runner-title.d.ts +0 -11
  307. package/dist/components/test-runner-title.js +0 -1
  308. package/dist/components/withDataset.js +0 -1
  309. package/dist/esm/DataFormatDigits-Dt6gpIiZ.js +0 -137
  310. package/dist/esm/DateStringFactory-_Qiv0IvF.js +0 -451
  311. package/dist/esm/Order-B4fpLe_f.js +0 -125
  312. package/dist/esm/SVGVariancesStyleGroup-DlWgvpzs.js +0 -7961
  313. package/dist/esm/StringAdapter-BLvo1Krl.js +0 -133
  314. package/dist/esm/_commonjsHelpers-BFTU3MAI.js +0 -7
  315. package/dist/esm/alasql.min-CWu4NkIt.js +0 -304
  316. package/dist/esm/bn-asset.entry.js +0 -40
  317. package/dist/esm/bn-body_3.entry.js +0 -409
  318. package/dist/esm/bn-card.entry.js +0 -35
  319. package/dist/esm/bn-chart-structure.entry.js +0 -703
  320. package/dist/esm/bn-chart-time.entry.js +0 -985
  321. package/dist/esm/bn-component-style.entry.js +0 -42
  322. package/dist/esm/bn-context_5.entry.js +0 -3374
  323. package/dist/esm/bn-dataset.entry.js +0 -276
  324. package/dist/esm/bn-layout-card.entry.js +0 -126
  325. package/dist/esm/bn-layout-page.entry.js +0 -140
  326. package/dist/esm/bn-map.entry.js +0 -423
  327. package/dist/esm/bn-message.entry.js +0 -50
  328. package/dist/esm/componentRegister-BtVfu16B.js +0 -72
  329. package/dist/esm/constants-kMyLevYy.js +0 -158
  330. package/dist/esm/formatter-DTMEZ6d8.js +0 -211
  331. package/dist/esm/ibcs-chart-structure.entry.js +0 -2904
  332. package/dist/esm/ibcs-chart-time.entry.js +0 -4138
  333. package/dist/esm/ibcs-map.entry.js +0 -1073
  334. package/dist/esm/ibcs-title.entry.js +0 -350
  335. package/dist/esm/scaling-BBd0ZVLL.js +0 -64
  336. package/dist/esm/test-runner-card.entry.js +0 -25
  337. package/dist/esm/test-runner-chart-time.entry.js +0 -228
  338. package/dist/esm/test-runner-chart.entry.js +0 -324
  339. package/dist/esm/test-runner-map.entry.js +0 -1860
  340. package/dist/esm/test-runner-table.entry.js +0 -475
  341. package/dist/esm/test-runner-time.entry.js +0 -379
  342. package/dist/esm/test-runner-title.entry.js +0 -113
  343. package/dist/esm/withComponentStatus-elELReKt.js +0 -37
  344. package/dist/esm/withComponentStyle-NaxfakAG.js +0 -126
  345. package/dist/esm/withDataset-BT2VQCsG.js +0 -144
  346. package/dist/esm/withStyled-CpUTv74m.js +0 -539
  347. package/dist/esm/withTranslation-Do4GhleK.js +0 -75
  348. package/dist/types/components/bn-map/bn-map.d.ts +0 -122
  349. package/dist/types/components/bn-map/ibcs-map/ibcs-map.d.ts +0 -73
  350. package/dist/types/components/bn-map/ibcs-map/utils/model/GeoJsonLayer.d.ts +0 -8
  351. package/dist/types/components/bn-map/ibcs-map/utils/model/GpxLayer.d.ts +0 -11
  352. package/dist/types/components/bn-map/ibcs-map/utils/model/Marker.d.ts +0 -9
  353. package/dist/types/components/bn-map/ibcs-map/utils/model/index.d.ts +0 -2
  354. package/dist/types/test-runner/test-runner-card.d.ts +0 -3
  355. package/dist/types/test-runner/test-runner-chart-time.d.ts +0 -3
  356. package/dist/types/test-runner/test-runner-chart.d.ts +0 -3
  357. package/dist/types/test-runner/test-runner-map.d.ts +0 -3
  358. package/dist/types/test-runner/test-runner-table.d.ts +0 -3
  359. package/dist/types/test-runner/test-runner-time.d.ts +0 -3
  360. package/dist/types/test-runner/test-runner-title.d.ts +0 -3
@@ -1,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,50 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-B27Ax6P_.js';
2
- import { w as withComponentStatus } from './withComponentStatus-elELReKt.js';
3
- import { w as withComponentStyle } from './withComponentStyle-NaxfakAG.js';
4
- import { g as getStores } from './context-protocol-DzeqZxg6.js';
5
- import { w as withHasError } from './withHasError-C48fTE2k.js';
6
- import './componentRegister-BtVfu16B.js';
7
-
8
- const bnMessageCss = () => `:host{padding:0.2em 0.5em;display:flex;flex-direction:row;justify-content:space-between;font-family:var(--bn-font-family, "Noto Sans", sans-serif);font-size:var(--bn-font-size, 13.3333px);color:var(--bn-font-color, #000000)}:host(#container-page-message){height:4.55em;box-sizing:border-box;-webkit-box-sizing:border-box;border-bottom:0.1em solid #ddd}div#message-text{font-size:1.4em;overflow:clip;display:inline}.image{z-index:2;background-color:transparent;border:transparent;height:4em;width:auto;display:inline}`;
9
-
10
- const Footer = class {
11
- constructor(hostRef) {
12
- registerInstance(this, hostRef);
13
- withComponentStatus(this);
14
- this.errors = withHasError(this);
15
- this.componentStyle = withComponentStyle(this);
16
- }
17
- connectedCallback() {
18
- this.stores = getStores(this.element);
19
- }
20
- getFontStyles() {
21
- return this.componentStyle(($) => {
22
- var _a, _b, _c, _d;
23
- return ({
24
- "--bn-font-family": ((_a = $["global"]) === null || _a === void 0 ? void 0 : _a["fontFamily"]) || "'Noto Sans', sans-serif",
25
- "--bn-font-size": `${((_b = $["global"]) === null || _b === void 0 ? void 0 : _b["fontSizePx"]) || 13.3333}px`,
26
- "--bn-font-color": ((_c = $["global"]) === null || _c === void 0 ? void 0 : _c["fontColor"]) || "#000000",
27
- "--bn-font-background": ((_d = $["global"]) === null || _d === void 0 ? void 0 : _d["fontBackgroundColor"]) || "#ffffff",
28
- });
29
- });
30
- }
31
- prepareAssetUrl(value) {
32
- if (value == null || value === "") {
33
- return "";
34
- }
35
- const assetsState = this.stores.assets.state;
36
- // for backward compatibility deprecated "asset:" prefix
37
- if (value.startsWith("asset:")) {
38
- return assetsState[value.substring(6)];
39
- }
40
- return assetsState[value] || value;
41
- }
42
- render() {
43
- return (h(Host, { key: 'fc5f029a310621d2dc911d05549a8128896d22bc', id: this.text || this.image ? "container-page-message" : "container", style: this.getFontStyles() }, h("div", { key: '7e8b92d010ade7d71360145c2d9ca82c5682dfb9', id: "message-text" }, this.text != null && this.text !== "" ? h("span", { class: "note" }, this.text) : ""), h("div", { key: 'b40fdf7a7af3ba9352015c42617b39aa9d17a0dc', id: "page-image" }, this.image != null && this.image !== "" ? h("img", { class: "image", src: this.prepareAssetUrl(this.image) }) : "")));
44
- }
45
- static get assetsDirs() { return ["assets"]; }
46
- get element() { return getElement(this); }
47
- };
48
- Footer.style = bnMessageCss();
49
-
50
- export { Footer as bn_message };
@@ -1,72 +0,0 @@
1
- /** Lifecycle state of a tracked component instance. */
2
- var ComponentStatus;
3
- (function (ComponentStatus) {
4
- ComponentStatus[ComponentStatus["RUNNING"] = 0] = "RUNNING";
5
- ComponentStatus[ComponentStatus["SUCCESSFUL"] = 1] = "SUCCESSFUL";
6
- ComponentStatus[ComponentStatus["ERROR"] = 2] = "ERROR";
7
- })(ComponentStatus || (ComponentStatus = {}));
8
- /**
9
- * Singleton registry that tracks the render status of all bn-* component instances.
10
- *
11
- * Each component registers itself via {@link withComponentStatus} and reports
12
- * `RUNNING` / `SUCCESSFUL` / `ERROR` transitions. After 500 ms of inactivity
13
- * (no status updates), the aggregate result is written to
14
- * `window.componentRegisterIsRenderedResult` as a boolean. External tools
15
- * (e.g. headless screenshot renderers) poll this value to detect when
16
- * the entire page has finished rendering.
17
- *
18
- * The 500 ms debounce prevents premature "rendered" signals during rapid
19
- * successive re-renders.
20
- *
21
- * Status counts are maintained incrementally — `updateStatus` adjusts running
22
- * counters instead of iterating all entries, making it O(1) per update.
23
- */
24
- var ComponentRegister;
25
- (function (ComponentRegister) {
26
- let currentTimeOutId = undefined;
27
- const componentRegister = new Map();
28
- const statusCounts = { running: 0, successful: 0, error: 0 };
29
- const countKey = (status) => {
30
- switch (status) {
31
- case ComponentStatus.RUNNING:
32
- return "running";
33
- case ComponentStatus.SUCCESSFUL:
34
- return "successful";
35
- default:
36
- return "error";
37
- }
38
- };
39
- /**
40
- * Records a status change for the component identified by `uuid` and
41
- * resets the 500 ms debounce timer. When the timer fires, the aggregate
42
- * "all rendered" boolean is published to `window.componentRegisterIsRenderedResult`.
43
- */
44
- ComponentRegister.updateStatus = (uuid, status) => {
45
- if (currentTimeOutId) {
46
- clearTimeout(currentTimeOutId);
47
- }
48
- const prev = componentRegister.get(uuid);
49
- if (prev !== undefined) {
50
- statusCounts[countKey(prev)]--;
51
- }
52
- statusCounts[countKey(status)]++;
53
- componentRegister.set(uuid, status);
54
- currentTimeOutId = setTimeout(() => {
55
- // @ts-ignore
56
- window.componentRegisterIsRenderedResult = ComponentRegister.componentRegisterIsRendered();
57
- // @ts-ignore
58
- // eslint-disable-next-line no-console
59
- console.log("componentRegisterIsRendered:", window.componentRegisterIsRenderedResult);
60
- }, 500);
61
- };
62
- /** Returns `true` when no components are currently in `RUNNING` state. */
63
- ComponentRegister.componentRegisterIsRendered = () => {
64
- return statusCounts.running === 0;
65
- };
66
- /** Returns a summary count of components in each status category. */
67
- ComponentRegister.componentRegisterStatus = () => {
68
- return Object.assign({}, statusCounts);
69
- };
70
- })(ComponentRegister || (ComponentRegister = {}));
71
-
72
- export { ComponentRegister as C, ComponentStatus as a };