diff --git a/web/package-lock.json b/web/package-lock.json index 1fe407d..f6542c0 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -14,7 +14,8 @@ "bulma": "^0.9.1", "chart.js": "^2.9.4", "vue": "^3.0.0", - "vue-class-component": "^8.0.0-0" + "vue-class-component": "^8.0.0-0", + "vue-property-decorator": "^9.1.2" }, "devDependencies": { "@fortawesome/fontawesome-free": "^5.15.1", @@ -13151,6 +13152,15 @@ "integrity": "sha1-M7QHd3VMZDJXPBIMw4CLvRDUfwQ=", "dev": true }, + "node_modules/vue-property-decorator": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/vue-property-decorator/-/vue-property-decorator-9.1.2.tgz", + "integrity": "sha512-xYA8MkZynPBGd/w5QFJ2d/NM0z/YeegMqYTphy7NJQXbZcuU6FC6AOdUAcy4SXP+YnkerC6AfH+ldg7PDk9ESQ==", + "peerDependencies": { + "vue": "*", + "vue-class-component": "*" + } + }, "node_modules/vue-style-loader": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.2.tgz", @@ -25248,6 +25258,12 @@ } } }, + "vue-property-decorator": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/vue-property-decorator/-/vue-property-decorator-9.1.2.tgz", + "integrity": "sha512-xYA8MkZynPBGd/w5QFJ2d/NM0z/YeegMqYTphy7NJQXbZcuU6FC6AOdUAcy4SXP+YnkerC6AfH+ldg7PDk9ESQ==", + "requires": {} + }, "vue-style-loader": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.2.tgz", diff --git a/web/package.json b/web/package.json index 6fd5824..1460302 100644 --- a/web/package.json +++ b/web/package.json @@ -14,7 +14,8 @@ "bulma": "^0.9.1", "chart.js": "^2.9.4", "vue": "^3.0.0", - "vue-class-component": "^8.0.0-0" + "vue-class-component": "^8.0.0-0", + "vue-property-decorator": "^9.1.2" }, "devDependencies": { "@fortawesome/fontawesome-free": "^5.15.1", diff --git a/web/src/components/Canva.vue b/web/src/components/Canva.vue new file mode 100644 index 0000000..3d14f94 --- /dev/null +++ b/web/src/components/Canva.vue @@ -0,0 +1,71 @@ + + + + + diff --git a/web/src/components/Points.vue b/web/src/components/Points.vue index 1203ad9..d47dd7c 100644 --- a/web/src/components/Points.vue +++ b/web/src/components/Points.vue @@ -34,34 +34,15 @@
- +
-
- - - - - - - - - - - - - -
Device idTimeMeasurement
{{ point.client }}{{ new Date(point.time).toLocaleString() }}{{ point.value }}°C
+
+
- Fetched data, try creating a chart or table! + + Fetched data, try creating a chart or table! +
{{ error }} @@ -73,11 +54,17 @@ + +