@things-factory/operato-fleet 10.0.0-beta.1 → 10.0.0-beta.101

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,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
@@ -1 +1,2 @@
1
- export declare function initMiddlewares(app: any): void;
1
+ import Koa from 'koa';
2
+ export declare function initMiddlewares(_app: Koa): void;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.initMiddlewares = initMiddlewares;
4
- function initMiddlewares(app) {
4
+ function initMiddlewares(_app) {
5
5
  /* can add middlewares into app */
6
6
  }
7
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/middlewares/index.ts"],"names":[],"mappings":";;AAAA,0CAEC;AAFD,SAAgB,eAAe,CAAC,GAAG;IACjC,kCAAkC;AACpC,CAAC","sourcesContent":["export function initMiddlewares(app) {\n /* can add middlewares into app */\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/middlewares/index.ts"],"names":[],"mappings":";;AAEA,0CAEC;AAFD,SAAgB,eAAe,CAAC,IAAS;IACvC,kCAAkC;AACpC,CAAC","sourcesContent":["import Koa from 'koa'\n\nexport function initMiddlewares(_app: Koa) {\n /* can add middlewares into app */\n}\n"]}