tabexseriescomponents 0.0.217 → 0.0.220

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 (255) hide show
  1. package/dist/index.cjs.js +1044 -780
  2. package/dist/index.esm.js +1044 -780
  3. package/dist/index.umd.js +1042 -778
  4. package/library.zip +0 -0
  5. package/package.json +2 -1
  6. package/srcold/Contexts/LanguageContext.jsx +390 -0
  7. package/srcold/Contexts/ProductsCardsSectionContext.jsx +34 -0
  8. package/srcold/StylesJS/Customstyles.js +236 -0
  9. package/srcold/TabexComponents/Cards/Card20/Card20.jsx +282 -0
  10. package/srcold/TabexComponents/Cards/Card21/Card21.jsx +388 -0
  11. package/srcold/TabexComponents/Cards/Card22/Card22.jsx +287 -0
  12. package/srcold/TabexComponents/Cards/Card23/Card23.jsx +403 -0
  13. package/srcold/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +395 -0
  14. package/srcold/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
  15. package/srcold/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
  16. package/srcold/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +220 -0
  17. package/srcold/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +230 -0
  18. package/srcold/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +198 -0
  19. package/srcold/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +170 -0
  20. package/srcold/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +181 -0
  21. package/srcold/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
  22. package/srcold/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +180 -0
  23. package/srcold/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +487 -0
  24. package/srcold/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +123 -0
  25. package/srcold/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +192 -0
  26. package/srcold/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +270 -0
  27. package/srcold/TabexComponents/Cards/MenuCard/MenuCard.jsx +543 -0
  28. package/srcold/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +467 -0
  29. package/srcold/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +469 -0
  30. package/srcold/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +445 -0
  31. package/srcold/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
  32. package/srcold/TabexComponents/Cards/Productcard6/Productcard6.jsx +256 -0
  33. package/srcold/TabexComponents/Cards/Productcard7/Productcard7.jsx +278 -0
  34. package/srcold/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +443 -0
  35. package/srcold/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +275 -0
  36. package/srcold/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
  37. package/srcold/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +301 -0
  38. package/srcold/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +419 -0
  39. package/srcold/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +524 -0
  40. package/srcold/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
  41. package/srcold/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
  42. package/srcold/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +136 -0
  43. package/srcold/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +179 -0
  44. package/srcold/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +291 -0
  45. package/srcold/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +339 -0
  46. package/srcold/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +338 -0
  47. package/srcold/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +515 -0
  48. package/srcold/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +184 -0
  49. package/srcold/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +475 -0
  50. package/srcold/TabexComponents/Footer/Footer1/Footer1.jsx +448 -0
  51. package/srcold/TabexComponents/Footer/Footer2/Footer2.jsx +383 -0
  52. package/srcold/TabexComponents/Footer/Footer3/Footer3.jsx +394 -0
  53. package/srcold/TabexComponents/Footer/Footer4/Footer4.jsx +699 -0
  54. package/srcold/TabexComponents/Footer/Footer5/Footer5.jsx +523 -0
  55. package/srcold/TabexComponents/Footer/Footer6/Footer6.jsx +301 -0
  56. package/srcold/TabexComponents/Footer/Footer7/Footer7.jsx +415 -0
  57. package/srcold/TabexComponents/Footer/Footer8/Footer8.jsx +454 -0
  58. package/srcold/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +329 -0
  59. package/srcold/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +274 -0
  60. package/srcold/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  61. package/srcold/TabexComponents/Generalfiles/images/noimage.png +0 -0
  62. package/srcold/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  63. package/srcold/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  64. package/srcold/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  65. package/srcold/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  66. package/srcold/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  67. package/srcold/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  68. package/srcold/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  69. package/srcold/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  70. package/srcold/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  71. package/srcold/TabexComponents/Generalfiles/images/usflag.png +0 -0
  72. package/srcold/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  73. package/srcold/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +880 -0
  74. package/srcold/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +870 -0
  75. package/srcold/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +688 -0
  76. package/srcold/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +720 -0
  77. package/srcold/TabexComponents/Headers/Header4/Header4.jsx +621 -0
  78. package/srcold/TabexComponents/Headers/Header8/Header8.jsx +824 -0
  79. package/srcold/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +730 -0
  80. package/srcold/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +762 -0
  81. package/srcold/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +706 -0
  82. package/srcold/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +900 -0
  83. package/srcold/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +841 -0
  84. package/srcold/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +988 -0
  85. package/srcold/TabexComponents/Headers/Headerresponsive/HeaderresponsiveNew.jsx +1081 -0
  86. package/srcold/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +988 -0
  87. package/srcold/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +917 -0
  88. package/srcold/TabexComponents/Headers/Modernheader/Modernheader.jsx +693 -0
  89. package/srcold/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +952 -0
  90. package/srcold/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +636 -0
  91. package/srcold/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +853 -0
  92. package/srcold/TabexComponents/Headers/Subheader/Subheader copy.jsx +373 -0
  93. package/srcold/TabexComponents/Headers/Subheader/Subheader.jsx +515 -0
  94. package/srcold/TabexComponents/Headers/Subheader/SubheaderDropdown.jsx +190 -0
  95. package/srcold/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +483 -0
  96. package/srcold/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1005 -0
  97. package/srcold/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1020 -0
  98. package/srcold/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader .jsx +843 -0
  99. package/srcold/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +448 -0
  100. package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +346 -0
  101. package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +304 -0
  102. package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +301 -0
  103. package/srcold/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +312 -0
  104. package/srcold/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +271 -0
  105. package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +174 -0
  106. package/srcold/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +200 -0
  107. package/srcold/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +263 -0
  108. package/srcold/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +143 -0
  109. package/srcold/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +248 -0
  110. package/srcold/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +295 -0
  111. package/srcold/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +394 -0
  112. package/srcold/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +406 -0
  113. package/srcold/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +246 -0
  114. package/srcold/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1220 -0
  115. package/srcold/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +480 -0
  116. package/srcold/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +718 -0
  117. package/srcold/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
  118. package/srcold/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +652 -0
  119. package/srcold/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +635 -0
  120. package/srcold/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +495 -0
  121. package/srcold/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
  122. package/srcold/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +250 -0
  123. package/srcold/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +160 -0
  124. package/srcold/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +256 -0
  125. package/srcold/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +329 -0
  126. package/srcold/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +266 -0
  127. package/srcold/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +371 -0
  128. package/srcold/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +140 -0
  129. package/srcold/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +374 -0
  130. package/srcold/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +339 -0
  131. package/srcold/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +303 -0
  132. package/srcold/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +224 -0
  133. package/srcold/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +147 -0
  134. package/srcold/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +139 -0
  135. package/srcold/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
  136. package/srcold/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +324 -0
  137. package/srcold/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +525 -0
  138. package/srcold/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +569 -0
  139. package/srcold/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +475 -0
  140. package/srcold/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.js +91 -0
  141. package/srcold/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +369 -0
  142. package/srcold/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +392 -0
  143. package/srcold/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +213 -0
  144. package/srcold/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +467 -0
  145. package/srcold/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +181 -0
  146. package/srcold/TabexComponents/StaticPages/Checkout/Checkout.jsx +1280 -0
  147. package/srcold/TabexComponents/StaticPages/Filter/Filter copy.jsx +1392 -0
  148. package/srcold/TabexComponents/StaticPages/Filter/Filter.jsx +1399 -0
  149. package/srcold/TabexComponents/StaticPages/Filter/FilterOriginal.jsx +1132 -0
  150. package/srcold/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +60 -0
  151. package/srcold/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
  152. package/srcold/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
  153. package/srcold/TabexComponents/StaticPages/Login/Login.jsx +469 -0
  154. package/srcold/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +143 -0
  155. package/srcold/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1329 -0
  156. package/srcold/TabexComponents/StaticPages/Policies/Policies.jsx +306 -0
  157. package/srcold/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +1334 -0
  158. package/srcold/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +715 -0
  159. package/srcold/TabexComponents/StaticPages/Productinfo/Service_itemtype copy.jsx +361 -0
  160. package/srcold/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +361 -0
  161. package/srcold/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +501 -0
  162. package/srcold/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
  163. package/srcold/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +227 -0
  164. package/srcold/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +832 -0
  165. package/srcold/TabexComponents/StaticPages/Signup/Signup.jsx +154 -0
  166. package/srcold/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +280 -0
  167. package/srcold/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +671 -0
  168. package/srcold/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +538 -0
  169. package/srcold/assets/images/appstore.png +0 -0
  170. package/srcold/assets/images/cod.png +0 -0
  171. package/srcold/assets/images/egyptflag.png +0 -0
  172. package/srcold/assets/images/fawry.png +0 -0
  173. package/srcold/assets/images/googleplay.png +0 -0
  174. package/srcold/assets/images/ksa.png +0 -0
  175. package/srcold/assets/images/mastercard.png +0 -0
  176. package/srcold/assets/images/payment.png +0 -0
  177. package/srcold/assets/images/paymob.png +0 -0
  178. package/srcold/assets/images/paypal.png +0 -0
  179. package/srcold/assets/images/shoppingcart.png +0 -0
  180. package/srcold/assets/images/usflag.png +0 -0
  181. package/srcold/assets/images/visa.png +0 -0
  182. package/srcold/assets/images/whatsapp.png +0 -0
  183. package/srcold/button.jsx +40 -0
  184. package/srcold/index.jsx +283 -0
  185. package/srcold/styles/Home.module.css +129 -0
  186. package/srcold/styles/cards/Categorcycard_fullimage.module.css +10 -0
  187. package/srcold/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
  188. package/srcold/styles/cards/Categorycard_withshapes.module.css +189 -0
  189. package/srcold/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
  190. package/srcold/styles/cards/Productcard6.module.css +9 -0
  191. package/srcold/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
  192. package/srcold/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
  193. package/srcold/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
  194. package/srcold/styles/cards/categorycard.module.css +85 -0
  195. package/srcold/styles/cards/categorycard3.module.css +50 -0
  196. package/srcold/styles/cards/categorycardwithtext.module.css +40 -0
  197. package/srcold/styles/cards/productcard_animatedbuttons.module.css +130 -0
  198. package/srcold/styles/cards/productcard_with_textonhover.module.css +18 -0
  199. package/srcold/styles/cards/productcard_withtextonimage.module.css +0 -0
  200. package/srcold/styles/cards/productccard_with_imageontopleft.module.css +85 -0
  201. package/srcold/styles/general/bootstrap.css +4727 -0
  202. package/srcold/styles/general/dropdown.css +206 -0
  203. package/srcold/styles/general/editorbardropdown.module.css +94 -0
  204. package/srcold/styles/general/filter.module.css +108 -0
  205. package/srcold/styles/general/form.module.css +273 -0
  206. package/srcold/styles/general/general.module.css +872 -0
  207. package/srcold/styles/general/image-gallery.css +531 -0
  208. package/srcold/styles/general/react-accessible-accordion.module.css +52 -0
  209. package/srcold/styles/general/react-phone-input-2.module.css +927 -0
  210. package/srcold/styles/general/scrollbtn.module.css +22 -0
  211. package/srcold/styles/general/slick.module.css +166 -0
  212. package/srcold/styles/general/tabs.module.css +119 -0
  213. package/srcold/styles/general/workplaceeditor.module.css +328 -0
  214. package/srcold/styles/globals.css +26 -0
  215. package/srcold/styles/headers/CTAHeader.module.css +40 -0
  216. package/srcold/styles/headers/CategoryFeaturingHeader.module.css +61 -0
  217. package/srcold/styles/headers/Gotoheader.module.css +81 -0
  218. package/srcold/styles/headers/Header7.module.css +50 -0
  219. package/srcold/styles/headers/HeaderWithAdSlider.module.css +86 -0
  220. package/srcold/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
  221. package/srcold/styles/headers/HeaderWithUtilityBar.module.css +46 -0
  222. package/srcold/styles/headers/Header_threesectionslogocentered.module.css +84 -0
  223. package/srcold/styles/headers/NewHeader.module.css +101 -0
  224. package/srcold/styles/headers/SearchFocusedHeader.module.css +62 -0
  225. package/srcold/styles/headers/Sideheader.module.css +108 -0
  226. package/srcold/styles/headers/Simpleheader.module.css +102 -0
  227. package/srcold/styles/headers/classicheader.module.css +16 -0
  228. package/srcold/styles/headers/classicheaderstyles.module.css +9 -0
  229. package/srcold/styles/headers/dropdown.css +0 -0
  230. package/srcold/styles/headers/header4.module.css +175 -0
  231. package/srcold/styles/headers/header5.module.css +30 -0
  232. package/srcold/styles/headers/header_contactinfo.module.css +53 -0
  233. package/srcold/styles/headers/headerresturant.module.css +89 -0
  234. package/srcold/styles/headers/modernheader.module.css +72 -0
  235. package/srcold/styles/headers/stylishheader.module.css +24 -0
  236. package/srcold/styles/headers/subheader.module.css +114 -0
  237. package/srcold/styles/headers/threetieredheader.module.css +91 -0
  238. package/srcold/styles/sections/BackgroundImageWithTopContent.css +4 -0
  239. package/srcold/styles/sections/Backgroundimage1.module.css +17 -0
  240. package/srcold/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
  241. package/srcold/styles/sections/Section_with_rightbgcont.module.css +49 -0
  242. package/srcold/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
  243. package/srcold/styles/sections/Slideshow_with_squarebg.module.css +39 -0
  244. package/srcold/styles/staticpages/accordion.module.css +9 -0
  245. package/srcold/styles/staticpages/cart.module.css +108 -0
  246. package/srcold/styles/staticpages/dropdown.css +196 -0
  247. package/srcold/styles/staticpages/filter.module.css +139 -0
  248. package/srcold/styles/staticpages/image-gallery.css +481 -0
  249. package/srcold/styles/staticpages/login.module.css +113 -0
  250. package/srcold/styles/staticpages/productinfo.module.css +54 -0
  251. package/srcold/styles/staticpages/shop.module.css +191 -0
  252. package/srcold/styles/staticpages/signup.module.css +206 -0
  253. package/srcold/styles/staticpages/staticroutersidenav.module.css +129 -0
  254. package/srcold/styles/staticpages/viewcart.module.css +129 -0
  255. package/srcold/styles/staticpages/wishlist.module.css +29 -0
@@ -0,0 +1,480 @@
1
+ // All take sectionidprops & sectionindexprops
2
+ import React, { useEffect, useState, useContext } 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 { ref, inView } = useInView();
11
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
12
+ const lang = props.actions.lang;
13
+ const langdetect = props.actions.langdetect;
14
+ const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
15
+ const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
16
+ const ProductFilterObjContext = props.actions.ProductFilterObjContext;
17
+ const setProductFilterObjContext = props.actions.setProductFilterObjContext;
18
+ const TabexSectionsComponentsContext = props.actions.TabexSectionsComponentsContext;
19
+ const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
20
+ const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
21
+ const SearchHeaderMutationContext = props.actions.SearchHeaderMutationContext;
22
+ const fetchProductsQuery = props.actions.fetchProductsQuery;
23
+ const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
24
+ const setParentCollectionsForCollectionQueryArr = props.actions.setParentCollectionsForCollectionQueryArr;
25
+ const setfetchingtype = props.actions.setfetchingtype;
26
+ const fetchingtype = props.actions.fetchingtype;
27
+ const AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
28
+ const setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
29
+ const authdetailsContext = props.actions.authdetailsContext;
30
+ const productfiltercontext = props.actions.productfiltercontext;
31
+ const setproductfiltercontext = props.actions.setproductfiltercontext;
32
+ const actions = props.actions;
33
+ const [sectionproperties, setsectionproperties] = useState('');
34
+ const [cardsarray, setcardsarray] = useState([]);
35
+ const [searchinput, setsearchinput] = useState('');
36
+ React.useEffect(() => {
37
+ if (inView) {
38
+ fetchProductsQuery.fetchNextPage();
39
+ }
40
+ }, [inView]);
41
+ const [ProductsFetchingTypeSectionObj, setProductsFetchingTypeSectionObj] = useState({ productfetchingtype: 'Random', collectionid: '' });
42
+ useEffect(() => {
43
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
44
+ if (sectionitem.sectionid == props.sectionidprops) {
45
+ var secpropobj = {};
46
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
47
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
48
+ });
49
+ setsectionproperties({ ...secpropobj });
50
+
51
+ if (props.srcfromprops == 'GeneralProductsComponent') {
52
+ setfetchingtype('products');
53
+ setProductsFetchingTypeSectionObj({
54
+ productfetchingtype: 'Random',
55
+ collectionid: props.collectionidprops,
56
+ });
57
+ } else {
58
+ setfetchingtype(sectionitem.fetchingtype);
59
+ setProductsFetchingTypeSectionObj({
60
+ productfetchingtype: sectionitem.productsfetchingtype,
61
+ collectionid: sectionitem.productsfetchingtypeCollectioncollectionid,
62
+ });
63
+ }
64
+ }
65
+ });
66
+ }, [StatePagePropertiesContext]);
67
+ useEffect(() => {
68
+ SearchHeaderMutationContext.reset();
69
+ const delayDebounceFn = setTimeout(() => {
70
+ if (searchinput.length != 0) {
71
+ SearchHeaderMutationContext.mutate({
72
+ SearchHeaderValue: searchinput,
73
+ });
74
+ }
75
+ }, 1000);
76
+
77
+ return () => clearTimeout(delayDebounceFn);
78
+ }, [searchinput]);
79
+ useEffect(() => {
80
+ if (sectionproperties.length != 0) {
81
+ if (cardsarray.length == 0) {
82
+ if (fetchingtype == 'collections') {
83
+ if (fetchcollectionsQueryContext.isSuccess) {
84
+ cardobjassigner(fetchcollectionsQueryContext.data.data.collections);
85
+ }
86
+ } else if (fetchingtype == 'products') {
87
+ if (fetchProductsQuery.isSuccess) {
88
+ var allpagesarr = [];
89
+ fetchProductsQuery?.data?.data?.products?.forEach((item) => {
90
+ allpagesarr.push(item);
91
+ });
92
+ cardobjassigner(allpagesarr);
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }, [sectionproperties]);
98
+ useEffect(() => {
99
+ if (fetchingtype.length != 0) {
100
+ var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
101
+
102
+ if (fetchingtype == 'collections') {
103
+ // tempFetchQueriesEngineContext.collections = true;
104
+
105
+ if (ProductsFetchingTypeSectionObj.collectionid == 'all' || ProductsFetchingTypeSectionObj.collectionid == null || ProductsFetchingTypeSectionObj.collectionid == undefined) {
106
+ setParentCollectionsForCollectionQueryArr('all');
107
+ } else {
108
+ setParentCollectionsForCollectionQueryArr([ProductsFetchingTypeSectionObj.collectionid]);
109
+ }
110
+ }
111
+ if (fetchingtype == 'products') {
112
+ var tempfetchproductsfilerobjcontext = ProductFilterObjContext;
113
+ tempfetchproductsfilerobjcontext.ProductFetchingType = ProductsFetchingTypeSectionObj.productfetchingtype;
114
+ tempfetchproductsfilerobjcontext.collections.push(ProductsFetchingTypeSectionObj.collectionid);
115
+
116
+ setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
117
+ }
118
+
119
+ setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
120
+ }
121
+ }, [fetchingtype, ProductsFetchingTypeSectionObj]);
122
+ useEffect(() => {
123
+ if (fetchingtype == 'products') {
124
+ if (fetchProductsQuery.isSuccess && fetchcustomercartQueryContext.isSuccess) {
125
+ var allpagesarr = [];
126
+ fetchProductsQuery?.data?.data?.products?.forEach((item) => {
127
+ allpagesarr.push(item);
128
+ });
129
+ cardobjassigner(allpagesarr);
130
+ }
131
+ }
132
+ }, [fetchProductsQuery.isSuccess, fetchProductsQuery.dataUpdatedAt, fetchProductsQuery.data, fetchcustomercartQueryContext.dataUpdatedAt]);
133
+ useEffect(() => {
134
+ if (fetchingtype == 'collections') {
135
+ if (fetchcollectionsQueryContext.isSuccess) {
136
+ cardobjassigner(fetchcollectionsQueryContext.data.data.collections);
137
+ }
138
+ }
139
+ }, [fetchcollectionsQueryContext.isSuccess]);
140
+ useEffect(() => {
141
+ favassigner();
142
+ }, [favoriteprojectscountContext]);
143
+ const favassigner = () => {
144
+ if (fetchingtype == 'products') {
145
+ if (cardsarray.length != 0) {
146
+ if (favoriteprojectscountContext != undefined && Array.isArray(favoriteprojectscountContext)) {
147
+ var tempcardsarray = [...cardsarray];
148
+ tempcardsarray.forEach(function (arrayItem, arrayindex) {
149
+ arrayItem.IsFavExists = false;
150
+ });
151
+ tempcardsarray.forEach(function (arrayItem, arrayindex) {
152
+ favoriteprojectscountContext.forEach(function (favitem, favindex) {
153
+ if (arrayItem.productid == favitem) {
154
+ arrayItem.IsFavExists = true;
155
+ }
156
+ });
157
+ });
158
+ setcardsarray([...tempcardsarray]);
159
+ }
160
+ }
161
+ }
162
+ };
163
+ const cardobjassigner = (fetchedarray) => {
164
+ var temparray = [];
165
+ fetchedarray.forEach(function (arrayItem, arrayindex) {
166
+ var cardobj = {
167
+ name: '',
168
+ image: '',
169
+ };
170
+ if (fetchingtype == 'products') {
171
+ var itemquantity = 0;
172
+ if (langdetect == 'en') {
173
+ cardobj.name = arrayItem.productinfo.name_en;
174
+ } else {
175
+ cardobj.name = arrayItem.productinfo.name_ar;
176
+ }
177
+ if (langdetect == 'en') {
178
+ cardobj.description = arrayItem.productinfo.description_en;
179
+ } else {
180
+ cardobj.description = arrayItem.productinfo.description_ar;
181
+ }
182
+ if (arrayItem.productinfo.hasvariants == 0) {
183
+ fetchcustomercartQueryContext.data.data.customercart.cartitems.forEach(function (cartitem, cartindex) {
184
+ if (cartitem.productid == arrayItem.productinfo.productid) {
185
+ itemquantity = cartitem.quantity;
186
+ }
187
+ });
188
+ }
189
+ cardobj.image = arrayItem.productinfo.productmainimage;
190
+ cardobj.hassale = arrayItem.productinfo.hassale;
191
+ cardobj.productid = arrayItem.productinfo.productid;
192
+ cardobj.hasvariants = arrayItem.productinfo.hasvariants;
193
+ cardobj.description_en = arrayItem.productinfo.description_en;
194
+ cardobj.description_ar = arrayItem.productinfo.description_ar;
195
+ cardobj.defaultprice = arrayItem.productinfo.defaultprice;
196
+ cardobj.defaultsaleprice = arrayItem.productinfo.defaultsaleprice;
197
+ cardobj.productimages = arrayItem.productinfo.productimages;
198
+ cardobj.quantity = itemquantity;
199
+ cardobj.timestamp = arrayItem.productinfo.timestamp;
200
+
201
+ if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
202
+ favoriteprojectscountContext.forEach(function (favitem, favindex) {
203
+ if (arrayItem.productinfo.productid == favitem) {
204
+ cardobj.IsFavExists = true;
205
+ }
206
+ });
207
+ }
208
+ } else if (fetchingtype == 'collections') {
209
+ cardobj.collectionid = arrayItem.collectionid;
210
+ if (langdetect == 'en') {
211
+ cardobj.name = arrayItem.title_en;
212
+ cardobj.description = arrayItem.description_en;
213
+ } else if (langdetect == 'ar') {
214
+ cardobj.name = arrayItem.title_ar;
215
+ cardobj.description = arrayItem.description_ar;
216
+ }
217
+ cardobj.image = arrayItem.collectionlogo;
218
+ } else if (fetchingtype == 'custom') {
219
+ }
220
+ temparray.push(cardobj);
221
+ });
222
+
223
+ setcardsarray([...temparray]);
224
+ };
225
+ const section_cssstyles = {
226
+ sectiontitlespan: css({
227
+ ':after': {
228
+ width: sectionproperties.sectitle_lineafterwidth + '%',
229
+ backgroundColor: sectionproperties.linebgcolor,
230
+ },
231
+ }),
232
+ cards_sections: css({
233
+ width: sectionproperties.width + 'vw',
234
+ marginTop: sectionproperties.marginTop + 'px',
235
+ marginBottom: sectionproperties.marginBottom + 'px',
236
+ paddingLeft: sectionproperties.paddingLeft + 'px',
237
+ paddingRight: sectionproperties.paddingRight + 'px',
238
+ paddingTop: sectionproperties.paddingTop + 'px',
239
+ paddingBottom: sectionproperties.paddingBottom + 'px',
240
+ background: sectionproperties.backgroundColor,
241
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
242
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
243
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
244
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
245
+ boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
246
+ borderColor: sectionproperties.sectioncardbordercolor,
247
+ border: sectionproperties.sectioncardborderwidth + 'px solid',
248
+ }),
249
+ loadbtn: css({
250
+ width: sectionproperties.loadbtn_Width + 'px',
251
+ height: sectionproperties.loadbtn_Height + 'px',
252
+ background: sectionproperties.loadbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.loadbtn_bgColor,
253
+ borderBottomLeftRadius: sectionproperties.loadbtn_borderBottomLeftRadius + 'px',
254
+ borderBottomRightRadius: sectionproperties.loadbtn_borderBottomRightRadius + 'px',
255
+ borderTopLeftRadius: sectionproperties.loadbtn_borderTopLeftRadius + 'px',
256
+ borderTopRightRadius: sectionproperties.loadbtn_borderTopRightRadius + 'px',
257
+ color: sectionproperties.loadbtn_Textcolor,
258
+ boxShadow: sectionproperties.loadbtn_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.loadbtn_shadowcolor : '',
259
+ transition: '.3s',
260
+ ':hover': {
261
+ background: sectionproperties.loadbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.loadbtn_bgColoronhover,
262
+ color: sectionproperties.loadbtn_Textcoloronhover,
263
+ },
264
+ }),
265
+ scrollmenuclassnameitemSimpleproductcard: css({
266
+ minWidth: sectionproperties.card_widthhorizontal + 'px',
267
+ maxWidth: sectionproperties.card_widthhorizontal + 'px',
268
+ }),
269
+ };
270
+ const cardsrender = () => {
271
+ return (
272
+ <div
273
+ className="row m-0 w-100"
274
+ style={{
275
+ height: '100%',
276
+ }}
277
+ >
278
+ <div className="col-lg-12 p-0">
279
+ {sectionproperties.length != 0 && (
280
+ <div className="row m-0 w-100 d-flex align-items-center" style={{ position: 'relative' }}>
281
+ <p
282
+ className="m-0 p-0 d-block d-md-none"
283
+ style={{
284
+ position: 'absolute',
285
+ top: langdetect == 'en' ? sectionproperties.slideshowText1Content_marginTop + 'px' : '',
286
+ left: langdetect == 'en' ? sectionproperties.slideshowText1Content_marginLeft + 'px' : '-' + sectionproperties.slideshowText1Content_marginLeft + 'px',
287
+ textTransform: sectionproperties.slideshowText1ContentTextTransform,
288
+ color: sectionproperties.slideshowText1ContentColor,
289
+ fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
290
+ fontWeight: sectionproperties.slideshowText1ContentFontWeight,
291
+ letterSpacing: langdetect == 'en' ? '5px' : 0,
292
+ opacity: 0.7,
293
+ transform: langdetect == 'en' ? 'rotate(-90deg)' : 'rotate(90deg)',
294
+ }}
295
+ >
296
+ {langdetect == 'en' ? sectionproperties.slideshowText1Content : sectionproperties.slideshowText1Content_ar}
297
+ </p>
298
+ <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'}>
299
+ <div className="row m-0 w-100">
300
+ <div className="col-lg-12 d-flex justify-content-center">
301
+ <p
302
+ className="m-0 p-0 d-none d-md-flex"
303
+ style={{
304
+ textTransform: sectionproperties.slideshowText1ContentTextTransform,
305
+ color: sectionproperties.slideshowText1ContentColor,
306
+ fontSize: '25px',
307
+ fontWeight: sectionproperties.slideshowText1ContentFontWeight,
308
+ letterSpacing: langdetect == 'en' ? '5px' : 0,
309
+ opacity: 0.7,
310
+ }}
311
+ >
312
+ {sectionproperties.slideshowText1Content}
313
+ </p>
314
+ </div>
315
+ <div className="col-lg-12 d-flex align-items-center justify-content-center" style={{ marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px' }}>
316
+ <p
317
+ className="font-md-23"
318
+ style={{
319
+ fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
320
+ color: sectionproperties.slideshowText2ContentColor,
321
+ fontWeight: sectionproperties.slideshowText2ContentFontWeight,
322
+ textTransform: sectionproperties.slideshowText2ContentTextTransform,
323
+ }}
324
+ >
325
+ {langdetect == 'en' ? sectionproperties.slideshowText2Content : sectionproperties.slideshowText2Content_Ar}
326
+ </p>
327
+ </div>
328
+ {!fetchProductsQuery.isFetching && cardsarray.length == 0 && (
329
+ <div className="row m-0 w-100 d-flex align-items-center" style={{ height: '50vh' }}>
330
+ <div className="col-lg-12 text-light d-flex align-items-center justify-content-center flex-column">
331
+ <FiLayers
332
+ style={{
333
+ fontSize: sectionproperties.noprod_iconfontSize + 'px',
334
+ color: sectionproperties.noprod_iconcolor,
335
+ }}
336
+ />
337
+ <p
338
+ style={{
339
+ fontSize: sectionproperties.noprod_fontSize + 'px',
340
+ fontWeight: sectionproperties.noprod_fontWeight,
341
+ textTransform: sectionproperties.noprod_textTransform,
342
+ color: sectionproperties.noprod_color,
343
+ }}
344
+ >
345
+ No Products Found
346
+ </p>
347
+ </div>
348
+ </div>
349
+ )}
350
+ {cardsarray.length != 0 &&
351
+ StatePagePropertiesContext.pageobj.sections[props.sectionindexprops].childsections.map((item, index) => {
352
+ if (item.tabexsectioninfo != null) {
353
+ if (item.sectionstructype == 'child' && TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname] != undefined) {
354
+ var Sectioncomp = TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname];
355
+ return (
356
+ <div className="row m-0 w-100 d-flex justify-content-center">
357
+ <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 '}>
358
+ <ScrollMenu
359
+ transitionBehavior={'auto'}
360
+ wrapperClassName={''}
361
+ itemClassName={
362
+ item.tabexsectioninfo.sectioncompname == 'Productcard6'
363
+ ? 'scrollmenuclassnameitemProductcard6'
364
+ : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
365
+ ? 'scrollmenuclassnameitemProductcard_with_circularhover'
366
+ : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
367
+ ? 'scrollmenuclassnameitemProductcard_with_circularbg'
368
+ : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
369
+ ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition'
370
+ : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation'
371
+ ? 'scrollmenuclassnameitemProductcard_with_slideanimation'
372
+ : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext'
373
+ ? 'scrollmenuclassnameitemCategorycard_withtext'
374
+ : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons'
375
+ ? 'scrollmenuclassnameitemProductcard_animatedbuttons'
376
+ : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants'
377
+ ? 'scrollmenuclassnameitemProductcard_with_variants'
378
+ : item.tabexsectioninfo.sectioncompname == 'Productcarddefault'
379
+ ? 'scrollmenuclassnameitemProductcarddefault'
380
+ : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard'
381
+ ? 'scrollmenuclassnameitemSimpleproductcard'
382
+ : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg'
383
+ ? 'scrollmenuclassnameitemCategorycard_with_trianglebg'
384
+ : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover'
385
+ ? 'scrollmenuclassnameitemProductcard_with_textonhover'
386
+ : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled'
387
+ ? 'scrollmenuclassnameitemCategorycard_slidebgscaled'
388
+ : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
389
+ ? 'scrollmenuclassnameitemProductccard_with_imageontopleft'
390
+ : item.tabexsectioninfo.sectioncompname == 'Productcard_with_zoominonhover'
391
+ ? 'scrollmenuclassnameitemProductcard_with_zoominonhover'
392
+ : item.tabexsectioninfo.sectioncompname == 'Horizontalcard'
393
+ ? 'scrollmenuclassnameitemProductcard_Horizontalcard'
394
+ : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
395
+ ? 'scrollmenuclassnameitemCategorycard_fullimage'
396
+ : item.tabexsectioninfo.sectioncompname == 'Classiccategorycard'
397
+ ? 'scrollmenuclassnameitemClassiccategorycard'
398
+ : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
399
+ ? 'scrollmenuclassnameitemModernProductCard'
400
+ : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
401
+ ? 'scrollmenuclassnameitemSimplecategorycardwithtextbelow'
402
+ : item.tabexsectioninfo.sectioncompname == 'Productcard7'
403
+ ? 'scrollmenuclassnameitemProductcard7'
404
+ : item.tabexsectioninfo.sectioncompname == 'MenuCard'
405
+ ? 'scrollmenuclassnameitemMenuCard'
406
+ : 'scrollmenuclassnameitem'
407
+ }
408
+ scrollContainerClassName={'scrollmenuclasssubscrollbar'}
409
+ >
410
+ {cardsarray.map((cardinfoitem, cardinfoindex) => {
411
+ return (
412
+ <div
413
+ className={' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 '}
414
+ style={{
415
+ paddingRight: sectionproperties.card_marginRight + 'px',
416
+ paddingLeft: sectionproperties.card_marginLeft + 'px',
417
+ }}
418
+ >
419
+ <Sectioncomp
420
+ sectiontypeprops={'horizontal'}
421
+ fetchingtypeprops={fetchingtype}
422
+ cardinfoindexprops={cardinfoindex}
423
+ cardinfoitemprops={cardinfoitem}
424
+ sectionindexprops={index}
425
+ sectionidprops={item.sectionid}
426
+ actions={actions}
427
+ />
428
+ </div>
429
+ );
430
+ })}
431
+ {fetchingtype == 'products' && (
432
+ <button
433
+ className={section_cssstyles.loadbtn + ' d-flex justify-content-end align-items-center '}
434
+ // ref={ref}
435
+ onClick={() => fetchProductsQuery.fetchNextPage()}
436
+ disabled={!fetchProductsQuery.hasNextPage || fetchProductsQuery.isFetchingNextPage}
437
+ >
438
+ {fetchProductsQuery.isFetchingNextPage ? (
439
+ <CircularProgress color={sectionproperties.loadbtn_Textcolor} width="20px" height="20px" duration="1s" />
440
+ ) : fetchProductsQuery.hasNextPage ? (
441
+ <i className="fa fa-spinner"></i>
442
+ ) : (
443
+ ''
444
+ )}
445
+ </button>
446
+ )}
447
+ </ScrollMenu>
448
+ </div>
449
+ </div>
450
+ );
451
+ }
452
+ }
453
+ })}
454
+ </div>
455
+ </div>
456
+ </div>
457
+ )}
458
+ </div>
459
+ </div>
460
+ );
461
+ };
462
+ return (
463
+ <div className="row m-0 d-flex w-100 justify-content-center mb-md-4 " style={{ zIndex: 2 }}>
464
+ <div className="col-lg-12 p-0 d-flex justify-content-center">
465
+ {sectionproperties.length != 0 && (
466
+ <div
467
+ className={
468
+ langdetect == 'en'
469
+ ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 pr-md-0 '
470
+ : section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 pl-md-0 '
471
+ }
472
+ >
473
+ {cardsrender()}
474
+ </div>
475
+ )}
476
+ </div>
477
+ </div>
478
+ );
479
+ };
480
+ export default CardsSection2;