@things-factory/operato-fleet 9.2.5 → 10.0.0-beta.10

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 (55) hide show
  1. package/Dockerfile +1 -1
  2. package/_index.html +1 -2
  3. package/client/commons/{common-map.js → common-map.ts} +29 -4
  4. package/client/commons/{fleet-search.js → fleet-search.ts} +30 -5
  5. package/client/commons/{marker-info-content.js → marker-info-content.ts} +3 -3
  6. package/client/pages/admin/{admin.js → admin.ts} +2 -3
  7. package/client/pages/client/{client.js → client.ts} +9 -10
  8. package/client/pages/device/{device.js → device.ts} +9 -10
  9. package/client/pages/{fleet-page-style.js → fleet-page-style.ts} +1 -1
  10. package/client/pages/geofence/{geofence.js → geofence.ts} +7 -8
  11. package/client/pages/monitoring/{map-mode.js → map-mode.ts} +4 -9
  12. package/client/pages/monitoring/{monitoring.js → monitoring.ts} +41 -16
  13. package/client/pages/report/{report-air-pressure.js → report-air-pressure.ts} +8 -8
  14. package/client/pages/report/{report-based-on-track.js → report-based-on-track.ts} +19 -7
  15. package/client/pages/report/{report-breakdown.js → report-breakdown.ts} +8 -8
  16. package/client/pages/report/{report-delivery.js → report-delivery.ts} +9 -10
  17. package/client/pages/report/{report-device.js → report-device.ts} +9 -10
  18. package/client/pages/report/{report-humidity.js → report-humidity.ts} +8 -8
  19. package/client/pages/report/{report-illuminance.js → report-illuminance.ts} +8 -8
  20. package/client/pages/report/{report-shock.js → report-shock.ts} +8 -8
  21. package/client/pages/report/{report-style.js → report-style.ts} +1 -1
  22. package/client/pages/report/{report-temperature.js → report-temperature.ts} +8 -8
  23. package/client/pages/report/{report.js → report.ts} +30 -6
  24. package/client/viewparts/{infowindow-setting-let.js → infowindow-setting-let.ts} +30 -6
  25. package/client/viewparts/{menu-tools.js → menu-tools.ts} +30 -6
  26. package/package.json +62 -64
  27. package/views/auth-page.html +1 -1
  28. package/views/public/home.html +1 -1
  29. /package/client/actions/{fleets.js → fleets.ts} +0 -0
  30. /package/client/{bootstrap.js → bootstrap.ts} +0 -0
  31. /package/client/commons/{board-wrapper.js → board-wrapper.ts} +0 -0
  32. /package/client/commons/{fetch-client.js → fetch-client.ts} +0 -0
  33. /package/client/commons/{fetch-device.js → fetch-device.ts} +0 -0
  34. /package/client/commons/{fetch-fleets.js → fetch-fleets.ts} +0 -0
  35. /package/client/commons/{fetch-geofence.js → fetch-geofence.ts} +0 -0
  36. /package/client/commons/{fetch-track.js → fetch-track.ts} +0 -0
  37. /package/client/commons/{fleet-item.js → fleet-item.ts} +0 -0
  38. /package/client/commons/{geofence-item.js → geofence-item.ts} +0 -0
  39. /package/client/commons/{geofence-search.js → geofence-search.ts} +0 -0
  40. /package/client/commons/{google-map-loader.js → google-map-loader.ts} +0 -0
  41. /package/client/commons/{iso-6709.js → iso-6709.ts} +0 -0
  42. /package/client/commons/{map-builder.js → map-builder.ts} +0 -0
  43. /package/client/commons/{script-loader.js → script-loader.ts} +0 -0
  44. /package/client/commons/{track-popup.js → track-popup.ts} +0 -0
  45. /package/client/{const.js → const.ts} +0 -0
  46. /package/client/icons/{event-marker-icons.js → event-marker-icons.ts} +0 -0
  47. /package/client/icons/{fleet-marker-icons.js → fleet-marker-icons.ts} +0 -0
  48. /package/client/icons/{location-marker-icons.js → location-marker-icons.ts} +0 -0
  49. /package/client/icons/{marker-icons.js → marker-icons.ts} +0 -0
  50. /package/client/icons/{menu-icons.js → menu-icons.ts} +0 -0
  51. /package/client/icons/{warehouse-marker-icons.js → warehouse-marker-icons.ts} +0 -0
  52. /package/client/{index.js → index.ts} +0 -0
  53. /package/client/reducers/{fleets.js → fleets.ts} +0 -0
  54. /package/client/{route.js → route.ts} +0 -0
  55. /package/client/viewparts/{user-circle.js → user-circle.ts} +0 -0
package/Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
1
  # Use an official ubuntu image
2
- FROM hatiolab/operato-env:latest
2
+ FROM hatiolab/operato-env:22.22
3
3
 
4
4
  # Set the working directory to /app
5
5
  WORKDIR /app
package/_index.html CHANGED
@@ -62,8 +62,7 @@
62
62
  <noscript> Please enable JavaScript to view this website. </noscript>
63
63
  <!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
64
64
  <script src="/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
65
- <script src="/node_modules/web-animations-js/web-animations-next.min.js"></script>
66
- <script src="/node_modules/@hatiolab/things-scene/things-scene-min.js"></script>
65
+
67
66
  <!-- Built with love using PWA Starter Kit -->
68
67
  </body>
69
68
  </html>
@@ -1,11 +1,10 @@
1
1
  import { LitElement, html, css } from 'lit'
2
- import { connect } from 'pwa-helpers/connect-mixin.js'
3
2
  import { store } from '@operato/shell'
4
3
  import { ScrollbarStyles } from '@operato/styles'
5
4
 
6
5
  import GoogleMapLoader from './google-map-loader'
7
6
 
8
- export class CommonMap extends connect(store)(LitElement) {
7
+ export class CommonMap extends LitElement {
9
8
  static get styles() {
10
9
  return [
11
10
  ScrollbarStyles,
@@ -48,8 +47,34 @@ export class CommonMap extends connect(store)(LitElement) {
48
47
  }
49
48
  }
50
49
 
51
- stateChanged(state) {
52
- this.defaultCenter = state.fleets?.location
50
+ private _unsubscribe?: () => void
51
+
52
+
53
+ connectedCallback() {
54
+
55
+ super.connectedCallback()
56
+
57
+ this._applyState()
58
+
59
+ this._unsubscribe = store.subscribe(() => this._applyState())
60
+
61
+ }
62
+
63
+
64
+ disconnectedCallback() {
65
+
66
+ super.disconnectedCallback()
67
+
68
+ this._unsubscribe?.()
69
+
70
+ }
71
+
72
+
73
+ private _applyState() {
74
+
75
+ const __state__ = store.getState() as any
76
+ this.defaultCenter = __state__.fleets?.location
77
+
53
78
  }
54
79
 
55
80
  get anchor() {
@@ -1,7 +1,6 @@
1
1
  import '@operato/i18n/ox-i18n.js'
2
2
 
3
3
  import { LitElement, html, css } from 'lit'
4
- import { connect } from 'pwa-helpers/connect-mixin.js'
5
4
  import { store } from '@operato/shell'
6
5
  import { ScrollbarStyles } from '@operato/styles'
7
6
  import { localize, i18next } from '@operato/i18n'
@@ -21,7 +20,7 @@ function scrollIntoViewIfNeeded(container, target) {
21
20
  }
22
21
  }
23
22
 
24
- export class FleetSearch extends connect(store)(localize(i18next)(LitElement)) {
23
+ export class FleetSearch extends localize(i18next)(LitElement) {
25
24
  static get styles() {
26
25
  return [
27
26
  ScrollbarStyles,
@@ -75,9 +74,35 @@ export class FleetSearch extends connect(store)(localize(i18next)(LitElement)) {
75
74
  }
76
75
  }
77
76
 
78
- stateChanged(state) {
79
- this.fleets = state.fleets?.fleets || []
80
- this.focusedFleetId = state.fleets?.focusedFleetId
77
+ private _unsubscribe?: () => void
78
+
79
+
80
+ connectedCallback() {
81
+
82
+ super.connectedCallback()
83
+
84
+ this._applyState()
85
+
86
+ this._unsubscribe = store.subscribe(() => this._applyState())
87
+
88
+ }
89
+
90
+
91
+ disconnectedCallback() {
92
+
93
+ super.disconnectedCallback()
94
+
95
+ this._unsubscribe?.()
96
+
97
+ }
98
+
99
+
100
+ private _applyState() {
101
+
102
+ const __state__ = store.getState() as any
103
+ this.fleets = __state__.fleets?.fleets || []
104
+ this.focusedFleetId = __state__.fleets?.focusedFleetId
105
+
81
106
  }
82
107
 
83
108
  async updated(changes) {
@@ -1,4 +1,4 @@
1
- import '@material/mwc-linear-progress'
1
+ import '@material/web/progress/linear-progress.js'
2
2
  import '@operato/board/ox-board-viewer.js'
3
3
 
4
4
  import gql from 'graphql-tag'
@@ -28,7 +28,7 @@ export class MarkerInfoContent extends LitElement {
28
28
  height: 100%;
29
29
  }
30
30
 
31
- mwc-linear-progress {
31
+ md-linear-progress {
32
32
  margin: 13px;
33
33
  width: 200px;
34
34
  }
@@ -67,7 +67,7 @@ export class MarkerInfoContent extends LitElement {
67
67
  hide-navigation
68
68
  ></ox-board-viewer>
69
69
 
70
- ${this.board ? html`` : html` <mwc-linear-progress indeterminate></mwc-linear-progress> `}
70
+ ${this.board ? html`` : html` <md-linear-progress indeterminate></md-linear-progress> `}
71
71
  `
72
72
  }
73
73
 
@@ -1,12 +1,11 @@
1
1
  import { html, css } from 'lit'
2
- import { connect } from 'pwa-helpers/connect-mixin.js'
3
- import '@material/mwc-button'
2
+ import '@material/web/button/filled-button.js'
4
3
  import { store, PageView } from '@operato/shell'
5
4
  import { i18next, localize } from '@operato/i18n'
6
5
  import { ScrollbarStyles } from '@operato/styles'
7
6
  import { FMSPageStyles } from '../fleet-page-style'
8
7
 
9
- class FMSAdmin extends connect(store)(localize(i18next)(PageView)) {
8
+ class FMSAdmin extends localize(i18next)(PageView) {
10
9
  static get properties() {
11
10
  return {}
12
11
  }
@@ -1,7 +1,6 @@
1
1
  import { html, css } from 'lit'
2
- import { connect } from 'pwa-helpers/connect-mixin.js'
3
- import '@material/mwc-button'
4
- import '@material/mwc-textfield'
2
+ import '@material/web/button/filled-button.js'
3
+ import '@material/web/textfield/outlined-text-field.js'
5
4
  import { store, PageView } from '@operato/shell'
6
5
  import '@operato/data-grist'
7
6
  import { i18next, localize } from '@operato/i18n'
@@ -11,7 +10,7 @@ import { FMSPageStyles } from '../fleet-page-style'
11
10
 
12
11
  import { fetchClients } from '../../commons/fetch-client'
13
12
 
14
- class FMSClient extends connect(store)(localize(i18next)(PageView)) {
13
+ class FMSClient extends localize(i18next)(PageView) {
15
14
  static get properties() {
16
15
  return {}
17
16
  }
@@ -43,12 +42,12 @@ class FMSClient extends connect(store)(localize(i18next)(PageView)) {
43
42
  render() {
44
43
  return html`
45
44
  <form search>
46
- <mwc-textfield label="device" icon="router"></mwc-textfield>
47
- <mwc-textfield label="client" icon="domain"></mwc-textfield>
48
- <mwc-textfield label="delivery" icon="local_shipping"></mwc-textfield>
49
- <mwc-textfield label="from date" icon="event" type="date"></mwc-textfield>
50
- <mwc-textfield label="to date" icon="event" type="date"></mwc-textfield>
51
- <mwc-button label="search" icon="search" raised></mwc-button>
45
+ <md-outlined-text-field label="device"></md-outlined-text-field>
46
+ <md-outlined-text-field label="client"></md-outlined-text-field>
47
+ <md-outlined-text-field label="delivery"></md-outlined-text-field>
48
+ <md-outlined-text-field label="from date" type="date"></md-outlined-text-field>
49
+ <md-outlined-text-field label="to date" type="date"></md-outlined-text-field>
50
+ <md-filled-button>search</md-filled-button>
52
51
  </form>
53
52
 
54
53
  <ox-grist
@@ -1,7 +1,6 @@
1
1
  import { html, css } from 'lit'
2
- import { connect } from 'pwa-helpers/connect-mixin.js'
3
- import '@material/mwc-button'
4
- import '@material/mwc-textfield'
2
+ import '@material/web/button/filled-button.js'
3
+ import '@material/web/textfield/outlined-text-field.js'
5
4
  import { store, PageView } from '@operato/shell'
6
5
  import '@operato/data-grist'
7
6
  import { i18next, localize } from '@operato/i18n'
@@ -11,7 +10,7 @@ import { FMSPageStyles } from '../fleet-page-style'
11
10
 
12
11
  import { fetchDevices } from '../../commons/fetch-device'
13
12
 
14
- class FMSDevice extends connect(store)(localize(i18next)(PageView)) {
13
+ class FMSDevice extends localize(i18next)(PageView) {
15
14
  static get properties() {
16
15
  return {}
17
16
  }
@@ -43,12 +42,12 @@ class FMSDevice extends connect(store)(localize(i18next)(PageView)) {
43
42
  render() {
44
43
  return html`
45
44
  <form search>
46
- <mwc-textfield label="device" icon="router"></mwc-textfield>
47
- <mwc-textfield label="client" icon="domain"></mwc-textfield>
48
- <mwc-textfield label="delivery" icon="local_shipping"></mwc-textfield>
49
- <mwc-textfield label="from date" icon="event" type="date"></mwc-textfield>
50
- <mwc-textfield label="to date" icon="event" type="date"></mwc-textfield>
51
- <mwc-button label="search" icon="search" raised></mwc-button>
45
+ <md-outlined-text-field label="device"></md-outlined-text-field>
46
+ <md-outlined-text-field label="client"></md-outlined-text-field>
47
+ <md-outlined-text-field label="delivery"></md-outlined-text-field>
48
+ <md-outlined-text-field label="from date" type="date"></md-outlined-text-field>
49
+ <md-outlined-text-field label="to date" type="date"></md-outlined-text-field>
50
+ <md-filled-button>search</md-filled-button>
52
51
  </form>
53
52
 
54
53
  <ox-grist
@@ -57,7 +57,7 @@ export const FMSPageStyles = css`
57
57
  margin: 0 20px 0 0;
58
58
  }
59
59
 
60
- [search] mwc-button {
60
+ [search] md-filled-button {
61
61
  margin: 10px 0;
62
62
  }
63
63
  `
@@ -1,7 +1,6 @@
1
1
  import { html, css } from 'lit'
2
- import { connect } from 'pwa-helpers/connect-mixin.js'
3
- import '@material/mwc-button'
4
- import '@material/mwc-textfield'
2
+ import '@material/web/button/filled-button.js'
3
+ import '@material/web/textfield/outlined-text-field.js'
5
4
  import { store, PageView } from '@operato/shell'
6
5
  import { i18next, localize } from '@operato/i18n'
7
6
 
@@ -11,7 +10,7 @@ import { FMSPageStyles } from '../fleet-page-style'
11
10
  import '../../commons/geofence-search'
12
11
  import '../../commons/common-map'
13
12
 
14
- class FMSGeoFence extends connect(store)(localize(i18next)(PageView)) {
13
+ class FMSGeoFence extends localize(i18next)(PageView) {
15
14
  static get properties() {
16
15
  return {
17
16
  map: Object,
@@ -47,10 +46,10 @@ class FMSGeoFence extends connect(store)(localize(i18next)(PageView)) {
47
46
  render() {
48
47
  return html`
49
48
  <form search>
50
- <mwc-textfield label="client" icon="domain"></mwc-textfield>
51
- <mwc-textfield label="geofence" icon="tab_unselected"></mwc-textfield>
52
- <mwc-textfield label="type" icon="sync_alt"></mwc-textfield>
53
- <mwc-button label="search" icon="search" raised></mwc-button>
49
+ <md-outlined-text-field label="client"></md-outlined-text-field>
50
+ <md-outlined-text-field label="geofence"></md-outlined-text-field>
51
+ <md-outlined-text-field label="type"></md-outlined-text-field>
52
+ <md-filled-button>search</md-filled-button>
54
53
  </form>
55
54
 
56
55
  <div main>
@@ -1,6 +1,5 @@
1
1
  import { LitElement, html, css } from 'lit'
2
- import '@material/mwc-radio'
3
- import '@material/mwc-formfield'
2
+ import '@material/web/radio/radio.js'
4
3
 
5
4
  export const MODE_FLEET = 0
6
5
  export const MODE_TRACK = 1
@@ -17,7 +16,7 @@ class MapMode extends LitElement {
17
16
  background-color: var(--md-sys-color-surface);
18
17
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
19
18
  }
20
- mwc-radio {
19
+ md-radio {
21
20
  margin-right: -10px;
22
21
  }
23
22
  `
@@ -33,13 +32,9 @@ class MapMode extends LitElement {
33
32
  render() {
34
33
  var mode = this.mode || MODE_FLEET
35
34
  return html`
36
- <mwc-formfield label="Fleet">
37
- <mwc-radio @click=${e => this.setMode(MODE_FLEET)} name="fleet" ?checked=${mode == MODE_FLEET}></mwc-radio>
38
- </mwc-formfield>
35
+ <label>Fleet <md-radio @click=${e => this.setMode(MODE_FLEET)} name="fleet" ?checked=${mode == MODE_FLEET}></md-radio></label>
39
36
 
40
- <mwc-formfield label="Track">
41
- <mwc-radio @click=${e => this.setMode(MODE_TRACK)} name="track" ?checked=${mode == MODE_TRACK}></mwc-radio>
42
- </mwc-formfield>
37
+ <label>Track <md-radio @click=${e => this.setMode(MODE_TRACK)} name="track" ?checked=${mode == MODE_TRACK}></md-radio></label>
43
38
  `
44
39
  }
45
40
 
@@ -1,7 +1,6 @@
1
1
  import { html, css } from 'lit'
2
- import { connect } from 'pwa-helpers/connect-mixin.js'
3
- import '@material/mwc-button'
4
- import '@material/mwc-textfield'
2
+ import '@material/web/button/filled-button.js'
3
+ import '@material/web/textfield/outlined-text-field.js'
5
4
 
6
5
  import { store, PageView } from '@operato/shell'
7
6
  import { i18next, localize } from '@operato/i18n'
@@ -43,7 +42,7 @@ const FOCUSED_ICON = {
43
42
  scaledSize: FOCUSED_MARKER_SIZE
44
43
  }
45
44
 
46
- class FMSMonitoring extends connect(store)(localize(i18next)(PageView)) {
45
+ class FMSMonitoring extends localize(i18next)(PageView) {
47
46
  static get properties() {
48
47
  return {
49
48
  _polylines: Array,
@@ -77,12 +76,12 @@ class FMSMonitoring extends connect(store)(localize(i18next)(PageView)) {
77
76
 
78
77
  return html`
79
78
  <form @change=${this.onchangeSearch.bind(this)} search>
80
- <mwc-textfield label="device" icon="router" .value=${device}></mwc-textfield>
81
- <mwc-textfield label="client" icon="domain" .value=${client}></mwc-textfield>
82
- <mwc-textfield label="delivery" icon="local_shipping" .value=${delivery}></mwc-textfield>
83
- <mwc-textfield label="from date" icon="event" type="date" .value=${fromdate}></mwc-textfield>
84
- <mwc-textfield label="to date" icon="event" type="date" .value=${todate}></mwc-textfield>
85
- <mwc-button label="search" icon="search" raised></mwc-button>
79
+ <md-outlined-text-field label="device" .value=${device}></md-outlined-text-field>
80
+ <md-outlined-text-field label="client" .value=${client}></md-outlined-text-field>
81
+ <md-outlined-text-field label="delivery" .value=${delivery}></md-outlined-text-field>
82
+ <md-outlined-text-field label="from date" type="date" .value=${fromdate}></md-outlined-text-field>
83
+ <md-outlined-text-field label="to date" type="date" .value=${todate}></md-outlined-text-field>
84
+ <md-filled-button>search</md-filled-button>
86
85
  </form>
87
86
 
88
87
  <div main>
@@ -243,13 +242,39 @@ class FMSMonitoring extends connect(store)(localize(i18next)(PageView)) {
243
242
  }
244
243
  }
245
244
 
246
- stateChanged(state) {
247
- this.fleetBoardId = state.boardSetting[MARKER_IW_BOARD_FOR_FLEET]?.board.id
248
- this.trackBoardId = state.boardSetting[MARKER_IW_BOARD_FOR_TRACK]?.board.id
245
+ private _unsubscribe?: () => void
246
+
247
+
248
+ connectedCallback() {
249
+
250
+ super.connectedCallback()
251
+
252
+ this._applyState()
253
+
254
+ this._unsubscribe = store.subscribe(() => this._applyState())
255
+
256
+ }
257
+
258
+
259
+ disconnectedCallback() {
260
+
261
+ super.disconnectedCallback()
262
+
263
+ this._unsubscribe?.()
264
+
265
+ }
266
+
267
+
268
+ private _applyState() {
269
+
270
+ const __state__ = store.getState() as any
271
+ this.fleetBoardId = __state__.boardSetting[MARKER_IW_BOARD_FOR_FLEET]?.board.id
272
+ this.trackBoardId = __state__.boardSetting[MARKER_IW_BOARD_FOR_TRACK]?.board.id
273
+
274
+ this.fleets = __state__.fleets?.fleets || []
275
+ this.fleetId = __state__.fleets?.focusedFleetId
276
+ this.search = __state__.fleets?.search
249
277
 
250
- this.fleets = state.fleets?.fleets || []
251
- this.fleetId = state.fleets?.focusedFleetId
252
- this.search = state.fleets?.search
253
278
  }
254
279
 
255
280
  get infoWindow() {
@@ -1,6 +1,6 @@
1
1
  import { html, css } from 'lit'
2
- import '@material/mwc-button'
3
- import '@material/mwc-textfield'
2
+ import '@material/web/button/filled-button.js'
3
+ import '@material/web/textfield/outlined-text-field.js'
4
4
  import '@operato/data-grist'
5
5
  import { i18next } from '@operato/i18n'
6
6
  import { isMobileDevice } from '@operato/utils'
@@ -35,12 +35,12 @@ class ReportAirPressure extends ReportBasedOnTrack {
35
35
  render() {
36
36
  return html`
37
37
  <form search>
38
- <mwc-textfield label="device" icon="router"></mwc-textfield>
39
- <mwc-textfield label="client" icon="domain"></mwc-textfield>
40
- <mwc-textfield label="delivery" icon="local_shipping"></mwc-textfield>
41
- <mwc-textfield label="from date" icon="event" type="date"></mwc-textfield>
42
- <mwc-textfield label="to date" icon="event" type="date"></mwc-textfield>
43
- <mwc-button label="search" icon="search" raised></mwc-button>
38
+ <md-outlined-text-field label="device"></md-outlined-text-field>
39
+ <md-outlined-text-field label="client"></md-outlined-text-field>
40
+ <md-outlined-text-field label="delivery"></md-outlined-text-field>
41
+ <md-outlined-text-field label="from date" type="date"></md-outlined-text-field>
42
+ <md-outlined-text-field label="to date" type="date"></md-outlined-text-field>
43
+ <md-filled-button>search</md-filled-button>
44
44
  </form>
45
45
  <ox-grist
46
46
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
@@ -1,12 +1,10 @@
1
- import '@material/mwc-button'
2
- import '@material/mwc-textfield'
1
+ import '@material/web/button/filled-button.js'
2
+ import '@material/web/textfield/outlined-text-field.js'
3
3
  import '../../commons/fleet-search'
4
4
  import '../../commons/track-popup'
5
5
  import '../../commons/marker-info-content'
6
6
 
7
7
  import Chance from 'chance'
8
- import { connect } from 'pwa-helpers/connect-mixin.js'
9
-
10
8
  import { openPopup } from '@operato/layout'
11
9
  import { i18next, localize } from '@operato/i18n'
12
10
  import { PageView, store } from '@operato/shell'
@@ -18,9 +16,23 @@ import { EVENT_ICONS } from '../../icons/event-marker-icons'
18
16
 
19
17
  const EVENT_MARKER_SIZE = { width: 32, height: 32 }
20
18
 
21
- export class ReportBasedOnTrack extends connect(store)(localize(i18next)(PageView)) {
22
- stateChanged(state) {
23
- this.trackBoardId = (state.boardSetting[MARKER_IW_BOARD_FOR_TRACK] || { board: {} }).board.id
19
+ export class ReportBasedOnTrack extends localize(i18next)(PageView) {
20
+ private _unsubscribe?: () => void
21
+
22
+ connectedCallback() {
23
+ super.connectedCallback()
24
+ this._applyState()
25
+ this._unsubscribe = store.subscribe(() => this._applyState())
26
+ }
27
+
28
+ disconnectedCallback() {
29
+ super.disconnectedCallback()
30
+ this._unsubscribe?.()
31
+ }
32
+
33
+ private _applyState() {
34
+ const __state__ = store.getState() as any
35
+ this.trackBoardId = (__state__.boardSetting[MARKER_IW_BOARD_FOR_TRACK] || { board: {} }).board.id
24
36
  }
25
37
 
26
38
  showTrack() {
@@ -1,6 +1,6 @@
1
1
  import { html, css } from 'lit'
2
- import '@material/mwc-button'
3
- import '@material/mwc-textfield'
2
+ import '@material/web/button/filled-button.js'
3
+ import '@material/web/textfield/outlined-text-field.js'
4
4
  import '@operato/data-grist'
5
5
  import { i18next } from '@operato/i18n'
6
6
  import { isMobileDevice } from '@operato/utils'
@@ -35,12 +35,12 @@ class ReportBreakDown extends ReportBasedOnTrack {
35
35
  render() {
36
36
  return html`
37
37
  <form search>
38
- <mwc-textfield label="device" icon="router"></mwc-textfield>
39
- <mwc-textfield label="client" icon="domain"></mwc-textfield>
40
- <mwc-textfield label="delivery" icon="local_shipping"></mwc-textfield>
41
- <mwc-textfield label="from date" icon="event" type="date"></mwc-textfield>
42
- <mwc-textfield label="to date" icon="event" type="date"></mwc-textfield>
43
- <mwc-button label="search" icon="search" raised></mwc-button>
38
+ <md-outlined-text-field label="device"></md-outlined-text-field>
39
+ <md-outlined-text-field label="client"></md-outlined-text-field>
40
+ <md-outlined-text-field label="delivery"></md-outlined-text-field>
41
+ <md-outlined-text-field label="from date" type="date"></md-outlined-text-field>
42
+ <md-outlined-text-field label="to date" type="date"></md-outlined-text-field>
43
+ <md-filled-button>search</md-filled-button>
44
44
  </form>
45
45
 
46
46
  <ox-grist
@@ -1,7 +1,6 @@
1
1
  import { html, css } from 'lit'
2
- import { connect } from 'pwa-helpers/connect-mixin.js'
3
- import '@material/mwc-button'
4
- import '@material/mwc-textfield'
2
+ import '@material/web/button/filled-button.js'
3
+ import '@material/web/textfield/outlined-text-field.js'
5
4
  import { store, PageView } from '@operato/shell'
6
5
  import '@operato/data-grist'
7
6
  import { i18next, localize } from '@operato/i18n'
@@ -10,7 +9,7 @@ import { ScrollbarStyles } from '@operato/styles'
10
9
 
11
10
  import { ReportStyles } from './report-style'
12
11
 
13
- class ReportDelivery extends connect(store)(localize(i18next)(PageView)) {
12
+ class ReportDelivery extends localize(i18next)(PageView) {
14
13
  static get properties() {
15
14
  return {}
16
15
  }
@@ -35,12 +34,12 @@ class ReportDelivery extends connect(store)(localize(i18next)(PageView)) {
35
34
  render() {
36
35
  return html`
37
36
  <form search>
38
- <mwc-textfield label="device" icon="router"></mwc-textfield>
39
- <mwc-textfield label="client" icon="domain"></mwc-textfield>
40
- <mwc-textfield label="delivery" icon="local_shipping"></mwc-textfield>
41
- <mwc-textfield label="from date" icon="event" type="date"></mwc-textfield>
42
- <mwc-textfield label="to date" icon="event" type="date"></mwc-textfield>
43
- <mwc-button label="search" icon="search" raised></mwc-button>
37
+ <md-outlined-text-field label="device"></md-outlined-text-field>
38
+ <md-outlined-text-field label="client"></md-outlined-text-field>
39
+ <md-outlined-text-field label="delivery"></md-outlined-text-field>
40
+ <md-outlined-text-field label="from date" type="date"></md-outlined-text-field>
41
+ <md-outlined-text-field label="to date" type="date"></md-outlined-text-field>
42
+ <md-filled-button>search</md-filled-button>
44
43
  </form>
45
44
 
46
45
  <ox-grist
@@ -1,7 +1,6 @@
1
1
  import { html, css } from 'lit'
2
- import { connect } from 'pwa-helpers/connect-mixin.js'
3
- import '@material/mwc-button'
4
- import '@material/mwc-textfield'
2
+ import '@material/web/button/filled-button.js'
3
+ import '@material/web/textfield/outlined-text-field.js'
5
4
  import { store, PageView } from '@operato/shell'
6
5
  import '@operato/data-grist'
7
6
  import { i18next, localize } from '@operato/i18n'
@@ -10,7 +9,7 @@ import { ScrollbarStyles } from '@operato/styles'
10
9
 
11
10
  import { ReportStyles } from './report-style'
12
11
 
13
- class ReportDevice extends connect(store)(localize(i18next)(PageView)) {
12
+ class ReportDevice extends localize(i18next)(PageView) {
14
13
  static get properties() {
15
14
  return {}
16
15
  }
@@ -34,12 +33,12 @@ class ReportDevice extends connect(store)(localize(i18next)(PageView)) {
34
33
  render() {
35
34
  return html`
36
35
  <form search>
37
- <mwc-textfield label="device" icon="router"></mwc-textfield>
38
- <mwc-textfield label="client" icon="domain"></mwc-textfield>
39
- <mwc-textfield label="delivery" icon="local_shipping"></mwc-textfield>
40
- <mwc-textfield label="from date" icon="event" type="date"></mwc-textfield>
41
- <mwc-textfield label="to date" icon="event" type="date"></mwc-textfield>
42
- <mwc-button label="search" icon="search" raised></mwc-button>
36
+ <md-outlined-text-field label="device"></md-outlined-text-field>
37
+ <md-outlined-text-field label="client"></md-outlined-text-field>
38
+ <md-outlined-text-field label="delivery"></md-outlined-text-field>
39
+ <md-outlined-text-field label="from date" type="date"></md-outlined-text-field>
40
+ <md-outlined-text-field label="to date" type="date"></md-outlined-text-field>
41
+ <md-filled-button>search</md-filled-button>
43
42
  </form>
44
43
 
45
44
  <ox-grist
@@ -1,6 +1,6 @@
1
1
  import { html, css } from 'lit'
2
- import '@material/mwc-button'
3
- import '@material/mwc-textfield'
2
+ import '@material/web/button/filled-button.js'
3
+ import '@material/web/textfield/outlined-text-field.js'
4
4
  import '@operato/data-grist'
5
5
  import { i18next } from '@operato/i18n'
6
6
  import { isMobileDevice } from '@operato/utils'
@@ -35,12 +35,12 @@ class ReportHumidity extends ReportBasedOnTrack {
35
35
  render() {
36
36
  return html`
37
37
  <form search>
38
- <mwc-textfield label="device" icon="router"></mwc-textfield>
39
- <mwc-textfield label="client" icon="domain"></mwc-textfield>
40
- <mwc-textfield label="delivery" icon="local_shipping"></mwc-textfield>
41
- <mwc-textfield label="from date" icon="event" type="date"></mwc-textfield>
42
- <mwc-textfield label="to date" icon="event" type="date"></mwc-textfield>
43
- <mwc-button label="search" icon="search" raised></mwc-button>
38
+ <md-outlined-text-field label="device"></md-outlined-text-field>
39
+ <md-outlined-text-field label="client"></md-outlined-text-field>
40
+ <md-outlined-text-field label="delivery"></md-outlined-text-field>
41
+ <md-outlined-text-field label="from date" type="date"></md-outlined-text-field>
42
+ <md-outlined-text-field label="to date" type="date"></md-outlined-text-field>
43
+ <md-filled-button>search</md-filled-button>
44
44
  </form>
45
45
 
46
46
  <ox-grist
@@ -1,6 +1,6 @@
1
1
  import { html, css } from 'lit'
2
- import '@material/mwc-button'
3
- import '@material/mwc-textfield'
2
+ import '@material/web/button/filled-button.js'
3
+ import '@material/web/textfield/outlined-text-field.js'
4
4
  import '@operato/data-grist'
5
5
  import { i18next } from '@operato/i18n'
6
6
  import { isMobileDevice } from '@operato/utils'
@@ -34,12 +34,12 @@ class ReportIlluminance extends ReportBasedOnTrack {
34
34
  render() {
35
35
  return html`
36
36
  <form search>
37
- <mwc-textfield label="device" icon="router"></mwc-textfield>
38
- <mwc-textfield label="client" icon="domain"></mwc-textfield>
39
- <mwc-textfield label="delivery" icon="local_shipping"></mwc-textfield>
40
- <mwc-textfield label="from date" icon="event" type="date"></mwc-textfield>
41
- <mwc-textfield label="to date" icon="event" type="date"></mwc-textfield>
42
- <mwc-button label="search" icon="search" raised></mwc-button>
37
+ <md-outlined-text-field label="device"></md-outlined-text-field>
38
+ <md-outlined-text-field label="client"></md-outlined-text-field>
39
+ <md-outlined-text-field label="delivery"></md-outlined-text-field>
40
+ <md-outlined-text-field label="from date" type="date"></md-outlined-text-field>
41
+ <md-outlined-text-field label="to date" type="date"></md-outlined-text-field>
42
+ <md-filled-button>search</md-filled-button>
43
43
  </form>
44
44
 
45
45
  <ox-grist
@@ -1,6 +1,6 @@
1
1
  import { html, css } from 'lit'
2
- import '@material/mwc-button'
3
- import '@material/mwc-textfield'
2
+ import '@material/web/button/filled-button.js'
3
+ import '@material/web/textfield/outlined-text-field.js'
4
4
  import '@operato/data-grist'
5
5
  import { i18next } from '@operato/i18n'
6
6
  import { isMobileDevice } from '@operato/utils'
@@ -35,12 +35,12 @@ class ReportShock extends ReportBasedOnTrack {
35
35
  render() {
36
36
  return html`
37
37
  <form search>
38
- <mwc-textfield label="device" icon="router"></mwc-textfield>
39
- <mwc-textfield label="client" icon="domain"></mwc-textfield>
40
- <mwc-textfield label="delivery" icon="local_shipping"></mwc-textfield>
41
- <mwc-textfield label="from date" icon="event" type="date"></mwc-textfield>
42
- <mwc-textfield label="to date" icon="event" type="date"></mwc-textfield>
43
- <mwc-button label="search" icon="search" raised></mwc-button>
38
+ <md-outlined-text-field label="device"></md-outlined-text-field>
39
+ <md-outlined-text-field label="client"></md-outlined-text-field>
40
+ <md-outlined-text-field label="delivery"></md-outlined-text-field>
41
+ <md-outlined-text-field label="from date" type="date"></md-outlined-text-field>
42
+ <md-outlined-text-field label="to date" type="date"></md-outlined-text-field>
43
+ <md-filled-button>search</md-filled-button>
44
44
  </form>
45
45
 
46
46
  <ox-grist
@@ -39,7 +39,7 @@ export const ReportStyles = css`
39
39
  margin: 0 20px 0 0;
40
40
  }
41
41
 
42
- [search] mwc-button {
42
+ [search] md-filled-button {
43
43
  margin: 10px 0;
44
44
  }
45
45
  `
@@ -1,6 +1,6 @@
1
1
  import { html, css } from 'lit'
2
- import '@material/mwc-button'
3
- import '@material/mwc-textfield'
2
+ import '@material/web/button/filled-button.js'
3
+ import '@material/web/textfield/outlined-text-field.js'
4
4
  import '@operato/data-grist'
5
5
  import { i18next } from '@operato/i18n'
6
6
  import { isMobileDevice } from '@operato/utils'
@@ -35,12 +35,12 @@ class ReportTemperature extends ReportBasedOnTrack {
35
35
  render() {
36
36
  return html`
37
37
  <form search>
38
- <mwc-textfield label="device" icon="router"></mwc-textfield>
39
- <mwc-textfield label="client" icon="domain"></mwc-textfield>
40
- <mwc-textfield label="delivery" icon="local_shipping"></mwc-textfield>
41
- <mwc-textfield label="from date" icon="event" type="date"></mwc-textfield>
42
- <mwc-textfield label="to date" icon="event" type="date"></mwc-textfield>
43
- <mwc-button label="search" icon="search" raised></mwc-button>
38
+ <md-outlined-text-field label="device"></md-outlined-text-field>
39
+ <md-outlined-text-field label="client"></md-outlined-text-field>
40
+ <md-outlined-text-field label="delivery"></md-outlined-text-field>
41
+ <md-outlined-text-field label="from date" type="date"></md-outlined-text-field>
42
+ <md-outlined-text-field label="to date" type="date"></md-outlined-text-field>
43
+ <md-filled-button>search</md-filled-button>
44
44
  </form>
45
45
 
46
46
  <ox-grist
@@ -3,8 +3,6 @@ import '@operato/oops'
3
3
 
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html } from 'lit'
6
- import { connect } from 'pwa-helpers/connect-mixin.js'
7
-
8
6
  import { provider } from '@things-factory/board-ui'
9
7
  import { i18next, localize } from '@operato/i18n'
10
8
  import { client, PageView, store } from '@things-factory/shell'
@@ -15,7 +13,7 @@ import { FMSPageStyles } from '../fleet-page-style'
15
13
  const NOOP = () => {}
16
14
  const DASHBOARD = 'dashboard'
17
15
 
18
- export class FMSReport extends connect(store)(localize(i18next)(PageView)) {
16
+ export class FMSReport extends localize(i18next)(PageView) {
19
17
  static get properties() {
20
18
  return {
21
19
  _board: Object,
@@ -120,10 +118,36 @@ export class FMSReport extends connect(store)(localize(i18next)(PageView)) {
120
118
  }
121
119
  }
122
120
 
123
- stateChanged(state) {
124
- this._baseUrl = state.app.baseUrl
121
+ private _unsubscribe?: () => void
122
+
123
+
124
+ connectedCallback() {
125
+
126
+ super.connectedCallback()
127
+
128
+ this._applyState()
129
+
130
+ this._unsubscribe = store.subscribe(() => this._applyState())
131
+
132
+ }
133
+
134
+
135
+ disconnectedCallback() {
136
+
137
+ super.disconnectedCallback()
138
+
139
+ this._unsubscribe?.()
140
+
141
+ }
142
+
143
+
144
+ private _applyState() {
145
+
146
+ const __state__ = store.getState() as any
147
+ this._baseUrl = __state__.app.baseUrl
148
+
149
+ this._boardId = (__state__.boardSetting[DASHBOARD] || { board: {} }).board.id
125
150
 
126
- this._boardId = (state.boardSetting[DASHBOARD] || { board: {} }).board.id
127
151
  }
128
152
 
129
153
  async refresh() {
@@ -4,8 +4,6 @@ import '@operato/i18n/ox-i18n.js'
4
4
 
5
5
  import gql from 'graphql-tag'
6
6
  import { css, html, LitElement } from 'lit'
7
- import { connect } from 'pwa-helpers'
8
-
9
7
  import { openPopup } from '@operato/layout'
10
8
  import { fetchBoardSettings, UPDATE_BOARD_SETTINGS } from '@things-factory/dashboard'
11
9
  import { i18next, localize } from '@operato/i18n'
@@ -19,7 +17,7 @@ import {
19
17
  MARKER_IW_BOARD_FOR_TRACK_DESCRIPTION
20
18
  } from '../const'
21
19
 
22
- export class InfowindowSettingLet extends connect(store)(localize(i18next)(LitElement)) {
20
+ export class InfowindowSettingLet extends localize(i18next)(LitElement) {
23
21
  static get styles() {
24
22
  return [
25
23
  css`
@@ -161,12 +159,38 @@ export class InfowindowSettingLet extends connect(store)(localize(i18next)(LitEl
161
159
  `
162
160
  }
163
161
 
164
- stateChanged(state) {
165
- var fleetBoard = state.boardSetting[MARKER_IW_BOARD_FOR_FLEET]
166
- var trackBoard = state.boardSetting[MARKER_IW_BOARD_FOR_TRACK]
162
+ private _unsubscribe?: () => void
163
+
164
+
165
+ connectedCallback() {
166
+
167
+ super.connectedCallback()
168
+
169
+ this._applyState()
170
+
171
+ this._unsubscribe = store.subscribe(() => this._applyState())
172
+
173
+ }
174
+
175
+
176
+ disconnectedCallback() {
177
+
178
+ super.disconnectedCallback()
179
+
180
+ this._unsubscribe?.()
181
+
182
+ }
183
+
184
+
185
+ private _applyState() {
186
+
187
+ const __state__ = store.getState() as any
188
+ var fleetBoard = __state__.boardSetting[MARKER_IW_BOARD_FOR_FLEET]
189
+ var trackBoard = __state__.boardSetting[MARKER_IW_BOARD_FOR_TRACK]
167
190
 
168
191
  this.fleetBoard = (fleetBoard ? fleetBoard.board : {}) || {}
169
192
  this.trackBoard = (trackBoard ? trackBoard.board : {}) || {}
193
+
170
194
  }
171
195
 
172
196
  onClickBoardSelector(name, description) {
@@ -1,6 +1,4 @@
1
1
  import { css, html, LitElement } from 'lit'
2
- import { connect } from 'pwa-helpers'
3
-
4
2
  import { store } from '@operato/shell'
5
3
 
6
4
  import {
@@ -14,7 +12,7 @@ import {
14
12
  ICONS_ADMINISTRATOR
15
13
  } from '../icons/menu-icons'
16
14
 
17
- export class MenuTools extends connect(store)(LitElement) {
15
+ export class MenuTools extends LitElement {
18
16
  static get properties() {
19
17
  return {
20
18
  page: String,
@@ -192,9 +190,35 @@ export class MenuTools extends connect(store)(LitElement) {
192
190
  `
193
191
  }
194
192
 
195
- stateChanged(state) {
196
- this.page = state.route.page
197
- this.width = state.layout.width
193
+ private _unsubscribe?: () => void
194
+
195
+
196
+ connectedCallback() {
197
+
198
+ super.connectedCallback()
199
+
200
+ this._applyState()
201
+
202
+ this._unsubscribe = store.subscribe(() => this._applyState())
203
+
204
+ }
205
+
206
+
207
+ disconnectedCallback() {
208
+
209
+ super.disconnectedCallback()
210
+
211
+ this._unsubscribe?.()
212
+
213
+ }
214
+
215
+
216
+ private _applyState() {
217
+
218
+ const __state__ = store.getState() as any
219
+ this.page = __state__.route.page
220
+ this.width = __state__.layout.width
221
+
198
222
  }
199
223
  }
200
224
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@things-factory/operato-fleet",
3
- "version": "9.2.5",
3
+ "version": "10.0.0-beta.10",
4
4
  "main": "dist-server/index.js",
5
- "browser": "client/index.js",
5
+ "browser": "client/index.ts",
6
6
  "things-factory": true,
7
7
  "author": "heartyoh <heartyoh@hatiolab.com>",
8
8
  "description": "Fleet Management Service",
@@ -36,70 +36,68 @@
36
36
  "docker:run": "docker run --platform linux/amd64 -it -p 4000:3000 --privileged -v /dev/bus/usb:/dev/bus/usb -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY hatiolab/operato-fleet:latest"
37
37
  },
38
38
  "dependencies": {
39
- "@material/mwc-formfield": "^0.27.0",
40
- "@material/mwc-linear-progress": "^0.27.0",
41
- "@material/mwc-radio": "^0.27.0",
42
- "@operato/board": "^9.0.0",
43
- "@operato/data-grist": "^9.0.0",
44
- "@operato/help": "^9.0.0",
45
- "@operato/oops": "^9.0.0",
46
- "@operato/scene-chartjs": "^9.0.0",
47
- "@operato/scene-clock": "^9.0.0",
48
- "@operato/scene-clone": "^9.0.0",
49
- "@operato/scene-compass": "^9.0.0",
50
- "@operato/scene-data-transform": "^9.0.0",
51
- "@operato/scene-excel": "^9.0.0",
52
- "@operato/scene-form": "^9.0.0",
53
- "@operato/scene-gantt": "^9.0.0",
54
- "@operato/scene-gauge": "^9.0.0",
55
- "@operato/scene-google-map": "^9.0.0",
56
- "@operato/scene-graphql": "^9.0.0",
57
- "@operato/scene-grist": "^9.0.0",
58
- "@operato/scene-half-roundrect": "^9.0.0",
59
- "@operato/scene-image-slider": "^9.0.0",
60
- "@operato/scene-indoor-map": "^9.0.0",
61
- "@operato/scene-integration": "^9.0.0",
62
- "@operato/scene-label": "^9.0.0",
63
- "@operato/scene-legend": "^9.0.0",
64
- "@operato/scene-marker": "^9.0.0",
65
- "@operato/scene-news-ticker": "^9.0.0",
66
- "@operato/scene-progressbar": "^9.0.0",
67
- "@operato/scene-random": "^9.0.0",
68
- "@operato/scene-restful": "^9.0.0",
69
- "@operato/scene-switch": "^9.0.0",
70
- "@operato/scene-tab": "^9.0.0",
71
- "@operato/scene-table": "^9.0.0",
72
- "@operato/scene-timer": "^9.0.0",
73
- "@operato/scene-visualizer": "^9.0.0",
74
- "@operato/scene-wheel-sorter": "^9.0.0",
75
- "@things-factory/apptool-ui": "^9.2.5",
76
- "@things-factory/attachment-base": "^9.2.5",
77
- "@things-factory/auth-ui": "^9.2.5",
78
- "@things-factory/biz-base": "^9.2.5",
79
- "@things-factory/board-service": "^9.2.5",
80
- "@things-factory/board-ui": "^9.2.5",
81
- "@things-factory/code-ui": "^9.2.5",
82
- "@things-factory/context-ui": "^9.2.5",
83
- "@things-factory/dashboard": "^9.2.5",
84
- "@things-factory/evaluation": "^9.2.5",
85
- "@things-factory/export-ui": "^9.2.5",
86
- "@things-factory/export-ui-csv": "^9.2.5",
87
- "@things-factory/export-ui-excel": "^9.2.5",
88
- "@things-factory/help": "^9.2.5",
89
- "@things-factory/i18n-base": "^9.2.5",
90
- "@things-factory/integration-fulfillment": "^9.2.5",
91
- "@things-factory/integration-marketplace": "^9.2.5",
92
- "@things-factory/more-ui": "^9.2.5",
93
- "@things-factory/notification": "^9.2.5",
94
- "@things-factory/oauth2-client": "^9.2.5",
95
- "@things-factory/pdf": "^9.2.5",
96
- "@things-factory/resource-ui": "^9.2.5",
97
- "@things-factory/setting-ui": "^9.2.5",
98
- "@things-factory/system": "^9.2.5",
39
+ "@material/web": "^2.0.0",
40
+ "@operato/board": "^10.0.0-beta.1",
41
+ "@operato/data-grist": "^10.0.0-beta.1",
42
+ "@operato/help": "^10.0.0-beta.1",
43
+ "@operato/oops": "^10.0.0-beta.1",
44
+ "@operato/scene-chartjs": "^10.0.0-beta.1",
45
+ "@operato/scene-clock": "^10.0.0-beta.1",
46
+ "@operato/scene-clone": "^10.0.0-beta.1",
47
+ "@operato/scene-compass": "^10.0.0-beta.1",
48
+ "@operato/scene-data-transform": "^10.0.0-beta.1",
49
+ "@operato/scene-excel": "^10.0.0-beta.1",
50
+ "@operato/scene-form": "^10.0.0-beta.1",
51
+ "@operato/scene-gantt": "^10.0.0-beta.1",
52
+ "@operato/scene-gauge": "^10.0.0-beta.1",
53
+ "@operato/scene-google-map": "^10.0.0-beta.1",
54
+ "@operato/scene-graphql": "^10.0.0-beta.1",
55
+ "@operato/scene-grist": "^10.0.0-beta.1",
56
+ "@operato/scene-half-roundrect": "^10.0.0-beta.1",
57
+ "@operato/scene-image-slider": "^10.0.0-beta.1",
58
+ "@operato/scene-indoor-map": "^10.0.0-beta.1",
59
+ "@operato/scene-integration": "^10.0.0-beta.1",
60
+ "@operato/scene-label": "^10.0.0-beta.1",
61
+ "@operato/scene-legend": "^10.0.0-beta.1",
62
+ "@operato/scene-marker": "^10.0.0-beta.1",
63
+ "@operato/scene-news-ticker": "^10.0.0-beta.1",
64
+ "@operato/scene-progressbar": "^10.0.0-beta.1",
65
+ "@operato/scene-random": "^10.0.0-beta.1",
66
+ "@operato/scene-restful": "^10.0.0-beta.1",
67
+ "@operato/scene-switch": "^10.0.0-beta.1",
68
+ "@operato/scene-tab": "^10.0.0-beta.1",
69
+ "@operato/scene-table": "^10.0.0-beta.1",
70
+ "@operato/scene-timer": "^10.0.0-beta.1",
71
+ "@operato/scene-visualizer": "^10.0.0-beta.1",
72
+ "@operato/scene-wheel-sorter": "^10.0.0-beta.1",
73
+ "@things-factory/apptool-ui": "^10.0.0-beta.10",
74
+ "@things-factory/attachment-base": "^10.0.0-beta.10",
75
+ "@things-factory/auth-ui": "^10.0.0-beta.10",
76
+ "@things-factory/biz-base": "^10.0.0-beta.10",
77
+ "@things-factory/board-service": "^10.0.0-beta.10",
78
+ "@things-factory/board-ui": "^10.0.0-beta.10",
79
+ "@things-factory/code-ui": "^10.0.0-beta.10",
80
+ "@things-factory/context-ui": "^10.0.0-beta.10",
81
+ "@things-factory/dashboard": "^10.0.0-beta.10",
82
+ "@things-factory/evaluation": "^10.0.0-beta.10",
83
+ "@things-factory/export-ui": "^10.0.0-beta.10",
84
+ "@things-factory/export-ui-csv": "^10.0.0-beta.10",
85
+ "@things-factory/export-ui-excel": "^10.0.0-beta.10",
86
+ "@things-factory/help": "^10.0.0-beta.10",
87
+ "@things-factory/i18n-base": "^10.0.0-beta.10",
88
+ "@things-factory/integration-fulfillment": "^10.0.0-beta.10",
89
+ "@things-factory/integration-marketplace": "^10.0.0-beta.10",
90
+ "@things-factory/more-ui": "^10.0.0-beta.10",
91
+ "@things-factory/notification": "^10.0.0-beta.10",
92
+ "@things-factory/oauth2-client": "^10.0.0-beta.10",
93
+ "@things-factory/pdf": "^10.0.0-beta.10",
94
+ "@things-factory/resource-ui": "^10.0.0-beta.10",
95
+ "@things-factory/setting-ui": "^10.0.0-beta.10",
96
+ "@things-factory/system": "^10.0.0-beta.10",
99
97
  "chance": "^1.1.11"
100
98
  },
101
99
  "devDependencies": {
102
- "@things-factory/builder": "^9.2.5"
100
+ "@things-factory/builder": "^10.0.0-beta.5"
103
101
  },
104
- "gitHead": "d3622f475ae3bab84322d31b064cc4cda20f7062"
102
+ "gitHead": "95acadd39e9a0ff3b2f34d9f7082142395903179"
105
103
  }
@@ -69,7 +69,7 @@
69
69
  </noscript>
70
70
  <!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
71
71
  <script src="/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
72
- <script src="/node_modules/web-animations-js/web-animations-next.min.js"></script>
72
+
73
73
  <!-- Built with love using PWA Starter Kit -->
74
74
 
75
75
  <script src="<%- elementScript %>"></script>
@@ -63,7 +63,7 @@
63
63
  <noscript> Please enable JavaScript to view this website. </noscript>
64
64
  <!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
65
65
  <script src="/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
66
- <script src="/node_modules/web-animations-js/web-animations-next.min.js"></script>
66
+
67
67
  <!-- Built with love using PWA Starter Kit -->
68
68
 
69
69
  <script src="/public/home.js"></script>
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes