@things-factory/reference-app 4.1.2 → 4.1.12

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.
@@ -37,7 +37,7 @@ class ContextPage extends connect(store)(PageView) {
37
37
  get context() {
38
38
  return {
39
39
  title: this.title,
40
- actions: [this.action],
40
+ actions: this.actions,
41
41
  importable: this.importable && {
42
42
  handler: records => {
43
43
  openImportPopUp(
@@ -167,16 +167,17 @@ class ContextPage extends connect(store)(PageView) {
167
167
 
168
168
  updated(changes) {
169
169
  if (this.actionStyle) {
170
- this.action = {
171
- title: this.actionTitle || '',
172
- action: () => {
173
- alert(this.actionTitle || '')
174
- },
175
- ...CommonButtonStyles[this.actionStyle]
176
- }
177
- console.log('this.actionStyle')
170
+ this.actions = this.actionTitle.split(',').map(title => {
171
+ return {
172
+ title: title || '',
173
+ action: () => {
174
+ alert(title || '')
175
+ },
176
+ ...CommonButtonStyles[this.actionStyle]
177
+ }
178
+ })
178
179
  } else {
179
- this.action = null
180
+ this.actions = []
180
181
  }
181
182
 
182
183
  this.updateContext()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/reference-app",
3
- "version": "4.1.2",
3
+ "version": "4.1.12",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -49,44 +49,44 @@
49
49
  "@operato/ocr": "^0.3.28",
50
50
  "@operato/popup": "^0.3.28",
51
51
  "@operato/pull-to-refresh": "^0.3.28",
52
- "@operato/scene-chartjs": "^0.1.4",
53
- "@operato/scene-clock": "^0.1.4",
54
- "@operato/scene-gauge": "^0.1.4",
55
- "@operato/scene-half-roundrect": "^0.1.4",
56
- "@operato/scene-indoor-map": "^0.1.4",
57
- "@operato/scene-progressbar": "^0.1.4",
58
- "@operato/scene-random": "^0.1.4",
59
- "@operato/scene-switch": "^0.1.4",
60
- "@operato/scene-tab": "^0.1.4",
52
+ "@operato/scene-chartjs": "^0.1.5",
53
+ "@operato/scene-clock": "^0.1.5",
54
+ "@operato/scene-gauge": "^0.1.5",
55
+ "@operato/scene-half-roundrect": "^0.1.5",
56
+ "@operato/scene-indoor-map": "^0.1.5",
57
+ "@operato/scene-news-ticker": "^0.1.5",
58
+ "@operato/scene-progressbar": "^0.1.5",
59
+ "@operato/scene-random": "^0.1.5",
60
+ "@operato/scene-switch": "^0.1.5",
61
+ "@operato/scene-tab": "^0.1.5",
61
62
  "@operato/shell": "^0.3.28",
62
63
  "@operato/utils": "^0.3.28",
63
- "@things-factory/api": "^4.1.2",
64
- "@things-factory/apptool-ui": "^4.1.2",
65
- "@things-factory/auth-ui": "^4.1.2",
66
- "@things-factory/board-service": "^4.1.2",
67
- "@things-factory/board-ui": "^4.1.2",
68
- "@things-factory/context-ui": "^4.1.2",
69
- "@things-factory/dashboard": "^4.1.2",
70
- "@things-factory/export-ui": "^4.1.2",
71
- "@things-factory/export-ui-excel": "^4.1.2",
72
- "@things-factory/grist-ui": "^4.1.2",
73
- "@things-factory/help": "^4.1.2",
74
- "@things-factory/integration-ui": "^4.1.2",
75
- "@things-factory/lite-menu": "^4.1.2",
76
- "@things-factory/more-ui": "^4.1.2",
77
- "@things-factory/notification": "^4.1.2",
78
- "@things-factory/oauth2-client": "^4.1.2",
79
- "@things-factory/print-ui": "^4.1.2",
80
- "@things-factory/resource-ui": "^4.1.2",
81
- "@things-factory/scene-form": "^4.1.2",
82
- "@things-factory/scene-news-ticker": "^4.1.2",
83
- "@things-factory/setting-base": "^4.1.2",
84
- "@things-factory/setting-ui": "^4.1.2",
85
- "@things-factory/shell": "^4.1.2",
86
- "@things-factory/system-ui": "^4.1.2"
64
+ "@things-factory/api": "^4.1.12",
65
+ "@things-factory/apptool-ui": "^4.1.12",
66
+ "@things-factory/auth-ui": "^4.1.12",
67
+ "@things-factory/board-service": "^4.1.12",
68
+ "@things-factory/board-ui": "^4.1.12",
69
+ "@things-factory/context-ui": "^4.1.12",
70
+ "@things-factory/dashboard": "^4.1.12",
71
+ "@things-factory/export-ui": "^4.1.12",
72
+ "@things-factory/export-ui-excel": "^4.1.12",
73
+ "@things-factory/grist-ui": "^4.1.12",
74
+ "@things-factory/help": "^4.1.12",
75
+ "@things-factory/integration-ui": "^4.1.12",
76
+ "@things-factory/lite-menu": "^4.1.12",
77
+ "@things-factory/more-ui": "^4.1.12",
78
+ "@things-factory/notification": "^4.1.12",
79
+ "@things-factory/oauth2-client": "^4.1.12",
80
+ "@things-factory/print-ui": "^4.1.12",
81
+ "@things-factory/resource-ui": "^4.1.12",
82
+ "@things-factory/scene-form": "^4.1.12",
83
+ "@things-factory/setting-base": "^4.1.12",
84
+ "@things-factory/setting-ui": "^4.1.12",
85
+ "@things-factory/shell": "^4.1.12",
86
+ "@things-factory/system-ui": "^4.1.12"
87
87
  },
88
88
  "devDependencies": {
89
- "@things-factory/builder": "^4.1.2"
89
+ "@things-factory/builder": "^4.1.12"
90
90
  },
91
- "gitHead": "46164ac6b9b2a15c4ff6af5d83d0435f28fff80a"
91
+ "gitHead": "9055b83aa979f9c2d706b02cf8d73d848522d7dd"
92
92
  }
package/db.sqlite DELETED
Binary file
@@ -1,14 +0,0 @@
1
- {
2
- "keep": {
3
- "days": true,
4
- "amount": 2
5
- },
6
- "auditLog": "logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json",
7
- "files": [
8
- {
9
- "date": 1632981885831,
10
- "name": "logs/application-2021-09-30-15.log",
11
- "hash": "515e7b9c4a0e33cfa4f1218a88c8f042"
12
- }
13
- ]
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "keep": {
3
- "days": true,
4
- "amount": 14
5
- },
6
- "auditLog": "logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json",
7
- "files": [
8
- {
9
- "date": 1632981891881,
10
- "name": "logs/connections-2021-09-30-15.log",
11
- "hash": "96dfe267599a1dba08dca294e7d8d0d1"
12
- }
13
- ]
14
- }
@@ -1,14 +0,0 @@
1
- 2021-09-30T06:04:49.542Z info: File Storage is Ready.
2
- 2021-09-30T06:04:56.532Z info: Database connection established
3
- 2021-09-30T06:04:57.913Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
- 2021-09-30T06:04:57.915Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
5
- 2021-09-30T06:05:31.284Z info: File Storage is Ready.
6
- 2021-09-30T06:05:37.067Z info: Database connection established
7
- 2021-09-30T06:05:38.136Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
8
- 2021-09-30T06:05:38.148Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
9
- 2021-09-30T06:07:44.914Z info: File Storage is Ready.
10
- 2021-09-30T06:08:06.103Z info: File Storage is Ready.
11
- 2021-09-30T06:08:29.712Z info: File Storage is Ready.
12
- 2021-09-30T06:08:32.447Z info: Database connection established
13
- 2021-09-30T06:08:33.349Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
14
- 2021-09-30T06:08:33.349Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
File without changes