tabexseriescomponents 0.2.1280 → 0.2.1281

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (389) hide show
  1. package/dist/index.cjs.js +27 -0
  2. package/dist/index.esm.js +27 -0
  3. package/dist/index.umd.js +27 -0
  4. package/package.json +1 -1
  5. package/srcbefore27-11/Contexts/LanguageContext.jsx +0 -408
  6. package/srcbefore27-11/Contexts/ProductsCardsSectionContext.jsx +0 -36
  7. package/srcbefore27-11/Imagekitconfig copy.jsx +0 -46
  8. package/srcbefore27-11/Imagekitconfig.jsx +0 -178
  9. package/srcbefore27-11/StylesJS/Customstyles.js +0 -456
  10. package/srcbefore27-11/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -538
  11. package/srcbefore27-11/TabexComponents/Cards/Card20/Card20.jsx +0 -299
  12. package/srcbefore27-11/TabexComponents/Cards/Card21/Card21.jsx +0 -388
  13. package/srcbefore27-11/TabexComponents/Cards/Card22/Card22.jsx +0 -288
  14. package/srcbefore27-11/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -1630
  15. package/srcbefore27-11/TabexComponents/Cards/Card23/Card23.jsx +0 -733
  16. package/srcbefore27-11/TabexComponents/Cards/CardAll/CardAll.jsx +0 -453
  17. package/srcbefore27-11/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -394
  18. package/srcbefore27-11/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -70
  19. package/srcbefore27-11/TabexComponents/Cards/Cardwithdetailsshowonhover/Cardwithdetailsshowonhover.jsx +0 -1074
  20. package/srcbefore27-11/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -211
  21. package/srcbefore27-11/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -293
  22. package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover/Categorycard_details_onhover.jsx +0 -512
  23. package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover copy/Categorycard_details_onhover.jsx +0 -513
  24. package/srcbefore27-11/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -235
  25. package/srcbefore27-11/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -199
  26. package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -182
  27. package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -184
  28. package/srcbefore27-11/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -161
  29. package/srcbefore27-11/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -208
  30. package/srcbefore27-11/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -560
  31. package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +0 -145
  32. package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -145
  33. package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +0 -142
  34. package/srcbefore27-11/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -193
  35. package/srcbefore27-11/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -605
  36. package/srcbefore27-11/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -817
  37. package/srcbefore27-11/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -468
  38. package/srcbefore27-11/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -593
  39. package/srcbefore27-11/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -208
  40. package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -497
  41. package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -512
  42. package/srcbefore27-11/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -304
  43. package/srcbefore27-11/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -257
  44. package/srcbefore27-11/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -277
  45. package/srcbefore27-11/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -352
  46. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -291
  47. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
  48. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -327
  49. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -408
  50. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -528
  51. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -731
  52. package/srcbefore27-11/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -275
  53. package/srcbefore27-11/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
  54. package/srcbefore27-11/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -138
  55. package/srcbefore27-11/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -611
  56. package/srcbefore27-11/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -600
  57. package/srcbefore27-11/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -225
  58. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -525
  59. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -2321
  60. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -1311
  61. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcardlastversion15-9.jsx +0 -1292
  62. package/srcbefore27-11/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -337
  63. package/srcbefore27-11/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -347
  64. package/srcbefore27-11/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -605
  65. package/srcbefore27-11/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -185
  66. package/srcbefore27-11/TabexComponents/Cards/Variants_J_Cards/Variants_J_Cards.jsx +0 -660
  67. package/srcbefore27-11/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -759
  68. package/srcbefore27-11/TabexComponents/Footer/Footer1/Footer1.jsx +0 -551
  69. package/srcbefore27-11/TabexComponents/Footer/Footer2/Footer2.jsx +0 -731
  70. package/srcbefore27-11/TabexComponents/Footer/Footer3/Footer3.jsx +0 -414
  71. package/srcbefore27-11/TabexComponents/Footer/Footer4/Footer4.jsx +0 -466
  72. package/srcbefore27-11/TabexComponents/Footer/Footer5/Footer5.jsx +0 -776
  73. package/srcbefore27-11/TabexComponents/Footer/Footer6/Footer6.jsx +0 -290
  74. package/srcbefore27-11/TabexComponents/Footer/Footer7/Footer7.jsx +0 -430
  75. package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8 copy.jsx +0 -1970
  76. package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8.jsx +0 -2015
  77. package/srcbefore27-11/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -330
  78. package/srcbefore27-11/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +0 -582
  79. package/srcbefore27-11/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +0 -1165
  80. package/srcbefore27-11/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +0 -646
  81. package/srcbefore27-11/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +0 -110
  82. package/srcbefore27-11/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -332
  83. package/srcbefore27-11/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  84. package/srcbefore27-11/TabexComponents/Generalfiles/images/noimage.png +0 -0
  85. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  86. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  87. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  88. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  89. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  90. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  91. package/srcbefore27-11/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  92. package/srcbefore27-11/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  93. package/srcbefore27-11/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  94. package/srcbefore27-11/TabexComponents/Generalfiles/images/usflag.png +0 -0
  95. package/srcbefore27-11/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  96. package/srcbefore27-11/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -1264
  97. package/srcbefore27-11/TabexComponents/Headers/CategoriesComponent/CategoriesComponent.jsx +0 -375
  98. package/srcbefore27-11/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -1056
  99. package/srcbefore27-11/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -1498
  100. package/srcbefore27-11/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -1289
  101. package/srcbefore27-11/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -76
  102. package/srcbefore27-11/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -907
  103. package/srcbefore27-11/TabexComponents/Headers/FloatingIcons/FloatingIcons.jsx +0 -358
  104. package/srcbefore27-11/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -875
  105. package/srcbefore27-11/TabexComponents/Headers/Header4/Header4.jsx +0 -622
  106. package/srcbefore27-11/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -1026
  107. package/srcbefore27-11/TabexComponents/Headers/Header8/Header8.jsx +0 -3414
  108. package/srcbefore27-11/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -777
  109. package/srcbefore27-11/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -933
  110. package/srcbefore27-11/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -710
  111. package/srcbefore27-11/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -902
  112. package/srcbefore27-11/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -1347
  113. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -1566
  114. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -1201
  115. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -990
  116. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +0 -1639
  117. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +0 -7163
  118. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -1327
  119. package/srcbefore27-11/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -941
  120. package/srcbefore27-11/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -80
  121. package/srcbefore27-11/TabexComponents/Headers/Minimalheader/Minimalheader.jsx +0 -846
  122. package/srcbefore27-11/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -1198
  123. package/srcbefore27-11/TabexComponents/Headers/ParentCollectionsComponent/ParentCollectionsComponent.jsx +0 -385
  124. package/srcbefore27-11/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -784
  125. package/srcbefore27-11/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -1186
  126. package/srcbefore27-11/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +0 -3692
  127. package/srcbefore27-11/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +0 -266
  128. package/srcbefore27-11/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -860
  129. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader copy.jsx +0 -950
  130. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader.jsx +0 -1052
  131. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader13-3.jsx +0 -685
  132. package/srcbefore27-11/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -517
  133. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -555
  134. package/srcbefore27-11/TabexComponents/Headers/SubheaderDropdown/SubheaderDropdown.jsx +0 -610
  135. package/srcbefore27-11/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -1049
  136. package/srcbefore27-11/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -1095
  137. package/srcbefore27-11/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +0 -979
  138. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -533
  139. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -338
  140. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -872
  141. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContentrecent.jsx +0 -895
  142. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -302
  143. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -314
  144. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -318
  145. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -179
  146. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -201
  147. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -421
  148. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +0 -583
  149. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +0 -291
  150. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +0 -822
  151. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm19-8beforeattach.jsx +0 -789
  152. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm22-7.jsx +0 -787
  153. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +0 -348
  154. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -387
  155. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -268
  156. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +0 -295
  157. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/PopupCountryComponent/PopupCountryComponent.jsx +0 -120
  158. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +0 -119
  159. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +0 -99
  160. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -146
  161. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -489
  162. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -296
  163. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -396
  164. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -633
  165. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -509
  166. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -1399
  167. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -1656
  168. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -1540
  169. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -2323
  170. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +0 -1596
  171. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +0 -1872
  172. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx +0 -1891
  173. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +0 -1880
  174. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSectionwithanomation12-1.jsx +0 -2065
  175. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -726
  176. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -719
  177. package/srcbefore27-11/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -406
  178. package/srcbefore27-11/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -966
  179. package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -646
  180. package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -1577
  181. package/srcbefore27-11/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -596
  182. package/srcbefore27-11/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -383
  183. package/srcbefore27-11/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -342
  184. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -161
  185. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -394
  186. package/srcbefore27-11/TabexComponents/Sections/Slideshow/CountDownSection/CountDownSection.jsx +0 -174
  187. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -382
  188. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -651
  189. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +0 -757
  190. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection20-2.jsx +0 -1017
  191. package/srcbefore27-11/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -346
  192. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -3027
  193. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -141
  194. package/srcbefore27-11/TabexComponents/Sections/Slideshow/MarqueeSection/MarqueeSection.jsx +0 -103
  195. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Preloaderone/Preloaderone.jsx +0 -49
  196. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -376
  197. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -384
  198. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards copy.jsx +0 -1576
  199. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -1989
  200. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -226
  201. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -149
  202. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -143
  203. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -634
  204. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -474
  205. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -527
  206. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -665
  207. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -477
  208. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -1217
  209. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +0 -614
  210. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -91
  211. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -380
  212. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -741
  213. package/srcbefore27-11/TabexComponents/Sections/Slideshow/TableSection/TableSection.jsx +0 -423
  214. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -284
  215. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -636
  216. package/srcbefore27-11/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -402
  217. package/srcbefore27-11/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -234
  218. package/srcbefore27-11/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -306
  219. package/srcbefore27-11/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -364
  220. package/srcbefore27-11/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -1000
  221. package/srcbefore27-11/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -460
  222. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -1306
  223. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -2506
  224. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -1633
  225. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout12-12beforeextras.jsx +0 -1999
  226. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -1593
  227. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -1574
  228. package/srcbefore27-11/TabexComponents/StaticPages/Compare/Compare.jsx +0 -79
  229. package/srcbefore27-11/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -245
  230. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -2888
  231. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -1450
  232. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter.jsx +0 -3459
  233. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter1-5.jsx +0 -2624
  234. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter13-11.jsx +0 -2758
  235. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter14-8.jsx +0 -2753
  236. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -1495
  237. package/srcbefore27-11/TabexComponents/StaticPages/Filter/VariantFilter.jsx +0 -1271
  238. package/srcbefore27-11/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -62
  239. package/srcbefore27-11/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -50
  240. package/srcbefore27-11/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
  241. package/srcbefore27-11/TabexComponents/StaticPages/Login/Login copy.jsx +0 -1060
  242. package/srcbefore27-11/TabexComponents/StaticPages/Login/Login.jsx +0 -616
  243. package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -693
  244. package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess2.jsx +0 -173
  245. package/srcbefore27-11/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1831
  246. package/srcbefore27-11/TabexComponents/StaticPages/Policies/Policies.jsx +0 -291
  247. package/srcbefore27-11/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -194
  248. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -183
  249. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -128
  250. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +0 -268
  251. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -190
  252. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -225
  253. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +0 -224
  254. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductFileUploader.jsx +0 -136
  255. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -347
  256. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -262
  257. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +0 -5566
  258. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -1554
  259. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +0 -1827
  260. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +0 -1351
  261. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -1566
  262. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeeuro.jsx +0 -3101
  263. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -3047
  264. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo13-5.jsx +0 -2103
  265. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo_28_6.jsx +0 -2189
  266. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfotoday.jsx +0 -2166
  267. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.js +0 -2714
  268. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -2206
  269. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtypetill28-4-2025.jsx +0 -1158
  270. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -1117
  271. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs4-5.jsx +0 -1043
  272. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabstill28-4-2025.jsx +0 -1040
  273. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -905
  274. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -324
  275. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -145
  276. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +0 -183
  277. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +0 -128
  278. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +0 -140
  279. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +0 -225
  280. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +0 -310
  281. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +0 -235
  282. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +0 -1672
  283. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +0 -1554
  284. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +0 -1351
  285. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +0 -1566
  286. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +0 -1804
  287. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +0 -560
  288. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +0 -928
  289. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +0 -597
  290. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +0 -324
  291. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +0 -145
  292. package/srcbefore27-11/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -194
  293. package/srcbefore27-11/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -346
  294. package/srcbefore27-11/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -367
  295. package/srcbefore27-11/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -222
  296. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -277
  297. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -1135
  298. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -1505
  299. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm12-5beforeemailrequired.jsx +0 -1476
  300. package/srcbefore27-11/TabexComponents/StaticPages/Signup/Signup.jsx +0 -199
  301. package/srcbefore27-11/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -292
  302. package/srcbefore27-11/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -219
  303. package/srcbefore27-11/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -162
  304. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -765
  305. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -786
  306. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -786
  307. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -786
  308. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -1425
  309. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -844
  310. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +0 -555
  311. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -555
  312. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -555
  313. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -815
  314. package/srcbefore27-11/button.jsx +0 -40
  315. package/srcbefore27-11/index.jsx +0 -353
  316. package/srcbefore27-11/styles/Home.module.css +0 -129
  317. package/srcbefore27-11/styles/cards/Categorcycard_fullimage.module.css +0 -14
  318. package/srcbefore27-11/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
  319. package/srcbefore27-11/styles/cards/Categorycard_withshapes.module.css +0 -189
  320. package/srcbefore27-11/styles/cards/ModernCardWithQuantityButton.module.css +0 -30
  321. package/srcbefore27-11/styles/cards/Productcard6.module.css +0 -9
  322. package/srcbefore27-11/styles/cards/Productccard_with_zoominonhover.module.css +0 -94
  323. package/srcbefore27-11/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
  324. package/srcbefore27-11/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -65
  325. package/srcbefore27-11/styles/cards/card23.module.css +0 -60
  326. package/srcbefore27-11/styles/cards/categorycard.module.css +0 -84
  327. package/srcbefore27-11/styles/cards/categorycard3.module.css +0 -50
  328. package/srcbefore27-11/styles/cards/categorycardwithtext.module.css +0 -40
  329. package/srcbefore27-11/styles/cards/generalCardsStyles.module.css +0 -79
  330. package/srcbefore27-11/styles/cards/productcard_animatedbuttons.module.css +0 -139
  331. package/srcbefore27-11/styles/cards/productcard_with_textonhover.module.css +0 -18
  332. package/srcbefore27-11/styles/cards/productcard_withtextonimage.module.css +0 -0
  333. package/srcbefore27-11/styles/cards/productccard_with_imageontopleft.module.css +0 -85
  334. package/srcbefore27-11/styles/general/bootstrap.css +0 -4763
  335. package/srcbefore27-11/styles/general/dropdown.css +0 -206
  336. package/srcbefore27-11/styles/general/editorbardropdown.module.css +0 -94
  337. package/srcbefore27-11/styles/general/filter.module.css +0 -108
  338. package/srcbefore27-11/styles/general/form.module.css +0 -255
  339. package/srcbefore27-11/styles/general/general.module.css +0 -872
  340. package/srcbefore27-11/styles/general/image-gallery.css +0 -531
  341. package/srcbefore27-11/styles/general/react-accessible-accordion.module.css +0 -52
  342. package/srcbefore27-11/styles/general/react-phone-input-2.module.css +0 -927
  343. package/srcbefore27-11/styles/general/scrollbtn.module.css +0 -22
  344. package/srcbefore27-11/styles/general/slick.module.css +0 -166
  345. package/srcbefore27-11/styles/general/tabs.module.css +0 -119
  346. package/srcbefore27-11/styles/general/workplaceeditor.module.css +0 -328
  347. package/srcbefore27-11/styles/globals.css +0 -26
  348. package/srcbefore27-11/styles/headers/CTAHeader.module.css +0 -40
  349. package/srcbefore27-11/styles/headers/CategoryFeaturingHeader.module.css +0 -61
  350. package/srcbefore27-11/styles/headers/Gotoheader.module.css +0 -87
  351. package/srcbefore27-11/styles/headers/Header7.module.css +0 -50
  352. package/srcbefore27-11/styles/headers/HeaderWithAdSlider.module.css +0 -86
  353. package/srcbefore27-11/styles/headers/HeaderWithSearchOnCenter.module.css +0 -101
  354. package/srcbefore27-11/styles/headers/HeaderWithUtilityBar.module.css +0 -46
  355. package/srcbefore27-11/styles/headers/Header_threesectionslogocentered.module.css +0 -84
  356. package/srcbefore27-11/styles/headers/NewHeader.module.css +0 -101
  357. package/srcbefore27-11/styles/headers/SearchFocusedHeader.module.css +0 -62
  358. package/srcbefore27-11/styles/headers/Sideheader.module.css +0 -108
  359. package/srcbefore27-11/styles/headers/Simpleheader.module.css +0 -102
  360. package/srcbefore27-11/styles/headers/classicheader.module.css +0 -16
  361. package/srcbefore27-11/styles/headers/classicheaderstyles.module.css +0 -9
  362. package/srcbefore27-11/styles/headers/dropdown.css +0 -0
  363. package/srcbefore27-11/styles/headers/header4.module.css +0 -175
  364. package/srcbefore27-11/styles/headers/header5.module.css +0 -30
  365. package/srcbefore27-11/styles/headers/header_contactinfo.module.css +0 -53
  366. package/srcbefore27-11/styles/headers/headerresturant.module.css +0 -89
  367. package/srcbefore27-11/styles/headers/modernheader.module.css +0 -45
  368. package/srcbefore27-11/styles/headers/stylishheader.module.css +0 -24
  369. package/srcbefore27-11/styles/headers/subheader.module.css +0 -114
  370. package/srcbefore27-11/styles/headers/threetieredheader.module.css +0 -91
  371. package/srcbefore27-11/styles/sections/BackgroundImageWithTopContent.css +0 -4
  372. package/srcbefore27-11/styles/sections/Backgroundimage1.module.css +0 -17
  373. package/srcbefore27-11/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
  374. package/srcbefore27-11/styles/sections/Freetext.module.css +0 -18
  375. package/srcbefore27-11/styles/sections/Section_with_rightbgcont.module.css +0 -49
  376. package/srcbefore27-11/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
  377. package/srcbefore27-11/styles/sections/Slideshow_with_squarebg.module.css +0 -39
  378. package/srcbefore27-11/styles/staticpages/accordion.module.css +0 -9
  379. package/srcbefore27-11/styles/staticpages/cart.module.css +0 -108
  380. package/srcbefore27-11/styles/staticpages/dropdown.css +0 -196
  381. package/srcbefore27-11/styles/staticpages/filter.module.css +0 -139
  382. package/srcbefore27-11/styles/staticpages/image-gallery.css +0 -481
  383. package/srcbefore27-11/styles/staticpages/login.module.css +0 -155
  384. package/srcbefore27-11/styles/staticpages/productinfo.module.css +0 -54
  385. package/srcbefore27-11/styles/staticpages/shop.module.css +0 -191
  386. package/srcbefore27-11/styles/staticpages/signup.module.css +0 -250
  387. package/srcbefore27-11/styles/staticpages/staticroutersidenav.module.css +0 -129
  388. package/srcbefore27-11/styles/staticpages/viewcart.module.css +0 -129
  389. package/srcbefore27-11/styles/staticpages/wishlist.module.css +0 -29
@@ -1,966 +0,0 @@
1
- // All take sectionidprops & sectionindexprops
2
- import React, { useEffect, useState, useContext, createRef } from 'react';
3
- import { css } from 'glamor';
4
- import { useInView } from 'react-intersection-observer';
5
- import { CircularProgress } from 'react-cssfx-loading';
6
- import { ScrollMenu, VisibilityContext } from 'react-horizontal-scrolling-menu';
7
- import { FiLayers } from '@react-icons/all-files/fi/FiLayers';
8
- const ModernCardsSection = (props) => {
9
- const plainString = (html) => {
10
- var divContainer = document.createElement('div');
11
- divContainer.innerHTML = html;
12
- return divContainer.textContent || divContainer.innerText || '';
13
- };
14
- const refscr = createRef();
15
- const { ref, inView } = useInView();
16
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
17
- const lang = props.actions.lang;
18
- const langdetect = props.actions.langdetect;
19
- const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
20
- const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
21
- const routingcountext = props.actions.routingcountext;
22
- const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
23
- const ProductFilterObjContext = props.actions.ProductFilterObjContext;
24
- const setProductFilterObjContext = props.actions.setProductFilterObjContext;
25
- const TabexSectionsComponentsContext = props.actions.TabexSectionsComponentsContext;
26
- const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
27
- const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
28
- const fetchProductsQuery = props.actions.fetchProductsQuery;
29
- const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
30
- const setParentCollectionsForCollectionQueryArr = props.actions.setParentCollectionsForCollectionQueryArr;
31
- const ParentCollectionsForCollectionQueryArr = props.actions.ParentCollectionsForCollectionQueryArr;
32
- const setfetchingtype = props.actions.setfetchingtype;
33
- const fetchingtype = props.actions.fetchingtype;
34
- const addtofavoritescontext = props.actions.addtofavoritescontext;
35
- const fetchAuthorizationQueryContext = props.actions.fetchAuthorizationQueryContext;
36
- const fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
37
- const FetchVendorsQuery = props.actions.FetchVendorsQuery;
38
- const ikimagecredcontext = props.actions.ikimagecredcontext;
39
- const sortbycontext = props.actions.sortbycontext;
40
- const setsortbycontext = props.actions.setsortbycontext;
41
- const [openFilterSlider, setopenFilterSlider] = useState(false);
42
- const actions = props.actions;
43
- const [sectionproperties, setsectionproperties] = useState('');
44
- const [cardsarray, setcardsarray] = useState([]);
45
- const [sectionitem, setsectionitem] = useState('');
46
- const [ProductsFetchingTypeSectionObj, setProductsFetchingTypeSectionObj] = useState({ productfetchingtype: 'Random', collectionid: '', grouptype: '' });
47
- const [maincontainerarrayofobjs, setmaincontainerarrayofobjs] = useState([]);
48
- const [perpageItems, setperpageItems] = useState(12);
49
- const AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
50
- useEffect(() => {
51
- var productfilerobjtemp = ProductFilterObjContext;
52
- if (props.filterparamsprops != undefined) {
53
- var filterpar = decodeURIComponent(props.filterparamsprops);
54
- var filterparsed = JSON.parse(filterpar);
55
-
56
- if (filterparsed != undefined) {
57
- productfilerobjtemp = filterparsed;
58
- setProductFilterObjContext(filterparsed);
59
- }
60
- }
61
- StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
62
- if (sectionitem.sectionid == props.sectionidprops) {
63
- var secpropobj = {};
64
- setsectionitem(sectionitem);
65
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
66
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
67
- });
68
- setsectionproperties({ ...secpropobj });
69
-
70
- if (props.srcfromprops == 'GeneralProductsComponent') {
71
- setfetchingtype('products');
72
- var lcproductfetchingtype = 'Random';
73
-
74
- if (productfilerobjtemp.ProductFetchingType != undefined && productfilerobjtemp.ProductFetchingType != null && productfilerobjtemp.ProductFetchingType.length != 0) {
75
- lcproductfetchingtype = productfilerobjtemp.ProductFetchingType;
76
- }
77
- setProductsFetchingTypeSectionObj({
78
- productfetchingtype: lcproductfetchingtype,
79
- collectionid: props.collectionidprops,
80
- grouptype: props.grouptypeprops,
81
- grouptyperefid: props.grouptyperefidprops,
82
- });
83
- } else if (props.srcfromprops == 'InnerGroups' || props.srcfromprops == 'InnerCategory' || props.srcfromprops == 'InnerParentCollection') {
84
- setfetchingtype(props.grouptypeprops);
85
- } else if (props.srcfromprops == 'Innervendor') {
86
- setfetchingtype('vendors');
87
- } else {
88
- setfetchingtype(sectionitem.fetchingtype);
89
- setProductsFetchingTypeSectionObj({
90
- productfetchingtype: sectionitem.productsfetchingtype,
91
- collectionid: sectionitem.productsfetchingtypeCollectioncollectionid,
92
- grouptype: props.grouptypeprops,
93
- grouptyperefid: props.grouptyperefidprops,
94
- });
95
- }
96
- }
97
- });
98
- }, [StatePagePropertiesContext]);
99
- useEffect(() => {
100
- if (sectionproperties.length != 0) {
101
- if (cardsarray.length == 0) {
102
- if (fetchingtype == 'collections') {
103
- if (fetchcollectionsQueryContext.isSuccess) {
104
- cardobjassigner(fetchcollectionsQueryContext.data.data.collections);
105
- }
106
- } else if (fetchingtype == 'products') {
107
- if (fetchProductsQuery.isSuccess) {
108
- var allpagesarr = [];
109
- fetchProductsQuery?.data?.data?.products?.forEach((item) => {
110
- allpagesarr.push(item);
111
- });
112
- cardobjassigner(allpagesarr);
113
- }
114
- } else if (fetchingtype == 'vendors') {
115
- if (FetchVendorsQuery.isSuccess) {
116
- cardobjassigner(FetchVendorsQuery?.data?.data?.vendors);
117
- }
118
- }
119
- }
120
- }
121
- }, [sectionproperties]);
122
- useEffect(() => {
123
- if (fetchingtype?.length != 0) {
124
- var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
125
- if (fetchingtype == 'collections') {
126
- if (ProductsFetchingTypeSectionObj.collectionid == 'all' || ProductsFetchingTypeSectionObj.collectionid == null || ProductsFetchingTypeSectionObj.collectionid == undefined) {
127
- setParentCollectionsForCollectionQueryArr('all');
128
- } else {
129
- setParentCollectionsForCollectionQueryArr([ProductsFetchingTypeSectionObj.collectionid]);
130
- }
131
- }
132
- if (fetchingtype == 'products') {
133
- var tempfetchproductsfilerobjcontext = ProductFilterObjContext;
134
- tempfetchproductsfilerobjcontext.ProductFetchingType = ProductsFetchingTypeSectionObj.productfetchingtype;
135
- if (
136
- ProductsFetchingTypeSectionObj.grouptype == 'collections' ||
137
- ProductsFetchingTypeSectionObj.grouptype == 'categories' ||
138
- ProductsFetchingTypeSectionObj.grouptype == 'parentcollections'
139
- ) {
140
- } else {
141
- if (tempfetchproductsfilerobjcontext.collections != undefined) {
142
- tempfetchproductsfilerobjcontext.collections.push(ProductsFetchingTypeSectionObj.collectionid);
143
- }
144
- }
145
- tempfetchproductsfilerobjcontext.grouptype = ProductsFetchingTypeSectionObj.grouptype;
146
- tempfetchproductsfilerobjcontext.grouptyperefid = ProductsFetchingTypeSectionObj.grouptyperefid;
147
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
148
- }
149
-
150
- setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
151
- }
152
- }, [fetchingtype, ProductsFetchingTypeSectionObj]);
153
- useEffect(() => {
154
- if (fetchingtype?.length != 0) {
155
- if (fetchingtype == 'categories') {
156
- var categories = [];
157
- if (fetchCategoriesQueryContext?.isSuccess) {
158
- categories = fetchCategoriesQueryContext?.data?.data?.categories;
159
- }
160
- cardobjassigner(categories);
161
- }
162
-
163
- if (fetchingtype == 'parentcollections' || fetchingtype == 'innercategories') {
164
- var categories = [];
165
- if (fetchCategoriesQueryContext?.isSuccess) {
166
- categories = fetchCategoriesQueryContext?.data?.data?.categories;
167
- }
168
- // if (fetchAuthorizationQueryContext?.isSuccess) {
169
- // var categories = fetchAuthorizationQueryContext.data.data.instinfo.instcategories;
170
- // alert(JSON.stringify(categories));
171
- var parentcollections = [];
172
- categories?.forEach(function (catitem, catindex) {
173
- catitem?.parentcolletions.forEach(function (parentcolitem) {
174
- if (parentcolitem.isshowntocustomers == 1) {
175
- parentcolitem.categoryid = catitem.categoryid;
176
- parentcollections.push(parentcolitem);
177
- }
178
- });
179
- });
180
- if (fetchingtype == 'parentcollections') {
181
- if (
182
- sectionitem?.productsfetchingtypeparentcollectioncategoryid != null &&
183
- sectionitem?.productsfetchingtypeparentcollectioncategoryid != undefined &&
184
- sectionitem?.productsfetchingtypeparentcollectioncategoryid != 'all'
185
- ) {
186
- var arrafterfilter = [];
187
- parentcollections.forEach(function (parentcolitem, parcolindex) {
188
- if (parentcolitem.categoryid == sectionitem?.productsfetchingtypeparentcollectioncategoryid) {
189
- arrafterfilter.push(parentcolitem);
190
- }
191
- });
192
- parentcollections = arrafterfilter;
193
- }
194
- if (props.collectionidprops != null && props.collectionidprops != undefined && props.collectionidprops != 'all') {
195
- var arrafterfilter = [];
196
- parentcollections.forEach(function (parentcolitem, parcolindex) {
197
- if (parentcolitem.categoryid == props.collectionidprops) {
198
- arrafterfilter.push(parentcolitem);
199
- }
200
- });
201
- parentcollections = arrafterfilter;
202
- }
203
- }
204
-
205
- if (fetchingtype == 'innercategories') {
206
- var arrafterfilter = [];
207
- parentcollections.forEach(function (parentcolitem, parcolindex) {
208
- if (parentcolitem.categoryid == props.collectionidprops) {
209
- arrafterfilter.push(parentcolitem);
210
- }
211
- });
212
- parentcollections = arrafterfilter;
213
- }
214
-
215
- cardobjassigner(parentcollections);
216
- // }
217
- } else if (fetchingtype == 'innerparentcollections') {
218
- var categories = [];
219
- if (fetchCategoriesQueryContext?.isSuccess) {
220
- categories = fetchCategoriesQueryContext?.data?.data?.categories;
221
- }
222
- // if (fetchAuthorizationQueryContext?.isSuccess) {
223
- // var categories = fetchAuthorizationQueryContext.data.data.instinfo.instcategories;
224
- var collections = [];
225
- categories?.forEach(function (catitem, catindex) {
226
- catitem?.parentcolletions.forEach(function (parentcolitem) {
227
- parentcolitem.categoryid = catitem.categoryid;
228
- parentcolitem?.collections?.forEach(function (collitem, colindex) {
229
- if (collitem.isshowntocustomers == 1) {
230
- collitem.parentcollectionid = parentcolitem.parentcollectionid;
231
- collections.push(collitem);
232
- }
233
- });
234
- });
235
- });
236
- if (fetchingtype == 'innerparentcollections') {
237
- var collectionsafterfilter = [];
238
- collections.forEach(function (colitem, colindex) {
239
- if (colitem.parentcollectionid == props.collectionidprops) {
240
- var iscollexists = false;
241
- collectionsafterfilter.forEach(function (existcolitem) {
242
- if (colitem.collectionid == existcolitem.collectionid) {
243
- iscollexists = true;
244
- }
245
- });
246
- if (iscollexists == false) {
247
- collectionsafterfilter.push(colitem);
248
- }
249
- }
250
- });
251
- collections = collectionsafterfilter;
252
- }
253
- cardobjassigner(collections);
254
- // }
255
- }
256
- }
257
- }, [fetchingtype, ProductsFetchingTypeSectionObj, fetchCategoriesQueryContext.isSuccess]);
258
- useEffect(() => {
259
- if (fetchingtype == 'products') {
260
- if (fetchProductsQuery.isSuccess && fetchcustomercartQueryContext.isSuccess) {
261
- var allpagesarr = [];
262
- fetchProductsQuery?.data?.data?.products?.forEach((item) => {
263
- allpagesarr.push(item);
264
- });
265
- if (
266
- fetchProductsQuery?.data?.data?.PerPageProducts != undefined &&
267
- fetchProductsQuery?.data?.data?.PerPageProducts != null &&
268
- fetchProductsQuery?.data?.data?.PerPageProducts?.length != 0
269
- ) {
270
- setperpageItems(fetchProductsQuery?.data?.data?.PerPageProducts);
271
- }
272
- cardobjassigner(allpagesarr);
273
- }
274
- }
275
- }, [fetchProductsQuery?.isSuccess, fetchProductsQuery?.dataUpdatedAt, fetchProductsQuery?.data, fetchcustomercartQueryContext?.dataUpdatedAt]);
276
- useEffect(() => {
277
- if (fetchingtype == 'collections') {
278
- if (fetchcollectionsQueryContext.isSuccess) {
279
- cardobjassigner(fetchcollectionsQueryContext.data.data.collections);
280
- }
281
- }
282
- }, [fetchcollectionsQueryContext?.isSuccess, fetchcollectionsQueryContext.data]);
283
- useEffect(() => {
284
- if (fetchingtype == 'vendors') {
285
- if (FetchVendorsQuery.isSuccess) {
286
- if (FetchVendorsQuery.data.data.vendors != undefined && FetchVendorsQuery.data.data.vendors.length != 0) {
287
- cardobjassigner(FetchVendorsQuery?.data?.data?.vendors);
288
- }
289
- }
290
- }
291
- }, [FetchVendorsQuery.isSuccess]);
292
- useEffect(() => {
293
- favassigner();
294
- }, [favoriteprojectscountContext]);
295
- useEffect(() => {
296
- if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
297
- var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
298
- if (Array.isArray(maincontainerarrayofobjsparsed)) {
299
- setmaincontainerarrayofobjs([...maincontainerarrayofobjsparsed]);
300
- }
301
- }
302
- }, [sectionproperties]);
303
- const favassigner = () => {
304
- if (fetchingtype == 'products') {
305
- if (cardsarray.length != 0) {
306
- if (favoriteprojectscountContext != undefined && Array.isArray(favoriteprojectscountContext)) {
307
- var tempcardsarray = [...cardsarray];
308
- tempcardsarray.forEach(function (arrayItem, arrayindex) {
309
- arrayItem.IsFavExists = false;
310
- });
311
- tempcardsarray.forEach(function (arrayItem, arrayindex) {
312
- favoriteprojectscountContext.forEach(function (favitem, favindex) {
313
- if (arrayItem.productid == favitem) {
314
- arrayItem.IsFavExists = true;
315
- }
316
- });
317
- });
318
- setcardsarray([...tempcardsarray]);
319
- }
320
- }
321
- }
322
- };
323
- const cardobjassigner = (fetchedarray) => {
324
- var temparray = [];
325
-
326
- fetchedarray.forEach(function (arrayItem, arrayindex) {
327
- var cardobj = {
328
- name: '',
329
- image: '',
330
- };
331
- if (fetchingtype == 'products') {
332
- var itemquantity = 0;
333
- if (langdetect == 'en') {
334
- cardobj.name = arrayItem.productinfo.name_en;
335
- } else {
336
- cardobj.name = arrayItem.productinfo.name_ar;
337
- }
338
- if (langdetect == 'en') {
339
- cardobj.description = arrayItem.short_description_en;
340
- } else {
341
- cardobj.description = arrayItem.productinfo.description_ar;
342
- }
343
- if (langdetect == 'en') {
344
- cardobj.shortdescription = arrayItem.short_description_ar;
345
- } else {
346
- cardobj.shortdescription = arrayItem.productinfo.description_ar;
347
- }
348
- if (langdetect == 'en') {
349
- cardobj.shortdescription = arrayItem.short_description_en;
350
- } else {
351
- cardobj.shortdescription = arrayItem.short_description_ar;
352
- }
353
- if (arrayItem.productinfo.hasvariants == 0) {
354
- fetchcustomercartQueryContext.data.data.customercart.cartitems.forEach(function (cartitem, cartindex) {
355
- if (cartitem.productid == arrayItem.productinfo.productid) {
356
- itemquantity = cartitem.quantity;
357
- }
358
- });
359
- }
360
- cardobj.image = arrayItem.productinfo.productmainimage;
361
- cardobj.producttags = arrayItem.tags;
362
- if (langdetect == 'en') {
363
- cardobj.productfeature = arrayItem?.features?.value_en;
364
- } else {
365
- cardobj.productfeature = arrayItem?.features?.value_ar;
366
- }
367
-
368
- cardobj.feature_image_url = arrayItem?.features?.featureinfo?.feature_image_url;
369
- cardobj.productendpointurl = arrayItem.productinfo.productendpointurl;
370
- cardobj.hassale = arrayItem.productinfo.hassale;
371
- cardobj.productid = arrayItem.productinfo.productid;
372
- cardobj.hasvariants = arrayItem.productinfo.hasvariants;
373
- cardobj.description_en = arrayItem.productinfo.description_en;
374
- cardobj.description_ar = arrayItem.productinfo.description_ar;
375
- cardobj.defaultprice = arrayItem.productinfo.defaultprice;
376
- cardobj.defaultsaleprice = arrayItem.productinfo.defaultsaleprice;
377
- cardobj.productimages = arrayItem.productinfo.productimages;
378
- cardobj.quantity = itemquantity;
379
- // cardobj.currentquantity = currentquantity;
380
- cardobj.timestamp = arrayItem.productinfo.timestamp;
381
- cardobj.productquantity = arrayItem.productinfo.productquantity;
382
- cardobj.currentquantity = arrayItem.productinfo.currentquantity;
383
- cardobj.quantavailtype = arrayItem.productinfo.quantavailtype;
384
- cardobj.isproducttobesold = arrayItem.productinfo.isproducttobesold;
385
- cardobj.measurmentunit = arrayItem.productinfo.measurmentunit;
386
- cardobj.prodaffpercentprofit = arrayItem.productinfo.prodaffpercentprofit;
387
- cardobj.productcashbackvalue = arrayItem.productinfo.productcashbackvalue;
388
- cardobj.product_phonenumber = arrayItem.productinfo.product_phonenumber;
389
- cardobj.productcanrate = arrayItem.productinfo.productcanrate;
390
- cardobj.sku = arrayItem.productinfo.sku;
391
-
392
- if (langdetect == 'en') {
393
- cardobj.currencyname = fetchAuthorizationQueryContext?.data?.data?.currencyname_en;
394
- } else {
395
- cardobj.currencyname = fetchAuthorizationQueryContext?.data?.data?.currencyname_ar;
396
- }
397
- if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
398
- favoriteprojectscountContext.forEach(function (favitem, favindex) {
399
- if (arrayItem.productinfo.productid == favitem) {
400
- cardobj.IsFavExists = true;
401
- }
402
- });
403
- }
404
- } else if (fetchingtype == 'collections' || fetchingtype == 'innerparentcollections') {
405
- cardobj.collectionid = arrayItem.collectionid;
406
- cardobj.skiplayeronclick = arrayItem?.skiplayeronclick;
407
- if (langdetect == 'en') {
408
- cardobj.name = arrayItem.title_en;
409
- cardobj.description = arrayItem.description_en;
410
- } else if (langdetect == 'ar') {
411
- cardobj.name = arrayItem.title_ar;
412
- cardobj.description = arrayItem.description_ar;
413
- }
414
- cardobj.image = arrayItem.collectionlogo;
415
- cardobj.producttags = [];
416
- cardobj.productfeatures = [];
417
- } else if (fetchingtype == 'categories') {
418
- cardobj.collectionid = arrayItem.categoryid;
419
- cardobj.skiplayeronclick = arrayItem?.skiplayeronclick;
420
- if (langdetect == 'en') {
421
- cardobj.name = arrayItem.title_en;
422
- cardobj.description = arrayItem.description_en;
423
- } else if (langdetect == 'ar') {
424
- cardobj.name = arrayItem.title_ar;
425
- cardobj.description = arrayItem.description_ar;
426
- }
427
- cardobj.image = arrayItem.categorylogo;
428
- cardobj.producttags = [];
429
- cardobj.productfeatures = [];
430
- } else if (fetchingtype == 'parentcollections' || fetchingtype == 'innercategories') {
431
- cardobj.collectionid = arrayItem.parentcollectionid;
432
- cardobj.skiplayeronclick = arrayItem?.skiplayeronclick;
433
- if (langdetect == 'en') {
434
- cardobj.name = arrayItem.title_en;
435
- cardobj.description = arrayItem.description_en;
436
- } else if (langdetect == 'ar') {
437
- cardobj.name = arrayItem.title_ar;
438
- cardobj.description = arrayItem.description_ar;
439
- }
440
- cardobj.image = arrayItem.parentcollectionlogo;
441
- cardobj.producttags = [];
442
- cardobj.productfeatures = [];
443
- } else if (fetchingtype == 'custom') {
444
- cardobj.producttags = [];
445
- cardobj.productfeatures = [];
446
- } else if (fetchingtype == 'vendors') {
447
- cardobj.name = arrayItem.vendorname;
448
- cardobj.collectionid = arrayItem.vendorid;
449
- cardobj.image = arrayItem.vendorlogourl;
450
- cardobj.producttags = [];
451
- cardobj.productfeatures = [];
452
- }
453
- temparray.push(cardobj);
454
- });
455
-
456
- setcardsarray([...temparray]);
457
- };
458
- // Example items, to simulate fetching from another resources.
459
- const handlePageClick = (event) => {
460
- props.scrolltotop();
461
- var tempProductFilterObjContext = { ...ProductFilterObjContext };
462
- tempProductFilterObjContext.page = event?.selected;
463
- setProductFilterObjContext({ ...tempProductFilterObjContext });
464
- var pasturl = '';
465
- if (props.grouptypeprops != undefined) {
466
- if (props.collectionidprops != undefined) {
467
- pasturl = props.grouptypeprops + '/' + props.collectionidprops + '/';
468
- }
469
- }
470
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, pasturl + encodeURIComponent(JSON.stringify(tempProductFilterObjContext)));
471
- };
472
- function PaginatedItems({ itemsPerPage }) {
473
- // const pageCount = Math.ceil(fetchProductsQuery?.data?.data?.productscou / 12);
474
- const pageCount = Math.ceil(fetchProductsQuery?.data?.data?.productscou / perpageItems);
475
- if (fetchProductsQuery?.data?.data?.page != undefined && fetchProductsQuery?.data?.data?.page != null) {
476
- var currentpage = parseInt(fetchProductsQuery?.data?.data?.page);
477
- return (
478
- <div class="d-flex containerClassName">
479
- <ReactPaginate
480
- breakLabel="..."
481
- forcePage={currentpage}
482
- nextLabel={<FiChevronRight size={parseInt(sectionproperties.paginationFontSize) + 3} />}
483
- onPageChange={handlePageClick}
484
- active
485
- pageRangeDisplayed={5}
486
- pageCount={pageCount}
487
- previousLabel={<FiChevronLeft size={parseInt(sectionproperties.paginationFontSize) + 3} />}
488
- renderOnZeroPageCount={null}
489
- pageLinkClassName={section_cssstyles.pageLinkClassName}
490
- nextLinkClassName={section_cssstyles.nextLinkClassName}
491
- previousLinkClassName={section_cssstyles.previousLinkClassName}
492
- activeClassName={section_cssstyles.activeClassName}
493
- activeLinkClassName={section_cssstyles.activeLinkClassName}
494
- previousClassName={section_cssstyles.previousClassName}
495
- nextClassName={section_cssstyles.nextClassName}
496
- disabledClassName={section_cssstyles.disabledClassName}
497
- disabledLinkClassName={section_cssstyles.disabledLinkClassName}
498
- />
499
- </div>
500
- );
501
- }
502
- }
503
-
504
- const SectionTitle = () => {
505
- return (
506
- <div
507
- class="d-flex align-items-center flex-row justify-content-md-center"
508
- style={{
509
- position: 'relative',
510
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
511
- width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
512
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
513
- }}
514
- >
515
- {sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={section_cssstyles.line_left}></span>}
516
- <p
517
- class={
518
- sectionproperties.sectiontitlefontfamily == 'Pacifico'
519
- ? `${section_cssstyles.sectiontitlespan}` + ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
520
- : sectionproperties.sectiontitlefontfamily == 'Playfair'
521
- ? `${section_cssstyles.sectiontitlespan}` + ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
522
- : sectionproperties.sectiontitlefontfamily == 'Great Vibes'
523
- ? `${section_cssstyles.sectiontitlespan}` + ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
524
- : sectionproperties.sectiontitlefontfamily == 'Quicksand'
525
- ? `${section_cssstyles.sectiontitlespan}` + ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
526
- : sectionproperties.sectiontitlefontfamily == 'Satisfy'
527
- ? `${section_cssstyles.sectiontitlespan}` + ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
528
- : sectionproperties.sectiontitlefontfamily == 'ASUL'
529
- ? `${section_cssstyles.sectiontitlespan}` + ' ASUL mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
530
- : `${section_cssstyles.sectiontitlespan}` + ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
531
- }
532
- style={{
533
- color: sectionproperties.sectionTitleColor,
534
- fontWeight: sectionproperties.sectionTitleFontWeight,
535
- paddingLeft: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
536
- paddingRight: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
537
- textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
538
- }}
539
- >
540
- {langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
541
- </p>
542
- {sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={section_cssstyles.line_right}></span>}
543
- </div>
544
- );
545
- };
546
- const isCardsectionloading = () => {
547
- var isloading = false;
548
-
549
- if (fetchingtype == 'products') {
550
- if (fetchProductsQuery?.isFetching) {
551
- isloading = true;
552
- }
553
- } else if (fetchingtype == 'vendors') {
554
- if (FetchVendorsQuery?.isFetching) {
555
- isloading = true;
556
- }
557
- } else {
558
- if (fetchCategoriesQueryContext?.isFetching == true || fetchCategoriesQueryContext?.isFetching == true) {
559
- isloading = true;
560
- }
561
- }
562
-
563
- return isloading;
564
- };
565
- const show_product_group_titles = () => {
566
- var title_en = '';
567
- var title_ar = '';
568
- var description_en = '';
569
- var description_ar = '';
570
- var logo = '';
571
- var type = '';
572
- var id = '';
573
- if (ProductFilterObjContext['collections'] != undefined && Array.isArray(ProductFilterObjContext['collections']) && ProductFilterObjContext['collections'][0] != undefined) {
574
- id = ProductFilterObjContext['collections'][0];
575
- }
576
- if (id != null && id != '' && id != 'all') {
577
- fetchCategoriesQueryContext?.data?.data?.categories?.map(function (catitem) {
578
- if (catitem.categoryid == id) {
579
- title_en = catitem.title_en;
580
- title_ar = catitem.title_ar;
581
- description_en = catitem.description_en;
582
- description_ar = catitem.description_ar;
583
- logo = catitem.categorylogo;
584
- type = 'category';
585
- }
586
- if (title_en == '') {
587
- catitem?.parentcolletions?.map(function (parentitem) {
588
- if (parentitem.parentcollectionid == id) {
589
- title_en = parentitem.title_en;
590
- title_ar = parentitem.title_ar;
591
- description_en = parentitem.description_en;
592
- description_ar = parentitem.description_ar;
593
- logo = parentitem.parentcollectionlogo;
594
- type = 'parentcollection';
595
- }
596
- if (title_en == '') {
597
- parentitem?.collections?.map(function (colitem) {
598
- if (colitem.collectionid == id) {
599
- title_en = colitem.title_en;
600
- title_ar = colitem.title_ar;
601
- description_en = colitem.description_en;
602
- description_ar = colitem.description_ar;
603
- logo = colitem.collectionlogo;
604
- type = 'collection';
605
- }
606
- });
607
- }
608
- });
609
- }
610
- });
611
- }
612
- return { title_en: title_en, title_ar: title_ar, description_en: description_en, description_ar: description_ar, type: type, id: id, logo: logo };
613
- };
614
- const section_cssstyles = {
615
- viewmorebtn: css({
616
- width: sectionproperties.viewmorebtn_Width == 0 ? 'auto' : sectionproperties.viewmorebtn_Width + 'px',
617
- height: sectionproperties.viewmorebtn_Height == 0 ? 'auto' : sectionproperties.viewmorebtn_Height + 'px',
618
- background: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColor,
619
- borderRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
620
- color: sectionproperties.viewmorebtn_Textcolor,
621
- fontSize: sectionproperties.viewmorebtn_fontSize + 'px',
622
- fontWeight: sectionproperties.viewmorebtn_fontWeight,
623
- textDecoration: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? (sectionproperties.viewmorebtnborderwidth == 0 ? 'underline' : 'none') : 'none',
624
- transition: '.3s',
625
- border: sectionproperties.viewmorebtnborderwidth + 'px solid ' + sectionproperties.viewmorebtnbordercolor,
626
- ':hover': {
627
- background: sectionproperties.viewmorebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColoronhover,
628
- color: sectionproperties.viewmorebtn_Textcoloronhover,
629
- borderColor: sectionproperties.viewmorebtn_Textcoloronhover,
630
- },
631
- }),
632
- loadbtn: css({
633
- fontSize: sectionproperties.generaltext_fontSize + 'px',
634
- color: sectionproperties.generaltext_fontColor,
635
- fontWeight: sectionproperties.generaltext_fontWeight,
636
- textDecoration: 'underline',
637
- transition: '.3s',
638
- ':hover': {
639
- color: sectionproperties.text_secondarycolor,
640
- },
641
- }),
642
- line_left: css({
643
- height: '1px',
644
- position: 'relative',
645
- flex: '1 1 auto',
646
- minWidth: '10%',
647
- background: sectionproperties.linebgcolor,
648
- }),
649
- line_right: css({
650
- height: '1px',
651
- position: 'relative',
652
- flex: '1 1 auto',
653
- minWidth: '10%',
654
- background: sectionproperties.linebgcolor,
655
- }),
656
- sectiontitlecont: css({
657
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
658
- '@media (max-width: 1024px)': {
659
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontalresponsive + 'rem',
660
- paddingRight: sectionproperties.sectiontitlepaddinghorizontalresponsive + 'rem',
661
- },
662
- }),
663
- };
664
-
665
- const cardsrender = () => {
666
- return (
667
- <div
668
- class="row m-0 w-100"
669
- style={{
670
- height: '100%',
671
- }}
672
- >
673
- <div class="col-lg-12 p-0">
674
- {sectionproperties.length != 0 && (
675
- <div class="row m-0 w-100 " style={{ position: 'relative' }}>
676
- <div class="col-lg-3 allcentered p-0">
677
- <div class={section_cssstyles.sectiontitlecont + ' row mx-0 allcentered w-100 mt-sm-0 '}>
678
- <div
679
- class={' col-lg-12 p-0 d-flex d-md-none align-items-center justify-content-md-center '}
680
- style={{
681
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
682
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
683
- }}
684
- >
685
- {SectionTitle()}
686
- </div>
687
-
688
- <div
689
- class={' col-lg-12 p-0 d-none d-md-flex align-items-center justify-content-md-center '}
690
- style={{
691
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
692
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
693
- }}
694
- >
695
- {SectionTitle()}
696
- </div>
697
- {sectionproperties.prodCatShow == 'Show' && (
698
- <div
699
- class={
700
- sectionproperties.sectiontitleposition == 'Centered'
701
- ? 'col-lg-12 d-flex align-items-center justify-content-center justify-content-md-center '
702
- : 'col-lg-12 d-flex align-items-center justify-content-start p-0 justify-content-md-center'
703
- }
704
- style={{ marginBottom: sectionproperties.descriptionMarginBottom + 'px' }}
705
- >
706
- <p
707
- class={
708
- sectionproperties.descFontFamily == 'Pacifico'
709
- ? ' PacificoFont m-0 p-0 wordbreak text-md-center '
710
- : sectionproperties.descFontFamily == 'Playfair'
711
- ? ' PlayfairFont m-0 p-0 wordbreak text-md-center '
712
- : sectionproperties.descFontFamily == 'Great Vibes'
713
- ? ' GreatvibesFont m-0 p-0 wordbreak text-md-center '
714
- : sectionproperties.descFontFamily == 'Quicksand'
715
- ? ' QuicksandFont m-0 p-0 wordbreak text-md-center '
716
- : ' m-0 p-0 wordbreak text-md-center '
717
- }
718
- style={{
719
- fontSize: sectionproperties.prodCatFontSize + 'px',
720
- color: sectionproperties.prodCatColor,
721
- fontWeight: sectionproperties.prodCatFontWeight,
722
- textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
723
- }}
724
- >
725
- {langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
726
- </p>
727
- </div>
728
- )}
729
- {sectionproperties.viewmorebtnshow == 'Show' && (
730
- <div
731
- class={
732
- sectionproperties.sectiontitleposition == 'Centered'
733
- ? 'col-lg-12 mb-md-3 mt-md-3 d-flex align-items-center justify-content-center p-0'
734
- : 'col-lg-12 mb-md-3 mt-md-3 d-flex align-items-center justify-content-start justify-content-md-center p-0'
735
- }
736
- >
737
- <button
738
- class={`${section_cssstyles.viewmorebtn}` + ' allcentered '}
739
- onClick={() => {
740
- if (fetchingtype == 'products') {
741
- if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
742
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
743
- } else {
744
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
745
- }
746
- } else {
747
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
748
- }
749
- }}
750
- >
751
- <span
752
- class={
753
- sectionproperties.sectiontitleposition == 'Centered'
754
- ? 'd-flex justify-content-center align-items-center'
755
- : 'd-flex justify-content-center align-items-center '
756
- }
757
- >
758
- {langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar}
759
- </span>
760
- </button>
761
- </div>
762
- )}
763
- </div>
764
- </div>
765
-
766
- <div class={langdetect == 'en' ? 'col-lg-9 col-md-12 d-flex justify-content-center ml-auto p-0' : 'col-lg-9 col-md-12 d-flex justify-content-center mr-auto p-0'}>
767
- <div class="row m-0 w-100">
768
- {!fetchProductsQuery.isFetching && cardsarray.length == 0 && (
769
- <div class="row m-0 w-100 d-flex align-items-center" style={{ height: '50vh' }}>
770
- <div className="col-lg-12 text-light d-flex align-items-center justify-content-center flex-column">
771
- <FiLayers
772
- style={{
773
- fontSize: sectionproperties.noprod_iconfontSize + 'px',
774
- color: sectionproperties.noprod_iconcolor,
775
- }}
776
- />
777
- <p
778
- class="m-0 p-0 mt-2"
779
- style={{
780
- fontWeight: sectionproperties.noprod_fontWeight,
781
- color: sectionproperties.noprod_color,
782
- fontSize: sectionproperties.noprod_fontSize + 'px',
783
- }}
784
- >
785
- {langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar}
786
- </p>
787
- </div>
788
- </div>
789
- )}
790
- {cardsarray.length != 0 &&
791
- StatePagePropertiesContext.pageobj.sections[props.sectionindexprops].childsections.map((item, index) => {
792
- if (item.tabexsectioninfo != null) {
793
- if (item.sectionstructype == 'child' && TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname] != undefined) {
794
- var Sectioncomp = TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname];
795
- return (
796
- <div class="row m-0 w-100 d-flex justify-content-center">
797
- <div class={langdetect == 'en' ? 'col-lg-12 p-0 pl-md-2 pr-md-0' : 'col-lg-12 p-0 pl-md-0 pr-md-2 '}>
798
- <ScrollMenu
799
- transitionBehavior={'auto'}
800
- wrapperClassName={''}
801
- itemClassName={
802
- item.tabexsectioninfo.sectioncompname == 'Productcard6'
803
- ? 'scrollmenuclassnameitemProductcard6'
804
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
805
- ? 'scrollmenuclassnameitemProductcardcircularhover'
806
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
807
- ? 'scrollmenuclassnameitemProductcard_with_circularbg'
808
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
809
- ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition'
810
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation'
811
- ? 'scrollmenuclassnameitemProductcard_with_slideanimation'
812
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext'
813
- ? 'scrollmenuclassnameitemCategorycard_withtext'
814
- : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons'
815
- ? 'scrollmenuclassnameitemProductcard_animatedbuttons'
816
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants'
817
- ? 'scrollmenuclassnameitemProductcard_with_variants'
818
- : item.tabexsectioninfo.sectioncompname == 'Productcarddefault'
819
- ? 'scrollmenuclassnameitemProductcarddefault'
820
- : // : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard'
821
- // ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard '
822
- item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg'
823
- ? 'scrollmenuclassnameitemCategorycard_with_trianglebg'
824
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover'
825
- ? 'scrollmenuclassnameitemProductcard_with_textonhover'
826
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled'
827
- ? 'scrollmenuclassnameitemCategorycard_slidebgscaled'
828
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
829
- ? 'scrollmenuclassnameitemCategorycard_Categorycard_fullimage'
830
- : item.tabexsectioninfo.sectioncompname == 'Card20'
831
- ? 'scrollmenuclassnameitemCard20'
832
- : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard'
833
- ? 'scrollmenuclassnameitemUpSlideEffectCard'
834
- : ''
835
- }
836
- scrollContainerClassName={'scrollmenuclasssubscrollbar'}
837
- >
838
- {cardsarray.map((cardinfoitem, cardinfoindex) => {
839
- return (
840
- <div
841
- class={' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 '}
842
- style={{
843
- paddingRight: sectionproperties.card_marginRight + 'px',
844
- paddingLeft: sectionproperties.card_marginLeft + 'px',
845
- }}
846
- >
847
- <Sectioncomp
848
- sectiontypeprops={'horizontal'}
849
- fetchingtypeprops={fetchingtype}
850
- cardinfoindexprops={cardinfoindex}
851
- cardinfoitemprops={cardinfoitem}
852
- sectionindexprops={index}
853
- sectionidprops={item.sectionid}
854
- actions={actions}
855
- sectiontypeprops2={'horizontal'}
856
- />
857
- </div>
858
- );
859
- })}
860
- {fetchingtype == 'products' && fetchProductsQuery.isFetchingNextPage && (
861
- <button
862
- className={section_cssstyles.loadbtn + ' d-flex justify-content-end align-items-center '}
863
- ref={ref}
864
- onClick={() => fetchProductsQuery.fetchNextPage()}
865
- disabled={!fetchProductsQuery.hasNextPage || fetchProductsQuery.isFetchingNextPage}
866
- >
867
- <CircularProgress color="#000" width="20px" height="20px" duration="1s" />
868
- </button>
869
- )}
870
- </ScrollMenu>
871
- </div>
872
- </div>
873
- );
874
- }
875
- }
876
- })}
877
- </div>
878
- </div>
879
- </div>
880
- )}
881
- </div>
882
- </div>
883
- );
884
- };
885
- return (
886
- <div
887
- class={' row ml-0 mr-0 d-flex w-100 justify-content-center '}
888
- style={{
889
- zIndex: 2,
890
- }}
891
- >
892
- {sectionproperties.length != 0 && sectionproperties.showanimation == 'Yes' && (
893
- <div
894
- class={
895
- sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
896
- ? ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 pl-0 pr-0 '
897
- : sectionproperties.paddingRight != 0 && langdetect == 'en'
898
- ? ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 pr-md-2 pr-sm-2 '
899
- : sectionproperties.paddingRight != 0 && langdetect == 'ar'
900
- ? ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 pl-md-2 pl-sm-2 '
901
- : sectionproperties.paddingLeft != 0 && langdetect == 'en'
902
- ? ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 pl-md-2 pl-sm-2 '
903
- : sectionproperties.paddingLeft != 0 && langdetect == 'ar'
904
- ? ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 pr-md-2 pr-sm-2 '
905
- : ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 justify-content-center '
906
- }
907
- data-aos={'fade-up'}
908
- style={{
909
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
910
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
911
- paddingTop: sectionproperties.paddingTop + 'px',
912
- paddingBottom: sectionproperties.paddingBottom + 'px',
913
- marginTop: sectionproperties.marginTop + 'px',
914
- marginBottom: sectionproperties.marginBottom + 'px',
915
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
916
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
917
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
918
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
919
- boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
920
- borderColor: sectionproperties.sectioncardbordercolor,
921
- border: sectionproperties.sectioncardborderwidth + 'px solid',
922
- background: sectionproperties.backgroundColor,
923
- }}
924
- >
925
- {cardsrender()}
926
- </div>
927
- )}
928
- {sectionproperties.length != 0 && sectionproperties.showanimation != 'Yes' && (
929
- <div
930
- class={
931
- sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
932
- ? ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 pl-0 pr-0 '
933
- : sectionproperties.paddingRight != 0 && langdetect == 'en'
934
- ? ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 pr-md-2 pr-sm-2 '
935
- : sectionproperties.paddingRight != 0 && langdetect == 'ar'
936
- ? ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 pl-md-2 pl-sm-2 '
937
- : sectionproperties.paddingLeft != 0 && langdetect == 'en'
938
- ? ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 pl-md-2 pl-sm-2 '
939
- : sectionproperties.paddingLeft != 0 && langdetect == 'ar'
940
- ? ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 pr-md-2 pr-sm-2 '
941
- : ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 justify-content-center '
942
- }
943
- style={{
944
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
945
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
946
- paddingTop: sectionproperties.paddingTop + 'px',
947
- paddingBottom: sectionproperties.paddingBottom + 'px',
948
- marginTop: sectionproperties.marginTop + 'px',
949
- marginBottom: sectionproperties.marginBottom + 'px',
950
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
951
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
952
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
953
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
954
- boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
955
- borderColor: sectionproperties.sectioncardbordercolor,
956
- border: sectionproperties.sectioncardborderwidth + 'px solid',
957
- background: sectionproperties.backgroundColor,
958
- }}
959
- >
960
- {cardsrender()}
961
- </div>
962
- )}
963
- </div>
964
- );
965
- };
966
- export default ModernCardsSection;