@things-factory/operato-fleet 4.2.12 → 4.3.0
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/bootstrap.js +1 -1
- package/client/commons/board-wrapper.js +2 -4
- package/client/commons/common-map.js +2 -4
- package/client/commons/fleet-item.js +1 -1
- package/client/commons/fleet-search.js +1 -1
- package/client/commons/geofence-item.js +1 -1
- package/client/commons/geofence-search.js +1 -1
- package/client/commons/marker-info-content.js +1 -1
- package/client/commons/track-popup.js +1 -1
- package/client/pages/admin/admin.js +1 -1
- package/client/pages/client/client.js +1 -1
- package/client/pages/device/device.js +1 -1
- package/client/pages/fleet-page-style.js +1 -1
- package/client/pages/geofence/geofence.js +1 -1
- package/client/pages/monitoring/map-mode.js +1 -1
- package/client/pages/monitoring/monitoring.js +1 -1
- package/client/pages/report/report-air-pressure.js +1 -1
- package/client/pages/report/report-breakdown.js +1 -1
- package/client/pages/report/report-delivery.js +1 -1
- package/client/pages/report/report-device.js +1 -1
- package/client/pages/report/report-humidity.js +1 -1
- package/client/pages/report/report-illuminance.js +1 -1
- package/client/pages/report/report-shock.js +1 -1
- package/client/pages/report/report-style.js +1 -1
- package/client/pages/report/report-temperature.js +1 -1
- package/client/pages/report/report.js +1 -1
- package/client/viewparts/infowindow-setting-let.js +1 -1
- package/client/viewparts/menu-tools.js +15 -15
- package/client/viewparts/user-circle.js +2 -4
- package/package.json +30 -30
package/client/bootstrap.js
CHANGED
|
@@ -4,7 +4,7 @@ import './viewparts/user-circle'
|
|
|
4
4
|
import './viewparts/menu-tools'
|
|
5
5
|
import './viewparts/infowindow-setting-let'
|
|
6
6
|
|
|
7
|
-
import { html } from 'lit
|
|
7
|
+
import { html } from 'lit'
|
|
8
8
|
|
|
9
9
|
import { registerDefaultGroups } from '@operato/board/register-default-groups.js'
|
|
10
10
|
import { APPEND_APP_TOOL } from '@things-factory/apptool-base'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LitElement, html, css } from 'lit
|
|
1
|
+
import { LitElement, html, css } from 'lit'
|
|
2
2
|
|
|
3
3
|
export class BoardWrapper extends LitElement {
|
|
4
4
|
static get properties() {
|
|
@@ -37,9 +37,7 @@ export class BoardWrapper extends LitElement {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
render() {
|
|
40
|
-
return html`
|
|
41
|
-
<div id="target"></div>
|
|
42
|
-
`
|
|
40
|
+
return html` <div id="target"></div> `
|
|
43
41
|
}
|
|
44
42
|
|
|
45
43
|
updated() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LitElement, html, css } from 'lit
|
|
1
|
+
import { LitElement, html, css } from 'lit'
|
|
2
2
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
3
3
|
import { store } from '@things-factory/shell'
|
|
4
4
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
@@ -216,9 +216,7 @@ export class CommonMap extends connect(store)(LitElement) {
|
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
render() {
|
|
219
|
-
return html`
|
|
220
|
-
<div map></div>
|
|
221
|
-
`
|
|
219
|
+
return html` <div map></div> `
|
|
222
220
|
}
|
|
223
221
|
|
|
224
222
|
resetBounds() {
|
|
@@ -2,7 +2,7 @@ import '@material/mwc-linear-progress'
|
|
|
2
2
|
import '@operato/board/ox-board-viewer.js'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html, LitElement } from 'lit
|
|
5
|
+
import { css, html, LitElement } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { provider } from '@things-factory/board-ui'
|
|
8
8
|
import { client } from '@things-factory/shell'
|
|
@@ -3,7 +3,7 @@ import { openPopup } from '@things-factory/layout-base'
|
|
|
3
3
|
import { client, store } from '@things-factory/shell'
|
|
4
4
|
import { gqlBuilder } from '@things-factory/utils'
|
|
5
5
|
import gql from 'graphql-tag'
|
|
6
|
-
import { css, html, LitElement } from 'lit
|
|
6
|
+
import { css, html, LitElement } from 'lit'
|
|
7
7
|
import { connect } from 'pwa-helpers'
|
|
8
8
|
import { UPDATE_BOARD_SETTINGS, fetchBoardSettings } from '@things-factory/dashboard'
|
|
9
9
|
import '@things-factory/board-ui'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { css, html, LitElement } from 'lit
|
|
1
|
+
import { css, html, LitElement } from 'lit'
|
|
2
2
|
import { connect } from 'pwa-helpers'
|
|
3
3
|
|
|
4
4
|
import { store } from '@things-factory/shell'
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ICONS_DEVICE,
|
|
12
12
|
ICONS_DRIVER,
|
|
13
13
|
ICONS_GEOFENCE,
|
|
14
|
-
ICONS_ADMINISTRATOR
|
|
14
|
+
ICONS_ADMINISTRATOR
|
|
15
15
|
} from '../icons/menu-icons'
|
|
16
16
|
|
|
17
17
|
export class MenuTools extends connect(store)(LitElement) {
|
|
@@ -20,8 +20,8 @@ export class MenuTools extends connect(store)(LitElement) {
|
|
|
20
20
|
page: String,
|
|
21
21
|
width: {
|
|
22
22
|
type: String,
|
|
23
|
-
reflect: true
|
|
24
|
-
}
|
|
23
|
+
reflect: true
|
|
24
|
+
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -126,7 +126,7 @@ export class MenuTools extends connect(store)(LitElement) {
|
|
|
126
126
|
div {
|
|
127
127
|
font-size: 0.6em;
|
|
128
128
|
}
|
|
129
|
-
|
|
129
|
+
`
|
|
130
130
|
]
|
|
131
131
|
}
|
|
132
132
|
|
|
@@ -135,43 +135,43 @@ export class MenuTools extends connect(store)(LitElement) {
|
|
|
135
135
|
{
|
|
136
136
|
name: 'monitoring',
|
|
137
137
|
path: 'fleet-monitoring',
|
|
138
|
-
icons: ICONS_MONITORING
|
|
138
|
+
icons: ICONS_MONITORING
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
name: 'report',
|
|
142
142
|
path: 'fleet-report',
|
|
143
|
-
icons: ICONS_REPORT
|
|
143
|
+
icons: ICONS_REPORT
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
name: 'client',
|
|
147
147
|
path: 'fleet-client',
|
|
148
|
-
icons: ICONS_CLIENT
|
|
148
|
+
icons: ICONS_CLIENT
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
name: 'fleet',
|
|
152
152
|
path: 'fleet-fleet',
|
|
153
|
-
icons: ICONS_FLEET
|
|
153
|
+
icons: ICONS_FLEET
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
name: 'driver',
|
|
157
157
|
path: 'fleet-driver',
|
|
158
|
-
icons: ICONS_DRIVER
|
|
158
|
+
icons: ICONS_DRIVER
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
name: 'device',
|
|
162
162
|
path: 'fleet-device',
|
|
163
|
-
icons: ICONS_DEVICE
|
|
163
|
+
icons: ICONS_DEVICE
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
name: 'geo-fence',
|
|
167
167
|
path: 'fleet-geofence',
|
|
168
|
-
icons: ICONS_GEOFENCE
|
|
168
|
+
icons: ICONS_GEOFENCE
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
171
|
name: 'admin',
|
|
172
172
|
path: 'fleet-admin',
|
|
173
|
-
icons: ICONS_ADMINISTRATOR
|
|
174
|
-
}
|
|
173
|
+
icons: ICONS_ADMINISTRATOR
|
|
174
|
+
}
|
|
175
175
|
]
|
|
176
176
|
|
|
177
177
|
var page = this.page || ''
|
|
@@ -179,7 +179,7 @@ export class MenuTools extends connect(store)(LitElement) {
|
|
|
179
179
|
return html`
|
|
180
180
|
<ul>
|
|
181
181
|
${this.menus.map(
|
|
182
|
-
|
|
182
|
+
menu => html`
|
|
183
183
|
<li>
|
|
184
184
|
<a href=${menu.path} ?active=${!!~page.indexOf(menu.path)}>
|
|
185
185
|
<img src=${!!~page.indexOf(menu.path) ? menu.icons[1] : menu.icons[0]} />
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LitElement, html, css } from 'lit
|
|
1
|
+
import { LitElement, html, css } from 'lit'
|
|
2
2
|
|
|
3
3
|
export class UserCircle extends LitElement {
|
|
4
4
|
static get properties() {
|
|
@@ -21,9 +21,7 @@ export class UserCircle extends LitElement {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
render() {
|
|
24
|
-
return html`
|
|
25
|
-
<img src="/assets/images/heartyoh.jpg" class="user" />
|
|
26
|
-
`
|
|
24
|
+
return html` <img src="/assets/images/heartyoh.jpg" class="user" /> `
|
|
27
25
|
}
|
|
28
26
|
}
|
|
29
27
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-fleet",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"@material/mwc-formfield": "^0.25.3",
|
|
42
42
|
"@material/mwc-linear-progress": "^0.25.3",
|
|
43
43
|
"@material/mwc-radio": "^0.25.3",
|
|
44
|
-
"@operato/board": "^0.3
|
|
45
|
-
"@operato/help": "^0.3
|
|
44
|
+
"@operato/board": "^0.4.3",
|
|
45
|
+
"@operato/help": "^0.4.3",
|
|
46
46
|
"@operato/scene-chartjs": "^0.1.5",
|
|
47
47
|
"@operato/scene-clock": "^0.1.5",
|
|
48
48
|
"@operato/scene-clone": "^0.1.5",
|
|
@@ -61,45 +61,45 @@
|
|
|
61
61
|
"@operato/scene-table": "^0.1.5",
|
|
62
62
|
"@operato/scene-timer": "^0.1.5",
|
|
63
63
|
"@operato/scene-wheel-sorter": "^0.1.5",
|
|
64
|
-
"@things-factory/apptool-ui": "^4.
|
|
65
|
-
"@things-factory/attachment-base": "^4.
|
|
66
|
-
"@things-factory/auth-ui": "^4.
|
|
67
|
-
"@things-factory/biz-base": "^4.
|
|
68
|
-
"@things-factory/board-service": "^4.
|
|
69
|
-
"@things-factory/board-ui": "^4.
|
|
70
|
-
"@things-factory/code-ui": "^4.
|
|
71
|
-
"@things-factory/context-ui": "^4.
|
|
72
|
-
"@things-factory/dashboard": "^4.
|
|
73
|
-
"@things-factory/export-ui": "^4.
|
|
74
|
-
"@things-factory/export-ui-csv": "^4.
|
|
75
|
-
"@things-factory/export-ui-excel": "^4.
|
|
76
|
-
"@things-factory/grist-ui": "^4.
|
|
77
|
-
"@things-factory/help": "^4.
|
|
78
|
-
"@things-factory/i18n-base": "^4.
|
|
79
|
-
"@things-factory/integration-fulfillment": "^4.
|
|
80
|
-
"@things-factory/integration-marketplace": "^4.
|
|
81
|
-
"@things-factory/more-ui": "^4.
|
|
82
|
-
"@things-factory/notification": "^4.
|
|
83
|
-
"@things-factory/oauth2-client": "^4.
|
|
84
|
-
"@things-factory/pdf": "^4.
|
|
85
|
-
"@things-factory/resource-ui": "^4.
|
|
64
|
+
"@things-factory/apptool-ui": "^4.3.0",
|
|
65
|
+
"@things-factory/attachment-base": "^4.3.0",
|
|
66
|
+
"@things-factory/auth-ui": "^4.3.0",
|
|
67
|
+
"@things-factory/biz-base": "^4.3.0",
|
|
68
|
+
"@things-factory/board-service": "^4.3.0",
|
|
69
|
+
"@things-factory/board-ui": "^4.3.0",
|
|
70
|
+
"@things-factory/code-ui": "^4.3.0",
|
|
71
|
+
"@things-factory/context-ui": "^4.3.0",
|
|
72
|
+
"@things-factory/dashboard": "^4.3.0",
|
|
73
|
+
"@things-factory/export-ui": "^4.3.0",
|
|
74
|
+
"@things-factory/export-ui-csv": "^4.3.0",
|
|
75
|
+
"@things-factory/export-ui-excel": "^4.3.0",
|
|
76
|
+
"@things-factory/grist-ui": "^4.3.0",
|
|
77
|
+
"@things-factory/help": "^4.3.0",
|
|
78
|
+
"@things-factory/i18n-base": "^4.3.0",
|
|
79
|
+
"@things-factory/integration-fulfillment": "^4.3.0",
|
|
80
|
+
"@things-factory/integration-marketplace": "^4.3.0",
|
|
81
|
+
"@things-factory/more-ui": "^4.3.0",
|
|
82
|
+
"@things-factory/notification": "^4.3.0",
|
|
83
|
+
"@things-factory/oauth2-client": "^4.3.0",
|
|
84
|
+
"@things-factory/pdf": "^4.3.0",
|
|
85
|
+
"@things-factory/resource-ui": "^4.3.0",
|
|
86
86
|
"@things-factory/scene-data-transform": "^4.1.40",
|
|
87
87
|
"@things-factory/scene-excel": "^4.1.40",
|
|
88
88
|
"@things-factory/scene-firebase": "^4.1.40",
|
|
89
89
|
"@things-factory/scene-form": "^4.1.40",
|
|
90
90
|
"@things-factory/scene-google-map": "^4.1.40",
|
|
91
91
|
"@things-factory/scene-graphql": "^4.1.40",
|
|
92
|
-
"@things-factory/scene-label": "^4.
|
|
92
|
+
"@things-factory/scene-label": "^4.3.0",
|
|
93
93
|
"@things-factory/scene-marker": "^4.1.40",
|
|
94
94
|
"@things-factory/scene-mqtt": "^4.1.40",
|
|
95
95
|
"@things-factory/scene-restful": "^4.1.40",
|
|
96
|
-
"@things-factory/scene-visualizer": "^4.
|
|
97
|
-
"@things-factory/setting-ui": "^4.
|
|
98
|
-
"@things-factory/system-ui": "^4.
|
|
96
|
+
"@things-factory/scene-visualizer": "^4.3.0",
|
|
97
|
+
"@things-factory/setting-ui": "^4.3.0",
|
|
98
|
+
"@things-factory/system-ui": "^4.3.0",
|
|
99
99
|
"chance": "^1.1.4"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
102
|
"@things-factory/builder": "^4.1.40"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "772c8e6f56a3dda655ad49f7018a49a37e081ee8"
|
|
105
105
|
}
|