@pisell/private-materials 6.9.4 → 6.9.5
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/booking/components/footer/utils.js +1 -1
- package/lib/components/booking/components/footer/utils.js +1 -1
- package/package.json +2 -2
|
@@ -295,7 +295,7 @@ export var formatProductPrice = function formatProductPrice(item) {
|
|
|
295
295
|
var _item$_extend6, _item$price, _item$_extend7, _item$_extend8, _item$_extend9, _item$variant;
|
|
296
296
|
var other = (_item$_extend6 = item._extend) === null || _item$_extend6 === void 0 ? void 0 : _item$_extend6.other;
|
|
297
297
|
var price = Number((_item$price = item === null || item === void 0 ? void 0 : item.price) !== null && _item$price !== void 0 ? _item$price : item === null || item === void 0 || (_item$_extend7 = item._extend) === null || _item$_extend7 === void 0 ? void 0 : _item$_extend7.price);
|
|
298
|
-
if (isString((_item$_extend8 = item._extend) === null || _item$_extend8 === void 0 ? void 0 : _item$_extend8.priceOverride)
|
|
298
|
+
if (isString((_item$_extend8 = item._extend) === null || _item$_extend8 === void 0 ? void 0 : _item$_extend8.priceOverride) || isNumber((_item$_extend9 = item._extend) === null || _item$_extend9 === void 0 ? void 0 : _item$_extend9.priceOverride)) {
|
|
299
299
|
var _item$_extend10;
|
|
300
300
|
price = Number(item === null || item === void 0 || (_item$_extend10 = item._extend) === null || _item$_extend10 === void 0 ? void 0 : _item$_extend10.price);
|
|
301
301
|
}
|
|
@@ -261,7 +261,7 @@ var formatProductPrice = (item) => {
|
|
|
261
261
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
262
262
|
const other = (_a = item._extend) == null ? void 0 : _a.other;
|
|
263
263
|
let price = Number((item == null ? void 0 : item.price) ?? ((_b = item == null ? void 0 : item._extend) == null ? void 0 : _b.price));
|
|
264
|
-
if ((0, import_utils5.isString)((_c = item._extend) == null ? void 0 : _c.priceOverride)
|
|
264
|
+
if ((0, import_utils5.isString)((_c = item._extend) == null ? void 0 : _c.priceOverride) || (0, import_utils5.isNumber)((_d = item._extend) == null ? void 0 : _d.priceOverride)) {
|
|
265
265
|
price = Number((_e = item == null ? void 0 : item._extend) == null ? void 0 : _e.price);
|
|
266
266
|
}
|
|
267
267
|
if ((other == null ? void 0 : other.product_variant_id) > 0 && ((_f = item == null ? void 0 : item.variant) == null ? void 0 : _f.length) > 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.9.
|
|
3
|
+
"version": "6.9.5",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"react-infinite-scroll-component": "^6.1.0",
|
|
68
68
|
"react-resizable": "^3.0.5",
|
|
69
69
|
"styled-components": "^6.0.0-rc.3",
|
|
70
|
-
"@pisell/materials": "6.9.3",
|
|
71
70
|
"@pisell/utils": "3.0.2",
|
|
71
|
+
"@pisell/materials": "6.9.3",
|
|
72
72
|
"@pisell/icon": "0.0.11",
|
|
73
73
|
"@pisell/date-picker": "3.0.7"
|
|
74
74
|
},
|