tabexseriescomponents 0.0.243 → 0.0.244

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
@@ -6664,7 +6664,23 @@ var Checkout = function Checkout(props) {
6664
6664
  textTransform: sectionproperties.total_texttransform,
6665
6665
  color: sectionproperties.total_color
6666
6666
  }
6667
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue67 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue67 === void 0 ? void 0 : (_fetchcustomercartQue68 = _fetchcustomercartQue67.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.customercart.totalpriceafterdiscount).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
6667
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue67 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue67 === void 0 ? void 0 : (_fetchcustomercartQue68 = _fetchcustomercartQue67.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.customercart.totalpriceafterdiscount).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))), sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
6668
+ "class": "col-lg-12 p-0 my-2 p-2 allcentered mb-3",
6669
+ style: {
6670
+ background: '#eee',
6671
+ borderRadius: 10
6672
+ }
6673
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
6674
+ "class": "m-0 p-0",
6675
+ style: {
6676
+ color: sectionproperties.slideshowText1ContentColor,
6677
+ fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
6678
+ fontWeight: sectionproperties.slideshowText1ContentFontWeight
6679
+ },
6680
+ dangerouslySetInnerHTML: {
6681
+ __html: langdetect == 'en' ? sectionproperties.text1editortexten : sectionproperties.text1editortextar
6682
+ }
6683
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
6668
6684
  className: "col-lg-12 d-flex align-items-center justify-content-center mb-2 mt-sm-3"
6669
6685
  }, /*#__PURE__*/React__default["default"].createElement("button", {
6670
6686
  className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
@@ -14095,7 +14111,7 @@ var ClassicHeader = function ClassicHeader(props) {
14095
14111
  fontSize: sectionproperties.userBtntextfontsize + 'px',
14096
14112
  lineHeight: sectionproperties.userBtntextfontsize + 'px',
14097
14113
  transition: '.3s',
14098
- maxWidth: '40px'
14114
+ maxWidth: '80px'
14099
14115
  }),
14100
14116
  userBtnContainer: glamor.css({
14101
14117
  ':hover .user_btn': {
@@ -14248,14 +14264,20 @@ var ClassicHeader = function ClassicHeader(props) {
14248
14264
  })
14249
14265
  };
14250
14266
  return /*#__PURE__*/React__default["default"].createElement("div", {
14251
- "class": +' row m-0 w-100 d-flex justify-content-center ',
14267
+ "class": ' row m-0 w-100 d-flex justify-content-center ',
14252
14268
  style: {
14253
- width: '100vw'
14269
+ background: sectionproperties.header_backgroundColor
14270
+ }
14271
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
14272
+ "class": "row m-0",
14273
+ style: {
14274
+ width: sectionproperties.header_width + 'vw'
14254
14275
  }
14255
14276
  }, /*#__PURE__*/React__default["default"].createElement("div", {
14256
- "class": "".concat(headerstyles$d.headercontainer) + ' col-lg-12 p-0 d-md-none ',
14277
+ "class": "".concat(headerstyles$d.headercontainer) + ' col-lg-12 pl-0 pr-0 d-md-none ',
14257
14278
  style: {
14258
14279
  position: sectionproperties.headerstyles_position,
14280
+ paddingBottom: sectionproperties.header_paddingBottom + 'px',
14259
14281
  top: 0
14260
14282
  }
14261
14283
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -14582,9 +14604,10 @@ var ClassicHeader = function ClassicHeader(props) {
14582
14604
  }, /*#__PURE__*/React__default["default"].createElement("div", {
14583
14605
  "class": header_cssstyles.lowerHeaderSection + ' w-100 '
14584
14606
  }, /*#__PURE__*/React__default["default"].createElement("div", {
14585
- "class": ' scrollhorizontal w-100 justify-content-start align-items-center ',
14607
+ "class": ' scrollhorizontal w-100 align-items-center ',
14586
14608
  style: {
14587
- display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex'
14609
+ display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
14610
+ justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
14588
14611
  }
14589
14612
  }, templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
14590
14613
  if (item.isnavigation == 1 && item.isactive == 1) {
@@ -14608,7 +14631,7 @@ var ClassicHeader = function ClassicHeader(props) {
14608
14631
  subheaderpositionprops: 'in nav',
14609
14632
  paddingLeftprops: '1.5rem',
14610
14633
  paddingRightprops: '1.5rem',
14611
- subheadercontentpositionprops: 'start'
14634
+ subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
14612
14635
  }
14613
14636
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
14614
14637
  "class": "col-lg-12 p-0"
@@ -14621,7 +14644,7 @@ var ClassicHeader = function ClassicHeader(props) {
14621
14644
  paddingRightprops: '35px',
14622
14645
  subheadercontentpositionprops: 'center'
14623
14646
  }
14624
- })))), /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
14647
+ }))))), /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
14625
14648
  sectionpropertiesprops: sectionproperties,
14626
14649
  actions: actions
14627
14650
  }));
@@ -25223,7 +25246,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
25223
25246
  justifyContent: sectionproperties.showfooterphonenumber == 'Show' ? 'between' : 'end'
25224
25247
  }
25225
25248
  }, sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
25226
- "class": langdetect == 'en' ? 'd-flex align-items-center justify-content-end mr-2' : 'd-flex align-items-center justify-content-end ml-2'
25249
+ "class": langdetect == 'en' ? 'd-flex align-items-center justify-content-end mr-4' : 'd-flex align-items-center justify-content-end ml-4'
25227
25250
  }, /*#__PURE__*/React__default["default"].createElement("a", {
25228
25251
  href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
25229
25252
  target: '_self',
@@ -29785,7 +29808,7 @@ var Footer8 = function Footer8(props) {
29785
29808
  },
29786
29809
  loading: "lazy"
29787
29810
  }))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
29788
- "class": "col-lg-12 pl-5 pr-5 p-md-0 d-flex justify-content-start mt-2"
29811
+ "class": "col-lg-12 p-md-0 d-flex justify-content-start mt-2"
29789
29812
  }, /*#__PURE__*/React__default["default"].createElement("p", {
29790
29813
  "class": langdetect == 'en' ? ' wordbreak pr-5 wordbreak3 mb-4 ' : ' wordbreak pl-5 wordbreak3 mb-4 ',
29791
29814
  style: {
@@ -31186,10 +31209,10 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
31186
31209
  setbgimagearrayofobjs = _useState8[1];
31187
31210
  React.useEffect(function () {
31188
31211
  if (sectionproperties.length != 0) {
31189
- if (sectionproperties.bgsection_imagearrayofobjs != null) {
31190
- var bgsection_imagearrayofobjsparsed = JSON.parse(sectionproperties.bgsection_imagearrayofobjs);
31191
- if (Array.isArray(bgsection_imagearrayofobjsparsed)) {
31192
- setbgimagearrayofobjs(_toConsumableArray__default["default"](bgsection_imagearrayofobjsparsed));
31212
+ if (sectionproperties.arrayofobjectimagesonly != null) {
31213
+ var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
31214
+ if (Array.isArray(arrayofobjectimagesonlyparsed)) {
31215
+ setbgimagearrayofobjs(_toConsumableArray__default["default"](arrayofobjectimagesonlyparsed));
31193
31216
  }
31194
31217
  }
31195
31218
  }
@@ -31268,7 +31291,7 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
31268
31291
  }
31269
31292
  })), _section_cssstyles);
31270
31293
  var ImageSection = function ImageSection() {
31271
- var _bgimagearrayofobjs$, _bgimagearrayofobjs$2;
31294
+ var _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _bgimagearrayofobjs$3, _bgimagearrayofobjs$4;
31272
31295
  return /*#__PURE__*/React__default["default"].createElement("div", {
31273
31296
  "class": "mt-sm-3 mb-sm-3",
31274
31297
  style: {
@@ -31282,12 +31305,28 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
31282
31305
  }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
31283
31306
  urlEndpoint: IKurlEndpoint,
31284
31307
  publicKey: IKpublicKey,
31285
- "class": "h-sm-auto",
31308
+ "class": "h-sm-auto d-flex d-md-none",
31286
31309
  path: bgimagearrayofobjs.length != 0 ? langdetect == 'en' ? (_bgimagearrayofobjs$ = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$ === void 0 ? void 0 : _bgimagearrayofobjs$.bgsection_image : (_bgimagearrayofobjs$2 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$2 === void 0 ? void 0 : _bgimagearrayofobjs$2.bgsection_image_ar : '',
31287
31310
  style: {
31288
31311
  width: '100%',
31289
31312
  height: '100%',
31290
- objectFit: 'cover',
31313
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
31314
+ margin: 0,
31315
+ padding: 0,
31316
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
31317
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
31318
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
31319
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
31320
+ }
31321
+ }), /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
31322
+ urlEndpoint: IKurlEndpoint,
31323
+ publicKey: IKpublicKey,
31324
+ "class": "h-sm-auto d-none d-md-flex",
31325
+ path: bgimagearrayofobjs.length != 0 ? langdetect == 'en' ? (_bgimagearrayofobjs$3 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$3 === void 0 ? void 0 : _bgimagearrayofobjs$3.bgsection_imageresponsive : (_bgimagearrayofobjs$4 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$4 === void 0 ? void 0 : _bgimagearrayofobjs$4.bgsection_imageresponsive_ar : '',
31326
+ style: {
31327
+ width: '100%',
31328
+ height: '100%',
31329
+ objectFit: sectionproperties.bgcovercontainresponsive == 'Cover' ? 'cover' : 'contain',
31291
31330
  margin: 0,
31292
31331
  padding: 0,
31293
31332
  borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
@@ -34103,7 +34142,7 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
34103
34142
  }))))));
34104
34143
  };
34105
34144
  return /*#__PURE__*/React__default["default"].createElement("div", {
34106
- "class": sectionproperties.card_marginLeft != 0 ? 'row ml-0 mr-0 w-100 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2' : 'row ml-0 mr-0 w-100 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
34145
+ "class": sectionproperties.card_marginLeft != 0 ? 'row ml-0 mr-0 w-100 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2' : 'row ml-0 mr-0 w-100',
34107
34146
  style: {
34108
34147
  marginBottom: sectionproperties.marginBottom + 'px',
34109
34148
  paddingLeft: sectionproperties.card_marginLeft + 'px',
@@ -38612,10 +38651,23 @@ var Servicesection = function Servicesection(props) {
38612
38651
  return /*#__PURE__*/React__default["default"].createElement("div", {
38613
38652
  "class": "col-lg-3 col-md-6 col-sm-12 d-flex align-items-center justify-content-center justify-content-md-start",
38614
38653
  style: {
38615
- padding: '10px'
38654
+ // padding: '10px',
38655
+ paddingTop: sectionproperties.reservation_padding_top + 'px',
38656
+ paddingBottom: sectionproperties.reservation_padding_bottom + 'px'
38616
38657
  }
38617
38658
  }, /*#__PURE__*/React__default["default"].createElement("div", {
38618
- "class": "m-lg-auto d-flex justify-content-center"
38659
+ // class="m-lg-auto d-flex justify-content-center"
38660
+ "class": sectionproperties.innersectionbordertype != 'All' ? 'm-sm-auto d-flex justify-content-center border-md-none w-100' : 'm-lg-auto d-flex justify-content-center',
38661
+ style: {
38662
+ background: sectionproperties.reservation_bgcolor,
38663
+ paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
38664
+ paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
38665
+ borderRadius: sectionproperties.reservation_borderradius + 'px',
38666
+ border: cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'All' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
38667
+ borderRight: cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'en' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '' : '',
38668
+ borderLeft: sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'ar' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
38669
+ boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor
38670
+ }
38619
38671
  }, /*#__PURE__*/React__default["default"].createElement("div", {
38620
38672
  "class": "d-flex d-sm-none",
38621
38673
  style: {
@@ -38768,10 +38820,16 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
38768
38820
  })
38769
38821
  };
38770
38822
  return /*#__PURE__*/React__default["default"].createElement("div", {
38823
+ "class": ' row ml-0 mr-0 w-md-100 d-flex justify-content-center align-items-center w-100 ',
38824
+ style: {
38825
+ background: sectionproperties.outerbgcolor
38826
+ }
38827
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
38771
38828
  "class": ' row ml-0 mr-0 w-md-100 align-items-center ',
38772
38829
  style: {
38773
38830
  position: 'relative',
38774
- width: sectionproperties.width + '%'
38831
+ width: sectionproperties.width + '%',
38832
+ background: sectionproperties.outerbgcolor
38775
38833
  }
38776
38834
  }, sectionproperties.maincontainerarrayofobjs != undefined && sectionproperties.maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
38777
38835
  "class": sectionStyles.imgcontainer
@@ -38805,7 +38863,9 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
38805
38863
  borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
38806
38864
  borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
38807
38865
  borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
38808
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
38866
+ border: sectionproperties.borderType == 'All' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
38867
+ borderTop: sectionproperties.borderType == 'Vertical' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
38868
+ borderBottom: sectionproperties.borderType == 'Vertical' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
38809
38869
  borderLeftWidth: 0,
38810
38870
  borderRightWidth: 0
38811
38871
  }
@@ -38865,7 +38925,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
38865
38925
  zIndex: 2
38866
38926
  }
38867
38927
  }, /*#__PURE__*/React__default["default"].createElement("div", {
38868
- "class": "row m-0 w-100 mb-auto",
38928
+ "class": sectionproperties.innersectionbordertype != 'All' ? 'row m-0 w-100 mb-auto border-md-none' : 'row m-0 w-100 mb-auto',
38869
38929
  style: {
38870
38930
  background: sectionproperties.reservation_bgcolor,
38871
38931
  paddingTop: sectionproperties.reservation_padding_top + 'px',
@@ -38873,7 +38933,9 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
38873
38933
  paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
38874
38934
  paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
38875
38935
  borderRadius: sectionproperties.reservation_borderradius + 'px',
38876
- border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor,
38936
+ border: cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'All' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
38937
+ borderRight: cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'en' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '' : '',
38938
+ borderLeft: sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'ar' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
38877
38939
  boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor
38878
38940
  }
38879
38941
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -38931,7 +38993,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
38931
38993
  textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
38932
38994
  }
38933
38995
  }, langdetect == 'en' ? cardsarray[cardinfoindex].cardobj_descripen : cardsarray[cardinfoindex].cardobj_descripar))));
38934
- })));
38996
+ }))));
38935
38997
  };
38936
38998
 
38937
38999
  var css_248z$g = ".Slideshow_with_rotatedsquare-module_sectioncont__AfYNO{\n padding-top:80px;\n padding-bottom:80px;\n padding-left: 180px;\n padding-right: 180px;\n \n }\n .Slideshow_with_rotatedsquare-module_rotatedsquare__lZPTd{\n width:150px;\n height:150px;\n border-radius:15px;\n position: relative;\n transform: rotate(-45deg);\n }\n .Slideshow_with_rotatedsquare-module_circle__ofuN0{\n position: absolute;\n width:60px;\n height:60px;\n border-radius:50%;\n left:57%;\n top:100px;\n \n }\n .Slideshow_with_rotatedsquare-module_circle1__4tbou{\n \n width:10px;\n height:10px;\n border-radius:50%;\n margin-right:10px;\n margin-left:140px;\n background-color:blue;\n \n }\n \n ";
@@ -39935,9 +39997,12 @@ var Slideshowslide = function Slideshowslide(props) {
39935
39997
  }, /*#__PURE__*/React__default["default"].createElement("div", {
39936
39998
  "class": "row m-0 w-100"
39937
39999
  }, /*#__PURE__*/React__default["default"].createElement("div", {
39938
- className: slideshow_styles.dropdowntitle + ' col-lg-12 p-0 '
40000
+ className: slideshow_styles.dropdowntitle + ' col-lg-12 p-0 ',
40001
+ style: {
40002
+ justifyContent: sectionproperties.titlecentered == 'Centered' ? 'center' : 'start'
40003
+ }
39939
40004
  }, /*#__PURE__*/React__default["default"].createElement("p", {
39940
- className: "m-0 p-3 text-center"
40005
+ className: "m-0 p-3 w-100"
39941
40006
  }, langdetect == 'en' ? sectionproperties.collectionssectiontitleen : sectionproperties.collectionssectiontitlear)), /*#__PURE__*/React__default["default"].createElement("div", {
39942
40007
  "class": "col-lg-12 flex-column cat_dropdown_hover scrollvertical pt-3 px-2",
39943
40008
  style: {
@@ -40011,7 +40076,24 @@ var Slideshowslide = function Slideshowslide(props) {
40011
40076
  }
40012
40077
  }, /*#__PURE__*/React__default["default"].createElement("div", {
40013
40078
  className: ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center p-0 '
40014
- }, /*#__PURE__*/React__default["default"].createElement("p", {
40079
+ }, sectionproperties.showcatimage == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
40080
+ style: {
40081
+ width: '4.5vh',
40082
+ height: '4.5vh',
40083
+ marginRight: langdetect == 'en' ? '5px' : 0,
40084
+ marginLeft: langdetect == 'ar' ? '5px' : 0
40085
+ }
40086
+ }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
40087
+ urlEndpoint: IKurlEndpoint,
40088
+ publicKey: IKpublicKey,
40089
+ path: item.collectionlogo,
40090
+ loading: "lazy",
40091
+ style: {
40092
+ width: '100%',
40093
+ height: '100%',
40094
+ objectFit: 'contain'
40095
+ }
40096
+ })), /*#__PURE__*/React__default["default"].createElement("p", {
40015
40097
  "class": ' m-0 p-0 wordbreak wordbreak1 ',
40016
40098
  onClick: function onClick() {
40017
40099
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
@@ -43169,10 +43251,10 @@ var NewProductcard = function NewProductcard(props) {
43169
43251
  width: sectionproperties.generalbtn_width + 'px',
43170
43252
  background: sectionproperties.slideshow_btn_bg,
43171
43253
  color: sectionproperties.generalbtn_textColor,
43172
- borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
43173
- borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
43174
- borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
43175
- borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
43254
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertopleftradius + 'px' : sectionproperties.generalbtn_bordertoprightradius + 'px',
43255
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertoprightradius + 'px' : sectionproperties.generalbtn_bordertopleftradius + 'px',
43256
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomleftradius + 'px' : sectionproperties.generalbtn_borderbottomrightradius + 'px',
43257
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomrightradius + 'px' : sectionproperties.generalbtn_borderbottomleftradius + 'px',
43176
43258
  fontSize: sectionproperties.generalbtn_fontsize + 'px',
43177
43259
  textTransform: sectionproperties.generalbtn_texttransform,
43178
43260
  fontWeight: sectionproperties.generalbtn_fontweight,
@@ -43251,6 +43333,29 @@ var NewProductcard = function NewProductcard(props) {
43251
43333
  bottom: '10px',
43252
43334
  opacity: 0,
43253
43335
  zIndex: 10000
43336
+ }),
43337
+ showButtonResp: glamor.css({
43338
+ background: sectionproperties.slideshow_btn_bg,
43339
+ color: sectionproperties.generalbtn_textColor,
43340
+ borderTopLeftRadius: sectionproperties.transition != 'Show By Default' ? 0 : langdetect == 'en' ? sectionproperties.generalbtn_bordertopleftradius + 'px' : sectionproperties.generalbtn_bordertoprightradius + 'px',
43341
+ borderTopRightRadius: sectionproperties.transition != 'Show By Default' ? 0 : langdetect == 'en' ? sectionproperties.generalbtn_bordertoprightradius + 'px' : sectionproperties.generalbtn_bordertopleftradius + 'px',
43342
+ borderBottomLeftRadius: sectionproperties.transition != 'Show By Default' ? 0 : langdetect == 'en' ? sectionproperties.generalbtn_borderbottomleftradius + 'px' : sectionproperties.generalbtn_borderbottomrightradius + 'px',
43343
+ borderBottomRightRadius: sectionproperties.transition != 'Show By Default' ? 0 : langdetect == 'en' ? sectionproperties.generalbtn_borderbottomrightradius + 'px' : sectionproperties.generalbtn_borderbottomleftradius + 'px',
43344
+ height: '40px',
43345
+ ':hover': {
43346
+ background: sectionproperties.generalbtn_bgColoronhover,
43347
+ color: sectionproperties.generalbtn_textColoronhover
43348
+ }
43349
+ }),
43350
+ cartbtnresp: glamor.css({
43351
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
43352
+ color: sectionproperties.cartBtnTextcolor,
43353
+ borderRadius: sectionproperties.transition != 'Show By Default' ? 0 : sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
43354
+ height: '40px',
43355
+ ':hover': {
43356
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
43357
+ color: sectionproperties.cartBtnTextcoloronhover
43358
+ }
43254
43359
  })
43255
43360
  };
43256
43361
  var ImageContent = function ImageContent() {
@@ -43331,11 +43436,11 @@ var NewProductcard = function NewProductcard(props) {
43331
43436
  direction: 'ltr'
43332
43437
  }
43333
43438
  }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), /*#__PURE__*/React__default["default"].createElement("div", {
43334
- "class": "".concat(card_cssstyles.buttoncont) + ' buttoncont row w-100 m-0 d-flex justify-content-center align-items-center '
43439
+ "class": sectionproperties.transition != 'Show By Default' ? "".concat(card_cssstyles.buttoncont) + ' buttoncont row w-100 m-0 d-flex d-md-none d-sm-none justify-content-center align-items-center ' : "".concat(card_cssstyles.buttoncont) + ' buttoncont row w-100 m-0 d-none justify-content-center align-items-center '
43335
43440
  }, /*#__PURE__*/React__default["default"].createElement("div", {
43336
43441
  "class": "col-lg-12 p-0 mb-2"
43337
43442
  }, /*#__PURE__*/React__default["default"].createElement("button", {
43338
- "class": "".concat(card_cssstyles.quickshow_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center quickshow_btn ',
43443
+ "class": "".concat(card_cssstyles.quickshow_btn) + ' cursor-pointer d-flex justify-content-center align-items-center quickshow_btn ',
43339
43444
  onClick: function onClick(e) {
43340
43445
  e.stopPropagation();
43341
43446
  setShowProductInfoModalContext(true);
@@ -43344,7 +43449,7 @@ var NewProductcard = function NewProductcard(props) {
43344
43449
  }, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
43345
43450
  "class": "col-lg-12 p-0"
43346
43451
  }, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
43347
- "class": "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
43452
+ "class": "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex justify-content-center align-items-center cart_btn ',
43348
43453
  onClick: function onClick(e) {
43349
43454
  e.stopPropagation();
43350
43455
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
@@ -43355,14 +43460,9 @@ var NewProductcard = function NewProductcard(props) {
43355
43460
  position: 'absolute',
43356
43461
  width: '100%'
43357
43462
  },
43358
- "class": "d-none d-md-flex d-sm-flex"
43463
+ "class": sectionproperties.transition == 'Show By Default' ? 'd-flex' : 'd-none d-md-flex d-sm-flex'
43359
43464
  }, /*#__PURE__*/React__default["default"].createElement("div", {
43360
- style: {
43361
- background: sectionproperties.slideshow_btn_bg,
43362
- color: sectionproperties.generalbtn_textColor,
43363
- height: '40px'
43364
- },
43365
- "class": "col-lg-6 p-0 d-flex align-items-center justify-content-center",
43465
+ "class": card_cssstyles.showButtonResp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
43366
43466
  onClick: function onClick(e) {
43367
43467
  e.stopPropagation();
43368
43468
  setShowProductInfoModalContext(true);
@@ -43371,12 +43471,7 @@ var NewProductcard = function NewProductcard(props) {
43371
43471
  }, /*#__PURE__*/React__default["default"].createElement(BsEye.BsEye, {
43372
43472
  size: sectionproperties.cartBtn_iconFontSize
43373
43473
  })), /*#__PURE__*/React__default["default"].createElement("div", {
43374
- style: {
43375
- background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
43376
- color: sectionproperties.cartBtnTextcolor,
43377
- height: '40px'
43378
- },
43379
- "class": "col-lg-6 p-0 d-flex align-items-center justify-content-center",
43474
+ "class": card_cssstyles.cartbtnresp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
43380
43475
  onClick: function onClick(e) {
43381
43476
  e.stopPropagation();
43382
43477
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
@@ -43401,7 +43496,7 @@ var NewProductcard = function NewProductcard(props) {
43401
43496
  };
43402
43497
  return /*#__PURE__*/React__default["default"].createElement("div", {
43403
43498
  // ${generalCardsStyles.newproductcard}
43404
- "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 ' : " ".concat(card_cssstyles.productcard),
43499
+ "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 p-md-0 ' : " ".concat(card_cssstyles.productcard),
43405
43500
  style: {
43406
43501
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
43407
43502
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
@@ -47294,7 +47389,7 @@ var Horizontalcard = function Horizontalcard(props) {
47294
47389
  position: 'relative'
47295
47390
  }
47296
47391
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47297
- "class": 'col-lg-9 col-md-9 col-sm-3 p-0 mb-2',
47392
+ "class": 'col-lg-9 col-md-9 col-sm-9 p-0 mb-2',
47298
47393
  style: {
47299
47394
  minHeight: '6vh'
47300
47395
  }
@@ -51737,7 +51832,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
51737
51832
  setShowProductInfoModalContext(true);
51738
51833
  setProductIdProdutInfoModalContext(item.productid);
51739
51834
  },
51740
- "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 mb-2 ',
51835
+ "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 mb-2 allcentered ',
51741
51836
  style: {
51742
51837
  zIndex: 1
51743
51838
  }
@@ -51747,8 +51842,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
51747
51842
  path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
51748
51843
  loading: "lazy",
51749
51844
  style: {
51750
- width: '100%',
51751
- height: '100%',
51845
+ width: sectionproperties.imageInnerWidth_Height + '%',
51846
+ height: sectionproperties.imageInnerWidth_Height + '%',
51752
51847
  objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
51753
51848
  }
51754
51849
  }))), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {