tabexseriescomponents 0.2.1261 → 0.2.1262
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 +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -4016,7 +4016,7 @@ var index=existing.indexOf(productId);if(index>-1){// If exists, remove it (togg
|
|
|
4016
4016
|
existing.splice(index,1);setIsCompared(false);}else {// If not, add it (toggle on)
|
|
4017
4017
|
existing.push(productId);setIsCompared(true);}// Update localStorage
|
|
4018
4018
|
localStorage.setItem(key,JSON.stringify(existing));// Optionally show feedback (remove this in production)
|
|
4019
|
-
}},isCompared?lang.remove:lang.compare))
|
|
4019
|
+
}},isCompared?lang.remove:lang.compare)),sectionproperties.featuresposition=='Under CTA'&§ionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),sectionproperties.showpaymentfooter=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-5 allcentered"// style={{ overflow: 'hidden', border: '1px solid #ccc', borderRadius: 10 }}
|
|
4020
4020
|
},sectionproperties.showvisa=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:'mx-3 allcentered',style:{width:'60px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/visa.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showmastercard=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:'mx-3 allcentered',style:{width:'50px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/mastercard.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showfawry=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:'mx-3 allcentered',style:{width:'70px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/fawry.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showmeeza=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:'mx-3 allcentered',style:{width:'50px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/meezaimage.png',style:{maxWidth:'100%',maxHeight:'100%'}}))),sectionproperties.storeinfoposition=='Below Information'&&props.actions.srcfromprops!='templatedraftrouter'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},StoreInfoprops('belowinfo'))))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i24=authdetailsContext.instinfo)===null||_authdetailsContext$i24===void 0?void 0:_authdetailsContext$i24.instid)=='69ce49ee861df'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.descriptionContentEn:sectionproperties.descriptionContentAr)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})))),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"my-3"})),sectionproperties.featuresposition!='Under Name'&§ionproperties.featuresposition!='Under Description'&§ionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer72=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.productinfo)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.productfeatures)===null||_fetchProductInfoQuer72===void 0?void 0:_fetchProductInfoQuer72.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer73=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.productinfo)===null||_fetchProductInfoQuer73===void 0?void 0:_fetchProductInfoQuer73.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 text-start mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{"class":productinfo_cssstyles.sizeguidebtn+' m-0 p-0 cursor-pointer mb-auto ',onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer74=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.productinfo)===null||_fetchProductInfoQuer74===void 0?void 0:_fetchProductInfoQuer74.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer75=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.productinfo)===null||_fetchProductInfoQuer75===void 0?void 0:_fetchProductInfoQuer75.hasvariants)==0?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mt-3'},sectionproperties.descriptioncollapseopen=='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},DescriptionAccordion()),sectionproperties.descriptioncollapseopen!='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},DescriptionAccordion())),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer76=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.productinfo)===null||_fetchProductInfoQuer76===void 0?void 0:_fetchProductInfoQuer76.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer77=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.productinfo)===null||_fetchProductInfoQuer77===void 0?void 0:_fetchProductInfoQuer77.short_description_ar}})))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i25=authdetailsContext.instinfo)===null||_authdetailsContext$i25===void 0?void 0:_authdetailsContext$i25.contactinfo.instid)!='6852e5ed44e14'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.eviewssectionstyle=='In Collapse'?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mb-3',style:{display:sectionproperties.showfirstpolicy=='Hide'&§ionproperties.showsecondpolicy=='Hide'?'none':'flex'}},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.policiestitleen:sectionproperties.policiestitlear)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(FiBox$1.FiBox,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},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__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__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}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.ShippingPolicy);}},"SEE MORE")),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(RiArrowGoBackLine.RiArrowGoBackLine,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj5=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj5===void 0?void 0:_returnpolicyobj5.policypagename_en:(_returnpolicyobj6=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj6===void 0?void 0:_returnpolicyobj6.policypagename_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__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}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React__default["default"].createElement(ProductReviews,{actions:_objectSpread$2F(_objectSpread$2F({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
|
|
4021
4021
|
// srcfromprops={'collapsepinfo'}
|
|
4022
4022
|
})))))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer78=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.productinfo)===null||_fetchProductInfoQuer78===void 0?void 0:_fetchProductInfoQuer78.isproducttobesold)==1&§ionproperties.showtotalsection=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3"},TotalSection()),sectionproperties.availabilitybtnposition=='Bottom'&§ionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer79=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer79===void 0||(_fetchProductInfoQuer79=_fetchProductInfoQuer79.data)===null||_fetchProductInfoQuer79===void 0||(_fetchProductInfoQuer79=_fetchProductInfoQuer79.productinfo)===null||_fetchProductInfoQuer79===void 0?void 0:_fetchProductInfoQuer79.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3 mt-2"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React__default["default"].createElement("span",{style:{color:sectionproperties.availability_textcolor},className:"font-weight-600"},lang.availability,":"),/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity)))),sectionproperties.showShareButton=='Show'&§ionproperties.sharebtnstyle=='Style 1'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i26=authdetailsContext.instinfo)===null||_authdetailsContext$i26===void 0?void 0:_authdetailsContext$i26.contactinfo.instid)!='69a3437faf64f'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"mb-3 mt-3",style:{borderColor:'#eee'}})),sectionproperties.showShareButton=='Show'&§ionproperties.sharebtnstyle=='Style 1'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i27=authdetailsContext.instinfo)===null||_authdetailsContext$i27===void 0?void 0:_authdetailsContext$i27.contactinfo.instid)!='69a3437faf64f'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 mt-2 p-0"},ShareButtonsContainer()))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i28=authdetailsContext.instinfo)===null||_authdetailsContext$i28===void 0?void 0:_authdetailsContext$i28.contactinfo.instid)=='68a9e83c05b75'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 pt-4 mt-3 px-5 px-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer80=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.data)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.productinfo)===null||_fetchProductInfoQuer80===void 0?void 0:_fetchProductInfoQuer80.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer81=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.productinfo)===null||_fetchProductInfoQuer81===void 0?void 0:_fetchProductInfoQuer81.short_description_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 m-0 w-100 p-0 mt-5"},/*#__PURE__*/React__default["default"].createElement("table",{className:'table tablevertical'},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer82=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.data)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.productinfo)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.productfeatures)===null||_fetchProductInfoQuer82===void 0?void 0:_fetchProductInfoQuer82.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',// color: '#000',
|
package/dist/index.esm.js
CHANGED
|
@@ -3965,7 +3965,7 @@ var index=existing.indexOf(productId);if(index>-1){// If exists, remove it (togg
|
|
|
3965
3965
|
existing.splice(index,1);setIsCompared(false);}else {// If not, add it (toggle on)
|
|
3966
3966
|
existing.push(productId);setIsCompared(true);}// Update localStorage
|
|
3967
3967
|
localStorage.setItem(key,JSON.stringify(existing));// Optionally show feedback (remove this in production)
|
|
3968
|
-
}},isCompared?lang.remove:lang.compare))
|
|
3968
|
+
}},isCompared?lang.remove:lang.compare)),sectionproperties.featuresposition=='Under CTA'&§ionproperties.featurestyle=='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),sectionproperties.showpaymentfooter=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-5 allcentered"// style={{ overflow: 'hidden', border: '1px solid #ccc', borderRadius: 10 }}
|
|
3969
3969
|
},sectionproperties.showvisa=='Show'&&/*#__PURE__*/React.createElement("div",{className:'mx-3 allcentered',style:{width:'60px',height:'40px'}},/*#__PURE__*/React.createElement("img",{src:'https://tabex-co.com/storage/StaticImages/visa.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showmastercard=='Show'&&/*#__PURE__*/React.createElement("div",{className:'mx-3 allcentered',style:{width:'50px',height:'40px'}},/*#__PURE__*/React.createElement("img",{src:'https://tabex-co.com/storage/StaticImages/mastercard.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showfawry=='Show'&&/*#__PURE__*/React.createElement("div",{className:'mx-3 allcentered',style:{width:'70px',height:'40px'}},/*#__PURE__*/React.createElement("img",{src:'https://tabex-co.com/storage/StaticImages/fawry.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showmeeza=='Show'&&/*#__PURE__*/React.createElement("div",{className:'mx-3 allcentered',style:{width:'50px',height:'40px'}},/*#__PURE__*/React.createElement("img",{src:'https://tabex-co.com/storage/StaticImages/meezaimage.png',style:{maxWidth:'100%',maxHeight:'100%'}}))),sectionproperties.storeinfoposition=='Below Information'&&props.actions.srcfromprops!='templatedraftrouter'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},StoreInfoprops('belowinfo'))))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i24=authdetailsContext.instinfo)===null||_authdetailsContext$i24===void 0?void 0:_authdetailsContext$i24.instid)=='69ce49ee861df'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React.createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.descriptionContentEn:sectionproperties.descriptionContentAr)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})))),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"my-3"})),sectionproperties.featuresposition!='Under Name'&§ionproperties.featuresposition!='Under Description'&§ionproperties.featurestyle!='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer72=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.productinfo)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.productfeatures)===null||_fetchProductInfoQuer72===void 0?void 0:_fetchProductInfoQuer72.map(function(fitem,findex){return/*#__PURE__*/React.createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React.createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},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",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer73=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.productinfo)===null||_fetchProductInfoQuer73===void 0?void 0:_fetchProductInfoQuer73.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-12 text-start mt-3"},/*#__PURE__*/React.createElement("p",{"class":productinfo_cssstyles.sizeguidebtn+' m-0 p-0 cursor-pointer mb-auto ',onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer74=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.productinfo)===null||_fetchProductInfoQuer74===void 0?void 0:_fetchProductInfoQuer74.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer75=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.productinfo)===null||_fetchProductInfoQuer75===void 0?void 0:_fetchProductInfoQuer75.hasvariants)==0?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mt-3'},sectionproperties.descriptioncollapseopen=='Yes'&&/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},DescriptionAccordion()),sectionproperties.descriptioncollapseopen!='Yes'&&/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},DescriptionAccordion())),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer76=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.productinfo)===null||_fetchProductInfoQuer76===void 0?void 0:_fetchProductInfoQuer76.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer77=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.productinfo)===null||_fetchProductInfoQuer77===void 0?void 0:_fetchProductInfoQuer77.short_description_ar}})))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i25=authdetailsContext.instinfo)===null||_authdetailsContext$i25===void 0?void 0:_authdetailsContext$i25.contactinfo.instid)!='6852e5ed44e14'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.eviewssectionstyle=='In Collapse'?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mb-3',style:{display:sectionproperties.showfirstpolicy=='Hide'&§ionproperties.showsecondpolicy=='Hide'?'none':'flex'}},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.policiestitleen:sectionproperties.policiestitlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"},/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React.createElement(FiBox$1,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},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",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__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}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.ShippingPolicy);}},"SEE MORE")),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"},/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React.createElement(RiArrowGoBackLine,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},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",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__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}})),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},/*#__PURE__*/React.createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React.createElement(ProductReviews,{actions:_objectSpread$2F(_objectSpread$2F({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
|
|
3970
3970
|
// srcfromprops={'collapsepinfo'}
|
|
3971
3971
|
})))))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer78=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.productinfo)===null||_fetchProductInfoQuer78===void 0?void 0:_fetchProductInfoQuer78.isproducttobesold)==1&§ionproperties.showtotalsection=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3"},TotalSection()),sectionproperties.availabilitybtnposition=='Bottom'&§ionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer79=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer79===void 0||(_fetchProductInfoQuer79=_fetchProductInfoQuer79.data)===null||_fetchProductInfoQuer79===void 0||(_fetchProductInfoQuer79=_fetchProductInfoQuer79.productinfo)===null||_fetchProductInfoQuer79===void 0?void 0:_fetchProductInfoQuer79.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3 mt-2"},/*#__PURE__*/React.createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React.createElement("span",{style:{color:sectionproperties.availability_textcolor},className:"font-weight-600"},lang.availability,":"),/*#__PURE__*/React.createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity)))),sectionproperties.showShareButton=='Show'&§ionproperties.sharebtnstyle=='Style 1'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i26=authdetailsContext.instinfo)===null||_authdetailsContext$i26===void 0?void 0:_authdetailsContext$i26.contactinfo.instid)!='69a3437faf64f'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{"class":"mb-3 mt-3",style:{borderColor:'#eee'}})),sectionproperties.showShareButton=='Show'&§ionproperties.sharebtnstyle=='Style 1'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i27=authdetailsContext.instinfo)===null||_authdetailsContext$i27===void 0?void 0:_authdetailsContext$i27.contactinfo.instid)!='69a3437faf64f'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 mt-2 p-0"},ShareButtonsContainer()))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i28=authdetailsContext.instinfo)===null||_authdetailsContext$i28===void 0?void 0:_authdetailsContext$i28.contactinfo.instid)=='68a9e83c05b75'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 pt-4 mt-3 px-5 px-md-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer80=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.data)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.productinfo)===null||_fetchProductInfoQuer80===void 0?void 0:_fetchProductInfoQuer80.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer81=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.productinfo)===null||_fetchProductInfoQuer81===void 0?void 0:_fetchProductInfoQuer81.short_description_ar}})),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 m-0 w-100 p-0 mt-5"},/*#__PURE__*/React.createElement("table",{className:'table tablevertical'},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer82=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.data)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.productinfo)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.productfeatures)===null||_fetchProductInfoQuer82===void 0?void 0:_fetchProductInfoQuer82.map(function(fitem,findex){return/*#__PURE__*/React.createElement("tr",null,/*#__PURE__*/React.createElement("th",{style:{textTransform:'capitalize',// color: '#000',
|
package/dist/index.umd.js
CHANGED
|
@@ -3822,7 +3822,7 @@
|
|
|
3822
3822
|
existing.splice(index,1);setIsCompared(false);}else {// If not, add it (toggle on)
|
|
3823
3823
|
existing.push(productId);setIsCompared(true);}// Update localStorage
|
|
3824
3824
|
localStorage.setItem(key,JSON.stringify(existing));// Optionally show feedback (remove this in production)
|
|
3825
|
-
}},isCompared?lang.remove:lang.compare))
|
|
3825
|
+
}},isCompared?lang.remove:lang.compare)),sectionproperties.featuresposition=='Under CTA'&§ionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),sectionproperties.showpaymentfooter=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-5 allcentered"// style={{ overflow: 'hidden', border: '1px solid #ccc', borderRadius: 10 }}
|
|
3826
3826
|
},sectionproperties.showvisa=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:'mx-3 allcentered',style:{width:'60px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/visa.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showmastercard=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:'mx-3 allcentered',style:{width:'50px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/mastercard.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showfawry=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:'mx-3 allcentered',style:{width:'70px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/fawry.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showmeeza=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:'mx-3 allcentered',style:{width:'50px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/meezaimage.png',style:{maxWidth:'100%',maxHeight:'100%'}}))),sectionproperties.storeinfoposition=='Below Information'&&props.actions.srcfromprops!='templatedraftrouter'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},StoreInfoprops('belowinfo'))))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i24=authdetailsContext.instinfo)===null||_authdetailsContext$i24===void 0?void 0:_authdetailsContext$i24.instid)=='69ce49ee861df'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.descriptionContentEn:sectionproperties.descriptionContentAr)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})))),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"my-3"})),sectionproperties.featuresposition!='Under Name'&§ionproperties.featuresposition!='Under Description'&§ionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer72=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.productinfo)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.productfeatures)===null||_fetchProductInfoQuer72===void 0?void 0:_fetchProductInfoQuer72.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer73=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.productinfo)===null||_fetchProductInfoQuer73===void 0?void 0:_fetchProductInfoQuer73.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 text-start mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{"class":productinfo_cssstyles.sizeguidebtn+' m-0 p-0 cursor-pointer mb-auto ',onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer74=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.productinfo)===null||_fetchProductInfoQuer74===void 0?void 0:_fetchProductInfoQuer74.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer75=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.productinfo)===null||_fetchProductInfoQuer75===void 0?void 0:_fetchProductInfoQuer75.hasvariants)==0?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mt-3'},sectionproperties.descriptioncollapseopen=='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},DescriptionAccordion()),sectionproperties.descriptioncollapseopen!='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},DescriptionAccordion())),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer76=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.productinfo)===null||_fetchProductInfoQuer76===void 0?void 0:_fetchProductInfoQuer76.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer77=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.productinfo)===null||_fetchProductInfoQuer77===void 0?void 0:_fetchProductInfoQuer77.short_description_ar}})))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i25=authdetailsContext.instinfo)===null||_authdetailsContext$i25===void 0?void 0:_authdetailsContext$i25.contactinfo.instid)!='6852e5ed44e14'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.eviewssectionstyle=='In Collapse'?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mb-3',style:{display:sectionproperties.showfirstpolicy=='Hide'&§ionproperties.showsecondpolicy=='Hide'?'none':'flex'}},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.policiestitleen:sectionproperties.policiestitlear)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(FiBox$1.FiBox,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},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__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__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}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.ShippingPolicy);}},"SEE MORE")),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(RiArrowGoBackLine.RiArrowGoBackLine,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj5=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj5===void 0?void 0:_returnpolicyobj5.policypagename_en:(_returnpolicyobj6=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj6===void 0?void 0:_returnpolicyobj6.policypagename_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__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}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React__default["default"].createElement(ProductReviews,{actions:_objectSpread$2F(_objectSpread$2F({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
|
|
3827
3827
|
// srcfromprops={'collapsepinfo'}
|
|
3828
3828
|
})))))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer78=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.productinfo)===null||_fetchProductInfoQuer78===void 0?void 0:_fetchProductInfoQuer78.isproducttobesold)==1&§ionproperties.showtotalsection=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3"},TotalSection()),sectionproperties.availabilitybtnposition=='Bottom'&§ionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer79=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer79===void 0||(_fetchProductInfoQuer79=_fetchProductInfoQuer79.data)===null||_fetchProductInfoQuer79===void 0||(_fetchProductInfoQuer79=_fetchProductInfoQuer79.productinfo)===null||_fetchProductInfoQuer79===void 0?void 0:_fetchProductInfoQuer79.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3 mt-2"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React__default["default"].createElement("span",{style:{color:sectionproperties.availability_textcolor},className:"font-weight-600"},lang.availability,":"),/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity)))),sectionproperties.showShareButton=='Show'&§ionproperties.sharebtnstyle=='Style 1'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i26=authdetailsContext.instinfo)===null||_authdetailsContext$i26===void 0?void 0:_authdetailsContext$i26.contactinfo.instid)!='69a3437faf64f'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"mb-3 mt-3",style:{borderColor:'#eee'}})),sectionproperties.showShareButton=='Show'&§ionproperties.sharebtnstyle=='Style 1'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i27=authdetailsContext.instinfo)===null||_authdetailsContext$i27===void 0?void 0:_authdetailsContext$i27.contactinfo.instid)!='69a3437faf64f'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 mt-2 p-0"},ShareButtonsContainer()))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i28=authdetailsContext.instinfo)===null||_authdetailsContext$i28===void 0?void 0:_authdetailsContext$i28.contactinfo.instid)=='68a9e83c05b75'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 pt-4 mt-3 px-5 px-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer80=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.data)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.productinfo)===null||_fetchProductInfoQuer80===void 0?void 0:_fetchProductInfoQuer80.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer81=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.productinfo)===null||_fetchProductInfoQuer81===void 0?void 0:_fetchProductInfoQuer81.short_description_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 m-0 w-100 p-0 mt-5"},/*#__PURE__*/React__default["default"].createElement("table",{className:'table tablevertical'},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer82=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.data)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.productinfo)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.productfeatures)===null||_fetchProductInfoQuer82===void 0?void 0:_fetchProductInfoQuer82.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',// color: '#000',
|