@things-factory/operato-fleet 6.0.0-alpha.18 → 6.0.0-alpha.20
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/_index.html +2 -0
- package/client/bootstrap.js +2 -1
- package/client/commons/fleet-search.js +3 -1
- package/client/commons/geofence-search.js +3 -1
- package/client/viewparts/infowindow-setting-let.js +13 -14
- package/package.json +26 -26
- package/views/auth-page.html +4 -0
- package/views/public/home.html +2 -0
package/_index.html
CHANGED
|
@@ -57,6 +57,8 @@
|
|
|
57
57
|
padding: 0;
|
|
58
58
|
overflow: hidden;
|
|
59
59
|
|
|
60
|
+
overscroll-behavior-y: none;
|
|
61
|
+
|
|
60
62
|
/* This is a font-stack that tries to use the system-default sans-serifs first */
|
|
61
63
|
font-family: Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
62
64
|
line-height: 1.5;
|
package/client/bootstrap.js
CHANGED
|
@@ -3,6 +3,7 @@ import '@things-factory/board-ui'
|
|
|
3
3
|
import './viewparts/user-circle'
|
|
4
4
|
import './viewparts/menu-tools'
|
|
5
5
|
import './viewparts/infowindow-setting-let'
|
|
6
|
+
import '@operato/i18n/ox-i18n.js'
|
|
6
7
|
|
|
7
8
|
import { html } from 'lit'
|
|
8
9
|
|
|
@@ -67,7 +68,7 @@ export default function bootstrap() {
|
|
|
67
68
|
// type: ADD_MORENDA,
|
|
68
69
|
// morenda: {
|
|
69
70
|
// icon: html` <mwc-icon>help</mwc-icon> `,
|
|
70
|
-
// name: html` <i18n
|
|
71
|
+
// name: html` <ox-i18n msgid="text.help"></ox-i18n> `,
|
|
71
72
|
// action: () => {
|
|
72
73
|
// navigate('help')
|
|
73
74
|
// }
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import '@operato/i18n/ox-i18n.js'
|
|
2
|
+
|
|
1
3
|
import { LitElement, html, css } from 'lit'
|
|
2
4
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
3
5
|
import { store } from '@things-factory/shell'
|
|
@@ -92,7 +94,7 @@ export class FleetSearch extends connect(store)(localize(i18next)(LitElement)) {
|
|
|
92
94
|
var fleets = this.fleets || []
|
|
93
95
|
|
|
94
96
|
return html`
|
|
95
|
-
<div search-result><i18n
|
|
97
|
+
<div search-result><ox-i18n msgid="title.total"></ox-i18n> : <strong>${fleets.length}</strong></div>
|
|
96
98
|
|
|
97
99
|
<ul>
|
|
98
100
|
${fleets.map(
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import '@operato/i18n/ox-i18n.js'
|
|
2
|
+
|
|
1
3
|
import { LitElement, html, css } from 'lit'
|
|
2
4
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
3
5
|
import { i18next } from '@things-factory/i18n-base'
|
|
@@ -69,7 +71,7 @@ export class GeofenceSearch extends LitElement {
|
|
|
69
71
|
var total = this.total || 0
|
|
70
72
|
|
|
71
73
|
return html`
|
|
72
|
-
<div search-result><i18n
|
|
74
|
+
<div search-result><ox-i18n msgid="title.total"></ox-i18n> : <strong>${total}</strong></div>
|
|
73
75
|
|
|
74
76
|
<ul style="overflow:auto;">
|
|
75
77
|
${geofences.map(
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import '@things-factory/board-ui'
|
|
2
|
+
import '@operato/i18n/ox-i18n.js'
|
|
2
3
|
|
|
3
4
|
import gql from 'graphql-tag'
|
|
4
5
|
import { css, html, LitElement } from 'lit'
|
|
@@ -116,7 +117,7 @@ export class InfowindowSettingLet extends connect(store)(localize(i18next)(LitEl
|
|
|
116
117
|
render() {
|
|
117
118
|
return html`
|
|
118
119
|
<setting-let>
|
|
119
|
-
<i18n
|
|
120
|
+
<ox-i18n slot="title" msgid="title.infowindow setting"></ox-i18n>
|
|
120
121
|
|
|
121
122
|
<form slot="content" @submit=${e => this._handleSubmit(e)}>
|
|
122
123
|
${[
|
|
@@ -135,25 +136,23 @@ export class InfowindowSettingLet extends connect(store)(localize(i18next)(LitEl
|
|
|
135
136
|
].map(
|
|
136
137
|
field => html`
|
|
137
138
|
<div class="field">
|
|
138
|
-
<label>${field.title}</
|
|
139
|
+
<label>${field.title}</label>
|
|
139
140
|
<div>
|
|
140
141
|
<div class="name">${field.board.name}</div>
|
|
141
142
|
<span class="description">${field.board.description}</span>
|
|
142
143
|
<mwc-icon @click=${e => this.onClickBoardSelector(field.key, field.description)}>
|
|
143
144
|
more_horiz
|
|
144
145
|
</mwc-icon>
|
|
145
|
-
${
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
<
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
: html``
|
|
156
|
-
}
|
|
146
|
+
${field.board.id
|
|
147
|
+
? html`
|
|
148
|
+
<a href=${`board-modeller/${field.board.id}`}>
|
|
149
|
+
<img
|
|
150
|
+
src=${field.board.thumbnail ||
|
|
151
|
+
'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'}
|
|
152
|
+
/>
|
|
153
|
+
</a>
|
|
154
|
+
`
|
|
155
|
+
: html``}
|
|
157
156
|
</div>
|
|
158
157
|
</div>
|
|
159
158
|
`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-fleet",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.20",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -68,36 +68,36 @@
|
|
|
68
68
|
"@operato/scene-table": "^1.0.0",
|
|
69
69
|
"@operato/scene-timer": "^1.0.0",
|
|
70
70
|
"@operato/scene-wheel-sorter": "^1.0.0",
|
|
71
|
-
"@things-factory/apptool-ui": "^6.0.0-alpha.
|
|
72
|
-
"@things-factory/attachment-base": "^6.0.0-alpha.
|
|
73
|
-
"@things-factory/auth-ui": "^6.0.0-alpha.
|
|
74
|
-
"@things-factory/biz-base": "^6.0.0-alpha.
|
|
75
|
-
"@things-factory/board-service": "^6.0.0-alpha.
|
|
76
|
-
"@things-factory/board-ui": "^6.0.0-alpha.
|
|
77
|
-
"@things-factory/code-ui": "^6.0.0-alpha.
|
|
78
|
-
"@things-factory/context-ui": "^6.0.0-alpha.
|
|
79
|
-
"@things-factory/dashboard": "^6.0.0-alpha.
|
|
80
|
-
"@things-factory/export-ui": "^6.0.0-alpha.
|
|
81
|
-
"@things-factory/export-ui-csv": "^6.0.0-alpha.
|
|
82
|
-
"@things-factory/export-ui-excel": "^6.0.0-alpha.
|
|
83
|
-
"@things-factory/grist-ui": "^6.0.0-alpha.
|
|
84
|
-
"@things-factory/help": "^6.0.0-alpha.
|
|
85
|
-
"@things-factory/i18n-base": "^6.0.0-alpha.
|
|
86
|
-
"@things-factory/integration-fulfillment": "^6.0.0-alpha.
|
|
87
|
-
"@things-factory/integration-marketplace": "^6.0.0-alpha.
|
|
88
|
-
"@things-factory/more-ui": "^6.0.0-alpha.
|
|
89
|
-
"@things-factory/notification": "^6.0.0-alpha.
|
|
90
|
-
"@things-factory/oauth2-client": "^6.0.0-alpha.
|
|
71
|
+
"@things-factory/apptool-ui": "^6.0.0-alpha.20",
|
|
72
|
+
"@things-factory/attachment-base": "^6.0.0-alpha.20",
|
|
73
|
+
"@things-factory/auth-ui": "^6.0.0-alpha.20",
|
|
74
|
+
"@things-factory/biz-base": "^6.0.0-alpha.20",
|
|
75
|
+
"@things-factory/board-service": "^6.0.0-alpha.20",
|
|
76
|
+
"@things-factory/board-ui": "^6.0.0-alpha.20",
|
|
77
|
+
"@things-factory/code-ui": "^6.0.0-alpha.20",
|
|
78
|
+
"@things-factory/context-ui": "^6.0.0-alpha.20",
|
|
79
|
+
"@things-factory/dashboard": "^6.0.0-alpha.20",
|
|
80
|
+
"@things-factory/export-ui": "^6.0.0-alpha.20",
|
|
81
|
+
"@things-factory/export-ui-csv": "^6.0.0-alpha.20",
|
|
82
|
+
"@things-factory/export-ui-excel": "^6.0.0-alpha.20",
|
|
83
|
+
"@things-factory/grist-ui": "^6.0.0-alpha.20",
|
|
84
|
+
"@things-factory/help": "^6.0.0-alpha.20",
|
|
85
|
+
"@things-factory/i18n-base": "^6.0.0-alpha.20",
|
|
86
|
+
"@things-factory/integration-fulfillment": "^6.0.0-alpha.20",
|
|
87
|
+
"@things-factory/integration-marketplace": "^6.0.0-alpha.20",
|
|
88
|
+
"@things-factory/more-ui": "^6.0.0-alpha.20",
|
|
89
|
+
"@things-factory/notification": "^6.0.0-alpha.20",
|
|
90
|
+
"@things-factory/oauth2-client": "^6.0.0-alpha.20",
|
|
91
91
|
"@things-factory/pdf": "^6.0.0-alpha.13",
|
|
92
|
-
"@things-factory/resource-ui": "^6.0.0-alpha.
|
|
92
|
+
"@things-factory/resource-ui": "^6.0.0-alpha.20",
|
|
93
93
|
"@things-factory/scene-google-map": "^6.0.0-alpha.8",
|
|
94
|
-
"@things-factory/scene-visualizer": "^6.0.0-alpha.
|
|
95
|
-
"@things-factory/setting-ui": "^6.0.0-alpha.
|
|
96
|
-
"@things-factory/system-ui": "^6.0.0-alpha.
|
|
94
|
+
"@things-factory/scene-visualizer": "^6.0.0-alpha.19",
|
|
95
|
+
"@things-factory/setting-ui": "^6.0.0-alpha.20",
|
|
96
|
+
"@things-factory/system-ui": "^6.0.0-alpha.20",
|
|
97
97
|
"chance": "^1.1.4"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
100
|
"@things-factory/builder": "^6.0.0-alpha.14"
|
|
101
101
|
},
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "6e50e3cefe9c4158500f3cb2bf14300684c05623"
|
|
103
103
|
}
|
package/views/auth-page.html
CHANGED
|
@@ -59,10 +59,14 @@
|
|
|
59
59
|
padding: 0;
|
|
60
60
|
overflow: hidden;
|
|
61
61
|
|
|
62
|
+
overscroll-behavior-y: none;
|
|
63
|
+
|
|
62
64
|
/* This is a font-stack that tries to use the system-default sans-serifs first */
|
|
63
65
|
font-family: Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
64
66
|
line-height: 1.5;
|
|
65
67
|
-webkit-font-smoothing: antialiased;
|
|
68
|
+
|
|
69
|
+
accent-color: var(--primary-color);
|
|
66
70
|
}
|
|
67
71
|
</style>
|
|
68
72
|
|
package/views/public/home.html
CHANGED