@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.
Files changed (34) hide show
  1. package/client/bootstrap.js +1 -1
  2. package/client/commons/board-wrapper.js +2 -4
  3. package/client/commons/common-map.js +2 -4
  4. package/client/commons/fleet-item.js +1 -1
  5. package/client/commons/fleet-search.js +1 -1
  6. package/client/commons/geofence-item.js +1 -1
  7. package/client/commons/geofence-search.js +1 -1
  8. package/client/commons/marker-info-content.js +1 -1
  9. package/client/commons/track-popup.js +1 -1
  10. package/client/pages/admin/admin.js +1 -1
  11. package/client/pages/client/client.js +1 -1
  12. package/client/pages/device/device.js +1 -1
  13. package/client/pages/fleet-page-style.js +1 -1
  14. package/client/pages/geofence/geofence.js +1 -1
  15. package/client/pages/monitoring/map-mode.js +1 -1
  16. package/client/pages/monitoring/monitoring.js +1 -1
  17. package/client/pages/report/report-air-pressure.js +1 -1
  18. package/client/pages/report/report-breakdown.js +1 -1
  19. package/client/pages/report/report-delivery.js +1 -1
  20. package/client/pages/report/report-device.js +1 -1
  21. package/client/pages/report/report-humidity.js +1 -1
  22. package/client/pages/report/report-illuminance.js +1 -1
  23. package/client/pages/report/report-shock.js +1 -1
  24. package/client/pages/report/report-style.js +1 -1
  25. package/client/pages/report/report-temperature.js +1 -1
  26. package/client/pages/report/report.js +1 -1
  27. package/client/viewparts/infowindow-setting-let.js +1 -1
  28. package/client/viewparts/menu-tools.js +15 -15
  29. package/client/viewparts/user-circle.js +2 -4
  30. package/dist-server/graphql/index.js +5 -1
  31. package/dist-server/graphql/index.js.map +1 -1
  32. package/dist-server/index.js +5 -1
  33. package/dist-server/index.js.map +1 -1
  34. package/package.json +40 -40
@@ -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-element'
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-element'
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-element'
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() {
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
 
3
3
  export class FleetItem extends LitElement {
4
4
  static get styles() {
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
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'
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
 
3
3
  export class GeofenceItem extends LitElement {
4
4
  static get styles() {
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
  import { ScrollbarStyles } from '@things-factory/styles'
3
3
  import { i18next } from '@things-factory/i18n-base'
4
4
  import Chance from 'chance'
@@ -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-element'
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'
@@ -1,4 +1,4 @@
1
- import { css, html, LitElement } from 'lit-element'
1
+ import { css, html, LitElement } from 'lit'
2
2
 
3
3
  import './common-map'
4
4
  import { MapBuilder } from './map-builder'
@@ -1,4 +1,4 @@
1
- import { html, css } from 'lit-element'
1
+ import { html, css } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
  import '@material/mwc-button'
4
4
  import { store, PageView } from '@things-factory/shell'
@@ -1,4 +1,4 @@
1
- import { html, css } from 'lit-element'
1
+ import { html, css } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
  import '@material/mwc-button'
4
4
  import '@material/mwc-textfield'
@@ -1,4 +1,4 @@
1
- import { html, css } from 'lit-element'
1
+ import { html, css } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
  import '@material/mwc-button'
4
4
  import '@material/mwc-textfield'
@@ -1,4 +1,4 @@
1
- import { css } from 'lit-element'
1
+ import { css } from 'lit'
2
2
 
3
3
  export const FMSPageStyles = css`
4
4
  :host {
@@ -1,4 +1,4 @@
1
- import { html, css } from 'lit-element'
1
+ import { html, css } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
  import '@material/mwc-button'
4
4
  import '@material/mwc-textfield'
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
  import '@material/mwc-radio'
3
3
  import '@material/mwc-formfield'
4
4
 
@@ -1,4 +1,4 @@
1
- import { html, css } from 'lit-element'
1
+ import { html, css } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
  import '@material/mwc-button'
4
4
  import '@material/mwc-textfield'
@@ -1,4 +1,4 @@
1
- import { html, css } from 'lit-element'
1
+ import { html, css } from 'lit'
2
2
  import '@material/mwc-button'
3
3
  import '@material/mwc-textfield'
4
4
  import '@things-factory/grist-ui'
@@ -1,4 +1,4 @@
1
- import { html, css } from 'lit-element'
1
+ import { html, css } from 'lit'
2
2
  import '@material/mwc-button'
3
3
  import '@material/mwc-textfield'
4
4
  import '@things-factory/grist-ui'
@@ -1,4 +1,4 @@
1
- import { html, css } from 'lit-element'
1
+ import { html, css } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
  import '@material/mwc-button'
4
4
  import '@material/mwc-textfield'
@@ -1,4 +1,4 @@
1
- import { html, css } from 'lit-element'
1
+ import { html, css } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
  import '@material/mwc-button'
4
4
  import '@material/mwc-textfield'
@@ -1,4 +1,4 @@
1
- import { html, css } from 'lit-element'
1
+ import { html, css } from 'lit'
2
2
  import '@material/mwc-button'
3
3
  import '@material/mwc-textfield'
4
4
  import '@things-factory/grist-ui'
@@ -1,4 +1,4 @@
1
- import { html, css } from 'lit-element'
1
+ import { html, css } from 'lit'
2
2
  import '@material/mwc-button'
3
3
  import '@material/mwc-textfield'
4
4
  import '@things-factory/grist-ui'
@@ -1,4 +1,4 @@
1
- import { html, css } from 'lit-element'
1
+ import { html, css } from 'lit'
2
2
  import '@material/mwc-button'
3
3
  import '@material/mwc-textfield'
4
4
  import '@things-factory/grist-ui'
@@ -1,4 +1,4 @@
1
- import { css } from 'lit-element'
1
+ import { css } from 'lit'
2
2
 
3
3
  export const ReportStyles = css`
4
4
  :host {
@@ -1,4 +1,4 @@
1
- import { html, css } from 'lit-element'
1
+ import { html, css } from 'lit'
2
2
  import '@material/mwc-button'
3
3
  import '@material/mwc-textfield'
4
4
  import '@things-factory/grist-ui'
@@ -1,7 +1,7 @@
1
1
  import '@operato/board/ox-board-viewer.js'
2
2
 
3
3
  import gql from 'graphql-tag'
4
- import { css, html } from 'lit-element'
4
+ import { css, html } from 'lit'
5
5
  import { connect } from 'pwa-helpers/connect-mixin.js'
6
6
 
7
7
  import { provider } from '@things-factory/board-ui'
@@ -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-element'
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-element'
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
- (menu) => html`
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-element'
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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":";;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAmC;AACnC,uDAAwC;AAE3B,QAAA,MAAM,GAAG;IACpB,QAAQ;IACR,SAAS;CACV,CAAA"}
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"}
@@ -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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA0B;AAC1B,+CAA4B;AAC5B,4CAAyB;AACzB,gDAA6B;AAE7B,oBAAiB"}
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": "4.1.28",
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.28",
45
- "@operato/help": "^0.3.28",
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.1.28",
65
- "@things-factory/attachment-base": "^4.1.28",
66
- "@things-factory/auth-ui": "^4.1.28",
67
- "@things-factory/biz-base": "^4.1.28",
68
- "@things-factory/board-service": "^4.1.28",
69
- "@things-factory/board-ui": "^4.1.28",
70
- "@things-factory/code-ui": "^4.1.28",
71
- "@things-factory/context-ui": "^4.1.28",
72
- "@things-factory/dashboard": "^4.1.28",
73
- "@things-factory/export-ui": "^4.1.28",
74
- "@things-factory/export-ui-csv": "^4.1.28",
75
- "@things-factory/export-ui-excel": "^4.1.28",
76
- "@things-factory/grist-ui": "^4.1.28",
77
- "@things-factory/help": "^4.1.28",
78
- "@things-factory/i18n-base": "^4.1.28",
79
- "@things-factory/integration-fulfillment": "^4.1.28",
80
- "@things-factory/integration-marketplace": "^4.1.28",
81
- "@things-factory/more-ui": "^4.1.28",
82
- "@things-factory/notification": "^4.1.28",
83
- "@things-factory/oauth2-client": "^4.1.28",
84
- "@things-factory/pdf": "^4.1.28",
85
- "@things-factory/resource-ui": "^4.1.28",
86
- "@things-factory/scene-data-transform": "^4.1.28",
87
- "@things-factory/scene-excel": "^4.1.28",
88
- "@things-factory/scene-firebase": "^4.1.28",
89
- "@things-factory/scene-form": "^4.1.28",
90
- "@things-factory/scene-google-map": "^4.1.28",
91
- "@things-factory/scene-graphql": "^4.1.28",
92
- "@things-factory/scene-label": "^4.1.28",
93
- "@things-factory/scene-marker": "^4.1.28",
94
- "@things-factory/scene-mqtt": "^4.1.28",
95
- "@things-factory/scene-restful": "^4.1.28",
96
- "@things-factory/scene-visualizer": "^4.1.28",
97
- "@things-factory/setting-ui": "^4.1.28",
98
- "@things-factory/system-ui": "^4.1.28",
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": "^4.1.28"
102
+ "@things-factory/builder": "^5.0.0-alpha.2"
103
103
  },
104
- "gitHead": "3f902602b38074b6e4a2188ab16b2a486f812877"
104
+ "gitHead": "055536f981d229d51ae63f46585036b35fa86602"
105
105
  }