@c8y/ngx-components 1022.10.1 → 1022.13.0
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/actility-device-registration/actility-device-registration-button.component.d.ts +1 -1
- package/actility-device-registration/actility-device-registration-button.component.d.ts.map +1 -1
- package/actility-device-registration/actility-device-registration.component.d.ts +1 -1
- package/actility-device-registration/actility-device-registration.component.d.ts.map +1 -1
- package/actility-device-registration/actility-device-registration.module.d.ts +4 -4
- package/actility-device-registration/actility-device-registration.module.d.ts.map +1 -1
- package/alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.component.d.ts +1 -1
- package/alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.component.d.ts.map +1 -1
- package/alarm-event-selector/alarm-event-selection-list/alarm-event-selection-list.component.d.ts +25 -1
- package/alarm-event-selector/alarm-event-selection-list/alarm-event-selection-list.component.d.ts.map +1 -1
- package/alarm-event-selector/alarm-event-selector-list-item/alarm-event-selector-list-item.component.d.ts +1 -1
- package/alarm-event-selector/alarm-event-selector-list-item/alarm-event-selector-list-item.component.d.ts.map +1 -1
- package/alarm-event-selector/alarm-event-selector-modal/alarm-event-selector-modal.component.d.ts +1 -1
- package/alarm-event-selector/alarm-event-selector-modal/alarm-event-selector-modal.component.d.ts.map +1 -1
- package/alarm-event-selector/alarm-event-selector.component.d.ts +1 -1
- package/alarm-event-selector/alarm-event-selector.component.d.ts.map +1 -1
- package/alarm-event-selector/alarm-event-selector.module.d.ts +15 -15
- package/alarm-event-selector/alarm-event-selector.module.d.ts.map +1 -1
- package/alarm-event-selector/custom-alarm-event-form/custom-alarm-event-form.component.d.ts +1 -1
- package/alarm-event-selector/custom-alarm-event-form/custom-alarm-event-form.component.d.ts.map +1 -1
- package/alarm-event-selector/pipes/includes-alarm.pipe.d.ts +1 -1
- package/alarm-event-selector/pipes/includes-alarm.pipe.d.ts.map +1 -1
- package/alarms/alarm-details.component.d.ts +1 -1
- package/alarms/alarm-details.component.d.ts.map +1 -1
- package/alarms/alarm-empty.component.d.ts +1 -1
- package/alarms/alarm-empty.component.d.ts.map +1 -1
- package/alarms/alarm-info.component.d.ts +1 -1
- package/alarms/alarm-info.component.d.ts.map +1 -1
- package/alarms/alarm-severities-to-title.pipe.d.ts +1 -1
- package/alarms/alarm-severities-to-title.pipe.d.ts.map +1 -1
- package/alarms/alarm-severity-to-label.pipe.d.ts +1 -1
- package/alarms/alarm-severity-to-label.pipe.d.ts.map +1 -1
- package/alarms/alarm-status-to-icon.pipe.d.ts +1 -1
- package/alarms/alarm-status-to-icon.pipe.d.ts.map +1 -1
- package/alarms/alarm-status-to-label.pipe.d.ts +1 -1
- package/alarms/alarm-status-to-label.pipe.d.ts.map +1 -1
- package/alarms/alarms-date-filter.component.d.ts +1 -1
- package/alarms/alarms-date-filter.component.d.ts.map +1 -1
- package/alarms/alarms-filter.component.d.ts +1 -1
- package/alarms/alarms-filter.component.d.ts.map +1 -1
- package/alarms/alarms-icon.component.d.ts +1 -1
- package/alarms/alarms-icon.component.d.ts.map +1 -1
- package/alarms/alarms-interval-refresh.component.d.ts +1 -1
- package/alarms/alarms-interval-refresh.component.d.ts.map +1 -1
- package/alarms/alarms-list.component.d.ts +1 -1
- package/alarms/alarms-list.component.d.ts.map +1 -1
- package/alarms/alarms-type-filter.component.d.ts +1 -1
- package/alarms/alarms-type-filter.component.d.ts.map +1 -1
- package/alarms/alarms.component.d.ts +1 -1
- package/alarms/alarms.component.d.ts.map +1 -1
- package/alarms/alarms.module.d.ts +27 -27
- package/alarms/alarms.module.d.ts.map +1 -1
- package/alarms/audit-changes-message.pipe.d.ts +1 -1
- package/alarms/audit-changes-message.pipe.d.ts.map +1 -1
- package/api/api.service.d.ts +8 -0
- package/api/api.service.d.ts.map +1 -1
- package/app-logs/app-logs-auto-refresh.component.d.ts +1 -1
- package/app-logs/app-logs-auto-refresh.component.d.ts.map +1 -1
- package/app-logs/app-logs-auto-refresh.module.d.ts +4 -4
- package/app-logs/app-logs-auto-refresh.module.d.ts.map +1 -1
- package/assets-navigator/asset-selector/asset-selector-node.component.d.ts +1 -1
- package/assets-navigator/asset-selector/asset-selector-node.component.d.ts.map +1 -1
- package/assets-navigator/asset-selector/asset-selector.component.d.ts +12 -1
- package/assets-navigator/asset-selector/asset-selector.component.d.ts.map +1 -1
- package/assets-navigator/asset-selector/asset-selector.module.d.ts +8 -8
- package/assets-navigator/asset-selector/asset-selector.module.d.ts.map +1 -1
- package/assets-navigator/asset-selector/miller-view.component.d.ts +1 -1
- package/assets-navigator/asset-selector/miller-view.component.d.ts.map +1 -1
- package/auth-configuration/basic-settings/auth-configuration.component.d.ts +1 -1
- package/auth-configuration/basic-settings/auth-configuration.component.d.ts.map +1 -1
- package/auth-configuration/basic-settings/basic-auth-settings.component.d.ts +1 -1
- package/auth-configuration/basic-settings/basic-auth-settings.component.d.ts.map +1 -1
- package/auth-configuration/basic-settings/basic-settings.module.d.ts +8 -8
- package/auth-configuration/basic-settings/basic-settings.module.d.ts.map +1 -1
- package/auth-configuration/basic-settings/login-settings.component.d.ts +2 -2
- package/auth-configuration/basic-settings/login-settings.component.d.ts.map +1 -1
- package/auth-configuration/basic-settings/session-configuration.component.d.ts +1 -1
- package/auth-configuration/basic-settings/session-configuration.component.d.ts.map +1 -1
- package/auth-configuration/basic-settings/tfa-settings.component.d.ts +1 -1
- package/auth-configuration/basic-settings/tfa-settings.component.d.ts.map +1 -1
- package/auth-configuration/sso-configuration/sso-configuration.component.d.ts +1 -1
- package/auth-configuration/sso-configuration/sso-configuration.component.d.ts.map +1 -1
- package/auth-configuration/sso-configuration/sso-configuration.module.d.ts +24 -24
- package/auth-configuration/sso-configuration/sso-configuration.module.d.ts.map +1 -1
- package/auth-configuration/sso-configuration/template-parts/access-mapping/access-mapping.component.d.ts +1 -1
- package/auth-configuration/sso-configuration/template-parts/access-mapping/access-mapping.component.d.ts.map +1 -1
- package/auth-configuration/sso-configuration/template-parts/access-mapping/child-predicates.component.d.ts +1 -1
- package/auth-configuration/sso-configuration/template-parts/access-mapping/child-predicates.component.d.ts.map +1 -1
- package/auth-configuration/sso-configuration/template-parts/access-mapping/dynamic-access-mapping.component.d.ts +1 -1
- package/auth-configuration/sso-configuration/template-parts/access-mapping/dynamic-access-mapping.component.d.ts.map +1 -1
- package/auth-configuration/sso-configuration/template-parts/access-mapping/inventory-roles-mapping.component.d.ts +1 -1
- package/auth-configuration/sso-configuration/template-parts/access-mapping/inventory-roles-mapping.component.d.ts.map +1 -1
- package/auth-configuration/sso-configuration/template-parts/access-mapping/inventory-roles-modal.component.d.ts +1 -1
- package/auth-configuration/sso-configuration/template-parts/access-mapping/inventory-roles-modal.component.d.ts.map +1 -1
- package/auth-configuration/sso-configuration/template-parts/basic-configuration.component.d.ts +1 -1
- package/auth-configuration/sso-configuration/template-parts/basic-configuration.component.d.ts.map +1 -1
- package/auth-configuration/sso-configuration/template-parts/external-token-config.component.d.ts +1 -1
- package/auth-configuration/sso-configuration/template-parts/external-token-config.component.d.ts.map +1 -1
- package/auth-configuration/sso-configuration/template-parts/logout-configuration.component.d.ts +1 -1
- package/auth-configuration/sso-configuration/template-parts/logout-configuration.component.d.ts.map +1 -1
- package/auth-configuration/sso-configuration/template-parts/request-configuration.component.d.ts +1 -1
- package/auth-configuration/sso-configuration/template-parts/request-configuration.component.d.ts.map +1 -1
- package/auth-configuration/sso-configuration/template-parts/signature-configuration.component.d.ts +1 -1
- package/auth-configuration/sso-configuration/template-parts/signature-configuration.component.d.ts.map +1 -1
- package/auth-configuration/sso-configuration/template-parts/user-data-mapping.component.d.ts +1 -1
- package/auth-configuration/sso-configuration/template-parts/user-data-mapping.component.d.ts.map +1 -1
- package/auth-configuration/sso-configuration/template-parts/user-id-configuration.component.d.ts +1 -1
- package/auth-configuration/sso-configuration/template-parts/user-id-configuration.component.d.ts.map +1 -1
- package/auth-configuration/sso-configuration/templates/aad-template.component.d.ts +1 -1
- package/auth-configuration/sso-configuration/templates/aad-template.component.d.ts.map +1 -1
- package/auth-configuration/sso-configuration/templates/custom-template.component.d.ts +1 -1
- package/auth-configuration/sso-configuration/templates/custom-template.component.d.ts.map +1 -1
- package/auth-configuration/sso-configuration/templates/key-cloak-template.component.d.ts +1 -1
- package/auth-configuration/sso-configuration/templates/key-cloak-template.component.d.ts.map +1 -1
- package/bookmarks/bookmarks.component.d.ts +1 -1
- package/bookmarks/bookmarks.component.d.ts.map +1 -1
- package/bookmarks/bookmarks.module.d.ts +7 -7
- package/bookmarks/bookmarks.module.d.ts.map +1 -1
- package/bookmarks/edit-bookmarks/edit-bookmarks.component.d.ts +1 -1
- package/bookmarks/edit-bookmarks/edit-bookmarks.component.d.ts.map +1 -1
- package/child-devices/child-devices.component.d.ts +1 -1
- package/child-devices/child-devices.component.d.ts.map +1 -1
- package/child-devices/child-devices.module.d.ts +5 -5
- package/child-devices/child-devices.module.d.ts.map +1 -1
- package/cockpit-config/cockpit-config.module.d.ts +17 -17
- package/cockpit-config/cockpit-config.module.d.ts.map +1 -1
- package/cockpit-config/cockpit-configuration.component.d.ts +1 -1
- package/cockpit-config/cockpit-configuration.component.d.ts.map +1 -1
- package/cockpit-config/feature-config.component.d.ts +1 -1
- package/cockpit-config/feature-config.component.d.ts.map +1 -1
- package/cockpit-config/home-dashboard-config.component.d.ts +1 -1
- package/cockpit-config/home-dashboard-config.component.d.ts.map +1 -1
- package/cockpit-config/misc-config.component.d.ts +1 -1
- package/cockpit-config/misc-config.component.d.ts.map +1 -1
- package/cockpit-config/root-node-config.component.d.ts +1 -1
- package/cockpit-config/root-node-config.component.d.ts.map +1 -1
- package/cockpit-config/setup/cockpit-setup-step1.component.d.ts +1 -1
- package/cockpit-config/setup/cockpit-setup-step1.component.d.ts.map +1 -1
- package/cockpit-config/setup/cockpit-setup-step2.component.d.ts +1 -1
- package/cockpit-config/setup/cockpit-setup-step2.component.d.ts.map +1 -1
- package/cockpit-config/setup/cockpit-setup-step3.component.d.ts +1 -1
- package/cockpit-config/setup/cockpit-setup-step3.component.d.ts.map +1 -1
- package/cockpit-config/setup/cockpit-setup-step4.component.d.ts +1 -1
- package/cockpit-config/setup/cockpit-setup-step4.component.d.ts.map +1 -1
- package/cockpit-config/setup/cockpit-setup-stepper-buttons.component.d.ts +1 -1
- package/cockpit-config/setup/cockpit-setup-stepper-buttons.component.d.ts.map +1 -1
- package/context-dashboard/add-dashboard.component.d.ts +1 -1
- package/context-dashboard/add-dashboard.component.d.ts.map +1 -1
- package/context-dashboard/context-dashboard.component.d.ts +2 -1
- package/context-dashboard/context-dashboard.component.d.ts.map +1 -1
- package/context-dashboard/context-dashboard.model.d.ts +0 -1
- package/context-dashboard/context-dashboard.model.d.ts.map +1 -1
- package/context-dashboard/context-dashboard.module.d.ts +26 -19
- package/context-dashboard/context-dashboard.module.d.ts.map +1 -1
- package/context-dashboard/context-dashboard.service.d.ts +6 -1
- package/context-dashboard/context-dashboard.service.d.ts.map +1 -1
- package/context-dashboard/dashboard-detail.component.d.ts +2 -2
- package/context-dashboard/dashboard-detail.component.d.ts.map +1 -1
- package/context-dashboard/device-info-dashboard/device-info-dashboard.component.d.ts +1 -1
- package/context-dashboard/device-info-dashboard/device-info-dashboard.component.d.ts.map +1 -1
- package/context-dashboard/device-info-dashboard/device-info-dashboard.module.d.ts +5 -5
- package/context-dashboard/device-info-dashboard/device-info-dashboard.module.d.ts.map +1 -1
- package/context-dashboard/device-management-home-dashboard/device-management-home-dashboard.component.d.ts +1 -1
- package/context-dashboard/device-management-home-dashboard/device-management-home-dashboard.component.d.ts.map +1 -1
- package/context-dashboard/device-management-home-dashboard/device-management-home-dashboard.module.d.ts +5 -5
- package/context-dashboard/device-management-home-dashboard/device-management-home-dashboard.module.d.ts.map +1 -1
- package/context-dashboard/paste-dashboard-action.component.d.ts +1 -1
- package/context-dashboard/paste-dashboard-action.component.d.ts.map +1 -1
- package/context-dashboard/widget-config.component.d.ts +1 -1
- package/context-dashboard/widget-config.component.d.ts.map +1 -1
- package/context-dashboard/widget-config.service.d.ts +1 -1
- package/core/alert/alert.service.d.ts +14 -5
- package/core/alert/alert.service.d.ts.map +1 -1
- package/core/bottom-drawer/bottom-drawer.component.d.ts +3 -0
- package/core/bottom-drawer/bottom-drawer.component.d.ts.map +1 -1
- package/core/breadcrumb/breadcrumb.module.d.ts +3 -3
- package/core/common/ApplicationOptions.d.ts +14 -12
- package/core/common/ApplicationOptions.d.ts.map +1 -1
- package/core/common/date.pipe.d.ts +1 -1
- package/core/common/forOf.directive.d.ts +16 -16
- package/core/common/forOf.directive.d.ts.map +1 -1
- package/core/common/humanize-app-name.pipe.d.ts +7 -0
- package/core/common/humanize-app-name.pipe.d.ts.map +1 -1
- package/core/common/humanize.pipe.d.ts +7 -0
- package/core/common/humanize.pipe.d.ts.map +1 -1
- package/core/common/icon.directive.d.ts +19 -0
- package/core/common/icon.directive.d.ts.map +1 -1
- package/core/common/markdown-to-html.pipe.d.ts +8 -0
- package/core/common/markdown-to-html.pipe.d.ts.map +1 -1
- package/core/common/options.service.d.ts +5 -5
- package/core/common/outlet.directive.d.ts +4 -6
- package/core/common/outlet.directive.d.ts.map +1 -1
- package/core/common/permissions.service.d.ts +12 -12
- package/core/common/service-registry.service.d.ts +2 -1
- package/core/common/service-registry.service.d.ts.map +1 -1
- package/core/common/user-name-initials.pipe.d.ts +7 -0
- package/core/common/user-name-initials.pipe.d.ts.map +1 -1
- package/core/common/user-preferences/user-preferences.service.d.ts +1 -1
- package/core/countdown-interval/countdown-interval.component.d.ts +7 -0
- package/core/countdown-interval/countdown-interval.component.d.ts.map +1 -1
- package/core/date-time-picker/date-time-picker.component.d.ts +20 -0
- package/core/date-time-picker/date-time-picker.component.d.ts.map +1 -1
- package/core/device-status/device-status.component.d.ts +3 -0
- package/core/device-status/device-status.component.d.ts.map +1 -1
- package/core/header/header.model.d.ts +3 -2
- package/core/header/header.model.d.ts.map +1 -1
- package/core/header/title/title.component.d.ts +2 -0
- package/core/header/title/title.component.d.ts.map +1 -1
- package/core/i18n/c8y-translate.directive.d.ts +2 -2
- package/core/list-display-switch/list-display-switch.component.d.ts +9 -0
- package/core/list-display-switch/list-display-switch.component.d.ts.map +1 -1
- package/core/preview-feature/preview-feature.service.d.ts +1 -0
- package/core/preview-feature/preview-feature.service.d.ts.map +1 -1
- package/core/range-display/range-display.component.d.ts +11 -0
- package/core/range-display/range-display.component.d.ts.map +1 -1
- package/core/realtime/realtime.service.d.ts +4 -4
- package/dashboard-manager/dashboard-manager.module.d.ts +8 -8
- package/dashboard-manager/dashboard-manager.module.d.ts.map +1 -1
- package/dashboard-manager/type-dashboard-target-assets-grid/type-dashboard-target-assets-grid.component.d.ts +1 -1
- package/dashboard-manager/type-dashboard-target-assets-grid/type-dashboard-target-assets-grid.component.d.ts.map +1 -1
- package/dashboard-manager/type-dashboard-target-assets-modal/type-dashboard-target-assets-modal.component.d.ts +1 -1
- package/dashboard-manager/type-dashboard-target-assets-modal/type-dashboard-target-assets-modal.component.d.ts.map +1 -1
- package/dashboard-manager/type-dashboards-list/type-dashboards-list.component.d.ts +1 -1
- package/dashboard-manager/type-dashboards-list/type-dashboards-list.component.d.ts.map +1 -1
- package/datapoint-selector/datapoint-attributes-form/datapoint-attributes-form.component.d.ts +1 -1
- package/datapoint-selector/datapoint-attributes-form/datapoint-attributes-form.component.d.ts.map +1 -1
- package/datapoint-selector/datapoint-selection-list/datapoint-selection-list.component.d.ts +10 -1
- package/datapoint-selector/datapoint-selection-list/datapoint-selection-list.component.d.ts.map +1 -1
- package/datapoint-selector/datapoint-selector-list-item/datapoint-selector-list-item.component.d.ts +1 -1
- package/datapoint-selector/datapoint-selector-list-item/datapoint-selector-list-item.component.d.ts.map +1 -1
- package/datapoint-selector/datapoint-selector-modal/datapoint-selector-modal.component.d.ts +1 -1
- package/datapoint-selector/datapoint-selector-modal/datapoint-selector-modal.component.d.ts.map +1 -1
- package/datapoint-selector/datapoint-selector.component.d.ts +1 -1
- package/datapoint-selector/datapoint-selector.component.d.ts.map +1 -1
- package/datapoint-selector/datapoint-selector.module.d.ts +18 -18
- package/datapoint-selector/datapoint-selector.module.d.ts.map +1 -1
- package/datapoint-selector/datapoint-template-popover/datapoint-template-popover.component.d.ts +1 -1
- package/datapoint-selector/datapoint-template-popover/datapoint-template-popover.component.d.ts.map +1 -1
- package/datapoint-selector/pipes/datapoint-label.pipe.d.ts +1 -1
- package/datapoint-selector/pipes/datapoint-label.pipe.d.ts.map +1 -1
- package/datapoint-selector/pipes/filter-datapoints.pipe.d.ts +1 -1
- package/datapoint-selector/pipes/filter-datapoints.pipe.d.ts.map +1 -1
- package/datapoint-selector/pipes/includes-datapoint.pipe.d.ts +1 -1
- package/datapoint-selector/pipes/includes-datapoint.pipe.d.ts.map +1 -1
- package/datapoints-export-selector/datapoints-export-selector.component.d.ts +7 -0
- package/datapoints-export-selector/datapoints-export-selector.component.d.ts.map +1 -1
- package/default-subscriptions/default-subscriptions.component.d.ts +1 -1
- package/default-subscriptions/default-subscriptions.component.d.ts.map +1 -1
- package/default-subscriptions/default-subscriptions.module.d.ts +4 -4
- package/default-subscriptions/default-subscriptions.module.d.ts.map +1 -1
- package/device-grid/columns/alarms.cell-renderer.component.d.ts +1 -1
- package/device-grid/columns/alarms.cell-renderer.component.d.ts.map +1 -1
- package/device-grid/columns/alarms.header-cell-renderer.component.d.ts +1 -1
- package/device-grid/columns/alarms.header-cell-renderer.component.d.ts.map +1 -1
- package/device-grid/columns/group.cell-renderer.component.d.ts +1 -1
- package/device-grid/columns/group.cell-renderer.component.d.ts.map +1 -1
- package/device-grid/columns/group.filtering-form-renderer.component.d.ts +1 -1
- package/device-grid/columns/group.filtering-form-renderer.component.d.ts.map +1 -1
- package/device-grid/columns/model.cell-renderer.component.d.ts +1 -1
- package/device-grid/columns/model.cell-renderer.component.d.ts.map +1 -1
- package/device-grid/columns/name.cell-renderer.component.d.ts +1 -1
- package/device-grid/columns/name.cell-renderer.component.d.ts.map +1 -1
- package/device-grid/columns/registration-date.cell-renderer.component.d.ts +1 -1
- package/device-grid/columns/registration-date.cell-renderer.component.d.ts.map +1 -1
- package/device-grid/columns/serial-number.cell-renderer.component.d.ts +1 -1
- package/device-grid/columns/serial-number.cell-renderer.component.d.ts.map +1 -1
- package/device-grid/columns/status.cell-renderer.component.d.ts +1 -1
- package/device-grid/columns/status.cell-renderer.component.d.ts.map +1 -1
- package/device-grid/device-grid.component.d.ts +1 -1
- package/device-grid/device-grid.component.d.ts.map +1 -1
- package/device-grid/device-grid.module.d.ts +15 -15
- package/device-grid/device-grid.module.d.ts.map +1 -1
- package/device-list/add-smart-group.component.d.ts +1 -1
- package/device-list/add-smart-group.component.d.ts.map +1 -1
- package/device-list/device-list.component.d.ts +1 -1
- package/device-list/device-list.component.d.ts.map +1 -1
- package/device-list/device-list.module.d.ts +8 -8
- package/device-list/device-list.module.d.ts.map +1 -1
- package/device-protocols/device-protocols.module.d.ts +1 -1
- package/device-protocols/device-type-detail.component.d.ts +1 -1
- package/device-protocols/device-type-detail.component.d.ts.map +1 -1
- package/device-protocols/device-type-detail.directive.d.ts +1 -1
- package/device-protocols/device-type-detail.directive.d.ts.map +1 -1
- package/device-provisioned-certificates/device-provisioned-certificates.module.d.ts +7 -7
- package/device-provisioned-certificates/device-provisioned-certificates.module.d.ts.map +1 -1
- package/device-provisioned-certificates/device-tab-provisioned-certificates.component.d.ts +1 -1
- package/device-provisioned-certificates/device-tab-provisioned-certificates.component.d.ts.map +1 -1
- package/ecosystem/activity-log/activity-log.component.d.ts +1 -1
- package/ecosystem/activity-log/activity-log.component.d.ts.map +1 -1
- package/ecosystem/application-plugins/appState.pipe.d.ts +1 -1
- package/ecosystem/application-plugins/appState.pipe.d.ts.map +1 -1
- package/ecosystem/application-plugins/application-plugin-readme.component.d.ts +1 -1
- package/ecosystem/application-plugins/application-plugin-readme.component.d.ts.map +1 -1
- package/ecosystem/application-plugins/application-plugins.component.d.ts +1 -1
- package/ecosystem/application-plugins/application-plugins.component.d.ts.map +1 -1
- package/ecosystem/application-plugins/application-plugins.module.d.ts +14 -14
- package/ecosystem/application-plugins/application-plugins.module.d.ts.map +1 -1
- package/ecosystem/application-plugins/apps-to-update-remotes-select.component.d.ts +2 -2
- package/ecosystem/application-plugins/apps-to-update-remotes-select.component.d.ts.map +1 -1
- package/ecosystem/application-plugins/install-plugin.component.d.ts +1 -1
- package/ecosystem/application-plugins/install-plugin.component.d.ts.map +1 -1
- package/ecosystem/application-plugins/label-cell-renderer.component.d.ts +1 -1
- package/ecosystem/application-plugins/label-cell-renderer.component.d.ts.map +1 -1
- package/ecosystem/application-plugins/only-latest-filter/only-latest-filter.component.d.ts +1 -1
- package/ecosystem/application-plugins/only-latest-filter/only-latest-filter.component.d.ts.map +1 -1
- package/ecosystem/application-plugins/orphaned-status-cell-renderer.component.d.ts +1 -1
- package/ecosystem/application-plugins/orphaned-status-cell-renderer.component.d.ts.map +1 -1
- package/ecosystem/application-plugins/plugin-list-item.component.d.ts +1 -1
- package/ecosystem/application-plugins/plugin-list-item.component.d.ts.map +1 -1
- package/ecosystem/application-plugins/plugin-list.component.d.ts +1 -1
- package/ecosystem/application-plugins/plugin-list.component.d.ts.map +1 -1
- package/ecosystem/application-plugins/update-plugin-of-app/update-plugin-of-app.component.d.ts +1 -1
- package/ecosystem/application-plugins/update-plugin-of-app/update-plugin-of-app.component.d.ts.map +1 -1
- package/ecosystem/application-properties/application-properties.component.d.ts +1 -1
- package/ecosystem/application-properties/application-properties.component.d.ts.map +1 -1
- package/ecosystem/application-properties/subscription-modal/subscription-modal.component.d.ts +1 -1
- package/ecosystem/application-properties/subscription-modal/subscription-modal.component.d.ts.map +1 -1
- package/ecosystem/application-properties/update-application-modal/update-application-modal.component.d.ts +1 -1
- package/ecosystem/application-properties/update-application-modal/update-application-modal.component.d.ts.map +1 -1
- package/ecosystem/applications/add-external-applicaiton/add-external-application.component.d.ts +1 -1
- package/ecosystem/applications/add-external-applicaiton/add-external-application.component.d.ts.map +1 -1
- package/ecosystem/applications/add-web-application/add-web-application.component.d.ts +1 -1
- package/ecosystem/applications/add-web-application/add-web-application.component.d.ts.map +1 -1
- package/ecosystem/applications/application-list/application-list.component.d.ts +1 -1
- package/ecosystem/applications/application-list/application-list.component.d.ts.map +1 -1
- package/ecosystem/applications/install-from-package/install-from-package.component.d.ts +2 -3
- package/ecosystem/applications/install-from-package/install-from-package.component.d.ts.map +1 -1
- package/ecosystem/archived-confirm/archived-confirm-modal.component.d.ts +1 -1
- package/ecosystem/archived-confirm/archived-confirm-modal.component.d.ts.map +1 -1
- package/ecosystem/archived-confirm/archived-confirm.module.d.ts +4 -4
- package/ecosystem/archived-confirm/archived-confirm.module.d.ts.map +1 -1
- package/ecosystem/ecosystem.module.d.ts +34 -34
- package/ecosystem/ecosystem.module.d.ts.map +1 -1
- package/ecosystem/features/feature-list.component.d.ts +1 -1
- package/ecosystem/features/feature-list.component.d.ts.map +1 -1
- package/ecosystem/license-confirm/license-confirm-modal.component.d.ts +1 -1
- package/ecosystem/license-confirm/license-confirm-modal.component.d.ts.map +1 -1
- package/ecosystem/license-confirm/license-confirm.module.d.ts +5 -5
- package/ecosystem/license-confirm/license-confirm.module.d.ts.map +1 -1
- package/ecosystem/license-confirm/license-view.component.d.ts +1 -1
- package/ecosystem/license-confirm/license-view.component.d.ts.map +1 -1
- package/ecosystem/microservices/add-microservice.component.d.ts +1 -1
- package/ecosystem/microservices/add-microservice.component.d.ts.map +1 -1
- package/ecosystem/microservices/microservice-list.component.d.ts +1 -1
- package/ecosystem/microservices/microservice-list.component.d.ts.map +1 -1
- package/ecosystem/packages/add-package.component.d.ts +1 -1
- package/ecosystem/packages/add-package.component.d.ts.map +1 -1
- package/ecosystem/packages/deploy-application/deploy-application.component.d.ts +1 -1
- package/ecosystem/packages/deploy-application/deploy-application.component.d.ts.map +1 -1
- package/ecosystem/packages/package-details/package-details.component.d.ts +1 -1
- package/ecosystem/packages/package-details/package-details.component.d.ts.map +1 -1
- package/ecosystem/packages/package-list/packages-list.component.d.ts +1 -1
- package/ecosystem/packages/package-list/packages-list.component.d.ts.map +1 -1
- package/ecosystem/packages/package-versions/package-contents/contents-apps/contents-apps.component.d.ts +1 -1
- package/ecosystem/packages/package-versions/package-contents/contents-apps/contents-apps.component.d.ts.map +1 -1
- package/ecosystem/packages/package-versions/package-contents/contents-plugins/contents-plugins.component.d.ts +1 -1
- package/ecosystem/packages/package-versions/package-contents/contents-plugins/contents-plugins.component.d.ts.map +1 -1
- package/ecosystem/packages/package-versions/package-contents/packages-contents.component.d.ts +1 -1
- package/ecosystem/packages/package-versions/package-contents/packages-contents.component.d.ts.map +1 -1
- package/ecosystem/packages/package-versions/package-versions-list/package-versions-list.component.d.ts +1 -1
- package/ecosystem/packages/package-versions/package-versions-list/package-versions-list.component.d.ts.map +1 -1
- package/ecosystem/packages/package-versions/packages-versions.component.d.ts +1 -1
- package/ecosystem/packages/package-versions/packages-versions.component.d.ts.map +1 -1
- package/ecosystem/shared/add-application.component.d.ts +1 -1
- package/ecosystem/shared/add-application.component.d.ts.map +1 -1
- package/ecosystem/shared/application-card.component.d.ts +1 -1
- package/ecosystem/shared/application-card.component.d.ts.map +1 -1
- package/ecosystem/shared/application-properties-form.component.d.ts +1 -1
- package/ecosystem/shared/application-properties-form.component.d.ts.map +1 -1
- package/ecosystem/shared/archived-filter/archived-filter.component.d.ts +1 -1
- package/ecosystem/shared/archived-filter/archived-filter.component.d.ts.map +1 -1
- package/ecosystem/shared/duplicate-application/duplicate-application-list/duplicate-application-list.component.d.ts +1 -1
- package/ecosystem/shared/duplicate-application/duplicate-application-list/duplicate-application-list.component.d.ts.map +1 -1
- package/ecosystem/shared/duplicate-application/duplicate-application-properties/duplicate-application-properties.component.d.ts +2 -2
- package/ecosystem/shared/duplicate-application/duplicate-application-properties/duplicate-application-properties.component.d.ts.map +1 -1
- package/ecosystem/shared/duplicate-application/duplicate-application.component.d.ts +1 -1
- package/ecosystem/shared/duplicate-application/duplicate-application.component.d.ts.map +1 -1
- package/ecosystem/shared/list-filters/list-filters.component.d.ts +1 -1
- package/ecosystem/shared/list-filters/list-filters.component.d.ts.map +1 -1
- package/ecosystem/shared/package-version-select/package-version-select.component.d.ts +1 -1
- package/ecosystem/shared/package-version-select/package-version-select.component.d.ts.map +1 -1
- package/ecosystem/shared/shared-ecosystem.module.d.ts +20 -20
- package/ecosystem/shared/shared-ecosystem.module.d.ts.map +1 -1
- package/ecosystem/shared/translate-package-label.pipe.d.ts +1 -1
- package/ecosystem/shared/translate-package-label.pipe.d.ts.map +1 -1
- package/ecosystem/shared/upload-archive.component.d.ts +1 -1
- package/ecosystem/shared/upload-archive.component.d.ts.map +1 -1
- package/fesm2022/c8y-ngx-components-actility-device-registration.mjs +36 -12
- package/fesm2022/c8y-ngx-components-actility-device-registration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-alarm-event-selector.mjs +195 -107
- package/fesm2022/c8y-ngx-components-alarm-event-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-alarms.mjs +236 -96
- package/fesm2022/c8y-ngx-components-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-api.mjs +8 -0
- package/fesm2022/c8y-ngx-components-api.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-app-logs.mjs +6 -8
- package/fesm2022/c8y-ngx-components-app-logs.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-assets-navigator.mjs +74 -26
- package/fesm2022/c8y-ngx-components-assets-navigator.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-auth-configuration.mjs +578 -366
- package/fesm2022/c8y-ngx-components-auth-configuration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-bookmarks.mjs +36 -17
- package/fesm2022/c8y-ngx-components-bookmarks.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-child-devices.mjs +7 -9
- package/fesm2022/c8y-ngx-components-child-devices.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-cockpit-config.mjs +138 -67
- package/fesm2022/c8y-ngx-components-cockpit-config.mjs.map +1 -1
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-appearance-settings.component-B7m2lsIe.mjs → c8y-ngx-components-context-dashboard-dashboard-appearance-settings.component-C-JLbcn5.mjs} +3 -3
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-appearance-settings.component-B7m2lsIe.mjs.map → c8y-ngx-components-context-dashboard-dashboard-appearance-settings.component-C-JLbcn5.mjs.map} +1 -1
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-general-settings.component-BCG_pjJz.mjs → c8y-ngx-components-context-dashboard-dashboard-general-settings.component-RXvOcs04.mjs} +5 -5
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-general-settings.component-BCG_pjJz.mjs.map → c8y-ngx-components-context-dashboard-dashboard-general-settings.component-RXvOcs04.mjs.map} +1 -1
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-version-history.component-DjCdFkJw.mjs → c8y-ngx-components-context-dashboard-dashboard-version-history.component-DmPIJGXO.mjs} +3 -3
- package/fesm2022/{c8y-ngx-components-context-dashboard-dashboard-version-history.component-DjCdFkJw.mjs.map → c8y-ngx-components-context-dashboard-dashboard-version-history.component-DmPIJGXO.mjs.map} +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard.mjs +170 -94
- package/fesm2022/c8y-ngx-components-context-dashboard.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-dashboard-manager.mjs +44 -31
- package/fesm2022/c8y-ngx-components-dashboard-manager.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-selector.mjs +132 -66
- package/fesm2022/c8y-ngx-components-datapoint-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-default-subscriptions.mjs +32 -16
- package/fesm2022/c8y-ngx-components-default-subscriptions.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-grid.mjs +50 -45
- package/fesm2022/c8y-ngx-components-device-grid.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-list.mjs +50 -25
- package/fesm2022/c8y-ngx-components-device-list.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-protocols.mjs +6 -9
- package/fesm2022/c8y-ngx-components-device-protocols.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-provisioned-certificates.mjs +36 -8
- package/fesm2022/c8y-ngx-components-device-provisioned-certificates.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs +155 -72
- package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-archived-confirm.mjs +13 -7
- package/fesm2022/c8y-ngx-components-ecosystem-archived-confirm.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-license-confirm.mjs +43 -12
- package/fesm2022/c8y-ngx-components-ecosystem-license-confirm.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-shared.mjs +179 -80
- package/fesm2022/c8y-ngx-components-ecosystem-shared.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem.mjs +353 -1316
- package/fesm2022/c8y-ngx-components-ecosystem.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-file-preview.mjs +17 -8
- package/fesm2022/c8y-ngx-components-file-preview.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-files-repository.mjs +55 -22
- package/fesm2022/c8y-ngx-components-files-repository.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector.mjs +46 -28
- package/fesm2022/c8y-ngx-components-icon-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-location.mjs +28 -15
- package/fesm2022/c8y-ngx-components-location.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-loriot-device-registration.mjs +36 -12
- package/fesm2022/c8y-ngx-components-loriot-device-registration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-map.mjs +260 -28
- package/fesm2022/c8y-ngx-components-map.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-platform-configuration.mjs +24 -13
- package/fesm2022/c8y-ngx-components-platform-configuration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-protocol-lpwan.mjs +133 -26
- package/fesm2022/c8y-ngx-components-protocol-lpwan.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-register-device.mjs +314 -249
- package/fesm2022/c8y-ngx-components-register-device.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-report-dashboard.mjs +41 -17
- package/fesm2022/c8y-ngx-components-report-dashboard.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-reports.mjs +61 -21
- package/fesm2022/c8y-ngx-components-reports.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-search.mjs +34 -21
- package/fesm2022/c8y-ngx-components-search.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-sigfox-device-registration.mjs +43 -19
- package/fesm2022/c8y-ngx-components-sigfox-device-registration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-sub-assets.mjs +207 -72
- package/fesm2022/c8y-ngx-components-sub-assets.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-tenants.mjs +96 -39
- package/fesm2022/c8y-ngx-components-tenants.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-trusted-certificates.mjs +173 -53
- package/fesm2022/c8y-ngx-components-trusted-certificates.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-upgrade.mjs +19 -10
- package/fesm2022/c8y-ngx-components-upgrade.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-user-roles.mjs +19 -14
- package/fesm2022/c8y-ngx-components-user-roles.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-alarms.mjs +76 -50
- package/fesm2022/c8y-ngx-components-widgets-implementations-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-device-management-welcome.mjs +15 -8
- package/fesm2022/c8y-ngx-components-widgets-implementations-device-management-welcome.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-map.mjs +2 -2
- package/fesm2022/c8y-ngx-components-widgets-implementations-map.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +166 -80
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/file-preview/file-preview.component.d.ts +1 -1
- package/file-preview/file-preview.component.d.ts.map +1 -1
- package/file-preview/file-preview.module.d.ts +3 -3
- package/file-preview/file-preview.module.d.ts.map +1 -1
- package/files-repository/files-repository-upload.component.d.ts +1 -1
- package/files-repository/files-repository-upload.component.d.ts.map +1 -1
- package/files-repository/files-repository.component.d.ts +1 -1
- package/files-repository/files-repository.component.d.ts.map +1 -1
- package/files-repository/files-repository.module.d.ts +6 -6
- package/files-repository/files-repository.module.d.ts.map +1 -1
- package/icon-selector/icon-name.pipe.d.ts +1 -1
- package/icon-selector/icon-name.pipe.d.ts.map +1 -1
- package/icon-selector/icon-selector-modal/icon-selector-modal.component.d.ts +1 -1
- package/icon-selector/icon-selector-modal/icon-selector-modal.component.d.ts.map +1 -1
- package/icon-selector/icon-selector-wrapper/icon-selector-wrapper.component.d.ts +1 -1
- package/icon-selector/icon-selector-wrapper/icon-selector-wrapper.component.d.ts.map +1 -1
- package/icon-selector/icon-selector.component.d.ts +1 -1
- package/icon-selector/icon-selector.component.d.ts.map +1 -1
- package/icon-selector/icon-selector.module.d.ts +8 -8
- package/icon-selector/icon-selector.module.d.ts.map +1 -1
- package/locales/de.po +23 -2
- package/locales/es.po +23 -2
- package/locales/fr.po +23 -2
- package/locales/ja_JP.po +23 -2
- package/locales/ko.po +23 -2
- package/locales/locales.pot +22 -1
- package/locales/nl.po +23 -2
- package/locales/pl.po +23 -2
- package/locales/pt_BR.po +23 -2
- package/locales/zh_CN.po +23 -2
- package/locales/zh_TW.po +23 -2
- package/location/add-location.component.d.ts +1 -1
- package/location/add-location.component.d.ts.map +1 -1
- package/location/location.component.d.ts +1 -1
- package/location/location.component.d.ts.map +1 -1
- package/location/location.module.d.ts +6 -6
- package/location/location.module.d.ts.map +1 -1
- package/loriot-device-registration/loriot-device-registration-button.component.d.ts +1 -1
- package/loriot-device-registration/loriot-device-registration-button.component.d.ts.map +1 -1
- package/loriot-device-registration/loriot-device-registration.component.d.ts +1 -1
- package/loriot-device-registration/loriot-device-registration.component.d.ts.map +1 -1
- package/loriot-device-registration/loriot-device-registration.module.d.ts +4 -4
- package/loriot-device-registration/loriot-device-registration.module.d.ts.map +1 -1
- package/map/cluster-map.component.d.ts +61 -1
- package/map/cluster-map.component.d.ts.map +1 -1
- package/map/map-popup.directive.d.ts +1 -1
- package/map/map-popup.directive.d.ts.map +1 -1
- package/map/map-status.component.d.ts +86 -3
- package/map/map-status.component.d.ts.map +1 -1
- package/map/map.component.d.ts +100 -5
- package/map/map.component.d.ts.map +1 -1
- package/map/map.model.d.ts +98 -4
- package/map/map.model.d.ts.map +1 -1
- package/map/map.module.d.ts +9 -9
- package/map/map.module.d.ts.map +1 -1
- package/package.json +1 -1
- package/platform-configuration/platform-configuration-form.component.d.ts +1 -1
- package/platform-configuration/platform-configuration-form.component.d.ts.map +1 -1
- package/platform-configuration/platform-configuration.module.d.ts +4 -4
- package/platform-configuration/platform-configuration.module.d.ts.map +1 -1
- package/protocol-lpwan/lpwan-protocol.module.d.ts +4 -4
- package/protocol-lpwan/lpwan-protocol.module.d.ts.map +1 -1
- package/protocol-lpwan/lpwan-set-connections.component.d.ts +1 -1
- package/protocol-lpwan/lpwan-set-connections.component.d.ts.map +1 -1
- package/protocol-lpwan/lpwan-set-device-protocol.component.d.ts +1 -1
- package/protocol-lpwan/lpwan-set-device-protocol.component.d.ts.map +1 -1
- package/protocol-lpwan/multiple-lns-connectors/actility-multiple-lns-connector.component.d.ts +1 -1
- package/protocol-lpwan/multiple-lns-connectors/actility-multiple-lns-connector.component.d.ts.map +1 -1
- package/protocol-lpwan/multiple-lns-connectors/connection-info-with-download-csv.component.d.ts +1 -1
- package/protocol-lpwan/multiple-lns-connectors/connection-info-with-download-csv.component.d.ts.map +1 -1
- package/protocol-lpwan/multiple-lns-connectors/loriot/loriot-multiple-lns-connector.component.d.ts +1 -1
- package/protocol-lpwan/multiple-lns-connectors/loriot/loriot-multiple-lns-connector.component.d.ts.map +1 -1
- package/protocol-lpwan/multiple-lns-connectors/multiple-lns-connectors.module.d.ts +8 -8
- package/protocol-lpwan/multiple-lns-connectors/multiple-lns-connectors.module.d.ts.map +1 -1
- package/protocol-lpwan/multiple-lns-connectors/no-connections-found.component.d.ts +1 -1
- package/protocol-lpwan/multiple-lns-connectors/sigfox-multiple-lns-connector.component.d.ts +1 -1
- package/protocol-lpwan/multiple-lns-connectors/sigfox-multiple-lns-connector.component.d.ts.map +1 -1
- package/register-device/bulk/bulk-device-registration-button.component.d.ts +1 -1
- package/register-device/bulk/bulk-device-registration-button.component.d.ts.map +1 -1
- package/register-device/bulk/bulk-device-registration-modal.component.d.ts +1 -1
- package/register-device/bulk/bulk-device-registration-modal.component.d.ts.map +1 -1
- package/register-device/device-registration-view.component.d.ts +1 -1
- package/register-device/device-registration-view.component.d.ts.map +1 -1
- package/register-device/dropdown/register-device-dropdown.component.d.ts +1 -1
- package/register-device/dropdown/register-device-dropdown.component.d.ts.map +1 -1
- package/register-device/extensible/bulk/extensible-bulk-device-registration-button.component.d.ts +1 -1
- package/register-device/extensible/bulk/extensible-bulk-device-registration-button.component.d.ts.map +1 -1
- package/register-device/extensible/bulk/extensible-bulk-device-registration-modal.component.d.ts +1 -1
- package/register-device/extensible/bulk/extensible-bulk-device-registration-modal.component.d.ts.map +1 -1
- package/register-device/extensible/single/extensible-device-registration-button.component.d.ts +1 -1
- package/register-device/extensible/single/extensible-device-registration-button.component.d.ts.map +1 -1
- package/register-device/extensible/single/extensible-device-registration-modal.component.d.ts +1 -1
- package/register-device/extensible/single/extensible-device-registration-modal.component.d.ts.map +1 -1
- package/register-device/extensible/single/extensible-device-registration-stepper.component.d.ts +1 -1
- package/register-device/extensible/single/extensible-device-registration-stepper.component.d.ts.map +1 -1
- package/register-device/general/general-device-registration-button.component.d.ts +1 -1
- package/register-device/general/general-device-registration-button.component.d.ts.map +1 -1
- package/register-device/general/general-device-registration.component.d.ts +3 -6
- package/register-device/general/general-device-registration.component.d.ts.map +1 -1
- package/register-device/register-device.module.d.ts +16 -16
- package/register-device/register-device.module.d.ts.map +1 -1
- package/report-dashboard/report-dashboard-list.component.d.ts +1 -1
- package/report-dashboard/report-dashboard-list.component.d.ts.map +1 -1
- package/report-dashboard/report-dashboard.module.d.ts +7 -7
- package/reports/cron.component.d.ts +1 -1
- package/reports/cron.component.d.ts.map +1 -1
- package/reports/export-schedules.component.d.ts +2 -3
- package/reports/export-schedules.component.d.ts.map +1 -1
- package/reports/reports.module.d.ts +7 -7
- package/reports/reports.module.d.ts.map +1 -1
- package/reports/schedule-modal.component.d.ts +2 -3
- package/reports/schedule-modal.component.d.ts.map +1 -1
- package/search/search-action.component.d.ts +1 -1
- package/search/search-action.component.d.ts.map +1 -1
- package/search/search-custom-filters.component.d.ts +1 -1
- package/search/search-custom-filters.component.d.ts.map +1 -1
- package/search/search-grid.component.d.ts +1 -1
- package/search/search-grid.component.d.ts.map +1 -1
- package/search/search-results.component.d.ts +1 -1
- package/search/search-results.component.d.ts.map +1 -1
- package/search/search.module.d.ts +8 -8
- package/search/search.module.d.ts.map +1 -1
- package/sigfox-device-registration/sigfox-device-registration-button.component.d.ts +1 -1
- package/sigfox-device-registration/sigfox-device-registration-button.component.d.ts.map +1 -1
- package/sigfox-device-registration/sigfox-device-registration.component.d.ts +1 -1
- package/sigfox-device-registration/sigfox-device-registration.component.d.ts.map +1 -1
- package/sigfox-device-registration/sigfox-device-registration.module.d.ts +4 -4
- package/sigfox-device-registration/sigfox-device-registration.module.d.ts.map +1 -1
- package/sub-assets/add-group/add-group.component.d.ts +1 -1
- package/sub-assets/add-group/add-group.component.d.ts.map +1 -1
- package/sub-assets/add-group/add-group.module.d.ts +7 -7
- package/sub-assets/asset-properties-item.component.d.ts +1 -1
- package/sub-assets/asset-properties-item.component.d.ts.map +1 -1
- package/sub-assets/asset-properties.component.d.ts +1 -1
- package/sub-assets/asset-properties.component.d.ts.map +1 -1
- package/sub-assets/assign-devices/assign-child-devices.component.d.ts +2 -3
- package/sub-assets/assign-devices/assign-child-devices.component.d.ts.map +1 -1
- package/sub-assets/assign-devices/assign-devices.component.d.ts +1 -1
- package/sub-assets/assign-devices/assign-devices.component.d.ts.map +1 -1
- package/sub-assets/delete-assets-modal/delete-assets-modal.component.d.ts +1 -1
- package/sub-assets/delete-assets-modal/delete-assets-modal.component.d.ts.map +1 -1
- package/sub-assets/group-info.component.d.ts +1 -1
- package/sub-assets/group-info.component.d.ts.map +1 -1
- package/sub-assets/groups.component.d.ts +1 -1
- package/sub-assets/groups.component.d.ts.map +1 -1
- package/sub-assets/location/asset-location.component.d.ts +1 -1
- package/sub-assets/location/asset-location.component.d.ts.map +1 -1
- package/sub-assets/sub-assets-grid.component.d.ts +1 -1
- package/sub-assets/sub-assets-grid.component.d.ts.map +1 -1
- package/sub-assets/sub-assets-grids.module.d.ts +9 -9
- package/sub-assets/sub-assets-grids.module.d.ts.map +1 -1
- package/sub-assets/sub-assets.component.d.ts +1 -1
- package/sub-assets/sub-assets.component.d.ts.map +1 -1
- package/sub-assets/sub-assets.module.d.ts +18 -18
- package/sub-assets/sub-assets.module.d.ts.map +1 -1
- package/sub-assets/unassign-assets-modal/unassign-modal.component.d.ts +1 -1
- package/sub-assets/unassign-assets-modal/unassign-modal.component.d.ts.map +1 -1
- package/tenants/tenant-form/tenant-form.component.d.ts +1 -1
- package/tenants/tenant-form/tenant-form.component.d.ts.map +1 -1
- package/tenants/tenant-list/creation-time.filtering-form-renderer.component.d.ts +2 -3
- package/tenants/tenant-list/creation-time.filtering-form-renderer.component.d.ts.map +1 -1
- package/tenants/tenant-list/status.filtering-form-renderer.component.d.ts +1 -1
- package/tenants/tenant-list/status.filtering-form-renderer.component.d.ts.map +1 -1
- package/tenants/tenant-list/tenant-list.component.d.ts +1 -1
- package/tenants/tenant-list/tenant-list.component.d.ts.map +1 -1
- package/tenants/tenants.module.d.ts +9 -9
- package/tenants/tenants.module.d.ts.map +1 -1
- package/trusted-certificates/crl/crl-check-settings.component.d.ts +1 -1
- package/trusted-certificates/crl/crl-check-settings.component.d.ts.map +1 -1
- package/trusted-certificates/crl/crl-settings.component.d.ts +1 -1
- package/trusted-certificates/crl/crl-settings.component.d.ts.map +1 -1
- package/trusted-certificates/crl/crl-settings.module.d.ts +8 -8
- package/trusted-certificates/crl/crl-settings.module.d.ts.map +1 -1
- package/trusted-certificates/list/add-trusted-certificate.component.d.ts +4 -3
- package/trusted-certificates/list/add-trusted-certificate.component.d.ts.map +1 -1
- package/trusted-certificates/list/trusted-certificate-list.component.d.ts +11 -2
- package/trusted-certificates/list/trusted-certificate-list.component.d.ts.map +1 -1
- package/trusted-certificates/list/trusted-certificate-list.module.d.ts +10 -10
- package/trusted-certificates/list/trusted-certificate-list.module.d.ts.map +1 -1
- package/trusted-certificates/list/trusted-certificate.model.d.ts +2 -0
- package/trusted-certificates/list/trusted-certificate.model.d.ts.map +1 -1
- package/trusted-certificates/pattern-messages.data.d.ts +6 -0
- package/trusted-certificates/pattern-messages.data.d.ts.map +1 -1
- package/upgrade/dashboard/dashboard-upgrade.module.d.ts +6 -6
- package/upgrade/dashboard/dashboard-upgrade.module.d.ts.map +1 -1
- package/upgrade/dashboard/device-selector.component.d.ts +1 -1
- package/upgrade/dashboard/device-selector.component.d.ts.map +1 -1
- package/upgrade/dashboard/widget.component.d.ts +1 -1
- package/upgrade/dashboard/widget.component.d.ts.map +1 -1
- package/user-roles/inventory-role-selector/inventory-role-selector.component.d.ts +1 -1
- package/user-roles/inventory-role-selector/inventory-role-selector.component.d.ts.map +1 -1
- package/user-roles/roles-asset-tree/roles-asset-tree.component.d.ts +1 -1
- package/user-roles/roles-asset-tree/roles-asset-tree.component.d.ts.map +1 -1
- package/user-roles/user-roles.module.d.ts +4 -4
- package/user-roles/user-roles.module.d.ts.map +1 -1
- package/widgets/implementations/alarms/alarm-list-widget-config/alarm-list-widget-config.component.d.ts +1 -1
- package/widgets/implementations/alarms/alarm-list-widget-config/alarm-list-widget-config.component.d.ts.map +1 -1
- package/widgets/implementations/alarms/alarm-list-widget-view/alarm-list-widget.component.d.ts +1 -1
- package/widgets/implementations/alarms/alarm-list-widget-view/alarm-list-widget.component.d.ts.map +1 -1
- package/widgets/implementations/alarms/alarm-widget-alarms-reload.component.d.ts +1 -1
- package/widgets/implementations/alarms/alarm-widget-alarms-reload.component.d.ts.map +1 -1
- package/widgets/implementations/alarms/alarms-widget.module.d.ts +13 -13
- package/widgets/implementations/alarms/alarms-widget.module.d.ts.map +1 -1
- package/widgets/implementations/alarms/severity-icon.pipe.d.ts +1 -1
- package/widgets/implementations/alarms/severity-icon.pipe.d.ts.map +1 -1
- package/widgets/implementations/alarms/sorting-description-popover-message.pipe.d.ts +1 -1
- package/widgets/implementations/alarms/sorting-description-popover-message.pipe.d.ts.map +1 -1
- package/widgets/implementations/device-management-welcome/device-management-welcome-widget.module.d.ts +4 -4
- package/widgets/implementations/device-management-welcome/device-management-welcome-widget.module.d.ts.map +1 -1
- package/widgets/implementations/device-management-welcome/welcome.component.d.ts +1 -1
- package/widgets/implementations/device-management-welcome/welcome.component.d.ts.map +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, Injectable, Directive, EventEmitter, Output, Input, ContentChild, ViewChild, Inject, Component, SimpleChange, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1$1 from '@c8y/ngx-components';
|
|
4
|
-
import { gettext, sortByPriority, ManagedObjectRealtimeService, globalAutoRefreshLoading, CountdownIntervalComponent, CommonModule as CommonModule$1, FormsModule as FormsModule$1, RealtimeModule, CoreModule } from '@c8y/ngx-components';
|
|
4
|
+
import { gettext, sortByPriority, ManagedObjectRealtimeService, globalAutoRefreshLoading, CountdownIntervalComponent, IconDirective, C8yTranslatePipe, CommonModule as CommonModule$1, FormsModule as FormsModule$1, RealtimeModule, CoreModule } from '@c8y/ngx-components';
|
|
5
5
|
import * as i3 from '@ngx-translate/core';
|
|
6
6
|
import * as i4 from 'rxjs';
|
|
7
7
|
import { of, combineLatest, defer, NEVER, BehaviorSubject, Subject, fromEvent, EMPTY, merge, from } from 'rxjs';
|
|
@@ -10,30 +10,55 @@ import * as i1 from '@c8y/client';
|
|
|
10
10
|
import { latLng, latLngBounds } from 'leaflet';
|
|
11
11
|
import { get, remove, isUndefined, flatten, every, isNull, isEmpty, cloneDeep } from 'lodash-es';
|
|
12
12
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import * as i3$1 from 'ngx-bootstrap/tooltip';
|
|
16
|
-
import { TooltipModule } from 'ngx-bootstrap/tooltip';
|
|
13
|
+
import { NgIf, NgClass, AsyncPipe, CommonModule } from '@angular/common';
|
|
14
|
+
import { TooltipDirective, TooltipModule } from 'ngx-bootstrap/tooltip';
|
|
17
15
|
import { FormsModule } from '@angular/forms';
|
|
18
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Utility function to assign asset and event information to a Leaflet marker.
|
|
19
|
+
* @param marker The Leaflet marker instance.
|
|
20
|
+
* @param asset The managed object representing the asset (optional).
|
|
21
|
+
* @param event The event associated with the marker (optional).
|
|
22
|
+
* @returns The marker with asset and/or event information attached.
|
|
23
|
+
*/
|
|
19
24
|
function getC8yMarker(marker, asset, event) {
|
|
20
25
|
marker.asset = asset;
|
|
21
26
|
marker.event = event;
|
|
22
27
|
return marker;
|
|
23
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* Injection token for providing map tile layers as an observable.
|
|
31
|
+
*/
|
|
24
32
|
const MAP_TILE_LAYER = new InjectionToken('MAP_TILE_LAYER');
|
|
33
|
+
/**
|
|
34
|
+
* Enum for supported cluster sizes on the map.
|
|
35
|
+
*/
|
|
25
36
|
var ClusterSize;
|
|
26
37
|
(function (ClusterSize) {
|
|
38
|
+
/** No clustering. */
|
|
27
39
|
ClusterSize[ClusterSize["NONE"] = 0] = "NONE";
|
|
40
|
+
/** Cluster of 4. */
|
|
28
41
|
ClusterSize[ClusterSize["FOUR"] = 1] = "FOUR";
|
|
42
|
+
/** Cluster of 16. */
|
|
29
43
|
ClusterSize[ClusterSize["SIXTEEN"] = 2] = "SIXTEEN";
|
|
30
44
|
})(ClusterSize || (ClusterSize = {}));
|
|
45
|
+
/**
|
|
46
|
+
* Enum for map tenant option keys used in configuration.
|
|
47
|
+
*/
|
|
31
48
|
var MapTenantOptionKeys;
|
|
32
49
|
(function (MapTenantOptionKeys) {
|
|
50
|
+
/** Map configuration key. */
|
|
33
51
|
MapTenantOptionKeys["CONFIG"] = "map-config";
|
|
52
|
+
/** Map layers key. */
|
|
34
53
|
MapTenantOptionKeys["LAYERS"] = "map-layers";
|
|
35
54
|
})(MapTenantOptionKeys || (MapTenantOptionKeys = {}));
|
|
55
|
+
/**
|
|
56
|
+
* Injection token for providing the default map configuration as an observable.
|
|
57
|
+
*/
|
|
36
58
|
const MAP_DEFAULT_CONFIG = new InjectionToken('MAP_DEFAULT_CONFIG');
|
|
59
|
+
/**
|
|
60
|
+
* Default map tile layer configuration (OpenStreetMap).
|
|
61
|
+
*/
|
|
37
62
|
const defaultLayer = {
|
|
38
63
|
layerUrl: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
|
|
39
64
|
label: 'OpenStreetMap',
|
|
@@ -45,10 +70,16 @@ const defaultLayer = {
|
|
|
45
70
|
noWrap: false
|
|
46
71
|
}
|
|
47
72
|
};
|
|
73
|
+
/**
|
|
74
|
+
* Default map configuration (centered on Düsseldorf, zoom level 2).
|
|
75
|
+
*/
|
|
48
76
|
const defaultMapConfig = {
|
|
49
77
|
center: [51.23544, 6.79599], // Düsseldorf
|
|
50
78
|
zoomLevel: 2
|
|
51
79
|
};
|
|
80
|
+
/**
|
|
81
|
+
* Default options for fitting map bounds (padding).
|
|
82
|
+
*/
|
|
52
83
|
const defaultFitBoundsOptions = {
|
|
53
84
|
padding: [50, 50]
|
|
54
85
|
};
|
|
@@ -442,14 +473,11 @@ class MapPopupDirective {
|
|
|
442
473
|
this.viewContainer = viewContainer;
|
|
443
474
|
}
|
|
444
475
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MapPopupDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
445
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.14", type: MapPopupDirective, isStandalone:
|
|
476
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.14", type: MapPopupDirective, isStandalone: true, selector: "[c8yMapPopup]", ngImport: i0 }); }
|
|
446
477
|
}
|
|
447
478
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MapPopupDirective, decorators: [{
|
|
448
479
|
type: Directive,
|
|
449
|
-
args: [{
|
|
450
|
-
selector: '[c8yMapPopup]',
|
|
451
|
-
standalone: false
|
|
452
|
-
}]
|
|
480
|
+
args: [{ selector: '[c8yMapPopup]' }]
|
|
453
481
|
}], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }] });
|
|
454
482
|
|
|
455
483
|
class MapComponent {
|
|
@@ -463,23 +491,42 @@ class MapComponent {
|
|
|
463
491
|
this.datePipe = datePipe;
|
|
464
492
|
this.widgetGlobalAutoRefreshService = widgetGlobalAutoRefreshService;
|
|
465
493
|
/**
|
|
466
|
-
* The markers placed on the map.
|
|
494
|
+
* The markers currently placed on the map.
|
|
467
495
|
*/
|
|
468
496
|
this.markers = [];
|
|
469
497
|
/**
|
|
470
|
-
*
|
|
498
|
+
* Indicates if the map was already initialized.
|
|
471
499
|
*/
|
|
472
500
|
this.isInit = false;
|
|
501
|
+
/**
|
|
502
|
+
* Map configuration object (center, zoom, icon, color, etc).
|
|
503
|
+
*/
|
|
473
504
|
this.config = {};
|
|
505
|
+
/**
|
|
506
|
+
* Observable for polyline coordinates to display on the map.
|
|
507
|
+
*/
|
|
474
508
|
this.polyline$ = NEVER;
|
|
509
|
+
/**
|
|
510
|
+
* Emits when a tracked asset is updated in real-time.
|
|
511
|
+
*/
|
|
475
512
|
this.onRealtimeUpdate = new EventEmitter();
|
|
513
|
+
/**
|
|
514
|
+
* Emits the Leaflet map instance when available.
|
|
515
|
+
*/
|
|
476
516
|
this.onMap = new BehaviorSubject(null);
|
|
517
|
+
/**
|
|
518
|
+
* Emits when the map and Leaflet library are initialized.
|
|
519
|
+
*/
|
|
477
520
|
this.onInit = new EventEmitter();
|
|
478
521
|
this.unsubscribeTrigger$ = new Subject();
|
|
479
522
|
this.destroy$ = new Subject();
|
|
480
523
|
this.markerTitle = gettext('Marker at position {{lat}}, {{lng}}');
|
|
481
524
|
this.initOutputs();
|
|
482
525
|
}
|
|
526
|
+
/**
|
|
527
|
+
* Starts real-time updates for a single asset on the map.
|
|
528
|
+
* Updates marker position and icon as new data arrives.
|
|
529
|
+
*/
|
|
483
530
|
startRealtime() {
|
|
484
531
|
if (!this.assets || (Array.isArray(this.assets) && this.assets.length > 1)) {
|
|
485
532
|
this.config.realtime = false;
|
|
@@ -504,25 +551,46 @@ class MapComponent {
|
|
|
504
551
|
this.onRealtimeUpdate.emit(asset);
|
|
505
552
|
});
|
|
506
553
|
}
|
|
554
|
+
/**
|
|
555
|
+
* Moves the map view to the position of the given asset(s) if follow is enabled.
|
|
556
|
+
* @param positions The asset or array of assets to center the map on.
|
|
557
|
+
*/
|
|
507
558
|
moveToPositionOfMo(positions) {
|
|
508
559
|
const position = Array.isArray(positions) ? positions[0] : positions;
|
|
509
560
|
if (this.config.follow) {
|
|
510
561
|
this.map.setView([position.c8y_Position.lat, position.c8y_Position.lng]);
|
|
511
562
|
}
|
|
512
563
|
}
|
|
564
|
+
/**
|
|
565
|
+
* Stops real-time updates for the asset.
|
|
566
|
+
*/
|
|
513
567
|
stopRealtime() {
|
|
514
568
|
if (this.realtimeSubscription) {
|
|
515
569
|
this.realtimeSubscription.unsubscribe();
|
|
516
570
|
}
|
|
517
571
|
}
|
|
572
|
+
/**
|
|
573
|
+
* Finds a marker on the map by asset, event, or ID.
|
|
574
|
+
* @param moOrId Asset, event, or string ID to search for.
|
|
575
|
+
* @returns The found marker or undefined.
|
|
576
|
+
*/
|
|
518
577
|
findMarker(moOrId) {
|
|
519
578
|
const getId = moOrId => (typeof moOrId === 'string' ? moOrId : moOrId?.id);
|
|
520
579
|
return this.markers.find((marker) => marker.asset?.id === getId(moOrId) || marker.event?.id === getId(moOrId));
|
|
521
580
|
}
|
|
581
|
+
/**
|
|
582
|
+
* Adds a marker to the map and internal marker list.
|
|
583
|
+
* @param marker The marker to add.
|
|
584
|
+
*/
|
|
522
585
|
addMarkerToMap(marker) {
|
|
523
586
|
this.markers.push(marker);
|
|
524
587
|
marker.addTo(this.map);
|
|
525
588
|
}
|
|
589
|
+
/**
|
|
590
|
+
* Creates and returns a marker for the given asset, including icon and popup.
|
|
591
|
+
* @param asset The asset to create a marker for.
|
|
592
|
+
* @returns The created marker.
|
|
593
|
+
*/
|
|
526
594
|
getAssetMarker(asset) {
|
|
527
595
|
if (!asset) {
|
|
528
596
|
return;
|
|
@@ -537,6 +605,11 @@ class MapComponent {
|
|
|
537
605
|
this.bindPopup(marker, asset);
|
|
538
606
|
return marker;
|
|
539
607
|
}
|
|
608
|
+
/**
|
|
609
|
+
* Creates and returns a marker for a tracking event, including icon and popup.
|
|
610
|
+
* @param event The event to create a marker for.
|
|
611
|
+
* @returns The created marker.
|
|
612
|
+
*/
|
|
540
613
|
getTrackingMarker(event) {
|
|
541
614
|
if (!event) {
|
|
542
615
|
return;
|
|
@@ -551,6 +624,11 @@ class MapComponent {
|
|
|
551
624
|
this.bindPopup(marker, event);
|
|
552
625
|
return marker;
|
|
553
626
|
}
|
|
627
|
+
/**
|
|
628
|
+
* Returns a Leaflet icon for the given asset, using config or asset icon and color.
|
|
629
|
+
* @param asset The asset to get the icon for.
|
|
630
|
+
* @returns The Leaflet icon.
|
|
631
|
+
*/
|
|
554
632
|
getAssetIcon(asset) {
|
|
555
633
|
const assetTypeIcon = this.config.icon || asset.icon?.name;
|
|
556
634
|
const status = MapService.getStatus(asset);
|
|
@@ -563,6 +641,10 @@ class MapComponent {
|
|
|
563
641
|
});
|
|
564
642
|
return icon;
|
|
565
643
|
}
|
|
644
|
+
/**
|
|
645
|
+
* Returns a Leaflet icon for a tracking event.
|
|
646
|
+
* @returns The Leaflet icon.
|
|
647
|
+
*/
|
|
566
648
|
getTrackingIcon() {
|
|
567
649
|
const icon = this.leaflet.divIcon({
|
|
568
650
|
html: `<div class="dlt-c8y-icon-marker icon-3x text-muted"></div>`,
|
|
@@ -572,17 +654,28 @@ class MapComponent {
|
|
|
572
654
|
});
|
|
573
655
|
return icon;
|
|
574
656
|
}
|
|
657
|
+
/**
|
|
658
|
+
* Removes a marker from the map and internal marker list.
|
|
659
|
+
* @param marker The marker to remove.
|
|
660
|
+
*/
|
|
575
661
|
removeMarker(marker) {
|
|
576
662
|
if (marker) {
|
|
577
663
|
marker.remove();
|
|
578
664
|
remove(this.markers, m => m === marker);
|
|
579
665
|
}
|
|
580
666
|
}
|
|
667
|
+
/**
|
|
668
|
+
* Removes all markers from the map, optionally filtered by marker attribute.
|
|
669
|
+
* @param fragment Optional marker attribute to filter by.
|
|
670
|
+
*/
|
|
581
671
|
clearMarkers(fragment) {
|
|
582
672
|
const matchingMarkers = marker => !fragment || !!marker[fragment];
|
|
583
673
|
this.markers.filter(matchingMarkers).forEach(marker => marker.remove());
|
|
584
674
|
this.markers = this.markers.filter(marker => !matchingMarkers(marker));
|
|
585
675
|
}
|
|
676
|
+
/**
|
|
677
|
+
* Refreshes all markers on the map based on the current assets.
|
|
678
|
+
*/
|
|
586
679
|
refreshMarkers() {
|
|
587
680
|
this.clearMarkers();
|
|
588
681
|
let assets = [];
|
|
@@ -598,9 +691,15 @@ class MapComponent {
|
|
|
598
691
|
}
|
|
599
692
|
this.toggleControls();
|
|
600
693
|
}
|
|
694
|
+
/**
|
|
695
|
+
* Centers the map on the configured center coordinates.
|
|
696
|
+
*/
|
|
601
697
|
center() {
|
|
602
698
|
this.map?.setView(this.config.center);
|
|
603
699
|
}
|
|
700
|
+
/**
|
|
701
|
+
* Refreshes the map and markers if the map is initialized.
|
|
702
|
+
*/
|
|
604
703
|
refresh() {
|
|
605
704
|
if (this.isInit) {
|
|
606
705
|
this.refreshMarkers();
|
|
@@ -841,11 +940,11 @@ class MapComponent {
|
|
|
841
940
|
}
|
|
842
941
|
}
|
|
843
942
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MapComponent, deps: [{ token: i1$1.ManagedObjectRealtimeService }, { token: MapService }, { token: MAP_TILE_LAYER }, { token: MAP_DEFAULT_CONFIG }, { token: i3.TranslateService }, { token: i1$1.GeoService }, { token: i1$1.DatePipe }, { token: i1$1.WidgetGlobalAutoRefreshService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
844
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: MapComponent, isStandalone:
|
|
943
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: MapComponent, isStandalone: true, selector: "c8y-map", inputs: { config: "config", assets: "assets", polyline$: "polyline$", polylineOptions: "polylineOptions" }, outputs: { onRealtimeUpdate: "onRealtimeUpdate", onMove: "onMove", onMoveEnd: "onMoveEnd", onZoomStart: "onZoomStart", onZoomEnd: "onZoomEnd", onMap: "onMap", onInit: "onInit" }, providers: [ManagedObjectRealtimeService], queries: [{ propertyName: "popup", first: true, predicate: MapPopupDirective, descendants: true }], viewQueries: [{ propertyName: "mapElement", first: true, predicate: ["map"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"c8y-map\">\n <div #map></div>\n</div>\n<ng-content></ng-content>\n" }); }
|
|
845
944
|
}
|
|
846
945
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MapComponent, decorators: [{
|
|
847
946
|
type: Component,
|
|
848
|
-
args: [{ selector: 'c8y-map', providers: [ManagedObjectRealtimeService],
|
|
947
|
+
args: [{ selector: 'c8y-map', providers: [ManagedObjectRealtimeService], template: "<div class=\"c8y-map\">\n <div #map></div>\n</div>\n<ng-content></ng-content>\n" }]
|
|
849
948
|
}], ctorParameters: () => [{ type: i1$1.ManagedObjectRealtimeService }, { type: MapService }, { type: i4.Observable, decorators: [{
|
|
850
949
|
type: Inject,
|
|
851
950
|
args: [MAP_TILE_LAYER]
|
|
@@ -882,7 +981,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
882
981
|
type: Output
|
|
883
982
|
}] } });
|
|
884
983
|
|
|
984
|
+
/**
|
|
985
|
+
* Smart map component for that clusters devices together when there are too many to display individually.
|
|
986
|
+
* Unlike the basic map, this component loads device data dynamically and manages cluster rendering and updates.
|
|
987
|
+
* Extends the base MapComponent with clustering, dynamic data loading, and advanced refresh logic.
|
|
988
|
+
*/
|
|
885
989
|
class ClusterMapComponent extends MapComponent {
|
|
990
|
+
/**
|
|
991
|
+
* Constructs the ClusterMapComponent, injecting required services and initializing the base map.
|
|
992
|
+
*/
|
|
886
993
|
constructor(moRealtimeService, mapService, layers$, defaultConfig$, translateService, widgetGlobalAutoRefreshService, iterable, colorService, geo, datePipe) {
|
|
887
994
|
super(moRealtimeService, mapService, layers$, defaultConfig$, translateService, geo, datePipe, widgetGlobalAutoRefreshService);
|
|
888
995
|
this.moRealtimeService = moRealtimeService;
|
|
@@ -893,14 +1000,25 @@ class ClusterMapComponent extends MapComponent {
|
|
|
893
1000
|
this.widgetGlobalAutoRefreshService = widgetGlobalAutoRefreshService;
|
|
894
1001
|
this.iterable = iterable;
|
|
895
1002
|
this.colorService = colorService;
|
|
1003
|
+
/** Emits true while the map is loading or refreshing clusters. */
|
|
896
1004
|
this.isLoading$ = new BehaviorSubject(false);
|
|
1005
|
+
/**
|
|
1006
|
+
* Whether to show a color overlay for each cluster rectangle. This can be useful for debugging or visualizing clusters.
|
|
1007
|
+
*/
|
|
897
1008
|
this.showClusterColor = false;
|
|
1009
|
+
/**
|
|
1010
|
+
* Emits Leaflet map change events (move, moveend) for external listeners.
|
|
1011
|
+
*/
|
|
898
1012
|
this.mapChange = new EventEmitter();
|
|
1013
|
+
/** @ignore */
|
|
899
1014
|
this.errorNotifier = new BehaviorSubject(null);
|
|
900
1015
|
this.reloadTrigger$ = new BehaviorSubject(false);
|
|
901
1016
|
this.clusters = [];
|
|
902
1017
|
this.EVENT_THROTTLE_TIME = 750;
|
|
903
1018
|
}
|
|
1019
|
+
/**
|
|
1020
|
+
* @ignore
|
|
1021
|
+
*/
|
|
904
1022
|
async ngOnChanges(changes) {
|
|
905
1023
|
if (changes.config?.firstChange) {
|
|
906
1024
|
return;
|
|
@@ -912,6 +1030,11 @@ class ClusterMapComponent extends MapComponent {
|
|
|
912
1030
|
this.changeConfig(changes.config);
|
|
913
1031
|
}
|
|
914
1032
|
}
|
|
1033
|
+
/**
|
|
1034
|
+
* Handles changes to the map configuration, including follow and refresh interval.
|
|
1035
|
+
* Cancels reload on follow, triggers reload on refresh interval change, and delegates to base config change logic.
|
|
1036
|
+
* @param change The config change object.
|
|
1037
|
+
*/
|
|
915
1038
|
changeConfig(change) {
|
|
916
1039
|
// on following, cancel reload to avoid stale state
|
|
917
1040
|
if (change.currentValue.follow === true) {
|
|
@@ -923,6 +1046,9 @@ class ClusterMapComponent extends MapComponent {
|
|
|
923
1046
|
}
|
|
924
1047
|
super.changeConfig(change);
|
|
925
1048
|
}
|
|
1049
|
+
/**
|
|
1050
|
+
* @ignore
|
|
1051
|
+
*/
|
|
926
1052
|
async ngAfterViewInit() {
|
|
927
1053
|
if (!this.leaflet) {
|
|
928
1054
|
this.leaflet = await this.mapService.getLeaflet();
|
|
@@ -938,16 +1064,29 @@ class ClusterMapComponent extends MapComponent {
|
|
|
938
1064
|
this.changeConfig(new SimpleChange({}, this.config, false));
|
|
939
1065
|
});
|
|
940
1066
|
}
|
|
1067
|
+
/**
|
|
1068
|
+
* Resets the map and clusters, re-initializing the component.
|
|
1069
|
+
*/
|
|
941
1070
|
async reset() {
|
|
942
1071
|
this.ngOnDestroy();
|
|
943
1072
|
await this.ngAfterViewInit();
|
|
944
1073
|
}
|
|
1074
|
+
/**
|
|
1075
|
+
* Triggers a reload of cluster data.
|
|
1076
|
+
*/
|
|
945
1077
|
reload() {
|
|
946
1078
|
this.reloadTrigger$.next(true);
|
|
947
1079
|
}
|
|
1080
|
+
/**
|
|
1081
|
+
* Cancels an ongoing reload operation.
|
|
1082
|
+
*/
|
|
948
1083
|
cancelReload() {
|
|
949
1084
|
this.reloadTrigger$.next(false);
|
|
950
1085
|
}
|
|
1086
|
+
/**
|
|
1087
|
+
* Subscribes to cluster and interval changes, updating clusters as needed.
|
|
1088
|
+
* Handles auto-refresh and global refresh loading.
|
|
1089
|
+
*/
|
|
951
1090
|
listenToClusterAndIntervalChanges() {
|
|
952
1091
|
const countdownEnded$ = this.config.widgetInstanceGlobalAutoRefreshContext
|
|
953
1092
|
? this.widgetGlobalAutoRefreshService.countdownActions.countdownEnded$.pipe(takeUntil(this.destroy$))
|
|
@@ -978,9 +1117,15 @@ class ClusterMapComponent extends MapComponent {
|
|
|
978
1117
|
this.countdownIntervalComp?.start();
|
|
979
1118
|
});
|
|
980
1119
|
}
|
|
1120
|
+
/**
|
|
1121
|
+
* Subscribes to map change events for cluster updates.
|
|
1122
|
+
*/
|
|
981
1123
|
listenToClusterMapChanges() {
|
|
982
1124
|
this.getMapChangeObservable().subscribe();
|
|
983
1125
|
}
|
|
1126
|
+
/**
|
|
1127
|
+
* Refreshes markers or clusters, depending on whether a single asset or clusters are shown.
|
|
1128
|
+
*/
|
|
984
1129
|
refreshMarkers() {
|
|
985
1130
|
if (this.assets) {
|
|
986
1131
|
super.refreshMarkers();
|
|
@@ -1109,11 +1254,11 @@ class ClusterMapComponent extends MapComponent {
|
|
|
1109
1254
|
});
|
|
1110
1255
|
}
|
|
1111
1256
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClusterMapComponent, deps: [{ token: i1$1.ManagedObjectRealtimeService }, { token: MapService }, { token: MAP_TILE_LAYER }, { token: MAP_DEFAULT_CONFIG }, { token: i3.TranslateService }, { token: i1$1.WidgetGlobalAutoRefreshService }, { token: i0.IterableDiffers }, { token: i1$1.ColorService }, { token: i1$1.GeoService }, { token: i1$1.DatePipe }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1112
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ClusterMapComponent, isStandalone:
|
|
1257
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ClusterMapComponent, isStandalone: true, selector: "c8y-cluster-map", inputs: { config: "config", rootNode: "rootNode", assets: ["asset", "assets"], showClusterColor: "showClusterColor" }, outputs: { mapChange: "mapChange" }, providers: [ManagedObjectRealtimeService], viewQueries: [{ propertyName: "mapElement", first: true, predicate: ["map"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"c8y-map\">\n <div #map></div>\n</div>\n<ng-content></ng-content>\n" }); }
|
|
1113
1258
|
}
|
|
1114
1259
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClusterMapComponent, decorators: [{
|
|
1115
1260
|
type: Component,
|
|
1116
|
-
args: [{ selector: 'c8y-cluster-map', providers: [ManagedObjectRealtimeService],
|
|
1261
|
+
args: [{ selector: 'c8y-cluster-map', providers: [ManagedObjectRealtimeService], template: "<div class=\"c8y-map\">\n <div #map></div>\n</div>\n<ng-content></ng-content>\n" }]
|
|
1117
1262
|
}], ctorParameters: () => [{ type: i1$1.ManagedObjectRealtimeService }, { type: MapService }, { type: i4.Observable, decorators: [{
|
|
1118
1263
|
type: Inject,
|
|
1119
1264
|
args: [MAP_TILE_LAYER]
|
|
@@ -1136,43 +1281,87 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
1136
1281
|
args: ['map']
|
|
1137
1282
|
}] } });
|
|
1138
1283
|
|
|
1284
|
+
/**
|
|
1285
|
+
* Component to display controls and status information for a map rendered on an IoT Dashboard.
|
|
1286
|
+
* Provides UI for centering, fitting bounds, toggling real-time updates, auto-refresh, and following assets.
|
|
1287
|
+
*/
|
|
1139
1288
|
class MapStatusComponent {
|
|
1140
1289
|
constructor() {
|
|
1290
|
+
/**
|
|
1291
|
+
* Emits when the map configuration changes (e.g., toggling real-time, follow, etc.).
|
|
1292
|
+
*/
|
|
1141
1293
|
this.configChange = new EventEmitter();
|
|
1294
|
+
/**
|
|
1295
|
+
* Emits when the user unfollows an asset on the map.
|
|
1296
|
+
*/
|
|
1142
1297
|
this.onUnfollow = new EventEmitter();
|
|
1298
|
+
/**
|
|
1299
|
+
* Emits when the user requests to fit all assets within the map bounds.
|
|
1300
|
+
*/
|
|
1143
1301
|
this.fitAssetsToBounds = new EventEmitter();
|
|
1302
|
+
/**
|
|
1303
|
+
* Configuration for which map status buttons are shown/enabled.
|
|
1304
|
+
* By default the "center" button is shown and realtime is disabled.
|
|
1305
|
+
* See {@link MapStatusButtonsConfig} for available options.
|
|
1306
|
+
*/
|
|
1144
1307
|
this.buttonsConfig = {};
|
|
1145
|
-
|
|
1308
|
+
/**
|
|
1309
|
+
* @ignore
|
|
1310
|
+
*/
|
|
1146
1311
|
this.refreshPaused = false;
|
|
1147
1312
|
this.destroy$ = new Subject();
|
|
1148
1313
|
}
|
|
1314
|
+
/**
|
|
1315
|
+
* @ignore
|
|
1316
|
+
*/
|
|
1149
1317
|
ngOnInit() {
|
|
1150
1318
|
this.initConfig = cloneDeep(this.config);
|
|
1151
1319
|
this.buttonsConfig = Object.assign(this.defaultButtonsConfig(), this.buttonsConfig);
|
|
1152
1320
|
}
|
|
1321
|
+
/**
|
|
1322
|
+
* @ignore
|
|
1323
|
+
*/
|
|
1153
1324
|
ngAfterViewInit() {
|
|
1154
1325
|
if (!this.config.widgetInstanceGlobalAutoRefreshContext) {
|
|
1155
1326
|
this.clusterMap.countdownIntervalComp = this.countdownIntervalComp;
|
|
1156
1327
|
}
|
|
1157
1328
|
}
|
|
1329
|
+
/**
|
|
1330
|
+
* @ignore
|
|
1331
|
+
*/
|
|
1158
1332
|
ngOnChanges(changes) {
|
|
1159
1333
|
if (changes.clusterMap?.previousValue !== changes.clusterMap?.currentValue) {
|
|
1160
1334
|
this.checkIfMapIsAlreadyCentered();
|
|
1161
1335
|
}
|
|
1162
1336
|
}
|
|
1337
|
+
/**
|
|
1338
|
+
* Centers the map on the configured center coordinates.
|
|
1339
|
+
*/
|
|
1163
1340
|
center() {
|
|
1164
1341
|
this.clusterMap.center();
|
|
1165
1342
|
}
|
|
1343
|
+
/**
|
|
1344
|
+
* Emits an event to fit all assets within the map bounds and disables the button until the next change.
|
|
1345
|
+
*/
|
|
1166
1346
|
fitToBounds() {
|
|
1167
|
-
this.
|
|
1347
|
+
this.buttonsConfig.fitToBounds.disabled = true;
|
|
1168
1348
|
this.fitAssetsToBounds.emit();
|
|
1169
1349
|
}
|
|
1350
|
+
/**
|
|
1351
|
+
* Reloads the map data.
|
|
1352
|
+
*/
|
|
1170
1353
|
reload() {
|
|
1171
1354
|
this.clusterMap.reload();
|
|
1172
1355
|
}
|
|
1356
|
+
/**
|
|
1357
|
+
* Cancels the map reload operation.
|
|
1358
|
+
*/
|
|
1173
1359
|
cancelReload() {
|
|
1174
1360
|
this.clusterMap.cancelReload();
|
|
1175
1361
|
}
|
|
1362
|
+
/**
|
|
1363
|
+
* Toggles real-time updates for the map.
|
|
1364
|
+
*/
|
|
1176
1365
|
toggleRealtime() {
|
|
1177
1366
|
this.config = {
|
|
1178
1367
|
...this.config,
|
|
@@ -1180,6 +1369,10 @@ class MapStatusComponent {
|
|
|
1180
1369
|
};
|
|
1181
1370
|
this.configChange.emit(this.config);
|
|
1182
1371
|
}
|
|
1372
|
+
/**
|
|
1373
|
+
* Toggles the auto-refresh state for the map, pausing or resuming the countdown.
|
|
1374
|
+
* @param $event Mouse event to prevent default and stop propagation.
|
|
1375
|
+
*/
|
|
1183
1376
|
toggleAutoRefresh($event) {
|
|
1184
1377
|
$event.preventDefault();
|
|
1185
1378
|
$event.stopPropagation();
|
|
@@ -1191,6 +1384,9 @@ class MapStatusComponent {
|
|
|
1191
1384
|
this.countdownIntervalComp.start();
|
|
1192
1385
|
}
|
|
1193
1386
|
}
|
|
1387
|
+
/**
|
|
1388
|
+
* Disables following an asset on the map and emits the change.
|
|
1389
|
+
*/
|
|
1194
1390
|
unfollow() {
|
|
1195
1391
|
this.config = {
|
|
1196
1392
|
...this.clusterMap.config,
|
|
@@ -1199,6 +1395,9 @@ class MapStatusComponent {
|
|
|
1199
1395
|
this.configChange.emit(this.config);
|
|
1200
1396
|
this.onUnfollow.emit(this.config);
|
|
1201
1397
|
}
|
|
1398
|
+
/**
|
|
1399
|
+
* Enables following an asset on the map and emits the change.
|
|
1400
|
+
*/
|
|
1202
1401
|
follow() {
|
|
1203
1402
|
this.config = {
|
|
1204
1403
|
...this.config,
|
|
@@ -1206,16 +1405,22 @@ class MapStatusComponent {
|
|
|
1206
1405
|
};
|
|
1207
1406
|
this.configChange.emit(this.config);
|
|
1208
1407
|
}
|
|
1408
|
+
/**
|
|
1409
|
+
* @ignore
|
|
1410
|
+
*/
|
|
1209
1411
|
ngOnDestroy() {
|
|
1210
1412
|
this.destroy$.next();
|
|
1211
1413
|
}
|
|
1414
|
+
/**
|
|
1415
|
+
* Subscribes to map changes and updates button states based on map bounds and center.
|
|
1416
|
+
*/
|
|
1212
1417
|
checkIfMapIsAlreadyCentered() {
|
|
1213
1418
|
this.clusterMap.mapChange.pipe(takeUntil(this.destroy$)).subscribe((event) => {
|
|
1214
1419
|
if (event.sourceTarget?.getBounds) {
|
|
1215
1420
|
const bounds = event.sourceTarget.getBounds();
|
|
1216
|
-
this.
|
|
1421
|
+
this.buttonsConfig.fitToBounds.disabled = this.shouldDisableFitToBoundsButton(bounds);
|
|
1217
1422
|
if (this.config?.center) {
|
|
1218
|
-
this.
|
|
1423
|
+
this.buttonsConfig.center.disabled = this.shouldDisableCenterButton(bounds);
|
|
1219
1424
|
}
|
|
1220
1425
|
}
|
|
1221
1426
|
});
|
|
@@ -1234,23 +1439,42 @@ class MapStatusComponent {
|
|
|
1234
1439
|
const shrunkBounds = bounds.pad(-0.25);
|
|
1235
1440
|
return shrunkBounds.contains(this.config.center);
|
|
1236
1441
|
}
|
|
1442
|
+
/**
|
|
1443
|
+
* Checks if Fit to Bounds button should be disabled based on whether all assets are within the current bounds.
|
|
1444
|
+
* @param bounds Current map view boundaries.
|
|
1445
|
+
* @returns True if all assets are already within bounds, false otherwise.
|
|
1446
|
+
*/
|
|
1237
1447
|
shouldDisableFitToBoundsButton(bounds) {
|
|
1238
1448
|
if (!this.assets) {
|
|
1239
1449
|
return true;
|
|
1240
1450
|
}
|
|
1241
1451
|
return this.assets.every(({ c8y_Position }) => bounds.contains([c8y_Position.lat, c8y_Position.lng]));
|
|
1242
1452
|
}
|
|
1453
|
+
/**
|
|
1454
|
+
* Returns the default configuration for map status buttons.
|
|
1455
|
+
* @returns Default MapStatusButtonsConfig object.
|
|
1456
|
+
*/
|
|
1243
1457
|
defaultButtonsConfig() {
|
|
1244
1458
|
return {
|
|
1245
|
-
realtime: { show: this.config.realtime || this.clusterMap.config.follow, disabled: false }
|
|
1459
|
+
realtime: { show: this.config.realtime || this.clusterMap.config.follow, disabled: false },
|
|
1460
|
+
fitToBounds: { show: false, disabled: false },
|
|
1461
|
+
center: { show: true, disabled: false }
|
|
1246
1462
|
};
|
|
1247
1463
|
}
|
|
1248
1464
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MapStatusComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1249
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: MapStatusComponent, isStandalone:
|
|
1465
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: MapStatusComponent, isStandalone: true, selector: "c8y-map-status", inputs: { config: "config", assets: "assets", clusterMap: "clusterMap", buttonsConfig: "buttonsConfig" }, outputs: { configChange: "configChange", onUnfollow: "onUnfollow", fitAssetsToBounds: "fitAssetsToBounds" }, viewQueries: [{ propertyName: "countdownIntervalComp", first: true, predicate: CountdownIntervalComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"c8y-map-status\">\n <div class=\"leaflet-touch\">\n <div\n class=\"leaflet-bar\"\n role=\"group\"\n >\n <button\n class=\"c8y-realtime\"\n title=\"{{ 'Realtime' | translate }}\"\n type=\"button\"\n *ngIf=\"buttonsConfig.realtime.show\"\n (click)=\"toggleRealtime()\"\n [disabled]=\"buttonsConfig.realtime.disabled\"\n >\n <span\n class=\"c8y-pulse\"\n [ngClass]=\"{\n active: clusterMap?.config.realtime,\n inactive: !clusterMap?.config.realtime\n }\"\n ></span>\n </button>\n\n <label\n class=\"toggle-countdown vertical\"\n [attr.aria-label]=\"\n refreshPaused ? ('Enable auto refresh' | translate) : ('Disable auto refresh' | translate)\n \"\n [tooltip]=\"\n refreshPaused ? ('Enable auto refresh' | translate) : ('Disable auto refresh' | translate)\n \"\n placement=\"left\"\n *ngIf=\"\n !config.widgetInstanceGlobalAutoRefreshContext &&\n clusterMap?.config.refreshInterval &&\n !clusterMap?.config.follow\n \"\n [adaptivePosition]=\"false\"\n [container]=\"'body'\"\n [delay]=\"1000\"\n >\n <input\n type=\"checkbox\"\n (click)=\"toggleAutoRefresh($event)\"\n />\n <c8y-countdown-interval\n [hidden]=\"refreshPaused\"\n [countdownInterval]=\"clusterMap?.config.refreshInterval\"\n ></c8y-countdown-interval>\n <i\n c8yIcon=\"pause\"\n *ngIf=\"refreshPaused\"\n ></i>\n </label>\n\n <button\n title=\"{{ 'Cancel reload' | translate }}\"\n type=\"button\"\n *ngIf=\"(clusterMap?.isLoading$ | async) && !config.widgetInstanceGlobalAutoRefreshContext\"\n (click)=\"cancelReload()\"\n >\n <i\n class=\"icon-spin\"\n c8yIcon=\"refresh\"\n ></i>\n </button>\n <button\n [title]=\"'Reload' | translate\"\n type=\"button\"\n *ngIf=\"\n !clusterMap?.config.realtime &&\n !clusterMap?.assets &&\n !(clusterMap?.isLoading$ | async) &&\n !config.widgetInstanceGlobalAutoRefreshContext\n \"\n (click)=\"reload()\"\n >\n <i c8yIcon=\"refresh\"></i>\n </button>\n <button\n title=\"{{ 'Center map' | translate }}\"\n type=\"button\"\n (click)=\"center()\"\n [disabled]=\"buttonsConfig.center.disabled || clusterMap?.config.follow\"\n *ngIf=\"buttonsConfig.center.show\"\n >\n <i c8yIcon=\"target1\"></i>\n </button>\n <button\n title=\"{{ 'Fit to assets bounds' | translate }}\"\n type=\"button\"\n (click)=\"fitToBounds()\"\n [disabled]=\"buttonsConfig.fitToBounds.disabled || clusterMap?.config.follow\"\n *ngIf=\"buttonsConfig.fitToBounds.show\"\n >\n <i c8yIcon=\"waypoint-map\"></i>\n </button>\n <button\n title=\"{{ 'Unfollow' | translate }}\"\n type=\"button\"\n *ngIf=\"clusterMap?.config.follow\"\n (click)=\"unfollow()\"\n >\n <i c8yIcon=\"marker-off\"></i>\n </button>\n\n <button\n title=\"{{ 'Follow' | translate }}\"\n type=\"button\"\n *ngIf=\"initConfig.follow && !clusterMap?.config.follow\"\n (click)=\"follow()\"\n >\n <i c8yIcon=\"marker\"></i>\n </button>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: TooltipDirective, selector: "[tooltip], [tooltipHtml]", inputs: ["adaptivePosition", "tooltip", "placement", "triggers", "container", "containerClass", "boundariesElement", "isOpen", "isDisabled", "delay", "tooltipHtml", "tooltipPlacement", "tooltipIsOpen", "tooltipEnable", "tooltipAppendToBody", "tooltipAnimation", "tooltipClass", "tooltipContext", "tooltipPopupDelay", "tooltipFadeDuration", "tooltipTrigger"], outputs: ["tooltipChange", "onShown", "onHidden", "tooltipStateChanged"], exportAs: ["bs-tooltip"] }, { kind: "component", type: CountdownIntervalComponent, selector: "c8y-countdown-interval", inputs: ["countdownInterval"], outputs: ["countdownEnded"] }, { kind: "directive", type: IconDirective, selector: "[c8yIcon]", inputs: ["c8yIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: C8yTranslatePipe, name: "translate" }] }); }
|
|
1250
1466
|
}
|
|
1251
1467
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MapStatusComponent, decorators: [{
|
|
1252
1468
|
type: Component,
|
|
1253
|
-
args: [{ selector: 'c8y-map-status',
|
|
1469
|
+
args: [{ selector: 'c8y-map-status', imports: [
|
|
1470
|
+
NgIf,
|
|
1471
|
+
NgClass,
|
|
1472
|
+
TooltipDirective,
|
|
1473
|
+
CountdownIntervalComponent,
|
|
1474
|
+
IconDirective,
|
|
1475
|
+
AsyncPipe,
|
|
1476
|
+
C8yTranslatePipe
|
|
1477
|
+
], template: "<div class=\"c8y-map-status\">\n <div class=\"leaflet-touch\">\n <div\n class=\"leaflet-bar\"\n role=\"group\"\n >\n <button\n class=\"c8y-realtime\"\n title=\"{{ 'Realtime' | translate }}\"\n type=\"button\"\n *ngIf=\"buttonsConfig.realtime.show\"\n (click)=\"toggleRealtime()\"\n [disabled]=\"buttonsConfig.realtime.disabled\"\n >\n <span\n class=\"c8y-pulse\"\n [ngClass]=\"{\n active: clusterMap?.config.realtime,\n inactive: !clusterMap?.config.realtime\n }\"\n ></span>\n </button>\n\n <label\n class=\"toggle-countdown vertical\"\n [attr.aria-label]=\"\n refreshPaused ? ('Enable auto refresh' | translate) : ('Disable auto refresh' | translate)\n \"\n [tooltip]=\"\n refreshPaused ? ('Enable auto refresh' | translate) : ('Disable auto refresh' | translate)\n \"\n placement=\"left\"\n *ngIf=\"\n !config.widgetInstanceGlobalAutoRefreshContext &&\n clusterMap?.config.refreshInterval &&\n !clusterMap?.config.follow\n \"\n [adaptivePosition]=\"false\"\n [container]=\"'body'\"\n [delay]=\"1000\"\n >\n <input\n type=\"checkbox\"\n (click)=\"toggleAutoRefresh($event)\"\n />\n <c8y-countdown-interval\n [hidden]=\"refreshPaused\"\n [countdownInterval]=\"clusterMap?.config.refreshInterval\"\n ></c8y-countdown-interval>\n <i\n c8yIcon=\"pause\"\n *ngIf=\"refreshPaused\"\n ></i>\n </label>\n\n <button\n title=\"{{ 'Cancel reload' | translate }}\"\n type=\"button\"\n *ngIf=\"(clusterMap?.isLoading$ | async) && !config.widgetInstanceGlobalAutoRefreshContext\"\n (click)=\"cancelReload()\"\n >\n <i\n class=\"icon-spin\"\n c8yIcon=\"refresh\"\n ></i>\n </button>\n <button\n [title]=\"'Reload' | translate\"\n type=\"button\"\n *ngIf=\"\n !clusterMap?.config.realtime &&\n !clusterMap?.assets &&\n !(clusterMap?.isLoading$ | async) &&\n !config.widgetInstanceGlobalAutoRefreshContext\n \"\n (click)=\"reload()\"\n >\n <i c8yIcon=\"refresh\"></i>\n </button>\n <button\n title=\"{{ 'Center map' | translate }}\"\n type=\"button\"\n (click)=\"center()\"\n [disabled]=\"buttonsConfig.center.disabled || clusterMap?.config.follow\"\n *ngIf=\"buttonsConfig.center.show\"\n >\n <i c8yIcon=\"target1\"></i>\n </button>\n <button\n title=\"{{ 'Fit to assets bounds' | translate }}\"\n type=\"button\"\n (click)=\"fitToBounds()\"\n [disabled]=\"buttonsConfig.fitToBounds.disabled || clusterMap?.config.follow\"\n *ngIf=\"buttonsConfig.fitToBounds.show\"\n >\n <i c8yIcon=\"waypoint-map\"></i>\n </button>\n <button\n title=\"{{ 'Unfollow' | translate }}\"\n type=\"button\"\n *ngIf=\"clusterMap?.config.follow\"\n (click)=\"unfollow()\"\n >\n <i c8yIcon=\"marker-off\"></i>\n </button>\n\n <button\n title=\"{{ 'Follow' | translate }}\"\n type=\"button\"\n *ngIf=\"initConfig.follow && !clusterMap?.config.follow\"\n (click)=\"follow()\"\n >\n <i c8yIcon=\"marker\"></i>\n </button>\n </div>\n </div>\n</div>\n" }]
|
|
1254
1478
|
}], propDecorators: { config: [{
|
|
1255
1479
|
type: Input
|
|
1256
1480
|
}], assets: [{
|
|
@@ -1272,13 +1496,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
1272
1496
|
|
|
1273
1497
|
class MapModule {
|
|
1274
1498
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1275
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: MapModule,
|
|
1499
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: MapModule, imports: [CommonModule,
|
|
1276
1500
|
FormsModule,
|
|
1277
1501
|
CommonModule$1,
|
|
1278
1502
|
FormsModule$1,
|
|
1279
1503
|
RealtimeModule,
|
|
1280
1504
|
CoreModule,
|
|
1281
|
-
TooltipModule
|
|
1505
|
+
TooltipModule,
|
|
1506
|
+
MapComponent,
|
|
1507
|
+
MapStatusComponent,
|
|
1508
|
+
ClusterMapComponent,
|
|
1509
|
+
MapPopupDirective], exports: [MapComponent, MapStatusComponent, ClusterMapComponent, MapPopupDirective] }); }
|
|
1282
1510
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MapModule, providers: [
|
|
1283
1511
|
{
|
|
1284
1512
|
provide: MAP_TILE_LAYER,
|
|
@@ -1300,12 +1528,12 @@ class MapModule {
|
|
|
1300
1528
|
FormsModule$1,
|
|
1301
1529
|
RealtimeModule,
|
|
1302
1530
|
CoreModule,
|
|
1303
|
-
TooltipModule
|
|
1531
|
+
TooltipModule,
|
|
1532
|
+
MapStatusComponent] }); }
|
|
1304
1533
|
}
|
|
1305
1534
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MapModule, decorators: [{
|
|
1306
1535
|
type: NgModule,
|
|
1307
1536
|
args: [{
|
|
1308
|
-
declarations: [MapComponent, MapStatusComponent, ClusterMapComponent, MapPopupDirective],
|
|
1309
1537
|
imports: [
|
|
1310
1538
|
CommonModule,
|
|
1311
1539
|
FormsModule,
|
|
@@ -1313,7 +1541,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
1313
1541
|
FormsModule$1,
|
|
1314
1542
|
RealtimeModule,
|
|
1315
1543
|
CoreModule,
|
|
1316
|
-
TooltipModule
|
|
1544
|
+
TooltipModule,
|
|
1545
|
+
MapComponent,
|
|
1546
|
+
MapStatusComponent,
|
|
1547
|
+
ClusterMapComponent,
|
|
1548
|
+
MapPopupDirective
|
|
1317
1549
|
],
|
|
1318
1550
|
exports: [MapComponent, MapStatusComponent, ClusterMapComponent, MapPopupDirective],
|
|
1319
1551
|
providers: [
|