@openremote/manager 1.8.0-snapshot.20250725120002 → 1.8.0-snapshot.20250728102340

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.
@@ -86,34 +86,34 @@ export function pageMapProvider(store, config) {
86
86
  let PageMap = class PageMap extends Page {
87
87
  static get styles() {
88
88
  // language=CSS
89
- return css `
90
- or-map-asset-card {
91
- height: 35vh;
92
- position: absolute;
93
- bottom: 0;
94
- right: 0;
95
- width: 100vw;
96
- z-index: 3;
97
- }
98
-
99
- or-map {
100
- display: block;
101
- height: 100%;
102
- width: 100%;
103
- }
104
-
105
- @media only screen and (min-width: 40em){
106
- or-map-asset-card {
107
- position: absolute;
108
- top: 10px;
109
- right: 50px;
110
- width: 320px;
111
- margin: 0;
112
- height: 400px; /* fallback for IE */
113
- height: max-content;
114
- max-height: calc(100vh - 150px);
115
- }
116
- }
89
+ return css `
90
+ or-map-asset-card {
91
+ height: 35vh;
92
+ position: absolute;
93
+ bottom: 0;
94
+ right: 0;
95
+ width: 100vw;
96
+ z-index: 3;
97
+ }
98
+
99
+ or-map {
100
+ display: block;
101
+ height: 100%;
102
+ width: 100%;
103
+ }
104
+
105
+ @media only screen and (min-width: 40em){
106
+ or-map-asset-card {
107
+ position: absolute;
108
+ top: 10px;
109
+ right: 50px;
110
+ width: 320px;
111
+ margin: 0;
112
+ height: 400px; /* fallback for IE */
113
+ height: max-content;
114
+ max-height: calc(100vh - 150px);
115
+ }
116
+ }
117
117
  `;
118
118
  }
119
119
  getAttributesOfInterest() {
@@ -250,11 +250,11 @@ let PageMap = class PageMap extends Page {
250
250
  }
251
251
  render() {
252
252
  var _a, _b;
253
- 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); }}">
253
+ 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
258
  ${this._assets.filter((asset) => {
259
259
  if (!asset.attributes) {
260
260
  return false;
@@ -271,11 +271,11 @@ let PageMap = class PageMap extends Page {
271
271
  }
272
272
  })
273
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>
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
276
  `;
277
- })}
278
- </or-map>
277
+ })}
278
+ </or-map>
279
279
  `;
280
280
  }
281
281
  connectedCallback() {