@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 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;
@@ -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-msg msgid="text.help"></i18n-msg> `,
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-msg msgid="title.total"></i18n-msg> : <strong>${fleets.length}</strong></div>
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-msg msgid="title.total"></i18n-msg> : <strong>${total}</strong></div>
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-msg slot="title" msgid="title.infowindow setting"></i18n-msg>
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}</i18n-msg></label>
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
- 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``
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.18",
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.13",
72
- "@things-factory/attachment-base": "^6.0.0-alpha.13",
73
- "@things-factory/auth-ui": "^6.0.0-alpha.13",
74
- "@things-factory/biz-base": "^6.0.0-alpha.13",
75
- "@things-factory/board-service": "^6.0.0-alpha.13",
76
- "@things-factory/board-ui": "^6.0.0-alpha.17",
77
- "@things-factory/code-ui": "^6.0.0-alpha.17",
78
- "@things-factory/context-ui": "^6.0.0-alpha.13",
79
- "@things-factory/dashboard": "^6.0.0-alpha.17",
80
- "@things-factory/export-ui": "^6.0.0-alpha.13",
81
- "@things-factory/export-ui-csv": "^6.0.0-alpha.13",
82
- "@things-factory/export-ui-excel": "^6.0.0-alpha.18",
83
- "@things-factory/grist-ui": "^6.0.0-alpha.13",
84
- "@things-factory/help": "^6.0.0-alpha.13",
85
- "@things-factory/i18n-base": "^6.0.0-alpha.13",
86
- "@things-factory/integration-fulfillment": "^6.0.0-alpha.18",
87
- "@things-factory/integration-marketplace": "^6.0.0-alpha.18",
88
- "@things-factory/more-ui": "^6.0.0-alpha.13",
89
- "@things-factory/notification": "^6.0.0-alpha.13",
90
- "@things-factory/oauth2-client": "^6.0.0-alpha.13",
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.18",
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.13",
95
- "@things-factory/setting-ui": "^6.0.0-alpha.13",
96
- "@things-factory/system-ui": "^6.0.0-alpha.13",
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": "effb2327e699c2880833aa2b1c412a2a323176e1"
102
+ "gitHead": "6e50e3cefe9c4158500f3cb2bf14300684c05623"
103
103
  }
@@ -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
 
@@ -63,6 +63,8 @@
63
63
  font-family: Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
64
64
  line-height: 1.5;
65
65
  -webkit-font-smoothing: antialiased;
66
+
67
+ accent-color: var(--primary-color);
66
68
  }
67
69
  </style>
68
70