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.umd.js CHANGED
@@ -1684,7 +1684,7 @@
1684
1684
  TabIndicatorProps: {
1685
1685
  style: {
1686
1686
  background: sectionproperties.activetabbordercolor,
1687
- width: '50%',
1687
+ // width: '50%',
1688
1688
  right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
1689
1689
  margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : ''
1690
1690
  }
@@ -22462,7 +22462,7 @@
22462
22462
  maxHeight: '100%'
22463
22463
  }
22464
22464
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
22465
- "class": ' col-lg-6 p-0 d-flex flex-row align-items-center justify-content-start '
22465
+ "class": ' col-lg-7 p-0 d-flex flex-row align-items-center justify-content-start '
22466
22466
  }, /*#__PURE__*/React__default["default"].createElement("div", {
22467
22467
  "class": " ".concat(headerstyles$2.nav__item) + 'scrollhorizontal w-100 align-items-center justify-content-start',
22468
22468
  style: {
@@ -22490,7 +22490,7 @@
22490
22490
  subheadercontentpositionprops: 'start'
22491
22491
  }
22492
22492
  })), /*#__PURE__*/React__default["default"].createElement("div", {
22493
- "class": "col-lg-4 p-0 d-flex align-items-center justify-content-end"
22493
+ "class": "col-lg-3 p-0 d-flex align-items-center justify-content-end"
22494
22494
  }, /*#__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", {
22495
22495
  "class": " ".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
22496
22496
  style: {
@@ -22519,7 +22519,10 @@
22519
22519
  }, /*#__PURE__*/React__default["default"].createElement("p", {
22520
22520
  "class": header_cssstyles.greetingstyles + ' m-0 p-0 mb-1 '
22521
22521
  }, lang.hello, langdetect == 'en' ? ',' : '،'), /*#__PURE__*/React__default["default"].createElement("p", {
22522
- "class": header_cssstyles.loggedinusername + ' loggedinuserbtn text-overflow m-0 p-0 '
22522
+ "class": header_cssstyles.loggedinusername + ' loggedinuserbtn text-overflow m-0 p-0 ',
22523
+ style: {
22524
+ maxWidth: '100px'
22525
+ }
22523
22526
  }, authdetailsContext.customerinfo.name)))), !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
22524
22527
  "class": "".concat(header_cssstyles.dropdownitem),
22525
22528
  onClick: function onClick() {
@@ -26926,7 +26929,6 @@
26926
26929
  _useState6 = _slicedToArray__default["default"](_useState5, 2),
26927
26930
  logoarrayofobjects = _useState6[0],
26928
26931
  setlogoarrayofobjects = _useState6[1];
26929
- props.actions.history;
26930
26932
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
26931
26933
  var lang = props.actions.lang;
26932
26934
  var langdetect = props.actions.langdetect;
@@ -30164,6 +30166,18 @@
30164
30166
  cardobj.productimages = arrayItem.productinfo.productimages;
30165
30167
  cardobj.quantity = itemquantity;
30166
30168
  cardobj.timestamp = arrayItem.productinfo.timestamp;
30169
+ if (langdetect == 'en') {
30170
+ cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.data.data.currencyname_en;
30171
+ } else {
30172
+ cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.data.data.currencyname_ar;
30173
+ }
30174
+ if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
30175
+ favoriteprojectscountContext.forEach(function (favitem, favindex) {
30176
+ if (arrayItem.productinfo.productid == favitem) {
30177
+ cardobj.IsFavExists = true;
30178
+ }
30179
+ });
30180
+ }
30167
30181
  if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
30168
30182
  favoriteprojectscountContext.forEach(function (favitem, favindex) {
30169
30183
  if (arrayItem.productinfo.productid == favitem) {
@@ -30320,13 +30334,13 @@
30320
30334
  color: sectionproperties.noprod_iconcolor
30321
30335
  }
30322
30336
  }), /*#__PURE__*/React__default["default"].createElement("p", {
30337
+ "class": "m-0 p-0 mt-2",
30323
30338
  style: {
30324
- fontSize: sectionproperties.noprod_fontSize + 'px',
30325
30339
  fontWeight: sectionproperties.noprod_fontWeight,
30326
- textTransform: sectionproperties.noprod_textTransform,
30327
- color: sectionproperties.noprod_color
30340
+ color: sectionproperties.noprod_color,
30341
+ fontSize: sectionproperties.noprod_fontSize + 'px'
30328
30342
  }
30329
- }, langdetect == 'en' ? 'No Products Found' : 'لا توجد منتجات'))), cardsarray.length != 0 && StatePagePropertiesContext.pageobj.sections[props.sectionindexprops].childsections.map(function (item, index) {
30343
+ }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))), cardsarray.length != 0 && StatePagePropertiesContext.pageobj.sections[props.sectionindexprops].childsections.map(function (item, index) {
30330
30344
  if (item.tabexsectioninfo != null) {
30331
30345
  if (item.sectionstructype == 'child' && TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname] != undefined) {
30332
30346
  var Sectioncomp = TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname];
@@ -30337,7 +30351,7 @@
30337
30351
  }, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
30338
30352
  transitionBehavior: 'auto',
30339
30353
  wrapperClassName: '',
30340
- 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',
30354
+ 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',
30341
30355
  scrollContainerClassName: 'scrollmenuclasssubscrollbar'
30342
30356
  }, cardsarray.map(function (cardinfoitem, cardinfoindex) {
30343
30357
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -36044,7 +36058,12 @@
36044
36058
  }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr));
36045
36059
  };
36046
36060
  return /*#__PURE__*/React__default["default"].createElement("div", {
36047
- "class": ' row ml-0 mr-0 d-flex justify-content-between w-100 align-items-center ',
36061
+ "class": "w-100 allcentered",
36062
+ style: {
36063
+ background: sectionproperties.backgroundColor
36064
+ }
36065
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
36066
+ "class": ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ',
36048
36067
  style: {
36049
36068
  marginTop: sectionproperties.marginTop + 'px',
36050
36069
  marginBottom: sectionproperties.marginBottom + 'px',
@@ -36053,7 +36072,9 @@
36053
36072
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
36054
36073
  borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
36055
36074
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
36056
- position: 'relative'
36075
+ position: 'relative',
36076
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
36077
+ width: sectionproperties.width + 'vw'
36057
36078
  }
36058
36079
  }, maincontainerarrayofobjs != undefined && (maincontainerarrayofobjs === null || maincontainerarrayofobjs === void 0 ? void 0 : maincontainerarrayofobjs.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
36059
36080
  "class": section_styles.imgcontainer
@@ -36120,7 +36141,7 @@
36120
36141
  "class": "col-lg-12 p-0"
36121
36142
  }, /*#__PURE__*/React__default["default"].createElement("button", {
36122
36143
  "class": "".concat(section_styles.btn)
36123
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))));
36144
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))));
36124
36145
  };
36125
36146
 
36126
36147
  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; }
@@ -36259,15 +36280,22 @@
36259
36280
  };
36260
36281
  var Content = function Content() {
36261
36282
  return /*#__PURE__*/React__default["default"].createElement("div", {
36262
- "class": "col-lg-6 col-md-12 d-flex justify-content-start h-100 justify-content-md-center p-0"
36283
+ "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",
36284
+ style: {
36285
+ background: sectionproperties.reservation_bgcolor,
36286
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
36287
+ paddingTop: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0,
36288
+ paddingBottom: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0
36289
+ }
36263
36290
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36264
- "class": "row m-0 w-100 mb-auto"
36291
+ "class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
36265
36292
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36266
- "class": "col-lg-12 p-0 d-flex justify-content-md-center",
36293
+ "class": "col-lg-12 pl-0 pr-0 d-flex justify-content-md-center",
36267
36294
  style: {
36268
36295
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
36269
36296
  marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
36270
- marginTop: sectionproperties.sectionTitleMarginTop + 'px'
36297
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
36298
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
36271
36299
  }
36272
36300
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36273
36301
  "class": "d-flex align-items-center flex-row d-sm-none mt-sm-2",
@@ -36347,7 +36375,8 @@
36347
36375
  return /*#__PURE__*/React__default["default"].createElement("div", {
36348
36376
  "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',
36349
36377
  style: {
36350
- cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
36378
+ cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default',
36379
+ background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor
36351
36380
  },
36352
36381
  onClick: function onClick() {
36353
36382
  var _imagesarray$2;
@@ -36362,10 +36391,10 @@
36362
36391
  }
36363
36392
  }
36364
36393
  }
36365
- }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
36394
+ }, imagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
36366
36395
  urlEndpoint: IKurlEndpoint,
36367
36396
  publicKey: IKpublicKey,
36368
- 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) : '',
36397
+ 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),
36369
36398
  style: {
36370
36399
  width: '100%',
36371
36400
  height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
@@ -36380,7 +36409,17 @@
36380
36409
  }));
36381
36410
  };
36382
36411
  return /*#__PURE__*/React__default["default"].createElement("div", {
36383
- "class": ' row ml-0 mr-0 d-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3',
36412
+ "class": ' row ml-0 mr-0 d-flex justify-content-between align-items-center '
36413
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
36414
+ "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',
36415
+ style: {
36416
+ paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
36417
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
36418
+ width: sectionproperties.width + 'vw',
36419
+ background: sectionproperties.backgroundColor
36420
+ }
36421
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
36422
+ "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',
36384
36423
  style: {
36385
36424
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
36386
36425
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
@@ -36388,22 +36427,28 @@
36388
36427
  paddingBottom: sectionproperties.paddingBottom + 'px',
36389
36428
  marginTop: sectionproperties.marginTop + 'px',
36390
36429
  marginBottom: sectionproperties.marginBottom + 'px',
36391
- background: sectionproperties.backgroundColor,
36392
36430
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
36393
36431
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
36394
36432
  borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
36395
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
36396
- width: sectionproperties.width + 'vw'
36433
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px'
36397
36434
  }
36398
36435
  }, sectionproperties.sectionstyle == 'Image on right' && /*#__PURE__*/React__default["default"].createElement("div", {
36399
- "class": "col-lg-12 p-0"
36436
+ "class": "col-lg-12 p-0 d-flex justify-content-between"
36400
36437
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36401
- "class": "row m-0 w-100"
36438
+ "class": "row m-0 w-100 d-flex justify-content-between",
36439
+ style: {
36440
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
36441
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
36442
+ }
36402
36443
  }, Content(), Image())), sectionproperties.sectionstyle != 'Image on right' && /*#__PURE__*/React__default["default"].createElement("div", {
36403
36444
  "class": "col-lg-12 p-0"
36404
36445
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36405
- "class": "row m-0 w-100"
36406
- }, Image(), Content())));
36446
+ "class": "row m-0 w-100",
36447
+ style: {
36448
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
36449
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
36450
+ }
36451
+ }, Image(), Content())))));
36407
36452
  };
36408
36453
 
36409
36454
  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; }
@@ -39995,7 +40040,7 @@
39995
40040
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
39996
40041
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
39997
40042
  }
39998
- }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
40043
+ }, item.image != '' && /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
39999
40044
  urlEndpoint: IKurlEndpoint,
40000
40045
  publicKey: IKpublicKey,
40001
40046
  path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
@@ -40010,7 +40055,21 @@
40010
40055
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
40011
40056
  },
40012
40057
  loading: "lazy"
40013
- }), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
40058
+ }), item.image == '' && /*#__PURE__*/React__default["default"].createElement("div", {
40059
+ style: {
40060
+ width: '100%',
40061
+ height: '100%',
40062
+ background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
40063
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
40064
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
40065
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
40066
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
40067
+ }
40068
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
40069
+ "class": "h-100 allcentered text-light"
40070
+ }, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
40071
+ size: 26
40072
+ }))), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
40014
40073
  "class": "".concat(card_cssstyles.badgeStyles) + ' allcentered '
40015
40074
  }, /*#__PURE__*/React__default["default"].createElement("p", {
40016
40075
  "class": "m-0 p-0",
@@ -40134,14 +40193,14 @@
40134
40193
  style: {
40135
40194
  textAlign: langdetect == 'en' ? 'left' : 'right'
40136
40195
  }
40137
- }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م', ' '), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
40196
+ }, 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", {
40138
40197
  "class": "".concat(card_cssstyles.productSalePricestyles)
40139
40198
  }, " / "), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
40140
- "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto ml-sm-3 mr-sm-3 ',
40199
+ "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto ',
40141
40200
  style: {
40142
40201
  textAlign: langdetect == 'en' ? 'left' : 'right'
40143
40202
  }
40144
- }, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م')))));
40203
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)))));
40145
40204
  };
40146
40205
 
40147
40206
  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; }
@@ -40655,10 +40714,19 @@
40655
40714
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
40656
40715
  transform: 'scale(0.9)',
40657
40716
  cursor: 'pointer',
40658
- ":hover": {
40717
+ ':hover': {
40659
40718
  transition: '.3s',
40660
40719
  transform: 'scale(1)',
40661
40720
  boxShadow: '0px 0px 5px #ECECEC'
40721
+ },
40722
+ ':hover .categoryname': {
40723
+ transition: 'all .4s ease',
40724
+ color: sectionproperties.text_secondarycolor
40725
+ },
40726
+ ':hover .button_styles': {
40727
+ backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
40728
+ borderColor: sectionproperties.generalbtn_textColoronhover,
40729
+ transition: 'all .4s ease'
40662
40730
  }
40663
40731
  }),
40664
40732
  inner_content: glamor.css({
@@ -40686,14 +40754,63 @@
40686
40754
  ':hover': {
40687
40755
  backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
40688
40756
  borderColor: sectionproperties.generalbtn_textColoronhover,
40689
- transition: '.3'
40757
+ transition: 'all .4s ease'
40690
40758
  }
40691
40759
  })
40692
40760
  };
40761
+ var CardContent = function CardContent() {
40762
+ return /*#__PURE__*/React__default["default"].createElement("div", {
40763
+ "class": "w-100 h-100",
40764
+ style: {
40765
+ overflow: 'hidden'
40766
+ }
40767
+ }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
40768
+ urlEndpoint: IKurlEndpoint,
40769
+ publicKey: IKpublicKey,
40770
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
40771
+ style: {
40772
+ height: '100%',
40773
+ width: '100%',
40774
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
40775
+ },
40776
+ loading: "lazy"
40777
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
40778
+ "class": "".concat(card_cssstyles.inner_content) + ' row m-0 w-100 align-items-center justify-content-start pl-sm-2 pr-sm-2 '
40779
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
40780
+ "class": "col-lg-9 col-md-9 col-sm-9 p-0 h-100 d-flex align-items-center"
40781
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
40782
+ "class": "".concat(card_cssstyles.categoryname) + ' categoryname wordbreak wordbreak1 m-0 ',
40783
+ style: {
40784
+ textAlign: langdetect == 'en' ? 'left' : 'right'
40785
+ }
40786
+ }, item.name)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
40787
+ "class": "col-lg-3 col-md-3 col-sm-3 100 d-flex align-items-center justify-content-end p-0"
40788
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
40789
+ "class": "".concat(card_cssstyles.button_styles) + ' button_styles '
40790
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
40791
+ "class": "h-100 d-flex align-items-center justify-content-center"
40792
+ }, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(BsArrowRight.BsArrowRight, {
40793
+ size: sectionproperties.generalbtn_fontsize,
40794
+ style: {
40795
+ color: sectionproperties.generalbtn_textColor,
40796
+ ':hover': {
40797
+ color: sectionproperties.generalbtn_textColoronhover
40798
+ }
40799
+ }
40800
+ }) : /*#__PURE__*/React__default["default"].createElement(BsArrowLeft.BsArrowLeft, {
40801
+ size: sectionproperties.generalbtn_fontsize,
40802
+ style: {
40803
+ color: sectionproperties.generalbtn_textColor,
40804
+ ':hover': {
40805
+ color: sectionproperties.generalbtn_textColoronhover
40806
+ }
40807
+ }
40808
+ }))))));
40809
+ };
40693
40810
  return /*#__PURE__*/React__default["default"].createElement("div", {
40694
40811
  "class": card_cssstyles.categorycard + ' col-lg-12 p-0 '
40695
40812
  }, /*#__PURE__*/React__default["default"].createElement("div", {
40696
- "class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center",
40813
+ "class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center d-flex d-md-none",
40697
40814
  onClick: function onClick() {
40698
40815
  if (props.fetchingtypeprops == 'collections') {
40699
40816
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
@@ -40711,43 +40828,26 @@
40711
40828
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
40712
40829
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
40713
40830
  }
40714
- }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
40715
- urlEndpoint: IKurlEndpoint,
40716
- publicKey: IKpublicKey,
40717
- path: item.image,
40718
- style: {
40719
- height: '100%',
40720
- width: '100%',
40721
- objectFit: 'cover'
40722
- },
40723
- loading: "lazy"
40724
- }), /*#__PURE__*/React__default["default"].createElement("div", {
40725
- "class": "".concat(card_cssstyles.inner_content) + " row m-0 w-100 align-items-center justify-content-start "
40726
- }, /*#__PURE__*/React__default["default"].createElement("div", {
40727
- "class": "col-lg-10 p-0 h-100"
40728
- }, /*#__PURE__*/React__default["default"].createElement("p", {
40729
- "class": "".concat(card_cssstyles.categoryname) + ' wordbreak wordbreak1 m-0 '
40730
- }, item.name)), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
40731
- "class": langdetect == 'en' ? "".concat(card_cssstyles.button_styles) + ' ml-auto ' : "".concat(card_cssstyles.button_styles) + ' mr-auto '
40732
- }, /*#__PURE__*/React__default["default"].createElement("i", {
40733
- "class": "h-100 d-flex align-items-center justify-content-center"
40734
- }, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(BsArrowRight.BsArrowRight, {
40735
- size: sectionproperties.generalbtn_fontsize,
40736
- style: {
40737
- color: sectionproperties.generalbtn_textColor,
40738
- ':hover': {
40739
- color: sectionproperties.generalbtn_textColoronhover
40831
+ }, CardContent()), /*#__PURE__*/React__default["default"].createElement("div", {
40832
+ "class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center d-none d-md-flex",
40833
+ onClick: function onClick() {
40834
+ if (props.fetchingtypeprops == 'collections') {
40835
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
40836
+ } else {
40837
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
40740
40838
  }
40741
- }
40742
- }) : /*#__PURE__*/React__default["default"].createElement(BsArrowLeft.BsArrowLeft, {
40743
- size: sectionproperties.generalbtn_fontsize,
40839
+ },
40744
40840
  style: {
40745
- color: sectionproperties.generalbtn_textColor,
40746
- ':hover': {
40747
- color: sectionproperties.generalbtn_textColoronhover
40748
- }
40841
+ position: 'relative',
40842
+ height: sectionproperties.height_responsive + 'px',
40843
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
40844
+ backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
40845
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
40846
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
40847
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
40848
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
40749
40849
  }
40750
- }))))));
40850
+ }, CardContent()));
40751
40851
  };
40752
40852
 
40753
40853
  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; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.216",
3
+ "version": "0.0.217",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {