@things-factory/operato-fleet 4.0.2 → 4.0.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.
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { LitElement, html, css } from 'lit-element'
|
|
2
1
|
import '@material/mwc-linear-progress'
|
|
2
|
+
import '@operato/board' // ox-board-viewer
|
|
3
|
+
|
|
4
|
+
import { LitElement, css, html } from 'lit-element'
|
|
5
|
+
|
|
3
6
|
import { client } from '@things-factory/shell'
|
|
4
7
|
import gql from 'graphql-tag'
|
|
5
8
|
import { provider } from '@things-factory/board-ui'
|
|
@@ -55,20 +58,16 @@ export class MarkerInfoContent extends LitElement {
|
|
|
55
58
|
|
|
56
59
|
render() {
|
|
57
60
|
return html`
|
|
58
|
-
<board-viewer
|
|
61
|
+
<ox-board-viewer
|
|
59
62
|
id="viewer"
|
|
60
63
|
.board=${this.board}
|
|
61
64
|
.data=${this.data}
|
|
62
65
|
.provider=${provider}
|
|
63
66
|
hide-fullscreen
|
|
64
67
|
hide-navigation
|
|
65
|
-
></board-viewer>
|
|
68
|
+
></ox-board-viewer>
|
|
66
69
|
|
|
67
|
-
${this.board
|
|
68
|
-
? html``
|
|
69
|
-
: html`
|
|
70
|
-
<mwc-linear-progress indeterminate></mwc-linear-progress>
|
|
71
|
-
`}
|
|
70
|
+
${this.board ? html`` : html` <mwc-linear-progress indeterminate></mwc-linear-progress> `}
|
|
72
71
|
`
|
|
73
72
|
}
|
|
74
73
|
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import
|
|
1
|
+
import '@operato/board' // ox-board-viewer
|
|
2
|
+
|
|
3
|
+
import { PageView, client, store } from '@things-factory/shell'
|
|
4
4
|
import { css, html } from 'lit-element'
|
|
5
5
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
6
|
-
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
7
6
|
|
|
8
|
-
import { ScrollbarStyles } from '@things-factory/styles'
|
|
9
7
|
import { FMSPageStyles } from '../fleet-page-style'
|
|
8
|
+
import { ScrollbarStyles } from '@things-factory/styles'
|
|
9
|
+
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
10
|
+
import gql from 'graphql-tag'
|
|
11
|
+
import { provider } from '@things-factory/board-ui'
|
|
10
12
|
|
|
11
13
|
const NOOP = () => {}
|
|
12
14
|
const DASHBOARD = 'dashboard'
|
|
@@ -37,7 +39,7 @@ export class FMSReport extends connect(store)(localize(i18next)(PageView)) {
|
|
|
37
39
|
position: relative;
|
|
38
40
|
}
|
|
39
41
|
|
|
40
|
-
board-viewer {
|
|
42
|
+
ox-board-viewer {
|
|
41
43
|
flex: 1;
|
|
42
44
|
}
|
|
43
45
|
|
|
@@ -93,14 +95,14 @@ export class FMSReport extends connect(store)(localize(i18next)(PageView)) {
|
|
|
93
95
|
</div>
|
|
94
96
|
`
|
|
95
97
|
: html`
|
|
96
|
-
<board-viewer main .board=${this._board} .provider=${provider}></board-viewer>
|
|
98
|
+
<ox-board-viewer main .board=${this._board} .provider=${provider}></ox-board-viewer>
|
|
97
99
|
<oops-spinner ?show=${this._showSpinner}></oops-spinner>
|
|
98
100
|
`
|
|
99
101
|
}
|
|
100
102
|
|
|
101
103
|
updated(changes) {
|
|
102
104
|
if (changes.has('_boardId')) {
|
|
103
|
-
var boardViewerElement = this.shadowRoot.querySelector('board-viewer')
|
|
105
|
+
var boardViewerElement = this.shadowRoot.querySelector('ox-board-viewer')
|
|
104
106
|
boardViewerElement && boardViewerElement.closeScene()
|
|
105
107
|
this.refresh()
|
|
106
108
|
}
|
|
@@ -111,7 +113,7 @@ export class FMSReport extends connect(store)(localize(i18next)(PageView)) {
|
|
|
111
113
|
this._boardId = lifecycle.resourceId
|
|
112
114
|
} else {
|
|
113
115
|
this._boardId = null
|
|
114
|
-
let boardViewer = this.shadowRoot.querySelector('board-viewer')
|
|
116
|
+
let boardViewer = this.shadowRoot.querySelector('ox-board-viewer')
|
|
115
117
|
boardViewer && boardViewer.closeScene()
|
|
116
118
|
}
|
|
117
119
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-fleet",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.6",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -38,66 +38,67 @@
|
|
|
38
38
|
"docker:run": "docker run -it -p 4000:3000 --privileged -v /dev/bus/usb:/dev/bus/usb -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY hatiolab/operato-fleet:latest"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@material/mwc-formfield": "^0.
|
|
42
|
-
"@material/mwc-linear-progress": "^0.
|
|
43
|
-
"@material/mwc-radio": "^0.
|
|
44
|
-
"@
|
|
45
|
-
"@
|
|
46
|
-
"@things-factory/
|
|
47
|
-
"@things-factory/
|
|
48
|
-
"@things-factory/
|
|
49
|
-
"@things-factory/
|
|
50
|
-
"@things-factory/
|
|
51
|
-
"@things-factory/
|
|
52
|
-
"@things-factory/
|
|
53
|
-
"@things-factory/
|
|
54
|
-
"@things-factory/
|
|
55
|
-
"@things-factory/export-ui
|
|
56
|
-
"@things-factory/
|
|
57
|
-
"@things-factory/
|
|
58
|
-
"@things-factory/
|
|
59
|
-
"@things-factory/
|
|
60
|
-
"@things-factory/
|
|
61
|
-
"@things-factory/
|
|
62
|
-
"@things-factory/
|
|
63
|
-
"@things-factory/
|
|
64
|
-
"@things-factory/
|
|
65
|
-
"@things-factory/
|
|
66
|
-
"@things-factory/
|
|
67
|
-
"@things-factory/
|
|
68
|
-
"@things-factory/scene-
|
|
69
|
-
"@things-factory/scene-
|
|
70
|
-
"@things-factory/scene-
|
|
71
|
-
"@things-factory/scene-
|
|
72
|
-
"@things-factory/scene-
|
|
73
|
-
"@things-factory/scene-
|
|
74
|
-
"@things-factory/scene-
|
|
75
|
-
"@things-factory/scene-
|
|
76
|
-
"@things-factory/scene-
|
|
77
|
-
"@things-factory/scene-
|
|
78
|
-
"@things-factory/scene-
|
|
79
|
-
"@things-factory/scene-
|
|
80
|
-
"@things-factory/scene-
|
|
81
|
-
"@things-factory/scene-
|
|
82
|
-
"@things-factory/scene-
|
|
83
|
-
"@things-factory/scene-
|
|
84
|
-
"@things-factory/scene-
|
|
85
|
-
"@things-factory/scene-
|
|
86
|
-
"@things-factory/scene-
|
|
87
|
-
"@things-factory/scene-
|
|
88
|
-
"@things-factory/scene-
|
|
89
|
-
"@things-factory/scene-
|
|
90
|
-
"@things-factory/scene-
|
|
91
|
-
"@things-factory/scene-
|
|
92
|
-
"@things-factory/scene-
|
|
93
|
-
"@things-factory/scene-
|
|
94
|
-
"@things-factory/scene-
|
|
95
|
-
"@things-factory/
|
|
96
|
-
"@things-factory/
|
|
41
|
+
"@material/mwc-formfield": "^0.25.3",
|
|
42
|
+
"@material/mwc-linear-progress": "^0.25.3",
|
|
43
|
+
"@material/mwc-radio": "^0.25.3",
|
|
44
|
+
"@operato/board": "^0.2.29",
|
|
45
|
+
"@operato/scene-switch": "^0.0.3",
|
|
46
|
+
"@things-factory/apptool-ui": "^4.0.6",
|
|
47
|
+
"@things-factory/attachment-base": "^4.0.6",
|
|
48
|
+
"@things-factory/auth-ui": "^4.0.6",
|
|
49
|
+
"@things-factory/biz-base": "^4.0.6",
|
|
50
|
+
"@things-factory/board-service": "^4.0.6",
|
|
51
|
+
"@things-factory/board-ui": "^4.0.6",
|
|
52
|
+
"@things-factory/code-ui": "^4.0.6",
|
|
53
|
+
"@things-factory/context-ui": "^4.0.6",
|
|
54
|
+
"@things-factory/dashboard": "^4.0.6",
|
|
55
|
+
"@things-factory/export-ui": "^4.0.6",
|
|
56
|
+
"@things-factory/export-ui-csv": "^4.0.6",
|
|
57
|
+
"@things-factory/export-ui-excel": "^4.0.6",
|
|
58
|
+
"@things-factory/grist-ui": "^4.0.6",
|
|
59
|
+
"@things-factory/help": "^4.0.6",
|
|
60
|
+
"@things-factory/i18n-ui": "^4.0.6",
|
|
61
|
+
"@things-factory/integration-fulfillment": "^4.0.6",
|
|
62
|
+
"@things-factory/integration-marketplace": "^4.0.6",
|
|
63
|
+
"@things-factory/more-ui": "^4.0.6",
|
|
64
|
+
"@things-factory/notification": "^4.0.6",
|
|
65
|
+
"@things-factory/oauth2-client": "^4.0.6",
|
|
66
|
+
"@things-factory/pdf": "^4.0.6",
|
|
67
|
+
"@things-factory/resource-ui": "^4.0.6",
|
|
68
|
+
"@things-factory/scene-chartjs": "^4.0.6",
|
|
69
|
+
"@things-factory/scene-clock": "^4.0.6",
|
|
70
|
+
"@things-factory/scene-clone": "^4.0.6",
|
|
71
|
+
"@things-factory/scene-compass": "^4.0.6",
|
|
72
|
+
"@things-factory/scene-data-transform": "^4.0.6",
|
|
73
|
+
"@things-factory/scene-excel": "^4.0.6",
|
|
74
|
+
"@things-factory/scene-firebase": "^4.0.6",
|
|
75
|
+
"@things-factory/scene-form": "^4.0.6",
|
|
76
|
+
"@things-factory/scene-gauge": "^4.0.6",
|
|
77
|
+
"@things-factory/scene-google-map": "^4.0.6",
|
|
78
|
+
"@things-factory/scene-graphql": "^4.0.6",
|
|
79
|
+
"@things-factory/scene-grist": "^4.0.6",
|
|
80
|
+
"@things-factory/scene-half-roundrect": "^4.0.6",
|
|
81
|
+
"@things-factory/scene-indoor-map": "^4.0.6",
|
|
82
|
+
"@things-factory/scene-integration": "^4.0.6",
|
|
83
|
+
"@things-factory/scene-label": "^4.0.6",
|
|
84
|
+
"@things-factory/scene-legend": "^4.0.6",
|
|
85
|
+
"@things-factory/scene-marker": "^4.0.6",
|
|
86
|
+
"@things-factory/scene-mqtt": "^4.0.6",
|
|
87
|
+
"@things-factory/scene-news-ticker": "^4.0.6",
|
|
88
|
+
"@things-factory/scene-progressbar": "^4.0.6",
|
|
89
|
+
"@things-factory/scene-random": "^4.0.6",
|
|
90
|
+
"@things-factory/scene-restful": "^4.0.6",
|
|
91
|
+
"@things-factory/scene-tab": "^4.0.6",
|
|
92
|
+
"@things-factory/scene-table": "^4.0.6",
|
|
93
|
+
"@things-factory/scene-timer": "^4.0.6",
|
|
94
|
+
"@things-factory/scene-visualizer": "^4.0.6",
|
|
95
|
+
"@things-factory/scene-wheel-sorter": "^4.0.6",
|
|
96
|
+
"@things-factory/setting-ui": "^4.0.6",
|
|
97
|
+
"@things-factory/system-ui": "^4.0.6",
|
|
97
98
|
"chance": "^1.1.4"
|
|
98
99
|
},
|
|
99
100
|
"devDependencies": {
|
|
100
|
-
"@things-factory/builder": "^4.0.
|
|
101
|
+
"@things-factory/builder": "^4.0.6"
|
|
101
102
|
},
|
|
102
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "471247c3499ba439b074c7654ae8d8e9fc3972f0"
|
|
103
104
|
}
|
package/views/auth-page.html
CHANGED
|
@@ -80,7 +80,6 @@
|
|
|
80
80
|
<!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
|
|
81
81
|
<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
|
|
82
82
|
<script src="node_modules/web-animations-js/web-animations-next.min.js"></script>
|
|
83
|
-
<script src="node_modules/@lottiefiles/lottie-player/dist/lottie-player.js"></script>
|
|
84
83
|
<!-- Built with love using PWA Starter Kit -->
|
|
85
84
|
|
|
86
85
|
<script src="<%- elementScript %>"></script>
|