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,1334 +0,0 @@
1
- //productidprops
2
- import React, { useEffect, useState } from 'react';
3
- import productinfostyles from '../../../styles/staticpages/productinfo.module.css';
4
- import ImageGallery from 'react-image-gallery';
5
- import { CircularProgress } from 'react-cssfx-loading';
6
- import '../../../styles/staticpages/image-gallery.css';
7
- import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
8
- import { IoBagHandleOutline } from '@react-icons/all-files/io5/IoBagHandleOutline';
9
- import { BsBag } from '@react-icons/all-files/bs/BsBag';
10
- import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
11
- import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
12
- import { FaHeart } from '@react-icons/all-files/fa/FaHeart';
13
- import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
14
- import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
15
- import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
16
- import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
17
- import { RiSecurePaymentLine } from '@react-icons/all-files/ri/RiSecurePaymentLine';
18
- import { HiOutlinePhone } from '@react-icons/all-files/hi/HiOutlinePhone';
19
- import { AiOutlineMail } from '@react-icons/all-files/ai/AiOutlineMail';
20
- import { FaShippingFast } from '@react-icons/all-files/fa/FaShippingFast';
21
- import { FacebookShareButton, TwitterShareButton, WhatsappShareButton, FacebookIcon, TwitterIcon, FacebookMessengerShareButton, FacebookMessengerIcon, WhatsappIcon } from 'react-share';
22
- import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
23
- import { IKImage } from 'imagekitio-react';
24
- import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
25
- import { Box, Tab, Tabs } from '@mui/material';
26
-
27
- const Product_itemtype = (props) => {
28
- const [tabIndex, setTabIndex] = useState(0);
29
-
30
- const handleTabChange = (event, newTabIndex) => {
31
- setTabIndex(newTabIndex);
32
- };
33
-
34
- const lang = props.actions.lang;
35
- const langdetect = props.actions.langdetect;
36
- const srcfromprops = props.actions.srcfromprops;
37
- const returnpolicyobj = props.actions.returnpolicyobj;
38
- const productinfo_cssstyles = props.actions.productinfo_cssstyles;
39
- const addtocartfunc = props.actions.addtocartfunc;
40
- const selectproductoptionvalue = props.actions.selectproductoptionvalue;
41
- const productimagesarray = props.actions.productimagesarray;
42
- const fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
43
- const sectionproperties = props.actions.sectionproperties;
44
- const addtocardpayloadobj = props.actions.addtocardpayloadobj;
45
- const setaddtocardpayloadobj = props.actions.setaddtocardpayloadobj;
46
- const routingcountext = props.actions.routingcountext;
47
- const AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
48
- const authdetailsContext = props.actions.authdetailsContext;
49
- const addtofavoritescontext = props.actions.addtofavoritescontext;
50
- const variantindexcompleted = props.actions.variantindexcompleted;
51
- const ProductInfoObj = props.actions.ProductInfoObj;
52
- const NotificationManager = props.actions.NotificationManager;
53
- const relatedproducts = props.actions.relatedproducts;
54
- const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
55
- const [showMore, setShowMore] = useState(false);
56
- const [shareUrl, setshareUrl] = useState('');
57
- const [title, settitle] = useState('');
58
- const [pageindex, setpageindex] = useState(props.pageindexprops);
59
- const [item, setitem] = useState(fetchProductInfoQueryContext.data.data.productinfo);
60
-
61
- useEffect(() => {
62
- var itemobj = fetchProductInfoQueryContext.data.data.productinfo;
63
- if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)) {
64
- itemobj.titlelang = 'en';
65
- } else {
66
- itemobj.titlelang = 'ar';
67
- }
68
- if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.description_en)) {
69
- itemobj.decriptionlang = 'en';
70
- } else {
71
- itemobj.decriptionlang = 'ar';
72
- }
73
- setitem(itemobj);
74
- settitle(fetchProductInfoQueryContext.data.data.productinfo.name_en);
75
- setshareUrl('https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinform/' + fetchProductInfoQueryContext.data.data.productinfo.productid);
76
- }, [props.itemprops]);
77
- function stringIsEnglish(str) {
78
- var titlelang = 'English';
79
- var arabic = /[\u0600-\u06FF]/;
80
- if (!arabic.test(str)) {
81
- titlelang = true;
82
- } else {
83
- titlelang = false;
84
- }
85
- return titlelang;
86
- }
87
-
88
- return (
89
- <div
90
- className={sectionproperties.card_marginLeft != 0 ? ' row m-0 w-100 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 p-sm-0 ' : ' row m-0 w-100 p-sm-0 '}
91
- style={{
92
- paddingLeft: srcfromprops == 'Productinfomodel' ? (langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px') : 0,
93
- paddingRight: srcfromprops == 'Productinfomodel' ? (langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px') : 0,
94
- }}
95
- >
96
- <div class={' col-lg-12 p-0 '}>
97
- <div
98
- class={`${productinfo_cssstyles.cardcontainer}` + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 '}
99
- style={{
100
- minHeight: '70vh',
101
- }}
102
- >
103
- <div className={langdetect == 'en' ? 'col-lg-9 pl-0 mb-md-3 p-md-0' : 'col-lg-9 pr-0 mb-md-3 p-md-0'}>
104
- <div className={'row m-0 w-100'}>
105
- <div className="col-xl-5 col-lg-4 col-md-12 col-sm-12 mb-md-3 pb-md-4 pl-1 pr-1">
106
- <div
107
- className="col-lg-12 p-0 "
108
- style={{
109
- width: '100%',
110
- height: 'auto',
111
- }}
112
- >
113
- {productimagesarray.length != 0 && (
114
- <ImageGallery
115
- items={productimagesarray}
116
- thumbnailPosition={sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left'}
117
- showNav={false}
118
- showPlayButton={false}
119
- showFullscreenButton={true}
120
- />
121
- )}
122
- </div>
123
- </div>
124
- <div className={langdetect == 'en' ? 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-4 pr-0 p-md-0' : 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-0 pr-4 p-md-0'}>
125
- <div className="row m-0 w-100">
126
- {srcfromprops != 'templatdraftrouter' && (
127
- <div className="col-lg-10 col-md-10 col-sm-10 p-0 mb-1 d-flex justify-content-start align-items-center">
128
- <p
129
- className={
130
- `${productinfo_cssstyles.productname} ${productinfo_cssstyles.productnamehover}` +
131
- ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 '
132
- }
133
- onClick={() => {
134
- routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
135
- }}
136
- style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}
137
- >
138
- {langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar}
139
- </p>
140
- </div>
141
- )}
142
- {srcfromprops == 'templatdraftrouter' && (
143
- <div className="col-lg-10 col-md-10 col-sm-10 p-0 mb-2 d-flex justify-content-start align-items-center">
144
- <p className={`${productinfo_cssstyles.productname}` + ' m-0 p-0 wordbreak d-flex justify-content-start '}>
145
- {langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar}
146
- </p>
147
- </div>
148
- )}
149
- {sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && (
150
- <div class="col-lg-12 p-0 mb-3 d-flex justify-content-start">
151
- <p class="m-0 p-0 d-flex justify-content-start">
152
- <span
153
- style={{
154
- color: sectionproperties.skuColor,
155
- fontWeight: sectionproperties.skuFontWeight,
156
- fontSize: sectionproperties.skuFontSize + 'px',
157
- textAlign: langdetect == 'en' ? 'left' : 'right',
158
- }}
159
- >
160
- {langdetect == 'en' ? sectionproperties.skutitleEn : sectionproperties.skutitleAr}:{' '}
161
- </span>
162
- <span
163
- class="ml-1 mr-1"
164
- style={{
165
- color: '#7e859b',
166
- fontWeight: sectionproperties.skuSecondaryFontWeight,
167
- fontSize: sectionproperties.skuFontSize + 'px',
168
- textAlign: langdetect == 'en' ? 'left' : 'right',
169
- }}
170
- >
171
- {fetchProductInfoQueryContext.data.data.productinfo.sku}
172
- </span>
173
- </p>
174
- </div>
175
- )}
176
- {sectionproperties.showDefaultPricingSection == 'Show' && (
177
- <div class="col-lg-12 p-0 mb-3 d-flex justift-content-start">
178
- <div class="row m-0 w-100">
179
- <div class="col-lg-12 p-0 d-flex justift-content-start">
180
- <p class="m-0 p-0">
181
- <span
182
- style={{
183
- fontSize: sectionproperties.defaultPriceFontSize + 'px',
184
- fontWeight: sectionproperties.defaultPriceFontWeight,
185
- color: sectionproperties.defaultPriceColor,
186
- }}
187
- >
188
- {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
189
- {fetchProductInfoQueryContext.data.data.productinfo.hassale == 0
190
- ? fetchProductInfoQueryContext?.data?.data?.productinfo?.defaultprice
191
- : fetchProductInfoQueryContext?.data?.data?.productinfo?.defaultsaleprice}{' '}
192
- {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
193
- </span>
194
- {fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && (
195
- <span
196
- style={{
197
- fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
198
- fontWeight: sectionproperties.defaultSalePriceFontWeight,
199
- color: sectionproperties.defaultSalePriceColor,
200
- }}
201
- >
202
- {' '}
203
- -{' '}
204
- </span>
205
- )}
206
- {fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && (
207
- <span
208
- class="linethrough"
209
- style={{
210
- fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
211
- fontWeight: sectionproperties.defaultSalePriceFontWeight,
212
- color: sectionproperties.defaultSalePriceColor,
213
- }}
214
- >
215
- {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {fetchProductInfoQueryContext?.data?.data?.productinfo?.defaultprice}{' '}
216
- {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
217
- </span>
218
- )}
219
- </p>
220
- </div>
221
- {fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && sectionproperties.showpill == 'Show' && (
222
- <div class="col-lg-12 p-0 d-flex align-items-center justift-content-start">
223
- <p class="m-0 p-0 d-flex align-items-center justift-content-start">
224
- <span
225
- style={{
226
- fontSize: sectionproperties.counterTitleFontSize + 'px',
227
- color: sectionproperties.counterTitleColor,
228
- fontWeight: sectionproperties.counterTitleFontWeight,
229
- }}
230
- >
231
- {langdetect == 'en' ? sectionproperties.countertitleen : sectionproperties.countertitlear}
232
- </span>
233
- <span
234
- class="ml-1 mr-1"
235
- style={{
236
- fontSize: sectionproperties.counterValueFontSize + 'px',
237
- color: sectionproperties.counterValueColor,
238
- fontWeight: sectionproperties.counterValueFontWeight,
239
- }}
240
- >
241
- {parseFloat(
242
- fetchProductInfoQueryContext.data.data.productinfo.defaultprice -
243
- fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice,
244
- )}{' '}
245
- {langdetect == 'en' ? authdetailsContext?.currencyname_en : authdetailsContext?.currencyname_ar}
246
- </span>
247
- </p>
248
- <div
249
- style={{
250
- background: sectionproperties.pillbgcolor,
251
- width: 'fit-content',
252
- borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
253
- border: sectionproperties.pillBorderWidth + 'px solid ' + sectionproperties.pillBorderColor,
254
- direction: 'ltr',
255
- }}
256
- class="ml-2 mr-2"
257
- >
258
- <p
259
- class="m-0 pl-2 pr-2 py-0"
260
- style={{
261
- color: sectionproperties.pillcolor,
262
- fontWeight: sectionproperties.pillfontWeight,
263
- fontSize: '13px',
264
- lineHeight: '25px',
265
- }}
266
- >
267
- {'-' +
268
- Math.round(
269
- 10.0 *
270
- ((parseFloat(fetchProductInfoQueryContext?.data?.data?.productinfo?.defaultprice) -
271
- parseFloat(fetchProductInfoQueryContext?.data?.data?.productinfo?.defaultsaleprice)) /
272
- parseFloat(fetchProductInfoQueryContext?.data?.data?.productinfo?.defaultprice)) *
273
- 100,
274
- ) /
275
- 10.0 +
276
- '%'}
277
- </p>
278
- </div>
279
- </div>
280
- )}
281
- </div>
282
- </div>
283
- )}
284
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.hasvariants == 1 && sectionproperties.productInformationType == 'Profile' && (
285
- <div className="row m-0 w-100 d-flex align-items-start">
286
- {ProductInfoObj?.data?.productinfo?.productoptions?.map((item, index) => {
287
- return (
288
- <div className="col-lg-12 p-0 d-flex justify-content-start" style={{ position: 'relative' }}>
289
- <div style={{ width: 2, height: '100%', background: sectionproperties.upperseparatorbgcolor, position: 'absolute', top: 7 }} />
290
- <div
291
- style={{
292
- width: 10,
293
- height: 10,
294
- background: sectionproperties.upperseparatorsecondarybgcolor,
295
- borderRadius: 100,
296
- position: 'absolute',
297
- top: 7,
298
- left: langdetect == 'en' ? -4 : '',
299
- right: langdetect == 'ar' ? -4 : '',
300
- }}
301
- />
302
- <div
303
- className="row m-0 w-100 d-flex align-items-start pb-3"
304
- style={{
305
- paddingLeft: langdetect == 'en' ? '1rem' : 0,
306
- paddingRight: langdetect == 'ar' ? '1rem' : 0,
307
- }}
308
- >
309
- <p
310
- className={' m-0 p-0 wordbreak'}
311
- style={{
312
- color: sectionproperties.varianttitle_color,
313
- fontWeight: sectionproperties.varianttitle_fontweight,
314
- textTransform: sectionproperties.varianttitle_texttransform,
315
- fontSize: sectionproperties.varianttitle_fontSize + 'px',
316
- }}
317
- >
318
- {langdetect == 'en' ? item.optionname : item.optionname_ar}:
319
- </p>
320
- {item.optionvalues.map((optionvaluesitem, optionvaluesindex) => {
321
- return (
322
- <div
323
- className={productinfostyles.variant_container + ' mr-2 variabttcontainer allcentered '}
324
- style={{
325
- backgroundColor:
326
- sectionproperties.variantcontainer_bgcolortransparent == 'Transparent'
327
- ? 'transparent'
328
- : sectionproperties.variantcontainer_bgcolor,
329
- minWidth:
330
- sectionproperties.variantcontainer_bgcolortransparent == 'Transparent'
331
- ? 'auto'
332
- : sectionproperties.variantcontainer_minwidth + 'px',
333
- height:
334
- sectionproperties.variantcontainer_bgcolortransparent == 'Transparent'
335
- ? 'auto'
336
- : sectionproperties.variantcontainer_height + 'px',
337
- borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
338
- transform: 'none',
339
- cursor: 'default',
340
- }}
341
- >
342
- <p
343
- className={'m-0 p-0 allcentered font-weight-500'}
344
- style={{
345
- color: sectionproperties.variantcontainer_color,
346
- fontSize: sectionproperties.variantcontainer_fontSize + 'px',
347
- }}
348
- >
349
- {langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar}
350
- </p>
351
- </div>
352
- );
353
- })}
354
- </div>
355
- </div>
356
- );
357
- })}
358
- </div>
359
- )}
360
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.hasvariants == 1 && sectionproperties.productInformationType == 'Product/Service Information' && (
361
- <div className="row m-0 w-100 d-flex align-items-start">
362
- {ProductInfoObj?.data?.productinfo?.productoptions?.map((item, index) => {
363
- return (
364
- <div className="col-lg-12 p-0 mb-3 d-flex justify-content-start">
365
- <div className="row m-0 w-100 d-flex align-items-start">
366
- <div className="col-lg-12 col-md-12 p-0 d-flex">
367
- {/* mb-2 */}
368
- <p
369
- className={' m-0 p-0 wordbreak'}
370
- style={{
371
- color: sectionproperties.varianttitle_color,
372
- fontWeight: sectionproperties.varianttitle_fontweight,
373
- textTransform: sectionproperties.varianttitle_texttransform,
374
- fontSize: sectionproperties.varianttitle_fontSize + 'px',
375
- }}
376
- >
377
- {lang.select} {langdetect == 'en' ? item.optionname : item.optionname_ar}:
378
- </p>
379
- </div>
380
- <div
381
- className="col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-3 pb-3"
382
- style={{
383
- paddingTop: sectionproperties.showRemovebutton == 'Show' ? '1rem' : 0,
384
- }}
385
- >
386
- {item.optionvalues.map((optionvaluesitem, optionvaluesindex) => {
387
- var isoptionvalueselected = 0;
388
- if (optionvaluesitem.isselected == 1) {
389
- isoptionvalueselected = 1;
390
- } else {
391
- isoptionvalueselected = 0;
392
- }
393
- var isoptionvaluedenabled = 0;
394
- if (optionvaluesitem.isenabled == 1) {
395
- isoptionvaluedenabled = 1;
396
- } else {
397
- isoptionvaluedenabled = 0;
398
- }
399
- if (item.optionname == 'color' || item.optionname == 'Color') {
400
- return (
401
- <div
402
- className={
403
- productinfostyles.color_container +
404
- ' mr-2 variabttcontainer ' +
405
- `${isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''}`
406
- }
407
- onClick={() => {
408
- if (optionvaluesitem.isenabled == 1) {
409
- selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
410
- }
411
- }}
412
- style={{
413
- background: optionvaluesitem.valuename,
414
- opacity: isoptionvaluedenabled == 1 ? 1 : 0.2,
415
- cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
416
- }}
417
- ></div>
418
- );
419
- } else if (item.optionname == 'size' || item.optionname == 'Size') {
420
- return (
421
- <div
422
- className={
423
- `${productinfostyles.variant_container} ${productinfostyles.size_variant_container}` +
424
- ' mr-2 variabttcontainer allcentered ' +
425
- `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
426
- }
427
- onClick={() => {
428
- if (optionvaluesitem.isenabled == 1) {
429
- selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
430
- }
431
- }}
432
- style={{
433
- cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
434
- backgroundColor:
435
- isoptionvalueselected == 1
436
- ? 'green'
437
- : isoptionvaluedenabled == 1
438
- ? sectionproperties.variantcontainer_bgcolor
439
- : 'grey',
440
- minWidth: sectionproperties.variantcontainer_minwidth + 'px',
441
- height: sectionproperties.variantcontainer_height + 'px',
442
- borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
443
- position: 'relative',
444
- }}
445
- >
446
- {isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && (
447
- <p
448
- class="m-0 p-0 bg-danger bgdanger-hover"
449
- style={{
450
- position: 'absolute',
451
- top: '-15px',
452
- right: '-5px',
453
- width: '3vh',
454
- height: '3vh',
455
- borderRadius: 100,
456
- }}
457
- >
458
- <i class="h-100 allcentered">
459
- <IoMdClose />
460
- </i>
461
- </p>
462
- )}
463
- <p
464
- className={'font-12 wordbreak m-0 p-0 d-flex align-items-center justify-content-center'}
465
- style={{
466
- color: sectionproperties.variantcontainer_color,
467
- fontSize: sectionproperties.variantcontainer_fontSize + 'px',
468
- }}
469
- >
470
- {langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar}
471
- </p>
472
- </div>
473
- );
474
- } else {
475
- return (
476
- <div
477
- className={
478
- productinfostyles.variant_container +
479
- ' mr-2 variabttcontainer allcentered pl-2 pr-2 ' +
480
- `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
481
- }
482
- onClick={() => {
483
- if (optionvaluesitem.isenabled == 1) {
484
- selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
485
- }
486
- }}
487
- style={{
488
- backgroundColor:
489
- isoptionvalueselected == 1
490
- ? 'green'
491
- : isoptionvaluedenabled == 1
492
- ? sectionproperties.variantcontainer_bgcolor
493
- : 'grey',
494
- width: 'auto',
495
- height: sectionproperties.variantcontainer_height + 'px',
496
- borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
497
- position: 'relative',
498
- }}
499
- >
500
- {isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && (
501
- <p
502
- class="m-0 p-0 bg-danger bgdanger-hover"
503
- style={{
504
- position: 'absolute',
505
- top: '-15px',
506
- right: '-5px',
507
- width: '3vh',
508
- height: '3vh',
509
- borderRadius: 100,
510
- }}
511
- >
512
- <i class="h-100 allcentered">
513
- <IoMdClose />
514
- </i>
515
- </p>
516
- )}
517
- <p
518
- className={'m-0 p-0 allcentered'}
519
- style={{
520
- color: sectionproperties.variantcontainer_color,
521
- fontSize: sectionproperties.variantcontainer_fontSize + 'px',
522
- }}
523
- >
524
- {langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar}
525
- </p>
526
- </div>
527
- );
528
- }
529
- })}
530
- </div>
531
- </div>
532
- </div>
533
- );
534
- })}
535
- </div>
536
- )}
537
- {sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && (
538
- <div className="col-lg-12 p-0 mb-3">
539
- <hr className="mb-0 mt-2" />
540
- </div>
541
- )}
542
- <div
543
- className="col-lg-12 p-0 mb-3"
544
- style={{
545
- display: sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'none' : 'flex',
546
- }}
547
- >
548
- <div className="row m-0 w-100">
549
- <div className="col-lg-12 p-0 mb-2 d-flex justofy-content-start">
550
- <p
551
- className="m-0 p-0"
552
- style={{
553
- color: sectionproperties.generaltext_fontColor,
554
- fontSize: sectionproperties.generaltext_fontSize + 'px',
555
- textTransform: sectionproperties.generaltext_textTransform,
556
- fontWeight: sectionproperties.generaltext_fontWeight,
557
- }}
558
- >
559
- {lang.quantity}:
560
- </p>
561
- </div>
562
- {sectionproperties.quantitybtn_show == 'Show' && (
563
- <button
564
- className={` ${productinfo_cssstyles.quantitybtn}` + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 '}
565
- style={{
566
- height: sectionproperties.quantitybtn_height + 'px',
567
- width: sectionproperties.quantitybtn_width + 'px',
568
- flexDirection: 'row',
569
- direction: 'ltr',
570
- }}
571
- >
572
- <span
573
- className={`${productinfo_cssstyles.minus_quantitybtn_icon_container}` + ' m-1 '}
574
- onClick={() => {
575
- var tempaddtocardpayloadobj = {
576
- ...addtocardpayloadobj,
577
- };
578
- if (tempaddtocardpayloadobj.quantity > 0) {
579
- tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
580
- }
581
- setaddtocardpayloadobj({
582
- ...tempaddtocardpayloadobj,
583
- });
584
- }}
585
- >
586
- <i className="fa fa-chevron-down font-12"></i>
587
- </span>
588
- <span className={`${productinfo_cssstyles.quantitybtn_text}`}>{addtocardpayloadobj.quantity}</span>
589
- <span
590
- className={`${productinfo_cssstyles.add_quantitybtn_icon_container}` + ' m-1 '}
591
- onClick={() => {
592
- var tempaddtocardpayloadobj = {
593
- ...addtocardpayloadobj,
594
- };
595
- tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
596
- setaddtocardpayloadobj({
597
- ...tempaddtocardpayloadobj,
598
- });
599
- }}
600
- >
601
- <i className="fa fa-chevron-up font-12"></i>
602
- </span>
603
- </button>
604
- )}
605
- {sectionproperties.cartBtnShow == 'Show' && (
606
- <button
607
- className={`${productinfo_cssstyles.cart_btn} ` + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 '}
608
- onClick={() => {
609
- if (
610
- fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity &&
611
- fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity
612
- ) {
613
- addtocartfunc();
614
- } else {
615
- NotificationManager.warning(
616
- '',
617
- 'Max: ' +
618
- fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant +
619
- ', Min: ' +
620
- fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant,
621
- );
622
- }
623
- }}
624
- disabled={AddtoCartMutationContext.isLoading == true ? true : false}
625
- >
626
- {!AddtoCartMutationContext.isLoading && (
627
- <span className={' d-flex align-items-center justify-content-center '}>
628
- <i
629
- className={
630
- langdetect == 'en'
631
- ? 'h-100 d-flex align-items-center justify-content-center mr-2'
632
- : 'h-100 d-flex align-items-center justify-content-center ml-2'
633
- }
634
- >
635
- {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag className="" size={sectionproperties.cartBtn_iconFontSize} />}
636
- {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag className="" size={sectionproperties.cartBtn_iconFontSize} />}
637
- {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag className="" size={sectionproperties.cartBtn_iconFontSize} />}
638
- {sectionproperties.carticonstyle == 'Shopping bag 4' && (
639
- <IoBagHandleOutline className="" size={sectionproperties.cartBtn_iconFontSize} />
640
- )}
641
- {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart className="" size={sectionproperties.cartBtn_iconFontSize} />}
642
- {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
643
- </i>
644
- {lang.addtocart}
645
- </span>
646
- )}
647
- {AddtoCartMutationContext.isLoading && (
648
- <div className={' d-flex align-items-center justify-content-center '}>
649
- <CircularProgress color="white" width="20px" height="20px" duration="1s" />
650
- </div>
651
- )}
652
- </button>
653
- )}
654
- <div
655
- className={productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 '}
656
- onClick={() => {
657
- addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
658
- }}
659
- style={{
660
- background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : '',
661
- }}
662
- >
663
- <i className="h-100 d-flex align-items-center justify-content-center">
664
- {fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && (
665
- <i className="h-100 d-flex align-items-center justify-content-center">
666
- {sectionproperties.faviconshape == 'Star Shape' && (
667
- <AiFillStar
668
- size={sectionproperties.favBtnIconfontsize}
669
- style={{
670
- color: sectionproperties.activefaviconcolor,
671
- }}
672
- />
673
- )}
674
- {sectionproperties.faviconshape == 'Heart Shape' && (
675
- <FaHeart
676
- size={sectionproperties.favBtnIconfontsize}
677
- style={{
678
- color: sectionproperties.activefaviconcolor,
679
- }}
680
- />
681
- )}
682
- </i>
683
- )}
684
- {!fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && (
685
- <i className="h-100 d-flex align-items-center justify-content-center">
686
- {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
687
- {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
688
- </i>
689
- )}
690
- </i>
691
- </div>
692
- </div>
693
- </div>
694
- {sectionproperties.productInformationType == 'Product/Service Information' && (
695
- <div className="col-lg-12 p-0 mb-3">
696
- <div className="row m-0 w-100 d-flex flex-row">
697
- <p
698
- className="m-0 p-0"
699
- style={{
700
- color: sectionproperties.total_color,
701
- fontSize: sectionproperties.total_fontsize + 'px',
702
- fontWeight: sectionproperties.total_fontweight,
703
- textTransform: sectionproperties.total_texttransform,
704
- }}
705
- >
706
- {lang.total}:
707
- </p>
708
- <div className="col-lg-9 col-md-9 col-sm-9 d-flex align-items-center pl-1 pr-1">
709
- <p
710
- className={'m-0 p-0 wordbreak d-flex align-items-center justify-content-end'}
711
- style={{
712
- fontSize: sectionproperties.prodpriceFontSize + 'px',
713
- fontWeight: sectionproperties.prodPriceFontWeight,
714
- color: sectionproperties.prodPriceColor,
715
- }}
716
- >
717
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.hasvariants == 1 && variantindexcompleted?.length == 0 && (
718
- <span class="m-0 p-0">
719
- {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
720
- {fetchProductInfoQueryContext.data.data.productinfo.hassale == 0
721
- ? parseFloat(fetchProductInfoQueryContext.data.data.productinfo.defaultprice * addtocardpayloadobj.quantity)
722
- : parseFloat(fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice * addtocardpayloadobj.quantity)}{' '}
723
- {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
724
- </span>
725
- )}
726
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.hasvariants == 1 && variantindexcompleted?.length != 0 && (
727
- <p
728
- className={
729
- langdetect == 'en'
730
- ? ' m-0 p-0 d-flex align-items-center justify-content-end wordbreak text-right '
731
- : ' m-0 p-0 d-flex align-items-center justify-content-end wordbreak text-left '
732
- }
733
- >
734
- {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
735
- {fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].hassale == 1
736
- ? parseFloat(
737
- fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].variantsaleprice *
738
- addtocardpayloadobj.quantity,
739
- )
740
- : parseFloat(
741
- fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].variantprice *
742
- addtocardpayloadobj.quantity,
743
- )}{' '}
744
- {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
745
- </p>
746
- )}
747
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.hasvariants == 0 && (
748
- <span
749
- className={
750
- langdetect == 'en'
751
- ? ' d-flex align-items-center justify-content-end wordbreak text-right '
752
- : ' d-flex align-items-center justify-content-end wordbreak text-left '
753
- }
754
- >
755
- {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
756
- {fetchProductInfoQueryContext.data.data.productinfo.hassale == 0
757
- ? parseFloat(fetchProductInfoQueryContext.data.data.productinfo.defaultprice * addtocardpayloadobj.quantity)
758
- : parseFloat(fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice * addtocardpayloadobj.quantity)}{' '}
759
- {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
760
- </span>
761
- )}
762
- </p>
763
- <p
764
- className={'m-0 p-0 linethrough wordbreak'}
765
- style={{
766
- color: sectionproperties.prodsalePriceColor,
767
- fontSize: sectionproperties.prodsalepriceFontSize + 'px',
768
- fontWeight: sectionproperties.prodsalePriceFontWeight,
769
- }}
770
- >
771
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.hasvariants == 1 && variantindexcompleted.length == 0 && (
772
- <>
773
- {fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && (
774
- <span
775
- className={
776
- langdetect == 'en'
777
- ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak '
778
- : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
779
- }
780
- >
781
- <span className="ml-2 mr-2" style={{ textDecoration: 'none' }}>
782
- -
783
- </span>
784
- {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
785
- {parseFloat(fetchProductInfoQueryContext.data.data.productinfo.defaultprice * addtocardpayloadobj.quantity)}{' '}
786
- {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
787
- </span>
788
- )}
789
- </>
790
- )}
791
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.hasvariants == 0 && (
792
- <>
793
- {fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && (
794
- <span
795
- className={
796
- langdetect == 'en'
797
- ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak '
798
- : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
799
- }
800
- >
801
- <span className="ml-2 mr-2">-</span> {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
802
- {parseFloat(fetchProductInfoQueryContext.data.data.productinfo.defaultprice * addtocardpayloadobj.quantity)}{' '}
803
- {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
804
- </span>
805
- )}
806
- </>
807
- )}
808
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.hasvariants == 1 && variantindexcompleted.length != 0 && (
809
- <>
810
- {fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].hassale == 1 && (
811
- <span
812
- className={
813
- langdetect == 'en'
814
- ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak '
815
- : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
816
- }
817
- >
818
- <span className="ml-2 mr-2">-</span>
819
- {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
820
- {parseFloat(
821
- fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].variantprice *
822
- addtocardpayloadobj.quantity,
823
- )}{' '}
824
- {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
825
- </span>
826
- )}
827
- </>
828
- )}
829
- </p>
830
- </div>
831
- </div>
832
- </div>
833
- )}
834
- {sectionproperties.show_availability == 'Show' && (
835
- <div className="col-lg-12 p-0 mb-3 mt-2">
836
- <div
837
- style={{
838
- width: sectionproperties.availability_width + 'px',
839
- height: sectionproperties.availability_height + 'px',
840
- background:
841
- fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit'
842
- ? sectionproperties.availability_availablebgcolor
843
- : sectionproperties.availability_limitedbgcolor,
844
- borderRadius: sectionproperties.availability_borderrradius + 'px',
845
- border:
846
- fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit'
847
- ? sectionproperties.availability_borderwidtth + 'px solid ' + sectionproperties.availability_availabletextcolor
848
- : sectionproperties.availability_borderwidtth + 'px solid ' + sectionproperties.availability_limitedtextcolor,
849
- justifyContent: sectionproperties.availabilitytextalignment == 'Centered' ? 'center' : 'start',
850
- }}
851
- className="d-flex align-items-center pl-3 pr-3"
852
- >
853
- <p
854
- className="m-0 p-0 font-weight-500 wordbreak"
855
- style={{
856
- color:
857
- fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit'
858
- ? sectionproperties.availability_availabletextcolor
859
- : sectionproperties.availability_limitedtextcolor,
860
- fontSize: sectionproperties.availability_fontsize + 'px',
861
- textAlign: sectionproperties.availabilitytextalignment == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
862
- }}
863
- >
864
- <span
865
- style={{
866
- color: sectionproperties.availability_textcolor,
867
- }}
868
- className="font-weight-600"
869
- >
870
- {lang.availability}:
871
- </span>
872
- <span className="ml-1 mr-1">
873
- {fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity}
874
- </span>
875
- </p>
876
- </div>
877
- </div>
878
- )}
879
- {sectionproperties.showShareButton == 'Show' && (
880
- <div class="col-lg-12 p-0">
881
- <hr
882
- class="mb-3 mt-3"
883
- style={{
884
- borderColor: '#eee',
885
- }}
886
- />
887
- </div>
888
- )}
889
- {sectionproperties.showShareButton == 'Show' && (
890
- <div class="col-lg-12 mt-2 p-0">
891
- <div class="row m-0 w-100">
892
- <div class="col-lg-12 d-flex justify-content-center flex-column align-items-center p-0">
893
- <p
894
- class="m-0 p-0"
895
- style={{
896
- fontWeight: sectionproperties.sharebtn_FontWeight,
897
- color: sectionproperties.sharebtn_color,
898
- fontSize: sectionproperties.sharebtn_fontSize + 'px',
899
- }}
900
- >
901
- {langdetect == 'en' ? sectionproperties.sharebtn_contentEn : sectionproperties.sharebtn_contentAr}
902
- </p>
903
- <div className="Demo__container w-100 m-0 allcentered mt-3">
904
- <div className="Demo__some-network ml-2 mr-2">
905
- <FacebookShareButton url={shareUrl} quote={title} className="Demo__some-network__share-button">
906
- <FacebookIcon size={40} round />
907
- </FacebookShareButton>
908
- </div>
909
- <div className="Demo__some-network ml-2 mr-2">
910
- <TwitterShareButton url={shareUrl} title={title} className="Demo__some-network__share-button">
911
- <TwitterIcon size={40} round />
912
- </TwitterShareButton>
913
- </div>
914
- <div className="Demo__some-network ml-2 mr-2">
915
- <WhatsappShareButton url={shareUrl} title={title} separator=":: " className="Demo__some-network__share-button">
916
- <WhatsappIcon size={40} round />
917
- </WhatsappShareButton>
918
- </div>
919
- {/* <div className="Demo__some-network ml-2 mr-2">
920
- <FacebookMessengerShareButton url={shareUrl} title={title} separator=":: " className="Demo__some-network__share-button">
921
- <FacebookMessengerIcon size={40} round />
922
- </FacebookMessengerShareButton>
923
- </div> */}
924
- </div>
925
- </div>
926
- </div>
927
- </div>
928
- )}
929
- </div>
930
- </div>
931
- </div>
932
- </div>
933
- <div
934
- className={langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0' : 'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0'}
935
- style={{
936
- borderLeft: langdetect == 'en' ? '1px solid #eee' : 0,
937
- borderRight: langdetect == 'ar' ? '1px solid #eee' : 0,
938
- }}
939
- >
940
- <div
941
- class="row m-0 w-100"
942
- style={{
943
- paddingLeft: langdetect == 'en' ? '.5em' : 0,
944
- paddingRight: langdetect == 'ar' ? '.5rem' : 0,
945
- }}
946
- >
947
- {sectionproperties.productInformationType == 'Product/Service Information' && (
948
- <div className="col-lg-12 p-0 w-100 d-flex align-items-center">
949
- <div class={productinfo_cssstyles.iconContainer}>
950
- <i className="h-100 d-flex align-items-center justify-content-center">
951
- <FaShippingFast size={20} />
952
- </i>
953
- </div>
954
- <div className="col-lg-9 col-md-9 col-sm-9 d-flex justofy-content-start flex-column">
955
- <p
956
- className={productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak '}
957
- style={{
958
- textAlign: langdetect == 'en' ? 'left' : 'right',
959
- }}
960
- >
961
- {langdetect == 'en' ? sectionproperties.otherinfotitle1en : sectionproperties.otherinfotitle1ar}
962
- </p>
963
- <p
964
- className={productinfo_cssstyles.storeInfoContent + ' m-0 p-0 wordbreak '}
965
- style={{
966
- textAlign: langdetect == 'en' ? 'left' : 'right',
967
- }}
968
- >
969
- {langdetect == 'en' ? sectionproperties.otherinfodesc1en : sectionproperties.otherinfodesc1ar}
970
- </p>
971
- </div>
972
- </div>
973
- )}
974
- {sectionproperties.productInformationType == 'Product/Service Information' && (
975
- <div class="col-lg-12 p-0">
976
- <hr
977
- class="mb-3 mt-3"
978
- style={{
979
- borderColor: '#eee',
980
- }}
981
- />
982
- </div>
983
- )}
984
- {sectionproperties.productInformationType == 'Product/Service Information' && (
985
- <div className="col-lg-12 p-0 d-flex align-items-center">
986
- <div class={productinfo_cssstyles.iconContainer}>
987
- <i className="h-100 d-flex align-items-center justify-content-center">
988
- <RiSecurePaymentLine size={20} />
989
- </i>
990
- </div>
991
- <div className="col-lg-9 col-md-9 col-sm-9 d-flex justofy-content-start flex-column">
992
- <p
993
- className={productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak '}
994
- style={{
995
- textAlign: langdetect == 'en' ? 'left' : 'right',
996
- }}
997
- >
998
- {langdetect == 'en' ? sectionproperties.otherinfotitle2en : sectionproperties.otherinfotitle2ar}
999
- </p>
1000
- <p
1001
- className={productinfo_cssstyles.storeInfoContent + ' m-0 p-0 wordbreak '}
1002
- style={{
1003
- textAlign: langdetect == 'en' ? 'left' : 'right',
1004
- }}
1005
- >
1006
- {langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar}
1007
- </p>
1008
- </div>
1009
- </div>
1010
- )}
1011
- {sectionproperties.productInformationType == 'Product/Service Information' && (
1012
- <div class="col-lg-12 p-0">
1013
- <hr
1014
- class="mb-3 mt-3"
1015
- style={{
1016
- borderColor: '#eee',
1017
- }}
1018
- />
1019
- </div>
1020
- )}
1021
- {sectionproperties.showfooterphonenumber == 'Show' && (
1022
- <div
1023
- className={productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 d-flex align-items-center cursor-pointer '}
1024
- onClick={() => {
1025
- window.open('tel:' + authdetailsContext?.CuContactphonenumber, '_blank');
1026
- }}
1027
- >
1028
- <div class={productinfo_cssstyles.iconContainer + ' iconContainer '}>
1029
- <i className="h-100 d-flex align-items-center justify-content-center">
1030
- <HiOutlinePhone size={20} />
1031
- </i>
1032
- </div>
1033
- <div className="col-lg-9 col-md-9 col-sm-9 d-flex justofy-content-start flex-column">
1034
- <p
1035
- className={productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak '}
1036
- style={{
1037
- textAlign: langdetect == 'en' ? 'left' : 'right',
1038
- }}
1039
- >
1040
- {langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar}
1041
- </p>
1042
- <p
1043
- className={productinfo_cssstyles.storeInfoContent + ' storeInfoContent m-0 p-0 wordbreak '}
1044
- style={{
1045
- textAlign: langdetect == 'en' ? 'left' : 'right',
1046
- }}
1047
- >
1048
- {authdetailsContext?.CuContactphonenumber}
1049
- </p>
1050
- </div>
1051
- </div>
1052
- )}
1053
- {sectionproperties.showfooterphonenumber == 'Show' && (
1054
- <div class="col-lg-12 p-0">
1055
- <hr
1056
- class="mb-3 mt-3"
1057
- style={{
1058
- borderColor: '#eee',
1059
- }}
1060
- />
1061
- </div>
1062
- )}
1063
- {sectionproperties.showfooteremail == 'Show' && (
1064
- <div
1065
- className={productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 d-flex align-items-center cursor-pointer '}
1066
- onClick={() => {
1067
- window.open('mailto:' + authdetailsContext?.instinfo?.contactinfo?.email, '_self');
1068
- }}
1069
- >
1070
- <div class={productinfo_cssstyles.iconContainer + ' iconContainer '}>
1071
- <i className="h-100 d-flex align-items-center justify-content-center">
1072
- <AiOutlineMail size={20} />
1073
- </i>
1074
- </div>
1075
- <div className="col-lg-9 col-md-9 col-sm-9 d-flex justofy-content-start flex-column">
1076
- <p
1077
- className={productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak '}
1078
- style={{
1079
- textAlign: langdetect == 'en' ? 'left' : 'right',
1080
- }}
1081
- >
1082
- {langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar}
1083
- </p>
1084
- <p
1085
- className={productinfo_cssstyles.storeInfoContent + ' storeInfoContent m-0 p-0 wordbreak '}
1086
- style={{
1087
- textAlign: langdetect == 'en' ? 'left' : 'right',
1088
- }}
1089
- >
1090
- {authdetailsContext?.instinfo?.contactinfo?.email}
1091
- </p>
1092
- </div>
1093
- </div>
1094
- )}
1095
-
1096
- {/* {authdetailsContext?.loggedin && (
1097
- <div className="col-lg-12 mb-3">
1098
- <div class="row m-0 w-100">
1099
- <i className="h-100 d-flex align-items-center justify-content-center mt-1">
1100
- <FiMapPin
1101
- size={20}
1102
- style={{
1103
- color: sectionproperties.storeinfoiconcolor,
1104
- }}
1105
- />
1106
- </i>
1107
- <div className="col-lg-10 col-md-10 col-sm-10 d-flex justify-content-start flex-column">
1108
- <div className="row m-0 w-100">
1109
- <div className="col-lg-12 p-0 d-flex justify-content-start">
1110
- <p className={productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak '}>{lang.deliverto}</p>
1111
- </div>
1112
- <div className="col-lg-12 p-0 d-flex justify-content-start">
1113
- {authdetailsContext?.loggedin && (
1114
- <p className={productinfo_cssstyles.storeInfoContent + ' m-0 p-0 wordbreak '}>
1115
- {authdetailsContext?.customerinfo?.name}
1116
-
1117
- </p>
1118
- )}
1119
- </div>
1120
- </div>
1121
- </div>
1122
- </div>
1123
- </div>
1124
- )}
1125
-
1126
- </div>
1127
- )} */}
1128
- </div>
1129
- </div>
1130
- </div>
1131
- </div>
1132
- <div class="col-lg-12 p-0">
1133
- <div
1134
- class={`${productinfo_cssstyles.cardcontainer}` + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 '}
1135
- style={{
1136
- paddingLeft: sectionproperties.tabspaddinghorizontal + 'px',
1137
- paddingRight: sectionproperties.tabspaddinghorizontal + 'px',
1138
- marginBottom: sectionproperties.tabsmb + 'px',
1139
- paddingTop: sectionproperties.tabsPt + 'px',
1140
- paddingBottom: sectionproperties.tabsPb + 'px',
1141
- }}
1142
- >
1143
- <Box>
1144
- <Tabs
1145
- value={tabIndex}
1146
- onChange={handleTabChange}
1147
- scrollButtons="auto"
1148
- TabIndicatorProps={{
1149
- style: {
1150
- background: sectionproperties.activetabbordercolor,
1151
- // width: '50%',
1152
- right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
1153
- margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
1154
- },
1155
- }}
1156
- sx={{
1157
- '& button': {
1158
- color: sectionproperties.tabtextcolor,
1159
- fontWeight: sectionproperties.tabtextfontweight,
1160
- background: sectionproperties.tabcontainerbgcolor,
1161
- textTransform: sectionproperties.tabtexttexttransform,
1162
- borderRadius: sectionproperties.tabcontainerborderradius + 'px',
1163
- fontFamily: 'Poppins',
1164
- transition: '.3s',
1165
- },
1166
- '& button:hover': {
1167
- color: sectionproperties.tabscoloronhover,
1168
- fontFamily: 'Poppins',
1169
- transition: '.3s',
1170
- },
1171
- '& button.Mui-selected': {
1172
- color: sectionproperties.tabtextactivecolor,
1173
- background: sectionproperties.activetabbgcolor,
1174
- fontFamily: 'Poppins',
1175
- transition: '.3s',
1176
- },
1177
- }}
1178
- variant={'fullWidth'}
1179
- >
1180
- {sectionproperties.prodCatShow == 'Show' && <Tab label={langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr} />}
1181
- {sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showfirstpolicy == 'Show' && (
1182
- <Tab label={langdetect == 'en' ? returnpolicyobj('Shipping Policy')?.policypagename_en : returnpolicyobj('Shipping Policy')?.policypagename_ar} />
1183
- )}
1184
- {sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showsecondpolicy == 'Show' && (
1185
- <Tab label={langdetect == 'en' ? returnpolicyobj('Refund Policy')?.policypagename_en : returnpolicyobj('Refund Policy')?.policypagename_ar} />
1186
- )}
1187
- </Tabs>
1188
- </Box>
1189
- {tabIndex === 0 && (
1190
- <Box class="w-100">
1191
- <div class="col-lg-12 p-0 w-100 mt-3 mb-4">
1192
- <div class="row m-0 w-100">
1193
- {langdetect == 'en' &&
1194
- fetchProductInfoQueryContext?.data?.data?.productinfo?.description_en != '' &&
1195
- fetchProductInfoQueryContext?.data?.data?.productinfo?.description_en != null &&
1196
- sectionproperties.prodCatShow == 'Show' && (
1197
- <div className="col-lg-12 p-0 mb-4 d-flex justify-content-center">
1198
- <div className="row m-0 w-100 d-flex">
1199
- <div class="col-lg-12 p-0 d-flex justify-content-start">
1200
- <p
1201
- className={'text-black text-capitalize m-0 p-0 wordbreak'}
1202
- style={{
1203
- textAlign: langdetect == 'en' ? 'left' : 'right',
1204
- }}
1205
- dangerouslySetInnerHTML={{
1206
- __html:
1207
- showMore == true
1208
- ? fetchProductInfoQueryContext?.data?.data?.productinfo?.description_en
1209
- : fetchProductInfoQueryContext?.data?.data?.productinfo?.description_en.slice(0, 1000),
1210
- }}
1211
- ></p>
1212
- </div>
1213
- <div class="col-lg-12 allcentered">
1214
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.description_en.length > 1000 && (
1215
- <p class="m-0 p-0 cursor-pointer text-grey font-weight-600" onClick={() => setShowMore(!showMore)}>
1216
- {showMore ? lang.showless : lang.showmore}
1217
- </p>
1218
- )}
1219
- </div>
1220
- </div>
1221
- </div>
1222
- )}
1223
- {langdetect == 'ar' &&
1224
- fetchProductInfoQueryContext?.data?.data?.productinfo?.description_ar != '' &&
1225
- fetchProductInfoQueryContext?.data?.data?.productinfo?.description_ar != null &&
1226
- sectionproperties.prodCatShow == 'Show' && (
1227
- <div className="col-lg-12 p-0 mb-4 d-flex justify-content-center">
1228
- <div className="row m-0 w-100 d-flex">
1229
- <div class="col-lg-12 p-0 d-flex justify-content-start flex-column">
1230
- <p
1231
- className={'text-black text-capitalize m-0 p-0 wordbreak'}
1232
- style={{
1233
- textAlign: langdetect == 'en' ? 'left' : 'right',
1234
- }}
1235
- dangerouslySetInnerHTML={{
1236
- __html:
1237
- showMore == true
1238
- ? fetchProductInfoQueryContext?.data?.data?.productinfo?.description_ar
1239
- : fetchProductInfoQueryContext?.data?.data?.productinfo?.description_ar.slice(0, 1000),
1240
- }}
1241
- ></p>
1242
- </div>
1243
- <div class="col-lg-12 allcentered">
1244
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.description_ar.length > 1000 && (
1245
- <p class="m-0 p-0 cursor-pointer text-grey font-weight-600 text-right" onClick={() => setShowMore(!showMore)}>
1246
- {showMore ? lang.showless : lang.showmore}
1247
- </p>
1248
- )}
1249
- </div>
1250
- </div>
1251
- </div>
1252
- )}
1253
- {sectionproperties.showGallery == 'Show' && fetchProductInfoQueryContext?.data?.data?.productinfo?.productimages?.length != 0 && (
1254
- <div class="col-lg-12 p-0">
1255
- <div
1256
- class="row m-0 w-100 allcentered pl-md-3 pr-md-3"
1257
- style={{
1258
- paddingLeft: sectionproperties.galleryPaddingHorizontal + 'px',
1259
- paddingRight: sectionproperties.galleryPaddingHorizontal + 'px',
1260
- }}
1261
- >
1262
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.productimages?.map((item, index) => {
1263
- if (index <= 6) {
1264
- return (
1265
- <div
1266
- class={' col-md-4 col-sm-12 mb-3 col-lg-' + sectionproperties.galleryNoOfCols}
1267
- style={{
1268
- height: sectionproperties.galleryHeight + 'px',
1269
- }}
1270
- >
1271
- <IKImage
1272
- urlEndpoint={IKurlEndpoint}
1273
- publicKey={IKpublicKey}
1274
- path={'/tr:w-' + sectionproperties.galleryWidthDimension + ',h-' + sectionproperties.galleryHeightDimension + '/' + item.path}
1275
- style={{
1276
- width: '100%',
1277
- height: '100%',
1278
- objectFit: 'contain',
1279
- }}
1280
- loading="lazy"
1281
- />
1282
- </div>
1283
- );
1284
- }
1285
- })}
1286
- </div>
1287
- </div>
1288
- )}
1289
- </div>
1290
- </div>
1291
- </Box>
1292
- )}
1293
- {tabIndex === 1 && (
1294
- <Box>
1295
- <div class="col-lg-12 p-0 w-100 mt-3 mb-4">
1296
- <p
1297
- className={' m-0 p-0 wordbreak '}
1298
- style={{
1299
- lineClamp: 10,
1300
- WebkitLineClamp: 10,
1301
- textAlign: langdetect == 'en' ? 'left' : 'right',
1302
- }}
1303
- dangerouslySetInnerHTML={{
1304
- __html: langdetect == 'en' ? returnpolicyobj('Shipping Policy')?.policycontent_en : returnpolicyobj('Shipping Policy')?.policycontent_ar,
1305
- }}
1306
- ></p>
1307
- </div>
1308
- </Box>
1309
- )}
1310
- {tabIndex === 2 && (
1311
- <Box>
1312
- <div class="col-lg-12 p-0 w-100 mt-3 mb-4">
1313
- <p
1314
- className={' m-0 p-0 wordbreak '}
1315
- style={{
1316
- lineClamp: 10,
1317
- WebkitLineClamp: 10,
1318
- textAlign: langdetect == 'en' ? 'left' : 'right',
1319
- }}
1320
- dangerouslySetInnerHTML={{
1321
- __html: langdetect == 'en' ? returnpolicyobj('Refund Policy')?.policycontent_en : returnpolicyobj('Refund Policy')?.policycontent_ar,
1322
- }}
1323
- ></p>
1324
- </div>
1325
- </Box>
1326
- )}
1327
- </div>
1328
- </div>
1329
-
1330
- <div class="col-lg-12 p-0">{relatedproducts()}</div>
1331
- </div>
1332
- );
1333
- };
1334
- export default Product_itemtype;