@things-factory/operato-pms 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/bootstrap.js +13 -10
- package/client/component/block-selector-popup.js +1 -1
- package/client/component/driver-selector-popup.js +1 -1
- package/client/component/mill-selector-popup.js +1 -1
- package/client/component/truck-selector-popup.js +1 -1
- package/client/pages/dispatchment/home.js +1 -1
- package/client/pages/harvesting/home.js +1 -1
- package/client/pages/inventory/home.js +1 -1
- package/client/pages/inventory/inventory-history-by-bunches.js +1 -1
- package/client/pages/inventory/inventory-history-by-tonnage.js +1 -1
- package/client/pages/loading/home.js +1 -1
- package/client/pages/master/home.js +1 -1
- package/client/pages/report/home.js +1 -1
- package/client/pages/setting/home.js +1 -1
- package/package.json +23 -23
package/client/bootstrap.js
CHANGED
|
@@ -4,17 +4,18 @@ import './viewparts/user-circle'
|
|
|
4
4
|
|
|
5
5
|
import { html } from 'lit'
|
|
6
6
|
|
|
7
|
+
import { navigate, store } from '@operato/shell'
|
|
7
8
|
import { registerDefaultGroups } from '@operato/board/register-default-groups.js'
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
import {
|
|
9
|
+
import { isMobileDevice } from '@operato/utils'
|
|
10
|
+
|
|
11
|
+
import { APPEND_APP_TOOL } from '@things-factory/apptool-base/client'
|
|
12
|
+
import { setupAppToolPart } from '@things-factory/apptool-ui/dist-client'
|
|
13
|
+
import { setAuthManagementMenus } from '@things-factory/auth-ui/dist-client'
|
|
11
14
|
import { hasPrivilege } from '@things-factory/auth-base/dist-client'
|
|
12
|
-
import { setupMenuPart, updateMenuTemplate } from '@things-factory/lite-menu'
|
|
13
|
-
import { setupContextUIPart } from '@things-factory/context-ui'
|
|
14
|
-
import { ADD_MORENDA } from '@things-factory/more-base'
|
|
15
|
-
import { ADD_SETTING } from '@things-factory/setting-base'
|
|
16
|
-
import { navigate, store } from '@things-factory/shell'
|
|
17
|
-
import { isMobileDevice } from '@things-factory/utils'
|
|
15
|
+
import { setupMenuPart, updateMenuTemplate } from '@things-factory/lite-menu/dist-client'
|
|
16
|
+
import { setupContextUIPart } from '@things-factory/context-ui/dist-client'
|
|
17
|
+
import { ADD_MORENDA } from '@things-factory/more-base/client'
|
|
18
|
+
import { ADD_SETTING } from '@things-factory/setting-base/dist-client'
|
|
18
19
|
|
|
19
20
|
import { getMenuTemplate } from './menu'
|
|
20
21
|
|
|
@@ -59,7 +60,9 @@ export default async function bootstrap() {
|
|
|
59
60
|
})
|
|
60
61
|
|
|
61
62
|
/* add addon-menu management page morenda */
|
|
62
|
-
if (
|
|
63
|
+
if (
|
|
64
|
+
await hasPrivilege({ privilege: 'mutation', category: 'menu', domainOwnerGranted: true, superUserGranted: true })
|
|
65
|
+
) {
|
|
63
66
|
store.dispatch({
|
|
64
67
|
type: ADD_MORENDA,
|
|
65
68
|
morenda: {
|
|
@@ -6,7 +6,7 @@ import gql from 'graphql-tag'
|
|
|
6
6
|
import { css, html, LitElement } from 'lit'
|
|
7
7
|
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
9
|
-
import { client } from '@
|
|
9
|
+
import { client } from '@operato/graphql'
|
|
10
10
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
11
11
|
import { isMobileDevice } from '@things-factory/utils'
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@ import gql from 'graphql-tag'
|
|
|
6
6
|
import { css, html, LitElement } from 'lit'
|
|
7
7
|
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
9
|
-
import { client } from '@
|
|
9
|
+
import { client } from '@operato/graphql'
|
|
10
10
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
11
11
|
import { isMobileDevice } from '@things-factory/utils'
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@ import gql from 'graphql-tag'
|
|
|
6
6
|
import { css, html, LitElement } from 'lit'
|
|
7
7
|
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
9
|
-
import { client } from '@
|
|
9
|
+
import { client } from '@operato/graphql'
|
|
10
10
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
11
11
|
import { isMobileDevice } from '@things-factory/utils'
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@ import gql from 'graphql-tag'
|
|
|
6
6
|
import { css, html, LitElement } from 'lit'
|
|
7
7
|
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
9
|
-
import { client } from '@
|
|
9
|
+
import { client } from '@operato/graphql'
|
|
10
10
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
11
11
|
import { isMobileDevice } from '@things-factory/utils'
|
|
12
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@operato/data-grist'
|
|
2
2
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
3
|
-
import { client } from '@
|
|
3
|
+
import { client } from '@operato/graphql'
|
|
4
4
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
5
5
|
import { isMobileDevice } from '@things-factory/utils'
|
|
6
6
|
import gql from 'graphql-tag'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@operato/data-grist'
|
|
2
2
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
3
|
-
import { client } from '@
|
|
3
|
+
import { client } from '@operato/graphql'
|
|
4
4
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
5
5
|
import { isMobileDevice } from '@things-factory/utils'
|
|
6
6
|
import gql from 'graphql-tag'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { css, html } from 'lit'
|
|
2
2
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
3
3
|
|
|
4
|
-
import { PageView, store } from '@
|
|
4
|
+
import { PageView, store } from '@operato/shell'
|
|
5
5
|
|
|
6
6
|
class MasterHome extends connect(store)(PageView) {
|
|
7
7
|
static get styles() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { css, html } from 'lit'
|
|
2
2
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
3
3
|
|
|
4
|
-
import { PageView, store } from '@
|
|
4
|
+
import { PageView, store } from '@operato/shell'
|
|
5
5
|
|
|
6
6
|
class ReportHome extends connect(store)(PageView) {
|
|
7
7
|
static get styles() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { css, html } from 'lit'
|
|
2
2
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
3
3
|
|
|
4
|
-
import { PageView, store } from '@
|
|
4
|
+
import { PageView, store } from '@operato/shell'
|
|
5
5
|
|
|
6
6
|
class SettingHome extends connect(store)(PageView) {
|
|
7
7
|
static get styles() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-pms",
|
|
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,35 +65,35 @@
|
|
|
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/apptool-ui": "^7.0.1-alpha.
|
|
69
|
-
"@things-factory/auth-ui": "^7.0.1-alpha.
|
|
68
|
+
"@things-factory/apptool-ui": "^7.0.1-alpha.79",
|
|
69
|
+
"@things-factory/auth-ui": "^7.0.1-alpha.79",
|
|
70
70
|
"@things-factory/biz-base": "^7.0.1-alpha.78",
|
|
71
|
-
"@things-factory/board-service": "^7.0.1-alpha.
|
|
72
|
-
"@things-factory/board-ui": "^7.0.1-alpha.
|
|
73
|
-
"@things-factory/code-ui": "^7.0.1-alpha.
|
|
74
|
-
"@things-factory/context-ui": "^7.0.1-alpha.
|
|
75
|
-
"@things-factory/dashboard": "^7.0.1-alpha.
|
|
76
|
-
"@things-factory/document-template-ui": "^7.0.1-alpha.
|
|
77
|
-
"@things-factory/export-ui": "^7.0.1-alpha.
|
|
78
|
-
"@things-factory/export-ui-csv": "^7.0.1-alpha.
|
|
79
|
-
"@things-factory/export-ui-excel": "^7.0.1-alpha.
|
|
80
|
-
"@things-factory/fav-base": "^7.0.1-alpha.
|
|
81
|
-
"@things-factory/form-ui": "^7.0.1-alpha.
|
|
71
|
+
"@things-factory/board-service": "^7.0.1-alpha.79",
|
|
72
|
+
"@things-factory/board-ui": "^7.0.1-alpha.79",
|
|
73
|
+
"@things-factory/code-ui": "^7.0.1-alpha.79",
|
|
74
|
+
"@things-factory/context-ui": "^7.0.1-alpha.79",
|
|
75
|
+
"@things-factory/dashboard": "^7.0.1-alpha.79",
|
|
76
|
+
"@things-factory/document-template-ui": "^7.0.1-alpha.79",
|
|
77
|
+
"@things-factory/export-ui": "^7.0.1-alpha.79",
|
|
78
|
+
"@things-factory/export-ui-csv": "^7.0.1-alpha.79",
|
|
79
|
+
"@things-factory/export-ui-excel": "^7.0.1-alpha.79",
|
|
80
|
+
"@things-factory/fav-base": "^7.0.1-alpha.79",
|
|
81
|
+
"@things-factory/form-ui": "^7.0.1-alpha.79",
|
|
82
82
|
"@things-factory/help": "^7.0.1-alpha.71",
|
|
83
83
|
"@things-factory/i18n-base": "^7.0.1-alpha.77",
|
|
84
|
-
"@things-factory/import-ui": "^7.0.1-alpha.
|
|
85
|
-
"@things-factory/import-ui-excel": "^7.0.1-alpha.
|
|
86
|
-
"@things-factory/lite-menu": "^7.0.1-alpha.
|
|
87
|
-
"@things-factory/more-ui": "^7.0.1-alpha.
|
|
84
|
+
"@things-factory/import-ui": "^7.0.1-alpha.79",
|
|
85
|
+
"@things-factory/import-ui-excel": "^7.0.1-alpha.79",
|
|
86
|
+
"@things-factory/lite-menu": "^7.0.1-alpha.80",
|
|
87
|
+
"@things-factory/more-ui": "^7.0.1-alpha.79",
|
|
88
88
|
"@things-factory/notification": "^7.0.1-alpha.78",
|
|
89
|
-
"@things-factory/print-ui": "^7.0.1-alpha.
|
|
90
|
-
"@things-factory/resource-ui": "^7.0.1-alpha.
|
|
91
|
-
"@things-factory/setting-ui": "^7.0.1-alpha.
|
|
89
|
+
"@things-factory/print-ui": "^7.0.1-alpha.79",
|
|
90
|
+
"@things-factory/resource-ui": "^7.0.1-alpha.79",
|
|
91
|
+
"@things-factory/setting-ui": "^7.0.1-alpha.79",
|
|
92
92
|
"@things-factory/shell": "^7.0.1-alpha.71",
|
|
93
|
-
"@things-factory/system": "^7.0.1-alpha.
|
|
93
|
+
"@things-factory/system": "^7.0.1-alpha.79"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
96
|
"@things-factory/builder": "^7.0.1-alpha.71"
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "1893bab2cc88910b3a3b080f450a7acf879b3011"
|
|
99
99
|
}
|