@things-factory/reference-app 4.1.6 → 4.1.10
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/client/pages/context-page.js +11 -10
- package/package.json +36 -36
|
@@ -37,7 +37,7 @@ class ContextPage extends connect(store)(PageView) {
|
|
|
37
37
|
get context() {
|
|
38
38
|
return {
|
|
39
39
|
title: this.title,
|
|
40
|
-
actions:
|
|
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.
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
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.
|
|
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.
|
|
3
|
+
"version": "4.1.10",
|
|
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.
|
|
53
|
-
"@operato/scene-clock": "^0.1.
|
|
54
|
-
"@operato/scene-gauge": "^0.1.
|
|
55
|
-
"@operato/scene-half-roundrect": "^0.1.
|
|
56
|
-
"@operato/scene-indoor-map": "^0.1.
|
|
57
|
-
"@operato/scene-
|
|
58
|
-
"@operato/scene-
|
|
59
|
-
"@operato/scene-
|
|
60
|
-
"@operato/scene-
|
|
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.
|
|
64
|
-
"@things-factory/apptool-ui": "^4.1.
|
|
65
|
-
"@things-factory/auth-ui": "^4.1.
|
|
66
|
-
"@things-factory/board-service": "^4.1.
|
|
67
|
-
"@things-factory/board-ui": "^4.1.
|
|
68
|
-
"@things-factory/context-ui": "^4.1.
|
|
69
|
-
"@things-factory/dashboard": "^4.1.
|
|
70
|
-
"@things-factory/export-ui": "^4.1.
|
|
71
|
-
"@things-factory/export-ui-excel": "^4.1.
|
|
72
|
-
"@things-factory/grist-ui": "^4.1.
|
|
73
|
-
"@things-factory/help": "^4.1.
|
|
74
|
-
"@things-factory/integration-ui": "^4.1.
|
|
75
|
-
"@things-factory/lite-menu": "^4.1.
|
|
76
|
-
"@things-factory/more-ui": "^4.1.
|
|
77
|
-
"@things-factory/notification": "^4.1.
|
|
78
|
-
"@things-factory/oauth2-client": "^4.1.
|
|
79
|
-
"@things-factory/print-ui": "^4.1.
|
|
80
|
-
"@things-factory/resource-ui": "^4.1.
|
|
81
|
-
"@things-factory/scene-form": "^4.1.
|
|
82
|
-
"@things-factory/
|
|
83
|
-
"@things-factory/setting-
|
|
84
|
-
"@things-factory/
|
|
85
|
-
"@things-factory/
|
|
86
|
-
"@things-factory/system-ui": "^4.1.6"
|
|
64
|
+
"@things-factory/api": "^4.1.10",
|
|
65
|
+
"@things-factory/apptool-ui": "^4.1.10",
|
|
66
|
+
"@things-factory/auth-ui": "^4.1.10",
|
|
67
|
+
"@things-factory/board-service": "^4.1.10",
|
|
68
|
+
"@things-factory/board-ui": "^4.1.10",
|
|
69
|
+
"@things-factory/context-ui": "^4.1.10",
|
|
70
|
+
"@things-factory/dashboard": "^4.1.10",
|
|
71
|
+
"@things-factory/export-ui": "^4.1.10",
|
|
72
|
+
"@things-factory/export-ui-excel": "^4.1.10",
|
|
73
|
+
"@things-factory/grist-ui": "^4.1.10",
|
|
74
|
+
"@things-factory/help": "^4.1.10",
|
|
75
|
+
"@things-factory/integration-ui": "^4.1.10",
|
|
76
|
+
"@things-factory/lite-menu": "^4.1.10",
|
|
77
|
+
"@things-factory/more-ui": "^4.1.10",
|
|
78
|
+
"@things-factory/notification": "^4.1.10",
|
|
79
|
+
"@things-factory/oauth2-client": "^4.1.10",
|
|
80
|
+
"@things-factory/print-ui": "^4.1.10",
|
|
81
|
+
"@things-factory/resource-ui": "^4.1.10",
|
|
82
|
+
"@things-factory/scene-form": "^4.1.10",
|
|
83
|
+
"@things-factory/setting-base": "^4.1.10",
|
|
84
|
+
"@things-factory/setting-ui": "^4.1.10",
|
|
85
|
+
"@things-factory/shell": "^4.1.10",
|
|
86
|
+
"@things-factory/system-ui": "^4.1.10"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@things-factory/builder": "^4.1.
|
|
89
|
+
"@things-factory/builder": "^4.1.10"
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "8047bbb36aabdd33156b3fd91a4a5a874bed3754"
|
|
92
92
|
}
|