@things-factory/operato-fleet 10.0.0-beta.4 → 10.0.0-beta.6
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/client/commons/marker-info-content.ts +3 -3
- 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/tsconfig.tsbuildinfo +1 -1
- package/package.json +28 -30
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '@material/
|
|
1
|
+
import '@material/web/progress/linear-progress.js'
|
|
2
2
|
import '@operato/board/ox-board-viewer.js'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
@@ -28,7 +28,7 @@ export class MarkerInfoContent extends LitElement {
|
|
|
28
28
|
height: 100%;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
md-linear-progress {
|
|
32
32
|
margin: 13px;
|
|
33
33
|
width: 200px;
|
|
34
34
|
}
|
|
@@ -67,7 +67,7 @@ export class MarkerInfoContent extends LitElement {
|
|
|
67
67
|
hide-navigation
|
|
68
68
|
></ox-board-viewer>
|
|
69
69
|
|
|
70
|
-
${this.board ? html`` : html` <
|
|
70
|
+
${this.board ? html`` : html` <md-linear-progress indeterminate></md-linear-progress> `}
|
|
71
71
|
`
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -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 { store, PageView } from '@operato/shell'
|
|
5
5
|
import '@operato/data-grist'
|
|
6
6
|
import { i18next, localize } from '@operato/i18n'
|
|
@@ -42,12 +42,12 @@ class FMSClient extends localize(i18next)(PageView) {
|
|
|
42
42
|
render() {
|
|
43
43
|
return html`
|
|
44
44
|
<form search>
|
|
45
|
-
<
|
|
46
|
-
<
|
|
47
|
-
<
|
|
48
|
-
<
|
|
49
|
-
<
|
|
50
|
-
<
|
|
45
|
+
<md-outlined-text-field label="device"></md-outlined-text-field>
|
|
46
|
+
<md-outlined-text-field label="client"></md-outlined-text-field>
|
|
47
|
+
<md-outlined-text-field label="delivery"></md-outlined-text-field>
|
|
48
|
+
<md-outlined-text-field label="from date" type="date"></md-outlined-text-field>
|
|
49
|
+
<md-outlined-text-field label="to date" type="date"></md-outlined-text-field>
|
|
50
|
+
<md-filled-button>search</md-filled-button>
|
|
51
51
|
</form>
|
|
52
52
|
|
|
53
53
|
<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 { store, PageView } from '@operato/shell'
|
|
5
5
|
import '@operato/data-grist'
|
|
6
6
|
import { i18next, localize } from '@operato/i18n'
|
|
@@ -42,12 +42,12 @@ class FMSDevice extends localize(i18next)(PageView) {
|
|
|
42
42
|
render() {
|
|
43
43
|
return html`
|
|
44
44
|
<form search>
|
|
45
|
-
<
|
|
46
|
-
<
|
|
47
|
-
<
|
|
48
|
-
<
|
|
49
|
-
<
|
|
50
|
-
<
|
|
45
|
+
<md-outlined-text-field label="device"></md-outlined-text-field>
|
|
46
|
+
<md-outlined-text-field label="client"></md-outlined-text-field>
|
|
47
|
+
<md-outlined-text-field label="delivery"></md-outlined-text-field>
|
|
48
|
+
<md-outlined-text-field label="from date" type="date"></md-outlined-text-field>
|
|
49
|
+
<md-outlined-text-field label="to date" type="date"></md-outlined-text-field>
|
|
50
|
+
<md-filled-button>search</md-filled-button>
|
|
51
51
|
</form>
|
|
52
52
|
|
|
53
53
|
<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 { store, PageView } from '@operato/shell'
|
|
5
5
|
import { i18next, localize } from '@operato/i18n'
|
|
6
6
|
|
|
@@ -46,10 +46,10 @@ class FMSGeoFence extends localize(i18next)(PageView) {
|
|
|
46
46
|
render() {
|
|
47
47
|
return html`
|
|
48
48
|
<form search>
|
|
49
|
-
<
|
|
50
|
-
<
|
|
51
|
-
<
|
|
52
|
-
<
|
|
49
|
+
<md-outlined-text-field label="client"></md-outlined-text-field>
|
|
50
|
+
<md-outlined-text-field label="geofence"></md-outlined-text-field>
|
|
51
|
+
<md-outlined-text-field label="type"></md-outlined-text-field>
|
|
52
|
+
<md-filled-button>search</md-filled-button>
|
|
53
53
|
</form>
|
|
54
54
|
|
|
55
55
|
<div main>
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { LitElement, html, css } from 'lit'
|
|
2
|
-
import '@material/
|
|
3
|
-
import '@material/mwc-formfield'
|
|
2
|
+
import '@material/web/radio/radio.js'
|
|
4
3
|
|
|
5
4
|
export const MODE_FLEET = 0
|
|
6
5
|
export const MODE_TRACK = 1
|
|
@@ -17,7 +16,7 @@ class MapMode extends LitElement {
|
|
|
17
16
|
background-color: var(--md-sys-color-surface);
|
|
18
17
|
box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
|
|
19
18
|
}
|
|
20
|
-
|
|
19
|
+
md-radio {
|
|
21
20
|
margin-right: -10px;
|
|
22
21
|
}
|
|
23
22
|
`
|
|
@@ -33,13 +32,9 @@ class MapMode extends LitElement {
|
|
|
33
32
|
render() {
|
|
34
33
|
var mode = this.mode || MODE_FLEET
|
|
35
34
|
return html`
|
|
36
|
-
<
|
|
37
|
-
<mwc-radio @click=${e => this.setMode(MODE_FLEET)} name="fleet" ?checked=${mode == MODE_FLEET}></mwc-radio>
|
|
38
|
-
</mwc-formfield>
|
|
35
|
+
<label>Fleet <md-radio @click=${e => this.setMode(MODE_FLEET)} name="fleet" ?checked=${mode == MODE_FLEET}></md-radio></label>
|
|
39
36
|
|
|
40
|
-
<
|
|
41
|
-
<mwc-radio @click=${e => this.setMode(MODE_TRACK)} name="track" ?checked=${mode == MODE_TRACK}></mwc-radio>
|
|
42
|
-
</mwc-formfield>
|
|
37
|
+
<label>Track <md-radio @click=${e => this.setMode(MODE_TRACK)} name="track" ?checked=${mode == MODE_TRACK}></md-radio></label>
|
|
43
38
|
`
|
|
44
39
|
}
|
|
45
40
|
|
|
@@ -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
|
|
|
5
5
|
import { store, PageView } from '@operato/shell'
|
|
6
6
|
import { i18next, localize } from '@operato/i18n'
|
|
@@ -76,12 +76,12 @@ class FMSMonitoring extends localize(i18next)(PageView) {
|
|
|
76
76
|
|
|
77
77
|
return html`
|
|
78
78
|
<form @change=${this.onchangeSearch.bind(this)} search>
|
|
79
|
-
<
|
|
80
|
-
<
|
|
81
|
-
<
|
|
82
|
-
<
|
|
83
|
-
<
|
|
84
|
-
<
|
|
79
|
+
<md-outlined-text-field label="device" .value=${device}></md-outlined-text-field>
|
|
80
|
+
<md-outlined-text-field label="client" .value=${client}></md-outlined-text-field>
|
|
81
|
+
<md-outlined-text-field label="delivery" .value=${delivery}></md-outlined-text-field>
|
|
82
|
+
<md-outlined-text-field label="from date" type="date" .value=${fromdate}></md-outlined-text-field>
|
|
83
|
+
<md-outlined-text-field label="to date" type="date" .value=${todate}></md-outlined-text-field>
|
|
84
|
+
<md-filled-button>search</md-filled-button>
|
|
85
85
|
</form>
|
|
86
86
|
|
|
87
87
|
<div main>
|
|
@@ -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 ReportAirPressure 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
|
<ox-grist
|
|
46
46
|
.mode=${isMobileDevice() ? 'LIST' : 'GRID'}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '@material/
|
|
2
|
-
import '@material/
|
|
1
|
+
import '@material/web/button/filled-button.js'
|
|
2
|
+
import '@material/web/textfield/outlined-text-field.js'
|
|
3
3
|
import '../../commons/fleet-search'
|
|
4
4
|
import '../../commons/track-popup'
|
|
5
5
|
import '../../commons/marker-info-content'
|
|
@@ -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 ReportBreakDown 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 { store, PageView } from '@operato/shell'
|
|
5
5
|
import '@operato/data-grist'
|
|
6
6
|
import { i18next, localize } from '@operato/i18n'
|
|
@@ -34,12 +34,12 @@ class ReportDelivery extends localize(i18next)(PageView) {
|
|
|
34
34
|
render() {
|
|
35
35
|
return html`
|
|
36
36
|
<form search>
|
|
37
|
-
<
|
|
38
|
-
<
|
|
39
|
-
<
|
|
40
|
-
<
|
|
41
|
-
<
|
|
42
|
-
<
|
|
37
|
+
<md-outlined-text-field label="device"></md-outlined-text-field>
|
|
38
|
+
<md-outlined-text-field label="client"></md-outlined-text-field>
|
|
39
|
+
<md-outlined-text-field label="delivery"></md-outlined-text-field>
|
|
40
|
+
<md-outlined-text-field label="from date" type="date"></md-outlined-text-field>
|
|
41
|
+
<md-outlined-text-field label="to date" type="date"></md-outlined-text-field>
|
|
42
|
+
<md-filled-button>search</md-filled-button>
|
|
43
43
|
</form>
|
|
44
44
|
|
|
45
45
|
<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 { store, PageView } from '@operato/shell'
|
|
5
5
|
import '@operato/data-grist'
|
|
6
6
|
import { i18next, localize } from '@operato/i18n'
|
|
@@ -33,12 +33,12 @@ class ReportDevice extends localize(i18next)(PageView) {
|
|
|
33
33
|
render() {
|
|
34
34
|
return html`
|
|
35
35
|
<form search>
|
|
36
|
-
<
|
|
37
|
-
<
|
|
38
|
-
<
|
|
39
|
-
<
|
|
40
|
-
<
|
|
41
|
-
<
|
|
36
|
+
<md-outlined-text-field label="device"></md-outlined-text-field>
|
|
37
|
+
<md-outlined-text-field label="client"></md-outlined-text-field>
|
|
38
|
+
<md-outlined-text-field label="delivery"></md-outlined-text-field>
|
|
39
|
+
<md-outlined-text-field label="from date" type="date"></md-outlined-text-field>
|
|
40
|
+
<md-outlined-text-field label="to date" type="date"></md-outlined-text-field>
|
|
41
|
+
<md-filled-button>search</md-filled-button>
|
|
42
42
|
</form>
|
|
43
43
|
|
|
44
44
|
<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 ReportHumidity 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'
|
|
@@ -34,12 +34,12 @@ class ReportIlluminance extends ReportBasedOnTrack {
|
|
|
34
34
|
render() {
|
|
35
35
|
return html`
|
|
36
36
|
<form search>
|
|
37
|
-
<
|
|
38
|
-
<
|
|
39
|
-
<
|
|
40
|
-
<
|
|
41
|
-
<
|
|
42
|
-
<
|
|
37
|
+
<md-outlined-text-field label="device"></md-outlined-text-field>
|
|
38
|
+
<md-outlined-text-field label="client"></md-outlined-text-field>
|
|
39
|
+
<md-outlined-text-field label="delivery"></md-outlined-text-field>
|
|
40
|
+
<md-outlined-text-field label="from date" type="date"></md-outlined-text-field>
|
|
41
|
+
<md-outlined-text-field label="to date" type="date"></md-outlined-text-field>
|
|
42
|
+
<md-filled-button>search</md-filled-button>
|
|
43
43
|
</form>
|
|
44
44
|
|
|
45
45
|
<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 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
|