@things-factory/operato-fleet 4.1.28 → 5.0.0-alpha.2
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/dist-server/graphql/index.js +5 -1
- package/dist-server/graphql/index.js.map +1 -1
- package/dist-server/index.js +5 -1
- package/dist-server/index.js.map +1 -1
- package/package.json +40 -40
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
|
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/graphql/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/graphql/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAmC;AACnC,uDAAwC;AAE3B,QAAA,MAAM,GAAG;IACpB,QAAQ;IACR,SAAS;CACV,CAAA"}
|
package/dist-server/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/dist-server/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,+CAA4B;AAC5B,4CAAyB;AACzB,gDAA6B;AAE7B,oBAAiB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-fleet",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-alpha.2",
|
|
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": "^
|
|
65
|
-
"@things-factory/attachment-base": "^
|
|
66
|
-
"@things-factory/auth-ui": "^
|
|
67
|
-
"@things-factory/biz-base": "^
|
|
68
|
-
"@things-factory/board-service": "^
|
|
69
|
-
"@things-factory/board-ui": "^
|
|
70
|
-
"@things-factory/code-ui": "^
|
|
71
|
-
"@things-factory/context-ui": "^
|
|
72
|
-
"@things-factory/dashboard": "^
|
|
73
|
-
"@things-factory/export-ui": "^
|
|
74
|
-
"@things-factory/export-ui-csv": "^
|
|
75
|
-
"@things-factory/export-ui-excel": "^
|
|
76
|
-
"@things-factory/grist-ui": "^
|
|
77
|
-
"@things-factory/help": "^
|
|
78
|
-
"@things-factory/i18n-base": "^
|
|
79
|
-
"@things-factory/integration-fulfillment": "^
|
|
80
|
-
"@things-factory/integration-marketplace": "^
|
|
81
|
-
"@things-factory/more-ui": "^
|
|
82
|
-
"@things-factory/notification": "^
|
|
83
|
-
"@things-factory/oauth2-client": "^
|
|
84
|
-
"@things-factory/pdf": "^
|
|
85
|
-
"@things-factory/resource-ui": "^
|
|
86
|
-
"@things-factory/scene-data-transform": "^
|
|
87
|
-
"@things-factory/scene-excel": "^
|
|
88
|
-
"@things-factory/scene-firebase": "^
|
|
89
|
-
"@things-factory/scene-form": "^
|
|
90
|
-
"@things-factory/scene-google-map": "^
|
|
91
|
-
"@things-factory/scene-graphql": "^
|
|
92
|
-
"@things-factory/scene-label": "^
|
|
93
|
-
"@things-factory/scene-marker": "^
|
|
94
|
-
"@things-factory/scene-mqtt": "^
|
|
95
|
-
"@things-factory/scene-restful": "^
|
|
96
|
-
"@things-factory/scene-visualizer": "^
|
|
97
|
-
"@things-factory/setting-ui": "^
|
|
98
|
-
"@things-factory/system-ui": "^
|
|
64
|
+
"@things-factory/apptool-ui": "^5.0.0-alpha.2",
|
|
65
|
+
"@things-factory/attachment-base": "^5.0.0-alpha.2",
|
|
66
|
+
"@things-factory/auth-ui": "^5.0.0-alpha.2",
|
|
67
|
+
"@things-factory/biz-base": "^5.0.0-alpha.2",
|
|
68
|
+
"@things-factory/board-service": "^5.0.0-alpha.2",
|
|
69
|
+
"@things-factory/board-ui": "^5.0.0-alpha.2",
|
|
70
|
+
"@things-factory/code-ui": "^5.0.0-alpha.2",
|
|
71
|
+
"@things-factory/context-ui": "^5.0.0-alpha.2",
|
|
72
|
+
"@things-factory/dashboard": "^5.0.0-alpha.2",
|
|
73
|
+
"@things-factory/export-ui": "^5.0.0-alpha.2",
|
|
74
|
+
"@things-factory/export-ui-csv": "^5.0.0-alpha.2",
|
|
75
|
+
"@things-factory/export-ui-excel": "^5.0.0-alpha.2",
|
|
76
|
+
"@things-factory/grist-ui": "^5.0.0-alpha.2",
|
|
77
|
+
"@things-factory/help": "^5.0.0-alpha.2",
|
|
78
|
+
"@things-factory/i18n-base": "^5.0.0-alpha.2",
|
|
79
|
+
"@things-factory/integration-fulfillment": "^5.0.0-alpha.2",
|
|
80
|
+
"@things-factory/integration-marketplace": "^5.0.0-alpha.2",
|
|
81
|
+
"@things-factory/more-ui": "^5.0.0-alpha.2",
|
|
82
|
+
"@things-factory/notification": "^5.0.0-alpha.2",
|
|
83
|
+
"@things-factory/oauth2-client": "^5.0.0-alpha.2",
|
|
84
|
+
"@things-factory/pdf": "^5.0.0-alpha.2",
|
|
85
|
+
"@things-factory/resource-ui": "^5.0.0-alpha.2",
|
|
86
|
+
"@things-factory/scene-data-transform": "^5.0.0-alpha.2",
|
|
87
|
+
"@things-factory/scene-excel": "^5.0.0-alpha.2",
|
|
88
|
+
"@things-factory/scene-firebase": "^5.0.0-alpha.2",
|
|
89
|
+
"@things-factory/scene-form": "^5.0.0-alpha.2",
|
|
90
|
+
"@things-factory/scene-google-map": "^5.0.0-alpha.2",
|
|
91
|
+
"@things-factory/scene-graphql": "^5.0.0-alpha.2",
|
|
92
|
+
"@things-factory/scene-label": "^5.0.0-alpha.2",
|
|
93
|
+
"@things-factory/scene-marker": "^5.0.0-alpha.2",
|
|
94
|
+
"@things-factory/scene-mqtt": "^5.0.0-alpha.2",
|
|
95
|
+
"@things-factory/scene-restful": "^5.0.0-alpha.2",
|
|
96
|
+
"@things-factory/scene-visualizer": "^5.0.0-alpha.2",
|
|
97
|
+
"@things-factory/setting-ui": "^5.0.0-alpha.2",
|
|
98
|
+
"@things-factory/system-ui": "^5.0.0-alpha.2",
|
|
99
99
|
"chance": "^1.1.4"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
|
-
"@things-factory/builder": "^
|
|
102
|
+
"@things-factory/builder": "^5.0.0-alpha.2"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "055536f981d229d51ae63f46585036b35fa86602"
|
|
105
105
|
}
|