tabexseriescomponents 0.2.1408 → 0.2.1409

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 CHANGED
@@ -4578,7 +4578,7 @@ var favorites=parsed.products||[];if(favorites.includes(productid_fav)){setIsFav
4578
4578
  var Slideshowsettings={indicators:true,arrows:true,pauseOnHover:false,scale:2};var toggleFullScreen=function toggleFullScreen(){if(gallery){gallery.toggleFullScreen();}};React.useEffect(function(){var itemobj=fetchProductInfoQueryContext.data.data.productinfo;if(stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)){itemobj.titlelang='en';}else {itemobj.titlelang='ar';}if(stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.description_en)){itemobj.decriptionlang='en';}else {itemobj.decriptionlang='ar';}setitem(itemobj);settitle(fetchProductInfoQueryContext.data.data.productinfo.name_en);setshareUrl('https://'+authdetailsContext.instinfo.instcred.instexternaldomain+'/productinfo/'+fetchProductInfoQueryContext.data.data.productinfo.productid);},[props.itemprops]);function stringIsEnglish(str){var titlelang='English';var arabic=/[\u0600-\u06FF]/;if(!arabic.test(str)){titlelang=true;}else {titlelang=false;}return titlelang;}var Ar_redirector=function Ar_redirector(){// var instapikey = authdetailsContext?.instinfo?.instcred?.webapp_apikey;
4579
4579
  // var productid = fetchProductInfoQueryContext?.data?.data?.productinfo?.productid;
4580
4580
  // const url = https://3d-tryon.vercel.app/?i=${instapikey}&p=${productid};
4581
- var url='https://3d-tryon.vercel.app/?i=68319d088f13f&p=6832fc16af9d7';window.open(url,'_blank');};var ShareButtonsContainer=function ShareButtonsContainer(){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 d-flex justify-content-center flex-column align-items-center p-0"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontWeight:sectionproperties.sharebtn_FontWeight,color:sectionproperties.sharebtn_color,fontSize:sectionproperties.sharebtn_fontSize+'px'}},langdetect=='en'?sectionproperties.sharebtn_contentEn:sectionproperties.sharebtn_contentAr),/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__container w-100 m-0 allcentered mt-3"},/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React__default["default"].createElement(reactShare.FacebookShareButton,{url:shareUrl,quote:title,className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement(reactShare.FacebookIcon,{size:40,round:true}))),/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React__default["default"].createElement(reactShare.EmailShareButton,{url:shareUrl,quote:title,className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement(reactShare.EmailIcon,{size:40,round:true}))),sectionproperties.shareviax=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2",style:{width:'40px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement(reactShare.TwitterShareButton,{url:shareUrl,title:title,className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/twitterxicon.png',style:{width:'100%',height:'100%',objectFit:'contain'}}))),/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappShareButton,{url:shareUrl,title:title,separator:":: ",className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappIcon,{size:40,round:true}))),sectionproperties.showsharelinkedin=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React__default["default"].createElement(reactShare.LinkedinShareButton,{url:shareUrl,title:title,separator:":: ",className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement(reactShare.LinkedinIcon,{size:40,round:true}))))));};React.useEffect(function(){if(fetchProductInfoQueryContext!==null&&fetchProductInfoQueryContext!==void 0&&fetchProductInfoQueryContext.isSuccess){var _fetchProductInfoQuer2;var key='comparedProducts';var existing=JSON.parse(localStorage.getItem(key))||[];setIsCompared(existing.includes(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer2=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer2===void 0||(_fetchProductInfoQuer2=_fetchProductInfoQuer2.data)===null||_fetchProductInfoQuer2===void 0||(_fetchProductInfoQuer2=_fetchProductInfoQuer2.productinfo)===null||_fetchProductInfoQuer2===void 0?void 0:_fetchProductInfoQuer2.productid));}},[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0?void 0:fetchProductInfoQueryContext.isSuccess,fetchProductInfoQueryContext.data]);// {fetchProductInfoQueryContext.data.data.productinfo.hassale == 0
4581
+ var url='https://3d-tryon.vercel.app/?i=68319d088f13f&p=6832fc16af9d7';window.open(url,'_blank');};var ShareButtonsContainer=function ShareButtonsContainer(){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 d-flex justify-content-center flex-column align-items-center p-0"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontWeight:sectionproperties.sharebtn_FontWeight,color:sectionproperties.sharebtn_color,fontSize:sectionproperties.sharebtn_fontSize+'px'}},langdetect=='en'?sectionproperties.sharebtn_contentEn:sectionproperties.sharebtn_contentAr),/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__container w-100 m-0 allcentered mt-3"},/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React__default["default"].createElement(reactShare.FacebookShareButton,{url:shareUrl,quote:title,className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement(reactShare.FacebookIcon,{size:40,round:true}))),sectionproperties.sharewithemail=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React__default["default"].createElement(reactShare.EmailShareButton,{url:shareUrl,quote:title,className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement(reactShare.EmailIcon,{size:40,round:true}))),sectionproperties.shareviax=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2",style:{width:'40px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement(reactShare.TwitterShareButton,{url:shareUrl,title:title,className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/twitterxicon.png',style:{width:'100%',height:'100%',objectFit:'contain'}}))),/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappShareButton,{url:shareUrl,title:title,separator:":: ",className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappIcon,{size:40,round:true}))),sectionproperties.showsharelinkedin=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React__default["default"].createElement(reactShare.LinkedinShareButton,{url:shareUrl,title:title,separator:":: ",className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement(reactShare.LinkedinIcon,{size:40,round:true}))))));};React.useEffect(function(){if(fetchProductInfoQueryContext!==null&&fetchProductInfoQueryContext!==void 0&&fetchProductInfoQueryContext.isSuccess){var _fetchProductInfoQuer2;var key='comparedProducts';var existing=JSON.parse(localStorage.getItem(key))||[];setIsCompared(existing.includes(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer2=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer2===void 0||(_fetchProductInfoQuer2=_fetchProductInfoQuer2.data)===null||_fetchProductInfoQuer2===void 0||(_fetchProductInfoQuer2=_fetchProductInfoQuer2.productinfo)===null||_fetchProductInfoQuer2===void 0?void 0:_fetchProductInfoQuer2.productid));}},[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0?void 0:fetchProductInfoQueryContext.isSuccess,fetchProductInfoQueryContext.data]);// {fetchProductInfoQueryContext.data.data.productinfo.hassale == 0
4582
4582
  // ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2)
4583
4583
  // : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)}
4584
4584
  React.useEffect(function(){var _fetchProductInfoQuer3;var totalprice='';if(variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==0){totalprice=parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2);}else if(variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==1){totalprice=parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2);}else if(variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer3=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer3===void 0||(_fetchProductInfoQuer3=_fetchProductInfoQuer3.data)===null||_fetchProductInfoQuer3===void 0||(_fetchProductInfoQuer3=_fetchProductInfoQuer3.productinfo)===null||_fetchProductInfoQuer3===void 0||(_fetchProductInfoQuer3=_fetchProductInfoQuer3.variants[variantindexcompleted])===null||_fetchProductInfoQuer3===void 0?void 0:_fetchProductInfoQuer3.hassale)==1){totalprice=parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2);}else {totalprice=parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2);}settotalprice(totalprice);setcurrentshowingimageindex(props.actions.currentshowingimageindex);},[variantindexcompleted]);// useEffect(() => {
@@ -83357,29 +83357,6 @@ var Slideshowzoom = function Slideshowzoom(props) {
83357
83357
  }
83358
83358
  }),
83359
83359
  slideshow_btn2mazal: glamor.css({
83360
- // zIndex: 1000,
83361
- // height: sectionproperties.generalbtn_height + 'px',
83362
- // width: sectionproperties.generalbtn_width + 'px',
83363
- // background: sectionproperties.generalbtn_bgColor,
83364
- // color: sectionproperties.generalbtn_textColor,
83365
- // borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
83366
- // borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
83367
- // borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
83368
- // borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
83369
- // fontSize: sectionproperties.generalbtn_fontsize + 'px',
83370
- // lineHeight: sectionproperties.generalbtn_fontsize + 'px',
83371
- // textTransform: sectionproperties.generalbtn_texttransform,
83372
- // fontWeight: sectionproperties.generalbtn_fontweight,
83373
- // transition: '.3s',
83374
- // ':hover': {
83375
- // background: sectionproperties.generalbtn_bgColoronhover,
83376
- // color: sectionproperties.generalbtn_textColoronhover,
83377
- // },
83378
- // '@media (max-width: 800px)': {
83379
- // width: sectionproperties.generalbtnwidthresp + 'px',
83380
- // height: sectionproperties.generalbtnheightresponsive + 'px',
83381
- // fontSize: sectionproperties.generalbtnfontsizeresp + 'px',
83382
- // },
83383
83360
  height: sectionproperties.generalbtn_height + 'px',
83384
83361
  width: sectionproperties.generalbtn_width + 'px',
83385
83362
  background: sectionproperties.generalbtn_bgColor,
@@ -83475,7 +83452,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
83475
83452
  // routingcountext('ready-meals', true, '');
83476
83453
  routingcountext('ready-meals', false, '');
83477
83454
  }
83478
- }, langdetect == 'en' ? 'Explore Our Menu' : 'اكتشف القائمة')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
83455
+ }, langdetect == 'en' ? 'Explore Our Menu' : 'اكتشف القائمة'), authdetailsContext.instinfo.instid == '6a676c9404b74' && /*#__PURE__*/React__default["default"].createElement("button", {
83456
+ "class": "".concat(slideshow_styles.slideshow_btn2mazal) + ' allcentered mx-1 ',
83457
+ style: {
83458
+ letterSpacing: langdetect == 'en' ? '1px' : 0
83459
+ },
83460
+ onClick: function onClick() {
83461
+ routingcountext('generalproducts', false, '');
83462
+ }
83463
+ }, langdetect == 'en' ? 'Best Sellers' : 'الاكثر مبيعاً')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
83479
83464
  "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : item.titleen == null && item.descriptionen == null ? sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 allcentered-md' : 'col-lg-12 text-start',
83480
83465
  "data-aos": 'fade-up',
83481
83466
  "data-aos-delay": "300"
package/dist/index.esm.js CHANGED
@@ -4527,7 +4527,7 @@ var favorites=parsed.products||[];if(favorites.includes(productid_fav)){setIsFav
4527
4527
  var Slideshowsettings={indicators:true,arrows:true,pauseOnHover:false,scale:2};var toggleFullScreen=function toggleFullScreen(){if(gallery){gallery.toggleFullScreen();}};useEffect(function(){var itemobj=fetchProductInfoQueryContext.data.data.productinfo;if(stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)){itemobj.titlelang='en';}else {itemobj.titlelang='ar';}if(stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.description_en)){itemobj.decriptionlang='en';}else {itemobj.decriptionlang='ar';}setitem(itemobj);settitle(fetchProductInfoQueryContext.data.data.productinfo.name_en);setshareUrl('https://'+authdetailsContext.instinfo.instcred.instexternaldomain+'/productinfo/'+fetchProductInfoQueryContext.data.data.productinfo.productid);},[props.itemprops]);function stringIsEnglish(str){var titlelang='English';var arabic=/[\u0600-\u06FF]/;if(!arabic.test(str)){titlelang=true;}else {titlelang=false;}return titlelang;}var Ar_redirector=function Ar_redirector(){// var instapikey = authdetailsContext?.instinfo?.instcred?.webapp_apikey;
4528
4528
  // var productid = fetchProductInfoQueryContext?.data?.data?.productinfo?.productid;
4529
4529
  // const url = https://3d-tryon.vercel.app/?i=${instapikey}&p=${productid};
4530
- var url='https://3d-tryon.vercel.app/?i=68319d088f13f&p=6832fc16af9d7';window.open(url,'_blank');};var ShareButtonsContainer=function ShareButtonsContainer(){return/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 d-flex justify-content-center flex-column align-items-center p-0"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontWeight:sectionproperties.sharebtn_FontWeight,color:sectionproperties.sharebtn_color,fontSize:sectionproperties.sharebtn_fontSize+'px'}},langdetect=='en'?sectionproperties.sharebtn_contentEn:sectionproperties.sharebtn_contentAr),/*#__PURE__*/React.createElement("div",{className:"Demo__container w-100 m-0 allcentered mt-3"},/*#__PURE__*/React.createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React.createElement(FacebookShareButton,{url:shareUrl,quote:title,className:"Demo__some-network__share-button"},/*#__PURE__*/React.createElement(FacebookIcon,{size:40,round:true}))),/*#__PURE__*/React.createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React.createElement(EmailShareButton,{url:shareUrl,quote:title,className:"Demo__some-network__share-button"},/*#__PURE__*/React.createElement(EmailIcon,{size:40,round:true}))),sectionproperties.shareviax=='Show'&&/*#__PURE__*/React.createElement("div",{className:"Demo__some-network ml-2 mr-2",style:{width:'40px',height:'40px'}},/*#__PURE__*/React.createElement(TwitterShareButton,{url:shareUrl,title:title,className:"Demo__some-network__share-button"},/*#__PURE__*/React.createElement("img",{src:'https://tabex-co.com/storage/StaticImages/twitterxicon.png',style:{width:'100%',height:'100%',objectFit:'contain'}}))),/*#__PURE__*/React.createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React.createElement(WhatsappShareButton,{url:shareUrl,title:title,separator:":: ",className:"Demo__some-network__share-button"},/*#__PURE__*/React.createElement(WhatsappIcon,{size:40,round:true}))),sectionproperties.showsharelinkedin=='Show'&&/*#__PURE__*/React.createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React.createElement(LinkedinShareButton,{url:shareUrl,title:title,separator:":: ",className:"Demo__some-network__share-button"},/*#__PURE__*/React.createElement(LinkedinIcon,{size:40,round:true}))))));};useEffect(function(){if(fetchProductInfoQueryContext!==null&&fetchProductInfoQueryContext!==void 0&&fetchProductInfoQueryContext.isSuccess){var _fetchProductInfoQuer2;var key='comparedProducts';var existing=JSON.parse(localStorage.getItem(key))||[];setIsCompared(existing.includes(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer2=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer2===void 0||(_fetchProductInfoQuer2=_fetchProductInfoQuer2.data)===null||_fetchProductInfoQuer2===void 0||(_fetchProductInfoQuer2=_fetchProductInfoQuer2.productinfo)===null||_fetchProductInfoQuer2===void 0?void 0:_fetchProductInfoQuer2.productid));}},[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0?void 0:fetchProductInfoQueryContext.isSuccess,fetchProductInfoQueryContext.data]);// {fetchProductInfoQueryContext.data.data.productinfo.hassale == 0
4530
+ var url='https://3d-tryon.vercel.app/?i=68319d088f13f&p=6832fc16af9d7';window.open(url,'_blank');};var ShareButtonsContainer=function ShareButtonsContainer(){return/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 d-flex justify-content-center flex-column align-items-center p-0"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontWeight:sectionproperties.sharebtn_FontWeight,color:sectionproperties.sharebtn_color,fontSize:sectionproperties.sharebtn_fontSize+'px'}},langdetect=='en'?sectionproperties.sharebtn_contentEn:sectionproperties.sharebtn_contentAr),/*#__PURE__*/React.createElement("div",{className:"Demo__container w-100 m-0 allcentered mt-3"},/*#__PURE__*/React.createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React.createElement(FacebookShareButton,{url:shareUrl,quote:title,className:"Demo__some-network__share-button"},/*#__PURE__*/React.createElement(FacebookIcon,{size:40,round:true}))),sectionproperties.sharewithemail=='Show'&&/*#__PURE__*/React.createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React.createElement(EmailShareButton,{url:shareUrl,quote:title,className:"Demo__some-network__share-button"},/*#__PURE__*/React.createElement(EmailIcon,{size:40,round:true}))),sectionproperties.shareviax=='Show'&&/*#__PURE__*/React.createElement("div",{className:"Demo__some-network ml-2 mr-2",style:{width:'40px',height:'40px'}},/*#__PURE__*/React.createElement(TwitterShareButton,{url:shareUrl,title:title,className:"Demo__some-network__share-button"},/*#__PURE__*/React.createElement("img",{src:'https://tabex-co.com/storage/StaticImages/twitterxicon.png',style:{width:'100%',height:'100%',objectFit:'contain'}}))),/*#__PURE__*/React.createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React.createElement(WhatsappShareButton,{url:shareUrl,title:title,separator:":: ",className:"Demo__some-network__share-button"},/*#__PURE__*/React.createElement(WhatsappIcon,{size:40,round:true}))),sectionproperties.showsharelinkedin=='Show'&&/*#__PURE__*/React.createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React.createElement(LinkedinShareButton,{url:shareUrl,title:title,separator:":: ",className:"Demo__some-network__share-button"},/*#__PURE__*/React.createElement(LinkedinIcon,{size:40,round:true}))))));};useEffect(function(){if(fetchProductInfoQueryContext!==null&&fetchProductInfoQueryContext!==void 0&&fetchProductInfoQueryContext.isSuccess){var _fetchProductInfoQuer2;var key='comparedProducts';var existing=JSON.parse(localStorage.getItem(key))||[];setIsCompared(existing.includes(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer2=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer2===void 0||(_fetchProductInfoQuer2=_fetchProductInfoQuer2.data)===null||_fetchProductInfoQuer2===void 0||(_fetchProductInfoQuer2=_fetchProductInfoQuer2.productinfo)===null||_fetchProductInfoQuer2===void 0?void 0:_fetchProductInfoQuer2.productid));}},[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0?void 0:fetchProductInfoQueryContext.isSuccess,fetchProductInfoQueryContext.data]);// {fetchProductInfoQueryContext.data.data.productinfo.hassale == 0
4531
4531
  // ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2)
4532
4532
  // : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)}
4533
4533
  useEffect(function(){var _fetchProductInfoQuer3;var totalprice='';if(variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==0){totalprice=parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2);}else if(variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==1){totalprice=parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2);}else if(variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer3=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer3===void 0||(_fetchProductInfoQuer3=_fetchProductInfoQuer3.data)===null||_fetchProductInfoQuer3===void 0||(_fetchProductInfoQuer3=_fetchProductInfoQuer3.productinfo)===null||_fetchProductInfoQuer3===void 0||(_fetchProductInfoQuer3=_fetchProductInfoQuer3.variants[variantindexcompleted])===null||_fetchProductInfoQuer3===void 0?void 0:_fetchProductInfoQuer3.hassale)==1){totalprice=parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2);}else {totalprice=parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2);}settotalprice(totalprice);setcurrentshowingimageindex(props.actions.currentshowingimageindex);},[variantindexcompleted]);// useEffect(() => {
@@ -83306,29 +83306,6 @@ var Slideshowzoom = function Slideshowzoom(props) {
83306
83306
  }
83307
83307
  }),
83308
83308
  slideshow_btn2mazal: css({
83309
- // zIndex: 1000,
83310
- // height: sectionproperties.generalbtn_height + 'px',
83311
- // width: sectionproperties.generalbtn_width + 'px',
83312
- // background: sectionproperties.generalbtn_bgColor,
83313
- // color: sectionproperties.generalbtn_textColor,
83314
- // borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
83315
- // borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
83316
- // borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
83317
- // borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
83318
- // fontSize: sectionproperties.generalbtn_fontsize + 'px',
83319
- // lineHeight: sectionproperties.generalbtn_fontsize + 'px',
83320
- // textTransform: sectionproperties.generalbtn_texttransform,
83321
- // fontWeight: sectionproperties.generalbtn_fontweight,
83322
- // transition: '.3s',
83323
- // ':hover': {
83324
- // background: sectionproperties.generalbtn_bgColoronhover,
83325
- // color: sectionproperties.generalbtn_textColoronhover,
83326
- // },
83327
- // '@media (max-width: 800px)': {
83328
- // width: sectionproperties.generalbtnwidthresp + 'px',
83329
- // height: sectionproperties.generalbtnheightresponsive + 'px',
83330
- // fontSize: sectionproperties.generalbtnfontsizeresp + 'px',
83331
- // },
83332
83309
  height: sectionproperties.generalbtn_height + 'px',
83333
83310
  width: sectionproperties.generalbtn_width + 'px',
83334
83311
  background: sectionproperties.generalbtn_bgColor,
@@ -83424,7 +83401,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
83424
83401
  // routingcountext('ready-meals', true, '');
83425
83402
  routingcountext('ready-meals', false, '');
83426
83403
  }
83427
- }, langdetect == 'en' ? 'Explore Our Menu' : 'اكتشف القائمة')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React.createElement("div", {
83404
+ }, langdetect == 'en' ? 'Explore Our Menu' : 'اكتشف القائمة'), authdetailsContext.instinfo.instid == '6a676c9404b74' && /*#__PURE__*/React.createElement("button", {
83405
+ "class": "".concat(slideshow_styles.slideshow_btn2mazal) + ' allcentered mx-1 ',
83406
+ style: {
83407
+ letterSpacing: langdetect == 'en' ? '1px' : 0
83408
+ },
83409
+ onClick: function onClick() {
83410
+ routingcountext('generalproducts', false, '');
83411
+ }
83412
+ }, langdetect == 'en' ? 'Best Sellers' : 'الاكثر مبيعاً')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React.createElement("div", {
83428
83413
  "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : item.titleen == null && item.descriptionen == null ? sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 allcentered-md' : 'col-lg-12 text-start',
83429
83414
  "data-aos": 'fade-up',
83430
83415
  "data-aos-delay": "300"
package/dist/index.umd.js CHANGED
@@ -4380,7 +4380,7 @@
4380
4380
  var Slideshowsettings={indicators:true,arrows:true,pauseOnHover:false,scale:2};var toggleFullScreen=function toggleFullScreen(){if(gallery){gallery.toggleFullScreen();}};React.useEffect(function(){var itemobj=fetchProductInfoQueryContext.data.data.productinfo;if(stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)){itemobj.titlelang='en';}else {itemobj.titlelang='ar';}if(stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.description_en)){itemobj.decriptionlang='en';}else {itemobj.decriptionlang='ar';}setitem(itemobj);settitle(fetchProductInfoQueryContext.data.data.productinfo.name_en);setshareUrl('https://'+authdetailsContext.instinfo.instcred.instexternaldomain+'/productinfo/'+fetchProductInfoQueryContext.data.data.productinfo.productid);},[props.itemprops]);function stringIsEnglish(str){var titlelang='English';var arabic=/[\u0600-\u06FF]/;if(!arabic.test(str)){titlelang=true;}else {titlelang=false;}return titlelang;}var Ar_redirector=function Ar_redirector(){// var instapikey = authdetailsContext?.instinfo?.instcred?.webapp_apikey;
4381
4381
  // var productid = fetchProductInfoQueryContext?.data?.data?.productinfo?.productid;
4382
4382
  // const url = https://3d-tryon.vercel.app/?i=${instapikey}&p=${productid};
4383
- var url='https://3d-tryon.vercel.app/?i=68319d088f13f&p=6832fc16af9d7';window.open(url,'_blank');};var ShareButtonsContainer=function ShareButtonsContainer(){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 d-flex justify-content-center flex-column align-items-center p-0"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontWeight:sectionproperties.sharebtn_FontWeight,color:sectionproperties.sharebtn_color,fontSize:sectionproperties.sharebtn_fontSize+'px'}},langdetect=='en'?sectionproperties.sharebtn_contentEn:sectionproperties.sharebtn_contentAr),/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__container w-100 m-0 allcentered mt-3"},/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React__default["default"].createElement(reactShare.FacebookShareButton,{url:shareUrl,quote:title,className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement(reactShare.FacebookIcon,{size:40,round:true}))),/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React__default["default"].createElement(reactShare.EmailShareButton,{url:shareUrl,quote:title,className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement(reactShare.EmailIcon,{size:40,round:true}))),sectionproperties.shareviax=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2",style:{width:'40px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement(reactShare.TwitterShareButton,{url:shareUrl,title:title,className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/twitterxicon.png',style:{width:'100%',height:'100%',objectFit:'contain'}}))),/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappShareButton,{url:shareUrl,title:title,separator:":: ",className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappIcon,{size:40,round:true}))),sectionproperties.showsharelinkedin=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React__default["default"].createElement(reactShare.LinkedinShareButton,{url:shareUrl,title:title,separator:":: ",className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement(reactShare.LinkedinIcon,{size:40,round:true}))))));};React.useEffect(function(){if(fetchProductInfoQueryContext!==null&&fetchProductInfoQueryContext!==void 0&&fetchProductInfoQueryContext.isSuccess){var _fetchProductInfoQuer2;var key='comparedProducts';var existing=JSON.parse(localStorage.getItem(key))||[];setIsCompared(existing.includes(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer2=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer2===void 0||(_fetchProductInfoQuer2=_fetchProductInfoQuer2.data)===null||_fetchProductInfoQuer2===void 0||(_fetchProductInfoQuer2=_fetchProductInfoQuer2.productinfo)===null||_fetchProductInfoQuer2===void 0?void 0:_fetchProductInfoQuer2.productid));}},[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0?void 0:fetchProductInfoQueryContext.isSuccess,fetchProductInfoQueryContext.data]);// {fetchProductInfoQueryContext.data.data.productinfo.hassale == 0
4383
+ var url='https://3d-tryon.vercel.app/?i=68319d088f13f&p=6832fc16af9d7';window.open(url,'_blank');};var ShareButtonsContainer=function ShareButtonsContainer(){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 d-flex justify-content-center flex-column align-items-center p-0"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontWeight:sectionproperties.sharebtn_FontWeight,color:sectionproperties.sharebtn_color,fontSize:sectionproperties.sharebtn_fontSize+'px'}},langdetect=='en'?sectionproperties.sharebtn_contentEn:sectionproperties.sharebtn_contentAr),/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__container w-100 m-0 allcentered mt-3"},/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React__default["default"].createElement(reactShare.FacebookShareButton,{url:shareUrl,quote:title,className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement(reactShare.FacebookIcon,{size:40,round:true}))),sectionproperties.sharewithemail=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React__default["default"].createElement(reactShare.EmailShareButton,{url:shareUrl,quote:title,className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement(reactShare.EmailIcon,{size:40,round:true}))),sectionproperties.shareviax=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2",style:{width:'40px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement(reactShare.TwitterShareButton,{url:shareUrl,title:title,className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/twitterxicon.png',style:{width:'100%',height:'100%',objectFit:'contain'}}))),/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappShareButton,{url:shareUrl,title:title,separator:":: ",className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappIcon,{size:40,round:true}))),sectionproperties.showsharelinkedin=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"Demo__some-network ml-2 mr-2"},/*#__PURE__*/React__default["default"].createElement(reactShare.LinkedinShareButton,{url:shareUrl,title:title,separator:":: ",className:"Demo__some-network__share-button"},/*#__PURE__*/React__default["default"].createElement(reactShare.LinkedinIcon,{size:40,round:true}))))));};React.useEffect(function(){if(fetchProductInfoQueryContext!==null&&fetchProductInfoQueryContext!==void 0&&fetchProductInfoQueryContext.isSuccess){var _fetchProductInfoQuer2;var key='comparedProducts';var existing=JSON.parse(localStorage.getItem(key))||[];setIsCompared(existing.includes(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer2=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer2===void 0||(_fetchProductInfoQuer2=_fetchProductInfoQuer2.data)===null||_fetchProductInfoQuer2===void 0||(_fetchProductInfoQuer2=_fetchProductInfoQuer2.productinfo)===null||_fetchProductInfoQuer2===void 0?void 0:_fetchProductInfoQuer2.productid));}},[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0?void 0:fetchProductInfoQueryContext.isSuccess,fetchProductInfoQueryContext.data]);// {fetchProductInfoQueryContext.data.data.productinfo.hassale == 0
4384
4384
  // ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2)
4385
4385
  // : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)}
4386
4386
  React.useEffect(function(){var _fetchProductInfoQuer3;var totalprice='';if(variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==0){totalprice=parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2);}else if(variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==1){totalprice=parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2);}else if(variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer3=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer3===void 0||(_fetchProductInfoQuer3=_fetchProductInfoQuer3.data)===null||_fetchProductInfoQuer3===void 0||(_fetchProductInfoQuer3=_fetchProductInfoQuer3.productinfo)===null||_fetchProductInfoQuer3===void 0||(_fetchProductInfoQuer3=_fetchProductInfoQuer3.variants[variantindexcompleted])===null||_fetchProductInfoQuer3===void 0?void 0:_fetchProductInfoQuer3.hassale)==1){totalprice=parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2);}else {totalprice=parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2);}settotalprice(totalprice);setcurrentshowingimageindex(props.actions.currentshowingimageindex);},[variantindexcompleted]);// useEffect(() => {
@@ -83159,29 +83159,6 @@
83159
83159
  }
83160
83160
  }),
83161
83161
  slideshow_btn2mazal: glamor.css({
83162
- // zIndex: 1000,
83163
- // height: sectionproperties.generalbtn_height + 'px',
83164
- // width: sectionproperties.generalbtn_width + 'px',
83165
- // background: sectionproperties.generalbtn_bgColor,
83166
- // color: sectionproperties.generalbtn_textColor,
83167
- // borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
83168
- // borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
83169
- // borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
83170
- // borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
83171
- // fontSize: sectionproperties.generalbtn_fontsize + 'px',
83172
- // lineHeight: sectionproperties.generalbtn_fontsize + 'px',
83173
- // textTransform: sectionproperties.generalbtn_texttransform,
83174
- // fontWeight: sectionproperties.generalbtn_fontweight,
83175
- // transition: '.3s',
83176
- // ':hover': {
83177
- // background: sectionproperties.generalbtn_bgColoronhover,
83178
- // color: sectionproperties.generalbtn_textColoronhover,
83179
- // },
83180
- // '@media (max-width: 800px)': {
83181
- // width: sectionproperties.generalbtnwidthresp + 'px',
83182
- // height: sectionproperties.generalbtnheightresponsive + 'px',
83183
- // fontSize: sectionproperties.generalbtnfontsizeresp + 'px',
83184
- // },
83185
83162
  height: sectionproperties.generalbtn_height + 'px',
83186
83163
  width: sectionproperties.generalbtn_width + 'px',
83187
83164
  background: sectionproperties.generalbtn_bgColor,
@@ -83277,7 +83254,15 @@
83277
83254
  // routingcountext('ready-meals', true, '');
83278
83255
  routingcountext('ready-meals', false, '');
83279
83256
  }
83280
- }, langdetect == 'en' ? 'Explore Our Menu' : 'اكتشف القائمة')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
83257
+ }, langdetect == 'en' ? 'Explore Our Menu' : 'اكتشف القائمة'), authdetailsContext.instinfo.instid == '6a676c9404b74' && /*#__PURE__*/React__default["default"].createElement("button", {
83258
+ "class": "".concat(slideshow_styles.slideshow_btn2mazal) + ' allcentered mx-1 ',
83259
+ style: {
83260
+ letterSpacing: langdetect == 'en' ? '1px' : 0
83261
+ },
83262
+ onClick: function onClick() {
83263
+ routingcountext('generalproducts', false, '');
83264
+ }
83265
+ }, langdetect == 'en' ? 'Best Sellers' : 'الاكثر مبيعاً')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
83281
83266
  "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : item.titleen == null && item.descriptionen == null ? sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 allcentered-md' : 'col-lg-12 text-start',
83282
83267
  "data-aos": 'fade-up',
83283
83268
  "data-aos-delay": "300"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.2.1408",
3
+ "version": "0.2.1409",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",