@licklist/design 0.71.6-dev.8 → 0.71.6-dev.9
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.
|
@@ -5,7 +5,8 @@ var cartSumByOrderProducts = function(param) {
|
|
|
5
5
|
}
|
|
6
6
|
return orderProducts.reduce(function(prevSumValue, product) {
|
|
7
7
|
if (!product) return 0;
|
|
8
|
-
var
|
|
8
|
+
var _product_deposit;
|
|
9
|
+
var price = isTotalSum ? product === null || product === void 0 ? void 0 : product.price : (_product_deposit = product === null || product === void 0 ? void 0 : product.deposit) !== null && _product_deposit !== void 0 ? _product_deposit : product === null || product === void 0 ? void 0 : product.price;
|
|
9
10
|
return prevSumValue + price * product.quantity;
|
|
10
11
|
}, 0);
|
|
11
12
|
};
|
package/package.json
CHANGED
package/yarn.lock
CHANGED
|
@@ -5692,11 +5692,11 @@ __metadata:
|
|
|
5692
5692
|
linkType: hard
|
|
5693
5693
|
|
|
5694
5694
|
"@types/node@npm:*":
|
|
5695
|
-
version: 22.10.
|
|
5696
|
-
resolution: "@types/node@npm:22.10.
|
|
5695
|
+
version: 22.10.3
|
|
5696
|
+
resolution: "@types/node@npm:22.10.3"
|
|
5697
5697
|
dependencies:
|
|
5698
5698
|
undici-types: "npm:~6.20.0"
|
|
5699
|
-
checksum: 10c0/
|
|
5699
|
+
checksum: 10c0/0471a73c8672c803b1f2b912c2c466d00a217186933e8ff38ec7779b4a3f88a0eea3b513a59f2abf9de17cc8bbca688a3c6643c6513ac8dd1c3e45d25fab93b1
|
|
5700
5700
|
languageName: node
|
|
5701
5701
|
linkType: hard
|
|
5702
5702
|
|
|
@@ -10220,13 +10220,14 @@ __metadata:
|
|
|
10220
10220
|
linkType: hard
|
|
10221
10221
|
|
|
10222
10222
|
"es-set-tostringtag@npm:^2.0.3":
|
|
10223
|
-
version: 2.0
|
|
10224
|
-
resolution: "es-set-tostringtag@npm:2.0
|
|
10223
|
+
version: 2.1.0
|
|
10224
|
+
resolution: "es-set-tostringtag@npm:2.1.0"
|
|
10225
10225
|
dependencies:
|
|
10226
|
-
|
|
10226
|
+
es-errors: "npm:^1.3.0"
|
|
10227
|
+
get-intrinsic: "npm:^1.2.6"
|
|
10227
10228
|
has-tostringtag: "npm:^1.0.2"
|
|
10228
|
-
hasown: "npm:^2.0.
|
|
10229
|
-
checksum: 10c0/
|
|
10229
|
+
hasown: "npm:^2.0.2"
|
|
10230
|
+
checksum: 10c0/ef2ca9ce49afe3931cb32e35da4dcb6d86ab02592cfc2ce3e49ced199d9d0bb5085fc7e73e06312213765f5efa47cc1df553a6a5154584b21448e9fb8355b1af
|
|
10230
10231
|
languageName: node
|
|
10231
10232
|
linkType: hard
|
|
10232
10233
|
|
|
@@ -11628,6 +11629,16 @@ __metadata:
|
|
|
11628
11629
|
languageName: node
|
|
11629
11630
|
linkType: hard
|
|
11630
11631
|
|
|
11632
|
+
"get-proto@npm:^1.0.0":
|
|
11633
|
+
version: 1.0.0
|
|
11634
|
+
resolution: "get-proto@npm:1.0.0"
|
|
11635
|
+
dependencies:
|
|
11636
|
+
dunder-proto: "npm:^1.0.1"
|
|
11637
|
+
es-object-atoms: "npm:^1.0.0"
|
|
11638
|
+
checksum: 10c0/460c917c73ae64233114349854657b755c7353d736b3d33a5cde59920cbfdca92d1812cf15423ae901fe77edd9709840782fa32766902367482ec14210b9897f
|
|
11639
|
+
languageName: node
|
|
11640
|
+
linkType: hard
|
|
11641
|
+
|
|
11631
11642
|
"get-stream@npm:^4.0.0":
|
|
11632
11643
|
version: 4.1.0
|
|
11633
11644
|
resolution: "get-stream@npm:4.1.0"
|
|
@@ -12109,7 +12120,7 @@ __metadata:
|
|
|
12109
12120
|
languageName: node
|
|
12110
12121
|
linkType: hard
|
|
12111
12122
|
|
|
12112
|
-
"hasown@npm:^2.0.0, hasown@npm:^2.0.
|
|
12123
|
+
"hasown@npm:^2.0.0, hasown@npm:^2.0.2":
|
|
12113
12124
|
version: 2.0.2
|
|
12114
12125
|
resolution: "hasown@npm:2.0.2"
|
|
12115
12126
|
dependencies:
|
|
@@ -13376,16 +13387,16 @@ __metadata:
|
|
|
13376
13387
|
linkType: hard
|
|
13377
13388
|
|
|
13378
13389
|
"iterator.prototype@npm:^1.1.4":
|
|
13379
|
-
version: 1.1.
|
|
13380
|
-
resolution: "iterator.prototype@npm:1.1.
|
|
13390
|
+
version: 1.1.5
|
|
13391
|
+
resolution: "iterator.prototype@npm:1.1.5"
|
|
13381
13392
|
dependencies:
|
|
13382
13393
|
define-data-property: "npm:^1.1.4"
|
|
13383
13394
|
es-object-atoms: "npm:^1.0.0"
|
|
13384
13395
|
get-intrinsic: "npm:^1.2.6"
|
|
13396
|
+
get-proto: "npm:^1.0.0"
|
|
13385
13397
|
has-symbols: "npm:^1.1.0"
|
|
13386
|
-
reflect.getprototypeof: "npm:^1.0.8"
|
|
13387
13398
|
set-function-name: "npm:^2.0.2"
|
|
13388
|
-
checksum: 10c0/
|
|
13399
|
+
checksum: 10c0/f7a262808e1b41049ab55f1e9c29af7ec1025a000d243b83edf34ce2416eedd56079b117fa59376bb4a724110690f13aa8427f2ee29a09eec63a7e72367626d0
|
|
13389
13400
|
languageName: node
|
|
13390
13401
|
linkType: hard
|
|
13391
13402
|
|
|
@@ -18331,7 +18342,7 @@ __metadata:
|
|
|
18331
18342
|
languageName: node
|
|
18332
18343
|
linkType: hard
|
|
18333
18344
|
|
|
18334
|
-
"reflect.getprototypeof@npm:^1.0.6, reflect.getprototypeof@npm:^1.0.
|
|
18345
|
+
"reflect.getprototypeof@npm:^1.0.6, reflect.getprototypeof@npm:^1.0.9":
|
|
18335
18346
|
version: 1.0.9
|
|
18336
18347
|
resolution: "reflect.getprototypeof@npm:1.0.9"
|
|
18337
18348
|
dependencies:
|