@things-factory/operato-hub 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.
Files changed (2) hide show
  1. package/client/bootstrap.js +18 -5
  2. package/package.json +26 -26
@@ -8,9 +8,11 @@ import { html } from 'lit'
8
8
 
9
9
  import { registerDefaultGroups } from '@operato/board/register-default-groups.js'
10
10
  import { APPEND_APP_TOOL } from '@things-factory/apptool-base'
11
+ import { setupAppToolPart } from '@things-factory/apptool-ui'
11
12
  import { auth } from '@things-factory/auth-base'
12
13
  import { appendViewpart, toggleOverlay, TOOL_POSITION, VIEWPART_POSITION } from '@things-factory/layout-base'
13
14
  import { setupMenuPart } from '@things-factory/lite-menu'
15
+ import { setupContextUIPart } from '@things-factory/context-ui'
14
16
  import { ADD_MORENDA } from '@things-factory/more-base'
15
17
  import { ADD_SETTING } from '@things-factory/setting-base'
16
18
  import { navigate, store } from '@things-factory/shell'
@@ -30,17 +32,28 @@ console.log(
30
32
  'background: #222; color: #bada55'
31
33
  )
32
34
 
33
- export default function bootstrap() {
35
+ export default async function bootstrap() {
36
+ await setupAppToolPart({
37
+ toolbar: true,
38
+ busybar: true,
39
+ mdibar: true
40
+ })
41
+
42
+ await setupContextUIPart({
43
+ titlebar: 'header',
44
+ contextToolbar: 'page-footer'
45
+ })
46
+
47
+ await setupMenuPart({
48
+ slotTemplate: html` <domain-switch slot="head"></domain-switch> `
49
+ })
50
+
34
51
  /* initialize reducers */
35
52
  store.addReducers({ hub })
36
53
 
37
54
  /* set board-modeller group and default templates */
38
55
  registerDefaultGroups()
39
56
 
40
- setupMenuPart({
41
- slotTemplate: html` <domain-switch slot="head"></domain-switch> `
42
- })
43
-
44
57
  auth.on('profile', async () => {
45
58
  store.dispatch(fetchHubStatus())
46
59
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-hub",
3
- "version": "6.1.66",
3
+ "version": "6.1.68",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -66,46 +66,46 @@
66
66
  "@operato/scene-visualizer": "^1.0.0",
67
67
  "@operato/scene-wheel-sorter": "^1.0.0",
68
68
  "@things-factory/api": "^6.1.66",
69
- "@things-factory/apptool-ui": "^6.1.66",
69
+ "@things-factory/apptool-ui": "^6.1.68",
70
70
  "@things-factory/attachment-base": "^6.1.66",
71
71
  "@things-factory/auth-base": "^6.1.66",
72
- "@things-factory/auth-ui": "^6.1.66",
72
+ "@things-factory/auth-ui": "^6.1.67",
73
73
  "@things-factory/biz-base": "^6.1.66",
74
- "@things-factory/biz-ui": "^6.1.66",
74
+ "@things-factory/biz-ui": "^6.1.68",
75
75
  "@things-factory/board-service": "^6.1.66",
76
76
  "@things-factory/board-ui": "^6.1.66",
77
77
  "@things-factory/code-ui": "^6.1.66",
78
78
  "@things-factory/component-ui": "^6.1.66",
79
- "@things-factory/context-ui": "^6.1.66",
79
+ "@things-factory/context-ui": "^6.1.68",
80
80
  "@things-factory/document-template-ui": "^6.1.66",
81
81
  "@things-factory/env": "^6.1.66",
82
- "@things-factory/export-ui": "^6.1.66",
83
- "@things-factory/export-ui-csv": "^6.1.66",
84
- "@things-factory/export-ui-excel": "^6.1.66",
82
+ "@things-factory/export-ui": "^6.1.68",
83
+ "@things-factory/export-ui-csv": "^6.1.68",
84
+ "@things-factory/export-ui-excel": "^6.1.68",
85
85
  "@things-factory/help": "^6.1.66",
86
86
  "@things-factory/i18n-base": "^6.1.66",
87
- "@things-factory/import-ui": "^6.1.66",
88
- "@things-factory/import-ui-excel": "^6.1.66",
89
- "@things-factory/integration-accounting": "^6.1.66",
90
- "@things-factory/integration-fulfillment": "^6.1.66",
91
- "@things-factory/integration-lmd": "^6.1.66",
92
- "@things-factory/integration-marketplace": "^6.1.66",
93
- "@things-factory/integration-pos": "^6.1.66",
94
- "@things-factory/integration-sellercraft": "^6.1.66",
95
- "@things-factory/integration-sftp": "^6.1.66",
96
- "@things-factory/lite-menu": "^6.1.66",
97
- "@things-factory/more-ui": "^6.1.66",
98
- "@things-factory/notification": "^6.1.66",
87
+ "@things-factory/import-ui": "^6.1.68",
88
+ "@things-factory/import-ui-excel": "^6.1.68",
89
+ "@things-factory/integration-accounting": "^6.1.68",
90
+ "@things-factory/integration-fulfillment": "^6.1.68",
91
+ "@things-factory/integration-lmd": "^6.1.68",
92
+ "@things-factory/integration-marketplace": "^6.1.68",
93
+ "@things-factory/integration-pos": "^6.1.68",
94
+ "@things-factory/integration-sellercraft": "^6.1.68",
95
+ "@things-factory/integration-sftp": "^6.1.68",
96
+ "@things-factory/lite-menu": "^6.1.68",
97
+ "@things-factory/more-ui": "^6.1.68",
98
+ "@things-factory/notification": "^6.1.67",
99
99
  "@things-factory/pdf": "^6.1.66",
100
- "@things-factory/product-ui": "^6.1.66",
101
- "@things-factory/resource-ui": "^6.1.66",
102
- "@things-factory/sales-base": "^6.1.66",
100
+ "@things-factory/product-ui": "^6.1.68",
101
+ "@things-factory/resource-ui": "^6.1.68",
102
+ "@things-factory/sales-base": "^6.1.68",
103
103
  "@things-factory/scene-google-map": "^6.1.66",
104
104
  "@things-factory/setting-ui": "^6.1.66",
105
105
  "@things-factory/shell": "^6.1.66",
106
106
  "@things-factory/system-ui": "^6.1.66",
107
- "@things-factory/warehouse-base": "^6.1.66",
108
- "@things-factory/worksheet-base": "^6.1.66",
107
+ "@things-factory/warehouse-base": "^6.1.68",
108
+ "@things-factory/worksheet-base": "^6.1.68",
109
109
  "koa2-swagger-ui": "^5.0.2",
110
110
  "swagger-jsdoc": "^6.2.8",
111
111
  "yamljs": "^0.3.0"
@@ -113,5 +113,5 @@
113
113
  "devDependencies": {
114
114
  "@things-factory/builder": "^6.1.66"
115
115
  },
116
- "gitHead": "86447edc189a8432999c6dcfce0e32ee7dbd3e5f"
116
+ "gitHead": "c24575516e5047a6c94a65fe5442f278e5a80148"
117
117
  }