tabexseriescomponents 0.0.616 → 0.0.618
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 +114 -28
- package/dist/index.esm.js +114 -28
- package/dist/index.umd.js +114 -28
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2711,7 +2711,16 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2711
2711
|
color: sectionproperties.measurementunitcolor,
|
|
2712
2712
|
fontSize: sectionproperties.measurementunitcolor + 'px'
|
|
2713
2713
|
}
|
|
2714
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2714
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit)), sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2715
|
+
"class": "col-lg-12 p-0 text-start"
|
|
2716
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2717
|
+
"class": "m-0 p-0",
|
|
2718
|
+
style: {
|
|
2719
|
+
fontSize: sectionproperties.quantityfontsize,
|
|
2720
|
+
color: sectionproperties.quantitycolor,
|
|
2721
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
2722
|
+
}
|
|
2723
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, ":", ' ', fetchProductInfoQueryContext.data.data.productinfo.currentquantity)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2715
2724
|
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
|
|
2716
2725
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2717
2726
|
className: props.srcfromprops != 'templatedraftrouter' ? "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ' : "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 ',
|
|
@@ -2821,22 +2830,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2821
2830
|
dangerouslySetInnerHTML: {
|
|
2822
2831
|
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.short_description_ar
|
|
2823
2832
|
}
|
|
2824
|
-
}))),
|
|
2825
|
-
"class": "col-lg-12 p-0"
|
|
2826
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2827
|
-
"class": "row m-0 w-100"
|
|
2828
|
-
}, sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2829
|
-
"class": "col-lg-12 p-0 mb-2"
|
|
2830
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2831
|
-
style: {
|
|
2832
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2833
|
-
}
|
|
2834
|
-
}, langdetect == 'en' ? 'Description' : 'التفاصيل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2835
|
-
"class": "col-lg-12 p-0"
|
|
2836
|
-
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2837
|
-
actions: props.actions,
|
|
2838
|
-
srcfromprops: 'undername'
|
|
2839
|
-
})))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2833
|
+
}))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2840
2834
|
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
2841
2835
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2842
2836
|
"class": "m-0 p-0",
|
|
@@ -2878,7 +2872,23 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2878
2872
|
}
|
|
2879
2873
|
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.deliverydatetext)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
2880
2874
|
actions: props.actions
|
|
2881
|
-
}),
|
|
2875
|
+
}), sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2876
|
+
"class": "col-lg-12 p-0"
|
|
2877
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2878
|
+
"class": "row m-0 w-100"
|
|
2879
|
+
}, sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2880
|
+
"class": "col-lg-12 p-0 mb-2"
|
|
2881
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2882
|
+
style: {
|
|
2883
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2884
|
+
color: sectionproperties.generaltext_fontColor
|
|
2885
|
+
}
|
|
2886
|
+
}, langdetect == 'en' ? 'Description' : 'التفاصيل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2887
|
+
"class": "col-lg-12 p-0"
|
|
2888
|
+
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2889
|
+
actions: props.actions,
|
|
2890
|
+
srcfromprops: 'undername'
|
|
2891
|
+
})))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2882
2892
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
2883
2893
|
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productoptions) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.map(function (item, index) {
|
|
2884
2894
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -29546,6 +29556,24 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
29546
29556
|
height: '40px',
|
|
29547
29557
|
cursor: 'pointer'
|
|
29548
29558
|
}
|
|
29559
|
+
}))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
29560
|
+
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
29561
|
+
target: '_self',
|
|
29562
|
+
style: {
|
|
29563
|
+
position: 'fixed',
|
|
29564
|
+
bottom: 60,
|
|
29565
|
+
right: 10,
|
|
29566
|
+
zIndex: 999999,
|
|
29567
|
+
transition: 'all 0.3s ease-out'
|
|
29568
|
+
}
|
|
29569
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
29570
|
+
"class": langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
|
|
29571
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPhone.FiPhone, {
|
|
29572
|
+
size: 30,
|
|
29573
|
+
color: sectionproperties.uppersection_iconcolor,
|
|
29574
|
+
style: {
|
|
29575
|
+
transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
|
|
29576
|
+
}
|
|
29549
29577
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29550
29578
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
29551
29579
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -41609,6 +41637,23 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
41609
41637
|
backgroundColor: sectionproperties.closeSliderBgColorHover,
|
|
41610
41638
|
color: sectionproperties.closeSlider_colorOnHover
|
|
41611
41639
|
}
|
|
41640
|
+
}),
|
|
41641
|
+
floatingbtn: glamor.css({
|
|
41642
|
+
width: sectionproperties.floatingbtnwidth + '%',
|
|
41643
|
+
height: sectionproperties.floatingbtnheight + 'px',
|
|
41644
|
+
background: sectionproperties.floatingbtnbg,
|
|
41645
|
+
fontSize: sectionproperties.floatingbtnfontsize + 'px',
|
|
41646
|
+
color: sectionproperties.floatingbtncolor,
|
|
41647
|
+
borderRadius: 10,
|
|
41648
|
+
':hover': {
|
|
41649
|
+
color: sectionproperties.floatingbtncolorhover,
|
|
41650
|
+
backgroundColor: sectionproperties.floatingbtnbghover,
|
|
41651
|
+
transitions: '.3s',
|
|
41652
|
+
cursor: 'pointer'
|
|
41653
|
+
},
|
|
41654
|
+
'@media (max-width: 800px)': {
|
|
41655
|
+
width: '50%'
|
|
41656
|
+
}
|
|
41612
41657
|
})
|
|
41613
41658
|
};
|
|
41614
41659
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -41633,7 +41678,25 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
41633
41678
|
height: '40px',
|
|
41634
41679
|
cursor: 'pointer'
|
|
41635
41680
|
}
|
|
41636
|
-
})), sectionproperties.
|
|
41681
|
+
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41682
|
+
style: {
|
|
41683
|
+
position: 'fixed',
|
|
41684
|
+
bottom: 15,
|
|
41685
|
+
right: 15,
|
|
41686
|
+
zIndex: 999999,
|
|
41687
|
+
transition: 'all 0.3s ease-out',
|
|
41688
|
+
width: '100%'
|
|
41689
|
+
},
|
|
41690
|
+
"class": "text-end"
|
|
41691
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41692
|
+
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
41693
|
+
style: {},
|
|
41694
|
+
onClick: function onClick() {
|
|
41695
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
41696
|
+
}
|
|
41697
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41698
|
+
"class": "m-0 p-0"
|
|
41699
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
41637
41700
|
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
41638
41701
|
target: '_self',
|
|
41639
41702
|
style: {
|
|
@@ -47210,7 +47273,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
47210
47273
|
function ownKeys$1r(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; }
|
|
47211
47274
|
function _objectSpread$1r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1r(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
47212
47275
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
47213
|
-
var _footerStyles, _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
|
|
47276
|
+
var _footerStyles, _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21, _authdetailsContext$i24;
|
|
47214
47277
|
var _useState = React.useState(''),
|
|
47215
47278
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
47216
47279
|
sectionproperties = _useState2[0],
|
|
@@ -47774,6 +47837,17 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
47774
47837
|
}
|
|
47775
47838
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
47776
47839
|
size: sectionproperties.youtubebtniconfontsize
|
|
47840
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.googlemapslink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
47841
|
+
"class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
47842
|
+
onClick: function onClick() {
|
|
47843
|
+
var _authdetailsContext$i25;
|
|
47844
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.googlemapslink) != null) {
|
|
47845
|
+
var _authdetailsContext$i26;
|
|
47846
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.googlemapslink, '_blank');
|
|
47847
|
+
}
|
|
47848
|
+
}
|
|
47849
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
|
|
47850
|
+
size: sectionproperties.youtubebtniconfontsize
|
|
47777
47851
|
}))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47778
47852
|
"class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
|
|
47779
47853
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -47789,15 +47863,15 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
47789
47863
|
"class": langdetect == 'en' ? "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mr-2 ' : "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ml-2 ',
|
|
47790
47864
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
47791
47865
|
onClick: function onClick() {
|
|
47792
|
-
var _authdetailsContext$
|
|
47793
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47866
|
+
var _authdetailsContext$i27;
|
|
47867
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.mobileapplink_appstore, '_blank');
|
|
47794
47868
|
}
|
|
47795
47869
|
}), sectionproperties.showplaystore == 'Show' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
47796
47870
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
47797
47871
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
47798
47872
|
onClick: function onClick() {
|
|
47799
|
-
var _authdetailsContext$
|
|
47800
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47873
|
+
var _authdetailsContext$i28;
|
|
47874
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.mobileapplink_playstore, '_blank');
|
|
47801
47875
|
}
|
|
47802
47876
|
})))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47803
47877
|
"class": "col-lg-12 p-0 d-block my-3"
|
|
@@ -49080,7 +49154,8 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
49080
49154
|
if (cardsarray.length == 0) {
|
|
49081
49155
|
if (fetchingtype == 'collections') {
|
|
49082
49156
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
49083
|
-
|
|
49157
|
+
var _fetchcollectionsQuer;
|
|
49158
|
+
cardobjassigner(fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 || (_fetchcollectionsQuer = fetchcollectionsQueryContext.data) === null || _fetchcollectionsQuer === void 0 || (_fetchcollectionsQuer = _fetchcollectionsQuer.data) === null || _fetchcollectionsQuer === void 0 ? void 0 : _fetchcollectionsQuer.collections);
|
|
49084
49159
|
}
|
|
49085
49160
|
} else if (fetchingtype == 'products') {
|
|
49086
49161
|
if (fetchProductsQuery.isSuccess) {
|
|
@@ -49130,7 +49205,8 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
49130
49205
|
React.useEffect(function () {
|
|
49131
49206
|
if (fetchingtype == 'collections') {
|
|
49132
49207
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
49133
|
-
|
|
49208
|
+
var _fetchcollectionsQuer2;
|
|
49209
|
+
cardobjassigner(fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 || (_fetchcollectionsQuer2 = fetchcollectionsQueryContext.data) === null || _fetchcollectionsQuer2 === void 0 || (_fetchcollectionsQuer2 = _fetchcollectionsQuer2.data) === null || _fetchcollectionsQuer2 === void 0 ? void 0 : _fetchcollectionsQuer2.collections);
|
|
49134
49210
|
}
|
|
49135
49211
|
}
|
|
49136
49212
|
}, [fetchcollectionsQueryContext.isSuccess]);
|
|
@@ -49183,7 +49259,8 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
49183
49259
|
cardobj.shortdescription = arrayItem.short_description_ar;
|
|
49184
49260
|
}
|
|
49185
49261
|
if (arrayItem.productinfo.hasvariants == 0) {
|
|
49186
|
-
|
|
49262
|
+
var _fetchcustomercartQue;
|
|
49263
|
+
fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.customercart) === null || _fetchcustomercartQue === void 0 || _fetchcustomercartQue.cartitems.forEach(function (cartitem, cartindex) {
|
|
49187
49264
|
if (cartitem.productid == arrayItem.productinfo.productid) {
|
|
49188
49265
|
itemquantity = cartitem.quantity;
|
|
49189
49266
|
}
|
|
@@ -65848,7 +65925,16 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
|
|
|
65848
65925
|
}
|
|
65849
65926
|
},
|
|
65850
65927
|
"class": "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 text-center '
|
|
65851
|
-
}, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
65928
|
+
}, item.name)), sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
65929
|
+
"class": "col-lg-12 p-0 allcentered"
|
|
65930
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
65931
|
+
"class": "m-0 p-0",
|
|
65932
|
+
style: {
|
|
65933
|
+
fontSize: sectionproperties.quantityfontsize,
|
|
65934
|
+
color: sectionproperties.quantitycolor,
|
|
65935
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
65936
|
+
}
|
|
65937
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, ": ", item.currentquantity)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
65852
65938
|
"class": "row m-0 w-100 align-items-center justify-content-center mb-2"
|
|
65853
65939
|
}, sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
65854
65940
|
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right ml-sm-3 mr-sm-3 '
|
package/dist/index.esm.js
CHANGED
|
@@ -2662,7 +2662,16 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2662
2662
|
color: sectionproperties.measurementunitcolor,
|
|
2663
2663
|
fontSize: sectionproperties.measurementunitcolor + 'px'
|
|
2664
2664
|
}
|
|
2665
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit)), /*#__PURE__*/React.createElement("div", {
|
|
2665
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit)), sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2666
|
+
"class": "col-lg-12 p-0 text-start"
|
|
2667
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
2668
|
+
"class": "m-0 p-0",
|
|
2669
|
+
style: {
|
|
2670
|
+
fontSize: sectionproperties.quantityfontsize,
|
|
2671
|
+
color: sectionproperties.quantitycolor,
|
|
2672
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
2673
|
+
}
|
|
2674
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, ":", ' ', fetchProductInfoQueryContext.data.data.productinfo.currentquantity)), /*#__PURE__*/React.createElement("div", {
|
|
2666
2675
|
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
|
|
2667
2676
|
}, /*#__PURE__*/React.createElement("p", {
|
|
2668
2677
|
className: props.srcfromprops != 'templatedraftrouter' ? "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ' : "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 ',
|
|
@@ -2772,22 +2781,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2772
2781
|
dangerouslySetInnerHTML: {
|
|
2773
2782
|
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.short_description_ar
|
|
2774
2783
|
}
|
|
2775
|
-
}))),
|
|
2776
|
-
"class": "col-lg-12 p-0"
|
|
2777
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
2778
|
-
"class": "row m-0 w-100"
|
|
2779
|
-
}, sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2780
|
-
"class": "col-lg-12 p-0 mb-2"
|
|
2781
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
2782
|
-
style: {
|
|
2783
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2784
|
-
}
|
|
2785
|
-
}, langdetect == 'en' ? 'Description' : 'التفاصيل')), /*#__PURE__*/React.createElement("div", {
|
|
2786
|
-
"class": "col-lg-12 p-0"
|
|
2787
|
-
}, /*#__PURE__*/React.createElement(DescriptionContent, {
|
|
2788
|
-
actions: props.actions,
|
|
2789
|
-
srcfromprops: 'undername'
|
|
2790
|
-
})))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2784
|
+
}))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2791
2785
|
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
2792
2786
|
}, /*#__PURE__*/React.createElement("p", {
|
|
2793
2787
|
"class": "m-0 p-0",
|
|
@@ -2829,7 +2823,23 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2829
2823
|
}
|
|
2830
2824
|
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React.createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.deliverydatetext)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.isproducttobesold) == 1 && /*#__PURE__*/React.createElement(ProductHeaderPricing, {
|
|
2831
2825
|
actions: props.actions
|
|
2832
|
-
}),
|
|
2826
|
+
}), sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
2827
|
+
"class": "col-lg-12 p-0"
|
|
2828
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2829
|
+
"class": "row m-0 w-100"
|
|
2830
|
+
}, sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2831
|
+
"class": "col-lg-12 p-0 mb-2"
|
|
2832
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
2833
|
+
style: {
|
|
2834
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2835
|
+
color: sectionproperties.generaltext_fontColor
|
|
2836
|
+
}
|
|
2837
|
+
}, langdetect == 'en' ? 'Description' : 'التفاصيل')), /*#__PURE__*/React.createElement("div", {
|
|
2838
|
+
"class": "col-lg-12 p-0"
|
|
2839
|
+
}, /*#__PURE__*/React.createElement(DescriptionContent, {
|
|
2840
|
+
actions: props.actions,
|
|
2841
|
+
srcfromprops: 'undername'
|
|
2842
|
+
})))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React.createElement("div", {
|
|
2833
2843
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
2834
2844
|
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productoptions) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.map(function (item, index) {
|
|
2835
2845
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -29497,6 +29507,24 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
29497
29507
|
height: '40px',
|
|
29498
29508
|
cursor: 'pointer'
|
|
29499
29509
|
}
|
|
29510
|
+
}))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("a", {
|
|
29511
|
+
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
29512
|
+
target: '_self',
|
|
29513
|
+
style: {
|
|
29514
|
+
position: 'fixed',
|
|
29515
|
+
bottom: 60,
|
|
29516
|
+
right: 10,
|
|
29517
|
+
zIndex: 999999,
|
|
29518
|
+
transition: 'all 0.3s ease-out'
|
|
29519
|
+
}
|
|
29520
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
29521
|
+
"class": langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
|
|
29522
|
+
}, /*#__PURE__*/React.createElement(FiPhone, {
|
|
29523
|
+
size: 30,
|
|
29524
|
+
color: sectionproperties.uppersection_iconcolor,
|
|
29525
|
+
style: {
|
|
29526
|
+
transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
|
|
29527
|
+
}
|
|
29500
29528
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
29501
29529
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
29502
29530
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -41560,6 +41588,23 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
41560
41588
|
backgroundColor: sectionproperties.closeSliderBgColorHover,
|
|
41561
41589
|
color: sectionproperties.closeSlider_colorOnHover
|
|
41562
41590
|
}
|
|
41591
|
+
}),
|
|
41592
|
+
floatingbtn: css({
|
|
41593
|
+
width: sectionproperties.floatingbtnwidth + '%',
|
|
41594
|
+
height: sectionproperties.floatingbtnheight + 'px',
|
|
41595
|
+
background: sectionproperties.floatingbtnbg,
|
|
41596
|
+
fontSize: sectionproperties.floatingbtnfontsize + 'px',
|
|
41597
|
+
color: sectionproperties.floatingbtncolor,
|
|
41598
|
+
borderRadius: 10,
|
|
41599
|
+
':hover': {
|
|
41600
|
+
color: sectionproperties.floatingbtncolorhover,
|
|
41601
|
+
backgroundColor: sectionproperties.floatingbtnbghover,
|
|
41602
|
+
transitions: '.3s',
|
|
41603
|
+
cursor: 'pointer'
|
|
41604
|
+
},
|
|
41605
|
+
'@media (max-width: 800px)': {
|
|
41606
|
+
width: '50%'
|
|
41607
|
+
}
|
|
41563
41608
|
})
|
|
41564
41609
|
};
|
|
41565
41610
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -41584,7 +41629,25 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
41584
41629
|
height: '40px',
|
|
41585
41630
|
cursor: 'pointer'
|
|
41586
41631
|
}
|
|
41587
|
-
})), sectionproperties.
|
|
41632
|
+
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
41633
|
+
style: {
|
|
41634
|
+
position: 'fixed',
|
|
41635
|
+
bottom: 15,
|
|
41636
|
+
right: 15,
|
|
41637
|
+
zIndex: 999999,
|
|
41638
|
+
transition: 'all 0.3s ease-out',
|
|
41639
|
+
width: '100%'
|
|
41640
|
+
},
|
|
41641
|
+
"class": "text-end"
|
|
41642
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
41643
|
+
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
41644
|
+
style: {},
|
|
41645
|
+
onClick: function onClick() {
|
|
41646
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
41647
|
+
}
|
|
41648
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
41649
|
+
"class": "m-0 p-0"
|
|
41650
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("a", {
|
|
41588
41651
|
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
41589
41652
|
target: '_self',
|
|
41590
41653
|
style: {
|
|
@@ -47161,7 +47224,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
47161
47224
|
function ownKeys$1r(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; }
|
|
47162
47225
|
function _objectSpread$1r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1r(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
47163
47226
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
47164
|
-
var _footerStyles, _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
|
|
47227
|
+
var _footerStyles, _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21, _authdetailsContext$i24;
|
|
47165
47228
|
var _useState = useState(''),
|
|
47166
47229
|
_useState2 = _slicedToArray(_useState, 2),
|
|
47167
47230
|
sectionproperties = _useState2[0],
|
|
@@ -47725,6 +47788,17 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
47725
47788
|
}
|
|
47726
47789
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
47727
47790
|
size: sectionproperties.youtubebtniconfontsize
|
|
47791
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.googlemapslink) != null && /*#__PURE__*/React.createElement("p", {
|
|
47792
|
+
"class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
47793
|
+
onClick: function onClick() {
|
|
47794
|
+
var _authdetailsContext$i25;
|
|
47795
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.googlemapslink) != null) {
|
|
47796
|
+
var _authdetailsContext$i26;
|
|
47797
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.googlemapslink, '_blank');
|
|
47798
|
+
}
|
|
47799
|
+
}
|
|
47800
|
+
}, /*#__PURE__*/React.createElement(IoLocationSharp, {
|
|
47801
|
+
size: sectionproperties.youtubebtniconfontsize
|
|
47728
47802
|
}))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
47729
47803
|
"class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
|
|
47730
47804
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -47740,15 +47814,15 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
47740
47814
|
"class": langdetect == 'en' ? "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mr-2 ' : "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ml-2 ',
|
|
47741
47815
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
47742
47816
|
onClick: function onClick() {
|
|
47743
|
-
var _authdetailsContext$
|
|
47744
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47817
|
+
var _authdetailsContext$i27;
|
|
47818
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.mobileapplink_appstore, '_blank');
|
|
47745
47819
|
}
|
|
47746
47820
|
}), sectionproperties.showplaystore == 'Show' && /*#__PURE__*/React.createElement("img", {
|
|
47747
47821
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
47748
47822
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
47749
47823
|
onClick: function onClick() {
|
|
47750
|
-
var _authdetailsContext$
|
|
47751
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47824
|
+
var _authdetailsContext$i28;
|
|
47825
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.mobileapplink_playstore, '_blank');
|
|
47752
47826
|
}
|
|
47753
47827
|
})))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
47754
47828
|
"class": "col-lg-12 p-0 d-block my-3"
|
|
@@ -49031,7 +49105,8 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
49031
49105
|
if (cardsarray.length == 0) {
|
|
49032
49106
|
if (fetchingtype == 'collections') {
|
|
49033
49107
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
49034
|
-
|
|
49108
|
+
var _fetchcollectionsQuer;
|
|
49109
|
+
cardobjassigner(fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 || (_fetchcollectionsQuer = fetchcollectionsQueryContext.data) === null || _fetchcollectionsQuer === void 0 || (_fetchcollectionsQuer = _fetchcollectionsQuer.data) === null || _fetchcollectionsQuer === void 0 ? void 0 : _fetchcollectionsQuer.collections);
|
|
49035
49110
|
}
|
|
49036
49111
|
} else if (fetchingtype == 'products') {
|
|
49037
49112
|
if (fetchProductsQuery.isSuccess) {
|
|
@@ -49081,7 +49156,8 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
49081
49156
|
useEffect(function () {
|
|
49082
49157
|
if (fetchingtype == 'collections') {
|
|
49083
49158
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
49084
|
-
|
|
49159
|
+
var _fetchcollectionsQuer2;
|
|
49160
|
+
cardobjassigner(fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 || (_fetchcollectionsQuer2 = fetchcollectionsQueryContext.data) === null || _fetchcollectionsQuer2 === void 0 || (_fetchcollectionsQuer2 = _fetchcollectionsQuer2.data) === null || _fetchcollectionsQuer2 === void 0 ? void 0 : _fetchcollectionsQuer2.collections);
|
|
49085
49161
|
}
|
|
49086
49162
|
}
|
|
49087
49163
|
}, [fetchcollectionsQueryContext.isSuccess]);
|
|
@@ -49134,7 +49210,8 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
49134
49210
|
cardobj.shortdescription = arrayItem.short_description_ar;
|
|
49135
49211
|
}
|
|
49136
49212
|
if (arrayItem.productinfo.hasvariants == 0) {
|
|
49137
|
-
|
|
49213
|
+
var _fetchcustomercartQue;
|
|
49214
|
+
fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.customercart) === null || _fetchcustomercartQue === void 0 || _fetchcustomercartQue.cartitems.forEach(function (cartitem, cartindex) {
|
|
49138
49215
|
if (cartitem.productid == arrayItem.productinfo.productid) {
|
|
49139
49216
|
itemquantity = cartitem.quantity;
|
|
49140
49217
|
}
|
|
@@ -65799,7 +65876,16 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
|
|
|
65799
65876
|
}
|
|
65800
65877
|
},
|
|
65801
65878
|
"class": "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 text-center '
|
|
65802
|
-
}, item.name)), /*#__PURE__*/React.createElement("div", {
|
|
65879
|
+
}, item.name)), sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
65880
|
+
"class": "col-lg-12 p-0 allcentered"
|
|
65881
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
65882
|
+
"class": "m-0 p-0",
|
|
65883
|
+
style: {
|
|
65884
|
+
fontSize: sectionproperties.quantityfontsize,
|
|
65885
|
+
color: sectionproperties.quantitycolor,
|
|
65886
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
65887
|
+
}
|
|
65888
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, ": ", item.currentquantity)), /*#__PURE__*/React.createElement("div", {
|
|
65803
65889
|
"class": "row m-0 w-100 align-items-center justify-content-center mb-2"
|
|
65804
65890
|
}, sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("p", {
|
|
65805
65891
|
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right ml-sm-3 mr-sm-3 '
|
package/dist/index.umd.js
CHANGED
|
@@ -2535,7 +2535,16 @@
|
|
|
2535
2535
|
color: sectionproperties.measurementunitcolor,
|
|
2536
2536
|
fontSize: sectionproperties.measurementunitcolor + 'px'
|
|
2537
2537
|
}
|
|
2538
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2538
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit)), sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2539
|
+
"class": "col-lg-12 p-0 text-start"
|
|
2540
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2541
|
+
"class": "m-0 p-0",
|
|
2542
|
+
style: {
|
|
2543
|
+
fontSize: sectionproperties.quantityfontsize,
|
|
2544
|
+
color: sectionproperties.quantitycolor,
|
|
2545
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
2546
|
+
}
|
|
2547
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, ":", ' ', fetchProductInfoQueryContext.data.data.productinfo.currentquantity)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2539
2548
|
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
|
|
2540
2549
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2541
2550
|
className: props.srcfromprops != 'templatedraftrouter' ? "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ' : "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 ',
|
|
@@ -2645,22 +2654,7 @@
|
|
|
2645
2654
|
dangerouslySetInnerHTML: {
|
|
2646
2655
|
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.short_description_ar
|
|
2647
2656
|
}
|
|
2648
|
-
}))),
|
|
2649
|
-
"class": "col-lg-12 p-0"
|
|
2650
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2651
|
-
"class": "row m-0 w-100"
|
|
2652
|
-
}, sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2653
|
-
"class": "col-lg-12 p-0 mb-2"
|
|
2654
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2655
|
-
style: {
|
|
2656
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2657
|
-
}
|
|
2658
|
-
}, langdetect == 'en' ? 'Description' : 'التفاصيل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2659
|
-
"class": "col-lg-12 p-0"
|
|
2660
|
-
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2661
|
-
actions: props.actions,
|
|
2662
|
-
srcfromprops: 'undername'
|
|
2663
|
-
})))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2657
|
+
}))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2664
2658
|
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
2665
2659
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2666
2660
|
"class": "m-0 p-0",
|
|
@@ -2702,7 +2696,23 @@
|
|
|
2702
2696
|
}
|
|
2703
2697
|
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.deliverydatetext)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
2704
2698
|
actions: props.actions
|
|
2705
|
-
}),
|
|
2699
|
+
}), sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2700
|
+
"class": "col-lg-12 p-0"
|
|
2701
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2702
|
+
"class": "row m-0 w-100"
|
|
2703
|
+
}, sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2704
|
+
"class": "col-lg-12 p-0 mb-2"
|
|
2705
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2706
|
+
style: {
|
|
2707
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2708
|
+
color: sectionproperties.generaltext_fontColor
|
|
2709
|
+
}
|
|
2710
|
+
}, langdetect == 'en' ? 'Description' : 'التفاصيل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2711
|
+
"class": "col-lg-12 p-0"
|
|
2712
|
+
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2713
|
+
actions: props.actions,
|
|
2714
|
+
srcfromprops: 'undername'
|
|
2715
|
+
})))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2706
2716
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
2707
2717
|
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productoptions) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.map(function (item, index) {
|
|
2708
2718
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -29370,6 +29380,24 @@
|
|
|
29370
29380
|
height: '40px',
|
|
29371
29381
|
cursor: 'pointer'
|
|
29372
29382
|
}
|
|
29383
|
+
}))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
29384
|
+
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
29385
|
+
target: '_self',
|
|
29386
|
+
style: {
|
|
29387
|
+
position: 'fixed',
|
|
29388
|
+
bottom: 60,
|
|
29389
|
+
right: 10,
|
|
29390
|
+
zIndex: 999999,
|
|
29391
|
+
transition: 'all 0.3s ease-out'
|
|
29392
|
+
}
|
|
29393
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
29394
|
+
"class": langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
|
|
29395
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPhone.FiPhone, {
|
|
29396
|
+
size: 30,
|
|
29397
|
+
color: sectionproperties.uppersection_iconcolor,
|
|
29398
|
+
style: {
|
|
29399
|
+
transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
|
|
29400
|
+
}
|
|
29373
29401
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29374
29402
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
29375
29403
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -41433,6 +41461,23 @@
|
|
|
41433
41461
|
backgroundColor: sectionproperties.closeSliderBgColorHover,
|
|
41434
41462
|
color: sectionproperties.closeSlider_colorOnHover
|
|
41435
41463
|
}
|
|
41464
|
+
}),
|
|
41465
|
+
floatingbtn: glamor.css({
|
|
41466
|
+
width: sectionproperties.floatingbtnwidth + '%',
|
|
41467
|
+
height: sectionproperties.floatingbtnheight + 'px',
|
|
41468
|
+
background: sectionproperties.floatingbtnbg,
|
|
41469
|
+
fontSize: sectionproperties.floatingbtnfontsize + 'px',
|
|
41470
|
+
color: sectionproperties.floatingbtncolor,
|
|
41471
|
+
borderRadius: 10,
|
|
41472
|
+
':hover': {
|
|
41473
|
+
color: sectionproperties.floatingbtncolorhover,
|
|
41474
|
+
backgroundColor: sectionproperties.floatingbtnbghover,
|
|
41475
|
+
transitions: '.3s',
|
|
41476
|
+
cursor: 'pointer'
|
|
41477
|
+
},
|
|
41478
|
+
'@media (max-width: 800px)': {
|
|
41479
|
+
width: '50%'
|
|
41480
|
+
}
|
|
41436
41481
|
})
|
|
41437
41482
|
};
|
|
41438
41483
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -41457,7 +41502,25 @@
|
|
|
41457
41502
|
height: '40px',
|
|
41458
41503
|
cursor: 'pointer'
|
|
41459
41504
|
}
|
|
41460
|
-
})), sectionproperties.
|
|
41505
|
+
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41506
|
+
style: {
|
|
41507
|
+
position: 'fixed',
|
|
41508
|
+
bottom: 15,
|
|
41509
|
+
right: 15,
|
|
41510
|
+
zIndex: 999999,
|
|
41511
|
+
transition: 'all 0.3s ease-out',
|
|
41512
|
+
width: '100%'
|
|
41513
|
+
},
|
|
41514
|
+
"class": "text-end"
|
|
41515
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41516
|
+
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
41517
|
+
style: {},
|
|
41518
|
+
onClick: function onClick() {
|
|
41519
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
41520
|
+
}
|
|
41521
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41522
|
+
"class": "m-0 p-0"
|
|
41523
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
41461
41524
|
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
41462
41525
|
target: '_self',
|
|
41463
41526
|
style: {
|
|
@@ -47034,7 +47097,7 @@
|
|
|
47034
47097
|
function ownKeys$1r(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; }
|
|
47035
47098
|
function _objectSpread$1r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1r(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
47036
47099
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
47037
|
-
var _footerStyles, _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
|
|
47100
|
+
var _footerStyles, _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21, _authdetailsContext$i24;
|
|
47038
47101
|
var _useState = React.useState(''),
|
|
47039
47102
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
47040
47103
|
sectionproperties = _useState2[0],
|
|
@@ -47598,6 +47661,17 @@
|
|
|
47598
47661
|
}
|
|
47599
47662
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
47600
47663
|
size: sectionproperties.youtubebtniconfontsize
|
|
47664
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.googlemapslink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
47665
|
+
"class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
47666
|
+
onClick: function onClick() {
|
|
47667
|
+
var _authdetailsContext$i25;
|
|
47668
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.googlemapslink) != null) {
|
|
47669
|
+
var _authdetailsContext$i26;
|
|
47670
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.googlemapslink, '_blank');
|
|
47671
|
+
}
|
|
47672
|
+
}
|
|
47673
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
|
|
47674
|
+
size: sectionproperties.youtubebtniconfontsize
|
|
47601
47675
|
}))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47602
47676
|
"class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
|
|
47603
47677
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -47613,15 +47687,15 @@
|
|
|
47613
47687
|
"class": langdetect == 'en' ? "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mr-2 ' : "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ml-2 ',
|
|
47614
47688
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
47615
47689
|
onClick: function onClick() {
|
|
47616
|
-
var _authdetailsContext$
|
|
47617
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47690
|
+
var _authdetailsContext$i27;
|
|
47691
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.mobileapplink_appstore, '_blank');
|
|
47618
47692
|
}
|
|
47619
47693
|
}), sectionproperties.showplaystore == 'Show' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
47620
47694
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
47621
47695
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
47622
47696
|
onClick: function onClick() {
|
|
47623
|
-
var _authdetailsContext$
|
|
47624
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47697
|
+
var _authdetailsContext$i28;
|
|
47698
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.mobileapplink_playstore, '_blank');
|
|
47625
47699
|
}
|
|
47626
47700
|
})))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47627
47701
|
"class": "col-lg-12 p-0 d-block my-3"
|
|
@@ -48904,7 +48978,8 @@
|
|
|
48904
48978
|
if (cardsarray.length == 0) {
|
|
48905
48979
|
if (fetchingtype == 'collections') {
|
|
48906
48980
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
48907
|
-
|
|
48981
|
+
var _fetchcollectionsQuer;
|
|
48982
|
+
cardobjassigner(fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 || (_fetchcollectionsQuer = fetchcollectionsQueryContext.data) === null || _fetchcollectionsQuer === void 0 || (_fetchcollectionsQuer = _fetchcollectionsQuer.data) === null || _fetchcollectionsQuer === void 0 ? void 0 : _fetchcollectionsQuer.collections);
|
|
48908
48983
|
}
|
|
48909
48984
|
} else if (fetchingtype == 'products') {
|
|
48910
48985
|
if (fetchProductsQuery.isSuccess) {
|
|
@@ -48954,7 +49029,8 @@
|
|
|
48954
49029
|
React.useEffect(function () {
|
|
48955
49030
|
if (fetchingtype == 'collections') {
|
|
48956
49031
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
48957
|
-
|
|
49032
|
+
var _fetchcollectionsQuer2;
|
|
49033
|
+
cardobjassigner(fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 || (_fetchcollectionsQuer2 = fetchcollectionsQueryContext.data) === null || _fetchcollectionsQuer2 === void 0 || (_fetchcollectionsQuer2 = _fetchcollectionsQuer2.data) === null || _fetchcollectionsQuer2 === void 0 ? void 0 : _fetchcollectionsQuer2.collections);
|
|
48958
49034
|
}
|
|
48959
49035
|
}
|
|
48960
49036
|
}, [fetchcollectionsQueryContext.isSuccess]);
|
|
@@ -49007,7 +49083,8 @@
|
|
|
49007
49083
|
cardobj.shortdescription = arrayItem.short_description_ar;
|
|
49008
49084
|
}
|
|
49009
49085
|
if (arrayItem.productinfo.hasvariants == 0) {
|
|
49010
|
-
|
|
49086
|
+
var _fetchcustomercartQue;
|
|
49087
|
+
fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.customercart) === null || _fetchcustomercartQue === void 0 || _fetchcustomercartQue.cartitems.forEach(function (cartitem, cartindex) {
|
|
49011
49088
|
if (cartitem.productid == arrayItem.productinfo.productid) {
|
|
49012
49089
|
itemquantity = cartitem.quantity;
|
|
49013
49090
|
}
|
|
@@ -65672,7 +65749,16 @@
|
|
|
65672
65749
|
}
|
|
65673
65750
|
},
|
|
65674
65751
|
"class": "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 text-center '
|
|
65675
|
-
}, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
65752
|
+
}, item.name)), sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
65753
|
+
"class": "col-lg-12 p-0 allcentered"
|
|
65754
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
65755
|
+
"class": "m-0 p-0",
|
|
65756
|
+
style: {
|
|
65757
|
+
fontSize: sectionproperties.quantityfontsize,
|
|
65758
|
+
color: sectionproperties.quantitycolor,
|
|
65759
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
65760
|
+
}
|
|
65761
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, ": ", item.currentquantity)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
65676
65762
|
"class": "row m-0 w-100 align-items-center justify-content-center mb-2"
|
|
65677
65763
|
}, sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
65678
65764
|
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right ml-sm-3 mr-sm-3 '
|