tabexseriescomponents 0.0.698 → 0.0.699

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 (352) hide show
  1. package/dist/index.cjs.js +1655 -1248
  2. package/dist/index.esm.js +1654 -1246
  3. package/dist/index.umd.js +1657 -1248
  4. package/package.json +1 -1
  5. package/srcoriginal/Contexts/LanguageContext.jsx +0 -408
  6. package/srcoriginal/Contexts/ProductsCardsSectionContext.jsx +0 -36
  7. package/srcoriginal/Imagekitconfig.jsx +0 -46
  8. package/srcoriginal/StylesJS/Customstyles.js +0 -345
  9. package/srcoriginal/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -376
  10. package/srcoriginal/TabexComponents/Cards/Card20/Card20.jsx +0 -298
  11. package/srcoriginal/TabexComponents/Cards/Card21/Card21.jsx +0 -388
  12. package/srcoriginal/TabexComponents/Cards/Card22/Card22.jsx +0 -288
  13. package/srcoriginal/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -1630
  14. package/srcoriginal/TabexComponents/Cards/Card23/Card23.jsx +0 -733
  15. package/srcoriginal/TabexComponents/Cards/CardAll/CardAll.jsx +0 -453
  16. package/srcoriginal/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -394
  17. package/srcoriginal/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -70
  18. package/srcoriginal/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -211
  19. package/srcoriginal/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -255
  20. package/srcoriginal/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -235
  21. package/srcoriginal/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -199
  22. package/srcoriginal/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -182
  23. package/srcoriginal/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -181
  24. package/srcoriginal/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -161
  25. package/srcoriginal/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -184
  26. package/srcoriginal/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -560
  27. package/srcoriginal/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +0 -145
  28. package/srcoriginal/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -147
  29. package/srcoriginal/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +0 -142
  30. package/srcoriginal/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -193
  31. package/srcoriginal/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -409
  32. package/srcoriginal/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -744
  33. package/srcoriginal/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -468
  34. package/srcoriginal/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -593
  35. package/srcoriginal/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -208
  36. package/srcoriginal/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -497
  37. package/srcoriginal/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -512
  38. package/srcoriginal/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -304
  39. package/srcoriginal/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -257
  40. package/srcoriginal/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -277
  41. package/srcoriginal/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -352
  42. package/srcoriginal/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -291
  43. package/srcoriginal/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
  44. package/srcoriginal/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -327
  45. package/srcoriginal/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -408
  46. package/srcoriginal/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -528
  47. package/srcoriginal/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -559
  48. package/srcoriginal/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -275
  49. package/srcoriginal/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
  50. package/srcoriginal/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -137
  51. package/srcoriginal/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -611
  52. package/srcoriginal/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -413
  53. package/srcoriginal/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -225
  54. package/srcoriginal/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -525
  55. package/srcoriginal/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -455
  56. package/srcoriginal/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -905
  57. package/srcoriginal/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -337
  58. package/srcoriginal/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -347
  59. package/srcoriginal/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -605
  60. package/srcoriginal/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -185
  61. package/srcoriginal/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -528
  62. package/srcoriginal/TabexComponents/Footer/Footer1/Footer1.jsx +0 -551
  63. package/srcoriginal/TabexComponents/Footer/Footer2/Footer2.jsx +0 -527
  64. package/srcoriginal/TabexComponents/Footer/Footer3/Footer3.jsx +0 -411
  65. package/srcoriginal/TabexComponents/Footer/Footer4/Footer4.jsx +0 -466
  66. package/srcoriginal/TabexComponents/Footer/Footer5/Footer5.jsx +0 -714
  67. package/srcoriginal/TabexComponents/Footer/Footer6/Footer6.jsx +0 -290
  68. package/srcoriginal/TabexComponents/Footer/Footer7/Footer7.jsx +0 -428
  69. package/srcoriginal/TabexComponents/Footer/Footer8/Footer8.jsx +0 -533
  70. package/srcoriginal/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -330
  71. package/srcoriginal/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +0 -581
  72. package/srcoriginal/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +0 -884
  73. package/srcoriginal/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +0 -647
  74. package/srcoriginal/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +0 -110
  75. package/srcoriginal/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -316
  76. package/srcoriginal/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  77. package/srcoriginal/TabexComponents/Generalfiles/images/noimage.png +0 -0
  78. package/srcoriginal/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  79. package/srcoriginal/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  80. package/srcoriginal/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  81. package/srcoriginal/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  82. package/srcoriginal/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  83. package/srcoriginal/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  84. package/srcoriginal/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  85. package/srcoriginal/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  86. package/srcoriginal/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  87. package/srcoriginal/TabexComponents/Generalfiles/images/usflag.png +0 -0
  88. package/srcoriginal/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  89. package/srcoriginal/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -1259
  90. package/srcoriginal/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -1049
  91. package/srcoriginal/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -1040
  92. package/srcoriginal/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -1263
  93. package/srcoriginal/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -76
  94. package/srcoriginal/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -894
  95. package/srcoriginal/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -831
  96. package/srcoriginal/TabexComponents/Headers/Header4/Header4.jsx +0 -622
  97. package/srcoriginal/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -1026
  98. package/srcoriginal/TabexComponents/Headers/Header8/Header8.jsx +0 -2016
  99. package/srcoriginal/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -776
  100. package/srcoriginal/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -927
  101. package/srcoriginal/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -704
  102. package/srcoriginal/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -902
  103. package/srcoriginal/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -953
  104. package/srcoriginal/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -1562
  105. package/srcoriginal/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -1201
  106. package/srcoriginal/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -990
  107. package/srcoriginal/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +0 -1639
  108. package/srcoriginal/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +0 -1845
  109. package/srcoriginal/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -1327
  110. package/srcoriginal/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -934
  111. package/srcoriginal/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -78
  112. package/srcoriginal/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -977
  113. package/srcoriginal/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -778
  114. package/srcoriginal/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -1159
  115. package/srcoriginal/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +0 -1110
  116. package/srcoriginal/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +0 -151
  117. package/srcoriginal/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -854
  118. package/srcoriginal/TabexComponents/Headers/Subheader/Subheader.jsx +0 -863
  119. package/srcoriginal/TabexComponents/Headers/Subheader/Subheader13-3.jsx +0 -685
  120. package/srcoriginal/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -517
  121. package/srcoriginal/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -555
  122. package/srcoriginal/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -1042
  123. package/srcoriginal/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -1093
  124. package/srcoriginal/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +0 -939
  125. package/srcoriginal/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -533
  126. package/srcoriginal/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -338
  127. package/srcoriginal/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -870
  128. package/srcoriginal/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -302
  129. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -314
  130. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -318
  131. package/srcoriginal/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -179
  132. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -201
  133. package/srcoriginal/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -393
  134. package/srcoriginal/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +0 -583
  135. package/srcoriginal/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +0 -291
  136. package/srcoriginal/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +0 -677
  137. package/srcoriginal/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +0 -348
  138. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -387
  139. package/srcoriginal/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -268
  140. package/srcoriginal/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +0 -288
  141. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +0 -117
  142. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +0 -99
  143. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -146
  144. package/srcoriginal/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -462
  145. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -296
  146. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -396
  147. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -616
  148. package/srcoriginal/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -408
  149. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -1399
  150. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -1656
  151. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -1540
  152. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -1936
  153. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +0 -1596
  154. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +0 -1872
  155. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx +0 -1891
  156. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +0 -1880
  157. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -726
  158. package/srcoriginal/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -719
  159. package/srcoriginal/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -406
  160. package/srcoriginal/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -929
  161. package/srcoriginal/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -646
  162. package/srcoriginal/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -962
  163. package/srcoriginal/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -582
  164. package/srcoriginal/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -383
  165. package/srcoriginal/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -342
  166. package/srcoriginal/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -161
  167. package/srcoriginal/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -257
  168. package/srcoriginal/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -382
  169. package/srcoriginal/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -760
  170. package/srcoriginal/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +0 -757
  171. package/srcoriginal/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -346
  172. package/srcoriginal/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -1679
  173. package/srcoriginal/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -141
  174. package/srcoriginal/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -376
  175. package/srcoriginal/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -385
  176. package/srcoriginal/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -512
  177. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -226
  178. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -149
  179. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -143
  180. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -634
  181. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -520
  182. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -527
  183. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -643
  184. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -477
  185. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -1217
  186. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +0 -614
  187. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -91
  188. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -380
  189. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -619
  190. package/srcoriginal/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -284
  191. package/srcoriginal/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -614
  192. package/srcoriginal/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -402
  193. package/srcoriginal/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -199
  194. package/srcoriginal/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -304
  195. package/srcoriginal/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -321
  196. package/srcoriginal/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -797
  197. package/srcoriginal/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -460
  198. package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -1306
  199. package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -1892
  200. package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -1633
  201. package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -1593
  202. package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -1574
  203. package/srcoriginal/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -245
  204. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -2888
  205. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -1450
  206. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter.jsx +0 -2979
  207. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter1-5.jsx +0 -2624
  208. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter13-11.jsx +0 -2758
  209. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter14-8.jsx +0 -2753
  210. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -1495
  211. package/srcoriginal/TabexComponents/StaticPages/Filter/VariantFilter.jsx +0 -1271
  212. package/srcoriginal/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -62
  213. package/srcoriginal/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -50
  214. package/srcoriginal/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
  215. package/srcoriginal/TabexComponents/StaticPages/Login/Login copy.jsx +0 -1060
  216. package/srcoriginal/TabexComponents/StaticPages/Login/Login.jsx +0 -610
  217. package/srcoriginal/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -172
  218. package/srcoriginal/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1584
  219. package/srcoriginal/TabexComponents/StaticPages/Policies/Policies.jsx +0 -291
  220. package/srcoriginal/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -194
  221. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -183
  222. package/srcoriginal/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -128
  223. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +0 -255
  224. package/srcoriginal/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -176
  225. package/srcoriginal/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -225
  226. package/srcoriginal/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +0 -92
  227. package/srcoriginal/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -312
  228. package/srcoriginal/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -235
  229. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +0 -2118
  230. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -1554
  231. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +0 -1827
  232. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +0 -1351
  233. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -1566
  234. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -1947
  235. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -1037
  236. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -966
  237. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -632
  238. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -324
  239. package/srcoriginal/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -145
  240. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +0 -183
  241. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +0 -128
  242. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +0 -140
  243. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +0 -225
  244. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +0 -310
  245. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +0 -235
  246. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +0 -1672
  247. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +0 -1554
  248. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +0 -1351
  249. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +0 -1566
  250. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +0 -1804
  251. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +0 -560
  252. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +0 -919
  253. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +0 -597
  254. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +0 -324
  255. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +0 -145
  256. package/srcoriginal/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -194
  257. package/srcoriginal/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -338
  258. package/srcoriginal/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -359
  259. package/srcoriginal/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -113
  260. package/srcoriginal/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -277
  261. package/srcoriginal/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -1135
  262. package/srcoriginal/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -1364
  263. package/srcoriginal/TabexComponents/StaticPages/Signup/Signup.jsx +0 -199
  264. package/srcoriginal/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -292
  265. package/srcoriginal/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -113
  266. package/srcoriginal/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -162
  267. package/srcoriginal/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -765
  268. package/srcoriginal/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -786
  269. package/srcoriginal/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -786
  270. package/srcoriginal/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -786
  271. package/srcoriginal/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -1425
  272. package/srcoriginal/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -844
  273. package/srcoriginal/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +0 -555
  274. package/srcoriginal/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -555
  275. package/srcoriginal/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -555
  276. package/srcoriginal/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -815
  277. package/srcoriginal/button.jsx +0 -40
  278. package/srcoriginal/index.jsx +0 -334
  279. package/srcoriginal/styles/Home.module.css +0 -129
  280. package/srcoriginal/styles/cards/Categorcycard_fullimage.module.css +0 -14
  281. package/srcoriginal/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
  282. package/srcoriginal/styles/cards/Categorycard_withshapes.module.css +0 -189
  283. package/srcoriginal/styles/cards/ModernCardWithQuantityButton.module.css +0 -30
  284. package/srcoriginal/styles/cards/Productcard6.module.css +0 -9
  285. package/srcoriginal/styles/cards/Productccard_with_zoominonhover.module.css +0 -51
  286. package/srcoriginal/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
  287. package/srcoriginal/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -65
  288. package/srcoriginal/styles/cards/card23.module.css +0 -60
  289. package/srcoriginal/styles/cards/categorycard.module.css +0 -84
  290. package/srcoriginal/styles/cards/categorycard3.module.css +0 -50
  291. package/srcoriginal/styles/cards/categorycardwithtext.module.css +0 -40
  292. package/srcoriginal/styles/cards/generalCardsStyles.module.css +0 -79
  293. package/srcoriginal/styles/cards/productcard_animatedbuttons.module.css +0 -139
  294. package/srcoriginal/styles/cards/productcard_with_textonhover.module.css +0 -18
  295. package/srcoriginal/styles/cards/productcard_withtextonimage.module.css +0 -0
  296. package/srcoriginal/styles/cards/productccard_with_imageontopleft.module.css +0 -85
  297. package/srcoriginal/styles/general/bootstrap.css +0 -4763
  298. package/srcoriginal/styles/general/dropdown.css +0 -206
  299. package/srcoriginal/styles/general/editorbardropdown.module.css +0 -94
  300. package/srcoriginal/styles/general/filter.module.css +0 -108
  301. package/srcoriginal/styles/general/form.module.css +0 -255
  302. package/srcoriginal/styles/general/general.module.css +0 -872
  303. package/srcoriginal/styles/general/image-gallery.css +0 -531
  304. package/srcoriginal/styles/general/react-accessible-accordion.module.css +0 -52
  305. package/srcoriginal/styles/general/react-phone-input-2.module.css +0 -927
  306. package/srcoriginal/styles/general/scrollbtn.module.css +0 -22
  307. package/srcoriginal/styles/general/slick.module.css +0 -166
  308. package/srcoriginal/styles/general/tabs.module.css +0 -119
  309. package/srcoriginal/styles/general/workplaceeditor.module.css +0 -328
  310. package/srcoriginal/styles/globals.css +0 -26
  311. package/srcoriginal/styles/headers/CTAHeader.module.css +0 -40
  312. package/srcoriginal/styles/headers/CategoryFeaturingHeader.module.css +0 -61
  313. package/srcoriginal/styles/headers/Gotoheader.module.css +0 -87
  314. package/srcoriginal/styles/headers/Header7.module.css +0 -50
  315. package/srcoriginal/styles/headers/HeaderWithAdSlider.module.css +0 -86
  316. package/srcoriginal/styles/headers/HeaderWithSearchOnCenter.module.css +0 -101
  317. package/srcoriginal/styles/headers/HeaderWithUtilityBar.module.css +0 -46
  318. package/srcoriginal/styles/headers/Header_threesectionslogocentered.module.css +0 -84
  319. package/srcoriginal/styles/headers/NewHeader.module.css +0 -101
  320. package/srcoriginal/styles/headers/SearchFocusedHeader.module.css +0 -62
  321. package/srcoriginal/styles/headers/Sideheader.module.css +0 -108
  322. package/srcoriginal/styles/headers/Simpleheader.module.css +0 -102
  323. package/srcoriginal/styles/headers/classicheader.module.css +0 -16
  324. package/srcoriginal/styles/headers/classicheaderstyles.module.css +0 -9
  325. package/srcoriginal/styles/headers/dropdown.css +0 -0
  326. package/srcoriginal/styles/headers/header4.module.css +0 -175
  327. package/srcoriginal/styles/headers/header5.module.css +0 -30
  328. package/srcoriginal/styles/headers/header_contactinfo.module.css +0 -53
  329. package/srcoriginal/styles/headers/headerresturant.module.css +0 -89
  330. package/srcoriginal/styles/headers/modernheader.module.css +0 -45
  331. package/srcoriginal/styles/headers/stylishheader.module.css +0 -24
  332. package/srcoriginal/styles/headers/subheader.module.css +0 -114
  333. package/srcoriginal/styles/headers/threetieredheader.module.css +0 -91
  334. package/srcoriginal/styles/sections/BackgroundImageWithTopContent.css +0 -4
  335. package/srcoriginal/styles/sections/Backgroundimage1.module.css +0 -17
  336. package/srcoriginal/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
  337. package/srcoriginal/styles/sections/Freetext.module.css +0 -18
  338. package/srcoriginal/styles/sections/Section_with_rightbgcont.module.css +0 -49
  339. package/srcoriginal/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
  340. package/srcoriginal/styles/sections/Slideshow_with_squarebg.module.css +0 -39
  341. package/srcoriginal/styles/staticpages/accordion.module.css +0 -9
  342. package/srcoriginal/styles/staticpages/cart.module.css +0 -108
  343. package/srcoriginal/styles/staticpages/dropdown.css +0 -196
  344. package/srcoriginal/styles/staticpages/filter.module.css +0 -139
  345. package/srcoriginal/styles/staticpages/image-gallery.css +0 -481
  346. package/srcoriginal/styles/staticpages/login.module.css +0 -155
  347. package/srcoriginal/styles/staticpages/productinfo.module.css +0 -54
  348. package/srcoriginal/styles/staticpages/shop.module.css +0 -191
  349. package/srcoriginal/styles/staticpages/signup.module.css +0 -250
  350. package/srcoriginal/styles/staticpages/staticroutersidenav.module.css +0 -129
  351. package/srcoriginal/styles/staticpages/viewcart.module.css +0 -129
  352. package/srcoriginal/styles/staticpages/wishlist.module.css +0 -29
@@ -1,632 +0,0 @@
1
- //productidprops
2
- import React, { useEffect, useState } from 'react';
3
- import productinfostyles from '../../../styles/staticpages/productinfo.module.css';
4
- import '../../../styles/staticpages/image-gallery.css';
5
- import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
6
- import loginstyles from '../../../styles/staticpages/signup.module.css';
7
- import { css } from 'glamor';
8
- import { defaultstylesnone } from '../../../StylesJS/Customstyles';
9
-
10
- const Select = React.lazy(() => import('react-select'));
11
-
12
- const Variantoptions = (props) => {
13
- const productinfo_cssstyles = props.actions.productinfo_cssstyles;
14
- const lang = props.actions.lang;
15
- const langdetect = props.actions.langdetect;
16
- const variantvalueidentifier = props.actions.variantvalueidentifier;
17
- const selectproductoptionvalue = props.actions.selectproductoptionvalue;
18
- const clearchoosenvaluesbutkeepcurrentvalue = props.actions.clearchoosenvaluesbutkeepcurrentvalue;
19
- const fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
20
- const sectionproperties = props.actions.sectionproperties;
21
- const ikimagecredcontext = props.actions.ikimagecredcontext;
22
- const ProductInfoObj = props.actions.ProductInfoObj;
23
- const [variantidentifier, setvariantidentifier] = useState('');
24
- const variantindexcompleted = props.actions.variantindexcompleted;
25
-
26
- const formstyles = {
27
- input_label_name: css({
28
- color: sectionproperties.form_labelcolor,
29
- textTransform: sectionproperties.form_labeltexttransform,
30
- fontWeight: sectionproperties.form_labelfontweight,
31
- fontSize: sectionproperties.form_labelfontsize + 'px',
32
- marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0,
33
- }),
34
- form_control: css({
35
- background: 'transparent',
36
- color: sectionproperties.inputfieldcolor,
37
- fontSize: sectionproperties.inputfieldfontsize + 'px',
38
- position: 'relative',
39
- display: 'flex',
40
- alignItems: 'center',
41
- display: 'block',
42
- width: '100%',
43
- // height: '35px',
44
- padding: '0 10px',
45
- transition: '.3s',
46
- border: sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0,
47
- borderBottom: sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor,
48
- borderRadius: sectionproperties.inputfieldborderradius + 'px',
49
- height: sectionproperties.inputfieldheight + 'px',
50
- background: sectionproperties.input_bgcolor,
51
- color: sectionproperties.inputfieldcolor,
52
- ':focus': {
53
- borderColor: sectionproperties.inputfeildbordercoloronfocus,
54
- },
55
- ':focus .login_input_icon': {
56
- color: sectionproperties.inputfeildbordercoloronfocus,
57
- },
58
- }),
59
- };
60
- const issingleoptionoutofstock = (valueitem) => {
61
- var current_quantity = 0;
62
- var isoutofstock = false;
63
-
64
- if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1) {
65
- ProductInfoObj?.data?.productinfo?.variants?.forEach(function (varitem) {
66
- varitem?.variantoptions?.forEach(function (varoptionitem) {
67
- if (varoptionitem.valueid == valueitem.valueid) {
68
- current_quantity = varitem.current_quantity;
69
- if (varitem.current_quantity <= 0) {
70
- if (ProductInfoObj?.data?.productinfo?.quantavailtype == 'limit') {
71
- isoutofstock = true;
72
- }
73
- }
74
- }
75
- });
76
- });
77
- }
78
-
79
- return { isoutofstock: isoutofstock, current_quantity: current_quantity };
80
- };
81
- const outofstock_div = () => {
82
- return (
83
- <div>
84
- <p style={{ color: 'red' }}>Out of stock</p>
85
- </div>
86
- );
87
- };
88
- return (
89
- <>
90
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.hasvariants == 1 && sectionproperties.productInformationType == 'Product/Service Information' && (
91
- <div className={props.srcprops == 'reservation' ? 'row mx-0 mt-3 w-100 d-flex align-items-start' : 'row m-0 w-100 d-flex align-items-start'}>
92
- {/* <h1>Variants options</h1> */}
93
- {sectionproperties.variantstyle == 'Slider' &&
94
- ProductInfoObj?.data?.productinfo?.productoptions?.map((item, index) => {
95
- return (
96
- <div className="col-lg-12 p-0 mb-3 d-flex justify-content-start">
97
- <div className="row m-0 w-100 d-flex align-items-start">
98
- <div className="col-lg-12 col-md-12 p-0 d-flex">
99
- <p
100
- className={' m-0 p-0 wordbreak'}
101
- style={{
102
- color: sectionproperties.varianttitle_color,
103
- fontWeight: sectionproperties.varianttitle_fontweight,
104
- textTransform: sectionproperties.varianttitle_texttransform,
105
- fontSize: sectionproperties.varianttitle_fontSize + 'px',
106
- }}
107
- >
108
- {sectionproperties.showselect == 'Show' && <span>{lang.select}</span>} {''} {langdetect == 'en' ? item.optionname : item.optionname_ar}:{' '}
109
- {item.optionname == 'color' || (item.optionname == 'Color' && <span style={{ color: '#62554a' }}>{variantvalueidentifier}</span>)}
110
- </p>
111
- </div>
112
- <div
113
- className="col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-1"
114
- style={{
115
- paddingTop: sectionproperties.showRemovebutton == 'Show' ? '1rem' : 0,
116
- }}
117
- >
118
- {item.optionvalues.map((optionvaluesitem, optionvaluesindex) => {
119
- var isoptionvalueselected = 0;
120
- if (optionvaluesitem.isselected == 1) {
121
- isoptionvalueselected = 1;
122
- } else {
123
- isoptionvalueselected = 0;
124
- }
125
- var isoptionvaluedenabled = 0;
126
- if (optionvaluesitem.isenabled == 1) {
127
- isoptionvaluedenabled = 1;
128
- } else {
129
- isoptionvaluedenabled = 0;
130
- }
131
- if (item.optionname == 'color' || item.optionname == 'Color') {
132
- return (
133
- <>
134
- <div
135
- className={
136
- productinfostyles.color_container + ' mr-2 variabttcontainer ' + `${productinfostyles.color_container_active}`
137
- // `${isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''}`
138
- }
139
- onClick={() => {
140
- // here
141
- if (optionvaluesitem.isenabled == 1) {
142
- selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
143
- } else {
144
- clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
145
- }
146
- }}
147
- style={{
148
- background: optionvaluesitem.valuename,
149
- border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : '1px solid #ccc',
150
-
151
- // borderWidth: isoptionvalueselected == 1 ? '2px' : 0,
152
- // opacity: isoptionvaluedenabled == 1 ? 1 : 0.2,
153
- // cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
154
- }}
155
- ></div>
156
- {/* <div style={{ width: '100%' }}>
157
- {issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] ? outofstock_div() : ''}
158
- <p>q: {issingleoptionoutofstock(optionvaluesitem)['current_quantity']} </p>
159
- </div> */}
160
- </>
161
- );
162
- } else if (item.optionname == 'size' || item.optionname == 'Size') {
163
- return (
164
- <div
165
- className={
166
- issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show'
167
- ? `${productinfostyles.variant_container} ${productinfostyles.size_variant_container}` +
168
- ' mr-2 variabttcontainer allcentered showcrossicon ' +
169
- `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
170
- : `${productinfostyles.variant_container} ${productinfostyles.size_variant_container}` +
171
- ' mr-2 variabttcontainer allcentered ' +
172
- `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
173
- }
174
- onClick={() => {
175
- if (issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show') {
176
- } else {
177
- if (optionvaluesitem.isenabled == 1) {
178
- selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
179
- } else {
180
- clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
181
- }
182
- }
183
- }}
184
- style={{
185
- // activeproductcolor
186
- cursor:
187
- issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show'
188
- ? 'not-allowed'
189
- : isoptionvaluedenabled == 1
190
- ? 'pointer'
191
- : 'not-allowed',
192
- backgroundColor:
193
- sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null
194
- ? sectionproperties.variantcontainer_bgcolor
195
- : isoptionvalueselected == 1
196
- ? 'green'
197
- : isoptionvaluedenabled == 1
198
- ? sectionproperties.variantcontainer_bgcolor
199
- : 'grey',
200
- minWidth: sectionproperties.variantcontainer_minwidth + 'px',
201
- height: sectionproperties.variantcontainer_height + 'px',
202
- borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
203
- position: 'relative',
204
- border:
205
- isoptionvalueselected == 1
206
- ? '2px solid ' + sectionproperties.activeproductcolor
207
- : isoptionvaluedenabled == 1
208
- ? '1px solid ' + sectionproperties.variantcontainerbordercolor
209
- : '1px solid ' + ' grey ',
210
- }}
211
- >
212
- {isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && (
213
- <p
214
- class="m-0 p-0 bg-danger bgdanger-hover"
215
- style={{
216
- position: 'absolute',
217
- top: '-15px',
218
- right: '-5px',
219
- width: '3vh',
220
- height: '3vh',
221
- borderRadius: 100,
222
- }}
223
- >
224
- <i class="h-100 allcentered">
225
- <IoMdClose />
226
- </i>
227
- </p>
228
- )}
229
- <p
230
- className={'wordbreak m-0 p-0 d-flex align-items-center justify-content-center'}
231
- style={{
232
- color:
233
- sectionproperties.variantcontainerbordercolor != undefined &&
234
- sectionproperties.variantcontainerbordercolor != null &&
235
- isoptionvalueselected == 1
236
- ? sectionproperties.activeproductcolor
237
- : sectionproperties.variantcontainer_color,
238
- fontSize: sectionproperties.variantcontainer_fontSize + 'px',
239
- fontWeight: 500,
240
- }}
241
- >
242
- {langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar}
243
- </p>
244
- {/* sectionproperties.showoutofstockwithoutselection */}
245
- {/* <div style={{ width: '100%' }}>
246
- {issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] ? outofstock_div() : ''}
247
- <p>q: {issingleoptionoutofstock(optionvaluesitem)['current_quantity']} </p>
248
- </div> */}
249
- </div>
250
- );
251
- } else {
252
- return (
253
- <div
254
- className={
255
- productinfostyles.variant_container +
256
- ' mr-2 variabttcontainer allcentered pl-2 pr-2 ' +
257
- `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
258
- }
259
- onClick={() => {
260
- if (optionvaluesitem.isenabled == 1) {
261
- selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
262
- } else {
263
- clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
264
- }
265
- }}
266
- style={{
267
- backgroundColor:
268
- sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null
269
- ? sectionproperties.variantcontainer_bgcolor
270
- : isoptionvalueselected == 1
271
- ? 'green'
272
- : isoptionvaluedenabled == 1
273
- ? sectionproperties.variantcontainer_bgcolor
274
- : 'grey',
275
- width: 'auto',
276
- height: sectionproperties.variantcontainer_height + 'px',
277
- borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
278
- position: 'relative',
279
- border:
280
- isoptionvalueselected == 1
281
- ? '2px solid green'
282
- : isoptionvaluedenabled == 1
283
- ? '1px solid ' + sectionproperties.variantcontainerbordercolor
284
- : '1px solid ' + ' grey ',
285
- }}
286
- >
287
- {isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && (
288
- <p
289
- class="m-0 p-0 bg-danger bgdanger-hover"
290
- style={{
291
- position: 'absolute',
292
- top: '-15px',
293
- right: '-5px',
294
- width: '3vh',
295
- height: '3vh',
296
- borderRadius: 100,
297
- }}
298
- >
299
- <i class="h-100 allcentered">
300
- <IoMdClose />
301
- </i>
302
- </p>
303
- )}
304
- <p
305
- className={'m-0 p-0 allcentered'}
306
- style={{
307
- fontWeight: 500,
308
- // color: sectionproperties.variantcontainer_color,
309
- fontSize: sectionproperties.variantcontainer_fontSize + 'px',
310
- color:
311
- sectionproperties.variantcontainerbordercolor != undefined &&
312
- sectionproperties.variantcontainerbordercolor != null &&
313
- isoptionvalueselected == 1
314
- ? 'green'
315
- : sectionproperties.variantcontainer_color,
316
- }}
317
- >
318
- {langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar}
319
- </p>
320
- </div>
321
- );
322
- }
323
- })}
324
- </div>
325
- </div>
326
- </div>
327
- );
328
- })}
329
- {langdetect == 'en' && fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.variantdescription_en && (
330
- <div class="my-3 col-lg-12 p-0">
331
- <p
332
- className={'m-0 p-0 wordbreak'}
333
- style={{
334
- textAlign: langdetect == 'en' ? 'left' : 'right',
335
- color: '#000000',
336
- }}
337
- dangerouslySetInnerHTML={{
338
- __html:
339
- langdetect == 'en'
340
- ? fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.variantdescription_en
341
- : fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.variantdescription_ar,
342
- }}
343
- ></p>
344
- </div>
345
- )}
346
- {langdetect == 'ar' && fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.variantdescription_ar && (
347
- <div class="my-3 col-lg-12 p-0">
348
- <p
349
- className={'m-0 p-0 wordbreak'}
350
- style={{
351
- textAlign: langdetect == 'en' ? 'left' : 'right',
352
- color: '#000000',
353
- }}
354
- dangerouslySetInnerHTML={{
355
- __html:
356
- langdetect == 'en'
357
- ? fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.variantdescription_en
358
- : fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.variantdescription_ar,
359
- }}
360
- ></p>
361
- </div>
362
- )}
363
- {sectionproperties.variantstyle == 'Vertical' &&
364
- ProductInfoObj?.data?.productinfo?.productoptions?.map((item, index) => {
365
- return (
366
- <ul class="thwvsf-wrapper-ul">
367
- <div className="row m-0 w-100 d-flex align-items-start mb-2">
368
- <div className="col-lg-12 col-md-12 p-0 d-flex">
369
- <p
370
- className={' m-0 p-0 wordbreak'}
371
- style={{
372
- color: sectionproperties.varianttitle_color,
373
- fontWeight: sectionproperties.varianttitle_fontweight,
374
- textTransform: sectionproperties.varianttitle_texttransform,
375
- fontSize: sectionproperties.varianttitle_fontSize + 'px',
376
- }}
377
- >
378
- {sectionproperties.showselect == 'Show' && <span>{lang.select}</span>} {''} {langdetect == 'en' ? item.optionname : item.optionname_ar}:
379
- </p>
380
- </div>
381
- </div>
382
-
383
- {item.optionvalues.map((optionvaluesitem, optionvaluesindex) => {
384
- var isoptionvalueselected = 0;
385
- if (optionvaluesitem.isselected == 1) {
386
- isoptionvalueselected = 1;
387
- } else {
388
- isoptionvalueselected = 0;
389
- }
390
- var isoptionvaluedenabled = 0;
391
- if (optionvaluesitem.isenabled == 1) {
392
- isoptionvaluedenabled = 1;
393
- } else {
394
- isoptionvaluedenabled = 0;
395
- }
396
- if (item.optionname == 'color' || item.optionname == 'Color') {
397
- return (
398
- <li
399
- style={{
400
- width: 'auto',
401
- }}
402
- >
403
- <div
404
- className={
405
- productinfostyles.color_container +
406
- ' mx-1 mb-2 variabttcontainer ' +
407
- `${isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''}`
408
- }
409
- onClick={() => {
410
- if (optionvaluesitem.isenabled == 1) {
411
- selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
412
- } else {
413
- clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
414
- }
415
- }}
416
- style={{
417
- background: optionvaluesitem.valuename,
418
- opacity: isoptionvaluedenabled == 1 ? 1 : 0.2,
419
- cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
420
- }}
421
- ></div>
422
- </li>
423
- );
424
- } else {
425
- // else if (item.optionname == 'size' || item.optionname == 'Size') {
426
- return (
427
- <li
428
- style={{
429
- width: 'auto',
430
- }}
431
- >
432
- <div
433
- className={
434
- `${productinfo_cssstyles.variant_container}` +
435
- ' mx-1 mb-2 variabttcontainer allcentered px-2 ' +
436
- `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
437
- }
438
- onClick={() => {
439
- if (optionvaluesitem.isenabled == 1) {
440
- selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
441
- } else {
442
- clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
443
- }
444
- }}
445
- style={{
446
- cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
447
- backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
448
- minWidth: sectionproperties.variantcontainer_minwidth + 'px',
449
- height: sectionproperties.variantcontainer_height + 'px',
450
- borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
451
- position: 'relative',
452
- border:
453
- isoptionvalueselected == 1
454
- ? '1px solid green'
455
- : isoptionvaluedenabled == 1
456
- ? '1px solid ' + sectionproperties.variantcontainerbordercolor
457
- : '1px solid ' + ' grey ',
458
- }}
459
- >
460
- <p className={'wordbreak m-0 p-0 d-flex align-items-center justify-content-center'} style={{}}>
461
- {langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar}
462
- </p>
463
- </div>
464
- </li>
465
- );
466
- }
467
- // else {
468
- // return (
469
- // <li
470
- // style={{
471
- // width: 'auto',
472
- // }}
473
- // >
474
- // <div
475
- // className={
476
- // productinfostyles.variant_container +
477
- // ' mx-2 mb-2 variabttcontainer allcentered pl-2 pr-2 ' +
478
- // `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
479
- // }
480
- // onClick={() => {
481
- // if (optionvaluesitem.isenabled == 1) {
482
- // selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
483
- // } else {
484
- // clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
485
- // }
486
- // }}
487
- // style={{
488
- // backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
489
- // width: 'auto',
490
- // height: sectionproperties.variantcontainer_height + 'px',
491
- // borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
492
- // position: 'relative',
493
- // }}
494
- // >
495
- // {isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && (
496
- // <p
497
- // class="m-0 p-0 bg-danger bgdanger-hover"
498
- // style={{
499
- // position: 'absolute',
500
- // top: '-15px',
501
- // right: '-5px',
502
- // width: '3vh',
503
- // height: '3vh',
504
- // borderRadius: 100,
505
- // }}
506
- // >
507
- // <i class="h-100 allcentered">
508
- // <IoMdClose />
509
- // </i>
510
- // </p>
511
- // )}
512
- // <p
513
- // className={'m-0 p-0 allcentered'}
514
- // style={{
515
- // color: sectionproperties.variantcontainer_color,
516
- // fontSize: sectionproperties.variantcontainer_fontSize + 'px',
517
- // }}
518
- // >
519
- // {langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar}
520
- // </p>
521
- // </div>
522
- // </li>
523
- // );
524
- // }
525
- })}
526
- </ul>
527
- );
528
- })}
529
- {sectionproperties.variantstyle == 'Select Box' &&
530
- ProductInfoObj?.data?.productinfo?.productoptions?.map((item, index) => {
531
- var orgselectoptions = [];
532
- var selecteditemid = null;
533
- var placeholdervalue = '';
534
- placeholdervalue = 'Choose' + ' ' + (langdetect == 'en' ? item.optionname : item.optionname_ar);
535
- if (item.optionvalues != undefined && Array.isArray(item.optionvalues)) {
536
- orgselectoptions = item.optionvalues;
537
- // optionvaluesitem.isselected
538
- }
539
- orgselectoptions.forEach(function (getselcitem, getselindex) {
540
- // if (getselcitem.isselected == 1 && issingleoptionoutofstock(getselcitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show') {
541
- // selecteditemid = getselcitem.valueid + langdetect == 'en' ? '(Unavailable)' : 'غير متاح';
542
- // } else if (getselcitem.isselected == 1 && sectionproperties.showoutofstockwithoutselection == 'Hide') {
543
- // selecteditemid = getselcitem.valueid;
544
- // } else {
545
- // selecteditemid = getselcitem.valueid;
546
- // }
547
- if (getselcitem.isselected == 1) {
548
- selecteditemid = getselcitem.valueid;
549
- }
550
- });
551
- {
552
- /* sectionproperties.showoutofstockwithoutselection */
553
- }
554
- {
555
- /* <div style={{ width: '100%' }}>
556
- {issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] ? outofstock_div() : ''}
557
- <p>q: {issingleoptionoutofstock(optionvaluesitem)['current_quantity']} </p>
558
- </div> */
559
- }
560
- return (
561
- <div
562
- class={
563
- sectionproperties.numberofcolsperrow == '2'
564
- ? 'col-lg-2 col-md-3 col-sm-12 mb-3 p-sm-0'
565
- : sectionproperties.numberofcolsperrow == '3'
566
- ? ' col-lg-3 col-md-3 col-sm-12 mb-3 p-sm-0'
567
- : sectionproperties.numberofcolsperrow == '4'
568
- ? 'col-lg-4 col-md-4 col-sm-12 mb-3 p-sm-0'
569
- : sectionproperties.numberofcolsperrow == '6'
570
- ? 'col-lg-6 col-md-6 col-sm-12 mb-3 p-sm-0'
571
- : 'col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0'
572
- }
573
- >
574
- <label
575
- className={' d-flex align-items-start mb-2 '}
576
- style={{
577
- color: sectionproperties.varianttitle_color,
578
- fontWeight: sectionproperties.varianttitle_fontweight,
579
- textTransform: sectionproperties.varianttitle_texttransform,
580
- fontSize: sectionproperties.varianttitle_fontSize + 'px',
581
- }}
582
- >
583
- {langdetect == 'en' ? item.optionname : item.optionname_ar}
584
- </label>
585
- <div
586
- style={{
587
- width: '100%',
588
- }}
589
- className={`${loginstyles.form_control} ${formstyles.form_control}` + ' variantselectbox '}
590
- >
591
- <Select
592
- options={orgselectoptions}
593
- getOptionLabel={(option) => {
594
- var crname = '';
595
- if (langdetect == 'en') {
596
- crname = option.valuename;
597
- } else if (langdetect == 'ar') {
598
- crname = option.valuename_ar;
599
- }
600
- return crname;
601
- }}
602
- getOptionValue={(option) => option.valueid}
603
- value={orgselectoptions.filter((option) => option.valueid == selecteditemid)}
604
- onChange={(optionvaluesitem) => {
605
- var optionvaluesindex = null;
606
- orgselectoptions?.forEach(function (tempitm, tempind) {
607
- if (tempitm.valueid == optionvaluesitem.valueid) {
608
- optionvaluesindex = tempind;
609
- }
610
- });
611
- if (optionvaluesindex != null) {
612
- if (optionvaluesitem.isenabled == 1) {
613
- selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
614
- } else {
615
- clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
616
- }
617
- }
618
- }}
619
- styles={defaultstylesnone}
620
- placeholder={placeholdervalue}
621
- isSearchable={true}
622
- />
623
- </div>
624
- </div>
625
- );
626
- })}
627
- </div>
628
- )}
629
- </>
630
- );
631
- };
632
- export default Variantoptions;