@things-factory/operato-mms 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/mms.js +1 -1
- package/client/bootstrap.js +11 -9
- package/client/menu.js +1 -1
- package/client/pages/catalogue/home.js +1 -1
- package/client/pages/catalogue/product-marketplace-setting.js +1 -1
- package/client/pages/catalogue/product-variation-setting.js +1 -1
- package/client/pages/catalogue/warehouse-marketplace-auto-link-popup.js +10 -3
- package/client/pages/catalogue-variation/home.js +1 -1
- package/client/pages/order/home.js +1 -1
- package/client/pages/order/logistics/batch-init-popup.js +1 -1
- package/client/pages/order/logistics/branch-logistics-popup.js +1 -1
- package/client/pages/order/logistics/order-shipping-items.js +1 -1
- package/client/pages/order/logistics/pickup-logistics-popup.js +1 -1
- package/client/pages/order/select-datetime-popup.js +1 -1
- package/client/pages/reports/sales-by-platform/home.js +1 -1
- package/package.json +22 -22
package/client/actions/mms.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 './menu'
|
|
5
5
|
import './viewparts/user-circle'
|
|
@@ -7,16 +7,16 @@ import './viewparts/user-circle'
|
|
|
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
|
-
import { setAuthManagementMenus } from '@things-factory/auth-ui'
|
|
13
|
+
import { setAuthManagementMenus } from '@things-factory/auth-ui/dist-client'
|
|
14
14
|
import { appendViewpart, toggleOverlay, TOOL_POSITION, VIEWPART_POSITION } from '@operato/layout'
|
|
15
15
|
import { setupMenuPart } from '@things-factory/lite-menu'
|
|
16
|
-
import { setupContextUIPart } from '@things-factory/context-ui'
|
|
17
|
-
import { ADD_MORENDA } from '@things-factory/more-base'
|
|
18
|
-
import { ADD_SETTING } from '@things-factory/setting-base'
|
|
19
|
-
import { navigate, store } from '@
|
|
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'
|
|
19
|
+
import { navigate, store } from '@operato/shell'
|
|
20
20
|
import { isMobileDevice } from '@things-factory/utils'
|
|
21
21
|
|
|
22
22
|
import { fetchMmsStatus } from './actions/mms'
|
|
@@ -69,7 +69,9 @@ export default async function bootstrap() {
|
|
|
69
69
|
})
|
|
70
70
|
|
|
71
71
|
/* add addon-menu management page morenda */
|
|
72
|
-
if (
|
|
72
|
+
if (
|
|
73
|
+
await hasPrivilege({ privilege: 'mutation', category: 'menu', domainOwnerGranted: true, superUserGranted: true })
|
|
74
|
+
) {
|
|
73
75
|
store.dispatch({
|
|
74
76
|
type: ADD_MORENDA,
|
|
75
77
|
morenda: {
|
package/client/menu.js
CHANGED
|
@@ -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 { client } from '@
|
|
3
|
+
import { client } from '@operato/graphql'
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
5
|
import { css, html, LitElement } from 'lit'
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getCodeByName } from '@things-factory/code-base'
|
|
2
2
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
3
3
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
4
|
-
import { client } from '@
|
|
4
|
+
import { client } from '@operato/graphql'
|
|
5
5
|
import gql from 'graphql-tag'
|
|
6
6
|
import { css, html, LitElement } from 'lit'
|
|
7
7
|
import '../../components/variant-options-editor'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@things-factory/form-ui'
|
|
2
2
|
import '@operato/oops'
|
|
3
3
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
4
|
-
import { client } from '@
|
|
4
|
+
import { client } from '@operato/graphql'
|
|
5
5
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
6
6
|
import gql from 'graphql-tag'
|
|
7
7
|
import { css, html, LitElement } from 'lit'
|
|
@@ -132,7 +132,11 @@ class WarehouseMarketplaceAutoLinkPopup extends localize(i18next)(LitElement) {
|
|
|
132
132
|
</ul>
|
|
133
133
|
|
|
134
134
|
<div class="button-container">
|
|
135
|
-
<mwc-button
|
|
135
|
+
<mwc-button
|
|
136
|
+
raised
|
|
137
|
+
@click=${this.autoLinkWarehouseMarketplaceProduct}
|
|
138
|
+
label="${i18next.t('button.link_product')}"
|
|
139
|
+
></mwc-button>
|
|
136
140
|
</div>
|
|
137
141
|
<ox-oops-progress
|
|
138
142
|
.tag=${tag}
|
|
@@ -175,7 +179,10 @@ class WarehouseMarketplaceAutoLinkPopup extends localize(i18next)(LitElement) {
|
|
|
175
179
|
const response = await client.query({
|
|
176
180
|
query: gql`
|
|
177
181
|
mutation ($marketplaceStoreIds: [String]!, $isCheckedSku: Boolean!) {
|
|
178
|
-
autoLinkWarehouseMarketplaceProductVariations(
|
|
182
|
+
autoLinkWarehouseMarketplaceProductVariations(
|
|
183
|
+
marketplaceStoreIds: $marketplaceStoreIds
|
|
184
|
+
isCheckedSku: $isCheckedSku
|
|
185
|
+
)
|
|
179
186
|
}
|
|
180
187
|
`,
|
|
181
188
|
variables: {
|
|
@@ -5,7 +5,7 @@ import { css, html, LitElement } from 'lit'
|
|
|
5
5
|
|
|
6
6
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
7
7
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
8
|
-
import { client } from '@
|
|
8
|
+
import { client } from '@operato/graphql'
|
|
9
9
|
import { isMobileDevice } from '@things-factory/utils'
|
|
10
10
|
|
|
11
11
|
class BatchInitPopup extends localize(i18next)(LitElement) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@operato/data-grist'
|
|
2
2
|
import '@things-factory/form-ui'
|
|
3
3
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
4
|
-
import { client } from '@
|
|
4
|
+
import { client } from '@operato/graphql'
|
|
5
5
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
6
6
|
import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
|
|
7
7
|
import gql from 'graphql-tag'
|
|
@@ -6,7 +6,7 @@ import { css, html, LitElement } from 'lit'
|
|
|
6
6
|
|
|
7
7
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
9
|
-
import { client } from '@
|
|
9
|
+
import { client } from '@operato/graphql'
|
|
10
10
|
import { isMobileDevice } from '@things-factory/utils'
|
|
11
11
|
|
|
12
12
|
import { PLATFORM } from '../../constants'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@operato/data-grist'
|
|
2
2
|
import '@things-factory/form-ui'
|
|
3
3
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
4
|
-
import { client } from '@
|
|
4
|
+
import { client } from '@operato/graphql'
|
|
5
5
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
6
6
|
import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
|
|
7
7
|
import gql from 'graphql-tag'
|
|
@@ -5,7 +5,7 @@ import { css, html, LitElement } from 'lit'
|
|
|
5
5
|
|
|
6
6
|
import { SingleColumnFormStyles } from '@things-factory/form-ui'
|
|
7
7
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
8
|
-
import { client } from '@
|
|
8
|
+
import { client } from '@operato/graphql'
|
|
9
9
|
|
|
10
10
|
export class SelectDateTimePopup extends localize(i18next)(LitElement) {
|
|
11
11
|
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 SalesByPlatformHome 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-mms",
|
|
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,
|
|
@@ -70,38 +70,38 @@
|
|
|
70
70
|
"@operato/scene-timer": "^2.0.0-alpha.0",
|
|
71
71
|
"@operato/scene-visualizer": "^2.0.0-alpha.0",
|
|
72
72
|
"@operato/scene-wheel-sorter": "^2.0.0-alpha.0",
|
|
73
|
-
"@things-factory/apptool-ui": "^7.0.1-alpha.
|
|
73
|
+
"@things-factory/apptool-ui": "^7.0.1-alpha.79",
|
|
74
74
|
"@things-factory/attachment-base": "^7.0.1-alpha.78",
|
|
75
|
-
"@things-factory/auth-ui": "^7.0.1-alpha.
|
|
75
|
+
"@things-factory/auth-ui": "^7.0.1-alpha.79",
|
|
76
76
|
"@things-factory/biz-base": "^7.0.1-alpha.78",
|
|
77
|
-
"@things-factory/board-service": "^7.0.1-alpha.
|
|
78
|
-
"@things-factory/board-ui": "^7.0.1-alpha.
|
|
79
|
-
"@things-factory/code-ui": "^7.0.1-alpha.
|
|
80
|
-
"@things-factory/context-ui": "^7.0.1-alpha.
|
|
81
|
-
"@things-factory/dashboard": "^7.0.1-alpha.
|
|
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.
|
|
77
|
+
"@things-factory/board-service": "^7.0.1-alpha.79",
|
|
78
|
+
"@things-factory/board-ui": "^7.0.1-alpha.79",
|
|
79
|
+
"@things-factory/code-ui": "^7.0.1-alpha.79",
|
|
80
|
+
"@things-factory/context-ui": "^7.0.1-alpha.79",
|
|
81
|
+
"@things-factory/dashboard": "^7.0.1-alpha.79",
|
|
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/geography": "^7.0.1-alpha.78",
|
|
86
86
|
"@things-factory/help": "^7.0.1-alpha.71",
|
|
87
87
|
"@things-factory/i18n-base": "^7.0.1-alpha.77",
|
|
88
|
-
"@things-factory/integration-fulfillment": "^7.0.1-alpha.
|
|
89
|
-
"@things-factory/integration-lmd": "^7.0.1-alpha.
|
|
90
|
-
"@things-factory/lite-menu": "^7.0.1-alpha.
|
|
91
|
-
"@things-factory/marketplace-base": "^7.0.1-alpha.
|
|
92
|
-
"@things-factory/more-ui": "^7.0.1-alpha.
|
|
88
|
+
"@things-factory/integration-fulfillment": "^7.0.1-alpha.79",
|
|
89
|
+
"@things-factory/integration-lmd": "^7.0.1-alpha.79",
|
|
90
|
+
"@things-factory/lite-menu": "^7.0.1-alpha.80",
|
|
91
|
+
"@things-factory/marketplace-base": "^7.0.1-alpha.79",
|
|
92
|
+
"@things-factory/more-ui": "^7.0.1-alpha.79",
|
|
93
93
|
"@things-factory/notification": "^7.0.1-alpha.78",
|
|
94
94
|
"@things-factory/oauth2-client": "^7.0.1-alpha.78",
|
|
95
95
|
"@things-factory/pdf": "^7.0.1-alpha.71",
|
|
96
|
-
"@things-factory/product-base": "^7.0.1-alpha.
|
|
97
|
-
"@things-factory/resource-ui": "^7.0.1-alpha.
|
|
98
|
-
"@things-factory/setting-ui": "^7.0.1-alpha.
|
|
99
|
-
"@things-factory/system": "^7.0.1-alpha.
|
|
100
|
-
"@things-factory/warehouse-base": "^7.0.1-alpha.
|
|
96
|
+
"@things-factory/product-base": "^7.0.1-alpha.79",
|
|
97
|
+
"@things-factory/resource-ui": "^7.0.1-alpha.79",
|
|
98
|
+
"@things-factory/setting-ui": "^7.0.1-alpha.79",
|
|
99
|
+
"@things-factory/system": "^7.0.1-alpha.79",
|
|
100
|
+
"@things-factory/warehouse-base": "^7.0.1-alpha.79"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
103
|
"@things-factory/builder": "^7.0.1-alpha.71",
|
|
104
104
|
"@types/node-fetch": "^2.5.7"
|
|
105
105
|
},
|
|
106
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "1893bab2cc88910b3a3b080f450a7acf879b3011"
|
|
107
107
|
}
|