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