tabexseriescomponents 0.0.345 → 0.0.346
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 +493 -396
- package/dist/index.esm.js +494 -397
- package/dist/index.umd.js +494 -399
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -31,6 +31,9 @@ var FiShoppingBag = require('@react-icons/all-files/fi/FiShoppingBag');
|
|
|
31
31
|
var FiShoppingCart = require('@react-icons/all-files/fi/FiShoppingCart');
|
|
32
32
|
var AiFillStar$1 = require('@react-icons/all-files/ai/AiFillStar');
|
|
33
33
|
var AiOutlineStar = require('@react-icons/all-files/ai/AiOutlineStar');
|
|
34
|
+
var AiOutlineTwitter = require('@react-icons/all-files/ai/AiOutlineTwitter');
|
|
35
|
+
var FaWhatsapp = require('@react-icons/all-files/fa/FaWhatsapp');
|
|
36
|
+
var FaLinkedinIn = require('@react-icons/all-files/fa/FaLinkedinIn');
|
|
34
37
|
var reactShare = require('react-share');
|
|
35
38
|
var FiMinus = require('@react-icons/all-files/fi/FiMinus');
|
|
36
39
|
var FiPlus = require('@react-icons/all-files/fi/FiPlus');
|
|
@@ -92,7 +95,6 @@ var HiOutlineArrowLeft = require('@react-icons/all-files/hi/HiOutlineArrowLeft')
|
|
|
92
95
|
var ReactPaginate = require('react-paginate');
|
|
93
96
|
var FaFacebook = require('@react-icons/all-files/fa/FaFacebook');
|
|
94
97
|
var AiFillInstagram = require('@react-icons/all-files/ai/AiFillInstagram');
|
|
95
|
-
var FaWhatsapp = require('@react-icons/all-files/fa/FaWhatsapp');
|
|
96
98
|
var BiGlobe = require('@react-icons/all-files/bi/BiGlobe');
|
|
97
99
|
var MdKeyboardArrowDown = require('@react-icons/all-files/md/MdKeyboardArrowDown');
|
|
98
100
|
var FaMoneyBillWave = require('@react-icons/all-files/fa/FaMoneyBillWave');
|
|
@@ -2114,15 +2116,12 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2114
2116
|
function ownKeys$2n(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2115
2117
|
function _objectSpread$2n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2n(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2116
2118
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2117
|
-
var _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27,
|
|
2119
|
+
var _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _ProductInfoObj$data, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34;
|
|
2118
2120
|
var lang = props.actions.lang;
|
|
2119
2121
|
var langdetect = props.actions.langdetect;
|
|
2120
2122
|
var srcfromprops = props.actions.srcfromprops;
|
|
2121
|
-
props.actions.returnpolicyobj;
|
|
2122
2123
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
2123
2124
|
var addtocartfunc = props.actions.addtocartfunc;
|
|
2124
|
-
props.actions.selectproductoptionvalue;
|
|
2125
|
-
props.actions.clearchoosenvaluesbutkeepcurrentvalue;
|
|
2126
2125
|
var productimagesarray = props.actions.productimagesarray;
|
|
2127
2126
|
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
2128
2127
|
var sectionproperties = props.actions.sectionproperties;
|
|
@@ -2265,53 +2264,65 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2265
2264
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2266
2265
|
"class": "col-lg-12 d-flex justify-content-center flex-column align-items-center p-0"
|
|
2267
2266
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2268
|
-
"class": "m-0 p-0",
|
|
2267
|
+
"class": "m-0 p-0 w-100",
|
|
2269
2268
|
style: {
|
|
2270
2269
|
fontWeight: sectionproperties.sharebtn_FontWeight,
|
|
2271
2270
|
color: sectionproperties.sharebtn_color,
|
|
2272
|
-
fontSize: sectionproperties.sharebtn_fontSize + 'px'
|
|
2271
|
+
fontSize: sectionproperties.sharebtn_fontSize + 'px',
|
|
2272
|
+
textAlign: sectionproperties.sharecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
2273
2273
|
}
|
|
2274
2274
|
}, langdetect == 'en' ? sectionproperties.sharebtn_contentEn : sectionproperties.sharebtn_contentAr), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2275
|
-
className: "Demo__container w-100 m-0
|
|
2275
|
+
className: "Demo__container w-100 m-0 d-flex align-items-center mt-3",
|
|
2276
|
+
style: {
|
|
2277
|
+
justifyContent: sectionproperties.sharecentered == 'Centered' ? 'center' : 'start'
|
|
2278
|
+
}
|
|
2276
2279
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2277
|
-
className: "Demo__some-network ml-2 mr-2"
|
|
2280
|
+
className: "Demo__some-network ml-2 mr-2 allcentered"
|
|
2278
2281
|
}, /*#__PURE__*/React__default["default"].createElement(reactShare.FacebookShareButton, {
|
|
2279
2282
|
url: shareUrl,
|
|
2280
2283
|
quote: title,
|
|
2281
|
-
className: "Demo__some-network__share-button"
|
|
2282
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
}
|
|
2286
|
-
|
|
2284
|
+
className: "Demo__some-network__share-button allcentered"
|
|
2285
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2286
|
+
"class": productinfo_cssstyles.shareicon + ' allcentered ',
|
|
2287
|
+
style: {}
|
|
2288
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2289
|
+
"class": "h-100 allcentered"
|
|
2290
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, null))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2291
|
+
className: "Demo__some-network ml-2 mr-2 allcentered"
|
|
2287
2292
|
}, /*#__PURE__*/React__default["default"].createElement(reactShare.TwitterShareButton, {
|
|
2288
2293
|
url: shareUrl,
|
|
2289
2294
|
title: title,
|
|
2290
|
-
className: "Demo__some-network__share-button"
|
|
2291
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
}
|
|
2295
|
+
className: "Demo__some-network__share-button allcentered"
|
|
2296
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2297
|
+
"class": productinfo_cssstyles.shareicon + ' allcentered ',
|
|
2298
|
+
style: {}
|
|
2299
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2300
|
+
"class": "h-100 allcentered"
|
|
2301
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineTwitter.AiOutlineTwitter, null))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2295
2302
|
className: "Demo__some-network ml-2 mr-2"
|
|
2296
2303
|
}, /*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappShareButton, {
|
|
2297
2304
|
url: shareUrl,
|
|
2298
2305
|
title: title,
|
|
2299
2306
|
separator: ":: ",
|
|
2300
2307
|
className: "Demo__some-network__share-button"
|
|
2301
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
}
|
|
2308
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2309
|
+
"class": productinfo_cssstyles.shareicon + ' allcentered ',
|
|
2310
|
+
style: {}
|
|
2311
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2312
|
+
"class": "h-100 allcentered"
|
|
2313
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, null))))), sectionproperties.showsharelinkedin == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2305
2314
|
className: "Demo__some-network ml-2 mr-2"
|
|
2306
2315
|
}, /*#__PURE__*/React__default["default"].createElement(reactShare.LinkedinShareButton, {
|
|
2307
2316
|
url: shareUrl,
|
|
2308
2317
|
title: title,
|
|
2309
2318
|
separator: ":: ",
|
|
2310
2319
|
className: "Demo__some-network__share-button"
|
|
2311
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
}
|
|
2320
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2321
|
+
"class": productinfo_cssstyles.shareicon + ' allcentered ',
|
|
2322
|
+
style: {}
|
|
2323
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2324
|
+
"class": "h-100 allcentered"
|
|
2325
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, null))))))));
|
|
2315
2326
|
};
|
|
2316
2327
|
var Quantitybtn_Cartbtn_Favbottombtn = function Quantitybtn_Cartbtn_Favbottombtn() {
|
|
2317
2328
|
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer10, _fetchProductInfoQuer11;
|
|
@@ -2685,32 +2696,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2685
2696
|
}
|
|
2686
2697
|
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.vendorinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.vendorname))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2687
2698
|
"class": "col-lg-12 p-0"
|
|
2688
|
-
}, SKUSection()), sectionproperties.
|
|
2689
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
2690
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2691
|
-
"class": "m-0 p-0 d-flex justify-content-start"
|
|
2692
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2693
|
-
style: {
|
|
2694
|
-
color: sectionproperties.skuColor,
|
|
2695
|
-
fontWeight: sectionproperties.skuFontWeight,
|
|
2696
|
-
fontSize: sectionproperties.skuFontSize + 'px',
|
|
2697
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2698
|
-
}
|
|
2699
|
-
}, langdetect == 'en' ? sectionproperties.skutitleEn : sectionproperties.skutitleAr, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2700
|
-
"class": "ml-1 mr-1",
|
|
2701
|
-
style: {
|
|
2702
|
-
color: '#7e859b',
|
|
2703
|
-
fontWeight: sectionproperties.skuSecondaryFontWeight,
|
|
2704
|
-
fontSize: sectionproperties.skuFontSize + 'px',
|
|
2705
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2706
|
-
}
|
|
2707
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.sku))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.quantavailtype) == 'limit' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2699
|
+
}, SKUSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.quantavailtype) == 'limit' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2708
2700
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
2709
2701
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2710
2702
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
2711
2703
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2712
2704
|
"class": "m-0 p-0"
|
|
2713
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2705
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2714
2706
|
"class": "mb-4 col-lg-12 allcentered",
|
|
2715
2707
|
style: {
|
|
2716
2708
|
width: '100%',
|
|
@@ -2731,9 +2723,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2731
2723
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2732
2724
|
color: sectionproperties.deliverytimecontainercolor
|
|
2733
2725
|
}
|
|
2734
|
-
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2726
|
+
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.deliverydatetext)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
2735
2727
|
actions: props.actions
|
|
2736
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2728
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2737
2729
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
2738
2730
|
}, ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 || (_ProductInfoObj$data = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data === void 0 || (_ProductInfoObj$data = _ProductInfoObj$data.productoptions) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.map(function (item, index) {
|
|
2739
2731
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -2797,8 +2789,6 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2797
2789
|
actions: props.actions
|
|
2798
2790
|
}), sectionproperties.showextrafield == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductExtraFields, {
|
|
2799
2791
|
actions: props.actions
|
|
2800
|
-
}), sectionproperties.gallerystyle == 'Style 2' && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2801
|
-
actions: props.actions
|
|
2802
2792
|
}), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2803
2793
|
className: "col-lg-12 p-0 mb-3"
|
|
2804
2794
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
@@ -2810,7 +2800,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2810
2800
|
}
|
|
2811
2801
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2812
2802
|
className: "row m-0 w-100 d-flex align-items-center"
|
|
2813
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2803
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2814
2804
|
className: "col-lg-12 p-0 mb-2 d-flex justify-content-start"
|
|
2815
2805
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2816
2806
|
className: "m-0 p-0",
|
|
@@ -2820,7 +2810,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2820
2810
|
textTransform: sectionproperties.generaltext_textTransform,
|
|
2821
2811
|
fontWeight: sectionproperties.generaltext_fontWeight
|
|
2822
2812
|
}
|
|
2823
|
-
}, lang.quantity, ":")), Quantitybtn_Cartbtn_Favbottombtn())), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
2813
|
+
}, lang.quantity, ":")), Quantitybtn_Cartbtn_Favbottombtn())), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2824
2814
|
className: "col-lg-12 p-0 mb-3"
|
|
2825
2815
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2826
2816
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -2843,7 +2833,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2843
2833
|
}
|
|
2844
2834
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2845
2835
|
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 '
|
|
2846
|
-
}, 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 || (
|
|
2836
|
+
}, 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 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.variants[variantindexcompleted]) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.variants[variantindexcompleted]) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.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", {
|
|
2847
2837
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
2848
2838
|
style: {
|
|
2849
2839
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -2857,14 +2847,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2857
2847
|
style: {
|
|
2858
2848
|
textDecoration: 'none'
|
|
2859
2849
|
}
|
|
2860
|
-
}, "-"), 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 || (
|
|
2850
|
+
}, "-"), 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 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.variants[variantindexcompleted]) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2861
2851
|
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 '
|
|
2862
2852
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2863
2853
|
className: "ml-2 mr-2",
|
|
2864
2854
|
style: {
|
|
2865
2855
|
textDecoration: 'none'
|
|
2866
2856
|
}
|
|
2867
|
-
}, "-"), 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 || (
|
|
2857
|
+
}, "-"), 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 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2868
2858
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
2869
2859
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2870
2860
|
style: {
|
|
@@ -2909,11 +2899,6 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2909
2899
|
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
2910
2900
|
}
|
|
2911
2901
|
}, StoreInfoprops(), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2912
|
-
"class": productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 ',
|
|
2913
|
-
style: {}
|
|
2914
|
-
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
2915
|
-
"class": "my-3"
|
|
2916
|
-
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2917
2902
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
2918
2903
|
}, ShareButtonsContainer()))))))), sectionproperties.storeinfoposition == 'On The Right' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2919
2904
|
className: langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0' : 'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0',
|
|
@@ -5382,6 +5367,18 @@ var Productinfo = function Productinfo(props) {
|
|
|
5382
5367
|
backgroundColor: sectionproperties.iconcontainerbgonhover
|
|
5383
5368
|
}
|
|
5384
5369
|
}),
|
|
5370
|
+
shareicon: glamor.css({
|
|
5371
|
+
width: sectionproperties.shareiconwidth + 'px',
|
|
5372
|
+
height: sectionproperties.shareiconheight + 'px',
|
|
5373
|
+
borderRadius: sectionproperties.shareiconborderradius + 'px',
|
|
5374
|
+
background: sectionproperties.shareiconbgcolor,
|
|
5375
|
+
color: sectionproperties.shareiconcolor,
|
|
5376
|
+
':hover': {
|
|
5377
|
+
color: sectionproperties.shareiconcoloronhover,
|
|
5378
|
+
transition: '.3s',
|
|
5379
|
+
cursor: 'pointer'
|
|
5380
|
+
}
|
|
5381
|
+
}),
|
|
5385
5382
|
checkoutbtn: glamor.css({
|
|
5386
5383
|
width: sectionproperties.checkoutBtnWidth + 'px',
|
|
5387
5384
|
height: sectionproperties.checkoutBtnHeight + 'px',
|
|
@@ -5587,7 +5584,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5587
5584
|
}, sectionproperties.storeinfostyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5588
5585
|
"class": "row m-0 w-100"
|
|
5589
5586
|
}, sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showstoreinfo1 == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5590
|
-
className:
|
|
5587
|
+
className: productinfo_cssstyles.storeinfobtn + ' col-lg-12 p-0 w-100 d-flex align-items-center mb-4 '
|
|
5591
5588
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5592
5589
|
"class": productinfo_cssstyles.iconContainer
|
|
5593
5590
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -5607,7 +5604,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5607
5604
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
5608
5605
|
}
|
|
5609
5606
|
}, langdetect == 'en' ? sectionproperties.otherinfodesc1en : sectionproperties.otherinfodesc1ar))), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showstoreinfo2 == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5610
|
-
className:
|
|
5607
|
+
className: productinfo_cssstyles.storeinfobtn + ' col-lg-12 p-0 d-flex align-items-center mb-4 '
|
|
5611
5608
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5612
5609
|
"class": productinfo_cssstyles.iconContainer
|
|
5613
5610
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -5629,7 +5626,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5629
5626
|
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productquantityoptions) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5630
5627
|
"class": "col-lg-12 p-0 mb-4"
|
|
5631
5628
|
}, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5632
|
-
className: productinfo_cssstyles.storeinfocontainer + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
5629
|
+
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
5633
5630
|
onClick: function onClick() {
|
|
5634
5631
|
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_blank');
|
|
5635
5632
|
}
|
|
@@ -5652,7 +5649,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5652
5649
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
5653
5650
|
}
|
|
5654
5651
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5655
|
-
className: productinfo_cssstyles.storeinfocontainer + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
5652
|
+
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
5656
5653
|
onClick: function onClick() {
|
|
5657
5654
|
var _authdetailsContext$i2;
|
|
5658
5655
|
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.contactinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.email), '_self');
|
|
@@ -7544,7 +7541,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7544
7541
|
function ownKeys$2f(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7545
7542
|
function _objectSpread$2f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2f(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7546
7543
|
var Viewcart = function Viewcart(props) {
|
|
7547
|
-
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8;
|
|
7544
|
+
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9;
|
|
7548
7545
|
var lang = props.actions.lang;
|
|
7549
7546
|
var langdetect = props.actions.langdetect;
|
|
7550
7547
|
var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
@@ -7784,10 +7781,8 @@ var Viewcart = function Viewcart(props) {
|
|
|
7784
7781
|
}
|
|
7785
7782
|
}),
|
|
7786
7783
|
tableimagecont: glamor.css({
|
|
7787
|
-
width: '
|
|
7788
|
-
height: sectionproperties.
|
|
7789
|
-
border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
|
|
7790
|
-
backgroundColor: sectionproperties.prodimage_bgcolor,
|
|
7784
|
+
width: sectionproperties.prodimage_width + 'px',
|
|
7785
|
+
height: sectionproperties.prodimage_height + 'px',
|
|
7791
7786
|
display: 'flex',
|
|
7792
7787
|
alignItems: 'center',
|
|
7793
7788
|
justifyContent: 'center',
|
|
@@ -7800,6 +7795,22 @@ var Viewcart = function Viewcart(props) {
|
|
|
7800
7795
|
'@media (max-width: 800px)': {
|
|
7801
7796
|
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
7802
7797
|
}
|
|
7798
|
+
}),
|
|
7799
|
+
shopbuttonstyles: glamor.css({
|
|
7800
|
+
width: sectionproperties.generalbtn_width == 0 ? '100%' : sectionproperties.generalbtn_width + '%',
|
|
7801
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
7802
|
+
borderRadius: sectionproperties.generalbtnborderradius,
|
|
7803
|
+
backgroundColor: sectionproperties.generalbtn_bgColor,
|
|
7804
|
+
color: sectionproperties.generalbtn_textColor,
|
|
7805
|
+
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
7806
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
7807
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
7808
|
+
':hover': {
|
|
7809
|
+
transition: '.3s',
|
|
7810
|
+
backgroundColor: sectionproperties.generalbtn_bgColoronhover,
|
|
7811
|
+
color: sectionproperties.generalbtn_textColoronhover,
|
|
7812
|
+
borderColor: sectionproperties.generalbtn_textColoronhover
|
|
7813
|
+
}
|
|
7803
7814
|
})
|
|
7804
7815
|
};
|
|
7805
7816
|
var _useState5 = React.useState([]),
|
|
@@ -7839,7 +7850,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
7839
7850
|
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
|
|
7840
7851
|
style: {
|
|
7841
7852
|
width: sectionproperties.image_width + 'vw',
|
|
7842
|
-
height:
|
|
7853
|
+
height: 'auto',
|
|
7843
7854
|
marginBottom: sectionproperties.image_mb + 'px',
|
|
7844
7855
|
position: 'relative'
|
|
7845
7856
|
}
|
|
@@ -7851,15 +7862,11 @@ var Viewcart = function Viewcart(props) {
|
|
|
7851
7862
|
style: {
|
|
7852
7863
|
height: '100%',
|
|
7853
7864
|
width: '100%',
|
|
7865
|
+
objectFit: 'contain',
|
|
7854
7866
|
margin: 0,
|
|
7855
7867
|
padding: 0,
|
|
7856
|
-
|
|
7857
|
-
|
|
7858
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
7859
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
7860
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
7861
|
-
zIndex: -1,
|
|
7862
|
-
objectFit: sectionproperties.bgcovercontain
|
|
7868
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
7869
|
+
zIndex: -1
|
|
7863
7870
|
}
|
|
7864
7871
|
}), /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
7865
7872
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -7869,34 +7876,13 @@ var Viewcart = function Viewcart(props) {
|
|
|
7869
7876
|
style: {
|
|
7870
7877
|
height: '100%',
|
|
7871
7878
|
width: '100%',
|
|
7879
|
+
objectFit: 'contain',
|
|
7872
7880
|
margin: 0,
|
|
7873
7881
|
padding: 0,
|
|
7874
|
-
|
|
7875
|
-
background: sectionproperties.image_bgcolor,
|
|
7876
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
7877
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
7878
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
7879
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
7882
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
7880
7883
|
zIndex: -1
|
|
7881
7884
|
}
|
|
7882
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7883
|
-
className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
|
|
7884
|
-
style: {
|
|
7885
|
-
position: 'absolute',
|
|
7886
|
-
top: 0,
|
|
7887
|
-
right: 0,
|
|
7888
|
-
bottom: 0,
|
|
7889
|
-
left: 0
|
|
7890
|
-
}
|
|
7891
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7892
|
-
className: ' m-0 p-0 ',
|
|
7893
|
-
style: {
|
|
7894
|
-
fontSize: sectionproperties.imagetextfontsize + 'px',
|
|
7895
|
-
color: sectionproperties.imagetextcolor,
|
|
7896
|
-
textTransform: sectionproperties.imagetexttextTransform,
|
|
7897
|
-
fontWeight: sectionproperties.imagetextfontWeight
|
|
7898
|
-
}
|
|
7899
|
-
}, lang.mycart)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7885
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7900
7886
|
className: "col-lg-12 p-0"
|
|
7901
7887
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7902
7888
|
className: 'row ml-0 mr-0 d-flex justify-content-center w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
|
|
@@ -7919,7 +7905,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
7919
7905
|
actions: actions
|
|
7920
7906
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7921
7907
|
className: 'col-lg-12 d-flex w-100 p-0'
|
|
7922
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7908
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.customercart) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue7 === void 0 ? void 0 : _fetchcustomercartQue7.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7923
7909
|
className: "row m-0 w-100"
|
|
7924
7910
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7925
7911
|
className: langdetect == 'en' ? 'col-lg-9 pr-0' : 'col-lg-9 pl-0'
|
|
@@ -7935,10 +7921,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
7935
7921
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
7936
7922
|
className: 'table table_thbg'
|
|
7937
7923
|
}, /*#__PURE__*/React__default["default"].createElement("thead", {
|
|
7938
|
-
className: ""
|
|
7939
|
-
style: {
|
|
7940
|
-
background: '#eee'
|
|
7941
|
-
}
|
|
7924
|
+
className: ""
|
|
7942
7925
|
}, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7943
7926
|
className: langdetect == 'en' ? 'text-left font-weight-500 font-14 text-light mw-150 mw-md-300' : 'text-right font-weight-500 font-14 text-light mw-150 mw-md-300'
|
|
7944
7927
|
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
@@ -7955,7 +7938,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
7955
7938
|
}
|
|
7956
7939
|
}, lang.total), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7957
7940
|
className: "text-capitalize text-center font-weight-500 font-14 text-uppercase text-light"
|
|
7958
|
-
}, lang.remove)), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
7941
|
+
}, lang.remove)), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue8 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.map(function (item, index) {
|
|
7959
7942
|
return /*#__PURE__*/React__default["default"].createElement("tr", {
|
|
7960
7943
|
className: "border-none"
|
|
7961
7944
|
}, /*#__PURE__*/React__default["default"].createElement("td", {
|
|
@@ -7971,8 +7954,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
7971
7954
|
style: {
|
|
7972
7955
|
width: '100%',
|
|
7973
7956
|
height: '100%',
|
|
7974
|
-
objectFit:
|
|
7975
|
-
borderRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px'
|
|
7957
|
+
objectFit: 'contain'
|
|
7976
7958
|
},
|
|
7977
7959
|
loading: "lazy"
|
|
7978
7960
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -8126,16 +8108,18 @@ var Viewcart = function Viewcart(props) {
|
|
|
8126
8108
|
deletecartitemContext(item);
|
|
8127
8109
|
}
|
|
8128
8110
|
}, lang.remove)));
|
|
8129
|
-
}))))
|
|
8130
|
-
className:
|
|
8111
|
+
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8112
|
+
className: langdetect == 'en' ? ' col-lg-3 pr-0 px-sm-0 mb-4 ' : ' col-lg-3 pl-0 px-sm-0 mb-4'
|
|
8113
|
+
}, Summary())), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue9 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : _fetchcustomercartQue9.cartitems.length) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8114
|
+
className: "row m-0 w-100 d-flex align-items-center justify-content-center pt-5 pb-5",
|
|
8131
8115
|
style: {
|
|
8132
|
-
height: '
|
|
8116
|
+
height: '60vh'
|
|
8133
8117
|
}
|
|
8134
8118
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8135
8119
|
className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
|
|
8136
8120
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8137
8121
|
className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
|
|
8138
|
-
}, sectionproperties.noproducticontype == 'Cart' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
8122
|
+
}, sectionproperties.noproducticontype == 'Cart' && sectionproperties.noprod_iconfontSize != 0 && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
8139
8123
|
src: 'https://tabex-co.com/storage/StaticImages/shoppingcart.png',
|
|
8140
8124
|
style: {
|
|
8141
8125
|
maxWidth: '250px',
|
|
@@ -8153,9 +8137,12 @@ var Viewcart = function Viewcart(props) {
|
|
|
8153
8137
|
color: sectionproperties.noprod_color,
|
|
8154
8138
|
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
8155
8139
|
}
|
|
8156
|
-
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)
|
|
8157
|
-
className:
|
|
8158
|
-
|
|
8140
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8141
|
+
className: "".concat(viewcart_cssstyles.shopbuttonstyles) + ' mt-4 d-flex align-items-center justify-content-center ',
|
|
8142
|
+
onClick: function onClick() {
|
|
8143
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
8144
|
+
}
|
|
8145
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))));
|
|
8159
8146
|
};
|
|
8160
8147
|
|
|
8161
8148
|
var css_248z$G = "/* Forms */\n.form-module_form_control__4-RGw {\n display: block;\n width: 100%;\n /* height: 25px; */\n /* font-size: 1rem; */\n font-weight: 500;\n /* color: #444054; */\n /* background-color: white; */\n /* border-radius: 20px; */\n /* box-shadow: 0 0 10px #e6e6e6; */\n /* height: 40px; */\n padding-left: 0;\n padding-right: 0;\n /* font-size: 14px; */\n transition: background 0s ease-out;\n padding: 0 10px;\n}\n.form-module_textarea__zG0ed{\n resize: none;\n /* background-color: #eee; */\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .form-module_form_control__4-RGw {\n transition: none;\n }\n}\n.form-module_form_control__4-RGw::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.form-module_form_control__4-RGw::placeholder {\n color: #eac435;\n opacity: 1;\n}\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.form-module_form_control__4-RGw {\n /* min-height: 100px !important; */\n padding-top: 10px;\n padding-bottom: 10px;\n}\n.form-module_form_control__4-RGw:focus {\n transition-duration: 0.3s;\n box-shadow: none;\n /* box-shadow: 0 0 10px #ccc; */\n}\n.form-module_form_control__4-RGw::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n\n.form-module_form_control_border_none__TJvdZ {\n background-image: none;\n}\n.form-module_form_control__4-RGw.form-module_disabled__AtvSI,\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[disabled] {\n cursor: not-allowed;\n}\n.form-module_input_label_name__416wN {\n font-size: 16px;\n text-transform: capitalize;\n color: var(--cardheader);\n font-weight: 500;\n}\n.form-module_input_label_name-bolder__UQn0a {\n font-weight: 500;\n}\n.form-module_input_icon__X-CzC {\n position: absolute;\n bottom: 5px;\n left: 0;\n color: #d9d9d9;\n}\n/* Radio Buttons */\n.form-module_radiobtn_label__-4Hoi {\n display: flex;\n cursor: pointer;\n font-weight: 500;\n position: relative;\n overflow: hidden;\n margin-bottom: 0;\n}\n.form-module_radiobtn_label__-4Hoi input {\n position: absolute;\n left: -9999px;\n display: none;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span {\n background-color: #f0f5f5;\n color: var(--focus);\n font-weight: 500;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span:before {\n box-shadow: inset 0 0 0 0.3em #eac435;\n}\n.form-module_radiobtn_label__-4Hoi span {\n display: flex;\n align-items: center;\n text-transform: capitalize;\n padding: 0.375em 0.75em 0.375em 0.375em;\n border-radius: 99em;\n transition: 0.25s ease;\n font-weight: normal;\n color: var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi span:hover {\n background-color: #e6e6e6;\n}\n.form-module_radiobtn_label__-4Hoi span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-right: 0.375em;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi.form-module_text-grey__JdZMY span:before {\n box-shadow: inset 0 0 0 0.125em grey;\n}\n.form-module_radiobtn_label__-4Hoi input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n.form-module_radiobtn_label_translated__WN5Jj span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-left: 0.375em;\n margin-right: 0;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label_translated__WN5Jj input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n\n/* Checkbox */\n.form-module_checkbox__XPkWy {\n --border: #022648;\n --border-hover: #959ed0;\n --tick: #fff;\n position: relative;\n /* color: var(--cardheader); */\n}\n.form-module_checkbox_label__VvcKs {\n font-size: 16px;\n text-transform: capitalize;\n font-weight: 500;\n cursor: pointer;\n}\n.form-module_checkbox__XPkWy:hover {\n /* color: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input,\n.form-module_checkbox__XPkWy svg {\n width: 16px;\n height: 16px;\n display: block;\n}\n.form-module_checkbox_sub__QWYil input {\n width: 15px;\n height: 15px;\n}\n.form-module_checkbox__XPkWy input {\n -webkit-appearance: none;\n -moz-appearance: none;\n position: relative;\n outline: none;\n background: white;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n border-radius: 4px;\n transition: box-shadow 0.3s;\n box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));\n}\n.form-module_checkbox__XPkWy input:disabled {\n cursor: not-allowed;\n}\n.form-module_checkbox__XPkWy input:hover {\n /* --s: 2px; */\n /* --b: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input:checked {\n /* --b: var(--secondary); */\n}\n.form-module_checkbox__XPkWy svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n /* stroke: var(--stroke, var(--secondary)); */\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.form-module_checkbox_sub__QWYil svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: var(--stroke, var(--secondary));\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.form-module_checkboxtranslated__zvEV- svg {\n right: 0;\n}\n.form-module_checkbox__XPkWy input:checked {\n --s: 2px;\n transition-delay: 0.4s;\n}\n.form-module_checkbox__XPkWy input:checked + svg {\n --a: 16.1 86.12;\n --o: 102.22;\n}\n.form-module_checkbox__XPkWy svg {\n stroke-dasharray: var(--a, 86.12);\n stroke-dashoffset: var(--o, 86.12);\n transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;\n}\n";
|
|
@@ -9477,7 +9464,7 @@ var Select$2 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
|
9477
9464
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
9478
9465
|
});
|
|
9479
9466
|
var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
9480
|
-
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _css, _authdetailsContext$i2, _authdetailsContext$c, _authdetailsContext$c2;
|
|
9467
|
+
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$i2, _authdetailsContext$c, _authdetailsContext$c2;
|
|
9481
9468
|
var lang = props.actions.lang;
|
|
9482
9469
|
var langdetect = props.actions.langdetect;
|
|
9483
9470
|
props.actions.routingcountext;
|
|
@@ -9506,28 +9493,45 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9506
9493
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
9507
9494
|
customervalidateemail = _useState4[0],
|
|
9508
9495
|
setcustomervalidateemail = _useState4[1];
|
|
9509
|
-
var _useState5 = React.useState(
|
|
9496
|
+
var _useState5 = React.useState(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu3 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu3 === void 0 || (_fetchAuthorizationQu3 = _fetchAuthorizationQu3.data) === null || _fetchAuthorizationQu3 === void 0 || (_fetchAuthorizationQu3 = _fetchAuthorizationQu3.instinfo) === null || _fetchAuthorizationQu3 === void 0 ? void 0 : _fetchAuthorizationQu3.customervalidatephonenumber),
|
|
9510
9497
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
var _useState7 = React.useState(
|
|
9498
|
+
customervalidatephonenumber = _useState6[0],
|
|
9499
|
+
setcustomervalidatephonenumber = _useState6[1];
|
|
9500
|
+
var _useState7 = React.useState(false),
|
|
9514
9501
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
9515
|
-
|
|
9516
|
-
|
|
9502
|
+
validatephonenumbermodal = _useState8[0],
|
|
9503
|
+
setvalidatephonenumbermodal = _useState8[1];
|
|
9517
9504
|
var _useState9 = React.useState(false),
|
|
9518
9505
|
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
var _useState11 = React.useState(
|
|
9506
|
+
validateemailmodal = _useState10[0],
|
|
9507
|
+
setvalidateemailmodal = _useState10[1];
|
|
9508
|
+
var _useState11 = React.useState(''),
|
|
9509
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
9510
|
+
sectionproperties = _useState12[0],
|
|
9511
|
+
setsectionproperties = _useState12[1];
|
|
9512
|
+
var _useState13 = React.useState(false),
|
|
9513
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
9514
|
+
dataloaded = _useState14[0],
|
|
9515
|
+
setdataloaded = _useState14[1];
|
|
9516
|
+
var _useState15 = React.useState({
|
|
9517
|
+
phonenumber: '',
|
|
9518
|
+
code: '',
|
|
9519
|
+
step: 'sendcode',
|
|
9520
|
+
isvalidated: false
|
|
9521
|
+
}),
|
|
9522
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
9523
|
+
validatephonenumberpayload = _useState16[0],
|
|
9524
|
+
setvalidatephonenumberpayload = _useState16[1];
|
|
9525
|
+
var _useState17 = React.useState({
|
|
9522
9526
|
email: '',
|
|
9523
9527
|
code: '',
|
|
9524
9528
|
step: 'sendcode',
|
|
9525
9529
|
isvalidated: false
|
|
9526
9530
|
}),
|
|
9527
|
-
|
|
9528
|
-
validateemailpayload =
|
|
9529
|
-
setvalidateemailpayload =
|
|
9530
|
-
var
|
|
9531
|
+
_useState18 = _slicedToArray__default["default"](_useState17, 2),
|
|
9532
|
+
validateemailpayload = _useState18[0],
|
|
9533
|
+
setvalidateemailpayload = _useState18[1];
|
|
9534
|
+
var _useState19 = React.useState({
|
|
9531
9535
|
instapikey: instapikey,
|
|
9532
9536
|
name: '',
|
|
9533
9537
|
email: '',
|
|
@@ -9542,26 +9546,27 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
9542
9546
|
cityid: '',
|
|
9543
9547
|
countrydialcode: ''
|
|
9544
9548
|
}),
|
|
9545
|
-
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
9546
|
-
payloadobj = _useState14[0],
|
|
9547
|
-
setpayloadobj = _useState14[1];
|
|
9548
|
-
var _useState15 = React.useState(false),
|
|
9549
|
-
_useState16 = _slicedToArray__default["default"](_useState15, 2);
|
|
9550
|
-
_useState16[0];
|
|
9551
|
-
_useState16[1];
|
|
9552
|
-
var _useState17 = React.useState(false),
|
|
9553
|
-
_useState18 = _slicedToArray__default["default"](_useState17, 2);
|
|
9554
|
-
_useState18[0];
|
|
9555
|
-
_useState18[1];
|
|
9556
|
-
var _useState19 = React.useState(false),
|
|
9557
9549
|
_useState20 = _slicedToArray__default["default"](_useState19, 2),
|
|
9558
|
-
|
|
9559
|
-
|
|
9550
|
+
payloadobj = _useState20[0],
|
|
9551
|
+
setpayloadobj = _useState20[1];
|
|
9552
|
+
var _useState21 = React.useState(false),
|
|
9553
|
+
_useState22 = _slicedToArray__default["default"](_useState21, 2);
|
|
9554
|
+
_useState22[0];
|
|
9555
|
+
_useState22[1];
|
|
9556
|
+
var _useState23 = React.useState(false),
|
|
9557
|
+
_useState24 = _slicedToArray__default["default"](_useState23, 2);
|
|
9558
|
+
_useState24[0];
|
|
9559
|
+
_useState24[1];
|
|
9560
|
+
var _useState25 = React.useState(false),
|
|
9561
|
+
_useState26 = _slicedToArray__default["default"](_useState25, 2),
|
|
9562
|
+
waitingpage = _useState26[0],
|
|
9563
|
+
setwaitingpage = _useState26[1];
|
|
9560
9564
|
React.useEffect(function () {
|
|
9561
9565
|
if (fetchAuthorizationQueryContext.isSuccess) {
|
|
9562
|
-
var
|
|
9563
|
-
setcustomeraddressrequierd(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (
|
|
9564
|
-
setcustomervalidateemail(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (
|
|
9566
|
+
var _fetchAuthorizationQu4, _fetchAuthorizationQu5, _fetchAuthorizationQu6;
|
|
9567
|
+
setcustomeraddressrequierd(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu4 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu4 === void 0 || (_fetchAuthorizationQu4 = _fetchAuthorizationQu4.data) === null || _fetchAuthorizationQu4 === void 0 || (_fetchAuthorizationQu4 = _fetchAuthorizationQu4.instinfo) === null || _fetchAuthorizationQu4 === void 0 ? void 0 : _fetchAuthorizationQu4.customerAddressrequiered);
|
|
9568
|
+
setcustomervalidateemail(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu5 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu5 === void 0 || (_fetchAuthorizationQu5 = _fetchAuthorizationQu5.data) === null || _fetchAuthorizationQu5 === void 0 || (_fetchAuthorizationQu5 = _fetchAuthorizationQu5.instinfo) === null || _fetchAuthorizationQu5 === void 0 ? void 0 : _fetchAuthorizationQu5.customervalidateemail);
|
|
9569
|
+
setcustomervalidatephonenumber(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu6 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu6 === void 0 || (_fetchAuthorizationQu6 = _fetchAuthorizationQu6.data) === null || _fetchAuthorizationQu6 === void 0 || (_fetchAuthorizationQu6 = _fetchAuthorizationQu6.instinfo) === null || _fetchAuthorizationQu6 === void 0 ? void 0 : _fetchAuthorizationQu6.customervalidatephonenumber);
|
|
9565
9570
|
}
|
|
9566
9571
|
}, [fetchAuthorizationQueryContext.isSuccess]);
|
|
9567
9572
|
React.useEffect(function () {
|
|
@@ -10158,9 +10163,29 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10158
10163
|
disabled: CustomerSignUpMutationContext.isLoading ? true : false,
|
|
10159
10164
|
onClick: function onClick() {
|
|
10160
10165
|
if (verifypayload() == true) {
|
|
10166
|
+
var isEmailOTP_Validated = false;
|
|
10167
|
+
var isPhoneNumberOTP_Validated = false;
|
|
10161
10168
|
if (customervalidateemail == 1) {
|
|
10162
|
-
|
|
10169
|
+
if (validateemailpayload.isvalidated) {
|
|
10170
|
+
isEmailOTP_Validated = true;
|
|
10171
|
+
} else {
|
|
10172
|
+
isEmailOTP_Validated = false;
|
|
10173
|
+
setvalidateemailmodal(true);
|
|
10174
|
+
}
|
|
10163
10175
|
} else {
|
|
10176
|
+
isEmailOTP_Validated = true;
|
|
10177
|
+
}
|
|
10178
|
+
if (customervalidatephonenumber == 1) {
|
|
10179
|
+
if (validatephonenumberpayload.isvalidated) {
|
|
10180
|
+
isPhoneNumberOTP_Validated = true;
|
|
10181
|
+
} else {
|
|
10182
|
+
isPhoneNumberOTP_Validated = false;
|
|
10183
|
+
setvalidatephonenumbermodal(true);
|
|
10184
|
+
}
|
|
10185
|
+
} else {
|
|
10186
|
+
isPhoneNumberOTP_Validated = true;
|
|
10187
|
+
}
|
|
10188
|
+
if (isPhoneNumberOTP_Validated && isEmailOTP_Validated) {
|
|
10164
10189
|
signupbuttonfunc();
|
|
10165
10190
|
}
|
|
10166
10191
|
}
|
|
@@ -10516,7 +10541,15 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10516
10541
|
isvalidated: true
|
|
10517
10542
|
}));
|
|
10518
10543
|
setvalidateemailmodal(false);
|
|
10519
|
-
|
|
10544
|
+
if (customervalidatephonenumber == 1) {
|
|
10545
|
+
if (validatephonenumberpayload.isvalidated) {
|
|
10546
|
+
signupbuttonfunc();
|
|
10547
|
+
} else {
|
|
10548
|
+
setvalidatephonenumbermodal(true);
|
|
10549
|
+
}
|
|
10550
|
+
} else {
|
|
10551
|
+
signupbuttonfunc();
|
|
10552
|
+
}
|
|
10520
10553
|
}
|
|
10521
10554
|
} else {
|
|
10522
10555
|
NotificationManager.warning('', data.data.reason);
|
|
@@ -10537,7 +10570,134 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10537
10570
|
style: {
|
|
10538
10571
|
letterSpacing: langdetect == 'en' ? '1px' : ''
|
|
10539
10572
|
}
|
|
10540
|
-
}, validateemailpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null))
|
|
10573
|
+
}, validateemailpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
|
|
10574
|
+
show: validatephonenumbermodal,
|
|
10575
|
+
onHide: function onHide() {
|
|
10576
|
+
return setvalidatephonenumbermodal(false);
|
|
10577
|
+
},
|
|
10578
|
+
centered: true,
|
|
10579
|
+
size: 'md'
|
|
10580
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10581
|
+
"class": "d-flex align-items-center justify-content-center bgdanger-hover",
|
|
10582
|
+
style: {
|
|
10583
|
+
position: 'absolute',
|
|
10584
|
+
right: -15,
|
|
10585
|
+
top: -15,
|
|
10586
|
+
width: '4vh',
|
|
10587
|
+
height: '4vh',
|
|
10588
|
+
background: '#000',
|
|
10589
|
+
borderRadius: '50%'
|
|
10590
|
+
},
|
|
10591
|
+
onClick: function onClick() {
|
|
10592
|
+
return setvalidatephonenumbermodal(false);
|
|
10593
|
+
}
|
|
10594
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
10595
|
+
size: 15,
|
|
10596
|
+
color: "white"
|
|
10597
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10598
|
+
"class": "row m-0 w-100 allcentered"
|
|
10599
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10600
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center mt-2 justify-content-center"
|
|
10601
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10602
|
+
className: "text-md-center m-0 p-0 mb-2",
|
|
10603
|
+
style: {
|
|
10604
|
+
fontSize: '19px',
|
|
10605
|
+
color: sectionproperties.sectionTitleColor,
|
|
10606
|
+
fontWeight: 600
|
|
10607
|
+
}
|
|
10608
|
+
}, langdetect == 'en' ? 'Validate Phone Number' : 'التحقق من صحة رقم الهاتف')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10609
|
+
"class": "col-lg-12 p-0"
|
|
10610
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
10611
|
+
"class": 'm-0 p-0'
|
|
10612
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10613
|
+
"class": "row w-100 m-0 mb-3 pl-2 pr-2 pt-3 pb-3 pl-sm-3 pr-sm-3"
|
|
10614
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10615
|
+
className: "col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0"
|
|
10616
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
10617
|
+
className: "".concat(formstyles.logininputLabel) + ' d-flex justify-content-start '
|
|
10618
|
+
}, langdetect == 'en' ? 'Phone Number' : ' رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
10619
|
+
type: "text",
|
|
10620
|
+
className: "".concat(formstyles.form_control),
|
|
10621
|
+
value: payloadobj.mobile,
|
|
10622
|
+
disabled: true,
|
|
10623
|
+
style: {
|
|
10624
|
+
background: 'transparent'
|
|
10625
|
+
}
|
|
10626
|
+
})), validatephonenumberpayload.step == 'verifycode' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10627
|
+
className: "col-lg-12 col-md-12 col-sm-12 mb-3 mt-3 p-sm-0"
|
|
10628
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
10629
|
+
className: "".concat(formstyles.logininputLabel) + ' d-flex justify-content-start '
|
|
10630
|
+
}, langdetect == 'en' ? 'Code' : ' كود الرسالة النصية'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
10631
|
+
type: "text",
|
|
10632
|
+
className: "".concat(formstyles.form_control),
|
|
10633
|
+
value: validatephonenumberpayload.code,
|
|
10634
|
+
onChange: function onChange(event) {
|
|
10635
|
+
setvalidatephonenumberpayload(_objectSpread$2d(_objectSpread$2d({}, validatephonenumberpayload), {}, {
|
|
10636
|
+
code: event.target.value
|
|
10637
|
+
}));
|
|
10638
|
+
},
|
|
10639
|
+
style: {
|
|
10640
|
+
background: 'transparent'
|
|
10641
|
+
}
|
|
10642
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10643
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 mt-3"
|
|
10644
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10645
|
+
className: "".concat(formstyles.signupbtn) + ' d-flex align-items-center justify-content-center ',
|
|
10646
|
+
disabled: GeneralAPIMutationContext.isLoading ? true : false,
|
|
10647
|
+
onClick: function onClick() {
|
|
10648
|
+
if (payloadobj.mobile.length != 0) {
|
|
10649
|
+
if (validatephonenumberpayload.isvalidated == true) {
|
|
10650
|
+
setvalidateemailmodal(false);
|
|
10651
|
+
signupbuttonfunc();
|
|
10652
|
+
} else {
|
|
10653
|
+
GeneralAPIMutationContext.mutate({
|
|
10654
|
+
endpointurl: '/validatephonenumber',
|
|
10655
|
+
functype: validatephonenumberpayload.step,
|
|
10656
|
+
code: validatephonenumberpayload.code,
|
|
10657
|
+
name: payloadobj.name,
|
|
10658
|
+
phonenumber: payloadobj.mobile,
|
|
10659
|
+
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
10660
|
+
if (data.data.status) {
|
|
10661
|
+
if (data.data.functype == 'sendcode') {
|
|
10662
|
+
setvalidatephonenumberpayload(_objectSpread$2d(_objectSpread$2d({}, validatephonenumberpayload), {}, {
|
|
10663
|
+
step: 'verifycode'
|
|
10664
|
+
}));
|
|
10665
|
+
}
|
|
10666
|
+
if (data.data.functype == 'verifycode') {
|
|
10667
|
+
setvalidatephonenumberpayload(_objectSpread$2d(_objectSpread$2d({}, validatephonenumberpayload), {}, {
|
|
10668
|
+
isvalidated: true
|
|
10669
|
+
}));
|
|
10670
|
+
setvalidatephonenumbermodal(false);
|
|
10671
|
+
if (customervalidateemail == 1) {
|
|
10672
|
+
if (validateemailpayload.isvalidated) {
|
|
10673
|
+
signupbuttonfunc();
|
|
10674
|
+
} else {
|
|
10675
|
+
setvalidateemailmodal(true);
|
|
10676
|
+
}
|
|
10677
|
+
} else {
|
|
10678
|
+
signupbuttonfunc();
|
|
10679
|
+
}
|
|
10680
|
+
}
|
|
10681
|
+
} else {
|
|
10682
|
+
NotificationManager.warning('', data.data.reason);
|
|
10683
|
+
}
|
|
10684
|
+
}
|
|
10685
|
+
});
|
|
10686
|
+
}
|
|
10687
|
+
} else {
|
|
10688
|
+
NotificationManager.warning(lang.completerequiredfields);
|
|
10689
|
+
}
|
|
10690
|
+
}
|
|
10691
|
+
}, GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
10692
|
+
color: "#fff",
|
|
10693
|
+
width: "20px",
|
|
10694
|
+
height: "20px",
|
|
10695
|
+
duration: "1s"
|
|
10696
|
+
}), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
10697
|
+
style: {
|
|
10698
|
+
letterSpacing: langdetect == 'en' ? '1px' : ''
|
|
10699
|
+
}
|
|
10700
|
+
}, validatephonenumberpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
10541
10701
|
};
|
|
10542
10702
|
|
|
10543
10703
|
function ownKeys$2c(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -13317,7 +13477,13 @@ var Filter$1 = function Filter(props) {
|
|
|
13317
13477
|
minHeight: sectionproperties.filterminheight == 0 ? 'auto' : sectionproperties.filterminheight + 'vh'
|
|
13318
13478
|
}
|
|
13319
13479
|
}, sectionproperties.filterType == 'Title & Sort By Only' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13320
|
-
"class": "row
|
|
13480
|
+
"class": "row mx-0 w-100",
|
|
13481
|
+
style: {
|
|
13482
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
13483
|
+
marginBottom: sectionproperties.sectiontitledirection == 'Vertical' ? sectionproperties.sectionTitleMarginBottom + 'px' : 0,
|
|
13484
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
|
|
13485
|
+
paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px'
|
|
13486
|
+
}
|
|
13321
13487
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13322
13488
|
"class": "col-lg-6 col-md-6 p-0 d-flex align-items-center justify-content-start"
|
|
13323
13489
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -13326,9 +13492,7 @@ var Filter$1 = function Filter(props) {
|
|
|
13326
13492
|
position: 'relative',
|
|
13327
13493
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
13328
13494
|
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
|
|
13329
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px'
|
|
13330
|
-
marginTop: sectionproperties.showbadge == 'Show' ? sectionproperties.sectionTitleMarginTop + 'px' : 0,
|
|
13331
|
-
marginBottom: sectionproperties.sectiontitledirection == 'Vertical' ? sectionproperties.sectionTitleMarginBottom + 'px' : 0
|
|
13495
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px'
|
|
13332
13496
|
}
|
|
13333
13497
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13334
13498
|
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'ASUL' ? ' ASUL mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ',
|
|
@@ -15142,164 +15306,6 @@ var CardsSection = function CardsSection(props) {
|
|
|
15142
15306
|
if (cardinfoindex < sectionproperties.overallnumberofcards) {
|
|
15143
15307
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15144
15308
|
"class": bootstapclass
|
|
15145
|
-
// class={
|
|
15146
|
-
// sectionproperties.numberOfColsvertical == '1'
|
|
15147
|
-
// ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
|
|
15148
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-4 p-0 d-flex justify-content-center col-sm-6 '
|
|
15149
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
|
|
15150
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0 '
|
|
15151
|
-
// : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
|
|
15152
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15153
|
-
// : item.tabexsectioninfo.sectioncompname == 'MenuCard'
|
|
15154
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15155
|
-
// : item.tabexsectioninfo.sectioncompname == 'ServiceCard'
|
|
15156
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15157
|
-
// : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
|
|
15158
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15159
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
|
|
15160
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
|
|
15161
|
-
// : item.tabexsectioninfo.sectioncompname == 'Card20'
|
|
15162
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto'
|
|
15163
|
-
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
15164
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15165
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
|
|
15166
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15167
|
-
// : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
|
|
15168
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15169
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
|
|
15170
|
-
// ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
|
|
15171
|
-
// : ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15172
|
-
// : sectionproperties.numberOfColsvertical == '2'
|
|
15173
|
-
// ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
|
|
15174
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15175
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft '
|
|
15176
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-6 d-flex justify-content-center p-0 '
|
|
15177
|
-
// : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
|
|
15178
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15179
|
-
// : item.tabexsectioninfo.sectioncompname == 'MenuCard'
|
|
15180
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15181
|
-
// : item.tabexsectioninfo.sectioncompname == 'ServiceCard'
|
|
15182
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15183
|
-
// : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
|
|
15184
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15185
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
|
|
15186
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
|
|
15187
|
-
// : item.tabexsectioninfo.sectioncompname == 'Card20'
|
|
15188
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
|
|
15189
|
-
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
15190
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15191
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
|
|
15192
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0'
|
|
15193
|
-
// : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
|
|
15194
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0'
|
|
15195
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
|
|
15196
|
-
// ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
|
|
15197
|
-
// : ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-6 d-flex justify-content-center p-0'
|
|
15198
|
-
// : sectionproperties.numberOfColsvertical == '3'
|
|
15199
|
-
// ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
|
|
15200
|
-
// ? ' col-xl-4 col-lg-4 col-md-4 col-sm-6 p-0 d-flex justify-content-center '
|
|
15201
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
|
|
15202
|
-
// ? ' col-xl-4 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15203
|
-
// : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
|
|
15204
|
-
// ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
|
|
15205
|
-
// : item.tabexsectioninfo.sectioncompname == 'MenuCard'
|
|
15206
|
-
// ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15207
|
-
// : item.tabexsectioninfo.sectioncompname == 'ServiceCard'
|
|
15208
|
-
// ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15209
|
-
// : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
|
|
15210
|
-
// ? ' col-xl-4 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15211
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
|
|
15212
|
-
// ? ' col-xl-4 p-0 col-lg-4 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
|
|
15213
|
-
// : item.tabexsectioninfo.sectioncompname == 'Card20'
|
|
15214
|
-
// ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
|
|
15215
|
-
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
15216
|
-
// ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15217
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
|
|
15218
|
-
// ? ' col-xl-4 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15219
|
-
// : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
|
|
15220
|
-
// ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0'
|
|
15221
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
|
|
15222
|
-
// ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
|
|
15223
|
-
// : ' col-xl-4 col-lg-4 col-md-6 col-sm-6 d-flex justify-content-center p-0 '
|
|
15224
|
-
// : sectionproperties.numberOfColsvertical == '4'
|
|
15225
|
-
// ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
|
|
15226
|
-
// ? ' col-xl-3 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15227
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
|
|
15228
|
-
// ? ' col-xl-3 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15229
|
-
// : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
|
|
15230
|
-
// ? ' col-xl-3 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15231
|
-
// : item.tabexsectioninfo.sectioncompname == 'MenuCard'
|
|
15232
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15233
|
-
// : item.tabexsectioninfo.sectioncompname == 'ServiceCard'
|
|
15234
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15235
|
-
// : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
|
|
15236
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15237
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
|
|
15238
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
|
|
15239
|
-
// : item.tabexsectioninfo.sectioncompname == 'Card20'
|
|
15240
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
|
|
15241
|
-
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
15242
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15243
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
|
|
15244
|
-
// ? ' col-xl-3 col-lg-4 col-md-4 col-sm-12 p-0 d-flex justify-content-center p-0 '
|
|
15245
|
-
// : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
|
|
15246
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0'
|
|
15247
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
|
|
15248
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
|
|
15249
|
-
// : ' col-xl-3 col-lg-4 col-md-4 col-sm-6 p-0 d-flex justify-content-center p-0 '
|
|
15250
|
-
// : sectionproperties.numberOfColsvertical == '12'
|
|
15251
|
-
// ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
|
|
15252
|
-
// ? ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15253
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
|
|
15254
|
-
// ? ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15255
|
-
// : item.tabexsectioninfo.sectioncompname == 'MenuCard'
|
|
15256
|
-
// ? ' col-xl-3 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15257
|
-
// : item.tabexsectioninfo.sectioncompname == 'ServiceCard'
|
|
15258
|
-
// ? ' col-xl-3 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15259
|
-
// : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
|
|
15260
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15261
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
|
|
15262
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
|
|
15263
|
-
// : item.tabexsectioninfo.sectioncompname == 'Card20'
|
|
15264
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
|
|
15265
|
-
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
15266
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15267
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
|
|
15268
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
|
|
15269
|
-
// : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
|
|
15270
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0'
|
|
15271
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
|
|
15272
|
-
// ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
|
|
15273
|
-
// : ''
|
|
15274
|
-
// : sectionproperties.numberOfColsvertical == '6'
|
|
15275
|
-
// ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
|
|
15276
|
-
// ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15277
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
|
|
15278
|
-
// ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15279
|
-
// : item.tabexsectioninfo.sectioncompname == 'MenuCard'
|
|
15280
|
-
// ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15281
|
-
// : item.tabexsectioninfo.sectioncompname == 'ServiceCard'
|
|
15282
|
-
// ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
|
|
15283
|
-
// : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
|
|
15284
|
-
// ? ' col-xl-2 p-0 col-lg-2 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15285
|
-
// : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
|
|
15286
|
-
// ? ' col-xl-2 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
|
|
15287
|
-
// : item.tabexsectioninfo.sectioncompname == 'Card20'
|
|
15288
|
-
// ? ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
|
|
15289
|
-
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
15290
|
-
// ? ' col-xl-2 p-0 col-lg-3 col-md-4 d-flex justify-content-center p-0 col-sm-' +
|
|
15291
|
-
// sectionproperties.numberOfColsverticalresp
|
|
15292
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
|
|
15293
|
-
// ? ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15294
|
-
// : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
|
|
15295
|
-
// ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0'
|
|
15296
|
-
// : item.tabexsectioninfo.sectioncompname == 'CardWithTextOnly'
|
|
15297
|
-
// ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
|
|
15298
|
-
// : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
|
|
15299
|
-
// ? ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
|
|
15300
|
-
// : ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
|
|
15301
|
-
// : ''
|
|
15302
|
-
// }
|
|
15303
15309
|
}, /*#__PURE__*/React__default["default"].createElement(Sectioncomp, {
|
|
15304
15310
|
sectiontypeprops: 'horizontal',
|
|
15305
15311
|
sectiontypeprops2: 'vertical',
|
|
@@ -35833,8 +35839,8 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
35833
35839
|
}
|
|
35834
35840
|
}),
|
|
35835
35841
|
cart_btn: glamor.css({
|
|
35836
|
-
width: sectionproperties.cartBtnWidth + 'px',
|
|
35837
|
-
height: sectionproperties.cartBtnHeight + 'px',
|
|
35842
|
+
width: sectionproperties.cartBtnWidth == 0 ? 'auto' : sectionproperties.cartBtnWidth + 'px',
|
|
35843
|
+
height: sectionproperties.cartBtnHeight == 0 ? 'auto' : sectionproperties.cartBtnHeight + 'px',
|
|
35838
35844
|
background: sectionproperties.cartBtnbgColor,
|
|
35839
35845
|
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
35840
35846
|
color: sectionproperties.cart_iconcolor,
|
|
@@ -36006,7 +36012,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
36006
36012
|
}
|
|
36007
36013
|
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36008
36014
|
"class": "col-lg-6 p-0 d-flex justify-content-end align-items-center"
|
|
36009
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36015
|
+
}, sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36010
36016
|
"class": header_cssstyles.languagecontainer + ' m-0 p-0 ',
|
|
36011
36017
|
onClick: function onClick() {
|
|
36012
36018
|
if (langdetect == 'en') {
|
|
@@ -36063,7 +36069,20 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
36063
36069
|
}
|
|
36064
36070
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36065
36071
|
"class": "col-lg-4 col-md-6 col-sm-12 p-0 d-flex align-items-center justify-content-end"
|
|
36066
|
-
}, sectionproperties.
|
|
36072
|
+
}, sectionproperties.showupperheadersection == 'Hide' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36073
|
+
"class": header_cssstyles.languagecontainer + ' p-0 mb-0 pb-0 ',
|
|
36074
|
+
style: {
|
|
36075
|
+
marginRight: langdetect == 'en' ? '35px' : 0,
|
|
36076
|
+
marginLeft: langdetect == 'ar' ? '35px' : 0
|
|
36077
|
+
},
|
|
36078
|
+
onClick: function onClick() {
|
|
36079
|
+
if (langdetect == 'en') {
|
|
36080
|
+
setlang('ar');
|
|
36081
|
+
} else {
|
|
36082
|
+
setlang('en');
|
|
36083
|
+
}
|
|
36084
|
+
}
|
|
36085
|
+
}, langdetect == 'en' ? 'English' : 'لغة عربية'), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36067
36086
|
style: {
|
|
36068
36087
|
marginRight: langdetect == 'en' ? '30px' : 0,
|
|
36069
36088
|
marginLeft: langdetect == 'en' ? 0 : '30px'
|
|
@@ -36161,10 +36180,6 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
36161
36180
|
"class": "".concat(header_cssstyles.cart_btn) + ' cursor-pointer allcentered ',
|
|
36162
36181
|
onClick: function onClick() {
|
|
36163
36182
|
setsidecartnavshowcontext(true);
|
|
36164
|
-
},
|
|
36165
|
-
style: {
|
|
36166
|
-
marginRight: langdetect == 'en' ? '30px' : 0,
|
|
36167
|
-
marginLeft: langdetect == 'en' ? 0 : '30px'
|
|
36168
36183
|
}
|
|
36169
36184
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
36170
36185
|
"class": ' pr-0 ',
|
|
@@ -36325,7 +36340,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
36325
36340
|
}
|
|
36326
36341
|
}))));
|
|
36327
36342
|
}
|
|
36328
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36343
|
+
}), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36329
36344
|
"class": ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer '
|
|
36330
36345
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36331
36346
|
"class": "row m-0 w-100"
|
|
@@ -36879,7 +36894,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
36879
36894
|
function ownKeys$1w(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
36880
36895
|
function _objectSpread$1w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1w(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
36881
36896
|
var Footer1 = function Footer1(props) {
|
|
36882
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$
|
|
36897
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i12, _authdetailsContext$i13;
|
|
36883
36898
|
var _useState = React.useState(''),
|
|
36884
36899
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
36885
36900
|
sectionproperties = _useState2[0],
|
|
@@ -36959,8 +36974,7 @@ var Footer1 = function Footer1(props) {
|
|
|
36959
36974
|
}),
|
|
36960
36975
|
facebook_btn: glamor.css({
|
|
36961
36976
|
cursor: 'pointer',
|
|
36962
|
-
|
|
36963
|
-
background: sectionproperties.facebkbtnn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColor,
|
|
36977
|
+
background: sectionproperties.facebkbtnnbgColor,
|
|
36964
36978
|
width: sectionproperties.facebkbtnnWidth + 'px',
|
|
36965
36979
|
height: sectionproperties.facebkbtnnHeight + 'px',
|
|
36966
36980
|
borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
|
|
@@ -36968,14 +36982,14 @@ var Footer1 = function Footer1(props) {
|
|
|
36968
36982
|
border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
|
|
36969
36983
|
transition: '.3s',
|
|
36970
36984
|
':hover': {
|
|
36971
|
-
background: sectionproperties.
|
|
36985
|
+
background: sectionproperties.facebkbtnnbgColoronhover,
|
|
36972
36986
|
color: sectionproperties.facebkbtnnTextcoloronhover,
|
|
36973
|
-
borderColor: sectionproperties.
|
|
36987
|
+
borderColor: sectionproperties.facebkbtnnTextcoloronhover
|
|
36974
36988
|
}
|
|
36975
36989
|
}),
|
|
36976
36990
|
youtube_btn: glamor.css({
|
|
36977
36991
|
cursor: 'pointer',
|
|
36978
|
-
background: sectionproperties.
|
|
36992
|
+
background: sectionproperties.youtubebtnbgColor,
|
|
36979
36993
|
width: sectionproperties.youtubebtnWidth + 'px',
|
|
36980
36994
|
height: sectionproperties.youtubebtnHeight + 'px',
|
|
36981
36995
|
borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
|
|
@@ -36983,14 +36997,14 @@ var Footer1 = function Footer1(props) {
|
|
|
36983
36997
|
border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
|
|
36984
36998
|
transition: '.3s',
|
|
36985
36999
|
':hover': {
|
|
36986
|
-
background: sectionproperties.
|
|
37000
|
+
background: sectionproperties.youtubebtnbgColoronhover,
|
|
36987
37001
|
color: sectionproperties.youtubebtnTextcoloronhover,
|
|
36988
|
-
borderColor: sectionproperties.
|
|
37002
|
+
borderColor: sectionproperties.youtubebtnTextcoloronhover
|
|
36989
37003
|
}
|
|
36990
37004
|
}),
|
|
36991
37005
|
instgram_btn: glamor.css({
|
|
36992
37006
|
cursor: 'pointer',
|
|
36993
|
-
background: sectionproperties.
|
|
37007
|
+
background: sectionproperties.instgrambtnbgColor,
|
|
36994
37008
|
width: sectionproperties.instgrambtnWidth + 'px',
|
|
36995
37009
|
height: sectionproperties.instgrambtnHeight + 'px',
|
|
36996
37010
|
borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
|
|
@@ -36998,9 +37012,9 @@ var Footer1 = function Footer1(props) {
|
|
|
36998
37012
|
border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
|
|
36999
37013
|
transition: '.3s',
|
|
37000
37014
|
':hover': {
|
|
37001
|
-
background: sectionproperties.
|
|
37015
|
+
background: sectionproperties.instgrambtnbgColoronhover,
|
|
37002
37016
|
color: sectionproperties.instgrambtnTextcoloronhover,
|
|
37003
|
-
borderColor: sectionproperties.
|
|
37017
|
+
borderColor: sectionproperties.instgrambtnTextcoloronhover
|
|
37004
37018
|
}
|
|
37005
37019
|
}),
|
|
37006
37020
|
footersubtitlestyles: glamor.css({
|
|
@@ -37029,11 +37043,45 @@ var Footer1 = function Footer1(props) {
|
|
|
37029
37043
|
height: sectionproperties.vl_height + 'px',
|
|
37030
37044
|
width: sectionproperties.vl_width + '%',
|
|
37031
37045
|
overflow: 'hidden',
|
|
37032
|
-
marginLeft: sectionproperties.vl_ml + 'px',
|
|
37033
|
-
marginRight: sectionproperties.vl_mr + 'px',
|
|
37034
37046
|
background: sectionproperties.vl_bg
|
|
37047
|
+
}),
|
|
37048
|
+
apptore: glamor.css({
|
|
37049
|
+
maxWidth: '10%',
|
|
37050
|
+
height: 'auto',
|
|
37051
|
+
objectFit: 'contain',
|
|
37052
|
+
'@media (max-width: 800px)': {
|
|
37053
|
+
maxWidth: '20%',
|
|
37054
|
+
height: 'auto'
|
|
37055
|
+
},
|
|
37056
|
+
'@media (max-width: 600px)': {
|
|
37057
|
+
maxWidth: '35%',
|
|
37058
|
+
height: 'auto'
|
|
37059
|
+
}
|
|
37060
|
+
}),
|
|
37061
|
+
playstore: glamor.css({
|
|
37062
|
+
maxWidth: '10%',
|
|
37063
|
+
height: 'auto',
|
|
37064
|
+
objectFit: 'contain',
|
|
37065
|
+
'@media (max-width: 800px)': {
|
|
37066
|
+
maxWidth: '20%',
|
|
37067
|
+
height: 'auto'
|
|
37068
|
+
},
|
|
37069
|
+
'@media (max-width: 600px)': {
|
|
37070
|
+
maxWidth: '35%',
|
|
37071
|
+
height: 'auto'
|
|
37072
|
+
}
|
|
37035
37073
|
})
|
|
37036
37074
|
};
|
|
37075
|
+
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
37076
|
+
var _authdetailsContext$i;
|
|
37077
|
+
var policyobj = {};
|
|
37078
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instpolicies) === null || _authdetailsContext$i === void 0 || _authdetailsContext$i.forEach(function (item, index) {
|
|
37079
|
+
if (item.policytype == policytype) {
|
|
37080
|
+
policyobj = item;
|
|
37081
|
+
}
|
|
37082
|
+
});
|
|
37083
|
+
return policyobj;
|
|
37084
|
+
};
|
|
37037
37085
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37038
37086
|
"class": "row m-0 w-100 d-flex justify-content-center"
|
|
37039
37087
|
}, /*#__PURE__*/React__default["default"].createElement("footer", {
|
|
@@ -37054,16 +37102,7 @@ var Footer1 = function Footer1(props) {
|
|
|
37054
37102
|
objectFit: 'contain'
|
|
37055
37103
|
},
|
|
37056
37104
|
loading: "lazy"
|
|
37057
|
-
})),
|
|
37058
|
-
"class": "mb-0 p-0",
|
|
37059
|
-
style: {
|
|
37060
|
-
color: sectionproperties.titlecolor,
|
|
37061
|
-
textTransform: sectionproperties.titletexttransform,
|
|
37062
|
-
fontWeight: sectionproperties.titlefontweight,
|
|
37063
|
-
fontSize: sectionproperties.titlefontsize + 'px',
|
|
37064
|
-
marginLeft: sectionproperties.titlemarginleft + 'px'
|
|
37065
|
-
}
|
|
37066
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.storename_en)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37105
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37067
37106
|
"class": "col-lg-12 d-none d-md-block align-items-center justify-content-start justify-content-md-center"
|
|
37068
37107
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37069
37108
|
"class": "".concat(footerStyles.footerlogo) + ' d-flex align-items-center justify-content-center col-lg-12 w-100 '
|
|
@@ -37077,18 +37116,7 @@ var Footer1 = function Footer1(props) {
|
|
|
37077
37116
|
objectFit: 'contain'
|
|
37078
37117
|
},
|
|
37079
37118
|
loading: "lazy"
|
|
37080
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37081
|
-
"class": ' w-100 d-flex align-items-center justify-content-center col-lg-12 '
|
|
37082
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37083
|
-
"class": "mb-0 p-0",
|
|
37084
|
-
style: {
|
|
37085
|
-
color: sectionproperties.titlecolor,
|
|
37086
|
-
textTransform: sectionproperties.titletexttransform,
|
|
37087
|
-
fontWeight: sectionproperties.titlefontweight,
|
|
37088
|
-
fontSize: sectionproperties.titlefontsize + 'px',
|
|
37089
|
-
marginLeft: sectionproperties.titlemarginleft + 'px'
|
|
37090
|
-
}
|
|
37091
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.storename_en))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37119
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37092
37120
|
"class": "row m-0 w-100"
|
|
37093
37121
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37094
37122
|
"class": "col-lg-7 col-sm-12"
|
|
@@ -37097,7 +37125,6 @@ var Footer1 = function Footer1(props) {
|
|
|
37097
37125
|
}, sectionproperties.showhidemainpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37098
37126
|
"class": "col-lg-10 col-md-12 d-flex d-md-none flex-row align-items-center justify-content-start mt-3 p-0"
|
|
37099
37127
|
}, templatepropcontext === null || templatepropcontext === void 0 ? void 0 : templatepropcontext.pagesnprop.map(function (item, index) {
|
|
37100
|
-
if (item.isselected) ;
|
|
37101
37128
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
37102
37129
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37103
37130
|
onClick: function onClick() {
|
|
@@ -37110,7 +37137,6 @@ var Footer1 = function Footer1(props) {
|
|
|
37110
37137
|
})), sectionproperties.showhidemainpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37111
37138
|
"class": "d-none d-md-block align-items-center justify-content-center mt-3 p-0 row m-0 w-100"
|
|
37112
37139
|
}, templatepropcontext === null || templatepropcontext === void 0 ? void 0 : templatepropcontext.pagesnprop.map(function (item, index) {
|
|
37113
|
-
if (item.isselected) ;
|
|
37114
37140
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
37115
37141
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37116
37142
|
"class": "col-lg-12 p-0 d-flex justify-content-center"
|
|
@@ -37123,31 +37149,59 @@ var Footer1 = function Footer1(props) {
|
|
|
37123
37149
|
}, langdetect == 'en' ? item.pagename : item.pagename_ar, " ")));
|
|
37124
37150
|
}
|
|
37125
37151
|
})), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37126
|
-
"class": "d-none d-md-block align-items-center justify-content-
|
|
37152
|
+
"class": "d-none d-md-block align-items-center justify-content-start mt-3 p-0 row m-0 w-100"
|
|
37127
37153
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37128
37154
|
"class": "row m-0 w-100"
|
|
37129
37155
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37130
|
-
"class": "col-lg-12 d-flex justify-content-
|
|
37156
|
+
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
37131
37157
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37132
37158
|
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37133
37159
|
onClick: function onClick() {
|
|
37134
37160
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
37135
37161
|
}
|
|
37136
37162
|
}, lang.wishlist)), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37137
|
-
"class": "col-lg-12 d-flex justify-content-
|
|
37163
|
+
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
37138
37164
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37139
37165
|
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37140
37166
|
onClick: function onClick() {
|
|
37141
37167
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
37142
37168
|
}
|
|
37143
|
-
}, lang.orderhistory)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37144
|
-
"class": "col-lg-12 d-flex justify-content-
|
|
37169
|
+
}, lang.orderhistory)), sectionproperties.separatepolicies == 'No' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37170
|
+
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
37145
37171
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37146
37172
|
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37147
37173
|
onClick: function onClick() {
|
|
37148
37174
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
37149
37175
|
}
|
|
37150
|
-
}, lang.policies))
|
|
37176
|
+
}, lang.policies)), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37177
|
+
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
37178
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37179
|
+
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37180
|
+
onClick: function onClick() {
|
|
37181
|
+
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
37182
|
+
}
|
|
37183
|
+
}, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar)), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37184
|
+
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
37185
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37186
|
+
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37187
|
+
onClick: function onClick() {
|
|
37188
|
+
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
37189
|
+
}
|
|
37190
|
+
}, langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar)), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37191
|
+
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
37192
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37193
|
+
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37194
|
+
onClick: function onClick() {
|
|
37195
|
+
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
37196
|
+
}
|
|
37197
|
+
}, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar)), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37198
|
+
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
37199
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37200
|
+
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37201
|
+
onClick: function onClick() {
|
|
37202
|
+
routingcountext(StaticPagesLinksContext.TermsConditions);
|
|
37203
|
+
}
|
|
37204
|
+
}, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar)))), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37151
37205
|
"class": "col-lg-10 d-flex d-md-none flex-row align-items-center justify-content-start mt-3 p-0"
|
|
37152
37206
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37153
37207
|
"class": langdetect == 'en' ? "".concat(footerStyles.footersubtitlestyles) + ' ml-0 ' : "".concat(footerStyles.footersubtitlestyles) + ' mr-0 ',
|
|
@@ -37159,33 +37213,53 @@ var Footer1 = function Footer1(props) {
|
|
|
37159
37213
|
onClick: function onClick() {
|
|
37160
37214
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
37161
37215
|
}
|
|
37162
|
-
}, lang.orderhistory), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37216
|
+
}, lang.orderhistory), sectionproperties.separatepolicies == 'No' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37163
37217
|
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37164
37218
|
onClick: function onClick() {
|
|
37165
37219
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
37166
37220
|
}
|
|
37167
|
-
}, lang.policies)
|
|
37221
|
+
}, lang.policies), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37222
|
+
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37223
|
+
onClick: function onClick() {
|
|
37224
|
+
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
37225
|
+
}
|
|
37226
|
+
}, langdetect == 'en' ? (_returnpolicyobj9 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj9 === void 0 ? void 0 : _returnpolicyobj9.policypagename_en : (_returnpolicyobj10 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj10 === void 0 ? void 0 : _returnpolicyobj10.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37227
|
+
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37228
|
+
onClick: function onClick() {
|
|
37229
|
+
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
37230
|
+
}
|
|
37231
|
+
}, langdetect == 'en' ? (_returnpolicyobj11 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj11 === void 0 ? void 0 : _returnpolicyobj11.policypagename_en : (_returnpolicyobj12 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj12 === void 0 ? void 0 : _returnpolicyobj12.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37232
|
+
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37233
|
+
onClick: function onClick() {
|
|
37234
|
+
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
37235
|
+
}
|
|
37236
|
+
}, langdetect == 'en' ? (_returnpolicyobj13 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj13 === void 0 ? void 0 : _returnpolicyobj13.policypagename_en : (_returnpolicyobj14 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj14 === void 0 ? void 0 : _returnpolicyobj14.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37237
|
+
"class": "".concat(footerStyles.footersubtitlestyles),
|
|
37238
|
+
onClick: function onClick() {
|
|
37239
|
+
routingcountext(StaticPagesLinksContext.TermsConditions);
|
|
37240
|
+
}
|
|
37241
|
+
}, langdetect == 'en' ? (_returnpolicyobj15 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj15 === void 0 ? void 0 : _returnpolicyobj15.policypagename_en : (_returnpolicyobj16 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj16 === void 0 ? void 0 : _returnpolicyobj16.policypagename_ar)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37168
37242
|
"class": "col-lg-5 col-sm-12 mb-sm-2 d-flex justify-content-end"
|
|
37169
37243
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37170
|
-
"class": " col-lg-12 d-flex flex-row align-items-center justify-content-end "
|
|
37244
|
+
"class": " col-lg-12 d-flex flex-row align-items-center justify-content-end justify-content-md-start p-md-0"
|
|
37171
37245
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37172
37246
|
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
|
|
37173
37247
|
onClick: function onClick() {
|
|
37174
|
-
var _authdetailsContext$
|
|
37175
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
37176
|
-
var _authdetailsContext$
|
|
37177
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
37248
|
+
var _authdetailsContext$i3;
|
|
37249
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
|
|
37250
|
+
var _authdetailsContext$i4;
|
|
37251
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
|
|
37178
37252
|
}
|
|
37179
37253
|
}
|
|
37180
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
37254
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaFacebook.FaFacebook, {
|
|
37181
37255
|
size: sectionproperties.facebkbtnniconfontsize
|
|
37182
37256
|
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37183
37257
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
37184
37258
|
onClick: function onClick() {
|
|
37185
|
-
var _authdetailsContext$
|
|
37186
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
37187
|
-
var _authdetailsContext$
|
|
37188
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
37259
|
+
var _authdetailsContext$i5;
|
|
37260
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
|
|
37261
|
+
var _authdetailsContext$i6;
|
|
37262
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
|
|
37189
37263
|
}
|
|
37190
37264
|
}
|
|
37191
37265
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
@@ -37193,10 +37267,10 @@ var Footer1 = function Footer1(props) {
|
|
|
37193
37267
|
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37194
37268
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
37195
37269
|
onClick: function onClick() {
|
|
37196
|
-
var _authdetailsContext$
|
|
37197
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
37198
|
-
var _authdetailsContext$
|
|
37199
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
37270
|
+
var _authdetailsContext$i7;
|
|
37271
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber) != null) {
|
|
37272
|
+
var _authdetailsContext$i8;
|
|
37273
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber), '_blank');
|
|
37200
37274
|
}
|
|
37201
37275
|
}
|
|
37202
37276
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
@@ -37204,7 +37278,23 @@ var Footer1 = function Footer1(props) {
|
|
|
37204
37278
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37205
37279
|
"class": "col-lg-12 d-flex justify-content-center mt-md-3 mb-md-3"
|
|
37206
37280
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37207
|
-
"class": "".concat(footerStyles.vl) + ' ml-sm-0 mr-sm-0 '
|
|
37281
|
+
"class": "".concat(footerStyles.vl) + ' ml-sm-0 mr-sm-0 my-2 '
|
|
37282
|
+
})), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37283
|
+
"class": 'col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center mt-3 mb-1 mb-sm-3'
|
|
37284
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
37285
|
+
"class": "".concat(footerStyles.apptore) + ' cursor-pointer mx-2 ',
|
|
37286
|
+
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
37287
|
+
onClick: function onClick() {
|
|
37288
|
+
var _authdetailsContext$i9;
|
|
37289
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.mobileapplink_appstore, '_blank');
|
|
37290
|
+
}
|
|
37291
|
+
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
37292
|
+
"class": "".concat(footerStyles.playstore) + ' cursor-pointer mx-2 ',
|
|
37293
|
+
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
37294
|
+
onClick: function onClick() {
|
|
37295
|
+
var _authdetailsContext$i10;
|
|
37296
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.mobileapplink_playstore, '_blank');
|
|
37297
|
+
}
|
|
37208
37298
|
})), sectionproperties.showcontactinfo == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37209
37299
|
"class": "col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0"
|
|
37210
37300
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -37220,12 +37310,12 @@ var Footer1 = function Footer1(props) {
|
|
|
37220
37310
|
textTransform: sectionproperties.footerinfotext_textTransform
|
|
37221
37311
|
},
|
|
37222
37312
|
onClick: function onClick() {
|
|
37223
|
-
var _authdetailsContext$
|
|
37224
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
37313
|
+
var _authdetailsContext$i11;
|
|
37314
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 || (_authdetailsContext$i11 = _authdetailsContext$i11.contactinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.email), '_self');
|
|
37225
37315
|
}
|
|
37226
37316
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
37227
37317
|
"class": ' fa fa-at mr-2 text-transform-none ml-2 '
|
|
37228
|
-
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
37318
|
+
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 || (_authdetailsContext$i12 = _authdetailsContext$i12.contactinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.email)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37229
37319
|
"class": "col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0"
|
|
37230
37320
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37231
37321
|
"class": "".concat(footerStyles.footerinfotext) + ' d-flex align-items-center justify-content-md-center mr-1 ',
|
|
@@ -37254,7 +37344,7 @@ var Footer1 = function Footer1(props) {
|
|
|
37254
37344
|
"class": ' h-100 d-flex align-items-center justify-content-center mr-2 ml-2 '
|
|
37255
37345
|
}, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
|
|
37256
37346
|
size: sectionproperties.footerinfoicon_fontsize
|
|
37257
|
-
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
37347
|
+
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.address_en)))))));
|
|
37258
37348
|
};
|
|
37259
37349
|
|
|
37260
37350
|
function ownKeys$1v(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -64874,7 +64964,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
64874
64964
|
productcardimagecont: glamor.css({
|
|
64875
64965
|
position: 'relative',
|
|
64876
64966
|
overflow: 'hidden',
|
|
64877
|
-
height: sectionproperties.image_height + 'px',
|
|
64967
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
64878
64968
|
background: sectionproperties.image_bgtransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
|
|
64879
64969
|
// border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
64880
64970
|
border: sectionproperties.image_borderType == 'All' ? sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor : 0,
|
|
@@ -64886,7 +64976,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
64886
64976
|
transition: '.3s',
|
|
64887
64977
|
opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1,
|
|
64888
64978
|
'@media (max-width: 800px)': {
|
|
64889
|
-
height: sectionproperties.height_responsive != null ? sectionproperties.height_responsive + 'px' : sectionproperties.image_height + 'px'
|
|
64979
|
+
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive != null ? sectionproperties.height_responsive + 'px' : sectionproperties.image_height + 'px'
|
|
64890
64980
|
}
|
|
64891
64981
|
}),
|
|
64892
64982
|
productNameStyles: glamor.css({
|
|
@@ -65062,26 +65152,33 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
65062
65152
|
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
65063
65153
|
}
|
|
65064
65154
|
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
65065
|
-
"class":
|
|
65155
|
+
"class": sectionproperties.pillwidth == 0 ? ' px-2 allcentered' : 'allcentered',
|
|
65066
65156
|
style: {
|
|
65067
65157
|
zIndex: 2,
|
|
65068
65158
|
position: 'absolute',
|
|
65069
65159
|
top: sectionproperties.pillpositionfromtop + 'px',
|
|
65070
65160
|
left: langdetect == 'en' ? sectionproperties.pillpositionfromright + 'px' : '',
|
|
65071
65161
|
right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px',
|
|
65072
|
-
width: sectionproperties.pillwidth + 'px',
|
|
65162
|
+
width: sectionproperties.pillwidth == 0 ? 'auto' : sectionproperties.pillwidth + 'px',
|
|
65073
65163
|
height: sectionproperties.pillheight + 'px',
|
|
65074
65164
|
background: sectionproperties.pillbgcolor,
|
|
65075
65165
|
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
65076
65166
|
}
|
|
65077
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
65167
|
+
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
65168
|
+
"class": "m-0 p-0",
|
|
65169
|
+
style: {
|
|
65170
|
+
color: sectionproperties.pillcolor,
|
|
65171
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
65172
|
+
direction: 'ltr'
|
|
65173
|
+
}
|
|
65174
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
65078
65175
|
"class": "m-0 p-0 text-uppercase",
|
|
65079
65176
|
style: {
|
|
65080
65177
|
color: sectionproperties.pillcolor,
|
|
65081
65178
|
fontSize: sectionproperties.pillfontSize + 'px',
|
|
65082
65179
|
direction: 'ltr'
|
|
65083
65180
|
}
|
|
65084
|
-
}, '
|
|
65181
|
+
}, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
65085
65182
|
onClick: function onClick() {
|
|
65086
65183
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
|
|
65087
65184
|
// setShowProductInfoModalContext(true);
|
|
@@ -65146,8 +65243,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
65146
65243
|
"class": " d-flex flex-row col-lg-12 mx-0 p-0 align-items-center ",
|
|
65147
65244
|
style: {
|
|
65148
65245
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
65149
|
-
marginTop: sectionproperties.
|
|
65150
|
-
marginBottom: sectionproperties.
|
|
65246
|
+
marginTop: sectionproperties.productpricemarginTop + 'px',
|
|
65247
|
+
marginBottom: sectionproperties.productpricemarginBottom + 'px'
|
|
65151
65248
|
}
|
|
65152
65249
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
65153
65250
|
"class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center p-0 mb-0 flex-sm-column ' : ' d-flex align-items-center p-0 mb-0 ',
|