tabexseriescomponents 0.0.217 → 0.0.220

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (255) hide show
  1. package/dist/index.cjs.js +1044 -780
  2. package/dist/index.esm.js +1044 -780
  3. package/dist/index.umd.js +1042 -778
  4. package/library.zip +0 -0
  5. package/package.json +2 -1
  6. package/srcold/Contexts/LanguageContext.jsx +390 -0
  7. package/srcold/Contexts/ProductsCardsSectionContext.jsx +34 -0
  8. package/srcold/StylesJS/Customstyles.js +236 -0
  9. package/srcold/TabexComponents/Cards/Card20/Card20.jsx +282 -0
  10. package/srcold/TabexComponents/Cards/Card21/Card21.jsx +388 -0
  11. package/srcold/TabexComponents/Cards/Card22/Card22.jsx +287 -0
  12. package/srcold/TabexComponents/Cards/Card23/Card23.jsx +403 -0
  13. package/srcold/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +395 -0
  14. package/srcold/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
  15. package/srcold/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
  16. package/srcold/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +220 -0
  17. package/srcold/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +230 -0
  18. package/srcold/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +198 -0
  19. package/srcold/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +170 -0
  20. package/srcold/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +181 -0
  21. package/srcold/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
  22. package/srcold/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +180 -0
  23. package/srcold/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +487 -0
  24. package/srcold/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +123 -0
  25. package/srcold/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +192 -0
  26. package/srcold/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +270 -0
  27. package/srcold/TabexComponents/Cards/MenuCard/MenuCard.jsx +543 -0
  28. package/srcold/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +467 -0
  29. package/srcold/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +469 -0
  30. package/srcold/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +445 -0
  31. package/srcold/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
  32. package/srcold/TabexComponents/Cards/Productcard6/Productcard6.jsx +256 -0
  33. package/srcold/TabexComponents/Cards/Productcard7/Productcard7.jsx +278 -0
  34. package/srcold/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +443 -0
  35. package/srcold/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +275 -0
  36. package/srcold/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
  37. package/srcold/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +301 -0
  38. package/srcold/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +419 -0
  39. package/srcold/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +524 -0
  40. package/srcold/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
  41. package/srcold/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
  42. package/srcold/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +136 -0
  43. package/srcold/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +179 -0
  44. package/srcold/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +291 -0
  45. package/srcold/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +339 -0
  46. package/srcold/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +338 -0
  47. package/srcold/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +515 -0
  48. package/srcold/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +184 -0
  49. package/srcold/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +475 -0
  50. package/srcold/TabexComponents/Footer/Footer1/Footer1.jsx +448 -0
  51. package/srcold/TabexComponents/Footer/Footer2/Footer2.jsx +383 -0
  52. package/srcold/TabexComponents/Footer/Footer3/Footer3.jsx +394 -0
  53. package/srcold/TabexComponents/Footer/Footer4/Footer4.jsx +699 -0
  54. package/srcold/TabexComponents/Footer/Footer5/Footer5.jsx +523 -0
  55. package/srcold/TabexComponents/Footer/Footer6/Footer6.jsx +301 -0
  56. package/srcold/TabexComponents/Footer/Footer7/Footer7.jsx +415 -0
  57. package/srcold/TabexComponents/Footer/Footer8/Footer8.jsx +454 -0
  58. package/srcold/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +329 -0
  59. package/srcold/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +274 -0
  60. package/srcold/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  61. package/srcold/TabexComponents/Generalfiles/images/noimage.png +0 -0
  62. package/srcold/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  63. package/srcold/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  64. package/srcold/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  65. package/srcold/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  66. package/srcold/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  67. package/srcold/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  68. package/srcold/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  69. package/srcold/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  70. package/srcold/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  71. package/srcold/TabexComponents/Generalfiles/images/usflag.png +0 -0
  72. package/srcold/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  73. package/srcold/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +880 -0
  74. package/srcold/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +870 -0
  75. package/srcold/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +688 -0
  76. package/srcold/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +720 -0
  77. package/srcold/TabexComponents/Headers/Header4/Header4.jsx +621 -0
  78. package/srcold/TabexComponents/Headers/Header8/Header8.jsx +824 -0
  79. package/srcold/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +730 -0
  80. package/srcold/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +762 -0
  81. package/srcold/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +706 -0
  82. package/srcold/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +900 -0
  83. package/srcold/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +841 -0
  84. package/srcold/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +988 -0
  85. package/srcold/TabexComponents/Headers/Headerresponsive/HeaderresponsiveNew.jsx +1081 -0
  86. package/srcold/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +988 -0
  87. package/srcold/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +917 -0
  88. package/srcold/TabexComponents/Headers/Modernheader/Modernheader.jsx +693 -0
  89. package/srcold/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +952 -0
  90. package/srcold/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +636 -0
  91. package/srcold/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +853 -0
  92. package/srcold/TabexComponents/Headers/Subheader/Subheader copy.jsx +373 -0
  93. package/srcold/TabexComponents/Headers/Subheader/Subheader.jsx +515 -0
  94. package/srcold/TabexComponents/Headers/Subheader/SubheaderDropdown.jsx +190 -0
  95. package/srcold/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +483 -0
  96. package/srcold/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1005 -0
  97. package/srcold/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1020 -0
  98. package/srcold/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader .jsx +843 -0
  99. package/srcold/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +448 -0
  100. package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +346 -0
  101. package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +304 -0
  102. package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +301 -0
  103. package/srcold/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +312 -0
  104. package/srcold/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +271 -0
  105. package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +174 -0
  106. package/srcold/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +200 -0
  107. package/srcold/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +263 -0
  108. package/srcold/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +143 -0
  109. package/srcold/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +248 -0
  110. package/srcold/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +295 -0
  111. package/srcold/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +394 -0
  112. package/srcold/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +406 -0
  113. package/srcold/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +246 -0
  114. package/srcold/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1220 -0
  115. package/srcold/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +480 -0
  116. package/srcold/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +718 -0
  117. package/srcold/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
  118. package/srcold/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +652 -0
  119. package/srcold/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +635 -0
  120. package/srcold/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +495 -0
  121. package/srcold/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
  122. package/srcold/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +250 -0
  123. package/srcold/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +160 -0
  124. package/srcold/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +256 -0
  125. package/srcold/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +329 -0
  126. package/srcold/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +266 -0
  127. package/srcold/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +371 -0
  128. package/srcold/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +140 -0
  129. package/srcold/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +374 -0
  130. package/srcold/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +339 -0
  131. package/srcold/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +303 -0
  132. package/srcold/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +224 -0
  133. package/srcold/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +147 -0
  134. package/srcold/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +139 -0
  135. package/srcold/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
  136. package/srcold/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +324 -0
  137. package/srcold/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +525 -0
  138. package/srcold/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +569 -0
  139. package/srcold/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +475 -0
  140. package/srcold/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.js +91 -0
  141. package/srcold/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +369 -0
  142. package/srcold/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +392 -0
  143. package/srcold/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +213 -0
  144. package/srcold/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +467 -0
  145. package/srcold/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +181 -0
  146. package/srcold/TabexComponents/StaticPages/Checkout/Checkout.jsx +1280 -0
  147. package/srcold/TabexComponents/StaticPages/Filter/Filter copy.jsx +1392 -0
  148. package/srcold/TabexComponents/StaticPages/Filter/Filter.jsx +1399 -0
  149. package/srcold/TabexComponents/StaticPages/Filter/FilterOriginal.jsx +1132 -0
  150. package/srcold/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +60 -0
  151. package/srcold/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
  152. package/srcold/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
  153. package/srcold/TabexComponents/StaticPages/Login/Login.jsx +469 -0
  154. package/srcold/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +143 -0
  155. package/srcold/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1329 -0
  156. package/srcold/TabexComponents/StaticPages/Policies/Policies.jsx +306 -0
  157. package/srcold/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +1334 -0
  158. package/srcold/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +715 -0
  159. package/srcold/TabexComponents/StaticPages/Productinfo/Service_itemtype copy.jsx +361 -0
  160. package/srcold/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +361 -0
  161. package/srcold/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +501 -0
  162. package/srcold/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
  163. package/srcold/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +227 -0
  164. package/srcold/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +832 -0
  165. package/srcold/TabexComponents/StaticPages/Signup/Signup.jsx +154 -0
  166. package/srcold/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +280 -0
  167. package/srcold/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +671 -0
  168. package/srcold/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +538 -0
  169. package/srcold/assets/images/appstore.png +0 -0
  170. package/srcold/assets/images/cod.png +0 -0
  171. package/srcold/assets/images/egyptflag.png +0 -0
  172. package/srcold/assets/images/fawry.png +0 -0
  173. package/srcold/assets/images/googleplay.png +0 -0
  174. package/srcold/assets/images/ksa.png +0 -0
  175. package/srcold/assets/images/mastercard.png +0 -0
  176. package/srcold/assets/images/payment.png +0 -0
  177. package/srcold/assets/images/paymob.png +0 -0
  178. package/srcold/assets/images/paypal.png +0 -0
  179. package/srcold/assets/images/shoppingcart.png +0 -0
  180. package/srcold/assets/images/usflag.png +0 -0
  181. package/srcold/assets/images/visa.png +0 -0
  182. package/srcold/assets/images/whatsapp.png +0 -0
  183. package/srcold/button.jsx +40 -0
  184. package/srcold/index.jsx +283 -0
  185. package/srcold/styles/Home.module.css +129 -0
  186. package/srcold/styles/cards/Categorcycard_fullimage.module.css +10 -0
  187. package/srcold/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
  188. package/srcold/styles/cards/Categorycard_withshapes.module.css +189 -0
  189. package/srcold/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
  190. package/srcold/styles/cards/Productcard6.module.css +9 -0
  191. package/srcold/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
  192. package/srcold/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
  193. package/srcold/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
  194. package/srcold/styles/cards/categorycard.module.css +85 -0
  195. package/srcold/styles/cards/categorycard3.module.css +50 -0
  196. package/srcold/styles/cards/categorycardwithtext.module.css +40 -0
  197. package/srcold/styles/cards/productcard_animatedbuttons.module.css +130 -0
  198. package/srcold/styles/cards/productcard_with_textonhover.module.css +18 -0
  199. package/srcold/styles/cards/productcard_withtextonimage.module.css +0 -0
  200. package/srcold/styles/cards/productccard_with_imageontopleft.module.css +85 -0
  201. package/srcold/styles/general/bootstrap.css +4727 -0
  202. package/srcold/styles/general/dropdown.css +206 -0
  203. package/srcold/styles/general/editorbardropdown.module.css +94 -0
  204. package/srcold/styles/general/filter.module.css +108 -0
  205. package/srcold/styles/general/form.module.css +273 -0
  206. package/srcold/styles/general/general.module.css +872 -0
  207. package/srcold/styles/general/image-gallery.css +531 -0
  208. package/srcold/styles/general/react-accessible-accordion.module.css +52 -0
  209. package/srcold/styles/general/react-phone-input-2.module.css +927 -0
  210. package/srcold/styles/general/scrollbtn.module.css +22 -0
  211. package/srcold/styles/general/slick.module.css +166 -0
  212. package/srcold/styles/general/tabs.module.css +119 -0
  213. package/srcold/styles/general/workplaceeditor.module.css +328 -0
  214. package/srcold/styles/globals.css +26 -0
  215. package/srcold/styles/headers/CTAHeader.module.css +40 -0
  216. package/srcold/styles/headers/CategoryFeaturingHeader.module.css +61 -0
  217. package/srcold/styles/headers/Gotoheader.module.css +81 -0
  218. package/srcold/styles/headers/Header7.module.css +50 -0
  219. package/srcold/styles/headers/HeaderWithAdSlider.module.css +86 -0
  220. package/srcold/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
  221. package/srcold/styles/headers/HeaderWithUtilityBar.module.css +46 -0
  222. package/srcold/styles/headers/Header_threesectionslogocentered.module.css +84 -0
  223. package/srcold/styles/headers/NewHeader.module.css +101 -0
  224. package/srcold/styles/headers/SearchFocusedHeader.module.css +62 -0
  225. package/srcold/styles/headers/Sideheader.module.css +108 -0
  226. package/srcold/styles/headers/Simpleheader.module.css +102 -0
  227. package/srcold/styles/headers/classicheader.module.css +16 -0
  228. package/srcold/styles/headers/classicheaderstyles.module.css +9 -0
  229. package/srcold/styles/headers/dropdown.css +0 -0
  230. package/srcold/styles/headers/header4.module.css +175 -0
  231. package/srcold/styles/headers/header5.module.css +30 -0
  232. package/srcold/styles/headers/header_contactinfo.module.css +53 -0
  233. package/srcold/styles/headers/headerresturant.module.css +89 -0
  234. package/srcold/styles/headers/modernheader.module.css +72 -0
  235. package/srcold/styles/headers/stylishheader.module.css +24 -0
  236. package/srcold/styles/headers/subheader.module.css +114 -0
  237. package/srcold/styles/headers/threetieredheader.module.css +91 -0
  238. package/srcold/styles/sections/BackgroundImageWithTopContent.css +4 -0
  239. package/srcold/styles/sections/Backgroundimage1.module.css +17 -0
  240. package/srcold/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
  241. package/srcold/styles/sections/Section_with_rightbgcont.module.css +49 -0
  242. package/srcold/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
  243. package/srcold/styles/sections/Slideshow_with_squarebg.module.css +39 -0
  244. package/srcold/styles/staticpages/accordion.module.css +9 -0
  245. package/srcold/styles/staticpages/cart.module.css +108 -0
  246. package/srcold/styles/staticpages/dropdown.css +196 -0
  247. package/srcold/styles/staticpages/filter.module.css +139 -0
  248. package/srcold/styles/staticpages/image-gallery.css +481 -0
  249. package/srcold/styles/staticpages/login.module.css +113 -0
  250. package/srcold/styles/staticpages/productinfo.module.css +54 -0
  251. package/srcold/styles/staticpages/shop.module.css +191 -0
  252. package/srcold/styles/staticpages/signup.module.css +206 -0
  253. package/srcold/styles/staticpages/staticroutersidenav.module.css +129 -0
  254. package/srcold/styles/staticpages/viewcart.module.css +129 -0
  255. package/srcold/styles/staticpages/wishlist.module.css +29 -0
@@ -0,0 +1,543 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import { css } from 'glamor';
3
+ import { IKImage } from 'imagekitio-react';
4
+ import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
5
+
6
+ import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
7
+ import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
8
+ import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
9
+ import { FaHeart } from '@react-icons/all-files/fa/FaHeart';
10
+ import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
11
+ import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
12
+ import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
13
+ import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
14
+ import { BsBag } from '@react-icons/all-files/bs/BsBag';
15
+ import { RiHandbagLine } from '@react-icons/all-files/ri/RiHandbagLine';
16
+ import { IoIosArrowUp } from '@react-icons/all-files/io/IoIosArrowUp';
17
+
18
+ const MenuCard = (props) => {
19
+ const [sectionproperties, setsectionproperties] = useState('');
20
+ const [item, setitem] = useState(props.cardinfoitemprops);
21
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
22
+ const lang = props.actions.lang;
23
+ const langdetect = props.actions.langdetect;
24
+ const setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
25
+ const addtofavoritescontext = props.actions.addtofavoritescontext;
26
+ const setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
27
+ const AddtoCartContext = props.actions.AddtoCartContext;
28
+ const AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
29
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
30
+ const routingcountext = props.actions.routingcountext;
31
+ const cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
32
+
33
+ const NotificationManager = NotificationManager;
34
+
35
+ const updatequantity = (type) => {
36
+ var tempitem = { ...item };
37
+ tempitem.quantity = parseInt(tempitem.quantity);
38
+ if (type == 'add') {
39
+ tempitem.quantity = tempitem.quantity + 1;
40
+ } else if (type == 'remove') {
41
+ tempitem.quantity = tempitem.quantity - 1;
42
+ }
43
+ if (tempitem.quantity <= 0) {
44
+ tempitem.quantity = 0;
45
+ }
46
+ setitem({ ...tempitem });
47
+ };
48
+ useEffect(() => {
49
+ if (props.srcfrom == 'addsectionform') {
50
+ var secpropobj = {};
51
+ props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
52
+ secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
53
+ });
54
+
55
+ setsectionproperties({ ...secpropobj });
56
+ } else {
57
+ var secpropobj = {};
58
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
59
+ if (sectionitem.sectionid == props.sectionidprops) {
60
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
61
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
62
+ });
63
+ }
64
+ });
65
+ setsectionproperties({ ...secpropobj });
66
+ }
67
+ }, [StatePagePropertiesContext]);
68
+ useEffect(() => {
69
+ setitem(props.cardinfoitemprops);
70
+ }, [props.cardinfoitemprops]);
71
+ const plainString = (html) => {
72
+ var divContainer = document.createElement('div');
73
+ divContainer.innerHTML = html;
74
+ return divContainer.textContent || divContainer.innerText || '';
75
+ };
76
+ const addtocartfunc = () => {
77
+ const addtocardpayloadobj = {
78
+ functype: 'add',
79
+ productid: item.productid,
80
+ variantid: '',
81
+ quantity: item.quantity,
82
+ };
83
+ var runfunc = false;
84
+ if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
85
+ if (item.hasvariants == 1) {
86
+ if (addtocardpayloadobj.variantid.length != 0) {
87
+ runfunc = true;
88
+ } else {
89
+ NotificationManager.warning('', 'Please Choose Product Options');
90
+ }
91
+ } else {
92
+ runfunc = true;
93
+ }
94
+ } else {
95
+ NotificationManager.warning('', 'Please Choose Quantity');
96
+ }
97
+
98
+ if (runfunc == true) {
99
+ AddtoCartContext(addtocardpayloadobj);
100
+ }
101
+ };
102
+
103
+ const card_cssstyles = {
104
+ productcard: css({
105
+ background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
106
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
107
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
108
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
109
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
110
+ marginTop: sectionproperties.marginTop + 'px',
111
+ marginBottom: sectionproperties.marginBottom + 'px',
112
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
113
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
114
+ paddingTop: sectionproperties.paddingTop + 'px',
115
+ paddingBottom: sectionproperties.paddingBottom + 'px',
116
+ borderBottom:
117
+ sectionproperties.border == 'border bottom' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
118
+ borderLeft:
119
+ sectionproperties.border == 'border left' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
120
+ borderRight:
121
+ sectionproperties.border == 'border right' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
122
+ borderTop: sectionproperties.border == 'border top' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
123
+ border: sectionproperties.border == 'all' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
124
+ transition: '.3s',
125
+ color: sectionproperties.prodNameColor,
126
+ }),
127
+ productcardimagecont: css({
128
+ position: 'relative',
129
+ overflow: 'hidden',
130
+ background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
131
+ border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
132
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
133
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
134
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
135
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
136
+ transition: '.3s',
137
+ }),
138
+ productNameStyles: css({
139
+ fontSize: sectionproperties.prodNameFontSize + 'px',
140
+ textTransform: sectionproperties.prodNameTextTranform,
141
+ fontWeight: sectionproperties.prodNameFontWeight,
142
+ transition: '.3s',
143
+ cursor: 'pointer',
144
+ ':hover': {
145
+ color: sectionproperties.prodNameColorOnHover,
146
+ },
147
+ }),
148
+ productPricestyles: css({
149
+ color: sectionproperties.prodPriceColor,
150
+ fontSize: sectionproperties.prodpriceFontSize + 'px',
151
+ fontWeight: sectionproperties.prodPriceFontWeight,
152
+ }),
153
+ productSalePricestyles: css({
154
+ color: sectionproperties.prodsalePriceColor,
155
+ fontSize: sectionproperties.prodsalepriceFontSize + 'px',
156
+ fontWeight: sectionproperties.prodsalePriceFontWeight,
157
+ }),
158
+ wishlist_btn: css({
159
+ width: sectionproperties.favBtnWidth + 'px',
160
+ height: sectionproperties.favBtnHeight + 'px',
161
+ background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
162
+ borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
163
+ color: sectionproperties.favBtniconcolor,
164
+ fontSize: sectionproperties.favBtnTextfontsize + 'px',
165
+ border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
166
+ transition: '.4s',
167
+ ':hover': {
168
+ background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
169
+ color: sectionproperties.favBtnTextcoloronhover,
170
+ },
171
+ }),
172
+ cart_btn: css({
173
+ width: sectionproperties.cartBtnWidth + 'px',
174
+ height: sectionproperties.cartBtnHeight + 'px',
175
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
176
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
177
+ color: sectionproperties.cart_iconcolor,
178
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
179
+ transition: '.3s',
180
+ ':hover': {
181
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
182
+ color: sectionproperties.cartBtnTextcoloronhover,
183
+ },
184
+ }),
185
+ cart_btntxt: css({
186
+ color: sectionproperties.cartBtnTextcolor,
187
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
188
+ fontWeight: sectionproperties.cartBtnTextfontweight,
189
+ // border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
190
+ transition: '.3s',
191
+ ':hover': {
192
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
193
+ color: sectionproperties.cartBtnTextcoloronhover,
194
+ },
195
+ }),
196
+ quantitybtn: css({
197
+ flex: 1,
198
+ border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
199
+ height: sectionproperties.quantitybtn_height + 'px',
200
+ height: '40px',
201
+ display: 'flex',
202
+ flexDirection: 'row',
203
+ overflow: 'hidden',
204
+ borderRadius: sectionproperties.quantitybtn_borderradius + 'px',
205
+ background: sectionproperties.quantitybtn_bgcolor,
206
+ alignItems: 'center',
207
+ justifyContent: 'center',
208
+ margin: 0,
209
+ position: 'relative',
210
+ fontWeight: sectionproperties.quantitybtn_textfontweight,
211
+ color: sectionproperties.quantitybtn_textcolor,
212
+ fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
213
+ }),
214
+ quantitybtn_text: css({
215
+ margin: 'auto',
216
+ }),
217
+ add_quantitybtn_icon_container: css({
218
+ position: 'relative',
219
+ width: sectionproperties.add_quantitybtn_width + 'px',
220
+ height: sectionproperties.add_quantitybtn_height + 'px',
221
+ background: sectionproperties.add_quantitybtn_bgcolor,
222
+ display: 'flex',
223
+ alignItems: 'center',
224
+ justifyContent: 'center',
225
+ borderRadius: sectionproperties.add_quantitybtn_borderradius + 'px',
226
+ fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
227
+ color: sectionproperties.add_quantitybtn_textcolor,
228
+ transition: '.3s',
229
+ ':hover': {
230
+ color: sectionproperties.add_quantitybtn_textcoloronhover,
231
+ background: sectionproperties.add_quantitybtn_bgcoloronhover,
232
+ },
233
+ }),
234
+ minus_quantitybtn_icon_container: css({
235
+ position: 'relative',
236
+ width: sectionproperties.remove_quantitybtn_width + 'px',
237
+ height: sectionproperties.remove_quantitybtn_height + 'px',
238
+ background: sectionproperties.remove_quantitybtn_bgcolor,
239
+ display: 'flex',
240
+ alignItems: 'center',
241
+ justifyContent: 'center',
242
+ borderRadius: sectionproperties.remove_quantitybtn_borderradius + 'px',
243
+ fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
244
+ color: sectionproperties.remove_quantitybtn_textcolor,
245
+ transition: '.3s',
246
+ ':hover': {
247
+ color: sectionproperties.remove_quantitybtn_textcoloronhover,
248
+ background: sectionproperties.remove_quantitybtn_bgcoloronhover,
249
+ },
250
+ }),
251
+ producttotalstyles: css({
252
+ color: sectionproperties.total_color,
253
+ fontSize: sectionproperties.total_fontsize + 'px',
254
+ fontWeight: 500,
255
+ }),
256
+ productDescStyles: css({
257
+ color: sectionproperties.prodCatColor,
258
+ fontSize: sectionproperties.prodCatFontSize + 'px',
259
+ textTransform: sectionproperties.prodCatTextTranform,
260
+ fontWeight: sectionproperties.prodCatFontWeight,
261
+ transition: '.3s',
262
+ marginLeft: sectionproperties.description_marginLeft + 'px',
263
+ marginRight: sectionproperties.description_marginRight + 'px',
264
+ marginBottom: sectionproperties.descriptionMarginBottom + 'px',
265
+ }),
266
+ };
267
+
268
+ return (
269
+ <div
270
+ class="row m-0 w-100 pl-sm-2 pr-sm-2"
271
+ style={{
272
+ paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
273
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
274
+ }}
275
+ >
276
+ {sectionproperties.length != 0 && (
277
+ <div class={`${card_cssstyles.productcard}` + ' w-100 pl-sm-0 pr-sm-0 '}>
278
+ <div class="row w-100 m-0 d-flex">
279
+ {sectionproperties.image_show == 'show' && (
280
+ <div
281
+ onClick={() => {
282
+ if (props.fetchingtypeprops == 'collections') {
283
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
284
+ } else {
285
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
286
+ }
287
+ }}
288
+ class={
289
+ langdetect == 'en'
290
+ ? `${card_cssstyles.productcardimagecont}` + ' d-flex justify-content-start mr-2 '
291
+ : `${card_cssstyles.productcardimagecont}` + ' d-flex justify-content-start ml-2 '
292
+ }
293
+ style={{
294
+ height: sectionproperties.image_height + 'px',
295
+ width: sectionproperties.image_width + 'px',
296
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
297
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
298
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
299
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
300
+ overflow: 'hidden',
301
+ cursor: 'pointer',
302
+ }}
303
+ >
304
+ <IKImage
305
+ urlEndpoint={IKurlEndpoint}
306
+ publicKey={IKpublicKey}
307
+ path={item.image}
308
+ loading="lazy"
309
+ style={{
310
+ width: '100%',
311
+ height: '100%',
312
+ objectFit: 'cover',
313
+ cursor: 'pointer',
314
+ }}
315
+ />
316
+ </div>
317
+ )}
318
+
319
+ <div style={{ flex: 1 }}>
320
+ <div class="row w-100 m-0">
321
+ <div class="col-lg-9 col-md-9 col-sm-12 pl-1 pr-1 mt-2 p-0">
322
+ <div class="row w-100 m-0">
323
+ {sectionproperties.prodNameShow == 'Show' && (
324
+ <div
325
+ onClick={() => {
326
+ cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
327
+ }}
328
+ class="col-lg-12 p-0 "
329
+ >
330
+ <p
331
+ class={`${card_cssstyles.productNameStyles}` + ' font-md-15 wordbreak wordbreak1 m-0 '}
332
+ style={{
333
+ textAlign: langdetect == 'en' ? 'left' : 'right',
334
+ }}
335
+ >
336
+ {item.name}
337
+ </p>
338
+ </div>
339
+ )}
340
+ {sectionproperties.prodCatShow == 'Show' && (
341
+ <p
342
+ class={`${card_cssstyles.productDescStyles}` + ' col-lg-12 mt-2 mb-1 wordbreak wordbreak2 p-0 '}
343
+ style={{
344
+ textAlign: langdetect == 'en' ? 'left' : 'right',
345
+ }}
346
+ >
347
+ {plainString(langdetect == 'en' ? item.description_en : item.description_ar)}
348
+ </p>
349
+ )}
350
+ </div>
351
+ </div>
352
+ <div style={{ display: 'flex', flexDirection: 'column', alignContent: 'space-between' }} class="col-lg-3 col-md-3 col-sm-12 mt-2 p-0">
353
+ <div class="row m-0 w-100 d-flex flex-column flex-sm-row justify-content-end justify-content-sm-start">
354
+ {sectionproperties.prodPriceShow == 'Show' && (
355
+ <p
356
+ class={
357
+ langdetect == 'en'
358
+ ? `${card_cssstyles.productPricestyles}` + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left '
359
+ : `${card_cssstyles.productPricestyles}` + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
360
+ }
361
+ >
362
+ {langdetect == 'en' ? 'EGP' : ''} {item.hassale == 1 ? item.defaultsaleprice : item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
363
+ </p>
364
+ )}
365
+ {sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && (
366
+ <p
367
+ class={
368
+ langdetect == 'en'
369
+ ? `${card_cssstyles.productSalePricestyles}` +
370
+ ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3 '
371
+ : `${card_cssstyles.productSalePricestyles}` +
372
+ ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right ml-sm-3 mr-sm-3 '
373
+ }
374
+ >
375
+ {langdetect == 'en' ? 'EGP' : ''} {item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
376
+ </p>
377
+ )}
378
+ </div>
379
+
380
+ {sectionproperties.quantitybtn_show == 'hide' && sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Show' && (
381
+ <div class="row m-0 mt-auto w-100">
382
+ <div class="col-lg-12 d-flex justify-content-end p-0">
383
+ <button
384
+ class={`${card_cssstyles.cart_btn}` + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center '}
385
+ onClick={() => {
386
+ if (item.hasvariants == 0) {
387
+ addtocartfunc();
388
+ } else {
389
+ setShowProductInfoModalContext(true);
390
+ setProductIdProdutInfoModalContext(item.productid);
391
+ }
392
+ }}
393
+ >
394
+ <i class={'h-100 d-flex align-items-center justify-content-center'}>
395
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
396
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
397
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
398
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <RiHandbagLine size={sectionproperties.cartBtn_iconFontSize} />}
399
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart class="" size={sectionproperties.cartBtn_iconFontSize} />}
400
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
401
+ </i>
402
+ </button>
403
+ </div>
404
+ </div>
405
+ )}
406
+ </div>
407
+ <div class="col-lg-12 mt-1 p-0">
408
+ <div class="row w-100 m-0">
409
+ <div class="col-lg-6 col-md-6 col-sm-6 p-0 d-flex align-items-center justify-content-start">
410
+ {sectionproperties.quantitybtn_show == 'show' && (
411
+ <div
412
+ style={{ width: sectionproperties.quantitybtn_width + 'px', height: sectionproperties.quantitybtn_height + 'px' }}
413
+ class={' row m-0 d-flex align-items-center '}
414
+ >
415
+ <button class={`${card_cssstyles.quantitybtn}` + ' p-0 d-flex align-items-center justify-content-center '}>
416
+ {langdetect == 'en' && (
417
+ <span
418
+ class={`${card_cssstyles.minus_quantitybtn_icon_container}` + ' m-1 '}
419
+ style={{ transform: ' rotate(-180deg)' }}
420
+ onClick={() => {
421
+ updatequantity('remove');
422
+ }}
423
+ >
424
+ <i class="h-100 allcentered">
425
+ <IoIosArrowUp />
426
+ </i>
427
+ </span>
428
+ )}
429
+ {langdetect == 'ar' && (
430
+ <span
431
+ class={`${card_cssstyles.add_quantitybtn_icon_container}` + ' m-1 '}
432
+ onClick={() => {
433
+ updatequantity('add');
434
+ }}
435
+ >
436
+ <i class="h-100 allcentered">
437
+ <IoIosArrowUp />
438
+ </i>
439
+ </span>
440
+ )}
441
+ <span
442
+ class={`${card_cssstyles.quantitybtn_text}` + ' d-flex align-items-center justify-content-center '}
443
+ style={{
444
+ background: sectionproperties.quantbtntextbgcolor,
445
+ width: sectionproperties.quantitybtntextwidth + 'px',
446
+ height: sectionproperties.quantitybtntextheight + 'px',
447
+ borderRadius: sectionproperties.addquantitytextborderraduis + 'px',
448
+ }}
449
+ >
450
+ {item.quantity}
451
+ </span>
452
+ {langdetect == 'ar' && (
453
+ <span
454
+ class={`${card_cssstyles.minus_quantitybtn_icon_container}` + ' m-1 '}
455
+ style={{ transform: ' rotate(-180deg)' }}
456
+ onClick={() => {
457
+ updatequantity('remove');
458
+ }}
459
+ >
460
+ <i class="h-100 allcentered">
461
+ <IoIosArrowUp />
462
+ </i>
463
+ </span>
464
+ )}
465
+ {langdetect == 'en' && (
466
+ <span
467
+ class={`${card_cssstyles.add_quantitybtn_icon_container}` + ' m-1 '}
468
+ onClick={() => {
469
+ updatequantity('add');
470
+ }}
471
+ >
472
+ <i class="h-100 allcentered">
473
+ <IoIosArrowUp />
474
+ </i>
475
+ </span>
476
+ )}
477
+ </button>
478
+ </div>
479
+ )}
480
+ </div>
481
+ <div class="col-lg-6 col-md-6 col-sm-6 p-0 d-flex align-items-center justify-content-end">
482
+ {sectionproperties.favBtnShow == 'Show' && (
483
+ <button
484
+ class={card_cssstyles.wishlist_btn + ' ml-2 mr-2'}
485
+ onClick={() => {
486
+ addtofavoritescontext(item.productid);
487
+ }}
488
+ style={{
489
+ background: item.IsFavExists == true ? sectionproperties.activebgcolor : '',
490
+ }}
491
+ >
492
+ {item.IsFavExists && (
493
+ <i class="h-100 d-flex align-items-center justify-content-center">
494
+ {sectionproperties.faviconshape == 'Star Shape' && (
495
+ <AiFillStar size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />
496
+ )}
497
+ {sectionproperties.faviconshape == 'Heart Shape' && (
498
+ <FaHeart size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />
499
+ )}
500
+ </i>
501
+ )}
502
+ {!item.IsFavExists && (
503
+ <i class="h-100 d-flex align-items-center justify-content-center">
504
+ {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
505
+ {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
506
+ </i>
507
+ )}
508
+ </button>
509
+ )}
510
+ {sectionproperties.cartBtnShow == 'Show' && sectionproperties.favBtnShow == 'Show' && sectionproperties.quantitybtn_show == 'show' && (
511
+ <button
512
+ class={`${card_cssstyles.cart_btn}` + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center '}
513
+ onClick={() => {
514
+ if (item.hasvariants == 0) {
515
+ addtocartfunc();
516
+ } else {
517
+ setShowProductInfoModalContext(true);
518
+ setProductIdProdutInfoModalContext(item.productid);
519
+ }
520
+ }}
521
+ >
522
+ <i class={'h-100 d-flex align-items-center justify-content-center'}>
523
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
524
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
525
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
526
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <RiHandbagLine size={sectionproperties.cartBtn_iconFontSize} />}
527
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart class="" size={sectionproperties.cartBtn_iconFontSize} />}
528
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
529
+ </i>
530
+ </button>
531
+ )}
532
+ </div>
533
+ </div>
534
+ </div>
535
+ </div>
536
+ </div>
537
+ </div>
538
+ </div>
539
+ )}
540
+ </div>
541
+ );
542
+ };
543
+ export default MenuCard;