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