tabexseriescomponents 0.0.122 → 0.0.124
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 +401 -383
- package/dist/index.esm.js +401 -383
- package/dist/index.umd.js +401 -383
- package/package.json +1 -1
- package/{ +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -2976,57 +2976,6 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
2976
2976
|
var routingcountext = props.actions.routingcountext;
|
|
2977
2977
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
2978
2978
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
2979
|
-
var _useState7 = React.useState([{
|
|
2980
|
-
tabname: lang.accountinformation,
|
|
2981
|
-
route: StaticPagesLinksContext.accountinfo,
|
|
2982
|
-
ischecked: currentchecked == 'accountinfo' ? true : false,
|
|
2983
|
-
icon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2984
|
-
className: "h-100 d-flex align-items-center justify-content-center"
|
|
2985
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineUser.AiOutlineUser, {
|
|
2986
|
-
size: 15
|
|
2987
|
-
})),
|
|
2988
|
-
Isvisible: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin,
|
|
2989
|
-
shown: true
|
|
2990
|
-
}, {
|
|
2991
|
-
tabname: lang.previousorders,
|
|
2992
|
-
route: StaticPagesLinksContext.Ordershistory,
|
|
2993
|
-
ischecked: currentchecked == 'previousorders' ? true : false,
|
|
2994
|
-
icon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2995
|
-
className: "h-100 d-flex align-items-center justify-content-center"
|
|
2996
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null)),
|
|
2997
|
-
Isvisible: authdetailsContext.loggedin,
|
|
2998
|
-
shown: true
|
|
2999
|
-
}, {
|
|
3000
|
-
tabname: lang.policies,
|
|
3001
|
-
route: StaticPagesLinksContext.Policies,
|
|
3002
|
-
ischecked: currentchecked == 'Policies' ? true : false,
|
|
3003
|
-
icon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3004
|
-
className: "h-100 d-flex align-items-center justify-content-center"
|
|
3005
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineSecurityScan.AiOutlineSecurityScan, null)),
|
|
3006
|
-
Isvisible: true,
|
|
3007
|
-
shown: true
|
|
3008
|
-
}, {
|
|
3009
|
-
route: StaticPagesLinksContext.Wishlist,
|
|
3010
|
-
tabname: lang.wishlist,
|
|
3011
|
-
ischecked: currentchecked == 'Wishlist' ? true : false,
|
|
3012
|
-
icon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3013
|
-
className: "h-100 d-flex align-items-center justify-content-center"
|
|
3014
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaStar.FaStar, null)),
|
|
3015
|
-
Isvisible: true,
|
|
3016
|
-
shown: true
|
|
3017
|
-
}, {
|
|
3018
|
-
route: StaticPagesLinksContext.viewcart,
|
|
3019
|
-
tabname: lang.viewcart,
|
|
3020
|
-
ischecked: currentchecked == 'Viewcart' ? true : false,
|
|
3021
|
-
icon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3022
|
-
className: "h-100 d-flex align-items-center justify-content-center"
|
|
3023
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaStar.FaStar, null)),
|
|
3024
|
-
Isvisible: true,
|
|
3025
|
-
shown: sectionproperties.cartBtnShow == 'Show' ? true : false
|
|
3026
|
-
}]),
|
|
3027
|
-
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
3028
|
-
tabsarray = _useState8[0];
|
|
3029
|
-
_useState8[1];
|
|
3030
2979
|
React.useEffect(function () {
|
|
3031
2980
|
var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
|
|
3032
2981
|
return x.staticpageid == '623dbf7ccdc8b';
|
|
@@ -3109,6 +3058,57 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
3109
3058
|
color: sectionproperties.navigationtextactivecolor
|
|
3110
3059
|
})
|
|
3111
3060
|
};
|
|
3061
|
+
var _useState7 = React.useState([{
|
|
3062
|
+
tabname: lang.accountinformation,
|
|
3063
|
+
route: StaticPagesLinksContext.accountinfo,
|
|
3064
|
+
ischecked: currentchecked == 'accountinfo' ? true : false,
|
|
3065
|
+
icon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3066
|
+
className: "h-100 d-flex align-items-center justify-content-center"
|
|
3067
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineUser.AiOutlineUser, {
|
|
3068
|
+
size: 15
|
|
3069
|
+
})),
|
|
3070
|
+
Isvisible: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin,
|
|
3071
|
+
shown: true
|
|
3072
|
+
}, {
|
|
3073
|
+
tabname: lang.previousorders,
|
|
3074
|
+
route: StaticPagesLinksContext.Ordershistory,
|
|
3075
|
+
ischecked: currentchecked == 'previousorders' ? true : false,
|
|
3076
|
+
icon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3077
|
+
className: "h-100 d-flex align-items-center justify-content-center"
|
|
3078
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null)),
|
|
3079
|
+
Isvisible: authdetailsContext.loggedin,
|
|
3080
|
+
shown: true
|
|
3081
|
+
}, {
|
|
3082
|
+
tabname: lang.policies,
|
|
3083
|
+
route: StaticPagesLinksContext.Policies,
|
|
3084
|
+
ischecked: currentchecked == 'Policies' ? true : false,
|
|
3085
|
+
icon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3086
|
+
className: "h-100 d-flex align-items-center justify-content-center"
|
|
3087
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineSecurityScan.AiOutlineSecurityScan, null)),
|
|
3088
|
+
Isvisible: true,
|
|
3089
|
+
shown: true
|
|
3090
|
+
}, {
|
|
3091
|
+
route: StaticPagesLinksContext.Wishlist,
|
|
3092
|
+
tabname: lang.wishlist,
|
|
3093
|
+
ischecked: currentchecked == 'Wishlist' ? true : false,
|
|
3094
|
+
icon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3095
|
+
className: "h-100 d-flex align-items-center justify-content-center"
|
|
3096
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaStar.FaStar, null)),
|
|
3097
|
+
Isvisible: true,
|
|
3098
|
+
shown: true
|
|
3099
|
+
}, {
|
|
3100
|
+
route: StaticPagesLinksContext.viewcart,
|
|
3101
|
+
tabname: lang.viewcart,
|
|
3102
|
+
ischecked: currentchecked == 'Viewcart' ? true : false,
|
|
3103
|
+
icon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3104
|
+
className: "h-100 d-flex align-items-center justify-content-center"
|
|
3105
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaStar.FaStar, null)),
|
|
3106
|
+
Isvisible: true,
|
|
3107
|
+
shown: sectionproperties.cartBtnShow == 'Show' ? true : false
|
|
3108
|
+
}]),
|
|
3109
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
3110
|
+
tabsarray = _useState8[0];
|
|
3111
|
+
_useState8[1];
|
|
3112
3112
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3113
3113
|
className: "row ml-0 mr-0 w-100"
|
|
3114
3114
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4406,7 +4406,7 @@ styleInject(css_248z$G);
|
|
|
4406
4406
|
function ownKeys$1J(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4407
4407
|
function _objectSpread$1J(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1J(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1J(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4408
4408
|
var Viewcart = function Viewcart(props) {
|
|
4409
|
-
var
|
|
4409
|
+
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25;
|
|
4410
4410
|
var lang = props.actions.lang;
|
|
4411
4411
|
var langdetect = props.actions.langdetect;
|
|
4412
4412
|
var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
@@ -4525,23 +4525,6 @@ var Viewcart = function Viewcart(props) {
|
|
|
4525
4525
|
}, lang.checkout)))));
|
|
4526
4526
|
};
|
|
4527
4527
|
var viewcart_cssstyles = {
|
|
4528
|
-
sectiontitlespan: glamor.css({
|
|
4529
|
-
':after': {
|
|
4530
|
-
width: sectionproperties.sectitle_lineafterwidth + '%',
|
|
4531
|
-
backgroundColor: sectionproperties.linebgcolor
|
|
4532
|
-
}
|
|
4533
|
-
}),
|
|
4534
|
-
sectiontitlespan2: glamor.css({
|
|
4535
|
-
':after': {
|
|
4536
|
-
width: sectionproperties.sectitle_lineafterwidth + 'px',
|
|
4537
|
-
height: '100%',
|
|
4538
|
-
backgroundColor: sectionproperties.linebgcolor
|
|
4539
|
-
}
|
|
4540
|
-
}),
|
|
4541
|
-
pill: glamor.css((_css = {
|
|
4542
|
-
width: sectionproperties.pillwidth + 'px',
|
|
4543
|
-
height: sectionproperties.pillheight + 'px'
|
|
4544
|
-
}, _defineProperty__default["default"](_css, "height", sectionproperties.pillheight + 'px'), _defineProperty__default["default"](_css, "backgroundColor", sectionproperties.pillbgcolor), _defineProperty__default["default"](_css, "color", sectionproperties.pillcolor), _defineProperty__default["default"](_css, "textTransform", sectionproperties.pilltextTransform), _defineProperty__default["default"](_css, "fontSize", sectionproperties.pillfontSize + 'px'), _defineProperty__default["default"](_css, "borderRadius", sectionproperties.pillborderBottomLeftRadius + 'px'), _css)),
|
|
4545
4528
|
checkoutbtnstyles: glamor.css({
|
|
4546
4529
|
background: sectionproperties.checkoutBtnbgColortranparent == 'Transparent' ? 'transparent' : sectionproperties.checkoutBtnbgColor,
|
|
4547
4530
|
width: sectionproperties.checkoutBtnWidth + 'px',
|
|
@@ -4575,22 +4558,6 @@ var Viewcart = function Viewcart(props) {
|
|
|
4575
4558
|
fontWeight: sectionproperties.summary_textfontweight,
|
|
4576
4559
|
textTransform: sectionproperties.summary_texttransform
|
|
4577
4560
|
}),
|
|
4578
|
-
applybtnstyles: glamor.css({
|
|
4579
|
-
width: sectionproperties.applybtn_width + 'px',
|
|
4580
|
-
height: sectionproperties.applybtn_height + 'px',
|
|
4581
|
-
borderRadius: sectionproperties.applybtn_borderBottomLeftRadius + 'px',
|
|
4582
|
-
textTransform: sectionproperties.applybtn_texttransform,
|
|
4583
|
-
fontSize: sectionproperties.applybtn_fontsize + 'px',
|
|
4584
|
-
color: sectionproperties.applybtn_textColor,
|
|
4585
|
-
fontWeight: sectionproperties.applybtn_Textfontweight,
|
|
4586
|
-
background: sectionproperties.applybtn_bgColor,
|
|
4587
|
-
border: sectionproperties.applybtnborderwidth + 'px solid ' + sectionproperties.applybtnbordercolor,
|
|
4588
|
-
transition: '.3s',
|
|
4589
|
-
':hover': {
|
|
4590
|
-
background: sectionproperties.applybtn_bgColoronhover,
|
|
4591
|
-
color: sectionproperties.applybtn_Textcoloronhover
|
|
4592
|
-
}
|
|
4593
|
-
}),
|
|
4594
4561
|
Salepricestyless: glamor.css({
|
|
4595
4562
|
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
4596
4563
|
fontWeight: sectionproperties.prodsalePriceFontWeight,
|
|
@@ -4623,23 +4590,6 @@ var Viewcart = function Viewcart(props) {
|
|
|
4623
4590
|
opacity: sectionproperties.trashbtn_opacityonhover
|
|
4624
4591
|
}
|
|
4625
4592
|
}),
|
|
4626
|
-
imagecont: glamor.css({
|
|
4627
|
-
width: sectionproperties.prodimage_width + 'px',
|
|
4628
|
-
height: sectionproperties.prodimage_height + 'px',
|
|
4629
|
-
border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
|
|
4630
|
-
backgroundColor: sectionproperties.prodimage_bgcolor,
|
|
4631
|
-
borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
|
|
4632
|
-
borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
|
|
4633
|
-
borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
|
|
4634
|
-
borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
|
|
4635
|
-
display: 'flex',
|
|
4636
|
-
alignItems: 'center',
|
|
4637
|
-
justifyContent: 'center',
|
|
4638
|
-
backgroundRepeat: 'no-repeat',
|
|
4639
|
-
backgroundSize: 'cover',
|
|
4640
|
-
backgroundPosition: 'center',
|
|
4641
|
-
position: 'relative'
|
|
4642
|
-
}),
|
|
4643
4593
|
quantitybtn: glamor.css({
|
|
4644
4594
|
width: sectionproperties.quantitybtn_width + 'px',
|
|
4645
4595
|
height: sectionproperties.quantitybtn_height + 'px',
|
|
@@ -4707,12 +4657,6 @@ var Viewcart = function Viewcart(props) {
|
|
|
4707
4657
|
alignItems: 'center',
|
|
4708
4658
|
justifyContent: 'center',
|
|
4709
4659
|
position: 'relative'
|
|
4710
|
-
}),
|
|
4711
|
-
input_label_name: glamor.css({
|
|
4712
|
-
color: sectionproperties.form_labelcolor,
|
|
4713
|
-
textTransform: sectionproperties.form_labeltexttransform,
|
|
4714
|
-
fontWeight: sectionproperties.form_labelfontweight,
|
|
4715
|
-
fontSize: sectionproperties.form_labelfontsize + 'px'
|
|
4716
4660
|
})
|
|
4717
4661
|
};
|
|
4718
4662
|
var _useState5 = React.useState([]),
|
|
@@ -4831,17 +4775,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
4831
4775
|
className: 'col-lg-12 p-0'
|
|
4832
4776
|
}, /*#__PURE__*/React__default["default"].createElement(Staticpagesrouter, {
|
|
4833
4777
|
currentpageprops: 'Viewcart',
|
|
4834
|
-
actions: actions
|
|
4835
|
-
pillpropertiesprops: {
|
|
4836
|
-
minWidth: sectionproperties.pillwidth + 'px',
|
|
4837
|
-
height: sectionproperties.pillheight + 'px',
|
|
4838
|
-
backgroundColor: sectionproperties.pillbgcolor,
|
|
4839
|
-
color: sectionproperties.pillcolor,
|
|
4840
|
-
textTransform: sectionproperties.pillcolor,
|
|
4841
|
-
fontWeight: sectionproperties.pillfontWeight,
|
|
4842
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
4843
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
4844
|
-
}
|
|
4778
|
+
actions: actions
|
|
4845
4779
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4846
4780
|
className: 'col-lg-12 d-flex w-100 p-0'
|
|
4847
4781
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -8425,7 +8359,7 @@ var Filter$1 = function Filter(props) {
|
|
|
8425
8359
|
className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
|
|
8426
8360
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8427
8361
|
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 '
|
|
8428
|
-
}, valueitem.valuename)));
|
|
8362
|
+
}, langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar)));
|
|
8429
8363
|
}))))));
|
|
8430
8364
|
})), sectionproperties.filterdirection == 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8431
8365
|
className: "".concat(filterstyles.filterslider_container),
|
|
@@ -8533,7 +8467,7 @@ var Filter$1 = function Filter(props) {
|
|
|
8533
8467
|
className: "col-lg-10 p-0"
|
|
8534
8468
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8535
8469
|
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'
|
|
8536
|
-
}, item.optionname)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8470
|
+
}, langdetect == 'en' ? item.optionname : item.optionname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8537
8471
|
className: "col-lg-2 p-0"
|
|
8538
8472
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
8539
8473
|
if (state.expanded == true) {
|
|
@@ -8570,7 +8504,7 @@ var Filter$1 = function Filter(props) {
|
|
|
8570
8504
|
style: {
|
|
8571
8505
|
color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
|
|
8572
8506
|
}
|
|
8573
|
-
}, valueitem.valuename)));
|
|
8507
|
+
}, langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar)));
|
|
8574
8508
|
})))))), /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
8575
8509
|
className: "mt-3 mb-3"
|
|
8576
8510
|
}));
|
|
@@ -8980,7 +8914,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
8980
8914
|
}),
|
|
8981
8915
|
viewmorebtn: glamor.css({
|
|
8982
8916
|
width: sectionproperties.viewmorebtn_Width + 'px',
|
|
8983
|
-
height: sectionproperties.viewmorebtn_Height + 'px',
|
|
8917
|
+
height: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'auto' : sectionproperties.viewmorebtn_Height + 'px',
|
|
8984
8918
|
background: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColor,
|
|
8985
8919
|
borderRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
|
|
8986
8920
|
color: sectionproperties.viewmorebtn_Textcolor,
|
|
@@ -9093,12 +9027,12 @@ var CardsSection = function CardsSection(props) {
|
|
|
9093
9027
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9094
9028
|
"class": sectionproperties.sectiontitleposition == 'Centered' ? sectionproperties.showFilter == 'show' ? 'col-lg-12 col-md-3 col-sm-3 d-flex align-item-center justify-content-center p-0' : 'col-lg-12 col-md-12 col-sm-12 d-flex align-item-center justify-content-center p-0' : 'col-lg-5 col-md-5 col-sm-3 d-flex align-item-center justify-content-end justify-content-sm-center p-0',
|
|
9095
9029
|
style: {
|
|
9096
|
-
marginTop: sectionproperties.sectiontitleposition == 'Centered' ? '
|
|
9030
|
+
marginTop: sectionproperties.sectiontitleposition == 'Centered' ? '5px' : 0
|
|
9097
9031
|
}
|
|
9098
9032
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9099
9033
|
"class": sectionproperties.sectiontitleposition == 'Centered' ? ' row m-0 w-100 d-flex align-item-center justify-content-center mt-auto mb-auto ' : ' row m-0 w-100 d-flex align-item-center justify-content-end mt-auto mb-auto '
|
|
9100
9034
|
}, sectionproperties.viewmorebtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
9101
|
-
"class": sectionproperties.sectiontitleposition == 'Centered' ? "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 allcentered mt-auto mb-auto ' : "".concat(section_cssstyles.viewmorebtn) + ' w-sm-auto btn-circle-resp m-sm-0 mt-auto mb-auto ',
|
|
9035
|
+
"class": sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? sectionproperties.sectiontitleposition == 'Centered' ? "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 allcentered mt-auto mb-auto mb-sm-3 ' : "".concat(section_cssstyles.viewmorebtn) + ' w-sm-auto btn-circle-resp m-sm-0 mt-auto mb-auto ' : sectionproperties.sectiontitleposition == 'Centered' ? "".concat(section_cssstyles.viewmorebtn) + ' m-sm-0 allcentered mt-auto mb-auto ' : "".concat(section_cssstyles.viewmorebtn) + ' w-sm-auto btn-circle-resp m-sm-0 mt-auto mb-auto ',
|
|
9102
9036
|
onClick: function onClick() {
|
|
9103
9037
|
if (fetchingtype == 'products') {
|
|
9104
9038
|
if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
|
|
@@ -9498,7 +9432,7 @@ styleInject(css_248z$z);
|
|
|
9498
9432
|
function ownKeys$1x(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
9499
9433
|
function _objectSpread$1x(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1x(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1x(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9500
9434
|
var Subheader = function Subheader(props) {
|
|
9501
|
-
var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _templatepropcontext$,
|
|
9435
|
+
var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _templatepropcontext$, _fetchCategoriesQuery3, _fetchCategoriesQuery4, _fetchCategoriesQuery5, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _fetchCategoriesQuery8, _fetchCategoriesQuery9, _fetchCategoriesQuery10, _props$subheaderprope14, _props$subheaderprope15, _fetchCategoriesQuery11, _fetchCategoriesQuery12, _fetchCategoriesQuery13, _fetchCategoriesQuery14, _fetchCategoriesQuery15, _fetchCategoriesQuery16, _fetchCategoriesQuery17;
|
|
9502
9436
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
9503
9437
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
9504
9438
|
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
@@ -9570,6 +9504,22 @@ var Subheader = function Subheader(props) {
|
|
|
9570
9504
|
boxShadow: sectionproperties.subheader_dropdown_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.subheader_dropdown_shadowColor : ''
|
|
9571
9505
|
})
|
|
9572
9506
|
};
|
|
9507
|
+
var _useState7 = React.useState([]),
|
|
9508
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
9509
|
+
pcollarray = _useState8[0],
|
|
9510
|
+
setpcollarray = _useState8[1];
|
|
9511
|
+
React.useEffect(function () {
|
|
9512
|
+
if (fetchCategoriesQueryContext.isSuccess == true && fetchCategoriesQueryContext.data.data.status == true) {
|
|
9513
|
+
var _fetchCategoriesQuery, _fetchCategoriesQuery2;
|
|
9514
|
+
var temppcollarray = _toConsumableArray__default["default"](pcollarray);
|
|
9515
|
+
fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : (_fetchCategoriesQuery2 = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery2 === void 0 ? void 0 : _fetchCategoriesQuery2.categories.forEach(function (arrayItem) {
|
|
9516
|
+
arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.parentcolletions.forEach(function (item) {
|
|
9517
|
+
temppcollarray.push(item);
|
|
9518
|
+
});
|
|
9519
|
+
});
|
|
9520
|
+
setpcollarray(_toConsumableArray__default["default"](temppcollarray));
|
|
9521
|
+
}
|
|
9522
|
+
}, [fetchCategoriesQueryContext.isSuccess]);
|
|
9573
9523
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9574
9524
|
"class": ((_props$subheaderprope = props.subheaderpropertiesprops) === null || _props$subheaderprope === void 0 ? void 0 : _props$subheaderprope.subheaderpositionprops) == 'in nav' ? "".concat(headerstyles$f.sub_outercontainer) + ' w-100 ml-0 mr-0 ' : "".concat(headerstyles$f.sub_outercontainer) + ' row ml-0 mr-0 w-100 ',
|
|
9575
9525
|
style: {
|
|
@@ -9627,7 +9577,7 @@ var Subheader = function Subheader(props) {
|
|
|
9627
9577
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 '
|
|
9628
9578
|
}, langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
9629
9579
|
}
|
|
9630
|
-
})), fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (
|
|
9580
|
+
})), sectionproperties.subheaderParentType == 'Categories' && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery3 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery3 === void 0 ? void 0 : (_fetchCategoriesQuery4 = _fetchCategoriesQuery3.data) === null || _fetchCategoriesQuery4 === void 0 ? void 0 : _fetchCategoriesQuery4.categories.map(function (item, index) {
|
|
9631
9581
|
var _props$subheaderprope6, _props$subheaderprope7;
|
|
9632
9582
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9633
9583
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
@@ -9643,6 +9593,22 @@ var Subheader = function Subheader(props) {
|
|
|
9643
9593
|
marginRight: langdetect == 'en' ? (_props$subheaderprope7 = props.subheaderpropertiesprops) === null || _props$subheaderprope7 === void 0 ? void 0 : _props$subheaderprope7.paddingRightprops : 0
|
|
9644
9594
|
}
|
|
9645
9595
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
9596
|
+
})), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray.map(function (item, index) {
|
|
9597
|
+
var _props$subheaderprope8, _props$subheaderprope9;
|
|
9598
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9599
|
+
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
9600
|
+
onClick: function onClick() {
|
|
9601
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
|
|
9602
|
+
},
|
|
9603
|
+
onMouseEnter: function onMouseEnter() {
|
|
9604
|
+
setshowdownheadermenu(true);
|
|
9605
|
+
setChoosenindex(index);
|
|
9606
|
+
},
|
|
9607
|
+
style: {
|
|
9608
|
+
marginLeft: langdetect == 'ar' ? (_props$subheaderprope8 = props.subheaderpropertiesprops) === null || _props$subheaderprope8 === void 0 ? void 0 : _props$subheaderprope8.paddingLeftprops : 0,
|
|
9609
|
+
marginRight: langdetect == 'en' ? (_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.paddingRightprops : 0
|
|
9610
|
+
}
|
|
9611
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
9646
9612
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9647
9613
|
"class": "col-lg-12 m-auto d-none d-md-flex flex-column align-items-center justify-content-center pt-md-3 pb-md-3 pl-sm-2 pr-sm-2",
|
|
9648
9614
|
style: {
|
|
@@ -9658,8 +9624,8 @@ var Subheader = function Subheader(props) {
|
|
|
9658
9624
|
justifyContent: 'center',
|
|
9659
9625
|
textAlign: 'center'
|
|
9660
9626
|
}
|
|
9661
|
-
}, fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (
|
|
9662
|
-
var _props$
|
|
9627
|
+
}, sectionproperties.subheaderParentType == 'Categories' && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery5 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery5 === void 0 ? void 0 : (_fetchCategoriesQuery6 = _fetchCategoriesQuery5.data) === null || _fetchCategoriesQuery6 === void 0 ? void 0 : _fetchCategoriesQuery6.categories.map(function (item, index) {
|
|
9628
|
+
var _props$subheaderprope10, _props$subheaderprope11;
|
|
9663
9629
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9664
9630
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
9665
9631
|
onClick: function onClick() {
|
|
@@ -9670,15 +9636,35 @@ var Subheader = function Subheader(props) {
|
|
|
9670
9636
|
setChoosenindex(index);
|
|
9671
9637
|
},
|
|
9672
9638
|
style: {
|
|
9673
|
-
marginLeft: langdetect == 'ar' ? (_props$
|
|
9674
|
-
marginRight: langdetect == 'en' ? (_props$
|
|
9639
|
+
marginLeft: langdetect == 'ar' ? (_props$subheaderprope10 = props.subheaderpropertiesprops) === null || _props$subheaderprope10 === void 0 ? void 0 : _props$subheaderprope10.paddingLeftprops : 0,
|
|
9640
|
+
marginRight: langdetect == 'en' ? (_props$subheaderprope11 = props.subheaderpropertiesprops) === null || _props$subheaderprope11 === void 0 ? void 0 : _props$subheaderprope11.paddingRightprops : 0,
|
|
9675
9641
|
color: sectionproperties.subheader_categorytitle_fontColor_resp,
|
|
9676
9642
|
fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
|
|
9677
9643
|
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
9678
9644
|
fontWeight: sectionproperties.subheader_categorytitle_textfontweight
|
|
9679
9645
|
}
|
|
9680
9646
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
9681
|
-
}))
|
|
9647
|
+
})), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray.map(function (item, index) {
|
|
9648
|
+
var _props$subheaderprope12, _props$subheaderprope13;
|
|
9649
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9650
|
+
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
9651
|
+
onClick: function onClick() {
|
|
9652
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
|
|
9653
|
+
},
|
|
9654
|
+
onMouseEnter: function onMouseEnter() {
|
|
9655
|
+
setshowdownheadermenu(true);
|
|
9656
|
+
setChoosenindex(index);
|
|
9657
|
+
},
|
|
9658
|
+
style: {
|
|
9659
|
+
marginLeft: langdetect == 'ar' ? (_props$subheaderprope12 = props.subheaderpropertiesprops) === null || _props$subheaderprope12 === void 0 ? void 0 : _props$subheaderprope12.paddingLeftprops : 0,
|
|
9660
|
+
marginRight: langdetect == 'en' ? (_props$subheaderprope13 = props.subheaderpropertiesprops) === null || _props$subheaderprope13 === void 0 ? void 0 : _props$subheaderprope13.paddingRightprops : 0,
|
|
9661
|
+
color: sectionproperties.subheader_categorytitle_fontColor_resp,
|
|
9662
|
+
fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
|
|
9663
|
+
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
9664
|
+
fontWeight: sectionproperties.subheader_categorytitle_textfontweight
|
|
9665
|
+
}
|
|
9666
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
9667
|
+
}))), Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery7 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery7 === void 0 ? void 0 : (_fetchCategoriesQuery8 = _fetchCategoriesQuery7.data) === null || _fetchCategoriesQuery8 === void 0 ? void 0 : (_fetchCategoriesQuery9 = _fetchCategoriesQuery8.categories[Choosenindex]) === null || _fetchCategoriesQuery9 === void 0 ? void 0 : (_fetchCategoriesQuery10 = _fetchCategoriesQuery9.parentcolletions) === null || _fetchCategoriesQuery10 === void 0 ? void 0 : _fetchCategoriesQuery10.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9682
9668
|
"class": "".concat(headerstyles$f.dropmenu, " ").concat(header_cssstyles.dropdownmenu, " ").concat(showdownheadermenu ? 'd-flex' : 'd-none') + ' col-lg-12 ml-auto mr-auto flex-row justify-content-center align-items-center p-sm-0 position-md-relative ',
|
|
9683
9669
|
onMouseLeave: function onMouseLeave() {
|
|
9684
9670
|
setshowdownheadermenu(false);
|
|
@@ -9686,18 +9672,18 @@ var Subheader = function Subheader(props) {
|
|
|
9686
9672
|
style: {
|
|
9687
9673
|
width: '95%',
|
|
9688
9674
|
zIndex: 2000,
|
|
9689
|
-
position: ((_props$
|
|
9690
|
-
top: ((_props$
|
|
9675
|
+
position: ((_props$subheaderprope14 = props.subheaderpropertiesprops) === null || _props$subheaderprope14 === void 0 ? void 0 : _props$subheaderprope14.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
|
|
9676
|
+
top: ((_props$subheaderprope15 = props.subheaderpropertiesprops) === null || _props$subheaderprope15 === void 0 ? void 0 : _props$subheaderprope15.subheaderpositionprops) == 'in nav' ? 30 : ''
|
|
9691
9677
|
}
|
|
9692
9678
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9693
9679
|
"class": "row m-0 w-100 d-flex pt-3 pb-3"
|
|
9694
|
-
}, (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (
|
|
9680
|
+
}, (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery11 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery11 === void 0 ? void 0 : (_fetchCategoriesQuery12 = _fetchCategoriesQuery11.data) === null || _fetchCategoriesQuery12 === void 0 ? void 0 : (_fetchCategoriesQuery13 = _fetchCategoriesQuery12.categories[Choosenindex]) === null || _fetchCategoriesQuery13 === void 0 ? void 0 : (_fetchCategoriesQuery14 = _fetchCategoriesQuery13.parentcolletions) === null || _fetchCategoriesQuery14 === void 0 ? void 0 : _fetchCategoriesQuery14.length) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9695
9681
|
"class": "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5"
|
|
9696
9682
|
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
9697
9683
|
size: 30
|
|
9698
9684
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9699
9685
|
"class": "font-16 font-weight-500 m-0 p-0"
|
|
9700
|
-
}, langdetect == 'en' ? 'No collections' : 'لا توجد مجموعات')), fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (
|
|
9686
|
+
}, langdetect == 'en' ? 'No collections' : 'لا توجد مجموعات')), sectionproperties.subheaderParentType == 'Categories' && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery15 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery15 === void 0 ? void 0 : (_fetchCategoriesQuery16 = _fetchCategoriesQuery15.data) === null || _fetchCategoriesQuery16 === void 0 ? void 0 : (_fetchCategoriesQuery17 = _fetchCategoriesQuery16.categories[Choosenindex]) === null || _fetchCategoriesQuery17 === void 0 ? void 0 : _fetchCategoriesQuery17.parentcolletions.map(function (item, index) {
|
|
9701
9687
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9702
9688
|
"class": "col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4",
|
|
9703
9689
|
style: {
|
|
@@ -9732,6 +9718,29 @@ var Subheader = function Subheader(props) {
|
|
|
9732
9718
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
9733
9719
|
"class": "mt-3 mb-0"
|
|
9734
9720
|
}))));
|
|
9721
|
+
})), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray[Choosenindex].collections.map(function (item, index) {
|
|
9722
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9723
|
+
"class": "col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4",
|
|
9724
|
+
style: {
|
|
9725
|
+
cursor: 'pointer'
|
|
9726
|
+
}
|
|
9727
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9728
|
+
"class": "row w-100 m-0 d-flex flex-column justify-content-center mb-2"
|
|
9729
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9730
|
+
"class": "col-lg-12 p-0 mb-2",
|
|
9731
|
+
onClick: function onClick() {
|
|
9732
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
9733
|
+
}
|
|
9734
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9735
|
+
"class": "".concat(header_cssstyles.subheader_collectiontitle) + ' wordbreak m-0 p-0 ',
|
|
9736
|
+
style: {
|
|
9737
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
9738
|
+
}
|
|
9739
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), index != pcollarray[Choosenindex].collections != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9740
|
+
"class": "col-lg-12 p-0 d-none d-sm-block"
|
|
9741
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
9742
|
+
"class": "mt-3 mb-0"
|
|
9743
|
+
}))));
|
|
9735
9744
|
}))))));
|
|
9736
9745
|
};
|
|
9737
9746
|
|
|
@@ -16128,7 +16137,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
16128
16137
|
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
16129
16138
|
}),
|
|
16130
16139
|
languagecontainer: glamor.css({
|
|
16131
|
-
fontWeight:
|
|
16140
|
+
fontWeight: sectionproperties.footerinfotext_fontweight,
|
|
16132
16141
|
color: sectionproperties.language_container_color,
|
|
16133
16142
|
fontSize: sectionproperties.language_container_fontsize + 'px',
|
|
16134
16143
|
cursor: 'pointer',
|
|
@@ -16138,42 +16147,30 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
16138
16147
|
}
|
|
16139
16148
|
}),
|
|
16140
16149
|
fbbtn: glamor.css({
|
|
16141
|
-
width: sectionproperties.facebkbtnnWidth + 'px',
|
|
16142
|
-
height: sectionproperties.facebkbtnnHeight + 'px',
|
|
16143
|
-
backgroundColor: sectionproperties.facebkbtnn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColor,
|
|
16144
16150
|
color: sectionproperties.facebkbtnnTextcolor,
|
|
16145
16151
|
borderLeft: sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg,
|
|
16146
16152
|
borderRight: sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg,
|
|
16147
16153
|
transition: '.3s',
|
|
16148
16154
|
':hover': {
|
|
16149
|
-
color: sectionproperties.facebkbtnnTextcoloronhover
|
|
16150
|
-
backgroundColor: sectionproperties.facebkbtnntransparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColoronhover
|
|
16155
|
+
color: sectionproperties.facebkbtnnTextcoloronhover
|
|
16151
16156
|
}
|
|
16152
16157
|
}),
|
|
16153
16158
|
instagrambtn: glamor.css({
|
|
16154
|
-
width: sectionproperties.instgrambtnWidth + 'px',
|
|
16155
|
-
height: sectionproperties.instgrambtnHeight + 'px',
|
|
16156
|
-
backgroundColor: sectionproperties.instgrambtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColor,
|
|
16157
16159
|
color: sectionproperties.instgrambtnTextcolor,
|
|
16158
16160
|
borderLeft: langdetect == 'en' ? 0 : sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg,
|
|
16159
16161
|
borderRight: langdetect == 'en' ? sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg : 0,
|
|
16160
16162
|
transition: '.3s',
|
|
16161
16163
|
':hover': {
|
|
16162
|
-
color: sectionproperties.instgrambtnTextcoloronhover
|
|
16163
|
-
backgroundColor: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColoronhover
|
|
16164
|
+
color: sectionproperties.instgrambtnTextcoloronhover
|
|
16164
16165
|
}
|
|
16165
16166
|
}),
|
|
16166
16167
|
whatsappbtn: glamor.css({
|
|
16167
|
-
width: sectionproperties.youtubebtnWidth + 'px',
|
|
16168
|
-
height: sectionproperties.youtubebtnHeight + 'px',
|
|
16169
|
-
backgroundColor: sectionproperties.youtubebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColor,
|
|
16170
16168
|
color: sectionproperties.youtubebtnTextcolor,
|
|
16171
16169
|
transition: '.3s',
|
|
16172
16170
|
borderLeft: langdetect == 'en' ? 0 : sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg,
|
|
16173
16171
|
borderRight: langdetect == 'en' ? sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg : 0,
|
|
16174
16172
|
':hover': {
|
|
16175
|
-
color: sectionproperties.youtubebtnTextcoloronhover
|
|
16176
|
-
backgroundColor: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColoronhover
|
|
16173
|
+
color: sectionproperties.youtubebtnTextcoloronhover
|
|
16177
16174
|
}
|
|
16178
16175
|
}),
|
|
16179
16176
|
upperheadertext: glamor.css({
|
|
@@ -16251,7 +16248,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
16251
16248
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16252
16249
|
"class": "row m-0 w-100"
|
|
16253
16250
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16254
|
-
"class": header_cssstyles.fbbtn + '
|
|
16251
|
+
"class": header_cssstyles.fbbtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
|
|
16255
16252
|
onClick: function onClick() {
|
|
16256
16253
|
var _authdetailsContext$i;
|
|
16257
16254
|
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.facebooklink) != null) {
|
|
@@ -16262,7 +16259,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
16262
16259
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
16263
16260
|
size: sectionproperties.facebkbtnniconfontsize
|
|
16264
16261
|
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16265
|
-
"class": header_cssstyles.whatsappbtn + '
|
|
16262
|
+
"class": header_cssstyles.whatsappbtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
|
|
16266
16263
|
onClick: function onClick() {
|
|
16267
16264
|
var _authdetailsContext$i3;
|
|
16268
16265
|
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.whatsappnumber) != null) {
|
|
@@ -16273,7 +16270,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
16273
16270
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
16274
16271
|
size: sectionproperties.youtubebtniconfontsize
|
|
16275
16272
|
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16276
|
-
"class": header_cssstyles.instagrambtn + '
|
|
16273
|
+
"class": header_cssstyles.instagrambtn + ' pl-3 pr-3 pt-2 pb-2 allcentered cursor-pointer ',
|
|
16277
16274
|
onClick: function onClick() {
|
|
16278
16275
|
var _authdetailsContext$i5;
|
|
16279
16276
|
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
|
|
@@ -16472,7 +16469,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
16472
16469
|
"class": "".concat(header_cssstyles.searchbarcont) + ' d-flex justify-content-center align-items-center '
|
|
16473
16470
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
16474
16471
|
"class": headerstyles$8.searchbaractive + ' h-100 d-flex align-items-center'
|
|
16475
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
16472
|
+
}, /*#__PURE__*/React__default["default"].createElement(BiSearch.BiSearch, {
|
|
16476
16473
|
size: sectionproperties.searchbarcontfontsize,
|
|
16477
16474
|
style: {
|
|
16478
16475
|
transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
|
|
@@ -16726,23 +16723,17 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
16726
16723
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16727
16724
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
16728
16725
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16729
|
-
"class": "col-lg-6"
|
|
16730
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16731
|
-
style: {
|
|
16732
|
-
width: '30vh',
|
|
16733
|
-
height: '20vh'
|
|
16734
|
-
}
|
|
16726
|
+
"class": "col-lg-6 d-flex align-items-center justify-content-start"
|
|
16735
16727
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
16736
16728
|
urlEndpoint: IKurlEndpoint,
|
|
16737
16729
|
publicKey: IKpublicKey,
|
|
16738
|
-
"class": generalstyles.logo_image,
|
|
16739
16730
|
path: langdetect == 'en' ? (_logoarrayofobjects$3 = logoarrayofobjects[0]) === null || _logoarrayofobjects$3 === void 0 ? void 0 : _logoarrayofobjects$3.englishlogo : (_logoarrayofobjects$4 = logoarrayofobjects[0]) === null || _logoarrayofobjects$4 === void 0 ? void 0 : _logoarrayofobjects$4.arabiclogo,
|
|
16740
16731
|
style: {
|
|
16741
|
-
width: '
|
|
16742
|
-
height: '
|
|
16732
|
+
width: sectionproperties.searchlogowidth + 'vh',
|
|
16733
|
+
height: sectionproperties.searchlogoheight + 'vh',
|
|
16743
16734
|
objectFit: 'contain'
|
|
16744
16735
|
}
|
|
16745
|
-
}))
|
|
16736
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16746
16737
|
"class": "col-lg-6 d-flex align-items-center justify-content-end"
|
|
16747
16738
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16748
16739
|
"class": header_cssstyles.closeOverlayBtn + ' cursor-pointer ',
|
|
@@ -17945,7 +17936,8 @@ var StylishHeader = function StylishHeader(props) {
|
|
|
17945
17936
|
className: "col-lg-12",
|
|
17946
17937
|
style: {
|
|
17947
17938
|
paddingLeft: langdetect == 'en' ? sectionproperties.uppersection_paddingleft + 'px' : sectionproperties.uppersection_paddingright + 'px',
|
|
17948
|
-
paddingRight: langdetect == 'en' ? sectionproperties.uppersection_paddingright + 'px' : sectionproperties.uppersection_paddingleft + 'px'
|
|
17939
|
+
paddingRight: langdetect == 'en' ? sectionproperties.uppersection_paddingright + 'px' : sectionproperties.uppersection_paddingleft + 'px',
|
|
17940
|
+
background: sectionproperties.uppersection_bgcolor
|
|
17949
17941
|
}
|
|
17950
17942
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17951
17943
|
style: {
|
|
@@ -17957,7 +17949,7 @@ var StylishHeader = function StylishHeader(props) {
|
|
|
17957
17949
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17958
17950
|
className: header_cssstyles.lowerHeaderSection + ' row m-0 w-100 d-flex align-items-center '
|
|
17959
17951
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17960
|
-
className: "col-lg-
|
|
17952
|
+
className: "col-lg-9 d-flex align-items-center"
|
|
17961
17953
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17962
17954
|
"class": ' scrollhorizontal w-100 align-items-center justify-content-start flex-row ',
|
|
17963
17955
|
style: {
|
|
@@ -17984,7 +17976,7 @@ var StylishHeader = function StylishHeader(props) {
|
|
|
17984
17976
|
subheadercontentpositionprops: 'start'
|
|
17985
17977
|
}
|
|
17986
17978
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17987
|
-
className: "col-lg-
|
|
17979
|
+
className: "col-lg-3 d-flex align-items-center justify-content-end p-0"
|
|
17988
17980
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17989
17981
|
className: "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center ',
|
|
17990
17982
|
onClick: function onClick() {
|
|
@@ -18137,8 +18129,8 @@ var StylishHeader = function StylishHeader(props) {
|
|
|
18137
18129
|
publicKey: IKpublicKey,
|
|
18138
18130
|
path: langdetect == 'en' ? (_logoarrayofobjects$3 = logoarrayofobjects[0]) === null || _logoarrayofobjects$3 === void 0 ? void 0 : _logoarrayofobjects$3.englishlogo : (_logoarrayofobjects$4 = logoarrayofobjects[0]) === null || _logoarrayofobjects$4 === void 0 ? void 0 : _logoarrayofobjects$4.arabiclogo,
|
|
18139
18131
|
style: {
|
|
18140
|
-
width: '
|
|
18141
|
-
height: '
|
|
18132
|
+
width: sectionproperties.searchlogowidth + '%',
|
|
18133
|
+
height: sectionproperties.searchlogoheight + '%',
|
|
18142
18134
|
objectFit: 'contain'
|
|
18143
18135
|
}
|
|
18144
18136
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -22002,7 +21994,7 @@ var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
|
22002
21994
|
function ownKeys$1f(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
22003
21995
|
function _objectSpread$1f(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1f(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1f(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
22004
21996
|
var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
22005
|
-
var _css, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$c, _authdetailsContext$
|
|
21997
|
+
var _css, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6;
|
|
22006
21998
|
var lang = props.actions.lang;
|
|
22007
21999
|
var langdetect = props.actions.langdetect;
|
|
22008
22000
|
var setlang = props.actions.setlang;
|
|
@@ -22284,10 +22276,12 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
22284
22276
|
width: sectionproperties.generalbtn_width + 'px',
|
|
22285
22277
|
height: sectionproperties.generalbtn_height + 'px',
|
|
22286
22278
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertopleftradius + 'px' : sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
22287
|
-
borderTopRightRadius: langdetect == 'en' ?
|
|
22279
|
+
borderTopRightRadius: langdetect == 'en' ? 0 : sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
22288
22280
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomleftradius + 'px' : sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
22289
|
-
borderBottomRightRadius: langdetect == 'en' ?
|
|
22290
|
-
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor
|
|
22281
|
+
borderBottomRightRadius: langdetect == 'en' ? 0 : sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
22282
|
+
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
22283
|
+
borderRight: langdetect == 'en' ? 0 : sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
22284
|
+
borderLeft: langdetect == 'ar' ? 0 : sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor
|
|
22291
22285
|
}, _defineProperty__default["default"](_css, "width", '100%'), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, ':hover', {
|
|
22292
22286
|
background: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'Transparent' : sectionproperties.generalbtn_bgColoronhover,
|
|
22293
22287
|
color: sectionproperties.generalbtn_textColoronhover
|
|
@@ -22304,10 +22298,10 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
22304
22298
|
languagecontainer: glamor.css({
|
|
22305
22299
|
width: sectionproperties.language_container_width + 'px',
|
|
22306
22300
|
height: sectionproperties.language_container_height + 'px',
|
|
22307
|
-
cursor: 'pointer',
|
|
22308
|
-
transition: '.3s',
|
|
22309
22301
|
color: sectionproperties.language_container_color,
|
|
22310
22302
|
fontSize: sectionproperties.language_container_fontsize + 'px',
|
|
22303
|
+
cursor: 'pointer',
|
|
22304
|
+
transition: '.3s',
|
|
22311
22305
|
':hover': {
|
|
22312
22306
|
color: sectionproperties.language_container_coloronhover
|
|
22313
22307
|
}
|
|
@@ -22369,7 +22363,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
22369
22363
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22370
22364
|
"class": "".concat(headerstyles$4.upperheadersection, " ").concat(header_cssstyles.upperheadersection) + ' row m-0 w-100 d-flex align-items-center plr-1025-1 ',
|
|
22371
22365
|
style: {
|
|
22372
|
-
zIndex:
|
|
22366
|
+
zIndex: 201
|
|
22373
22367
|
}
|
|
22374
22368
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22375
22369
|
"class": "col-lg-2 p-0 d-flex align-items-center justify-content-start"
|
|
@@ -22496,7 +22490,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
22496
22490
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
22497
22491
|
}
|
|
22498
22492
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22499
|
-
"class": "m-0 p-0",
|
|
22493
|
+
"class": "m-0 p-0 mb-1",
|
|
22500
22494
|
style: {
|
|
22501
22495
|
fontSize: '15px',
|
|
22502
22496
|
color: sectionproperties.footerinfotext_secondarycolor,
|
|
@@ -22504,7 +22498,8 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
22504
22498
|
}
|
|
22505
22499
|
}, lang.callus2), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22506
22500
|
style: {
|
|
22507
|
-
lineHeight: sectionproperties.footerinfotext_fontsize + 'px'
|
|
22501
|
+
lineHeight: sectionproperties.footerinfotext_fontsize + 'px',
|
|
22502
|
+
letterSpacing: '2px'
|
|
22508
22503
|
},
|
|
22509
22504
|
"class": ' p-0 m-0 '
|
|
22510
22505
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : (_authdetailsContext$i6 = _authdetailsContext$i5.contactinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.mobile)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -22512,7 +22507,10 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
22512
22507
|
}, /*#__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", {
|
|
22513
22508
|
"class": ' d-flex justify-content-center align-items-center '
|
|
22514
22509
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
22515
|
-
"class": " ".concat(header_cssstyles.user_btn) + ' d-flex justify-content-center align-items-center '
|
|
22510
|
+
"class": " ".concat(header_cssstyles.user_btn) + ' d-flex justify-content-center align-items-center ',
|
|
22511
|
+
style: {
|
|
22512
|
+
fontWeight: sectionproperties.userBtnTextfontweight
|
|
22513
|
+
}
|
|
22516
22514
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22517
22515
|
"class": ' ml-2 mr-2 '
|
|
22518
22516
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -22523,18 +22521,14 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
22523
22521
|
"class": "m-0 p-0 loggedinuserbtn flex-column",
|
|
22524
22522
|
style: {
|
|
22525
22523
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
22526
|
-
fontSize: '
|
|
22524
|
+
fontSize: sectionproperties.userbtn_logintextFontSize + 'px'
|
|
22527
22525
|
}
|
|
22528
22526
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22529
|
-
sytle: {
|
|
22530
|
-
fontSize: '13px'
|
|
22531
|
-
},
|
|
22532
22527
|
"class": "m-0 p-0"
|
|
22533
22528
|
}, lang.account), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22534
22529
|
"class": ' m-0 p-0 text-overflow ',
|
|
22535
22530
|
style: {
|
|
22536
|
-
maxWidth: '120px'
|
|
22537
|
-
fontSize: '13px'
|
|
22531
|
+
maxWidth: '120px'
|
|
22538
22532
|
}
|
|
22539
22533
|
}, lang.loginregister)))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22540
22534
|
"class": header_cssstyles.userBtnLoggedinContainer + ' allcentered ',
|
|
@@ -22600,7 +22594,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
22600
22594
|
onClick: function onClick() {
|
|
22601
22595
|
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
22602
22596
|
}
|
|
22603
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
22597
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c2 = authdetailsContext.customerinfo) === null || _authdetailsContext$c2 === void 0 ? void 0 : _authdetailsContext$c2.name))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
22604
22598
|
onClick: function onClick() {
|
|
22605
22599
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
22606
22600
|
}
|
|
@@ -22741,7 +22735,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
22741
22735
|
},
|
|
22742
22736
|
"class": "ml-2 mr-2"
|
|
22743
22737
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22744
|
-
"class": "m-0 p-0 font-weight-
|
|
22738
|
+
"class": "m-0 p-0 font-weight-600"
|
|
22745
22739
|
}, "\u0639")), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22746
22740
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
22747
22741
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
@@ -22758,7 +22752,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
22758
22752
|
},
|
|
22759
22753
|
"class": "ml-2 mr-2"
|
|
22760
22754
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22761
|
-
"class": "m-0 p-0 font-weight-
|
|
22755
|
+
"class": "m-0 p-0 font-weight-600"
|
|
22762
22756
|
}, "En")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
22763
22757
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
22764
22758
|
onClick: function onClick() {
|
|
@@ -26492,17 +26486,17 @@ var Footer7 = function Footer7(props) {
|
|
|
26492
26486
|
style: {
|
|
26493
26487
|
zIndex: 10
|
|
26494
26488
|
}
|
|
26495
|
-
}, sectionproperties.showopeninghours == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26496
|
-
className: "col-xl-5 col-lg-6 col-md-12 col-sm-12 p-0 pl-lg-3 pr-lg-3 p-md-0"
|
|
26497
26489
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26490
|
+
className: "col-xl-5 col-lg-6 col-md-12 col-sm-12 p-0 pl-lg-3 pr-lg-3 p-md-0"
|
|
26491
|
+
}, sectionproperties.showopeninghours == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26498
26492
|
className: "".concat(footerStyles.footertitlestyles) + ' d-flex justify-content-start '
|
|
26499
|
-
}, lang.openinghours), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26493
|
+
}, lang.openinghours), sectionproperties.showopeninghours == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26500
26494
|
className: "row m-0 w-100 mt-3 mb-3"
|
|
26501
26495
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26502
26496
|
className: ' col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start ' + "".concat(footerStyles.footerinformationstyles)
|
|
26503
26497
|
}, " Monday-Friday"), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26504
26498
|
className: ' col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start ' + "".concat(footerStyles.footerinformationstyles)
|
|
26505
|
-
}, " 08.00 am - 10.00 pm")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26499
|
+
}, " 08.00 am - 10.00 pm")), sectionproperties.showopeninghours == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26506
26500
|
className: "row m-0 w-100 mb-3"
|
|
26507
26501
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26508
26502
|
className: ' col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start ' + "".concat(footerStyles.footerinformationstyles)
|
|
@@ -28291,10 +28285,7 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
28291
28285
|
width: sectionproperties.viewmorebtn_Width + 'px',
|
|
28292
28286
|
height: sectionproperties.viewmorebtn_Height + 'px',
|
|
28293
28287
|
background: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColor,
|
|
28294
|
-
|
|
28295
|
-
borderBottomRightRadius: sectionproperties.viewmorebtn_borderBottomRightRadius + 'px',
|
|
28296
|
-
borderTopLeftRadius: sectionproperties.viewmorebtn_borderTopLeftRadius + 'px',
|
|
28297
|
-
borderTopRightRadius: sectionproperties.viewmorebtn_borderTopRightRadius + 'px',
|
|
28288
|
+
borderRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
|
|
28298
28289
|
color: sectionproperties.viewmorebtn_Textcolor,
|
|
28299
28290
|
fontSize: sectionproperties.viewmorebtn_fontSize + 'px',
|
|
28300
28291
|
fontWeight: sectionproperties.viewmorebtn_fontWeight,
|
|
@@ -29647,7 +29638,8 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
29647
29638
|
var cardobj = {
|
|
29648
29639
|
name: '',
|
|
29649
29640
|
image: '',
|
|
29650
|
-
index: arrayindex
|
|
29641
|
+
index: arrayindex,
|
|
29642
|
+
collectionid: ''
|
|
29651
29643
|
};
|
|
29652
29644
|
cardobj.collectionid = arrayItem.collectionid;
|
|
29653
29645
|
if (langdetect == 'en') {
|
|
@@ -29658,6 +29650,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
29658
29650
|
cardobj.description = arrayItem.description_ar;
|
|
29659
29651
|
}
|
|
29660
29652
|
cardobj.image = arrayItem.collectionlogo;
|
|
29653
|
+
cardobj.collectionid = arrayItem.collectionid;
|
|
29661
29654
|
temparray.push(cardobj);
|
|
29662
29655
|
});
|
|
29663
29656
|
setcardsarray([].concat(temparray));
|
|
@@ -29702,10 +29695,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
29702
29695
|
width: sectionproperties.viewmorebtn_Width + 'px',
|
|
29703
29696
|
height: sectionproperties.viewmorebtn_Height + 'px',
|
|
29704
29697
|
background: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColor,
|
|
29705
|
-
|
|
29706
|
-
borderBottomRightRadius: sectionproperties.viewmorebtn_borderBottomRightRadius + 'px',
|
|
29707
|
-
borderTopLeftRadius: sectionproperties.viewmorebtn_borderTopLeftRadius + 'px',
|
|
29708
|
-
borderTopRightRadius: sectionproperties.viewmorebtn_borderTopRightRadius + 'px',
|
|
29698
|
+
borderRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
|
|
29709
29699
|
color: sectionproperties.viewmorebtn_Textcolor,
|
|
29710
29700
|
fontSize: sectionproperties.viewmorebtn_fontSize + 'px',
|
|
29711
29701
|
fontWeight: sectionproperties.viewmorebtn_fontWeight,
|
|
@@ -29740,10 +29730,33 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
29740
29730
|
background: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
|
|
29741
29731
|
color: sectionproperties.generalbtn_textColoronhover
|
|
29742
29732
|
}
|
|
29733
|
+
}),
|
|
29734
|
+
cardcont: glamor.css({
|
|
29735
|
+
':hover .collectioncardbutton': {
|
|
29736
|
+
color: sectionproperties.generalbtn_textColoronhover
|
|
29737
|
+
}
|
|
29738
|
+
}),
|
|
29739
|
+
bgcontainer: glamor.css({
|
|
29740
|
+
':before': {
|
|
29741
|
+
content: 's',
|
|
29742
|
+
position: 'absolute',
|
|
29743
|
+
top: 0,
|
|
29744
|
+
right: 0,
|
|
29745
|
+
bottom: 0,
|
|
29746
|
+
left: 0,
|
|
29747
|
+
fontSize: 0,
|
|
29748
|
+
width: '100%',
|
|
29749
|
+
height: '100%',
|
|
29750
|
+
backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')',
|
|
29751
|
+
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
29752
|
+
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
29753
|
+
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
29754
|
+
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px'
|
|
29755
|
+
}
|
|
29743
29756
|
})
|
|
29744
29757
|
};
|
|
29745
29758
|
var cardsrender = function cardsrender() {
|
|
29746
|
-
var _cardsarray
|
|
29759
|
+
var _cardsarray$2, _cardsarray$3, _cardsarray$5, _cardsarray$6, _cardsarray$8, _cardsarray$9, _cardsarray$11, _cardsarray$12, _cardsarray$14, _cardsarray$15;
|
|
29747
29760
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29748
29761
|
"class": 'row m-0 w-100'
|
|
29749
29762
|
}, !fetchProductsQuery.isFetching && cardsarray.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -29839,8 +29852,12 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
29839
29852
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29840
29853
|
"class": "row m-0 w-100 "
|
|
29841
29854
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29842
|
-
"class": langdetect == 'en' ? 'col-lg-6 pl-0 pr-0 p-md-0 mb-md-3' : 'col-lg-6 pr-0 pl-0 p-md-0 mb-md-3',
|
|
29843
|
-
style: {}
|
|
29855
|
+
"class": langdetect == 'en' ? section_cssstyles.cardcont + ' col-lg-6 pl-0 pr-0 p-md-0 mb-md-3 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 pr-0 pl-0 p-md-0 mb-md-3 cursor-pointer ',
|
|
29856
|
+
style: {},
|
|
29857
|
+
onClick: function onClick() {
|
|
29858
|
+
var _cardsarray$;
|
|
29859
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$ = cardsarray[0]) === null || _cardsarray$ === void 0 ? void 0 : _cardsarray$.collectionid));
|
|
29860
|
+
}
|
|
29844
29861
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29845
29862
|
"class": "row m-0 w-100",
|
|
29846
29863
|
style: {
|
|
@@ -29848,13 +29865,13 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
29848
29865
|
height: '80vh'
|
|
29849
29866
|
}
|
|
29850
29867
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29851
|
-
"class":
|
|
29868
|
+
"class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
|
|
29852
29869
|
style: {
|
|
29853
29870
|
width: '100%',
|
|
29854
29871
|
height: '100%'
|
|
29855
29872
|
}
|
|
29856
29873
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
29857
|
-
path: (_cardsarray$ = cardsarray[0]) === null || _cardsarray$ === void 0 ? void 0 : _cardsarray
|
|
29874
|
+
path: (_cardsarray$2 = cardsarray[0]) === null || _cardsarray$2 === void 0 ? void 0 : _cardsarray$2.image,
|
|
29858
29875
|
urlEndpoint: IKurlEndpoint,
|
|
29859
29876
|
publicKey: IKpublicKey,
|
|
29860
29877
|
loading: "lazy",
|
|
@@ -29869,39 +29886,32 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
29869
29886
|
zIndex: 1
|
|
29870
29887
|
}
|
|
29871
29888
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29872
|
-
style: {
|
|
29889
|
+
style: _defineProperty__default["default"]({
|
|
29873
29890
|
position: 'absolute',
|
|
29874
29891
|
zIndex: 1000,
|
|
29875
29892
|
height: '100%',
|
|
29876
29893
|
width: '100%'
|
|
29877
|
-
}
|
|
29894
|
+
}, "zIndex", 5)
|
|
29878
29895
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29879
29896
|
"class": "row m-0 w-100 p-3"
|
|
29880
29897
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29881
29898
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
29882
29899
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29883
29900
|
"class": section_cssstyles.collectionname + ' m-0 p-0 '
|
|
29884
|
-
}, (_cardsarray$
|
|
29901
|
+
}, (_cardsarray$3 = cardsarray[0]) === null || _cardsarray$3 === void 0 ? void 0 : _cardsarray$3.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29885
29902
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
29886
29903
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29887
|
-
"class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered '
|
|
29888
|
-
onClick: function onClick() {
|
|
29889
|
-
if (fetchingtype == 'products') {
|
|
29890
|
-
if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
|
|
29891
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
|
|
29892
|
-
} else {
|
|
29893
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
29894
|
-
}
|
|
29895
|
-
} else {
|
|
29896
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
29897
|
-
}
|
|
29898
|
-
}
|
|
29904
|
+
"class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
|
|
29899
29905
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29900
29906
|
"class": 'col-lg-6 pl-0 pr-0'
|
|
29901
29907
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29902
29908
|
"class": "row m-0 w-100"
|
|
29903
29909
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29904
|
-
"class": langdetect == 'en' ? 'col-lg-6 pr-0 mb-2 p-md-0 mb-md-3' : 'col-lg-6 pl-0 mb-2 p-md-0 mb-md-3'
|
|
29910
|
+
"class": langdetect == 'en' ? section_cssstyles.cardcont + ' col-lg-6 pr-0 mb-2 p-md-0 mb-md-3 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 pl-0 mb-2 p-md-0 mb-md-3 cursor-pointer ',
|
|
29911
|
+
onClick: function onClick() {
|
|
29912
|
+
var _cardsarray$4;
|
|
29913
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$4 = cardsarray[1]) === null || _cardsarray$4 === void 0 ? void 0 : _cardsarray$4.collectionid));
|
|
29914
|
+
}
|
|
29905
29915
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29906
29916
|
"class": "row m-0 w-100",
|
|
29907
29917
|
style: {
|
|
@@ -29909,7 +29919,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
29909
29919
|
height: '40vh'
|
|
29910
29920
|
}
|
|
29911
29921
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29912
|
-
"class":
|
|
29922
|
+
"class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
|
|
29913
29923
|
style: {
|
|
29914
29924
|
width: '100%',
|
|
29915
29925
|
height: '100%'
|
|
@@ -29917,7 +29927,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
29917
29927
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
29918
29928
|
urlEndpoint: IKurlEndpoint,
|
|
29919
29929
|
publicKey: IKpublicKey,
|
|
29920
|
-
path: (_cardsarray$
|
|
29930
|
+
path: (_cardsarray$5 = cardsarray[1]) === null || _cardsarray$5 === void 0 ? void 0 : _cardsarray$5.image,
|
|
29921
29931
|
loading: "lazy",
|
|
29922
29932
|
style: {
|
|
29923
29933
|
width: '100%',
|
|
@@ -29930,40 +29940,33 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
29930
29940
|
zIndex: 1
|
|
29931
29941
|
}
|
|
29932
29942
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29933
|
-
style: {
|
|
29943
|
+
style: _defineProperty__default["default"]({
|
|
29934
29944
|
position: 'absolute',
|
|
29935
29945
|
zIndex: 1000,
|
|
29936
29946
|
bottom: 20,
|
|
29937
29947
|
left: 0,
|
|
29938
29948
|
right: 0,
|
|
29939
29949
|
margin: 'auto'
|
|
29940
|
-
}
|
|
29950
|
+
}, "zIndex", 5)
|
|
29941
29951
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29942
29952
|
"class": "row m-0 w-100 p-3 mt-auto"
|
|
29943
29953
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29944
29954
|
"class": "col-lg-12 p-0 d-flex justify-content-center"
|
|
29945
29955
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29946
29956
|
"class": section_cssstyles.collectionname + ' m-0 p-0 '
|
|
29947
|
-
}, (_cardsarray$
|
|
29957
|
+
}, (_cardsarray$6 = cardsarray[1]) === null || _cardsarray$6 === void 0 ? void 0 : _cardsarray$6.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29948
29958
|
"class": "col-lg-12 p-0 d-flex justify-content-center"
|
|
29949
29959
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29950
|
-
"class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered '
|
|
29951
|
-
onClick: function onClick() {
|
|
29952
|
-
if (fetchingtype == 'products') {
|
|
29953
|
-
if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
|
|
29954
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
|
|
29955
|
-
} else {
|
|
29956
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
29957
|
-
}
|
|
29958
|
-
} else {
|
|
29959
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
29960
|
-
}
|
|
29961
|
-
}
|
|
29960
|
+
"class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
|
|
29962
29961
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29963
|
-
"class":
|
|
29962
|
+
"class": section_cssstyles.cardcont + ' col-lg-6 mb-2 p-md-0 mb-md-3 cursor-pointer ',
|
|
29964
29963
|
style: {
|
|
29965
29964
|
paddingRight: langdetect == 'en' ? 0 : '',
|
|
29966
29965
|
paddingLeft: langdetect == 'ar' ? 0 : ''
|
|
29966
|
+
},
|
|
29967
|
+
onClick: function onClick() {
|
|
29968
|
+
var _cardsarray$7;
|
|
29969
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$7 = cardsarray[2]) === null || _cardsarray$7 === void 0 ? void 0 : _cardsarray$7.collectionid));
|
|
29967
29970
|
}
|
|
29968
29971
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29969
29972
|
"class": "row m-0 w-100",
|
|
@@ -29972,7 +29975,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
29972
29975
|
height: '40vh'
|
|
29973
29976
|
}
|
|
29974
29977
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29975
|
-
"class":
|
|
29978
|
+
"class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
|
|
29976
29979
|
style: {
|
|
29977
29980
|
width: '100%',
|
|
29978
29981
|
height: '100%'
|
|
@@ -29980,7 +29983,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
29980
29983
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
29981
29984
|
urlEndpoint: IKurlEndpoint,
|
|
29982
29985
|
publicKey: IKpublicKey,
|
|
29983
|
-
path: (_cardsarray$
|
|
29986
|
+
path: (_cardsarray$8 = cardsarray[2]) === null || _cardsarray$8 === void 0 ? void 0 : _cardsarray$8.image,
|
|
29984
29987
|
loading: "lazy",
|
|
29985
29988
|
style: {
|
|
29986
29989
|
width: '100%',
|
|
@@ -29993,37 +29996,30 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
29993
29996
|
zIndex: 1
|
|
29994
29997
|
}
|
|
29995
29998
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29996
|
-
style: {
|
|
29999
|
+
style: _defineProperty__default["default"]({
|
|
29997
30000
|
position: 'absolute',
|
|
29998
30001
|
zIndex: 1000,
|
|
29999
30002
|
bottom: 20,
|
|
30000
30003
|
left: 0,
|
|
30001
30004
|
right: 0,
|
|
30002
30005
|
margin: 'auto'
|
|
30003
|
-
}
|
|
30006
|
+
}, "zIndex", 5)
|
|
30004
30007
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30005
30008
|
"class": "row m-0 w-100 p-3 mt-auto"
|
|
30006
30009
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30007
30010
|
"class": "col-lg-12 p-0 d-flex justify-content-center"
|
|
30008
30011
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
30009
30012
|
"class": section_cssstyles.collectionname + ' m-0 p-0 '
|
|
30010
|
-
}, (_cardsarray$
|
|
30013
|
+
}, (_cardsarray$9 = cardsarray[2]) === null || _cardsarray$9 === void 0 ? void 0 : _cardsarray$9.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30011
30014
|
"class": "col-lg-12 p-0 d-flex justify-content-center"
|
|
30012
30015
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
30013
|
-
"class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered '
|
|
30016
|
+
"class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
|
|
30017
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30018
|
+
"class": langdetect == 'en' ? section_cssstyles.cardcont + ' col-lg-7 pr-0 p-md-0 mb-md-3 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-7 p-md-0 pl-0 mb-md-3 cursor-pointer ',
|
|
30014
30019
|
onClick: function onClick() {
|
|
30015
|
-
|
|
30016
|
-
|
|
30017
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
|
|
30018
|
-
} else {
|
|
30019
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
30020
|
-
}
|
|
30021
|
-
} else {
|
|
30022
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
30023
|
-
}
|
|
30020
|
+
var _cardsarray$10;
|
|
30021
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$10 = cardsarray[3]) === null || _cardsarray$10 === void 0 ? void 0 : _cardsarray$10.collectionid));
|
|
30024
30022
|
}
|
|
30025
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30026
|
-
"class": langdetect == 'en' ? 'col-lg-7 pr-0 p-md-0 mb-md-3' : 'col-lg-7 p-md-0 pl-0 mb-md-3'
|
|
30027
30023
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30028
30024
|
"class": "row m-0 w-100",
|
|
30029
30025
|
style: {
|
|
@@ -30031,7 +30027,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
30031
30027
|
height: '39vh'
|
|
30032
30028
|
}
|
|
30033
30029
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30034
|
-
"class":
|
|
30030
|
+
"class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
|
|
30035
30031
|
style: {
|
|
30036
30032
|
width: '100%',
|
|
30037
30033
|
height: '100%'
|
|
@@ -30039,7 +30035,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
30039
30035
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
30040
30036
|
urlEndpoint: IKurlEndpoint,
|
|
30041
30037
|
publicKey: IKpublicKey,
|
|
30042
|
-
path: (_cardsarray$
|
|
30038
|
+
path: (_cardsarray$11 = cardsarray[3]) === null || _cardsarray$11 === void 0 ? void 0 : _cardsarray$11.image,
|
|
30043
30039
|
loading: "lazy",
|
|
30044
30040
|
style: {
|
|
30045
30041
|
width: '100%',
|
|
@@ -30053,7 +30049,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
30053
30049
|
}
|
|
30054
30050
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30055
30051
|
"class": "allcentered",
|
|
30056
|
-
style: {
|
|
30052
|
+
style: _defineProperty__default["default"]({
|
|
30057
30053
|
position: 'absolute',
|
|
30058
30054
|
zIndex: 1000,
|
|
30059
30055
|
height: '100%',
|
|
@@ -30063,33 +30059,26 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
30063
30059
|
left: 0,
|
|
30064
30060
|
right: 0,
|
|
30065
30061
|
margin: 'auto'
|
|
30066
|
-
}
|
|
30062
|
+
}, "zIndex", 5)
|
|
30067
30063
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30068
30064
|
"class": "row m-0 w-100 p-3 mt-auto mb-auto"
|
|
30069
30065
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30070
30066
|
"class": "col-lg-12 p-0 d-flex justify-content-center"
|
|
30071
30067
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
30072
30068
|
"class": section_cssstyles.collectionname + ' m-0 p-0 '
|
|
30073
|
-
}, (_cardsarray$
|
|
30069
|
+
}, (_cardsarray$12 = cardsarray[3]) === null || _cardsarray$12 === void 0 ? void 0 : _cardsarray$12.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30074
30070
|
"class": "col-lg-12 p-0 d-flex justify-content-center"
|
|
30075
30071
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
30076
|
-
"class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered '
|
|
30077
|
-
onClick: function onClick() {
|
|
30078
|
-
if (fetchingtype == 'products') {
|
|
30079
|
-
if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
|
|
30080
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
|
|
30081
|
-
} else {
|
|
30082
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
30083
|
-
}
|
|
30084
|
-
} else {
|
|
30085
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
30086
|
-
}
|
|
30087
|
-
}
|
|
30072
|
+
"class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
|
|
30088
30073
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30089
|
-
"class": 'col-lg-5 p-md-0 mb-md-3',
|
|
30074
|
+
"class": section_cssstyles.cardcont + ' col-lg-5 p-md-0 mb-md-3 cursor-pointer ',
|
|
30090
30075
|
style: {
|
|
30091
30076
|
paddingRight: langdetect == 'en' ? 0 : '',
|
|
30092
30077
|
paddingLeft: langdetect == 'ar' ? 0 : ''
|
|
30078
|
+
},
|
|
30079
|
+
onClick: function onClick() {
|
|
30080
|
+
var _cardsarray$13;
|
|
30081
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$13 = cardsarray[4]) === null || _cardsarray$13 === void 0 ? void 0 : _cardsarray$13.collectionid));
|
|
30093
30082
|
}
|
|
30094
30083
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30095
30084
|
"class": "row m-0 w-100",
|
|
@@ -30098,7 +30087,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
30098
30087
|
height: '39vh'
|
|
30099
30088
|
}
|
|
30100
30089
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30101
|
-
"class":
|
|
30090
|
+
"class": section_cssstyles.bgcontainer + ' col-lg-12 p-0 ',
|
|
30102
30091
|
style: {
|
|
30103
30092
|
width: '100%',
|
|
30104
30093
|
height: '100%'
|
|
@@ -30106,7 +30095,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
30106
30095
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
30107
30096
|
urlEndpoint: IKurlEndpoint,
|
|
30108
30097
|
publicKey: IKpublicKey,
|
|
30109
|
-
path: (_cardsarray$
|
|
30098
|
+
path: (_cardsarray$14 = cardsarray[4]) === null || _cardsarray$14 === void 0 ? void 0 : _cardsarray$14.image,
|
|
30110
30099
|
loading: "lazy",
|
|
30111
30100
|
style: {
|
|
30112
30101
|
width: '100%',
|
|
@@ -30119,37 +30108,26 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
30119
30108
|
zIndex: 1
|
|
30120
30109
|
}
|
|
30121
30110
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30122
|
-
style: {
|
|
30111
|
+
style: _defineProperty__default["default"]({
|
|
30123
30112
|
position: 'absolute',
|
|
30124
30113
|
zIndex: 1000,
|
|
30125
30114
|
width: '100%',
|
|
30126
30115
|
bottom: 10
|
|
30127
|
-
}
|
|
30116
|
+
}, "zIndex", 5)
|
|
30128
30117
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30129
30118
|
"class": "row m-0 w-100 p-3 d-flex justify-content-end"
|
|
30130
30119
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30131
30120
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
30132
30121
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
30133
30122
|
"class": section_cssstyles.collectionname + ' m-0 p-0 '
|
|
30134
|
-
}, (_cardsarray$
|
|
30123
|
+
}, (_cardsarray$15 = cardsarray[4]) === null || _cardsarray$15 === void 0 ? void 0 : _cardsarray$15.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30135
30124
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
30136
30125
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
30137
|
-
"class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered '
|
|
30138
|
-
onClick: function onClick() {
|
|
30139
|
-
if (fetchingtype == 'products') {
|
|
30140
|
-
if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
|
|
30141
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
|
|
30142
|
-
} else {
|
|
30143
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
30144
|
-
}
|
|
30145
|
-
} else {
|
|
30146
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
30147
|
-
}
|
|
30148
|
-
}
|
|
30126
|
+
"class": section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered collectioncardbutton '
|
|
30149
30127
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))))))));
|
|
30150
30128
|
};
|
|
30151
30129
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30152
|
-
"class": "row m-0 d-flex w-100 justify-content-center
|
|
30130
|
+
"class": "row m-0 d-flex w-100 justify-content-center",
|
|
30153
30131
|
style: {
|
|
30154
30132
|
zIndex: 2,
|
|
30155
30133
|
background: sectionproperties.backgroundColor
|
|
@@ -38068,27 +38046,15 @@ var Card23 = function Card23(props) {
|
|
|
38068
38046
|
fontSize: sectionproperties.favBtnTextfontsize + 'px',
|
|
38069
38047
|
textTransform: sectionproperties.favBtnTexttransform,
|
|
38070
38048
|
fontWeight: sectionproperties.favBtnTextfontweight,
|
|
38071
|
-
transition: '.3s',
|
|
38072
38049
|
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
38073
|
-
':hover': {
|
|
38074
|
-
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
38075
|
-
color: sectionproperties.favBtnTextcoloronhover
|
|
38076
|
-
}
|
|
38077
|
-
}),
|
|
38078
|
-
view_btn: glamor.css({
|
|
38079
|
-
width: sectionproperties.favBtnWidth + 'px',
|
|
38080
|
-
height: sectionproperties.favBtnHeight + 'px',
|
|
38081
|
-
background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
|
|
38082
|
-
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
|
|
38083
|
-
color: sectionproperties.favBtniconcolor,
|
|
38084
|
-
fontSize: sectionproperties.favBtnTextfontsize + 'px',
|
|
38085
|
-
textTransform: sectionproperties.favBtnTexttransform,
|
|
38086
|
-
fontWeight: sectionproperties.favBtnTextfontweight,
|
|
38087
38050
|
transition: '.3s',
|
|
38088
|
-
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
38089
38051
|
':hover': {
|
|
38090
38052
|
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
38091
38053
|
color: sectionproperties.favBtnTextcoloronhover
|
|
38054
|
+
},
|
|
38055
|
+
':hover .icon': {
|
|
38056
|
+
transition: 'all, 0.2s',
|
|
38057
|
+
transform: ' rotate(360deg)'
|
|
38092
38058
|
}
|
|
38093
38059
|
}),
|
|
38094
38060
|
cart_btn: glamor.css({
|
|
@@ -38101,7 +38067,6 @@ var Card23 = function Card23(props) {
|
|
|
38101
38067
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
38102
38068
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
38103
38069
|
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
38104
|
-
transition: '.3s',
|
|
38105
38070
|
':hover': {
|
|
38106
38071
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
38107
38072
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
@@ -38124,6 +38089,7 @@ var Card23 = function Card23(props) {
|
|
|
38124
38089
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
38125
38090
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
38126
38091
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
38092
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
38127
38093
|
':hover .iconsContainer': {
|
|
38128
38094
|
opacity: 1,
|
|
38129
38095
|
transition: 'all, 0.4s',
|
|
@@ -38159,7 +38125,7 @@ var Card23 = function Card23(props) {
|
|
|
38159
38125
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
38160
38126
|
urlEndpoint: IKurlEndpoint,
|
|
38161
38127
|
publicKey: IKpublicKey,
|
|
38162
|
-
path: '/tr:w-
|
|
38128
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
38163
38129
|
style: {
|
|
38164
38130
|
width: '100%',
|
|
38165
38131
|
height: '100%',
|
|
@@ -38196,7 +38162,7 @@ var Card23 = function Card23(props) {
|
|
|
38196
38162
|
addtofavoritescontext(item.productid);
|
|
38197
38163
|
}
|
|
38198
38164
|
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
38199
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
38165
|
+
"class": "h-100 d-flex align-items-center justify-content-center icon"
|
|
38200
38166
|
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar.AiFillStar, {
|
|
38201
38167
|
size: sectionproperties.favBtnIconfontsize,
|
|
38202
38168
|
style: {
|
|
@@ -38217,8 +38183,7 @@ var Card23 = function Card23(props) {
|
|
|
38217
38183
|
"class": " ".concat(cardsstyles2.showmodal),
|
|
38218
38184
|
onClick: function onClick(e) {
|
|
38219
38185
|
e.stopPropagation();
|
|
38220
|
-
|
|
38221
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
38186
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
38222
38187
|
}
|
|
38223
38188
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
38224
38189
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
@@ -38231,9 +38196,6 @@ var Card23 = function Card23(props) {
|
|
|
38231
38196
|
paddingRight: '20px',
|
|
38232
38197
|
paddingTop: '10px',
|
|
38233
38198
|
paddingBottom: '10px'
|
|
38234
|
-
// backgroundColor: 'white',
|
|
38235
|
-
// borderBottomLeftRadius: '10px',
|
|
38236
|
-
// borderBottomRightRadius: '10px',
|
|
38237
38199
|
}
|
|
38238
38200
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38239
38201
|
"class": "col-lg-12 p-0"
|
|
@@ -38250,7 +38212,7 @@ var Card23 = function Card23(props) {
|
|
|
38250
38212
|
},
|
|
38251
38213
|
"class": "".concat(cardsstyles2.productNameStyles) + ' wordbreak wordbreak1 m-0 '
|
|
38252
38214
|
}, item.name))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38253
|
-
"class": "row m-0 w-100 align-items-center mt-
|
|
38215
|
+
"class": "row m-0 w-100 align-items-center mt-1 mb-2"
|
|
38254
38216
|
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38255
38217
|
"class": langdetect == 'en' ? "".concat(cardsstyles2.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(cardsstyles2.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
38256
38218
|
}, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -41279,6 +41241,7 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
41279
41241
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
41280
41242
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
41281
41243
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
41244
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
41282
41245
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
41283
41246
|
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
41284
41247
|
transition: '.3s',
|
|
@@ -41435,36 +41398,12 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
41435
41398
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
41436
41399
|
}
|
|
41437
41400
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41438
|
-
"class": "".concat(cardsstyles$3.productcard, " ").concat(cardsstyles2.productcard) + ' w-100 '
|
|
41439
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41440
|
-
"class": "".concat(cardsstyles2.img_container) + ' w-100 ',
|
|
41441
|
-
onClick: function onClick() {
|
|
41442
|
-
setShowProductInfoModalContext(true);
|
|
41443
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
41444
|
-
},
|
|
41401
|
+
"class": "".concat(cardsstyles$3.productcard, " ").concat(cardsstyles2.productcard) + ' w-100 ',
|
|
41445
41402
|
style: {
|
|
41446
|
-
|
|
41447
|
-
overflow: 'hidden'
|
|
41403
|
+
position: 'relative'
|
|
41448
41404
|
}
|
|
41449
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
41450
|
-
|
|
41451
|
-
publicKey: IKpublicKey
|
|
41452
|
-
// '/tr:w-300,h-300/' +
|
|
41453
|
-
,
|
|
41454
|
-
path: item.image,
|
|
41455
|
-
style: {
|
|
41456
|
-
width: '100%',
|
|
41457
|
-
objectFit: 'contain',
|
|
41458
|
-
position: 'relative',
|
|
41459
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
41460
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
41461
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
41462
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
41463
|
-
marginBottom: 'auto'
|
|
41464
|
-
},
|
|
41465
|
-
loading: "lazy"
|
|
41466
|
-
}), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41467
|
-
"class": "".concat(cardsstyles$3.wishlistbtn, " ").concat(cardsstyles2.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
41405
|
+
}, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41406
|
+
"class": "".concat(cardsstyles$3.wishlistbtn, " ").concat(cardsstyles2.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center cursor-pointer ',
|
|
41468
41407
|
onClick: function onClick(e) {
|
|
41469
41408
|
e.stopPropagation();
|
|
41470
41409
|
addtofavoritescontext(item.productid);
|
|
@@ -41507,7 +41446,41 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
41507
41446
|
color: sectionproperties.badge_color,
|
|
41508
41447
|
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
41509
41448
|
}
|
|
41510
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr))
|
|
41449
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41450
|
+
"class": "w-100",
|
|
41451
|
+
style: {
|
|
41452
|
+
cursor: 'pointer',
|
|
41453
|
+
overflow: 'hidden',
|
|
41454
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
41455
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px'
|
|
41456
|
+
}
|
|
41457
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41458
|
+
"class": "".concat(cardsstyles2.img_container) + ' w-100 ',
|
|
41459
|
+
onClick: function onClick() {
|
|
41460
|
+
setShowProductInfoModalContext(true);
|
|
41461
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
41462
|
+
},
|
|
41463
|
+
style: {
|
|
41464
|
+
overflow: 'hidden'
|
|
41465
|
+
}
|
|
41466
|
+
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
41467
|
+
urlEndpoint: IKurlEndpoint,
|
|
41468
|
+
publicKey: IKpublicKey
|
|
41469
|
+
// '/tr:w-300,h-300/' +
|
|
41470
|
+
,
|
|
41471
|
+
path: item.image,
|
|
41472
|
+
style: {
|
|
41473
|
+
width: '100%',
|
|
41474
|
+
objectFit: 'contain',
|
|
41475
|
+
position: 'relative',
|
|
41476
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
41477
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
41478
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
41479
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
41480
|
+
marginBottom: 'auto'
|
|
41481
|
+
},
|
|
41482
|
+
loading: "lazy"
|
|
41483
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41511
41484
|
"class": ' mt-3 '
|
|
41512
41485
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41513
41486
|
"class": "col-lg-12"
|
|
@@ -43036,7 +43009,6 @@ var Productcard_with_slideanimation = function Productcard_with_slideanimation(p
|
|
|
43036
43009
|
function ownKeys$9(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
43037
43010
|
function _objectSpread$9(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$9(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$9(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
43038
43011
|
var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
43039
|
-
var _css;
|
|
43040
43012
|
var _useState = React.useState(''),
|
|
43041
43013
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
43042
43014
|
sectionproperties = _useState2[0],
|
|
@@ -43081,32 +43053,6 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
43081
43053
|
height: sectionproperties.variantcontainer_height + 'vh',
|
|
43082
43054
|
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px'
|
|
43083
43055
|
}),
|
|
43084
|
-
productcard: glamor.css((_css = {
|
|
43085
|
-
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
43086
|
-
opacity: sectionproperties.cardbg_opacity,
|
|
43087
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
43088
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
43089
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
43090
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
43091
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
43092
|
-
marginBottom: sectionproperties.marginBottom + 'px',
|
|
43093
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
43094
|
-
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
43095
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
43096
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
43097
|
-
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
|
43098
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
43099
|
-
color: sectionproperties.prodNameColor
|
|
43100
|
-
}, _defineProperty__default["default"](_css, "opacity", sectionproperties.cardbg_opacity), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, ':hover', _defineProperty__default["default"]({
|
|
43101
|
-
opacity: sectionproperties.bgopacityonhover,
|
|
43102
|
-
color: sectionproperties.prodNameColorOnHover
|
|
43103
|
-
}, "opacity", sectionproperties.bgopacityonhover)), _defineProperty__default["default"](_css, ':hover .wishlist_btn', {
|
|
43104
|
-
marginRight: langdetect == 'en' ? '10px' : 0,
|
|
43105
|
-
marginLeft: langdetect == 'en' ? 0 : '10px'
|
|
43106
|
-
}), _defineProperty__default["default"](_css, ':hover .cart_btn', {
|
|
43107
|
-
opacity: 1,
|
|
43108
|
-
bottom: '10px'
|
|
43109
|
-
}), _css)),
|
|
43110
43056
|
productcard_imgcontainer: glamor.css({
|
|
43111
43057
|
height: sectionproperties.image_height + 'px',
|
|
43112
43058
|
background: sectionproperties.image_bgtransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
|
|
@@ -43159,11 +43105,55 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
43159
43105
|
}),
|
|
43160
43106
|
cart_btn: glamor.css({
|
|
43161
43107
|
position: 'absolute',
|
|
43162
|
-
bottom: '-50px',
|
|
43163
43108
|
left: 0,
|
|
43164
43109
|
right: 0,
|
|
43110
|
+
bottom: '10px',
|
|
43111
|
+
opacity: 1,
|
|
43165
43112
|
margin: 'auto',
|
|
43113
|
+
transition: 'all, 0.3s',
|
|
43114
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
43115
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
43116
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
43117
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
43118
|
+
color: sectionproperties.cart_iconcolor,
|
|
43119
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
43120
|
+
textTransform: sectionproperties.cartBtnTexttransform,
|
|
43121
|
+
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
43122
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
43123
|
+
':hover': {
|
|
43124
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
43125
|
+
color: sectionproperties.cartBtnTextcoloronhover
|
|
43126
|
+
}
|
|
43127
|
+
}),
|
|
43128
|
+
cart_btn_bottom: glamor.css({
|
|
43129
|
+
position: 'absolute',
|
|
43130
|
+
left: 0,
|
|
43131
|
+
right: 0,
|
|
43132
|
+
bottom: '-50px',
|
|
43133
|
+
opacity: 0,
|
|
43134
|
+
margin: 'auto',
|
|
43135
|
+
transition: 'all, 0.3s',
|
|
43136
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
43137
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
43138
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
43139
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
43140
|
+
color: sectionproperties.cart_iconcolor,
|
|
43141
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
43142
|
+
textTransform: sectionproperties.cartBtnTexttransform,
|
|
43143
|
+
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
43144
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
43145
|
+
':hover': {
|
|
43146
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
43147
|
+
color: sectionproperties.cartBtnTextcoloronhover
|
|
43148
|
+
}
|
|
43149
|
+
}),
|
|
43150
|
+
cart_btn_center: glamor.css({
|
|
43151
|
+
position: 'absolute',
|
|
43152
|
+
left: 0,
|
|
43153
|
+
right: 0,
|
|
43154
|
+
bottom: '60px',
|
|
43166
43155
|
opacity: 0,
|
|
43156
|
+
margin: 'auto',
|
|
43167
43157
|
transition: 'all, 0.3s',
|
|
43168
43158
|
width: sectionproperties.cartBtnWidth + 'px',
|
|
43169
43159
|
height: sectionproperties.cartBtnHeight + 'px',
|
|
@@ -43179,6 +43169,37 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
43179
43169
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
43180
43170
|
}
|
|
43181
43171
|
}),
|
|
43172
|
+
productcard: glamor.css({
|
|
43173
|
+
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
43174
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
43175
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
43176
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
43177
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
43178
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
43179
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
43180
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
43181
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
43182
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
43183
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
43184
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
43185
|
+
color: sectionproperties.prodNameColor,
|
|
43186
|
+
transition: '.3s',
|
|
43187
|
+
':hover': {
|
|
43188
|
+
color: sectionproperties.prodNameColorOnHover
|
|
43189
|
+
},
|
|
43190
|
+
':hover .wishlist_btn': {
|
|
43191
|
+
marginRight: langdetect == 'en' ? '10px' : 0,
|
|
43192
|
+
marginLeft: langdetect == 'en' ? 0 : '10px'
|
|
43193
|
+
},
|
|
43194
|
+
':hover .cart_btn_bottom': {
|
|
43195
|
+
opacity: 1,
|
|
43196
|
+
bottom: '10px'
|
|
43197
|
+
},
|
|
43198
|
+
':hover .cart_btn_center': {
|
|
43199
|
+
opacity: 1,
|
|
43200
|
+
bottom: '40%'
|
|
43201
|
+
}
|
|
43202
|
+
}),
|
|
43182
43203
|
cart_btnresponsive: glamor.css({
|
|
43183
43204
|
position: 'absolute',
|
|
43184
43205
|
opacity: 1,
|
|
@@ -43294,7 +43315,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
43294
43315
|
direction: 'ltr'
|
|
43295
43316
|
}
|
|
43296
43317
|
}, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
43297
|
-
"class": "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
|
|
43318
|
+
"class": sectionproperties.transition == 'Bottom' ? "".concat(card_cssstyles.cart_btn_bottom) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_bottom ' : sectionproperties.transition == 'Center' ? "".concat(card_cssstyles.cart_btn_center) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_center ' : "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
|
|
43298
43319
|
onClick: function onClick(e) {
|
|
43299
43320
|
e.stopPropagation();
|
|
43300
43321
|
setShowProductInfoModalContext(true);
|
|
@@ -43310,15 +43331,12 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
43310
43331
|
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43311
43332
|
"class": 'row m-0 w-100 text-center mt-2'
|
|
43312
43333
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43313
|
-
"class": "col-lg-12 p-0"
|
|
43314
|
-
style: {
|
|
43315
|
-
minHeight: '5vh'
|
|
43316
|
-
}
|
|
43334
|
+
"class": "col-lg-12 p-0"
|
|
43317
43335
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
43318
43336
|
onClick: function onClick() {
|
|
43319
43337
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
43320
43338
|
},
|
|
43321
|
-
"class": "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak
|
|
43339
|
+
"class": "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center '
|
|
43322
43340
|
}, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43323
43341
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0"
|
|
43324
43342
|
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|