@things-factory/operato-fleet 10.0.0-beta.1 → 10.0.0-beta.101
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/Dockerfile +1 -1
- package/_index.html +1 -1
- package/assets/manifest.json +2 -0
- package/client/commons/marker-info-content.ts +3 -3
- package/client/entries/public/home.ts +246 -0
- package/client/pages/admin/admin.ts +1 -1
- package/client/pages/client/client.ts +8 -8
- package/client/pages/device/device.ts +8 -8
- package/client/pages/fleet-page-style.ts +1 -1
- package/client/pages/geofence/geofence.ts +6 -6
- package/client/pages/monitoring/map-mode.ts +4 -9
- package/client/pages/monitoring/monitoring.ts +8 -8
- package/client/pages/report/report-air-pressure.ts +8 -8
- package/client/pages/report/report-based-on-track.ts +2 -2
- package/client/pages/report/report-breakdown.ts +8 -8
- package/client/pages/report/report-delivery.ts +8 -8
- package/client/pages/report/report-device.ts +8 -8
- package/client/pages/report/report-humidity.ts +8 -8
- package/client/pages/report/report-illuminance.ts +8 -8
- package/client/pages/report/report-shock.ts +8 -8
- package/client/pages/report/report-style.ts +1 -1
- package/client/pages/report/report-temperature.ts +8 -8
- package/dist-server/middlewares/index.d.ts +2 -1
- package/dist-server/middlewares/index.js +1 -1
- package/dist-server/middlewares/index.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +32 -31
- package/views/public/home.html +0 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { html, css } from 'lit'
|
|
2
|
-
import '@material/
|
|
3
|
-
import '@material/
|
|
2
|
+
import '@material/web/button/filled-button.js'
|
|
3
|
+
import '@material/web/textfield/outlined-text-field.js'
|
|
4
4
|
import '@operato/data-grist'
|
|
5
5
|
import { i18next } from '@operato/i18n'
|
|
6
6
|
import { isMobileDevice } from '@operato/utils'
|
|
@@ -35,12 +35,12 @@ class ReportShock extends ReportBasedOnTrack {
|
|
|
35
35
|
render() {
|
|
36
36
|
return html`
|
|
37
37
|
<form search>
|
|
38
|
-
<
|
|
39
|
-
<
|
|
40
|
-
<
|
|
41
|
-
<
|
|
42
|
-
<
|
|
43
|
-
<
|
|
38
|
+
<md-outlined-text-field label="device"></md-outlined-text-field>
|
|
39
|
+
<md-outlined-text-field label="client"></md-outlined-text-field>
|
|
40
|
+
<md-outlined-text-field label="delivery"></md-outlined-text-field>
|
|
41
|
+
<md-outlined-text-field label="from date" type="date"></md-outlined-text-field>
|
|
42
|
+
<md-outlined-text-field label="to date" type="date"></md-outlined-text-field>
|
|
43
|
+
<md-filled-button>search</md-filled-button>
|
|
44
44
|
</form>
|
|
45
45
|
|
|
46
46
|
<ox-grist
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { html, css } from 'lit'
|
|
2
|
-
import '@material/
|
|
3
|
-
import '@material/
|
|
2
|
+
import '@material/web/button/filled-button.js'
|
|
3
|
+
import '@material/web/textfield/outlined-text-field.js'
|
|
4
4
|
import '@operato/data-grist'
|
|
5
5
|
import { i18next } from '@operato/i18n'
|
|
6
6
|
import { isMobileDevice } from '@operato/utils'
|
|
@@ -35,12 +35,12 @@ class ReportTemperature extends ReportBasedOnTrack {
|
|
|
35
35
|
render() {
|
|
36
36
|
return html`
|
|
37
37
|
<form search>
|
|
38
|
-
<
|
|
39
|
-
<
|
|
40
|
-
<
|
|
41
|
-
<
|
|
42
|
-
<
|
|
43
|
-
<
|
|
38
|
+
<md-outlined-text-field label="device"></md-outlined-text-field>
|
|
39
|
+
<md-outlined-text-field label="client"></md-outlined-text-field>
|
|
40
|
+
<md-outlined-text-field label="delivery"></md-outlined-text-field>
|
|
41
|
+
<md-outlined-text-field label="from date" type="date"></md-outlined-text-field>
|
|
42
|
+
<md-outlined-text-field label="to date" type="date"></md-outlined-text-field>
|
|
43
|
+
<md-filled-button>search</md-filled-button>
|
|
44
44
|
</form>
|
|
45
45
|
|
|
46
46
|
<ox-grist
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import Koa from 'koa';
|
|
2
|
+
export declare function initMiddlewares(_app: Koa): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.initMiddlewares = initMiddlewares;
|
|
4
|
-
function initMiddlewares(
|
|
4
|
+
function initMiddlewares(_app) {
|
|
5
5
|
/* can add middlewares into app */
|
|
6
6
|
}
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/middlewares/index.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/middlewares/index.ts"],"names":[],"mappings":";;AAEA,0CAEC;AAFD,SAAgB,eAAe,CAAC,IAAS;IACvC,kCAAkC;AACpC,CAAC","sourcesContent":["import Koa from 'koa'\n\nexport function initMiddlewares(_app: Koa) {\n /* can add middlewares into app */\n}\n"]}
|