tabexseriescomponents 0.0.283 → 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 +43 -88
- package/dist/index.esm.js +43 -88
- package/dist/index.umd.js +43 -88
- package/package.json +1 -1
- package/src.zip +0 -0
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' :
|
|
@@ -13293,14 +13294,17 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
13293
13294
|
height: "10px",
|
|
13294
13295
|
duration: "1s"
|
|
13295
13296
|
}))), !SearchHeaderMutationContext.isLoading && SearchHeaderMutationContext.isSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13296
|
-
"class": "".concat(searchlist_styles.searchlist_innercontainer) + ' subscrollbar row m-0 w-100 d-flex justify-content-center p-0 '
|
|
13297
|
+
"class": "".concat(searchlist_styles.searchlist_innercontainer) + ' subscrollbar row m-0 w-100 d-flex justify-content-center p-0 ',
|
|
13298
|
+
style: {
|
|
13299
|
+
overflowX: 'hidden'
|
|
13300
|
+
}
|
|
13297
13301
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13298
13302
|
"class": "col-lg-12 m-0 w-100 p-0"
|
|
13299
13303
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13300
13304
|
"class": "row m-0 w-100"
|
|
13301
13305
|
}, SearchHeaderMutationContext.data.data.products.map(function (item, index) {
|
|
13302
13306
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13303
|
-
"class": sectionproperties.searchliststyle == 'Vertical' ? 'col-lg-12
|
|
13307
|
+
"class": sectionproperties.searchliststyle == 'Vertical' ? 'col-lg-12 m-0 w-100 p-1 pt-0 pb-0' : 'col-lg-12 m-0 w-100 p-1 pt-0 pb-0 d-none d-md-flex',
|
|
13304
13308
|
style: {
|
|
13305
13309
|
zIndex: 1000
|
|
13306
13310
|
},
|
|
@@ -41983,6 +41987,8 @@ var FullVideoSection = function FullVideoSection(props) {
|
|
|
41983
41987
|
style: {
|
|
41984
41988
|
display: sectionproperties.sectiontitleshow == 'Hide' && sectionproperties.prodCatShow == 'Hide' && sectionproperties.slideshowText2ContentFontSize == 0 ? 'none' : 'flex'
|
|
41985
41989
|
}
|
|
41990
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41991
|
+
"class": "row m-0 w-100"
|
|
41986
41992
|
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41987
41993
|
"class": ' col-lg-12 p-0 d-flex d-md-none align-items-center ',
|
|
41988
41994
|
style: {
|
|
@@ -42028,7 +42034,7 @@ var FullVideoSection = function FullVideoSection(props) {
|
|
|
42028
42034
|
dangerouslySetInnerHTML: {
|
|
42029
42035
|
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
42030
42036
|
}
|
|
42031
|
-
})));
|
|
42037
|
+
}))));
|
|
42032
42038
|
};
|
|
42033
42039
|
var Video = function Video() {
|
|
42034
42040
|
var _Videosarrayofobjs$;
|
|
@@ -54006,7 +54012,7 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
54006
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; }
|
|
54007
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; }
|
|
54008
54014
|
var ModernProductCard = function ModernProductCard(props) {
|
|
54009
|
-
var _css;
|
|
54015
|
+
var _css, _css2;
|
|
54010
54016
|
var _useState = React.useState(''),
|
|
54011
54017
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
54012
54018
|
sectionproperties = _useState2[0],
|
|
@@ -54019,7 +54025,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54019
54025
|
props.actions.lang;
|
|
54020
54026
|
var langdetect = props.actions.langdetect;
|
|
54021
54027
|
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
54022
|
-
|
|
54028
|
+
props.actions.addtofavoritescontext;
|
|
54023
54029
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
54024
54030
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
54025
54031
|
props.actions.AddtoCartMutationContext;
|
|
@@ -54027,7 +54033,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54027
54033
|
props.actions.routingcountext;
|
|
54028
54034
|
var NotificationManager = NotificationManager;
|
|
54029
54035
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
54030
|
-
|
|
54036
|
+
props.actions.ikimagecredcontext;
|
|
54031
54037
|
var updatequantity = function updatequantity(type) {
|
|
54032
54038
|
var tempitem = _objectSpread$g({}, item);
|
|
54033
54039
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
@@ -54095,7 +54101,16 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54095
54101
|
};
|
|
54096
54102
|
var card_cssstyles = {
|
|
54097
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 = {
|
|
54098
54112
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
54113
|
+
opacity: sectionproperties.cardbg_opacity,
|
|
54099
54114
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
54100
54115
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
54101
54116
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
@@ -54106,13 +54121,16 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54106
54121
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
54107
54122
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
54108
54123
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
54124
|
+
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
|
54109
54125
|
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
54110
|
-
|
|
54111
|
-
|
|
54112
|
-
|
|
54113
|
-
|
|
54114
|
-
|
|
54115
|
-
|
|
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)),
|
|
54116
54134
|
productcardimagecont: glamor.css({
|
|
54117
54135
|
position: 'relative',
|
|
54118
54136
|
overflow: 'hidden',
|
|
@@ -54169,11 +54187,11 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54169
54187
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
54170
54188
|
}
|
|
54171
54189
|
}),
|
|
54172
|
-
quantitybtn: glamor.css((
|
|
54190
|
+
quantitybtn: glamor.css((_css2 = {
|
|
54173
54191
|
flex: 1,
|
|
54174
54192
|
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
|
|
54175
54193
|
height: sectionproperties.quantitybtn_height + 'px'
|
|
54176
|
-
}, _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)),
|
|
54177
54195
|
quantitybtn_text: glamor.css({
|
|
54178
54196
|
margin: 'auto'
|
|
54179
54197
|
}),
|
|
@@ -54228,82 +54246,19 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54228
54246
|
})
|
|
54229
54247
|
};
|
|
54230
54248
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54231
|
-
"class": "
|
|
54249
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 p-md-0 ' : " ".concat(card_cssstyles.productcard),
|
|
54232
54250
|
style: {
|
|
54233
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.
|
|
54234
|
-
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'
|
|
54235
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
|
+
// }}
|
|
54236
54259
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54237
|
-
"class": "".concat(card_cssstyles.
|
|
54238
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54239
|
-
onClick: function onClick() {
|
|
54240
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
54241
|
-
},
|
|
54242
|
-
"class": "".concat(card_cssstyles.productcardimagecont) + ' p-0 ',
|
|
54243
|
-
style: {
|
|
54244
|
-
marginBottom: sectionproperties.image_mb + 'px',
|
|
54245
|
-
overflow: 'hidden'
|
|
54246
|
-
}
|
|
54247
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
54248
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
54249
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
54250
|
-
path: item.image,
|
|
54251
|
-
loading: "lazy",
|
|
54252
|
-
style: {
|
|
54253
|
-
width: '100%',
|
|
54254
|
-
height: '100%',
|
|
54255
|
-
objectFit: 'contain'
|
|
54256
|
-
}
|
|
54257
|
-
}), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
54258
|
-
"class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
54259
|
-
onClick: function onClick(e) {
|
|
54260
|
-
e.stopPropagation();
|
|
54261
|
-
addtofavoritescontext(item.productid);
|
|
54262
|
-
},
|
|
54263
|
-
style: {
|
|
54264
|
-
position: 'absolute',
|
|
54265
|
-
top: 10,
|
|
54266
|
-
right: langdetect == 'en' ? 10 : 0,
|
|
54267
|
-
left: langdetect == 'en' ? 0 : 10,
|
|
54268
|
-
background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
54269
|
-
}
|
|
54270
|
-
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54271
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54272
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar.AiFillStar, {
|
|
54273
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
54274
|
-
style: {
|
|
54275
|
-
color: sectionproperties.activefaviconcolor
|
|
54276
|
-
}
|
|
54277
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart.FaHeart, {
|
|
54278
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
54279
|
-
style: {
|
|
54280
|
-
color: sectionproperties.activefaviconcolor
|
|
54281
|
-
}
|
|
54282
|
-
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54283
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54284
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
54285
|
-
size: sectionproperties.favBtnIconfontsize
|
|
54286
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
54287
|
-
size: sectionproperties.favBtnIconfontsize
|
|
54288
|
-
}))), sectionproperties.prodsalePriceshow == 'Show' && (item === null || item === void 0 ? void 0 : item.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54289
|
-
"class": "allcentered",
|
|
54290
|
-
style: {
|
|
54291
|
-
position: 'absolute',
|
|
54292
|
-
top: 10,
|
|
54293
|
-
right: langdetect == 'en' ? 10 : '',
|
|
54294
|
-
left: langdetect == 'en' ? '' : 10,
|
|
54295
|
-
width: sectionproperties.badge_width + 'px',
|
|
54296
|
-
height: sectionproperties.badge_height + 'px',
|
|
54297
|
-
background: sectionproperties.badge_bgcolor,
|
|
54298
|
-
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
54299
|
-
}
|
|
54300
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
54301
|
-
"class": "m-0 p-0",
|
|
54302
|
-
style: {
|
|
54303
|
-
color: sectionproperties.badge_color,
|
|
54304
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
54305
|
-
}
|
|
54306
|
-
}, 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", {
|
|
54307
54262
|
"class": "row m-0 w-100"
|
|
54308
54263
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54309
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' :
|
|
@@ -13246,14 +13247,17 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
13246
13247
|
height: "10px",
|
|
13247
13248
|
duration: "1s"
|
|
13248
13249
|
}))), !SearchHeaderMutationContext.isLoading && SearchHeaderMutationContext.isSuccess && /*#__PURE__*/React.createElement("div", {
|
|
13249
|
-
"class": "".concat(searchlist_styles.searchlist_innercontainer) + ' subscrollbar row m-0 w-100 d-flex justify-content-center p-0 '
|
|
13250
|
+
"class": "".concat(searchlist_styles.searchlist_innercontainer) + ' subscrollbar row m-0 w-100 d-flex justify-content-center p-0 ',
|
|
13251
|
+
style: {
|
|
13252
|
+
overflowX: 'hidden'
|
|
13253
|
+
}
|
|
13250
13254
|
}, /*#__PURE__*/React.createElement("div", {
|
|
13251
13255
|
"class": "col-lg-12 m-0 w-100 p-0"
|
|
13252
13256
|
}, /*#__PURE__*/React.createElement("div", {
|
|
13253
13257
|
"class": "row m-0 w-100"
|
|
13254
13258
|
}, SearchHeaderMutationContext.data.data.products.map(function (item, index) {
|
|
13255
13259
|
return /*#__PURE__*/React.createElement("div", {
|
|
13256
|
-
"class": sectionproperties.searchliststyle == 'Vertical' ? 'col-lg-12
|
|
13260
|
+
"class": sectionproperties.searchliststyle == 'Vertical' ? 'col-lg-12 m-0 w-100 p-1 pt-0 pb-0' : 'col-lg-12 m-0 w-100 p-1 pt-0 pb-0 d-none d-md-flex',
|
|
13257
13261
|
style: {
|
|
13258
13262
|
zIndex: 1000
|
|
13259
13263
|
},
|
|
@@ -41936,6 +41940,8 @@ var FullVideoSection = function FullVideoSection(props) {
|
|
|
41936
41940
|
style: {
|
|
41937
41941
|
display: sectionproperties.sectiontitleshow == 'Hide' && sectionproperties.prodCatShow == 'Hide' && sectionproperties.slideshowText2ContentFontSize == 0 ? 'none' : 'flex'
|
|
41938
41942
|
}
|
|
41943
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
41944
|
+
"class": "row m-0 w-100"
|
|
41939
41945
|
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
41940
41946
|
"class": ' col-lg-12 p-0 d-flex d-md-none align-items-center ',
|
|
41941
41947
|
style: {
|
|
@@ -41981,7 +41987,7 @@ var FullVideoSection = function FullVideoSection(props) {
|
|
|
41981
41987
|
dangerouslySetInnerHTML: {
|
|
41982
41988
|
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
41983
41989
|
}
|
|
41984
|
-
})));
|
|
41990
|
+
}))));
|
|
41985
41991
|
};
|
|
41986
41992
|
var Video = function Video() {
|
|
41987
41993
|
var _Videosarrayofobjs$;
|
|
@@ -53959,7 +53965,7 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
53959
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; }
|
|
53960
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; }
|
|
53961
53967
|
var ModernProductCard = function ModernProductCard(props) {
|
|
53962
|
-
var _css;
|
|
53968
|
+
var _css, _css2;
|
|
53963
53969
|
var _useState = useState(''),
|
|
53964
53970
|
_useState2 = _slicedToArray(_useState, 2),
|
|
53965
53971
|
sectionproperties = _useState2[0],
|
|
@@ -53972,7 +53978,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
53972
53978
|
props.actions.lang;
|
|
53973
53979
|
var langdetect = props.actions.langdetect;
|
|
53974
53980
|
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
53975
|
-
|
|
53981
|
+
props.actions.addtofavoritescontext;
|
|
53976
53982
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
53977
53983
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
53978
53984
|
props.actions.AddtoCartMutationContext;
|
|
@@ -53980,7 +53986,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
53980
53986
|
props.actions.routingcountext;
|
|
53981
53987
|
var NotificationManager = NotificationManager;
|
|
53982
53988
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
53983
|
-
|
|
53989
|
+
props.actions.ikimagecredcontext;
|
|
53984
53990
|
var updatequantity = function updatequantity(type) {
|
|
53985
53991
|
var tempitem = _objectSpread$g({}, item);
|
|
53986
53992
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
@@ -54048,7 +54054,16 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54048
54054
|
};
|
|
54049
54055
|
var card_cssstyles = {
|
|
54050
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 = {
|
|
54051
54065
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
54066
|
+
opacity: sectionproperties.cardbg_opacity,
|
|
54052
54067
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
54053
54068
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
54054
54069
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
@@ -54059,13 +54074,16 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54059
54074
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
54060
54075
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
54061
54076
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
54077
|
+
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
|
54062
54078
|
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
54063
|
-
|
|
54064
|
-
|
|
54065
|
-
|
|
54066
|
-
|
|
54067
|
-
|
|
54068
|
-
|
|
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)),
|
|
54069
54087
|
productcardimagecont: css({
|
|
54070
54088
|
position: 'relative',
|
|
54071
54089
|
overflow: 'hidden',
|
|
@@ -54122,11 +54140,11 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54122
54140
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
54123
54141
|
}
|
|
54124
54142
|
}),
|
|
54125
|
-
quantitybtn: css((
|
|
54143
|
+
quantitybtn: css((_css2 = {
|
|
54126
54144
|
flex: 1,
|
|
54127
54145
|
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
|
|
54128
54146
|
height: sectionproperties.quantitybtn_height + 'px'
|
|
54129
|
-
}, _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)),
|
|
54130
54148
|
quantitybtn_text: css({
|
|
54131
54149
|
margin: 'auto'
|
|
54132
54150
|
}),
|
|
@@ -54181,82 +54199,19 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54181
54199
|
})
|
|
54182
54200
|
};
|
|
54183
54201
|
return /*#__PURE__*/React.createElement("div", {
|
|
54184
|
-
"class": "
|
|
54202
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 p-md-0 ' : " ".concat(card_cssstyles.productcard),
|
|
54185
54203
|
style: {
|
|
54186
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.
|
|
54187
|
-
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'
|
|
54188
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
|
+
// }}
|
|
54189
54212
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
54190
|
-
"class": "".concat(card_cssstyles.
|
|
54191
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
54192
|
-
onClick: function onClick() {
|
|
54193
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
54194
|
-
},
|
|
54195
|
-
"class": "".concat(card_cssstyles.productcardimagecont) + ' p-0 ',
|
|
54196
|
-
style: {
|
|
54197
|
-
marginBottom: sectionproperties.image_mb + 'px',
|
|
54198
|
-
overflow: 'hidden'
|
|
54199
|
-
}
|
|
54200
|
-
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
54201
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
54202
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
54203
|
-
path: item.image,
|
|
54204
|
-
loading: "lazy",
|
|
54205
|
-
style: {
|
|
54206
|
-
width: '100%',
|
|
54207
|
-
height: '100%',
|
|
54208
|
-
objectFit: 'contain'
|
|
54209
|
-
}
|
|
54210
|
-
}), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
54211
|
-
"class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
54212
|
-
onClick: function onClick(e) {
|
|
54213
|
-
e.stopPropagation();
|
|
54214
|
-
addtofavoritescontext(item.productid);
|
|
54215
|
-
},
|
|
54216
|
-
style: {
|
|
54217
|
-
position: 'absolute',
|
|
54218
|
-
top: 10,
|
|
54219
|
-
right: langdetect == 'en' ? 10 : 0,
|
|
54220
|
-
left: langdetect == 'en' ? 0 : 10,
|
|
54221
|
-
background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
54222
|
-
}
|
|
54223
|
-
}, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
54224
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54225
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar, {
|
|
54226
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
54227
|
-
style: {
|
|
54228
|
-
color: sectionproperties.activefaviconcolor
|
|
54229
|
-
}
|
|
54230
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart, {
|
|
54231
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
54232
|
-
style: {
|
|
54233
|
-
color: sectionproperties.activefaviconcolor
|
|
54234
|
-
}
|
|
54235
|
-
})), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
54236
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54237
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
|
|
54238
|
-
size: sectionproperties.favBtnIconfontsize
|
|
54239
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
54240
|
-
size: sectionproperties.favBtnIconfontsize
|
|
54241
|
-
}))), sectionproperties.prodsalePriceshow == 'Show' && (item === null || item === void 0 ? void 0 : item.hassale) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
54242
|
-
"class": "allcentered",
|
|
54243
|
-
style: {
|
|
54244
|
-
position: 'absolute',
|
|
54245
|
-
top: 10,
|
|
54246
|
-
right: langdetect == 'en' ? 10 : '',
|
|
54247
|
-
left: langdetect == 'en' ? '' : 10,
|
|
54248
|
-
width: sectionproperties.badge_width + 'px',
|
|
54249
|
-
height: sectionproperties.badge_height + 'px',
|
|
54250
|
-
background: sectionproperties.badge_bgcolor,
|
|
54251
|
-
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
54252
|
-
}
|
|
54253
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
54254
|
-
"class": "m-0 p-0",
|
|
54255
|
-
style: {
|
|
54256
|
-
color: sectionproperties.badge_color,
|
|
54257
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
54258
|
-
}
|
|
54259
|
-
}, 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", {
|
|
54260
54215
|
"class": "row m-0 w-100"
|
|
54261
54216
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
54262
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' :
|
|
@@ -13138,14 +13139,17 @@
|
|
|
13138
13139
|
height: "10px",
|
|
13139
13140
|
duration: "1s"
|
|
13140
13141
|
}))), !SearchHeaderMutationContext.isLoading && SearchHeaderMutationContext.isSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13141
|
-
"class": "".concat(searchlist_styles.searchlist_innercontainer) + ' subscrollbar row m-0 w-100 d-flex justify-content-center p-0 '
|
|
13142
|
+
"class": "".concat(searchlist_styles.searchlist_innercontainer) + ' subscrollbar row m-0 w-100 d-flex justify-content-center p-0 ',
|
|
13143
|
+
style: {
|
|
13144
|
+
overflowX: 'hidden'
|
|
13145
|
+
}
|
|
13142
13146
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13143
13147
|
"class": "col-lg-12 m-0 w-100 p-0"
|
|
13144
13148
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13145
13149
|
"class": "row m-0 w-100"
|
|
13146
13150
|
}, SearchHeaderMutationContext.data.data.products.map(function (item, index) {
|
|
13147
13151
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13148
|
-
"class": sectionproperties.searchliststyle == 'Vertical' ? 'col-lg-12
|
|
13152
|
+
"class": sectionproperties.searchliststyle == 'Vertical' ? 'col-lg-12 m-0 w-100 p-1 pt-0 pb-0' : 'col-lg-12 m-0 w-100 p-1 pt-0 pb-0 d-none d-md-flex',
|
|
13149
13153
|
style: {
|
|
13150
13154
|
zIndex: 1000
|
|
13151
13155
|
},
|
|
@@ -41828,6 +41832,8 @@
|
|
|
41828
41832
|
style: {
|
|
41829
41833
|
display: sectionproperties.sectiontitleshow == 'Hide' && sectionproperties.prodCatShow == 'Hide' && sectionproperties.slideshowText2ContentFontSize == 0 ? 'none' : 'flex'
|
|
41830
41834
|
}
|
|
41835
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41836
|
+
"class": "row m-0 w-100"
|
|
41831
41837
|
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41832
41838
|
"class": ' col-lg-12 p-0 d-flex d-md-none align-items-center ',
|
|
41833
41839
|
style: {
|
|
@@ -41873,7 +41879,7 @@
|
|
|
41873
41879
|
dangerouslySetInnerHTML: {
|
|
41874
41880
|
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
41875
41881
|
}
|
|
41876
|
-
})));
|
|
41882
|
+
}))));
|
|
41877
41883
|
};
|
|
41878
41884
|
var Video = function Video() {
|
|
41879
41885
|
var _Videosarrayofobjs$;
|
|
@@ -53851,7 +53857,7 @@
|
|
|
53851
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; }
|
|
53852
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; }
|
|
53853
53859
|
var ModernProductCard = function ModernProductCard(props) {
|
|
53854
|
-
var _css;
|
|
53860
|
+
var _css, _css2;
|
|
53855
53861
|
var _useState = React.useState(''),
|
|
53856
53862
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
53857
53863
|
sectionproperties = _useState2[0],
|
|
@@ -53864,7 +53870,7 @@
|
|
|
53864
53870
|
props.actions.lang;
|
|
53865
53871
|
var langdetect = props.actions.langdetect;
|
|
53866
53872
|
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
53867
|
-
|
|
53873
|
+
props.actions.addtofavoritescontext;
|
|
53868
53874
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
53869
53875
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
53870
53876
|
props.actions.AddtoCartMutationContext;
|
|
@@ -53872,7 +53878,7 @@
|
|
|
53872
53878
|
props.actions.routingcountext;
|
|
53873
53879
|
var NotificationManager = NotificationManager;
|
|
53874
53880
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
53875
|
-
|
|
53881
|
+
props.actions.ikimagecredcontext;
|
|
53876
53882
|
var updatequantity = function updatequantity(type) {
|
|
53877
53883
|
var tempitem = _objectSpread$g({}, item);
|
|
53878
53884
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
@@ -53940,7 +53946,16 @@
|
|
|
53940
53946
|
};
|
|
53941
53947
|
var card_cssstyles = {
|
|
53942
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 = {
|
|
53943
53957
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
53958
|
+
opacity: sectionproperties.cardbg_opacity,
|
|
53944
53959
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
53945
53960
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
53946
53961
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
@@ -53951,13 +53966,16 @@
|
|
|
53951
53966
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
53952
53967
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
53953
53968
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
53969
|
+
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
|
53954
53970
|
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
53955
|
-
|
|
53956
|
-
|
|
53957
|
-
|
|
53958
|
-
|
|
53959
|
-
|
|
53960
|
-
|
|
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)),
|
|
53961
53979
|
productcardimagecont: glamor.css({
|
|
53962
53980
|
position: 'relative',
|
|
53963
53981
|
overflow: 'hidden',
|
|
@@ -54014,11 +54032,11 @@
|
|
|
54014
54032
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
54015
54033
|
}
|
|
54016
54034
|
}),
|
|
54017
|
-
quantitybtn: glamor.css((
|
|
54035
|
+
quantitybtn: glamor.css((_css2 = {
|
|
54018
54036
|
flex: 1,
|
|
54019
54037
|
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
|
|
54020
54038
|
height: sectionproperties.quantitybtn_height + 'px'
|
|
54021
|
-
}, _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)),
|
|
54022
54040
|
quantitybtn_text: glamor.css({
|
|
54023
54041
|
margin: 'auto'
|
|
54024
54042
|
}),
|
|
@@ -54073,82 +54091,19 @@
|
|
|
54073
54091
|
})
|
|
54074
54092
|
};
|
|
54075
54093
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54076
|
-
"class": "
|
|
54094
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 p-md-0 ' : " ".concat(card_cssstyles.productcard),
|
|
54077
54095
|
style: {
|
|
54078
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.
|
|
54079
|
-
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'
|
|
54080
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
|
+
// }}
|
|
54081
54104
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54082
|
-
"class": "".concat(card_cssstyles.
|
|
54083
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54084
|
-
onClick: function onClick() {
|
|
54085
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
54086
|
-
},
|
|
54087
|
-
"class": "".concat(card_cssstyles.productcardimagecont) + ' p-0 ',
|
|
54088
|
-
style: {
|
|
54089
|
-
marginBottom: sectionproperties.image_mb + 'px',
|
|
54090
|
-
overflow: 'hidden'
|
|
54091
|
-
}
|
|
54092
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
54093
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
54094
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
54095
|
-
path: item.image,
|
|
54096
|
-
loading: "lazy",
|
|
54097
|
-
style: {
|
|
54098
|
-
width: '100%',
|
|
54099
|
-
height: '100%',
|
|
54100
|
-
objectFit: 'contain'
|
|
54101
|
-
}
|
|
54102
|
-
}), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
54103
|
-
"class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
54104
|
-
onClick: function onClick(e) {
|
|
54105
|
-
e.stopPropagation();
|
|
54106
|
-
addtofavoritescontext(item.productid);
|
|
54107
|
-
},
|
|
54108
|
-
style: {
|
|
54109
|
-
position: 'absolute',
|
|
54110
|
-
top: 10,
|
|
54111
|
-
right: langdetect == 'en' ? 10 : 0,
|
|
54112
|
-
left: langdetect == 'en' ? 0 : 10,
|
|
54113
|
-
background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
54114
|
-
}
|
|
54115
|
-
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54116
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54117
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar.AiFillStar, {
|
|
54118
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
54119
|
-
style: {
|
|
54120
|
-
color: sectionproperties.activefaviconcolor
|
|
54121
|
-
}
|
|
54122
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart.FaHeart, {
|
|
54123
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
54124
|
-
style: {
|
|
54125
|
-
color: sectionproperties.activefaviconcolor
|
|
54126
|
-
}
|
|
54127
|
-
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54128
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
54129
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
54130
|
-
size: sectionproperties.favBtnIconfontsize
|
|
54131
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
54132
|
-
size: sectionproperties.favBtnIconfontsize
|
|
54133
|
-
}))), sectionproperties.prodsalePriceshow == 'Show' && (item === null || item === void 0 ? void 0 : item.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54134
|
-
"class": "allcentered",
|
|
54135
|
-
style: {
|
|
54136
|
-
position: 'absolute',
|
|
54137
|
-
top: 10,
|
|
54138
|
-
right: langdetect == 'en' ? 10 : '',
|
|
54139
|
-
left: langdetect == 'en' ? '' : 10,
|
|
54140
|
-
width: sectionproperties.badge_width + 'px',
|
|
54141
|
-
height: sectionproperties.badge_height + 'px',
|
|
54142
|
-
background: sectionproperties.badge_bgcolor,
|
|
54143
|
-
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
54144
|
-
}
|
|
54145
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
54146
|
-
"class": "m-0 p-0",
|
|
54147
|
-
style: {
|
|
54148
|
-
color: sectionproperties.badge_color,
|
|
54149
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
54150
|
-
}
|
|
54151
|
-
}, 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", {
|
|
54152
54107
|
"class": "row m-0 w-100"
|
|
54153
54108
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54154
54109
|
onClick: function onClick() {
|
package/package.json
CHANGED
package/src.zip
ADDED
|
Binary file
|