tabexseriescomponents 0.0.216 → 0.0.217

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.
package/dist/index.cjs.js CHANGED
@@ -1828,7 +1828,7 @@ var Product_itemtype = function Product_itemtype(props) {
1828
1828
  TabIndicatorProps: {
1829
1829
  style: {
1830
1830
  background: sectionproperties.activetabbordercolor,
1831
- width: '50%',
1831
+ // width: '50%',
1832
1832
  right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
1833
1833
  margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : ''
1834
1834
  }
@@ -22606,7 +22606,7 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
22606
22606
  maxHeight: '100%'
22607
22607
  }
22608
22608
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
22609
- "class": ' col-lg-6 p-0 d-flex flex-row align-items-center justify-content-start '
22609
+ "class": ' col-lg-7 p-0 d-flex flex-row align-items-center justify-content-start '
22610
22610
  }, /*#__PURE__*/React__default["default"].createElement("div", {
22611
22611
  "class": " ".concat(headerstyles$2.nav__item) + 'scrollhorizontal w-100 align-items-center justify-content-start',
22612
22612
  style: {
@@ -22634,7 +22634,7 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
22634
22634
  subheadercontentpositionprops: 'start'
22635
22635
  }
22636
22636
  })), /*#__PURE__*/React__default["default"].createElement("div", {
22637
- "class": "col-lg-4 p-0 d-flex align-items-center justify-content-end"
22637
+ "class": "col-lg-3 p-0 d-flex align-items-center justify-content-end"
22638
22638
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
22639
22639
  "class": " ".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
22640
22640
  style: {
@@ -22663,7 +22663,10 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
22663
22663
  }, /*#__PURE__*/React__default["default"].createElement("p", {
22664
22664
  "class": header_cssstyles.greetingstyles + ' m-0 p-0 mb-1 '
22665
22665
  }, lang.hello, langdetect == 'en' ? ',' : '،'), /*#__PURE__*/React__default["default"].createElement("p", {
22666
- "class": header_cssstyles.loggedinusername + ' loggedinuserbtn text-overflow m-0 p-0 '
22666
+ "class": header_cssstyles.loggedinusername + ' loggedinuserbtn text-overflow m-0 p-0 ',
22667
+ style: {
22668
+ maxWidth: '100px'
22669
+ }
22667
22670
  }, authdetailsContext.customerinfo.name)))), !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
22668
22671
  "class": "".concat(header_cssstyles.dropdownitem),
22669
22672
  onClick: function onClick() {
@@ -27070,7 +27073,6 @@ var Footer5 = function Footer5(props) {
27070
27073
  _useState6 = _slicedToArray__default["default"](_useState5, 2),
27071
27074
  logoarrayofobjects = _useState6[0],
27072
27075
  setlogoarrayofobjects = _useState6[1];
27073
- props.actions.history;
27074
27076
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
27075
27077
  var lang = props.actions.lang;
27076
27078
  var langdetect = props.actions.langdetect;
@@ -30308,6 +30310,18 @@ var ModernCardsSection = function ModernCardsSection(props) {
30308
30310
  cardobj.productimages = arrayItem.productinfo.productimages;
30309
30311
  cardobj.quantity = itemquantity;
30310
30312
  cardobj.timestamp = arrayItem.productinfo.timestamp;
30313
+ if (langdetect == 'en') {
30314
+ cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.data.data.currencyname_en;
30315
+ } else {
30316
+ cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.data.data.currencyname_ar;
30317
+ }
30318
+ if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
30319
+ favoriteprojectscountContext.forEach(function (favitem, favindex) {
30320
+ if (arrayItem.productinfo.productid == favitem) {
30321
+ cardobj.IsFavExists = true;
30322
+ }
30323
+ });
30324
+ }
30311
30325
  if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
30312
30326
  favoriteprojectscountContext.forEach(function (favitem, favindex) {
30313
30327
  if (arrayItem.productinfo.productid == favitem) {
@@ -30464,13 +30478,13 @@ var ModernCardsSection = function ModernCardsSection(props) {
30464
30478
  color: sectionproperties.noprod_iconcolor
30465
30479
  }
30466
30480
  }), /*#__PURE__*/React__default["default"].createElement("p", {
30481
+ "class": "m-0 p-0 mt-2",
30467
30482
  style: {
30468
- fontSize: sectionproperties.noprod_fontSize + 'px',
30469
30483
  fontWeight: sectionproperties.noprod_fontWeight,
30470
- textTransform: sectionproperties.noprod_textTransform,
30471
- color: sectionproperties.noprod_color
30484
+ color: sectionproperties.noprod_color,
30485
+ fontSize: sectionproperties.noprod_fontSize + 'px'
30472
30486
  }
30473
- }, langdetect == 'en' ? 'No Products Found' : 'لا توجد منتجات'))), cardsarray.length != 0 && StatePagePropertiesContext.pageobj.sections[props.sectionindexprops].childsections.map(function (item, index) {
30487
+ }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))), cardsarray.length != 0 && StatePagePropertiesContext.pageobj.sections[props.sectionindexprops].childsections.map(function (item, index) {
30474
30488
  if (item.tabexsectioninfo != null) {
30475
30489
  if (item.sectionstructype == 'child' && TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname] != undefined) {
30476
30490
  var Sectioncomp = TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname];
@@ -30481,7 +30495,7 @@ var ModernCardsSection = function ModernCardsSection(props) {
30481
30495
  }, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
30482
30496
  transitionBehavior: 'auto',
30483
30497
  wrapperClassName: '',
30484
- itemClassName: item.tabexsectioninfo.sectioncompname == 'Productcard6' ? 'scrollmenuclassnameitemProductcard6' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? 'scrollmenuclassnameitemProductcardcircularhover' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? 'scrollmenuclassnameitemProductcard_with_circularbg' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation' ? 'scrollmenuclassnameitemProductcard_with_slideanimation' : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons' ? 'scrollmenuclassnameitemProductcard_animatedbuttons' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants' ? 'scrollmenuclassnameitemProductcard_with_variants' : item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard' ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg' ? 'scrollmenuclassnameitemCategorycard_with_trianglebg' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover' ? 'scrollmenuclassnameitemProductcard_with_textonhover' : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled' ? 'scrollmenuclassnameitemCategorycard_slidebgscaled' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_Categorycard_fullimage' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : 'scrollmenuclassnameitem',
30498
+ itemClassName: item.tabexsectioninfo.sectioncompname == 'Productcard6' ? 'scrollmenuclassnameitemProductcard6' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? 'scrollmenuclassnameitemProductcardcircularhover' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? 'scrollmenuclassnameitemProductcard_with_circularbg' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation' ? 'scrollmenuclassnameitemProductcard_with_slideanimation' : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons' ? 'scrollmenuclassnameitemProductcard_animatedbuttons' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants' ? 'scrollmenuclassnameitemProductcard_with_variants' : item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard' ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg' ? 'scrollmenuclassnameitemCategorycard_with_trianglebg' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover' ? 'scrollmenuclassnameitemProductcard_with_textonhover' : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled' ? 'scrollmenuclassnameitemCategorycard_slidebgscaled' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_Categorycard_fullimage' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard' ? 'scrollmenuclassnameitemUpSlideEffectCard' : 'scrollmenuclassnameitem',
30485
30499
  scrollContainerClassName: 'scrollmenuclasssubscrollbar'
30486
30500
  }, cardsarray.map(function (cardinfoitem, cardinfoindex) {
30487
30501
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -36188,7 +36202,12 @@ var Freetextsection = function Freetextsection(props) {
36188
36202
  }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr));
36189
36203
  };
36190
36204
  return /*#__PURE__*/React__default["default"].createElement("div", {
36191
- "class": ' row ml-0 mr-0 d-flex justify-content-between w-100 align-items-center ',
36205
+ "class": "w-100 allcentered",
36206
+ style: {
36207
+ background: sectionproperties.backgroundColor
36208
+ }
36209
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
36210
+ "class": ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ',
36192
36211
  style: {
36193
36212
  marginTop: sectionproperties.marginTop + 'px',
36194
36213
  marginBottom: sectionproperties.marginBottom + 'px',
@@ -36197,7 +36216,9 @@ var Freetextsection = function Freetextsection(props) {
36197
36216
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
36198
36217
  borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
36199
36218
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
36200
- position: 'relative'
36219
+ position: 'relative',
36220
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
36221
+ width: sectionproperties.width + 'vw'
36201
36222
  }
36202
36223
  }, maincontainerarrayofobjs != undefined && (maincontainerarrayofobjs === null || maincontainerarrayofobjs === void 0 ? void 0 : maincontainerarrayofobjs.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
36203
36224
  "class": section_styles.imgcontainer
@@ -36264,7 +36285,7 @@ var Freetextsection = function Freetextsection(props) {
36264
36285
  "class": "col-lg-12 p-0"
36265
36286
  }, /*#__PURE__*/React__default["default"].createElement("button", {
36266
36287
  "class": "".concat(section_styles.btn)
36267
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))));
36288
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))));
36268
36289
  };
36269
36290
 
36270
36291
  function ownKeys$Q(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -36403,15 +36424,22 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
36403
36424
  };
36404
36425
  var Content = function Content() {
36405
36426
  return /*#__PURE__*/React__default["default"].createElement("div", {
36406
- "class": "col-lg-6 col-md-12 d-flex justify-content-start h-100 justify-content-md-center p-0"
36427
+ "class": "col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0",
36428
+ style: {
36429
+ background: sectionproperties.reservation_bgcolor,
36430
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
36431
+ paddingTop: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0,
36432
+ paddingBottom: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0
36433
+ }
36407
36434
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36408
- "class": "row m-0 w-100 mb-auto"
36435
+ "class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
36409
36436
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36410
- "class": "col-lg-12 p-0 d-flex justify-content-md-center",
36437
+ "class": "col-lg-12 pl-0 pr-0 d-flex justify-content-md-center",
36411
36438
  style: {
36412
36439
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
36413
36440
  marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
36414
- marginTop: sectionproperties.sectionTitleMarginTop + 'px'
36441
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
36442
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
36415
36443
  }
36416
36444
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36417
36445
  "class": "d-flex align-items-center flex-row d-sm-none mt-sm-2",
@@ -36491,7 +36519,8 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
36491
36519
  return /*#__PURE__*/React__default["default"].createElement("div", {
36492
36520
  "class": sectionproperties.image_height == 0 ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center h-auto p-0' : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-0',
36493
36521
  style: {
36494
- cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
36522
+ cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default',
36523
+ background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor
36495
36524
  },
36496
36525
  onClick: function onClick() {
36497
36526
  var _imagesarray$2;
@@ -36506,10 +36535,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
36506
36535
  }
36507
36536
  }
36508
36537
  }
36509
- }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
36538
+ }, imagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
36510
36539
  urlEndpoint: IKurlEndpoint,
36511
36540
  publicKey: IKpublicKey,
36512
- path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + '/' + ((_imagesarray$7 = imagesarray[0]) === null || _imagesarray$7 === void 0 ? void 0 : _imagesarray$7.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + '/' + ((_imagesarray$8 = imagesarray[0]) === null || _imagesarray$8 === void 0 ? void 0 : _imagesarray$8.bgsection_image_ar) : '',
36541
+ path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$7 = imagesarray[0]) === null || _imagesarray$7 === void 0 ? void 0 : _imagesarray$7.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$8 = imagesarray[0]) === null || _imagesarray$8 === void 0 ? void 0 : _imagesarray$8.bgsection_image_ar),
36513
36542
  style: {
36514
36543
  width: '100%',
36515
36544
  height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
@@ -36524,7 +36553,17 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
36524
36553
  }));
36525
36554
  };
36526
36555
  return /*#__PURE__*/React__default["default"].createElement("div", {
36527
- "class": ' row ml-0 mr-0 d-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3',
36556
+ "class": ' row ml-0 mr-0 d-flex justify-content-between align-items-center '
36557
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
36558
+ "class": sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0 ? 'col-lg-12 d-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-100' : 'col-lg-12 d-flex justify-content-between align-items-center w-md-100',
36559
+ style: {
36560
+ paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
36561
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
36562
+ width: sectionproperties.width + 'vw',
36563
+ background: sectionproperties.backgroundColor
36564
+ }
36565
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
36566
+ "class": sectionproperties.paddingLeft != 0 ? 'row m-0 w-100 d-flex justify-content-between px-1025-1 pl-md-3 pr-md-3' : 'row m-0 w-100 d-flex justify-content-between',
36528
36567
  style: {
36529
36568
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
36530
36569
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
@@ -36532,22 +36571,28 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
36532
36571
  paddingBottom: sectionproperties.paddingBottom + 'px',
36533
36572
  marginTop: sectionproperties.marginTop + 'px',
36534
36573
  marginBottom: sectionproperties.marginBottom + 'px',
36535
- background: sectionproperties.backgroundColor,
36536
36574
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
36537
36575
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
36538
36576
  borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
36539
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
36540
- width: sectionproperties.width + 'vw'
36577
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px'
36541
36578
  }
36542
36579
  }, sectionproperties.sectionstyle == 'Image on right' && /*#__PURE__*/React__default["default"].createElement("div", {
36543
- "class": "col-lg-12 p-0"
36580
+ "class": "col-lg-12 p-0 d-flex justify-content-between"
36544
36581
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36545
- "class": "row m-0 w-100"
36582
+ "class": "row m-0 w-100 d-flex justify-content-between",
36583
+ style: {
36584
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
36585
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
36586
+ }
36546
36587
  }, Content(), Image())), sectionproperties.sectionstyle != 'Image on right' && /*#__PURE__*/React__default["default"].createElement("div", {
36547
36588
  "class": "col-lg-12 p-0"
36548
36589
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36549
- "class": "row m-0 w-100"
36550
- }, Image(), Content())));
36590
+ "class": "row m-0 w-100",
36591
+ style: {
36592
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
36593
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
36594
+ }
36595
+ }, Image(), Content())))));
36551
36596
  };
36552
36597
 
36553
36598
  function ownKeys$P(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -40139,7 +40184,7 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
40139
40184
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
40140
40185
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
40141
40186
  }
40142
- }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
40187
+ }, item.image != '' && /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
40143
40188
  urlEndpoint: IKurlEndpoint,
40144
40189
  publicKey: IKpublicKey,
40145
40190
  path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
@@ -40154,7 +40199,21 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
40154
40199
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
40155
40200
  },
40156
40201
  loading: "lazy"
40157
- }), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
40202
+ }), item.image == '' && /*#__PURE__*/React__default["default"].createElement("div", {
40203
+ style: {
40204
+ width: '100%',
40205
+ height: '100%',
40206
+ background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
40207
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
40208
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
40209
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
40210
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
40211
+ }
40212
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
40213
+ "class": "h-100 allcentered text-light"
40214
+ }, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
40215
+ size: 26
40216
+ }))), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
40158
40217
  "class": "".concat(card_cssstyles.badgeStyles) + ' allcentered '
40159
40218
  }, /*#__PURE__*/React__default["default"].createElement("p", {
40160
40219
  "class": "m-0 p-0",
@@ -40278,14 +40337,14 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
40278
40337
  style: {
40279
40338
  textAlign: langdetect == 'en' ? 'left' : 'right'
40280
40339
  }
40281
- }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م', ' '), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
40340
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname, ' '), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
40282
40341
  "class": "".concat(card_cssstyles.productSalePricestyles)
40283
40342
  }, " / "), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
40284
- "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto ml-sm-3 mr-sm-3 ',
40343
+ "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto ',
40285
40344
  style: {
40286
40345
  textAlign: langdetect == 'en' ? 'left' : 'right'
40287
40346
  }
40288
- }, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م')))));
40347
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)))));
40289
40348
  };
40290
40349
 
40291
40350
  function ownKeys$A(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -40799,10 +40858,19 @@ var CategoryCardTextOnImage = function CategoryCardTextOnImage(props) {
40799
40858
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
40800
40859
  transform: 'scale(0.9)',
40801
40860
  cursor: 'pointer',
40802
- ":hover": {
40861
+ ':hover': {
40803
40862
  transition: '.3s',
40804
40863
  transform: 'scale(1)',
40805
40864
  boxShadow: '0px 0px 5px #ECECEC'
40865
+ },
40866
+ ':hover .categoryname': {
40867
+ transition: 'all .4s ease',
40868
+ color: sectionproperties.text_secondarycolor
40869
+ },
40870
+ ':hover .button_styles': {
40871
+ backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
40872
+ borderColor: sectionproperties.generalbtn_textColoronhover,
40873
+ transition: 'all .4s ease'
40806
40874
  }
40807
40875
  }),
40808
40876
  inner_content: glamor.css({
@@ -40830,14 +40898,63 @@ var CategoryCardTextOnImage = function CategoryCardTextOnImage(props) {
40830
40898
  ':hover': {
40831
40899
  backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
40832
40900
  borderColor: sectionproperties.generalbtn_textColoronhover,
40833
- transition: '.3'
40901
+ transition: 'all .4s ease'
40834
40902
  }
40835
40903
  })
40836
40904
  };
40905
+ var CardContent = function CardContent() {
40906
+ return /*#__PURE__*/React__default["default"].createElement("div", {
40907
+ "class": "w-100 h-100",
40908
+ style: {
40909
+ overflow: 'hidden'
40910
+ }
40911
+ }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
40912
+ urlEndpoint: IKurlEndpoint,
40913
+ publicKey: IKpublicKey,
40914
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
40915
+ style: {
40916
+ height: '100%',
40917
+ width: '100%',
40918
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
40919
+ },
40920
+ loading: "lazy"
40921
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
40922
+ "class": "".concat(card_cssstyles.inner_content) + ' row m-0 w-100 align-items-center justify-content-start pl-sm-2 pr-sm-2 '
40923
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
40924
+ "class": "col-lg-9 col-md-9 col-sm-9 p-0 h-100 d-flex align-items-center"
40925
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
40926
+ "class": "".concat(card_cssstyles.categoryname) + ' categoryname wordbreak wordbreak1 m-0 ',
40927
+ style: {
40928
+ textAlign: langdetect == 'en' ? 'left' : 'right'
40929
+ }
40930
+ }, item.name)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
40931
+ "class": "col-lg-3 col-md-3 col-sm-3 100 d-flex align-items-center justify-content-end p-0"
40932
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
40933
+ "class": "".concat(card_cssstyles.button_styles) + ' button_styles '
40934
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
40935
+ "class": "h-100 d-flex align-items-center justify-content-center"
40936
+ }, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(BsArrowRight.BsArrowRight, {
40937
+ size: sectionproperties.generalbtn_fontsize,
40938
+ style: {
40939
+ color: sectionproperties.generalbtn_textColor,
40940
+ ':hover': {
40941
+ color: sectionproperties.generalbtn_textColoronhover
40942
+ }
40943
+ }
40944
+ }) : /*#__PURE__*/React__default["default"].createElement(BsArrowLeft.BsArrowLeft, {
40945
+ size: sectionproperties.generalbtn_fontsize,
40946
+ style: {
40947
+ color: sectionproperties.generalbtn_textColor,
40948
+ ':hover': {
40949
+ color: sectionproperties.generalbtn_textColoronhover
40950
+ }
40951
+ }
40952
+ }))))));
40953
+ };
40837
40954
  return /*#__PURE__*/React__default["default"].createElement("div", {
40838
40955
  "class": card_cssstyles.categorycard + ' col-lg-12 p-0 '
40839
40956
  }, /*#__PURE__*/React__default["default"].createElement("div", {
40840
- "class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center",
40957
+ "class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center d-flex d-md-none",
40841
40958
  onClick: function onClick() {
40842
40959
  if (props.fetchingtypeprops == 'collections') {
40843
40960
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
@@ -40855,43 +40972,26 @@ var CategoryCardTextOnImage = function CategoryCardTextOnImage(props) {
40855
40972
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
40856
40973
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
40857
40974
  }
40858
- }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
40859
- urlEndpoint: IKurlEndpoint,
40860
- publicKey: IKpublicKey,
40861
- path: item.image,
40862
- style: {
40863
- height: '100%',
40864
- width: '100%',
40865
- objectFit: 'cover'
40866
- },
40867
- loading: "lazy"
40868
- }), /*#__PURE__*/React__default["default"].createElement("div", {
40869
- "class": "".concat(card_cssstyles.inner_content) + " row m-0 w-100 align-items-center justify-content-start "
40870
- }, /*#__PURE__*/React__default["default"].createElement("div", {
40871
- "class": "col-lg-10 p-0 h-100"
40872
- }, /*#__PURE__*/React__default["default"].createElement("p", {
40873
- "class": "".concat(card_cssstyles.categoryname) + ' wordbreak wordbreak1 m-0 '
40874
- }, item.name)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
40875
- "class": langdetect == 'en' ? "".concat(card_cssstyles.button_styles) + ' ml-auto ' : "".concat(card_cssstyles.button_styles) + ' mr-auto '
40876
- }, /*#__PURE__*/React__default["default"].createElement("i", {
40877
- "class": "h-100 d-flex align-items-center justify-content-center"
40878
- }, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(BsArrowRight.BsArrowRight, {
40879
- size: sectionproperties.generalbtn_fontsize,
40880
- style: {
40881
- color: sectionproperties.generalbtn_textColor,
40882
- ':hover': {
40883
- color: sectionproperties.generalbtn_textColoronhover
40975
+ }, CardContent()), /*#__PURE__*/React__default["default"].createElement("div", {
40976
+ "class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center d-none d-md-flex",
40977
+ onClick: function onClick() {
40978
+ if (props.fetchingtypeprops == 'collections') {
40979
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
40980
+ } else {
40981
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
40884
40982
  }
40885
- }
40886
- }) : /*#__PURE__*/React__default["default"].createElement(BsArrowLeft.BsArrowLeft, {
40887
- size: sectionproperties.generalbtn_fontsize,
40983
+ },
40888
40984
  style: {
40889
- color: sectionproperties.generalbtn_textColor,
40890
- ':hover': {
40891
- color: sectionproperties.generalbtn_textColoronhover
40892
- }
40985
+ position: 'relative',
40986
+ height: sectionproperties.height_responsive + 'px',
40987
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
40988
+ backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
40989
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
40990
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
40991
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
40992
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
40893
40993
  }
40894
- }))))));
40994
+ }, CardContent()));
40895
40995
  };
40896
40996
 
40897
40997
  function ownKeys$y(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }