@things-factory/operato-fleet 4.0.1 → 4.0.5
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.5",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -41,63 +41,64 @@
|
|
|
41
41
|
"@material/mwc-formfield": "^0.22.1",
|
|
42
42
|
"@material/mwc-linear-progress": "^0.22.1",
|
|
43
43
|
"@material/mwc-radio": "^0.22.1",
|
|
44
|
-
"@
|
|
45
|
-
"@things-factory/
|
|
46
|
-
"@things-factory/
|
|
47
|
-
"@things-factory/
|
|
48
|
-
"@things-factory/
|
|
49
|
-
"@things-factory/board-
|
|
50
|
-
"@things-factory/
|
|
51
|
-
"@things-factory/
|
|
52
|
-
"@things-factory/
|
|
53
|
-
"@things-factory/
|
|
54
|
-
"@things-factory/export-ui
|
|
55
|
-
"@things-factory/export-ui-
|
|
56
|
-
"@things-factory/
|
|
57
|
-
"@things-factory/
|
|
58
|
-
"@things-factory/
|
|
59
|
-
"@things-factory/
|
|
60
|
-
"@things-factory/integration-
|
|
61
|
-
"@things-factory/
|
|
62
|
-
"@things-factory/
|
|
63
|
-
"@things-factory/
|
|
64
|
-
"@things-factory/
|
|
65
|
-
"@things-factory/
|
|
66
|
-
"@things-factory/
|
|
67
|
-
"@things-factory/scene-
|
|
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/
|
|
44
|
+
"@operato/board": "^0.2.18",
|
|
45
|
+
"@things-factory/apptool-ui": "^4.0.5",
|
|
46
|
+
"@things-factory/attachment-base": "^4.0.5",
|
|
47
|
+
"@things-factory/auth-ui": "^4.0.5",
|
|
48
|
+
"@things-factory/biz-base": "^4.0.5",
|
|
49
|
+
"@things-factory/board-service": "^4.0.5",
|
|
50
|
+
"@things-factory/board-ui": "^4.0.5",
|
|
51
|
+
"@things-factory/code-ui": "^4.0.5",
|
|
52
|
+
"@things-factory/context-ui": "^4.0.5",
|
|
53
|
+
"@things-factory/dashboard": "^4.0.5",
|
|
54
|
+
"@things-factory/export-ui": "^4.0.5",
|
|
55
|
+
"@things-factory/export-ui-csv": "^4.0.5",
|
|
56
|
+
"@things-factory/export-ui-excel": "^4.0.5",
|
|
57
|
+
"@things-factory/grist-ui": "^4.0.5",
|
|
58
|
+
"@things-factory/help": "^4.0.5",
|
|
59
|
+
"@things-factory/i18n-ui": "^4.0.5",
|
|
60
|
+
"@things-factory/integration-fulfillment": "^4.0.5",
|
|
61
|
+
"@things-factory/integration-marketplace": "^4.0.5",
|
|
62
|
+
"@things-factory/more-ui": "^4.0.5",
|
|
63
|
+
"@things-factory/notification": "^4.0.5",
|
|
64
|
+
"@things-factory/oauth2-client": "^4.0.5",
|
|
65
|
+
"@things-factory/pdf": "^4.0.5",
|
|
66
|
+
"@things-factory/resource-ui": "^4.0.5",
|
|
67
|
+
"@things-factory/scene-chartjs": "^4.0.5",
|
|
68
|
+
"@things-factory/scene-clock": "^4.0.5",
|
|
69
|
+
"@things-factory/scene-clone": "^4.0.5",
|
|
70
|
+
"@things-factory/scene-compass": "^4.0.5",
|
|
71
|
+
"@things-factory/scene-data-transform": "^4.0.5",
|
|
72
|
+
"@things-factory/scene-excel": "^4.0.5",
|
|
73
|
+
"@things-factory/scene-firebase": "^4.0.5",
|
|
74
|
+
"@things-factory/scene-form": "^4.0.5",
|
|
75
|
+
"@things-factory/scene-gauge": "^4.0.5",
|
|
76
|
+
"@things-factory/scene-google-map": "^4.0.5",
|
|
77
|
+
"@things-factory/scene-graphql": "^4.0.5",
|
|
78
|
+
"@things-factory/scene-grist": "^4.0.5",
|
|
79
|
+
"@things-factory/scene-half-roundrect": "^4.0.5",
|
|
80
|
+
"@things-factory/scene-indoor-map": "^4.0.5",
|
|
81
|
+
"@things-factory/scene-integration": "^4.0.5",
|
|
82
|
+
"@things-factory/scene-label": "^4.0.5",
|
|
83
|
+
"@things-factory/scene-legend": "^4.0.5",
|
|
84
|
+
"@things-factory/scene-marker": "^4.0.5",
|
|
85
|
+
"@things-factory/scene-mqtt": "^4.0.5",
|
|
86
|
+
"@things-factory/scene-news-ticker": "^4.0.5",
|
|
87
|
+
"@things-factory/scene-progressbar": "^4.0.5",
|
|
88
|
+
"@things-factory/scene-random": "^4.0.5",
|
|
89
|
+
"@things-factory/scene-restful": "^4.0.5",
|
|
90
|
+
"@things-factory/scene-switch": "^4.0.5",
|
|
91
|
+
"@things-factory/scene-tab": "^4.0.5",
|
|
92
|
+
"@things-factory/scene-table": "^4.0.5",
|
|
93
|
+
"@things-factory/scene-timer": "^4.0.5",
|
|
94
|
+
"@things-factory/scene-visualizer": "^4.0.5",
|
|
95
|
+
"@things-factory/scene-wheel-sorter": "^4.0.5",
|
|
96
|
+
"@things-factory/setting-ui": "^4.0.5",
|
|
97
|
+
"@things-factory/system-ui": "^4.0.5",
|
|
97
98
|
"chance": "^1.1.4"
|
|
98
99
|
},
|
|
99
100
|
"devDependencies": {
|
|
100
|
-
"@things-factory/builder": "^4.0.
|
|
101
|
+
"@things-factory/builder": "^4.0.5"
|
|
101
102
|
},
|
|
102
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "b7b2976818dceab74a34903499d408eed5d45b04"
|
|
103
104
|
}
|