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.esm.js CHANGED
@@ -1784,7 +1784,7 @@ var Product_itemtype = function Product_itemtype(props) {
1784
1784
  TabIndicatorProps: {
1785
1785
  style: {
1786
1786
  background: sectionproperties.activetabbordercolor,
1787
- width: '50%',
1787
+ // width: '50%',
1788
1788
  right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
1789
1789
  margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : ''
1790
1790
  }
@@ -22562,7 +22562,7 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
22562
22562
  maxHeight: '100%'
22563
22563
  }
22564
22564
  }))), /*#__PURE__*/React.createElement("div", {
22565
- "class": ' col-lg-6 p-0 d-flex flex-row align-items-center justify-content-start '
22565
+ "class": ' col-lg-7 p-0 d-flex flex-row align-items-center justify-content-start '
22566
22566
  }, /*#__PURE__*/React.createElement("div", {
22567
22567
  "class": " ".concat(headerstyles$2.nav__item) + 'scrollhorizontal w-100 align-items-center justify-content-start',
22568
22568
  style: {
@@ -22590,7 +22590,7 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
22590
22590
  subheadercontentpositionprops: 'start'
22591
22591
  }
22592
22592
  })), /*#__PURE__*/React.createElement("div", {
22593
- "class": "col-lg-4 p-0 d-flex align-items-center justify-content-end"
22593
+ "class": "col-lg-3 p-0 d-flex align-items-center justify-content-end"
22594
22594
  }, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
22595
22595
  "class": " ".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
22596
22596
  style: {
@@ -22619,7 +22619,10 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
22619
22619
  }, /*#__PURE__*/React.createElement("p", {
22620
22620
  "class": header_cssstyles.greetingstyles + ' m-0 p-0 mb-1 '
22621
22621
  }, lang.hello, langdetect == 'en' ? ',' : '،'), /*#__PURE__*/React.createElement("p", {
22622
- "class": header_cssstyles.loggedinusername + ' loggedinuserbtn text-overflow m-0 p-0 '
22622
+ "class": header_cssstyles.loggedinusername + ' loggedinuserbtn text-overflow m-0 p-0 ',
22623
+ style: {
22624
+ maxWidth: '100px'
22625
+ }
22623
22626
  }, authdetailsContext.customerinfo.name)))), !authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, null, /*#__PURE__*/React.createElement(Dropdown.Item, {
22624
22627
  "class": "".concat(header_cssstyles.dropdownitem),
22625
22628
  onClick: function onClick() {
@@ -27026,7 +27029,6 @@ var Footer5 = function Footer5(props) {
27026
27029
  _useState6 = _slicedToArray(_useState5, 2),
27027
27030
  logoarrayofobjects = _useState6[0],
27028
27031
  setlogoarrayofobjects = _useState6[1];
27029
- props.actions.history;
27030
27032
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
27031
27033
  var lang = props.actions.lang;
27032
27034
  var langdetect = props.actions.langdetect;
@@ -30264,6 +30266,18 @@ var ModernCardsSection = function ModernCardsSection(props) {
30264
30266
  cardobj.productimages = arrayItem.productinfo.productimages;
30265
30267
  cardobj.quantity = itemquantity;
30266
30268
  cardobj.timestamp = arrayItem.productinfo.timestamp;
30269
+ if (langdetect == 'en') {
30270
+ cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.data.data.currencyname_en;
30271
+ } else {
30272
+ cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.data.data.currencyname_ar;
30273
+ }
30274
+ if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
30275
+ favoriteprojectscountContext.forEach(function (favitem, favindex) {
30276
+ if (arrayItem.productinfo.productid == favitem) {
30277
+ cardobj.IsFavExists = true;
30278
+ }
30279
+ });
30280
+ }
30267
30281
  if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
30268
30282
  favoriteprojectscountContext.forEach(function (favitem, favindex) {
30269
30283
  if (arrayItem.productinfo.productid == favitem) {
@@ -30420,13 +30434,13 @@ var ModernCardsSection = function ModernCardsSection(props) {
30420
30434
  color: sectionproperties.noprod_iconcolor
30421
30435
  }
30422
30436
  }), /*#__PURE__*/React.createElement("p", {
30437
+ "class": "m-0 p-0 mt-2",
30423
30438
  style: {
30424
- fontSize: sectionproperties.noprod_fontSize + 'px',
30425
30439
  fontWeight: sectionproperties.noprod_fontWeight,
30426
- textTransform: sectionproperties.noprod_textTransform,
30427
- color: sectionproperties.noprod_color
30440
+ color: sectionproperties.noprod_color,
30441
+ fontSize: sectionproperties.noprod_fontSize + 'px'
30428
30442
  }
30429
- }, langdetect == 'en' ? 'No Products Found' : 'لا توجد منتجات'))), cardsarray.length != 0 && StatePagePropertiesContext.pageobj.sections[props.sectionindexprops].childsections.map(function (item, index) {
30443
+ }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))), cardsarray.length != 0 && StatePagePropertiesContext.pageobj.sections[props.sectionindexprops].childsections.map(function (item, index) {
30430
30444
  if (item.tabexsectioninfo != null) {
30431
30445
  if (item.sectionstructype == 'child' && TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname] != undefined) {
30432
30446
  var Sectioncomp = TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname];
@@ -30437,7 +30451,7 @@ var ModernCardsSection = function ModernCardsSection(props) {
30437
30451
  }, /*#__PURE__*/React.createElement(ScrollMenu, {
30438
30452
  transitionBehavior: 'auto',
30439
30453
  wrapperClassName: '',
30440
- 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',
30454
+ 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',
30441
30455
  scrollContainerClassName: 'scrollmenuclasssubscrollbar'
30442
30456
  }, cardsarray.map(function (cardinfoitem, cardinfoindex) {
30443
30457
  return /*#__PURE__*/React.createElement("div", {
@@ -36144,7 +36158,12 @@ var Freetextsection = function Freetextsection(props) {
36144
36158
  }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr));
36145
36159
  };
36146
36160
  return /*#__PURE__*/React.createElement("div", {
36147
- "class": ' row ml-0 mr-0 d-flex justify-content-between w-100 align-items-center ',
36161
+ "class": "w-100 allcentered",
36162
+ style: {
36163
+ background: sectionproperties.backgroundColor
36164
+ }
36165
+ }, /*#__PURE__*/React.createElement("div", {
36166
+ "class": ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ',
36148
36167
  style: {
36149
36168
  marginTop: sectionproperties.marginTop + 'px',
36150
36169
  marginBottom: sectionproperties.marginBottom + 'px',
@@ -36153,7 +36172,9 @@ var Freetextsection = function Freetextsection(props) {
36153
36172
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
36154
36173
  borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
36155
36174
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
36156
- position: 'relative'
36175
+ position: 'relative',
36176
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
36177
+ width: sectionproperties.width + 'vw'
36157
36178
  }
36158
36179
  }, maincontainerarrayofobjs != undefined && (maincontainerarrayofobjs === null || maincontainerarrayofobjs === void 0 ? void 0 : maincontainerarrayofobjs.length) != 0 && /*#__PURE__*/React.createElement("div", {
36159
36180
  "class": section_styles.imgcontainer
@@ -36220,7 +36241,7 @@ var Freetextsection = function Freetextsection(props) {
36220
36241
  "class": "col-lg-12 p-0"
36221
36242
  }, /*#__PURE__*/React.createElement("button", {
36222
36243
  "class": "".concat(section_styles.btn)
36223
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))));
36244
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))));
36224
36245
  };
36225
36246
 
36226
36247
  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; }
@@ -36359,15 +36380,22 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
36359
36380
  };
36360
36381
  var Content = function Content() {
36361
36382
  return /*#__PURE__*/React.createElement("div", {
36362
- "class": "col-lg-6 col-md-12 d-flex justify-content-start h-100 justify-content-md-center p-0"
36383
+ "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",
36384
+ style: {
36385
+ background: sectionproperties.reservation_bgcolor,
36386
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
36387
+ paddingTop: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0,
36388
+ paddingBottom: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0
36389
+ }
36363
36390
  }, /*#__PURE__*/React.createElement("div", {
36364
- "class": "row m-0 w-100 mb-auto"
36391
+ "class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
36365
36392
  }, /*#__PURE__*/React.createElement("div", {
36366
- "class": "col-lg-12 p-0 d-flex justify-content-md-center",
36393
+ "class": "col-lg-12 pl-0 pr-0 d-flex justify-content-md-center",
36367
36394
  style: {
36368
36395
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
36369
36396
  marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
36370
- marginTop: sectionproperties.sectionTitleMarginTop + 'px'
36397
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
36398
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
36371
36399
  }
36372
36400
  }, /*#__PURE__*/React.createElement("div", {
36373
36401
  "class": "d-flex align-items-center flex-row d-sm-none mt-sm-2",
@@ -36447,7 +36475,8 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
36447
36475
  return /*#__PURE__*/React.createElement("div", {
36448
36476
  "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',
36449
36477
  style: {
36450
- cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
36478
+ cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default',
36479
+ background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor
36451
36480
  },
36452
36481
  onClick: function onClick() {
36453
36482
  var _imagesarray$2;
@@ -36462,10 +36491,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
36462
36491
  }
36463
36492
  }
36464
36493
  }
36465
- }, /*#__PURE__*/React.createElement(IKImage, {
36494
+ }, imagesarray.length != 0 && /*#__PURE__*/React.createElement(IKImage, {
36466
36495
  urlEndpoint: IKurlEndpoint,
36467
36496
  publicKey: IKpublicKey,
36468
- 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) : '',
36497
+ 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),
36469
36498
  style: {
36470
36499
  width: '100%',
36471
36500
  height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
@@ -36480,7 +36509,17 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
36480
36509
  }));
36481
36510
  };
36482
36511
  return /*#__PURE__*/React.createElement("div", {
36483
- "class": ' row ml-0 mr-0 d-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3',
36512
+ "class": ' row ml-0 mr-0 d-flex justify-content-between align-items-center '
36513
+ }, /*#__PURE__*/React.createElement("div", {
36514
+ "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',
36515
+ style: {
36516
+ paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
36517
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
36518
+ width: sectionproperties.width + 'vw',
36519
+ background: sectionproperties.backgroundColor
36520
+ }
36521
+ }, /*#__PURE__*/React.createElement("div", {
36522
+ "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',
36484
36523
  style: {
36485
36524
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
36486
36525
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
@@ -36488,22 +36527,28 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
36488
36527
  paddingBottom: sectionproperties.paddingBottom + 'px',
36489
36528
  marginTop: sectionproperties.marginTop + 'px',
36490
36529
  marginBottom: sectionproperties.marginBottom + 'px',
36491
- background: sectionproperties.backgroundColor,
36492
36530
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
36493
36531
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
36494
36532
  borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
36495
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
36496
- width: sectionproperties.width + 'vw'
36533
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px'
36497
36534
  }
36498
36535
  }, sectionproperties.sectionstyle == 'Image on right' && /*#__PURE__*/React.createElement("div", {
36499
- "class": "col-lg-12 p-0"
36536
+ "class": "col-lg-12 p-0 d-flex justify-content-between"
36500
36537
  }, /*#__PURE__*/React.createElement("div", {
36501
- "class": "row m-0 w-100"
36538
+ "class": "row m-0 w-100 d-flex justify-content-between",
36539
+ style: {
36540
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
36541
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
36542
+ }
36502
36543
  }, Content(), Image())), sectionproperties.sectionstyle != 'Image on right' && /*#__PURE__*/React.createElement("div", {
36503
36544
  "class": "col-lg-12 p-0"
36504
36545
  }, /*#__PURE__*/React.createElement("div", {
36505
- "class": "row m-0 w-100"
36506
- }, Image(), Content())));
36546
+ "class": "row m-0 w-100",
36547
+ style: {
36548
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
36549
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
36550
+ }
36551
+ }, Image(), Content())))));
36507
36552
  };
36508
36553
 
36509
36554
  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; }
@@ -40095,7 +40140,7 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
40095
40140
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
40096
40141
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
40097
40142
  }
40098
- }, /*#__PURE__*/React.createElement(IKImage, {
40143
+ }, item.image != '' && /*#__PURE__*/React.createElement(IKImage, {
40099
40144
  urlEndpoint: IKurlEndpoint,
40100
40145
  publicKey: IKpublicKey,
40101
40146
  path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
@@ -40110,7 +40155,21 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
40110
40155
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
40111
40156
  },
40112
40157
  loading: "lazy"
40113
- }), item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
40158
+ }), item.image == '' && /*#__PURE__*/React.createElement("div", {
40159
+ style: {
40160
+ width: '100%',
40161
+ height: '100%',
40162
+ background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
40163
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
40164
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
40165
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
40166
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
40167
+ }
40168
+ }, /*#__PURE__*/React.createElement("i", {
40169
+ "class": "h-100 allcentered text-light"
40170
+ }, /*#__PURE__*/React.createElement(FiLayers, {
40171
+ size: 26
40172
+ }))), item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
40114
40173
  "class": "".concat(card_cssstyles.badgeStyles) + ' allcentered '
40115
40174
  }, /*#__PURE__*/React.createElement("p", {
40116
40175
  "class": "m-0 p-0",
@@ -40234,14 +40293,14 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
40234
40293
  style: {
40235
40294
  textAlign: langdetect == 'en' ? 'left' : 'right'
40236
40295
  }
40237
- }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م', ' '), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("span", {
40296
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname, ' '), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("span", {
40238
40297
  "class": "".concat(card_cssstyles.productSalePricestyles)
40239
40298
  }, " / "), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("p", {
40240
- "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto ml-sm-3 mr-sm-3 ',
40299
+ "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto ',
40241
40300
  style: {
40242
40301
  textAlign: langdetect == 'en' ? 'left' : 'right'
40243
40302
  }
40244
- }, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م')))));
40303
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)))));
40245
40304
  };
40246
40305
 
40247
40306
  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; }
@@ -40755,10 +40814,19 @@ var CategoryCardTextOnImage = function CategoryCardTextOnImage(props) {
40755
40814
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
40756
40815
  transform: 'scale(0.9)',
40757
40816
  cursor: 'pointer',
40758
- ":hover": {
40817
+ ':hover': {
40759
40818
  transition: '.3s',
40760
40819
  transform: 'scale(1)',
40761
40820
  boxShadow: '0px 0px 5px #ECECEC'
40821
+ },
40822
+ ':hover .categoryname': {
40823
+ transition: 'all .4s ease',
40824
+ color: sectionproperties.text_secondarycolor
40825
+ },
40826
+ ':hover .button_styles': {
40827
+ backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
40828
+ borderColor: sectionproperties.generalbtn_textColoronhover,
40829
+ transition: 'all .4s ease'
40762
40830
  }
40763
40831
  }),
40764
40832
  inner_content: css({
@@ -40786,14 +40854,63 @@ var CategoryCardTextOnImage = function CategoryCardTextOnImage(props) {
40786
40854
  ':hover': {
40787
40855
  backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
40788
40856
  borderColor: sectionproperties.generalbtn_textColoronhover,
40789
- transition: '.3'
40857
+ transition: 'all .4s ease'
40790
40858
  }
40791
40859
  })
40792
40860
  };
40861
+ var CardContent = function CardContent() {
40862
+ return /*#__PURE__*/React.createElement("div", {
40863
+ "class": "w-100 h-100",
40864
+ style: {
40865
+ overflow: 'hidden'
40866
+ }
40867
+ }, /*#__PURE__*/React.createElement(IKImage, {
40868
+ urlEndpoint: IKurlEndpoint,
40869
+ publicKey: IKpublicKey,
40870
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
40871
+ style: {
40872
+ height: '100%',
40873
+ width: '100%',
40874
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
40875
+ },
40876
+ loading: "lazy"
40877
+ }), /*#__PURE__*/React.createElement("div", {
40878
+ "class": "".concat(card_cssstyles.inner_content) + ' row m-0 w-100 align-items-center justify-content-start pl-sm-2 pr-sm-2 '
40879
+ }, /*#__PURE__*/React.createElement("div", {
40880
+ "class": "col-lg-9 col-md-9 col-sm-9 p-0 h-100 d-flex align-items-center"
40881
+ }, /*#__PURE__*/React.createElement("p", {
40882
+ "class": "".concat(card_cssstyles.categoryname) + ' categoryname wordbreak wordbreak1 m-0 ',
40883
+ style: {
40884
+ textAlign: langdetect == 'en' ? 'left' : 'right'
40885
+ }
40886
+ }, item.name)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
40887
+ "class": "col-lg-3 col-md-3 col-sm-3 100 d-flex align-items-center justify-content-end p-0"
40888
+ }, /*#__PURE__*/React.createElement("div", {
40889
+ "class": "".concat(card_cssstyles.button_styles) + ' button_styles '
40890
+ }, /*#__PURE__*/React.createElement("i", {
40891
+ "class": "h-100 d-flex align-items-center justify-content-center"
40892
+ }, langdetect == 'en' ? /*#__PURE__*/React.createElement(BsArrowRight, {
40893
+ size: sectionproperties.generalbtn_fontsize,
40894
+ style: {
40895
+ color: sectionproperties.generalbtn_textColor,
40896
+ ':hover': {
40897
+ color: sectionproperties.generalbtn_textColoronhover
40898
+ }
40899
+ }
40900
+ }) : /*#__PURE__*/React.createElement(BsArrowLeft, {
40901
+ size: sectionproperties.generalbtn_fontsize,
40902
+ style: {
40903
+ color: sectionproperties.generalbtn_textColor,
40904
+ ':hover': {
40905
+ color: sectionproperties.generalbtn_textColoronhover
40906
+ }
40907
+ }
40908
+ }))))));
40909
+ };
40793
40910
  return /*#__PURE__*/React.createElement("div", {
40794
40911
  "class": card_cssstyles.categorycard + ' col-lg-12 p-0 '
40795
40912
  }, /*#__PURE__*/React.createElement("div", {
40796
- "class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center",
40913
+ "class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center d-flex d-md-none",
40797
40914
  onClick: function onClick() {
40798
40915
  if (props.fetchingtypeprops == 'collections') {
40799
40916
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
@@ -40811,43 +40928,26 @@ var CategoryCardTextOnImage = function CategoryCardTextOnImage(props) {
40811
40928
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
40812
40929
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
40813
40930
  }
40814
- }, /*#__PURE__*/React.createElement(IKImage, {
40815
- urlEndpoint: IKurlEndpoint,
40816
- publicKey: IKpublicKey,
40817
- path: item.image,
40818
- style: {
40819
- height: '100%',
40820
- width: '100%',
40821
- objectFit: 'cover'
40822
- },
40823
- loading: "lazy"
40824
- }), /*#__PURE__*/React.createElement("div", {
40825
- "class": "".concat(card_cssstyles.inner_content) + " row m-0 w-100 align-items-center justify-content-start "
40826
- }, /*#__PURE__*/React.createElement("div", {
40827
- "class": "col-lg-10 p-0 h-100"
40828
- }, /*#__PURE__*/React.createElement("p", {
40829
- "class": "".concat(card_cssstyles.categoryname) + ' wordbreak wordbreak1 m-0 '
40830
- }, item.name)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
40831
- "class": langdetect == 'en' ? "".concat(card_cssstyles.button_styles) + ' ml-auto ' : "".concat(card_cssstyles.button_styles) + ' mr-auto '
40832
- }, /*#__PURE__*/React.createElement("i", {
40833
- "class": "h-100 d-flex align-items-center justify-content-center"
40834
- }, langdetect == 'en' ? /*#__PURE__*/React.createElement(BsArrowRight, {
40835
- size: sectionproperties.generalbtn_fontsize,
40836
- style: {
40837
- color: sectionproperties.generalbtn_textColor,
40838
- ':hover': {
40839
- color: sectionproperties.generalbtn_textColoronhover
40931
+ }, CardContent()), /*#__PURE__*/React.createElement("div", {
40932
+ "class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center d-none d-md-flex",
40933
+ onClick: function onClick() {
40934
+ if (props.fetchingtypeprops == 'collections') {
40935
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
40936
+ } else {
40937
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
40840
40938
  }
40841
- }
40842
- }) : /*#__PURE__*/React.createElement(BsArrowLeft, {
40843
- size: sectionproperties.generalbtn_fontsize,
40939
+ },
40844
40940
  style: {
40845
- color: sectionproperties.generalbtn_textColor,
40846
- ':hover': {
40847
- color: sectionproperties.generalbtn_textColoronhover
40848
- }
40941
+ position: 'relative',
40942
+ height: sectionproperties.height_responsive + 'px',
40943
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
40944
+ backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
40945
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
40946
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
40947
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
40948
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
40849
40949
  }
40850
- }))))));
40950
+ }, CardContent()));
40851
40951
  };
40852
40952
 
40853
40953
  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; }