tabexseriescomponents 0.0.570 → 0.0.573
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 +370 -236
- package/dist/index.esm.js +370 -236
- package/dist/index.umd.js +370 -236
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -4033,12 +4033,32 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
4033
4033
|
slot = '10' + slotsubstr2 + ' PM';
|
|
4034
4034
|
} else if (slotsubstr == '23') {
|
|
4035
4035
|
slot = '11' + slotsubstr2 + ' PM';
|
|
4036
|
-
} else if (slotsubstr == '24') {
|
|
4037
|
-
slot = '12' + slotsubstr2 + ' PM';
|
|
4038
4036
|
} else if (slotsubstr == '00') {
|
|
4039
|
-
slot = '
|
|
4040
|
-
} else {
|
|
4041
|
-
slot =
|
|
4037
|
+
slot = '12' + slotsubstr2 + ' AM';
|
|
4038
|
+
} else if (slotsubstr == '01') {
|
|
4039
|
+
slot = '01' + slotsubstr2 + ' AM';
|
|
4040
|
+
} else if (slotsubstr == '02') {
|
|
4041
|
+
slot = '02' + slotsubstr2 + ' AM';
|
|
4042
|
+
} else if (slotsubstr == '03') {
|
|
4043
|
+
slot = '03' + slotsubstr2 + ' AM';
|
|
4044
|
+
} else if (slotsubstr == '04') {
|
|
4045
|
+
slot = '04' + slotsubstr2 + ' AM';
|
|
4046
|
+
} else if (slotsubstr == '05') {
|
|
4047
|
+
slot = '05' + slotsubstr2 + ' AM';
|
|
4048
|
+
} else if (slotsubstr == '06') {
|
|
4049
|
+
slot = '06' + slotsubstr2 + ' AM';
|
|
4050
|
+
} else if (slotsubstr == '07') {
|
|
4051
|
+
slot = '07' + slotsubstr2 + ' AM';
|
|
4052
|
+
} else if (slotsubstr == '08') {
|
|
4053
|
+
slot = '08' + slotsubstr2 + ' AM';
|
|
4054
|
+
} else if (slotsubstr == '09') {
|
|
4055
|
+
slot = '09' + slotsubstr2 + ' AM';
|
|
4056
|
+
} else if (slotsubstr == '10') {
|
|
4057
|
+
slot = '10' + slotsubstr2 + ' AM';
|
|
4058
|
+
} else if (slotsubstr == '11') {
|
|
4059
|
+
slot = '11' + slotsubstr2 + ' AM';
|
|
4060
|
+
} else if (slotsubstr == '12') {
|
|
4061
|
+
slot = '12' + slotsubstr2 + ' PM';
|
|
4042
4062
|
}
|
|
4043
4063
|
if (item.available) {
|
|
4044
4064
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -16638,192 +16658,180 @@ var Filter$1 = function Filter(props) {
|
|
|
16638
16658
|
function ownKeys$2a(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; }
|
|
16639
16659
|
function _objectSpread$2a(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2a(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2a(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16640
16660
|
var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
16641
|
-
var _authdetailsContext$i;
|
|
16642
16661
|
props.actions.lang;
|
|
16643
16662
|
var langdetect = props.actions.langdetect;
|
|
16644
16663
|
props.actions.productfiltercontext;
|
|
16645
16664
|
props.actions.setproductfiltercontext;
|
|
16646
16665
|
var ProductFilterObjContext = props.actions.ProductFilterObjContext;
|
|
16647
16666
|
var setProductFilterObjContext = props.actions.setProductFilterObjContext;
|
|
16648
|
-
|
|
16667
|
+
props.actions.authdetailsContext;
|
|
16649
16668
|
var routingcountext = props.actions.routingcountext;
|
|
16650
16669
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
16651
16670
|
props.actions.ikimagecredcontext;
|
|
16652
|
-
|
|
16653
|
-
|
|
16671
|
+
props.actions.FetchQueriesEngineContext;
|
|
16672
|
+
props.actions.setFetchQueriesEngineContext;
|
|
16673
|
+
props.actions.fetchcollectionsQueryContext;
|
|
16674
|
+
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
16654
16675
|
var _useState = useState(''),
|
|
16655
16676
|
_useState2 = _slicedToArray(_useState, 2),
|
|
16656
16677
|
sectionproperties = _useState2[0],
|
|
16657
16678
|
setsectionproperties = _useState2[1];
|
|
16658
16679
|
var _useState3 = useState([]),
|
|
16659
|
-
_useState4 = _slicedToArray(_useState3, 2)
|
|
16660
|
-
|
|
16661
|
-
|
|
16662
|
-
|
|
16680
|
+
_useState4 = _slicedToArray(_useState3, 2);
|
|
16681
|
+
_useState4[0];
|
|
16682
|
+
_useState4[1];
|
|
16683
|
+
// const [instcollections, setinstcollections] = useState([...fetchcollectionsQueryContext?.data?.data?.collections]);
|
|
16684
|
+
var _useState5 = useState([]),
|
|
16663
16685
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
16664
|
-
|
|
16665
|
-
|
|
16666
|
-
var _useState7 = useState(
|
|
16667
|
-
_useState8 = _slicedToArray(_useState7, 2)
|
|
16668
|
-
|
|
16669
|
-
|
|
16670
|
-
var _useState9 = useState(false),
|
|
16671
|
-
_useState10 = _slicedToArray(_useState9, 2);
|
|
16672
|
-
_useState10[0];
|
|
16673
|
-
_useState10[1];
|
|
16686
|
+
instcategories = _useState6[0],
|
|
16687
|
+
setinstcategories = _useState6[1];
|
|
16688
|
+
var _useState7 = useState(false),
|
|
16689
|
+
_useState8 = _slicedToArray(_useState7, 2);
|
|
16690
|
+
_useState8[0];
|
|
16691
|
+
_useState8[1];
|
|
16674
16692
|
useEffect(function () {
|
|
16675
|
-
filterupdater();
|
|
16693
|
+
// filterupdater();
|
|
16676
16694
|
}, []);
|
|
16677
16695
|
useEffect(function () {
|
|
16678
|
-
|
|
16679
|
-
|
|
16680
|
-
|
|
16681
|
-
|
|
16696
|
+
if (fetchCategoriesQueryContext.isSuccess) {
|
|
16697
|
+
var _fetchCategoriesQuery;
|
|
16698
|
+
setinstcategories(_toConsumableArray(fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 || (_fetchCategoriesQuery = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : _fetchCategoriesQuery.categories));
|
|
16699
|
+
}
|
|
16700
|
+
}, [fetchCategoriesQueryContext.isSuccess]);
|
|
16682
16701
|
useEffect(function () {
|
|
16683
16702
|
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
16684
16703
|
setsectionproperties(props.sectionpropertiesprops);
|
|
16685
16704
|
}
|
|
16686
16705
|
}, [props.sectionpropertiesprops]);
|
|
16687
16706
|
useEffect(function () {
|
|
16688
|
-
filterupdater();
|
|
16707
|
+
// filterupdater();
|
|
16689
16708
|
}, [ProductFilterObjContext]);
|
|
16690
|
-
|
|
16691
|
-
|
|
16692
|
-
|
|
16693
|
-
|
|
16694
|
-
|
|
16695
|
-
|
|
16696
|
-
|
|
16697
|
-
|
|
16698
|
-
|
|
16699
|
-
|
|
16700
|
-
|
|
16701
|
-
|
|
16702
|
-
|
|
16703
|
-
|
|
16704
|
-
|
|
16705
|
-
|
|
16706
|
-
|
|
16707
|
-
|
|
16708
|
-
|
|
16709
|
-
|
|
16710
|
-
|
|
16711
|
-
|
|
16712
|
-
|
|
16713
|
-
|
|
16714
|
-
|
|
16715
|
-
|
|
16716
|
-
|
|
16717
|
-
|
|
16718
|
-
|
|
16719
|
-
|
|
16720
|
-
|
|
16721
|
-
|
|
16722
|
-
|
|
16723
|
-
|
|
16724
|
-
|
|
16725
|
-
|
|
16726
|
-
|
|
16727
|
-
|
|
16728
|
-
|
|
16729
|
-
|
|
16730
|
-
|
|
16731
|
-
|
|
16732
|
-
|
|
16733
|
-
|
|
16734
|
-
|
|
16735
|
-
|
|
16736
|
-
|
|
16737
|
-
|
|
16738
|
-
|
|
16739
|
-
|
|
16740
|
-
|
|
16741
|
-
|
|
16742
|
-
|
|
16743
|
-
|
|
16744
|
-
|
|
16745
|
-
|
|
16746
|
-
|
|
16747
|
-
|
|
16748
|
-
|
|
16749
|
-
|
|
16750
|
-
|
|
16751
|
-
|
|
16752
|
-
|
|
16753
|
-
|
|
16754
|
-
|
|
16755
|
-
|
|
16756
|
-
|
|
16757
|
-
|
|
16758
|
-
|
|
16759
|
-
|
|
16760
|
-
|
|
16761
|
-
|
|
16762
|
-
|
|
16763
|
-
|
|
16764
|
-
|
|
16765
|
-
|
|
16766
|
-
|
|
16767
|
-
|
|
16768
|
-
|
|
16769
|
-
|
|
16770
|
-
|
|
16771
|
-
|
|
16772
|
-
|
|
16773
|
-
|
|
16774
|
-
|
|
16775
|
-
|
|
16776
|
-
|
|
16777
|
-
|
|
16778
|
-
|
|
16779
|
-
|
|
16780
|
-
|
|
16781
|
-
|
|
16782
|
-
|
|
16783
|
-
|
|
16784
|
-
|
|
16785
|
-
|
|
16786
|
-
|
|
16787
|
-
|
|
16788
|
-
|
|
16789
|
-
|
|
16790
|
-
|
|
16791
|
-
|
|
16792
|
-
|
|
16793
|
-
|
|
16794
|
-
|
|
16795
|
-
|
|
16796
|
-
|
|
16797
|
-
|
|
16798
|
-
|
|
16799
|
-
|
|
16800
|
-
|
|
16801
|
-
});
|
|
16802
|
-
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont4 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont4 === void 0 || _ProductFilterObjCont4.forEach(function (filteritem, filterindex) {
|
|
16803
|
-
tempInstcollections === null || tempInstcollections === void 0 || tempInstcollections.forEach(function (instfilteritem, instfilterindex) {
|
|
16804
|
-
if (instfilteritem.collectionid == filteritem) {
|
|
16805
|
-
instfilteritem.isfilterselected = true;
|
|
16806
|
-
}
|
|
16807
|
-
});
|
|
16808
|
-
});
|
|
16809
|
-
setinstcollections(_toConsumableArray(tempInstcollections));
|
|
16810
|
-
}
|
|
16811
|
-
};
|
|
16709
|
+
|
|
16710
|
+
// useEffect(() => {
|
|
16711
|
+
// if (sectionproperties?.filterretreivetype == 'Depend on chosen parent group') {
|
|
16712
|
+
// if (ProductFilterObjContext?.collections != undefined && ProductFilterObjContext?.collections != null && Array.isArray(ProductFilterObjContext?.collections)) {
|
|
16713
|
+
// var collectiontobevisible = [];
|
|
16714
|
+
// var parentidsfound = [];
|
|
16715
|
+
// if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection') {
|
|
16716
|
+
// parentidsfound = ProductFilterObjContext?.collections;
|
|
16717
|
+
// } else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
|
|
16718
|
+
// instcategories?.forEach(function (catitem, catindex) {
|
|
16719
|
+
// ProductFilterObjContext?.collections?.forEach(function (colitem2, colindex2) {
|
|
16720
|
+
// if (catitem.categoryid == colitem2) {
|
|
16721
|
+
// catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
|
|
16722
|
+
// parentidsfound.push(parentcolitem.parentcollectionid);
|
|
16723
|
+
// });
|
|
16724
|
+
// }
|
|
16725
|
+
// });
|
|
16726
|
+
// });
|
|
16727
|
+
// } else {
|
|
16728
|
+
// instcategories?.forEach(function (catitem, catindex) {
|
|
16729
|
+
// catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
|
|
16730
|
+
// parentcolitem?.collections?.forEach(function (colitem, colindex) {
|
|
16731
|
+
// ProductFilterObjContext?.collections?.forEach(function (colitem2, colindex2) {
|
|
16732
|
+
// if (colitem.collectionid == colitem2) {
|
|
16733
|
+
// parentidsfound.push(parentcolitem.parentcollectionid);
|
|
16734
|
+
// }
|
|
16735
|
+
// });
|
|
16736
|
+
// });
|
|
16737
|
+
// });
|
|
16738
|
+
// });
|
|
16739
|
+
// }
|
|
16740
|
+
|
|
16741
|
+
// parentidsfound = parentidsfound.filter((val, id, array) => array.indexOf(val) == id);
|
|
16742
|
+
|
|
16743
|
+
// if (parentidsfound?.length != 0) {
|
|
16744
|
+
// instcategories?.forEach(function (catitem, catindex) {
|
|
16745
|
+
// catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
|
|
16746
|
+
// parentidsfound?.forEach(function (parentidfounditem, parentidfoundindex) {
|
|
16747
|
+
// if (parentidfounditem == parentcolitem?.parentcollectionid) {
|
|
16748
|
+
// parentcolitem?.collections?.forEach(function (colitem, colindex) {
|
|
16749
|
+
// var iscolexists = false;
|
|
16750
|
+
// collectiontobevisible?.forEach(function (colitemex, colindexex) {
|
|
16751
|
+
// if (colitemex.collectionid == colitem.collectionid) {
|
|
16752
|
+
// iscolexists = true;
|
|
16753
|
+
// }
|
|
16754
|
+
// });
|
|
16755
|
+
// if (iscolexists == false) {
|
|
16756
|
+
// collectiontobevisible.push(colitem);
|
|
16757
|
+
// }
|
|
16758
|
+
// });
|
|
16759
|
+
// }
|
|
16760
|
+
// });
|
|
16761
|
+
// });
|
|
16762
|
+
// });
|
|
16763
|
+
|
|
16764
|
+
// if (collectiontobevisible?.length != 0) {
|
|
16765
|
+
// setcollectionstobevisible(collectiontobevisible);
|
|
16766
|
+
// } else {
|
|
16767
|
+
// setcollectionstobevisible(instcollections);
|
|
16768
|
+
// }
|
|
16769
|
+
// } else {
|
|
16770
|
+
// setcollectionstobevisible(instcollections);
|
|
16771
|
+
// }
|
|
16772
|
+
// } else {
|
|
16773
|
+
// setcollectionstobevisible(instcollections);
|
|
16774
|
+
// }
|
|
16775
|
+
// } else {
|
|
16776
|
+
// setcollectionstobevisible(instcollections);
|
|
16777
|
+
// }
|
|
16778
|
+
// }, [ProductFilterObjContext]);
|
|
16779
|
+
|
|
16780
|
+
// const filterupdater = () => {
|
|
16781
|
+
// if (instcategories.length != 0) {
|
|
16782
|
+
// var tempInstcategories = [...instcategories];
|
|
16783
|
+
// tempInstcategories.forEach(function (catitem, catindex) {
|
|
16784
|
+
// catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
|
|
16785
|
+
// parentcolitem.collections.forEach(function (colitem, colindex) {
|
|
16786
|
+
// colitem.isfilterselected = false;
|
|
16787
|
+
// });
|
|
16788
|
+
// });
|
|
16789
|
+
// });
|
|
16790
|
+
|
|
16791
|
+
// ProductFilterObjContext?.collections?.forEach(function (filteritem, filterindex) {
|
|
16792
|
+
// tempInstcategories.forEach(function (catitem, catindex) {
|
|
16793
|
+
// catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
|
|
16794
|
+
// parentcolitem.collections.forEach(function (colitem, colindex) {
|
|
16795
|
+
// if (colitem.collectionid == filteritem) {
|
|
16796
|
+
// colitem.isfilterselected = true;
|
|
16797
|
+
// }
|
|
16798
|
+
// });
|
|
16799
|
+
// });
|
|
16800
|
+
// });
|
|
16801
|
+
// });
|
|
16802
|
+
|
|
16803
|
+
// setinstcategories([...tempInstcategories]);
|
|
16804
|
+
// }
|
|
16805
|
+
// // if (instcollections.length != 0) {
|
|
16806
|
+
// // var tempInstcollections = [...instcollections];
|
|
16807
|
+
// // tempInstcollections.forEach(function (instfilteritem, valefilteritemindex) {
|
|
16808
|
+
// // instfilteritem.isfilterselected = false;
|
|
16809
|
+
// // });
|
|
16810
|
+
// // ProductFilterObjContext?.collections?.forEach(function (filteritem, filterindex) {
|
|
16811
|
+
// // tempInstcollections?.forEach(function (instfilteritem, instfilterindex) {
|
|
16812
|
+
// // if (instfilteritem.collectionid == filteritem) {
|
|
16813
|
+
// // instfilteritem.isfilterselected = true;
|
|
16814
|
+
// // }
|
|
16815
|
+
// // });
|
|
16816
|
+
// // });
|
|
16817
|
+
// // setinstcollections([...tempInstcollections]);
|
|
16818
|
+
// // }
|
|
16819
|
+
// };
|
|
16812
16820
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
16813
16821
|
var _tempfetchproductsfil;
|
|
16814
16822
|
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
16815
16823
|
var CollectionExists = false;
|
|
16816
|
-
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.
|
|
16824
|
+
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.categories) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
|
|
16817
16825
|
if (filteritem == collectionid) {
|
|
16818
16826
|
CollectionExists = true;
|
|
16819
|
-
tempfetchproductsfilerobjcontext.
|
|
16827
|
+
tempfetchproductsfilerobjcontext.categories.splice(filterindex, 1);
|
|
16820
16828
|
}
|
|
16821
16829
|
});
|
|
16822
16830
|
if (!CollectionExists) {
|
|
16823
|
-
if (tempfetchproductsfilerobjcontext.
|
|
16824
|
-
tempfetchproductsfilerobjcontext.
|
|
16831
|
+
if (tempfetchproductsfilerobjcontext.categories != undefined && Array.isArray(tempfetchproductsfilerobjcontext.categories)) {
|
|
16832
|
+
tempfetchproductsfilerobjcontext.categories = [collectionid];
|
|
16825
16833
|
} else {
|
|
16826
|
-
tempfetchproductsfilerobjcontext.
|
|
16834
|
+
tempfetchproductsfilerobjcontext.categories = [collectionid];
|
|
16827
16835
|
}
|
|
16828
16836
|
}
|
|
16829
16837
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
@@ -16836,11 +16844,11 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
16836
16844
|
var CollectionsFilter = function CollectionsFilter() {
|
|
16837
16845
|
return /*#__PURE__*/React.createElement("div", {
|
|
16838
16846
|
"class": "col-lg-12 p-0 scrollhorixontalcontainer text-center px-sm-3"
|
|
16839
|
-
},
|
|
16847
|
+
}, instcategories.map(function (item, index) {
|
|
16840
16848
|
return /*#__PURE__*/React.createElement("p", {
|
|
16841
16849
|
"class": filter_cssstyles.filteritem + ' m-0 p-0 cursor-pointer scrollhorixontaldiv mx-4 mx-sm-2 ',
|
|
16842
16850
|
onClick: function onClick() {
|
|
16843
|
-
setCollectionFilterFunc(item.
|
|
16851
|
+
setCollectionFilterFunc(item.categoryid);
|
|
16844
16852
|
},
|
|
16845
16853
|
style: {
|
|
16846
16854
|
color: item.isfilterselected ? sectionproperties.activecat_color : ''
|
|
@@ -42519,7 +42527,7 @@ var Footer1 = function Footer1(props) {
|
|
|
42519
42527
|
function ownKeys$1B(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; }
|
|
42520
42528
|
function _objectSpread$1B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1B(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
42521
42529
|
var Footer2 = function Footer2(props) {
|
|
42522
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$
|
|
42530
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i15, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _authdetailsContext$i19, _authdetailsContext$i20;
|
|
42523
42531
|
var _useState = useState(''),
|
|
42524
42532
|
_useState2 = _slicedToArray(_useState, 2),
|
|
42525
42533
|
sectionproperties = _useState2[0],
|
|
@@ -42680,6 +42688,16 @@ var Footer2 = function Footer2(props) {
|
|
|
42680
42688
|
}
|
|
42681
42689
|
})
|
|
42682
42690
|
};
|
|
42691
|
+
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
42692
|
+
var _authdetailsContext$i;
|
|
42693
|
+
var policyobj = {};
|
|
42694
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instpolicies) === null || _authdetailsContext$i === void 0 || _authdetailsContext$i.forEach(function (item, index) {
|
|
42695
|
+
if (item.policytype == policytype) {
|
|
42696
|
+
policyobj = item;
|
|
42697
|
+
}
|
|
42698
|
+
});
|
|
42699
|
+
return policyobj;
|
|
42700
|
+
};
|
|
42683
42701
|
return /*#__PURE__*/React.createElement("div", {
|
|
42684
42702
|
"class": "row m-0 w-100 d-flex justify-content-center"
|
|
42685
42703
|
}, /*#__PURE__*/React.createElement("footer", {
|
|
@@ -42709,15 +42727,15 @@ var Footer2 = function Footer2(props) {
|
|
|
42709
42727
|
fontSize: sectionproperties.titlefontsize + 'px',
|
|
42710
42728
|
marginLeft: sectionproperties.titlemarginleft + 'px'
|
|
42711
42729
|
}
|
|
42712
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42730
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.storename_en)), /*#__PURE__*/React.createElement("div", {
|
|
42713
42731
|
"class": " col-lg-12 d-flex flex-row align-items-center justify-content-center "
|
|
42714
42732
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
42715
42733
|
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
42716
42734
|
onClick: function onClick() {
|
|
42717
|
-
var _authdetailsContext$
|
|
42718
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42719
|
-
var _authdetailsContext$
|
|
42720
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42735
|
+
var _authdetailsContext$i3;
|
|
42736
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
|
|
42737
|
+
var _authdetailsContext$i4;
|
|
42738
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
|
|
42721
42739
|
}
|
|
42722
42740
|
}
|
|
42723
42741
|
}, /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
@@ -42725,10 +42743,10 @@ var Footer2 = function Footer2(props) {
|
|
|
42725
42743
|
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
42726
42744
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
42727
42745
|
onClick: function onClick() {
|
|
42728
|
-
var _authdetailsContext$
|
|
42729
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42730
|
-
var _authdetailsContext$
|
|
42731
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42746
|
+
var _authdetailsContext$i5;
|
|
42747
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
|
|
42748
|
+
var _authdetailsContext$i6;
|
|
42749
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
|
|
42732
42750
|
}
|
|
42733
42751
|
}
|
|
42734
42752
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
@@ -42736,43 +42754,43 @@ var Footer2 = function Footer2(props) {
|
|
|
42736
42754
|
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
42737
42755
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
42738
42756
|
onClick: function onClick() {
|
|
42739
|
-
var _authdetailsContext$
|
|
42740
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42741
|
-
var _authdetailsContext$
|
|
42742
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42757
|
+
var _authdetailsContext$i7;
|
|
42758
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber) != null) {
|
|
42759
|
+
var _authdetailsContext$i8;
|
|
42760
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber), '_blank');
|
|
42743
42761
|
}
|
|
42744
42762
|
}
|
|
42745
42763
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
42746
42764
|
size: sectionproperties.youtubebtniconfontsize
|
|
42747
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42765
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.youtubelink) != null && /*#__PURE__*/React.createElement("div", {
|
|
42748
42766
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
42749
42767
|
onClick: function onClick() {
|
|
42750
|
-
var _authdetailsContext$
|
|
42751
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42752
|
-
var _authdetailsContext$
|
|
42753
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42768
|
+
var _authdetailsContext$i10;
|
|
42769
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.youtubelink) != null) {
|
|
42770
|
+
var _authdetailsContext$i11;
|
|
42771
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.youtubelink, '_blank');
|
|
42754
42772
|
}
|
|
42755
42773
|
}
|
|
42756
42774
|
}, /*#__PURE__*/React.createElement(AiFillYoutube, {
|
|
42757
42775
|
size: sectionproperties.instgrambtniconfontsize
|
|
42758
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42776
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.linkedinlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
42759
42777
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
42760
42778
|
onClick: function onClick() {
|
|
42761
|
-
var _authdetailsContext$
|
|
42762
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42763
|
-
var _authdetailsContext$
|
|
42764
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42779
|
+
var _authdetailsContext$i13;
|
|
42780
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.linkedinlink) != null) {
|
|
42781
|
+
var _authdetailsContext$i14;
|
|
42782
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.linkedinlink, '_blank');
|
|
42765
42783
|
}
|
|
42766
42784
|
}
|
|
42767
42785
|
}, /*#__PURE__*/React.createElement(FaLinkedinIn, {
|
|
42768
42786
|
size: sectionproperties.instgrambtniconfontsize
|
|
42769
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42787
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.tiktoklink) != null && /*#__PURE__*/React.createElement("div", {
|
|
42770
42788
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
42771
42789
|
onClick: function onClick() {
|
|
42772
|
-
var _authdetailsContext$
|
|
42773
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42774
|
-
var _authdetailsContext$
|
|
42775
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42790
|
+
var _authdetailsContext$i16;
|
|
42791
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.tiktoklink) != null) {
|
|
42792
|
+
var _authdetailsContext$i17;
|
|
42793
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.tiktoklink, '_blank');
|
|
42776
42794
|
}
|
|
42777
42795
|
}
|
|
42778
42796
|
}, /*#__PURE__*/React.createElement(IoLogoTiktok, {
|
|
@@ -42825,12 +42843,31 @@ var Footer2 = function Footer2(props) {
|
|
|
42825
42843
|
}
|
|
42826
42844
|
}, lang.orderhistory), /*#__PURE__*/React.createElement("div", {
|
|
42827
42845
|
"class": "".concat(footerStyles.vl) + ' d-flex align-items-center justify-content-center mb-3'
|
|
42828
|
-
}), /*#__PURE__*/React.createElement("p", {
|
|
42846
|
+
}), sectionproperties.separatepolicies == 'No' && /*#__PURE__*/React.createElement("p", {
|
|
42829
42847
|
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
|
|
42830
42848
|
onClick: function onClick() {
|
|
42831
42849
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
42832
42850
|
}
|
|
42833
|
-
}, lang.policies)
|
|
42851
|
+
}, lang.policies), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("p", {
|
|
42852
|
+
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
|
|
42853
|
+
onClick: function onClick() {
|
|
42854
|
+
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
42855
|
+
}
|
|
42856
|
+
}, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("div", {
|
|
42857
|
+
"class": "".concat(footerStyles.vl) + ' d-flex align-items-center justify-content-center mb-3'
|
|
42858
|
+
}), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("p", {
|
|
42859
|
+
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
|
|
42860
|
+
onClick: function onClick() {
|
|
42861
|
+
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
42862
|
+
}
|
|
42863
|
+
}, langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("div", {
|
|
42864
|
+
"class": "".concat(footerStyles.vl) + ' d-flex align-items-center justify-content-center mb-3'
|
|
42865
|
+
}), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("p", {
|
|
42866
|
+
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
|
|
42867
|
+
onClick: function onClick() {
|
|
42868
|
+
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
42869
|
+
}
|
|
42870
|
+
}, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar)), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
42834
42871
|
"class": "d-none d-md-block align-items-center justify-content-center mt-3 p-0 row m-0 w-100"
|
|
42835
42872
|
}, /*#__PURE__*/React.createElement("div", {
|
|
42836
42873
|
"class": "row m-0 w-100"
|
|
@@ -42864,12 +42901,12 @@ var Footer2 = function Footer2(props) {
|
|
|
42864
42901
|
}, /*#__PURE__*/React.createElement("p", {
|
|
42865
42902
|
"class": ' storeinfotext d-flex align-items-center justify-content-md-center cursor-pointer text-transform-none ',
|
|
42866
42903
|
onClick: function onClick() {
|
|
42867
|
-
var _authdetailsContext$
|
|
42868
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42904
|
+
var _authdetailsContext$i18;
|
|
42905
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.contactinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.email), '_self');
|
|
42869
42906
|
}
|
|
42870
42907
|
}, /*#__PURE__*/React.createElement("i", {
|
|
42871
42908
|
"class": ' fa fa-at mr-2 ml-2 '
|
|
42872
|
-
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42909
|
+
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 || (_authdetailsContext$i19 = _authdetailsContext$i19.contactinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.email)), /*#__PURE__*/React.createElement("div", {
|
|
42873
42910
|
"class": "".concat(footerStyles.footerinfotext) + ' col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0 '
|
|
42874
42911
|
}, /*#__PURE__*/React.createElement("p", {
|
|
42875
42912
|
"class": ' storeinfotext d-flex align-items-center justify-content-md-center cursor-pointer ',
|
|
@@ -42886,21 +42923,21 @@ var Footer2 = function Footer2(props) {
|
|
|
42886
42923
|
"class": ' h-100 d-flex align-items-center justify-content-center mr-2 ml-2 '
|
|
42887
42924
|
}, /*#__PURE__*/React.createElement(IoLocationSharp, {
|
|
42888
42925
|
size: sectionproperties.footerinfoicon_fontsize
|
|
42889
|
-
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42926
|
+
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.address_en)))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
42890
42927
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-sm-0"
|
|
42891
42928
|
}, /*#__PURE__*/React.createElement("img", {
|
|
42892
42929
|
"class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
42893
42930
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
42894
42931
|
onClick: function onClick() {
|
|
42895
|
-
var _authdetailsContext$
|
|
42896
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42932
|
+
var _authdetailsContext$i21;
|
|
42933
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.mobileapplink_appstore, '_blank');
|
|
42897
42934
|
}
|
|
42898
42935
|
}), /*#__PURE__*/React.createElement("img", {
|
|
42899
42936
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
42900
42937
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
42901
42938
|
onClick: function onClick() {
|
|
42902
|
-
var _authdetailsContext$
|
|
42903
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42939
|
+
var _authdetailsContext$i22;
|
|
42940
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.mobileapplink_playstore, '_blank');
|
|
42904
42941
|
}
|
|
42905
42942
|
})))));
|
|
42906
42943
|
};
|
|
@@ -69221,7 +69258,7 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
69221
69258
|
setitem(props.cardinfoitemprops);
|
|
69222
69259
|
}, [props.cardinfoitemprops]);
|
|
69223
69260
|
var card_cssstyles = {
|
|
69224
|
-
productcard: css({
|
|
69261
|
+
productcard: css(_defineProperty({
|
|
69225
69262
|
marginTop: sectionproperties.marginTop + 'px',
|
|
69226
69263
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
69227
69264
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
@@ -69230,9 +69267,8 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
69230
69267
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
69231
69268
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
69232
69269
|
border: sectionproperties.bordertype == 'All' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
|
|
69233
|
-
borderBottom: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
|
|
69234
|
-
|
|
69235
|
-
}),
|
|
69270
|
+
borderBottom: sectionproperties.bordertype == 'Bottom' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : ''
|
|
69271
|
+
}, "border", sectionproperties.bordertype == 'All' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '')),
|
|
69236
69272
|
productNameStyles: css({
|
|
69237
69273
|
color: sectionproperties.prodNameColor,
|
|
69238
69274
|
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
@@ -69400,7 +69436,7 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
69400
69436
|
position: 'relative'
|
|
69401
69437
|
}
|
|
69402
69438
|
}, /*#__PURE__*/React.createElement("div", {
|
|
69403
|
-
"class": 'col-lg-9 col-md-9 col-sm-9 p-0 mb-2',
|
|
69439
|
+
"class": 'col-lg-9 col-md-9 col-sm-9 p-0 mb-2 d-flex align-items-center',
|
|
69404
69440
|
style: {
|
|
69405
69441
|
minHeight: '6vh'
|
|
69406
69442
|
}
|
|
@@ -69449,7 +69485,7 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
69449
69485
|
style: {
|
|
69450
69486
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
69451
69487
|
}
|
|
69452
|
-
}, plainString(langdetect == 'en' ? item.
|
|
69488
|
+
}, plainString(langdetect == 'en' ? item.description : item.description))), sectionproperties.cartBtnShow == 'Show' && props.numberOfColsvertical == '1' && /*#__PURE__*/React.createElement("div", {
|
|
69453
69489
|
"class": "col-lg-3 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-end justify-content-md-start"
|
|
69454
69490
|
}, /*#__PURE__*/React.createElement("button", {
|
|
69455
69491
|
"class": card_cssstyles.cart_btn,
|
|
@@ -69459,14 +69495,42 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
69459
69495
|
}
|
|
69460
69496
|
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)), item.isproducttobesold == 1 && /*#__PURE__*/React.createElement("div", {
|
|
69461
69497
|
"class": "col-lg-12 p-0 d-flex align-items-center"
|
|
69462
|
-
},
|
|
69498
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
69499
|
+
"class": "row m-0 w-100"
|
|
69500
|
+
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
69501
|
+
"class": "col-lg-12 p-0 text-start"
|
|
69502
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
69463
69503
|
"class": card_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
69464
|
-
}, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname),
|
|
69504
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname)), /*#__PURE__*/React.createElement("div", {
|
|
69505
|
+
"class": "col-lg-12 p-0 text-start"
|
|
69506
|
+
}, item.hassale == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
69465
69507
|
"class": card_cssstyles.productSalePricestyles + ' m-0 p-0 ml-2 mr-2 ',
|
|
69466
69508
|
style: {
|
|
69467
69509
|
textDecoration: 'line-through'
|
|
69468
69510
|
}
|
|
69469
|
-
}, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)
|
|
69511
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
69512
|
+
"class": 'allcentered',
|
|
69513
|
+
style: {
|
|
69514
|
+
width: sectionproperties.pillwidth + 'px',
|
|
69515
|
+
height: sectionproperties.pillheight + 'px',
|
|
69516
|
+
background: sectionproperties.pillbgcolor,
|
|
69517
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
69518
|
+
}
|
|
69519
|
+
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React.createElement("p", {
|
|
69520
|
+
"class": "m-0 p-0",
|
|
69521
|
+
style: {
|
|
69522
|
+
color: sectionproperties.pillcolor,
|
|
69523
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
69524
|
+
direction: 'ltr'
|
|
69525
|
+
}
|
|
69526
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React.createElement("p", {
|
|
69527
|
+
"class": "m-0 p-0 text-uppercase",
|
|
69528
|
+
style: {
|
|
69529
|
+
color: sectionproperties.pillcolor,
|
|
69530
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
69531
|
+
direction: 'ltr'
|
|
69532
|
+
}
|
|
69533
|
+
}, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), ' ', langdetect == 'en' ? '' : item.currencyname))))), sectionproperties.cartBtnShow == 'Show' && props.numberOfColsvertical != '1' && /*#__PURE__*/React.createElement("div", {
|
|
69470
69534
|
"class": "col-lg-12 p-0 d-flex align-items-center mt-2"
|
|
69471
69535
|
}, /*#__PURE__*/React.createElement("button", {
|
|
69472
69536
|
"class": card_cssstyles.cart_btn,
|
|
@@ -74165,9 +74229,9 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
74165
74229
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
74166
74230
|
props.actions.lang;
|
|
74167
74231
|
var langdetect = props.actions.langdetect;
|
|
74168
|
-
props.actions.setShowProductInfoModalContext;
|
|
74232
|
+
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
74169
74233
|
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
74170
|
-
props.actions.setProductIdProdutInfoModalContext;
|
|
74234
|
+
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
74171
74235
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
74172
74236
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
74173
74237
|
props.actions.NotificationManager;
|
|
@@ -74197,6 +74261,12 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
74197
74261
|
'@media (max-width: 800px)': {
|
|
74198
74262
|
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
74199
74263
|
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
|
|
74264
|
+
},
|
|
74265
|
+
':hover .iconsContainer': {
|
|
74266
|
+
opacity: 1,
|
|
74267
|
+
transition: 'all, 0.4s',
|
|
74268
|
+
right: 10,
|
|
74269
|
+
transform: "translateX(0px)"
|
|
74200
74270
|
}
|
|
74201
74271
|
}),
|
|
74202
74272
|
productcardimagecont: css({
|
|
@@ -74321,6 +74391,26 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
74321
74391
|
backgroundColor: sectionproperties.backgroundColortransparent != 'Transparent' && sectionproperties.backgroundColor == '#ffffff' ? 'rgba(250,250,250,' + sectionproperties.bgopacityonhover + ')' : 1,
|
|
74322
74392
|
transition: 0.3
|
|
74323
74393
|
}
|
|
74394
|
+
}),
|
|
74395
|
+
iconsContainer: css({
|
|
74396
|
+
display: 'flex',
|
|
74397
|
+
flexDirection: 'column',
|
|
74398
|
+
position: 'absolute',
|
|
74399
|
+
top: 5,
|
|
74400
|
+
right: -15,
|
|
74401
|
+
opacity: 0,
|
|
74402
|
+
transform: "translateX(5px)",
|
|
74403
|
+
zIndex: 10,
|
|
74404
|
+
'@media (max-width: 800px)': {
|
|
74405
|
+
opacity: 1,
|
|
74406
|
+
right: 10
|
|
74407
|
+
}
|
|
74408
|
+
}),
|
|
74409
|
+
iconsContainer2: css({
|
|
74410
|
+
opacity: 1,
|
|
74411
|
+
transition: 'all, 0.4s',
|
|
74412
|
+
right: 10,
|
|
74413
|
+
transform: "translateX(0px)"
|
|
74324
74414
|
})
|
|
74325
74415
|
};
|
|
74326
74416
|
var _useState5 = useState(''),
|
|
@@ -74419,6 +74509,32 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
74419
74509
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
74420
74510
|
}
|
|
74421
74511
|
};
|
|
74512
|
+
var PillContainer = function PillContainer() {
|
|
74513
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
74514
|
+
"class": sectionproperties.pillwidth == 0 ? ' px-2 allcentered' : 'allcentered',
|
|
74515
|
+
style: {
|
|
74516
|
+
zIndex: 2,
|
|
74517
|
+
width: sectionproperties.pillwidth == 0 ? 'auto' : sectionproperties.pillwidth + 'px',
|
|
74518
|
+
height: sectionproperties.pillheight + 'px',
|
|
74519
|
+
background: sectionproperties.pillbgcolor,
|
|
74520
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
74521
|
+
}
|
|
74522
|
+
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React.createElement("p", {
|
|
74523
|
+
"class": "m-0 p-0",
|
|
74524
|
+
style: {
|
|
74525
|
+
color: sectionproperties.pillcolor,
|
|
74526
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
74527
|
+
direction: 'ltr'
|
|
74528
|
+
}
|
|
74529
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React.createElement("p", {
|
|
74530
|
+
"class": "m-0 p-0 text-uppercase",
|
|
74531
|
+
style: {
|
|
74532
|
+
color: sectionproperties.pillcolor,
|
|
74533
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
74534
|
+
direction: 'ltr'
|
|
74535
|
+
}
|
|
74536
|
+
}, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname));
|
|
74537
|
+
};
|
|
74422
74538
|
return /*#__PURE__*/React.createElement("div", {
|
|
74423
74539
|
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 px-md-1 ' : " ".concat(card_cssstyles.productcard),
|
|
74424
74540
|
style: {
|
|
@@ -74440,7 +74556,43 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
74440
74556
|
style: {
|
|
74441
74557
|
position: 'relative'
|
|
74442
74558
|
}
|
|
74559
|
+
}, sectionproperties.btnswithtransition == 'With Transition' && /*#__PURE__*/React.createElement("div", {
|
|
74560
|
+
"class": "".concat(card_cssstyles.iconsContainer) + ' iconsContainer p-0 d-flex '
|
|
74443
74561
|
}, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
74562
|
+
"class": " ".concat(card_cssstyles.wishlist_btn) + ' mt-2 mb-2 ',
|
|
74563
|
+
onClick: function onClick() {
|
|
74564
|
+
addtofavoritescontext(item.productid);
|
|
74565
|
+
}
|
|
74566
|
+
}, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
74567
|
+
"class": "h-100 d-flex align-items-center justify-content-center icon"
|
|
74568
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar$1, {
|
|
74569
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
74570
|
+
style: {
|
|
74571
|
+
color: sectionproperties.activefaviconcolor
|
|
74572
|
+
}
|
|
74573
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart$1, {
|
|
74574
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
74575
|
+
style: {
|
|
74576
|
+
color: sectionproperties.activefaviconcolor
|
|
74577
|
+
}
|
|
74578
|
+
})), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
74579
|
+
"class": "h-100 d-flex align-items-center justify-content-center icon"
|
|
74580
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
|
|
74581
|
+
size: sectionproperties.favBtnIconfontsize
|
|
74582
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
74583
|
+
size: sectionproperties.favBtnIconfontsize
|
|
74584
|
+
}))), sectionproperties.showproductinfomodalbtn == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
74585
|
+
"class": "".concat(card_cssstyles.wishlist_btn) + ' ',
|
|
74586
|
+
onClick: function onClick(e) {
|
|
74587
|
+
e.stopPropagation();
|
|
74588
|
+
setShowProductInfoModalContext(true);
|
|
74589
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
74590
|
+
}
|
|
74591
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
74592
|
+
"class": "h-100 d-flex align-items-center justify-content-center icon"
|
|
74593
|
+
}, /*#__PURE__*/React.createElement(BsEye, {
|
|
74594
|
+
size: sectionproperties.generalbtn_fontsize
|
|
74595
|
+
})))), sectionproperties.favBtnShow == 'Show' && sectionproperties.btnswithtransition != 'With Transition' && /*#__PURE__*/React.createElement("button", {
|
|
74444
74596
|
"class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
74445
74597
|
onClick: function onClick(e) {
|
|
74446
74598
|
e.stopPropagation();
|
|
@@ -74481,7 +74633,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
74481
74633
|
top: sectionproperties.badge_top + 'px',
|
|
74482
74634
|
left: langdetect == 'en' ? sectionproperties.badge_right + 'px' : '',
|
|
74483
74635
|
right: langdetect == 'en' ? '' : sectionproperties.badge_right + 'px',
|
|
74484
|
-
width: sectionproperties.badge_width + 'px',
|
|
74636
|
+
width: sectionproperties.badge_width == 0 ? '90%' : sectionproperties.badge_width + 'px',
|
|
74485
74637
|
height: sectionproperties.badge_height + 'px',
|
|
74486
74638
|
background: sectionproperties.badge_bgcolor,
|
|
74487
74639
|
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
@@ -74492,34 +74644,14 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
74492
74644
|
color: sectionproperties.badge_color,
|
|
74493
74645
|
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
74494
74646
|
}
|
|
74495
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
74496
|
-
"class": sectionproperties.pillwidth == 0 ? ' px-2 allcentered' : 'allcentered',
|
|
74647
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && sectionproperties.counterposition == 'Top' && /*#__PURE__*/React.createElement("div", {
|
|
74497
74648
|
style: {
|
|
74498
|
-
zIndex: 2,
|
|
74499
74649
|
position: 'absolute',
|
|
74500
74650
|
top: sectionproperties.pillpositionfromtop + 'px',
|
|
74501
74651
|
left: langdetect == 'en' ? sectionproperties.pillpositionfromright + 'px' : '',
|
|
74502
|
-
right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px'
|
|
74503
|
-
width: sectionproperties.pillwidth == 0 ? 'auto' : sectionproperties.pillwidth + 'px',
|
|
74504
|
-
height: sectionproperties.pillheight + 'px',
|
|
74505
|
-
background: sectionproperties.pillbgcolor,
|
|
74506
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
74507
|
-
}
|
|
74508
|
-
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React.createElement("p", {
|
|
74509
|
-
"class": "m-0 p-0",
|
|
74510
|
-
style: {
|
|
74511
|
-
color: sectionproperties.pillcolor,
|
|
74512
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
74513
|
-
direction: 'ltr'
|
|
74652
|
+
right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px'
|
|
74514
74653
|
}
|
|
74515
|
-
},
|
|
74516
|
-
"class": "m-0 p-0 text-uppercase",
|
|
74517
|
-
style: {
|
|
74518
|
-
color: sectionproperties.pillcolor,
|
|
74519
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
74520
|
-
direction: 'ltr'
|
|
74521
|
-
}
|
|
74522
|
-
}, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags = item.producttags) === null || _item$producttags === void 0 ? void 0 : _item$producttags.length) != 0 && sectionproperties.showtag == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
74654
|
+
}, PillContainer()), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags = item.producttags) === null || _item$producttags === void 0 ? void 0 : _item$producttags.length) != 0 && sectionproperties.showtag == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
74523
74655
|
"class": "allcentered",
|
|
74524
74656
|
style: {
|
|
74525
74657
|
position: 'absolute',
|
|
@@ -74641,17 +74773,19 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
74641
74773
|
marginBottom: sectionproperties.productpricemarginBottom + 'px'
|
|
74642
74774
|
}
|
|
74643
74775
|
}, /*#__PURE__*/React.createElement("div", {
|
|
74644
|
-
"class": ' d-flex align-items-center p-0 mb-0 flex-column ',
|
|
74776
|
+
"class": sectionproperties.priceDirection == 'Horizontal Direction' ? ' d-flex align-items-center p-0 mb-0 flex-row ' : ' d-flex align-items-center p-0 mb-0 flex-column ',
|
|
74645
74777
|
style: {
|
|
74646
74778
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
74647
74779
|
}
|
|
74648
74780
|
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
74649
|
-
"class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
|
|
74781
|
+
"class": sectionproperties.priceDirection == 'Horizontal Direction' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 '
|
|
74650
74782
|
}, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
74651
|
-
"class":
|
|
74783
|
+
"class": sectionproperties.priceDirection == 'Horizontal' ? ' d-flex align-items-center p-0 mb-0 ' : ' d-flex align-items-center p-0 mb-0'
|
|
74652
74784
|
}, /*#__PURE__*/React.createElement("p", {
|
|
74653
74785
|
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
|
|
74654
|
-
}, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname))
|
|
74786
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.showpill == 'Show' && item.hassale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React.createElement("div", {
|
|
74787
|
+
style: {}
|
|
74788
|
+
}, PillContainer()))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
74655
74789
|
"class": "col-lg-12 p-0",
|
|
74656
74790
|
style: {
|
|
74657
74791
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|