@openremote/manager 1.14.0-snapshot.20260126143544 → 1.14.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/dist/{bundle.26631976f56ceefc.js → bundle.5cd20c2577585770.js} +23 -29
- package/dist/{bundle.8ef3fe3f35a6f2e5.js → bundle.bd087e42242c5734.js} +23 -29
- package/dist/index.html +1 -1
- package/lib/components/configuration/or-conf-json.d.ts +1 -1
- package/lib/components/configuration/or-conf-map/or-conf-map-geojson.d.ts +2 -2
- package/lib/components/configuration/or-conf-map/or-conf-map-geojson.d.ts.map +1 -1
- package/lib/components/configuration/or-conf-map/or-conf-map-geojson.js +36 -42
- package/lib/components/configuration/or-conf-map/or-conf-map-geojson.js.map +1 -1
- package/lib/components/configuration/or-conf-map/or-conf-map-global.d.ts +1 -1
- package/lib/components/configuration/or-conf-realm/or-conf-realm-card.d.ts +1 -1
- package/lib/pages/page-logs.d.ts +1 -1
- package/lib/pages/page-map.d.ts +1 -1
- package/lib/pages/page-rules.d.ts +1 -1
- package/package.json +21 -21
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.bd087e42242c5734.js';
|
|
16
16
|
var refScript = document.getElementsByTagName('script')[0];
|
|
17
17
|
refScript.parentNode.insertBefore(script, refScript);
|
|
18
18
|
}, false);
|
|
@@ -9,6 +9,6 @@ export declare class OrConfJson extends LitElement {
|
|
|
9
9
|
protected _aceEditor: Ref<OrAceEditor>;
|
|
10
10
|
beforeSave(): false | string | undefined;
|
|
11
11
|
protected _showConfigDialog(): void;
|
|
12
|
-
render(): import("lit
|
|
12
|
+
render(): import("lit").TemplateResult<1>;
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=or-conf-json.d.ts.map
|
|
@@ -7,8 +7,8 @@ export declare class OrConfMapGeoJson extends LitElement {
|
|
|
7
7
|
protected _jsonValid: boolean;
|
|
8
8
|
protected _dialog: OrMwcDialog;
|
|
9
9
|
protected _aceEditorValue: string;
|
|
10
|
-
protected render(): import("lit
|
|
11
|
-
protected
|
|
10
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
11
|
+
protected showDialog(): void;
|
|
12
12
|
protected parseGeoJson(jsonString: string): GeoJsonConfig;
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=or-conf-map-geojson.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"or-conf-map-geojson.d.ts","sourceRoot":"","sources":["../../../../src/components/configuration/or-conf-map/or-conf-map-geojson.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,
|
|
1
|
+
{"version":3,"file":"or-conf-map-geojson.d.ts","sourceRoot":"","sources":["../../../../src/components/configuration/or-conf-map/or-conf-map-geojson.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAc,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAEvC,OAAO,yCAAyC,CAAC;AAIjD,qBACa,gBAAiB,SAAQ,UAAU;IAG5C,SAAS,CAAC,OAAO,CAAC,EAAE,aAAa,CAAC;IAGlC,SAAS,CAAC,UAAU,EAAE,OAAO,CAAQ;IAErC,SAAS,CAAC,OAAO,EAAE,WAAW,CAAA;IAE9B,SAAS,CAAC,eAAe,EAAE,MAAM,CAAC;IAIlC,SAAS,CAAC,MAAM;IAIhB,SAAS,CAAC,UAAU;IA6CpB,SAAS,CAAC,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,aAAa;CAc5D"}
|
|
@@ -4,8 +4,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
+
import { OrMwcDialog, showDialog } from "@openremote/or-mwc-components/or-mwc-dialog";
|
|
7
8
|
import { html, LitElement } from "lit";
|
|
8
|
-
import { customElement, property, state
|
|
9
|
+
import { customElement, property, state } from "lit/decorators.js";
|
|
9
10
|
import "@openremote/or-components/or-ace-editor";
|
|
10
11
|
import { InputType } from "@openremote/or-mwc-components/or-mwc-input";
|
|
11
12
|
let OrConfMapGeoJson = class OrConfMapGeoJson extends LitElement {
|
|
@@ -15,19 +16,29 @@ let OrConfMapGeoJson = class OrConfMapGeoJson extends LitElement {
|
|
|
15
16
|
}
|
|
16
17
|
/* -------------- */
|
|
17
18
|
render() {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
19
|
+
return html `<or-mwc-input type="${InputType.BUTTON}" label="geoJson" outlined icon="pencil" @or-mwc-input-changed="${this.showDialog}"></or-mwc-input>`;
|
|
20
|
+
}
|
|
21
|
+
showDialog() {
|
|
22
|
+
this._dialog = showDialog(new OrMwcDialog()
|
|
23
|
+
.setHeading("GeoJSON editor")
|
|
24
|
+
.setStyles(html `
|
|
25
|
+
<style>
|
|
26
|
+
.mdc-dialog__surface {
|
|
27
|
+
width: 1024px;
|
|
28
|
+
overflow-x: visible !important;
|
|
29
|
+
overflow-y: visible !important;
|
|
30
|
+
}
|
|
31
|
+
#dialog-content {
|
|
32
|
+
border-top-width: 1px;
|
|
33
|
+
border-top-style: solid;
|
|
34
|
+
border-bottom-width: 1px;
|
|
35
|
+
border-bottom-style: solid;
|
|
36
|
+
padding: 0;
|
|
37
|
+
overflow: visible;
|
|
38
|
+
height: 60vh;
|
|
39
|
+
}
|
|
40
|
+
</style>`)
|
|
41
|
+
.setActions([
|
|
31
42
|
{
|
|
32
43
|
actionName: "close",
|
|
33
44
|
content: "close"
|
|
@@ -41,32 +52,18 @@ let OrConfMapGeoJson = class OrConfMapGeoJson extends LitElement {
|
|
|
41
52
|
this.dispatchEvent(new CustomEvent("update", { detail: { value: this.geoJson } }));
|
|
42
53
|
}
|
|
43
54
|
},
|
|
44
|
-
]
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
#dialog-content {
|
|
53
|
-
border-top-width: 1px;
|
|
54
|
-
border-top-style: solid;
|
|
55
|
-
border-bottom-width: 1px;
|
|
56
|
-
border-bottom-style: solid;
|
|
57
|
-
padding: 0;
|
|
58
|
-
overflow: visible;
|
|
59
|
-
height: 60vh;
|
|
55
|
+
])
|
|
56
|
+
.setContent(() => {
|
|
57
|
+
var _a;
|
|
58
|
+
return html `
|
|
59
|
+
<or-ace-editor .value="${(_a = this.geoJson) === null || _a === void 0 ? void 0 : _a.source}" @or-ace-editor-changed="${(ev) => {
|
|
60
|
+
this._jsonValid = ev.detail.valid;
|
|
61
|
+
if (this._jsonValid) {
|
|
62
|
+
this._aceEditorValue = ev.detail.value;
|
|
60
63
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
<or-mwc-input type="${InputType.BUTTON}" label="geoJson" outlined icon="pencil" @or-mwc-input-changed="${() => { this.openJsonEditor(); }}"></or-mwc-input>
|
|
65
|
-
<or-mwc-dialog id="geojson-modal" .heading="${heading}" .content="${content}" .actions="${actions}" .styles="${styles}" .dismissAction="${null}"></or-mwc-dialog>
|
|
66
|
-
`;
|
|
67
|
-
}
|
|
68
|
-
openJsonEditor() {
|
|
69
|
-
this._dialog.open();
|
|
64
|
+
}}"
|
|
65
|
+
></or-ace-editor>`;
|
|
66
|
+
}).setDismissAction(null));
|
|
70
67
|
}
|
|
71
68
|
parseGeoJson(jsonString) {
|
|
72
69
|
let geoJsonObj;
|
|
@@ -90,9 +87,6 @@ __decorate([
|
|
|
90
87
|
__decorate([
|
|
91
88
|
state()
|
|
92
89
|
], OrConfMapGeoJson.prototype, "_jsonValid", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
query("#geojson-modal")
|
|
95
|
-
], OrConfMapGeoJson.prototype, "_dialog", void 0);
|
|
96
90
|
OrConfMapGeoJson = __decorate([
|
|
97
91
|
customElement("or-conf-map-geojson")
|
|
98
92
|
], OrConfMapGeoJson);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"or-conf-map-geojson.js","sourceRoot":"","sources":["../../../../src/components/configuration/or-conf-map/or-conf-map-geojson.ts"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"or-conf-map-geojson.js","sourceRoot":"","sources":["../../../../src/components/configuration/or-conf-map/or-conf-map-geojson.ts"],"names":[],"mappings":";;;;;;AACA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAGhE,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,UAAU;IAAzC;;QAMO,eAAU,GAAY,IAAI,CAAC;IAuEzC,CAAC;IAjEG,oBAAoB;IAEV,MAAM;QACZ,OAAO,IAAI,CAAA,uBAAuB,SAAS,CAAC,MAAM,mEAAmE,IAAI,CAAC,UAAU,mBAAmB,CAAA;IAC3J,CAAC;IAES,UAAU;QAChB,IAAI,CAAC,OA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,GAAG,CAAC,CAAC;YAClB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;YACxB,OAAO;QACX,CAAC;QACD,OAAO;YACH,MAAM,EAAE,UAAU;YAClB,MAAM,EAAE,EAAE;SACI,CAAC;IACvB,CAAC;CACJ,CAAA;AA1Ea;IADT,QAAQ,EAAE;iDACuB;AAGxB;IADT,KAAK,EAAE;oDAC6B;AAN5B,gBAAgB;IAD5B,aAAa,CAAC,qBAAqB,CAAC;GACxB,gBAAgB,CA6E5B"}
|
|
@@ -6,7 +6,7 @@ export declare class OrConfMapGlobal extends LitElement {
|
|
|
6
6
|
config?: MapConfig;
|
|
7
7
|
protected filename: string;
|
|
8
8
|
protected limit: number;
|
|
9
|
-
protected render(): import("lit
|
|
9
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
10
10
|
protected notifyConfigChange(config: MapConfig): void;
|
|
11
11
|
protected notifyMapFileChange(e: OrInputChangedEvent): void;
|
|
12
12
|
protected resetMapSettings(): void;
|
|
@@ -30,6 +30,6 @@ export declare class OrConfRealmCard extends LitElement {
|
|
|
30
30
|
};
|
|
31
31
|
protected _showRemoveRealmDialog(): void;
|
|
32
32
|
protected notifyConfigChange(config: ManagerAppRealmConfig): void;
|
|
33
|
-
render(): import("lit
|
|
33
|
+
render(): import("lit").TemplateResult<1>;
|
|
34
34
|
}
|
|
35
35
|
//# sourceMappingURL=or-conf-realm-card.d.ts.map
|
package/lib/pages/page-logs.d.ts
CHANGED
|
@@ -13,6 +13,6 @@ export declare class PageLogs extends Page<AppStateKeyed> {
|
|
|
13
13
|
get name(): string;
|
|
14
14
|
constructor(store: Store<AppStateKeyed>);
|
|
15
15
|
stateChanged(state: AppStateKeyed): void;
|
|
16
|
-
protected render(): import("lit
|
|
16
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
17
17
|
}
|
|
18
18
|
//# sourceMappingURL=page-logs.d.ts.map
|
package/lib/pages/page-map.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare class PageMap extends Page<MapStateKeyed> {
|
|
|
63
63
|
protected _setCenter(geocode: any): void;
|
|
64
64
|
get name(): string;
|
|
65
65
|
constructor(store: Store<MapStateKeyed>);
|
|
66
|
-
protected render(): import("lit
|
|
66
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
67
67
|
connectedCallback(): void;
|
|
68
68
|
disconnectedCallback(): void;
|
|
69
69
|
stateChanged(state: MapStateKeyed): void;
|
|
@@ -20,7 +20,7 @@ export declare class PageRules extends Page<AppStateKeyed> {
|
|
|
20
20
|
};
|
|
21
21
|
get name(): string;
|
|
22
22
|
constructor(store: Store<AppStateKeyed>);
|
|
23
|
-
protected render(): import("lit
|
|
23
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
24
24
|
stateChanged(state: AppStateKeyed): void;
|
|
25
25
|
}
|
|
26
26
|
//# sourceMappingURL=page-rules.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openremote/manager",
|
|
3
|
-
"version": "1.14.0
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"description": "OpenRemote Manager",
|
|
5
5
|
"author": "OpenRemote",
|
|
6
6
|
"license": "AGPL-3.0-or-later",
|
|
@@ -30,24 +30,24 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@lit/task": "^1.0.3",
|
|
32
32
|
"@material/data-table": "^9.0.0",
|
|
33
|
-
"@openremote/core": "1.14.0
|
|
34
|
-
"@openremote/model": "1.14.0
|
|
35
|
-
"@openremote/or-app": "1.14.0
|
|
36
|
-
"@openremote/or-asset-tree": "1.14.0
|
|
37
|
-
"@openremote/or-asset-viewer": "1.14.0
|
|
38
|
-
"@openremote/or-attribute-picker": "1.14.0
|
|
39
|
-
"@openremote/or-components": "1.14.0
|
|
40
|
-
"@openremote/or-dashboard-builder": "1.14.0
|
|
41
|
-
"@openremote/or-data-viewer": "1.14.0
|
|
42
|
-
"@openremote/or-icon": "1.14.0
|
|
43
|
-
"@openremote/or-json-forms": "1.14.0
|
|
44
|
-
"@openremote/or-log-viewer": "1.14.0
|
|
45
|
-
"@openremote/or-map": "1.14.0
|
|
46
|
-
"@openremote/or-mwc-components": "1.14.0
|
|
47
|
-
"@openremote/or-rules": "1.14.0
|
|
48
|
-
"@openremote/or-services": "1.14.0
|
|
49
|
-
"@openremote/or-translate": "1.14.0
|
|
50
|
-
"@openremote/rest": "1.14.0
|
|
33
|
+
"@openremote/core": "1.14.0",
|
|
34
|
+
"@openremote/model": "1.14.0",
|
|
35
|
+
"@openremote/or-app": "1.14.0",
|
|
36
|
+
"@openremote/or-asset-tree": "1.14.0",
|
|
37
|
+
"@openremote/or-asset-viewer": "1.14.0",
|
|
38
|
+
"@openremote/or-attribute-picker": "1.14.0",
|
|
39
|
+
"@openremote/or-components": "1.14.0",
|
|
40
|
+
"@openremote/or-dashboard-builder": "1.14.0",
|
|
41
|
+
"@openremote/or-data-viewer": "1.14.0",
|
|
42
|
+
"@openremote/or-icon": "1.14.0",
|
|
43
|
+
"@openremote/or-json-forms": "1.14.0",
|
|
44
|
+
"@openremote/or-log-viewer": "1.14.0",
|
|
45
|
+
"@openremote/or-map": "1.14.0",
|
|
46
|
+
"@openremote/or-mwc-components": "1.14.0",
|
|
47
|
+
"@openremote/or-rules": "1.14.0",
|
|
48
|
+
"@openremote/or-services": "1.14.0",
|
|
49
|
+
"@openremote/or-translate": "1.14.0",
|
|
50
|
+
"@openremote/rest": "1.14.0",
|
|
51
51
|
"@reduxjs/toolkit": "^1.8.1",
|
|
52
52
|
"iso-639-1": "^3.1.3",
|
|
53
53
|
"lit": "^3.3.1",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"reselect": "^4.1.8"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@openremote/rest": "1.14.0
|
|
60
|
-
"@openremote/util": "1.14.0
|
|
59
|
+
"@openremote/rest": "1.14.0",
|
|
60
|
+
"@openremote/util": "1.14.0",
|
|
61
61
|
"@rsdoctor/rspack-plugin": "~1.4.0"
|
|
62
62
|
},
|
|
63
63
|
"publishConfig": {
|