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,515 @@
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 { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
7
+ import { FaHeart } from '@react-icons/all-files/fa/FaHeart';
8
+ import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
9
+ import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
10
+ import { FaRegEye } from '@react-icons/all-files/fa/FaRegEye';
11
+ import { FiMinus } from '@react-icons/all-files/fi/FiMinus';
12
+ import { FiPlus } from '@react-icons/all-files/fi/FiPlus';
13
+ import { FiLayers } from '@react-icons/all-files/fi/FiLayers';
14
+ import { CircularProgress } from 'react-cssfx-loading';
15
+
16
+ const UpSlideEffectCard = (props) => {
17
+ const [sectionproperties, setsectionproperties] = useState('');
18
+ const [item, setitem] = useState(props.cardinfoitemprops);
19
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
20
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
21
+ const lang = props.actions.lang;
22
+ const langdetect = props.actions.langdetect;
23
+ const setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
24
+ const setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
25
+ const routingcountext = props.actions.routingcountext;
26
+ const [showquantity, setshowquantity] = useState(false);
27
+ const AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
28
+ const AddtoCartContext = props.actions.AddtoCartContext;
29
+ const NotificationManager = props.actions.NotificationManager;
30
+
31
+ // Sectionproperties
32
+ useEffect(() => {
33
+ var secpropobj = {};
34
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
35
+ if (sectionitem.sectionid == props.sectionidprops) {
36
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
37
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
38
+ });
39
+ }
40
+ });
41
+ setsectionproperties({ ...secpropobj });
42
+ }, [StatePagePropertiesContext]);
43
+
44
+ useEffect(() => {
45
+ if (item.quantity == 0) {
46
+ setshowquantity(false);
47
+ } else {
48
+ setshowquantity(true);
49
+ }
50
+ }, [props.cardinfoitemprops]);
51
+
52
+ // Card Information
53
+ useEffect(() => {
54
+ if (props.cardinfoitemprops != undefined) {
55
+ setitem(props.cardinfoitemprops);
56
+ }
57
+ }, [props.cardinfoitemprops]);
58
+ const addtocartfunc = (type, quantity) => {
59
+ const addtocardpayloadobj = {
60
+ functype: 'add',
61
+ productid: item.productid,
62
+ variantid: '',
63
+ quantity: quantity,
64
+ };
65
+
66
+ var runfunc = false;
67
+ if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
68
+ if (item.hasvariants == 1) {
69
+ if (addtocardpayloadobj.variantid.length != 0) {
70
+ runfunc = true;
71
+ } else {
72
+ NotificationManager.warning('', langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
73
+ }
74
+ } else {
75
+ runfunc = true;
76
+ }
77
+ } else {
78
+ NotificationManager.warning('', langdetect == 'en' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
79
+ }
80
+
81
+ if (runfunc == true) {
82
+ AddtoCartContext(addtocardpayloadobj);
83
+ }
84
+ };
85
+ const addtocartbuttonrender = () => {
86
+ if (AddtoCartMutationContext.isLoading) {
87
+ if (AddtoCartMutationContext?.variables?.productid == item.productid) {
88
+ return (
89
+ <div class={' d-flex align-items-center justify-content-center '}>
90
+ <CircularProgress color={sectionproperties.quantitybtn_textcolor} width="20px" height="20px" duration="1s" />
91
+ </div>
92
+ );
93
+ } else {
94
+ return item.quantity;
95
+ }
96
+ }
97
+ if (!AddtoCartMutationContext.isLoading) {
98
+ return item.quantity;
99
+ }
100
+ };
101
+
102
+ // Styles
103
+ const card_cssstyles = {
104
+ productcard: css({
105
+ marginTop: sectionproperties.marginTop + 'px',
106
+ marginBottom: sectionproperties.marginBottom + 'px',
107
+ paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
108
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
109
+ transition: '.3s',
110
+ ':hover .floating_content': {
111
+ opacity: 1,
112
+ bottom: 10,
113
+ transition: '.3s',
114
+ },
115
+ }),
116
+ badgeStyles: css({
117
+ position: 'absolute',
118
+ top: 20,
119
+ left: langdetect == 'en' ? '' : -10,
120
+ right: langdetect == 'en' ? -10 : '',
121
+ backgroundColor: sectionproperties.badge_bgcolor,
122
+ width: sectionproperties.badge_width + 'px',
123
+ height: sectionproperties.badge_height + 'px',
124
+ borderRadius: sectionproperties.badge_borderradius + 'px',
125
+ }),
126
+ floating_content: css({
127
+ position: 'absolute',
128
+ opacity: 0,
129
+ bottom: 0,
130
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
131
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
132
+ }),
133
+ cart_btn: css({
134
+ width: sectionproperties.cartBtnWidth + 'px',
135
+ height: sectionproperties.cartBtnHeight + 'px',
136
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
137
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
138
+ color: sectionproperties.cartBtnTextcolor,
139
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
140
+ textTransform: sectionproperties.cartBtnTexttransform,
141
+ fontWeight: sectionproperties.cartBtnTextfontweight,
142
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
143
+ transition: '.3s',
144
+ ':hover': {
145
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
146
+ color: sectionproperties.cartBtnTextcoloronhover,
147
+ },
148
+ }),
149
+ button_styles: css({
150
+ width: sectionproperties.generalbtn_width + 'px',
151
+ height: sectionproperties.generalbtn_height + 'px',
152
+ border: sectionproperties.generalbtn_borderwidth + 'px solid' + sectionproperties.generalbtn_bordercolor,
153
+ borderRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
154
+ backgroundColor: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
155
+ ':hover': {
156
+ backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
157
+ color: sectionproperties.generalbtn_textColoronhover,
158
+ transition: '.3s',
159
+ },
160
+ }),
161
+ quantitybtn: css({
162
+ height: sectionproperties.quantitybtn_height + 'px',
163
+ width: sectionproperties.quantitybtn_width + 'px',
164
+ display: 'flex',
165
+ flexDirection: 'row',
166
+ overflow: 'hidden',
167
+ borderRadius: sectionproperties.quantitybtn_borderradius + 'px',
168
+ background: sectionproperties.quantitybtn_bgcolor,
169
+ alignItems: 'center',
170
+ justifyContent: 'center',
171
+ margin: 0,
172
+ position: 'relative',
173
+ fontWeight: sectionproperties.quantitybtn_textfontweight,
174
+ color: sectionproperties.quantitybtn_textcolor,
175
+ fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
176
+ border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
177
+ }),
178
+ quantitybtn_text: css({
179
+ margin: 'auto',
180
+ }),
181
+ add_quantitybtn_icon_container: css({
182
+ position: 'relative',
183
+ width: sectionproperties.add_quantitybtn_width + 'px',
184
+ height: sectionproperties.add_quantitybtn_height + 'px',
185
+ background: sectionproperties.add_quantitybtn_bgcolor,
186
+ display: 'flex',
187
+ alignItems: 'center',
188
+ justifyContent: 'center',
189
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
190
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
191
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
192
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
193
+ fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
194
+ color: sectionproperties.add_quantitybtn_textcolor,
195
+ transition: '.3s',
196
+ ':hover': {
197
+ color: sectionproperties.add_quantitybtn_textcoloronhover,
198
+ background: sectionproperties.add_quantitybtn_bgcoloronhover,
199
+ },
200
+ ':hover .addbtn': {
201
+ color: sectionproperties.add_quantitybtn_textcoloronhover,
202
+ transition: '.3s',
203
+ },
204
+ }),
205
+ minus_quantitybtn_icon_container: css({
206
+ position: 'relative',
207
+ display: 'flex',
208
+ alignItems: 'center',
209
+ justifyContent: 'center',
210
+ width: sectionproperties.remove_quantitybtn_width + 'px',
211
+ height: sectionproperties.remove_quantitybtn_height + 'px',
212
+ background: sectionproperties.remove_quantitybtn_bgcolor,
213
+ fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
214
+ color: sectionproperties.remove_quantitybtn_textcolor,
215
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
216
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
217
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
218
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
219
+ transition: '.3s',
220
+ ':hover': {
221
+ color: sectionproperties.remove_quantitybtn_textcoloronhover,
222
+ background: sectionproperties.remove_quantitybtn_bgcoloronhover,
223
+ },
224
+ ':hover .minusbtn': {
225
+ transition: '.3s',
226
+ color: sectionproperties.remove_quantitybtn_textcoloronhover,
227
+ },
228
+ }),
229
+ wishlist_btn: css({
230
+ width: sectionproperties.favBtnWidth + 'px',
231
+ height: sectionproperties.favBtnHeight + 'px',
232
+ background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
233
+ borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
234
+ color: sectionproperties.favBtniconcolor,
235
+ border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
236
+ transition: '.3s',
237
+ ':hover': {
238
+ background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
239
+ color: sectionproperties.favBtnTextcoloronhover,
240
+ },
241
+ }),
242
+ productNameStyles: css({
243
+ color: sectionproperties.prodNameColor,
244
+ fontSize: sectionproperties.prodNameFontSize + 'px',
245
+ textTransform: sectionproperties.prodNameTextTranform,
246
+ fontWeight: sectionproperties.prodNameFontWeight,
247
+ transition: '.3s',
248
+ cursor: 'pointer',
249
+ ':hover': {
250
+ color: sectionproperties.prodNameColorOnHover,
251
+ },
252
+ }),
253
+ productPricestyles: css({
254
+ color: sectionproperties.prodPriceColor,
255
+ fontSize: sectionproperties.prodpriceFontSize + 'px',
256
+ fontWeight: sectionproperties.prodPriceFontWeight,
257
+ }),
258
+ productSalePricestyles: css({
259
+ color: sectionproperties.prodsalePriceColor,
260
+ fontSize: sectionproperties.prodsalepriceFontSize + 'px',
261
+ fontWeight: sectionproperties.prodsalePriceFontWeight,
262
+ }),
263
+ };
264
+
265
+ return (
266
+ <div class={card_cssstyles.productcard + ' row ml-0 mr-0 w-100 '}>
267
+ <div
268
+ class="col-lg-12 pl-0 pr-0 h-100"
269
+ style={{
270
+ paddingTop: sectionproperties.paddingTop + 'px',
271
+ paddingBottom: sectionproperties.paddingBottom + 'px',
272
+ backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
273
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
274
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
275
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
276
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
277
+ }}
278
+ >
279
+ <div
280
+ class="row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center"
281
+ style={{
282
+ position: 'relative',
283
+ height: sectionproperties.image_height + 'px',
284
+ marginBottom: sectionproperties.image_mb + 'px',
285
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
286
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
287
+ }}
288
+ >
289
+ {item.image != '' && (
290
+ <IKImage
291
+ urlEndpoint={IKurlEndpoint}
292
+ publicKey={IKpublicKey}
293
+ path={'/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image}
294
+ style={{
295
+ width: '100%',
296
+ height: '100%',
297
+ objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
298
+ background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
299
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
300
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
301
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
302
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
303
+ }}
304
+ loading="lazy"
305
+ />
306
+ )}
307
+ {item.image == '' && (
308
+ <div
309
+ style={{
310
+ width: '100%',
311
+ height: '100%',
312
+ background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
313
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
314
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
315
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
316
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
317
+ }}
318
+ >
319
+ <i class="h-100 allcentered text-light">
320
+ <FiLayers size={26} />
321
+ </i>
322
+ </div>
323
+ )}
324
+
325
+ {/* Sale Badge */}
326
+ {item.hassale == 1 && (
327
+ <div class={`${card_cssstyles.badgeStyles}` + ' allcentered '}>
328
+ <p class="m-0 p-0" style={{ color: sectionproperties.badge_color, fontSize: sectionproperties.badge_fontsize + 'px' }}>
329
+ {langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr}
330
+ </p>
331
+ </div>
332
+ )}
333
+
334
+ {/* Floating Items */}
335
+ <div class={`${card_cssstyles.floating_content}` + ' row m-0 align-items-center justify-content-center floating_content '}>
336
+ {sectionproperties.generalbtn_show == 'Show' && (
337
+ <button
338
+ class={`${card_cssstyles.button_styles}` + ''}
339
+ onClick={() => {
340
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
341
+ }}
342
+ >
343
+ <i class="h-100 d-flex align-items-center justify-content-center">
344
+ <FaRegEye size={sectionproperties.generalbtn_fontsize} />
345
+ </i>
346
+ </button>
347
+ )}
348
+
349
+ {sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Show' && (
350
+ <button
351
+ class={`${card_cssstyles.cart_btn}` + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-sm-100px font-sm-12 '}
352
+ onClick={() => {
353
+ setShowProductInfoModalContext(true);
354
+ setProductIdProdutInfoModalContext(item.productid);
355
+ }}
356
+ >
357
+ {langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic}
358
+ </button>
359
+ )}
360
+
361
+ {sectionproperties.quantitybtn_show == 'Show' && (
362
+ <div>
363
+ {sectionproperties.cartBtnShow == 'Show' && showquantity == false && (
364
+ <button
365
+ class={`${card_cssstyles.cart_btn}` + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-sm-100px font-sm-12 '}
366
+ onClick={() => {
367
+ setshowquantity(true);
368
+ }}
369
+ >
370
+ {langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic}
371
+ </button>
372
+ )}
373
+ {showquantity == true && (
374
+ <div
375
+ class={`${card_cssstyles.quantitybtn}` + ' w-sm-100px p-0 d-flex align-items-center justify-content-center ml-2 mr-2 ml-sm-1 mr-sm-1 '}
376
+ style={{ direction: 'ltr' }}
377
+ >
378
+ <button
379
+ class={`${card_cssstyles.minus_quantitybtn_icon_container}`}
380
+ onClick={() => {
381
+ if (item.hasvariants == 0) {
382
+ var tempitem = { ...item };
383
+ tempitem.quantity = parseInt(tempitem.quantity);
384
+ tempitem.quantity = tempitem.quantity - 1;
385
+ if (tempitem.quantity <= 0) {
386
+ tempitem.quantity = 0;
387
+ }
388
+ setitem({ ...tempitem });
389
+ addtocartfunc('add', tempitem.quantity);
390
+ } else {
391
+ setShowProductInfoModalContext(true);
392
+ setProductIdProdutInfoModalContext(item.productid);
393
+ }
394
+ }}
395
+ disabled={AddtoCartMutationContext.isLoading == true ? true : false}
396
+ >
397
+ <i class="h-100 allcentered minusbtn">
398
+ <FiMinus />
399
+ </i>
400
+ </button>
401
+ <span class={`${card_cssstyles.quantitybtn_text}` + ' d-flex align-items-center justify-content-center '}>{addtocartbuttonrender()}</span>
402
+ <button
403
+ class={`${card_cssstyles.add_quantitybtn_icon_container}`}
404
+ onClick={() => {
405
+ if (item.hasvariants == 0) {
406
+ var tempitem = { ...item };
407
+ tempitem.quantity = parseInt(tempitem.quantity);
408
+ tempitem.quantity = tempitem.quantity + 1;
409
+ if (tempitem.quantity <= 0) {
410
+ tempitem.quantity = 0;
411
+ }
412
+ setitem({ ...tempitem });
413
+ addtocartfunc('add', tempitem.quantity);
414
+ } else {
415
+ setShowProductInfoModalContext(true);
416
+ setProductIdProdutInfoModalContext(item.productid);
417
+ }
418
+ }}
419
+ disabled={AddtoCartMutationContext.isLoading == true ? true : false}
420
+ >
421
+ <i class="h-100 allcentered addbtn">
422
+ <FiPlus />
423
+ </i>
424
+ </button>
425
+ </div>
426
+ )}
427
+ </div>
428
+ )}
429
+
430
+ {sectionproperties.favBtnShow == 'Show' && (
431
+ <button
432
+ class={` ${card_cssstyles.wishlist_btn}` + ''}
433
+ onClick={() => {
434
+ addtofavoritescontext(item.productid);
435
+ }}
436
+ >
437
+ {item.IsFavExists && (
438
+ <i class="h-100 d-flex align-items-center justify-content-center">
439
+ {sectionproperties.faviconshape == 'Star Shape' && (
440
+ <AiFillStar size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />
441
+ )}
442
+ {sectionproperties.faviconshape == 'Heart Shape' && (
443
+ <FaHeart size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />
444
+ )}
445
+ </i>
446
+ )}
447
+ {!item.IsFavExists && (
448
+ <i class="h-100 d-flex align-items-center justify-content-center">
449
+ {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
450
+ {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
451
+ </i>
452
+ )}
453
+ </button>
454
+ )}
455
+ </div>
456
+ </div>
457
+
458
+ {/* Product Details */}
459
+ <div
460
+ class="col-lg-12"
461
+ style={{
462
+ paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
463
+ paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
464
+ }}
465
+ >
466
+ {sectionproperties.prodNameShow == 'Show' && (
467
+ <div class="row m-0 w-100 align-items-center justify-content-start">
468
+ <p
469
+ onClick={() => {
470
+ if (props.fetchingtypeprops == 'collections') {
471
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
472
+ } else {
473
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
474
+ }
475
+ }}
476
+ class={
477
+ sectionproperties.wordbreak == '1'
478
+ ? `${card_cssstyles.productNameStyles}` + ' wordbreak wordbreak1 m-0 '
479
+ : `${card_cssstyles.productNameStyles}` + ' wordbreak wordbreak2 m-0 '
480
+ }
481
+ >
482
+ {item.name}
483
+ </p>
484
+ </div>
485
+ )}
486
+ <div class="row m-0 w-100 align-items-center justify-content-start">
487
+ {sectionproperties.prodPriceShow == 'Show' && (
488
+ <p
489
+ class={`${card_cssstyles.productPricestyles}` + ' m-0 wordbreak d-flex align-items-center '}
490
+ style={{
491
+ textAlign: langdetect == 'en' ? 'left' : 'right',
492
+ }}
493
+ >
494
+ {langdetect == 'en' ? item.currencyname : ''} {item.hassale == 1 ? item.defaultsaleprice : item.defaultprice} {langdetect == 'en' ? '' : item.currencyname}{' '}
495
+ </p>
496
+ )}
497
+ {sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && <span class={`${card_cssstyles.productSalePricestyles}`}> / </span>}
498
+ {sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && (
499
+ <p
500
+ class={`${card_cssstyles.productSalePricestyles}` + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto '}
501
+ style={{
502
+ textAlign: langdetect == 'en' ? 'left' : 'right',
503
+ }}
504
+ >
505
+ {langdetect == 'en' ? item.currencyname : ''} {item.defaultprice} {langdetect == 'en' ? '' : item.currencyname}
506
+ </p>
507
+ )}
508
+ </div>
509
+ </div>
510
+ </div>
511
+ </div>
512
+ );
513
+ };
514
+
515
+ export default UpSlideEffectCard;