@things-factory/operato-wms 4.3.525 → 4.3.526

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.
@@ -1456,17 +1456,23 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
1456
1456
  }
1457
1457
 
1458
1458
  async complete() {
1459
- if (this._enablePackingGrossWeight && !this.grossWeightInput.value) {
1459
+
1460
+ if (this._enablePackingGrossWeight) {
1461
+ const grossWeightValue = this.grossWeightInput.value;
1462
+
1463
+ if (!grossWeightValue) {
1460
1464
  throw new Error(this.showToast({
1461
1465
  message: i18next.t('text.please_input_the_gross_weight_to_proceed_with_complete_packing')
1462
1466
  }));
1463
1467
  }
1464
1468
 
1465
- if (!/^\d*\.?\d*$/.test(this.grossWeightInput.value) ) {
1469
+ if (!/^\d*\.?\d*$/.test(grossWeightValue)) {
1466
1470
  throw new Error(this.showToast({
1467
1471
  message: i18next.t('text.please_input_a_positive_gross_weight_to_proceed_with_complete_packing')
1468
1472
  }));
1469
1473
  }
1474
+ }
1475
+
1470
1476
 
1471
1477
  const response = await client.mutate({
1472
1478
  mutation: gql`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.525",
3
+ "version": "4.3.526",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -62,60 +62,60 @@
62
62
  "@operato/scene-tab": "^0.1.8",
63
63
  "@operato/scene-table": "^0.1.8",
64
64
  "@operato/scene-wheel-sorter": "^0.1.8",
65
- "@things-factory/apptool-ui": "^4.3.434",
66
- "@things-factory/attachment-ui": "^4.3.518",
67
- "@things-factory/auth-ui": "^4.3.518",
68
- "@things-factory/barcode-ui": "^4.3.434",
69
- "@things-factory/biz-ui": "^4.3.518",
70
- "@things-factory/board-service": "^4.3.518",
71
- "@things-factory/board-ui": "^4.3.518",
72
- "@things-factory/code-ui": "^4.3.518",
73
- "@things-factory/context-ui": "^4.3.434",
74
- "@things-factory/export-ui": "^4.3.434",
75
- "@things-factory/export-ui-csv": "^4.3.434",
76
- "@things-factory/export-ui-excel": "^4.3.434",
77
- "@things-factory/fav-base": "^4.3.518",
78
- "@things-factory/form-ui": "^4.3.434",
79
- "@things-factory/geography": "^4.3.518",
80
- "@things-factory/grist-ui": "^4.3.434",
81
- "@things-factory/help": "^4.3.434",
82
- "@things-factory/i18n-base": "^4.3.434",
83
- "@things-factory/id-rule-base": "^4.3.518",
84
- "@things-factory/import-ui": "^4.3.434",
85
- "@things-factory/import-ui-excel": "^4.3.434",
86
- "@things-factory/menu-ui": "^4.3.518",
87
- "@things-factory/more-ui": "^4.3.434",
88
- "@things-factory/notification": "^4.3.518",
89
- "@things-factory/pdf": "^4.3.381",
90
- "@things-factory/print-proxy-service": "^4.3.434",
91
- "@things-factory/print-ui": "^4.3.434",
92
- "@things-factory/product-base": "^4.3.518",
93
- "@things-factory/resource-ui": "^4.3.518",
94
- "@things-factory/sales-ui": "^4.3.525",
95
- "@things-factory/scene-data-transform": "^4.3.381",
96
- "@things-factory/scene-excel": "^4.3.381",
97
- "@things-factory/scene-firebase": "^4.3.381",
98
- "@things-factory/scene-form": "^4.3.381",
99
- "@things-factory/scene-google-map": "^4.3.381",
100
- "@things-factory/scene-graphql": "^4.3.381",
101
- "@things-factory/scene-label": "^4.3.434",
102
- "@things-factory/scene-marker": "^4.3.381",
103
- "@things-factory/scene-mqtt": "^4.3.381",
104
- "@things-factory/scene-restful": "^4.3.381",
105
- "@things-factory/scene-visualizer": "^4.3.381",
106
- "@things-factory/setting-ui": "^4.3.518",
107
- "@things-factory/system-ui": "^4.3.434",
108
- "@things-factory/transport-base": "^4.3.518",
109
- "@things-factory/tutorial-ui": "^4.3.518",
110
- "@things-factory/warehouse-base": "^4.3.525",
111
- "@things-factory/worksheet-base": "^4.3.525"
65
+ "@things-factory/apptool-ui": "^4.3.526",
66
+ "@things-factory/attachment-ui": "^4.3.526",
67
+ "@things-factory/auth-ui": "^4.3.526",
68
+ "@things-factory/barcode-ui": "^4.3.526",
69
+ "@things-factory/biz-ui": "^4.3.526",
70
+ "@things-factory/board-service": "^4.3.526",
71
+ "@things-factory/board-ui": "^4.3.526",
72
+ "@things-factory/code-ui": "^4.3.526",
73
+ "@things-factory/context-ui": "^4.3.526",
74
+ "@things-factory/export-ui": "^4.3.526",
75
+ "@things-factory/export-ui-csv": "^4.3.526",
76
+ "@things-factory/export-ui-excel": "^4.3.526",
77
+ "@things-factory/fav-base": "^4.3.526",
78
+ "@things-factory/form-ui": "^4.3.526",
79
+ "@things-factory/geography": "^4.3.526",
80
+ "@things-factory/grist-ui": "^4.3.526",
81
+ "@things-factory/help": "^4.3.526",
82
+ "@things-factory/i18n-base": "^4.3.526",
83
+ "@things-factory/id-rule-base": "^4.3.526",
84
+ "@things-factory/import-ui": "^4.3.526",
85
+ "@things-factory/import-ui-excel": "^4.3.526",
86
+ "@things-factory/menu-ui": "^4.3.526",
87
+ "@things-factory/more-ui": "^4.3.526",
88
+ "@things-factory/notification": "^4.3.526",
89
+ "@things-factory/pdf": "^4.3.526",
90
+ "@things-factory/print-proxy-service": "^4.3.526",
91
+ "@things-factory/print-ui": "^4.3.526",
92
+ "@things-factory/product-base": "^4.3.526",
93
+ "@things-factory/resource-ui": "^4.3.526",
94
+ "@things-factory/sales-ui": "^4.3.526",
95
+ "@things-factory/scene-data-transform": "^4.3.526",
96
+ "@things-factory/scene-excel": "^4.3.526",
97
+ "@things-factory/scene-firebase": "^4.3.526",
98
+ "@things-factory/scene-form": "^4.3.526",
99
+ "@things-factory/scene-google-map": "^4.3.526",
100
+ "@things-factory/scene-graphql": "^4.3.526",
101
+ "@things-factory/scene-label": "^4.3.526",
102
+ "@things-factory/scene-marker": "^4.3.526",
103
+ "@things-factory/scene-mqtt": "^4.3.526",
104
+ "@things-factory/scene-restful": "^4.3.526",
105
+ "@things-factory/scene-visualizer": "^4.3.526",
106
+ "@things-factory/setting-ui": "^4.3.526",
107
+ "@things-factory/system-ui": "^4.3.526",
108
+ "@things-factory/transport-base": "^4.3.526",
109
+ "@things-factory/tutorial-ui": "^4.3.526",
110
+ "@things-factory/warehouse-base": "^4.3.526",
111
+ "@things-factory/worksheet-base": "^4.3.526"
112
112
  },
113
113
  "devDependencies": {
114
- "@things-factory/builder": "^4.3.381",
114
+ "@things-factory/builder": "^4.3.526",
115
115
  "cypress": "^9.4.1",
116
116
  "cypress-file-upload": "^5.0.8",
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "b16b042116f7068428089f4de5bf7c61ccc0629d"
120
+ "gitHead": "a9a0046f9332bc4b538265ac81c93f0a14346330"
121
121
  }