tabexseriescomponents 0.2.1280 → 0.2.1283

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (389) hide show
  1. package/dist/index.cjs.js +40 -258
  2. package/dist/index.esm.js +40 -258
  3. package/dist/index.umd.js +40 -258
  4. package/package.json +1 -1
  5. package/srcbefore27-11/Contexts/LanguageContext.jsx +0 -408
  6. package/srcbefore27-11/Contexts/ProductsCardsSectionContext.jsx +0 -36
  7. package/srcbefore27-11/Imagekitconfig copy.jsx +0 -46
  8. package/srcbefore27-11/Imagekitconfig.jsx +0 -178
  9. package/srcbefore27-11/StylesJS/Customstyles.js +0 -456
  10. package/srcbefore27-11/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -538
  11. package/srcbefore27-11/TabexComponents/Cards/Card20/Card20.jsx +0 -299
  12. package/srcbefore27-11/TabexComponents/Cards/Card21/Card21.jsx +0 -388
  13. package/srcbefore27-11/TabexComponents/Cards/Card22/Card22.jsx +0 -288
  14. package/srcbefore27-11/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -1630
  15. package/srcbefore27-11/TabexComponents/Cards/Card23/Card23.jsx +0 -733
  16. package/srcbefore27-11/TabexComponents/Cards/CardAll/CardAll.jsx +0 -453
  17. package/srcbefore27-11/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -394
  18. package/srcbefore27-11/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -70
  19. package/srcbefore27-11/TabexComponents/Cards/Cardwithdetailsshowonhover/Cardwithdetailsshowonhover.jsx +0 -1074
  20. package/srcbefore27-11/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -211
  21. package/srcbefore27-11/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -293
  22. package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover/Categorycard_details_onhover.jsx +0 -512
  23. package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover copy/Categorycard_details_onhover.jsx +0 -513
  24. package/srcbefore27-11/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -235
  25. package/srcbefore27-11/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -199
  26. package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -182
  27. package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -184
  28. package/srcbefore27-11/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -161
  29. package/srcbefore27-11/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -208
  30. package/srcbefore27-11/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -560
  31. package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +0 -145
  32. package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -145
  33. package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +0 -142
  34. package/srcbefore27-11/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -193
  35. package/srcbefore27-11/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -605
  36. package/srcbefore27-11/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -817
  37. package/srcbefore27-11/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -468
  38. package/srcbefore27-11/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -593
  39. package/srcbefore27-11/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -208
  40. package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -497
  41. package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -512
  42. package/srcbefore27-11/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -304
  43. package/srcbefore27-11/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -257
  44. package/srcbefore27-11/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -277
  45. package/srcbefore27-11/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -352
  46. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -291
  47. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
  48. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -327
  49. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -408
  50. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -528
  51. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -731
  52. package/srcbefore27-11/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -275
  53. package/srcbefore27-11/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
  54. package/srcbefore27-11/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -138
  55. package/srcbefore27-11/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -611
  56. package/srcbefore27-11/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -600
  57. package/srcbefore27-11/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -225
  58. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -525
  59. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -2321
  60. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -1311
  61. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcardlastversion15-9.jsx +0 -1292
  62. package/srcbefore27-11/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -337
  63. package/srcbefore27-11/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -347
  64. package/srcbefore27-11/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -605
  65. package/srcbefore27-11/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -185
  66. package/srcbefore27-11/TabexComponents/Cards/Variants_J_Cards/Variants_J_Cards.jsx +0 -660
  67. package/srcbefore27-11/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -759
  68. package/srcbefore27-11/TabexComponents/Footer/Footer1/Footer1.jsx +0 -551
  69. package/srcbefore27-11/TabexComponents/Footer/Footer2/Footer2.jsx +0 -731
  70. package/srcbefore27-11/TabexComponents/Footer/Footer3/Footer3.jsx +0 -414
  71. package/srcbefore27-11/TabexComponents/Footer/Footer4/Footer4.jsx +0 -466
  72. package/srcbefore27-11/TabexComponents/Footer/Footer5/Footer5.jsx +0 -776
  73. package/srcbefore27-11/TabexComponents/Footer/Footer6/Footer6.jsx +0 -290
  74. package/srcbefore27-11/TabexComponents/Footer/Footer7/Footer7.jsx +0 -430
  75. package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8 copy.jsx +0 -1970
  76. package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8.jsx +0 -2015
  77. package/srcbefore27-11/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -330
  78. package/srcbefore27-11/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +0 -582
  79. package/srcbefore27-11/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +0 -1165
  80. package/srcbefore27-11/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +0 -646
  81. package/srcbefore27-11/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +0 -110
  82. package/srcbefore27-11/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -332
  83. package/srcbefore27-11/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  84. package/srcbefore27-11/TabexComponents/Generalfiles/images/noimage.png +0 -0
  85. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  86. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  87. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  88. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  89. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  90. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  91. package/srcbefore27-11/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  92. package/srcbefore27-11/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  93. package/srcbefore27-11/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  94. package/srcbefore27-11/TabexComponents/Generalfiles/images/usflag.png +0 -0
  95. package/srcbefore27-11/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  96. package/srcbefore27-11/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -1264
  97. package/srcbefore27-11/TabexComponents/Headers/CategoriesComponent/CategoriesComponent.jsx +0 -375
  98. package/srcbefore27-11/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -1056
  99. package/srcbefore27-11/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -1498
  100. package/srcbefore27-11/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -1289
  101. package/srcbefore27-11/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -76
  102. package/srcbefore27-11/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -907
  103. package/srcbefore27-11/TabexComponents/Headers/FloatingIcons/FloatingIcons.jsx +0 -358
  104. package/srcbefore27-11/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -875
  105. package/srcbefore27-11/TabexComponents/Headers/Header4/Header4.jsx +0 -622
  106. package/srcbefore27-11/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -1026
  107. package/srcbefore27-11/TabexComponents/Headers/Header8/Header8.jsx +0 -3414
  108. package/srcbefore27-11/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -777
  109. package/srcbefore27-11/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -933
  110. package/srcbefore27-11/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -710
  111. package/srcbefore27-11/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -902
  112. package/srcbefore27-11/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -1347
  113. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -1566
  114. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -1201
  115. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -990
  116. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +0 -1639
  117. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +0 -7163
  118. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -1327
  119. package/srcbefore27-11/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -941
  120. package/srcbefore27-11/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -80
  121. package/srcbefore27-11/TabexComponents/Headers/Minimalheader/Minimalheader.jsx +0 -846
  122. package/srcbefore27-11/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -1198
  123. package/srcbefore27-11/TabexComponents/Headers/ParentCollectionsComponent/ParentCollectionsComponent.jsx +0 -385
  124. package/srcbefore27-11/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -784
  125. package/srcbefore27-11/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -1186
  126. package/srcbefore27-11/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +0 -3692
  127. package/srcbefore27-11/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +0 -266
  128. package/srcbefore27-11/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -860
  129. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader copy.jsx +0 -950
  130. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader.jsx +0 -1052
  131. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader13-3.jsx +0 -685
  132. package/srcbefore27-11/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -517
  133. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -555
  134. package/srcbefore27-11/TabexComponents/Headers/SubheaderDropdown/SubheaderDropdown.jsx +0 -610
  135. package/srcbefore27-11/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -1049
  136. package/srcbefore27-11/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -1095
  137. package/srcbefore27-11/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +0 -979
  138. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -533
  139. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -338
  140. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -872
  141. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContentrecent.jsx +0 -895
  142. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -302
  143. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -314
  144. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -318
  145. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -179
  146. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -201
  147. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -421
  148. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +0 -583
  149. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +0 -291
  150. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +0 -822
  151. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm19-8beforeattach.jsx +0 -789
  152. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm22-7.jsx +0 -787
  153. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +0 -348
  154. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -387
  155. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -268
  156. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +0 -295
  157. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/PopupCountryComponent/PopupCountryComponent.jsx +0 -120
  158. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +0 -119
  159. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +0 -99
  160. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -146
  161. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -489
  162. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -296
  163. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -396
  164. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -633
  165. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -509
  166. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -1399
  167. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -1656
  168. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -1540
  169. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -2323
  170. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +0 -1596
  171. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +0 -1872
  172. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx +0 -1891
  173. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +0 -1880
  174. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSectionwithanomation12-1.jsx +0 -2065
  175. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -726
  176. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -719
  177. package/srcbefore27-11/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -406
  178. package/srcbefore27-11/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -966
  179. package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -646
  180. package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -1577
  181. package/srcbefore27-11/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -596
  182. package/srcbefore27-11/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -383
  183. package/srcbefore27-11/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -342
  184. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -161
  185. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -394
  186. package/srcbefore27-11/TabexComponents/Sections/Slideshow/CountDownSection/CountDownSection.jsx +0 -174
  187. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -382
  188. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -651
  189. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +0 -757
  190. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection20-2.jsx +0 -1017
  191. package/srcbefore27-11/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -346
  192. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -3027
  193. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -141
  194. package/srcbefore27-11/TabexComponents/Sections/Slideshow/MarqueeSection/MarqueeSection.jsx +0 -103
  195. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Preloaderone/Preloaderone.jsx +0 -49
  196. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -376
  197. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -384
  198. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards copy.jsx +0 -1576
  199. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -1989
  200. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -226
  201. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -149
  202. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -143
  203. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -634
  204. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -474
  205. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -527
  206. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -665
  207. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -477
  208. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -1217
  209. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +0 -614
  210. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -91
  211. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -380
  212. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -741
  213. package/srcbefore27-11/TabexComponents/Sections/Slideshow/TableSection/TableSection.jsx +0 -423
  214. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -284
  215. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -636
  216. package/srcbefore27-11/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -402
  217. package/srcbefore27-11/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -234
  218. package/srcbefore27-11/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -306
  219. package/srcbefore27-11/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -364
  220. package/srcbefore27-11/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -1000
  221. package/srcbefore27-11/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -460
  222. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -1306
  223. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -2506
  224. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -1633
  225. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout12-12beforeextras.jsx +0 -1999
  226. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -1593
  227. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -1574
  228. package/srcbefore27-11/TabexComponents/StaticPages/Compare/Compare.jsx +0 -79
  229. package/srcbefore27-11/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -245
  230. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -2888
  231. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -1450
  232. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter.jsx +0 -3459
  233. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter1-5.jsx +0 -2624
  234. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter13-11.jsx +0 -2758
  235. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter14-8.jsx +0 -2753
  236. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -1495
  237. package/srcbefore27-11/TabexComponents/StaticPages/Filter/VariantFilter.jsx +0 -1271
  238. package/srcbefore27-11/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -62
  239. package/srcbefore27-11/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -50
  240. package/srcbefore27-11/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
  241. package/srcbefore27-11/TabexComponents/StaticPages/Login/Login copy.jsx +0 -1060
  242. package/srcbefore27-11/TabexComponents/StaticPages/Login/Login.jsx +0 -616
  243. package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -693
  244. package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess2.jsx +0 -173
  245. package/srcbefore27-11/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1831
  246. package/srcbefore27-11/TabexComponents/StaticPages/Policies/Policies.jsx +0 -291
  247. package/srcbefore27-11/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -194
  248. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -183
  249. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -128
  250. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +0 -268
  251. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -190
  252. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -225
  253. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +0 -224
  254. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductFileUploader.jsx +0 -136
  255. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -347
  256. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -262
  257. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +0 -5566
  258. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -1554
  259. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +0 -1827
  260. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +0 -1351
  261. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -1566
  262. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeeuro.jsx +0 -3101
  263. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -3047
  264. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo13-5.jsx +0 -2103
  265. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo_28_6.jsx +0 -2189
  266. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfotoday.jsx +0 -2166
  267. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.js +0 -2714
  268. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -2206
  269. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtypetill28-4-2025.jsx +0 -1158
  270. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -1117
  271. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs4-5.jsx +0 -1043
  272. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabstill28-4-2025.jsx +0 -1040
  273. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -905
  274. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -324
  275. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -145
  276. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +0 -183
  277. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +0 -128
  278. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +0 -140
  279. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +0 -225
  280. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +0 -310
  281. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +0 -235
  282. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +0 -1672
  283. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +0 -1554
  284. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +0 -1351
  285. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +0 -1566
  286. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +0 -1804
  287. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +0 -560
  288. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +0 -928
  289. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +0 -597
  290. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +0 -324
  291. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +0 -145
  292. package/srcbefore27-11/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -194
  293. package/srcbefore27-11/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -346
  294. package/srcbefore27-11/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -367
  295. package/srcbefore27-11/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -222
  296. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -277
  297. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -1135
  298. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -1505
  299. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm12-5beforeemailrequired.jsx +0 -1476
  300. package/srcbefore27-11/TabexComponents/StaticPages/Signup/Signup.jsx +0 -199
  301. package/srcbefore27-11/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -292
  302. package/srcbefore27-11/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -219
  303. package/srcbefore27-11/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -162
  304. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -765
  305. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -786
  306. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -786
  307. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -786
  308. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -1425
  309. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -844
  310. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +0 -555
  311. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -555
  312. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -555
  313. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -815
  314. package/srcbefore27-11/button.jsx +0 -40
  315. package/srcbefore27-11/index.jsx +0 -353
  316. package/srcbefore27-11/styles/Home.module.css +0 -129
  317. package/srcbefore27-11/styles/cards/Categorcycard_fullimage.module.css +0 -14
  318. package/srcbefore27-11/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
  319. package/srcbefore27-11/styles/cards/Categorycard_withshapes.module.css +0 -189
  320. package/srcbefore27-11/styles/cards/ModernCardWithQuantityButton.module.css +0 -30
  321. package/srcbefore27-11/styles/cards/Productcard6.module.css +0 -9
  322. package/srcbefore27-11/styles/cards/Productccard_with_zoominonhover.module.css +0 -94
  323. package/srcbefore27-11/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
  324. package/srcbefore27-11/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -65
  325. package/srcbefore27-11/styles/cards/card23.module.css +0 -60
  326. package/srcbefore27-11/styles/cards/categorycard.module.css +0 -84
  327. package/srcbefore27-11/styles/cards/categorycard3.module.css +0 -50
  328. package/srcbefore27-11/styles/cards/categorycardwithtext.module.css +0 -40
  329. package/srcbefore27-11/styles/cards/generalCardsStyles.module.css +0 -79
  330. package/srcbefore27-11/styles/cards/productcard_animatedbuttons.module.css +0 -139
  331. package/srcbefore27-11/styles/cards/productcard_with_textonhover.module.css +0 -18
  332. package/srcbefore27-11/styles/cards/productcard_withtextonimage.module.css +0 -0
  333. package/srcbefore27-11/styles/cards/productccard_with_imageontopleft.module.css +0 -85
  334. package/srcbefore27-11/styles/general/bootstrap.css +0 -4763
  335. package/srcbefore27-11/styles/general/dropdown.css +0 -206
  336. package/srcbefore27-11/styles/general/editorbardropdown.module.css +0 -94
  337. package/srcbefore27-11/styles/general/filter.module.css +0 -108
  338. package/srcbefore27-11/styles/general/form.module.css +0 -255
  339. package/srcbefore27-11/styles/general/general.module.css +0 -872
  340. package/srcbefore27-11/styles/general/image-gallery.css +0 -531
  341. package/srcbefore27-11/styles/general/react-accessible-accordion.module.css +0 -52
  342. package/srcbefore27-11/styles/general/react-phone-input-2.module.css +0 -927
  343. package/srcbefore27-11/styles/general/scrollbtn.module.css +0 -22
  344. package/srcbefore27-11/styles/general/slick.module.css +0 -166
  345. package/srcbefore27-11/styles/general/tabs.module.css +0 -119
  346. package/srcbefore27-11/styles/general/workplaceeditor.module.css +0 -328
  347. package/srcbefore27-11/styles/globals.css +0 -26
  348. package/srcbefore27-11/styles/headers/CTAHeader.module.css +0 -40
  349. package/srcbefore27-11/styles/headers/CategoryFeaturingHeader.module.css +0 -61
  350. package/srcbefore27-11/styles/headers/Gotoheader.module.css +0 -87
  351. package/srcbefore27-11/styles/headers/Header7.module.css +0 -50
  352. package/srcbefore27-11/styles/headers/HeaderWithAdSlider.module.css +0 -86
  353. package/srcbefore27-11/styles/headers/HeaderWithSearchOnCenter.module.css +0 -101
  354. package/srcbefore27-11/styles/headers/HeaderWithUtilityBar.module.css +0 -46
  355. package/srcbefore27-11/styles/headers/Header_threesectionslogocentered.module.css +0 -84
  356. package/srcbefore27-11/styles/headers/NewHeader.module.css +0 -101
  357. package/srcbefore27-11/styles/headers/SearchFocusedHeader.module.css +0 -62
  358. package/srcbefore27-11/styles/headers/Sideheader.module.css +0 -108
  359. package/srcbefore27-11/styles/headers/Simpleheader.module.css +0 -102
  360. package/srcbefore27-11/styles/headers/classicheader.module.css +0 -16
  361. package/srcbefore27-11/styles/headers/classicheaderstyles.module.css +0 -9
  362. package/srcbefore27-11/styles/headers/dropdown.css +0 -0
  363. package/srcbefore27-11/styles/headers/header4.module.css +0 -175
  364. package/srcbefore27-11/styles/headers/header5.module.css +0 -30
  365. package/srcbefore27-11/styles/headers/header_contactinfo.module.css +0 -53
  366. package/srcbefore27-11/styles/headers/headerresturant.module.css +0 -89
  367. package/srcbefore27-11/styles/headers/modernheader.module.css +0 -45
  368. package/srcbefore27-11/styles/headers/stylishheader.module.css +0 -24
  369. package/srcbefore27-11/styles/headers/subheader.module.css +0 -114
  370. package/srcbefore27-11/styles/headers/threetieredheader.module.css +0 -91
  371. package/srcbefore27-11/styles/sections/BackgroundImageWithTopContent.css +0 -4
  372. package/srcbefore27-11/styles/sections/Backgroundimage1.module.css +0 -17
  373. package/srcbefore27-11/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
  374. package/srcbefore27-11/styles/sections/Freetext.module.css +0 -18
  375. package/srcbefore27-11/styles/sections/Section_with_rightbgcont.module.css +0 -49
  376. package/srcbefore27-11/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
  377. package/srcbefore27-11/styles/sections/Slideshow_with_squarebg.module.css +0 -39
  378. package/srcbefore27-11/styles/staticpages/accordion.module.css +0 -9
  379. package/srcbefore27-11/styles/staticpages/cart.module.css +0 -108
  380. package/srcbefore27-11/styles/staticpages/dropdown.css +0 -196
  381. package/srcbefore27-11/styles/staticpages/filter.module.css +0 -139
  382. package/srcbefore27-11/styles/staticpages/image-gallery.css +0 -481
  383. package/srcbefore27-11/styles/staticpages/login.module.css +0 -155
  384. package/srcbefore27-11/styles/staticpages/productinfo.module.css +0 -54
  385. package/srcbefore27-11/styles/staticpages/shop.module.css +0 -191
  386. package/srcbefore27-11/styles/staticpages/signup.module.css +0 -250
  387. package/srcbefore27-11/styles/staticpages/staticroutersidenav.module.css +0 -129
  388. package/srcbefore27-11/styles/staticpages/viewcart.module.css +0 -129
  389. package/srcbefore27-11/styles/staticpages/wishlist.module.css +0 -29
@@ -1,2758 +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.js';
14
- import { CircularProgress, Messaging } from 'react-cssfx-loading';
15
- import formstyles from '../../../styles/general/form.module.css';
16
- import { BsChevronLeft } from '@react-icons/all-files/bs/BsChevronLeft';
17
- import { BsChevronRight } from '@react-icons/all-files/bs/BsChevronRight';
18
- const Select = React.lazy(() => import('react-select'));
19
-
20
- const Filter = (props) => {
21
- const lang = props.actions.lang;
22
- const langdetect = props.actions.langdetect;
23
- const productfiltercontext = props.actions.productfiltercontext;
24
- const setproductfiltercontext = props.actions.setproductfiltercontext;
25
- const ProductFilterObjContext = props.actions.ProductFilterObjContext;
26
- const setProductFilterObjContext = props.actions.setProductFilterObjContext;
27
- const authdetailsContext = props.actions.authdetailsContext;
28
- const fetchproductoptionsQueryContext = props.actions.fetchproductoptionsQueryContext;
29
- const fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
30
- const routingcountext = props.actions.routingcountext;
31
- const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
32
- const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
33
- const ikimagecredcontext = props.actions.ikimagecredcontext;
34
- const [pricevalue, setpricevalue] = useState({ min: 0, max: 10000 });
35
- const [productfeatuesarr, setproductfeatuesarr] = useState([]);
36
-
37
- const fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
38
- const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
39
- const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
40
-
41
- const fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
42
- const fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
43
- const FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
44
- const setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
45
- const fetchProductFeaturesQueryContext = props.actions.fetchProductFeaturesQueryContext;
46
-
47
- const [sectionproperties, setsectionproperties] = useState('');
48
- // const [instfilters, setinstfilters] = useState([...authdetailsContext.instinfo.instfilters]);
49
- const [instfilters, setinstfilters] = useState([]);
50
- const [collectionstobevisible, setcollectionstobevisible] = useState([]);
51
- const [instcollections, setinstcollections] = useState([]);
52
- const [instcategories, setinstcategories] = useState([]);
53
- // const [sortby, setSortby] = useState('Sort by');
54
- const [raterangevalue, setraterangevalue] = useState({ min: 0, max: 5 });
55
- const timeoutRef = React.useRef(null);
56
- const [sortbycontext, setsortbycontext] = useState('');
57
-
58
- const [otherfilters, setotherfilters] = useState([
59
- {
60
- payloadvalue: 'sortprice',
61
- name: lang.price,
62
- filterarray: [
63
- { name: lang.pricelowtohigh, value: 'lowtohigh', isfilterselected: false },
64
- { name: lang.pricehightolow, value: 'hightolow', isfilterselected: false },
65
- ],
66
- },
67
- {
68
- payloadvalue: 'sortdates',
69
-
70
- name: lang.dates,
71
- filterarray: [
72
- { name: lang.recent, value: 'recent', isfilterselected: false },
73
- { name: lang.oldest, value: 'old', isfilterselected: false },
74
- ],
75
- },
76
- ]);
77
- useEffect(() => {
78
- filterupdater();
79
- }, []);
80
- useEffect(() => {
81
- if (fetchproductoptionsQueryContext.isSuccess) {
82
- setinstfilters([...fetchproductoptionsQueryContext?.data?.data?.productoptions]);
83
- }
84
- }, [fetchproductoptionsQueryContext.isSuccess]);
85
- useEffect(() => {
86
- if (fetchCategoriesQueryContext.isSuccess) {
87
- setinstcategories([...fetchCategoriesQueryContext?.data?.data?.categories]);
88
- }
89
- }, [fetchCategoriesQueryContext.isSuccess]);
90
- useEffect(() => {
91
- if (fetchcollectionsQueryContext.isSuccess) {
92
- setinstcollections([...fetchcollectionsQueryContext?.data?.data?.collections]);
93
- }
94
- }, [fetchcollectionsQueryContext.isSuccess]);
95
- // useEffect(() => {
96
- // // setinstfilters([...authdetailsContext.instinfo.instfilters]);
97
- // // setinstcollections([...authdetailsContext.instinfo.instcollections]);
98
- // // setinstcategories([...authdetailsContext?.instinfo?.instcategories]);
99
- // }, [authdetailsContext]);
100
- useEffect(() => {
101
- if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
102
- setsectionproperties(props.sectionpropertiesprops);
103
- }
104
- }, [props.sectionpropertiesprops]);
105
- useEffect(() => {
106
- filterupdater();
107
- }, [ProductFilterObjContext]);
108
- React.useEffect(() => {
109
- if (timeoutRef.current !== null) {
110
- clearTimeout(timeoutRef.current);
111
- }
112
-
113
- timeoutRef.current = setTimeout(() => {
114
- if (raterangevalue.min != 0 || raterangevalue.max != 5) {
115
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
116
- tempfetchproductsfilerobjcontext.minrate = raterangevalue.min;
117
- tempfetchproductsfilerobjcontext.maxrate = raterangevalue.max;
118
- tempfetchproductsfilerobjcontext.page = 0;
119
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
120
- // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
121
- }
122
- }, 500);
123
- }, [raterangevalue]);
124
- useEffect(() => {
125
- if (fetchCategoriesQueryContext.isSuccess && fetchcollectionsQueryContext.isSuccess) {
126
- var parentcollections_for_collectionsFilter = null;
127
- var IsValid_parentcollections_for_collectionsFilter = false;
128
- if (
129
- ProductFilterObjContext.parentcollections_for_collectionsFilter != undefined &&
130
- ProductFilterObjContext.parentcollections_for_collectionsFilter != null &&
131
- Array.isArray(ProductFilterObjContext.parentcollections_for_collectionsFilter)
132
- ) {
133
- parentcollections_for_collectionsFilter = ProductFilterObjContext.parentcollections_for_collectionsFilter;
134
- }
135
- if (parentcollections_for_collectionsFilter != null && Array.isArray(parentcollections_for_collectionsFilter) && parentcollections_for_collectionsFilter.length != 0) {
136
- // parentcollections_for_collectionsFilter?.forEach(function(item,index){
137
- // if(item.)
138
- // })
139
- IsValid_parentcollections_for_collectionsFilter = true;
140
- }
141
- if (sectionproperties?.filterretreivetype == 'Depend on chosen parent group') {
142
- if (ProductFilterObjContext?.collections != undefined && ProductFilterObjContext?.collections != null && Array.isArray(ProductFilterObjContext?.collections)) {
143
- var collectiontobevisible = [];
144
- var parentidsfound = [];
145
- if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection' || IsValid_parentcollections_for_collectionsFilter == true) {
146
- if (parentcollections_for_collectionsFilter != null) {
147
- parentidsfound = parentcollections_for_collectionsFilter;
148
- } else {
149
- parentidsfound = ProductFilterObjContext?.collections;
150
- }
151
- } else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
152
- instcategories?.forEach(function (catitem, catindex) {
153
- ProductFilterObjContext?.collections?.forEach(function (colitem2, colindex2) {
154
- if (catitem.categoryid == colitem2) {
155
- catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
156
- parentidsfound.push(parentcolitem.parentcollectionid);
157
- });
158
- }
159
- });
160
- });
161
- } else {
162
- instcategories?.forEach(function (catitem, catindex) {
163
- catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
164
- parentcolitem?.collections?.forEach(function (colitem, colindex) {
165
- ProductFilterObjContext?.collections?.forEach(function (colitem2, colindex2) {
166
- if (colitem.collectionid == colitem2) {
167
- parentidsfound.push(parentcolitem.parentcollectionid);
168
- }
169
- });
170
- });
171
- });
172
- });
173
- }
174
-
175
- parentidsfound = parentidsfound.filter((val, id, array) => array.indexOf(val) == id);
176
-
177
- if (parentidsfound?.length != 0) {
178
- instcategories?.forEach(function (catitem, catindex) {
179
- catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
180
- parentidsfound?.forEach(function (parentidfounditem, parentidfoundindex) {
181
- if (parentidfounditem == parentcolitem?.parentcollectionid) {
182
- parentcolitem?.collections?.forEach(function (colitem, colindex) {
183
- var iscolexists = false;
184
- collectiontobevisible?.forEach(function (colitemex, colindexex) {
185
- if (colitemex.collectionid == colitem.collectionid) {
186
- iscolexists = true;
187
- }
188
- });
189
- if (iscolexists == false) {
190
- collectiontobevisible.push(colitem);
191
- }
192
- });
193
- }
194
- });
195
- });
196
- });
197
-
198
- if (collectiontobevisible?.length != 0) {
199
- setcollectionstobevisible(collectiontobevisible);
200
- } else {
201
- setcollectionstobevisible(instcollections);
202
- }
203
- } else {
204
- setcollectionstobevisible(instcollections);
205
- }
206
- } else {
207
- setcollectionstobevisible(instcollections);
208
- }
209
- } else {
210
- setcollectionstobevisible(instcollections);
211
- }
212
- }
213
- }, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcategories, instcollections]);
214
- useEffect(() => {
215
- if (productfeatuesarr.length != 0) {
216
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
217
- tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
218
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
219
- filterrouting(tempfetchproductsfilerobjcontext);
220
- }
221
- }, [productfeatuesarr]);
222
- useEffect(() => {
223
- if (fetchTabexStatesQueryContext.isSuccess) {
224
- if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
225
- var tempFetchTabexStatesPayloadobjContext = { ...FetchTabexStatesPayloadobjContext };
226
- tempFetchTabexStatesPayloadobjContext.functype = 'cities';
227
- tempFetchTabexStatesPayloadobjContext.state_id = ProductFilterObjContext.stateid;
228
- setFetchTabexStatesPayloadobjContext({ ...tempFetchTabexStatesPayloadobjContext });
229
- }
230
- }
231
- }, [fetchTabexStatesQueryContext.isSuccess]);
232
- const filterupdater = () => {
233
- setTimeout(() => {
234
- var tempFetchQueriesEngineContext = { ...FetchQueriesEngineContext };
235
- tempFetchQueriesEngineContext.fetchtabexcountries = true;
236
- setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
237
- }, 100);
238
- if (ProductFilterObjContext.countryid != undefined && ProductFilterObjContext.countryid != null && ProductFilterObjContext.countryid != '' && ProductFilterObjContext.countryid != 'all') {
239
- var tempFetchTabexStatesPayloadobjContext = { ...FetchTabexStatesPayloadobjContext };
240
- tempFetchTabexStatesPayloadobjContext.functype = 'states';
241
- tempFetchTabexStatesPayloadobjContext.country_id = ProductFilterObjContext.countryid;
242
- setFetchTabexStatesPayloadobjContext({ ...tempFetchTabexStatesPayloadobjContext });
243
- }
244
-
245
- if (instfilters.length != 0) {
246
- var tempinstfilters = [...instfilters];
247
- tempinstfilters?.forEach(function (instfilteritem, instfilterindex) {
248
- instfilteritem.productvaluesfilter.forEach(function (valefilteritem, valefilteritemindex) {
249
- valefilteritem.isfilterselected = false;
250
- });
251
- });
252
- ProductFilterObjContext?.FilterOptions?.forEach(function (filteritem, filterindex) {
253
- tempinstfilters?.forEach(function (instfilteritem, instfilterindex) {
254
- instfilteritem?.productvaluesfilter?.forEach(function (valefilteritem, valefilteritemindex) {
255
- if (filteritem.valueid == valefilteritem.valueid) {
256
- valefilteritem.isfilterselected = true;
257
- }
258
- });
259
- });
260
- });
261
- setinstfilters([...tempinstfilters]);
262
- }
263
- if (instcategories.length != 0) {
264
- var tempInstcategories = [...instcategories];
265
- tempInstcategories.forEach(function (catitem, catindex) {
266
- catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
267
- parentcolitem.collections.forEach(function (colitem, colindex) {
268
- colitem.isfilterselected = false;
269
- });
270
- });
271
- });
272
-
273
- ProductFilterObjContext?.collections?.forEach(function (filteritem, filterindex) {
274
- tempInstcategories.forEach(function (catitem, catindex) {
275
- catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
276
- parentcolitem.collections.forEach(function (colitem, colindex) {
277
- if (colitem.collectionid == filteritem) {
278
- colitem.isfilterselected = true;
279
- }
280
- });
281
- });
282
- });
283
- });
284
-
285
- setinstcategories([...tempInstcategories]);
286
- }
287
- if (instcollections.length != 0) {
288
- var tempInstcollections = [...instcollections];
289
- tempInstcollections.forEach(function (instfilteritem, valefilteritemindex) {
290
- instfilteritem.isfilterselected = false;
291
- });
292
- ProductFilterObjContext?.collections?.forEach(function (filteritem, filterindex) {
293
- tempInstcollections?.forEach(function (instfilteritem, instfilterindex) {
294
- if (instfilteritem.collectionid == filteritem) {
295
- instfilteritem.isfilterselected = true;
296
- }
297
- });
298
- });
299
- setinstcollections([...tempInstcollections]);
300
- }
301
- };
302
- const setfilterfunc = (valueid, valueindex, mainparentindex, type) => {
303
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
304
- if (type == 'clearfilters') {
305
- tempfetchproductsfilerobjcontext.FilterOptions = [];
306
- } else {
307
- var FilterExists = false;
308
- tempfetchproductsfilerobjcontext?.FilterOptions?.forEach(function (filteritem, filterindex) {
309
- if (filteritem.valueid == valueid) {
310
- FilterExists = true;
311
- tempfetchproductsfilerobjcontext.FilterOptions.splice(filterindex, 1);
312
- }
313
- });
314
- if (!FilterExists) {
315
- tempfetchproductsfilerobjcontext.FilterOptions.push({ valueid: valueid });
316
- }
317
- }
318
- if (tempfetchproductsfilerobjcontext.FilterOptions.length == 0) {
319
- tempfetchproductsfilerobjcontext.isfilter = 0;
320
- } else {
321
- tempfetchproductsfilerobjcontext.isfilter = 1;
322
- }
323
- tempfetchproductsfilerobjcontext.page = 0;
324
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
325
- filterrouting(tempfetchproductsfilerobjcontext);
326
- // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
327
- };
328
- const setCollectionFilterFunc = (collectionid) => {
329
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
330
- var CollectionExists = false;
331
- if (tempfetchproductsfilerobjcontext.ProductFetchingType == 'Parent Collection' && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter == undefined) {
332
- tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter = tempfetchproductsfilerobjcontext.collections;
333
- }
334
- tempfetchproductsfilerobjcontext?.collections?.forEach(function (filteritem, filterindex) {
335
- if (sectionproperties.filterdirection != 'Horizontal') {
336
- if (filteritem == collectionid) {
337
- CollectionExists = true;
338
- tempfetchproductsfilerobjcontext.collections.splice(filterindex, 1);
339
- }
340
- }
341
- });
342
-
343
- if (!CollectionExists) {
344
- if (tempfetchproductsfilerobjcontext.collections != undefined && Array.isArray(tempfetchproductsfilerobjcontext.collections)) {
345
- if (sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection == 'Horizontal') {
346
- tempfetchproductsfilerobjcontext.collections = [];
347
- tempfetchproductsfilerobjcontext.collections.push(collectionid);
348
- } else {
349
- tempfetchproductsfilerobjcontext.collections.push(collectionid);
350
- }
351
- } else {
352
- tempfetchproductsfilerobjcontext.collections = [collectionid];
353
- }
354
- }
355
-
356
- tempfetchproductsfilerobjcontext.page = 0;
357
- tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
358
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
359
- filterrouting(tempfetchproductsfilerobjcontext);
360
- // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
361
- };
362
- const AccordionInner = (parentcollectionindex, parentcollectionitem) => {
363
- return (
364
- <AccordionItem uuid={parentcollectionindex}>
365
- <AccordionItemHeading>
366
- <AccordionItemButton>
367
- <div className={filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '}>
368
- <div className="col-lg-10 col-md-10 col-sm-10 p-0">
369
- <p
370
- className={
371
- langdetect == 'en'
372
- ? filter_cssstyles.pCollectionName + ' collapsetitle text-capitalize m-0 p-0 '
373
- : filter_cssstyles.pCollectionName + ' collapsetitle text-capitalize m-0 p-0 text-right'
374
- }
375
- >
376
- {langdetect == 'en' ? parentcollectionitem.title_en : parentcollectionitem.title_ar}
377
- </p>
378
- </div>
379
- <div className="col-lg-2 col-md-2 col-sm-2 p-0">
380
- <AccordionItemState>
381
- {(state) => {
382
- if (state.expanded == true) {
383
- return (
384
- <i className={filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
385
- <FiChevronUp />
386
- </i>
387
- );
388
- } else {
389
- return (
390
- <i className={filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
391
- <FiChevronDown />
392
- </i>
393
- );
394
- }
395
- }}
396
- </AccordionItemState>
397
- </div>
398
- </div>
399
- </AccordionItemButton>
400
- </AccordionItemHeading>
401
- <AccordionItemPanel className="p-0">
402
- <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex ">
403
- <div class="col-lg-12 mb-3 allcentered">
404
- <p
405
- class={filter_cssstyles.explorebtn + ' m-0 p-0 cursor-pointer text-capitalize '}
406
- style={{ textDecoration: 'underline' }}
407
- onClick={() => {
408
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + parentcollectionitem.parentcollectionid);
409
- }}
410
- >
411
- {langdetect == 'en' ? sectionproperties.explorebtncontenten : sectionproperties.explorebtncontentar}{' '}
412
- {langdetect == 'en' ? parentcollectionitem.title_en : parentcollectionitem.title_ar}
413
- </p>
414
- </div>
415
- <div className={'col-lg-12 pl-md-3 pr-md-3'}>
416
- <div
417
- className={
418
- langdetect == 'en' ? `${filterstyles.timeline} ${filterstyles.timelinetrans}` + ' p-sm-0 ' : `${filterstyles.timeline} ${filterstyles.timelinetrans}` + ' p-sm-0 '
419
- }
420
- >
421
- {parentcollectionitem?.collections?.map((collectionitem, collectionindex) => {
422
- if (collectionitem.isinftiler == 1) {
423
- return (
424
- <div
425
- className={
426
- `${filterstyles.border_left_line} ${filterstyles.timelineinnercont} ${filter_cssstyles.timelineinnercont}
427
- ${collectionitem.isfilterselected ? `${filter_cssstyles.timelineinnercont_active} ${filterstyles.timelineinnercont_active}` : ''}
428
- ` + ' d-flex align-items-center pb-3 '
429
- }
430
- onClick={() => {
431
- setCollectionFilterFunc(collectionitem.collectionid);
432
- }}
433
- >
434
- <div
435
- className={
436
- ` ${collectionitem.isfilterselected ? filter_cssstyles.btn_item_active : ''} ${filterstyles.btn_item} ${filter_cssstyles.btn_item}` +
437
- ' d-flex align-items-center '
438
- }
439
- >
440
- <i className="h-100 d-flex align-items-center"></i>
441
- </div>
442
- <div className={langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'}>
443
- <p
444
- className={`${filterstyles.timeline_text} ${filter_cssstyles.timeline_text}` + ' m-0 p-0 '}
445
- style={{
446
- color: collectionitem.isfilterselected ? sectionproperties.activecat_color : '',
447
- }}
448
- >
449
- {langdetect == 'en' ? collectionitem.title_en : collectionitem.title_ar}
450
- </p>
451
- </div>
452
- </div>
453
- );
454
- }
455
- })}
456
- </div>
457
- </div>
458
- </div>
459
- </AccordionItemPanel>
460
- </AccordionItem>
461
- );
462
- };
463
- const AccordionOuter = (categoryItem, categoryIndex) => {
464
- return (
465
- <AccordionItem uuid={categoryIndex}>
466
- <AccordionItemHeading>
467
- <AccordionItemButton>
468
- <div className={filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-1 pl-md-3 pr-md-3 '}>
469
- <div className="col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start">
470
- <p className={filter_cssstyles.categoryName + ' collapsetitle text-capitalize m-0 p-0 '}>{langdetect == 'en' ? categoryItem.title_en : categoryItem.title_ar}</p>
471
- </div>
472
- <div className="col-lg-2 col-md-2 col-sm-2 p-0">
473
- <AccordionItemState>
474
- {(state) => {
475
- if (state.expanded == true) {
476
- return (
477
- <i className={filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
478
- <FiChevronUp />
479
- </i>
480
- );
481
- } else {
482
- return (
483
- <i className={filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
484
- <FiChevronDown />
485
- </i>
486
- );
487
- }
488
- }}
489
- </AccordionItemState>
490
- </div>
491
- <div className="col-lg-12 p-0">
492
- <hr className="mt-3 mb-2" />
493
- </div>
494
- </div>
495
- </AccordionItemButton>
496
- </AccordionItemHeading>
497
- <AccordionItemPanel className="p-0">
498
- <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
499
- <div class="col-lg-12 mb-3 allcentered">
500
- <p
501
- class={filter_cssstyles.explorebtn + ' m-0 p-0 cursor-pointer text-capitalize '}
502
- style={{ textDecoration: 'underline' }}
503
- onClick={() => {
504
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + categoryItem.categoryid);
505
- }}
506
- >
507
- {langdetect == 'en' ? sectionproperties.explorebtncontenten : sectionproperties.explorebtncontentar}{' '}
508
- {langdetect == 'en' ? categoryItem.title_en : categoryItem.title_ar}
509
- </p>
510
- </div>
511
- {instcategories[categoryIndex]?.parentcolletions.map((parentcollectionitem, parentcollectionindex) => {
512
- if (parentcollectionitem.isinftiler == 1) {
513
- return (
514
- <div class="col-lg-12">
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
- {AccordionInner(parentcollectionindex, parentcollectionitem)}
518
- </Accordion>
519
- )}
520
- {sectionproperties.expandall == 'No' && (
521
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
522
- {AccordionInner(parentcollectionindex, parentcollectionitem)}
523
- </Accordion>
524
- )}
525
- </div>
526
- );
527
- }
528
- })}
529
- </div>
530
- </AccordionItemPanel>
531
- </AccordionItem>
532
- );
533
- };
534
- const CategoriesFilter = () => {
535
- return (
536
- <div class="col-lg-12 p-0">
537
- {instcategories?.map((categoryItem, categoryIndex) => {
538
- if (categoryItem.isinftiler == 1) {
539
- return (
540
- <div class="col-lg-12 p-0">
541
- {sectionproperties.expandall == 'Yes' && (
542
- <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]}>
543
- {AccordionOuter(categoryItem, categoryIndex)}
544
- </Accordion>
545
- )}
546
- {sectionproperties.expandall == 'No' && (
547
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
548
- {AccordionOuter(categoryItem, categoryIndex)}
549
- </Accordion>
550
- )}
551
- </div>
552
- );
553
- }
554
- })}
555
- </div>
556
- );
557
- };
558
- const CollectionsFilter = () => {
559
- return (
560
- <div class="col-lg-12 p-0">
561
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true} preExpanded={[0, 1, 2, 3]}>
562
- <AccordionItem uuid={0}>
563
- <AccordionItemHeading>
564
- <AccordionItemButton>
565
- <div className={filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '}>
566
- <div className="col-lg-10 col-md-10 col-sm-10 p-0">
567
- <p className={langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'}>
568
- {langdetect == 'en' ? sectionproperties.filtercollectiontitle_en : sectionproperties.filtercollectiontitle_ar}
569
- </p>
570
- </div>
571
- <div className="col-lg-2 col-md-2 col-sm-2 p-0">
572
- <AccordionItemState>
573
- {(state) => {
574
- if (state.expanded == true) {
575
- return (
576
- <i className={filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
577
- <FiChevronUp />
578
- </i>
579
- );
580
- } else {
581
- return (
582
- <i className={filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
583
- <FiChevronDown />
584
- </i>
585
- );
586
- }
587
- }}
588
- </AccordionItemState>
589
- </div>
590
- </div>
591
- </AccordionItemButton>
592
- </AccordionItemHeading>
593
- <AccordionItemPanel className="p-0">
594
- <div className="row mt-3 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3">
595
- <div className={'col-lg-12'}>
596
- <div
597
- className={
598
- langdetect == 'en'
599
- ? `${filterstyles.timeline} ${filterstyles.timelinetrans}` + ' p-sm-0 '
600
- : `${filterstyles.timeline} ${filterstyles.timelinetrans}` + ' p-sm-0 '
601
- }
602
- >
603
- {collectionstobevisible.map((item, index) => {
604
- return (
605
- <div
606
- className={
607
- `${filterstyles.border_left_line} ${filterstyles.timelineinnercont} ${filter_cssstyles.timelineinnercont}
608
- ${item.isfilterselected ? `${filter_cssstyles.timelineinnercont_active} ${filterstyles.timelineinnercont_active}` : ''}
609
- ` + ' d-flex align-items-center pb-3 '
610
- }
611
- onClick={() => {
612
- setCollectionFilterFunc(item.collectionid);
613
- }}
614
- >
615
- <div class="mr-2">
616
- <div
617
- className={
618
- ` ${item.isfilterselected ? filter_cssstyles.btn_item_active : ''} ${filterstyles.btn_item} ${filter_cssstyles.btn_item}` +
619
- ' d-flex align-items-center '
620
- }
621
- >
622
- <i className="h-100 d-flex align-items-center"></i>
623
- </div>
624
- </div>
625
- <div className={langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'}>
626
- <p
627
- className={`${filterstyles.timeline_text} ${filter_cssstyles.timeline_text}` + ' m-0 p-0 '}
628
- style={{
629
- color: item.isfilterselected ? sectionproperties.activecat_color : '',
630
- }}
631
- >
632
- {langdetect == 'en' ? item.title_en : item.title_ar}
633
- </p>
634
- </div>
635
- </div>
636
- );
637
- })}
638
- </div>
639
- {sectionproperties.showshowallbtn == 'Show' && (
640
- <div class="col-lg-12 allcentered">
641
- <div class={filter_cssstyles.showallbtn} style={{}}>
642
- <p
643
- class="m-0 p-0"
644
- onClick={() => {
645
- setcollectionstobevisible(instcollections);
646
- }}
647
- // style={{ cursor: 'pointer' }}
648
- >
649
- {langdetect == 'en' ? sectionproperties.showalltexten : sectionproperties.showalltextar}
650
- </p>
651
- </div>
652
- </div>
653
- )}
654
- </div>
655
- </div>
656
- </AccordionItemPanel>
657
- </AccordionItem>
658
- {/* <hr className="mt-3 mb-3" /> */}
659
- </Accordion>
660
- </div>
661
- );
662
- };
663
- const DynamicFilter = () => {
664
- return (
665
- <div class="row m-0 w-100">
666
- <div class="col-lg-12 p-0">
667
- {fetchProductFeaturesQueryContext?.isSuccess && (
668
- <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex w-100">
669
- {fetchProductFeaturesQueryContext?.data?.data?.productfeatues?.map(function (item, index) {
670
- // if (item.type == 'Selectbox') {
671
- // var selectboxarr = [];
672
- // item?.featuresselectbovalue?.forEach(function (slecitem) {
673
- // var itemlabel = '';
674
- // if (langdetect == 'en') {
675
- // itemlabel = slecitem.value_en;
676
- // } else {
677
- // itemlabel = slecitem.value_ar;
678
- // }
679
- // selectboxarr.push({ label: itemlabel, value: slecitem.value_en });
680
- // });
681
- // return (
682
- // <div class="col-lg-12 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3 p-0">
683
- // <label
684
- // className={' mb-3 w-100 '}
685
- // style={{
686
- // textAlign: langdetect == 'en' ? 'left' : 'right',
687
- // color: sectionproperties.filtertitle_color,
688
- // color: sectionproperties.filtertitle_color,
689
- // fontSize: sectionproperties.filtertitle_fontsize + 'px',
690
- // fontWeight: sectionproperties.filtertitle_fontweight,
691
- // color: sectionproperties.filtertitle_color,
692
- // textTransform: 'capitalize',
693
- // }}
694
- // >
695
- // {langdetect == 'en' ? item.name_en : item.name_ar}
696
- // </label>
697
- // <div class={'col-lg-12 p-0'}>
698
- // <Select
699
- // options={selectboxarr}
700
- // styles={langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated}
701
- // placeholder={''}
702
- // onChange={(e) => {
703
- // var isattrexists = false;
704
- // var tempproductfeatuesarr = [...productfeatuesarr];
705
- // tempproductfeatuesarr?.forEach(function (attritem, attrindex) {
706
- // if (attritem.id == item.id) {
707
- // tempproductfeatuesarr[attrindex].value = e.value;
708
- // isattrexists = true;
709
- // }
710
- // });
711
- // if (isattrexists == false) {
712
- // tempproductfeatuesarr.push({
713
- // id: item.id,
714
- // value: e.value,
715
- // });
716
- // }
717
- // setproductfeatuesarr([...tempproductfeatuesarr]);
718
- // }}
719
- // />
720
- // </div>
721
- // </div>
722
- // );
723
- // }
724
- if (item.type == 'Selectbox') {
725
- var selectboxarr = [];
726
- // item?.featuresselectbovalue?.forEach(function (slecitem) {
727
- // var itemlabel = '';
728
- // var itemlabelar = '';
729
- // if (langdetect == 'en') {
730
- // itemlabel = slecitem.value_en;
731
- // } else {
732
- // itemlabel = slecitem.value_ar;
733
- // }
734
- // selectboxarr.push({ label: itemlabel, value: slecitem.value_en });
735
- // });
736
- return (
737
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true} preExpanded={[0, 1, 2, 3]}>
738
- <AccordionItem uuid={index}>
739
- <AccordionItemHeading>
740
- <AccordionItemButton>
741
- <div className={filter_cssstyles.titlecontainer + ' row m-0 w-100 p-0 mb-2 pl-md-3 pr-md-3 '}>
742
- <div className="col-lg-10 col-md-10 col-sm-10 p-0">
743
- <p
744
- className={
745
- langdetect == 'en'
746
- ? filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 '
747
- : filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 text-right'
748
- }
749
- >
750
- {langdetect == 'en' ? item.name_en : item.name_ar}
751
- </p>
752
- </div>
753
- <div className="col-lg-2 col-md-2 col-sm-2 p-0">
754
- <AccordionItemState>
755
- {(state) => {
756
- if (state.expanded == true) {
757
- return (
758
- <i className={filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
759
- <FiChevronUp />
760
- </i>
761
- );
762
- } else {
763
- return (
764
- <i className={filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
765
- <FiChevronDown />
766
- </i>
767
- );
768
- }
769
- }}
770
- </AccordionItemState>
771
- </div>
772
- </div>
773
- </AccordionItemButton>
774
- </AccordionItemHeading>
775
- <AccordionItemPanel className="p-0">
776
- <div className="row mt-3 mb-2 ml-0 mr-0 d-lg-flex px-3 px-md-4-2 overflowyedit">
777
- <div
778
- className={
779
- langdetect == 'en' ? `${filterstyles.timeline}` + ' p-sm-0 ' : `${filterstyles.timeline} ${filterstyles.timelinetrans}` + ' p-sm-0 '
780
- }
781
- >
782
- {item?.featuresselectbovalue?.map((slecitem, slecindex) => {
783
- return (
784
- <div
785
- className={
786
- `${filterstyles.border_left_line} ${filterstyles.timelineinnercont} ${filter_cssstyles.timelineinnercont}
787
- ${slecitem.isfilterselected ? `${filter_cssstyles.timelineinnercont_active} ${filterstyles.timelineinnercont_active}` : ''}
788
-
789
- ` + ' d-flex align-items-center pb-3 '
790
- }
791
- onClick={(e) => {
792
- var isattrexists = false;
793
- var tempproductfeatuesarr = [...productfeatuesarr];
794
- tempproductfeatuesarr?.forEach(function (attritem, attrindex) {
795
- if (attritem.id == slecitem.featureid) {
796
- tempproductfeatuesarr[attrindex].value = slecitem.value_en;
797
- isattrexists = true;
798
- }
799
- });
800
- if (isattrexists == false) {
801
- tempproductfeatuesarr.push({
802
- id: slecitem.featureid,
803
- value: slecitem.value_en,
804
- });
805
- }
806
- setproductfeatuesarr([...tempproductfeatuesarr]);
807
-
808
- // setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
809
- }}
810
- >
811
- <div>
812
- <div
813
- className={
814
- ` ${slecitem.isfilterselected ? filter_cssstyles.btn_item_active : ''} ${filterstyles.btn_item} ${
815
- filter_cssstyles.btn_item
816
- }` + ' d-flex align-items-center '
817
- }
818
- >
819
- <i className="h-100 d-flex align-items-center"></i>
820
- </div>
821
- </div>
822
-
823
- <div className={langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'}>
824
- <p
825
- className={`${filterstyles.timeline_text} ${filter_cssstyles.timeline_text}` + ' m-0 p-0 '}
826
- style={{
827
- color: slecitem.isfilterselected ? sectionproperties.activecat_color : '',
828
- }}
829
- >
830
- {langdetect == 'en' ? slecitem.value_en : slecitem.value_ar}
831
- </p>
832
- </div>
833
- </div>
834
- );
835
- })}
836
- </div>
837
- </div>
838
- </AccordionItemPanel>
839
- </AccordionItem>
840
- </Accordion>
841
- // <div class="col-lg-12 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3 p-0">
842
- // <label
843
- // className={' mb-3 w-100 '}
844
- // style={{
845
- // textAlign: langdetect == 'en' ? 'left' : 'right',
846
- // color: sectionproperties.filtertitle_color,
847
- // color: sectionproperties.filtertitle_color,
848
- // fontSize: sectionproperties.filtertitle_fontsize + 'px',
849
- // fontWeight: sectionproperties.filtertitle_fontweight,
850
- // color: sectionproperties.filtertitle_color,
851
- // textTransform: 'capitalize',
852
- // }}
853
- // >
854
- // {langdetect == 'en' ? item.name_en : item.name_ar}
855
- // </label>
856
- // <div class={'col-lg-12 p-0'}>
857
- // <Select
858
- // options={selectboxarr}
859
- // styles={langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated}
860
- // placeholder={''}
861
- // onChange={(e) => {
862
- // var isattrexists = false;
863
- // var tempproductfeatuesarr = [...productfeatuesarr];
864
- // tempproductfeatuesarr?.forEach(function (attritem, attrindex) {
865
- // if (attritem.id == item.id) {
866
- // tempproductfeatuesarr[attrindex].value = e.value;
867
- // isattrexists = true;
868
- // }
869
- // });
870
- // if (isattrexists == false) {
871
- // tempproductfeatuesarr.push({
872
- // id: item.id,
873
- // value: e.value,
874
- // });
875
- // }
876
- // setproductfeatuesarr([...tempproductfeatuesarr]);
877
- // }}
878
- // />
879
- // </div>
880
- // </div>
881
- );
882
- }
883
- // up here
884
- if (item.type == 'Number') {
885
- return (
886
- <div class="col-lg-12 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3 p-0">
887
- <label
888
- className={`${filter_cssstyles.input_label_name}` + ' mb-3 w-100 '}
889
- style={{
890
- textAlign: langdetect == 'en' ? 'left' : 'right',
891
- color: sectionproperties.filtertitle_color,
892
- color: sectionproperties.filtertitle_color,
893
- fontSize: sectionproperties.filtertitle_fontsize + 'px',
894
- fontWeight: sectionproperties.filtertitle_fontweight,
895
- color: sectionproperties.filtertitle_color,
896
- textTransform: 'capitalize',
897
- }}
898
- >
899
- {langdetect == 'en' ? item.name_en : item.name_ar}
900
- </label>
901
- <div class={'col-lg-12 p-0'}>
902
- <input
903
- type="number"
904
- className={`${formstyles.form_control} ${filter_cssstyles.form_control}`}
905
- placeholder={''}
906
- onChange={(e) => {
907
- var isattrexists = false;
908
- var tempproductfeatuesarr = [...productfeatuesarr];
909
- tempproductfeatuesarr?.forEach(function (attritem, attrindex) {
910
- if (attritem.id == item.id) {
911
- tempproductfeatuesarr[attrindex].value = e.target.value;
912
- isattrexists = true;
913
- }
914
- });
915
- if (isattrexists == false) {
916
- tempproductfeatuesarr.push({
917
- id: item.id,
918
- value: e.target.value,
919
- });
920
- }
921
- setproductfeatuesarr([...tempproductfeatuesarr]);
922
- }}
923
- />
924
- </div>
925
- </div>
926
- );
927
- }
928
- if (item.type == 'NumberRange') {
929
- var temppricevalue = { min: 0, max: 10000 };
930
- var tempproductfeatuesarr = [...productfeatuesarr];
931
- tempproductfeatuesarr?.forEach(function (attritem, attrindex) {
932
- if (attritem.id == item.id) {
933
- if (attritem.value != undefined && attritem.value != null && attritem?.value?.length != 0) {
934
- temppricevalue.min = attritem.value;
935
- }
936
- if (attritem.valuemax != undefined && attritem.valuemax != null && attritem?.valuemax?.length != 0) {
937
- temppricevalue.max = attritem.valuemax;
938
- }
939
- }
940
- });
941
- return (
942
- <div className={`${langdetect == 'en' ? 'text-left' : 'text-right'}` + ' col-lg-12 col-md-12 col-sm-12 mb-3 '}>
943
- <label
944
- className={`${filter_cssstyles.input_label_name}` + ' mb-3 w-100'}
945
- style={{
946
- textAlign: langdetect == 'en' ? 'left' : 'right',
947
- color: sectionproperties.filtertitle_color,
948
- color: sectionproperties.filtertitle_color,
949
- fontSize: sectionproperties.filtertitle_fontsize + 'px',
950
- fontWeight: sectionproperties.filtertitle_fontweight,
951
- color: sectionproperties.filtertitle_color,
952
- textTransform: 'capitalize',
953
- }}
954
- >
955
- {langdetect == 'en' ? item.name_en : item.name_ar}
956
- {item.type}
957
- </label>
958
- <div class={'col-lg-12 pl-4 pr-4 mt-2 mb-2'} style={{ direction: 'ltr' }}>
959
- <InputRange
960
- draggableTrack={true}
961
- formatLabel={(value) => `${value}`}
962
- maxValue={parseInt(sectionproperties.filterpricemaxvalue)}
963
- minValue={parseInt(sectionproperties.filterpriceminvalue)}
964
- value={temppricevalue}
965
- onChange={(e) => {
966
- // setpricevalue({ ...value });
967
- var isattrexists = false;
968
- var tempproductfeatuesarr = [...productfeatuesarr];
969
- tempproductfeatuesarr?.forEach(function (attritem, attrindex) {
970
- if (attritem.id == item.id) {
971
- tempproductfeatuesarr[attrindex].value = e.min;
972
- tempproductfeatuesarr[attrindex].valuemax = e.max;
973
- isattrexists = true;
974
- }
975
- });
976
- if (isattrexists == false) {
977
- tempproductfeatuesarr.push({
978
- id: item.id,
979
- value: e.min,
980
- valuemax: e.max,
981
- });
982
- }
983
- setproductfeatuesarr([...tempproductfeatuesarr]);
984
- }}
985
- />
986
- </div>
987
- </div>
988
- );
989
- }
990
- })}
991
- {/* {sectionproperties.showpricerange == 'Show' && (
992
- <div className={`${langdetect == 'en' ? 'text-left' : 'text-right'}` + ' col-lg-12 col-md-12 col-sm-12 mb-3 p-0 '}>
993
- <label
994
- className={`${filter_cssstyles.input_label_name}` + ' mb-3 w-100'}
995
- style={{
996
- textAlign: langdetect == 'en' ? 'left' : 'right',
997
- color: sectionproperties.filtertitle_color,
998
- color: sectionproperties.filtertitle_color,
999
- fontSize: sectionproperties.filtertitle_fontsize + 'px',
1000
- fontWeight: sectionproperties.filtertitle_fontweight,
1001
- color: sectionproperties.filtertitle_color,
1002
- textTransform: 'capitalize',
1003
- }}
1004
- >
1005
- {langdetect == 'en' ? 'Price' : 'السعر'}
1006
- {item.type}
1007
- </label>
1008
- <div class={'col-lg-12 pl-4 pr-4 mt-2 mb-2'} style={{ direction: 'ltr' }}>
1009
- <InputRange
1010
- draggableTrack={true}
1011
- formatLabel={(value) => `${value}`}
1012
- maxValue={parseInt(sectionproperties.filterpricemaxvalue)}
1013
- minValue={parseInt(sectionproperties.filterpriceminvalue)}
1014
- value={temppricevalue}
1015
- onChange={(e) => {
1016
- // setpricevalue({ ...value });
1017
- var isattrexists = false;
1018
- var tempproductfeatuesarr = [...productfeatuesarr];
1019
- tempproductfeatuesarr?.forEach(function (attritem, attrindex) {
1020
- if (attritem.id == item.id) {
1021
- tempproductfeatuesarr[attrindex].value = e.min;
1022
- tempproductfeatuesarr[attrindex].valuemax = e.max;
1023
- isattrexists = true;
1024
- }
1025
- });
1026
- if (isattrexists == false) {
1027
- tempproductfeatuesarr.push({
1028
- id: item.id,
1029
- value: e.min,
1030
- valuemax: e.max,
1031
- });
1032
- }
1033
- setproductfeatuesarr([...tempproductfeatuesarr]);
1034
- }}
1035
- />
1036
- </div>
1037
- </div>
1038
- )} */}
1039
- </div>
1040
- )}
1041
- </div>
1042
- </div>
1043
- );
1044
- };
1045
- const InstFilters = () => {
1046
- return (
1047
- // <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1048
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true} preExpanded={[0, 1, 2, 3]}>
1049
- {instfilters.map((item, index) => {
1050
- return (
1051
- <>
1052
- <AccordionItem uuid={index}>
1053
- <AccordionItemHeading>
1054
- <AccordionItemButton>
1055
- <div className={filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 mb-4 '}>
1056
- <div className="col-lg-10 col-md-10 col-sm-10 p-0">
1057
- <p
1058
- className={
1059
- langdetect == 'en'
1060
- ? filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 '
1061
- : filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 text-right'
1062
- }
1063
- >
1064
- {langdetect == 'en' ? item.optionname : item.optionname_ar}
1065
- </p>
1066
- </div>
1067
- <div className="col-lg-2 col-md-2 col-sm-2 p-0">
1068
- <AccordionItemState>
1069
- {(state) => {
1070
- if (state.expanded == true) {
1071
- return (
1072
- <i className={filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1073
- <FiChevronUp />
1074
- </i>
1075
- );
1076
- } else {
1077
- return (
1078
- <i className={filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1079
- <FiChevronDown />
1080
- </i>
1081
- );
1082
- }
1083
- }}
1084
- </AccordionItemState>
1085
- </div>
1086
- </div>
1087
- </AccordionItemButton>
1088
- </AccordionItemHeading>
1089
- <AccordionItemPanel className="p-0">
1090
- {/* <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3">
1091
- <div className={'col-lg-12'}>
1092
- <div className={langdetect == 'en' ? `${filterstyles.timeline}` + ' p-sm-0 ' : `${filterstyles.timeline} ${filterstyles.timelinetrans}` + ' p-sm-0 '}>
1093
- {item.productvaluesfilter.map((valueitem, valueindex) => {
1094
- return (
1095
- <div
1096
- className={
1097
- `${filterstyles.border_left_line} ${filterstyles.timelineinnercont} ${filter_cssstyles.timelineinnercont}
1098
- ${valueitem.isfilterselected ? `${filter_cssstyles.timelineinnercont_active} ${filterstyles.timelineinnercont_active}` : ''}
1099
-
1100
- ` + ' d-flex align-items-center pb-3 '
1101
- }
1102
- onClick={() => {
1103
- setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
1104
- }}
1105
- >
1106
- <div>
1107
- <div
1108
- className={
1109
- ` ${valueitem.isfilterselected ? filter_cssstyles.btn_item_active : ''} ${filterstyles.btn_item} ${filter_cssstyles.btn_item}` +
1110
- ' mb-2 d-flex align-items-center '
1111
- }
1112
- >
1113
- <i className="h-100 d-flex align-items-center"></i>
1114
- </div>
1115
- </div>
1116
- <div className={langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'}>
1117
- <p
1118
- className={`${filterstyles.timeline_text} ${filter_cssstyles.timeline_text}` + ' m-0 p-0 '}
1119
- style={{
1120
- color: valueitem.isfilterselected ? sectionproperties.activecat_color : '',
1121
- }}
1122
- >
1123
- {langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar}
1124
- </p>
1125
- </div>
1126
- </div>
1127
- );
1128
- })}
1129
- </div>
1130
- </div>
1131
- </div> */}
1132
- <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3">
1133
- <ul class="thwvsf-wrapper-ul">
1134
- <div className={langdetect == 'en' ? `${filterstyles.timeline}` + ' p-sm-0 ' : `${filterstyles.timeline} ${filterstyles.timelinetrans}` + ' p-sm-0 '}>
1135
- <ul class=" d-flex list-none flex-row flex-wrap overflow-auto px-6 pb-5 pt-2 lg:px-0">
1136
- {item.productvaluesfilter.map((valueitem, valueindex) => {
1137
- return (
1138
- <li
1139
- className={
1140
- // `${filterstyles.border_left_line} ${filterstyles.timelineinnercont} ${filter_cssstyles.timelineinnercont}
1141
- // ${valueitem.isfilterselected ? `${filter_cssstyles.timelineinnercont_active} ${filterstyles.timelineinnercont_active}` : ''}
1142
- // ` +
1143
- item.optionname != 'Color'
1144
- ? `${filter_cssstyles.filteroptionvertical} ${
1145
- valueitem.isfilterselected ? `${filter_cssstyles.filteroptionverticalactive} ` : ''
1146
- }` + ' mx-3 mb-3 cursor-pointer allcentered '
1147
- : ' mx-3 mb-3 cursor-pointer allcentered '
1148
- }
1149
- onClick={() => {
1150
- setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
1151
- }}
1152
- style={
1153
- {
1154
- // border: sectionproperties.filter_optionborderwidth + 'px solid ' + sectionproperties.filter_optionbordercolor,
1155
- // width: item.optionname == 'Color' ? 'auto' : '',
1156
- // height: item.optionname == 'Color' ? 'auto' : '',
1157
- // borderWidth: item.optionname == 'Color' ? 0 : '',
1158
- }
1159
- }
1160
- >
1161
- {item.optionname == 'Color' && (
1162
- <div className={'mx-3'}>
1163
- <div class="row m-0 w-100">
1164
- <div class="col-lg-12 p-0 allcentered mb-3">
1165
- {valueitem.isfilterselected && (
1166
- <div
1167
- class="allcentered"
1168
- style={{
1169
- width: 40,
1170
- height: 40,
1171
- border: '2px solid ' + valueitem.valuename,
1172
- borderRadius: 100,
1173
- }}
1174
- >
1175
- <div
1176
- style={{
1177
- width: 28,
1178
- height: 28,
1179
- background: valueitem.valuename,
1180
- borderRadius: 100,
1181
- }}
1182
- ></div>
1183
- </div>
1184
- )}
1185
- {!valueitem.isfilterselected && (
1186
- <div
1187
- style={{
1188
- width: 28,
1189
- height: 28,
1190
- background: valueitem.valuename,
1191
- borderRadius: 100,
1192
- }}
1193
- ></div>
1194
- )}
1195
- </div>
1196
- <div class="col-lg-12 p-0 allcentered">
1197
- <p className={`${filterstyles.timeline_text} ${filter_cssstyles.timeline_text}` + ' m-0 p-0 '} style={{}}>
1198
- {valueitem.value_identifier}
1199
- </p>
1200
- </div>
1201
- </div>
1202
- </div>
1203
- )}
1204
- {item.optionname != 'Color' && (
1205
- <p
1206
- className={' m-0 p-0 '}
1207
- style={{
1208
- color: valueitem.isfilterselected ? sectionproperties.activecat_color : '',
1209
- }}
1210
- >
1211
- {langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar}
1212
- </p>
1213
- )}
1214
- </li>
1215
- );
1216
- })}
1217
- </ul>
1218
- </div>
1219
- </ul>
1220
- </div>
1221
- </AccordionItemPanel>
1222
- </AccordionItem>
1223
- {/* <hr className="mt-3 mb-3" /> */}
1224
- </>
1225
- );
1226
- })}
1227
- </Accordion>
1228
- );
1229
- };
1230
- const filter_cssstyles = {
1231
- form_control: css({
1232
- position: 'relative',
1233
- display: 'flex',
1234
- alignItems: 'center',
1235
- display: 'block',
1236
- width: '100%',
1237
- padding: '0 30px',
1238
- transition: '.3s',
1239
- fontWeight: 500,
1240
- border: '1px solid #ccc',
1241
- // border: sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0,
1242
- // borderBottom: sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor,
1243
- // borderRadius: sectionproperties.inputfieldborderradius + 'px',
1244
- borderRadius: '5px',
1245
- // height: sectionproperties.inputfieldheight + 'px',
1246
- height: '40px',
1247
- background: 'transparent',
1248
- // color: sectionproperties.inputfieldcolor,
1249
- color: '#000',
1250
- // fontSize: sectionproperties.inputfieldfontsize + 'px',
1251
- fontSize: '14px',
1252
- ':focus': {
1253
- // borderColor: sectionproperties.inputfeildbordercoloronfocus,
1254
- borderColor: '#eac435',
1255
- boxShadow: 'none',
1256
- },
1257
- }),
1258
- collapsetitle: css({
1259
- fontSize: sectionproperties.filtertitle_fontsize + 'px',
1260
- fontWeight: sectionproperties.filtertitle_fontweight,
1261
- textTransform: sectionproperties.filtertitle_texttransform,
1262
- color: sectionproperties.filtertitle_color,
1263
- ':hover': {
1264
- color: sectionproperties.filtertitle_coloronhover,
1265
- },
1266
- }),
1267
- titlecontainer: css({
1268
- color: sectionproperties.filtertitle_color,
1269
- ':hover .collapsetitle': {
1270
- color: sectionproperties.filtertitle_coloronhover,
1271
- },
1272
- }),
1273
- timeline_text: css({
1274
- fontSize: sectionproperties.timeline_text_fontsize + 'px',
1275
- fontWeight: sectionproperties.timeline_text_fontweight,
1276
- textTransform: sectionproperties.timeline_text_texttransform,
1277
- color: sectionproperties.timeline_text_color,
1278
- transition: '.3s',
1279
- ':hover': {
1280
- color: sectionproperties.timeline_text_coloronhover,
1281
- },
1282
- }),
1283
- btnstyles: css({
1284
- color: sectionproperties.generalbtn_textColor,
1285
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
1286
- textTransform: sectionproperties.generalbtn_texttransform,
1287
- width: sectionproperties.generalbtn_width + 'px',
1288
- height: sectionproperties.generalbtn_height + 'px',
1289
- background: sectionproperties.generalbtn_bgColor,
1290
- borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
1291
- borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
1292
- borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
1293
- borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
1294
- fontWeight: sectionproperties.generalbtn_fontweight,
1295
- transition: '.3s',
1296
- ':hover': {
1297
- background: sectionproperties.generalbtn_bgColoronhover,
1298
- color: sectionproperties.generalbtn_textColoronhover,
1299
- },
1300
- }),
1301
- close_menu_icon_cont: css({
1302
- background: sectionproperties.closeSliderBgColor,
1303
- width: sectionproperties.closeSliderWidth + 'px',
1304
- height: sectionproperties.closeSliderHeight + 'px',
1305
- borderRadius: sectionproperties.closeSlider_borderBottomLeftRadius + 'px',
1306
- ':hover': {
1307
- background: sectionproperties.closeSliderBgColorHover,
1308
- },
1309
- }),
1310
- horizontalfilter_card: css({
1311
- marginBottom: sectionproperties.horizontalfilter_mb + 'px',
1312
- marginTop: sectionproperties.horizontalfilter_mt + 'px',
1313
- background: sectionproperties.horizontalfilter_cardbg,
1314
- border: sectionproperties.horizontalfilter_cardborderwidth + 'px solid ' + sectionproperties.horizontalfilter_cardbordercolor,
1315
- boxShadow: sectionproperties.horizontalfilter_cardboxShadow == 'Show' ? sectionproperties.horizontalfilter_cardboxShadowcolor : 'horizontalfilter_cardboxShadow',
1316
- }),
1317
- btn_item: css({
1318
- width: '15px',
1319
- height: '15px',
1320
- background: sectionproperties.filteritembtn_bgcolor,
1321
- ':hover': {
1322
- background: sectionproperties.filteritembtn_bghover,
1323
- },
1324
- }),
1325
- btn_item_active: css({
1326
- background: sectionproperties.activecat_color,
1327
- }),
1328
- timelineinnercont_active: css({
1329
- fontWeight: sectionproperties.activecat_fontweight,
1330
- color: sectionproperties.activecat_color,
1331
- }),
1332
- categoryName: css({
1333
- color: sectionproperties.filtertitle_color,
1334
- fontWeight: sectionproperties.filterCatFontWeight,
1335
- fontSize: sectionproperties.filterCatFontSize + 'px',
1336
- }),
1337
- pCollectionName: css({
1338
- color: sectionproperties.filtertitle_color,
1339
- fontWeight: sectionproperties.filterPCollFontWeight,
1340
- fontSize: sectionproperties.filterPCollFontSize + 'px',
1341
- }),
1342
- explorebtn: css({
1343
- fontSize: sectionproperties.explorebtnfontsize + 'px',
1344
- fontWeight: 600,
1345
- color: sectionproperties.explorebtncolor,
1346
- transition: '.3s',
1347
- ':hover': {
1348
- color: sectionproperties.explorebtncoloronhover,
1349
- },
1350
- }),
1351
- showallbtn: css({
1352
- color: sectionproperties.showallcolor,
1353
- ':hover': {
1354
- transition: '.3s',
1355
- cursor: 'pointer',
1356
- color: sectionproperties.showallcolorhover,
1357
- },
1358
- }),
1359
- sectiontitle: css({
1360
- position: 'relative',
1361
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
1362
- width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
1363
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
1364
- '@media (max-width: 800px)': {
1365
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
1366
- },
1367
- }),
1368
- filtercard: css({
1369
- minWidth: sectionproperties.filtercardwidth + 'px',
1370
- maxWidth: sectionproperties.filtercardwidth + 'px',
1371
- }),
1372
- filteroptionvertical: css({
1373
- border: sectionproperties.filter_optionborderwidth + 'px solid ' + sectionproperties.filter_optionbordercolor,
1374
- color: sectionproperties.timeline_text_color,
1375
- ':hover': {
1376
- color: sectionproperties.timeline_text_coloronhover,
1377
- },
1378
- // filter_activebackgroundtransparent
1379
- }),
1380
- filteroptionverticalactive: css({
1381
- background: sectionproperties.btn_item_activebgcolor,
1382
- color: sectionproperties.activecat_color,
1383
- }),
1384
- };
1385
- const filterrouting = (tempfetchproductsfilerobjcontext) => {
1386
- const path = window.location.pathname.split('/');
1387
- var currentpagepath = path[1];
1388
- var pagenamepathinstaticpagelinkcont = '';
1389
- for (const key in StaticPagesLinksContext) {
1390
- if (StaticPagesLinksContext[key] == currentpagepath) {
1391
- pagenamepathinstaticpagelinkcont = key;
1392
- }
1393
- }
1394
- if (pagenamepathinstaticpagelinkcont != undefined && pagenamepathinstaticpagelinkcont != '') {
1395
- routingcountext(StaticPagesLinksContext[pagenamepathinstaticpagelinkcont], true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
1396
- }
1397
- };
1398
- const Countriesfilter = () => {
1399
- return (
1400
- <div class="row m-0 w-100 pl-md-3 pr-md-3">
1401
- <div class="col-lg-12 p-0 mt-3">
1402
- <div class="row m-0 w-100">
1403
- <div class="col-lg-12 p-0 mb-3">
1404
- {fetchTabexCountriesQueryContext?.isFetching && (
1405
- <div className="w-100 allcentered mt-1">
1406
- <CircularProgress color="#000" width="20px" height="20px" duration="1s" />
1407
- </div>
1408
- )}
1409
-
1410
- {!fetchTabexCountriesQueryContext?.isFetching && fetchTabexCountriesQueryContext?.isSuccess && (
1411
- <Select
1412
- options={fetchTabexCountriesQueryContext?.data?.data?.countries}
1413
- getOptionLabel={(option) => {
1414
- var crname = '';
1415
- if (langdetect == 'en') {
1416
- crname = option.name;
1417
- } else if (langdetect == 'ar') {
1418
- if (option.name_ar != null) {
1419
- crname = option.name_ar;
1420
- } else {
1421
- crname = option.name;
1422
- }
1423
- }
1424
- return crname;
1425
- }}
1426
- getOptionValue={(option) => option.id}
1427
- value={fetchTabexCountriesQueryContext.data.data.countries.filter((option) => option.id == ProductFilterObjContext.countryid)}
1428
- onChange={(option) => {
1429
- var tempFetchTabexStatesPayloadobjContext = { ...FetchTabexStatesPayloadobjContext };
1430
- tempFetchTabexStatesPayloadobjContext.functype = 'states';
1431
- tempFetchTabexStatesPayloadobjContext.country_id = option.id;
1432
- setFetchTabexStatesPayloadobjContext({ ...tempFetchTabexStatesPayloadobjContext });
1433
-
1434
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
1435
- tempfetchproductsfilerobjcontext.countryid = option.id;
1436
- tempfetchproductsfilerobjcontext.page = 0;
1437
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
1438
- filterrouting(tempfetchproductsfilerobjcontext);
1439
- }}
1440
- styles={langdetect == 'en' ? defaultstyles : defaultstylestranslated}
1441
- placeholder={lang.choosecountry}
1442
- isSearchable={true}
1443
- />
1444
- )}
1445
- </div>
1446
- <div class="col-lg-12 mb-3 p-0">
1447
- {fetchTabexStatesQueryContext?.isFetching && (
1448
- <div className="w-100 allcentered mt-1">
1449
- <CircularProgress color="#000" width="20px" height="20px" duration="1s" />
1450
- </div>
1451
- )}
1452
-
1453
- {!fetchTabexStatesQueryContext?.isFetching && fetchTabexStatesQueryContext?.isSuccess && (
1454
- <Select
1455
- options={fetchTabexStatesQueryContext?.data?.data?.states}
1456
- getOptionLabel={(option) => {
1457
- var crname = '';
1458
- if (langdetect == 'en') {
1459
- crname = option.name;
1460
- } else if (langdetect == 'ar') {
1461
- if (option.name_ar != null) {
1462
- crname = option.name_ar;
1463
- } else {
1464
- crname = option.name;
1465
- }
1466
- }
1467
- return crname;
1468
- }}
1469
- getOptionValue={(option) => option.id}
1470
- value={fetchTabexStatesQueryContext?.data?.data?.states.filter((option) => option.id == ProductFilterObjContext.stateid)}
1471
- onChange={(option) => {
1472
- var tempFetchTabexStatesPayloadobjContext = { ...FetchTabexStatesPayloadobjContext };
1473
- tempFetchTabexStatesPayloadobjContext.functype = 'cities';
1474
- tempFetchTabexStatesPayloadobjContext.state_id = option.id;
1475
- setFetchTabexStatesPayloadobjContext({ ...tempFetchTabexStatesPayloadobjContext });
1476
-
1477
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
1478
- tempfetchproductsfilerobjcontext.stateid = option.id;
1479
- tempfetchproductsfilerobjcontext.page = 0;
1480
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
1481
- filterrouting(tempfetchproductsfilerobjcontext);
1482
- }}
1483
- styles={langdetect == 'en' ? defaultstyles : defaultstylestranslated}
1484
- placeholder={lang.choosestategov}
1485
- isSearchable={true}
1486
- />
1487
- )}
1488
- </div>
1489
- <div class="col-lg-12 mb-3 p-0">
1490
- {fetchTabexCitiesQueryContext?.isFetching && (
1491
- <div className="w-100 allcentered mt-1">
1492
- <CircularProgress color="#000" width="20px" height="20px" duration="1s" />
1493
- </div>
1494
- )}
1495
-
1496
- {!fetchTabexCitiesQueryContext?.isFetching && fetchTabexCitiesQueryContext?.isSuccess && (
1497
- <Select
1498
- options={fetchTabexCitiesQueryContext?.data?.data?.cities}
1499
- getOptionLabel={(option) => {
1500
- var crname = '';
1501
- if (langdetect == 'en') {
1502
- crname = option.name;
1503
- } else if (langdetect == 'ar') {
1504
- if (option.name_ar != null) {
1505
- crname = option.name_ar;
1506
- } else {
1507
- crname = option.name;
1508
- }
1509
- }
1510
- return crname;
1511
- }}
1512
- getOptionValue={(option) => option.id}
1513
- value={fetchTabexCitiesQueryContext?.data?.data?.cities.filter((option) => option.id == ProductFilterObjContext.cityid)}
1514
- onChange={(option) => {
1515
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
1516
- tempfetchproductsfilerobjcontext.cityid = option.id;
1517
- tempfetchproductsfilerobjcontext.page = 0;
1518
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
1519
- filterrouting(tempfetchproductsfilerobjcontext);
1520
- }}
1521
- styles={langdetect == 'en' ? defaultstyles : defaultstylestranslated}
1522
- placeholder={lang.choosecity}
1523
- isSearchable={true}
1524
- />
1525
- )}
1526
- </div>
1527
- </div>
1528
- </div>
1529
- </div>
1530
- );
1531
- };
1532
- const [checked, setChecked] = useState(false);
1533
- // const queryParameters = new URLSearchParams(window.location.search);
1534
- // useEffect(() => {
1535
- // // setsortbycontext('Sort By');
1536
- // if (queryParameters.get('sortprice') == undefined) {
1537
- // setsortbycontext('Sort By');
1538
- // } else {
1539
- // var temp = { ...sortbycontext };
1540
- // temp = queryParameters.get('sortprice');
1541
- // alert(temp);
1542
- // }
1543
- // }, []);
1544
- return (
1545
- <div
1546
- // 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'}
1547
- className={'row mx-0 p-0 w-100 mt-md-2'}
1548
- style={{ marginTop: sectionproperties.filtersection_mt + 'px', minHeight: sectionproperties.filterminheight == 0 ? 'auto' : sectionproperties.filterminheight + 'vh' }}
1549
- >
1550
- {props.typeprops != 'vertical' && (
1551
- <div 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'}>
1552
- {sectionproperties.filterType == 'Title & Sort By Only' && (
1553
- <div
1554
- class="row mx-0 w-100"
1555
- style={{
1556
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
1557
- marginBottom: sectionproperties.sectiontitledirection == 'Vertical' ? sectionproperties.sectionTitleMarginBottom + 'px' : 0,
1558
- paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
1559
- paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px',
1560
- }}
1561
- >
1562
- <div class="col-lg-6 col-md-6 p-0 d-flex align-items-center justify-content-start">
1563
- <div class={filter_cssstyles.sectiontitle + ' d-flex align-items-center flex-row '} style={{}}>
1564
- <p
1565
- class={
1566
- sectionproperties.sectiontitlefontfamily == 'Pacifico'
1567
- ? ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
1568
- : sectionproperties.sectiontitlefontfamily == 'Playfair'
1569
- ? ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
1570
- : sectionproperties.sectiontitlefontfamily == 'Great Vibes'
1571
- ? ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
1572
- : sectionproperties.sectiontitlefontfamily == 'Quicksand'
1573
- ? ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
1574
- : sectionproperties.sectiontitlefontfamily == 'Satisfy'
1575
- ? ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
1576
- : sectionproperties.sectiontitlefontfamily == 'ASUL'
1577
- ? ' ASUL mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
1578
- : ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
1579
- }
1580
- style={{
1581
- color: sectionproperties.sectionTitleColor,
1582
- fontWeight: sectionproperties.sectionTitleFontWeight,
1583
- paddingLeft: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
1584
- paddingRight: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
1585
- textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
1586
- }}
1587
- >
1588
- {langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
1589
- </p>
1590
- </div>
1591
- </div>
1592
- <div
1593
- class="col-lg-6 col-md-6 d-flex align-items-center justify-content-end"
1594
- style={{
1595
- paddingRight: langdetect == 'en' ? 0 : '',
1596
- paddingLeft: langdetect == 'ar' ? 0 : '',
1597
- }}
1598
- >
1599
- <div class="dropdowncontainer">
1600
- <input class={filter_cssstyles.dropdown + ' dropdown '} type="checkbox" checked={checked} id="dropdown" name="dropdown" hidden />
1601
- <label
1602
- onClick={() => {
1603
- setChecked(!checked);
1604
- }}
1605
- className={filter_cssstyles.collapsetitle + ' d-flex justify-content-end align-items-center for-dropdown m-0 '}
1606
- for="dropdown"
1607
- style={{ cursor: 'pointer' }}
1608
- >
1609
- {langdetect == 'en' ? 'Sort By' : 'ترتيب حسب'}{' '}
1610
- <i class={langdetect == 'en' ? 'h-100 allcentered ml-3' : 'h-100 allcentered mr-3'}>
1611
- <FiChevronDown size={20} />
1612
- </i>
1613
- </label>
1614
-
1615
- <div
1616
- class="dropdownmenu"
1617
- style={{
1618
- background: sectionproperties.filter_backgroundcolor,
1619
- }}
1620
- >
1621
- {otherfilters.map((item, index) => {
1622
- return (
1623
- <div class="w-100">
1624
- {item.filterarray.map((valueitem, valueindex) => {
1625
- var ischecked = false;
1626
- if (item.payloadvalue == 'sortprice') {
1627
- if (valueitem.value == ProductFilterObjContext.sortprice) {
1628
- ischecked = true;
1629
- }
1630
- } else if (item.payloadvalue == 'sortdates') {
1631
- if (valueitem.value == ProductFilterObjContext.sortdates) {
1632
- ischecked = true;
1633
- }
1634
- }
1635
- return (
1636
- <p
1637
- class={filter_cssstyles.timeline_text + ' dropdownlink '}
1638
- style={{ color: ischecked ? sectionproperties.activecat_color : '' }}
1639
- onClick={() => {
1640
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
1641
- if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
1642
- tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
1643
- } else {
1644
- tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
1645
- }
1646
- tempfetchproductsfilerobjcontext.page = 0;
1647
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
1648
-
1649
- filterrouting(tempfetchproductsfilerobjcontext);
1650
- setsortbycontext(valueitem.name);
1651
- }}
1652
- >
1653
- {valueitem.name}
1654
- </p>
1655
- );
1656
- })}
1657
- </div>
1658
- );
1659
- })}
1660
- </div>
1661
- </div>
1662
- </div>
1663
- </div>
1664
- )}
1665
- {sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection == 'Horizontal' && (
1666
- <div class="row m-0 w-100">
1667
- {/* <div className="col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start mb-3">
1668
- <p className={langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'}>
1669
- {langdetect == 'en' ? sectionproperties.filtercollectiontitle_en : sectionproperties.filtercollectiontitle_ar}
1670
- </p>
1671
- </div> */}
1672
- <div class="col-lg-12 p-0 mb-4">
1673
- {/* filtercard */}
1674
- {/* here */}
1675
- <ScrollMenu transitionBehavior={'auto'} wrapperClassName={''} itemClassName={''} scrollContainerClassName={'scrollmenuclasssubscrollbar2'}>
1676
- {collectionstobevisible.map((item, index) => {
1677
- return (
1678
- <div className={' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100 mb-2 '}>
1679
- <div
1680
- className={`${filter_cssstyles.timeline_text} ${filter_cssstyles.filtercard}` + ' p-0 cursor-pointer '}
1681
- onClick={() => {
1682
- setCollectionFilterFunc(item.collectionid);
1683
- }}
1684
- style={{
1685
- color: item.isfilterselected == true ? sectionproperties.activecat_color : '',
1686
- }}
1687
- >
1688
- <div class="col-lg-12 allcentered mb-2">
1689
- <div
1690
- style={{
1691
- width: sectionproperties.filterimagewidthheight + '%',
1692
- height: sectionproperties.filterimagewidthheight + '%',
1693
- }}
1694
- >
1695
- <Imagekitimagecomp
1696
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
1697
- publicKey={ikimagecredcontext?.ikimagepublickey}
1698
- path={'/tr:w-' + sectionproperties.filterimage_tr + ',h-' + sectionproperties.filterimage_h + '/' + item.collectionlogo}
1699
- style={{
1700
- width: '100%',
1701
- height: '100%',
1702
- objectFit: 'cover',
1703
- borderRadius: sectionproperties.filterimageborderradius + 'px',
1704
- }}
1705
- loading="lazy"
1706
- />
1707
- </div>
1708
- </div>
1709
- <div class="row m-0 w-100">
1710
- <div class="col-10 text-start">
1711
- <p class={' m-0 p-0 '}>{langdetect == 'en' ? item.title_en : item.title_ar}</p>
1712
- </div>
1713
- <div class="col-2 text-end">
1714
- <i class="h-100 allcentered">{langdetect == 'en' ? <BsChevronRight /> : <BsChevronRight />}</i>
1715
- </div>
1716
- </div>
1717
- </div>
1718
- </div>
1719
- );
1720
- })}
1721
- </ScrollMenu>
1722
- </div>
1723
- {sectionproperties.showproductgroupbytitle == 'Show' && (
1724
- <div
1725
- class="col-lg-12 text-start px-4 mb-5"
1726
- style={{
1727
- fontSize: 15,
1728
- color: '#62554a',
1729
- }}
1730
- >
1731
- <span
1732
- class="cursor-pointer"
1733
- onClick={() => {
1734
- routingcountext('home', false, '');
1735
- }}
1736
- >
1737
- {'Home'} /{' '}
1738
- </span>{' '}
1739
- <span style={{ textTransform: 'capitalize' }} class="mx-2">
1740
- {props.show_product_group_titles()['title_en']}
1741
- </span>
1742
- </div>
1743
- )}
1744
- </div>
1745
- )}
1746
- {sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection == 'Vertical' && (
1747
- <div
1748
- className={`${filterstyles.filterslider_container}` + ' pb-md-5 '}
1749
- id="filterslider"
1750
- style={{
1751
- background: sectionproperties.filter_backgroundcolor,
1752
- borderRadius: sectionproperties.filter_borderBottomLeftRadius + 'px',
1753
- }}
1754
- >
1755
- <div className={filter_cssstyles.filteraccordion + ' row m-0 w-100 pt-2 pb-3 filter-accordion '}>
1756
- <div className="col-lg-9 col-md-9 col-sm-9 d-none align-items-center d-md-flex">
1757
- <p
1758
- className="m-0 p-0 font-16 font-weight-600"
1759
- style={{
1760
- color: sectionproperties.filter_titlecolor,
1761
- fontSize: sectionproperties.filter_titlefontsize + 'px',
1762
- fontWeight: sectionproperties.filter_titlefontweight,
1763
- textTransform: sectionproperties.filter_titletextransform,
1764
- }}
1765
- >
1766
- {langdetect == 'en' ? 'Filter' : 'فلترة'}
1767
- </p>
1768
- </div>
1769
- <div className="col-lg-3 col-md-3 col-sm-3 d-none d-md-flex align-items-center justify-content-end p-0">
1770
- <div
1771
- className={`${filterstyles.close_menu_icon_cont} ${filter_cssstyles.close_menu_icon_cont}` + ' d-none d-md-flex align-items-center justify-content-center '}
1772
- onClick={() => {
1773
- var element = document.getElementById('filterslider');
1774
- element.classList.remove(filterstyles.filterslider_container_opened);
1775
- }}
1776
- >
1777
- <i className="h-100 d-flex align-items-center justify-content-center">
1778
- <IoMdClose
1779
- size={sectionproperties.closeSlider_fontSize}
1780
- style={{
1781
- color: sectionproperties.closeSlider_color,
1782
- }}
1783
- />
1784
- </i>
1785
- </div>
1786
- </div>
1787
- {sectionproperties.otherfilters == 'Show' && (
1788
- <div class="row m-0 w-100">
1789
- <div class="col-lg-12 d-flex justify-content-start">
1790
- <p
1791
- className="m-0 p-0 font-16 font-weight-600"
1792
- style={{
1793
- color: sectionproperties.filter_titlecolor,
1794
- fontSize: sectionproperties.filter_titlefontsize + 'px',
1795
- fontWeight: sectionproperties.filter_titlefontweight,
1796
- textTransform: sectionproperties.filter_titletextransform,
1797
- }}
1798
- >
1799
- {langdetect == 'en' ? 'Sort By' : 'ترتيب حسب'}
1800
- </p>
1801
- </div>
1802
- <div className="col-lg-12">
1803
- <hr className="mt-2 mb-3" />
1804
- </div>
1805
- {otherfilters.map((item, index) => {
1806
- return (
1807
- <div className="col-lg-12 pl-4 pr-4">
1808
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true} preExpanded={[0, 1, 2, 3]} style={{ width: '100%' }}>
1809
- <AccordionItem uuid={index}>
1810
- <AccordionItemHeading>
1811
- <AccordionItemButton>
1812
- <div className={filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '}>
1813
- <div className="col-lg-10 col-md-10 col-sm-10 p-0">
1814
- <p
1815
- className={
1816
- langdetect == 'en'
1817
- ? filter_cssstyles.collapsetitle + ' m-0 p-0 collapsetitle '
1818
- : filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 text-right'
1819
- }
1820
- >
1821
- {item.name}
1822
- </p>
1823
- </div>
1824
- <div className="col-lg-2 col-md-2 col-sm-2 p-0">
1825
- <AccordionItemState>
1826
- {(state) => {
1827
- if (state.expanded == true) {
1828
- return (
1829
- <i
1830
- className={
1831
- filter_cssstyles.collapsetitle +
1832
- ' collapsetitle h-100 d-flex align-items-center justify-content-end '
1833
- }
1834
- >
1835
- <FiChevronUp />
1836
- </i>
1837
- );
1838
- } else {
1839
- return (
1840
- <i className={filter_cssstyles.collapsetitle + ' h-100 d-flex align-items-center justify-content-end '}>
1841
- <FiChevronDown />
1842
- </i>
1843
- );
1844
- }
1845
- }}
1846
- </AccordionItemState>
1847
- </div>
1848
- </div>
1849
- </AccordionItemButton>
1850
- </AccordionItemHeading>
1851
- <AccordionItemPanel className="p-0">
1852
- <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
1853
- <div className={'col-lg-12'}>
1854
- <div
1855
- className={
1856
- langdetect == 'en'
1857
- ? `${filterstyles.timeline}` + ' p-sm-0 '
1858
- : `${filterstyles.timeline} ${filterstyles.timelinetrans}` + ' p-sm-0 '
1859
- }
1860
- >
1861
- {item.filterarray.map((valueitem, valueindex) => {
1862
- var ischecked = false;
1863
- if (item.payloadvalue == 'sortprice') {
1864
- if (valueitem.value == ProductFilterObjContext.sortprice) {
1865
- ischecked = true;
1866
- }
1867
- } else if (item.payloadvalue == 'sortdates') {
1868
- if (valueitem.value == ProductFilterObjContext.sortdates) {
1869
- ischecked = true;
1870
- }
1871
- }
1872
- return (
1873
- <div
1874
- className={
1875
- `${filterstyles.border_left_line} ${filterstyles.timelineinnercont} ${filter_cssstyles.timelineinnercont}
1876
- ${ischecked ? `${filter_cssstyles.timelineinnercont_active} ${filterstyles.timelineinnercont_active}` : ''}
1877
-
1878
- ` + ' d-flex align-items-center pb-3 '
1879
- }
1880
- onClick={() => {
1881
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
1882
- if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
1883
- tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
1884
- } else {
1885
- tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
1886
- }
1887
- tempfetchproductsfilerobjcontext.page = 0;
1888
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
1889
-
1890
- filterrouting(tempfetchproductsfilerobjcontext);
1891
- }}
1892
- >
1893
- <div>
1894
- <div
1895
- className={
1896
- ` ${ischecked ? filter_cssstyles.btn_item_active : ''} ${filterstyles.btn_item} ${
1897
- filter_cssstyles.btn_item
1898
- }` + ' d-flex align-items-center '
1899
- }
1900
- >
1901
- <i className="h-100 d-flex align-items-center"></i>
1902
- </div>
1903
- </div>
1904
- <div className={langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'}>
1905
- <p
1906
- className={`${filterstyles.timeline_text} ${filter_cssstyles.timeline_text}` + ' m-0 p-0 '}
1907
- style={{
1908
- color: ischecked ? sectionproperties.activecat_color : '',
1909
- }}
1910
- >
1911
- {valueitem.name}
1912
- </p>
1913
- </div>
1914
- </div>
1915
- );
1916
- })}
1917
- </div>
1918
- </div>
1919
- </div>
1920
- </AccordionItemPanel>
1921
- </AccordionItem>
1922
- </Accordion>
1923
- </div>
1924
- );
1925
- })}
1926
- {sectionproperties.showfilterbyrating == 'Show' && (
1927
- <div className="col-lg-12 pl-4 pr-4">
1928
- <div className={filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '}>
1929
- <div className="col-lg-12 col-md-12 col-sm-12 p-0 mb-3">
1930
- <p
1931
- className={
1932
- langdetect == 'en'
1933
- ? filter_cssstyles.collapsetitle + ' m-0 p-0 collapsetitle '
1934
- : filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 text-right'
1935
- }
1936
- >
1937
- {langdetect == 'en' ? 'Ratings' : 'التقييمات'}
1938
- </p>
1939
- </div>
1940
- <div className="col-lg-12 col-md-12 col-sm-12 mb-4">
1941
- <InputRange
1942
- draggableTrack={true}
1943
- formatLabel={(value) => `${value}`}
1944
- maxValue={5}
1945
- minValue={0}
1946
- value={raterangevalue}
1947
- onChange={(value) => {
1948
- setraterangevalue({ ...value });
1949
- }}
1950
- />
1951
- </div>
1952
- </div>
1953
- </div>
1954
- )}
1955
- </div>
1956
- )}
1957
- <div className="col-lg-9 col-md-9 col-sm-9 d-flex align-items-center d-md-none">
1958
- <p
1959
- className="m-0 p-0 font-16 font-weight-600"
1960
- style={{
1961
- color: sectionproperties.filter_titlecolor,
1962
- fontSize: sectionproperties.filter_titlefontsize + 'px',
1963
- fontWeight: sectionproperties.filter_titlefontweight,
1964
- textTransform: sectionproperties.filter_titletextransform,
1965
- }}
1966
- >
1967
- {langdetect == 'en' ? 'Filter' : 'فلترة'}
1968
- </p>
1969
- </div>
1970
- <div className="col-lg-3 col-md-3 col-sm-3 d-flex d-md-none align-items-center justify-content-end p-0">
1971
- <div
1972
- className={`${filterstyles.close_menu_icon_cont} ${filter_cssstyles.close_menu_icon_cont}` + ' d-none d-md-flex align-items-center justify-content-center '}
1973
- onClick={() => {
1974
- var element = document.getElementById('filterslider');
1975
- element.classList.remove(filterstyles.filterslider_container_opened);
1976
- }}
1977
- >
1978
- <i className="h-100 d-flex align-items-center justify-content-center">
1979
- <IoMdClose
1980
- size={sectionproperties.closeSlider_fontSize}
1981
- style={{
1982
- color: sectionproperties.closeSlider_color,
1983
- }}
1984
- />
1985
- </i>
1986
- </div>
1987
- </div>
1988
- <div className="col-lg-12">
1989
- <hr className="mt-2 mb-3" />
1990
- </div>
1991
- <div className={filter_cssstyles.filteraccordion + ' col-lg-12 filter-accordion p-md-0 pl-4 pr-4 '}>
1992
- {sectionproperties.showcountriesfilter == 'Show' && Countriesfilter()}
1993
- {sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && <div class="row m-0 w-100">{CategoriesFilter()}</div>}
1994
- {sectionproperties.filterType == 'Collections' && sectionproperties.showcategoriesfilter == 'Show' && <div class="row m-0 w-100">{CollectionsFilter()}</div>}
1995
- {sectionproperties.showdynamicfilter == 'Show' && <div class="row m-0 w-100">{DynamicFilter()}</div>}
1996
- {sectionproperties.showvariantsfilter == 'Show' && InstFilters()}
1997
- </div>
1998
- </div>
1999
- </div>
2000
- )}
2001
- <div className="col-lg-12">
2002
- <Offcanvas
2003
- show={props?.openFilterSlider}
2004
- onHide={() => {
2005
- props.setopenFilterSlider(false);
2006
- }}
2007
- placement="end"
2008
- scroll={true}
2009
- style={{
2010
- minWidth: '200px',
2011
- background: sectionproperties.filter_backgroundcolor,
2012
- borderRadius: sectionproperties.filter_borderBottomLeftRadius + 'px',
2013
- }}
2014
- backdrop={true}
2015
- >
2016
- <Offcanvas.Header>
2017
- <Offcanvas.Title>
2018
- <div className="row m-0 w-100 mt-2">
2019
- <div className="col-lg-9 col-md-9 col-sm-9 d-none align-items-center d-md-flex">
2020
- <p
2021
- className="m-0 p-0 font-16 font-weight-600"
2022
- style={{
2023
- color: sectionproperties.filter_titlecolor,
2024
- fontSize: sectionproperties.filter_titlefontsize + 'px',
2025
- fontWeight: sectionproperties.filter_titlefontweight,
2026
- textTransform: sectionproperties.filter_titletextransform,
2027
- }}
2028
- >
2029
- {langdetect == 'en' ? 'Filter' : 'فلترة'}
2030
- </p>
2031
- </div>
2032
- <div className="col-lg-3 col-md-3 col-sm-3 d-none d-md-flex align-items-center justify-content-end p-0">
2033
- <div
2034
- className={
2035
- `${filterstyles.close_menu_icon_cont} ${filter_cssstyles.close_menu_icon_cont}` + ' d-none d-md-flex align-items-center justify-content-center '
2036
- }
2037
- onClick={() => {
2038
- props.setopenFilterSlider(false);
2039
- }}
2040
- >
2041
- <i className="h-100 d-flex align-items-center justify-content-center">
2042
- <IoMdClose
2043
- size={sectionproperties.closeSlider_fontSize}
2044
- style={{
2045
- color: sectionproperties.closeSlider_color,
2046
- }}
2047
- />
2048
- </i>
2049
- </div>
2050
- </div>
2051
- <div class="col-lg-12 p-0">
2052
- <hr class="mt-2 mb-2" />
2053
- </div>
2054
- </div>
2055
- </Offcanvas.Title>
2056
- </Offcanvas.Header>
2057
- <Offcanvas.Body>
2058
- <div
2059
- className={' pb-md-5 '}
2060
- style={{
2061
- background: sectionproperties.filter_backgroundcolor,
2062
- borderRadius: sectionproperties.filter_borderBottomLeftRadius + 'px',
2063
- }}
2064
- >
2065
- <div className={filter_cssstyles.filteraccordion + ' row m-0 w-100 pt-2 pb-3 filter-accordion '}>
2066
- {sectionproperties.otherfilters == 'Show' &&
2067
- otherfilters.map((item, index) => {
2068
- return (
2069
- <>
2070
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true} preExpanded={[0, 1, 2, 3]} style={{ width: '100%' }}>
2071
- <AccordionItem uuid={index}>
2072
- <AccordionItemHeading>
2073
- <AccordionItemButton>
2074
- <div className={filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '}>
2075
- <div className="col-lg-10 col-md-10 col-sm-10 p-0">
2076
- <p
2077
- className={
2078
- langdetect == 'en'
2079
- ? filter_cssstyles.collapsetitle + ' m-0 p-0 '
2080
- : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'
2081
- }
2082
- >
2083
- {item.name}
2084
- </p>
2085
- </div>
2086
- <div className="col-lg-2 col-md-2 col-sm-2 p-0">
2087
- <AccordionItemState>
2088
- {(state) => {
2089
- if (state.expanded == true) {
2090
- return (
2091
- <i
2092
- className={
2093
- filter_cssstyles.collapsetitle + ' h-100 d-flex align-items-center justify-content-end '
2094
- }
2095
- >
2096
- <FiChevronUp />
2097
- </i>
2098
- );
2099
- } else {
2100
- return (
2101
- <i
2102
- className={
2103
- filter_cssstyles.collapsetitle + ' h-100 d-flex align-items-center justify-content-end '
2104
- }
2105
- >
2106
- <FiChevronDown />
2107
- </i>
2108
- );
2109
- }
2110
- }}
2111
- </AccordionItemState>
2112
- </div>
2113
- </div>
2114
- </AccordionItemButton>
2115
- </AccordionItemHeading>
2116
- <AccordionItemPanel className="p-0">
2117
- <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
2118
- <div className={'col-lg-12'}>
2119
- <div
2120
- className={
2121
- langdetect == 'en'
2122
- ? `${filterstyles.timeline}` + ' p-sm-0 '
2123
- : `${filterstyles.timeline} ${filterstyles.timelinetrans}` + ' p-sm-0 '
2124
- }
2125
- >
2126
- {item.filterarray.map((valueitem, valueindex) => {
2127
- var ischecked = false;
2128
- if (item.payloadvalue == 'sortprice') {
2129
- if (valueitem.value == ProductFilterObjContext.sortprice) {
2130
- ischecked = true;
2131
- }
2132
- } else if (item.payloadvalue == 'sortdates') {
2133
- if (valueitem.value == ProductFilterObjContext.sortdates) {
2134
- ischecked = true;
2135
- }
2136
- }
2137
- return (
2138
- <div
2139
- className={
2140
- `${filterstyles.border_left_line} ${filterstyles.timelineinnercont} ${
2141
- filter_cssstyles.timelineinnercont
2142
- }
2143
- ${ischecked ? `${filter_cssstyles.timelineinnercont_active} ${filterstyles.timelineinnercont_active}` : ''}
2144
-
2145
- ` + ' d-flex align-items-center pb-3 '
2146
- }
2147
- onClick={() => {
2148
- // setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
2149
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
2150
- if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
2151
- tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
2152
- } else {
2153
- tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
2154
- }
2155
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
2156
- }}
2157
- >
2158
- <div>
2159
- <div
2160
- className={
2161
- ` ${ischecked ? filter_cssstyles.btn_item_active : ''} ${filterstyles.btn_item} ${
2162
- filter_cssstyles.btn_item
2163
- }` + ' d-flex align-items-center '
2164
- }
2165
- >
2166
- <i className="h-100 d-flex align-items-center"></i>
2167
- </div>
2168
- </div>
2169
- <div className={langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'}>
2170
- <p
2171
- className={`${filterstyles.timeline_text} ${filter_cssstyles.timeline_text}` + ' m-0 p-0 '}
2172
- style={{
2173
- color: ischecked ? sectionproperties.activecat_color : '',
2174
- }}
2175
- >
2176
- {valueitem.name}
2177
- </p>
2178
- </div>
2179
- </div>
2180
- );
2181
- })}
2182
- </div>
2183
- </div>
2184
- </div>
2185
- </AccordionItemPanel>
2186
- </AccordionItem>
2187
- </Accordion>
2188
- {/* <hr className="mt-3 mb-3" /> */}
2189
- </>
2190
- );
2191
- })}
2192
- {sectionproperties.otherfilters == 'Show' && (
2193
- <div className="col-lg-12 p-0">
2194
- <hr className="mt-2 mb-3" />
2195
- </div>
2196
- )}
2197
- <div className={filter_cssstyles.filteraccordion + ' col-lg-12 filter-accordion p-md-0 '}>
2198
- {sectionproperties.showcountriesfilter == 'Show' && Countriesfilter()}
2199
- {sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && <div class="row m-0 w-100">{CategoriesFilter()}</div>}
2200
- {sectionproperties.filterType == 'Collections' && sectionproperties.showcategoriesfilter == 'Show' && (
2201
- <div class="row m-0 w-100">{CollectionsFilter()}</div>
2202
- )}
2203
- {sectionproperties.showdynamicfilter == 'Show' && <div class="row m-0 w-100">{DynamicFilter()}</div>}
2204
- {sectionproperties.showvariantsfilter == 'Show' && InstFilters()}
2205
- </div>
2206
- </div>
2207
- </div>
2208
- </Offcanvas.Body>
2209
- </Offcanvas>
2210
- </div>
2211
- </div>
2212
- )}
2213
-
2214
- {props.typeprops == 'vertical' && (
2215
- <div className={'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none'}>
2216
- <div
2217
- className={`${filterstyles.filterslider_container}` + ' pb-md-5 '}
2218
- id="filterslider"
2219
- style={{
2220
- background: sectionproperties.filter_backgroundcolor,
2221
- borderRadius: sectionproperties.filter_borderBottomLeftRadius + 'px',
2222
- }}
2223
- >
2224
- <div className={filter_cssstyles.filteraccordion + ' row m-0 w-100 pt-2 pb-3 filter-accordion '}>
2225
- <div className="col-lg-9 col-md-9 col-sm-9 d-none align-items-center d-md-flex">
2226
- <p
2227
- className="m-0 p-0 font-16 font-weight-600"
2228
- style={{
2229
- color: sectionproperties.filter_titlecolor,
2230
- fontSize: sectionproperties.filter_titlefontsize + 'px',
2231
- fontWeight: sectionproperties.filter_titlefontweight,
2232
- textTransform: sectionproperties.filter_titletextransform,
2233
- }}
2234
- >
2235
- {langdetect == 'en' ? 'Filter' : 'فلترة'}
2236
- </p>
2237
- </div>
2238
- <div className="col-lg-3 col-md-3 col-sm-3 d-none d-md-flex align-items-center justify-content-end p-0">
2239
- <div
2240
- className={`${filterstyles.close_menu_icon_cont} ${filter_cssstyles.close_menu_icon_cont}` + ' d-none d-md-flex align-items-center justify-content-center '}
2241
- onClick={() => {
2242
- var element = document.getElementById('filterslider');
2243
- element.classList.remove(filterstyles.filterslider_container_opened);
2244
- }}
2245
- >
2246
- <i className="h-100 d-flex align-items-center justify-content-center">
2247
- <IoMdClose
2248
- size={sectionproperties.closeSlider_fontSize}
2249
- style={{
2250
- color: sectionproperties.closeSlider_color,
2251
- }}
2252
- />
2253
- </i>
2254
- </div>
2255
- </div>
2256
- {/* {sectionproperties.otherfilters == 'Show' && (
2257
- <div class="row m-0 w-100">
2258
- <div class="col-lg-12 d-flex justify-content-start">
2259
- <p
2260
- className="m-0 p-0 font-16 font-weight-600"
2261
- style={{
2262
- color: sectionproperties.filter_titlecolor,
2263
- fontSize: sectionproperties.filter_titlefontsize + 'px',
2264
- fontWeight: sectionproperties.filter_titlefontweight,
2265
- textTransform: sectionproperties.filter_titletextransform,
2266
- }}
2267
- >
2268
- {langdetect == 'en' ? 'Sort By' : 'ترتيب حسب'}
2269
- </p>
2270
- </div>
2271
- <div className="col-lg-12">
2272
- <hr className="mt-2 mb-3" />
2273
- </div>
2274
- {otherfilters.map((item, index) => {
2275
- return (
2276
- <div className="col-lg-12 pl-4 pr-4">
2277
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true} preExpanded={[0, 1, 2, 3]} style={{ width: '100%' }}>
2278
- <AccordionItem uuid={index}>
2279
- <AccordionItemHeading>
2280
- <AccordionItemButton>
2281
- <div className={filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '}>
2282
- <div className="col-lg-10 col-md-10 col-sm-10 p-0">
2283
- <p
2284
- className={
2285
- langdetect == 'en'
2286
- ? filter_cssstyles.collapsetitle + ' m-0 p-0 collapsetitle '
2287
- : filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 text-right'
2288
- }
2289
- >
2290
- {item.name}
2291
- </p>
2292
- </div>
2293
- <div className="col-lg-2 col-md-2 col-sm-2 p-0">
2294
- <AccordionItemState>
2295
- {(state) => {
2296
- if (state.expanded == true) {
2297
- return (
2298
- <i
2299
- className={
2300
- filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
2301
- }
2302
- >
2303
- <FiChevronDown />
2304
- </i>
2305
- );
2306
- } else {
2307
- return (
2308
- <i className={filter_cssstyles.collapsetitle + ' h-100 d-flex align-items-center justify-content-end '}>
2309
- <FiChevronUp />
2310
- </i>
2311
- );
2312
- }
2313
- }}
2314
- </AccordionItemState>
2315
- </div>
2316
- </div>
2317
- </AccordionItemButton>
2318
- </AccordionItemHeading>
2319
- <AccordionItemPanel className="p-0">
2320
- <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
2321
- <div className={'col-lg-12'}>
2322
- <div
2323
- className={
2324
- langdetect == 'en'
2325
- ? `${filterstyles.timeline}` + ' p-sm-0 '
2326
- : `${filterstyles.timeline} ${filterstyles.timelinetrans}` + ' p-sm-0 '
2327
- }
2328
- >
2329
- {item.filterarray.map((valueitem, valueindex) => {
2330
- var ischecked = false;
2331
- if (item.payloadvalue == 'sortprice') {
2332
- if (valueitem.value == ProductFilterObjContext.sortprice) {
2333
- ischecked = true;
2334
- }
2335
- } else if (item.payloadvalue == 'sortdates') {
2336
- if (valueitem.value == ProductFilterObjContext.sortdates) {
2337
- ischecked = true;
2338
- }
2339
- }
2340
- return (
2341
- <div
2342
- className={
2343
- `${filterstyles.border_left_line} ${filterstyles.timelineinnercont} ${filter_cssstyles.timelineinnercont}
2344
- ${ischecked ? `${filter_cssstyles.timelineinnercont_active} ${filterstyles.timelineinnercont_active}` : ''}
2345
-
2346
- ` + ' d-flex align-items-center pb-3 '
2347
- }
2348
- onClick={() => {
2349
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
2350
- if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
2351
- tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
2352
- } else {
2353
- tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
2354
- }
2355
- tempfetchproductsfilerobjcontext.page = 0;
2356
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
2357
-
2358
- filterrouting(tempfetchproductsfilerobjcontext);
2359
- }}
2360
- >
2361
- <div>
2362
- <div
2363
- className={
2364
- ` ${ischecked ? filter_cssstyles.btn_item_active : ''} ${filterstyles.btn_item} ${
2365
- filter_cssstyles.btn_item
2366
- }` + ' mb-2 d-flex align-items-center '
2367
- }
2368
- >
2369
- <i className="h-100 d-flex align-items-center"></i>
2370
- </div>
2371
- </div>
2372
- <div className={langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'}>
2373
- <p
2374
- className={`${filterstyles.timeline_text} ${filter_cssstyles.timeline_text}` + ' m-0 p-0 '}
2375
- style={{
2376
- color: ischecked ? sectionproperties.activecat_color : '',
2377
- }}
2378
- >
2379
- {valueitem.name}
2380
- </p>
2381
- </div>
2382
- </div>
2383
- );
2384
- })}
2385
- </div>
2386
- </div>
2387
- </div>
2388
- </AccordionItemPanel>
2389
- </AccordionItem>
2390
- </Accordion>
2391
- </div>
2392
- );
2393
- })}
2394
- {sectionproperties.showfilterbyrating == 'Show' && (
2395
- <div className="col-lg-12 pl-4 pr-4">
2396
- <div className={filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '}>
2397
- <div className="col-lg-12 col-md-12 col-sm-12 p-0 mb-3">
2398
- <p
2399
- className={
2400
- langdetect == 'en'
2401
- ? filter_cssstyles.collapsetitle + ' m-0 p-0 collapsetitle '
2402
- : filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 text-right'
2403
- }
2404
- >
2405
- {langdetect == 'en' ? 'Ratings' : 'التقييمات'}
2406
- </p>
2407
- </div>
2408
- <div className="col-lg-12 col-md-12 col-sm-12 mb-4">
2409
- <InputRange
2410
- draggableTrack={true}
2411
- formatLabel={(value) => `${value}`}
2412
- maxValue={5}
2413
- minValue={0}
2414
- value={raterangevalue}
2415
- onChange={(value) => {
2416
- setraterangevalue({ ...value });
2417
- }}
2418
- />
2419
- </div>
2420
- </div>
2421
- </div>
2422
- )}
2423
- </div>
2424
- )} */}
2425
-
2426
- <div className={filter_cssstyles.filteraccordion + ' col-lg-12 filter-accordion p-md-0 pl-4 pr-4 '}>
2427
- {sectionproperties.showcountriesfilter == 'Show' && Countriesfilter()}
2428
- {sectionproperties.showvariantsfilter == 'Show' && InstFilters()}
2429
- {sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && <div class="row m-0 w-100 mb-3">{CategoriesFilter()}</div>}
2430
- {sectionproperties.filterType == 'Collections' && sectionproperties.showcategoriesfilter == 'Show' && <div class="row m-0 w-100 mb-3">{CollectionsFilter()}</div>}
2431
- {sectionproperties.showdynamicfilter == 'Show' && <div class="row m-0 w-100 mb-3">{DynamicFilter()}</div>}
2432
- </div>
2433
- </div>
2434
- </div>
2435
-
2436
- <div className="col-lg-12">
2437
- <Offcanvas
2438
- show={props?.openFilterSlider}
2439
- onHide={() => {
2440
- props.setopenFilterSlider(false);
2441
- }}
2442
- placement="end"
2443
- scroll={true}
2444
- style={{
2445
- minWidth: '200px',
2446
- background: sectionproperties.filter_backgroundcolor,
2447
- borderRadius: sectionproperties.filter_borderBottomLeftRadius + 'px',
2448
- }}
2449
- backdrop={true}
2450
- >
2451
- <Offcanvas.Header>
2452
- <Offcanvas.Title>
2453
- {langdetect == 'en' && (
2454
- <div
2455
- class="allcentered"
2456
- style={{
2457
- position: 'absolute',
2458
- left: -34,
2459
- top: 5,
2460
- width: 30,
2461
- height: 30,
2462
- background: '#000',
2463
- }}
2464
- onClick={() => {
2465
- props.setopenFilterSlider(false);
2466
- }}
2467
- >
2468
- <IoMdClose color={'#fff'} size={16} />
2469
- </div>
2470
- )}
2471
- {langdetect == 'ar' && (
2472
- <div
2473
- class="allcentered"
2474
- style={{
2475
- position: 'absolute',
2476
- right: -34,
2477
- top: 5,
2478
- width: 30,
2479
- height: 30,
2480
- background: '#000',
2481
- }}
2482
- onClick={() => {
2483
- props.setopenFilterSlider(false);
2484
- }}
2485
- >
2486
- <IoMdClose color={'#fff'} size={16} />
2487
- </div>
2488
- )}
2489
- <div className="row m-0 w-100 mt-2">
2490
- <div className="col-12 d-none justify-content-center align-items-center d-md-flex my-2">
2491
- <p
2492
- className="m-0 p-0 font-16 font-weight-600"
2493
- style={{
2494
- color: sectionproperties.filter_titlecolor,
2495
- fontSize: sectionproperties.filter_titlefontsize + 'px',
2496
- fontWeight: sectionproperties.filter_titlefontweight,
2497
- textTransform: sectionproperties.filter_titletextransform,
2498
- }}
2499
- >
2500
- {langdetect == 'en' ? 'Filter & Sort' : 'فلترة'}
2501
- </p>
2502
- </div>
2503
- {/* <div className="col-lg-3 col-md-3 col-sm-3 d-none d-md-flex align-items-center justify-content-end p-0">
2504
- <div
2505
- className={
2506
- `${filterstyles.close_menu_icon_cont} ${filter_cssstyles.close_menu_icon_cont}` + ' d-none d-md-flex align-items-center justify-content-center '
2507
- }
2508
- onClick={() => {
2509
- props.setopenFilterSlider(false);
2510
- }}
2511
- >
2512
- <i className="h-100 d-flex align-items-center justify-content-center">
2513
- <IoMdClose
2514
- size={sectionproperties.closeSlider_fontSize}
2515
- style={{
2516
- color: sectionproperties.closeSlider_color,
2517
- }}
2518
- />
2519
- </i>
2520
- </div>
2521
- </div> */}
2522
- <div class="col-lg-12 p-0">
2523
- <hr class="mt-2 mb-2" />
2524
- </div>
2525
- </div>
2526
- </Offcanvas.Title>
2527
- </Offcanvas.Header>
2528
- <Offcanvas.Body>
2529
- <div
2530
- className={' pb-md-5 '}
2531
- style={{
2532
- background: sectionproperties.filter_backgroundcolor,
2533
- borderRadius: sectionproperties.filter_borderBottomLeftRadius + 'px',
2534
- }}
2535
- >
2536
- <div className={filter_cssstyles.filteraccordion + ' row m-0 w-100 pt-2 pb-3 filter-accordion '}>
2537
- {/* {sectionproperties.otherfilters == 'Show' &&
2538
- otherfilters.map((item, index) => {
2539
- return (
2540
- <> */}
2541
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true} preExpanded={[0, 1, 2, 3]} style={{ width: '100%' }}>
2542
- <AccordionItem uuid={0}>
2543
- <AccordionItemHeading>
2544
- <AccordionItemButton>
2545
- <div className={filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '}>
2546
- <div className="col-lg-10 col-md-10 col-sm-10 p-0">
2547
- <p
2548
- className={
2549
- langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'
2550
- }
2551
- >
2552
- {lang.sortby}
2553
- </p>
2554
- </div>
2555
- <div className="col-lg-2 col-md-2 col-sm-2 p-0">
2556
- <AccordionItemState>
2557
- {(state) => {
2558
- if (state.expanded == true) {
2559
- return (
2560
- <i className={filter_cssstyles.collapsetitle + ' h-100 d-flex align-items-center justify-content-end '}>
2561
- <FiChevronUp />
2562
- </i>
2563
- );
2564
- } else {
2565
- return (
2566
- <i className={filter_cssstyles.collapsetitle + ' h-100 d-flex align-items-center justify-content-end '}>
2567
- <FiChevronDown />
2568
- </i>
2569
- );
2570
- }
2571
- }}
2572
- </AccordionItemState>
2573
- </div>
2574
- </div>
2575
- </AccordionItemButton>
2576
- </AccordionItemHeading>
2577
- <AccordionItemPanel className="p-0">
2578
- <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
2579
- <div className={'col-lg-12'}>
2580
- <div
2581
- className={
2582
- langdetect == 'en' ? `${filterstyles.timeline}` + ' p-sm-0 ' : `${filterstyles.timeline} ${filterstyles.timelinetrans}` + ' p-sm-0 '
2583
- }
2584
- >
2585
- {otherfilters.map((item, index) => {
2586
- return (
2587
- <div class="w-100 px-3">
2588
- {item.filterarray.map((valueitem, valueindex) => {
2589
- var ischecked = false;
2590
- if (item.payloadvalue == 'sortprice') {
2591
- if (valueitem.value == ProductFilterObjContext.sortprice) {
2592
- ischecked = true;
2593
- }
2594
- } else if (item.payloadvalue == 'sortdates') {
2595
- if (valueitem.value == ProductFilterObjContext.sortdates) {
2596
- ischecked = true;
2597
- }
2598
- }
2599
- return (
2600
- <div
2601
- className={
2602
- `${filterstyles.border_left_line} ${filterstyles.timelineinnercont} ${filter_cssstyles.timelineinnercont}
2603
- ${
2604
- ischecked
2605
- ? `${filter_cssstyles.timelineinnercont_active} ${filterstyles.timelineinnercont_active}`
2606
- : ''
2607
- }
2608
- ` + ' d-flex align-items-center pb-3 '
2609
- }
2610
- onClick={() => {
2611
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
2612
- if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
2613
- tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
2614
- } else {
2615
- tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
2616
- }
2617
- tempfetchproductsfilerobjcontext.page = 0;
2618
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
2619
-
2620
- filterrouting(tempfetchproductsfilerobjcontext);
2621
- setsortbycontext(valueitem.name);
2622
- }}
2623
- >
2624
- <div
2625
- className={
2626
- ` ${ischecked ? filter_cssstyles.btn_item_active : ''} ${filterstyles.btn_item} ${
2627
- filter_cssstyles.btn_item
2628
- }` + ' d-flex align-items-center '
2629
- }
2630
- >
2631
- <i className="h-100 d-flex align-items-center"></i>
2632
- </div>
2633
- <div className={langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'}>
2634
- <p
2635
- className={`${filterstyles.timeline_text} ${filter_cssstyles.timeline_text}` + ' m-0 p-0 '}
2636
- style={{
2637
- color: ischecked ? sectionproperties.activecat_color : '',
2638
- }}
2639
- >
2640
- {valueitem.name}
2641
- </p>
2642
- </div>
2643
- </div>
2644
- );
2645
- })}
2646
- </div>
2647
- );
2648
- })}
2649
- {/* {item.filterarray.map((valueitem, valueindex) => {
2650
- var ischecked = false;
2651
- if (item.payloadvalue == 'sortprice') {
2652
- if (valueitem.value == ProductFilterObjContext.sortprice) {
2653
- ischecked = true;
2654
- }
2655
- } else if (item.payloadvalue == 'sortdates') {
2656
- if (valueitem.value == ProductFilterObjContext.sortdates) {
2657
- ischecked = true;
2658
- }
2659
- }
2660
- return (
2661
- <div
2662
- className={
2663
- `${filterstyles.border_left_line} ${filterstyles.timelineinnercont} ${
2664
- filter_cssstyles.timelineinnercont
2665
- }
2666
- ${ischecked ? `${filter_cssstyles.timelineinnercont_active} ${filterstyles.timelineinnercont_active}` : ''}
2667
-
2668
- ` + ' d-flex align-items-center pb-3 '
2669
- }
2670
- onClick={() => {
2671
- // setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
2672
- var tempfetchproductsfilerobjcontext = { ...ProductFilterObjContext };
2673
- if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
2674
- tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
2675
- } else {
2676
- tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
2677
- }
2678
- setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
2679
- }}
2680
- >
2681
- <div>
2682
- <div
2683
- className={
2684
- ` ${ischecked ? filter_cssstyles.btn_item_active : ''} ${filterstyles.btn_item} ${
2685
- filter_cssstyles.btn_item
2686
- }` + ' mb-2 d-flex align-items-center '
2687
- }
2688
- >
2689
- <i className="h-100 d-flex align-items-center"></i>
2690
- </div>
2691
- </div>
2692
- <div className={langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'}>
2693
- <p
2694
- className={`${filterstyles.timeline_text} ${filter_cssstyles.timeline_text}` + ' m-0 p-0 '}
2695
- style={{
2696
- color: ischecked ? sectionproperties.activecat_color : '',
2697
- }}
2698
- >
2699
- {valueitem.name}
2700
- </p>
2701
- </div>
2702
- </div>
2703
- );
2704
- })} */}
2705
- </div>
2706
- </div>
2707
- </div>
2708
- </AccordionItemPanel>
2709
- </AccordionItem>
2710
- </Accordion>
2711
- {/* <hr className="mt-3 mb-3" /> */}
2712
- {/* </>
2713
- );
2714
- })} */}
2715
- {sectionproperties.otherfilters == 'Show' && (
2716
- <div className="col-lg-12 p-0">
2717
- <hr className="mt-2 mb-3" />
2718
- </div>
2719
- )}
2720
- <div className={filter_cssstyles.filteraccordion + ' col-lg-12 filter-accordion p-md-0 '}>
2721
- {sectionproperties.showcountriesfilter == 'Show' && Countriesfilter()}
2722
- {sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && <div class="row m-0 w-100">{CategoriesFilter()}</div>}
2723
- {sectionproperties.filterType == 'Collections' && sectionproperties.showcategoriesfilter == 'Show' && (
2724
- <div class="row m-0 w-100">
2725
- {CollectionsFilter()}
2726
- <div className="col-lg-12 p-0">
2727
- <hr className="mt-2 mb-3" />
2728
- </div>
2729
- </div>
2730
- )}
2731
- {sectionproperties.showdynamicfilter == 'Show' && (
2732
- <div class="row m-0 w-100">
2733
- {DynamicFilter()}
2734
- <div className="col-lg-12 p-0">
2735
- <hr className="mt-2 mb-3" />
2736
- </div>
2737
- </div>
2738
- )}
2739
- {sectionproperties.showvariantsfilter == 'Show' && (
2740
- <div class="row m-0 w-100">
2741
- {InstFilters()}
2742
- <div className="col-lg-12 p-0">
2743
- <hr className="mt-2 mb-3" />
2744
- </div>
2745
- </div>
2746
- )}
2747
- </div>
2748
- </div>
2749
- </div>
2750
- </Offcanvas.Body>
2751
- </Offcanvas>
2752
- </div>
2753
- </div>
2754
- )}
2755
- </div>
2756
- );
2757
- };
2758
- export default Filter;