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.umd.js
CHANGED
|
@@ -3906,12 +3906,32 @@
|
|
|
3906
3906
|
slot = '10' + slotsubstr2 + ' PM';
|
|
3907
3907
|
} else if (slotsubstr == '23') {
|
|
3908
3908
|
slot = '11' + slotsubstr2 + ' PM';
|
|
3909
|
-
} else if (slotsubstr == '24') {
|
|
3910
|
-
slot = '12' + slotsubstr2 + ' PM';
|
|
3911
3909
|
} else if (slotsubstr == '00') {
|
|
3912
|
-
slot = '
|
|
3913
|
-
} else {
|
|
3914
|
-
slot =
|
|
3910
|
+
slot = '12' + slotsubstr2 + ' AM';
|
|
3911
|
+
} else if (slotsubstr == '01') {
|
|
3912
|
+
slot = '01' + slotsubstr2 + ' AM';
|
|
3913
|
+
} else if (slotsubstr == '02') {
|
|
3914
|
+
slot = '02' + slotsubstr2 + ' AM';
|
|
3915
|
+
} else if (slotsubstr == '03') {
|
|
3916
|
+
slot = '03' + slotsubstr2 + ' AM';
|
|
3917
|
+
} else if (slotsubstr == '04') {
|
|
3918
|
+
slot = '04' + slotsubstr2 + ' AM';
|
|
3919
|
+
} else if (slotsubstr == '05') {
|
|
3920
|
+
slot = '05' + slotsubstr2 + ' AM';
|
|
3921
|
+
} else if (slotsubstr == '06') {
|
|
3922
|
+
slot = '06' + slotsubstr2 + ' AM';
|
|
3923
|
+
} else if (slotsubstr == '07') {
|
|
3924
|
+
slot = '07' + slotsubstr2 + ' AM';
|
|
3925
|
+
} else if (slotsubstr == '08') {
|
|
3926
|
+
slot = '08' + slotsubstr2 + ' AM';
|
|
3927
|
+
} else if (slotsubstr == '09') {
|
|
3928
|
+
slot = '09' + slotsubstr2 + ' AM';
|
|
3929
|
+
} else if (slotsubstr == '10') {
|
|
3930
|
+
slot = '10' + slotsubstr2 + ' AM';
|
|
3931
|
+
} else if (slotsubstr == '11') {
|
|
3932
|
+
slot = '11' + slotsubstr2 + ' AM';
|
|
3933
|
+
} else if (slotsubstr == '12') {
|
|
3934
|
+
slot = '12' + slotsubstr2 + ' PM';
|
|
3915
3935
|
}
|
|
3916
3936
|
if (item.available) {
|
|
3917
3937
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -16511,192 +16531,180 @@
|
|
|
16511
16531
|
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; }
|
|
16512
16532
|
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__default["default"](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; }
|
|
16513
16533
|
var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
16514
|
-
var _authdetailsContext$i;
|
|
16515
16534
|
props.actions.lang;
|
|
16516
16535
|
var langdetect = props.actions.langdetect;
|
|
16517
16536
|
props.actions.productfiltercontext;
|
|
16518
16537
|
props.actions.setproductfiltercontext;
|
|
16519
16538
|
var ProductFilterObjContext = props.actions.ProductFilterObjContext;
|
|
16520
16539
|
var setProductFilterObjContext = props.actions.setProductFilterObjContext;
|
|
16521
|
-
|
|
16540
|
+
props.actions.authdetailsContext;
|
|
16522
16541
|
var routingcountext = props.actions.routingcountext;
|
|
16523
16542
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
16524
16543
|
props.actions.ikimagecredcontext;
|
|
16525
|
-
|
|
16526
|
-
|
|
16544
|
+
props.actions.FetchQueriesEngineContext;
|
|
16545
|
+
props.actions.setFetchQueriesEngineContext;
|
|
16546
|
+
props.actions.fetchcollectionsQueryContext;
|
|
16547
|
+
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
16527
16548
|
var _useState = React.useState(''),
|
|
16528
16549
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
16529
16550
|
sectionproperties = _useState2[0],
|
|
16530
16551
|
setsectionproperties = _useState2[1];
|
|
16531
16552
|
var _useState3 = React.useState([]),
|
|
16532
|
-
_useState4 = _slicedToArray__default["default"](_useState3, 2)
|
|
16533
|
-
|
|
16534
|
-
|
|
16535
|
-
|
|
16553
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2);
|
|
16554
|
+
_useState4[0];
|
|
16555
|
+
_useState4[1];
|
|
16556
|
+
// const [instcollections, setinstcollections] = useState([...fetchcollectionsQueryContext?.data?.data?.collections]);
|
|
16557
|
+
var _useState5 = React.useState([]),
|
|
16536
16558
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
16537
|
-
|
|
16538
|
-
|
|
16539
|
-
var _useState7 = React.useState(
|
|
16540
|
-
_useState8 = _slicedToArray__default["default"](_useState7, 2)
|
|
16541
|
-
|
|
16542
|
-
|
|
16543
|
-
var _useState9 = React.useState(false),
|
|
16544
|
-
_useState10 = _slicedToArray__default["default"](_useState9, 2);
|
|
16545
|
-
_useState10[0];
|
|
16546
|
-
_useState10[1];
|
|
16559
|
+
instcategories = _useState6[0],
|
|
16560
|
+
setinstcategories = _useState6[1];
|
|
16561
|
+
var _useState7 = React.useState(false),
|
|
16562
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
16563
|
+
_useState8[0];
|
|
16564
|
+
_useState8[1];
|
|
16547
16565
|
React.useEffect(function () {
|
|
16548
|
-
filterupdater();
|
|
16566
|
+
// filterupdater();
|
|
16549
16567
|
}, []);
|
|
16550
16568
|
React.useEffect(function () {
|
|
16551
|
-
|
|
16552
|
-
|
|
16553
|
-
|
|
16554
|
-
|
|
16569
|
+
if (fetchCategoriesQueryContext.isSuccess) {
|
|
16570
|
+
var _fetchCategoriesQuery;
|
|
16571
|
+
setinstcategories(_toConsumableArray__default["default"](fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 || (_fetchCategoriesQuery = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : _fetchCategoriesQuery.categories));
|
|
16572
|
+
}
|
|
16573
|
+
}, [fetchCategoriesQueryContext.isSuccess]);
|
|
16555
16574
|
React.useEffect(function () {
|
|
16556
16575
|
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
16557
16576
|
setsectionproperties(props.sectionpropertiesprops);
|
|
16558
16577
|
}
|
|
16559
16578
|
}, [props.sectionpropertiesprops]);
|
|
16560
16579
|
React.useEffect(function () {
|
|
16561
|
-
filterupdater();
|
|
16580
|
+
// filterupdater();
|
|
16562
16581
|
}, [ProductFilterObjContext]);
|
|
16563
|
-
|
|
16564
|
-
|
|
16565
|
-
|
|
16566
|
-
|
|
16567
|
-
|
|
16568
|
-
|
|
16569
|
-
|
|
16570
|
-
|
|
16571
|
-
|
|
16572
|
-
|
|
16573
|
-
|
|
16574
|
-
|
|
16575
|
-
|
|
16576
|
-
|
|
16577
|
-
|
|
16578
|
-
|
|
16579
|
-
|
|
16580
|
-
|
|
16581
|
-
|
|
16582
|
-
|
|
16583
|
-
|
|
16584
|
-
|
|
16585
|
-
|
|
16586
|
-
|
|
16587
|
-
|
|
16588
|
-
|
|
16589
|
-
|
|
16590
|
-
|
|
16591
|
-
|
|
16592
|
-
|
|
16593
|
-
|
|
16594
|
-
|
|
16595
|
-
|
|
16596
|
-
|
|
16597
|
-
|
|
16598
|
-
|
|
16599
|
-
|
|
16600
|
-
|
|
16601
|
-
|
|
16602
|
-
|
|
16603
|
-
|
|
16604
|
-
|
|
16605
|
-
|
|
16606
|
-
|
|
16607
|
-
|
|
16608
|
-
|
|
16609
|
-
|
|
16610
|
-
|
|
16611
|
-
|
|
16612
|
-
|
|
16613
|
-
|
|
16614
|
-
|
|
16615
|
-
|
|
16616
|
-
|
|
16617
|
-
|
|
16618
|
-
|
|
16619
|
-
|
|
16620
|
-
|
|
16621
|
-
|
|
16622
|
-
|
|
16623
|
-
|
|
16624
|
-
|
|
16625
|
-
|
|
16626
|
-
|
|
16627
|
-
|
|
16628
|
-
|
|
16629
|
-
|
|
16630
|
-
|
|
16631
|
-
|
|
16632
|
-
|
|
16633
|
-
|
|
16634
|
-
|
|
16635
|
-
|
|
16636
|
-
|
|
16637
|
-
|
|
16638
|
-
|
|
16639
|
-
|
|
16640
|
-
|
|
16641
|
-
|
|
16642
|
-
|
|
16643
|
-
|
|
16644
|
-
|
|
16645
|
-
|
|
16646
|
-
|
|
16647
|
-
|
|
16648
|
-
|
|
16649
|
-
|
|
16650
|
-
|
|
16651
|
-
|
|
16652
|
-
|
|
16653
|
-
|
|
16654
|
-
|
|
16655
|
-
|
|
16656
|
-
|
|
16657
|
-
|
|
16658
|
-
|
|
16659
|
-
|
|
16660
|
-
|
|
16661
|
-
|
|
16662
|
-
|
|
16663
|
-
|
|
16664
|
-
|
|
16665
|
-
|
|
16666
|
-
|
|
16667
|
-
|
|
16668
|
-
|
|
16669
|
-
|
|
16670
|
-
|
|
16671
|
-
|
|
16672
|
-
|
|
16673
|
-
|
|
16674
|
-
});
|
|
16675
|
-
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont4 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont4 === void 0 || _ProductFilterObjCont4.forEach(function (filteritem, filterindex) {
|
|
16676
|
-
tempInstcollections === null || tempInstcollections === void 0 || tempInstcollections.forEach(function (instfilteritem, instfilterindex) {
|
|
16677
|
-
if (instfilteritem.collectionid == filteritem) {
|
|
16678
|
-
instfilteritem.isfilterselected = true;
|
|
16679
|
-
}
|
|
16680
|
-
});
|
|
16681
|
-
});
|
|
16682
|
-
setinstcollections(_toConsumableArray__default["default"](tempInstcollections));
|
|
16683
|
-
}
|
|
16684
|
-
};
|
|
16582
|
+
|
|
16583
|
+
// useEffect(() => {
|
|
16584
|
+
// if (sectionproperties?.filterretreivetype == 'Depend on chosen parent group') {
|
|
16585
|
+
// if (ProductFilterObjContext?.collections != undefined && ProductFilterObjContext?.collections != null && Array.isArray(ProductFilterObjContext?.collections)) {
|
|
16586
|
+
// var collectiontobevisible = [];
|
|
16587
|
+
// var parentidsfound = [];
|
|
16588
|
+
// if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection') {
|
|
16589
|
+
// parentidsfound = ProductFilterObjContext?.collections;
|
|
16590
|
+
// } else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
|
|
16591
|
+
// instcategories?.forEach(function (catitem, catindex) {
|
|
16592
|
+
// ProductFilterObjContext?.collections?.forEach(function (colitem2, colindex2) {
|
|
16593
|
+
// if (catitem.categoryid == colitem2) {
|
|
16594
|
+
// catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
|
|
16595
|
+
// parentidsfound.push(parentcolitem.parentcollectionid);
|
|
16596
|
+
// });
|
|
16597
|
+
// }
|
|
16598
|
+
// });
|
|
16599
|
+
// });
|
|
16600
|
+
// } else {
|
|
16601
|
+
// instcategories?.forEach(function (catitem, catindex) {
|
|
16602
|
+
// catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
|
|
16603
|
+
// parentcolitem?.collections?.forEach(function (colitem, colindex) {
|
|
16604
|
+
// ProductFilterObjContext?.collections?.forEach(function (colitem2, colindex2) {
|
|
16605
|
+
// if (colitem.collectionid == colitem2) {
|
|
16606
|
+
// parentidsfound.push(parentcolitem.parentcollectionid);
|
|
16607
|
+
// }
|
|
16608
|
+
// });
|
|
16609
|
+
// });
|
|
16610
|
+
// });
|
|
16611
|
+
// });
|
|
16612
|
+
// }
|
|
16613
|
+
|
|
16614
|
+
// parentidsfound = parentidsfound.filter((val, id, array) => array.indexOf(val) == id);
|
|
16615
|
+
|
|
16616
|
+
// if (parentidsfound?.length != 0) {
|
|
16617
|
+
// instcategories?.forEach(function (catitem, catindex) {
|
|
16618
|
+
// catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
|
|
16619
|
+
// parentidsfound?.forEach(function (parentidfounditem, parentidfoundindex) {
|
|
16620
|
+
// if (parentidfounditem == parentcolitem?.parentcollectionid) {
|
|
16621
|
+
// parentcolitem?.collections?.forEach(function (colitem, colindex) {
|
|
16622
|
+
// var iscolexists = false;
|
|
16623
|
+
// collectiontobevisible?.forEach(function (colitemex, colindexex) {
|
|
16624
|
+
// if (colitemex.collectionid == colitem.collectionid) {
|
|
16625
|
+
// iscolexists = true;
|
|
16626
|
+
// }
|
|
16627
|
+
// });
|
|
16628
|
+
// if (iscolexists == false) {
|
|
16629
|
+
// collectiontobevisible.push(colitem);
|
|
16630
|
+
// }
|
|
16631
|
+
// });
|
|
16632
|
+
// }
|
|
16633
|
+
// });
|
|
16634
|
+
// });
|
|
16635
|
+
// });
|
|
16636
|
+
|
|
16637
|
+
// if (collectiontobevisible?.length != 0) {
|
|
16638
|
+
// setcollectionstobevisible(collectiontobevisible);
|
|
16639
|
+
// } else {
|
|
16640
|
+
// setcollectionstobevisible(instcollections);
|
|
16641
|
+
// }
|
|
16642
|
+
// } else {
|
|
16643
|
+
// setcollectionstobevisible(instcollections);
|
|
16644
|
+
// }
|
|
16645
|
+
// } else {
|
|
16646
|
+
// setcollectionstobevisible(instcollections);
|
|
16647
|
+
// }
|
|
16648
|
+
// } else {
|
|
16649
|
+
// setcollectionstobevisible(instcollections);
|
|
16650
|
+
// }
|
|
16651
|
+
// }, [ProductFilterObjContext]);
|
|
16652
|
+
|
|
16653
|
+
// const filterupdater = () => {
|
|
16654
|
+
// if (instcategories.length != 0) {
|
|
16655
|
+
// var tempInstcategories = [...instcategories];
|
|
16656
|
+
// tempInstcategories.forEach(function (catitem, catindex) {
|
|
16657
|
+
// catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
|
|
16658
|
+
// parentcolitem.collections.forEach(function (colitem, colindex) {
|
|
16659
|
+
// colitem.isfilterselected = false;
|
|
16660
|
+
// });
|
|
16661
|
+
// });
|
|
16662
|
+
// });
|
|
16663
|
+
|
|
16664
|
+
// ProductFilterObjContext?.collections?.forEach(function (filteritem, filterindex) {
|
|
16665
|
+
// tempInstcategories.forEach(function (catitem, catindex) {
|
|
16666
|
+
// catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
|
|
16667
|
+
// parentcolitem.collections.forEach(function (colitem, colindex) {
|
|
16668
|
+
// if (colitem.collectionid == filteritem) {
|
|
16669
|
+
// colitem.isfilterselected = true;
|
|
16670
|
+
// }
|
|
16671
|
+
// });
|
|
16672
|
+
// });
|
|
16673
|
+
// });
|
|
16674
|
+
// });
|
|
16675
|
+
|
|
16676
|
+
// setinstcategories([...tempInstcategories]);
|
|
16677
|
+
// }
|
|
16678
|
+
// // if (instcollections.length != 0) {
|
|
16679
|
+
// // var tempInstcollections = [...instcollections];
|
|
16680
|
+
// // tempInstcollections.forEach(function (instfilteritem, valefilteritemindex) {
|
|
16681
|
+
// // instfilteritem.isfilterselected = false;
|
|
16682
|
+
// // });
|
|
16683
|
+
// // ProductFilterObjContext?.collections?.forEach(function (filteritem, filterindex) {
|
|
16684
|
+
// // tempInstcollections?.forEach(function (instfilteritem, instfilterindex) {
|
|
16685
|
+
// // if (instfilteritem.collectionid == filteritem) {
|
|
16686
|
+
// // instfilteritem.isfilterselected = true;
|
|
16687
|
+
// // }
|
|
16688
|
+
// // });
|
|
16689
|
+
// // });
|
|
16690
|
+
// // setinstcollections([...tempInstcollections]);
|
|
16691
|
+
// // }
|
|
16692
|
+
// };
|
|
16685
16693
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
16686
16694
|
var _tempfetchproductsfil;
|
|
16687
16695
|
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
16688
16696
|
var CollectionExists = false;
|
|
16689
|
-
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.
|
|
16697
|
+
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.categories) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
|
|
16690
16698
|
if (filteritem == collectionid) {
|
|
16691
16699
|
CollectionExists = true;
|
|
16692
|
-
tempfetchproductsfilerobjcontext.
|
|
16700
|
+
tempfetchproductsfilerobjcontext.categories.splice(filterindex, 1);
|
|
16693
16701
|
}
|
|
16694
16702
|
});
|
|
16695
16703
|
if (!CollectionExists) {
|
|
16696
|
-
if (tempfetchproductsfilerobjcontext.
|
|
16697
|
-
tempfetchproductsfilerobjcontext.
|
|
16704
|
+
if (tempfetchproductsfilerobjcontext.categories != undefined && Array.isArray(tempfetchproductsfilerobjcontext.categories)) {
|
|
16705
|
+
tempfetchproductsfilerobjcontext.categories = [collectionid];
|
|
16698
16706
|
} else {
|
|
16699
|
-
tempfetchproductsfilerobjcontext.
|
|
16707
|
+
tempfetchproductsfilerobjcontext.categories = [collectionid];
|
|
16700
16708
|
}
|
|
16701
16709
|
}
|
|
16702
16710
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
@@ -16709,11 +16717,11 @@
|
|
|
16709
16717
|
var CollectionsFilter = function CollectionsFilter() {
|
|
16710
16718
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16711
16719
|
"class": "col-lg-12 p-0 scrollhorixontalcontainer text-center px-sm-3"
|
|
16712
|
-
},
|
|
16720
|
+
}, instcategories.map(function (item, index) {
|
|
16713
16721
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16714
16722
|
"class": filter_cssstyles.filteritem + ' m-0 p-0 cursor-pointer scrollhorixontaldiv mx-4 mx-sm-2 ',
|
|
16715
16723
|
onClick: function onClick() {
|
|
16716
|
-
setCollectionFilterFunc(item.
|
|
16724
|
+
setCollectionFilterFunc(item.categoryid);
|
|
16717
16725
|
},
|
|
16718
16726
|
style: {
|
|
16719
16727
|
color: item.isfilterselected ? sectionproperties.activecat_color : ''
|
|
@@ -42392,7 +42400,7 @@
|
|
|
42392
42400
|
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; }
|
|
42393
42401
|
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__default["default"](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; }
|
|
42394
42402
|
var Footer2 = function Footer2(props) {
|
|
42395
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$
|
|
42403
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i15, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _authdetailsContext$i19, _authdetailsContext$i20;
|
|
42396
42404
|
var _useState = React.useState(''),
|
|
42397
42405
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
42398
42406
|
sectionproperties = _useState2[0],
|
|
@@ -42553,6 +42561,16 @@
|
|
|
42553
42561
|
}
|
|
42554
42562
|
})
|
|
42555
42563
|
};
|
|
42564
|
+
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
42565
|
+
var _authdetailsContext$i;
|
|
42566
|
+
var policyobj = {};
|
|
42567
|
+
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) {
|
|
42568
|
+
if (item.policytype == policytype) {
|
|
42569
|
+
policyobj = item;
|
|
42570
|
+
}
|
|
42571
|
+
});
|
|
42572
|
+
return policyobj;
|
|
42573
|
+
};
|
|
42556
42574
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42557
42575
|
"class": "row m-0 w-100 d-flex justify-content-center"
|
|
42558
42576
|
}, /*#__PURE__*/React__default["default"].createElement("footer", {
|
|
@@ -42582,15 +42600,15 @@
|
|
|
42582
42600
|
fontSize: sectionproperties.titlefontsize + 'px',
|
|
42583
42601
|
marginLeft: sectionproperties.titlemarginleft + 'px'
|
|
42584
42602
|
}
|
|
42585
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42603
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.storename_en)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42586
42604
|
"class": " col-lg-12 d-flex flex-row align-items-center justify-content-center "
|
|
42587
42605
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42588
42606
|
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
42589
42607
|
onClick: function onClick() {
|
|
42590
|
-
var _authdetailsContext$
|
|
42591
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42592
|
-
var _authdetailsContext$
|
|
42593
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42608
|
+
var _authdetailsContext$i3;
|
|
42609
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
|
|
42610
|
+
var _authdetailsContext$i4;
|
|
42611
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
|
|
42594
42612
|
}
|
|
42595
42613
|
}
|
|
42596
42614
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
@@ -42598,10 +42616,10 @@
|
|
|
42598
42616
|
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42599
42617
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
42600
42618
|
onClick: function onClick() {
|
|
42601
|
-
var _authdetailsContext$
|
|
42602
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42603
|
-
var _authdetailsContext$
|
|
42604
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42619
|
+
var _authdetailsContext$i5;
|
|
42620
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
|
|
42621
|
+
var _authdetailsContext$i6;
|
|
42622
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
|
|
42605
42623
|
}
|
|
42606
42624
|
}
|
|
42607
42625
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
@@ -42609,43 +42627,43 @@
|
|
|
42609
42627
|
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42610
42628
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
42611
42629
|
onClick: function onClick() {
|
|
42612
|
-
var _authdetailsContext$
|
|
42613
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42614
|
-
var _authdetailsContext$
|
|
42615
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42630
|
+
var _authdetailsContext$i7;
|
|
42631
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber) != null) {
|
|
42632
|
+
var _authdetailsContext$i8;
|
|
42633
|
+
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');
|
|
42616
42634
|
}
|
|
42617
42635
|
}
|
|
42618
42636
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
42619
42637
|
size: sectionproperties.youtubebtniconfontsize
|
|
42620
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42638
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42621
42639
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
42622
42640
|
onClick: function onClick() {
|
|
42623
|
-
var _authdetailsContext$
|
|
42624
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42625
|
-
var _authdetailsContext$
|
|
42626
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42641
|
+
var _authdetailsContext$i10;
|
|
42642
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.youtubelink) != null) {
|
|
42643
|
+
var _authdetailsContext$i11;
|
|
42644
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.youtubelink, '_blank');
|
|
42627
42645
|
}
|
|
42628
42646
|
}
|
|
42629
42647
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube.AiFillYoutube, {
|
|
42630
42648
|
size: sectionproperties.instgrambtniconfontsize
|
|
42631
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42649
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42632
42650
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
42633
42651
|
onClick: function onClick() {
|
|
42634
|
-
var _authdetailsContext$
|
|
42635
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42636
|
-
var _authdetailsContext$
|
|
42637
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42652
|
+
var _authdetailsContext$i13;
|
|
42653
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.linkedinlink) != null) {
|
|
42654
|
+
var _authdetailsContext$i14;
|
|
42655
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.linkedinlink, '_blank');
|
|
42638
42656
|
}
|
|
42639
42657
|
}
|
|
42640
42658
|
}, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, {
|
|
42641
42659
|
size: sectionproperties.instgrambtniconfontsize
|
|
42642
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42660
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42643
42661
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
42644
42662
|
onClick: function onClick() {
|
|
42645
|
-
var _authdetailsContext$
|
|
42646
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42647
|
-
var _authdetailsContext$
|
|
42648
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42663
|
+
var _authdetailsContext$i16;
|
|
42664
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.tiktoklink) != null) {
|
|
42665
|
+
var _authdetailsContext$i17;
|
|
42666
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.tiktoklink, '_blank');
|
|
42649
42667
|
}
|
|
42650
42668
|
}
|
|
42651
42669
|
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
@@ -42698,12 +42716,31 @@
|
|
|
42698
42716
|
}
|
|
42699
42717
|
}, lang.orderhistory), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42700
42718
|
"class": "".concat(footerStyles.vl) + ' d-flex align-items-center justify-content-center mb-3'
|
|
42701
|
-
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42719
|
+
}), sectionproperties.separatepolicies == 'No' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42702
42720
|
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
|
|
42703
42721
|
onClick: function onClick() {
|
|
42704
42722
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
42705
42723
|
}
|
|
42706
|
-
}, lang.policies)
|
|
42724
|
+
}, lang.policies), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42725
|
+
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
|
|
42726
|
+
onClick: function onClick() {
|
|
42727
|
+
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
42728
|
+
}
|
|
42729
|
+
}, 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__default["default"].createElement("div", {
|
|
42730
|
+
"class": "".concat(footerStyles.vl) + ' d-flex align-items-center justify-content-center mb-3'
|
|
42731
|
+
}), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42732
|
+
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
|
|
42733
|
+
onClick: function onClick() {
|
|
42734
|
+
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
42735
|
+
}
|
|
42736
|
+
}, 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__default["default"].createElement("div", {
|
|
42737
|
+
"class": "".concat(footerStyles.vl) + ' d-flex align-items-center justify-content-center mb-3'
|
|
42738
|
+
}), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42739
|
+
"class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
|
|
42740
|
+
onClick: function onClick() {
|
|
42741
|
+
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
42742
|
+
}
|
|
42743
|
+
}, 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__default["default"].createElement("div", {
|
|
42707
42744
|
"class": "d-none d-md-block align-items-center justify-content-center mt-3 p-0 row m-0 w-100"
|
|
42708
42745
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42709
42746
|
"class": "row m-0 w-100"
|
|
@@ -42737,12 +42774,12 @@
|
|
|
42737
42774
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42738
42775
|
"class": ' storeinfotext d-flex align-items-center justify-content-md-center cursor-pointer text-transform-none ',
|
|
42739
42776
|
onClick: function onClick() {
|
|
42740
|
-
var _authdetailsContext$
|
|
42741
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42777
|
+
var _authdetailsContext$i18;
|
|
42778
|
+
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');
|
|
42742
42779
|
}
|
|
42743
42780
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
42744
42781
|
"class": ' fa fa-at mr-2 ml-2 '
|
|
42745
|
-
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42782
|
+
}), 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__default["default"].createElement("div", {
|
|
42746
42783
|
"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 '
|
|
42747
42784
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42748
42785
|
"class": ' storeinfotext d-flex align-items-center justify-content-md-center cursor-pointer ',
|
|
@@ -42759,21 +42796,21 @@
|
|
|
42759
42796
|
"class": ' h-100 d-flex align-items-center justify-content-center mr-2 ml-2 '
|
|
42760
42797
|
}, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
|
|
42761
42798
|
size: sectionproperties.footerinfoicon_fontsize
|
|
42762
|
-
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42799
|
+
})), 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__default["default"].createElement("div", {
|
|
42763
42800
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-sm-0"
|
|
42764
42801
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
42765
42802
|
"class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
42766
42803
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
42767
42804
|
onClick: function onClick() {
|
|
42768
|
-
var _authdetailsContext$
|
|
42769
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42805
|
+
var _authdetailsContext$i21;
|
|
42806
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.mobileapplink_appstore, '_blank');
|
|
42770
42807
|
}
|
|
42771
42808
|
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
42772
42809
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
42773
42810
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
42774
42811
|
onClick: function onClick() {
|
|
42775
|
-
var _authdetailsContext$
|
|
42776
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42812
|
+
var _authdetailsContext$i22;
|
|
42813
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.mobileapplink_playstore, '_blank');
|
|
42777
42814
|
}
|
|
42778
42815
|
})))));
|
|
42779
42816
|
};
|
|
@@ -69094,7 +69131,7 @@
|
|
|
69094
69131
|
setitem(props.cardinfoitemprops);
|
|
69095
69132
|
}, [props.cardinfoitemprops]);
|
|
69096
69133
|
var card_cssstyles = {
|
|
69097
|
-
productcard: glamor.css({
|
|
69134
|
+
productcard: glamor.css(_defineProperty__default["default"]({
|
|
69098
69135
|
marginTop: sectionproperties.marginTop + 'px',
|
|
69099
69136
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
69100
69137
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
@@ -69103,9 +69140,8 @@
|
|
|
69103
69140
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
69104
69141
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
69105
69142
|
border: sectionproperties.bordertype == 'All' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
|
|
69106
|
-
borderBottom: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
|
|
69107
|
-
|
|
69108
|
-
}),
|
|
69143
|
+
borderBottom: sectionproperties.bordertype == 'Bottom' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : ''
|
|
69144
|
+
}, "border", sectionproperties.bordertype == 'All' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '')),
|
|
69109
69145
|
productNameStyles: glamor.css({
|
|
69110
69146
|
color: sectionproperties.prodNameColor,
|
|
69111
69147
|
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
@@ -69273,7 +69309,7 @@
|
|
|
69273
69309
|
position: 'relative'
|
|
69274
69310
|
}
|
|
69275
69311
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69276
|
-
"class": 'col-lg-9 col-md-9 col-sm-9 p-0 mb-2',
|
|
69312
|
+
"class": 'col-lg-9 col-md-9 col-sm-9 p-0 mb-2 d-flex align-items-center',
|
|
69277
69313
|
style: {
|
|
69278
69314
|
minHeight: '6vh'
|
|
69279
69315
|
}
|
|
@@ -69322,7 +69358,7 @@
|
|
|
69322
69358
|
style: {
|
|
69323
69359
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
69324
69360
|
}
|
|
69325
|
-
}, plainString(langdetect == 'en' ? item.
|
|
69361
|
+
}, plainString(langdetect == 'en' ? item.description : item.description))), sectionproperties.cartBtnShow == 'Show' && props.numberOfColsvertical == '1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69326
69362
|
"class": "col-lg-3 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-end justify-content-md-start"
|
|
69327
69363
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
69328
69364
|
"class": card_cssstyles.cart_btn,
|
|
@@ -69332,14 +69368,42 @@
|
|
|
69332
69368
|
}
|
|
69333
69369
|
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)), item.isproducttobesold == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69334
69370
|
"class": "col-lg-12 p-0 d-flex align-items-center"
|
|
69335
|
-
},
|
|
69371
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69372
|
+
"class": "row m-0 w-100"
|
|
69373
|
+
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69374
|
+
"class": "col-lg-12 p-0 text-start"
|
|
69375
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
69336
69376
|
"class": card_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
69337
|
-
}, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname),
|
|
69377
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69378
|
+
"class": "col-lg-12 p-0 text-start"
|
|
69379
|
+
}, item.hassale == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
69338
69380
|
"class": card_cssstyles.productSalePricestyles + ' m-0 p-0 ml-2 mr-2 ',
|
|
69339
69381
|
style: {
|
|
69340
69382
|
textDecoration: 'line-through'
|
|
69341
69383
|
}
|
|
69342
|
-
}, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)
|
|
69384
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69385
|
+
"class": 'allcentered',
|
|
69386
|
+
style: {
|
|
69387
|
+
width: sectionproperties.pillwidth + 'px',
|
|
69388
|
+
height: sectionproperties.pillheight + 'px',
|
|
69389
|
+
background: sectionproperties.pillbgcolor,
|
|
69390
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
69391
|
+
}
|
|
69392
|
+
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
69393
|
+
"class": "m-0 p-0",
|
|
69394
|
+
style: {
|
|
69395
|
+
color: sectionproperties.pillcolor,
|
|
69396
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
69397
|
+
direction: 'ltr'
|
|
69398
|
+
}
|
|
69399
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
69400
|
+
"class": "m-0 p-0 text-uppercase",
|
|
69401
|
+
style: {
|
|
69402
|
+
color: sectionproperties.pillcolor,
|
|
69403
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
69404
|
+
direction: 'ltr'
|
|
69405
|
+
}
|
|
69406
|
+
}, 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__default["default"].createElement("div", {
|
|
69343
69407
|
"class": "col-lg-12 p-0 d-flex align-items-center mt-2"
|
|
69344
69408
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
69345
69409
|
"class": card_cssstyles.cart_btn,
|
|
@@ -74038,9 +74102,9 @@
|
|
|
74038
74102
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
74039
74103
|
props.actions.lang;
|
|
74040
74104
|
var langdetect = props.actions.langdetect;
|
|
74041
|
-
props.actions.setShowProductInfoModalContext;
|
|
74105
|
+
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
74042
74106
|
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
74043
|
-
props.actions.setProductIdProdutInfoModalContext;
|
|
74107
|
+
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
74044
74108
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
74045
74109
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
74046
74110
|
props.actions.NotificationManager;
|
|
@@ -74070,6 +74134,12 @@
|
|
|
74070
74134
|
'@media (max-width: 800px)': {
|
|
74071
74135
|
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
74072
74136
|
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
|
|
74137
|
+
},
|
|
74138
|
+
':hover .iconsContainer': {
|
|
74139
|
+
opacity: 1,
|
|
74140
|
+
transition: 'all, 0.4s',
|
|
74141
|
+
right: 10,
|
|
74142
|
+
transform: "translateX(0px)"
|
|
74073
74143
|
}
|
|
74074
74144
|
}),
|
|
74075
74145
|
productcardimagecont: glamor.css({
|
|
@@ -74194,6 +74264,26 @@
|
|
|
74194
74264
|
backgroundColor: sectionproperties.backgroundColortransparent != 'Transparent' && sectionproperties.backgroundColor == '#ffffff' ? 'rgba(250,250,250,' + sectionproperties.bgopacityonhover + ')' : 1,
|
|
74195
74265
|
transition: 0.3
|
|
74196
74266
|
}
|
|
74267
|
+
}),
|
|
74268
|
+
iconsContainer: glamor.css({
|
|
74269
|
+
display: 'flex',
|
|
74270
|
+
flexDirection: 'column',
|
|
74271
|
+
position: 'absolute',
|
|
74272
|
+
top: 5,
|
|
74273
|
+
right: -15,
|
|
74274
|
+
opacity: 0,
|
|
74275
|
+
transform: "translateX(5px)",
|
|
74276
|
+
zIndex: 10,
|
|
74277
|
+
'@media (max-width: 800px)': {
|
|
74278
|
+
opacity: 1,
|
|
74279
|
+
right: 10
|
|
74280
|
+
}
|
|
74281
|
+
}),
|
|
74282
|
+
iconsContainer2: glamor.css({
|
|
74283
|
+
opacity: 1,
|
|
74284
|
+
transition: 'all, 0.4s',
|
|
74285
|
+
right: 10,
|
|
74286
|
+
transform: "translateX(0px)"
|
|
74197
74287
|
})
|
|
74198
74288
|
};
|
|
74199
74289
|
var _useState5 = React.useState(''),
|
|
@@ -74292,6 +74382,32 @@
|
|
|
74292
74382
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
74293
74383
|
}
|
|
74294
74384
|
};
|
|
74385
|
+
var PillContainer = function PillContainer() {
|
|
74386
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
74387
|
+
"class": sectionproperties.pillwidth == 0 ? ' px-2 allcentered' : 'allcentered',
|
|
74388
|
+
style: {
|
|
74389
|
+
zIndex: 2,
|
|
74390
|
+
width: sectionproperties.pillwidth == 0 ? 'auto' : sectionproperties.pillwidth + 'px',
|
|
74391
|
+
height: sectionproperties.pillheight + 'px',
|
|
74392
|
+
background: sectionproperties.pillbgcolor,
|
|
74393
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
74394
|
+
}
|
|
74395
|
+
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
74396
|
+
"class": "m-0 p-0",
|
|
74397
|
+
style: {
|
|
74398
|
+
color: sectionproperties.pillcolor,
|
|
74399
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
74400
|
+
direction: 'ltr'
|
|
74401
|
+
}
|
|
74402
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
74403
|
+
"class": "m-0 p-0 text-uppercase",
|
|
74404
|
+
style: {
|
|
74405
|
+
color: sectionproperties.pillcolor,
|
|
74406
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
74407
|
+
direction: 'ltr'
|
|
74408
|
+
}
|
|
74409
|
+
}, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname));
|
|
74410
|
+
};
|
|
74295
74411
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
74296
74412
|
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 px-md-1 ' : " ".concat(card_cssstyles.productcard),
|
|
74297
74413
|
style: {
|
|
@@ -74313,7 +74429,43 @@
|
|
|
74313
74429
|
style: {
|
|
74314
74430
|
position: 'relative'
|
|
74315
74431
|
}
|
|
74432
|
+
}, sectionproperties.btnswithtransition == 'With Transition' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
74433
|
+
"class": "".concat(card_cssstyles.iconsContainer) + ' iconsContainer p-0 d-flex '
|
|
74316
74434
|
}, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
74435
|
+
"class": " ".concat(card_cssstyles.wishlist_btn) + ' mt-2 mb-2 ',
|
|
74436
|
+
onClick: function onClick() {
|
|
74437
|
+
addtofavoritescontext(item.productid);
|
|
74438
|
+
}
|
|
74439
|
+
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
74440
|
+
"class": "h-100 d-flex align-items-center justify-content-center icon"
|
|
74441
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
74442
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
74443
|
+
style: {
|
|
74444
|
+
color: sectionproperties.activefaviconcolor
|
|
74445
|
+
}
|
|
74446
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
|
|
74447
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
74448
|
+
style: {
|
|
74449
|
+
color: sectionproperties.activefaviconcolor
|
|
74450
|
+
}
|
|
74451
|
+
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
74452
|
+
"class": "h-100 d-flex align-items-center justify-content-center icon"
|
|
74453
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
74454
|
+
size: sectionproperties.favBtnIconfontsize
|
|
74455
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
74456
|
+
size: sectionproperties.favBtnIconfontsize
|
|
74457
|
+
}))), sectionproperties.showproductinfomodalbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
74458
|
+
"class": "".concat(card_cssstyles.wishlist_btn) + ' ',
|
|
74459
|
+
onClick: function onClick(e) {
|
|
74460
|
+
e.stopPropagation();
|
|
74461
|
+
setShowProductInfoModalContext(true);
|
|
74462
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
74463
|
+
}
|
|
74464
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
74465
|
+
"class": "h-100 d-flex align-items-center justify-content-center icon"
|
|
74466
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsEye.BsEye, {
|
|
74467
|
+
size: sectionproperties.generalbtn_fontsize
|
|
74468
|
+
})))), sectionproperties.favBtnShow == 'Show' && sectionproperties.btnswithtransition != 'With Transition' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
74317
74469
|
"class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
74318
74470
|
onClick: function onClick(e) {
|
|
74319
74471
|
e.stopPropagation();
|
|
@@ -74354,7 +74506,7 @@
|
|
|
74354
74506
|
top: sectionproperties.badge_top + 'px',
|
|
74355
74507
|
left: langdetect == 'en' ? sectionproperties.badge_right + 'px' : '',
|
|
74356
74508
|
right: langdetect == 'en' ? '' : sectionproperties.badge_right + 'px',
|
|
74357
|
-
width: sectionproperties.badge_width + 'px',
|
|
74509
|
+
width: sectionproperties.badge_width == 0 ? '90%' : sectionproperties.badge_width + 'px',
|
|
74358
74510
|
height: sectionproperties.badge_height + 'px',
|
|
74359
74511
|
background: sectionproperties.badge_bgcolor,
|
|
74360
74512
|
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
@@ -74365,34 +74517,14 @@
|
|
|
74365
74517
|
color: sectionproperties.badge_color,
|
|
74366
74518
|
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
74367
74519
|
}
|
|
74368
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
74369
|
-
"class": sectionproperties.pillwidth == 0 ? ' px-2 allcentered' : 'allcentered',
|
|
74520
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && sectionproperties.counterposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
74370
74521
|
style: {
|
|
74371
|
-
zIndex: 2,
|
|
74372
74522
|
position: 'absolute',
|
|
74373
74523
|
top: sectionproperties.pillpositionfromtop + 'px',
|
|
74374
74524
|
left: langdetect == 'en' ? sectionproperties.pillpositionfromright + 'px' : '',
|
|
74375
|
-
right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px'
|
|
74376
|
-
width: sectionproperties.pillwidth == 0 ? 'auto' : sectionproperties.pillwidth + 'px',
|
|
74377
|
-
height: sectionproperties.pillheight + 'px',
|
|
74378
|
-
background: sectionproperties.pillbgcolor,
|
|
74379
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
74380
|
-
}
|
|
74381
|
-
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
74382
|
-
"class": "m-0 p-0",
|
|
74383
|
-
style: {
|
|
74384
|
-
color: sectionproperties.pillcolor,
|
|
74385
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
74386
|
-
direction: 'ltr'
|
|
74525
|
+
right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px'
|
|
74387
74526
|
}
|
|
74388
|
-
},
|
|
74389
|
-
"class": "m-0 p-0 text-uppercase",
|
|
74390
|
-
style: {
|
|
74391
|
-
color: sectionproperties.pillcolor,
|
|
74392
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
74393
|
-
direction: 'ltr'
|
|
74394
|
-
}
|
|
74395
|
-
}, 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__default["default"].createElement("div", {
|
|
74527
|
+
}, 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__default["default"].createElement("div", {
|
|
74396
74528
|
"class": "allcentered",
|
|
74397
74529
|
style: {
|
|
74398
74530
|
position: 'absolute',
|
|
@@ -74514,17 +74646,19 @@
|
|
|
74514
74646
|
marginBottom: sectionproperties.productpricemarginBottom + 'px'
|
|
74515
74647
|
}
|
|
74516
74648
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
74517
|
-
"class": ' d-flex align-items-center p-0 mb-0 flex-column ',
|
|
74649
|
+
"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 ',
|
|
74518
74650
|
style: {
|
|
74519
74651
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
74520
74652
|
}
|
|
74521
74653
|
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
74522
|
-
"class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
|
|
74654
|
+
"class": sectionproperties.priceDirection == 'Horizontal Direction' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 '
|
|
74523
74655
|
}, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
74524
|
-
"class":
|
|
74656
|
+
"class": sectionproperties.priceDirection == 'Horizontal' ? ' d-flex align-items-center p-0 mb-0 ' : ' d-flex align-items-center p-0 mb-0'
|
|
74525
74657
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
74526
74658
|
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
|
|
74527
|
-
}, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname))
|
|
74659
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.showpill == 'Show' && item.hassale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
74660
|
+
style: {}
|
|
74661
|
+
}, PillContainer()))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
74528
74662
|
"class": "col-lg-12 p-0",
|
|
74529
74663
|
style: {
|
|
74530
74664
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|