tabexseriescomponents 0.0.66 → 0.0.67
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 +41 -33
- package/dist/index.esm.js +41 -33
- package/dist/index.umd.js +41 -33
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2050,7 +2050,16 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
2050
2050
|
}]),
|
|
2051
2051
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
2052
2052
|
tabsarray = _useState8[0];
|
|
2053
|
-
_useState8[1];
|
|
2053
|
+
_useState8[1]; // useEffect(() => {
|
|
2054
|
+
// if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
2055
|
+
// var secpropobj = {};
|
|
2056
|
+
// StatePagePropertiesContext?.pageobj?.pageproperties?.forEach(function (arrayItem, arrayindex) {
|
|
2057
|
+
// secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
2058
|
+
// });
|
|
2059
|
+
// setsectionproperties({ ...secpropobj });
|
|
2060
|
+
// }
|
|
2061
|
+
// }, [StatePagePropertiesContext]);
|
|
2062
|
+
|
|
2054
2063
|
|
|
2055
2064
|
React.useEffect(function () {
|
|
2056
2065
|
var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
|
|
@@ -2062,17 +2071,20 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
2062
2071
|
}
|
|
2063
2072
|
}, []);
|
|
2064
2073
|
React.useEffect(function () {
|
|
2065
|
-
var _templatepropcontext$, _templatepropcontext$2;
|
|
2066
|
-
|
|
2067
2074
|
// if (CurrentSrcTypeContext == 'workplace') {
|
|
2068
2075
|
// if (StatePagePropertiesContext != null && StatePagePropertiesContext != undefined && StatePagePropertiesContext.length != 0) {
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2076
|
+
if (CurrentPageId.length != 0) {
|
|
2077
|
+
var _templatepropcontext$, _templatepropcontext$2;
|
|
2078
|
+
|
|
2079
|
+
var secpropobj = {};
|
|
2080
|
+
templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
|
|
2081
|
+
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
2082
|
+
});
|
|
2083
|
+
setsectionproperties(_objectSpread$1t({}, secpropobj));
|
|
2084
|
+
setnavigationstyle('Upper Navigation');
|
|
2085
|
+
} // }
|
|
2075
2086
|
// }
|
|
2087
|
+
|
|
2076
2088
|
}, [CurrentPageId]);
|
|
2077
2089
|
var styles = {
|
|
2078
2090
|
generalbtn: glamor.css({
|
|
@@ -2181,8 +2193,10 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
2181
2193
|
}
|
|
2182
2194
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2183
2195
|
className: "col-lg-12 p-0 d-flex align-items-center justify-content-center mt-3"
|
|
2184
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
2185
|
-
|
|
2196
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2197
|
+
onClick: function onClick() {
|
|
2198
|
+
routingcountext(StaticPagesLinksContext.viewcart);
|
|
2199
|
+
}
|
|
2186
2200
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2187
2201
|
className: "".concat(styles.generalbtn) + ' d-flex align-items-center justify-content-center '
|
|
2188
2202
|
}, /*#__PURE__*/React__default["default"].createElement(fi.FiShoppingCart, {
|
|
@@ -8043,6 +8057,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
8043
8057
|
props.actions.ParentCollectionsForCollectionQueryArr;
|
|
8044
8058
|
var setfetchingtype = props.actions.setfetchingtype;
|
|
8045
8059
|
var fetchingtype = props.actions.fetchingtype;
|
|
8060
|
+
props.actions.addtofavoritescontext;
|
|
8046
8061
|
var actions = props.actions;
|
|
8047
8062
|
|
|
8048
8063
|
var _useState = React.useState(''),
|
|
@@ -32955,22 +32970,18 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
32955
32970
|
setShowProductInfoModalContext(true);
|
|
32956
32971
|
setProductIdProdutInfoModalContext(item.productid);
|
|
32957
32972
|
}
|
|
32958
|
-
}
|
|
32959
|
-
// if (item.hasvariants == 0) {
|
|
32960
|
-
// updatequantity('remove');
|
|
32961
|
-
// } else {
|
|
32962
|
-
// setShowProductInfoModalContext(true);
|
|
32963
|
-
// setProductIdProdutInfoModalContext(item.productid);
|
|
32964
|
-
// }
|
|
32965
|
-
// }}
|
|
32966
|
-
|
|
32973
|
+
}
|
|
32967
32974
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
32968
32975
|
"class": "fa fa-chevron-up"
|
|
32969
32976
|
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
32970
32977
|
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container),
|
|
32971
32978
|
onClick: function onClick() {
|
|
32972
|
-
|
|
32973
|
-
|
|
32979
|
+
if (item.hasvariants == 0) {
|
|
32980
|
+
updatequantity('add');
|
|
32981
|
+
} else {
|
|
32982
|
+
setShowProductInfoModalContext(true);
|
|
32983
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
32984
|
+
}
|
|
32974
32985
|
}
|
|
32975
32986
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
32976
32987
|
"class": "fa fa-chevron-up font-12"
|
|
@@ -32982,7 +32993,12 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
32982
32993
|
transform: ' rotate(-180deg)'
|
|
32983
32994
|
},
|
|
32984
32995
|
onClick: function onClick() {
|
|
32985
|
-
|
|
32996
|
+
if (item.hasvariants == 0) {
|
|
32997
|
+
updatequantity('remove');
|
|
32998
|
+
} else {
|
|
32999
|
+
setShowProductInfoModalContext(true);
|
|
33000
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
33001
|
+
}
|
|
32986
33002
|
}
|
|
32987
33003
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
32988
33004
|
"class": "fa fa-chevron-up"
|
|
@@ -32990,20 +33006,12 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
32990
33006
|
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container),
|
|
32991
33007
|
onClick: function onClick() {
|
|
32992
33008
|
if (item.hasvariants == 0) {
|
|
32993
|
-
updatequantity('add');
|
|
33009
|
+
updatequantity('add');
|
|
32994
33010
|
} else {
|
|
32995
33011
|
setShowProductInfoModalContext(true);
|
|
32996
33012
|
setProductIdProdutInfoModalContext(item.productid);
|
|
32997
33013
|
}
|
|
32998
|
-
}
|
|
32999
|
-
// if (item.hasvariants == 0) {
|
|
33000
|
-
// updatequantity('add');
|
|
33001
|
-
// } else {
|
|
33002
|
-
// setShowProductInfoModalContext(true);
|
|
33003
|
-
// setProductIdProdutInfoModalContext(item.productid);
|
|
33004
|
-
// }
|
|
33005
|
-
// }}
|
|
33006
|
-
|
|
33014
|
+
}
|
|
33007
33015
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
33008
33016
|
"class": "fa fa-chevron-up"
|
|
33009
33017
|
})))), showquantity == false && /*#__PURE__*/React__default["default"].createElement("div", {
|
package/dist/index.esm.js
CHANGED
|
@@ -2007,7 +2007,16 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
2007
2007
|
}]),
|
|
2008
2008
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
2009
2009
|
tabsarray = _useState8[0];
|
|
2010
|
-
_useState8[1];
|
|
2010
|
+
_useState8[1]; // useEffect(() => {
|
|
2011
|
+
// if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
2012
|
+
// var secpropobj = {};
|
|
2013
|
+
// StatePagePropertiesContext?.pageobj?.pageproperties?.forEach(function (arrayItem, arrayindex) {
|
|
2014
|
+
// secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
2015
|
+
// });
|
|
2016
|
+
// setsectionproperties({ ...secpropobj });
|
|
2017
|
+
// }
|
|
2018
|
+
// }, [StatePagePropertiesContext]);
|
|
2019
|
+
|
|
2011
2020
|
|
|
2012
2021
|
useEffect(function () {
|
|
2013
2022
|
var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
|
|
@@ -2019,17 +2028,20 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
2019
2028
|
}
|
|
2020
2029
|
}, []);
|
|
2021
2030
|
useEffect(function () {
|
|
2022
|
-
var _templatepropcontext$, _templatepropcontext$2;
|
|
2023
|
-
|
|
2024
2031
|
// if (CurrentSrcTypeContext == 'workplace') {
|
|
2025
2032
|
// if (StatePagePropertiesContext != null && StatePagePropertiesContext != undefined && StatePagePropertiesContext.length != 0) {
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2033
|
+
if (CurrentPageId.length != 0) {
|
|
2034
|
+
var _templatepropcontext$, _templatepropcontext$2;
|
|
2035
|
+
|
|
2036
|
+
var secpropobj = {};
|
|
2037
|
+
templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
|
|
2038
|
+
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
2039
|
+
});
|
|
2040
|
+
setsectionproperties(_objectSpread$1t({}, secpropobj));
|
|
2041
|
+
setnavigationstyle('Upper Navigation');
|
|
2042
|
+
} // }
|
|
2032
2043
|
// }
|
|
2044
|
+
|
|
2033
2045
|
}, [CurrentPageId]);
|
|
2034
2046
|
var styles = {
|
|
2035
2047
|
generalbtn: css({
|
|
@@ -2138,8 +2150,10 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
2138
2150
|
}
|
|
2139
2151
|
})), /*#__PURE__*/React.createElement("div", {
|
|
2140
2152
|
className: "col-lg-12 p-0 d-flex align-items-center justify-content-center mt-3"
|
|
2141
|
-
}, /*#__PURE__*/React.createElement(
|
|
2142
|
-
|
|
2153
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2154
|
+
onClick: function onClick() {
|
|
2155
|
+
routingcountext(StaticPagesLinksContext.viewcart);
|
|
2156
|
+
}
|
|
2143
2157
|
}, /*#__PURE__*/React.createElement("button", {
|
|
2144
2158
|
className: "".concat(styles.generalbtn) + ' d-flex align-items-center justify-content-center '
|
|
2145
2159
|
}, /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
@@ -8000,6 +8014,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
8000
8014
|
props.actions.ParentCollectionsForCollectionQueryArr;
|
|
8001
8015
|
var setfetchingtype = props.actions.setfetchingtype;
|
|
8002
8016
|
var fetchingtype = props.actions.fetchingtype;
|
|
8017
|
+
props.actions.addtofavoritescontext;
|
|
8003
8018
|
var actions = props.actions;
|
|
8004
8019
|
|
|
8005
8020
|
var _useState = useState(''),
|
|
@@ -32912,22 +32927,18 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
32912
32927
|
setShowProductInfoModalContext(true);
|
|
32913
32928
|
setProductIdProdutInfoModalContext(item.productid);
|
|
32914
32929
|
}
|
|
32915
|
-
}
|
|
32916
|
-
// if (item.hasvariants == 0) {
|
|
32917
|
-
// updatequantity('remove');
|
|
32918
|
-
// } else {
|
|
32919
|
-
// setShowProductInfoModalContext(true);
|
|
32920
|
-
// setProductIdProdutInfoModalContext(item.productid);
|
|
32921
|
-
// }
|
|
32922
|
-
// }}
|
|
32923
|
-
|
|
32930
|
+
}
|
|
32924
32931
|
}, /*#__PURE__*/React.createElement("i", {
|
|
32925
32932
|
"class": "fa fa-chevron-up"
|
|
32926
32933
|
})), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
|
|
32927
32934
|
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container),
|
|
32928
32935
|
onClick: function onClick() {
|
|
32929
|
-
|
|
32930
|
-
|
|
32936
|
+
if (item.hasvariants == 0) {
|
|
32937
|
+
updatequantity('add');
|
|
32938
|
+
} else {
|
|
32939
|
+
setShowProductInfoModalContext(true);
|
|
32940
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
32941
|
+
}
|
|
32931
32942
|
}
|
|
32932
32943
|
}, /*#__PURE__*/React.createElement("i", {
|
|
32933
32944
|
"class": "fa fa-chevron-up font-12"
|
|
@@ -32939,7 +32950,12 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
32939
32950
|
transform: ' rotate(-180deg)'
|
|
32940
32951
|
},
|
|
32941
32952
|
onClick: function onClick() {
|
|
32942
|
-
|
|
32953
|
+
if (item.hasvariants == 0) {
|
|
32954
|
+
updatequantity('remove');
|
|
32955
|
+
} else {
|
|
32956
|
+
setShowProductInfoModalContext(true);
|
|
32957
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
32958
|
+
}
|
|
32943
32959
|
}
|
|
32944
32960
|
}, /*#__PURE__*/React.createElement("i", {
|
|
32945
32961
|
"class": "fa fa-chevron-up"
|
|
@@ -32947,20 +32963,12 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
32947
32963
|
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container),
|
|
32948
32964
|
onClick: function onClick() {
|
|
32949
32965
|
if (item.hasvariants == 0) {
|
|
32950
|
-
updatequantity('add');
|
|
32966
|
+
updatequantity('add');
|
|
32951
32967
|
} else {
|
|
32952
32968
|
setShowProductInfoModalContext(true);
|
|
32953
32969
|
setProductIdProdutInfoModalContext(item.productid);
|
|
32954
32970
|
}
|
|
32955
|
-
}
|
|
32956
|
-
// if (item.hasvariants == 0) {
|
|
32957
|
-
// updatequantity('add');
|
|
32958
|
-
// } else {
|
|
32959
|
-
// setShowProductInfoModalContext(true);
|
|
32960
|
-
// setProductIdProdutInfoModalContext(item.productid);
|
|
32961
|
-
// }
|
|
32962
|
-
// }}
|
|
32963
|
-
|
|
32971
|
+
}
|
|
32964
32972
|
}, /*#__PURE__*/React.createElement("i", {
|
|
32965
32973
|
"class": "fa fa-chevron-up"
|
|
32966
32974
|
})))), showquantity == false && /*#__PURE__*/React.createElement("div", {
|
package/dist/index.umd.js
CHANGED
|
@@ -1988,7 +1988,16 @@
|
|
|
1988
1988
|
}]),
|
|
1989
1989
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
1990
1990
|
tabsarray = _useState8[0];
|
|
1991
|
-
_useState8[1];
|
|
1991
|
+
_useState8[1]; // useEffect(() => {
|
|
1992
|
+
// if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
1993
|
+
// var secpropobj = {};
|
|
1994
|
+
// StatePagePropertiesContext?.pageobj?.pageproperties?.forEach(function (arrayItem, arrayindex) {
|
|
1995
|
+
// secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
1996
|
+
// });
|
|
1997
|
+
// setsectionproperties({ ...secpropobj });
|
|
1998
|
+
// }
|
|
1999
|
+
// }, [StatePagePropertiesContext]);
|
|
2000
|
+
|
|
1992
2001
|
|
|
1993
2002
|
React.useEffect(function () {
|
|
1994
2003
|
var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
|
|
@@ -2000,17 +2009,20 @@
|
|
|
2000
2009
|
}
|
|
2001
2010
|
}, []);
|
|
2002
2011
|
React.useEffect(function () {
|
|
2003
|
-
var _templatepropcontext$, _templatepropcontext$2;
|
|
2004
|
-
|
|
2005
2012
|
// if (CurrentSrcTypeContext == 'workplace') {
|
|
2006
2013
|
// if (StatePagePropertiesContext != null && StatePagePropertiesContext != undefined && StatePagePropertiesContext.length != 0) {
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2014
|
+
if (CurrentPageId.length != 0) {
|
|
2015
|
+
var _templatepropcontext$, _templatepropcontext$2;
|
|
2016
|
+
|
|
2017
|
+
var secpropobj = {};
|
|
2018
|
+
templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
|
|
2019
|
+
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
2020
|
+
});
|
|
2021
|
+
setsectionproperties(_objectSpread$1t({}, secpropobj));
|
|
2022
|
+
setnavigationstyle('Upper Navigation');
|
|
2023
|
+
} // }
|
|
2013
2024
|
// }
|
|
2025
|
+
|
|
2014
2026
|
}, [CurrentPageId]);
|
|
2015
2027
|
var styles = {
|
|
2016
2028
|
generalbtn: glamor.css({
|
|
@@ -2119,8 +2131,10 @@
|
|
|
2119
2131
|
}
|
|
2120
2132
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2121
2133
|
className: "col-lg-12 p-0 d-flex align-items-center justify-content-center mt-3"
|
|
2122
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
2123
|
-
|
|
2134
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2135
|
+
onClick: function onClick() {
|
|
2136
|
+
routingcountext(StaticPagesLinksContext.viewcart);
|
|
2137
|
+
}
|
|
2124
2138
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2125
2139
|
className: "".concat(styles.generalbtn) + ' d-flex align-items-center justify-content-center '
|
|
2126
2140
|
}, /*#__PURE__*/React__default["default"].createElement(fi.FiShoppingCart, {
|
|
@@ -7981,6 +7995,7 @@
|
|
|
7981
7995
|
props.actions.ParentCollectionsForCollectionQueryArr;
|
|
7982
7996
|
var setfetchingtype = props.actions.setfetchingtype;
|
|
7983
7997
|
var fetchingtype = props.actions.fetchingtype;
|
|
7998
|
+
props.actions.addtofavoritescontext;
|
|
7984
7999
|
var actions = props.actions;
|
|
7985
8000
|
|
|
7986
8001
|
var _useState = React.useState(''),
|
|
@@ -32893,22 +32908,18 @@
|
|
|
32893
32908
|
setShowProductInfoModalContext(true);
|
|
32894
32909
|
setProductIdProdutInfoModalContext(item.productid);
|
|
32895
32910
|
}
|
|
32896
|
-
}
|
|
32897
|
-
// if (item.hasvariants == 0) {
|
|
32898
|
-
// updatequantity('remove');
|
|
32899
|
-
// } else {
|
|
32900
|
-
// setShowProductInfoModalContext(true);
|
|
32901
|
-
// setProductIdProdutInfoModalContext(item.productid);
|
|
32902
|
-
// }
|
|
32903
|
-
// }}
|
|
32904
|
-
|
|
32911
|
+
}
|
|
32905
32912
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
32906
32913
|
"class": "fa fa-chevron-up"
|
|
32907
32914
|
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
32908
32915
|
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container),
|
|
32909
32916
|
onClick: function onClick() {
|
|
32910
|
-
|
|
32911
|
-
|
|
32917
|
+
if (item.hasvariants == 0) {
|
|
32918
|
+
updatequantity('add');
|
|
32919
|
+
} else {
|
|
32920
|
+
setShowProductInfoModalContext(true);
|
|
32921
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
32922
|
+
}
|
|
32912
32923
|
}
|
|
32913
32924
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
32914
32925
|
"class": "fa fa-chevron-up font-12"
|
|
@@ -32920,7 +32931,12 @@
|
|
|
32920
32931
|
transform: ' rotate(-180deg)'
|
|
32921
32932
|
},
|
|
32922
32933
|
onClick: function onClick() {
|
|
32923
|
-
|
|
32934
|
+
if (item.hasvariants == 0) {
|
|
32935
|
+
updatequantity('remove');
|
|
32936
|
+
} else {
|
|
32937
|
+
setShowProductInfoModalContext(true);
|
|
32938
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
32939
|
+
}
|
|
32924
32940
|
}
|
|
32925
32941
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
32926
32942
|
"class": "fa fa-chevron-up"
|
|
@@ -32928,20 +32944,12 @@
|
|
|
32928
32944
|
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container),
|
|
32929
32945
|
onClick: function onClick() {
|
|
32930
32946
|
if (item.hasvariants == 0) {
|
|
32931
|
-
updatequantity('add');
|
|
32947
|
+
updatequantity('add');
|
|
32932
32948
|
} else {
|
|
32933
32949
|
setShowProductInfoModalContext(true);
|
|
32934
32950
|
setProductIdProdutInfoModalContext(item.productid);
|
|
32935
32951
|
}
|
|
32936
|
-
}
|
|
32937
|
-
// if (item.hasvariants == 0) {
|
|
32938
|
-
// updatequantity('add');
|
|
32939
|
-
// } else {
|
|
32940
|
-
// setShowProductInfoModalContext(true);
|
|
32941
|
-
// setProductIdProdutInfoModalContext(item.productid);
|
|
32942
|
-
// }
|
|
32943
|
-
// }}
|
|
32944
|
-
|
|
32952
|
+
}
|
|
32945
32953
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
32946
32954
|
"class": "fa fa-chevron-up"
|
|
32947
32955
|
})))), showquantity == false && /*#__PURE__*/React__default["default"].createElement("div", {
|