@c8y/ngx-components 1023.55.5 → 1023.58.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/ai/agents/html/index.d.ts +6 -0
  2. package/ai/agents/html/index.d.ts.map +1 -0
  3. package/context-dashboard/index.d.ts +7 -3
  4. package/context-dashboard/index.d.ts.map +1 -1
  5. package/fesm2022/c8y-ngx-components-ai-agents-html.mjs +1672 -0
  6. package/fesm2022/c8y-ngx-components-ai-agents-html.mjs.map +1 -0
  7. package/fesm2022/c8y-ngx-components-context-dashboard.mjs +23 -29
  8. package/fesm2022/c8y-ngx-components-context-dashboard.mjs.map +1 -1
  9. package/fesm2022/c8y-ngx-components-map.mjs +241 -24
  10. package/fesm2022/c8y-ngx-components-map.mjs.map +1 -1
  11. package/fesm2022/c8y-ngx-components-widgets-definitions-device-management-welcome.mjs +8 -7
  12. package/fesm2022/c8y-ngx-components-widgets-definitions-device-management-welcome.mjs.map +1 -1
  13. package/fesm2022/c8y-ngx-components-widgets-definitions-html-widget-ai-config.mjs +2 -1667
  14. package/fesm2022/c8y-ngx-components-widgets-definitions-html-widget-ai-config.mjs.map +1 -1
  15. package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +32 -0
  16. package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs.map +1 -1
  17. package/fesm2022/c8y-ngx-components-widgets-implementations-device-management-welcome.mjs +37 -86
  18. package/fesm2022/c8y-ngx-components-widgets-implementations-device-management-welcome.mjs.map +1 -1
  19. package/fesm2022/c8y-ngx-components-widgets-implementations-map.mjs +13 -13
  20. package/fesm2022/c8y-ngx-components-widgets-implementations-map.mjs.map +1 -1
  21. package/fesm2022/c8y-ngx-components-widgets-implementations-quick-links.mjs +1 -1
  22. package/locales/de.po +15 -6
  23. package/locales/es.po +15 -6
  24. package/locales/fr.po +15 -6
  25. package/locales/ja_JP.po +15 -6
  26. package/locales/ko.po +15 -6
  27. package/locales/locales.pot +15 -6
  28. package/locales/nl.po +15 -6
  29. package/locales/pl.po +15 -6
  30. package/locales/pt_BR.po +15 -6
  31. package/locales/zh_CN.po +15 -6
  32. package/locales/zh_TW.po +15 -6
  33. package/map/index.d.ts +66 -8
  34. package/map/index.d.ts.map +1 -1
  35. package/package.json +1 -1
  36. package/widgets/definitions/device-management-welcome/index.d.ts +9 -6
  37. package/widgets/definitions/device-management-welcome/index.d.ts.map +1 -1
  38. package/widgets/implementations/datapoints-graph/index.d.ts.map +1 -1
  39. package/widgets/implementations/device-management-welcome/index.d.ts +9 -22
  40. package/widgets/implementations/device-management-welcome/index.d.ts.map +1 -1
  41. package/widgets/implementations/quick-links/index.d.ts +13 -2
  42. package/widgets/implementations/quick-links/index.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"c8y-ngx-components-widgets-implementations-map.mjs","sources":["../../widgets/implementations/map/map-event-info.component.ts","../../widgets/implementations/map/map-event-info.component.html","../../widgets/implementations/map/map-widget-config.component.ts","../../widgets/implementations/map/map-widget-config.component.html","../../widgets/implementations/map/map-widget.component.ts","../../widgets/implementations/map/map-widget.component.html","../../widgets/implementations/map/c8y-ngx-components-widgets-implementations-map.ts"],"sourcesContent":["import { CommonModule as NgCommonModule } from '@angular/common';\nimport { Component, Input, OnChanges } from '@angular/core';\nimport { EventService, IEvent, IManagedObject } from '@c8y/client';\nimport { C8yTranslateDirective, DatePipe, LoadingComponent } from '@c8y/ngx-components';\n\n@Component({\n selector: 'c8y-map-event-info',\n templateUrl: './map-event-info.component.html',\n standalone: true,\n imports: [NgCommonModule, C8yTranslateDirective, DatePipe, LoadingComponent]\n})\nexport class MapEventInfoComponent implements OnChanges {\n @Input()\n asset: IManagedObject;\n\n loading = true;\n\n event: IEvent;\n\n constructor(private eventService: EventService) {}\n\n async ngOnChanges() {\n this.loading = true;\n const { data } = await this.eventService.list({\n dateFrom: '1970-01-01',\n dateTo: new Date(Date.now()).toISOString(),\n fragmentType: 'c8y_Position',\n pageSize: 1,\n source: this.asset.id\n });\n this.event = data[0];\n this.loading = false;\n }\n}\n","<div class=\"text-muted text-10 p-t-4 p-b-4\">\n <span translate>Last position update:</span>\n <br />\n <c8y-loading *ngIf=\"loading\"></c8y-loading>\n <ng-container *ngIf=\"!loading\">\n <i *ngIf=\"!event\" translate>No information found</i>\n <ng-container *ngIf=\"event\">\n <i>{{ event.time | c8yDate }}</i>\n <ng-content></ng-content>\n </ng-container>\n </ng-container>\n</div>\n","import { CommonModule as NgCommonModule } from '@angular/common';\nimport {\n Component,\n computed,\n Inject,\n Input,\n OnChanges,\n OnDestroy,\n OnInit,\n signal,\n SimpleChanges,\n TemplateRef,\n ViewChild\n} from '@angular/core';\nimport {\n ControlContainer,\n NgForm,\n FormsModule as NgFormsModule,\n ReactiveFormsModule\n} from '@angular/forms';\nimport type { IIdentified } from '@c8y/client';\nimport { AlertService, C8yTranslatePipe, CommonModule, FormsModule } from '@c8y/ngx-components';\nimport { WidgetConfigService } from '@c8y/ngx-components/context-dashboard';\nimport { gettext } from '@c8y/ngx-components/gettext';\nimport { GLOBAL_CONTEXT_DISPLAY_MODE, RefreshOption } from '@c8y/ngx-components/global-context';\nimport { IconSelectorModule } from '@c8y/ngx-components/icon-selector';\nimport {\n ClusterMapConfig,\n defaultFitBoundsOptions,\n MAP_DEFAULT_CONFIG,\n MapComponent,\n MapModule,\n MapService,\n PositionManagedObject\n} from '@c8y/ngx-components/map';\nimport type { MapDefaultConfig } from '@c8y/options';\nimport { TranslateService } from '@ngx-translate/core';\nimport type L from 'leaflet';\nimport { isUndefined } from 'lodash';\nimport { PopoverModule } from 'ngx-bootstrap/popover';\nimport { TooltipModule } from 'ngx-bootstrap/tooltip';\nimport { fromEvent, Observable, Subject } from 'rxjs';\nimport { combineLatestWith, take, takeUntil } from 'rxjs/operators';\nimport { MapWidgetConfig } from './map-widget.model';\n\n@Component({\n selector: 'c8y-map-widget-config',\n templateUrl: './map-widget-config.component.html',\n viewProviders: [{ provide: ControlContainer, useExisting: NgForm }],\n standalone: true,\n imports: [\n NgCommonModule,\n NgFormsModule,\n CommonModule,\n FormsModule,\n IconSelectorModule,\n MapModule,\n TooltipModule,\n ReactiveFormsModule,\n PopoverModule,\n C8yTranslatePipe\n ]\n})\nexport class MapWidgetConfigComponent implements OnInit, OnChanges, OnDestroy {\n @Input() config: MapWidgetConfig = {\n mapConfig: undefined\n };\n formConfig: ClusterMapConfig;\n\n readonly device = signal<IIdentified | undefined>(undefined);\n readonly assets = signal<PositionManagedObject[]>([]);\n\n readonly canAutoCenter = computed(() => {\n const assetsList = this.assets();\n const deviceValue = this.device();\n\n const isSingleAsset = assetsList?.length === 1;\n const idMatchesDevice = deviceValue?.id === assetsList[0]?.id;\n\n if (isSingleAsset && idMatchesDevice) {\n return this.mapService.hasPosition(assetsList[0]);\n }\n return false;\n });\n\n readonly isPositionedDevice = computed(() => {\n const assetsList = this.assets();\n const deviceValue = this.device();\n\n const isSingleAsset = assetsList?.length === 1;\n const idMatchesDevice = deviceValue?.id === assetsList[0]?.id;\n\n if (isSingleAsset && idMatchesDevice) {\n return this.mapService.isPositionedDevice(assetsList[0]);\n }\n return false;\n });\n\n refreshOption: RefreshOption = 'live';\n\n private destroyed$ = new Subject<void>();\n private leaflet: typeof L;\n private centerIcon: L.Marker;\n // JS precision for floating point number is 15 for 64-bit and because of this provided to leaflet are recalculated\n // to values almost-like provided (e.g. 0 is recalculated to 1.46e-14; for 180 it's 180.00000000000003).\n // To ensure provided value has no floating point error, number needs to be rounded to fixed point 13.\n private readonly FIXED_POINT_DIGITS = 13;\n\n @ViewChild(MapComponent)\n previewMap: MapComponent;\n\n @ViewChild('previewMap')\n set previewMapSet(template: TemplateRef<any>) {\n if (template) {\n this.widgetConfigService.setPreview(template);\n return;\n }\n this.widgetConfigService.setPreview(null);\n }\n\n constructor(\n private mapService: MapService,\n private alertService: AlertService,\n private translateService: TranslateService,\n @Inject(MAP_DEFAULT_CONFIG) private defaultMapConfig: Observable<MapDefaultConfig>,\n private widgetConfigService: WidgetConfigService\n ) {}\n\n ngOnDestroy(): void {\n this.destroyed$.next();\n }\n\n ngOnInit() {\n this.device.set(this.config.device);\n\n this.defaultMapConfig.pipe(takeUntil(this.destroyed$)).subscribe(defaultConfig => {\n this.formConfig = {\n zoomLevel: defaultConfig.zoomLevel,\n center: defaultConfig.center\n };\n this.initForm();\n });\n }\n\n async fitToBound() {\n if (this.formConfig.autoFitToBounds) {\n const bounds = await this.mapService.getAssetsBounds(this.assets());\n this.previewMap.map.fitBounds(bounds, defaultFitBoundsOptions);\n }\n }\n\n async initForm() {\n if (!this.config.mapConfig) {\n this.config.mapConfig = this.formConfig;\n }\n\n this.formConfig = {\n ...this.formConfig,\n ...this.config.mapConfig,\n disablePan: false,\n displayMode: this.config.mapConfig?.displayMode ?? GLOBAL_CONTEXT_DISPLAY_MODE.DASHBOARD,\n // Keep both in sync\n realtime:\n this.config.mapConfig?.isRealtimeEnabled ?? this.config.mapConfig?.realtime ?? false,\n refreshOption: this.config.mapConfig?.refreshOption,\n refreshInterval: this.config.mapConfig?.refreshInterval ?? 30_000\n };\n\n await this.updateAsset();\n }\n\n async ngOnChanges(changes: SimpleChanges) {\n if (changes.config) {\n this.device.set(this.config.device);\n\n if (\n changes.config.currentValue !== changes.config.previousValue &&\n !changes.config.firstChange\n ) {\n await this.updateAsset();\n }\n }\n }\n\n previewMapInit(leaflet: typeof L): void {\n this.leaflet = leaflet;\n this.addCenterIcon(this.formConfig.center[0], this.formConfig.center[1]);\n }\n\n onBeforeSave() {\n this.config.mapConfig = this.formConfig;\n return true;\n }\n\n zoomLevelChanged() {\n this.config.mapConfig = {\n ...this.config.mapConfig,\n zoomLevel: this.formConfig.zoomLevel\n };\n }\n\n changeCenter() {\n if (this.centerIcon) {\n this.centerIcon.remove();\n }\n this.config.mapConfig = { ...this.formConfig, center: [...this.formConfig.center] };\n this.addCenterIcon(this.formConfig.center[0], this.formConfig.center[1]);\n }\n\n changeCenterOnEnterKey(event: KeyboardEvent): void {\n event.preventDefault();\n this.changeCenter();\n }\n\n onPreviewZoomStart() {\n this.centerIcon.remove();\n }\n\n onPreviewZoomEnd(event: L.LeafletEvent) {\n this.formConfig.zoomLevel = Math.floor(event.target.getZoom());\n }\n\n onPreviewMapMove(event: L.LeafletEvent) {\n if (this.centerIcon) {\n this.centerIcon.remove();\n }\n const { lat, lng } = event.target.getCenter();\n const fixedLat = +lat.toFixed(this.FIXED_POINT_DIGITS);\n const fixedLng = +lng.toFixed(this.FIXED_POINT_DIGITS);\n this.addCenterIcon(fixedLat, fixedLng);\n this.formConfig.center = [fixedLat, fixedLng];\n }\n\n useOwnPosition() {\n navigator.geolocation.getCurrentPosition(({ coords }) => {\n this.formConfig.center = [coords.latitude, coords.longitude];\n this.changeCenter();\n });\n }\n\n centerToAsset() {\n this.formConfig.center = [\n this.config.device.c8y_Position.lat,\n this.config.device.c8y_Position.lng\n ];\n this.changeCenter();\n }\n\n async fitToBounds() {\n const assetsList = this.assets();\n if (!assetsList?.length || !this.previewMap?.map) {\n return;\n }\n\n const bounds = await this.mapService.getAssetsBounds(assetsList);\n\n // map.fitBounds causes zoom and move events, so get new center and zoom level only when these events are finished\n fromEvent<L.LeafletEvent>(this.previewMap.map, 'moveend')\n .pipe(combineLatestWith(fromEvent<L.LeafletEvent>(this.previewMap.map, 'zoomend')), take(1))\n .subscribe(() => {\n const center = this.previewMap.map.getCenter();\n const zoom = this.previewMap.map.getZoom();\n\n const fixedLat = +center.lat.toFixed(this.FIXED_POINT_DIGITS);\n const fixedLng = +center.lng.toFixed(this.FIXED_POINT_DIGITS);\n this.formConfig.center = [fixedLat, fixedLng];\n this.formConfig.zoomLevel = Math.floor(zoom);\n\n this.changeCenter();\n });\n\n this.previewMap.map.fitBounds(bounds, defaultFitBoundsOptions);\n }\n\n selectIcon(icon: string) {\n this.formConfig.icon = icon;\n this.config.mapConfig.icon = icon;\n this.previewMap.refreshMarkers();\n }\n\n private async updateAsset() {\n const { data, paging } = await this.mapService.getAllPositionMOs(this.device());\n const onlyAssetsWithLatLng = data.filter(\n asset => !isUndefined(asset.c8y_Position?.lat) && !isUndefined(asset.c8y_Position?.lng)\n );\n\n this.assets.set(onlyAssetsWithLatLng);\n\n if (paging.totalPages > 1) {\n this.alertService.danger(\n gettext(\n 'It might be possible that assets are not shown in the preview, as the current selection has more than 500 assets and the preview only supports a maximum of 500 assets.'\n )\n );\n }\n }\n\n private addCenterIcon(lat: number, lng: number) {\n const titleText = this.translateService.instant(gettext('Map center'));\n const icon = this.leaflet.divIcon({\n html: `<i style=\"pointer-events: none\" class=\"c8y-map-marker-icon text-muted dlt-c8y-icon-target icon-2x\" title=\"${titleText}\" />`\n });\n this.centerIcon = this.leaflet.marker([lat, lng], {\n icon\n });\n this.previewMap.addMarkerToMap(this.centerIcon);\n }\n}\n","@if (formConfig) {\n <fieldset class=\"c8y-fieldset\">\n <legend>{{ 'Map' | translate }}</legend>\n <div class=\"row tight-grid\">\n <div class=\"col-xs-3\">\n <c8y-form-group class=\"m-b-16 text-center form-group-sm\">\n <label translate>Marker icon</label>\n <c8y-icon-selector-wrapper\n [canRemoveIcon]=\"true\"\n [selectedIcon]=\"formConfig.icon\"\n (onSelect)=\"selectIcon($event)\"\n ></c8y-icon-selector-wrapper>\n </c8y-form-group>\n </div>\n <div [ngClass]=\"{ 'col-xs-6': !isPositionedDevice(), 'col-xs-9': isPositionedDevice() }\">\n <div class=\"form-group form-group-sm\">\n <label translate>Zoom level</label>\n <c8y-range\n class=\"label-bottom\"\n name=\"zoomLevel\"\n #range\n [(ngModel)]=\"formConfig.zoomLevel\"\n (change)=\"zoomLevelChanged()\"\n >\n <input\n type=\"range\"\n min=\"0\"\n max=\"18\"\n step=\"1\"\n [disabled]=\"!isPositionedDevice() && formConfig.autoFitToBounds\"\n />\n </c8y-range>\n </div>\n </div>\n @if (!isPositionedDevice()) {\n <div class=\"col-xs-3\">\n <c8y-form-group class=\"m-b-16 text-center form-group-sm\">\n <label translate>Fit to bounds</label>\n <div class=\"m-t-4 d-flex j-c-center\">\n <label class=\"c8y-switch c8y-switch--inline\">\n <input\n name=\"autoFitToBounds\"\n type=\"checkbox\"\n [(ngModel)]=\"formConfig.autoFitToBounds\"\n (ngModelChange)=\"fitToBound()\"\n />\n <span></span>\n </label>\n <button\n class=\"btn-help\"\n aria-label=\"Help content\"\n [popover]=\"\n 'If enabled, the zoom level and center bound is always adjusted to fit all assets within the map view.'\n | translate\n \"\n placement=\"top\"\n triggers=\"focus\"\n container=\"body\"\n type=\"button\"\n ></button>\n </div>\n </c8y-form-group>\n </div>\n }\n </div>\n <c8y-form-group class=\"form-group-sm\">\n <label translate>Center bound</label>\n <div class=\"input-group input-group-sm\">\n <input\n class=\"form-control\"\n placeholder=\"{{ 'lat.`latitude`' | translate }}\"\n name=\"centerLat\"\n type=\"number\"\n required\n [(ngModel)]=\"formConfig.center[0]\"\n (change)=\"changeCenter()\"\n (keydown.enter)=\"changeCenterOnEnterKey($event)\"\n min=\"-90\"\n max=\"90\"\n step=\"0.1\"\n [disabled]=\"!isPositionedDevice() && formConfig.autoFitToBounds\"\n />\n <input\n class=\"form-control\"\n placeholder=\"{{ 'lng.`longitude`' | translate }}\"\n name=\"centerLng\"\n type=\"number\"\n required\n min=\"-180\"\n max=\"180\"\n [(ngModel)]=\"formConfig.center[1]\"\n (change)=\"changeCenter()\"\n (keydown.enter)=\"changeCenterOnEnterKey($event)\"\n min=\"-180\"\n max=\"180\"\n step=\"0.1\"\n [disabled]=\"!isPositionedDevice() && formConfig.autoFitToBounds\"\n />\n <div class=\"input-group-btn\">\n <button\n class=\"btn btn-default\"\n [attr.aria-label]=\"'Use your location' | translate\"\n [tooltip]=\"'Use your location' | translate\"\n placement=\"top\"\n container=\"body\"\n (click)=\"useOwnPosition()\"\n [disabled]=\"!isPositionedDevice() && formConfig.autoFitToBounds\"\n >\n <i\n class=\"icon-14\"\n c8yIcon=\"location-arrow\"\n ></i>\n </button>\n </div>\n <div class=\"input-group-btn\">\n @if (canAutoCenter()) {\n <button\n class=\"btn btn-default\"\n [attr.aria-label]=\"'Use selected asset location' | translate\"\n [tooltip]=\"'Use selected asset location' | translate\"\n placement=\"top\"\n container=\"body\"\n (click)=\"centerToAsset()\"\n [disabled]=\"!isPositionedDevice() && formConfig.autoFitToBounds\"\n >\n <i\n class=\"icon-14\"\n c8yIcon=\"location\"\n ></i>\n </button>\n } @else {\n <button\n class=\"btn btn-default\"\n [attr.aria-label]=\"'Fit to assets bounds' | translate\"\n [tooltip]=\"'Fit to assets bounds' | translate\"\n placement=\"top\"\n container=\"body\"\n (click)=\"fitToBounds()\"\n [disabled]=\"!isPositionedDevice() && formConfig.autoFitToBounds\"\n >\n <i\n class=\"icon-14\"\n c8yIcon=\"waypoint-map\"\n ></i>\n </button>\n }\n </div>\n </div>\n\n @if (!formConfig.autoFitToBounds) {\n <c8y-messages\n [helpMessage]=\"'Drag the map to the desired position' | translate\"\n ></c8y-messages>\n }\n </c8y-form-group>\n </fieldset>\n\n @if (isPositionedDevice()) {\n <fieldset class=\"c8y-fieldset\">\n <legend>{{ 'Follow' | translate }}</legend>\n <div class=\"row tight-grid d-flex a-i-center\">\n <div class=\"col-xs-12\">\n <div class=\"form-group form-group-sm m-b-16\">\n <label class=\"c8y-switch c8y-switch--inline\">\n <input\n name=\"follow\"\n type=\"checkbox\"\n [(ngModel)]=\"formConfig.follow\"\n />\n <span></span>\n <span\n class=\"text-12\"\n translate\n >\n Follow selected\n </span>\n </label>\n </div>\n </div>\n </div>\n </fieldset>\n }\n}\n\n<ng-template #previewMap>\n <div style=\"width: 100%; height: 100%\">\n @if (config.mapConfig) {\n <c8y-map\n [assets]=\"assets()\"\n [config]=\"config.mapConfig\"\n (onMove)=\"onPreviewMapMove($event)\"\n (onZoomStart)=\"onPreviewZoomStart()\"\n (onZoomEnd)=\"onPreviewZoomEnd($event)\"\n (onInit)=\"previewMapInit($event)\"\n ></c8y-map>\n }\n </div>\n</ng-template>\n","import { CommonModule as NgCommonModule } from '@angular/common';\nimport {\n AfterViewInit,\n Component,\n Input,\n OnDestroy,\n OnInit,\n Optional,\n ViewChild\n} from '@angular/core';\nimport { FormsModule as NgFormsModule } from '@angular/forms';\nimport { RouterLink } from '@angular/router';\nimport { IIdentified, InventoryService } from '@c8y/client';\nimport {\n AssetLinkPipe,\n CommonModule,\n DashboardChildComponent,\n DismissAlertStrategy,\n DynamicComponent,\n DynamicComponentAlert,\n DynamicComponentAlertAggregator,\n DynamicComponentService,\n FormsModule,\n WidgetsDashboardComponent\n} from '@c8y/ngx-components';\nimport { ContextDashboardComponent } from '@c8y/ngx-components/context-dashboard';\nimport { gettext } from '@c8y/ngx-components/gettext';\nimport {\n GLOBAL_CONTEXT_DISPLAY_MODE,\n GlobalContextWidgetWrapperComponent,\n WidgetConfigMigrationService,\n WidgetControls\n} from '@c8y/ngx-components/global-context';\nimport { IconSelectorModule } from '@c8y/ngx-components/icon-selector';\nimport {\n ClusterMapComponent,\n ClusterMapConfig,\n defaultFitBoundsOptions,\n MapModule,\n MapService,\n PositionManagedObject\n} from '@c8y/ngx-components/map';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\nimport { debounce, merge } from 'lodash-es';\nimport { TooltipModule } from 'ngx-bootstrap/tooltip';\nimport { Subject } from 'rxjs';\nimport { filter, takeUntil } from 'rxjs/operators';\nimport { MapEventInfoComponent } from './map-event-info.component';\nimport { MapWidgetConfig } from './map-widget.model';\n\n@Component({\n selector: 'c8y-map-widget',\n templateUrl: './map-widget.component.html',\n standalone: true,\n imports: [\n MapEventInfoComponent,\n NgCommonModule,\n NgFormsModule,\n CommonModule,\n FormsModule,\n IconSelectorModule,\n MapModule,\n AssetLinkPipe,\n TooltipModule,\n RouterLink,\n GlobalContextWidgetWrapperComponent\n ]\n})\nexport class MapWidgetComponent implements OnInit, OnDestroy, AfterViewInit, DynamicComponent {\n mapConfig: ClusterMapConfig = { center: [0, 0] };\n rootNode: IIdentified;\n @Input() config: MapWidgetConfig;\n\n @ViewChild(ClusterMapComponent)\n clusterMap: ClusterMapComponent;\n alerts: DynamicComponentAlertAggregator;\n assets: PositionManagedObject[];\n\n private TIMEOUT_ERROR_TEXT = gettext(\n 'The request is taking longer than usual. We apologize for the inconvenience.'\n );\n private SERVER_ERROR_TEXT = gettext('Server error occurred.');\n private savedNode: IIdentified;\n private destroy$ = new Subject<void>();\n private resizeObserver: ResizeObserver;\n controls: WidgetControls;\n\n constructor(\n dashboardChild: DashboardChildComponent,\n @Optional() private dashboardContextComponent: ContextDashboardComponent,\n private inventory: InventoryService,\n private mapService: MapService,\n @Optional() private widgetsDashboardComponent: WidgetsDashboardComponent,\n private dynamicComponentService: DynamicComponentService,\n private widgetConfigMigrationService: WidgetConfigMigrationService\n ) {\n this.listenToWidgetResizeEvent(dashboardChild);\n }\n\n async ngOnInit() {\n this.alerts.setAlertGroupDismissStrategy(\n 'warning',\n DismissAlertStrategy.TEMPORARY_OR_PERMANENT\n );\n\n await this.applyDeviceTypeTarget();\n\n if (this.config.device) {\n this.rootNode = this.config.device;\n }\n this.mapConfig = { ...this.config.mapConfig };\n\n // Check for legacy widget BEFORE updateMapConfigRealtime() overwrites it\n const isLegacyWidgetWithRealtime =\n !this.config.hasOwnProperty('displayMode') && this.mapConfig.realtime;\n\n this.updateMapConfigRealtime();\n this.savedNode = this.rootNode;\n await this.updateAssets();\n\n const migratedConfig = this.widgetConfigMigrationService.migrateWidgetConfig(this.config);\n this.config = merge(this.config, migratedConfig);\n\n // For legacy widgets (with realtime), set displayMode to 'view_and_config' to maintain previous behavior to some degree\n // TODO: adjust widgetConfigMigrationService.migrateWidgetConfig or do nothing.\n // Map widget is a special case since it blocks auto-refresh in the config live mode.\n if (isLegacyWidgetWithRealtime) {\n this.config.displayMode = GLOBAL_CONTEXT_DISPLAY_MODE.VIEW_AND_CONFIG;\n }\n\n if (this.assets.length > 1) {\n this.mapConfig = {\n ...this.mapConfig,\n follow: false\n };\n }\n\n this.controls =\n (await this.dynamicComponentService.getById(defaultWidgetIds.MAP)).data?.widgetControls || {};\n }\n\n ngAfterViewInit(): void {\n this.subscribeToErrorsOccurred();\n\n if (this.widgetsDashboardComponent) {\n const resizeCallback = debounce(() => {\n // initial size of map is assigned when left drawer is closed, but if it is opened after initialization\n // the map size is not updated, so we need to call invalidateSize so that map use the correct size\n this.clusterMap.map?.invalidateSize(false);\n }, 100);\n this.resizeObserver = new ResizeObserver(resizeCallback);\n\n this.resizeObserver.observe(this.widgetsDashboardComponent.nativeElement);\n }\n }\n\n startFollow(context) {\n if (context.id !== this.rootNode?.id) {\n this.rootNode = context;\n }\n\n this.mapConfig = {\n ...this.mapConfig,\n follow: true\n };\n }\n\n stopFollow() {\n this.mapConfig = {\n ...this.mapConfig,\n follow: false\n };\n this.rootNode = this.savedNode;\n }\n\n ngOnDestroy(): void {\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n this.destroy$.next();\n }\n\n async fitToBounds() {\n await this.updateAssets();\n if (this.assets.length === 0 || !this.clusterMap?.map) {\n return;\n }\n\n const bounds = await this.mapService.getAssetsBounds(this.assets);\n\n this.clusterMap.map.fitBounds(bounds, defaultFitBoundsOptions);\n }\n\n async onGlobalContext(event) {\n const { context } = event;\n\n const isRealtime = this.mapConfig.realtime;\n if (!isRealtime && context.isAutoRefreshEnabled) {\n // If follow is enabled, fetch latest position and center map before reload\n if (this.mapConfig.follow && this.config.device?.c8y_Position) {\n await this.updateAssets();\n if (this.assets?.length === 1) {\n // Update clusterMap's asset so marker can be rendered even if cluster query returns 0 positions\n (this.clusterMap as any).assets = this.assets[0];\n this.clusterMap?.moveToPositionOfMo(this.assets[0]);\n // Prevent cluster subscription from re-centering to same position\n const pos = this.assets[0].c8y_Position;\n (this.clusterMap as any).lastFollowedPosition = { lat: pos.lat, lng: pos.lng };\n }\n }\n\n this.clusterMap?.reload();\n }\n }\n\n private async updateAssets() {\n this.assets = (await this.mapService.getAllPositionMOs(this.config.device)).data;\n }\n\n private listenToWidgetResizeEvent(dashboardChild: DashboardChildComponent) {\n dashboardChild.changeEnd\n .pipe(\n filter(child => child.lastChange === 'resize'),\n takeUntil(this.destroy$)\n )\n .subscribe(() => {\n this.clusterMap.reset();\n });\n }\n\n private subscribeToErrorsOccurred() {\n this.clusterMap.errorNotifier\n .pipe(filter(Boolean), takeUntil(this.destroy$))\n .subscribe(error => {\n this.alerts.addAlerts(\n new DynamicComponentAlert({\n type: 'warning',\n text:\n error?.name === 'TimeoutError'\n ? this.TIMEOUT_ERROR_TEXT\n : (error?.message ?? this.SERVER_ERROR_TEXT)\n })\n );\n });\n }\n\n private updateMapConfigRealtime() {\n this.mapConfig.realtime = this.config.realtime || false;\n }\n\n private async applyDeviceTypeTarget() {\n const hasDeviceTarget = !!this.config.device; // The map widget supports not selecting any target\n const isDeviceTypeDashboard = !!this.dashboardContextComponent?.dashboard?.deviceType;\n if (isDeviceTypeDashboard && hasDeviceTarget) {\n const context = this.dashboardContextComponent.context;\n if (context?.id) {\n const { id } = context;\n this.config.device = (await this.inventory.detail(id)).data;\n }\n }\n }\n}\n","@if (mapConfig) {\n <c8y-map-status\n [clusterMap]=\"mapWidget\"\n [(config)]=\"mapConfig\"\n (onUnfollow)=\"stopFollow()\"\n (fitAssetsToBounds)=\"fitToBounds()\"\n [assets]=\"assets\"\n [buttonsConfig]=\"{\n autoRefresh: { show: false },\n refresh: { show: false },\n realtime: { show: false },\n fitToBounds: { show: true }\n }\"\n >\n <c8y-global-context-widget-wrapper\n *ngIf=\"controls\"\n [widgetControls]=\"controls\"\n [config]=\"config\"\n [isLoading]=\"mapWidget.isLoading$ | async\"\n (globalContextChange)=\"onGlobalContext($event)\"\n ></c8y-global-context-widget-wrapper>\n </c8y-map-status>\n\n <c8y-cluster-map\n #mapWidget\n [rootNode]=\"rootNode\"\n [config]=\"mapConfig\"\n [asset]=\"assets\"\n >\n <div\n class=\"map-marker\"\n *c8yMapPopup=\"let context\"\n >\n <a\n class=\"text-truncate deviceLink text-12\"\n routerLink=\"{{ context | assetLink }}\"\n >\n <strong>{{ context.name }}</strong>\n </a>\n <c8y-map-event-info [asset]=\"context\">\n <button\n class=\"btn btn-default btn-xs btn-block m-t-8\"\n [title]=\"'Activate realtime on this asset and follow it if it moves' | translate\"\n type=\"button\"\n (click)=\"startFollow(context)\"\n *ngIf=\"!mapConfig.follow\"\n translate\n >\n Follow\n </button>\n <button\n class=\"btn btn-default btn-xs btn-block m-t-8\"\n [title]=\"'Stop following this asset.' | translate\"\n type=\"button\"\n (click)=\"stopFollow()\"\n *ngIf=\"mapConfig.follow\"\n translate\n >\n Unfollow\n </button>\n </c8y-map-event-info>\n </div>\n </c8y-cluster-map>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["NgCommonModule","i4","i5","NgFormsModule","i6","CommonModule","FormsModule","i1","i2","i3"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWa,qBAAqB,CAAA;AAQhC,IAAA,WAAA,CAAoB,YAA0B,EAAA;QAA1B,IAAA,CAAA,YAAY,GAAZ,YAAY;QAJhC,IAAA,CAAA,OAAO,GAAG,IAAI;IAImC;AAEjD,IAAA,MAAM,WAAW,GAAA;AACf,QAAA,IAAI,CAAC,OAAO,GAAG,IAAI;QACnB,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;AAC5C,YAAA,QAAQ,EAAE,YAAY;YACtB,MAAM,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,WAAW,EAAE;AAC1C,YAAA,YAAY,EAAE,cAAc;AAC5B,YAAA,QAAQ,EAAE,CAAC;AACX,YAAA,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC;AACpB,SAAA,CAAC;AACF,QAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC;AACpB,QAAA,IAAI,CAAC,OAAO,GAAG,KAAK;IACtB;+GArBW,qBAAqB,EAAA,IAAA,EAAA,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BAAA,CAAA,EAAA,OAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAAC,EAAA,CAAA,gBAAA,EAAA,IAAA,EAAA,WAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,aAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAG1B,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAlB9B,SAAS;+BACE,gBAAgB,EAAA,UAAA,EAEd,IAAI,EAAA,OAAA,EACP;wBACP,qBAAqB;wBACrBP,YAAc;wBACdG,WAAa;wBACbE,cAAY;wBACZC,aAAW;wBACX,kBAAkB;wBAClB,SAAS;wBACT,aAAa;wBACb,aAAa;wBACb,UAAU;wBACV;AACD,qBAAA,EAAA,QAAA,EAAA,uzDAAA,EAAA;;0BAuBE;;0BAGA;;sBArBF;;sBAEA,SAAS;uBAAC,mBAAmB;;;AEzEhC;;AAEG;;;;"}
1
+ {"version":3,"file":"c8y-ngx-components-widgets-implementations-map.mjs","sources":["../../widgets/implementations/map/map-event-info.component.ts","../../widgets/implementations/map/map-event-info.component.html","../../widgets/implementations/map/map-widget-config.component.ts","../../widgets/implementations/map/map-widget-config.component.html","../../widgets/implementations/map/map-widget.component.ts","../../widgets/implementations/map/map-widget.component.html","../../widgets/implementations/map/c8y-ngx-components-widgets-implementations-map.ts"],"sourcesContent":["import { CommonModule as NgCommonModule } from '@angular/common';\nimport { Component, Input, OnChanges } from '@angular/core';\nimport { EventService, IEvent, IManagedObject } from '@c8y/client';\nimport { C8yTranslateDirective, DatePipe, LoadingComponent } from '@c8y/ngx-components';\n\n@Component({\n selector: 'c8y-map-event-info',\n templateUrl: './map-event-info.component.html',\n standalone: true,\n imports: [NgCommonModule, C8yTranslateDirective, DatePipe, LoadingComponent]\n})\nexport class MapEventInfoComponent implements OnChanges {\n @Input()\n asset: IManagedObject;\n\n loading = true;\n\n event: IEvent;\n\n constructor(private eventService: EventService) {}\n\n async ngOnChanges() {\n this.loading = true;\n const { data } = await this.eventService.list({\n dateFrom: '1970-01-01',\n dateTo: new Date(Date.now()).toISOString(),\n fragmentType: 'c8y_Position',\n pageSize: 1,\n source: this.asset.id\n });\n this.event = data[0];\n this.loading = false;\n }\n}\n","<div class=\"text-muted text-10 p-t-4 p-b-4\">\n <span translate>Last position update:</span>\n <br />\n <c8y-loading *ngIf=\"loading\"></c8y-loading>\n <ng-container *ngIf=\"!loading\">\n <i *ngIf=\"!event\" translate>No information found</i>\n <ng-container *ngIf=\"event\">\n <i>{{ event.time | c8yDate }}</i>\n <ng-content></ng-content>\n </ng-container>\n </ng-container>\n</div>\n","import { CommonModule as NgCommonModule } from '@angular/common';\nimport {\n Component,\n computed,\n Inject,\n Input,\n OnChanges,\n OnDestroy,\n OnInit,\n signal,\n SimpleChanges,\n TemplateRef,\n ViewChild\n} from '@angular/core';\nimport {\n ControlContainer,\n NgForm,\n FormsModule as NgFormsModule,\n ReactiveFormsModule\n} from '@angular/forms';\nimport type { IIdentified } from '@c8y/client';\nimport { AlertService, C8yTranslatePipe, CommonModule, FormsModule } from '@c8y/ngx-components';\nimport { WidgetConfigService } from '@c8y/ngx-components/context-dashboard';\nimport { gettext } from '@c8y/ngx-components/gettext';\nimport { GLOBAL_CONTEXT_DISPLAY_MODE, RefreshOption } from '@c8y/ngx-components/global-context';\nimport { IconSelectorModule } from '@c8y/ngx-components/icon-selector';\nimport {\n ClusterMapConfig,\n defaultFitBoundsOptions,\n MAP_DEFAULT_CONFIG,\n MapComponent,\n MapModule,\n MapService,\n PositionManagedObject\n} from '@c8y/ngx-components/map';\nimport type { MapDefaultConfig } from '@c8y/options';\nimport { TranslateService } from '@ngx-translate/core';\nimport type L from 'leaflet';\nimport { isUndefined } from 'lodash';\nimport { PopoverModule } from 'ngx-bootstrap/popover';\nimport { TooltipModule } from 'ngx-bootstrap/tooltip';\nimport { fromEvent, Observable, Subject } from 'rxjs';\nimport { combineLatestWith, take, takeUntil } from 'rxjs/operators';\nimport { MapWidgetConfig } from './map-widget.model';\n\n@Component({\n selector: 'c8y-map-widget-config',\n templateUrl: './map-widget-config.component.html',\n viewProviders: [{ provide: ControlContainer, useExisting: NgForm }],\n standalone: true,\n imports: [\n NgCommonModule,\n NgFormsModule,\n CommonModule,\n FormsModule,\n IconSelectorModule,\n MapModule,\n TooltipModule,\n ReactiveFormsModule,\n PopoverModule,\n C8yTranslatePipe\n ]\n})\nexport class MapWidgetConfigComponent implements OnInit, OnChanges, OnDestroy {\n @Input() config: MapWidgetConfig = {\n mapConfig: undefined\n };\n formConfig: ClusterMapConfig;\n\n readonly device = signal<IIdentified | undefined>(undefined);\n readonly assets = signal<PositionManagedObject[]>([]);\n\n readonly canAutoCenter = computed(() => {\n const assetsList = this.assets();\n const deviceValue = this.device();\n\n const isSingleAsset = assetsList?.length === 1;\n const idMatchesDevice = deviceValue?.id === assetsList[0]?.id;\n\n if (isSingleAsset && idMatchesDevice) {\n return this.mapService.hasPosition(assetsList[0]);\n }\n return false;\n });\n\n readonly isPositionedDevice = computed(() => {\n const assetsList = this.assets();\n const deviceValue = this.device();\n\n const isSingleAsset = assetsList?.length === 1;\n const idMatchesDevice = deviceValue?.id === assetsList[0]?.id;\n\n if (isSingleAsset && idMatchesDevice) {\n return this.mapService.isPositionedDevice(assetsList[0]);\n }\n return false;\n });\n\n refreshOption: RefreshOption = 'live';\n\n private destroyed$ = new Subject<void>();\n private leaflet: typeof L;\n private centerIcon: L.Marker;\n // JS precision for floating point number is 15 for 64-bit and because of this provided to leaflet are recalculated\n // to values almost-like provided (e.g. 0 is recalculated to 1.46e-14; for 180 it's 180.00000000000003).\n // To ensure provided value has no floating point error, number needs to be rounded to fixed point 13.\n private readonly FIXED_POINT_DIGITS = 13;\n\n @ViewChild(MapComponent)\n previewMap: MapComponent;\n\n @ViewChild('previewMap')\n set previewMapSet(template: TemplateRef<any>) {\n if (template) {\n this.widgetConfigService.setPreview(template);\n return;\n }\n this.widgetConfigService.setPreview(null);\n }\n\n constructor(\n private mapService: MapService,\n private alertService: AlertService,\n private translateService: TranslateService,\n @Inject(MAP_DEFAULT_CONFIG) private defaultMapConfig: Observable<MapDefaultConfig>,\n private widgetConfigService: WidgetConfigService\n ) {}\n\n ngOnDestroy(): void {\n this.destroyed$.next();\n }\n\n ngOnInit() {\n this.device.set(this.config.device);\n\n this.defaultMapConfig.pipe(takeUntil(this.destroyed$)).subscribe(defaultConfig => {\n this.formConfig = {\n zoomLevel: defaultConfig.zoomLevel,\n center: defaultConfig.center\n };\n this.initForm();\n });\n }\n\n async fitToBound() {\n if (this.formConfig.autoFitToBounds) {\n const bounds = await this.mapService.getAssetsBounds(this.assets());\n this.previewMap.map.fitBounds(bounds, defaultFitBoundsOptions);\n }\n }\n\n async initForm() {\n if (!this.config.mapConfig) {\n this.config.mapConfig = this.formConfig;\n }\n\n this.formConfig = {\n ...this.formConfig,\n ...this.config.mapConfig,\n disablePan: false,\n displayMode: this.config.mapConfig?.displayMode ?? GLOBAL_CONTEXT_DISPLAY_MODE.DASHBOARD,\n // Keep both in sync\n realtime:\n this.config.mapConfig?.isRealtimeEnabled ?? this.config.mapConfig?.realtime ?? false,\n refreshOption: this.config.mapConfig?.refreshOption,\n refreshInterval: this.config.mapConfig?.refreshInterval ?? 30_000\n };\n\n await this.updateAsset();\n }\n\n async ngOnChanges(changes: SimpleChanges) {\n if (changes.config) {\n this.device.set(this.config.device);\n\n if (\n changes.config.currentValue !== changes.config.previousValue &&\n !changes.config.firstChange\n ) {\n await this.updateAsset();\n }\n }\n }\n\n previewMapInit(leaflet: typeof L): void {\n this.leaflet = leaflet;\n this.addCenterIcon(this.formConfig.center[0], this.formConfig.center[1]);\n }\n\n onBeforeSave() {\n this.config.mapConfig = this.formConfig;\n return true;\n }\n\n zoomLevelChanged() {\n this.config.mapConfig = {\n ...this.config.mapConfig,\n zoomLevel: this.formConfig.zoomLevel\n };\n }\n\n changeCenter() {\n if (this.centerIcon) {\n this.centerIcon.remove();\n }\n this.config.mapConfig = { ...this.formConfig, center: [...this.formConfig.center] };\n this.addCenterIcon(this.formConfig.center[0], this.formConfig.center[1]);\n }\n\n changeCenterOnEnterKey(event: KeyboardEvent): void {\n event.preventDefault();\n this.changeCenter();\n }\n\n onPreviewZoomStart() {\n this.centerIcon.remove();\n }\n\n onPreviewZoomEnd(event: L.LeafletEvent) {\n this.formConfig.zoomLevel = Math.floor(event.target.getZoom());\n }\n\n onPreviewMapMove(event: L.LeafletEvent) {\n if (this.centerIcon) {\n this.centerIcon.remove();\n }\n const { lat, lng } = event.target.getCenter();\n const fixedLat = +lat.toFixed(this.FIXED_POINT_DIGITS);\n const fixedLng = +lng.toFixed(this.FIXED_POINT_DIGITS);\n this.addCenterIcon(fixedLat, fixedLng);\n this.formConfig.center = [fixedLat, fixedLng];\n }\n\n useOwnPosition() {\n navigator.geolocation.getCurrentPosition(({ coords }) => {\n this.formConfig.center = [coords.latitude, coords.longitude];\n this.changeCenter();\n });\n }\n\n centerToAsset() {\n this.formConfig.center = [\n this.config.device.c8y_Position.lat,\n this.config.device.c8y_Position.lng\n ];\n this.changeCenter();\n }\n\n async fitToBounds() {\n const assetsList = this.assets();\n if (!assetsList?.length || !this.previewMap?.map) {\n return;\n }\n\n const bounds = await this.mapService.getAssetsBounds(assetsList);\n\n // map.fitBounds causes zoom and move events, so get new center and zoom level only when these events are finished\n fromEvent<L.LeafletEvent>(this.previewMap.map, 'moveend')\n .pipe(combineLatestWith(fromEvent<L.LeafletEvent>(this.previewMap.map, 'zoomend')), take(1))\n .subscribe(() => {\n const center = this.previewMap.map.getCenter();\n const zoom = this.previewMap.map.getZoom();\n\n const fixedLat = +center.lat.toFixed(this.FIXED_POINT_DIGITS);\n const fixedLng = +center.lng.toFixed(this.FIXED_POINT_DIGITS);\n this.formConfig.center = [fixedLat, fixedLng];\n this.formConfig.zoomLevel = Math.floor(zoom);\n\n this.changeCenter();\n });\n\n this.previewMap.map.fitBounds(bounds, defaultFitBoundsOptions);\n }\n\n selectIcon(icon: string) {\n this.formConfig.icon = icon;\n this.config.mapConfig.icon = icon;\n this.previewMap.refreshMarkers();\n }\n\n private async updateAsset() {\n const { data, paging } = await this.mapService.getAllPositionMOs(this.device());\n const onlyAssetsWithLatLng = data.filter(\n asset => !isUndefined(asset.c8y_Position?.lat) && !isUndefined(asset.c8y_Position?.lng)\n );\n\n this.assets.set(onlyAssetsWithLatLng);\n\n if (paging.totalPages > 1) {\n this.alertService.danger(\n gettext(\n 'It might be possible that assets are not shown in the preview, as the current selection has more than 500 assets and the preview only supports a maximum of 500 assets.'\n )\n );\n }\n }\n\n private addCenterIcon(lat: number, lng: number) {\n const titleText = this.translateService.instant(gettext('Map center'));\n const icon = this.leaflet.divIcon({\n html: `<i style=\"pointer-events: none\" class=\"c8y-map-marker-icon text-muted dlt-c8y-icon-target icon-2x\" title=\"${titleText}\" />`\n });\n this.centerIcon = this.leaflet.marker([lat, lng], {\n icon\n });\n this.previewMap.addMarkerToMap(this.centerIcon);\n }\n}\n","@if (formConfig) {\n <fieldset class=\"c8y-fieldset\">\n <legend>{{ 'Map' | translate }}</legend>\n <div class=\"row tight-grid\">\n <div class=\"col-xs-3\">\n <c8y-form-group class=\"m-b-16 text-center form-group-sm\">\n <label translate>Marker icon</label>\n <c8y-icon-selector-wrapper\n [canRemoveIcon]=\"true\"\n [selectedIcon]=\"formConfig.icon\"\n (onSelect)=\"selectIcon($event)\"\n ></c8y-icon-selector-wrapper>\n </c8y-form-group>\n </div>\n <div [ngClass]=\"{ 'col-xs-6': !isPositionedDevice(), 'col-xs-9': isPositionedDevice() }\">\n <div class=\"form-group form-group-sm\">\n <label translate>Zoom level</label>\n <c8y-range\n class=\"label-bottom\"\n name=\"zoomLevel\"\n #range\n [(ngModel)]=\"formConfig.zoomLevel\"\n (change)=\"zoomLevelChanged()\"\n >\n <input\n type=\"range\"\n min=\"0\"\n max=\"18\"\n step=\"1\"\n [disabled]=\"!isPositionedDevice() && formConfig.autoFitToBounds\"\n />\n </c8y-range>\n </div>\n </div>\n @if (!isPositionedDevice()) {\n <div class=\"col-xs-3\">\n <c8y-form-group class=\"m-b-16 text-center form-group-sm\">\n <label translate>Fit to bounds</label>\n <div class=\"m-t-4 d-flex j-c-center\">\n <label class=\"c8y-switch c8y-switch--inline\">\n <input\n name=\"autoFitToBounds\"\n type=\"checkbox\"\n [(ngModel)]=\"formConfig.autoFitToBounds\"\n (ngModelChange)=\"fitToBound()\"\n />\n <span></span>\n </label>\n <button\n class=\"btn-help\"\n aria-label=\"Help content\"\n [popover]=\"\n 'If enabled, the zoom level and center bound is always adjusted to fit all assets within the map view.'\n | translate\n \"\n placement=\"top\"\n triggers=\"focus\"\n container=\"body\"\n type=\"button\"\n ></button>\n </div>\n </c8y-form-group>\n </div>\n }\n </div>\n <c8y-form-group class=\"form-group-sm\">\n <label translate>Center bound</label>\n <div class=\"input-group input-group-sm\">\n <input\n class=\"form-control\"\n placeholder=\"{{ 'lat.`latitude`' | translate }}\"\n name=\"centerLat\"\n type=\"number\"\n required\n [(ngModel)]=\"formConfig.center[0]\"\n (change)=\"changeCenter()\"\n (keydown.enter)=\"changeCenterOnEnterKey($event)\"\n min=\"-90\"\n max=\"90\"\n step=\"0.1\"\n [disabled]=\"!isPositionedDevice() && formConfig.autoFitToBounds\"\n />\n <input\n class=\"form-control\"\n placeholder=\"{{ 'lng.`longitude`' | translate }}\"\n name=\"centerLng\"\n type=\"number\"\n required\n min=\"-180\"\n max=\"180\"\n [(ngModel)]=\"formConfig.center[1]\"\n (change)=\"changeCenter()\"\n (keydown.enter)=\"changeCenterOnEnterKey($event)\"\n min=\"-180\"\n max=\"180\"\n step=\"0.1\"\n [disabled]=\"!isPositionedDevice() && formConfig.autoFitToBounds\"\n />\n <div class=\"input-group-btn\">\n <button\n class=\"btn btn-default\"\n [attr.aria-label]=\"'Use your location' | translate\"\n [tooltip]=\"'Use your location' | translate\"\n placement=\"top\"\n container=\"body\"\n (click)=\"useOwnPosition()\"\n [disabled]=\"!isPositionedDevice() && formConfig.autoFitToBounds\"\n >\n <i\n class=\"icon-14\"\n c8yIcon=\"location-arrow\"\n ></i>\n </button>\n </div>\n <div class=\"input-group-btn\">\n @if (canAutoCenter()) {\n <button\n class=\"btn btn-default\"\n [attr.aria-label]=\"'Use selected asset location' | translate\"\n [tooltip]=\"'Use selected asset location' | translate\"\n placement=\"top\"\n container=\"body\"\n (click)=\"centerToAsset()\"\n [disabled]=\"!isPositionedDevice() && formConfig.autoFitToBounds\"\n >\n <i\n class=\"icon-14\"\n c8yIcon=\"location\"\n ></i>\n </button>\n } @else {\n <button\n class=\"btn btn-default\"\n [attr.aria-label]=\"'Fit to assets bounds' | translate\"\n [tooltip]=\"'Fit to assets bounds' | translate\"\n placement=\"top\"\n container=\"body\"\n (click)=\"fitToBounds()\"\n [disabled]=\"!isPositionedDevice() && formConfig.autoFitToBounds\"\n >\n <i\n class=\"icon-14\"\n c8yIcon=\"waypoint-map\"\n ></i>\n </button>\n }\n </div>\n </div>\n\n @if (!formConfig.autoFitToBounds) {\n <c8y-messages\n [helpMessage]=\"'Drag the map to the desired position' | translate\"\n ></c8y-messages>\n }\n </c8y-form-group>\n </fieldset>\n\n @if (isPositionedDevice()) {\n <fieldset class=\"c8y-fieldset\">\n <legend>{{ 'Follow' | translate }}</legend>\n <div class=\"row tight-grid d-flex a-i-center\">\n <div class=\"col-xs-12\">\n <div class=\"form-group form-group-sm m-b-16\">\n <label class=\"c8y-switch c8y-switch--inline\">\n <input\n name=\"follow\"\n type=\"checkbox\"\n [(ngModel)]=\"formConfig.follow\"\n />\n <span></span>\n <span\n class=\"text-12\"\n translate\n >\n Follow selected\n </span>\n </label>\n </div>\n </div>\n </div>\n </fieldset>\n }\n}\n\n<ng-template #previewMap>\n <div style=\"width: 100%; height: 100%\">\n @if (config.mapConfig) {\n <c8y-map\n [assets]=\"assets()\"\n [config]=\"config.mapConfig\"\n (onMove)=\"onPreviewMapMove($event)\"\n (onZoomStart)=\"onPreviewZoomStart()\"\n (onZoomEnd)=\"onPreviewZoomEnd($event)\"\n (onInit)=\"previewMapInit($event)\"\n ></c8y-map>\n }\n </div>\n</ng-template>\n","import { CommonModule as NgCommonModule } from '@angular/common';\nimport {\n AfterViewInit,\n Component,\n Input,\n OnDestroy,\n OnInit,\n Optional,\n ViewChild\n} from '@angular/core';\nimport { FormsModule as NgFormsModule } from '@angular/forms';\nimport { RouterLink } from '@angular/router';\nimport { IIdentified, InventoryService } from '@c8y/client';\nimport {\n AssetLinkPipe,\n CommonModule,\n DashboardChildComponent,\n DismissAlertStrategy,\n DynamicComponent,\n DynamicComponentAlert,\n DynamicComponentAlertAggregator,\n DynamicComponentService,\n FormsModule,\n WidgetsDashboardComponent\n} from '@c8y/ngx-components';\nimport { ContextDashboardComponent } from '@c8y/ngx-components/context-dashboard';\nimport { gettext } from '@c8y/ngx-components/gettext';\nimport {\n GLOBAL_CONTEXT_DISPLAY_MODE,\n GlobalContextWidgetWrapperComponent,\n WidgetConfigMigrationService,\n WidgetControls\n} from '@c8y/ngx-components/global-context';\nimport { IconSelectorModule } from '@c8y/ngx-components/icon-selector';\nimport {\n ClusterMapComponent,\n ClusterMapConfig,\n defaultFitBoundsOptions,\n MapModule,\n MapService,\n PositionManagedObject\n} from '@c8y/ngx-components/map';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\nimport { debounce, merge } from 'lodash-es';\nimport { TooltipModule } from 'ngx-bootstrap/tooltip';\nimport { Subject } from 'rxjs';\nimport { filter, takeUntil } from 'rxjs/operators';\nimport { MapEventInfoComponent } from './map-event-info.component';\nimport { MapWidgetConfig } from './map-widget.model';\n\n@Component({\n selector: 'c8y-map-widget',\n templateUrl: './map-widget.component.html',\n standalone: true,\n imports: [\n MapEventInfoComponent,\n NgCommonModule,\n NgFormsModule,\n CommonModule,\n FormsModule,\n IconSelectorModule,\n MapModule,\n AssetLinkPipe,\n TooltipModule,\n RouterLink,\n GlobalContextWidgetWrapperComponent\n ]\n})\nexport class MapWidgetComponent implements OnInit, OnDestroy, AfterViewInit, DynamicComponent {\n mapConfig: ClusterMapConfig = { center: [0, 0] };\n rootNode: IIdentified;\n @Input() config: MapWidgetConfig;\n\n @ViewChild(ClusterMapComponent)\n clusterMap: ClusterMapComponent;\n alerts: DynamicComponentAlertAggregator;\n assets: PositionManagedObject[];\n\n private TIMEOUT_ERROR_TEXT = gettext(\n 'The request is taking longer than usual. We apologize for the inconvenience.'\n );\n private SERVER_ERROR_TEXT = gettext('Server error occurred.');\n private savedNode: IIdentified;\n private destroy$ = new Subject<void>();\n private resizeObserver: ResizeObserver;\n controls: WidgetControls;\n\n constructor(\n dashboardChild: DashboardChildComponent,\n @Optional() private dashboardContextComponent: ContextDashboardComponent,\n private inventory: InventoryService,\n private mapService: MapService,\n @Optional() private widgetsDashboardComponent: WidgetsDashboardComponent,\n private dynamicComponentService: DynamicComponentService,\n private widgetConfigMigrationService: WidgetConfigMigrationService\n ) {\n this.listenToWidgetResizeEvent(dashboardChild);\n }\n\n async ngOnInit() {\n this.alerts.setAlertGroupDismissStrategy(\n 'warning',\n DismissAlertStrategy.TEMPORARY_OR_PERMANENT\n );\n\n await this.applyDeviceTypeTarget();\n\n if (this.config.device) {\n this.rootNode = this.config.device;\n }\n this.mapConfig = { ...this.config.mapConfig };\n\n // Check for legacy widget BEFORE updateMapConfigRealtime() overwrites it\n const isLegacyWidgetWithRealtime =\n !this.config.hasOwnProperty('displayMode') && this.mapConfig.realtime;\n\n this.updateMapConfigRealtime();\n this.savedNode = this.rootNode;\n await this.updateAssets();\n\n const migratedConfig = this.widgetConfigMigrationService.migrateWidgetConfig(this.config);\n this.config = merge(this.config, migratedConfig);\n\n // For legacy widgets (with realtime), set displayMode to 'view_and_config' to maintain previous behavior to some degree\n // TODO: adjust widgetConfigMigrationService.migrateWidgetConfig or do nothing.\n // Map widget is a special case since it blocks auto-refresh in the config live mode.\n if (isLegacyWidgetWithRealtime) {\n this.config.displayMode = GLOBAL_CONTEXT_DISPLAY_MODE.VIEW_AND_CONFIG;\n }\n\n if (this.assets.length > 1) {\n this.mapConfig = {\n ...this.mapConfig,\n follow: false\n };\n }\n\n this.controls =\n (await this.dynamicComponentService.getById(defaultWidgetIds.MAP)).data?.widgetControls || {};\n }\n\n ngAfterViewInit(): void {\n this.subscribeToErrorsOccurred();\n\n if (this.widgetsDashboardComponent) {\n const resizeCallback = debounce(() => {\n // initial size of map is assigned when left drawer is closed, but if it is opened after initialization\n // the map size is not updated, so we need to call invalidateSize so that map use the correct size\n this.clusterMap.map?.invalidateSize(false);\n }, 100);\n this.resizeObserver = new ResizeObserver(resizeCallback);\n\n this.resizeObserver.observe(this.widgetsDashboardComponent.nativeElement);\n }\n }\n\n startFollow(context) {\n if (context.id !== this.rootNode?.id) {\n this.rootNode = context;\n }\n\n this.mapConfig = {\n ...this.mapConfig,\n follow: true\n };\n }\n\n stopFollow() {\n this.mapConfig = {\n ...this.mapConfig,\n follow: false\n };\n this.rootNode = this.savedNode;\n }\n\n ngOnDestroy(): void {\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n this.destroy$.next();\n }\n\n async fitToBounds() {\n await this.updateAssets();\n if (this.assets.length === 0 || !this.clusterMap?.map) {\n return;\n }\n\n const bounds = await this.mapService.getAssetsBounds(this.assets);\n\n this.clusterMap.map.fitBounds(bounds, defaultFitBoundsOptions);\n }\n\n async onGlobalContext(event) {\n const { context } = event;\n\n const isRealtime = this.mapConfig.realtime;\n if (!isRealtime && context.isAutoRefreshEnabled) {\n // If follow is enabled, fetch latest position and center map before reload\n if (this.mapConfig.follow && this.config.device?.c8y_Position) {\n await this.updateAssets();\n if (this.assets?.length === 1) {\n // Update clusterMap's asset so marker can be rendered even if cluster query returns 0 positions\n (this.clusterMap as any).assets = this.assets[0];\n this.clusterMap?.moveToPositionOfMo(this.assets[0]);\n // Prevent cluster subscription from re-centering to same position\n const pos = this.assets[0].c8y_Position;\n (this.clusterMap as any).lastFollowedPosition = { lat: pos.lat, lng: pos.lng };\n }\n }\n\n this.clusterMap?.reload();\n }\n }\n\n private async updateAssets() {\n this.assets = (await this.mapService.getAllPositionMOs(this.config.device)).data;\n }\n\n private listenToWidgetResizeEvent(dashboardChild: DashboardChildComponent) {\n dashboardChild.changeEnd\n .pipe(\n filter(child => child.lastChange === 'resize'),\n takeUntil(this.destroy$)\n )\n .subscribe(() => {\n this.clusterMap.reset();\n });\n }\n\n private subscribeToErrorsOccurred() {\n this.clusterMap.errorNotifier\n .pipe(filter(Boolean), takeUntil(this.destroy$))\n .subscribe(error => {\n this.alerts.addAlerts(\n new DynamicComponentAlert({\n type: 'warning',\n text:\n error?.name === 'TimeoutError'\n ? this.TIMEOUT_ERROR_TEXT\n : (error?.message ?? this.SERVER_ERROR_TEXT)\n })\n );\n });\n }\n\n private updateMapConfigRealtime() {\n this.mapConfig.realtime = this.config.realtime || false;\n }\n\n private async applyDeviceTypeTarget() {\n const hasDeviceTarget = !!this.config.device; // The map widget supports not selecting any target\n const isDeviceTypeDashboard = !!this.dashboardContextComponent?.dashboard?.deviceType;\n if (isDeviceTypeDashboard && hasDeviceTarget) {\n const context = this.dashboardContextComponent.context;\n if (context?.id) {\n const { id } = context;\n this.config.device = (await this.inventory.detail(id)).data;\n }\n }\n }\n}\n","@if (mapConfig) {\n <c8y-map-status\n [clusterMap]=\"mapWidget\"\n [(config)]=\"mapConfig\"\n (onUnfollow)=\"stopFollow()\"\n (fitAssetsToBounds)=\"fitToBounds()\"\n [assets]=\"assets\"\n [buttonsConfig]=\"{\n autoRefresh: { show: false },\n refresh: { show: false },\n realtime: { show: false },\n fitToBounds: { show: true }\n }\"\n >\n @if (controls) {\n <c8y-global-context-widget-wrapper\n [widgetControls]=\"controls\"\n [config]=\"config\"\n [isLoading]=\"mapWidget.isLoading$ | async\"\n (globalContextChange)=\"onGlobalContext($event)\"\n ></c8y-global-context-widget-wrapper>\n }\n </c8y-map-status>\n\n <c8y-cluster-map\n #mapWidget\n [rootNode]=\"rootNode\"\n [config]=\"mapConfig\"\n [asset]=\"assets\"\n >\n <div\n class=\"map-marker\"\n *c8yMapPopup=\"let context\"\n >\n <a\n class=\"text-truncate deviceLink text-12\"\n routerLink=\"{{ context | assetLink }}\"\n >\n @if (context.name) {\n <strong>{{ context.name }}</strong>\n } @else {\n <strong\n ngNonBindable\n translate\n [translateParams]=\"{ id: context.id }\"\n >\n Device {{ id }}\n </strong>\n }\n </a>\n <c8y-map-event-info [asset]=\"context\">\n @if (!mapConfig.follow) {\n <button\n class=\"btn btn-default btn-xs btn-block m-t-8\"\n [title]=\"'Activate realtime on this asset and follow it if it moves' | translate\"\n type=\"button\"\n (click)=\"startFollow(context)\"\n translate\n >\n Follow\n </button>\n } @else {\n <button\n class=\"btn btn-default btn-xs btn-block m-t-8\"\n [title]=\"'Stop following this asset.' | translate\"\n type=\"button\"\n (click)=\"stopFollow()\"\n translate\n >\n Unfollow\n </button>\n }\n </c8y-map-event-info>\n </div>\n </c8y-cluster-map>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["NgCommonModule","i4","i5","NgFormsModule","CommonModule","i2","FormsModule","i1","i3","i6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWa,qBAAqB,CAAA;AAQhC,IAAA,WAAA,CAAoB,YAA0B,EAAA;QAA1B,IAAA,CAAA,YAAY,GAAZ,YAAY;QAJhC,IAAA,CAAA,OAAO,GAAG,IAAI;IAImC;AAEjD,IAAA,MAAM,WAAW,GAAA;AACf,QAAA,IAAI,CAAC,OAAO,GAAG,IAAI;QACnB,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;AAC5C,YAAA,QAAQ,EAAE,YAAY;YACtB,MAAM,EAAE,IAAI,IAAI,CAAC,I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AAA,WAAA,EAAA,IAAA,EACV,mCAAmC,EAAA,QAAA,EAAA,mCAAA,EAAA,MAAA,EAAA,CAAA,WAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,cAAA,EAAA,yBAAA,EAAA,QAAA,EAAA,qBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAAG,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAAF,IAAA,CAAA,gBAAA,EAAA,IAAA,EAAA,WAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAAA,IAAA,CAAA,aAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAG1B,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAlB9B,SAAS;+BACE,gBAAgB,EAAA,UAAA,EAEd,IAAI,EAAA,OAAA,EACP;wBACP,qBAAqB;wBACrBP,YAAc;wBACdG,WAAa;wBACbC,cAAY;wBACZE,aAAW;wBACX,kBAAkB;wBAClB,SAAS;wBACT,aAAa;wBACb,aAAa;wBACb,UAAU;wBACV;AACD,qBAAA,EAAA,QAAA,EAAA,slEAAA,EAAA;;0BAuBE;;0BAGA;;sBArBF;;sBAEA,SAAS;uBAAC,mBAAmB;;;AEzEhC;;AAEG;;;;"}
@@ -726,5 +726,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
726
726
  * Generated bundle index. Do not edit.
727
727
  */
728
728
 
729
- export { APPLICATIONS_WIDGET_ID, DEFAULT_DISPLAY_OPTION_VALUE, DEFAULT_QUICK_LINK_ICON, HELP_AND_SERVICE_WIDGET_ID, QUICK_LINKS_DEVICE_MANAGEMENT_ID, QuickLinkDisplayOption, QuickLinksService, QuickLinksWidgetConfigComponent, QuickLinksWidgetViewComponent, URL_VALIDATOR_PATTERN };
729
+ export { APPLICATIONS_WIDGET_ID, DEFAULT_DISPLAY_OPTION_VALUE, DEFAULT_QUICK_LINK_ICON, HELP_AND_SERVICE_WIDGET_ID, QUICK_LINKS_DEVICE_MANAGEMENT_ID, QuickLinkDisplayOption, QuickLinksService, QuickLinksWidgetConfigComponent, QuickLinksWidgetViewComponent, RelativeUrlParserPipe, URL_VALIDATOR_PATTERN };
730
730
  //# sourceMappingURL=c8y-ngx-components-widgets-implementations-quick-links.mjs.map
package/locales/de.po CHANGED
@@ -3538,6 +3538,9 @@ msgstr "Klicken Sie, um Punkte hinzuzufügen und den Bereich festzulegen. Ziehen
3538
3538
  msgid "Click to change"
3539
3539
  msgstr "Zum Ändern klicken"
3540
3540
 
3541
+ msgid "Click to collapse"
3542
+ msgstr "Zum Einklappen anklicken"
3543
+
3541
3544
  msgid "Click to edit"
3542
3545
  msgstr "Klicken zum Bearbeiten"
3543
3546
 
@@ -6144,6 +6147,9 @@ msgstr "Zeigt eine Liste von Alarmen, gefiltert nach Objekt, Schweregrad, Status
6144
6147
  msgid "Displays a table of assets with configurable columns and filters."
6145
6148
  msgstr "Zeigt eine Tabelle mit Vermögenswerten mit konfigurierbaren Spalten und Filtern an."
6146
6149
 
6150
+ msgid "Displays a welcome message and quick links for Device Management"
6151
+ msgstr "Zeigt eine Willkommensnachricht und Schnellzugriff-Links für das Device Management an."
6152
+
6147
6153
  msgid "Displays a welcome message for Cockpit"
6148
6154
  msgstr "Zeigt die Begrüßungsnachricht für die Cockpit-Anwendung an"
6149
6155
 
@@ -6162,9 +6168,6 @@ msgstr "Zeigt den Status eines binären Datenpunkts in Echtzeit an."
6162
6168
  msgid "Displays links to help and service resources."
6163
6169
  msgstr "Zeigt Links auf Hilfe- und Service-Dokumente an."
6164
6170
 
6165
- msgid "Displays quick links for Device Management"
6166
- msgstr "Zeigt Quick Links für Device Management an"
6167
-
6168
6171
  msgid "Displays the button next to target devices with children. Clicking it displays a list with all\n"
6169
6172
  " child devices of the selected target device."
6170
6173
  msgstr "Zeigt die Schaltfläche neben Zielgeräten mit Kindgeräten an. Wenn Sie darauf klicken, wird eine Liste mit allen\n"
@@ -8638,6 +8641,9 @@ msgstr "Gruppe gelöscht."
8638
8641
  msgid "Group name"
8639
8642
  msgstr "Gruppenname"
8640
8643
 
8644
+ msgid "Group of {{count}} assets"
8645
+ msgstr "Gruppe von {{count}} Assets"
8646
+
8641
8647
  msgid "Group or device"
8642
8648
  msgstr "Gruppe oder Gerät"
8643
8649
 
@@ -16770,6 +16776,9 @@ msgstr "Die Cockpit-Anwendung bietet Ihnen Optionen zur Verwaltung und Überwach
16770
16776
  msgid "The Device Management application provides functionalities for managing and monitoring devices and enables you to control and troubleshoot devices remotely."
16771
16777
  msgstr "Die Device Management-Anwendung bietet Ihnen Funktionen zur Verwaltung und Überwachung von Geräten und aktiviert die Steuerung und Fehlerbehebung von Geräten aus der Ferne."
16772
16778
 
16779
+ msgid "The Device Management application provides you with options to register, organize, and operate IoT devices from an operational perspective."
16780
+ msgstr "Die Anwendung „Device Management“ bietet Ihnen Optionen zum Registrieren, Organisieren und Betreiben von IoT-Geräten aus betrieblicher Sicht."
16781
+
16773
16782
  msgid "The Google fonts URL"
16774
16783
  msgstr "Die URL für Schriftarten von Google"
16775
16784
 
@@ -18980,6 +18989,9 @@ msgstr "Willkommen im Cockpit-Widget"
18980
18989
  msgid "Welcome to Cumulocity API Documentation"
18981
18990
  msgstr "Willkommen bei der Cumulocity API-Dokumentation"
18982
18991
 
18992
+ msgid "Welcome to Device Management"
18993
+ msgstr "Willkommen beim Device Management"
18994
+
18983
18995
  msgid "Welcome to Device Management widget"
18984
18996
  msgstr "Willkommen im Device Management Widget"
18985
18997
 
@@ -19721,9 +19733,6 @@ msgstr "Ihre Telefonnummer"
19721
19733
  msgid "Your rating: {{ starCount }} star(s)"
19722
19734
  msgstr "Ihre Bewertung: {{ starCount }} Stern(e)"
19723
19735
 
19724
- msgid "Zoom in"
19725
- msgstr "Vergrößern"
19726
-
19727
19736
  msgid "Zoom level"
19728
19737
  msgstr "Vergrößerungsstufe"
19729
19738
 
package/locales/es.po CHANGED
@@ -3544,6 +3544,9 @@ msgstr "Haga clic para agregar puntos y definir el área. Arrastre los puntos pa
3544
3544
  msgid "Click to change"
3545
3545
  msgstr "Haga clic para hacer un cambio"
3546
3546
 
3547
+ msgid "Click to collapse"
3548
+ msgstr "Haga clic para contraer"
3549
+
3547
3550
  msgid "Click to edit"
3548
3551
  msgstr "Click para editar"
3549
3552
 
@@ -6152,6 +6155,9 @@ msgstr "Muestra una lista de alarmas filtradas por objeto, gravedad, estado y fe
6152
6155
  msgid "Displays a table of assets with configurable columns and filters."
6153
6156
  msgstr "Muestra una tabla de activos con columnas y filtros configurables."
6154
6157
 
6158
+ msgid "Displays a welcome message and quick links for Device Management"
6159
+ msgstr "Muestra un mensaje de bienvenida y enlaces rápidos para la Gestión de dispositivos."
6160
+
6155
6161
  msgid "Displays a welcome message for Cockpit"
6156
6162
  msgstr "Muestra un mensaje de bienvenida para Cockpit"
6157
6163
 
@@ -6170,9 +6176,6 @@ msgstr "Muestra en tiempo real el estado de cualquier punto de datos binarios."
6170
6176
  msgid "Displays links to help and service resources."
6171
6177
  msgstr "Muestra enlaces y recursos de servicio."
6172
6178
 
6173
- msgid "Displays quick links for Device Management"
6174
- msgstr "Muestra enlaces rápidos para la gestión de dispositivos"
6175
-
6176
6179
  msgid "Displays the button next to target devices with children. Clicking it displays a list with all\n"
6177
6180
  " child devices of the selected target device."
6178
6181
  msgstr "Muestra el botón junto a los dispositivos de destino con hijos. Al hacer clic en él, se muestra una lista con todos los\n"
@@ -8633,6 +8636,9 @@ msgstr "Grupo eliminado."
8633
8636
  msgid "Group name"
8634
8637
  msgstr "Nombre del grupo"
8635
8638
 
8639
+ msgid "Group of {{count}} assets"
8640
+ msgstr "Grupo de activos de {{count}}"
8641
+
8636
8642
  msgid "Group or device"
8637
8643
  msgstr "Grupo o dispositivo"
8638
8644
 
@@ -16769,6 +16775,9 @@ msgstr "La aplicación Cockpit proporciona opciones para gestionar y supervisar
16769
16775
  msgid "The Device Management application provides functionalities for managing and monitoring devices and enables you to control and troubleshoot devices remotely."
16770
16776
  msgstr "La aplicación Gestión de dispositivos proporciona funciones para gestionar y supervisar dispositivos y permite controlar y solucionar problemas de dispositivos de manera remota."
16771
16777
 
16778
+ msgid "The Device Management application provides you with options to register, organize, and operate IoT devices from an operational perspective."
16779
+ msgstr "La aplicación de Gestión de dispositivos le ofrece opciones para el registro, la organización y el funcionamiento de dispositivos IoT desde una perspectiva operativa."
16780
+
16772
16781
  msgid "The Google fonts URL"
16773
16782
  msgstr "La URL de las fuentes de Google"
16774
16783
 
@@ -18980,6 +18989,9 @@ msgstr "Bienvenido al Widget Cockpit"
18980
18989
  msgid "Welcome to Cumulocity API Documentation"
18981
18990
  msgstr "Bienvenido a la documentación de la API de Cumulocity."
18982
18991
 
18992
+ msgid "Welcome to Device Management"
18993
+ msgstr "Bienvenido a la gestión de dispositivos"
18994
+
18983
18995
  msgid "Welcome to Device Management widget"
18984
18996
  msgstr "Bienvenido al Widget de gestión de dispositivos"
18985
18997
 
@@ -19721,9 +19733,6 @@ msgstr "Su número de teléfono"
19721
19733
  msgid "Your rating: {{ starCount }} star(s)"
19722
19734
  msgstr "Tu valoración: {{ starCount }} estrella(s)"
19723
19735
 
19724
- msgid "Zoom in"
19725
- msgstr "Acercar"
19726
-
19727
19736
  msgid "Zoom level"
19728
19737
  msgstr "Nivel de zoom"
19729
19738
 
package/locales/fr.po CHANGED
@@ -3547,6 +3547,9 @@ msgstr "Cliquez pour ajouter des points et définir la zone. Faites glisser les
3547
3547
  msgid "Click to change"
3548
3548
  msgstr "Cliquez pour modifier"
3549
3549
 
3550
+ msgid "Click to collapse"
3551
+ msgstr "Cliquez pour réduire"
3552
+
3550
3553
  msgid "Click to edit"
3551
3554
  msgstr "Cliquer pour modifier"
3552
3555
 
@@ -6155,6 +6158,9 @@ msgstr "Affiche la liste des alarmes filtrées par objet, gravité, état et dat
6155
6158
  msgid "Displays a table of assets with configurable columns and filters."
6156
6159
  msgstr "Effectue l'affichage d'un tableau des actifs avec des colonnes et des filtres configurables."
6157
6160
 
6161
+ msgid "Displays a welcome message and quick links for Device Management"
6162
+ msgstr "Affichage d'un message de bienvenue et de liens rapides vers la gestion des appareils."
6163
+
6158
6164
  msgid "Displays a welcome message for Cockpit"
6159
6165
  msgstr "Affiche un message de bienvenue pour Cockpit"
6160
6166
 
@@ -6173,9 +6179,6 @@ msgstr "Affiche en temps réel l'état de tout point de données binaires."
6173
6179
  msgid "Displays links to help and service resources."
6174
6180
  msgstr "Affiche les liens des ressources Aide et service."
6175
6181
 
6176
- msgid "Displays quick links for Device Management"
6177
- msgstr "Affiche les liens rapides pour la gestion des appareils"
6178
-
6179
6182
  msgid "Displays the button next to target devices with children. Clicking it displays a list with all\n"
6180
6183
  " child devices of the selected target device."
6181
6184
  msgstr "Affiche le bouton en regard des appareils cible comportant des enfants. Cliquez dessus pour afficher une liste de tous les\n"
@@ -8650,6 +8653,9 @@ msgstr "Groupe supprimé."
8650
8653
  msgid "Group name"
8651
8654
  msgstr "Nom du groupe"
8652
8655
 
8656
+ msgid "Group of {{count}} assets"
8657
+ msgstr "Groupe d'actifs {{count}}"
8658
+
8653
8659
  msgid "Group or device"
8654
8660
  msgstr "Groupe ou appareil"
8655
8661
 
@@ -16787,6 +16793,9 @@ msgstr "L'application Cockpit vous offre des options pour gérer et surveiller l
16787
16793
  msgid "The Device Management application provides functionalities for managing and monitoring devices and enables you to control and troubleshoot devices remotely."
16788
16794
  msgstr "L'application Gestion des appareils fournit des fonctionnalités de gestion et de surveillance des appareils et vous permet de contrôler et de dépanner les appareils à distance."
16789
16795
 
16796
+ msgid "The Device Management application provides you with options to register, organize, and operate IoT devices from an operational perspective."
16797
+ msgstr "L'application Gestion des appareils vous offre des options pour enregistrer, organiser et exploiter des appareils IoT d'un point de vue opérationnel."
16798
+
16790
16799
  msgid "The Google fonts URL"
16791
16800
  msgstr "URL des polices Google"
16792
16801
 
@@ -18998,6 +19007,9 @@ msgstr "Bienvenue dans le widget Cockpit"
18998
19007
  msgid "Welcome to Cumulocity API Documentation"
18999
19008
  msgstr "Bienvenue dans la documentation de l'API Cumulocity"
19000
19009
 
19010
+ msgid "Welcome to Device Management"
19011
+ msgstr "Bienvenue dans la gestion des appareils"
19012
+
19001
19013
  msgid "Welcome to Device Management widget"
19002
19014
  msgstr "Bienvenue dans le widget Gestion des appareils"
19003
19015
 
@@ -19738,9 +19750,6 @@ msgstr "Votre numéro de téléphone"
19738
19750
  msgid "Your rating: {{ starCount }} star(s)"
19739
19751
  msgstr "Votre note : {{ starCount }} étoile(s)"
19740
19752
 
19741
- msgid "Zoom in"
19742
- msgstr "Zoom avant"
19743
-
19744
19753
  msgid "Zoom level"
19745
19754
  msgstr "Niveau de zoom"
19746
19755
 
package/locales/ja_JP.po CHANGED
@@ -3503,6 +3503,9 @@ msgstr "クリックしてポイントを追加し、エリアを設定します
3503
3503
  msgid "Click to change"
3504
3504
  msgstr "変更するためにクリック"
3505
3505
 
3506
+ msgid "Click to collapse"
3507
+ msgstr ""
3508
+
3506
3509
  msgid "Click to edit"
3507
3510
  msgstr "クリックして編集"
3508
3511
 
@@ -6107,6 +6110,9 @@ msgstr "オブジェクト、重大度、ステータスおよび日付別にフ
6107
6110
  msgid "Displays a table of assets with configurable columns and filters."
6108
6111
  msgstr ""
6109
6112
 
6113
+ msgid "Displays a welcome message and quick links for Device Management"
6114
+ msgstr ""
6115
+
6110
6116
  msgid "Displays a welcome message for Cockpit"
6111
6117
  msgstr "コックピットのウェルカム メッセージを表示します"
6112
6118
 
@@ -6125,9 +6131,6 @@ msgstr "バイナリ データ ポイントのステータスをリアルタイ
6125
6131
  msgid "Displays links to help and service resources."
6126
6132
  msgstr "ヘルプおよびサービス リソースへのリンクを表示します。"
6127
6133
 
6128
- msgid "Displays quick links for Device Management"
6129
- msgstr "デバイス管理のクイック リンクを表示します"
6130
-
6131
6134
  msgid "Displays the button next to target devices with children. Clicking it displays a list with all\n"
6132
6135
  " child devices of the selected target device."
6133
6136
  msgstr "子があるターゲット デバイスの隣にボタンが表示されます。クリックすると、選択されたターゲット デバイスのすべての子デバイスを含むリストが表示されます。"
@@ -8548,6 +8551,9 @@ msgstr "グループは削除されました。"
8548
8551
  msgid "Group name"
8549
8552
  msgstr "グループ名"
8550
8553
 
8554
+ msgid "Group of {{count}} assets"
8555
+ msgstr ""
8556
+
8551
8557
  msgid "Group or device"
8552
8558
  msgstr "グループまたはデバイス"
8553
8559
 
@@ -16677,6 +16683,9 @@ msgstr "コックピット アプリケーションは、モノのインター
16677
16683
  msgid "The Device Management application provides functionalities for managing and monitoring devices and enables you to control and troubleshoot devices remotely."
16678
16684
  msgstr "デバイス管理アプリケーションは、デバイスを管理および監視する機能を提供し、デバイスをリモートで制御およびトラブルシューティングできるようにします。"
16679
16685
 
16686
+ msgid "The Device Management application provides you with options to register, organize, and operate IoT devices from an operational perspective."
16687
+ msgstr ""
16688
+
16680
16689
  msgid "The Google fonts URL"
16681
16690
  msgstr "Google フォント URL"
16682
16691
 
@@ -18872,6 +18881,9 @@ msgstr "コックピットへようこそウィジェット"
18872
18881
  msgid "Welcome to Cumulocity API Documentation"
18873
18882
  msgstr ""
18874
18883
 
18884
+ msgid "Welcome to Device Management"
18885
+ msgstr ""
18886
+
18875
18887
  msgid "Welcome to Device Management widget"
18876
18888
  msgstr "デバイス管理へようこそウィジェット"
18877
18889
 
@@ -19609,9 +19621,6 @@ msgstr "電話番号"
19609
19621
  msgid "Your rating: {{ starCount }} star(s)"
19610
19622
  msgstr "あなたの評価: {{ starCount }} スター"
19611
19623
 
19612
- msgid "Zoom in"
19613
- msgstr "拡大"
19614
-
19615
19624
  msgid "Zoom level"
19616
19625
  msgstr "ズーム レベル"
19617
19626
 
package/locales/ko.po CHANGED
@@ -3520,6 +3520,9 @@ msgstr "클릭해 포인트를 추가하고 영역을 설정하십시오. 포인
3520
3520
  msgid "Click to change"
3521
3521
  msgstr "클릭하여 변경"
3522
3522
 
3523
+ msgid "Click to collapse"
3524
+ msgstr "클릭하여 접기"
3525
+
3523
3526
  msgid "Click to edit"
3524
3527
  msgstr "클릭하여 편집"
3525
3528
 
@@ -6126,6 +6129,9 @@ msgstr "개체, 심각도, 상태, 날짜별로 필터링된 알람 목록 표
6126
6129
  msgid "Displays a table of assets with configurable columns and filters."
6127
6130
  msgstr "구성 가능한 열과 필터가 있는 자산 테이블을 표시합니다."
6128
6131
 
6132
+ msgid "Displays a welcome message and quick links for Device Management"
6133
+ msgstr "환영 메시지와 Device Management를 위한 빠른 링크를 표시합니다"
6134
+
6129
6135
  msgid "Displays a welcome message for Cockpit"
6130
6136
  msgstr "Cockpit을 위한 환영 메시지 표시"
6131
6137
 
@@ -6144,9 +6150,6 @@ msgstr "이진 데이터 포인트의 상태를 실시간으로 표시합니다.
6144
6150
  msgid "Displays links to help and service resources."
6145
6151
  msgstr "도움말 및 서비스 리소스 링크를 표시합니다."
6146
6152
 
6147
- msgid "Displays quick links for Device Management"
6148
- msgstr "Device Management에 대한 빠른 링크 표시"
6149
-
6150
6153
  msgid "Displays the button next to target devices with children. Clicking it displays a list with all\n"
6151
6154
  " child devices of the selected target device."
6152
6155
  msgstr "자식 장치가 있는 대상 장치 옆에 버튼을 표시합니다. 클릭하면 선택한 대상 장치의 모든\n"
@@ -8622,6 +8625,9 @@ msgstr "그룹이 삭제되었습니다."
8622
8625
  msgid "Group name"
8623
8626
  msgstr "그룹 이름"
8624
8627
 
8628
+ msgid "Group of {{count}} assets"
8629
+ msgstr "{{count}} 자산 그룹"
8630
+
8625
8631
  msgid "Group or device"
8626
8632
  msgstr "그룹 또는 디바이스"
8627
8633
 
@@ -16754,6 +16760,9 @@ msgstr "Cockpit 애플리케이션은 사물인터넷(IoT) 자산 및 데이터
16754
16760
  msgid "The Device Management application provides functionalities for managing and monitoring devices and enables you to control and troubleshoot devices remotely."
16755
16761
  msgstr "Device Management 애플리케이션은 디바이스 관리 및 모니터링 기능을 제공하고 원격으로 디바이스를 제어하고 문제를 해결할 수 있게 해줍니다."
16756
16762
 
16763
+ msgid "The Device Management application provides you with options to register, organize, and operate IoT devices from an operational perspective."
16764
+ msgstr "Device Management 애플리케이션은 운영 관점에서 IoT 기기를 등록, 구성 및 운영할 수 있는 옵션을 제공합니다."
16765
+
16757
16766
  msgid "The Google fonts URL"
16758
16767
  msgstr "Google 글꼴 URL"
16759
16768
 
@@ -18961,6 +18970,9 @@ msgstr "Cockpit 위젯에 오신 것을 환영합니다"
18961
18970
  msgid "Welcome to Cumulocity API Documentation"
18962
18971
  msgstr "Cumulocity API 문서에 오신 것을 환영합니다"
18963
18972
 
18973
+ msgid "Welcome to Device Management"
18974
+ msgstr "Device Management에 오신 것을 환영합니다"
18975
+
18964
18976
  msgid "Welcome to Device Management widget"
18965
18977
  msgstr "Device Management 위젯에 오신 것을 환영합니다"
18966
18978
 
@@ -19701,9 +19713,6 @@ msgstr "전화 번호"
19701
19713
  msgid "Your rating: {{ starCount }} star(s)"
19702
19714
  msgstr "귀하의 평점: {{ starCount }} 별점"
19703
19715
 
19704
- msgid "Zoom in"
19705
- msgstr "확대"
19706
-
19707
19716
  msgid "Zoom level"
19708
19717
  msgstr "확대/축소 수준"
19709
19718