Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

UI updates: Minor cleanup

Rich Turnerbcf5d1a5ff4b
diff --git a/ui/component/or-map/src/index.ts b/ui/component/or-map/src/index.ts
index 6f02a201f..4555178d1 100644
--- a/ui/component/or-map/src/index.ts
+++ b/ui/component/or-map/src/index.ts
@@ -4,7 +4,7 @@ import {css, customElement, html, LitElement, property, query, PropertyValues, C
import {LngLat, LngLatBoundsLike, LngLatLike} from "mapbox-gl";
import {MapWidget} from "./mapwidget";
import {
- OrMapMarker, OrMapMarkerEvent, OrMapMarkerChangedEvent, MarkerStyle
+ OrMapMarker, OrMapMarkerClickedEvent, OrMapMarkerChangedEvent, MarkerStyle
} from "./markers/or-map-marker";
import {getLngLat} from "./util";
diff --git a/ui/component/or-map/src/markers/or-map-marker.ts b/ui/component/or-map/src/markers/or-map-marker.ts
index f72a523cc..342080163 100644
--- a/ui/component/or-map/src/markers/or-map-marker.ts
+++ b/ui/component/or-map/src/markers/or-map-marker.ts
@@ -1,10 +1,5 @@
import {css, customElement, LitElement, property, PropertyValues, query, html} from "lit-element";
-export enum OrMapMarkerEvent {
- CLICKED = "or-map-marker-clicked",
- CHANGED = "or-map-marker-changed"
-}
-
export class OrMapMarkerChangedEvent extends CustomEvent<MarkerChangedEventDetail> {
public static readonly NAME = "or-map-marker-changed";
diff --git a/ui/demo/demo-core/tsconfig.json b/ui/demo/demo-core/tsconfig.json
index aa5ff0a55..26738afef 100644
--- a/ui/demo/demo-core/tsconfig.json
+++ b/ui/demo/demo-core/tsconfig.json
@@ -1,5 +1,8 @@
{
"extends": "../../tsconfig",
+ "compilerOptions": {
+ "tsBuildInfoFile": "./.tsbuildinfo"
+ },
"include": [
"./src"
],
diff --git a/ui/demo/demo-or-map/src/index.ts b/ui/demo/demo-or-map/src/index.ts
index 1d78af46f..51d4d134f 100644
--- a/ui/demo/demo-or-map/src/index.ts
+++ b/ui/demo/demo-or-map/src/index.ts
@@ -4,7 +4,7 @@ import "@openremote/or-map";
import "@openremote/or-map/dist/markers/or-map-marker";
import "@openremote/or-map/dist/markers/or-map-marker-asset";
import openremote, {Auth} from "@openremote/core";
-import {OrMapMarkerEvent} from "@openremote/or-map/dist/markers/or-map-marker";
+import {OrMapMarkerChangedEvent, OrMapMarkerClickedEvent} from "@openremote/or-map/dist/markers/or-map-marker";
import {OrMap} from "@openremote/or-map";
import {getApartment1Asset} from "../../demo-core/src/util";
diff --git a/ui/demo/demo-or-map/tsconfig.json b/ui/demo/demo-or-map/tsconfig.json
index fa3009b76..b37ec3da1 100644
--- a/ui/demo/demo-or-map/tsconfig.json
+++ b/ui/demo/demo-or-map/tsconfig.json
@@ -1,5 +1,8 @@
{
"extends": "../../tsconfig",
+ "compilerOptions": {
+ "tsBuildInfoFile": "./.tsbuildinfo"
+ },
"include": [
"./src",
"../../component/or-map/@types"
diff --git a/ui/demo/demo-or-thermostat/tsconfig.json b/ui/demo/demo-or-thermostat/tsconfig.json
index 57a68b5a7..99a2fa107 100644
--- a/ui/demo/demo-or-thermostat/tsconfig.json
+++ b/ui/demo/demo-or-thermostat/tsconfig.json
@@ -1,5 +1,8 @@
{
"extends": "../../tsconfig",
+ "compilerOptions": {
+ "tsBuildInfoFile": "./.tsbuildinfo"
+ },
"include": [
"./src"
],
diff --git a/ui/demo/demo-rest/tsconfig.json b/ui/demo/demo-rest/tsconfig.json
index 1f5a12a3b..bc6327d6e 100644
--- a/ui/demo/demo-rest/tsconfig.json
+++ b/ui/demo/demo-rest/tsconfig.json
@@ -1,5 +1,8 @@
{
"extends": "../../tsconfig",
+ "compilerOptions": {
+ "tsBuildInfoFile": "./.tsbuildinfo"
+ },
"include": [
"./src"
],