tabexseriescomponents 0.0.617 → 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 +76 -9
- package/dist/index.esm.js +76 -9
- package/dist/index.umd.js +76 -9
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -29556,6 +29556,24 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
29556
29556
|
height: '40px',
|
|
29557
29557
|
cursor: 'pointer'
|
|
29558
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
|
+
}
|
|
29559
29577
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29560
29578
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
29561
29579
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -41619,6 +41637,23 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
41619
41637
|
backgroundColor: sectionproperties.closeSliderBgColorHover,
|
|
41620
41638
|
color: sectionproperties.closeSlider_colorOnHover
|
|
41621
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
|
+
}
|
|
41622
41657
|
})
|
|
41623
41658
|
};
|
|
41624
41659
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -41643,7 +41678,25 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
41643
41678
|
height: '40px',
|
|
41644
41679
|
cursor: 'pointer'
|
|
41645
41680
|
}
|
|
41646
|
-
})), 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", {
|
|
41647
41700
|
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
41648
41701
|
target: '_self',
|
|
41649
41702
|
style: {
|
|
@@ -47220,7 +47273,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
47220
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; }
|
|
47221
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; }
|
|
47222
47275
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
47223
|
-
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;
|
|
47224
47277
|
var _useState = React.useState(''),
|
|
47225
47278
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
47226
47279
|
sectionproperties = _useState2[0],
|
|
@@ -47784,6 +47837,17 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
47784
47837
|
}
|
|
47785
47838
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
47786
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
|
|
47787
47851
|
}))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47788
47852
|
"class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
|
|
47789
47853
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -47799,15 +47863,15 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
47799
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 ',
|
|
47800
47864
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
47801
47865
|
onClick: function onClick() {
|
|
47802
|
-
var _authdetailsContext$
|
|
47803
|
-
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');
|
|
47804
47868
|
}
|
|
47805
47869
|
}), sectionproperties.showplaystore == 'Show' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
47806
47870
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
47807
47871
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
47808
47872
|
onClick: function onClick() {
|
|
47809
|
-
var _authdetailsContext$
|
|
47810
|
-
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');
|
|
47811
47875
|
}
|
|
47812
47876
|
})))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47813
47877
|
"class": "col-lg-12 p-0 d-block my-3"
|
|
@@ -49090,7 +49154,8 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
49090
49154
|
if (cardsarray.length == 0) {
|
|
49091
49155
|
if (fetchingtype == 'collections') {
|
|
49092
49156
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
49093
|
-
|
|
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);
|
|
49094
49159
|
}
|
|
49095
49160
|
} else if (fetchingtype == 'products') {
|
|
49096
49161
|
if (fetchProductsQuery.isSuccess) {
|
|
@@ -49140,7 +49205,8 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
49140
49205
|
React.useEffect(function () {
|
|
49141
49206
|
if (fetchingtype == 'collections') {
|
|
49142
49207
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
49143
|
-
|
|
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);
|
|
49144
49210
|
}
|
|
49145
49211
|
}
|
|
49146
49212
|
}, [fetchcollectionsQueryContext.isSuccess]);
|
|
@@ -49193,7 +49259,8 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
49193
49259
|
cardobj.shortdescription = arrayItem.short_description_ar;
|
|
49194
49260
|
}
|
|
49195
49261
|
if (arrayItem.productinfo.hasvariants == 0) {
|
|
49196
|
-
|
|
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) {
|
|
49197
49264
|
if (cartitem.productid == arrayItem.productinfo.productid) {
|
|
49198
49265
|
itemquantity = cartitem.quantity;
|
|
49199
49266
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -29507,6 +29507,24 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
29507
29507
|
height: '40px',
|
|
29508
29508
|
cursor: 'pointer'
|
|
29509
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
|
+
}
|
|
29510
29528
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
29511
29529
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
29512
29530
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -41570,6 +41588,23 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
41570
41588
|
backgroundColor: sectionproperties.closeSliderBgColorHover,
|
|
41571
41589
|
color: sectionproperties.closeSlider_colorOnHover
|
|
41572
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
|
+
}
|
|
41573
41608
|
})
|
|
41574
41609
|
};
|
|
41575
41610
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -41594,7 +41629,25 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
41594
41629
|
height: '40px',
|
|
41595
41630
|
cursor: 'pointer'
|
|
41596
41631
|
}
|
|
41597
|
-
})), 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", {
|
|
41598
41651
|
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
41599
41652
|
target: '_self',
|
|
41600
41653
|
style: {
|
|
@@ -47171,7 +47224,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
47171
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; }
|
|
47172
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; }
|
|
47173
47226
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
47174
|
-
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;
|
|
47175
47228
|
var _useState = useState(''),
|
|
47176
47229
|
_useState2 = _slicedToArray(_useState, 2),
|
|
47177
47230
|
sectionproperties = _useState2[0],
|
|
@@ -47735,6 +47788,17 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
47735
47788
|
}
|
|
47736
47789
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
47737
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
|
|
47738
47802
|
}))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
47739
47803
|
"class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
|
|
47740
47804
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -47750,15 +47814,15 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
47750
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 ',
|
|
47751
47815
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
47752
47816
|
onClick: function onClick() {
|
|
47753
|
-
var _authdetailsContext$
|
|
47754
|
-
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');
|
|
47755
47819
|
}
|
|
47756
47820
|
}), sectionproperties.showplaystore == 'Show' && /*#__PURE__*/React.createElement("img", {
|
|
47757
47821
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
47758
47822
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
47759
47823
|
onClick: function onClick() {
|
|
47760
|
-
var _authdetailsContext$
|
|
47761
|
-
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');
|
|
47762
47826
|
}
|
|
47763
47827
|
})))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
47764
47828
|
"class": "col-lg-12 p-0 d-block my-3"
|
|
@@ -49041,7 +49105,8 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
49041
49105
|
if (cardsarray.length == 0) {
|
|
49042
49106
|
if (fetchingtype == 'collections') {
|
|
49043
49107
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
49044
|
-
|
|
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);
|
|
49045
49110
|
}
|
|
49046
49111
|
} else if (fetchingtype == 'products') {
|
|
49047
49112
|
if (fetchProductsQuery.isSuccess) {
|
|
@@ -49091,7 +49156,8 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
49091
49156
|
useEffect(function () {
|
|
49092
49157
|
if (fetchingtype == 'collections') {
|
|
49093
49158
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
49094
|
-
|
|
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);
|
|
49095
49161
|
}
|
|
49096
49162
|
}
|
|
49097
49163
|
}, [fetchcollectionsQueryContext.isSuccess]);
|
|
@@ -49144,7 +49210,8 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
49144
49210
|
cardobj.shortdescription = arrayItem.short_description_ar;
|
|
49145
49211
|
}
|
|
49146
49212
|
if (arrayItem.productinfo.hasvariants == 0) {
|
|
49147
|
-
|
|
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) {
|
|
49148
49215
|
if (cartitem.productid == arrayItem.productinfo.productid) {
|
|
49149
49216
|
itemquantity = cartitem.quantity;
|
|
49150
49217
|
}
|
package/dist/index.umd.js
CHANGED
|
@@ -29380,6 +29380,24 @@
|
|
|
29380
29380
|
height: '40px',
|
|
29381
29381
|
cursor: 'pointer'
|
|
29382
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
|
+
}
|
|
29383
29401
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29384
29402
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
29385
29403
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -41443,6 +41461,23 @@
|
|
|
41443
41461
|
backgroundColor: sectionproperties.closeSliderBgColorHover,
|
|
41444
41462
|
color: sectionproperties.closeSlider_colorOnHover
|
|
41445
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
|
+
}
|
|
41446
41481
|
})
|
|
41447
41482
|
};
|
|
41448
41483
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -41467,7 +41502,25 @@
|
|
|
41467
41502
|
height: '40px',
|
|
41468
41503
|
cursor: 'pointer'
|
|
41469
41504
|
}
|
|
41470
|
-
})), 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", {
|
|
41471
41524
|
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
41472
41525
|
target: '_self',
|
|
41473
41526
|
style: {
|
|
@@ -47044,7 +47097,7 @@
|
|
|
47044
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; }
|
|
47045
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; }
|
|
47046
47099
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
47047
|
-
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;
|
|
47048
47101
|
var _useState = React.useState(''),
|
|
47049
47102
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
47050
47103
|
sectionproperties = _useState2[0],
|
|
@@ -47608,6 +47661,17 @@
|
|
|
47608
47661
|
}
|
|
47609
47662
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
47610
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
|
|
47611
47675
|
}))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47612
47676
|
"class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
|
|
47613
47677
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -47623,15 +47687,15 @@
|
|
|
47623
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 ',
|
|
47624
47688
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
47625
47689
|
onClick: function onClick() {
|
|
47626
|
-
var _authdetailsContext$
|
|
47627
|
-
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');
|
|
47628
47692
|
}
|
|
47629
47693
|
}), sectionproperties.showplaystore == 'Show' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
47630
47694
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
47631
47695
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
47632
47696
|
onClick: function onClick() {
|
|
47633
|
-
var _authdetailsContext$
|
|
47634
|
-
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');
|
|
47635
47699
|
}
|
|
47636
47700
|
})))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47637
47701
|
"class": "col-lg-12 p-0 d-block my-3"
|
|
@@ -48914,7 +48978,8 @@
|
|
|
48914
48978
|
if (cardsarray.length == 0) {
|
|
48915
48979
|
if (fetchingtype == 'collections') {
|
|
48916
48980
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
48917
|
-
|
|
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);
|
|
48918
48983
|
}
|
|
48919
48984
|
} else if (fetchingtype == 'products') {
|
|
48920
48985
|
if (fetchProductsQuery.isSuccess) {
|
|
@@ -48964,7 +49029,8 @@
|
|
|
48964
49029
|
React.useEffect(function () {
|
|
48965
49030
|
if (fetchingtype == 'collections') {
|
|
48966
49031
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
48967
|
-
|
|
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);
|
|
48968
49034
|
}
|
|
48969
49035
|
}
|
|
48970
49036
|
}, [fetchcollectionsQueryContext.isSuccess]);
|
|
@@ -49017,7 +49083,8 @@
|
|
|
49017
49083
|
cardobj.shortdescription = arrayItem.short_description_ar;
|
|
49018
49084
|
}
|
|
49019
49085
|
if (arrayItem.productinfo.hasvariants == 0) {
|
|
49020
|
-
|
|
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) {
|
|
49021
49088
|
if (cartitem.productid == arrayItem.productinfo.productid) {
|
|
49022
49089
|
itemquantity = cartitem.quantity;
|
|
49023
49090
|
}
|