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,671 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import generalstyles from '../../../styles/general/general.module.css';
3
+ import cartstyles from '../../../styles/staticpages/viewcart.module.css';
4
+ import { css } from 'glamor';
5
+ import Staticpagesrouter from '../Staticpagesrouter/Staticpagesrouter.jsx';
6
+ import { IKImage } from 'imagekitio-react';
7
+ import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
8
+ import shoppingcart from '../../../assets/images/shoppingcart.png';
9
+
10
+ const Viewcart = (props) => {
11
+ const lang = props.actions.lang;
12
+ const langdetect = props.actions.langdetect;
13
+ const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
14
+ const AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
15
+ const deletecartitemContext = props.actions.deletecartitemContext;
16
+ const ChangeCartItemQuantityContext = props.actions.ChangeCartItemQuantityContext;
17
+ const routingcountext = props.actions.routingcountext;
18
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
19
+ const pageindexcontext = props.actions.pageindexcontext;
20
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
21
+ const TabexSectionsComponentsContext = props.actions.TabexSectionsComponentsContext;
22
+ const templatepropcontext = props.actions.templatepropcontext;
23
+ const authdetailsContext = props.actions.authdetailsContext;
24
+ const actions = props.actions;
25
+ const [sectionproperties, setsectionproperties] = useState('');
26
+ const [imagesarray, setimagesarray] = useState([]);
27
+ useEffect(() => {
28
+ if (Object.keys(StatePagePropertiesContext).length != 0) {
29
+ var secpropobj = {};
30
+ StatePagePropertiesContext?.pageobj?.pageproperties?.forEach(function (arrayItem, arrayindex) {
31
+ secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
32
+ });
33
+ setsectionproperties({ ...secpropobj });
34
+ }
35
+ }, [StatePagePropertiesContext]);
36
+ useEffect(() => {
37
+ var cartindex = templatepropcontext?.pagesnprop?.findIndex((x) => x.staticpageid == '6218bccb84d2b');
38
+ if (cartindex >= 0) {
39
+ // setCurrentPageId(cartindex);
40
+ }
41
+ }, []);
42
+ useEffect(() => {
43
+ if (sectionproperties.length != 0) {
44
+ if (sectionproperties.bgsection_imagearrayofobjs != null) {
45
+ var bgsection_imagearrayofobjsparsed = JSON.parse(sectionproperties.bgsection_imagearrayofobjs);
46
+ if (Array.isArray(bgsection_imagearrayofobjsparsed)) {
47
+ setimagesarray([...bgsection_imagearrayofobjsparsed]);
48
+ }
49
+ }
50
+ }
51
+ }, [sectionproperties]);
52
+ const Summary = () => {
53
+ return (
54
+ <div className={'row m-0 w-100 mt-md-3'}>
55
+ <div className="col-lg-12 p-0 mb-4">
56
+ <div
57
+ className={' p-2 pl-3 pr-3 '}
58
+ style={{
59
+ background: sectionproperties.summary_sectionbgcolor,
60
+ borderRadius: sectionproperties.summary_sectionborderradius + 'px',
61
+ borderColor: sectionproperties.summary_sectionbordercolor,
62
+ }}
63
+ >
64
+ <div className="col-lg-12 p-0 mb-1">
65
+ <div className="row m-0 w-100">
66
+ <div className="col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start">
67
+ <p className={`${viewcart_cssstyles.summarysectionstyles}` + ' m-0 p-0 '}>{lang.subtotal}</p>
68
+ </div>
69
+ <div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
70
+ <p className={`${viewcart_cssstyles.summarysectionstyles}` + ' m-0 p-0 '}>
71
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {fetchcustomercartQueryContext?.data?.data?.customercart?.totalprice}
72
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
73
+ </p>
74
+ </div>
75
+ </div>
76
+ </div>
77
+ {fetchcustomercartQueryContext?.data?.data?.customercart?.couponexists && (
78
+ <div className="col-lg-12 p-0 mb-1">
79
+ <div className="row m-0 w-100">
80
+ <div className="col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start">
81
+ <p className={`${viewcart_cssstyles.summarysectionstyles}` + ' text-danger m-0 p-0 '}>{lang.discount}</p>
82
+ </div>
83
+ <div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
84
+ <p className={`${viewcart_cssstyles.summarysectionstyles} ` + ' m-0 p-0 text-danger '}>
85
+ {fetchcustomercartQueryContext?.data?.data?.customercart?.couponexists && (
86
+ <span>
87
+ - {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {fetchcustomercartQueryContext?.data?.data?.customercart?.discountprice}{' '}
88
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
89
+ </span>
90
+ )}
91
+ {!fetchcustomercartQueryContext?.data?.data?.customercart?.couponexists && <span>0</span>}
92
+ </p>
93
+ </div>
94
+ </div>
95
+ </div>
96
+ )}
97
+ <div className="col-lg-12 p-0">
98
+ <hr className="mt-0 mb-1" />
99
+ </div>
100
+ <div className="col-lg-12 p-0">
101
+ <div className="row m-0 w-100">
102
+ <div className="col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start">
103
+ <p className={`${viewcart_cssstyles.totalstyless}` + ' p-0 m-0 '}>{lang.total}</p>
104
+ </div>
105
+ <div className="col-lg-6 col-md-6 col-sm-6 p-0">
106
+ <div className="row m-0 w-100">
107
+ <div className="col-lg-12 p-0 d-flex justify-content-end ">
108
+ <p className={`${viewcart_cssstyles.totalstyless}` + ' p-0 m-0 '}>
109
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
110
+ {fetchcustomercartQueryContext?.data?.data?.customercart?.totalpriceafterdiscount_noshipping}{' '}
111
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
112
+ </p>
113
+ </div>
114
+ <div className="col-lg-12 p-0 d-flex justify-content-end ">
115
+ <p className={'font-13 text-light text-capitalize p-0 m-0 '}>{lang.excludingdelivery}</p>
116
+ </div>
117
+ </div>
118
+ </div>
119
+ </div>
120
+ </div>
121
+ <div
122
+ className="col-lg-12 d-flex align-items-center justify-content-center mb-3 mt-3"
123
+ onClick={() => {
124
+ routingcountext(StaticPagesLinksContext.Checkout);
125
+ }}
126
+ >
127
+ <button className={` ${viewcart_cssstyles.checkoutbtnstyles}`}>
128
+ {langdetect == 'en' ? sectionproperties.checkoutButtonContenten : sectionproperties.checkoutButtonContentar}
129
+ </button>
130
+ </div>
131
+ </div>
132
+ </div>
133
+ </div>
134
+ );
135
+ };
136
+ const viewcart_cssstyles = {
137
+ checkoutbtnstyles: css({
138
+ background: sectionproperties.checkoutBtnbgColortranparent == 'Transparent' ? 'transparent' : sectionproperties.checkoutBtnbgColor,
139
+ width: sectionproperties.checkoutBtnWidth + 'px',
140
+ height: sectionproperties.checkoutBtnHeight + 'px',
141
+ borderRadius: sectionproperties.checkout_borderBottomLeftRadius + 'px',
142
+ color: sectionproperties.checkoutBtnTextcolor,
143
+ textTransform: sectionproperties.checkoutBtnTexttransform,
144
+ fontWeight: sectionproperties.checkoutBtnTextfontweight,
145
+ fontSize: sectionproperties.checkoutBtnTextfontsize + 'px',
146
+ boxShadow: sectionproperties.checkoutBtn_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.checkoutBtn_shadowcolor : '',
147
+ transition: '.3s',
148
+ ':hover': {
149
+ background: sectionproperties.checkoutBtnbgColoronhover,
150
+ color: sectionproperties.checkoutBtnTextcoloronhover,
151
+ },
152
+ }),
153
+ productNameStyles: css({
154
+ color: sectionproperties.prodNameColor,
155
+ fontSize: sectionproperties.prodNameFontSize + 'px',
156
+ textTransform: sectionproperties.prodNameTextTranform,
157
+ fontWeight: sectionproperties.prodNameFontWeight,
158
+ }),
159
+ productPricestyles: css({
160
+ color: sectionproperties.prodPriceColor,
161
+ fontSize: sectionproperties.prodpriceFontSize + 'px',
162
+ fontWeight: sectionproperties.prodPriceFontWeight,
163
+ }),
164
+ summarysectionstyles: css({
165
+ fontSize: sectionproperties.summary_fontsize + 'px',
166
+ color: sectionproperties.summary_textcolor,
167
+ fontWeight: sectionproperties.summary_textfontweight,
168
+ textTransform: sectionproperties.summary_texttransform,
169
+ }),
170
+ Salepricestyless: css({
171
+ fontSize: sectionproperties.prodsalepriceFontSize + 'px',
172
+ fontWeight: sectionproperties.prodsalePriceFontWeight,
173
+ color: sectionproperties.prodsalePriceColor,
174
+ show: sectionproperties.prodsalePriceshow,
175
+ transition: '.3s',
176
+ }),
177
+ totalstyless: css({
178
+ fontSize: sectionproperties.total_fontsize + 'px',
179
+ fontWeight: sectionproperties.total_fontweight,
180
+ color: sectionproperties.total_color,
181
+ textTransform: sectionproperties.total_texttransform,
182
+ }),
183
+ trash_btn: css({
184
+ width: sectionproperties.trashbtn_Width + 'px',
185
+ height: sectionproperties.trashbtn_Height + 'px',
186
+ background: sectionproperties.trashbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.trashbtn_bgColor,
187
+ color: sectionproperties.trashbtn_Textcolor,
188
+ borderRadius: sectionproperties.trashbtn_borderBottomLeftRadius + 'px',
189
+ boxShadow: sectionproperties.trashbtn_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.trashbtn_shadowcolor : '',
190
+ transition: '.3s',
191
+ opacity: sectionproperties.trashbtn_opacity,
192
+ border: sectionproperties.trashbtn_borderwidth + 'px solid ' + sectionproperties.trashbtn_bordercolor,
193
+ fontSize: sectionproperties.trashbtn_Textfontsize + 'px',
194
+ lineHeight: sectionproperties.trashbtn_Textfontsize + 'px',
195
+ // trashbtn_fontSize
196
+ ':hover': {
197
+ background: sectionproperties.trashbtn_bgColoronhover,
198
+ color: sectionproperties.trashbtn_Textcoloronhover,
199
+ opacity: sectionproperties.trashbtn_opacityonhover,
200
+ },
201
+ }),
202
+ quantitybtn: css({
203
+ width: sectionproperties.quantitybtn_width + 'px',
204
+ height: sectionproperties.quantitybtn_height + 'px',
205
+ borderRadius: sectionproperties.quantitybtn_borderradius + 'px',
206
+ background: sectionproperties.quantitybtn_bgcolor,
207
+ fontWeight: sectionproperties.quantitybtn_textfontweight,
208
+ color: sectionproperties.quantitybtn_textcolor,
209
+ fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
210
+ border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
211
+ display: 'flex',
212
+ flexDirection: 'row',
213
+ overflow: 'hidden',
214
+ alignItems: 'center',
215
+ justifyContent: 'center',
216
+ margin: 0,
217
+ position: 'relative',
218
+ }),
219
+ quantitybtn_text: css({
220
+ margin: 'auto',
221
+ }),
222
+ add_quantitybtn_icon_container: css({
223
+ position: 'relative',
224
+ width: sectionproperties.add_quantitybtn_width + 'px',
225
+ height: sectionproperties.add_quantitybtn_height + 'px',
226
+ background: sectionproperties.add_quantitybtn_bgcolor,
227
+ display: 'flex',
228
+ alignItems: 'center',
229
+ justifyContent: 'center',
230
+ borderRadius: sectionproperties.add_quantitybtn_borderradius + 'px',
231
+ fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
232
+ color: sectionproperties.add_quantitybtn_textcolor,
233
+ transition: '.3s',
234
+ ':hover': {
235
+ color: sectionproperties.add_quantitybtn_textcoloronhover,
236
+ background: sectionproperties.add_quantitybtn_bgcoloronhover,
237
+ },
238
+ }),
239
+ minus_quantitybtn_icon_container: css({
240
+ position: 'relative',
241
+ width: sectionproperties.remove_quantitybtn_width + 'px',
242
+ height: sectionproperties.remove_quantitybtn_height + 'px',
243
+ background: sectionproperties.remove_quantitybtn_bgcolor,
244
+ display: 'flex',
245
+ alignItems: 'center',
246
+ justifyContent: 'center',
247
+ borderRadius: sectionproperties.remove_quantitybtn_borderradius + 'px',
248
+ fontSize: sectionproperties.remove_quantitybtn_textfontsize + '25px',
249
+ color: sectionproperties.remove_quantitybtn_textcolor,
250
+ transition: '.3s',
251
+ ':hover': {
252
+ color: sectionproperties.remove_quantitybtn_textcoloronhover,
253
+ background: sectionproperties.remove_quantitybtn_bgcoloronhover,
254
+ },
255
+ }),
256
+ tableimagecont: css({
257
+ width: '70px',
258
+ height: '60px',
259
+ border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
260
+ backgroundColor: sectionproperties.prodimage_bgcolor,
261
+ borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
262
+ borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
263
+ borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
264
+ borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
265
+ display: 'flex',
266
+ alignItems: 'center',
267
+ justifyContent: 'center',
268
+ position: 'relative',
269
+ }),
270
+ };
271
+ const [bgimagesarray, setbgimagesarray] = useState([]);
272
+ useEffect(() => {
273
+ if (sectionproperties.length != 0) {
274
+ if (sectionproperties.arrayofobjectimagesonly != null) {
275
+ var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
276
+ if (Array.isArray(arrayofobjectimagesonlyparsed)) {
277
+ setbgimagesarray([...arrayofobjectimagesonlyparsed]);
278
+ }
279
+ }
280
+ }
281
+ }, [sectionproperties]);
282
+ return (
283
+ <div className={'row m-0 w-100 d-flex justify-content-center'}>
284
+ {sectionproperties.showbgimage == 'Show' && (
285
+ <div
286
+ className="col-lg-12 p-0 d-flex justify-content-center"
287
+ style={{
288
+ cursor: bgimagesarray[0]?.IsClickable == 'Yes' ? 'pointer' : 'default',
289
+ }}
290
+ onClick={() => {
291
+ if (bgimagesarray[0]?.IsClickable == 'Yes') {
292
+ if (bgimagesarray[0]?.clickable_page_route && bgimagesarray[0]?.clickable_page_route.length != 0) {
293
+ routingcountext(bgimagesarray[0].clickable_page_route, false, '');
294
+ } else {
295
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + bgimagesarray[0].Clickable_Reference_Collection_ID);
296
+ }
297
+ }
298
+ }}
299
+ >
300
+ <div
301
+ class={sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : ''}
302
+ style={{
303
+ width: sectionproperties.image_width + 'vw',
304
+ height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'vh',
305
+ marginBottom: sectionproperties.image_mb + 'px',
306
+ position: 'relative',
307
+ }}
308
+ >
309
+ <IKImage
310
+ urlEndpoint={IKurlEndpoint}
311
+ publicKey={IKpublicKey}
312
+ path={
313
+ bgimagesarray.length != 0
314
+ ? langdetect == 'en'
315
+ ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + bgimagesarray[0]?.bgsection_image
316
+ : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + bgimagesarray[0]?.bgsection_image_ar
317
+ : ''
318
+ }
319
+ class="d-flex d-sm-none"
320
+ style={{
321
+ height: '100%',
322
+ width: '100%',
323
+ margin: 0,
324
+ padding: 0,
325
+ background: sectionproperties.image_bgcolor,
326
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
327
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
328
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
329
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
330
+ zIndex: -1,
331
+ objectFit: sectionproperties.bgcovercontain,
332
+ }}
333
+ />
334
+ <IKImage
335
+ urlEndpoint={IKurlEndpoint}
336
+ publicKey={IKpublicKey}
337
+ path={bgimagesarray.length != 0 ? (langdetect == 'en' ? bgimagesarray[0]?.bgsection_imageresponsive : bgimagesarray[0]?.bgsection_imageresponsive_ar) : ''}
338
+ class="d-none d-sm-flex"
339
+ style={{
340
+ height: '100%',
341
+ width: '100%',
342
+ margin: 0,
343
+ padding: 0,
344
+ objectFit: sectionproperties.bgcovercontainresponsive,
345
+ background: sectionproperties.image_bgcolor,
346
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
347
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
348
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
349
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
350
+ zIndex: -1,
351
+ }}
352
+ />
353
+ <div
354
+ className={' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center '}
355
+ style={{
356
+ position: 'absolute',
357
+ top: 0,
358
+ right: 0,
359
+ bottom: 0,
360
+ left: 0,
361
+ }}
362
+ >
363
+ <p
364
+ className={' m-0 p-0 '}
365
+ style={{
366
+ fontSize: sectionproperties.imagetextfontsize + 'px',
367
+ color: sectionproperties.imagetextcolor,
368
+ textTransform: sectionproperties.imagetexttextTransform,
369
+ fontWeight: sectionproperties.imagetextfontWeight,
370
+ }}
371
+ >
372
+ {lang.mycart}
373
+ </p>
374
+ </div>
375
+ </div>
376
+ </div>
377
+ )}
378
+ <div className="col-lg-12 p-0">
379
+ <div
380
+ className={'row ml-0 mr-0 d-flex justify-content-center w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2'}
381
+ style={{
382
+ marginTop: sectionproperties.marginTop + 'px',
383
+ marginBottom: sectionproperties.marginBottom + 'px',
384
+ paddingLeft: sectionproperties.paddingLeft + 'px',
385
+ paddingRight: sectionproperties.paddingRight + 'px',
386
+ paddingTop: sectionproperties.paddingTop + 'px',
387
+ paddingBottom: sectionproperties.paddingBottom + 'px',
388
+ background: sectionproperties.backgroundColor,
389
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
390
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
391
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
392
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
393
+ borderColor: sectionproperties.sectioncardbordercolor,
394
+ border: sectionproperties.sectioncardborderwidth + 'px solid',
395
+ }}
396
+ >
397
+ <div className={'col-lg-12 p-0'}>
398
+ <Staticpagesrouter currentpageprops={'Viewcart'} actions={actions} />
399
+ </div>
400
+ <div className={'col-lg-12 d-flex w-100 p-0'}>
401
+ <div className="row m-0 w-100">
402
+ <div className={langdetect == 'en' ? 'col-lg-9 pr-0' : 'col-lg-9 pl-0'}>
403
+ <div className={' row m-0 w-100 p-sm-3 '} style={{ background: 'white', padding: '20px', minHeight: '70vh' }}>
404
+ <div className={' col-lg-12 table_responsive p-0 '}>
405
+ <table className={'table table_thbg'}>
406
+ <thead className="" style={{ background: '#eee' }}>
407
+ <th
408
+ className={
409
+ langdetect == 'en'
410
+ ? 'text-left font-weight-500 font-14 text-light mw-150 mw-md-300'
411
+ : 'text-right font-weight-500 font-14 text-light mw-150 mw-md-300'
412
+ }
413
+ >
414
+ {lang.productname}
415
+ </th>
416
+ <th className="text-center font-weight-500 font-14 text-uppercase text-light" style={{ minWidth: '200px' }}>
417
+ {lang.price}
418
+ </th>
419
+ <th className="text-capitalize text-center font-weight-500 font-14 text-uppercase text-light">{lang.quantity}</th>
420
+ <th className="text-capitalize text-center font-weight-500 font-14 text-uppercase text-light" style={{ minWidth: '100px' }}>
421
+ {lang.total}
422
+ </th>
423
+ <th className="text-capitalize text-center font-weight-500 font-14 text-uppercase text-light">{lang.remove}</th>
424
+ </thead>
425
+ <tbody>
426
+ {/* {fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems.map((item, index) => { */}
427
+ {fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.map((item, index) => {
428
+ return (
429
+ <tr className="border-none">
430
+ <td className="mw-150 mw-md-300">
431
+ <div className="row m-0 w-100 d-flex">
432
+ <div className={`${viewcart_cssstyles.tableimagecont}`}>
433
+ <IKImage
434
+ urlEndpoint={IKurlEndpoint}
435
+ publicKey={IKpublicKey}
436
+ path={item.productinfo.hasvariants == 0 ? item.productinfo.productmainimage : item.productinfo.variantinfo.variantimageurl}
437
+ style={{
438
+ width: '100%',
439
+ height: '100%',
440
+ objectFit: 'contain',
441
+ }}
442
+ loading="lazy"
443
+ />
444
+ </div>
445
+ <div className="col-lg-8 col-sm-8 col-md-8">
446
+ <p
447
+ className={`${viewcart_cssstyles.productNameStyles}` + ' m-0 p-0 wordbreak wordbreak3 d-flex justify-content-start '}
448
+ style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}
449
+ >
450
+ {langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar}
451
+ </p>
452
+ {item.productinfo.hasvariants == 1 &&
453
+ item.productinfo.variantinfo.variantoptions.map((variantitem, variantindex) => {
454
+ return (
455
+ <div className="col-lg-12 col-md-12 col-sm-12 p-0 d-flex">
456
+ <p
457
+ className={
458
+ 'text-capitalize text-dark m-0 p-0 font-weight-400 font-13 m-0 p-0 wordbreak d-flex align-items-center justify-content-start '
459
+ }
460
+ >
461
+ {variantitem.optionname}: {variantitem.optionvalue}
462
+ </p>
463
+ </div>
464
+ );
465
+ })}
466
+ </div>
467
+ </div>
468
+ </td>
469
+ <td style={{ minWidth: '200px' }}>
470
+ {item.productinfo.hasvariants == 0 && (
471
+ <div className="row m-0 w-100 d-flex flex-column justify-content-center">
472
+ {item.productinfo.hassale == 0 && (
473
+ <div className="col-lg-12 p-0 d-flex justify-content-center">
474
+ <p
475
+ className={
476
+ `${viewcart_cssstyles.productPricestyles}` +
477
+ ' m-0 p-0 wordbreak d-flex align-items-center justify-content-center '
478
+ }
479
+ >
480
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {item.productinfo.defaultprice}{' '}
481
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
482
+ </p>
483
+ </div>
484
+ )}
485
+ {item.productinfo.hassale == 1 && (
486
+ <div className="row m-0 w-100 d-flex flex-column justify-content-center">
487
+ <div className="col-lg-12 p-0 d-flex justify-content-center">
488
+ <p
489
+ className={
490
+ `${viewcart_cssstyles.productPricestyles}` +
491
+ ' m-0 p-0 wordbreak d-flex align-items-center justify-content-center '
492
+ }
493
+ >
494
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {item.productinfo.defaultsaleprice}
495
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
496
+ </p>
497
+ </div>
498
+ <div className="col-lg-12 p-0 d-flex justify-content-center">
499
+ <p
500
+ className={
501
+ `${viewcart_cssstyles.Salepricestyless}` +
502
+ ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-center '
503
+ }
504
+ >
505
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {item.productinfo.defaultprice}{' '}
506
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
507
+ </p>
508
+ </div>
509
+ </div>
510
+ )}
511
+ </div>
512
+ )}
513
+ {item.productinfo.hasvariants == 1 && (
514
+ <div className="row m-0 w-100 d-flex flex-column justify-content-center">
515
+ {item.productinfo.variantinfo.hassale == 0 && (
516
+ <div className="col-lg-12 p-0 d-flex justify-content-center">
517
+ <p
518
+ className={
519
+ `${viewcart_cssstyles.productPricestyles}` +
520
+ ' m-0 p-0 wordbreak d-flex align-items-center justify-content-center '
521
+ }
522
+ >
523
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {item.productinfo.variantinfo.variantprice}{' '}
524
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
525
+ </p>
526
+ </div>
527
+ )}
528
+ {item.productinfo.variantinfo.hassale == 1 && (
529
+ <div className="row m-0 w-100 d-flex flex-column justify-content-center">
530
+ <div className="col-lg-12 p-0 d-flex justify-content-center">
531
+ <p
532
+ className={
533
+ `${viewcart_cssstyles.productPricestyles}` +
534
+ ' m-0 p-0 wordbreak d-flex align-items-center justify-content-center '
535
+ }
536
+ >
537
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {item.productinfo.variantinfo.variantsaleprice}
538
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
539
+ </p>
540
+ </div>
541
+ <div className="col-lg-12 p-0 d-flex justify-content-center">
542
+ <p
543
+ className={
544
+ `${viewcart_cssstyles.Salepricestyless}` +
545
+ ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-center '
546
+ }
547
+ >
548
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {item.productinfo.variantinfo.variantprice}{' '}
549
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
550
+ </p>
551
+ </div>
552
+ </div>
553
+ )}
554
+ </div>
555
+ )}
556
+ </td>
557
+ <td className="text-center">
558
+ <div className="row m-0 w-100 d-flex align-items-center justify-content-center">
559
+ {/* {AddtoCartMutationContext.isLoading && <CircularProgress color="black" width="25px" height="25px" />} */}
560
+ {/* {!AddtoCartMutationContext.isLoading && ( */}
561
+ <button className={` ${viewcart_cssstyles.quantitybtn}` + ' p-0 d-flex align-items-center justify-content-center '}>
562
+ <span
563
+ className={`${viewcart_cssstyles.minus_quantitybtn_icon_container}` + ' m-1 '}
564
+ onClick={() => {
565
+ ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
566
+ }}
567
+ >
568
+ <i
569
+ className="fa fa-chevron-down"
570
+ style={{
571
+ fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
572
+ }}
573
+ ></i>
574
+ </span>
575
+ <span
576
+ className={`${viewcart_cssstyles.quantitybtn_text}` + ' d-flex align-items-center justify-content-center '}
577
+ style={{
578
+ background: sectionproperties.quantbtntextbgcolor,
579
+ width: sectionproperties.quantitybtntextwidth + 'px',
580
+ height: sectionproperties.quantitybtntextheight + 'px',
581
+ borderRadius: sectionproperties.addquantitytextborderraduis + 'px',
582
+ }}
583
+ >
584
+ {item.quantity}
585
+ </span>
586
+ <span
587
+ className={`${viewcart_cssstyles.add_quantitybtn_icon_container}` + ' m-1 '}
588
+ onClick={() => {
589
+ ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
590
+ }}
591
+ >
592
+ <i
593
+ className="fa fa-chevron-up"
594
+ style={{
595
+ fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
596
+ }}
597
+ ></i>
598
+ </span>
599
+ </button>
600
+ {/* )} */}
601
+ </div>
602
+ </td>
603
+ <td className="text-center" style={{ minWidth: '100px' }}>
604
+ <p className={`${viewcart_cssstyles.productPricestyles}` + ' m-0 p-0 '}>
605
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : authdetailsContext?.currencyname_ar}{' '}
606
+ {item.productinfo.cartitemtotalprice}
607
+ </p>
608
+ </td>
609
+ <td className="text-center">
610
+ <button
611
+ className={` ${viewcart_cssstyles.trash_btn}` + ' d-flex align-items-center justify-content-center text-uppercase m-auto '}
612
+ onClick={() => {
613
+ deletecartitemContext(item);
614
+ }}
615
+ >
616
+ {lang.remove}
617
+ </button>
618
+ </td>
619
+ </tr>
620
+ );
621
+ })}
622
+ </tbody>
623
+ </table>
624
+ </div>
625
+ {fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems.length == 0 && (
626
+ <div className="row m-0 w-100 d-flex align-items-center justify-content-center h-100 pt-5 pb-5" style={{ height: '50vh' }}>
627
+ <div className={' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '}>
628
+ <img src={shoppingcart} style={{ maxWidth: '250px', maxHeight: '250px' }} />
629
+ <p className="m-0 p-0 wordbreak" style={{ fontSize: '15px' }}>
630
+ {lang.emptyshoppingcart}
631
+ </p>
632
+ </div>
633
+ </div>
634
+ )}
635
+ </div>
636
+ </div>
637
+ <div className={langdetect == 'en' ? ' col-lg-3 pr-0 ' : ' col-lg-3 pl-0 '}>{Summary()}</div>
638
+ </div>
639
+ </div>
640
+ </div>
641
+ {/* <div className="col-lg-12 d-flex align-items-center justify-content-center p-0">
642
+ {pageindexcontext.length != 0 && Object.keys(StatePagePropertiesContext).length != 0 && (
643
+ <div className={generalstyles.app_container + ' w-100 '} style={{ position: 'relative' }}>
644
+ {StatePagePropertiesContext.pageobj.sections.map((item, index) => {
645
+ if (item.tabexsectioninfo != null && TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname] != undefined && item.componenttype == 'section') {
646
+ var sectioncomp = TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname];
647
+ return (
648
+ <div className="row w-100 ml-0 mr-0 d-flex justify-content-center p-0">
649
+ {item.tabexsectioninfo.sectiontype == 'Cards' && (
650
+ <ProductsCardsSectionContext_Provider>
651
+ {React.createElement(sectioncomp, {
652
+ sectionidprops: item.sectionid,
653
+ sectionindexprops: index,
654
+ srcfromprops: 'GeneralProductsComponent',
655
+ collectionidprops: collectionidparams,
656
+ })}
657
+ </ProductsCardsSectionContext_Provider>
658
+ )}
659
+ {item.tabexsectioninfo.sectiontype != 'Cards' && React.createElement(sectioncomp, { sectionidprops: item.sectionid, sectionindexprops: index })}
660
+ </div>
661
+ );
662
+ }
663
+ })}
664
+ </div>
665
+ )}
666
+ </div> */}
667
+ </div>
668
+ </div>
669
+ );
670
+ };
671
+ export default Viewcart;