tabexseriescomponents 0.0.73 → 0.0.74

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 (211) hide show
  1. package/dist/index.cjs.js +337 -225
  2. package/dist/index.esm.js +343 -231
  3. package/dist/index.umd.js +340 -229
  4. package/package.json +1 -1
  5. package/src-aya/Contexts/LanguageContext.jsx +0 -369
  6. package/src-aya/Contexts/ProductsCardsSectionContext.jsx +0 -28
  7. package/src-aya/StylesJS/Customstyles.js +0 -235
  8. package/src-aya/TabexComponents/Cards/Card20/Card20.jsx +0 -288
  9. package/src-aya/TabexComponents/Cards/Card21/Card21.jsx +0 -386
  10. package/src-aya/TabexComponents/Cards/Card22/Card22.jsx +0 -289
  11. package/src-aya/TabexComponents/Cards/Card23/Card23.jsx +0 -355
  12. package/src-aya/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -393
  13. package/src-aya/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -168
  14. package/src-aya/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -243
  15. package/src-aya/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -202
  16. package/src-aya/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -174
  17. package/src-aya/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -182
  18. package/src-aya/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -158
  19. package/src-aya/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -189
  20. package/src-aya/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -150
  21. package/src-aya/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -271
  22. package/src-aya/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -538
  23. package/src-aya/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -491
  24. package/src-aya/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -469
  25. package/src-aya/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -257
  26. package/src-aya/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -272
  27. package/src-aya/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -295
  28. package/src-aya/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -289
  29. package/src-aya/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
  30. package/src-aya/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -288
  31. package/src-aya/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -328
  32. package/src-aya/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -509
  33. package/src-aya/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -272
  34. package/src-aya/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
  35. package/src-aya/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -133
  36. package/src-aya/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -125
  37. package/src-aya/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -292
  38. package/src-aya/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -336
  39. package/src-aya/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -429
  40. package/src-aya/TabexComponents/Footer/Footer1/Footer1.jsx +0 -416
  41. package/src-aya/TabexComponents/Footer/Footer2/Footer2.jsx +0 -381
  42. package/src-aya/TabexComponents/Footer/Footer3/Footer3.jsx +0 -302
  43. package/src-aya/TabexComponents/Footer/Footer4/Footer4.jsx +0 -437
  44. package/src-aya/TabexComponents/Footer/Footer5/Footer5.jsx +0 -488
  45. package/src-aya/TabexComponents/Footer/Footer6/Footer6.jsx +0 -286
  46. package/src-aya/TabexComponents/Footer/Footer7/Footer7.jsx +0 -370
  47. package/src-aya/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -231
  48. package/src-aya/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  49. package/src-aya/TabexComponents/Generalfiles/images/noimage.png +0 -0
  50. package/src-aya/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  51. package/src-aya/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  52. package/src-aya/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  53. package/src-aya/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  54. package/src-aya/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  55. package/src-aya/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  56. package/src-aya/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  57. package/src-aya/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  58. package/src-aya/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  59. package/src-aya/TabexComponents/Generalfiles/images/usflag.png +0 -0
  60. package/src-aya/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  61. package/src-aya/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -822
  62. package/src-aya/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -841
  63. package/src-aya/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -677
  64. package/src-aya/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -707
  65. package/src-aya/TabexComponents/Headers/Header4/Header4.jsx +0 -614
  66. package/src-aya/TabexComponents/Headers/Header6/Header6.jsx +0 -631
  67. package/src-aya/TabexComponents/Headers/Header8/Header8.jsx +0 -815
  68. package/src-aya/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -709
  69. package/src-aya/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -770
  70. package/src-aya/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -669
  71. package/src-aya/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -919
  72. package/src-aya/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -687
  73. package/src-aya/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -813
  74. package/src-aya/TabexComponents/Headers/Subheader/Subheader.jsx +0 -248
  75. package/src-aya/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -926
  76. package/src-aya/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -168
  77. package/src-aya/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -346
  78. package/src-aya/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -304
  79. package/src-aya/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -312
  80. package/src-aya/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -271
  81. package/src-aya/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -130
  82. package/src-aya/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -200
  83. package/src-aya/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -153
  84. package/src-aya/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -295
  85. package/src-aya/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -409
  86. package/src-aya/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -768
  87. package/src-aya/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -483
  88. package/src-aya/TabexComponents/Sections/Cards/CardsSection7/CardsSection7.jsx +0 -663
  89. package/src-aya/TabexComponents/Sections/Cards/CardsSection8/CardsSection8.js +0 -419
  90. package/src-aya/TabexComponents/Sections/Cards/Cardsection10/Arrows.js +0 -94
  91. package/src-aya/TabexComponents/Sections/Cards/Cardsection10/Cardsection10.js +0 -741
  92. package/src-aya/TabexComponents/Sections/Cards/Cardsection100/Cardsection10.js +0 -430
  93. package/src-aya/TabexComponents/Sections/Cards/Cardsection100/burger.jpg +0 -0
  94. package/src-aya/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -473
  95. package/src-aya/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -523
  96. package/src-aya/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -502
  97. package/src-aya/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -276
  98. package/src-aya/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -160
  99. package/src-aya/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -176
  100. package/src-aya/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -139
  101. package/src-aya/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -140
  102. package/src-aya/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -201
  103. package/src-aya/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -125
  104. package/src-aya/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -226
  105. package/src-aya/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -149
  106. package/src-aya/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -139
  107. package/src-aya/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -215
  108. package/src-aya/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -202
  109. package/src-aya/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.js +0 -91
  110. package/src-aya/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -277
  111. package/src-aya/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -260
  112. package/src-aya/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -458
  113. package/src-aya/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -216
  114. package/src-aya/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -1220
  115. package/src-aya/TabexComponents/StaticPages/Filter/Filter.jsx +0 -542
  116. package/src-aya/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -51
  117. package/src-aya/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
  118. package/src-aya/TabexComponents/StaticPages/Login/Login.jsx +0 -283
  119. package/src-aya/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.js +0 -192
  120. package/src-aya/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1271
  121. package/src-aya/TabexComponents/StaticPages/Policies/Policies.jsx +0 -353
  122. package/src-aya/TabexComponents/StaticPages/Productinfo/Iteminfo.js +0 -1287
  123. package/src-aya/TabexComponents/StaticPages/Productinfo/Productinfo.js +0 -710
  124. package/src-aya/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -1457
  125. package/src-aya/TabexComponents/StaticPages/Productinfo/Serviceinfo.js +0 -804
  126. package/src-aya/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -206
  127. package/src-aya/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -791
  128. package/src-aya/TabexComponents/StaticPages/Signup/Signup.jsx +0 -155
  129. package/src-aya/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -279
  130. package/src-aya/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -1048
  131. package/src-aya/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -606
  132. package/src-aya/assets/images/appstore.png +0 -0
  133. package/src-aya/assets/images/cod.png +0 -0
  134. package/src-aya/assets/images/egyptflag.png +0 -0
  135. package/src-aya/assets/images/fawry.png +0 -0
  136. package/src-aya/assets/images/googleplay.png +0 -0
  137. package/src-aya/assets/images/payment.png +0 -0
  138. package/src-aya/assets/images/paymob.png +0 -0
  139. package/src-aya/assets/images/paypal.png +0 -0
  140. package/src-aya/assets/images/shoppingcart.png +0 -0
  141. package/src-aya/assets/images/usflag.png +0 -0
  142. package/src-aya/assets/images/visa.png +0 -0
  143. package/src-aya/assets/images/whatsapp.png +0 -0
  144. package/src-aya/button.jsx +0 -40
  145. package/src-aya/index.jsx +0 -222
  146. package/src-aya/styles/Home.module.css +0 -129
  147. package/src-aya/styles/cards/Categorcycard_fullimage.module.css +0 -10
  148. package/src-aya/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
  149. package/src-aya/styles/cards/Categorycard_withshapes.module.css +0 -189
  150. package/src-aya/styles/cards/ModernCardWithQuantityButton.module.css +0 -34
  151. package/src-aya/styles/cards/Productcard6.module.css +0 -9
  152. package/src-aya/styles/cards/Productcard_with_circularbg.module.css +0 -137
  153. package/src-aya/styles/cards/Productccard_with_zoominonhover.module.css +0 -51
  154. package/src-aya/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
  155. package/src-aya/styles/cards/categorycard.module.css +0 -85
  156. package/src-aya/styles/cards/categorycard3.module.css +0 -50
  157. package/src-aya/styles/cards/categorycardwithtext.module.css +0 -40
  158. package/src-aya/styles/cards/productcard_animatedbuttons.module.css +0 -127
  159. package/src-aya/styles/cards/productcard_with_textonhover.module.css +0 -12
  160. package/src-aya/styles/cards/productccard_with_imageontopleft.module.css +0 -85
  161. package/src-aya/styles/general/bootstrap.css +0 -4562
  162. package/src-aya/styles/general/dropdown.css +0 -206
  163. package/src-aya/styles/general/editorbardropdown.module.css +0 -94
  164. package/src-aya/styles/general/filter.module.css +0 -108
  165. package/src-aya/styles/general/form.module.css +0 -273
  166. package/src-aya/styles/general/general.module.css +0 -861
  167. package/src-aya/styles/general/image-gallery.css +0 -481
  168. package/src-aya/styles/general/react-accessible-accordion.module.css +0 -52
  169. package/src-aya/styles/general/react-phone-input-2.module.css +0 -927
  170. package/src-aya/styles/general/scrollbtn.module.css +0 -22
  171. package/src-aya/styles/general/slick.module.css +0 -166
  172. package/src-aya/styles/general/tabs.module.css +0 -110
  173. package/src-aya/styles/general/workplaceeditor.module.css +0 -328
  174. package/src-aya/styles/globals.css +0 -26
  175. package/src-aya/styles/headers/CTAHeader.module.css +0 -40
  176. package/src-aya/styles/headers/CategoryFeaturingHeader.module.css +0 -61
  177. package/src-aya/styles/headers/Gotoheader.module.css +0 -91
  178. package/src-aya/styles/headers/Header7.module.css +0 -50
  179. package/src-aya/styles/headers/Header_threesectionslogocentered.module.css +0 -96
  180. package/src-aya/styles/headers/Sideheader.module.css +0 -108
  181. package/src-aya/styles/headers/classicheader.module.css +0 -16
  182. package/src-aya/styles/headers/classicheaderstyles.module.css +0 -16
  183. package/src-aya/styles/headers/dropdown.css +0 -0
  184. package/src-aya/styles/headers/header4.module.css +0 -175
  185. package/src-aya/styles/headers/header5.module.css +0 -30
  186. package/src-aya/styles/headers/header6.module.css +0 -102
  187. package/src-aya/styles/headers/header_contactinfo.module.css +0 -66
  188. package/src-aya/styles/headers/headerresturant.module.css +0 -89
  189. package/src-aya/styles/headers/modernheader.module.css +0 -72
  190. package/src-aya/styles/headers/stylishheader.module.css +0 -24
  191. package/src-aya/styles/headers/subheader.module.css +0 -114
  192. package/src-aya/styles/headers/threetieredheader.module.css +0 -91
  193. package/src-aya/styles/sections/BackgroundImageWithTopContent.css +0 -4
  194. package/src-aya/styles/sections/Backgroundimage1.module.css +0 -17
  195. package/src-aya/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
  196. package/src-aya/styles/sections/Section_with_rightbgcont.module.css +0 -49
  197. package/src-aya/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
  198. package/src-aya/styles/sections/Slideshow_with_squarebg.module.css +0 -39
  199. package/src-aya/styles/staticpages/accordion.module.css +0 -9
  200. package/src-aya/styles/staticpages/cart.module.css +0 -108
  201. package/src-aya/styles/staticpages/dropdown.css +0 -196
  202. package/src-aya/styles/staticpages/filter.module.css +0 -139
  203. package/src-aya/styles/staticpages/image-gallery.css +0 -481
  204. package/src-aya/styles/staticpages/login.module.css +0 -113
  205. package/src-aya/styles/staticpages/productinfo.module.css +0 -54
  206. package/src-aya/styles/staticpages/shop.module.css +0 -191
  207. package/src-aya/styles/staticpages/signup.module.css +0 -206
  208. package/src-aya/styles/staticpages/staticroutersidenav.module.css +0 -129
  209. package/src-aya/styles/staticpages/viewcart.module.css +0 -129
  210. package/src-aya/styles/staticpages/wishlist.module.css +0 -29
  211. package/src-aya/styles.rar +0 -0
@@ -1,606 +0,0 @@
1
- import React, { useEffect, useState, useContext } from 'react';
2
- import generalstyles from '../../../styles/general/general.module.css';
3
- import wishliststyles from '../../../styles/staticpages/wishlist.module.css';
4
- import { HiOutlineTrash } from 'react-icons/hi';
5
- import { Modal } from 'react-bootstrap';
6
- import { IoMdClose } from 'react-icons/io';
7
- import { css } from 'glamor';
8
- import Staticpagesrouter from '../Staticpagesrouter/Staticpagesrouter.jsx';
9
- import shoppingcart from '../../../assets/images/shoppingcart.png';
10
- import { IKImage } from 'imagekitio-react';
11
- import { FiShoppingCart } from 'react-icons/fi';
12
- import { FiShoppingBag } from 'react-icons/fi';
13
- import { CgShoppingBag } from 'react-icons/cg';
14
- import { BsBag } from 'react-icons/bs';
15
- import { IoBagHandleOutline } from 'react-icons/io5';
16
- import { MdOutlineShoppingCart } from 'react-icons/md';
17
- import { IKpublicKey, IKurlEndpoint, serverbaselink } from '../../../../Env';
18
- const Wishlist = (props) => {
19
- const lang = props.actions.lang;
20
- const langdetect = props.actions.langdetect;
21
- const fetchFavoriteProductsQueryContext = props.actions.fetchFavoriteProductsQueryContext;
22
- const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
23
- const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
24
- const addtofavoritescontext = props.actions.addtofavoritescontext;
25
- const setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
26
- const setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
27
- const navigationstyle = props.actions.navigationstyle;
28
- const pageindexcontext = props.actions.pageindexcontext;
29
- const TabexSectionsComponentsContext = props.actions.TabexSectionsComponentsContext;
30
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
31
- const templatepropcontext = props.actions.templatepropcontext;
32
- const actions = props.actions;
33
- useEffect(() => {
34
- if (Object.keys(StatePagePropertiesContext).length != 0) {
35
- var secpropobj = {};
36
- StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
37
- secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
38
- });
39
- setsectionproperties({ ...secpropobj });
40
- }
41
- }, [StatePagePropertiesContext]);
42
- const [CurrentPageId, setCurrentPageId] = useState('');
43
- useEffect(() => {
44
- var tempFetchQueriesEngineContext = { ...FetchQueriesEngineContext };
45
- tempFetchQueriesEngineContext.fetchfavoriteproducts = true;
46
- setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
47
- }, []);
48
- const [productidchoosed, setproductidchoosed] = useState('');
49
- const [openModal, setopenModal] = useState(false);
50
- const [sectionproperties, setsectionproperties] = useState('');
51
- // useEffect(() => {
52
- // var cartindex = templatepropcontext.pagesnprop.findIndex((x) => x.staticpageid == '6219120782afc');
53
- // if (cartindex >= 0) {
54
- // setCurrentPageId(templatepropcontext.pagesnprop[cartindex].pageid);
55
- // }
56
- // }, []);
57
- useEffect(() => {
58
- if (Object.keys(StatePagePropertiesContext).length != 0) {
59
- var secpropobj = {};
60
- StatePagePropertiesContext?.pageobj?.pageproperties?.forEach(function (arrayItem, arrayindex) {
61
- secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
62
- });
63
- setsectionproperties({ ...secpropobj });
64
- }
65
- }, [StatePagePropertiesContext]);
66
- const wishlist_cssstyles = {
67
- sectiontitlespan: css({
68
- ':after': {
69
- width: sectionproperties.sectitle_lineafterwidth + '%',
70
- backgroundColor: sectionproperties.linebgcolor,
71
- },
72
- }),
73
- sectiontitlespan2: css({
74
- ':after': {
75
- width: sectionproperties.sectitle_lineafterwidth + 'px',
76
- height: '100%',
77
- backgroundColor: sectionproperties.linebgcolor,
78
- },
79
- }),
80
- pill: css({
81
- minWidth: sectionproperties.pillwidth + 'px',
82
- height: sectionproperties.pillheight + 'px',
83
- backgroundColor: sectionproperties.pillbgcolor,
84
- color: sectionproperties.pillcolor,
85
- textTransform: sectionproperties.pillcolor,
86
- fontWeight: sectionproperties.pillfontWeight,
87
- fontSize: sectionproperties.pillfontSize + 'px',
88
- borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
89
- }),
90
- productNameStyles: css({
91
- color: sectionproperties.prodNameColor,
92
- fontSize: sectionproperties.prodNameFontSize + 'px',
93
- textTransform: sectionproperties.prodNameTextTranform,
94
- fontWeight: sectionproperties.prodNameFontWeight,
95
- }),
96
- productPricestyles: css({
97
- color: sectionproperties.prodPriceColor,
98
- fontSize: sectionproperties.prodpriceFontSize + 'px',
99
- fontWeight: sectionproperties.prodPriceFontWeight,
100
- }),
101
- productsalePricestyles: css({
102
- color: sectionproperties.prodsalePriceColor,
103
- fontSize: sectionproperties.prodsalepriceFontSize + 'px',
104
- fontWeight: sectionproperties.prodsalePriceFontWeight,
105
- }),
106
- cart_btn: css({
107
- width: sectionproperties.cartBtnWidth + 'px',
108
- height: sectionproperties.cartBtnHeight + 'px',
109
- background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
110
- borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
111
- color: sectionproperties.cartBtnTextcolor,
112
- textTransform: sectionproperties.cartBtnTexttransform,
113
- fontWeight: sectionproperties.cartBtnTextfontweight,
114
- border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
115
- transition: '.3s',
116
- opacity: sectionproperties.cartbtn_opacity,
117
- ':hover': {
118
- background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
119
- color: sectionproperties.cartBtnTextcoloronhover,
120
- opacity: sectionproperties.cartbtn_opacityonhover,
121
- },
122
- }),
123
- trash_btn: css({
124
- width: sectionproperties.trashbtn_Width + 'px',
125
- height: sectionproperties.trashbtn_Height + 'px',
126
- background: sectionproperties.trashbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.trashbtn_bgColor,
127
- color: sectionproperties.trashbtn_Textcolor,
128
- borderRadius: sectionproperties.trashbtn_borderBottomLeftRadius + 'px',
129
- transition: '.3s',
130
- border: sectionproperties.trashbtn_borderwidth + 'px solid ' + sectionproperties.trashbtn_bordercolor,
131
- ':hover': {
132
- background: sectionproperties.trashbtn_bgColoronhover,
133
- color: sectionproperties.trashbtn_Textcoloronhover,
134
- },
135
- }),
136
- imagecont: css({
137
- width: '70px',
138
- height: '60px',
139
- border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
140
- backgroundColor: sectionproperties.prodimage_bgcolor,
141
- borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
142
- borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
143
- borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
144
- borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
145
- display: 'flex',
146
- alignItems: 'center',
147
- justifyContent: 'center',
148
- backgroundRepeat: 'no-repeat',
149
- backgroundSize: 'cover',
150
- backgroundPosition: 'center',
151
- position: 'relative',
152
- }),
153
- };
154
- const [bgimagesarray, setbgimagesarray] = useState([]);
155
- useEffect(() => {
156
- if (sectionproperties.length != 0) {
157
- if (sectionproperties.arrayofobjectimagesonly != null) {
158
- var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
159
- if (Array.isArray(arrayofobjectimagesonlyparsed)) {
160
- setbgimagesarray([...arrayofobjectimagesonlyparsed]);
161
- }
162
- }
163
- }
164
- }, [sectionproperties]);
165
- return (
166
- <div className={'row ml-0 mr-0 w-100'}>
167
- {sectionproperties.showbgimage == 'Show' && (
168
- <div className="col-lg-12 p-0 d-flex justify-content-center">
169
- <div
170
- style={{
171
- width: sectionproperties.image_width + 'vw',
172
- height: sectionproperties.image_height + 'vh',
173
- marginBottom: sectionproperties.image_mb + 'px',
174
- position: 'relative',
175
- }}
176
- >
177
- <IKImage
178
- urlEndpoint={IKurlEndpoint}
179
- publicKey={IKpublicKey}
180
- path={
181
- bgimagesarray.length != 0
182
- ? langdetect == 'en'
183
- ? '/tr:w-3500,h-650/' + bgimagesarray[0]?.bgsection_image
184
- : '/tr:w-3500,h-650/' + bgimagesarray[0]?.bgsection_image_ar
185
- : ''
186
- }
187
- style={{
188
- height: '100%',
189
- width: '100%',
190
- // objectFit: 'cover',
191
- margin: 0,
192
- padding: 0,
193
- background: sectionproperties.image_bgcolor,
194
- borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
195
- borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
196
- borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
197
- borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
198
- zIndex: -1,
199
- // transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)',
200
- }}
201
- />
202
- <div
203
- className={' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center '}
204
- style={{
205
- position: 'absolute',
206
- top: 0,
207
- right: 0,
208
- bottom: 0,
209
- left: 0,
210
- }}
211
- >
212
- <p
213
- className={' m-0 p-0 '}
214
- style={{
215
- fontSize: sectionproperties.imagetextfontsize + 'px',
216
- color: sectionproperties.imagetextcolor,
217
- textTransform: sectionproperties.imagetexttextTransform,
218
- fontWeight: sectionproperties.imagetextfontWeight,
219
- }}
220
- >
221
- {lang.mywishlist}
222
- </p>
223
- </div>
224
- </div>
225
- </div>
226
- )}
227
- <div className="col-lg-12 p-0">
228
- <div
229
- className={'row ml-0 mr-0 d-flex justify-content-center w-100 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2'}
230
- style={{
231
- width: sectionproperties.width + 'vw',
232
- marginTop: sectionproperties.marginTop + 'px',
233
- marginBottom: sectionproperties.marginBottom + 'px',
234
- paddingLeft: sectionproperties.paddingLeft + 'px',
235
- paddingRight: sectionproperties.paddingRight + 'px',
236
- paddingTop: sectionproperties.paddingTop + 'px',
237
- paddingBottom: sectionproperties.paddingBottom + 'px',
238
- background: sectionproperties.backgroundColor,
239
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
240
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
241
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
242
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
243
- borderColor: sectionproperties.sectioncardbordercolor,
244
- border: sectionproperties.sectioncardborderwidth + 'px solid',
245
- }}
246
- >
247
- <div className={navigationstyle == 'Side Navigation' ? (langdetect == 'en' ? 'col-lg-3 pl-0 mb-md-3 p-md-0' : 'col-lg-3 pr-0 mb-md-3 p-md-0') : 'col-lg-12 p-0'}>
248
- <Staticpagesrouter
249
- currentpageprops={'Wishlist'}
250
- actions={actions}
251
- pillpropertiesprops={{
252
- minWidth: sectionproperties.pillwidth + 'px',
253
- height: sectionproperties.pillheight + 'px',
254
- backgroundColor: sectionproperties.pillbgcolor,
255
- color: sectionproperties.pillcolor,
256
- textTransform: sectionproperties.pillcolor,
257
- fontWeight: sectionproperties.pillfontWeight,
258
- fontSize: sectionproperties.pillfontSize + 'px',
259
- borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
260
- }}
261
- />
262
- </div>
263
- <div className={navigationstyle == 'Side Navigation' ? 'col-lg-9 p-0' : 'col-lg-12 p-0'}>
264
- {fetchFavoriteProductsQueryContext.isFetching && (
265
- <div className="w-100 d-flex align-items-center justify-content-center" style={{ height: '50vh' }}>
266
- {/* <Pagepreloader /> */}
267
- </div>
268
- )}
269
- {!fetchFavoriteProductsQueryContext.isFetching && fetchFavoriteProductsQueryContext.isSuccess && (
270
- <div className="row ml-0 mr-0 w-100 ">
271
- <div className={'col-lg-12 d-flex w-100 p-0'}>
272
- {sectionproperties.pagedesign == 'Design 1 (Cards)' && (
273
- <div className={'row m-0 d-flex justify-content-center w-100'}>
274
- {sectionproperties.sectiontitlestyle == 'Line Under Text' && (
275
- <div className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0">
276
- <div className={`${generalstyles.sectiontitlecont} `}>
277
- <div
278
- className={' col-lg-12 d-flex align-items-center p-0'}
279
- style={{
280
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
281
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
282
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
283
- marginLeft: sectionproperties.sectionTitleMarginLeft + 'px',
284
- marginRight: sectionproperties.sectionTitleMarginRight + 'px',
285
- }}
286
- >
287
- <span
288
- className={`${wishlist_cssstyles.sectiontitlespan}`}
289
- style={{
290
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
291
- color: sectionproperties.sectionTitleColor,
292
-
293
- textTransform: sectionproperties.sectionTitleTextTransform,
294
- fontWeight: sectionproperties.sectionTitleFontWeight,
295
- }}
296
- >
297
- {lang.mywishlist}
298
- </span>
299
- <span className={` ${wishlist_cssstyles.pill}` + ' ml-1 mr-1 d-flex align-items-center justify-content-center '}>
300
- {fetchFavoriteProductsQueryContext.data.data.products.length}
301
- </span>
302
- </div>
303
- </div>
304
- </div>
305
- )}
306
- {sectionproperties.sectiontitlestyle == 'Line Before Text' && (
307
- <div
308
- className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0"
309
- style={{
310
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
311
- }}
312
- >
313
- <div
314
- className={`${generalstyles.sectiontitlecont2}`}
315
- style={{
316
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
317
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
318
- marginLeft: sectionproperties.sectionTitleMarginLeft + 'px',
319
- marginRight: sectionproperties.sectionTitleMarginRight + 'px',
320
- }}
321
- >
322
- <span
323
- className={`${wishlist_cssstyles.sectiontitlespan2}` + ' pl-3 '}
324
- style={{
325
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
326
- color: sectionproperties.sectionTitleColor,
327
- textTransform: sectionproperties.sectionTitleTextTransform,
328
- fontWeight: sectionproperties.sectionTitleFontWeight,
329
- }}
330
- >
331
- My
332
- <br />
333
- Wishlist:
334
- </span>
335
- <span className={` ${wishlist_cssstyles.pill}` + ' ml-1 mr-1 pl-2 pr-2 d-flex align-items-center justify-content-center mt-auto mb-2 '}>
336
- {fetchFavoriteProductsQueryContext.data.data.products.length}
337
- </span>
338
- </div>
339
- </div>
340
- )}
341
- <div className={langdetect == 'en' ? ' col-lg-12 co-md-12 pl-0 p-sm-0 ' : ' col-lg-12 co-md-12 pr-0 p-sm-0 '}>
342
- <div className="row m-0 w-100">
343
- {fetchFavoriteProductsQueryContext.data.data.products.map((item, index) => {
344
- return (
345
- <div className="col-lg-3 col-md-6 col-sm-12 mb-5">
346
- <div className={`${wishliststyles.wishlist_card}` + ' row m-0 w-100 '}>
347
- <div className="col-lg-12 d-flex align-items-center justify-content-center p-0">
348
- <div
349
- className={`${wishliststyles.image_container}`}
350
- style={{ backgroundImage: `url(${serverbaselink + item.productmainimage})` }}
351
- >
352
- <span
353
- className={`${wishliststyles.floatbtn} ${wishlist_cssstyles.trash_btn}`}
354
- onClick={() => {
355
- addtofavoritescontext(item.productid);
356
- }}
357
- >
358
- <HiOutlineTrash size={sectionproperties.trashbtn_fontSize} />
359
- </span>
360
- </div>
361
- </div>
362
- <div className="col-lg-12 d-flex align-items-center justify-content-center mt-3">
363
- <p
364
- className={
365
- `${wishlist_cssstyles.productNameStyles}` +
366
- ' wordbreak text-center m-0 p-0 d-flex align-items-center justify-content-center '
367
- }
368
- >
369
- {item.name_en}
370
- </p>
371
- </div>
372
- <div className="col-lg-12 d-flex align-items-center justify-content-center mb-2">
373
- <p className={`${wishlist_cssstyles.productPricestyles}` + ' m-0 p-0 wordbreak '}>
374
- {item.defaultsaleprice} {langdetect == 'en' ? 'EGP' : 'ج.م'}
375
- </p>
376
- <p className={`${wishlist_cssstyles.productsalePricestyles}` + ' linethrough m-0 p-0 mr-2 ml-2 wordbreak '}>
377
- {item.defaultprice} {langdetect == 'en' ? 'EGP' : 'ج.م'}
378
- </p>
379
- </div>
380
- <div className="col-lg-12 d-flex align-items-center justify-content-center p-0 ">
381
- <button
382
- className={` ${wishlist_cssstyles.cart_btn}`}
383
- onClick={() => {
384
- setShowProductInfoModalContext(true);
385
- setProductIdProdutInfoModalContext(item.productid);
386
- }}
387
- style={{
388
- fontSize: sectionproperties.cartBtnTextfontsize + 'px',
389
- }}
390
- >
391
- {lang.addtocart}
392
- </button>
393
- </div>
394
- </div>
395
- </div>
396
- );
397
- })}
398
- </div>
399
- {fetchFavoriteProductsQueryContext.data.data.products.length == 0 && (
400
- <div className="row m-0 w-100 d-flex align-items-center justify-content-center h-100" style={{ height: '50vh' }}>
401
- <div className={' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '}>
402
- <img src={shoppingcart} style={{ maxWidth: '250px', maxHeight: '250px' }} />
403
- <p className="m-0 p-0" style={{ fontSize: '15px' }}>
404
- {lang.nofavoriteproducts}
405
- </p>
406
- </div>
407
- </div>
408
- )}
409
- </div>
410
- </div>
411
- )}
412
- {sectionproperties.pagedesign == 'Design 2 (Table)' && (
413
- <div className={' row m-0 w-100 p-sm-3 '} style={{ background: 'white', padding: '20px', minHeight: '70vh' }}>
414
- <div className={' col-lg-12 table_responsive p-0 '}>
415
- <table className={'table table_thbg'}>
416
- <thead className="" style={{ background: '#eee' }}>
417
- <th
418
- className={
419
- langdetect == 'en'
420
- ? 'text-left font-weight-500 font-14 text-light mw-150 mw-md-300'
421
- : 'text-right font-weight-500 font-14 text-light mw-150 mw-md-300'
422
- }
423
- >
424
- {lang.productname}{' '}
425
- </th>
426
- <th className="text-center font-weight-500 font-14 text-light" style={{ minWidth: '200px' }}>
427
- {lang.price}
428
- </th>
429
- <th className="text-center font-weight-500 font-14 text-light" style={{ minWidth: '100px' }}>
430
- {lang.addtocart}
431
- </th>
432
- <th className="text-center font-weight-500 font-14 text-light">{lang.remove}</th>
433
- </thead>
434
- <tbody>
435
- {fetchFavoriteProductsQueryContext.data.data.products.map((item, index) => {
436
- return (
437
- <tr className="border-none">
438
- <td className="mw-150 mw-md-300">
439
- <div className="row m-0 w-100 d-flex align-items-center">
440
- <div className={`${wishlist_cssstyles.imagecont}`}>
441
- <IKImage
442
- path={item.productmainimage}
443
- style={{
444
- width: '100%',
445
- height: '100%',
446
- objectFit: 'cover',
447
- }}
448
- loading="lazy"
449
- />
450
- </div>
451
- <div className="col-lg-9 col-md-9 col-sm-8 pl-1 pr-1">
452
- <p
453
- className={
454
- `${wishlist_cssstyles.productNameStyles}` + ' m-0 p-0 wordbreak wordbreak3 d-flex justify-content-start '
455
- }
456
- >
457
- {item.name_en}
458
- </p>
459
- </div>
460
- </div>
461
- </td>
462
- <td style={{ minWidth: '200px' }}>
463
- <div className="row m-0 w-100 d-flex flex-column justify-content-center">
464
- <div className="col-lg-12 p-0 d-flex justify-content-center">
465
- <p
466
- className={
467
- `${wishlist_cssstyles.productPricestyles}` +
468
- ' m-0 p-0 wordbreak d-flex align-items-center justify-content-center '
469
- }
470
- >
471
- {langdetect == 'en' ? 'EGP' : ''} {item.defaultsaleprice}
472
- {langdetect == 'en' ? '' : 'ج.م'}
473
- </p>
474
- </div>
475
- <div className="col-lg-12 p-0 d-flex justify-content-center">
476
- <p
477
- className={
478
- `${wishlist_cssstyles.productsalePricestyles}` +
479
- ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-center '
480
- }
481
- >
482
- {langdetect == 'en' ? 'EGP' : ''} {item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
483
- </p>
484
- </div>
485
- </div>
486
- </td>
487
- <td className="text-center" style={{ minWidth: '100px' }}>
488
- <button
489
- className={`${wishlist_cssstyles.cart_btn}`}
490
- onClick={() => {
491
- setShowProductInfoModalContext(true);
492
- setProductIdProdutInfoModalContext(item.productid);
493
- }}
494
- >
495
- {sectionproperties.carticonstyle == 'Shopping bag 1' && (
496
- <FiShoppingBag className="" size={sectionproperties.cartBtn_iconFontSize} />
497
- )}
498
- {sectionproperties.carticonstyle == 'Shopping bag 2' && (
499
- <CgShoppingBag className="" size={sectionproperties.cartBtn_iconFontSize} />
500
- )}
501
- {sectionproperties.carticonstyle == 'Shopping bag 3' && (
502
- <BsBag className="" size={sectionproperties.cartBtn_iconFontSize} />
503
- )}
504
- {sectionproperties.carticonstyle == 'Shopping bag 4' && (
505
- <IoBagHandleOutline className="" size={sectionproperties.cartBtn_iconFontSize} />
506
- )}
507
- {sectionproperties.carticonstyle == 'Shopping cart 1' && (
508
- <FiShoppingCart className="" size={sectionproperties.cartBtn_iconFontSize} />
509
- )}
510
- {sectionproperties.carticonstyle == 'Shopping cart 2' && (
511
- <MdOutlineShoppingCart size={sectionproperties.cartBtn_iconFontSize} />
512
- )}
513
- </button>
514
- </td>
515
- <td className="text-center">
516
- <button
517
- className={
518
- ` ${wishlist_cssstyles.trash_btn}` +
519
- ' d-flex align-items-center justify-content-center text-uppercase font-weight-500 m-auto '
520
- }
521
- onClick={() => {
522
- addtofavoritescontext(item.productid);
523
- }}
524
- style={{
525
- fontSize: sectionproperties.trashbtn_Textfontsize + 'px',
526
- }}
527
- >
528
- {lang.remove}
529
- </button>
530
- </td>
531
- </tr>
532
- );
533
- })}
534
- </tbody>
535
- </table>
536
- {fetchFavoriteProductsQueryContext.data.data.products.length == 0 && (
537
- <div className="row m-0 w-100 d-flex align-items-center justify-content-center pt-5 pb-5">
538
- <div className={' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '}>
539
- <img src={shoppingcart} style={{ maxWidth: '250px', maxHeight: '250px' }} />
540
- <p className="m-0 p-0 wordbreak" style={{ fontSize: '15px' }}>
541
- {lang.nofavoriteproducts}
542
- </p>
543
- </div>
544
- </div>
545
- )}
546
- </div>
547
- </div>
548
- )}
549
- </div>
550
- </div>
551
- )}
552
- </div>
553
- </div>
554
- <div className="col-lg-12 d-flex align-items-center justify-content-center p-0 ">
555
- {/* {pageindexcontext.length != 0 && Object.keys(StatePagePropertiesContext).length != 0 && (
556
- <div className={generalstyles.app_container + ' w-100 '} style={{ position: 'relative' }}>
557
- {StatePagePropertiesContext.pageobj.sections.map((item, index) => {
558
- if (item.tabexsectioninfo != null && TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname] != undefined && item.componenttype == 'section') {
559
- var sectioncomp = TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname];
560
- return (
561
- <div className="row w-100 ml-0 mr-0 d-flex justify-content-center p-0">
562
- {item.tabexsectioninfo.sectiontype == 'Cards' && (
563
- <ProductsCardsSectionContext_Provider>
564
- {React.createElement(sectioncomp, {
565
- sectionidprops: item.sectionid,
566
- sectionindexprops: index,
567
- srcfromprops: 'GeneralProductsComponent',
568
- collectionidprops: collectionidparams,
569
- })}
570
- </ProductsCardsSectionContext_Provider>
571
- )}
572
- {item.tabexsectioninfo.sectiontype != 'Cards' && React.createElement(sectioncomp, { sectionidprops: item.sectionid, sectionindexprops: index })}
573
- </div>
574
- );
575
- }
576
- })}
577
- </div>
578
- )} */}
579
- </div>
580
- </div>
581
- {/* <Modal show={openModal} onHide={() => setopenModal(false)} centered size="xl">
582
- <Modal.Header style={{ paddingBottom: 0 }}>
583
- <div className="row w-100 m-0">
584
- <div className={langdetect == 'en' ? 'col-lg-10 col-md-10 col-sm-10' : 'col-lg-10 col-md-10 col-sm-10 text-right'}>
585
- <p className="modal-title mb-0">Product Information</p>
586
- </div>
587
- <div className="col-lg-2 col-md-2 col-sm-2">
588
- <div className={langdetect == 'en' ? 'close-modal-container ml-auto' : 'close-modal-container mr-auto'} onClick={() => setopenModal(false)}>
589
- <IoMdClose size={18} />
590
- </div>
591
- </div>
592
- <div className="col-lg-12">
593
- <hr className="mt-1 mb-1" />
594
- </div>
595
- </div>
596
- </Modal.Header>
597
- <Modal.Body>
598
- <div className={'row ml-0 mr-0 mt-2 w-100 pb-3 mb-3'}>
599
- <Productinfo productidprops={productidchoosed} />
600
- </div>
601
- </Modal.Body>
602
- </Modal> */}
603
- </div>
604
- );
605
- };
606
- export default Wishlist;
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file