tabexseriescomponents 0.0.656 → 0.0.657

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