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,543 +0,0 @@
1
- import React, { useEffect, useState, useContext } from 'react';
2
- import { css } from 'glamor';
3
- import { IKImage } from 'imagekitio-react';
4
- import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
5
-
6
- import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
7
- import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
8
- import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
9
- import { FaHeart } from '@react-icons/all-files/fa/FaHeart';
10
- import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
11
- import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
12
- import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
13
- import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
14
- import { BsBag } from '@react-icons/all-files/bs/BsBag';
15
- import { RiHandbagLine } from '@react-icons/all-files/ri/RiHandbagLine';
16
- import { IoIosArrowUp } from '@react-icons/all-files/io/IoIosArrowUp';
17
-
18
- const MenuCard = (props) => {
19
- const [sectionproperties, setsectionproperties] = useState('');
20
- const [item, setitem] = useState(props.cardinfoitemprops);
21
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
22
- const lang = props.actions.lang;
23
- const langdetect = props.actions.langdetect;
24
- const setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
25
- const addtofavoritescontext = props.actions.addtofavoritescontext;
26
- const setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
27
- const AddtoCartContext = props.actions.AddtoCartContext;
28
- const AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
29
- const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
30
- const routingcountext = props.actions.routingcountext;
31
- const cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
32
-
33
- const NotificationManager = NotificationManager;
34
-
35
- const updatequantity = (type) => {
36
- var tempitem = { ...item };
37
- tempitem.quantity = parseInt(tempitem.quantity);
38
- if (type == 'add') {
39
- tempitem.quantity = tempitem.quantity + 1;
40
- } else if (type == 'remove') {
41
- tempitem.quantity = tempitem.quantity - 1;
42
- }
43
- if (tempitem.quantity <= 0) {
44
- tempitem.quantity = 0;
45
- }
46
- setitem({ ...tempitem });
47
- };
48
- useEffect(() => {
49
- if (props.srcfrom == 'addsectionform') {
50
- var secpropobj = {};
51
- props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
52
- secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
53
- });
54
-
55
- setsectionproperties({ ...secpropobj });
56
- } else {
57
- var secpropobj = {};
58
- StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
59
- if (sectionitem.sectionid == props.sectionidprops) {
60
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
61
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
62
- });
63
- }
64
- });
65
- setsectionproperties({ ...secpropobj });
66
- }
67
- }, [StatePagePropertiesContext]);
68
- useEffect(() => {
69
- setitem(props.cardinfoitemprops);
70
- }, [props.cardinfoitemprops]);
71
- const plainString = (html) => {
72
- var divContainer = document.createElement('div');
73
- divContainer.innerHTML = html;
74
- return divContainer.textContent || divContainer.innerText || '';
75
- };
76
- const addtocartfunc = () => {
77
- const addtocardpayloadobj = {
78
- functype: 'add',
79
- productid: item.productid,
80
- variantid: '',
81
- quantity: item.quantity,
82
- };
83
- var runfunc = false;
84
- if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
85
- if (item.hasvariants == 1) {
86
- if (addtocardpayloadobj.variantid.length != 0) {
87
- runfunc = true;
88
- } else {
89
- NotificationManager.warning('', 'Please Choose Product Options');
90
- }
91
- } else {
92
- runfunc = true;
93
- }
94
- } else {
95
- NotificationManager.warning('', 'Please Choose Quantity');
96
- }
97
-
98
- if (runfunc == true) {
99
- AddtoCartContext(addtocardpayloadobj);
100
- }
101
- };
102
-
103
- const card_cssstyles = {
104
- productcard: css({
105
- background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
106
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
107
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
108
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
109
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
110
- marginTop: sectionproperties.marginTop + 'px',
111
- marginBottom: sectionproperties.marginBottom + 'px',
112
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
113
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
114
- paddingTop: sectionproperties.paddingTop + 'px',
115
- paddingBottom: sectionproperties.paddingBottom + 'px',
116
- borderBottom:
117
- sectionproperties.border == 'border bottom' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
118
- borderLeft:
119
- sectionproperties.border == 'border left' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
120
- borderRight:
121
- sectionproperties.border == 'border right' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
122
- borderTop: sectionproperties.border == 'border top' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
123
- border: sectionproperties.border == 'all' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
124
- transition: '.3s',
125
- color: sectionproperties.prodNameColor,
126
- }),
127
- productcardimagecont: css({
128
- position: 'relative',
129
- overflow: 'hidden',
130
- background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
131
- border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
132
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
133
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
134
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
135
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
136
- transition: '.3s',
137
- }),
138
- productNameStyles: css({
139
- fontSize: sectionproperties.prodNameFontSize + 'px',
140
- textTransform: sectionproperties.prodNameTextTranform,
141
- fontWeight: sectionproperties.prodNameFontWeight,
142
- transition: '.3s',
143
- cursor: 'pointer',
144
- ':hover': {
145
- color: sectionproperties.prodNameColorOnHover,
146
- },
147
- }),
148
- productPricestyles: css({
149
- color: sectionproperties.prodPriceColor,
150
- fontSize: sectionproperties.prodpriceFontSize + 'px',
151
- fontWeight: sectionproperties.prodPriceFontWeight,
152
- }),
153
- productSalePricestyles: css({
154
- color: sectionproperties.prodsalePriceColor,
155
- fontSize: sectionproperties.prodsalepriceFontSize + 'px',
156
- fontWeight: sectionproperties.prodsalePriceFontWeight,
157
- }),
158
- wishlist_btn: css({
159
- width: sectionproperties.favBtnWidth + 'px',
160
- height: sectionproperties.favBtnHeight + 'px',
161
- background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
162
- borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
163
- color: sectionproperties.favBtniconcolor,
164
- fontSize: sectionproperties.favBtnTextfontsize + 'px',
165
- border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
166
- transition: '.4s',
167
- ':hover': {
168
- background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
169
- color: sectionproperties.favBtnTextcoloronhover,
170
- },
171
- }),
172
- cart_btn: css({
173
- width: sectionproperties.cartBtnWidth + 'px',
174
- height: sectionproperties.cartBtnHeight + 'px',
175
- background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
176
- borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
177
- color: sectionproperties.cart_iconcolor,
178
- border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
179
- transition: '.3s',
180
- ':hover': {
181
- background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
182
- color: sectionproperties.cartBtnTextcoloronhover,
183
- },
184
- }),
185
- cart_btntxt: css({
186
- color: sectionproperties.cartBtnTextcolor,
187
- fontSize: sectionproperties.cartBtnTextfontsize + 'px',
188
- fontWeight: sectionproperties.cartBtnTextfontweight,
189
- // border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
190
- transition: '.3s',
191
- ':hover': {
192
- background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
193
- color: sectionproperties.cartBtnTextcoloronhover,
194
- },
195
- }),
196
- quantitybtn: css({
197
- flex: 1,
198
- border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
199
- height: sectionproperties.quantitybtn_height + 'px',
200
- height: '40px',
201
- display: 'flex',
202
- flexDirection: 'row',
203
- overflow: 'hidden',
204
- borderRadius: sectionproperties.quantitybtn_borderradius + 'px',
205
- background: sectionproperties.quantitybtn_bgcolor,
206
- alignItems: 'center',
207
- justifyContent: 'center',
208
- margin: 0,
209
- position: 'relative',
210
- fontWeight: sectionproperties.quantitybtn_textfontweight,
211
- color: sectionproperties.quantitybtn_textcolor,
212
- fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
213
- }),
214
- quantitybtn_text: css({
215
- margin: 'auto',
216
- }),
217
- add_quantitybtn_icon_container: css({
218
- position: 'relative',
219
- width: sectionproperties.add_quantitybtn_width + 'px',
220
- height: sectionproperties.add_quantitybtn_height + 'px',
221
- background: sectionproperties.add_quantitybtn_bgcolor,
222
- display: 'flex',
223
- alignItems: 'center',
224
- justifyContent: 'center',
225
- borderRadius: sectionproperties.add_quantitybtn_borderradius + 'px',
226
- fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
227
- color: sectionproperties.add_quantitybtn_textcolor,
228
- transition: '.3s',
229
- ':hover': {
230
- color: sectionproperties.add_quantitybtn_textcoloronhover,
231
- background: sectionproperties.add_quantitybtn_bgcoloronhover,
232
- },
233
- }),
234
- minus_quantitybtn_icon_container: css({
235
- position: 'relative',
236
- width: sectionproperties.remove_quantitybtn_width + 'px',
237
- height: sectionproperties.remove_quantitybtn_height + 'px',
238
- background: sectionproperties.remove_quantitybtn_bgcolor,
239
- display: 'flex',
240
- alignItems: 'center',
241
- justifyContent: 'center',
242
- borderRadius: sectionproperties.remove_quantitybtn_borderradius + 'px',
243
- fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
244
- color: sectionproperties.remove_quantitybtn_textcolor,
245
- transition: '.3s',
246
- ':hover': {
247
- color: sectionproperties.remove_quantitybtn_textcoloronhover,
248
- background: sectionproperties.remove_quantitybtn_bgcoloronhover,
249
- },
250
- }),
251
- producttotalstyles: css({
252
- color: sectionproperties.total_color,
253
- fontSize: sectionproperties.total_fontsize + 'px',
254
- fontWeight: 500,
255
- }),
256
- productDescStyles: css({
257
- color: sectionproperties.prodCatColor,
258
- fontSize: sectionproperties.prodCatFontSize + 'px',
259
- textTransform: sectionproperties.prodCatTextTranform,
260
- fontWeight: sectionproperties.prodCatFontWeight,
261
- transition: '.3s',
262
- marginLeft: sectionproperties.description_marginLeft + 'px',
263
- marginRight: sectionproperties.description_marginRight + 'px',
264
- marginBottom: sectionproperties.descriptionMarginBottom + 'px',
265
- }),
266
- };
267
-
268
- return (
269
- <div
270
- class="row m-0 w-100 pl-sm-2 pr-sm-2"
271
- style={{
272
- paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
273
- paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
274
- }}
275
- >
276
- {sectionproperties.length != 0 && (
277
- <div class={`${card_cssstyles.productcard}` + ' w-100 pl-sm-0 pr-sm-0 '}>
278
- <div class="row w-100 m-0 d-flex">
279
- {sectionproperties.image_show == 'show' && (
280
- <div
281
- onClick={() => {
282
- if (props.fetchingtypeprops == 'collections') {
283
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
284
- } else {
285
- routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
286
- }
287
- }}
288
- class={
289
- langdetect == 'en'
290
- ? `${card_cssstyles.productcardimagecont}` + ' d-flex justify-content-start mr-2 '
291
- : `${card_cssstyles.productcardimagecont}` + ' d-flex justify-content-start ml-2 '
292
- }
293
- style={{
294
- height: sectionproperties.image_height + 'px',
295
- width: sectionproperties.image_width + 'px',
296
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
297
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
298
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
299
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
300
- overflow: 'hidden',
301
- cursor: 'pointer',
302
- }}
303
- >
304
- <IKImage
305
- urlEndpoint={IKurlEndpoint}
306
- publicKey={IKpublicKey}
307
- path={item.image}
308
- loading="lazy"
309
- style={{
310
- width: '100%',
311
- height: '100%',
312
- objectFit: 'cover',
313
- cursor: 'pointer',
314
- }}
315
- />
316
- </div>
317
- )}
318
-
319
- <div style={{ flex: 1 }}>
320
- <div class="row w-100 m-0">
321
- <div class="col-lg-9 col-md-9 col-sm-12 pl-1 pr-1 mt-2 p-0">
322
- <div class="row w-100 m-0">
323
- {sectionproperties.prodNameShow == 'Show' && (
324
- <div
325
- onClick={() => {
326
- cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
327
- }}
328
- class="col-lg-12 p-0 "
329
- >
330
- <p
331
- class={`${card_cssstyles.productNameStyles}` + ' font-md-15 wordbreak wordbreak1 m-0 '}
332
- style={{
333
- textAlign: langdetect == 'en' ? 'left' : 'right',
334
- }}
335
- >
336
- {item.name}
337
- </p>
338
- </div>
339
- )}
340
- {sectionproperties.prodCatShow == 'Show' && (
341
- <p
342
- class={`${card_cssstyles.productDescStyles}` + ' col-lg-12 mt-2 mb-1 wordbreak wordbreak2 p-0 '}
343
- style={{
344
- textAlign: langdetect == 'en' ? 'left' : 'right',
345
- }}
346
- >
347
- {plainString(langdetect == 'en' ? item.description_en : item.description_ar)}
348
- </p>
349
- )}
350
- </div>
351
- </div>
352
- <div style={{ display: 'flex', flexDirection: 'column', alignContent: 'space-between' }} class="col-lg-3 col-md-3 col-sm-12 mt-2 p-0">
353
- <div class="row m-0 w-100 d-flex flex-column flex-sm-row justify-content-end justify-content-sm-start">
354
- {sectionproperties.prodPriceShow == 'Show' && (
355
- <p
356
- class={
357
- langdetect == 'en'
358
- ? `${card_cssstyles.productPricestyles}` + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left '
359
- : `${card_cssstyles.productPricestyles}` + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
360
- }
361
- >
362
- {langdetect == 'en' ? 'EGP' : ''} {item.hassale == 1 ? item.defaultsaleprice : item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
363
- </p>
364
- )}
365
- {sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && (
366
- <p
367
- class={
368
- langdetect == 'en'
369
- ? `${card_cssstyles.productSalePricestyles}` +
370
- ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3 '
371
- : `${card_cssstyles.productSalePricestyles}` +
372
- ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right ml-sm-3 mr-sm-3 '
373
- }
374
- >
375
- {langdetect == 'en' ? 'EGP' : ''} {item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
376
- </p>
377
- )}
378
- </div>
379
-
380
- {sectionproperties.quantitybtn_show == 'hide' && sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Show' && (
381
- <div class="row m-0 mt-auto w-100">
382
- <div class="col-lg-12 d-flex justify-content-end p-0">
383
- <button
384
- class={`${card_cssstyles.cart_btn}` + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center '}
385
- onClick={() => {
386
- if (item.hasvariants == 0) {
387
- addtocartfunc();
388
- } else {
389
- setShowProductInfoModalContext(true);
390
- setProductIdProdutInfoModalContext(item.productid);
391
- }
392
- }}
393
- >
394
- <i class={'h-100 d-flex align-items-center justify-content-center'}>
395
- {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
396
- {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
397
- {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
398
- {sectionproperties.carticonstyle == 'Shopping bag 4' && <RiHandbagLine size={sectionproperties.cartBtn_iconFontSize} />}
399
- {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart class="" size={sectionproperties.cartBtn_iconFontSize} />}
400
- {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
401
- </i>
402
- </button>
403
- </div>
404
- </div>
405
- )}
406
- </div>
407
- <div class="col-lg-12 mt-1 p-0">
408
- <div class="row w-100 m-0">
409
- <div class="col-lg-6 col-md-6 col-sm-6 p-0 d-flex align-items-center justify-content-start">
410
- {sectionproperties.quantitybtn_show == 'show' && (
411
- <div
412
- style={{ width: sectionproperties.quantitybtn_width + 'px', height: sectionproperties.quantitybtn_height + 'px' }}
413
- class={' row m-0 d-flex align-items-center '}
414
- >
415
- <button class={`${card_cssstyles.quantitybtn}` + ' p-0 d-flex align-items-center justify-content-center '}>
416
- {langdetect == 'en' && (
417
- <span
418
- class={`${card_cssstyles.minus_quantitybtn_icon_container}` + ' m-1 '}
419
- style={{ transform: ' rotate(-180deg)' }}
420
- onClick={() => {
421
- updatequantity('remove');
422
- }}
423
- >
424
- <i class="h-100 allcentered">
425
- <IoIosArrowUp />
426
- </i>
427
- </span>
428
- )}
429
- {langdetect == 'ar' && (
430
- <span
431
- class={`${card_cssstyles.add_quantitybtn_icon_container}` + ' m-1 '}
432
- onClick={() => {
433
- updatequantity('add');
434
- }}
435
- >
436
- <i class="h-100 allcentered">
437
- <IoIosArrowUp />
438
- </i>
439
- </span>
440
- )}
441
- <span
442
- class={`${card_cssstyles.quantitybtn_text}` + ' d-flex align-items-center justify-content-center '}
443
- style={{
444
- background: sectionproperties.quantbtntextbgcolor,
445
- width: sectionproperties.quantitybtntextwidth + 'px',
446
- height: sectionproperties.quantitybtntextheight + 'px',
447
- borderRadius: sectionproperties.addquantitytextborderraduis + 'px',
448
- }}
449
- >
450
- {item.quantity}
451
- </span>
452
- {langdetect == 'ar' && (
453
- <span
454
- class={`${card_cssstyles.minus_quantitybtn_icon_container}` + ' m-1 '}
455
- style={{ transform: ' rotate(-180deg)' }}
456
- onClick={() => {
457
- updatequantity('remove');
458
- }}
459
- >
460
- <i class="h-100 allcentered">
461
- <IoIosArrowUp />
462
- </i>
463
- </span>
464
- )}
465
- {langdetect == 'en' && (
466
- <span
467
- class={`${card_cssstyles.add_quantitybtn_icon_container}` + ' m-1 '}
468
- onClick={() => {
469
- updatequantity('add');
470
- }}
471
- >
472
- <i class="h-100 allcentered">
473
- <IoIosArrowUp />
474
- </i>
475
- </span>
476
- )}
477
- </button>
478
- </div>
479
- )}
480
- </div>
481
- <div class="col-lg-6 col-md-6 col-sm-6 p-0 d-flex align-items-center justify-content-end">
482
- {sectionproperties.favBtnShow == 'Show' && (
483
- <button
484
- class={card_cssstyles.wishlist_btn + ' ml-2 mr-2'}
485
- onClick={() => {
486
- addtofavoritescontext(item.productid);
487
- }}
488
- style={{
489
- background: item.IsFavExists == true ? sectionproperties.activebgcolor : '',
490
- }}
491
- >
492
- {item.IsFavExists && (
493
- <i class="h-100 d-flex align-items-center justify-content-center">
494
- {sectionproperties.faviconshape == 'Star Shape' && (
495
- <AiFillStar size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />
496
- )}
497
- {sectionproperties.faviconshape == 'Heart Shape' && (
498
- <FaHeart size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />
499
- )}
500
- </i>
501
- )}
502
- {!item.IsFavExists && (
503
- <i class="h-100 d-flex align-items-center justify-content-center">
504
- {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
505
- {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
506
- </i>
507
- )}
508
- </button>
509
- )}
510
- {sectionproperties.cartBtnShow == 'Show' && sectionproperties.favBtnShow == 'Show' && sectionproperties.quantitybtn_show == 'show' && (
511
- <button
512
- class={`${card_cssstyles.cart_btn}` + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center '}
513
- onClick={() => {
514
- if (item.hasvariants == 0) {
515
- addtocartfunc();
516
- } else {
517
- setShowProductInfoModalContext(true);
518
- setProductIdProdutInfoModalContext(item.productid);
519
- }
520
- }}
521
- >
522
- <i class={'h-100 d-flex align-items-center justify-content-center'}>
523
- {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
524
- {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
525
- {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
526
- {sectionproperties.carticonstyle == 'Shopping bag 4' && <RiHandbagLine size={sectionproperties.cartBtn_iconFontSize} />}
527
- {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart class="" size={sectionproperties.cartBtn_iconFontSize} />}
528
- {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
529
- </i>
530
- </button>
531
- )}
532
- </div>
533
- </div>
534
- </div>
535
- </div>
536
- </div>
537
- </div>
538
- </div>
539
- )}
540
- </div>
541
- );
542
- };
543
- export default MenuCard;