tabexseriescomponents 0.2.745 → 0.2.747
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 +88 -26
- package/dist/index.esm.js +88 -26
- package/dist/index.umd.js +88 -26
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -10985,22 +10985,18 @@ var Checkout = function Checkout(props) {
|
|
|
10985
10985
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
10986
10986
|
insthasaffiliate = _useState8[0],
|
|
10987
10987
|
setinsthasaffiliate = _useState8[1];
|
|
10988
|
-
var _useState9 = React.useState(
|
|
10989
|
-
_useState10 = _slicedToArray__default["default"](_useState9, 2)
|
|
10990
|
-
_useState10[0]
|
|
10991
|
-
_useState10[1];
|
|
10992
|
-
var _useState11 = React.useState(
|
|
10993
|
-
_useState12 = _slicedToArray__default["default"](_useState11, 2)
|
|
10994
|
-
_useState12[0]
|
|
10995
|
-
_useState12[1];
|
|
10996
|
-
var _useState13 = React.useState(
|
|
10988
|
+
var _useState9 = React.useState([]),
|
|
10989
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
10990
|
+
shippingmethods = _useState10[0],
|
|
10991
|
+
setshippingmethods = _useState10[1];
|
|
10992
|
+
var _useState11 = React.useState([]),
|
|
10993
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
10994
|
+
orderextrafeilds = _useState12[0],
|
|
10995
|
+
setorderextrafeilds = _useState12[1];
|
|
10996
|
+
var _useState13 = React.useState(''),
|
|
10997
10997
|
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
10998
|
-
|
|
10999
|
-
|
|
11000
|
-
var _useState15 = React.useState([]),
|
|
11001
|
-
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
11002
|
-
orderextrafeilds = _useState16[0],
|
|
11003
|
-
setorderextrafeilds = _useState16[1];
|
|
10998
|
+
countrycode = _useState14[0],
|
|
10999
|
+
setcountrycode = _useState14[1];
|
|
11004
11000
|
React.useEffect(function () {
|
|
11005
11001
|
var _templatepropcontext$;
|
|
11006
11002
|
var cartindex = templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.findIndex(function (x) {
|
|
@@ -11414,7 +11410,7 @@ var Checkout = function Checkout(props) {
|
|
|
11414
11410
|
}
|
|
11415
11411
|
if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue33 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue33 === void 0 || (_fetchcustomercartQue33 = _fetchcustomercartQue33.data) === null || _fetchcustomercartQue33 === void 0 ? void 0 : _fetchcustomercartQue33.customercart.name.length) < 3) {
|
|
11416
11412
|
NotificationManager.warning('', langdetect == 'en' ? 'Write your full name' : 'اكتب الاسم كاملا');
|
|
11417
|
-
} else if (
|
|
11413
|
+
} else if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue34 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue34 === void 0 || (_fetchcustomercartQue34 = _fetchcustomercartQue34.data) === null || _fetchcustomercartQue34 === void 0 ? void 0 : _fetchcustomercartQue34.customercart.mobile.length) < 11 && countrycode.splice(2) == '20') {
|
|
11418
11414
|
NotificationManager.warning('', langdetect == 'en' ? 'Write valid mobile number' : 'اكتب رقم تليفون صحيح');
|
|
11419
11415
|
} else {
|
|
11420
11416
|
AddOrderMutationContext.mutate();
|
|
@@ -11444,6 +11440,27 @@ var Checkout = function Checkout(props) {
|
|
|
11444
11440
|
}
|
|
11445
11441
|
return isloading;
|
|
11446
11442
|
};
|
|
11443
|
+
var _useState15 = React.useState(null),
|
|
11444
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
11445
|
+
debounceTimer = _useState16[0],
|
|
11446
|
+
setDebounceTimer = _useState16[1];
|
|
11447
|
+
var handlePhoneChange = function handlePhoneChange(event, country) {
|
|
11448
|
+
var temp = event;
|
|
11449
|
+
|
|
11450
|
+
// Clear the previous timeout if the user is still typing
|
|
11451
|
+
if (debounceTimer) {
|
|
11452
|
+
clearTimeout(debounceTimer);
|
|
11453
|
+
}
|
|
11454
|
+
|
|
11455
|
+
// Set a new timeout to update after 500ms of no typing
|
|
11456
|
+
var newDebounceTimer = setTimeout(function () {
|
|
11457
|
+
// cartinfoupdater('countrydialcode', country.dialCode);
|
|
11458
|
+
setcountrycode(country.dialCode);
|
|
11459
|
+
cartinfoupdater('mobile', temp);
|
|
11460
|
+
// alert(fetchcustomercartQueryContext?.data?.data?.customercart.mobile.length);
|
|
11461
|
+
}, 500);
|
|
11462
|
+
setDebounceTimer(newDebounceTimer);
|
|
11463
|
+
};
|
|
11447
11464
|
var Mycart = function Mycart() {
|
|
11448
11465
|
var _fetchcustomercartQue35, _fetchcustomercartQue36, _fetchcustomercartQue37, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44, _fetchcustomercartQue45, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64;
|
|
11449
11466
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -11990,16 +12007,20 @@ var Checkout = function Checkout(props) {
|
|
|
11990
12007
|
className: "col-lg-4 col-md-12 mb-3"
|
|
11991
12008
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
11992
12009
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
11993
|
-
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("
|
|
11994
|
-
|
|
11995
|
-
|
|
12010
|
+
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement(PhoneInput__default["default"], {
|
|
12011
|
+
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control) + ' ',
|
|
12012
|
+
country: 'eg',
|
|
12013
|
+
enableSearch: true,
|
|
12014
|
+
autoFormat: true,
|
|
11996
12015
|
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.mobile,
|
|
11997
|
-
|
|
11998
|
-
|
|
12016
|
+
inputStyle: {
|
|
12017
|
+
color: sectionproperties.inputfieldcolor
|
|
11999
12018
|
},
|
|
12019
|
+
onChange: handlePhoneChange,
|
|
12000
12020
|
style: {
|
|
12001
|
-
|
|
12002
|
-
|
|
12021
|
+
direction: 'ltr',
|
|
12022
|
+
color: sectionproperties.inputfieldcolor,
|
|
12023
|
+
height: sectionproperties.inputfieldheight + 'px'
|
|
12003
12024
|
}
|
|
12004
12025
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12005
12026
|
className: "col-lg-4 col-md-12 mb-3"
|
|
@@ -24262,6 +24283,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24262
24283
|
onClick: function onClick() {
|
|
24263
24284
|
var _fetchcustomercartQue;
|
|
24264
24285
|
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.customercart) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.cartitems) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.length) > 7) {
|
|
24286
|
+
setopenmenuCanvas(false);
|
|
24265
24287
|
routingcountext(StaticPagesLinksContext.viewcart);
|
|
24266
24288
|
} else {
|
|
24267
24289
|
setsidecartnavshowcontext(true);
|
|
@@ -24324,6 +24346,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24324
24346
|
cursor: 'pointer'
|
|
24325
24347
|
},
|
|
24326
24348
|
onClick: function onClick() {
|
|
24349
|
+
setopenmenuCanvas(false);
|
|
24327
24350
|
routingcountext(sectionproperties.logoonclickroute);
|
|
24328
24351
|
}
|
|
24329
24352
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
@@ -24357,7 +24380,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24357
24380
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24358
24381
|
className: "col-10 p-0 text-start"
|
|
24359
24382
|
// onClick={() => {
|
|
24360
|
-
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
24383
|
+
// setopenmenuCanvas(false); routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
24361
24384
|
// }}
|
|
24362
24385
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24363
24386
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
@@ -24408,7 +24431,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24408
24431
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24409
24432
|
className: "col-10 p-0 text-start",
|
|
24410
24433
|
onClick: function onClick() {
|
|
24411
|
-
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
24434
|
+
// setopenmenuCanvas(false); routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
24412
24435
|
}
|
|
24413
24436
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24414
24437
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
@@ -24452,6 +24475,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24452
24475
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24453
24476
|
className: "col-10 p-0 text-start",
|
|
24454
24477
|
onClick: function onClick() {
|
|
24478
|
+
setopenmenuCanvas(false);
|
|
24455
24479
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
24456
24480
|
setopenCnvas(false);
|
|
24457
24481
|
}
|
|
@@ -24537,6 +24561,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24537
24561
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24538
24562
|
className: "col-10 p-0 text-start",
|
|
24539
24563
|
onClick: function onClick() {
|
|
24564
|
+
setopenmenuCanvas(false);
|
|
24540
24565
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
24541
24566
|
setopenCnvas(false);
|
|
24542
24567
|
}
|
|
@@ -24566,6 +24591,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24566
24591
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24567
24592
|
className: "col-12 p-0 text-start px-3",
|
|
24568
24593
|
onClick: function onClick() {
|
|
24594
|
+
setopenmenuCanvas(false);
|
|
24569
24595
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
24570
24596
|
setopenCnvas(false);
|
|
24571
24597
|
}
|
|
@@ -24637,6 +24663,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24637
24663
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
24638
24664
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
24639
24665
|
onClick: function onClick() {
|
|
24666
|
+
setopenmenuCanvas(false);
|
|
24640
24667
|
routingcountext(StaticPagesLinksContext.Login);
|
|
24641
24668
|
setmenuactive(false);
|
|
24642
24669
|
}
|
|
@@ -24647,6 +24674,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24647
24674
|
}, langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب')), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
24648
24675
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
24649
24676
|
onClick: function onClick() {
|
|
24677
|
+
setopenmenuCanvas(false);
|
|
24650
24678
|
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
24651
24679
|
setmenuactive(false);
|
|
24652
24680
|
}
|
|
@@ -24814,6 +24842,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24814
24842
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
24815
24843
|
"class": "h-100 allcentered",
|
|
24816
24844
|
onClick: function onClick() {
|
|
24845
|
+
setopenmenuCanvas(false);
|
|
24817
24846
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
24818
24847
|
}
|
|
24819
24848
|
}, /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
@@ -24961,6 +24990,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24961
24990
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
24962
24991
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24963
24992
|
onClick: function onClick() {
|
|
24993
|
+
setopenmenuCanvas(false);
|
|
24964
24994
|
routingcountext(item.navigationroute, false, '');
|
|
24965
24995
|
setmenuactive(false);
|
|
24966
24996
|
}
|
|
@@ -24981,6 +25011,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24981
25011
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
24982
25012
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24983
25013
|
onClick: function onClick() {
|
|
25014
|
+
setopenmenuCanvas(false);
|
|
24984
25015
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
24985
25016
|
setmenuactive(false);
|
|
24986
25017
|
}
|
|
@@ -24999,6 +25030,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24999
25030
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
25000
25031
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25001
25032
|
onClick: function onClick() {
|
|
25033
|
+
setopenmenuCanvas(false);
|
|
25002
25034
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
25003
25035
|
setmenuactive(false);
|
|
25004
25036
|
}
|
|
@@ -25017,6 +25049,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25017
25049
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
25018
25050
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25019
25051
|
onClick: function onClick() {
|
|
25052
|
+
setopenmenuCanvas(false);
|
|
25020
25053
|
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
25021
25054
|
setmenuactive(false);
|
|
25022
25055
|
}
|
|
@@ -25035,6 +25068,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25035
25068
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
25036
25069
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25037
25070
|
onClick: function onClick() {
|
|
25071
|
+
setopenmenuCanvas(false);
|
|
25038
25072
|
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
25039
25073
|
setmenuactive(false);
|
|
25040
25074
|
}
|
|
@@ -25053,6 +25087,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25053
25087
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
25054
25088
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25055
25089
|
onClick: function onClick() {
|
|
25090
|
+
setopenmenuCanvas(false);
|
|
25056
25091
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
25057
25092
|
setmenuactive(false);
|
|
25058
25093
|
}
|
|
@@ -25071,6 +25106,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25071
25106
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
25072
25107
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25073
25108
|
onClick: function onClick() {
|
|
25109
|
+
setopenmenuCanvas(false);
|
|
25074
25110
|
routingcountext(StaticPagesLinksContext.TermsConditions);
|
|
25075
25111
|
setmenuactive(false);
|
|
25076
25112
|
}
|
|
@@ -25089,6 +25125,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25089
25125
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
25090
25126
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25091
25127
|
onClick: function onClick() {
|
|
25128
|
+
setopenmenuCanvas(false);
|
|
25092
25129
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
25093
25130
|
setmenuactive(false);
|
|
25094
25131
|
}
|
|
@@ -25152,6 +25189,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25152
25189
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
25153
25190
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
25154
25191
|
onClick: function onClick() {
|
|
25192
|
+
setopenmenuCanvas(false);
|
|
25155
25193
|
routingcountext(StaticPagesLinksContext.Login);
|
|
25156
25194
|
setmenuactive(false);
|
|
25157
25195
|
}
|
|
@@ -25162,6 +25200,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25162
25200
|
}, langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب')), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
25163
25201
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
25164
25202
|
onClick: function onClick() {
|
|
25203
|
+
setopenmenuCanvas(false);
|
|
25165
25204
|
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
25166
25205
|
setmenuactive(false);
|
|
25167
25206
|
}
|
|
@@ -25346,6 +25385,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25346
25385
|
}
|
|
25347
25386
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25348
25387
|
onClick: function onClick() {
|
|
25388
|
+
setopenmenuCanvas(false);
|
|
25349
25389
|
routingcountext(item.navigationroute, false, '');
|
|
25350
25390
|
setopenCnvas(false);
|
|
25351
25391
|
}
|
|
@@ -25365,6 +25405,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25365
25405
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25366
25406
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
25367
25407
|
onClick: function onClick() {
|
|
25408
|
+
setopenmenuCanvas(false);
|
|
25368
25409
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
25369
25410
|
setopenCnvas(false);
|
|
25370
25411
|
}
|
|
@@ -25382,6 +25423,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25382
25423
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25383
25424
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
25384
25425
|
onClick: function onClick() {
|
|
25426
|
+
setopenmenuCanvas(false);
|
|
25385
25427
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
25386
25428
|
setmenuactive(false);
|
|
25387
25429
|
}
|
|
@@ -25400,6 +25442,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25400
25442
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25401
25443
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25402
25444
|
onClick: function onClick() {
|
|
25445
|
+
setopenmenuCanvas(false);
|
|
25403
25446
|
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
25404
25447
|
setmenuactive(false);
|
|
25405
25448
|
}
|
|
@@ -25418,6 +25461,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25418
25461
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25419
25462
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25420
25463
|
onClick: function onClick() {
|
|
25464
|
+
setopenmenuCanvas(false);
|
|
25421
25465
|
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
25422
25466
|
setmenuactive(false);
|
|
25423
25467
|
}
|
|
@@ -25436,6 +25480,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25436
25480
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25437
25481
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25438
25482
|
onClick: function onClick() {
|
|
25483
|
+
setopenmenuCanvas(false);
|
|
25439
25484
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
25440
25485
|
setmenuactive(false);
|
|
25441
25486
|
}
|
|
@@ -25454,6 +25499,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25454
25499
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25455
25500
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25456
25501
|
onClick: function onClick() {
|
|
25502
|
+
setopenmenuCanvas(false);
|
|
25457
25503
|
routingcountext(StaticPagesLinksContext.TermsConditions);
|
|
25458
25504
|
setmenuactive(false);
|
|
25459
25505
|
}
|
|
@@ -25472,6 +25518,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25472
25518
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25473
25519
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25474
25520
|
onClick: function onClick() {
|
|
25521
|
+
setopenmenuCanvas(false);
|
|
25475
25522
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
25476
25523
|
setmenuactive(false);
|
|
25477
25524
|
}
|
|
@@ -25535,6 +25582,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25535
25582
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
25536
25583
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
25537
25584
|
onClick: function onClick() {
|
|
25585
|
+
setopenmenuCanvas(false);
|
|
25538
25586
|
routingcountext(StaticPagesLinksContext.Login);
|
|
25539
25587
|
setmenuactive(false);
|
|
25540
25588
|
}
|
|
@@ -25545,6 +25593,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25545
25593
|
}, langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب')), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
25546
25594
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
25547
25595
|
onClick: function onClick() {
|
|
25596
|
+
setopenmenuCanvas(false);
|
|
25548
25597
|
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
25549
25598
|
setmenuactive(false);
|
|
25550
25599
|
}
|
|
@@ -25697,6 +25746,8 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25697
25746
|
}
|
|
25698
25747
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25699
25748
|
onClick: function onClick() {
|
|
25749
|
+
setopenmenuCanvas(false);
|
|
25750
|
+
setopenmenuCanvas(false);
|
|
25700
25751
|
routingcountext(item.navigationroute, false, '');
|
|
25701
25752
|
setopenCnvas(false);
|
|
25702
25753
|
}
|
|
@@ -25724,6 +25775,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25724
25775
|
}
|
|
25725
25776
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25726
25777
|
onClick: function onClick() {
|
|
25778
|
+
setopenmenuCanvas(false);
|
|
25727
25779
|
routingcountext(item.navigationroute, false, '');
|
|
25728
25780
|
setopenCnvas(false);
|
|
25729
25781
|
}
|
|
@@ -25743,6 +25795,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25743
25795
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25744
25796
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
25745
25797
|
onClick: function onClick() {
|
|
25798
|
+
setopenmenuCanvas(false);
|
|
25746
25799
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
25747
25800
|
setopenCnvas(false);
|
|
25748
25801
|
}
|
|
@@ -25760,6 +25813,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25760
25813
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25761
25814
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
25762
25815
|
onClick: function onClick() {
|
|
25816
|
+
setopenmenuCanvas(false);
|
|
25763
25817
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
25764
25818
|
setopenCnvas(false);
|
|
25765
25819
|
}
|
|
@@ -25777,6 +25831,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25777
25831
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25778
25832
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
25779
25833
|
onClick: function onClick() {
|
|
25834
|
+
setopenmenuCanvas(false);
|
|
25780
25835
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
25781
25836
|
setmenuactive(false);
|
|
25782
25837
|
}
|
|
@@ -25795,6 +25850,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25795
25850
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25796
25851
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25797
25852
|
onClick: function onClick() {
|
|
25853
|
+
setopenmenuCanvas(false);
|
|
25798
25854
|
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
25799
25855
|
setmenuactive(false);
|
|
25800
25856
|
}
|
|
@@ -25813,6 +25869,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25813
25869
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25814
25870
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25815
25871
|
onClick: function onClick() {
|
|
25872
|
+
setopenmenuCanvas(false);
|
|
25816
25873
|
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
25817
25874
|
setmenuactive(false);
|
|
25818
25875
|
}
|
|
@@ -25831,6 +25888,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25831
25888
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25832
25889
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25833
25890
|
onClick: function onClick() {
|
|
25891
|
+
setopenmenuCanvas(false);
|
|
25834
25892
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
25835
25893
|
setmenuactive(false);
|
|
25836
25894
|
}
|
|
@@ -25849,6 +25907,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25849
25907
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25850
25908
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25851
25909
|
onClick: function onClick() {
|
|
25910
|
+
setopenmenuCanvas(false);
|
|
25852
25911
|
routingcountext(StaticPagesLinksContext.TermsConditions);
|
|
25853
25912
|
setmenuactive(false);
|
|
25854
25913
|
}
|
|
@@ -33446,7 +33505,10 @@ var Header8 = function Header8(props) {
|
|
|
33446
33505
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
33447
33506
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
33448
33507
|
}
|
|
33449
|
-
},
|
|
33508
|
+
}, /*#__PURE__*/React__default["default"].createElement(FloatingIcons, {
|
|
33509
|
+
sectionpropertiesprops: sectionproperties,
|
|
33510
|
+
actions: actions
|
|
33511
|
+
}), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33450
33512
|
"class": "col-lg-12 p-0 d-md-none d-sm-none"
|
|
33451
33513
|
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
33452
33514
|
sectionpropertiesprops: sectionproperties,
|
package/dist/index.esm.js
CHANGED
|
@@ -10936,22 +10936,18 @@ var Checkout = function Checkout(props) {
|
|
|
10936
10936
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
10937
10937
|
insthasaffiliate = _useState8[0],
|
|
10938
10938
|
setinsthasaffiliate = _useState8[1];
|
|
10939
|
-
var _useState9 = useState(
|
|
10940
|
-
_useState10 = _slicedToArray(_useState9, 2)
|
|
10941
|
-
_useState10[0]
|
|
10942
|
-
_useState10[1];
|
|
10943
|
-
var _useState11 = useState(
|
|
10944
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
10945
|
-
_useState12[0]
|
|
10946
|
-
_useState12[1];
|
|
10947
|
-
var _useState13 = useState(
|
|
10939
|
+
var _useState9 = useState([]),
|
|
10940
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
10941
|
+
shippingmethods = _useState10[0],
|
|
10942
|
+
setshippingmethods = _useState10[1];
|
|
10943
|
+
var _useState11 = useState([]),
|
|
10944
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
10945
|
+
orderextrafeilds = _useState12[0],
|
|
10946
|
+
setorderextrafeilds = _useState12[1];
|
|
10947
|
+
var _useState13 = useState(''),
|
|
10948
10948
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
10949
|
-
|
|
10950
|
-
|
|
10951
|
-
var _useState15 = useState([]),
|
|
10952
|
-
_useState16 = _slicedToArray(_useState15, 2),
|
|
10953
|
-
orderextrafeilds = _useState16[0],
|
|
10954
|
-
setorderextrafeilds = _useState16[1];
|
|
10949
|
+
countrycode = _useState14[0],
|
|
10950
|
+
setcountrycode = _useState14[1];
|
|
10955
10951
|
useEffect(function () {
|
|
10956
10952
|
var _templatepropcontext$;
|
|
10957
10953
|
var cartindex = templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.findIndex(function (x) {
|
|
@@ -11365,7 +11361,7 @@ var Checkout = function Checkout(props) {
|
|
|
11365
11361
|
}
|
|
11366
11362
|
if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue33 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue33 === void 0 || (_fetchcustomercartQue33 = _fetchcustomercartQue33.data) === null || _fetchcustomercartQue33 === void 0 ? void 0 : _fetchcustomercartQue33.customercart.name.length) < 3) {
|
|
11367
11363
|
NotificationManager.warning('', langdetect == 'en' ? 'Write your full name' : 'اكتب الاسم كاملا');
|
|
11368
|
-
} else if (
|
|
11364
|
+
} else if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue34 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue34 === void 0 || (_fetchcustomercartQue34 = _fetchcustomercartQue34.data) === null || _fetchcustomercartQue34 === void 0 ? void 0 : _fetchcustomercartQue34.customercart.mobile.length) < 11 && countrycode.splice(2) == '20') {
|
|
11369
11365
|
NotificationManager.warning('', langdetect == 'en' ? 'Write valid mobile number' : 'اكتب رقم تليفون صحيح');
|
|
11370
11366
|
} else {
|
|
11371
11367
|
AddOrderMutationContext.mutate();
|
|
@@ -11395,6 +11391,27 @@ var Checkout = function Checkout(props) {
|
|
|
11395
11391
|
}
|
|
11396
11392
|
return isloading;
|
|
11397
11393
|
};
|
|
11394
|
+
var _useState15 = useState(null),
|
|
11395
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
11396
|
+
debounceTimer = _useState16[0],
|
|
11397
|
+
setDebounceTimer = _useState16[1];
|
|
11398
|
+
var handlePhoneChange = function handlePhoneChange(event, country) {
|
|
11399
|
+
var temp = event;
|
|
11400
|
+
|
|
11401
|
+
// Clear the previous timeout if the user is still typing
|
|
11402
|
+
if (debounceTimer) {
|
|
11403
|
+
clearTimeout(debounceTimer);
|
|
11404
|
+
}
|
|
11405
|
+
|
|
11406
|
+
// Set a new timeout to update after 500ms of no typing
|
|
11407
|
+
var newDebounceTimer = setTimeout(function () {
|
|
11408
|
+
// cartinfoupdater('countrydialcode', country.dialCode);
|
|
11409
|
+
setcountrycode(country.dialCode);
|
|
11410
|
+
cartinfoupdater('mobile', temp);
|
|
11411
|
+
// alert(fetchcustomercartQueryContext?.data?.data?.customercart.mobile.length);
|
|
11412
|
+
}, 500);
|
|
11413
|
+
setDebounceTimer(newDebounceTimer);
|
|
11414
|
+
};
|
|
11398
11415
|
var Mycart = function Mycart() {
|
|
11399
11416
|
var _fetchcustomercartQue35, _fetchcustomercartQue36, _fetchcustomercartQue37, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44, _fetchcustomercartQue45, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64;
|
|
11400
11417
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -11941,16 +11958,20 @@ var Checkout = function Checkout(props) {
|
|
|
11941
11958
|
className: "col-lg-4 col-md-12 mb-3"
|
|
11942
11959
|
}, /*#__PURE__*/React.createElement("label", {
|
|
11943
11960
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
11944
|
-
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React.createElement(
|
|
11945
|
-
|
|
11946
|
-
|
|
11961
|
+
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React.createElement(PhoneInput, {
|
|
11962
|
+
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control) + ' ',
|
|
11963
|
+
country: 'eg',
|
|
11964
|
+
enableSearch: true,
|
|
11965
|
+
autoFormat: true,
|
|
11947
11966
|
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.mobile,
|
|
11948
|
-
|
|
11949
|
-
|
|
11967
|
+
inputStyle: {
|
|
11968
|
+
color: sectionproperties.inputfieldcolor
|
|
11950
11969
|
},
|
|
11970
|
+
onChange: handlePhoneChange,
|
|
11951
11971
|
style: {
|
|
11952
|
-
|
|
11953
|
-
|
|
11972
|
+
direction: 'ltr',
|
|
11973
|
+
color: sectionproperties.inputfieldcolor,
|
|
11974
|
+
height: sectionproperties.inputfieldheight + 'px'
|
|
11954
11975
|
}
|
|
11955
11976
|
})), /*#__PURE__*/React.createElement("div", {
|
|
11956
11977
|
className: "col-lg-4 col-md-12 mb-3"
|
|
@@ -24213,6 +24234,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24213
24234
|
onClick: function onClick() {
|
|
24214
24235
|
var _fetchcustomercartQue;
|
|
24215
24236
|
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.customercart) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.cartitems) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.length) > 7) {
|
|
24237
|
+
setopenmenuCanvas(false);
|
|
24216
24238
|
routingcountext(StaticPagesLinksContext.viewcart);
|
|
24217
24239
|
} else {
|
|
24218
24240
|
setsidecartnavshowcontext(true);
|
|
@@ -24275,6 +24297,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24275
24297
|
cursor: 'pointer'
|
|
24276
24298
|
},
|
|
24277
24299
|
onClick: function onClick() {
|
|
24300
|
+
setopenmenuCanvas(false);
|
|
24278
24301
|
routingcountext(sectionproperties.logoonclickroute);
|
|
24279
24302
|
}
|
|
24280
24303
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
@@ -24308,7 +24331,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24308
24331
|
}, /*#__PURE__*/React.createElement("div", {
|
|
24309
24332
|
className: "col-10 p-0 text-start"
|
|
24310
24333
|
// onClick={() => {
|
|
24311
|
-
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
24334
|
+
// setopenmenuCanvas(false); routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
24312
24335
|
// }}
|
|
24313
24336
|
}, /*#__PURE__*/React.createElement("p", {
|
|
24314
24337
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
@@ -24359,7 +24382,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24359
24382
|
}, /*#__PURE__*/React.createElement("div", {
|
|
24360
24383
|
className: "col-10 p-0 text-start",
|
|
24361
24384
|
onClick: function onClick() {
|
|
24362
|
-
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
24385
|
+
// setopenmenuCanvas(false); routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
24363
24386
|
}
|
|
24364
24387
|
}, /*#__PURE__*/React.createElement("p", {
|
|
24365
24388
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
@@ -24403,6 +24426,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24403
24426
|
}, /*#__PURE__*/React.createElement("div", {
|
|
24404
24427
|
className: "col-10 p-0 text-start",
|
|
24405
24428
|
onClick: function onClick() {
|
|
24429
|
+
setopenmenuCanvas(false);
|
|
24406
24430
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
24407
24431
|
setopenCnvas(false);
|
|
24408
24432
|
}
|
|
@@ -24488,6 +24512,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24488
24512
|
}, /*#__PURE__*/React.createElement("div", {
|
|
24489
24513
|
className: "col-10 p-0 text-start",
|
|
24490
24514
|
onClick: function onClick() {
|
|
24515
|
+
setopenmenuCanvas(false);
|
|
24491
24516
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
24492
24517
|
setopenCnvas(false);
|
|
24493
24518
|
}
|
|
@@ -24517,6 +24542,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24517
24542
|
}, /*#__PURE__*/React.createElement("div", {
|
|
24518
24543
|
className: "col-12 p-0 text-start px-3",
|
|
24519
24544
|
onClick: function onClick() {
|
|
24545
|
+
setopenmenuCanvas(false);
|
|
24520
24546
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
24521
24547
|
setopenCnvas(false);
|
|
24522
24548
|
}
|
|
@@ -24588,6 +24614,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24588
24614
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement("button", {
|
|
24589
24615
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
24590
24616
|
onClick: function onClick() {
|
|
24617
|
+
setopenmenuCanvas(false);
|
|
24591
24618
|
routingcountext(StaticPagesLinksContext.Login);
|
|
24592
24619
|
setmenuactive(false);
|
|
24593
24620
|
}
|
|
@@ -24598,6 +24625,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24598
24625
|
}, langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب')), authdetailsContext.loggedin && /*#__PURE__*/React.createElement("button", {
|
|
24599
24626
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
24600
24627
|
onClick: function onClick() {
|
|
24628
|
+
setopenmenuCanvas(false);
|
|
24601
24629
|
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
24602
24630
|
setmenuactive(false);
|
|
24603
24631
|
}
|
|
@@ -24765,6 +24793,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24765
24793
|
}, /*#__PURE__*/React.createElement("i", {
|
|
24766
24794
|
"class": "h-100 allcentered",
|
|
24767
24795
|
onClick: function onClick() {
|
|
24796
|
+
setopenmenuCanvas(false);
|
|
24768
24797
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
24769
24798
|
}
|
|
24770
24799
|
}, /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
@@ -24912,6 +24941,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24912
24941
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
24913
24942
|
}, /*#__PURE__*/React.createElement("div", {
|
|
24914
24943
|
onClick: function onClick() {
|
|
24944
|
+
setopenmenuCanvas(false);
|
|
24915
24945
|
routingcountext(item.navigationroute, false, '');
|
|
24916
24946
|
setmenuactive(false);
|
|
24917
24947
|
}
|
|
@@ -24932,6 +24962,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24932
24962
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
24933
24963
|
}, /*#__PURE__*/React.createElement("div", {
|
|
24934
24964
|
onClick: function onClick() {
|
|
24965
|
+
setopenmenuCanvas(false);
|
|
24935
24966
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
24936
24967
|
setmenuactive(false);
|
|
24937
24968
|
}
|
|
@@ -24950,6 +24981,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24950
24981
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
24951
24982
|
}, /*#__PURE__*/React.createElement("div", {
|
|
24952
24983
|
onClick: function onClick() {
|
|
24984
|
+
setopenmenuCanvas(false);
|
|
24953
24985
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
24954
24986
|
setmenuactive(false);
|
|
24955
24987
|
}
|
|
@@ -24968,6 +25000,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24968
25000
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
24969
25001
|
}, /*#__PURE__*/React.createElement("div", {
|
|
24970
25002
|
onClick: function onClick() {
|
|
25003
|
+
setopenmenuCanvas(false);
|
|
24971
25004
|
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
24972
25005
|
setmenuactive(false);
|
|
24973
25006
|
}
|
|
@@ -24986,6 +25019,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24986
25019
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
24987
25020
|
}, /*#__PURE__*/React.createElement("div", {
|
|
24988
25021
|
onClick: function onClick() {
|
|
25022
|
+
setopenmenuCanvas(false);
|
|
24989
25023
|
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
24990
25024
|
setmenuactive(false);
|
|
24991
25025
|
}
|
|
@@ -25004,6 +25038,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25004
25038
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
25005
25039
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25006
25040
|
onClick: function onClick() {
|
|
25041
|
+
setopenmenuCanvas(false);
|
|
25007
25042
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
25008
25043
|
setmenuactive(false);
|
|
25009
25044
|
}
|
|
@@ -25022,6 +25057,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25022
25057
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
25023
25058
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25024
25059
|
onClick: function onClick() {
|
|
25060
|
+
setopenmenuCanvas(false);
|
|
25025
25061
|
routingcountext(StaticPagesLinksContext.TermsConditions);
|
|
25026
25062
|
setmenuactive(false);
|
|
25027
25063
|
}
|
|
@@ -25040,6 +25076,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25040
25076
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
25041
25077
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25042
25078
|
onClick: function onClick() {
|
|
25079
|
+
setopenmenuCanvas(false);
|
|
25043
25080
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
25044
25081
|
setmenuactive(false);
|
|
25045
25082
|
}
|
|
@@ -25103,6 +25140,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25103
25140
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement("button", {
|
|
25104
25141
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
25105
25142
|
onClick: function onClick() {
|
|
25143
|
+
setopenmenuCanvas(false);
|
|
25106
25144
|
routingcountext(StaticPagesLinksContext.Login);
|
|
25107
25145
|
setmenuactive(false);
|
|
25108
25146
|
}
|
|
@@ -25113,6 +25151,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25113
25151
|
}, langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب')), authdetailsContext.loggedin && /*#__PURE__*/React.createElement("button", {
|
|
25114
25152
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
25115
25153
|
onClick: function onClick() {
|
|
25154
|
+
setopenmenuCanvas(false);
|
|
25116
25155
|
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
25117
25156
|
setmenuactive(false);
|
|
25118
25157
|
}
|
|
@@ -25297,6 +25336,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25297
25336
|
}
|
|
25298
25337
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25299
25338
|
onClick: function onClick() {
|
|
25339
|
+
setopenmenuCanvas(false);
|
|
25300
25340
|
routingcountext(item.navigationroute, false, '');
|
|
25301
25341
|
setopenCnvas(false);
|
|
25302
25342
|
}
|
|
@@ -25316,6 +25356,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25316
25356
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25317
25357
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
25318
25358
|
onClick: function onClick() {
|
|
25359
|
+
setopenmenuCanvas(false);
|
|
25319
25360
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
25320
25361
|
setopenCnvas(false);
|
|
25321
25362
|
}
|
|
@@ -25333,6 +25374,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25333
25374
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25334
25375
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
25335
25376
|
onClick: function onClick() {
|
|
25377
|
+
setopenmenuCanvas(false);
|
|
25336
25378
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
25337
25379
|
setmenuactive(false);
|
|
25338
25380
|
}
|
|
@@ -25351,6 +25393,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25351
25393
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25352
25394
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25353
25395
|
onClick: function onClick() {
|
|
25396
|
+
setopenmenuCanvas(false);
|
|
25354
25397
|
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
25355
25398
|
setmenuactive(false);
|
|
25356
25399
|
}
|
|
@@ -25369,6 +25412,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25369
25412
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25370
25413
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25371
25414
|
onClick: function onClick() {
|
|
25415
|
+
setopenmenuCanvas(false);
|
|
25372
25416
|
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
25373
25417
|
setmenuactive(false);
|
|
25374
25418
|
}
|
|
@@ -25387,6 +25431,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25387
25431
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25388
25432
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25389
25433
|
onClick: function onClick() {
|
|
25434
|
+
setopenmenuCanvas(false);
|
|
25390
25435
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
25391
25436
|
setmenuactive(false);
|
|
25392
25437
|
}
|
|
@@ -25405,6 +25450,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25405
25450
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25406
25451
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25407
25452
|
onClick: function onClick() {
|
|
25453
|
+
setopenmenuCanvas(false);
|
|
25408
25454
|
routingcountext(StaticPagesLinksContext.TermsConditions);
|
|
25409
25455
|
setmenuactive(false);
|
|
25410
25456
|
}
|
|
@@ -25423,6 +25469,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25423
25469
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25424
25470
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25425
25471
|
onClick: function onClick() {
|
|
25472
|
+
setopenmenuCanvas(false);
|
|
25426
25473
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
25427
25474
|
setmenuactive(false);
|
|
25428
25475
|
}
|
|
@@ -25486,6 +25533,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25486
25533
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement("button", {
|
|
25487
25534
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
25488
25535
|
onClick: function onClick() {
|
|
25536
|
+
setopenmenuCanvas(false);
|
|
25489
25537
|
routingcountext(StaticPagesLinksContext.Login);
|
|
25490
25538
|
setmenuactive(false);
|
|
25491
25539
|
}
|
|
@@ -25496,6 +25544,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25496
25544
|
}, langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب')), authdetailsContext.loggedin && /*#__PURE__*/React.createElement("button", {
|
|
25497
25545
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
25498
25546
|
onClick: function onClick() {
|
|
25547
|
+
setopenmenuCanvas(false);
|
|
25499
25548
|
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
25500
25549
|
setmenuactive(false);
|
|
25501
25550
|
}
|
|
@@ -25648,6 +25697,8 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25648
25697
|
}
|
|
25649
25698
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25650
25699
|
onClick: function onClick() {
|
|
25700
|
+
setopenmenuCanvas(false);
|
|
25701
|
+
setopenmenuCanvas(false);
|
|
25651
25702
|
routingcountext(item.navigationroute, false, '');
|
|
25652
25703
|
setopenCnvas(false);
|
|
25653
25704
|
}
|
|
@@ -25675,6 +25726,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25675
25726
|
}
|
|
25676
25727
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25677
25728
|
onClick: function onClick() {
|
|
25729
|
+
setopenmenuCanvas(false);
|
|
25678
25730
|
routingcountext(item.navigationroute, false, '');
|
|
25679
25731
|
setopenCnvas(false);
|
|
25680
25732
|
}
|
|
@@ -25694,6 +25746,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25694
25746
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25695
25747
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
25696
25748
|
onClick: function onClick() {
|
|
25749
|
+
setopenmenuCanvas(false);
|
|
25697
25750
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
25698
25751
|
setopenCnvas(false);
|
|
25699
25752
|
}
|
|
@@ -25711,6 +25764,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25711
25764
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25712
25765
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
25713
25766
|
onClick: function onClick() {
|
|
25767
|
+
setopenmenuCanvas(false);
|
|
25714
25768
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
25715
25769
|
setopenCnvas(false);
|
|
25716
25770
|
}
|
|
@@ -25728,6 +25782,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25728
25782
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25729
25783
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
25730
25784
|
onClick: function onClick() {
|
|
25785
|
+
setopenmenuCanvas(false);
|
|
25731
25786
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
25732
25787
|
setmenuactive(false);
|
|
25733
25788
|
}
|
|
@@ -25746,6 +25801,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25746
25801
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25747
25802
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25748
25803
|
onClick: function onClick() {
|
|
25804
|
+
setopenmenuCanvas(false);
|
|
25749
25805
|
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
25750
25806
|
setmenuactive(false);
|
|
25751
25807
|
}
|
|
@@ -25764,6 +25820,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25764
25820
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25765
25821
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25766
25822
|
onClick: function onClick() {
|
|
25823
|
+
setopenmenuCanvas(false);
|
|
25767
25824
|
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
25768
25825
|
setmenuactive(false);
|
|
25769
25826
|
}
|
|
@@ -25782,6 +25839,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25782
25839
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25783
25840
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25784
25841
|
onClick: function onClick() {
|
|
25842
|
+
setopenmenuCanvas(false);
|
|
25785
25843
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
25786
25844
|
setmenuactive(false);
|
|
25787
25845
|
}
|
|
@@ -25800,6 +25858,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
25800
25858
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25801
25859
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25802
25860
|
onClick: function onClick() {
|
|
25861
|
+
setopenmenuCanvas(false);
|
|
25803
25862
|
routingcountext(StaticPagesLinksContext.TermsConditions);
|
|
25804
25863
|
setmenuactive(false);
|
|
25805
25864
|
}
|
|
@@ -33397,7 +33456,10 @@ var Header8 = function Header8(props) {
|
|
|
33397
33456
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
33398
33457
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
33399
33458
|
}
|
|
33400
|
-
},
|
|
33459
|
+
}, /*#__PURE__*/React.createElement(FloatingIcons, {
|
|
33460
|
+
sectionpropertiesprops: sectionproperties,
|
|
33461
|
+
actions: actions
|
|
33462
|
+
}), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
33401
33463
|
"class": "col-lg-12 p-0 d-md-none d-sm-none"
|
|
33402
33464
|
}, /*#__PURE__*/React.createElement(MarqueeHeader, {
|
|
33403
33465
|
sectionpropertiesprops: sectionproperties,
|
package/dist/index.umd.js
CHANGED
|
@@ -10800,22 +10800,18 @@
|
|
|
10800
10800
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
10801
10801
|
insthasaffiliate = _useState8[0],
|
|
10802
10802
|
setinsthasaffiliate = _useState8[1];
|
|
10803
|
-
var _useState9 = React.useState(
|
|
10804
|
-
_useState10 = _slicedToArray__default["default"](_useState9, 2)
|
|
10805
|
-
_useState10[0]
|
|
10806
|
-
_useState10[1];
|
|
10807
|
-
var _useState11 = React.useState(
|
|
10808
|
-
_useState12 = _slicedToArray__default["default"](_useState11, 2)
|
|
10809
|
-
_useState12[0]
|
|
10810
|
-
_useState12[1];
|
|
10811
|
-
var _useState13 = React.useState(
|
|
10803
|
+
var _useState9 = React.useState([]),
|
|
10804
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
10805
|
+
shippingmethods = _useState10[0],
|
|
10806
|
+
setshippingmethods = _useState10[1];
|
|
10807
|
+
var _useState11 = React.useState([]),
|
|
10808
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
10809
|
+
orderextrafeilds = _useState12[0],
|
|
10810
|
+
setorderextrafeilds = _useState12[1];
|
|
10811
|
+
var _useState13 = React.useState(''),
|
|
10812
10812
|
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
10813
|
-
|
|
10814
|
-
|
|
10815
|
-
var _useState15 = React.useState([]),
|
|
10816
|
-
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
10817
|
-
orderextrafeilds = _useState16[0],
|
|
10818
|
-
setorderextrafeilds = _useState16[1];
|
|
10813
|
+
countrycode = _useState14[0],
|
|
10814
|
+
setcountrycode = _useState14[1];
|
|
10819
10815
|
React.useEffect(function () {
|
|
10820
10816
|
var _templatepropcontext$;
|
|
10821
10817
|
var cartindex = templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.findIndex(function (x) {
|
|
@@ -11229,7 +11225,7 @@
|
|
|
11229
11225
|
}
|
|
11230
11226
|
if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue33 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue33 === void 0 || (_fetchcustomercartQue33 = _fetchcustomercartQue33.data) === null || _fetchcustomercartQue33 === void 0 ? void 0 : _fetchcustomercartQue33.customercart.name.length) < 3) {
|
|
11231
11227
|
NotificationManager.warning('', langdetect == 'en' ? 'Write your full name' : 'اكتب الاسم كاملا');
|
|
11232
|
-
} else if (
|
|
11228
|
+
} else if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue34 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue34 === void 0 || (_fetchcustomercartQue34 = _fetchcustomercartQue34.data) === null || _fetchcustomercartQue34 === void 0 ? void 0 : _fetchcustomercartQue34.customercart.mobile.length) < 11 && countrycode.splice(2) == '20') {
|
|
11233
11229
|
NotificationManager.warning('', langdetect == 'en' ? 'Write valid mobile number' : 'اكتب رقم تليفون صحيح');
|
|
11234
11230
|
} else {
|
|
11235
11231
|
AddOrderMutationContext.mutate();
|
|
@@ -11259,6 +11255,27 @@
|
|
|
11259
11255
|
}
|
|
11260
11256
|
return isloading;
|
|
11261
11257
|
};
|
|
11258
|
+
var _useState15 = React.useState(null),
|
|
11259
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
11260
|
+
debounceTimer = _useState16[0],
|
|
11261
|
+
setDebounceTimer = _useState16[1];
|
|
11262
|
+
var handlePhoneChange = function handlePhoneChange(event, country) {
|
|
11263
|
+
var temp = event;
|
|
11264
|
+
|
|
11265
|
+
// Clear the previous timeout if the user is still typing
|
|
11266
|
+
if (debounceTimer) {
|
|
11267
|
+
clearTimeout(debounceTimer);
|
|
11268
|
+
}
|
|
11269
|
+
|
|
11270
|
+
// Set a new timeout to update after 500ms of no typing
|
|
11271
|
+
var newDebounceTimer = setTimeout(function () {
|
|
11272
|
+
// cartinfoupdater('countrydialcode', country.dialCode);
|
|
11273
|
+
setcountrycode(country.dialCode);
|
|
11274
|
+
cartinfoupdater('mobile', temp);
|
|
11275
|
+
// alert(fetchcustomercartQueryContext?.data?.data?.customercart.mobile.length);
|
|
11276
|
+
}, 500);
|
|
11277
|
+
setDebounceTimer(newDebounceTimer);
|
|
11278
|
+
};
|
|
11262
11279
|
var Mycart = function Mycart() {
|
|
11263
11280
|
var _fetchcustomercartQue35, _fetchcustomercartQue36, _fetchcustomercartQue37, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44, _fetchcustomercartQue45, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64;
|
|
11264
11281
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -11805,16 +11822,20 @@
|
|
|
11805
11822
|
className: "col-lg-4 col-md-12 mb-3"
|
|
11806
11823
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
11807
11824
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
11808
|
-
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("
|
|
11809
|
-
|
|
11810
|
-
|
|
11825
|
+
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement(PhoneInput__default["default"], {
|
|
11826
|
+
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control) + ' ',
|
|
11827
|
+
country: 'eg',
|
|
11828
|
+
enableSearch: true,
|
|
11829
|
+
autoFormat: true,
|
|
11811
11830
|
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.mobile,
|
|
11812
|
-
|
|
11813
|
-
|
|
11831
|
+
inputStyle: {
|
|
11832
|
+
color: sectionproperties.inputfieldcolor
|
|
11814
11833
|
},
|
|
11834
|
+
onChange: handlePhoneChange,
|
|
11815
11835
|
style: {
|
|
11816
|
-
|
|
11817
|
-
|
|
11836
|
+
direction: 'ltr',
|
|
11837
|
+
color: sectionproperties.inputfieldcolor,
|
|
11838
|
+
height: sectionproperties.inputfieldheight + 'px'
|
|
11818
11839
|
}
|
|
11819
11840
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11820
11841
|
className: "col-lg-4 col-md-12 mb-3"
|
|
@@ -24077,6 +24098,7 @@
|
|
|
24077
24098
|
onClick: function onClick() {
|
|
24078
24099
|
var _fetchcustomercartQue;
|
|
24079
24100
|
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.customercart) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.cartitems) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.length) > 7) {
|
|
24101
|
+
setopenmenuCanvas(false);
|
|
24080
24102
|
routingcountext(StaticPagesLinksContext.viewcart);
|
|
24081
24103
|
} else {
|
|
24082
24104
|
setsidecartnavshowcontext(true);
|
|
@@ -24139,6 +24161,7 @@
|
|
|
24139
24161
|
cursor: 'pointer'
|
|
24140
24162
|
},
|
|
24141
24163
|
onClick: function onClick() {
|
|
24164
|
+
setopenmenuCanvas(false);
|
|
24142
24165
|
routingcountext(sectionproperties.logoonclickroute);
|
|
24143
24166
|
}
|
|
24144
24167
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
@@ -24172,7 +24195,7 @@
|
|
|
24172
24195
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24173
24196
|
className: "col-10 p-0 text-start"
|
|
24174
24197
|
// onClick={() => {
|
|
24175
|
-
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
24198
|
+
// setopenmenuCanvas(false); routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
24176
24199
|
// }}
|
|
24177
24200
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24178
24201
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
@@ -24223,7 +24246,7 @@
|
|
|
24223
24246
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24224
24247
|
className: "col-10 p-0 text-start",
|
|
24225
24248
|
onClick: function onClick() {
|
|
24226
|
-
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
24249
|
+
// setopenmenuCanvas(false); routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
24227
24250
|
}
|
|
24228
24251
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
24229
24252
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
@@ -24267,6 +24290,7 @@
|
|
|
24267
24290
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24268
24291
|
className: "col-10 p-0 text-start",
|
|
24269
24292
|
onClick: function onClick() {
|
|
24293
|
+
setopenmenuCanvas(false);
|
|
24270
24294
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
24271
24295
|
setopenCnvas(false);
|
|
24272
24296
|
}
|
|
@@ -24352,6 +24376,7 @@
|
|
|
24352
24376
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24353
24377
|
className: "col-10 p-0 text-start",
|
|
24354
24378
|
onClick: function onClick() {
|
|
24379
|
+
setopenmenuCanvas(false);
|
|
24355
24380
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
24356
24381
|
setopenCnvas(false);
|
|
24357
24382
|
}
|
|
@@ -24381,6 +24406,7 @@
|
|
|
24381
24406
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24382
24407
|
className: "col-12 p-0 text-start px-3",
|
|
24383
24408
|
onClick: function onClick() {
|
|
24409
|
+
setopenmenuCanvas(false);
|
|
24384
24410
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
24385
24411
|
setopenCnvas(false);
|
|
24386
24412
|
}
|
|
@@ -24452,6 +24478,7 @@
|
|
|
24452
24478
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
24453
24479
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
24454
24480
|
onClick: function onClick() {
|
|
24481
|
+
setopenmenuCanvas(false);
|
|
24455
24482
|
routingcountext(StaticPagesLinksContext.Login);
|
|
24456
24483
|
setmenuactive(false);
|
|
24457
24484
|
}
|
|
@@ -24462,6 +24489,7 @@
|
|
|
24462
24489
|
}, langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب')), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
24463
24490
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
24464
24491
|
onClick: function onClick() {
|
|
24492
|
+
setopenmenuCanvas(false);
|
|
24465
24493
|
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
24466
24494
|
setmenuactive(false);
|
|
24467
24495
|
}
|
|
@@ -24629,6 +24657,7 @@
|
|
|
24629
24657
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
24630
24658
|
"class": "h-100 allcentered",
|
|
24631
24659
|
onClick: function onClick() {
|
|
24660
|
+
setopenmenuCanvas(false);
|
|
24632
24661
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
24633
24662
|
}
|
|
24634
24663
|
}, /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
@@ -24776,6 +24805,7 @@
|
|
|
24776
24805
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
24777
24806
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24778
24807
|
onClick: function onClick() {
|
|
24808
|
+
setopenmenuCanvas(false);
|
|
24779
24809
|
routingcountext(item.navigationroute, false, '');
|
|
24780
24810
|
setmenuactive(false);
|
|
24781
24811
|
}
|
|
@@ -24796,6 +24826,7 @@
|
|
|
24796
24826
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
24797
24827
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24798
24828
|
onClick: function onClick() {
|
|
24829
|
+
setopenmenuCanvas(false);
|
|
24799
24830
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
24800
24831
|
setmenuactive(false);
|
|
24801
24832
|
}
|
|
@@ -24814,6 +24845,7 @@
|
|
|
24814
24845
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
24815
24846
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24816
24847
|
onClick: function onClick() {
|
|
24848
|
+
setopenmenuCanvas(false);
|
|
24817
24849
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
24818
24850
|
setmenuactive(false);
|
|
24819
24851
|
}
|
|
@@ -24832,6 +24864,7 @@
|
|
|
24832
24864
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
24833
24865
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24834
24866
|
onClick: function onClick() {
|
|
24867
|
+
setopenmenuCanvas(false);
|
|
24835
24868
|
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
24836
24869
|
setmenuactive(false);
|
|
24837
24870
|
}
|
|
@@ -24850,6 +24883,7 @@
|
|
|
24850
24883
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
24851
24884
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24852
24885
|
onClick: function onClick() {
|
|
24886
|
+
setopenmenuCanvas(false);
|
|
24853
24887
|
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
24854
24888
|
setmenuactive(false);
|
|
24855
24889
|
}
|
|
@@ -24868,6 +24902,7 @@
|
|
|
24868
24902
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
24869
24903
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24870
24904
|
onClick: function onClick() {
|
|
24905
|
+
setopenmenuCanvas(false);
|
|
24871
24906
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
24872
24907
|
setmenuactive(false);
|
|
24873
24908
|
}
|
|
@@ -24886,6 +24921,7 @@
|
|
|
24886
24921
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
24887
24922
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24888
24923
|
onClick: function onClick() {
|
|
24924
|
+
setopenmenuCanvas(false);
|
|
24889
24925
|
routingcountext(StaticPagesLinksContext.TermsConditions);
|
|
24890
24926
|
setmenuactive(false);
|
|
24891
24927
|
}
|
|
@@ -24904,6 +24940,7 @@
|
|
|
24904
24940
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
24905
24941
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24906
24942
|
onClick: function onClick() {
|
|
24943
|
+
setopenmenuCanvas(false);
|
|
24907
24944
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
24908
24945
|
setmenuactive(false);
|
|
24909
24946
|
}
|
|
@@ -24967,6 +25004,7 @@
|
|
|
24967
25004
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
24968
25005
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
24969
25006
|
onClick: function onClick() {
|
|
25007
|
+
setopenmenuCanvas(false);
|
|
24970
25008
|
routingcountext(StaticPagesLinksContext.Login);
|
|
24971
25009
|
setmenuactive(false);
|
|
24972
25010
|
}
|
|
@@ -24977,6 +25015,7 @@
|
|
|
24977
25015
|
}, langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب')), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
24978
25016
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
24979
25017
|
onClick: function onClick() {
|
|
25018
|
+
setopenmenuCanvas(false);
|
|
24980
25019
|
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
24981
25020
|
setmenuactive(false);
|
|
24982
25021
|
}
|
|
@@ -25161,6 +25200,7 @@
|
|
|
25161
25200
|
}
|
|
25162
25201
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25163
25202
|
onClick: function onClick() {
|
|
25203
|
+
setopenmenuCanvas(false);
|
|
25164
25204
|
routingcountext(item.navigationroute, false, '');
|
|
25165
25205
|
setopenCnvas(false);
|
|
25166
25206
|
}
|
|
@@ -25180,6 +25220,7 @@
|
|
|
25180
25220
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25181
25221
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
25182
25222
|
onClick: function onClick() {
|
|
25223
|
+
setopenmenuCanvas(false);
|
|
25183
25224
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
25184
25225
|
setopenCnvas(false);
|
|
25185
25226
|
}
|
|
@@ -25197,6 +25238,7 @@
|
|
|
25197
25238
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25198
25239
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
25199
25240
|
onClick: function onClick() {
|
|
25241
|
+
setopenmenuCanvas(false);
|
|
25200
25242
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
25201
25243
|
setmenuactive(false);
|
|
25202
25244
|
}
|
|
@@ -25215,6 +25257,7 @@
|
|
|
25215
25257
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25216
25258
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25217
25259
|
onClick: function onClick() {
|
|
25260
|
+
setopenmenuCanvas(false);
|
|
25218
25261
|
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
25219
25262
|
setmenuactive(false);
|
|
25220
25263
|
}
|
|
@@ -25233,6 +25276,7 @@
|
|
|
25233
25276
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25234
25277
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25235
25278
|
onClick: function onClick() {
|
|
25279
|
+
setopenmenuCanvas(false);
|
|
25236
25280
|
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
25237
25281
|
setmenuactive(false);
|
|
25238
25282
|
}
|
|
@@ -25251,6 +25295,7 @@
|
|
|
25251
25295
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25252
25296
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25253
25297
|
onClick: function onClick() {
|
|
25298
|
+
setopenmenuCanvas(false);
|
|
25254
25299
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
25255
25300
|
setmenuactive(false);
|
|
25256
25301
|
}
|
|
@@ -25269,6 +25314,7 @@
|
|
|
25269
25314
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25270
25315
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25271
25316
|
onClick: function onClick() {
|
|
25317
|
+
setopenmenuCanvas(false);
|
|
25272
25318
|
routingcountext(StaticPagesLinksContext.TermsConditions);
|
|
25273
25319
|
setmenuactive(false);
|
|
25274
25320
|
}
|
|
@@ -25287,6 +25333,7 @@
|
|
|
25287
25333
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25288
25334
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25289
25335
|
onClick: function onClick() {
|
|
25336
|
+
setopenmenuCanvas(false);
|
|
25290
25337
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
25291
25338
|
setmenuactive(false);
|
|
25292
25339
|
}
|
|
@@ -25350,6 +25397,7 @@
|
|
|
25350
25397
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
25351
25398
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
25352
25399
|
onClick: function onClick() {
|
|
25400
|
+
setopenmenuCanvas(false);
|
|
25353
25401
|
routingcountext(StaticPagesLinksContext.Login);
|
|
25354
25402
|
setmenuactive(false);
|
|
25355
25403
|
}
|
|
@@ -25360,6 +25408,7 @@
|
|
|
25360
25408
|
}, langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب')), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
25361
25409
|
"class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
25362
25410
|
onClick: function onClick() {
|
|
25411
|
+
setopenmenuCanvas(false);
|
|
25363
25412
|
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
25364
25413
|
setmenuactive(false);
|
|
25365
25414
|
}
|
|
@@ -25512,6 +25561,8 @@
|
|
|
25512
25561
|
}
|
|
25513
25562
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25514
25563
|
onClick: function onClick() {
|
|
25564
|
+
setopenmenuCanvas(false);
|
|
25565
|
+
setopenmenuCanvas(false);
|
|
25515
25566
|
routingcountext(item.navigationroute, false, '');
|
|
25516
25567
|
setopenCnvas(false);
|
|
25517
25568
|
}
|
|
@@ -25539,6 +25590,7 @@
|
|
|
25539
25590
|
}
|
|
25540
25591
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25541
25592
|
onClick: function onClick() {
|
|
25593
|
+
setopenmenuCanvas(false);
|
|
25542
25594
|
routingcountext(item.navigationroute, false, '');
|
|
25543
25595
|
setopenCnvas(false);
|
|
25544
25596
|
}
|
|
@@ -25558,6 +25610,7 @@
|
|
|
25558
25610
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25559
25611
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
25560
25612
|
onClick: function onClick() {
|
|
25613
|
+
setopenmenuCanvas(false);
|
|
25561
25614
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
25562
25615
|
setopenCnvas(false);
|
|
25563
25616
|
}
|
|
@@ -25575,6 +25628,7 @@
|
|
|
25575
25628
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25576
25629
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
25577
25630
|
onClick: function onClick() {
|
|
25631
|
+
setopenmenuCanvas(false);
|
|
25578
25632
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
25579
25633
|
setopenCnvas(false);
|
|
25580
25634
|
}
|
|
@@ -25592,6 +25646,7 @@
|
|
|
25592
25646
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25593
25647
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
25594
25648
|
onClick: function onClick() {
|
|
25649
|
+
setopenmenuCanvas(false);
|
|
25595
25650
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
25596
25651
|
setmenuactive(false);
|
|
25597
25652
|
}
|
|
@@ -25610,6 +25665,7 @@
|
|
|
25610
25665
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25611
25666
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25612
25667
|
onClick: function onClick() {
|
|
25668
|
+
setopenmenuCanvas(false);
|
|
25613
25669
|
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
25614
25670
|
setmenuactive(false);
|
|
25615
25671
|
}
|
|
@@ -25628,6 +25684,7 @@
|
|
|
25628
25684
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25629
25685
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25630
25686
|
onClick: function onClick() {
|
|
25687
|
+
setopenmenuCanvas(false);
|
|
25631
25688
|
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
25632
25689
|
setmenuactive(false);
|
|
25633
25690
|
}
|
|
@@ -25646,6 +25703,7 @@
|
|
|
25646
25703
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25647
25704
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25648
25705
|
onClick: function onClick() {
|
|
25706
|
+
setopenmenuCanvas(false);
|
|
25649
25707
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
25650
25708
|
setmenuactive(false);
|
|
25651
25709
|
}
|
|
@@ -25664,6 +25722,7 @@
|
|
|
25664
25722
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
25665
25723
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25666
25724
|
onClick: function onClick() {
|
|
25725
|
+
setopenmenuCanvas(false);
|
|
25667
25726
|
routingcountext(StaticPagesLinksContext.TermsConditions);
|
|
25668
25727
|
setmenuactive(false);
|
|
25669
25728
|
}
|
|
@@ -33261,7 +33320,10 @@
|
|
|
33261
33320
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
33262
33321
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
33263
33322
|
}
|
|
33264
|
-
},
|
|
33323
|
+
}, /*#__PURE__*/React__default["default"].createElement(FloatingIcons, {
|
|
33324
|
+
sectionpropertiesprops: sectionproperties,
|
|
33325
|
+
actions: actions
|
|
33326
|
+
}), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33265
33327
|
"class": "col-lg-12 p-0 d-md-none d-sm-none"
|
|
33266
33328
|
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
33267
33329
|
sectionpropertiesprops: sectionproperties,
|