tabexseriescomponents 0.50.205 → 0.50.207
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 +188 -174
- package/dist/index.esm.js +188 -174
- package/dist/index.umd.js +188 -174
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -3673,7 +3673,7 @@ var ProductExtraFields = function ProductExtraFields(props) {
|
|
|
3673
3673
|
};
|
|
3674
3674
|
|
|
3675
3675
|
var DescriptionContent = function DescriptionContent(props) {
|
|
3676
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37;
|
|
3676
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40;
|
|
3677
3677
|
var lang = props.actions.lang;
|
|
3678
3678
|
var langdetect = props.actions.langdetect;
|
|
3679
3679
|
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
@@ -3876,7 +3876,21 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3876
3876
|
dangerouslySetInnerHTML: {
|
|
3877
3877
|
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.description_magr
|
|
3878
3878
|
}
|
|
3879
|
-
})))),
|
|
3879
|
+
})))), langdetect == 'turk' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.description_turk) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.description_turk) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3880
|
+
className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
|
|
3881
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3882
|
+
className: "row m-0 w-100 d-flex"
|
|
3883
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3884
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start flex-column text-black "
|
|
3885
|
+
}, props.srcfromprops != 'Articles' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3886
|
+
className: 'm-0 p-0 ',
|
|
3887
|
+
style: {
|
|
3888
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3889
|
+
},
|
|
3890
|
+
dangerouslySetInnerHTML: {
|
|
3891
|
+
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.description_turk
|
|
3892
|
+
}
|
|
3893
|
+
})))), props.srcfromprops != 'collap' && sectionproperties.showGallery == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productimages) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3880
3894
|
"class": "col-lg-12 p-0"
|
|
3881
3895
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3882
3896
|
"class": "row m-0 w-100 allcentered pl-md-3 pr-md-3",
|
|
@@ -3884,7 +3898,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3884
3898
|
paddingLeft: sectionproperties.galleryPaddingHorizontal + 'px',
|
|
3885
3899
|
paddingRight: sectionproperties.galleryPaddingHorizontal + 'px'
|
|
3886
3900
|
}
|
|
3887
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3901
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productimages) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.map(function (item, index) {
|
|
3888
3902
|
if (index <= 6) {
|
|
3889
3903
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3890
3904
|
"class": ' col-md-4 col-sm-12 mb-3 col-lg-' + sectionproperties.galleryNoOfCols,
|
|
@@ -88589,7 +88603,7 @@ function ownKeys$m(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
|
|
|
88589
88603
|
function _objectSpread$m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$m(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
88590
88604
|
var MenuCard = function MenuCard(props) {
|
|
88591
88605
|
var _css2;
|
|
88592
|
-
var _useState = React.useState(
|
|
88606
|
+
var _useState = React.useState(''),
|
|
88593
88607
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
88594
88608
|
sectionproperties = _useState2[0],
|
|
88595
88609
|
setsectionproperties = _useState2[1];
|
|
@@ -88611,7 +88625,7 @@ var MenuCard = function MenuCard(props) {
|
|
|
88611
88625
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
88612
88626
|
var NotificationManager = NotificationManager;
|
|
88613
88627
|
React.useEffect(function () {
|
|
88614
|
-
if (props.srcfrom ==
|
|
88628
|
+
if (props.srcfrom == 'addsectionform') {
|
|
88615
88629
|
var secpropobj = {};
|
|
88616
88630
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
88617
88631
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
@@ -88661,161 +88675,161 @@ var MenuCard = function MenuCard(props) {
|
|
|
88661
88675
|
|
|
88662
88676
|
var card_cssstyles = {
|
|
88663
88677
|
productcard: glamor.css({
|
|
88664
|
-
background: sectionproperties.backgroundColortransparent ==
|
|
88665
|
-
borderBottomLeftRadius: langdetect !=
|
|
88666
|
-
borderBottomRightRadius: langdetect !=
|
|
88667
|
-
borderTopLeftRadius: langdetect !=
|
|
88668
|
-
borderTopRightRadius: langdetect !=
|
|
88669
|
-
marginTop: sectionproperties.marginTop +
|
|
88670
|
-
marginBottom: sectionproperties.marginBottom +
|
|
88671
|
-
paddingLeft: langdetect !=
|
|
88672
|
-
paddingRight: langdetect !=
|
|
88673
|
-
paddingTop: sectionproperties.paddingTop +
|
|
88674
|
-
paddingBottom: sectionproperties.paddingBottom +
|
|
88675
|
-
borderBottom: sectionproperties.border ==
|
|
88676
|
-
borderLeft: sectionproperties.border ==
|
|
88677
|
-
borderRight: sectionproperties.border ==
|
|
88678
|
-
borderTop: sectionproperties.border ==
|
|
88679
|
-
border: sectionproperties.border ==
|
|
88680
|
-
transition:
|
|
88678
|
+
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
88679
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
88680
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
88681
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
88682
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
88683
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
88684
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
88685
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
88686
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
88687
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
88688
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
88689
|
+
borderBottom: sectionproperties.border == 'border bottom' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
|
|
88690
|
+
borderLeft: sectionproperties.border == 'border left' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
|
|
88691
|
+
borderRight: sectionproperties.border == 'border right' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
|
|
88692
|
+
borderTop: sectionproperties.border == 'border top' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
|
|
88693
|
+
border: sectionproperties.border == 'all' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
|
|
88694
|
+
transition: '.3s',
|
|
88681
88695
|
color: sectionproperties.prodNameColor
|
|
88682
88696
|
}),
|
|
88683
88697
|
productcardimagecont: glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
|
|
88684
|
-
position:
|
|
88685
|
-
overflow:
|
|
88686
|
-
background: sectionproperties.image_bgtransparent ==
|
|
88687
|
-
border: sectionproperties.image_borderwidth +
|
|
88688
|
-
borderBottomLeftRadius: langdetect !=
|
|
88689
|
-
borderBottomRightRadius: langdetect !=
|
|
88690
|
-
borderTopLeftRadius: langdetect !=
|
|
88691
|
-
borderTopRightRadius: langdetect !=
|
|
88692
|
-
transition:
|
|
88693
|
-
height: sectionproperties.image_height +
|
|
88694
|
-
width: sectionproperties.image_width +
|
|
88695
|
-
}, "borderBottomLeftRadius", langdetect !=
|
|
88696
|
-
width: sectionproperties.image_width +
|
|
88698
|
+
position: 'relative',
|
|
88699
|
+
overflow: 'hidden',
|
|
88700
|
+
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
|
|
88701
|
+
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
88702
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
88703
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
88704
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
88705
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
88706
|
+
transition: '.3s',
|
|
88707
|
+
height: sectionproperties.image_height + 'px',
|
|
88708
|
+
width: sectionproperties.image_width + 'px'
|
|
88709
|
+
}, "borderBottomLeftRadius", langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px'), "borderBottomRightRadius", langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'), "borderTopLeftRadius", langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px'), "borderTopRightRadius", langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'), "overflow", 'hidden'), "cursor", 'pointer'), '@media (max-width: 800px)', {
|
|
88710
|
+
width: sectionproperties.image_width + '%'
|
|
88697
88711
|
})),
|
|
88698
88712
|
productNameStyles: glamor.css({
|
|
88699
|
-
fontSize: sectionproperties.prodNameFontSize +
|
|
88713
|
+
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
88700
88714
|
textTransform: sectionproperties.prodNameTextTranform,
|
|
88701
88715
|
fontWeight: sectionproperties.prodNameFontWeight,
|
|
88702
|
-
transition:
|
|
88703
|
-
cursor:
|
|
88704
|
-
|
|
88716
|
+
transition: '.3s',
|
|
88717
|
+
cursor: 'pointer',
|
|
88718
|
+
':hover': {
|
|
88705
88719
|
color: sectionproperties.prodNameColorOnHover
|
|
88706
88720
|
}
|
|
88707
88721
|
}),
|
|
88708
88722
|
productPricestyles: glamor.css({
|
|
88709
88723
|
color: sectionproperties.prodPriceColor,
|
|
88710
|
-
fontSize: sectionproperties.prodpriceFontSize +
|
|
88724
|
+
fontSize: sectionproperties.prodpriceFontSize + 'px',
|
|
88711
88725
|
fontWeight: sectionproperties.prodPriceFontWeight
|
|
88712
88726
|
}),
|
|
88713
88727
|
productSalePricestyles: glamor.css({
|
|
88714
88728
|
color: sectionproperties.prodsalePriceColor,
|
|
88715
|
-
fontSize: sectionproperties.prodsalepriceFontSize +
|
|
88729
|
+
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
88716
88730
|
fontWeight: sectionproperties.prodsalePriceFontWeight
|
|
88717
88731
|
}),
|
|
88718
88732
|
wishlist_btn: glamor.css({
|
|
88719
|
-
width: sectionproperties.favBtnWidth +
|
|
88720
|
-
height: sectionproperties.favBtnHeight +
|
|
88721
|
-
background: sectionproperties.favbtn_bgtransparent ==
|
|
88722
|
-
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius +
|
|
88733
|
+
width: sectionproperties.favBtnWidth + 'px',
|
|
88734
|
+
height: sectionproperties.favBtnHeight + 'px',
|
|
88735
|
+
background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
|
|
88736
|
+
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
|
|
88723
88737
|
color: sectionproperties.favBtniconcolor,
|
|
88724
|
-
fontSize: sectionproperties.favBtnTextfontsize +
|
|
88725
|
-
border: sectionproperties.favbtnborderwidth +
|
|
88726
|
-
transition:
|
|
88727
|
-
|
|
88728
|
-
background: sectionproperties.favbtn_transparentbgcoloronhover ==
|
|
88738
|
+
fontSize: sectionproperties.favBtnTextfontsize + 'px',
|
|
88739
|
+
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
88740
|
+
transition: '.4s',
|
|
88741
|
+
':hover': {
|
|
88742
|
+
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
88729
88743
|
color: sectionproperties.favBtnTextcoloronhover
|
|
88730
88744
|
}
|
|
88731
88745
|
}),
|
|
88732
88746
|
cart_btn: glamor.css({
|
|
88733
|
-
width: sectionproperties.cartBtnWidth +
|
|
88734
|
-
height: sectionproperties.cartBtnHeight +
|
|
88735
|
-
background: sectionproperties.cartbtn_bgtransparent ==
|
|
88736
|
-
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius +
|
|
88747
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
88748
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
88749
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
88750
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
88737
88751
|
color: sectionproperties.cart_iconcolor,
|
|
88738
|
-
border: sectionproperties.cartbtnborderwidth +
|
|
88739
|
-
transition:
|
|
88740
|
-
|
|
88741
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
88752
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
88753
|
+
transition: '.3s',
|
|
88754
|
+
':hover': {
|
|
88755
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
88742
88756
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
88743
88757
|
}
|
|
88744
88758
|
}),
|
|
88745
88759
|
cart_btntxt: glamor.css({
|
|
88746
88760
|
color: sectionproperties.cartBtnTextcolor,
|
|
88747
|
-
fontSize: sectionproperties.cartBtnTextfontsize +
|
|
88761
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
88748
88762
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
88749
88763
|
// border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
88750
|
-
transition:
|
|
88751
|
-
|
|
88752
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
88764
|
+
transition: '.3s',
|
|
88765
|
+
':hover': {
|
|
88766
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
88753
88767
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
88754
88768
|
}
|
|
88755
88769
|
}),
|
|
88756
88770
|
quantitybtn: glamor.css((_css2 = {
|
|
88757
88771
|
flex: 1,
|
|
88758
|
-
border: sectionproperties.quantitybtnborderwidth +
|
|
88759
|
-
height: sectionproperties.quantitybtn_height +
|
|
88760
|
-
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css2, "height",
|
|
88772
|
+
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
|
|
88773
|
+
height: sectionproperties.quantitybtn_height + 'px'
|
|
88774
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css2, "height", '40px'), "display", 'flex'), "flexDirection", 'row'), "overflow", 'hidden'), "borderRadius", sectionproperties.quantitybtn_borderradius + 'px'), "background", sectionproperties.quantitybtn_bgcolor), "alignItems", 'center'), "justifyContent", 'center'), "margin", 0), "position", 'relative'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css2, "fontWeight", sectionproperties.quantitybtn_textfontweight), "color", sectionproperties.quantitybtn_textcolor), "fontSize", sectionproperties.quantitybtn_textfontsize + 'px'))),
|
|
88761
88775
|
quantitybtn_text: glamor.css({
|
|
88762
|
-
margin:
|
|
88776
|
+
margin: 'auto'
|
|
88763
88777
|
}),
|
|
88764
88778
|
add_quantitybtn_icon_container: glamor.css({
|
|
88765
|
-
position:
|
|
88766
|
-
width: sectionproperties.add_quantitybtn_width +
|
|
88767
|
-
height: sectionproperties.add_quantitybtn_height +
|
|
88779
|
+
position: 'relative',
|
|
88780
|
+
width: sectionproperties.add_quantitybtn_width + 'px',
|
|
88781
|
+
height: sectionproperties.add_quantitybtn_height + 'px',
|
|
88768
88782
|
background: sectionproperties.add_quantitybtn_bgcolor,
|
|
88769
|
-
display:
|
|
88770
|
-
alignItems:
|
|
88771
|
-
justifyContent:
|
|
88772
|
-
borderRadius: sectionproperties.add_quantitybtn_borderradius +
|
|
88773
|
-
fontSize: sectionproperties.add_quantitybtn_textfontsize +
|
|
88783
|
+
display: 'flex',
|
|
88784
|
+
alignItems: 'center',
|
|
88785
|
+
justifyContent: 'center',
|
|
88786
|
+
borderRadius: sectionproperties.add_quantitybtn_borderradius + 'px',
|
|
88787
|
+
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
|
|
88774
88788
|
color: sectionproperties.add_quantitybtn_textcolor,
|
|
88775
|
-
transition:
|
|
88776
|
-
|
|
88789
|
+
transition: '.3s',
|
|
88790
|
+
':hover': {
|
|
88777
88791
|
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
88778
88792
|
background: sectionproperties.add_quantitybtn_bgcoloronhover
|
|
88779
88793
|
}
|
|
88780
88794
|
}),
|
|
88781
88795
|
minus_quantitybtn_icon_container: glamor.css({
|
|
88782
|
-
position:
|
|
88783
|
-
width: sectionproperties.remove_quantitybtn_width +
|
|
88784
|
-
height: sectionproperties.remove_quantitybtn_height +
|
|
88796
|
+
position: 'relative',
|
|
88797
|
+
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
88798
|
+
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
88785
88799
|
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
88786
|
-
display:
|
|
88787
|
-
alignItems:
|
|
88788
|
-
justifyContent:
|
|
88789
|
-
borderRadius: sectionproperties.remove_quantitybtn_borderradius +
|
|
88790
|
-
fontSize: sectionproperties.remove_quantitybtn_textfontsize +
|
|
88800
|
+
display: 'flex',
|
|
88801
|
+
alignItems: 'center',
|
|
88802
|
+
justifyContent: 'center',
|
|
88803
|
+
borderRadius: sectionproperties.remove_quantitybtn_borderradius + 'px',
|
|
88804
|
+
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
|
|
88791
88805
|
color: sectionproperties.remove_quantitybtn_textcolor,
|
|
88792
|
-
transition:
|
|
88793
|
-
|
|
88806
|
+
transition: '.3s',
|
|
88807
|
+
':hover': {
|
|
88794
88808
|
color: sectionproperties.remove_quantitybtn_textcoloronhover,
|
|
88795
88809
|
background: sectionproperties.remove_quantitybtn_bgcoloronhover
|
|
88796
88810
|
}
|
|
88797
88811
|
}),
|
|
88798
88812
|
producttotalstyles: glamor.css({
|
|
88799
88813
|
color: sectionproperties.total_color,
|
|
88800
|
-
fontSize: sectionproperties.total_fontsize +
|
|
88814
|
+
fontSize: sectionproperties.total_fontsize + 'px',
|
|
88801
88815
|
fontWeight: 500
|
|
88802
88816
|
}),
|
|
88803
88817
|
productDescStyles: glamor.css({
|
|
88804
88818
|
color: sectionproperties.prodCatColor,
|
|
88805
|
-
fontSize: sectionproperties.prodCatFontSize +
|
|
88819
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
88806
88820
|
textTransform: sectionproperties.prodCatTextTranform,
|
|
88807
88821
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
88808
|
-
transition:
|
|
88809
|
-
marginLeft: sectionproperties.description_marginLeft +
|
|
88810
|
-
marginRight: sectionproperties.description_marginRight +
|
|
88811
|
-
marginBottom: sectionproperties.descriptionMarginBottom +
|
|
88822
|
+
transition: '.3s',
|
|
88823
|
+
marginLeft: sectionproperties.description_marginLeft + 'px',
|
|
88824
|
+
marginRight: sectionproperties.description_marginRight + 'px',
|
|
88825
|
+
marginBottom: sectionproperties.descriptionMarginBottom + 'px'
|
|
88812
88826
|
})
|
|
88813
88827
|
};
|
|
88814
88828
|
var addtocartfunc = function addtocartfunc(type, quantity) {
|
|
88815
88829
|
var addtocardpayloadobj = {
|
|
88816
|
-
functype:
|
|
88830
|
+
functype: 'add',
|
|
88817
88831
|
productid: item.productid,
|
|
88818
|
-
variantid:
|
|
88832
|
+
variantid: '',
|
|
88819
88833
|
quantity: quantity
|
|
88820
88834
|
};
|
|
88821
88835
|
var runfunc = false;
|
|
@@ -88824,13 +88838,13 @@ var MenuCard = function MenuCard(props) {
|
|
|
88824
88838
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
88825
88839
|
runfunc = true;
|
|
88826
88840
|
} else {
|
|
88827
|
-
NotificationManager.warning(
|
|
88841
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
|
|
88828
88842
|
}
|
|
88829
88843
|
} else {
|
|
88830
88844
|
runfunc = true;
|
|
88831
88845
|
}
|
|
88832
88846
|
} else {
|
|
88833
|
-
NotificationManager.warning(
|
|
88847
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
|
|
88834
88848
|
}
|
|
88835
88849
|
if (runfunc == true) {
|
|
88836
88850
|
AddtoCartContext(addtocardpayloadobj);
|
|
@@ -88841,9 +88855,9 @@ var MenuCard = function MenuCard(props) {
|
|
|
88841
88855
|
var _AddtoCartMutationCon;
|
|
88842
88856
|
if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 || (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
|
|
88843
88857
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88844
|
-
"class":
|
|
88858
|
+
"class": ' d-flex align-items-center justify-content-center '
|
|
88845
88859
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
88846
|
-
color:
|
|
88860
|
+
color: '#000',
|
|
88847
88861
|
width: "20px",
|
|
88848
88862
|
height: "20px",
|
|
88849
88863
|
duration: "1s"
|
|
@@ -88859,22 +88873,22 @@ var MenuCard = function MenuCard(props) {
|
|
|
88859
88873
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88860
88874
|
"class": "row m-0 w-100 pl-sm-2 pr-sm-2",
|
|
88861
88875
|
style: {
|
|
88862
|
-
paddingLeft: langdetect !=
|
|
88863
|
-
paddingRight: langdetect !=
|
|
88876
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
88877
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
88864
88878
|
}
|
|
88865
88879
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88866
|
-
"class": "".concat(card_cssstyles.productcard) +
|
|
88880
|
+
"class": "".concat(card_cssstyles.productcard) + ' w-100 pl-sm-0 pr-sm-0 px-sm-2 '
|
|
88867
88881
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88868
88882
|
"class": "row w-100 m-0 d-flex"
|
|
88869
|
-
}, sectionproperties.image_show ==
|
|
88883
|
+
}, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88870
88884
|
onClick: function onClick() {
|
|
88871
|
-
if (props.fetchingtypeprops ==
|
|
88872
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true,
|
|
88885
|
+
if (props.fetchingtypeprops == 'collections') {
|
|
88886
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
88873
88887
|
} else {
|
|
88874
88888
|
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
88875
88889
|
}
|
|
88876
88890
|
},
|
|
88877
|
-
"class": langdetect !=
|
|
88891
|
+
"class": langdetect != 'ar' ? "".concat(card_cssstyles.productcardimagecont) + ' d-flex justify-content-start mr-2 m-sm-0 ' : "".concat(card_cssstyles.productcardimagecont) + ' d-flex justify-content-start ml-2 m-sm-0 ',
|
|
88878
88892
|
style: {}
|
|
88879
88893
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
88880
88894
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -88882,10 +88896,10 @@ var MenuCard = function MenuCard(props) {
|
|
|
88882
88896
|
path: item.image,
|
|
88883
88897
|
loading: "lazy",
|
|
88884
88898
|
style: {
|
|
88885
|
-
width:
|
|
88886
|
-
height:
|
|
88887
|
-
objectFit:
|
|
88888
|
-
cursor:
|
|
88899
|
+
width: '100%',
|
|
88900
|
+
height: '100%',
|
|
88901
|
+
objectFit: 'cover',
|
|
88902
|
+
cursor: 'pointer'
|
|
88889
88903
|
}
|
|
88890
88904
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88891
88905
|
style: {
|
|
@@ -88897,47 +88911,47 @@ var MenuCard = function MenuCard(props) {
|
|
|
88897
88911
|
"class": "col-lg-9 col-md-9 col-sm-12 pl-1 pr-1 mt-2 p-0"
|
|
88898
88912
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88899
88913
|
"class": "row w-100 m-0"
|
|
88900
|
-
}, sectionproperties.prodNameShow ==
|
|
88914
|
+
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88901
88915
|
onClick: function onClick() {
|
|
88902
88916
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
88903
88917
|
},
|
|
88904
88918
|
"class": "col-lg-12 p-0 "
|
|
88905
88919
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
88906
|
-
"class": "".concat(card_cssstyles.productNameStyles) +
|
|
88920
|
+
"class": "".concat(card_cssstyles.productNameStyles) + ' font-md-15 wordbreak wordbreak1 m-0 ',
|
|
88907
88921
|
style: {
|
|
88908
|
-
textAlign: langdetect !=
|
|
88922
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
88909
88923
|
}
|
|
88910
|
-
}, item.name)), sectionproperties.prodCatShow ==
|
|
88911
|
-
"class": sectionproperties.descriptionwordbreak ==
|
|
88924
|
+
}, item.name)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
88925
|
+
"class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 wordbreak wordbreak4 mt-1 ',
|
|
88912
88926
|
style: {
|
|
88913
|
-
textAlign: sectionproperties.productnamecentered ==
|
|
88927
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect != 'ar' ? 'left' : 'right'
|
|
88914
88928
|
},
|
|
88915
88929
|
dangerouslySetInnerHTML: {
|
|
88916
88930
|
__html: item.shortdescription
|
|
88917
88931
|
}
|
|
88918
88932
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88919
88933
|
style: {
|
|
88920
|
-
display:
|
|
88921
|
-
flexDirection:
|
|
88922
|
-
alignContent:
|
|
88934
|
+
display: 'flex',
|
|
88935
|
+
flexDirection: 'column',
|
|
88936
|
+
alignContent: 'space-between'
|
|
88923
88937
|
},
|
|
88924
88938
|
"class": "col-lg-3 col-md-3 col-sm-12 mt-2 p-0"
|
|
88925
88939
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88926
88940
|
"class": "row m-0 w-100 d-flex flex-column flex-sm-column justify-content-end justify-content-sm-start"
|
|
88927
|
-
}, sectionproperties.prodPriceShow ==
|
|
88928
|
-
"class": langdetect !=
|
|
88929
|
-
}, langdetect !=
|
|
88930
|
-
"class": langdetect !=
|
|
88931
|
-
}, langdetect !=
|
|
88932
|
-
"class": langdetect !=
|
|
88933
|
-
}, langdetect !=
|
|
88934
|
-
"class": langdetect !=
|
|
88935
|
-
}, langdetect !=
|
|
88941
|
+
}, sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
88942
|
+
"class": langdetect != 'ar' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
88943
|
+
}, langdetect != 'ar' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect != 'ar' ? '' : item.currencyname), sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
88944
|
+
"class": langdetect != 'ar' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
88945
|
+
}, langdetect != 'ar' ? item.currencyname : '', ' ', item.hassale == 1 ? parseFloat(Number(item.defaultsaleprice).toFixed(2)) : parseFloat(Number(item.defaultprice).toFixed(2)), ' ', langdetect != 'ar' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
88946
|
+
"class": langdetect != 'ar' ? "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3 m-sm-0 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right ml-sm-3 mr-sm-3 m-sm-0 '
|
|
88947
|
+
}, langdetect != 'ar' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect != 'ar' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
88948
|
+
"class": langdetect != 'ar' ? "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3 m-sm-0 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right ml-sm-3 mr-sm-3 m-sm-0 '
|
|
88949
|
+
}, langdetect != 'ar' ? item.currencyname : '', " ", parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect != 'ar' ? '' : item.currencyname)), sectionproperties.quantitybtn_show == 'hide' && sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88936
88950
|
"class": "row m-0 mt-auto w-100"
|
|
88937
88951
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88938
88952
|
"class": "col-lg-12 d-flex justify-content-end p-0"
|
|
88939
88953
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
88940
|
-
"class": "".concat(card_cssstyles.cart_btn) +
|
|
88954
|
+
"class": "".concat(card_cssstyles.cart_btn) + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
88941
88955
|
onClick: function onClick() {
|
|
88942
88956
|
if (item.hasvariants == 0) {
|
|
88943
88957
|
addtocartfunc();
|
|
@@ -88947,22 +88961,22 @@ var MenuCard = function MenuCard(props) {
|
|
|
88947
88961
|
}
|
|
88948
88962
|
}
|
|
88949
88963
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
88950
|
-
"class":
|
|
88951
|
-
}, sectionproperties.carticonstyle ==
|
|
88964
|
+
"class": 'h-100 d-flex align-items-center justify-content-center'
|
|
88965
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
88952
88966
|
"class": "",
|
|
88953
88967
|
size: sectionproperties.cartBtn_iconFontSize
|
|
88954
|
-
}), sectionproperties.carticonstyle ==
|
|
88968
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
88955
88969
|
"class": "",
|
|
88956
88970
|
size: sectionproperties.cartBtn_iconFontSize
|
|
88957
|
-
}), sectionproperties.carticonstyle ==
|
|
88971
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
88958
88972
|
"class": "",
|
|
88959
88973
|
size: sectionproperties.cartBtn_iconFontSize
|
|
88960
|
-
}), sectionproperties.carticonstyle ==
|
|
88974
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
88961
88975
|
size: sectionproperties.cartBtn_iconFontSize
|
|
88962
|
-
}), sectionproperties.carticonstyle ==
|
|
88976
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
88963
88977
|
"class": "",
|
|
88964
88978
|
size: sectionproperties.cartBtn_iconFontSize
|
|
88965
|
-
}), sectionproperties.carticonstyle ==
|
|
88979
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
88966
88980
|
size: sectionproperties.cartBtn_iconFontSize
|
|
88967
88981
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88968
88982
|
"class": "col-lg-12 mt-1 p-0"
|
|
@@ -88970,18 +88984,18 @@ var MenuCard = function MenuCard(props) {
|
|
|
88970
88984
|
"class": "row w-100 m-0"
|
|
88971
88985
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88972
88986
|
"class": "col-lg-6 col-md-6 col-sm-6 p-0 d-flex align-items-center justify-content-start"
|
|
88973
|
-
}, sectionproperties.quantitybtn_show ==
|
|
88987
|
+
}, sectionproperties.quantitybtn_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88974
88988
|
style: {
|
|
88975
|
-
width: sectionproperties.quantitybtn_width +
|
|
88976
|
-
height: sectionproperties.quantitybtn_height +
|
|
88989
|
+
width: sectionproperties.quantitybtn_width + 'px',
|
|
88990
|
+
height: sectionproperties.quantitybtn_height + 'px'
|
|
88977
88991
|
},
|
|
88978
|
-
"class":
|
|
88992
|
+
"class": ' row m-0 d-flex align-items-center '
|
|
88979
88993
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88980
|
-
"class": "".concat(card_cssstyles.quantitybtn) +
|
|
88981
|
-
}, langdetect !=
|
|
88982
|
-
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) +
|
|
88994
|
+
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
|
|
88995
|
+
}, langdetect != 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
88996
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
88983
88997
|
style: {
|
|
88984
|
-
transform:
|
|
88998
|
+
transform: ' rotate(-180deg)'
|
|
88985
88999
|
},
|
|
88986
89000
|
onClick: function onClick() {
|
|
88987
89001
|
if (item.hasvariants == 0) {
|
|
@@ -88992,7 +89006,7 @@ var MenuCard = function MenuCard(props) {
|
|
|
88992
89006
|
tempitem.quantity = 0;
|
|
88993
89007
|
}
|
|
88994
89008
|
setitem(_objectSpread$m({}, tempitem));
|
|
88995
|
-
addtocartfunc(
|
|
89009
|
+
addtocartfunc('add', tempitem.quantity);
|
|
88996
89010
|
} else {
|
|
88997
89011
|
setShowProductInfoModalContext(true);
|
|
88998
89012
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -89001,8 +89015,8 @@ var MenuCard = function MenuCard(props) {
|
|
|
89001
89015
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
89002
89016
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
89003
89017
|
"class": "h-100 allcentered"
|
|
89004
|
-
}, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), langdetect ==
|
|
89005
|
-
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) +
|
|
89018
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
89019
|
+
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
89006
89020
|
onClick: function onClick() {
|
|
89007
89021
|
if (item.hasvariants == 0) {
|
|
89008
89022
|
var tempitem = _objectSpread$m({}, item);
|
|
@@ -89012,7 +89026,7 @@ var MenuCard = function MenuCard(props) {
|
|
|
89012
89026
|
tempitem.quantity = 0;
|
|
89013
89027
|
}
|
|
89014
89028
|
setitem(_objectSpread$m({}, tempitem));
|
|
89015
|
-
addtocartfunc(
|
|
89029
|
+
addtocartfunc('add', tempitem.quantity);
|
|
89016
89030
|
} else {
|
|
89017
89031
|
setShowProductInfoModalContext(true);
|
|
89018
89032
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -89022,17 +89036,17 @@ var MenuCard = function MenuCard(props) {
|
|
|
89022
89036
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
89023
89037
|
"class": "h-100 allcentered"
|
|
89024
89038
|
}, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
89025
|
-
"class": "".concat(card_cssstyles.quantitybtn_text) +
|
|
89039
|
+
"class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
|
|
89026
89040
|
style: {
|
|
89027
89041
|
background: sectionproperties.quantbtntextbgcolor,
|
|
89028
|
-
width: sectionproperties.quantitybtntextwidth +
|
|
89029
|
-
height: sectionproperties.quantitybtntextheight +
|
|
89030
|
-
borderRadius: sectionproperties.addquantitytextborderraduis +
|
|
89042
|
+
width: sectionproperties.quantitybtntextwidth + 'px',
|
|
89043
|
+
height: sectionproperties.quantitybtntextheight + 'px',
|
|
89044
|
+
borderRadius: sectionproperties.addquantitytextborderraduis + 'px'
|
|
89031
89045
|
}
|
|
89032
|
-
}, addtocartbuttonrender()), langdetect ==
|
|
89033
|
-
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) +
|
|
89046
|
+
}, addtocartbuttonrender()), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
89047
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
89034
89048
|
style: {
|
|
89035
|
-
transform:
|
|
89049
|
+
transform: ' rotate(-180deg)'
|
|
89036
89050
|
},
|
|
89037
89051
|
onClick: function onClick() {
|
|
89038
89052
|
if (item.hasvariants == 0) {
|
|
@@ -89043,7 +89057,7 @@ var MenuCard = function MenuCard(props) {
|
|
|
89043
89057
|
tempitem.quantity = 0;
|
|
89044
89058
|
}
|
|
89045
89059
|
setitem(_objectSpread$m({}, tempitem));
|
|
89046
|
-
addtocartfunc(
|
|
89060
|
+
addtocartfunc('add', tempitem.quantity);
|
|
89047
89061
|
} else {
|
|
89048
89062
|
setShowProductInfoModalContext(true);
|
|
89049
89063
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -89052,8 +89066,8 @@ var MenuCard = function MenuCard(props) {
|
|
|
89052
89066
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
89053
89067
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
89054
89068
|
"class": "h-100 allcentered"
|
|
89055
|
-
}, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), langdetect !=
|
|
89056
|
-
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) +
|
|
89069
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), langdetect != 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
89070
|
+
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
89057
89071
|
onClick: function onClick() {
|
|
89058
89072
|
if (item.hasvariants == 0) {
|
|
89059
89073
|
var tempitem = _objectSpread$m({}, item);
|
|
@@ -89063,7 +89077,7 @@ var MenuCard = function MenuCard(props) {
|
|
|
89063
89077
|
tempitem.quantity = 0;
|
|
89064
89078
|
}
|
|
89065
89079
|
setitem(_objectSpread$m({}, tempitem));
|
|
89066
|
-
addtocartfunc(
|
|
89080
|
+
addtocartfunc('add', tempitem.quantity);
|
|
89067
89081
|
} else {
|
|
89068
89082
|
setShowProductInfoModalContext(true);
|
|
89069
89083
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -89074,34 +89088,34 @@ var MenuCard = function MenuCard(props) {
|
|
|
89074
89088
|
"class": "h-100 allcentered"
|
|
89075
89089
|
}, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
89076
89090
|
"class": "col-lg-6 col-md-6 col-sm-6 p-0 d-flex align-items-center justify-content-end"
|
|
89077
|
-
}, sectionproperties.favBtnShow ==
|
|
89078
|
-
"class": card_cssstyles.wishlist_btn +
|
|
89091
|
+
}, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
89092
|
+
"class": card_cssstyles.wishlist_btn + ' ml-2 mr-2',
|
|
89079
89093
|
onClick: function onClick() {
|
|
89080
89094
|
addtofavoritescontext(item.productid);
|
|
89081
89095
|
},
|
|
89082
89096
|
style: {
|
|
89083
|
-
background: item.IsFavExists == true ? sectionproperties.activebgcolor :
|
|
89097
|
+
background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
89084
89098
|
}
|
|
89085
89099
|
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
89086
89100
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
89087
|
-
}, sectionproperties.faviconshape ==
|
|
89101
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
89088
89102
|
size: sectionproperties.favBtnIconfontsize,
|
|
89089
89103
|
style: {
|
|
89090
89104
|
color: sectionproperties.activefaviconcolor
|
|
89091
89105
|
}
|
|
89092
|
-
}), sectionproperties.faviconshape ==
|
|
89106
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
|
|
89093
89107
|
size: sectionproperties.favBtnIconfontsize,
|
|
89094
89108
|
style: {
|
|
89095
89109
|
color: sectionproperties.activefaviconcolor
|
|
89096
89110
|
}
|
|
89097
89111
|
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
89098
89112
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
89099
|
-
}, sectionproperties.faviconshape ==
|
|
89113
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
89100
89114
|
size: sectionproperties.favBtnIconfontsize
|
|
89101
|
-
}), sectionproperties.faviconshape ==
|
|
89115
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
89102
89116
|
size: sectionproperties.favBtnIconfontsize
|
|
89103
|
-
}))), sectionproperties.cartBtnShow ==
|
|
89104
|
-
"class": "".concat(card_cssstyles.cart_btn) +
|
|
89117
|
+
}))), sectionproperties.cartBtnShow == 'Show' && sectionproperties.favBtnShow == 'Show' && sectionproperties.quantitybtn_show == 'show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
89118
|
+
"class": "".concat(card_cssstyles.cart_btn) + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
89105
89119
|
onClick: function onClick() {
|
|
89106
89120
|
if (item.hasvariants == 0) {
|
|
89107
89121
|
addtocartfunc();
|
|
@@ -89111,22 +89125,22 @@ var MenuCard = function MenuCard(props) {
|
|
|
89111
89125
|
}
|
|
89112
89126
|
}
|
|
89113
89127
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
89114
|
-
"class":
|
|
89115
|
-
}, sectionproperties.carticonstyle ==
|
|
89128
|
+
"class": 'h-100 d-flex align-items-center justify-content-center'
|
|
89129
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
89116
89130
|
"class": "",
|
|
89117
89131
|
size: sectionproperties.cartBtn_iconFontSize
|
|
89118
|
-
}), sectionproperties.carticonstyle ==
|
|
89132
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
89119
89133
|
"class": "",
|
|
89120
89134
|
size: sectionproperties.cartBtn_iconFontSize
|
|
89121
|
-
}), sectionproperties.carticonstyle ==
|
|
89135
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
89122
89136
|
"class": "",
|
|
89123
89137
|
size: sectionproperties.cartBtn_iconFontSize
|
|
89124
|
-
}), sectionproperties.carticonstyle ==
|
|
89138
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
89125
89139
|
size: sectionproperties.cartBtn_iconFontSize
|
|
89126
|
-
}), sectionproperties.carticonstyle ==
|
|
89140
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
89127
89141
|
"class": "",
|
|
89128
89142
|
size: sectionproperties.cartBtn_iconFontSize
|
|
89129
|
-
}), sectionproperties.carticonstyle ==
|
|
89143
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
89130
89144
|
size: sectionproperties.cartBtn_iconFontSize
|
|
89131
89145
|
})))))))))));
|
|
89132
89146
|
};
|