tabexseriescomponents 0.0.718 → 0.0.720
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 +403 -3
- package/dist/index.esm.js +403 -3
- package/dist/index.umd.js +403 -3
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -18319,14 +18319,14 @@ var CardsSection = function CardsSection(props) {
|
|
|
18319
18319
|
if (sectionproperties.removedecimals == 'Without Decimals') {
|
|
18320
18320
|
cardobj.defaultprice = parseFloat(Number(arrayItem.productinfo.defaultprice).toFixed(2));
|
|
18321
18321
|
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
|
|
18322
|
-
cardobj.defaultprice = Math.floor(arrayItem.productinfo.defaultprice).toLocaleString;
|
|
18322
|
+
cardobj.defaultprice = Math.floor(arrayItem.productinfo.defaultprice).toLocaleString();
|
|
18323
18323
|
} else {
|
|
18324
18324
|
cardobj.defaultprice = arrayItem.productinfo.defaultprice;
|
|
18325
18325
|
}
|
|
18326
18326
|
if (sectionproperties.removedecimals == 'Without Decimals') {
|
|
18327
18327
|
cardobj.defaultsaleprice = parseFloat(Number(arrayItem.productinfo.defaultsaleprice).toFixed(2));
|
|
18328
18328
|
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
|
|
18329
|
-
cardobj.defaultsaleprice = Math.floor(arrayItem.productinfo.defaultsaleprice).toLocaleString;
|
|
18329
|
+
cardobj.defaultsaleprice = Math.floor(arrayItem.productinfo.defaultsaleprice).toLocaleString();
|
|
18330
18330
|
} else {
|
|
18331
18331
|
cardobj.defaultsaleprice = arrayItem.productinfo.defaultsaleprice;
|
|
18332
18332
|
}
|
|
@@ -22768,7 +22768,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
22768
22768
|
function ownKeys$1Z(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; }
|
|
22769
22769
|
function _objectSpread$1Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
22770
22770
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
22771
|
-
var _authdetailsContext$i3, _authdetailsContext$i4, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i6, _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i15;
|
|
22771
|
+
var _authdetailsContext$i3, _authdetailsContext$i4, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i6, _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i15, _returnpolicyobj17, _returnpolicyobj18, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _returnpolicyobj23, _returnpolicyobj24, _authdetailsContext$i18, _authdetailsContext$i21, _authdetailsContext$i24, _authdetailsContext$i27;
|
|
22772
22772
|
var actions = props.actions;
|
|
22773
22773
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
22774
22774
|
var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
@@ -24287,6 +24287,406 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24287
24287
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube.AiFillYoutube, {
|
|
24288
24288
|
size: '20',
|
|
24289
24289
|
color: '#62564b'
|
|
24290
|
+
}))))), sectionproperties.length != 0 && sectionproperties.responsiveheaderstyle == 'Style 2 With Merged Subheader' && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
24291
|
+
show: openmenuCanvas,
|
|
24292
|
+
onHide: function onHide() {
|
|
24293
|
+
setopenmenuCanvas(false);
|
|
24294
|
+
},
|
|
24295
|
+
placement: langdetect == 'en' ? 'start' : 'end',
|
|
24296
|
+
scroll: true,
|
|
24297
|
+
style: {
|
|
24298
|
+
width: '90%',
|
|
24299
|
+
backgroundColor: 'white'
|
|
24300
|
+
},
|
|
24301
|
+
backdrop: true
|
|
24302
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24303
|
+
"class": "allcentered",
|
|
24304
|
+
style: {
|
|
24305
|
+
position: 'absolute',
|
|
24306
|
+
right: -34,
|
|
24307
|
+
top: 5,
|
|
24308
|
+
width: 30,
|
|
24309
|
+
height: 30,
|
|
24310
|
+
background: '#000'
|
|
24311
|
+
},
|
|
24312
|
+
onClick: function onClick() {
|
|
24313
|
+
setopenmenuCanvas(false);
|
|
24314
|
+
}
|
|
24315
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
24316
|
+
color: '#fff',
|
|
24317
|
+
size: 16
|
|
24318
|
+
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24319
|
+
"class": "allcentered",
|
|
24320
|
+
style: {
|
|
24321
|
+
position: 'absolute',
|
|
24322
|
+
left: -34,
|
|
24323
|
+
top: 5,
|
|
24324
|
+
width: 30,
|
|
24325
|
+
height: 30,
|
|
24326
|
+
background: '#000'
|
|
24327
|
+
},
|
|
24328
|
+
onClick: function onClick() {
|
|
24329
|
+
setopenCnvas(false);
|
|
24330
|
+
}
|
|
24331
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
24332
|
+
color: '#fff',
|
|
24333
|
+
size: 16
|
|
24334
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24335
|
+
className: "row m-0 w-100 mb-5",
|
|
24336
|
+
style: {
|
|
24337
|
+
borderBottom: '1px solid #eee'
|
|
24338
|
+
}
|
|
24339
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24340
|
+
// className={'col-12 allcentered py-3'}
|
|
24341
|
+
className: sectionproperties.responsiveheaderstyle == 'Style 2 With Merged Subheader' ? 'col-12 allcentered py-3' : 'col-6 allcentered py-3',
|
|
24342
|
+
onClick: function onClick() {
|
|
24343
|
+
setactiveTab('menu');
|
|
24344
|
+
},
|
|
24345
|
+
style: {
|
|
24346
|
+
background: activeTab == 'menu' ? 'white' : '#eee'
|
|
24347
|
+
}
|
|
24348
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24349
|
+
className: "m-0 p-0",
|
|
24350
|
+
style: {
|
|
24351
|
+
textTransform: 'uppercase',
|
|
24352
|
+
fontWeight: 500,
|
|
24353
|
+
fontSize: '15px',
|
|
24354
|
+
transition: '.3s',
|
|
24355
|
+
color: sectionproperties.header_fontColorresponsive
|
|
24356
|
+
}
|
|
24357
|
+
}, langdetect == 'en' ? 'MENU' : 'القائمة')), sectionproperties.responsiveheaderstyle != 'Style 2 With Merged Subheader' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24358
|
+
className: 'col-6 allcentered py-3',
|
|
24359
|
+
onClick: function onClick() {
|
|
24360
|
+
setactiveTab('categories');
|
|
24361
|
+
},
|
|
24362
|
+
style: {
|
|
24363
|
+
background: activeTab == 'categories' ? 'white' : '#eee'
|
|
24364
|
+
}
|
|
24365
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24366
|
+
className: "m-0 p-0",
|
|
24367
|
+
style: {
|
|
24368
|
+
textTransform: 'uppercase',
|
|
24369
|
+
fontWeight: 500,
|
|
24370
|
+
fontSize: '15px',
|
|
24371
|
+
transition: '.3s',
|
|
24372
|
+
color: sectionproperties.header_fontColorresponsive
|
|
24373
|
+
}
|
|
24374
|
+
}, langdetect == 'en' ? sectionproperties.titlerespen : sectionproperties.titlerespar))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24375
|
+
style: {
|
|
24376
|
+
minHeight: '80vh'
|
|
24377
|
+
}
|
|
24378
|
+
}, activeTab == 'menu' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24379
|
+
className: ' row m-0 w-100 anim '
|
|
24380
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24381
|
+
className: "col-lg-12 p-0"
|
|
24382
|
+
}, /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
24383
|
+
className: ' d-flex justify-content-center flex-column p-0 '
|
|
24384
|
+
}, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
24385
|
+
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
24386
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24387
|
+
className: "row m-0 w-100"
|
|
24388
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24389
|
+
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
24390
|
+
style: {
|
|
24391
|
+
paddingTop: index == 0 ? 5 : 0
|
|
24392
|
+
}
|
|
24393
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24394
|
+
onClick: function onClick() {
|
|
24395
|
+
routingcountext(item.navigationroute, false, '');
|
|
24396
|
+
setopenCnvas(false);
|
|
24397
|
+
}
|
|
24398
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24399
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
24400
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24401
|
+
className: "col-lg-12 p-0"
|
|
24402
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
24403
|
+
className: "mt-4 mb-4",
|
|
24404
|
+
style: {
|
|
24405
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
24406
|
+
}
|
|
24407
|
+
})));
|
|
24408
|
+
}
|
|
24409
|
+
}), sectionproperties.responsiveheaderstyle != 'Style 2 With Merged Subheader' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24410
|
+
className: ' row m-0 w-100 '
|
|
24411
|
+
}, sectionproperties.subheaderParentType == 'Categories' && CategoriesAccordion(), sectionproperties.subheaderParentType == 'Parent Collections' && ParentCollectionsAccordion(), sectionproperties.subheaderParentType == 'Collections' && CollectionsAccordion()), authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24412
|
+
className: "row m-0 w-100"
|
|
24413
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24414
|
+
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
24415
|
+
onClick: function onClick() {
|
|
24416
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
24417
|
+
setopenCnvas(false);
|
|
24418
|
+
}
|
|
24419
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24420
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
24421
|
+
}, lang.orderhistory)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24422
|
+
className: "col-lg-12 p-0"
|
|
24423
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
24424
|
+
className: "mt-4 mb-4",
|
|
24425
|
+
style: {
|
|
24426
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
24427
|
+
}
|
|
24428
|
+
}))), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24429
|
+
className: "row m-0 w-100"
|
|
24430
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24431
|
+
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
24432
|
+
onClick: function onClick() {
|
|
24433
|
+
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
24434
|
+
setopenCnvas(false);
|
|
24435
|
+
}
|
|
24436
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24437
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
24438
|
+
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24439
|
+
className: "col-lg-12 p-0"
|
|
24440
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
24441
|
+
className: "mt-4 mb-4",
|
|
24442
|
+
style: {
|
|
24443
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
24444
|
+
}
|
|
24445
|
+
}))), templateproperties_context.separatepolicies == 'No' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24446
|
+
className: "row m-0 w-100"
|
|
24447
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24448
|
+
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
24449
|
+
onClick: function onClick() {
|
|
24450
|
+
routingcountext(StaticPagesLinksContext.Policies);
|
|
24451
|
+
setmenuactive(false);
|
|
24452
|
+
}
|
|
24453
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24454
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
24455
|
+
}, lang.policies)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24456
|
+
className: "col-lg-12 p-0"
|
|
24457
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
24458
|
+
className: "mt-4 mb-4",
|
|
24459
|
+
style: {
|
|
24460
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
24461
|
+
}
|
|
24462
|
+
}))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24463
|
+
className: "row m-0 w-100"
|
|
24464
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24465
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
24466
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24467
|
+
onClick: function onClick() {
|
|
24468
|
+
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
24469
|
+
setmenuactive(false);
|
|
24470
|
+
}
|
|
24471
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24472
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
24473
|
+
}, langdetect == 'en' ? (_returnpolicyobj17 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj17 === void 0 ? void 0 : _returnpolicyobj17.policypagename_en : (_returnpolicyobj18 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj18 === void 0 ? void 0 : _returnpolicyobj18.policypagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24474
|
+
className: "col-lg-12 p-0"
|
|
24475
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
24476
|
+
className: "mt-3 mb-3",
|
|
24477
|
+
style: {
|
|
24478
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
24479
|
+
}
|
|
24480
|
+
}))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24481
|
+
className: "row m-0 w-100"
|
|
24482
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24483
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
24484
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24485
|
+
onClick: function onClick() {
|
|
24486
|
+
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
24487
|
+
setmenuactive(false);
|
|
24488
|
+
}
|
|
24489
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24490
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
24491
|
+
}, langdetect == 'en' ? (_returnpolicyobj19 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj19 === void 0 ? void 0 : _returnpolicyobj19.policypagename_en : (_returnpolicyobj20 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj20 === void 0 ? void 0 : _returnpolicyobj20.policypagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24492
|
+
className: "col-lg-12 p-0"
|
|
24493
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
24494
|
+
className: "mt-3 mb-3",
|
|
24495
|
+
style: {
|
|
24496
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
24497
|
+
}
|
|
24498
|
+
}))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24499
|
+
className: "row m-0 w-100"
|
|
24500
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24501
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
24502
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24503
|
+
onClick: function onClick() {
|
|
24504
|
+
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
24505
|
+
setmenuactive(false);
|
|
24506
|
+
}
|
|
24507
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24508
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
24509
|
+
}, langdetect == 'en' ? (_returnpolicyobj21 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj21 === void 0 ? void 0 : _returnpolicyobj21.policypagename_en : (_returnpolicyobj22 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj22 === void 0 ? void 0 : _returnpolicyobj22.policypagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24510
|
+
className: "col-lg-12 p-0"
|
|
24511
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
24512
|
+
className: "mt-3 mb-3",
|
|
24513
|
+
style: {
|
|
24514
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
24515
|
+
}
|
|
24516
|
+
}))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24517
|
+
className: "row m-0 w-100"
|
|
24518
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24519
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
24520
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24521
|
+
onClick: function onClick() {
|
|
24522
|
+
routingcountext(StaticPagesLinksContext.TermsConditions);
|
|
24523
|
+
setmenuactive(false);
|
|
24524
|
+
}
|
|
24525
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24526
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
24527
|
+
}, langdetect == 'en' ? (_returnpolicyobj23 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj23 === void 0 ? void 0 : _returnpolicyobj23.policypagename_en : (_returnpolicyobj24 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj24 === void 0 ? void 0 : _returnpolicyobj24.policypagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24528
|
+
className: "col-lg-12 p-0"
|
|
24529
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
24530
|
+
className: "mt-3 mb-3",
|
|
24531
|
+
style: {
|
|
24532
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
24533
|
+
}
|
|
24534
|
+
}))), authdetailsContext.loggedin == true && templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24535
|
+
className: "row m-0 w-100"
|
|
24536
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24537
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
24538
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24539
|
+
onClick: function onClick() {
|
|
24540
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
24541
|
+
setmenuactive(false);
|
|
24542
|
+
}
|
|
24543
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24544
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
24545
|
+
}, langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24546
|
+
className: "col-lg-12 p-0"
|
|
24547
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
24548
|
+
className: "mt-3 mb-3",
|
|
24549
|
+
style: {
|
|
24550
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
24551
|
+
}
|
|
24552
|
+
}))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24553
|
+
className: "row m-0 w-100 pl-3 pr-3"
|
|
24554
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24555
|
+
"class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',
|
|
24556
|
+
style: {}
|
|
24557
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24558
|
+
"class": "".concat(header_cssstyles.navbar_item_text_responsive) + ' m-0 p-0 ',
|
|
24559
|
+
style: {
|
|
24560
|
+
cursor: 'default'
|
|
24561
|
+
}
|
|
24562
|
+
}, langdetect == 'en' ? 'Language' : 'اللغة')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24563
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start my-1"
|
|
24564
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24565
|
+
"class": "row m-0 w-100",
|
|
24566
|
+
style: {
|
|
24567
|
+
background: sectionproperties.langcontainerbgresp,
|
|
24568
|
+
borderRadius: 5
|
|
24569
|
+
}
|
|
24570
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24571
|
+
"class": header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',
|
|
24572
|
+
onClick: function onClick() {
|
|
24573
|
+
setlang('en');
|
|
24574
|
+
setmenuactive(false);
|
|
24575
|
+
}
|
|
24576
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24577
|
+
"class": "m-0 p-0 w-100 allcentered py-3",
|
|
24578
|
+
style: {
|
|
24579
|
+
background: langdetect == 'en' ? sectionproperties.langcontainerbgresp_active : 'transparent',
|
|
24580
|
+
borderRadius: 5,
|
|
24581
|
+
fontSize: 15,
|
|
24582
|
+
color: sectionproperties.language_container_color_resp
|
|
24583
|
+
}
|
|
24584
|
+
}, "English")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24585
|
+
"class": header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',
|
|
24586
|
+
onClick: function onClick() {
|
|
24587
|
+
setlang('ar');
|
|
24588
|
+
setmenuactive(false);
|
|
24589
|
+
}
|
|
24590
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24591
|
+
"class": "m-0 p-0 w-100 allcentered py-3",
|
|
24592
|
+
style: {
|
|
24593
|
+
borderRadius: 5,
|
|
24594
|
+
background: langdetect == 'ar' ? sectionproperties.langcontainerbgresp_active : 'transparent',
|
|
24595
|
+
fontSize: 15,
|
|
24596
|
+
color: sectionproperties.language_container_color_resp
|
|
24597
|
+
}
|
|
24598
|
+
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629"))))), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24599
|
+
className: "row m-0 w-100 pl-3 pr-3 mt-5"
|
|
24600
|
+
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
24601
|
+
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
24602
|
+
onClick: function onClick() {
|
|
24603
|
+
routingcountext(StaticPagesLinksContext.Login);
|
|
24604
|
+
setmenuactive(false);
|
|
24605
|
+
}
|
|
24606
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
24607
|
+
"class": "".concat(header_cssstyles.userbtnLoggedin_icon) + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '
|
|
24608
|
+
}, /*#__PURE__*/React__default["default"].createElement(BiUser.BiUser, null)), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
24609
|
+
"class": "userbtn_resp mx-2"
|
|
24610
|
+
}, langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب')), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
24611
|
+
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
24612
|
+
onClick: function onClick() {
|
|
24613
|
+
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
24614
|
+
setmenuactive(false);
|
|
24615
|
+
}
|
|
24616
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
24617
|
+
"class": "".concat(header_cssstyles.userbtnLoggedin_icon) + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '
|
|
24618
|
+
}, /*#__PURE__*/React__default["default"].createElement(BiUser.BiUser, null)), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
24619
|
+
"class": header_cssstyles.loggedintext + ' text-start text-overflow d-block loggedintext mx-2 '
|
|
24620
|
+
}, authdetailsContext.customerinfo.name))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24621
|
+
className: "row m-0 w-100"
|
|
24622
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
24623
|
+
"class": ' d-flex align-items-center justify-content-center p-0 m-0 ',
|
|
24624
|
+
onClick: function onClick() {
|
|
24625
|
+
LogoutMutationContext.mutate();
|
|
24626
|
+
setmenuactive(false);
|
|
24627
|
+
},
|
|
24628
|
+
style: {
|
|
24629
|
+
width: '90%',
|
|
24630
|
+
height: 40,
|
|
24631
|
+
background: 'white',
|
|
24632
|
+
color: '#000',
|
|
24633
|
+
fontSize: 16
|
|
24634
|
+
}
|
|
24635
|
+
}, lang.logout))))), activeTab == 'categories' && sectionproperties.responsiveheaderstyle != 'Style 2 With Merged Subheader' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24636
|
+
className: ' row m-0 w-100 accordionContainer anim'
|
|
24637
|
+
}, sectionproperties.subheaderParentType == 'Categories' && CategoriesAccordion(), sectionproperties.subheaderParentType == 'Parent Collections' && ParentCollectionsAccordion(), sectionproperties.subheaderParentType == 'Collections' && CollectionsAccordion())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24638
|
+
className: "col-lg-12 p-0 d-flex flex-row allcentered p-3",
|
|
24639
|
+
style: {
|
|
24640
|
+
background: '#eee'
|
|
24641
|
+
}
|
|
24642
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24643
|
+
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
24644
|
+
onClick: function onClick() {
|
|
24645
|
+
var _authdetailsContext$i19;
|
|
24646
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.facebooklink) != null) {
|
|
24647
|
+
var _authdetailsContext$i20;
|
|
24648
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.facebooklink, '_blank');
|
|
24649
|
+
}
|
|
24650
|
+
}
|
|
24651
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
24652
|
+
size: '20',
|
|
24653
|
+
color: '#62564b'
|
|
24654
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24655
|
+
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
24656
|
+
onClick: function onClick() {
|
|
24657
|
+
var _authdetailsContext$i22;
|
|
24658
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.instagramlink) != null) {
|
|
24659
|
+
var _authdetailsContext$i23;
|
|
24660
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.instagramlink, '_blank');
|
|
24661
|
+
}
|
|
24662
|
+
}
|
|
24663
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
24664
|
+
size: '22',
|
|
24665
|
+
color: '#62564b'
|
|
24666
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24667
|
+
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
24668
|
+
onClick: function onClick() {
|
|
24669
|
+
var _authdetailsContext$i25;
|
|
24670
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.instagramlink) != null) {
|
|
24671
|
+
var _authdetailsContext$i26;
|
|
24672
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.tiktoklink, '_blank');
|
|
24673
|
+
}
|
|
24674
|
+
}
|
|
24675
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
24676
|
+
size: '20',
|
|
24677
|
+
color: '#62564b'
|
|
24678
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24679
|
+
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
24680
|
+
onClick: function onClick() {
|
|
24681
|
+
var _authdetailsContext$i28;
|
|
24682
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.instagramlink) != null) {
|
|
24683
|
+
var _authdetailsContext$i29;
|
|
24684
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.youtubelink, '_blank');
|
|
24685
|
+
}
|
|
24686
|
+
}
|
|
24687
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube.AiFillYoutube, {
|
|
24688
|
+
size: '20',
|
|
24689
|
+
color: '#62564b'
|
|
24290
24690
|
})))))));
|
|
24291
24691
|
};
|
|
24292
24692
|
|