@mxtommy/kip 3.10.0 → 3.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/README.md +39 -59
- package/dist/out-tsc/kip-plugin/src/index.js +223 -0
- package/dist/out-tsc/kip-plugin/src/index.js.map +1 -0
- package/dist/out-tsc/kip-plugin/src/openApi.json +367 -0
- package/dist/out-tsc/package.json +118 -0
- package/dist/out-tsc/schematics/widget/index.js +70 -0
- package/dist/out-tsc/schematics/widget/index.js.map +1 -0
- package/dist/out-tsc/src/app/app.component.js +286 -0
- package/dist/out-tsc/src/app/app.component.js.map +1 -0
- package/dist/out-tsc/src/app/app.component.spec.js +26 -0
- package/dist/out-tsc/src/app/app.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/app.routes.js +35 -0
- package/dist/out-tsc/src/app/app.routes.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/app-help/app-help.component.js +60 -0
- package/dist/out-tsc/src/app/core/components/app-help/app-help.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/app-help/app-help.component.spec.js +150 -0
- package/dist/out-tsc/src/app/core/components/app-help/app-help.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/dashboard/dashboard.component.js +361 -0
- package/dist/out-tsc/src/app/core/components/dashboard/dashboard.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/dashboard/dashboard.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/dashboard/dashboard.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/dashboard-scroller/dashboard-scroller.component.js +33 -0
- package/dist/out-tsc/src/app/core/components/dashboard-scroller/dashboard-scroller.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/dashboard-scroller/dashboard-scroller.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/dashboard-scroller/dashboard-scroller.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/dashboards-editor/dashboards-editor.component.js +183 -0
- package/dist/out-tsc/src/app/core/components/dashboards-editor/dashboards-editor.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/dashboards-editor/dashboards-editor.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/dashboards-editor/dashboards-editor.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/dashboards-manage-bottom-sheet/dashboards-manage-bottom-sheet.component.js +28 -0
- package/dist/out-tsc/src/app/core/components/dashboards-manage-bottom-sheet/dashboards-manage-bottom-sheet.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/dashboards-manage-bottom-sheet/dashboards-manage-bottom-sheet.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/dashboards-manage-bottom-sheet/dashboards-manage-bottom-sheet.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/data-inspector/data-inspector.component.js +130 -0
- package/dist/out-tsc/src/app/core/components/data-inspector/data-inspector.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/data-inspector/data-inspector.component.spec.js +21 -0
- package/dist/out-tsc/src/app/core/components/data-inspector/data-inspector.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/data-inspector-row/data-inspector-row.component.js +82 -0
- package/dist/out-tsc/src/app/core/components/data-inspector-row/data-inspector-row.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/datasets/datasets.component.js +168 -0
- package/dist/out-tsc/src/app/core/components/datasets/datasets.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/datasets/datasets.component.spec.js +21 -0
- package/dist/out-tsc/src/app/core/components/datasets/datasets.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/dialog-confirmation/dialog-confirmation.component.js +24 -0
- package/dist/out-tsc/src/app/core/components/dialog-confirmation/dialog-confirmation.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/dialog-confirmation/dialog-confirmation.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/dialog-confirmation/dialog-confirmation.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/dialog-dashboard-page-editor/dialog-dashboard-page-editor.component.js +45 -0
- package/dist/out-tsc/src/app/core/components/dialog-dashboard-page-editor/dialog-dashboard-page-editor.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/dialog-dashboard-page-editor/dialog-dashboard-page-editor.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/dialog-dashboard-page-editor/dialog-dashboard-page-editor.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/dialog-frame/dialog-frame.component.js +25 -0
- package/dist/out-tsc/src/app/core/components/dialog-frame/dialog-frame.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/dialog-frame/dialog-frame.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/dialog-frame/dialog-frame.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/dialog-name/dialog-name.component.js +31 -0
- package/dist/out-tsc/src/app/core/components/dialog-name/dialog-name.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/dialog-name/dialog-name.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/dialog-name/dialog-name.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/menu-actions/menu-actions.component.js +100 -0
- package/dist/out-tsc/src/app/core/components/menu-actions/menu-actions.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/menu-actions/menu-actions.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/menu-actions/menu-actions.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/menu-notifications/menu-notifications.component.js +60 -0
- package/dist/out-tsc/src/app/core/components/menu-notifications/menu-notifications.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/menu-notifications/menu-notifications.component.spec.js +21 -0
- package/dist/out-tsc/src/app/core/components/menu-notifications/menu-notifications.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/modal-user-credential/modal-user-credential.component.js +32 -0
- package/dist/out-tsc/src/app/core/components/modal-user-credential/modal-user-credential.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/modal-user-credential/modal-user-credential.component.spec.js +21 -0
- package/dist/out-tsc/src/app/core/components/modal-user-credential/modal-user-credential.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/notification-badge/notification-badge.component.js +51 -0
- package/dist/out-tsc/src/app/core/components/notification-badge/notification-badge.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/notification-badge/notification-badge.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/notification-badge/notification-badge.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/options/configuration/config.component.js +228 -0
- package/dist/out-tsc/src/app/core/components/options/configuration/config.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/options/configuration/config.component.spec.js +21 -0
- package/dist/out-tsc/src/app/core/components/options/configuration/config.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/options/display/display.component.js +142 -0
- package/dist/out-tsc/src/app/core/components/options/display/display.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/options/display/display.component.spec.js +21 -0
- package/dist/out-tsc/src/app/core/components/options/display/display.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/options/notifications/notifications.component.js +66 -0
- package/dist/out-tsc/src/app/core/components/options/notifications/notifications.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/options/notifications/notifications.component.spec.js +21 -0
- package/dist/out-tsc/src/app/core/components/options/notifications/notifications.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/options/signalk/signalk.component.js +255 -0
- package/dist/out-tsc/src/app/core/components/options/signalk/signalk.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/options/signalk/signalk.component.spec.js +21 -0
- package/dist/out-tsc/src/app/core/components/options/signalk/signalk.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/options/tabs/tabs.component.js +44 -0
- package/dist/out-tsc/src/app/core/components/options/tabs/tabs.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/options/tabs/tabs.component.spec.js +21 -0
- package/dist/out-tsc/src/app/core/components/options/tabs/tabs.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/options/units/units.component.js +55 -0
- package/dist/out-tsc/src/app/core/components/options/units/units.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/options/units/units.component.spec.js +21 -0
- package/dist/out-tsc/src/app/core/components/options/units/units.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/page-header/page-header.component.js +31 -0
- package/dist/out-tsc/src/app/core/components/page-header/page-header.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/page-header/page-header.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/page-header/page-header.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/remote-control/remote-control.component.js +63 -0
- package/dist/out-tsc/src/app/core/components/remote-control/remote-control.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/remote-control/remote-control.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/remote-control/remote-control.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/select-icon/select-icon.component.js +75 -0
- package/dist/out-tsc/src/app/core/components/select-icon/select-icon.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/select-icon/select-icon.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/select-icon/select-icon.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/settings/settings.component.js +56 -0
- package/dist/out-tsc/src/app/core/components/settings/settings.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/settings/settings.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/settings/settings.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/tile-large-icon/tile-large-icon.component.js +28 -0
- package/dist/out-tsc/src/app/core/components/tile-large-icon/tile-large-icon.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/tile-large-icon/tile-large-icon.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/tile-large-icon/tile-large-icon.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/upgrade-config/upgrade-config.component.js +336 -0
- package/dist/out-tsc/src/app/core/components/upgrade-config/upgrade-config.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/upgrade-config/upgrade-config.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/upgrade-config/upgrade-config.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/upgrade-config/v10-config-interface.js +2 -0
- package/dist/out-tsc/src/app/core/components/upgrade-config/v10-config-interface.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/widget-host/widget-host.component.js +77 -0
- package/dist/out-tsc/src/app/core/components/widget-host/widget-host.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/widget-host/widget-host.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/widget-host/widget-host.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/widget-host-bottom-sheet/widget-host-bottom-sheet.component.js +29 -0
- package/dist/out-tsc/src/app/core/components/widget-host-bottom-sheet/widget-host-bottom-sheet.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/widget-host-bottom-sheet/widget-host-bottom-sheet.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/widget-host-bottom-sheet/widget-host-bottom-sheet.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/widget-list-card/widget-list-card.component.js +34 -0
- package/dist/out-tsc/src/app/core/components/widget-list-card/widget-list-card.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/widget-list-card/widget-list-card.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/widget-list-card/widget-list-card.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/widget-title/widget-title.component.js +70 -0
- package/dist/out-tsc/src/app/core/components/widget-title/widget-title.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/widget-title/widget-title.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/widget-title/widget-title.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/widgets-list/widgets-list.component.js +61 -0
- package/dist/out-tsc/src/app/core/components/widgets-list/widgets-list.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/components/widgets-list/widgets-list.component.spec.js +19 -0
- package/dist/out-tsc/src/app/core/components/widgets-list/widgets-list.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/directives/gesture.directive.js +457 -0
- package/dist/out-tsc/src/app/core/directives/gesture.directive.js.map +1 -0
- package/dist/out-tsc/src/app/core/interceptors/authentication-interceptor.js +43 -0
- package/dist/out-tsc/src/app/core/interceptors/authentication-interceptor.js.map +1 -0
- package/dist/out-tsc/src/app/core/interceptors/authentication-interceptor.spec.js +7 -0
- package/dist/out-tsc/src/app/core/interceptors/authentication-interceptor.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/interfaces/app-interfaces.js +8 -0
- package/dist/out-tsc/src/app/core/interfaces/app-interfaces.js.map +1 -0
- package/dist/out-tsc/src/app/core/interfaces/app-settings.interfaces.js +2 -0
- package/dist/out-tsc/src/app/core/interfaces/app-settings.interfaces.js.map +1 -0
- package/dist/out-tsc/src/app/core/interfaces/dialog-data.js +2 -0
- package/dist/out-tsc/src/app/core/interfaces/dialog-data.js.map +1 -0
- package/dist/out-tsc/src/app/core/interfaces/signalk-autopilot-interfaces.js +11 -0
- package/dist/out-tsc/src/app/core/interfaces/signalk-autopilot-interfaces.js.map +1 -0
- package/dist/out-tsc/src/app/core/interfaces/signalk-interfaces.js +45 -0
- package/dist/out-tsc/src/app/core/interfaces/signalk-interfaces.js.map +1 -0
- package/dist/out-tsc/src/app/core/interfaces/widgets-interface.js +7 -0
- package/dist/out-tsc/src/app/core/interfaces/widgets-interface.js.map +1 -0
- package/dist/out-tsc/src/app/core/pipes/filter-self.pipe.js +24 -0
- package/dist/out-tsc/src/app/core/pipes/filter-self.pipe.js.map +1 -0
- package/dist/out-tsc/src/app/core/pipes/filter-self.pipe.spec.js +8 -0
- package/dist/out-tsc/src/app/core/pipes/filter-self.pipe.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/pipes/object-keys.pipe.js +20 -0
- package/dist/out-tsc/src/app/core/pipes/object-keys.pipe.js.map +1 -0
- package/dist/out-tsc/src/app/core/pipes/object-keys.pipe.spec.js +8 -0
- package/dist/out-tsc/src/app/core/pipes/object-keys.pipe.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/pipes/safe.pipe.js +22 -0
- package/dist/out-tsc/src/app/core/pipes/safe.pipe.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/app-initNetwork.service.js +199 -0
- package/dist/out-tsc/src/app/core/services/app-initNetwork.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/app-initNetwork.service.spec.js +13 -0
- package/dist/out-tsc/src/app/core/services/app-initNetwork.service.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/app-service.js +249 -0
- package/dist/out-tsc/src/app/core/services/app-service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/app-service.spec.js +13 -0
- package/dist/out-tsc/src/app/core/services/app-service.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/app-settings.service.js +566 -0
- package/dist/out-tsc/src/app/core/services/app-settings.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/app-settings.service.spec.js +13 -0
- package/dist/out-tsc/src/app/core/services/app-settings.service.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/authentication.service.js +308 -0
- package/dist/out-tsc/src/app/core/services/authentication.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/authentication.service.spec.js +13 -0
- package/dist/out-tsc/src/app/core/services/authentication.service.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/canvas.service.js +566 -0
- package/dist/out-tsc/src/app/core/services/canvas.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/canvas.service.spec.js +13 -0
- package/dist/out-tsc/src/app/core/services/canvas.service.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/connection-state-machine.service.js +325 -0
- package/dist/out-tsc/src/app/core/services/connection-state-machine.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/dashboard.service.js +273 -0
- package/dist/out-tsc/src/app/core/services/dashboard.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/dashboard.service.spec.js +13 -0
- package/dist/out-tsc/src/app/core/services/dashboard.service.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/data-set.service.js +515 -0
- package/dist/out-tsc/src/app/core/services/data-set.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/data-set.service.spec.js +13 -0
- package/dist/out-tsc/src/app/core/services/data-set.service.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/data.service.js +425 -0
- package/dist/out-tsc/src/app/core/services/data.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/data.service.spec.js +13 -0
- package/dist/out-tsc/src/app/core/services/data.service.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/dialog.service.js +73 -0
- package/dist/out-tsc/src/app/core/services/dialog.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/dialog.service.spec.js +13 -0
- package/dist/out-tsc/src/app/core/services/dialog.service.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/notification-overlay.service.js +106 -0
- package/dist/out-tsc/src/app/core/services/notification-overlay.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/notifications.service.js +322 -0
- package/dist/out-tsc/src/app/core/services/notifications.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/notifications.service.spec.js +10 -0
- package/dist/out-tsc/src/app/core/services/notifications.service.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/remote-dashboards.service.js +125 -0
- package/dist/out-tsc/src/app/core/services/remote-dashboards.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/remote-dashboards.service.spec.js +13 -0
- package/dist/out-tsc/src/app/core/services/remote-dashboards.service.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/signalk-connection.service.js +283 -0
- package/dist/out-tsc/src/app/core/services/signalk-connection.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/signalk-delta.service.js +486 -0
- package/dist/out-tsc/src/app/core/services/signalk-delta.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/signalk-delta.service.spec.js +13 -0
- package/dist/out-tsc/src/app/core/services/signalk-delta.service.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/signalk-plugins.service.js +121 -0
- package/dist/out-tsc/src/app/core/services/signalk-plugins.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/signalk-plugins.service.spec.js +13 -0
- package/dist/out-tsc/src/app/core/services/signalk-plugins.service.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/signalk-requests.service.js +232 -0
- package/dist/out-tsc/src/app/core/services/signalk-requests.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/signalk-requests.service.spec.js +10 -0
- package/dist/out-tsc/src/app/core/services/signalk-requests.service.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/storage.service.js +390 -0
- package/dist/out-tsc/src/app/core/services/storage.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/storage.service.spec.js +13 -0
- package/dist/out-tsc/src/app/core/services/storage.service.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/timers.service.js +107 -0
- package/dist/out-tsc/src/app/core/services/timers.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/timers.service.spec.js +13 -0
- package/dist/out-tsc/src/app/core/services/timers.service.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/uiEvent.service.js +256 -0
- package/dist/out-tsc/src/app/core/services/uiEvent.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/uiEvent.service.spec.js +13 -0
- package/dist/out-tsc/src/app/core/services/uiEvent.service.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/units.service.js +630 -0
- package/dist/out-tsc/src/app/core/services/units.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/widget.service.js +405 -0
- package/dist/out-tsc/src/app/core/services/widget.service.js.map +1 -0
- package/dist/out-tsc/src/app/core/services/widget.service.spec.js +13 -0
- package/dist/out-tsc/src/app/core/services/widget.service.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/utils/app-overlay-container.js +30 -0
- package/dist/out-tsc/src/app/core/utils/app-overlay-container.js.map +1 -0
- package/dist/out-tsc/src/app/core/utils/base-widget.component.js +291 -0
- package/dist/out-tsc/src/app/core/utils/base-widget.component.js.map +1 -0
- package/dist/out-tsc/src/app/core/utils/base-widget.component.spec.js +88 -0
- package/dist/out-tsc/src/app/core/utils/base-widget.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/core/utils/dataScales.util.js +127 -0
- package/dist/out-tsc/src/app/core/utils/dataScales.util.js.map +1 -0
- package/dist/out-tsc/src/app/core/utils/dataTransforms.util.js +138 -0
- package/dist/out-tsc/src/app/core/utils/dataTransforms.util.js.map +1 -0
- package/dist/out-tsc/src/app/core/utils/iframe-inputs-inject.utils.js +55 -0
- package/dist/out-tsc/src/app/core/utils/iframe-inputs-inject.utils.js.map +1 -0
- package/dist/out-tsc/src/app/core/utils/svg-animate.util.js +303 -0
- package/dist/out-tsc/src/app/core/utils/svg-animate.util.js.map +1 -0
- package/dist/out-tsc/src/app/core/utils/themeColors.utils.js +34 -0
- package/dist/out-tsc/src/app/core/utils/themeColors.utils.js.map +1 -0
- package/dist/out-tsc/src/app/core/utils/uuid.util.js +17 -0
- package/dist/out-tsc/src/app/core/utils/uuid.util.js.map +1 -0
- package/dist/out-tsc/src/app/core/utils/zones-highlight.utils.js +87 -0
- package/dist/out-tsc/src/app/core/utils/zones-highlight.utils.js.map +1 -0
- package/dist/out-tsc/src/app/widget-config/boolean-control-config/boolean-control-config.component.js +49 -0
- package/dist/out-tsc/src/app/widget-config/boolean-control-config/boolean-control-config.component.js.map +1 -0
- package/dist/out-tsc/src/app/widget-config/boolean-control-config/boolean-control-config.component.spec.js +19 -0
- package/dist/out-tsc/src/app/widget-config/boolean-control-config/boolean-control-config.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widget-config/boolean-multicontrol-options/boolean-multicontrol-options.component.js +100 -0
- package/dist/out-tsc/src/app/widget-config/boolean-multicontrol-options/boolean-multicontrol-options.component.js.map +1 -0
- package/dist/out-tsc/src/app/widget-config/boolean-multicontrol-options/boolean-multicontrol-options.component.spec.js +19 -0
- package/dist/out-tsc/src/app/widget-config/boolean-multicontrol-options/boolean-multicontrol-options.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widget-config/dataset-chart-options/dataset-chart-options.component.js +54 -0
- package/dist/out-tsc/src/app/widget-config/dataset-chart-options/dataset-chart-options.component.js.map +1 -0
- package/dist/out-tsc/src/app/widget-config/dataset-chart-options/dataset-chart-options.component.spec.js +19 -0
- package/dist/out-tsc/src/app/widget-config/dataset-chart-options/dataset-chart-options.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widget-config/display-chart-options/display-chart-options.component.js +89 -0
- package/dist/out-tsc/src/app/widget-config/display-chart-options/display-chart-options.component.js.map +1 -0
- package/dist/out-tsc/src/app/widget-config/display-chart-options/display-chart-options.component.spec.js +19 -0
- package/dist/out-tsc/src/app/widget-config/display-chart-options/display-chart-options.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widget-config/display-datetime/display-datetime.component.js +1760 -0
- package/dist/out-tsc/src/app/widget-config/display-datetime/display-datetime.component.js.map +1 -0
- package/dist/out-tsc/src/app/widget-config/display-datetime/display-datetime.component.spec.js +19 -0
- package/dist/out-tsc/src/app/widget-config/display-datetime/display-datetime.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widget-config/modal-widget-config/modal-widget-config.component.js +327 -0
- package/dist/out-tsc/src/app/widget-config/modal-widget-config/modal-widget-config.component.js.map +1 -0
- package/dist/out-tsc/src/app/widget-config/modal-widget-config/modal-widget-config.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widget-config/modal-widget-config/modal-widget-config.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widget-config/path-control-config/path-control-config.component.js +268 -0
- package/dist/out-tsc/src/app/widget-config/path-control-config/path-control-config.component.js.map +1 -0
- package/dist/out-tsc/src/app/widget-config/path-control-config/path-control-config.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widget-config/path-control-config/path-control-config.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widget-config/paths-options/paths-options.component.js +81 -0
- package/dist/out-tsc/src/app/widget-config/paths-options/paths-options.component.js.map +1 -0
- package/dist/out-tsc/src/app/widget-config/paths-options/paths-options.component.spec.js +19 -0
- package/dist/out-tsc/src/app/widget-config/paths-options/paths-options.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widget-config/select-autopilot/select-autopilot.component.js +266 -0
- package/dist/out-tsc/src/app/widget-config/select-autopilot/select-autopilot.component.js.map +1 -0
- package/dist/out-tsc/src/app/widget-config/select-autopilot/select-autopilot.component.spec.js +19 -0
- package/dist/out-tsc/src/app/widget-config/select-autopilot/select-autopilot.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/gauge-steel/gauge-steel.component.js +309 -0
- package/dist/out-tsc/src/app/widgets/gauge-steel/gauge-steel.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/gauge-steel/gauge-steel.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/gauge-steel/gauge-steel.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/minichart/minichart.component.js +512 -0
- package/dist/out-tsc/src/app/widgets/minichart/minichart.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/minichart/minichart.component.spec.js +19 -0
- package/dist/out-tsc/src/app/widgets/minichart/minichart.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/svg-autopilot/svg-autopilot.component.js +227 -0
- package/dist/out-tsc/src/app/widgets/svg-autopilot/svg-autopilot.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/svg-autopilot/svg-autopilot.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/svg-autopilot/svg-autopilot.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/svg-boolean-button/svg-boolean-button.component.js +163 -0
- package/dist/out-tsc/src/app/widgets/svg-boolean-button/svg-boolean-button.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/svg-boolean-button/svg-boolean-button.component.spec.js +19 -0
- package/dist/out-tsc/src/app/widgets/svg-boolean-button/svg-boolean-button.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/svg-boolean-light/svg-boolean-light.component.js +97 -0
- package/dist/out-tsc/src/app/widgets/svg-boolean-light/svg-boolean-light.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/svg-boolean-light/svg-boolean-light.component.spec.js +19 -0
- package/dist/out-tsc/src/app/widgets/svg-boolean-light/svg-boolean-light.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/svg-boolean-switch/svg-boolean-switch.component.js +122 -0
- package/dist/out-tsc/src/app/widgets/svg-boolean-switch/svg-boolean-switch.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/svg-boolean-switch/svg-boolean-switch.component.spec.js +19 -0
- package/dist/out-tsc/src/app/widgets/svg-boolean-switch/svg-boolean-switch.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/svg-racesteer/svg-racesteer.component.js +389 -0
- package/dist/out-tsc/src/app/widgets/svg-racesteer/svg-racesteer.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/svg-racesteer/svg-racesteer.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/svg-racesteer/svg-racesteer.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/svg-simple-linear-gauge/svg-simple-linear-gauge.component.js +76 -0
- package/dist/out-tsc/src/app/widgets/svg-simple-linear-gauge/svg-simple-linear-gauge.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/svg-simple-linear-gauge/svg-simple-linear-gauge.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/svg-simple-linear-gauge/svg-simple-linear-gauge.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/svg-windsteer/svg-windsteer.component.js +429 -0
- package/dist/out-tsc/src/app/widgets/svg-windsteer/svg-windsteer.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/svg-windsteer/svg-windsteer.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/svg-windsteer/svg-windsteer.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-autopilot/widget-autopilot.component.js +1128 -0
- package/dist/out-tsc/src/app/widgets/widget-autopilot/widget-autopilot.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-autopilot/widget-autopilot.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/widget-autopilot/widget-autopilot.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-boolean-switch/widget-boolean-switch.component.js +140 -0
- package/dist/out-tsc/src/app/widgets/widget-boolean-switch/widget-boolean-switch.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-boolean-switch/widget-boolean-switch.component.spec.js +19 -0
- package/dist/out-tsc/src/app/widgets/widget-boolean-switch/widget-boolean-switch.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-data-chart/widget-data-chart.component.js +678 -0
- package/dist/out-tsc/src/app/widgets/widget-data-chart/widget-data-chart.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-data-chart/widget-data-chart.component.spec.js +19 -0
- package/dist/out-tsc/src/app/widgets/widget-data-chart/widget-data-chart.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-datetime/widget-datetime.component.js +177 -0
- package/dist/out-tsc/src/app/widgets/widget-datetime/widget-datetime.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-datetime/widget-datetime.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/widget-datetime/widget-datetime.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-freeboardsk/widget-freeboardsk.component.js +146 -0
- package/dist/out-tsc/src/app/widgets/widget-freeboardsk/widget-freeboardsk.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-freeboardsk/widget-freeboardsk.component.spec.js +19 -0
- package/dist/out-tsc/src/app/widgets/widget-freeboardsk/widget-freeboardsk.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-compass/widget-gauge-ng-compass.component.js +301 -0
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-compass/widget-gauge-ng-compass.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-compass/widget-gauge-ng-compass.component.spec.js +19 -0
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-compass/widget-gauge-ng-compass.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-linear/widget-gauge-ng-linear.component.js +413 -0
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-linear/widget-gauge-ng-linear.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-linear/widget-gauge-ng-linear.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-linear/widget-gauge-ng-linear.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-radial/widget-gauge-ng-radial.component.js +360 -0
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-radial/widget-gauge-ng-radial.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-radial/widget-gauge-ng-radial.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/widget-gauge-ng-radial/widget-gauge-ng-radial.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-gauge-steel/widget-gauge-steel.component.js +119 -0
- package/dist/out-tsc/src/app/widgets/widget-gauge-steel/widget-gauge-steel.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-gauge-steel/widget-gauge-steel.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/widget-gauge-steel/widget-gauge-steel.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-heel-gauge/widget-heel-gauge.component.js +205 -0
- package/dist/out-tsc/src/app/widgets/widget-heel-gauge/widget-heel-gauge.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-heel-gauge/widget-heel-gauge.component.spec.js +15 -0
- package/dist/out-tsc/src/app/widgets/widget-heel-gauge/widget-heel-gauge.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-horizon/widget-horizon.component.js +196 -0
- package/dist/out-tsc/src/app/widgets/widget-horizon/widget-horizon.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-horizon/widget-horizon.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/widget-horizon/widget-horizon.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-iframe/widget-iframe.component.js +173 -0
- package/dist/out-tsc/src/app/widgets/widget-iframe/widget-iframe.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-iframe/widget-iframe.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/widget-iframe/widget-iframe.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-label/widget-label.component.js +128 -0
- package/dist/out-tsc/src/app/widgets/widget-label/widget-label.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-label/widget-label.component.spec.js +19 -0
- package/dist/out-tsc/src/app/widgets/widget-label/widget-label.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-login/login.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/widget-login/login.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-login/widget-login.component.js +78 -0
- package/dist/out-tsc/src/app/widgets/widget-login/widget-login.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-numeric/widget-numeric.component.js +303 -0
- package/dist/out-tsc/src/app/widgets/widget-numeric/widget-numeric.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-numeric/widget-numeric.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/widget-numeric/widget-numeric.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-position/widget-position.component.js +177 -0
- package/dist/out-tsc/src/app/widgets/widget-position/widget-position.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-position/widget-position.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/widget-position/widget-position.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-race-timer/widget-race-timer.component.js +275 -0
- package/dist/out-tsc/src/app/widgets/widget-race-timer/widget-race-timer.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-race-timer/widget-race-timer.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/widget-race-timer/widget-race-timer.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-racer-line/widget-racer-line.component.js +319 -0
- package/dist/out-tsc/src/app/widgets/widget-racer-line/widget-racer-line.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-racer-line/widget-racer-line.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/widget-racer-line/widget-racer-line.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-racer-timer/widget-racer-timer.component.js +365 -0
- package/dist/out-tsc/src/app/widgets/widget-racer-timer/widget-racer-timer.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-racer-timer/widget-racer-timer.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/widget-racer-timer/widget-racer-timer.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-racesteer/widget-racesteer.component.js +321 -0
- package/dist/out-tsc/src/app/widgets/widget-racesteer/widget-racesteer.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-racesteer/widget-racesteer.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/widget-racesteer/widget-racesteer.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-simple-linear/widget-simple-linear.component.js +189 -0
- package/dist/out-tsc/src/app/widgets/widget-simple-linear/widget-simple-linear.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-simple-linear/widget-simple-linear.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/widget-simple-linear/widget-simple-linear.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-slider/widget-slider.component.js +248 -0
- package/dist/out-tsc/src/app/widgets/widget-slider/widget-slider.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-slider/widget-slider.component.spec.js +19 -0
- package/dist/out-tsc/src/app/widgets/widget-slider/widget-slider.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-text/widget-text.component.js +138 -0
- package/dist/out-tsc/src/app/widgets/widget-text/widget-text.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-text/widget-text.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/widget-text/widget-text.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-tutorial/widget-tutorial.component.js +43 -0
- package/dist/out-tsc/src/app/widgets/widget-tutorial/widget-tutorial.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-tutorial/widget-tutorial.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/widget-tutorial/widget-tutorial.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-windsteer/widget-windsteer.component.js +483 -0
- package/dist/out-tsc/src/app/widgets/widget-windsteer/widget-windsteer.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-windsteer/widget-windsteer.component.spec.js +21 -0
- package/dist/out-tsc/src/app/widgets/widget-windsteer/widget-windsteer.component.spec.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-windtrends-chart/widget-windtrends-chart.component.js +1067 -0
- package/dist/out-tsc/src/app/widgets/widget-windtrends-chart/widget-windtrends-chart.component.js.map +1 -0
- package/dist/out-tsc/src/app/widgets/widget-windtrends-chart/widget-windtrends-chart.component.spec.js +19 -0
- package/dist/out-tsc/src/app/widgets/widget-windtrends-chart/widget-windtrends-chart.component.spec.js.map +1 -0
- package/dist/out-tsc/src/default-config/config.blank.const.js +35 -0
- package/dist/out-tsc/src/default-config/config.blank.const.js.map +1 -0
- package/dist/out-tsc/src/default-config/config.blank.notification.const.js +22 -0
- package/dist/out-tsc/src/default-config/config.blank.notification.const.js.map +1 -0
- package/dist/out-tsc/src/default-config/config.blank.units.const.js +24 -0
- package/dist/out-tsc/src/default-config/config.blank.units.const.js.map +1 -0
- package/dist/out-tsc/src/default-config/config.demo.const.js +739 -0
- package/dist/out-tsc/src/default-config/config.demo.const.js.map +1 -0
- package/dist/out-tsc/src/environments/environment.js +8 -0
- package/dist/out-tsc/src/environments/environment.js.map +1 -0
- package/dist/out-tsc/src/environments/environment.prod.js +4 -0
- package/dist/out-tsc/src/environments/environment.prod.js.map +1 -0
- package/dist/out-tsc/src/main.js +111 -0
- package/dist/out-tsc/src/main.js.map +1 -0
- package/dist/out-tsc/src/polyfills.js +67 -0
- package/dist/out-tsc/src/polyfills.js.map +1 -0
- package/dist/out-tsc/src/test-setup.js +1 -0
- package/dist/out-tsc/src/test-setup.js.map +1 -0
- package/dist/out-tsc/src/test-shims/steelseries-shim.js +44 -0
- package/dist/out-tsc/src/test-shims/steelseries-shim.js.map +1 -0
- package/dist/out-tsc/src/test.js +84 -0
- package/dist/out-tsc/src/test.js.map +1 -0
- package/images/ActionSidenav.png +0 -0
- package/images/KipBrightness-1024.png +0 -0
- package/images/KipNightMode-1024.png +0 -0
- package/images/Options.png +0 -0
- package/images/exterior_user_installs.png +0 -0
- package/package.json +1 -1
- package/plugin/index.js +2 -1
- package/public/{chunk-YPVFGYWU.js → chunk-4APSKT6I.js} +1 -1
- package/public/{chunk-CCEKSCJH.js → chunk-HHR4WMHS.js} +1 -1
- package/public/{chunk-TTNX7JB6.js → chunk-JDDRJMPN.js} +1 -1
- package/public/{chunk-TSNRNW3D.js → chunk-MRF22PVK.js} +1 -1
- package/public/{chunk-G5U7W6LL.js → chunk-RNSD64U3.js} +1 -1
- package/public/index.html +1 -1
- package/public/{main-JN6ENHFX.js → main-5QLZ4ZUU.js} +2 -2
package/dist/out-tsc/src/app/widgets/widget-gauge-ng-radial/widget-gauge-ng-radial.component.js
ADDED
|
@@ -0,0 +1,360 @@
|
|
|
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
|
+
/**
|
|
11
|
+
* ng canvas gauge options should be set before ngViewInit for the gauge to be
|
|
12
|
+
* instantiated with the correct options.
|
|
13
|
+
*
|
|
14
|
+
* Gauge .update() function should ONLY be called after ngAfterViewInit. Used to update
|
|
15
|
+
* instantiated gauge config.
|
|
16
|
+
*/
|
|
17
|
+
import { Component, ElementRef, effect, viewChild } from '@angular/core';
|
|
18
|
+
import { NgxResizeObserverModule } from 'ngx-resize-observer';
|
|
19
|
+
import { GaugesModule } from '@godind/ng-canvas-gauges';
|
|
20
|
+
import { BaseWidgetComponent } from '../../core/utils/base-widget.component';
|
|
21
|
+
import { WidgetHostComponent } from '../../core/components/widget-host/widget-host.component';
|
|
22
|
+
import { adjustLinearScaleAndMajorTicks } from '../../core/utils/dataScales.util';
|
|
23
|
+
import { States } from '../../core/interfaces/signalk-interfaces';
|
|
24
|
+
import { getHighlights } from '../../core/utils/zones-highlight.utils';
|
|
25
|
+
import { getColors } from '../../core/utils/themeColors.utils';
|
|
26
|
+
let WidgetGaugeNgRadialComponent = class WidgetGaugeNgRadialComponent extends BaseWidgetComponent {
|
|
27
|
+
// Gauge option setting constant
|
|
28
|
+
LINE = "line";
|
|
29
|
+
ANIMATION_TARGET_NEEDLE = "needle";
|
|
30
|
+
ngGauge = viewChild('radialGauge');
|
|
31
|
+
gauge = viewChild('radialGauge', { read: ElementRef });
|
|
32
|
+
initCompleted = false;
|
|
33
|
+
// Gauge text value for value box rendering
|
|
34
|
+
textValue = "";
|
|
35
|
+
// Gauge value
|
|
36
|
+
value = null;
|
|
37
|
+
adjustedScale;
|
|
38
|
+
// Gauge options
|
|
39
|
+
gaugeOptions = {};
|
|
40
|
+
// fix for RadialGauge GaugeOptions object ** missing color-stroke-ticks property
|
|
41
|
+
colorStrokeTicks = "";
|
|
42
|
+
unitName = null;
|
|
43
|
+
// Zones support
|
|
44
|
+
metaSub;
|
|
45
|
+
state = States.Normal;
|
|
46
|
+
constructor() {
|
|
47
|
+
super();
|
|
48
|
+
this.defaultConfig = {
|
|
49
|
+
displayName: 'Gauge Label',
|
|
50
|
+
filterSelfPaths: true,
|
|
51
|
+
paths: {
|
|
52
|
+
"gaugePath": {
|
|
53
|
+
description: "Numeric Data",
|
|
54
|
+
path: null,
|
|
55
|
+
source: null,
|
|
56
|
+
pathType: "number",
|
|
57
|
+
isPathConfigurable: true,
|
|
58
|
+
showPathSkUnitsFilter: true,
|
|
59
|
+
pathSkUnitsFilter: null,
|
|
60
|
+
convertUnitTo: "unitless",
|
|
61
|
+
sampleTime: 500
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
displayScale: {
|
|
65
|
+
lower: 0,
|
|
66
|
+
upper: 100,
|
|
67
|
+
type: "linear"
|
|
68
|
+
},
|
|
69
|
+
gauge: {
|
|
70
|
+
type: 'ngRadial',
|
|
71
|
+
subType: 'measuring', // capacity, measuring
|
|
72
|
+
enableTicks: true,
|
|
73
|
+
compassUseNumbers: false,
|
|
74
|
+
highlightsWidth: 5,
|
|
75
|
+
scaleStart: 180,
|
|
76
|
+
barStartPosition: "left"
|
|
77
|
+
},
|
|
78
|
+
numInt: 1,
|
|
79
|
+
numDecimal: 0,
|
|
80
|
+
enableTimeout: false,
|
|
81
|
+
color: "contrast",
|
|
82
|
+
dataTimeout: 5,
|
|
83
|
+
ignoreZones: false
|
|
84
|
+
};
|
|
85
|
+
effect(() => {
|
|
86
|
+
if (this.theme()) {
|
|
87
|
+
if (!this.initCompleted)
|
|
88
|
+
return;
|
|
89
|
+
this.startWidget();
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
ngOnInit() {
|
|
94
|
+
this.validateConfig();
|
|
95
|
+
}
|
|
96
|
+
startWidget() {
|
|
97
|
+
this.setGaugeConfig();
|
|
98
|
+
this.ngGauge().update(this.gaugeOptions);
|
|
99
|
+
this.unsubscribeDataStream();
|
|
100
|
+
this.unsubscribeMetaStream();
|
|
101
|
+
this.metaSub?.unsubscribe();
|
|
102
|
+
this.observeDataStream('gaugePath', newValue => {
|
|
103
|
+
if (!newValue || !newValue.data || newValue.data.value === null) {
|
|
104
|
+
newValue = {
|
|
105
|
+
data: {
|
|
106
|
+
value: 0,
|
|
107
|
+
timestamp: new Date(),
|
|
108
|
+
},
|
|
109
|
+
state: States.Normal // Default state
|
|
110
|
+
};
|
|
111
|
+
this.textValue = '--';
|
|
112
|
+
}
|
|
113
|
+
else if (this.textValue === '--') {
|
|
114
|
+
this.textValue = '';
|
|
115
|
+
}
|
|
116
|
+
// Compound value to displayScale
|
|
117
|
+
this.value = Math.min(Math.max(newValue.data.value, this.widgetProperties.config.displayScale.lower), this.widgetProperties.config.displayScale.upper);
|
|
118
|
+
if (newValue.state == null) {
|
|
119
|
+
newValue.state = States.Normal; // Provide a default value for state
|
|
120
|
+
}
|
|
121
|
+
if (this.state !== newValue.state) {
|
|
122
|
+
this.state = newValue.state;
|
|
123
|
+
const option = {};
|
|
124
|
+
if (!this.widgetProperties.config.ignoreZones) {
|
|
125
|
+
// Set value color: reduce color changes to only warn & alarm states else it too much flickering and not clean
|
|
126
|
+
switch (newValue.state) {
|
|
127
|
+
case States.Alarm:
|
|
128
|
+
option.colorBorderMiddle = this.theme().cardColor;
|
|
129
|
+
option.colorBarProgress = this.theme().zoneAlarm;
|
|
130
|
+
option.colorValueText = this.theme().zoneAlarm;
|
|
131
|
+
break;
|
|
132
|
+
case States.Warn:
|
|
133
|
+
option.colorBorderMiddle = this.theme().cardColor;
|
|
134
|
+
option.colorBarProgress = this.theme().zoneWarn;
|
|
135
|
+
option.colorValueText = this.theme().zoneWarn;
|
|
136
|
+
break;
|
|
137
|
+
case States.Alert:
|
|
138
|
+
option.colorBorderMiddle = this.theme().cardColor;
|
|
139
|
+
option.colorBarProgress = this.theme().zoneAlert;
|
|
140
|
+
option.colorValueText = this.theme().zoneAlert;
|
|
141
|
+
break;
|
|
142
|
+
default:
|
|
143
|
+
option.colorBorderMiddle = this.theme().cardColor;
|
|
144
|
+
option.colorBarProgress = this.widgetProperties.config.gauge.subType == 'measuring' ? getColors(this.widgetProperties.config.color, this.theme()).color : getColors(this.widgetProperties.config.color, this.theme()).dim;
|
|
145
|
+
option.colorValueText = getColors(this.widgetProperties.config.color, this.theme()).color;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
this.ngGauge().update(option);
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
const highlights = {};
|
|
152
|
+
highlights.highlights = [];
|
|
153
|
+
if (!this.widgetProperties.config.ignoreZones) {
|
|
154
|
+
this.observeMetaStream();
|
|
155
|
+
this.metaSub = this.zones$.subscribe(zones => {
|
|
156
|
+
if (zones && zones.length > 0 && this.widgetProperties.config.gauge.subType == "measuring") {
|
|
157
|
+
const invert = this.widgetProperties.config.gauge.barStartPosition === "right" ? true : false;
|
|
158
|
+
const gaugeZonesHighlight = getHighlights(zones, this.theme(), this.widgetProperties.config.paths['gaugePath'].convertUnitTo, this.unitsService, this.adjustedScale.min, this.adjustedScale.max, invert);
|
|
159
|
+
highlights.highlightsWidth = this.widgetProperties.config.gauge.highlightsWidth;
|
|
160
|
+
highlights.highlights = JSON.stringify(gaugeZonesHighlight, null, 1);
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
163
|
+
highlights.highlights = [];
|
|
164
|
+
}
|
|
165
|
+
this.ngGauge().update(highlights);
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
else {
|
|
169
|
+
this.ngGauge().update(highlights);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
updateConfig(config) {
|
|
173
|
+
this.widgetProperties.config = config;
|
|
174
|
+
this.setCanvasHight();
|
|
175
|
+
this.startWidget();
|
|
176
|
+
}
|
|
177
|
+
setCanvasHight() {
|
|
178
|
+
const gaugeSize = this.gauge().nativeElement.getBoundingClientRect();
|
|
179
|
+
const resize = {};
|
|
180
|
+
resize.height = gaugeSize.height;
|
|
181
|
+
resize.width = gaugeSize.width;
|
|
182
|
+
this.ngGauge().update(resize);
|
|
183
|
+
}
|
|
184
|
+
ngAfterViewInit() {
|
|
185
|
+
this.setCanvasHight();
|
|
186
|
+
this.startWidget();
|
|
187
|
+
this.initCompleted = true;
|
|
188
|
+
}
|
|
189
|
+
onResized(event) {
|
|
190
|
+
const resize = {};
|
|
191
|
+
resize.height = event.contentRect.height;
|
|
192
|
+
resize.width = event.contentRect.width;
|
|
193
|
+
this.ngGauge().update(resize);
|
|
194
|
+
}
|
|
195
|
+
setGaugeConfig() {
|
|
196
|
+
this.gaugeOptions.title = this.widgetProperties.config.displayName ? this.widgetProperties.config.displayName : "";
|
|
197
|
+
this.gaugeOptions.highlights = [];
|
|
198
|
+
this.gaugeOptions.fontTitle = "Roboto";
|
|
199
|
+
this.gaugeOptions.fontTitleWeight = "bold";
|
|
200
|
+
this.gaugeOptions.fontUnits = "Roboto";
|
|
201
|
+
this.gaugeOptions.fontUnitsSize = 25;
|
|
202
|
+
this.gaugeOptions.fontUnitsWeight = "normal";
|
|
203
|
+
this.gaugeOptions.barStrokeWidth = 0;
|
|
204
|
+
this.gaugeOptions.barShadow = 0;
|
|
205
|
+
this.gaugeOptions.colorBarStroke = "";
|
|
206
|
+
this.gaugeOptions.fontValue = "Roboto";
|
|
207
|
+
this.gaugeOptions.fontValueWeight = "bold";
|
|
208
|
+
this.gaugeOptions.valueTextShadow = false;
|
|
209
|
+
this.gaugeOptions.colorValueBoxShadow = "";
|
|
210
|
+
this.gaugeOptions.fontNumbers = "Roboto";
|
|
211
|
+
this.gaugeOptions.fontNumbersWeight = "bold";
|
|
212
|
+
this.gaugeOptions.valueInt = this.widgetProperties.config.numInt !== undefined && this.widgetProperties.config.numInt !== null ? this.widgetProperties.config.numInt : 1;
|
|
213
|
+
this.gaugeOptions.valueDec = this.widgetProperties.config.numDecimal !== undefined && this.widgetProperties.config.numDecimal !== null ? this.widgetProperties.config.numDecimal : 2;
|
|
214
|
+
this.gaugeOptions.majorTicksInt = this.widgetProperties.config.numInt !== undefined && this.widgetProperties.config.numInt !== null ? this.widgetProperties.config.numInt : 1;
|
|
215
|
+
this.gaugeOptions.majorTicksDec = this.widgetProperties.config.numDecimal !== undefined && this.widgetProperties.config.numDecimal !== null ? this.widgetProperties.config.numDecimal : 2;
|
|
216
|
+
this.gaugeOptions.highlightsWidth = this.widgetProperties.config.gauge.highlightsWidth;
|
|
217
|
+
this.gaugeOptions.animation = true;
|
|
218
|
+
this.gaugeOptions.animateOnInit = false;
|
|
219
|
+
this.gaugeOptions.animatedValue = false;
|
|
220
|
+
this.gaugeOptions.animationRule = "linear";
|
|
221
|
+
this.gaugeOptions.animationDuration = this.widgetProperties.config.paths['gaugePath'].sampleTime - 25; // prevent data and animation delay collisions
|
|
222
|
+
// Borders
|
|
223
|
+
this.gaugeOptions.colorBorderShadow = false;
|
|
224
|
+
this.gaugeOptions.colorBorderOuter = this.theme().cardColor;
|
|
225
|
+
this.gaugeOptions.colorBorderOuterEnd = '';
|
|
226
|
+
this.gaugeOptions.colorBorderMiddle = this.theme().cardColor;
|
|
227
|
+
this.gaugeOptions.colorBorderMiddleEnd = '';
|
|
228
|
+
// Progress bar
|
|
229
|
+
this.gaugeOptions.colorBarProgress = getColors(this.widgetProperties.config.color, this.theme()).color;
|
|
230
|
+
this.gaugeOptions.colorNeedle = getColors(this.widgetProperties.config.color, this.theme()).dim;
|
|
231
|
+
this.gaugeOptions.colorNeedleEnd = getColors(this.widgetProperties.config.color, this.theme()).dim;
|
|
232
|
+
// Labels
|
|
233
|
+
this.gaugeOptions.colorTitle = this.theme().contrastDim;
|
|
234
|
+
this.gaugeOptions.colorUnits = this.theme().contrastDim;
|
|
235
|
+
this.gaugeOptions.colorValueText = getColors(this.widgetProperties.config.color, this.theme()).color;
|
|
236
|
+
// Ticks
|
|
237
|
+
this.colorStrokeTicks = this.theme().contrastDim; // missing property in gaugeOptions
|
|
238
|
+
this.gaugeOptions.colorMinorTicks = this.theme().contrastDim;
|
|
239
|
+
this.gaugeOptions.colorNumbers = this.theme().contrastDim;
|
|
240
|
+
this.gaugeOptions.colorMajorTicks = this.theme().contrastDim;
|
|
241
|
+
// Plate
|
|
242
|
+
this.gaugeOptions.colorPlate = this.gaugeOptions.colorPlateEnd = this.theme().cardColor;
|
|
243
|
+
this.gaugeOptions.colorBar = this.theme().background;
|
|
244
|
+
this.gaugeOptions.colorNeedleShadowUp = "";
|
|
245
|
+
this.gaugeOptions.colorNeedleShadowDown = "black";
|
|
246
|
+
this.gaugeOptions.colorNeedleCircleInner = this.gaugeOptions.colorPlate;
|
|
247
|
+
this.gaugeOptions.colorNeedleCircleInnerEnd = this.gaugeOptions.colorPlate;
|
|
248
|
+
this.gaugeOptions.colorNeedleCircleOuter = this.gaugeOptions.colorPlate;
|
|
249
|
+
this.gaugeOptions.colorNeedleCircleOuterEnd = this.gaugeOptions.colorPlate;
|
|
250
|
+
// Radial gauge subType
|
|
251
|
+
switch (this.widgetProperties.config.gauge.subType) {
|
|
252
|
+
case "capacity":
|
|
253
|
+
this.configureCapacityGauge();
|
|
254
|
+
break;
|
|
255
|
+
case "measuring":
|
|
256
|
+
this.configureMeasuringGauge();
|
|
257
|
+
break;
|
|
258
|
+
default:
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
configureCapacityGauge() {
|
|
262
|
+
this.gaugeOptions.minValue = this.widgetProperties.config.displayScale.lower;
|
|
263
|
+
this.gaugeOptions.maxValue = this.widgetProperties.config.displayScale.upper;
|
|
264
|
+
this.gaugeOptions.units = this.widgetProperties.config.paths['gaugePath'].convertUnitTo;
|
|
265
|
+
this.gaugeOptions.fontTitleSize = 40;
|
|
266
|
+
this.gaugeOptions.barProgress = true;
|
|
267
|
+
this.gaugeOptions.barWidth = 20;
|
|
268
|
+
this.gaugeOptions.colorBarProgress = getColors(this.widgetProperties.config.color, this.theme()).dim;
|
|
269
|
+
this.gaugeOptions.valueBox = true;
|
|
270
|
+
this.gaugeOptions.fontValueSize = 60;
|
|
271
|
+
this.gaugeOptions.valueBoxWidth = 10;
|
|
272
|
+
this.gaugeOptions.valueBoxBorderRadius = 5;
|
|
273
|
+
this.gaugeOptions.valueBoxStroke = 0;
|
|
274
|
+
this.gaugeOptions.colorValueBoxBackground = '';
|
|
275
|
+
this.gaugeOptions.colorValueBoxRect = '';
|
|
276
|
+
this.gaugeOptions.colorValueBoxRectEnd = '';
|
|
277
|
+
this.gaugeOptions.ticksAngle = 360;
|
|
278
|
+
this.gaugeOptions.startAngle = this.widgetProperties.config.gauge.scaleStart || 180;
|
|
279
|
+
this.gaugeOptions.majorTicks = 0;
|
|
280
|
+
this.gaugeOptions.exactTicks = true;
|
|
281
|
+
this.gaugeOptions.strokeTicks = false;
|
|
282
|
+
this.gaugeOptions.minorTicks = 0;
|
|
283
|
+
this.gaugeOptions.numbersMargin = 0;
|
|
284
|
+
this.gaugeOptions.fontNumbersSize = 0;
|
|
285
|
+
this.gaugeOptions.colorMajorTicks = this.gaugeOptions.colorPlate; // canvas gauge bug with MajorTicks; always drawing first tick and using color="" does not work
|
|
286
|
+
this.gaugeOptions.colorNumbers = this.gaugeOptions.colorMinorTicks = "";
|
|
287
|
+
this.gaugeOptions.needle = true;
|
|
288
|
+
this.gaugeOptions.needleType = this.LINE;
|
|
289
|
+
this.gaugeOptions.needleWidth = 2;
|
|
290
|
+
this.gaugeOptions.needleShadow = false;
|
|
291
|
+
this.gaugeOptions.needleStart = 75;
|
|
292
|
+
this.gaugeOptions.needleEnd = 95;
|
|
293
|
+
this.gaugeOptions.needleCircleSize = 1;
|
|
294
|
+
this.gaugeOptions.needleCircleInner = false;
|
|
295
|
+
this.gaugeOptions.needleCircleOuter = false;
|
|
296
|
+
this.gaugeOptions.borders = true;
|
|
297
|
+
this.gaugeOptions.borderOuterWidth = 2;
|
|
298
|
+
this.gaugeOptions.borderMiddleWidth = 1;
|
|
299
|
+
this.gaugeOptions.borderInnerWidth = 0;
|
|
300
|
+
this.gaugeOptions.borderShadowWidth = 0;
|
|
301
|
+
this.gaugeOptions.animationTarget = this.ANIMATION_TARGET_NEEDLE;
|
|
302
|
+
this.gaugeOptions.useMinPath = false;
|
|
303
|
+
}
|
|
304
|
+
configureMeasuringGauge() {
|
|
305
|
+
this.adjustedScale = adjustLinearScaleAndMajorTicks(this.widgetProperties.config.displayScale.lower, this.widgetProperties.config.displayScale.upper, this.widgetProperties.config.gauge.barStartPosition === "right" ? true : false);
|
|
306
|
+
this.gaugeOptions.minValue = this.adjustedScale.min;
|
|
307
|
+
this.gaugeOptions.maxValue = this.adjustedScale.max;
|
|
308
|
+
this.gaugeOptions.units = this.widgetProperties.config.paths['gaugePath'].convertUnitTo;
|
|
309
|
+
this.gaugeOptions.fontTitleSize = 24;
|
|
310
|
+
this.gaugeOptions.barProgress = true;
|
|
311
|
+
this.gaugeOptions.barWidth = 15;
|
|
312
|
+
this.gaugeOptions.valueBox = true;
|
|
313
|
+
this.gaugeOptions.fontValueSize = 60;
|
|
314
|
+
this.gaugeOptions.valueBoxWidth = 100;
|
|
315
|
+
this.gaugeOptions.valueBoxBorderRadius = 0;
|
|
316
|
+
this.gaugeOptions.valueBoxStroke = 0;
|
|
317
|
+
this.gaugeOptions.colorValueBoxBackground = "";
|
|
318
|
+
this.gaugeOptions.exactTicks = false;
|
|
319
|
+
this.gaugeOptions.majorTicks = this.adjustedScale.majorTicks;
|
|
320
|
+
this.gaugeOptions.minorTicks = 2;
|
|
321
|
+
this.gaugeOptions.ticksAngle = 270;
|
|
322
|
+
this.gaugeOptions.startAngle = 45;
|
|
323
|
+
this.gaugeOptions.barStartPosition = this.widgetProperties.config.gauge.barStartPosition || "left";
|
|
324
|
+
this.gaugeOptions.strokeTicks = true;
|
|
325
|
+
this.gaugeOptions.numbersMargin = 3;
|
|
326
|
+
this.gaugeOptions.fontNumbersSize = 15;
|
|
327
|
+
this.gaugeOptions.needle = true;
|
|
328
|
+
this.gaugeOptions.needleType = this.LINE;
|
|
329
|
+
this.gaugeOptions.needleWidth = 2;
|
|
330
|
+
this.gaugeOptions.needleShadow = false;
|
|
331
|
+
this.gaugeOptions.needleStart = 0;
|
|
332
|
+
this.gaugeOptions.needleEnd = 95;
|
|
333
|
+
this.gaugeOptions.needleCircleSize = 10;
|
|
334
|
+
this.gaugeOptions.needleCircleInner = false;
|
|
335
|
+
this.gaugeOptions.needleCircleOuter = false;
|
|
336
|
+
this.gaugeOptions.borders = true;
|
|
337
|
+
this.gaugeOptions.borderOuterWidth = 2;
|
|
338
|
+
this.gaugeOptions.borderMiddleWidth = 1;
|
|
339
|
+
this.gaugeOptions.borderInnerWidth = 0;
|
|
340
|
+
this.gaugeOptions.borderShadowWidth = 0;
|
|
341
|
+
this.gaugeOptions.animationTarget = this.ANIMATION_TARGET_NEEDLE;
|
|
342
|
+
this.gaugeOptions.useMinPath = false;
|
|
343
|
+
}
|
|
344
|
+
ngOnDestroy() {
|
|
345
|
+
this.unsubscribeDataStream();
|
|
346
|
+
this.unsubscribeMetaStream();
|
|
347
|
+
this.metaSub?.unsubscribe();
|
|
348
|
+
}
|
|
349
|
+
};
|
|
350
|
+
WidgetGaugeNgRadialComponent = __decorate([
|
|
351
|
+
Component({
|
|
352
|
+
selector: 'widget-gauge-ng-radial',
|
|
353
|
+
templateUrl: './widget-gauge-ng-radial.component.html',
|
|
354
|
+
styleUrls: ['./widget-gauge-ng-radial.component.scss'],
|
|
355
|
+
imports: [WidgetHostComponent, NgxResizeObserverModule, GaugesModule]
|
|
356
|
+
}),
|
|
357
|
+
__metadata("design:paramtypes", [])
|
|
358
|
+
], WidgetGaugeNgRadialComponent);
|
|
359
|
+
export { WidgetGaugeNgRadialComponent };
|
|
360
|
+
//# sourceMappingURL=widget-gauge-ng-radial.component.js.map
|
package/dist/out-tsc/src/app/widgets/widget-gauge-ng-radial/widget-gauge-ng-radial.component.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-gauge-ng-radial.component.js","sourceRoot":"","sources":["../../../../../../src/app/widgets/widget-gauge-ng-radial/widget-gauge-ng-radial.component.ts"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;GAMG;AACH,OAAO,EAAE,SAAS,EAAoC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE3G,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,OAAO,EAAE,YAAY,EAAmC,MAAM,0BAA0B,CAAC;AACzF,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yDAAyD,CAAC;AAE9F,OAAO,EAAE,8BAA8B,EAAU,MAAM,kCAAkC,CAAC;AAC1F,OAAO,EAAE,MAAM,EAAE,MAAM,0CAA0C,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,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AuB,CAAC;QACjE,IAAI,CAAC,YAAY,CAAC,UAAU,GAAG,KAAK,CAAC;IACvC,CAAC;IAED,WAAW;QACT,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAC7B,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAC7B,IAAI,CAAC,OAAO,EAAE,WAAW,EAAE,CAAC;IAC9B,CAAC;CACF,CAAA;AA/WY,4BAA4B;IANxC,SAAS,CAAC;QACP,QAAQ,EAAE,wBAAwB;QAClC,WAAW,EAAE,yCAAyC;QACtD,SAAS,EAAE,CAAC,yCAAyC,CAAC;QACtD,OAAO,EAAE,CAAC,mBAAmB,EAAE,uBAAuB,EAAE,YAAY,CAAC;KACxE,CAAC;;GACW,4BAA4B,CA+WxC"}
|
package/dist/out-tsc/src/app/widgets/widget-gauge-ng-radial/widget-gauge-ng-radial.component.spec.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TestBed, waitForAsync } from '@angular/core/testing';
|
|
2
|
+
import { WidgetGaugeNgRadialComponent } from './widget-gauge-ng-radial.component';
|
|
3
|
+
describe('WidgetGaugeNgRadialComponent', () => {
|
|
4
|
+
let component;
|
|
5
|
+
let fixture;
|
|
6
|
+
beforeEach(waitForAsync(() => {
|
|
7
|
+
TestBed.configureTestingModule({
|
|
8
|
+
imports: [WidgetGaugeNgRadialComponent]
|
|
9
|
+
})
|
|
10
|
+
.compileComponents();
|
|
11
|
+
}));
|
|
12
|
+
beforeEach(() => {
|
|
13
|
+
fixture = TestBed.createComponent(WidgetGaugeNgRadialComponent);
|
|
14
|
+
component = fixture.componentInstance;
|
|
15
|
+
fixture.detectChanges();
|
|
16
|
+
});
|
|
17
|
+
it('should create', () => {
|
|
18
|
+
expect(component).toBeTruthy();
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=widget-gauge-ng-radial.component.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-gauge-ng-radial.component.spec.js","sourceRoot":"","sources":["../../../../../../src/app/widgets/widget-gauge-ng-radial/widget-gauge-ng-radial.component.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEhF,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAElF,QAAQ,CAAC,8BAA8B,EAAE,GAAG,EAAE;IAC5C,IAAI,SAAuC,CAAC;IAC5C,IAAI,OAAuD,CAAC;IAE5D,UAAU,CAAC,YAAY,CAAC,GAAG,EAAE;QAC3B,OAAO,CAAC,sBAAsB,CAAC;YAC/B,OAAO,EAAE,CAAC,4BAA4B,CAAC;SAC1C,CAAC;aACG,iBAAiB,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC,CAAC;IAEJ,UAAU,CAAC,GAAG,EAAE;QACd,OAAO,GAAG,OAAO,CAAC,eAAe,CAAC,4BAA4B,CAAC,CAAC;QAChE,SAAS,GAAG,OAAO,CAAC,iBAAiB,CAAC;QACtC,OAAO,CAAC,aAAa,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,eAAe,EAAE,GAAG,EAAE;QACvB,MAAM,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,119 @@
|
|
|
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 } 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 { GaugeSteelComponent } from '../gauge-steel/gauge-steel.component';
|
|
14
|
+
let WidgetSteelGaugeComponent = class WidgetSteelGaugeComponent extends BaseWidgetComponent {
|
|
15
|
+
dataValue = 0;
|
|
16
|
+
zones = [];
|
|
17
|
+
// Zones support
|
|
18
|
+
metaSub;
|
|
19
|
+
constructor() {
|
|
20
|
+
super();
|
|
21
|
+
this.defaultConfig = {
|
|
22
|
+
displayName: "Gauge Label",
|
|
23
|
+
filterSelfPaths: true,
|
|
24
|
+
paths: {
|
|
25
|
+
"gaugePath": {
|
|
26
|
+
description: "Numeric Data",
|
|
27
|
+
path: null,
|
|
28
|
+
source: null,
|
|
29
|
+
pathType: "number",
|
|
30
|
+
isPathConfigurable: true,
|
|
31
|
+
showPathSkUnitsFilter: true,
|
|
32
|
+
pathSkUnitsFilter: null,
|
|
33
|
+
convertUnitTo: "unitless",
|
|
34
|
+
sampleTime: 500
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
displayScale: {
|
|
38
|
+
type: 'linear',
|
|
39
|
+
lower: 0,
|
|
40
|
+
upper: 100
|
|
41
|
+
},
|
|
42
|
+
gauge: {
|
|
43
|
+
type: 'steel',
|
|
44
|
+
subType: 'radial',
|
|
45
|
+
backgroundColor: 'carbon',
|
|
46
|
+
faceColor: 'anthracite',
|
|
47
|
+
radialSize: 'full',
|
|
48
|
+
rotateFace: false,
|
|
49
|
+
digitalMeter: false,
|
|
50
|
+
},
|
|
51
|
+
// numInt: 1,
|
|
52
|
+
numDecimal: 2,
|
|
53
|
+
enableTimeout: false,
|
|
54
|
+
dataTimeout: 5,
|
|
55
|
+
ignoreZones: false
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
ngOnInit() {
|
|
59
|
+
this.validateConfig();
|
|
60
|
+
this.startWidget();
|
|
61
|
+
}
|
|
62
|
+
startWidget() {
|
|
63
|
+
this.unsubscribeDataStream();
|
|
64
|
+
this.unsubscribeMetaStream();
|
|
65
|
+
this.metaSub?.unsubscribe();
|
|
66
|
+
this.observeDataStream('gaugePath', newValue => {
|
|
67
|
+
if (!newValue || !newValue.data) {
|
|
68
|
+
newValue = {
|
|
69
|
+
data: {
|
|
70
|
+
value: 0,
|
|
71
|
+
timestamp: new Date(),
|
|
72
|
+
},
|
|
73
|
+
state: "normal" // Default state
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
// Compound value to displayScale
|
|
77
|
+
this.dataValue = Math.min(Math.max(newValue.data.value, this.widgetProperties.config.displayScale.lower), this.widgetProperties.config.displayScale.upper);
|
|
78
|
+
});
|
|
79
|
+
if (!this.widgetProperties.config.ignoreZones) {
|
|
80
|
+
this.observeMetaStream();
|
|
81
|
+
this.metaSub = this.zones$.subscribe(zones => {
|
|
82
|
+
if (zones) {
|
|
83
|
+
if (zones.length > 0) {
|
|
84
|
+
this.zones = zones;
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
this.zones = [];
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
this.zones = [];
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
this.zones = [];
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
updateConfig(config) {
|
|
100
|
+
this.widgetProperties.config = config;
|
|
101
|
+
this.startWidget();
|
|
102
|
+
}
|
|
103
|
+
ngOnDestroy() {
|
|
104
|
+
this.destroyDataStreams();
|
|
105
|
+
this.unsubscribeMetaStream();
|
|
106
|
+
this.metaSub?.unsubscribe();
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
WidgetSteelGaugeComponent = __decorate([
|
|
110
|
+
Component({
|
|
111
|
+
selector: 'widget-gauge-steel',
|
|
112
|
+
templateUrl: './widget-gauge-steel.component.html',
|
|
113
|
+
styleUrls: ['./widget-gauge-steel.component.scss'],
|
|
114
|
+
imports: [WidgetHostComponent, GaugeSteelComponent]
|
|
115
|
+
}),
|
|
116
|
+
__metadata("design:paramtypes", [])
|
|
117
|
+
], WidgetSteelGaugeComponent);
|
|
118
|
+
export { WidgetSteelGaugeComponent };
|
|
119
|
+
//# sourceMappingURL=widget-gauge-steel.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-gauge-steel.component.js","sourceRoot":"","sources":["../../../../../../src/app/widgets/widget-gauge-steel/widget-gauge-steel.component.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAqB,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yDAAyD,CAAC;AAE9F,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAUpE,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,mBAAmB;IACtD,SAAS,GAAG,CAAC,CAAC;IACd,KAAK,GAAc,EAAE,CAAC;IAEhC,gBAAgB;IACR,OAAO,CAAe;IAE9B;QACE,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,aAAa,GAAG;YACnB,WAAW,EAAE,aAAa;YAC1B,eAAe,EAAE,IAAI;YACrB,KAAK,EAAE;gBACL,WAAW,EAAE;oBACX,WAAW,EAAE,cAAc;oBAC3B,IAAI,EAAE,IAAI;oBACV,MAAM,EAAE,IAAI;oBACZ,QAAQ,EAAE,QAAQ;oBAClB,kBAAkB,EAAE,IAAI;oBACxB,qBAAqB,EAAE,IAAI;oBAC3B,iBAAiB,EAAE,IAAI;oBACv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ed, waitForAsync } from '@angular/core/testing';
|
|
2
|
+
import { WidgetSteelGaugeComponent } from './widget-gauge-steel.component';
|
|
3
|
+
describe('WidgetGaugeComponent', () => {
|
|
4
|
+
let component;
|
|
5
|
+
let fixture;
|
|
6
|
+
beforeEach(waitForAsync(() => {
|
|
7
|
+
TestBed.configureTestingModule({
|
|
8
|
+
imports: [WidgetSteelGaugeComponent]
|
|
9
|
+
})
|
|
10
|
+
.compileComponents();
|
|
11
|
+
}));
|
|
12
|
+
beforeEach(() => {
|
|
13
|
+
fixture = TestBed.createComponent(WidgetSteelGaugeComponent);
|
|
14
|
+
component = fixture.componentInstance;
|
|
15
|
+
fixture.detectChanges();
|
|
16
|
+
});
|
|
17
|
+
it('should be created', () => {
|
|
18
|
+
expect(component).toBeTruthy();
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=widget-gauge-steel.component.spec.js.map
|
package/dist/out-tsc/src/app/widgets/widget-gauge-steel/widget-gauge-steel.component.spec.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-gauge-steel.component.spec.js","sourceRoot":"","sources":["../../../../../../src/app/widgets/widget-gauge-steel/widget-gauge-steel.component.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEhF,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IACpC,IAAI,SAAoC,CAAC;IACzC,IAAI,OAAoD,CAAC;IAEzD,UAAU,CAAC,YAAY,CAAC,GAAG,EAAE;QAC3B,OAAO,CAAC,sBAAsB,CAAC;YAC/B,OAAO,EAAE,CAAC,yBAAyB,CAAC;SACvC,CAAC;aACG,iBAAiB,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC,CAAC;IAEJ,UAAU,CAAC,GAAG,EAAE;QACd,OAAO,GAAG,OAAO,CAAC,eAAe,CAAC,yBAAyB,CAAC,CAAC;QAC7D,SAAS,GAAG,OAAO,CAAC,iBAAiB,CAAC;QACtC,OAAO,CAAC,aAAa,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mBAAmB,EAAE,GAAG,EAAE;QAC3B,MAAM,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|