tabexseriescomponents 0.2.783 → 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,
@@ -48092,7 +48028,7 @@ var Footer1 = function Footer1(props) {
48092
48028
  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; }
48093
48029
  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; }
48094
48030
  var Footer2 = function Footer2(props) {
48095
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _authdetailsContext$i21, _authdetailsContext$i22;
48031
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i21, _authdetailsContext$i22;
48096
48032
  var _useState = React.useState(''),
48097
48033
  _useState2 = _slicedToArray__default["default"](_useState, 2),
48098
48034
  sectionproperties = _useState2[0],
@@ -48450,7 +48386,14 @@ var Footer2 = function Footer2(props) {
48450
48386
  onClick: function onClick() {
48451
48387
  routingcountext(StaticPagesLinksContext.RefundPolicy);
48452
48388
  }
48453
- }, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar)), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
48389
+ }, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
48390
+ "class": "".concat(footerStyles.vl) + ' d-flex align-items-center justify-content-center mb-3'
48391
+ }), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
48392
+ "class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
48393
+ onClick: function onClick() {
48394
+ routingcountext(StaticPagesLinksContext.RefundPolicy);
48395
+ }
48396
+ }, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar)), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
48454
48397
  "class": "d-none d-md-block align-items-center justify-content-center mt-3 p-0 row m-0 w-100"
48455
48398
  }, /*#__PURE__*/React__default["default"].createElement("div", {
48456
48399
  "class": "row m-0 w-100"
@@ -48482,21 +48425,21 @@ var Footer2 = function Footer2(props) {
48482
48425
  onClick: function onClick() {
48483
48426
  routingcountext(StaticPagesLinksContext.PrivacyPolicy);
48484
48427
  }
48485
- }, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar)), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
48428
+ }, langdetect == 'en' ? (_returnpolicyobj9 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj9 === void 0 ? void 0 : _returnpolicyobj9.policypagename_en : (_returnpolicyobj10 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj10 === void 0 ? void 0 : _returnpolicyobj10.policypagename_ar)), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
48486
48429
  "class": "col-lg-12 d-flex justify-content-center p-0"
48487
48430
  }, /*#__PURE__*/React__default["default"].createElement("p", {
48488
48431
  "class": "".concat(footerStyles.footersubtitlestyles),
48489
48432
  onClick: function onClick() {
48490
48433
  routingcountext(StaticPagesLinksContext.ShippingPolicy);
48491
48434
  }
48492
- }, langdetect == 'en' ? (_returnpolicyobj9 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj9 === void 0 ? void 0 : _returnpolicyobj9.policypagename_en : (_returnpolicyobj10 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj10 === void 0 ? void 0 : _returnpolicyobj10.policypagename_ar)), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
48435
+ }, langdetect == 'en' ? (_returnpolicyobj11 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj11 === void 0 ? void 0 : _returnpolicyobj11.policypagename_en : (_returnpolicyobj12 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj12 === void 0 ? void 0 : _returnpolicyobj12.policypagename_ar)), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
48493
48436
  "class": "col-lg-12 d-flex justify-content-center p-0"
48494
48437
  }, /*#__PURE__*/React__default["default"].createElement("p", {
48495
48438
  "class": "".concat(footerStyles.footersubtitlestyles),
48496
48439
  onClick: function onClick() {
48497
48440
  routingcountext(StaticPagesLinksContext.RefundPolicy);
48498
48441
  }
48499
- }, langdetect == 'en' ? (_returnpolicyobj11 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj11 === void 0 ? void 0 : _returnpolicyobj11.policypagename_en : (_returnpolicyobj12 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj12 === void 0 ? void 0 : _returnpolicyobj12.policypagename_ar)))), sectionproperties.showcontactinfo == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
48442
+ }, langdetect == 'en' ? (_returnpolicyobj13 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj13 === void 0 ? void 0 : _returnpolicyobj13.policypagename_en : (_returnpolicyobj14 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj14 === void 0 ? void 0 : _returnpolicyobj14.policypagename_ar)))), sectionproperties.showcontactinfo == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
48500
48443
  "class": "col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0 mt-4"
48501
48444
  }, /*#__PURE__*/React__default["default"].createElement("div", {
48502
48445
  className: "row m-0 w-100"
@@ -52841,7 +52784,7 @@ var ModernFooter = function ModernFooter(props) {
52841
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; }
52842
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; }
52843
52786
  var Newsletterfooter = function Newsletterfooter(props) {
52844
- 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;
52845
52788
  var _useState = React.useState(''),
52846
52789
  _useState2 = _slicedToArray__default["default"](_useState, 2),
52847
52790
  sectionproperties = _useState2[0],
@@ -53511,17 +53454,6 @@ var Newsletterfooter = function Newsletterfooter(props) {
53511
53454
  }
53512
53455
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
53513
53456
  size: sectionproperties.youtubebtniconfontsize
53514
- })), (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", {
53515
- "class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 mb-2 ',
53516
- onClick: function onClick() {
53517
- var _authdetailsContext$i38;
53518
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.googlemapslink) != null) {
53519
- var _authdetailsContext$i39;
53520
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.googlemapslink, '_blank');
53521
- }
53522
- }
53523
- }, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
53524
- size: sectionproperties.youtubebtniconfontsize
53525
53457
  }))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
53526
53458
  "class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
53527
53459
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -53537,15 +53469,15 @@ var Newsletterfooter = function Newsletterfooter(props) {
53537
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 ',
53538
53470
  src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
53539
53471
  onClick: function onClick() {
53540
- var _authdetailsContext$i40;
53541
- 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');
53542
53474
  }
53543
53475
  }), sectionproperties.showplaystore == 'Show' && /*#__PURE__*/React__default["default"].createElement("img", {
53544
53476
  "class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
53545
53477
  src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
53546
53478
  onClick: function onClick() {
53547
- var _authdetailsContext$i41;
53548
- 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');
53549
53481
  }
53550
53482
  }))), sectionproperties.showfooteraddress == 'Show' && sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
53551
53483
  "class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
@@ -53562,7 +53494,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
53562
53494
  "class": ' h-100 d-flex align-items-center justify-content-center mr-2 ml-2 '
53563
53495
  }, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
53564
53496
  size: 30
53565
- })), 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", {
53566
53498
  "class": "col-lg-12 p-0 d-block my-3"
53567
53499
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
53568
53500
  "class": "m-0 p-0"
@@ -60342,7 +60274,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
60342
60274
  styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
60343
60275
  placeholder: '',
60344
60276
  isSearchable: true
60345
- })), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
60277
+ })), sectionproperties.hidecountrystatecity == 'Show' && props.srcfrom != 'filter' && /*#__PURE__*/React__default["default"].createElement("div", {
60346
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'
60347
60279
  }, /*#__PURE__*/React__default["default"].createElement("label", {
60348
60280
  className: formstyles.input_label_name + ' d-flex justify-content-start '
@@ -60401,7 +60333,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
60401
60333
  styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
60402
60334
  placeholder: '',
60403
60335
  isSearchable: true
60404
- })), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
60336
+ })), sectionproperties.hidecountrystatecity == 'Show' && props.srcfrom != 'filter' && /*#__PURE__*/React__default["default"].createElement("div", {
60405
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'
60406
60338
  }, /*#__PURE__*/React__default["default"].createElement("label", {
60407
60339
  className: formstyles.input_label_name + ' d-flex justify-content-start '
@@ -60487,7 +60419,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
60487
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; }
60488
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; }
60489
60421
  var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props) {
60490
- var _css, _fetchProductFeatures;
60422
+ var _css;
60491
60423
  var _useState = React.useState(''),
60492
60424
  _useState2 = _slicedToArray__default["default"](_useState, 2),
60493
60425
  sectionproperties = _useState2[0],
@@ -60514,7 +60446,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
60514
60446
  var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
60515
60447
  var fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
60516
60448
  var fetchproductsfilerobjcontext = props.actions.fetchproductsfilerobjcontext;
60517
- var fetchProductFeaturesQueryContext = props.actions.fetchProductFeaturesQueryContext;
60449
+ props.actions.fetchProductFeaturesQueryContext;
60518
60450
  var routingcountext = props.actions.routingcountext;
60519
60451
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
60520
60452
  // const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
@@ -60535,21 +60467,21 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
60535
60467
  _useState12[0];
60536
60468
  _useState12[1];
60537
60469
  var _useState13 = React.useState([]),
60538
- _useState14 = _slicedToArray__default["default"](_useState13, 2),
60539
- productfeatuesarr = _useState14[0],
60540
- setproductfeatuesarr = _useState14[1];
60470
+ _useState14 = _slicedToArray__default["default"](_useState13, 2);
60471
+ _useState14[0];
60472
+ _useState14[1];
60541
60473
  var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
60542
60474
  var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
60543
60475
  var authdetailsContext = props.actions.authdetailsContext;
60544
60476
  props.actions.fetchcollectionsQueryContext;
60545
60477
  var _useState15 = React.useState(''),
60546
- _useState16 = _slicedToArray__default["default"](_useState15, 2),
60547
- from_date_filter_input = _useState16[0],
60548
- setfrom_date_filter_input = _useState16[1];
60478
+ _useState16 = _slicedToArray__default["default"](_useState15, 2);
60479
+ _useState16[0];
60480
+ _useState16[1];
60549
60481
  var _useState17 = React.useState(''),
60550
- _useState18 = _slicedToArray__default["default"](_useState17, 2),
60551
- to_date_filter_input = _useState18[0],
60552
- setto_date_filter_input = _useState18[1];
60482
+ _useState18 = _slicedToArray__default["default"](_useState17, 2);
60483
+ _useState18[0];
60484
+ _useState18[1];
60553
60485
  React.useEffect(function () {
60554
60486
  var tempFetchQueriesEngineContext = _objectSpread$1f({}, FetchQueriesEngineContext);
60555
60487
  tempFetchQueriesEngineContext.fetchtabexcountries = true;
@@ -60915,299 +60847,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
60915
60847
  routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
60916
60848
  }
60917
60849
  }
60918
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), sectionproperties.sectionstyletype == 'Style 3' && /*#__PURE__*/React__default["default"].createElement("div", {
60919
- "class": "row m-0 w-100 allcentered mt-auto mb-4 px-4",
60920
- style: {
60921
- zIndex: 2
60922
- }
60923
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60924
- "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'
60925
- }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
60926
- "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
60927
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60928
- "class": "wordbreak",
60929
- style: {
60930
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
60931
- color: sectionproperties.sectionTitleColor,
60932
- textTransform: sectionproperties.sectionTitleTextTransform,
60933
- fontWeight: sectionproperties.sectionTitleFontWeight,
60934
- textAlign: langdetect == 'en' ? 'left' : 'right',
60935
- marginBottom: sectionproperties.prodCatShow == 'Show' ? 0 : 20
60936
- }
60937
- }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
60938
- "class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
60939
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60940
- style: {
60941
- fontSize: sectionproperties.prodCatFontSize + 'px',
60942
- color: sectionproperties.prodCatColor,
60943
- textTransform: sectionproperties.prodCatTextTranform,
60944
- fontWeight: sectionproperties.prodCatFontWeight,
60945
- maxWidth: '500px'
60946
- }
60947
- }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
60948
- "class": 'col-lg-11 col-md-12 col-sm-12 allcentered mt-3',
60949
- style: {
60950
- backgroundColor: sectionproperties.reservation_bgcolor,
60951
- borderRadius: sectionproperties.reservation_borderradius + 'px',
60952
- paddingTop: sectionproperties.reservation_padding_top + 'px',
60953
- paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
60954
- paddingLeft: sectionproperties.reservation_padding_left + 'px',
60955
- paddingRight: sectionproperties.reservation_padding_right + 'px'
60956
- }
60957
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60958
- "class": "row m-0 w-100 allcentered"
60959
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60960
- "class": "col-lg-12 p-0"
60961
- }, /*#__PURE__*/React__default["default"].createElement("div", {
60962
- "class": "row m-0 w-100 d-flex align-items-center justify-content-start"
60963
- }, (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) {
60964
- if (item.type == 'Selectbox') {
60965
- var _item$featuresselectb;
60966
- var selectboxarr = [];
60967
- item === null || item === void 0 || (_item$featuresselectb = item.featuresselectbovalue) === null || _item$featuresselectb === void 0 || _item$featuresselectb.forEach(function (slecitem) {
60968
- var itemlabel = '';
60969
- if (langdetect == 'en') {
60970
- itemlabel = slecitem.value_en;
60971
- } else {
60972
- itemlabel = slecitem.value_ar;
60973
- }
60974
- selectboxarr.push({
60975
- label: itemlabel,
60976
- value: slecitem.value_en
60977
- });
60978
- });
60979
- return /*#__PURE__*/React__default["default"].createElement("div", {
60980
- "class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
60981
- }, /*#__PURE__*/React__default["default"].createElement("label", {
60982
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
60983
- style: {
60984
- textAlign: langdetect == 'en' ? 'left' : 'right'
60985
- }
60986
- }, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
60987
- "class": 'col-lg-12 p-0'
60988
- }, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
60989
- options: selectboxarr,
60990
- styles: langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated,
60991
- placeholder: '',
60992
- onChange: function onChange(e) {
60993
- var isattrexists = false;
60994
- var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
60995
- tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
60996
- if (attritem.id == item.id) {
60997
- tempproductfeatuesarr[attrindex].value = e.value;
60998
- isattrexists = true;
60999
- }
61000
- });
61001
- if (isattrexists == false) {
61002
- tempproductfeatuesarr.push({
61003
- id: item.id,
61004
- value: e.value
61005
- });
61006
- }
61007
- setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
61008
- }
61009
- })));
61010
- }
61011
- if (item.type == 'Number') {
61012
- return /*#__PURE__*/React__default["default"].createElement("div", {
61013
- "class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
61014
- }, /*#__PURE__*/React__default["default"].createElement("label", {
61015
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
61016
- style: {
61017
- textAlign: langdetect == 'en' ? 'left' : 'right'
61018
- }
61019
- }, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
61020
- "class": 'col-lg-12 p-0 mt-1'
61021
- }, /*#__PURE__*/React__default["default"].createElement("input", {
61022
- type: "number",
61023
- className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control),
61024
- placeholder: '',
61025
- onChange: function onChange(e) {
61026
- var isattrexists = false;
61027
- var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
61028
- tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
61029
- if (attritem.id == item.id) {
61030
- tempproductfeatuesarr[attrindex].value = e.target.value;
61031
- isattrexists = true;
61032
- }
61033
- });
61034
- if (isattrexists == false) {
61035
- tempproductfeatuesarr.push({
61036
- id: item.id,
61037
- value: e.target.value
61038
- });
61039
- }
61040
- setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
61041
- }
61042
- })));
61043
- }
61044
- if (item.type == 'NumberRange') {
61045
- var temppricevalue = {
61046
- min: 0,
61047
- max: 10000
61048
- };
61049
- var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
61050
- tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
61051
- if (attritem.id == item.id) {
61052
- var _attritem$value, _attritem$valuemax;
61053
- 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) {
61054
- temppricevalue.min = attritem.value;
61055
- }
61056
- 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) {
61057
- temppricevalue.max = attritem.valuemax;
61058
- }
61059
- }
61060
- });
61061
- return /*#__PURE__*/React__default["default"].createElement("div", {
61062
- className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-3 '
61063
- }, /*#__PURE__*/React__default["default"].createElement("label", {
61064
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
61065
- style: {
61066
- textAlign: langdetect == 'en' ? 'left' : 'right'
61067
- }
61068
- }, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
61069
- "class": 'col-lg-12 pl-4 pr-4 mt-2 mb-2',
61070
- style: {
61071
- direction: 'ltr'
61072
- }
61073
- }, /*#__PURE__*/React__default["default"].createElement(InputRange__default["default"], {
61074
- draggableTrack: true,
61075
- formatLabel: function formatLabel(value) {
61076
- return "".concat(value);
61077
- },
61078
- maxValue: parseInt(sectionproperties.filterpricemaxvalue),
61079
- minValue: parseInt(sectionproperties.filterpriceminvalue),
61080
- value: temppricevalue,
61081
- onChange: function onChange(e) {
61082
- // setpricevalue({ ...value });
61083
- var isattrexists = false;
61084
- var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
61085
- tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
61086
- if (attritem.id == item.id) {
61087
- tempproductfeatuesarr[attrindex].value = e.min;
61088
- tempproductfeatuesarr[attrindex].valuemax = e.max;
61089
- isattrexists = true;
61090
- }
61091
- });
61092
- if (isattrexists == false) {
61093
- tempproductfeatuesarr.push({
61094
- id: item.id,
61095
- value: e.min,
61096
- valuemax: e.max
61097
- });
61098
- }
61099
- setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
61100
- }
61101
- })));
61102
- }
61103
- })), /*#__PURE__*/React__default["default"].createElement("div", {
61104
- "class": "col-lg-3 col-md-12"
61105
- }, /*#__PURE__*/React__default["default"].createElement("div", {
61106
- "class": "row m-0 w-100"
61107
- }, /*#__PURE__*/React__default["default"].createElement("div", {
61108
- "class": "col-lg-12 p-0 text-start"
61109
- }, /*#__PURE__*/React__default["default"].createElement("label", {
61110
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
61111
- style: {
61112
- color: sectionproperties.form_labelcolor,
61113
- textTransform: sectionproperties.form_labeltexttransform,
61114
- fontWeight: sectionproperties.form_labelfontweight,
61115
- fontSize: sectionproperties.form_labelfontsize + 'px',
61116
- marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
61117
- }
61118
- }, langdetect == 'en' ? 'From' : 'من')), /*#__PURE__*/React__default["default"].createElement("div", {
61119
- "class": "col-lg-12 p-0 text-start"
61120
- }, /*#__PURE__*/React__default["default"].createElement("input", {
61121
- type: 'date',
61122
- onChange: function onChange(e) {
61123
- setfrom_date_filter_input(e.target.value);
61124
- },
61125
- value: from_date_filter_input,
61126
- className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
61127
- })))), /*#__PURE__*/React__default["default"].createElement("div", {
61128
- "class": "col-lg-3 col-md-12"
61129
- }, /*#__PURE__*/React__default["default"].createElement("div", {
61130
- "class": "col-lg-12 p-0 text-start"
61131
- }, /*#__PURE__*/React__default["default"].createElement("label", {
61132
- className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
61133
- style: {
61134
- color: sectionproperties.form_labelcolor,
61135
- textTransform: sectionproperties.form_labeltexttransform,
61136
- fontWeight: sectionproperties.form_labelfontweight,
61137
- fontSize: sectionproperties.form_labelfontsize + 'px',
61138
- marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
61139
- }
61140
- }, langdetect == 'en' ? 'To' : 'الى')), /*#__PURE__*/React__default["default"].createElement("div", {
61141
- "class": "col-lg-12 p-0 text-start"
61142
- }, /*#__PURE__*/React__default["default"].createElement("input", {
61143
- type: 'date',
61144
- onChange: function onChange(e) {
61145
- setto_date_filter_input(e.target.value);
61146
- },
61147
- value: to_date_filter_input,
61148
- className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
61149
- })), "\xA0"), /*#__PURE__*/React__default["default"].createElement("div", {
61150
- "class": "col-lg-2 col-md-12 text-end",
61151
- style: {
61152
- marginLeft: langdetect == 'en' ? 'auto' : '',
61153
- marginRight: langdetect == 'ar' ? 'auto' : ''
61154
- }
61155
- }, /*#__PURE__*/React__default["default"].createElement("button", {
61156
- "class": sectionstyles.btnstyles + ' allcentered ',
61157
- onClick: function onClick() {
61158
- var _payloadobj$countryid2, _payloadobj$stateid2, _payloadobj$cityid2, _pricevalue$min2, _pricevalue$max2;
61159
- var tempfetchproductsfilerobjcontext = _objectSpread$1f({}, fetchproductsfilerobjcontext);
61160
- 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) {
61161
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
61162
- tempfetchproductsfilerobjcontext.country_ids = [payloadobj.countryid];
61163
- } else {
61164
- tempfetchproductsfilerobjcontext.countryid = payloadobj.countryid;
61165
- }
61166
- }
61167
- 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) {
61168
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
61169
- tempfetchproductsfilerobjcontext.state_ids = [payloadobj.stateid];
61170
- } else {
61171
- tempfetchproductsfilerobjcontext.stateid = payloadobj.stateid;
61172
- }
61173
- }
61174
- 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) {
61175
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
61176
- tempfetchproductsfilerobjcontext.city_ids = [payloadobj.cityid];
61177
- } else {
61178
- tempfetchproductsfilerobjcontext.cityid = payloadobj.cityid;
61179
- }
61180
- }
61181
- if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.collections) != null && payloadobj.collections.length != 0) {
61182
- tempfetchproductsfilerobjcontext.collections = payloadobj.collections;
61183
- }
61184
- 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) {
61185
- tempfetchproductsfilerobjcontext.price_min = pricevalue.min;
61186
- }
61187
- 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) {
61188
- if (sectionproperties.showpricerange == 'Hide') {
61189
- tempfetchproductsfilerobjcontext.price_max = 99999999999999;
61190
- } else {
61191
- tempfetchproductsfilerobjcontext.price_max = pricevalue.max;
61192
- }
61193
- }
61194
- if (productfeatuesarr != undefined && productfeatuesarr != null && Array.isArray(productfeatuesarr) && (productfeatuesarr === null || productfeatuesarr === void 0 ? void 0 : productfeatuesarr.length) != 0) {
61195
- tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
61196
- }
61197
- 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) {
61198
- tempfetchproductsfilerobjcontext.from_date_filter = from_date_filter_input;
61199
- }
61200
- 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) {
61201
- tempfetchproductsfilerobjcontext.to_date_filter = to_date_filter_input;
61202
- }
61203
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
61204
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
61205
- }
61206
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Vendors') {
61207
- routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
61208
- }
61209
- }
61210
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))))));
60850
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
61211
60851
  };
61212
60852
 
61213
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; }
@@ -66160,7 +65800,9 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
66160
65800
  style: {
66161
65801
  position: 'relative',
66162
65802
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
66163
- 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'
66164
65806
  // paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
66165
65807
  // paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
66166
65808
  }
@@ -68153,7 +67795,6 @@ var Servicesection = function Servicesection(props) {
68153
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; }
68154
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; }
68155
67797
  var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
68156
- var _maincontainerarrayof, _maincontainerarrayof2;
68157
67798
  var _useState = React.useState(''),
68158
67799
  _useState2 = _slicedToArray__default["default"](_useState, 2),
68159
67800
  sectionproperties = _useState2[0],
@@ -68189,18 +67830,15 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
68189
67830
  }
68190
67831
  }
68191
67832
  }, [sectionproperties]);
68192
- var _useState5 = React.useState([]),
68193
- _useState6 = _slicedToArray__default["default"](_useState5, 2),
68194
- maincontainerarrayofobjs = _useState6[0],
68195
- setmaincontainerarrayofobjs = _useState6[1];
68196
- React.useEffect(function () {
68197
- if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
68198
- var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
68199
- if (Array.isArray(maincontainerarrayofobjsparsed)) {
68200
- setmaincontainerarrayofobjs(_toConsumableArray__default["default"](maincontainerarrayofobjsparsed));
68201
- }
68202
- }
68203
- }, [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]);
68204
67842
  var sectionStyles = {
68205
67843
  containerrrr: glamor.css({
68206
67844
  marginTop: sectionproperties.marginTop + 'px',
@@ -68366,25 +68004,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
68366
68004
  "class": sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center ',
68367
68005
  style: {},
68368
68006
  "data-aos": 'fade-up'
68369
- }, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
68370
- "class": sectionStyles.imgcontainer
68371
- }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
68372
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
68373
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
68374
- path: (_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage,
68375
- style: {
68376
- height: '100%',
68377
- width: '100%',
68378
- objectFit: 'cover',
68379
- margin: 0,
68380
- padding: 0,
68381
- position: 'absolute',
68382
- top: 0,
68383
- bottom: 0,
68384
- right: 0,
68385
- left: 0
68386
- }
68387
- })), /*#__PURE__*/React__default["default"].createElement("div", {
68007
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
68388
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 ',
68389
68009
  style: {}
68390
68010
  }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -68610,25 +68230,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
68610
68230
  }))), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
68611
68231
  "class": sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center ',
68612
68232
  style: {}
68613
- }, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
68614
- "class": sectionStyles.imgcontainer
68615
- }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
68616
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
68617
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
68618
- path: (_maincontainerarrayof2 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof2 === void 0 ? void 0 : _maincontainerarrayof2.back_bgimage,
68619
- style: {
68620
- height: '100%',
68621
- width: '100%',
68622
- objectFit: 'cover',
68623
- margin: 0,
68624
- padding: 0,
68625
- position: 'absolute',
68626
- top: 0,
68627
- bottom: 0,
68628
- right: 0,
68629
- left: 0
68630
- }
68631
- })), /*#__PURE__*/React__default["default"].createElement("div", {
68233
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
68632
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 ',
68633
68235
  style: {}
68634
68236
  }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -85926,7 +85528,19 @@ var Simpleproductcard = function Simpleproductcard(props) {
85926
85528
  style: {
85927
85529
  fontWeight: sectionproperties.profitcontainersecondaryfontweight
85928
85530
  }
85929
- }, 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", {
85930
85544
  "class": "col-lg-12 p-0 d-flex align-items-center",
85931
85545
  style: {
85932
85546
  justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
@@ -85965,19 +85579,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
85965
85579
  }
85966
85580
  }
85967
85581
  // disabled={AddtoCartMutationContext.isLoading == true ? true : false}
85968
- }, addtocartbuttonrender())), sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
85969
- "class": "col-lg-12 p-0 d-flex align-items-center",
85970
- style: {
85971
- justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
85972
- }
85973
- }, /*#__PURE__*/React__default["default"].createElement("p", {
85974
- "class": "m-0 p-0",
85975
- style: {
85976
- fontSize: sectionproperties.quantityfontsize,
85977
- color: sectionproperties.quantitycolor,
85978
- fontWeight: sectionproperties.quantityfontweight
85979
- }
85980
- }, 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", {
85981
85583
  "class": "col-lg-12 d-flex align-items-center p-0",
85982
85584
  style: {
85983
85585
  justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'