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.cjs.js +586 -225
- package/dist/index.esm.js +586 -225
- package/dist/index.umd.js +586 -225
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -58,7 +58,7 @@ var HiOutlineChevronLeft = require('@react-icons/all-files/hi/HiOutlineChevronLe
|
|
|
58
58
|
var GoGlobe = require('@react-icons/all-files/go/GoGlobe');
|
|
59
59
|
var VscGlobe = require('@react-icons/all-files/vsc/VscGlobe');
|
|
60
60
|
var HiOutlineTrash = require('@react-icons/all-files/hi/HiOutlineTrash');
|
|
61
|
-
|
|
61
|
+
require('@react-icons/all-files/bi/BiSad');
|
|
62
62
|
var FiCalendar = require('@react-icons/all-files/fi/FiCalendar');
|
|
63
63
|
var Dropdown = require('react-bootstrap/Dropdown');
|
|
64
64
|
var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
|
|
@@ -7178,14 +7178,16 @@ function ownKeys$2g(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySym
|
|
|
7178
7178
|
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__default["default"](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; }
|
|
7179
7179
|
var Wishlist = function Wishlist(props) {
|
|
7180
7180
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
7181
|
-
|
|
7181
|
+
props.actions.lang;
|
|
7182
7182
|
var langdetect = props.actions.langdetect;
|
|
7183
|
+
var routingcountext = props.actions.routingcountext;
|
|
7183
7184
|
var fetchFavoriteProductsQueryContext = props.actions.fetchFavoriteProductsQueryContext;
|
|
7184
7185
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
7185
7186
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
7186
7187
|
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
7187
7188
|
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
7188
7189
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
7190
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
7189
7191
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
7190
7192
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
7191
7193
|
var actions = props.actions;
|
|
@@ -7197,6 +7199,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7197
7199
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
7198
7200
|
bgimagesarray = _useState4[0],
|
|
7199
7201
|
setbgimagesarray = _useState4[1];
|
|
7202
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
7200
7203
|
React.useEffect(function () {
|
|
7201
7204
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
7202
7205
|
var secpropobj = {};
|
|
@@ -7249,22 +7252,23 @@ var Wishlist = function Wishlist(props) {
|
|
|
7249
7252
|
cart_btn: glamor.css({
|
|
7250
7253
|
width: sectionproperties.cartBtnWidth + 'px',
|
|
7251
7254
|
height: sectionproperties.cartBtnHeight + 'px',
|
|
7252
|
-
background: sectionproperties.
|
|
7255
|
+
background: sectionproperties.cartBtnbgColor,
|
|
7253
7256
|
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
7254
7257
|
color: sectionproperties.cartBtnTextcolor,
|
|
7255
7258
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
7256
7259
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
7257
7260
|
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
7261
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
7258
7262
|
transition: '.3s',
|
|
7259
7263
|
':hover': {
|
|
7260
|
-
background: sectionproperties.
|
|
7264
|
+
background: sectionproperties.cartBtnbgColoronhover,
|
|
7261
7265
|
color: sectionproperties.cartBtnTextcoloronhover,
|
|
7262
7266
|
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
7263
7267
|
}
|
|
7264
7268
|
}),
|
|
7265
7269
|
trash_btn: glamor.css({
|
|
7266
|
-
width: sectionproperties.trashbtn_Width + 'px',
|
|
7267
|
-
height: sectionproperties.trashbtn_Height + 'px',
|
|
7270
|
+
width: sectionproperties.trashbtn_Width == 0 ? 'auto' : sectionproperties.trashbtn_Width + 'px',
|
|
7271
|
+
height: sectionproperties.trashbtn_Height == 0 ? 'auto' : sectionproperties.trashbtn_Height + 'px',
|
|
7268
7272
|
background: sectionproperties.trashbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.trashbtn_bgColor,
|
|
7269
7273
|
color: sectionproperties.trashbtn_Textcolor,
|
|
7270
7274
|
borderRadius: sectionproperties.trashbtn_borderBottomLeftRadius + 'px',
|
|
@@ -7276,20 +7280,13 @@ var Wishlist = function Wishlist(props) {
|
|
|
7276
7280
|
}
|
|
7277
7281
|
}),
|
|
7278
7282
|
imagecont: glamor.css({
|
|
7279
|
-
width: '
|
|
7280
|
-
height: '
|
|
7281
|
-
border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
|
|
7283
|
+
width: '100px',
|
|
7284
|
+
height: '90px',
|
|
7282
7285
|
backgroundColor: sectionproperties.prodimage_bgcolor,
|
|
7283
|
-
|
|
7284
|
-
borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
|
|
7285
|
-
borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
|
|
7286
|
-
borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
|
|
7286
|
+
borderRadius: sectionproperties.productimageborderradius + 'px',
|
|
7287
7287
|
display: 'flex',
|
|
7288
7288
|
alignItems: 'center',
|
|
7289
7289
|
justifyContent: 'center',
|
|
7290
|
-
backgroundRepeat: 'no-repeat',
|
|
7291
|
-
backgroundSize: 'cover',
|
|
7292
|
-
backgroundPosition: 'center',
|
|
7293
7290
|
position: 'relative'
|
|
7294
7291
|
}),
|
|
7295
7292
|
containerstyle: glamor.css({
|
|
@@ -7299,6 +7296,23 @@ var Wishlist = function Wishlist(props) {
|
|
|
7299
7296
|
'@media (max-width: 800px)': {
|
|
7300
7297
|
marginTop: sectionproperties.marginTopResp + 'px'
|
|
7301
7298
|
}
|
|
7299
|
+
}),
|
|
7300
|
+
btnstyles: glamor.css({
|
|
7301
|
+
width: sectionproperties.generalbtn_width + '%',
|
|
7302
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
7303
|
+
borderRadius: sectionproperties.generalbtnborderradius + 'px',
|
|
7304
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
7305
|
+
color: sectionproperties.generalbtn_textColor,
|
|
7306
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
7307
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
7308
|
+
':hover': {
|
|
7309
|
+
transition: '.3s',
|
|
7310
|
+
color: sectionproperties.generalbtn_textColoronhover,
|
|
7311
|
+
backgroundColor: sectionproperties.generalbtn_bgColoronhover
|
|
7312
|
+
},
|
|
7313
|
+
'@media (max-width: 800px)': {
|
|
7314
|
+
width: '80%'
|
|
7315
|
+
}
|
|
7302
7316
|
})
|
|
7303
7317
|
};
|
|
7304
7318
|
React.useEffect(function () {
|
|
@@ -7349,10 +7363,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7349
7363
|
margin: 0,
|
|
7350
7364
|
padding: 0,
|
|
7351
7365
|
background: sectionproperties.image_bgcolor,
|
|
7352
|
-
|
|
7353
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
7354
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
7355
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
7366
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
7356
7367
|
zIndex: -1,
|
|
7357
7368
|
objectFit: sectionproperties.bgcovercontain
|
|
7358
7369
|
}
|
|
@@ -7368,45 +7379,19 @@ var Wishlist = function Wishlist(props) {
|
|
|
7368
7379
|
padding: 0,
|
|
7369
7380
|
objectFit: sectionproperties.bgcovercontainresponsive,
|
|
7370
7381
|
background: sectionproperties.image_bgcolor,
|
|
7371
|
-
|
|
7372
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
7373
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
7374
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
7382
|
+
borderRadius: sectionproperties.imageborderradius + 'px',
|
|
7375
7383
|
zIndex: -1
|
|
7376
7384
|
}
|
|
7377
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7378
|
-
className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
|
|
7379
|
-
style: {
|
|
7380
|
-
position: 'absolute',
|
|
7381
|
-
top: 0,
|
|
7382
|
-
right: 0,
|
|
7383
|
-
bottom: 0,
|
|
7384
|
-
left: 0
|
|
7385
|
-
}
|
|
7386
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7387
|
-
className: ' m-0 p-0 ',
|
|
7388
|
-
style: {
|
|
7389
|
-
fontSize: sectionproperties.imagetextfontsize + 'px',
|
|
7390
|
-
color: sectionproperties.imagetextcolor,
|
|
7391
|
-
textTransform: sectionproperties.imagetexttextTransform,
|
|
7392
|
-
fontWeight: sectionproperties.imagetextfontWeight
|
|
7393
|
-
}
|
|
7394
|
-
}, lang.mywishlist)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7385
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7395
7386
|
className: "col-lg-12 p-0"
|
|
7396
7387
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7397
7388
|
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',
|
|
7398
7389
|
style: {
|
|
7399
|
-
|
|
7400
|
-
|
|
7401
|
-
paddingRight: sectionproperties.paddingRight + 'px',
|
|
7390
|
+
paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
|
|
7391
|
+
paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
|
|
7402
7392
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
7403
7393
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
7404
|
-
|
|
7405
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
7406
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
7407
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
7408
|
-
borderColor: sectionproperties.sectioncardbordercolor,
|
|
7409
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
7394
|
+
borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
|
|
7410
7395
|
}
|
|
7411
7396
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7412
7397
|
className: 'col-lg-12 p-0'
|
|
@@ -7416,24 +7401,118 @@ var Wishlist = function Wishlist(props) {
|
|
|
7416
7401
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7417
7402
|
className: 'col-lg-12 p-0'
|
|
7418
7403
|
}, fetchFavoriteProductsQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7419
|
-
className: "w-100
|
|
7404
|
+
className: "row m-0 w-100 align-items-center justify-content-center",
|
|
7405
|
+
style: {
|
|
7406
|
+
height: '50vh',
|
|
7407
|
+
padding: '20px'
|
|
7408
|
+
}
|
|
7409
|
+
}, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7410
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
7411
|
+
style: {
|
|
7412
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
7413
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
7414
|
+
}
|
|
7415
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7416
|
+
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
7417
|
+
style: {
|
|
7418
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
7419
|
+
color: sectionproperties.sectionTitleColor,
|
|
7420
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
7421
|
+
}
|
|
7422
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7423
|
+
"class": "col-lg-12 p-0 d-flex d-md-none"
|
|
7424
|
+
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
7425
|
+
className: 'table'
|
|
7426
|
+
}, /*#__PURE__*/React__default["default"].createElement("thead", {
|
|
7427
|
+
className: ""
|
|
7428
|
+
}, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7429
|
+
className: 'mw-150 mw-md-300'
|
|
7430
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7431
|
+
"class": "my-1 is-loading"
|
|
7432
|
+
})), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7433
|
+
className: "text-center",
|
|
7434
|
+
style: {
|
|
7435
|
+
minWidth: '100px'
|
|
7436
|
+
}
|
|
7437
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7438
|
+
"class": "my-1 is-loading"
|
|
7439
|
+
})), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7440
|
+
className: "text-center"
|
|
7441
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7442
|
+
"class": "my-1 is-loading"
|
|
7443
|
+
}))), /*#__PURE__*/React__default["default"].createElement("tbody", null, _toConsumableArray__default["default"](Array(3)).map(function (item, index) {
|
|
7444
|
+
return /*#__PURE__*/React__default["default"].createElement("tr", {
|
|
7445
|
+
className: ""
|
|
7446
|
+
}, /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7447
|
+
className: "mw-150 mw-md-300"
|
|
7448
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7449
|
+
"class": "my-1 is-loading"
|
|
7450
|
+
})), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7451
|
+
className: "text-center",
|
|
7452
|
+
style: {
|
|
7453
|
+
minWidth: '100px'
|
|
7454
|
+
}
|
|
7455
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7456
|
+
"class": "my-1 is-loading"
|
|
7457
|
+
})), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7458
|
+
className: "text-center",
|
|
7459
|
+
style: {
|
|
7460
|
+
minWidth: '100px'
|
|
7461
|
+
}
|
|
7462
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7463
|
+
"class": "my-1 is-loading"
|
|
7464
|
+
})));
|
|
7465
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7466
|
+
"class": "col-lg-12 p-0 d-none d-md-flex"
|
|
7467
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7468
|
+
className: "row m-0 w-100 align-items-center justify-content-center",
|
|
7420
7469
|
style: {
|
|
7421
7470
|
height: '50vh'
|
|
7422
7471
|
}
|
|
7423
|
-
},
|
|
7424
|
-
|
|
7425
|
-
|
|
7426
|
-
|
|
7427
|
-
|
|
7428
|
-
|
|
7472
|
+
}, _toConsumableArray__default["default"](Array(3)).map(function (item, index) {
|
|
7473
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7474
|
+
"class": "col-lg-12 p-0"
|
|
7475
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7476
|
+
"class": "row m-0 w-100"
|
|
7477
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7478
|
+
className: ' col-3 p-0 '
|
|
7479
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7480
|
+
className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 is-loading image '
|
|
7481
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7482
|
+
className: "col-9 pt-2"
|
|
7483
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7484
|
+
"class": "row m-0 w-100 d-flex"
|
|
7485
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7486
|
+
"class": "col-10 p-0 mb-1"
|
|
7487
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7488
|
+
className: ' m-0 p-0 is-loading mb-auto '
|
|
7489
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7490
|
+
"class": "col-lg-12 p-0"
|
|
7491
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7492
|
+
"class": ' m-0 p-0 is-loading '
|
|
7493
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7494
|
+
"class": "col-lg-12 allcentered p-0 mt-4"
|
|
7495
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7496
|
+
className: ' w-100 is-loading ',
|
|
7497
|
+
style: {
|
|
7498
|
+
height: sectionproperties.cartBtnHeight + 'px'
|
|
7499
|
+
}
|
|
7500
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7501
|
+
"class": "col-lg-12 p-0 my-3",
|
|
7502
|
+
style: {
|
|
7503
|
+
background: '#eee',
|
|
7504
|
+
height: 1,
|
|
7505
|
+
width: '100%'
|
|
7506
|
+
}
|
|
7507
|
+
})));
|
|
7508
|
+
})))), !fetchFavoriteProductsQueryContext.isFetching && fetchFavoriteProductsQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7429
7509
|
className: "row ml-0 mr-0 w-100 "
|
|
7430
7510
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7431
7511
|
className: 'col-lg-12 d-flex w-100 p-0'
|
|
7432
|
-
}, sectionproperties.pagedesign == 'Design 1 (Cards)' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7512
|
+
}, sectionproperties.pagedesign == 'Design 1 (Cards)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7433
7513
|
className: 'row m-0 d-flex justify-content-center w-100',
|
|
7434
7514
|
style: {
|
|
7435
7515
|
background: sectionproperties.reservation_bgcolor,
|
|
7436
|
-
border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor,
|
|
7437
7516
|
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
7438
7517
|
padding: '20px',
|
|
7439
7518
|
minHeight: '70vh'
|
|
@@ -7498,24 +7577,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7498
7577
|
fontSize: sectionproperties.cartBtnTextfontsize + 'px'
|
|
7499
7578
|
}
|
|
7500
7579
|
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
|
|
7501
|
-
})), fetchFavoriteProductsQueryContext.data.data.products.length
|
|
7502
|
-
className: "row m-0 w-100 d-flex align-items-center justify-content-center h-100",
|
|
7503
|
-
style: {
|
|
7504
|
-
height: '50vh'
|
|
7505
|
-
}
|
|
7506
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7507
|
-
className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
|
|
7508
|
-
}, /*#__PURE__*/React__default["default"].createElement(BiSad.BiSad, {
|
|
7509
|
-
size: sectionproperties.noprod_iconfontSize,
|
|
7510
|
-
color: sectionproperties.noprod_iconcolor
|
|
7511
|
-
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7512
|
-
"class": "m-0 p-0 mt-2",
|
|
7513
|
-
style: {
|
|
7514
|
-
fontWeight: sectionproperties.noprod_fontWeight,
|
|
7515
|
-
color: sectionproperties.noprod_color,
|
|
7516
|
-
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
7517
|
-
}
|
|
7518
|
-
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))))), sectionproperties.pagedesign == 'Design 2 (Table)' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7580
|
+
})))), sectionproperties.pagedesign == 'Design 2 (Table)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7519
7581
|
className: ' row m-0 w-100 p-sm-3 ',
|
|
7520
7582
|
style: {
|
|
7521
7583
|
background: sectionproperties.reservation_bgcolor,
|
|
@@ -7525,21 +7587,49 @@ var Wishlist = function Wishlist(props) {
|
|
|
7525
7587
|
minHeight: '70vh'
|
|
7526
7588
|
}
|
|
7527
7589
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7528
|
-
className: '
|
|
7590
|
+
className: ' row m-0 w-100 d-block '
|
|
7591
|
+
}, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7592
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
7593
|
+
style: {
|
|
7594
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
7595
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
7596
|
+
}
|
|
7597
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7598
|
+
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
7599
|
+
style: {
|
|
7600
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
7601
|
+
color: sectionproperties.sectionTitleColor,
|
|
7602
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
7603
|
+
}
|
|
7604
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7605
|
+
className: ' col-lg-12 table_responsive p-0 d-block d-md-none '
|
|
7529
7606
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
7530
7607
|
className: 'table'
|
|
7531
7608
|
}, /*#__PURE__*/React__default["default"].createElement("thead", {
|
|
7532
7609
|
className: ""
|
|
7533
7610
|
}, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7534
|
-
className: langdetect == 'en' ? 'text-left font-weight-500 font-14
|
|
7535
|
-
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7536
|
-
className: "text-center font-weight-500 font-14 text-light",
|
|
7611
|
+
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',
|
|
7537
7612
|
style: {
|
|
7538
|
-
|
|
7613
|
+
color: sectionproperties.sectionTitleColor
|
|
7614
|
+
}
|
|
7615
|
+
}, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7616
|
+
className: "text-center font-weight-500 font-14",
|
|
7617
|
+
style: {
|
|
7618
|
+
minWidth: '100px',
|
|
7619
|
+
color: sectionproperties.sectionTitleColor
|
|
7539
7620
|
}
|
|
7540
|
-
}, langdetect == 'en' ?
|
|
7541
|
-
className: "text-center font-weight-500 font-14
|
|
7542
|
-
|
|
7621
|
+
}, langdetect == 'en' ? 'Unit Price' : 'السعر'), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7622
|
+
className: "text-center font-weight-500 font-14",
|
|
7623
|
+
style: {
|
|
7624
|
+
minWidth: '100px',
|
|
7625
|
+
color: sectionproperties.sectionTitleColor
|
|
7626
|
+
}
|
|
7627
|
+
}), /*#__PURE__*/React__default["default"].createElement("th", {
|
|
7628
|
+
className: "text-center font-weight-500 font-14",
|
|
7629
|
+
style: {
|
|
7630
|
+
color: sectionproperties.sectionTitleColor
|
|
7631
|
+
}
|
|
7632
|
+
})), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
|
|
7543
7633
|
return /*#__PURE__*/React__default["default"].createElement("tr", {
|
|
7544
7634
|
className: "border-none"
|
|
7545
7635
|
}, /*#__PURE__*/React__default["default"].createElement("td", {
|
|
@@ -7555,14 +7645,28 @@ var Wishlist = function Wishlist(props) {
|
|
|
7555
7645
|
style: {
|
|
7556
7646
|
width: '100%',
|
|
7557
7647
|
height: '100%',
|
|
7558
|
-
objectFit: '
|
|
7648
|
+
objectFit: 'contain'
|
|
7559
7649
|
},
|
|
7560
7650
|
loading: "lazy"
|
|
7561
7651
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7562
|
-
className: "col-lg-9 col-md-9 col-sm-8"
|
|
7652
|
+
className: "col-lg-9 col-md-9 col-sm-8 pt-2"
|
|
7563
7653
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7564
|
-
className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3
|
|
7565
|
-
|
|
7654
|
+
className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
|
|
7655
|
+
style: {
|
|
7656
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
7657
|
+
}
|
|
7658
|
+
}, item.name_en)))), sectionproperties.prodPriceShow = /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7659
|
+
className: "text-center",
|
|
7660
|
+
style: {
|
|
7661
|
+
minWidth: '100px'
|
|
7662
|
+
}
|
|
7663
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7664
|
+
"class": "row m-0 w-100 allcentered flex-column"
|
|
7665
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7666
|
+
"class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
7667
|
+
}, 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__default["default"].createElement("p", {
|
|
7668
|
+
"class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mt-2 '
|
|
7669
|
+
}, 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__default["default"].createElement("td", {
|
|
7566
7670
|
className: "text-center",
|
|
7567
7671
|
style: {
|
|
7568
7672
|
minWidth: '100px'
|
|
@@ -7573,28 +7677,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7573
7677
|
setShowProductInfoModalContext(true);
|
|
7574
7678
|
setProductIdProdutInfoModalContext(item.productid);
|
|
7575
7679
|
}
|
|
7576
|
-
},
|
|
7577
|
-
className: "",
|
|
7578
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7579
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
7580
|
-
className: "",
|
|
7581
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7582
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
7583
|
-
className: "",
|
|
7584
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7585
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
|
|
7586
|
-
className: "",
|
|
7587
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7588
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
7589
|
-
className: "",
|
|
7590
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7591
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
7592
|
-
className: "",
|
|
7593
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7594
|
-
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
7595
|
-
className: "",
|
|
7596
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
7597
|
-
}))), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7680
|
+
}, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
7598
7681
|
className: "text-center"
|
|
7599
7682
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7600
7683
|
className: " ".concat(wishlist_cssstyles.trash_btn) + ' d-flex align-items-center justify-content-center text-uppercase font-weight-500 m-auto ',
|
|
@@ -7604,22 +7687,110 @@ var Wishlist = function Wishlist(props) {
|
|
|
7604
7687
|
style: {
|
|
7605
7688
|
fontSize: sectionproperties.trashbtn_Textfontsize + 'px'
|
|
7606
7689
|
}
|
|
7607
|
-
},
|
|
7608
|
-
|
|
7609
|
-
|
|
7690
|
+
}, /*#__PURE__*/React__default["default"].createElement(HiOutlineTrash.HiOutlineTrash, {
|
|
7691
|
+
size: sectionproperties.trashbtn_Textfontsize
|
|
7692
|
+
}))));
|
|
7693
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7694
|
+
className: ' col-lg-12 p-0 d-none d-md-flex align-items-center justify-content-start '
|
|
7610
7695
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7611
|
-
className: '
|
|
7612
|
-
},
|
|
7613
|
-
|
|
7614
|
-
|
|
7615
|
-
|
|
7616
|
-
|
|
7696
|
+
className: ' row m-0 w-100 d-flex align-items-center justify-content-start '
|
|
7697
|
+
}, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
|
|
7698
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7699
|
+
"class": "col-lg-12 p-0"
|
|
7700
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7701
|
+
"class": "row m-0 w-100"
|
|
7702
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7703
|
+
className: ' col-3 p-0 '
|
|
7704
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7705
|
+
className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 '
|
|
7706
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
7707
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
7708
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
7709
|
+
path: item.productmainimage,
|
|
7710
|
+
style: {
|
|
7711
|
+
width: '100%',
|
|
7712
|
+
height: '100%',
|
|
7713
|
+
objectFit: 'contain'
|
|
7714
|
+
},
|
|
7715
|
+
loading: "lazy"
|
|
7716
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7717
|
+
className: "col-9 pt-2"
|
|
7718
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7719
|
+
"class": "row m-0 w-100 d-flex"
|
|
7720
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7721
|
+
"class": "col-10 p-0 d-flex align-items-center justify-content-start"
|
|
7722
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7723
|
+
className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
|
|
7724
|
+
style: {
|
|
7725
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
7726
|
+
}
|
|
7727
|
+
}, item.name_en)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7728
|
+
"class": "col-2 p-0 d-flex align-items-center justify-content-end"
|
|
7729
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7730
|
+
className: " ".concat(wishlist_cssstyles.trash_btnresp) + ' allcentered ',
|
|
7731
|
+
onClick: function onClick() {
|
|
7732
|
+
addtofavoritescontext(item.productid);
|
|
7733
|
+
}
|
|
7734
|
+
}, /*#__PURE__*/React__default["default"].createElement(HiOutlineTrash.HiOutlineTrash, {
|
|
7735
|
+
size: sectionproperties.trashbtn_Textfontsize
|
|
7736
|
+
}))), sectionproperties.prodPriceShow = /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7737
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
7738
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7739
|
+
"class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
7740
|
+
}, 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__default["default"].createElement("p", {
|
|
7741
|
+
"class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mx-2 mt-auto '
|
|
7742
|
+
}, 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__default["default"].createElement("div", {
|
|
7743
|
+
"class": "col-lg-12 allcentered p-0 mt-4"
|
|
7744
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7745
|
+
className: "".concat(wishlist_cssstyles.cart_btn) + ' w-100 ',
|
|
7746
|
+
onClick: function onClick() {
|
|
7747
|
+
setShowProductInfoModalContext(true);
|
|
7748
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
7749
|
+
}
|
|
7750
|
+
}, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7751
|
+
"class": "col-lg-12 p-0 my-3",
|
|
7752
|
+
style: {
|
|
7753
|
+
background: '#eee',
|
|
7754
|
+
height: 1,
|
|
7755
|
+
width: '100%'
|
|
7756
|
+
}
|
|
7757
|
+
})));
|
|
7758
|
+
}))))), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7759
|
+
className: "row m-0 w-100 d-flex justify-content-center pt-5 pb-5",
|
|
7760
|
+
style: {
|
|
7761
|
+
maxHeight: '60vh',
|
|
7762
|
+
padding: '20px'
|
|
7763
|
+
}
|
|
7764
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7765
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
7766
|
+
style: {
|
|
7767
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
7768
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
7769
|
+
}
|
|
7770
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7771
|
+
"class": "m-0 p-0 mt-5 mt-sm-2",
|
|
7772
|
+
style: {
|
|
7773
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
7774
|
+
color: sectionproperties.sectionTitleColor,
|
|
7775
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
7776
|
+
}
|
|
7777
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7778
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-3 '
|
|
7779
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7780
|
+
"class": sectionproperties.noprod_iconfontSize == 0 ? 'm-0 p-0' : 'm-0 p-0 mt-2',
|
|
7617
7781
|
style: {
|
|
7618
7782
|
fontWeight: sectionproperties.noprod_fontWeight,
|
|
7619
7783
|
color: sectionproperties.noprod_color,
|
|
7620
7784
|
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
7621
7785
|
}
|
|
7622
|
-
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))
|
|
7786
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7787
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-5 '
|
|
7788
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7789
|
+
"class": "".concat(wishlist_cssstyles.btnstyles),
|
|
7790
|
+
onClick: function onClick() {
|
|
7791
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
7792
|
+
}
|
|
7793
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7623
7794
|
className: "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
7624
7795
|
})));
|
|
7625
7796
|
};
|
|
@@ -7650,6 +7821,10 @@ var Viewcart = function Viewcart(props) {
|
|
|
7650
7821
|
_useState4 = _slicedToArray__default["default"](_useState3, 2);
|
|
7651
7822
|
_useState4[0];
|
|
7652
7823
|
var setimagesarray = _useState4[1];
|
|
7824
|
+
var _useState5 = React.useState([]),
|
|
7825
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
7826
|
+
bgimagesarray = _useState6[0],
|
|
7827
|
+
setbgimagesarray = _useState6[1];
|
|
7653
7828
|
React.useEffect(function () {
|
|
7654
7829
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
7655
7830
|
var _StatePagePropertiesC;
|
|
@@ -7676,6 +7851,16 @@ var Viewcart = function Viewcart(props) {
|
|
|
7676
7851
|
}
|
|
7677
7852
|
}
|
|
7678
7853
|
}, [sectionproperties]);
|
|
7854
|
+
React.useEffect(function () {
|
|
7855
|
+
if (sectionproperties.length != 0) {
|
|
7856
|
+
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
7857
|
+
var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
|
|
7858
|
+
if (Array.isArray(arrayofobjectimagesonlyparsed)) {
|
|
7859
|
+
setbgimagesarray(_toConsumableArray__default["default"](arrayofobjectimagesonlyparsed));
|
|
7860
|
+
}
|
|
7861
|
+
}
|
|
7862
|
+
}
|
|
7863
|
+
}, [sectionproperties]);
|
|
7679
7864
|
var Summary = function Summary() {
|
|
7680
7865
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6;
|
|
7681
7866
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -7747,6 +7932,23 @@ var Viewcart = function Viewcart(props) {
|
|
|
7747
7932
|
}, langdetect == 'en' ? sectionproperties.checkoutButtonContenten : sectionproperties.checkoutButtonContentar)))));
|
|
7748
7933
|
};
|
|
7749
7934
|
var viewcart_cssstyles = {
|
|
7935
|
+
btnstyles: glamor.css({
|
|
7936
|
+
width: sectionproperties.generalbtn_width + '%',
|
|
7937
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
7938
|
+
borderRadius: sectionproperties.generalbtnborderradius + 'px',
|
|
7939
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
7940
|
+
color: sectionproperties.generalbtn_textColor,
|
|
7941
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
7942
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
7943
|
+
':hover': {
|
|
7944
|
+
transition: '.3s',
|
|
7945
|
+
color: sectionproperties.generalbtn_textColoronhover,
|
|
7946
|
+
backgroundColor: sectionproperties.generalbtn_bgColoronhover
|
|
7947
|
+
},
|
|
7948
|
+
'@media (max-width: 800px)': {
|
|
7949
|
+
width: '80%'
|
|
7950
|
+
}
|
|
7951
|
+
}),
|
|
7750
7952
|
checkoutbtnstyles: glamor.css({
|
|
7751
7953
|
background: sectionproperties.checkoutBtnbgColortranparent == 'Transparent' ? 'transparent' : sectionproperties.checkoutBtnbgColor,
|
|
7752
7954
|
width: sectionproperties.checkoutBtnWidth + 'px',
|
|
@@ -7881,38 +8083,8 @@ var Viewcart = function Viewcart(props) {
|
|
|
7881
8083
|
'@media (max-width: 800px)': {
|
|
7882
8084
|
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
7883
8085
|
}
|
|
7884
|
-
}),
|
|
7885
|
-
shopbuttonstyles: glamor.css({
|
|
7886
|
-
width: sectionproperties.generalbtn_width == 0 ? '100%' : sectionproperties.generalbtn_width + '%',
|
|
7887
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
7888
|
-
borderRadius: sectionproperties.generalbtnborderradius,
|
|
7889
|
-
backgroundColor: sectionproperties.generalbtn_bgColor,
|
|
7890
|
-
color: sectionproperties.generalbtn_textColor,
|
|
7891
|
-
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
7892
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
7893
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
7894
|
-
':hover': {
|
|
7895
|
-
transition: '.3s',
|
|
7896
|
-
backgroundColor: sectionproperties.generalbtn_bgColoronhover,
|
|
7897
|
-
color: sectionproperties.generalbtn_textColoronhover,
|
|
7898
|
-
borderColor: sectionproperties.generalbtn_textColoronhover
|
|
7899
|
-
}
|
|
7900
8086
|
})
|
|
7901
8087
|
};
|
|
7902
|
-
var _useState5 = React.useState([]),
|
|
7903
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
7904
|
-
bgimagesarray = _useState6[0],
|
|
7905
|
-
setbgimagesarray = _useState6[1];
|
|
7906
|
-
React.useEffect(function () {
|
|
7907
|
-
if (sectionproperties.length != 0) {
|
|
7908
|
-
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
7909
|
-
var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
|
|
7910
|
-
if (Array.isArray(arrayofobjectimagesonlyparsed)) {
|
|
7911
|
-
setbgimagesarray(_toConsumableArray__default["default"](arrayofobjectimagesonlyparsed));
|
|
7912
|
-
}
|
|
7913
|
-
}
|
|
7914
|
-
}
|
|
7915
|
-
}, [sectionproperties]);
|
|
7916
8088
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7917
8089
|
className: viewcart_cssstyles.containerstyles + ' row ml-0 mr-0 w-100 d-flex justify-content-center ',
|
|
7918
8090
|
style: {}
|
|
@@ -7973,16 +8145,11 @@ var Viewcart = function Viewcart(props) {
|
|
|
7973
8145
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7974
8146
|
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',
|
|
7975
8147
|
style: {
|
|
7976
|
-
paddingLeft: sectionproperties.
|
|
7977
|
-
paddingRight: sectionproperties.
|
|
8148
|
+
paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
|
|
8149
|
+
paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
|
|
7978
8150
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
7979
8151
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
7980
|
-
|
|
7981
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
7982
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
7983
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
7984
|
-
borderColor: sectionproperties.sectioncardbordercolor,
|
|
7985
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
8152
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
|
|
7986
8153
|
}
|
|
7987
8154
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7988
8155
|
className: 'col-lg-12 p-0'
|
|
@@ -8197,38 +8364,40 @@ var Viewcart = function Viewcart(props) {
|
|
|
8197
8364
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8198
8365
|
className: langdetect == 'en' ? ' col-lg-3 pr-0 px-sm-0 mb-4 ' : ' col-lg-3 pl-0 px-sm-0 mb-4'
|
|
8199
8366
|
}, 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__default["default"].createElement("div", {
|
|
8200
|
-
className: "row m-0 w-100 d-flex
|
|
8367
|
+
className: "row m-0 w-100 d-flex justify-content-center pt-5 pb-5",
|
|
8201
8368
|
style: {
|
|
8202
|
-
|
|
8369
|
+
maxHeight: '60vh'
|
|
8203
8370
|
}
|
|
8204
8371
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8205
|
-
className:
|
|
8206
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8207
|
-
className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
|
|
8208
|
-
}, sectionproperties.noproducticontype == 'Cart' && sectionproperties.noprod_iconfontSize != 0 && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
8209
|
-
src: 'https://tabex-co.com/storage/StaticImages/shoppingcart.png',
|
|
8372
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
|
|
8210
8373
|
style: {
|
|
8211
|
-
|
|
8212
|
-
|
|
8374
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
8375
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
|
|
8213
8376
|
}
|
|
8214
|
-
}
|
|
8377
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8378
|
+
"class": "m-0 p-0",
|
|
8215
8379
|
style: {
|
|
8216
|
-
fontSize: sectionproperties.
|
|
8217
|
-
color: sectionproperties.
|
|
8380
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8381
|
+
color: sectionproperties.sectionTitleColor,
|
|
8382
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8218
8383
|
}
|
|
8219
|
-
}), /*#__PURE__*/React__default["default"].createElement("
|
|
8220
|
-
|
|
8384
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8385
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-3 '
|
|
8386
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8387
|
+
"class": sectionproperties.noprod_iconfontSize == 0 ? 'm-0 p-0' : 'm-0 p-0 mt-2',
|
|
8221
8388
|
style: {
|
|
8222
8389
|
fontWeight: sectionproperties.noprod_fontWeight,
|
|
8223
8390
|
color: sectionproperties.noprod_color,
|
|
8224
8391
|
fontSize: sectionproperties.noprod_fontSize + 'px'
|
|
8225
8392
|
}
|
|
8226
|
-
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar), /*#__PURE__*/React__default["default"].createElement("
|
|
8227
|
-
className:
|
|
8393
|
+
}, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8394
|
+
className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-5 '
|
|
8395
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8396
|
+
"class": "".concat(viewcart_cssstyles.btnstyles),
|
|
8228
8397
|
onClick: function onClick() {
|
|
8229
8398
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
8230
8399
|
}
|
|
8231
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))))
|
|
8400
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
|
|
8232
8401
|
};
|
|
8233
8402
|
|
|
8234
8403
|
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";
|
|
@@ -8544,15 +8713,13 @@ var Checkout = function Checkout(props) {
|
|
|
8544
8713
|
})), _defineProperty__default["default"](_checkoutstyles, "containerstyles", glamor.css({
|
|
8545
8714
|
marginTop: sectionproperties.marginTop + 'px',
|
|
8546
8715
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
8547
|
-
paddingLeft: sectionproperties.
|
|
8548
|
-
paddingRight: sectionproperties.
|
|
8716
|
+
paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
|
|
8717
|
+
paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
|
|
8549
8718
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
8550
8719
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
8551
8720
|
background: sectionproperties.backgroundColor,
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
8555
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
8721
|
+
borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
8722
|
+
minHeight: '70vh',
|
|
8556
8723
|
'@media (max-width: 800px)': {
|
|
8557
8724
|
marginTop: sectionproperties.marginTopResp + 'px'
|
|
8558
8725
|
}
|
|
@@ -8950,13 +9117,16 @@ var Checkout = function Checkout(props) {
|
|
|
8950
9117
|
__html: langdetect == 'en' ? sectionproperties.text1editortexten : sectionproperties.text1editortextar
|
|
8951
9118
|
}
|
|
8952
9119
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8953
|
-
className: "col-lg-12 d-flex align-items-center justify-content-center mb-2 mt-sm-3",
|
|
9120
|
+
className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
|
|
8954
9121
|
style: {
|
|
8955
9122
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
8956
9123
|
}
|
|
8957
9124
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8958
9125
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
8959
9126
|
onClick: function onClick() {
|
|
9127
|
+
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
9128
|
+
cartinfoupdater('paymentmethod', 'cod');
|
|
9129
|
+
}
|
|
8960
9130
|
addorderfuncrunner();
|
|
8961
9131
|
// AddOrderMutationContext.mutate(payloadobj);
|
|
8962
9132
|
},
|
|
@@ -8972,7 +9142,9 @@ var Checkout = function Checkout(props) {
|
|
|
8972
9142
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8973
9143
|
className: 'row m-0 w-100 d-flex justify-content-center p-sm-0 '
|
|
8974
9144
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8975
|
-
className:
|
|
9145
|
+
className: ' col-lg-12 w-100 d-flex justify-content-center p-0 '
|
|
9146
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9147
|
+
className: checkoutstyles.containerstyles + ' w-100 d-flex justify-content-center px-md-2 '
|
|
8976
9148
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8977
9149
|
className: 'row m-0 w-100 justify-content-center '
|
|
8978
9150
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -9336,7 +9508,7 @@ var Checkout = function Checkout(props) {
|
|
|
9336
9508
|
resize: 'none',
|
|
9337
9509
|
boxShadow: 'none'
|
|
9338
9510
|
}
|
|
9339
|
-
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9511
|
+
}))))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9340
9512
|
className: "col-lg-12 p-0 w-100"
|
|
9341
9513
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9342
9514
|
"class": "".concat(checkoutstyles.innersection) + ' w-100 mb-3 '
|
|
@@ -9562,7 +9734,7 @@ var Checkout = function Checkout(props) {
|
|
|
9562
9734
|
}
|
|
9563
9735
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9564
9736
|
className: langdetect == 'en' ? 'col-lg-4 col-md-12 pr-0' : 'col-lg-4 col-md-12 pl-0'
|
|
9565
|
-
}, Mycart()))));
|
|
9737
|
+
}, Mycart())))));
|
|
9566
9738
|
};
|
|
9567
9739
|
|
|
9568
9740
|
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; }
|
|
@@ -12033,7 +12205,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
12033
12205
|
setsidecartnavshowWorkplaceDesigncontext(false);
|
|
12034
12206
|
setsidecartnavshowcontext(false);
|
|
12035
12207
|
},
|
|
12036
|
-
placement:
|
|
12208
|
+
placement: langdetect == 'en' ? 'end' : 'start',
|
|
12037
12209
|
scroll: true,
|
|
12038
12210
|
style: {
|
|
12039
12211
|
backgroundColor: sectionproperties.backgroundColor,
|
|
@@ -12224,25 +12396,39 @@ var CartSlider = function CartSlider(props) {
|
|
|
12224
12396
|
"class": "col-9 p-0 d-flex justify-content-start align-items-center"
|
|
12225
12397
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
12226
12398
|
className: " ".concat(cart_cssstyles.quantitybtn) + ' px-2 d-flex align-items-center justify-content-center '
|
|
12227
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12399
|
+
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12228
12400
|
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
12229
12401
|
onClick: function onClick() {
|
|
12230
12402
|
ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
12231
12403
|
}
|
|
12232
12404
|
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
12233
12405
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
12406
|
+
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12407
|
+
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
12408
|
+
onClick: function onClick() {
|
|
12409
|
+
ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
|
|
12410
|
+
}
|
|
12411
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
12412
|
+
size: sectionproperties.add_quantitybtn_textfontsize
|
|
12234
12413
|
})), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12235
12414
|
className: "".concat(cart_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
|
|
12236
12415
|
style: {
|
|
12237
12416
|
background: 'transparent'
|
|
12238
12417
|
}
|
|
12239
|
-
}, item.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12418
|
+
}, item.quantity), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12240
12419
|
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
12241
12420
|
onClick: function onClick() {
|
|
12242
12421
|
ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
|
|
12243
12422
|
}
|
|
12244
12423
|
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
12245
12424
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
12425
|
+
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12426
|
+
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
12427
|
+
onClick: function onClick() {
|
|
12428
|
+
ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
12429
|
+
}
|
|
12430
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
12431
|
+
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
12246
12432
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12247
12433
|
"class": "col-3 p-0 d-flex justify-content-end align-items-center"
|
|
12248
12434
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -15268,7 +15454,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
15268
15454
|
} else if (item.tabexsectioninfo.sectioncompname == 'Card20') {
|
|
15269
15455
|
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';
|
|
15270
15456
|
} else if (item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow') {
|
|
15271
|
-
bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4
|
|
15457
|
+
bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
|
|
15272
15458
|
} else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition') {
|
|
15273
15459
|
bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ';
|
|
15274
15460
|
} else if (item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard') {
|
|
@@ -18666,7 +18852,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
18666
18852
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
18667
18853
|
var lang = props.actions.lang;
|
|
18668
18854
|
var langdetect = props.actions.langdetect;
|
|
18669
|
-
props.actions.setlang;
|
|
18855
|
+
var setlang = props.actions.setlang;
|
|
18670
18856
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
18671
18857
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
18672
18858
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
@@ -18997,7 +19183,10 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
18997
19183
|
}, 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__default["default"].createElement("div", {
|
|
18998
19184
|
"class": "col-lg-4 p-0 text-end"
|
|
18999
19185
|
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19000
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 '
|
|
19186
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
|
|
19187
|
+
onClick: function onClick() {
|
|
19188
|
+
setlang('en');
|
|
19189
|
+
}
|
|
19001
19190
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
19002
19191
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
19003
19192
|
style: {
|
|
@@ -19014,7 +19203,10 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
19014
19203
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
19015
19204
|
"class": "m-0 p-0"
|
|
19016
19205
|
}, "\u0639")), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19017
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 '
|
|
19206
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
|
|
19207
|
+
onClick: function onClick() {
|
|
19208
|
+
setlang('ar');
|
|
19209
|
+
}
|
|
19018
19210
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
19019
19211
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
19020
19212
|
style: {
|
|
@@ -19033,7 +19225,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
19033
19225
|
}, "En")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19034
19226
|
"class": "allcentered"
|
|
19035
19227
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19036
|
-
"class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
|
|
19228
|
+
"class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center pt-1 ',
|
|
19037
19229
|
sytle: {
|
|
19038
19230
|
position: 'relative'
|
|
19039
19231
|
},
|
|
@@ -19170,7 +19362,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
19170
19362
|
top: sectionproperties.wishlistbadgetop + 'px',
|
|
19171
19363
|
right: sectionproperties.wishlistbadgeright + 'px'
|
|
19172
19364
|
}
|
|
19173
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", null, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19365
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", null, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length == 0 ? 0 : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19174
19366
|
"class": " ".concat(header_cssstyles.cart_btn) + ' cursor-pointer allcentered ',
|
|
19175
19367
|
onClick: function onClick() {
|
|
19176
19368
|
setsidecartnavshowcontext(true);
|
|
@@ -24367,16 +24559,6 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
24367
24559
|
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
24368
24560
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
24369
24561
|
}), " ", lang.wishlist))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
24370
|
-
onClick: function onClick() {
|
|
24371
|
-
routingcountext(StaticPagesLinksContext.Policies);
|
|
24372
|
-
}
|
|
24373
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24374
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
24375
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24376
|
-
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
|
|
24377
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineSecurityScan.AiOutlineSecurityScan, {
|
|
24378
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
24379
|
-
}), lang.policies))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
24380
24562
|
onClick: function onClick() {
|
|
24381
24563
|
LogoutMutationContext.mutate();
|
|
24382
24564
|
}
|
|
@@ -43026,7 +43208,7 @@ var ModernCardsSection = function ModernCardsSection(props) {
|
|
|
43026
43208
|
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
43027
43209
|
}
|
|
43028
43210
|
}, SectionTitle()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43029
|
-
"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',
|
|
43211
|
+
"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',
|
|
43030
43212
|
style: {
|
|
43031
43213
|
marginBottom: sectionproperties.descriptionMarginBottom + 'px'
|
|
43032
43214
|
}
|
|
@@ -43089,7 +43271,10 @@ var ModernCardsSection = function ModernCardsSection(props) {
|
|
|
43089
43271
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
43090
43272
|
transitionBehavior: 'auto',
|
|
43091
43273
|
wrapperClassName: '',
|
|
43092
|
-
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' :
|
|
43274
|
+
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' :
|
|
43275
|
+
// : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard'
|
|
43276
|
+
// ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard '
|
|
43277
|
+
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' : '',
|
|
43093
43278
|
scrollContainerClassName: 'scrollmenuclasssubscrollbar'
|
|
43094
43279
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
43095
43280
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -47279,18 +47464,14 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47279
47464
|
}, [sectionproperties]);
|
|
47280
47465
|
var sectionstyles = {
|
|
47281
47466
|
btnstyles: glamor.css({
|
|
47282
|
-
width: sectionproperties.generalbtn_width + '
|
|
47467
|
+
width: sectionproperties.generalbtn_width + '%',
|
|
47283
47468
|
height: sectionproperties.generalbtn_height + 'px',
|
|
47284
47469
|
background: sectionproperties.generalbtn_bgColor,
|
|
47285
|
-
|
|
47286
|
-
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
47287
|
-
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
47288
|
-
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
47470
|
+
borderRadius: sectionproperties.generalbtnborderradius + 'px',
|
|
47289
47471
|
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
47290
47472
|
color: sectionproperties.generalbtn_textColor,
|
|
47291
47473
|
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
47292
47474
|
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
47293
|
-
textTransform: sectionproperties.generalbtn_texttransform,
|
|
47294
47475
|
':hover': {
|
|
47295
47476
|
transition: '.3s',
|
|
47296
47477
|
background: sectionproperties.generalbtn_bgColoronhover,
|
|
@@ -47348,6 +47529,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47348
47529
|
position: 'relative',
|
|
47349
47530
|
marginLeft: sectionproperties.card_marginLeft + 'px',
|
|
47350
47531
|
marginRight: sectionproperties.card_marginRight + 'px',
|
|
47532
|
+
backgroundColor: 'white',
|
|
47351
47533
|
'@media (max-width: 800px)': {
|
|
47352
47534
|
height: sectionproperties.height_responsive + 'vh'
|
|
47353
47535
|
}
|
|
@@ -47370,7 +47552,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47370
47552
|
height: '100%',
|
|
47371
47553
|
objectFit: 'cover'
|
|
47372
47554
|
}
|
|
47373
|
-
})), sectionproperties.
|
|
47555
|
+
})), sectionproperties.sectionstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47374
47556
|
"class": "row m-0 w-100 justify-content-center mt-sm-5 mb-sm-5"
|
|
47375
47557
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47376
47558
|
"class": "col-lg-6 col-md-9 col-sm-9 p-0 mt-auto mb-auto text-align-start"
|
|
@@ -47436,7 +47618,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47436
47618
|
// onClick={() => {
|
|
47437
47619
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
|
|
47438
47620
|
// }}
|
|
47439
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), sectionproperties.
|
|
47621
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), sectionproperties.sectionstyletype == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47440
47622
|
"class": "row m-0 w-100 allcentered",
|
|
47441
47623
|
style: {
|
|
47442
47624
|
zIndex: 2
|
|
@@ -47505,9 +47687,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47505
47687
|
getOptionValue: function getOptionValue(option) {
|
|
47506
47688
|
return option.collectionid;
|
|
47507
47689
|
},
|
|
47508
|
-
autocomplete: "new-password"
|
|
47509
|
-
// value={fetchTabexCountriesQueryContext.data.data.countries.filter((option) => option.id == props?.payloadobj?.countryid)}
|
|
47510
|
-
,
|
|
47690
|
+
autocomplete: "new-password",
|
|
47511
47691
|
onChange: function onChange(option) {
|
|
47512
47692
|
var temp = payloadobj;
|
|
47513
47693
|
temp.collections = [];
|
|
@@ -47519,10 +47699,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47519
47699
|
placeholder: ''
|
|
47520
47700
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47521
47701
|
"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'
|
|
47522
|
-
}, /*#__PURE__*/React__default["default"].createElement(CustomerAddressForm
|
|
47523
|
-
// customeraddressrequierd={customeraddressrequierd}
|
|
47524
|
-
// payloadobj={payloadobj}
|
|
47525
|
-
, {
|
|
47702
|
+
}, /*#__PURE__*/React__default["default"].createElement(CustomerAddressForm, {
|
|
47526
47703
|
payloadobj: payloadobj,
|
|
47527
47704
|
setpayloadobj: setpayloadobj,
|
|
47528
47705
|
sectionproperties: sectionproperties
|
|
@@ -47603,7 +47780,191 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47603
47780
|
routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
47604
47781
|
}
|
|
47605
47782
|
}
|
|
47606
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))
|
|
47783
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), sectionproperties.sectionstyletype == 'Style 3' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47784
|
+
"class": "row m-0 w-100 allcentered mt-auto mb-4 px-4",
|
|
47785
|
+
style: {
|
|
47786
|
+
zIndex: 2
|
|
47787
|
+
}
|
|
47788
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47789
|
+
"class": "row m-0 w-100 d-flex align-items-center justify-content-start"
|
|
47790
|
+
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47791
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
|
|
47792
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47793
|
+
"class": "wordbreak",
|
|
47794
|
+
style: {
|
|
47795
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
47796
|
+
color: sectionproperties.sectionTitleColor,
|
|
47797
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
47798
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
47799
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
47800
|
+
marginBottom: sectionproperties.prodCatShow == 'Show' ? 0 : 20
|
|
47801
|
+
}
|
|
47802
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47803
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
|
|
47804
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47805
|
+
style: {
|
|
47806
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
47807
|
+
color: sectionproperties.prodCatColor,
|
|
47808
|
+
textTransform: sectionproperties.prodCatTextTranform,
|
|
47809
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
47810
|
+
maxWidth: '500px'
|
|
47811
|
+
}
|
|
47812
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47813
|
+
"class": 'col-lg-10 col-md-12 col-sm-12 allcentered mt-3',
|
|
47814
|
+
style: {
|
|
47815
|
+
backgroundColor: sectionproperties.reservation_bgcolor,
|
|
47816
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
47817
|
+
paddingTop: sectionproperties.reservation_padding_top + 'px',
|
|
47818
|
+
paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
|
|
47819
|
+
paddingLeft: sectionproperties.reservation_padding_left + 'px',
|
|
47820
|
+
paddingRight: sectionproperties.reservation_padding_right + 'px'
|
|
47821
|
+
}
|
|
47822
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47823
|
+
"class": "row m-0 w-100 allcentered"
|
|
47824
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47825
|
+
"class": "col-lg-12 p-0"
|
|
47826
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47827
|
+
"class": "row m-0 w-100 d-flex align-items-center justify-content-start"
|
|
47828
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47829
|
+
"class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
|
|
47830
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
47831
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
47832
|
+
style: {
|
|
47833
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
47834
|
+
}
|
|
47835
|
+
}, langdetect == 'en' ? 'Brand' : 'الماركة'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47836
|
+
"class": 'col-lg-12 p-0'
|
|
47837
|
+
}, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
47838
|
+
options: [{
|
|
47839
|
+
label: 'Tesla',
|
|
47840
|
+
value: 1
|
|
47841
|
+
}, {
|
|
47842
|
+
label: 'VW',
|
|
47843
|
+
value: 0
|
|
47844
|
+
}, {
|
|
47845
|
+
label: 'BYD',
|
|
47846
|
+
value: 0
|
|
47847
|
+
}],
|
|
47848
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
47849
|
+
placeholder: ''
|
|
47850
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47851
|
+
"class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
|
|
47852
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
47853
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
47854
|
+
style: {
|
|
47855
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
47856
|
+
}
|
|
47857
|
+
}, langdetect == 'en' ? 'KM' : 'KM'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47858
|
+
"class": 'col-lg-12 p-0'
|
|
47859
|
+
}, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
47860
|
+
options: [{
|
|
47861
|
+
label: '100000',
|
|
47862
|
+
value: 1
|
|
47863
|
+
}, {
|
|
47864
|
+
label: '50000',
|
|
47865
|
+
value: 0
|
|
47866
|
+
}, {
|
|
47867
|
+
label: '30000',
|
|
47868
|
+
value: 0
|
|
47869
|
+
}],
|
|
47870
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
47871
|
+
placeholder: ''
|
|
47872
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47873
|
+
"class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
|
|
47874
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
47875
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
47876
|
+
style: {
|
|
47877
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
47878
|
+
}
|
|
47879
|
+
}, langdetect == 'en' ? 'Model Year' : 'السنة'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47880
|
+
"class": 'col-lg-12 p-0'
|
|
47881
|
+
}, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
47882
|
+
options: [{
|
|
47883
|
+
label: '2023',
|
|
47884
|
+
value: 1
|
|
47885
|
+
}, {
|
|
47886
|
+
label: '2022',
|
|
47887
|
+
value: 0
|
|
47888
|
+
}, {
|
|
47889
|
+
label: '2021',
|
|
47890
|
+
value: 0
|
|
47891
|
+
}],
|
|
47892
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
47893
|
+
placeholder: ''
|
|
47894
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47895
|
+
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-md-3 '
|
|
47896
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
47897
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
|
|
47898
|
+
style: {
|
|
47899
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
47900
|
+
}
|
|
47901
|
+
}, langdetect == 'en' ? 'Price' : 'السعر'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47902
|
+
"class": 'col-lg-12 pl-4 pr-4 mt-2 mb-2',
|
|
47903
|
+
style: {
|
|
47904
|
+
direction: 'ltr'
|
|
47905
|
+
}
|
|
47906
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputRange__default["default"], {
|
|
47907
|
+
draggableTrack: true,
|
|
47908
|
+
formatLabel: function formatLabel(value) {
|
|
47909
|
+
return "".concat(value);
|
|
47910
|
+
},
|
|
47911
|
+
maxValue: parseInt(sectionproperties.filterpricemaxvalue),
|
|
47912
|
+
minValue: parseInt(sectionproperties.filterpriceminvalue),
|
|
47913
|
+
value: pricevalue,
|
|
47914
|
+
onChange: function onChange(value) {
|
|
47915
|
+
setpricevalue(_objectSpread$16({}, value));
|
|
47916
|
+
}
|
|
47917
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47918
|
+
"class": "col-lg-1"
|
|
47919
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47920
|
+
"class": "col-lg-2 col-md-12 d-flex align-items-center justify-content-end"
|
|
47921
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
47922
|
+
"class": sectionstyles.btnstyles + ' allcentered ',
|
|
47923
|
+
onClick: function onClick() {
|
|
47924
|
+
var _payloadobj$countryid2, _payloadobj$stateid2, _payloadobj$cityid2, _pricevalue$min2, _pricevalue$max2;
|
|
47925
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$16({}, fetchproductsfilerobjcontext);
|
|
47926
|
+
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) {
|
|
47927
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
47928
|
+
tempfetchproductsfilerobjcontext.country_ids = [payloadobj.countryid];
|
|
47929
|
+
} else {
|
|
47930
|
+
tempfetchproductsfilerobjcontext.countryid = payloadobj.countryid;
|
|
47931
|
+
}
|
|
47932
|
+
}
|
|
47933
|
+
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) {
|
|
47934
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
47935
|
+
tempfetchproductsfilerobjcontext.state_ids = [payloadobj.stateid];
|
|
47936
|
+
} else {
|
|
47937
|
+
tempfetchproductsfilerobjcontext.stateid = payloadobj.stateid;
|
|
47938
|
+
}
|
|
47939
|
+
}
|
|
47940
|
+
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) {
|
|
47941
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
47942
|
+
tempfetchproductsfilerobjcontext.city_ids = [payloadobj.cityid];
|
|
47943
|
+
} else {
|
|
47944
|
+
tempfetchproductsfilerobjcontext.cityid = payloadobj.cityid;
|
|
47945
|
+
}
|
|
47946
|
+
}
|
|
47947
|
+
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.collections) != null && payloadobj.collections.length != 0) {
|
|
47948
|
+
tempfetchproductsfilerobjcontext.collections = payloadobj.collections;
|
|
47949
|
+
}
|
|
47950
|
+
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) {
|
|
47951
|
+
tempfetchproductsfilerobjcontext.price_min = pricevalue.min;
|
|
47952
|
+
}
|
|
47953
|
+
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) {
|
|
47954
|
+
if (sectionproperties.showpricerange == 'Hide') {
|
|
47955
|
+
tempfetchproductsfilerobjcontext.price_max = 99999999999999;
|
|
47956
|
+
} else {
|
|
47957
|
+
tempfetchproductsfilerobjcontext.price_max = pricevalue.max;
|
|
47958
|
+
}
|
|
47959
|
+
}
|
|
47960
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
47961
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
47962
|
+
}
|
|
47963
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Vendors') {
|
|
47964
|
+
routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
47965
|
+
}
|
|
47966
|
+
}
|
|
47967
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))))));
|
|
47607
47968
|
};
|
|
47608
47969
|
|
|
47609
47970
|
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; }
|
|
@@ -65452,7 +65813,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
65452
65813
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
65453
65814
|
size: sectionproperties.cartBtn_iconFontSize
|
|
65454
65815
|
})), langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
65455
|
-
"class": "col-lg-12 d-flex align-items-center",
|
|
65816
|
+
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
65456
65817
|
style: {
|
|
65457
65818
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
65458
65819
|
}
|