@things-factory/product-ui 4.3.444 → 4.3.452

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.
@@ -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 { css, html } from 'lit'
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 { i18next, localize } from '@things-factory/i18n-base'
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 { client, CustomAlert, gqlContext, PageView } from '@things-factory/shell'
14
- import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
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.444",
3
+ "version": "4.3.452",
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.434",
29
29
  "@things-factory/import-ui": "^4.3.434",
30
30
  "@things-factory/layout-base": "^4.3.434",
31
- "@things-factory/product-base": "^4.3.443",
31
+ "@things-factory/product-base": "^4.3.452",
32
32
  "@things-factory/shell": "^4.3.434"
33
33
  },
34
- "gitHead": "90c31c1ab1a206634981394766bf4cf4a4c2b591"
34
+ "gitHead": "59cbeb74b3c12169baa9e76723e0952b26486d4e"
35
35
  }