tabexseriescomponents 0.2.1279 → 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 +277 -0
  2. package/dist/index.esm.js +277 -0
  3. package/dist/index.umd.js +277 -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,726 +0,0 @@
1
- // All take sectionidprops & sectionindexprops
2
- import React, { useEffect, useState, 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
-
9
- const CardsSection2 = (props) => {
10
- const plainString = (html) => {
11
- var divContainer = document.createElement('div');
12
- divContainer.innerHTML = html;
13
- return divContainer.textContent || divContainer.innerText || '';
14
- };
15
- const refscr = createRef();
16
- const { ref, inView } = useInView();
17
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
18
- const lang = props.actions.lang;
19
- const langdetect = props.actions.langdetect;
20
- const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
21
- const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
22
- const routingcountext = props.actions.routingcountext;
23
- const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
24
- const ProductFilterObjContext = props.actions.ProductFilterObjContext;
25
- const setProductFilterObjContext = props.actions.setProductFilterObjContext;
26
- const TabexSectionsComponentsContext = props.actions.TabexSectionsComponentsContext;
27
- const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
28
- const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
29
- const fetchProductsQuery = props.actions.fetchProductsQuery;
30
- const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
31
- const setParentCollectionsForCollectionQueryArr = props.actions.setParentCollectionsForCollectionQueryArr;
32
- const ParentCollectionsForCollectionQueryArr = props.actions.ParentCollectionsForCollectionQueryArr;
33
- const setfetchingtype = props.actions.setfetchingtype;
34
- const fetchingtype = props.actions.fetchingtype;
35
- const addtofavoritescontext = props.actions.addtofavoritescontext;
36
- const fetchAuthorizationQueryContext = props.actions.fetchAuthorizationQueryContext;
37
- const fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
38
- const FetchVendorsQuery = props.actions.FetchVendorsQuery;
39
- const ikimagecredcontext = props.actions.ikimagecredcontext;
40
- const sortbycontext = props.actions.sortbycontext;
41
- const setsortbycontext = props.actions.setsortbycontext;
42
- const [openFilterSlider, setopenFilterSlider] = useState(false);
43
- const actions = props.actions;
44
- const [sectionproperties, setsectionproperties] = useState('');
45
- const [cardsarray, setcardsarray] = useState([]);
46
- const [sectionitem, setsectionitem] = useState('');
47
- const [ProductsFetchingTypeSectionObj, setProductsFetchingTypeSectionObj] = useState({ productfetchingtype: 'Random', collectionid: '', grouptype: '' });
48
- const [maincontainerarrayofobjs, setmaincontainerarrayofobjs] = useState([]);
49
- const [perpageItems, setperpageItems] = useState(12);
50
- const AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
51
- useEffect(() => {
52
- var productfilerobjtemp = ProductFilterObjContext;
53
- if (props.filterparamsprops != undefined) {
54
- var filterpar = decodeURIComponent(props.filterparamsprops);
55
- var filterparsed = JSON.parse(filterpar);
56
-
57
- if (filterparsed != undefined) {
58
- productfilerobjtemp = filterparsed;
59
- setProductFilterObjContext(filterparsed);
60
- }
61
- }
62
- StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
63
- if (sectionitem.sectionid == props.sectionidprops) {
64
- var secpropobj = {};
65
- setsectionitem(sectionitem);
66
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
67
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
68
- });
69
- setsectionproperties({ ...secpropobj });
70
-
71
- if (props.srcfromprops == 'GeneralProductsComponent') {
72
- setfetchingtype('products');
73
- var lcproductfetchingtype = 'Random';
74
-
75
- if (productfilerobjtemp.ProductFetchingType != undefined && productfilerobjtemp.ProductFetchingType != null && productfilerobjtemp.ProductFetchingType.length != 0) {
76
- lcproductfetchingtype = productfilerobjtemp.ProductFetchingType;
77
- }
78
- setProductsFetchingTypeSectionObj({
79
- productfetchingtype: lcproductfetchingtype,
80
- collectionid: props.collectionidprops,
81
- grouptype: props.grouptypeprops,
82
- grouptyperefid: props.grouptyperefidprops,
83
- });
84
- } else if (props.srcfromprops == 'InnerGroups' || props.srcfromprops == 'InnerCategory' || props.srcfromprops == 'InnerParentCollection') {
85
- setfetchingtype(props.grouptypeprops);
86
- } else if (props.srcfromprops == 'Innervendor') {
87
- setfetchingtype('vendors');
88
- } else {
89
- setfetchingtype(sectionitem.fetchingtype);
90
- setProductsFetchingTypeSectionObj({
91
- productfetchingtype: sectionitem.productsfetchingtype,
92
- collectionid: sectionitem.productsfetchingtypeCollectioncollectionid,
93
- grouptype: props.grouptypeprops,
94
- grouptyperefid: props.grouptyperefidprops,
95
- });
96
- }
97
- }
98
- });
99
- }, [StatePagePropertiesContext]);
100
- useEffect(() => {
101
- if (sectionproperties.length != 0) {
102
- if (cardsarray.length == 0) {
103
- if (fetchingtype == 'collections') {
104
- if (fetchcollectionsQueryContext.isSuccess) {
105
- cardobjassigner(fetchcollectionsQueryContext.data.data.collections);
106
- }
107
- } else if (fetchingtype == 'products') {
108
- if (fetchProductsQuery.isSuccess) {
109
- var allpagesarr = [];
110
- fetchProductsQuery?.data?.data?.products?.forEach((item) => {
111
- allpagesarr.push(item);
112
- });
113
- cardobjassigner(allpagesarr);
114
- }
115
- } else if (fetchingtype == 'vendors') {
116
- if (FetchVendorsQuery.isSuccess) {
117
- cardobjassigner(FetchVendorsQuery?.data?.data?.vendors);
118
- }
119
- }
120
- }
121
- }
122
- }, [sectionproperties]);
123
- useEffect(() => {
124
- if (fetchingtype?.length != 0) {
125
- var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
126
- if (fetchingtype == 'collections') {
127
- if (ProductsFetchingTypeSectionObj.collectionid == 'all' || ProductsFetchingTypeSectionObj.collectionid == null || ProductsFetchingTypeSectionObj.collectionid == undefined) {
128
- setParentCollectionsForCollectionQueryArr('all');
129
- } else {
130
- setParentCollectionsForCollectionQueryArr([ProductsFetchingTypeSectionObj.collectionid]);
131
- }
132
- }
133
- if (fetchingtype == 'products') {
134
- var tempfetchproductsfilerobjcontext = ProductFilterObjContext;
135
- tempfetchproductsfilerobjcontext.ProductFetchingType = ProductsFetchingTypeSectionObj.productfetchingtype;
136
- if (
137
- ProductsFetchingTypeSectionObj.grouptype == 'collections' ||
138
- ProductsFetchingTypeSectionObj.grouptype == 'categories' ||
139
- ProductsFetchingTypeSectionObj.grouptype == 'parentcollections'
140
- ) {
141
- } else {
142
- if (tempfetchproductsfilerobjcontext.collections != undefined) {
143
- tempfetchproductsfilerobjcontext.collections.push(ProductsFetchingTypeSectionObj.collectionid);
144
- }
145
- }
146
- tempfetchproductsfilerobjcontext.grouptype = ProductsFetchingTypeSectionObj.grouptype;
147
- tempfetchproductsfilerobjcontext.grouptyperefid = ProductsFetchingTypeSectionObj.grouptyperefid;
148
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
149
- }
150
-
151
- setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
152
- }
153
- }, [fetchingtype, ProductsFetchingTypeSectionObj]);
154
-
155
- useEffect(() => {
156
- if (fetchingtype?.length != 0) {
157
- if (fetchingtype == 'categories') {
158
- var categories = [];
159
- if (fetchCategoriesQueryContext?.isSuccess) {
160
- categories = fetchCategoriesQueryContext?.data?.data?.categories;
161
- }
162
- cardobjassigner(categories);
163
- }
164
-
165
- if (fetchingtype == 'parentcollections' || fetchingtype == 'innercategories') {
166
- var categories = [];
167
- if (fetchCategoriesQueryContext?.isSuccess) {
168
- categories = fetchCategoriesQueryContext?.data?.data?.categories;
169
- }
170
- // if (fetchAuthorizationQueryContext?.isSuccess) {
171
- // var categories = fetchAuthorizationQueryContext.data.data.instinfo.instcategories;
172
- // alert(JSON.stringify(categories));
173
- var parentcollections = [];
174
- categories?.forEach(function (catitem, catindex) {
175
- catitem?.parentcolletions.forEach(function (parentcolitem) {
176
- if (parentcolitem.isshowntocustomers == 1) {
177
- parentcolitem.categoryid = catitem.categoryid;
178
- parentcollections.push(parentcolitem);
179
- }
180
- });
181
- });
182
- if (fetchingtype == 'parentcollections') {
183
- if (
184
- sectionitem?.productsfetchingtypeparentcollectioncategoryid != null &&
185
- sectionitem?.productsfetchingtypeparentcollectioncategoryid != undefined &&
186
- sectionitem?.productsfetchingtypeparentcollectioncategoryid != 'all'
187
- ) {
188
- var arrafterfilter = [];
189
- parentcollections.forEach(function (parentcolitem, parcolindex) {
190
- if (parentcolitem.categoryid == sectionitem?.productsfetchingtypeparentcollectioncategoryid) {
191
- arrafterfilter.push(parentcolitem);
192
- }
193
- });
194
- parentcollections = arrafterfilter;
195
- }
196
- if (props.collectionidprops != null && props.collectionidprops != undefined && props.collectionidprops != 'all') {
197
- var arrafterfilter = [];
198
- parentcollections.forEach(function (parentcolitem, parcolindex) {
199
- if (parentcolitem.categoryid == props.collectionidprops) {
200
- arrafterfilter.push(parentcolitem);
201
- }
202
- });
203
- parentcollections = arrafterfilter;
204
- }
205
- }
206
-
207
- if (fetchingtype == 'innercategories') {
208
- var arrafterfilter = [];
209
- parentcollections.forEach(function (parentcolitem, parcolindex) {
210
- if (parentcolitem.categoryid == props.collectionidprops) {
211
- arrafterfilter.push(parentcolitem);
212
- }
213
- });
214
- parentcollections = arrafterfilter;
215
- }
216
-
217
- cardobjassigner(parentcollections);
218
- // }
219
- } else if (fetchingtype == 'innerparentcollections') {
220
- var categories = [];
221
- if (fetchCategoriesQueryContext?.isSuccess) {
222
- categories = fetchCategoriesQueryContext?.data?.data?.categories;
223
- }
224
- // if (fetchAuthorizationQueryContext?.isSuccess) {
225
- // var categories = fetchAuthorizationQueryContext.data.data.instinfo.instcategories;
226
- var collections = [];
227
- categories?.forEach(function (catitem, catindex) {
228
- catitem?.parentcolletions.forEach(function (parentcolitem) {
229
- parentcolitem.categoryid = catitem.categoryid;
230
- parentcolitem?.collections?.forEach(function (collitem, colindex) {
231
- if (collitem.isshowntocustomers == 1) {
232
- collitem.parentcollectionid = parentcolitem.parentcollectionid;
233
- collections.push(collitem);
234
- }
235
- });
236
- });
237
- });
238
- if (fetchingtype == 'innerparentcollections') {
239
- var collectionsafterfilter = [];
240
- collections.forEach(function (colitem, colindex) {
241
- if (colitem.parentcollectionid == props.collectionidprops) {
242
- var iscollexists = false;
243
- collectionsafterfilter.forEach(function (existcolitem) {
244
- if (colitem.collectionid == existcolitem.collectionid) {
245
- iscollexists = true;
246
- }
247
- });
248
- if (iscollexists == false) {
249
- collectionsafterfilter.push(colitem);
250
- }
251
- }
252
- });
253
- collections = collectionsafterfilter;
254
- }
255
- cardobjassigner(collections);
256
- // }
257
- }
258
- }
259
- }, [fetchingtype, ProductsFetchingTypeSectionObj, fetchCategoriesQueryContext.isSuccess]);
260
- useEffect(() => {
261
- if (fetchingtype == 'products') {
262
- if (fetchProductsQuery.isSuccess && fetchcustomercartQueryContext.isSuccess) {
263
- var allpagesarr = [];
264
- fetchProductsQuery?.data?.data?.products?.forEach((item) => {
265
- allpagesarr.push(item);
266
- });
267
- if (
268
- fetchProductsQuery?.data?.data?.PerPageProducts != undefined &&
269
- fetchProductsQuery?.data?.data?.PerPageProducts != null &&
270
- fetchProductsQuery?.data?.data?.PerPageProducts?.length != 0
271
- ) {
272
- setperpageItems(fetchProductsQuery?.data?.data?.PerPageProducts);
273
- }
274
- cardobjassigner(allpagesarr);
275
- }
276
- }
277
- }, [fetchProductsQuery?.isSuccess, fetchProductsQuery?.dataUpdatedAt, fetchProductsQuery?.data, fetchcustomercartQueryContext?.dataUpdatedAt]);
278
- useEffect(() => {
279
- if (fetchingtype == 'collections') {
280
- if (fetchcollectionsQueryContext.isSuccess) {
281
- cardobjassigner(fetchcollectionsQueryContext.data.data.collections);
282
- }
283
- }
284
- }, [fetchcollectionsQueryContext?.isSuccess, fetchcollectionsQueryContext.data]);
285
- useEffect(() => {
286
- if (fetchingtype == 'vendors') {
287
- if (FetchVendorsQuery.isSuccess) {
288
- if (FetchVendorsQuery.data.data.vendors != undefined && FetchVendorsQuery.data.data.vendors.length != 0) {
289
- cardobjassigner(FetchVendorsQuery?.data?.data?.vendors);
290
- }
291
- }
292
- }
293
- }, [FetchVendorsQuery.isSuccess]);
294
- useEffect(() => {
295
- favassigner();
296
- }, [favoriteprojectscountContext]);
297
- useEffect(() => {
298
- if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
299
- var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
300
- if (Array.isArray(maincontainerarrayofobjsparsed)) {
301
- setmaincontainerarrayofobjs([...maincontainerarrayofobjsparsed]);
302
- }
303
- }
304
- }, [sectionproperties]);
305
- const favassigner = () => {
306
- if (fetchingtype == 'products') {
307
- if (cardsarray.length != 0) {
308
- if (favoriteprojectscountContext != undefined && Array.isArray(favoriteprojectscountContext)) {
309
- var tempcardsarray = [...cardsarray];
310
- tempcardsarray.forEach(function (arrayItem, arrayindex) {
311
- arrayItem.IsFavExists = false;
312
- });
313
- tempcardsarray.forEach(function (arrayItem, arrayindex) {
314
- favoriteprojectscountContext.forEach(function (favitem, favindex) {
315
- if (arrayItem.productid == favitem) {
316
- arrayItem.IsFavExists = true;
317
- }
318
- });
319
- });
320
- setcardsarray([...tempcardsarray]);
321
- }
322
- }
323
- }
324
- };
325
- const cardobjassigner = (fetchedarray) => {
326
- var temparray = [];
327
-
328
- fetchedarray.forEach(function (arrayItem, arrayindex) {
329
- var cardobj = {
330
- name: '',
331
- image: '',
332
- };
333
- if (fetchingtype == 'products') {
334
- var itemquantity = 0;
335
- if (langdetect == 'en') {
336
- cardobj.name = arrayItem.productinfo.name_en;
337
- } else {
338
- cardobj.name = arrayItem.productinfo.name_ar;
339
- }
340
- if (langdetect == 'en') {
341
- cardobj.description = arrayItem.productinfo.description_en;
342
- } else {
343
- cardobj.description = arrayItem.productinfo.description_ar;
344
- }
345
- if (langdetect == 'en') {
346
- cardobj.shortdescription = arrayItem.short_description_en;
347
- } else {
348
- cardobj.shortdescription = arrayItem.short_description_ar;
349
- }
350
-
351
- if (arrayItem.productinfo.hasvariants == 0) {
352
- fetchcustomercartQueryContext.data.data.customercart.cartitems.forEach(function (cartitem, cartindex) {
353
- if (cartitem.productid == arrayItem.productinfo.productid) {
354
- itemquantity = cartitem.quantity;
355
- }
356
- });
357
- }
358
- cardobj.image = arrayItem.productinfo.productmainimage;
359
- cardobj.producttags = arrayItem.tags;
360
- if (langdetect == 'en') {
361
- cardobj.productfeature = arrayItem?.features?.value_en;
362
- } else {
363
- cardobj.productfeature = arrayItem?.features?.value_ar;
364
- }
365
- cardobj.productfeatureid = arrayItem?.features?.featureid;
366
-
367
- cardobj.productendpointurl = arrayItem.productinfo.productendpointurl;
368
- cardobj.hassale = arrayItem.productinfo.hassale;
369
- cardobj.productid = arrayItem.productinfo.productid;
370
- cardobj.hasvariants = arrayItem.productinfo.hasvariants;
371
- cardobj.description_en = arrayItem.productinfo.description_en;
372
- cardobj.description_ar = arrayItem.productinfo.description_ar;
373
- cardobj.defaultprice = arrayItem.productinfo.defaultprice;
374
- cardobj.defaultsaleprice = arrayItem.productinfo.defaultsaleprice;
375
- cardobj.productimages = arrayItem.productinfo.productimages;
376
- cardobj.quantity = itemquantity;
377
- // cardobj.currentquantity = currentquantity;
378
- cardobj.timestamp = arrayItem.productinfo.timestamp;
379
- cardobj.productquantity = arrayItem.productinfo.productquantity;
380
- cardobj.currentquantity = arrayItem.productinfo.currentquantity;
381
- cardobj.quantavailtype = arrayItem.productinfo.quantavailtype;
382
- cardobj.isproducttobesold = arrayItem.productinfo.isproducttobesold;
383
- cardobj.measurmentunit = arrayItem.productinfo.measurmentunit;
384
- cardobj.prodaffpercentprofit = arrayItem.productinfo.prodaffpercentprofit;
385
- cardobj.productcashbackvalue = arrayItem.productinfo.productcashbackvalue;
386
- cardobj.product_phonenumber = arrayItem.productinfo.product_phonenumber;
387
- cardobj.productcanrate = arrayItem.productinfo.productcanrate;
388
- cardobj.sku = arrayItem.productinfo.sku;
389
-
390
- if (langdetect == 'en') {
391
- cardobj.currencyname = fetchAuthorizationQueryContext?.data?.data?.currencyname_en;
392
- } else {
393
- cardobj.currencyname = fetchAuthorizationQueryContext?.data?.data?.currencyname_ar;
394
- }
395
- if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
396
- favoriteprojectscountContext.forEach(function (favitem, favindex) {
397
- if (arrayItem.productinfo.productid == favitem) {
398
- cardobj.IsFavExists = true;
399
- }
400
- });
401
- }
402
- } else if (fetchingtype == 'collections' || fetchingtype == 'innerparentcollections') {
403
- cardobj.collectionid = arrayItem.collectionid;
404
- cardobj.skiplayeronclick = arrayItem?.skiplayeronclick;
405
- if (langdetect == 'en') {
406
- cardobj.name = arrayItem.title_en;
407
- cardobj.description = arrayItem.description_en;
408
- } else if (langdetect == 'ar') {
409
- cardobj.name = arrayItem.title_ar;
410
- cardobj.description = arrayItem.description_ar;
411
- }
412
- cardobj.image = arrayItem.collectionlogo;
413
- cardobj.producttags = [];
414
- cardobj.productfeatures = [];
415
- } else if (fetchingtype == 'categories') {
416
- cardobj.collectionid = arrayItem.categoryid;
417
- cardobj.skiplayeronclick = arrayItem?.skiplayeronclick;
418
- if (langdetect == 'en') {
419
- cardobj.name = arrayItem.title_en;
420
- cardobj.description = arrayItem.description_en;
421
- } else if (langdetect == 'ar') {
422
- cardobj.name = arrayItem.title_ar;
423
- cardobj.description = arrayItem.description_ar;
424
- }
425
- cardobj.image = arrayItem.categorylogo;
426
- cardobj.producttags = [];
427
- cardobj.productfeatures = [];
428
- } else if (fetchingtype == 'parentcollections' || fetchingtype == 'innercategories') {
429
- cardobj.collectionid = arrayItem.parentcollectionid;
430
- cardobj.skiplayeronclick = arrayItem?.skiplayeronclick;
431
- if (langdetect == 'en') {
432
- cardobj.name = arrayItem.title_en;
433
- cardobj.description = arrayItem.description_en;
434
- } else if (langdetect == 'ar') {
435
- cardobj.name = arrayItem.title_ar;
436
- cardobj.description = arrayItem.description_ar;
437
- }
438
- cardobj.image = arrayItem.parentcollectionlogo;
439
- cardobj.producttags = [];
440
- cardobj.productfeatures = [];
441
- } else if (fetchingtype == 'custom') {
442
- cardobj.producttags = [];
443
- cardobj.productfeatures = [];
444
- } else if (fetchingtype == 'vendors') {
445
- cardobj.name = arrayItem.vendorname;
446
- cardobj.collectionid = arrayItem.vendorid;
447
- cardobj.image = arrayItem.vendorlogourl;
448
- cardobj.producttags = [];
449
- cardobj.productfeatures = [];
450
- }
451
- temparray.push(cardobj);
452
- });
453
-
454
- setcardsarray([...temparray]);
455
- };
456
- // Example items, to simulate fetching from another resources.
457
- const handlePageClick = (event) => {
458
- props.scrolltotop();
459
- var tempProductFilterObjContext = { ...ProductFilterObjContext };
460
- tempProductFilterObjContext.page = event?.selected;
461
- setProductFilterObjContext({ ...tempProductFilterObjContext });
462
- var pasturl = '';
463
- if (props.grouptypeprops != undefined) {
464
- if (props.collectionidprops != undefined) {
465
- pasturl = props.grouptypeprops + '/' + props.collectionidprops + '/';
466
- }
467
- }
468
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, pasturl + encodeURIComponent(JSON.stringify(tempProductFilterObjContext)));
469
- };
470
-
471
- const section_cssstyles = {
472
- sectiontitlespan: css({
473
- ':after': {
474
- width: sectionproperties.sectitle_lineafterwidth + '%',
475
- backgroundColor: sectionproperties.linebgcolor,
476
- },
477
- }),
478
- cards_sections: css({
479
- width: sectionproperties.width + 'vw',
480
- marginTop: sectionproperties.marginTop + 'px',
481
- marginBottom: sectionproperties.marginBottom + 'px',
482
- paddingLeft: sectionproperties.paddingLeft + 'px',
483
- paddingRight: sectionproperties.paddingRight + 'px',
484
- paddingTop: sectionproperties.paddingTop + 'px',
485
- paddingBottom: sectionproperties.paddingBottom + 'px',
486
- background: sectionproperties.backgroundColor,
487
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
488
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
489
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
490
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
491
- boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
492
- borderColor: sectionproperties.sectioncardbordercolor,
493
- border: sectionproperties.sectioncardborderwidth + 'px solid',
494
- }),
495
- loadbtn: css({
496
- width: sectionproperties.loadbtn_Width + 'px',
497
- height: sectionproperties.loadbtn_Height + 'px',
498
- background: sectionproperties.loadbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.loadbtn_bgColor,
499
- borderBottomLeftRadius: sectionproperties.loadbtn_borderBottomLeftRadius + 'px',
500
- borderBottomRightRadius: sectionproperties.loadbtn_borderBottomRightRadius + 'px',
501
- borderTopLeftRadius: sectionproperties.loadbtn_borderTopLeftRadius + 'px',
502
- borderTopRightRadius: sectionproperties.loadbtn_borderTopRightRadius + 'px',
503
- color: sectionproperties.loadbtn_Textcolor,
504
- boxShadow: sectionproperties.loadbtn_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.loadbtn_shadowcolor : '',
505
- transition: '.3s',
506
- ':hover': {
507
- background: sectionproperties.loadbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.loadbtn_bgColoronhover,
508
- color: sectionproperties.loadbtn_Textcoloronhover,
509
- },
510
- }),
511
- scrollmenuclassnameitemSimpleproductcard: css({
512
- minWidth: sectionproperties.card_widthhorizontal + 'px',
513
- maxWidth: sectionproperties.card_widthhorizontal + 'px',
514
- }),
515
- };
516
- const cardsrender = () => {
517
- return (
518
- <div
519
- className="row m-0 w-100"
520
- style={{
521
- height: '100%',
522
- }}
523
- >
524
- <div className="col-lg-12 p-0">
525
- {sectionproperties.length != 0 && (
526
- <div className="row m-0 w-100 d-flex align-items-center" style={{ position: 'relative' }}>
527
- <p
528
- className="m-0 p-0 d-block d-md-none"
529
- style={{
530
- position: 'absolute',
531
- top: langdetect == 'en' ? sectionproperties.slideshowText1Content_marginTop + 'px' : '',
532
- left: langdetect == 'en' ? sectionproperties.slideshowText1Content_marginLeft + 'px' : '-' + sectionproperties.slideshowText1Content_marginLeft + 'px',
533
- textTransform: sectionproperties.slideshowText1ContentTextTransform,
534
- color: sectionproperties.slideshowText1ContentColor,
535
- fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
536
- fontWeight: sectionproperties.slideshowText1ContentFontWeight,
537
- letterSpacing: langdetect == 'en' ? '5px' : 0,
538
- opacity: 0.7,
539
- transform: langdetect == 'en' ? 'rotate(-90deg)' : 'rotate(90deg)',
540
- }}
541
- >
542
- {langdetect == 'en' ? sectionproperties.slideshowText1Content : sectionproperties.slideshowText1Content_ar}
543
- </p>
544
- <div className={langdetect == 'en' ? 'col-lg-10 col-md-12 d-flex justify-content-center ml-auto p-0' : 'col-lg-10 col-md-12 d-flex justify-content-center mr-auto p-0'}>
545
- <div className="row m-0 w-100">
546
- <div className="col-lg-12 d-flex justify-content-center">
547
- <p
548
- className="m-0 p-0 d-none d-md-flex"
549
- style={{
550
- textTransform: sectionproperties.slideshowText1ContentTextTransform,
551
- color: sectionproperties.slideshowText1ContentColor,
552
- fontSize: '25px',
553
- fontWeight: sectionproperties.slideshowText1ContentFontWeight,
554
- letterSpacing: langdetect == 'en' ? '5px' : 0,
555
- opacity: 0.7,
556
- }}
557
- >
558
- {sectionproperties.slideshowText1Content}
559
- </p>
560
- </div>
561
- <div className="col-lg-12 d-flex align-items-center justify-content-center" style={{ marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px' }}>
562
- <p
563
- className="font-md-23"
564
- style={{
565
- fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
566
- color: sectionproperties.slideshowText2ContentColor,
567
- fontWeight: sectionproperties.slideshowText2ContentFontWeight,
568
- textTransform: sectionproperties.slideshowText2ContentTextTransform,
569
- }}
570
- >
571
- {langdetect == 'en' ? sectionproperties.slideshowText2Content : sectionproperties.slideshowText2Content_Ar}
572
- </p>
573
- </div>
574
- {!fetchProductsQuery.isFetching && cardsarray.length == 0 && (
575
- <div className="row m-0 w-100 d-flex align-items-center" style={{ height: '50vh' }}>
576
- <div className="col-lg-12 text-light d-flex align-items-center justify-content-center flex-column">
577
- <FiLayers
578
- style={{
579
- fontSize: sectionproperties.noprod_iconfontSize + 'px',
580
- color: sectionproperties.noprod_iconcolor,
581
- }}
582
- />
583
- <p
584
- style={{
585
- fontSize: sectionproperties.noprod_fontSize + 'px',
586
- fontWeight: sectionproperties.noprod_fontWeight,
587
- textTransform: sectionproperties.noprod_textTransform,
588
- color: sectionproperties.noprod_color,
589
- }}
590
- >
591
- No Products Found
592
- </p>
593
- </div>
594
- </div>
595
- )}
596
- {cardsarray.length != 0 &&
597
- StatePagePropertiesContext.pageobj.sections[props.sectionindexprops].childsections.map((item, index) => {
598
- if (item.tabexsectioninfo != null) {
599
- if (item.sectionstructype == 'child' && TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname] != undefined) {
600
- var Sectioncomp = TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname];
601
- return (
602
- <div className="row m-0 w-100 d-flex justify-content-center">
603
- <div className={langdetect == 'en' ? 'col-lg-12 p-0 pl-md-2 pr-md-0' : 'col-lg-12 p-0 pl-md-0 pr-md-2 '}>
604
- <ScrollMenu
605
- transitionBehavior={'auto'}
606
- wrapperClassName={''}
607
- itemClassName={
608
- item.tabexsectioninfo.sectioncompname == 'Productcard6'
609
- ? 'scrollmenuclassnameitemProductcard6'
610
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
611
- ? 'scrollmenuclassnameitemProductcard_with_circularhover'
612
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
613
- ? 'scrollmenuclassnameitemProductcard_with_circularbg'
614
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
615
- ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition'
616
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation'
617
- ? 'scrollmenuclassnameitemProductcard_with_slideanimation'
618
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext'
619
- ? 'scrollmenuclassnameitemCategorycard_withtext'
620
- : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons'
621
- ? 'scrollmenuclassnameitemProductcard_animatedbuttons'
622
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants'
623
- ? 'scrollmenuclassnameitemProductcard_with_variants'
624
- : item.tabexsectioninfo.sectioncompname == 'Productcarddefault'
625
- ? 'scrollmenuclassnameitemProductcarddefault'
626
- : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard'
627
- ? 'scrollmenuclassnameitemSimpleproductcard'
628
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg'
629
- ? 'scrollmenuclassnameitemCategorycard_with_trianglebg'
630
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover'
631
- ? 'scrollmenuclassnameitemProductcard_with_textonhover'
632
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled'
633
- ? 'scrollmenuclassnameitemCategorycard_slidebgscaled'
634
- : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
635
- ? 'scrollmenuclassnameitemProductccard_with_imageontopleft'
636
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_zoominonhover'
637
- ? 'scrollmenuclassnameitemProductcard_with_zoominonhover'
638
- : item.tabexsectioninfo.sectioncompname == 'Horizontalcard'
639
- ? 'scrollmenuclassnameitemProductcard_Horizontalcard'
640
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
641
- ? 'scrollmenuclassnameitemCategorycard_fullimage'
642
- : item.tabexsectioninfo.sectioncompname == 'Classiccategorycard'
643
- ? 'scrollmenuclassnameitemClassiccategorycard'
644
- : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
645
- ? 'scrollmenuclassnameitemModernProductCard'
646
- : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
647
- ? 'scrollmenuclassnameitemSimplecategorycardwithtextbelow'
648
- : item.tabexsectioninfo.sectioncompname == 'Productcard7'
649
- ? 'scrollmenuclassnameitemProductcard7'
650
- : item.tabexsectioninfo.sectioncompname == 'MenuCard'
651
- ? 'scrollmenuclassnameitemMenuCard'
652
- : 'scrollmenuclassnameitem'
653
- }
654
- scrollContainerClassName={'scrollmenuclasssubscrollbar'}
655
- >
656
- {cardsarray.map((cardinfoitem, cardinfoindex) => {
657
- return (
658
- <div
659
- className={' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 '}
660
- style={{
661
- paddingRight: sectionproperties.card_marginRight + 'px',
662
- paddingLeft: sectionproperties.card_marginLeft + 'px',
663
- }}
664
- >
665
- <Sectioncomp
666
- sectiontypeprops={'horizontal'}
667
- fetchingtypeprops={fetchingtype}
668
- cardinfoindexprops={cardinfoindex}
669
- cardinfoitemprops={cardinfoitem}
670
- sectionindexprops={index}
671
- sectionidprops={item.sectionid}
672
- actions={actions}
673
- />
674
- </div>
675
- );
676
- })}
677
- {fetchingtype == 'products' && (
678
- <button
679
- className={section_cssstyles.loadbtn + ' d-flex justify-content-end align-items-center '}
680
- // ref={ref}
681
- onClick={() => fetchProductsQuery.fetchNextPage()}
682
- disabled={!fetchProductsQuery.hasNextPage || fetchProductsQuery.isFetchingNextPage}
683
- >
684
- {fetchProductsQuery.isFetchingNextPage ? (
685
- <CircularProgress color={sectionproperties.loadbtn_Textcolor} width="20px" height="20px" duration="1s" />
686
- ) : fetchProductsQuery.hasNextPage ? (
687
- <i className="fa fa-spinner"></i>
688
- ) : (
689
- ''
690
- )}
691
- </button>
692
- )}
693
- </ScrollMenu>
694
- </div>
695
- </div>
696
- );
697
- }
698
- }
699
- })}
700
- </div>
701
- </div>
702
- </div>
703
- )}
704
- </div>
705
- </div>
706
- );
707
- };
708
- return (
709
- <div className="row m-0 d-flex w-100 justify-content-center mb-md-4 " style={{ zIndex: 2 }} ref={refscr}>
710
- <div className="col-lg-12 p-0 d-flex justify-content-center">
711
- {sectionproperties.length != 0 && (
712
- <div
713
- className={
714
- langdetect == 'en'
715
- ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 pr-md-0 '
716
- : section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 pl-md-0 '
717
- }
718
- >
719
- {cardsrender()}
720
- </div>
721
- )}
722
- </div>
723
- </div>
724
- );
725
- };
726
- export default CardsSection2;