tabexseriescomponents 0.0.338 → 0.0.339
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 +57 -27
- package/dist/index.esm.js +57 -27
- package/dist/index.umd.js +57 -27
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1856,7 +1856,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
1856
1856
|
setShowMore = _useState2[1];
|
|
1857
1857
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
1858
1858
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1859
|
-
"class": sectionproperties.gallerystyle == 'Style 1' ? 'col-lg-12 pl-5 pr-5 p-md-0 w-100' : 'col-lg-12 p-0 w-100'
|
|
1859
|
+
"class": props.srcfromprops == 'undername' ? 'col-lg-12 p-0 w-100' : sectionproperties.gallerystyle == 'Style 1' ? 'col-lg-12 pl-5 pr-5 p-md-0 w-100' : 'col-lg-12 p-0 w-100'
|
|
1860
1860
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1861
1861
|
"class": "row m-0 w-100"
|
|
1862
1862
|
}, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1943,7 +1943,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
1943
1943
|
function ownKeys$2e(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
1944
1944
|
function _objectSpread$2e(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2e(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2e(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1945
1945
|
var Product_itemtype = function Product_itemtype(props) {
|
|
1946
|
-
var _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69,
|
|
1946
|
+
var _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _fetchProductInfoQuer78, _fetchProductInfoQuer79, _fetchProductInfoQuer81, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104;
|
|
1947
1947
|
var lang = props.actions.lang;
|
|
1948
1948
|
var langdetect = props.actions.langdetect;
|
|
1949
1949
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2250,7 +2250,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2250
2250
|
size: sectionproperties.favBtnIconfontsize
|
|
2251
2251
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
2252
2252
|
size: sectionproperties.favBtnIconfontsize
|
|
2253
|
-
}))))),
|
|
2253
|
+
}))))), sectionproperties.descriptionposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2254
|
+
"class": "col-lg-12 p-0"
|
|
2255
|
+
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2256
|
+
actions: props.actions,
|
|
2257
|
+
srcfromprops: 'undername'
|
|
2258
|
+
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : (_fetchProductInfoQuer25 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : (_fetchProductInfoQuer26 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2254
2259
|
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
2255
2260
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2256
2261
|
"class": "m-0 p-0",
|
|
@@ -2448,10 +2453,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2448
2453
|
})))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : (_fetchProductInfoQuer68 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : (_fetchProductInfoQuer69 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2449
2454
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
2450
2455
|
onClick: function onClick() {
|
|
2451
|
-
if (fetchProductInfoQueryContext.data.data.productinfo.
|
|
2452
|
-
|
|
2456
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
2457
|
+
var _fetchProductInfoQuer70;
|
|
2458
|
+
window.open('tel:' + ((_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.product_phonenumber), '_blank');
|
|
2453
2459
|
} else {
|
|
2454
|
-
|
|
2460
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
2461
|
+
addtocartfunc();
|
|
2462
|
+
} else {
|
|
2463
|
+
NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
2464
|
+
}
|
|
2455
2465
|
}
|
|
2456
2466
|
},
|
|
2457
2467
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
@@ -2476,7 +2486,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2476
2486
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2477
2487
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
2478
2488
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2479
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2489
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : (_fetchProductInfoQuer72 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : (_fetchProductInfoQuer73 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : (_fetchProductInfoQuer75 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : (_fetchProductInfoQuer76 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : _fetchProductInfoQuer76.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2480
2490
|
className: ' d-flex align-items-center justify-content-center '
|
|
2481
2491
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
2482
2492
|
color: "white",
|
|
@@ -2521,7 +2531,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2521
2531
|
style: {
|
|
2522
2532
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
2523
2533
|
}
|
|
2524
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2534
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer77 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : (_fetchProductInfoQuer78 = _fetchProductInfoQuer77.data) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : (_fetchProductInfoQuer79 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2525
2535
|
"class": "row m-0 w-100 mt-3",
|
|
2526
2536
|
style: {
|
|
2527
2537
|
overflow: 'hidden'
|
|
@@ -2532,10 +2542,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2532
2542
|
width: sectionproperties.cartBtnWidth + '%'
|
|
2533
2543
|
},
|
|
2534
2544
|
onClick: function onClick() {
|
|
2535
|
-
if (fetchProductInfoQueryContext.data.data.productinfo.
|
|
2536
|
-
|
|
2545
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
2546
|
+
var _fetchProductInfoQuer80;
|
|
2547
|
+
window.open('tel:' + ((_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.product_phonenumber), '_blank');
|
|
2537
2548
|
} else {
|
|
2538
|
-
|
|
2549
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
2550
|
+
addtocartfunc();
|
|
2551
|
+
} else {
|
|
2552
|
+
NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
2553
|
+
}
|
|
2539
2554
|
}
|
|
2540
2555
|
},
|
|
2541
2556
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
@@ -2560,7 +2575,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2560
2575
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2561
2576
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
2562
2577
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2563
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2578
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : (_fetchProductInfoQuer82 = _fetchProductInfoQuer81.data) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : (_fetchProductInfoQuer83 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : (_fetchProductInfoQuer85 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : (_fetchProductInfoQuer86 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2564
2579
|
className: ' d-flex align-items-center justify-content-center '
|
|
2565
2580
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
2566
2581
|
color: "white",
|
|
@@ -2595,7 +2610,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2595
2610
|
size: sectionproperties.favBtnIconfontsize
|
|
2596
2611
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
2597
2612
|
size: sectionproperties.favBtnIconfontsize
|
|
2598
|
-
})))))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2613
|
+
})))))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer87 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer87 === void 0 ? void 0 : (_fetchProductInfoQuer88 = _fetchProductInfoQuer87.data) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : (_fetchProductInfoQuer89 = _fetchProductInfoQuer88.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2599
2614
|
className: "col-lg-12 p-0 mb-3"
|
|
2600
2615
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2601
2616
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -2618,7 +2633,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2618
2633
|
}
|
|
2619
2634
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2620
2635
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right ' : ' d-flex align-items-center justify-content-end wordbreak text-left '
|
|
2621
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2636
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : (_fetchProductInfoQuer91 = _fetchProductInfoQuer90.data) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : (_fetchProductInfoQuer92 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : (_fetchProductInfoQuer93 = _fetchProductInfoQuer92.variants[variantindexcompleted]) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : (_fetchProductInfoQuer95 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer95 === void 0 ? void 0 : (_fetchProductInfoQuer96 = _fetchProductInfoQuer95.productinfo) === null || _fetchProductInfoQuer96 === void 0 ? void 0 : (_fetchProductInfoQuer97 = _fetchProductInfoQuer96.variants[variantindexcompleted]) === null || _fetchProductInfoQuer97 === void 0 ? void 0 : _fetchProductInfoQuer97.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2622
2637
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
2623
2638
|
style: {
|
|
2624
2639
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -2632,14 +2647,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2632
2647
|
style: {
|
|
2633
2648
|
textDecoration: 'none'
|
|
2634
2649
|
}
|
|
2635
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2650
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : (_fetchProductInfoQuer99 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : (_fetchProductInfoQuer100 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : (_fetchProductInfoQuer101 = _fetchProductInfoQuer100.variants[variantindexcompleted]) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2636
2651
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
2637
2652
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2638
2653
|
className: "ml-2 mr-2",
|
|
2639
2654
|
style: {
|
|
2640
2655
|
textDecoration: 'none'
|
|
2641
2656
|
}
|
|
2642
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2657
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer102 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer102 === void 0 ? void 0 : (_fetchProductInfoQuer103 = _fetchProductInfoQuer102.data) === null || _fetchProductInfoQuer103 === void 0 ? void 0 : (_fetchProductInfoQuer104 = _fetchProductInfoQuer103.productinfo) === null || _fetchProductInfoQuer104 === void 0 ? void 0 : _fetchProductInfoQuer104.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2643
2658
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
2644
2659
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2645
2660
|
style: {
|
|
@@ -4326,11 +4341,11 @@ var Productinfo = function Productinfo(props) {
|
|
|
4326
4341
|
_useState30 = _slicedToArray__default["default"](_useState29, 2),
|
|
4327
4342
|
currentshowingimageindex = _useState30[0],
|
|
4328
4343
|
setcurrentshowingimageindex = _useState30[1];
|
|
4329
|
-
var _useState31 = React.useState(
|
|
4344
|
+
var _useState31 = React.useState(''),
|
|
4330
4345
|
_useState32 = _slicedToArray__default["default"](_useState31, 2),
|
|
4331
4346
|
tabIndex = _useState32[0],
|
|
4332
4347
|
setTabIndex = _useState32[1];
|
|
4333
|
-
var _useState33 = React.useState('
|
|
4348
|
+
var _useState33 = React.useState(''),
|
|
4334
4349
|
_useState34 = _slicedToArray__default["default"](_useState33, 2),
|
|
4335
4350
|
tabname = _useState34[0],
|
|
4336
4351
|
settabname = _useState34[1];
|
|
@@ -4344,6 +4359,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
4344
4359
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4345
4360
|
});
|
|
4346
4361
|
setsectionproperties(_objectSpread$2a({}, secpropobj));
|
|
4362
|
+
setTabIndex(0);
|
|
4363
|
+
settabname('shippingpolicytab');
|
|
4347
4364
|
}
|
|
4348
4365
|
}, [StatePagePropertiesContext]);
|
|
4349
4366
|
React.useEffect(function () {
|
|
@@ -5550,7 +5567,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5550
5567
|
},
|
|
5551
5568
|
variant: 'fullWidth'
|
|
5552
5569
|
// tabsfullwidth
|
|
5553
|
-
}, sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
5570
|
+
}, sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
5554
5571
|
label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
|
|
5555
5572
|
onClick: function onClick() {
|
|
5556
5573
|
settabname('descriptiontab');
|
|
@@ -5627,7 +5644,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5627
5644
|
}
|
|
5628
5645
|
}))), /*#__PURE__*/React__default["default"].createElement(material.Box, {
|
|
5629
5646
|
"class": "w-100 mt-5 mb-4"
|
|
5630
|
-
}, tabname == 'descriptiontab' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
5647
|
+
}, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
5631
5648
|
actions: _objectSpread$2a(_objectSpread$2a({}, actions), {}, {
|
|
5632
5649
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
5633
5650
|
sectionproperties: sectionproperties
|
|
@@ -14069,10 +14086,19 @@ var CardsSection = function CardsSection(props) {
|
|
|
14069
14086
|
// element.classList.add(filterstyles.filterslider_container_opened);
|
|
14070
14087
|
}
|
|
14071
14088
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14072
|
-
"class": "".concat(section_cssstyles.filterbtn)
|
|
14073
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
14089
|
+
"class": "".concat(section_cssstyles.filterbtn) + ' allcentered '
|
|
14090
|
+
}, sectionproperties.filterbtnfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
14091
|
+
"class": "allcentered",
|
|
14092
|
+
style: {
|
|
14093
|
+
fontSize: sectionproperties.filterbtnfontsize + 'px'
|
|
14094
|
+
}
|
|
14095
|
+
}, langdetect == 'en' ? sectionproperties.filterbtntexten : sectionproperties.filterbtntextar), sectionproperties.filterbtniconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
14074
14096
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
14075
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiFilter.FiFilter,
|
|
14097
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiFilter.FiFilter, {
|
|
14098
|
+
style: {
|
|
14099
|
+
fontSize: sectionproperties.filterbtniconfontsize
|
|
14100
|
+
}
|
|
14101
|
+
})))))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14076
14102
|
"class": "col-lg-12 p-0"
|
|
14077
14103
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
14078
14104
|
"class": "mt-3 mb-2",
|
|
@@ -21874,7 +21900,7 @@ var Header8 = function Header8(props) {
|
|
|
21874
21900
|
}
|
|
21875
21901
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
21876
21902
|
type: "text",
|
|
21877
|
-
placeholder:
|
|
21903
|
+
placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
|
|
21878
21904
|
"class": "".concat(header_cssstyles.searchbarcont_input),
|
|
21879
21905
|
onChange: function onChange(event) {
|
|
21880
21906
|
setSearchHeaderInputContext(event.target.value);
|
|
@@ -21917,7 +21943,7 @@ var Header8 = function Header8(props) {
|
|
|
21917
21943
|
}, langdetect == 'en' ? sectionproperties.footerinfotext_en : sectionproperties.footerinfotext_ar)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21918
21944
|
"class": sectionproperties.showfooterphonenumber == 'Show' ? sectionproperties.btninsearch == 'Show' ? 'col-xl-3 col-lg-3 d-flex align-items-center p-0 pr-0' : langdetect == 'en' ? 'col-xl-3 col-lg-4 d-flex align-items-center p-0 pl-0' : 'col-xl-3 col-lg-4 d-flex align-items-center p-0 pr-0' : 'col-lg-4 d-flex align-items-center'
|
|
21919
21945
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21920
|
-
"class": 'row w-100 m-0 align-items-center justify-content-between plr-1025-0',
|
|
21946
|
+
"class": sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'row w-100 m-0 align-items-center justify-content-end plr-1025-0' : 'row w-100 m-0 align-items-center justify-content-between plr-1025-0',
|
|
21921
21947
|
style: {
|
|
21922
21948
|
paddingLeft: langdetect == 'en' ? sectionproperties.showfooterphonenumber == 'Show' ? authdetailsContext.loggedin == true ? '.3rem' : '3rem' : authdetailsContext.loggedin == true ? '4rem' : '6rem' : 0,
|
|
21923
21949
|
paddingRight: langdetect == 'en' ? 0 : sectionproperties.showfooterphonenumber == 'Show' ? authdetailsContext.loggedin == true ? '1rem' : '3rem' : authdetailsContext.loggedin == true ? '4rem' : '6rem'
|
|
@@ -22046,7 +22072,7 @@ var Header8 = function Header8(props) {
|
|
|
22046
22072
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
22047
22073
|
}, /*#__PURE__*/React__default["default"].createElement(BiLogOutCircle.BiLogOutCircle, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
22048
22074
|
"class": "ml-2 mr-2"
|
|
22049
|
-
}, lang.logout)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22075
|
+
}, lang.logout)))))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22050
22076
|
"class": "d-flex flex-row p-0 align-items-center"
|
|
22051
22077
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22052
22078
|
style: {
|
|
@@ -22070,7 +22096,7 @@ var Header8 = function Header8(props) {
|
|
|
22070
22096
|
}
|
|
22071
22097
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22072
22098
|
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.wishlistbadge)
|
|
22073
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22099
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22074
22100
|
"class": sectionproperties.btninsearch == 'Show' ? sectionproperties.showfooterphonenumber == 'Show' ? 'd-flex d-lg-none flex-row justify-content-end align-items-center' : 'd-flex flex-row justify-content-end align-items-center' : 'd-flex flex-row justify-content-end align-items-center'
|
|
22075
22101
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22076
22102
|
"class": "row w-100 m-0 align-items-center d-flex flex-row justify-content-end",
|
|
@@ -22134,6 +22160,10 @@ var Header8 = function Header8(props) {
|
|
|
22134
22160
|
} else {
|
|
22135
22161
|
setlang('en');
|
|
22136
22162
|
}
|
|
22163
|
+
},
|
|
22164
|
+
style: {
|
|
22165
|
+
paddingLeft: sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? langdetect == 'en' ? '2rem' : 0 : 0,
|
|
22166
|
+
paddingRight: sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? langdetect == 'ar' ? '2rem' : 0 : 0
|
|
22137
22167
|
}
|
|
22138
22168
|
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22139
22169
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
package/dist/index.esm.js
CHANGED
|
@@ -1809,7 +1809,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
1809
1809
|
setShowMore = _useState2[1];
|
|
1810
1810
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
1811
1811
|
return /*#__PURE__*/React.createElement("div", {
|
|
1812
|
-
"class": sectionproperties.gallerystyle == 'Style 1' ? 'col-lg-12 pl-5 pr-5 p-md-0 w-100' : 'col-lg-12 p-0 w-100'
|
|
1812
|
+
"class": props.srcfromprops == 'undername' ? 'col-lg-12 p-0 w-100' : sectionproperties.gallerystyle == 'Style 1' ? 'col-lg-12 pl-5 pr-5 p-md-0 w-100' : 'col-lg-12 p-0 w-100'
|
|
1813
1813
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1814
1814
|
"class": "row m-0 w-100"
|
|
1815
1815
|
}, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -1896,7 +1896,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
1896
1896
|
function ownKeys$2e(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
1897
1897
|
function _objectSpread$2e(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2e(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2e(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1898
1898
|
var Product_itemtype = function Product_itemtype(props) {
|
|
1899
|
-
var _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69,
|
|
1899
|
+
var _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _fetchProductInfoQuer78, _fetchProductInfoQuer79, _fetchProductInfoQuer81, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104;
|
|
1900
1900
|
var lang = props.actions.lang;
|
|
1901
1901
|
var langdetect = props.actions.langdetect;
|
|
1902
1902
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2203,7 +2203,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2203
2203
|
size: sectionproperties.favBtnIconfontsize
|
|
2204
2204
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
2205
2205
|
size: sectionproperties.favBtnIconfontsize
|
|
2206
|
-
}))))),
|
|
2206
|
+
}))))), sectionproperties.descriptionposition == 'Top' && /*#__PURE__*/React.createElement("div", {
|
|
2207
|
+
"class": "col-lg-12 p-0"
|
|
2208
|
+
}, /*#__PURE__*/React.createElement(DescriptionContent, {
|
|
2209
|
+
actions: props.actions,
|
|
2210
|
+
srcfromprops: 'undername'
|
|
2211
|
+
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : (_fetchProductInfoQuer25 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : (_fetchProductInfoQuer26 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2207
2212
|
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
2208
2213
|
}, /*#__PURE__*/React.createElement("p", {
|
|
2209
2214
|
"class": "m-0 p-0",
|
|
@@ -2401,10 +2406,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2401
2406
|
})))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : (_fetchProductInfoQuer68 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : (_fetchProductInfoQuer69 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("button", {
|
|
2402
2407
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
2403
2408
|
onClick: function onClick() {
|
|
2404
|
-
if (fetchProductInfoQueryContext.data.data.productinfo.
|
|
2405
|
-
|
|
2409
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
2410
|
+
var _fetchProductInfoQuer70;
|
|
2411
|
+
window.open('tel:' + ((_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.product_phonenumber), '_blank');
|
|
2406
2412
|
} else {
|
|
2407
|
-
|
|
2413
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
2414
|
+
addtocartfunc();
|
|
2415
|
+
} else {
|
|
2416
|
+
NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
2417
|
+
}
|
|
2408
2418
|
}
|
|
2409
2419
|
},
|
|
2410
2420
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
@@ -2429,7 +2439,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2429
2439
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2430
2440
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
2431
2441
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2432
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2442
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : (_fetchProductInfoQuer72 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : (_fetchProductInfoQuer73 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : (_fetchProductInfoQuer75 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : (_fetchProductInfoQuer76 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : _fetchProductInfoQuer76.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
2433
2443
|
className: ' d-flex align-items-center justify-content-center '
|
|
2434
2444
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
2435
2445
|
color: "white",
|
|
@@ -2474,7 +2484,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2474
2484
|
style: {
|
|
2475
2485
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
2476
2486
|
}
|
|
2477
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2487
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer77 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : (_fetchProductInfoQuer78 = _fetchProductInfoQuer77.data) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : (_fetchProductInfoQuer79 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
2478
2488
|
"class": "row m-0 w-100 mt-3",
|
|
2479
2489
|
style: {
|
|
2480
2490
|
overflow: 'hidden'
|
|
@@ -2485,10 +2495,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2485
2495
|
width: sectionproperties.cartBtnWidth + '%'
|
|
2486
2496
|
},
|
|
2487
2497
|
onClick: function onClick() {
|
|
2488
|
-
if (fetchProductInfoQueryContext.data.data.productinfo.
|
|
2489
|
-
|
|
2498
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
2499
|
+
var _fetchProductInfoQuer80;
|
|
2500
|
+
window.open('tel:' + ((_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.product_phonenumber), '_blank');
|
|
2490
2501
|
} else {
|
|
2491
|
-
|
|
2502
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
2503
|
+
addtocartfunc();
|
|
2504
|
+
} else {
|
|
2505
|
+
NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
2506
|
+
}
|
|
2492
2507
|
}
|
|
2493
2508
|
},
|
|
2494
2509
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
@@ -2513,7 +2528,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2513
2528
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2514
2529
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
2515
2530
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2516
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2531
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : (_fetchProductInfoQuer82 = _fetchProductInfoQuer81.data) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : (_fetchProductInfoQuer83 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : (_fetchProductInfoQuer85 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : (_fetchProductInfoQuer86 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
2517
2532
|
className: ' d-flex align-items-center justify-content-center '
|
|
2518
2533
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
2519
2534
|
color: "white",
|
|
@@ -2548,7 +2563,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2548
2563
|
size: sectionproperties.favBtnIconfontsize
|
|
2549
2564
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
2550
2565
|
size: sectionproperties.favBtnIconfontsize
|
|
2551
|
-
})))))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2566
|
+
})))))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer87 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer87 === void 0 ? void 0 : (_fetchProductInfoQuer88 = _fetchProductInfoQuer87.data) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : (_fetchProductInfoQuer89 = _fetchProductInfoQuer88.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2552
2567
|
className: "col-lg-12 p-0 mb-3"
|
|
2553
2568
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2554
2569
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -2571,7 +2586,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2571
2586
|
}
|
|
2572
2587
|
}, /*#__PURE__*/React.createElement("span", {
|
|
2573
2588
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right ' : ' d-flex align-items-center justify-content-end wordbreak text-left '
|
|
2574
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2589
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : (_fetchProductInfoQuer91 = _fetchProductInfoQuer90.data) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : (_fetchProductInfoQuer92 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : (_fetchProductInfoQuer93 = _fetchProductInfoQuer92.variants[variantindexcompleted]) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : (_fetchProductInfoQuer95 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer95 === void 0 ? void 0 : (_fetchProductInfoQuer96 = _fetchProductInfoQuer95.productinfo) === null || _fetchProductInfoQuer96 === void 0 ? void 0 : (_fetchProductInfoQuer97 = _fetchProductInfoQuer96.variants[variantindexcompleted]) === null || _fetchProductInfoQuer97 === void 0 ? void 0 : _fetchProductInfoQuer97.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React.createElement("p", {
|
|
2575
2590
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
2576
2591
|
style: {
|
|
2577
2592
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -2585,14 +2600,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2585
2600
|
style: {
|
|
2586
2601
|
textDecoration: 'none'
|
|
2587
2602
|
}
|
|
2588
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2603
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : (_fetchProductInfoQuer99 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : (_fetchProductInfoQuer100 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : (_fetchProductInfoQuer101 = _fetchProductInfoQuer100.variants[variantindexcompleted]) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.hassale) == 1 && /*#__PURE__*/React.createElement("span", {
|
|
2589
2604
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
2590
2605
|
}, /*#__PURE__*/React.createElement("span", {
|
|
2591
2606
|
className: "ml-2 mr-2",
|
|
2592
2607
|
style: {
|
|
2593
2608
|
textDecoration: 'none'
|
|
2594
2609
|
}
|
|
2595
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2610
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer102 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer102 === void 0 ? void 0 : (_fetchProductInfoQuer103 = _fetchProductInfoQuer102.data) === null || _fetchProductInfoQuer103 === void 0 ? void 0 : (_fetchProductInfoQuer104 = _fetchProductInfoQuer103.productinfo) === null || _fetchProductInfoQuer104 === void 0 ? void 0 : _fetchProductInfoQuer104.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
2596
2611
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
2597
2612
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2598
2613
|
style: {
|
|
@@ -4279,11 +4294,11 @@ var Productinfo = function Productinfo(props) {
|
|
|
4279
4294
|
_useState30 = _slicedToArray(_useState29, 2),
|
|
4280
4295
|
currentshowingimageindex = _useState30[0],
|
|
4281
4296
|
setcurrentshowingimageindex = _useState30[1];
|
|
4282
|
-
var _useState31 = useState(
|
|
4297
|
+
var _useState31 = useState(''),
|
|
4283
4298
|
_useState32 = _slicedToArray(_useState31, 2),
|
|
4284
4299
|
tabIndex = _useState32[0],
|
|
4285
4300
|
setTabIndex = _useState32[1];
|
|
4286
|
-
var _useState33 = useState('
|
|
4301
|
+
var _useState33 = useState(''),
|
|
4287
4302
|
_useState34 = _slicedToArray(_useState33, 2),
|
|
4288
4303
|
tabname = _useState34[0],
|
|
4289
4304
|
settabname = _useState34[1];
|
|
@@ -4297,6 +4312,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
4297
4312
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4298
4313
|
});
|
|
4299
4314
|
setsectionproperties(_objectSpread$2a({}, secpropobj));
|
|
4315
|
+
setTabIndex(0);
|
|
4316
|
+
settabname('shippingpolicytab');
|
|
4300
4317
|
}
|
|
4301
4318
|
}, [StatePagePropertiesContext]);
|
|
4302
4319
|
useEffect(function () {
|
|
@@ -5503,7 +5520,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5503
5520
|
},
|
|
5504
5521
|
variant: 'fullWidth'
|
|
5505
5522
|
// tabsfullwidth
|
|
5506
|
-
}, sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement(Tab, {
|
|
5523
|
+
}, sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React.createElement(Tab, {
|
|
5507
5524
|
label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
|
|
5508
5525
|
onClick: function onClick() {
|
|
5509
5526
|
settabname('descriptiontab');
|
|
@@ -5580,7 +5597,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5580
5597
|
}
|
|
5581
5598
|
}))), /*#__PURE__*/React.createElement(Box, {
|
|
5582
5599
|
"class": "w-100 mt-5 mb-4"
|
|
5583
|
-
}, tabname == 'descriptiontab' && /*#__PURE__*/React.createElement(DescriptionContent, {
|
|
5600
|
+
}, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React.createElement(DescriptionContent, {
|
|
5584
5601
|
actions: _objectSpread$2a(_objectSpread$2a({}, actions), {}, {
|
|
5585
5602
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
5586
5603
|
sectionproperties: sectionproperties
|
|
@@ -14022,10 +14039,19 @@ var CardsSection = function CardsSection(props) {
|
|
|
14022
14039
|
// element.classList.add(filterstyles.filterslider_container_opened);
|
|
14023
14040
|
}
|
|
14024
14041
|
}, /*#__PURE__*/React.createElement("div", {
|
|
14025
|
-
"class": "".concat(section_cssstyles.filterbtn)
|
|
14026
|
-
}, /*#__PURE__*/React.createElement("
|
|
14042
|
+
"class": "".concat(section_cssstyles.filterbtn) + ' allcentered '
|
|
14043
|
+
}, sectionproperties.filterbtnfontsize != 0 && /*#__PURE__*/React.createElement("span", {
|
|
14044
|
+
"class": "allcentered",
|
|
14045
|
+
style: {
|
|
14046
|
+
fontSize: sectionproperties.filterbtnfontsize + 'px'
|
|
14047
|
+
}
|
|
14048
|
+
}, langdetect == 'en' ? sectionproperties.filterbtntexten : sectionproperties.filterbtntextar), sectionproperties.filterbtniconfontsize != 0 && /*#__PURE__*/React.createElement("i", {
|
|
14027
14049
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
14028
|
-
}, /*#__PURE__*/React.createElement(FiFilter,
|
|
14050
|
+
}, /*#__PURE__*/React.createElement(FiFilter, {
|
|
14051
|
+
style: {
|
|
14052
|
+
fontSize: sectionproperties.filterbtniconfontsize
|
|
14053
|
+
}
|
|
14054
|
+
})))))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
14029
14055
|
"class": "col-lg-12 p-0"
|
|
14030
14056
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
14031
14057
|
"class": "mt-3 mb-2",
|
|
@@ -21827,7 +21853,7 @@ var Header8 = function Header8(props) {
|
|
|
21827
21853
|
}
|
|
21828
21854
|
}, /*#__PURE__*/React.createElement("input", {
|
|
21829
21855
|
type: "text",
|
|
21830
|
-
placeholder:
|
|
21856
|
+
placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
|
|
21831
21857
|
"class": "".concat(header_cssstyles.searchbarcont_input),
|
|
21832
21858
|
onChange: function onChange(event) {
|
|
21833
21859
|
setSearchHeaderInputContext(event.target.value);
|
|
@@ -21870,7 +21896,7 @@ var Header8 = function Header8(props) {
|
|
|
21870
21896
|
}, langdetect == 'en' ? sectionproperties.footerinfotext_en : sectionproperties.footerinfotext_ar)))), /*#__PURE__*/React.createElement("div", {
|
|
21871
21897
|
"class": sectionproperties.showfooterphonenumber == 'Show' ? sectionproperties.btninsearch == 'Show' ? 'col-xl-3 col-lg-3 d-flex align-items-center p-0 pr-0' : langdetect == 'en' ? 'col-xl-3 col-lg-4 d-flex align-items-center p-0 pl-0' : 'col-xl-3 col-lg-4 d-flex align-items-center p-0 pr-0' : 'col-lg-4 d-flex align-items-center'
|
|
21872
21898
|
}, /*#__PURE__*/React.createElement("div", {
|
|
21873
|
-
"class": 'row w-100 m-0 align-items-center justify-content-between plr-1025-0',
|
|
21899
|
+
"class": sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'row w-100 m-0 align-items-center justify-content-end plr-1025-0' : 'row w-100 m-0 align-items-center justify-content-between plr-1025-0',
|
|
21874
21900
|
style: {
|
|
21875
21901
|
paddingLeft: langdetect == 'en' ? sectionproperties.showfooterphonenumber == 'Show' ? authdetailsContext.loggedin == true ? '.3rem' : '3rem' : authdetailsContext.loggedin == true ? '4rem' : '6rem' : 0,
|
|
21876
21902
|
paddingRight: langdetect == 'en' ? 0 : sectionproperties.showfooterphonenumber == 'Show' ? authdetailsContext.loggedin == true ? '1rem' : '3rem' : authdetailsContext.loggedin == true ? '4rem' : '6rem'
|
|
@@ -21999,7 +22025,7 @@ var Header8 = function Header8(props) {
|
|
|
21999
22025
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
22000
22026
|
}, /*#__PURE__*/React.createElement(BiLogOutCircle, null), /*#__PURE__*/React.createElement("span", {
|
|
22001
22027
|
"class": "ml-2 mr-2"
|
|
22002
|
-
}, lang.logout)))))), /*#__PURE__*/React.createElement("div", {
|
|
22028
|
+
}, lang.logout)))))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
22003
22029
|
"class": "d-flex flex-row p-0 align-items-center"
|
|
22004
22030
|
}, /*#__PURE__*/React.createElement("div", {
|
|
22005
22031
|
style: {
|
|
@@ -22023,7 +22049,7 @@ var Header8 = function Header8(props) {
|
|
|
22023
22049
|
}
|
|
22024
22050
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
22025
22051
|
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.wishlistbadge)
|
|
22026
|
-
}, /*#__PURE__*/React.createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), /*#__PURE__*/React.createElement("div", {
|
|
22052
|
+
}, /*#__PURE__*/React.createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
22027
22053
|
"class": sectionproperties.btninsearch == 'Show' ? sectionproperties.showfooterphonenumber == 'Show' ? 'd-flex d-lg-none flex-row justify-content-end align-items-center' : 'd-flex flex-row justify-content-end align-items-center' : 'd-flex flex-row justify-content-end align-items-center'
|
|
22028
22054
|
}, /*#__PURE__*/React.createElement("div", {
|
|
22029
22055
|
"class": "row w-100 m-0 align-items-center d-flex flex-row justify-content-end",
|
|
@@ -22087,6 +22113,10 @@ var Header8 = function Header8(props) {
|
|
|
22087
22113
|
} else {
|
|
22088
22114
|
setlang('en');
|
|
22089
22115
|
}
|
|
22116
|
+
},
|
|
22117
|
+
style: {
|
|
22118
|
+
paddingLeft: sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? langdetect == 'en' ? '2rem' : 0 : 0,
|
|
22119
|
+
paddingRight: sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? langdetect == 'ar' ? '2rem' : 0 : 0
|
|
22090
22120
|
}
|
|
22091
22121
|
}, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
22092
22122
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
package/dist/index.umd.js
CHANGED
|
@@ -1697,7 +1697,7 @@
|
|
|
1697
1697
|
setShowMore = _useState2[1];
|
|
1698
1698
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
1699
1699
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1700
|
-
"class": sectionproperties.gallerystyle == 'Style 1' ? 'col-lg-12 pl-5 pr-5 p-md-0 w-100' : 'col-lg-12 p-0 w-100'
|
|
1700
|
+
"class": props.srcfromprops == 'undername' ? 'col-lg-12 p-0 w-100' : sectionproperties.gallerystyle == 'Style 1' ? 'col-lg-12 pl-5 pr-5 p-md-0 w-100' : 'col-lg-12 p-0 w-100'
|
|
1701
1701
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1702
1702
|
"class": "row m-0 w-100"
|
|
1703
1703
|
}, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1784,7 +1784,7 @@
|
|
|
1784
1784
|
function ownKeys$2e(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
1785
1785
|
function _objectSpread$2e(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2e(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2e(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1786
1786
|
var Product_itemtype = function Product_itemtype(props) {
|
|
1787
|
-
var _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69,
|
|
1787
|
+
var _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _fetchProductInfoQuer78, _fetchProductInfoQuer79, _fetchProductInfoQuer81, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104;
|
|
1788
1788
|
var lang = props.actions.lang;
|
|
1789
1789
|
var langdetect = props.actions.langdetect;
|
|
1790
1790
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2091,7 +2091,12 @@
|
|
|
2091
2091
|
size: sectionproperties.favBtnIconfontsize
|
|
2092
2092
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
2093
2093
|
size: sectionproperties.favBtnIconfontsize
|
|
2094
|
-
}))))),
|
|
2094
|
+
}))))), sectionproperties.descriptionposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2095
|
+
"class": "col-lg-12 p-0"
|
|
2096
|
+
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2097
|
+
actions: props.actions,
|
|
2098
|
+
srcfromprops: 'undername'
|
|
2099
|
+
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : (_fetchProductInfoQuer25 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : (_fetchProductInfoQuer26 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2095
2100
|
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
2096
2101
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2097
2102
|
"class": "m-0 p-0",
|
|
@@ -2289,10 +2294,15 @@
|
|
|
2289
2294
|
})))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : (_fetchProductInfoQuer68 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : (_fetchProductInfoQuer69 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2290
2295
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
2291
2296
|
onClick: function onClick() {
|
|
2292
|
-
if (fetchProductInfoQueryContext.data.data.productinfo.
|
|
2293
|
-
|
|
2297
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
2298
|
+
var _fetchProductInfoQuer70;
|
|
2299
|
+
window.open('tel:' + ((_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.product_phonenumber), '_blank');
|
|
2294
2300
|
} else {
|
|
2295
|
-
|
|
2301
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
2302
|
+
addtocartfunc();
|
|
2303
|
+
} else {
|
|
2304
|
+
NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
2305
|
+
}
|
|
2296
2306
|
}
|
|
2297
2307
|
},
|
|
2298
2308
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
@@ -2317,7 +2327,7 @@
|
|
|
2317
2327
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2318
2328
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
2319
2329
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2320
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2330
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : (_fetchProductInfoQuer72 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : (_fetchProductInfoQuer73 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : (_fetchProductInfoQuer75 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : (_fetchProductInfoQuer76 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : _fetchProductInfoQuer76.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2321
2331
|
className: ' d-flex align-items-center justify-content-center '
|
|
2322
2332
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
2323
2333
|
color: "white",
|
|
@@ -2362,7 +2372,7 @@
|
|
|
2362
2372
|
style: {
|
|
2363
2373
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
2364
2374
|
}
|
|
2365
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2375
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer77 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : (_fetchProductInfoQuer78 = _fetchProductInfoQuer77.data) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : (_fetchProductInfoQuer79 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2366
2376
|
"class": "row m-0 w-100 mt-3",
|
|
2367
2377
|
style: {
|
|
2368
2378
|
overflow: 'hidden'
|
|
@@ -2373,10 +2383,15 @@
|
|
|
2373
2383
|
width: sectionproperties.cartBtnWidth + '%'
|
|
2374
2384
|
},
|
|
2375
2385
|
onClick: function onClick() {
|
|
2376
|
-
if (fetchProductInfoQueryContext.data.data.productinfo.
|
|
2377
|
-
|
|
2386
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
2387
|
+
var _fetchProductInfoQuer80;
|
|
2388
|
+
window.open('tel:' + ((_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.product_phonenumber), '_blank');
|
|
2378
2389
|
} else {
|
|
2379
|
-
|
|
2390
|
+
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
2391
|
+
addtocartfunc();
|
|
2392
|
+
} else {
|
|
2393
|
+
NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
2394
|
+
}
|
|
2380
2395
|
}
|
|
2381
2396
|
},
|
|
2382
2397
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
@@ -2401,7 +2416,7 @@
|
|
|
2401
2416
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2402
2417
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
2403
2418
|
size: sectionproperties.cartBtn_iconFontSize
|
|
2404
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2419
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : (_fetchProductInfoQuer82 = _fetchProductInfoQuer81.data) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : (_fetchProductInfoQuer83 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : (_fetchProductInfoQuer85 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : (_fetchProductInfoQuer86 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2405
2420
|
className: ' d-flex align-items-center justify-content-center '
|
|
2406
2421
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
2407
2422
|
color: "white",
|
|
@@ -2436,7 +2451,7 @@
|
|
|
2436
2451
|
size: sectionproperties.favBtnIconfontsize
|
|
2437
2452
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
2438
2453
|
size: sectionproperties.favBtnIconfontsize
|
|
2439
|
-
})))))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2454
|
+
})))))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer87 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer87 === void 0 ? void 0 : (_fetchProductInfoQuer88 = _fetchProductInfoQuer87.data) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : (_fetchProductInfoQuer89 = _fetchProductInfoQuer88.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2440
2455
|
className: "col-lg-12 p-0 mb-3"
|
|
2441
2456
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2442
2457
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -2459,7 +2474,7 @@
|
|
|
2459
2474
|
}
|
|
2460
2475
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2461
2476
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right ' : ' d-flex align-items-center justify-content-end wordbreak text-left '
|
|
2462
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2477
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : (_fetchProductInfoQuer91 = _fetchProductInfoQuer90.data) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : (_fetchProductInfoQuer92 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : (_fetchProductInfoQuer93 = _fetchProductInfoQuer92.variants[variantindexcompleted]) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : (_fetchProductInfoQuer95 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer95 === void 0 ? void 0 : (_fetchProductInfoQuer96 = _fetchProductInfoQuer95.productinfo) === null || _fetchProductInfoQuer96 === void 0 ? void 0 : (_fetchProductInfoQuer97 = _fetchProductInfoQuer96.variants[variantindexcompleted]) === null || _fetchProductInfoQuer97 === void 0 ? void 0 : _fetchProductInfoQuer97.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2463
2478
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
2464
2479
|
style: {
|
|
2465
2480
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -2473,14 +2488,14 @@
|
|
|
2473
2488
|
style: {
|
|
2474
2489
|
textDecoration: 'none'
|
|
2475
2490
|
}
|
|
2476
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2491
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : (_fetchProductInfoQuer99 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : (_fetchProductInfoQuer100 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : (_fetchProductInfoQuer101 = _fetchProductInfoQuer100.variants[variantindexcompleted]) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2477
2492
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
2478
2493
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2479
2494
|
className: "ml-2 mr-2",
|
|
2480
2495
|
style: {
|
|
2481
2496
|
textDecoration: 'none'
|
|
2482
2497
|
}
|
|
2483
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2498
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer102 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer102 === void 0 ? void 0 : (_fetchProductInfoQuer103 = _fetchProductInfoQuer102.data) === null || _fetchProductInfoQuer103 === void 0 ? void 0 : (_fetchProductInfoQuer104 = _fetchProductInfoQuer103.productinfo) === null || _fetchProductInfoQuer104 === void 0 ? void 0 : _fetchProductInfoQuer104.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2484
2499
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
2485
2500
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2486
2501
|
style: {
|
|
@@ -4167,11 +4182,11 @@
|
|
|
4167
4182
|
_useState30 = _slicedToArray__default["default"](_useState29, 2),
|
|
4168
4183
|
currentshowingimageindex = _useState30[0],
|
|
4169
4184
|
setcurrentshowingimageindex = _useState30[1];
|
|
4170
|
-
var _useState31 = React.useState(
|
|
4185
|
+
var _useState31 = React.useState(''),
|
|
4171
4186
|
_useState32 = _slicedToArray__default["default"](_useState31, 2),
|
|
4172
4187
|
tabIndex = _useState32[0],
|
|
4173
4188
|
setTabIndex = _useState32[1];
|
|
4174
|
-
var _useState33 = React.useState('
|
|
4189
|
+
var _useState33 = React.useState(''),
|
|
4175
4190
|
_useState34 = _slicedToArray__default["default"](_useState33, 2),
|
|
4176
4191
|
tabname = _useState34[0],
|
|
4177
4192
|
settabname = _useState34[1];
|
|
@@ -4185,6 +4200,8 @@
|
|
|
4185
4200
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4186
4201
|
});
|
|
4187
4202
|
setsectionproperties(_objectSpread$2a({}, secpropobj));
|
|
4203
|
+
setTabIndex(0);
|
|
4204
|
+
settabname('shippingpolicytab');
|
|
4188
4205
|
}
|
|
4189
4206
|
}, [StatePagePropertiesContext]);
|
|
4190
4207
|
React.useEffect(function () {
|
|
@@ -5391,7 +5408,7 @@
|
|
|
5391
5408
|
},
|
|
5392
5409
|
variant: 'fullWidth'
|
|
5393
5410
|
// tabsfullwidth
|
|
5394
|
-
}, sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
5411
|
+
}, sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
5395
5412
|
label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
|
|
5396
5413
|
onClick: function onClick() {
|
|
5397
5414
|
settabname('descriptiontab');
|
|
@@ -5468,7 +5485,7 @@
|
|
|
5468
5485
|
}
|
|
5469
5486
|
}))), /*#__PURE__*/React__default["default"].createElement(material.Box, {
|
|
5470
5487
|
"class": "w-100 mt-5 mb-4"
|
|
5471
|
-
}, tabname == 'descriptiontab' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
5488
|
+
}, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
5472
5489
|
actions: _objectSpread$2a(_objectSpread$2a({}, actions), {}, {
|
|
5473
5490
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
5474
5491
|
sectionproperties: sectionproperties
|
|
@@ -13910,10 +13927,19 @@
|
|
|
13910
13927
|
// element.classList.add(filterstyles.filterslider_container_opened);
|
|
13911
13928
|
}
|
|
13912
13929
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13913
|
-
"class": "".concat(section_cssstyles.filterbtn)
|
|
13914
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
13930
|
+
"class": "".concat(section_cssstyles.filterbtn) + ' allcentered '
|
|
13931
|
+
}, sectionproperties.filterbtnfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
13932
|
+
"class": "allcentered",
|
|
13933
|
+
style: {
|
|
13934
|
+
fontSize: sectionproperties.filterbtnfontsize + 'px'
|
|
13935
|
+
}
|
|
13936
|
+
}, langdetect == 'en' ? sectionproperties.filterbtntexten : sectionproperties.filterbtntextar), sectionproperties.filterbtniconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
13915
13937
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
13916
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiFilter.FiFilter,
|
|
13938
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiFilter.FiFilter, {
|
|
13939
|
+
style: {
|
|
13940
|
+
fontSize: sectionproperties.filterbtniconfontsize
|
|
13941
|
+
}
|
|
13942
|
+
})))))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13917
13943
|
"class": "col-lg-12 p-0"
|
|
13918
13944
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
13919
13945
|
"class": "mt-3 mb-2",
|
|
@@ -21715,7 +21741,7 @@
|
|
|
21715
21741
|
}
|
|
21716
21742
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
21717
21743
|
type: "text",
|
|
21718
|
-
placeholder:
|
|
21744
|
+
placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
|
|
21719
21745
|
"class": "".concat(header_cssstyles.searchbarcont_input),
|
|
21720
21746
|
onChange: function onChange(event) {
|
|
21721
21747
|
setSearchHeaderInputContext(event.target.value);
|
|
@@ -21758,7 +21784,7 @@
|
|
|
21758
21784
|
}, langdetect == 'en' ? sectionproperties.footerinfotext_en : sectionproperties.footerinfotext_ar)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21759
21785
|
"class": sectionproperties.showfooterphonenumber == 'Show' ? sectionproperties.btninsearch == 'Show' ? 'col-xl-3 col-lg-3 d-flex align-items-center p-0 pr-0' : langdetect == 'en' ? 'col-xl-3 col-lg-4 d-flex align-items-center p-0 pl-0' : 'col-xl-3 col-lg-4 d-flex align-items-center p-0 pr-0' : 'col-lg-4 d-flex align-items-center'
|
|
21760
21786
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21761
|
-
"class": 'row w-100 m-0 align-items-center justify-content-between plr-1025-0',
|
|
21787
|
+
"class": sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'row w-100 m-0 align-items-center justify-content-end plr-1025-0' : 'row w-100 m-0 align-items-center justify-content-between plr-1025-0',
|
|
21762
21788
|
style: {
|
|
21763
21789
|
paddingLeft: langdetect == 'en' ? sectionproperties.showfooterphonenumber == 'Show' ? authdetailsContext.loggedin == true ? '.3rem' : '3rem' : authdetailsContext.loggedin == true ? '4rem' : '6rem' : 0,
|
|
21764
21790
|
paddingRight: langdetect == 'en' ? 0 : sectionproperties.showfooterphonenumber == 'Show' ? authdetailsContext.loggedin == true ? '1rem' : '3rem' : authdetailsContext.loggedin == true ? '4rem' : '6rem'
|
|
@@ -21887,7 +21913,7 @@
|
|
|
21887
21913
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
21888
21914
|
}, /*#__PURE__*/React__default["default"].createElement(BiLogOutCircle.BiLogOutCircle, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
21889
21915
|
"class": "ml-2 mr-2"
|
|
21890
|
-
}, lang.logout)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21916
|
+
}, lang.logout)))))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21891
21917
|
"class": "d-flex flex-row p-0 align-items-center"
|
|
21892
21918
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21893
21919
|
style: {
|
|
@@ -21911,7 +21937,7 @@
|
|
|
21911
21937
|
}
|
|
21912
21938
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21913
21939
|
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.wishlistbadge)
|
|
21914
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21940
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21915
21941
|
"class": sectionproperties.btninsearch == 'Show' ? sectionproperties.showfooterphonenumber == 'Show' ? 'd-flex d-lg-none flex-row justify-content-end align-items-center' : 'd-flex flex-row justify-content-end align-items-center' : 'd-flex flex-row justify-content-end align-items-center'
|
|
21916
21942
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21917
21943
|
"class": "row w-100 m-0 align-items-center d-flex flex-row justify-content-end",
|
|
@@ -21975,6 +22001,10 @@
|
|
|
21975
22001
|
} else {
|
|
21976
22002
|
setlang('en');
|
|
21977
22003
|
}
|
|
22004
|
+
},
|
|
22005
|
+
style: {
|
|
22006
|
+
paddingLeft: sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? langdetect == 'en' ? '2rem' : 0 : 0,
|
|
22007
|
+
paddingRight: sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? langdetect == 'ar' ? '2rem' : 0 : 0
|
|
21978
22008
|
}
|
|
21979
22009
|
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21980
22010
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|