tabexseriescomponents 0.2.905 → 0.2.906
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 +100 -37
- package/dist/index.esm.js +100 -37
- package/dist/index.umd.js +100 -37
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -19523,12 +19523,12 @@ var Filter$1 = function Filter(props) {
|
|
|
19523
19523
|
}
|
|
19524
19524
|
}, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcollections]);
|
|
19525
19525
|
React.useEffect(function () {
|
|
19526
|
-
if (productfeatuesarr.length != 0) {
|
|
19527
|
-
|
|
19528
|
-
|
|
19529
|
-
|
|
19530
|
-
|
|
19531
|
-
}
|
|
19526
|
+
// if (productfeatuesarr.length != 0) {
|
|
19527
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2j({}, ProductFilterObjContext);
|
|
19528
|
+
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
19529
|
+
setProductFilterObjContext(_objectSpread$2j({}, tempfetchproductsfilerobjcontext));
|
|
19530
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
19531
|
+
// }
|
|
19532
19532
|
}, [productfeatuesarr]);
|
|
19533
19533
|
React.useEffect(function () {
|
|
19534
19534
|
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
@@ -19641,7 +19641,7 @@ var Filter$1 = function Filter(props) {
|
|
|
19641
19641
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
19642
19642
|
};
|
|
19643
19643
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
19644
|
-
var _tempfetchproductsfil2;
|
|
19644
|
+
var _tempfetchproductsfil2, _tempfetchproductsfil3;
|
|
19645
19645
|
var tempfetchproductsfilerobjcontext = _objectSpread$2j({}, ProductFilterObjContext);
|
|
19646
19646
|
var CollectionExists = false;
|
|
19647
19647
|
if (tempfetchproductsfilerobjcontext.ProductFetchingType == 'Parent Collection' && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter == undefined) {
|
|
@@ -19667,8 +19667,14 @@ var Filter$1 = function Filter(props) {
|
|
|
19667
19667
|
tempfetchproductsfilerobjcontext.collections = [collectionid];
|
|
19668
19668
|
}
|
|
19669
19669
|
}
|
|
19670
|
-
tempfetchproductsfilerobjcontext.page = 0;
|
|
19671
19670
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
19671
|
+
if (tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != undefined && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != null && (tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil3 = tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter) === null || _tempfetchproductsfil3 === void 0 ? void 0 : _tempfetchproductsfil3.length) != 0) {
|
|
19672
|
+
var _tempfetchproductsfil4;
|
|
19673
|
+
if (tempfetchproductsfilerobjcontext.collections != undefined && tempfetchproductsfilerobjcontext.collections != null && (tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil4 = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil4 === void 0 ? void 0 : _tempfetchproductsfil4.length) == 1) {
|
|
19674
|
+
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Parent Collection';
|
|
19675
|
+
}
|
|
19676
|
+
}
|
|
19677
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
19672
19678
|
setProductFilterObjContext(_objectSpread$2j({}, tempfetchproductsfilerobjcontext));
|
|
19673
19679
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
19674
19680
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
@@ -20002,28 +20008,29 @@ var Filter$1 = function Filter(props) {
|
|
|
20002
20008
|
// }
|
|
20003
20009
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(ischecked ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-center pb-3 ',
|
|
20004
20010
|
onClick: function onClick(e) {
|
|
20005
|
-
var isattrexists = false;
|
|
20006
20011
|
var tempproductfeatuesarr = [];
|
|
20007
20012
|
if (ProductFilterObjContext != undefined && ProductFilterObjContext != null && ProductFilterObjContext.prod_featruesar != undefined && ProductFilterObjContext.prod_featruesar != null && ProductFilterObjContext.prod_featruesar.length != 0) {
|
|
20008
|
-
var _tempproductfeatuesar;
|
|
20009
20013
|
tempproductfeatuesarr = _toConsumableArray__default["default"](ProductFilterObjContext.prod_featruesar);
|
|
20010
|
-
|
|
20011
|
-
|
|
20012
|
-
tempproductfeatuesarr[attrindex].value = slecitem.value_en;
|
|
20013
|
-
isattrexists = true;
|
|
20014
|
-
}
|
|
20015
|
-
// if (attritem.id == slecitem.featureid) {
|
|
20016
|
-
// if (tempproductfeatuesarr[attrindex].value == slecitem.value_en) {
|
|
20017
|
-
// tempproductfeatuesarr.splice(attrindex, 1);
|
|
20018
|
-
// isattrexists = true;
|
|
20019
|
-
// } else {
|
|
20020
|
-
// tempproductfeatuesarr[attrindex].value = slecitem.value_en;
|
|
20021
|
-
// isattrexists = true;
|
|
20022
|
-
// }
|
|
20023
|
-
// }
|
|
20014
|
+
var existingIndex = tempproductfeatuesarr.findIndex(function (attritem) {
|
|
20015
|
+
return attritem.id === slecitem.featureid;
|
|
20024
20016
|
});
|
|
20025
|
-
|
|
20026
|
-
|
|
20017
|
+
if (existingIndex !== -1) {
|
|
20018
|
+
if (tempproductfeatuesarr[existingIndex].value === slecitem.value_en) {
|
|
20019
|
+
// Same feature and value -> remove (toggle off)
|
|
20020
|
+
tempproductfeatuesarr.splice(existingIndex, 1);
|
|
20021
|
+
} else {
|
|
20022
|
+
// Same feature, different value -> update
|
|
20023
|
+
tempproductfeatuesarr[existingIndex].value = slecitem.value_en;
|
|
20024
|
+
}
|
|
20025
|
+
} else {
|
|
20026
|
+
// Feature doesn't exist -> add new
|
|
20027
|
+
tempproductfeatuesarr.push({
|
|
20028
|
+
id: slecitem.featureid,
|
|
20029
|
+
value: slecitem.value_en
|
|
20030
|
+
});
|
|
20031
|
+
}
|
|
20032
|
+
} else {
|
|
20033
|
+
// Feature list is empty -> add new
|
|
20027
20034
|
tempproductfeatuesarr.push({
|
|
20028
20035
|
id: slecitem.featureid,
|
|
20029
20036
|
value: slecitem.value_en
|
|
@@ -21127,11 +21134,11 @@ var Filter$1 = function Filter(props) {
|
|
|
21127
21134
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21128
21135
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(item.isfilterselected ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n ") + ' d-flex align-items-center pb-3 col-12 ',
|
|
21129
21136
|
onClick: function onClick() {
|
|
21130
|
-
var
|
|
21137
|
+
var _tempfetchproductsfil5;
|
|
21131
21138
|
var tempfetchproductsfilerobjcontext = _objectSpread$2j({}, ProductFilterObjContext);
|
|
21132
21139
|
// alert(JSON.stringify(tempfetchproductsfilerobjcontext));
|
|
21133
21140
|
tempfetchproductsfilerobjcontext.vendorsarr = [];
|
|
21134
|
-
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (
|
|
21141
|
+
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil5 = tempfetchproductsfilerobjcontext.vendorsarr) === null || _tempfetchproductsfil5 === void 0 || _tempfetchproductsfil5.push(item.vendorid);
|
|
21135
21142
|
setProductFilterObjContext(_objectSpread$2j({}, tempfetchproductsfilerobjcontext));
|
|
21136
21143
|
var temp = _toConsumableArray__default["default"](vendorarr);
|
|
21137
21144
|
temp === null || temp === void 0 || temp.forEach(function (instfilteritem, instfilterindex) {
|
|
@@ -27255,7 +27262,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
27255
27262
|
function ownKeys$25(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; }
|
|
27256
27263
|
function _objectSpread$25(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$25(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$25(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
27257
27264
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
27258
|
-
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _authdetailsContext$i11, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$
|
|
27265
|
+
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _authdetailsContext$i11, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24;
|
|
27259
27266
|
var actions = props.actions;
|
|
27260
27267
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
27261
27268
|
var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
@@ -28474,6 +28481,25 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
28474
28481
|
style: {
|
|
28475
28482
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
28476
28483
|
}
|
|
28484
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6804c4480fde5' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28485
|
+
className: "row m-0 w-100 anim"
|
|
28486
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28487
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
28488
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28489
|
+
onClick: function onClick() {
|
|
28490
|
+
setopenmenuCanvas(false);
|
|
28491
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
28492
|
+
setmenuactive(false);
|
|
28493
|
+
}
|
|
28494
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28495
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
28496
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28497
|
+
className: "col-lg-12 p-0"
|
|
28498
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
28499
|
+
className: "mt-3 mb-3",
|
|
28500
|
+
style: {
|
|
28501
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
28502
|
+
}
|
|
28477
28503
|
}))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28478
28504
|
className: "row m-0 w-100 anim"
|
|
28479
28505
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -28749,9 +28775,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
28749
28775
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
28750
28776
|
setopenCnvas(false);
|
|
28751
28777
|
}
|
|
28752
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28778
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28753
28779
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
28754
|
-
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28780
|
+
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28755
28781
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
28756
28782
|
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28757
28783
|
className: "col-lg-12 p-0"
|
|
@@ -28873,7 +28899,26 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
28873
28899
|
style: {
|
|
28874
28900
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
28875
28901
|
}
|
|
28876
|
-
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28902
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28903
|
+
className: "row m-0 w-100"
|
|
28904
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28905
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
28906
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28907
|
+
onClick: function onClick() {
|
|
28908
|
+
setopenmenuCanvas(false);
|
|
28909
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
28910
|
+
setmenuactive(false);
|
|
28911
|
+
}
|
|
28912
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28913
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
28914
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28915
|
+
className: "col-lg-12 p-0"
|
|
28916
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
28917
|
+
className: "mt-3 mb-3",
|
|
28918
|
+
style: {
|
|
28919
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
28920
|
+
}
|
|
28921
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6804c4480fde5' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28877
28922
|
className: "row m-0 w-100"
|
|
28878
28923
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28879
28924
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
@@ -29169,7 +29214,25 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
29169
29214
|
style: {
|
|
29170
29215
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
29171
29216
|
}
|
|
29172
|
-
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29217
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29218
|
+
className: "row m-0 w-100"
|
|
29219
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29220
|
+
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
29221
|
+
onClick: function onClick() {
|
|
29222
|
+
setopenmenuCanvas(false);
|
|
29223
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
29224
|
+
setopenCnvas(false);
|
|
29225
|
+
}
|
|
29226
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29227
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
29228
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29229
|
+
className: "col-lg-12 p-0"
|
|
29230
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
29231
|
+
className: "mt-4 mb-4",
|
|
29232
|
+
style: {
|
|
29233
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
29234
|
+
}
|
|
29235
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6804c4480fde5' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29173
29236
|
className: "row m-0 w-100"
|
|
29174
29237
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29175
29238
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
@@ -29196,9 +29259,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
29196
29259
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
29197
29260
|
setopenCnvas(false);
|
|
29198
29261
|
}
|
|
29199
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29262
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29200
29263
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
29201
|
-
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29264
|
+
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29202
29265
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
29203
29266
|
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29204
29267
|
className: "col-lg-12 p-0"
|
|
@@ -29301,7 +29364,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
29301
29364
|
style: {
|
|
29302
29365
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
29303
29366
|
}
|
|
29304
|
-
}))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29367
|
+
}))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.instcurrencies) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.length) > 1 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '67f69c023cbd4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29305
29368
|
"class": "row m-0 w-100 pl-3 pr-3"
|
|
29306
29369
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29307
29370
|
"class": header_cssstyles.navbar_item_text_responsive + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '
|
|
@@ -29319,7 +29382,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
29319
29382
|
background: '#f4f4f4',
|
|
29320
29383
|
borderRadius: 5
|
|
29321
29384
|
}
|
|
29322
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29385
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.instcurrencies) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.map(function (item, index) {
|
|
29323
29386
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29324
29387
|
"class": header_cssstyles.navbar_item_text_responsive + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',
|
|
29325
29388
|
onClick: function onClick() {
|
package/dist/index.esm.js
CHANGED
|
@@ -19473,12 +19473,12 @@ var Filter$1 = function Filter(props) {
|
|
|
19473
19473
|
}
|
|
19474
19474
|
}, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcollections]);
|
|
19475
19475
|
useEffect(function () {
|
|
19476
|
-
if (productfeatuesarr.length != 0) {
|
|
19477
|
-
|
|
19478
|
-
|
|
19479
|
-
|
|
19480
|
-
|
|
19481
|
-
}
|
|
19476
|
+
// if (productfeatuesarr.length != 0) {
|
|
19477
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2j({}, ProductFilterObjContext);
|
|
19478
|
+
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
19479
|
+
setProductFilterObjContext(_objectSpread$2j({}, tempfetchproductsfilerobjcontext));
|
|
19480
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
19481
|
+
// }
|
|
19482
19482
|
}, [productfeatuesarr]);
|
|
19483
19483
|
useEffect(function () {
|
|
19484
19484
|
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
@@ -19591,7 +19591,7 @@ var Filter$1 = function Filter(props) {
|
|
|
19591
19591
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
19592
19592
|
};
|
|
19593
19593
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
19594
|
-
var _tempfetchproductsfil2;
|
|
19594
|
+
var _tempfetchproductsfil2, _tempfetchproductsfil3;
|
|
19595
19595
|
var tempfetchproductsfilerobjcontext = _objectSpread$2j({}, ProductFilterObjContext);
|
|
19596
19596
|
var CollectionExists = false;
|
|
19597
19597
|
if (tempfetchproductsfilerobjcontext.ProductFetchingType == 'Parent Collection' && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter == undefined) {
|
|
@@ -19617,8 +19617,14 @@ var Filter$1 = function Filter(props) {
|
|
|
19617
19617
|
tempfetchproductsfilerobjcontext.collections = [collectionid];
|
|
19618
19618
|
}
|
|
19619
19619
|
}
|
|
19620
|
-
tempfetchproductsfilerobjcontext.page = 0;
|
|
19621
19620
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
19621
|
+
if (tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != undefined && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != null && (tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil3 = tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter) === null || _tempfetchproductsfil3 === void 0 ? void 0 : _tempfetchproductsfil3.length) != 0) {
|
|
19622
|
+
var _tempfetchproductsfil4;
|
|
19623
|
+
if (tempfetchproductsfilerobjcontext.collections != undefined && tempfetchproductsfilerobjcontext.collections != null && (tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil4 = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil4 === void 0 ? void 0 : _tempfetchproductsfil4.length) == 1) {
|
|
19624
|
+
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Parent Collection';
|
|
19625
|
+
}
|
|
19626
|
+
}
|
|
19627
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
19622
19628
|
setProductFilterObjContext(_objectSpread$2j({}, tempfetchproductsfilerobjcontext));
|
|
19623
19629
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
19624
19630
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
@@ -19952,28 +19958,29 @@ var Filter$1 = function Filter(props) {
|
|
|
19952
19958
|
// }
|
|
19953
19959
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(ischecked ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-center pb-3 ',
|
|
19954
19960
|
onClick: function onClick(e) {
|
|
19955
|
-
var isattrexists = false;
|
|
19956
19961
|
var tempproductfeatuesarr = [];
|
|
19957
19962
|
if (ProductFilterObjContext != undefined && ProductFilterObjContext != null && ProductFilterObjContext.prod_featruesar != undefined && ProductFilterObjContext.prod_featruesar != null && ProductFilterObjContext.prod_featruesar.length != 0) {
|
|
19958
|
-
var _tempproductfeatuesar;
|
|
19959
19963
|
tempproductfeatuesarr = _toConsumableArray(ProductFilterObjContext.prod_featruesar);
|
|
19960
|
-
|
|
19961
|
-
|
|
19962
|
-
tempproductfeatuesarr[attrindex].value = slecitem.value_en;
|
|
19963
|
-
isattrexists = true;
|
|
19964
|
-
}
|
|
19965
|
-
// if (attritem.id == slecitem.featureid) {
|
|
19966
|
-
// if (tempproductfeatuesarr[attrindex].value == slecitem.value_en) {
|
|
19967
|
-
// tempproductfeatuesarr.splice(attrindex, 1);
|
|
19968
|
-
// isattrexists = true;
|
|
19969
|
-
// } else {
|
|
19970
|
-
// tempproductfeatuesarr[attrindex].value = slecitem.value_en;
|
|
19971
|
-
// isattrexists = true;
|
|
19972
|
-
// }
|
|
19973
|
-
// }
|
|
19964
|
+
var existingIndex = tempproductfeatuesarr.findIndex(function (attritem) {
|
|
19965
|
+
return attritem.id === slecitem.featureid;
|
|
19974
19966
|
});
|
|
19975
|
-
|
|
19976
|
-
|
|
19967
|
+
if (existingIndex !== -1) {
|
|
19968
|
+
if (tempproductfeatuesarr[existingIndex].value === slecitem.value_en) {
|
|
19969
|
+
// Same feature and value -> remove (toggle off)
|
|
19970
|
+
tempproductfeatuesarr.splice(existingIndex, 1);
|
|
19971
|
+
} else {
|
|
19972
|
+
// Same feature, different value -> update
|
|
19973
|
+
tempproductfeatuesarr[existingIndex].value = slecitem.value_en;
|
|
19974
|
+
}
|
|
19975
|
+
} else {
|
|
19976
|
+
// Feature doesn't exist -> add new
|
|
19977
|
+
tempproductfeatuesarr.push({
|
|
19978
|
+
id: slecitem.featureid,
|
|
19979
|
+
value: slecitem.value_en
|
|
19980
|
+
});
|
|
19981
|
+
}
|
|
19982
|
+
} else {
|
|
19983
|
+
// Feature list is empty -> add new
|
|
19977
19984
|
tempproductfeatuesarr.push({
|
|
19978
19985
|
id: slecitem.featureid,
|
|
19979
19986
|
value: slecitem.value_en
|
|
@@ -21077,11 +21084,11 @@ var Filter$1 = function Filter(props) {
|
|
|
21077
21084
|
return /*#__PURE__*/React.createElement("div", {
|
|
21078
21085
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(item.isfilterselected ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n ") + ' d-flex align-items-center pb-3 col-12 ',
|
|
21079
21086
|
onClick: function onClick() {
|
|
21080
|
-
var
|
|
21087
|
+
var _tempfetchproductsfil5;
|
|
21081
21088
|
var tempfetchproductsfilerobjcontext = _objectSpread$2j({}, ProductFilterObjContext);
|
|
21082
21089
|
// alert(JSON.stringify(tempfetchproductsfilerobjcontext));
|
|
21083
21090
|
tempfetchproductsfilerobjcontext.vendorsarr = [];
|
|
21084
|
-
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (
|
|
21091
|
+
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil5 = tempfetchproductsfilerobjcontext.vendorsarr) === null || _tempfetchproductsfil5 === void 0 || _tempfetchproductsfil5.push(item.vendorid);
|
|
21085
21092
|
setProductFilterObjContext(_objectSpread$2j({}, tempfetchproductsfilerobjcontext));
|
|
21086
21093
|
var temp = _toConsumableArray(vendorarr);
|
|
21087
21094
|
temp === null || temp === void 0 || temp.forEach(function (instfilteritem, instfilterindex) {
|
|
@@ -27205,7 +27212,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
27205
27212
|
function ownKeys$25(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; }
|
|
27206
27213
|
function _objectSpread$25(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$25(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$25(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
27207
27214
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
27208
|
-
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _authdetailsContext$i11, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$
|
|
27215
|
+
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _authdetailsContext$i11, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24;
|
|
27209
27216
|
var actions = props.actions;
|
|
27210
27217
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
27211
27218
|
var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
@@ -28424,6 +28431,25 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
28424
28431
|
style: {
|
|
28425
28432
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
28426
28433
|
}
|
|
28434
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6804c4480fde5' && /*#__PURE__*/React.createElement("div", {
|
|
28435
|
+
className: "row m-0 w-100 anim"
|
|
28436
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
28437
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
28438
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
28439
|
+
onClick: function onClick() {
|
|
28440
|
+
setopenmenuCanvas(false);
|
|
28441
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
28442
|
+
setmenuactive(false);
|
|
28443
|
+
}
|
|
28444
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
28445
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
28446
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), /*#__PURE__*/React.createElement("div", {
|
|
28447
|
+
className: "col-lg-12 p-0"
|
|
28448
|
+
}, /*#__PURE__*/React.createElement("hr", {
|
|
28449
|
+
className: "mt-3 mb-3",
|
|
28450
|
+
style: {
|
|
28451
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
28452
|
+
}
|
|
28427
28453
|
}))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React.createElement("div", {
|
|
28428
28454
|
className: "row m-0 w-100 anim"
|
|
28429
28455
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -28699,9 +28725,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
28699
28725
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
28700
28726
|
setopenCnvas(false);
|
|
28701
28727
|
}
|
|
28702
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28728
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React.createElement("p", {
|
|
28703
28729
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
28704
|
-
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28730
|
+
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React.createElement("p", {
|
|
28705
28731
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
28706
28732
|
}, lang.wishlist)), /*#__PURE__*/React.createElement("div", {
|
|
28707
28733
|
className: "col-lg-12 p-0"
|
|
@@ -28823,7 +28849,26 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
28823
28849
|
style: {
|
|
28824
28850
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
28825
28851
|
}
|
|
28826
|
-
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28852
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React.createElement("div", {
|
|
28853
|
+
className: "row m-0 w-100"
|
|
28854
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
28855
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
28856
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
28857
|
+
onClick: function onClick() {
|
|
28858
|
+
setopenmenuCanvas(false);
|
|
28859
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
28860
|
+
setmenuactive(false);
|
|
28861
|
+
}
|
|
28862
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
28863
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
28864
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), /*#__PURE__*/React.createElement("div", {
|
|
28865
|
+
className: "col-lg-12 p-0"
|
|
28866
|
+
}, /*#__PURE__*/React.createElement("hr", {
|
|
28867
|
+
className: "mt-3 mb-3",
|
|
28868
|
+
style: {
|
|
28869
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
28870
|
+
}
|
|
28871
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6804c4480fde5' && /*#__PURE__*/React.createElement("div", {
|
|
28827
28872
|
className: "row m-0 w-100"
|
|
28828
28873
|
}, /*#__PURE__*/React.createElement("div", {
|
|
28829
28874
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
@@ -29119,7 +29164,25 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
29119
29164
|
style: {
|
|
29120
29165
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
29121
29166
|
}
|
|
29122
|
-
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29167
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React.createElement("div", {
|
|
29168
|
+
className: "row m-0 w-100"
|
|
29169
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
29170
|
+
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
29171
|
+
onClick: function onClick() {
|
|
29172
|
+
setopenmenuCanvas(false);
|
|
29173
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
29174
|
+
setopenCnvas(false);
|
|
29175
|
+
}
|
|
29176
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
29177
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
29178
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear)), /*#__PURE__*/React.createElement("div", {
|
|
29179
|
+
className: "col-lg-12 p-0"
|
|
29180
|
+
}, /*#__PURE__*/React.createElement("hr", {
|
|
29181
|
+
className: "mt-4 mb-4",
|
|
29182
|
+
style: {
|
|
29183
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
29184
|
+
}
|
|
29185
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6804c4480fde5' && /*#__PURE__*/React.createElement("div", {
|
|
29123
29186
|
className: "row m-0 w-100"
|
|
29124
29187
|
}, /*#__PURE__*/React.createElement("div", {
|
|
29125
29188
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
@@ -29146,9 +29209,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
29146
29209
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
29147
29210
|
setopenCnvas(false);
|
|
29148
29211
|
}
|
|
29149
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29212
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React.createElement("p", {
|
|
29150
29213
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
29151
|
-
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29214
|
+
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React.createElement("p", {
|
|
29152
29215
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
29153
29216
|
}, lang.wishlist)), /*#__PURE__*/React.createElement("div", {
|
|
29154
29217
|
className: "col-lg-12 p-0"
|
|
@@ -29251,7 +29314,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
29251
29314
|
style: {
|
|
29252
29315
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
29253
29316
|
}
|
|
29254
|
-
}))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29317
|
+
}))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.instcurrencies) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.length) > 1 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '67f69c023cbd4' && /*#__PURE__*/React.createElement("div", {
|
|
29255
29318
|
"class": "row m-0 w-100 pl-3 pr-3"
|
|
29256
29319
|
}, /*#__PURE__*/React.createElement("div", {
|
|
29257
29320
|
"class": header_cssstyles.navbar_item_text_responsive + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '
|
|
@@ -29269,7 +29332,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
29269
29332
|
background: '#f4f4f4',
|
|
29270
29333
|
borderRadius: 5
|
|
29271
29334
|
}
|
|
29272
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29335
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.instcurrencies) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.map(function (item, index) {
|
|
29273
29336
|
return /*#__PURE__*/React.createElement("div", {
|
|
29274
29337
|
"class": header_cssstyles.navbar_item_text_responsive + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',
|
|
29275
29338
|
onClick: function onClick() {
|
package/dist/index.umd.js
CHANGED
|
@@ -19333,12 +19333,12 @@
|
|
|
19333
19333
|
}
|
|
19334
19334
|
}, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcollections]);
|
|
19335
19335
|
React.useEffect(function () {
|
|
19336
|
-
if (productfeatuesarr.length != 0) {
|
|
19337
|
-
|
|
19338
|
-
|
|
19339
|
-
|
|
19340
|
-
|
|
19341
|
-
}
|
|
19336
|
+
// if (productfeatuesarr.length != 0) {
|
|
19337
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2j({}, ProductFilterObjContext);
|
|
19338
|
+
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
19339
|
+
setProductFilterObjContext(_objectSpread$2j({}, tempfetchproductsfilerobjcontext));
|
|
19340
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
19341
|
+
// }
|
|
19342
19342
|
}, [productfeatuesarr]);
|
|
19343
19343
|
React.useEffect(function () {
|
|
19344
19344
|
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
@@ -19451,7 +19451,7 @@
|
|
|
19451
19451
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
19452
19452
|
};
|
|
19453
19453
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
19454
|
-
var _tempfetchproductsfil2;
|
|
19454
|
+
var _tempfetchproductsfil2, _tempfetchproductsfil3;
|
|
19455
19455
|
var tempfetchproductsfilerobjcontext = _objectSpread$2j({}, ProductFilterObjContext);
|
|
19456
19456
|
var CollectionExists = false;
|
|
19457
19457
|
if (tempfetchproductsfilerobjcontext.ProductFetchingType == 'Parent Collection' && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter == undefined) {
|
|
@@ -19477,8 +19477,14 @@
|
|
|
19477
19477
|
tempfetchproductsfilerobjcontext.collections = [collectionid];
|
|
19478
19478
|
}
|
|
19479
19479
|
}
|
|
19480
|
-
tempfetchproductsfilerobjcontext.page = 0;
|
|
19481
19480
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
19481
|
+
if (tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != undefined && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != null && (tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil3 = tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter) === null || _tempfetchproductsfil3 === void 0 ? void 0 : _tempfetchproductsfil3.length) != 0) {
|
|
19482
|
+
var _tempfetchproductsfil4;
|
|
19483
|
+
if (tempfetchproductsfilerobjcontext.collections != undefined && tempfetchproductsfilerobjcontext.collections != null && (tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil4 = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil4 === void 0 ? void 0 : _tempfetchproductsfil4.length) == 1) {
|
|
19484
|
+
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Parent Collection';
|
|
19485
|
+
}
|
|
19486
|
+
}
|
|
19487
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
19482
19488
|
setProductFilterObjContext(_objectSpread$2j({}, tempfetchproductsfilerobjcontext));
|
|
19483
19489
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
19484
19490
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
@@ -19812,28 +19818,29 @@
|
|
|
19812
19818
|
// }
|
|
19813
19819
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(ischecked ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-center pb-3 ',
|
|
19814
19820
|
onClick: function onClick(e) {
|
|
19815
|
-
var isattrexists = false;
|
|
19816
19821
|
var tempproductfeatuesarr = [];
|
|
19817
19822
|
if (ProductFilterObjContext != undefined && ProductFilterObjContext != null && ProductFilterObjContext.prod_featruesar != undefined && ProductFilterObjContext.prod_featruesar != null && ProductFilterObjContext.prod_featruesar.length != 0) {
|
|
19818
|
-
var _tempproductfeatuesar;
|
|
19819
19823
|
tempproductfeatuesarr = _toConsumableArray__default["default"](ProductFilterObjContext.prod_featruesar);
|
|
19820
|
-
|
|
19821
|
-
|
|
19822
|
-
tempproductfeatuesarr[attrindex].value = slecitem.value_en;
|
|
19823
|
-
isattrexists = true;
|
|
19824
|
-
}
|
|
19825
|
-
// if (attritem.id == slecitem.featureid) {
|
|
19826
|
-
// if (tempproductfeatuesarr[attrindex].value == slecitem.value_en) {
|
|
19827
|
-
// tempproductfeatuesarr.splice(attrindex, 1);
|
|
19828
|
-
// isattrexists = true;
|
|
19829
|
-
// } else {
|
|
19830
|
-
// tempproductfeatuesarr[attrindex].value = slecitem.value_en;
|
|
19831
|
-
// isattrexists = true;
|
|
19832
|
-
// }
|
|
19833
|
-
// }
|
|
19824
|
+
var existingIndex = tempproductfeatuesarr.findIndex(function (attritem) {
|
|
19825
|
+
return attritem.id === slecitem.featureid;
|
|
19834
19826
|
});
|
|
19835
|
-
|
|
19836
|
-
|
|
19827
|
+
if (existingIndex !== -1) {
|
|
19828
|
+
if (tempproductfeatuesarr[existingIndex].value === slecitem.value_en) {
|
|
19829
|
+
// Same feature and value -> remove (toggle off)
|
|
19830
|
+
tempproductfeatuesarr.splice(existingIndex, 1);
|
|
19831
|
+
} else {
|
|
19832
|
+
// Same feature, different value -> update
|
|
19833
|
+
tempproductfeatuesarr[existingIndex].value = slecitem.value_en;
|
|
19834
|
+
}
|
|
19835
|
+
} else {
|
|
19836
|
+
// Feature doesn't exist -> add new
|
|
19837
|
+
tempproductfeatuesarr.push({
|
|
19838
|
+
id: slecitem.featureid,
|
|
19839
|
+
value: slecitem.value_en
|
|
19840
|
+
});
|
|
19841
|
+
}
|
|
19842
|
+
} else {
|
|
19843
|
+
// Feature list is empty -> add new
|
|
19837
19844
|
tempproductfeatuesarr.push({
|
|
19838
19845
|
id: slecitem.featureid,
|
|
19839
19846
|
value: slecitem.value_en
|
|
@@ -20937,11 +20944,11 @@
|
|
|
20937
20944
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20938
20945
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(item.isfilterselected ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n ") + ' d-flex align-items-center pb-3 col-12 ',
|
|
20939
20946
|
onClick: function onClick() {
|
|
20940
|
-
var
|
|
20947
|
+
var _tempfetchproductsfil5;
|
|
20941
20948
|
var tempfetchproductsfilerobjcontext = _objectSpread$2j({}, ProductFilterObjContext);
|
|
20942
20949
|
// alert(JSON.stringify(tempfetchproductsfilerobjcontext));
|
|
20943
20950
|
tempfetchproductsfilerobjcontext.vendorsarr = [];
|
|
20944
|
-
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (
|
|
20951
|
+
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil5 = tempfetchproductsfilerobjcontext.vendorsarr) === null || _tempfetchproductsfil5 === void 0 || _tempfetchproductsfil5.push(item.vendorid);
|
|
20945
20952
|
setProductFilterObjContext(_objectSpread$2j({}, tempfetchproductsfilerobjcontext));
|
|
20946
20953
|
var temp = _toConsumableArray__default["default"](vendorarr);
|
|
20947
20954
|
temp === null || temp === void 0 || temp.forEach(function (instfilteritem, instfilterindex) {
|
|
@@ -27065,7 +27072,7 @@
|
|
|
27065
27072
|
function ownKeys$25(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; }
|
|
27066
27073
|
function _objectSpread$25(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$25(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$25(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
27067
27074
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
27068
|
-
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _authdetailsContext$i11, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$
|
|
27075
|
+
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _authdetailsContext$i11, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24;
|
|
27069
27076
|
var actions = props.actions;
|
|
27070
27077
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
27071
27078
|
var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
@@ -28284,6 +28291,25 @@
|
|
|
28284
28291
|
style: {
|
|
28285
28292
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
28286
28293
|
}
|
|
28294
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6804c4480fde5' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28295
|
+
className: "row m-0 w-100 anim"
|
|
28296
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28297
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
28298
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28299
|
+
onClick: function onClick() {
|
|
28300
|
+
setopenmenuCanvas(false);
|
|
28301
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
28302
|
+
setmenuactive(false);
|
|
28303
|
+
}
|
|
28304
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28305
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
28306
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28307
|
+
className: "col-lg-12 p-0"
|
|
28308
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
28309
|
+
className: "mt-3 mb-3",
|
|
28310
|
+
style: {
|
|
28311
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
28312
|
+
}
|
|
28287
28313
|
}))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28288
28314
|
className: "row m-0 w-100 anim"
|
|
28289
28315
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -28559,9 +28585,9 @@
|
|
|
28559
28585
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
28560
28586
|
setopenCnvas(false);
|
|
28561
28587
|
}
|
|
28562
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28588
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28563
28589
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
28564
|
-
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28590
|
+
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28565
28591
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
28566
28592
|
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28567
28593
|
className: "col-lg-12 p-0"
|
|
@@ -28683,7 +28709,26 @@
|
|
|
28683
28709
|
style: {
|
|
28684
28710
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
28685
28711
|
}
|
|
28686
|
-
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
28712
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28713
|
+
className: "row m-0 w-100"
|
|
28714
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28715
|
+
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
28716
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28717
|
+
onClick: function onClick() {
|
|
28718
|
+
setopenmenuCanvas(false);
|
|
28719
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
28720
|
+
setmenuactive(false);
|
|
28721
|
+
}
|
|
28722
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28723
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
28724
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28725
|
+
className: "col-lg-12 p-0"
|
|
28726
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
28727
|
+
className: "mt-3 mb-3",
|
|
28728
|
+
style: {
|
|
28729
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
28730
|
+
}
|
|
28731
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6804c4480fde5' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28687
28732
|
className: "row m-0 w-100"
|
|
28688
28733
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28689
28734
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
@@ -28979,7 +29024,25 @@
|
|
|
28979
29024
|
style: {
|
|
28980
29025
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
28981
29026
|
}
|
|
28982
|
-
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29027
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29028
|
+
className: "row m-0 w-100"
|
|
29029
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29030
|
+
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
29031
|
+
onClick: function onClick() {
|
|
29032
|
+
setopenmenuCanvas(false);
|
|
29033
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
29034
|
+
setopenCnvas(false);
|
|
29035
|
+
}
|
|
29036
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29037
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
29038
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29039
|
+
className: "col-lg-12 p-0"
|
|
29040
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
29041
|
+
className: "mt-4 mb-4",
|
|
29042
|
+
style: {
|
|
29043
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
29044
|
+
}
|
|
29045
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6804c4480fde5' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28983
29046
|
className: "row m-0 w-100"
|
|
28984
29047
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28985
29048
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
@@ -29006,9 +29069,9 @@
|
|
|
29006
29069
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
29007
29070
|
setopenCnvas(false);
|
|
29008
29071
|
}
|
|
29009
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29072
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29010
29073
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
29011
|
-
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29074
|
+
}, langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29012
29075
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
29013
29076
|
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29014
29077
|
className: "col-lg-12 p-0"
|
|
@@ -29111,7 +29174,7 @@
|
|
|
29111
29174
|
style: {
|
|
29112
29175
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
29113
29176
|
}
|
|
29114
|
-
}))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29177
|
+
}))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.instcurrencies) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.length) > 1 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '67f69c023cbd4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29115
29178
|
"class": "row m-0 w-100 pl-3 pr-3"
|
|
29116
29179
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29117
29180
|
"class": header_cssstyles.navbar_item_text_responsive + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '
|
|
@@ -29129,7 +29192,7 @@
|
|
|
29129
29192
|
background: '#f4f4f4',
|
|
29130
29193
|
borderRadius: 5
|
|
29131
29194
|
}
|
|
29132
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
29195
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.instcurrencies) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.map(function (item, index) {
|
|
29133
29196
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29134
29197
|
"class": header_cssstyles.navbar_item_text_responsive + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',
|
|
29135
29198
|
onClick: function onClick() {
|