@openremote/manager 1.12.0-snapshot.20251126084901 → 1.12.0-snapshot.20251127083556

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 (133) hide show
  1. package/app-test-report/data/0b7714d66875ad686d3605b401016cf669ebd711.webm +0 -0
  2. package/app-test-report/data/15034b93e9cd2d33189c318a0a1c989023f48b59.webm +0 -0
  3. package/app-test-report/data/16d71add292c548ec1c2e4d1a3204712c7ad08aa.webm +0 -0
  4. package/app-test-report/data/1b2b5ffcd1d5211aaab98755835522dccb874697.webm +0 -0
  5. package/app-test-report/data/20c80cf9b0cfe57174340d842658dbccadd44a5a.webm +0 -0
  6. package/app-test-report/data/27c2fc5591d18bbc42de37e897ae5d519c8793f6.webm +0 -0
  7. package/app-test-report/data/2e4d4ba2cb62d2332f6627fc759754ca36e07018.webm +0 -0
  8. package/app-test-report/data/2fb4cdd061ae945cd56a71759ed6edf892154cda.webm +0 -0
  9. package/app-test-report/data/3178b134485b4a87b5381364508c3af9476338a5.webm +0 -0
  10. package/app-test-report/data/32ef9c325fe80fc3548337759a0715f867f12fd5.webm +0 -0
  11. package/app-test-report/data/35ccfadc9dae15f486c99bb0c3aea3e8ecc6eb50.webm +0 -0
  12. package/app-test-report/data/424718972c119205b545be62d61c9532c7c9b5e5.webm +0 -0
  13. package/app-test-report/data/4e8165a62ce1a676fa59507328b043b6dd588bdd.webm +0 -0
  14. package/app-test-report/data/5412a92080c34e02c49e342fc1ebd0f1cb201c36.webm +0 -0
  15. package/app-test-report/data/55853e078a12d4a007a588526802d36650fd5886.webm +0 -0
  16. package/app-test-report/data/5e02b77889bb15e8ebeb8c4a8af5089395ca5663.webm +0 -0
  17. package/app-test-report/data/5e8df9fb46db220e9091ad03ffd4cbe220385256.webm +0 -0
  18. package/app-test-report/data/61ddff24136b431f0ed47cfe0d6415796b521d13.webm +0 -0
  19. package/app-test-report/data/64ec9b262468f1df7b956d35f4700813ec2c0c44.webm +0 -0
  20. package/app-test-report/data/66f0db60deaa27f7efd920a2628e624f1665bea6.webm +0 -0
  21. package/app-test-report/data/7b110e9409b65f25e467caebd4e8dcc374838a7d.webm +0 -0
  22. package/app-test-report/data/7ef3cd5785639708885850003abe574efabfbd7c.webm +0 -0
  23. package/app-test-report/data/83ae37fd7d244b8e471e6daf938b02d7b5a9dbed.webm +0 -0
  24. package/app-test-report/data/8650cf8f087d80b3e58e7aea422fec7d74d64b80.webm +0 -0
  25. package/app-test-report/data/8fc88d902c5d1c7fc0623fac8fffce98f67da88b.webm +0 -0
  26. package/app-test-report/data/91d2152a6a31795be2bb224021e6e7cb629327d0.webm +0 -0
  27. package/app-test-report/data/9ed6a6edc8d8d0af4bc41d77b4f5c11358657611.webm +0 -0
  28. package/app-test-report/data/a003b8c9e7a8fd70ce7765d60d92be88f3e800a5.webm +0 -0
  29. package/app-test-report/data/a18b18a0aa3ae73502271144c985a43118a60363.webm +0 -0
  30. package/app-test-report/data/a739fcb96edd7e7b877e6fc1399615a417f23619.webm +0 -0
  31. package/app-test-report/data/b617f70ba607593c06ba5ef91d14f745cbe62a23.webm +0 -0
  32. package/app-test-report/data/be58efa8bed19e6d0b1f2af49432d32454fe07eb.webm +0 -0
  33. package/app-test-report/data/c76618487d937b8938c938b0f01ca99d25fe40e5.webm +0 -0
  34. package/app-test-report/data/c7d2610dae2e487c0403c3cf6a2dfdc4a015ce50.webm +0 -0
  35. package/app-test-report/data/c8a90529ddbbfd0929f0e252bf3163edee4e0749.webm +0 -0
  36. package/app-test-report/data/cc321c349e22f0c07eca9a104d87a6d75d61d072.webm +0 -0
  37. package/app-test-report/data/d1bf236ed6f898198080f739df1248e7f72489ee.webm +0 -0
  38. package/app-test-report/data/da169a8d6391c140b211f5b959c07b309ff5f1d1.webm +0 -0
  39. package/app-test-report/data/db40743c9a090ee6cf7a6e5e1ce28cb104ca3e77.webm +0 -0
  40. package/app-test-report/data/e679f9c2fe7d85b24f6232100682a61583753390.webm +0 -0
  41. package/app-test-report/data/e7f106c943bc1e188b75eae24191c0556a46b912.webm +0 -0
  42. package/app-test-report/data/ec7148e432ad11b82a206030ec4bffe9d359d9c0.webm +0 -0
  43. package/app-test-report/data/ece0ca2191a57d6e2845352851d9cc2f90e8fe0c.webm +0 -0
  44. package/app-test-report/data/fffe048659e5bdcf6e1e579b6bf31f64e80cd4c7.webm +0 -0
  45. package/app-test-report/index.html +1 -1
  46. package/dist/bundle.12effa985f9f3ee7.js +3725 -0
  47. package/dist/bundle.307207b59dcfe3d4.js +3725 -0
  48. package/dist/index.html +1 -1
  49. package/lib/pages/page-map.d.ts +19 -7
  50. package/lib/pages/page-map.js +105 -50
  51. package/lib/pages/page-map.js.map +1 -1
  52. package/package.json +22 -22
  53. package/test-results/assets-Add-all-primitive-configuration-items-chromium/video.webm +0 -0
  54. package/test-results/assets-Add-new-Battery-asset-and-configure-its-attributes-chromium/video.webm +0 -0
  55. package/test-results/assets-Add-new-Solar-Panel-e5652-nd-configure-its-attributes-chromium/video.webm +0 -0
  56. package/test-results/assets-Delete-specified-assets-and-verify-they-are-removed-chromium/video.webm +0 -0
  57. package/test-results/assets-Set-ruleState-and-s-2e442-olar-Panel-asset-attributes-chromium/video.webm +0 -0
  58. package/test-results/assets-Set-ruleState-and-s-8e0b7-or-Battery-asset-attributes-chromium/video.webm +0 -0
  59. package/test-results/assets-Toggle-read-only-fo-6c2bd-tributes-on-a-Battery-asset-chromium/video.webm +0 -0
  60. package/test-results/assets-Toggle-read-only-fo-70b73-utes-on-a-Solar-Panel-asset-chromium/video.webm +0 -0
  61. package/test-results/assets-Update-a-Battery-asset-s-attributes-and-location-chromium/video.webm +0 -0
  62. package/test-results/assets-Update-a-Solar-Panel-asset-s-attributes-and-location-chromium/video.webm +0 -0
  63. package/test-results/assettree-Check-if-assets-are-visible-in-the-tree-chromium/video.webm +0 -0
  64. package/test-results/assettree-Deleting-an-asse-750f9-the-tree-and-viewer-in-tact-chromium/video.webm +0 -0
  65. package/test-results/assettree-Load-more-button-5f242--unexpected-scroll-behavior-chromium/video.webm +0 -0
  66. package/test-results/assettree-Load-more-button-890ae-n-there-are-a-lot-of-assets-chromium/video.webm +0 -0
  67. package/test-results/assettree-Load-more-button-8c16d-hen-there-is-a-complex-tree-chromium/video.webm +0 -0
  68. package/test-results/assettree-Open-browser-tab-directly-to-the-battery-asset-chromium/video.webm +0 -0
  69. package/test-results/assettree-Search-by-Asset-ID-and-select-the-battery-asset-chromium/video.webm +0 -0
  70. package/test-results/assettree-Search-for-and-select-the-battery-asset-chromium/video.webm +0 -0
  71. package/test-results/assettree-Searching-for-an-e5e93-the-tree-and-viewer-in-tact-chromium/video.webm +0 -0
  72. package/test-results/assettree-Selecting-an-ass-1d40c-iewer-when-switching-realms-chromium/video.webm +0 -0
  73. package/test-results/map-Asset-type-legend-shou-25e17--be-shown-with-1-asset-type-chromium/video.webm +0 -0
  74. package/test-results/map-Asset-type-legend-should-reset-when-switching-realm-chromium/video.webm +0 -0
  75. package/test-results/map-Asset-type-legend-should-toggle-asset-types-chromium/video.webm +0 -0
  76. package/test-results/map-Map-markers-should-not-84d97-ow-on-dashboard-is-disabled-chromium/video.webm +0 -0
  77. package/test-results/map-Map-markers-should-show-asset-and-navigate-chromium/video.webm +0 -0
  78. package/test-results/map-Map-markers-should-show-marker-direction-chromium/video.webm +0 -0
  79. package/test-results/map-Marker-clustering-shou-90ab0-arkers-when-switching-realm-chromium/video.webm +0 -0
  80. package/test-results/map-Marker-clustering-should-display-clustered-markers-chromium/video.webm +0 -0
  81. package/test-results/map-Marker-clustering-should-not-display-clustered-markers-chromium/video.webm +0 -0
  82. package/test-results/map-Marker-config-should-d-f536f-ur-based-on-attribute-range-chromium/video.webm +0 -0
  83. package/test-results/map-Marker-config-should-t-4af87-ur-based-on-attribute-value-chromium/video.webm +0 -0
  84. package/test-results/roles-Create-a-new-role-as-0988c-user-and-verify-permissions-chromium/video.webm +0 -0
  85. package/test-results/roles-Delete-an-existing-r-be22b-verify-it-no-longer-appears-chromium/video.webm +0 -0
  86. package/test-results/rules-Create-a-Flow-rule-for-an-asset-with-logic-connections-chromium/video.webm +0 -0
  87. package/test-results/rules-Create-a-When-Then-r-a1797-t-with-a-trigger-and-action-chromium/video.webm +0 -0
  88. package/test-results/test-test.cleanup.ts-Delete-the-smartcity-realm-cleanup-manager/video.webm +0 -0
  89. package/test-results/test-test.cleanup.ts-Delete-the-smartcity-user-cleanup-manager/video.webm +0 -0
  90. package/test-results/test-test.setup.ts-Add-realm-called-smartcity--setup-manager/video.webm +0 -0
  91. package/test-results/test-test.setup.ts-Add-user-called-smartcity--setup-manager/video.webm +0 -0
  92. package/test-results/test-test.setup.ts-Login-as-admin-user-setup-manager/video.webm +0 -0
  93. package/test-results/test-test.setup.ts-Login-as-smartcity-user-setup-manager/video.webm +0 -0
  94. package/test-results/users-Create-regular-users-with-tags-and-search-by-tag-chromium/video.webm +0 -0
  95. package/test-results/users-Create-service-users-with-tags-and-search-by-tag-chromium/video.webm +0 -0
  96. package/test-results/users-Verify-gateway-service-user-is-read-only-chromium/video.webm +0 -0
  97. package/app-test-report/data/075b73ed01af4241f6c8d3e9abf168a05dcae8ef.webm +0 -0
  98. package/app-test-report/data/08106346552c686f4b605ebda50181ee37e19273.webm +0 -0
  99. package/app-test-report/data/122ce8107d077577ffda185e581c761d561db433.webm +0 -0
  100. package/app-test-report/data/15f24ef40bea2243141843e9c2681867a29e1f2b.webm +0 -0
  101. package/app-test-report/data/29e9a081066330399cb4c70cd29bf109e3a6f3a5.webm +0 -0
  102. package/app-test-report/data/31fa80bd5764d99823fb6c9339aa478516ff2f92.webm +0 -0
  103. package/app-test-report/data/32ef9066aade1a8d70084127f9554aff973e46dc.webm +0 -0
  104. package/app-test-report/data/374d8762f9bc040e0d5ce6ec3e76531c9f340b3a.webm +0 -0
  105. package/app-test-report/data/3868a6dfbc669b72fc5b9a11c688c3996819f882.webm +0 -0
  106. package/app-test-report/data/3f2e9ed7c32a9e05fb363b2aa58bb54b566dcbf3.webm +0 -0
  107. package/app-test-report/data/4799b38f50f4828a5689cc0e178085f58e7484fb.webm +0 -0
  108. package/app-test-report/data/4bbb83a492a61381032c589bdda7161920b4d4eb.webm +0 -0
  109. package/app-test-report/data/5144fa4dc5a865222b126bc642bf9d8e42e64ea7.webm +0 -0
  110. package/app-test-report/data/60b7d91d8151f002de67e2c5c7fee10da37a6ed2.webm +0 -0
  111. package/app-test-report/data/61af32f7f7bd58738fbf2ee84c5d6a5b0bacb005.webm +0 -0
  112. package/app-test-report/data/62d157f5e7009aac696dce1c2d15db30666f7718.webm +0 -0
  113. package/app-test-report/data/651eb9f19b49a0b2acd7d1ddb557d4de168603b4.webm +0 -0
  114. package/app-test-report/data/65a460b74b5235331c3d15a10c6b9f28e8cec18d.webm +0 -0
  115. package/app-test-report/data/66f4491f70576c64f1f7fd4502e420ef5d6ae3c6.webm +0 -0
  116. package/app-test-report/data/725916d299b67930fa681be537c6988fe66b3109.webm +0 -0
  117. package/app-test-report/data/784a160fd85d7632dc677f41e3ecc908972e5791.webm +0 -0
  118. package/app-test-report/data/79214496d81f65f3afe294e77e08f146fcaacacf.webm +0 -0
  119. package/app-test-report/data/7bfea81103dd14cec3f03b5a63f4ca0a1313e94f.webm +0 -0
  120. package/app-test-report/data/7e151961423d9da5ae1f971055468d06e75ccf89.webm +0 -0
  121. package/app-test-report/data/84342e2b36260a3d63808ba7b9263861b7ce99ed.webm +0 -0
  122. package/app-test-report/data/850eeb06fef83a0875bf43b70714bc6f2003733c.webm +0 -0
  123. package/app-test-report/data/a5ad24683f3884874f6e57f0c7ecd84cc2df0e76.webm +0 -0
  124. package/app-test-report/data/ac5ae741e5e83a7ead7e878978ddd11d7a000829.webm +0 -0
  125. package/app-test-report/data/ad734f9e0a64ba2b3c6f1e08415e7c55417f7d52.webm +0 -0
  126. package/app-test-report/data/b3c398aae8744e37f0c872cf1b1caab7161686e1.webm +0 -0
  127. package/app-test-report/data/e019774987d6d6eeaf1b03e5a508a44b09a4ebe6.webm +0 -0
  128. package/app-test-report/data/e273151963f32e2429da72b93433d60ed967bc64.webm +0 -0
  129. package/app-test-report/data/e547f52e849ec4868446c6e3af2ee322d56b7696.webm +0 -0
  130. package/app-test-report/data/e77be9e1139a3a248db1cb4851a5213ffac512e9.webm +0 -0
  131. package/dist/bundle.bb7ee9891dbd1c90.js +0 -3702
  132. package/dist/bundle.d118feeab851730b.js +0 -3702
  133. 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.d118feeab851730b.js';
15
+ script.src = './bundle.12effa985f9f3ee7.js';
16
16
  var refScript = document.getElementsByTagName('script')[0];
17
17
  refScript.parentNode.insertBefore(script, refScript);
18
18
  }, false);
@@ -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 assetSubscriptionId: string;
32
- protected attributeSubscriptionId: string;
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 onMapMarkerClick(e: OrMapMarkerClickedEvent): void;
61
- protected onMapClick(e: OrMapClickedEvent): void;
62
- protected getCurrentAsset(): void;
63
- protected onLoadAssetEvent(loadAssetEvent: OrMapAssetCardLoadAssetEvent): void;
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
  }
@@ -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
- const locationAttr = asset.attributes && asset.attributes.hasOwnProperty("location" /* WellknownAttributes.LOCATION */) ? asset.attributes["location" /* WellknownAttributes.LOCATION */] : undefined;
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.assetSubscriptionId = assetSubscriptionId;
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.assetSubscriptionId = undefined;
237
+ this._assetSubscriptionId = undefined;
207
238
  manager.events.unsubscribe(assetSubscriptionId);
208
239
  manager.events.unsubscribe(attributeSubscriptionId);
209
240
  return;
210
241
  }
211
- this.attributeSubscriptionId = attributeSubscriptionId;
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.assetSubscriptionId) {
220
- manager.events.unsubscribe(this.assetSubscriptionId);
221
- this.assetSubscriptionId = undefined;
250
+ if (this._assetSubscriptionId) {
251
+ manager.events.unsubscribe(this._assetSubscriptionId);
252
+ this._assetSubscriptionId = undefined;
222
253
  }
223
- if (this.attributeSubscriptionId) {
224
- manager.events.unsubscribe(this.attributeSubscriptionId);
225
- this.attributeSubscriptionId = undefined;
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.unsubscribeAssets();
234
- this.subscribeAssets(realm);
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.onLoadAssetEvent);
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
- ${this._currentAsset ? html `<or-map-asset-card .config="${(_a = this.config) === null || _a === void 0 ? void 0 : _a.card}" .assetId="${this._currentAsset.id}" .markerconfig="${(_b = this.config) === null || _b === void 0 ? void 0 : _b.markers}"></or-map-asset-card>` : ``}
256
-
257
- <or-map id="map" class="or-map" showGeoCodingControl @or-map-geocoder-change="${(ev) => { this._setCenter(ev.detail.geocode); }}">
258
- ${this._assets.filter((asset) => {
259
- if (!asset.attributes) {
260
- return false;
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
- const attr = asset.attributes["location" /* WellknownAttributes.LOCATION */];
263
- return !attr.meta || !attr.meta.hasOwnProperty("showOnDashboard" /* WellknownMetaItems.SHOWONDASHBOARD */) || !!Util.getMetaValue("showOnDashboard" /* WellknownMetaItems.SHOWONDASHBOARD */, attr);
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.onMapMarkerClick);
284
- this.addEventListener(OrMapClickedEvent.NAME, this.onMapClick);
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.onMapMarkerClick);
289
- this.removeEventListener(OrMapClickedEvent.NAME, this.onMapClick);
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
- onMapMarkerClick(e) {
326
+ _onMapMarkerClick(e) {
298
327
  const asset = e.detail.marker.asset;
299
328
  router.navigate(getMapRoute(asset.id));
300
329
  }
301
- onMapClick(e) {
330
+ _onMapClick(e) {
302
331
  router.navigate(getMapRoute());
303
332
  }
304
- getCurrentAsset() {
305
- this._getCurrentAsset(this.getState());
333
+ _onMapMarkersChanged(e) {
334
+ this._assetsOnScreen = e.detail;
306
335
  }
307
- onLoadAssetEvent(loadAssetEvent) {
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,E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AAC,cAAc,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;wBAC5C,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAA;oBACnC,CAAC;oBACD,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;wBACzC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;oBACtC,CAAC;gBACL,CAAC;YACL,CAAC,CAAC,CAAC;QACP,CAAC;IACL,CAAC;CACJ,CAAA;AApRU;IADN,QAAQ,EAAE;uCACmB;AAGpB;IADT,KAAK,CAAC,MAAM,CAAC;qCACS;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.20251126084901",
3
+ "version": "1.12.0-snapshot.20251127083556",
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.20251126084901",
33
- "@openremote/model": "1.12.0-snapshot.20251126084901",
34
- "@openremote/or-app": "1.12.0-snapshot.20251126084901",
35
- "@openremote/or-asset-tree": "1.12.0-snapshot.20251126084901",
36
- "@openremote/or-asset-viewer": "1.12.0-snapshot.20251126084901",
37
- "@openremote/or-attribute-picker": "1.12.0-snapshot.20251126084901",
38
- "@openremote/or-components": "1.12.0-snapshot.20251126084901",
39
- "@openremote/or-dashboard-builder": "1.12.0-snapshot.20251126084901",
40
- "@openremote/or-data-viewer": "1.12.0-snapshot.20251126084901",
41
- "@openremote/or-icon": "1.12.0-snapshot.20251126084901",
42
- "@openremote/or-json-forms": "1.12.0-snapshot.20251126084901",
43
- "@openremote/or-log-viewer": "1.12.0-snapshot.20251126084901",
44
- "@openremote/or-map": "1.12.0-snapshot.20251126084901",
45
- "@openremote/or-mwc-components": "1.12.0-snapshot.20251126084901",
46
- "@openremote/or-rules": "1.12.0-snapshot.20251126084901",
47
- "@openremote/or-services": "1.12.0-snapshot.20251126084901",
48
- "@openremote/or-translate": "1.12.0-snapshot.20251126084901",
49
- "@openremote/rest": "1.12.0-snapshot.20251126084901",
32
+ "@openremote/core": "1.12.0-snapshot.20251127083556",
33
+ "@openremote/model": "1.12.0-snapshot.20251127083556",
34
+ "@openremote/or-app": "1.12.0-snapshot.20251127083556",
35
+ "@openremote/or-asset-tree": "1.12.0-snapshot.20251127083556",
36
+ "@openremote/or-asset-viewer": "1.12.0-snapshot.20251127083556",
37
+ "@openremote/or-attribute-picker": "1.12.0-snapshot.20251127083556",
38
+ "@openremote/or-components": "1.12.0-snapshot.20251127083556",
39
+ "@openremote/or-dashboard-builder": "1.12.0-snapshot.20251127083556",
40
+ "@openremote/or-data-viewer": "1.12.0-snapshot.20251127083556",
41
+ "@openremote/or-icon": "1.12.0-snapshot.20251127083556",
42
+ "@openremote/or-json-forms": "1.12.0-snapshot.20251127083556",
43
+ "@openremote/or-log-viewer": "1.12.0-snapshot.20251127083556",
44
+ "@openremote/or-map": "1.12.0-snapshot.20251127083556",
45
+ "@openremote/or-mwc-components": "1.12.0-snapshot.20251127083556",
46
+ "@openremote/or-rules": "1.12.0-snapshot.20251127083556",
47
+ "@openremote/or-services": "1.12.0-snapshot.20251127083556",
48
+ "@openremote/or-translate": "1.12.0-snapshot.20251127083556",
49
+ "@openremote/rest": "1.12.0-snapshot.20251127083556",
50
50
  "@reduxjs/toolkit": "^1.8.1",
51
51
  "iso-639-1": "^3.1.3",
52
52
  "lit": "^3.3.1",
53
- "maplibre-gl": "^4.1.2",
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.20251126084901",
59
- "@openremote/util": "1.12.0-snapshot.20251126084901"
58
+ "@openremote/rest": "1.12.0-snapshot.20251127083556",
59
+ "@openremote/util": "1.12.0-snapshot.20251127083556"
60
60
  },
61
61
  "publishConfig": {
62
62
  "access": "public"