@mxtommy/kip 4.1.0-beta.1 → 4.1.0-beta.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 (529) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/package.json +24 -25
  3. package/plugin/index.js +7 -7
  4. package/plugin/openApi.json +103 -9
  5. package/public/3rdpartylicenses.txt +35 -71
  6. package/public/assets/help-docs/chartplotter.md +2 -0
  7. package/public/assets/help-docs/img/splitdeviderhandle.png +0 -0
  8. package/public/chunk-2RAYS3TY.js +4 -0
  9. package/public/chunk-6EM76KAH.js +6 -0
  10. package/public/{chunk-AQ66AGUC.js → chunk-6GBFOSQS.js} +1 -1
  11. package/public/chunk-733F7PXN.js +1 -0
  12. package/public/chunk-BEYO4UE4.js +63 -0
  13. package/public/chunk-C6VANIFR.js +1 -0
  14. package/public/chunk-HSI6NAGQ.js +9 -0
  15. package/public/chunk-IWF4GFLI.js +2 -0
  16. package/public/{chunk-UDAYIL7R.js → chunk-IXBZB4KE.js} +1 -1
  17. package/public/{chunk-D3OVXRDS.js → chunk-JH34I3XB.js} +1 -1
  18. package/public/chunk-KERDEDSC.js +15 -0
  19. package/public/chunk-L5LQP4DC.js +52 -0
  20. package/public/chunk-LIZUWHB5.js +5 -0
  21. package/public/chunk-LTN5IH7B.js +1 -0
  22. package/public/{chunk-RVSQUIEX.js → chunk-MEDT66DA.js} +5 -5
  23. package/public/chunk-NTB3EZKJ.js +4 -0
  24. package/public/chunk-O6S5P5U5.js +1 -0
  25. package/public/chunk-OEVWXT6J.js +3 -0
  26. package/public/chunk-Q4WCOIVL.js +1 -0
  27. package/public/{chunk-MKKQCG3C.js → chunk-UUH3BRLK.js} +2 -2
  28. package/public/chunk-V2BXYURY.js +8 -0
  29. package/public/chunk-VAPM652H.js +2 -0
  30. package/public/chunk-W2T7DKWR.js +4 -0
  31. package/public/chunk-WGYHQ7HF.js +2 -0
  32. package/public/index.html +1 -1
  33. package/public/main-7VFHL2MQ.js +5 -0
  34. package/public/polyfills-GNK4EEYZ.js +2 -0
  35. package/public/{scripts-7HSGK5LZ.js → scripts-M6PHZBML.js} +1 -1
  36. package/dist/out-tsc/kip-plugin/src/index.js +0 -223
  37. package/dist/out-tsc/kip-plugin/src/index.js.map +0 -1
  38. package/dist/out-tsc/kip-plugin/src/openApi.json +0 -367
  39. package/dist/out-tsc/package.json +0 -118
  40. package/dist/out-tsc/schematics/widget/index.js +0 -70
  41. package/dist/out-tsc/schematics/widget/index.js.map +0 -1
  42. package/dist/out-tsc/src/app/app.component.js +0 -286
  43. package/dist/out-tsc/src/app/app.component.js.map +0 -1
  44. package/dist/out-tsc/src/app/app.component.spec.js +0 -26
  45. package/dist/out-tsc/src/app/app.component.spec.js.map +0 -1
  46. package/dist/out-tsc/src/app/app.routes.js +0 -35
  47. package/dist/out-tsc/src/app/app.routes.js.map +0 -1
  48. package/dist/out-tsc/src/app/core/components/app-help/app-help.component.js +0 -60
  49. package/dist/out-tsc/src/app/core/components/app-help/app-help.component.js.map +0 -1
  50. package/dist/out-tsc/src/app/core/components/app-help/app-help.component.spec.js +0 -150
  51. package/dist/out-tsc/src/app/core/components/app-help/app-help.component.spec.js.map +0 -1
  52. package/dist/out-tsc/src/app/core/components/dashboard/dashboard.component.js +0 -361
  53. package/dist/out-tsc/src/app/core/components/dashboard/dashboard.component.js.map +0 -1
  54. package/dist/out-tsc/src/app/core/components/dashboard/dashboard.component.spec.js +0 -19
  55. package/dist/out-tsc/src/app/core/components/dashboard/dashboard.component.spec.js.map +0 -1
  56. package/dist/out-tsc/src/app/core/components/dashboard-scroller/dashboard-scroller.component.js +0 -33
  57. package/dist/out-tsc/src/app/core/components/dashboard-scroller/dashboard-scroller.component.js.map +0 -1
  58. package/dist/out-tsc/src/app/core/components/dashboard-scroller/dashboard-scroller.component.spec.js +0 -19
  59. package/dist/out-tsc/src/app/core/components/dashboard-scroller/dashboard-scroller.component.spec.js.map +0 -1
  60. package/dist/out-tsc/src/app/core/components/dashboards-editor/dashboards-editor.component.js +0 -183
  61. package/dist/out-tsc/src/app/core/components/dashboards-editor/dashboards-editor.component.js.map +0 -1
  62. package/dist/out-tsc/src/app/core/components/dashboards-editor/dashboards-editor.component.spec.js +0 -19
  63. package/dist/out-tsc/src/app/core/components/dashboards-editor/dashboards-editor.component.spec.js.map +0 -1
  64. package/dist/out-tsc/src/app/core/components/dashboards-manage-bottom-sheet/dashboards-manage-bottom-sheet.component.js +0 -28
  65. package/dist/out-tsc/src/app/core/components/dashboards-manage-bottom-sheet/dashboards-manage-bottom-sheet.component.js.map +0 -1
  66. package/dist/out-tsc/src/app/core/components/dashboards-manage-bottom-sheet/dashboards-manage-bottom-sheet.component.spec.js +0 -19
  67. package/dist/out-tsc/src/app/core/components/dashboards-manage-bottom-sheet/dashboards-manage-bottom-sheet.component.spec.js.map +0 -1
  68. package/dist/out-tsc/src/app/core/components/data-inspector/data-inspector.component.js +0 -130
  69. package/dist/out-tsc/src/app/core/components/data-inspector/data-inspector.component.js.map +0 -1
  70. package/dist/out-tsc/src/app/core/components/data-inspector/data-inspector.component.spec.js +0 -21
  71. package/dist/out-tsc/src/app/core/components/data-inspector/data-inspector.component.spec.js.map +0 -1
  72. package/dist/out-tsc/src/app/core/components/data-inspector-row/data-inspector-row.component.js +0 -82
  73. package/dist/out-tsc/src/app/core/components/data-inspector-row/data-inspector-row.component.js.map +0 -1
  74. package/dist/out-tsc/src/app/core/components/datasets/datasets.component.js +0 -168
  75. package/dist/out-tsc/src/app/core/components/datasets/datasets.component.js.map +0 -1
  76. package/dist/out-tsc/src/app/core/components/datasets/datasets.component.spec.js +0 -21
  77. package/dist/out-tsc/src/app/core/components/datasets/datasets.component.spec.js.map +0 -1
  78. package/dist/out-tsc/src/app/core/components/dialog-confirmation/dialog-confirmation.component.js +0 -24
  79. package/dist/out-tsc/src/app/core/components/dialog-confirmation/dialog-confirmation.component.js.map +0 -1
  80. package/dist/out-tsc/src/app/core/components/dialog-confirmation/dialog-confirmation.component.spec.js +0 -19
  81. package/dist/out-tsc/src/app/core/components/dialog-confirmation/dialog-confirmation.component.spec.js.map +0 -1
  82. package/dist/out-tsc/src/app/core/components/dialog-dashboard-page-editor/dialog-dashboard-page-editor.component.js +0 -45
  83. package/dist/out-tsc/src/app/core/components/dialog-dashboard-page-editor/dialog-dashboard-page-editor.component.js.map +0 -1
  84. package/dist/out-tsc/src/app/core/components/dialog-dashboard-page-editor/dialog-dashboard-page-editor.component.spec.js +0 -19
  85. package/dist/out-tsc/src/app/core/components/dialog-dashboard-page-editor/dialog-dashboard-page-editor.component.spec.js.map +0 -1
  86. package/dist/out-tsc/src/app/core/components/dialog-frame/dialog-frame.component.js +0 -25
  87. package/dist/out-tsc/src/app/core/components/dialog-frame/dialog-frame.component.js.map +0 -1
  88. package/dist/out-tsc/src/app/core/components/dialog-frame/dialog-frame.component.spec.js +0 -19
  89. package/dist/out-tsc/src/app/core/components/dialog-frame/dialog-frame.component.spec.js.map +0 -1
  90. package/dist/out-tsc/src/app/core/components/dialog-name/dialog-name.component.js +0 -31
  91. package/dist/out-tsc/src/app/core/components/dialog-name/dialog-name.component.js.map +0 -1
  92. package/dist/out-tsc/src/app/core/components/dialog-name/dialog-name.component.spec.js +0 -19
  93. package/dist/out-tsc/src/app/core/components/dialog-name/dialog-name.component.spec.js.map +0 -1
  94. package/dist/out-tsc/src/app/core/components/menu-actions/menu-actions.component.js +0 -100
  95. package/dist/out-tsc/src/app/core/components/menu-actions/menu-actions.component.js.map +0 -1
  96. package/dist/out-tsc/src/app/core/components/menu-actions/menu-actions.component.spec.js +0 -19
  97. package/dist/out-tsc/src/app/core/components/menu-actions/menu-actions.component.spec.js.map +0 -1
  98. package/dist/out-tsc/src/app/core/components/menu-notifications/menu-notifications.component.js +0 -60
  99. package/dist/out-tsc/src/app/core/components/menu-notifications/menu-notifications.component.js.map +0 -1
  100. package/dist/out-tsc/src/app/core/components/menu-notifications/menu-notifications.component.spec.js +0 -21
  101. package/dist/out-tsc/src/app/core/components/menu-notifications/menu-notifications.component.spec.js.map +0 -1
  102. package/dist/out-tsc/src/app/core/components/modal-user-credential/modal-user-credential.component.js +0 -32
  103. package/dist/out-tsc/src/app/core/components/modal-user-credential/modal-user-credential.component.js.map +0 -1
  104. package/dist/out-tsc/src/app/core/components/modal-user-credential/modal-user-credential.component.spec.js +0 -21
  105. package/dist/out-tsc/src/app/core/components/modal-user-credential/modal-user-credential.component.spec.js.map +0 -1
  106. package/dist/out-tsc/src/app/core/components/notification-badge/notification-badge.component.js +0 -51
  107. package/dist/out-tsc/src/app/core/components/notification-badge/notification-badge.component.js.map +0 -1
  108. package/dist/out-tsc/src/app/core/components/notification-badge/notification-badge.component.spec.js +0 -19
  109. package/dist/out-tsc/src/app/core/components/notification-badge/notification-badge.component.spec.js.map +0 -1
  110. package/dist/out-tsc/src/app/core/components/options/configuration/config.component.js +0 -228
  111. package/dist/out-tsc/src/app/core/components/options/configuration/config.component.js.map +0 -1
  112. package/dist/out-tsc/src/app/core/components/options/configuration/config.component.spec.js +0 -21
  113. package/dist/out-tsc/src/app/core/components/options/configuration/config.component.spec.js.map +0 -1
  114. package/dist/out-tsc/src/app/core/components/options/display/display.component.js +0 -142
  115. package/dist/out-tsc/src/app/core/components/options/display/display.component.js.map +0 -1
  116. package/dist/out-tsc/src/app/core/components/options/display/display.component.spec.js +0 -21
  117. package/dist/out-tsc/src/app/core/components/options/display/display.component.spec.js.map +0 -1
  118. package/dist/out-tsc/src/app/core/components/options/notifications/notifications.component.js +0 -66
  119. package/dist/out-tsc/src/app/core/components/options/notifications/notifications.component.js.map +0 -1
  120. package/dist/out-tsc/src/app/core/components/options/notifications/notifications.component.spec.js +0 -21
  121. package/dist/out-tsc/src/app/core/components/options/notifications/notifications.component.spec.js.map +0 -1
  122. package/dist/out-tsc/src/app/core/components/options/signalk/signalk.component.js +0 -255
  123. package/dist/out-tsc/src/app/core/components/options/signalk/signalk.component.js.map +0 -1
  124. package/dist/out-tsc/src/app/core/components/options/signalk/signalk.component.spec.js +0 -21
  125. package/dist/out-tsc/src/app/core/components/options/signalk/signalk.component.spec.js.map +0 -1
  126. package/dist/out-tsc/src/app/core/components/options/tabs/tabs.component.js +0 -44
  127. package/dist/out-tsc/src/app/core/components/options/tabs/tabs.component.js.map +0 -1
  128. package/dist/out-tsc/src/app/core/components/options/tabs/tabs.component.spec.js +0 -21
  129. package/dist/out-tsc/src/app/core/components/options/tabs/tabs.component.spec.js.map +0 -1
  130. package/dist/out-tsc/src/app/core/components/options/units/units.component.js +0 -55
  131. package/dist/out-tsc/src/app/core/components/options/units/units.component.js.map +0 -1
  132. package/dist/out-tsc/src/app/core/components/options/units/units.component.spec.js +0 -21
  133. package/dist/out-tsc/src/app/core/components/options/units/units.component.spec.js.map +0 -1
  134. package/dist/out-tsc/src/app/core/components/page-header/page-header.component.js +0 -31
  135. package/dist/out-tsc/src/app/core/components/page-header/page-header.component.js.map +0 -1
  136. package/dist/out-tsc/src/app/core/components/page-header/page-header.component.spec.js +0 -19
  137. package/dist/out-tsc/src/app/core/components/page-header/page-header.component.spec.js.map +0 -1
  138. package/dist/out-tsc/src/app/core/components/remote-control/remote-control.component.js +0 -63
  139. package/dist/out-tsc/src/app/core/components/remote-control/remote-control.component.js.map +0 -1
  140. package/dist/out-tsc/src/app/core/components/remote-control/remote-control.component.spec.js +0 -19
  141. package/dist/out-tsc/src/app/core/components/remote-control/remote-control.component.spec.js.map +0 -1
  142. package/dist/out-tsc/src/app/core/components/select-icon/select-icon.component.js +0 -75
  143. package/dist/out-tsc/src/app/core/components/select-icon/select-icon.component.js.map +0 -1
  144. package/dist/out-tsc/src/app/core/components/select-icon/select-icon.component.spec.js +0 -19
  145. package/dist/out-tsc/src/app/core/components/select-icon/select-icon.component.spec.js.map +0 -1
  146. package/dist/out-tsc/src/app/core/components/settings/settings.component.js +0 -56
  147. package/dist/out-tsc/src/app/core/components/settings/settings.component.js.map +0 -1
  148. package/dist/out-tsc/src/app/core/components/settings/settings.component.spec.js +0 -19
  149. package/dist/out-tsc/src/app/core/components/settings/settings.component.spec.js.map +0 -1
  150. package/dist/out-tsc/src/app/core/components/tile-large-icon/tile-large-icon.component.js +0 -28
  151. package/dist/out-tsc/src/app/core/components/tile-large-icon/tile-large-icon.component.js.map +0 -1
  152. package/dist/out-tsc/src/app/core/components/tile-large-icon/tile-large-icon.component.spec.js +0 -19
  153. package/dist/out-tsc/src/app/core/components/tile-large-icon/tile-large-icon.component.spec.js.map +0 -1
  154. package/dist/out-tsc/src/app/core/components/upgrade-config/upgrade-config.component.js +0 -336
  155. package/dist/out-tsc/src/app/core/components/upgrade-config/upgrade-config.component.js.map +0 -1
  156. package/dist/out-tsc/src/app/core/components/upgrade-config/upgrade-config.component.spec.js +0 -19
  157. package/dist/out-tsc/src/app/core/components/upgrade-config/upgrade-config.component.spec.js.map +0 -1
  158. package/dist/out-tsc/src/app/core/components/upgrade-config/v10-config-interface.js +0 -2
  159. package/dist/out-tsc/src/app/core/components/upgrade-config/v10-config-interface.js.map +0 -1
  160. package/dist/out-tsc/src/app/core/components/widget-host/widget-host.component.js +0 -77
  161. package/dist/out-tsc/src/app/core/components/widget-host/widget-host.component.js.map +0 -1
  162. package/dist/out-tsc/src/app/core/components/widget-host/widget-host.component.spec.js +0 -19
  163. package/dist/out-tsc/src/app/core/components/widget-host/widget-host.component.spec.js.map +0 -1
  164. package/dist/out-tsc/src/app/core/components/widget-host-bottom-sheet/widget-host-bottom-sheet.component.js +0 -29
  165. package/dist/out-tsc/src/app/core/components/widget-host-bottom-sheet/widget-host-bottom-sheet.component.js.map +0 -1
  166. package/dist/out-tsc/src/app/core/components/widget-host-bottom-sheet/widget-host-bottom-sheet.component.spec.js +0 -19
  167. package/dist/out-tsc/src/app/core/components/widget-host-bottom-sheet/widget-host-bottom-sheet.component.spec.js.map +0 -1
  168. package/dist/out-tsc/src/app/core/components/widget-list-card/widget-list-card.component.js +0 -34
  169. package/dist/out-tsc/src/app/core/components/widget-list-card/widget-list-card.component.js.map +0 -1
  170. package/dist/out-tsc/src/app/core/components/widget-list-card/widget-list-card.component.spec.js +0 -19
  171. package/dist/out-tsc/src/app/core/components/widget-list-card/widget-list-card.component.spec.js.map +0 -1
  172. package/dist/out-tsc/src/app/core/components/widget-title/widget-title.component.js +0 -70
  173. package/dist/out-tsc/src/app/core/components/widget-title/widget-title.component.js.map +0 -1
  174. package/dist/out-tsc/src/app/core/components/widget-title/widget-title.component.spec.js +0 -19
  175. package/dist/out-tsc/src/app/core/components/widget-title/widget-title.component.spec.js.map +0 -1
  176. package/dist/out-tsc/src/app/core/components/widgets-list/widgets-list.component.js +0 -61
  177. package/dist/out-tsc/src/app/core/components/widgets-list/widgets-list.component.js.map +0 -1
  178. package/dist/out-tsc/src/app/core/components/widgets-list/widgets-list.component.spec.js +0 -19
  179. package/dist/out-tsc/src/app/core/components/widgets-list/widgets-list.component.spec.js.map +0 -1
  180. package/dist/out-tsc/src/app/core/directives/gesture.directive.js +0 -457
  181. package/dist/out-tsc/src/app/core/directives/gesture.directive.js.map +0 -1
  182. package/dist/out-tsc/src/app/core/interceptors/authentication-interceptor.js +0 -43
  183. package/dist/out-tsc/src/app/core/interceptors/authentication-interceptor.js.map +0 -1
  184. package/dist/out-tsc/src/app/core/interceptors/authentication-interceptor.spec.js +0 -7
  185. package/dist/out-tsc/src/app/core/interceptors/authentication-interceptor.spec.js.map +0 -1
  186. package/dist/out-tsc/src/app/core/interfaces/app-interfaces.js +0 -8
  187. package/dist/out-tsc/src/app/core/interfaces/app-interfaces.js.map +0 -1
  188. package/dist/out-tsc/src/app/core/interfaces/app-settings.interfaces.js +0 -2
  189. package/dist/out-tsc/src/app/core/interfaces/app-settings.interfaces.js.map +0 -1
  190. package/dist/out-tsc/src/app/core/interfaces/dialog-data.js +0 -2
  191. package/dist/out-tsc/src/app/core/interfaces/dialog-data.js.map +0 -1
  192. package/dist/out-tsc/src/app/core/interfaces/signalk-autopilot-interfaces.js +0 -11
  193. package/dist/out-tsc/src/app/core/interfaces/signalk-autopilot-interfaces.js.map +0 -1
  194. package/dist/out-tsc/src/app/core/interfaces/signalk-interfaces.js +0 -45
  195. package/dist/out-tsc/src/app/core/interfaces/signalk-interfaces.js.map +0 -1
  196. package/dist/out-tsc/src/app/core/interfaces/widgets-interface.js +0 -7
  197. package/dist/out-tsc/src/app/core/interfaces/widgets-interface.js.map +0 -1
  198. package/dist/out-tsc/src/app/core/pipes/filter-self.pipe.js +0 -24
  199. package/dist/out-tsc/src/app/core/pipes/filter-self.pipe.js.map +0 -1
  200. package/dist/out-tsc/src/app/core/pipes/filter-self.pipe.spec.js +0 -8
  201. package/dist/out-tsc/src/app/core/pipes/filter-self.pipe.spec.js.map +0 -1
  202. package/dist/out-tsc/src/app/core/pipes/object-keys.pipe.js +0 -20
  203. package/dist/out-tsc/src/app/core/pipes/object-keys.pipe.js.map +0 -1
  204. package/dist/out-tsc/src/app/core/pipes/object-keys.pipe.spec.js +0 -8
  205. package/dist/out-tsc/src/app/core/pipes/object-keys.pipe.spec.js.map +0 -1
  206. package/dist/out-tsc/src/app/core/pipes/safe.pipe.js +0 -22
  207. package/dist/out-tsc/src/app/core/pipes/safe.pipe.js.map +0 -1
  208. package/dist/out-tsc/src/app/core/services/app-initNetwork.service.js +0 -199
  209. package/dist/out-tsc/src/app/core/services/app-initNetwork.service.js.map +0 -1
  210. package/dist/out-tsc/src/app/core/services/app-initNetwork.service.spec.js +0 -13
  211. package/dist/out-tsc/src/app/core/services/app-initNetwork.service.spec.js.map +0 -1
  212. package/dist/out-tsc/src/app/core/services/app-service.js +0 -249
  213. package/dist/out-tsc/src/app/core/services/app-service.js.map +0 -1
  214. package/dist/out-tsc/src/app/core/services/app-service.spec.js +0 -13
  215. package/dist/out-tsc/src/app/core/services/app-service.spec.js.map +0 -1
  216. package/dist/out-tsc/src/app/core/services/app-settings.service.js +0 -566
  217. package/dist/out-tsc/src/app/core/services/app-settings.service.js.map +0 -1
  218. package/dist/out-tsc/src/app/core/services/app-settings.service.spec.js +0 -13
  219. package/dist/out-tsc/src/app/core/services/app-settings.service.spec.js.map +0 -1
  220. package/dist/out-tsc/src/app/core/services/authentication.service.js +0 -308
  221. package/dist/out-tsc/src/app/core/services/authentication.service.js.map +0 -1
  222. package/dist/out-tsc/src/app/core/services/authentication.service.spec.js +0 -13
  223. package/dist/out-tsc/src/app/core/services/authentication.service.spec.js.map +0 -1
  224. package/dist/out-tsc/src/app/core/services/canvas.service.js +0 -566
  225. package/dist/out-tsc/src/app/core/services/canvas.service.js.map +0 -1
  226. package/dist/out-tsc/src/app/core/services/canvas.service.spec.js +0 -13
  227. package/dist/out-tsc/src/app/core/services/canvas.service.spec.js.map +0 -1
  228. package/dist/out-tsc/src/app/core/services/connection-state-machine.service.js +0 -325
  229. package/dist/out-tsc/src/app/core/services/connection-state-machine.service.js.map +0 -1
  230. package/dist/out-tsc/src/app/core/services/dashboard.service.js +0 -273
  231. package/dist/out-tsc/src/app/core/services/dashboard.service.js.map +0 -1
  232. package/dist/out-tsc/src/app/core/services/dashboard.service.spec.js +0 -13
  233. package/dist/out-tsc/src/app/core/services/dashboard.service.spec.js.map +0 -1
  234. package/dist/out-tsc/src/app/core/services/data-set.service.js +0 -515
  235. package/dist/out-tsc/src/app/core/services/data-set.service.js.map +0 -1
  236. package/dist/out-tsc/src/app/core/services/data-set.service.spec.js +0 -13
  237. package/dist/out-tsc/src/app/core/services/data-set.service.spec.js.map +0 -1
  238. package/dist/out-tsc/src/app/core/services/data.service.js +0 -425
  239. package/dist/out-tsc/src/app/core/services/data.service.js.map +0 -1
  240. package/dist/out-tsc/src/app/core/services/data.service.spec.js +0 -13
  241. package/dist/out-tsc/src/app/core/services/data.service.spec.js.map +0 -1
  242. package/dist/out-tsc/src/app/core/services/dialog.service.js +0 -73
  243. package/dist/out-tsc/src/app/core/services/dialog.service.js.map +0 -1
  244. package/dist/out-tsc/src/app/core/services/dialog.service.spec.js +0 -13
  245. package/dist/out-tsc/src/app/core/services/dialog.service.spec.js.map +0 -1
  246. package/dist/out-tsc/src/app/core/services/notification-overlay.service.js +0 -106
  247. package/dist/out-tsc/src/app/core/services/notification-overlay.service.js.map +0 -1
  248. package/dist/out-tsc/src/app/core/services/notifications.service.js +0 -322
  249. package/dist/out-tsc/src/app/core/services/notifications.service.js.map +0 -1
  250. package/dist/out-tsc/src/app/core/services/notifications.service.spec.js +0 -10
  251. package/dist/out-tsc/src/app/core/services/notifications.service.spec.js.map +0 -1
  252. package/dist/out-tsc/src/app/core/services/remote-dashboards.service.js +0 -125
  253. package/dist/out-tsc/src/app/core/services/remote-dashboards.service.js.map +0 -1
  254. package/dist/out-tsc/src/app/core/services/remote-dashboards.service.spec.js +0 -13
  255. package/dist/out-tsc/src/app/core/services/remote-dashboards.service.spec.js.map +0 -1
  256. package/dist/out-tsc/src/app/core/services/signalk-connection.service.js +0 -283
  257. package/dist/out-tsc/src/app/core/services/signalk-connection.service.js.map +0 -1
  258. package/dist/out-tsc/src/app/core/services/signalk-delta.service.js +0 -486
  259. package/dist/out-tsc/src/app/core/services/signalk-delta.service.js.map +0 -1
  260. package/dist/out-tsc/src/app/core/services/signalk-delta.service.spec.js +0 -13
  261. package/dist/out-tsc/src/app/core/services/signalk-delta.service.spec.js.map +0 -1
  262. package/dist/out-tsc/src/app/core/services/signalk-plugins.service.js +0 -121
  263. package/dist/out-tsc/src/app/core/services/signalk-plugins.service.js.map +0 -1
  264. package/dist/out-tsc/src/app/core/services/signalk-plugins.service.spec.js +0 -13
  265. package/dist/out-tsc/src/app/core/services/signalk-plugins.service.spec.js.map +0 -1
  266. package/dist/out-tsc/src/app/core/services/signalk-requests.service.js +0 -232
  267. package/dist/out-tsc/src/app/core/services/signalk-requests.service.js.map +0 -1
  268. package/dist/out-tsc/src/app/core/services/signalk-requests.service.spec.js +0 -10
  269. package/dist/out-tsc/src/app/core/services/signalk-requests.service.spec.js.map +0 -1
  270. package/dist/out-tsc/src/app/core/services/storage.service.js +0 -390
  271. package/dist/out-tsc/src/app/core/services/storage.service.js.map +0 -1
  272. package/dist/out-tsc/src/app/core/services/storage.service.spec.js +0 -13
  273. package/dist/out-tsc/src/app/core/services/storage.service.spec.js.map +0 -1
  274. package/dist/out-tsc/src/app/core/services/timers.service.js +0 -107
  275. package/dist/out-tsc/src/app/core/services/timers.service.js.map +0 -1
  276. package/dist/out-tsc/src/app/core/services/timers.service.spec.js +0 -13
  277. package/dist/out-tsc/src/app/core/services/timers.service.spec.js.map +0 -1
  278. package/dist/out-tsc/src/app/core/services/uiEvent.service.js +0 -256
  279. package/dist/out-tsc/src/app/core/services/uiEvent.service.js.map +0 -1
  280. package/dist/out-tsc/src/app/core/services/uiEvent.service.spec.js +0 -13
  281. package/dist/out-tsc/src/app/core/services/uiEvent.service.spec.js.map +0 -1
  282. package/dist/out-tsc/src/app/core/services/units.service.js +0 -630
  283. package/dist/out-tsc/src/app/core/services/units.service.js.map +0 -1
  284. package/dist/out-tsc/src/app/core/services/widget.service.js +0 -405
  285. package/dist/out-tsc/src/app/core/services/widget.service.js.map +0 -1
  286. package/dist/out-tsc/src/app/core/services/widget.service.spec.js +0 -13
  287. package/dist/out-tsc/src/app/core/services/widget.service.spec.js.map +0 -1
  288. package/dist/out-tsc/src/app/core/utils/app-overlay-container.js +0 -30
  289. package/dist/out-tsc/src/app/core/utils/app-overlay-container.js.map +0 -1
  290. package/dist/out-tsc/src/app/core/utils/base-widget.component.js +0 -291
  291. package/dist/out-tsc/src/app/core/utils/base-widget.component.js.map +0 -1
  292. package/dist/out-tsc/src/app/core/utils/base-widget.component.spec.js +0 -88
  293. package/dist/out-tsc/src/app/core/utils/base-widget.component.spec.js.map +0 -1
  294. package/dist/out-tsc/src/app/core/utils/dataScales.util.js +0 -127
  295. package/dist/out-tsc/src/app/core/utils/dataScales.util.js.map +0 -1
  296. package/dist/out-tsc/src/app/core/utils/dataTransforms.util.js +0 -138
  297. package/dist/out-tsc/src/app/core/utils/dataTransforms.util.js.map +0 -1
  298. package/dist/out-tsc/src/app/core/utils/iframe-inputs-inject.utils.js +0 -55
  299. package/dist/out-tsc/src/app/core/utils/iframe-inputs-inject.utils.js.map +0 -1
  300. package/dist/out-tsc/src/app/core/utils/svg-animate.util.js +0 -303
  301. package/dist/out-tsc/src/app/core/utils/svg-animate.util.js.map +0 -1
  302. package/dist/out-tsc/src/app/core/utils/themeColors.utils.js +0 -34
  303. package/dist/out-tsc/src/app/core/utils/themeColors.utils.js.map +0 -1
  304. package/dist/out-tsc/src/app/core/utils/uuid.util.js +0 -17
  305. package/dist/out-tsc/src/app/core/utils/uuid.util.js.map +0 -1
  306. package/dist/out-tsc/src/app/core/utils/zones-highlight.utils.js +0 -87
  307. package/dist/out-tsc/src/app/core/utils/zones-highlight.utils.js.map +0 -1
  308. package/dist/out-tsc/src/app/widget-config/boolean-control-config/boolean-control-config.component.js +0 -49
  309. package/dist/out-tsc/src/app/widget-config/boolean-control-config/boolean-control-config.component.js.map +0 -1
  310. package/dist/out-tsc/src/app/widget-config/boolean-control-config/boolean-control-config.component.spec.js +0 -19
  311. package/dist/out-tsc/src/app/widget-config/boolean-control-config/boolean-control-config.component.spec.js.map +0 -1
  312. package/dist/out-tsc/src/app/widget-config/boolean-multicontrol-options/boolean-multicontrol-options.component.js +0 -100
  313. package/dist/out-tsc/src/app/widget-config/boolean-multicontrol-options/boolean-multicontrol-options.component.js.map +0 -1
  314. package/dist/out-tsc/src/app/widget-config/boolean-multicontrol-options/boolean-multicontrol-options.component.spec.js +0 -19
  315. package/dist/out-tsc/src/app/widget-config/boolean-multicontrol-options/boolean-multicontrol-options.component.spec.js.map +0 -1
  316. package/dist/out-tsc/src/app/widget-config/dataset-chart-options/dataset-chart-options.component.js +0 -54
  317. package/dist/out-tsc/src/app/widget-config/dataset-chart-options/dataset-chart-options.component.js.map +0 -1
  318. package/dist/out-tsc/src/app/widget-config/dataset-chart-options/dataset-chart-options.component.spec.js +0 -19
  319. package/dist/out-tsc/src/app/widget-config/dataset-chart-options/dataset-chart-options.component.spec.js.map +0 -1
  320. package/dist/out-tsc/src/app/widget-config/display-chart-options/display-chart-options.component.js +0 -89
  321. package/dist/out-tsc/src/app/widget-config/display-chart-options/display-chart-options.component.js.map +0 -1
  322. package/dist/out-tsc/src/app/widget-config/display-chart-options/display-chart-options.component.spec.js +0 -19
  323. package/dist/out-tsc/src/app/widget-config/display-chart-options/display-chart-options.component.spec.js.map +0 -1
  324. package/dist/out-tsc/src/app/widget-config/display-datetime/display-datetime.component.js +0 -1760
  325. package/dist/out-tsc/src/app/widget-config/display-datetime/display-datetime.component.js.map +0 -1
  326. package/dist/out-tsc/src/app/widget-config/display-datetime/display-datetime.component.spec.js +0 -19
  327. package/dist/out-tsc/src/app/widget-config/display-datetime/display-datetime.component.spec.js.map +0 -1
  328. package/dist/out-tsc/src/app/widget-config/modal-widget-config/modal-widget-config.component.js +0 -327
  329. package/dist/out-tsc/src/app/widget-config/modal-widget-config/modal-widget-config.component.js.map +0 -1
  330. package/dist/out-tsc/src/app/widget-config/modal-widget-config/modal-widget-config.component.spec.js +0 -21
  331. package/dist/out-tsc/src/app/widget-config/modal-widget-config/modal-widget-config.component.spec.js.map +0 -1
  332. package/dist/out-tsc/src/app/widget-config/path-control-config/path-control-config.component.js +0 -268
  333. package/dist/out-tsc/src/app/widget-config/path-control-config/path-control-config.component.js.map +0 -1
  334. package/dist/out-tsc/src/app/widget-config/path-control-config/path-control-config.component.spec.js +0 -21
  335. package/dist/out-tsc/src/app/widget-config/path-control-config/path-control-config.component.spec.js.map +0 -1
  336. package/dist/out-tsc/src/app/widget-config/paths-options/paths-options.component.js +0 -81
  337. package/dist/out-tsc/src/app/widget-config/paths-options/paths-options.component.js.map +0 -1
  338. package/dist/out-tsc/src/app/widget-config/paths-options/paths-options.component.spec.js +0 -19
  339. package/dist/out-tsc/src/app/widget-config/paths-options/paths-options.component.spec.js.map +0 -1
  340. package/dist/out-tsc/src/app/widget-config/select-autopilot/select-autopilot.component.js +0 -266
  341. package/dist/out-tsc/src/app/widget-config/select-autopilot/select-autopilot.component.js.map +0 -1
  342. package/dist/out-tsc/src/app/widget-config/select-autopilot/select-autopilot.component.spec.js +0 -19
  343. package/dist/out-tsc/src/app/widget-config/select-autopilot/select-autopilot.component.spec.js.map +0 -1
  344. package/dist/out-tsc/src/app/widgets/gauge-steel/gauge-steel.component.js +0 -309
  345. package/dist/out-tsc/src/app/widgets/gauge-steel/gauge-steel.component.js.map +0 -1
  346. package/dist/out-tsc/src/app/widgets/gauge-steel/gauge-steel.component.spec.js +0 -21
  347. package/dist/out-tsc/src/app/widgets/gauge-steel/gauge-steel.component.spec.js.map +0 -1
  348. package/dist/out-tsc/src/app/widgets/minichart/minichart.component.js +0 -512
  349. package/dist/out-tsc/src/app/widgets/minichart/minichart.component.js.map +0 -1
  350. package/dist/out-tsc/src/app/widgets/minichart/minichart.component.spec.js +0 -19
  351. package/dist/out-tsc/src/app/widgets/minichart/minichart.component.spec.js.map +0 -1
  352. package/dist/out-tsc/src/app/widgets/svg-autopilot/svg-autopilot.component.js +0 -227
  353. package/dist/out-tsc/src/app/widgets/svg-autopilot/svg-autopilot.component.js.map +0 -1
  354. package/dist/out-tsc/src/app/widgets/svg-autopilot/svg-autopilot.component.spec.js +0 -21
  355. package/dist/out-tsc/src/app/widgets/svg-autopilot/svg-autopilot.component.spec.js.map +0 -1
  356. package/dist/out-tsc/src/app/widgets/svg-boolean-button/svg-boolean-button.component.js +0 -163
  357. package/dist/out-tsc/src/app/widgets/svg-boolean-button/svg-boolean-button.component.js.map +0 -1
  358. package/dist/out-tsc/src/app/widgets/svg-boolean-button/svg-boolean-button.component.spec.js +0 -19
  359. package/dist/out-tsc/src/app/widgets/svg-boolean-button/svg-boolean-button.component.spec.js.map +0 -1
  360. package/dist/out-tsc/src/app/widgets/svg-boolean-light/svg-boolean-light.component.js +0 -97
  361. package/dist/out-tsc/src/app/widgets/svg-boolean-light/svg-boolean-light.component.js.map +0 -1
  362. package/dist/out-tsc/src/app/widgets/svg-boolean-light/svg-boolean-light.component.spec.js +0 -19
  363. package/dist/out-tsc/src/app/widgets/svg-boolean-light/svg-boolean-light.component.spec.js.map +0 -1
  364. package/dist/out-tsc/src/app/widgets/svg-boolean-switch/svg-boolean-switch.component.js +0 -122
  365. package/dist/out-tsc/src/app/widgets/svg-boolean-switch/svg-boolean-switch.component.js.map +0 -1
  366. package/dist/out-tsc/src/app/widgets/svg-boolean-switch/svg-boolean-switch.component.spec.js +0 -19
  367. package/dist/out-tsc/src/app/widgets/svg-boolean-switch/svg-boolean-switch.component.spec.js.map +0 -1
  368. package/dist/out-tsc/src/app/widgets/svg-racesteer/svg-racesteer.component.js +0 -389
  369. package/dist/out-tsc/src/app/widgets/svg-racesteer/svg-racesteer.component.js.map +0 -1
  370. package/dist/out-tsc/src/app/widgets/svg-racesteer/svg-racesteer.component.spec.js +0 -21
  371. package/dist/out-tsc/src/app/widgets/svg-racesteer/svg-racesteer.component.spec.js.map +0 -1
  372. package/dist/out-tsc/src/app/widgets/svg-simple-linear-gauge/svg-simple-linear-gauge.component.js +0 -76
  373. package/dist/out-tsc/src/app/widgets/svg-simple-linear-gauge/svg-simple-linear-gauge.component.js.map +0 -1
  374. package/dist/out-tsc/src/app/widgets/svg-simple-linear-gauge/svg-simple-linear-gauge.component.spec.js +0 -21
  375. package/dist/out-tsc/src/app/widgets/svg-simple-linear-gauge/svg-simple-linear-gauge.component.spec.js.map +0 -1
  376. package/dist/out-tsc/src/app/widgets/svg-windsteer/svg-windsteer.component.js +0 -429
  377. package/dist/out-tsc/src/app/widgets/svg-windsteer/svg-windsteer.component.js.map +0 -1
  378. package/dist/out-tsc/src/app/widgets/svg-windsteer/svg-windsteer.component.spec.js +0 -21
  379. package/dist/out-tsc/src/app/widgets/svg-windsteer/svg-windsteer.component.spec.js.map +0 -1
  380. package/dist/out-tsc/src/app/widgets/widget-autopilot/widget-autopilot.component.js +0 -1128
  381. package/dist/out-tsc/src/app/widgets/widget-autopilot/widget-autopilot.component.js.map +0 -1
  382. package/dist/out-tsc/src/app/widgets/widget-autopilot/widget-autopilot.component.spec.js +0 -21
  383. package/dist/out-tsc/src/app/widgets/widget-autopilot/widget-autopilot.component.spec.js.map +0 -1
  384. package/dist/out-tsc/src/app/widgets/widget-boolean-switch/widget-boolean-switch.component.js +0 -140
  385. package/dist/out-tsc/src/app/widgets/widget-boolean-switch/widget-boolean-switch.component.js.map +0 -1
  386. package/dist/out-tsc/src/app/widgets/widget-boolean-switch/widget-boolean-switch.component.spec.js +0 -19
  387. package/dist/out-tsc/src/app/widgets/widget-boolean-switch/widget-boolean-switch.component.spec.js.map +0 -1
  388. package/dist/out-tsc/src/app/widgets/widget-data-chart/widget-data-chart.component.js +0 -678
  389. package/dist/out-tsc/src/app/widgets/widget-data-chart/widget-data-chart.component.js.map +0 -1
  390. package/dist/out-tsc/src/app/widgets/widget-data-chart/widget-data-chart.component.spec.js +0 -19
  391. package/dist/out-tsc/src/app/widgets/widget-data-chart/widget-data-chart.component.spec.js.map +0 -1
  392. package/dist/out-tsc/src/app/widgets/widget-datetime/widget-datetime.component.js +0 -177
  393. package/dist/out-tsc/src/app/widgets/widget-datetime/widget-datetime.component.js.map +0 -1
  394. package/dist/out-tsc/src/app/widgets/widget-datetime/widget-datetime.component.spec.js +0 -21
  395. package/dist/out-tsc/src/app/widgets/widget-datetime/widget-datetime.component.spec.js.map +0 -1
  396. package/dist/out-tsc/src/app/widgets/widget-freeboardsk/widget-freeboardsk.component.js +0 -146
  397. package/dist/out-tsc/src/app/widgets/widget-freeboardsk/widget-freeboardsk.component.js.map +0 -1
  398. package/dist/out-tsc/src/app/widgets/widget-freeboardsk/widget-freeboardsk.component.spec.js +0 -19
  399. package/dist/out-tsc/src/app/widgets/widget-freeboardsk/widget-freeboardsk.component.spec.js.map +0 -1
  400. package/dist/out-tsc/src/app/widgets/widget-gauge-ng-compass/widget-gauge-ng-compass.component.js +0 -301
  401. package/dist/out-tsc/src/app/widgets/widget-gauge-ng-compass/widget-gauge-ng-compass.component.js.map +0 -1
  402. package/dist/out-tsc/src/app/widgets/widget-gauge-ng-compass/widget-gauge-ng-compass.component.spec.js +0 -19
  403. package/dist/out-tsc/src/app/widgets/widget-gauge-ng-compass/widget-gauge-ng-compass.component.spec.js.map +0 -1
  404. package/dist/out-tsc/src/app/widgets/widget-gauge-ng-linear/widget-gauge-ng-linear.component.js +0 -413
  405. package/dist/out-tsc/src/app/widgets/widget-gauge-ng-linear/widget-gauge-ng-linear.component.js.map +0 -1
  406. package/dist/out-tsc/src/app/widgets/widget-gauge-ng-linear/widget-gauge-ng-linear.component.spec.js +0 -21
  407. package/dist/out-tsc/src/app/widgets/widget-gauge-ng-linear/widget-gauge-ng-linear.component.spec.js.map +0 -1
  408. package/dist/out-tsc/src/app/widgets/widget-gauge-ng-radial/widget-gauge-ng-radial.component.js +0 -360
  409. package/dist/out-tsc/src/app/widgets/widget-gauge-ng-radial/widget-gauge-ng-radial.component.js.map +0 -1
  410. package/dist/out-tsc/src/app/widgets/widget-gauge-ng-radial/widget-gauge-ng-radial.component.spec.js +0 -21
  411. package/dist/out-tsc/src/app/widgets/widget-gauge-ng-radial/widget-gauge-ng-radial.component.spec.js.map +0 -1
  412. package/dist/out-tsc/src/app/widgets/widget-gauge-steel/widget-gauge-steel.component.js +0 -119
  413. package/dist/out-tsc/src/app/widgets/widget-gauge-steel/widget-gauge-steel.component.js.map +0 -1
  414. package/dist/out-tsc/src/app/widgets/widget-gauge-steel/widget-gauge-steel.component.spec.js +0 -21
  415. package/dist/out-tsc/src/app/widgets/widget-gauge-steel/widget-gauge-steel.component.spec.js.map +0 -1
  416. package/dist/out-tsc/src/app/widgets/widget-heel-gauge/widget-heel-gauge.component.js +0 -205
  417. package/dist/out-tsc/src/app/widgets/widget-heel-gauge/widget-heel-gauge.component.js.map +0 -1
  418. package/dist/out-tsc/src/app/widgets/widget-heel-gauge/widget-heel-gauge.component.spec.js +0 -15
  419. package/dist/out-tsc/src/app/widgets/widget-heel-gauge/widget-heel-gauge.component.spec.js.map +0 -1
  420. package/dist/out-tsc/src/app/widgets/widget-horizon/widget-horizon.component.js +0 -196
  421. package/dist/out-tsc/src/app/widgets/widget-horizon/widget-horizon.component.js.map +0 -1
  422. package/dist/out-tsc/src/app/widgets/widget-horizon/widget-horizon.component.spec.js +0 -21
  423. package/dist/out-tsc/src/app/widgets/widget-horizon/widget-horizon.component.spec.js.map +0 -1
  424. package/dist/out-tsc/src/app/widgets/widget-iframe/widget-iframe.component.js +0 -173
  425. package/dist/out-tsc/src/app/widgets/widget-iframe/widget-iframe.component.js.map +0 -1
  426. package/dist/out-tsc/src/app/widgets/widget-iframe/widget-iframe.component.spec.js +0 -21
  427. package/dist/out-tsc/src/app/widgets/widget-iframe/widget-iframe.component.spec.js.map +0 -1
  428. package/dist/out-tsc/src/app/widgets/widget-label/widget-label.component.js +0 -128
  429. package/dist/out-tsc/src/app/widgets/widget-label/widget-label.component.js.map +0 -1
  430. package/dist/out-tsc/src/app/widgets/widget-label/widget-label.component.spec.js +0 -19
  431. package/dist/out-tsc/src/app/widgets/widget-label/widget-label.component.spec.js.map +0 -1
  432. package/dist/out-tsc/src/app/widgets/widget-login/login.component.spec.js +0 -21
  433. package/dist/out-tsc/src/app/widgets/widget-login/login.component.spec.js.map +0 -1
  434. package/dist/out-tsc/src/app/widgets/widget-login/widget-login.component.js +0 -78
  435. package/dist/out-tsc/src/app/widgets/widget-login/widget-login.component.js.map +0 -1
  436. package/dist/out-tsc/src/app/widgets/widget-numeric/widget-numeric.component.js +0 -303
  437. package/dist/out-tsc/src/app/widgets/widget-numeric/widget-numeric.component.js.map +0 -1
  438. package/dist/out-tsc/src/app/widgets/widget-numeric/widget-numeric.spec.js +0 -21
  439. package/dist/out-tsc/src/app/widgets/widget-numeric/widget-numeric.spec.js.map +0 -1
  440. package/dist/out-tsc/src/app/widgets/widget-position/widget-position.component.js +0 -177
  441. package/dist/out-tsc/src/app/widgets/widget-position/widget-position.component.js.map +0 -1
  442. package/dist/out-tsc/src/app/widgets/widget-position/widget-position.component.spec.js +0 -21
  443. package/dist/out-tsc/src/app/widgets/widget-position/widget-position.component.spec.js.map +0 -1
  444. package/dist/out-tsc/src/app/widgets/widget-race-timer/widget-race-timer.component.js +0 -275
  445. package/dist/out-tsc/src/app/widgets/widget-race-timer/widget-race-timer.component.js.map +0 -1
  446. package/dist/out-tsc/src/app/widgets/widget-race-timer/widget-race-timer.component.spec.js +0 -21
  447. package/dist/out-tsc/src/app/widgets/widget-race-timer/widget-race-timer.component.spec.js.map +0 -1
  448. package/dist/out-tsc/src/app/widgets/widget-racer-line/widget-racer-line.component.js +0 -319
  449. package/dist/out-tsc/src/app/widgets/widget-racer-line/widget-racer-line.component.js.map +0 -1
  450. package/dist/out-tsc/src/app/widgets/widget-racer-line/widget-racer-line.component.spec.js +0 -21
  451. package/dist/out-tsc/src/app/widgets/widget-racer-line/widget-racer-line.component.spec.js.map +0 -1
  452. package/dist/out-tsc/src/app/widgets/widget-racer-timer/widget-racer-timer.component.js +0 -365
  453. package/dist/out-tsc/src/app/widgets/widget-racer-timer/widget-racer-timer.component.js.map +0 -1
  454. package/dist/out-tsc/src/app/widgets/widget-racer-timer/widget-racer-timer.component.spec.js +0 -21
  455. package/dist/out-tsc/src/app/widgets/widget-racer-timer/widget-racer-timer.component.spec.js.map +0 -1
  456. package/dist/out-tsc/src/app/widgets/widget-racesteer/widget-racesteer.component.js +0 -321
  457. package/dist/out-tsc/src/app/widgets/widget-racesteer/widget-racesteer.component.js.map +0 -1
  458. package/dist/out-tsc/src/app/widgets/widget-racesteer/widget-racesteer.component.spec.js +0 -21
  459. package/dist/out-tsc/src/app/widgets/widget-racesteer/widget-racesteer.component.spec.js.map +0 -1
  460. package/dist/out-tsc/src/app/widgets/widget-simple-linear/widget-simple-linear.component.js +0 -189
  461. package/dist/out-tsc/src/app/widgets/widget-simple-linear/widget-simple-linear.component.js.map +0 -1
  462. package/dist/out-tsc/src/app/widgets/widget-simple-linear/widget-simple-linear.component.spec.js +0 -21
  463. package/dist/out-tsc/src/app/widgets/widget-simple-linear/widget-simple-linear.component.spec.js.map +0 -1
  464. package/dist/out-tsc/src/app/widgets/widget-slider/widget-slider.component.js +0 -248
  465. package/dist/out-tsc/src/app/widgets/widget-slider/widget-slider.component.js.map +0 -1
  466. package/dist/out-tsc/src/app/widgets/widget-slider/widget-slider.component.spec.js +0 -19
  467. package/dist/out-tsc/src/app/widgets/widget-slider/widget-slider.component.spec.js.map +0 -1
  468. package/dist/out-tsc/src/app/widgets/widget-text/widget-text.component.js +0 -138
  469. package/dist/out-tsc/src/app/widgets/widget-text/widget-text.component.js.map +0 -1
  470. package/dist/out-tsc/src/app/widgets/widget-text/widget-text.component.spec.js +0 -21
  471. package/dist/out-tsc/src/app/widgets/widget-text/widget-text.component.spec.js.map +0 -1
  472. package/dist/out-tsc/src/app/widgets/widget-tutorial/widget-tutorial.component.js +0 -43
  473. package/dist/out-tsc/src/app/widgets/widget-tutorial/widget-tutorial.component.js.map +0 -1
  474. package/dist/out-tsc/src/app/widgets/widget-tutorial/widget-tutorial.component.spec.js +0 -21
  475. package/dist/out-tsc/src/app/widgets/widget-tutorial/widget-tutorial.component.spec.js.map +0 -1
  476. package/dist/out-tsc/src/app/widgets/widget-windsteer/widget-windsteer.component.js +0 -483
  477. package/dist/out-tsc/src/app/widgets/widget-windsteer/widget-windsteer.component.js.map +0 -1
  478. package/dist/out-tsc/src/app/widgets/widget-windsteer/widget-windsteer.component.spec.js +0 -21
  479. package/dist/out-tsc/src/app/widgets/widget-windsteer/widget-windsteer.component.spec.js.map +0 -1
  480. package/dist/out-tsc/src/app/widgets/widget-windtrends-chart/widget-windtrends-chart.component.js +0 -1067
  481. package/dist/out-tsc/src/app/widgets/widget-windtrends-chart/widget-windtrends-chart.component.js.map +0 -1
  482. package/dist/out-tsc/src/app/widgets/widget-windtrends-chart/widget-windtrends-chart.component.spec.js +0 -19
  483. package/dist/out-tsc/src/app/widgets/widget-windtrends-chart/widget-windtrends-chart.component.spec.js.map +0 -1
  484. package/dist/out-tsc/src/default-config/config.blank.const.js +0 -35
  485. package/dist/out-tsc/src/default-config/config.blank.const.js.map +0 -1
  486. package/dist/out-tsc/src/default-config/config.blank.notification.const.js +0 -22
  487. package/dist/out-tsc/src/default-config/config.blank.notification.const.js.map +0 -1
  488. package/dist/out-tsc/src/default-config/config.blank.units.const.js +0 -24
  489. package/dist/out-tsc/src/default-config/config.blank.units.const.js.map +0 -1
  490. package/dist/out-tsc/src/default-config/config.demo.const.js +0 -739
  491. package/dist/out-tsc/src/default-config/config.demo.const.js.map +0 -1
  492. package/dist/out-tsc/src/environments/environment.js +0 -8
  493. package/dist/out-tsc/src/environments/environment.js.map +0 -1
  494. package/dist/out-tsc/src/environments/environment.prod.js +0 -4
  495. package/dist/out-tsc/src/environments/environment.prod.js.map +0 -1
  496. package/dist/out-tsc/src/main.js +0 -111
  497. package/dist/out-tsc/src/main.js.map +0 -1
  498. package/dist/out-tsc/src/polyfills.js +0 -67
  499. package/dist/out-tsc/src/polyfills.js.map +0 -1
  500. package/dist/out-tsc/src/test-setup.js +0 -1
  501. package/dist/out-tsc/src/test-setup.js.map +0 -1
  502. package/dist/out-tsc/src/test-shims/steelseries-shim.js +0 -44
  503. package/dist/out-tsc/src/test-shims/steelseries-shim.js.map +0 -1
  504. package/dist/out-tsc/src/test.js +0 -84
  505. package/dist/out-tsc/src/test.js.map +0 -1
  506. package/public/chunk-2QCDSHYY.js +0 -2
  507. package/public/chunk-7UI7K4WB.js +0 -52
  508. package/public/chunk-ADTF2732.js +0 -1
  509. package/public/chunk-BRLXMYKY.js +0 -3
  510. package/public/chunk-CWBDCB4U.js +0 -5
  511. package/public/chunk-F5X5MWHG.js +0 -0
  512. package/public/chunk-GYERRI2M.js +0 -1
  513. package/public/chunk-GZCIAVS6.js +0 -2
  514. package/public/chunk-JEFO22J2.js +0 -9
  515. package/public/chunk-JPSGB24W.js +0 -3
  516. package/public/chunk-JWT2WFAW.js +0 -2
  517. package/public/chunk-KITN4REV.js +0 -8
  518. package/public/chunk-KNBOI7TL.js +0 -6
  519. package/public/chunk-L4NM3HUK.js +0 -64
  520. package/public/chunk-LKUCWQH6.js +0 -1
  521. package/public/chunk-MHCWCMEF.js +0 -4
  522. package/public/chunk-PR5JLJLD.js +0 -15
  523. package/public/chunk-QL3G7CWF.js +0 -1
  524. package/public/chunk-RIZZU7FJ.js +0 -1
  525. package/public/chunk-TKCKTVDR.js +0 -4
  526. package/public/chunk-W4VRE5PG.js +0 -2
  527. package/public/chunk-Z6B2WXN3.js +0 -1
  528. package/public/main-PRDRZK7G.js +0 -5
  529. package/public/polyfills-C5VXBGWL.js +0 -2
@@ -1,678 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- var __metadata = (this && this.__metadata) || function (k, v) {
8
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
- };
10
- import { Component, ElementRef, viewChild, inject, effect, NgZone } from '@angular/core';
11
- import { BaseWidgetComponent } from '../../core/utils/base-widget.component';
12
- import { WidgetHostComponent } from '../../core/components/widget-host/widget-host.component';
13
- import { DatasetService } from '../../core/services/data-set.service';
14
- import { CanvasService } from '../../core/services/canvas.service';
15
- import { Chart, TimeScale, LinearScale, LineController, PointElement, LineElement, Filler, Title, SubTitle } from 'chart.js';
16
- import annotationPlugin from 'chartjs-plugin-annotation';
17
- import 'chartjs-adapter-date-fns';
18
- Chart.register(annotationPlugin, TimeScale, LinearScale, LineController, PointElement, LineElement, Filler, Title, SubTitle);
19
- let WidgetDataChartComponent = class WidgetDataChartComponent extends BaseWidgetComponent {
20
- dsService = inject(DatasetService);
21
- ngZone = inject(NgZone);
22
- canvasService = inject(CanvasService);
23
- widgetDataChart = viewChild('widgetDataChart', { read: ElementRef });
24
- lineChartData = {
25
- datasets: []
26
- };
27
- lineChartOptions = {
28
- parsing: false,
29
- datasets: {
30
- line: {
31
- pointRadius: 0, // disable for all `'line'` datasets
32
- pointHoverRadius: 0, // disable for all `'line'` datasets
33
- tension: 0.4,
34
- }
35
- },
36
- animations: {
37
- tension: {
38
- easing: "easeInOutCubic"
39
- }
40
- }
41
- };
42
- lineChartType = 'line';
43
- chart;
44
- dsServiceSub = null;
45
- datasetConfig = null;
46
- dataSourceInfo = null;
47
- constructor() {
48
- super();
49
- this.defaultConfig = {
50
- displayName: 'Chart Label',
51
- filterSelfPaths: true,
52
- convertUnitTo: "unitless",
53
- datasetUUID: null,
54
- inverseYAxis: false,
55
- datasetAverageArray: 'sma',
56
- showAverageData: true,
57
- trackAgainstAverage: false,
58
- showDatasetMinimumValueLine: false,
59
- showDatasetMaximumValueLine: false,
60
- showDatasetAverageValueLine: true,
61
- showDatasetAngleAverageValueLine: false,
62
- showLabel: false,
63
- showTimeScale: false,
64
- startScaleAtZero: false,
65
- verticalChart: false,
66
- showYScale: false,
67
- yScaleSuggestedMin: null,
68
- yScaleSuggestedMax: null,
69
- enableMinMaxScaleLimit: false,
70
- yScaleMin: null,
71
- yScaleMax: null,
72
- numDecimal: 1,
73
- color: 'contrast',
74
- };
75
- effect(() => {
76
- if (this.theme()) {
77
- if (this.datasetConfig) {
78
- this.setChartOptions();
79
- this.setDatasetsColors();
80
- }
81
- }
82
- });
83
- }
84
- ngOnInit() {
85
- this.validateConfig();
86
- }
87
- ngAfterViewInit() {
88
- this.startWidget();
89
- }
90
- startWidget() {
91
- this.datasetConfig = this.dsService.getDatasetConfig(this.widgetProperties.config.datasetUUID);
92
- this.dataSourceInfo = this.dsService.getDataSourceInfo(this.widgetProperties.config.datasetUUID);
93
- if (this.datasetConfig) {
94
- this.createDatasets();
95
- this.setChartOptions();
96
- if (!this.chart) {
97
- this.chart = new Chart(this.widgetDataChart().nativeElement.getContext('2d'), {
98
- type: this.lineChartType,
99
- data: this.lineChartData,
100
- options: this.lineChartOptions
101
- });
102
- }
103
- else {
104
- this.chart.update();
105
- }
106
- this.startStreaming();
107
- }
108
- }
109
- updateConfig(config) {
110
- this.widgetProperties.config = config;
111
- this.startWidget();
112
- }
113
- setChartOptions() {
114
- this.lineChartOptions.maintainAspectRatio = false;
115
- this.lineChartOptions.animation = false;
116
- this.lineChartOptions.indexAxis = this.widgetProperties.config.verticalChart ? 'y' : 'x';
117
- if (this.widgetProperties.config.verticalChart) {
118
- this.lineChartOptions.scales = {
119
- y: {
120
- type: "time",
121
- display: this.widgetProperties.config.showTimeScale,
122
- position: this.widgetProperties.config.verticalChart ? "right" : "left",
123
- suggestedMin: "",
124
- suggestedMax: "",
125
- title: {
126
- display: true,
127
- text: `Last ${this.datasetConfig.period} ${this.datasetConfig.timeScaleFormat}`,
128
- align: "center"
129
- },
130
- time: {
131
- unit: this.datasetConfig.timeScaleFormat,
132
- minUnit: "second",
133
- round: "second",
134
- displayFormats: {
135
- // eslint-disable-next-line no-useless-escape
136
- hour: `k:mm\''`,
137
- // eslint-disable-next-line no-useless-escape
138
- minute: `mm\''`,
139
- second: `ss"`,
140
- millisecond: "SSS"
141
- },
142
- },
143
- ticks: {
144
- autoSkip: false,
145
- color: this.getThemeColors().averageChartLine,
146
- major: {
147
- enabled: true
148
- }
149
- },
150
- grid: {
151
- display: true,
152
- color: this.theme().contrastDimmer
153
- }
154
- },
155
- x: {
156
- type: "linear",
157
- display: this.widgetProperties.config.showYScale,
158
- position: this.widgetProperties.config.verticalChart ? "top" : "bottom",
159
- suggestedMin: this.widgetProperties.config.enableMinMaxScaleLimit ? null : this.widgetProperties.config.yScaleSuggestedMin,
160
- suggestedMax: this.widgetProperties.config.enableMinMaxScaleLimit ? null : this.widgetProperties.config.yScaleSuggestedMax,
161
- min: this.widgetProperties.config.enableMinMaxScaleLimit ? this.widgetProperties.config.yScaleMin : null,
162
- max: this.widgetProperties.config.enableMinMaxScaleLimit ? this.widgetProperties.config.yScaleMax : null,
163
- beginAtZero: this.widgetProperties.config.startScaleAtZero,
164
- reverse: this.widgetProperties.config.inverseYAxis,
165
- title: {
166
- display: false,
167
- text: "Value Axis",
168
- align: "center"
169
- },
170
- ticks: {
171
- maxTicksLimit: 8,
172
- precision: this.widgetProperties.config.numDecimal,
173
- color: this.getThemeColors().averageChartLine,
174
- major: {
175
- enabled: true,
176
- }
177
- },
178
- grid: {
179
- display: true,
180
- color: this.theme().contrastDimmer,
181
- }
182
- }
183
- };
184
- }
185
- else {
186
- this.lineChartOptions.scales = {
187
- x: {
188
- type: "time",
189
- display: this.widgetProperties.config.showTimeScale,
190
- title: {
191
- display: true,
192
- text: `Last ${this.datasetConfig.period} ${this.datasetConfig.timeScaleFormat}`,
193
- align: "center"
194
- },
195
- time: {
196
- unit: this.datasetConfig.timeScaleFormat,
197
- minUnit: "second",
198
- round: "second",
199
- displayFormats: {
200
- // eslint-disable-next-line no-useless-escape
201
- hour: `k:mm\''`,
202
- // eslint-disable-next-line no-useless-escape
203
- minute: `mm\''`,
204
- second: `ss"`,
205
- millisecond: "SSS"
206
- },
207
- },
208
- ticks: {
209
- autoSkip: false,
210
- color: this.getThemeColors().averageChartLine,
211
- major: {
212
- enabled: true
213
- }
214
- },
215
- grid: {
216
- display: true,
217
- color: this.theme().contrastDimmer
218
- }
219
- },
220
- y: {
221
- display: this.widgetProperties.config.showYScale,
222
- position: "right",
223
- suggestedMin: this.widgetProperties.config.enableMinMaxScaleLimit ? null : this.widgetProperties.config.yScaleSuggestedMin,
224
- suggestedMax: this.widgetProperties.config.enableMinMaxScaleLimit ? null : this.widgetProperties.config.yScaleSuggestedMax,
225
- min: this.widgetProperties.config.enableMinMaxScaleLimit ? this.widgetProperties.config.yScaleMin : null,
226
- max: this.widgetProperties.config.enableMinMaxScaleLimit ? this.widgetProperties.config.yScaleMax : null,
227
- beginAtZero: this.widgetProperties.config.startScaleAtZero,
228
- reverse: this.widgetProperties.config.inverseYAxis,
229
- title: {
230
- display: false,
231
- text: "Value Axis",
232
- align: "center"
233
- },
234
- ticks: {
235
- maxTicksLimit: 8,
236
- precision: this.widgetProperties.config.numDecimal,
237
- color: this.getThemeColors().averageChartLine,
238
- major: {
239
- enabled: true,
240
- }
241
- },
242
- grid: {
243
- display: true,
244
- color: this.theme().contrastDimmer,
245
- }
246
- }
247
- };
248
- }
249
- this.lineChartOptions.plugins = {
250
- title: {
251
- display: true,
252
- align: "end",
253
- padding: {
254
- top: 3,
255
- bottom: 0
256
- },
257
- text: "",
258
- font: {
259
- size: 32,
260
- },
261
- color: this.getThemeColors().chartValue
262
- },
263
- subtitle: {
264
- display: this.widgetProperties.config.showLabel,
265
- align: "start",
266
- padding: {
267
- top: -35,
268
- bottom: 20
269
- },
270
- text: ` ${this.widgetProperties.config.displayName}`,
271
- font: {
272
- size: 22,
273
- },
274
- color: this.getThemeColors().chartLabel
275
- },
276
- annotation: {
277
- annotations: {
278
- minimumLine: {
279
- type: 'line',
280
- scaleID: this.widgetProperties.config.verticalChart ? 'x' : 'y',
281
- display: this.widgetProperties.config.showDatasetMinimumValueLine,
282
- value: null,
283
- drawTime: 'afterDatasetsDraw',
284
- label: {
285
- display: true,
286
- position: "start",
287
- yAdjust: 12,
288
- padding: 4,
289
- color: this.getThemeColors().averageChartLine,
290
- backgroundColor: 'rgba(63,63,63,0.0)'
291
- }
292
- },
293
- maximumLine: {
294
- type: 'line',
295
- scaleID: this.widgetProperties.config.verticalChart ? 'x' : 'y',
296
- display: this.widgetProperties.config.showDatasetMaximumValueLine,
297
- value: null,
298
- drawTime: 'afterDatasetsDraw',
299
- label: {
300
- display: true,
301
- position: "start",
302
- yAdjust: -12,
303
- padding: 4,
304
- color: this.getThemeColors().averageChartLine,
305
- backgroundColor: 'rgba(63,63,63,0.0)'
306
- }
307
- },
308
- averageLine: {
309
- type: 'line',
310
- scaleID: this.widgetProperties.config.verticalChart ? 'x' : 'y',
311
- display: this.widgetProperties.config.showDatasetAverageValueLine,
312
- value: null,
313
- borderDash: [6, 6],
314
- borderColor: this.getThemeColors().averageChartLine,
315
- drawTime: 'afterDatasetsDraw',
316
- label: {
317
- display: true,
318
- position: "start",
319
- padding: 4,
320
- color: this.getThemeColors().chartValue,
321
- backgroundColor: 'rgba(63,63,63,0.7)'
322
- }
323
- }
324
- }
325
- },
326
- legend: {
327
- display: false
328
- }
329
- };
330
- }
331
- createDatasets() {
332
- let valueFillDirection;
333
- let averageFillDirection;
334
- if (this.widgetProperties.config.inverseYAxis && this.widgetProperties.config.trackAgainstAverage) {
335
- valueFillDirection = "start";
336
- averageFillDirection = false;
337
- }
338
- else if (this.widgetProperties.config.inverseYAxis && !this.widgetProperties.config.trackAgainstAverage) {
339
- valueFillDirection = false;
340
- averageFillDirection = "start";
341
- }
342
- else if (!this.widgetProperties.config.inverseYAxis && this.widgetProperties.config.trackAgainstAverage) {
343
- valueFillDirection = true;
344
- averageFillDirection = false;
345
- }
346
- else {
347
- valueFillDirection = false;
348
- averageFillDirection = true;
349
- }
350
- this.lineChartData.datasets = [];
351
- this.lineChartData.datasets.push({
352
- label: 'Value',
353
- data: [],
354
- order: this.widgetProperties.config.trackAgainstAverage ? 1 : 0,
355
- parsing: false,
356
- tension: 0,
357
- pointRadius: 0,
358
- pointHoverRadius: 0,
359
- pointHitRadius: 0,
360
- borderWidth: this.widgetProperties.config.trackAgainstAverage ? 0 : 3,
361
- fill: valueFillDirection,
362
- });
363
- this.lineChartData.datasets.push({
364
- label: 'Average',
365
- data: [],
366
- order: this.widgetProperties.config.trackAgainstAverage ? 0 : 1,
367
- parsing: false,
368
- tension: 0.4,
369
- pointRadius: 0,
370
- pointHoverRadius: 0,
371
- pointHitRadius: 0,
372
- borderWidth: this.widgetProperties.config.trackAgainstAverage ? 3 : 0,
373
- fill: averageFillDirection,
374
- });
375
- this.setDatasetsColors();
376
- }
377
- setDatasetsColors() {
378
- this.lineChartData.datasets.forEach((dataset) => {
379
- if (dataset.label === 'Value') {
380
- dataset.borderColor = this.getThemeColors().valueLine;
381
- dataset.backgroundColor = this.getThemeColors().valueFill;
382
- }
383
- else if (dataset.label === 'Average') {
384
- dataset.borderColor = this.getThemeColors().averageLine;
385
- dataset.backgroundColor = this.getThemeColors().averageFill;
386
- }
387
- });
388
- }
389
- getThemeColors() {
390
- const widgetColor = this.widgetProperties.config.color;
391
- const colors = {
392
- valueLine: null,
393
- valueFill: null,
394
- averageLine: null,
395
- averageFill: null,
396
- averageChartLine: null,
397
- chartLabel: null,
398
- chartValue: null
399
- };
400
- switch (widgetColor) {
401
- case "contrast":
402
- if (this.widgetProperties.config.trackAgainstAverage) {
403
- colors.valueLine = this.theme().contrastDimmer;
404
- colors.valueFill = this.theme().contrastDimmer;
405
- colors.averageLine = this.theme().contrast;
406
- colors.averageFill = this.theme().contrast;
407
- colors.chartValue = colors.averageLine;
408
- }
409
- else {
410
- colors.valueLine = this.theme().contrast;
411
- colors.valueFill = this.theme().contrast;
412
- colors.averageLine = this.theme().contrastDimmer;
413
- colors.averageFill = this.theme().contrastDimmer;
414
- colors.chartValue = this.theme().contrast;
415
- }
416
- colors.averageChartLine = this.theme().contrastDim;
417
- colors.chartLabel = this.theme().contrastDim;
418
- break;
419
- case "blue":
420
- if (this.widgetProperties.config.trackAgainstAverage) {
421
- colors.valueLine = this.theme().blueDimmer;
422
- colors.valueFill = this.theme().blueDimmer;
423
- colors.averageLine = this.theme().blue;
424
- colors.averageFill = this.theme().blue;
425
- colors.chartValue = colors.averageLine;
426
- }
427
- else {
428
- colors.valueLine = this.theme().blue;
429
- colors.valueFill = this.theme().blue;
430
- colors.averageLine = this.theme().blueDimmer;
431
- colors.averageFill = this.theme().blueDimmer;
432
- colors.chartValue = colors.valueFill;
433
- }
434
- colors.averageChartLine = this.theme().blueDim;
435
- colors.chartLabel = this.theme().contrastDim;
436
- break;
437
- case "green":
438
- if (this.widgetProperties.config.trackAgainstAverage) {
439
- colors.valueLine = this.theme().greenDimmer;
440
- colors.valueFill = this.theme().greenDimmer;
441
- colors.averageLine = this.theme().green;
442
- colors.averageFill = this.theme().green;
443
- colors.chartValue = colors.averageLine;
444
- }
445
- else {
446
- colors.valueLine = this.theme().green;
447
- colors.valueFill = this.theme().green;
448
- colors.averageLine = this.theme().greenDimmer;
449
- colors.averageFill = this.theme().greenDimmer;
450
- colors.chartValue = colors.valueFill;
451
- }
452
- colors.averageChartLine = this.theme().greenDim;
453
- colors.chartLabel = this.theme().contrastDim;
454
- break;
455
- case "pink":
456
- if (this.widgetProperties.config.trackAgainstAverage) {
457
- colors.valueLine = this.theme().pinkDimmer;
458
- colors.valueFill = this.theme().pinkDimmer;
459
- colors.averageLine = this.theme().pink;
460
- colors.averageFill = this.theme().pink;
461
- colors.chartValue = colors.averageLine;
462
- }
463
- else {
464
- colors.valueLine = this.theme().pink;
465
- colors.valueFill = this.theme().pink;
466
- colors.averageLine = this.theme().pinkDimmer;
467
- colors.averageFill = this.theme().pinkDimmer;
468
- colors.chartValue = colors.valueFill;
469
- }
470
- colors.averageChartLine = this.theme().pinkDim;
471
- colors.chartLabel = this.theme().contrastDim;
472
- break;
473
- case "orange":
474
- if (this.widgetProperties.config.trackAgainstAverage) {
475
- colors.valueLine = this.theme().orangeDimmer;
476
- colors.valueFill = this.theme().orangeDimmer;
477
- colors.averageLine = this.theme().orange;
478
- colors.averageFill = this.theme().orange;
479
- colors.chartValue = colors.averageLine;
480
- }
481
- else {
482
- colors.valueLine = this.theme().orange;
483
- colors.valueFill = this.theme().orange;
484
- colors.averageLine = this.theme().orangeDimmer;
485
- colors.averageFill = this.theme().orangeDimmer;
486
- colors.chartValue = colors.valueFill;
487
- }
488
- colors.averageChartLine = this.theme().orangeDim;
489
- colors.chartLabel = this.theme().contrastDim;
490
- break;
491
- case "purple":
492
- if (this.widgetProperties.config.trackAgainstAverage) {
493
- colors.valueLine = this.theme().purpleDimmer;
494
- colors.valueFill = this.theme().purpleDimmer;
495
- colors.averageLine = this.theme().purple;
496
- colors.averageFill = this.theme().purple;
497
- colors.chartValue = colors.averageLine;
498
- }
499
- else {
500
- colors.valueLine = this.theme().purple;
501
- colors.valueFill = this.theme().purple;
502
- colors.averageLine = this.theme().purpleDimmer;
503
- colors.averageFill = this.theme().purpleDimmer;
504
- colors.chartValue = colors.valueFill;
505
- }
506
- colors.averageChartLine = this.theme().purpleDim;
507
- colors.chartLabel = this.theme().contrastDim;
508
- break;
509
- case "grey":
510
- if (this.widgetProperties.config.trackAgainstAverage) {
511
- colors.valueLine = this.theme().greyDimmer;
512
- colors.valueFill = this.theme().greyDimmer;
513
- colors.averageLine = this.theme().grey;
514
- colors.averageFill = this.theme().grey;
515
- colors.chartValue = colors.averageLine;
516
- }
517
- else {
518
- colors.valueLine = this.theme().grey;
519
- colors.valueFill = this.theme().grey;
520
- colors.averageLine = this.theme().greyDimmer;
521
- colors.averageFill = this.theme().greyDimmer;
522
- colors.chartValue = colors.valueFill;
523
- }
524
- colors.averageChartLine = this.theme().greyDim;
525
- colors.chartLabel = this.theme().contrastDim;
526
- break;
527
- case "yellow":
528
- if (this.widgetProperties.config.trackAgainstAverage) {
529
- colors.valueLine = this.theme().yellowDimmer;
530
- colors.valueFill = this.theme().yellowDimmer;
531
- colors.averageLine = this.theme().yellow;
532
- colors.averageFill = this.theme().yellow;
533
- colors.chartValue = colors.averageLine;
534
- }
535
- else {
536
- colors.valueLine = this.theme().yellow;
537
- colors.valueFill = this.theme().yellow;
538
- colors.averageLine = this.theme().yellowDimmer;
539
- colors.averageFill = this.theme().yellowDimmer;
540
- colors.chartValue = colors.valueFill;
541
- }
542
- colors.averageChartLine = this.theme().yellowDim;
543
- colors.chartLabel = this.theme().contrastDim;
544
- break;
545
- }
546
- return colors;
547
- }
548
- getUnitsLabel() {
549
- let label = null;
550
- switch (this.widgetProperties.config.convertUnitTo) {
551
- case "percent":
552
- case "percentraw":
553
- label = "%";
554
- break;
555
- case "latitudeMin":
556
- label = "latitude in minutes";
557
- break;
558
- case "latitudeSec":
559
- label = "latitude in secondes";
560
- break;
561
- case "longitudeMin":
562
- label = "longitude in minutes";
563
- break;
564
- case "longitudeSec":
565
- label = "longitude in secondes";
566
- break;
567
- default:
568
- label = this.widgetProperties.config.convertUnitTo;
569
- break;
570
- }
571
- return label;
572
- }
573
- startStreaming() {
574
- this.dsServiceSub?.unsubscribe();
575
- const batchThenLive$ = this.dsService.getDatasetBatchThenLiveObservable(this.widgetProperties.config.datasetUUID);
576
- this.dsServiceSub = batchThenLive$?.subscribe(dsPointOrBatch => {
577
- if (Array.isArray(dsPointOrBatch)) {
578
- // Initial batch: fill the chart with the last N points
579
- const valueRows = this.transformDatasetRows(dsPointOrBatch, 0);
580
- this.chart.data.datasets[0].data.push(...valueRows);
581
- if (this.widgetProperties.config.showAverageData) {
582
- const avgRows = this.transformDatasetRows(dsPointOrBatch, this.widgetProperties.config.datasetAverageArray);
583
- this.chart.data.datasets[1].data.push(...avgRows);
584
- }
585
- }
586
- else {
587
- // Live: handle new single datapoint
588
- const valueRow = this.transformDatasetRows([dsPointOrBatch], 0)[0];
589
- this.chart.data.datasets[0].data.push(valueRow);
590
- if (this.chart.data.datasets[0].data.length > this.dataSourceInfo.maxDataPoints) {
591
- this.chart.data.datasets[0].data.shift();
592
- }
593
- if (this.widgetProperties.config.showAverageData) {
594
- const avgRow = this.transformDatasetRows([dsPointOrBatch], this.widgetProperties.config.datasetAverageArray)[0];
595
- this.chart.data.datasets[1].data.push(avgRow);
596
- if (this.chart.data.datasets[1].data.length > this.dataSourceInfo.maxDataPoints) {
597
- this.chart.data.datasets[1].data.shift();
598
- }
599
- }
600
- // ... (rest of your live update logic for title, annotation, etc.)
601
- const trackValue = this.widgetProperties.config.trackAgainstAverage ? dsPointOrBatch.data.sma : dsPointOrBatch.data.value;
602
- this.chart.options.plugins.title.text = `${this.unitsService.convertToUnit(this.widgetProperties.config.convertUnitTo, trackValue).toFixed(this.widgetProperties.config.numDecimal)} ${this.getUnitsLabel()} `;
603
- const lastAverage = this.unitsService.convertToUnit(this.widgetProperties.config.convertUnitTo, dsPointOrBatch.data.lastAverage);
604
- const lastMinimum = this.unitsService.convertToUnit(this.widgetProperties.config.convertUnitTo, dsPointOrBatch.data.lastMinimum);
605
- const lastMaximum = this.unitsService.convertToUnit(this.widgetProperties.config.convertUnitTo, dsPointOrBatch.data.lastMaximum);
606
- if (this.chart.options.plugins.annotation.annotations.averageLine.value != lastAverage) {
607
- this.chart.options.plugins.annotation.annotations.averageLine.value = lastAverage;
608
- this.chart.options.plugins.annotation.annotations.averageLine.label.content = `${lastAverage.toFixed(this.widgetProperties.config.numDecimal)}`;
609
- }
610
- if (this.chart.options.plugins.annotation.annotations.minimumLine.value != lastMinimum) {
611
- this.chart.options.plugins.annotation.annotations.minimumLine.value = lastMinimum;
612
- this.chart.options.plugins.annotation.annotations.minimumLine.label.content = `${lastMinimum.toFixed(this.widgetProperties.config.numDecimal)}`;
613
- }
614
- if (this.chart.options.plugins.annotation.annotations.maximumLine.value != lastMaximum) {
615
- this.chart.options.plugins.annotation.annotations.maximumLine.value = lastMaximum;
616
- this.chart.options.plugins.annotation.annotations.maximumLine.label.content = `${lastMaximum.toFixed(this.widgetProperties.config.numDecimal)}`;
617
- }
618
- }
619
- this.ngZone.runOutsideAngular(() => {
620
- this.chart?.update('quiet');
621
- });
622
- });
623
- }
624
- transformDatasetRows(rows, datasetType) {
625
- const convert = (v) => this.unitsService.convertToUnit(this.widgetProperties.config.convertUnitTo, v);
626
- const verticalChart = this.widgetProperties.config.verticalChart;
627
- const avgKey = this.widgetProperties.config.datasetAverageArray;
628
- return rows.map(row => {
629
- if (verticalChart) {
630
- if (datasetType === 0) {
631
- return { x: convert(row.data.value), y: row.timestamp };
632
- }
633
- else {
634
- const avgMap = {
635
- sma: row.data.sma,
636
- ema: row.data.ema,
637
- dema: row.data.doubleEma,
638
- avg: row.data.lastAverage
639
- };
640
- return { x: convert(avgMap[avgKey]), y: row.timestamp };
641
- }
642
- }
643
- else {
644
- if (datasetType === 0) {
645
- return { x: row.timestamp, y: convert(row.data.value) };
646
- }
647
- else {
648
- const avgMap = {
649
- sma: row.data.sma,
650
- ema: row.data.ema,
651
- dema: row.data.doubleEma,
652
- avg: row.data.lastAverage
653
- };
654
- return { x: row.timestamp, y: convert(avgMap[avgKey]) };
655
- }
656
- }
657
- });
658
- }
659
- ngOnDestroy() {
660
- this.destroyDataStreams();
661
- this.dsServiceSub?.unsubscribe();
662
- // we need to destroy when moving Pages to remove Chart Objects
663
- this.chart?.destroy();
664
- const canvas = this.widgetDataChart?.()?.nativeElement;
665
- this.canvasService.releaseCanvas(canvas, { clear: true, removeFromDom: true });
666
- }
667
- };
668
- WidgetDataChartComponent = __decorate([
669
- Component({
670
- selector: 'widget-data-chart',
671
- imports: [WidgetHostComponent],
672
- templateUrl: './widget-data-chart.component.html',
673
- styleUrl: './widget-data-chart.component.scss'
674
- }),
675
- __metadata("design:paramtypes", [])
676
- ], WidgetDataChartComponent);
677
- export { WidgetDataChartComponent };
678
- //# sourceMappingURL=widget-data-chart.component.js.map