tabexseriescomponents 0.0.520 → 0.0.522
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 +356 -28
- package/dist/index.esm.js +356 -28
- package/dist/index.umd.js +357 -29
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -32,7 +32,7 @@ import { AiFillStar as AiFillStar$1 } from '@react-icons/all-files/ai/AiFillStar
|
|
|
32
32
|
import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
|
|
33
33
|
import { FaPlus } from '@react-icons/all-files/fa/FaPlus';
|
|
34
34
|
import { FaMinus } from '@react-icons/all-files/fa/FaMinus';
|
|
35
|
-
import { FiBox } from '@react-icons/all-files/fi/FiBox';
|
|
35
|
+
import { FiBox as FiBox$1 } from '@react-icons/all-files/fi/FiBox';
|
|
36
36
|
import { RiArrowGoBackLine } from '@react-icons/all-files/ri/RiArrowGoBackLine';
|
|
37
37
|
import { Accordion, AccordionItem, AccordionItemHeading, AccordionItemButton, AccordionItemState, AccordionItemPanel } from 'react-accessible-accordion';
|
|
38
38
|
import { FacebookShareButton, FacebookIcon, TwitterShareButton, WhatsappShareButton, WhatsappIcon, LinkedinShareButton, LinkedinIcon, TwitterIcon } from 'react-share';
|
|
@@ -3071,18 +3071,18 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3071
3071
|
})), /*#__PURE__*/React.createElement("p", {
|
|
3072
3072
|
"class": "m-0 p-0",
|
|
3073
3073
|
style: {
|
|
3074
|
-
color: sectionproperties.
|
|
3075
|
-
fontWeight:
|
|
3076
|
-
fontSize:
|
|
3074
|
+
color: sectionproperties.featurecolor,
|
|
3075
|
+
fontWeight: sectionproperties.featurefontweight,
|
|
3076
|
+
fontSize: sectionproperties.featurefontsize
|
|
3077
3077
|
}
|
|
3078
3078
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.name_en : fitem === null || fitem === void 0 ? void 0 : fitem.name_ar)), /*#__PURE__*/React.createElement("div", {
|
|
3079
3079
|
"class": "col-lg-12 text-start text-capitalize"
|
|
3080
3080
|
}, /*#__PURE__*/React.createElement("p", {
|
|
3081
3081
|
"class": "m-0 p-0",
|
|
3082
3082
|
style: {
|
|
3083
|
-
color: sectionproperties.
|
|
3084
|
-
fontWeight:
|
|
3085
|
-
fontSize:
|
|
3083
|
+
color: sectionproperties.featurevaluecolor,
|
|
3084
|
+
fontWeight: sectionproperties.featurevaluefontweight,
|
|
3085
|
+
fontSize: sectionproperties.featurevaluefontsize
|
|
3086
3086
|
}
|
|
3087
3087
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar)));
|
|
3088
3088
|
})), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -3218,7 +3218,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3218
3218
|
"class": "col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"
|
|
3219
3219
|
}, /*#__PURE__*/React.createElement("i", {
|
|
3220
3220
|
"class": "h-100 allcentered mx-2"
|
|
3221
|
-
}, /*#__PURE__*/React.createElement(FiBox, {
|
|
3221
|
+
}, /*#__PURE__*/React.createElement(FiBox$1, {
|
|
3222
3222
|
size: 15,
|
|
3223
3223
|
style: {
|
|
3224
3224
|
color: sectionproperties.prodCatColor
|
|
@@ -4205,7 +4205,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
4205
4205
|
};
|
|
4206
4206
|
|
|
4207
4207
|
var Service_itemtype = function Service_itemtype(props) {
|
|
4208
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11;
|
|
4208
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8;
|
|
4209
4209
|
var lang = props.actions.lang;
|
|
4210
4210
|
var langdetect = props.actions.langdetect;
|
|
4211
4211
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -4225,9 +4225,8 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4225
4225
|
var NotificationManager = props.actions.NotificationManager;
|
|
4226
4226
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
4227
4227
|
var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
|
|
4228
|
-
props.actions.quantityconditionfoundobjprops;
|
|
4229
4228
|
var currentshowingimageindex = props.actions.currentshowingimageindex;
|
|
4230
|
-
props.actions.
|
|
4229
|
+
var returnpolicyobj = props.actions.returnpolicyobj;
|
|
4231
4230
|
var StoreInfoprops = props.actions.StoreInfoprops;
|
|
4232
4231
|
var _useState = useState(''),
|
|
4233
4232
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -4564,7 +4563,327 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4564
4563
|
// textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4565
4564
|
color: sectionproperties.deliverytimecontainercolor
|
|
4566
4565
|
}
|
|
4567
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.deliverydatetext)), /*#__PURE__*/React.createElement("div", {
|
|
4566
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.deliverydatetext)), sectionproperties.showfeatures == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
4567
|
+
"class": "col-lg-12 text-start p-md-0"
|
|
4568
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4569
|
+
className: "row m-0 w-100"
|
|
4570
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productfeatures) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.map(function (fitem, findex) {
|
|
4571
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
4572
|
+
"class": "col-lg-4 col-md-12 p-0 mb-3 mt-2"
|
|
4573
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4574
|
+
"class": "row m-0 w-100 text-start"
|
|
4575
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4576
|
+
"class": "col-lg-12 text-start mb-3 text-uppercase p-0"
|
|
4577
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4578
|
+
style: {
|
|
4579
|
+
width: '20px'
|
|
4580
|
+
},
|
|
4581
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
4582
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
4583
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
4584
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
4585
|
+
path: fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url,
|
|
4586
|
+
loading: "lazy",
|
|
4587
|
+
style: {
|
|
4588
|
+
maxWidth: '100%',
|
|
4589
|
+
maxHeight: '100%'
|
|
4590
|
+
}
|
|
4591
|
+
})), /*#__PURE__*/React.createElement("p", {
|
|
4592
|
+
"class": "m-0 p-0",
|
|
4593
|
+
style: {
|
|
4594
|
+
color: sectionproperties.featurecolor,
|
|
4595
|
+
fontWeight: sectionproperties.featurefontweight,
|
|
4596
|
+
fontSize: sectionproperties.featurefontsize
|
|
4597
|
+
}
|
|
4598
|
+
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.name_en : fitem === null || fitem === void 0 ? void 0 : fitem.name_ar)), /*#__PURE__*/React.createElement("div", {
|
|
4599
|
+
"class": "col-lg-12 text-start text-capitalize"
|
|
4600
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
4601
|
+
"class": "m-0 p-0",
|
|
4602
|
+
style: {
|
|
4603
|
+
color: sectionproperties.featurevaluecolor,
|
|
4604
|
+
fontWeight: sectionproperties.featurevaluefontweight,
|
|
4605
|
+
fontSize: sectionproperties.featurevaluefontsize
|
|
4606
|
+
}
|
|
4607
|
+
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
4608
|
+
}))), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
4609
|
+
"class": "col-lg-12 col-md-12 p-md-0 mt-3"
|
|
4610
|
+
}, /*#__PURE__*/React.createElement(Accordion, {
|
|
4611
|
+
allowMultipleExpanded: true,
|
|
4612
|
+
allowZeroExpanded: true
|
|
4613
|
+
}, /*#__PURE__*/React.createElement(AccordionItem, null, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
|
|
4614
|
+
"class": "row m-0 w-100"
|
|
4615
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4616
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
|
|
4617
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
4618
|
+
"class": "m-0 p-0",
|
|
4619
|
+
style: {
|
|
4620
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4621
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
4622
|
+
color: sectionproperties.prodCatColor,
|
|
4623
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
4624
|
+
}
|
|
4625
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React.createElement("div", {
|
|
4626
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
4627
|
+
}, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
|
|
4628
|
+
if (state.expanded == true) {
|
|
4629
|
+
return /*#__PURE__*/React.createElement("i", {
|
|
4630
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
4631
|
+
}, /*#__PURE__*/React.createElement(FaMinus, {
|
|
4632
|
+
color: sectionproperties.prodCatColor
|
|
4633
|
+
}));
|
|
4634
|
+
} else {
|
|
4635
|
+
return /*#__PURE__*/React.createElement("i", {
|
|
4636
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
4637
|
+
}, /*#__PURE__*/React.createElement(FaPlus, {
|
|
4638
|
+
color: sectionproperties.prodCatColor
|
|
4639
|
+
}));
|
|
4640
|
+
}
|
|
4641
|
+
}))))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
|
|
4642
|
+
className: "p-0"
|
|
4643
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4644
|
+
"class": "col-lg-12 p-0 mt-3"
|
|
4645
|
+
}, /*#__PURE__*/React.createElement(DescriptionContent, {
|
|
4646
|
+
actions: props.actions,
|
|
4647
|
+
srcfromprops: 'collap'
|
|
4648
|
+
})))))), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
4649
|
+
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
4650
|
+
}, /*#__PURE__*/React.createElement("hr", {
|
|
4651
|
+
"class": "m-0"
|
|
4652
|
+
})), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
4653
|
+
"class": "col-lg-12 col-md-12 p-md-0"
|
|
4654
|
+
}, /*#__PURE__*/React.createElement(Accordion, {
|
|
4655
|
+
allowMultipleExpanded: true,
|
|
4656
|
+
allowZeroExpanded: true
|
|
4657
|
+
}, /*#__PURE__*/React.createElement(AccordionItem, null, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
|
|
4658
|
+
"class": "row m-0 w-100"
|
|
4659
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4660
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
|
|
4661
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
4662
|
+
"class": "m-0 p-0",
|
|
4663
|
+
style: {
|
|
4664
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4665
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
4666
|
+
color: sectionproperties.prodCatColor,
|
|
4667
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
4668
|
+
}
|
|
4669
|
+
}, langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar)), /*#__PURE__*/React.createElement("div", {
|
|
4670
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
4671
|
+
}, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
|
|
4672
|
+
if (state.expanded == true) {
|
|
4673
|
+
return /*#__PURE__*/React.createElement("i", {
|
|
4674
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
4675
|
+
}, /*#__PURE__*/React.createElement(FaMinus, {
|
|
4676
|
+
color: sectionproperties.prodCatColor
|
|
4677
|
+
}));
|
|
4678
|
+
} else {
|
|
4679
|
+
return /*#__PURE__*/React.createElement("i", {
|
|
4680
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
4681
|
+
}, /*#__PURE__*/React.createElement(FaPlus, {
|
|
4682
|
+
color: sectionproperties.prodCatColor
|
|
4683
|
+
}));
|
|
4684
|
+
}
|
|
4685
|
+
}))))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
|
|
4686
|
+
className: "p-0"
|
|
4687
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4688
|
+
"class": "col-lg-12 p-0 mt-3"
|
|
4689
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
4690
|
+
className: 'm-0 p-0 wordbreak',
|
|
4691
|
+
style: {
|
|
4692
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4693
|
+
color: sectionproperties.prodCatColor
|
|
4694
|
+
},
|
|
4695
|
+
dangerouslySetInnerHTML: {
|
|
4696
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.short_description_ar
|
|
4697
|
+
}
|
|
4698
|
+
})))))), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
4699
|
+
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
4700
|
+
}, /*#__PURE__*/React.createElement("hr", {
|
|
4701
|
+
"class": "m-0"
|
|
4702
|
+
})), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
4703
|
+
"class": "col-lg-12 col-md-12 p-md-0"
|
|
4704
|
+
}, /*#__PURE__*/React.createElement(Accordion, {
|
|
4705
|
+
allowMultipleExpanded: true,
|
|
4706
|
+
allowZeroExpanded: true
|
|
4707
|
+
}, /*#__PURE__*/React.createElement(AccordionItem, null, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
|
|
4708
|
+
"class": "row m-0 w-100"
|
|
4709
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4710
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
|
|
4711
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
4712
|
+
"class": "m-0 p-0 ",
|
|
4713
|
+
style: {
|
|
4714
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4715
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
4716
|
+
color: sectionproperties.prodCatColor,
|
|
4717
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
4718
|
+
}
|
|
4719
|
+
}, langdetect == 'en' ? sectionproperties.policiestitleen : sectionproperties.policiestitlear)), /*#__PURE__*/React.createElement("div", {
|
|
4720
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
4721
|
+
}, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
|
|
4722
|
+
if (state.expanded == true) {
|
|
4723
|
+
return /*#__PURE__*/React.createElement("i", {
|
|
4724
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
4725
|
+
}, /*#__PURE__*/React.createElement(FaMinus, {
|
|
4726
|
+
color: sectionproperties.prodCatColor
|
|
4727
|
+
}));
|
|
4728
|
+
} else {
|
|
4729
|
+
return /*#__PURE__*/React.createElement("i", {
|
|
4730
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
4731
|
+
}, /*#__PURE__*/React.createElement(FaPlus, {
|
|
4732
|
+
color: sectionproperties.prodCatColor
|
|
4733
|
+
}));
|
|
4734
|
+
}
|
|
4735
|
+
}))))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
|
|
4736
|
+
className: "p-0"
|
|
4737
|
+
}, sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
4738
|
+
"class": "col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"
|
|
4739
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
4740
|
+
"class": "h-100 allcentered mx-2"
|
|
4741
|
+
}, /*#__PURE__*/React.createElement(FiBox, {
|
|
4742
|
+
size: 15,
|
|
4743
|
+
style: {
|
|
4744
|
+
color: sectionproperties.prodCatColor
|
|
4745
|
+
}
|
|
4746
|
+
})), /*#__PURE__*/React.createElement("p", {
|
|
4747
|
+
"class": "m-0 p-0 text-uppercase",
|
|
4748
|
+
style: {
|
|
4749
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4750
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
4751
|
+
color: sectionproperties.prodCatColor,
|
|
4752
|
+
fontSize: '14px'
|
|
4753
|
+
}
|
|
4754
|
+
}, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar)), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
4755
|
+
"class": "col-lg-12 p-0 mb-4 px-4"
|
|
4756
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
4757
|
+
className: ' m-0 p-0 wordbreak ',
|
|
4758
|
+
style: {
|
|
4759
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4760
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
4761
|
+
color: sectionproperties.prodCatColor,
|
|
4762
|
+
fontSize: '15px'
|
|
4763
|
+
},
|
|
4764
|
+
dangerouslySetInnerHTML: {
|
|
4765
|
+
__html: langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policysummary_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policysummary_ar
|
|
4766
|
+
}
|
|
4767
|
+
})), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
4768
|
+
"class": "col-lg-12 p-0 mb-4 px-4"
|
|
4769
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
4770
|
+
className: ' m-0 p-0 wordbreak cursor-pointer ',
|
|
4771
|
+
style: {
|
|
4772
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4773
|
+
textDecoration: 'underline',
|
|
4774
|
+
color: sectionproperties.prodCatColor
|
|
4775
|
+
},
|
|
4776
|
+
onClick: function onClick() {
|
|
4777
|
+
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
4778
|
+
}
|
|
4779
|
+
}, "SEE MORE")), /*#__PURE__*/React.createElement("div", {
|
|
4780
|
+
"class": "col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"
|
|
4781
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
4782
|
+
"class": "h-100 allcentered mx-2"
|
|
4783
|
+
}, /*#__PURE__*/React.createElement(RiArrowGoBackLine, {
|
|
4784
|
+
size: 15,
|
|
4785
|
+
style: {
|
|
4786
|
+
color: sectionproperties.prodCatColor
|
|
4787
|
+
}
|
|
4788
|
+
})), /*#__PURE__*/React.createElement("p", {
|
|
4789
|
+
"class": "m-0 p-0 text-uppercase",
|
|
4790
|
+
style: {
|
|
4791
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4792
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
4793
|
+
color: sectionproperties.prodCatColor,
|
|
4794
|
+
fontSize: '14px'
|
|
4795
|
+
}
|
|
4796
|
+
}, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar)), /*#__PURE__*/React.createElement("div", {
|
|
4797
|
+
"class": "col-lg-12 p-0 mb-4 px-4"
|
|
4798
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
4799
|
+
className: ' m-0 p-0 wordbreak ',
|
|
4800
|
+
style: {
|
|
4801
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4802
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
4803
|
+
color: sectionproperties.prodCatColor,
|
|
4804
|
+
fontSize: '15px'
|
|
4805
|
+
},
|
|
4806
|
+
dangerouslySetInnerHTML: {
|
|
4807
|
+
__html: langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policysummary_en : (_returnpolicyobj8 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policysummary_ar
|
|
4808
|
+
}
|
|
4809
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
4810
|
+
"class": "col-lg-12 p-0 mb-4 px-4"
|
|
4811
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
4812
|
+
className: ' m-0 p-0 wordbreak cursor-pointer ',
|
|
4813
|
+
style: {
|
|
4814
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4815
|
+
textDecoration: 'underline',
|
|
4816
|
+
color: sectionproperties.prodCatColor
|
|
4817
|
+
},
|
|
4818
|
+
onClick: function onClick() {
|
|
4819
|
+
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
4820
|
+
}
|
|
4821
|
+
}, "SEE MORE")))))), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
4822
|
+
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
4823
|
+
}, /*#__PURE__*/React.createElement("hr", {
|
|
4824
|
+
"class": "m-0"
|
|
4825
|
+
})), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
4826
|
+
"class": "col-lg-12 col-md-12 p-md-0 mb-5"
|
|
4827
|
+
}, /*#__PURE__*/React.createElement(Accordion, {
|
|
4828
|
+
allowMultipleExpanded: true,
|
|
4829
|
+
allowZeroExpanded: true,
|
|
4830
|
+
preExpanded: [10]
|
|
4831
|
+
}, /*#__PURE__*/React.createElement(AccordionItem, {
|
|
4832
|
+
uuid: 10
|
|
4833
|
+
}, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
|
|
4834
|
+
"class": "row m-0 w-100"
|
|
4835
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4836
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
|
|
4837
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
4838
|
+
"class": "m-0 p-0",
|
|
4839
|
+
style: {
|
|
4840
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4841
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
4842
|
+
color: sectionproperties.prodCatColor,
|
|
4843
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
4844
|
+
}
|
|
4845
|
+
}, langdetect == 'en' ? sectionproperties.reservationtitle_en : sectionproperties.reservationtitle_ar)), /*#__PURE__*/React.createElement("div", {
|
|
4846
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
4847
|
+
}, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
|
|
4848
|
+
if (state.expanded == true) {
|
|
4849
|
+
return /*#__PURE__*/React.createElement("i", {
|
|
4850
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
4851
|
+
}, /*#__PURE__*/React.createElement(FaMinus, {
|
|
4852
|
+
color: sectionproperties.prodCatColor
|
|
4853
|
+
}));
|
|
4854
|
+
} else {
|
|
4855
|
+
return /*#__PURE__*/React.createElement("i", {
|
|
4856
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
4857
|
+
}, /*#__PURE__*/React.createElement(FaPlus, {
|
|
4858
|
+
color: sectionproperties.prodCatColor
|
|
4859
|
+
}));
|
|
4860
|
+
}
|
|
4861
|
+
}))))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
|
|
4862
|
+
className: "p-0"
|
|
4863
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4864
|
+
"class": "col-lg-12 p-0"
|
|
4865
|
+
}, /*#__PURE__*/React.createElement(Variantoptions, {
|
|
4866
|
+
actions: props.actions
|
|
4867
|
+
}), /*#__PURE__*/React.createElement(Serviceinfotabs, {
|
|
4868
|
+
actions: {
|
|
4869
|
+
fetchProductInfoQueryContext: fetchProductInfoQueryContext,
|
|
4870
|
+
sectionproperties: sectionproperties,
|
|
4871
|
+
lang: lang,
|
|
4872
|
+
langdetect: langdetect,
|
|
4873
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
4874
|
+
AddtoCartMutationContext: AddtoCartMutationContext,
|
|
4875
|
+
GeneralAPIMutationContext: GeneralAPIMutationContext,
|
|
4876
|
+
addtocardpayloadobj: addtocardpayloadobj,
|
|
4877
|
+
setaddtocardpayloadobj: setaddtocardpayloadobj,
|
|
4878
|
+
NotificationManager: NotificationManager,
|
|
4879
|
+
addtocartfunc: addtocartfunc,
|
|
4880
|
+
getprice_discountpriceprops: getprice_discountpriceprops,
|
|
4881
|
+
authdetailsContext: authdetailsContext,
|
|
4882
|
+
routingcountext: routingcountext,
|
|
4883
|
+
StaticPagesLinksContext: StaticPagesLinksContext,
|
|
4884
|
+
addtofavoritescontext: addtofavoritescontext
|
|
4885
|
+
}
|
|
4886
|
+
})))))), sectionproperties.descriptionstyle != 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
4568
4887
|
"class": "col-lg-12 d-flex align-items-center justify-content-start p-0 flex-column"
|
|
4569
4888
|
}, /*#__PURE__*/React.createElement("p", {
|
|
4570
4889
|
"class": "m-0 p-0 mb-2 w-100",
|
|
@@ -4586,7 +4905,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4586
4905
|
background: '#eee'
|
|
4587
4906
|
},
|
|
4588
4907
|
"class": langdetect == 'en' ? productinfo_cssstyles.before + ' before ' : productinfo_cssstyles.before + ' beforear '
|
|
4589
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
4908
|
+
})), sectionproperties.descriptionstyle != 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
4590
4909
|
"class": "col-lg-12 p-0"
|
|
4591
4910
|
}, /*#__PURE__*/React.createElement(Variantoptions, {
|
|
4592
4911
|
actions: props.actions
|
|
@@ -13088,7 +13407,7 @@ styleInject(css_248z$E);
|
|
|
13088
13407
|
function ownKeys$2d(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13089
13408
|
function _objectSpread$2d(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2d(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2d(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13090
13409
|
var CartSlider = function CartSlider(props) {
|
|
13091
|
-
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7,
|
|
13410
|
+
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13;
|
|
13092
13411
|
var lang = props.actions.lang;
|
|
13093
13412
|
var langdetect = props.actions.langdetect;
|
|
13094
13413
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
@@ -13106,6 +13425,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
13106
13425
|
var sidecartnavshowWorkplaceDesigncontext = props.actions.sidecartnavshowWorkplaceDesigncontext;
|
|
13107
13426
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
13108
13427
|
var ChangeCartItemQuantityContext = props.actions.ChangeCartItemQuantityContext;
|
|
13428
|
+
var clearcartfuncContext = props.actions.clearcartfuncContext;
|
|
13109
13429
|
var _useState = useState(false),
|
|
13110
13430
|
_useState2 = _slicedToArray(_useState, 2),
|
|
13111
13431
|
OpenCloseCartSlider = _useState2[0],
|
|
@@ -13378,7 +13698,15 @@ var CartSlider = function CartSlider(props) {
|
|
|
13378
13698
|
style: {}
|
|
13379
13699
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar, /*#__PURE__*/React.createElement("span", {
|
|
13380
13700
|
"class": cart_cssstyles.badge + ' mx-2 allcentered mt-sm-1 '
|
|
13381
|
-
}, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue !== void 0 && (_fetchcustomercartQue = _fetchcustomercartQue.data) !== null && _fetchcustomercartQue !== void 0 && _fetchcustomercartQue.status && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) != 0 ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0)))
|
|
13701
|
+
}, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue !== void 0 && (_fetchcustomercartQue = _fetchcustomercartQue.data) !== null && _fetchcustomercartQue !== void 0 && _fetchcustomercartQue.status && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) != 0 ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.cartitems) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.length) != 0 && /*#__PURE__*/React.createElement("sup", {
|
|
13702
|
+
onClick: function onClick() {
|
|
13703
|
+
clearcartfuncContext();
|
|
13704
|
+
},
|
|
13705
|
+
"class": "text-danger text-dangerhover cursor-pointer",
|
|
13706
|
+
style: {
|
|
13707
|
+
fontSize: 13
|
|
13708
|
+
}
|
|
13709
|
+
}, langdetect == 'en' ? 'Clear Cart' : 'حذف الكل'))), /*#__PURE__*/React.createElement("div", {
|
|
13382
13710
|
className: ' col-3 d-flex align-items-center justify-content-end '
|
|
13383
13711
|
}, /*#__PURE__*/React.createElement("div", {
|
|
13384
13712
|
className: "".concat(cart_cssstyles.close_menu_icon_cont) + ' allcentered ',
|
|
@@ -13407,7 +13735,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
13407
13735
|
height: 2,
|
|
13408
13736
|
background: sectionproperties.vl_bg
|
|
13409
13737
|
}
|
|
13410
|
-
}))))), /*#__PURE__*/React.createElement(Offcanvas.Body, null, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13738
|
+
}))))), /*#__PURE__*/React.createElement(Offcanvas.Body, null, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 || (_fetchcustomercartQue5 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : _fetchcustomercartQue5.status) && /*#__PURE__*/React.createElement("div", {
|
|
13411
13739
|
"class": "row m-0 w-100 h-100 px-2"
|
|
13412
13740
|
}, /*#__PURE__*/React.createElement("div", {
|
|
13413
13741
|
className: "".concat(cartstyles.cartslider_container, " ").concat(cart_cssstyles.cartslider_container) + ' h-100 w-100 ',
|
|
@@ -13419,7 +13747,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
13419
13747
|
}, /*#__PURE__*/React.createElement("div", {
|
|
13420
13748
|
className: "row m-0 w-100 ",
|
|
13421
13749
|
style: {
|
|
13422
|
-
height: '
|
|
13750
|
+
height: '90vh'
|
|
13423
13751
|
}
|
|
13424
13752
|
}, AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
13425
13753
|
className: "col-lg-12 allcentered",
|
|
@@ -13449,9 +13777,9 @@ var CartSlider = function CartSlider(props) {
|
|
|
13449
13777
|
maxHeight: '67%',
|
|
13450
13778
|
overflowY: 'scroll'
|
|
13451
13779
|
}
|
|
13452
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13780
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue6 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue6 === void 0 || (_fetchcustomercartQue6 = _fetchcustomercartQue6.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.customercart) != null && /*#__PURE__*/React.createElement("div", {
|
|
13453
13781
|
className: "row m-0 w-100 h-100"
|
|
13454
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13782
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.customercart) === null || _fetchcustomercartQue7 === void 0 ? void 0 : _fetchcustomercartQue7.cartitems) == 0 && /*#__PURE__*/React.createElement("div", {
|
|
13455
13783
|
className: "col-lg-12 p-0 mt-5 anim pt-3"
|
|
13456
13784
|
}, /*#__PURE__*/React.createElement("div", {
|
|
13457
13785
|
className: "row m-0 w-100 d-flex align-items-center justify-content-center",
|
|
@@ -13494,8 +13822,8 @@ var CartSlider = function CartSlider(props) {
|
|
|
13494
13822
|
style: {
|
|
13495
13823
|
animationDuration: '.7s'
|
|
13496
13824
|
}
|
|
13497
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13498
|
-
var _item$productinfo, _item$variantoptions,
|
|
13825
|
+
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue8 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.map(function (item, index) {
|
|
13826
|
+
var _item$productinfo, _item$variantoptions, _fetchcustomercartQue9;
|
|
13499
13827
|
return /*#__PURE__*/React.createElement("div", {
|
|
13500
13828
|
className: "col-lg-12 mb-3 p-0"
|
|
13501
13829
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -13664,12 +13992,12 @@ var CartSlider = function CartSlider(props) {
|
|
|
13664
13992
|
onClick: function onClick() {
|
|
13665
13993
|
deletecartitemContext(item);
|
|
13666
13994
|
}
|
|
13667
|
-
}, lang.remove))))))), index != (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
13995
|
+
}, lang.remove))))))), index != (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue9 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.customercart) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue9 === void 0 ? void 0 : _fetchcustomercartQue9.length) - 1 && /*#__PURE__*/React.createElement("div", {
|
|
13668
13996
|
className: "col-lg-12 mt-3 p-0"
|
|
13669
13997
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
13670
13998
|
className: "m-0"
|
|
13671
13999
|
})));
|
|
13672
|
-
}))))), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14000
|
+
}))))), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue10 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue10 === void 0 || (_fetchcustomercartQue10 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.customercart) != null && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue11 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.cartitems) === null || _fetchcustomercartQue11 === void 0 ? void 0 : _fetchcustomercartQue11.length) != 0 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
13673
14001
|
className: "col-lg-12 mb-1 p-0 mt-auto anim mb-md-4",
|
|
13674
14002
|
style: {
|
|
13675
14003
|
animationDuration: '.8s'
|
|
@@ -13704,7 +14032,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
13704
14032
|
textTransform: sectionproperties.total_texttransform,
|
|
13705
14033
|
color: sectionproperties.total_color
|
|
13706
14034
|
}
|
|
13707
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14035
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue12 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : _fetchcustomercartQue12.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
13708
14036
|
"class": "col-lg-12 mt-1 d-flex align-items-center justify-content-start p-0"
|
|
13709
14037
|
}, /*#__PURE__*/React.createElement("p", {
|
|
13710
14038
|
"class": "m-0 p-0",
|
|
@@ -13713,7 +14041,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
13713
14041
|
fontSize: '13px',
|
|
13714
14042
|
fontWeight: 500
|
|
13715
14043
|
}
|
|
13716
|
-
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar)), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
14044
|
+
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar)), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue13 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue13 === void 0 || (_fetchcustomercartQue13 = _fetchcustomercartQue13.data) === null || _fetchcustomercartQue13 === void 0 || (_fetchcustomercartQue13 = _fetchcustomercartQue13.customercart) === null || _fetchcustomercartQue13 === void 0 || (_fetchcustomercartQue13 = _fetchcustomercartQue13.cartitems) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.length) != 0 && /*#__PURE__*/React.createElement("div", {
|
|
13717
14045
|
className: "col-lg-12 p-0 mt-4 d-flex flex-column align-items-center justify-content-center"
|
|
13718
14046
|
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
13719
14047
|
className: " ".concat(cart_cssstyles.cart_btn) + ' mb-2 d-flex align-items-center justify-content-center ',
|
|
@@ -16750,7 +17078,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
16750
17078
|
image: ''
|
|
16751
17079
|
};
|
|
16752
17080
|
if (fetchingtype == 'products') {
|
|
16753
|
-
var _arrayItem$features3
|
|
17081
|
+
var _arrayItem$features3;
|
|
16754
17082
|
var itemquantity = 0;
|
|
16755
17083
|
if (langdetect == 'en') {
|
|
16756
17084
|
cardobj.name = arrayItem.productinfo.name_en;
|
|
@@ -16788,8 +17116,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
16788
17116
|
var _arrayItem$features2;
|
|
16789
17117
|
cardobj.productfeature = arrayItem === null || arrayItem === void 0 || (_arrayItem$features2 = arrayItem.features) === null || _arrayItem$features2 === void 0 ? void 0 : _arrayItem$features2.value_ar;
|
|
16790
17118
|
}
|
|
16791
|
-
cardobj.productfeature = arrayItem
|
|
16792
|
-
cardobj.feature_image_url = arrayItem === null || arrayItem === void 0 || (_arrayItem$
|
|
17119
|
+
// cardobj.productfeature = arrayItem?.features?.value_ar;
|
|
17120
|
+
cardobj.feature_image_url = arrayItem === null || arrayItem === void 0 || (_arrayItem$features3 = arrayItem.features) === null || _arrayItem$features3 === void 0 || (_arrayItem$features3 = _arrayItem$features3.featureinfo) === null || _arrayItem$features3 === void 0 ? void 0 : _arrayItem$features3.feature_image_url;
|
|
16793
17121
|
cardobj.productendpointurl = arrayItem.productinfo.productendpointurl;
|
|
16794
17122
|
cardobj.hassale = arrayItem.productinfo.hassale;
|
|
16795
17123
|
cardobj.productid = arrayItem.productinfo.productid;
|