tabexseriescomponents 0.0.387 → 0.0.389
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 +342 -60
- package/dist/index.esm.js +342 -60
- package/dist/index.umd.js +342 -60
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2396,7 +2396,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2396
2396
|
minHeight: sectionproperties.height + 'vh'
|
|
2397
2397
|
}
|
|
2398
2398
|
}, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2399
|
-
"class": "w-100 scrollhorizontalwithscrollbar"
|
|
2399
|
+
"class": "w-100 scrollhorizontalwithscrollbar scrollhorizontalwithscrollbarremove"
|
|
2400
2400
|
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productimages) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.productimages.map(function (item, index) {
|
|
2401
2401
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2402
2402
|
"class": ' scrollhorizontalcard mx-2 ',
|
|
@@ -2692,7 +2692,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2692
2692
|
actions: props.actions
|
|
2693
2693
|
}), sectionproperties.showextrafield == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductExtraFields, {
|
|
2694
2694
|
actions: props.actions
|
|
2695
|
-
}), sectionproperties.gallerystyle == 'Style 2' && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2695
|
+
}), sectionproperties.gallerystyle == 'Style 2' && sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition != 'Top' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2696
2696
|
actions: props.actions
|
|
2697
2697
|
}), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2698
2698
|
className: "col-lg-12 p-0 mb-3"
|
|
@@ -2734,7 +2734,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2734
2734
|
flexDirection: 'row',
|
|
2735
2735
|
direction: 'ltr'
|
|
2736
2736
|
}
|
|
2737
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2737
|
+
}, sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2738
2738
|
className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
2739
2739
|
onClick: function onClick() {
|
|
2740
2740
|
var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
|
|
@@ -2750,9 +2750,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2750
2750
|
}
|
|
2751
2751
|
}, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
2752
2752
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
2753
|
-
}))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2753
|
+
}))), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2754
2754
|
className: "".concat(productinfo_cssstyles.quantitybtn_text)
|
|
2755
|
-
}, addtocardpayloadobj.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2755
|
+
}, addtocardpayloadobj.quantity), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2756
2756
|
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
2757
2757
|
onClick: function onClick() {
|
|
2758
2758
|
var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
|
|
@@ -2768,7 +2768,30 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2768
2768
|
}
|
|
2769
2769
|
}, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
2770
2770
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
2771
|
-
})))
|
|
2771
|
+
}))), sectionproperties.quantitybtneditable == 'Yes' && /*#__PURE__*/React__default["default"].createElement("input", {
|
|
2772
|
+
type: "number",
|
|
2773
|
+
style: {
|
|
2774
|
+
width: 100,
|
|
2775
|
+
height: 40,
|
|
2776
|
+
background: 'transparent',
|
|
2777
|
+
fontWeight: sectionproperties.quantitybtn_textfontweight,
|
|
2778
|
+
color: sectionproperties.quantitybtn_textcolor,
|
|
2779
|
+
fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
|
|
2780
|
+
textAlign: 'center'
|
|
2781
|
+
},
|
|
2782
|
+
value: addtocardpayloadobj.quantity,
|
|
2783
|
+
onChange: function onChange(event) {
|
|
2784
|
+
if (event.target.value == NaN || event.target.value == undefined || event.target.value == null || event.target.value == '') {
|
|
2785
|
+
var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
|
|
2786
|
+
tempaddtocardpayloadobj.quantity = 1;
|
|
2787
|
+
setaddtocardpayloadobj(_objectSpread$2q({}, tempaddtocardpayloadobj));
|
|
2788
|
+
} else {
|
|
2789
|
+
var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
|
|
2790
|
+
tempaddtocardpayloadobj.quantity = parseInt(event.target.value);
|
|
2791
|
+
setaddtocardpayloadobj(_objectSpread$2q({}, tempaddtocardpayloadobj));
|
|
2792
|
+
}
|
|
2793
|
+
}
|
|
2794
|
+
})), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == '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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2772
2795
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
2773
2796
|
onClick: function onClick() {
|
|
2774
2797
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
@@ -5870,7 +5893,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5870
5893
|
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.contactinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.email)))), sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5871
5894
|
"class": "row m-0 w-100"
|
|
5872
5895
|
}, sectionproperties.showfooterphonenumber == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5873
|
-
"class": "col-lg-12 allcentered mb-2"
|
|
5896
|
+
"class": "col-lg-12 allcentered mb-2 p-sm-0"
|
|
5874
5897
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
5875
5898
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
5876
5899
|
onClick: function onClick() {
|
|
@@ -5879,7 +5902,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5879
5902
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5880
5903
|
"class": "m-0 p-0"
|
|
5881
5904
|
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.contactinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5882
|
-
"class": "col-lg-12 allcentered mb-2"
|
|
5905
|
+
"class": "col-lg-12 allcentered mb-2 p-sm-0"
|
|
5883
5906
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
5884
5907
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
5885
5908
|
onClick: function onClick() {
|
|
@@ -5889,7 +5912,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5889
5912
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5890
5913
|
"class": "m-0 p-0"
|
|
5891
5914
|
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5892
|
-
"class": "col-lg-12 allcentered mb-2"
|
|
5915
|
+
"class": "col-lg-12 allcentered mb-2 p-sm-0"
|
|
5893
5916
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
5894
5917
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
5895
5918
|
onClick: function onClick() {
|
|
@@ -17416,9 +17439,13 @@ var Subheader = function Subheader(props) {
|
|
|
17416
17439
|
var _fetchCategoriesQuery;
|
|
17417
17440
|
var temppcollarray = _toConsumableArray__default["default"](pcollarray);
|
|
17418
17441
|
fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 || (_fetchCategoriesQuery = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery === void 0 || _fetchCategoriesQuery.categories.forEach(function (arrayItem) {
|
|
17419
|
-
|
|
17420
|
-
|
|
17421
|
-
|
|
17442
|
+
if (arrayItem.isshowntocustomers == 1 && arrayItem.isinftiler == 1) {
|
|
17443
|
+
arrayItem === null || arrayItem === void 0 || arrayItem.parentcolletions.forEach(function (item) {
|
|
17444
|
+
if (item.isshowntocustomers == 1 && arrayItem.isinftiler == 1) {
|
|
17445
|
+
temppcollarray.push(item);
|
|
17446
|
+
}
|
|
17447
|
+
});
|
|
17448
|
+
}
|
|
17422
17449
|
});
|
|
17423
17450
|
setpcollarray(_toConsumableArray__default["default"](temppcollarray));
|
|
17424
17451
|
}
|
|
@@ -17845,7 +17872,7 @@ var Subheader = function Subheader(props) {
|
|
|
17845
17872
|
function ownKeys$1Y(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; }
|
|
17846
17873
|
function _objectSpread$1Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17847
17874
|
var Headerresponsive = function Headerresponsive(props) {
|
|
17848
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _fetchCategoriesQuery;
|
|
17875
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _fetchCategoriesQuery, _authdetailsContext$i9;
|
|
17849
17876
|
var actions = props.actions;
|
|
17850
17877
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
17851
17878
|
var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
@@ -18617,7 +18644,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18617
18644
|
}, langdetect == 'en' ? item.pagename : item.pagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18618
18645
|
className: "col-lg-12"
|
|
18619
18646
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18620
|
-
className: "mt-
|
|
18647
|
+
className: "mt-4 mb-4",
|
|
18621
18648
|
style: {
|
|
18622
18649
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
18623
18650
|
}
|
|
@@ -18635,7 +18662,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18635
18662
|
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18636
18663
|
className: "col-lg-12"
|
|
18637
18664
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18638
|
-
className: "mt-
|
|
18665
|
+
className: "mt-4 mb-4",
|
|
18639
18666
|
style: {
|
|
18640
18667
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
18641
18668
|
}
|
|
@@ -18651,7 +18678,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18651
18678
|
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18652
18679
|
className: "col-lg-12"
|
|
18653
18680
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18654
|
-
className: "mt-
|
|
18681
|
+
className: "mt-4 mb-4",
|
|
18655
18682
|
style: {
|
|
18656
18683
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
18657
18684
|
}
|
|
@@ -18718,12 +18745,27 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18718
18745
|
backgroundColor: 'white'
|
|
18719
18746
|
},
|
|
18720
18747
|
backdrop: true
|
|
18721
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18748
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18749
|
+
"class": "allcentered",
|
|
18750
|
+
style: {
|
|
18751
|
+
position: 'absolute',
|
|
18752
|
+
right: -34,
|
|
18753
|
+
top: 5,
|
|
18754
|
+
width: 30,
|
|
18755
|
+
height: 30,
|
|
18756
|
+
background: '#000'
|
|
18757
|
+
},
|
|
18758
|
+
onClick: function onClick() {
|
|
18759
|
+
setopenCnvas(false);
|
|
18760
|
+
}
|
|
18761
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
18762
|
+
color: '#fff',
|
|
18763
|
+
size: 16
|
|
18764
|
+
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18722
18765
|
"class": "allcentered",
|
|
18723
18766
|
style: {
|
|
18724
18767
|
position: 'absolute',
|
|
18725
|
-
|
|
18726
|
-
left: langdetect == 'en' ? -34 : '',
|
|
18768
|
+
left: -34,
|
|
18727
18769
|
top: 5,
|
|
18728
18770
|
width: 30,
|
|
18729
18771
|
height: 30,
|
|
@@ -18835,7 +18877,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18835
18877
|
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18836
18878
|
className: "col-lg-12 p-0"
|
|
18837
18879
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18838
|
-
className: "mt-
|
|
18880
|
+
className: "mt-4 mb-4",
|
|
18839
18881
|
style: {
|
|
18840
18882
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
18841
18883
|
}
|
|
@@ -18851,7 +18893,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18851
18893
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
18852
18894
|
}, lang.policies)))))), activeTab == 'categories' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18853
18895
|
className: ' row m-0 w-100 accordionContainer anim'
|
|
18854
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
18896
|
+
}, sectionproperties.subheaderParentType == 'Categories' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
18855
18897
|
allowMultipleExpanded: true,
|
|
18856
18898
|
allowZeroExpanded: true
|
|
18857
18899
|
}, fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 || (_fetchCategoriesQuery = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : _fetchCategoriesQuery.categories.map(function (item, index) {
|
|
@@ -18899,7 +18941,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18899
18941
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18900
18942
|
className: "col-lg-12 p-0"
|
|
18901
18943
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18902
|
-
className: "mt-
|
|
18944
|
+
className: "mt-4 mb-4",
|
|
18903
18945
|
style: {
|
|
18904
18946
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
18905
18947
|
}
|
|
@@ -18950,7 +18992,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18950
18992
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18951
18993
|
className: "col-lg-12 p-0"
|
|
18952
18994
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18953
|
-
className: "mt-
|
|
18995
|
+
className: "mt-4 mb-4",
|
|
18954
18996
|
style: {
|
|
18955
18997
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
18956
18998
|
}
|
|
@@ -18973,7 +19015,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18973
19015
|
}, langdetect == 'en' ? collitem.title_en : collitem.title_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18974
19016
|
className: "col-lg-12 p-0"
|
|
18975
19017
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18976
|
-
className: "mt-
|
|
19018
|
+
className: "mt-4 mb-4",
|
|
18977
19019
|
style: {
|
|
18978
19020
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
18979
19021
|
}
|
|
@@ -18983,6 +19025,27 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18983
19025
|
}
|
|
18984
19026
|
}))))));
|
|
18985
19027
|
}
|
|
19028
|
+
})), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.instcollections) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.map(function (collitem, collindex) {
|
|
19029
|
+
if (collitem.isshowntocustomers == 1) {
|
|
19030
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19031
|
+
className: ' row m-0 p-0 mb-2 w-100 '
|
|
19032
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19033
|
+
className: "col-12 p-0 text-start px-3",
|
|
19034
|
+
onClick: function onClick() {
|
|
19035
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
19036
|
+
setopenCnvas(false);
|
|
19037
|
+
}
|
|
19038
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19039
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
19040
|
+
}, langdetect == 'en' ? collitem.title_en : collitem.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19041
|
+
className: "col-lg-12 p-0"
|
|
19042
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
19043
|
+
className: "mt-4 mb-4",
|
|
19044
|
+
style: {
|
|
19045
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
19046
|
+
}
|
|
19047
|
+
})));
|
|
19048
|
+
}
|
|
18986
19049
|
})))))));
|
|
18987
19050
|
};
|
|
18988
19051
|
|
|
@@ -19176,7 +19239,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
19176
19239
|
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; }
|
|
19177
19240
|
function _objectSpread$1V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1V(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19178
19241
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
19179
|
-
var _css, _logoarrayofobjects$, _logoarrayofobjects$2;
|
|
19242
|
+
var _css, _logoarrayofobjects$, _logoarrayofobjects$2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8;
|
|
19180
19243
|
var actions = props.actions;
|
|
19181
19244
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
19182
19245
|
var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
@@ -19184,7 +19247,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19184
19247
|
props.actions.StatePagePropertiesContext;
|
|
19185
19248
|
var lang = props.actions.lang;
|
|
19186
19249
|
var langdetect = props.actions.langdetect;
|
|
19187
|
-
props.actions.setlang;
|
|
19250
|
+
var setlang = props.actions.setlang;
|
|
19188
19251
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
19189
19252
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
19190
19253
|
var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
@@ -19225,9 +19288,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19225
19288
|
_useState12[0];
|
|
19226
19289
|
_useState12[1];
|
|
19227
19290
|
var _useState13 = React.useState(''),
|
|
19228
|
-
_useState14 = _slicedToArray__default["default"](_useState13, 2)
|
|
19229
|
-
_useState14[0]
|
|
19230
|
-
_useState14[1];
|
|
19291
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
19292
|
+
activeTab = _useState14[0],
|
|
19293
|
+
setactiveTab = _useState14[1];
|
|
19231
19294
|
React.useEffect(function () {
|
|
19232
19295
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
19233
19296
|
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
@@ -19235,6 +19298,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19235
19298
|
setlogoarrayofobjects(_toConsumableArray__default["default"](logoarrayofobjectsparsed));
|
|
19236
19299
|
}
|
|
19237
19300
|
}
|
|
19301
|
+
// alert(JSON.stringify(templateproperties_context));
|
|
19238
19302
|
}, [templateproperties_context]);
|
|
19239
19303
|
var header_cssstyles = {
|
|
19240
19304
|
header_logo: glamor.css({
|
|
@@ -19400,15 +19464,25 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19400
19464
|
}
|
|
19401
19465
|
})
|
|
19402
19466
|
};
|
|
19467
|
+
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
19468
|
+
var _authdetailsContext$i;
|
|
19469
|
+
var policyobj = {};
|
|
19470
|
+
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) {
|
|
19471
|
+
if (item.policytype == policytype) {
|
|
19472
|
+
policyobj = item;
|
|
19473
|
+
}
|
|
19474
|
+
});
|
|
19475
|
+
return policyobj;
|
|
19476
|
+
};
|
|
19403
19477
|
var CartButton = function CartButton() {
|
|
19404
19478
|
var _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
19405
19479
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19406
|
-
"class": "d-flex align-items-center
|
|
19480
|
+
"class": "d-flex align-items-center",
|
|
19407
19481
|
style: {
|
|
19408
19482
|
position: 'relative'
|
|
19409
19483
|
}
|
|
19410
19484
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
19411
|
-
className: "".concat(header_cssstyles.addtocartbtn_resp) + ' d-flex align-items-center justify-content-center
|
|
19485
|
+
className: "".concat(header_cssstyles.addtocartbtn_resp) + ' d-flex align-items-center justify-content-center p-0 ',
|
|
19412
19486
|
onClick: function onClick() {
|
|
19413
19487
|
var _fetchcustomercartQue;
|
|
19414
19488
|
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.customercart) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.cartitems) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.length) > 7) {
|
|
@@ -19529,7 +19603,46 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19529
19603
|
zIndex: 10000,
|
|
19530
19604
|
overflow: 'scroll'
|
|
19531
19605
|
}
|
|
19606
|
+
}, sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19607
|
+
className: "row m-0 w-100 mb-5",
|
|
19608
|
+
style: {
|
|
19609
|
+
borderBottom: '1px solid #eee'
|
|
19610
|
+
}
|
|
19532
19611
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19612
|
+
className: 'col-6 allcentered py-3',
|
|
19613
|
+
onClick: function onClick() {
|
|
19614
|
+
setactiveTab('menu');
|
|
19615
|
+
},
|
|
19616
|
+
style: {
|
|
19617
|
+
background: activeTab == 'menu' ? 'white' : '#eee'
|
|
19618
|
+
}
|
|
19619
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19620
|
+
className: "m-0 p-0",
|
|
19621
|
+
style: {
|
|
19622
|
+
textTransform: 'uppercase',
|
|
19623
|
+
fontWeight: 500,
|
|
19624
|
+
fontSize: '15px',
|
|
19625
|
+
transition: '.3s',
|
|
19626
|
+
color: '#000'
|
|
19627
|
+
}
|
|
19628
|
+
}, langdetect == 'en' ? 'MENU' : 'القائمة')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19629
|
+
className: 'col-6 allcentered py-3',
|
|
19630
|
+
onClick: function onClick() {
|
|
19631
|
+
setactiveTab('categories');
|
|
19632
|
+
},
|
|
19633
|
+
style: {
|
|
19634
|
+
background: activeTab == 'categories' ? 'white' : '#eee'
|
|
19635
|
+
}
|
|
19636
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19637
|
+
className: "m-0 p-0",
|
|
19638
|
+
style: {
|
|
19639
|
+
textTransform: 'uppercase',
|
|
19640
|
+
fontWeight: 500,
|
|
19641
|
+
fontSize: '15px',
|
|
19642
|
+
transition: '.3s',
|
|
19643
|
+
color: '#000'
|
|
19644
|
+
}
|
|
19645
|
+
}, langdetect == 'en' ? 'SHOP' : 'تسوق'))), sectionproperties.responsiveheaderstyle != 'Style 2 With Subheader' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19533
19646
|
"class": "col-lg-12 text-end anim"
|
|
19534
19647
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
19535
19648
|
"class": ' h-100 allcentered ',
|
|
@@ -19571,7 +19684,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19571
19684
|
}
|
|
19572
19685
|
})));
|
|
19573
19686
|
}
|
|
19574
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19687
|
+
}), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19575
19688
|
className: "row m-0 w-100 anim"
|
|
19576
19689
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19577
19690
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
@@ -19589,7 +19702,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19589
19702
|
style: {
|
|
19590
19703
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
19591
19704
|
}
|
|
19592
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19705
|
+
}))), templateproperties_context.separatepolicies == 'No' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19593
19706
|
className: "row m-0 w-100 anim"
|
|
19594
19707
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19595
19708
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
@@ -19600,7 +19713,79 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19600
19713
|
}
|
|
19601
19714
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19602
19715
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
19603
|
-
}, lang.policies))),
|
|
19716
|
+
}, lang.policies))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19717
|
+
className: "col-lg-12 p-0"
|
|
19718
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
19719
|
+
className: "mt-3 mb-3",
|
|
19720
|
+
style: {
|
|
19721
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
19722
|
+
}
|
|
19723
|
+
}))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19724
|
+
className: "row m-0 w-100 anim"
|
|
19725
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19726
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
19727
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19728
|
+
onClick: function onClick() {
|
|
19729
|
+
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
19730
|
+
setmenuactive(false);
|
|
19731
|
+
}
|
|
19732
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19733
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
19734
|
+
}, 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))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19735
|
+
className: "col-lg-12 p-0"
|
|
19736
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
19737
|
+
className: "mt-3 mb-3",
|
|
19738
|
+
style: {
|
|
19739
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
19740
|
+
}
|
|
19741
|
+
}))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19742
|
+
className: "row m-0 w-100 anim"
|
|
19743
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19744
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
19745
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19746
|
+
onClick: function onClick() {
|
|
19747
|
+
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
19748
|
+
setmenuactive(false);
|
|
19749
|
+
}
|
|
19750
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19751
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
19752
|
+
}, 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))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19753
|
+
className: "col-lg-12 p-0"
|
|
19754
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
19755
|
+
className: "mt-3 mb-3",
|
|
19756
|
+
style: {
|
|
19757
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
19758
|
+
}
|
|
19759
|
+
}))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19760
|
+
className: "row m-0 w-100 anim"
|
|
19761
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19762
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
19763
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19764
|
+
onClick: function onClick() {
|
|
19765
|
+
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
19766
|
+
setmenuactive(false);
|
|
19767
|
+
}
|
|
19768
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19769
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
19770
|
+
}, 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))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19771
|
+
className: "col-lg-12 p-0"
|
|
19772
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
19773
|
+
className: "mt-3 mb-3",
|
|
19774
|
+
style: {
|
|
19775
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
19776
|
+
}
|
|
19777
|
+
}))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19778
|
+
className: "row m-0 w-100 anim"
|
|
19779
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19780
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
19781
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19782
|
+
onClick: function onClick() {
|
|
19783
|
+
routingcountext(StaticPagesLinksContext.TermsConditions);
|
|
19784
|
+
setmenuactive(false);
|
|
19785
|
+
}
|
|
19786
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19787
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
19788
|
+
}, 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))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19604
19789
|
className: "col-lg-12 p-0"
|
|
19605
19790
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
19606
19791
|
className: "mt-3 mb-3",
|
|
@@ -19618,7 +19803,60 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19618
19803
|
}
|
|
19619
19804
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19620
19805
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
19621
|
-
}, langdetect == 'en' ?
|
|
19806
|
+
}, langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19807
|
+
className: "col-lg-12 p-0"
|
|
19808
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
19809
|
+
className: "mt-3 mb-3",
|
|
19810
|
+
style: {
|
|
19811
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
19812
|
+
}
|
|
19813
|
+
}))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19814
|
+
className: "row m-0 w-100 anim"
|
|
19815
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19816
|
+
"class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',
|
|
19817
|
+
style: {}
|
|
19818
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19819
|
+
"class": "".concat(header_cssstyles.navbar_item_text_responsive) + ' m-0 p-0 ',
|
|
19820
|
+
style: {
|
|
19821
|
+
cursor: 'default'
|
|
19822
|
+
}
|
|
19823
|
+
}, langdetect == 'en' ? 'Language' : 'اللغة')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19824
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start my-1"
|
|
19825
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19826
|
+
"class": "row m-0 w-100",
|
|
19827
|
+
style: {
|
|
19828
|
+
background: sectionproperties.langcontainerbgresp,
|
|
19829
|
+
borderRadius: 5
|
|
19830
|
+
}
|
|
19831
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19832
|
+
"class": header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',
|
|
19833
|
+
onClick: function onClick() {
|
|
19834
|
+
setlang('en');
|
|
19835
|
+
setmenuactive(false);
|
|
19836
|
+
}
|
|
19837
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19838
|
+
"class": "m-0 p-0 w-100 allcentered py-3",
|
|
19839
|
+
style: {
|
|
19840
|
+
background: langdetect == 'en' ? sectionproperties.langcontainerbgresp_active : 'transparent',
|
|
19841
|
+
borderRadius: 5,
|
|
19842
|
+
fontSize: 15,
|
|
19843
|
+
color: sectionproperties.language_container_color_resp
|
|
19844
|
+
}
|
|
19845
|
+
}, "English")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19846
|
+
"class": header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',
|
|
19847
|
+
onClick: function onClick() {
|
|
19848
|
+
setlang('ar');
|
|
19849
|
+
setmenuactive(false);
|
|
19850
|
+
}
|
|
19851
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19852
|
+
"class": "m-0 p-0 w-100 allcentered py-3",
|
|
19853
|
+
style: {
|
|
19854
|
+
borderRadius: 5,
|
|
19855
|
+
background: langdetect == 'ar' ? sectionproperties.langcontainerbgresp_active : 'transparent',
|
|
19856
|
+
fontSize: 15,
|
|
19857
|
+
color: sectionproperties.language_container_color_resp
|
|
19858
|
+
}
|
|
19859
|
+
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629"))))), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19622
19860
|
"class": "row m-0 w-100 mt-5"
|
|
19623
19861
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
19624
19862
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
@@ -20037,7 +20275,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
20037
20275
|
"class": header_cssstyles.textSlider + ' mb-0 p-0 '
|
|
20038
20276
|
}, langdetect == 'en' ? (_textarray$ = textarray[0]) === null || _textarray$ === void 0 ? void 0 : _textarray$.textEnglish : (_textarray$2 = textarray[0]) === null || _textarray$2 === void 0 ? void 0 : _textarray$2.textArabic))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20039
20277
|
"class": "col-lg-4 p-0 text-end"
|
|
20040
|
-
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20278
|
+
}, langdetect == 'ar' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20041
20279
|
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
|
|
20042
20280
|
onClick: function onClick() {
|
|
20043
20281
|
setlang('en');
|
|
@@ -20057,7 +20295,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
20057
20295
|
"class": "ml-2 mr-2"
|
|
20058
20296
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20059
20297
|
"class": "m-0 p-0"
|
|
20060
|
-
}, "\u0639")), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20298
|
+
}, "\u0639")), langdetect == 'en' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20061
20299
|
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
|
|
20062
20300
|
onClick: function onClick() {
|
|
20063
20301
|
setlang('ar');
|
|
@@ -20077,7 +20315,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
20077
20315
|
"class": "ml-2 mr-2"
|
|
20078
20316
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20079
20317
|
"class": "m-0 p-0"
|
|
20080
|
-
}, "En")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20318
|
+
}, "En")), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20081
20319
|
"class": "allcentered"
|
|
20082
20320
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20083
20321
|
"class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center pt-1 ',
|
|
@@ -20108,7 +20346,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
20108
20346
|
style: {
|
|
20109
20347
|
minWidth: '200px'
|
|
20110
20348
|
}
|
|
20111
|
-
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
20349
|
+
}, templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
20112
20350
|
onClick: function onClick() {
|
|
20113
20351
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
20114
20352
|
}
|
|
@@ -20116,7 +20354,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
20116
20354
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
20117
20355
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20118
20356
|
"class": ' allcenetered m-0 p-0 '
|
|
20119
|
-
}, langdetect == 'en' ?
|
|
20357
|
+
}, langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear))), templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
20120
20358
|
onClick: function onClick() {
|
|
20121
20359
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
20122
20360
|
}
|
|
@@ -20124,7 +20362,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
20124
20362
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
20125
20363
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
20126
20364
|
"class": ' allcenetered m-0 p-0 '
|
|
20127
|
-
}, langdetect == 'en' ? sectionproperties.wishlisttitle_en : sectionproperties.wishlisttitle_ar))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
20365
|
+
}, langdetect == 'en' ? sectionproperties.wishlisttitle_en : sectionproperties.wishlisttitle_ar))), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
20128
20366
|
onClick: function onClick() {
|
|
20129
20367
|
LogoutMutationContext.mutate();
|
|
20130
20368
|
}
|
|
@@ -20176,6 +20414,11 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
20176
20414
|
size: sectionproperties.searchbarcontfontsize
|
|
20177
20415
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20178
20416
|
"class": "col-xl-8 col-lg-10 p-0 allcentered flex-row"
|
|
20417
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20418
|
+
"class": ' scrollhorizontal w-100 align-items-center justify-content-center ',
|
|
20419
|
+
style: {
|
|
20420
|
+
display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex'
|
|
20421
|
+
}
|
|
20179
20422
|
}, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
20180
20423
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
20181
20424
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -20185,6 +20428,15 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
20185
20428
|
}
|
|
20186
20429
|
}, langdetect == 'en' ? item.pagename : item.pagename_ar);
|
|
20187
20430
|
}
|
|
20431
|
+
})), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && /*#__PURE__*/React__default["default"].createElement(Subheader, {
|
|
20432
|
+
sectionpropertiesprops: sectionproperties,
|
|
20433
|
+
actions: actions,
|
|
20434
|
+
subheaderpropertiesprops: {
|
|
20435
|
+
subheaderpositionprops: 'in nav',
|
|
20436
|
+
paddingLeftprops: '25px',
|
|
20437
|
+
paddingRightprops: '25px',
|
|
20438
|
+
subheadercontentpositionprops: 'center'
|
|
20439
|
+
}
|
|
20188
20440
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20189
20441
|
"class": "col-xl-2 col-lg-1 col-md-6 col-sm-12 p-0 d-flex align-items-center justify-content-end"
|
|
20190
20442
|
}, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -25345,7 +25597,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
25345
25597
|
}
|
|
25346
25598
|
}, /*#__PURE__*/React__default["default"].createElement(FiSearch.FiSearch, {
|
|
25347
25599
|
size: sectionproperties.searchbaricon_fontsize
|
|
25348
|
-
})), sectionproperties.
|
|
25600
|
+
})), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25349
25601
|
"class": langdetect == 'en' ? "".concat(header_cssstyles.wishlist_btn) + ' cursor-pointer allcentered ml-3 ' : "".concat(header_cssstyles.wishlist_btn) + ' cursor-pointer allcentered mr-3 ',
|
|
25350
25602
|
onClick: function onClick() {
|
|
25351
25603
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
@@ -25367,7 +25619,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
25367
25619
|
}
|
|
25368
25620
|
})), sectionproperties.showfavbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25369
25621
|
"class": "".concat(headerstyles$9.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications)
|
|
25370
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.
|
|
25622
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25371
25623
|
style: {
|
|
25372
25624
|
position: 'relative'
|
|
25373
25625
|
},
|
|
@@ -25576,7 +25828,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
25576
25828
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
|
|
25577
25829
|
}, /*#__PURE__*/React__default["default"].createElement(BiLogOutCircle.BiLogOutCircle, {
|
|
25578
25830
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
25579
|
-
}), lang.logout))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25831
|
+
}), lang.logout))))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25580
25832
|
"class": langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-3 ' : ' m-0 cursor-pointer mr-3 ',
|
|
25581
25833
|
style: {
|
|
25582
25834
|
minWidth: '30px'
|
|
@@ -25611,7 +25863,10 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
25611
25863
|
paddingRightprops: '25px',
|
|
25612
25864
|
subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
25613
25865
|
}
|
|
25614
|
-
})))))), /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
|
|
25866
|
+
})))))), sectionproperties.responsiveheaderstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
|
|
25867
|
+
sectionpropertiesprops: sectionproperties,
|
|
25868
|
+
actions: actions
|
|
25869
|
+
}), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
25615
25870
|
sectionpropertiesprops: sectionproperties,
|
|
25616
25871
|
actions: actions
|
|
25617
25872
|
}), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
@@ -42226,7 +42481,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
42226
42481
|
style: {
|
|
42227
42482
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
42228
42483
|
}
|
|
42229
|
-
},
|
|
42484
|
+
}, langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear))), templateproperties_context.showpolicies == 'Show' && templateproperties_context.separatepolicies == 'No' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42230
42485
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
42231
42486
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42232
42487
|
onClick: function onClick() {
|
|
@@ -42237,7 +42492,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
42237
42492
|
style: {
|
|
42238
42493
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
42239
42494
|
}
|
|
42240
|
-
}, langdetect == 'en' ? sectionproperties.policiestexten : sectionproperties.policiestextar))), templateproperties_context.showpolicies == 'Show' &&
|
|
42495
|
+
}, langdetect == 'en' ? sectionproperties.policiestexten : sectionproperties.policiestextar))), templateproperties_context.showpolicies == 'Show' && templateproperties_context.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42241
42496
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
42242
42497
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42243
42498
|
onClick: function onClick() {
|
|
@@ -42248,7 +42503,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
42248
42503
|
style: {
|
|
42249
42504
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
42250
42505
|
}
|
|
42251
|
-
}, 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))), templateproperties_context.showpolicies == 'Show' &&
|
|
42506
|
+
}, 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))), templateproperties_context.showpolicies == 'Show' && templateproperties_context.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42252
42507
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
42253
42508
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42254
42509
|
onClick: function onClick() {
|
|
@@ -42259,7 +42514,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
42259
42514
|
style: {
|
|
42260
42515
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
42261
42516
|
}
|
|
42262
|
-
}, 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))), templateproperties_context.showpolicies == 'Show' &&
|
|
42517
|
+
}, 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))), templateproperties_context.showpolicies == 'Show' && templateproperties_context.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42263
42518
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
42264
42519
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42265
42520
|
onClick: function onClick() {
|
|
@@ -42270,7 +42525,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
42270
42525
|
style: {
|
|
42271
42526
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
42272
42527
|
}
|
|
42273
|
-
}, 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))), templateproperties_context.showpolicies == 'Show' &&
|
|
42528
|
+
}, 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))), templateproperties_context.showpolicies == 'Show' && templateproperties_context.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42274
42529
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
42275
42530
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42276
42531
|
onClick: function onClick() {
|
|
@@ -42301,7 +42556,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
42301
42556
|
}
|
|
42302
42557
|
}
|
|
42303
42558
|
}, sectionproperties.fbiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
42304
|
-
"class": 'mr-2',
|
|
42559
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
42305
42560
|
size: sectionproperties.fbiconfontsize
|
|
42306
42561
|
}), sectionproperties.fblinktext)), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42307
42562
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
@@ -42315,7 +42570,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
42315
42570
|
}
|
|
42316
42571
|
}
|
|
42317
42572
|
}, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
42318
|
-
"class": 'mr-2',
|
|
42573
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
42319
42574
|
size: sectionproperties.instagramiconfontsize
|
|
42320
42575
|
}), sectionproperties.instagramlinktext)), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42321
42576
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
@@ -42329,7 +42584,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
42329
42584
|
}
|
|
42330
42585
|
}
|
|
42331
42586
|
}, sectionproperties.whatsappiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
42332
|
-
"class": 'mr-2',
|
|
42587
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
42333
42588
|
size: sectionproperties.whatsappiconfontsize
|
|
42334
42589
|
}), sectionproperties.whatsapplinktext)), sectionproperties.linkedinbtnshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42335
42590
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
@@ -42343,7 +42598,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
42343
42598
|
}
|
|
42344
42599
|
}
|
|
42345
42600
|
}, sectionproperties.linkedinbtniconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(AiOutlineLinkedin.AiOutlineLinkedin, {
|
|
42346
|
-
"class": 'mr-2',
|
|
42601
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
42347
42602
|
size: sectionproperties.linkedinbtniconfontsize
|
|
42348
42603
|
}), sectionproperties.linkedinlinktext)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42349
42604
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
@@ -42357,7 +42612,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
42357
42612
|
}
|
|
42358
42613
|
}
|
|
42359
42614
|
}, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
42360
|
-
"class": 'mr-2',
|
|
42615
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
42361
42616
|
size: sectionproperties.instagramiconfontsize
|
|
42362
42617
|
}), langdetect == 'en' ? 'TikTok' : 'TikTok')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.telegramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42363
42618
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
@@ -42371,7 +42626,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
42371
42626
|
}
|
|
42372
42627
|
}
|
|
42373
42628
|
}, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(FaTelegramPlane.FaTelegramPlane, {
|
|
42374
|
-
"class": 'mr-2',
|
|
42629
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
42375
42630
|
size: sectionproperties.instagramiconfontsize
|
|
42376
42631
|
}), langdetect == 'en' ? 'Telegram' : 'Telegram')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42377
42632
|
"class": sectionproperties.showdownloadsection == 'Show' || sectionproperties.showpaymentfooter == 'Show' ? 'col-lg-3 col-md-12 col-sm-12 mt-md-3' : 'col-lg-4 col-md-12 col-sm-12 mt-md-3',
|
|
@@ -52731,6 +52986,8 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
52731
52986
|
var _authdetailsContext$i2;
|
|
52732
52987
|
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber), '_blank');
|
|
52733
52988
|
}
|
|
52989
|
+
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
52990
|
+
window.open(sectionproperties.btnlink, '_target');
|
|
52734
52991
|
} else {
|
|
52735
52992
|
window.open(sectionproperties.btnlink, '_blank');
|
|
52736
52993
|
}
|
|
@@ -52821,7 +53078,17 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
52821
53078
|
width: sectionproperties.width + 'vw'
|
|
52822
53079
|
}
|
|
52823
53080
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52824
|
-
"class":
|
|
53081
|
+
"class":
|
|
53082
|
+
// sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
|
|
53083
|
+
// ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
|
|
53084
|
+
// : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0
|
|
53085
|
+
// ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
|
|
53086
|
+
// : sectionproperties.paddingLeft != 0
|
|
53087
|
+
// ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
|
|
53088
|
+
// : sectionproperties.paddingRight != 0
|
|
53089
|
+
// ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
|
|
53090
|
+
// : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
|
|
53091
|
+
sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 ' : sectionproperties.paddingLeft != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : sectionproperties.paddingRight != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 ',
|
|
52825
53092
|
style: {
|
|
52826
53093
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
52827
53094
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
@@ -53217,7 +53484,9 @@ var Servicesection = function Servicesection(props) {
|
|
|
53217
53484
|
cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default'
|
|
53218
53485
|
},
|
|
53219
53486
|
onClick: function onClick() {
|
|
53220
|
-
if (cardinfoitem.iscardclickable == 'Yes') {
|
|
53487
|
+
if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'Same Tab') {
|
|
53488
|
+
window.open(cardinfoitem.btnlink, '_target');
|
|
53489
|
+
} else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'New Tab') {
|
|
53221
53490
|
window.open(cardinfoitem.btnlink, '_blank');
|
|
53222
53491
|
}
|
|
53223
53492
|
}
|
|
@@ -63722,12 +63991,25 @@ var ServiceCard = function ServiceCard(props) {
|
|
|
63722
63991
|
onClick: function onClick() {
|
|
63723
63992
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
63724
63993
|
}
|
|
63725
|
-
},
|
|
63994
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63995
|
+
"class": "row m-0 w-100"
|
|
63996
|
+
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63997
|
+
"class": "col-lg-12 p-0"
|
|
63998
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
63726
63999
|
"class": "".concat(card_cssstyles.productNameStyles) + ' font-md-15 wordbreak wordbreak1 m-0 ',
|
|
63727
64000
|
style: {
|
|
63728
64001
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
63729
64002
|
}
|
|
63730
|
-
}, item.name))
|
|
64003
|
+
}, item.name)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64004
|
+
"class": "col-lg-12 p-0"
|
|
64005
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
64006
|
+
"class": ' wordbreak wordbreak1 m-0 ',
|
|
64007
|
+
style: {
|
|
64008
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
64009
|
+
fontSize: sectionproperties.measurementunitfontsize + 'px',
|
|
64010
|
+
color: sectionproperties.measurementunitcolor
|
|
64011
|
+
}
|
|
64012
|
+
}, item.measurmentunit)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63731
64013
|
"class": "col-lg-12 p-0"
|
|
63732
64014
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63733
64015
|
"class": "row w-100 m-0 d-flex"
|