@things-factory/reference-app 4.0.25 → 4.0.26

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 './camera-capturer'
2
2
  import '@material/mwc-button'
3
- import '@operato/ocr'
3
+ import '@operato/ocr/ox-ocr-helper.js'
4
4
 
5
5
  import { gql } from 'graphql-tag'
6
6
  import { css, html, LitElement } from 'lit-element'
@@ -71,7 +71,7 @@ class OCRViewPart extends LitElement {
71
71
  boundaries = boundaries.concat(JSON.parse(barcodeResult[i].boundaries))
72
72
  let texts = ocrResult[i].texts.concat(barcodeResult[i].texts)
73
73
  results.push({ boundaries, texts })
74
- } catch(err) {
74
+ } catch (err) {
75
75
  console.error(err)
76
76
  }
77
77
  }
@@ -1,11 +1,12 @@
1
1
  import '@material/mwc-icon'
2
- import '@operato/popup'
2
+ import '@operato/popup/ox-popup-menu.js'
3
3
 
4
- import { PageView, store } from '@things-factory/shell'
5
4
  import { css, html } from 'lit-element'
6
-
7
- import { OxPopupMenu } from '@operato/popup'
8
5
  import { connect } from 'pwa-helpers/connect-mixin.js'
6
+
7
+ import { OxPopupMenu } from '@operato/popup/ox-popup-menu.js'
8
+ import { PageView, store } from '@things-factory/shell'
9
+
9
10
  import { referencePageStyles } from './reference-page-styles'
10
11
 
11
12
  class ContextMenuPage extends connect(store)(PageView) {
@@ -1,9 +1,9 @@
1
- import '@operato/popup'
1
+ import '@operato/popup/ox-popup-list.js'
2
2
  import '@operato/data-grist'
3
3
 
4
4
  import { css, html } from 'lit-element'
5
- import { i18next, localize } from '@things-factory/i18n-base'
6
5
 
6
+ import { i18next, localize } from '@things-factory/i18n-base'
7
7
  import { PageView } from '@things-factory/shell'
8
8
 
9
9
  class GristModePage extends localize(i18next)(PageView) {
@@ -1,10 +1,11 @@
1
1
  import '@things-factory/barcode-ui'
2
- import '@operato/input/dist/src/ox-input-barcode.js'
2
+ import '@operato/input/ox-input-barcode.js'
3
3
 
4
- import { PageView, store } from '@things-factory/shell'
5
4
  import { css, html } from 'lit-element'
6
-
7
5
  import { connect } from 'pwa-helpers/connect-mixin.js'
6
+
7
+ import { PageView, store } from '@things-factory/shell'
8
+
8
9
  import { referencePageStyles } from './reference-page-styles'
9
10
 
10
11
  class LabelScanPage extends connect(store)(PageView) {
@@ -1,9 +1,12 @@
1
- import { html, css } from 'lit-element'
1
+ import '@operato/input/ox-input-file.js'
2
+
2
3
  import { gql } from 'graphql-tag'
4
+ import { css, html } from 'lit-element'
3
5
  import { connect } from 'pwa-helpers/connect-mixin.js'
4
- import { client, store, PageView } from '@things-factory/shell'
6
+
7
+ import { client, PageView, store } from '@things-factory/shell'
5
8
  import { CommonButtonStyles } from '@things-factory/styles'
6
- import '@things-factory/form-ui'
9
+
7
10
  import { referencePageStyles } from './reference-page-styles'
8
11
 
9
12
  class UploadPage extends connect(store)(PageView) {
@@ -43,7 +46,7 @@ class UploadPage extends connect(store)(PageView) {
43
46
  <section>
44
47
  <div attachment-wrap>
45
48
  <label>Upload documents</label>
46
- <file-uploader
49
+ <ox-input-file
47
50
  name="attachments"
48
51
  id="uploadDocument"
49
52
  label="Select Files"
@@ -51,7 +54,7 @@ class UploadPage extends connect(store)(PageView) {
51
54
  multiple="true"
52
55
  ?hidden=${false}
53
56
  custom-input
54
- ></file-uploader>
57
+ ></ox-input-file>
55
58
  </div>
56
59
  <div id="result"></div>
57
60
  </section>
package/db.sqlite CHANGED
Binary file
@@ -6,14 +6,9 @@
6
6
  "auditLog": "logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json",
7
7
  "files": [
8
8
  {
9
- "date": 1636005255512,
10
- "name": "logs/application-2021-11-04-14.log",
11
- "hash": "82baeb9d01f51b2ebdb89d58c735e058"
12
- },
13
- {
14
- "date": 1636103946107,
15
- "name": "logs/application-2021-11-05-18.log",
16
- "hash": "dca379ac4e315b99f4a38f1350437523"
9
+ "date": 1640966865693,
10
+ "name": "logs/application-2022-01-01-00.log",
11
+ "hash": "396a92fa43d0229609373390de513cdd"
17
12
  }
18
13
  ]
19
14
  }
@@ -0,0 +1,14 @@
1
+ {
2
+ "keep": {
3
+ "days": true,
4
+ "amount": 14
5
+ },
6
+ "auditLog": "logs/.33a2b6820ab05dbb0f8bea4849090e12685d0b36-audit.json",
7
+ "files": [
8
+ {
9
+ "date": 1640966868409,
10
+ "name": "logs/connections-2022-01-01-00.log",
11
+ "hash": "30cd7f1157b4efdd264957756d0da1da"
12
+ }
13
+ ]
14
+ }
@@ -0,0 +1,6 @@
1
+ 2021-12-31T16:07:47.529Z info: File Storage is Ready.
2
+ 2021-12-31T16:07:51.360Z info: Database connection established
3
+ 2021-12-31T16:07:52.386Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
+ 2021-12-31T16:07:52.386Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
5
+ 2021-12-31T16:10:37.594Z error: Only absolute URLs are supported
6
+ 2021-12-31T16:11:32.986Z error: Only absolute URLs are supported
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/reference-app",
3
- "version": "4.0.25",
3
+ "version": "4.0.26",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -37,51 +37,51 @@
37
37
  "docker:run": "docker run -it -p 4000:3000 hatiolab/reference-app:latest"
38
38
  },
39
39
  "dependencies": {
40
- "@hatiolab/things-scene": "^2.7.30",
40
+ "@hatiolab/things-scene": "^2.7.31",
41
41
  "@material/mwc-checkbox": "^0.25.3",
42
- "@operato/data-grist": "^0.2.52",
43
- "@operato/ghost-print": "^0.2.52",
44
- "@operato/input": "^0.2.52",
45
- "@operato/ocr": "^0.2.52",
46
- "@operato/popup": "^0.2.52",
47
- "@operato/pull-to-refresh": "^0.2.52",
48
- "@operato/scene-chartjs": "^0.0.24",
49
- "@operato/scene-clock": "^0.0.24",
50
- "@operato/scene-gauge": "^0.0.24",
51
- "@operato/scene-indoor-map": "^0.0.24",
52
- "@operato/scene-progressbar": "^0.0.24",
53
- "@operato/scene-random": "^0.0.24",
54
- "@operato/scene-switch": "^0.0.24",
55
- "@operato/scene-tab": "^0.0.24",
56
- "@things-factory/api": "^4.0.25",
57
- "@things-factory/apptool-ui": "^4.0.25",
58
- "@things-factory/auth-ui": "^4.0.25",
59
- "@things-factory/board-service": "^4.0.25",
60
- "@things-factory/board-ui": "^4.0.25",
61
- "@things-factory/context-ui": "^4.0.25",
62
- "@things-factory/dashboard": "^4.0.25",
63
- "@things-factory/export-ui": "^4.0.25",
64
- "@things-factory/export-ui-excel": "^4.0.25",
65
- "@things-factory/grist-ui": "^4.0.25",
66
- "@things-factory/help": "^4.0.25",
67
- "@things-factory/i18n-ui": "^4.0.25",
68
- "@things-factory/integration-ui": "^4.0.25",
69
- "@things-factory/lite-menu": "^4.0.25",
70
- "@things-factory/more-ui": "^4.0.25",
71
- "@things-factory/notification": "^4.0.25",
72
- "@things-factory/oauth2-client": "^4.0.25",
73
- "@things-factory/print-ui": "^4.0.25",
74
- "@things-factory/resource-ui": "^4.0.25",
75
- "@things-factory/scene-form": "^4.0.25",
42
+ "@operato/data-grist": "^0.3.1",
43
+ "@operato/ghost-print": "^0.3.1",
44
+ "@operato/input": "^0.3.1",
45
+ "@operato/ocr": "^0.3.1",
46
+ "@operato/popup": "^0.3.1",
47
+ "@operato/pull-to-refresh": "^0.3.1",
48
+ "@operato/scene-chartjs": "^0.0.25",
49
+ "@operato/scene-clock": "^0.0.25",
50
+ "@operato/scene-gauge": "^0.0.25",
51
+ "@operato/scene-indoor-map": "^0.0.25",
52
+ "@operato/scene-progressbar": "^0.0.25",
53
+ "@operato/scene-random": "^0.0.25",
54
+ "@operato/scene-switch": "^0.0.25",
55
+ "@operato/scene-tab": "^0.0.25",
56
+ "@things-factory/api": "^4.0.26",
57
+ "@things-factory/apptool-ui": "^4.0.26",
58
+ "@things-factory/auth-ui": "^4.0.26",
59
+ "@things-factory/board-service": "^4.0.26",
60
+ "@things-factory/board-ui": "^4.0.26",
61
+ "@things-factory/context-ui": "^4.0.26",
62
+ "@things-factory/dashboard": "^4.0.26",
63
+ "@things-factory/export-ui": "^4.0.26",
64
+ "@things-factory/export-ui-excel": "^4.0.26",
65
+ "@things-factory/grist-ui": "^4.0.26",
66
+ "@things-factory/help": "^4.0.26",
67
+ "@things-factory/i18n-ui": "^4.0.26",
68
+ "@things-factory/integration-ui": "^4.0.26",
69
+ "@things-factory/lite-menu": "^4.0.26",
70
+ "@things-factory/more-ui": "^4.0.26",
71
+ "@things-factory/notification": "^4.0.26",
72
+ "@things-factory/oauth2-client": "^4.0.26",
73
+ "@things-factory/print-ui": "^4.0.26",
74
+ "@things-factory/resource-ui": "^4.0.26",
75
+ "@things-factory/scene-form": "^4.0.26",
76
76
  "@things-factory/scene-half-roundrect": "^4.0.9",
77
- "@things-factory/scene-news-ticker": "^4.0.25",
78
- "@things-factory/setting-base": "^4.0.25",
79
- "@things-factory/setting-ui": "^4.0.25",
80
- "@things-factory/shell": "^4.0.25",
81
- "@things-factory/system-ui": "^4.0.25"
77
+ "@things-factory/scene-news-ticker": "^4.0.26",
78
+ "@things-factory/setting-base": "^4.0.26",
79
+ "@things-factory/setting-ui": "^4.0.26",
80
+ "@things-factory/shell": "^4.0.26",
81
+ "@things-factory/system-ui": "^4.0.26"
82
82
  },
83
83
  "devDependencies": {
84
- "@things-factory/builder": "^4.0.25"
84
+ "@things-factory/builder": "^4.0.26"
85
85
  },
86
- "gitHead": "9c44141d651dab7b4a9c0f0b6fecb8d6937d116f"
86
+ "gitHead": "c4b39c74b9ce2472f30c26eb36ec62054c1ecf82"
87
87
  }
@@ -1,4 +0,0 @@
1
- 2021-11-04T05:54:18.294Z info: File Storage is Ready.
2
- 2021-11-04T05:54:26.107Z info: Database connection established
3
- 2021-11-04T05:54:30.807Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
- 2021-11-04T05:54:30.812Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
@@ -1,6 +0,0 @@
1
- 2021-11-05T09:19:08.124Z info: File Storage is Ready.
2
- 2021-11-05T09:19:12.759Z info: Database connection established
3
- 2021-11-05T09:19:47.437Z info: File Storage is Ready.
4
- 2021-11-05T09:19:51.042Z info: Database connection established
5
- 2021-11-05T09:19:51.851Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
6
- 2021-11-05T09:19:51.851Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions