@c8y/ngx-components 1021.75.8 → 1021.77.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/branding/shared/supports-branding.service.d.ts.map +1 -1
- package/core/common/ApplicationOptions.d.ts +2 -2
- package/core/dashboard/widgets-dashboard.component.d.ts +4 -2
- package/core/dashboard/widgets-dashboard.component.d.ts.map +1 -1
- package/core/login/login.component.d.ts.map +1 -1
- package/core/login/login.service.d.ts +1 -0
- package/core/login/login.service.d.ts.map +1 -1
- package/core/navigator/navigator-bottom/navigator-bottom.service.d.ts +3 -1
- package/core/navigator/navigator-bottom/navigator-bottom.service.d.ts.map +1 -1
- package/datapoint-explorer/view/datapoint-explorer.component.d.ts.map +1 -1
- package/echart/charts.component.d.ts.map +1 -1
- package/echart/models/datapoints-graph-widget.model.d.ts +10 -0
- package/echart/models/datapoints-graph-widget.model.d.ts.map +1 -1
- package/echart/services/chart-realtime.service.d.ts +2 -5
- package/echart/services/chart-realtime.service.d.ts.map +1 -1
- package/echart/services/echarts-options.service.d.ts +4 -13
- package/echart/services/echarts-options.service.d.ts.map +1 -1
- package/echart/services/y-axis.service.d.ts +1 -1
- package/echart/services/y-axis.service.d.ts.map +1 -1
- package/esm2022/branding/shared/supports-branding.service.mjs +6 -3
- package/esm2022/core/beta-feature/beta-preview-button.component.mjs +3 -3
- package/esm2022/core/beta-feature/beta-preview.component.mjs +3 -3
- package/esm2022/core/common/ApplicationOptions.mjs +1 -1
- package/esm2022/core/dashboard/widgets-dashboard.component.mjs +9 -5
- package/esm2022/core/login/login.component.mjs +2 -1
- package/esm2022/core/login/login.service.mjs +5 -1
- package/esm2022/core/navigator/navigator-bottom/navigator-bottom.service.mjs +13 -6
- package/esm2022/datapoint-explorer/view/datapoint-explorer.component.mjs +4 -3
- package/esm2022/device-map/device-map.component.mjs +2 -2
- package/esm2022/echart/charts.component.mjs +8 -2
- package/esm2022/echart/models/datapoints-graph-widget.model.mjs +1 -1
- package/esm2022/echart/services/chart-realtime.service.mjs +1 -1
- package/esm2022/echart/services/echarts-options.service.mjs +23 -15
- package/esm2022/echart/services/y-axis.service.mjs +32 -1
- package/esm2022/map/cluster-map.component.mjs +6 -3
- package/esm2022/map/map-status.component.mjs +23 -5
- package/esm2022/map/map.model.mjs +5 -2
- package/esm2022/map/map.service.mjs +17 -1
- package/esm2022/widgets/implementations/datapoints-graph/datapoints-graph-config/datapoints-graph-widget-config.component.mjs +4 -3
- package/esm2022/widgets/implementations/map/map-widget-config.component.mjs +25 -6
- package/esm2022/widgets/implementations/map/map-widget.component.mjs +40 -11
- package/fesm2022/c8y-ngx-components-branding-shared.mjs +5 -2
- package/fesm2022/c8y-ngx-components-branding-shared.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs +3 -2
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-map.mjs +1 -1
- package/fesm2022/c8y-ngx-components-device-map.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-echart-models.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-echart.mjs +60 -15
- package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-map.mjs +47 -7
- package/fesm2022/c8y-ngx-components-map.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +3 -2
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-map.mjs +67 -19
- package/fesm2022/c8y-ngx-components-widgets-implementations-map.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +26 -12
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/locales/locales.pot +19 -7
- package/map/cluster-map.component.d.ts +2 -1
- package/map/cluster-map.component.d.ts.map +1 -1
- package/map/map-status.component.d.ts +7 -2
- package/map/map-status.component.d.ts.map +1 -1
- package/map/map.model.d.ts +1 -0
- package/map/map.model.d.ts.map +1 -1
- package/map/map.service.d.ts +1 -0
- package/map/map.service.d.ts.map +1 -1
- package/package.json +1 -1
- package/widgets/implementations/datapoints-graph/datapoints-graph-config/datapoints-graph-widget-config.component.d.ts.map +1 -1
- package/widgets/implementations/map/map-widget-config.component.d.ts +1 -0
- package/widgets/implementations/map/map-widget-config.component.d.ts.map +1 -1
- package/widgets/implementations/map/map-widget.component.d.ts +10 -4
- package/widgets/implementations/map/map-widget.component.d.ts.map +1 -1
|
@@ -1,33 +1,39 @@
|
|
|
1
1
|
import { AfterViewInit, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { IManagedObject, InventoryService } from '@c8y/client';
|
|
3
|
-
import { ClusterMapComponent, ClusterMapConfig } from '@c8y/ngx-components/map';
|
|
4
|
-
import { DashboardChildComponent, DynamicComponent, DynamicComponentAlertAggregator } from '@c8y/ngx-components';
|
|
3
|
+
import { ClusterMapComponent, ClusterMapConfig, MapService, PositionManagedObject } from '@c8y/ngx-components/map';
|
|
4
|
+
import { DashboardChildComponent, DynamicComponent, DynamicComponentAlertAggregator, WidgetsDashboardComponent } from '@c8y/ngx-components';
|
|
5
5
|
import { MapWidgetConfig } from './map-widget.model';
|
|
6
6
|
import { ContextDashboardComponent } from '@c8y/ngx-components/context-dashboard';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class MapWidgetComponent implements OnInit, OnChanges, OnDestroy, AfterViewInit, DynamicComponent {
|
|
9
9
|
private dashboardContextComponent;
|
|
10
10
|
private inventory;
|
|
11
|
+
private mapService;
|
|
12
|
+
private widgetsDashboardComponent;
|
|
11
13
|
mapConfig: ClusterMapConfig;
|
|
12
14
|
rootNode: IManagedObject;
|
|
13
15
|
config: MapWidgetConfig;
|
|
14
16
|
clusterMap: ClusterMapComponent;
|
|
15
17
|
alerts: DynamicComponentAlertAggregator;
|
|
18
|
+
assets: PositionManagedObject[];
|
|
16
19
|
private TIMEOUT_ERROR_TEXT;
|
|
17
20
|
private SERVER_ERROR_TEXT;
|
|
18
21
|
private savedNode;
|
|
19
22
|
private destroy$;
|
|
20
|
-
|
|
23
|
+
private resizeObserver;
|
|
24
|
+
constructor(dashboardChild: DashboardChildComponent, dashboardContextComponent: ContextDashboardComponent, inventory: InventoryService, mapService: MapService, widgetsDashboardComponent: WidgetsDashboardComponent);
|
|
21
25
|
ngOnInit(): Promise<void>;
|
|
22
26
|
ngOnChanges(changes: SimpleChanges): void;
|
|
23
27
|
ngAfterViewInit(): void;
|
|
24
28
|
startFollow(context: any): void;
|
|
25
29
|
stopFollow(): void;
|
|
26
30
|
ngOnDestroy(): void;
|
|
31
|
+
fitToBounds(): Promise<void>;
|
|
32
|
+
private updateAssets;
|
|
27
33
|
private listenToWidgetResizeEvent;
|
|
28
34
|
private subscribeToErrorsOccurred;
|
|
29
35
|
private updateMapConfigRealtime;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MapWidgetComponent, [null, { optional: true; }, null]>;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapWidgetComponent, [null, { optional: true; }, null, null, { optional: true; }]>;
|
|
31
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<MapWidgetComponent, "c8y-map-widget", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
38
|
}
|
|
33
39
|
//# sourceMappingURL=map-widget.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-widget.component.d.ts","sourceRoot":"","sources":["../../../../widgets/implementations/map/map-widget.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAGb,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,
|
|
1
|
+
{"version":3,"file":"map-widget.component.d.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