@things-factory/product-ui 4.3.444 → 4.3.450
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 +25 -5
- package/package.json +2 -2
|
@@ -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'
|
|
@@ -1047,7 +1061,13 @@ class ProductList extends localize(i18next)(PageView) {
|
|
|
1047
1061
|
commissionFee: patch?.commissionFee ? parseFloat(patch.commissionFee) : undefined,
|
|
1048
1062
|
platformFee: patch?.platformFee ? parseFloat(patch.platformFee) : undefined,
|
|
1049
1063
|
serviceFee: patch?.serviceFee ? parseFloat(patch.serviceFee) : undefined,
|
|
1050
|
-
transactionFee: patch?.transactionFee ? parseFloat(patch.transactionFee) : undefined
|
|
1064
|
+
transactionFee: patch?.transactionFee ? parseFloat(patch.transactionFee) : undefined,
|
|
1065
|
+
nettWeight: patch?.nettWeight ? parseFloat(patch.nettWeight) : undefined,
|
|
1066
|
+
width: patch?.width ? parseFloat(patch.width) : undefined,
|
|
1067
|
+
depth: patch?.depth ? parseFloat(patch.depth) : undefined,
|
|
1068
|
+
height: patch?.height ? parseFloat(patch.height) : undefined,
|
|
1069
|
+
grossWeight: patch?.grossWeight ? parseFloat(patch.grossWeight) : undefined,
|
|
1070
|
+
volume: patch?.volume ? parseFloat(patch.volume) : undefined
|
|
1051
1071
|
}
|
|
1052
1072
|
})
|
|
1053
1073
|
|
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.450",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"@things-factory/product-base": "^4.3.443",
|
|
32
32
|
"@things-factory/shell": "^4.3.434"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "ae6d14ca0ee8a171fbc281a232d0097c4e0370e4"
|
|
35
35
|
}
|