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,1540 +0,0 @@
1
- import React, { useEffect, useState, useContext, createRef } from 'react';
2
- import generalstyles from '../../../../styles/general/general.module.css';
3
- import { css } from 'glamor';
4
- import Filter from '../../../StaticPages/Filter/Filter.jsx';
5
- import { useInView } from 'react-intersection-observer';
6
- import { ScrollMenu, VisibilityContext } from 'react-horizontal-scrolling-menu';
7
- import { serverbaselink } from '../../../../../Env';
8
- import { FaArrowAltCircleRight } from '@react-icons/all-files/fa/FaArrowAltCircleRight';
9
- import { FaArrowAltCircleLeft } from '@react-icons/all-files/fa/FaArrowAltCircleLeft';
10
- import { FiFilter } from '@react-icons/all-files/fi/FiFilter';
11
- import { FiLayers } from '@react-icons/all-files/fi/FiLayers';
12
- import { FiChevronLeft } from '@react-icons/all-files/fi/FiChevronLeft';
13
- import { FiChevronRight } from '@react-icons/all-files/fi/FiChevronRight';
14
- import { HiOutlineArrowRight } from '@react-icons/all-files/hi/HiOutlineArrowRight';
15
- import { HiOutlineArrowLeft } from '@react-icons/all-files/hi/HiOutlineArrowLeft';
16
- import ReactPaginate from 'react-paginate';
17
-
18
- const CardsSection = (props) => {
19
- const refscr = createRef();
20
- const { ref, inView } = useInView();
21
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
22
- const lang = props.actions.lang;
23
- const langdetect = props.actions.langdetect;
24
- const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
25
- const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
26
- const routingcountext = props.actions.routingcountext;
27
- const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
28
- const ProductFilterObjContext = props.actions.ProductFilterObjContext;
29
- const setProductFilterObjContext = props.actions.setProductFilterObjContext;
30
- const TabexSectionsComponentsContext = props.actions.TabexSectionsComponentsContext;
31
- const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
32
- const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
33
- const fetchProductsQuery = props.actions.fetchProductsQuery;
34
- const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
35
- const setParentCollectionsForCollectionQueryArr = props.actions.setParentCollectionsForCollectionQueryArr;
36
- const ParentCollectionsForCollectionQueryArr = props.actions.ParentCollectionsForCollectionQueryArr;
37
- const setfetchingtype = props.actions.setfetchingtype;
38
- const fetchingtype = props.actions.fetchingtype;
39
- const addtofavoritescontext = props.actions.addtofavoritescontext;
40
- const fetchAuthorizationQueryContext = props.actions.fetchAuthorizationQueryContext;
41
- const FetchVendorsQuery = props.actions.FetchVendorsQuery;
42
- const ikimagecredcontext = props.actions.ikimagecredcontext;
43
- const [openFilterSlider, setopenFilterSlider] = useState(false);
44
- const actions = props.actions;
45
- const [sectionproperties, setsectionproperties] = useState('');
46
- const [cardsarray, setcardsarray] = useState([]);
47
- const [sectionitem, setsectionitem] = useState('');
48
- const [ProductsFetchingTypeSectionObj, setProductsFetchingTypeSectionObj] = useState({ productfetchingtype: 'Random', collectionid: '', grouptype: '' });
49
- const [maincontainerarrayofobjs, setmaincontainerarrayofobjs] = useState([]);
50
- // React.useEffect(() => {
51
- // if (inView) {
52
- // fetchProductsQuery.fetchNextPage();
53
- // }
54
- // }, [inView]);
55
- useEffect(() => {
56
- var productfilerobjtemp = ProductFilterObjContext;
57
- if (props.filterparamsprops != undefined) {
58
- var filterpar = decodeURIComponent(props.filterparamsprops);
59
- var filterparsed = JSON.parse(filterpar);
60
-
61
- if (filterparsed != undefined) {
62
- productfilerobjtemp = filterparsed;
63
- setProductFilterObjContext(filterparsed);
64
- }
65
- }
66
-
67
- StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
68
- if (sectionitem.sectionid == props.sectionidprops) {
69
- var secpropobj = {};
70
- setsectionitem(sectionitem);
71
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
72
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
73
- });
74
- setsectionproperties({ ...secpropobj });
75
-
76
- if (props.srcfromprops == 'GeneralProductsComponent') {
77
- setfetchingtype('products');
78
- var lcproductfetchingtype = 'Random';
79
-
80
- if (productfilerobjtemp.ProductFetchingType != undefined && productfilerobjtemp.ProductFetchingType != null && productfilerobjtemp.ProductFetchingType.length != 0) {
81
- lcproductfetchingtype = productfilerobjtemp.ProductFetchingType;
82
- }
83
- setProductsFetchingTypeSectionObj({
84
- productfetchingtype: lcproductfetchingtype,
85
- collectionid: props.collectionidprops,
86
- grouptype: props.grouptypeprops,
87
- grouptyperefid: props.grouptyperefidprops,
88
- });
89
- } else if (props.srcfromprops == 'InnerGroups' || props.srcfromprops == 'InnerCategory' || props.srcfromprops == 'InnerParentCollection') {
90
- setfetchingtype(props.grouptypeprops);
91
- } else if (props.srcfromprops == 'Innervendor') {
92
- setfetchingtype('vendors');
93
- } else {
94
- setfetchingtype(sectionitem.fetchingtype);
95
- setProductsFetchingTypeSectionObj({
96
- productfetchingtype: sectionitem.productsfetchingtype,
97
- collectionid: sectionitem.productsfetchingtypeCollectioncollectionid,
98
- grouptype: props.grouptypeprops,
99
- grouptyperefid: props.grouptyperefidprops,
100
- });
101
- }
102
- }
103
- });
104
- }, [StatePagePropertiesContext]);
105
- useEffect(() => {
106
- if (sectionproperties.length != 0) {
107
- if (cardsarray.length == 0) {
108
- if (fetchingtype == 'collections') {
109
- if (fetchcollectionsQueryContext.isSuccess) {
110
- cardobjassigner(fetchcollectionsQueryContext.data.data.collections);
111
- }
112
- } else if (fetchingtype == 'products') {
113
- if (fetchProductsQuery.isSuccess) {
114
- var allpagesarr = [];
115
- fetchProductsQuery?.data?.data?.products?.forEach((item) => {
116
- allpagesarr.push(item);
117
- });
118
- cardobjassigner(allpagesarr);
119
- }
120
- } else if (fetchingtype == 'vendors') {
121
- if (FetchVendorsQuery.isSuccess) {
122
- cardobjassigner(FetchVendorsQuery?.data?.data?.vendors);
123
- }
124
- }
125
- }
126
- }
127
- }, [sectionproperties]);
128
- useEffect(() => {
129
- if (fetchingtype?.length != 0) {
130
- var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
131
- if (fetchingtype == 'collections') {
132
- if (ProductsFetchingTypeSectionObj.collectionid == 'all' || ProductsFetchingTypeSectionObj.collectionid == null || ProductsFetchingTypeSectionObj.collectionid == undefined) {
133
- setParentCollectionsForCollectionQueryArr('all');
134
- } else {
135
- setParentCollectionsForCollectionQueryArr([ProductsFetchingTypeSectionObj.collectionid]);
136
- }
137
- }
138
- if (fetchingtype == 'products') {
139
- var tempfetchproductsfilerobjcontext = ProductFilterObjContext;
140
- tempfetchproductsfilerobjcontext.ProductFetchingType = ProductsFetchingTypeSectionObj.productfetchingtype;
141
- if (
142
- ProductsFetchingTypeSectionObj.grouptype == 'collections' ||
143
- ProductsFetchingTypeSectionObj.grouptype == 'categories' ||
144
- ProductsFetchingTypeSectionObj.grouptype == 'parentcollections'
145
- ) {
146
- } else {
147
- if (tempfetchproductsfilerobjcontext.collections != undefined) {
148
- tempfetchproductsfilerobjcontext.collections.push(ProductsFetchingTypeSectionObj.collectionid);
149
- }
150
- }
151
- tempfetchproductsfilerobjcontext.grouptype = ProductsFetchingTypeSectionObj.grouptype;
152
- tempfetchproductsfilerobjcontext.grouptyperefid = ProductsFetchingTypeSectionObj.grouptyperefid;
153
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
154
- }
155
- if (fetchingtype == 'categories') {
156
- if (fetchAuthorizationQueryContext?.isSuccess) {
157
- var categories = fetchAuthorizationQueryContext.data.data.instinfo.instcategories;
158
- cardobjassigner(categories);
159
- }
160
- }
161
-
162
- if (fetchingtype == 'parentcollections' || fetchingtype == 'innercategories') {
163
- if (fetchAuthorizationQueryContext?.isSuccess) {
164
- var categories = fetchAuthorizationQueryContext.data.data.instinfo.instcategories;
165
- var parentcollections = [];
166
- categories?.forEach(function (catitem, catindex) {
167
- catitem?.parentcolletions.forEach(function (parentcolitem) {
168
- parentcolitem.categoryid = catitem.categoryid;
169
- parentcollections.push(parentcolitem);
170
- });
171
- });
172
- if (fetchingtype == 'parentcollections') {
173
- if (
174
- sectionitem?.productsfetchingtypeparentcollectioncategoryid != null &&
175
- sectionitem?.productsfetchingtypeparentcollectioncategoryid != undefined &&
176
- sectionitem?.productsfetchingtypeparentcollectioncategoryid != 'all'
177
- ) {
178
- var arrafterfilter = [];
179
- parentcollections.forEach(function (parentcolitem, parcolindex) {
180
- if (parentcolitem.categoryid == sectionitem?.productsfetchingtypeparentcollectioncategoryid) {
181
- arrafterfilter.push(parentcolitem);
182
- }
183
- });
184
- parentcollections = arrafterfilter;
185
- }
186
- }
187
- if (fetchingtype == 'innercategories') {
188
- var arrafterfilter = [];
189
- parentcollections.forEach(function (parentcolitem, parcolindex) {
190
- if (parentcolitem.categoryid == props.collectionidprops) {
191
- arrafterfilter.push(parentcolitem);
192
- }
193
- });
194
- parentcollections = arrafterfilter;
195
- }
196
-
197
- cardobjassigner(parentcollections);
198
- }
199
- } else if (fetchingtype == 'innerparentcollections') {
200
- if (fetchAuthorizationQueryContext?.isSuccess) {
201
- var categories = fetchAuthorizationQueryContext.data.data.instinfo.instcategories;
202
- var collections = [];
203
- categories?.forEach(function (catitem, catindex) {
204
- catitem?.parentcolletions.forEach(function (parentcolitem) {
205
- parentcolitem.categoryid = catitem.categoryid;
206
- parentcolitem?.collections?.forEach(function (collitem, colindex) {
207
- collitem.parentcollectionid = parentcolitem.parentcollectionid;
208
- collections.push(collitem);
209
- });
210
- });
211
- });
212
- if (fetchingtype == 'innerparentcollections') {
213
- var collectionsafterfilter = [];
214
- collections.forEach(function (colitem, colindex) {
215
- if (colitem.parentcollectionid == props.collectionidprops) {
216
- var iscollexists = false;
217
- collectionsafterfilter.forEach(function (existcolitem) {
218
- if (colitem.collectionid == existcolitem.collectionid) {
219
- iscollexists = true;
220
- }
221
- });
222
- if (iscollexists == false) {
223
- collectionsafterfilter.push(colitem);
224
- }
225
- }
226
- });
227
- collections = collectionsafterfilter;
228
- }
229
- cardobjassigner(collections);
230
- }
231
- }
232
-
233
- setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
234
- }
235
- }, [fetchingtype, ProductsFetchingTypeSectionObj]);
236
- useEffect(() => {
237
- if (fetchingtype == 'products') {
238
- if (fetchProductsQuery.isSuccess && fetchcustomercartQueryContext.isSuccess) {
239
- var allpagesarr = [];
240
- fetchProductsQuery?.data?.data?.products?.forEach((item) => {
241
- allpagesarr.push(item);
242
- });
243
- cardobjassigner(allpagesarr);
244
- }
245
- }
246
- }, [fetchProductsQuery?.isSuccess, fetchProductsQuery?.dataUpdatedAt, fetchProductsQuery?.data, fetchcustomercartQueryContext?.dataUpdatedAt]);
247
- useEffect(() => {
248
- if (fetchingtype == 'collections') {
249
- if (fetchcollectionsQueryContext.isSuccess) {
250
- cardobjassigner(fetchcollectionsQueryContext.data.data.collections);
251
- }
252
- }
253
- }, [fetchcollectionsQueryContext?.isSuccess]);
254
- useEffect(() => {
255
- if (fetchingtype == 'vendors') {
256
- if (FetchVendorsQuery.isSuccess) {
257
- if (FetchVendorsQuery.data.data.vendors != undefined && FetchVendorsQuery.data.data.vendors.length != 0) {
258
- cardobjassigner(FetchVendorsQuery?.data?.data?.vendors);
259
- }
260
- }
261
- }
262
- }, [FetchVendorsQuery.isSuccess]);
263
- useEffect(() => {
264
- favassigner();
265
- }, [favoriteprojectscountContext]);
266
- useEffect(() => {
267
- if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
268
- var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
269
- if (Array.isArray(maincontainerarrayofobjsparsed)) {
270
- setmaincontainerarrayofobjs([...maincontainerarrayofobjsparsed]);
271
- }
272
- }
273
- }, [sectionproperties]);
274
- const favassigner = () => {
275
- if (fetchingtype == 'products') {
276
- if (cardsarray.length != 0) {
277
- if (favoriteprojectscountContext != undefined && Array.isArray(favoriteprojectscountContext)) {
278
- var tempcardsarray = [...cardsarray];
279
- tempcardsarray.forEach(function (arrayItem, arrayindex) {
280
- arrayItem.IsFavExists = false;
281
- });
282
- tempcardsarray.forEach(function (arrayItem, arrayindex) {
283
- favoriteprojectscountContext.forEach(function (favitem, favindex) {
284
- if (arrayItem.productid == favitem) {
285
- arrayItem.IsFavExists = true;
286
- }
287
- });
288
- });
289
- setcardsarray([...tempcardsarray]);
290
- }
291
- }
292
- }
293
- };
294
- const cardobjassigner = (fetchedarray) => {
295
- var temparray = [];
296
-
297
- fetchedarray.forEach(function (arrayItem, arrayindex) {
298
- var cardobj = {
299
- name: '',
300
- image: '',
301
- };
302
- if (fetchingtype == 'products') {
303
- var itemquantity = 0;
304
- if (langdetect == 'en') {
305
- cardobj.name = arrayItem.productinfo.name_en;
306
- } else {
307
- cardobj.name = arrayItem.productinfo.name_ar;
308
- }
309
- if (langdetect == 'en') {
310
- cardobj.description = arrayItem.productinfo.description_en;
311
- } else {
312
- cardobj.description = arrayItem.productinfo.description_ar;
313
- }
314
- if (arrayItem.productinfo.hasvariants == 0) {
315
- fetchcustomercartQueryContext.data.data.customercart.cartitems.forEach(function (cartitem, cartindex) {
316
- if (cartitem.productid == arrayItem.productinfo.productid) {
317
- itemquantity = cartitem.quantity;
318
- }
319
- });
320
- }
321
- cardobj.image = arrayItem.productinfo.productmainimage;
322
- cardobj.hassale = arrayItem.productinfo.hassale;
323
- cardobj.productid = arrayItem.productinfo.productid;
324
- cardobj.hasvariants = arrayItem.productinfo.hasvariants;
325
- cardobj.description_en = arrayItem.productinfo.description_en;
326
- cardobj.description_ar = arrayItem.productinfo.description_ar;
327
- cardobj.defaultprice = arrayItem.productinfo.defaultprice;
328
- cardobj.defaultsaleprice = arrayItem.productinfo.defaultsaleprice;
329
- cardobj.productimages = arrayItem.productinfo.productimages;
330
- cardobj.quantity = itemquantity;
331
- cardobj.timestamp = arrayItem.productinfo.timestamp;
332
- cardobj.productquantity = arrayItem.productinfo.productquantity;
333
- cardobj.quantavailtype = arrayItem.productinfo.quantavailtype;
334
- cardobj.isproducttobesold = arrayItem.productinfo.isproducttobesold;
335
- cardobj.measurmentunit = arrayItem.productinfo.measurmentunit;
336
-
337
- if (langdetect == 'en') {
338
- cardobj.currencyname = fetchAuthorizationQueryContext?.data.data.currencyname_en;
339
- } else {
340
- cardobj.currencyname = fetchAuthorizationQueryContext?.data.data.currencyname_ar;
341
- }
342
- if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
343
- favoriteprojectscountContext.forEach(function (favitem, favindex) {
344
- if (arrayItem.productinfo.productid == favitem) {
345
- cardobj.IsFavExists = true;
346
- }
347
- });
348
- }
349
- } else if (fetchingtype == 'collections' || fetchingtype == 'innerparentcollections') {
350
- cardobj.collectionid = arrayItem.collectionid;
351
- if (langdetect == 'en') {
352
- cardobj.name = arrayItem.title_en;
353
- cardobj.description = arrayItem.description_en;
354
- } else if (langdetect == 'ar') {
355
- cardobj.name = arrayItem.title_ar;
356
- cardobj.description = arrayItem.description_ar;
357
- }
358
- cardobj.image = arrayItem.collectionlogo;
359
- } else if (fetchingtype == 'categories') {
360
- cardobj.collectionid = arrayItem.categoryid;
361
- if (langdetect == 'en') {
362
- cardobj.name = arrayItem.title_en;
363
- cardobj.description = arrayItem.description_en;
364
- } else if (langdetect == 'ar') {
365
- cardobj.name = arrayItem.title_ar;
366
- cardobj.description = arrayItem.description_ar;
367
- }
368
- cardobj.image = arrayItem.categorylogo;
369
- } else if (fetchingtype == 'parentcollections' || fetchingtype == 'innercategories') {
370
- cardobj.collectionid = arrayItem.parentcollectionid;
371
- if (langdetect == 'en') {
372
- cardobj.name = arrayItem.title_en;
373
- cardobj.description = arrayItem.description_en;
374
- } else if (langdetect == 'ar') {
375
- cardobj.name = arrayItem.title_ar;
376
- cardobj.description = arrayItem.description_ar;
377
- }
378
- cardobj.image = arrayItem.parentcollectionlogo;
379
- } else if (fetchingtype == 'custom') {
380
- } else if (fetchingtype == 'vendors') {
381
- cardobj.name = arrayItem.vendorname;
382
- cardobj.collectionid = arrayItem.vendorid;
383
- cardobj.image = arrayItem.vendorlogourl;
384
- }
385
- temparray.push(cardobj);
386
- });
387
-
388
- setcardsarray([...temparray]);
389
- };
390
- // Example items, to simulate fetching from another resources.
391
- const handlePageClick = (event) => {
392
- props.scrolltotop();
393
- var tempProductFilterObjContext = { ...ProductFilterObjContext };
394
- tempProductFilterObjContext.page = event?.selected;
395
- setProductFilterObjContext({ ...tempProductFilterObjContext });
396
- var pasturl = '';
397
- if (props.grouptypeprops != undefined) {
398
- if (props.collectionidprops != undefined) {
399
- pasturl = props.grouptypeprops + '/' + props.collectionidprops + '/';
400
- }
401
- }
402
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, pasturl + encodeURIComponent(JSON.stringify(tempProductFilterObjContext)));
403
- };
404
- function PaginatedItems({ itemsPerPage }) {
405
- const pageCount = Math.ceil(fetchProductsQuery?.data?.data?.productscou / 12);
406
- return (
407
- <div class="d-flex containerClassName">
408
- <ReactPaginate
409
- breakLabel="..."
410
- forcePage={fetchProductsQuery?.data?.data?.page}
411
- nextLabel={<FiChevronRight size={parseInt(sectionproperties.paginationFontSize) + 3} />}
412
- onPageChange={handlePageClick}
413
- active
414
- pageRangeDisplayed={5}
415
- pageCount={pageCount}
416
- previousLabel={<FiChevronLeft size={parseInt(sectionproperties.paginationFontSize) + 3} />}
417
- renderOnZeroPageCount={null}
418
- pageLinkClassName={section_cssstyles.pageLinkClassName}
419
- nextLinkClassName={section_cssstyles.nextLinkClassName}
420
- previousLinkClassName={section_cssstyles.previousLinkClassName}
421
- activeClassName={section_cssstyles.activeClassName}
422
- activeLinkClassName={section_cssstyles.activeLinkClassName}
423
- previousClassName={section_cssstyles.previousClassName}
424
- nextClassName={section_cssstyles.nextClassName}
425
- disabledClassName={section_cssstyles.disabledClassName}
426
- disabledLinkClassName={section_cssstyles.disabledLinkClassName}
427
- />
428
- </div>
429
- );
430
- }
431
- const section_cssstyles = {
432
- disabledClassName: css({
433
- cursor: 'not-allowed',
434
- ':hover': {
435
- cursor: 'not-allowed',
436
- color: sectionproperties.paginationColor,
437
- },
438
- }),
439
- disabledLinkClassName: css({
440
- cursor: 'not-allowed',
441
- ':hover': {
442
- cursor: 'not-allowed',
443
- color: sectionproperties.paginationColor,
444
- },
445
- }),
446
- pageLinkClassName: css({
447
- minWidth: sectionproperties.paginationContainerWidth + 'vh',
448
- height: sectionproperties.paginationContainerHeight + 'vh',
449
- padding: '17px',
450
- display: 'flex',
451
- alignItems: 'center',
452
- justifyContent: 'center',
453
- color: sectionproperties.paginationColor,
454
- border: sectionproperties.paginationBorderWidth + 'px solid ' + sectionproperties.paginationBorderColor,
455
- transition: '.3s',
456
- ':hover': {
457
- color: sectionproperties.paginationColoronHover,
458
- borderColor: sectionproperties.paginationColoronHover,
459
- },
460
- }),
461
- activeClassName: css({
462
- color: sectionproperties.paginationActiveColor,
463
- borderColor: sectionproperties.paginationActiveColor,
464
- }),
465
- activeLinkClassName: css({
466
- color: sectionproperties.paginationActiveColor,
467
- borderColor: sectionproperties.paginationActiveColor,
468
- }),
469
- previousClassName: css({
470
- width: sectionproperties.paginationContainerWidth + 'vh',
471
- height: sectionproperties.paginationContainerHeight + 'vh',
472
- padding: '17px',
473
- display: 'flex',
474
- alignItems: 'center',
475
- justifyContent: 'center',
476
- color: sectionproperties.paginationColor,
477
- border: sectionproperties.paginationBorderWidth + 'px solid ' + sectionproperties.paginationBorderColor,
478
- transition: '.3s',
479
- ':hover': {
480
- color: sectionproperties.paginationColoronHover,
481
- borderColor: sectionproperties.paginationColoronHover,
482
- },
483
- }),
484
- nextClassName: css({
485
- width: sectionproperties.paginationContainerWidth + 'vh',
486
- height: sectionproperties.paginationContainerHeight + 'vh',
487
- padding: '17px',
488
- display: 'flex',
489
- alignItems: 'center',
490
- justifyContent: 'center',
491
- color: sectionproperties.paginationColor,
492
- border: sectionproperties.paginationBorderWidth + 'px solid ' + sectionproperties.paginationBorderColor,
493
- transition: '.3s',
494
- ':hover': {
495
- color: sectionproperties.paginationColoronHover,
496
- borderColor: sectionproperties.paginationColoronHover,
497
- },
498
- }),
499
- previousLinkClassName: css({
500
- fontSize: sectionproperties.paginationFontSize + 'px',
501
- color: sectionproperties.paginationColor,
502
- transition: '.3s',
503
- ':hover': {
504
- color: sectionproperties.paginationColoronHover,
505
- },
506
- }),
507
- nextLinkClassName: css({
508
- fontSize: sectionproperties.paginationFontSize + 'px',
509
- color: sectionproperties.paginationColor,
510
- transition: '.3s',
511
- ':hover': {
512
- color: sectionproperties.paginationColoronHover,
513
- },
514
- }),
515
- sectiontitlespan: css({
516
- ':after': {
517
- height: '5px',
518
- width: sectionproperties.sectitle_lineafterwidth + '%',
519
- backgroundColor: sectionproperties.linebgcolor,
520
- },
521
- }),
522
- line_left: css({
523
- height: '1px',
524
- position: 'relative',
525
- flex: '1 1 auto',
526
- minWidth: '10%',
527
- background: sectionproperties.linebgcolor,
528
- }),
529
- line_right: css({
530
- height: '1px',
531
- position: 'relative',
532
- flex: '1 1 auto',
533
- minWidth: '10%',
534
- background: sectionproperties.linebgcolor,
535
- }),
536
- cards_sections: css({
537
- paddingLeft: sectionproperties.showFilter == 'show' ? 0 : langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
538
- paddingRight: sectionproperties.showFilter == 'show' ? 0 : langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
539
- paddingTop: sectionproperties.paddingTop + 'px',
540
- paddingBottom: sectionproperties.paddingBottom + 'px',
541
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
542
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
543
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
544
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
545
- borderColor: sectionproperties.sectioncardbordercolor,
546
- border: sectionproperties.sectioncardborderwidth + 'px solid',
547
- }),
548
- filterbtn: css({
549
- width: sectionproperties.filterbtn_Width + 'px',
550
- height: sectionproperties.filterbtn_Height + 'px',
551
- background: sectionproperties.filterbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.filterbtn_bgColor,
552
- borderBottomLeftRadius: sectionproperties.filterbtn_borderBottomLeftRadius + 'px',
553
- borderBottomRightRadius: sectionproperties.filterbtn_borderBottomRightRadius + 'px',
554
- borderTopLeftRadius: sectionproperties.filterbtn_borderTopLeftRadius + 'px',
555
- borderTopRightRadius: sectionproperties.filterbtn_borderTopRightRadius + 'px',
556
- color: sectionproperties.filterbtn_Textcolor,
557
- boxShadow: sectionproperties.filterbtn_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.filterbtn_shadowcolor : '',
558
- marginTop: sectionproperties.filterbtn_marginTop + 'px',
559
- marginBottom: sectionproperties.filterbtn_marginBottom + 'px',
560
- marginLeft: sectionproperties.filterbtn_marginLeft + 'px',
561
- marginRight: sectionproperties.filterbtn_marginRight + 'px',
562
- transition: '.3s',
563
- ':hover': {
564
- background: sectionproperties.filterbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.filterbtn_bgColoronhover,
565
- color: sectionproperties.filterbtn_Textcoloronhover,
566
- },
567
- }),
568
- viewmorebtn: css({
569
- width: sectionproperties.viewmorebtn_Width == 0 ? 'auto' : sectionproperties.viewmorebtn_Width + 'px',
570
- height: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'auto' : sectionproperties.viewmorebtn_Height + 'px',
571
- background: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColor,
572
- borderRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
573
- color: sectionproperties.viewmorebtn_Textcolor,
574
- fontSize: sectionproperties.viewmorebtn_fontSize + 'px',
575
- fontWeight: sectionproperties.viewmorebtn_fontWeight,
576
- textDecoration: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'underline' : 'none',
577
- transition: '.3s',
578
- ':hover': {
579
- background: sectionproperties.viewmorebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColoronhover,
580
- color: sectionproperties.viewmorebtn_Textcoloronhover,
581
- },
582
- }),
583
- loadbtn: css({
584
- fontSize: sectionproperties.generaltext_fontSize + 'px',
585
- color: sectionproperties.generaltext_fontColor,
586
- fontWeight: sectionproperties.generaltext_fontWeight,
587
- textDecoration: 'underline',
588
- transition: '.3s',
589
- ':hover': {
590
- color: sectionproperties.text_secondarycolor,
591
- },
592
- }),
593
- };
594
- const SectionTitle = () => {
595
- return (
596
- <div
597
- class="d-flex align-items-center flex-row"
598
- style={{
599
- position: 'relative',
600
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
601
- width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
602
- }}
603
- >
604
- {sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={section_cssstyles.line_left}></span>}
605
- <p
606
- class={
607
- sectionproperties.sectiontitlefontfamily == 'Pacifico'
608
- ? `${section_cssstyles.sectiontitlespan}` + ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
609
- : sectionproperties.sectiontitlefontfamily == 'Playfair'
610
- ? `${section_cssstyles.sectiontitlespan}` + ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
611
- : sectionproperties.sectiontitlefontfamily == 'Great Vibes'
612
- ? `${section_cssstyles.sectiontitlespan}` + ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
613
- : sectionproperties.sectiontitlefontfamily == 'Quicksand'
614
- ? `${section_cssstyles.sectiontitlespan}` + ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
615
- : sectionproperties.sectiontitlefontfamily == 'Satisfy'
616
- ? `${section_cssstyles.sectiontitlespan}` + ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
617
- : sectionproperties.sectiontitlefontfamily == 'ASUL'
618
- ? `${section_cssstyles.sectiontitlespan}` + ' ASUL mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
619
- : `${section_cssstyles.sectiontitlespan}` + ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
620
- }
621
- style={{
622
- color: sectionproperties.sectionTitleColor,
623
- fontWeight: sectionproperties.sectionTitleFontWeight,
624
- paddingLeft: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
625
- paddingRight: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
626
- textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
627
- }}
628
- >
629
- {langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
630
- </p>
631
- {sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={section_cssstyles.line_right}></span>}
632
- </div>
633
- );
634
- };
635
- const cardsrender = () => {
636
- return (
637
- <div
638
- class={
639
- sectionproperties.showFilter == 'show' && sectionproperties.filterdirection == 'Vertical'
640
- ? sectionproperties.numofcols == '2'
641
- ? 'col-lg-10 col-md-12 col-sm-12 p-sm-0'
642
- : 'col-lg-9 col-md-12 col-sm-12 p-sm-0'
643
- : 'row m-0 w-100 p-sm-0'
644
- }
645
- >
646
- {sectionproperties.length != 0 && (
647
- <div className="row m-0 w-100 d-flex align-items-center p-sm-0">
648
- <div class="col-lg-12 p-0">
649
- <div
650
- className="row ml-0 mr-0 w-100 px-1025-1 pl-md-2 pr-md-2 pl-sm-2 pr-sm-2"
651
- style={{
652
- marginTop: sectionproperties.showbadge == 'Show' ? 0 : sectionproperties.sectionTitleMarginTop + 'px',
653
- marginBottom: sectionproperties.sectiontitledirection == 'Horizontal' ? sectionproperties.sectionTitleMarginBottom + 'px' : 0,
654
- paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
655
- paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px',
656
- }}
657
- >
658
- <div
659
- class={
660
- sectionproperties.viewmorebtnshow == 'Show'
661
- ? sectionproperties.sectiontitleposition == 'Centered'
662
- ? ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 '
663
- : ' col-lg-7 col-md-7 col-sm-9 d-flex align-items-center p-0 '
664
- : sectionproperties.showFilter == 'show'
665
- ? ' col-lg-12 col-md-7 col-sm-9 d-flex align-items-center p-0 '
666
- : ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 '
667
- }
668
- >
669
- <div class="row m-0 w-100">
670
- {sectionproperties.showbadge == 'Show' && (
671
- <div
672
- class={' col-lg-12 p-0 d-flex align-items-center '}
673
- style={{
674
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
675
- }}
676
- >
677
- <p
678
- class="m-0 p-0 allcentered"
679
- style={{
680
- fontSize: sectionproperties.badge_fontsize + 'px',
681
- background: sectionproperties.badge_bgcolor,
682
- minWidth: sectionproperties.badge_width + 'px',
683
- height: sectionproperties.badge_height + 'px',
684
- color: sectionproperties.badge_color,
685
- borderRadius: sectionproperties.badge_borderradius + 'px',
686
- border: sectionproperties.badgeborderwidth + 'px solid ' + sectionproperties.badgebordercolor,
687
- }}
688
- >
689
- {langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr}
690
- </p>
691
- </div>
692
- )}
693
- {sectionproperties.sectiontitleshow == 'Show' && (
694
- <div
695
- class={`${generalstyles.sectiontitlecont}` + ' col-lg-12 p-0 d-flex d-md-none align-items-center '}
696
- style={{
697
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
698
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
699
- marginTop: sectionproperties.showbadge == 'Show' ? sectionproperties.sectionTitleMarginTop + 'px' : 0,
700
- marginBottom: sectionproperties.sectiontitledirection == 'Vertical' ? sectionproperties.sectionTitleMarginBottom + 'px' : 0,
701
- }}
702
- >
703
- {SectionTitle()}
704
- </div>
705
- )}
706
- {sectionproperties.sectiontitleshow == 'Show' && (
707
- <div
708
- class={`${generalstyles.sectiontitlecont}` + ' col-lg-12 p-0 d-none d-md-flex align-items-center '}
709
- style={{
710
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
711
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
712
- marginTop: sectionproperties.showbadge == 'Show' ? sectionproperties.sectionTitleMarginTop + 'px' : 0,
713
- marginBottom: sectionproperties.sectiontitledirection == 'Vertical' ? sectionproperties.sectionTitleMarginBottom + 'px' : 0,
714
- }}
715
- >
716
- {SectionTitle()}
717
- </div>
718
- )}
719
- {sectionproperties.sectiontitledirection == 'Vertical' && (
720
- <div class="col-lg-12 p-0">
721
- {sectionproperties.viewmorebtnshow == 'Show' && (
722
- <button
723
- class={
724
- sectionproperties.viewmorebtn_bgtransparent == 'Transparent'
725
- ? sectionproperties.sectiontitleposition == 'Centered'
726
- ? `${section_cssstyles.viewmorebtn}` + ' m-sm-0 allcentered mt-auto mb-auto mb-sm-3 '
727
- : `${section_cssstyles.viewmorebtn}` + ' m-sm-0 mt-auto mb-auto '
728
- : sectionproperties.sectiontitleposition == 'Centered'
729
- ? `${section_cssstyles.viewmorebtn}` + ' m-sm-0 allcentered mt-auto mb-auto '
730
- : `${section_cssstyles.viewmorebtn}` + ' m-sm-0 mt-auto mb-auto '
731
- }
732
- onClick={() => {
733
- if (fetchingtype == 'products') {
734
- if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
735
- routingcountext(
736
- StaticPagesLinksContext.GeneralProductsComponent,
737
- true,
738
- 'collections/' + ProductsFetchingTypeSectionObj.collectionid,
739
- );
740
- } else {
741
- routingcountext(
742
- StaticPagesLinksContext.GeneralProductsComponent,
743
- true,
744
- encodeURIComponent(JSON.stringify(ProductFilterObjContext)),
745
- );
746
- }
747
- } else {
748
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
749
- }
750
- }}
751
- style={{
752
- flexDirection: 'row',
753
- }}
754
- >
755
- <span class={'d-flex justify-content-center align-items-center'}>
756
- <span class={sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : 'Poppins'}>
757
- {langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar}
758
- </span>
759
- {sectionproperties.showIcon == 'Show' && (
760
- <i
761
- class={
762
- sectionproperties.sectiontitleposition == 'Centered'
763
- ? 'd-flex justify-content-center align-items-center h-100 allcentered'
764
- : 'd-flex justify-content-center align-items-center d-md-none h-100'
765
- }
766
- style={{
767
- marginLeft: 5,
768
- marginRight: 5,
769
- }}
770
- >
771
- {langdetect == 'en' ? (
772
- <HiOutlineArrowRight size={sectionproperties.viewmoreiconfontsize} />
773
- ) : (
774
- <HiOutlineArrowLeft size={sectionproperties.viewmoreiconfontsize} />
775
- )}
776
- </i>
777
- )}
778
- </span>
779
- </button>
780
- )}
781
- </div>
782
- )}
783
- {sectionproperties.prodCatShow == 'Show' && (
784
- <div
785
- class={' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center d-md-none '}
786
- style={{
787
- justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start',
788
- marginBottom: sectionproperties.descriptionMarginBottom + 'px',
789
- paddingLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
790
- paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px',
791
- }}
792
- >
793
- <p
794
- class={
795
- sectionproperties.descFontFamily == 'Pacifico'
796
- ? ' PacificoFont m-0 p-0 wordbreak '
797
- : sectionproperties.descFontFamily == 'Playfair'
798
- ? ' PlayfairFont m-0 p-0 wordbreak '
799
- : sectionproperties.descFontFamily == 'Great Vibes'
800
- ? ' GreatvibesFont m-0 p-0 wordbreak '
801
- : sectionproperties.descFontFamily == 'Quicksand'
802
- ? ' QuicksandFont m-0 p-0 wordbreak'
803
- : sectionproperties.descFontFamily == 'ASUL'
804
- ? ' ASUL m-0 p-0 wordbreak '
805
- : ' m-0 p-0 wordbreak '
806
- }
807
- style={{
808
- color: sectionproperties.prodCatColor,
809
- fontWeight: sectionproperties.prodCatFontWeight,
810
- textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
811
- fontSize: sectionproperties.prodCatFontSize + 'px',
812
- }}
813
- >
814
- {langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
815
- </p>
816
- </div>
817
- )}
818
- {sectionproperties.prodCatShow == 'Show' && (
819
- <div
820
- class={' col-lg-12 col-md-12 col-sm-12 align-items-center p-0 d-none d-md-flex '}
821
- style={{
822
- justifyContent: sectionproperties.showFilter == 'show' ? 'start' : sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start',
823
- marginBottom: sectionproperties.descriptionMarginBottom + 'px',
824
- paddingLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
825
- paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px',
826
- }}
827
- >
828
- <p
829
- class={
830
- sectionproperties.descFontFamily == 'Pacifico'
831
- ? ' PacificoFont m-0 p-0 wordbreak '
832
- : sectionproperties.descFontFamily == 'Playfair'
833
- ? ' PlayfairFont m-0 p-0 wordbreak '
834
- : sectionproperties.descFontFamily == 'Great Vibes'
835
- ? ' GreatvibesFont m-0 p-0 wordbreak '
836
- : sectionproperties.descFontFamily == 'Quicksand'
837
- ? ' QuicksandFont m-0 p-0 wordbreak '
838
- : sectionproperties.descFontFamily == 'ASUL'
839
- ? ' ASUL m-0 p-0 wordbreak '
840
- : ' m-0 p-0 wordbreak '
841
- }
842
- style={{
843
- color: sectionproperties.prodCatColor,
844
- fontWeight: sectionproperties.prodCatFontWeight,
845
- textAlign:
846
- sectionproperties.showFilter == 'show'
847
- ? langdetect == 'en'
848
- ? 'left'
849
- : 'right'
850
- : sectionproperties.descriptionCentered == 'Centered'
851
- ? 'center'
852
- : langdetect == 'en'
853
- ? 'left'
854
- : 'right',
855
- fontSize: sectionproperties.prodCatFontSizeResp + 'px',
856
- }}
857
- >
858
- {langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
859
- </p>
860
- </div>
861
- )}
862
- </div>
863
- </div>
864
- <div
865
- class={
866
- sectionproperties.sectiontitleposition == 'Centered'
867
- ? sectionproperties.showFilter == 'show'
868
- ? 'col-lg-12 col-md-3 col-sm-3 d-flex align-item-center justify-content-center p-0'
869
- : 'col-lg-12 col-md-12 col-sm-12 d-flex align-item-center justify-content-center p-0'
870
- : 'col-lg-5 col-md-5 col-sm-3 d-flex align-item-center justify-content-end justify-content-sm-center p-0'
871
- }
872
- style={{
873
- marginTop: sectionproperties.sectiontitleposition == 'Centered' ? sectionproperties.viewmoremt + 'px' : 0,
874
- }}
875
- >
876
- <div
877
- class={
878
- sectionproperties.sectiontitleposition == 'Centered'
879
- ? ' row m-0 w-100 d-flex align-item-center justify-content-center mt-auto mb-auto '
880
- : ' row m-0 w-100 d-flex align-item-center justify-content-end mt-auto mb-auto '
881
- }
882
- >
883
- {sectionproperties.viewmorebtnshow == 'Show' && sectionproperties.sectiontitledirection == 'Horizontal' && (
884
- <button
885
- class={
886
- sectionproperties.viewmorebtn_bgtransparent == 'Transparent'
887
- ? sectionproperties.sectiontitleposition == 'Centered'
888
- ? `${section_cssstyles.viewmorebtn}` + ' m-sm-0 allcentered mt-auto mb-auto mb-sm-3 '
889
- : `${section_cssstyles.viewmorebtn}` + ' w-sm-auto btn-circle-resp m-sm-0 mt-auto mb-auto '
890
- : sectionproperties.sectiontitleposition == 'Centered'
891
- ? `${section_cssstyles.viewmorebtn}` + ' m-sm-0 allcentered mt-auto mb-auto '
892
- : `${section_cssstyles.viewmorebtn}` + ' w-sm-auto btn-circle-resp m-sm-0 mt-auto mb-auto '
893
- }
894
- onClick={() => {
895
- if (fetchingtype == 'products') {
896
- if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
897
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
898
- } else {
899
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(ProductFilterObjContext)));
900
- }
901
- } else {
902
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
903
- }
904
- }}
905
- style={{
906
- flexDirection: 'row',
907
- }}
908
- >
909
- <span
910
- class={
911
- sectionproperties.sectiontitleposition == 'Centered'
912
- ? 'd-flex justify-content-center align-items-center'
913
- : 'd-flex justify-content-center align-items-center d-md-none'
914
- }
915
- >
916
- <span class={sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : ''}>
917
- {langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar}
918
- </span>
919
- {sectionproperties.showIcon == 'Show' && (
920
- <i
921
- class={
922
- sectionproperties.sectiontitleposition == 'Centered'
923
- ? 'd-flex justify-content-center align-items-center h-100 allcentered'
924
- : 'd-flex justify-content-center align-items-center d-md-none h-100'
925
- }
926
- style={{
927
- marginLeft: 5,
928
- marginRight: 5,
929
- }}
930
- >
931
- {langdetect == 'en' ? (
932
- <HiOutlineArrowRight size={sectionproperties.viewmoreiconfontsize} />
933
- ) : (
934
- <HiOutlineArrowLeft size={sectionproperties.viewmoreiconfontsize} />
935
- )}
936
- </i>
937
- )}
938
- </span>
939
- <span
940
- class={
941
- sectionproperties.sectiontitleposition == 'Centered'
942
- ? 'd-none align-items-center justify-content-center'
943
- : 'd-none d-md-flex align-items-center justify-content-center'
944
- }
945
- >
946
- <i class="h-100 d-flex align-items-center justify-content-center">
947
- {langdetect == 'en' ? (
948
- <HiOutlineArrowRight size={sectionproperties.viewmorebtn_fontSize} color={sectionproperties.viewmorebtn_Textcolor} />
949
- ) : (
950
- <HiOutlineArrowLeft size={sectionproperties.viewmorebtn_fontSize} color={sectionproperties.viewmorebtn_Textcolor} />
951
- )}
952
- </i>
953
- </span>
954
- </button>
955
- )}
956
- {sectionproperties.showFilter == 'show' && (
957
- <button
958
- class={' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end '}
959
- onClick={() => {
960
- setopenFilterSlider(true);
961
- // var element = document.getElementById('filterslider');
962
- // element.classList.add(filterstyles.filterslider_container_opened);
963
- }}
964
- >
965
- <div class={`${section_cssstyles.filterbtn}`}>
966
- <i class="h-100 d-flex align-items-center justify-content-center">
967
- <FiFilter />
968
- </i>
969
- </div>
970
- </button>
971
- )}
972
- </div>
973
- </div>
974
- {sectionproperties.showseparator == 'Show' && (
975
- <div class="col-lg-12 p-0">
976
- <hr class="mt-3 mb-2" style={{ borderColor: sectionproperties.upperseparatorbgcolor }} />
977
- </div>
978
- )}
979
- </div>
980
- </div>
981
- {!fetchProductsQuery.isFetching && cardsarray.length == 0 && (
982
- <div className="row m-0 w-100 d-flex align-items-center" style={{ height: '30vh' }}>
983
- <div className="col-lg-12 text-light d-flex align-items-center justify-content-center flex-column">
984
- <FiLayers
985
- style={{
986
- fontSize: sectionproperties.noprod_iconfontSize + 'px',
987
- color: sectionproperties.noprod_iconcolor,
988
- }}
989
- />
990
- <p
991
- class="m-0 p-0 mt-2"
992
- style={{
993
- fontWeight: sectionproperties.noprod_fontWeight,
994
- color: sectionproperties.noprod_color,
995
- fontSize: sectionproperties.noprod_fontSize + 'px',
996
- }}
997
- >
998
- {langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar}
999
- </p>
1000
- </div>
1001
- </div>
1002
- )}
1003
- {cardsarray.length != 0 && (
1004
- <div class="col-lg-12 p-0">
1005
- {StatePagePropertiesContext.pageobj.sections[props.sectionindexprops].childsections.map((item, index) => {
1006
- if (item.tabexsectioninfo != null) {
1007
- if (item.sectionstructype == 'child' && TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname] != undefined) {
1008
- var Sectioncomp = TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname];
1009
- return (
1010
- <div className={section_cssstyles.cards_sections + ' row ml-0 mr-0 w-100 px-1025-1 pl-md-0 pr-md-0 '}>
1011
- {sectionproperties.view_as_slider_vertical == 'Slider (Horizontal)' && (
1012
- <div
1013
- class={
1014
- langdetect == 'en'
1015
- ? sectionproperties.paddingLeft != 0
1016
- ? 'col-lg-12 p-0 pl-sm-2 pl-md-2'
1017
- : sectionproperties.paddingRight != 0
1018
- ? 'col-lg-12 p-0 pr-md-2'
1019
- : 'col-lg-12 p-0 '
1020
- : sectionproperties.paddingRight != 0
1021
- ? 'col-lg-12 p-0 pr-sm-2 pr-md-2'
1022
- : sectionproperties.paddingLeft != 0
1023
- ? 'col-lg-12 p-0 pl-md-2'
1024
- : 'col-lg-12 p-0 '
1025
- }
1026
- >
1027
- <ScrollMenu
1028
- transitionBehavior={'auto'}
1029
- wrapperClassName={''}
1030
- itemClassName={
1031
- item.tabexsectioninfo.sectioncompname == 'Productcard6'
1032
- ? 'scrollmenuclassnameitemProductcard6'
1033
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
1034
- ? 'scrollmenuclassnameitemProductcard_with_circularhover'
1035
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
1036
- ? 'scrollmenuclassnameitemProductcard_with_circularbg'
1037
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
1038
- ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition'
1039
- : // : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation'
1040
- // ? 'scrollmenuclassnameitemProductcard_with_slideanimation'
1041
- item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext'
1042
- ? 'scrollmenuclassnameitemCategorycard_withtext'
1043
- : // : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons'
1044
- // ? 'scrollmenuclassnameitemProductcard_animatedbuttons'
1045
- item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants'
1046
- ? 'scrollmenuclassnameitemProductcard_with_variants'
1047
- : item.tabexsectioninfo.sectioncompname == 'Productcarddefault'
1048
- ? 'scrollmenuclassnameitemProductcarddefault'
1049
- : // : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard'
1050
- // ? 'scrollmenuclassnameitemSimpleproductcard'
1051
- item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg'
1052
- ? 'scrollmenuclassnameitemCategorycard_with_trianglebg'
1053
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover'
1054
- ? 'scrollmenuclassnameitemProductcard_with_textonhover'
1055
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled'
1056
- ? 'scrollmenuclassnameitemCategorycard_slidebgscaled'
1057
- : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
1058
- ? 'scrollmenuclassnameitemProductccard_with_imageontopleft'
1059
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_zoominonhover'
1060
- ? 'scrollmenuclassnameitemProductcard_with_zoominonhover'
1061
- : item.tabexsectioninfo.sectioncompname == 'Horizontalcard'
1062
- ? 'scrollmenuclassnameitemProductcard_Horizontalcard'
1063
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
1064
- ? 'scrollmenuclassnameitemCategorycard_fullimage'
1065
- : // : item.tabexsectioninfo.sectioncompname == 'Classiccategorycard'
1066
- // ? 'scrollmenuclassnameitemClassiccategorycard'
1067
- // item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
1068
- // ? 'scrollmenuclassnameitemModernProductCard'
1069
- // : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
1070
- // ? 'scrollmenuclassnameitemSimplecategorycardwithtextbelow'
1071
- item.tabexsectioninfo.sectioncompname == 'Productcard7'
1072
- ? 'scrollmenuclassnameitemProductcard7'
1073
- : item.tabexsectioninfo.sectioncompname == 'MenuCard'
1074
- ? 'scrollmenuclassnameitemMenuCard'
1075
- : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
1076
- ? 'scrollmenuclassnameitemStylishProductCard'
1077
- : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage'
1078
- ? 'scrollmenuclassnameitemProductCardWithTextOnImage'
1079
- : item.tabexsectioninfo.sectioncompname == 'Card23'
1080
- ? 'scrollmenuclassnameitemCard23'
1081
- : item.tabexsectioninfo.sectioncompname == 'Card20'
1082
- ? 'scrollmenuclassnameitemCard20'
1083
- : item.tabexsectioninfo.sectioncompname == 'ModernCardWithQuantityButton'
1084
- ? 'scrollmenuclassnameitemModernCardWithQuantityButton'
1085
- : item.tabexsectioninfo.sectioncompname == 'CategoryCardwithhoveraction'
1086
- ? 'scrollmenuclassnameitemCategoryCardwithhoveraction'
1087
- : item.tabexsectioninfo.sectioncompname == 'CircleCardWithVariants'
1088
- ? 'scrollmenuclassnameitemCircleCardWithVariants'
1089
- : // : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard'
1090
- // ? 'scrollmenuclassnameitemUpSlideEffectCard'
1091
- item.tabexsectioninfo.sectioncompname == 'CategoryCardTextOnImage'
1092
- ? 'scrollmenuclassnameitemCategoryCardTextOnImage'
1093
- : ''
1094
- }
1095
- scrollContainerClassName={'scrollmenuclasssubscrollbar'}
1096
- >
1097
- {cardsarray.map((cardinfoitem, cardinfoindex) => {
1098
- return (
1099
- <div className={' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100'}>
1100
- <Sectioncomp
1101
- sectiontypeprops={'horizontal'}
1102
- fetchingtypeprops={fetchingtype}
1103
- cardinfoindexprops={cardinfoindex}
1104
- cardinfoitemprops={cardinfoitem}
1105
- sectionindexprops={index}
1106
- sectionidprops={item.sectionid}
1107
- actions={actions}
1108
- fontFamilyprops={sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : ''}
1109
- />
1110
- </div>
1111
- );
1112
- })}
1113
- {/* {fetchingtype == 'products' && fetchProductsQuery.isFetchingNextPage && (
1114
- <button
1115
- className={section_cssstyles.loadbtn + ' d-flex justify-content-end align-items-center mt-4 '}
1116
- ref={ref}
1117
- onClick={() => fetchProductsQuery.fetchNextPage()}
1118
- disabled={!fetchProductsQuery.hasNextPage || fetchProductsQuery.isFetchingNextPage}
1119
- >
1120
- <CircularProgress color="#000" width="20px" height="20px" duration="1s" />
1121
- </button>
1122
- )} */}
1123
- </ScrollMenu>
1124
- </div>
1125
- )}
1126
- {sectionproperties.view_as_slider_vertical != 'Slider (Horizontal)' && (
1127
- <div
1128
- className="row m-0 w-100 d-flex "
1129
- style={{
1130
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1131
- }}
1132
- >
1133
- {cardsarray.map((cardinfoitem, cardinfoindex) => {
1134
- if (sectionproperties.overallnumberofcards != 0) {
1135
- if (cardinfoindex < sectionproperties.overallnumberofcards) {
1136
- return (
1137
- <div
1138
- class={
1139
- sectionproperties.numberOfColsvertical == '1'
1140
- ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
1141
- ? ' col-xl-12 p-0 col-lg-12 col-md-4 p-0 d-flex justify-content-center col-sm-6 '
1142
- : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
1143
- ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0 '
1144
- : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
1145
- ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
1146
- : item.tabexsectioninfo.sectioncompname == 'MenuCard'
1147
- ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
1148
- : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
1149
- ? ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1150
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
1151
- ? ' col-xl-12 p-0 col-lg-12 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
1152
- : item.tabexsectioninfo.sectioncompname == 'Card20'
1153
- ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto'
1154
- : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
1155
- ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1156
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
1157
- ? ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1158
- : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
1159
- ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
1160
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
1161
- ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
1162
- : ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1163
- : sectionproperties.numberOfColsvertical == '2'
1164
- ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
1165
- ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1166
- : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft '
1167
- ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-6 d-flex justify-content-center p-0 '
1168
- : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
1169
- ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1170
- : item.tabexsectioninfo.sectioncompname == 'MenuCard'
1171
- ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
1172
- : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
1173
- ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1174
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
1175
- ? ' col-xl-6 p-0 col-lg-6 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
1176
- : item.tabexsectioninfo.sectioncompname == 'Card20'
1177
- ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
1178
- : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
1179
- ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1180
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
1181
- ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0'
1182
- : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
1183
- ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0'
1184
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
1185
- ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
1186
- : ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-6 d-flex justify-content-center p-0'
1187
- : sectionproperties.numberOfColsvertical == '3'
1188
- ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
1189
- ? ' col-xl-4 col-lg-4 col-md-4 col-sm-6 p-0 d-flex justify-content-center '
1190
- : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
1191
- ? ' col-xl-4 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1192
- : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
1193
- ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
1194
- : item.tabexsectioninfo.sectioncompname == 'MenuCard'
1195
- ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
1196
- : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
1197
- ? ' col-xl-4 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1198
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
1199
- ? ' col-xl-4 p-0 col-lg-4 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
1200
- : item.tabexsectioninfo.sectioncompname == 'Card20'
1201
- ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
1202
- : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
1203
- ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1204
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
1205
- ? ' col-xl-4 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1206
- : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
1207
- ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0'
1208
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
1209
- ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
1210
- : ' col-xl-4 col-lg-4 col-md-6 col-sm-6 d-flex justify-content-center p-0 '
1211
- : sectionproperties.numberOfColsvertical == '4'
1212
- ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
1213
- ? ' col-xl-3 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1214
- : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
1215
- ? ' col-xl-3 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1216
- : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
1217
- ? ' col-xl-3 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1218
- : item.tabexsectioninfo.sectioncompname == 'MenuCard'
1219
- ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
1220
- : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
1221
- ? ' col-xl-3 p-0 col-lg-3 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1222
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
1223
- ? ' col-xl-3 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
1224
- : item.tabexsectioninfo.sectioncompname == 'Card20'
1225
- ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
1226
- : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
1227
- ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1228
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
1229
- ? ' col-xl-3 col-lg-4 col-md-4 col-sm-12 p-0 d-flex justify-content-center p-0 '
1230
- : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
1231
- ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0'
1232
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
1233
- ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
1234
- : ' col-xl-3 col-lg-4 col-md-4 col-sm-6 p-0 d-flex justify-content-center p-0 '
1235
- : sectionproperties.numberOfColsvertical == '12'
1236
- ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
1237
- ? ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1238
- : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
1239
- ? ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1240
- : item.tabexsectioninfo.sectioncompname == 'MenuCard'
1241
- ? ' col-xl-3 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
1242
- : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
1243
- ? ' col-xl-3 p-0 col-lg-3 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1244
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
1245
- ? ' col-xl-3 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
1246
- : item.tabexsectioninfo.sectioncompname == 'Card20'
1247
- ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
1248
- : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
1249
- ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1250
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
1251
- ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
1252
- : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
1253
- ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0'
1254
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
1255
- ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
1256
- : ''
1257
- : sectionproperties.numberOfColsvertical == '6'
1258
- ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
1259
- ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1260
- : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
1261
- ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1262
- : item.tabexsectioninfo.sectioncompname == 'MenuCard'
1263
- ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
1264
- : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
1265
- ? ' col-xl-2 p-0 col-lg-2 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1266
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
1267
- ? ' col-xl-2 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
1268
- : item.tabexsectioninfo.sectioncompname == 'Card20'
1269
- ? ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
1270
- : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
1271
- ? ' col-xl-2 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1272
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
1273
- ? ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1274
- : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
1275
- ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0'
1276
- : item.tabexsectioninfo.sectioncompname == 'CardWithTextOnly'
1277
- ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1278
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
1279
- ? ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
1280
- : ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1281
- : ''
1282
- }
1283
- >
1284
- <Sectioncomp
1285
- sectiontypeprops={'horizontal'}
1286
- sectiontypeprops2={'vertical'}
1287
- fetchingtypeprops={fetchingtype}
1288
- cardinfoindexprops={cardinfoindex}
1289
- cardinfoitemprops={cardinfoitem}
1290
- sectionindexprops={index}
1291
- sectionidprops={item.sectionid}
1292
- actions={actions}
1293
- fontFamilyprops={sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : ''}
1294
- numberOfColsvertical={sectionproperties.numberOfColsvertical}
1295
- />
1296
- </div>
1297
- );
1298
- }
1299
- } else {
1300
- return (
1301
- <div
1302
- class={
1303
- sectionproperties.numberOfColsvertical == '1'
1304
- ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
1305
- ? ' col-xl-12 p-0 col-lg-12 col-md-4 p-0 d-flex justify-content-center col-sm-6 '
1306
- : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
1307
- ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0 '
1308
- : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
1309
- ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
1310
- : item.tabexsectioninfo.sectioncompname == 'MenuCard'
1311
- ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
1312
- : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
1313
- ? ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1314
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
1315
- ? ' col-xl-12 p-0 col-lg-12 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
1316
- : item.tabexsectioninfo.sectioncompname == 'Card20'
1317
- ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto'
1318
- : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
1319
- ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1320
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
1321
- ? ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1322
- : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
1323
- ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
1324
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
1325
- ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
1326
- : ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1327
- : sectionproperties.numberOfColsvertical == '2'
1328
- ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
1329
- ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1330
- : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft '
1331
- ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-6 d-flex justify-content-center p-0 '
1332
- : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
1333
- ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1334
- : item.tabexsectioninfo.sectioncompname == 'MenuCard'
1335
- ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
1336
- : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
1337
- ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1338
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
1339
- ? ' col-xl-6 p-0 col-lg-6 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
1340
- : item.tabexsectioninfo.sectioncompname == 'Card20'
1341
- ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
1342
- : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
1343
- ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1344
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
1345
- ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0'
1346
- : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
1347
- ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0'
1348
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
1349
- ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
1350
- : ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-6 d-flex justify-content-center p-0'
1351
- : sectionproperties.numberOfColsvertical == '3'
1352
- ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
1353
- ? ' col-xl-4 col-lg-4 col-md-4 col-sm-6 p-0 d-flex justify-content-center '
1354
- : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
1355
- ? ' col-xl-4 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1356
- : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
1357
- ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
1358
- : item.tabexsectioninfo.sectioncompname == 'MenuCard'
1359
- ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
1360
- : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
1361
- ? ' col-xl-4 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1362
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
1363
- ? ' col-xl-4 p-0 col-lg-4 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
1364
- : item.tabexsectioninfo.sectioncompname == 'Card20'
1365
- ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
1366
- : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
1367
- ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1368
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
1369
- ? ' col-xl-4 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1370
- : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
1371
- ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0'
1372
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
1373
- ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
1374
- : ' col-xl-4 col-lg-4 col-md-6 col-sm-6 d-flex justify-content-center p-0 '
1375
- : sectionproperties.numberOfColsvertical == '4'
1376
- ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
1377
- ? ' col-xl-3 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1378
- : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
1379
- ? ' col-xl-3 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1380
- : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
1381
- ? ' col-xl-3 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1382
- : item.tabexsectioninfo.sectioncompname == 'MenuCard'
1383
- ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
1384
- : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
1385
- ? ' col-xl-3 p-0 col-lg-3 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1386
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
1387
- ? ' col-xl-3 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
1388
- : item.tabexsectioninfo.sectioncompname == 'Card20'
1389
- ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
1390
- : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
1391
- ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1392
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
1393
- ? ' col-xl-3 col-lg-4 col-md-4 col-sm-12 p-0 d-flex justify-content-center p-0 '
1394
- : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
1395
- ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0'
1396
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
1397
- ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
1398
- : ' col-xl-3 col-lg-4 col-md-4 col-sm-6 p-0 d-flex justify-content-center p-0 '
1399
- : sectionproperties.numberOfColsvertical == '12'
1400
- ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
1401
- ? ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1402
- : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
1403
- ? ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1404
- : item.tabexsectioninfo.sectioncompname == 'MenuCard'
1405
- ? ' col-xl-3 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
1406
- : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
1407
- ? ' col-xl-3 p-0 col-lg-3 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1408
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
1409
- ? ' col-xl-3 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
1410
- : item.tabexsectioninfo.sectioncompname == 'Card20'
1411
- ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
1412
- : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
1413
- ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1414
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
1415
- ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
1416
- : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
1417
- ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0'
1418
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
1419
- ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
1420
- : ''
1421
- : sectionproperties.numberOfColsvertical == '6'
1422
- ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
1423
- ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1424
- : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
1425
- ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1426
- : item.tabexsectioninfo.sectioncompname == 'MenuCard'
1427
- ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
1428
- : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
1429
- ? ' col-xl-2 p-0 col-lg-2 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1430
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
1431
- ? ' col-xl-2 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
1432
- : item.tabexsectioninfo.sectioncompname == 'Card20'
1433
- ? ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
1434
- : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
1435
- ? ' col-xl-2 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1436
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
1437
- ? ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1438
- : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
1439
- ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0'
1440
- : item.tabexsectioninfo.sectioncompname == 'CardWithTextOnly'
1441
- ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
1442
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
1443
- ? ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
1444
- : ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
1445
- : ''
1446
- }
1447
- >
1448
- <Sectioncomp
1449
- sectiontypeprops={'horizontal'}
1450
- sectiontypeprops2={'vertical'}
1451
- fetchingtypeprops={fetchingtype}
1452
- cardinfoindexprops={cardinfoindex}
1453
- cardinfoitemprops={cardinfoitem}
1454
- sectionindexprops={index}
1455
- sectionidprops={item.sectionid}
1456
- actions={actions}
1457
- fontFamilyprops={sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : ''}
1458
- numberOfColsvertical={sectionproperties.numberOfColsvertical}
1459
- />
1460
- </div>
1461
- );
1462
- }
1463
- })}
1464
- {fetchingtype == 'products' && sectionproperties.showpagination == 'Show' && (
1465
- <div className="w-100 col-lg-12 allcentered mt-2">
1466
- {/* <button
1467
- className={section_cssstyles.loadbtn + ' d-flex justify-content-end align-items-center '}
1468
- // ref={ref}
1469
- onClick={() => fetchProductsQuery.fetchNextPage()}
1470
- disabled={!fetchProductsQuery.hasNextPage || fetchProductsQuery.isFetchingNextPage}
1471
- >
1472
- {fetchProductsQuery.isFetchingNextPage ? (
1473
- <CircularProgress color="#000" width="20px" height="20px" duration="1s" />
1474
- ) : fetchProductsQuery.hasNextPage ? (
1475
- langdetect == 'en' ? (
1476
- 'Load more'
1477
- ) : (
1478
- 'المزيد'
1479
- )
1480
- ) : (
1481
- <CircularProgress color="#000" width="20px" height="20px" duration="1s" />
1482
- )}
1483
- </button> */}
1484
- <PaginatedItems itemsPerPage={5} />
1485
- </div>
1486
- )}
1487
- </div>
1488
- )}
1489
- </div>
1490
- );
1491
- }
1492
- }
1493
- })}
1494
- </div>
1495
- )}
1496
- </div>
1497
- )}
1498
- </div>
1499
- );
1500
- };
1501
- return (
1502
- <div
1503
- ref={refscr}
1504
- class={' row ml-0 mr-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 '}
1505
- style={{
1506
- zIndex: 2,
1507
- background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
1508
- backgroundImage: maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink + maincontainerarrayofobjs[0].back_bgimage + ')' : '',
1509
- backgroundSize: 'cover',
1510
- width: sectionproperties.width + 'vw',
1511
- boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
1512
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
1513
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
1514
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
1515
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
1516
- marginTop: sectionproperties.marginTop + 'px',
1517
- marginBottom: sectionproperties.marginBottom + 'px',
1518
- }}
1519
- >
1520
- {sectionproperties.length != 0 && (
1521
- <div
1522
- class={' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 '}
1523
- style={{
1524
- paddingLeft: sectionproperties.showFilter == 'show' ? (langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px') : 0,
1525
- paddingRight: sectionproperties.showFilter == 'show' ? (langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px') : 0,
1526
- }}
1527
- >
1528
- {sectionproperties.showFilter == 'show' && (
1529
- <div className={sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex ' : sectionproperties.numofcols == '2' ? 'col-lg-2 d-flex' : 'col-lg-3 d-flex'}>
1530
- <Filter sectionpropertiesprops={sectionproperties} actions={actions} openFilterSlider={openFilterSlider} setopenFilterSlider={setopenFilterSlider} />
1531
- </div>
1532
- )}
1533
- {fetchingtype == 'custom' && <>{cardsrender()}</>}
1534
- {fetchingtype != 'custom' && cardsrender()}
1535
- </div>
1536
- )}
1537
- </div>
1538
- );
1539
- };
1540
- export default CardsSection;