@openremote/manager 1.12.0-snapshot.20251126163417 → 1.12.0-snapshot.20251128100326
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/app-test-report/data/06d59e018ada604159207a5c00c272bf3929dca1.webm +0 -0
- package/app-test-report/data/07e44f7f5665e80d7351302a25b125b9dd95e222.webm +0 -0
- package/app-test-report/data/1562e88172b4dfdd974ef16d8257035e11f3d6e5.webm +0 -0
- package/app-test-report/data/1f40c99a079f792f1a2f002adeca2d83ddd6974a.webm +0 -0
- package/app-test-report/data/1ff9abe0b27a49e2d500044664676b31f4f663bd.zip +0 -0
- package/app-test-report/data/278b707ca728169367f738c100499e7a6b495fbb.webm +0 -0
- package/app-test-report/data/2f93ef8560268e57cd71e0a3e6bdbad1f46e867b.webm +0 -0
- package/app-test-report/data/388833ae90cf5910a852b7260a71e667911c190d.webm +0 -0
- package/app-test-report/data/3917c50f4a7a04a0e314b01f3722f0841d612806.webm +0 -0
- package/app-test-report/data/39f82715123e3023636cef9792b9d95d82da0881.webm +0 -0
- package/app-test-report/data/4bad956098c7e2c0f08e0c020cb4e6fa06de5ce4.webm +0 -0
- package/app-test-report/data/5684868b80addd3b3744307cc54f363a2db851e6.md +27 -0
- package/app-test-report/data/57d2b2109811c3bc6d61efa170a869ffde507b51.webm +0 -0
- package/app-test-report/data/581023262fc024b88b382ee28a40c4d0a8e5ca14.webm +0 -0
- package/app-test-report/data/582b9e075bc5bb09fcdc77647a2a82bfdd91c652.webm +0 -0
- package/app-test-report/data/6ff7328b37f97332d3c7937e375419c139610408.webm +0 -0
- package/app-test-report/data/7c48091d47d7ade616ad6dee4aed3d35cd5ebbb0.webm +0 -0
- package/app-test-report/data/89a86cb2ab432822930e7c1c08193cd8627d56a2.webm +0 -0
- package/app-test-report/data/8ff07b9e28419cc9df4309c38b25e488531386c4.webm +0 -0
- package/app-test-report/data/9ff4cefc7b4e8407db1a9d7e800b1173302f6ef8.webm +0 -0
- package/app-test-report/data/a1b3ab8e5e96b4c0cf8c7bfc1a2ffc0c0aa51ad9.webm +0 -0
- package/app-test-report/data/a35cd6b50633dda2e3fb8af78cee58c1d3a25222.webm +0 -0
- package/app-test-report/data/a70f767c4bde3053f6d7b2b85c4afb6d29b9e372.webm +0 -0
- package/app-test-report/data/ab9e4aeb9352855296ec37e3887165ed4e26d2e4.webm +0 -0
- package/app-test-report/data/b1fab157e1654c150fe4581372391ea32237afb8.webm +0 -0
- package/app-test-report/data/b20eb6f084535040b8579c6009f408862ba1b6fe.webm +0 -0
- package/app-test-report/data/b244eba2a29d41cb88ad4d56b5cbc875ff70a320.webm +0 -0
- package/app-test-report/data/b2d687e8526716e781204db87b23b71672616ada.webm +0 -0
- package/app-test-report/data/b45428a59cbb82ba6128a6cf139135c3a037b148.webm +0 -0
- package/app-test-report/data/c15e75de1cf8c9f9ad9a62a37a09bcf4ee202d5e.webm +0 -0
- package/app-test-report/data/c23890d7ac9c3002f94bcc188b6389c504c2f569.webm +0 -0
- package/app-test-report/data/c3c7cb017ebd6d2593b9574521a3928b0325a41b.webm +0 -0
- package/app-test-report/data/c46d20b22e4acd47c284d44ea4b0c4d44c8466a4.webm +0 -0
- package/app-test-report/data/c4fadcd2cfa7280ef5d12bc2053816ba3055d17d.webm +0 -0
- package/app-test-report/data/cb8ae7fa036e108140acfeddb6ece84e9c783622.webm +0 -0
- package/app-test-report/data/d6855fd108ee832a6e84dae488abd2b65ff1e743.webm +0 -0
- package/app-test-report/data/df151b85cb963fd3a8dddca47d23e945c61e4f9d.webm +0 -0
- package/app-test-report/data/e0e9185ae26c5f4659b20972cf7c9bf34c8e092c.webm +0 -0
- package/app-test-report/data/e1101f7c9829e0ea0f8bb8f62ade7b3b08b8dcfe.webm +0 -0
- package/app-test-report/data/e68c5edb60be61d5a47f7e99f1fdb35a62ca2586.webm +0 -0
- package/app-test-report/data/ea4355d919c27f1f18a368789afbd812c684d494.webm +0 -0
- package/app-test-report/data/f621367d416a62584837f37a89c00c9a455c7b0a.webm +0 -0
- package/app-test-report/data/f7e1fd4be433d183a9b8a6745b83457a3d0a74cc.webm +0 -0
- package/app-test-report/data/f987c3f1500b1469ac39df0aca43fae68f58df14.webm +0 -0
- package/app-test-report/data/fa3622c647887df92f08fcf096c2a15b5c420b87.webm +0 -0
- package/app-test-report/data/fd26d16ba736c13f7e77e883d377fbf3b35c8710.webm +0 -0
- package/app-test-report/data/ff247e7a992838445c2ba490e6314ae20cea26f4.webm +0 -0
- package/app-test-report/index.html +1 -1
- package/app-test-report/trace/assets/codeMirrorModule-rKSJ91kC.js +24 -0
- package/app-test-report/trace/assets/defaultSettingsView-CUd-tHFm.js +256 -0
- package/app-test-report/trace/codeMirrorModule.C3UTv-Ge.css +1 -0
- package/app-test-report/trace/codicon.DCmgc-ay.ttf +0 -0
- package/app-test-report/trace/defaultSettingsView.NYBT19Ch.css +1 -0
- package/app-test-report/trace/index.CFOW-Ezb.css +1 -0
- package/app-test-report/trace/index.Cu8n3rOi.js +2 -0
- package/app-test-report/trace/index.html +43 -0
- package/app-test-report/trace/playwright-logo.svg +9 -0
- package/app-test-report/trace/snapshot.html +21 -0
- package/app-test-report/trace/sw.bundle.js +3 -0
- package/app-test-report/trace/uiMode.BCbdHUa5.js +5 -0
- package/app-test-report/trace/uiMode.BatfzHMG.css +1 -0
- package/app-test-report/trace/uiMode.html +17 -0
- package/app-test-report/trace/xtermModule.Beg8tuEN.css +32 -0
- package/dist/bundle.1f4820de760f8bd7.js +3725 -0
- package/dist/bundle.62845ba5720b69b7.js +3725 -0
- package/dist/index.html +1 -1
- package/lib/pages/page-map.d.ts +19 -7
- package/lib/pages/page-map.js +105 -50
- package/lib/pages/page-map.js.map +1 -1
- package/package.json +22 -22
- package/test-results/assets-Add-all-primitive-configuration-items-chromium/video.webm +0 -0
- package/test-results/assets-Add-new-Battery-asset-and-configure-its-attributes-chromium/video.webm +0 -0
- package/test-results/assets-Add-new-Solar-Panel-e5652-nd-configure-its-attributes-chromium/video.webm +0 -0
- package/test-results/assets-Delete-specified-assets-and-verify-they-are-removed-chromium/video.webm +0 -0
- package/test-results/assets-Set-ruleState-and-s-2e442-olar-Panel-asset-attributes-chromium/video.webm +0 -0
- package/test-results/assets-Set-ruleState-and-s-8e0b7-or-Battery-asset-attributes-chromium/video.webm +0 -0
- package/test-results/assets-Toggle-read-only-fo-6c2bd-tributes-on-a-Battery-asset-chromium/video.webm +0 -0
- package/test-results/assets-Toggle-read-only-fo-70b73-utes-on-a-Solar-Panel-asset-chromium/video.webm +0 -0
- package/test-results/assets-Update-a-Battery-asset-s-attributes-and-location-chromium/video.webm +0 -0
- package/test-results/assets-Update-a-Solar-Panel-asset-s-attributes-and-location-chromium/video.webm +0 -0
- package/test-results/assettree-Check-if-assets-are-visible-in-the-tree-chromium/video.webm +0 -0
- package/test-results/assettree-Deleting-an-asse-750f9-the-tree-and-viewer-in-tact-chromium/video.webm +0 -0
- package/test-results/assettree-Load-more-button-5f242--unexpected-scroll-behavior-chromium/video.webm +0 -0
- package/test-results/assettree-Load-more-button-890ae-n-there-are-a-lot-of-assets-chromium/video.webm +0 -0
- package/test-results/assettree-Load-more-button-8c16d-hen-there-is-a-complex-tree-chromium/video.webm +0 -0
- package/test-results/assettree-Open-browser-tab-directly-to-the-battery-asset-chromium/video.webm +0 -0
- package/test-results/assettree-Search-by-Asset-ID-and-select-the-battery-asset-chromium/video.webm +0 -0
- package/test-results/assettree-Search-for-and-select-the-battery-asset-chromium/video.webm +0 -0
- package/test-results/assettree-Searching-for-an-e5e93-the-tree-and-viewer-in-tact-chromium/video.webm +0 -0
- package/test-results/assettree-Selecting-an-ass-1d40c-iewer-when-switching-realms-chromium/video.webm +0 -0
- package/test-results/map-Asset-type-legend-shou-25e17--be-shown-with-1-asset-type-chromium/video.webm +0 -0
- package/test-results/map-Asset-type-legend-should-reset-when-switching-realm-chromium/video.webm +0 -0
- package/test-results/map-Asset-type-legend-should-toggle-asset-types-chromium/video.webm +0 -0
- package/test-results/map-Map-markers-should-not-84d97-ow-on-dashboard-is-disabled-chromium/video.webm +0 -0
- package/test-results/map-Map-markers-should-show-asset-and-navigate-chromium/video.webm +0 -0
- package/test-results/map-Map-markers-should-show-marker-direction-chromium/video.webm +0 -0
- package/test-results/map-Marker-clustering-shou-90ab0-arkers-when-switching-realm-chromium/video.webm +0 -0
- package/test-results/map-Marker-clustering-should-display-clustered-markers-chromium/error-context.md +27 -0
- package/test-results/map-Marker-clustering-should-display-clustered-markers-chromium/trace.zip +0 -0
- package/test-results/map-Marker-clustering-should-display-clustered-markers-chromium/video.webm +0 -0
- package/test-results/map-Marker-clustering-should-display-clustered-markers-chromium-retry1/video.webm +0 -0
- package/test-results/map-Marker-clustering-should-not-display-clustered-markers-chromium/video.webm +0 -0
- package/test-results/map-Marker-config-should-d-f536f-ur-based-on-attribute-range-chromium/video.webm +0 -0
- package/test-results/map-Marker-config-should-t-4af87-ur-based-on-attribute-value-chromium/video.webm +0 -0
- package/test-results/roles-Create-a-new-role-as-0988c-user-and-verify-permissions-chromium/video.webm +0 -0
- package/test-results/roles-Delete-an-existing-r-be22b-verify-it-no-longer-appears-chromium/video.webm +0 -0
- package/test-results/rules-Create-a-Flow-rule-for-an-asset-with-logic-connections-chromium/video.webm +0 -0
- package/test-results/rules-Create-a-When-Then-r-a1797-t-with-a-trigger-and-action-chromium/video.webm +0 -0
- package/test-results/test-test.cleanup.ts-Delete-the-smartcity-realm-cleanup-manager/video.webm +0 -0
- package/test-results/test-test.cleanup.ts-Delete-the-smartcity-user-cleanup-manager/video.webm +0 -0
- package/test-results/test-test.setup.ts-Add-realm-called-smartcity--setup-manager/video.webm +0 -0
- package/test-results/test-test.setup.ts-Add-user-called-smartcity--setup-manager/video.webm +0 -0
- package/test-results/test-test.setup.ts-Login-as-admin-user-setup-manager/video.webm +0 -0
- package/test-results/test-test.setup.ts-Login-as-smartcity-user-setup-manager/video.webm +0 -0
- package/test-results/users-Create-regular-users-with-tags-and-search-by-tag-chromium/video.webm +0 -0
- package/test-results/users-Create-service-users-with-tags-and-search-by-tag-chromium/video.webm +0 -0
- package/test-results/users-Verify-gateway-service-user-is-read-only-chromium/video.webm +0 -0
- package/app-test-report/data/051f46ed3c1014f10ad7255e802a514e65a6326e.webm +0 -0
- package/app-test-report/data/16d820d7c9cf453772cc0cde4c0d749da7ac1f86.webm +0 -0
- package/app-test-report/data/1e9c08c5e6215db93834d5173ad36e3db087f727.webm +0 -0
- package/app-test-report/data/2325123893c93441f4d34f93aeb0a7a5ab9e8b1a.webm +0 -0
- package/app-test-report/data/23a34f8e8693b1949d3f3d7d01e8478b1f1fa1dc.webm +0 -0
- package/app-test-report/data/2ead5cf34edfedc9fe5a3cb1b079dde161006d33.webm +0 -0
- package/app-test-report/data/4a1845fe094c2e730b46bc149c0e6d0798c08290.webm +0 -0
- package/app-test-report/data/4b12cad71af640a0f41aa86de7a518dfe14e99e7.webm +0 -0
- package/app-test-report/data/4c5d2bf89207878342e7d61ffe36df9346c80caf.webm +0 -0
- package/app-test-report/data/4dbbc29257fce46e32700d8e03cd5fdcadb6ba18.webm +0 -0
- package/app-test-report/data/5df0aea20bc1bcd71c4e80cc2cb01cca6c4705a8.webm +0 -0
- package/app-test-report/data/5f4447275cd75a6e97ed9f8b04a143a4acadc5f6.webm +0 -0
- package/app-test-report/data/651f1a63e54b1a3c8699fd54ff0e021d07971d2c.webm +0 -0
- package/app-test-report/data/858b2f1e5cd3dfb51be088c2a7376dc5e0b1839f.webm +0 -0
- package/app-test-report/data/8bab91ccb36776ec66807ccda093bbb828d746f6.webm +0 -0
- package/app-test-report/data/a1677f41c851669a13f9a61fbd496906514910f0.webm +0 -0
- package/app-test-report/data/a90668438489f518a05ecfbf8bc2985c00acc1e1.webm +0 -0
- package/app-test-report/data/ae31243fa542893c29d54a1ebd4f84deab573812.webm +0 -0
- package/app-test-report/data/bcd9dbe6486b5cff622dda0b55aaa912dc5e08c7.webm +0 -0
- package/app-test-report/data/bdf9504217480c6c21ebb0fd36da6f6644e5830f.webm +0 -0
- package/app-test-report/data/c9fd4256f02fe696ec9a8929d4380736a1be586e.webm +0 -0
- package/app-test-report/data/cb136f57efa7ee3f8a802edd4c2a630586a082d8.webm +0 -0
- package/app-test-report/data/cdab1b805f9ac1ad95725f2819a53f60564671c2.webm +0 -0
- package/app-test-report/data/d32dcbfabe162e23b3e6672f0596d2fecad6ea3f.webm +0 -0
- package/app-test-report/data/db4aa99607853ddb1a07616dd7d00e90d34555bd.webm +0 -0
- package/app-test-report/data/de4ee679029cc3fe1408154d41adcb4c502ce385.webm +0 -0
- package/app-test-report/data/e11b8be02bc614f891fb60ca193626e9f7798a9e.webm +0 -0
- package/app-test-report/data/e7006d8ad4f311fd8022bbeddd38875b7d12be43.webm +0 -0
- package/app-test-report/data/e93c1e22294b0fcb7f61200d347caaa5c432df8b.webm +0 -0
- package/app-test-report/data/ebadfefe5f5d4706a95da96d75a3bf76ec95f1c9.webm +0 -0
- package/app-test-report/data/efeacdd876dc863c37d8cb1c4fde5acbdcad2a55.webm +0 -0
- package/app-test-report/data/f0371b321d11a5e069810d2c90eee3ab87e6cd1f.webm +0 -0
- package/app-test-report/data/f0f9881529877ccd6afac01493351d8e2c2dad06.webm +0 -0
- package/app-test-report/data/febf6530ffd9d61a569bb751bc11e3da7cafb391.webm +0 -0
- package/dist/bundle.7e9d4716c342705d.js +0 -3702
- package/dist/bundle.9bc80a8aeb6aad4e.js +0 -3702
- package/test-results/map-Verify-that-asset-mark-4c130--map-and-navigate-correctly-chromium/video.webm +0 -0
package/dist/index.html
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
document.addEventListener('WebComponentsReady', function componentsReady() {
|
|
13
13
|
document.removeEventListener('WebComponentsReady', componentsReady, false);
|
|
14
14
|
var script = document.createElement('script');
|
|
15
|
-
script.src = './bundle.
|
|
15
|
+
script.src = './bundle.62845ba5720b69b7.js';
|
|
16
16
|
var refScript = document.getElementsByTagName('script')[0];
|
|
17
17
|
refScript.parentNode.insertBefore(script, refScript);
|
|
18
18
|
}, false);
|
package/lib/pages/page-map.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { PropertyValues } from "lit";
|
|
1
2
|
import { Store } from "@reduxjs/toolkit";
|
|
2
3
|
import "@openremote/or-map";
|
|
3
|
-
import { MapAssetCardConfig, OrMap, OrMapAssetCardLoadAssetEvent, OrMapClickedEvent, OrMapMarkerClickedEvent, MapMarkerAssetConfig } from "@openremote/or-map";
|
|
4
|
+
import { MapAssetCardConfig, OrMap, OrMapAssetCardLoadAssetEvent, OrMapClickedEvent, OrMapMarkerClickedEvent, MapMarkerAssetConfig, OrMapMarkersChangedEvent, OrMapLegendEvent } from "@openremote/or-map";
|
|
4
5
|
import { Asset, AssetQuery, WellknownAttributes } from "@openremote/model";
|
|
5
6
|
import { AppStateKeyed, Page, PageProvider } from "@openremote/or-app";
|
|
7
|
+
import { ClusterConfig, AssetWithLocation } from "@openremote/or-map";
|
|
6
8
|
export interface MapState {
|
|
7
9
|
assets: Asset[];
|
|
8
10
|
currentAssetId: string;
|
|
@@ -12,6 +14,10 @@ export interface MapStateKeyed extends AppStateKeyed {
|
|
|
12
14
|
}
|
|
13
15
|
export declare const pageMapReducer: import("redux").Reducer<MapState>;
|
|
14
16
|
export interface PageMapConfig {
|
|
17
|
+
legend?: {
|
|
18
|
+
show: boolean;
|
|
19
|
+
};
|
|
20
|
+
clustering?: ClusterConfig;
|
|
15
21
|
card?: MapAssetCardConfig;
|
|
16
22
|
assetQuery?: AssetQuery;
|
|
17
23
|
markers?: MapMarkerAssetConfig;
|
|
@@ -23,13 +29,17 @@ export declare class PageMap extends Page<MapStateKeyed> {
|
|
|
23
29
|
protected _map?: OrMap;
|
|
24
30
|
protected _assets: Asset[];
|
|
25
31
|
protected _currentAsset?: Asset;
|
|
32
|
+
protected _assetsOnScreen: AssetWithLocation[];
|
|
26
33
|
protected _assetSelector: (state: MapStateKeyed) => Asset[];
|
|
27
34
|
protected _paramsSelector: (state: MapStateKeyed) => {
|
|
28
35
|
[x: string]: string;
|
|
29
36
|
};
|
|
30
37
|
protected _realmSelector: (state: MapStateKeyed) => string;
|
|
31
|
-
protected
|
|
32
|
-
protected
|
|
38
|
+
protected _assetSubscriptionId: string;
|
|
39
|
+
protected _attributeSubscriptionId: string;
|
|
40
|
+
protected _assetTypes: string[];
|
|
41
|
+
protected _excludedTypes: string[];
|
|
42
|
+
shouldUpdate(_changedProperties: PropertyValues): boolean;
|
|
33
43
|
protected getAttributesOfInterest(): (string | WellknownAttributes)[];
|
|
34
44
|
protected subscribeAssets: (realm: string) => Promise<void>;
|
|
35
45
|
protected unsubscribeAssets: () => void;
|
|
@@ -57,8 +67,10 @@ export declare class PageMap extends Page<MapStateKeyed> {
|
|
|
57
67
|
connectedCallback(): void;
|
|
58
68
|
disconnectedCallback(): void;
|
|
59
69
|
stateChanged(state: MapStateKeyed): void;
|
|
60
|
-
protected
|
|
61
|
-
protected
|
|
62
|
-
protected
|
|
63
|
-
protected
|
|
70
|
+
protected _onMapMarkerClick(e: OrMapMarkerClickedEvent): void;
|
|
71
|
+
protected _onMapClick(e: OrMapClickedEvent): void;
|
|
72
|
+
protected _onMapMarkersChanged(e: OrMapMarkersChangedEvent): void;
|
|
73
|
+
protected _onLoadAssetEvent(loadAssetEvent: OrMapAssetCardLoadAssetEvent): void;
|
|
74
|
+
protected _onMapLegendChanged(e: OrMapLegendEvent): void;
|
|
75
|
+
protected _updateMarkers(): void;
|
|
64
76
|
}
|
package/lib/pages/page-map.js
CHANGED
|
@@ -17,11 +17,12 @@ import { css, html } from "lit";
|
|
|
17
17
|
import { customElement, property, query, state } from "lit/decorators.js";
|
|
18
18
|
import { createSlice } from "@reduxjs/toolkit";
|
|
19
19
|
import "@openremote/or-map";
|
|
20
|
-
import { OrMapAssetCardLoadAssetEvent, OrMapClickedEvent, OrMapMarkerClickedEvent } from "@openremote/or-map";
|
|
20
|
+
import { OrMapAssetCardLoadAssetEvent, OrMapClickedEvent, OrMapMarkerClickedEvent, OrMapMarkersChangedEvent } from "@openremote/or-map";
|
|
21
21
|
import manager, { Util } from "@openremote/core";
|
|
22
22
|
import { createSelector } from "reselect";
|
|
23
23
|
import { getAssetsRoute, getMapRoute } from "../routes";
|
|
24
24
|
import { Page, router } from "@openremote/or-app";
|
|
25
|
+
import { Util as MapUtil } from "@openremote/or-map";
|
|
25
26
|
const INITIAL_STATE = {
|
|
26
27
|
assets: [],
|
|
27
28
|
currentAssetId: undefined
|
|
@@ -34,8 +35,7 @@ const pageMapSlice = createSlice({
|
|
|
34
35
|
if (action.payload.cause === "CREATE" /* AssetEventCause.CREATE */) {
|
|
35
36
|
// Update and delete handled by attribute handler
|
|
36
37
|
const asset = action.payload.asset;
|
|
37
|
-
|
|
38
|
-
if (locationAttr && (!locationAttr.meta || locationAttr.meta && (!locationAttr.meta.hasOwnProperty("showOnDashboard" /* WellknownMetaItems.SHOWONDASHBOARD */) || !!locationAttr.meta["showOnDashboard" /* WellknownMetaItems.SHOWONDASHBOARD */]))) {
|
|
38
|
+
if (MapUtil.isAssetWithLocation(asset)) {
|
|
39
39
|
return Object.assign(Object.assign({}, state), { assets: [...state.assets, action.payload.asset] });
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -95,6 +95,15 @@ let PageMap = class PageMap extends Page {
|
|
|
95
95
|
width: 100vw;
|
|
96
96
|
z-index: 3;
|
|
97
97
|
}
|
|
98
|
+
|
|
99
|
+
or-map-legend {
|
|
100
|
+
position: absolute;
|
|
101
|
+
top: 60px;
|
|
102
|
+
left: 10px;
|
|
103
|
+
width: 254px;
|
|
104
|
+
margin: 10px 0;
|
|
105
|
+
z-index: 1;
|
|
106
|
+
}
|
|
98
107
|
|
|
99
108
|
or-map {
|
|
100
109
|
display: block;
|
|
@@ -113,9 +122,28 @@ let PageMap = class PageMap extends Page {
|
|
|
113
122
|
height: max-content;
|
|
114
123
|
max-height: calc(100vh - 150px);
|
|
115
124
|
}
|
|
125
|
+
|
|
126
|
+
or-map-legend {
|
|
127
|
+
position: absolute;
|
|
128
|
+
top: 60px;
|
|
129
|
+
left: 10px;
|
|
130
|
+
width: calc(100%);
|
|
131
|
+
max-width: 254px;
|
|
132
|
+
margin: 0;
|
|
133
|
+
height: max-content;
|
|
134
|
+
max-height: calc(100vh - 150px);
|
|
135
|
+
}
|
|
116
136
|
}
|
|
117
137
|
`;
|
|
118
138
|
}
|
|
139
|
+
shouldUpdate(_changedProperties) {
|
|
140
|
+
var _a;
|
|
141
|
+
if (_changedProperties.has("_assets")) {
|
|
142
|
+
this._updateMarkers();
|
|
143
|
+
(_a = this._map) === null || _a === void 0 ? void 0 : _a.reload();
|
|
144
|
+
}
|
|
145
|
+
return super.shouldUpdate(_changedProperties);
|
|
146
|
+
}
|
|
119
147
|
getAttributesOfInterest() {
|
|
120
148
|
// Extract all label attributes configured in marker config
|
|
121
149
|
let markerLabelAttributes = [];
|
|
@@ -139,9 +167,12 @@ let PageMap = class PageMap extends Page {
|
|
|
139
167
|
constructor(store) {
|
|
140
168
|
super(store);
|
|
141
169
|
this._assets = [];
|
|
170
|
+
this._assetsOnScreen = [];
|
|
142
171
|
this._assetSelector = (state) => state.map.assets;
|
|
143
172
|
this._paramsSelector = (state) => state.app.params;
|
|
144
173
|
this._realmSelector = (state) => state.app.realm || manager.displayRealm;
|
|
174
|
+
this._assetTypes = [];
|
|
175
|
+
this._excludedTypes = [];
|
|
145
176
|
this.subscribeAssets = (realm) => __awaiter(this, void 0, void 0, function* () {
|
|
146
177
|
let response;
|
|
147
178
|
const attrsOfInterest = this.getAttributesOfInterest();
|
|
@@ -198,17 +229,17 @@ let PageMap = class PageMap extends Page {
|
|
|
198
229
|
manager.events.unsubscribe(assetSubscriptionId);
|
|
199
230
|
return;
|
|
200
231
|
}
|
|
201
|
-
this.
|
|
232
|
+
this._assetSubscriptionId = assetSubscriptionId;
|
|
202
233
|
const attributeSubscriptionId = yield manager.events.subscribeAttributeEvents(undefined, false, (event) => {
|
|
203
234
|
this._store.dispatch(attributeEventReceived([attrsOfInterest, event]));
|
|
204
235
|
});
|
|
205
236
|
if (!this.isConnected || realm !== this._realmSelector(this.getState())) {
|
|
206
|
-
this.
|
|
237
|
+
this._assetSubscriptionId = undefined;
|
|
207
238
|
manager.events.unsubscribe(assetSubscriptionId);
|
|
208
239
|
manager.events.unsubscribe(attributeSubscriptionId);
|
|
209
240
|
return;
|
|
210
241
|
}
|
|
211
|
-
this.
|
|
242
|
+
this._attributeSubscriptionId = attributeSubscriptionId;
|
|
212
243
|
}
|
|
213
244
|
}
|
|
214
245
|
catch (e) {
|
|
@@ -216,25 +247,30 @@ let PageMap = class PageMap extends Page {
|
|
|
216
247
|
}
|
|
217
248
|
});
|
|
218
249
|
this.unsubscribeAssets = () => {
|
|
219
|
-
if (this.
|
|
220
|
-
manager.events.unsubscribe(this.
|
|
221
|
-
this.
|
|
250
|
+
if (this._assetSubscriptionId) {
|
|
251
|
+
manager.events.unsubscribe(this._assetSubscriptionId);
|
|
252
|
+
this._assetSubscriptionId = undefined;
|
|
222
253
|
}
|
|
223
|
-
if (this.
|
|
224
|
-
manager.events.unsubscribe(this.
|
|
225
|
-
this.
|
|
254
|
+
if (this._attributeSubscriptionId) {
|
|
255
|
+
manager.events.unsubscribe(this._attributeSubscriptionId);
|
|
256
|
+
this._attributeSubscriptionId = undefined;
|
|
226
257
|
}
|
|
227
258
|
};
|
|
228
259
|
this.getRealmState = createSelector([this._realmSelector], (realm) => __awaiter(this, void 0, void 0, function* () {
|
|
260
|
+
var _a;
|
|
229
261
|
if (this._assets.length > 0) {
|
|
230
262
|
// Clear existing assets
|
|
231
263
|
this._assets = [];
|
|
232
264
|
}
|
|
233
|
-
this.
|
|
234
|
-
|
|
235
|
-
if (this._map) {
|
|
236
|
-
this._map.refresh();
|
|
265
|
+
if (this._excludedTypes.length > 0) {
|
|
266
|
+
this._excludedTypes = [];
|
|
237
267
|
}
|
|
268
|
+
this.unsubscribeAssets();
|
|
269
|
+
this.subscribeAssets(realm).then(() => __awaiter(this, void 0, void 0, function* () {
|
|
270
|
+
var _a;
|
|
271
|
+
yield ((_a = this._map) === null || _a === void 0 ? void 0 : _a.reload());
|
|
272
|
+
}));
|
|
273
|
+
(_a = this._map) === null || _a === void 0 ? void 0 : _a.refresh();
|
|
238
274
|
}));
|
|
239
275
|
this._getMapAssets = createSelector([this._assetSelector], (assets) => {
|
|
240
276
|
return assets;
|
|
@@ -246,47 +282,40 @@ let PageMap = class PageMap extends Page {
|
|
|
246
282
|
}
|
|
247
283
|
return assets.find((asset) => asset.id === currentId);
|
|
248
284
|
});
|
|
249
|
-
this.addEventListener(OrMapAssetCardLoadAssetEvent.NAME, this.
|
|
285
|
+
this.addEventListener(OrMapAssetCardLoadAssetEvent.NAME, this._onLoadAssetEvent);
|
|
250
286
|
}
|
|
251
287
|
render() {
|
|
252
|
-
var _a, _b;
|
|
288
|
+
var _a, _b, _c, _d;
|
|
289
|
+
const showLegend = ((_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.legend) === null || _b === void 0 ? void 0 : _b.show) !== false && this._assetTypes.length > 1;
|
|
253
290
|
return html `
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
291
|
+
${this._currentAsset ? html `<or-map-asset-card .config="${(_c = this.config) === null || _c === void 0 ? void 0 : _c.card}" .assetId="${this._currentAsset.id}" .markerconfig="${(_d = this.config) === null || _d === void 0 ? void 0 : _d.markers}"></or-map-asset-card>` : ``}
|
|
292
|
+
|
|
293
|
+
${showLegend ? html `<or-map-legend .assetTypes="${this._assetTypes}" @or-map-legend-changed="${this._onMapLegendChanged}"></or-map-legend>` : null}
|
|
294
|
+
|
|
295
|
+
<or-map id="map" class="or-map" .cluster="${this.config.clustering}" showGeoCodingControl @or-map-geocoder-change="${(ev) => { this._setCenter(ev.detail.geocode); }}">
|
|
296
|
+
${this._assetsOnScreen.sort((a, b) => {
|
|
297
|
+
const pointA = a.attributes["location" /* WellknownAttributes.LOCATION */].value;
|
|
298
|
+
const pointB = b.attributes["location" /* WellknownAttributes.LOCATION */].value;
|
|
299
|
+
if (pointA && pointB) {
|
|
300
|
+
return pointB.coordinates[1] - pointA.coordinates[1];
|
|
261
301
|
}
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
.sort((a, b) => {
|
|
266
|
-
if (a.attributes["location" /* WellknownAttributes.LOCATION */].value && b.attributes["location" /* WellknownAttributes.LOCATION */].value) {
|
|
267
|
-
return b.attributes["location" /* WellknownAttributes.LOCATION */].value.coordinates[1] - a.attributes["location" /* WellknownAttributes.LOCATION */].value.coordinates[1];
|
|
268
|
-
}
|
|
269
|
-
else {
|
|
270
|
-
return;
|
|
271
|
-
}
|
|
272
|
-
})
|
|
273
|
-
.map(asset => {
|
|
274
|
-
return html `
|
|
275
|
-
<or-map-marker-asset ?active="${this._currentAsset && this._currentAsset.id === asset.id}" .asset="${asset}" .config="${this.config.markers}"></or-map-marker-asset>
|
|
276
|
-
`;
|
|
277
|
-
})}
|
|
302
|
+
}).map(asset => html `
|
|
303
|
+
<or-map-marker-asset ?active="${this._currentAsset && this._currentAsset.id === asset.id}" .asset="${asset}" .config="${this.config.markers}"></or-map-marker-asset>
|
|
304
|
+
`)}
|
|
278
305
|
</or-map>
|
|
279
306
|
`;
|
|
280
307
|
}
|
|
281
308
|
connectedCallback() {
|
|
282
309
|
super.connectedCallback();
|
|
283
|
-
this.addEventListener(OrMapMarkerClickedEvent.NAME, this.
|
|
284
|
-
this.addEventListener(OrMapClickedEvent.NAME, this.
|
|
310
|
+
this.addEventListener(OrMapMarkerClickedEvent.NAME, this._onMapMarkerClick);
|
|
311
|
+
this.addEventListener(OrMapClickedEvent.NAME, this._onMapClick);
|
|
312
|
+
this.addEventListener(OrMapMarkersChangedEvent.NAME, this._onMapMarkersChanged);
|
|
285
313
|
}
|
|
286
314
|
disconnectedCallback() {
|
|
287
315
|
super.disconnectedCallback();
|
|
288
|
-
this.removeEventListener(OrMapMarkerClickedEvent.NAME, this.
|
|
289
|
-
this.removeEventListener(OrMapClickedEvent.NAME, this.
|
|
316
|
+
this.removeEventListener(OrMapMarkerClickedEvent.NAME, this._onMapMarkerClick);
|
|
317
|
+
this.removeEventListener(OrMapClickedEvent.NAME, this._onMapClick);
|
|
318
|
+
this.removeEventListener(OrMapMarkersChangedEvent.NAME, this._onMapMarkersChanged);
|
|
290
319
|
this.unsubscribeAssets();
|
|
291
320
|
}
|
|
292
321
|
stateChanged(state) {
|
|
@@ -294,19 +323,42 @@ let PageMap = class PageMap extends Page {
|
|
|
294
323
|
this._currentAsset = this._getCurrentAsset(state);
|
|
295
324
|
this.getRealmState(state);
|
|
296
325
|
}
|
|
297
|
-
|
|
326
|
+
_onMapMarkerClick(e) {
|
|
298
327
|
const asset = e.detail.marker.asset;
|
|
299
328
|
router.navigate(getMapRoute(asset.id));
|
|
300
329
|
}
|
|
301
|
-
|
|
330
|
+
_onMapClick(e) {
|
|
302
331
|
router.navigate(getMapRoute());
|
|
303
332
|
}
|
|
304
|
-
|
|
305
|
-
this.
|
|
333
|
+
_onMapMarkersChanged(e) {
|
|
334
|
+
this._assetsOnScreen = e.detail;
|
|
306
335
|
}
|
|
307
|
-
|
|
336
|
+
_onLoadAssetEvent(loadAssetEvent) {
|
|
308
337
|
router.navigate(getAssetsRoute(false, loadAssetEvent.detail));
|
|
309
338
|
}
|
|
339
|
+
_onMapLegendChanged(e) {
|
|
340
|
+
if (this._map) {
|
|
341
|
+
this._excludedTypes = e.detail;
|
|
342
|
+
this._updateMarkers();
|
|
343
|
+
this._map.reload();
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
_updateMarkers() {
|
|
347
|
+
if (this._map) {
|
|
348
|
+
this._assetTypes = [];
|
|
349
|
+
this._map.cleanUpAssetMarkers();
|
|
350
|
+
this._assets.forEach((asset) => {
|
|
351
|
+
if (MapUtil.isAssetWithLocation(asset)) {
|
|
352
|
+
if (!this._excludedTypes.includes(asset.type)) {
|
|
353
|
+
this._map.addAssetMarker(asset);
|
|
354
|
+
}
|
|
355
|
+
if (!this._assetTypes.includes(asset.type)) {
|
|
356
|
+
this._assetTypes.push(asset.type);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
});
|
|
360
|
+
}
|
|
361
|
+
}
|
|
310
362
|
};
|
|
311
363
|
__decorate([
|
|
312
364
|
property()
|
|
@@ -320,6 +372,9 @@ __decorate([
|
|
|
320
372
|
__decorate([
|
|
321
373
|
state()
|
|
322
374
|
], PageMap.prototype, "_currentAsset", void 0);
|
|
375
|
+
__decorate([
|
|
376
|
+
state()
|
|
377
|
+
], PageMap.prototype, "_assetsOnScreen", void 0);
|
|
323
378
|
PageMap = __decorate([
|
|
324
379
|
customElement("page-map")
|
|
325
380
|
], PageMap);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-map.js","sourceRoot":"","sources":["../../src/pages/page-map.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,EAAC,GAAG,EAAE,IAAI,EAAC,MAAM,KAAK,CAAC;AAC9B,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAC,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAC,WAAW,EAAuB,MAAM,kBAAkB,CAAC;AACnE,OAAO,oBAAoB,CAAC;AAC5B,OAAO,EAGH,4BAA4B,EAC5B,iBAAiB,EAEjB,uBAAuB,EAG1B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,OAAO,EAAE,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAC,cAAc,EAAC,MAAM,UAAU,CAAC;AAYxC,OAAO,EAAC,cAAc,EAAE,WAAW,EAAC,MAAM,WAAW,CAAC;AACtD,OAAO,EAAgB,IAAI,EAAgB,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAY7E,MAAM,aAAa,GAAa;IAC5B,MAAM,EAAE,EAAE;IACV,cAAc,EAAE,SAAS;CA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S;AAGb;IADT,KAAK,EAAE;wCACwB;AAGtB;IADT,KAAK,EAAE;8CACwB;AAGtB;IADT,KAAK,EAAE;gDAC4C;AApE3C,OAAO;IADnB,aAAa,CAAC,UAAU,CAAC;GACb,OAAO,CA4UnB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openremote/manager",
|
|
3
|
-
"version": "1.12.0-snapshot.
|
|
3
|
+
"version": "1.12.0-snapshot.20251128100326",
|
|
4
4
|
"description": "OpenRemote Manager",
|
|
5
5
|
"author": "OpenRemote",
|
|
6
6
|
"license": "AGPL-3.0-or-later",
|
|
@@ -29,34 +29,34 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@lit/task": "^1.0.3",
|
|
31
31
|
"@material/data-table": "^9.0.0",
|
|
32
|
-
"@openremote/core": "1.12.0-snapshot.
|
|
33
|
-
"@openremote/model": "1.12.0-snapshot.
|
|
34
|
-
"@openremote/or-app": "1.12.0-snapshot.
|
|
35
|
-
"@openremote/or-asset-tree": "1.12.0-snapshot.
|
|
36
|
-
"@openremote/or-asset-viewer": "1.12.0-snapshot.
|
|
37
|
-
"@openremote/or-attribute-picker": "1.12.0-snapshot.
|
|
38
|
-
"@openremote/or-components": "1.12.0-snapshot.
|
|
39
|
-
"@openremote/or-dashboard-builder": "1.12.0-snapshot.
|
|
40
|
-
"@openremote/or-data-viewer": "1.12.0-snapshot.
|
|
41
|
-
"@openremote/or-icon": "1.12.0-snapshot.
|
|
42
|
-
"@openremote/or-json-forms": "1.12.0-snapshot.
|
|
43
|
-
"@openremote/or-log-viewer": "1.12.0-snapshot.
|
|
44
|
-
"@openremote/or-map": "1.12.0-snapshot.
|
|
45
|
-
"@openremote/or-mwc-components": "1.12.0-snapshot.
|
|
46
|
-
"@openremote/or-rules": "1.12.0-snapshot.
|
|
47
|
-
"@openremote/or-services": "1.12.0-snapshot.
|
|
48
|
-
"@openremote/or-translate": "1.12.0-snapshot.
|
|
49
|
-
"@openremote/rest": "1.12.0-snapshot.
|
|
32
|
+
"@openremote/core": "1.12.0-snapshot.20251128100326",
|
|
33
|
+
"@openremote/model": "1.12.0-snapshot.20251128100326",
|
|
34
|
+
"@openremote/or-app": "1.12.0-snapshot.20251128100326",
|
|
35
|
+
"@openremote/or-asset-tree": "1.12.0-snapshot.20251128100326",
|
|
36
|
+
"@openremote/or-asset-viewer": "1.12.0-snapshot.20251128100326",
|
|
37
|
+
"@openremote/or-attribute-picker": "1.12.0-snapshot.20251128100326",
|
|
38
|
+
"@openremote/or-components": "1.12.0-snapshot.20251128100326",
|
|
39
|
+
"@openremote/or-dashboard-builder": "1.12.0-snapshot.20251128100326",
|
|
40
|
+
"@openremote/or-data-viewer": "1.12.0-snapshot.20251128100326",
|
|
41
|
+
"@openremote/or-icon": "1.12.0-snapshot.20251128100326",
|
|
42
|
+
"@openremote/or-json-forms": "1.12.0-snapshot.20251128100326",
|
|
43
|
+
"@openremote/or-log-viewer": "1.12.0-snapshot.20251128100326",
|
|
44
|
+
"@openremote/or-map": "1.12.0-snapshot.20251128100326",
|
|
45
|
+
"@openremote/or-mwc-components": "1.12.0-snapshot.20251128100326",
|
|
46
|
+
"@openremote/or-rules": "1.12.0-snapshot.20251128100326",
|
|
47
|
+
"@openremote/or-services": "1.12.0-snapshot.20251128100326",
|
|
48
|
+
"@openremote/or-translate": "1.12.0-snapshot.20251128100326",
|
|
49
|
+
"@openremote/rest": "1.12.0-snapshot.20251128100326",
|
|
50
50
|
"@reduxjs/toolkit": "^1.8.1",
|
|
51
51
|
"iso-639-1": "^3.1.3",
|
|
52
52
|
"lit": "^3.3.1",
|
|
53
|
-
"maplibre-gl": "^
|
|
53
|
+
"maplibre-gl": "^5.12.0",
|
|
54
54
|
"moment": "^2.29.4",
|
|
55
55
|
"reselect": "^4.1.8"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@openremote/rest": "1.12.0-snapshot.
|
|
59
|
-
"@openremote/util": "1.12.0-snapshot.
|
|
58
|
+
"@openremote/rest": "1.12.0-snapshot.20251128100326",
|
|
59
|
+
"@openremote/util": "1.12.0-snapshot.20251128100326"
|
|
60
60
|
},
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
Binary file
|
package/test-results/assets-Add-new-Battery-asset-and-configure-its-attributes-chromium/video.webm
CHANGED
|
Binary file
|
|
Binary file
|
package/test-results/assets-Delete-specified-assets-and-verify-they-are-removed-chromium/video.webm
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/test-results/assets-Update-a-Battery-asset-s-attributes-and-location-chromium/video.webm
CHANGED
|
Binary file
|
package/test-results/assets-Update-a-Solar-Panel-asset-s-attributes-and-location-chromium/video.webm
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/test-results/assettree-Open-browser-tab-directly-to-the-battery-asset-chromium/video.webm
CHANGED
|
Binary file
|
package/test-results/assettree-Search-by-Asset-ID-and-select-the-battery-asset-chromium/video.webm
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/test-results/map-Asset-type-legend-should-reset-when-switching-realm-chromium/video.webm
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Page snapshot
|
|
2
|
+
|
|
3
|
+
```yaml
|
|
4
|
+
- img
|
|
5
|
+
- navigation: Map Assets Rules Services Insights
|
|
6
|
+
- text:
|
|
7
|
+
- button ""
|
|
8
|
+
- main:
|
|
9
|
+
- text: Legend
|
|
10
|
+
- region "Map"
|
|
11
|
+
- button "Map marker"
|
|
12
|
+
- button "Map marker":
|
|
13
|
+
- img: "56"
|
|
14
|
+
- button "Map marker":
|
|
15
|
+
- img
|
|
16
|
+
- text:
|
|
17
|
+
- img
|
|
18
|
+
- textbox "Search"
|
|
19
|
+
- button "Zoom in"
|
|
20
|
+
- button "Zoom out"
|
|
21
|
+
- button "Reset bearing to north"
|
|
22
|
+
- button "Find my location"
|
|
23
|
+
- group: Copyright OpenStreetMap contributors
|
|
24
|
+
- link:
|
|
25
|
+
- /url: https://openremote.io/
|
|
26
|
+
- img
|
|
27
|
+
```
|
package/test-results/map-Marker-clustering-should-display-clustered-markers-chromium/trace.zip
ADDED
|
Binary file
|
package/test-results/map-Marker-clustering-should-display-clustered-markers-chromium/video.webm
ADDED
|
Binary file
|
|
Binary file
|
package/test-results/map-Marker-clustering-should-not-display-clustered-markers-chromium/video.webm
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/test-results/test-test.cleanup.ts-Delete-the-smartcity-realm-cleanup-manager/video.webm
CHANGED
|
Binary file
|
package/test-results/test-test.cleanup.ts-Delete-the-smartcity-user-cleanup-manager/video.webm
CHANGED
|
Binary file
|
package/test-results/test-test.setup.ts-Add-realm-called-smartcity--setup-manager/video.webm
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/test-results/users-Create-regular-users-with-tags-and-search-by-tag-chromium/video.webm
CHANGED
|
Binary file
|
package/test-results/users-Create-service-users-with-tags-and-search-by-tag-chromium/video.webm
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|