tabexseriescomponents 0.0.388 → 0.0.390

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
@@ -2396,7 +2396,7 @@ var Product_itemtype = function Product_itemtype(props) {
2396
2396
  minHeight: sectionproperties.height + 'vh'
2397
2397
  }
2398
2398
  }, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
2399
- "class": "w-100 scrollhorizontalwithscrollbar"
2399
+ "class": "w-100 scrollhorizontalwithscrollbar scrollhorizontalwithscrollbarremove"
2400
2400
  }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productimages) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.productimages.map(function (item, index) {
2401
2401
  return /*#__PURE__*/React__default["default"].createElement("div", {
2402
2402
  "class": ' scrollhorizontalcard mx-2 ',
@@ -2692,7 +2692,7 @@ var Product_itemtype = function Product_itemtype(props) {
2692
2692
  actions: props.actions
2693
2693
  }), sectionproperties.showextrafield == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductExtraFields, {
2694
2694
  actions: props.actions
2695
- }), sectionproperties.gallerystyle == 'Style 2' && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
2695
+ }), sectionproperties.gallerystyle == 'Style 2' && sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition != 'Top' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
2696
2696
  actions: props.actions
2697
2697
  }), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2698
2698
  className: "col-lg-12 p-0 mb-3"
@@ -2734,7 +2734,7 @@ var Product_itemtype = function Product_itemtype(props) {
2734
2734
  flexDirection: 'row',
2735
2735
  direction: 'ltr'
2736
2736
  }
2737
- }, /*#__PURE__*/React__default["default"].createElement("span", {
2737
+ }, sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
2738
2738
  className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
2739
2739
  onClick: function onClick() {
2740
2740
  var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
@@ -2750,9 +2750,9 @@ var Product_itemtype = function Product_itemtype(props) {
2750
2750
  }
2751
2751
  }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
2752
2752
  size: sectionproperties.remove_quantitybtn_textfontsize
2753
- }))), /*#__PURE__*/React__default["default"].createElement("span", {
2753
+ }))), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
2754
2754
  className: "".concat(productinfo_cssstyles.quantitybtn_text)
2755
- }, addtocardpayloadobj.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
2755
+ }, addtocardpayloadobj.quantity), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
2756
2756
  className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
2757
2757
  onClick: function onClick() {
2758
2758
  var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
@@ -2768,7 +2768,30 @@ var Product_itemtype = function Product_itemtype(props) {
2768
2768
  }
2769
2769
  }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
2770
2770
  size: sectionproperties.add_quantitybtn_textfontsize
2771
- })))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
2771
+ }))), sectionproperties.quantitybtneditable == 'Yes' && /*#__PURE__*/React__default["default"].createElement("input", {
2772
+ type: "number",
2773
+ style: {
2774
+ width: 100,
2775
+ height: 40,
2776
+ background: 'transparent',
2777
+ fontWeight: sectionproperties.quantitybtn_textfontweight,
2778
+ color: sectionproperties.quantitybtn_textcolor,
2779
+ fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
2780
+ textAlign: 'center'
2781
+ },
2782
+ value: addtocardpayloadobj.quantity,
2783
+ onChange: function onChange(event) {
2784
+ if (event.target.value == NaN || event.target.value == undefined || event.target.value == null || event.target.value == '') {
2785
+ var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
2786
+ tempaddtocardpayloadobj.quantity = 1;
2787
+ setaddtocardpayloadobj(_objectSpread$2q({}, tempaddtocardpayloadobj));
2788
+ } else {
2789
+ var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
2790
+ tempaddtocardpayloadobj.quantity = parseInt(event.target.value);
2791
+ setaddtocardpayloadobj(_objectSpread$2q({}, tempaddtocardpayloadobj));
2792
+ }
2793
+ }
2794
+ })), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
2772
2795
  className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
2773
2796
  onClick: function onClick() {
2774
2797
  if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
@@ -5870,7 +5893,7 @@ var Productinfo = function Productinfo(props) {
5870
5893
  }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.contactinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.email)))), sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
5871
5894
  "class": "row m-0 w-100"
5872
5895
  }, sectionproperties.showfooterphonenumber == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
5873
- "class": "col-lg-12 allcentered mb-2"
5896
+ "class": "col-lg-12 allcentered mb-2 p-sm-0"
5874
5897
  }, /*#__PURE__*/React__default["default"].createElement("button", {
5875
5898
  "class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
5876
5899
  onClick: function onClick() {
@@ -5879,7 +5902,7 @@ var Productinfo = function Productinfo(props) {
5879
5902
  }, /*#__PURE__*/React__default["default"].createElement("p", {
5880
5903
  "class": "m-0 p-0"
5881
5904
  }, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.contactinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
5882
- "class": "col-lg-12 allcentered mb-2"
5905
+ "class": "col-lg-12 allcentered mb-2 p-sm-0"
5883
5906
  }, /*#__PURE__*/React__default["default"].createElement("button", {
5884
5907
  "class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
5885
5908
  onClick: function onClick() {
@@ -5889,7 +5912,7 @@ var Productinfo = function Productinfo(props) {
5889
5912
  }, /*#__PURE__*/React__default["default"].createElement("p", {
5890
5913
  "class": "m-0 p-0"
5891
5914
  }, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
5892
- "class": "col-lg-12 allcentered mb-2"
5915
+ "class": "col-lg-12 allcentered mb-2 p-sm-0"
5893
5916
  }, /*#__PURE__*/React__default["default"].createElement("button", {
5894
5917
  "class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
5895
5918
  onClick: function onClick() {
@@ -24203,7 +24226,7 @@ var CTAHeader = function CTAHeader(props) {
24203
24226
  size: sectionproperties.cartBtn_iconFontSize
24204
24227
  }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
24205
24228
  size: sectionproperties.cartBtn_iconFontSize
24206
- })), sectionproperties.lang_position == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
24229
+ })), sectionproperties.lang_position == 'Top' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
24207
24230
  "class": langdetect == 'en' ? 'headerdropdownml ml-3' : 'headerdropdownmr mr-3'
24208
24231
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
24209
24232
  "class": ' d-flex align-items-center justify-content-center '
@@ -24420,7 +24443,7 @@ var CTAHeader = function CTAHeader(props) {
24420
24443
  }
24421
24444
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
24422
24445
  size: sectionproperties.youtubebtniconfontsize
24423
- })), sectionproperties.lang_position == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
24446
+ })), sectionproperties.lang_position == 'Bottom' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
24424
24447
  "class": langdetect == 'en' ? 'headerdropdownml ml-3' : 'headerdropdownmr mr-3'
24425
24448
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
24426
24449
  "class": ' d-flex align-items-center justify-content-center '
@@ -24476,7 +24499,10 @@ var CTAHeader = function CTAHeader(props) {
24476
24499
  "class": 'ml-2 mr-2'
24477
24500
  }, lang.english)))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
24478
24501
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-lg-none d-md-block d-sm-block"
24479
- }, /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
24502
+ }, sectionproperties.responsiveheaderstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
24503
+ sectionpropertiesprops: sectionproperties,
24504
+ actions: actions
24505
+ }), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
24480
24506
  sectionpropertiesprops: sectionproperties,
24481
24507
  actions: actions
24482
24508
  }))));
@@ -52733,8 +52759,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52733
52759
  }, [sectionproperties]);
52734
52760
  var section_styles = {
52735
52761
  sectioncintainer: glamor.css({
52736
- paddingTop: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0,
52737
- paddingBottom: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0,
52762
+ // paddingTop: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0,
52763
+ paddingTop: sectionproperties.paddingTop,
52764
+ // paddingBottom: sectionproperties.sectiontitleposition == 'Centered' ? 50 :0,
52765
+ paddingBottom: sectionproperties.paddingBottom,
52738
52766
  '@media (max-width: 800px)': {
52739
52767
  paddingTop: sectionproperties.paddingverticalresponsive + 'px',
52740
52768
  paddingBottom: sectionproperties.paddingverticalresponsive + 'px'
@@ -52762,8 +52790,8 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52762
52790
  }
52763
52791
  }),
52764
52792
  sectiontitlespan: glamor.css({
52765
- paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
52766
- paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px',
52793
+ paddingLeft: sectionproperties.sectiontitleborderradius == 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px' : 0,
52794
+ paddingRight: sectionproperties.sectiontitleborderradius == 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px' : 0,
52767
52795
  ':after': {
52768
52796
  position: 'absolute',
52769
52797
  bottom: 0,
@@ -52839,8 +52867,9 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52839
52867
  }
52840
52868
  }),
52841
52869
  imageimage: glamor.css({
52842
- width: '100%',
52843
- height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
52870
+ width: sectionproperties.image_width + '%',
52871
+ height: sectionproperties.image_height + '%',
52872
+ // height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
52844
52873
  margin: 0,
52845
52874
  padding: 0,
52846
52875
  objectFit: sectionproperties.bgcovercontain,
@@ -52907,18 +52936,34 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52907
52936
  alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
52908
52937
  }
52909
52938
  }, /*#__PURE__*/React__default["default"].createElement("div", {
52910
- "class": "d-flex align-items-center flex-row d-sm-none mt-sm-2",
52939
+ "class": 'd-flex align-items-center flex-row d-sm-none mt-sm-2 ',
52911
52940
  style: {
52912
52941
  position: 'relative',
52913
52942
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
52914
- fontSize: sectionproperties.sectionTitleFontSize + 'px'
52943
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
52944
+ backgroundColor: sectionproperties.sectiontitlebgcolor,
52945
+ borderRadius: sectionproperties.sectiontitleborderradius + 'px',
52946
+ paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
52947
+ paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
52948
+ paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
52949
+ paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
52950
+ marginLeft: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px' : 0,
52951
+ marginRight: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px' : 0
52915
52952
  }
52916
52953
  }, SectionTitle()), /*#__PURE__*/React__default["default"].createElement("div", {
52917
- "class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
52954
+ "class": 'd-none align-items-center flex-row d-sm-flex mt-sm-2',
52918
52955
  style: {
52919
52956
  position: 'relative',
52920
52957
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
52921
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
52958
+ fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
52959
+ backgroundColor: sectionproperties.sectiontitlebgcolor,
52960
+ borderRadius: sectionproperties.sectiontitleborderradius + 'px',
52961
+ paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
52962
+ paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
52963
+ paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
52964
+ paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
52965
+ marginLeft: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px' : 0,
52966
+ marginRight: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px' : 0
52922
52967
  }
52923
52968
  }, SectionTitle())), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
52924
52969
  "class": "col-lg-12 pl-0 pr-0 d-flex justify-content-md-center",
@@ -52944,7 +52989,8 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52944
52989
  }, SectionDescription())), /*#__PURE__*/React__default["default"].createElement("div", {
52945
52990
  "class": "col-lg-12 p-0 d-flex justify-content-md-center",
52946
52991
  style: {
52947
- justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start'
52992
+ justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
52993
+ marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px'
52948
52994
  }
52949
52995
  }, /*#__PURE__*/React__default["default"].createElement("p", {
52950
52996
  "class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
@@ -52953,7 +52999,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52953
52999
  __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
52954
53000
  }
52955
53001
  })), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
52956
- "class": "col-lg-12 p-0"
53002
+ "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start'
52957
53003
  }, /*#__PURE__*/React__default["default"].createElement("button", {
52958
53004
  "class": "".concat(section_styles.btn),
52959
53005
  onClick: function onClick() {
@@ -53014,7 +53060,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
53014
53060
  var Image = function Image() {
53015
53061
  var _imagesarray$, _imagesarray$7, _imagesarray$8;
53016
53062
  return /*#__PURE__*/React__default["default"].createElement("div", {
53017
- "class": sectionproperties.image_height == 0 ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center h-auto p-0' : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-0',
53063
+ "class": sectionproperties.image_height == 0 ? sectionproperties.sectionstyle == 'Image on right' ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center h-auto p-0' : 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-0' : sectionproperties.sectionstyle == 'Image on right' ? 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center p-0' : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-0',
53018
53064
  style: {
53019
53065
  cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickableimg) == 'Yes' ? 'pointer' : 'default',
53020
53066
  background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor
@@ -53048,11 +53094,13 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
53048
53094
  background: sectionproperties.backgroundColor
53049
53095
  }
53050
53096
  }, /*#__PURE__*/React__default["default"].createElement("div", {
53051
- "class": sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0 ? 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-100 mx-auto' : 'd-flex justify-content-between align-items-center w-md-100 mx-auto',
53097
+ "class": sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0 ? sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-100 mx-auto' : sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center w-md-100 mx-auto',
53052
53098
  style: {
53053
53099
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
53054
53100
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
53055
- width: sectionproperties.width + 'vw'
53101
+ width: sectionproperties.width + 'vw',
53102
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
53103
+ borderRadius: sectionproperties.sectioncardborderradius + 'px'
53056
53104
  }
53057
53105
  }, /*#__PURE__*/React__default["default"].createElement("div", {
53058
53106
  "class":
@@ -53072,11 +53120,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
53072
53120
  // paddingTop: sectionproperties.paddingTop + 'px',
53073
53121
  // paddingBottom: sectionproperties.paddingBottom + 'px',
53074
53122
  marginTop: sectionproperties.marginTop + 'px',
53075
- marginBottom: sectionproperties.marginBottom + 'px',
53076
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
53077
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
53078
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
53079
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px'
53123
+ marginBottom: sectionproperties.marginBottom + 'px'
53080
53124
  }
53081
53125
  }, sectionproperties.sectionstyle == 'Image on right' && /*#__PURE__*/React__default["default"].createElement("div", {
53082
53126
  "class": "col-lg-12 p-0 d-flex justify-content-between d-md-none"
@@ -53640,6 +53684,10 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
53640
53684
  ':hover': {
53641
53685
  transition: '.3s',
53642
53686
  backgroundColor: sectionproperties.activedotcolor
53687
+ },
53688
+ '@media (max-width: 800px)': {
53689
+ width: sectionproperties.innerwidthheightresp + 'px',
53690
+ height: sectionproperties.innerwidthheightresp + 'px'
53643
53691
  }
53644
53692
  }),
53645
53693
  cardContainer: glamor.css({
@@ -53778,7 +53826,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
53778
53826
  window.open(cardinfoitem.btnlink, '_blank');
53779
53827
  }
53780
53828
  }
53781
- }, /*#__PURE__*/React__default["default"].createElement("div", {
53829
+ }, sectionproperties.imageposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
53782
53830
  "class": "col-lg-12 d-flex align-items-center p-0",
53783
53831
  style: {
53784
53832
  marginBottom: sectionproperties.image_mb + 'px',
@@ -53820,7 +53868,25 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
53820
53868
  fontWeight: sectionproperties.slideshowText2ContentFontWeight,
53821
53869
  textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
53822
53870
  }
53823
- }, langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar))));
53871
+ }, langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar)), sectionproperties.imageposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
53872
+ "class": "col-lg-12 d-flex align-items-center p-0",
53873
+ style: {
53874
+ marginTop: sectionproperties.image_mb + 'px',
53875
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
53876
+ }
53877
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
53878
+ "class": sectionStyles.imageContainer + ' d-flex align-items-center imageContainer ',
53879
+ style: {}
53880
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
53881
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
53882
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
53883
+ path: cardsarray.length != 0 ? cardinfoitem.cardobj_img : '',
53884
+ style: {
53885
+ maxHeight: sectionproperties.iconcontainerwidth + '%',
53886
+ maxWidth: sectionproperties.iconcontainerwidth + '%',
53887
+ objectFit: 'contain'
53888
+ }
53889
+ })))));
53824
53890
  }))));
53825
53891
  };
53826
53892
 
package/dist/index.esm.js CHANGED
@@ -2347,7 +2347,7 @@ var Product_itemtype = function Product_itemtype(props) {
2347
2347
  minHeight: sectionproperties.height + 'vh'
2348
2348
  }
2349
2349
  }, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
2350
- "class": "w-100 scrollhorizontalwithscrollbar"
2350
+ "class": "w-100 scrollhorizontalwithscrollbar scrollhorizontalwithscrollbarremove"
2351
2351
  }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productimages) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.productimages.map(function (item, index) {
2352
2352
  return /*#__PURE__*/React.createElement("div", {
2353
2353
  "class": ' scrollhorizontalcard mx-2 ',
@@ -2643,7 +2643,7 @@ var Product_itemtype = function Product_itemtype(props) {
2643
2643
  actions: props.actions
2644
2644
  }), sectionproperties.showextrafield == 'Show' && /*#__PURE__*/React.createElement(ProductExtraFields, {
2645
2645
  actions: props.actions
2646
- }), sectionproperties.gallerystyle == 'Style 2' && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement(DescriptionContent, {
2646
+ }), sectionproperties.gallerystyle == 'Style 2' && sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition != 'Top' && /*#__PURE__*/React.createElement(DescriptionContent, {
2647
2647
  actions: props.actions
2648
2648
  }), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
2649
2649
  className: "col-lg-12 p-0 mb-3"
@@ -2685,7 +2685,7 @@ var Product_itemtype = function Product_itemtype(props) {
2685
2685
  flexDirection: 'row',
2686
2686
  direction: 'ltr'
2687
2687
  }
2688
- }, /*#__PURE__*/React.createElement("span", {
2688
+ }, sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React.createElement("span", {
2689
2689
  className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
2690
2690
  onClick: function onClick() {
2691
2691
  var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
@@ -2701,9 +2701,9 @@ var Product_itemtype = function Product_itemtype(props) {
2701
2701
  }
2702
2702
  }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React.createElement(FiMinus, {
2703
2703
  size: sectionproperties.remove_quantitybtn_textfontsize
2704
- }))), /*#__PURE__*/React.createElement("span", {
2704
+ }))), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React.createElement("span", {
2705
2705
  className: "".concat(productinfo_cssstyles.quantitybtn_text)
2706
- }, addtocardpayloadobj.quantity), /*#__PURE__*/React.createElement("span", {
2706
+ }, addtocardpayloadobj.quantity), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React.createElement("span", {
2707
2707
  className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
2708
2708
  onClick: function onClick() {
2709
2709
  var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
@@ -2719,7 +2719,30 @@ var Product_itemtype = function Product_itemtype(props) {
2719
2719
  }
2720
2720
  }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React.createElement(FiPlus, {
2721
2721
  size: sectionproperties.add_quantitybtn_textfontsize
2722
- })))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("button", {
2722
+ }))), sectionproperties.quantitybtneditable == 'Yes' && /*#__PURE__*/React.createElement("input", {
2723
+ type: "number",
2724
+ style: {
2725
+ width: 100,
2726
+ height: 40,
2727
+ background: 'transparent',
2728
+ fontWeight: sectionproperties.quantitybtn_textfontweight,
2729
+ color: sectionproperties.quantitybtn_textcolor,
2730
+ fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
2731
+ textAlign: 'center'
2732
+ },
2733
+ value: addtocardpayloadobj.quantity,
2734
+ onChange: function onChange(event) {
2735
+ if (event.target.value == NaN || event.target.value == undefined || event.target.value == null || event.target.value == '') {
2736
+ var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
2737
+ tempaddtocardpayloadobj.quantity = 1;
2738
+ setaddtocardpayloadobj(_objectSpread$2q({}, tempaddtocardpayloadobj));
2739
+ } else {
2740
+ var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
2741
+ tempaddtocardpayloadobj.quantity = parseInt(event.target.value);
2742
+ setaddtocardpayloadobj(_objectSpread$2q({}, tempaddtocardpayloadobj));
2743
+ }
2744
+ }
2745
+ })), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("button", {
2723
2746
  className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
2724
2747
  onClick: function onClick() {
2725
2748
  if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
@@ -5821,7 +5844,7 @@ var Productinfo = function Productinfo(props) {
5821
5844
  }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.contactinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.email)))), sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
5822
5845
  "class": "row m-0 w-100"
5823
5846
  }, sectionproperties.showfooterphonenumber == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber) != null && /*#__PURE__*/React.createElement("div", {
5824
- "class": "col-lg-12 allcentered mb-2"
5847
+ "class": "col-lg-12 allcentered mb-2 p-sm-0"
5825
5848
  }, /*#__PURE__*/React.createElement("button", {
5826
5849
  "class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
5827
5850
  onClick: function onClick() {
@@ -5830,7 +5853,7 @@ var Productinfo = function Productinfo(props) {
5830
5853
  }, /*#__PURE__*/React.createElement("p", {
5831
5854
  "class": "m-0 p-0"
5832
5855
  }, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.contactinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.email) != null && /*#__PURE__*/React.createElement("div", {
5833
- "class": "col-lg-12 allcentered mb-2"
5856
+ "class": "col-lg-12 allcentered mb-2 p-sm-0"
5834
5857
  }, /*#__PURE__*/React.createElement("button", {
5835
5858
  "class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
5836
5859
  onClick: function onClick() {
@@ -5840,7 +5863,7 @@ var Productinfo = function Productinfo(props) {
5840
5863
  }, /*#__PURE__*/React.createElement("p", {
5841
5864
  "class": "m-0 p-0"
5842
5865
  }, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber) != null && /*#__PURE__*/React.createElement("div", {
5843
- "class": "col-lg-12 allcentered mb-2"
5866
+ "class": "col-lg-12 allcentered mb-2 p-sm-0"
5844
5867
  }, /*#__PURE__*/React.createElement("button", {
5845
5868
  "class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
5846
5869
  onClick: function onClick() {
@@ -24154,7 +24177,7 @@ var CTAHeader = function CTAHeader(props) {
24154
24177
  size: sectionproperties.cartBtn_iconFontSize
24155
24178
  }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
24156
24179
  size: sectionproperties.cartBtn_iconFontSize
24157
- })), sectionproperties.lang_position == 'Top' && /*#__PURE__*/React.createElement("div", {
24180
+ })), sectionproperties.lang_position == 'Top' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
24158
24181
  "class": langdetect == 'en' ? 'headerdropdownml ml-3' : 'headerdropdownmr mr-3'
24159
24182
  }, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
24160
24183
  "class": ' d-flex align-items-center justify-content-center '
@@ -24371,7 +24394,7 @@ var CTAHeader = function CTAHeader(props) {
24371
24394
  }
24372
24395
  }, /*#__PURE__*/React.createElement(FaWhatsapp, {
24373
24396
  size: sectionproperties.youtubebtniconfontsize
24374
- })), sectionproperties.lang_position == 'Bottom' && /*#__PURE__*/React.createElement("div", {
24397
+ })), sectionproperties.lang_position == 'Bottom' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
24375
24398
  "class": langdetect == 'en' ? 'headerdropdownml ml-3' : 'headerdropdownmr mr-3'
24376
24399
  }, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
24377
24400
  "class": ' d-flex align-items-center justify-content-center '
@@ -24427,7 +24450,10 @@ var CTAHeader = function CTAHeader(props) {
24427
24450
  "class": 'ml-2 mr-2'
24428
24451
  }, lang.english)))))))))), /*#__PURE__*/React.createElement("div", {
24429
24452
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-lg-none d-md-block d-sm-block"
24430
- }, /*#__PURE__*/React.createElement(Headerresponsive, {
24453
+ }, sectionproperties.responsiveheaderstyle == 'Style 1' && /*#__PURE__*/React.createElement(Headerresponsive, {
24454
+ sectionpropertiesprops: sectionproperties,
24455
+ actions: actions
24456
+ }), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React.createElement(HeaderresponsiveStyle2, {
24431
24457
  sectionpropertiesprops: sectionproperties,
24432
24458
  actions: actions
24433
24459
  }))));
@@ -52684,8 +52710,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52684
52710
  }, [sectionproperties]);
52685
52711
  var section_styles = {
52686
52712
  sectioncintainer: css({
52687
- paddingTop: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0,
52688
- paddingBottom: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0,
52713
+ // paddingTop: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0,
52714
+ paddingTop: sectionproperties.paddingTop,
52715
+ // paddingBottom: sectionproperties.sectiontitleposition == 'Centered' ? 50 :0,
52716
+ paddingBottom: sectionproperties.paddingBottom,
52689
52717
  '@media (max-width: 800px)': {
52690
52718
  paddingTop: sectionproperties.paddingverticalresponsive + 'px',
52691
52719
  paddingBottom: sectionproperties.paddingverticalresponsive + 'px'
@@ -52713,8 +52741,8 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52713
52741
  }
52714
52742
  }),
52715
52743
  sectiontitlespan: css({
52716
- paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
52717
- paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px',
52744
+ paddingLeft: sectionproperties.sectiontitleborderradius == 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px' : 0,
52745
+ paddingRight: sectionproperties.sectiontitleborderradius == 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px' : 0,
52718
52746
  ':after': {
52719
52747
  position: 'absolute',
52720
52748
  bottom: 0,
@@ -52790,8 +52818,9 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52790
52818
  }
52791
52819
  }),
52792
52820
  imageimage: css({
52793
- width: '100%',
52794
- height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
52821
+ width: sectionproperties.image_width + '%',
52822
+ height: sectionproperties.image_height + '%',
52823
+ // height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
52795
52824
  margin: 0,
52796
52825
  padding: 0,
52797
52826
  objectFit: sectionproperties.bgcovercontain,
@@ -52858,18 +52887,34 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52858
52887
  alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
52859
52888
  }
52860
52889
  }, /*#__PURE__*/React.createElement("div", {
52861
- "class": "d-flex align-items-center flex-row d-sm-none mt-sm-2",
52890
+ "class": 'd-flex align-items-center flex-row d-sm-none mt-sm-2 ',
52862
52891
  style: {
52863
52892
  position: 'relative',
52864
52893
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
52865
- fontSize: sectionproperties.sectionTitleFontSize + 'px'
52894
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
52895
+ backgroundColor: sectionproperties.sectiontitlebgcolor,
52896
+ borderRadius: sectionproperties.sectiontitleborderradius + 'px',
52897
+ paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
52898
+ paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
52899
+ paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
52900
+ paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
52901
+ marginLeft: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px' : 0,
52902
+ marginRight: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px' : 0
52866
52903
  }
52867
52904
  }, SectionTitle()), /*#__PURE__*/React.createElement("div", {
52868
- "class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
52905
+ "class": 'd-none align-items-center flex-row d-sm-flex mt-sm-2',
52869
52906
  style: {
52870
52907
  position: 'relative',
52871
52908
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
52872
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
52909
+ fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
52910
+ backgroundColor: sectionproperties.sectiontitlebgcolor,
52911
+ borderRadius: sectionproperties.sectiontitleborderradius + 'px',
52912
+ paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
52913
+ paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
52914
+ paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
52915
+ paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
52916
+ marginLeft: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px' : 0,
52917
+ marginRight: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px' : 0
52873
52918
  }
52874
52919
  }, SectionTitle())), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
52875
52920
  "class": "col-lg-12 pl-0 pr-0 d-flex justify-content-md-center",
@@ -52895,7 +52940,8 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52895
52940
  }, SectionDescription())), /*#__PURE__*/React.createElement("div", {
52896
52941
  "class": "col-lg-12 p-0 d-flex justify-content-md-center",
52897
52942
  style: {
52898
- justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start'
52943
+ justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
52944
+ marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px'
52899
52945
  }
52900
52946
  }, /*#__PURE__*/React.createElement("p", {
52901
52947
  "class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
@@ -52904,7 +52950,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52904
52950
  __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
52905
52951
  }
52906
52952
  })), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
52907
- "class": "col-lg-12 p-0"
52953
+ "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start'
52908
52954
  }, /*#__PURE__*/React.createElement("button", {
52909
52955
  "class": "".concat(section_styles.btn),
52910
52956
  onClick: function onClick() {
@@ -52965,7 +53011,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52965
53011
  var Image = function Image() {
52966
53012
  var _imagesarray$, _imagesarray$7, _imagesarray$8;
52967
53013
  return /*#__PURE__*/React.createElement("div", {
52968
- "class": sectionproperties.image_height == 0 ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center h-auto p-0' : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-0',
53014
+ "class": sectionproperties.image_height == 0 ? sectionproperties.sectionstyle == 'Image on right' ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center h-auto p-0' : 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-0' : sectionproperties.sectionstyle == 'Image on right' ? 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center p-0' : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-0',
52969
53015
  style: {
52970
53016
  cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickableimg) == 'Yes' ? 'pointer' : 'default',
52971
53017
  background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor
@@ -52999,11 +53045,13 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52999
53045
  background: sectionproperties.backgroundColor
53000
53046
  }
53001
53047
  }, /*#__PURE__*/React.createElement("div", {
53002
- "class": sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0 ? 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-100 mx-auto' : 'd-flex justify-content-between align-items-center w-md-100 mx-auto',
53048
+ "class": sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0 ? sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-100 mx-auto' : sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center w-md-100 mx-auto',
53003
53049
  style: {
53004
53050
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
53005
53051
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
53006
- width: sectionproperties.width + 'vw'
53052
+ width: sectionproperties.width + 'vw',
53053
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
53054
+ borderRadius: sectionproperties.sectioncardborderradius + 'px'
53007
53055
  }
53008
53056
  }, /*#__PURE__*/React.createElement("div", {
53009
53057
  "class":
@@ -53023,11 +53071,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
53023
53071
  // paddingTop: sectionproperties.paddingTop + 'px',
53024
53072
  // paddingBottom: sectionproperties.paddingBottom + 'px',
53025
53073
  marginTop: sectionproperties.marginTop + 'px',
53026
- marginBottom: sectionproperties.marginBottom + 'px',
53027
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
53028
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
53029
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
53030
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px'
53074
+ marginBottom: sectionproperties.marginBottom + 'px'
53031
53075
  }
53032
53076
  }, sectionproperties.sectionstyle == 'Image on right' && /*#__PURE__*/React.createElement("div", {
53033
53077
  "class": "col-lg-12 p-0 d-flex justify-content-between d-md-none"
@@ -53591,6 +53635,10 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
53591
53635
  ':hover': {
53592
53636
  transition: '.3s',
53593
53637
  backgroundColor: sectionproperties.activedotcolor
53638
+ },
53639
+ '@media (max-width: 800px)': {
53640
+ width: sectionproperties.innerwidthheightresp + 'px',
53641
+ height: sectionproperties.innerwidthheightresp + 'px'
53594
53642
  }
53595
53643
  }),
53596
53644
  cardContainer: css({
@@ -53729,7 +53777,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
53729
53777
  window.open(cardinfoitem.btnlink, '_blank');
53730
53778
  }
53731
53779
  }
53732
- }, /*#__PURE__*/React.createElement("div", {
53780
+ }, sectionproperties.imageposition == 'Top' && /*#__PURE__*/React.createElement("div", {
53733
53781
  "class": "col-lg-12 d-flex align-items-center p-0",
53734
53782
  style: {
53735
53783
  marginBottom: sectionproperties.image_mb + 'px',
@@ -53771,7 +53819,25 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
53771
53819
  fontWeight: sectionproperties.slideshowText2ContentFontWeight,
53772
53820
  textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
53773
53821
  }
53774
- }, langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar))));
53822
+ }, langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar)), sectionproperties.imageposition == 'Bottom' && /*#__PURE__*/React.createElement("div", {
53823
+ "class": "col-lg-12 d-flex align-items-center p-0",
53824
+ style: {
53825
+ marginTop: sectionproperties.image_mb + 'px',
53826
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
53827
+ }
53828
+ }, /*#__PURE__*/React.createElement("div", {
53829
+ "class": sectionStyles.imageContainer + ' d-flex align-items-center imageContainer ',
53830
+ style: {}
53831
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
53832
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
53833
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
53834
+ path: cardsarray.length != 0 ? cardinfoitem.cardobj_img : '',
53835
+ style: {
53836
+ maxHeight: sectionproperties.iconcontainerwidth + '%',
53837
+ maxWidth: sectionproperties.iconcontainerwidth + '%',
53838
+ objectFit: 'contain'
53839
+ }
53840
+ })))));
53775
53841
  }))));
53776
53842
  };
53777
53843
 
package/dist/index.umd.js CHANGED
@@ -2228,7 +2228,7 @@
2228
2228
  minHeight: sectionproperties.height + 'vh'
2229
2229
  }
2230
2230
  }, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
2231
- "class": "w-100 scrollhorizontalwithscrollbar"
2231
+ "class": "w-100 scrollhorizontalwithscrollbar scrollhorizontalwithscrollbarremove"
2232
2232
  }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productimages) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.productimages.map(function (item, index) {
2233
2233
  return /*#__PURE__*/React__default["default"].createElement("div", {
2234
2234
  "class": ' scrollhorizontalcard mx-2 ',
@@ -2524,7 +2524,7 @@
2524
2524
  actions: props.actions
2525
2525
  }), sectionproperties.showextrafield == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductExtraFields, {
2526
2526
  actions: props.actions
2527
- }), sectionproperties.gallerystyle == 'Style 2' && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
2527
+ }), sectionproperties.gallerystyle == 'Style 2' && sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition != 'Top' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
2528
2528
  actions: props.actions
2529
2529
  }), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2530
2530
  className: "col-lg-12 p-0 mb-3"
@@ -2566,7 +2566,7 @@
2566
2566
  flexDirection: 'row',
2567
2567
  direction: 'ltr'
2568
2568
  }
2569
- }, /*#__PURE__*/React__default["default"].createElement("span", {
2569
+ }, sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
2570
2570
  className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
2571
2571
  onClick: function onClick() {
2572
2572
  var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
@@ -2582,9 +2582,9 @@
2582
2582
  }
2583
2583
  }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
2584
2584
  size: sectionproperties.remove_quantitybtn_textfontsize
2585
- }))), /*#__PURE__*/React__default["default"].createElement("span", {
2585
+ }))), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
2586
2586
  className: "".concat(productinfo_cssstyles.quantitybtn_text)
2587
- }, addtocardpayloadobj.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
2587
+ }, addtocardpayloadobj.quantity), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
2588
2588
  className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
2589
2589
  onClick: function onClick() {
2590
2590
  var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
@@ -2600,7 +2600,30 @@
2600
2600
  }
2601
2601
  }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
2602
2602
  size: sectionproperties.add_quantitybtn_textfontsize
2603
- })))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
2603
+ }))), sectionproperties.quantitybtneditable == 'Yes' && /*#__PURE__*/React__default["default"].createElement("input", {
2604
+ type: "number",
2605
+ style: {
2606
+ width: 100,
2607
+ height: 40,
2608
+ background: 'transparent',
2609
+ fontWeight: sectionproperties.quantitybtn_textfontweight,
2610
+ color: sectionproperties.quantitybtn_textcolor,
2611
+ fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
2612
+ textAlign: 'center'
2613
+ },
2614
+ value: addtocardpayloadobj.quantity,
2615
+ onChange: function onChange(event) {
2616
+ if (event.target.value == NaN || event.target.value == undefined || event.target.value == null || event.target.value == '') {
2617
+ var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
2618
+ tempaddtocardpayloadobj.quantity = 1;
2619
+ setaddtocardpayloadobj(_objectSpread$2q({}, tempaddtocardpayloadobj));
2620
+ } else {
2621
+ var tempaddtocardpayloadobj = _objectSpread$2q({}, addtocardpayloadobj);
2622
+ tempaddtocardpayloadobj.quantity = parseInt(event.target.value);
2623
+ setaddtocardpayloadobj(_objectSpread$2q({}, tempaddtocardpayloadobj));
2624
+ }
2625
+ }
2626
+ })), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
2604
2627
  className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
2605
2628
  onClick: function onClick() {
2606
2629
  if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
@@ -5702,7 +5725,7 @@
5702
5725
  }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.contactinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.email)))), sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
5703
5726
  "class": "row m-0 w-100"
5704
5727
  }, sectionproperties.showfooterphonenumber == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
5705
- "class": "col-lg-12 allcentered mb-2"
5728
+ "class": "col-lg-12 allcentered mb-2 p-sm-0"
5706
5729
  }, /*#__PURE__*/React__default["default"].createElement("button", {
5707
5730
  "class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
5708
5731
  onClick: function onClick() {
@@ -5711,7 +5734,7 @@
5711
5734
  }, /*#__PURE__*/React__default["default"].createElement("p", {
5712
5735
  "class": "m-0 p-0"
5713
5736
  }, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.contactinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
5714
- "class": "col-lg-12 allcentered mb-2"
5737
+ "class": "col-lg-12 allcentered mb-2 p-sm-0"
5715
5738
  }, /*#__PURE__*/React__default["default"].createElement("button", {
5716
5739
  "class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
5717
5740
  onClick: function onClick() {
@@ -5721,7 +5744,7 @@
5721
5744
  }, /*#__PURE__*/React__default["default"].createElement("p", {
5722
5745
  "class": "m-0 p-0"
5723
5746
  }, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
5724
- "class": "col-lg-12 allcentered mb-2"
5747
+ "class": "col-lg-12 allcentered mb-2 p-sm-0"
5725
5748
  }, /*#__PURE__*/React__default["default"].createElement("button", {
5726
5749
  "class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
5727
5750
  onClick: function onClick() {
@@ -24035,7 +24058,7 @@
24035
24058
  size: sectionproperties.cartBtn_iconFontSize
24036
24059
  }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
24037
24060
  size: sectionproperties.cartBtn_iconFontSize
24038
- })), sectionproperties.lang_position == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
24061
+ })), sectionproperties.lang_position == 'Top' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
24039
24062
  "class": langdetect == 'en' ? 'headerdropdownml ml-3' : 'headerdropdownmr mr-3'
24040
24063
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
24041
24064
  "class": ' d-flex align-items-center justify-content-center '
@@ -24252,7 +24275,7 @@
24252
24275
  }
24253
24276
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
24254
24277
  size: sectionproperties.youtubebtniconfontsize
24255
- })), sectionproperties.lang_position == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
24278
+ })), sectionproperties.lang_position == 'Bottom' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
24256
24279
  "class": langdetect == 'en' ? 'headerdropdownml ml-3' : 'headerdropdownmr mr-3'
24257
24280
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
24258
24281
  "class": ' d-flex align-items-center justify-content-center '
@@ -24308,7 +24331,10 @@
24308
24331
  "class": 'ml-2 mr-2'
24309
24332
  }, lang.english)))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
24310
24333
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-lg-none d-md-block d-sm-block"
24311
- }, /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
24334
+ }, sectionproperties.responsiveheaderstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
24335
+ sectionpropertiesprops: sectionproperties,
24336
+ actions: actions
24337
+ }), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
24312
24338
  sectionpropertiesprops: sectionproperties,
24313
24339
  actions: actions
24314
24340
  }))));
@@ -52565,8 +52591,10 @@
52565
52591
  }, [sectionproperties]);
52566
52592
  var section_styles = {
52567
52593
  sectioncintainer: glamor.css({
52568
- paddingTop: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0,
52569
- paddingBottom: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0,
52594
+ // paddingTop: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0,
52595
+ paddingTop: sectionproperties.paddingTop,
52596
+ // paddingBottom: sectionproperties.sectiontitleposition == 'Centered' ? 50 :0,
52597
+ paddingBottom: sectionproperties.paddingBottom,
52570
52598
  '@media (max-width: 800px)': {
52571
52599
  paddingTop: sectionproperties.paddingverticalresponsive + 'px',
52572
52600
  paddingBottom: sectionproperties.paddingverticalresponsive + 'px'
@@ -52594,8 +52622,8 @@
52594
52622
  }
52595
52623
  }),
52596
52624
  sectiontitlespan: glamor.css({
52597
- paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
52598
- paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px',
52625
+ paddingLeft: sectionproperties.sectiontitleborderradius == 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px' : 0,
52626
+ paddingRight: sectionproperties.sectiontitleborderradius == 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px' : 0,
52599
52627
  ':after': {
52600
52628
  position: 'absolute',
52601
52629
  bottom: 0,
@@ -52671,8 +52699,9 @@
52671
52699
  }
52672
52700
  }),
52673
52701
  imageimage: glamor.css({
52674
- width: '100%',
52675
- height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
52702
+ width: sectionproperties.image_width + '%',
52703
+ height: sectionproperties.image_height + '%',
52704
+ // height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
52676
52705
  margin: 0,
52677
52706
  padding: 0,
52678
52707
  objectFit: sectionproperties.bgcovercontain,
@@ -52739,18 +52768,34 @@
52739
52768
  alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
52740
52769
  }
52741
52770
  }, /*#__PURE__*/React__default["default"].createElement("div", {
52742
- "class": "d-flex align-items-center flex-row d-sm-none mt-sm-2",
52771
+ "class": 'd-flex align-items-center flex-row d-sm-none mt-sm-2 ',
52743
52772
  style: {
52744
52773
  position: 'relative',
52745
52774
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
52746
- fontSize: sectionproperties.sectionTitleFontSize + 'px'
52775
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
52776
+ backgroundColor: sectionproperties.sectiontitlebgcolor,
52777
+ borderRadius: sectionproperties.sectiontitleborderradius + 'px',
52778
+ paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
52779
+ paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
52780
+ paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
52781
+ paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
52782
+ marginLeft: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px' : 0,
52783
+ marginRight: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px' : 0
52747
52784
  }
52748
52785
  }, SectionTitle()), /*#__PURE__*/React__default["default"].createElement("div", {
52749
- "class": "d-none align-items-center flex-row d-sm-flex mt-sm-2",
52786
+ "class": 'd-none align-items-center flex-row d-sm-flex mt-sm-2',
52750
52787
  style: {
52751
52788
  position: 'relative',
52752
52789
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
52753
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
52790
+ fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
52791
+ backgroundColor: sectionproperties.sectiontitlebgcolor,
52792
+ borderRadius: sectionproperties.sectiontitleborderradius + 'px',
52793
+ paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
52794
+ paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
52795
+ paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
52796
+ paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
52797
+ marginLeft: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px' : 0,
52798
+ marginRight: sectionproperties.sectiontitleborderradius != 0 ? langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px' : 0
52754
52799
  }
52755
52800
  }, SectionTitle())), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
52756
52801
  "class": "col-lg-12 pl-0 pr-0 d-flex justify-content-md-center",
@@ -52776,7 +52821,8 @@
52776
52821
  }, SectionDescription())), /*#__PURE__*/React__default["default"].createElement("div", {
52777
52822
  "class": "col-lg-12 p-0 d-flex justify-content-md-center",
52778
52823
  style: {
52779
- justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start'
52824
+ justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
52825
+ marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px'
52780
52826
  }
52781
52827
  }, /*#__PURE__*/React__default["default"].createElement("p", {
52782
52828
  "class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
@@ -52785,7 +52831,7 @@
52785
52831
  __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
52786
52832
  }
52787
52833
  })), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
52788
- "class": "col-lg-12 p-0"
52834
+ "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start'
52789
52835
  }, /*#__PURE__*/React__default["default"].createElement("button", {
52790
52836
  "class": "".concat(section_styles.btn),
52791
52837
  onClick: function onClick() {
@@ -52846,7 +52892,7 @@
52846
52892
  var Image = function Image() {
52847
52893
  var _imagesarray$, _imagesarray$7, _imagesarray$8;
52848
52894
  return /*#__PURE__*/React__default["default"].createElement("div", {
52849
- "class": sectionproperties.image_height == 0 ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center h-auto p-0' : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-0',
52895
+ "class": sectionproperties.image_height == 0 ? sectionproperties.sectionstyle == 'Image on right' ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center h-auto p-0' : 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-0' : sectionproperties.sectionstyle == 'Image on right' ? 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center p-0' : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-0',
52850
52896
  style: {
52851
52897
  cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickableimg) == 'Yes' ? 'pointer' : 'default',
52852
52898
  background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor
@@ -52880,11 +52926,13 @@
52880
52926
  background: sectionproperties.backgroundColor
52881
52927
  }
52882
52928
  }, /*#__PURE__*/React__default["default"].createElement("div", {
52883
- "class": sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0 ? 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-100 mx-auto' : 'd-flex justify-content-between align-items-center w-md-100 mx-auto',
52929
+ "class": sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0 ? sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-100 mx-auto' : sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center w-md-100 mx-auto',
52884
52930
  style: {
52885
52931
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
52886
52932
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
52887
- width: sectionproperties.width + 'vw'
52933
+ width: sectionproperties.width + 'vw',
52934
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
52935
+ borderRadius: sectionproperties.sectioncardborderradius + 'px'
52888
52936
  }
52889
52937
  }, /*#__PURE__*/React__default["default"].createElement("div", {
52890
52938
  "class":
@@ -52904,11 +52952,7 @@
52904
52952
  // paddingTop: sectionproperties.paddingTop + 'px',
52905
52953
  // paddingBottom: sectionproperties.paddingBottom + 'px',
52906
52954
  marginTop: sectionproperties.marginTop + 'px',
52907
- marginBottom: sectionproperties.marginBottom + 'px',
52908
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
52909
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
52910
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
52911
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px'
52955
+ marginBottom: sectionproperties.marginBottom + 'px'
52912
52956
  }
52913
52957
  }, sectionproperties.sectionstyle == 'Image on right' && /*#__PURE__*/React__default["default"].createElement("div", {
52914
52958
  "class": "col-lg-12 p-0 d-flex justify-content-between d-md-none"
@@ -53472,6 +53516,10 @@
53472
53516
  ':hover': {
53473
53517
  transition: '.3s',
53474
53518
  backgroundColor: sectionproperties.activedotcolor
53519
+ },
53520
+ '@media (max-width: 800px)': {
53521
+ width: sectionproperties.innerwidthheightresp + 'px',
53522
+ height: sectionproperties.innerwidthheightresp + 'px'
53475
53523
  }
53476
53524
  }),
53477
53525
  cardContainer: glamor.css({
@@ -53610,7 +53658,7 @@
53610
53658
  window.open(cardinfoitem.btnlink, '_blank');
53611
53659
  }
53612
53660
  }
53613
- }, /*#__PURE__*/React__default["default"].createElement("div", {
53661
+ }, sectionproperties.imageposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
53614
53662
  "class": "col-lg-12 d-flex align-items-center p-0",
53615
53663
  style: {
53616
53664
  marginBottom: sectionproperties.image_mb + 'px',
@@ -53652,7 +53700,25 @@
53652
53700
  fontWeight: sectionproperties.slideshowText2ContentFontWeight,
53653
53701
  textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
53654
53702
  }
53655
- }, langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar))));
53703
+ }, langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar)), sectionproperties.imageposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
53704
+ "class": "col-lg-12 d-flex align-items-center p-0",
53705
+ style: {
53706
+ marginTop: sectionproperties.image_mb + 'px',
53707
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
53708
+ }
53709
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
53710
+ "class": sectionStyles.imageContainer + ' d-flex align-items-center imageContainer ',
53711
+ style: {}
53712
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
53713
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
53714
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
53715
+ path: cardsarray.length != 0 ? cardinfoitem.cardobj_img : '',
53716
+ style: {
53717
+ maxHeight: sectionproperties.iconcontainerwidth + '%',
53718
+ maxWidth: sectionproperties.iconcontainerwidth + '%',
53719
+ objectFit: 'contain'
53720
+ }
53721
+ })))));
53656
53722
  }))));
53657
53723
  };
53658
53724
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.388",
3
+ "version": "0.0.390",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {