tabexseriescomponents 0.0.656 → 0.0.657

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (661) hide show
  1. package/dist/index.cjs.js +1 -1
  2. package/dist/index.esm.js +1 -1
  3. package/dist/index.umd.js +1 -1
  4. package/package.json +1 -1
  5. package/src 2.zip +0 -0
  6. package/src1-5.zip +0 -0
  7. package/src19-11/Contexts/LanguageContext.jsx +0 -408
  8. package/src19-11/Contexts/ProductsCardsSectionContext.jsx +0 -36
  9. package/src19-11/Imagekitconfig.jsx +0 -46
  10. package/src19-11/StylesJS/Customstyles.js +0 -345
  11. package/src19-11/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -376
  12. package/src19-11/TabexComponents/Cards/Card20/Card20.jsx +0 -298
  13. package/src19-11/TabexComponents/Cards/Card21/Card21.jsx +0 -388
  14. package/src19-11/TabexComponents/Cards/Card22/Card22.jsx +0 -288
  15. package/src19-11/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -1630
  16. package/src19-11/TabexComponents/Cards/Card23/Card23.jsx +0 -733
  17. package/src19-11/TabexComponents/Cards/CardAll/CardAll.jsx +0 -453
  18. package/src19-11/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -394
  19. package/src19-11/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -70
  20. package/src19-11/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -211
  21. package/src19-11/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -255
  22. package/src19-11/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -235
  23. package/src19-11/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -199
  24. package/src19-11/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -182
  25. package/src19-11/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -181
  26. package/src19-11/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -161
  27. package/src19-11/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -184
  28. package/src19-11/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -560
  29. package/src19-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +0 -145
  30. package/src19-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -146
  31. package/src19-11/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +0 -142
  32. package/src19-11/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -193
  33. package/src19-11/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -409
  34. package/src19-11/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -732
  35. package/src19-11/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -468
  36. package/src19-11/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -593
  37. package/src19-11/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -208
  38. package/src19-11/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -497
  39. package/src19-11/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -512
  40. package/src19-11/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -304
  41. package/src19-11/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -257
  42. package/src19-11/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -277
  43. package/src19-11/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -352
  44. package/src19-11/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -291
  45. package/src19-11/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
  46. package/src19-11/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -327
  47. package/src19-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -408
  48. package/src19-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -528
  49. package/src19-11/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -558
  50. package/src19-11/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -275
  51. package/src19-11/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
  52. package/src19-11/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -137
  53. package/src19-11/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -613
  54. package/src19-11/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -413
  55. package/src19-11/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -225
  56. package/src19-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -525
  57. package/src19-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -455
  58. package/src19-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -905
  59. package/src19-11/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -337
  60. package/src19-11/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -347
  61. package/src19-11/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -605
  62. package/src19-11/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -185
  63. package/src19-11/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -528
  64. package/src19-11/TabexComponents/Footer/Footer1/Footer1.jsx +0 -714
  65. package/src19-11/TabexComponents/Footer/Footer2/Footer2.jsx +0 -527
  66. package/src19-11/TabexComponents/Footer/Footer3/Footer3.jsx +0 -411
  67. package/src19-11/TabexComponents/Footer/Footer4/Footer4.jsx +0 -466
  68. package/src19-11/TabexComponents/Footer/Footer5/Footer5.jsx +0 -714
  69. package/src19-11/TabexComponents/Footer/Footer6/Footer6.jsx +0 -290
  70. package/src19-11/TabexComponents/Footer/Footer7/Footer7.jsx +0 -428
  71. package/src19-11/TabexComponents/Footer/Footer8/Footer8.jsx +0 -533
  72. package/src19-11/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -330
  73. package/src19-11/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +0 -562
  74. package/src19-11/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +0 -865
  75. package/src19-11/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +0 -647
  76. package/src19-11/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +0 -110
  77. package/src19-11/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -316
  78. package/src19-11/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  79. package/src19-11/TabexComponents/Generalfiles/images/noimage.png +0 -0
  80. package/src19-11/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  81. package/src19-11/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  82. package/src19-11/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  83. package/src19-11/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  84. package/src19-11/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  85. package/src19-11/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  86. package/src19-11/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  87. package/src19-11/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  88. package/src19-11/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  89. package/src19-11/TabexComponents/Generalfiles/images/usflag.png +0 -0
  90. package/src19-11/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  91. package/src19-11/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -1259
  92. package/src19-11/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -1049
  93. package/src19-11/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -1040
  94. package/src19-11/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -1263
  95. package/src19-11/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -76
  96. package/src19-11/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -894
  97. package/src19-11/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -831
  98. package/src19-11/TabexComponents/Headers/Header4/Header4.jsx +0 -622
  99. package/src19-11/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -1026
  100. package/src19-11/TabexComponents/Headers/Header8/Header8.jsx +0 -1976
  101. package/src19-11/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -776
  102. package/src19-11/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -927
  103. package/src19-11/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -704
  104. package/src19-11/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -902
  105. package/src19-11/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -953
  106. package/src19-11/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -1562
  107. package/src19-11/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -1201
  108. package/src19-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -990
  109. package/src19-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +0 -1639
  110. package/src19-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +0 -1845
  111. package/src19-11/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -1327
  112. package/src19-11/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -934
  113. package/src19-11/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -78
  114. package/src19-11/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -962
  115. package/src19-11/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -778
  116. package/src19-11/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -1159
  117. package/src19-11/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +0 -1073
  118. package/src19-11/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +0 -133
  119. package/src19-11/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -854
  120. package/src19-11/TabexComponents/Headers/Subheader/Subheader.jsx +0 -863
  121. package/src19-11/TabexComponents/Headers/Subheader/Subheader13-3.jsx +0 -685
  122. package/src19-11/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -517
  123. package/src19-11/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -555
  124. package/src19-11/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -1042
  125. package/src19-11/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -1089
  126. package/src19-11/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +0 -936
  127. package/src19-11/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -533
  128. package/src19-11/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -338
  129. package/src19-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -870
  130. package/src19-11/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -302
  131. package/src19-11/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -314
  132. package/src19-11/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -318
  133. package/src19-11/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -179
  134. package/src19-11/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -201
  135. package/src19-11/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -393
  136. package/src19-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +0 -583
  137. package/src19-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +0 -291
  138. package/src19-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +0 -627
  139. package/src19-11/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +0 -348
  140. package/src19-11/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -387
  141. package/src19-11/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -268
  142. package/src19-11/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +0 -288
  143. package/src19-11/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +0 -117
  144. package/src19-11/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +0 -99
  145. package/src19-11/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -146
  146. package/src19-11/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -462
  147. package/src19-11/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -296
  148. package/src19-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -396
  149. package/src19-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -616
  150. package/src19-11/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -408
  151. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -1399
  152. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -1656
  153. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -1540
  154. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -1902
  155. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +0 -1596
  156. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +0 -1872
  157. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +0 -1880
  158. package/src19-11/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -726
  159. package/src19-11/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -719
  160. package/src19-11/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -406
  161. package/src19-11/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -929
  162. package/src19-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -646
  163. package/src19-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -962
  164. package/src19-11/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -582
  165. package/src19-11/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -383
  166. package/src19-11/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -342
  167. package/src19-11/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -161
  168. package/src19-11/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -257
  169. package/src19-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -382
  170. package/src19-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -436
  171. package/src19-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +0 -757
  172. package/src19-11/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -346
  173. package/src19-11/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -1736
  174. package/src19-11/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -141
  175. package/src19-11/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -376
  176. package/src19-11/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -380
  177. package/src19-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -711
  178. package/src19-11/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -226
  179. package/src19-11/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -149
  180. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -143
  181. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -634
  182. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -520
  183. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -527
  184. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -643
  185. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -477
  186. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -1217
  187. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +0 -614
  188. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -91
  189. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -380
  190. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -619
  191. package/src19-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -284
  192. package/src19-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -614
  193. package/src19-11/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -402
  194. package/src19-11/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -199
  195. package/src19-11/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -304
  196. package/src19-11/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -321
  197. package/src19-11/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -797
  198. package/src19-11/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -460
  199. package/src19-11/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -1306
  200. package/src19-11/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -1892
  201. package/src19-11/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -1633
  202. package/src19-11/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -1593
  203. package/src19-11/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -1574
  204. package/src19-11/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -245
  205. package/src19-11/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -2888
  206. package/src19-11/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -1450
  207. package/src19-11/TabexComponents/StaticPages/Filter/Filter.jsx +0 -2771
  208. package/src19-11/TabexComponents/StaticPages/Filter/Filter1-5.jsx +0 -2624
  209. package/src19-11/TabexComponents/StaticPages/Filter/Filter13-11.jsx +0 -2758
  210. package/src19-11/TabexComponents/StaticPages/Filter/Filter14-8.jsx +0 -2753
  211. package/src19-11/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -1495
  212. package/src19-11/TabexComponents/StaticPages/Filter/VariantFilter.jsx +0 -1271
  213. package/src19-11/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -62
  214. package/src19-11/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -50
  215. package/src19-11/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
  216. package/src19-11/TabexComponents/StaticPages/Login/Login copy.jsx +0 -1060
  217. package/src19-11/TabexComponents/StaticPages/Login/Login.jsx +0 -610
  218. package/src19-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -172
  219. package/src19-11/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1584
  220. package/src19-11/TabexComponents/StaticPages/Policies/Policies.jsx +0 -291
  221. package/src19-11/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -194
  222. package/src19-11/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -183
  223. package/src19-11/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -128
  224. package/src19-11/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +0 -255
  225. package/src19-11/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -176
  226. package/src19-11/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -225
  227. package/src19-11/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +0 -92
  228. package/src19-11/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -312
  229. package/src19-11/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -235
  230. package/src19-11/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +0 -1983
  231. package/src19-11/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -1554
  232. package/src19-11/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +0 -1827
  233. package/src19-11/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +0 -1351
  234. package/src19-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -1566
  235. package/src19-11/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -1946
  236. package/src19-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -1037
  237. package/src19-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -966
  238. package/src19-11/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -632
  239. package/src19-11/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -324
  240. package/src19-11/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -145
  241. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +0 -183
  242. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +0 -128
  243. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +0 -140
  244. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +0 -225
  245. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +0 -310
  246. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +0 -235
  247. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +0 -1672
  248. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +0 -1554
  249. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +0 -1351
  250. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +0 -1566
  251. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +0 -1804
  252. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +0 -560
  253. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +0 -919
  254. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +0 -597
  255. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +0 -324
  256. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +0 -145
  257. package/src19-11/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -194
  258. package/src19-11/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -338
  259. package/src19-11/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -359
  260. package/src19-11/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -113
  261. package/src19-11/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -277
  262. package/src19-11/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -1135
  263. package/src19-11/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -1364
  264. package/src19-11/TabexComponents/StaticPages/Signup/Signup.jsx +0 -199
  265. package/src19-11/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -292
  266. package/src19-11/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -113
  267. package/src19-11/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -162
  268. package/src19-11/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -765
  269. package/src19-11/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -786
  270. package/src19-11/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -786
  271. package/src19-11/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -786
  272. package/src19-11/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -1425
  273. package/src19-11/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -844
  274. package/src19-11/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +0 -555
  275. package/src19-11/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -555
  276. package/src19-11/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -555
  277. package/src19-11/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -815
  278. package/src19-11/button.jsx +0 -40
  279. package/src19-11/index.jsx +0 -334
  280. package/src19-11/styles/Home.module.css +0 -129
  281. package/src19-11/styles/cards/Categorcycard_fullimage.module.css +0 -14
  282. package/src19-11/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
  283. package/src19-11/styles/cards/Categorycard_withshapes.module.css +0 -189
  284. package/src19-11/styles/cards/ModernCardWithQuantityButton.module.css +0 -30
  285. package/src19-11/styles/cards/Productcard6.module.css +0 -9
  286. package/src19-11/styles/cards/Productccard_with_zoominonhover.module.css +0 -51
  287. package/src19-11/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
  288. package/src19-11/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -65
  289. package/src19-11/styles/cards/card23.module.css +0 -60
  290. package/src19-11/styles/cards/categorycard.module.css +0 -84
  291. package/src19-11/styles/cards/categorycard3.module.css +0 -50
  292. package/src19-11/styles/cards/categorycardwithtext.module.css +0 -40
  293. package/src19-11/styles/cards/generalCardsStyles.module.css +0 -79
  294. package/src19-11/styles/cards/productcard_animatedbuttons.module.css +0 -139
  295. package/src19-11/styles/cards/productcard_with_textonhover.module.css +0 -18
  296. package/src19-11/styles/cards/productcard_withtextonimage.module.css +0 -0
  297. package/src19-11/styles/cards/productccard_with_imageontopleft.module.css +0 -85
  298. package/src19-11/styles/general/bootstrap.css +0 -4763
  299. package/src19-11/styles/general/dropdown.css +0 -206
  300. package/src19-11/styles/general/editorbardropdown.module.css +0 -94
  301. package/src19-11/styles/general/filter.module.css +0 -108
  302. package/src19-11/styles/general/form.module.css +0 -255
  303. package/src19-11/styles/general/general.module.css +0 -872
  304. package/src19-11/styles/general/image-gallery.css +0 -531
  305. package/src19-11/styles/general/react-accessible-accordion.module.css +0 -52
  306. package/src19-11/styles/general/react-phone-input-2.module.css +0 -927
  307. package/src19-11/styles/general/scrollbtn.module.css +0 -22
  308. package/src19-11/styles/general/slick.module.css +0 -166
  309. package/src19-11/styles/general/tabs.module.css +0 -119
  310. package/src19-11/styles/general/workplaceeditor.module.css +0 -328
  311. package/src19-11/styles/globals.css +0 -26
  312. package/src19-11/styles/headers/CTAHeader.module.css +0 -40
  313. package/src19-11/styles/headers/CategoryFeaturingHeader.module.css +0 -61
  314. package/src19-11/styles/headers/Gotoheader.module.css +0 -87
  315. package/src19-11/styles/headers/Header7.module.css +0 -50
  316. package/src19-11/styles/headers/HeaderWithAdSlider.module.css +0 -86
  317. package/src19-11/styles/headers/HeaderWithSearchOnCenter.module.css +0 -101
  318. package/src19-11/styles/headers/HeaderWithUtilityBar.module.css +0 -46
  319. package/src19-11/styles/headers/Header_threesectionslogocentered.module.css +0 -84
  320. package/src19-11/styles/headers/NewHeader.module.css +0 -101
  321. package/src19-11/styles/headers/SearchFocusedHeader.module.css +0 -62
  322. package/src19-11/styles/headers/Sideheader.module.css +0 -108
  323. package/src19-11/styles/headers/Simpleheader.module.css +0 -102
  324. package/src19-11/styles/headers/classicheader.module.css +0 -16
  325. package/src19-11/styles/headers/classicheaderstyles.module.css +0 -9
  326. package/src19-11/styles/headers/dropdown.css +0 -0
  327. package/src19-11/styles/headers/header4.module.css +0 -175
  328. package/src19-11/styles/headers/header5.module.css +0 -30
  329. package/src19-11/styles/headers/header_contactinfo.module.css +0 -53
  330. package/src19-11/styles/headers/headerresturant.module.css +0 -89
  331. package/src19-11/styles/headers/modernheader.module.css +0 -45
  332. package/src19-11/styles/headers/stylishheader.module.css +0 -24
  333. package/src19-11/styles/headers/subheader.module.css +0 -114
  334. package/src19-11/styles/headers/threetieredheader.module.css +0 -91
  335. package/src19-11/styles/sections/BackgroundImageWithTopContent.css +0 -4
  336. package/src19-11/styles/sections/Backgroundimage1.module.css +0 -17
  337. package/src19-11/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
  338. package/src19-11/styles/sections/Freetext.module.css +0 -18
  339. package/src19-11/styles/sections/Section_with_rightbgcont.module.css +0 -49
  340. package/src19-11/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
  341. package/src19-11/styles/sections/Slideshow_with_squarebg.module.css +0 -39
  342. package/src19-11/styles/staticpages/accordion.module.css +0 -9
  343. package/src19-11/styles/staticpages/cart.module.css +0 -108
  344. package/src19-11/styles/staticpages/dropdown.css +0 -196
  345. package/src19-11/styles/staticpages/filter.module.css +0 -139
  346. package/src19-11/styles/staticpages/image-gallery.css +0 -481
  347. package/src19-11/styles/staticpages/login.module.css +0 -155
  348. package/src19-11/styles/staticpages/productinfo.module.css +0 -54
  349. package/src19-11/styles/staticpages/shop.module.css +0 -191
  350. package/src19-11/styles/staticpages/signup.module.css +0 -250
  351. package/src19-11/styles/staticpages/staticroutersidenav.module.css +0 -129
  352. package/src19-11/styles/staticpages/viewcart.module.css +0 -129
  353. package/src19-11/styles/staticpages/wishlist.module.css +0 -29
  354. package/src22-1/Contexts/LanguageContext.jsx +0 -405
  355. package/src22-1/Contexts/ProductsCardsSectionContext.jsx +0 -36
  356. package/src22-1/Imagekitconfig.jsx +0 -46
  357. package/src22-1/StylesJS/Customstyles.js +0 -344
  358. package/src22-1/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -376
  359. package/src22-1/TabexComponents/Cards/Card20/Card20.jsx +0 -282
  360. package/src22-1/TabexComponents/Cards/Card21/Card21.jsx +0 -388
  361. package/src22-1/TabexComponents/Cards/Card22/Card22.jsx +0 -288
  362. package/src22-1/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -1630
  363. package/src22-1/TabexComponents/Cards/Card23/Card23.jsx +0 -627
  364. package/src22-1/TabexComponents/Cards/CardAll/CardAll.jsx +0 -453
  365. package/src22-1/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -394
  366. package/src22-1/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -70
  367. package/src22-1/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -211
  368. package/src22-1/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -246
  369. package/src22-1/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -235
  370. package/src22-1/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -199
  371. package/src22-1/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -182
  372. package/src22-1/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -181
  373. package/src22-1/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -161
  374. package/src22-1/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -180
  375. package/src22-1/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -546
  376. package/src22-1/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -142
  377. package/src22-1/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -193
  378. package/src22-1/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -379
  379. package/src22-1/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -543
  380. package/src22-1/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -468
  381. package/src22-1/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -593
  382. package/src22-1/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -208
  383. package/src22-1/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -497
  384. package/src22-1/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -519
  385. package/src22-1/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -304
  386. package/src22-1/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -257
  387. package/src22-1/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -277
  388. package/src22-1/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -352
  389. package/src22-1/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -291
  390. package/src22-1/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
  391. package/src22-1/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -327
  392. package/src22-1/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -408
  393. package/src22-1/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -528
  394. package/src22-1/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -558
  395. package/src22-1/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -275
  396. package/src22-1/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
  397. package/src22-1/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -137
  398. package/src22-1/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -598
  399. package/src22-1/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -390
  400. package/src22-1/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -225
  401. package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -525
  402. package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -455
  403. package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -493
  404. package/src22-1/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -337
  405. package/src22-1/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -347
  406. package/src22-1/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -596
  407. package/src22-1/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -185
  408. package/src22-1/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -528
  409. package/src22-1/TabexComponents/Footer/Footer1/Footer1.jsx +0 -551
  410. package/src22-1/TabexComponents/Footer/Footer2/Footer2.jsx +0 -415
  411. package/src22-1/TabexComponents/Footer/Footer3/Footer3.jsx +0 -400
  412. package/src22-1/TabexComponents/Footer/Footer4/Footer4.jsx +0 -457
  413. package/src22-1/TabexComponents/Footer/Footer5/Footer5.jsx +0 -563
  414. package/src22-1/TabexComponents/Footer/Footer6/Footer6.jsx +0 -290
  415. package/src22-1/TabexComponents/Footer/Footer7/Footer7.jsx +0 -428
  416. package/src22-1/TabexComponents/Footer/Footer8/Footer8.jsx +0 -473
  417. package/src22-1/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -330
  418. package/src22-1/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +0 -562
  419. package/src22-1/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +0 -584
  420. package/src22-1/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +0 -110
  421. package/src22-1/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -316
  422. package/src22-1/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  423. package/src22-1/TabexComponents/Generalfiles/images/noimage.png +0 -0
  424. package/src22-1/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  425. package/src22-1/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  426. package/src22-1/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  427. package/src22-1/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  428. package/src22-1/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  429. package/src22-1/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  430. package/src22-1/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  431. package/src22-1/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  432. package/src22-1/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  433. package/src22-1/TabexComponents/Generalfiles/images/usflag.png +0 -0
  434. package/src22-1/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  435. package/src22-1/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -1244
  436. package/src22-1/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -1049
  437. package/src22-1/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -895
  438. package/src22-1/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -1213
  439. package/src22-1/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -76
  440. package/src22-1/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -780
  441. package/src22-1/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -771
  442. package/src22-1/TabexComponents/Headers/Header4/Header4.jsx +0 -622
  443. package/src22-1/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -1026
  444. package/src22-1/TabexComponents/Headers/Header8/Header8.jsx +0 -1923
  445. package/src22-1/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -728
  446. package/src22-1/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -918
  447. package/src22-1/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -707
  448. package/src22-1/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -902
  449. package/src22-1/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -847
  450. package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -1371
  451. package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -1201
  452. package/src22-1/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -990
  453. package/src22-1/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +0 -779
  454. package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -1327
  455. package/src22-1/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -934
  456. package/src22-1/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -64
  457. package/src22-1/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -732
  458. package/src22-1/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -778
  459. package/src22-1/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -1162
  460. package/src22-1/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +0 -835
  461. package/src22-1/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +0 -128
  462. package/src22-1/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -854
  463. package/src22-1/TabexComponents/Headers/Subheader/Subheader.jsx +0 -662
  464. package/src22-1/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -517
  465. package/src22-1/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -555
  466. package/src22-1/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -1045
  467. package/src22-1/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -1089
  468. package/src22-1/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +0 -936
  469. package/src22-1/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -533
  470. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -338
  471. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -802
  472. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -302
  473. package/src22-1/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -314
  474. package/src22-1/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -274
  475. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -179
  476. package/src22-1/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -201
  477. package/src22-1/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -392
  478. package/src22-1/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +0 -291
  479. package/src22-1/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -387
  480. package/src22-1/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -266
  481. package/src22-1/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -146
  482. package/src22-1/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -414
  483. package/src22-1/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -296
  484. package/src22-1/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -396
  485. package/src22-1/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -421
  486. package/src22-1/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -364
  487. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -1399
  488. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -1656
  489. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -1540
  490. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -1532
  491. package/src22-1/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -480
  492. package/src22-1/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -719
  493. package/src22-1/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -406
  494. package/src22-1/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -682
  495. package/src22-1/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -635
  496. package/src22-1/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -920
  497. package/src22-1/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -517
  498. package/src22-1/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -383
  499. package/src22-1/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -325
  500. package/src22-1/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -161
  501. package/src22-1/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -257
  502. package/src22-1/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -382
  503. package/src22-1/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -757
  504. package/src22-1/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -346
  505. package/src22-1/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -633
  506. package/src22-1/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -141
  507. package/src22-1/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -376
  508. package/src22-1/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -380
  509. package/src22-1/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -400
  510. package/src22-1/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -226
  511. package/src22-1/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -149
  512. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -143
  513. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -634
  514. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -331
  515. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -527
  516. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -603
  517. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -477
  518. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -1217
  519. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -91
  520. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -380
  521. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -547
  522. package/src22-1/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -284
  523. package/src22-1/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -612
  524. package/src22-1/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -396
  525. package/src22-1/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -199
  526. package/src22-1/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -304
  527. package/src22-1/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -321
  528. package/src22-1/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -780
  529. package/src22-1/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -460
  530. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -1306
  531. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -1673
  532. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -1633
  533. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -1593
  534. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -1574
  535. package/src22-1/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -439
  536. package/src22-1/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -2888
  537. package/src22-1/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -1450
  538. package/src22-1/TabexComponents/StaticPages/Filter/Filter.jsx +0 -1845
  539. package/src22-1/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -1495
  540. package/src22-1/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -62
  541. package/src22-1/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -50
  542. package/src22-1/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
  543. package/src22-1/TabexComponents/StaticPages/Login/Login copy.jsx +0 -1060
  544. package/src22-1/TabexComponents/StaticPages/Login/Login.jsx +0 -610
  545. package/src22-1/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -146
  546. package/src22-1/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1568
  547. package/src22-1/TabexComponents/StaticPages/Policies/Policies.jsx +0 -291
  548. package/src22-1/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -113
  549. package/src22-1/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -183
  550. package/src22-1/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -128
  551. package/src22-1/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -130
  552. package/src22-1/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -225
  553. package/src22-1/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -310
  554. package/src22-1/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -235
  555. package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +0 -1270
  556. package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -1554
  557. package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -1566
  558. package/src22-1/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -1729
  559. package/src22-1/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -552
  560. package/src22-1/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -754
  561. package/src22-1/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -491
  562. package/src22-1/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -324
  563. package/src22-1/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -145
  564. package/src22-1/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -113
  565. package/src22-1/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -338
  566. package/src22-1/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -358
  567. package/src22-1/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -113
  568. package/src22-1/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -277
  569. package/src22-1/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -1135
  570. package/src22-1/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -1344
  571. package/src22-1/TabexComponents/StaticPages/Signup/Signup.jsx +0 -199
  572. package/src22-1/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -290
  573. package/src22-1/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -113
  574. package/src22-1/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -162
  575. package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -765
  576. package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -786
  577. package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -786
  578. package/src22-1/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -786
  579. package/src22-1/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -1425
  580. package/src22-1/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -555
  581. package/src22-1/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -555
  582. package/src22-1/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -555
  583. package/src22-1/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -815
  584. package/src22-1/button.jsx +0 -40
  585. package/src22-1/index.jsx +0 -327
  586. package/src22-1/styles/Home.module.css +0 -129
  587. package/src22-1/styles/cards/Categorcycard_fullimage.module.css +0 -14
  588. package/src22-1/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
  589. package/src22-1/styles/cards/Categorycard_withshapes.module.css +0 -189
  590. package/src22-1/styles/cards/ModernCardWithQuantityButton.module.css +0 -30
  591. package/src22-1/styles/cards/Productcard6.module.css +0 -9
  592. package/src22-1/styles/cards/Productccard_with_zoominonhover.module.css +0 -51
  593. package/src22-1/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
  594. package/src22-1/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -65
  595. package/src22-1/styles/cards/card23.module.css +0 -60
  596. package/src22-1/styles/cards/categorycard.module.css +0 -84
  597. package/src22-1/styles/cards/categorycard3.module.css +0 -50
  598. package/src22-1/styles/cards/categorycardwithtext.module.css +0 -40
  599. package/src22-1/styles/cards/generalCardsStyles.module.css +0 -79
  600. package/src22-1/styles/cards/productcard_animatedbuttons.module.css +0 -139
  601. package/src22-1/styles/cards/productcard_with_textonhover.module.css +0 -18
  602. package/src22-1/styles/cards/productcard_withtextonimage.module.css +0 -0
  603. package/src22-1/styles/cards/productccard_with_imageontopleft.module.css +0 -85
  604. package/src22-1/styles/general/bootstrap.css +0 -4763
  605. package/src22-1/styles/general/dropdown.css +0 -206
  606. package/src22-1/styles/general/editorbardropdown.module.css +0 -94
  607. package/src22-1/styles/general/filter.module.css +0 -108
  608. package/src22-1/styles/general/form.module.css +0 -255
  609. package/src22-1/styles/general/general.module.css +0 -872
  610. package/src22-1/styles/general/image-gallery.css +0 -531
  611. package/src22-1/styles/general/react-accessible-accordion.module.css +0 -52
  612. package/src22-1/styles/general/react-phone-input-2.module.css +0 -927
  613. package/src22-1/styles/general/scrollbtn.module.css +0 -22
  614. package/src22-1/styles/general/slick.module.css +0 -166
  615. package/src22-1/styles/general/tabs.module.css +0 -119
  616. package/src22-1/styles/general/workplaceeditor.module.css +0 -328
  617. package/src22-1/styles/globals.css +0 -26
  618. package/src22-1/styles/headers/CTAHeader.module.css +0 -40
  619. package/src22-1/styles/headers/CategoryFeaturingHeader.module.css +0 -61
  620. package/src22-1/styles/headers/Gotoheader.module.css +0 -81
  621. package/src22-1/styles/headers/Header7.module.css +0 -50
  622. package/src22-1/styles/headers/HeaderWithAdSlider.module.css +0 -86
  623. package/src22-1/styles/headers/HeaderWithSearchOnCenter.module.css +0 -101
  624. package/src22-1/styles/headers/HeaderWithUtilityBar.module.css +0 -46
  625. package/src22-1/styles/headers/Header_threesectionslogocentered.module.css +0 -84
  626. package/src22-1/styles/headers/NewHeader.module.css +0 -101
  627. package/src22-1/styles/headers/SearchFocusedHeader.module.css +0 -62
  628. package/src22-1/styles/headers/Sideheader.module.css +0 -108
  629. package/src22-1/styles/headers/Simpleheader.module.css +0 -102
  630. package/src22-1/styles/headers/classicheader.module.css +0 -16
  631. package/src22-1/styles/headers/classicheaderstyles.module.css +0 -9
  632. package/src22-1/styles/headers/dropdown.css +0 -0
  633. package/src22-1/styles/headers/header4.module.css +0 -175
  634. package/src22-1/styles/headers/header5.module.css +0 -30
  635. package/src22-1/styles/headers/header_contactinfo.module.css +0 -53
  636. package/src22-1/styles/headers/headerresturant.module.css +0 -89
  637. package/src22-1/styles/headers/modernheader.module.css +0 -45
  638. package/src22-1/styles/headers/stylishheader.module.css +0 -24
  639. package/src22-1/styles/headers/subheader.module.css +0 -114
  640. package/src22-1/styles/headers/threetieredheader.module.css +0 -91
  641. package/src22-1/styles/sections/BackgroundImageWithTopContent.css +0 -4
  642. package/src22-1/styles/sections/Backgroundimage1.module.css +0 -17
  643. package/src22-1/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
  644. package/src22-1/styles/sections/Freetext.module.css +0 -18
  645. package/src22-1/styles/sections/Section_with_rightbgcont.module.css +0 -49
  646. package/src22-1/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
  647. package/src22-1/styles/sections/Slideshow_with_squarebg.module.css +0 -39
  648. package/src22-1/styles/staticpages/accordion.module.css +0 -9
  649. package/src22-1/styles/staticpages/cart.module.css +0 -108
  650. package/src22-1/styles/staticpages/dropdown.css +0 -196
  651. package/src22-1/styles/staticpages/filter.module.css +0 -139
  652. package/src22-1/styles/staticpages/image-gallery.css +0 -481
  653. package/src22-1/styles/staticpages/login.module.css +0 -155
  654. package/src22-1/styles/staticpages/productinfo.module.css +0 -54
  655. package/src22-1/styles/staticpages/shop.module.css +0 -191
  656. package/src22-1/styles/staticpages/signup.module.css +0 -250
  657. package/src22-1/styles/staticpages/staticroutersidenav.module.css +0 -129
  658. package/src22-1/styles/staticpages/viewcart.module.css +0 -129
  659. package/src22-1/styles/staticpages/wishlist.module.css +0 -29
  660. package/srcbeforeedits.zip +0 -0
  661. package/srclib1-5.2.zip +0 -0
@@ -1,1271 +0,0 @@
1
- import React, { useEffect, useState, useContext } from 'react';
2
- import { Accordion, AccordionItem, AccordionItemHeading, AccordionItemButton, AccordionItemPanel, AccordionItemState } from 'react-accessible-accordion';
3
- import filterstyles from '../../../styles/staticpages/filter.module.css';
4
- import { css } from 'glamor';
5
- import Dropdown from 'react-bootstrap/Dropdown';
6
- import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
7
- import { FiChevronDown } from '@react-icons/all-files/fi/FiChevronDown';
8
- import { FiChevronUp } from '@react-icons/all-files/fi/FiChevronUp';
9
- import { Offcanvas } from 'react-bootstrap';
10
- import InputRange from 'react-input-range';
11
- import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
12
- import { ScrollMenu, VisibilityContext } from 'react-horizontal-scrolling-menu';
13
- import { defaultstyles, defaultstylestranslated, selectcustomStyles, selectcustomStylesTranslated } from '../../../StylesJS/Customstyles';
14
- import { CircularProgress, Messaging } from 'react-cssfx-loading';
15
- import formstyles from '../../../styles/general/form.module.css';
16
-
17
- const Select = React.lazy(() => import('react-select'));
18
-
19
- const Filter = (props) => {
20
- const lang = props.actions.lang;
21
- const langdetect = props.actions.langdetect;
22
- const productfiltercontext = props.actions.productfiltercontext;
23
- const setproductfiltercontext = props.actions.setproductfiltercontext;
24
- const ProductFilterObjContext = props.actions.ProductFilterObjContext;
25
- const setProductFilterObjContext = props.actions.setProductFilterObjContext;
26
- const authdetailsContext = props.actions.authdetailsContext;
27
- const fetchproductoptionsQueryContext = props.actions.fetchproductoptionsQueryContext;
28
- const fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
29
- const routingcountext = props.actions.routingcountext;
30
- const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
31
- const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
32
- const ikimagecredcontext = props.actions.ikimagecredcontext;
33
- const [pricevalue, setpricevalue] = useState({ min: 0, max: 10000 });
34
- const [productfeatuesarr, setproductfeatuesarr] = useState([]);
35
-
36
- const fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
37
- const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
38
- const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
39
-
40
- const fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
41
- const fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
42
- const FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
43
- const setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
44
- const fetchProductFeaturesQueryContext = props.actions.fetchProductFeaturesQueryContext;
45
-
46
- const [sectionproperties, setsectionproperties] = useState('');
47
- // const [instfilters, setinstfilters] = useState([...authdetailsContext.instinfo.instfilters]);
48
- const [instfilters, setinstfilters] = useState([]);
49
- const [collectionstobevisible, setcollectionstobevisible] = useState([]);
50
- const [instcollections, setinstcollections] = useState([]);
51
- const [instcategories, setinstcategories] = useState([]);
52
- // const [sortby, setSortby] = useState('Sort by');
53
- const [raterangevalue, setraterangevalue] = useState({ min: 0, max: 5 });
54
- const timeoutRef = React.useRef(null);
55
- const [sortbycontext, setsortbycontext] = useState('');
56
-
57
- const [otherfilters, setotherfilters] = useState([
58
- {
59
- payloadvalue: 'sortprice',
60
- name: lang.price,
61
- filterarray: [
62
- { name: lang.pricehightolow, value: 'hightolow', isfilterselected: false },
63
- { name: lang.pricelowtohigh, value: 'lowtohigh', isfilterselected: false },
64
- ],
65
- },
66
- {
67
- payloadvalue: 'sortdates',
68
-
69
- name: lang.dates,
70
- filterarray: [
71
- { name: lang.recent, value: 'recent', isfilterselected: false },
72
- { name: lang.oldest, value: 'old', isfilterselected: false },
73
- ],
74
- },
75
- ]);
76
- useEffect(() => {
77
- filterupdater();
78
- }, []);
79
- useEffect(() => {
80
- if (fetchproductoptionsQueryContext.isSuccess) {
81
- setinstfilters([...fetchproductoptionsQueryContext?.data?.data?.productoptions]);
82
- }
83
- }, [fetchproductoptionsQueryContext.isSuccess]);
84
- useEffect(() => {
85
- if (fetchCategoriesQueryContext.isSuccess) {
86
- setinstcategories([...fetchCategoriesQueryContext?.data?.data?.categories]);
87
- }
88
- }, [fetchCategoriesQueryContext.isSuccess]);
89
- useEffect(() => {
90
- if (fetchcollectionsQueryContext.isSuccess) {
91
- setinstcollections([...fetchcollectionsQueryContext?.data?.data?.collections]);
92
- }
93
- }, [fetchcollectionsQueryContext.isSuccess]);
94
- // useEffect(() => {
95
- // // setinstfilters([...authdetailsContext.instinfo.instfilters]);
96
- // // setinstcollections([...authdetailsContext.instinfo.instcollections]);
97
- // // setinstcategories([...authdetailsContext?.instinfo?.instcategories]);
98
- // }, [authdetailsContext]);
99
- useEffect(() => {
100
- if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
101
- setsectionproperties(props.sectionpropertiesprops);
102
- }
103
- }, [props.sectionpropertiesprops]);
104
- useEffect(() => {
105
- filterupdater();
106
- }, [ProductFilterObjContext]);
107
- React.useEffect(() => {
108
- if (timeoutRef.current !== null) {
109
- clearTimeout(timeoutRef.current);
110
- }
111
-
112
- timeoutRef.current = setTimeout(() => {
113
- if (raterangevalue.min != 0 || raterangevalue.max != 5) {
114
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
115
- tempfetchproductsfilerobjcontext.minrate = raterangevalue.min;
116
- tempfetchproductsfilerobjcontext.maxrate = raterangevalue.max;
117
- tempfetchproductsfilerobjcontext.page = 0;
118
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
119
- // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
120
- }
121
- }, 500);
122
- }, [raterangevalue]);
123
- useEffect(() => {
124
- if (fetchCategoriesQueryContext.isSuccess && fetchcollectionsQueryContext.isSuccess) {
125
- if (sectionproperties?.filterretreivetype == 'Depend on chosen parent group') {
126
- if (ProductFilterObjContext?.collections != undefined && ProductFilterObjContext?.collections != null && Array.isArray(ProductFilterObjContext?.collections)) {
127
- var collectiontobevisible = [];
128
- var parentidsfound = [];
129
- if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection') {
130
- parentidsfound = ProductFilterObjContext?.collections;
131
- } else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
132
- instcategories?.forEach(function (catitem, catindex) {
133
- ProductFilterObjContext?.collections?.forEach(function (colitem2, colindex2) {
134
- if (catitem.categoryid == colitem2) {
135
- catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
136
- parentidsfound.push(parentcolitem.parentcollectionid);
137
- });
138
- }
139
- });
140
- });
141
- } else {
142
- instcategories?.forEach(function (catitem, catindex) {
143
- catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
144
- parentcolitem?.collections?.forEach(function (colitem, colindex) {
145
- ProductFilterObjContext?.collections?.forEach(function (colitem2, colindex2) {
146
- if (colitem.collectionid == colitem2) {
147
- parentidsfound.push(parentcolitem.parentcollectionid);
148
- }
149
- });
150
- });
151
- });
152
- });
153
- }
154
-
155
- parentidsfound = parentidsfound.filter((val, id, array) => array.indexOf(val) == id);
156
-
157
- if (parentidsfound?.length != 0) {
158
- instcategories?.forEach(function (catitem, catindex) {
159
- catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
160
- parentidsfound?.forEach(function (parentidfounditem, parentidfoundindex) {
161
- if (parentidfounditem == parentcolitem?.parentcollectionid) {
162
- parentcolitem?.collections?.forEach(function (colitem, colindex) {
163
- var iscolexists = false;
164
- collectiontobevisible?.forEach(function (colitemex, colindexex) {
165
- if (colitemex.collectionid == colitem.collectionid) {
166
- iscolexists = true;
167
- }
168
- });
169
- if (iscolexists == false) {
170
- collectiontobevisible.push(colitem);
171
- }
172
- });
173
- }
174
- });
175
- });
176
- });
177
-
178
- if (collectiontobevisible?.length != 0) {
179
- setcollectionstobevisible(collectiontobevisible);
180
- } else {
181
- setcollectionstobevisible(instcollections);
182
- }
183
- } else {
184
- setcollectionstobevisible(instcollections);
185
- }
186
- } else {
187
- setcollectionstobevisible(instcollections);
188
- }
189
- } else {
190
- setcollectionstobevisible(instcollections);
191
- }
192
- }
193
- }, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcategories, instcollections]);
194
- useEffect(() => {
195
- if (productfeatuesarr.length != 0) {
196
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
197
- tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
198
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
199
- filterrouting(tempfetchproductsfilerobjcontext);
200
- }
201
- }, [productfeatuesarr]);
202
- useEffect(() => {
203
- if (fetchTabexStatesQueryContext.isSuccess) {
204
- if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
205
- var tempFetchTabexStatesPayloadobjContext = { ...FetchTabexStatesPayloadobjContext };
206
- tempFetchTabexStatesPayloadobjContext.functype = 'cities';
207
- tempFetchTabexStatesPayloadobjContext.state_id = ProductFilterObjContext.stateid;
208
- setFetchTabexStatesPayloadobjContext({ ...tempFetchTabexStatesPayloadobjContext });
209
- }
210
- }
211
- }, [fetchTabexStatesQueryContext.isSuccess]);
212
- const filterupdater = () => {
213
- setTimeout(() => {
214
- var tempFetchQueriesEngineContext = { ...FetchQueriesEngineContext };
215
- tempFetchQueriesEngineContext.fetchtabexcountries = true;
216
- setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
217
- }, 100);
218
- if (ProductFilterObjContext.countryid != undefined && ProductFilterObjContext.countryid != null && ProductFilterObjContext.countryid != '' && ProductFilterObjContext.countryid != 'all') {
219
- var tempFetchTabexStatesPayloadobjContext = { ...FetchTabexStatesPayloadobjContext };
220
- tempFetchTabexStatesPayloadobjContext.functype = 'states';
221
- tempFetchTabexStatesPayloadobjContext.country_id = ProductFilterObjContext.countryid;
222
- setFetchTabexStatesPayloadobjContext({ ...tempFetchTabexStatesPayloadobjContext });
223
- }
224
-
225
- if (instfilters.length != 0) {
226
- var tempinstfilters = [...instfilters];
227
- tempinstfilters?.forEach(function (instfilteritem, instfilterindex) {
228
- instfilteritem.productvaluesfilter.forEach(function (valefilteritem, valefilteritemindex) {
229
- valefilteritem.isfilterselected = false;
230
- });
231
- });
232
- ProductFilterObjContext?.FilterOptions?.forEach(function (filteritem, filterindex) {
233
- tempinstfilters?.forEach(function (instfilteritem, instfilterindex) {
234
- instfilteritem?.productvaluesfilter?.forEach(function (valefilteritem, valefilteritemindex) {
235
- if (filteritem.valueid == valefilteritem.valueid) {
236
- valefilteritem.isfilterselected = true;
237
- }
238
- });
239
- });
240
- });
241
- setinstfilters([...tempinstfilters]);
242
- }
243
- if (instcategories.length != 0) {
244
- var tempInstcategories = [...instcategories];
245
- tempInstcategories.forEach(function (catitem, catindex) {
246
- catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
247
- parentcolitem.collections.forEach(function (colitem, colindex) {
248
- colitem.isfilterselected = false;
249
- });
250
- });
251
- });
252
-
253
- ProductFilterObjContext?.collections?.forEach(function (filteritem, filterindex) {
254
- tempInstcategories.forEach(function (catitem, catindex) {
255
- catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
256
- parentcolitem.collections.forEach(function (colitem, colindex) {
257
- if (colitem.collectionid == filteritem) {
258
- colitem.isfilterselected = true;
259
- }
260
- });
261
- });
262
- });
263
- });
264
-
265
- setinstcategories([...tempInstcategories]);
266
- }
267
- if (instcollections.length != 0) {
268
- var tempInstcollections = [...instcollections];
269
- tempInstcollections.forEach(function (instfilteritem, valefilteritemindex) {
270
- instfilteritem.isfilterselected = false;
271
- });
272
- ProductFilterObjContext?.collections?.forEach(function (filteritem, filterindex) {
273
- tempInstcollections?.forEach(function (instfilteritem, instfilterindex) {
274
- if (instfilteritem.collectionid == filteritem) {
275
- instfilteritem.isfilterselected = true;
276
- }
277
- });
278
- });
279
- setinstcollections([...tempInstcollections]);
280
- }
281
- };
282
- const setfilterfunc = (valueid, valueindex, mainparentindex, type) => {
283
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
284
- if (type == 'clearfilters') {
285
- tempfetchproductsfilerobjcontext.FilterOptions = [];
286
- } else {
287
- var FilterExists = false;
288
- tempfetchproductsfilerobjcontext?.FilterOptions?.forEach(function (filteritem, filterindex) {
289
- if (filteritem.valueid == valueid) {
290
- FilterExists = true;
291
- tempfetchproductsfilerobjcontext.FilterOptions.splice(filterindex, 1);
292
- }
293
- });
294
- if (!FilterExists) {
295
- tempfetchproductsfilerobjcontext.FilterOptions.push({ valueid: valueid });
296
- }
297
- }
298
- if (tempfetchproductsfilerobjcontext.FilterOptions.length == 0) {
299
- tempfetchproductsfilerobjcontext.isfilter = 0;
300
- } else {
301
- tempfetchproductsfilerobjcontext.isfilter = 1;
302
- }
303
- tempfetchproductsfilerobjcontext.page = 0;
304
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
305
- filterrouting(tempfetchproductsfilerobjcontext);
306
- // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
307
- };
308
- const setCollectionFilterFunc = (collectionid) => {
309
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
310
- var CollectionExists = false;
311
- tempfetchproductsfilerobjcontext?.collections?.forEach(function (filteritem, filterindex) {
312
- if (filteritem == collectionid) {
313
- CollectionExists = true;
314
- tempfetchproductsfilerobjcontext.collections.splice(filterindex, 1);
315
- }
316
- });
317
- if (!CollectionExists) {
318
- if (tempfetchproductsfilerobjcontext.collections != undefined && Array.isArray(tempfetchproductsfilerobjcontext.collections)) {
319
- if (sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection == 'Horizontal') {
320
- tempfetchproductsfilerobjcontext.collections = [];
321
- tempfetchproductsfilerobjcontext.collections.push(collectionid);
322
- } else {
323
- tempfetchproductsfilerobjcontext.collections.push(collectionid);
324
- }
325
- } else {
326
- tempfetchproductsfilerobjcontext.collections = [collectionid];
327
- }
328
- }
329
-
330
- tempfetchproductsfilerobjcontext.page = 0;
331
- tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
332
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
333
- filterrouting(tempfetchproductsfilerobjcontext);
334
- // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
335
- };
336
- const AccordionInner = (parentcollectionindex, parentcollectionitem) => {
337
- return (
338
- <AccordionItem uuid={parentcollectionindex}>
339
- <AccordionItemHeading>
340
- <AccordionItemButton>
341
- <div className={filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '}>
342
- <div className="col-lg-10 col-md-10 col-sm-10 p-0">
343
- <p
344
- className={
345
- langdetect == 'en'
346
- ? filter_cssstyles.pCollectionName + ' collapsetitle text-capitalize m-0 p-0 '
347
- : filter_cssstyles.pCollectionName + ' collapsetitle text-capitalize m-0 p-0 text-right'
348
- }
349
- >
350
- {langdetect == 'en' ? parentcollectionitem.title_en : parentcollectionitem.title_ar}
351
- </p>
352
- </div>
353
- <div className="col-lg-2 col-md-2 col-sm-2 p-0">
354
- <AccordionItemState>
355
- {(state) => {
356
- if (state.expanded == true) {
357
- return (
358
- <i className={filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
359
- <FiChevronDown />
360
- </i>
361
- );
362
- } else {
363
- return (
364
- <i className={filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
365
- <FiChevronUp />
366
- </i>
367
- );
368
- }
369
- }}
370
- </AccordionItemState>
371
- </div>
372
- </div>
373
- </AccordionItemButton>
374
- </AccordionItemHeading>
375
- <AccordionItemPanel className="p-0">
376
- <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex ">
377
- <div class="col-lg-12 mb-3 allcentered">
378
- <p
379
- class={filter_cssstyles.explorebtn + ' m-0 p-0 cursor-pointer text-capitalize '}
380
- style={{ textDecoration: 'underline' }}
381
- onClick={() => {
382
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + parentcollectionitem.parentcollectionid);
383
- }}
384
- >
385
- {langdetect == 'en' ? sectionproperties.explorebtncontenten : sectionproperties.explorebtncontentar}{' '}
386
- {langdetect == 'en' ? parentcollectionitem.title_en : parentcollectionitem.title_ar}
387
- </p>
388
- </div>
389
- <div className={'col-lg-12 pl-md-3 pr-md-3'}>
390
- <div
391
- className={
392
- langdetect == 'en' ? `${filterstyles.timeline} ${filterstyles.timelinetrans}` + ' p-sm-0 ' : `${filterstyles.timeline} ${filterstyles.timelinetrans}` + ' p-sm-0 '
393
- }
394
- >
395
- {parentcollectionitem?.collections?.map((collectionitem, collectionindex) => {
396
- if (collectionitem.isinftiler == 1) {
397
- return (
398
- <div
399
- className={
400
- `${filterstyles.border_left_line} ${filterstyles.timelineinnercont} ${filter_cssstyles.timelineinnercont}
401
- ${collectionitem.isfilterselected ? `${filter_cssstyles.timelineinnercont_active} ${filterstyles.timelineinnercont_active}` : ''}
402
- ` + ' d-flex align-items-start pb-3 '
403
- }
404
- onClick={() => {
405
- setCollectionFilterFunc(collectionitem.collectionid);
406
- }}
407
- >
408
- <div
409
- className={
410
- ` ${collectionitem.isfilterselected ? filter_cssstyles.btn_item_active : ''} ${filterstyles.btn_item} ${filter_cssstyles.btn_item}` +
411
- ' mb-2 d-flex align-items-center '
412
- }
413
- >
414
- <i className="h-100 d-flex align-items-center"></i>
415
- </div>
416
- <div className={langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'}>
417
- <p
418
- className={`${filterstyles.timeline_text} ${filter_cssstyles.timeline_text}` + ' m-0 p-0 '}
419
- style={{
420
- color: collectionitem.isfilterselected ? sectionproperties.activecat_color : '',
421
- }}
422
- >
423
- {langdetect == 'en' ? collectionitem.title_en : collectionitem.title_ar}
424
- </p>
425
- </div>
426
- </div>
427
- );
428
- }
429
- })}
430
- </div>
431
- </div>
432
- </div>
433
- </AccordionItemPanel>
434
- </AccordionItem>
435
- );
436
- };
437
- const AccordionOuter = (categoryItem, categoryIndex) => {
438
- return (
439
- <AccordionItem uuid={categoryIndex}>
440
- <AccordionItemHeading>
441
- <AccordionItemButton>
442
- <div className={filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-1 pl-md-3 pr-md-3 '}>
443
- <div className="col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start">
444
- <p className={filter_cssstyles.categoryName + ' collapsetitle text-capitalize m-0 p-0 '}>{langdetect == 'en' ? categoryItem.title_en : categoryItem.title_ar}</p>
445
- </div>
446
- <div className="col-lg-2 col-md-2 col-sm-2 p-0">
447
- <AccordionItemState>
448
- {(state) => {
449
- if (state.expanded == true) {
450
- return (
451
- <i className={filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
452
- <FiChevronDown />
453
- </i>
454
- );
455
- } else {
456
- return (
457
- <i className={filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
458
- <FiChevronUp />
459
- </i>
460
- );
461
- }
462
- }}
463
- </AccordionItemState>
464
- </div>
465
- <div className="col-lg-12 p-0">
466
- <hr className="mt-3 mb-2" />
467
- </div>
468
- </div>
469
- </AccordionItemButton>
470
- </AccordionItemHeading>
471
- <AccordionItemPanel className="p-0">
472
- <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
473
- <div class="col-lg-12 mb-3 allcentered">
474
- <p
475
- class={filter_cssstyles.explorebtn + ' m-0 p-0 cursor-pointer text-capitalize '}
476
- style={{ textDecoration: 'underline' }}
477
- onClick={() => {
478
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + categoryItem.categoryid);
479
- }}
480
- >
481
- {langdetect == 'en' ? sectionproperties.explorebtncontenten : sectionproperties.explorebtncontentar}{' '}
482
- {langdetect == 'en' ? categoryItem.title_en : categoryItem.title_ar}
483
- </p>
484
- </div>
485
- {instcategories[categoryIndex]?.parentcolletions.map((parentcollectionitem, parentcollectionindex) => {
486
- if (parentcollectionitem.isinftiler == 1) {
487
- return (
488
- <div class="col-lg-12">
489
- {sectionproperties.expandall == 'Yes' && (
490
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true} preExpanded={[0, 1, 2, 3, 4, 5, 6, 7, 8, , 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]}>
491
- {AccordionInner(parentcollectionindex, parentcollectionitem)}
492
- </Accordion>
493
- )}
494
- {sectionproperties.expandall == 'No' && (
495
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
496
- {AccordionInner(parentcollectionindex, parentcollectionitem)}
497
- </Accordion>
498
- )}
499
- </div>
500
- );
501
- }
502
- })}
503
- </div>
504
- </AccordionItemPanel>
505
- </AccordionItem>
506
- );
507
- };
508
- const CategoriesFilter = () => {
509
- return (
510
- <div class="col-lg-12 p-0">
511
- {instcategories?.map((categoryItem, categoryIndex) => {
512
- if (categoryItem.isinftiler == 1) {
513
- return (
514
- <div class="col-lg-12 p-0">
515
- {sectionproperties.expandall == 'Yes' && (
516
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true} preExpanded={[0, 1, 2, 3, 4, 5, 6, 7, 8, , 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]}>
517
- {AccordionOuter(categoryItem, categoryIndex)}
518
- </Accordion>
519
- )}
520
- {sectionproperties.expandall == 'No' && (
521
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
522
- {AccordionOuter(categoryItem, categoryIndex)}
523
- </Accordion>
524
- )}
525
- </div>
526
- );
527
- }
528
- })}
529
- </div>
530
- );
531
- };
532
- const CollectionsFilter = () => {
533
- return (
534
- <div class="col-lg-12 p-0">
535
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true} preExpanded={[0, 1, 2, 3]}>
536
- <AccordionItem uuid={0}>
537
- <AccordionItemHeading>
538
- <AccordionItemButton>
539
- <div className={filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '}>
540
- <div className="col-lg-10 col-md-10 col-sm-10 p-0">
541
- <p className={langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'}>
542
- {langdetect == 'en' ? sectionproperties.filtercollectiontitle_en : sectionproperties.filtercollectiontitle_ar}
543
- </p>
544
- </div>
545
- <div className="col-lg-2 col-md-2 col-sm-2 p-0">
546
- <AccordionItemState>
547
- {(state) => {
548
- if (state.expanded == true) {
549
- return (
550
- <i className={filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
551
- <FiChevronDown />
552
- </i>
553
- );
554
- } else {
555
- return (
556
- <i className={filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
557
- <FiChevronUp />
558
- </i>
559
- );
560
- }
561
- }}
562
- </AccordionItemState>
563
- </div>
564
- </div>
565
- </AccordionItemButton>
566
- </AccordionItemHeading>
567
- <AccordionItemPanel className="p-0">
568
- <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3">
569
- <div className={'col-lg-12'}>
570
- <div
571
- className={
572
- langdetect == 'en'
573
- ? `${filterstyles.timeline} ${filterstyles.timelinetrans}` + ' p-sm-0 '
574
- : `${filterstyles.timeline} ${filterstyles.timelinetrans}` + ' p-sm-0 '
575
- }
576
- >
577
- {collectionstobevisible.map((item, index) => {
578
- return (
579
- <div
580
- className={
581
- `${filterstyles.border_left_line} ${filterstyles.timelineinnercont} ${filter_cssstyles.timelineinnercont}
582
- ${item.isfilterselected ? `${filter_cssstyles.timelineinnercont_active} ${filterstyles.timelineinnercont_active}` : ''}
583
- ` + ' d-flex align-items-start pb-3 '
584
- }
585
- onClick={() => {
586
- setCollectionFilterFunc(item.collectionid);
587
- }}
588
- >
589
- <div
590
- className={
591
- ` ${item.isfilterselected ? filter_cssstyles.btn_item_active : ''} ${filterstyles.btn_item} ${filter_cssstyles.btn_item}` +
592
- ' mb-2 d-flex align-items-center '
593
- }
594
- >
595
- <i className="h-100 d-flex align-items-center"></i>
596
- </div>
597
- <div className={langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'}>
598
- <p
599
- className={`${filterstyles.timeline_text} ${filter_cssstyles.timeline_text}` + ' m-0 p-0 '}
600
- style={{
601
- color: item.isfilterselected ? sectionproperties.activecat_color : '',
602
- }}
603
- >
604
- {langdetect == 'en' ? item.title_en : item.title_ar}
605
- </p>
606
- </div>
607
- </div>
608
- );
609
- })}
610
- </div>
611
- {sectionproperties.showshowallbtn == 'Show' && (
612
- <div class="col-lg-12 allcentered">
613
- <div class={filter_cssstyles.showallbtn} style={{}}>
614
- <p
615
- class="m-0 p-0"
616
- onClick={() => {
617
- setcollectionstobevisible(instcollections);
618
- }}
619
- // style={{ cursor: 'pointer' }}
620
- >
621
- {langdetect == 'en' ? sectionproperties.showalltexten : sectionproperties.showalltextar}
622
- </p>
623
- </div>
624
- </div>
625
- )}
626
- </div>
627
- </div>
628
- </AccordionItemPanel>
629
- </AccordionItem>
630
- <hr className="mt-3 mb-3" />
631
- </Accordion>
632
- </div>
633
- );
634
- };
635
- const DynamicFilter = () => {
636
- return (
637
- <div class="row m-0 w-100">
638
- <div class="col-lg-12 p-0 mb-3">
639
- {fetchProductFeaturesQueryContext?.isSuccess && (
640
- <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3">
641
- {fetchProductFeaturesQueryContext?.data?.data?.productfeatues?.map(function (item, index) {
642
- if (item.type == 'Selectbox') {
643
- var selectboxarr = [];
644
- item?.featuresselectbovalue?.forEach(function (slecitem) {
645
- var itemlabel = '';
646
- if (langdetect == 'en') {
647
- itemlabel = slecitem.value_en;
648
- } else {
649
- itemlabel = slecitem.value_ar;
650
- }
651
- selectboxarr.push({ label: itemlabel, value: slecitem.value_en });
652
- });
653
- return (
654
- <div class="col-lg-12 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3 p-0">
655
- <label
656
- className={' mb-3 w-100 '}
657
- style={{
658
- textAlign: langdetect == 'en' ? 'left' : 'right',
659
- color: sectionproperties.filtertitle_color,
660
- color: sectionproperties.filtertitle_color,
661
- fontSize: sectionproperties.filtertitle_fontsize + 'px',
662
- fontWeight: sectionproperties.filtertitle_fontweight,
663
- color: sectionproperties.filtertitle_color,
664
- textTransform: 'capitalize',
665
- }}
666
- >
667
- {langdetect == 'en' ? item.name_en : item.name_ar}
668
- </label>
669
- <div class={'col-lg-12 p-0'}>
670
- <Select
671
- options={selectboxarr}
672
- styles={langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated}
673
- placeholder={''}
674
- onChange={(e) => {
675
- var isattrexists = false;
676
- var tempproductfeatuesarr = [...productfeatuesarr];
677
- tempproductfeatuesarr?.forEach(function (attritem, attrindex) {
678
- if (attritem.id == item.id) {
679
- tempproductfeatuesarr[attrindex].value = e.value;
680
- isattrexists = true;
681
- }
682
- });
683
- if (isattrexists == false) {
684
- tempproductfeatuesarr.push({
685
- id: item.id,
686
- value: e.value,
687
- });
688
- }
689
- setproductfeatuesarr([...tempproductfeatuesarr]);
690
- }}
691
- />
692
- </div>
693
- </div>
694
- );
695
- }
696
- if (item.type == 'Number') {
697
- return (
698
- <div class="col-lg-12 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3 p-0">
699
- <label
700
- className={`${filter_cssstyles.input_label_name}` + ' mb-3 w-100 '}
701
- style={{
702
- textAlign: langdetect == 'en' ? 'left' : 'right',
703
- color: sectionproperties.filtertitle_color,
704
- color: sectionproperties.filtertitle_color,
705
- fontSize: sectionproperties.filtertitle_fontsize + 'px',
706
- fontWeight: sectionproperties.filtertitle_fontweight,
707
- color: sectionproperties.filtertitle_color,
708
- textTransform: 'capitalize',
709
- }}
710
- >
711
- {langdetect == 'en' ? item.name_en : item.name_ar}
712
- </label>
713
- <div class={'col-lg-12 p-0'}>
714
- <input
715
- type="number"
716
- className={`${formstyles.form_control} ${filter_cssstyles.form_control}`}
717
- placeholder={''}
718
- onChange={(e) => {
719
- var isattrexists = false;
720
- var tempproductfeatuesarr = [...productfeatuesarr];
721
- tempproductfeatuesarr?.forEach(function (attritem, attrindex) {
722
- if (attritem.id == item.id) {
723
- tempproductfeatuesarr[attrindex].value = e.target.value;
724
- isattrexists = true;
725
- }
726
- });
727
- if (isattrexists == false) {
728
- tempproductfeatuesarr.push({
729
- id: item.id,
730
- value: e.target.value,
731
- });
732
- }
733
- setproductfeatuesarr([...tempproductfeatuesarr]);
734
- }}
735
- />
736
- </div>
737
- </div>
738
- );
739
- }
740
- if (item.type == 'NumberRange') {
741
- var temppricevalue = { min: 0, max: 10000 };
742
- var tempproductfeatuesarr = [...productfeatuesarr];
743
- tempproductfeatuesarr?.forEach(function (attritem, attrindex) {
744
- if (attritem.id == item.id) {
745
- if (attritem.value != undefined && attritem.value != null && attritem?.value?.length != 0) {
746
- temppricevalue.min = attritem.value;
747
- }
748
- if (attritem.valuemax != undefined && attritem.valuemax != null && attritem?.valuemax?.length != 0) {
749
- temppricevalue.max = attritem.valuemax;
750
- }
751
- }
752
- });
753
- return (
754
- <div className={`${langdetect == 'en' ? 'text-left' : 'text-right'}` + ' col-lg-12 col-md-12 col-sm-12 mb-3 '}>
755
- <label
756
- className={`${filter_cssstyles.input_label_name}` + ' mb-3 w-100'}
757
- style={{
758
- textAlign: langdetect == 'en' ? 'left' : 'right',
759
- color: sectionproperties.filtertitle_color,
760
- color: sectionproperties.filtertitle_color,
761
- fontSize: sectionproperties.filtertitle_fontsize + 'px',
762
- fontWeight: sectionproperties.filtertitle_fontweight,
763
- color: sectionproperties.filtertitle_color,
764
- textTransform: 'capitalize',
765
- }}
766
- >
767
- {langdetect == 'en' ? item.name_en : item.name_ar}
768
- {item.type}
769
- </label>
770
- <div class={'col-lg-12 pl-4 pr-4 mt-2 mb-2'} style={{ direction: 'ltr' }}>
771
- <InputRange
772
- draggableTrack={true}
773
- formatLabel={(value) => `${value}`}
774
- maxValue={parseInt(sectionproperties.filterpricemaxvalue)}
775
- minValue={parseInt(sectionproperties.filterpriceminvalue)}
776
- value={temppricevalue}
777
- onChange={(e) => {
778
- // setpricevalue({ ...value });
779
- var isattrexists = false;
780
- var tempproductfeatuesarr = [...productfeatuesarr];
781
- tempproductfeatuesarr?.forEach(function (attritem, attrindex) {
782
- if (attritem.id == item.id) {
783
- tempproductfeatuesarr[attrindex].value = e.min;
784
- tempproductfeatuesarr[attrindex].valuemax = e.max;
785
- isattrexists = true;
786
- }
787
- });
788
- if (isattrexists == false) {
789
- tempproductfeatuesarr.push({
790
- id: item.id,
791
- value: e.min,
792
- valuemax: e.max,
793
- });
794
- }
795
- setproductfeatuesarr([...tempproductfeatuesarr]);
796
- }}
797
- />
798
- </div>
799
- </div>
800
- );
801
- }
802
- })}
803
- {/* {sectionproperties.showpricerange == 'Show' && (
804
- <div className={`${langdetect == 'en' ? 'text-left' : 'text-right'}` + ' col-lg-12 col-md-12 col-sm-12 mb-3 p-0 '}>
805
- <label
806
- className={`${filter_cssstyles.input_label_name}` + ' mb-3 w-100'}
807
- style={{
808
- textAlign: langdetect == 'en' ? 'left' : 'right',
809
- color: sectionproperties.filtertitle_color,
810
- color: sectionproperties.filtertitle_color,
811
- fontSize: sectionproperties.filtertitle_fontsize + 'px',
812
- fontWeight: sectionproperties.filtertitle_fontweight,
813
- color: sectionproperties.filtertitle_color,
814
- textTransform: 'capitalize',
815
- }}
816
- >
817
- {langdetect == 'en' ? 'Price' : 'السعر'}
818
- {item.type}
819
- </label>
820
- <div class={'col-lg-12 pl-4 pr-4 mt-2 mb-2'} style={{ direction: 'ltr' }}>
821
- <InputRange
822
- draggableTrack={true}
823
- formatLabel={(value) => `${value}`}
824
- maxValue={parseInt(sectionproperties.filterpricemaxvalue)}
825
- minValue={parseInt(sectionproperties.filterpriceminvalue)}
826
- value={temppricevalue}
827
- onChange={(e) => {
828
- // setpricevalue({ ...value });
829
- var isattrexists = false;
830
- var tempproductfeatuesarr = [...productfeatuesarr];
831
- tempproductfeatuesarr?.forEach(function (attritem, attrindex) {
832
- if (attritem.id == item.id) {
833
- tempproductfeatuesarr[attrindex].value = e.min;
834
- tempproductfeatuesarr[attrindex].valuemax = e.max;
835
- isattrexists = true;
836
- }
837
- });
838
- if (isattrexists == false) {
839
- tempproductfeatuesarr.push({
840
- id: item.id,
841
- value: e.min,
842
- valuemax: e.max,
843
- });
844
- }
845
- setproductfeatuesarr([...tempproductfeatuesarr]);
846
- }}
847
- />
848
- </div>
849
- </div>
850
- )} */}
851
- </div>
852
- )}
853
- </div>
854
- </div>
855
- );
856
- };
857
- const InstFilters = () => {
858
- return (
859
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
860
- {instfilters.map((item, index) => {
861
- return (
862
- <>
863
- <AccordionItem uuid={index}>
864
- <AccordionItemHeading>
865
- <AccordionItemButton>
866
- <div className={filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '}>
867
- <div className="col-lg-10 col-md-10 col-sm-10 p-0">
868
- <p
869
- className={
870
- langdetect == 'en'
871
- ? filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 '
872
- : filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 text-right'
873
- }
874
- >
875
- {langdetect == 'en' ? item.optionname : item.optionname_ar}
876
- </p>
877
- </div>
878
- <div className="col-lg-2 col-md-2 col-sm-2 p-0">
879
- <AccordionItemState>
880
- {(state) => {
881
- if (state.expanded == true) {
882
- return (
883
- <i className={filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
884
- <FiChevronDown />
885
- </i>
886
- );
887
- } else {
888
- return (
889
- <i className={filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
890
- <FiChevronUp />
891
- </i>
892
- );
893
- }
894
- }}
895
- </AccordionItemState>
896
- </div>
897
- </div>
898
- </AccordionItemButton>
899
- </AccordionItemHeading>
900
- <AccordionItemPanel className="p-0">
901
- <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3">
902
- <div className={'col-lg-12'}>
903
- <div className={langdetect == 'en' ? `${filterstyles.timeline}` + ' p-sm-0 ' : `${filterstyles.timeline} ${filterstyles.timelinetrans}` + ' p-sm-0 '}>
904
- {item.productvaluesfilter.map((valueitem, valueindex) => {
905
- return (
906
- <div
907
- className={
908
- `${filterstyles.border_left_line} ${filterstyles.timelineinnercont} ${filter_cssstyles.timelineinnercont}
909
- ${valueitem.isfilterselected ? `${filter_cssstyles.timelineinnercont_active} ${filterstyles.timelineinnercont_active}` : ''}
910
-
911
- ` + ' d-flex align-items-start pb-3 '
912
- }
913
- onClick={() => {
914
- setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
915
- }}
916
- >
917
- <div>
918
- <div
919
- className={
920
- ` ${valueitem.isfilterselected ? filter_cssstyles.btn_item_active : ''} ${filterstyles.btn_item} ${filter_cssstyles.btn_item}` +
921
- ' mb-2 d-flex align-items-center '
922
- }
923
- >
924
- <i className="h-100 d-flex align-items-center"></i>
925
- </div>
926
- </div>
927
- <div className={langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'}>
928
- {item.optionname == 'Color' && (
929
- <p
930
- className={`${filterstyles.timeline_text} ${filter_cssstyles.timeline_text}` + ' m-0 p-0 '}
931
- style={{
932
- color: valueitem.isfilterselected ? sectionproperties.activecat_color : '',
933
- }}
934
- >
935
- {valueitem.value_identifier}
936
- </p>
937
- )}
938
- {item.optionname != 'Color' && (
939
- <p
940
- className={`${filterstyles.timeline_text} ${filter_cssstyles.timeline_text}` + ' m-0 p-0 '}
941
- style={{
942
- color: valueitem.isfilterselected ? sectionproperties.activecat_color : '',
943
- }}
944
- >
945
- {langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar}
946
- </p>
947
- )}
948
- </div>
949
- </div>
950
- );
951
- })}
952
- </div>
953
- </div>
954
- </div>
955
- </AccordionItemPanel>
956
- </AccordionItem>
957
- <hr className="mt-3 mb-3" />
958
- </>
959
- );
960
- })}
961
- </Accordion>
962
- );
963
- };
964
- const filter_cssstyles = {
965
- form_control: css({
966
- position: 'relative',
967
- display: 'flex',
968
- alignItems: 'center',
969
- display: 'block',
970
- width: '100%',
971
- padding: '0 30px',
972
- transition: '.3s',
973
- fontWeight: 500,
974
- border: '1px solid #ccc',
975
- // border: sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0,
976
- // borderBottom: sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor,
977
- // borderRadius: sectionproperties.inputfieldborderradius + 'px',
978
- borderRadius: '5px',
979
- // height: sectionproperties.inputfieldheight + 'px',
980
- height: '40px',
981
- background: 'transparent',
982
- // color: sectionproperties.inputfieldcolor,
983
- color: '#000',
984
- // fontSize: sectionproperties.inputfieldfontsize + 'px',
985
- fontSize: '14px',
986
- ':focus': {
987
- // borderColor: sectionproperties.inputfeildbordercoloronfocus,
988
- borderColor: '#eac435',
989
- boxShadow: 'none',
990
- },
991
- }),
992
- collapsetitle: css({
993
- fontSize: sectionproperties.filtertitle_fontsize + 'px',
994
- fontWeight: sectionproperties.filtertitle_fontweight,
995
- textTransform: sectionproperties.filtertitle_texttransform,
996
- color: sectionproperties.filtertitle_color,
997
- ':hover': {
998
- color: sectionproperties.filtertitle_coloronhover,
999
- },
1000
- }),
1001
- titlecontainer: css({
1002
- color: sectionproperties.filtertitle_color,
1003
- ':hover .collapsetitle': {
1004
- color: sectionproperties.filtertitle_coloronhover,
1005
- },
1006
- }),
1007
- timeline_text: css({
1008
- fontSize: sectionproperties.timeline_text_fontsize + 'px',
1009
- fontWeight: sectionproperties.timeline_text_fontweight,
1010
- textTransform: sectionproperties.timeline_text_texttransform,
1011
- color: sectionproperties.timeline_text_color,
1012
- transition: '.3s',
1013
- ':hover': {
1014
- color: sectionproperties.timeline_text_coloronhover,
1015
- },
1016
- }),
1017
- btnstyles: css({
1018
- color: sectionproperties.generalbtn_textColor,
1019
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
1020
- textTransform: sectionproperties.generalbtn_texttransform,
1021
- width: sectionproperties.generalbtn_width + 'px',
1022
- height: sectionproperties.generalbtn_height + 'px',
1023
- background: sectionproperties.generalbtn_bgColor,
1024
- borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
1025
- borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
1026
- borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
1027
- borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
1028
- fontWeight: sectionproperties.generalbtn_fontweight,
1029
- transition: '.3s',
1030
- ':hover': {
1031
- background: sectionproperties.generalbtn_bgColoronhover,
1032
- color: sectionproperties.generalbtn_textColoronhover,
1033
- },
1034
- }),
1035
- close_menu_icon_cont: css({
1036
- background: sectionproperties.closeSliderBgColor,
1037
- width: sectionproperties.closeSliderWidth + 'px',
1038
- height: sectionproperties.closeSliderHeight + 'px',
1039
- borderRadius: sectionproperties.closeSlider_borderBottomLeftRadius + 'px',
1040
- ':hover': {
1041
- background: sectionproperties.closeSliderBgColorHover,
1042
- },
1043
- }),
1044
- horizontalfilter_card: css({
1045
- marginBottom: sectionproperties.horizontalfilter_mb + 'px',
1046
- marginTop: sectionproperties.horizontalfilter_mt + 'px',
1047
- background: sectionproperties.horizontalfilter_cardbg,
1048
- border: sectionproperties.horizontalfilter_cardborderwidth + 'px solid ' + sectionproperties.horizontalfilter_cardbordercolor,
1049
- boxShadow: sectionproperties.horizontalfilter_cardboxShadow == 'Show' ? sectionproperties.horizontalfilter_cardboxShadowcolor : 'horizontalfilter_cardboxShadow',
1050
- }),
1051
- btn_item: css({
1052
- width: '20px',
1053
- height: '20px',
1054
- background: sectionproperties.filteritembtn_bgcolor,
1055
- ':hover': {
1056
- background: sectionproperties.filteritembtn_bghover,
1057
- },
1058
- }),
1059
- btn_item_active: css({
1060
- background: sectionproperties.btn_item_activebgcolor,
1061
- }),
1062
- timelineinnercont_active: css({
1063
- fontWeight: sectionproperties.activecat_fontweight,
1064
- color: sectionproperties.activecat_color,
1065
- }),
1066
- categoryName: css({
1067
- color: sectionproperties.filtertitle_color,
1068
- fontWeight: sectionproperties.filterCatFontWeight,
1069
- fontSize: sectionproperties.filterCatFontSize + 'px',
1070
- }),
1071
- pCollectionName: css({
1072
- color: sectionproperties.filtertitle_color,
1073
- fontWeight: sectionproperties.filterPCollFontWeight,
1074
- fontSize: sectionproperties.filterPCollFontSize + 'px',
1075
- }),
1076
- explorebtn: css({
1077
- fontSize: sectionproperties.explorebtnfontsize + 'px',
1078
- fontWeight: 600,
1079
- color: sectionproperties.explorebtncolor,
1080
- transition: '.3s',
1081
- ':hover': {
1082
- color: sectionproperties.explorebtncoloronhover,
1083
- },
1084
- }),
1085
- showallbtn: css({
1086
- color: sectionproperties.showallcolor,
1087
- ':hover': {
1088
- transition: '.3s',
1089
- cursor: 'pointer',
1090
- color: sectionproperties.showallcolorhover,
1091
- },
1092
- }),
1093
- sectiontitle: css({
1094
- position: 'relative',
1095
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
1096
- width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
1097
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
1098
- '@media (max-width: 800px)': {
1099
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
1100
- },
1101
- }),
1102
- };
1103
- const filterrouting = (tempfetchproductsfilerobjcontext) => {
1104
- const path = window.location.pathname.split('/');
1105
- var currentpagepath = path[1];
1106
- var pagenamepathinstaticpagelinkcont = '';
1107
- for (const key in StaticPagesLinksContext) {
1108
- if (StaticPagesLinksContext[key] == currentpagepath) {
1109
- pagenamepathinstaticpagelinkcont = key;
1110
- }
1111
- }
1112
- if (pagenamepathinstaticpagelinkcont != undefined && pagenamepathinstaticpagelinkcont != '') {
1113
- routingcountext(StaticPagesLinksContext[pagenamepathinstaticpagelinkcont], true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
1114
- }
1115
- };
1116
- const Countriesfilter = () => {
1117
- return (
1118
- <div class="row m-0 w-100 pl-md-3 pr-md-3">
1119
- <div class="col-lg-12 p-0 mt-3">
1120
- <div class="row m-0 w-100">
1121
- <div class="col-lg-12 p-0 mb-3">
1122
- {fetchTabexCountriesQueryContext?.isFetching && (
1123
- <div className="w-100 allcentered mt-1">
1124
- <CircularProgress color="#000" width="20px" height="20px" duration="1s" />
1125
- </div>
1126
- )}
1127
-
1128
- {!fetchTabexCountriesQueryContext?.isFetching && fetchTabexCountriesQueryContext?.isSuccess && (
1129
- <Select
1130
- options={fetchTabexCountriesQueryContext?.data?.data?.countries}
1131
- getOptionLabel={(option) => {
1132
- var crname = '';
1133
- if (langdetect == 'en') {
1134
- crname = option.name;
1135
- } else if (langdetect == 'ar') {
1136
- if (option.name_ar != null) {
1137
- crname = option.name_ar;
1138
- } else {
1139
- crname = option.name;
1140
- }
1141
- }
1142
- return crname;
1143
- }}
1144
- getOptionValue={(option) => option.id}
1145
- value={fetchTabexCountriesQueryContext.data.data.countries.filter((option) => option.id == ProductFilterObjContext.countryid)}
1146
- onChange={(option) => {
1147
- var tempFetchTabexStatesPayloadobjContext = { ...FetchTabexStatesPayloadobjContext };
1148
- tempFetchTabexStatesPayloadobjContext.functype = 'states';
1149
- tempFetchTabexStatesPayloadobjContext.country_id = option.id;
1150
- setFetchTabexStatesPayloadobjContext({ ...tempFetchTabexStatesPayloadobjContext });
1151
-
1152
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
1153
- tempfetchproductsfilerobjcontext.countryid = option.id;
1154
- tempfetchproductsfilerobjcontext.page = 0;
1155
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
1156
- filterrouting(tempfetchproductsfilerobjcontext);
1157
- }}
1158
- styles={langdetect == 'en' ? defaultstyles : defaultstylestranslated}
1159
- placeholder={lang.choosecountry}
1160
- isSearchable={true}
1161
- />
1162
- )}
1163
- </div>
1164
- <div class="col-lg-12 mb-3 p-0">
1165
- {fetchTabexStatesQueryContext?.isFetching && (
1166
- <div className="w-100 allcentered mt-1">
1167
- <CircularProgress color="#000" width="20px" height="20px" duration="1s" />
1168
- </div>
1169
- )}
1170
-
1171
- {!fetchTabexStatesQueryContext?.isFetching && fetchTabexStatesQueryContext?.isSuccess && (
1172
- <Select
1173
- options={fetchTabexStatesQueryContext?.data?.data?.states}
1174
- getOptionLabel={(option) => {
1175
- var crname = '';
1176
- if (langdetect == 'en') {
1177
- crname = option.name;
1178
- } else if (langdetect == 'ar') {
1179
- if (option.name_ar != null) {
1180
- crname = option.name_ar;
1181
- } else {
1182
- crname = option.name;
1183
- }
1184
- }
1185
- return crname;
1186
- }}
1187
- getOptionValue={(option) => option.id}
1188
- value={fetchTabexStatesQueryContext?.data?.data?.states.filter((option) => option.id == ProductFilterObjContext.stateid)}
1189
- onChange={(option) => {
1190
- var tempFetchTabexStatesPayloadobjContext = { ...FetchTabexStatesPayloadobjContext };
1191
- tempFetchTabexStatesPayloadobjContext.functype = 'cities';
1192
- tempFetchTabexStatesPayloadobjContext.state_id = option.id;
1193
- setFetchTabexStatesPayloadobjContext({ ...tempFetchTabexStatesPayloadobjContext });
1194
-
1195
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
1196
- tempfetchproductsfilerobjcontext.stateid = option.id;
1197
- tempfetchproductsfilerobjcontext.page = 0;
1198
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
1199
- filterrouting(tempfetchproductsfilerobjcontext);
1200
- }}
1201
- styles={langdetect == 'en' ? defaultstyles : defaultstylestranslated}
1202
- placeholder={lang.choosestategov}
1203
- isSearchable={true}
1204
- />
1205
- )}
1206
- </div>
1207
- <div class="col-lg-12 mb-3 p-0">
1208
- {fetchTabexCitiesQueryContext?.isFetching && (
1209
- <div className="w-100 allcentered mt-1">
1210
- <CircularProgress color="#000" width="20px" height="20px" duration="1s" />
1211
- </div>
1212
- )}
1213
-
1214
- {!fetchTabexCitiesQueryContext?.isFetching && fetchTabexCitiesQueryContext?.isSuccess && (
1215
- <Select
1216
- options={fetchTabexCitiesQueryContext?.data?.data?.cities}
1217
- getOptionLabel={(option) => {
1218
- var crname = '';
1219
- if (langdetect == 'en') {
1220
- crname = option.name;
1221
- } else if (langdetect == 'ar') {
1222
- if (option.name_ar != null) {
1223
- crname = option.name_ar;
1224
- } else {
1225
- crname = option.name;
1226
- }
1227
- }
1228
- return crname;
1229
- }}
1230
- getOptionValue={(option) => option.id}
1231
- value={fetchTabexCitiesQueryContext?.data?.data?.cities.filter((option) => option.id == ProductFilterObjContext.cityid)}
1232
- onChange={(option) => {
1233
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
1234
- tempfetchproductsfilerobjcontext.cityid = option.id;
1235
- tempfetchproductsfilerobjcontext.page = 0;
1236
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
1237
- filterrouting(tempfetchproductsfilerobjcontext);
1238
- }}
1239
- styles={langdetect == 'en' ? defaultstyles : defaultstylestranslated}
1240
- placeholder={lang.choosecity}
1241
- isSearchable={true}
1242
- />
1243
- )}
1244
- </div>
1245
- </div>
1246
- </div>
1247
- </div>
1248
- );
1249
- };
1250
- const [checked, setChecked] = useState(false);
1251
- // const queryParameters = new URLSearchParams(window.location.search);
1252
- // useEffect(() => {
1253
- // // setsortbycontext('Sort By');
1254
- // if (queryParameters.get('sortprice') == undefined) {
1255
- // setsortbycontext('Sort By');
1256
- // } else {
1257
- // var temp = { ...sortbycontext };
1258
- // temp = queryParameters.get('sortprice');
1259
- // alert(temp);
1260
- // }
1261
- // }, []);
1262
- return (
1263
- <div
1264
- className={sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 p-0 w-100 filter mt-md-0 ' : 'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none'}
1265
- style={{ marginTop: sectionproperties.filtersection_mt + 'px', minHeight: sectionproperties.filterminheight == 0 ? 'auto' : sectionproperties.filterminheight + 'vh' }}
1266
- >
1267
- {InstFilters()}
1268
- </div>
1269
- );
1270
- };
1271
- export default Filter;