@things-factory/reference-app 4.0.22 → 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.
- package/attachments/1aa35791-259f-42f3-9bab-faf4dc81c54a.png +0 -0
- package/attachments/39e79f93-f50c-4d0d-9016-12ef6fc72d04.pptx +0 -0
- package/attachments/5705d276-f428-44d6-a0b8-9667671fc011.png +0 -0
- package/attachments/5f63a469-132c-4ddd-a7a8-37d01f693c9d.png +0 -0
- package/attachments/69808491-8e6b-45e2-9bf8-dccea1c5b52e.png +0 -0
- package/attachments/6c3b55e5-8a42-4afa-a456-9f540972a4b5.png +0 -0
- package/attachments/7927fe8e-2246-453d-9869-7072b983437c.png +0 -0
- package/attachments/7d150574-01b8-4439-96a0-d57299f3ffcf.png +0 -0
- package/attachments/8bacec9a-bd5d-4dbf-bbcb-9f08dd7b60d5.png +0 -0
- package/attachments/a1cf142c-f3c2-442c-b8d5-a7f9cc6a59b3.png +0 -0
- package/attachments/aedcc3d7-a4ab-4ada-98bd-0db6fa5061ba.png +0 -0
- package/attachments/c1cd9051-bcf4-4711-89a2-63dfefbd969a.png +0 -0
- package/attachments/cb3ac834-ece0-4802-bef0-dfdc0fcd93bd.png +0 -0
- package/attachments/fb06c90b-df44-4ac7-b71c-056278439290.png +0 -0
- package/client/components/ocr-viewpart.js +2 -2
- package/client/pages/context-menu-page.js +5 -4
- package/client/pages/grist-mode-page.js +2 -2
- package/client/pages/label-scan-page.js +4 -3
- package/client/pages/upload-page.js +8 -5
- package/db.sqlite +0 -0
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +3 -8
- package/logs/.33a2b6820ab05dbb0f8bea4849090e12685d0b36-audit.json +14 -0
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +16 -6
- package/logs/application-2022-01-01-00.log +6 -0
- package/logs/{connections-2021-11-04-18.log → connections-2021-11-02-11.log} +0 -0
- package/logs/{connections-2021-11-05-10.log → connections-2021-11-03-11.log} +0 -0
- package/logs/connections-2021-11-04-14.log +0 -0
- package/logs/connections-2021-11-05-18.log +0 -0
- package/logs/connections-2022-01-01-00.log +0 -0
- package/package.json +43 -43
- package/logs/application-2021-11-04-18.log +0 -5
- package/logs/application-2021-11-05-10.log +0 -8
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -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/
|
|
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
|
|
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
|
-
|
|
6
|
+
|
|
7
|
+
import { client, PageView, store } from '@things-factory/shell'
|
|
5
8
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
6
|
-
|
|
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
|
|
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
|
|
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":
|
|
10
|
-
"name": "logs/application-
|
|
11
|
-
"hash": "
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"date": 1636074434302,
|
|
15
|
-
"name": "logs/application-2021-11-05-10.log",
|
|
16
|
-
"hash": "0801faf4a6f14d48e380fc6f7f2a04e4"
|
|
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
|
+
}
|
|
@@ -6,14 +6,24 @@
|
|
|
6
6
|
"auditLog": "logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json",
|
|
7
7
|
"files": [
|
|
8
8
|
{
|
|
9
|
-
"date":
|
|
10
|
-
"name": "logs/connections-2021-11-
|
|
11
|
-
"hash": "
|
|
9
|
+
"date": 1635819464472,
|
|
10
|
+
"name": "logs/connections-2021-11-02-11.log",
|
|
11
|
+
"hash": "8bc1da3313a69261b4674f629d032e03"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
|
-
"date":
|
|
15
|
-
"name": "logs/connections-2021-11-
|
|
16
|
-
"hash": "
|
|
14
|
+
"date": 1635906208371,
|
|
15
|
+
"name": "logs/connections-2021-11-03-11.log",
|
|
16
|
+
"hash": "a1311491c36196b33b2dd55f164b95f7"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"date": 1636005260004,
|
|
20
|
+
"name": "logs/connections-2021-11-04-14.log",
|
|
21
|
+
"hash": "6d9ee9a4066c730e14f77f0396879d64"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"date": 1636103949582,
|
|
25
|
+
"name": "logs/connections-2021-11-05-18.log",
|
|
26
|
+
"hash": "f7593c79bc2d00a3832d894f74b529f8"
|
|
17
27
|
}
|
|
18
28
|
]
|
|
19
29
|
}
|
|
@@ -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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/reference-app",
|
|
3
|
-
"version": "4.0.
|
|
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.
|
|
40
|
+
"@hatiolab/things-scene": "^2.7.31",
|
|
41
41
|
"@material/mwc-checkbox": "^0.25.3",
|
|
42
|
-
"@operato/data-grist": "^0.
|
|
43
|
-
"@operato/ghost-print": "^0.
|
|
44
|
-
"@operato/input": "^0.
|
|
45
|
-
"@operato/ocr": "^0.
|
|
46
|
-
"@operato/popup": "^0.
|
|
47
|
-
"@operato/pull-to-refresh": "^0.
|
|
48
|
-
"@operato/scene-chartjs": "^0.0.
|
|
49
|
-
"@operato/scene-clock": "^0.0.
|
|
50
|
-
"@operato/scene-gauge": "^0.0.
|
|
51
|
-
"@operato/scene-indoor-map": "^0.0.
|
|
52
|
-
"@operato/scene-progressbar": "^0.0.
|
|
53
|
-
"@operato/scene-random": "^0.0.
|
|
54
|
-
"@operato/scene-switch": "^0.0.
|
|
55
|
-
"@operato/scene-tab": "^0.0.
|
|
56
|
-
"@things-factory/api": "^4.0.
|
|
57
|
-
"@things-factory/apptool-ui": "^4.0.
|
|
58
|
-
"@things-factory/auth-ui": "^4.0.
|
|
59
|
-
"@things-factory/board-service": "^4.0.
|
|
60
|
-
"@things-factory/board-ui": "^4.0.
|
|
61
|
-
"@things-factory/context-ui": "^4.0.
|
|
62
|
-
"@things-factory/dashboard": "^4.0.
|
|
63
|
-
"@things-factory/export-ui": "^4.0.
|
|
64
|
-
"@things-factory/export-ui-excel": "^4.0.
|
|
65
|
-
"@things-factory/grist-ui": "^4.0.
|
|
66
|
-
"@things-factory/help": "^4.0.
|
|
67
|
-
"@things-factory/i18n-ui": "^4.0.
|
|
68
|
-
"@things-factory/integration-ui": "^4.0.
|
|
69
|
-
"@things-factory/lite-menu": "^4.0.
|
|
70
|
-
"@things-factory/more-ui": "^4.0.
|
|
71
|
-
"@things-factory/notification": "^4.0.
|
|
72
|
-
"@things-factory/oauth2-client": "^4.0.
|
|
73
|
-
"@things-factory/print-ui": "^4.0.
|
|
74
|
-
"@things-factory/resource-ui": "^4.0.
|
|
75
|
-
"@things-factory/scene-form": "^4.0.
|
|
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.
|
|
78
|
-
"@things-factory/setting-base": "^4.0.
|
|
79
|
-
"@things-factory/setting-ui": "^4.0.
|
|
80
|
-
"@things-factory/shell": "^4.0.
|
|
81
|
-
"@things-factory/system-ui": "^4.0.
|
|
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.
|
|
84
|
+
"@things-factory/builder": "^4.0.26"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "c4b39c74b9ce2472f30c26eb36ec62054c1ecf82"
|
|
87
87
|
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
2021-11-04T09:42:01.038Z info: File Storage is Ready.
|
|
2
|
-
2021-11-04T09:50:26.976Z info: File Storage is Ready.
|
|
3
|
-
2021-11-04T09:50:30.283Z info: Database connection established
|
|
4
|
-
2021-11-04T09:50:31.359Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
5
|
-
2021-11-04T09:50:31.359Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
2021-11-05T01:07:16.354Z info: File Storage is Ready.
|
|
2
|
-
2021-11-05T01:07:20.786Z info: Database connection established
|
|
3
|
-
2021-11-05T01:07:21.798Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
4
|
-
2021-11-05T01:07:21.798Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
|
|
5
|
-
2021-11-05T01:34:14.817Z info: File Storage is Ready.
|
|
6
|
-
2021-11-05T01:34:17.882Z info: Database connection established
|
|
7
|
-
2021-11-05T01:34:19.042Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
8
|
-
2021-11-05T01:34:19.043Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
|