tabexseriescomponents 0.0.284 → 0.0.285
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 +38 -86
- package/dist/index.esm.js +38 -86
- package/dist/index.umd.js +38 -86
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -13034,7 +13034,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
13034
13034
|
item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg' ? 'scrollmenuclassnameitemCategorycard_with_trianglebg' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover' ? 'scrollmenuclassnameitemProductcard_with_textonhover' : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled' ? 'scrollmenuclassnameitemCategorycard_slidebgscaled' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? 'scrollmenuclassnameitemProductccard_with_imageontopleft' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_zoominonhover' ? 'scrollmenuclassnameitemProductcard_with_zoominonhover' : item.tabexsectioninfo.sectioncompname == 'Horizontalcard' ? 'scrollmenuclassnameitemProductcard_Horizontalcard' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_fullimage' :
|
|
13035
13035
|
// : item.tabexsectioninfo.sectioncompname == 'Classiccategorycard'
|
|
13036
13036
|
// ? 'scrollmenuclassnameitemClassiccategorycard'
|
|
13037
|
-
item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
|
|
13037
|
+
// item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
|
|
13038
|
+
// ? 'scrollmenuclassnameitemModernProductCard'
|
|
13038
13039
|
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
13039
13040
|
// ? 'scrollmenuclassnameitemSimplecategorycardwithtextbelow'
|
|
13040
13041
|
item.tabexsectioninfo.sectioncompname == 'Productcard7' ? 'scrollmenuclassnameitemProductcard7' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? 'scrollmenuclassnameitemMenuCard' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? 'scrollmenuclassnameitemStylishProductCard' : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage' ? 'scrollmenuclassnameitemProductCardWithTextOnImage' : item.tabexsectioninfo.sectioncompname == 'Card23' ? 'scrollmenuclassnameitemCard23' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'ModernCardWithQuantityButton' ? 'scrollmenuclassnameitemModernCardWithQuantityButton' : item.tabexsectioninfo.sectioncompname == 'CategoryCardwithhoveraction' ? 'scrollmenuclassnameitemCategoryCardwithhoveraction' : item.tabexsectioninfo.sectioncompname == 'CircleCardWithVariants' ? 'scrollmenuclassnameitemCircleCardWithVariants' :
|
|
@@ -41986,6 +41987,8 @@ var FullVideoSection = function FullVideoSection(props) {
|
|
|
41986
41987
|
style: {
|
|
41987
41988
|
display: sectionproperties.sectiontitleshow == 'Hide' && sectionproperties.prodCatShow == 'Hide' && sectionproperties.slideshowText2ContentFontSize == 0 ? 'none' : 'flex'
|
|
41988
41989
|
}
|
|
41990
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41991
|
+
"class": "row m-0 w-100"
|
|
41989
41992
|
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41990
41993
|
"class": ' col-lg-12 p-0 d-flex d-md-none align-items-center ',
|
|
41991
41994
|
style: {
|
|
@@ -42031,7 +42034,7 @@ var FullVideoSection = function FullVideoSection(props) {
|
|
|
42031
42034
|
dangerouslySetInnerHTML: {
|
|
42032
42035
|
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
42033
42036
|
}
|
|
42034
|
-
})));
|
|
42037
|
+
}))));
|
|
42035
42038
|
};
|
|
42036
42039
|
var Video = function Video() {
|
|
42037
42040
|
var _Videosarrayofobjs$;
|
|
@@ -54009,7 +54012,7 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
54009
54012
|
function ownKeys$g(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
54010
54013
|
function _objectSpread$g(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$g(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$g(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
54011
54014
|
var ModernProductCard = function ModernProductCard(props) {
|
|
54012
|
-
var _css;
|
|
54015
|
+
var _css, _css2;
|
|
54013
54016
|
var _useState = React.useState(''),
|
|
54014
54017
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
54015
54018
|
sectionproperties = _useState2[0],
|
|
@@ -54022,7 +54025,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54022
54025
|
props.actions.lang;
|
|
54023
54026
|
var langdetect = props.actions.langdetect;
|
|
54024
54027
|
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
54025
|
-
|
|
54028
|
+
props.actions.addtofavoritescontext;
|
|
54026
54029
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
54027
54030
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
54028
54031
|
props.actions.AddtoCartMutationContext;
|
|
@@ -54030,7 +54033,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54030
54033
|
props.actions.routingcountext;
|
|
54031
54034
|
var NotificationManager = NotificationManager;
|
|
54032
54035
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
54033
|
-
|
|
54036
|
+
props.actions.ikimagecredcontext;
|
|
54034
54037
|
var updatequantity = function updatequantity(type) {
|
|
54035
54038
|
var tempitem = _objectSpread$g({}, item);
|
|
54036
54039
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
@@ -54098,7 +54101,16 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54098
54101
|
};
|
|
54099
54102
|
var card_cssstyles = {
|
|
54100
54103
|
productcard: glamor.css({
|
|
54104
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
54105
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
54106
|
+
'@media (max-width: 800px)': {
|
|
54107
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
54108
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
|
|
54109
|
+
}
|
|
54110
|
+
}),
|
|
54111
|
+
innerproductcard: glamor.css((_css = {
|
|
54101
54112
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
54113
|
+
opacity: sectionproperties.cardbg_opacity,
|
|
54102
54114
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
54103
54115
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
54104
54116
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
@@ -54109,13 +54121,16 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54109
54121
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
54110
54122
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
54111
54123
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
54124
|
+
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
|
54112
54125
|
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
54113
|
-
|
|
54114
|
-
|
|
54115
|
-
|
|
54116
|
-
|
|
54117
|
-
|
|
54118
|
-
|
|
54126
|
+
color: sectionproperties.prodNameColor
|
|
54127
|
+
}, _defineProperty__default["default"](_css, "opacity", sectionproperties.cardbg_opacity), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, ':hover', _defineProperty__default["default"]({
|
|
54128
|
+
opacity: sectionproperties.bgopacityonhover,
|
|
54129
|
+
color: sectionproperties.prodNameColorOnHover
|
|
54130
|
+
}, "opacity", sectionproperties.bgopacityonhover)), _defineProperty__default["default"](_css, ':hover .buttoncont', {
|
|
54131
|
+
bottom: '30%',
|
|
54132
|
+
opacity: 1
|
|
54133
|
+
}), _css)),
|
|
54119
54134
|
productcardimagecont: glamor.css({
|
|
54120
54135
|
position: 'relative',
|
|
54121
54136
|
overflow: 'hidden',
|
|
@@ -54172,11 +54187,11 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54172
54187
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
54173
54188
|
}
|
|
54174
54189
|
}),
|
|
54175
|
-
quantitybtn: glamor.css((
|
|
54190
|
+
quantitybtn: glamor.css((_css2 = {
|
|
54176
54191
|
flex: 1,
|
|
54177
54192
|
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
|
|
54178
54193
|
height: sectionproperties.quantitybtn_height + 'px'
|
|
54179
|
-
}, _defineProperty__default["default"](
|
|
54194
|
+
}, _defineProperty__default["default"](_css2, "height", '40px'), _defineProperty__default["default"](_css2, "display", 'flex'), _defineProperty__default["default"](_css2, "flexDirection", 'row'), _defineProperty__default["default"](_css2, "overflow", 'hidden'), _defineProperty__default["default"](_css2, "borderRadius", sectionproperties.quantitybtn_borderradius + 'px'), _defineProperty__default["default"](_css2, "background", sectionproperties.quantitybtn_bgcolor), _defineProperty__default["default"](_css2, "alignItems", 'center'), _defineProperty__default["default"](_css2, "justifyContent", 'center'), _defineProperty__default["default"](_css2, "margin", 0), _defineProperty__default["default"](_css2, "position", 'relative'), _defineProperty__default["default"](_css2, "fontWeight", sectionproperties.quantitybtn_textfontweight), _defineProperty__default["default"](_css2, "color", sectionproperties.quantitybtn_textcolor), _defineProperty__default["default"](_css2, "fontSize", sectionproperties.quantitybtn_textfontsize + 'px'), _css2)),
|
|
54180
54195
|
quantitybtn_text: glamor.css({
|
|
54181
54196
|
margin: 'auto'
|
|
54182
54197
|
}),
|
|
@@ -54231,82 +54246,19 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54231
54246
|
})
|
|
54232
54247
|
};
|
|
54233
54248
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54234
|
-
"class": "
|
|
54249
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 p-md-0 ' : " ".concat(card_cssstyles.productcard),
|
|
54235
54250
|
style: {
|
|
54236
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.
|
|
54237
|
-
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.
|
|
54251
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
54252
|
+
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
54238
54253
|
}
|
|
54254
|
+
// class="row m-0 w-100"
|
|
54255
|
+
// style={{
|
|
54256
|
+
// paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
54257
|
+
// paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginRight + 'px',
|
|
54258
|
+
// }}
|
|
54239
54259
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54240
|
-
"class": "".concat(card_cssstyles.
|
|
54241
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54242
|
-
onClick: function onClick() {
|
|
54243
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
54244
|
-
},
|
|
54245
|
-
"class": "".concat(card_cssstyles.productcardimagecont) + ' p-0 ',
|
|
54246
|
-
style: {
|
|
54247
|
-
marginBottom: sectionproperties.image_mb + 'px',
|
|
54248
|
-
overflow: 'hidden'
|
|
54249
|
-
}
|
|
54250
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
54251
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
54252
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
54253
|
-
path: item.image,
|
|
54254
|
-
loading: "lazy",
|
|
54255
|
-
style: {
|
|
54256
|
-
width: '100%',
|
|
54257
|
-
height: '100%',
|
|
54258
|
-
objectFit: 'contain'
|
|
54259
|
-
}
|
|
54260
|
-
}), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
54261
|
-
"class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
54262
|
-
onClick: function onClick(e) {
|
|
54263
|
-
e.stopPropagation();
|
|
54264
|
-
addtofavoritescontext(item.productid);
|
|
54265
|
-
},
|
|
54266
|
-
style: {
|
|
54267
|
-
position: 'absolute',
|
|
54268
|
-
top: 10,
|
|
54269
|
-
right: langdetect == 'en' ? 10 : 0,
|
|
54270
|
-
left: langdetect == 'en' ? 0 : 10,
|
|
54271
|
-
background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
54272
|
-
}
|
|
54273
|
-
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54274
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54275
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar.AiFillStar, {
|
|
54276
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
54277
|
-
style: {
|
|
54278
|
-
color: sectionproperties.activefaviconcolor
|
|
54279
|
-
}
|
|
54280
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart.FaHeart, {
|
|
54281
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
54282
|
-
style: {
|
|
54283
|
-
color: sectionproperties.activefaviconcolor
|
|
54284
|
-
}
|
|
54285
|
-
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54286
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54287
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
54288
|
-
size: sectionproperties.favBtnIconfontsize
|
|
54289
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
54290
|
-
size: sectionproperties.favBtnIconfontsize
|
|
54291
|
-
}))), sectionproperties.prodsalePriceshow == 'Show' && (item === null || item === void 0 ? void 0 : item.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54292
|
-
"class": "allcentered",
|
|
54293
|
-
style: {
|
|
54294
|
-
position: 'absolute',
|
|
54295
|
-
top: 10,
|
|
54296
|
-
right: langdetect == 'en' ? 10 : '',
|
|
54297
|
-
left: langdetect == 'en' ? '' : 10,
|
|
54298
|
-
width: sectionproperties.badge_width + 'px',
|
|
54299
|
-
height: sectionproperties.badge_height + 'px',
|
|
54300
|
-
background: sectionproperties.badge_bgcolor,
|
|
54301
|
-
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
54302
|
-
}
|
|
54303
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
54304
|
-
"class": "m-0 p-0",
|
|
54305
|
-
style: {
|
|
54306
|
-
color: sectionproperties.badge_color,
|
|
54307
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
54308
|
-
}
|
|
54309
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr))), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54260
|
+
"class": "".concat(card_cssstyles.innerproductcard) + ' w-100 '
|
|
54261
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54310
54262
|
"class": "row m-0 w-100"
|
|
54311
54263
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54312
54264
|
onClick: function onClick() {
|
package/dist/index.esm.js
CHANGED
|
@@ -12987,7 +12987,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
12987
12987
|
item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg' ? 'scrollmenuclassnameitemCategorycard_with_trianglebg' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover' ? 'scrollmenuclassnameitemProductcard_with_textonhover' : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled' ? 'scrollmenuclassnameitemCategorycard_slidebgscaled' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? 'scrollmenuclassnameitemProductccard_with_imageontopleft' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_zoominonhover' ? 'scrollmenuclassnameitemProductcard_with_zoominonhover' : item.tabexsectioninfo.sectioncompname == 'Horizontalcard' ? 'scrollmenuclassnameitemProductcard_Horizontalcard' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_fullimage' :
|
|
12988
12988
|
// : item.tabexsectioninfo.sectioncompname == 'Classiccategorycard'
|
|
12989
12989
|
// ? 'scrollmenuclassnameitemClassiccategorycard'
|
|
12990
|
-
item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
|
|
12990
|
+
// item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
|
|
12991
|
+
// ? 'scrollmenuclassnameitemModernProductCard'
|
|
12991
12992
|
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
12992
12993
|
// ? 'scrollmenuclassnameitemSimplecategorycardwithtextbelow'
|
|
12993
12994
|
item.tabexsectioninfo.sectioncompname == 'Productcard7' ? 'scrollmenuclassnameitemProductcard7' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? 'scrollmenuclassnameitemMenuCard' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? 'scrollmenuclassnameitemStylishProductCard' : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage' ? 'scrollmenuclassnameitemProductCardWithTextOnImage' : item.tabexsectioninfo.sectioncompname == 'Card23' ? 'scrollmenuclassnameitemCard23' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'ModernCardWithQuantityButton' ? 'scrollmenuclassnameitemModernCardWithQuantityButton' : item.tabexsectioninfo.sectioncompname == 'CategoryCardwithhoveraction' ? 'scrollmenuclassnameitemCategoryCardwithhoveraction' : item.tabexsectioninfo.sectioncompname == 'CircleCardWithVariants' ? 'scrollmenuclassnameitemCircleCardWithVariants' :
|
|
@@ -41939,6 +41940,8 @@ var FullVideoSection = function FullVideoSection(props) {
|
|
|
41939
41940
|
style: {
|
|
41940
41941
|
display: sectionproperties.sectiontitleshow == 'Hide' && sectionproperties.prodCatShow == 'Hide' && sectionproperties.slideshowText2ContentFontSize == 0 ? 'none' : 'flex'
|
|
41941
41942
|
}
|
|
41943
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
41944
|
+
"class": "row m-0 w-100"
|
|
41942
41945
|
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
41943
41946
|
"class": ' col-lg-12 p-0 d-flex d-md-none align-items-center ',
|
|
41944
41947
|
style: {
|
|
@@ -41984,7 +41987,7 @@ var FullVideoSection = function FullVideoSection(props) {
|
|
|
41984
41987
|
dangerouslySetInnerHTML: {
|
|
41985
41988
|
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
41986
41989
|
}
|
|
41987
|
-
})));
|
|
41990
|
+
}))));
|
|
41988
41991
|
};
|
|
41989
41992
|
var Video = function Video() {
|
|
41990
41993
|
var _Videosarrayofobjs$;
|
|
@@ -53962,7 +53965,7 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
53962
53965
|
function ownKeys$g(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
53963
53966
|
function _objectSpread$g(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$g(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$g(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
53964
53967
|
var ModernProductCard = function ModernProductCard(props) {
|
|
53965
|
-
var _css;
|
|
53968
|
+
var _css, _css2;
|
|
53966
53969
|
var _useState = useState(''),
|
|
53967
53970
|
_useState2 = _slicedToArray(_useState, 2),
|
|
53968
53971
|
sectionproperties = _useState2[0],
|
|
@@ -53975,7 +53978,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
53975
53978
|
props.actions.lang;
|
|
53976
53979
|
var langdetect = props.actions.langdetect;
|
|
53977
53980
|
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
53978
|
-
|
|
53981
|
+
props.actions.addtofavoritescontext;
|
|
53979
53982
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
53980
53983
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
53981
53984
|
props.actions.AddtoCartMutationContext;
|
|
@@ -53983,7 +53986,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
53983
53986
|
props.actions.routingcountext;
|
|
53984
53987
|
var NotificationManager = NotificationManager;
|
|
53985
53988
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
53986
|
-
|
|
53989
|
+
props.actions.ikimagecredcontext;
|
|
53987
53990
|
var updatequantity = function updatequantity(type) {
|
|
53988
53991
|
var tempitem = _objectSpread$g({}, item);
|
|
53989
53992
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
@@ -54051,7 +54054,16 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54051
54054
|
};
|
|
54052
54055
|
var card_cssstyles = {
|
|
54053
54056
|
productcard: css({
|
|
54057
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
54058
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
54059
|
+
'@media (max-width: 800px)': {
|
|
54060
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
54061
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
|
|
54062
|
+
}
|
|
54063
|
+
}),
|
|
54064
|
+
innerproductcard: css((_css = {
|
|
54054
54065
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
54066
|
+
opacity: sectionproperties.cardbg_opacity,
|
|
54055
54067
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
54056
54068
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
54057
54069
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
@@ -54062,13 +54074,16 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54062
54074
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
54063
54075
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
54064
54076
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
54077
|
+
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
|
54065
54078
|
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
54066
|
-
|
|
54067
|
-
|
|
54068
|
-
|
|
54069
|
-
|
|
54070
|
-
|
|
54071
|
-
|
|
54079
|
+
color: sectionproperties.prodNameColor
|
|
54080
|
+
}, _defineProperty(_css, "opacity", sectionproperties.cardbg_opacity), _defineProperty(_css, "transition", '.3s'), _defineProperty(_css, ':hover', _defineProperty({
|
|
54081
|
+
opacity: sectionproperties.bgopacityonhover,
|
|
54082
|
+
color: sectionproperties.prodNameColorOnHover
|
|
54083
|
+
}, "opacity", sectionproperties.bgopacityonhover)), _defineProperty(_css, ':hover .buttoncont', {
|
|
54084
|
+
bottom: '30%',
|
|
54085
|
+
opacity: 1
|
|
54086
|
+
}), _css)),
|
|
54072
54087
|
productcardimagecont: css({
|
|
54073
54088
|
position: 'relative',
|
|
54074
54089
|
overflow: 'hidden',
|
|
@@ -54125,11 +54140,11 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54125
54140
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
54126
54141
|
}
|
|
54127
54142
|
}),
|
|
54128
|
-
quantitybtn: css((
|
|
54143
|
+
quantitybtn: css((_css2 = {
|
|
54129
54144
|
flex: 1,
|
|
54130
54145
|
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
|
|
54131
54146
|
height: sectionproperties.quantitybtn_height + 'px'
|
|
54132
|
-
}, _defineProperty(
|
|
54147
|
+
}, _defineProperty(_css2, "height", '40px'), _defineProperty(_css2, "display", 'flex'), _defineProperty(_css2, "flexDirection", 'row'), _defineProperty(_css2, "overflow", 'hidden'), _defineProperty(_css2, "borderRadius", sectionproperties.quantitybtn_borderradius + 'px'), _defineProperty(_css2, "background", sectionproperties.quantitybtn_bgcolor), _defineProperty(_css2, "alignItems", 'center'), _defineProperty(_css2, "justifyContent", 'center'), _defineProperty(_css2, "margin", 0), _defineProperty(_css2, "position", 'relative'), _defineProperty(_css2, "fontWeight", sectionproperties.quantitybtn_textfontweight), _defineProperty(_css2, "color", sectionproperties.quantitybtn_textcolor), _defineProperty(_css2, "fontSize", sectionproperties.quantitybtn_textfontsize + 'px'), _css2)),
|
|
54133
54148
|
quantitybtn_text: css({
|
|
54134
54149
|
margin: 'auto'
|
|
54135
54150
|
}),
|
|
@@ -54184,82 +54199,19 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54184
54199
|
})
|
|
54185
54200
|
};
|
|
54186
54201
|
return /*#__PURE__*/React.createElement("div", {
|
|
54187
|
-
"class": "
|
|
54202
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 p-md-0 ' : " ".concat(card_cssstyles.productcard),
|
|
54188
54203
|
style: {
|
|
54189
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.
|
|
54190
|
-
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.
|
|
54204
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
54205
|
+
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
54191
54206
|
}
|
|
54207
|
+
// class="row m-0 w-100"
|
|
54208
|
+
// style={{
|
|
54209
|
+
// paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
54210
|
+
// paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginRight + 'px',
|
|
54211
|
+
// }}
|
|
54192
54212
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
54193
|
-
"class": "".concat(card_cssstyles.
|
|
54194
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
54195
|
-
onClick: function onClick() {
|
|
54196
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
54197
|
-
},
|
|
54198
|
-
"class": "".concat(card_cssstyles.productcardimagecont) + ' p-0 ',
|
|
54199
|
-
style: {
|
|
54200
|
-
marginBottom: sectionproperties.image_mb + 'px',
|
|
54201
|
-
overflow: 'hidden'
|
|
54202
|
-
}
|
|
54203
|
-
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
54204
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
54205
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
54206
|
-
path: item.image,
|
|
54207
|
-
loading: "lazy",
|
|
54208
|
-
style: {
|
|
54209
|
-
width: '100%',
|
|
54210
|
-
height: '100%',
|
|
54211
|
-
objectFit: 'contain'
|
|
54212
|
-
}
|
|
54213
|
-
}), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
54214
|
-
"class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
54215
|
-
onClick: function onClick(e) {
|
|
54216
|
-
e.stopPropagation();
|
|
54217
|
-
addtofavoritescontext(item.productid);
|
|
54218
|
-
},
|
|
54219
|
-
style: {
|
|
54220
|
-
position: 'absolute',
|
|
54221
|
-
top: 10,
|
|
54222
|
-
right: langdetect == 'en' ? 10 : 0,
|
|
54223
|
-
left: langdetect == 'en' ? 0 : 10,
|
|
54224
|
-
background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
54225
|
-
}
|
|
54226
|
-
}, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
54227
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54228
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar, {
|
|
54229
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
54230
|
-
style: {
|
|
54231
|
-
color: sectionproperties.activefaviconcolor
|
|
54232
|
-
}
|
|
54233
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart, {
|
|
54234
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
54235
|
-
style: {
|
|
54236
|
-
color: sectionproperties.activefaviconcolor
|
|
54237
|
-
}
|
|
54238
|
-
})), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
54239
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54240
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
|
|
54241
|
-
size: sectionproperties.favBtnIconfontsize
|
|
54242
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
54243
|
-
size: sectionproperties.favBtnIconfontsize
|
|
54244
|
-
}))), sectionproperties.prodsalePriceshow == 'Show' && (item === null || item === void 0 ? void 0 : item.hassale) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
54245
|
-
"class": "allcentered",
|
|
54246
|
-
style: {
|
|
54247
|
-
position: 'absolute',
|
|
54248
|
-
top: 10,
|
|
54249
|
-
right: langdetect == 'en' ? 10 : '',
|
|
54250
|
-
left: langdetect == 'en' ? '' : 10,
|
|
54251
|
-
width: sectionproperties.badge_width + 'px',
|
|
54252
|
-
height: sectionproperties.badge_height + 'px',
|
|
54253
|
-
background: sectionproperties.badge_bgcolor,
|
|
54254
|
-
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
54255
|
-
}
|
|
54256
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
54257
|
-
"class": "m-0 p-0",
|
|
54258
|
-
style: {
|
|
54259
|
-
color: sectionproperties.badge_color,
|
|
54260
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
54261
|
-
}
|
|
54262
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr))), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
54213
|
+
"class": "".concat(card_cssstyles.innerproductcard) + ' w-100 '
|
|
54214
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
54263
54215
|
"class": "row m-0 w-100"
|
|
54264
54216
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
54265
54217
|
onClick: function onClick() {
|
package/dist/index.umd.js
CHANGED
|
@@ -12879,7 +12879,8 @@
|
|
|
12879
12879
|
item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg' ? 'scrollmenuclassnameitemCategorycard_with_trianglebg' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover' ? 'scrollmenuclassnameitemProductcard_with_textonhover' : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled' ? 'scrollmenuclassnameitemCategorycard_slidebgscaled' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? 'scrollmenuclassnameitemProductccard_with_imageontopleft' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_zoominonhover' ? 'scrollmenuclassnameitemProductcard_with_zoominonhover' : item.tabexsectioninfo.sectioncompname == 'Horizontalcard' ? 'scrollmenuclassnameitemProductcard_Horizontalcard' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_fullimage' :
|
|
12880
12880
|
// : item.tabexsectioninfo.sectioncompname == 'Classiccategorycard'
|
|
12881
12881
|
// ? 'scrollmenuclassnameitemClassiccategorycard'
|
|
12882
|
-
item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
|
|
12882
|
+
// item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
|
|
12883
|
+
// ? 'scrollmenuclassnameitemModernProductCard'
|
|
12883
12884
|
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
12884
12885
|
// ? 'scrollmenuclassnameitemSimplecategorycardwithtextbelow'
|
|
12885
12886
|
item.tabexsectioninfo.sectioncompname == 'Productcard7' ? 'scrollmenuclassnameitemProductcard7' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? 'scrollmenuclassnameitemMenuCard' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? 'scrollmenuclassnameitemStylishProductCard' : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage' ? 'scrollmenuclassnameitemProductCardWithTextOnImage' : item.tabexsectioninfo.sectioncompname == 'Card23' ? 'scrollmenuclassnameitemCard23' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'ModernCardWithQuantityButton' ? 'scrollmenuclassnameitemModernCardWithQuantityButton' : item.tabexsectioninfo.sectioncompname == 'CategoryCardwithhoveraction' ? 'scrollmenuclassnameitemCategoryCardwithhoveraction' : item.tabexsectioninfo.sectioncompname == 'CircleCardWithVariants' ? 'scrollmenuclassnameitemCircleCardWithVariants' :
|
|
@@ -41831,6 +41832,8 @@
|
|
|
41831
41832
|
style: {
|
|
41832
41833
|
display: sectionproperties.sectiontitleshow == 'Hide' && sectionproperties.prodCatShow == 'Hide' && sectionproperties.slideshowText2ContentFontSize == 0 ? 'none' : 'flex'
|
|
41833
41834
|
}
|
|
41835
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41836
|
+
"class": "row m-0 w-100"
|
|
41834
41837
|
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41835
41838
|
"class": ' col-lg-12 p-0 d-flex d-md-none align-items-center ',
|
|
41836
41839
|
style: {
|
|
@@ -41876,7 +41879,7 @@
|
|
|
41876
41879
|
dangerouslySetInnerHTML: {
|
|
41877
41880
|
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
41878
41881
|
}
|
|
41879
|
-
})));
|
|
41882
|
+
}))));
|
|
41880
41883
|
};
|
|
41881
41884
|
var Video = function Video() {
|
|
41882
41885
|
var _Videosarrayofobjs$;
|
|
@@ -53854,7 +53857,7 @@
|
|
|
53854
53857
|
function ownKeys$g(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
53855
53858
|
function _objectSpread$g(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$g(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$g(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
53856
53859
|
var ModernProductCard = function ModernProductCard(props) {
|
|
53857
|
-
var _css;
|
|
53860
|
+
var _css, _css2;
|
|
53858
53861
|
var _useState = React.useState(''),
|
|
53859
53862
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
53860
53863
|
sectionproperties = _useState2[0],
|
|
@@ -53867,7 +53870,7 @@
|
|
|
53867
53870
|
props.actions.lang;
|
|
53868
53871
|
var langdetect = props.actions.langdetect;
|
|
53869
53872
|
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
53870
|
-
|
|
53873
|
+
props.actions.addtofavoritescontext;
|
|
53871
53874
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
53872
53875
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
53873
53876
|
props.actions.AddtoCartMutationContext;
|
|
@@ -53875,7 +53878,7 @@
|
|
|
53875
53878
|
props.actions.routingcountext;
|
|
53876
53879
|
var NotificationManager = NotificationManager;
|
|
53877
53880
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
53878
|
-
|
|
53881
|
+
props.actions.ikimagecredcontext;
|
|
53879
53882
|
var updatequantity = function updatequantity(type) {
|
|
53880
53883
|
var tempitem = _objectSpread$g({}, item);
|
|
53881
53884
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
@@ -53943,7 +53946,16 @@
|
|
|
53943
53946
|
};
|
|
53944
53947
|
var card_cssstyles = {
|
|
53945
53948
|
productcard: glamor.css({
|
|
53949
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
53950
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
53951
|
+
'@media (max-width: 800px)': {
|
|
53952
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
53953
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
|
|
53954
|
+
}
|
|
53955
|
+
}),
|
|
53956
|
+
innerproductcard: glamor.css((_css = {
|
|
53946
53957
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
53958
|
+
opacity: sectionproperties.cardbg_opacity,
|
|
53947
53959
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
53948
53960
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
53949
53961
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
@@ -53954,13 +53966,16 @@
|
|
|
53954
53966
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
53955
53967
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
53956
53968
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
53969
|
+
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
|
53957
53970
|
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
53958
|
-
|
|
53959
|
-
|
|
53960
|
-
|
|
53961
|
-
|
|
53962
|
-
|
|
53963
|
-
|
|
53971
|
+
color: sectionproperties.prodNameColor
|
|
53972
|
+
}, _defineProperty__default["default"](_css, "opacity", sectionproperties.cardbg_opacity), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, ':hover', _defineProperty__default["default"]({
|
|
53973
|
+
opacity: sectionproperties.bgopacityonhover,
|
|
53974
|
+
color: sectionproperties.prodNameColorOnHover
|
|
53975
|
+
}, "opacity", sectionproperties.bgopacityonhover)), _defineProperty__default["default"](_css, ':hover .buttoncont', {
|
|
53976
|
+
bottom: '30%',
|
|
53977
|
+
opacity: 1
|
|
53978
|
+
}), _css)),
|
|
53964
53979
|
productcardimagecont: glamor.css({
|
|
53965
53980
|
position: 'relative',
|
|
53966
53981
|
overflow: 'hidden',
|
|
@@ -54017,11 +54032,11 @@
|
|
|
54017
54032
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
54018
54033
|
}
|
|
54019
54034
|
}),
|
|
54020
|
-
quantitybtn: glamor.css((
|
|
54035
|
+
quantitybtn: glamor.css((_css2 = {
|
|
54021
54036
|
flex: 1,
|
|
54022
54037
|
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
|
|
54023
54038
|
height: sectionproperties.quantitybtn_height + 'px'
|
|
54024
|
-
}, _defineProperty__default["default"](
|
|
54039
|
+
}, _defineProperty__default["default"](_css2, "height", '40px'), _defineProperty__default["default"](_css2, "display", 'flex'), _defineProperty__default["default"](_css2, "flexDirection", 'row'), _defineProperty__default["default"](_css2, "overflow", 'hidden'), _defineProperty__default["default"](_css2, "borderRadius", sectionproperties.quantitybtn_borderradius + 'px'), _defineProperty__default["default"](_css2, "background", sectionproperties.quantitybtn_bgcolor), _defineProperty__default["default"](_css2, "alignItems", 'center'), _defineProperty__default["default"](_css2, "justifyContent", 'center'), _defineProperty__default["default"](_css2, "margin", 0), _defineProperty__default["default"](_css2, "position", 'relative'), _defineProperty__default["default"](_css2, "fontWeight", sectionproperties.quantitybtn_textfontweight), _defineProperty__default["default"](_css2, "color", sectionproperties.quantitybtn_textcolor), _defineProperty__default["default"](_css2, "fontSize", sectionproperties.quantitybtn_textfontsize + 'px'), _css2)),
|
|
54025
54040
|
quantitybtn_text: glamor.css({
|
|
54026
54041
|
margin: 'auto'
|
|
54027
54042
|
}),
|
|
@@ -54076,82 +54091,19 @@
|
|
|
54076
54091
|
})
|
|
54077
54092
|
};
|
|
54078
54093
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54079
|
-
"class": "
|
|
54094
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 p-md-0 ' : " ".concat(card_cssstyles.productcard),
|
|
54080
54095
|
style: {
|
|
54081
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.
|
|
54082
|
-
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.
|
|
54096
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
54097
|
+
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
54083
54098
|
}
|
|
54099
|
+
// class="row m-0 w-100"
|
|
54100
|
+
// style={{
|
|
54101
|
+
// paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
54102
|
+
// paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginRight + 'px',
|
|
54103
|
+
// }}
|
|
54084
54104
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54085
|
-
"class": "".concat(card_cssstyles.
|
|
54086
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54087
|
-
onClick: function onClick() {
|
|
54088
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
54089
|
-
},
|
|
54090
|
-
"class": "".concat(card_cssstyles.productcardimagecont) + ' p-0 ',
|
|
54091
|
-
style: {
|
|
54092
|
-
marginBottom: sectionproperties.image_mb + 'px',
|
|
54093
|
-
overflow: 'hidden'
|
|
54094
|
-
}
|
|
54095
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
54096
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
54097
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
54098
|
-
path: item.image,
|
|
54099
|
-
loading: "lazy",
|
|
54100
|
-
style: {
|
|
54101
|
-
width: '100%',
|
|
54102
|
-
height: '100%',
|
|
54103
|
-
objectFit: 'contain'
|
|
54104
|
-
}
|
|
54105
|
-
}), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
54106
|
-
"class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
54107
|
-
onClick: function onClick(e) {
|
|
54108
|
-
e.stopPropagation();
|
|
54109
|
-
addtofavoritescontext(item.productid);
|
|
54110
|
-
},
|
|
54111
|
-
style: {
|
|
54112
|
-
position: 'absolute',
|
|
54113
|
-
top: 10,
|
|
54114
|
-
right: langdetect == 'en' ? 10 : 0,
|
|
54115
|
-
left: langdetect == 'en' ? 0 : 10,
|
|
54116
|
-
background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
54117
|
-
}
|
|
54118
|
-
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54119
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54120
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar.AiFillStar, {
|
|
54121
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
54122
|
-
style: {
|
|
54123
|
-
color: sectionproperties.activefaviconcolor
|
|
54124
|
-
}
|
|
54125
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart.FaHeart, {
|
|
54126
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
54127
|
-
style: {
|
|
54128
|
-
color: sectionproperties.activefaviconcolor
|
|
54129
|
-
}
|
|
54130
|
-
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54131
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54132
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
54133
|
-
size: sectionproperties.favBtnIconfontsize
|
|
54134
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
54135
|
-
size: sectionproperties.favBtnIconfontsize
|
|
54136
|
-
}))), sectionproperties.prodsalePriceshow == 'Show' && (item === null || item === void 0 ? void 0 : item.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54137
|
-
"class": "allcentered",
|
|
54138
|
-
style: {
|
|
54139
|
-
position: 'absolute',
|
|
54140
|
-
top: 10,
|
|
54141
|
-
right: langdetect == 'en' ? 10 : '',
|
|
54142
|
-
left: langdetect == 'en' ? '' : 10,
|
|
54143
|
-
width: sectionproperties.badge_width + 'px',
|
|
54144
|
-
height: sectionproperties.badge_height + 'px',
|
|
54145
|
-
background: sectionproperties.badge_bgcolor,
|
|
54146
|
-
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
54147
|
-
}
|
|
54148
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
54149
|
-
"class": "m-0 p-0",
|
|
54150
|
-
style: {
|
|
54151
|
-
color: sectionproperties.badge_color,
|
|
54152
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
54153
|
-
}
|
|
54154
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr))), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54105
|
+
"class": "".concat(card_cssstyles.innerproductcard) + ' w-100 '
|
|
54106
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54155
54107
|
"class": "row m-0 w-100"
|
|
54156
54108
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54157
54109
|
onClick: function onClick() {
|