tabexseriescomponents 0.0.225 → 0.0.227

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