tabexseriescomponents 0.0.708 → 0.0.709
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 +40 -4
- package/dist/index.esm.js +40 -4
- package/dist/index.umd.js +40 -4
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -14718,14 +14718,33 @@ var CartSlider = function CartSlider(props) {
|
|
|
14718
14718
|
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
14719
14719
|
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
14720
14720
|
onClick: function onClick() {
|
|
14721
|
-
|
|
14721
|
+
var _item$productinfo2, _item$productinfo3, _item$productinfo4, _item$productinfo5;
|
|
14722
|
+
var quantitystepincrearse = 1;
|
|
14723
|
+
var quantity = item.quantity;
|
|
14724
|
+
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) != '') {
|
|
14725
|
+
var _item$productinfo6;
|
|
14726
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo6 = item.productinfo) === null || _item$productinfo6 === void 0 ? void 0 : _item$productinfo6.quantitystepincrearse);
|
|
14727
|
+
}
|
|
14728
|
+
quantity = quantity - quantitystepincrearse;
|
|
14729
|
+
// ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
14730
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
14731
|
+
// ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
14722
14732
|
}
|
|
14723
14733
|
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
14724
14734
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
14725
14735
|
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
14726
14736
|
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
14727
14737
|
onClick: function onClick() {
|
|
14728
|
-
|
|
14738
|
+
var _item$productinfo7, _item$productinfo8, _item$productinfo9, _item$productinfo10;
|
|
14739
|
+
var quantitystepincrearse = 1;
|
|
14740
|
+
var quantity = item.quantity;
|
|
14741
|
+
if ((item === null || item === void 0 || (_item$productinfo7 = item.productinfo) === null || _item$productinfo7 === void 0 ? void 0 : _item$productinfo7.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo8 = item.productinfo) === null || _item$productinfo8 === void 0 ? void 0 : _item$productinfo8.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo9 = item.productinfo) === null || _item$productinfo9 === void 0 ? void 0 : _item$productinfo9.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo10 = item.productinfo) === null || _item$productinfo10 === void 0 ? void 0 : _item$productinfo10.quantitystepincrearse) != '') {
|
|
14742
|
+
var _item$productinfo11;
|
|
14743
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo11 = item.productinfo) === null || _item$productinfo11 === void 0 ? void 0 : _item$productinfo11.quantitystepincrearse);
|
|
14744
|
+
}
|
|
14745
|
+
quantity = quantity + quantitystepincrearse;
|
|
14746
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
14747
|
+
// ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
|
|
14729
14748
|
}
|
|
14730
14749
|
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
14731
14750
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
@@ -14737,14 +14756,31 @@ var CartSlider = function CartSlider(props) {
|
|
|
14737
14756
|
}, item.quantity), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
14738
14757
|
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
14739
14758
|
onClick: function onClick() {
|
|
14740
|
-
|
|
14759
|
+
var _item$productinfo12, _item$productinfo13, _item$productinfo14, _item$productinfo15;
|
|
14760
|
+
var quantitystepincrearse = 1;
|
|
14761
|
+
var quantity = item.quantity;
|
|
14762
|
+
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) != '') {
|
|
14763
|
+
var _item$productinfo16;
|
|
14764
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo16 = item.productinfo) === null || _item$productinfo16 === void 0 ? void 0 : _item$productinfo16.quantitystepincrearse);
|
|
14765
|
+
}
|
|
14766
|
+
quantity = quantity + quantitystepincrearse;
|
|
14767
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
14768
|
+
// ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
|
|
14741
14769
|
}
|
|
14742
14770
|
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
14743
14771
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
14744
14772
|
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
14745
14773
|
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
14746
14774
|
onClick: function onClick() {
|
|
14747
|
-
|
|
14775
|
+
var _item$productinfo17, _item$productinfo18, _item$productinfo19, _item$productinfo20;
|
|
14776
|
+
var quantitystepincrearse = 1;
|
|
14777
|
+
var quantity = item.quantity;
|
|
14778
|
+
if ((item === null || item === void 0 || (_item$productinfo17 = item.productinfo) === null || _item$productinfo17 === void 0 ? void 0 : _item$productinfo17.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo18 = item.productinfo) === null || _item$productinfo18 === void 0 ? void 0 : _item$productinfo18.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo19 = item.productinfo) === null || _item$productinfo19 === void 0 ? void 0 : _item$productinfo19.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo20 = item.productinfo) === null || _item$productinfo20 === void 0 ? void 0 : _item$productinfo20.quantitystepincrearse) != '') {
|
|
14779
|
+
var _item$productinfo21;
|
|
14780
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo21 = item.productinfo) === null || _item$productinfo21 === void 0 ? void 0 : _item$productinfo21.quantitystepincrearse);
|
|
14781
|
+
}
|
|
14782
|
+
quantity = quantity - quantitystepincrearse; // ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
14783
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
14748
14784
|
}
|
|
14749
14785
|
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
14750
14786
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
package/dist/index.esm.js
CHANGED
|
@@ -14670,14 +14670,33 @@ var CartSlider = function CartSlider(props) {
|
|
|
14670
14670
|
}, langdetect == 'en' && /*#__PURE__*/React.createElement("span", {
|
|
14671
14671
|
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
14672
14672
|
onClick: function onClick() {
|
|
14673
|
-
|
|
14673
|
+
var _item$productinfo2, _item$productinfo3, _item$productinfo4, _item$productinfo5;
|
|
14674
|
+
var quantitystepincrearse = 1;
|
|
14675
|
+
var quantity = item.quantity;
|
|
14676
|
+
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) != '') {
|
|
14677
|
+
var _item$productinfo6;
|
|
14678
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo6 = item.productinfo) === null || _item$productinfo6 === void 0 ? void 0 : _item$productinfo6.quantitystepincrearse);
|
|
14679
|
+
}
|
|
14680
|
+
quantity = quantity - quantitystepincrearse;
|
|
14681
|
+
// ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
14682
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
14683
|
+
// ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
14674
14684
|
}
|
|
14675
14685
|
}, /*#__PURE__*/React.createElement(FiMinus, {
|
|
14676
14686
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
14677
14687
|
})), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
|
|
14678
14688
|
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
14679
14689
|
onClick: function onClick() {
|
|
14680
|
-
|
|
14690
|
+
var _item$productinfo7, _item$productinfo8, _item$productinfo9, _item$productinfo10;
|
|
14691
|
+
var quantitystepincrearse = 1;
|
|
14692
|
+
var quantity = item.quantity;
|
|
14693
|
+
if ((item === null || item === void 0 || (_item$productinfo7 = item.productinfo) === null || _item$productinfo7 === void 0 ? void 0 : _item$productinfo7.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo8 = item.productinfo) === null || _item$productinfo8 === void 0 ? void 0 : _item$productinfo8.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo9 = item.productinfo) === null || _item$productinfo9 === void 0 ? void 0 : _item$productinfo9.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo10 = item.productinfo) === null || _item$productinfo10 === void 0 ? void 0 : _item$productinfo10.quantitystepincrearse) != '') {
|
|
14694
|
+
var _item$productinfo11;
|
|
14695
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo11 = item.productinfo) === null || _item$productinfo11 === void 0 ? void 0 : _item$productinfo11.quantitystepincrearse);
|
|
14696
|
+
}
|
|
14697
|
+
quantity = quantity + quantitystepincrearse;
|
|
14698
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
14699
|
+
// ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
|
|
14681
14700
|
}
|
|
14682
14701
|
}, /*#__PURE__*/React.createElement(FiPlus, {
|
|
14683
14702
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
@@ -14689,14 +14708,31 @@ var CartSlider = function CartSlider(props) {
|
|
|
14689
14708
|
}, item.quantity), langdetect == 'en' && /*#__PURE__*/React.createElement("span", {
|
|
14690
14709
|
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
14691
14710
|
onClick: function onClick() {
|
|
14692
|
-
|
|
14711
|
+
var _item$productinfo12, _item$productinfo13, _item$productinfo14, _item$productinfo15;
|
|
14712
|
+
var quantitystepincrearse = 1;
|
|
14713
|
+
var quantity = item.quantity;
|
|
14714
|
+
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) != '') {
|
|
14715
|
+
var _item$productinfo16;
|
|
14716
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo16 = item.productinfo) === null || _item$productinfo16 === void 0 ? void 0 : _item$productinfo16.quantitystepincrearse);
|
|
14717
|
+
}
|
|
14718
|
+
quantity = quantity + quantitystepincrearse;
|
|
14719
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
14720
|
+
// ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
|
|
14693
14721
|
}
|
|
14694
14722
|
}, /*#__PURE__*/React.createElement(FiPlus, {
|
|
14695
14723
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
14696
14724
|
})), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
|
|
14697
14725
|
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
14698
14726
|
onClick: function onClick() {
|
|
14699
|
-
|
|
14727
|
+
var _item$productinfo17, _item$productinfo18, _item$productinfo19, _item$productinfo20;
|
|
14728
|
+
var quantitystepincrearse = 1;
|
|
14729
|
+
var quantity = item.quantity;
|
|
14730
|
+
if ((item === null || item === void 0 || (_item$productinfo17 = item.productinfo) === null || _item$productinfo17 === void 0 ? void 0 : _item$productinfo17.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo18 = item.productinfo) === null || _item$productinfo18 === void 0 ? void 0 : _item$productinfo18.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo19 = item.productinfo) === null || _item$productinfo19 === void 0 ? void 0 : _item$productinfo19.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo20 = item.productinfo) === null || _item$productinfo20 === void 0 ? void 0 : _item$productinfo20.quantitystepincrearse) != '') {
|
|
14731
|
+
var _item$productinfo21;
|
|
14732
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo21 = item.productinfo) === null || _item$productinfo21 === void 0 ? void 0 : _item$productinfo21.quantitystepincrearse);
|
|
14733
|
+
}
|
|
14734
|
+
quantity = quantity - quantitystepincrearse; // ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
14735
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
14700
14736
|
}
|
|
14701
14737
|
}, /*#__PURE__*/React.createElement(FiMinus, {
|
|
14702
14738
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
package/dist/index.umd.js
CHANGED
|
@@ -14543,14 +14543,33 @@
|
|
|
14543
14543
|
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
14544
14544
|
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
14545
14545
|
onClick: function onClick() {
|
|
14546
|
-
|
|
14546
|
+
var _item$productinfo2, _item$productinfo3, _item$productinfo4, _item$productinfo5;
|
|
14547
|
+
var quantitystepincrearse = 1;
|
|
14548
|
+
var quantity = item.quantity;
|
|
14549
|
+
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) != '') {
|
|
14550
|
+
var _item$productinfo6;
|
|
14551
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo6 = item.productinfo) === null || _item$productinfo6 === void 0 ? void 0 : _item$productinfo6.quantitystepincrearse);
|
|
14552
|
+
}
|
|
14553
|
+
quantity = quantity - quantitystepincrearse;
|
|
14554
|
+
// ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
14555
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
14556
|
+
// ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
14547
14557
|
}
|
|
14548
14558
|
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
14549
14559
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
14550
14560
|
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
14551
14561
|
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
14552
14562
|
onClick: function onClick() {
|
|
14553
|
-
|
|
14563
|
+
var _item$productinfo7, _item$productinfo8, _item$productinfo9, _item$productinfo10;
|
|
14564
|
+
var quantitystepincrearse = 1;
|
|
14565
|
+
var quantity = item.quantity;
|
|
14566
|
+
if ((item === null || item === void 0 || (_item$productinfo7 = item.productinfo) === null || _item$productinfo7 === void 0 ? void 0 : _item$productinfo7.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo8 = item.productinfo) === null || _item$productinfo8 === void 0 ? void 0 : _item$productinfo8.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo9 = item.productinfo) === null || _item$productinfo9 === void 0 ? void 0 : _item$productinfo9.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo10 = item.productinfo) === null || _item$productinfo10 === void 0 ? void 0 : _item$productinfo10.quantitystepincrearse) != '') {
|
|
14567
|
+
var _item$productinfo11;
|
|
14568
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo11 = item.productinfo) === null || _item$productinfo11 === void 0 ? void 0 : _item$productinfo11.quantitystepincrearse);
|
|
14569
|
+
}
|
|
14570
|
+
quantity = quantity + quantitystepincrearse;
|
|
14571
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
14572
|
+
// ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
|
|
14554
14573
|
}
|
|
14555
14574
|
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
14556
14575
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
@@ -14562,14 +14581,31 @@
|
|
|
14562
14581
|
}, item.quantity), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
14563
14582
|
className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
14564
14583
|
onClick: function onClick() {
|
|
14565
|
-
|
|
14584
|
+
var _item$productinfo12, _item$productinfo13, _item$productinfo14, _item$productinfo15;
|
|
14585
|
+
var quantitystepincrearse = 1;
|
|
14586
|
+
var quantity = item.quantity;
|
|
14587
|
+
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) != '') {
|
|
14588
|
+
var _item$productinfo16;
|
|
14589
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo16 = item.productinfo) === null || _item$productinfo16 === void 0 ? void 0 : _item$productinfo16.quantitystepincrearse);
|
|
14590
|
+
}
|
|
14591
|
+
quantity = quantity + quantitystepincrearse;
|
|
14592
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
14593
|
+
// ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
|
|
14566
14594
|
}
|
|
14567
14595
|
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
|
|
14568
14596
|
size: sectionproperties.add_quantitybtn_textfontsize
|
|
14569
14597
|
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
14570
14598
|
className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
14571
14599
|
onClick: function onClick() {
|
|
14572
|
-
|
|
14600
|
+
var _item$productinfo17, _item$productinfo18, _item$productinfo19, _item$productinfo20;
|
|
14601
|
+
var quantitystepincrearse = 1;
|
|
14602
|
+
var quantity = item.quantity;
|
|
14603
|
+
if ((item === null || item === void 0 || (_item$productinfo17 = item.productinfo) === null || _item$productinfo17 === void 0 ? void 0 : _item$productinfo17.quantitystepincrearse) != undefined && (item === null || item === void 0 || (_item$productinfo18 = item.productinfo) === null || _item$productinfo18 === void 0 ? void 0 : _item$productinfo18.quantitystepincrearse) != null && (item === null || item === void 0 || (_item$productinfo19 = item.productinfo) === null || _item$productinfo19 === void 0 ? void 0 : _item$productinfo19.quantitystepincrearse) != 1 && (item === null || item === void 0 || (_item$productinfo20 = item.productinfo) === null || _item$productinfo20 === void 0 ? void 0 : _item$productinfo20.quantitystepincrearse) != '') {
|
|
14604
|
+
var _item$productinfo21;
|
|
14605
|
+
quantitystepincrearse = parseInt(item === null || item === void 0 || (_item$productinfo21 = item.productinfo) === null || _item$productinfo21 === void 0 ? void 0 : _item$productinfo21.quantitystepincrearse);
|
|
14606
|
+
}
|
|
14607
|
+
quantity = quantity - quantitystepincrearse; // ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
|
|
14608
|
+
ChangeCartItemQuantityContext(item, parseInt(quantity));
|
|
14573
14609
|
}
|
|
14574
14610
|
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
|
|
14575
14611
|
size: sectionproperties.remove_quantitybtn_textfontsize
|