tabexseriescomponents 0.0.64 → 0.0.65

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