tabexseriescomponents 0.0.225 → 0.0.227

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 (254) hide show
  1. package/dist/index.cjs.js +118 -90
  2. package/dist/index.esm.js +118 -90
  3. package/dist/index.umd.js +118 -90
  4. package/package.json +1 -1
  5. package/srcold/Contexts/LanguageContext.jsx +0 -390
  6. package/srcold/Contexts/ProductsCardsSectionContext.jsx +0 -34
  7. package/srcold/StylesJS/Customstyles.js +0 -236
  8. package/srcold/TabexComponents/Cards/Card20/Card20.jsx +0 -282
  9. package/srcold/TabexComponents/Cards/Card21/Card21.jsx +0 -388
  10. package/srcold/TabexComponents/Cards/Card22/Card22.jsx +0 -287
  11. package/srcold/TabexComponents/Cards/Card23/Card23.jsx +0 -403
  12. package/srcold/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -395
  13. package/srcold/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -70
  14. package/srcold/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -211
  15. package/srcold/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -220
  16. package/srcold/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -230
  17. package/srcold/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -198
  18. package/srcold/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -170
  19. package/srcold/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -181
  20. package/srcold/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -161
  21. package/srcold/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -180
  22. package/srcold/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -487
  23. package/srcold/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -123
  24. package/srcold/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -192
  25. package/srcold/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -270
  26. package/srcold/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -543
  27. package/srcold/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -467
  28. package/srcold/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -469
  29. package/srcold/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -445
  30. package/srcold/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -304
  31. package/srcold/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -256
  32. package/srcold/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -278
  33. package/srcold/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -443
  34. package/srcold/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -275
  35. package/srcold/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
  36. package/srcold/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -301
  37. package/srcold/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -419
  38. package/srcold/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -524
  39. package/srcold/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -275
  40. package/srcold/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
  41. package/srcold/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -136
  42. package/srcold/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -179
  43. package/srcold/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -291
  44. package/srcold/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -339
  45. package/srcold/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -338
  46. package/srcold/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -515
  47. package/srcold/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -184
  48. package/srcold/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -475
  49. package/srcold/TabexComponents/Footer/Footer1/Footer1.jsx +0 -448
  50. package/srcold/TabexComponents/Footer/Footer2/Footer2.jsx +0 -383
  51. package/srcold/TabexComponents/Footer/Footer3/Footer3.jsx +0 -394
  52. package/srcold/TabexComponents/Footer/Footer4/Footer4.jsx +0 -699
  53. package/srcold/TabexComponents/Footer/Footer5/Footer5.jsx +0 -523
  54. package/srcold/TabexComponents/Footer/Footer6/Footer6.jsx +0 -301
  55. package/srcold/TabexComponents/Footer/Footer7/Footer7.jsx +0 -415
  56. package/srcold/TabexComponents/Footer/Footer8/Footer8.jsx +0 -454
  57. package/srcold/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -329
  58. package/srcold/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -274
  59. package/srcold/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  60. package/srcold/TabexComponents/Generalfiles/images/noimage.png +0 -0
  61. package/srcold/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  62. package/srcold/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  63. package/srcold/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  64. package/srcold/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  65. package/srcold/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  66. package/srcold/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  67. package/srcold/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  68. package/srcold/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  69. package/srcold/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  70. package/srcold/TabexComponents/Generalfiles/images/usflag.png +0 -0
  71. package/srcold/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  72. package/srcold/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -880
  73. package/srcold/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -870
  74. package/srcold/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -688
  75. package/srcold/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -720
  76. package/srcold/TabexComponents/Headers/Header4/Header4.jsx +0 -621
  77. package/srcold/TabexComponents/Headers/Header8/Header8.jsx +0 -824
  78. package/srcold/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -730
  79. package/srcold/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -762
  80. package/srcold/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -706
  81. package/srcold/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -900
  82. package/srcold/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -841
  83. package/srcold/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -988
  84. package/srcold/TabexComponents/Headers/Headerresponsive/HeaderresponsiveNew.jsx +0 -1081
  85. package/srcold/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -988
  86. package/srcold/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -917
  87. package/srcold/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -693
  88. package/srcold/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -952
  89. package/srcold/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +0 -636
  90. package/srcold/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -853
  91. package/srcold/TabexComponents/Headers/Subheader/Subheader copy.jsx +0 -373
  92. package/srcold/TabexComponents/Headers/Subheader/Subheader.jsx +0 -515
  93. package/srcold/TabexComponents/Headers/Subheader/SubheaderDropdown.jsx +0 -190
  94. package/srcold/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -483
  95. package/srcold/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -1005
  96. package/srcold/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -1020
  97. package/srcold/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader .jsx +0 -843
  98. package/srcold/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -448
  99. package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -346
  100. package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -304
  101. package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -301
  102. package/srcold/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -312
  103. package/srcold/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -271
  104. package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -174
  105. package/srcold/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -200
  106. package/srcold/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -263
  107. package/srcold/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -143
  108. package/srcold/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -248
  109. package/srcold/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -295
  110. package/srcold/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -394
  111. package/srcold/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -406
  112. package/srcold/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -246
  113. package/srcold/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -1220
  114. package/srcold/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -480
  115. package/srcold/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -718
  116. package/srcold/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -406
  117. package/srcold/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -652
  118. package/srcold/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -635
  119. package/srcold/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -495
  120. package/srcold/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -383
  121. package/srcold/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -250
  122. package/srcold/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -160
  123. package/srcold/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -256
  124. package/srcold/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -329
  125. package/srcold/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -266
  126. package/srcold/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -371
  127. package/srcold/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -140
  128. package/srcold/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -374
  129. package/srcold/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -339
  130. package/srcold/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -303
  131. package/srcold/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -224
  132. package/srcold/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -147
  133. package/srcold/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -139
  134. package/srcold/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -634
  135. package/srcold/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -324
  136. package/srcold/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -525
  137. package/srcold/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -569
  138. package/srcold/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -475
  139. package/srcold/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.js +0 -91
  140. package/srcold/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -369
  141. package/srcold/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -392
  142. package/srcold/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -213
  143. package/srcold/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -467
  144. package/srcold/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -181
  145. package/srcold/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -1280
  146. package/srcold/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -1392
  147. package/srcold/TabexComponents/StaticPages/Filter/Filter.jsx +0 -1399
  148. package/srcold/TabexComponents/StaticPages/Filter/FilterOriginal.jsx +0 -1132
  149. package/srcold/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -60
  150. package/srcold/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -50
  151. package/srcold/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
  152. package/srcold/TabexComponents/StaticPages/Login/Login.jsx +0 -469
  153. package/srcold/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -143
  154. package/srcold/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1329
  155. package/srcold/TabexComponents/StaticPages/Policies/Policies.jsx +0 -306
  156. package/srcold/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +0 -1334
  157. package/srcold/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -715
  158. package/srcold/TabexComponents/StaticPages/Productinfo/Service_itemtype copy.jsx +0 -361
  159. package/srcold/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -361
  160. package/srcold/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -501
  161. package/srcold/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -145
  162. package/srcold/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -227
  163. package/srcold/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -832
  164. package/srcold/TabexComponents/StaticPages/Signup/Signup.jsx +0 -154
  165. package/srcold/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -280
  166. package/srcold/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -671
  167. package/srcold/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -538
  168. package/srcold/assets/images/appstore.png +0 -0
  169. package/srcold/assets/images/cod.png +0 -0
  170. package/srcold/assets/images/egyptflag.png +0 -0
  171. package/srcold/assets/images/fawry.png +0 -0
  172. package/srcold/assets/images/googleplay.png +0 -0
  173. package/srcold/assets/images/ksa.png +0 -0
  174. package/srcold/assets/images/mastercard.png +0 -0
  175. package/srcold/assets/images/payment.png +0 -0
  176. package/srcold/assets/images/paymob.png +0 -0
  177. package/srcold/assets/images/paypal.png +0 -0
  178. package/srcold/assets/images/shoppingcart.png +0 -0
  179. package/srcold/assets/images/usflag.png +0 -0
  180. package/srcold/assets/images/visa.png +0 -0
  181. package/srcold/assets/images/whatsapp.png +0 -0
  182. package/srcold/button.jsx +0 -40
  183. package/srcold/index.jsx +0 -283
  184. package/srcold/styles/Home.module.css +0 -129
  185. package/srcold/styles/cards/Categorcycard_fullimage.module.css +0 -10
  186. package/srcold/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
  187. package/srcold/styles/cards/Categorycard_withshapes.module.css +0 -189
  188. package/srcold/styles/cards/ModernCardWithQuantityButton.module.css +0 -30
  189. package/srcold/styles/cards/Productcard6.module.css +0 -9
  190. package/srcold/styles/cards/Productccard_with_zoominonhover.module.css +0 -51
  191. package/srcold/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
  192. package/srcold/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -65
  193. package/srcold/styles/cards/categorycard.module.css +0 -85
  194. package/srcold/styles/cards/categorycard3.module.css +0 -50
  195. package/srcold/styles/cards/categorycardwithtext.module.css +0 -40
  196. package/srcold/styles/cards/productcard_animatedbuttons.module.css +0 -130
  197. package/srcold/styles/cards/productcard_with_textonhover.module.css +0 -18
  198. package/srcold/styles/cards/productcard_withtextonimage.module.css +0 -0
  199. package/srcold/styles/cards/productccard_with_imageontopleft.module.css +0 -85
  200. package/srcold/styles/general/bootstrap.css +0 -4727
  201. package/srcold/styles/general/dropdown.css +0 -206
  202. package/srcold/styles/general/editorbardropdown.module.css +0 -94
  203. package/srcold/styles/general/filter.module.css +0 -108
  204. package/srcold/styles/general/form.module.css +0 -273
  205. package/srcold/styles/general/general.module.css +0 -872
  206. package/srcold/styles/general/image-gallery.css +0 -531
  207. package/srcold/styles/general/react-accessible-accordion.module.css +0 -52
  208. package/srcold/styles/general/react-phone-input-2.module.css +0 -927
  209. package/srcold/styles/general/scrollbtn.module.css +0 -22
  210. package/srcold/styles/general/slick.module.css +0 -166
  211. package/srcold/styles/general/tabs.module.css +0 -119
  212. package/srcold/styles/general/workplaceeditor.module.css +0 -328
  213. package/srcold/styles/globals.css +0 -26
  214. package/srcold/styles/headers/CTAHeader.module.css +0 -40
  215. package/srcold/styles/headers/CategoryFeaturingHeader.module.css +0 -61
  216. package/srcold/styles/headers/Gotoheader.module.css +0 -81
  217. package/srcold/styles/headers/Header7.module.css +0 -50
  218. package/srcold/styles/headers/HeaderWithAdSlider.module.css +0 -86
  219. package/srcold/styles/headers/HeaderWithSearchOnCenter.module.css +0 -101
  220. package/srcold/styles/headers/HeaderWithUtilityBar.module.css +0 -46
  221. package/srcold/styles/headers/Header_threesectionslogocentered.module.css +0 -84
  222. package/srcold/styles/headers/NewHeader.module.css +0 -101
  223. package/srcold/styles/headers/SearchFocusedHeader.module.css +0 -62
  224. package/srcold/styles/headers/Sideheader.module.css +0 -108
  225. package/srcold/styles/headers/Simpleheader.module.css +0 -102
  226. package/srcold/styles/headers/classicheader.module.css +0 -16
  227. package/srcold/styles/headers/classicheaderstyles.module.css +0 -9
  228. package/srcold/styles/headers/dropdown.css +0 -0
  229. package/srcold/styles/headers/header4.module.css +0 -175
  230. package/srcold/styles/headers/header5.module.css +0 -30
  231. package/srcold/styles/headers/header_contactinfo.module.css +0 -53
  232. package/srcold/styles/headers/headerresturant.module.css +0 -89
  233. package/srcold/styles/headers/modernheader.module.css +0 -72
  234. package/srcold/styles/headers/stylishheader.module.css +0 -24
  235. package/srcold/styles/headers/subheader.module.css +0 -114
  236. package/srcold/styles/headers/threetieredheader.module.css +0 -91
  237. package/srcold/styles/sections/BackgroundImageWithTopContent.css +0 -4
  238. package/srcold/styles/sections/Backgroundimage1.module.css +0 -17
  239. package/srcold/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
  240. package/srcold/styles/sections/Section_with_rightbgcont.module.css +0 -49
  241. package/srcold/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
  242. package/srcold/styles/sections/Slideshow_with_squarebg.module.css +0 -39
  243. package/srcold/styles/staticpages/accordion.module.css +0 -9
  244. package/srcold/styles/staticpages/cart.module.css +0 -108
  245. package/srcold/styles/staticpages/dropdown.css +0 -196
  246. package/srcold/styles/staticpages/filter.module.css +0 -139
  247. package/srcold/styles/staticpages/image-gallery.css +0 -481
  248. package/srcold/styles/staticpages/login.module.css +0 -113
  249. package/srcold/styles/staticpages/productinfo.module.css +0 -54
  250. package/srcold/styles/staticpages/shop.module.css +0 -191
  251. package/srcold/styles/staticpages/signup.module.css +0 -206
  252. package/srcold/styles/staticpages/staticroutersidenav.module.css +0 -129
  253. package/srcold/styles/staticpages/viewcart.module.css +0 -129
  254. package/srcold/styles/staticpages/wishlist.module.css +0 -29
@@ -1,718 +0,0 @@
1
- import React, { useEffect, useState, useContext } from 'react';
2
- import generalstyles from '../../../../styles/general/general.module.css';
3
- import filterstyles from '../../../../styles/staticpages/filter.module.css';
4
- import { css } from 'glamor';
5
- // import Filter from '';
6
- import { useInView } from 'react-intersection-observer';
7
- import { CircularProgress } from 'react-cssfx-loading';
8
- import { ScrollMenu, VisibilityContext } from 'react-horizontal-scrolling-menu';
9
- import { serverbaselink, IKurlEndpoint, IKpublicKey } from '../../../../../Env';
10
- import { IKImage } from 'imagekitio-react';
11
-
12
- import { FaArrowAltCircleRight } from '@react-icons/all-files/fa/FaArrowAltCircleRight';
13
- import { FaArrowAltCircleLeft } from '@react-icons/all-files/fa/FaArrowAltCircleLeft';
14
- import { FiLayers } from '@react-icons/all-files/fi/FiLayers';
15
- import { FiFilter } from '@react-icons/all-files/fi/FiFilter';
16
-
17
- const CardsSectionwithfilter = (props) => {
18
- const { ref, inView } = useInView();
19
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
20
- const lang = props.actions.lang;
21
- const langdetect = props.actions.langdetect;
22
- const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
23
- const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
24
- const routingcountext = props.actions.routingcountext;
25
- const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
26
- const ProductFilterObjContext = props.actions.ProductFilterObjContext;
27
- const setProductFilterObjContext = props.actions.setProductFilterObjContext;
28
- const TabexSectionsComponentsContext = props.actions.TabexSectionsComponentsContext;
29
- const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
30
- const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
31
- const fetchProductsQuery = props.actions.fetchProductsQuery;
32
- const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
33
- const setParentCollectionsForCollectionQueryArr = props.actions.setParentCollectionsForCollectionQueryArr;
34
- const ParentCollectionsForCollectionQueryArr = props.actions.ParentCollectionsForCollectionQueryArr;
35
- const setfetchingtype = props.actions.setfetchingtype;
36
- const fetchingtype = props.actions.fetchingtype;
37
- const addtofavoritescontext = props.actions.addtofavoritescontext;
38
- const actions = props.actions;
39
- const [sectionproperties, setsectionproperties] = useState('');
40
- const [imagesarray, setimagesarray] = useState([]);
41
- const [cardsarray, setcardsarray] = useState([]);
42
- const [productsCardsArray, setproductsCardsArray] = useState([]);
43
- React.useEffect(() => {
44
- if (inView) {
45
- fetchProductsQuery.fetchNextPage();
46
- }
47
- }, [inView]);
48
- const [ProductsFetchingTypeSectionObj, setProductsFetchingTypeSectionObj] = useState({ productfetchingtype: 'Random', collectionid: '' });
49
-
50
- useEffect(() => {
51
- StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
52
- if (sectionitem.sectionid == props.sectionidprops) {
53
- var secpropobj = {};
54
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
55
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
56
- });
57
- setsectionproperties({ ...secpropobj });
58
-
59
- if (props.srcfromprops == 'GeneralProductsComponent') {
60
- setfetchingtype('products');
61
- setProductsFetchingTypeSectionObj({
62
- productfetchingtype: 'Random',
63
- collectionid: props.collectionidprops,
64
- });
65
- } else {
66
- setfetchingtype(sectionitem.fetchingtype);
67
- setProductsFetchingTypeSectionObj({
68
- productfetchingtype: sectionitem.productsfetchingtype,
69
- collectionid: sectionitem.productsfetchingtypeCollectioncollectionid,
70
- });
71
- }
72
- }
73
- });
74
- }, [StatePagePropertiesContext]);
75
- useEffect(() => {
76
- if (sectionproperties.length != 0) {
77
- if (cardsarray.length == 0) {
78
- // if (fetchingtype == 'collections') {
79
- if (fetchcollectionsQueryContext.isSuccess) {
80
- collectioncardobjassigner(fetchcollectionsQueryContext.data.data.collections);
81
- }
82
- // } else if (fetchingtype == 'products') {
83
- if (fetchProductsQuery.isSuccess) {
84
- var allpagesarr = [];
85
- fetchProductsQuery?.data?.data?.products?.forEach((item) => {
86
- allpagesarr.push(item);
87
- });
88
- productcardobjassigner(allpagesarr);
89
- }
90
- // }
91
- }
92
- }
93
- }, [sectionproperties]);
94
- useEffect(() => {
95
- if (fetchingtype.length != 0) {
96
- var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
97
- // if (fetchingtype == 'collections') {
98
- // tempFetchQueriesEngineContext.collections = true;
99
- if (ProductsFetchingTypeSectionObj.collectionid == 'all' || ProductsFetchingTypeSectionObj.collectionid == null || ProductsFetchingTypeSectionObj.collectionid == undefined) {
100
- setParentCollectionsForCollectionQueryArr('all');
101
- } else {
102
- setParentCollectionsForCollectionQueryArr([ProductsFetchingTypeSectionObj.collectionid]);
103
- }
104
- // }
105
- // if (fetchingtype == 'products') {
106
- var tempfetchproductsfilerobjcontext = ProductFilterObjContext;
107
- tempfetchproductsfilerobjcontext.ProductFetchingType = ProductsFetchingTypeSectionObj.productfetchingtype;
108
- tempfetchproductsfilerobjcontext.collections.push(ProductsFetchingTypeSectionObj.collectionid);
109
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
110
- // }
111
- setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
112
- }
113
- }, [fetchingtype, ProductsFetchingTypeSectionObj]);
114
- useEffect(() => {
115
- // if (fetchingtype == 'products') {
116
- if (fetchProductsQuery.isSuccess && fetchcustomercartQueryContext.isSuccess) {
117
- var allpagesarr = [];
118
- fetchProductsQuery?.data?.data?.products?.forEach((item) => {
119
- allpagesarr.push(item);
120
- });
121
- productcardobjassigner(allpagesarr);
122
- }
123
- // }
124
- }, [fetchProductsQuery.isSuccess, fetchProductsQuery.dataUpdatedAt, fetchProductsQuery.data, fetchcustomercartQueryContext.dataUpdatedAt]);
125
- useEffect(() => {
126
- if (fetchingtype == 'collections') {
127
- if (fetchcollectionsQueryContext.isSuccess) {
128
- collectioncardobjassigner(fetchcollectionsQueryContext.data.data.collections);
129
- }
130
- }
131
- }, [fetchcollectionsQueryContext.isSuccess]);
132
- useEffect(() => {
133
- favassigner();
134
- }, [favoriteprojectscountContext]);
135
- const favassigner = () => {
136
- // if (fetchingtype == 'products') {
137
- if (productsCardsArray.length != 0) {
138
- if (favoriteprojectscountContext != undefined && Array.isArray(favoriteprojectscountContext)) {
139
- var tempproductsCardsArray = [...productsCardsArray];
140
- tempproductsCardsArray.forEach(function (arrayItem, arrayindex) {
141
- arrayItem.IsFavExists = false;
142
- });
143
- tempproductsCardsArray.forEach(function (arrayItem, arrayindex) {
144
- favoriteprojectscountContext.forEach(function (favitem, favindex) {
145
- if (arrayItem.productid == favitem) {
146
- arrayItem.IsFavExists = true;
147
- }
148
- });
149
- });
150
- setproductsCardsArray([...tempproductsCardsArray]);
151
- }
152
- }
153
- // }
154
- };
155
- const productcardobjassigner = (fetchedarray) => {
156
- var temparray = [];
157
- fetchedarray.forEach(function (arrayItem, arrayindex) {
158
- var cardobj = {
159
- name: '',
160
- image: '',
161
- };
162
- var itemquantity = 0;
163
- if (langdetect == 'en') {
164
- cardobj.name = arrayItem.productinfo.name_en;
165
- } else {
166
- cardobj.name = arrayItem.productinfo.name_ar;
167
- }
168
- if (langdetect == 'en') {
169
- cardobj.description = arrayItem.productinfo.description_en;
170
- } else {
171
- cardobj.description = arrayItem.productinfo.description_ar;
172
- }
173
- if (arrayItem.productinfo.hasvariants == 0) {
174
- fetchcustomercartQueryContext.data.data.customercart.cartitems.forEach(function (cartitem, cartindex) {
175
- if (cartitem.productid == arrayItem.productinfo.productid) {
176
- itemquantity = cartitem.quantity;
177
- }
178
- });
179
- }
180
- cardobj.image = arrayItem.productinfo.productmainimage;
181
- cardobj.hassale = arrayItem.productinfo.hassale;
182
- cardobj.productid = arrayItem.productinfo.productid;
183
- cardobj.hasvariants = arrayItem.productinfo.hasvariants;
184
- cardobj.description_en = arrayItem.productinfo.description_en;
185
- cardobj.description_ar = arrayItem.productinfo.description_ar;
186
- cardobj.defaultprice = arrayItem.productinfo.defaultprice;
187
- cardobj.defaultsaleprice = arrayItem.productinfo.defaultsaleprice;
188
- cardobj.productimages = arrayItem.productinfo.productimages;
189
- cardobj.quantity = itemquantity;
190
- cardobj.timestamp = arrayItem.productinfo.timestamp;
191
-
192
- if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
193
- favoriteprojectscountContext.forEach(function (favitem, favindex) {
194
- if (arrayItem.productinfo.productid == favitem) {
195
- cardobj.IsFavExists = true;
196
- }
197
- });
198
- }
199
-
200
- temparray.push(cardobj);
201
- });
202
-
203
- setproductsCardsArray([...temparray]);
204
- };
205
- const collectioncardobjassigner = (fetchedarray) => {
206
- var temparray = [];
207
- fetchedarray.forEach(function (arrayItem, arrayindex) {
208
- var cardobj = {
209
- name: '',
210
- image: '',
211
- };
212
-
213
- cardobj.collectionid = arrayItem.collectionid;
214
- if (langdetect == 'en') {
215
- cardobj.name = arrayItem.title_en;
216
- cardobj.description = arrayItem.description_en;
217
- } else if (langdetect == 'ar') {
218
- cardobj.name = arrayItem.title_ar;
219
- cardobj.description = arrayItem.description_ar;
220
- }
221
- cardobj.image = arrayItem.collectionlogo;
222
-
223
- temparray.push(cardobj);
224
- });
225
-
226
- setcardsarray([...temparray]);
227
- };
228
- useEffect(() => {
229
- if (sectionproperties.length != 0) {
230
- if (sectionproperties.bgsection_imagearrayofobjs != null) {
231
- var bgsection_imagearrayofobjsparsed = JSON.parse(sectionproperties.bgsection_imagearrayofobjs);
232
- if (Array.isArray(bgsection_imagearrayofobjsparsed)) {
233
- setimagesarray([...bgsection_imagearrayofobjsparsed]);
234
- }
235
- }
236
- }
237
- }, [sectionproperties]);
238
- const section_cssstyles = {
239
- sectiontitlespan: css({
240
- ':after': {
241
- height: '5px',
242
- width: sectionproperties.sectitle_lineafterwidth + '%',
243
- backgroundColor: sectionproperties.linebgcolor,
244
- },
245
- }),
246
- line_left: css({
247
- height: '1px',
248
- position: 'relative',
249
- flex: '1 1 auto',
250
- minWidth: '10%',
251
- background: sectionproperties.linebgcolor,
252
- }),
253
- line_right: css({
254
- height: '1px',
255
- position: 'relative',
256
- flex: '1 1 auto',
257
- minWidth: '10%',
258
- background: sectionproperties.linebgcolor,
259
- }),
260
- cards_sections: css({
261
- marginTop: sectionproperties.marginTop + 'px',
262
- marginBottom: sectionproperties.marginBottom + 'px',
263
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
264
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
265
- paddingTop: sectionproperties.paddingTop + 'px',
266
- paddingBottom: sectionproperties.paddingBottom + 'px',
267
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
268
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
269
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
270
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
271
- boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
272
- borderColor: sectionproperties.sectioncardbordercolor,
273
- border: sectionproperties.sectioncardborderwidth + 'px solid',
274
- }),
275
- filterbtn: css({
276
- width: sectionproperties.filterbtn_Width + 'px',
277
- height: sectionproperties.filterbtn_Height + 'px',
278
- background: sectionproperties.filterbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.filterbtn_bgColor,
279
- borderBottomLeftRadius: sectionproperties.filterbtn_borderBottomLeftRadius + 'px',
280
- borderBottomRightRadius: sectionproperties.filterbtn_borderBottomRightRadius + 'px',
281
- borderTopLeftRadius: sectionproperties.filterbtn_borderTopLeftRadius + 'px',
282
- borderTopRightRadius: sectionproperties.filterbtn_borderTopRightRadius + 'px',
283
- color: sectionproperties.filterbtn_Textcolor,
284
- boxShadow: sectionproperties.filterbtn_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.filterbtn_shadowcolor : '',
285
- marginTop: sectionproperties.filterbtn_marginTop + 'px',
286
- marginBottom: sectionproperties.filterbtn_marginBottom + 'px',
287
- marginLeft: sectionproperties.filterbtn_marginLeft + 'px',
288
- marginRight: sectionproperties.filterbtn_marginRight + 'px',
289
- transition: '.3s',
290
- ':hover': {
291
- background: sectionproperties.filterbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.filterbtn_bgColoronhover,
292
- color: sectionproperties.filterbtn_Textcoloronhover,
293
- },
294
- }),
295
- viewmorebtn: css({
296
- width: sectionproperties.viewmorebtn_Width + 'px',
297
- height: sectionproperties.viewmorebtn_Height + 'px',
298
- background: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColor,
299
- borderRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
300
- color: sectionproperties.viewmorebtn_Textcolor,
301
- fontSize: sectionproperties.viewmorebtn_fontSize + 'px',
302
- fontWeight: sectionproperties.viewmorebtn_fontWeight,
303
- textDecoration: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'underline' : 'none',
304
- transition: '.3s',
305
- ':hover': {
306
- background: sectionproperties.viewmorebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColoronhover,
307
- color: sectionproperties.viewmorebtn_Textcoloronhover,
308
- },
309
- }),
310
- loadbtn: css({
311
- fontSize: sectionproperties.generaltext_fontSize + 'px',
312
- color: sectionproperties.generaltext_fontColor,
313
- fontWeight: sectionproperties.generaltext_fontWeight,
314
- textDecoration: 'underline',
315
- transition: '.3s',
316
- ':hover': {
317
- color: sectionproperties.text_secondarycolor,
318
- },
319
- }),
320
- filtersection: css({
321
- zIndex: 1000,
322
- position: 'relative',
323
- backgroundColor: sectionproperties.filter_backgroundtransparent == 'Transparent' ? 'transparent' : sectionproperties.filter_backgroundcolor,
324
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.filter_borderBottomLeftRadius + 'px' : sectionproperties.filter_borderBottomRightRadius + 'px',
325
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.filter_borderBottomRightRadius + 'px' : sectionproperties.filter_borderBottomLeftRadius + 'px',
326
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.filter_borderTopLeftRadius + 'px' : sectionproperties.filter_borderTopRightRadius + 'px',
327
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.filter_borderTopRightRadius + 'px' : sectionproperties.filter_borderTopLeftRadius + 'px',
328
- border: sectionproperties.filter_borderwidth + 'px solid ' + sectionproperties.filter_bordercolor,
329
- padding: '10px',
330
- marginTop: sectionproperties.filtersection_mt + 'px',
331
- }),
332
- filteroption: css({
333
- color: sectionproperties.timeline_text_color,
334
- fontSize: sectionproperties.timeline_text_fontsize + 'px',
335
- fontWeight: sectionproperties.timeline_text_fontweight,
336
- textTransform: sectionproperties.timeline_text_texttransform,
337
- transition: '.3s',
338
- ':hover': {
339
- color: sectionproperties.timeline_text_coloronhover,
340
- },
341
- }),
342
- };
343
- const cardsrender = () => {
344
- return (
345
- <div class={sectionproperties.showFilter == 'show' && sectionproperties.filterdirection == 'Vertical' ? 'col-lg-9 p-sm-0' : 'row m-0 w-100'}>
346
- {sectionproperties.length != 0 && (
347
- <div className="row m-0 w-100 d-flex align-items-center p-sm-0">
348
- <div
349
- className="row ml-0 mr-0 w-100 pl-md-2 pr-md-2 pl-sm-2 pr-sm-2"
350
- style={{
351
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
352
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
353
- paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
354
- paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px',
355
- }}
356
- >
357
- <div
358
- class={
359
- sectionproperties.viewmorebtnshow == 'Show'
360
- ? sectionproperties.sectiontitleposition == 'Centered'
361
- ? ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 '
362
- : ' col-lg-7 col-md-7 col-sm-9 d-flex align-items-center p-0 '
363
- : sectionproperties.showFilter == 'show'
364
- ? ' col-lg-12 col-md-7 col-sm-9 d-flex align-items-center p-0 '
365
- : ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 '
366
- }
367
- >
368
- <div class="row m-0 w-100">
369
- {sectionproperties.sectiontitleshow == 'Show' && (
370
- <div
371
- class={`${generalstyles.sectiontitlecont}` + ' col-lg-12 p-0 d-flex align-items-center '}
372
- style={{
373
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
374
- }}
375
- >
376
- <div
377
- class="d-flex align-items-center flex-row"
378
- style={{
379
- position: 'relative',
380
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
381
- width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
382
- }}
383
- >
384
- {sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={section_cssstyles.line_left}></span>}
385
- <p
386
- class={
387
- // font-sm-18 font-md-20
388
- sectionproperties.sectiontitlefontfamily == 'Pacifico'
389
- ? `${section_cssstyles.sectiontitlespan}` + ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
390
- : sectionproperties.sectiontitlefontfamily == 'Playfair'
391
- ? `${section_cssstyles.sectiontitlespan}` + ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
392
- : sectionproperties.sectiontitlefontfamily == 'Great Vibes'
393
- ? `${section_cssstyles.sectiontitlespan}` + ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
394
- : sectionproperties.sectiontitlefontfamily == 'Quicksand'
395
- ? `${section_cssstyles.sectiontitlespan}` + ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
396
- : sectionproperties.sectiontitlefontfamily == 'Satisfy'
397
- ? `${section_cssstyles.sectiontitlespan}` + ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
398
- : `${section_cssstyles.sectiontitlespan}` + ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
399
- }
400
- style={{
401
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
402
- color: sectionproperties.sectionTitleColor,
403
- fontWeight: sectionproperties.sectionTitleFontWeight,
404
- paddingLeft: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
405
- paddingRight: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
406
- textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
407
- }}
408
- >
409
- {langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
410
- </p>
411
- {sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={section_cssstyles.line_right}></span>}
412
- </div>
413
- </div>
414
- )}
415
- {sectionproperties.prodCatShow == 'Show' && (
416
- <div
417
- class={' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 '}
418
- style={{
419
- justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start',
420
- marginBottom: sectionproperties.descriptionMarginBottom + 'px',
421
- paddingLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
422
- paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px',
423
- }}
424
- >
425
- <p
426
- class={
427
- sectionproperties.descFontFamily == 'Pacifico'
428
- ? ' PacificoFont m-0 p-0 wordbreak '
429
- : sectionproperties.descFontFamily == 'Playfair'
430
- ? ' PlayfairFont m-0 p-0 wordbreak '
431
- : sectionproperties.descFontFamily == 'Great Vibes'
432
- ? ' GreatvibesFont m-0 p-0 wordbreak '
433
- : sectionproperties.descFontFamily == 'Quicksand'
434
- ? ' QuicksandFont m-0 p-0 wordbreak'
435
- : ' m-0 p-0 wordbreak'
436
- }
437
- style={{
438
- fontSize: sectionproperties.prodCatFontSize + 'px',
439
- color: sectionproperties.prodCatColor,
440
- fontWeight: sectionproperties.prodCatFontWeight,
441
- textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
442
- }}
443
- >
444
- {langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
445
- </p>
446
- </div>
447
- )}
448
- </div>
449
- </div>
450
- {/* <div class="col-lg-12">
451
- <Filter2 />
452
- </div> */}
453
- <div
454
- class={
455
- sectionproperties.sectiontitleposition == 'Centered'
456
- ? 'col-lg-12 col-md-12 col-sm-12 d-flex align-item-center justify-content-center p-0'
457
- : 'col-lg-5 col-md-5 col-sm-3 d-flex align-item-center justify-content-end justify-content-sm-center p-0'
458
- }
459
- style={{
460
- marginTop: sectionproperties.sectiontitleposition == 'Centered' ? '10px' : 0,
461
- }}
462
- >
463
- <div
464
- class={
465
- sectionproperties.sectiontitleposition == 'Centered'
466
- ? ' row m-0 w-100 d-flex align-item-center justify-content-center '
467
- : ' row m-0 w-100 d-flex align-item-center justify-content-end mt-auto mb-auto '
468
- }
469
- >
470
- {/* sectionproperties.view_as_slider_vertical == 'Slider (Horizontal)' && */}
471
- {sectionproperties.viewmorebtnshow == 'Show' && (
472
- <button
473
- class={
474
- sectionproperties.sectiontitleposition == 'Centered'
475
- ? `${section_cssstyles.viewmorebtn}` + ' m-sm-0 allcentered mt-auto mb-auto '
476
- : `${section_cssstyles.viewmorebtn}` + ' w-sm-auto btn-circle-resp m-sm-0 mt-auto mb-auto '
477
- }
478
- onClick={() => {
479
- if (fetchingtype == 'products') {
480
- if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
481
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
482
- } else {
483
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
484
- }
485
- } else {
486
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
487
- }
488
- }}
489
- >
490
- <span
491
- class={
492
- sectionproperties.sectiontitleposition == 'Centered'
493
- ? 'd-flex justify-content-center align-items-center'
494
- : 'd-flex justify-content-center align-items-center d-md-none'
495
- }
496
- >
497
- {langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar}
498
- </span>
499
- <span
500
- class={
501
- sectionproperties.sectiontitleposition == 'Centered'
502
- ? 'd-none align-items-center justify-content-center'
503
- : 'd-none d-md-flex align-items-center justify-content-center'
504
- }
505
- >
506
- <i class="h-100 d-flex align-items-center justify-content-center">{langdetect == 'en' ? <FaArrowAltCircleRight /> : <FaArrowAltCircleLeft />}</i>
507
- </span>
508
- </button>
509
- )}
510
- {sectionproperties.showFilter == 'show' && (
511
- <button
512
- class={
513
- sectionproperties.searchbar_show == 'Show'
514
- ? ' col-lg-3 col-md-3 pl-0 pr-0 d-none d-md-flex justify-content-end ml-1 '
515
- : ' col-lg-12 col-sm-12 pl-0 pr-0 d-none d-md-flex justify-content-end ml-1 '
516
- }
517
- onClick={() => {
518
- var element = document.getElementById('filterslider');
519
- element.classList.add(filterstyles.filterslider_container_opened);
520
- }}
521
- >
522
- <div class={`${section_cssstyles.filterbtn}`}>
523
- <i class="h-100 d-flex align-items-center justify-content-center">
524
- <FiFilter />
525
- </i>
526
- </div>
527
- </button>
528
- )}
529
- </div>
530
- </div>
531
- {sectionproperties.showseparator == 'Show' && (
532
- <div class="col-lg-12 p-0">
533
- <hr class="mt-3 mb-2" style={{ borderColor: sectionproperties.upperseparatorbgcolor }} />
534
- </div>
535
- )}
536
- </div>
537
- {!fetchProductsQuery.isFetching && cardsarray.length == 0 && (
538
- <div className="row m-0 w-100 d-flex align-items-center" style={{ height: '20vh' }}>
539
- <div className="col-lg-12 text-light d-flex align-items-center justify-content-center flex-column">
540
- <FiLayers
541
- style={{
542
- fontSize: sectionproperties.noprod_iconfontSize + 'px',
543
- color: sectionproperties.noprod_iconcolor,
544
- }}
545
- />
546
- <p
547
- style={{
548
- fontSize: sectionproperties.noprod_fontSize + 'px',
549
- fontWeight: sectionproperties.noprod_fontWeight,
550
- textTransform: sectionproperties.noprod_textTransform,
551
- color: sectionproperties.noprod_color,
552
- }}
553
- >
554
- {langdetect == 'en' ? 'No Products Found' : 'لا توجد منتجات'}
555
- </p>
556
- </div>
557
- </div>
558
- )}
559
- {productsCardsArray.length != 0 && (
560
- <div class="col-lg-12 p-0">
561
- {StatePagePropertiesContext.pageobj.sections[props.sectionindexprops].childsections.map((item, index) => {
562
- if (item.tabexsectioninfo != null) {
563
- if (item.sectionstructype == 'child' && TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname] != undefined) {
564
- var Sectioncomp = TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname];
565
- return (
566
- <div className={section_cssstyles.cards_sections + ' row ml-0 mr-0 w-100 p-md-0 '}>
567
- <div class={langdetect == 'en' ? 'col-lg-12 p-0 pl-sm-2' : 'col-lg-12 p-0 pr-sm-2'}>
568
- <ScrollMenu
569
- transitionBehavior={'auto'}
570
- wrapperClassName={''}
571
- itemClassName={
572
- item.tabexsectioninfo.sectioncompname == 'Productcard6'
573
- ? 'scrollmenuclassnameitemProductcard6'
574
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
575
- ? 'scrollmenuclassnameitemProductcard_with_circularhover'
576
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
577
- ? 'scrollmenuclassnameitemProductcard_with_circularbg'
578
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
579
- ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition'
580
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation'
581
- ? 'scrollmenuclassnameitemProductcard_with_slideanimation'
582
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext'
583
- ? 'scrollmenuclassnameitemCategorycard_withtext'
584
- : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons'
585
- ? 'scrollmenuclassnameitemProductcard_animatedbuttons'
586
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants'
587
- ? 'scrollmenuclassnameitemProductcard_with_variants'
588
- : item.tabexsectioninfo.sectioncompname == 'Productcarddefault'
589
- ? 'scrollmenuclassnameitemProductcarddefault'
590
- : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard'
591
- ? 'scrollmenuclassnameitemSimpleproductcard'
592
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg'
593
- ? 'scrollmenuclassnameitemCategorycard_with_trianglebg'
594
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover'
595
- ? 'scrollmenuclassnameitemProductcard_with_textonhover'
596
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled'
597
- ? 'scrollmenuclassnameitemCategorycard_slidebgscaled'
598
- : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
599
- ? 'scrollmenuclassnameitemProductccard_with_imageontopleft'
600
- : item.tabexsectioninfo.sectioncompname == 'Productcard_with_zoominonhover'
601
- ? 'scrollmenuclassnameitemProductcard_with_zoominonhover'
602
- : item.tabexsectioninfo.sectioncompname == 'Horizontalcard'
603
- ? 'scrollmenuclassnameitemProductcard_Horizontalcard'
604
- : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
605
- ? 'scrollmenuclassnameitemCategorycard_fullimage'
606
- : // : item.tabexsectioninfo.sectioncompname == 'Classiccategorycard'
607
- // ? 'scrollmenuclassnameitemClassiccategorycard'
608
- item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
609
- ? 'scrollmenuclassnameitemModernProductCard'
610
- : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
611
- ? 'scrollmenuclassnameitemSimplecategorycardwithtextbelow'
612
- : item.tabexsectioninfo.sectioncompname == 'Productcard7'
613
- ? 'scrollmenuclassnameitemProductcard7'
614
- : item.tabexsectioninfo.sectioncompname == 'MenuCard'
615
- ? 'scrollmenuclassnameitemMenuCard'
616
- : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
617
- ? 'scrollmenuclassnameitemStylishProductCard'
618
- : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage'
619
- ? 'scrollmenuclassnameitemProductCardWithTextOnImage'
620
- : item.tabexsectioninfo.sectioncompname == 'Card23'
621
- ? 'scrollmenuclassnameitemCard23'
622
- : item.tabexsectioninfo.sectioncompname == 'Card20'
623
- ? 'scrollmenuclassnameitemCard20'
624
- : item.tabexsectioninfo.sectioncompname == 'ModernCardWithQuantityButton'
625
- ? 'scrollmenuclassnameitemModernCardWithQuantityButton'
626
- : ''
627
- }
628
- scrollContainerClassName={'scrollmenuclasssubscrollbar'}
629
- >
630
- {productsCardsArray.map((cardinfoitem, cardinfoindex) => {
631
- return (
632
- <div className={' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100'}>
633
- <Sectioncomp
634
- sectiontypeprops={'horizontal'}
635
- fetchingtypeprops={'products'}
636
- cardinfoindexprops={cardinfoindex}
637
- cardinfoitemprops={cardinfoitem}
638
- sectionindexprops={index}
639
- sectionidprops={item.sectionid}
640
- actions={actions}
641
- />
642
- </div>
643
- );
644
- })}
645
- {fetchProductsQuery.isFetchingNextPage && (
646
- <button
647
- className={section_cssstyles.loadbtn + ' d-flex justify-content-end align-items-center '}
648
- ref={ref}
649
- onClick={() => fetchProductsQuery.fetchNextPage()}
650
- disabled={!fetchProductsQuery.hasNextPage || fetchProductsQuery.isFetchingNextPage}
651
- >
652
- <CircularProgress color="#000" width="20px" height="20px" duration="1s" />
653
- </button>
654
- )}
655
- </ScrollMenu>
656
- </div>
657
- </div>
658
- );
659
- }
660
- }
661
- })}
662
- </div>
663
- )}
664
- </div>
665
- )}
666
- </div>
667
- );
668
- };
669
- return (
670
- <div class={' row m-0 d-flex w-100 justify-content-center '}>
671
- {sectionproperties.length != 0 && (
672
- <div class={' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 '}>
673
- <div class="col-lg-3">
674
- <div
675
- style={{
676
- position: 'absolute',
677
- zIndex: 1,
678
- }}
679
- >
680
- <IKImage
681
- urlEndpoint={IKurlEndpoint}
682
- publicKey={IKpublicKey}
683
- path={imagesarray.length != 0 ? (langdetect == 'en' ? imagesarray[0].bgsection_image : imagesarray[0].bgsection_image_ar) : ''}
684
- style={{
685
- height: '100%',
686
- width: '100%',
687
- objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
688
- }}
689
- />
690
- </div>
691
- <div class={section_cssstyles.filtersection}>
692
- {cardsarray.map((item, index) => {
693
- return (
694
- <button
695
- class={section_cssstyles.filteroption}
696
- style={{
697
- cursor: 'pointer',
698
- marginBottom: '5px',
699
- marginRight: '5px',
700
- marginLeft: '5px',
701
- }}
702
- onClick={() => {
703
- alert('hh0');
704
- }}
705
- >
706
- <p>{item.name}</p>
707
- </button>
708
- );
709
- })}
710
- </div>
711
- </div>
712
- <div class="col-lg-9">{cardsrender()}</div>
713
- </div>
714
- )}
715
- </div>
716
- );
717
- };
718
- export default CardsSectionwithfilter;