@things-factory/operato-hub 7.0.1-alpha.78 → 7.0.1-alpha.80
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/actions/hub.js +1 -1
- package/client/bootstrap.js +10 -8
- package/client/component/product-sync.js +1 -1
- package/client/entries/oauth2/oauth2-decision-page.js +1 -1
- package/client/menu.js +1 -1
- package/client/pages/api/home.js +1 -1
- package/client/pages/codes/home.js +1 -1
- package/client/pages/contact-points/home.js +1 -1
- package/client/pages/lmd/home.js +1 -1
- package/client/pages/partner-settings/home.js +1 -1
- package/client/pages/partners/home.js +1 -1
- package/client/pages/product-bundles/home.js +1 -1
- package/client/pages/product-sets/home.js +1 -1
- package/client/pages/products/home.js +1 -1
- package/client/pages/roles/home.js +1 -1
- package/client/pages/sellercraft/home.js +1 -1
- package/client/pages/settings/home.js +1 -1
- package/client/pages/template/home.js +1 -1
- package/client/pages/users/home.js +1 -1
- package/package.json +32 -32
package/client/actions/hub.js
CHANGED
package/client/bootstrap.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@operato/i18n/ox-i18n.js'
|
|
2
|
-
import '@things-factory/auth-ui' /* for domain-switch */
|
|
2
|
+
import '@things-factory/auth-ui/dist-client' /* for domain-switch */
|
|
3
3
|
import '@things-factory/notification'
|
|
4
4
|
import './viewparts/user-circle'
|
|
5
5
|
import './menu'
|
|
@@ -7,15 +7,15 @@ import './menu'
|
|
|
7
7
|
import { html } from 'lit'
|
|
8
8
|
|
|
9
9
|
import { registerDefaultGroups } from '@operato/board/register-default-groups.js'
|
|
10
|
-
import { APPEND_APP_TOOL } from '@things-factory/apptool-base'
|
|
11
|
-
import { setupAppToolPart } from '@things-factory/apptool-ui'
|
|
10
|
+
import { APPEND_APP_TOOL } from '@things-factory/apptool-base/client'
|
|
11
|
+
import { setupAppToolPart } from '@things-factory/apptool-ui/dist-client'
|
|
12
12
|
import { auth, hasPrivilege } from '@things-factory/auth-base/dist-client'
|
|
13
13
|
import { appendViewpart, toggleOverlay, TOOL_POSITION, VIEWPART_POSITION } from '@operato/layout'
|
|
14
14
|
import { setupMenuPart } from '@things-factory/lite-menu'
|
|
15
|
-
import { setupContextUIPart } from '@things-factory/context-ui'
|
|
16
|
-
import { ADD_MORENDA } from '@things-factory/more-base'
|
|
17
|
-
import { ADD_SETTING } from '@things-factory/setting-base'
|
|
18
|
-
import { navigate, store } from '@
|
|
15
|
+
import { setupContextUIPart } from '@things-factory/context-ui/dist-client'
|
|
16
|
+
import { ADD_MORENDA } from '@things-factory/more-base/client'
|
|
17
|
+
import { ADD_SETTING } from '@things-factory/setting-base/dist-client'
|
|
18
|
+
import { navigate, store } from '@operato/shell'
|
|
19
19
|
import { isMobileDevice } from '@things-factory/utils'
|
|
20
20
|
|
|
21
21
|
import { fetchHubStatus } from './actions/hub'
|
|
@@ -73,7 +73,9 @@ export default async function bootstrap() {
|
|
|
73
73
|
})
|
|
74
74
|
|
|
75
75
|
/* add addon-menu management page morenda */
|
|
76
|
-
if (
|
|
76
|
+
if (
|
|
77
|
+
await hasPrivilege({ privilege: 'mutation', category: 'menu', domainOwnerGranted: true, superUserGranted: true })
|
|
78
|
+
) {
|
|
77
79
|
store.dispatch({
|
|
78
80
|
type: ADD_MORENDA,
|
|
79
81
|
morenda: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
2
2
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
3
|
-
import { store } from '@
|
|
3
|
+
import { store } from '@operato/shell'
|
|
4
4
|
import { css, html, LitElement } from 'lit'
|
|
5
5
|
import { connect } from 'pwa-helpers/connect-mixin'
|
|
6
6
|
import { SYNC_DIRECTION } from '../pages/constants'
|
package/client/menu.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@material/mwc-icon'
|
|
2
2
|
|
|
3
3
|
import { updateMenuTemplate } from '@things-factory/lite-menu'
|
|
4
|
-
import { store } from '@
|
|
4
|
+
import { store } from '@operato/shell'
|
|
5
5
|
|
|
6
6
|
import { COMPANY_EXT_TYPE, EXT_TYPE_ICON_MAP } from './pages/constants'
|
|
7
7
|
import { buildDomainContext } from './utils'
|
package/client/pages/api/home.js
CHANGED
package/client/pages/lmd/home.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-hub",
|
|
3
|
-
"version": "7.0.1-alpha.
|
|
3
|
+
"version": "7.0.1-alpha.80",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -65,46 +65,46 @@
|
|
|
65
65
|
"@operato/scene-table": "^2.0.0-alpha.0",
|
|
66
66
|
"@operato/scene-visualizer": "^2.0.0-alpha.0",
|
|
67
67
|
"@operato/scene-wheel-sorter": "^2.0.0-alpha.0",
|
|
68
|
-
"@things-factory/api": "^7.0.1-alpha.
|
|
69
|
-
"@things-factory/apptool-ui": "^7.0.1-alpha.
|
|
68
|
+
"@things-factory/api": "^7.0.1-alpha.79",
|
|
69
|
+
"@things-factory/apptool-ui": "^7.0.1-alpha.79",
|
|
70
70
|
"@things-factory/attachment-base": "^7.0.1-alpha.78",
|
|
71
71
|
"@things-factory/auth-base": "^7.0.1-alpha.78",
|
|
72
|
-
"@things-factory/auth-ui": "^7.0.1-alpha.
|
|
72
|
+
"@things-factory/auth-ui": "^7.0.1-alpha.79",
|
|
73
73
|
"@things-factory/biz-base": "^7.0.1-alpha.78",
|
|
74
|
-
"@things-factory/biz-ui": "^7.0.1-alpha.
|
|
75
|
-
"@things-factory/board-service": "^7.0.1-alpha.
|
|
76
|
-
"@things-factory/board-ui": "^7.0.1-alpha.
|
|
77
|
-
"@things-factory/code-ui": "^7.0.1-alpha.
|
|
74
|
+
"@things-factory/biz-ui": "^7.0.1-alpha.79",
|
|
75
|
+
"@things-factory/board-service": "^7.0.1-alpha.79",
|
|
76
|
+
"@things-factory/board-ui": "^7.0.1-alpha.79",
|
|
77
|
+
"@things-factory/code-ui": "^7.0.1-alpha.79",
|
|
78
78
|
"@things-factory/component-ui": "^7.0.1-alpha.72",
|
|
79
|
-
"@things-factory/context-ui": "^7.0.1-alpha.
|
|
80
|
-
"@things-factory/document-template-ui": "^7.0.1-alpha.
|
|
79
|
+
"@things-factory/context-ui": "^7.0.1-alpha.79",
|
|
80
|
+
"@things-factory/document-template-ui": "^7.0.1-alpha.79",
|
|
81
81
|
"@things-factory/env": "^7.0.1-alpha.71",
|
|
82
|
-
"@things-factory/export-ui": "^7.0.1-alpha.
|
|
83
|
-
"@things-factory/export-ui-csv": "^7.0.1-alpha.
|
|
84
|
-
"@things-factory/export-ui-excel": "^7.0.1-alpha.
|
|
82
|
+
"@things-factory/export-ui": "^7.0.1-alpha.79",
|
|
83
|
+
"@things-factory/export-ui-csv": "^7.0.1-alpha.79",
|
|
84
|
+
"@things-factory/export-ui-excel": "^7.0.1-alpha.79",
|
|
85
85
|
"@things-factory/help": "^7.0.1-alpha.71",
|
|
86
86
|
"@things-factory/i18n-base": "^7.0.1-alpha.77",
|
|
87
|
-
"@things-factory/import-ui": "^7.0.1-alpha.
|
|
88
|
-
"@things-factory/import-ui-excel": "^7.0.1-alpha.
|
|
89
|
-
"@things-factory/integration-accounting": "^7.0.1-alpha.
|
|
90
|
-
"@things-factory/integration-fulfillment": "^7.0.1-alpha.
|
|
91
|
-
"@things-factory/integration-lmd": "^7.0.1-alpha.
|
|
92
|
-
"@things-factory/integration-marketplace": "^7.0.1-alpha.
|
|
93
|
-
"@things-factory/integration-pos": "^7.0.1-alpha.
|
|
94
|
-
"@things-factory/integration-sellercraft": "^7.0.1-alpha.
|
|
95
|
-
"@things-factory/integration-sftp": "^7.0.1-alpha.
|
|
96
|
-
"@things-factory/lite-menu": "^7.0.1-alpha.
|
|
97
|
-
"@things-factory/more-ui": "^7.0.1-alpha.
|
|
87
|
+
"@things-factory/import-ui": "^7.0.1-alpha.79",
|
|
88
|
+
"@things-factory/import-ui-excel": "^7.0.1-alpha.79",
|
|
89
|
+
"@things-factory/integration-accounting": "^7.0.1-alpha.79",
|
|
90
|
+
"@things-factory/integration-fulfillment": "^7.0.1-alpha.79",
|
|
91
|
+
"@things-factory/integration-lmd": "^7.0.1-alpha.79",
|
|
92
|
+
"@things-factory/integration-marketplace": "^7.0.1-alpha.79",
|
|
93
|
+
"@things-factory/integration-pos": "^7.0.1-alpha.79",
|
|
94
|
+
"@things-factory/integration-sellercraft": "^7.0.1-alpha.79",
|
|
95
|
+
"@things-factory/integration-sftp": "^7.0.1-alpha.79",
|
|
96
|
+
"@things-factory/lite-menu": "^7.0.1-alpha.80",
|
|
97
|
+
"@things-factory/more-ui": "^7.0.1-alpha.79",
|
|
98
98
|
"@things-factory/notification": "^7.0.1-alpha.78",
|
|
99
99
|
"@things-factory/pdf": "^7.0.1-alpha.71",
|
|
100
|
-
"@things-factory/product-ui": "^7.0.1-alpha.
|
|
101
|
-
"@things-factory/resource-ui": "^7.0.1-alpha.
|
|
102
|
-
"@things-factory/sales-base": "^7.0.1-alpha.
|
|
103
|
-
"@things-factory/setting-ui": "^7.0.1-alpha.
|
|
100
|
+
"@things-factory/product-ui": "^7.0.1-alpha.79",
|
|
101
|
+
"@things-factory/resource-ui": "^7.0.1-alpha.79",
|
|
102
|
+
"@things-factory/sales-base": "^7.0.1-alpha.79",
|
|
103
|
+
"@things-factory/setting-ui": "^7.0.1-alpha.79",
|
|
104
104
|
"@things-factory/shell": "^7.0.1-alpha.71",
|
|
105
|
-
"@things-factory/system": "^7.0.1-alpha.
|
|
106
|
-
"@things-factory/warehouse-base": "^7.0.1-alpha.
|
|
107
|
-
"@things-factory/worksheet-base": "^7.0.1-alpha.
|
|
105
|
+
"@things-factory/system": "^7.0.1-alpha.79",
|
|
106
|
+
"@things-factory/warehouse-base": "^7.0.1-alpha.79",
|
|
107
|
+
"@things-factory/worksheet-base": "^7.0.1-alpha.79",
|
|
108
108
|
"koa2-swagger-ui": "^5.0.2",
|
|
109
109
|
"swagger-jsdoc": "^6.2.8",
|
|
110
110
|
"yamljs": "^0.3.0"
|
|
@@ -112,5 +112,5 @@
|
|
|
112
112
|
"devDependencies": {
|
|
113
113
|
"@things-factory/builder": "^7.0.1-alpha.71"
|
|
114
114
|
},
|
|
115
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "1893bab2cc88910b3a3b080f450a7acf879b3011"
|
|
116
116
|
}
|