tabexseriescomponents 0.0.347 → 0.0.348

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.esm.js CHANGED
@@ -56,7 +56,7 @@ import { HiOutlineChevronLeft } from '@react-icons/all-files/hi/HiOutlineChevron
56
56
  import { GoGlobe } from '@react-icons/all-files/go/GoGlobe';
57
57
  import { VscGlobe } from '@react-icons/all-files/vsc/VscGlobe';
58
58
  import { HiOutlineTrash } from '@react-icons/all-files/hi/HiOutlineTrash';
59
- import { BiSad } from '@react-icons/all-files/bi/BiSad';
59
+ import '@react-icons/all-files/bi/BiSad';
60
60
  import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
61
61
  import Dropdown from 'react-bootstrap/Dropdown';
62
62
  import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
@@ -7129,14 +7129,16 @@ function ownKeys$2g(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySym
7129
7129
  function _objectSpread$2g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2g(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2g(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7130
7130
  var Wishlist = function Wishlist(props) {
7131
7131
  var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
7132
- var lang = props.actions.lang;
7132
+ props.actions.lang;
7133
7133
  var langdetect = props.actions.langdetect;
7134
+ var routingcountext = props.actions.routingcountext;
7134
7135
  var fetchFavoriteProductsQueryContext = props.actions.fetchFavoriteProductsQueryContext;
7135
7136
  var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
7136
7137
  var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
7137
7138
  var addtofavoritescontext = props.actions.addtofavoritescontext;
7138
7139
  var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
7139
7140
  var ikimagecredcontext = props.actions.ikimagecredcontext;
7141
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
7140
7142
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
7141
7143
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
7142
7144
  var actions = props.actions;
@@ -7148,6 +7150,7 @@ var Wishlist = function Wishlist(props) {
7148
7150
  _useState4 = _slicedToArray(_useState3, 2),
7149
7151
  bgimagesarray = _useState4[0],
7150
7152
  setbgimagesarray = _useState4[1];
7153
+ var authdetailsContext = props.actions.authdetailsContext;
7151
7154
  useEffect(function () {
7152
7155
  if (Object.keys(StatePagePropertiesContext).length != 0) {
7153
7156
  var secpropobj = {};
@@ -7200,22 +7203,23 @@ var Wishlist = function Wishlist(props) {
7200
7203
  cart_btn: css({
7201
7204
  width: sectionproperties.cartBtnWidth + 'px',
7202
7205
  height: sectionproperties.cartBtnHeight + 'px',
7203
- background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
7206
+ background: sectionproperties.cartBtnbgColor,
7204
7207
  borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
7205
7208
  color: sectionproperties.cartBtnTextcolor,
7206
7209
  textTransform: sectionproperties.cartBtnTexttransform,
7207
7210
  fontWeight: sectionproperties.cartBtnTextfontweight,
7208
7211
  border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
7212
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
7209
7213
  transition: '.3s',
7210
7214
  ':hover': {
7211
- background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
7215
+ background: sectionproperties.cartBtnbgColoronhover,
7212
7216
  color: sectionproperties.cartBtnTextcoloronhover,
7213
7217
  borderColor: sectionproperties.cartBtnTextcoloronhover
7214
7218
  }
7215
7219
  }),
7216
7220
  trash_btn: css({
7217
- width: sectionproperties.trashbtn_Width + 'px',
7218
- height: sectionproperties.trashbtn_Height + 'px',
7221
+ width: sectionproperties.trashbtn_Width == 0 ? 'auto' : sectionproperties.trashbtn_Width + 'px',
7222
+ height: sectionproperties.trashbtn_Height == 0 ? 'auto' : sectionproperties.trashbtn_Height + 'px',
7219
7223
  background: sectionproperties.trashbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.trashbtn_bgColor,
7220
7224
  color: sectionproperties.trashbtn_Textcolor,
7221
7225
  borderRadius: sectionproperties.trashbtn_borderBottomLeftRadius + 'px',
@@ -7227,20 +7231,13 @@ var Wishlist = function Wishlist(props) {
7227
7231
  }
7228
7232
  }),
7229
7233
  imagecont: css({
7230
- width: '70px',
7231
- height: '60px',
7232
- border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
7234
+ width: '100px',
7235
+ height: '90px',
7233
7236
  backgroundColor: sectionproperties.prodimage_bgcolor,
7234
- borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
7235
- borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
7236
- borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
7237
- borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
7237
+ borderRadius: sectionproperties.productimageborderradius + 'px',
7238
7238
  display: 'flex',
7239
7239
  alignItems: 'center',
7240
7240
  justifyContent: 'center',
7241
- backgroundRepeat: 'no-repeat',
7242
- backgroundSize: 'cover',
7243
- backgroundPosition: 'center',
7244
7241
  position: 'relative'
7245
7242
  }),
7246
7243
  containerstyle: css({
@@ -7250,6 +7247,23 @@ var Wishlist = function Wishlist(props) {
7250
7247
  '@media (max-width: 800px)': {
7251
7248
  marginTop: sectionproperties.marginTopResp + 'px'
7252
7249
  }
7250
+ }),
7251
+ btnstyles: css({
7252
+ width: sectionproperties.generalbtn_width + '%',
7253
+ height: sectionproperties.generalbtn_height + 'px',
7254
+ borderRadius: sectionproperties.generalbtnborderradius + 'px',
7255
+ background: sectionproperties.generalbtn_bgColor,
7256
+ color: sectionproperties.generalbtn_textColor,
7257
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
7258
+ fontWeight: sectionproperties.generalbtn_fontweight,
7259
+ ':hover': {
7260
+ transition: '.3s',
7261
+ color: sectionproperties.generalbtn_textColoronhover,
7262
+ backgroundColor: sectionproperties.generalbtn_bgColoronhover
7263
+ },
7264
+ '@media (max-width: 800px)': {
7265
+ width: '80%'
7266
+ }
7253
7267
  })
7254
7268
  };
7255
7269
  useEffect(function () {
@@ -7300,10 +7314,7 @@ var Wishlist = function Wishlist(props) {
7300
7314
  margin: 0,
7301
7315
  padding: 0,
7302
7316
  background: sectionproperties.image_bgcolor,
7303
- borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
7304
- borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
7305
- borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
7306
- borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
7317
+ borderRadius: sectionproperties.imageborderradius + 'px',
7307
7318
  zIndex: -1,
7308
7319
  objectFit: sectionproperties.bgcovercontain
7309
7320
  }
@@ -7319,45 +7330,19 @@ var Wishlist = function Wishlist(props) {
7319
7330
  padding: 0,
7320
7331
  objectFit: sectionproperties.bgcovercontainresponsive,
7321
7332
  background: sectionproperties.image_bgcolor,
7322
- borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
7323
- borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
7324
- borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
7325
- borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
7333
+ borderRadius: sectionproperties.imageborderradius + 'px',
7326
7334
  zIndex: -1
7327
7335
  }
7328
- }), /*#__PURE__*/React.createElement("div", {
7329
- className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
7330
- style: {
7331
- position: 'absolute',
7332
- top: 0,
7333
- right: 0,
7334
- bottom: 0,
7335
- left: 0
7336
- }
7337
- }, /*#__PURE__*/React.createElement("p", {
7338
- className: ' m-0 p-0 ',
7339
- style: {
7340
- fontSize: sectionproperties.imagetextfontsize + 'px',
7341
- color: sectionproperties.imagetextcolor,
7342
- textTransform: sectionproperties.imagetexttextTransform,
7343
- fontWeight: sectionproperties.imagetextfontWeight
7344
- }
7345
- }, lang.mywishlist)))), /*#__PURE__*/React.createElement("div", {
7336
+ }))), /*#__PURE__*/React.createElement("div", {
7346
7337
  className: "col-lg-12 p-0"
7347
7338
  }, /*#__PURE__*/React.createElement("div", {
7348
7339
  className: 'row ml-0 mr-0 d-flex justify-content-center w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
7349
7340
  style: {
7350
- width: sectionproperties.width + 'vw',
7351
- paddingLeft: sectionproperties.paddingLeft + 'px',
7352
- paddingRight: sectionproperties.paddingRight + 'px',
7341
+ paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
7342
+ paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
7353
7343
  paddingTop: sectionproperties.paddingTop + 'px',
7354
7344
  paddingBottom: sectionproperties.paddingBottom + 'px',
7355
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
7356
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
7357
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
7358
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
7359
- borderColor: sectionproperties.sectioncardbordercolor,
7360
- border: sectionproperties.sectioncardborderwidth + 'px solid'
7345
+ borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
7361
7346
  }
7362
7347
  }, /*#__PURE__*/React.createElement("div", {
7363
7348
  className: 'col-lg-12 p-0'
@@ -7367,24 +7352,118 @@ var Wishlist = function Wishlist(props) {
7367
7352
  })), /*#__PURE__*/React.createElement("div", {
7368
7353
  className: 'col-lg-12 p-0'
7369
7354
  }, fetchFavoriteProductsQueryContext.isFetching && /*#__PURE__*/React.createElement("div", {
7370
- className: "w-100 d-flex align-items-center justify-content-center",
7355
+ className: "row m-0 w-100 align-items-center justify-content-center",
7356
+ style: {
7357
+ height: '50vh',
7358
+ padding: '20px'
7359
+ }
7360
+ }, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React.createElement("div", {
7361
+ className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
7362
+ style: {
7363
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
7364
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
7365
+ }
7366
+ }, /*#__PURE__*/React.createElement("p", {
7367
+ "class": "m-0 p-0 mt-5 mt-sm-2",
7368
+ style: {
7369
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
7370
+ color: sectionproperties.sectionTitleColor,
7371
+ fontWeight: sectionproperties.sectionTitleFontWeight
7372
+ }
7373
+ }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
7374
+ "class": "col-lg-12 p-0 d-flex d-md-none"
7375
+ }, /*#__PURE__*/React.createElement("table", {
7376
+ className: 'table'
7377
+ }, /*#__PURE__*/React.createElement("thead", {
7378
+ className: ""
7379
+ }, /*#__PURE__*/React.createElement("th", {
7380
+ className: 'mw-150 mw-md-300'
7381
+ }, /*#__PURE__*/React.createElement("p", {
7382
+ "class": "my-1 is-loading"
7383
+ })), /*#__PURE__*/React.createElement("th", {
7384
+ className: "text-center",
7385
+ style: {
7386
+ minWidth: '100px'
7387
+ }
7388
+ }, /*#__PURE__*/React.createElement("p", {
7389
+ "class": "my-1 is-loading"
7390
+ })), /*#__PURE__*/React.createElement("th", {
7391
+ className: "text-center"
7392
+ }, /*#__PURE__*/React.createElement("p", {
7393
+ "class": "my-1 is-loading"
7394
+ }))), /*#__PURE__*/React.createElement("tbody", null, _toConsumableArray(Array(3)).map(function (item, index) {
7395
+ return /*#__PURE__*/React.createElement("tr", {
7396
+ className: ""
7397
+ }, /*#__PURE__*/React.createElement("td", {
7398
+ className: "mw-150 mw-md-300"
7399
+ }, /*#__PURE__*/React.createElement("p", {
7400
+ "class": "my-1 is-loading"
7401
+ })), /*#__PURE__*/React.createElement("td", {
7402
+ className: "text-center",
7403
+ style: {
7404
+ minWidth: '100px'
7405
+ }
7406
+ }, /*#__PURE__*/React.createElement("p", {
7407
+ "class": "my-1 is-loading"
7408
+ })), /*#__PURE__*/React.createElement("td", {
7409
+ className: "text-center",
7410
+ style: {
7411
+ minWidth: '100px'
7412
+ }
7413
+ }, /*#__PURE__*/React.createElement("p", {
7414
+ "class": "my-1 is-loading"
7415
+ })));
7416
+ })))), /*#__PURE__*/React.createElement("div", {
7417
+ "class": "col-lg-12 p-0 d-none d-md-flex"
7418
+ }, /*#__PURE__*/React.createElement("div", {
7419
+ className: "row m-0 w-100 align-items-center justify-content-center",
7371
7420
  style: {
7372
7421
  height: '50vh'
7373
7422
  }
7374
- }, /*#__PURE__*/React.createElement(Messaging, {
7375
- color: "#ccc",
7376
- width: "10px",
7377
- height: "10px",
7378
- duration: "1s"
7379
- })), !fetchFavoriteProductsQueryContext.isFetching && fetchFavoriteProductsQueryContext.isSuccess && /*#__PURE__*/React.createElement("div", {
7423
+ }, _toConsumableArray(Array(3)).map(function (item, index) {
7424
+ return /*#__PURE__*/React.createElement("div", {
7425
+ "class": "col-lg-12 p-0"
7426
+ }, /*#__PURE__*/React.createElement("div", {
7427
+ "class": "row m-0 w-100"
7428
+ }, /*#__PURE__*/React.createElement("div", {
7429
+ className: ' col-3 p-0 '
7430
+ }, /*#__PURE__*/React.createElement("div", {
7431
+ className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 is-loading image '
7432
+ })), /*#__PURE__*/React.createElement("div", {
7433
+ className: "col-9 pt-2"
7434
+ }, /*#__PURE__*/React.createElement("div", {
7435
+ "class": "row m-0 w-100 d-flex"
7436
+ }, /*#__PURE__*/React.createElement("div", {
7437
+ "class": "col-10 p-0 mb-1"
7438
+ }, /*#__PURE__*/React.createElement("p", {
7439
+ className: ' m-0 p-0 is-loading mb-auto '
7440
+ })), /*#__PURE__*/React.createElement("div", {
7441
+ "class": "col-lg-12 p-0"
7442
+ }, /*#__PURE__*/React.createElement("p", {
7443
+ "class": ' m-0 p-0 is-loading '
7444
+ })))), /*#__PURE__*/React.createElement("div", {
7445
+ "class": "col-lg-12 allcentered p-0 mt-4"
7446
+ }, /*#__PURE__*/React.createElement("button", {
7447
+ className: ' w-100 is-loading ',
7448
+ style: {
7449
+ height: sectionproperties.cartBtnHeight + 'px'
7450
+ }
7451
+ })), /*#__PURE__*/React.createElement("div", {
7452
+ "class": "col-lg-12 p-0 my-3",
7453
+ style: {
7454
+ background: '#eee',
7455
+ height: 1,
7456
+ width: '100%'
7457
+ }
7458
+ })));
7459
+ })))), !fetchFavoriteProductsQueryContext.isFetching && fetchFavoriteProductsQueryContext.isSuccess && /*#__PURE__*/React.createElement("div", {
7380
7460
  className: "row ml-0 mr-0 w-100 "
7381
7461
  }, /*#__PURE__*/React.createElement("div", {
7382
7462
  className: 'col-lg-12 d-flex w-100 p-0'
7383
- }, sectionproperties.pagedesign == 'Design 1 (Cards)' && /*#__PURE__*/React.createElement("div", {
7463
+ }, sectionproperties.pagedesign == 'Design 1 (Cards)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && /*#__PURE__*/React.createElement("div", {
7384
7464
  className: 'row m-0 d-flex justify-content-center w-100',
7385
7465
  style: {
7386
7466
  background: sectionproperties.reservation_bgcolor,
7387
- border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor,
7388
7467
  borderRadius: sectionproperties.reservation_borderradius + 'px',
7389
7468
  padding: '20px',
7390
7469
  minHeight: '70vh'
@@ -7449,24 +7528,7 @@ var Wishlist = function Wishlist(props) {
7449
7528
  fontSize: sectionproperties.cartBtnTextfontsize + 'px'
7450
7529
  }
7451
7530
  }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
7452
- })), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React.createElement("div", {
7453
- className: "row m-0 w-100 d-flex align-items-center justify-content-center h-100",
7454
- style: {
7455
- height: '50vh'
7456
- }
7457
- }, /*#__PURE__*/React.createElement("div", {
7458
- className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
7459
- }, /*#__PURE__*/React.createElement(BiSad, {
7460
- size: sectionproperties.noprod_iconfontSize,
7461
- color: sectionproperties.noprod_iconcolor
7462
- }), /*#__PURE__*/React.createElement("p", {
7463
- "class": "m-0 p-0 mt-2",
7464
- style: {
7465
- fontWeight: sectionproperties.noprod_fontWeight,
7466
- color: sectionproperties.noprod_color,
7467
- fontSize: sectionproperties.noprod_fontSize + 'px'
7468
- }
7469
- }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))))), sectionproperties.pagedesign == 'Design 2 (Table)' && /*#__PURE__*/React.createElement("div", {
7531
+ })))), sectionproperties.pagedesign == 'Design 2 (Table)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && /*#__PURE__*/React.createElement("div", {
7470
7532
  className: ' row m-0 w-100 p-sm-3 ',
7471
7533
  style: {
7472
7534
  background: sectionproperties.reservation_bgcolor,
@@ -7476,21 +7538,49 @@ var Wishlist = function Wishlist(props) {
7476
7538
  minHeight: '70vh'
7477
7539
  }
7478
7540
  }, /*#__PURE__*/React.createElement("div", {
7479
- className: ' col-lg-12 table_responsive p-0 '
7541
+ className: ' row m-0 w-100 d-block '
7542
+ }, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React.createElement("div", {
7543
+ className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
7544
+ style: {
7545
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
7546
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
7547
+ }
7548
+ }, /*#__PURE__*/React.createElement("p", {
7549
+ "class": "m-0 p-0 mt-5 mt-sm-2",
7550
+ style: {
7551
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
7552
+ color: sectionproperties.sectionTitleColor,
7553
+ fontWeight: sectionproperties.sectionTitleFontWeight
7554
+ }
7555
+ }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
7556
+ className: ' col-lg-12 table_responsive p-0 d-block d-md-none '
7480
7557
  }, /*#__PURE__*/React.createElement("table", {
7481
7558
  className: 'table'
7482
7559
  }, /*#__PURE__*/React.createElement("thead", {
7483
7560
  className: ""
7484
7561
  }, /*#__PURE__*/React.createElement("th", {
7485
- className: langdetect == 'en' ? 'text-left font-weight-500 font-14 text-light mw-150 mw-md-300' : 'text-right font-weight-500 font-14 text-light mw-150 mw-md-300'
7486
- }, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("th", {
7487
- className: "text-center font-weight-500 font-14 text-light",
7562
+ className: langdetect == 'en' ? 'text-left font-weight-500 font-14 mw-150 mw-md-300' : 'text-right font-weight-500 font-14 mw-150 mw-md-300',
7488
7563
  style: {
7489
- minWidth: '100px'
7564
+ color: sectionproperties.sectionTitleColor
7565
+ }
7566
+ }, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("th", {
7567
+ className: "text-center font-weight-500 font-14",
7568
+ style: {
7569
+ minWidth: '100px',
7570
+ color: sectionproperties.sectionTitleColor
7490
7571
  }
7491
- }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), /*#__PURE__*/React.createElement("th", {
7492
- className: "text-center font-weight-500 font-14 text-light"
7493
- }, lang.remove)), /*#__PURE__*/React.createElement("tbody", null, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
7572
+ }, langdetect == 'en' ? 'Unit Price' : 'السعر'), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("th", {
7573
+ className: "text-center font-weight-500 font-14",
7574
+ style: {
7575
+ minWidth: '100px',
7576
+ color: sectionproperties.sectionTitleColor
7577
+ }
7578
+ }), /*#__PURE__*/React.createElement("th", {
7579
+ className: "text-center font-weight-500 font-14",
7580
+ style: {
7581
+ color: sectionproperties.sectionTitleColor
7582
+ }
7583
+ })), /*#__PURE__*/React.createElement("tbody", null, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
7494
7584
  return /*#__PURE__*/React.createElement("tr", {
7495
7585
  className: "border-none"
7496
7586
  }, /*#__PURE__*/React.createElement("td", {
@@ -7506,14 +7596,28 @@ var Wishlist = function Wishlist(props) {
7506
7596
  style: {
7507
7597
  width: '100%',
7508
7598
  height: '100%',
7509
- objectFit: 'cover'
7599
+ objectFit: 'contain'
7510
7600
  },
7511
7601
  loading: "lazy"
7512
7602
  })), /*#__PURE__*/React.createElement("div", {
7513
- className: "col-lg-9 col-md-9 col-sm-8"
7603
+ className: "col-lg-9 col-md-9 col-sm-8 pt-2"
7514
7604
  }, /*#__PURE__*/React.createElement("p", {
7515
- className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 d-flex justify-content-start mb-auto '
7516
- }, item.name_en)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("td", {
7605
+ className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
7606
+ style: {
7607
+ textAlign: langdetect == 'en' ? 'left' : 'right'
7608
+ }
7609
+ }, item.name_en)))), sectionproperties.prodPriceShow = /*#__PURE__*/React.createElement("td", {
7610
+ className: "text-center",
7611
+ style: {
7612
+ minWidth: '100px'
7613
+ }
7614
+ }, /*#__PURE__*/React.createElement("div", {
7615
+ "class": "row m-0 w-100 allcentered flex-column"
7616
+ }, /*#__PURE__*/React.createElement("p", {
7617
+ "class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
7618
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''), item.hassale == 1 && /*#__PURE__*/React.createElement("p", {
7619
+ "class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mt-2 '
7620
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("td", {
7517
7621
  className: "text-center",
7518
7622
  style: {
7519
7623
  minWidth: '100px'
@@ -7524,28 +7628,7 @@ var Wishlist = function Wishlist(props) {
7524
7628
  setShowProductInfoModalContext(true);
7525
7629
  setProductIdProdutInfoModalContext(item.productid);
7526
7630
  }
7527
- }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
7528
- className: "",
7529
- size: sectionproperties.cartBtn_iconFontSize
7530
- }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
7531
- className: "",
7532
- size: sectionproperties.cartBtn_iconFontSize
7533
- }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
7534
- className: "",
7535
- size: sectionproperties.cartBtn_iconFontSize
7536
- }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(IoBagHandleOutline, {
7537
- className: "",
7538
- size: sectionproperties.cartBtn_iconFontSize
7539
- }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
7540
- className: "",
7541
- size: sectionproperties.cartBtn_iconFontSize
7542
- }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
7543
- className: "",
7544
- size: sectionproperties.cartBtn_iconFontSize
7545
- }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
7546
- className: "",
7547
- size: sectionproperties.cartBtn_iconFontSize
7548
- }))), /*#__PURE__*/React.createElement("td", {
7631
+ }, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React.createElement("td", {
7549
7632
  className: "text-center"
7550
7633
  }, /*#__PURE__*/React.createElement("button", {
7551
7634
  className: " ".concat(wishlist_cssstyles.trash_btn) + ' d-flex align-items-center justify-content-center text-uppercase font-weight-500 m-auto ',
@@ -7555,22 +7638,110 @@ var Wishlist = function Wishlist(props) {
7555
7638
  style: {
7556
7639
  fontSize: sectionproperties.trashbtn_Textfontsize + 'px'
7557
7640
  }
7558
- }, lang.remove)));
7559
- }))), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React.createElement("div", {
7560
- className: "row m-0 w-100 d-flex align-items-center justify-content-center pt-5 pb-5"
7641
+ }, /*#__PURE__*/React.createElement(HiOutlineTrash, {
7642
+ size: sectionproperties.trashbtn_Textfontsize
7643
+ }))));
7644
+ })))), /*#__PURE__*/React.createElement("div", {
7645
+ className: ' col-lg-12 p-0 d-none d-md-flex align-items-center justify-content-start '
7561
7646
  }, /*#__PURE__*/React.createElement("div", {
7562
- className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
7563
- }, /*#__PURE__*/React.createElement(BiSad, {
7564
- size: sectionproperties.noprod_iconfontSize,
7565
- color: sectionproperties.noprod_iconcolor
7566
- }), /*#__PURE__*/React.createElement("p", {
7567
- "class": "m-0 p-0 mt-2",
7647
+ className: ' row m-0 w-100 d-flex align-items-center justify-content-start '
7648
+ }, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
7649
+ return /*#__PURE__*/React.createElement("div", {
7650
+ "class": "col-lg-12 p-0"
7651
+ }, /*#__PURE__*/React.createElement("div", {
7652
+ "class": "row m-0 w-100"
7653
+ }, /*#__PURE__*/React.createElement("div", {
7654
+ className: ' col-3 p-0 '
7655
+ }, /*#__PURE__*/React.createElement("div", {
7656
+ className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 '
7657
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
7658
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
7659
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
7660
+ path: item.productmainimage,
7661
+ style: {
7662
+ width: '100%',
7663
+ height: '100%',
7664
+ objectFit: 'contain'
7665
+ },
7666
+ loading: "lazy"
7667
+ }))), /*#__PURE__*/React.createElement("div", {
7668
+ className: "col-9 pt-2"
7669
+ }, /*#__PURE__*/React.createElement("div", {
7670
+ "class": "row m-0 w-100 d-flex"
7671
+ }, /*#__PURE__*/React.createElement("div", {
7672
+ "class": "col-10 p-0 d-flex align-items-center justify-content-start"
7673
+ }, /*#__PURE__*/React.createElement("p", {
7674
+ className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
7675
+ style: {
7676
+ textAlign: langdetect == 'en' ? 'left' : 'right'
7677
+ }
7678
+ }, item.name_en)), /*#__PURE__*/React.createElement("div", {
7679
+ "class": "col-2 p-0 d-flex align-items-center justify-content-end"
7680
+ }, /*#__PURE__*/React.createElement("button", {
7681
+ className: " ".concat(wishlist_cssstyles.trash_btnresp) + ' allcentered ',
7682
+ onClick: function onClick() {
7683
+ addtofavoritescontext(item.productid);
7684
+ }
7685
+ }, /*#__PURE__*/React.createElement(HiOutlineTrash, {
7686
+ size: sectionproperties.trashbtn_Textfontsize
7687
+ }))), sectionproperties.prodPriceShow = /*#__PURE__*/React.createElement("div", {
7688
+ "class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
7689
+ }, /*#__PURE__*/React.createElement("p", {
7690
+ "class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
7691
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''), item.hassale == 1 && /*#__PURE__*/React.createElement("p", {
7692
+ "class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mx-2 mt-auto '
7693
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : '')))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
7694
+ "class": "col-lg-12 allcentered p-0 mt-4"
7695
+ }, /*#__PURE__*/React.createElement("button", {
7696
+ className: "".concat(wishlist_cssstyles.cart_btn) + ' w-100 ',
7697
+ onClick: function onClick() {
7698
+ setShowProductInfoModalContext(true);
7699
+ setProductIdProdutInfoModalContext(item.productid);
7700
+ }
7701
+ }, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React.createElement("div", {
7702
+ "class": "col-lg-12 p-0 my-3",
7703
+ style: {
7704
+ background: '#eee',
7705
+ height: 1,
7706
+ width: '100%'
7707
+ }
7708
+ })));
7709
+ }))))), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React.createElement("div", {
7710
+ className: "row m-0 w-100 d-flex justify-content-center pt-5 pb-5",
7711
+ style: {
7712
+ maxHeight: '60vh',
7713
+ padding: '20px'
7714
+ }
7715
+ }, /*#__PURE__*/React.createElement("div", {
7716
+ className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
7717
+ style: {
7718
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
7719
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
7720
+ }
7721
+ }, /*#__PURE__*/React.createElement("p", {
7722
+ "class": "m-0 p-0 mt-5 mt-sm-2",
7723
+ style: {
7724
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
7725
+ color: sectionproperties.sectionTitleColor,
7726
+ fontWeight: sectionproperties.sectionTitleFontWeight
7727
+ }
7728
+ }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
7729
+ className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-3 '
7730
+ }, /*#__PURE__*/React.createElement("p", {
7731
+ "class": sectionproperties.noprod_iconfontSize == 0 ? 'm-0 p-0' : 'm-0 p-0 mt-2',
7568
7732
  style: {
7569
7733
  fontWeight: sectionproperties.noprod_fontWeight,
7570
7734
  color: sectionproperties.noprod_color,
7571
7735
  fontSize: sectionproperties.noprod_fontSize + 'px'
7572
7736
  }
7573
- }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))))))))), /*#__PURE__*/React.createElement("div", {
7737
+ }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)), /*#__PURE__*/React.createElement("div", {
7738
+ className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-5 '
7739
+ }, /*#__PURE__*/React.createElement("button", {
7740
+ "class": "".concat(wishlist_cssstyles.btnstyles),
7741
+ onClick: function onClick() {
7742
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
7743
+ }
7744
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))), /*#__PURE__*/React.createElement("div", {
7574
7745
  className: "col-lg-12 d-flex align-items-center justify-content-center p-0 "
7575
7746
  })));
7576
7747
  };
@@ -7601,6 +7772,10 @@ var Viewcart = function Viewcart(props) {
7601
7772
  _useState4 = _slicedToArray(_useState3, 2);
7602
7773
  _useState4[0];
7603
7774
  var setimagesarray = _useState4[1];
7775
+ var _useState5 = useState([]),
7776
+ _useState6 = _slicedToArray(_useState5, 2),
7777
+ bgimagesarray = _useState6[0],
7778
+ setbgimagesarray = _useState6[1];
7604
7779
  useEffect(function () {
7605
7780
  if (Object.keys(StatePagePropertiesContext).length != 0) {
7606
7781
  var _StatePagePropertiesC;
@@ -7627,6 +7802,16 @@ var Viewcart = function Viewcart(props) {
7627
7802
  }
7628
7803
  }
7629
7804
  }, [sectionproperties]);
7805
+ useEffect(function () {
7806
+ if (sectionproperties.length != 0) {
7807
+ if (sectionproperties.arrayofobjectimagesonly != null) {
7808
+ var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
7809
+ if (Array.isArray(arrayofobjectimagesonlyparsed)) {
7810
+ setbgimagesarray(_toConsumableArray(arrayofobjectimagesonlyparsed));
7811
+ }
7812
+ }
7813
+ }
7814
+ }, [sectionproperties]);
7630
7815
  var Summary = function Summary() {
7631
7816
  var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6;
7632
7817
  return /*#__PURE__*/React.createElement("div", {
@@ -7698,6 +7883,23 @@ var Viewcart = function Viewcart(props) {
7698
7883
  }, langdetect == 'en' ? sectionproperties.checkoutButtonContenten : sectionproperties.checkoutButtonContentar)))));
7699
7884
  };
7700
7885
  var viewcart_cssstyles = {
7886
+ btnstyles: css({
7887
+ width: sectionproperties.generalbtn_width + '%',
7888
+ height: sectionproperties.generalbtn_height + 'px',
7889
+ borderRadius: sectionproperties.generalbtnborderradius + 'px',
7890
+ background: sectionproperties.generalbtn_bgColor,
7891
+ color: sectionproperties.generalbtn_textColor,
7892
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
7893
+ fontWeight: sectionproperties.generalbtn_fontweight,
7894
+ ':hover': {
7895
+ transition: '.3s',
7896
+ color: sectionproperties.generalbtn_textColoronhover,
7897
+ backgroundColor: sectionproperties.generalbtn_bgColoronhover
7898
+ },
7899
+ '@media (max-width: 800px)': {
7900
+ width: '80%'
7901
+ }
7902
+ }),
7701
7903
  checkoutbtnstyles: css({
7702
7904
  background: sectionproperties.checkoutBtnbgColortranparent == 'Transparent' ? 'transparent' : sectionproperties.checkoutBtnbgColor,
7703
7905
  width: sectionproperties.checkoutBtnWidth + 'px',
@@ -7832,38 +8034,8 @@ var Viewcart = function Viewcart(props) {
7832
8034
  '@media (max-width: 800px)': {
7833
8035
  paddingTop: sectionproperties.marginTopResp + 'px'
7834
8036
  }
7835
- }),
7836
- shopbuttonstyles: css({
7837
- width: sectionproperties.generalbtn_width == 0 ? '100%' : sectionproperties.generalbtn_width + '%',
7838
- height: sectionproperties.generalbtn_height + 'px',
7839
- borderRadius: sectionproperties.generalbtnborderradius,
7840
- backgroundColor: sectionproperties.generalbtn_bgColor,
7841
- color: sectionproperties.generalbtn_textColor,
7842
- border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
7843
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
7844
- fontWeight: sectionproperties.generalbtn_fontweight,
7845
- ':hover': {
7846
- transition: '.3s',
7847
- backgroundColor: sectionproperties.generalbtn_bgColoronhover,
7848
- color: sectionproperties.generalbtn_textColoronhover,
7849
- borderColor: sectionproperties.generalbtn_textColoronhover
7850
- }
7851
8037
  })
7852
8038
  };
7853
- var _useState5 = useState([]),
7854
- _useState6 = _slicedToArray(_useState5, 2),
7855
- bgimagesarray = _useState6[0],
7856
- setbgimagesarray = _useState6[1];
7857
- useEffect(function () {
7858
- if (sectionproperties.length != 0) {
7859
- if (sectionproperties.arrayofobjectimagesonly != null) {
7860
- var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
7861
- if (Array.isArray(arrayofobjectimagesonlyparsed)) {
7862
- setbgimagesarray(_toConsumableArray(arrayofobjectimagesonlyparsed));
7863
- }
7864
- }
7865
- }
7866
- }, [sectionproperties]);
7867
8039
  return /*#__PURE__*/React.createElement("div", {
7868
8040
  className: viewcart_cssstyles.containerstyles + ' row ml-0 mr-0 w-100 d-flex justify-content-center ',
7869
8041
  style: {}
@@ -7924,16 +8096,11 @@ var Viewcart = function Viewcart(props) {
7924
8096
  }, /*#__PURE__*/React.createElement("div", {
7925
8097
  className: 'row ml-0 mr-0 d-flex justify-content-center w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
7926
8098
  style: {
7927
- paddingLeft: sectionproperties.paddingLeft + 'px',
7928
- paddingRight: sectionproperties.paddingRight + 'px',
8099
+ paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
8100
+ paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
7929
8101
  paddingTop: sectionproperties.paddingTop + 'px',
7930
8102
  paddingBottom: sectionproperties.paddingBottom + 'px',
7931
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
7932
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
7933
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
7934
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
7935
- borderColor: sectionproperties.sectioncardbordercolor,
7936
- border: sectionproperties.sectioncardborderwidth + 'px solid'
8103
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
7937
8104
  }
7938
8105
  }, /*#__PURE__*/React.createElement("div", {
7939
8106
  className: 'col-lg-12 p-0'
@@ -8148,38 +8315,40 @@ var Viewcart = function Viewcart(props) {
8148
8315
  })))))), /*#__PURE__*/React.createElement("div", {
8149
8316
  className: langdetect == 'en' ? ' col-lg-3 pr-0 px-sm-0 mb-4 ' : ' col-lg-3 pl-0 px-sm-0 mb-4'
8150
8317
  }, Summary())), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue9 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : _fetchcustomercartQue9.cartitems.length) == 0 && /*#__PURE__*/React.createElement("div", {
8151
- className: "row m-0 w-100 d-flex align-items-center justify-content-center pt-5 pb-5",
8318
+ className: "row m-0 w-100 d-flex justify-content-center pt-5 pb-5",
8152
8319
  style: {
8153
- height: '60vh'
8320
+ maxHeight: '60vh'
8154
8321
  }
8155
8322
  }, /*#__PURE__*/React.createElement("div", {
8156
- className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
8157
- }, /*#__PURE__*/React.createElement("div", {
8158
- className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
8159
- }, sectionproperties.noproducticontype == 'Cart' && sectionproperties.noprod_iconfontSize != 0 && /*#__PURE__*/React.createElement("img", {
8160
- src: 'https://tabex-co.com/storage/StaticImages/shoppingcart.png',
8323
+ className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
8161
8324
  style: {
8162
- maxWidth: '250px',
8163
- maxHeight: '250px'
8325
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
8326
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
8164
8327
  }
8165
- }), sectionproperties.noproducticontype == 'Calendar' && /*#__PURE__*/React.createElement(FiCalendar, {
8328
+ }, /*#__PURE__*/React.createElement("p", {
8329
+ "class": "m-0 p-0",
8166
8330
  style: {
8167
- fontSize: sectionproperties.noprod_iconfontSize + 'px',
8168
- color: sectionproperties.noprod_iconcolor
8331
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
8332
+ color: sectionproperties.sectionTitleColor,
8333
+ fontWeight: sectionproperties.sectionTitleFontWeight
8169
8334
  }
8170
- }), /*#__PURE__*/React.createElement("p", {
8171
- "class": "m-0 p-0 mt-2",
8335
+ }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
8336
+ className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-3 '
8337
+ }, /*#__PURE__*/React.createElement("p", {
8338
+ "class": sectionproperties.noprod_iconfontSize == 0 ? 'm-0 p-0' : 'm-0 p-0 mt-2',
8172
8339
  style: {
8173
8340
  fontWeight: sectionproperties.noprod_fontWeight,
8174
8341
  color: sectionproperties.noprod_color,
8175
8342
  fontSize: sectionproperties.noprod_fontSize + 'px'
8176
8343
  }
8177
- }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar), /*#__PURE__*/React.createElement("button", {
8178
- className: "".concat(viewcart_cssstyles.shopbuttonstyles) + ' mt-4 d-flex align-items-center justify-content-center ',
8344
+ }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)), /*#__PURE__*/React.createElement("div", {
8345
+ className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-5 '
8346
+ }, /*#__PURE__*/React.createElement("button", {
8347
+ "class": "".concat(viewcart_cssstyles.btnstyles),
8179
8348
  onClick: function onClick() {
8180
8349
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
8181
8350
  }
8182
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))));
8351
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
8183
8352
  };
8184
8353
 
8185
8354
  var css_248z$G = "/* Forms */\n.form-module_form_control__4-RGw {\n display: block;\n width: 100%;\n /* height: 25px; */\n /* font-size: 1rem; */\n font-weight: 500;\n /* color: #444054; */\n /* background-color: white; */\n /* border-radius: 20px; */\n /* box-shadow: 0 0 10px #e6e6e6; */\n /* height: 40px; */\n padding-left: 0;\n padding-right: 0;\n /* font-size: 14px; */\n transition: background 0s ease-out;\n padding: 0 10px;\n}\n.form-module_textarea__zG0ed{\n resize: none;\n /* background-color: #eee; */\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .form-module_form_control__4-RGw {\n transition: none;\n }\n}\n.form-module_form_control__4-RGw::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.form-module_form_control__4-RGw::placeholder {\n color: #eac435;\n opacity: 1;\n}\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.form-module_form_control__4-RGw {\n /* min-height: 100px !important; */\n padding-top: 10px;\n padding-bottom: 10px;\n}\n.form-module_form_control__4-RGw:focus {\n transition-duration: 0.3s;\n box-shadow: none;\n /* box-shadow: 0 0 10px #ccc; */\n}\n.form-module_form_control__4-RGw::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n\n.form-module_form_control_border_none__TJvdZ {\n background-image: none;\n}\n.form-module_form_control__4-RGw.form-module_disabled__AtvSI,\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[disabled] {\n cursor: not-allowed;\n}\n.form-module_input_label_name__416wN {\n font-size: 16px;\n text-transform: capitalize;\n color: var(--cardheader);\n font-weight: 500;\n}\n.form-module_input_label_name-bolder__UQn0a {\n font-weight: 500;\n}\n.form-module_input_icon__X-CzC {\n position: absolute;\n bottom: 5px;\n left: 0;\n color: #d9d9d9;\n}\n/* Radio Buttons */\n.form-module_radiobtn_label__-4Hoi {\n display: flex;\n cursor: pointer;\n font-weight: 500;\n position: relative;\n overflow: hidden;\n margin-bottom: 0;\n}\n.form-module_radiobtn_label__-4Hoi input {\n position: absolute;\n left: -9999px;\n display: none;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span {\n background-color: #f0f5f5;\n color: var(--focus);\n font-weight: 500;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span:before {\n box-shadow: inset 0 0 0 0.3em #eac435;\n}\n.form-module_radiobtn_label__-4Hoi span {\n display: flex;\n align-items: center;\n text-transform: capitalize;\n padding: 0.375em 0.75em 0.375em 0.375em;\n border-radius: 99em;\n transition: 0.25s ease;\n font-weight: normal;\n color: var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi span:hover {\n background-color: #e6e6e6;\n}\n.form-module_radiobtn_label__-4Hoi span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-right: 0.375em;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi.form-module_text-grey__JdZMY span:before {\n box-shadow: inset 0 0 0 0.125em grey;\n}\n.form-module_radiobtn_label__-4Hoi input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n.form-module_radiobtn_label_translated__WN5Jj span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-left: 0.375em;\n margin-right: 0;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label_translated__WN5Jj input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n\n/* Checkbox */\n.form-module_checkbox__XPkWy {\n --border: #022648;\n --border-hover: #959ed0;\n --tick: #fff;\n position: relative;\n /* color: var(--cardheader); */\n}\n.form-module_checkbox_label__VvcKs {\n font-size: 16px;\n text-transform: capitalize;\n font-weight: 500;\n cursor: pointer;\n}\n.form-module_checkbox__XPkWy:hover {\n /* color: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input,\n.form-module_checkbox__XPkWy svg {\n width: 16px;\n height: 16px;\n display: block;\n}\n.form-module_checkbox_sub__QWYil input {\n width: 15px;\n height: 15px;\n}\n.form-module_checkbox__XPkWy input {\n -webkit-appearance: none;\n -moz-appearance: none;\n position: relative;\n outline: none;\n background: white;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n border-radius: 4px;\n transition: box-shadow 0.3s;\n box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));\n}\n.form-module_checkbox__XPkWy input:disabled {\n cursor: not-allowed;\n}\n.form-module_checkbox__XPkWy input:hover {\n /* --s: 2px; */\n /* --b: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input:checked {\n /* --b: var(--secondary); */\n}\n.form-module_checkbox__XPkWy svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n /* stroke: var(--stroke, var(--secondary)); */\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.form-module_checkbox_sub__QWYil svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: var(--stroke, var(--secondary));\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.form-module_checkboxtranslated__zvEV- svg {\n right: 0;\n}\n.form-module_checkbox__XPkWy input:checked {\n --s: 2px;\n transition-delay: 0.4s;\n}\n.form-module_checkbox__XPkWy input:checked + svg {\n --a: 16.1 86.12;\n --o: 102.22;\n}\n.form-module_checkbox__XPkWy svg {\n stroke-dasharray: var(--a, 86.12);\n stroke-dashoffset: var(--o, 86.12);\n transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;\n}\n";
@@ -8495,15 +8664,13 @@ var Checkout = function Checkout(props) {
8495
8664
  })), _defineProperty(_checkoutstyles, "containerstyles", css({
8496
8665
  marginTop: sectionproperties.marginTop + 'px',
8497
8666
  marginBottom: sectionproperties.marginBottom + 'px',
8498
- paddingLeft: sectionproperties.paddingLeft + 'px',
8499
- paddingRight: sectionproperties.paddingRight + 'px',
8667
+ paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
8668
+ paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
8500
8669
  paddingTop: sectionproperties.paddingTop + 'px',
8501
8670
  paddingBottom: sectionproperties.paddingBottom + 'px',
8502
8671
  background: sectionproperties.backgroundColor,
8503
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
8504
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
8505
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
8506
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
8672
+ borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
8673
+ minHeight: '70vh',
8507
8674
  '@media (max-width: 800px)': {
8508
8675
  marginTop: sectionproperties.marginTopResp + 'px'
8509
8676
  }
@@ -8901,13 +9068,16 @@ var Checkout = function Checkout(props) {
8901
9068
  __html: langdetect == 'en' ? sectionproperties.text1editortexten : sectionproperties.text1editortextar
8902
9069
  }
8903
9070
  })), /*#__PURE__*/React.createElement("div", {
8904
- className: "col-lg-12 d-flex align-items-center justify-content-center mb-2 mt-sm-3",
9071
+ className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
8905
9072
  style: {
8906
9073
  marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
8907
9074
  }
8908
9075
  }, /*#__PURE__*/React.createElement("button", {
8909
9076
  className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
8910
9077
  onClick: function onClick() {
9078
+ if (sectionproperties.showpaymentfooter == 'Hide') {
9079
+ cartinfoupdater('paymentmethod', 'cod');
9080
+ }
8911
9081
  addorderfuncrunner();
8912
9082
  // AddOrderMutationContext.mutate(payloadobj);
8913
9083
  },
@@ -8923,7 +9093,9 @@ var Checkout = function Checkout(props) {
8923
9093
  return /*#__PURE__*/React.createElement("div", {
8924
9094
  className: 'row m-0 w-100 d-flex justify-content-center p-sm-0 '
8925
9095
  }, /*#__PURE__*/React.createElement("div", {
8926
- className: checkoutstyles.containerstyles + ' col-lg-12 w-100 d-flex justify-content-center pl-md-3 pr-md-3 pl-sm-2 pr-sm-2 '
9096
+ className: ' col-lg-12 w-100 d-flex justify-content-center p-0 '
9097
+ }, /*#__PURE__*/React.createElement("div", {
9098
+ className: checkoutstyles.containerstyles + ' w-100 d-flex justify-content-center px-md-2 '
8927
9099
  }, /*#__PURE__*/React.createElement("div", {
8928
9100
  className: 'row m-0 w-100 justify-content-center '
8929
9101
  }, /*#__PURE__*/React.createElement("div", {
@@ -9287,7 +9459,7 @@ var Checkout = function Checkout(props) {
9287
9459
  resize: 'none',
9288
9460
  boxShadow: 'none'
9289
9461
  }
9290
- }))))), /*#__PURE__*/React.createElement("div", {
9462
+ }))))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React.createElement("div", {
9291
9463
  className: "col-lg-12 p-0 w-100"
9292
9464
  }, /*#__PURE__*/React.createElement("div", {
9293
9465
  "class": "".concat(checkoutstyles.innersection) + ' w-100 mb-3 '
@@ -9513,7 +9685,7 @@ var Checkout = function Checkout(props) {
9513
9685
  }
9514
9686
  })))))), /*#__PURE__*/React.createElement("div", {
9515
9687
  className: langdetect == 'en' ? 'col-lg-4 col-md-12 pr-0' : 'col-lg-4 col-md-12 pl-0'
9516
- }, Mycart()))));
9688
+ }, Mycart())))));
9517
9689
  };
9518
9690
 
9519
9691
  function ownKeys$2d(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; }
@@ -11984,7 +12156,7 @@ var CartSlider = function CartSlider(props) {
11984
12156
  setsidecartnavshowWorkplaceDesigncontext(false);
11985
12157
  setsidecartnavshowcontext(false);
11986
12158
  },
11987
- placement: "end",
12159
+ placement: langdetect == 'en' ? 'end' : 'start',
11988
12160
  scroll: true,
11989
12161
  style: {
11990
12162
  backgroundColor: sectionproperties.backgroundColor,
@@ -12175,25 +12347,39 @@ var CartSlider = function CartSlider(props) {
12175
12347
  "class": "col-9 p-0 d-flex justify-content-start align-items-center"
12176
12348
  }, /*#__PURE__*/React.createElement("button", {
12177
12349
  className: " ".concat(cart_cssstyles.quantitybtn) + ' px-2 d-flex align-items-center justify-content-center '
12178
- }, /*#__PURE__*/React.createElement("span", {
12350
+ }, langdetect == 'en' && /*#__PURE__*/React.createElement("span", {
12179
12351
  className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
12180
12352
  onClick: function onClick() {
12181
12353
  ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
12182
12354
  }
12183
12355
  }, /*#__PURE__*/React.createElement(FiMinus, {
12184
12356
  size: sectionproperties.remove_quantitybtn_textfontsize
12357
+ })), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
12358
+ className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
12359
+ onClick: function onClick() {
12360
+ ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
12361
+ }
12362
+ }, /*#__PURE__*/React.createElement(FiPlus, {
12363
+ size: sectionproperties.add_quantitybtn_textfontsize
12185
12364
  })), /*#__PURE__*/React.createElement("span", {
12186
12365
  className: "".concat(cart_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
12187
12366
  style: {
12188
12367
  background: 'transparent'
12189
12368
  }
12190
- }, item.quantity), /*#__PURE__*/React.createElement("span", {
12369
+ }, item.quantity), langdetect == 'en' && /*#__PURE__*/React.createElement("span", {
12191
12370
  className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
12192
12371
  onClick: function onClick() {
12193
12372
  ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
12194
12373
  }
12195
12374
  }, /*#__PURE__*/React.createElement(FiPlus, {
12196
12375
  size: sectionproperties.add_quantitybtn_textfontsize
12376
+ })), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
12377
+ className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
12378
+ onClick: function onClick() {
12379
+ ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
12380
+ }
12381
+ }, /*#__PURE__*/React.createElement(FiMinus, {
12382
+ size: sectionproperties.remove_quantitybtn_textfontsize
12197
12383
  })))), /*#__PURE__*/React.createElement("div", {
12198
12384
  "class": "col-3 p-0 d-flex justify-content-end align-items-center"
12199
12385
  }, /*#__PURE__*/React.createElement("p", {
@@ -15219,7 +15405,7 @@ var CardsSection = function CardsSection(props) {
15219
15405
  } else if (item.tabexsectioninfo.sectioncompname == 'Card20') {
15220
15406
  bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto';
15221
15407
  } else if (item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow') {
15222
- bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-6 d-flex justify-content-center p-0 ';
15408
+ bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
15223
15409
  } else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition') {
15224
15410
  bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ';
15225
15411
  } else if (item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard') {
@@ -18617,7 +18803,7 @@ var ElegantHeader = function ElegantHeader(props) {
18617
18803
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
18618
18804
  var lang = props.actions.lang;
18619
18805
  var langdetect = props.actions.langdetect;
18620
- props.actions.setlang;
18806
+ var setlang = props.actions.setlang;
18621
18807
  var templatepropcontext = props.actions.templatepropcontext;
18622
18808
  var authdetailsContext = props.actions.authdetailsContext;
18623
18809
  var templateproperties_context = props.actions.templateproperties_context;
@@ -18948,7 +19134,10 @@ var ElegantHeader = function ElegantHeader(props) {
18948
19134
  }, langdetect == 'en' ? (_textarray$ = textarray[0]) === null || _textarray$ === void 0 ? void 0 : _textarray$.textEnglish : (_textarray$2 = textarray[0]) === null || _textarray$2 === void 0 ? void 0 : _textarray$2.textArabic))), /*#__PURE__*/React.createElement("div", {
18949
19135
  "class": "col-lg-4 p-0 text-end"
18950
19136
  }, langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
18951
- "class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 '
19137
+ "class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
19138
+ onClick: function onClick() {
19139
+ setlang('en');
19140
+ }
18952
19141
  }, /*#__PURE__*/React.createElement("img", {
18953
19142
  src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
18954
19143
  style: {
@@ -18965,7 +19154,10 @@ var ElegantHeader = function ElegantHeader(props) {
18965
19154
  }), /*#__PURE__*/React.createElement("p", {
18966
19155
  "class": "m-0 p-0"
18967
19156
  }, "\u0639")), langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
18968
- "class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 '
19157
+ "class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
19158
+ onClick: function onClick() {
19159
+ setlang('ar');
19160
+ }
18969
19161
  }, /*#__PURE__*/React.createElement("img", {
18970
19162
  src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
18971
19163
  style: {
@@ -18984,7 +19176,7 @@ var ElegantHeader = function ElegantHeader(props) {
18984
19176
  }, "En")), /*#__PURE__*/React.createElement("div", {
18985
19177
  "class": "allcentered"
18986
19178
  }, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
18987
- "class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
19179
+ "class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center pt-1 ',
18988
19180
  sytle: {
18989
19181
  position: 'relative'
18990
19182
  },
@@ -19121,7 +19313,7 @@ var ElegantHeader = function ElegantHeader(props) {
19121
19313
  top: sectionproperties.wishlistbadgetop + 'px',
19122
19314
  right: sectionproperties.wishlistbadgeright + 'px'
19123
19315
  }
19124
- }, /*#__PURE__*/React.createElement("span", null, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
19316
+ }, /*#__PURE__*/React.createElement("span", null, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length == 0 ? 0 : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
19125
19317
  "class": " ".concat(header_cssstyles.cart_btn) + ' cursor-pointer allcentered ',
19126
19318
  onClick: function onClick() {
19127
19319
  setsidecartnavshowcontext(true);
@@ -24318,16 +24510,6 @@ var Simpleheader = function Simpleheader(props) {
24318
24510
  }), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar$1, {
24319
24511
  "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
24320
24512
  }), " ", lang.wishlist))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
24321
- onClick: function onClick() {
24322
- routingcountext(StaticPagesLinksContext.Policies);
24323
- }
24324
- }, /*#__PURE__*/React.createElement("div", {
24325
- "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
24326
- }, /*#__PURE__*/React.createElement("p", {
24327
- "class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
24328
- }, /*#__PURE__*/React.createElement(AiOutlineSecurityScan, {
24329
- "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
24330
- }), lang.policies))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
24331
24513
  onClick: function onClick() {
24332
24514
  LogoutMutationContext.mutate();
24333
24515
  }
@@ -42977,7 +43159,7 @@ var ModernCardsSection = function ModernCardsSection(props) {
42977
43159
  fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
42978
43160
  }
42979
43161
  }, SectionTitle()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
42980
- "class": sectionproperties.sectiontitleposition == 'Centered' ? 'col-lg-12 d-flex align-items-center justify-content-center mb-md-0' : 'col-lg-12 d-flex align-items-center justify-content-start justify-content-md-center mb-md-0',
43162
+ "class": sectionproperties.sectiontitleposition == 'Centered' ? 'col-lg-12 d-flex align-items-center justify-content-center mb-md-0' : 'col-lg-12 d-flex align-items-center justify-content-start justify-content-md-center mb-md-0 p-0',
42981
43163
  style: {
42982
43164
  marginBottom: sectionproperties.descriptionMarginBottom + 'px'
42983
43165
  }
@@ -43040,7 +43222,10 @@ var ModernCardsSection = function ModernCardsSection(props) {
43040
43222
  }, /*#__PURE__*/React.createElement(ScrollMenu, {
43041
43223
  transitionBehavior: 'auto',
43042
43224
  wrapperClassName: '',
43043
- itemClassName: item.tabexsectioninfo.sectioncompname == 'Productcard6' ? 'scrollmenuclassnameitemProductcard6' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? 'scrollmenuclassnameitemProductcardcircularhover' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? 'scrollmenuclassnameitemProductcard_with_circularbg' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation' ? 'scrollmenuclassnameitemProductcard_with_slideanimation' : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons' ? 'scrollmenuclassnameitemProductcard_animatedbuttons' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants' ? 'scrollmenuclassnameitemProductcard_with_variants' : item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard' ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg' ? 'scrollmenuclassnameitemCategorycard_with_trianglebg' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover' ? 'scrollmenuclassnameitemProductcard_with_textonhover' : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled' ? 'scrollmenuclassnameitemCategorycard_slidebgscaled' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_Categorycard_fullimage' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard' ? 'scrollmenuclassnameitemUpSlideEffectCard' : '',
43225
+ itemClassName: item.tabexsectioninfo.sectioncompname == 'Productcard6' ? 'scrollmenuclassnameitemProductcard6' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? 'scrollmenuclassnameitemProductcardcircularhover' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? 'scrollmenuclassnameitemProductcard_with_circularbg' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation' ? 'scrollmenuclassnameitemProductcard_with_slideanimation' : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons' ? 'scrollmenuclassnameitemProductcard_animatedbuttons' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants' ? 'scrollmenuclassnameitemProductcard_with_variants' : item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' :
43226
+ // : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard'
43227
+ // ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard '
43228
+ item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg' ? 'scrollmenuclassnameitemCategorycard_with_trianglebg' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover' ? 'scrollmenuclassnameitemProductcard_with_textonhover' : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled' ? 'scrollmenuclassnameitemCategorycard_slidebgscaled' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_Categorycard_fullimage' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard' ? 'scrollmenuclassnameitemUpSlideEffectCard' : '',
43044
43229
  scrollContainerClassName: 'scrollmenuclasssubscrollbar'
43045
43230
  }, cardsarray.map(function (cardinfoitem, cardinfoindex) {
43046
43231
  return /*#__PURE__*/React.createElement("div", {
@@ -47230,18 +47415,14 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47230
47415
  }, [sectionproperties]);
47231
47416
  var sectionstyles = {
47232
47417
  btnstyles: css({
47233
- width: sectionproperties.generalbtn_width + 'px',
47418
+ width: sectionproperties.generalbtn_width + '%',
47234
47419
  height: sectionproperties.generalbtn_height + 'px',
47235
47420
  background: sectionproperties.generalbtn_bgColor,
47236
- borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
47237
- borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
47238
- borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
47239
- borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
47421
+ borderRadius: sectionproperties.generalbtnborderradius + 'px',
47240
47422
  border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
47241
47423
  color: sectionproperties.generalbtn_textColor,
47242
47424
  fontSize: sectionproperties.generalbtn_fontsize + 'px',
47243
47425
  fontWeight: sectionproperties.generalbtn_fontweight,
47244
- textTransform: sectionproperties.generalbtn_texttransform,
47245
47426
  ':hover': {
47246
47427
  transition: '.3s',
47247
47428
  background: sectionproperties.generalbtn_bgColoronhover,
@@ -47299,6 +47480,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47299
47480
  position: 'relative',
47300
47481
  marginLeft: sectionproperties.card_marginLeft + 'px',
47301
47482
  marginRight: sectionproperties.card_marginRight + 'px',
47483
+ backgroundColor: 'white',
47302
47484
  '@media (max-width: 800px)': {
47303
47485
  height: sectionproperties.height_responsive + 'vh'
47304
47486
  }
@@ -47321,7 +47503,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47321
47503
  height: '100%',
47322
47504
  objectFit: 'cover'
47323
47505
  }
47324
- })), sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React.createElement("div", {
47506
+ })), sectionproperties.sectionstyletype == 'Style 1' && /*#__PURE__*/React.createElement("div", {
47325
47507
  "class": "row m-0 w-100 justify-content-center mt-sm-5 mb-sm-5"
47326
47508
  }, /*#__PURE__*/React.createElement("div", {
47327
47509
  "class": "col-lg-6 col-md-9 col-sm-9 p-0 mt-auto mb-auto text-align-start"
@@ -47387,7 +47569,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47387
47569
  // onClick={() => {
47388
47570
  // routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
47389
47571
  // }}
47390
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), sectionproperties.cardstyletype == 'Style 2' && /*#__PURE__*/React.createElement("div", {
47572
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), sectionproperties.sectionstyletype == 'Style 2' && /*#__PURE__*/React.createElement("div", {
47391
47573
  "class": "row m-0 w-100 allcentered",
47392
47574
  style: {
47393
47575
  zIndex: 2
@@ -47456,9 +47638,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47456
47638
  getOptionValue: function getOptionValue(option) {
47457
47639
  return option.collectionid;
47458
47640
  },
47459
- autocomplete: "new-password"
47460
- // value={fetchTabexCountriesQueryContext.data.data.countries.filter((option) => option.id == props?.payloadobj?.countryid)}
47461
- ,
47641
+ autocomplete: "new-password",
47462
47642
  onChange: function onChange(option) {
47463
47643
  var temp = payloadobj;
47464
47644
  temp.collections = [];
@@ -47470,10 +47650,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47470
47650
  placeholder: ''
47471
47651
  })), /*#__PURE__*/React.createElement("div", {
47472
47652
  "class": sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Show' && sectionproperties.showpricerange == 'Show' ? 'col-lg-8 p-0' : sectionproperties.showpricerange == 'Show' ? 'col-lg-9 p-0' : sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Hide' ? 'col-lg-8 p-0' : 'col-lg-12 p-0'
47473
- }, /*#__PURE__*/React.createElement(CustomerAddressForm
47474
- // customeraddressrequierd={customeraddressrequierd}
47475
- // payloadobj={payloadobj}
47476
- , {
47653
+ }, /*#__PURE__*/React.createElement(CustomerAddressForm, {
47477
47654
  payloadobj: payloadobj,
47478
47655
  setpayloadobj: setpayloadobj,
47479
47656
  sectionproperties: sectionproperties
@@ -47554,7 +47731,191 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47554
47731
  routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
47555
47732
  }
47556
47733
  }
47557
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
47734
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), sectionproperties.sectionstyletype == 'Style 3' && /*#__PURE__*/React.createElement("div", {
47735
+ "class": "row m-0 w-100 allcentered mt-auto mb-4 px-4",
47736
+ style: {
47737
+ zIndex: 2
47738
+ }
47739
+ }, /*#__PURE__*/React.createElement("div", {
47740
+ "class": "row m-0 w-100 d-flex align-items-center justify-content-start"
47741
+ }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
47742
+ "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
47743
+ }, /*#__PURE__*/React.createElement("div", {
47744
+ "class": "wordbreak",
47745
+ style: {
47746
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
47747
+ color: sectionproperties.sectionTitleColor,
47748
+ textTransform: sectionproperties.sectionTitleTextTransform,
47749
+ fontWeight: sectionproperties.sectionTitleFontWeight,
47750
+ textAlign: langdetect == 'en' ? 'left' : 'right',
47751
+ marginBottom: sectionproperties.prodCatShow == 'Show' ? 0 : 20
47752
+ }
47753
+ }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
47754
+ "class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
47755
+ }, /*#__PURE__*/React.createElement("div", {
47756
+ style: {
47757
+ fontSize: sectionproperties.prodCatFontSize + 'px',
47758
+ color: sectionproperties.prodCatColor,
47759
+ textTransform: sectionproperties.prodCatTextTranform,
47760
+ fontWeight: sectionproperties.prodCatFontWeight,
47761
+ maxWidth: '500px'
47762
+ }
47763
+ }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React.createElement("div", {
47764
+ "class": 'col-lg-10 col-md-12 col-sm-12 allcentered mt-3',
47765
+ style: {
47766
+ backgroundColor: sectionproperties.reservation_bgcolor,
47767
+ borderRadius: sectionproperties.reservation_borderradius + 'px',
47768
+ paddingTop: sectionproperties.reservation_padding_top + 'px',
47769
+ paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
47770
+ paddingLeft: sectionproperties.reservation_padding_left + 'px',
47771
+ paddingRight: sectionproperties.reservation_padding_right + 'px'
47772
+ }
47773
+ }, /*#__PURE__*/React.createElement("div", {
47774
+ "class": "row m-0 w-100 allcentered"
47775
+ }, /*#__PURE__*/React.createElement("div", {
47776
+ "class": "col-lg-12 p-0"
47777
+ }, /*#__PURE__*/React.createElement("div", {
47778
+ "class": "row m-0 w-100 d-flex align-items-center justify-content-start"
47779
+ }, /*#__PURE__*/React.createElement("div", {
47780
+ "class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
47781
+ }, /*#__PURE__*/React.createElement("label", {
47782
+ className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
47783
+ style: {
47784
+ textAlign: langdetect == 'en' ? 'left' : 'right'
47785
+ }
47786
+ }, langdetect == 'en' ? 'Brand' : 'الماركة'), /*#__PURE__*/React.createElement("div", {
47787
+ "class": 'col-lg-12 p-0'
47788
+ }, /*#__PURE__*/React.createElement(Select$5, {
47789
+ options: [{
47790
+ label: 'Tesla',
47791
+ value: 1
47792
+ }, {
47793
+ label: 'VW',
47794
+ value: 0
47795
+ }, {
47796
+ label: 'BYD',
47797
+ value: 0
47798
+ }],
47799
+ styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
47800
+ placeholder: ''
47801
+ }))), /*#__PURE__*/React.createElement("div", {
47802
+ "class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
47803
+ }, /*#__PURE__*/React.createElement("label", {
47804
+ className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
47805
+ style: {
47806
+ textAlign: langdetect == 'en' ? 'left' : 'right'
47807
+ }
47808
+ }, langdetect == 'en' ? 'KM' : 'KM'), /*#__PURE__*/React.createElement("div", {
47809
+ "class": 'col-lg-12 p-0'
47810
+ }, /*#__PURE__*/React.createElement(Select$5, {
47811
+ options: [{
47812
+ label: '100000',
47813
+ value: 1
47814
+ }, {
47815
+ label: '50000',
47816
+ value: 0
47817
+ }, {
47818
+ label: '30000',
47819
+ value: 0
47820
+ }],
47821
+ styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
47822
+ placeholder: ''
47823
+ }))), /*#__PURE__*/React.createElement("div", {
47824
+ "class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
47825
+ }, /*#__PURE__*/React.createElement("label", {
47826
+ className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
47827
+ style: {
47828
+ textAlign: langdetect == 'en' ? 'left' : 'right'
47829
+ }
47830
+ }, langdetect == 'en' ? 'Model Year' : 'السنة'), /*#__PURE__*/React.createElement("div", {
47831
+ "class": 'col-lg-12 p-0'
47832
+ }, /*#__PURE__*/React.createElement(Select$5, {
47833
+ options: [{
47834
+ label: '2023',
47835
+ value: 1
47836
+ }, {
47837
+ label: '2022',
47838
+ value: 0
47839
+ }, {
47840
+ label: '2021',
47841
+ value: 0
47842
+ }],
47843
+ styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
47844
+ placeholder: ''
47845
+ }))), /*#__PURE__*/React.createElement("div", {
47846
+ className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-md-3 '
47847
+ }, /*#__PURE__*/React.createElement("label", {
47848
+ className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
47849
+ style: {
47850
+ textAlign: langdetect == 'en' ? 'left' : 'right'
47851
+ }
47852
+ }, langdetect == 'en' ? 'Price' : 'السعر'), /*#__PURE__*/React.createElement("div", {
47853
+ "class": 'col-lg-12 pl-4 pr-4 mt-2 mb-2',
47854
+ style: {
47855
+ direction: 'ltr'
47856
+ }
47857
+ }, /*#__PURE__*/React.createElement(InputRange, {
47858
+ draggableTrack: true,
47859
+ formatLabel: function formatLabel(value) {
47860
+ return "".concat(value);
47861
+ },
47862
+ maxValue: parseInt(sectionproperties.filterpricemaxvalue),
47863
+ minValue: parseInt(sectionproperties.filterpriceminvalue),
47864
+ value: pricevalue,
47865
+ onChange: function onChange(value) {
47866
+ setpricevalue(_objectSpread$16({}, value));
47867
+ }
47868
+ }))), /*#__PURE__*/React.createElement("div", {
47869
+ "class": "col-lg-1"
47870
+ }), /*#__PURE__*/React.createElement("div", {
47871
+ "class": "col-lg-2 col-md-12 d-flex align-items-center justify-content-end"
47872
+ }, /*#__PURE__*/React.createElement("button", {
47873
+ "class": sectionstyles.btnstyles + ' allcentered ',
47874
+ onClick: function onClick() {
47875
+ var _payloadobj$countryid2, _payloadobj$stateid2, _payloadobj$cityid2, _pricevalue$min2, _pricevalue$max2;
47876
+ var tempfetchproductsfilerobjcontext = _objectSpread$16({}, fetchproductsfilerobjcontext);
47877
+ 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) {
47878
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
47879
+ tempfetchproductsfilerobjcontext.country_ids = [payloadobj.countryid];
47880
+ } else {
47881
+ tempfetchproductsfilerobjcontext.countryid = payloadobj.countryid;
47882
+ }
47883
+ }
47884
+ 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) {
47885
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
47886
+ tempfetchproductsfilerobjcontext.state_ids = [payloadobj.stateid];
47887
+ } else {
47888
+ tempfetchproductsfilerobjcontext.stateid = payloadobj.stateid;
47889
+ }
47890
+ }
47891
+ 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) {
47892
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
47893
+ tempfetchproductsfilerobjcontext.city_ids = [payloadobj.cityid];
47894
+ } else {
47895
+ tempfetchproductsfilerobjcontext.cityid = payloadobj.cityid;
47896
+ }
47897
+ }
47898
+ if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.collections) != null && payloadobj.collections.length != 0) {
47899
+ tempfetchproductsfilerobjcontext.collections = payloadobj.collections;
47900
+ }
47901
+ 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) {
47902
+ tempfetchproductsfilerobjcontext.price_min = pricevalue.min;
47903
+ }
47904
+ 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) {
47905
+ if (sectionproperties.showpricerange == 'Hide') {
47906
+ tempfetchproductsfilerobjcontext.price_max = 99999999999999;
47907
+ } else {
47908
+ tempfetchproductsfilerobjcontext.price_max = pricevalue.max;
47909
+ }
47910
+ }
47911
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
47912
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
47913
+ }
47914
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Vendors') {
47915
+ routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
47916
+ }
47917
+ }
47918
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))))));
47558
47919
  };
47559
47920
 
47560
47921
  function ownKeys$15(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; }
@@ -65403,7 +65764,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
65403
65764
  }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
65404
65765
  size: sectionproperties.cartBtn_iconFontSize
65405
65766
  })), langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React.createElement("div", {
65406
- "class": "col-lg-12 d-flex align-items-center",
65767
+ "class": "col-lg-12 d-flex align-items-center p-0",
65407
65768
  style: {
65408
65769
  justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
65409
65770
  }