@things-factory/product-ui 4.3.326 → 4.3.344
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/pages/product-list.js +18 -5
- package/package.json +3 -3
|
@@ -3,15 +3,29 @@ import '@things-factory/grist-ui'
|
|
|
3
3
|
import './product-details-popup'
|
|
4
4
|
|
|
5
5
|
import gql from 'graphql-tag'
|
|
6
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
css,
|
|
8
|
+
html
|
|
9
|
+
} from 'lit'
|
|
7
10
|
import _ from 'lodash'
|
|
8
11
|
|
|
9
12
|
import { getCodeByName } from '@things-factory/code-base'
|
|
10
|
-
import {
|
|
13
|
+
import {
|
|
14
|
+
i18next,
|
|
15
|
+
localize
|
|
16
|
+
} from '@things-factory/i18n-base'
|
|
11
17
|
import { openImportPopUp } from '@things-factory/import-ui'
|
|
12
18
|
import { openPopup } from '@things-factory/layout-base'
|
|
13
|
-
import {
|
|
14
|
-
|
|
19
|
+
import {
|
|
20
|
+
client,
|
|
21
|
+
CustomAlert,
|
|
22
|
+
gqlContext,
|
|
23
|
+
PageView
|
|
24
|
+
} from '@things-factory/shell'
|
|
25
|
+
import {
|
|
26
|
+
CommonButtonStyles,
|
|
27
|
+
ScrollbarStyles
|
|
28
|
+
} from '@things-factory/styles'
|
|
15
29
|
import { isMobileDevice } from '@things-factory/utils'
|
|
16
30
|
|
|
17
31
|
import { PICKING_STRATEGIES } from './constants/picking-strategy'
|
|
@@ -1389,7 +1403,6 @@ class ProductList extends localize(i18next)(PageView) {
|
|
|
1389
1403
|
const pds = product.productDetails.map(pd => {
|
|
1390
1404
|
return {
|
|
1391
1405
|
...product,
|
|
1392
|
-
name: pd.name,
|
|
1393
1406
|
packingType: pd.packingType,
|
|
1394
1407
|
uom: pd.uom,
|
|
1395
1408
|
uomValue: pd.uomValue,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/product-ui",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.344",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"@things-factory/i18n-base": "^4.3.281",
|
|
29
29
|
"@things-factory/import-ui": "^4.3.281",
|
|
30
30
|
"@things-factory/layout-base": "^4.3.281",
|
|
31
|
-
"@things-factory/product-base": "^4.3.
|
|
31
|
+
"@things-factory/product-base": "^4.3.344",
|
|
32
32
|
"@things-factory/shell": "^4.3.281"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "3b273a578f2060cafb10611127c7f40e7de20b99"
|
|
35
35
|
}
|