tabexseriescomponents 0.0.232 → 0.0.234

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
@@ -10481,8 +10481,6 @@ var CardsSection = function CardsSection(props) {
10481
10481
  background: sectionproperties.linebgcolor
10482
10482
  }),
10483
10483
  cards_sections: glamor.css({
10484
- marginTop: sectionproperties.marginTop + 'px',
10485
- marginBottom: sectionproperties.marginBottom + 'px',
10486
10484
  paddingLeft: sectionproperties.showFilter == 'show' ? 0 : langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
10487
10485
  paddingRight: sectionproperties.showFilter == 'show' ? 0 : langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
10488
10486
  paddingTop: sectionproperties.paddingTop + 'px',
@@ -10761,14 +10759,20 @@ var CardsSection = function CardsSection(props) {
10761
10759
  };
10762
10760
  return /*#__PURE__*/React__default["default"].createElement("div", {
10763
10761
  ref: refscr,
10764
- "class": ' row m-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 ',
10762
+ "class": ' row ml-0 mr-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 ',
10765
10763
  style: {
10766
10764
  zIndex: 2,
10767
10765
  background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
10768
10766
  backgroundImage: maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + maincontainerarrayofobjs[0].back_bgimage + ')' : '',
10769
10767
  backgroundSize: 'cover',
10770
10768
  width: sectionproperties.width + 'vw',
10771
- boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none'
10769
+ boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
10770
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
10771
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
10772
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
10773
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
10774
+ marginTop: sectionproperties.marginTop + 'px',
10775
+ marginBottom: sectionproperties.marginBottom + 'px'
10772
10776
  }
10773
10777
  }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
10774
10778
  "class": ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 ',
@@ -15812,8 +15816,11 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
15812
15816
  }
15813
15817
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15814
15818
  "class": "col-lg-5 p-0 d-flex align-items-center justify-content-start h-100"
15815
- }, sectionproperties.showhidesubheader == 'Hide' || sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React__default["default"].createElement("div", {
15816
- "class": ' scrollhorizontal w-100 d-flex align-items-center h-100 '
15819
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
15820
+ "class": ' scrollhorizontal w-100 align-items-center h-100 ',
15821
+ style: {
15822
+ display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex'
15823
+ }
15817
15824
  }, templatepropcontext.pagesnprop.map(function (item, index) {
15818
15825
  var activeclass = '';
15819
15826
  if (item.isselected) {
@@ -28274,7 +28281,7 @@ var Footer5 = function Footer5(props) {
28274
28281
  ':before': {
28275
28282
  width: '100%',
28276
28283
  height: '100%',
28277
- // background: 'rgba(0,0,0,0.6)',
28284
+ background: 'rgba(0,0,0,' + sectionproperties.cardbg_opacity + ')',
28278
28285
  zIndex: 1,
28279
28286
  position: 'absolute',
28280
28287
  content: 's',
@@ -28307,11 +28314,13 @@ var Footer5 = function Footer5(props) {
28307
28314
  top: 0,
28308
28315
  bottom: 0,
28309
28316
  right: 0,
28310
- left: 0,
28311
- opacity: 0.6
28317
+ left: 0
28312
28318
  }
28313
28319
  })), /*#__PURE__*/React__default["default"].createElement("div", {
28314
- className: "col-lg-12 p-0"
28320
+ className: "col-lg-12 p-0",
28321
+ style: {
28322
+ zIndex: 1
28323
+ }
28315
28324
  }, /*#__PURE__*/React__default["default"].createElement("div", {
28316
28325
  className: "row m-0 w-100"
28317
28326
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -33543,16 +33552,20 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
33543
33552
  "class": "row m-0 w-100",
33544
33553
  style: {
33545
33554
  background: sectionproperties.collectionssectionbgcolor,
33546
- boxShadow: '0 0 10px ' + sectionproperties.collectionssectionshadowcolor
33555
+ boxShadow: '0 0 10px ' + sectionproperties.collectionssectionshadowcolor,
33556
+ borderRadius: sectionproperties.collectionsectionborderradius + 'px'
33547
33557
  }
33548
33558
  }, /*#__PURE__*/React__default["default"].createElement("div", {
33549
33559
  "class": "col-lg-12 p-0"
33550
33560
  }, /*#__PURE__*/React__default["default"].createElement("div", {
33551
33561
  "class": "row m-0 w-100"
33552
33562
  }, /*#__PURE__*/React__default["default"].createElement("div", {
33553
- className: sectionstyles.dropdowntitle + ' col-lg-12 p-0 '
33563
+ className: sectionstyles.dropdowntitle + ' col-lg-12 p-0 d-flex align-items-center ',
33564
+ style: {
33565
+ justifyContent: sectionproperties.titlecentered == 'Centered' ? 'center' : 'start'
33566
+ }
33554
33567
  }, /*#__PURE__*/React__default["default"].createElement("p", {
33555
- className: "m-0 p-3 text-center"
33568
+ className: "m-0 p-3"
33556
33569
  }, langdetect == 'en' ? sectionproperties.collectionssectiontitleen : sectionproperties.collectionssectiontitlear)), /*#__PURE__*/React__default["default"].createElement("div", {
33557
33570
  "class": "col-lg-12 flex-column cat_dropdown_hover scrollvertical pt-3 px-2",
33558
33571
  style: {
@@ -33569,7 +33582,24 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
33569
33582
  }
33570
33583
  }, /*#__PURE__*/React__default["default"].createElement("div", {
33571
33584
  className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '
33572
- }, /*#__PURE__*/React__default["default"].createElement("p", {
33585
+ }, sectionproperties.showcatimage == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
33586
+ style: {
33587
+ width: '4vh',
33588
+ height: '4vh',
33589
+ marginRight: langdetect == 'en' ? '5px' : 0,
33590
+ marginLeft: langdetect == 'ar' ? '5px' : 0
33591
+ }
33592
+ }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
33593
+ urlEndpoint: IKurlEndpoint,
33594
+ publicKey: IKpublicKey,
33595
+ path: item.categorylogo,
33596
+ loading: "lazy",
33597
+ style: {
33598
+ width: '100%',
33599
+ height: '100%',
33600
+ objectFit: 'contain'
33601
+ }
33602
+ })), /*#__PURE__*/React__default["default"].createElement("p", {
33573
33603
  "class": ' m-0 p-0 wordbreak wordbreak1 ',
33574
33604
  onClick: function onClick() {
33575
33605
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
@@ -37212,7 +37242,6 @@ var Backgroundimage_with_topcircle = function Backgroundimage_with_topcircle(pro
37212
37242
  function ownKeys$R(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; }
37213
37243
  function _objectSpread$R(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$R(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$R(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
37214
37244
  var Freetextsection = function Freetextsection(props) {
37215
- var _maincontainerarrayof;
37216
37245
  var _useState = React.useState(''),
37217
37246
  _useState2 = _slicedToArray__default["default"](_useState, 2),
37218
37247
  sectionproperties = _useState2[0],
@@ -37351,91 +37380,102 @@ var Freetextsection = function Freetextsection(props) {
37351
37380
  }
37352
37381
  }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr));
37353
37382
  };
37383
+ var SectionContent = function SectionContent() {
37384
+ var _maincontainerarrayof;
37385
+ return /*#__PURE__*/React__default["default"].createElement("div", {
37386
+ "class": sectionproperties.width == 100 ? ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ' : ' row ml-0 mr-0 d-flex justify-content-between w-md-95 align-items-center ',
37387
+ style: {
37388
+ background: sectionproperties.backgroundColor,
37389
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
37390
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
37391
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
37392
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
37393
+ position: 'relative',
37394
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
37395
+ width: sectionproperties.width + 'vw'
37396
+ }
37397
+ }, maincontainerarrayofobjs != undefined && (maincontainerarrayofobjs === null || maincontainerarrayofobjs === void 0 ? void 0 : maincontainerarrayofobjs.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
37398
+ "class": section_styles.imgcontainer
37399
+ }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
37400
+ urlEndpoint: IKurlEndpoint,
37401
+ publicKey: IKpublicKey,
37402
+ path: (_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage,
37403
+ style: {
37404
+ height: '100%',
37405
+ width: '100%',
37406
+ objectFit: 'cover',
37407
+ margin: 0,
37408
+ padding: 0,
37409
+ position: 'absolute',
37410
+ top: 0,
37411
+ bottom: 0,
37412
+ right: 0,
37413
+ left: 0
37414
+ }
37415
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
37416
+ "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? 'pl-md-3 pr-md-3 w-100 d-flex justify-content-start' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? 'pl-md-3 w-100 d-flex justify-content-start' : 'w-100 d-flex justify-content-start pr-md-3' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? 'pr-md-3 w-100 d-flex justify-content-start' : 'w-100 d-flex justify-content-start pl-md-3' : 'w-100 d-flex justify-content-start',
37417
+ style: {
37418
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
37419
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
37420
+ paddingTop: sectionproperties.paddingTop + 'px',
37421
+ paddingBottom: sectionproperties.paddingBottom + 'px',
37422
+ zIndex: 100
37423
+ }
37424
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
37425
+ "class": "row m-0 w-100 mb-auto"
37426
+ }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
37427
+ "class": "col-lg-12 p-0"
37428
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
37429
+ "class": sectionproperties.sectionTitleMarginLeft != 0 && sectionproperties.sectionTitleMarginRight != 0 ? "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pl-md-3 pr-md-3' : sectionproperties.sectionTitleMarginLeft != 0 ? langdetect == 'en' ? "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pl-md-3 ' : "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pr-md-3 ' : sectionproperties.sectionTitleMarginRight != 0 ? langdetect == 'en' ? "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pr-md-3 ' : "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pl-md-3 ' : "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center ',
37430
+ style: {
37431
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
37432
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
37433
+ paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
37434
+ paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px'
37435
+ }
37436
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
37437
+ "class": "w-100 d-flex d-md-none",
37438
+ style: {
37439
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
37440
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
37441
+ }
37442
+ }, SectionTitle()), /*#__PURE__*/React__default["default"].createElement("div", {
37443
+ "class": "w-100 d-none d-md-flex",
37444
+ style: {
37445
+ fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
37446
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
37447
+ }
37448
+ }, SectionTitle()))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
37449
+ "class": "row m-0 w-100 d-flex d-md-none",
37450
+ style: {
37451
+ fontSize: sectionproperties.prodCatFontSize + 'px'
37452
+ }
37453
+ }, Description()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
37454
+ "class": "row m-0 w-100 d-none d-md-flex",
37455
+ style: {
37456
+ fontSize: sectionproperties.prodCatFontSizeResp + 'px'
37457
+ }
37458
+ }, Description()), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
37459
+ "class": "col-lg-12 p-0"
37460
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
37461
+ "class": "".concat(section_styles.btn)
37462
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))));
37463
+ };
37354
37464
  return /*#__PURE__*/React__default["default"].createElement("div", {
37355
- "class": "w-100 allcentered",
37356
- style: {
37357
- background: sectionproperties.backgroundColor
37358
- }
37465
+ "class": "w-100 allcentered"
37359
37466
  }, /*#__PURE__*/React__default["default"].createElement("div", {
37360
- "class": sectionproperties.width == 100 ? ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ' : ' row ml-0 mr-0 d-flex justify-content-between w-md-95 align-items-center ',
37467
+ "class": "row w-100 ml-0 mr-0 d-flex d-md-none justify-content-center align-items-center",
37361
37468
  style: {
37362
37469
  marginTop: sectionproperties.marginTop + 'px',
37363
- marginBottom: sectionproperties.marginBottom + 'px',
37364
- background: sectionproperties.backgroundColor,
37365
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
37366
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
37367
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
37368
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
37369
- position: 'relative',
37370
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
37371
- width: sectionproperties.width + 'vw'
37372
- }
37373
- }, maincontainerarrayofobjs != undefined && (maincontainerarrayofobjs === null || maincontainerarrayofobjs === void 0 ? void 0 : maincontainerarrayofobjs.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
37374
- "class": section_styles.imgcontainer
37375
- }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
37376
- urlEndpoint: IKurlEndpoint,
37377
- publicKey: IKpublicKey,
37378
- path: (_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage,
37379
- style: {
37380
- height: '100%',
37381
- width: '100%',
37382
- objectFit: 'cover',
37383
- margin: 0,
37384
- padding: 0,
37385
- position: 'absolute',
37386
- top: 0,
37387
- bottom: 0,
37388
- right: 0,
37389
- left: 0
37390
- }
37391
- })), /*#__PURE__*/React__default["default"].createElement("div", {
37392
- "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? 'pl-md-3 pr-md-3 w-100 d-flex justify-content-start' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? 'pl-md-3 w-100 d-flex justify-content-start' : 'w-100 d-flex justify-content-start pr-md-3' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? 'pr-md-3 w-100 d-flex justify-content-start' : 'w-100 d-flex justify-content-start pl-md-3' : 'w-100 d-flex justify-content-start',
37393
- style: {
37394
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
37395
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
37396
- paddingTop: sectionproperties.paddingTop + 'px',
37397
- paddingBottom: sectionproperties.paddingBottom + 'px',
37398
- zIndex: 100
37399
- }
37400
- }, /*#__PURE__*/React__default["default"].createElement("div", {
37401
- "class": "row m-0 w-100 mb-auto"
37402
- }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
37403
- "class": "col-lg-12 p-0"
37404
- }, /*#__PURE__*/React__default["default"].createElement("div", {
37405
- "class": sectionproperties.sectionTitleMarginLeft != 0 && sectionproperties.sectionTitleMarginRight != 0 ? "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pl-md-3 pr-md-3' : sectionproperties.sectionTitleMarginLeft != 0 ? langdetect == 'en' ? "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pl-md-3 ' : "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pr-md-3 ' : sectionproperties.sectionTitleMarginRight != 0 ? langdetect == 'en' ? "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pr-md-3 ' : "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pl-md-3 ' : "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center ',
37406
- style: {
37407
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
37408
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
37409
- paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
37410
- paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px'
37411
- }
37412
- }, /*#__PURE__*/React__default["default"].createElement("div", {
37413
- "class": "w-100 d-flex d-md-none",
37414
- style: {
37415
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
37416
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
37417
- }
37418
- }, SectionTitle()), /*#__PURE__*/React__default["default"].createElement("div", {
37419
- "class": "w-100 d-none d-md-flex",
37420
- style: {
37421
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
37422
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
37423
- }
37424
- }, SectionTitle()))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
37425
- "class": "row m-0 w-100 d-flex d-md-none",
37426
- style: {
37427
- fontSize: sectionproperties.prodCatFontSize + 'px'
37470
+ marginBottom: sectionproperties.marginBottom + 'px'
37428
37471
  }
37429
- }, Description()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
37430
- "class": "row m-0 w-100 d-none d-md-flex",
37472
+ }, SectionContent()), /*#__PURE__*/React__default["default"].createElement("div", {
37473
+ "class": "row w-100 ml-0 mr-0 d-none d-md-flex justify-content-center align-items-center",
37431
37474
  style: {
37432
- fontSize: sectionproperties.prodCatFontSizeResp + 'px'
37475
+ marginTop: sectionproperties.marginTopResp + 'px',
37476
+ marginBottom: sectionproperties.marginBottom + 'px'
37433
37477
  }
37434
- }, Description()), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
37435
- "class": "col-lg-12 p-0"
37436
- }, /*#__PURE__*/React__default["default"].createElement("button", {
37437
- "class": "".concat(section_styles.btn)
37438
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))));
37478
+ }, SectionContent()));
37439
37479
  };
37440
37480
 
37441
37481
  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; }
@@ -51331,7 +51371,9 @@ var Simpleproductcard = function Simpleproductcard(props) {
51331
51371
  "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 ' : " ".concat(card_cssstyles.productcard, " ").concat(generalCardsStyles.Simpleproductcard),
51332
51372
  style: {
51333
51373
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
51334
- paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
51374
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
51375
+ minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
51376
+ maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px'
51335
51377
  }
51336
51378
  }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
51337
51379
  "class": ' cursor-pointer w-100 ',
@@ -51464,7 +51506,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
51464
51506
  }, /*#__PURE__*/React__default["default"].createElement("div", {
51465
51507
  "class": "d-flex flex-row col-lg-12 m-0 p-0 align-items-center justify-content-center mb-1 "
51466
51508
  }, /*#__PURE__*/React__default["default"].createElement("div", {
51467
- "class": " d-flex align-items-center justify-content-center p-0 mb-0"
51509
+ "class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center justify-content-center p-0 mb-0 flex-sm-column ' : ' d-flex align-items-center justify-content-center p-0 mb-0 '
51468
51510
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
51469
51511
  "class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
51470
51512
  }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
package/dist/index.esm.js CHANGED
@@ -10437,8 +10437,6 @@ var CardsSection = function CardsSection(props) {
10437
10437
  background: sectionproperties.linebgcolor
10438
10438
  }),
10439
10439
  cards_sections: css({
10440
- marginTop: sectionproperties.marginTop + 'px',
10441
- marginBottom: sectionproperties.marginBottom + 'px',
10442
10440
  paddingLeft: sectionproperties.showFilter == 'show' ? 0 : langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
10443
10441
  paddingRight: sectionproperties.showFilter == 'show' ? 0 : langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
10444
10442
  paddingTop: sectionproperties.paddingTop + 'px',
@@ -10717,14 +10715,20 @@ var CardsSection = function CardsSection(props) {
10717
10715
  };
10718
10716
  return /*#__PURE__*/React.createElement("div", {
10719
10717
  ref: refscr,
10720
- "class": ' row m-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 ',
10718
+ "class": ' row ml-0 mr-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 ',
10721
10719
  style: {
10722
10720
  zIndex: 2,
10723
10721
  background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
10724
10722
  backgroundImage: maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + maincontainerarrayofobjs[0].back_bgimage + ')' : '',
10725
10723
  backgroundSize: 'cover',
10726
10724
  width: sectionproperties.width + 'vw',
10727
- boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none'
10725
+ boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
10726
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
10727
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
10728
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
10729
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
10730
+ marginTop: sectionproperties.marginTop + 'px',
10731
+ marginBottom: sectionproperties.marginBottom + 'px'
10728
10732
  }
10729
10733
  }, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
10730
10734
  "class": ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 ',
@@ -15768,8 +15772,11 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
15768
15772
  }
15769
15773
  }, /*#__PURE__*/React.createElement("div", {
15770
15774
  "class": "col-lg-5 p-0 d-flex align-items-center justify-content-start h-100"
15771
- }, sectionproperties.showhidesubheader == 'Hide' || sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React.createElement("div", {
15772
- "class": ' scrollhorizontal w-100 d-flex align-items-center h-100 '
15775
+ }, /*#__PURE__*/React.createElement("div", {
15776
+ "class": ' scrollhorizontal w-100 align-items-center h-100 ',
15777
+ style: {
15778
+ display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex'
15779
+ }
15773
15780
  }, templatepropcontext.pagesnprop.map(function (item, index) {
15774
15781
  var activeclass = '';
15775
15782
  if (item.isselected) {
@@ -28230,7 +28237,7 @@ var Footer5 = function Footer5(props) {
28230
28237
  ':before': {
28231
28238
  width: '100%',
28232
28239
  height: '100%',
28233
- // background: 'rgba(0,0,0,0.6)',
28240
+ background: 'rgba(0,0,0,' + sectionproperties.cardbg_opacity + ')',
28234
28241
  zIndex: 1,
28235
28242
  position: 'absolute',
28236
28243
  content: 's',
@@ -28263,11 +28270,13 @@ var Footer5 = function Footer5(props) {
28263
28270
  top: 0,
28264
28271
  bottom: 0,
28265
28272
  right: 0,
28266
- left: 0,
28267
- opacity: 0.6
28273
+ left: 0
28268
28274
  }
28269
28275
  })), /*#__PURE__*/React.createElement("div", {
28270
- className: "col-lg-12 p-0"
28276
+ className: "col-lg-12 p-0",
28277
+ style: {
28278
+ zIndex: 1
28279
+ }
28271
28280
  }, /*#__PURE__*/React.createElement("div", {
28272
28281
  className: "row m-0 w-100"
28273
28282
  }, /*#__PURE__*/React.createElement("div", {
@@ -33499,16 +33508,20 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
33499
33508
  "class": "row m-0 w-100",
33500
33509
  style: {
33501
33510
  background: sectionproperties.collectionssectionbgcolor,
33502
- boxShadow: '0 0 10px ' + sectionproperties.collectionssectionshadowcolor
33511
+ boxShadow: '0 0 10px ' + sectionproperties.collectionssectionshadowcolor,
33512
+ borderRadius: sectionproperties.collectionsectionborderradius + 'px'
33503
33513
  }
33504
33514
  }, /*#__PURE__*/React.createElement("div", {
33505
33515
  "class": "col-lg-12 p-0"
33506
33516
  }, /*#__PURE__*/React.createElement("div", {
33507
33517
  "class": "row m-0 w-100"
33508
33518
  }, /*#__PURE__*/React.createElement("div", {
33509
- className: sectionstyles.dropdowntitle + ' col-lg-12 p-0 '
33519
+ className: sectionstyles.dropdowntitle + ' col-lg-12 p-0 d-flex align-items-center ',
33520
+ style: {
33521
+ justifyContent: sectionproperties.titlecentered == 'Centered' ? 'center' : 'start'
33522
+ }
33510
33523
  }, /*#__PURE__*/React.createElement("p", {
33511
- className: "m-0 p-3 text-center"
33524
+ className: "m-0 p-3"
33512
33525
  }, langdetect == 'en' ? sectionproperties.collectionssectiontitleen : sectionproperties.collectionssectiontitlear)), /*#__PURE__*/React.createElement("div", {
33513
33526
  "class": "col-lg-12 flex-column cat_dropdown_hover scrollvertical pt-3 px-2",
33514
33527
  style: {
@@ -33525,7 +33538,24 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
33525
33538
  }
33526
33539
  }, /*#__PURE__*/React.createElement("div", {
33527
33540
  className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '
33528
- }, /*#__PURE__*/React.createElement("p", {
33541
+ }, sectionproperties.showcatimage == 'Show' && /*#__PURE__*/React.createElement("div", {
33542
+ style: {
33543
+ width: '4vh',
33544
+ height: '4vh',
33545
+ marginRight: langdetect == 'en' ? '5px' : 0,
33546
+ marginLeft: langdetect == 'ar' ? '5px' : 0
33547
+ }
33548
+ }, /*#__PURE__*/React.createElement(IKImage, {
33549
+ urlEndpoint: IKurlEndpoint,
33550
+ publicKey: IKpublicKey,
33551
+ path: item.categorylogo,
33552
+ loading: "lazy",
33553
+ style: {
33554
+ width: '100%',
33555
+ height: '100%',
33556
+ objectFit: 'contain'
33557
+ }
33558
+ })), /*#__PURE__*/React.createElement("p", {
33529
33559
  "class": ' m-0 p-0 wordbreak wordbreak1 ',
33530
33560
  onClick: function onClick() {
33531
33561
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
@@ -37168,7 +37198,6 @@ var Backgroundimage_with_topcircle = function Backgroundimage_with_topcircle(pro
37168
37198
  function ownKeys$R(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; }
37169
37199
  function _objectSpread$R(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$R(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$R(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
37170
37200
  var Freetextsection = function Freetextsection(props) {
37171
- var _maincontainerarrayof;
37172
37201
  var _useState = useState(''),
37173
37202
  _useState2 = _slicedToArray(_useState, 2),
37174
37203
  sectionproperties = _useState2[0],
@@ -37307,91 +37336,102 @@ var Freetextsection = function Freetextsection(props) {
37307
37336
  }
37308
37337
  }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr));
37309
37338
  };
37339
+ var SectionContent = function SectionContent() {
37340
+ var _maincontainerarrayof;
37341
+ return /*#__PURE__*/React.createElement("div", {
37342
+ "class": sectionproperties.width == 100 ? ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ' : ' row ml-0 mr-0 d-flex justify-content-between w-md-95 align-items-center ',
37343
+ style: {
37344
+ background: sectionproperties.backgroundColor,
37345
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
37346
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
37347
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
37348
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
37349
+ position: 'relative',
37350
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
37351
+ width: sectionproperties.width + 'vw'
37352
+ }
37353
+ }, maincontainerarrayofobjs != undefined && (maincontainerarrayofobjs === null || maincontainerarrayofobjs === void 0 ? void 0 : maincontainerarrayofobjs.length) != 0 && /*#__PURE__*/React.createElement("div", {
37354
+ "class": section_styles.imgcontainer
37355
+ }, /*#__PURE__*/React.createElement(IKImage, {
37356
+ urlEndpoint: IKurlEndpoint,
37357
+ publicKey: IKpublicKey,
37358
+ path: (_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage,
37359
+ style: {
37360
+ height: '100%',
37361
+ width: '100%',
37362
+ objectFit: 'cover',
37363
+ margin: 0,
37364
+ padding: 0,
37365
+ position: 'absolute',
37366
+ top: 0,
37367
+ bottom: 0,
37368
+ right: 0,
37369
+ left: 0
37370
+ }
37371
+ })), /*#__PURE__*/React.createElement("div", {
37372
+ "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? 'pl-md-3 pr-md-3 w-100 d-flex justify-content-start' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? 'pl-md-3 w-100 d-flex justify-content-start' : 'w-100 d-flex justify-content-start pr-md-3' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? 'pr-md-3 w-100 d-flex justify-content-start' : 'w-100 d-flex justify-content-start pl-md-3' : 'w-100 d-flex justify-content-start',
37373
+ style: {
37374
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
37375
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
37376
+ paddingTop: sectionproperties.paddingTop + 'px',
37377
+ paddingBottom: sectionproperties.paddingBottom + 'px',
37378
+ zIndex: 100
37379
+ }
37380
+ }, /*#__PURE__*/React.createElement("div", {
37381
+ "class": "row m-0 w-100 mb-auto"
37382
+ }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
37383
+ "class": "col-lg-12 p-0"
37384
+ }, /*#__PURE__*/React.createElement("div", {
37385
+ "class": sectionproperties.sectionTitleMarginLeft != 0 && sectionproperties.sectionTitleMarginRight != 0 ? "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pl-md-3 pr-md-3' : sectionproperties.sectionTitleMarginLeft != 0 ? langdetect == 'en' ? "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pl-md-3 ' : "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pr-md-3 ' : sectionproperties.sectionTitleMarginRight != 0 ? langdetect == 'en' ? "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pr-md-3 ' : "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pl-md-3 ' : "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center ',
37386
+ style: {
37387
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
37388
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
37389
+ paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
37390
+ paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px'
37391
+ }
37392
+ }, /*#__PURE__*/React.createElement("div", {
37393
+ "class": "w-100 d-flex d-md-none",
37394
+ style: {
37395
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
37396
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
37397
+ }
37398
+ }, SectionTitle()), /*#__PURE__*/React.createElement("div", {
37399
+ "class": "w-100 d-none d-md-flex",
37400
+ style: {
37401
+ fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
37402
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
37403
+ }
37404
+ }, SectionTitle()))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
37405
+ "class": "row m-0 w-100 d-flex d-md-none",
37406
+ style: {
37407
+ fontSize: sectionproperties.prodCatFontSize + 'px'
37408
+ }
37409
+ }, Description()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
37410
+ "class": "row m-0 w-100 d-none d-md-flex",
37411
+ style: {
37412
+ fontSize: sectionproperties.prodCatFontSizeResp + 'px'
37413
+ }
37414
+ }, Description()), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
37415
+ "class": "col-lg-12 p-0"
37416
+ }, /*#__PURE__*/React.createElement("button", {
37417
+ "class": "".concat(section_styles.btn)
37418
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))));
37419
+ };
37310
37420
  return /*#__PURE__*/React.createElement("div", {
37311
- "class": "w-100 allcentered",
37312
- style: {
37313
- background: sectionproperties.backgroundColor
37314
- }
37421
+ "class": "w-100 allcentered"
37315
37422
  }, /*#__PURE__*/React.createElement("div", {
37316
- "class": sectionproperties.width == 100 ? ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ' : ' row ml-0 mr-0 d-flex justify-content-between w-md-95 align-items-center ',
37423
+ "class": "row w-100 ml-0 mr-0 d-flex d-md-none justify-content-center align-items-center",
37317
37424
  style: {
37318
37425
  marginTop: sectionproperties.marginTop + 'px',
37319
- marginBottom: sectionproperties.marginBottom + 'px',
37320
- background: sectionproperties.backgroundColor,
37321
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
37322
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
37323
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
37324
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
37325
- position: 'relative',
37326
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
37327
- width: sectionproperties.width + 'vw'
37328
- }
37329
- }, maincontainerarrayofobjs != undefined && (maincontainerarrayofobjs === null || maincontainerarrayofobjs === void 0 ? void 0 : maincontainerarrayofobjs.length) != 0 && /*#__PURE__*/React.createElement("div", {
37330
- "class": section_styles.imgcontainer
37331
- }, /*#__PURE__*/React.createElement(IKImage, {
37332
- urlEndpoint: IKurlEndpoint,
37333
- publicKey: IKpublicKey,
37334
- path: (_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage,
37335
- style: {
37336
- height: '100%',
37337
- width: '100%',
37338
- objectFit: 'cover',
37339
- margin: 0,
37340
- padding: 0,
37341
- position: 'absolute',
37342
- top: 0,
37343
- bottom: 0,
37344
- right: 0,
37345
- left: 0
37346
- }
37347
- })), /*#__PURE__*/React.createElement("div", {
37348
- "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? 'pl-md-3 pr-md-3 w-100 d-flex justify-content-start' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? 'pl-md-3 w-100 d-flex justify-content-start' : 'w-100 d-flex justify-content-start pr-md-3' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? 'pr-md-3 w-100 d-flex justify-content-start' : 'w-100 d-flex justify-content-start pl-md-3' : 'w-100 d-flex justify-content-start',
37349
- style: {
37350
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
37351
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
37352
- paddingTop: sectionproperties.paddingTop + 'px',
37353
- paddingBottom: sectionproperties.paddingBottom + 'px',
37354
- zIndex: 100
37355
- }
37356
- }, /*#__PURE__*/React.createElement("div", {
37357
- "class": "row m-0 w-100 mb-auto"
37358
- }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
37359
- "class": "col-lg-12 p-0"
37360
- }, /*#__PURE__*/React.createElement("div", {
37361
- "class": sectionproperties.sectionTitleMarginLeft != 0 && sectionproperties.sectionTitleMarginRight != 0 ? "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pl-md-3 pr-md-3' : sectionproperties.sectionTitleMarginLeft != 0 ? langdetect == 'en' ? "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pl-md-3 ' : "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pr-md-3 ' : sectionproperties.sectionTitleMarginRight != 0 ? langdetect == 'en' ? "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pr-md-3 ' : "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pl-md-3 ' : "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center ',
37362
- style: {
37363
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
37364
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
37365
- paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
37366
- paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px'
37367
- }
37368
- }, /*#__PURE__*/React.createElement("div", {
37369
- "class": "w-100 d-flex d-md-none",
37370
- style: {
37371
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
37372
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
37373
- }
37374
- }, SectionTitle()), /*#__PURE__*/React.createElement("div", {
37375
- "class": "w-100 d-none d-md-flex",
37376
- style: {
37377
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
37378
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
37379
- }
37380
- }, SectionTitle()))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
37381
- "class": "row m-0 w-100 d-flex d-md-none",
37382
- style: {
37383
- fontSize: sectionproperties.prodCatFontSize + 'px'
37426
+ marginBottom: sectionproperties.marginBottom + 'px'
37384
37427
  }
37385
- }, Description()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
37386
- "class": "row m-0 w-100 d-none d-md-flex",
37428
+ }, SectionContent()), /*#__PURE__*/React.createElement("div", {
37429
+ "class": "row w-100 ml-0 mr-0 d-none d-md-flex justify-content-center align-items-center",
37387
37430
  style: {
37388
- fontSize: sectionproperties.prodCatFontSizeResp + 'px'
37431
+ marginTop: sectionproperties.marginTopResp + 'px',
37432
+ marginBottom: sectionproperties.marginBottom + 'px'
37389
37433
  }
37390
- }, Description()), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
37391
- "class": "col-lg-12 p-0"
37392
- }, /*#__PURE__*/React.createElement("button", {
37393
- "class": "".concat(section_styles.btn)
37394
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))));
37434
+ }, SectionContent()));
37395
37435
  };
37396
37436
 
37397
37437
  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; }
@@ -51287,7 +51327,9 @@ var Simpleproductcard = function Simpleproductcard(props) {
51287
51327
  "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 ' : " ".concat(card_cssstyles.productcard, " ").concat(generalCardsStyles.Simpleproductcard),
51288
51328
  style: {
51289
51329
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
51290
- paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
51330
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
51331
+ minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
51332
+ maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px'
51291
51333
  }
51292
51334
  }, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
51293
51335
  "class": ' cursor-pointer w-100 ',
@@ -51420,7 +51462,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
51420
51462
  }, /*#__PURE__*/React.createElement("div", {
51421
51463
  "class": "d-flex flex-row col-lg-12 m-0 p-0 align-items-center justify-content-center mb-1 "
51422
51464
  }, /*#__PURE__*/React.createElement("div", {
51423
- "class": " d-flex align-items-center justify-content-center p-0 mb-0"
51465
+ "class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center justify-content-center p-0 mb-0 flex-sm-column ' : ' d-flex align-items-center justify-content-center p-0 mb-0 '
51424
51466
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
51425
51467
  "class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
51426
51468
  }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
package/dist/index.umd.js CHANGED
@@ -10337,8 +10337,6 @@
10337
10337
  background: sectionproperties.linebgcolor
10338
10338
  }),
10339
10339
  cards_sections: glamor.css({
10340
- marginTop: sectionproperties.marginTop + 'px',
10341
- marginBottom: sectionproperties.marginBottom + 'px',
10342
10340
  paddingLeft: sectionproperties.showFilter == 'show' ? 0 : langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
10343
10341
  paddingRight: sectionproperties.showFilter == 'show' ? 0 : langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
10344
10342
  paddingTop: sectionproperties.paddingTop + 'px',
@@ -10617,14 +10615,20 @@
10617
10615
  };
10618
10616
  return /*#__PURE__*/React__default["default"].createElement("div", {
10619
10617
  ref: refscr,
10620
- "class": ' row m-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 ',
10618
+ "class": ' row ml-0 mr-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 ',
10621
10619
  style: {
10622
10620
  zIndex: 2,
10623
10621
  background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
10624
10622
  backgroundImage: maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + maincontainerarrayofobjs[0].back_bgimage + ')' : '',
10625
10623
  backgroundSize: 'cover',
10626
10624
  width: sectionproperties.width + 'vw',
10627
- boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none'
10625
+ boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
10626
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
10627
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
10628
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
10629
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
10630
+ marginTop: sectionproperties.marginTop + 'px',
10631
+ marginBottom: sectionproperties.marginBottom + 'px'
10628
10632
  }
10629
10633
  }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
10630
10634
  "class": ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 ',
@@ -15668,8 +15672,11 @@
15668
15672
  }
15669
15673
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15670
15674
  "class": "col-lg-5 p-0 d-flex align-items-center justify-content-start h-100"
15671
- }, sectionproperties.showhidesubheader == 'Hide' || sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React__default["default"].createElement("div", {
15672
- "class": ' scrollhorizontal w-100 d-flex align-items-center h-100 '
15675
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
15676
+ "class": ' scrollhorizontal w-100 align-items-center h-100 ',
15677
+ style: {
15678
+ display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex'
15679
+ }
15673
15680
  }, templatepropcontext.pagesnprop.map(function (item, index) {
15674
15681
  var activeclass = '';
15675
15682
  if (item.isselected) {
@@ -28130,7 +28137,7 @@
28130
28137
  ':before': {
28131
28138
  width: '100%',
28132
28139
  height: '100%',
28133
- // background: 'rgba(0,0,0,0.6)',
28140
+ background: 'rgba(0,0,0,' + sectionproperties.cardbg_opacity + ')',
28134
28141
  zIndex: 1,
28135
28142
  position: 'absolute',
28136
28143
  content: 's',
@@ -28163,11 +28170,13 @@
28163
28170
  top: 0,
28164
28171
  bottom: 0,
28165
28172
  right: 0,
28166
- left: 0,
28167
- opacity: 0.6
28173
+ left: 0
28168
28174
  }
28169
28175
  })), /*#__PURE__*/React__default["default"].createElement("div", {
28170
- className: "col-lg-12 p-0"
28176
+ className: "col-lg-12 p-0",
28177
+ style: {
28178
+ zIndex: 1
28179
+ }
28171
28180
  }, /*#__PURE__*/React__default["default"].createElement("div", {
28172
28181
  className: "row m-0 w-100"
28173
28182
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -33399,16 +33408,20 @@
33399
33408
  "class": "row m-0 w-100",
33400
33409
  style: {
33401
33410
  background: sectionproperties.collectionssectionbgcolor,
33402
- boxShadow: '0 0 10px ' + sectionproperties.collectionssectionshadowcolor
33411
+ boxShadow: '0 0 10px ' + sectionproperties.collectionssectionshadowcolor,
33412
+ borderRadius: sectionproperties.collectionsectionborderradius + 'px'
33403
33413
  }
33404
33414
  }, /*#__PURE__*/React__default["default"].createElement("div", {
33405
33415
  "class": "col-lg-12 p-0"
33406
33416
  }, /*#__PURE__*/React__default["default"].createElement("div", {
33407
33417
  "class": "row m-0 w-100"
33408
33418
  }, /*#__PURE__*/React__default["default"].createElement("div", {
33409
- className: sectionstyles.dropdowntitle + ' col-lg-12 p-0 '
33419
+ className: sectionstyles.dropdowntitle + ' col-lg-12 p-0 d-flex align-items-center ',
33420
+ style: {
33421
+ justifyContent: sectionproperties.titlecentered == 'Centered' ? 'center' : 'start'
33422
+ }
33410
33423
  }, /*#__PURE__*/React__default["default"].createElement("p", {
33411
- className: "m-0 p-3 text-center"
33424
+ className: "m-0 p-3"
33412
33425
  }, langdetect == 'en' ? sectionproperties.collectionssectiontitleen : sectionproperties.collectionssectiontitlear)), /*#__PURE__*/React__default["default"].createElement("div", {
33413
33426
  "class": "col-lg-12 flex-column cat_dropdown_hover scrollvertical pt-3 px-2",
33414
33427
  style: {
@@ -33425,7 +33438,24 @@
33425
33438
  }
33426
33439
  }, /*#__PURE__*/React__default["default"].createElement("div", {
33427
33440
  className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '
33428
- }, /*#__PURE__*/React__default["default"].createElement("p", {
33441
+ }, sectionproperties.showcatimage == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
33442
+ style: {
33443
+ width: '4vh',
33444
+ height: '4vh',
33445
+ marginRight: langdetect == 'en' ? '5px' : 0,
33446
+ marginLeft: langdetect == 'ar' ? '5px' : 0
33447
+ }
33448
+ }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
33449
+ urlEndpoint: IKurlEndpoint,
33450
+ publicKey: IKpublicKey,
33451
+ path: item.categorylogo,
33452
+ loading: "lazy",
33453
+ style: {
33454
+ width: '100%',
33455
+ height: '100%',
33456
+ objectFit: 'contain'
33457
+ }
33458
+ })), /*#__PURE__*/React__default["default"].createElement("p", {
33429
33459
  "class": ' m-0 p-0 wordbreak wordbreak1 ',
33430
33460
  onClick: function onClick() {
33431
33461
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
@@ -37068,7 +37098,6 @@
37068
37098
  function ownKeys$R(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; }
37069
37099
  function _objectSpread$R(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$R(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$R(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
37070
37100
  var Freetextsection = function Freetextsection(props) {
37071
- var _maincontainerarrayof;
37072
37101
  var _useState = React.useState(''),
37073
37102
  _useState2 = _slicedToArray__default["default"](_useState, 2),
37074
37103
  sectionproperties = _useState2[0],
@@ -37207,91 +37236,102 @@
37207
37236
  }
37208
37237
  }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr));
37209
37238
  };
37239
+ var SectionContent = function SectionContent() {
37240
+ var _maincontainerarrayof;
37241
+ return /*#__PURE__*/React__default["default"].createElement("div", {
37242
+ "class": sectionproperties.width == 100 ? ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ' : ' row ml-0 mr-0 d-flex justify-content-between w-md-95 align-items-center ',
37243
+ style: {
37244
+ background: sectionproperties.backgroundColor,
37245
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
37246
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
37247
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
37248
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
37249
+ position: 'relative',
37250
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
37251
+ width: sectionproperties.width + 'vw'
37252
+ }
37253
+ }, maincontainerarrayofobjs != undefined && (maincontainerarrayofobjs === null || maincontainerarrayofobjs === void 0 ? void 0 : maincontainerarrayofobjs.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
37254
+ "class": section_styles.imgcontainer
37255
+ }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
37256
+ urlEndpoint: IKurlEndpoint,
37257
+ publicKey: IKpublicKey,
37258
+ path: (_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage,
37259
+ style: {
37260
+ height: '100%',
37261
+ width: '100%',
37262
+ objectFit: 'cover',
37263
+ margin: 0,
37264
+ padding: 0,
37265
+ position: 'absolute',
37266
+ top: 0,
37267
+ bottom: 0,
37268
+ right: 0,
37269
+ left: 0
37270
+ }
37271
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
37272
+ "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? 'pl-md-3 pr-md-3 w-100 d-flex justify-content-start' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? 'pl-md-3 w-100 d-flex justify-content-start' : 'w-100 d-flex justify-content-start pr-md-3' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? 'pr-md-3 w-100 d-flex justify-content-start' : 'w-100 d-flex justify-content-start pl-md-3' : 'w-100 d-flex justify-content-start',
37273
+ style: {
37274
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
37275
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
37276
+ paddingTop: sectionproperties.paddingTop + 'px',
37277
+ paddingBottom: sectionproperties.paddingBottom + 'px',
37278
+ zIndex: 100
37279
+ }
37280
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
37281
+ "class": "row m-0 w-100 mb-auto"
37282
+ }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
37283
+ "class": "col-lg-12 p-0"
37284
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
37285
+ "class": sectionproperties.sectionTitleMarginLeft != 0 && sectionproperties.sectionTitleMarginRight != 0 ? "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pl-md-3 pr-md-3' : sectionproperties.sectionTitleMarginLeft != 0 ? langdetect == 'en' ? "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pl-md-3 ' : "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pr-md-3 ' : sectionproperties.sectionTitleMarginRight != 0 ? langdetect == 'en' ? "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pr-md-3 ' : "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pl-md-3 ' : "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center ',
37286
+ style: {
37287
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
37288
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
37289
+ paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
37290
+ paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px'
37291
+ }
37292
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
37293
+ "class": "w-100 d-flex d-md-none",
37294
+ style: {
37295
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
37296
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
37297
+ }
37298
+ }, SectionTitle()), /*#__PURE__*/React__default["default"].createElement("div", {
37299
+ "class": "w-100 d-none d-md-flex",
37300
+ style: {
37301
+ fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
37302
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
37303
+ }
37304
+ }, SectionTitle()))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
37305
+ "class": "row m-0 w-100 d-flex d-md-none",
37306
+ style: {
37307
+ fontSize: sectionproperties.prodCatFontSize + 'px'
37308
+ }
37309
+ }, Description()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
37310
+ "class": "row m-0 w-100 d-none d-md-flex",
37311
+ style: {
37312
+ fontSize: sectionproperties.prodCatFontSizeResp + 'px'
37313
+ }
37314
+ }, Description()), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
37315
+ "class": "col-lg-12 p-0"
37316
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
37317
+ "class": "".concat(section_styles.btn)
37318
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))));
37319
+ };
37210
37320
  return /*#__PURE__*/React__default["default"].createElement("div", {
37211
- "class": "w-100 allcentered",
37212
- style: {
37213
- background: sectionproperties.backgroundColor
37214
- }
37321
+ "class": "w-100 allcentered"
37215
37322
  }, /*#__PURE__*/React__default["default"].createElement("div", {
37216
- "class": sectionproperties.width == 100 ? ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ' : ' row ml-0 mr-0 d-flex justify-content-between w-md-95 align-items-center ',
37323
+ "class": "row w-100 ml-0 mr-0 d-flex d-md-none justify-content-center align-items-center",
37217
37324
  style: {
37218
37325
  marginTop: sectionproperties.marginTop + 'px',
37219
- marginBottom: sectionproperties.marginBottom + 'px',
37220
- background: sectionproperties.backgroundColor,
37221
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
37222
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
37223
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
37224
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
37225
- position: 'relative',
37226
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
37227
- width: sectionproperties.width + 'vw'
37228
- }
37229
- }, maincontainerarrayofobjs != undefined && (maincontainerarrayofobjs === null || maincontainerarrayofobjs === void 0 ? void 0 : maincontainerarrayofobjs.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
37230
- "class": section_styles.imgcontainer
37231
- }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
37232
- urlEndpoint: IKurlEndpoint,
37233
- publicKey: IKpublicKey,
37234
- path: (_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage,
37235
- style: {
37236
- height: '100%',
37237
- width: '100%',
37238
- objectFit: 'cover',
37239
- margin: 0,
37240
- padding: 0,
37241
- position: 'absolute',
37242
- top: 0,
37243
- bottom: 0,
37244
- right: 0,
37245
- left: 0
37246
- }
37247
- })), /*#__PURE__*/React__default["default"].createElement("div", {
37248
- "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? 'pl-md-3 pr-md-3 w-100 d-flex justify-content-start' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? 'pl-md-3 w-100 d-flex justify-content-start' : 'w-100 d-flex justify-content-start pr-md-3' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? 'pr-md-3 w-100 d-flex justify-content-start' : 'w-100 d-flex justify-content-start pl-md-3' : 'w-100 d-flex justify-content-start',
37249
- style: {
37250
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
37251
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
37252
- paddingTop: sectionproperties.paddingTop + 'px',
37253
- paddingBottom: sectionproperties.paddingBottom + 'px',
37254
- zIndex: 100
37255
- }
37256
- }, /*#__PURE__*/React__default["default"].createElement("div", {
37257
- "class": "row m-0 w-100 mb-auto"
37258
- }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
37259
- "class": "col-lg-12 p-0"
37260
- }, /*#__PURE__*/React__default["default"].createElement("div", {
37261
- "class": sectionproperties.sectionTitleMarginLeft != 0 && sectionproperties.sectionTitleMarginRight != 0 ? "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pl-md-3 pr-md-3' : sectionproperties.sectionTitleMarginLeft != 0 ? langdetect == 'en' ? "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pl-md-3 ' : "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pr-md-3 ' : sectionproperties.sectionTitleMarginRight != 0 ? langdetect == 'en' ? "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pr-md-3 ' : "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center pl-md-3 ' : "".concat(generalstyles.sectiontitlecont) + ' w-100 d-flex align-items-center ',
37262
- style: {
37263
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
37264
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
37265
- paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
37266
- paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px'
37267
- }
37268
- }, /*#__PURE__*/React__default["default"].createElement("div", {
37269
- "class": "w-100 d-flex d-md-none",
37270
- style: {
37271
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
37272
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
37273
- }
37274
- }, SectionTitle()), /*#__PURE__*/React__default["default"].createElement("div", {
37275
- "class": "w-100 d-none d-md-flex",
37276
- style: {
37277
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
37278
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
37279
- }
37280
- }, SectionTitle()))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
37281
- "class": "row m-0 w-100 d-flex d-md-none",
37282
- style: {
37283
- fontSize: sectionproperties.prodCatFontSize + 'px'
37326
+ marginBottom: sectionproperties.marginBottom + 'px'
37284
37327
  }
37285
- }, Description()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
37286
- "class": "row m-0 w-100 d-none d-md-flex",
37328
+ }, SectionContent()), /*#__PURE__*/React__default["default"].createElement("div", {
37329
+ "class": "row w-100 ml-0 mr-0 d-none d-md-flex justify-content-center align-items-center",
37287
37330
  style: {
37288
- fontSize: sectionproperties.prodCatFontSizeResp + 'px'
37331
+ marginTop: sectionproperties.marginTopResp + 'px',
37332
+ marginBottom: sectionproperties.marginBottom + 'px'
37289
37333
  }
37290
- }, Description()), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
37291
- "class": "col-lg-12 p-0"
37292
- }, /*#__PURE__*/React__default["default"].createElement("button", {
37293
- "class": "".concat(section_styles.btn)
37294
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))));
37334
+ }, SectionContent()));
37295
37335
  };
37296
37336
 
37297
37337
  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; }
@@ -51187,7 +51227,9 @@
51187
51227
  "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 ' : " ".concat(card_cssstyles.productcard, " ").concat(generalCardsStyles.Simpleproductcard),
51188
51228
  style: {
51189
51229
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
51190
- paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
51230
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
51231
+ minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
51232
+ maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px'
51191
51233
  }
51192
51234
  }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
51193
51235
  "class": ' cursor-pointer w-100 ',
@@ -51320,7 +51362,7 @@
51320
51362
  }, /*#__PURE__*/React__default["default"].createElement("div", {
51321
51363
  "class": "d-flex flex-row col-lg-12 m-0 p-0 align-items-center justify-content-center mb-1 "
51322
51364
  }, /*#__PURE__*/React__default["default"].createElement("div", {
51323
- "class": " d-flex align-items-center justify-content-center p-0 mb-0"
51365
+ "class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center justify-content-center p-0 mb-0 flex-sm-column ' : ' d-flex align-items-center justify-content-center p-0 mb-0 '
51324
51366
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
51325
51367
  "class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
51326
51368
  }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.232",
3
+ "version": "0.0.234",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {