tabexseriescomponents 0.0.655 → 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 (314) hide show
  1. package/dist/index.cjs.js +145 -566
  2. package/dist/index.esm.js +145 -566
  3. package/dist/index.umd.js +145 -566
  4. package/package.json +1 -1
  5. package/src 2.zip +0 -0
  6. package/src1-5.zip +0 -0
  7. package/src22-1/Contexts/LanguageContext.jsx +0 -405
  8. package/src22-1/Contexts/ProductsCardsSectionContext.jsx +0 -36
  9. package/src22-1/Imagekitconfig.jsx +0 -46
  10. package/src22-1/StylesJS/Customstyles.js +0 -344
  11. package/src22-1/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -376
  12. package/src22-1/TabexComponents/Cards/Card20/Card20.jsx +0 -282
  13. package/src22-1/TabexComponents/Cards/Card21/Card21.jsx +0 -388
  14. package/src22-1/TabexComponents/Cards/Card22/Card22.jsx +0 -288
  15. package/src22-1/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -1630
  16. package/src22-1/TabexComponents/Cards/Card23/Card23.jsx +0 -627
  17. package/src22-1/TabexComponents/Cards/CardAll/CardAll.jsx +0 -453
  18. package/src22-1/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -394
  19. package/src22-1/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -70
  20. package/src22-1/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -211
  21. package/src22-1/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -246
  22. package/src22-1/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -235
  23. package/src22-1/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -199
  24. package/src22-1/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -182
  25. package/src22-1/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -181
  26. package/src22-1/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -161
  27. package/src22-1/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -180
  28. package/src22-1/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -546
  29. package/src22-1/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -142
  30. package/src22-1/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -193
  31. package/src22-1/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -379
  32. package/src22-1/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -543
  33. package/src22-1/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -468
  34. package/src22-1/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -593
  35. package/src22-1/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -208
  36. package/src22-1/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -497
  37. package/src22-1/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -519
  38. package/src22-1/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -304
  39. package/src22-1/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -257
  40. package/src22-1/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -277
  41. package/src22-1/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -352
  42. package/src22-1/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -291
  43. package/src22-1/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
  44. package/src22-1/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -327
  45. package/src22-1/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -408
  46. package/src22-1/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -528
  47. package/src22-1/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -558
  48. package/src22-1/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -275
  49. package/src22-1/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
  50. package/src22-1/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -137
  51. package/src22-1/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -598
  52. package/src22-1/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -390
  53. package/src22-1/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -225
  54. package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -525
  55. package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -455
  56. package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -493
  57. package/src22-1/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -337
  58. package/src22-1/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -347
  59. package/src22-1/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -596
  60. package/src22-1/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -185
  61. package/src22-1/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -528
  62. package/src22-1/TabexComponents/Footer/Footer1/Footer1.jsx +0 -551
  63. package/src22-1/TabexComponents/Footer/Footer2/Footer2.jsx +0 -415
  64. package/src22-1/TabexComponents/Footer/Footer3/Footer3.jsx +0 -400
  65. package/src22-1/TabexComponents/Footer/Footer4/Footer4.jsx +0 -457
  66. package/src22-1/TabexComponents/Footer/Footer5/Footer5.jsx +0 -563
  67. package/src22-1/TabexComponents/Footer/Footer6/Footer6.jsx +0 -290
  68. package/src22-1/TabexComponents/Footer/Footer7/Footer7.jsx +0 -428
  69. package/src22-1/TabexComponents/Footer/Footer8/Footer8.jsx +0 -473
  70. package/src22-1/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -330
  71. package/src22-1/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +0 -562
  72. package/src22-1/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +0 -584
  73. package/src22-1/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +0 -110
  74. package/src22-1/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -316
  75. package/src22-1/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  76. package/src22-1/TabexComponents/Generalfiles/images/noimage.png +0 -0
  77. package/src22-1/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  78. package/src22-1/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  79. package/src22-1/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  80. package/src22-1/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  81. package/src22-1/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  82. package/src22-1/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  83. package/src22-1/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  84. package/src22-1/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  85. package/src22-1/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  86. package/src22-1/TabexComponents/Generalfiles/images/usflag.png +0 -0
  87. package/src22-1/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  88. package/src22-1/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -1244
  89. package/src22-1/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -1049
  90. package/src22-1/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -895
  91. package/src22-1/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -1213
  92. package/src22-1/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -76
  93. package/src22-1/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -780
  94. package/src22-1/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -771
  95. package/src22-1/TabexComponents/Headers/Header4/Header4.jsx +0 -622
  96. package/src22-1/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -1026
  97. package/src22-1/TabexComponents/Headers/Header8/Header8.jsx +0 -1923
  98. package/src22-1/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -728
  99. package/src22-1/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -918
  100. package/src22-1/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -707
  101. package/src22-1/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -902
  102. package/src22-1/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -847
  103. package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -1371
  104. package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -1201
  105. package/src22-1/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -990
  106. package/src22-1/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +0 -779
  107. package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -1327
  108. package/src22-1/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -934
  109. package/src22-1/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -64
  110. package/src22-1/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -732
  111. package/src22-1/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -778
  112. package/src22-1/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -1162
  113. package/src22-1/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +0 -835
  114. package/src22-1/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +0 -128
  115. package/src22-1/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -854
  116. package/src22-1/TabexComponents/Headers/Subheader/Subheader.jsx +0 -662
  117. package/src22-1/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -517
  118. package/src22-1/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -555
  119. package/src22-1/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -1045
  120. package/src22-1/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -1089
  121. package/src22-1/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +0 -936
  122. package/src22-1/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -533
  123. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -338
  124. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -802
  125. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -302
  126. package/src22-1/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -314
  127. package/src22-1/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -274
  128. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -179
  129. package/src22-1/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -201
  130. package/src22-1/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -392
  131. package/src22-1/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +0 -291
  132. package/src22-1/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -387
  133. package/src22-1/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -266
  134. package/src22-1/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -146
  135. package/src22-1/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -414
  136. package/src22-1/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -296
  137. package/src22-1/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -396
  138. package/src22-1/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -421
  139. package/src22-1/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -364
  140. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -1399
  141. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -1656
  142. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -1540
  143. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -1532
  144. package/src22-1/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -480
  145. package/src22-1/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -719
  146. package/src22-1/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -406
  147. package/src22-1/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -682
  148. package/src22-1/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -635
  149. package/src22-1/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -920
  150. package/src22-1/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -517
  151. package/src22-1/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -383
  152. package/src22-1/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -325
  153. package/src22-1/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -161
  154. package/src22-1/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -257
  155. package/src22-1/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -382
  156. package/src22-1/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -757
  157. package/src22-1/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -346
  158. package/src22-1/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -633
  159. package/src22-1/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -141
  160. package/src22-1/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -376
  161. package/src22-1/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -380
  162. package/src22-1/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -400
  163. package/src22-1/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -226
  164. package/src22-1/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -149
  165. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -143
  166. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -634
  167. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -331
  168. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -527
  169. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -603
  170. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -477
  171. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -1217
  172. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -91
  173. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -380
  174. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -547
  175. package/src22-1/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -284
  176. package/src22-1/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -612
  177. package/src22-1/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -396
  178. package/src22-1/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -199
  179. package/src22-1/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -304
  180. package/src22-1/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -321
  181. package/src22-1/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -780
  182. package/src22-1/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -460
  183. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -1306
  184. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -1673
  185. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -1633
  186. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -1593
  187. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -1574
  188. package/src22-1/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -439
  189. package/src22-1/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -2888
  190. package/src22-1/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -1450
  191. package/src22-1/TabexComponents/StaticPages/Filter/Filter.jsx +0 -1845
  192. package/src22-1/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -1495
  193. package/src22-1/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -62
  194. package/src22-1/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -50
  195. package/src22-1/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
  196. package/src22-1/TabexComponents/StaticPages/Login/Login copy.jsx +0 -1060
  197. package/src22-1/TabexComponents/StaticPages/Login/Login.jsx +0 -610
  198. package/src22-1/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -146
  199. package/src22-1/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1568
  200. package/src22-1/TabexComponents/StaticPages/Policies/Policies.jsx +0 -291
  201. package/src22-1/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -113
  202. package/src22-1/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -183
  203. package/src22-1/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -128
  204. package/src22-1/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -130
  205. package/src22-1/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -225
  206. package/src22-1/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -310
  207. package/src22-1/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -235
  208. package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +0 -1270
  209. package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -1554
  210. package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -1566
  211. package/src22-1/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -1729
  212. package/src22-1/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -552
  213. package/src22-1/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -754
  214. package/src22-1/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -491
  215. package/src22-1/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -324
  216. package/src22-1/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -145
  217. package/src22-1/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -113
  218. package/src22-1/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -338
  219. package/src22-1/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -358
  220. package/src22-1/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -113
  221. package/src22-1/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -277
  222. package/src22-1/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -1135
  223. package/src22-1/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -1344
  224. package/src22-1/TabexComponents/StaticPages/Signup/Signup.jsx +0 -199
  225. package/src22-1/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -290
  226. package/src22-1/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -113
  227. package/src22-1/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -162
  228. package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -765
  229. package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -786
  230. package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -786
  231. package/src22-1/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -786
  232. package/src22-1/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -1425
  233. package/src22-1/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -555
  234. package/src22-1/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -555
  235. package/src22-1/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -555
  236. package/src22-1/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -815
  237. package/src22-1/button.jsx +0 -40
  238. package/src22-1/index.jsx +0 -327
  239. package/src22-1/styles/Home.module.css +0 -129
  240. package/src22-1/styles/cards/Categorcycard_fullimage.module.css +0 -14
  241. package/src22-1/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
  242. package/src22-1/styles/cards/Categorycard_withshapes.module.css +0 -189
  243. package/src22-1/styles/cards/ModernCardWithQuantityButton.module.css +0 -30
  244. package/src22-1/styles/cards/Productcard6.module.css +0 -9
  245. package/src22-1/styles/cards/Productccard_with_zoominonhover.module.css +0 -51
  246. package/src22-1/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
  247. package/src22-1/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -65
  248. package/src22-1/styles/cards/card23.module.css +0 -60
  249. package/src22-1/styles/cards/categorycard.module.css +0 -84
  250. package/src22-1/styles/cards/categorycard3.module.css +0 -50
  251. package/src22-1/styles/cards/categorycardwithtext.module.css +0 -40
  252. package/src22-1/styles/cards/generalCardsStyles.module.css +0 -79
  253. package/src22-1/styles/cards/productcard_animatedbuttons.module.css +0 -139
  254. package/src22-1/styles/cards/productcard_with_textonhover.module.css +0 -18
  255. package/src22-1/styles/cards/productcard_withtextonimage.module.css +0 -0
  256. package/src22-1/styles/cards/productccard_with_imageontopleft.module.css +0 -85
  257. package/src22-1/styles/general/bootstrap.css +0 -4763
  258. package/src22-1/styles/general/dropdown.css +0 -206
  259. package/src22-1/styles/general/editorbardropdown.module.css +0 -94
  260. package/src22-1/styles/general/filter.module.css +0 -108
  261. package/src22-1/styles/general/form.module.css +0 -255
  262. package/src22-1/styles/general/general.module.css +0 -872
  263. package/src22-1/styles/general/image-gallery.css +0 -531
  264. package/src22-1/styles/general/react-accessible-accordion.module.css +0 -52
  265. package/src22-1/styles/general/react-phone-input-2.module.css +0 -927
  266. package/src22-1/styles/general/scrollbtn.module.css +0 -22
  267. package/src22-1/styles/general/slick.module.css +0 -166
  268. package/src22-1/styles/general/tabs.module.css +0 -119
  269. package/src22-1/styles/general/workplaceeditor.module.css +0 -328
  270. package/src22-1/styles/globals.css +0 -26
  271. package/src22-1/styles/headers/CTAHeader.module.css +0 -40
  272. package/src22-1/styles/headers/CategoryFeaturingHeader.module.css +0 -61
  273. package/src22-1/styles/headers/Gotoheader.module.css +0 -81
  274. package/src22-1/styles/headers/Header7.module.css +0 -50
  275. package/src22-1/styles/headers/HeaderWithAdSlider.module.css +0 -86
  276. package/src22-1/styles/headers/HeaderWithSearchOnCenter.module.css +0 -101
  277. package/src22-1/styles/headers/HeaderWithUtilityBar.module.css +0 -46
  278. package/src22-1/styles/headers/Header_threesectionslogocentered.module.css +0 -84
  279. package/src22-1/styles/headers/NewHeader.module.css +0 -101
  280. package/src22-1/styles/headers/SearchFocusedHeader.module.css +0 -62
  281. package/src22-1/styles/headers/Sideheader.module.css +0 -108
  282. package/src22-1/styles/headers/Simpleheader.module.css +0 -102
  283. package/src22-1/styles/headers/classicheader.module.css +0 -16
  284. package/src22-1/styles/headers/classicheaderstyles.module.css +0 -9
  285. package/src22-1/styles/headers/dropdown.css +0 -0
  286. package/src22-1/styles/headers/header4.module.css +0 -175
  287. package/src22-1/styles/headers/header5.module.css +0 -30
  288. package/src22-1/styles/headers/header_contactinfo.module.css +0 -53
  289. package/src22-1/styles/headers/headerresturant.module.css +0 -89
  290. package/src22-1/styles/headers/modernheader.module.css +0 -45
  291. package/src22-1/styles/headers/stylishheader.module.css +0 -24
  292. package/src22-1/styles/headers/subheader.module.css +0 -114
  293. package/src22-1/styles/headers/threetieredheader.module.css +0 -91
  294. package/src22-1/styles/sections/BackgroundImageWithTopContent.css +0 -4
  295. package/src22-1/styles/sections/Backgroundimage1.module.css +0 -17
  296. package/src22-1/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
  297. package/src22-1/styles/sections/Freetext.module.css +0 -18
  298. package/src22-1/styles/sections/Section_with_rightbgcont.module.css +0 -49
  299. package/src22-1/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
  300. package/src22-1/styles/sections/Slideshow_with_squarebg.module.css +0 -39
  301. package/src22-1/styles/staticpages/accordion.module.css +0 -9
  302. package/src22-1/styles/staticpages/cart.module.css +0 -108
  303. package/src22-1/styles/staticpages/dropdown.css +0 -196
  304. package/src22-1/styles/staticpages/filter.module.css +0 -139
  305. package/src22-1/styles/staticpages/image-gallery.css +0 -481
  306. package/src22-1/styles/staticpages/login.module.css +0 -155
  307. package/src22-1/styles/staticpages/productinfo.module.css +0 -54
  308. package/src22-1/styles/staticpages/shop.module.css +0 -191
  309. package/src22-1/styles/staticpages/signup.module.css +0 -250
  310. package/src22-1/styles/staticpages/staticroutersidenav.module.css +0 -129
  311. package/src22-1/styles/staticpages/viewcart.module.css +0 -129
  312. package/src22-1/styles/staticpages/wishlist.module.css +0 -29
  313. package/srcbeforeedits.zip +0 -0
  314. package/srclib1-5.2.zip +0 -0
@@ -1,390 +0,0 @@
1
- import React, { useEffect, useState, useContext } from 'react';
2
- import { css } from 'glamor';
3
- import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
4
-
5
- import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
6
- import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
7
- import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
8
- import { FaHeart } from '@react-icons/all-files/fa/FaHeart';
9
- import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
10
- import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
11
- import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
12
- import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
13
- import { BsBag } from '@react-icons/all-files/bs/BsBag';
14
- import { RiHandbagLine } from '@react-icons/all-files/ri/RiHandbagLine';
15
- import { IoIosArrowUp } from '@react-icons/all-files/io/IoIosArrowUp';
16
-
17
- const ServiceCard = (props) => {
18
- const [sectionproperties, setsectionproperties] = useState('');
19
- const [item, setitem] = useState(props.cardinfoitemprops);
20
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
21
- const lang = props.actions.lang;
22
- const langdetect = props.actions.langdetect;
23
- const setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
24
- const addtofavoritescontext = props.actions.addtofavoritescontext;
25
- const setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
26
- const AddtoCartContext = props.actions.AddtoCartContext;
27
- const AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
28
- const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
29
- const routingcountext = props.actions.routingcountext;
30
- const cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
31
- const ikimagecredcontext = props.actions.ikimagecredcontext;
32
-
33
- const NotificationManager = NotificationManager;
34
-
35
- const updatequantity = (type) => {
36
- var tempitem = { ...item };
37
- tempitem.quantity = parseInt(tempitem.quantity);
38
- if (type == 'add') {
39
- tempitem.quantity = tempitem.quantity + 1;
40
- } else if (type == 'remove') {
41
- tempitem.quantity = tempitem.quantity - 1;
42
- }
43
- if (tempitem.quantity <= 0) {
44
- tempitem.quantity = 0;
45
- }
46
- setitem({ ...tempitem });
47
- };
48
- useEffect(() => {
49
- if (props.srcfrom == 'addsectionform') {
50
- var secpropobj = {};
51
- props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
52
- secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
53
- });
54
-
55
- setsectionproperties({ ...secpropobj });
56
- } else {
57
- var secpropobj = {};
58
- StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
59
- if (sectionitem.sectionid == props.sectionidprops) {
60
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
61
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
62
- });
63
- }
64
- });
65
- setsectionproperties({ ...secpropobj });
66
- }
67
- }, [StatePagePropertiesContext]);
68
- useEffect(() => {
69
- setitem(props.cardinfoitemprops);
70
- }, [props.cardinfoitemprops]);
71
- const plainString = (html) => {
72
- var divContainer = document.createElement('div');
73
- divContainer.innerHTML = html;
74
- return divContainer.textContent || divContainer.innerText || '';
75
- };
76
- const addtocartfunc = () => {
77
- const addtocardpayloadobj = {
78
- functype: 'add',
79
- productid: item.productid,
80
- variantid: '',
81
- quantity: item.quantity,
82
- };
83
- var runfunc = false;
84
- if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
85
- if (item.hasvariants == 1) {
86
- if (addtocardpayloadobj.variantid.length != 0) {
87
- runfunc = true;
88
- } else {
89
- NotificationManager.warning('', 'Please Choose Product Options');
90
- }
91
- } else {
92
- runfunc = true;
93
- }
94
- } else {
95
- NotificationManager.warning('', 'Please Choose Quantity');
96
- }
97
-
98
- if (runfunc == true) {
99
- AddtoCartContext(addtocardpayloadobj);
100
- }
101
- };
102
-
103
- const card_cssstyles = {
104
- productcard: css({
105
- background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
106
- borderRadius: '5px',
107
- marginTop: sectionproperties.marginTop + 'px',
108
- marginBottom: sectionproperties.marginBottom + 'px',
109
- paddingTop: sectionproperties.paddingTop + 'px',
110
- paddingBottom: sectionproperties.paddingBottom + 'px',
111
- border: '1px solid #eee',
112
- transition: '.3s',
113
- color: sectionproperties.prodNameColor,
114
- }),
115
- productcardimagecont: css({
116
- position: 'relative',
117
- overflow: 'hidden',
118
- background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
119
- border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
120
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
121
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
122
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
123
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
124
- transition: '.3s',
125
- }),
126
- productNameStyles: css({
127
- fontSize: sectionproperties.prodNameFontSize + 'px',
128
- textTransform: sectionproperties.prodNameTextTranform,
129
- fontWeight: sectionproperties.prodNameFontWeight,
130
- transition: '.3s',
131
- cursor: 'pointer',
132
- ':hover': {
133
- color: sectionproperties.prodNameColorOnHover,
134
- },
135
- }),
136
- productPricestyles: css({
137
- color: sectionproperties.prodPriceColor,
138
- fontSize: sectionproperties.prodpriceFontSize + 'px',
139
- fontWeight: sectionproperties.prodPriceFontWeight,
140
- }),
141
- productSalePricestyles: css({
142
- color: sectionproperties.prodsalePriceColor,
143
- fontSize: sectionproperties.prodsalepriceFontSize + 'px',
144
- fontWeight: sectionproperties.prodsalePriceFontWeight,
145
- }),
146
- wishlist_btn: css({
147
- width: sectionproperties.favBtnWidth + 'px',
148
- height: sectionproperties.favBtnHeight + 'px',
149
- background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
150
- borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
151
- color: sectionproperties.favBtniconcolor,
152
- fontSize: sectionproperties.favBtnTextfontsize + 'px',
153
- border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
154
- transition: '.4s',
155
- ':hover': {
156
- background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
157
- color: sectionproperties.favBtnTextcoloronhover,
158
- },
159
- }),
160
- cart_btn: css({
161
- width: sectionproperties.cartBtnWidth + 'px',
162
- height: sectionproperties.cartBtnHeight + 'px',
163
- background: sectionproperties.cartBtnbgColor,
164
- borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
165
- color: '#000',
166
- border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
167
- transition: '.3s',
168
-
169
- ':hover': {
170
- background: sectionproperties.cartBtnbgColoronhover,
171
- color: sectionproperties.cartBtnTextcoloronhover,
172
- borderColor: sectionproperties.cartBtnTextcoloronhover,
173
- },
174
- }),
175
-
176
- quantitybtn: css({
177
- flex: 1,
178
- border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
179
- height: sectionproperties.quantitybtn_height + 'px',
180
- height: '40px',
181
- display: 'flex',
182
- flexDirection: 'row',
183
- overflow: 'hidden',
184
- borderRadius: sectionproperties.quantitybtn_borderradius + 'px',
185
- background: sectionproperties.quantitybtn_bgcolor,
186
- alignItems: 'center',
187
- justifyContent: 'center',
188
- margin: 0,
189
- position: 'relative',
190
- fontWeight: sectionproperties.quantitybtn_textfontweight,
191
- color: sectionproperties.quantitybtn_textcolor,
192
- fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
193
- }),
194
- quantitybtn_text: css({
195
- margin: 'auto',
196
- }),
197
- add_quantitybtn_icon_container: css({
198
- position: 'relative',
199
- width: sectionproperties.add_quantitybtn_width + 'px',
200
- height: sectionproperties.add_quantitybtn_height + 'px',
201
- background: sectionproperties.add_quantitybtn_bgcolor,
202
- display: 'flex',
203
- alignItems: 'center',
204
- justifyContent: 'center',
205
- borderRadius: sectionproperties.add_quantitybtn_borderradius + 'px',
206
- fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
207
- color: sectionproperties.add_quantitybtn_textcolor,
208
- transition: '.3s',
209
- ':hover': {
210
- color: sectionproperties.add_quantitybtn_textcoloronhover,
211
- background: sectionproperties.add_quantitybtn_bgcoloronhover,
212
- },
213
- }),
214
- minus_quantitybtn_icon_container: css({
215
- position: 'relative',
216
- width: sectionproperties.remove_quantitybtn_width + 'px',
217
- height: sectionproperties.remove_quantitybtn_height + 'px',
218
- background: sectionproperties.remove_quantitybtn_bgcolor,
219
- display: 'flex',
220
- alignItems: 'center',
221
- justifyContent: 'center',
222
- borderRadius: sectionproperties.remove_quantitybtn_borderradius + 'px',
223
- fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
224
- color: sectionproperties.remove_quantitybtn_textcolor,
225
- transition: '.3s',
226
- ':hover': {
227
- color: sectionproperties.remove_quantitybtn_textcoloronhover,
228
- background: sectionproperties.remove_quantitybtn_bgcoloronhover,
229
- },
230
- }),
231
- producttotalstyles: css({
232
- color: sectionproperties.total_color,
233
- fontSize: sectionproperties.total_fontsize + 'px',
234
- fontWeight: 500,
235
- }),
236
- productDescStyles: css({
237
- color: sectionproperties.prodCatColor,
238
- fontSize: sectionproperties.prodCatFontSize + 'px',
239
- textTransform: sectionproperties.prodCatTextTranform,
240
- fontWeight: sectionproperties.prodCatFontWeight,
241
- transition: '.3s',
242
- marginLeft: sectionproperties.description_marginLeft + 'px',
243
- marginRight: sectionproperties.description_marginRight + 'px',
244
- marginBottom: sectionproperties.descriptionMarginBottom + 'px',
245
- }),
246
- };
247
-
248
- return (
249
- <div
250
- class="row m-0 w-100 pl-sm-2 pr-sm-2"
251
- style={{
252
- paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
253
- paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
254
- }}
255
- >
256
- {sectionproperties.length != 0 && (
257
- <div
258
- class={`${card_cssstyles.productcard}` + ' w-100 '}
259
- style={{
260
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
261
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
262
- }}
263
- >
264
- <div class="row w-100 m-0 d-flex">
265
- <div class="col-lg-12 p-0">
266
- <div class="row w-100 m-0 d-flex">
267
- {sectionproperties.image_show == 'show' && (
268
- <div
269
- onClick={() => {
270
- if (props.fetchingtypeprops == 'collections') {
271
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
272
- } else {
273
- routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
274
- }
275
- }}
276
- class={
277
- langdetect == 'en'
278
- ? `${card_cssstyles.productcardimagecont}` + ' d-flex justify-content-start mr-2 '
279
- : `${card_cssstyles.productcardimagecont}` + ' d-flex justify-content-start ml-2 '
280
- }
281
- style={{
282
- height: sectionproperties.image_height + 'px',
283
- width: sectionproperties.image_width + 'px',
284
- borderRadius: '10px',
285
- overflow: 'hidden',
286
- cursor: 'pointer',
287
- }}
288
- >
289
- <Imagekitimagecomp
290
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
291
- publicKey={ikimagecredcontext?.ikimagepublickey}
292
- path={'/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image}
293
- loading="lazy"
294
- style={{
295
- width: '100%',
296
- height: '100%',
297
- objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
298
- cursor: 'pointer',
299
- }}
300
- />
301
- </div>
302
- )}
303
- <div
304
- class="col-lg-9 col-md-9 col-sm-9 pl-1 pr-1 mt-2 p-0"
305
- onClick={() => {
306
- cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
307
- }}
308
- >
309
- <div class="row m-0 w-100">
310
- {sectionproperties.prodNameShow == 'Show' && (
311
- <div class="col-lg-12 p-0">
312
- <p
313
- class={`${card_cssstyles.productNameStyles}` + ' font-md-15 wordbreak wordbreak1 m-0 '}
314
- style={{
315
- textAlign: langdetect == 'en' ? 'left' : 'right',
316
- }}
317
- >
318
- {item.name}
319
- </p>
320
- </div>
321
- )}
322
- {sectionproperties.showmeasurementunit == 'Show' && (
323
- <div class="col-lg-12 p-0">
324
- <p
325
- class={' wordbreak wordbreak1 m-0 '}
326
- style={{
327
- textAlign: langdetect == 'en' ? 'left' : 'right',
328
- fontSize: sectionproperties.measurementunitfontsize + 'px',
329
- color: sectionproperties.measurementunitcolor,
330
- }}
331
- >
332
- {item.measurmentunit}
333
- </p>
334
- </div>
335
- )}
336
- </div>
337
- </div>
338
- </div>
339
- </div>
340
- <div class="col-lg-12 p-0">
341
- <div class="row w-100 m-0 d-flex">
342
- {sectionproperties.prodCatShow == 'Show' && (
343
- <div class="col-lg-12 p-0 text-start flex-row mt-2 mb-1">
344
- <p
345
- class={`${card_cssstyles.productDescStyles}` + ' wordbreak wordbreak2 p-0 d-flex flex-row '}
346
- style={{
347
- textAlign: langdetect == 'en' ? 'left' : 'right',
348
- }}
349
- >
350
- {plainString(langdetect == 'en' ? item.description_en : item.description_ar)}
351
- </p>
352
- </div>
353
- )}
354
- <div class="col-lg-12 col-md-12 col-sm-12 mt-2 p-0 d-flex justify-content-start ">
355
- <div class="row m-0 w-100 d-flex justify-content-start">
356
- {sectionproperties.prodPriceShow == 'Show' && (
357
- <div class="col-lg-12 p-0 d-flex justify-content-start">
358
- <p
359
- class={
360
- langdetect == 'en'
361
- ? `${card_cssstyles.productPricestyles}` + ' m-0 wordbreak d-flex align-items-center text-left '
362
- : `${card_cssstyles.productPricestyles}` + ' m-0 wordbreak d-flex align-items-center text-right '
363
- }
364
- >
365
- <span>{langdetect == 'en' ? 'Service Fee: ' : 'سعر الخدمة: '}</span>
366
- {langdetect == 'en' ? 'EGP' : ''} {item.hassale == 1 ? item.defaultsaleprice : item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
367
- </p>
368
- </div>
369
- )}
370
- <div class="col-lg-12 d-flex justify-content-end p-0 mt-2">
371
- <button
372
- class={`${card_cssstyles.cart_btn}` + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center '}
373
- onClick={() => {
374
- cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
375
- }}
376
- >
377
- {langdetect == 'en' ? 'BOOK NOW' : 'إحجز الان'}
378
- </button>
379
- </div>
380
- </div>
381
- </div>
382
- </div>
383
- </div>
384
- </div>
385
- </div>
386
- )}
387
- </div>
388
- );
389
- };
390
- export default ServiceCard;
@@ -1,225 +0,0 @@
1
- import React, { useEffect, useState, useContext } from 'react';
2
- import { css } from 'glamor';
3
- import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
4
-
5
- const Simplecategorycardwithtextbelow = (props) => {
6
- const [sectionproperties, setsectionproperties] = useState('');
7
- const [item, setitem] = useState(props.cardinfoitemprops);
8
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
9
- const langdetect = props.actions.langdetect;
10
- const ikimagecredcontext = props.actions.ikimagecredcontext;
11
- const cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
12
- const NotificationManager = NotificationManager;
13
- const [index, setindex] = useState(props.cardinfoindexprops);
14
- useEffect(() => {
15
- var secpropobj = {};
16
- StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
17
- if (sectionitem.sectionid == props.sectionidprops) {
18
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
19
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
20
- });
21
- }
22
- });
23
- setsectionproperties({ ...secpropobj });
24
- }, [StatePagePropertiesContext]);
25
- useEffect(() => {
26
- setitem(props.cardinfoitemprops);
27
- }, [props.cardinfoitemprops]);
28
- const plainString = (html) => {
29
- var divContainer = document.createElement('div');
30
- divContainer.innerHTML = html;
31
- return divContainer.textContent || divContainer.innerText || '';
32
- };
33
- const card_cssstyles = {
34
- cardcontainer: css({
35
- background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
36
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
37
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
38
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
39
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
40
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
41
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
42
- paddingTop: sectionproperties.paddingTop + 'px',
43
- paddingBottom: sectionproperties.paddingBottom + 'px',
44
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
45
- color: sectionproperties.generaltext_fontColor,
46
- boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
47
- transition: '.3s',
48
- cursor: 'pointer',
49
- ':hover .categoryname': {
50
- color: sectionproperties.text_secondarycolor,
51
- },
52
- }),
53
- imagecontainer: css({
54
- background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
55
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
56
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
57
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
58
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
59
- height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
60
- marginBottom: sectionproperties.image_mb + 'px',
61
- border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
62
- overflow: 'hidden',
63
- position: 'relative',
64
- ':before': {
65
- position: 'absolute',
66
- content: 's',
67
- fontSize: 0,
68
- width: '100%',
69
- height: '100%',
70
- backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')',
71
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
72
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
73
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
74
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
75
- zIndex: 100,
76
- },
77
- ':hover:before': {
78
- transition: '.3s',
79
- backgroundColor: 'rgba(0,0,0,0)',
80
- },
81
- }),
82
- categoryname: css({
83
- color: sectionproperties.generaltext_fontColor,
84
- textTransform: sectionproperties.generaltext_textTransform,
85
- fontSize: sectionproperties.generaltext_fontSize + 'px',
86
- fontWeight: sectionproperties.generaltext_fontWeight,
87
- transition: '.3s',
88
- ':hover': {
89
- color: sectionproperties.text_secondarycolor,
90
- },
91
- }),
92
- desc: css({
93
- color: sectionproperties.prodCatColor,
94
- fontSize: sectionproperties.prodCatFontSize + 'px',
95
- textTransform: sectionproperties.prodCatTextTranform,
96
- fontWeight: sectionproperties.prodCatFontWeight,
97
- transition: '.3s',
98
- }),
99
- productcard: css({
100
- marginTop: sectionproperties.marginTop + 'px',
101
- marginBottom: sectionproperties.marginBottom + 'px',
102
- minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
103
- maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
104
- '@media (max-width: 800px)': {
105
- minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
106
- maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
107
- },
108
- }),
109
- };
110
-
111
- return (
112
- <div
113
- // class="row m-0 w-100"
114
- class={
115
- props.sectiontypeprops2 == 'vertical'
116
- ? sectionproperties.card_marginLeft != 0
117
- ? `${card_cssstyles.productcard}` + ' w-100 px-md-1 '
118
- : `${card_cssstyles.productcard}` + ' w-100 '
119
- : ` ${card_cssstyles.productcard}`
120
- }
121
- style={{
122
- paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
123
- paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
124
- }}
125
- >
126
- {sectionproperties.length != 0 && (
127
- <div
128
- class={
129
- sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 && sectionproperties.paddingTop != 0 && sectionproperties.paddingBottom != 0
130
- ? card_cssstyles.cardcontainer + ' w-100 p-sm-3 '
131
- : card_cssstyles.cardcontainer + ' w-100 '
132
- }
133
- onClick={() => {
134
- // alert(item.skiplayeronclick);
135
- cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
136
- // cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
137
- }}
138
- >
139
- <div class=" row m-0 w-100 allcentered">
140
- <div
141
- class={card_cssstyles.imagecontainer + ' d-flex d-sm-none align-items-center justify-content-center '}
142
- style={{
143
- width: sectionproperties.image_bordertopleftradius == '100' ? sectionproperties.image_height + 'px' : '100%',
144
- }}
145
- >
146
- {item.image != '' && (
147
- <Imagekitimagecomp
148
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
149
- publicKey={ikimagecredcontext?.ikimagepublickey}
150
- path={'/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image}
151
- style={{
152
- width: sectionproperties.image_width + '%',
153
- height: sectionproperties.image_width + '%',
154
- objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
155
- background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
156
- borderTopLeftRadius:
157
- sectionproperties.bgcovercontain == 'Cover'
158
- ? langdetect == 'en'
159
- ? sectionproperties.image_bordertopleftradius + 'px'
160
- : sectionproperties.image_bordertoprightradius + 'px'
161
- : 0,
162
- borderTopRightRadius:
163
- sectionproperties.bgcovercontain == 'Cover'
164
- ? langdetect == 'en'
165
- ? sectionproperties.image_bordertoprightradius + 'px'
166
- : sectionproperties.image_bordertopleftradius + 'px'
167
- : 0,
168
- borderBottomLeftRadius:
169
- sectionproperties.bgcovercontain == 'Cover'
170
- ? langdetect == 'en'
171
- ? sectionproperties.image_borderBottomLeftRadius + 'px'
172
- : sectionproperties.image_borderBottomRightRadius + 'px'
173
- : 0,
174
- borderBottomRightRadius:
175
- sectionproperties.bgcovercontain == 'Cover'
176
- ? langdetect == 'en'
177
- ? sectionproperties.image_borderBottomRightRadius + 'px'
178
- : sectionproperties.image_borderBottomLeftRadius + 'px'
179
- : 0,
180
- }}
181
- loading="lazy"
182
- />
183
- )}
184
- </div>
185
- <div
186
- class={card_cssstyles.imagecontainer + ' d-none d-sm-flex'}
187
- style={{
188
- height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + 'px',
189
- width: sectionproperties.image_bordertopleftradius == '100' ? sectionproperties.image_height + 'px' : sectionproperties.image_width_resp + '%',
190
- }}
191
- >
192
- <Imagekitimagecomp
193
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
194
- publicKey={ikimagecredcontext?.ikimagepublickey}
195
- path={item.image}
196
- style={{
197
- width: '100%',
198
- height: '100%',
199
- objectFit: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'contain' : 'cover',
200
- background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
201
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
202
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
203
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
204
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
205
- }}
206
- loading="lazy"
207
- />
208
- </div>
209
- {sectionproperties.general_showtext == 'Show' && (
210
- <div class="col-lg-12 p-0 allcentered">
211
- <p class={card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak text-center '}>{item.name}</p>
212
- </div>
213
- )}
214
- {sectionproperties.prodCatShow == 'Show' && (
215
- <div class="col-lg-12 p-0 allcentered">
216
- <p class={card_cssstyles.desc + ' m-0 p-0 wordbreak text-center '}>{plainString(item.description)}</p>
217
- </div>
218
- )}
219
- </div>
220
- </div>
221
- )}
222
- </div>
223
- );
224
- };
225
- export default Simplecategorycardwithtextbelow;