tabexseriescomponents 0.50.140 → 0.50.142
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 +398 -366
- package/dist/index.esm.js +398 -366
- package/dist/index.umd.js +398 -366
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -302,7 +302,7 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
302
302
|
seemore: 'SEE MORE',
|
|
303
303
|
sortby: 'Sort by',
|
|
304
304
|
maximum: 'Maximum Quantity',
|
|
305
|
-
minimum: '
|
|
305
|
+
minimum: 'Minimum Quantity',
|
|
306
306
|
sendcode: 'Send code',
|
|
307
307
|
verifycode: 'Verify Code',
|
|
308
308
|
writevalidemail: 'Please write a valid email',
|
|
@@ -41701,8 +41701,8 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
41701
41701
|
function ownKeys$1X(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; }
|
|
41702
41702
|
function _objectSpread$1X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1X(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41703
41703
|
var Modernheader = function Modernheader(props) {
|
|
41704
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12;
|
|
41705
|
-
var _useState = React.useState(
|
|
41704
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14;
|
|
41705
|
+
var _useState = React.useState(''),
|
|
41706
41706
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
41707
41707
|
sectionproperties = _useState2[0],
|
|
41708
41708
|
setsectionproperties = _useState2[1];
|
|
@@ -41758,80 +41758,80 @@ var Modernheader = function Modernheader(props) {
|
|
|
41758
41758
|
}, [templateproperties_context]);
|
|
41759
41759
|
var header_cssstyles = {
|
|
41760
41760
|
closeOverlayBtn: glamor.css({
|
|
41761
|
-
width:
|
|
41762
|
-
height:
|
|
41763
|
-
color:
|
|
41764
|
-
borderRadius:
|
|
41765
|
-
border:
|
|
41761
|
+
width: '40px',
|
|
41762
|
+
height: '40px',
|
|
41763
|
+
color: '#000',
|
|
41764
|
+
borderRadius: '5px',
|
|
41765
|
+
border: '2px solid #000',
|
|
41766
41766
|
zIndex: 1000,
|
|
41767
|
-
transition:
|
|
41768
|
-
|
|
41769
|
-
color:
|
|
41770
|
-
borderColor:
|
|
41767
|
+
transition: '.3s',
|
|
41768
|
+
':hover': {
|
|
41769
|
+
color: '#787878',
|
|
41770
|
+
borderColor: '#787878'
|
|
41771
41771
|
}
|
|
41772
41772
|
}),
|
|
41773
41773
|
floatingbtn: glamor.css({
|
|
41774
|
-
position:
|
|
41775
|
-
bottom: sectionproperties.floatingbtnfrombottom +
|
|
41776
|
-
right: langdetect !=
|
|
41777
|
-
left: langdetect ==
|
|
41774
|
+
position: 'fixed',
|
|
41775
|
+
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
41776
|
+
right: langdetect != 'ar' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
41777
|
+
left: langdetect == 'ar' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
41778
41778
|
zIndex: 2000,
|
|
41779
|
-
transition:
|
|
41780
|
-
width: sectionproperties.floatingbtnwidth +
|
|
41781
|
-
height: sectionproperties.floatingbtnheight +
|
|
41779
|
+
transition: 'all 0.3s ease-out',
|
|
41780
|
+
width: sectionproperties.floatingbtnwidth + '%',
|
|
41781
|
+
height: sectionproperties.floatingbtnheight + 'px',
|
|
41782
41782
|
background: sectionproperties.floatingbtnbg,
|
|
41783
|
-
fontSize: sectionproperties.floatingbtnfontsize +
|
|
41783
|
+
fontSize: sectionproperties.floatingbtnfontsize + 'px',
|
|
41784
41784
|
color: sectionproperties.floatingbtncolor,
|
|
41785
41785
|
borderRadius: 10,
|
|
41786
|
-
|
|
41786
|
+
':hover': {
|
|
41787
41787
|
color: sectionproperties.floatingbtncolorhover,
|
|
41788
41788
|
backgroundColor: sectionproperties.floatingbtnbghover,
|
|
41789
|
-
transitions:
|
|
41790
|
-
cursor:
|
|
41789
|
+
transitions: '.3s',
|
|
41790
|
+
cursor: 'pointer'
|
|
41791
41791
|
},
|
|
41792
|
-
|
|
41793
|
-
width:
|
|
41792
|
+
'@media (max-width: 800px)': {
|
|
41793
|
+
width: '50%'
|
|
41794
41794
|
}
|
|
41795
41795
|
}),
|
|
41796
41796
|
wishlist_btn: glamor.css({
|
|
41797
|
-
width: sectionproperties.favBtnWidth +
|
|
41798
|
-
height: sectionproperties.favBtnHeight +
|
|
41799
|
-
background: sectionproperties.favbtn_bgtransparent ==
|
|
41800
|
-
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius +
|
|
41797
|
+
width: sectionproperties.favBtnWidth + 'px',
|
|
41798
|
+
height: sectionproperties.favBtnHeight + 'px',
|
|
41799
|
+
background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
|
|
41800
|
+
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
|
|
41801
41801
|
color: sectionproperties.favBtniconcolor,
|
|
41802
|
-
border: sectionproperties.favbtnborderwidth +
|
|
41803
|
-
transition:
|
|
41804
|
-
|
|
41805
|
-
background: sectionproperties.favbtn_transparentbgcoloronhover ==
|
|
41802
|
+
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
41803
|
+
transition: '.3s',
|
|
41804
|
+
':hover': {
|
|
41805
|
+
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
41806
41806
|
color: sectionproperties.favBtnTextcoloronhover
|
|
41807
41807
|
}
|
|
41808
41808
|
}),
|
|
41809
41809
|
cart_btn: glamor.css({
|
|
41810
|
-
width: sectionproperties.cartBtnWidth +
|
|
41811
|
-
height: sectionproperties.cartBtnHeight +
|
|
41812
|
-
background: sectionproperties.cartbtn_bgtransparent ==
|
|
41813
|
-
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius +
|
|
41810
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
41811
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
41812
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
41813
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
41814
41814
|
color: sectionproperties.cart_iconcolor,
|
|
41815
|
-
border: sectionproperties.cartbtnborderwidth +
|
|
41816
|
-
transition:
|
|
41817
|
-
|
|
41818
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
41815
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
41816
|
+
transition: '.3s',
|
|
41817
|
+
':hover': {
|
|
41818
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
41819
41819
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
41820
41820
|
}
|
|
41821
41821
|
}),
|
|
41822
41822
|
user_btn: glamor.css({
|
|
41823
|
-
background: sectionproperties.userbtn_bgtransparent ==
|
|
41824
|
-
width: sectionproperties.userBtnWidth +
|
|
41825
|
-
height: sectionproperties.userBtnHeight +
|
|
41826
|
-
borderRadius: sectionproperties.userbtn_borderBottomLeftRadius +
|
|
41823
|
+
background: sectionproperties.userbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColor,
|
|
41824
|
+
width: sectionproperties.userBtnWidth + 'px',
|
|
41825
|
+
height: sectionproperties.userBtnHeight + 'px',
|
|
41826
|
+
borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
|
|
41827
41827
|
color: sectionproperties.userBtniconcolor,
|
|
41828
|
-
fontSize: sectionproperties.userBtniconfontsize +
|
|
41829
|
-
border: sectionproperties.userbtnborderwidth +
|
|
41830
|
-
cursor:
|
|
41831
|
-
transition:
|
|
41832
|
-
|
|
41828
|
+
fontSize: sectionproperties.userBtniconfontsize + 'px',
|
|
41829
|
+
border: sectionproperties.userbtnborderwidth + 'px solid ' + sectionproperties.userbtnbordercolor,
|
|
41830
|
+
cursor: 'pointer',
|
|
41831
|
+
transition: '.3s',
|
|
41832
|
+
':hover': {
|
|
41833
41833
|
color: sectionproperties.userBtnTextcoloronhover,
|
|
41834
|
-
background: sectionproperties.userbtn_transparentbgcoloronhover ==
|
|
41834
|
+
background: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColoronhover,
|
|
41835
41835
|
borderColor: sectionproperties.userBtnTextcoloronhover
|
|
41836
41836
|
}
|
|
41837
41837
|
}),
|
|
@@ -41839,84 +41839,84 @@ var Modernheader = function Modernheader(props) {
|
|
|
41839
41839
|
fontWeight: sectionproperties.userBtnTextfontweight,
|
|
41840
41840
|
textTransform: sectionproperties.userBtnTexttransform,
|
|
41841
41841
|
color: sectionproperties.userBtnTextcolor,
|
|
41842
|
-
fontSize: sectionproperties.userBtntextfontsize +
|
|
41843
|
-
lineHeight: sectionproperties.userBtntextfontsize +
|
|
41844
|
-
transition:
|
|
41842
|
+
fontSize: sectionproperties.userBtntextfontsize + 'px',
|
|
41843
|
+
lineHeight: sectionproperties.userBtntextfontsize + 'px',
|
|
41844
|
+
transition: '.3s'
|
|
41845
41845
|
}),
|
|
41846
41846
|
loggedinuserbtn: glamor.css({
|
|
41847
|
-
width: sectionproperties.loggedinuserbtn_width +
|
|
41848
|
-
height: sectionproperties.loggedinuserbtn_height +
|
|
41849
|
-
border: sectionproperties.userlogginbtnborderwidth +
|
|
41850
|
-
borderRadius: sectionproperties.userbtn_borderBottomLeftRadius +
|
|
41847
|
+
width: sectionproperties.loggedinuserbtn_width + 'px',
|
|
41848
|
+
height: sectionproperties.loggedinuserbtn_height + 'px',
|
|
41849
|
+
border: sectionproperties.userlogginbtnborderwidth + 'px solid ' + sectionproperties.userlogginbtnbordercolor,
|
|
41850
|
+
borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
|
|
41851
41851
|
background: sectionproperties.userBtnbgColor_loggedin,
|
|
41852
41852
|
color: sectionproperties.userBtniconcolor_loggedin,
|
|
41853
|
-
transition:
|
|
41853
|
+
transition: '.3s'
|
|
41854
41854
|
}),
|
|
41855
41855
|
userBtnLoggedinContainer: glamor.css({
|
|
41856
|
-
transition:
|
|
41857
|
-
|
|
41858
|
-
transition:
|
|
41856
|
+
transition: '.3s',
|
|
41857
|
+
':hover .loggedinuserbtn': {
|
|
41858
|
+
transition: '.3s',
|
|
41859
41859
|
color: sectionproperties.userBtnTextcoloronhover_loggedin,
|
|
41860
41860
|
borderColor: sectionproperties.userBtnTextcoloronhover_loggedin
|
|
41861
41861
|
},
|
|
41862
|
-
|
|
41862
|
+
':hover .loggedinuserbtnbg': {
|
|
41863
41863
|
backgroundColor: sectionproperties.userBtnbgColoronhover_loggedin,
|
|
41864
41864
|
color: sectionproperties.userbtn_loggedin_iconcoloronhover
|
|
41865
41865
|
}
|
|
41866
41866
|
}),
|
|
41867
41867
|
dropdownitemcontainer: glamor.css({
|
|
41868
|
-
fontSize: sectionproperties.dropdown_fontsize +
|
|
41868
|
+
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
41869
41869
|
color: sectionproperties.dropdown_color,
|
|
41870
41870
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
41871
41871
|
textTransform: sectionproperties.dropdown_texttransform,
|
|
41872
|
-
padding:
|
|
41873
|
-
display:
|
|
41874
|
-
alignItems:
|
|
41875
|
-
transition:
|
|
41876
|
-
|
|
41872
|
+
padding: '0.3rem 0.8rem',
|
|
41873
|
+
display: 'flex',
|
|
41874
|
+
alignItems: 'center',
|
|
41875
|
+
transition: '.3s',
|
|
41876
|
+
':hover': {
|
|
41877
41877
|
color: sectionproperties.dropdown_hovercolor
|
|
41878
41878
|
}
|
|
41879
41879
|
}),
|
|
41880
41880
|
top_bar: glamor.css({
|
|
41881
|
-
backgroundColor: sectionproperties.keepheadertransparent ==
|
|
41882
|
-
borderTopLeftRadius: langdetect !=
|
|
41883
|
-
borderTopRightRadius: langdetect !=
|
|
41884
|
-
borderBottomLeftRadius: langdetect !=
|
|
41885
|
-
borderBottomRightRadius: langdetect !=
|
|
41886
|
-
paddingLeft: langdetect !=
|
|
41887
|
-
paddingRight: langdetect !=
|
|
41888
|
-
paddingTop: sectionproperties.uppersection_paddingtop +
|
|
41889
|
-
paddingBottom: sectionproperties.uppersection_paddingbottom +
|
|
41890
|
-
borderBottom: sectionproperties.headerborderbottomwidth +
|
|
41881
|
+
backgroundColor: sectionproperties.keepheadertransparent == 'Yes' ? scrollYposittionprops > 300 ? sectionproperties.uppersection_bgcolor : 'transparent' : sectionproperties.uppersection_bgcolortransparent == 'Transparent' && window.location.pathname == '/home' ? scrollYposittionprops > 300 ? sectionproperties.uppersection_bgcolor : 'transparent' : sectionproperties.uppersection_bgcolor,
|
|
41882
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.uppersection_btlradius + 'px' : sectionproperties.uppersection_btrradius + 'px',
|
|
41883
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.uppersection_btrradius + 'px' : sectionproperties.uppersection_btlradius + 'px',
|
|
41884
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.uppersection_bblradius + 'px' : sectionproperties.uppersection_bbrradius + 'px',
|
|
41885
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.uppersection_bbrradius + 'px' : sectionproperties.uppersection_bblradius + 'px',
|
|
41886
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.uppersection_paddingleft + 'px' : sectionproperties.uppersection_paddingright + 'px',
|
|
41887
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.uppersection_paddingright + 'px' : sectionproperties.uppersection_paddingleft + 'px',
|
|
41888
|
+
paddingTop: sectionproperties.uppersection_paddingtop + 'px',
|
|
41889
|
+
paddingBottom: sectionproperties.uppersection_paddingbottom + 'px',
|
|
41890
|
+
borderBottom: sectionproperties.headerborderbottomwidth + 'px solid ' + sectionproperties.headerbordercolor
|
|
41891
41891
|
}),
|
|
41892
41892
|
navbar_nav: glamor.css({
|
|
41893
|
-
backgroundColor: sectionproperties.keepheadertransparent ==
|
|
41893
|
+
backgroundColor: sectionproperties.keepheadertransparent == 'Yes' ? scrollYposittionprops > 300 ? sectionproperties.lowersection_backgroundColor : 'transparent' : sectionproperties.lowersection_bgcolortransparent == 'Transparent' && window.location.pathname == '/home' ? scrollYposittionprops > 300 ? sectionproperties.lowersection_backgroundColor : 'transparent' : sectionproperties.lowersection_backgroundColor,
|
|
41894
41894
|
// background: sectionproperties.lowersection_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.lowersection_backgroundColor,
|
|
41895
|
-
paddingTop: sectionproperties.lowersection_paddingtop +
|
|
41896
|
-
paddingBottom: sectionproperties.lowersection_paddingbottom +
|
|
41897
|
-
paddingLeft: langdetect !=
|
|
41898
|
-
paddingRight: langdetect !=
|
|
41899
|
-
borderBottom: sectionproperties.headerborderbottomwidth +
|
|
41895
|
+
paddingTop: sectionproperties.lowersection_paddingtop + 'px',
|
|
41896
|
+
paddingBottom: sectionproperties.lowersection_paddingbottom + 'px',
|
|
41897
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.lowersection_paddingleft + 'px' : sectionproperties.lowersection_paddingright + 'px',
|
|
41898
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.lowersection_paddingright + 'px' : sectionproperties.lowersection_paddingleft + 'px',
|
|
41899
|
+
borderBottom: sectionproperties.headerborderbottomwidth + 'px solid ' + sectionproperties.headerbordercolor
|
|
41900
41900
|
}),
|
|
41901
41901
|
topbar_item: glamor.css({
|
|
41902
|
-
marginLeft: sectionproperties.navbar_item_textpaddingright +
|
|
41903
|
-
marginRight: sectionproperties.navbar_item_textpaddingright +
|
|
41904
|
-
|
|
41902
|
+
marginLeft: sectionproperties.navbar_item_textpaddingright + 'px',
|
|
41903
|
+
marginRight: sectionproperties.navbar_item_textpaddingright + 'px',
|
|
41904
|
+
':hover:before': {
|
|
41905
41905
|
background: sectionproperties.lowersection_fontColoronhover
|
|
41906
41906
|
}
|
|
41907
41907
|
}),
|
|
41908
41908
|
topbar_item_text: glamor.css({
|
|
41909
41909
|
color: sectionproperties.lowersection_fontColor,
|
|
41910
|
-
fontSize: sectionproperties.lowersection_fontsize +
|
|
41910
|
+
fontSize: sectionproperties.lowersection_fontsize + 'px',
|
|
41911
41911
|
textTransform: sectionproperties.lowersection_textTransform,
|
|
41912
41912
|
fontWeight: sectionproperties.lowersection_textfontweight,
|
|
41913
|
-
transition:
|
|
41914
|
-
|
|
41913
|
+
transition: '.3s',
|
|
41914
|
+
':hover': {
|
|
41915
41915
|
color: sectionproperties.lowersection_fontColoronhover
|
|
41916
41916
|
}
|
|
41917
41917
|
}),
|
|
41918
41918
|
topbar_item_active: glamor.css({
|
|
41919
|
-
|
|
41919
|
+
':before': {
|
|
41920
41920
|
background: sectionproperties.lowersection_fontColoronhover
|
|
41921
41921
|
}
|
|
41922
41922
|
}),
|
|
@@ -41924,201 +41924,201 @@ var Modernheader = function Modernheader(props) {
|
|
|
41924
41924
|
color: sectionproperties.lowersection_fontColoronhover
|
|
41925
41925
|
}),
|
|
41926
41926
|
header_divider: glamor.css({
|
|
41927
|
-
height: sectionproperties.vl_height +
|
|
41927
|
+
height: sectionproperties.vl_height + 'px',
|
|
41928
41928
|
background: sectionproperties.vl_bg,
|
|
41929
|
-
width: sectionproperties.vl_width +
|
|
41929
|
+
width: sectionproperties.vl_width + '%'
|
|
41930
41930
|
}),
|
|
41931
41931
|
header_logo: glamor.css({
|
|
41932
|
-
width: templateproperties_context.logo_width +
|
|
41933
|
-
height: templateproperties_context.logo_height +
|
|
41932
|
+
width: templateproperties_context.logo_width + 'px',
|
|
41933
|
+
height: templateproperties_context.logo_height + 'px'
|
|
41934
41934
|
}),
|
|
41935
41935
|
searchbarcont: glamor.css({
|
|
41936
|
-
position:
|
|
41937
|
-
width: sectionproperties.searchbarcont_width +
|
|
41938
|
-
height: sectionproperties.searchbarcont_height +
|
|
41939
|
-
border: sectionproperties.searchbarcontinput_borderwidth +
|
|
41940
|
-
background: sectionproperties.searchbarcont_bgcolortransparent ==
|
|
41941
|
-
borderRadius: sectionproperties.searchbarcont_borderRadius +
|
|
41942
|
-
transition:
|
|
41936
|
+
position: 'relative',
|
|
41937
|
+
width: sectionproperties.searchbarcont_width + '%',
|
|
41938
|
+
height: sectionproperties.searchbarcont_height + 'px',
|
|
41939
|
+
border: sectionproperties.searchbarcontinput_borderwidth + 'px solid' + sectionproperties.searchbarcontinput_bordercolor,
|
|
41940
|
+
background: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
|
|
41941
|
+
borderRadius: sectionproperties.searchbarcont_borderRadius + 'px',
|
|
41942
|
+
transition: '.3s'
|
|
41943
41943
|
}),
|
|
41944
41944
|
searchbar_icon_cont: glamor.css({
|
|
41945
|
-
position:
|
|
41946
|
-
right: langdetect !=
|
|
41947
|
-
left: langdetect !=
|
|
41948
|
-
transform: langdetect !=
|
|
41949
|
-
bottom: sectionproperties.searchbaricon_bottom +
|
|
41950
|
-
margin:
|
|
41951
|
-
display:
|
|
41952
|
-
justifyContent:
|
|
41953
|
-
alignItems:
|
|
41954
|
-
textAlign:
|
|
41955
|
-
width: sectionproperties.searchbaricon_width +
|
|
41956
|
-
height: sectionproperties.searchbaricon_height +
|
|
41957
|
-
borderRadius: sectionproperties.searchbaricon_borderBottomLeftRadius +
|
|
41945
|
+
position: 'absolute',
|
|
41946
|
+
right: langdetect != 'ar' ? sectionproperties.searchbaricon_right + 'px' : '',
|
|
41947
|
+
left: langdetect != 'ar' ? '' : sectionproperties.searchbaricon_right + 'px',
|
|
41948
|
+
transform: langdetect != 'ar' ? 'scale(1)' : 'scaleX(-1)',
|
|
41949
|
+
bottom: sectionproperties.searchbaricon_bottom + 'px',
|
|
41950
|
+
margin: 'auto',
|
|
41951
|
+
display: 'flex',
|
|
41952
|
+
justifyContent: 'center',
|
|
41953
|
+
alignItems: 'center',
|
|
41954
|
+
textAlign: 'center',
|
|
41955
|
+
width: sectionproperties.searchbaricon_width + 'px',
|
|
41956
|
+
height: sectionproperties.searchbaricon_height + 'px',
|
|
41957
|
+
borderRadius: sectionproperties.searchbaricon_borderBottomLeftRadius + 'px',
|
|
41958
41958
|
color: sectionproperties.searchbaricon_color,
|
|
41959
|
-
backgroundColor: sectionproperties.searchbaricon_bgcolortransparent ==
|
|
41959
|
+
backgroundColor: sectionproperties.searchbaricon_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbaricon_bgcolor
|
|
41960
41960
|
}),
|
|
41961
41961
|
searchbar_icon: glamor.css({
|
|
41962
|
-
transform: langdetect !=
|
|
41963
|
-
bottom: sectionproperties.searchbaricon_bottom +
|
|
41964
|
-
margin:
|
|
41965
|
-
display:
|
|
41966
|
-
justifyContent:
|
|
41967
|
-
alignItems:
|
|
41968
|
-
textAlign:
|
|
41969
|
-
borderRadius: sectionproperties.searchbaricon_borderBottomLeftRadius +
|
|
41962
|
+
transform: langdetect != 'ar' ? 'scale(1)' : 'scaleX(-1)',
|
|
41963
|
+
bottom: sectionproperties.searchbaricon_bottom + 'px',
|
|
41964
|
+
margin: 'auto',
|
|
41965
|
+
display: 'flex',
|
|
41966
|
+
justifyContent: 'center',
|
|
41967
|
+
alignItems: 'center',
|
|
41968
|
+
textAlign: 'center',
|
|
41969
|
+
borderRadius: sectionproperties.searchbaricon_borderBottomLeftRadius + 'px',
|
|
41970
41970
|
color: sectionproperties.searchbaricon_color,
|
|
41971
|
-
backgroundColor: sectionproperties.searchbaricon_bgcolortransparent ==
|
|
41971
|
+
backgroundColor: sectionproperties.searchbaricon_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbaricon_bgcolor
|
|
41972
41972
|
}),
|
|
41973
41973
|
search_field: glamor.css({
|
|
41974
41974
|
color: sectionproperties.searchbarcontinput_color,
|
|
41975
41975
|
fontWeight: sectionproperties.searchbarcont_inputfontweight,
|
|
41976
|
-
fontSize: sectionproperties.searchbarcontinput_fontsize +
|
|
41977
|
-
borderBottom:
|
|
41978
|
-
|
|
41976
|
+
fontSize: sectionproperties.searchbarcontinput_fontsize + 'px',
|
|
41977
|
+
borderBottom: '1px solid #000',
|
|
41978
|
+
'::placeholder': {
|
|
41979
41979
|
color: sectionproperties.searchbarcontinput_color
|
|
41980
41980
|
}
|
|
41981
41981
|
}),
|
|
41982
41982
|
searchbarcont_input: glamor.css({
|
|
41983
|
-
width:
|
|
41984
|
-
background: sectionproperties.searchbarcont_bgcolortransparent ==
|
|
41983
|
+
width: '100%',
|
|
41984
|
+
background: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
|
|
41985
41985
|
color: sectionproperties.searchbarcontinput_color,
|
|
41986
41986
|
fontWeight: sectionproperties.searchbarcont_inputfontweight,
|
|
41987
|
-
fontSize: sectionproperties.searchbarcontinput_fontsize +
|
|
41988
|
-
borderRadius: sectionproperties.searchbarcont_borderRadius +
|
|
41989
|
-
borderBottom: sectionproperties.searchbarcontinput_borderBottom +
|
|
41990
|
-
paddingLeft: langdetect !=
|
|
41991
|
-
paddingRight: langdetect !=
|
|
41992
|
-
paddingBottom: sectionproperties.searchbarcont_paddingBottom +
|
|
41993
|
-
outline:
|
|
41994
|
-
transition:
|
|
41995
|
-
|
|
41987
|
+
fontSize: sectionproperties.searchbarcontinput_fontsize + 'px',
|
|
41988
|
+
borderRadius: sectionproperties.searchbarcont_borderRadius + 'px',
|
|
41989
|
+
borderBottom: sectionproperties.searchbarcontinput_borderBottom + 'px solid ' + sectionproperties.searchbarcontinput_borderBottomcolor,
|
|
41990
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.searchbarcont_paddingLeft + 'px' : sectionproperties.searchbarcont_paddingRight + 'px',
|
|
41991
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.searchbarcont_paddingRight + 'px' : sectionproperties.searchbarcont_paddingLeft + 'px',
|
|
41992
|
+
paddingBottom: sectionproperties.searchbarcont_paddingBottom + 'rem',
|
|
41993
|
+
outline: 'none',
|
|
41994
|
+
transition: '0.3s',
|
|
41995
|
+
':focus': {
|
|
41996
41996
|
borderColor: sectionproperties.searchbarcontinput_bordercoloronfocus
|
|
41997
41997
|
}
|
|
41998
41998
|
}),
|
|
41999
41999
|
badge_counter_header_notifications: glamor.css({
|
|
42000
42000
|
background: sectionproperties.badge_bgcolor,
|
|
42001
|
-
width: sectionproperties.badge_width +
|
|
42002
|
-
height: sectionproperties.badge_height +
|
|
42001
|
+
width: sectionproperties.badge_width + 'px',
|
|
42002
|
+
height: sectionproperties.badge_height + 'px',
|
|
42003
42003
|
color: sectionproperties.badge_color,
|
|
42004
|
-
borderRadius: sectionproperties.badge_borderradius +
|
|
42005
|
-
fontSize: sectionproperties.badge_fontsize +
|
|
42004
|
+
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
42005
|
+
fontSize: sectionproperties.badge_fontsize + 'px',
|
|
42006
42006
|
fontWeight: sectionproperties.badgefontweight
|
|
42007
42007
|
}),
|
|
42008
42008
|
cartbadge: glamor.css({
|
|
42009
|
-
top: sectionproperties.cartbadgetop +
|
|
42010
|
-
right: sectionproperties.cartbadgeright +
|
|
42009
|
+
top: sectionproperties.cartbadgetop + 'px',
|
|
42010
|
+
right: sectionproperties.cartbadgeright + 'px'
|
|
42011
42011
|
}),
|
|
42012
42012
|
languagecontainer: glamor.css({
|
|
42013
|
-
width: sectionproperties.language_container_width +
|
|
42014
|
-
height: sectionproperties.language_container_height +
|
|
42013
|
+
width: sectionproperties.language_container_width + 'px',
|
|
42014
|
+
height: sectionproperties.language_container_height + 'px',
|
|
42015
42015
|
color: sectionproperties.language_container_color,
|
|
42016
|
-
fontSize: sectionproperties.language_container_fontsize +
|
|
42016
|
+
fontSize: sectionproperties.language_container_fontsize + 'px',
|
|
42017
42017
|
fontWeight: 600,
|
|
42018
|
-
cursor:
|
|
42019
|
-
transition:
|
|
42020
|
-
|
|
42018
|
+
cursor: 'pointer',
|
|
42019
|
+
transition: '.3s',
|
|
42020
|
+
':hover': {
|
|
42021
42021
|
color: sectionproperties.language_container_coloronhover
|
|
42022
42022
|
}
|
|
42023
42023
|
}),
|
|
42024
42024
|
header_container: glamor.css({
|
|
42025
|
-
|
|
42025
|
+
':hover .top_bar': {
|
|
42026
42026
|
backgroundColor: sectionproperties.uppersection_bgcolor,
|
|
42027
|
-
transition:
|
|
42027
|
+
transition: '.3s ease-in-out'
|
|
42028
42028
|
},
|
|
42029
|
-
|
|
42030
|
-
backgroundColor: sectionproperties.lowersection_bgcolortransparent ==
|
|
42031
|
-
transition:
|
|
42029
|
+
':hover .navbar_nav': {
|
|
42030
|
+
backgroundColor: sectionproperties.lowersection_bgcolortransparent == 'Transparent' ? sectionproperties.uppersection_bgcolor : '',
|
|
42031
|
+
transition: '.3s ease-in-out'
|
|
42032
42032
|
}
|
|
42033
42033
|
})
|
|
42034
42034
|
};
|
|
42035
42035
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42036
|
-
"class": "".concat(headerstyles$g.header_container, " ").concat(header_cssstyles.header_container) +
|
|
42036
|
+
"class": "".concat(headerstyles$g.header_container, " ").concat(header_cssstyles.header_container) + ' row m-0 w-100 d-flex justify-content-center ',
|
|
42037
42037
|
style: {
|
|
42038
|
-
position:
|
|
42038
|
+
position: 'relative'
|
|
42039
42039
|
}
|
|
42040
|
-
}, sectionproperties.showdownloadapp ==
|
|
42040
|
+
}, sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(DownloadApp, {
|
|
42041
42041
|
sectionpropertiesprops: sectionproperties,
|
|
42042
42042
|
actions: actions
|
|
42043
|
-
}), templateproperties_context.showsocialmedia ==
|
|
42043
|
+
}), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
|
|
42044
42044
|
sectionpropertiesprops: sectionproperties,
|
|
42045
42045
|
templateproperties_contextprops: templateproperties_context,
|
|
42046
42046
|
actions: actions
|
|
42047
|
-
}), templateproperties_context.showtextslider ==
|
|
42047
|
+
}), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42048
42048
|
"class": "col-lg-12 p-0 d-md-none"
|
|
42049
42049
|
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
42050
42050
|
sectionpropertiesprops: sectionproperties,
|
|
42051
42051
|
templateproperties_contextprops: templateproperties_context,
|
|
42052
42052
|
actions: actions
|
|
42053
|
-
})), sectionproperties.showwhatsapp ==
|
|
42054
|
-
href:
|
|
42055
|
-
target:
|
|
42053
|
+
})), sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
42054
|
+
href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber),
|
|
42055
|
+
target: '_blank',
|
|
42056
42056
|
style: {
|
|
42057
|
-
position:
|
|
42058
|
-
bottom: sectionproperties.whatsapppositionfrombottom +
|
|
42059
|
-
right: langdetect !=
|
|
42060
|
-
left: langdetect ==
|
|
42057
|
+
position: 'fixed',
|
|
42058
|
+
bottom: sectionproperties.whatsapppositionfrombottom + 'px',
|
|
42059
|
+
right: langdetect != 'ar' ? sectionproperties.whatsapppositionfromright + 'px' : '',
|
|
42060
|
+
left: langdetect == 'ar' ? sectionproperties.whatsapppositionfromright + 'px' : '',
|
|
42061
42061
|
zIndex: 999999,
|
|
42062
|
-
transition:
|
|
42062
|
+
transition: 'all 0.3s ease-out'
|
|
42063
42063
|
}
|
|
42064
42064
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
42065
|
-
src:
|
|
42065
|
+
src: 'https://tabex-co.com/storage/StaticImages/whatsapp.png',
|
|
42066
42066
|
style: {
|
|
42067
|
-
width:
|
|
42068
|
-
height:
|
|
42069
|
-
cursor:
|
|
42067
|
+
width: '40px',
|
|
42068
|
+
height: '40px',
|
|
42069
|
+
cursor: 'pointer'
|
|
42070
42070
|
}
|
|
42071
|
-
})), sectionproperties.showfooterphonenumber ==
|
|
42072
|
-
href:
|
|
42073
|
-
target:
|
|
42071
|
+
})), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
42072
|
+
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
42073
|
+
target: '_self',
|
|
42074
42074
|
style: {
|
|
42075
|
-
position:
|
|
42076
|
-
bottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) ==
|
|
42077
|
-
right: langdetect !=
|
|
42078
|
-
left: langdetect ==
|
|
42075
|
+
position: 'fixed',
|
|
42076
|
+
bottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) == '684dada1b631b' ? 70 : sectionproperties.callppositionfrombottom + 'px',
|
|
42077
|
+
right: langdetect != 'ar' ? (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instid) == '684dada1b631b' ? 20 : sectionproperties.callppositionfromright + 'px' : '',
|
|
42078
|
+
left: langdetect == 'ar' ? (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instid) == '684dada1b631b' ? 20 : sectionproperties.callppositionfromright + 'px' : '',
|
|
42079
42079
|
zIndex: 999999,
|
|
42080
|
-
transition:
|
|
42080
|
+
transition: 'all 0.3s ease-out'
|
|
42081
42081
|
}
|
|
42082
42082
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
42083
|
-
"class": langdetect !=
|
|
42083
|
+
"class": langdetect != 'ar' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
|
|
42084
42084
|
}, /*#__PURE__*/React__default["default"].createElement(FiPhone.FiPhone, {
|
|
42085
42085
|
size: 30,
|
|
42086
42086
|
color: sectionproperties.uppersection_iconcolor,
|
|
42087
42087
|
style: {
|
|
42088
|
-
transform: langdetect !=
|
|
42088
|
+
transform: langdetect != 'ar' ? 'scaleX(1)' : 'scaleX(-1)'
|
|
42089
42089
|
}
|
|
42090
|
-
}))), sectionproperties.showfloatingbtn ==
|
|
42091
|
-
"class": header_cssstyles.floatingbtn +
|
|
42090
|
+
}))), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42091
|
+
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
42092
42092
|
style: {},
|
|
42093
42093
|
onClick: function onClick() {
|
|
42094
|
-
routingcountext(sectionproperties.floatingbtnlink, false,
|
|
42094
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
42095
42095
|
}
|
|
42096
42096
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42097
42097
|
"class": "m-0 p-0"
|
|
42098
|
-
}, langdetect !=
|
|
42098
|
+
}, langdetect != 'ar' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42099
42099
|
"class": "row m-0 d-md-none",
|
|
42100
42100
|
style: {
|
|
42101
42101
|
position: sectionproperties.headerstyles_position,
|
|
42102
|
-
marginTop: sectionproperties.header_marginTop +
|
|
42103
|
-
marginBottom: sectionproperties.header_marginBottom +
|
|
42104
|
-
width: sectionproperties.header_width +
|
|
42102
|
+
marginTop: sectionproperties.header_marginTop + 'px',
|
|
42103
|
+
marginBottom: sectionproperties.header_marginBottom + 'px',
|
|
42104
|
+
width: sectionproperties.header_width + 'vw',
|
|
42105
42105
|
zIndex: 1000,
|
|
42106
42106
|
top: 0
|
|
42107
42107
|
}
|
|
42108
42108
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42109
42109
|
"class": "row m-0 w-100"
|
|
42110
42110
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42111
|
-
"class": "".concat(header_cssstyles.top_bar) +
|
|
42111
|
+
"class": "".concat(header_cssstyles.top_bar) + ' top_bar row m-0 w-100 d-flex align-items-center px-1025-1 '
|
|
42112
42112
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42113
42113
|
"class": "col-lg-4 col-md-6 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
42114
42114
|
style: {}
|
|
42115
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instid) ==
|
|
42115
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instid) == '68319d088f13e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42116
42116
|
style: {
|
|
42117
|
-
width: sectionproperties.searchbarcont_height +
|
|
42118
|
-
height: sectionproperties.searchbarcont_height +
|
|
42117
|
+
width: sectionproperties.searchbarcont_height + 'px',
|
|
42118
|
+
height: sectionproperties.searchbarcont_height + 'px'
|
|
42119
42119
|
},
|
|
42120
42120
|
onClick: function onClick() {
|
|
42121
|
-
if (window.location.pathname ==
|
|
42121
|
+
if (window.location.pathname == '/home') ; else {
|
|
42122
42122
|
window.history.back();
|
|
42123
42123
|
}
|
|
42124
42124
|
}
|
|
@@ -42127,46 +42127,46 @@ var Modernheader = function Modernheader(props) {
|
|
|
42127
42127
|
}, /*#__PURE__*/React__default["default"].createElement(MdArrowBack.MdArrowBack, {
|
|
42128
42128
|
color: sectionproperties.searchbaricon_color,
|
|
42129
42129
|
size: 35
|
|
42130
|
-
}))), sectionproperties.searchbartype ==
|
|
42130
|
+
}))), sectionproperties.searchbartype == 'Full Width' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42131
42131
|
"class": header_cssstyles.searchbarcont
|
|
42132
42132
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
42133
42133
|
type: "text",
|
|
42134
|
-
placeholder: langdetect !=
|
|
42135
|
-
"class": "".concat(header_cssstyles.searchbarcont_input) +
|
|
42134
|
+
placeholder: langdetect != 'ar' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
|
|
42135
|
+
"class": "".concat(header_cssstyles.searchbarcont_input) + ' h-100 ',
|
|
42136
42136
|
onChange: function onChange(event) {
|
|
42137
42137
|
setSearchHeaderInputContext(event.target.value);
|
|
42138
42138
|
}
|
|
42139
42139
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
42140
|
-
"class": header_cssstyles.searchbar_icon_cont +
|
|
42140
|
+
"class": header_cssstyles.searchbar_icon_cont + ' m-0 pr-0 '
|
|
42141
42141
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
42142
42142
|
"class": "h-100 allcentered"
|
|
42143
42143
|
}, /*#__PURE__*/React__default["default"].createElement(FiSearch.FiSearch, {
|
|
42144
42144
|
size: sectionproperties.searchbaricon_fontsize
|
|
42145
42145
|
}))), /*#__PURE__*/React__default["default"].createElement(Searchlist$1, {
|
|
42146
42146
|
sectionpropertiesprops: sectionproperties,
|
|
42147
|
-
srcfromprops:
|
|
42147
|
+
srcfromprops: 'fullheader',
|
|
42148
42148
|
actions: actions
|
|
42149
|
-
})), sectionproperties.searchbartype ==
|
|
42150
|
-
"class": header_cssstyles.searchbarcont +
|
|
42149
|
+
})), sectionproperties.searchbartype == 'Icon' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42150
|
+
"class": header_cssstyles.searchbarcont + ' allcentered ',
|
|
42151
42151
|
style: {
|
|
42152
|
-
width: sectionproperties.searchbaricon_width +
|
|
42153
|
-
height: sectionproperties.searchbaricon_height +
|
|
42152
|
+
width: sectionproperties.searchbaricon_width + 'px',
|
|
42153
|
+
height: sectionproperties.searchbaricon_height + 'px'
|
|
42154
42154
|
},
|
|
42155
42155
|
onClick: function onClick() {
|
|
42156
42156
|
setopenSearchBar(true);
|
|
42157
42157
|
}
|
|
42158
42158
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
42159
|
-
"class": header_cssstyles.searchbar_icon +
|
|
42159
|
+
"class": header_cssstyles.searchbar_icon + ' m-0 pr-0 cursor-pointer '
|
|
42160
42160
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
42161
42161
|
"class": "h-100 "
|
|
42162
42162
|
}, /*#__PURE__*/React__default["default"].createElement(FiSearch.FiSearch, {
|
|
42163
42163
|
size: sectionproperties.searchbaricon_fontsize
|
|
42164
42164
|
})))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.instcurrencies) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42165
|
-
"class":
|
|
42165
|
+
"class": ' d-flex align-items-center justify-content-end '
|
|
42166
42166
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
42167
|
-
"class":
|
|
42168
|
-
}, langdetect !=
|
|
42169
|
-
"class":
|
|
42167
|
+
"class": ' d-flex align-items-center justify-content-center '
|
|
42168
|
+
}, langdetect != 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42169
|
+
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
42170
42170
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42171
42171
|
"class": "m-0 p-0 mr-2 ml-2",
|
|
42172
42172
|
style: {
|
|
@@ -42174,8 +42174,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
42174
42174
|
}
|
|
42175
42175
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
|
|
42176
42176
|
color: sectionproperties.searchbaricon_color
|
|
42177
|
-
})), langdetect ==
|
|
42178
|
-
"class":
|
|
42177
|
+
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42178
|
+
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
42179
42179
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42180
42180
|
"class": "m-0 p-0 ml-2 mr-2",
|
|
42181
42181
|
style: {
|
|
@@ -42196,16 +42196,16 @@ var Modernheader = function Modernheader(props) {
|
|
|
42196
42196
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42197
42197
|
"class": "".concat(header_cssstyles.dropdownitemcontainer)
|
|
42198
42198
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42199
|
-
"class":
|
|
42199
|
+
"class": 'dropdownitem d-flex align-items-center justify-content-center m-0 p-0',
|
|
42200
42200
|
style: {
|
|
42201
|
-
fontSize: sectionproperties.dropdown_fontsize +
|
|
42201
|
+
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
42202
42202
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
42203
42203
|
textTransform: sectionproperties.dropdown_texttransform,
|
|
42204
42204
|
color: sectionproperties.dropdownitemcontainer
|
|
42205
42205
|
}
|
|
42206
42206
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
42207
|
-
"class":
|
|
42208
|
-
}, langdetect !=
|
|
42207
|
+
"class": 'ml-2 mr-2'
|
|
42208
|
+
}, langdetect != 'ar' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.instcurrencies) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42209
42209
|
"class": "col-lg-12 p-0"
|
|
42210
42210
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
42211
42211
|
"class": "m-0"
|
|
@@ -42213,86 +42213,86 @@ var Modernheader = function Modernheader(props) {
|
|
|
42213
42213
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42214
42214
|
"class": "col-lg-4 col-md-6 col-sm-12 allcentered p-0"
|
|
42215
42215
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42216
|
-
"class": "".concat(header_cssstyles.header_logo) +
|
|
42216
|
+
"class": "".concat(header_cssstyles.header_logo) + ' allcentered ',
|
|
42217
42217
|
style: {
|
|
42218
|
-
cursor:
|
|
42218
|
+
cursor: 'pointer'
|
|
42219
42219
|
},
|
|
42220
42220
|
onClick: function onClick() {
|
|
42221
|
-
routingcountext(
|
|
42221
|
+
routingcountext('home');
|
|
42222
42222
|
}
|
|
42223
42223
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
42224
42224
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
42225
42225
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
42226
|
-
path: langdetect !=
|
|
42226
|
+
path: langdetect != 'ar' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
|
|
42227
42227
|
style: {
|
|
42228
|
-
maxWidth:
|
|
42229
|
-
maxHeight:
|
|
42230
|
-
objectFit:
|
|
42228
|
+
maxWidth: '100%',
|
|
42229
|
+
maxHeight: '100%',
|
|
42230
|
+
objectFit: 'contain'
|
|
42231
42231
|
}
|
|
42232
42232
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42233
42233
|
"class": "col-lg-4 col-md-6 col-sm-12 p-0 d-flex align-items-center justify-content-end"
|
|
42234
42234
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42235
42235
|
style: {
|
|
42236
|
-
marginRight: langdetect !=
|
|
42237
|
-
marginLeft: langdetect !=
|
|
42236
|
+
marginRight: langdetect != 'ar' ? '30px' : 0,
|
|
42237
|
+
marginLeft: langdetect != 'ar' ? 0 : '30px'
|
|
42238
42238
|
}
|
|
42239
42239
|
}, /*#__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", {
|
|
42240
|
-
"class": " ".concat(header_cssstyles.user_btn) +
|
|
42240
|
+
"class": " ".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
|
|
42241
42241
|
sytle: {
|
|
42242
|
-
position:
|
|
42242
|
+
position: 'relative'
|
|
42243
42243
|
},
|
|
42244
42244
|
onClick: function onClick() {
|
|
42245
42245
|
routingcountext(StaticPagesLinksContext.Login);
|
|
42246
42246
|
}
|
|
42247
42247
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
42248
|
-
"class":
|
|
42248
|
+
"class": ' h-100 d-flex align-items-center '
|
|
42249
42249
|
}, /*#__PURE__*/React__default["default"].createElement(BiUser.BiUser, {
|
|
42250
42250
|
size: sectionproperties.userBtnTextfontsize
|
|
42251
42251
|
}))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42252
|
-
"class": header_cssstyles.userBtnLoggedinContainer +
|
|
42252
|
+
"class": header_cssstyles.userBtnLoggedinContainer + ' allcentered ',
|
|
42253
42253
|
sytle: {
|
|
42254
|
-
position:
|
|
42254
|
+
position: 'relative'
|
|
42255
42255
|
}
|
|
42256
42256
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42257
|
-
"class": header_cssstyles.loggedinuserbtn +
|
|
42257
|
+
"class": header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '
|
|
42258
42258
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
42259
|
-
"class":
|
|
42259
|
+
"class": ' h-100 allcentered '
|
|
42260
42260
|
}, /*#__PURE__*/React__default["default"].createElement(BiUser.BiUser, {
|
|
42261
42261
|
size: sectionproperties.loggedinusericonfontsize
|
|
42262
42262
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42263
42263
|
"class": "m-0 p-0 loggedinuserbtn flex-column",
|
|
42264
42264
|
style: {
|
|
42265
|
-
textAlign: langdetect !=
|
|
42265
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
42266
42266
|
}
|
|
42267
42267
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42268
42268
|
"class": "m-0 p-0 mb-1",
|
|
42269
42269
|
style: {
|
|
42270
42270
|
color: sectionproperties.greetingtextcolor,
|
|
42271
|
-
fontSize: sectionproperties.greetingtextfontsize +
|
|
42272
|
-
lineHeight: sectionproperties.greetingtextfontsize +
|
|
42271
|
+
fontSize: sectionproperties.greetingtextfontsize + 'px',
|
|
42272
|
+
lineHeight: sectionproperties.greetingtextfontsize + 'px',
|
|
42273
42273
|
fontWeight: 400
|
|
42274
42274
|
}
|
|
42275
|
-
}, lang.hello, langdetect !=
|
|
42276
|
-
"class": header_cssstyles.loggedinusername +
|
|
42275
|
+
}, lang.hello, langdetect != 'ar' ? ',' : '،'), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42276
|
+
"class": header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow ',
|
|
42277
42277
|
style: {
|
|
42278
|
-
maxWidth:
|
|
42278
|
+
maxWidth: '120px'
|
|
42279
42279
|
}
|
|
42280
42280
|
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.name)))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
|
|
42281
42281
|
style: {
|
|
42282
|
-
minWidth:
|
|
42282
|
+
minWidth: '200px'
|
|
42283
42283
|
}
|
|
42284
42284
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42285
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) +
|
|
42285
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
42286
42286
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
42287
42287
|
style: {
|
|
42288
42288
|
color: sectionproperties.greetingtextcolor,
|
|
42289
|
-
fontSize: sectionproperties.dropdown_fontsize +
|
|
42289
|
+
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
42290
42290
|
fontWeight: 400
|
|
42291
42291
|
}
|
|
42292
42292
|
}, lang.hello, ","), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42293
|
-
"class": "".concat(header_cssstyles.dropdownitem) +
|
|
42293
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' font-weight-600 ml-1 mr-1 text-overflow text-capitalize dropdownitem m-0 p-0 ',
|
|
42294
42294
|
style: {
|
|
42295
|
-
maxWidth:
|
|
42295
|
+
maxWidth: '120px'
|
|
42296
42296
|
},
|
|
42297
42297
|
onClick: function onClick() {
|
|
42298
42298
|
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
@@ -42307,207 +42307,239 @@ var Modernheader = function Modernheader(props) {
|
|
|
42307
42307
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
42308
42308
|
}
|
|
42309
42309
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42310
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) +
|
|
42310
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
42311
42311
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
42312
42312
|
"class": "h-100 allcentered"
|
|
42313
|
-
}, sectionproperties.carticonstyle ==
|
|
42314
|
-
"class": langdetect !=
|
|
42315
|
-
}), sectionproperties.carticonstyle ==
|
|
42316
|
-
"class": langdetect !=
|
|
42317
|
-
}), sectionproperties.carticonstyle ==
|
|
42318
|
-
"class": langdetect !=
|
|
42319
|
-
}), sectionproperties.carticonstyle ==
|
|
42320
|
-
"class": langdetect !=
|
|
42321
|
-
}), sectionproperties.carticonstyle ==
|
|
42322
|
-
"class": langdetect !=
|
|
42323
|
-
}), sectionproperties.carticonstyle ==
|
|
42324
|
-
"class": langdetect !=
|
|
42325
|
-
}), sectionproperties.carticonstyle ==
|
|
42326
|
-
"class": langdetect !=
|
|
42313
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
42314
|
+
"class": langdetect != 'ar' ? 'mr-2' : 'ml-2'
|
|
42315
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
42316
|
+
"class": langdetect != 'ar' ? 'mr-2' : 'ml-2'
|
|
42317
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
42318
|
+
"class": langdetect != 'ar' ? 'mr-2' : 'ml-2'
|
|
42319
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, {
|
|
42320
|
+
"class": langdetect != 'ar' ? 'mr-2' : 'ml-2'
|
|
42321
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
42322
|
+
"class": langdetect != 'ar' ? 'mr-2' : 'ml-2'
|
|
42323
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
42324
|
+
"class": langdetect != 'ar' ? 'mr-2' : 'ml-2'
|
|
42325
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
42326
|
+
"class": langdetect != 'ar' ? 'mr-2' : 'ml-2'
|
|
42327
42327
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42328
|
-
"class":
|
|
42328
|
+
"class": ' allcenetered m-0 p-0 '
|
|
42329
42329
|
}, sectionproperties["previousorders_title".concat(langdetect)] || sectionproperties.previousorders_titleen))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
42330
42330
|
onClick: function onClick() {
|
|
42331
42331
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
42332
42332
|
}
|
|
42333
42333
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42334
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) +
|
|
42334
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
42335
42335
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
42336
42336
|
"class": "h-100 allcentered"
|
|
42337
|
-
}, sectionproperties.faviconshape ==
|
|
42338
|
-
"class": langdetect !=
|
|
42339
|
-
}), sectionproperties.faviconshape ==
|
|
42340
|
-
"class": langdetect !=
|
|
42337
|
+
}, sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
42338
|
+
"class": langdetect != 'ar' ? 'mr-2' : 'ml-2'
|
|
42339
|
+
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
42340
|
+
"class": langdetect != 'ar' ? 'mr-2' : 'ml-2'
|
|
42341
42341
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42342
|
-
"class":
|
|
42342
|
+
"class": ' allcenetered m-0 p-0 '
|
|
42343
42343
|
}, lang.wishlist))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
42344
42344
|
onClick: function onClick() {
|
|
42345
42345
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
42346
42346
|
}
|
|
42347
42347
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42348
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) +
|
|
42348
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
42349
42349
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
42350
42350
|
"class": "h-100 allcentered"
|
|
42351
42351
|
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineSecurityScan.AiOutlineSecurityScan, {
|
|
42352
|
-
"class": langdetect !=
|
|
42352
|
+
"class": langdetect != 'ar' ? 'mr-2' : 'ml-2'
|
|
42353
42353
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42354
|
-
"class":
|
|
42354
|
+
"class": ' allcenetered m-0 p-0 '
|
|
42355
42355
|
}, lang.policies))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
42356
42356
|
onClick: function onClick() {
|
|
42357
42357
|
LogoutMutationContext.mutate();
|
|
42358
42358
|
}
|
|
42359
42359
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42360
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) +
|
|
42360
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
42361
42361
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
42362
42362
|
"class": "h-100 allcentered"
|
|
42363
42363
|
}, /*#__PURE__*/React__default["default"].createElement(BiLogOutCircle.BiLogOutCircle, {
|
|
42364
|
-
"class": langdetect !=
|
|
42364
|
+
"class": langdetect != 'ar' ? 'mr-2' : 'ml-2'
|
|
42365
42365
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42366
|
-
"class":
|
|
42367
|
-
}, lang.logout)))))), sectionproperties.favBtnShow ==
|
|
42368
|
-
"class": "".concat(header_cssstyles.wishlist_btn, " ").concat(headerstyles$g.header_menu) +
|
|
42366
|
+
"class": ' allcenetered m-0 p-0 '
|
|
42367
|
+
}, lang.logout)))))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42368
|
+
"class": "".concat(header_cssstyles.wishlist_btn, " ").concat(headerstyles$g.header_menu) + ' cursor-pointer allcentered ',
|
|
42369
42369
|
onClick: function onClick() {
|
|
42370
42370
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
42371
42371
|
},
|
|
42372
42372
|
style: {
|
|
42373
|
-
marginRight: langdetect !=
|
|
42374
|
-
marginLeft: langdetect !=
|
|
42373
|
+
marginRight: langdetect != 'ar' ? '30px' : 0,
|
|
42374
|
+
marginLeft: langdetect != 'ar' ? 0 : '30px'
|
|
42375
42375
|
}
|
|
42376
42376
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
42377
|
-
"class": "".concat(headerstyles$g.nav_link, " ") +
|
|
42377
|
+
"class": "".concat(headerstyles$g.nav_link, " ") + ' pr-0 ',
|
|
42378
42378
|
style: {
|
|
42379
|
-
position:
|
|
42379
|
+
position: 'relative'
|
|
42380
42380
|
}
|
|
42381
42381
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
42382
42382
|
"class": "allcentered"
|
|
42383
|
-
}, sectionproperties.faviconshape ==
|
|
42383
|
+
}, sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
42384
42384
|
style: {
|
|
42385
|
-
fontSize: sectionproperties.favBtnIconfontsize +
|
|
42385
|
+
fontSize: sectionproperties.favBtnIconfontsize + 'px'
|
|
42386
42386
|
}
|
|
42387
|
-
}), sectionproperties.faviconshape ==
|
|
42387
|
+
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
42388
42388
|
style: {
|
|
42389
|
-
fontSize: sectionproperties.favBtnIconfontsize +
|
|
42389
|
+
fontSize: sectionproperties.favBtnIconfontsize + 'px'
|
|
42390
42390
|
}
|
|
42391
42391
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42392
42392
|
"class": "".concat(headerstyles$g.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications),
|
|
42393
42393
|
style: {
|
|
42394
|
-
top: sectionproperties.wishlistbadgetop +
|
|
42395
|
-
right: sectionproperties.wishlistbadgeright +
|
|
42394
|
+
top: sectionproperties.wishlistbadgetop + 'px',
|
|
42395
|
+
right: sectionproperties.wishlistbadgeright + 'px'
|
|
42396
42396
|
}
|
|
42397
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", null, favoriteprojectscountContext.length >= 10 ?
|
|
42398
|
-
"class": "".concat(headerstyles$g.header_menu, " ").concat(header_cssstyles.cart_btn) +
|
|
42397
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", null, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42398
|
+
"class": "".concat(headerstyles$g.header_menu, " ").concat(header_cssstyles.cart_btn) + ' cursor-pointer allcentered ',
|
|
42399
42399
|
onClick: function onClick() {
|
|
42400
42400
|
setsidecartnavshowcontext(true);
|
|
42401
42401
|
},
|
|
42402
42402
|
style: {
|
|
42403
|
-
marginRight: langdetect !=
|
|
42404
|
-
marginLeft: langdetect !=
|
|
42403
|
+
marginRight: langdetect != 'ar' ? '30px' : 0,
|
|
42404
|
+
marginLeft: langdetect != 'ar' ? 0 : '30px'
|
|
42405
42405
|
}
|
|
42406
42406
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
42407
|
-
"class": "".concat(headerstyles$g.nav_link) +
|
|
42407
|
+
"class": "".concat(headerstyles$g.nav_link) + ' pr-0 ',
|
|
42408
42408
|
style: {
|
|
42409
|
-
position:
|
|
42409
|
+
position: 'relative'
|
|
42410
42410
|
}
|
|
42411
42411
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
42412
|
-
"class":
|
|
42413
|
-
}, sectionproperties.carticonstyle ==
|
|
42412
|
+
"class": ' allcentered '
|
|
42413
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
42414
42414
|
"class": "",
|
|
42415
42415
|
size: sectionproperties.cartBtn_iconFontSize
|
|
42416
|
-
}), sectionproperties.carticonstyle ==
|
|
42416
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
42417
42417
|
"class": "",
|
|
42418
42418
|
size: sectionproperties.cartBtn_iconFontSize
|
|
42419
|
-
}), sectionproperties.carticonstyle ==
|
|
42419
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
42420
42420
|
"class": "",
|
|
42421
42421
|
size: sectionproperties.cartBtn_iconFontSize
|
|
42422
|
-
}), sectionproperties.carticonstyle ==
|
|
42422
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, {
|
|
42423
42423
|
"class": "",
|
|
42424
42424
|
size: sectionproperties.cartBtn_iconFontSize
|
|
42425
|
-
}), sectionproperties.carticonstyle ==
|
|
42425
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
42426
42426
|
"class": "",
|
|
42427
42427
|
size: sectionproperties.cartBtn_iconFontSize
|
|
42428
|
-
}), sectionproperties.carticonstyle ==
|
|
42428
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
42429
42429
|
size: sectionproperties.cartBtn_iconFontSize
|
|
42430
|
-
}), sectionproperties.carticonstyle ==
|
|
42430
|
+
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
42431
42431
|
size: sectionproperties.cartBtn_iconFontSize
|
|
42432
42432
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42433
|
-
className: "".concat(headerstyles$g.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) +
|
|
42433
|
+
className: "".concat(headerstyles$g.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center text-center ',
|
|
42434
42434
|
style: {
|
|
42435
|
-
top: sectionproperties.cartbadgetop +
|
|
42436
|
-
right: sectionproperties.cartbadgeright +
|
|
42435
|
+
top: sectionproperties.cartbadgetop + 'px',
|
|
42436
|
+
right: sectionproperties.cartbadgeright + 'px'
|
|
42437
42437
|
}
|
|
42438
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ?
|
|
42439
|
-
"class": langdetect !=
|
|
42440
|
-
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
42441
|
-
"class": "".concat(headerstyles$g.header_menu) +
|
|
42442
|
-
}, langdetect ==
|
|
42443
|
-
"class": "".concat(header_cssstyles.languagecontainer) +
|
|
42444
|
-
},
|
|
42445
|
-
|
|
42438
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42439
|
+
"class": langdetect != 'ar' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
42440
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) == '68c6a5ff3e0d0' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
42441
|
+
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
42442
|
+
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42443
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
42444
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42445
|
+
"class": "m-0 p-0"
|
|
42446
|
+
}, "Norsk")), langdetect == 'nrwig' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42447
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
42448
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42449
|
+
"class": "m-0 p-0"
|
|
42450
|
+
}, "En")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
42451
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
42452
|
+
onClick: function onClick() {
|
|
42453
|
+
setlang('nrwig');
|
|
42454
|
+
}
|
|
42455
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42456
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
42457
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42458
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
42459
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
42460
|
+
"class": "ml-2 mr-2"
|
|
42461
|
+
}, "Norsk")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
42462
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
42463
|
+
onClick: function onClick() {
|
|
42464
|
+
setlang('en');
|
|
42465
|
+
}
|
|
42466
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42467
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
42468
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42469
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
42470
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
42471
|
+
"class": "ml-2 mr-2"
|
|
42472
|
+
}, lang.english)))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) != '68c6a5ff3e0d0' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
42473
|
+
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
42474
|
+
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42475
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
42476
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
42477
|
+
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
42446
42478
|
style: {
|
|
42447
|
-
maxWidth:
|
|
42448
|
-
maxHeight:
|
|
42479
|
+
maxWidth: '2.5vh',
|
|
42480
|
+
maxHeight: '2.5vh'
|
|
42449
42481
|
}
|
|
42450
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42482
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instid) != '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42451
42483
|
"class": "m-0 p-0"
|
|
42452
|
-
}, "\u0639")), langdetect !=
|
|
42453
|
-
"class": "".concat(header_cssstyles.languagecontainer) +
|
|
42454
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42455
|
-
src:
|
|
42484
|
+
}, "\u0639")), langdetect != 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42485
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
42486
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
42487
|
+
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
42456
42488
|
style: {
|
|
42457
|
-
maxWidth:
|
|
42458
|
-
maxHeight:
|
|
42489
|
+
maxWidth: '2.5vh',
|
|
42490
|
+
maxHeight: '2.5vh'
|
|
42459
42491
|
}
|
|
42460
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42492
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) != '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42461
42493
|
"class": "m-0 p-0"
|
|
42462
42494
|
}, "En")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
42463
42495
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
42464
42496
|
onClick: function onClick() {
|
|
42465
|
-
setlang(
|
|
42497
|
+
setlang('ar');
|
|
42466
42498
|
}
|
|
42467
42499
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42468
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) +
|
|
42500
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
42469
42501
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42470
|
-
"class": "".concat(header_cssstyles.dropdownitem) +
|
|
42471
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42472
|
-
src:
|
|
42502
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
42503
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
42504
|
+
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
42473
42505
|
style: {
|
|
42474
|
-
maxWidth:
|
|
42475
|
-
maxHeight:
|
|
42506
|
+
maxWidth: '2vh',
|
|
42507
|
+
maxHeight: '2vh'
|
|
42476
42508
|
}
|
|
42477
42509
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
42478
42510
|
"class": "ml-2 mr-2"
|
|
42479
42511
|
}, lang.arabic)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
42480
42512
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
42481
42513
|
onClick: function onClick() {
|
|
42482
|
-
setlang(
|
|
42514
|
+
setlang('en');
|
|
42483
42515
|
}
|
|
42484
42516
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42485
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) +
|
|
42517
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
42486
42518
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42487
|
-
"class": "".concat(header_cssstyles.dropdownitem) +
|
|
42488
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42489
|
-
src:
|
|
42519
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
42520
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
42521
|
+
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
42490
42522
|
style: {
|
|
42491
|
-
maxWidth:
|
|
42492
|
-
maxHeight:
|
|
42523
|
+
maxWidth: '2vh',
|
|
42524
|
+
maxHeight: '2vh'
|
|
42493
42525
|
}
|
|
42494
42526
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
42495
42527
|
"class": "ml-2 mr-2"
|
|
42496
|
-
}, lang.english))))))))), sectionproperties.showlowerheadersection ==
|
|
42528
|
+
}, lang.english))))))))), sectionproperties.showlowerheadersection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42497
42529
|
"class": "col-lg-12 allcentered p-0"
|
|
42498
42530
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42499
42531
|
"class": header_cssstyles.header_divider
|
|
42500
|
-
})), sectionproperties.showlowerheadersection ==
|
|
42501
|
-
"class": sectionproperties.lowersection_paddingleft != 0 && sectionproperties.lowersection_paddingright != 0 ? "".concat(header_cssstyles.navbar_nav, " ") +
|
|
42532
|
+
})), sectionproperties.showlowerheadersection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42533
|
+
"class": sectionproperties.lowersection_paddingleft != 0 && sectionproperties.lowersection_paddingright != 0 ? "".concat(header_cssstyles.navbar_nav, " ") + ' navbar_nav row w-100 m-0 d-flex align-items-center px-1025-1 ' : "".concat(header_cssstyles.navbar_nav, " ") + ' navbar_nav row w-100 m-0 d-flex align-items-center '
|
|
42502
42534
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42503
42535
|
"class": "col-lg-12 col-md-12 justify-content-center align-items-center m-auto p-0",
|
|
42504
42536
|
style: {
|
|
42505
|
-
display: sectionproperties.subheaderposition ==
|
|
42537
|
+
display: sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'block' : 'flex'
|
|
42506
42538
|
}
|
|
42507
42539
|
}, /*#__PURE__*/React__default["default"].createElement("nav", {
|
|
42508
|
-
"class": headerstyles$g.navbar +
|
|
42540
|
+
"class": headerstyles$g.navbar + ' justify-content-center align-items-center',
|
|
42509
42541
|
style: {
|
|
42510
|
-
display: sectionproperties.showhidesubheader ==
|
|
42542
|
+
display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex'
|
|
42511
42543
|
}
|
|
42512
42544
|
}, /*#__PURE__*/React__default["default"].createElement("ul", null, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
42513
42545
|
// if (item.isselected) {
|
|
@@ -42519,10 +42551,10 @@ var Modernheader = function Modernheader(props) {
|
|
|
42519
42551
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42520
42552
|
"class": "cursor-pointer",
|
|
42521
42553
|
onClick: function onClick() {
|
|
42522
|
-
routingcountext(item.navigationroute, false,
|
|
42554
|
+
routingcountext(item.navigationroute, false, '');
|
|
42523
42555
|
}
|
|
42524
42556
|
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
42525
|
-
"class": "".concat(headerstyles$g.topbar_item_container) +
|
|
42557
|
+
"class": "".concat(headerstyles$g.topbar_item_container) + ' nav-item '
|
|
42526
42558
|
// onClick={() => {
|
|
42527
42559
|
// fetch_inst_tabex_websitetemplatesQueryContext.data.data.template.pages.forEach(function (pageitem, pageindex) {
|
|
42528
42560
|
// pageitem.isselected = false;
|
|
@@ -42535,42 +42567,42 @@ var Modernheader = function Modernheader(props) {
|
|
|
42535
42567
|
"class": "".concat(headerstyles$g.topbar_item_text, " ").concat(header_cssstyles.topbar_item_text)
|
|
42536
42568
|
}, item["pagename_".concat(langdetect)] || item.pagename))));
|
|
42537
42569
|
}
|
|
42538
|
-
}))), sectionproperties.showhidesubheader ==
|
|
42570
|
+
}))), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && /*#__PURE__*/React__default["default"].createElement(Subheader, {
|
|
42539
42571
|
sectionpropertiesprops: sectionproperties,
|
|
42540
42572
|
actions: actions,
|
|
42541
42573
|
subheaderpropertiesprops: {
|
|
42542
|
-
subheaderpositionprops:
|
|
42543
|
-
paddingLeftprops:
|
|
42544
|
-
paddingRightprops:
|
|
42545
|
-
subheadercontentpositionprops:
|
|
42574
|
+
subheaderpositionprops: 'in nav',
|
|
42575
|
+
paddingLeftprops: '30px',
|
|
42576
|
+
paddingRightprops: '30px',
|
|
42577
|
+
subheadercontentpositionprops: 'center'
|
|
42546
42578
|
}
|
|
42547
42579
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42548
42580
|
"class": "col-lg-12 p-0"
|
|
42549
|
-
}, sectionproperties.showhidesubheader ==
|
|
42581
|
+
}, sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React__default["default"].createElement(Subheader, {
|
|
42550
42582
|
sectionpropertiesprops: sectionproperties,
|
|
42551
42583
|
actions: actions,
|
|
42552
42584
|
subheaderpropertiesprops: {
|
|
42553
|
-
subheaderpositionprops:
|
|
42554
|
-
paddingLeftprops:
|
|
42555
|
-
paddingRightprops:
|
|
42556
|
-
subheadercontentpositionprops:
|
|
42585
|
+
subheaderpositionprops: 'Full Width',
|
|
42586
|
+
paddingLeftprops: '30px',
|
|
42587
|
+
paddingRightprops: '30px',
|
|
42588
|
+
subheadercontentpositionprops: 'center'
|
|
42557
42589
|
}
|
|
42558
|
-
}))), sectionproperties.responsiveheaderstyle ==
|
|
42590
|
+
}))), sectionproperties.responsiveheaderstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
|
|
42559
42591
|
sectionpropertiesprops: sectionproperties,
|
|
42560
42592
|
actions: actions
|
|
42561
|
-
}), sectionproperties.responsiveheaderstyle ==
|
|
42593
|
+
}), sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
|
|
42562
42594
|
sectionpropertiesprops: sectionproperties,
|
|
42563
42595
|
actions: actions
|
|
42564
|
-
}), sectionproperties.responsiveheaderstyle ==
|
|
42596
|
+
}), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
42565
42597
|
sectionpropertiesprops: sectionproperties,
|
|
42566
42598
|
actions: actions
|
|
42567
|
-
}), sectionproperties.responsiveheaderstyle ==
|
|
42599
|
+
}), sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
42568
42600
|
sectionpropertiesprops: sectionproperties,
|
|
42569
42601
|
actions: actions
|
|
42570
|
-
}), sectionproperties.responsiveheaderstyle ==
|
|
42602
|
+
}), sectionproperties.responsiveheaderstyle == 'Style 2 With Merged Subheader' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
42571
42603
|
sectionpropertiesprops: sectionproperties,
|
|
42572
42604
|
actions: actions
|
|
42573
|
-
}), sectionproperties.responsiveheaderstyle ==
|
|
42605
|
+
}), sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader Only' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
42574
42606
|
sectionpropertiesprops: sectionproperties,
|
|
42575
42607
|
actions: actions
|
|
42576
42608
|
}), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
@@ -42588,13 +42620,13 @@ var Modernheader = function Modernheader(props) {
|
|
|
42588
42620
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42589
42621
|
className: "".concat(generalstyles.search_wrap2, " ").concat(header_cssstyles.search_wrap),
|
|
42590
42622
|
style: {
|
|
42591
|
-
height:
|
|
42592
|
-
background:
|
|
42623
|
+
height: '120px',
|
|
42624
|
+
background: '#fff'
|
|
42593
42625
|
}
|
|
42594
42626
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42595
|
-
className:
|
|
42627
|
+
className: ' pl-5 pr-5',
|
|
42596
42628
|
style: {
|
|
42597
|
-
paddingTop:
|
|
42629
|
+
paddingTop: '30px'
|
|
42598
42630
|
}
|
|
42599
42631
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42600
42632
|
className: "row m-0 w-100 d-flex align-items-center"
|
|
@@ -42603,10 +42635,10 @@ var Modernheader = function Modernheader(props) {
|
|
|
42603
42635
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42604
42636
|
className: "col-lg-6 d-flex align-items-center justify-content-end"
|
|
42605
42637
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42606
|
-
className: header_cssstyles.closeOverlayBtn +
|
|
42638
|
+
className: header_cssstyles.closeOverlayBtn + ' cursor-pointer ',
|
|
42607
42639
|
onClick: function onClick() {
|
|
42608
42640
|
setopenSearchBar(false);
|
|
42609
|
-
setSearchHeaderInputContext(
|
|
42641
|
+
setSearchHeaderInputContext('');
|
|
42610
42642
|
}
|
|
42611
42643
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
42612
42644
|
className: "h-100 allcentered"
|
|
@@ -42620,14 +42652,14 @@ var Modernheader = function Modernheader(props) {
|
|
|
42620
42652
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
42621
42653
|
type: "text",
|
|
42622
42654
|
className: "".concat(generalstyles.search_field, " ").concat(header_cssstyles.search_field),
|
|
42623
|
-
placeholder: langdetect !=
|
|
42655
|
+
placeholder: langdetect != 'ar' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
|
|
42624
42656
|
onChange: function onChange(event) {
|
|
42625
42657
|
setSearchHeaderInputContext(event.target.value);
|
|
42626
42658
|
}
|
|
42627
42659
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42628
42660
|
style: {
|
|
42629
|
-
position:
|
|
42630
|
-
top:
|
|
42661
|
+
position: 'absolute',
|
|
42662
|
+
top: '60%',
|
|
42631
42663
|
left: 0,
|
|
42632
42664
|
right: 0
|
|
42633
42665
|
},
|
|
@@ -42635,7 +42667,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
42635
42667
|
}, /*#__PURE__*/React__default["default"].createElement(Searchlist$1, {
|
|
42636
42668
|
actions: actions,
|
|
42637
42669
|
sectionpropertiesprops: sectionproperties,
|
|
42638
|
-
srcfromprops:
|
|
42670
|
+
srcfromprops: 'StylishHeader'
|
|
42639
42671
|
}))))))));
|
|
42640
42672
|
};
|
|
42641
42673
|
|