tabexseriescomponents 0.2.858 → 0.2.860
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 +60 -27
- package/dist/index.esm.js +60 -27
- package/dist/index.umd.js +60 -27
- package/package.json +1 -1
- package/yarn-error.log +3 -2
package/dist/index.cjs.js
CHANGED
|
@@ -5543,12 +5543,13 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
5543
5543
|
setminutes_Active_days_array([]);
|
|
5544
5544
|
}
|
|
5545
5545
|
}
|
|
5546
|
-
}, [addtocardpayloadobj.from, addtocardpayloadobj.to]);
|
|
5546
|
+
}, [addtocardpayloadobj.from, addtocardpayloadobj.to, fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data]);
|
|
5547
|
+
// }, [addtocardpayloadobj.from, addtocardpayloadobj.to]);
|
|
5547
5548
|
var isAllowedDay = function isAllowedDay(date) {
|
|
5548
5549
|
if (minutes_Active_days_array != undefined && minutes_Active_days_array != null && minutes_Active_days_array.length != 0) {
|
|
5549
5550
|
var dayNameToNumber = {
|
|
5550
5551
|
Sun: 0,
|
|
5551
|
-
|
|
5552
|
+
Mon: 1,
|
|
5552
5553
|
Tues: 2,
|
|
5553
5554
|
Wednes: 3,
|
|
5554
5555
|
Thurs: 4,
|
|
@@ -12416,7 +12417,7 @@ var Checkout = function Checkout(props) {
|
|
|
12416
12417
|
var _ref = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee() {
|
|
12417
12418
|
var _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25, _fetchcustomercartQue26, _fetchcustomercartQue27, _fetchcustomercartQue28, _fetchcustomercartQue29, _fetchcustomercartQue30;
|
|
12418
12419
|
var OrderExtraFieldsToBeSentArr, utmSource, utmSourceLocalStorage;
|
|
12419
|
-
return _regeneratorRuntime__default["default"].wrap(function
|
|
12420
|
+
return _regeneratorRuntime__default["default"].wrap(function (_context) {
|
|
12420
12421
|
while (1) switch (_context.prev = _context.next) {
|
|
12421
12422
|
case 0:
|
|
12422
12423
|
// var temppayload = fetchcustomercartQueryContext?.data?.data?.customercart;
|
|
@@ -12466,7 +12467,7 @@ var Checkout = function Checkout(props) {
|
|
|
12466
12467
|
}
|
|
12467
12468
|
}
|
|
12468
12469
|
});
|
|
12469
|
-
case
|
|
12470
|
+
case 1:
|
|
12470
12471
|
case "end":
|
|
12471
12472
|
return _context.stop();
|
|
12472
12473
|
}
|
|
@@ -16750,29 +16751,44 @@ var CartSlider = function CartSlider(props) {
|
|
|
16750
16751
|
var quantitystepincrearse = 1;
|
|
16751
16752
|
var quantity = parseFloat(item.quantity);
|
|
16752
16753
|
if ((item === null || item === void 0 || (_item$productinfo2 = item.productinfo) === null || _item$productinfo2 === void 0 ? void 0 : _item$productinfo2.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo3 = item.productinfo) === null || _item$productinfo3 === void 0 ? void 0 : _item$productinfo3.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo4 = item.productinfo) === null || _item$productinfo4 === void 0 ? void 0 : _item$productinfo4.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo5 = item.productinfo) === null || _item$productinfo5 === void 0 ? void 0 : _item$productinfo5.quantitystepincrearse) != '') {
|
|
16753
|
-
|
|
16754
|
-
|
|
16754
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16755
|
+
var _item$productinfo6;
|
|
16756
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo6 = item.productinfo) === null || _item$productinfo6 === void 0 ? void 0 : _item$productinfo6.quantitystepincrearse);
|
|
16757
|
+
} else {
|
|
16758
|
+
var _item$productinfo7;
|
|
16759
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo7 = item.productinfo) === null || _item$productinfo7 === void 0 ? void 0 : _item$productinfo7.quantitystepincrearse);
|
|
16760
|
+
}
|
|
16755
16761
|
}
|
|
16756
16762
|
quantity = quantity - quantitystepincrearse;
|
|
16757
|
-
|
|
16758
|
-
|
|
16759
|
-
|
|
16763
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16764
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16765
|
+
} else {
|
|
16766
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16767
|
+
}
|
|
16760
16768
|
}
|
|
16761
16769
|
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
16762
16770
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
16763
16771
|
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16764
16772
|
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
16765
16773
|
onClick: function onClick() {
|
|
16766
|
-
var _item$
|
|
16774
|
+
var _item$productinfo8, _item$productinfo9, _item$productinfo0, _item$productinfo1;
|
|
16767
16775
|
var quantitystepincrearse = 1;
|
|
16768
16776
|
var quantity = parseFloat(item.quantity);
|
|
16769
|
-
if ((item === null || item === void 0 || (_item$
|
|
16770
|
-
|
|
16771
|
-
|
|
16777
|
+
if ((item === null || item === void 0 || (_item$productinfo8 = item.productinfo) === null || _item$productinfo8 === void 0 ? void 0 : _item$productinfo8.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo9 = item.productinfo) === null || _item$productinfo9 === void 0 ? void 0 : _item$productinfo9.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo0 = item.productinfo) === null || _item$productinfo0 === void 0 ? void 0 : _item$productinfo0.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo1 = item.productinfo) === null || _item$productinfo1 === void 0 ? void 0 : _item$productinfo1.quantitystepincrearse) != '') {
|
|
16778
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16779
|
+
var _item$productinfo10;
|
|
16780
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo10 = item.productinfo) === null || _item$productinfo10 === void 0 ? void 0 : _item$productinfo10.quantitystepincrearse);
|
|
16781
|
+
} else {
|
|
16782
|
+
var _item$productinfo11;
|
|
16783
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo11 = item.productinfo) === null || _item$productinfo11 === void 0 ? void 0 : _item$productinfo11.quantitystepincrearse);
|
|
16784
|
+
}
|
|
16772
16785
|
}
|
|
16773
16786
|
quantity = quantity + quantitystepincrearse;
|
|
16774
|
-
|
|
16775
|
-
|
|
16787
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16788
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16789
|
+
} else {
|
|
16790
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16791
|
+
}
|
|
16776
16792
|
}
|
|
16777
16793
|
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
16778
16794
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
@@ -16784,31 +16800,48 @@ var CartSlider = function CartSlider(props) {
|
|
|
16784
16800
|
}, item.quantity), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16785
16801
|
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
16786
16802
|
onClick: function onClick() {
|
|
16787
|
-
var _item$
|
|
16803
|
+
var _item$productinfo12, _item$productinfo13, _item$productinfo14, _item$productinfo15;
|
|
16788
16804
|
var quantitystepincrearse = 1;
|
|
16789
16805
|
var quantity = parseFloat(item.quantity);
|
|
16790
|
-
if ((item === null || item === void 0 || (_item$
|
|
16791
|
-
|
|
16792
|
-
|
|
16806
|
+
if ((item === null || item === void 0 || (_item$productinfo12 = item.productinfo) === null || _item$productinfo12 === void 0 ? void 0 : _item$productinfo12.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo13 = item.productinfo) === null || _item$productinfo13 === void 0 ? void 0 : _item$productinfo13.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo14 = item.productinfo) === null || _item$productinfo14 === void 0 ? void 0 : _item$productinfo14.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo15 = item.productinfo) === null || _item$productinfo15 === void 0 ? void 0 : _item$productinfo15.quantitystepincrearse) != '') {
|
|
16807
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16808
|
+
var _item$productinfo16;
|
|
16809
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo16 = item.productinfo) === null || _item$productinfo16 === void 0 ? void 0 : _item$productinfo16.quantitystepincrearse);
|
|
16810
|
+
} else {
|
|
16811
|
+
var _item$productinfo17;
|
|
16812
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo17 = item.productinfo) === null || _item$productinfo17 === void 0 ? void 0 : _item$productinfo17.quantitystepincrearse);
|
|
16813
|
+
}
|
|
16793
16814
|
}
|
|
16794
16815
|
quantity = quantity + quantitystepincrearse;
|
|
16795
|
-
|
|
16796
|
-
|
|
16816
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16817
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16818
|
+
} else {
|
|
16819
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16820
|
+
}
|
|
16797
16821
|
}
|
|
16798
16822
|
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
16799
16823
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
16800
16824
|
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16801
16825
|
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
16802
16826
|
onClick: function onClick() {
|
|
16803
|
-
var _item$
|
|
16827
|
+
var _item$productinfo18, _item$productinfo19, _item$productinfo20, _item$productinfo21;
|
|
16804
16828
|
var quantitystepincrearse = 1;
|
|
16805
16829
|
var quantity = parseFloat(item.quantity);
|
|
16806
|
-
if ((item === null || item === void 0 || (_item$
|
|
16807
|
-
|
|
16808
|
-
|
|
16830
|
+
if ((item === null || item === void 0 || (_item$productinfo18 = item.productinfo) === null || _item$productinfo18 === void 0 ? void 0 : _item$productinfo18.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo19 = item.productinfo) === null || _item$productinfo19 === void 0 ? void 0 : _item$productinfo19.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo20 = item.productinfo) === null || _item$productinfo20 === void 0 ? void 0 : _item$productinfo20.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo21 = item.productinfo) === null || _item$productinfo21 === void 0 ? void 0 : _item$productinfo21.quantitystepincrearse) != '') {
|
|
16831
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16832
|
+
var _item$productinfo22;
|
|
16833
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo22 = item.productinfo) === null || _item$productinfo22 === void 0 ? void 0 : _item$productinfo22.quantitystepincrearse);
|
|
16834
|
+
} else {
|
|
16835
|
+
var _item$productinfo23;
|
|
16836
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo23 = item.productinfo) === null || _item$productinfo23 === void 0 ? void 0 : _item$productinfo23.quantitystepincrearse);
|
|
16837
|
+
}
|
|
16838
|
+
}
|
|
16839
|
+
quantity = quantity - quantitystepincrearse;
|
|
16840
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16841
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16842
|
+
} else {
|
|
16843
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16809
16844
|
}
|
|
16810
|
-
quantity = quantity - quantitystepincrearse; // ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
16811
|
-
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16812
16845
|
}
|
|
16813
16846
|
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
16814
16847
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
package/dist/index.esm.js
CHANGED
|
@@ -5493,12 +5493,13 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
5493
5493
|
setminutes_Active_days_array([]);
|
|
5494
5494
|
}
|
|
5495
5495
|
}
|
|
5496
|
-
}, [addtocardpayloadobj.from, addtocardpayloadobj.to]);
|
|
5496
|
+
}, [addtocardpayloadobj.from, addtocardpayloadobj.to, fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data]);
|
|
5497
|
+
// }, [addtocardpayloadobj.from, addtocardpayloadobj.to]);
|
|
5497
5498
|
var isAllowedDay = function isAllowedDay(date) {
|
|
5498
5499
|
if (minutes_Active_days_array != undefined && minutes_Active_days_array != null && minutes_Active_days_array.length != 0) {
|
|
5499
5500
|
var dayNameToNumber = {
|
|
5500
5501
|
Sun: 0,
|
|
5501
|
-
|
|
5502
|
+
Mon: 1,
|
|
5502
5503
|
Tues: 2,
|
|
5503
5504
|
Wednes: 3,
|
|
5504
5505
|
Thurs: 4,
|
|
@@ -12366,7 +12367,7 @@ var Checkout = function Checkout(props) {
|
|
|
12366
12367
|
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
12367
12368
|
var _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25, _fetchcustomercartQue26, _fetchcustomercartQue27, _fetchcustomercartQue28, _fetchcustomercartQue29, _fetchcustomercartQue30;
|
|
12368
12369
|
var OrderExtraFieldsToBeSentArr, utmSource, utmSourceLocalStorage;
|
|
12369
|
-
return _regeneratorRuntime.wrap(function
|
|
12370
|
+
return _regeneratorRuntime.wrap(function (_context) {
|
|
12370
12371
|
while (1) switch (_context.prev = _context.next) {
|
|
12371
12372
|
case 0:
|
|
12372
12373
|
// var temppayload = fetchcustomercartQueryContext?.data?.data?.customercart;
|
|
@@ -12416,7 +12417,7 @@ var Checkout = function Checkout(props) {
|
|
|
12416
12417
|
}
|
|
12417
12418
|
}
|
|
12418
12419
|
});
|
|
12419
|
-
case
|
|
12420
|
+
case 1:
|
|
12420
12421
|
case "end":
|
|
12421
12422
|
return _context.stop();
|
|
12422
12423
|
}
|
|
@@ -16700,29 +16701,44 @@ var CartSlider = function CartSlider(props) {
|
|
|
16700
16701
|
var quantitystepincrearse = 1;
|
|
16701
16702
|
var quantity = parseFloat(item.quantity);
|
|
16702
16703
|
if ((item === null || item === void 0 || (_item$productinfo2 = item.productinfo) === null || _item$productinfo2 === void 0 ? void 0 : _item$productinfo2.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo3 = item.productinfo) === null || _item$productinfo3 === void 0 ? void 0 : _item$productinfo3.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo4 = item.productinfo) === null || _item$productinfo4 === void 0 ? void 0 : _item$productinfo4.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo5 = item.productinfo) === null || _item$productinfo5 === void 0 ? void 0 : _item$productinfo5.quantitystepincrearse) != '') {
|
|
16703
|
-
|
|
16704
|
-
|
|
16704
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16705
|
+
var _item$productinfo6;
|
|
16706
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo6 = item.productinfo) === null || _item$productinfo6 === void 0 ? void 0 : _item$productinfo6.quantitystepincrearse);
|
|
16707
|
+
} else {
|
|
16708
|
+
var _item$productinfo7;
|
|
16709
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo7 = item.productinfo) === null || _item$productinfo7 === void 0 ? void 0 : _item$productinfo7.quantitystepincrearse);
|
|
16710
|
+
}
|
|
16705
16711
|
}
|
|
16706
16712
|
quantity = quantity - quantitystepincrearse;
|
|
16707
|
-
|
|
16708
|
-
|
|
16709
|
-
|
|
16713
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16714
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16715
|
+
} else {
|
|
16716
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16717
|
+
}
|
|
16710
16718
|
}
|
|
16711
16719
|
}, /*#__PURE__*/React.createElement(FiMinus, {
|
|
16712
16720
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
16713
16721
|
})), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
|
|
16714
16722
|
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
16715
16723
|
onClick: function onClick() {
|
|
16716
|
-
var _item$
|
|
16724
|
+
var _item$productinfo8, _item$productinfo9, _item$productinfo0, _item$productinfo1;
|
|
16717
16725
|
var quantitystepincrearse = 1;
|
|
16718
16726
|
var quantity = parseFloat(item.quantity);
|
|
16719
|
-
if ((item === null || item === void 0 || (_item$
|
|
16720
|
-
|
|
16721
|
-
|
|
16727
|
+
if ((item === null || item === void 0 || (_item$productinfo8 = item.productinfo) === null || _item$productinfo8 === void 0 ? void 0 : _item$productinfo8.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo9 = item.productinfo) === null || _item$productinfo9 === void 0 ? void 0 : _item$productinfo9.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo0 = item.productinfo) === null || _item$productinfo0 === void 0 ? void 0 : _item$productinfo0.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo1 = item.productinfo) === null || _item$productinfo1 === void 0 ? void 0 : _item$productinfo1.quantitystepincrearse) != '') {
|
|
16728
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16729
|
+
var _item$productinfo10;
|
|
16730
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo10 = item.productinfo) === null || _item$productinfo10 === void 0 ? void 0 : _item$productinfo10.quantitystepincrearse);
|
|
16731
|
+
} else {
|
|
16732
|
+
var _item$productinfo11;
|
|
16733
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo11 = item.productinfo) === null || _item$productinfo11 === void 0 ? void 0 : _item$productinfo11.quantitystepincrearse);
|
|
16734
|
+
}
|
|
16722
16735
|
}
|
|
16723
16736
|
quantity = quantity + quantitystepincrearse;
|
|
16724
|
-
|
|
16725
|
-
|
|
16737
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16738
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16739
|
+
} else {
|
|
16740
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16741
|
+
}
|
|
16726
16742
|
}
|
|
16727
16743
|
}, /*#__PURE__*/React.createElement(FiPlus, {
|
|
16728
16744
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
@@ -16734,31 +16750,48 @@ var CartSlider = function CartSlider(props) {
|
|
|
16734
16750
|
}, item.quantity), langdetect == 'en' && /*#__PURE__*/React.createElement("span", {
|
|
16735
16751
|
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
16736
16752
|
onClick: function onClick() {
|
|
16737
|
-
var _item$
|
|
16753
|
+
var _item$productinfo12, _item$productinfo13, _item$productinfo14, _item$productinfo15;
|
|
16738
16754
|
var quantitystepincrearse = 1;
|
|
16739
16755
|
var quantity = parseFloat(item.quantity);
|
|
16740
|
-
if ((item === null || item === void 0 || (_item$
|
|
16741
|
-
|
|
16742
|
-
|
|
16756
|
+
if ((item === null || item === void 0 || (_item$productinfo12 = item.productinfo) === null || _item$productinfo12 === void 0 ? void 0 : _item$productinfo12.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo13 = item.productinfo) === null || _item$productinfo13 === void 0 ? void 0 : _item$productinfo13.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo14 = item.productinfo) === null || _item$productinfo14 === void 0 ? void 0 : _item$productinfo14.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo15 = item.productinfo) === null || _item$productinfo15 === void 0 ? void 0 : _item$productinfo15.quantitystepincrearse) != '') {
|
|
16757
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16758
|
+
var _item$productinfo16;
|
|
16759
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo16 = item.productinfo) === null || _item$productinfo16 === void 0 ? void 0 : _item$productinfo16.quantitystepincrearse);
|
|
16760
|
+
} else {
|
|
16761
|
+
var _item$productinfo17;
|
|
16762
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo17 = item.productinfo) === null || _item$productinfo17 === void 0 ? void 0 : _item$productinfo17.quantitystepincrearse);
|
|
16763
|
+
}
|
|
16743
16764
|
}
|
|
16744
16765
|
quantity = quantity + quantitystepincrearse;
|
|
16745
|
-
|
|
16746
|
-
|
|
16766
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16767
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16768
|
+
} else {
|
|
16769
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16770
|
+
}
|
|
16747
16771
|
}
|
|
16748
16772
|
}, /*#__PURE__*/React.createElement(FiPlus, {
|
|
16749
16773
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
16750
16774
|
})), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
|
|
16751
16775
|
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
16752
16776
|
onClick: function onClick() {
|
|
16753
|
-
var _item$
|
|
16777
|
+
var _item$productinfo18, _item$productinfo19, _item$productinfo20, _item$productinfo21;
|
|
16754
16778
|
var quantitystepincrearse = 1;
|
|
16755
16779
|
var quantity = parseFloat(item.quantity);
|
|
16756
|
-
if ((item === null || item === void 0 || (_item$
|
|
16757
|
-
|
|
16758
|
-
|
|
16780
|
+
if ((item === null || item === void 0 || (_item$productinfo18 = item.productinfo) === null || _item$productinfo18 === void 0 ? void 0 : _item$productinfo18.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo19 = item.productinfo) === null || _item$productinfo19 === void 0 ? void 0 : _item$productinfo19.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo20 = item.productinfo) === null || _item$productinfo20 === void 0 ? void 0 : _item$productinfo20.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo21 = item.productinfo) === null || _item$productinfo21 === void 0 ? void 0 : _item$productinfo21.quantitystepincrearse) != '') {
|
|
16781
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16782
|
+
var _item$productinfo22;
|
|
16783
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo22 = item.productinfo) === null || _item$productinfo22 === void 0 ? void 0 : _item$productinfo22.quantitystepincrearse);
|
|
16784
|
+
} else {
|
|
16785
|
+
var _item$productinfo23;
|
|
16786
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo23 = item.productinfo) === null || _item$productinfo23 === void 0 ? void 0 : _item$productinfo23.quantitystepincrearse);
|
|
16787
|
+
}
|
|
16788
|
+
}
|
|
16789
|
+
quantity = quantity - quantitystepincrearse;
|
|
16790
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16791
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16792
|
+
} else {
|
|
16793
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16759
16794
|
}
|
|
16760
|
-
quantity = quantity - quantitystepincrearse; // ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
16761
|
-
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16762
16795
|
}
|
|
16763
16796
|
}, /*#__PURE__*/React.createElement(FiMinus, {
|
|
16764
16797
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
package/dist/index.umd.js
CHANGED
|
@@ -5353,12 +5353,13 @@
|
|
|
5353
5353
|
setminutes_Active_days_array([]);
|
|
5354
5354
|
}
|
|
5355
5355
|
}
|
|
5356
|
-
}, [addtocardpayloadobj.from, addtocardpayloadobj.to]);
|
|
5356
|
+
}, [addtocardpayloadobj.from, addtocardpayloadobj.to, fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data]);
|
|
5357
|
+
// }, [addtocardpayloadobj.from, addtocardpayloadobj.to]);
|
|
5357
5358
|
var isAllowedDay = function isAllowedDay(date) {
|
|
5358
5359
|
if (minutes_Active_days_array != undefined && minutes_Active_days_array != null && minutes_Active_days_array.length != 0) {
|
|
5359
5360
|
var dayNameToNumber = {
|
|
5360
5361
|
Sun: 0,
|
|
5361
|
-
|
|
5362
|
+
Mon: 1,
|
|
5362
5363
|
Tues: 2,
|
|
5363
5364
|
Wednes: 3,
|
|
5364
5365
|
Thurs: 4,
|
|
@@ -12226,7 +12227,7 @@
|
|
|
12226
12227
|
var _ref = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee() {
|
|
12227
12228
|
var _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25, _fetchcustomercartQue26, _fetchcustomercartQue27, _fetchcustomercartQue28, _fetchcustomercartQue29, _fetchcustomercartQue30;
|
|
12228
12229
|
var OrderExtraFieldsToBeSentArr, utmSource, utmSourceLocalStorage;
|
|
12229
|
-
return _regeneratorRuntime__default["default"].wrap(function
|
|
12230
|
+
return _regeneratorRuntime__default["default"].wrap(function (_context) {
|
|
12230
12231
|
while (1) switch (_context.prev = _context.next) {
|
|
12231
12232
|
case 0:
|
|
12232
12233
|
// var temppayload = fetchcustomercartQueryContext?.data?.data?.customercart;
|
|
@@ -12276,7 +12277,7 @@
|
|
|
12276
12277
|
}
|
|
12277
12278
|
}
|
|
12278
12279
|
});
|
|
12279
|
-
case
|
|
12280
|
+
case 1:
|
|
12280
12281
|
case "end":
|
|
12281
12282
|
return _context.stop();
|
|
12282
12283
|
}
|
|
@@ -16560,29 +16561,44 @@
|
|
|
16560
16561
|
var quantitystepincrearse = 1;
|
|
16561
16562
|
var quantity = parseFloat(item.quantity);
|
|
16562
16563
|
if ((item === null || item === void 0 || (_item$productinfo2 = item.productinfo) === null || _item$productinfo2 === void 0 ? void 0 : _item$productinfo2.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo3 = item.productinfo) === null || _item$productinfo3 === void 0 ? void 0 : _item$productinfo3.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo4 = item.productinfo) === null || _item$productinfo4 === void 0 ? void 0 : _item$productinfo4.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo5 = item.productinfo) === null || _item$productinfo5 === void 0 ? void 0 : _item$productinfo5.quantitystepincrearse) != '') {
|
|
16563
|
-
|
|
16564
|
-
|
|
16564
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16565
|
+
var _item$productinfo6;
|
|
16566
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo6 = item.productinfo) === null || _item$productinfo6 === void 0 ? void 0 : _item$productinfo6.quantitystepincrearse);
|
|
16567
|
+
} else {
|
|
16568
|
+
var _item$productinfo7;
|
|
16569
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo7 = item.productinfo) === null || _item$productinfo7 === void 0 ? void 0 : _item$productinfo7.quantitystepincrearse);
|
|
16570
|
+
}
|
|
16565
16571
|
}
|
|
16566
16572
|
quantity = quantity - quantitystepincrearse;
|
|
16567
|
-
|
|
16568
|
-
|
|
16569
|
-
|
|
16573
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16574
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16575
|
+
} else {
|
|
16576
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16577
|
+
}
|
|
16570
16578
|
}
|
|
16571
16579
|
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
16572
16580
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
16573
16581
|
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16574
16582
|
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
16575
16583
|
onClick: function onClick() {
|
|
16576
|
-
var _item$
|
|
16584
|
+
var _item$productinfo8, _item$productinfo9, _item$productinfo0, _item$productinfo1;
|
|
16577
16585
|
var quantitystepincrearse = 1;
|
|
16578
16586
|
var quantity = parseFloat(item.quantity);
|
|
16579
|
-
if ((item === null || item === void 0 || (_item$
|
|
16580
|
-
|
|
16581
|
-
|
|
16587
|
+
if ((item === null || item === void 0 || (_item$productinfo8 = item.productinfo) === null || _item$productinfo8 === void 0 ? void 0 : _item$productinfo8.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo9 = item.productinfo) === null || _item$productinfo9 === void 0 ? void 0 : _item$productinfo9.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo0 = item.productinfo) === null || _item$productinfo0 === void 0 ? void 0 : _item$productinfo0.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo1 = item.productinfo) === null || _item$productinfo1 === void 0 ? void 0 : _item$productinfo1.quantitystepincrearse) != '') {
|
|
16588
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16589
|
+
var _item$productinfo10;
|
|
16590
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo10 = item.productinfo) === null || _item$productinfo10 === void 0 ? void 0 : _item$productinfo10.quantitystepincrearse);
|
|
16591
|
+
} else {
|
|
16592
|
+
var _item$productinfo11;
|
|
16593
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo11 = item.productinfo) === null || _item$productinfo11 === void 0 ? void 0 : _item$productinfo11.quantitystepincrearse);
|
|
16594
|
+
}
|
|
16582
16595
|
}
|
|
16583
16596
|
quantity = quantity + quantitystepincrearse;
|
|
16584
|
-
|
|
16585
|
-
|
|
16597
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16598
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16599
|
+
} else {
|
|
16600
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16601
|
+
}
|
|
16586
16602
|
}
|
|
16587
16603
|
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
16588
16604
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
@@ -16594,31 +16610,48 @@
|
|
|
16594
16610
|
}, item.quantity), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16595
16611
|
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
16596
16612
|
onClick: function onClick() {
|
|
16597
|
-
var _item$
|
|
16613
|
+
var _item$productinfo12, _item$productinfo13, _item$productinfo14, _item$productinfo15;
|
|
16598
16614
|
var quantitystepincrearse = 1;
|
|
16599
16615
|
var quantity = parseFloat(item.quantity);
|
|
16600
|
-
if ((item === null || item === void 0 || (_item$
|
|
16601
|
-
|
|
16602
|
-
|
|
16616
|
+
if ((item === null || item === void 0 || (_item$productinfo12 = item.productinfo) === null || _item$productinfo12 === void 0 ? void 0 : _item$productinfo12.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo13 = item.productinfo) === null || _item$productinfo13 === void 0 ? void 0 : _item$productinfo13.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo14 = item.productinfo) === null || _item$productinfo14 === void 0 ? void 0 : _item$productinfo14.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo15 = item.productinfo) === null || _item$productinfo15 === void 0 ? void 0 : _item$productinfo15.quantitystepincrearse) != '') {
|
|
16617
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16618
|
+
var _item$productinfo16;
|
|
16619
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo16 = item.productinfo) === null || _item$productinfo16 === void 0 ? void 0 : _item$productinfo16.quantitystepincrearse);
|
|
16620
|
+
} else {
|
|
16621
|
+
var _item$productinfo17;
|
|
16622
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo17 = item.productinfo) === null || _item$productinfo17 === void 0 ? void 0 : _item$productinfo17.quantitystepincrearse);
|
|
16623
|
+
}
|
|
16603
16624
|
}
|
|
16604
16625
|
quantity = quantity + quantitystepincrearse;
|
|
16605
|
-
|
|
16606
|
-
|
|
16626
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16627
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16628
|
+
} else {
|
|
16629
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16630
|
+
}
|
|
16607
16631
|
}
|
|
16608
16632
|
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
16609
16633
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
16610
16634
|
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16611
16635
|
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
16612
16636
|
onClick: function onClick() {
|
|
16613
|
-
var _item$
|
|
16637
|
+
var _item$productinfo18, _item$productinfo19, _item$productinfo20, _item$productinfo21;
|
|
16614
16638
|
var quantitystepincrearse = 1;
|
|
16615
16639
|
var quantity = parseFloat(item.quantity);
|
|
16616
|
-
if ((item === null || item === void 0 || (_item$
|
|
16617
|
-
|
|
16618
|
-
|
|
16640
|
+
if ((item === null || item === void 0 || (_item$productinfo18 = item.productinfo) === null || _item$productinfo18 === void 0 ? void 0 : _item$productinfo18.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo19 = item.productinfo) === null || _item$productinfo19 === void 0 ? void 0 : _item$productinfo19.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo20 = item.productinfo) === null || _item$productinfo20 === void 0 ? void 0 : _item$productinfo20.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo21 = item.productinfo) === null || _item$productinfo21 === void 0 ? void 0 : _item$productinfo21.quantitystepincrearse) != '') {
|
|
16641
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16642
|
+
var _item$productinfo22;
|
|
16643
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo22 = item.productinfo) === null || _item$productinfo22 === void 0 ? void 0 : _item$productinfo22.quantitystepincrearse);
|
|
16644
|
+
} else {
|
|
16645
|
+
var _item$productinfo23;
|
|
16646
|
+
quantitystepincrearse = parseFloat(item === null || item === void 0 || (_item$productinfo23 = item.productinfo) === null || _item$productinfo23 === void 0 ? void 0 : _item$productinfo23.quantitystepincrearse);
|
|
16647
|
+
}
|
|
16648
|
+
}
|
|
16649
|
+
quantity = quantity - quantitystepincrearse;
|
|
16650
|
+
if (sectionproperties.quantityacceptfloat != 'Accepts decimals') {
|
|
16651
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16652
|
+
} else {
|
|
16653
|
+
ChangeCartItemQuantityContext(item, parseFloat(quantity).toFixed(3));
|
|
16619
16654
|
}
|
|
16620
|
-
quantity = quantity - quantitystepincrearse; // ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
16621
|
-
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
16622
16655
|
}
|
|
16623
16656
|
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
16624
16657
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
package/package.json
CHANGED
package/yarn-error.log
CHANGED
|
@@ -14,12 +14,12 @@ Platform:
|
|
|
14
14
|
win32 x64
|
|
15
15
|
|
|
16
16
|
Trace:
|
|
17
|
-
Error: ENOSPC: no space left on device, copyfile 'C:\Users\Lenovo\AppData\Local\Yarn\Cache\v6\npm-@
|
|
17
|
+
Error: ENOSPC: no space left on device, copyfile 'C:\Users\Lenovo\AppData\Local\Yarn\Cache\v6\npm-@mui-material-5.17.1-596f542a51fc74db75da2df66565b4874ce4049d-integrity\node_modules\@mui\material\node\TableRow\tableRowClasses.js' -> 'C:\tabexseries\tabex series projects\tabexseriescomponents-main\node_modules\@mui\material\node\TableRow\tableRowClasses.js'
|
|
18
18
|
|
|
19
19
|
npm manifest:
|
|
20
20
|
{
|
|
21
21
|
"name": "tabexseriescomponents",
|
|
22
|
-
"version": "0.2.
|
|
22
|
+
"version": "0.2.859",
|
|
23
23
|
"type": "module",
|
|
24
24
|
"description": "your description",
|
|
25
25
|
"main": "dist/index.cjs.js",
|
|
@@ -52,6 +52,7 @@ npm manifest:
|
|
|
52
52
|
"postcss": "^8.4.16",
|
|
53
53
|
"react": "^19.0.0",
|
|
54
54
|
"react-accessible-accordion": "^5.0.0",
|
|
55
|
+
"react-animated-numbers": "^1.0.1",
|
|
55
56
|
"react-background-slideshow": "^1.0.4",
|
|
56
57
|
"react-bootstrap": "^2.5.0",
|
|
57
58
|
"react-countdown-circle-timer": "^3.2.1",
|