@things-factory/operato-fleet 4.0.0 → 4.0.4

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 { client, PageView, store } from '@things-factory/shell'
2
- import { provider } from '@things-factory/board-ui'
3
- import gql from 'graphql-tag'
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.0",
3
+ "version": "4.0.4",
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
- "@things-factory/apptool-ui": "^4.0.0",
45
- "@things-factory/attachment-base": "^4.0.0",
46
- "@things-factory/auth-ui": "^4.0.0",
47
- "@things-factory/biz-base": "^4.0.0",
48
- "@things-factory/board-service": "^4.0.0",
49
- "@things-factory/board-ui": "^4.0.0",
50
- "@things-factory/code-ui": "^4.0.0",
51
- "@things-factory/context-ui": "^4.0.0",
52
- "@things-factory/dashboard": "^4.0.0",
53
- "@things-factory/export-ui": "^4.0.0",
54
- "@things-factory/export-ui-csv": "^4.0.0",
55
- "@things-factory/export-ui-excel": "^4.0.0",
56
- "@things-factory/grist-ui": "^4.0.0-beta.2",
57
- "@things-factory/help": "^4.0.0",
58
- "@things-factory/i18n-ui": "^4.0.0",
59
- "@things-factory/integration-fulfillment": "^4.0.0",
60
- "@things-factory/integration-marketplace": "^4.0.0",
61
- "@things-factory/more-ui": "^4.0.0",
62
- "@things-factory/notification": "^4.0.0",
63
- "@things-factory/oauth2-client": "^4.0.0",
64
- "@things-factory/pdf": "^4.0.0-beta.2",
65
- "@things-factory/resource-ui": "^4.0.0",
66
- "@things-factory/scene-chartjs": "^4.0.0-beta.2",
67
- "@things-factory/scene-clock": "^4.0.0-beta.2",
68
- "@things-factory/scene-clone": "^4.0.0-beta.2",
69
- "@things-factory/scene-compass": "^4.0.0-beta.2",
70
- "@things-factory/scene-data-transform": "^4.0.0-beta.2",
71
- "@things-factory/scene-excel": "^4.0.0-beta.2",
72
- "@things-factory/scene-firebase": "^4.0.0-beta.2",
73
- "@things-factory/scene-form": "^4.0.0-beta.2",
74
- "@things-factory/scene-gauge": "^4.0.0-beta.2",
75
- "@things-factory/scene-google-map": "^4.0.0-beta.2",
76
- "@things-factory/scene-graphql": "^4.0.0",
77
- "@things-factory/scene-grist": "^4.0.0-beta.2",
78
- "@things-factory/scene-half-roundrect": "^4.0.0-beta.2",
79
- "@things-factory/scene-indoor-map": "^4.0.0-beta.2",
80
- "@things-factory/scene-integration": "^4.0.0",
81
- "@things-factory/scene-label": "^4.0.0",
82
- "@things-factory/scene-legend": "^4.0.0-beta.2",
83
- "@things-factory/scene-marker": "^4.0.0-beta.2",
84
- "@things-factory/scene-mqtt": "^4.0.0-beta.2",
85
- "@things-factory/scene-news-ticker": "^4.0.0-beta.2",
86
- "@things-factory/scene-progressbar": "^4.0.0-beta.2",
87
- "@things-factory/scene-random": "^4.0.0-beta.2",
88
- "@things-factory/scene-restful": "^4.0.0-beta.2",
89
- "@things-factory/scene-switch": "^4.0.0-beta.2",
90
- "@things-factory/scene-tab": "^4.0.0-beta.2",
91
- "@things-factory/scene-table": "^4.0.0-beta.2",
92
- "@things-factory/scene-timer": "^4.0.0-beta.2",
93
- "@things-factory/scene-visualizer": "^4.0.0-beta.2",
94
- "@things-factory/scene-wheel-sorter": "^4.0.0-beta.2",
95
- "@things-factory/setting-ui": "^4.0.0",
96
- "@things-factory/system-ui": "^4.0.0",
44
+ "@operato/board": "^0.2.18",
45
+ "@things-factory/apptool-ui": "^4.0.4",
46
+ "@things-factory/attachment-base": "^4.0.4",
47
+ "@things-factory/auth-ui": "^4.0.4",
48
+ "@things-factory/biz-base": "^4.0.4",
49
+ "@things-factory/board-service": "^4.0.4",
50
+ "@things-factory/board-ui": "^4.0.4",
51
+ "@things-factory/code-ui": "^4.0.4",
52
+ "@things-factory/context-ui": "^4.0.4",
53
+ "@things-factory/dashboard": "^4.0.4",
54
+ "@things-factory/export-ui": "^4.0.4",
55
+ "@things-factory/export-ui-csv": "^4.0.4",
56
+ "@things-factory/export-ui-excel": "^4.0.4",
57
+ "@things-factory/grist-ui": "^4.0.1",
58
+ "@things-factory/help": "^4.0.4",
59
+ "@things-factory/i18n-ui": "^4.0.4",
60
+ "@things-factory/integration-fulfillment": "^4.0.4",
61
+ "@things-factory/integration-marketplace": "^4.0.4",
62
+ "@things-factory/more-ui": "^4.0.4",
63
+ "@things-factory/notification": "^4.0.4",
64
+ "@things-factory/oauth2-client": "^4.0.4",
65
+ "@things-factory/pdf": "^4.0.1",
66
+ "@things-factory/resource-ui": "^4.0.4",
67
+ "@things-factory/scene-chartjs": "^4.0.4",
68
+ "@things-factory/scene-clock": "^4.0.4",
69
+ "@things-factory/scene-clone": "^4.0.4",
70
+ "@things-factory/scene-compass": "^4.0.4",
71
+ "@things-factory/scene-data-transform": "^4.0.4",
72
+ "@things-factory/scene-excel": "^4.0.4",
73
+ "@things-factory/scene-firebase": "^4.0.4",
74
+ "@things-factory/scene-form": "^4.0.4",
75
+ "@things-factory/scene-gauge": "^4.0.4",
76
+ "@things-factory/scene-google-map": "^4.0.4",
77
+ "@things-factory/scene-graphql": "^4.0.4",
78
+ "@things-factory/scene-grist": "^4.0.4",
79
+ "@things-factory/scene-half-roundrect": "^4.0.4",
80
+ "@things-factory/scene-indoor-map": "^4.0.4",
81
+ "@things-factory/scene-integration": "^4.0.4",
82
+ "@things-factory/scene-label": "^4.0.4",
83
+ "@things-factory/scene-legend": "^4.0.4",
84
+ "@things-factory/scene-marker": "^4.0.4",
85
+ "@things-factory/scene-mqtt": "^4.0.4",
86
+ "@things-factory/scene-news-ticker": "^4.0.4",
87
+ "@things-factory/scene-progressbar": "^4.0.4",
88
+ "@things-factory/scene-random": "^4.0.4",
89
+ "@things-factory/scene-restful": "^4.0.4",
90
+ "@things-factory/scene-switch": "^4.0.4",
91
+ "@things-factory/scene-tab": "^4.0.4",
92
+ "@things-factory/scene-table": "^4.0.4",
93
+ "@things-factory/scene-timer": "^4.0.4",
94
+ "@things-factory/scene-visualizer": "^4.0.4",
95
+ "@things-factory/scene-wheel-sorter": "^4.0.4",
96
+ "@things-factory/setting-ui": "^4.0.4",
97
+ "@things-factory/system-ui": "^4.0.4",
97
98
  "chance": "^1.1.4"
98
99
  },
99
100
  "devDependencies": {
100
- "@things-factory/builder": "^4.0.0-beta.2"
101
+ "@things-factory/builder": "^4.0.3"
101
102
  },
102
- "gitHead": "435f0731c09ba124ed608580f3cdfb722f5ab891"
103
+ "gitHead": "292d7c4e2675d228d6be474ea6a0525d26ac1657"
103
104
  }