tabexseriescomponents 0.0.656 → 0.0.657

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.
Files changed (661) hide show
  1. package/dist/index.cjs.js +1 -1
  2. package/dist/index.esm.js +1 -1
  3. package/dist/index.umd.js +1 -1
  4. package/package.json +1 -1
  5. package/src 2.zip +0 -0
  6. package/src1-5.zip +0 -0
  7. package/src19-11/Contexts/LanguageContext.jsx +0 -408
  8. package/src19-11/Contexts/ProductsCardsSectionContext.jsx +0 -36
  9. package/src19-11/Imagekitconfig.jsx +0 -46
  10. package/src19-11/StylesJS/Customstyles.js +0 -345
  11. package/src19-11/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -376
  12. package/src19-11/TabexComponents/Cards/Card20/Card20.jsx +0 -298
  13. package/src19-11/TabexComponents/Cards/Card21/Card21.jsx +0 -388
  14. package/src19-11/TabexComponents/Cards/Card22/Card22.jsx +0 -288
  15. package/src19-11/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -1630
  16. package/src19-11/TabexComponents/Cards/Card23/Card23.jsx +0 -733
  17. package/src19-11/TabexComponents/Cards/CardAll/CardAll.jsx +0 -453
  18. package/src19-11/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -394
  19. package/src19-11/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -70
  20. package/src19-11/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -211
  21. package/src19-11/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -255
  22. package/src19-11/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -235
  23. package/src19-11/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -199
  24. package/src19-11/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -182
  25. package/src19-11/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -181
  26. package/src19-11/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -161
  27. package/src19-11/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -184
  28. package/src19-11/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -560
  29. package/src19-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +0 -145
  30. package/src19-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -146
  31. package/src19-11/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +0 -142
  32. package/src19-11/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -193
  33. package/src19-11/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -409
  34. package/src19-11/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -732
  35. package/src19-11/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -468
  36. package/src19-11/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -593
  37. package/src19-11/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -208
  38. package/src19-11/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -497
  39. package/src19-11/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -512
  40. package/src19-11/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -304
  41. package/src19-11/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -257
  42. package/src19-11/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -277
  43. package/src19-11/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -352
  44. package/src19-11/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -291
  45. package/src19-11/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
  46. package/src19-11/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -327
  47. package/src19-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -408
  48. package/src19-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -528
  49. package/src19-11/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -558
  50. package/src19-11/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -275
  51. package/src19-11/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
  52. package/src19-11/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -137
  53. package/src19-11/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -613
  54. package/src19-11/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -413
  55. package/src19-11/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -225
  56. package/src19-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -525
  57. package/src19-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -455
  58. package/src19-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -905
  59. package/src19-11/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -337
  60. package/src19-11/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -347
  61. package/src19-11/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -605
  62. package/src19-11/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -185
  63. package/src19-11/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -528
  64. package/src19-11/TabexComponents/Footer/Footer1/Footer1.jsx +0 -714
  65. package/src19-11/TabexComponents/Footer/Footer2/Footer2.jsx +0 -527
  66. package/src19-11/TabexComponents/Footer/Footer3/Footer3.jsx +0 -411
  67. package/src19-11/TabexComponents/Footer/Footer4/Footer4.jsx +0 -466
  68. package/src19-11/TabexComponents/Footer/Footer5/Footer5.jsx +0 -714
  69. package/src19-11/TabexComponents/Footer/Footer6/Footer6.jsx +0 -290
  70. package/src19-11/TabexComponents/Footer/Footer7/Footer7.jsx +0 -428
  71. package/src19-11/TabexComponents/Footer/Footer8/Footer8.jsx +0 -533
  72. package/src19-11/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -330
  73. package/src19-11/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +0 -562
  74. package/src19-11/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +0 -865
  75. package/src19-11/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +0 -647
  76. package/src19-11/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +0 -110
  77. package/src19-11/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -316
  78. package/src19-11/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  79. package/src19-11/TabexComponents/Generalfiles/images/noimage.png +0 -0
  80. package/src19-11/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  81. package/src19-11/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  82. package/src19-11/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  83. package/src19-11/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  84. package/src19-11/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  85. package/src19-11/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  86. package/src19-11/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  87. package/src19-11/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  88. package/src19-11/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  89. package/src19-11/TabexComponents/Generalfiles/images/usflag.png +0 -0
  90. package/src19-11/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  91. package/src19-11/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -1259
  92. package/src19-11/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -1049
  93. package/src19-11/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -1040
  94. package/src19-11/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -1263
  95. package/src19-11/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -76
  96. package/src19-11/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -894
  97. package/src19-11/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -831
  98. package/src19-11/TabexComponents/Headers/Header4/Header4.jsx +0 -622
  99. package/src19-11/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -1026
  100. package/src19-11/TabexComponents/Headers/Header8/Header8.jsx +0 -1976
  101. package/src19-11/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -776
  102. package/src19-11/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -927
  103. package/src19-11/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -704
  104. package/src19-11/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -902
  105. package/src19-11/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -953
  106. package/src19-11/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -1562
  107. package/src19-11/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -1201
  108. package/src19-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -990
  109. package/src19-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +0 -1639
  110. package/src19-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +0 -1845
  111. package/src19-11/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -1327
  112. package/src19-11/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -934
  113. package/src19-11/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -78
  114. package/src19-11/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -962
  115. package/src19-11/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -778
  116. package/src19-11/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -1159
  117. package/src19-11/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +0 -1073
  118. package/src19-11/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +0 -133
  119. package/src19-11/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -854
  120. package/src19-11/TabexComponents/Headers/Subheader/Subheader.jsx +0 -863
  121. package/src19-11/TabexComponents/Headers/Subheader/Subheader13-3.jsx +0 -685
  122. package/src19-11/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -517
  123. package/src19-11/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -555
  124. package/src19-11/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -1042
  125. package/src19-11/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -1089
  126. package/src19-11/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +0 -936
  127. package/src19-11/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -533
  128. package/src19-11/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -338
  129. package/src19-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -870
  130. package/src19-11/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -302
  131. package/src19-11/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -314
  132. package/src19-11/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -318
  133. package/src19-11/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -179
  134. package/src19-11/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -201
  135. package/src19-11/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -393
  136. package/src19-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +0 -583
  137. package/src19-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +0 -291
  138. package/src19-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +0 -627
  139. package/src19-11/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +0 -348
  140. package/src19-11/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -387
  141. package/src19-11/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -268
  142. package/src19-11/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +0 -288
  143. package/src19-11/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +0 -117
  144. package/src19-11/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +0 -99
  145. package/src19-11/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -146
  146. package/src19-11/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -462
  147. package/src19-11/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -296
  148. package/src19-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -396
  149. package/src19-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -616
  150. package/src19-11/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -408
  151. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -1399
  152. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -1656
  153. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -1540
  154. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -1902
  155. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +0 -1596
  156. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +0 -1872
  157. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +0 -1880
  158. package/src19-11/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -726
  159. package/src19-11/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -719
  160. package/src19-11/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -406
  161. package/src19-11/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -929
  162. package/src19-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -646
  163. package/src19-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -962
  164. package/src19-11/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -582
  165. package/src19-11/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -383
  166. package/src19-11/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -342
  167. package/src19-11/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -161
  168. package/src19-11/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -257
  169. package/src19-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -382
  170. package/src19-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -436
  171. package/src19-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +0 -757
  172. package/src19-11/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -346
  173. package/src19-11/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -1736
  174. package/src19-11/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -141
  175. package/src19-11/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -376
  176. package/src19-11/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -380
  177. package/src19-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -711
  178. package/src19-11/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -226
  179. package/src19-11/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -149
  180. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -143
  181. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -634
  182. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -520
  183. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -527
  184. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -643
  185. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -477
  186. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -1217
  187. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +0 -614
  188. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -91
  189. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -380
  190. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -619
  191. package/src19-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -284
  192. package/src19-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -614
  193. package/src19-11/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -402
  194. package/src19-11/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -199
  195. package/src19-11/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -304
  196. package/src19-11/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -321
  197. package/src19-11/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -797
  198. package/src19-11/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -460
  199. package/src19-11/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -1306
  200. package/src19-11/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -1892
  201. package/src19-11/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -1633
  202. package/src19-11/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -1593
  203. package/src19-11/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -1574
  204. package/src19-11/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -245
  205. package/src19-11/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -2888
  206. package/src19-11/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -1450
  207. package/src19-11/TabexComponents/StaticPages/Filter/Filter.jsx +0 -2771
  208. package/src19-11/TabexComponents/StaticPages/Filter/Filter1-5.jsx +0 -2624
  209. package/src19-11/TabexComponents/StaticPages/Filter/Filter13-11.jsx +0 -2758
  210. package/src19-11/TabexComponents/StaticPages/Filter/Filter14-8.jsx +0 -2753
  211. package/src19-11/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -1495
  212. package/src19-11/TabexComponents/StaticPages/Filter/VariantFilter.jsx +0 -1271
  213. package/src19-11/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -62
  214. package/src19-11/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -50
  215. package/src19-11/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
  216. package/src19-11/TabexComponents/StaticPages/Login/Login copy.jsx +0 -1060
  217. package/src19-11/TabexComponents/StaticPages/Login/Login.jsx +0 -610
  218. package/src19-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -172
  219. package/src19-11/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1584
  220. package/src19-11/TabexComponents/StaticPages/Policies/Policies.jsx +0 -291
  221. package/src19-11/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -194
  222. package/src19-11/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -183
  223. package/src19-11/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -128
  224. package/src19-11/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +0 -255
  225. package/src19-11/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -176
  226. package/src19-11/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -225
  227. package/src19-11/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +0 -92
  228. package/src19-11/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -312
  229. package/src19-11/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -235
  230. package/src19-11/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +0 -1983
  231. package/src19-11/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -1554
  232. package/src19-11/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +0 -1827
  233. package/src19-11/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +0 -1351
  234. package/src19-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -1566
  235. package/src19-11/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -1946
  236. package/src19-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -1037
  237. package/src19-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -966
  238. package/src19-11/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -632
  239. package/src19-11/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -324
  240. package/src19-11/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -145
  241. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +0 -183
  242. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +0 -128
  243. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +0 -140
  244. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +0 -225
  245. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +0 -310
  246. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +0 -235
  247. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +0 -1672
  248. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +0 -1554
  249. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +0 -1351
  250. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +0 -1566
  251. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +0 -1804
  252. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +0 -560
  253. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +0 -919
  254. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +0 -597
  255. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +0 -324
  256. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +0 -145
  257. package/src19-11/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -194
  258. package/src19-11/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -338
  259. package/src19-11/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -359
  260. package/src19-11/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -113
  261. package/src19-11/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -277
  262. package/src19-11/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -1135
  263. package/src19-11/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -1364
  264. package/src19-11/TabexComponents/StaticPages/Signup/Signup.jsx +0 -199
  265. package/src19-11/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -292
  266. package/src19-11/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -113
  267. package/src19-11/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -162
  268. package/src19-11/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -765
  269. package/src19-11/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -786
  270. package/src19-11/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -786
  271. package/src19-11/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -786
  272. package/src19-11/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -1425
  273. package/src19-11/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -844
  274. package/src19-11/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +0 -555
  275. package/src19-11/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -555
  276. package/src19-11/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -555
  277. package/src19-11/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -815
  278. package/src19-11/button.jsx +0 -40
  279. package/src19-11/index.jsx +0 -334
  280. package/src19-11/styles/Home.module.css +0 -129
  281. package/src19-11/styles/cards/Categorcycard_fullimage.module.css +0 -14
  282. package/src19-11/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
  283. package/src19-11/styles/cards/Categorycard_withshapes.module.css +0 -189
  284. package/src19-11/styles/cards/ModernCardWithQuantityButton.module.css +0 -30
  285. package/src19-11/styles/cards/Productcard6.module.css +0 -9
  286. package/src19-11/styles/cards/Productccard_with_zoominonhover.module.css +0 -51
  287. package/src19-11/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
  288. package/src19-11/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -65
  289. package/src19-11/styles/cards/card23.module.css +0 -60
  290. package/src19-11/styles/cards/categorycard.module.css +0 -84
  291. package/src19-11/styles/cards/categorycard3.module.css +0 -50
  292. package/src19-11/styles/cards/categorycardwithtext.module.css +0 -40
  293. package/src19-11/styles/cards/generalCardsStyles.module.css +0 -79
  294. package/src19-11/styles/cards/productcard_animatedbuttons.module.css +0 -139
  295. package/src19-11/styles/cards/productcard_with_textonhover.module.css +0 -18
  296. package/src19-11/styles/cards/productcard_withtextonimage.module.css +0 -0
  297. package/src19-11/styles/cards/productccard_with_imageontopleft.module.css +0 -85
  298. package/src19-11/styles/general/bootstrap.css +0 -4763
  299. package/src19-11/styles/general/dropdown.css +0 -206
  300. package/src19-11/styles/general/editorbardropdown.module.css +0 -94
  301. package/src19-11/styles/general/filter.module.css +0 -108
  302. package/src19-11/styles/general/form.module.css +0 -255
  303. package/src19-11/styles/general/general.module.css +0 -872
  304. package/src19-11/styles/general/image-gallery.css +0 -531
  305. package/src19-11/styles/general/react-accessible-accordion.module.css +0 -52
  306. package/src19-11/styles/general/react-phone-input-2.module.css +0 -927
  307. package/src19-11/styles/general/scrollbtn.module.css +0 -22
  308. package/src19-11/styles/general/slick.module.css +0 -166
  309. package/src19-11/styles/general/tabs.module.css +0 -119
  310. package/src19-11/styles/general/workplaceeditor.module.css +0 -328
  311. package/src19-11/styles/globals.css +0 -26
  312. package/src19-11/styles/headers/CTAHeader.module.css +0 -40
  313. package/src19-11/styles/headers/CategoryFeaturingHeader.module.css +0 -61
  314. package/src19-11/styles/headers/Gotoheader.module.css +0 -87
  315. package/src19-11/styles/headers/Header7.module.css +0 -50
  316. package/src19-11/styles/headers/HeaderWithAdSlider.module.css +0 -86
  317. package/src19-11/styles/headers/HeaderWithSearchOnCenter.module.css +0 -101
  318. package/src19-11/styles/headers/HeaderWithUtilityBar.module.css +0 -46
  319. package/src19-11/styles/headers/Header_threesectionslogocentered.module.css +0 -84
  320. package/src19-11/styles/headers/NewHeader.module.css +0 -101
  321. package/src19-11/styles/headers/SearchFocusedHeader.module.css +0 -62
  322. package/src19-11/styles/headers/Sideheader.module.css +0 -108
  323. package/src19-11/styles/headers/Simpleheader.module.css +0 -102
  324. package/src19-11/styles/headers/classicheader.module.css +0 -16
  325. package/src19-11/styles/headers/classicheaderstyles.module.css +0 -9
  326. package/src19-11/styles/headers/dropdown.css +0 -0
  327. package/src19-11/styles/headers/header4.module.css +0 -175
  328. package/src19-11/styles/headers/header5.module.css +0 -30
  329. package/src19-11/styles/headers/header_contactinfo.module.css +0 -53
  330. package/src19-11/styles/headers/headerresturant.module.css +0 -89
  331. package/src19-11/styles/headers/modernheader.module.css +0 -45
  332. package/src19-11/styles/headers/stylishheader.module.css +0 -24
  333. package/src19-11/styles/headers/subheader.module.css +0 -114
  334. package/src19-11/styles/headers/threetieredheader.module.css +0 -91
  335. package/src19-11/styles/sections/BackgroundImageWithTopContent.css +0 -4
  336. package/src19-11/styles/sections/Backgroundimage1.module.css +0 -17
  337. package/src19-11/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
  338. package/src19-11/styles/sections/Freetext.module.css +0 -18
  339. package/src19-11/styles/sections/Section_with_rightbgcont.module.css +0 -49
  340. package/src19-11/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
  341. package/src19-11/styles/sections/Slideshow_with_squarebg.module.css +0 -39
  342. package/src19-11/styles/staticpages/accordion.module.css +0 -9
  343. package/src19-11/styles/staticpages/cart.module.css +0 -108
  344. package/src19-11/styles/staticpages/dropdown.css +0 -196
  345. package/src19-11/styles/staticpages/filter.module.css +0 -139
  346. package/src19-11/styles/staticpages/image-gallery.css +0 -481
  347. package/src19-11/styles/staticpages/login.module.css +0 -155
  348. package/src19-11/styles/staticpages/productinfo.module.css +0 -54
  349. package/src19-11/styles/staticpages/shop.module.css +0 -191
  350. package/src19-11/styles/staticpages/signup.module.css +0 -250
  351. package/src19-11/styles/staticpages/staticroutersidenav.module.css +0 -129
  352. package/src19-11/styles/staticpages/viewcart.module.css +0 -129
  353. package/src19-11/styles/staticpages/wishlist.module.css +0 -29
  354. package/src22-1/Contexts/LanguageContext.jsx +0 -405
  355. package/src22-1/Contexts/ProductsCardsSectionContext.jsx +0 -36
  356. package/src22-1/Imagekitconfig.jsx +0 -46
  357. package/src22-1/StylesJS/Customstyles.js +0 -344
  358. package/src22-1/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -376
  359. package/src22-1/TabexComponents/Cards/Card20/Card20.jsx +0 -282
  360. package/src22-1/TabexComponents/Cards/Card21/Card21.jsx +0 -388
  361. package/src22-1/TabexComponents/Cards/Card22/Card22.jsx +0 -288
  362. package/src22-1/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -1630
  363. package/src22-1/TabexComponents/Cards/Card23/Card23.jsx +0 -627
  364. package/src22-1/TabexComponents/Cards/CardAll/CardAll.jsx +0 -453
  365. package/src22-1/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -394
  366. package/src22-1/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -70
  367. package/src22-1/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -211
  368. package/src22-1/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -246
  369. package/src22-1/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -235
  370. package/src22-1/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -199
  371. package/src22-1/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -182
  372. package/src22-1/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -181
  373. package/src22-1/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -161
  374. package/src22-1/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -180
  375. package/src22-1/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -546
  376. package/src22-1/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -142
  377. package/src22-1/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -193
  378. package/src22-1/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -379
  379. package/src22-1/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -543
  380. package/src22-1/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -468
  381. package/src22-1/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -593
  382. package/src22-1/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -208
  383. package/src22-1/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -497
  384. package/src22-1/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -519
  385. package/src22-1/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -304
  386. package/src22-1/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -257
  387. package/src22-1/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -277
  388. package/src22-1/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -352
  389. package/src22-1/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -291
  390. package/src22-1/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
  391. package/src22-1/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -327
  392. package/src22-1/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -408
  393. package/src22-1/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -528
  394. package/src22-1/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -558
  395. package/src22-1/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -275
  396. package/src22-1/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
  397. package/src22-1/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -137
  398. package/src22-1/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -598
  399. package/src22-1/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -390
  400. package/src22-1/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -225
  401. package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -525
  402. package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -455
  403. package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -493
  404. package/src22-1/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -337
  405. package/src22-1/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -347
  406. package/src22-1/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -596
  407. package/src22-1/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -185
  408. package/src22-1/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -528
  409. package/src22-1/TabexComponents/Footer/Footer1/Footer1.jsx +0 -551
  410. package/src22-1/TabexComponents/Footer/Footer2/Footer2.jsx +0 -415
  411. package/src22-1/TabexComponents/Footer/Footer3/Footer3.jsx +0 -400
  412. package/src22-1/TabexComponents/Footer/Footer4/Footer4.jsx +0 -457
  413. package/src22-1/TabexComponents/Footer/Footer5/Footer5.jsx +0 -563
  414. package/src22-1/TabexComponents/Footer/Footer6/Footer6.jsx +0 -290
  415. package/src22-1/TabexComponents/Footer/Footer7/Footer7.jsx +0 -428
  416. package/src22-1/TabexComponents/Footer/Footer8/Footer8.jsx +0 -473
  417. package/src22-1/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -330
  418. package/src22-1/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +0 -562
  419. package/src22-1/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +0 -584
  420. package/src22-1/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +0 -110
  421. package/src22-1/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -316
  422. package/src22-1/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  423. package/src22-1/TabexComponents/Generalfiles/images/noimage.png +0 -0
  424. package/src22-1/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  425. package/src22-1/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  426. package/src22-1/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  427. package/src22-1/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  428. package/src22-1/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  429. package/src22-1/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  430. package/src22-1/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  431. package/src22-1/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  432. package/src22-1/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  433. package/src22-1/TabexComponents/Generalfiles/images/usflag.png +0 -0
  434. package/src22-1/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  435. package/src22-1/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -1244
  436. package/src22-1/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -1049
  437. package/src22-1/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -895
  438. package/src22-1/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -1213
  439. package/src22-1/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -76
  440. package/src22-1/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -780
  441. package/src22-1/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -771
  442. package/src22-1/TabexComponents/Headers/Header4/Header4.jsx +0 -622
  443. package/src22-1/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -1026
  444. package/src22-1/TabexComponents/Headers/Header8/Header8.jsx +0 -1923
  445. package/src22-1/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -728
  446. package/src22-1/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -918
  447. package/src22-1/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -707
  448. package/src22-1/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -902
  449. package/src22-1/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -847
  450. package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -1371
  451. package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -1201
  452. package/src22-1/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -990
  453. package/src22-1/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +0 -779
  454. package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -1327
  455. package/src22-1/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -934
  456. package/src22-1/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -64
  457. package/src22-1/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -732
  458. package/src22-1/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -778
  459. package/src22-1/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -1162
  460. package/src22-1/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +0 -835
  461. package/src22-1/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +0 -128
  462. package/src22-1/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -854
  463. package/src22-1/TabexComponents/Headers/Subheader/Subheader.jsx +0 -662
  464. package/src22-1/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -517
  465. package/src22-1/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -555
  466. package/src22-1/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -1045
  467. package/src22-1/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -1089
  468. package/src22-1/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +0 -936
  469. package/src22-1/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -533
  470. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -338
  471. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -802
  472. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -302
  473. package/src22-1/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -314
  474. package/src22-1/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -274
  475. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -179
  476. package/src22-1/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -201
  477. package/src22-1/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -392
  478. package/src22-1/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +0 -291
  479. package/src22-1/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -387
  480. package/src22-1/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -266
  481. package/src22-1/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -146
  482. package/src22-1/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -414
  483. package/src22-1/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -296
  484. package/src22-1/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -396
  485. package/src22-1/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -421
  486. package/src22-1/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -364
  487. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -1399
  488. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -1656
  489. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -1540
  490. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -1532
  491. package/src22-1/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -480
  492. package/src22-1/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -719
  493. package/src22-1/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -406
  494. package/src22-1/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -682
  495. package/src22-1/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -635
  496. package/src22-1/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -920
  497. package/src22-1/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -517
  498. package/src22-1/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -383
  499. package/src22-1/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -325
  500. package/src22-1/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -161
  501. package/src22-1/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -257
  502. package/src22-1/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -382
  503. package/src22-1/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -757
  504. package/src22-1/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -346
  505. package/src22-1/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -633
  506. package/src22-1/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -141
  507. package/src22-1/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -376
  508. package/src22-1/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -380
  509. package/src22-1/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -400
  510. package/src22-1/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -226
  511. package/src22-1/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -149
  512. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -143
  513. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -634
  514. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -331
  515. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -527
  516. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -603
  517. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -477
  518. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -1217
  519. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -91
  520. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -380
  521. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -547
  522. package/src22-1/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -284
  523. package/src22-1/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -612
  524. package/src22-1/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -396
  525. package/src22-1/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -199
  526. package/src22-1/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -304
  527. package/src22-1/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -321
  528. package/src22-1/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -780
  529. package/src22-1/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -460
  530. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -1306
  531. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -1673
  532. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -1633
  533. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -1593
  534. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -1574
  535. package/src22-1/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -439
  536. package/src22-1/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -2888
  537. package/src22-1/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -1450
  538. package/src22-1/TabexComponents/StaticPages/Filter/Filter.jsx +0 -1845
  539. package/src22-1/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -1495
  540. package/src22-1/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -62
  541. package/src22-1/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -50
  542. package/src22-1/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
  543. package/src22-1/TabexComponents/StaticPages/Login/Login copy.jsx +0 -1060
  544. package/src22-1/TabexComponents/StaticPages/Login/Login.jsx +0 -610
  545. package/src22-1/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -146
  546. package/src22-1/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1568
  547. package/src22-1/TabexComponents/StaticPages/Policies/Policies.jsx +0 -291
  548. package/src22-1/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -113
  549. package/src22-1/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -183
  550. package/src22-1/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -128
  551. package/src22-1/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -130
  552. package/src22-1/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -225
  553. package/src22-1/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -310
  554. package/src22-1/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -235
  555. package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +0 -1270
  556. package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -1554
  557. package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -1566
  558. package/src22-1/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -1729
  559. package/src22-1/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -552
  560. package/src22-1/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -754
  561. package/src22-1/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -491
  562. package/src22-1/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -324
  563. package/src22-1/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -145
  564. package/src22-1/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -113
  565. package/src22-1/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -338
  566. package/src22-1/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -358
  567. package/src22-1/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -113
  568. package/src22-1/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -277
  569. package/src22-1/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -1135
  570. package/src22-1/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -1344
  571. package/src22-1/TabexComponents/StaticPages/Signup/Signup.jsx +0 -199
  572. package/src22-1/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -290
  573. package/src22-1/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -113
  574. package/src22-1/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -162
  575. package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -765
  576. package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -786
  577. package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -786
  578. package/src22-1/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -786
  579. package/src22-1/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -1425
  580. package/src22-1/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -555
  581. package/src22-1/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -555
  582. package/src22-1/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -555
  583. package/src22-1/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -815
  584. package/src22-1/button.jsx +0 -40
  585. package/src22-1/index.jsx +0 -327
  586. package/src22-1/styles/Home.module.css +0 -129
  587. package/src22-1/styles/cards/Categorcycard_fullimage.module.css +0 -14
  588. package/src22-1/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
  589. package/src22-1/styles/cards/Categorycard_withshapes.module.css +0 -189
  590. package/src22-1/styles/cards/ModernCardWithQuantityButton.module.css +0 -30
  591. package/src22-1/styles/cards/Productcard6.module.css +0 -9
  592. package/src22-1/styles/cards/Productccard_with_zoominonhover.module.css +0 -51
  593. package/src22-1/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
  594. package/src22-1/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -65
  595. package/src22-1/styles/cards/card23.module.css +0 -60
  596. package/src22-1/styles/cards/categorycard.module.css +0 -84
  597. package/src22-1/styles/cards/categorycard3.module.css +0 -50
  598. package/src22-1/styles/cards/categorycardwithtext.module.css +0 -40
  599. package/src22-1/styles/cards/generalCardsStyles.module.css +0 -79
  600. package/src22-1/styles/cards/productcard_animatedbuttons.module.css +0 -139
  601. package/src22-1/styles/cards/productcard_with_textonhover.module.css +0 -18
  602. package/src22-1/styles/cards/productcard_withtextonimage.module.css +0 -0
  603. package/src22-1/styles/cards/productccard_with_imageontopleft.module.css +0 -85
  604. package/src22-1/styles/general/bootstrap.css +0 -4763
  605. package/src22-1/styles/general/dropdown.css +0 -206
  606. package/src22-1/styles/general/editorbardropdown.module.css +0 -94
  607. package/src22-1/styles/general/filter.module.css +0 -108
  608. package/src22-1/styles/general/form.module.css +0 -255
  609. package/src22-1/styles/general/general.module.css +0 -872
  610. package/src22-1/styles/general/image-gallery.css +0 -531
  611. package/src22-1/styles/general/react-accessible-accordion.module.css +0 -52
  612. package/src22-1/styles/general/react-phone-input-2.module.css +0 -927
  613. package/src22-1/styles/general/scrollbtn.module.css +0 -22
  614. package/src22-1/styles/general/slick.module.css +0 -166
  615. package/src22-1/styles/general/tabs.module.css +0 -119
  616. package/src22-1/styles/general/workplaceeditor.module.css +0 -328
  617. package/src22-1/styles/globals.css +0 -26
  618. package/src22-1/styles/headers/CTAHeader.module.css +0 -40
  619. package/src22-1/styles/headers/CategoryFeaturingHeader.module.css +0 -61
  620. package/src22-1/styles/headers/Gotoheader.module.css +0 -81
  621. package/src22-1/styles/headers/Header7.module.css +0 -50
  622. package/src22-1/styles/headers/HeaderWithAdSlider.module.css +0 -86
  623. package/src22-1/styles/headers/HeaderWithSearchOnCenter.module.css +0 -101
  624. package/src22-1/styles/headers/HeaderWithUtilityBar.module.css +0 -46
  625. package/src22-1/styles/headers/Header_threesectionslogocentered.module.css +0 -84
  626. package/src22-1/styles/headers/NewHeader.module.css +0 -101
  627. package/src22-1/styles/headers/SearchFocusedHeader.module.css +0 -62
  628. package/src22-1/styles/headers/Sideheader.module.css +0 -108
  629. package/src22-1/styles/headers/Simpleheader.module.css +0 -102
  630. package/src22-1/styles/headers/classicheader.module.css +0 -16
  631. package/src22-1/styles/headers/classicheaderstyles.module.css +0 -9
  632. package/src22-1/styles/headers/dropdown.css +0 -0
  633. package/src22-1/styles/headers/header4.module.css +0 -175
  634. package/src22-1/styles/headers/header5.module.css +0 -30
  635. package/src22-1/styles/headers/header_contactinfo.module.css +0 -53
  636. package/src22-1/styles/headers/headerresturant.module.css +0 -89
  637. package/src22-1/styles/headers/modernheader.module.css +0 -45
  638. package/src22-1/styles/headers/stylishheader.module.css +0 -24
  639. package/src22-1/styles/headers/subheader.module.css +0 -114
  640. package/src22-1/styles/headers/threetieredheader.module.css +0 -91
  641. package/src22-1/styles/sections/BackgroundImageWithTopContent.css +0 -4
  642. package/src22-1/styles/sections/Backgroundimage1.module.css +0 -17
  643. package/src22-1/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
  644. package/src22-1/styles/sections/Freetext.module.css +0 -18
  645. package/src22-1/styles/sections/Section_with_rightbgcont.module.css +0 -49
  646. package/src22-1/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
  647. package/src22-1/styles/sections/Slideshow_with_squarebg.module.css +0 -39
  648. package/src22-1/styles/staticpages/accordion.module.css +0 -9
  649. package/src22-1/styles/staticpages/cart.module.css +0 -108
  650. package/src22-1/styles/staticpages/dropdown.css +0 -196
  651. package/src22-1/styles/staticpages/filter.module.css +0 -139
  652. package/src22-1/styles/staticpages/image-gallery.css +0 -481
  653. package/src22-1/styles/staticpages/login.module.css +0 -155
  654. package/src22-1/styles/staticpages/productinfo.module.css +0 -54
  655. package/src22-1/styles/staticpages/shop.module.css +0 -191
  656. package/src22-1/styles/staticpages/signup.module.css +0 -250
  657. package/src22-1/styles/staticpages/staticroutersidenav.module.css +0 -129
  658. package/src22-1/styles/staticpages/viewcart.module.css +0 -129
  659. package/src22-1/styles/staticpages/wishlist.module.css +0 -29
  660. package/srcbeforeedits.zip +0 -0
  661. package/srclib1-5.2.zip +0 -0
@@ -1,1729 +0,0 @@
1
- //productidprops
2
- import React, { useEffect, useState } from 'react';
3
- import { Messaging } from 'react-cssfx-loading';
4
- import { css } from 'glamor';
5
- import Product_itemtype from './Product_itemtype.jsx';
6
- import Service_itemtype from './Service_itemtype.jsx';
7
- import '../../../styles/staticpages/image-gallery.css';
8
- import { ScrollMenu, VisibilityContext } from 'react-horizontal-scrolling-menu';
9
- import { Box, Tab, Tabs } from '@mui/material';
10
- import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
11
- import { HiOutlinePhone } from '@react-icons/all-files/hi/HiOutlinePhone';
12
- import { AiOutlineMail } from '@react-icons/all-files/ai/AiOutlineMail';
13
- import { FaShippingFast } from '@react-icons/all-files/fa/FaShippingFast';
14
- import { RiSecurePaymentLine } from '@react-icons/all-files/ri/RiSecurePaymentLine';
15
- import ProductReviews from './ProductReviews.jsx';
16
- import DescriptionContent from './DescriptionContent.jsx';
17
- import ReactPlayer from 'react-player';
18
-
19
- const Productinfo = (props) => {
20
- const srcfromprops = props.actions.srcfromprops;
21
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
22
- const lang = props.actions.lang;
23
- const langdetect = props.actions.langdetect;
24
- const templatepropcontext = props.actions.templatepropcontext;
25
- const routingcountext = props.actions.routingcountext;
26
- const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
27
- const TabexSectionsComponentsContext = props.actions.TabexSectionsComponentsContext;
28
- const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
29
- const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
30
- const serverbaselink = props.actions.serverbaselink;
31
- const AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
32
- const ProductIdProdutInfoModalContext = props.actions.ProductIdProdutInfoModalContext;
33
- const AddtoCartContext = props.actions.AddtoCartContext;
34
- const addtofavoritescontext = props.actions.addtofavoritescontext;
35
- const fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
36
- const fetchproductinfoObjContext = props.actions.fetchproductinfoObjContext;
37
- const setfetchproductinfoObjContext = props.actions.setfetchproductinfoObjContext;
38
- const pageindexcontext = props.actions.pageindexcontext;
39
- const setpageindexcontext = props.actions.setpageindexcontext;
40
- const authdetailsContext = props.actions.authdetailsContext;
41
- const ikimagecredcontext = props.actions.ikimagecredcontext;
42
-
43
- const actions = props.actions;
44
- const GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
45
- const setCurrentPageIdContext = props.actions.setCurrentPageIdContext;
46
- const NotificationManager = props.actions.NotificationManager;
47
- const productidparam = props.productidparam;
48
- const [sectionproperties, setsectionproperties] = useState('');
49
- const [CurrentPageId, setCurrentPageId] = useState('');
50
- const [RelatedProductsTagid, setRelatedProductsTagid] = useState('');
51
- const [ProductInfoObj, setProductInfoObj] = useState({});
52
- const [filterproductreviews, setfilterproductreviews] = useState('all');
53
- const [productreviews, setproductreviews] = useState([]);
54
- const [Relatedproducts, setRelatedproducts] = useState([]);
55
- const [productimagesarray, setproductimagesarray] = useState([]);
56
- const [quantityconditionfoundobj, setquantityconditionfoundobj] = useState(null);
57
- const [addtocardpayloadobj, setaddtocardpayloadobj] = useState({
58
- functype: 'add',
59
- item_type: 'product',
60
- productid: '',
61
- variantid: '',
62
- quantity: 1,
63
- date: '',
64
- time: '',
65
- from: '',
66
- to: '',
67
- extrafields: [],
68
- });
69
- const [variantindexcompleted, setvariantindexcompleted] = useState('');
70
- const [variantindex, setvariantindex] = useState('');
71
- const [isloaded, setisloaded] = useState(false);
72
- const [showMore, setShowMore] = useState(false);
73
- const [currentshowingimageindex, setcurrentshowingimageindex] = useState(0);
74
- const [tabIndex, setTabIndex] = useState('');
75
- const [tabname, settabname] = useState('');
76
- const [productVideos, setproductVideos] = useState([]);
77
-
78
- const handleTabChange = (event, newTabIndex) => {
79
- setTabIndex(newTabIndex);
80
- };
81
- useEffect(() => {
82
- if (Object.keys(StatePagePropertiesContext).length != 0) {
83
- var secpropobj = {};
84
- StatePagePropertiesContext.pageobj != undefined &&
85
- StatePagePropertiesContext.pageobj.pageproperties != undefined &&
86
- StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
87
- secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
88
- });
89
-
90
- setsectionproperties({ ...secpropobj });
91
- setTabIndex(0);
92
- settabname('descriptiontab');
93
- if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom') {
94
- settabname('shippingpolicytab');
95
- }
96
- }
97
- }, [StatePagePropertiesContext]);
98
- useEffect(() => {
99
- if (fetchProductInfoQueryContext?.data?.data?.productinfo?.product_videos?.length != 0) {
100
- if (Array.isArray(fetchProductInfoQueryContext?.data?.data?.productinfo?.product_videos)) {
101
- var temparr = [...fetchProductInfoQueryContext?.data?.data?.productinfo?.product_videos];
102
- temparr.forEach(function (item) {
103
- item.linkclicked = false;
104
- });
105
- setproductVideos([...temparr]);
106
- }
107
- }
108
- }, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data]);
109
- useEffect(() => {
110
- var cartindex = templatepropcontext.pagesnprop.findIndex((x) => x.staticpageid == '6218bccb810ae');
111
-
112
- if (cartindex >= 0) {
113
- setpageindexcontext(cartindex);
114
- setCurrentPageId(templatepropcontext.pagesnprop[cartindex].pageid);
115
- if (props.srcfromprops != 'templatedraftrouter') {
116
- setCurrentPageIdContext(templatepropcontext.pagesnprop[cartindex].pageid);
117
- }
118
- }
119
- }, []);
120
- useEffect(() => {
121
- var secpropobj = {};
122
- templatepropcontext?.pagesnprop[pageindexcontext]?.pageproperties?.forEach(function (arrayItem, arrayindex) {
123
- secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
124
- });
125
- setsectionproperties({ ...secpropobj });
126
- }, [pageindexcontext]);
127
- useEffect(() => {
128
- if (productidparam == undefined) {
129
- productidassigner(ProductIdProdutInfoModalContext);
130
- } else {
131
- productidassigner(productidparam);
132
- }
133
- }, []);
134
- useEffect(() => {
135
- if (fetchProductInfoQueryContext.isSuccess) {
136
- setProductInfoObj(fetchProductInfoQueryContext.data);
137
- }
138
- }, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data]);
139
- useEffect(() => {
140
- if (Object.keys(ProductInfoObj).length != 0 && !isloaded) {
141
- variantchecker();
142
- }
143
- }, [ProductInfoObj, isloaded]);
144
- const productidassigner = (productid) => {
145
- var tempFetchQueriesEngineContext = { ...FetchQueriesEngineContext };
146
- tempFetchQueriesEngineContext.fetchproductinfo = true;
147
- setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
148
- var tempfetchproductinfoObjContext = { ...fetchproductinfoObjContext };
149
-
150
- tempfetchproductinfoObjContext.productid = productid;
151
- setfetchproductinfoObjContext({ ...tempfetchproductinfoObjContext });
152
- };
153
- useEffect(() => {
154
- if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
155
- if (fetchProductInfoQueryContext.data.data.productinfo != null) {
156
- var tempproductimagesarray = [];
157
- if (Array.isArray(fetchProductInfoQueryContext.data.data.productinfo.productimages)) {
158
- fetchProductInfoQueryContext.data.data.productinfo.productimages.forEach(function (arrayItem, arrayindex) {
159
- var imagepath = arrayItem.path;
160
- if (imagepath.includes('https')) {
161
- let position = imagepath.search('https');
162
- let result = imagepath.slice(position);
163
- var productimagesarrayobj = {
164
- thumbnail: arrayItem.path,
165
- original: arrayItem.path,
166
- galleryid: arrayItem.galleryid,
167
- };
168
- } else {
169
- var productimagesarrayobj = {
170
- thumbnail: ikimagecredcontext?.ikimageendpoint + '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + arrayItem.path,
171
- original: ikimagecredcontext?.ikimageendpoint + '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + arrayItem.path,
172
- galleryid: arrayItem.galleryid,
173
- // description:
174
- // // { dangerouslySetInnerHTML={{
175
- // // __html:
176
- // // fetchProductInfoQueryContext?.data?.data?.productinfo?.description_en,
177
- // // }}}
178
- // langdetect == 'en' ? fetchProductInfoQueryContext?.data?.data?.productinfo?.description_en : fetchProductInfoQueryContext?.data?.data?.productinfo?.description_ar,
179
- };
180
- }
181
-
182
- tempproductimagesarray.push(productimagesarrayobj);
183
- });
184
- }
185
- setproductimagesarray([...tempproductimagesarray]);
186
- variantchecker();
187
- var tempaddtocardpayloadobj = { ...addtocardpayloadobj };
188
- tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext.data.data.productinfo.productid;
189
- setaddtocardpayloadobj({ ...tempaddtocardpayloadobj });
190
- setRelatedProductsTagid(fetchProductInfoQueryContext.data.data.productinfo.maintagid);
191
- if (fetchProductInfoQueryContext?.data?.data?.productinfo?.maintagid != null && fetchProductInfoQueryContext?.data?.data?.productinfo?.maintagid?.length != 0) {
192
- GeneralAPIMutationContext.mutate({
193
- endpointurl: '/FetchRelatedProducts',
194
- tagid: fetchProductInfoQueryContext.data.data.productinfo.maintagid,
195
- mutateSuccesscallback: (data, variables) => {
196
- if (data.data.status) {
197
- setRelatedproducts(data.data.productsrelated);
198
- } else {
199
- // NotificationManager.warning('', data.data.reason);
200
- }
201
- },
202
- });
203
- }
204
- }
205
- }
206
- }, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data, ikimagecredcontext]);
207
- const clearchoosenvaluesbutkeepcurrentvalue = (optionindex, optionvaluesitem, optionvaluesindex) => {
208
- var productarr = ProductInfoObj;
209
- productarr?.data?.productinfo?.productoptions?.forEach(function (item, index) {
210
- item.isselected = 0;
211
- item?.optionvalues?.forEach(function (valueitem, valueindex) {
212
- valueitem.isselected = 0;
213
- });
214
- });
215
-
216
- selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
217
- };
218
- const selectproductoptionvalue = (optionindex, optionvaluesitem, optionvaluesindex, productarrtobepassed) => {
219
- if (productarrtobepassed == undefined || productarrtobepassed == null) {
220
- var productarr = ProductInfoObj;
221
- } else {
222
- var productarr = productarrtobepassed;
223
- }
224
-
225
- var isselected = productarr.data.productinfo.productoptions[optionindex].optionvalues[optionvaluesindex].isselected;
226
- if (isselected == 1) {
227
- productarr.data.productinfo.productoptions[optionindex].optionvalues[optionvaluesindex].isselected = 0;
228
- } else {
229
- productarr.data.productinfo.productoptions[optionindex].optionvalues[optionvaluesindex].isselected = 1;
230
- }
231
- productarr.data.productinfo.productoptions[optionindex].optionvalues.forEach(function (arrayItem, arrayindex) {
232
- if (optionvaluesindex != arrayindex) {
233
- arrayItem.isselected = 0;
234
- }
235
- });
236
- variantchecker();
237
- variantcompleting();
238
- setProductInfoObj({ ...productarr });
239
- };
240
- const variantchecker = () => {
241
- var productarr = ProductInfoObj;
242
- if (Object.keys(productarr).length != 0) {
243
- if (productarr?.data?.productinfo?.hasvariants == 1) {
244
- var selectedoptionsvalues = [];
245
- var variantsaccessible = [];
246
- productarr.data.productinfo.productoptions.forEach(function (productoptionsitem, productoptionsindex) {
247
- productoptionsitem.optionvalues.forEach(function (ProductOptionValuesitem, ProductOptionValuesIndex) {
248
- if (ProductOptionValuesitem.isselected == 1) {
249
- selectedoptionsvalues.push(ProductOptionValuesitem);
250
- }
251
- });
252
- });
253
- if (selectedoptionsvalues.length == 0) {
254
- productarr.data.productinfo.variants.forEach(function (ProductVariantItem, ProductVariantIndex) {
255
- ProductVariantItem.variantoptions.forEach(function (varinatoptionitem, variantoptionindex) {
256
- productarr.data.productinfo.productoptions.forEach(function (productoptionsitem, productoptionsindex) {
257
- productoptionsitem.optionvalues.forEach(function (ProductOptionValuesitem, ProductOptionValuesIndex) {
258
- if (ProductOptionValuesitem.valueid == varinatoptionitem.valueid) {
259
- ProductOptionValuesitem.isenabled = 1;
260
- }
261
- });
262
- });
263
- });
264
- });
265
- } else {
266
- productarr.data.productinfo.productoptions.forEach(function (productoptionsitem, productoptionsindex) {
267
- productoptionsitem.optionvalues.forEach(function (ProductOptionValuesitem, ProductOptionValuesIndex) {
268
- ProductOptionValuesitem.isenabled = 0;
269
- });
270
- });
271
-
272
- productarr.data.productinfo.variants.forEach(function (ProductVariantItem, ProductVariantIndex) {
273
- var variantcommonvalues = [];
274
- ProductVariantItem.variantoptions.forEach(function (varinatoptionitem, variantoptionindex) {
275
- selectedoptionsvalues.forEach(function (ProductOptionValuesitem, ProductOptionValuesIndex) {
276
- if (ProductOptionValuesitem.optionid == varinatoptionitem.optionid) {
277
- variantcommonvalues.push(varinatoptionitem);
278
- }
279
- });
280
- });
281
-
282
- var addvariantcount = [];
283
- var addvariant = false;
284
- selectedoptionsvalues.forEach(function (ProductOptionValuesitem, ProductOptionValuesIndex) {
285
- addvariant = false;
286
- variantcommonvalues.forEach(function (varinatoptionitem, variantoptionindex) {
287
- if (ProductOptionValuesitem.optionid == varinatoptionitem.optionid) {
288
- if (ProductOptionValuesitem.valueid == varinatoptionitem.valueid) {
289
- addvariant = true;
290
- } else {
291
- addvariantcount.push(varinatoptionitem);
292
- }
293
- }
294
- });
295
- });
296
- if (addvariant && addvariantcount.length == 0) {
297
- variantsaccessible.push(ProductVariantItem);
298
- }
299
- });
300
-
301
- variantsaccessible.forEach(function (ProductVariantItem, ProductVariantIndex) {
302
- ProductVariantItem.variantoptions.forEach(function (varinatoptionitem, variantoptionindex) {
303
- productarr.data.productinfo.productoptions.forEach(function (productoptionsitem, productoptionsindex) {
304
- productoptionsitem.optionvalues.forEach(function (ProductOptionValuesitem, ProductOptionValuesIndex) {
305
- if (ProductOptionValuesitem.valueid == varinatoptionitem.valueid) {
306
- ProductOptionValuesitem.isenabled = 1;
307
- }
308
- });
309
- });
310
- });
311
- });
312
- }
313
- // queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
314
- setProductInfoObj({ ...productarr });
315
- setisloaded(true);
316
- }
317
- }
318
- };
319
- const variantcompleting = () => {
320
- setvariantindexcompleted('');
321
- var tempaddtocardpayloadobj = { ...addtocardpayloadobj };
322
- tempaddtocardpayloadobj.variantid = '';
323
- setaddtocardpayloadobj({ ...tempaddtocardpayloadobj });
324
- var productarr = ProductInfoObj;
325
- var selectedoptionsvalues = [];
326
-
327
- productarr.data.productinfo.productoptions.forEach(function (productoptionsitem, productoptionsindex) {
328
- productoptionsitem.optionvalues.forEach(function (ProductOptionValuesitem, ProductOptionValuesIndex) {
329
- if (ProductOptionValuesitem.isselected == 1) {
330
- selectedoptionsvalues.push(ProductOptionValuesitem);
331
- }
332
- });
333
- });
334
- productarr.data.productinfo.variants.forEach(function (ProductVariantItem, ProductVariantIndex) {
335
- var isvariant = false;
336
- var variantnotmatch = [];
337
- if (selectedoptionsvalues.length == ProductVariantItem.variantoptions.length) {
338
- isvariant = true;
339
- ProductVariantItem.variantoptions.forEach(function (varinatoptionitem, variantoptionindex) {
340
- selectedoptionsvalues.forEach(function (ProductOptionValuesitem, ProductOptionValuesIndex) {
341
- if (ProductOptionValuesitem.optionid == varinatoptionitem.optionid) {
342
- if (ProductOptionValuesitem.valueid == varinatoptionitem.valueid) {
343
- } else {
344
- variantnotmatch.push('s');
345
- }
346
- }
347
- });
348
- });
349
- }
350
- if (variantnotmatch.length == 0 && isvariant == true) {
351
- var variantobj = fetchProductInfoQueryContext.data.data.productinfo.variants[ProductVariantIndex];
352
-
353
- var variantid = '';
354
- if (variantobj == undefined) {
355
- NotificationManager.warning('', 'Variant Not Found');
356
- } else {
357
- variantid = variantobj.variantid;
358
- var tempaddtocardpayloadobj = { ...addtocardpayloadobj };
359
-
360
- tempaddtocardpayloadobj.variantid = variantid;
361
- var variantimageindex = 0;
362
- productimagesarray?.forEach(function (tempimageitem, tempimageindex) {
363
- if (tempimageitem.galleryid == variantobj?.variantgalleryid) {
364
- variantimageindex = tempimageindex;
365
- }
366
- });
367
- setcurrentshowingimageindex(variantimageindex);
368
- setaddtocardpayloadobj({ ...tempaddtocardpayloadobj });
369
- setvariantindexcompleted(ProductVariantIndex);
370
- setvariantindex(ProductVariantIndex);
371
- }
372
- }
373
- });
374
- // queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
375
- setProductInfoObj({ ...productarr });
376
- };
377
- const addtocartfunc = () => {
378
- var runfunc = false;
379
- if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
380
- if (fetchProductInfoQueryContext?.data?.data?.productinfo?.hasvariants == 1) {
381
- if (addtocardpayloadobj.variantid.length != 0) {
382
- runfunc = true;
383
- } else {
384
- NotificationManager.warning('', 'Please Choose Product Options');
385
- }
386
- } else {
387
- runfunc = true;
388
- }
389
- } else {
390
- NotificationManager.warning('', 'Please Choose Quantity');
391
- }
392
-
393
- if (runfunc == true) {
394
- var tempaddtocardpayloadobj = { ...addtocardpayloadobj };
395
- tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext?.data?.data?.productinfo?.isproductforcedtocheckout;
396
- tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext?.data?.data?.productinfo?.vendorproviderid;
397
- var Extrafieldvalidationresponse = validateextrafields();
398
- if (Extrafieldvalidationresponse.status) {
399
- AddtoCartContext(tempaddtocardpayloadobj);
400
- } else {
401
- // NotificationManager.warning('', Extrafieldvalidationresponse.reason);
402
- }
403
- }
404
- };
405
- const validateextrafields = () => {
406
- var tempaddtocardpayloadobj = { ...addtocardpayloadobj };
407
- var status = false;
408
- var reason = '';
409
- var missingitemsfound = [];
410
- var extrafields = fetchProductInfoQueryContext?.data?.data?.productinfo?.productextrafields;
411
- if (extrafields?.length == 0) {
412
- status = true;
413
- } else {
414
- extrafields.forEach(function (item, index) {
415
- if (item.isrequired == 1) {
416
- var itemfound = null;
417
- tempaddtocardpayloadobj?.extrafields?.forEach(function (cchoosenitemvalue) {
418
- if (cchoosenitemvalue.id == item.id) {
419
- itemfound = cchoosenitemvalue;
420
- }
421
- });
422
- if (itemfound == null) {
423
- missingitemsfound.push(item);
424
- } else {
425
- if (itemfound?.value?.length == 0) {
426
- missingitemsfound.push(item);
427
- }
428
- }
429
- }
430
- });
431
- }
432
- if (missingitemsfound.length == 0) {
433
- status = true;
434
- } else {
435
- status = false;
436
- reason = 'Missing items';
437
- missingitemsfound.forEach(function (missingitem) {
438
- var notftitle = langdetect == 'en' ? missingitem.title_en : missingitem.title_ar;
439
- NotificationManager.warning('', langdetect == 'en' ? 'Please Choose ' + notftitle : 'من فضلك اختر' + notftitle);
440
- });
441
- }
442
- return { status: status, reason: reason };
443
- };
444
- const returnpolicyobj = (policytype) => {
445
- var policyobj = {};
446
- authdetailsContext?.instinfo?.instpolicies?.forEach(function (item, index) {
447
- if (item.policytype == policytype) {
448
- policyobj = item;
449
- }
450
- });
451
- return policyobj;
452
- };
453
- const relatedproducts = () => {
454
- if (Relatedproducts.length != 0) {
455
- return (
456
- <div
457
- className="w-100 row ml-0 mr-0 d-flex justify-content-start pl-md-3 pr-md-3 pl-sm-2 pr-sm-2"
458
- style={{
459
- background: sectionproperties.relatedproductsbg,
460
- paddingTop: sectionproperties.relatedproductspaddingTop + 'px',
461
- paddingBottom: sectionproperties.relatedproductspaddingBottom + 'px',
462
- paddingLeft: sectionproperties.relatedproductspaddingLeft + 'px',
463
- paddingRight: sectionproperties.relatedproductspaddingRight + 'px',
464
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
465
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
466
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
467
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
468
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
469
- marginBottom: sectionproperties.relatedProductsMb + 'px',
470
- }}
471
- >
472
- {Relatedproducts.length != 0 && (
473
- <div className="col-lg-12 p-0">
474
- <div className="row m-0 w-100">
475
- <div
476
- className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column"
477
- style={{
478
- justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
479
- marginBottom: sectionproperties.relatedtitlemb + 'px',
480
- }}
481
- >
482
- <p
483
- className={' m-0 p-0 wordbreak '}
484
- style={{
485
- fontSize: sectionproperties.relatedproductstitlefontsize + 'px',
486
- color: sectionproperties.relatedproductstitlecolor,
487
- fontWeight: sectionproperties.relatedproductstitlefontweight,
488
- textAlign: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
489
- }}
490
- >
491
- {langdetect == 'en' ? sectionproperties.relatedproducttitleEn : sectionproperties.relatedproducttitleAr}
492
- </p>
493
- <div
494
- style={{
495
- width: sectionproperties.relatedproducttitle_lineafterwidth + 'px',
496
- height: 2,
497
- background: sectionproperties.relatedproducttitlelinebgcolor,
498
- borderRadius: 5,
499
- }}
500
- />
501
- </div>
502
- <div className="col-lg-12">
503
- <ScrollMenu
504
- transitionBehavior={'auto'}
505
- wrapperClassName={''}
506
- itemClassName={'scrollmenuclassnameitemrelatedproduct'}
507
- scrollContainerClassName={'scrollmenuclasssubscrollbar'}
508
- >
509
- {Relatedproducts.map((item, index) => {
510
- if (item.productinfo != null) {
511
- if (item.productid != fetchProductInfoQueryContext.data.data.productinfo.productid) {
512
- return (
513
- <div
514
- className="col-lg-12 w-100"
515
- onClick={() => {
516
- if (props.srcfromprops != 'templatdraftrouter') {
517
- productidassigner(item.productid);
518
- } else {
519
- routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
520
- }
521
- }}
522
- >
523
- <div className={productinfo_cssstyles.relatedproductcardcont + ' row w-100 m-0 cursor-pointer '}>
524
- <div class={' cursor-pointer w-100 '}>
525
- <div class={`${productinfo_cssstyles.relatedProductImageCont}` + ' w-100 p-0 mb-2 '}>
526
- <Imagekitimagecomp
527
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
528
- publicKey={ikimagecredcontext?.ikimagepublickey}
529
- // path={
530
- // '/tr:w-' +
531
- // sectionproperties.relatedProductDimWidth +
532
- // ',h-' +
533
- // sectionproperties.galleryHeightDimension +
534
- // '/' +
535
- // item.productinfo.productmainimage
536
- // }
537
- path={
538
- '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.productinfo.productmainimage
539
- }
540
- loading="lazy"
541
- style={{
542
- width: '100%',
543
- height: '100%',
544
- objectFit: 'contain',
545
- }}
546
- />
547
- </div>
548
- <div class="row m-0 w-100 ">
549
- <div class="col-lg-12 p-0">
550
- <p
551
- class={
552
- `${productinfo_cssstyles.relatedproductNameStyles}` +
553
- ' relatedproductNameStyles wordbreak wordbreak1 text-center m-0 '
554
- }
555
- >
556
- {langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar}
557
- </p>
558
- </div>
559
- <div style={{ flexDirection: 'column' }} class="col-lg-12 d-flex align-items-center justify-content-center p-0 ">
560
- <p class={`${productinfo_cssstyles.relatedproductPricestyles}` + ' m-0 '}>
561
- {item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice}{' '}
562
- {langdetect == 'en' ? authdetailsContext?.currencyname_en : authdetailsContext?.currencyname_ar}{' '}
563
- </p>
564
- </div>
565
- </div>
566
- </div>
567
- </div>
568
- </div>
569
- );
570
- }
571
- }
572
- })}
573
- </ScrollMenu>
574
- </div>
575
- </div>
576
- </div>
577
- )}
578
- </div>
579
- );
580
- }
581
- };
582
- // const DescriptionContent = () => {
583
- // return (
584
- // <div class="col-lg-12 pl-5 pr-5 p-md-0 w-100">
585
- // <div class="row m-0 w-100">
586
- // {langdetect == 'en' &&
587
- // fetchProductInfoQueryContext?.data?.data?.productinfo?.description_en != '' &&
588
- // fetchProductInfoQueryContext?.data?.data?.productinfo?.description_en != null &&
589
- // sectionproperties.prodCatShow == 'Show' && (
590
- // <div className="col-lg-12 p-0 mb-4 d-flex justify-content-center">
591
- // <div className="row m-0 w-100 d-flex">
592
- // <div class="col-lg-12 p-0 d-flex justify-content-start">
593
- // <p
594
- // className={'text-black text-capitalize m-0 p-0 wordbreak'}
595
- // style={{
596
- // textAlign: langdetect == 'en' ? 'left' : 'right',
597
- // }}
598
- // dangerouslySetInnerHTML={{
599
- // __html:
600
- // showMore == true
601
- // ? fetchProductInfoQueryContext?.data?.data?.productinfo?.description_en
602
- // : fetchProductInfoQueryContext?.data?.data?.productinfo?.description_en.slice(0, 1000),
603
- // }}
604
- // ></p>
605
- // </div>
606
- // <div class="col-lg-12 allcentered">
607
- // {fetchProductInfoQueryContext?.data?.data?.productinfo?.description_en.length > 1000 && (
608
- // <p class="m-0 p-0 cursor-pointer text-grey font-weight-600" onClick={() => setShowMore(!showMore)}>
609
- // {showMore ? lang.showless : lang.showmore}
610
- // </p>
611
- // )}
612
- // </div>
613
- // </div>
614
- // </div>
615
- // )}
616
- // {langdetect == 'ar' &&
617
- // fetchProductInfoQueryContext?.data?.data?.productinfo?.description_ar != '' &&
618
- // fetchProductInfoQueryContext?.data?.data?.productinfo?.description_ar != null &&
619
- // sectionproperties.prodCatShow == 'Show' && (
620
- // <div className="col-lg-12 p-0 mb-4 d-flex justify-content-center">
621
- // <div className="row m-0 w-100 d-flex">
622
- // <div class="col-lg-12 p-0 d-flex justify-content-start flex-column">
623
- // <p
624
- // className={'text-black text-capitalize m-0 p-0 wordbreak'}
625
- // style={{
626
- // textAlign: langdetect == 'en' ? 'left' : 'right',
627
- // }}
628
- // dangerouslySetInnerHTML={{
629
- // __html:
630
- // showMore == true
631
- // ? fetchProductInfoQueryContext?.data?.data?.productinfo?.description_ar
632
- // : fetchProductInfoQueryContext?.data?.data?.productinfo?.description_ar.slice(0, 1000),
633
- // }}
634
- // ></p>
635
- // </div>
636
- // <div class="col-lg-12 allcentered">
637
- // {fetchProductInfoQueryContext?.data?.data?.productinfo?.description_ar.length > 1000 && (
638
- // <p class="m-0 p-0 cursor-pointer text-grey font-weight-600 text-right" onClick={() => setShowMore(!showMore)}>
639
- // {showMore ? lang.showless : lang.showmore}
640
- // </p>
641
- // )}
642
- // </div>
643
- // </div>
644
- // </div>
645
- // )}
646
- // {sectionproperties.showGallery == 'Show' && fetchProductInfoQueryContext?.data?.data?.productinfo?.productimages?.length != 0 && (
647
- // <div class="col-lg-12 p-0">
648
- // <div
649
- // class="row m-0 w-100 allcentered pl-md-3 pr-md-3"
650
- // style={{
651
- // paddingLeft: sectionproperties.galleryPaddingHorizontal + 'px',
652
- // paddingRight: sectionproperties.galleryPaddingHorizontal + 'px',
653
- // }}
654
- // >
655
- // {fetchProductInfoQueryContext?.data?.data?.productinfo?.productimages?.map((item, index) => {
656
- // if (index <= 6) {
657
- // return (
658
- // <div
659
- // class={' col-md-4 col-sm-12 mb-3 col-lg-' + sectionproperties.galleryNoOfCols}
660
- // style={{
661
- // height: sectionproperties.galleryHeight + 'px',
662
- // }}
663
- // >
664
- // <Imagekitimagecomp
665
- // urlEndpoint={ikimagecredcontext?.ikimageendpoint}
666
- // publicKey={ikimagecredcontext?.ikimagepublickey}
667
- // path={'/tr:w-' + sectionproperties.galleryWidthDimension + ',h-' + sectionproperties.galleryHeightDimension + '/' + item.path}
668
- // style={{
669
- // width: '100%',
670
- // height: '100%',
671
- // objectFit: 'contain',
672
- // }}
673
- // loading="lazy"
674
- // />
675
- // </div>
676
- // );
677
- // }
678
- // })}
679
- // </div>
680
- // </div>
681
- // )}
682
- // </div>
683
- // </div>
684
- // );
685
- // };
686
- const productinfo_cssstyles = {
687
- containerstyles: css({
688
- marginTop: props.srcfromprops != 'templatedraftrouter' ? sectionproperties.marginTop + 'px' : 30,
689
- '@media (max-width: 800px)': {
690
- marginTop: sectionproperties.marginTopResp + 'px',
691
- },
692
- }),
693
- submitreviewbtn: css({
694
- width: sectionproperties.applybtn_width + 'px',
695
- height: sectionproperties.applybtn_height + 'px',
696
- borderRadius: sectionproperties.applybtn_borderBottomLeftRadius + 'px',
697
- fontSize: sectionproperties.applybtn_fontsize + 'px',
698
- color: sectionproperties.applybtn_textColor,
699
- fontWeight: sectionproperties.applybtn_Textfontweight,
700
- backgroundColor: sectionproperties.applybtn_bgColor,
701
- border: sectionproperties.applybtnborderwidth + 'px solid ' + sectionproperties.applybtnbordercolor,
702
- textTransform: sectionproperties.applybtn_texttransform,
703
- ':hover': {
704
- transition: '.3s',
705
- backgroundColor: sectionproperties.applybtn_bgColoronhover,
706
- color: sectionproperties.applybtn_Textcoloronhover,
707
- },
708
- }),
709
- form_control: css({
710
- position: 'relative',
711
- display: 'flex',
712
- alignItems: 'center',
713
- display: 'block',
714
- width: '100%',
715
- padding: '0 10px',
716
- transition: '.3s',
717
- fontWeight: 500,
718
- border: sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0,
719
- borderBottom: sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor,
720
- borderRadius: sectionproperties.inputfieldborderradius + 'px',
721
- height: sectionproperties.inputfieldheight + 'px',
722
- background: sectionproperties.input_bgcolor,
723
- color: sectionproperties.inputfieldcolor,
724
- ':focus': {
725
- borderColor: sectionproperties.inputfeildbordercoloronfocus,
726
- },
727
- ':focus .login_input_icon': {
728
- color: sectionproperties.inputfeildbordercoloronfocus,
729
- },
730
- }),
731
- inputfield_label: css({
732
- color: sectionproperties.form_labelcolor,
733
- fontWeight: sectionproperties.form_labelfontweight,
734
- fontSize: sectionproperties.form_labelfontsize + 'px',
735
- textTransform: sectionproperties.form_labeltexttransform,
736
- marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0,
737
- }),
738
- reviewbutton: css({
739
- width: sectionproperties.reviewbtn_width + 'px',
740
- height: sectionproperties.reviewbtn_height + 'px',
741
- background: sectionproperties.reviewbtn_bgcolor,
742
- color: sectionproperties.reviewbtn_color,
743
- fontSize: sectionproperties.reviewbtn_fontsize + 'px',
744
- borderRadius: sectionproperties.reviewbtn_borderradius + 'px',
745
- border: sectionproperties.reviewbtn_borderwidth + 'px solid ' + sectionproperties.reviewbtn_bordercolor,
746
- fontWeight: sectionproperties.reviewbtn_fontweight,
747
- ':hover': {
748
- transition: '.3s',
749
- color: sectionproperties.reviewbtn_coloronhover,
750
- borderColor: sectionproperties.reviewbtn_coloronhover,
751
- backgroundColor: sectionproperties.reviewbtn_bgcoloronhover,
752
- },
753
- }),
754
- before: css({
755
- ':before': {
756
- background: sectionproperties.activetabbordercolor,
757
- },
758
- }),
759
- reservationtab: css({
760
- color: sectionproperties.tabtextactivecolor,
761
- fontWeight: sectionproperties.tabtextfontweight,
762
- background: sectionproperties.activetabbgcolor,
763
- textTransform: sectionproperties.tabtexttexttransform,
764
- borderRadius: sectionproperties.tabcontainerborderradius + 'px',
765
- fontFamily: 'Poppins',
766
- transition: '.3s',
767
- textAlign: 'start',
768
- }),
769
- cart_btn: css({
770
- position: 'relative',
771
- display: 'flex',
772
- alignItems: 'center',
773
- justifyContent: 'center',
774
- overflow: 'hidden',
775
- width: sectionproperties.cartBtnWidth + 'px',
776
- height: sectionproperties.cartBtnHeight + 'px',
777
- background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
778
- borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
779
- color: sectionproperties.cartBtnTextcolor,
780
- fontSize: sectionproperties.cartBtnTextfontsize + 'px',
781
- textTransform: sectionproperties.cartBtnTexttransform,
782
- fontWeight: sectionproperties.cartBtnTextfontweight,
783
- border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
784
- margin: 0,
785
- transition: '.3s',
786
- ':hover': {
787
- background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
788
- color: sectionproperties.cartBtnTextcoloronhover,
789
- borderColor: sectionproperties.cartBtnTextcoloronhover,
790
- },
791
- }),
792
- quantitybtn: css({
793
- width: sectionproperties.quantitybtn_height + 'px',
794
- height: sectionproperties.quantitybtn_width + 'px',
795
- display: 'flex',
796
- flexDirection: 'column',
797
- overflow: 'hidden',
798
- borderRadius: sectionproperties.quantitybtn_borderradius + 'px',
799
- background: sectionproperties.quantitybtn_bgcolor,
800
- alignItems: 'center',
801
- justifyContent: 'center',
802
- margin: 0,
803
- position: 'relative',
804
- fontWeight: sectionproperties.quantitybtn_textfontweight,
805
- color: sectionproperties.quantitybtn_textcolor,
806
- fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
807
- border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
808
- }),
809
- quantitybtn_text: css({
810
- margin: 'auto',
811
- }),
812
- add_quantitybtn_icon_container: css({
813
- position: 'relative',
814
- width: '35px',
815
- height: '35px',
816
- background: sectionproperties.add_quantitybtn_bgcolor,
817
- display: 'flex',
818
- alignItems: 'center',
819
- justifyContent: 'center',
820
- borderRadius: sectionproperties.add_quantitybtn_borderradius + 'px',
821
- fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
822
- color: sectionproperties.add_quantitybtn_textcolor,
823
- transition: '.3s',
824
- ':hover': {
825
- color: sectionproperties.add_quantitybtn_textcoloronhover,
826
- background: sectionproperties.add_quantitybtn_bgcoloronhover,
827
- },
828
- }),
829
- minus_quantitybtn_icon_container: css({
830
- position: 'relative',
831
- width: '35px',
832
- height: '35px',
833
- background: sectionproperties.remove_quantitybtn_bgcolor,
834
- display: 'flex',
835
- alignItems: 'center',
836
- justifyContent: 'center',
837
- borderRadius: sectionproperties.remove_quantitybtn_borderradius + 'px',
838
- fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
839
- color: sectionproperties.remove_quantitybtn_textcolor,
840
- transition: '.3s',
841
- ':hover': {
842
- color: sectionproperties.remove_quantitybtn_textcoloronhover,
843
- background: sectionproperties.remove_quantitybtn_bgcoloronhover,
844
- },
845
- }),
846
- relatedproductcardcont: css({
847
- ':hover .relatedproductNameStyles': {
848
- color: sectionproperties.relatedprodNameColoronhover,
849
- },
850
- }),
851
- relatedProductImageCont: css({
852
- height: sectionproperties.relatedProductImageHeight + 'px',
853
- border: sectionproperties.relatedProductImageBorderWidth + 'px solid ' + sectionproperties.relatedProductImageBorderColor,
854
- borderRadius: sectionproperties.relatedProductImageBr + 'px',
855
- display: 'flex',
856
- alignItems: 'center',
857
- justifyContent: 'center',
858
- position: 'relative',
859
- }),
860
- relatedproductNameStyles: css({
861
- transition: '.3s',
862
- color: sectionproperties.relatedprodNameColor,
863
- fontSize: sectionproperties.relatedprodNameFontSize + 'px',
864
- fontWeight: sectionproperties.relatedprodnamefontWeight,
865
- textTransform: sectionproperties.relatedprodNameTextTranform,
866
- ':hover': {
867
- color: sectionproperties.relatedprodNameColoronhover,
868
- },
869
- }),
870
- relatedproductPricestyles: css({
871
- color: sectionproperties.relatedprodPriceColor,
872
- fontSize: sectionproperties.relatedprodpriceFontSize + 'px',
873
- fontWeight: sectionproperties.relatedprodPriceFontWeight,
874
- }),
875
- cardcontainer: css({
876
- backgroundColor: sectionproperties.backgroundColor,
877
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
878
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
879
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
880
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
881
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
882
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
883
- paddingTop: sectionproperties.paddingTop + 'px',
884
- paddingBottom: sectionproperties.paddingBottom + 'px',
885
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
886
- marginBottom: sectionproperties.marginBottom + 'px',
887
- }),
888
- wishlist_btn: css({
889
- // marginTop: sectionproperties.favbtnmargintop + 'px',
890
- width: sectionproperties.favBtnWidth + 'px',
891
- height: sectionproperties.favBtnHeight + 'px',
892
- background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
893
- borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
894
- color: sectionproperties.favBtniconcolor,
895
- fontSize: sectionproperties.favBtnTextfontsize + 'px',
896
- textTransform: sectionproperties.favBtnTexttransform,
897
- fontWeight: sectionproperties.favBtnTextfontweight,
898
- boxShadow: sectionproperties.favbtn_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.favbtn_shadowcolor : '',
899
- border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
900
- cursor: 'pointer',
901
- transition: '.3s',
902
- ':hover': {
903
- background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
904
- color: sectionproperties.favBtnTextcoloronhover,
905
- borderColor: sectionproperties.favBtnTextcoloronhover,
906
- },
907
- // '@media (max-width: 800px)': {
908
- // marginTop: sectionproperties.favbtnmargintopresp + 'px',
909
- // },
910
- }),
911
- productname: css({
912
- fontSize: sectionproperties.prodNameFontSize + 'px',
913
- textTransform: sectionproperties.prodNameTextTranform,
914
- fontWeight: sectionproperties.prodNameFontWeight,
915
- color: sectionproperties.prodNameColor,
916
- }),
917
- productnamehover: css({
918
- transition: '.3s',
919
- ':hover': {
920
- color: sectionproperties.prodNameColorOnHover,
921
- },
922
- }),
923
- storeInfo: css({
924
- color: sectionproperties.footerinfotext_color,
925
- fontSize: sectionproperties.footerinfotext_fontsize + 'px',
926
- textTransform: sectionproperties.footerinfotext_textTransform,
927
- fontWeight: sectionproperties.footerinfotext_fontweight,
928
- transition: '.3s',
929
- }),
930
- storeInfoContent: css({
931
- color: sectionproperties.footerinfotext_secondarycolor,
932
- fontSize: sectionproperties.footerinfotext_secondaryfontsize + 'px',
933
- fontWeight: sectionproperties.footerinfotext_secondaryfontweight,
934
- }),
935
- iconContainer: css({
936
- width: sectionproperties.iconcontainerwidth + 'px',
937
- height: sectionproperties.iconcontainerheight + 'px',
938
- borderRadius: sectionproperties.iconcontainerborderbl + 'px',
939
- background: sectionproperties.iconcontainerbg,
940
- color: sectionproperties.iconcontainercolor,
941
- }),
942
- storeinfocontainer: css({
943
- ':hover .storeInfoContent': {
944
- transition: '.3s',
945
- color: sectionproperties.footerinfotext_coloronhover,
946
- },
947
- ':hover .iconContainer': {
948
- transition: '.3s',
949
- color: sectionproperties.iconcontainercoloronhover,
950
- backgroundColor: sectionproperties.iconcontainerbgonhover,
951
- },
952
- }),
953
- shareicon: css({
954
- width: sectionproperties.shareiconwidth + 'px',
955
- height: sectionproperties.shareiconheight + 'px',
956
- borderRadius: sectionproperties.shareiconborderradius + 'px',
957
- background: sectionproperties.shareiconbgcolor,
958
- color: sectionproperties.shareiconcolor,
959
- ':hover': {
960
- color: sectionproperties.shareiconcoloronhover,
961
- transition: '.3s',
962
- cursor: 'pointer',
963
- },
964
- }),
965
- checkoutbtn: css({
966
- width: sectionproperties.checkoutBtnWidth + 'px',
967
- height: sectionproperties.checkoutBtnHeight + 'px',
968
- backgroundColor: sectionproperties.checkoutBtnbgColor,
969
- color: sectionproperties.checkoutBtnTextcolor,
970
- fontWeight: sectionproperties.checkoutBtnTextfontweight,
971
- fontSize: sectionproperties.checkoutBtnTextfontsize + 'px',
972
- borderRadius: sectionproperties.checkout_borderBottomLeftRadius + 'px',
973
- border: sectionproperties.checkout_borderWidth + 'px solid ' + sectionproperties.checkout_bordercolor,
974
- transition: '.3s',
975
- ':hover': {
976
- backgroundColor: sectionproperties.checkoutBtnbgColoronhover,
977
- color: sectionproperties.checkoutBtncoloronhover,
978
- },
979
- }),
980
- outstockbadge: css({
981
- minWidth: sectionproperties.outstock_width + 'px',
982
- height: sectionproperties.outstock_height + 'px',
983
- background: sectionproperties.outstock_bg,
984
- color: sectionproperties.outstock_color,
985
- fontSize: sectionproperties.outstock_fontSize + 'px',
986
- borderRadius: sectionproperties.outstock_borderradius + 'px',
987
- }),
988
- cashbackoutercontainer: css({
989
- // minWidth: 'fit-content',
990
- width: sectionproperties.cashbackcontainerwidth + '%',
991
- height: sectionproperties.cashbackcontainerheight + 'px',
992
- background: sectionproperties.cashbackcontainerbgcolor,
993
- color: sectionproperties.cashbackcontainercolor,
994
- fontSize: sectionproperties.cashbackcontainerfontsize + 'px',
995
- border: sectionproperties.cashbackcontainerborderwidth + 'px ' + sectionproperties.cashbackcontainerborderstyle + sectionproperties.cashbackcontainerbordercolor,
996
- borderRadius: sectionproperties.cashbackcontainerborderradius + 'px',
997
- }),
998
- profitcontainer: css({
999
- width: sectionproperties.profitcontainerwidth + '%',
1000
- height: sectionproperties.profitcontainerheight + 'px',
1001
- background: sectionproperties.profitcontainerbgcolor,
1002
- border: sectionproperties.profitcontainerborderwidth + 'px solid' + sectionproperties.profitcontainerbordercolor,
1003
- borderRadius: sectionproperties.profitcontainerborderradius + 'px',
1004
- color: sectionproperties.profitcontainercolor,
1005
- '@media (max-width: 800px)': {
1006
- width: '90%',
1007
- },
1008
- }),
1009
- imagegallery: css({
1010
- '.image-gallery-thumbnail.active': {
1011
- border: '2px solid red ',
1012
- },
1013
- }),
1014
- storeinfobtn: css({
1015
- width: sectionproperties.storeinfobtnwidth + '%',
1016
- height: sectionproperties.storeinfobtnheight + 'px',
1017
- background: sectionproperties.storeinfobtnbgcolor,
1018
- fontSize: sectionproperties.footerinfotext_fontsize,
1019
- fontWeight: sectionproperties.footerinfotext_fontweight,
1020
- color: sectionproperties.footerinfotext_color,
1021
- borderRadius: sectionproperties.storeinfobtnborderradius + 'px',
1022
- transition: '.3s',
1023
- ':hover': {
1024
- color: sectionproperties.footerinfotext_coloronhover,
1025
- background: sectionproperties.storeinfobtnbgcoloronhover,
1026
- },
1027
- }),
1028
- storeinfocontainer: css({
1029
- marginTop: sectionproperties.storeinfomarginvertical + 'px',
1030
- '@media (max-width: 800px)': {
1031
- marginTop: sectionproperties.storeinfomarginverticalresp + 'px',
1032
- },
1033
- }),
1034
- // storeinfocontainer2: css({
1035
- // marginBottom: sectionproperties.storeinfomarginvertical + 'px',
1036
- // '@media (max-width: 800px)': {
1037
- // marginBottom: sectionproperties.storeinfomarginverticalresp + 'px',
1038
- // },
1039
- // }),
1040
- };
1041
-
1042
- const getprice_discountpriceprops = (type, withtotal, variantindexcompleted) => {
1043
- var price = 0;
1044
- var quantityconditions = [];
1045
- var quantity = 0;
1046
- if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
1047
- quantity = parseFloat(addtocardpayloadobj.quantity);
1048
- }
1049
- if (
1050
- fetchProductInfoQueryContext?.data?.data?.productinfo?.productquantityoptions != undefined &&
1051
- fetchProductInfoQueryContext?.data?.data?.productinfo?.productquantityoptions != null &&
1052
- Array.isArray(fetchProductInfoQueryContext?.data?.data?.productinfo?.productquantityoptions) &&
1053
- fetchProductInfoQueryContext?.data?.data?.productinfo?.productquantityoptions?.length != 0
1054
- ) {
1055
- quantityconditions = fetchProductInfoQueryContext.data.data.productinfo.productquantityoptions;
1056
- }
1057
- if (type == 'defaultprice') {
1058
- price = fetchProductInfoQueryContext.data.data.productinfo.defaultprice;
1059
- if (fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1) {
1060
- if (variantindexcompleted != undefined) {
1061
- if (fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.variantprice != undefined) {
1062
- price = fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.variantprice;
1063
- }
1064
- }
1065
- }
1066
- } else if (type == 'defaultsaleprice') {
1067
- price = fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice;
1068
- if (fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1) {
1069
- if (variantindexcompleted != undefined) {
1070
- if (fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.variantsaleprice != undefined) {
1071
- price = fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.variantsaleprice;
1072
- }
1073
- }
1074
- }
1075
- }
1076
- var localquantityconditionobj = null;
1077
- var temppriceinseidconditions = price;
1078
- quantityconditions.forEach(function (item, index) {
1079
- if (item.fromq <= quantity && item.toq >= quantity) {
1080
- var discountprice = (item.value / 100) * price;
1081
- if (item.type == 'add') {
1082
- temppriceinseidconditions = price + discountprice;
1083
- } else if (item.type == 'subtract') {
1084
- temppriceinseidconditions = price - discountprice;
1085
- }
1086
- localquantityconditionobj = item;
1087
- }
1088
- });
1089
- price = temppriceinseidconditions;
1090
- setquantityconditionfoundobj(localquantityconditionobj);
1091
- if (withtotal == true) {
1092
- price = price * quantity;
1093
- }
1094
- if (price != undefined) {
1095
- return price;
1096
- } else {
1097
- return 0;
1098
- }
1099
- };
1100
- const getQuantityCondition = () => {
1101
- return (
1102
- <div
1103
- class="col-lg-12 p-0"
1104
- style={{
1105
- background: sectionproperties.reservation_bgcolor,
1106
- borderRadius: sectionproperties.reservation_borderradius + 'px',
1107
- }}
1108
- >
1109
- <div
1110
- class="row m-0 w-100"
1111
- style={{
1112
- paddingLeft: sectionproperties.reservation_padding_left + 'rem',
1113
- paddingRight: sectionproperties.reservation_padding_right + 'rem',
1114
- paddingTop: sectionproperties.reservation_padding_top + 'rem',
1115
- paddingBottom: sectionproperties.reservation_padding_bottom + 'rem',
1116
- }}
1117
- >
1118
- <div class="col-lg-12 p-0 mb-4 allcentered flex-column">
1119
- <p
1120
- class="m-0 p-0 "
1121
- style={{
1122
- color: sectionproperties.pricelisttitlecolor,
1123
- fontSize: sectionproperties.pricelisttitlefontSize + 'px',
1124
- fontWeight: sectionproperties.pricelisttitlefontWeight,
1125
- }}
1126
- >
1127
- {langdetect == 'en' ? sectionproperties.pricelisttitle_en : sectionproperties.pricelisttitle_ar}
1128
- </p>
1129
- <div
1130
- style={{
1131
- width: '30%',
1132
- height: 1,
1133
- background: sectionproperties.pricelisttitlecolor,
1134
- }}
1135
- />
1136
- </div>
1137
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.productquantityoptions?.map((item, index) => {
1138
- return (
1139
- <div
1140
- className="col-lg-12 p-0 w-100 d-flex align-items-center"
1141
- style={{
1142
- marginBottom: fetchProductInfoQueryContext?.data?.data?.productinfo?.productquantityoptions?.length - 1 != index ? '1rem' : 0,
1143
- }}
1144
- >
1145
- <div
1146
- class="d-flex align-items-center"
1147
- style={{
1148
- color: sectionproperties.pricelistlabelcolor,
1149
- fontSize: sectionproperties.pricelistlabelfontsize + 'px',
1150
- fontWeight: sectionproperties.pricelistlabelfontweight,
1151
- }}
1152
- >
1153
- <p
1154
- class="m-0 pb-0"
1155
- style={{
1156
- paddingRight: langdetect == 'en' ? '0.5rem' : 0,
1157
- paddingLeft: langdetect == 'ar' ? '0.5rem' : 0,
1158
- }}
1159
- >
1160
- {langdetect == 'en' ? 'From' : 'من'}: {item.fromq} - {item.toq}
1161
- </p>
1162
- </div>
1163
- <div class="" style={{ flex: 1, borderTop: '5px dotted #ccc' }} />
1164
- <p
1165
- class="m-0 pb-0"
1166
- style={{
1167
- paddingLeft: langdetect == 'en' ? '0.5rem' : 0,
1168
- paddingRight: langdetect == 'ar' ? '0.5rem' : 0,
1169
- color: item.type == 'add' ? sectionproperties.valueaddcolor : sectionproperties.valueminuscolor,
1170
- fontSize: sectionproperties.pricelistvaluefontsize + 'px',
1171
- fontWeight: sectionproperties.pricelistvaluefontweight,
1172
- }}
1173
- >
1174
- {item.type == 'subtract' ? '-' : '+'} {item.value}%
1175
- </p>
1176
- </div>
1177
- );
1178
- })}
1179
- </div>
1180
- </div>
1181
- );
1182
- };
1183
- const StoreInfo = () => {
1184
- return (
1185
- <div class="row m-0 w-100">
1186
- <div class="col-lg-12 p-0">
1187
- {sectionproperties.storeinfostyle == 'Style 1' && (
1188
- <div class="row m-0 w-100">
1189
- {sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showstoreinfo1 == 'Show' && (
1190
- <div className={productinfo_cssstyles.storeinfobtn + ' col-lg-12 p-0 w-100 d-flex align-items-center mb-4 '}>
1191
- <div class={productinfo_cssstyles.iconContainer}>
1192
- <i className="h-100 d-flex align-items-center justify-content-center">
1193
- <FaShippingFast size={20} />
1194
- </i>
1195
- </div>
1196
- <div className="col-lg-9 col-md-9 col-sm-9 d-flex justofy-content-start flex-column">
1197
- <p
1198
- className={productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak '}
1199
- style={{
1200
- textAlign: langdetect == 'en' ? 'left' : 'right',
1201
- }}
1202
- >
1203
- {langdetect == 'en' ? sectionproperties.otherinfotitle1en : sectionproperties.otherinfotitle1ar}
1204
- </p>
1205
- <p
1206
- className={productinfo_cssstyles.storeInfoContent + ' m-0 p-0 wordbreak '}
1207
- style={{
1208
- textAlign: langdetect == 'en' ? 'left' : 'right',
1209
- }}
1210
- >
1211
- {langdetect == 'en' ? sectionproperties.otherinfodesc1en : sectionproperties.otherinfodesc1ar}
1212
- </p>
1213
- </div>
1214
- </div>
1215
- )}
1216
- {sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showstoreinfo2 == 'Show' && (
1217
- <div className={productinfo_cssstyles.storeinfobtn + ' col-lg-12 p-0 d-flex align-items-center mb-4 '}>
1218
- <div class={productinfo_cssstyles.iconContainer}>
1219
- <i className="h-100 d-flex align-items-center justify-content-center">
1220
- <RiSecurePaymentLine size={20} />
1221
- </i>
1222
- </div>
1223
- <div className="col-lg-9 col-md-9 col-sm-9 d-flex justofy-content-start flex-column">
1224
- <p
1225
- className={productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak '}
1226
- style={{
1227
- textAlign: langdetect == 'en' ? 'left' : 'right',
1228
- }}
1229
- >
1230
- {langdetect == 'en' ? sectionproperties.otherinfotitle2en : sectionproperties.otherinfotitle2ar}
1231
- </p>
1232
- <p
1233
- className={productinfo_cssstyles.storeInfoContent + ' m-0 p-0 wordbreak '}
1234
- style={{
1235
- textAlign: langdetect == 'en' ? 'left' : 'right',
1236
- }}
1237
- >
1238
- {langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar}
1239
- </p>
1240
- </div>
1241
- </div>
1242
- )}
1243
- {sectionproperties.productInformationType == 'Product/Service Information' &&
1244
- sectionproperties.showpricinglist == 'Show' &&
1245
- fetchProductInfoQueryContext?.data?.data?.productinfo?.productquantityoptions?.length != 0 && <div class="col-lg-12 p-0 mb-4">{getQuantityCondition()}</div>}
1246
- {sectionproperties.showfooterphonenumber == 'Show' && (
1247
- <div
1248
- className={`${productinfo_cssstyles.storeinfobtn} ${productinfo_cssstyles.storeinfocontainer}` + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer '}
1249
- onClick={() => {
1250
- window.open('tel:' + authdetailsContext?.CuContactphonenumber, '_blank');
1251
- }}
1252
- >
1253
- <div class={productinfo_cssstyles.iconContainer + ' iconContainer '}>
1254
- <i className="h-100 d-flex align-items-center justify-content-center">
1255
- <HiOutlinePhone size={20} />
1256
- </i>
1257
- </div>
1258
- <div className="col-lg-9 col-md-9 col-sm-9 d-flex justofy-content-start flex-column">
1259
- <p
1260
- className={productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak '}
1261
- style={{
1262
- textAlign: langdetect == 'en' ? 'left' : 'right',
1263
- }}
1264
- >
1265
- {langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar}
1266
- </p>
1267
- <p
1268
- className={productinfo_cssstyles.storeInfoContent + ' storeInfoContent m-0 p-0 wordbreak '}
1269
- style={{
1270
- textAlign: langdetect == 'en' ? 'left' : 'right',
1271
- }}
1272
- >
1273
- {authdetailsContext?.CuContactphonenumber}
1274
- </p>
1275
- </div>
1276
- </div>
1277
- )}
1278
- {sectionproperties.showfooteremail == 'Show' && (
1279
- <div
1280
- className={`${productinfo_cssstyles.storeinfobtn} ${productinfo_cssstyles.storeinfocontainer}` + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer '}
1281
- onClick={() => {
1282
- window.open('mailto:' + authdetailsContext?.instinfo?.contactinfo?.email, '_self');
1283
- }}
1284
- >
1285
- <div class={productinfo_cssstyles.iconContainer + ' iconContainer '}>
1286
- <i className="h-100 d-flex align-items-center justify-content-center">
1287
- <AiOutlineMail size={20} />
1288
- </i>
1289
- </div>
1290
- <div className="col-lg-9 col-md-9 col-sm-9 d-flex justofy-content-start flex-column">
1291
- <p
1292
- className={productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak '}
1293
- style={{
1294
- textAlign: langdetect == 'en' ? 'left' : 'right',
1295
- }}
1296
- >
1297
- {langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar}
1298
- </p>
1299
- <p
1300
- className={productinfo_cssstyles.storeInfoContent + ' storeInfoContent m-0 p-0 wordbreak '}
1301
- style={{
1302
- textAlign: langdetect == 'en' ? 'left' : 'right',
1303
- }}
1304
- >
1305
- {authdetailsContext?.instinfo?.contactinfo?.email}
1306
- </p>
1307
- </div>
1308
- </div>
1309
- )}
1310
- </div>
1311
- )}
1312
- {sectionproperties.storeinfostyle == 'Style 2' && (
1313
- <div class="row m-0 w-100">
1314
- {sectionproperties.showfooterphonenumber == 'Show' && authdetailsContext?.CuContactphonenumber != null && (
1315
- <div class="col-lg-12 allcentered mb-2 p-sm-0">
1316
- <button
1317
- class={productinfo_cssstyles.storeinfobtn + ' allcentered '}
1318
- onClick={() => {
1319
- window.open('tel:' + authdetailsContext?.CuContactphonenumber, '_blank');
1320
- }}
1321
- >
1322
- <p class="m-0 p-0">{langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar}</p>
1323
- </button>
1324
- </div>
1325
- )}
1326
- {sectionproperties.showfooteremail == 'Show' && authdetailsContext?.instinfo?.contactinfo?.email != null && (
1327
- <div class="col-lg-12 allcentered mb-2 p-sm-0">
1328
- <button
1329
- class={productinfo_cssstyles.storeinfobtn + ' allcentered '}
1330
- onClick={() => {
1331
- window.open('mailto:' + authdetailsContext?.instinfo?.contactinfo?.email, '_self');
1332
- }}
1333
- >
1334
- <p class="m-0 p-0">{langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar}</p>
1335
- </button>
1336
- </div>
1337
- )}
1338
- {sectionproperties.showwhatsapp == 'Show' && authdetailsContext?.instinfo?.whatsappnumber != null && (
1339
- <div class="col-lg-12 allcentered mb-2 p-sm-0">
1340
- <button
1341
- class={productinfo_cssstyles.storeinfobtn + ' allcentered '}
1342
- onClick={() => {
1343
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
1344
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
1345
- }
1346
- }}
1347
- >
1348
- <p class="m-0 p-0">{langdetect == 'en' ? sectionproperties.whatsapptitle_en : sectionproperties.whatsapptitle_ar}</p>
1349
- </button>
1350
- </div>
1351
- )}
1352
- </div>
1353
- )}
1354
- </div>
1355
- </div>
1356
- );
1357
- };
1358
- return (
1359
- <div className={productinfo_cssstyles.containerstyles + ' row w-100 ml-0 mr-0 '}>
1360
- {fetchProductInfoQueryContext.isFetching && (
1361
- <div className={'row ml-0 mr-0 w-100 allcentered'} style={{ height: 200 }}>
1362
- <Messaging color="#ccc" width="10px" height="10px" duration="1s" />
1363
- </div>
1364
- )}
1365
- {Object.keys(sectionproperties).length != 0 && (
1366
- <div className="col-lg-12 p-0">
1367
- {!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && fetchProductInfoQueryContext.data.data.productinfo != null && (
1368
- <div
1369
- className={sectionproperties.card_marginLeft != 0 ? ' row m-0 w-100 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' row m-0 w-100 p-sm-0 '}
1370
- style={{
1371
- paddingLeft: props.srcfromprops == 'Productinfomodel' ? (langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px') : 0,
1372
- paddingRight:
1373
- props.srcfromprops == 'Productinfomodel' ? (langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px') : 0,
1374
- }}
1375
- >
1376
- {fetchProductInfoQueryContext.data.data.productinfo.item_type == 'product' && (
1377
- <Product_itemtype
1378
- actions={{
1379
- returnpolicyobj: returnpolicyobj,
1380
- langdetect: langdetect,
1381
- lang: lang,
1382
- srcfromprops: props.srcfromprops,
1383
- returnpolicyobj: returnpolicyobj,
1384
- productinfo_cssstyles: productinfo_cssstyles,
1385
- addtocartfunc: addtocartfunc,
1386
- selectproductoptionvalue: selectproductoptionvalue,
1387
- clearchoosenvaluesbutkeepcurrentvalue: clearchoosenvaluesbutkeepcurrentvalue,
1388
- productimagesarray: productimagesarray,
1389
- fetchProductInfoQueryContext: fetchProductInfoQueryContext,
1390
- ProductInfoObj: ProductInfoObj,
1391
- sectionproperties: sectionproperties,
1392
- addtocardpayloadobj: addtocardpayloadobj,
1393
- setaddtocardpayloadobj: setaddtocardpayloadobj,
1394
- routingcountext: routingcountext,
1395
- AddtoCartMutationContext: AddtoCartMutationContext,
1396
- authdetailsContext: authdetailsContext,
1397
- addtofavoritescontext: addtofavoritescontext,
1398
- variantindexcompleted: variantindexcompleted,
1399
- StaticPagesLinksContext: StaticPagesLinksContext,
1400
- NotificationManager: NotificationManager,
1401
- GeneralAPIMutationContext: GeneralAPIMutationContext,
1402
- quantityconditionfoundobjprops: quantityconditionfoundobj,
1403
- relatedproducts: relatedproducts,
1404
- getprice_discountpriceprops: getprice_discountpriceprops,
1405
- StoreInfoprops: StoreInfo,
1406
- currentshowingimageindex: currentshowingimageindex,
1407
- setcurrentshowingimageindex: setcurrentshowingimageindex,
1408
- templatepropcontext: templatepropcontext,
1409
- ikimagecredcontext: ikimagecredcontext,
1410
- variantindex: variantindex,
1411
- setvariantindex: setvariantindex,
1412
- }}
1413
- />
1414
- )}
1415
- {fetchProductInfoQueryContext.data.data.productinfo.item_type == 'service' && (
1416
- <Service_itemtype
1417
- actions={{
1418
- returnpolicyobj: returnpolicyobj,
1419
- langdetect: langdetect,
1420
- lang: lang,
1421
- srcfromprops: props.srcfromprops,
1422
- returnpolicyobj: returnpolicyobj,
1423
- productinfo_cssstyles: productinfo_cssstyles,
1424
- addtocartfunc: addtocartfunc,
1425
- selectproductoptionvalue: selectproductoptionvalue,
1426
- clearchoosenvaluesbutkeepcurrentvalue: clearchoosenvaluesbutkeepcurrentvalue,
1427
- productimagesarray: productimagesarray,
1428
- fetchProductInfoQueryContext: fetchProductInfoQueryContext,
1429
- sectionproperties: sectionproperties,
1430
- addtocardpayloadobj: addtocardpayloadobj,
1431
- ProductInfoObj: ProductInfoObj,
1432
- setaddtocardpayloadobj: setaddtocardpayloadobj,
1433
- routingcountext: routingcountext,
1434
- AddtoCartMutationContext: AddtoCartMutationContext,
1435
- authdetailsContext: authdetailsContext,
1436
- addtofavoritescontext: addtofavoritescontext,
1437
- StaticPagesLinksContext: StaticPagesLinksContext,
1438
- variantindexcompleted: variantindexcompleted,
1439
- GeneralAPIMutationContext: GeneralAPIMutationContext,
1440
- NotificationManager: NotificationManager,
1441
- getprice_discountpriceprops: getprice_discountpriceprops,
1442
- quantityconditionfoundobjprops: quantityconditionfoundobj,
1443
- relatedproducts: relatedproducts,
1444
- getQuantityCondition: getQuantityCondition,
1445
- StoreInfoprops: StoreInfo,
1446
- templatepropcontext: templatepropcontext,
1447
- ikimagecredcontext: ikimagecredcontext,
1448
- }}
1449
- />
1450
- )}
1451
- {props.srcfromprops != 'templatedraftrouter' && (
1452
- <div
1453
- className={sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 '}
1454
- style={{
1455
- paddingLeft:
1456
- props.srcfromprops == 'Productinfomodel' ? (langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px') : 0,
1457
- paddingRight:
1458
- props.srcfromprops == 'Productinfomodel' ? (langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px') : 0,
1459
- display:
1460
- sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.gallerystyle == 'Style 2'
1461
- ? 'none'
1462
- : 'flex',
1463
- }}
1464
- >
1465
- <div
1466
- class={`${productinfo_cssstyles.cardcontainer}` + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 '}
1467
- style={{
1468
- paddingLeft: sectionproperties.tabspaddinghorizontal + 'px',
1469
- paddingRight: sectionproperties.tabspaddinghorizontal + 'px',
1470
- marginBottom: sectionproperties.tabsmb + 'px',
1471
- paddingTop: sectionproperties.tabsPt + 'px',
1472
- paddingBottom: sectionproperties.tabsPb + 'px',
1473
- }}
1474
- >
1475
- {sectionproperties.tabsfullwidth == 'Full Width' && (
1476
- <Box>
1477
- <Tabs
1478
- value={tabIndex}
1479
- onChange={handleTabChange}
1480
- scrollButtons="auto"
1481
- TabIndicatorProps={{
1482
- style: {
1483
- background: sectionproperties.activetabbordercolor,
1484
- // right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
1485
- // margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
1486
- },
1487
- }}
1488
- sx={{
1489
- '& button': {
1490
- color: sectionproperties.tabtextcolor,
1491
- fontWeight: sectionproperties.tabtextfontweight,
1492
- background: sectionproperties.tabcontainerbgcolor,
1493
- textTransform: sectionproperties.tabtexttexttransform,
1494
- borderRadius: sectionproperties.tabcontainerborderradius + 'px',
1495
- fontFamily: 'Poppins',
1496
- transition: '.3s',
1497
- fontSize: sectionproperties.tabtextfontsize + 'px',
1498
- },
1499
- '& button:hover': {
1500
- color: sectionproperties.tabscoloronhover,
1501
- fontFamily: 'Poppins',
1502
- transition: '.3s',
1503
- },
1504
- '& button.Mui-selected': {
1505
- color: sectionproperties.tabtextactivecolor,
1506
- background: sectionproperties.activetabbgcolor,
1507
- fontFamily: 'Poppins',
1508
- transition: '.3s',
1509
- },
1510
- }}
1511
- variant={'fullWidth'}
1512
- // tabsfullwidth
1513
- >
1514
- {sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition == 'Bottom' && (
1515
- <Tab
1516
- label={langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr}
1517
- onClick={() => {
1518
- settabname('descriptiontab');
1519
- }}
1520
- />
1521
- )}
1522
- {sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showfirstpolicy == 'Show' && (
1523
- <Tab
1524
- label={langdetect == 'en' ? returnpolicyobj('Shipping Policy')?.policypagename_en : returnpolicyobj('Shipping Policy')?.policypagename_ar}
1525
- onClick={() => {
1526
- settabname('shippingpolicytab');
1527
- }}
1528
- />
1529
- )}
1530
- {sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showsecondpolicy == 'Show' && (
1531
- <Tab
1532
- label={langdetect == 'en' ? returnpolicyobj('Refund Policy')?.policypagename_en : returnpolicyobj('Refund Policy')?.policypagename_ar}
1533
- onClick={() => {
1534
- settabname('refundpolicytab');
1535
- }}
1536
- />
1537
- )}
1538
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.product_videos?.length != 0 && (
1539
- <Tab
1540
- label={langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear}
1541
- onClick={() => {
1542
- settabname('videostab');
1543
- }}
1544
- />
1545
- )}
1546
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.productcanrate == 1 && (
1547
- <Tab
1548
- label={langdetect == 'en' ? 'Reviews' : 'التقييمات'}
1549
- onClick={() => {
1550
- settabname('reviewstab');
1551
- }}
1552
- />
1553
- )}
1554
- </Tabs>
1555
- </Box>
1556
- )}
1557
- {sectionproperties.tabsfullwidth != 'Full Width' && (
1558
- <Box>
1559
- <Tabs
1560
- value={tabIndex}
1561
- onChange={handleTabChange}
1562
- scrollButtons="auto"
1563
- TabIndicatorProps={{
1564
- style: {
1565
- background: sectionproperties.activetabbordercolor,
1566
- // right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
1567
- // margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
1568
- },
1569
- }}
1570
- sx={{
1571
- '& button': {
1572
- color: sectionproperties.tabtextcolor,
1573
- fontWeight: sectionproperties.tabtextfontweight,
1574
- background: sectionproperties.tabcontainerbgcolor,
1575
- textTransform: sectionproperties.tabtexttexttransform,
1576
- borderRadius: sectionproperties.tabcontainerborderradius + 'px',
1577
- fontFamily: 'Poppins',
1578
- transition: '.3s',
1579
- fontSize: sectionproperties.tabtextfontsize + 'px',
1580
- },
1581
- '& button:hover': {
1582
- color: sectionproperties.tabscoloronhover,
1583
- fontFamily: 'Poppins',
1584
- transition: '.3s',
1585
- },
1586
- '& button.Mui-selected': {
1587
- color: sectionproperties.tabtextactivecolor,
1588
- background: sectionproperties.activetabbgcolor,
1589
- fontFamily: 'Poppins',
1590
- transition: '.3s',
1591
- },
1592
- }}
1593
- >
1594
- {sectionproperties.prodCatShow == 'Show' && sectionproperties.gallerystyle == 'Style 1' && (
1595
- <Tab
1596
- label={langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr}
1597
- onClick={() => {
1598
- settabname('descriptiontab');
1599
- }}
1600
- />
1601
- )}
1602
- {sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showfirstpolicy == 'Show' && (
1603
- <Tab
1604
- label={langdetect == 'en' ? returnpolicyobj('Shipping Policy')?.policypagename_en : returnpolicyobj('Shipping Policy')?.policypagename_ar}
1605
- onClick={() => {
1606
- settabname('shippingpolicytab');
1607
- }}
1608
- />
1609
- )}
1610
- {sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showsecondpolicy == 'Show' && (
1611
- <Tab
1612
- label={langdetect == 'en' ? returnpolicyobj('Refund Policy')?.policypagename_en : returnpolicyobj('Refund Policy')?.policypagename_ar}
1613
- onClick={() => {
1614
- settabname('refundpolicytab');
1615
- }}
1616
- />
1617
- )}
1618
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.product_videos?.length != 0 && (
1619
- <Tab
1620
- label={langdetect == 'en' ? 'Videos' : 'فيديوهات'}
1621
- onClick={() => {
1622
- settabname('videostab');
1623
- }}
1624
- />
1625
- )}
1626
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.productcanrate == 1 && (
1627
- <Tab
1628
- label={langdetect == 'en' ? 'Reviews' : 'التقييمات'}
1629
- onClick={() => {
1630
- settabname('reviewstab');
1631
- }}
1632
- />
1633
- )}
1634
- </Tabs>
1635
- </Box>
1636
- )}
1637
- <Box class="w-100 mt-5 mb-4">
1638
- {tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && (
1639
- <DescriptionContent
1640
- actions={{
1641
- ...actions,
1642
- productinfo_cssstyles: productinfo_cssstyles,
1643
- sectionproperties: sectionproperties,
1644
- }}
1645
- />
1646
- )}
1647
- {tabname == 'shippingpolicytab' && (
1648
- <div class="col-lg-12 pl-5 pr-5 p-md-0 w-100">
1649
- <p
1650
- className={' m-0 p-0 wordbreak '}
1651
- style={{
1652
- // lineClamp: 10,
1653
- // WebkitLineClamp: 10,
1654
- textAlign: langdetect == 'en' ? 'left' : 'right',
1655
- }}
1656
- dangerouslySetInnerHTML={{
1657
- __html: langdetect == 'en' ? returnpolicyobj('Shipping Policy')?.policycontent_en : returnpolicyobj('Shipping Policy')?.policycontent_ar,
1658
- }}
1659
- ></p>
1660
- </div>
1661
- )}
1662
- {tabname == 'refundpolicytab' && (
1663
- <div class="col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0">
1664
- <p
1665
- className={' m-0 p-0 wordbreak '}
1666
- style={{
1667
- // lineClamp: 10,
1668
- // WebkitLineClamp: 10,
1669
- textAlign: langdetect == 'en' ? 'left' : 'right',
1670
- }}
1671
- dangerouslySetInnerHTML={{
1672
- __html: langdetect == 'en' ? returnpolicyobj('Refund Policy')?.policycontent_en : returnpolicyobj('Refund Policy')?.policycontent_ar,
1673
- }}
1674
- ></p>
1675
- </div>
1676
- )}
1677
- {tabname == 'videostab' && (
1678
- <div class="row m-0 w-100 w-100 pl-5 pr-5 p-md-0">
1679
- {productVideos.map((item, index) => {
1680
- return (
1681
- <div
1682
- className="col-lg-4 col-md-6 col-sm-12 mb-4"
1683
- style={{
1684
- height: 400,
1685
- }}
1686
- >
1687
- <ReactPlayer url={item.videourl} height={'100%'} width={'100%'} playing={false} controls={true} loop={true} muted={true} />
1688
- </div>
1689
- );
1690
- })}
1691
- </div>
1692
- )}
1693
- {tabname == 'reviewstab' && (
1694
- <div class="col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0">
1695
- <ProductReviews
1696
- actions={{
1697
- ...actions,
1698
- productinfo_cssstyles: productinfo_cssstyles,
1699
- sectionproperties: sectionproperties,
1700
- }}
1701
- />
1702
- </div>
1703
- )}
1704
- </Box>
1705
- </div>
1706
- </div>
1707
- )}
1708
-
1709
- {props.srcfromprops != 'templatedraftrouter' && (
1710
- <div
1711
- className={sectionproperties.card_marginLeft != 0 ? ' col-lg-12 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 '}
1712
- style={{
1713
- paddingLeft:
1714
- props.srcfromprops == 'Productinfomodel' ? (langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px') : 0,
1715
- paddingRight:
1716
- props.srcfromprops == 'Productinfomodel' ? (langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px') : 0,
1717
- }}
1718
- >
1719
- {relatedproducts()}
1720
- </div>
1721
- )}
1722
- </div>
1723
- )}
1724
- </div>
1725
- )}
1726
- </div>
1727
- );
1728
- };
1729
- export default Productinfo;