tabexseriescomponents 0.0.537 → 0.0.541
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 +8 -14
- package/dist/index.esm.js +8 -14
- package/dist/index.umd.js +8 -14
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -23521,7 +23521,12 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
23521
23521
|
top: sectionproperties.cartbadgetop + 'px',
|
|
23522
23522
|
right: sectionproperties.cartbadgeright + 'px'
|
|
23523
23523
|
}
|
|
23524
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0
|
|
23524
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : fetchcustomercartQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
23525
|
+
color: "#fff",
|
|
23526
|
+
width: "30px",
|
|
23527
|
+
height: "30px",
|
|
23528
|
+
duration: "1s"
|
|
23529
|
+
}), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && fetchcustomercartQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0))))))))), sectionproperties.responsiveheaderstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
|
|
23525
23530
|
sectionpropertiesprops: sectionproperties,
|
|
23526
23531
|
actions: actions
|
|
23527
23532
|
}), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
@@ -55910,28 +55915,17 @@ var Popupcomponent = function Popupcomponent(props) {
|
|
|
55910
55915
|
}
|
|
55911
55916
|
}
|
|
55912
55917
|
}, [sectionproperties]);
|
|
55913
|
-
// useEffect(() => {
|
|
55914
|
-
// setTimeout(() => {
|
|
55915
|
-
// setshowpopup(true);
|
|
55916
|
-
// }, 2000);
|
|
55917
|
-
// }, []);
|
|
55918
55918
|
var closePopUp = function closePopUp() {
|
|
55919
|
-
// setting key "seenPopUp" with value true into localStorage
|
|
55920
55919
|
localStorage.setItem('seenPopUp', true);
|
|
55921
|
-
// setting state to false to not display pop-up
|
|
55922
55920
|
setshowpopup(false);
|
|
55923
55921
|
};
|
|
55924
55922
|
React.useEffect(function () {
|
|
55925
|
-
// getting value of "seenPopUp" key from localStorage
|
|
55926
55923
|
var returningUser = localStorage.getItem('seenPopUp');
|
|
55927
|
-
// if it's not there, for a new user, it will be null
|
|
55928
|
-
// if it's there it will be boolean true
|
|
55929
|
-
// setting the opposite to state, false for returning user, true for a new user
|
|
55930
55924
|
setshowpopup(!returningUser);
|
|
55931
55925
|
}, []);
|
|
55932
55926
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
55933
55927
|
className: "row ml-0 mr-0 w-100"
|
|
55934
|
-
}, showpopup == true && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
|
|
55928
|
+
}, showpopup == true && Object.keys(imagesarray).length != 0 && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
|
|
55935
55929
|
show: true,
|
|
55936
55930
|
onHide: function onHide() {
|
|
55937
55931
|
closePopUp();
|
|
@@ -55959,7 +55953,7 @@ var Popupcomponent = function Popupcomponent(props) {
|
|
|
55959
55953
|
size: 20,
|
|
55960
55954
|
"class": "",
|
|
55961
55955
|
color: '#fff'
|
|
55962
|
-
}))),
|
|
55956
|
+
}))), /*#__PURE__*/React__default["default"].createElement("a", {
|
|
55963
55957
|
href: '/signup',
|
|
55964
55958
|
target: "_self"
|
|
55965
55959
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
package/dist/index.esm.js
CHANGED
|
@@ -23472,7 +23472,12 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
23472
23472
|
top: sectionproperties.cartbadgetop + 'px',
|
|
23473
23473
|
right: sectionproperties.cartbadgeright + 'px'
|
|
23474
23474
|
}
|
|
23475
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0
|
|
23475
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : fetchcustomercartQueryContext.isFetching) && /*#__PURE__*/React.createElement(CircularProgress, {
|
|
23476
|
+
color: "#fff",
|
|
23477
|
+
width: "30px",
|
|
23478
|
+
height: "30px",
|
|
23479
|
+
duration: "1s"
|
|
23480
|
+
}), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && fetchcustomercartQueryContext.isFetching) && /*#__PURE__*/React.createElement(React.Fragment, null, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0))))))))), sectionproperties.responsiveheaderstyle == 'Style 1' && /*#__PURE__*/React.createElement(Headerresponsive, {
|
|
23476
23481
|
sectionpropertiesprops: sectionproperties,
|
|
23477
23482
|
actions: actions
|
|
23478
23483
|
}), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React.createElement(HeaderresponsiveStyle2, {
|
|
@@ -55861,28 +55866,17 @@ var Popupcomponent = function Popupcomponent(props) {
|
|
|
55861
55866
|
}
|
|
55862
55867
|
}
|
|
55863
55868
|
}, [sectionproperties]);
|
|
55864
|
-
// useEffect(() => {
|
|
55865
|
-
// setTimeout(() => {
|
|
55866
|
-
// setshowpopup(true);
|
|
55867
|
-
// }, 2000);
|
|
55868
|
-
// }, []);
|
|
55869
55869
|
var closePopUp = function closePopUp() {
|
|
55870
|
-
// setting key "seenPopUp" with value true into localStorage
|
|
55871
55870
|
localStorage.setItem('seenPopUp', true);
|
|
55872
|
-
// setting state to false to not display pop-up
|
|
55873
55871
|
setshowpopup(false);
|
|
55874
55872
|
};
|
|
55875
55873
|
useEffect(function () {
|
|
55876
|
-
// getting value of "seenPopUp" key from localStorage
|
|
55877
55874
|
var returningUser = localStorage.getItem('seenPopUp');
|
|
55878
|
-
// if it's not there, for a new user, it will be null
|
|
55879
|
-
// if it's there it will be boolean true
|
|
55880
|
-
// setting the opposite to state, false for returning user, true for a new user
|
|
55881
55875
|
setshowpopup(!returningUser);
|
|
55882
55876
|
}, []);
|
|
55883
55877
|
return /*#__PURE__*/React.createElement("div", {
|
|
55884
55878
|
className: "row ml-0 mr-0 w-100"
|
|
55885
|
-
}, showpopup == true && /*#__PURE__*/React.createElement(Modal, {
|
|
55879
|
+
}, showpopup == true && Object.keys(imagesarray).length != 0 && /*#__PURE__*/React.createElement(Modal, {
|
|
55886
55880
|
show: true,
|
|
55887
55881
|
onHide: function onHide() {
|
|
55888
55882
|
closePopUp();
|
|
@@ -55910,7 +55904,7 @@ var Popupcomponent = function Popupcomponent(props) {
|
|
|
55910
55904
|
size: 20,
|
|
55911
55905
|
"class": "",
|
|
55912
55906
|
color: '#fff'
|
|
55913
|
-
}))),
|
|
55907
|
+
}))), /*#__PURE__*/React.createElement("a", {
|
|
55914
55908
|
href: '/signup',
|
|
55915
55909
|
target: "_self"
|
|
55916
55910
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
package/dist/index.umd.js
CHANGED
|
@@ -23347,7 +23347,12 @@
|
|
|
23347
23347
|
top: sectionproperties.cartbadgetop + 'px',
|
|
23348
23348
|
right: sectionproperties.cartbadgeright + 'px'
|
|
23349
23349
|
}
|
|
23350
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0
|
|
23350
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : fetchcustomercartQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
23351
|
+
color: "#fff",
|
|
23352
|
+
width: "30px",
|
|
23353
|
+
height: "30px",
|
|
23354
|
+
duration: "1s"
|
|
23355
|
+
}), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && fetchcustomercartQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0))))))))), sectionproperties.responsiveheaderstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
|
|
23351
23356
|
sectionpropertiesprops: sectionproperties,
|
|
23352
23357
|
actions: actions
|
|
23353
23358
|
}), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
@@ -55736,28 +55741,17 @@
|
|
|
55736
55741
|
}
|
|
55737
55742
|
}
|
|
55738
55743
|
}, [sectionproperties]);
|
|
55739
|
-
// useEffect(() => {
|
|
55740
|
-
// setTimeout(() => {
|
|
55741
|
-
// setshowpopup(true);
|
|
55742
|
-
// }, 2000);
|
|
55743
|
-
// }, []);
|
|
55744
55744
|
var closePopUp = function closePopUp() {
|
|
55745
|
-
// setting key "seenPopUp" with value true into localStorage
|
|
55746
55745
|
localStorage.setItem('seenPopUp', true);
|
|
55747
|
-
// setting state to false to not display pop-up
|
|
55748
55746
|
setshowpopup(false);
|
|
55749
55747
|
};
|
|
55750
55748
|
React.useEffect(function () {
|
|
55751
|
-
// getting value of "seenPopUp" key from localStorage
|
|
55752
55749
|
var returningUser = localStorage.getItem('seenPopUp');
|
|
55753
|
-
// if it's not there, for a new user, it will be null
|
|
55754
|
-
// if it's there it will be boolean true
|
|
55755
|
-
// setting the opposite to state, false for returning user, true for a new user
|
|
55756
55750
|
setshowpopup(!returningUser);
|
|
55757
55751
|
}, []);
|
|
55758
55752
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
55759
55753
|
className: "row ml-0 mr-0 w-100"
|
|
55760
|
-
}, showpopup == true && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
|
|
55754
|
+
}, showpopup == true && Object.keys(imagesarray).length != 0 && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
|
|
55761
55755
|
show: true,
|
|
55762
55756
|
onHide: function onHide() {
|
|
55763
55757
|
closePopUp();
|
|
@@ -55785,7 +55779,7 @@
|
|
|
55785
55779
|
size: 20,
|
|
55786
55780
|
"class": "",
|
|
55787
55781
|
color: '#fff'
|
|
55788
|
-
}))),
|
|
55782
|
+
}))), /*#__PURE__*/React__default["default"].createElement("a", {
|
|
55789
55783
|
href: '/signup',
|
|
55790
55784
|
target: "_self"
|
|
55791
55785
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|