@things-factory/reference-app 6.1.66 → 6.1.68
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/bootstrap.js +15 -2
- package/package.json +16 -16
package/client/bootstrap.js
CHANGED
|
@@ -17,9 +17,11 @@ import { appendViewpart, toggleOverlay, TOOL_POSITION, VIEWPART_POSITION } from
|
|
|
17
17
|
import { OxPropertyEditor } from '@operato/property-editor'
|
|
18
18
|
import { isMobileDevice } from '@operato/utils'
|
|
19
19
|
import { APPEND_APP_TOOL } from '@things-factory/apptool-base'
|
|
20
|
+
import { setupAppToolPart } from '@things-factory/apptool-ui'
|
|
20
21
|
import { auth } from '@things-factory/auth-base'
|
|
21
22
|
import { setAuthManagementMenus } from '@things-factory/auth-ui'
|
|
22
23
|
import { setupMenuPart, updateMenuTemplate } from '@things-factory/lite-menu'
|
|
24
|
+
import { setupContextUIPart } from '@things-factory/context-ui'
|
|
23
25
|
import { ADD_MORENDA } from '@things-factory/more-base'
|
|
24
26
|
import { ADD_SETTING } from '@things-factory/setting-base'
|
|
25
27
|
import { navigate, store } from '@things-factory/shell'
|
|
@@ -39,7 +41,7 @@ console.log(
|
|
|
39
41
|
'background: #222; color: #bada55'
|
|
40
42
|
)
|
|
41
43
|
|
|
42
|
-
export default function bootstrap() {
|
|
44
|
+
export default async function bootstrap() {
|
|
43
45
|
registerRenderer('id', IdRenderer)
|
|
44
46
|
registerRenderer('barcode', BarcodeRenderer)
|
|
45
47
|
registerEditor('id', OxGristEditorResourceId)
|
|
@@ -53,7 +55,18 @@ export default function bootstrap() {
|
|
|
53
55
|
/* set board-modeller group and default templates */
|
|
54
56
|
registerDefaultGroups()
|
|
55
57
|
|
|
56
|
-
|
|
58
|
+
await setupAppToolPart({
|
|
59
|
+
toolbar: true,
|
|
60
|
+
busybar: true,
|
|
61
|
+
mdibar: true
|
|
62
|
+
})
|
|
63
|
+
|
|
64
|
+
await setupContextUIPart({
|
|
65
|
+
titlebar: 'header',
|
|
66
|
+
contextToolbar: 'page-footer'
|
|
67
|
+
})
|
|
68
|
+
|
|
69
|
+
await setupMenuPart({
|
|
57
70
|
hovering: isMobileDevice(),
|
|
58
71
|
position: VIEWPART_POSITION.NAVBAR,
|
|
59
72
|
portraitSlotTemplate: html` <domain-switch slot="tail"></domain-switch> `
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/reference-app",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.68",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -68,29 +68,29 @@
|
|
|
68
68
|
"@operato/shell": "^1.0.1",
|
|
69
69
|
"@operato/utils": "^1.0.1",
|
|
70
70
|
"@things-factory/api": "^6.1.66",
|
|
71
|
-
"@things-factory/apptool-ui": "^6.1.
|
|
71
|
+
"@things-factory/apptool-ui": "^6.1.68",
|
|
72
72
|
"@things-factory/attachment-base": "^6.1.66",
|
|
73
|
-
"@things-factory/auth-ui": "^6.1.
|
|
73
|
+
"@things-factory/auth-ui": "^6.1.67",
|
|
74
74
|
"@things-factory/board-service": "^6.1.66",
|
|
75
75
|
"@things-factory/board-ui": "^6.1.66",
|
|
76
|
-
"@things-factory/ccp": "^6.1.
|
|
76
|
+
"@things-factory/ccp": "^6.1.68",
|
|
77
77
|
"@things-factory/contact": "^6.1.66",
|
|
78
|
-
"@things-factory/context-ui": "^6.1.
|
|
78
|
+
"@things-factory/context-ui": "^6.1.68",
|
|
79
79
|
"@things-factory/dashboard": "^6.1.66",
|
|
80
|
-
"@things-factory/dataset": "^6.1.
|
|
81
|
-
"@things-factory/export-ui": "^6.1.
|
|
82
|
-
"@things-factory/export-ui-excel": "^6.1.
|
|
80
|
+
"@things-factory/dataset": "^6.1.68",
|
|
81
|
+
"@things-factory/export-ui": "^6.1.68",
|
|
82
|
+
"@things-factory/export-ui-excel": "^6.1.68",
|
|
83
83
|
"@things-factory/help": "^6.1.66",
|
|
84
84
|
"@things-factory/integration-ui": "^6.1.66",
|
|
85
|
-
"@things-factory/lite-menu": "^6.1.
|
|
86
|
-
"@things-factory/more-ui": "^6.1.
|
|
87
|
-
"@things-factory/notification": "^6.1.
|
|
85
|
+
"@things-factory/lite-menu": "^6.1.68",
|
|
86
|
+
"@things-factory/more-ui": "^6.1.68",
|
|
87
|
+
"@things-factory/notification": "^6.1.67",
|
|
88
88
|
"@things-factory/oauth2-client": "^6.1.66",
|
|
89
|
-
"@things-factory/organization": "^6.1.
|
|
90
|
-
"@things-factory/print-ui": "^6.1.
|
|
89
|
+
"@things-factory/organization": "^6.1.67",
|
|
90
|
+
"@things-factory/print-ui": "^6.1.68",
|
|
91
91
|
"@things-factory/product-base": "^6.1.66",
|
|
92
|
-
"@things-factory/qc": "^6.1.
|
|
93
|
-
"@things-factory/resource-ui": "^6.1.
|
|
92
|
+
"@things-factory/qc": "^6.1.68",
|
|
93
|
+
"@things-factory/resource-ui": "^6.1.68",
|
|
94
94
|
"@things-factory/routing-base": "^6.1.66",
|
|
95
95
|
"@things-factory/setting-base": "^6.1.66",
|
|
96
96
|
"@things-factory/setting-ui": "^6.1.66",
|
|
@@ -104,5 +104,5 @@
|
|
|
104
104
|
"devDependencies": {
|
|
105
105
|
"@things-factory/builder": "^6.1.66"
|
|
106
106
|
},
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "c24575516e5047a6c94a65fe5442f278e5a80148"
|
|
108
108
|
}
|