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.umd.js CHANGED
@@ -6521,7 +6521,23 @@
6521
6521
  textTransform: sectionproperties.total_texttransform,
6522
6522
  color: sectionproperties.total_color
6523
6523
  }
6524
- }, 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", {
6524
+ }, 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", {
6525
+ "class": "col-lg-12 p-0 my-2 p-2 allcentered mb-3",
6526
+ style: {
6527
+ background: '#eee',
6528
+ borderRadius: 10
6529
+ }
6530
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
6531
+ "class": "m-0 p-0",
6532
+ style: {
6533
+ color: sectionproperties.slideshowText1ContentColor,
6534
+ fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
6535
+ fontWeight: sectionproperties.slideshowText1ContentFontWeight
6536
+ },
6537
+ dangerouslySetInnerHTML: {
6538
+ __html: langdetect == 'en' ? sectionproperties.text1editortexten : sectionproperties.text1editortextar
6539
+ }
6540
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
6525
6541
  className: "col-lg-12 d-flex align-items-center justify-content-center mb-2 mt-sm-3"
6526
6542
  }, /*#__PURE__*/React__default["default"].createElement("button", {
6527
6543
  className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
@@ -13952,7 +13968,7 @@
13952
13968
  fontSize: sectionproperties.userBtntextfontsize + 'px',
13953
13969
  lineHeight: sectionproperties.userBtntextfontsize + 'px',
13954
13970
  transition: '.3s',
13955
- maxWidth: '40px'
13971
+ maxWidth: '80px'
13956
13972
  }),
13957
13973
  userBtnContainer: glamor.css({
13958
13974
  ':hover .user_btn': {
@@ -14105,14 +14121,20 @@
14105
14121
  })
14106
14122
  };
14107
14123
  return /*#__PURE__*/React__default["default"].createElement("div", {
14108
- "class": +' row m-0 w-100 d-flex justify-content-center ',
14124
+ "class": ' row m-0 w-100 d-flex justify-content-center ',
14109
14125
  style: {
14110
- width: '100vw'
14126
+ background: sectionproperties.header_backgroundColor
14127
+ }
14128
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
14129
+ "class": "row m-0",
14130
+ style: {
14131
+ width: sectionproperties.header_width + 'vw'
14111
14132
  }
14112
14133
  }, /*#__PURE__*/React__default["default"].createElement("div", {
14113
- "class": "".concat(headerstyles$d.headercontainer) + ' col-lg-12 p-0 d-md-none ',
14134
+ "class": "".concat(headerstyles$d.headercontainer) + ' col-lg-12 pl-0 pr-0 d-md-none ',
14114
14135
  style: {
14115
14136
  position: sectionproperties.headerstyles_position,
14137
+ paddingBottom: sectionproperties.header_paddingBottom + 'px',
14116
14138
  top: 0
14117
14139
  }
14118
14140
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -14439,9 +14461,10 @@
14439
14461
  }, /*#__PURE__*/React__default["default"].createElement("div", {
14440
14462
  "class": header_cssstyles.lowerHeaderSection + ' w-100 '
14441
14463
  }, /*#__PURE__*/React__default["default"].createElement("div", {
14442
- "class": ' scrollhorizontal w-100 justify-content-start align-items-center ',
14464
+ "class": ' scrollhorizontal w-100 align-items-center ',
14443
14465
  style: {
14444
- display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex'
14466
+ display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
14467
+ justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
14445
14468
  }
14446
14469
  }, templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
14447
14470
  if (item.isnavigation == 1 && item.isactive == 1) {
@@ -14465,7 +14488,7 @@
14465
14488
  subheaderpositionprops: 'in nav',
14466
14489
  paddingLeftprops: '1.5rem',
14467
14490
  paddingRightprops: '1.5rem',
14468
- subheadercontentpositionprops: 'start'
14491
+ subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
14469
14492
  }
14470
14493
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
14471
14494
  "class": "col-lg-12 p-0"
@@ -14478,7 +14501,7 @@
14478
14501
  paddingRightprops: '35px',
14479
14502
  subheadercontentpositionprops: 'center'
14480
14503
  }
14481
- })))), /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
14504
+ }))))), /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
14482
14505
  sectionpropertiesprops: sectionproperties,
14483
14506
  actions: actions
14484
14507
  }));
@@ -25080,7 +25103,7 @@
25080
25103
  justifyContent: sectionproperties.showfooterphonenumber == 'Show' ? 'between' : 'end'
25081
25104
  }
25082
25105
  }, sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
25083
- "class": langdetect == 'en' ? 'd-flex align-items-center justify-content-end mr-2' : 'd-flex align-items-center justify-content-end ml-2'
25106
+ "class": langdetect == 'en' ? 'd-flex align-items-center justify-content-end mr-4' : 'd-flex align-items-center justify-content-end ml-4'
25084
25107
  }, /*#__PURE__*/React__default["default"].createElement("a", {
25085
25108
  href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
25086
25109
  target: '_self',
@@ -29642,7 +29665,7 @@
29642
29665
  },
29643
29666
  loading: "lazy"
29644
29667
  }))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
29645
- "class": "col-lg-12 pl-5 pr-5 p-md-0 d-flex justify-content-start mt-2"
29668
+ "class": "col-lg-12 p-md-0 d-flex justify-content-start mt-2"
29646
29669
  }, /*#__PURE__*/React__default["default"].createElement("p", {
29647
29670
  "class": langdetect == 'en' ? ' wordbreak pr-5 wordbreak3 mb-4 ' : ' wordbreak pl-5 wordbreak3 mb-4 ',
29648
29671
  style: {
@@ -31043,10 +31066,10 @@
31043
31066
  setbgimagearrayofobjs = _useState8[1];
31044
31067
  React.useEffect(function () {
31045
31068
  if (sectionproperties.length != 0) {
31046
- if (sectionproperties.bgsection_imagearrayofobjs != null) {
31047
- var bgsection_imagearrayofobjsparsed = JSON.parse(sectionproperties.bgsection_imagearrayofobjs);
31048
- if (Array.isArray(bgsection_imagearrayofobjsparsed)) {
31049
- setbgimagearrayofobjs(_toConsumableArray__default["default"](bgsection_imagearrayofobjsparsed));
31069
+ if (sectionproperties.arrayofobjectimagesonly != null) {
31070
+ var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
31071
+ if (Array.isArray(arrayofobjectimagesonlyparsed)) {
31072
+ setbgimagearrayofobjs(_toConsumableArray__default["default"](arrayofobjectimagesonlyparsed));
31050
31073
  }
31051
31074
  }
31052
31075
  }
@@ -31125,7 +31148,7 @@
31125
31148
  }
31126
31149
  })), _section_cssstyles);
31127
31150
  var ImageSection = function ImageSection() {
31128
- var _bgimagearrayofobjs$, _bgimagearrayofobjs$2;
31151
+ var _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _bgimagearrayofobjs$3, _bgimagearrayofobjs$4;
31129
31152
  return /*#__PURE__*/React__default["default"].createElement("div", {
31130
31153
  "class": "mt-sm-3 mb-sm-3",
31131
31154
  style: {
@@ -31139,12 +31162,28 @@
31139
31162
  }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
31140
31163
  urlEndpoint: IKurlEndpoint,
31141
31164
  publicKey: IKpublicKey,
31142
- "class": "h-sm-auto",
31165
+ "class": "h-sm-auto d-flex d-md-none",
31143
31166
  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 : '',
31144
31167
  style: {
31145
31168
  width: '100%',
31146
31169
  height: '100%',
31147
- objectFit: 'cover',
31170
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
31171
+ margin: 0,
31172
+ padding: 0,
31173
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
31174
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
31175
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
31176
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
31177
+ }
31178
+ }), /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
31179
+ urlEndpoint: IKurlEndpoint,
31180
+ publicKey: IKpublicKey,
31181
+ "class": "h-sm-auto d-none d-md-flex",
31182
+ 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 : '',
31183
+ style: {
31184
+ width: '100%',
31185
+ height: '100%',
31186
+ objectFit: sectionproperties.bgcovercontainresponsive == 'Cover' ? 'cover' : 'contain',
31148
31187
  margin: 0,
31149
31188
  padding: 0,
31150
31189
  borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
@@ -33960,7 +33999,7 @@
33960
33999
  }))))));
33961
34000
  };
33962
34001
  return /*#__PURE__*/React__default["default"].createElement("div", {
33963
- "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',
34002
+ "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',
33964
34003
  style: {
33965
34004
  marginBottom: sectionproperties.marginBottom + 'px',
33966
34005
  paddingLeft: sectionproperties.card_marginLeft + 'px',
@@ -38469,10 +38508,23 @@
38469
38508
  return /*#__PURE__*/React__default["default"].createElement("div", {
38470
38509
  "class": "col-lg-3 col-md-6 col-sm-12 d-flex align-items-center justify-content-center justify-content-md-start",
38471
38510
  style: {
38472
- padding: '10px'
38511
+ // padding: '10px',
38512
+ paddingTop: sectionproperties.reservation_padding_top + 'px',
38513
+ paddingBottom: sectionproperties.reservation_padding_bottom + 'px'
38473
38514
  }
38474
38515
  }, /*#__PURE__*/React__default["default"].createElement("div", {
38475
- "class": "m-lg-auto d-flex justify-content-center"
38516
+ // class="m-lg-auto d-flex justify-content-center"
38517
+ "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',
38518
+ style: {
38519
+ background: sectionproperties.reservation_bgcolor,
38520
+ paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
38521
+ paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
38522
+ borderRadius: sectionproperties.reservation_borderradius + 'px',
38523
+ border: cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'All' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
38524
+ borderRight: cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'en' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '' : '',
38525
+ borderLeft: sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'ar' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
38526
+ boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor
38527
+ }
38476
38528
  }, /*#__PURE__*/React__default["default"].createElement("div", {
38477
38529
  "class": "d-flex d-sm-none",
38478
38530
  style: {
@@ -38625,10 +38677,16 @@
38625
38677
  })
38626
38678
  };
38627
38679
  return /*#__PURE__*/React__default["default"].createElement("div", {
38680
+ "class": ' row ml-0 mr-0 w-md-100 d-flex justify-content-center align-items-center w-100 ',
38681
+ style: {
38682
+ background: sectionproperties.outerbgcolor
38683
+ }
38684
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
38628
38685
  "class": ' row ml-0 mr-0 w-md-100 align-items-center ',
38629
38686
  style: {
38630
38687
  position: 'relative',
38631
- width: sectionproperties.width + '%'
38688
+ width: sectionproperties.width + '%',
38689
+ background: sectionproperties.outerbgcolor
38632
38690
  }
38633
38691
  }, sectionproperties.maincontainerarrayofobjs != undefined && sectionproperties.maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
38634
38692
  "class": sectionStyles.imgcontainer
@@ -38662,7 +38720,9 @@
38662
38720
  borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
38663
38721
  borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
38664
38722
  borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
38665
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
38723
+ border: sectionproperties.borderType == 'All' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
38724
+ borderTop: sectionproperties.borderType == 'Vertical' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
38725
+ borderBottom: sectionproperties.borderType == 'Vertical' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
38666
38726
  borderLeftWidth: 0,
38667
38727
  borderRightWidth: 0
38668
38728
  }
@@ -38722,7 +38782,7 @@
38722
38782
  zIndex: 2
38723
38783
  }
38724
38784
  }, /*#__PURE__*/React__default["default"].createElement("div", {
38725
- "class": "row m-0 w-100 mb-auto",
38785
+ "class": sectionproperties.innersectionbordertype != 'All' ? 'row m-0 w-100 mb-auto border-md-none' : 'row m-0 w-100 mb-auto',
38726
38786
  style: {
38727
38787
  background: sectionproperties.reservation_bgcolor,
38728
38788
  paddingTop: sectionproperties.reservation_padding_top + 'px',
@@ -38730,7 +38790,9 @@
38730
38790
  paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
38731
38791
  paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
38732
38792
  borderRadius: sectionproperties.reservation_borderradius + 'px',
38733
- border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor,
38793
+ border: cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'All' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
38794
+ borderRight: cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'en' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '' : '',
38795
+ borderLeft: sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'ar' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
38734
38796
  boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor
38735
38797
  }
38736
38798
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -38788,7 +38850,7 @@
38788
38850
  textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
38789
38851
  }
38790
38852
  }, langdetect == 'en' ? cardsarray[cardinfoindex].cardobj_descripen : cardsarray[cardinfoindex].cardobj_descripar))));
38791
- })));
38853
+ }))));
38792
38854
  };
38793
38855
 
38794
38856
  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 ";
@@ -39792,9 +39854,12 @@
39792
39854
  }, /*#__PURE__*/React__default["default"].createElement("div", {
39793
39855
  "class": "row m-0 w-100"
39794
39856
  }, /*#__PURE__*/React__default["default"].createElement("div", {
39795
- className: slideshow_styles.dropdowntitle + ' col-lg-12 p-0 '
39857
+ className: slideshow_styles.dropdowntitle + ' col-lg-12 p-0 ',
39858
+ style: {
39859
+ justifyContent: sectionproperties.titlecentered == 'Centered' ? 'center' : 'start'
39860
+ }
39796
39861
  }, /*#__PURE__*/React__default["default"].createElement("p", {
39797
- className: "m-0 p-3 text-center"
39862
+ className: "m-0 p-3 w-100"
39798
39863
  }, langdetect == 'en' ? sectionproperties.collectionssectiontitleen : sectionproperties.collectionssectiontitlear)), /*#__PURE__*/React__default["default"].createElement("div", {
39799
39864
  "class": "col-lg-12 flex-column cat_dropdown_hover scrollvertical pt-3 px-2",
39800
39865
  style: {
@@ -39868,7 +39933,24 @@
39868
39933
  }
39869
39934
  }, /*#__PURE__*/React__default["default"].createElement("div", {
39870
39935
  className: ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center p-0 '
39871
- }, /*#__PURE__*/React__default["default"].createElement("p", {
39936
+ }, sectionproperties.showcatimage == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
39937
+ style: {
39938
+ width: '4.5vh',
39939
+ height: '4.5vh',
39940
+ marginRight: langdetect == 'en' ? '5px' : 0,
39941
+ marginLeft: langdetect == 'ar' ? '5px' : 0
39942
+ }
39943
+ }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
39944
+ urlEndpoint: IKurlEndpoint,
39945
+ publicKey: IKpublicKey,
39946
+ path: item.collectionlogo,
39947
+ loading: "lazy",
39948
+ style: {
39949
+ width: '100%',
39950
+ height: '100%',
39951
+ objectFit: 'contain'
39952
+ }
39953
+ })), /*#__PURE__*/React__default["default"].createElement("p", {
39872
39954
  "class": ' m-0 p-0 wordbreak wordbreak1 ',
39873
39955
  onClick: function onClick() {
39874
39956
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
@@ -43026,10 +43108,10 @@
43026
43108
  width: sectionproperties.generalbtn_width + 'px',
43027
43109
  background: sectionproperties.slideshow_btn_bg,
43028
43110
  color: sectionproperties.generalbtn_textColor,
43029
- borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
43030
- borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
43031
- borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
43032
- borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
43111
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertopleftradius + 'px' : sectionproperties.generalbtn_bordertoprightradius + 'px',
43112
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertoprightradius + 'px' : sectionproperties.generalbtn_bordertopleftradius + 'px',
43113
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomleftradius + 'px' : sectionproperties.generalbtn_borderbottomrightradius + 'px',
43114
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomrightradius + 'px' : sectionproperties.generalbtn_borderbottomleftradius + 'px',
43033
43115
  fontSize: sectionproperties.generalbtn_fontsize + 'px',
43034
43116
  textTransform: sectionproperties.generalbtn_texttransform,
43035
43117
  fontWeight: sectionproperties.generalbtn_fontweight,
@@ -43108,6 +43190,29 @@
43108
43190
  bottom: '10px',
43109
43191
  opacity: 0,
43110
43192
  zIndex: 10000
43193
+ }),
43194
+ showButtonResp: glamor.css({
43195
+ background: sectionproperties.slideshow_btn_bg,
43196
+ color: sectionproperties.generalbtn_textColor,
43197
+ borderTopLeftRadius: sectionproperties.transition != 'Show By Default' ? 0 : langdetect == 'en' ? sectionproperties.generalbtn_bordertopleftradius + 'px' : sectionproperties.generalbtn_bordertoprightradius + 'px',
43198
+ borderTopRightRadius: sectionproperties.transition != 'Show By Default' ? 0 : langdetect == 'en' ? sectionproperties.generalbtn_bordertoprightradius + 'px' : sectionproperties.generalbtn_bordertopleftradius + 'px',
43199
+ borderBottomLeftRadius: sectionproperties.transition != 'Show By Default' ? 0 : langdetect == 'en' ? sectionproperties.generalbtn_borderbottomleftradius + 'px' : sectionproperties.generalbtn_borderbottomrightradius + 'px',
43200
+ borderBottomRightRadius: sectionproperties.transition != 'Show By Default' ? 0 : langdetect == 'en' ? sectionproperties.generalbtn_borderbottomrightradius + 'px' : sectionproperties.generalbtn_borderbottomleftradius + 'px',
43201
+ height: '40px',
43202
+ ':hover': {
43203
+ background: sectionproperties.generalbtn_bgColoronhover,
43204
+ color: sectionproperties.generalbtn_textColoronhover
43205
+ }
43206
+ }),
43207
+ cartbtnresp: glamor.css({
43208
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
43209
+ color: sectionproperties.cartBtnTextcolor,
43210
+ borderRadius: sectionproperties.transition != 'Show By Default' ? 0 : sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
43211
+ height: '40px',
43212
+ ':hover': {
43213
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
43214
+ color: sectionproperties.cartBtnTextcoloronhover
43215
+ }
43111
43216
  })
43112
43217
  };
43113
43218
  var ImageContent = function ImageContent() {
@@ -43188,11 +43293,11 @@
43188
43293
  direction: 'ltr'
43189
43294
  }
43190
43295
  }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), /*#__PURE__*/React__default["default"].createElement("div", {
43191
- "class": "".concat(card_cssstyles.buttoncont) + ' buttoncont row w-100 m-0 d-flex justify-content-center align-items-center '
43296
+ "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 '
43192
43297
  }, /*#__PURE__*/React__default["default"].createElement("div", {
43193
43298
  "class": "col-lg-12 p-0 mb-2"
43194
43299
  }, /*#__PURE__*/React__default["default"].createElement("button", {
43195
- "class": "".concat(card_cssstyles.quickshow_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center quickshow_btn ',
43300
+ "class": "".concat(card_cssstyles.quickshow_btn) + ' cursor-pointer d-flex justify-content-center align-items-center quickshow_btn ',
43196
43301
  onClick: function onClick(e) {
43197
43302
  e.stopPropagation();
43198
43303
  setShowProductInfoModalContext(true);
@@ -43201,7 +43306,7 @@
43201
43306
  }, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
43202
43307
  "class": "col-lg-12 p-0"
43203
43308
  }, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
43204
- "class": "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
43309
+ "class": "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex justify-content-center align-items-center cart_btn ',
43205
43310
  onClick: function onClick(e) {
43206
43311
  e.stopPropagation();
43207
43312
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
@@ -43212,14 +43317,9 @@
43212
43317
  position: 'absolute',
43213
43318
  width: '100%'
43214
43319
  },
43215
- "class": "d-none d-md-flex d-sm-flex"
43320
+ "class": sectionproperties.transition == 'Show By Default' ? 'd-flex' : 'd-none d-md-flex d-sm-flex'
43216
43321
  }, /*#__PURE__*/React__default["default"].createElement("div", {
43217
- style: {
43218
- background: sectionproperties.slideshow_btn_bg,
43219
- color: sectionproperties.generalbtn_textColor,
43220
- height: '40px'
43221
- },
43222
- "class": "col-lg-6 p-0 d-flex align-items-center justify-content-center",
43322
+ "class": card_cssstyles.showButtonResp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
43223
43323
  onClick: function onClick(e) {
43224
43324
  e.stopPropagation();
43225
43325
  setShowProductInfoModalContext(true);
@@ -43228,12 +43328,7 @@
43228
43328
  }, /*#__PURE__*/React__default["default"].createElement(BsEye.BsEye, {
43229
43329
  size: sectionproperties.cartBtn_iconFontSize
43230
43330
  })), /*#__PURE__*/React__default["default"].createElement("div", {
43231
- style: {
43232
- background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
43233
- color: sectionproperties.cartBtnTextcolor,
43234
- height: '40px'
43235
- },
43236
- "class": "col-lg-6 p-0 d-flex align-items-center justify-content-center",
43331
+ "class": card_cssstyles.cartbtnresp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
43237
43332
  onClick: function onClick(e) {
43238
43333
  e.stopPropagation();
43239
43334
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
@@ -43258,7 +43353,7 @@
43258
43353
  };
43259
43354
  return /*#__PURE__*/React__default["default"].createElement("div", {
43260
43355
  // ${generalCardsStyles.newproductcard}
43261
- "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 ' : " ".concat(card_cssstyles.productcard),
43356
+ "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 p-md-0 ' : " ".concat(card_cssstyles.productcard),
43262
43357
  style: {
43263
43358
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
43264
43359
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
@@ -47151,7 +47246,7 @@
47151
47246
  position: 'relative'
47152
47247
  }
47153
47248
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47154
- "class": 'col-lg-9 col-md-9 col-sm-3 p-0 mb-2',
47249
+ "class": 'col-lg-9 col-md-9 col-sm-9 p-0 mb-2',
47155
47250
  style: {
47156
47251
  minHeight: '6vh'
47157
47252
  }
@@ -51594,7 +51689,7 @@
51594
51689
  setShowProductInfoModalContext(true);
51595
51690
  setProductIdProdutInfoModalContext(item.productid);
51596
51691
  },
51597
- "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 mb-2 ',
51692
+ "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 mb-2 allcentered ',
51598
51693
  style: {
51599
51694
  zIndex: 1
51600
51695
  }
@@ -51604,8 +51699,8 @@
51604
51699
  path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
51605
51700
  loading: "lazy",
51606
51701
  style: {
51607
- width: '100%',
51608
- height: '100%',
51702
+ width: sectionproperties.imageInnerWidth_Height + '%',
51703
+ height: sectionproperties.imageInnerWidth_Height + '%',
51609
51704
  objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
51610
51705
  }
51611
51706
  }))), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.243",
3
+ "version": "0.0.244",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {
package/src.zip CHANGED
Binary file