tabexseriescomponents 0.0.334 → 0.0.335
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/dist/index.cjs.js +8 -4
- package/dist/index.esm.js +8 -4
- package/dist/index.umd.js +8 -4
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1535,11 +1535,11 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
1535
1535
|
React.useEffect(function () {
|
|
1536
1536
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4;
|
|
1537
1537
|
var price = '';
|
|
1538
|
-
if (
|
|
1538
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.hassale == 0) {
|
|
1539
1539
|
price = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
1540
|
-
} else if (
|
|
1540
|
+
} else if (fetchProductInfoQueryContext.data.data.productinfo.hassale == 1) {
|
|
1541
1541
|
price = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
1542
|
-
} else if (
|
|
1542
|
+
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : (_fetchProductInfoQuer4 = _fetchProductInfoQuer3.variants[variantindexcompleted]) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.hassale) == 1) {
|
|
1543
1543
|
price = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
1544
1544
|
} else {
|
|
1545
1545
|
price = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
@@ -12369,7 +12369,11 @@ var Filter$1 = function Filter(props) {
|
|
|
12369
12369
|
}
|
|
12370
12370
|
});
|
|
12371
12371
|
if (!CollectionExists) {
|
|
12372
|
-
tempfetchproductsfilerobjcontext.collections.
|
|
12372
|
+
if (tempfetchproductsfilerobjcontext.collections != undefined && Array.isArray(tempfetchproductsfilerobjcontext.collections)) {
|
|
12373
|
+
tempfetchproductsfilerobjcontext.collections.push(collectionid);
|
|
12374
|
+
} else {
|
|
12375
|
+
tempfetchproductsfilerobjcontext.collections = [collectionid];
|
|
12376
|
+
}
|
|
12373
12377
|
}
|
|
12374
12378
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
12375
12379
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
package/dist/index.esm.js
CHANGED
|
@@ -1488,11 +1488,11 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
1488
1488
|
useEffect(function () {
|
|
1489
1489
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4;
|
|
1490
1490
|
var price = '';
|
|
1491
|
-
if (
|
|
1491
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.hassale == 0) {
|
|
1492
1492
|
price = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
1493
|
-
} else if (
|
|
1493
|
+
} else if (fetchProductInfoQueryContext.data.data.productinfo.hassale == 1) {
|
|
1494
1494
|
price = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
1495
|
-
} else if (
|
|
1495
|
+
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : (_fetchProductInfoQuer4 = _fetchProductInfoQuer3.variants[variantindexcompleted]) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.hassale) == 1) {
|
|
1496
1496
|
price = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
1497
1497
|
} else {
|
|
1498
1498
|
price = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
@@ -12322,7 +12322,11 @@ var Filter$1 = function Filter(props) {
|
|
|
12322
12322
|
}
|
|
12323
12323
|
});
|
|
12324
12324
|
if (!CollectionExists) {
|
|
12325
|
-
tempfetchproductsfilerobjcontext.collections.
|
|
12325
|
+
if (tempfetchproductsfilerobjcontext.collections != undefined && Array.isArray(tempfetchproductsfilerobjcontext.collections)) {
|
|
12326
|
+
tempfetchproductsfilerobjcontext.collections.push(collectionid);
|
|
12327
|
+
} else {
|
|
12328
|
+
tempfetchproductsfilerobjcontext.collections = [collectionid];
|
|
12329
|
+
}
|
|
12326
12330
|
}
|
|
12327
12331
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
12328
12332
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
package/dist/index.umd.js
CHANGED
|
@@ -1376,11 +1376,11 @@
|
|
|
1376
1376
|
React.useEffect(function () {
|
|
1377
1377
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4;
|
|
1378
1378
|
var price = '';
|
|
1379
|
-
if (
|
|
1379
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.hassale == 0) {
|
|
1380
1380
|
price = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
1381
|
-
} else if (
|
|
1381
|
+
} else if (fetchProductInfoQueryContext.data.data.productinfo.hassale == 1) {
|
|
1382
1382
|
price = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
1383
|
-
} else if (
|
|
1383
|
+
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : (_fetchProductInfoQuer4 = _fetchProductInfoQuer3.variants[variantindexcompleted]) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.hassale) == 1) {
|
|
1384
1384
|
price = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
1385
1385
|
} else {
|
|
1386
1386
|
price = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
@@ -12210,7 +12210,11 @@
|
|
|
12210
12210
|
}
|
|
12211
12211
|
});
|
|
12212
12212
|
if (!CollectionExists) {
|
|
12213
|
-
tempfetchproductsfilerobjcontext.collections.
|
|
12213
|
+
if (tempfetchproductsfilerobjcontext.collections != undefined && Array.isArray(tempfetchproductsfilerobjcontext.collections)) {
|
|
12214
|
+
tempfetchproductsfilerobjcontext.collections.push(collectionid);
|
|
12215
|
+
} else {
|
|
12216
|
+
tempfetchproductsfilerobjcontext.collections = [collectionid];
|
|
12217
|
+
}
|
|
12214
12218
|
}
|
|
12215
12219
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
12216
12220
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|