@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.
- package/CHANGELOG.md +34 -0
- package/package.json +24 -25
- package/plugin/index.js +7 -7
- package/plugin/openApi.json +103 -9
- package/public/3rdpartylicenses.txt +35 -71
- package/public/assets/help-docs/chartplotter.md +2 -0
- package/public/assets/help-docs/img/splitdeviderhandle.png +0 -0
- package/public/chunk-2RAYS3TY.js +4 -0
- package/public/chunk-6EM76KAH.js +6 -0
- package/public/{chunk-AQ66AGUC.js → chunk-6GBFOSQS.js} +1 -1
- package/public/chunk-733F7PXN.js +1 -0
- package/public/chunk-BEYO4UE4.js +63 -0
- package/public/chunk-C6VANIFR.js +1 -0
- package/public/chunk-HSI6NAGQ.js +9 -0
- package/public/chunk-IWF4GFLI.js +2 -0
- package/public/{chunk-UDAYIL7R.js → chunk-IXBZB4KE.js} +1 -1
- package/public/{chunk-D3OVXRDS.js → chunk-JH34I3XB.js} +1 -1
- package/public/chunk-KERDEDSC.js +15 -0
- package/public/chunk-L5LQP4DC.js +52 -0
- package/public/chunk-LIZUWHB5.js +5 -0
- package/public/chunk-LTN5IH7B.js +1 -0
- package/public/{chunk-RVSQUIEX.js → chunk-MEDT66DA.js} +5 -5
- package/public/chunk-NTB3EZKJ.js +4 -0
- package/public/chunk-O6S5P5U5.js +1 -0
- package/public/chunk-OEVWXT6J.js +3 -0
- package/public/chunk-Q4WCOIVL.js +1 -0
- package/public/{chunk-MKKQCG3C.js → chunk-UUH3BRLK.js} +2 -2
- package/public/chunk-V2BXYURY.js +8 -0
- package/public/chunk-VAPM652H.js +2 -0
- package/public/chunk-W2T7DKWR.js +4 -0
- package/public/chunk-WGYHQ7HF.js +2 -0
- package/public/index.html +1 -1
- package/public/main-7VFHL2MQ.js +5 -0
- package/public/polyfills-GNK4EEYZ.js +2 -0
- package/public/{scripts-7HSGK5LZ.js → scripts-M6PHZBML.js} +1 -1
- package/dist/out-tsc/kip-plugin/src/index.js +0 -223
- package/dist/out-tsc/kip-plugin/src/index.js.map +0 -1
- package/dist/out-tsc/kip-plugin/src/openApi.json +0 -367
- package/dist/out-tsc/package.json +0 -118
- package/dist/out-tsc/schematics/widget/index.js +0 -70
- package/dist/out-tsc/schematics/widget/index.js.map +0 -1
- package/dist/out-tsc/src/app/app.component.js +0 -286
- package/dist/out-tsc/src/app/app.component.js.map +0 -1
- package/dist/out-tsc/src/app/app.component.spec.js +0 -26
- package/dist/out-tsc/src/app/app.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/app.routes.js +0 -35
- package/dist/out-tsc/src/app/app.routes.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/app-help/app-help.component.js +0 -60
- package/dist/out-tsc/src/app/core/components/app-help/app-help.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/app-help/app-help.component.spec.js +0 -150
- package/dist/out-tsc/src/app/core/components/app-help/app-help.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/dashboard/dashboard.component.js +0 -361
- package/dist/out-tsc/src/app/core/components/dashboard/dashboard.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/dashboard/dashboard.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/dashboard/dashboard.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/dashboard-scroller/dashboard-scroller.component.js +0 -33
- package/dist/out-tsc/src/app/core/components/dashboard-scroller/dashboard-scroller.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/dashboard-scroller/dashboard-scroller.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/dashboard-scroller/dashboard-scroller.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/dashboards-editor/dashboards-editor.component.js +0 -183
- package/dist/out-tsc/src/app/core/components/dashboards-editor/dashboards-editor.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/dashboards-editor/dashboards-editor.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/dashboards-editor/dashboards-editor.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/dashboards-manage-bottom-sheet/dashboards-manage-bottom-sheet.component.js +0 -28
- package/dist/out-tsc/src/app/core/components/dashboards-manage-bottom-sheet/dashboards-manage-bottom-sheet.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/dashboards-manage-bottom-sheet/dashboards-manage-bottom-sheet.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/dashboards-manage-bottom-sheet/dashboards-manage-bottom-sheet.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/data-inspector/data-inspector.component.js +0 -130
- package/dist/out-tsc/src/app/core/components/data-inspector/data-inspector.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/data-inspector/data-inspector.component.spec.js +0 -21
- package/dist/out-tsc/src/app/core/components/data-inspector/data-inspector.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/data-inspector-row/data-inspector-row.component.js +0 -82
- package/dist/out-tsc/src/app/core/components/data-inspector-row/data-inspector-row.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/datasets/datasets.component.js +0 -168
- package/dist/out-tsc/src/app/core/components/datasets/datasets.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/datasets/datasets.component.spec.js +0 -21
- package/dist/out-tsc/src/app/core/components/datasets/datasets.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/dialog-confirmation/dialog-confirmation.component.js +0 -24
- package/dist/out-tsc/src/app/core/components/dialog-confirmation/dialog-confirmation.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/dialog-confirmation/dialog-confirmation.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/dialog-confirmation/dialog-confirmation.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/dialog-dashboard-page-editor/dialog-dashboard-page-editor.component.js +0 -45
- package/dist/out-tsc/src/app/core/components/dialog-dashboard-page-editor/dialog-dashboard-page-editor.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/dialog-dashboard-page-editor/dialog-dashboard-page-editor.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/dialog-dashboard-page-editor/dialog-dashboard-page-editor.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/dialog-frame/dialog-frame.component.js +0 -25
- package/dist/out-tsc/src/app/core/components/dialog-frame/dialog-frame.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/dialog-frame/dialog-frame.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/dialog-frame/dialog-frame.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/dialog-name/dialog-name.component.js +0 -31
- package/dist/out-tsc/src/app/core/components/dialog-name/dialog-name.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/dialog-name/dialog-name.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/dialog-name/dialog-name.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/menu-actions/menu-actions.component.js +0 -100
- package/dist/out-tsc/src/app/core/components/menu-actions/menu-actions.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/menu-actions/menu-actions.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/menu-actions/menu-actions.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/menu-notifications/menu-notifications.component.js +0 -60
- package/dist/out-tsc/src/app/core/components/menu-notifications/menu-notifications.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/menu-notifications/menu-notifications.component.spec.js +0 -21
- package/dist/out-tsc/src/app/core/components/menu-notifications/menu-notifications.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/modal-user-credential/modal-user-credential.component.js +0 -32
- package/dist/out-tsc/src/app/core/components/modal-user-credential/modal-user-credential.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/modal-user-credential/modal-user-credential.component.spec.js +0 -21
- package/dist/out-tsc/src/app/core/components/modal-user-credential/modal-user-credential.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/notification-badge/notification-badge.component.js +0 -51
- package/dist/out-tsc/src/app/core/components/notification-badge/notification-badge.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/notification-badge/notification-badge.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/notification-badge/notification-badge.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/options/configuration/config.component.js +0 -228
- package/dist/out-tsc/src/app/core/components/options/configuration/config.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/options/configuration/config.component.spec.js +0 -21
- package/dist/out-tsc/src/app/core/components/options/configuration/config.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/options/display/display.component.js +0 -142
- package/dist/out-tsc/src/app/core/components/options/display/display.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/options/display/display.component.spec.js +0 -21
- package/dist/out-tsc/src/app/core/components/options/display/display.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/options/notifications/notifications.component.js +0 -66
- package/dist/out-tsc/src/app/core/components/options/notifications/notifications.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/options/notifications/notifications.component.spec.js +0 -21
- package/dist/out-tsc/src/app/core/components/options/notifications/notifications.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/options/signalk/signalk.component.js +0 -255
- package/dist/out-tsc/src/app/core/components/options/signalk/signalk.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/options/signalk/signalk.component.spec.js +0 -21
- package/dist/out-tsc/src/app/core/components/options/signalk/signalk.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/options/tabs/tabs.component.js +0 -44
- package/dist/out-tsc/src/app/core/components/options/tabs/tabs.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/options/tabs/tabs.component.spec.js +0 -21
- package/dist/out-tsc/src/app/core/components/options/tabs/tabs.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/options/units/units.component.js +0 -55
- package/dist/out-tsc/src/app/core/components/options/units/units.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/options/units/units.component.spec.js +0 -21
- package/dist/out-tsc/src/app/core/components/options/units/units.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/page-header/page-header.component.js +0 -31
- package/dist/out-tsc/src/app/core/components/page-header/page-header.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/page-header/page-header.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/page-header/page-header.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/remote-control/remote-control.component.js +0 -63
- package/dist/out-tsc/src/app/core/components/remote-control/remote-control.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/remote-control/remote-control.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/remote-control/remote-control.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/select-icon/select-icon.component.js +0 -75
- package/dist/out-tsc/src/app/core/components/select-icon/select-icon.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/select-icon/select-icon.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/select-icon/select-icon.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/settings/settings.component.js +0 -56
- package/dist/out-tsc/src/app/core/components/settings/settings.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/settings/settings.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/settings/settings.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/tile-large-icon/tile-large-icon.component.js +0 -28
- package/dist/out-tsc/src/app/core/components/tile-large-icon/tile-large-icon.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/tile-large-icon/tile-large-icon.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/tile-large-icon/tile-large-icon.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/upgrade-config/upgrade-config.component.js +0 -336
- package/dist/out-tsc/src/app/core/components/upgrade-config/upgrade-config.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/upgrade-config/upgrade-config.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/upgrade-config/upgrade-config.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/upgrade-config/v10-config-interface.js +0 -2
- package/dist/out-tsc/src/app/core/components/upgrade-config/v10-config-interface.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/widget-host/widget-host.component.js +0 -77
- package/dist/out-tsc/src/app/core/components/widget-host/widget-host.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/widget-host/widget-host.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/widget-host/widget-host.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/widget-host-bottom-sheet/widget-host-bottom-sheet.component.js +0 -29
- package/dist/out-tsc/src/app/core/components/widget-host-bottom-sheet/widget-host-bottom-sheet.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/widget-host-bottom-sheet/widget-host-bottom-sheet.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/widget-host-bottom-sheet/widget-host-bottom-sheet.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/widget-list-card/widget-list-card.component.js +0 -34
- package/dist/out-tsc/src/app/core/components/widget-list-card/widget-list-card.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/widget-list-card/widget-list-card.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/widget-list-card/widget-list-card.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/widget-title/widget-title.component.js +0 -70
- package/dist/out-tsc/src/app/core/components/widget-title/widget-title.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/widget-title/widget-title.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/widget-title/widget-title.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/widgets-list/widgets-list.component.js +0 -61
- package/dist/out-tsc/src/app/core/components/widgets-list/widgets-list.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/components/widgets-list/widgets-list.component.spec.js +0 -19
- package/dist/out-tsc/src/app/core/components/widgets-list/widgets-list.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/directives/gesture.directive.js +0 -457
- package/dist/out-tsc/src/app/core/directives/gesture.directive.js.map +0 -1
- package/dist/out-tsc/src/app/core/interceptors/authentication-interceptor.js +0 -43
- package/dist/out-tsc/src/app/core/interceptors/authentication-interceptor.js.map +0 -1
- package/dist/out-tsc/src/app/core/interceptors/authentication-interceptor.spec.js +0 -7
- package/dist/out-tsc/src/app/core/interceptors/authentication-interceptor.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/interfaces/app-interfaces.js +0 -8
- package/dist/out-tsc/src/app/core/interfaces/app-interfaces.js.map +0 -1
- package/dist/out-tsc/src/app/core/interfaces/app-settings.interfaces.js +0 -2
- package/dist/out-tsc/src/app/core/interfaces/app-settings.interfaces.js.map +0 -1
- package/dist/out-tsc/src/app/core/interfaces/dialog-data.js +0 -2
- package/dist/out-tsc/src/app/core/interfaces/dialog-data.js.map +0 -1
- package/dist/out-tsc/src/app/core/interfaces/signalk-autopilot-interfaces.js +0 -11
- package/dist/out-tsc/src/app/core/interfaces/signalk-autopilot-interfaces.js.map +0 -1
- package/dist/out-tsc/src/app/core/interfaces/signalk-interfaces.js +0 -45
- package/dist/out-tsc/src/app/core/interfaces/signalk-interfaces.js.map +0 -1
- package/dist/out-tsc/src/app/core/interfaces/widgets-interface.js +0 -7
- package/dist/out-tsc/src/app/core/interfaces/widgets-interface.js.map +0 -1
- package/dist/out-tsc/src/app/core/pipes/filter-self.pipe.js +0 -24
- package/dist/out-tsc/src/app/core/pipes/filter-self.pipe.js.map +0 -1
- package/dist/out-tsc/src/app/core/pipes/filter-self.pipe.spec.js +0 -8
- package/dist/out-tsc/src/app/core/pipes/filter-self.pipe.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/pipes/object-keys.pipe.js +0 -20
- package/dist/out-tsc/src/app/core/pipes/object-keys.pipe.js.map +0 -1
- package/dist/out-tsc/src/app/core/pipes/object-keys.pipe.spec.js +0 -8
- package/dist/out-tsc/src/app/core/pipes/object-keys.pipe.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/pipes/safe.pipe.js +0 -22
- package/dist/out-tsc/src/app/core/pipes/safe.pipe.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/app-initNetwork.service.js +0 -199
- package/dist/out-tsc/src/app/core/services/app-initNetwork.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/app-initNetwork.service.spec.js +0 -13
- package/dist/out-tsc/src/app/core/services/app-initNetwork.service.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/app-service.js +0 -249
- package/dist/out-tsc/src/app/core/services/app-service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/app-service.spec.js +0 -13
- package/dist/out-tsc/src/app/core/services/app-service.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/app-settings.service.js +0 -566
- package/dist/out-tsc/src/app/core/services/app-settings.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/app-settings.service.spec.js +0 -13
- package/dist/out-tsc/src/app/core/services/app-settings.service.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/authentication.service.js +0 -308
- package/dist/out-tsc/src/app/core/services/authentication.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/authentication.service.spec.js +0 -13
- package/dist/out-tsc/src/app/core/services/authentication.service.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/canvas.service.js +0 -566
- package/dist/out-tsc/src/app/core/services/canvas.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/canvas.service.spec.js +0 -13
- package/dist/out-tsc/src/app/core/services/canvas.service.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/connection-state-machine.service.js +0 -325
- package/dist/out-tsc/src/app/core/services/connection-state-machine.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/dashboard.service.js +0 -273
- package/dist/out-tsc/src/app/core/services/dashboard.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/dashboard.service.spec.js +0 -13
- package/dist/out-tsc/src/app/core/services/dashboard.service.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/data-set.service.js +0 -515
- package/dist/out-tsc/src/app/core/services/data-set.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/data-set.service.spec.js +0 -13
- package/dist/out-tsc/src/app/core/services/data-set.service.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/data.service.js +0 -425
- package/dist/out-tsc/src/app/core/services/data.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/data.service.spec.js +0 -13
- package/dist/out-tsc/src/app/core/services/data.service.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/dialog.service.js +0 -73
- package/dist/out-tsc/src/app/core/services/dialog.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/dialog.service.spec.js +0 -13
- package/dist/out-tsc/src/app/core/services/dialog.service.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/notification-overlay.service.js +0 -106
- package/dist/out-tsc/src/app/core/services/notification-overlay.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/notifications.service.js +0 -322
- package/dist/out-tsc/src/app/core/services/notifications.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/notifications.service.spec.js +0 -10
- package/dist/out-tsc/src/app/core/services/notifications.service.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/remote-dashboards.service.js +0 -125
- package/dist/out-tsc/src/app/core/services/remote-dashboards.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/remote-dashboards.service.spec.js +0 -13
- package/dist/out-tsc/src/app/core/services/remote-dashboards.service.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/signalk-connection.service.js +0 -283
- package/dist/out-tsc/src/app/core/services/signalk-connection.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/signalk-delta.service.js +0 -486
- package/dist/out-tsc/src/app/core/services/signalk-delta.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/signalk-delta.service.spec.js +0 -13
- package/dist/out-tsc/src/app/core/services/signalk-delta.service.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/signalk-plugins.service.js +0 -121
- package/dist/out-tsc/src/app/core/services/signalk-plugins.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/signalk-plugins.service.spec.js +0 -13
- package/dist/out-tsc/src/app/core/services/signalk-plugins.service.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/signalk-requests.service.js +0 -232
- package/dist/out-tsc/src/app/core/services/signalk-requests.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/signalk-requests.service.spec.js +0 -10
- package/dist/out-tsc/src/app/core/services/signalk-requests.service.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/storage.service.js +0 -390
- package/dist/out-tsc/src/app/core/services/storage.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/storage.service.spec.js +0 -13
- package/dist/out-tsc/src/app/core/services/storage.service.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/timers.service.js +0 -107
- package/dist/out-tsc/src/app/core/services/timers.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/timers.service.spec.js +0 -13
- package/dist/out-tsc/src/app/core/services/timers.service.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/uiEvent.service.js +0 -256
- package/dist/out-tsc/src/app/core/services/uiEvent.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/uiEvent.service.spec.js +0 -13
- package/dist/out-tsc/src/app/core/services/uiEvent.service.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/units.service.js +0 -630
- package/dist/out-tsc/src/app/core/services/units.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/widget.service.js +0 -405
- package/dist/out-tsc/src/app/core/services/widget.service.js.map +0 -1
- package/dist/out-tsc/src/app/core/services/widget.service.spec.js +0 -13
- package/dist/out-tsc/src/app/core/services/widget.service.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/utils/app-overlay-container.js +0 -30
- package/dist/out-tsc/src/app/core/utils/app-overlay-container.js.map +0 -1
- package/dist/out-tsc/src/app/core/utils/base-widget.component.js +0 -291
- package/dist/out-tsc/src/app/core/utils/base-widget.component.js.map +0 -1
- package/dist/out-tsc/src/app/core/utils/base-widget.component.spec.js +0 -88
- package/dist/out-tsc/src/app/core/utils/base-widget.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/core/utils/dataScales.util.js +0 -127
- package/dist/out-tsc/src/app/core/utils/dataScales.util.js.map +0 -1
- package/dist/out-tsc/src/app/core/utils/dataTransforms.util.js +0 -138
- package/dist/out-tsc/src/app/core/utils/dataTransforms.util.js.map +0 -1
- package/dist/out-tsc/src/app/core/utils/iframe-inputs-inject.utils.js +0 -55
- package/dist/out-tsc/src/app/core/utils/iframe-inputs-inject.utils.js.map +0 -1
- package/dist/out-tsc/src/app/core/utils/svg-animate.util.js +0 -303
- package/dist/out-tsc/src/app/core/utils/svg-animate.util.js.map +0 -1
- package/dist/out-tsc/src/app/core/utils/themeColors.utils.js +0 -34
- package/dist/out-tsc/src/app/core/utils/themeColors.utils.js.map +0 -1
- package/dist/out-tsc/src/app/core/utils/uuid.util.js +0 -17
- package/dist/out-tsc/src/app/core/utils/uuid.util.js.map +0 -1
- package/dist/out-tsc/src/app/core/utils/zones-highlight.utils.js +0 -87
- package/dist/out-tsc/src/app/core/utils/zones-highlight.utils.js.map +0 -1
- package/dist/out-tsc/src/app/widget-config/boolean-control-config/boolean-control-config.component.js +0 -49
- package/dist/out-tsc/src/app/widget-config/boolean-control-config/boolean-control-config.component.js.map +0 -1
- package/dist/out-tsc/src/app/widget-config/boolean-control-config/boolean-control-config.component.spec.js +0 -19
- package/dist/out-tsc/src/app/widget-config/boolean-control-config/boolean-control-config.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widget-config/boolean-multicontrol-options/boolean-multicontrol-options.component.js +0 -100
- package/dist/out-tsc/src/app/widget-config/boolean-multicontrol-options/boolean-multicontrol-options.component.js.map +0 -1
- package/dist/out-tsc/src/app/widget-config/boolean-multicontrol-options/boolean-multicontrol-options.component.spec.js +0 -19
- package/dist/out-tsc/src/app/widget-config/boolean-multicontrol-options/boolean-multicontrol-options.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widget-config/dataset-chart-options/dataset-chart-options.component.js +0 -54
- package/dist/out-tsc/src/app/widget-config/dataset-chart-options/dataset-chart-options.component.js.map +0 -1
- package/dist/out-tsc/src/app/widget-config/dataset-chart-options/dataset-chart-options.component.spec.js +0 -19
- package/dist/out-tsc/src/app/widget-config/dataset-chart-options/dataset-chart-options.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widget-config/display-chart-options/display-chart-options.component.js +0 -89
- package/dist/out-tsc/src/app/widget-config/display-chart-options/display-chart-options.component.js.map +0 -1
- package/dist/out-tsc/src/app/widget-config/display-chart-options/display-chart-options.component.spec.js +0 -19
- package/dist/out-tsc/src/app/widget-config/display-chart-options/display-chart-options.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widget-config/display-datetime/display-datetime.component.js +0 -1760
- package/dist/out-tsc/src/app/widget-config/display-datetime/display-datetime.component.js.map +0 -1
- package/dist/out-tsc/src/app/widget-config/display-datetime/display-datetime.component.spec.js +0 -19
- package/dist/out-tsc/src/app/widget-config/display-datetime/display-datetime.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widget-config/modal-widget-config/modal-widget-config.component.js +0 -327
- package/dist/out-tsc/src/app/widget-config/modal-widget-config/modal-widget-config.component.js.map +0 -1
- package/dist/out-tsc/src/app/widget-config/modal-widget-config/modal-widget-config.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widget-config/modal-widget-config/modal-widget-config.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widget-config/path-control-config/path-control-config.component.js +0 -268
- package/dist/out-tsc/src/app/widget-config/path-control-config/path-control-config.component.js.map +0 -1
- package/dist/out-tsc/src/app/widget-config/path-control-config/path-control-config.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widget-config/path-control-config/path-control-config.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widget-config/paths-options/paths-options.component.js +0 -81
- package/dist/out-tsc/src/app/widget-config/paths-options/paths-options.component.js.map +0 -1
- package/dist/out-tsc/src/app/widget-config/paths-options/paths-options.component.spec.js +0 -19
- package/dist/out-tsc/src/app/widget-config/paths-options/paths-options.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widget-config/select-autopilot/select-autopilot.component.js +0 -266
- package/dist/out-tsc/src/app/widget-config/select-autopilot/select-autopilot.component.js.map +0 -1
- package/dist/out-tsc/src/app/widget-config/select-autopilot/select-autopilot.component.spec.js +0 -19
- package/dist/out-tsc/src/app/widget-config/select-autopilot/select-autopilot.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/gauge-steel/gauge-steel.component.js +0 -309
- package/dist/out-tsc/src/app/widgets/gauge-steel/gauge-steel.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/gauge-steel/gauge-steel.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/gauge-steel/gauge-steel.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/minichart/minichart.component.js +0 -512
- package/dist/out-tsc/src/app/widgets/minichart/minichart.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/minichart/minichart.component.spec.js +0 -19
- package/dist/out-tsc/src/app/widgets/minichart/minichart.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/svg-autopilot/svg-autopilot.component.js +0 -227
- package/dist/out-tsc/src/app/widgets/svg-autopilot/svg-autopilot.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/svg-autopilot/svg-autopilot.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/svg-autopilot/svg-autopilot.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/svg-boolean-button/svg-boolean-button.component.js +0 -163
- package/dist/out-tsc/src/app/widgets/svg-boolean-button/svg-boolean-button.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/svg-boolean-button/svg-boolean-button.component.spec.js +0 -19
- package/dist/out-tsc/src/app/widgets/svg-boolean-button/svg-boolean-button.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/svg-boolean-light/svg-boolean-light.component.js +0 -97
- package/dist/out-tsc/src/app/widgets/svg-boolean-light/svg-boolean-light.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/svg-boolean-light/svg-boolean-light.component.spec.js +0 -19
- package/dist/out-tsc/src/app/widgets/svg-boolean-light/svg-boolean-light.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/svg-boolean-switch/svg-boolean-switch.component.js +0 -122
- package/dist/out-tsc/src/app/widgets/svg-boolean-switch/svg-boolean-switch.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/svg-boolean-switch/svg-boolean-switch.component.spec.js +0 -19
- package/dist/out-tsc/src/app/widgets/svg-boolean-switch/svg-boolean-switch.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/svg-racesteer/svg-racesteer.component.js +0 -389
- package/dist/out-tsc/src/app/widgets/svg-racesteer/svg-racesteer.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/svg-racesteer/svg-racesteer.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/svg-racesteer/svg-racesteer.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/svg-simple-linear-gauge/svg-simple-linear-gauge.component.js +0 -76
- package/dist/out-tsc/src/app/widgets/svg-simple-linear-gauge/svg-simple-linear-gauge.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/svg-simple-linear-gauge/svg-simple-linear-gauge.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/svg-simple-linear-gauge/svg-simple-linear-gauge.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/svg-windsteer/svg-windsteer.component.js +0 -429
- package/dist/out-tsc/src/app/widgets/svg-windsteer/svg-windsteer.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/svg-windsteer/svg-windsteer.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/svg-windsteer/svg-windsteer.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-autopilot/widget-autopilot.component.js +0 -1128
- package/dist/out-tsc/src/app/widgets/widget-autopilot/widget-autopilot.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-autopilot/widget-autopilot.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/widget-autopilot/widget-autopilot.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-boolean-switch/widget-boolean-switch.component.js +0 -140
- package/dist/out-tsc/src/app/widgets/widget-boolean-switch/widget-boolean-switch.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-boolean-switch/widget-boolean-switch.component.spec.js +0 -19
- package/dist/out-tsc/src/app/widgets/widget-boolean-switch/widget-boolean-switch.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-data-chart/widget-data-chart.component.js +0 -678
- package/dist/out-tsc/src/app/widgets/widget-data-chart/widget-data-chart.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-data-chart/widget-data-chart.component.spec.js +0 -19
- package/dist/out-tsc/src/app/widgets/widget-data-chart/widget-data-chart.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-datetime/widget-datetime.component.js +0 -177
- package/dist/out-tsc/src/app/widgets/widget-datetime/widget-datetime.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-datetime/widget-datetime.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/widget-datetime/widget-datetime.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-freeboardsk/widget-freeboardsk.component.js +0 -146
- package/dist/out-tsc/src/app/widgets/widget-freeboardsk/widget-freeboardsk.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-freeboardsk/widget-freeboardsk.component.spec.js +0 -19
- package/dist/out-tsc/src/app/widgets/widget-freeboardsk/widget-freeboardsk.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-compass/widget-gauge-ng-compass.component.js +0 -301
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-compass/widget-gauge-ng-compass.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-compass/widget-gauge-ng-compass.component.spec.js +0 -19
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-compass/widget-gauge-ng-compass.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-linear/widget-gauge-ng-linear.component.js +0 -413
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-linear/widget-gauge-ng-linear.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-linear/widget-gauge-ng-linear.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-linear/widget-gauge-ng-linear.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-radial/widget-gauge-ng-radial.component.js +0 -360
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-radial/widget-gauge-ng-radial.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-radial/widget-gauge-ng-radial.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-radial/widget-gauge-ng-radial.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-gauge-steel/widget-gauge-steel.component.js +0 -119
- package/dist/out-tsc/src/app/widgets/widget-gauge-steel/widget-gauge-steel.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-gauge-steel/widget-gauge-steel.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/widget-gauge-steel/widget-gauge-steel.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-heel-gauge/widget-heel-gauge.component.js +0 -205
- package/dist/out-tsc/src/app/widgets/widget-heel-gauge/widget-heel-gauge.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-heel-gauge/widget-heel-gauge.component.spec.js +0 -15
- package/dist/out-tsc/src/app/widgets/widget-heel-gauge/widget-heel-gauge.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-horizon/widget-horizon.component.js +0 -196
- package/dist/out-tsc/src/app/widgets/widget-horizon/widget-horizon.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-horizon/widget-horizon.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/widget-horizon/widget-horizon.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-iframe/widget-iframe.component.js +0 -173
- package/dist/out-tsc/src/app/widgets/widget-iframe/widget-iframe.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-iframe/widget-iframe.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/widget-iframe/widget-iframe.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-label/widget-label.component.js +0 -128
- package/dist/out-tsc/src/app/widgets/widget-label/widget-label.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-label/widget-label.component.spec.js +0 -19
- package/dist/out-tsc/src/app/widgets/widget-label/widget-label.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-login/login.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/widget-login/login.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-login/widget-login.component.js +0 -78
- package/dist/out-tsc/src/app/widgets/widget-login/widget-login.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-numeric/widget-numeric.component.js +0 -303
- package/dist/out-tsc/src/app/widgets/widget-numeric/widget-numeric.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-numeric/widget-numeric.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/widget-numeric/widget-numeric.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-position/widget-position.component.js +0 -177
- package/dist/out-tsc/src/app/widgets/widget-position/widget-position.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-position/widget-position.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/widget-position/widget-position.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-race-timer/widget-race-timer.component.js +0 -275
- package/dist/out-tsc/src/app/widgets/widget-race-timer/widget-race-timer.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-race-timer/widget-race-timer.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/widget-race-timer/widget-race-timer.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-racer-line/widget-racer-line.component.js +0 -319
- package/dist/out-tsc/src/app/widgets/widget-racer-line/widget-racer-line.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-racer-line/widget-racer-line.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/widget-racer-line/widget-racer-line.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-racer-timer/widget-racer-timer.component.js +0 -365
- package/dist/out-tsc/src/app/widgets/widget-racer-timer/widget-racer-timer.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-racer-timer/widget-racer-timer.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/widget-racer-timer/widget-racer-timer.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-racesteer/widget-racesteer.component.js +0 -321
- package/dist/out-tsc/src/app/widgets/widget-racesteer/widget-racesteer.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-racesteer/widget-racesteer.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/widget-racesteer/widget-racesteer.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-simple-linear/widget-simple-linear.component.js +0 -189
- package/dist/out-tsc/src/app/widgets/widget-simple-linear/widget-simple-linear.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-simple-linear/widget-simple-linear.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/widget-simple-linear/widget-simple-linear.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-slider/widget-slider.component.js +0 -248
- package/dist/out-tsc/src/app/widgets/widget-slider/widget-slider.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-slider/widget-slider.component.spec.js +0 -19
- package/dist/out-tsc/src/app/widgets/widget-slider/widget-slider.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-text/widget-text.component.js +0 -138
- package/dist/out-tsc/src/app/widgets/widget-text/widget-text.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-text/widget-text.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/widget-text/widget-text.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-tutorial/widget-tutorial.component.js +0 -43
- package/dist/out-tsc/src/app/widgets/widget-tutorial/widget-tutorial.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-tutorial/widget-tutorial.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/widget-tutorial/widget-tutorial.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-windsteer/widget-windsteer.component.js +0 -483
- package/dist/out-tsc/src/app/widgets/widget-windsteer/widget-windsteer.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-windsteer/widget-windsteer.component.spec.js +0 -21
- package/dist/out-tsc/src/app/widgets/widget-windsteer/widget-windsteer.component.spec.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-windtrends-chart/widget-windtrends-chart.component.js +0 -1067
- package/dist/out-tsc/src/app/widgets/widget-windtrends-chart/widget-windtrends-chart.component.js.map +0 -1
- package/dist/out-tsc/src/app/widgets/widget-windtrends-chart/widget-windtrends-chart.component.spec.js +0 -19
- package/dist/out-tsc/src/app/widgets/widget-windtrends-chart/widget-windtrends-chart.component.spec.js.map +0 -1
- package/dist/out-tsc/src/default-config/config.blank.const.js +0 -35
- package/dist/out-tsc/src/default-config/config.blank.const.js.map +0 -1
- package/dist/out-tsc/src/default-config/config.blank.notification.const.js +0 -22
- package/dist/out-tsc/src/default-config/config.blank.notification.const.js.map +0 -1
- package/dist/out-tsc/src/default-config/config.blank.units.const.js +0 -24
- package/dist/out-tsc/src/default-config/config.blank.units.const.js.map +0 -1
- package/dist/out-tsc/src/default-config/config.demo.const.js +0 -739
- package/dist/out-tsc/src/default-config/config.demo.const.js.map +0 -1
- package/dist/out-tsc/src/environments/environment.js +0 -8
- package/dist/out-tsc/src/environments/environment.js.map +0 -1
- package/dist/out-tsc/src/environments/environment.prod.js +0 -4
- package/dist/out-tsc/src/environments/environment.prod.js.map +0 -1
- package/dist/out-tsc/src/main.js +0 -111
- package/dist/out-tsc/src/main.js.map +0 -1
- package/dist/out-tsc/src/polyfills.js +0 -67
- package/dist/out-tsc/src/polyfills.js.map +0 -1
- package/dist/out-tsc/src/test-setup.js +0 -1
- package/dist/out-tsc/src/test-setup.js.map +0 -1
- package/dist/out-tsc/src/test-shims/steelseries-shim.js +0 -44
- package/dist/out-tsc/src/test-shims/steelseries-shim.js.map +0 -1
- package/dist/out-tsc/src/test.js +0 -84
- package/dist/out-tsc/src/test.js.map +0 -1
- package/public/chunk-2QCDSHYY.js +0 -2
- package/public/chunk-7UI7K4WB.js +0 -52
- package/public/chunk-ADTF2732.js +0 -1
- package/public/chunk-BRLXMYKY.js +0 -3
- package/public/chunk-CWBDCB4U.js +0 -5
- package/public/chunk-F5X5MWHG.js +0 -0
- package/public/chunk-GYERRI2M.js +0 -1
- package/public/chunk-GZCIAVS6.js +0 -2
- package/public/chunk-JEFO22J2.js +0 -9
- package/public/chunk-JPSGB24W.js +0 -3
- package/public/chunk-JWT2WFAW.js +0 -2
- package/public/chunk-KITN4REV.js +0 -8
- package/public/chunk-KNBOI7TL.js +0 -6
- package/public/chunk-L4NM3HUK.js +0 -64
- package/public/chunk-LKUCWQH6.js +0 -1
- package/public/chunk-MHCWCMEF.js +0 -4
- package/public/chunk-PR5JLJLD.js +0 -15
- package/public/chunk-QL3G7CWF.js +0 -1
- package/public/chunk-RIZZU7FJ.js +0 -1
- package/public/chunk-TKCKTVDR.js +0 -4
- package/public/chunk-W4VRE5PG.js +0 -2
- package/public/chunk-Z6B2WXN3.js +0 -1
- package/public/main-PRDRZK7G.js +0 -5
- package/public/polyfills-C5VXBGWL.js +0 -2
|
@@ -1,325 +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 { Injectable } from '@angular/core';
|
|
11
|
-
import { BehaviorSubject } from 'rxjs';
|
|
12
|
-
/**
|
|
13
|
-
* Connection state enumeration
|
|
14
|
-
*/
|
|
15
|
-
export var ConnectionState;
|
|
16
|
-
(function (ConnectionState) {
|
|
17
|
-
ConnectionState["Disconnected"] = "Disconnected";
|
|
18
|
-
ConnectionState["HTTPDiscovering"] = "HTTPDiscovering";
|
|
19
|
-
ConnectionState["HTTPConnected"] = "HTTPConnected";
|
|
20
|
-
ConnectionState["HTTPError"] = "HTTPError";
|
|
21
|
-
ConnectionState["HTTPRetrying"] = "HTTPRetrying";
|
|
22
|
-
ConnectionState["WebSocketConnecting"] = "WebSocketConnecting";
|
|
23
|
-
ConnectionState["Connected"] = "Connected";
|
|
24
|
-
ConnectionState["WebSocketError"] = "WebSocketError";
|
|
25
|
-
ConnectionState["WebSocketRetrying"] = "WebSocketRetrying";
|
|
26
|
-
ConnectionState["PermanentFailure"] = "PermanentFailure";
|
|
27
|
-
})(ConnectionState || (ConnectionState = {}));
|
|
28
|
-
let ConnectionStateMachine = class ConnectionStateMachine {
|
|
29
|
-
config = {
|
|
30
|
-
httpRetryCount: 3,
|
|
31
|
-
webSocketRetryCount: 5,
|
|
32
|
-
retryIntervals: [2000, 3000, 5000], // Exponential backoff: 2s, 3s, 5s
|
|
33
|
-
notificationDebounceMs: 0
|
|
34
|
-
};
|
|
35
|
-
// State management
|
|
36
|
-
_currentState$ = new BehaviorSubject(ConnectionState.Disconnected);
|
|
37
|
-
_status$ = new BehaviorSubject(this.createStatus(ConnectionState.Disconnected, 'Not connected'));
|
|
38
|
-
// Retry tracking
|
|
39
|
-
_httpRetryCount = 0;
|
|
40
|
-
_webSocketRetryCount = 0;
|
|
41
|
-
_retryTimeout = null;
|
|
42
|
-
_notificationTimeout = null;
|
|
43
|
-
// Retry callback for HTTP requests
|
|
44
|
-
_httpRetryCallback = null;
|
|
45
|
-
// Retry callback for WebSocket requests
|
|
46
|
-
_webSocketRetryCallback = null;
|
|
47
|
-
// Mode tracking for APP_INITIALIZER compatibility
|
|
48
|
-
_isInitializationMode = true;
|
|
49
|
-
constructor() {
|
|
50
|
-
console.log('[ConnectionStateMachine] Service initialized');
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Get current connection state as observable
|
|
54
|
-
*/
|
|
55
|
-
get state$() {
|
|
56
|
-
return this._currentState$.asObservable();
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Get current connection status as observable (for notifications)
|
|
60
|
-
*/
|
|
61
|
-
get status$() {
|
|
62
|
-
return this._status$.asObservable();
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Get current state value
|
|
66
|
-
*/
|
|
67
|
-
get currentState() {
|
|
68
|
-
return this._currentState$.getValue();
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Enable full functionality after APP_INITIALIZER completes
|
|
72
|
-
*/
|
|
73
|
-
enableWebSocketMode() {
|
|
74
|
-
this._isInitializationMode = false;
|
|
75
|
-
console.log('[ConnectionStateMachine] WebSocket mode enabled');
|
|
76
|
-
// Ensure current status is emitted for components that start after initialization
|
|
77
|
-
const currentStatus = this._status$.getValue();
|
|
78
|
-
console.log(`[ConnectionStateMachine] Current status when enabling WebSocket mode: ${currentStatus.state} - ${currentStatus.message}`);
|
|
79
|
-
this._status$.next(currentStatus);
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Set the HTTP retry callback function
|
|
83
|
-
*/
|
|
84
|
-
setHTTPRetryCallback(callback) {
|
|
85
|
-
this._httpRetryCallback = callback;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Set the WebSocket retry callback function
|
|
89
|
-
*/
|
|
90
|
-
setWebSocketRetryCallback(callback) {
|
|
91
|
-
this._webSocketRetryCallback = callback;
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* Start HTTP discovery process
|
|
95
|
-
*/
|
|
96
|
-
startHTTPDiscovery(reason = 'Connection request') {
|
|
97
|
-
console.log(`[ConnectionStateMachine] Starting HTTP discovery: ${reason}`);
|
|
98
|
-
this._httpRetryCount = 0;
|
|
99
|
-
this.setState(ConnectionState.HTTPDiscovering, 'Discovering Signal K server...');
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* HTTP discovery succeeded
|
|
103
|
-
*/
|
|
104
|
-
onHTTPDiscoverySuccess() {
|
|
105
|
-
console.log('[ConnectionStateMachine] HTTP discovery successful');
|
|
106
|
-
this._httpRetryCount = 0;
|
|
107
|
-
this.setState(ConnectionState.HTTPConnected, 'Signal K server discovered');
|
|
108
|
-
// Only proceed to WebSocket if not in initialization mode
|
|
109
|
-
if (!this._isInitializationMode) {
|
|
110
|
-
this.startWebSocketConnection();
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* HTTP discovery failed
|
|
115
|
-
*/
|
|
116
|
-
onHTTPDiscoveryError(error) {
|
|
117
|
-
console.log(`[ConnectionStateMachine] HTTP discovery failed: ${error}`);
|
|
118
|
-
if (this._httpRetryCount < this.config.httpRetryCount) {
|
|
119
|
-
this._httpRetryCount++;
|
|
120
|
-
this.setState(ConnectionState.HTTPRetrying, `HTTP connection failed. Retrying (${this._httpRetryCount}/${this.config.httpRetryCount})...`, this._httpRetryCount, this.config.httpRetryCount);
|
|
121
|
-
this.scheduleHTTPRetry();
|
|
122
|
-
}
|
|
123
|
-
else {
|
|
124
|
-
this.setState(ConnectionState.PermanentFailure, `HTTP connection failed after ${this.config.httpRetryCount} attempts. Check server URL.`, this.config.httpRetryCount, this.config.httpRetryCount);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Start WebSocket connection (only called after HTTP success and not in init mode)
|
|
129
|
-
*/
|
|
130
|
-
startWebSocketConnection() {
|
|
131
|
-
// Allow WebSocket start if HTTP is connected or we're already in WebSocket retry mode
|
|
132
|
-
const canStartWebSocket = this.currentState === ConnectionState.HTTPConnected ||
|
|
133
|
-
this.currentState === ConnectionState.WebSocketRetrying ||
|
|
134
|
-
this.currentState === ConnectionState.WebSocketConnecting ||
|
|
135
|
-
this.currentState === ConnectionState.Connected;
|
|
136
|
-
if (!canStartWebSocket) {
|
|
137
|
-
// If we're still discovering HTTP, this is expected
|
|
138
|
-
if (this.currentState === ConnectionState.HTTPDiscovering) {
|
|
139
|
-
return;
|
|
140
|
-
}
|
|
141
|
-
// For other states, this might be unexpected
|
|
142
|
-
return;
|
|
143
|
-
}
|
|
144
|
-
console.log('[ConnectionStateMachine] Starting WebSocket connection');
|
|
145
|
-
this._webSocketRetryCount = 0;
|
|
146
|
-
this.setState(ConnectionState.WebSocketConnecting, 'Connecting to Signal K Websocket...');
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* WebSocket connection succeeded
|
|
150
|
-
*/
|
|
151
|
-
onWebSocketConnected() {
|
|
152
|
-
console.log('[ConnectionStateMachine] WebSocket connected');
|
|
153
|
-
this._webSocketRetryCount = 0;
|
|
154
|
-
this.setState(ConnectionState.Connected, 'Connected to Signal K server');
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* WebSocket connection failed
|
|
158
|
-
*/
|
|
159
|
-
onWebSocketError(error) {
|
|
160
|
-
console.log(`[ConnectionStateMachine] WebSocket error: ${error}`);
|
|
161
|
-
// Check if HTTP is still connected
|
|
162
|
-
if (this.currentState !== ConnectionState.HTTPConnected &&
|
|
163
|
-
this.currentState !== ConnectionState.WebSocketConnecting &&
|
|
164
|
-
this.currentState !== ConnectionState.Connected &&
|
|
165
|
-
this.currentState !== ConnectionState.WebSocketRetrying) {
|
|
166
|
-
console.log('[ConnectionStateMachine] HTTP connection lost, restarting HTTP discovery');
|
|
167
|
-
this.startHTTPDiscovery('HTTP connection lost during WebSocket operation');
|
|
168
|
-
return;
|
|
169
|
-
}
|
|
170
|
-
this._webSocketRetryCount++;
|
|
171
|
-
this.setState(ConnectionState.WebSocketRetrying, `WebSocket connection failed. Retry attempt ${this._webSocketRetryCount}...`, this._webSocketRetryCount, this.config.webSocketRetryCount);
|
|
172
|
-
this.scheduleWebSocketRetry();
|
|
173
|
-
}
|
|
174
|
-
/**
|
|
175
|
-
* Gracefully shutdown all connections before app restart
|
|
176
|
-
*/
|
|
177
|
-
shutdown(reason = 'App shutdown') {
|
|
178
|
-
console.log(`[ConnectionStateMachine] Shutting down all connections: ${reason}`);
|
|
179
|
-
this.clearRetryTimer();
|
|
180
|
-
this.clearNotificationTimeout();
|
|
181
|
-
this._httpRetryCount = 0;
|
|
182
|
-
this._webSocketRetryCount = 0;
|
|
183
|
-
// Set to disconnected state to trigger cleanup in dependent services
|
|
184
|
-
this.setState(ConnectionState.Disconnected, 'Application restarting...');
|
|
185
|
-
}
|
|
186
|
-
/**
|
|
187
|
-
* Check if HTTP discovery is complete and successful
|
|
188
|
-
*/
|
|
189
|
-
isHTTPConnected() {
|
|
190
|
-
return this.currentState === ConnectionState.HTTPConnected ||
|
|
191
|
-
this.currentState === ConnectionState.WebSocketConnecting ||
|
|
192
|
-
this.currentState === ConnectionState.Connected ||
|
|
193
|
-
this.currentState === ConnectionState.WebSocketRetrying;
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* Check if fully connected (WebSocket active)
|
|
197
|
-
*/
|
|
198
|
-
isFullyConnected() {
|
|
199
|
-
return this.currentState === ConnectionState.Connected;
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* Check if currently connected (HTTP or WebSocket)
|
|
203
|
-
*/
|
|
204
|
-
setState(state, message, retryCount, maxRetries) {
|
|
205
|
-
this._currentState$.next(state);
|
|
206
|
-
const status = this.createStatus(state, message, retryCount, maxRetries);
|
|
207
|
-
// Handle notification timing
|
|
208
|
-
if (state === ConnectionState.HTTPDiscovering || state === ConnectionState.WebSocketConnecting) {
|
|
209
|
-
// Show connecting immediately
|
|
210
|
-
this._status$.next(status);
|
|
211
|
-
}
|
|
212
|
-
else if (state === ConnectionState.Connected) {
|
|
213
|
-
// Debounce connected status for stability
|
|
214
|
-
this.clearNotificationTimeout();
|
|
215
|
-
this._notificationTimeout = setTimeout(() => {
|
|
216
|
-
this._status$.next(status);
|
|
217
|
-
}, this.config.notificationDebounceMs);
|
|
218
|
-
}
|
|
219
|
-
else {
|
|
220
|
-
// Show other states immediately
|
|
221
|
-
this.clearNotificationTimeout();
|
|
222
|
-
this._status$.next(status);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
createStatus(state, message, retryCount, maxRetries) {
|
|
226
|
-
return {
|
|
227
|
-
state,
|
|
228
|
-
operation: this.stateToOperationCode(state),
|
|
229
|
-
message,
|
|
230
|
-
retryCount: retryCount || 0,
|
|
231
|
-
maxRetries: maxRetries || 0,
|
|
232
|
-
timestamp: new Date()
|
|
233
|
-
};
|
|
234
|
-
}
|
|
235
|
-
stateToOperationCode(state) {
|
|
236
|
-
switch (state) {
|
|
237
|
-
case ConnectionState.Disconnected:
|
|
238
|
-
return 0;
|
|
239
|
-
case ConnectionState.HTTPDiscovering:
|
|
240
|
-
case ConnectionState.WebSocketConnecting:
|
|
241
|
-
return 1; // Connecting
|
|
242
|
-
case ConnectionState.Connected:
|
|
243
|
-
return 2; // Connected
|
|
244
|
-
case ConnectionState.HTTPError:
|
|
245
|
-
case ConnectionState.WebSocketError:
|
|
246
|
-
case ConnectionState.HTTPRetrying:
|
|
247
|
-
case ConnectionState.WebSocketRetrying:
|
|
248
|
-
return 3; // Error/Retrying
|
|
249
|
-
case ConnectionState.HTTPConnected:
|
|
250
|
-
return 2; // Connected (HTTP level)
|
|
251
|
-
case ConnectionState.PermanentFailure:
|
|
252
|
-
return 5; // Permanent failure
|
|
253
|
-
default:
|
|
254
|
-
return 0;
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
scheduleHTTPRetry() {
|
|
258
|
-
this.clearRetryTimer();
|
|
259
|
-
const retryIndex = Math.min(this._httpRetryCount - 1, this.config.retryIntervals.length - 1);
|
|
260
|
-
const delay = this.config.retryIntervals[retryIndex];
|
|
261
|
-
console.log(`[ConnectionStateMachine] Scheduling HTTP retry in ${delay}ms`);
|
|
262
|
-
this._retryTimeout = setTimeout(() => {
|
|
263
|
-
// Trigger the actual HTTP request via callback
|
|
264
|
-
// Don't change state here - let the HTTP result determine the new state
|
|
265
|
-
if (this._httpRetryCallback) {
|
|
266
|
-
console.log(`[ConnectionStateMachine] Executing HTTP retry ${this._httpRetryCount}/${this.config.httpRetryCount}`);
|
|
267
|
-
this._httpRetryCallback();
|
|
268
|
-
}
|
|
269
|
-
else {
|
|
270
|
-
console.error('[ConnectionStateMachine] No HTTP retry callback set!');
|
|
271
|
-
this.setState(ConnectionState.Disconnected, 'HTTP retry callback not configured');
|
|
272
|
-
}
|
|
273
|
-
}, delay);
|
|
274
|
-
}
|
|
275
|
-
scheduleWebSocketRetry() {
|
|
276
|
-
this.clearRetryTimer();
|
|
277
|
-
console.log(`[ConnectionStateMachine] Scheduling WebSocket retry in ${this.config.retryIntervals[1]}ms`);
|
|
278
|
-
this._retryTimeout = setTimeout(() => {
|
|
279
|
-
// Trigger WebSocket reconnection attempt via callback
|
|
280
|
-
// Don't change state here - let the WebSocket result determine the new state
|
|
281
|
-
if (this._webSocketRetryCallback) {
|
|
282
|
-
console.log(`[ConnectionStateMachine] Executing WebSocket retry ${this._webSocketRetryCount}/${this.config.webSocketRetryCount}`);
|
|
283
|
-
this._webSocketRetryCallback();
|
|
284
|
-
}
|
|
285
|
-
else {
|
|
286
|
-
// Fallback to the old behavior if no callback is set
|
|
287
|
-
console.log(`[ConnectionStateMachine] No WebSocket retry callback - using state change method`);
|
|
288
|
-
this.setState(ConnectionState.WebSocketConnecting, `Retrying WebSocket connection (${this._webSocketRetryCount}/${this.config.webSocketRetryCount})...`, this._webSocketRetryCount, this.config.webSocketRetryCount);
|
|
289
|
-
}
|
|
290
|
-
}, this.config.retryIntervals[1]);
|
|
291
|
-
}
|
|
292
|
-
clearRetryTimer() {
|
|
293
|
-
if (this._retryTimeout) {
|
|
294
|
-
clearTimeout(this._retryTimeout);
|
|
295
|
-
this._retryTimeout = null;
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
clearNotificationTimeout() {
|
|
299
|
-
if (this._notificationTimeout) {
|
|
300
|
-
clearTimeout(this._notificationTimeout);
|
|
301
|
-
this._notificationTimeout = null;
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
/**
|
|
305
|
-
* Ensure any scheduled retries / notifications are cancelled when the injector
|
|
306
|
-
* disposes this service (e.g. app shutdown / HMR replacement) to avoid stray
|
|
307
|
-
* callbacks retaining references.
|
|
308
|
-
*/
|
|
309
|
-
ngOnDestroy() {
|
|
310
|
-
this.clearRetryTimer();
|
|
311
|
-
this.clearNotificationTimeout();
|
|
312
|
-
this._httpRetryCallback = null;
|
|
313
|
-
this._webSocketRetryCallback = null;
|
|
314
|
-
this._currentState$?.complete();
|
|
315
|
-
this._status$?.complete();
|
|
316
|
-
}
|
|
317
|
-
};
|
|
318
|
-
ConnectionStateMachine = __decorate([
|
|
319
|
-
Injectable({
|
|
320
|
-
providedIn: 'root'
|
|
321
|
-
}),
|
|
322
|
-
__metadata("design:paramtypes", [])
|
|
323
|
-
], ConnectionStateMachine);
|
|
324
|
-
export { ConnectionStateMachine };
|
|
325
|
-
//# sourceMappingURL=connection-state-machine.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connection-state-machine.service.js","sourceRoot":"","sources":["../../../../../../src/app/core/services/connection-state-machine.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,eAAe,EAAc,MAAM,MAAM,CAAC;AAEnD;;GAEG;AACH,MAAM,CAAN,IAAY,eAWX;AAXD,WAAY,eAAe;IACzB,gDAA6B,CAAA;IAC7B,sDAAmC,CAAA;IACnC,kDAA+B,CAAA;IAC/B,0CAAuB,CAAA;IACvB,gDAA6B,CAAA;IAC7B,8DAA2C,CAAA;IAC3C,0CAAuB,CAAA;IACvB,oDAAiC,CAAA;IACjC,0DAAuC,CAAA;IACvC,wDAAqC,CAAA;AACvC,CAAC,EAXW,eAAe,KAAf,eAAe,QAW1B;AA2BM,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAChB,MAAM,GAAsB;QAC3C,cAAc,EAAE,CAAC;QACjB,mBAAmB,EAAE,CAAC;QACtB,cAAc,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,kCAAkC;QACtE,sBAAsB,EAAE,CAAC;KAC1B,CAAC;IAEF,mBAAmB;IACX,cAAc,GAAG,I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BAAwB;QAC9B,IAAI,IAAI,CAAC,oBAAoB,EAAE,CAAC;YAC9B,YAAY,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;YACxC,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACnC,CAAC;IACH,CAAC;IAED;;;;OAIG;IACH,WAAW;QACT,IAAI,CAAC,eAAe,EAAE,CAAC;QACvB,IAAI,CAAC,wBAAwB,EAAE,CAAC;QAChC,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC;QAC/B,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC;QACpC,IAAI,CAAC,cAAc,EAAE,QAAQ,EAAE,CAAC;QAChC,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,CAAC;IAC5B,CAAC;CACF,CAAA;AAzVY,sBAAsB;IAHlC,UAAU,CAAC;QACV,UAAU,EAAE,MAAM;KACnB,CAAC;;GACW,sBAAsB,CAyVlC"}
|
|
@@ -1,273 +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 { AppSettingsService } from './app-settings.service';
|
|
11
|
-
import { effect, inject, Injectable, signal } from '@angular/core';
|
|
12
|
-
import { Router } from '@angular/router';
|
|
13
|
-
import isEqual from 'lodash-es/isEqual';
|
|
14
|
-
import cloneDeep from 'lodash-es/cloneDeep';
|
|
15
|
-
import { UUID } from '../utils/uuid.util';
|
|
16
|
-
import { BehaviorSubject } from 'rxjs';
|
|
17
|
-
import { toSignal } from '@angular/core/rxjs-interop';
|
|
18
|
-
let DashboardService = class DashboardService {
|
|
19
|
-
_settings = inject(AppSettingsService);
|
|
20
|
-
_router = inject(Router);
|
|
21
|
-
dashboards = signal([], { equal: isEqual });
|
|
22
|
-
activeDashboard = signal(0);
|
|
23
|
-
_widgetAction = new BehaviorSubject(null);
|
|
24
|
-
widgetAction$ = this._widgetAction.asObservable();
|
|
25
|
-
_isDashboardStatic = new BehaviorSubject(true);
|
|
26
|
-
isDashboardStatic$ = this._isDashboardStatic.asObservable();
|
|
27
|
-
isDashboardStatic = toSignal(this.isDashboardStatic$);
|
|
28
|
-
blankDashboard = [{ id: null, name: 'Dashboard 1', icon: 'dashboard-dashboard', configuration: [
|
|
29
|
-
{
|
|
30
|
-
"w": 12,
|
|
31
|
-
"h": 12,
|
|
32
|
-
"id": "d1d58e6f-f8b4-4a72-9597-7f92aa6776fc",
|
|
33
|
-
"selector": "widget-tutorial",
|
|
34
|
-
"input": {
|
|
35
|
-
"widgetProperties": {
|
|
36
|
-
"type": "widget-tutorial",
|
|
37
|
-
"uuid": "d1d58e6f-f8b4-4a72-9597-7f92aa6776fc"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"x": 0,
|
|
41
|
-
"y": 0
|
|
42
|
-
}
|
|
43
|
-
] }];
|
|
44
|
-
constructor() {
|
|
45
|
-
const dashboards = this._settings.getDashboardConfig();
|
|
46
|
-
if (!dashboards || dashboards.length === 0) {
|
|
47
|
-
console.warn('[Dashboard Service] No dashboards found in settings, creating blank dashboard');
|
|
48
|
-
const newBlankDashboard = this.blankDashboard.map(dashboard => ({
|
|
49
|
-
...dashboard,
|
|
50
|
-
id: UUID.create()
|
|
51
|
-
}));
|
|
52
|
-
this.dashboards.set([...newBlankDashboard]);
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
this.dashboards.set(this._settings.getDashboardConfig());
|
|
56
|
-
}
|
|
57
|
-
effect(() => {
|
|
58
|
-
this._settings.saveDashboards(this.dashboards());
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Toggles the static/fixed state of the dashboard layout.
|
|
63
|
-
*/
|
|
64
|
-
toggleStaticDashboard() {
|
|
65
|
-
this._isDashboardStatic.next(!this._isDashboardStatic.value);
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Adds a new dashboard with the given name, widget configuration, and optional icon.
|
|
69
|
-
* @param name The name of the new dashboard.
|
|
70
|
-
* @param configuration The widget configuration array.
|
|
71
|
-
* @param icon The optional icon for the dashboard.
|
|
72
|
-
*/
|
|
73
|
-
add(name, configuration, icon) {
|
|
74
|
-
this.dashboards.update(dashboards => [...dashboards, { id: UUID.create(), name: name, icon: icon, configuration: configuration }]);
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Updates the name and icon of a dashboard at the specified index.
|
|
78
|
-
* @param itemIndex The index of the dashboard to update.
|
|
79
|
-
* @param name The new name for the dashboard.
|
|
80
|
-
* @param icon The new icon for the dashboard (defaults to "dashboard").
|
|
81
|
-
*/
|
|
82
|
-
update(itemIndex, name, icon) {
|
|
83
|
-
this.dashboards.update(dashboards => dashboards.map((dashboard, i) => i === itemIndex ? { ...dashboard, name: name, icon: icon } : dashboard));
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Deletes the dashboard at the specified index.
|
|
87
|
-
* If no dashboards remain, creates a new blank dashboard.
|
|
88
|
-
* @param itemIndex The index of the dashboard to delete.
|
|
89
|
-
*/
|
|
90
|
-
delete(itemIndex) {
|
|
91
|
-
this.dashboards.update(dashboards => dashboards.filter((_, i) => i !== itemIndex));
|
|
92
|
-
if (this.dashboards().length === 0) {
|
|
93
|
-
this.add('Dashboard ' + (this.dashboards().length + 1), []);
|
|
94
|
-
this.activeDashboard.set(0);
|
|
95
|
-
}
|
|
96
|
-
else if (this.activeDashboard() > this.dashboards().length - 1) {
|
|
97
|
-
this.activeDashboard.set(this.dashboards().length - 1);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* Duplicates the dashboard at the specified index with a new name and optional icon.
|
|
102
|
-
* All widget and dashboard IDs are regenerated.
|
|
103
|
-
* @param itemIndex The index of the dashboard to duplicate.
|
|
104
|
-
* @param newName The name for the duplicated dashboard.
|
|
105
|
-
* @param newIcon The optional icon for the duplicated dashboard.
|
|
106
|
-
*/
|
|
107
|
-
duplicate(itemIndex, newName, newIcon) {
|
|
108
|
-
if (itemIndex < 0 || itemIndex >= this.dashboards().length) {
|
|
109
|
-
console.error(`[Dashboard Service] Invalid itemIndex: ${itemIndex}`);
|
|
110
|
-
return;
|
|
111
|
-
}
|
|
112
|
-
const originalDashboard = this.dashboards()[itemIndex];
|
|
113
|
-
const newDashboard = cloneDeep(originalDashboard);
|
|
114
|
-
newDashboard.id = UUID.create();
|
|
115
|
-
newDashboard.name = newName;
|
|
116
|
-
newDashboard.icon = newIcon || 'dashboard-dashboard';
|
|
117
|
-
if (Array.isArray(newDashboard.configuration)) {
|
|
118
|
-
newDashboard.configuration.forEach((widget) => {
|
|
119
|
-
if (widget && widget.input?.widgetProperties) {
|
|
120
|
-
widget.id = UUID.create();
|
|
121
|
-
widget.input.widgetProperties.uuid = widget.id;
|
|
122
|
-
}
|
|
123
|
-
else {
|
|
124
|
-
console.error("Dashboard Service] Widget configuration is missing required properties:", widget);
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
else {
|
|
129
|
-
console.error("Dashboard Service] Dashboard configuration is not an array:", newDashboard.configuration);
|
|
130
|
-
newDashboard.configuration = [];
|
|
131
|
-
}
|
|
132
|
-
this.dashboards.update(dashboards => [
|
|
133
|
-
...dashboards,
|
|
134
|
-
newDashboard
|
|
135
|
-
]);
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Updates the widget configuration for the dashboard at the specified index.
|
|
139
|
-
* Only updates if the configuration has changed.
|
|
140
|
-
* @param itemIndex The index of the dashboard to update.
|
|
141
|
-
* @param configuration The new widget configuration array.
|
|
142
|
-
*/
|
|
143
|
-
updateConfiguration(itemIndex, configuration) {
|
|
144
|
-
this.dashboards.update(dashboards => dashboards.map((dashboard, i) => {
|
|
145
|
-
if (i === itemIndex) {
|
|
146
|
-
// Only update if the configuration has changed
|
|
147
|
-
if (isEqual(dashboard.configuration, configuration)) {
|
|
148
|
-
return dashboard; // No changes, return the same reference
|
|
149
|
-
}
|
|
150
|
-
return { ...dashboard, configuration: configuration }; // Update with new configuration
|
|
151
|
-
}
|
|
152
|
-
return dashboard; // No changes for other dashboards
|
|
153
|
-
}));
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* Switches to the previous dashboard in the list.
|
|
157
|
-
* Wraps to the last dashboard if at the beginning.
|
|
158
|
-
* This only updates the internal state and does NOT trigger navigation or URL changes.
|
|
159
|
-
*/
|
|
160
|
-
previousDashboard() {
|
|
161
|
-
if ((this.activeDashboard() + 1) > (this.dashboards().length) - 1) {
|
|
162
|
-
this.activeDashboard.set(0);
|
|
163
|
-
}
|
|
164
|
-
else {
|
|
165
|
-
this.activeDashboard.set(this.activeDashboard() + 1);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* Switches to the next dashboard in the list.
|
|
170
|
-
* Wraps to the first dashboard if at the end.
|
|
171
|
-
* This only updates the internal state and does NOT trigger navigation or URL changes.
|
|
172
|
-
*/
|
|
173
|
-
nextDashboard() {
|
|
174
|
-
if ((this.activeDashboard() - 1) < 0) {
|
|
175
|
-
this.activeDashboard.set(this.dashboards().length - 1);
|
|
176
|
-
}
|
|
177
|
-
else {
|
|
178
|
-
this.activeDashboard.set(this.activeDashboard() - 1);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* Sets the active dashboard index in the service.
|
|
183
|
-
* This only updates the internal state and does NOT trigger navigation or URL changes.
|
|
184
|
-
* @param itemIndex The index of the dashboard to activate.
|
|
185
|
-
*/
|
|
186
|
-
setActiveDashboard(itemIndex) {
|
|
187
|
-
if (itemIndex >= 0 && itemIndex < this.dashboards().length) {
|
|
188
|
-
this.activeDashboard.set(itemIndex);
|
|
189
|
-
}
|
|
190
|
-
else {
|
|
191
|
-
console.error(`[Dashboard Service] Invalid dashboard ID: ${itemIndex}`);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
/**
|
|
195
|
-
* Navigates the router to the currently active dashboard.
|
|
196
|
-
* This updates the browser URL and triggers Angular routing.
|
|
197
|
-
*/
|
|
198
|
-
navigateToActive() {
|
|
199
|
-
this._router.navigate(['/dashboard', this.activeDashboard()]);
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* Navigates the router to the dashboard at the specified index.
|
|
203
|
-
* This updates the browser URL and triggers Angular routing.
|
|
204
|
-
* @param itemIndex The index of the dashboard to navigate to.
|
|
205
|
-
*/
|
|
206
|
-
navigateTo(itemIndex) {
|
|
207
|
-
if (itemIndex >= 0 && itemIndex < this.dashboards().length) {
|
|
208
|
-
this._router.navigate(['/dashboard', itemIndex]);
|
|
209
|
-
}
|
|
210
|
-
else {
|
|
211
|
-
console.error(`[Dashboard Service] Invalid dashboard ID: ${itemIndex}`);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
/**
|
|
215
|
-
* Navigates to the next dashboard in the list.
|
|
216
|
-
* If the current dashboard is the first one, wraps around to the last dashboard.
|
|
217
|
-
* This updates the browser URL and triggers Angular routing.
|
|
218
|
-
*/
|
|
219
|
-
navigateToNextDashboard() {
|
|
220
|
-
let nextDashboard = null;
|
|
221
|
-
if ((this.activeDashboard() - 1) < 0) {
|
|
222
|
-
nextDashboard = this.dashboards().length - 1;
|
|
223
|
-
}
|
|
224
|
-
else {
|
|
225
|
-
nextDashboard = this.activeDashboard() - 1;
|
|
226
|
-
}
|
|
227
|
-
this._router.navigate(['/dashboard', nextDashboard]);
|
|
228
|
-
}
|
|
229
|
-
/**
|
|
230
|
-
* Navigates to the previous dashboard in the list.
|
|
231
|
-
* If the current dashboard is the last one, wraps around to the first dashboard.
|
|
232
|
-
* This updates the browser URL and triggers Angular routing.
|
|
233
|
-
*/
|
|
234
|
-
navigateToPreviousDashboard() {
|
|
235
|
-
let nextDashboard = null;
|
|
236
|
-
if ((this.activeDashboard() + 1) >= this.dashboards().length) {
|
|
237
|
-
nextDashboard = 0;
|
|
238
|
-
}
|
|
239
|
-
else {
|
|
240
|
-
nextDashboard = this.activeDashboard() + 1;
|
|
241
|
-
}
|
|
242
|
-
this._router.navigate(['/dashboard', nextDashboard]);
|
|
243
|
-
}
|
|
244
|
-
/**
|
|
245
|
-
* Emits a widget delete operation for the widget with the given ID.
|
|
246
|
-
* @param id The widget ID to delete.
|
|
247
|
-
*/
|
|
248
|
-
deleteWidget(id) {
|
|
249
|
-
this._widgetAction.next({ id: id, operation: 'delete' });
|
|
250
|
-
}
|
|
251
|
-
/**
|
|
252
|
-
* Emits a widget duplicate operation for the widget with the given ID.
|
|
253
|
-
* @param id The widget ID to duplicate.
|
|
254
|
-
*/
|
|
255
|
-
duplicateWidget(id) {
|
|
256
|
-
this._widgetAction.next({ id: id, operation: 'duplicate' });
|
|
257
|
-
}
|
|
258
|
-
/**
|
|
259
|
-
* Sets the static/fixed state of the dashboard layout.
|
|
260
|
-
* @param isStatic Whether the dashboard should be static.
|
|
261
|
-
*/
|
|
262
|
-
setStaticDashboard(isStatic) {
|
|
263
|
-
this._isDashboardStatic.next(isStatic);
|
|
264
|
-
}
|
|
265
|
-
};
|
|
266
|
-
DashboardService = __decorate([
|
|
267
|
-
Injectable({
|
|
268
|
-
providedIn: 'root'
|
|
269
|
-
}),
|
|
270
|
-
__metadata("design:paramtypes", [])
|
|
271
|
-
], DashboardService);
|
|
272
|
-
export { DashboardService };
|
|
273
|
-
//# sourceMappingURL=dashboard.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.service.js","sourceRoot":"","sources":["../../../../../../src/app/core/services/dashboard.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,SAAS,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAiB/C,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IACnB,SAAS,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAC;IACvC,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;IAC1B,UAAU,GAAG,MAAM,CAAc,EAAE,EAAE,EAAC,KAAK,EAAE,OAAO,EAAC,CAAC,CAAC;IAC9C,eAAe,GAAG,MAAM,CAAS,CAAC,CAAC,CAAC;IAC5C,aAAa,GAAG,IAAI,eAAe,CAAkB,IAAI,CAAC,CAAC;IAC5D,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC,YAAY,EAAE,CAAC;IACjD,kBAAkB,GAAG,IAAI,eAAe,CAAU,IAAI,CAAC,CAAC;IACzD,kBAAkB,GAAG,IAAI,CAAC,kBAAkB,CAAC,YAAY,EAAE,CAAC;IACnD,iBAAiB,GAAG,QAAQ,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;IACtD,cAAc,GAAgB,CAAE,EAAC,EAAE,EAAE,IAAI,EAAE,IAAI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('DashboardService', () => {
|
|
4
|
-
let service;
|
|
5
|
-
beforeEach(() => {
|
|
6
|
-
TestBed.configureTestingModule({});
|
|
7
|
-
service = TestBed.inject(DashboardService);
|
|
8
|
-
});
|
|
9
|
-
it('should be created', () => {
|
|
10
|
-
expect(service).toBeTruthy();
|
|
11
|
-
});
|
|
12
|
-
});
|
|
13
|
-
//# sourceMappingURL=dashboard.service.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.service.spec.js","sourceRoot":"","sources":["../../../../../../src/app/core/services/dashboard.service.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAChC,IAAI,OAAyB,CAAC;IAE9B,UAAU,CAAC,GAAG,EAAE;QACd,OAAO,CAAC,sBAAsB,CAAC,EAAE,CAAC,CAAC;QACnC,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;IAC7C,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mBAAmB,EAAE,GAAG,EAAE;QAC3B,MAAM,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,CAAC;IAC/B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|