@things-factory/operato-mms 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 +16 -16
@@ -8,10 +8,12 @@ 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 { setAuthManagementMenus } from '@things-factory/auth-ui'
13
14
  import { appendViewpart, toggleOverlay, TOOL_POSITION, VIEWPART_POSITION } from '@things-factory/layout-base'
14
15
  import { setupMenuPart } from '@things-factory/lite-menu'
16
+ import { setupContextUIPart } from '@things-factory/context-ui'
15
17
  import { ADD_MORENDA } from '@things-factory/more-base'
16
18
  import { ADD_SETTING } from '@things-factory/setting-base'
17
19
  import { navigate, store } from '@things-factory/shell'
@@ -31,16 +33,27 @@ console.log(
31
33
  'background: #222; color: #bada55'
32
34
  )
33
35
 
34
- export default function bootstrap() {
35
- store.addReducers({ mms })
36
+ export default async function bootstrap() {
37
+ await setupAppToolPart({
38
+ toolbar: true,
39
+ busybar: true,
40
+ mdibar: true
41
+ })
36
42
 
37
- /* set board-modeller group and default templates */
38
- registerDefaultGroups()
43
+ await setupContextUIPart({
44
+ titlebar: 'header',
45
+ contextToolbar: 'page-footer'
46
+ })
39
47
 
40
- setupMenuPart({
48
+ await setupMenuPart({
41
49
  slotTemplate: html` <domain-switch slot="head"></domain-switch> `
42
50
  })
43
51
 
52
+ store.addReducers({ mms })
53
+
54
+ /* set board-modeller group and default templates */
55
+ registerDefaultGroups()
56
+
44
57
  /* set auth management menus into more-panel */
45
58
  auth.on('profile', async ({ credential }) => {
46
59
  setAuthManagementMenus(credential)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-mms",
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,
@@ -69,39 +69,39 @@
69
69
  "@operato/scene-timer": "^1.0.0",
70
70
  "@operato/scene-visualizer": "^1.0.0",
71
71
  "@operato/scene-wheel-sorter": "^1.0.0",
72
- "@things-factory/apptool-ui": "^6.1.66",
72
+ "@things-factory/apptool-ui": "^6.1.68",
73
73
  "@things-factory/attachment-base": "^6.1.66",
74
- "@things-factory/auth-ui": "^6.1.66",
74
+ "@things-factory/auth-ui": "^6.1.67",
75
75
  "@things-factory/biz-base": "^6.1.66",
76
76
  "@things-factory/board-service": "^6.1.66",
77
77
  "@things-factory/board-ui": "^6.1.66",
78
78
  "@things-factory/code-ui": "^6.1.66",
79
- "@things-factory/context-ui": "^6.1.66",
79
+ "@things-factory/context-ui": "^6.1.68",
80
80
  "@things-factory/dashboard": "^6.1.66",
81
- "@things-factory/export-ui": "^6.1.66",
82
- "@things-factory/export-ui-csv": "^6.1.66",
83
- "@things-factory/export-ui-excel": "^6.1.66",
81
+ "@things-factory/export-ui": "^6.1.68",
82
+ "@things-factory/export-ui-csv": "^6.1.68",
83
+ "@things-factory/export-ui-excel": "^6.1.68",
84
84
  "@things-factory/geography": "^6.1.66",
85
85
  "@things-factory/help": "^6.1.66",
86
86
  "@things-factory/i18n-base": "^6.1.66",
87
- "@things-factory/integration-fulfillment": "^6.1.66",
88
- "@things-factory/integration-lmd": "^6.1.66",
89
- "@things-factory/lite-menu": "^6.1.66",
90
- "@things-factory/marketplace-base": "^6.1.66",
91
- "@things-factory/more-ui": "^6.1.66",
92
- "@things-factory/notification": "^6.1.66",
87
+ "@things-factory/integration-fulfillment": "^6.1.68",
88
+ "@things-factory/integration-lmd": "^6.1.68",
89
+ "@things-factory/lite-menu": "^6.1.68",
90
+ "@things-factory/marketplace-base": "^6.1.68",
91
+ "@things-factory/more-ui": "^6.1.68",
92
+ "@things-factory/notification": "^6.1.67",
93
93
  "@things-factory/oauth2-client": "^6.1.66",
94
94
  "@things-factory/pdf": "^6.1.66",
95
95
  "@things-factory/product-base": "^6.1.66",
96
- "@things-factory/resource-ui": "^6.1.66",
96
+ "@things-factory/resource-ui": "^6.1.68",
97
97
  "@things-factory/scene-google-map": "^6.1.66",
98
98
  "@things-factory/setting-ui": "^6.1.66",
99
99
  "@things-factory/system-ui": "^6.1.66",
100
- "@things-factory/warehouse-base": "^6.1.66"
100
+ "@things-factory/warehouse-base": "^6.1.68"
101
101
  },
102
102
  "devDependencies": {
103
103
  "@things-factory/builder": "^6.1.66",
104
104
  "@types/node-fetch": "^2.5.7"
105
105
  },
106
- "gitHead": "86447edc189a8432999c6dcfce0e32ee7dbd3e5f"
106
+ "gitHead": "c24575516e5047a6c94a65fe5442f278e5a80148"
107
107
  }