@openremote/manager 1.8.0-snapshot.20250725120001 → 1.8.0-snapshot.20250725123024
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/dist/{bundle.6bd21fda2e8cb09f.js → bundle.5f4402fd359cc316.js} +3411 -3411
- package/dist/bundle.ddd2e478dcd11d3c.js +3678 -0
- package/dist/index.html +18 -18
- package/index.html +88 -88
- package/lib/components/alarms/or-alarms-table.js +56 -56
- package/lib/components/configuration/or-conf-json.js +25 -25
- package/lib/components/configuration/or-conf-map/or-conf-map-card.js +177 -177
- package/lib/components/configuration/or-conf-map/or-conf-map-geojson.js +24 -24
- package/lib/components/configuration/or-conf-map/or-conf-map-global.js +153 -153
- package/lib/components/configuration/or-conf-panel.js +43 -43
- package/lib/components/configuration/or-conf-realm/or-conf-realm-card.js +200 -200
- package/lib/pages/page-account.js +243 -243
- package/lib/pages/page-alarms.js +369 -369
- package/lib/pages/page-assets.js +100 -100
- package/lib/pages/page-configuration.js +152 -152
- package/lib/pages/page-export.js +191 -191
- package/lib/pages/page-gateway-tunnel.js +106 -106
- package/lib/pages/page-gateway.js +252 -252
- package/lib/pages/page-insights.js +19 -19
- package/lib/pages/page-logs.js +11 -11
- package/lib/pages/page-map.js +37 -37
- package/lib/pages/page-provisioning.js +294 -294
- package/lib/pages/page-realms.js +284 -284
- package/lib/pages/page-roles.js +279 -279
- package/lib/pages/page-rules.js +11 -11
- package/lib/pages/page-users.js +383 -383
- package/package.json +3 -3
package/lib/pages/page-map.js
CHANGED
|
@@ -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() {
|