@things-factory/operato-fleet 7.0.1-alpha.69 → 7.0.1-alpha.71
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.
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import '@material/web/icon/icon.js'
|
|
2
|
+
|
|
1
3
|
import { LitElement, html, css } from 'lit'
|
|
2
4
|
|
|
3
5
|
export class FleetItem extends LitElement {
|
|
@@ -36,7 +38,7 @@ export class FleetItem extends LitElement {
|
|
|
36
38
|
text-overflow: ellipsis;
|
|
37
39
|
}
|
|
38
40
|
|
|
39
|
-
[second-line]
|
|
41
|
+
[second-line] md-icon {
|
|
40
42
|
margin-right: 2px;
|
|
41
43
|
font-size: 13px;
|
|
42
44
|
}
|
|
@@ -55,7 +57,7 @@ export class FleetItem extends LitElement {
|
|
|
55
57
|
text-align: right;
|
|
56
58
|
}
|
|
57
59
|
|
|
58
|
-
[battery]
|
|
60
|
+
[battery] md-icon {
|
|
59
61
|
width: 10px;
|
|
60
62
|
height: 10px;
|
|
61
63
|
background-color: #ccc;
|
|
@@ -67,15 +69,15 @@ export class FleetItem extends LitElement {
|
|
|
67
69
|
font-weight: normal;
|
|
68
70
|
}
|
|
69
71
|
|
|
70
|
-
[battery].good
|
|
72
|
+
[battery].good md-icon {
|
|
71
73
|
background-color: #539d04;
|
|
72
74
|
}
|
|
73
75
|
|
|
74
|
-
[battery].warn
|
|
76
|
+
[battery].warn md-icon {
|
|
75
77
|
background-color: #f48400;
|
|
76
78
|
}
|
|
77
79
|
|
|
78
|
-
[battery].bad
|
|
80
|
+
[battery].bad md-icon {
|
|
79
81
|
background-color: #bb4023;
|
|
80
82
|
}
|
|
81
83
|
|
|
@@ -126,13 +128,13 @@ export class FleetItem extends LitElement {
|
|
|
126
128
|
return html`
|
|
127
129
|
<div first-line>
|
|
128
130
|
<span name>${name}</span>
|
|
129
|
-
<span battery class=${batteryLevel}><
|
|
131
|
+
<span battery class=${batteryLevel}><md-icon>battery_full</md-icon>${battery}%</span>
|
|
130
132
|
<span status ?on=${!!status}>${status ? 'on' : 'off'}</span>
|
|
131
133
|
</div>
|
|
132
134
|
<div second-line>
|
|
133
|
-
<span client title=${client}><
|
|
134
|
-
<span delivery title=${delivery}><
|
|
135
|
-
<span driver title=${driver}><
|
|
135
|
+
<span client title=${client}><md-icon>domain</md-icon>${client}</span>
|
|
136
|
+
<span delivery title=${delivery}><md-icon>local_shipping</md-icon>${delivery}</span>
|
|
137
|
+
<span driver title=${driver}><md-icon>account_circle</md-icon>${driver}</span>
|
|
136
138
|
</div>
|
|
137
139
|
`
|
|
138
140
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '@material/web/icon/icon.js'
|
|
1
2
|
import { LitElement, html, css } from 'lit'
|
|
2
3
|
|
|
3
4
|
export class GeofenceItem extends LitElement {
|
|
@@ -23,7 +24,7 @@ export class GeofenceItem extends LitElement {
|
|
|
23
24
|
vertical-align: middle;
|
|
24
25
|
opacity: 0.8;
|
|
25
26
|
}
|
|
26
|
-
[second-line]
|
|
27
|
+
[second-line] md-icon {
|
|
27
28
|
margin-right: 2px;
|
|
28
29
|
font-size: 13px;
|
|
29
30
|
}
|
|
@@ -80,8 +81,8 @@ export class GeofenceItem extends LitElement {
|
|
|
80
81
|
<span class=${type.toLowerCase()} type>${type}</span>
|
|
81
82
|
</div>
|
|
82
83
|
<div second-line>
|
|
83
|
-
<span client><
|
|
84
|
-
<span event><
|
|
84
|
+
<span client><md-icon>domain</md-icon>${client}</span>
|
|
85
|
+
<span event><md-icon>notification_important</md-icon>${event}</span>
|
|
85
86
|
</div>
|
|
86
87
|
`
|
|
87
88
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '@material/web/icon/icon.js'
|
|
1
2
|
import '@operato/board/ox-board-selector.js'
|
|
2
3
|
import '@operato/i18n/ox-i18n.js'
|
|
3
4
|
|
|
@@ -81,7 +82,7 @@ export class InfowindowSettingLet extends connect(store)(localize(i18next)(LitEl
|
|
|
81
82
|
grid-template-columns: 1fr 1fr;
|
|
82
83
|
}
|
|
83
84
|
|
|
84
|
-
|
|
85
|
+
md-icon {
|
|
85
86
|
background-color: var(--secondary-color, #394e64);
|
|
86
87
|
margin: 2px 2px 5px 2px;
|
|
87
88
|
padding: 0 5px;
|
|
@@ -91,8 +92,8 @@ export class InfowindowSettingLet extends connect(store)(localize(i18next)(LitEl
|
|
|
91
92
|
font-size: 18px;
|
|
92
93
|
}
|
|
93
94
|
|
|
94
|
-
|
|
95
|
-
|
|
95
|
+
md-icon:hover,
|
|
96
|
+
md-icon:active {
|
|
96
97
|
background-color: var(--button-active-background-color, #22a6a7);
|
|
97
98
|
border: var(--button-active-border);
|
|
98
99
|
}
|
|
@@ -140,9 +141,7 @@ export class InfowindowSettingLet extends connect(store)(localize(i18next)(LitEl
|
|
|
140
141
|
<div>
|
|
141
142
|
<div class="name">${field.board.name}</div>
|
|
142
143
|
<span class="description">${field.board.description}</span>
|
|
143
|
-
<
|
|
144
|
-
more_horiz
|
|
145
|
-
</mwc-icon>
|
|
144
|
+
<md-icon @click=${e => this.onClickBoardSelector(field.key, field.description)}> more_horiz </md-icon>
|
|
146
145
|
${field.board.id
|
|
147
146
|
? html`
|
|
148
147
|
<a href=${`board-modeller/${field.board.id}`}>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-fleet",
|
|
3
|
-
"version": "7.0.1-alpha.
|
|
3
|
+
"version": "7.0.1-alpha.71",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -73,33 +73,33 @@
|
|
|
73
73
|
"@operato/scene-timer": "^2.0.0-alpha.0",
|
|
74
74
|
"@operato/scene-visualizer": "^2.0.0-alpha.0",
|
|
75
75
|
"@operato/scene-wheel-sorter": "^2.0.0-alpha.0",
|
|
76
|
-
"@things-factory/apptool-ui": "^7.0.1-alpha.
|
|
77
|
-
"@things-factory/attachment-base": "^7.0.1-alpha.
|
|
78
|
-
"@things-factory/auth-ui": "^7.0.1-alpha.
|
|
79
|
-
"@things-factory/biz-base": "^7.0.1-alpha.
|
|
80
|
-
"@things-factory/board-service": "^7.0.1-alpha.
|
|
81
|
-
"@things-factory/board-ui": "^7.0.1-alpha.
|
|
82
|
-
"@things-factory/code-ui": "^7.0.1-alpha.
|
|
83
|
-
"@things-factory/context-ui": "^7.0.1-alpha.
|
|
84
|
-
"@things-factory/dashboard": "^7.0.1-alpha.
|
|
85
|
-
"@things-factory/export-ui": "^7.0.1-alpha.
|
|
86
|
-
"@things-factory/export-ui-csv": "^7.0.1-alpha.
|
|
87
|
-
"@things-factory/export-ui-excel": "^7.0.1-alpha.
|
|
88
|
-
"@things-factory/help": "^7.0.1-alpha.
|
|
89
|
-
"@things-factory/i18n-base": "^7.0.1-alpha.
|
|
90
|
-
"@things-factory/integration-fulfillment": "^7.0.1-alpha.
|
|
91
|
-
"@things-factory/integration-marketplace": "^7.0.1-alpha.
|
|
92
|
-
"@things-factory/more-ui": "^7.0.1-alpha.
|
|
93
|
-
"@things-factory/notification": "^7.0.1-alpha.
|
|
94
|
-
"@things-factory/oauth2-client": "^7.0.1-alpha.
|
|
95
|
-
"@things-factory/pdf": "^7.0.1-alpha.
|
|
96
|
-
"@things-factory/resource-ui": "^7.0.1-alpha.
|
|
97
|
-
"@things-factory/setting-ui": "^7.0.1-alpha.
|
|
98
|
-
"@things-factory/system": "^7.0.1-alpha.
|
|
76
|
+
"@things-factory/apptool-ui": "^7.0.1-alpha.71",
|
|
77
|
+
"@things-factory/attachment-base": "^7.0.1-alpha.71",
|
|
78
|
+
"@things-factory/auth-ui": "^7.0.1-alpha.71",
|
|
79
|
+
"@things-factory/biz-base": "^7.0.1-alpha.71",
|
|
80
|
+
"@things-factory/board-service": "^7.0.1-alpha.71",
|
|
81
|
+
"@things-factory/board-ui": "^7.0.1-alpha.71",
|
|
82
|
+
"@things-factory/code-ui": "^7.0.1-alpha.71",
|
|
83
|
+
"@things-factory/context-ui": "^7.0.1-alpha.71",
|
|
84
|
+
"@things-factory/dashboard": "^7.0.1-alpha.71",
|
|
85
|
+
"@things-factory/export-ui": "^7.0.1-alpha.71",
|
|
86
|
+
"@things-factory/export-ui-csv": "^7.0.1-alpha.71",
|
|
87
|
+
"@things-factory/export-ui-excel": "^7.0.1-alpha.71",
|
|
88
|
+
"@things-factory/help": "^7.0.1-alpha.71",
|
|
89
|
+
"@things-factory/i18n-base": "^7.0.1-alpha.71",
|
|
90
|
+
"@things-factory/integration-fulfillment": "^7.0.1-alpha.71",
|
|
91
|
+
"@things-factory/integration-marketplace": "^7.0.1-alpha.71",
|
|
92
|
+
"@things-factory/more-ui": "^7.0.1-alpha.71",
|
|
93
|
+
"@things-factory/notification": "^7.0.1-alpha.71",
|
|
94
|
+
"@things-factory/oauth2-client": "^7.0.1-alpha.71",
|
|
95
|
+
"@things-factory/pdf": "^7.0.1-alpha.71",
|
|
96
|
+
"@things-factory/resource-ui": "^7.0.1-alpha.71",
|
|
97
|
+
"@things-factory/setting-ui": "^7.0.1-alpha.71",
|
|
98
|
+
"@things-factory/system": "^7.0.1-alpha.71",
|
|
99
99
|
"chance": "^1.1.11"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
|
-
"@things-factory/builder": "^7.0.1-alpha.
|
|
102
|
+
"@things-factory/builder": "^7.0.1-alpha.71"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "bd8e41eb1eee705a32d1bf75a5900c0306331d91"
|
|
105
105
|
}
|