tabexseriescomponents 0.0.334 → 0.0.336
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 +7 -3
- package/dist/index.esm.js +7 -3
- package/dist/index.umd.js +7 -3
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1539,7 +1539,7 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
1539
1539
|
price = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
1540
1540
|
} else if (variantindexcompleted == undefined && 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);
|
|
@@ -8352,7 +8352,7 @@ var Checkout = function Checkout(props) {
|
|
|
8352
8352
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8353
8353
|
className: langdetect == 'en' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
|
|
8354
8354
|
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8355
|
-
className: "col-lg-12 col-md-12 col-sm-12 d-flex mt-2"
|
|
8355
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex mt-2 flex-column"
|
|
8356
8356
|
}, item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantoptions.map(function (variantitem, variantindex) {
|
|
8357
8357
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8358
8358
|
"class": "row m-0 w-100"
|
|
@@ -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
|
@@ -1492,7 +1492,7 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
1492
1492
|
price = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
1493
1493
|
} else if (variantindexcompleted == undefined && 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);
|
|
@@ -8305,7 +8305,7 @@ var Checkout = function Checkout(props) {
|
|
|
8305
8305
|
}, /*#__PURE__*/React.createElement("p", {
|
|
8306
8306
|
className: langdetect == 'en' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
|
|
8307
8307
|
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))))), /*#__PURE__*/React.createElement("div", {
|
|
8308
|
-
className: "col-lg-12 col-md-12 col-sm-12 d-flex mt-2"
|
|
8308
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex mt-2 flex-column"
|
|
8309
8309
|
}, item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantoptions.map(function (variantitem, variantindex) {
|
|
8310
8310
|
return /*#__PURE__*/React.createElement("div", {
|
|
8311
8311
|
"class": "row m-0 w-100"
|
|
@@ -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
|
@@ -1380,7 +1380,7 @@
|
|
|
1380
1380
|
price = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
1381
1381
|
} else if (variantindexcompleted == undefined && 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);
|
|
@@ -8193,7 +8193,7 @@
|
|
|
8193
8193
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8194
8194
|
className: langdetect == 'en' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
|
|
8195
8195
|
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8196
|
-
className: "col-lg-12 col-md-12 col-sm-12 d-flex mt-2"
|
|
8196
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex mt-2 flex-column"
|
|
8197
8197
|
}, item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantoptions.map(function (variantitem, variantindex) {
|
|
8198
8198
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8199
8199
|
"class": "row m-0 w-100"
|
|
@@ -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';
|