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.cjs.js CHANGED
@@ -1254,71 +1254,6 @@ styleInject(css_248z$J);
1254
1254
 
1255
1255
  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; }
1256
1256
  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; }
1257
- var selectcustomStyles = {
1258
- option: function option(provided, state) {
1259
- return _objectSpread$2C(_objectSpread$2C({}, provided), {}, {
1260
- borderBottom: '1px solid #e6e6e6',
1261
- backgroundColor: state.isSelected ? '' : '',
1262
- padding: 5,
1263
- textTransform: 'capitalize',
1264
- color: state.isSelected ? '#eac435' : '#022648',
1265
- transition: '.3s',
1266
- '&:hover': {
1267
- color: '#eac435',
1268
- cursor: 'pointer'
1269
- }
1270
- });
1271
- },
1272
- control: function control() {
1273
- return {
1274
- border: '1px solid #e6e6e6',
1275
- // boxShadow: '0 0 10px #e6e6e6',
1276
- borderRadius: '5px',
1277
- display: 'flex',
1278
- cursor: 'pointer',
1279
- transition: '.3s',
1280
- '&:hover': {
1281
- // boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
1282
- }
1283
- };
1284
- }
1285
- };
1286
- var selectcustomStylesTranslated = {
1287
- option: function option(provided, state) {
1288
- return _objectSpread$2C(_objectSpread$2C({}, provided), {}, {
1289
- borderBottom: '1px solid #e6e6e6',
1290
- backgroundColor: state.isSelected ? '' : '',
1291
- padding: 5,
1292
- textTransform: 'capitalize',
1293
- color: state.isSelected ? '#eac435' : '#ffffff',
1294
- transition: '.3s',
1295
- textAlign: 'right',
1296
- '&:hover': {
1297
- color: '#eac435',
1298
- cursor: 'pointer'
1299
- }
1300
- });
1301
- },
1302
- control: function control() {
1303
- return {
1304
- border: '2px solid #e6e6e6',
1305
- // boxShadow: '0 0 10px #e6e6e6',
1306
- borderRadius: '10px',
1307
- display: 'flex',
1308
- cursor: 'pointer',
1309
- transition: '.3s',
1310
- textAlign: 'right',
1311
- '&:hover': {
1312
- // boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
1313
- }
1314
- };
1315
- },
1316
- placeholder: function placeholder(provided, state) {
1317
- return _objectSpread$2C(_objectSpread$2C({}, provided), {}, {
1318
- textAlign: 'right'
1319
- });
1320
- }
1321
- };
1322
1257
  var defaultstyles = {
1323
1258
  option: function option(provided, state) {
1324
1259
  return _objectSpread$2C(_objectSpread$2C({}, provided), {}, {
@@ -13691,7 +13626,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
13691
13626
  className: formstyles.input_label_name + ' d-flex justify-content-start '
13692
13627
  }, lang.phonenumber), /*#__PURE__*/React__default["default"].createElement(PhoneInput__default["default"], {
13693
13628
  className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
13694
- country: 'eg',
13629
+ country: sectionproperties.countrycode == 'SA' ? 'sa' : 'eg',
13695
13630
  enableSearch: true,
13696
13631
  autoFormat: true,
13697
13632
  value: payloadobj.mobile,
@@ -13706,6 +13641,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
13706
13641
  // payloadobjchange('mobile', event);
13707
13642
 
13708
13643
  // alert(JSON.stringify(country));
13644
+ // alert(JSON.stringify(country));
13709
13645
  },
13710
13646
  style: {
13711
13647
  direction: 'ltr',
@@ -33184,15 +33120,15 @@ var Simpleheader = function Simpleheader(props) {
33184
33120
  }, /*#__PURE__*/React__default["default"].createElement(FloatingIcons, {
33185
33121
  sectionpropertiesprops: sectionproperties,
33186
33122
  actions: actions
33187
- }), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
33188
- sectionpropertiesprops: sectionproperties,
33189
- templateproperties_contextprops: templateproperties_context,
33190
- actions: actions
33191
33123
  }), /*#__PURE__*/React__default["default"].createElement("div", {
33192
33124
  "class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
33193
33125
  }, /*#__PURE__*/React__default["default"].createElement("div", {
33194
33126
  "class": "row m-0 w-100 "
33195
- }, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
33127
+ }, templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
33128
+ sectionpropertiesprops: sectionproperties,
33129
+ templateproperties_contextprops: templateproperties_context,
33130
+ actions: actions
33131
+ }), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
33196
33132
  "class": "col-lg-12 p-0 d-flex d-md-none"
33197
33133
  }, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
33198
33134
  sectionpropertiesprops: sectionproperties,
@@ -52848,7 +52784,7 @@ var ModernFooter = function ModernFooter(props) {
52848
52784
  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; }
52849
52785
  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; }
52850
52786
  var Newsletterfooter = function Newsletterfooter(props) {
52851
- 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;
52787
+ 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;
52852
52788
  var _useState = React.useState(''),
52853
52789
  _useState2 = _slicedToArray__default["default"](_useState, 2),
52854
52790
  sectionproperties = _useState2[0],
@@ -53518,17 +53454,6 @@ var Newsletterfooter = function Newsletterfooter(props) {
53518
53454
  }
53519
53455
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
53520
53456
  size: sectionproperties.youtubebtniconfontsize
53521
- })), (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", {
53522
- "class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 mb-2 ',
53523
- onClick: function onClick() {
53524
- var _authdetailsContext$i38;
53525
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.googlemapslink) != null) {
53526
- var _authdetailsContext$i39;
53527
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.googlemapslink, '_blank');
53528
- }
53529
- }
53530
- }, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
53531
- size: sectionproperties.youtubebtniconfontsize
53532
53457
  }))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
53533
53458
  "class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
53534
53459
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -53544,15 +53469,15 @@ var Newsletterfooter = function Newsletterfooter(props) {
53544
53469
  "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 ',
53545
53470
  src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
53546
53471
  onClick: function onClick() {
53547
- var _authdetailsContext$i40;
53548
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.mobileapplink_appstore, '_blank');
53472
+ var _authdetailsContext$i37;
53473
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.mobileapplink_appstore, '_blank');
53549
53474
  }
53550
53475
  }), sectionproperties.showplaystore == 'Show' && /*#__PURE__*/React__default["default"].createElement("img", {
53551
53476
  "class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
53552
53477
  src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
53553
53478
  onClick: function onClick() {
53554
- var _authdetailsContext$i41;
53555
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.mobileapplink_playstore, '_blank');
53479
+ var _authdetailsContext$i38;
53480
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.mobileapplink_playstore, '_blank');
53556
53481
  }
53557
53482
  }))), sectionproperties.showfooteraddress == 'Show' && sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
53558
53483
  "class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
@@ -53569,7 +53494,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
53569
53494
  "class": ' h-100 d-flex align-items-center justify-content-center mr-2 ml-2 '
53570
53495
  }, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
53571
53496
  size: 30
53572
- })), 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", {
53497
+ })), 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", {
53573
53498
  "class": "col-lg-12 p-0 d-block my-3"
53574
53499
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
53575
53500
  "class": "m-0 p-0"
@@ -60349,7 +60274,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
60349
60274
  styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
60350
60275
  placeholder: '',
60351
60276
  isSearchable: true
60352
- })), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
60277
+ })), sectionproperties.hidecountrystatecity == 'Show' && props.srcfrom != 'filter' && /*#__PURE__*/React__default["default"].createElement("div", {
60353
60278
  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'
60354
60279
  }, /*#__PURE__*/React__default["default"].createElement("label", {
60355
60280
  className: formstyles.input_label_name + ' d-flex justify-content-start '
@@ -60408,7 +60333,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
60408
60333
  styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
60409
60334
  placeholder: '',
60410
60335
  isSearchable: true
60411
- })), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
60336
+ })), sectionproperties.hidecountrystatecity == 'Show' && props.srcfrom != 'filter' && /*#__PURE__*/React__default["default"].createElement("div", {
60412
60337
  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'
60413
60338
  }, /*#__PURE__*/React__default["default"].createElement("label", {
60414
60339
  className: formstyles.input_label_name + ' d-flex justify-content-start '
@@ -60494,7 +60419,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
60494
60419
  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; }
60495
60420
  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; }
60496
60421
  var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props) {
60497
- var _css, _fetchProductFeatures;
60422
+ var _css;
60498
60423
  var _useState = React.useState(''),
60499
60424
  _useState2 = _slicedToArray__default["default"](_useState, 2),
60500
60425
  sectionproperties = _useState2[0],
@@ -60521,7 +60446,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
60521
60446
  var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
60522
60447
  var fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
60523
60448
  var fetchproductsfilerobjcontext = props.actions.fetchproductsfilerobjcontext;
60524
- var fetchProductFeaturesQueryContext = props.actions.fetchProductFeaturesQueryContext;
60449
+ props.actions.fetchProductFeaturesQueryContext;
60525
60450
  var routingcountext = props.actions.routingcountext;
60526
60451
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
60527
60452
  // const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
@@ -60542,21 +60467,21 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
60542
60467
  _useState12[0];
60543
60468
  _useState12[1];
60544
60469
  var _useState13 = React.useState([]),
60545
- _useState14 = _slicedToArray__default["default"](_useState13, 2),
60546
- productfeatuesarr = _useState14[0],
60547
- setproductfeatuesarr = _useState14[1];
60470
+ _useState14 = _slicedToArray__default["default"](_useState13, 2);
60471
+ _useState14[0];
60472
+ _useState14[1];
60548
60473
  var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
60549
60474
  var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
60550
60475
  var authdetailsContext = props.actions.authdetailsContext;
60551
60476
  props.actions.fetchcollectionsQueryContext;
60552
60477
  var _useState15 = React.useState(''),
60553
- _useState16 = _slicedToArray__default["default"](_useState15, 2),
60554
- from_date_filter_input = _useState16[0],
60555
- setfrom_date_filter_input = _useState16[1];
60478
+ _useState16 = _slicedToArray__default["default"](_useState15, 2);
60479
+ _useState16[0];
60480
+ _useState16[1];
60556
60481
  var _useState17 = React.useState(''),
60557
- _useState18 = _slicedToArray__default["default"](_useState17, 2),
60558
- to_date_filter_input = _useState18[0],
60559
- setto_date_filter_input = _useState18[1];
60482
+ _useState18 = _slicedToArray__default["default"](_useState17, 2);
60483
+ _useState18[0];
60484
+ _useState18[1];
60560
60485
  React.useEffect(function () {
60561
60486
  var tempFetchQueriesEngineContext = _objectSpread$1f({}, FetchQueriesEngineContext);
60562
60487
  tempFetchQueriesEngineContext.fetchtabexcountries = true;
@@ -60922,299 +60847,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
60922
60847
  routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
60923
60848
  }
60924
60849
  }
60925
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), sectionproperties.sectionstyletype == 'Style 3' && /*#__PURE__*/React__default["default"].createElement("div", {
60926
- "class": "row m-0 w-100 allcentered mt-auto mb-4 px-4",
60927
- style: {
60928
- zIndex: 2
60929
- }
60930
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60931
- "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'
60932
- }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
60933
- "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
60934
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60935
- "class": "wordbreak",
60936
- style: {
60937
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
60938
- color: sectionproperties.sectionTitleColor,
60939
- textTransform: sectionproperties.sectionTitleTextTransform,
60940
- fontWeight: sectionproperties.sectionTitleFontWeight,
60941
- textAlign: langdetect == 'en' ? 'left' : 'right',
60942
- marginBottom: sectionproperties.prodCatShow == 'Show' ? 0 : 20
60943
- }
60944
- }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
60945
- "class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
60946
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60947
- style: {
60948
- fontSize: sectionproperties.prodCatFontSize + 'px',
60949
- color: sectionproperties.prodCatColor,
60950
- textTransform: sectionproperties.prodCatTextTranform,
60951
- fontWeight: sectionproperties.prodCatFontWeight,
60952
- maxWidth: '500px'
60953
- }
60954
- }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
60955
- "class": 'col-lg-11 col-md-12 col-sm-12 allcentered mt-3',
60956
- style: {
60957
- backgroundColor: sectionproperties.reservation_bgcolor,
60958
- borderRadius: sectionproperties.reservation_borderradius + 'px',
60959
- paddingTop: sectionproperties.reservation_padding_top + 'px',
60960
- paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
60961
- paddingLeft: sectionproperties.reservation_padding_left + 'px',
60962
- paddingRight: sectionproperties.reservation_padding_right + 'px'
60963
- }
60964
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60965
- "class": "row m-0 w-100 allcentered"
60966
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60967
- "class": "col-lg-12 p-0"
60968
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60969
- "class": "row m-0 w-100 d-flex align-items-center justify-content-start"
60970
- }, (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) {
60971
- if (item.type == 'Selectbox') {
60972
- var _item$featuresselectb;
60973
- var selectboxarr = [];
60974
- item === null || item === void 0 || (_item$featuresselectb = item.featuresselectbovalue) === null || _item$featuresselectb === void 0 || _item$featuresselectb.forEach(function (slecitem) {
60975
- var itemlabel = '';
60976
- if (langdetect == 'en') {
60977
- itemlabel = slecitem.value_en;
60978
- } else {
60979
- itemlabel = slecitem.value_ar;
60980
- }
60981
- selectboxarr.push({
60982
- label: itemlabel,
60983
- value: slecitem.value_en
60984
- });
60985
- });
60986
- return /*#__PURE__*/React__default["default"].createElement("div", {
60987
- "class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
60988
- }, /*#__PURE__*/React__default["default"].createElement("label", {
60989
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
60990
- style: {
60991
- textAlign: langdetect == 'en' ? 'left' : 'right'
60992
- }
60993
- }, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
60994
- "class": 'col-lg-12 p-0'
60995
- }, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
60996
- options: selectboxarr,
60997
- styles: langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated,
60998
- placeholder: '',
60999
- onChange: function onChange(e) {
61000
- var isattrexists = false;
61001
- var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
61002
- tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
61003
- if (attritem.id == item.id) {
61004
- tempproductfeatuesarr[attrindex].value = e.value;
61005
- isattrexists = true;
61006
- }
61007
- });
61008
- if (isattrexists == false) {
61009
- tempproductfeatuesarr.push({
61010
- id: item.id,
61011
- value: e.value
61012
- });
61013
- }
61014
- setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
61015
- }
61016
- })));
61017
- }
61018
- if (item.type == 'Number') {
61019
- return /*#__PURE__*/React__default["default"].createElement("div", {
61020
- "class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
61021
- }, /*#__PURE__*/React__default["default"].createElement("label", {
61022
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
61023
- style: {
61024
- textAlign: langdetect == 'en' ? 'left' : 'right'
61025
- }
61026
- }, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
61027
- "class": 'col-lg-12 p-0 mt-1'
61028
- }, /*#__PURE__*/React__default["default"].createElement("input", {
61029
- type: "number",
61030
- className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control),
61031
- placeholder: '',
61032
- onChange: function onChange(e) {
61033
- var isattrexists = false;
61034
- var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
61035
- tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
61036
- if (attritem.id == item.id) {
61037
- tempproductfeatuesarr[attrindex].value = e.target.value;
61038
- isattrexists = true;
61039
- }
61040
- });
61041
- if (isattrexists == false) {
61042
- tempproductfeatuesarr.push({
61043
- id: item.id,
61044
- value: e.target.value
61045
- });
61046
- }
61047
- setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
61048
- }
61049
- })));
61050
- }
61051
- if (item.type == 'NumberRange') {
61052
- var temppricevalue = {
61053
- min: 0,
61054
- max: 10000
61055
- };
61056
- var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
61057
- tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
61058
- if (attritem.id == item.id) {
61059
- var _attritem$value, _attritem$valuemax;
61060
- 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) {
61061
- temppricevalue.min = attritem.value;
61062
- }
61063
- 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) {
61064
- temppricevalue.max = attritem.valuemax;
61065
- }
61066
- }
61067
- });
61068
- return /*#__PURE__*/React__default["default"].createElement("div", {
61069
- className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-3 '
61070
- }, /*#__PURE__*/React__default["default"].createElement("label", {
61071
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
61072
- style: {
61073
- textAlign: langdetect == 'en' ? 'left' : 'right'
61074
- }
61075
- }, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
61076
- "class": 'col-lg-12 pl-4 pr-4 mt-2 mb-2',
61077
- style: {
61078
- direction: 'ltr'
61079
- }
61080
- }, /*#__PURE__*/React__default["default"].createElement(InputRange__default["default"], {
61081
- draggableTrack: true,
61082
- formatLabel: function formatLabel(value) {
61083
- return "".concat(value);
61084
- },
61085
- maxValue: parseInt(sectionproperties.filterpricemaxvalue),
61086
- minValue: parseInt(sectionproperties.filterpriceminvalue),
61087
- value: temppricevalue,
61088
- onChange: function onChange(e) {
61089
- // setpricevalue({ ...value });
61090
- var isattrexists = false;
61091
- var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
61092
- tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
61093
- if (attritem.id == item.id) {
61094
- tempproductfeatuesarr[attrindex].value = e.min;
61095
- tempproductfeatuesarr[attrindex].valuemax = e.max;
61096
- isattrexists = true;
61097
- }
61098
- });
61099
- if (isattrexists == false) {
61100
- tempproductfeatuesarr.push({
61101
- id: item.id,
61102
- value: e.min,
61103
- valuemax: e.max
61104
- });
61105
- }
61106
- setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
61107
- }
61108
- })));
61109
- }
61110
- })), /*#__PURE__*/React__default["default"].createElement("div", {
61111
- "class": "col-lg-3 col-md-12"
61112
- }, /*#__PURE__*/React__default["default"].createElement("div", {
61113
- "class": "row m-0 w-100"
61114
- }, /*#__PURE__*/React__default["default"].createElement("div", {
61115
- "class": "col-lg-12 p-0 text-start"
61116
- }, /*#__PURE__*/React__default["default"].createElement("label", {
61117
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
61118
- style: {
61119
- color: sectionproperties.form_labelcolor,
61120
- textTransform: sectionproperties.form_labeltexttransform,
61121
- fontWeight: sectionproperties.form_labelfontweight,
61122
- fontSize: sectionproperties.form_labelfontsize + 'px',
61123
- marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
61124
- }
61125
- }, langdetect == 'en' ? 'From' : 'من')), /*#__PURE__*/React__default["default"].createElement("div", {
61126
- "class": "col-lg-12 p-0 text-start"
61127
- }, /*#__PURE__*/React__default["default"].createElement("input", {
61128
- type: 'date',
61129
- onChange: function onChange(e) {
61130
- setfrom_date_filter_input(e.target.value);
61131
- },
61132
- value: from_date_filter_input,
61133
- className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
61134
- })))), /*#__PURE__*/React__default["default"].createElement("div", {
61135
- "class": "col-lg-3 col-md-12"
61136
- }, /*#__PURE__*/React__default["default"].createElement("div", {
61137
- "class": "col-lg-12 p-0 text-start"
61138
- }, /*#__PURE__*/React__default["default"].createElement("label", {
61139
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
61140
- style: {
61141
- color: sectionproperties.form_labelcolor,
61142
- textTransform: sectionproperties.form_labeltexttransform,
61143
- fontWeight: sectionproperties.form_labelfontweight,
61144
- fontSize: sectionproperties.form_labelfontsize + 'px',
61145
- marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
61146
- }
61147
- }, langdetect == 'en' ? 'To' : 'الى')), /*#__PURE__*/React__default["default"].createElement("div", {
61148
- "class": "col-lg-12 p-0 text-start"
61149
- }, /*#__PURE__*/React__default["default"].createElement("input", {
61150
- type: 'date',
61151
- onChange: function onChange(e) {
61152
- setto_date_filter_input(e.target.value);
61153
- },
61154
- value: to_date_filter_input,
61155
- className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
61156
- })), "\xA0"), /*#__PURE__*/React__default["default"].createElement("div", {
61157
- "class": "col-lg-2 col-md-12 text-end",
61158
- style: {
61159
- marginLeft: langdetect == 'en' ? 'auto' : '',
61160
- marginRight: langdetect == 'ar' ? 'auto' : ''
61161
- }
61162
- }, /*#__PURE__*/React__default["default"].createElement("button", {
61163
- "class": sectionstyles.btnstyles + ' allcentered ',
61164
- onClick: function onClick() {
61165
- var _payloadobj$countryid2, _payloadobj$stateid2, _payloadobj$cityid2, _pricevalue$min2, _pricevalue$max2;
61166
- var tempfetchproductsfilerobjcontext = _objectSpread$1f({}, fetchproductsfilerobjcontext);
61167
- 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) {
61168
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
61169
- tempfetchproductsfilerobjcontext.country_ids = [payloadobj.countryid];
61170
- } else {
61171
- tempfetchproductsfilerobjcontext.countryid = payloadobj.countryid;
61172
- }
61173
- }
61174
- 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) {
61175
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
61176
- tempfetchproductsfilerobjcontext.state_ids = [payloadobj.stateid];
61177
- } else {
61178
- tempfetchproductsfilerobjcontext.stateid = payloadobj.stateid;
61179
- }
61180
- }
61181
- 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) {
61182
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
61183
- tempfetchproductsfilerobjcontext.city_ids = [payloadobj.cityid];
61184
- } else {
61185
- tempfetchproductsfilerobjcontext.cityid = payloadobj.cityid;
61186
- }
61187
- }
61188
- if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.collections) != null && payloadobj.collections.length != 0) {
61189
- tempfetchproductsfilerobjcontext.collections = payloadobj.collections;
61190
- }
61191
- 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) {
61192
- tempfetchproductsfilerobjcontext.price_min = pricevalue.min;
61193
- }
61194
- 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) {
61195
- if (sectionproperties.showpricerange == 'Hide') {
61196
- tempfetchproductsfilerobjcontext.price_max = 99999999999999;
61197
- } else {
61198
- tempfetchproductsfilerobjcontext.price_max = pricevalue.max;
61199
- }
61200
- }
61201
- if (productfeatuesarr != undefined && productfeatuesarr != null && Array.isArray(productfeatuesarr) && (productfeatuesarr === null || productfeatuesarr === void 0 ? void 0 : productfeatuesarr.length) != 0) {
61202
- tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
61203
- }
61204
- 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) {
61205
- tempfetchproductsfilerobjcontext.from_date_filter = from_date_filter_input;
61206
- }
61207
- 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) {
61208
- tempfetchproductsfilerobjcontext.to_date_filter = to_date_filter_input;
61209
- }
61210
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
61211
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
61212
- }
61213
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Vendors') {
61214
- routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
61215
- }
61216
- }
61217
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))))));
60850
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
61218
60851
  };
61219
60852
 
61220
60853
  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; }
@@ -66167,7 +65800,9 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
66167
65800
  style: {
66168
65801
  position: 'relative',
66169
65802
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
66170
- fontSize: sectionproperties.prodCatFontSize + 'px'
65803
+ fontSize: sectionproperties.prodCatFontSize + 'px',
65804
+ marginLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
65805
+ marginRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px'
66171
65806
  // paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
66172
65807
  // paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
66173
65808
  }
@@ -68160,7 +67795,6 @@ var Servicesection = function Servicesection(props) {
68160
67795
  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; }
68161
67796
  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; }
68162
67797
  var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
68163
- var _maincontainerarrayof, _maincontainerarrayof2;
68164
67798
  var _useState = React.useState(''),
68165
67799
  _useState2 = _slicedToArray__default["default"](_useState, 2),
68166
67800
  sectionproperties = _useState2[0],
@@ -68196,18 +67830,15 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
68196
67830
  }
68197
67831
  }
68198
67832
  }, [sectionproperties]);
68199
- var _useState5 = React.useState([]),
68200
- _useState6 = _slicedToArray__default["default"](_useState5, 2),
68201
- maincontainerarrayofobjs = _useState6[0],
68202
- setmaincontainerarrayofobjs = _useState6[1];
68203
- React.useEffect(function () {
68204
- if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
68205
- var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
68206
- if (Array.isArray(maincontainerarrayofobjsparsed)) {
68207
- setmaincontainerarrayofobjs(_toConsumableArray__default["default"](maincontainerarrayofobjsparsed));
68208
- }
68209
- }
68210
- }, [sectionproperties]);
67833
+ // const [maincontainerarrayofobjs, setmaincontainerarrayofobjs] = useState([]);
67834
+ // useEffect(() => {
67835
+ // if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
67836
+ // var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
67837
+ // if (Array.isArray(maincontainerarrayofobjsparsed)) {
67838
+ // setmaincontainerarrayofobjs([...maincontainerarrayofobjsparsed]);
67839
+ // }
67840
+ // }
67841
+ // }, [sectionproperties]);
68211
67842
  var sectionStyles = {
68212
67843
  containerrrr: glamor.css({
68213
67844
  marginTop: sectionproperties.marginTop + 'px',
@@ -68373,25 +68004,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
68373
68004
  "class": sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center ',
68374
68005
  style: {},
68375
68006
  "data-aos": 'fade-up'
68376
- }, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
68377
- "class": sectionStyles.imgcontainer
68378
- }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
68379
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
68380
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
68381
- path: (_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage,
68382
- style: {
68383
- height: '100%',
68384
- width: '100%',
68385
- objectFit: 'cover',
68386
- margin: 0,
68387
- padding: 0,
68388
- position: 'absolute',
68389
- top: 0,
68390
- bottom: 0,
68391
- right: 0,
68392
- left: 0
68393
- }
68394
- })), /*#__PURE__*/React__default["default"].createElement("div", {
68007
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
68395
68008
  "class": sectionStyles.containerrrr + ' row ml-0 mr-0 w-100 d-flex justify-content-center pl-md-3 pr-md-3 px-2015-3 ',
68396
68009
  style: {}
68397
68010
  }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -68617,25 +68230,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
68617
68230
  }))), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
68618
68231
  "class": sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center ',
68619
68232
  style: {}
68620
- }, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
68621
- "class": sectionStyles.imgcontainer
68622
- }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
68623
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
68624
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
68625
- path: (_maincontainerarrayof2 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof2 === void 0 ? void 0 : _maincontainerarrayof2.back_bgimage,
68626
- style: {
68627
- height: '100%',
68628
- width: '100%',
68629
- objectFit: 'cover',
68630
- margin: 0,
68631
- padding: 0,
68632
- position: 'absolute',
68633
- top: 0,
68634
- bottom: 0,
68635
- right: 0,
68636
- left: 0
68637
- }
68638
- })), /*#__PURE__*/React__default["default"].createElement("div", {
68233
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
68639
68234
  "class": sectionStyles.containerrrr + ' row ml-0 mr-0 w-100 d-flex justify-content-center pl-md-3 pr-md-3 px-2015-3 ',
68640
68235
  style: {}
68641
68236
  }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -85933,7 +85528,19 @@ var Simpleproductcard = function Simpleproductcard(props) {
85933
85528
  style: {
85934
85529
  fontWeight: sectionproperties.profitcontainersecondaryfontweight
85935
85530
  }
85936
- }, 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", {
85531
+ }, 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", {
85532
+ "class": "col-lg-12 p-0 d-flex align-items-center",
85533
+ style: {
85534
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
85535
+ }
85536
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
85537
+ "class": "m-0 p-0",
85538
+ style: {
85539
+ fontSize: sectionproperties.quantityfontsize,
85540
+ color: sectionproperties.quantitycolor,
85541
+ fontWeight: sectionproperties.quantityfontweight
85542
+ }
85543
+ }, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
85937
85544
  "class": "col-lg-12 p-0 d-flex align-items-center",
85938
85545
  style: {
85939
85546
  justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
@@ -85972,19 +85579,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
85972
85579
  }
85973
85580
  }
85974
85581
  // disabled={AddtoCartMutationContext.isLoading == true ? true : false}
85975
- }, addtocartbuttonrender())), sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
85976
- "class": "col-lg-12 p-0 d-flex align-items-center",
85977
- style: {
85978
- justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
85979
- }
85980
- }, /*#__PURE__*/React__default["default"].createElement("p", {
85981
- "class": "m-0 p-0",
85982
- style: {
85983
- fontSize: sectionproperties.quantityfontsize,
85984
- color: sectionproperties.quantitycolor,
85985
- fontWeight: sectionproperties.quantityfontweight
85986
- }
85987
- }, 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", {
85582
+ }, addtocartbuttonrender())))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
85988
85583
  "class": "col-lg-12 d-flex align-items-center p-0",
85989
85584
  style: {
85990
85585
  justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'