@things-factory/sales-ui 4.0.0-y.0 → 4.0.4

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,18 +1,20 @@
1
+ import '@things-factory/grist-ui'
2
+ import '@things-factory/biz-ui'
3
+ import '@things-factory/warehouse-ui'
4
+
5
+ import gql from 'graphql-tag'
6
+ import { css, html } from 'lit-element'
7
+ import { connect } from 'pwa-helpers/connect-mixin'
8
+
1
9
  import { getCodeByName } from '@things-factory/code-base'
2
10
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
3
- import '@things-factory/grist-ui'
4
11
  import { i18next, localize } from '@things-factory/i18n-base'
5
- import { openPopup } from '@things-factory/layout-base'
6
- import { client, CustomAlert, navigate, PageView, store, gqlContext } from '@things-factory/shell'
7
- import { flattenObject, gqlBuilder, isMobileDevice } from '@things-factory/utils'
12
+ import { fetchSettingRule } from '@things-factory/setting-ui'
13
+ import { client, CustomAlert, gqlContext, navigate, PageView, store } from '@things-factory/shell'
8
14
  import { CommonButtonStyles } from '@things-factory/styles'
9
- import gql from 'graphql-tag'
10
- import { css, html } from 'lit-element'
15
+ import { flattenObject, gqlBuilder, isMobileDevice } from '@things-factory/utils'
16
+
11
17
  import { PURCHASE_ORDER_STATUS } from '../../constants'
12
- import { fetchSettingRule } from '@things-factory/setting-ui'
13
- import { connect } from 'pwa-helpers/connect-mixin'
14
- import '@things-factory/biz-ui'
15
- import '@things-factory/warehouse-ui'
16
18
 
17
19
  class PurchaseOrderApprovalDetail extends connect(store)(localize(i18next)(PageView)) {
18
20
  static get properties() {
@@ -696,7 +698,7 @@ class PurchaseOrderApprovalDetail extends connect(store)(localize(i18next)(PageV
696
698
  const filters = []
697
699
  const response = await client.query({
698
700
  query: gql`
699
- query partnersBizplaces($filters: [Filter]) {
701
+ query partnersBizplaces($filters: [Filter!]) {
700
702
  partnersBizplaces(filters: $filters) {
701
703
  items {
702
704
  id
@@ -1,18 +1,21 @@
1
+ import '@things-factory/grist-ui'
2
+ import '@things-factory/biz-ui'
3
+ import '@things-factory/warehouse-ui'
4
+
5
+ import gql from 'graphql-tag'
6
+ import { css, html } from 'lit-element'
7
+ import { connect } from 'pwa-helpers/connect-mixin'
8
+
1
9
  import { getCodeByName } from '@things-factory/code-base'
2
10
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
3
- import '@things-factory/grist-ui'
4
11
  import { i18next, localize } from '@things-factory/i18n-base'
5
12
  import { openPopup } from '@things-factory/layout-base'
13
+ import { fetchSettingRule } from '@things-factory/setting-ui'
6
14
  import { client, CustomAlert, navigate, PageView, store } from '@things-factory/shell'
7
- import { flattenObject, gqlBuilder, isMobileDevice } from '@things-factory/utils'
8
15
  import { CommonButtonStyles } from '@things-factory/styles'
9
- import gql from 'graphql-tag'
10
- import { css, html } from 'lit-element'
16
+ import { flattenObject, gqlBuilder, isMobileDevice } from '@things-factory/utils'
17
+
11
18
  import { PURCHASE_ORDER_STATUS } from '../../constants'
12
- import { fetchSettingRule } from '@things-factory/setting-ui'
13
- import { connect } from 'pwa-helpers/connect-mixin'
14
- import '@things-factory/biz-ui'
15
- import '@things-factory/warehouse-ui'
16
19
 
17
20
  class PurchaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
18
21
  static get properties() {
@@ -858,7 +861,7 @@ class PurchaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
858
861
  const filters = []
859
862
  const response = await client.query({
860
863
  query: gql`
861
- query partnersBizplaces($filters: [Filter]) {
864
+ query partnersBizplaces($filters: [Filter!]) {
862
865
  partnersBizplaces(filters: $filters) {
863
866
  items {
864
867
  id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/sales-ui",
3
- "version": "4.0.0-y.0",
3
+ "version": "4.0.4",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,15 +24,15 @@
24
24
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
25
25
  },
26
26
  "dependencies": {
27
- "@things-factory/code-base": "^4.0.0-y.0",
28
- "@things-factory/form-ui": "^4.0.0-y.0",
29
- "@things-factory/grist-ui": "^4.0.0-y.0",
30
- "@things-factory/i18n-base": "^4.0.0-y.0",
31
- "@things-factory/import-ui": "^4.0.0-y.0",
32
- "@things-factory/sales-base": "^4.0.0-y.0",
33
- "@things-factory/setting-ui": "^4.0.0-y.0",
34
- "@things-factory/shell": "^4.0.0-y.0",
35
- "@things-factory/warehouse-ui": "^4.0.0-y.0"
27
+ "@things-factory/code-base": "^4.0.4",
28
+ "@things-factory/form-ui": "^4.0.4",
29
+ "@things-factory/grist-ui": "^4.0.1",
30
+ "@things-factory/i18n-base": "^4.0.4",
31
+ "@things-factory/import-ui": "^4.0.4",
32
+ "@things-factory/sales-base": "^4.0.4",
33
+ "@things-factory/setting-ui": "^4.0.4",
34
+ "@things-factory/shell": "^4.0.4",
35
+ "@things-factory/warehouse-ui": "^4.0.4"
36
36
  },
37
- "gitHead": "64ee0f6547f90b1386024b975efc3b31a5e381cb"
37
+ "gitHead": "292d7c4e2675d228d6be474ea6a0525d26ac1657"
38
38
  }