@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.
@@ -1,5 +1,5 @@
1
1
  import gql from 'graphql-tag'
2
- import { client } from '@things-factory/shell'
2
+ import { client } from '@operato/graphql'
3
3
 
4
4
  export const REFRESH_MMS = 'REFRESH_MMS'
5
5
 
@@ -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 '@things-factory/shell'
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 (await hasPrivilege({ privilege: 'mutation', category: 'menu', domainOwnerGranted: true, superUserGranted: true })) {
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,7 +1,7 @@
1
1
  import '@material/mwc-icon'
2
2
 
3
3
  import { updateMenuTemplate } from '@things-factory/lite-menu'
4
- import { store } from '@things-factory/shell'
4
+ import { store } from '@operato/shell'
5
5
 
6
6
  var stores, platforms
7
7
 
@@ -1,4 +1,4 @@
1
- import { PageView, store } from '@things-factory/shell'
1
+ import { PageView, store } from '@operato/shell'
2
2
  import { css, html } from 'lit'
3
3
  import { connect } from 'pwa-helpers/connect-mixin.js'
4
4
 
@@ -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 '@things-factory/shell'
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 '@things-factory/shell'
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 '@things-factory/shell'
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 raised @click=${this.autoLinkWarehouseMarketplaceProduct} label="${i18next.t('button.link_product')}"></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(marketplaceStoreIds: $marketplaceStoreIds, isCheckedSku: $isCheckedSku)
182
+ autoLinkWarehouseMarketplaceProductVariations(
183
+ marketplaceStoreIds: $marketplaceStoreIds
184
+ isCheckedSku: $isCheckedSku
185
+ )
179
186
  }
180
187
  `,
181
188
  variables: {
@@ -1,4 +1,4 @@
1
- import { PageView, store } from '@things-factory/shell'
1
+ import { PageView, store } from '@operato/shell'
2
2
  import { css, html } from 'lit'
3
3
  import { connect } from 'pwa-helpers/connect-mixin.js'
4
4
 
@@ -1,4 +1,4 @@
1
- import { PageView, store } from '@things-factory/shell'
1
+ import { PageView, store } from '@operato/shell'
2
2
  import { css, html } from 'lit'
3
3
  import { connect } from 'pwa-helpers/connect-mixin.js'
4
4
 
@@ -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 '@things-factory/shell'
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 '@things-factory/shell'
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 '@things-factory/shell'
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 '@things-factory/shell'
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 '@things-factory/shell'
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 '@things-factory/shell'
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.78",
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.78",
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.78",
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",
78
- "@things-factory/board-ui": "^7.0.1-alpha.78",
79
- "@things-factory/code-ui": "^7.0.1-alpha.78",
80
- "@things-factory/context-ui": "^7.0.1-alpha.71",
81
- "@things-factory/dashboard": "^7.0.1-alpha.78",
82
- "@things-factory/export-ui": "^7.0.1-alpha.71",
83
- "@things-factory/export-ui-csv": "^7.0.1-alpha.71",
84
- "@things-factory/export-ui-excel": "^7.0.1-alpha.71",
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.78",
89
- "@things-factory/integration-lmd": "^7.0.1-alpha.78",
90
- "@things-factory/lite-menu": "^7.0.1-alpha.78",
91
- "@things-factory/marketplace-base": "^7.0.1-alpha.78",
92
- "@things-factory/more-ui": "^7.0.1-alpha.71",
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.78",
97
- "@things-factory/resource-ui": "^7.0.1-alpha.78",
98
- "@things-factory/setting-ui": "^7.0.1-alpha.78",
99
- "@things-factory/system": "^7.0.1-alpha.71",
100
- "@things-factory/warehouse-base": "^7.0.1-alpha.78"
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": "6423c664e70e7877c362b4aebb7f169e4a2ad22d"
106
+ "gitHead": "1893bab2cc88910b3a3b080f450a7acf879b3011"
107
107
  }