tabexseriescomponents 0.2.784 → 0.2.785

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
@@ -1067,71 +1067,6 @@
1067
1067
 
1068
1068
  function ownKeys$2C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1069
1069
  function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1070
- var selectcustomStyles = {
1071
- option: function option(provided, state) {
1072
- return _objectSpread$2C(_objectSpread$2C({}, provided), {}, {
1073
- borderBottom: '1px solid #e6e6e6',
1074
- backgroundColor: state.isSelected ? '' : '',
1075
- padding: 5,
1076
- textTransform: 'capitalize',
1077
- color: state.isSelected ? '#eac435' : '#022648',
1078
- transition: '.3s',
1079
- '&:hover': {
1080
- color: '#eac435',
1081
- cursor: 'pointer'
1082
- }
1083
- });
1084
- },
1085
- control: function control() {
1086
- return {
1087
- border: '1px solid #e6e6e6',
1088
- // boxShadow: '0 0 10px #e6e6e6',
1089
- borderRadius: '5px',
1090
- display: 'flex',
1091
- cursor: 'pointer',
1092
- transition: '.3s',
1093
- '&:hover': {
1094
- // boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
1095
- }
1096
- };
1097
- }
1098
- };
1099
- var selectcustomStylesTranslated = {
1100
- option: function option(provided, state) {
1101
- return _objectSpread$2C(_objectSpread$2C({}, provided), {}, {
1102
- borderBottom: '1px solid #e6e6e6',
1103
- backgroundColor: state.isSelected ? '' : '',
1104
- padding: 5,
1105
- textTransform: 'capitalize',
1106
- color: state.isSelected ? '#eac435' : '#ffffff',
1107
- transition: '.3s',
1108
- textAlign: 'right',
1109
- '&:hover': {
1110
- color: '#eac435',
1111
- cursor: 'pointer'
1112
- }
1113
- });
1114
- },
1115
- control: function control() {
1116
- return {
1117
- border: '2px solid #e6e6e6',
1118
- // boxShadow: '0 0 10px #e6e6e6',
1119
- borderRadius: '10px',
1120
- display: 'flex',
1121
- cursor: 'pointer',
1122
- transition: '.3s',
1123
- textAlign: 'right',
1124
- '&:hover': {
1125
- // boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
1126
- }
1127
- };
1128
- },
1129
- placeholder: function placeholder(provided, state) {
1130
- return _objectSpread$2C(_objectSpread$2C({}, provided), {}, {
1131
- textAlign: 'right'
1132
- });
1133
- }
1134
- };
1135
1070
  var defaultstyles = {
1136
1071
  option: function option(provided, state) {
1137
1072
  return _objectSpread$2C(_objectSpread$2C({}, provided), {}, {
@@ -13504,7 +13439,7 @@
13504
13439
  className: formstyles.input_label_name + ' d-flex justify-content-start '
13505
13440
  }, lang.phonenumber), /*#__PURE__*/React__default["default"].createElement(PhoneInput__default["default"], {
13506
13441
  className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
13507
- country: 'eg',
13442
+ country: sectionproperties.countrycode == 'SA' ? 'sa' : 'eg',
13508
13443
  enableSearch: true,
13509
13444
  autoFormat: true,
13510
13445
  value: payloadobj.mobile,
@@ -13519,6 +13454,7 @@
13519
13454
  // payloadobjchange('mobile', event);
13520
13455
 
13521
13456
  // alert(JSON.stringify(country));
13457
+ // alert(JSON.stringify(country));
13522
13458
  },
13523
13459
  style: {
13524
13460
  direction: 'ltr',
@@ -32997,15 +32933,15 @@
32997
32933
  }, /*#__PURE__*/React__default["default"].createElement(FloatingIcons, {
32998
32934
  sectionpropertiesprops: sectionproperties,
32999
32935
  actions: actions
33000
- }), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
33001
- sectionpropertiesprops: sectionproperties,
33002
- templateproperties_contextprops: templateproperties_context,
33003
- actions: actions
33004
32936
  }), /*#__PURE__*/React__default["default"].createElement("div", {
33005
32937
  "class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
33006
32938
  }, /*#__PURE__*/React__default["default"].createElement("div", {
33007
32939
  "class": "row m-0 w-100 "
33008
- }, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
32940
+ }, templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
32941
+ sectionpropertiesprops: sectionproperties,
32942
+ templateproperties_contextprops: templateproperties_context,
32943
+ actions: actions
32944
+ }), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
33009
32945
  "class": "col-lg-12 p-0 d-flex d-md-none"
33010
32946
  }, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
33011
32947
  sectionpropertiesprops: sectionproperties,
@@ -52661,7 +52597,7 @@
52661
52597
  function ownKeys$1v(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
52662
52598
  function _objectSpread$1v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1v(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
52663
52599
  var Newsletterfooter = function Newsletterfooter(props) {
52664
- var _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23, _authdetailsContext$i26, _authdetailsContext$i28, _authdetailsContext$i30, _authdetailsContext$i32, _authdetailsContext$i34, _authdetailsContext$i37, _authdetailsContext$i42, _authdetailsContext$i43, _fetchcustomercartQue, _fetchcustomercartQue2;
52600
+ var _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23, _authdetailsContext$i26, _authdetailsContext$i28, _authdetailsContext$i30, _authdetailsContext$i32, _authdetailsContext$i34, _authdetailsContext$i39, _authdetailsContext$i40, _fetchcustomercartQue, _fetchcustomercartQue2;
52665
52601
  var _useState = React.useState(''),
52666
52602
  _useState2 = _slicedToArray__default["default"](_useState, 2),
52667
52603
  sectionproperties = _useState2[0],
@@ -53331,17 +53267,6 @@
53331
53267
  }
53332
53268
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
53333
53269
  size: sectionproperties.youtubebtniconfontsize
53334
- })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.googlemapslink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
53335
- "class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 mb-2 ',
53336
- onClick: function onClick() {
53337
- var _authdetailsContext$i38;
53338
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.googlemapslink) != null) {
53339
- var _authdetailsContext$i39;
53340
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.googlemapslink, '_blank');
53341
- }
53342
- }
53343
- }, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
53344
- size: sectionproperties.youtubebtniconfontsize
53345
53270
  }))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
53346
53271
  "class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
53347
53272
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -53357,15 +53282,15 @@
53357
53282
  "class": langdetect == 'en' ? "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mr-2 ' : "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ml-2 ',
53358
53283
  src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
53359
53284
  onClick: function onClick() {
53360
- var _authdetailsContext$i40;
53361
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.mobileapplink_appstore, '_blank');
53285
+ var _authdetailsContext$i37;
53286
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.mobileapplink_appstore, '_blank');
53362
53287
  }
53363
53288
  }), sectionproperties.showplaystore == 'Show' && /*#__PURE__*/React__default["default"].createElement("img", {
53364
53289
  "class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
53365
53290
  src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
53366
53291
  onClick: function onClick() {
53367
- var _authdetailsContext$i41;
53368
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.mobileapplink_playstore, '_blank');
53292
+ var _authdetailsContext$i38;
53293
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.mobileapplink_playstore, '_blank');
53369
53294
  }
53370
53295
  }))), sectionproperties.showfooteraddress == 'Show' && sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
53371
53296
  "class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
@@ -53382,7 +53307,7 @@
53382
53307
  "class": ' h-100 d-flex align-items-center justify-content-center mr-2 ml-2 '
53383
53308
  }, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
53384
53309
  size: 30
53385
- })), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.address_ar)))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
53310
+ })), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.address_ar)))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
53386
53311
  "class": "col-lg-12 p-0 d-block my-3"
53387
53312
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
53388
53313
  "class": "m-0 p-0"
@@ -60162,7 +60087,7 @@
60162
60087
  styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
60163
60088
  placeholder: '',
60164
60089
  isSearchable: true
60165
- })), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
60090
+ })), sectionproperties.hidecountrystatecity == 'Show' && props.srcfrom != 'filter' && /*#__PURE__*/React__default["default"].createElement("div", {
60166
60091
  className: props.srcfrom == 'filter' ? ' col-lg-4 col-md-12 col-sm-12 mb-sm-3 ' : sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
60167
60092
  }, /*#__PURE__*/React__default["default"].createElement("label", {
60168
60093
  className: formstyles.input_label_name + ' d-flex justify-content-start '
@@ -60221,7 +60146,7 @@
60221
60146
  styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
60222
60147
  placeholder: '',
60223
60148
  isSearchable: true
60224
- })), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
60149
+ })), sectionproperties.hidecountrystatecity == 'Show' && props.srcfrom != 'filter' && /*#__PURE__*/React__default["default"].createElement("div", {
60225
60150
  className: props.srcfrom == 'filter' ? ' col-lg-4 col-md-12 col-sm-12 mb-sm-3 ' : sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
60226
60151
  }, /*#__PURE__*/React__default["default"].createElement("label", {
60227
60152
  className: formstyles.input_label_name + ' d-flex justify-content-start '
@@ -60307,7 +60232,7 @@
60307
60232
  function ownKeys$1f(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
60308
60233
  function _objectSpread$1f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1f(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
60309
60234
  var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props) {
60310
- var _css, _fetchProductFeatures;
60235
+ var _css;
60311
60236
  var _useState = React.useState(''),
60312
60237
  _useState2 = _slicedToArray__default["default"](_useState, 2),
60313
60238
  sectionproperties = _useState2[0],
@@ -60334,7 +60259,7 @@
60334
60259
  var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
60335
60260
  var fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
60336
60261
  var fetchproductsfilerobjcontext = props.actions.fetchproductsfilerobjcontext;
60337
- var fetchProductFeaturesQueryContext = props.actions.fetchProductFeaturesQueryContext;
60262
+ props.actions.fetchProductFeaturesQueryContext;
60338
60263
  var routingcountext = props.actions.routingcountext;
60339
60264
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
60340
60265
  // const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
@@ -60355,21 +60280,21 @@
60355
60280
  _useState12[0];
60356
60281
  _useState12[1];
60357
60282
  var _useState13 = React.useState([]),
60358
- _useState14 = _slicedToArray__default["default"](_useState13, 2),
60359
- productfeatuesarr = _useState14[0],
60360
- setproductfeatuesarr = _useState14[1];
60283
+ _useState14 = _slicedToArray__default["default"](_useState13, 2);
60284
+ _useState14[0];
60285
+ _useState14[1];
60361
60286
  var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
60362
60287
  var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
60363
60288
  var authdetailsContext = props.actions.authdetailsContext;
60364
60289
  props.actions.fetchcollectionsQueryContext;
60365
60290
  var _useState15 = React.useState(''),
60366
- _useState16 = _slicedToArray__default["default"](_useState15, 2),
60367
- from_date_filter_input = _useState16[0],
60368
- setfrom_date_filter_input = _useState16[1];
60291
+ _useState16 = _slicedToArray__default["default"](_useState15, 2);
60292
+ _useState16[0];
60293
+ _useState16[1];
60369
60294
  var _useState17 = React.useState(''),
60370
- _useState18 = _slicedToArray__default["default"](_useState17, 2),
60371
- to_date_filter_input = _useState18[0],
60372
- setto_date_filter_input = _useState18[1];
60295
+ _useState18 = _slicedToArray__default["default"](_useState17, 2);
60296
+ _useState18[0];
60297
+ _useState18[1];
60373
60298
  React.useEffect(function () {
60374
60299
  var tempFetchQueriesEngineContext = _objectSpread$1f({}, FetchQueriesEngineContext);
60375
60300
  tempFetchQueriesEngineContext.fetchtabexcountries = true;
@@ -60735,299 +60660,7 @@
60735
60660
  routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
60736
60661
  }
60737
60662
  }
60738
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), sectionproperties.sectionstyletype == 'Style 3' && /*#__PURE__*/React__default["default"].createElement("div", {
60739
- "class": "row m-0 w-100 allcentered mt-auto mb-4 px-4",
60740
- style: {
60741
- zIndex: 2
60742
- }
60743
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60744
- "class": imagesarray.length != 0 ? 'row m-0 w-100 d-flex align-items-center justify-content-start' : 'row m-0 w-100 d-flex align-items-center justify-content-center'
60745
- }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
60746
- "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
60747
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60748
- "class": "wordbreak",
60749
- style: {
60750
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
60751
- color: sectionproperties.sectionTitleColor,
60752
- textTransform: sectionproperties.sectionTitleTextTransform,
60753
- fontWeight: sectionproperties.sectionTitleFontWeight,
60754
- textAlign: langdetect == 'en' ? 'left' : 'right',
60755
- marginBottom: sectionproperties.prodCatShow == 'Show' ? 0 : 20
60756
- }
60757
- }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
60758
- "class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
60759
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60760
- style: {
60761
- fontSize: sectionproperties.prodCatFontSize + 'px',
60762
- color: sectionproperties.prodCatColor,
60763
- textTransform: sectionproperties.prodCatTextTranform,
60764
- fontWeight: sectionproperties.prodCatFontWeight,
60765
- maxWidth: '500px'
60766
- }
60767
- }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
60768
- "class": 'col-lg-11 col-md-12 col-sm-12 allcentered mt-3',
60769
- style: {
60770
- backgroundColor: sectionproperties.reservation_bgcolor,
60771
- borderRadius: sectionproperties.reservation_borderradius + 'px',
60772
- paddingTop: sectionproperties.reservation_padding_top + 'px',
60773
- paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
60774
- paddingLeft: sectionproperties.reservation_padding_left + 'px',
60775
- paddingRight: sectionproperties.reservation_padding_right + 'px'
60776
- }
60777
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60778
- "class": "row m-0 w-100 allcentered"
60779
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60780
- "class": "col-lg-12 p-0"
60781
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60782
- "class": "row m-0 w-100 d-flex align-items-center justify-content-start"
60783
- }, (fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 ? void 0 : fetchProductFeaturesQueryContext.isSuccess) && (fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 || (_fetchProductFeatures = fetchProductFeaturesQueryContext.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.productfeatues) === null || _fetchProductFeatures === void 0 ? void 0 : _fetchProductFeatures.map(function (item, index) {
60784
- if (item.type == 'Selectbox') {
60785
- var _item$featuresselectb;
60786
- var selectboxarr = [];
60787
- item === null || item === void 0 || (_item$featuresselectb = item.featuresselectbovalue) === null || _item$featuresselectb === void 0 || _item$featuresselectb.forEach(function (slecitem) {
60788
- var itemlabel = '';
60789
- if (langdetect == 'en') {
60790
- itemlabel = slecitem.value_en;
60791
- } else {
60792
- itemlabel = slecitem.value_ar;
60793
- }
60794
- selectboxarr.push({
60795
- label: itemlabel,
60796
- value: slecitem.value_en
60797
- });
60798
- });
60799
- return /*#__PURE__*/React__default["default"].createElement("div", {
60800
- "class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
60801
- }, /*#__PURE__*/React__default["default"].createElement("label", {
60802
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
60803
- style: {
60804
- textAlign: langdetect == 'en' ? 'left' : 'right'
60805
- }
60806
- }, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
60807
- "class": 'col-lg-12 p-0'
60808
- }, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
60809
- options: selectboxarr,
60810
- styles: langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated,
60811
- placeholder: '',
60812
- onChange: function onChange(e) {
60813
- var isattrexists = false;
60814
- var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
60815
- tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
60816
- if (attritem.id == item.id) {
60817
- tempproductfeatuesarr[attrindex].value = e.value;
60818
- isattrexists = true;
60819
- }
60820
- });
60821
- if (isattrexists == false) {
60822
- tempproductfeatuesarr.push({
60823
- id: item.id,
60824
- value: e.value
60825
- });
60826
- }
60827
- setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
60828
- }
60829
- })));
60830
- }
60831
- if (item.type == 'Number') {
60832
- return /*#__PURE__*/React__default["default"].createElement("div", {
60833
- "class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
60834
- }, /*#__PURE__*/React__default["default"].createElement("label", {
60835
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
60836
- style: {
60837
- textAlign: langdetect == 'en' ? 'left' : 'right'
60838
- }
60839
- }, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
60840
- "class": 'col-lg-12 p-0 mt-1'
60841
- }, /*#__PURE__*/React__default["default"].createElement("input", {
60842
- type: "number",
60843
- className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control),
60844
- placeholder: '',
60845
- onChange: function onChange(e) {
60846
- var isattrexists = false;
60847
- var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
60848
- tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
60849
- if (attritem.id == item.id) {
60850
- tempproductfeatuesarr[attrindex].value = e.target.value;
60851
- isattrexists = true;
60852
- }
60853
- });
60854
- if (isattrexists == false) {
60855
- tempproductfeatuesarr.push({
60856
- id: item.id,
60857
- value: e.target.value
60858
- });
60859
- }
60860
- setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
60861
- }
60862
- })));
60863
- }
60864
- if (item.type == 'NumberRange') {
60865
- var temppricevalue = {
60866
- min: 0,
60867
- max: 10000
60868
- };
60869
- var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
60870
- tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
60871
- if (attritem.id == item.id) {
60872
- var _attritem$value, _attritem$valuemax;
60873
- if (attritem.value != undefined && attritem.value != null && (attritem === null || attritem === void 0 || (_attritem$value = attritem.value) === null || _attritem$value === void 0 ? void 0 : _attritem$value.length) != 0) {
60874
- temppricevalue.min = attritem.value;
60875
- }
60876
- if (attritem.valuemax != undefined && attritem.valuemax != null && (attritem === null || attritem === void 0 || (_attritem$valuemax = attritem.valuemax) === null || _attritem$valuemax === void 0 ? void 0 : _attritem$valuemax.length) != 0) {
60877
- temppricevalue.max = attritem.valuemax;
60878
- }
60879
- }
60880
- });
60881
- return /*#__PURE__*/React__default["default"].createElement("div", {
60882
- className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-3 '
60883
- }, /*#__PURE__*/React__default["default"].createElement("label", {
60884
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
60885
- style: {
60886
- textAlign: langdetect == 'en' ? 'left' : 'right'
60887
- }
60888
- }, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
60889
- "class": 'col-lg-12 pl-4 pr-4 mt-2 mb-2',
60890
- style: {
60891
- direction: 'ltr'
60892
- }
60893
- }, /*#__PURE__*/React__default["default"].createElement(InputRange__default["default"], {
60894
- draggableTrack: true,
60895
- formatLabel: function formatLabel(value) {
60896
- return "".concat(value);
60897
- },
60898
- maxValue: parseInt(sectionproperties.filterpricemaxvalue),
60899
- minValue: parseInt(sectionproperties.filterpriceminvalue),
60900
- value: temppricevalue,
60901
- onChange: function onChange(e) {
60902
- // setpricevalue({ ...value });
60903
- var isattrexists = false;
60904
- var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
60905
- tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
60906
- if (attritem.id == item.id) {
60907
- tempproductfeatuesarr[attrindex].value = e.min;
60908
- tempproductfeatuesarr[attrindex].valuemax = e.max;
60909
- isattrexists = true;
60910
- }
60911
- });
60912
- if (isattrexists == false) {
60913
- tempproductfeatuesarr.push({
60914
- id: item.id,
60915
- value: e.min,
60916
- valuemax: e.max
60917
- });
60918
- }
60919
- setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
60920
- }
60921
- })));
60922
- }
60923
- })), /*#__PURE__*/React__default["default"].createElement("div", {
60924
- "class": "col-lg-3 col-md-12"
60925
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60926
- "class": "row m-0 w-100"
60927
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60928
- "class": "col-lg-12 p-0 text-start"
60929
- }, /*#__PURE__*/React__default["default"].createElement("label", {
60930
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
60931
- style: {
60932
- color: sectionproperties.form_labelcolor,
60933
- textTransform: sectionproperties.form_labeltexttransform,
60934
- fontWeight: sectionproperties.form_labelfontweight,
60935
- fontSize: sectionproperties.form_labelfontsize + 'px',
60936
- marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
60937
- }
60938
- }, langdetect == 'en' ? 'From' : 'من')), /*#__PURE__*/React__default["default"].createElement("div", {
60939
- "class": "col-lg-12 p-0 text-start"
60940
- }, /*#__PURE__*/React__default["default"].createElement("input", {
60941
- type: 'date',
60942
- onChange: function onChange(e) {
60943
- setfrom_date_filter_input(e.target.value);
60944
- },
60945
- value: from_date_filter_input,
60946
- className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
60947
- })))), /*#__PURE__*/React__default["default"].createElement("div", {
60948
- "class": "col-lg-3 col-md-12"
60949
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60950
- "class": "col-lg-12 p-0 text-start"
60951
- }, /*#__PURE__*/React__default["default"].createElement("label", {
60952
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
60953
- style: {
60954
- color: sectionproperties.form_labelcolor,
60955
- textTransform: sectionproperties.form_labeltexttransform,
60956
- fontWeight: sectionproperties.form_labelfontweight,
60957
- fontSize: sectionproperties.form_labelfontsize + 'px',
60958
- marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
60959
- }
60960
- }, langdetect == 'en' ? 'To' : 'الى')), /*#__PURE__*/React__default["default"].createElement("div", {
60961
- "class": "col-lg-12 p-0 text-start"
60962
- }, /*#__PURE__*/React__default["default"].createElement("input", {
60963
- type: 'date',
60964
- onChange: function onChange(e) {
60965
- setto_date_filter_input(e.target.value);
60966
- },
60967
- value: to_date_filter_input,
60968
- className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
60969
- })), "\xA0"), /*#__PURE__*/React__default["default"].createElement("div", {
60970
- "class": "col-lg-2 col-md-12 text-end",
60971
- style: {
60972
- marginLeft: langdetect == 'en' ? 'auto' : '',
60973
- marginRight: langdetect == 'ar' ? 'auto' : ''
60974
- }
60975
- }, /*#__PURE__*/React__default["default"].createElement("button", {
60976
- "class": sectionstyles.btnstyles + ' allcentered ',
60977
- onClick: function onClick() {
60978
- var _payloadobj$countryid2, _payloadobj$stateid2, _payloadobj$cityid2, _pricevalue$min2, _pricevalue$max2;
60979
- var tempfetchproductsfilerobjcontext = _objectSpread$1f({}, fetchproductsfilerobjcontext);
60980
- if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.countryid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$countryid2 = payloadobj.countryid) === null || _payloadobj$countryid2 === void 0 ? void 0 : _payloadobj$countryid2.length) != 0) {
60981
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
60982
- tempfetchproductsfilerobjcontext.country_ids = [payloadobj.countryid];
60983
- } else {
60984
- tempfetchproductsfilerobjcontext.countryid = payloadobj.countryid;
60985
- }
60986
- }
60987
- if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.stateid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$stateid2 = payloadobj.stateid) === null || _payloadobj$stateid2 === void 0 ? void 0 : _payloadobj$stateid2.length) != 0) {
60988
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
60989
- tempfetchproductsfilerobjcontext.state_ids = [payloadobj.stateid];
60990
- } else {
60991
- tempfetchproductsfilerobjcontext.stateid = payloadobj.stateid;
60992
- }
60993
- }
60994
- if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.cityid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$cityid2 = payloadobj.cityid) === null || _payloadobj$cityid2 === void 0 ? void 0 : _payloadobj$cityid2.length) != 0) {
60995
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
60996
- tempfetchproductsfilerobjcontext.city_ids = [payloadobj.cityid];
60997
- } else {
60998
- tempfetchproductsfilerobjcontext.cityid = payloadobj.cityid;
60999
- }
61000
- }
61001
- if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.collections) != null && payloadobj.collections.length != 0) {
61002
- tempfetchproductsfilerobjcontext.collections = payloadobj.collections;
61003
- }
61004
- if ((pricevalue === null || pricevalue === void 0 ? void 0 : pricevalue.min) != null && (pricevalue === null || pricevalue === void 0 || (_pricevalue$min2 = pricevalue.min) === null || _pricevalue$min2 === void 0 ? void 0 : _pricevalue$min2.length) != 0) {
61005
- tempfetchproductsfilerobjcontext.price_min = pricevalue.min;
61006
- }
61007
- if ((pricevalue === null || pricevalue === void 0 ? void 0 : pricevalue.max) != null && (pricevalue === null || pricevalue === void 0 || (_pricevalue$max2 = pricevalue.max) === null || _pricevalue$max2 === void 0 ? void 0 : _pricevalue$max2.length) != 0) {
61008
- if (sectionproperties.showpricerange == 'Hide') {
61009
- tempfetchproductsfilerobjcontext.price_max = 99999999999999;
61010
- } else {
61011
- tempfetchproductsfilerobjcontext.price_max = pricevalue.max;
61012
- }
61013
- }
61014
- if (productfeatuesarr != undefined && productfeatuesarr != null && Array.isArray(productfeatuesarr) && (productfeatuesarr === null || productfeatuesarr === void 0 ? void 0 : productfeatuesarr.length) != 0) {
61015
- tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
61016
- }
61017
- if (from_date_filter_input != undefined && from_date_filter_input != null && (from_date_filter_input === null || from_date_filter_input === void 0 ? void 0 : from_date_filter_input.length) != 0) {
61018
- tempfetchproductsfilerobjcontext.from_date_filter = from_date_filter_input;
61019
- }
61020
- if (to_date_filter_input != undefined && to_date_filter_input != null && (to_date_filter_input === null || to_date_filter_input === void 0 ? void 0 : to_date_filter_input.length) != 0) {
61021
- tempfetchproductsfilerobjcontext.to_date_filter = to_date_filter_input;
61022
- }
61023
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
61024
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
61025
- }
61026
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Vendors') {
61027
- routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
61028
- }
61029
- }
61030
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))))));
60663
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
61031
60664
  };
61032
60665
 
61033
60666
  function ownKeys$1e(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -65980,7 +65613,9 @@
65980
65613
  style: {
65981
65614
  position: 'relative',
65982
65615
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
65983
- fontSize: sectionproperties.prodCatFontSize + 'px'
65616
+ fontSize: sectionproperties.prodCatFontSize + 'px',
65617
+ marginLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
65618
+ marginRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px'
65984
65619
  // paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
65985
65620
  // paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
65986
65621
  }
@@ -67973,7 +67608,6 @@
67973
67608
  function ownKeys$V(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
67974
67609
  function _objectSpread$V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$V(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
67975
67610
  var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
67976
- var _maincontainerarrayof, _maincontainerarrayof2;
67977
67611
  var _useState = React.useState(''),
67978
67612
  _useState2 = _slicedToArray__default["default"](_useState, 2),
67979
67613
  sectionproperties = _useState2[0],
@@ -68009,18 +67643,15 @@
68009
67643
  }
68010
67644
  }
68011
67645
  }, [sectionproperties]);
68012
- var _useState5 = React.useState([]),
68013
- _useState6 = _slicedToArray__default["default"](_useState5, 2),
68014
- maincontainerarrayofobjs = _useState6[0],
68015
- setmaincontainerarrayofobjs = _useState6[1];
68016
- React.useEffect(function () {
68017
- if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
68018
- var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
68019
- if (Array.isArray(maincontainerarrayofobjsparsed)) {
68020
- setmaincontainerarrayofobjs(_toConsumableArray__default["default"](maincontainerarrayofobjsparsed));
68021
- }
68022
- }
68023
- }, [sectionproperties]);
67646
+ // const [maincontainerarrayofobjs, setmaincontainerarrayofobjs] = useState([]);
67647
+ // useEffect(() => {
67648
+ // if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
67649
+ // var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
67650
+ // if (Array.isArray(maincontainerarrayofobjsparsed)) {
67651
+ // setmaincontainerarrayofobjs([...maincontainerarrayofobjsparsed]);
67652
+ // }
67653
+ // }
67654
+ // }, [sectionproperties]);
68024
67655
  var sectionStyles = {
68025
67656
  containerrrr: glamor.css({
68026
67657
  marginTop: sectionproperties.marginTop + 'px',
@@ -68186,25 +67817,7 @@
68186
67817
  "class": sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center ',
68187
67818
  style: {},
68188
67819
  "data-aos": 'fade-up'
68189
- }, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
68190
- "class": sectionStyles.imgcontainer
68191
- }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
68192
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
68193
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
68194
- path: (_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage,
68195
- style: {
68196
- height: '100%',
68197
- width: '100%',
68198
- objectFit: 'cover',
68199
- margin: 0,
68200
- padding: 0,
68201
- position: 'absolute',
68202
- top: 0,
68203
- bottom: 0,
68204
- right: 0,
68205
- left: 0
68206
- }
68207
- })), /*#__PURE__*/React__default["default"].createElement("div", {
67820
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
68208
67821
  "class": sectionStyles.containerrrr + ' row ml-0 mr-0 w-100 d-flex justify-content-center pl-md-3 pr-md-3 px-2015-3 ',
68209
67822
  style: {}
68210
67823
  }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -68430,25 +68043,7 @@
68430
68043
  }))), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
68431
68044
  "class": sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center ',
68432
68045
  style: {}
68433
- }, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
68434
- "class": sectionStyles.imgcontainer
68435
- }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
68436
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
68437
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
68438
- path: (_maincontainerarrayof2 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof2 === void 0 ? void 0 : _maincontainerarrayof2.back_bgimage,
68439
- style: {
68440
- height: '100%',
68441
- width: '100%',
68442
- objectFit: 'cover',
68443
- margin: 0,
68444
- padding: 0,
68445
- position: 'absolute',
68446
- top: 0,
68447
- bottom: 0,
68448
- right: 0,
68449
- left: 0
68450
- }
68451
- })), /*#__PURE__*/React__default["default"].createElement("div", {
68046
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
68452
68047
  "class": sectionStyles.containerrrr + ' row ml-0 mr-0 w-100 d-flex justify-content-center pl-md-3 pr-md-3 px-2015-3 ',
68453
68048
  style: {}
68454
68049
  }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -85746,7 +85341,19 @@
85746
85341
  style: {
85747
85342
  fontWeight: sectionproperties.profitcontainersecondaryfontweight
85748
85343
  }
85749
- }, langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.hassale == 1 ? item.defaultsaleprice : item.defaultprice) * (item.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : item.currencyname)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
85344
+ }, langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.hassale == 1 ? item.defaultsaleprice : item.defaultprice) * (item.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : item.currencyname)))), sectionproperties.quantityshow == 'Show' && item.currentquantity > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
85345
+ "class": "col-lg-12 p-0 d-flex align-items-center",
85346
+ style: {
85347
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
85348
+ }
85349
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
85350
+ "class": "m-0 p-0",
85351
+ style: {
85352
+ fontSize: sectionproperties.quantityfontsize,
85353
+ color: sectionproperties.quantitycolor,
85354
+ fontWeight: sectionproperties.quantityfontweight
85355
+ }
85356
+ }, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
85750
85357
  "class": "col-lg-12 p-0 d-flex align-items-center",
85751
85358
  style: {
85752
85359
  justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
@@ -85785,19 +85392,7 @@
85785
85392
  }
85786
85393
  }
85787
85394
  // disabled={AddtoCartMutationContext.isLoading == true ? true : false}
85788
- }, addtocartbuttonrender())), sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
85789
- "class": "col-lg-12 p-0 d-flex align-items-center",
85790
- style: {
85791
- justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
85792
- }
85793
- }, /*#__PURE__*/React__default["default"].createElement("p", {
85794
- "class": "m-0 p-0",
85795
- style: {
85796
- fontSize: sectionproperties.quantityfontsize,
85797
- color: sectionproperties.quantitycolor,
85798
- fontWeight: sectionproperties.quantityfontweight
85799
- }
85800
- }, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
85395
+ }, addtocartbuttonrender())))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
85801
85396
  "class": "col-lg-12 d-flex align-items-center p-0",
85802
85397
  style: {
85803
85398
  justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'