tabexseriescomponents 0.2.1280 → 0.2.1283

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