tabexseriescomponents 0.0.241 → 0.0.243
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 +9 -10
- package/dist/index.esm.js +9 -10
- package/dist/index.umd.js +9 -10
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -10914,9 +10914,9 @@ var CardsSection = function CardsSection(props) {
|
|
|
10914
10914
|
if (item.sectionstructype == 'child' && TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname] != undefined) {
|
|
10915
10915
|
var Sectioncomp = TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname];
|
|
10916
10916
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10917
|
-
className: section_cssstyles.cards_sections + ' row ml-0 mr-0 w-100
|
|
10917
|
+
className: section_cssstyles.cards_sections + ' row ml-0 mr-0 w-100 px-1025-1 pl-md-0 pr-md-0 '
|
|
10918
10918
|
}, sectionproperties.view_as_slider_vertical == 'Slider (Horizontal)' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10919
|
-
"class": langdetect == 'en' ? sectionproperties.paddingLeft != 0 ? 'col-lg-12 p-0 pl-sm-2' : 'col-lg-12 p-0 ' : sectionproperties.paddingRight != 0 ? 'col-lg-12 p-0 pr-sm-2' : 'col-lg-12 p-0 '
|
|
10919
|
+
"class": langdetect == 'en' ? sectionproperties.paddingLeft != 0 ? 'col-lg-12 p-0 pl-sm-2 pl-md-2' : sectionproperties.paddingRight != 0 ? 'col-lg-12 p-0 pr-md-2' : 'col-lg-12 p-0 ' : sectionproperties.paddingRight != 0 ? 'col-lg-12 p-0 pr-sm-2 pr-md-2' : sectionproperties.paddingLeft != 0 ? 'col-lg-12 p-0 pl-md-2' : 'col-lg-12 p-0 '
|
|
10920
10920
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
10921
10921
|
transitionBehavior: 'auto',
|
|
10922
10922
|
wrapperClassName: '',
|
|
@@ -31901,7 +31901,7 @@ var ModernCardsSection = function ModernCardsSection(props) {
|
|
|
31901
31901
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
31902
31902
|
transitionBehavior: 'auto',
|
|
31903
31903
|
wrapperClassName: '',
|
|
31904
|
-
itemClassName: item.tabexsectioninfo.sectioncompname == 'Productcard6' ? 'scrollmenuclassnameitemProductcard6' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? 'scrollmenuclassnameitemProductcardcircularhover' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? 'scrollmenuclassnameitemProductcard_with_circularbg' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation' ? 'scrollmenuclassnameitemProductcard_with_slideanimation' : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons' ? 'scrollmenuclassnameitemProductcard_animatedbuttons' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants' ? 'scrollmenuclassnameitemProductcard_with_variants' : item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard' ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard ' : 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 == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_Categorycard_fullimage' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard' ? 'scrollmenuclassnameitemUpSlideEffectCard' : '
|
|
31904
|
+
itemClassName: item.tabexsectioninfo.sectioncompname == 'Productcard6' ? 'scrollmenuclassnameitemProductcard6' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? 'scrollmenuclassnameitemProductcardcircularhover' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? 'scrollmenuclassnameitemProductcard_with_circularbg' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation' ? 'scrollmenuclassnameitemProductcard_with_slideanimation' : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons' ? 'scrollmenuclassnameitemProductcard_animatedbuttons' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants' ? 'scrollmenuclassnameitemProductcard_with_variants' : item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard' ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard ' : 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 == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_Categorycard_fullimage' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard' ? 'scrollmenuclassnameitemUpSlideEffectCard' : '',
|
|
31905
31905
|
scrollContainerClassName: 'scrollmenuclasssubscrollbar'
|
|
31906
31906
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
31907
31907
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -31917,7 +31917,8 @@ var ModernCardsSection = function ModernCardsSection(props) {
|
|
|
31917
31917
|
cardinfoitemprops: cardinfoitem,
|
|
31918
31918
|
sectionindexprops: index,
|
|
31919
31919
|
sectionidprops: item.sectionid,
|
|
31920
|
-
actions: actions
|
|
31920
|
+
actions: actions,
|
|
31921
|
+
sectiontypeprops2: 'horizontal'
|
|
31921
31922
|
}));
|
|
31922
31923
|
}), fetchingtype == 'products' && fetchProductsQuery.isFetchingNextPage && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
31923
31924
|
className: section_cssstyles.loadbtn + ' d-flex justify-content-end align-items-center ',
|
|
@@ -40400,7 +40401,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
40400
40401
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
40401
40402
|
}
|
|
40402
40403
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40403
|
-
"class": cardarrayofobjs.length != 0 ? '' : 'h-
|
|
40404
|
+
"class": cardarrayofobjs.length != 0 ? '' : sectionproperties.width == '100' ? 'h-sm-auto' : 'h-sm-auto pl-sm-2 pr-sm-2 w-sm-100',
|
|
40404
40405
|
style: {
|
|
40405
40406
|
position: 'relative',
|
|
40406
40407
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
@@ -40408,8 +40409,6 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
40408
40409
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
40409
40410
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
40410
40411
|
width: sectionproperties.width + 'vw',
|
|
40411
|
-
marginBottom: sectionproperties.marginBottom + 'px',
|
|
40412
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
40413
40412
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
|
|
40414
40413
|
overflow: 'hidden'
|
|
40415
40414
|
}
|
|
@@ -40429,7 +40428,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
40429
40428
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
40430
40429
|
}
|
|
40431
40430
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40432
|
-
"class":
|
|
40431
|
+
"class": ' p-0 align-items-center d-flex d-md-none ',
|
|
40433
40432
|
key: index,
|
|
40434
40433
|
style: {
|
|
40435
40434
|
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
@@ -40465,7 +40464,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
40465
40464
|
height: '100%'
|
|
40466
40465
|
}
|
|
40467
40466
|
}), SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40468
|
-
"class":
|
|
40467
|
+
"class": ' p-0 align-items-center d-none d-md-flex ',
|
|
40469
40468
|
key: index,
|
|
40470
40469
|
style: {
|
|
40471
40470
|
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
@@ -44659,7 +44658,7 @@ var Card23 = function Card23(props) {
|
|
|
44659
44658
|
}, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')));
|
|
44660
44659
|
};
|
|
44661
44660
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44662
|
-
"class":
|
|
44661
|
+
"class": langdetect == 'en' ? sectionproperties.card_marginLeft != 0 ? 'row m-0 w-100 pl-sm-2' : sectionproperties.card_marginRight != 0 ? 'row m-0 w-100 pr-sm-2' : 'row m-0 w-100' : langdetect == 'en' ? sectionproperties.card_marginRight != 0 ? 'row m-0 w-100 pr-sm-2' : sectionproperties.card_marginLeft != 0 ? 'row m-0 w-100 pl-sm-2' : 'row m-0 w-100' : 'row m-0 w-100',
|
|
44663
44662
|
style: {
|
|
44664
44663
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
44665
44664
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
package/dist/index.esm.js
CHANGED
|
@@ -10870,9 +10870,9 @@ var CardsSection = function CardsSection(props) {
|
|
|
10870
10870
|
if (item.sectionstructype == 'child' && TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname] != undefined) {
|
|
10871
10871
|
var Sectioncomp = TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname];
|
|
10872
10872
|
return /*#__PURE__*/React.createElement("div", {
|
|
10873
|
-
className: section_cssstyles.cards_sections + ' row ml-0 mr-0 w-100
|
|
10873
|
+
className: section_cssstyles.cards_sections + ' row ml-0 mr-0 w-100 px-1025-1 pl-md-0 pr-md-0 '
|
|
10874
10874
|
}, sectionproperties.view_as_slider_vertical == 'Slider (Horizontal)' && /*#__PURE__*/React.createElement("div", {
|
|
10875
|
-
"class": langdetect == 'en' ? sectionproperties.paddingLeft != 0 ? 'col-lg-12 p-0 pl-sm-2' : 'col-lg-12 p-0 ' : sectionproperties.paddingRight != 0 ? 'col-lg-12 p-0 pr-sm-2' : 'col-lg-12 p-0 '
|
|
10875
|
+
"class": langdetect == 'en' ? sectionproperties.paddingLeft != 0 ? 'col-lg-12 p-0 pl-sm-2 pl-md-2' : sectionproperties.paddingRight != 0 ? 'col-lg-12 p-0 pr-md-2' : 'col-lg-12 p-0 ' : sectionproperties.paddingRight != 0 ? 'col-lg-12 p-0 pr-sm-2 pr-md-2' : sectionproperties.paddingLeft != 0 ? 'col-lg-12 p-0 pl-md-2' : 'col-lg-12 p-0 '
|
|
10876
10876
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
10877
10877
|
transitionBehavior: 'auto',
|
|
10878
10878
|
wrapperClassName: '',
|
|
@@ -31857,7 +31857,7 @@ var ModernCardsSection = function ModernCardsSection(props) {
|
|
|
31857
31857
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
31858
31858
|
transitionBehavior: 'auto',
|
|
31859
31859
|
wrapperClassName: '',
|
|
31860
|
-
itemClassName: item.tabexsectioninfo.sectioncompname == 'Productcard6' ? 'scrollmenuclassnameitemProductcard6' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? 'scrollmenuclassnameitemProductcardcircularhover' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? 'scrollmenuclassnameitemProductcard_with_circularbg' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation' ? 'scrollmenuclassnameitemProductcard_with_slideanimation' : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons' ? 'scrollmenuclassnameitemProductcard_animatedbuttons' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants' ? 'scrollmenuclassnameitemProductcard_with_variants' : item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard' ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard ' : 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 == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_Categorycard_fullimage' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard' ? 'scrollmenuclassnameitemUpSlideEffectCard' : '
|
|
31860
|
+
itemClassName: item.tabexsectioninfo.sectioncompname == 'Productcard6' ? 'scrollmenuclassnameitemProductcard6' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? 'scrollmenuclassnameitemProductcardcircularhover' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? 'scrollmenuclassnameitemProductcard_with_circularbg' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation' ? 'scrollmenuclassnameitemProductcard_with_slideanimation' : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons' ? 'scrollmenuclassnameitemProductcard_animatedbuttons' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants' ? 'scrollmenuclassnameitemProductcard_with_variants' : item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard' ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard ' : 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 == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_Categorycard_fullimage' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard' ? 'scrollmenuclassnameitemUpSlideEffectCard' : '',
|
|
31861
31861
|
scrollContainerClassName: 'scrollmenuclasssubscrollbar'
|
|
31862
31862
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
31863
31863
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -31873,7 +31873,8 @@ var ModernCardsSection = function ModernCardsSection(props) {
|
|
|
31873
31873
|
cardinfoitemprops: cardinfoitem,
|
|
31874
31874
|
sectionindexprops: index,
|
|
31875
31875
|
sectionidprops: item.sectionid,
|
|
31876
|
-
actions: actions
|
|
31876
|
+
actions: actions,
|
|
31877
|
+
sectiontypeprops2: 'horizontal'
|
|
31877
31878
|
}));
|
|
31878
31879
|
}), fetchingtype == 'products' && fetchProductsQuery.isFetchingNextPage && /*#__PURE__*/React.createElement("button", {
|
|
31879
31880
|
className: section_cssstyles.loadbtn + ' d-flex justify-content-end align-items-center ',
|
|
@@ -40356,7 +40357,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
40356
40357
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
40357
40358
|
}
|
|
40358
40359
|
}, /*#__PURE__*/React.createElement("div", {
|
|
40359
|
-
"class": cardarrayofobjs.length != 0 ? '' : 'h-
|
|
40360
|
+
"class": cardarrayofobjs.length != 0 ? '' : sectionproperties.width == '100' ? 'h-sm-auto' : 'h-sm-auto pl-sm-2 pr-sm-2 w-sm-100',
|
|
40360
40361
|
style: {
|
|
40361
40362
|
position: 'relative',
|
|
40362
40363
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
@@ -40364,8 +40365,6 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
40364
40365
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
40365
40366
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
40366
40367
|
width: sectionproperties.width + 'vw',
|
|
40367
|
-
marginBottom: sectionproperties.marginBottom + 'px',
|
|
40368
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
40369
40368
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
|
|
40370
40369
|
overflow: 'hidden'
|
|
40371
40370
|
}
|
|
@@ -40385,7 +40384,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
40385
40384
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
40386
40385
|
}
|
|
40387
40386
|
}, /*#__PURE__*/React.createElement("div", {
|
|
40388
|
-
"class":
|
|
40387
|
+
"class": ' p-0 align-items-center d-flex d-md-none ',
|
|
40389
40388
|
key: index,
|
|
40390
40389
|
style: {
|
|
40391
40390
|
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
@@ -40421,7 +40420,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
40421
40420
|
height: '100%'
|
|
40422
40421
|
}
|
|
40423
40422
|
}), SlideShowTextContainer(item)), /*#__PURE__*/React.createElement("div", {
|
|
40424
|
-
"class":
|
|
40423
|
+
"class": ' p-0 align-items-center d-none d-md-flex ',
|
|
40425
40424
|
key: index,
|
|
40426
40425
|
style: {
|
|
40427
40426
|
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
@@ -44615,7 +44614,7 @@ var Card23 = function Card23(props) {
|
|
|
44615
44614
|
}, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')));
|
|
44616
44615
|
};
|
|
44617
44616
|
return /*#__PURE__*/React.createElement("div", {
|
|
44618
|
-
"class":
|
|
44617
|
+
"class": langdetect == 'en' ? sectionproperties.card_marginLeft != 0 ? 'row m-0 w-100 pl-sm-2' : sectionproperties.card_marginRight != 0 ? 'row m-0 w-100 pr-sm-2' : 'row m-0 w-100' : langdetect == 'en' ? sectionproperties.card_marginRight != 0 ? 'row m-0 w-100 pr-sm-2' : sectionproperties.card_marginLeft != 0 ? 'row m-0 w-100 pl-sm-2' : 'row m-0 w-100' : 'row m-0 w-100',
|
|
44619
44618
|
style: {
|
|
44620
44619
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
44621
44620
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
package/dist/index.umd.js
CHANGED
|
@@ -10771,9 +10771,9 @@
|
|
|
10771
10771
|
if (item.sectionstructype == 'child' && TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname] != undefined) {
|
|
10772
10772
|
var Sectioncomp = TabexSectionsComponentsContext[item.tabexsectioninfo.sectioncompname];
|
|
10773
10773
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10774
|
-
className: section_cssstyles.cards_sections + ' row ml-0 mr-0 w-100
|
|
10774
|
+
className: section_cssstyles.cards_sections + ' row ml-0 mr-0 w-100 px-1025-1 pl-md-0 pr-md-0 '
|
|
10775
10775
|
}, sectionproperties.view_as_slider_vertical == 'Slider (Horizontal)' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10776
|
-
"class": langdetect == 'en' ? sectionproperties.paddingLeft != 0 ? 'col-lg-12 p-0 pl-sm-2' : 'col-lg-12 p-0 ' : sectionproperties.paddingRight != 0 ? 'col-lg-12 p-0 pr-sm-2' : 'col-lg-12 p-0 '
|
|
10776
|
+
"class": langdetect == 'en' ? sectionproperties.paddingLeft != 0 ? 'col-lg-12 p-0 pl-sm-2 pl-md-2' : sectionproperties.paddingRight != 0 ? 'col-lg-12 p-0 pr-md-2' : 'col-lg-12 p-0 ' : sectionproperties.paddingRight != 0 ? 'col-lg-12 p-0 pr-sm-2 pr-md-2' : sectionproperties.paddingLeft != 0 ? 'col-lg-12 p-0 pl-md-2' : 'col-lg-12 p-0 '
|
|
10777
10777
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
10778
10778
|
transitionBehavior: 'auto',
|
|
10779
10779
|
wrapperClassName: '',
|
|
@@ -31758,7 +31758,7 @@
|
|
|
31758
31758
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
31759
31759
|
transitionBehavior: 'auto',
|
|
31760
31760
|
wrapperClassName: '',
|
|
31761
|
-
itemClassName: item.tabexsectioninfo.sectioncompname == 'Productcard6' ? 'scrollmenuclassnameitemProductcard6' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? 'scrollmenuclassnameitemProductcardcircularhover' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? 'scrollmenuclassnameitemProductcard_with_circularbg' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation' ? 'scrollmenuclassnameitemProductcard_with_slideanimation' : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons' ? 'scrollmenuclassnameitemProductcard_animatedbuttons' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants' ? 'scrollmenuclassnameitemProductcard_with_variants' : item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard' ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard ' : 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 == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_Categorycard_fullimage' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard' ? 'scrollmenuclassnameitemUpSlideEffectCard' : '
|
|
31761
|
+
itemClassName: item.tabexsectioninfo.sectioncompname == 'Productcard6' ? 'scrollmenuclassnameitemProductcard6' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? 'scrollmenuclassnameitemProductcardcircularhover' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? 'scrollmenuclassnameitemProductcard_with_circularbg' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation' ? 'scrollmenuclassnameitemProductcard_with_slideanimation' : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons' ? 'scrollmenuclassnameitemProductcard_animatedbuttons' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants' ? 'scrollmenuclassnameitemProductcard_with_variants' : item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard' ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard ' : 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 == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_Categorycard_fullimage' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard' ? 'scrollmenuclassnameitemUpSlideEffectCard' : '',
|
|
31762
31762
|
scrollContainerClassName: 'scrollmenuclasssubscrollbar'
|
|
31763
31763
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
31764
31764
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -31774,7 +31774,8 @@
|
|
|
31774
31774
|
cardinfoitemprops: cardinfoitem,
|
|
31775
31775
|
sectionindexprops: index,
|
|
31776
31776
|
sectionidprops: item.sectionid,
|
|
31777
|
-
actions: actions
|
|
31777
|
+
actions: actions,
|
|
31778
|
+
sectiontypeprops2: 'horizontal'
|
|
31778
31779
|
}));
|
|
31779
31780
|
}), fetchingtype == 'products' && fetchProductsQuery.isFetchingNextPage && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
31780
31781
|
className: section_cssstyles.loadbtn + ' d-flex justify-content-end align-items-center ',
|
|
@@ -40257,7 +40258,7 @@
|
|
|
40257
40258
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
40258
40259
|
}
|
|
40259
40260
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40260
|
-
"class": cardarrayofobjs.length != 0 ? '' : 'h-
|
|
40261
|
+
"class": cardarrayofobjs.length != 0 ? '' : sectionproperties.width == '100' ? 'h-sm-auto' : 'h-sm-auto pl-sm-2 pr-sm-2 w-sm-100',
|
|
40261
40262
|
style: {
|
|
40262
40263
|
position: 'relative',
|
|
40263
40264
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
@@ -40265,8 +40266,6 @@
|
|
|
40265
40266
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
40266
40267
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
40267
40268
|
width: sectionproperties.width + 'vw',
|
|
40268
|
-
marginBottom: sectionproperties.marginBottom + 'px',
|
|
40269
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
40270
40269
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
|
|
40271
40270
|
overflow: 'hidden'
|
|
40272
40271
|
}
|
|
@@ -40286,7 +40285,7 @@
|
|
|
40286
40285
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
40287
40286
|
}
|
|
40288
40287
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40289
|
-
"class":
|
|
40288
|
+
"class": ' p-0 align-items-center d-flex d-md-none ',
|
|
40290
40289
|
key: index,
|
|
40291
40290
|
style: {
|
|
40292
40291
|
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
@@ -40322,7 +40321,7 @@
|
|
|
40322
40321
|
height: '100%'
|
|
40323
40322
|
}
|
|
40324
40323
|
}), SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40325
|
-
"class":
|
|
40324
|
+
"class": ' p-0 align-items-center d-none d-md-flex ',
|
|
40326
40325
|
key: index,
|
|
40327
40326
|
style: {
|
|
40328
40327
|
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
@@ -44516,7 +44515,7 @@
|
|
|
44516
44515
|
}, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')));
|
|
44517
44516
|
};
|
|
44518
44517
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44519
|
-
"class":
|
|
44518
|
+
"class": langdetect == 'en' ? sectionproperties.card_marginLeft != 0 ? 'row m-0 w-100 pl-sm-2' : sectionproperties.card_marginRight != 0 ? 'row m-0 w-100 pr-sm-2' : 'row m-0 w-100' : langdetect == 'en' ? sectionproperties.card_marginRight != 0 ? 'row m-0 w-100 pr-sm-2' : sectionproperties.card_marginLeft != 0 ? 'row m-0 w-100 pl-sm-2' : 'row m-0 w-100' : 'row m-0 w-100',
|
|
44520
44519
|
style: {
|
|
44521
44520
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
44522
44521
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|