@things-factory/reference-app 4.0.32 → 4.0.36

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.
@@ -197,10 +197,14 @@ class GristModePage extends localize(i18next)(PageView) {
197
197
  name: 'HatioSEA',
198
198
  description: `말레이시아 세티아알람-${start + idx + 1}`
199
199
  },
200
- image:
201
- idx % 2
200
+ thumbnail:
201
+ idx % 4 === 0
202
+ ? '' /* no source */
203
+ : idx % 4 === 1
202
204
  ? `http://www.hatiolab.com/assets/img/operato-biz3.png`
203
- : `http://www.hatiolab.com/assets/img/thingsboard-30.png`,
205
+ : idx % 4 === 2
206
+ ? `http://www.hatiolab.com/assets/img/thingsboard-30.png`
207
+ : `http://www.hatiolab.com/wrong-url.png` /* wrong source */,
204
208
  role: ['admin', 'worker', 'tester'][idx % 3],
205
209
  color: idx % 2 ? `#87f018` : `#180f87`,
206
210
  rate: Math.round(Math.random() * 100),
@@ -222,9 +226,7 @@ class GristModePage extends localize(i18next)(PageView) {
222
226
  get gristConfig() {
223
227
  return {
224
228
  list: {
225
- thumbnail: function (record, rowIndex) {
226
- return html` <img src=${record.image} style="width: 100%; height: 100%;" /> `
227
- },
229
+ thumbnail: 'thumbnail',
228
230
  fields: ['name', 'description'],
229
231
  details: ['role', 'email']
230
232
  },
@@ -270,6 +272,9 @@ class GristModePage extends localize(i18next)(PageView) {
270
272
  // target: '_blank'
271
273
  }
272
274
  },
275
+ filter: {
276
+ type: 'text'
277
+ },
273
278
  sortable: true,
274
279
  width: 120
275
280
  },
@@ -296,6 +301,7 @@ class GristModePage extends localize(i18next)(PageView) {
296
301
  record: {
297
302
  editable: true
298
303
  },
304
+ filter: true,
299
305
  sortable: true,
300
306
  width: 130,
301
307
  validation: function (after, before, record, column) {
@@ -338,6 +344,9 @@ class GristModePage extends localize(i18next)(PageView) {
338
344
  options: ['admin', 'worker', 'tester'],
339
345
  editable: true
340
346
  },
347
+ filter: {
348
+ options: ['admin', 'worker', 'tester', 'xyz', 'VERY']
349
+ },
341
350
  sortable: true,
342
351
  width: 120
343
352
  },
@@ -359,6 +368,9 @@ class GristModePage extends localize(i18next)(PageView) {
359
368
  align: 'right',
360
369
  editable: true
361
370
  },
371
+ filter: {
372
+ operator: 'between'
373
+ },
362
374
  sortable: true,
363
375
  width: 50
364
376
  },
@@ -368,6 +380,11 @@ class GristModePage extends localize(i18next)(PageView) {
368
380
  header: 'JSON5',
369
381
  width: 200
370
382
  },
383
+ {
384
+ type: 'image',
385
+ name: 'thumbnail',
386
+ hidden: true
387
+ },
371
388
  {
372
389
  type: 'datetime',
373
390
  name: 'updatedAt',
@@ -375,6 +392,10 @@ class GristModePage extends localize(i18next)(PageView) {
375
392
  record: {
376
393
  editable: true
377
394
  },
395
+ filter: {
396
+ type: 'datetime',
397
+ operator: 'between'
398
+ },
378
399
  sortable: true,
379
400
  width: 180
380
401
  },
package/db.sqlite CHANGED
Binary file
@@ -6,24 +6,14 @@
6
6
  "auditLog": "logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json",
7
7
  "files": [
8
8
  {
9
- "date": 1638784227578,
10
- "name": "logs/application-2021-12-06-18.log",
11
- "hash": "54fabcf9798be8b227267b7e42863eea"
9
+ "date": 1642401811109,
10
+ "name": "logs/application-2022-01-17-14.log",
11
+ "hash": "018ea8f214b453b9829f50ee0ae3bd89"
12
12
  },
13
13
  {
14
- "date": 1638785300521,
15
- "name": "logs/application-2021-12-06-19.log",
16
- "hash": "b4b397e740c5c28a3ab8c801fd6658ff"
17
- },
18
- {
19
- "date": 1638870081374,
20
- "name": "logs/application-2021-12-07-18.log",
21
- "hash": "4cc64d074f8373ed8f05e6cabb419761"
22
- },
23
- {
24
- "date": 1638955223539,
25
- "name": "logs/application-2021-12-08-18.log",
26
- "hash": "ad858c21b29a773095da3d9c31f7006b"
14
+ "date": 1642404084548,
15
+ "name": "logs/application-2022-01-17-15.log",
16
+ "hash": "2da05a10e29450c72b04e41ca3a6b01e"
27
17
  }
28
18
  ]
29
19
  }
@@ -0,0 +1,19 @@
1
+ {
2
+ "keep": {
3
+ "days": true,
4
+ "amount": 14
5
+ },
6
+ "auditLog": "logs/.33a2b6820ab05dbb0f8bea4849090e12685d0b36-audit.json",
7
+ "files": [
8
+ {
9
+ "date": 1642401813135,
10
+ "name": "logs/connections-2022-01-17-14.log",
11
+ "hash": "54983a7bd04c80ef30efdcf1deaeebdf"
12
+ },
13
+ {
14
+ "date": 1642404086390,
15
+ "name": "logs/connections-2022-01-17-15.log",
16
+ "hash": "bf7d0da37a4cb017ff4a2dc12ff94639"
17
+ }
18
+ ]
19
+ }
@@ -0,0 +1,4 @@
1
+ 2022-01-17T06:43:32.236Z info: File Storage is Ready.
2
+ 2022-01-17T06:43:34.636Z info: Database connection established
3
+ 2022-01-17T06:43:35.277Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
+ 2022-01-17T06:43:35.277Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
@@ -0,0 +1,4 @@
1
+ 2022-01-17T07:21:25.484Z info: File Storage is Ready.
2
+ 2022-01-17T07:21:27.970Z info: Database connection established
3
+ 2022-01-17T07:21:28.574Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
+ 2022-01-17T07:21:28.575Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
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.32",
3
+ "version": "4.0.36",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -39,12 +39,12 @@
39
39
  "dependencies": {
40
40
  "@hatiolab/things-scene": "^2.7.31",
41
41
  "@material/mwc-checkbox": "^0.25.3",
42
- "@operato/data-grist": "^0.3.7",
43
- "@operato/ghost-print": "^0.3.7",
44
- "@operato/input": "^0.3.7",
45
- "@operato/ocr": "^0.3.7",
46
- "@operato/popup": "^0.3.7",
47
- "@operato/pull-to-refresh": "^0.3.7",
42
+ "@operato/data-grist": "^0.3.16",
43
+ "@operato/ghost-print": "^0.3.16",
44
+ "@operato/input": "^0.3.16",
45
+ "@operato/ocr": "^0.3.16",
46
+ "@operato/popup": "^0.3.16",
47
+ "@operato/pull-to-refresh": "^0.3.16",
48
48
  "@operato/scene-chartjs": "^0.1.2",
49
49
  "@operato/scene-clock": "^0.1.2",
50
50
  "@operato/scene-gauge": "^0.1.2",
@@ -53,35 +53,35 @@
53
53
  "@operato/scene-random": "^0.1.2",
54
54
  "@operato/scene-switch": "^0.1.2",
55
55
  "@operato/scene-tab": "^0.1.2",
56
- "@things-factory/api": "^4.0.32",
57
- "@things-factory/apptool-ui": "^4.0.32",
58
- "@things-factory/auth-ui": "^4.0.32",
59
- "@things-factory/board-service": "^4.0.32",
60
- "@things-factory/board-ui": "^4.0.32",
61
- "@things-factory/context-ui": "^4.0.32",
62
- "@things-factory/dashboard": "^4.0.32",
63
- "@things-factory/export-ui": "^4.0.32",
64
- "@things-factory/export-ui-excel": "^4.0.32",
65
- "@things-factory/grist-ui": "^4.0.32",
66
- "@things-factory/help": "^4.0.32",
67
- "@things-factory/i18n-ui": "^4.0.32",
68
- "@things-factory/integration-ui": "^4.0.32",
69
- "@things-factory/lite-menu": "^4.0.32",
70
- "@things-factory/more-ui": "^4.0.32",
71
- "@things-factory/notification": "^4.0.32",
72
- "@things-factory/oauth2-client": "^4.0.32",
73
- "@things-factory/print-ui": "^4.0.32",
74
- "@things-factory/resource-ui": "^4.0.32",
75
- "@things-factory/scene-form": "^4.0.32",
56
+ "@things-factory/api": "^4.0.36",
57
+ "@things-factory/apptool-ui": "^4.0.36",
58
+ "@things-factory/auth-ui": "^4.0.36",
59
+ "@things-factory/board-service": "^4.0.36",
60
+ "@things-factory/board-ui": "^4.0.36",
61
+ "@things-factory/context-ui": "^4.0.36",
62
+ "@things-factory/dashboard": "^4.0.36",
63
+ "@things-factory/export-ui": "^4.0.36",
64
+ "@things-factory/export-ui-excel": "^4.0.36",
65
+ "@things-factory/grist-ui": "^4.0.36",
66
+ "@things-factory/help": "^4.0.36",
67
+ "@things-factory/i18n-ui": "^4.0.36",
68
+ "@things-factory/integration-ui": "^4.0.36",
69
+ "@things-factory/lite-menu": "^4.0.36",
70
+ "@things-factory/more-ui": "^4.0.36",
71
+ "@things-factory/notification": "^4.0.36",
72
+ "@things-factory/oauth2-client": "^4.0.36",
73
+ "@things-factory/print-ui": "^4.0.36",
74
+ "@things-factory/resource-ui": "^4.0.36",
75
+ "@things-factory/scene-form": "^4.0.36",
76
76
  "@things-factory/scene-half-roundrect": "^4.0.9",
77
- "@things-factory/scene-news-ticker": "^4.0.32",
78
- "@things-factory/setting-base": "^4.0.32",
79
- "@things-factory/setting-ui": "^4.0.32",
80
- "@things-factory/shell": "^4.0.32",
81
- "@things-factory/system-ui": "^4.0.32"
77
+ "@things-factory/scene-news-ticker": "^4.0.36",
78
+ "@things-factory/setting-base": "^4.0.36",
79
+ "@things-factory/setting-ui": "^4.0.36",
80
+ "@things-factory/shell": "^4.0.36",
81
+ "@things-factory/system-ui": "^4.0.36"
82
82
  },
83
83
  "devDependencies": {
84
- "@things-factory/builder": "^4.0.32"
84
+ "@things-factory/builder": "^4.0.36"
85
85
  },
86
- "gitHead": "a1a16e7d4531ae3ff035295fc7bf05bf0d3153a7"
86
+ "gitHead": "132ab9f8af8c34f73bcd81a9776769a6929e13ee"
87
87
  }
@@ -1,9 +0,0 @@
1
- 2021-12-06T09:50:28.854Z info: File Storage is Ready.
2
- 2021-12-06T09:50:31.136Z info: Database connection established
3
- 2021-12-06T09:50:32.020Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
- 2021-12-06T09:50:32.021Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
5
- 2021-12-06T09:51:59.909Z error: Cannot return null for non-nullable field Query.ocrRequest.
6
- 2021-12-06T09:53:38.961Z info: File Storage is Ready.
7
- 2021-12-06T09:53:42.474Z info: Database connection established
8
- 2021-12-06T09:53:43.432Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
9
- 2021-12-06T09:53:43.432Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
@@ -1,12 +0,0 @@
1
- 2021-12-06T10:08:22.719Z info: File Storage is Ready.
2
- 2021-12-06T10:08:26.386Z info: Database connection established
3
- 2021-12-06T10:08:27.523Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
- 2021-12-06T10:08:27.525Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
5
- 2021-12-06T10:08:55.224Z error: Cannot return null for non-nullable field Query.ocrRequest.
6
- 2021-12-06T10:09:44.525Z error: Cannot return null for non-nullable field Query.ocrRequest.
7
- 2021-12-06T10:10:45.038Z error: Cannot return null for non-nullable field Query.ocrRequest.
8
- 2021-12-06T10:12:39.788Z info: File Storage is Ready.
9
- 2021-12-06T10:12:43.278Z info: Database connection established
10
- 2021-12-06T10:12:44.229Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
11
- 2021-12-06T10:12:44.232Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
12
- 2021-12-06T10:16:03.993Z error: Cannot return null for non-nullable field Query.ocrRequest.
@@ -1,5 +0,0 @@
1
- 2021-12-07T09:41:22.237Z info: File Storage is Ready.
2
- 2021-12-07T09:41:24.285Z info: Database connection established
3
- 2021-12-07T09:41:24.877Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
- 2021-12-07T09:41:24.878Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
5
- 2021-12-07T09:54:16.589Z error: Cannot return null for non-nullable field Query.ocrRequest.
@@ -1,16 +0,0 @@
1
- 2021-12-08T09:20:25.026Z info: File Storage is Ready.
2
- 2021-12-08T09:20:27.478Z info: Database connection established
3
- 2021-12-08T09:20:28.313Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
- 2021-12-08T09:20:28.314Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
5
- 2021-12-08T09:21:54.796Z info: File Storage is Ready.
6
- 2021-12-08T09:21:56.979Z info: Database connection established
7
- 2021-12-08T09:21:57.918Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
8
- 2021-12-08T09:21:57.918Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
9
- 2021-12-08T09:22:40.717Z error: Cannot return null for non-nullable field Query.ocrRequest.
10
- 2021-12-08T09:26:23.731Z error: Cannot return null for non-nullable field Query.ocrRequest.
11
- 2021-12-08T09:26:39.606Z error: Cannot return null for non-nullable field Query.ocrRequest.
12
- 2021-12-08T09:27:54.539Z info: File Storage is Ready.
13
- 2021-12-08T09:27:58.345Z info: Database connection established
14
- 2021-12-08T09:27:59.422Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
15
- 2021-12-08T09:27:59.424Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
16
- 2021-12-08T09:29:47.545Z error: Cannot return null for non-nullable field Query.ocrRequest.