tabexseriescomponents 0.0.628 → 0.0.629
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 +61 -77
- package/dist/index.esm.js +61 -77
- package/dist/index.umd.js +61 -77
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -26484,7 +26484,7 @@ var ClassicHeader = function ClassicHeader(props) {
|
|
|
26484
26484
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
26485
26485
|
size: 25,
|
|
26486
26486
|
color: '#fff'
|
|
26487
|
-
})))), sectionproperties.
|
|
26487
|
+
})))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
26488
26488
|
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
26489
26489
|
target: '_blank',
|
|
26490
26490
|
style: {
|
|
@@ -51340,32 +51340,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
51340
51340
|
}
|
|
51341
51341
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
51342
51342
|
"class": section_cssstyles.line_right + ' d-sm-none '
|
|
51343
|
-
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51344
|
-
"class": "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end justify-content-sm-center p-0"
|
|
51345
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51346
|
-
"class": "row m-0 w-100 d-flex align-item-center justify-content-end "
|
|
51347
|
-
}, sectionproperties.view_as_slider_vertical == 'Slider (Horizontal)' && sectionproperties.viewmorebtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51348
|
-
"class": 'pl-0 pr-0 d-flex justify-content-end justify-content-sm-center pl-1 pr-0'
|
|
51349
|
-
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
51350
|
-
"class": "".concat(section_cssstyles.viewmorebtn) + ' w-sm-auto btn-circle-resp m-sm-0 ',
|
|
51351
|
-
onClick: function onClick() {
|
|
51352
|
-
if (fetchingtype == 'products') {
|
|
51353
|
-
if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
|
|
51354
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
|
|
51355
|
-
} else {
|
|
51356
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
51357
|
-
}
|
|
51358
|
-
} else {
|
|
51359
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
51360
|
-
}
|
|
51361
|
-
}
|
|
51362
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
51363
|
-
"class": "d-md-none"
|
|
51364
|
-
}, langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
51365
|
-
"class": "d-none d-md-flex align-items-center justify-content-center"
|
|
51366
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
51367
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
51368
|
-
}, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(FaArrowAltCircleRight.FaArrowAltCircleRight, null) : /*#__PURE__*/React__default["default"].createElement(FaArrowAltCircleLeft.FaArrowAltCircleLeft, null))))))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51343
|
+
})))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51369
51344
|
"class": "col-lg-12 p-0"
|
|
51370
51345
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
51371
51346
|
"class": "mt-2 mb-2",
|
|
@@ -51377,8 +51352,11 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
51377
51352
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51378
51353
|
"class": "row m-0 w-100 "
|
|
51379
51354
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51380
|
-
"class":
|
|
51381
|
-
style: {
|
|
51355
|
+
"class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
|
|
51356
|
+
style: {
|
|
51357
|
+
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
51358
|
+
paddingRight: sectionproperties.imagepadding + 'px'
|
|
51359
|
+
},
|
|
51382
51360
|
onClick: function onClick() {
|
|
51383
51361
|
var _cardsarray$;
|
|
51384
51362
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$ = cardsarray[0]) === null || _cardsarray$ === void 0 ? void 0 : _cardsarray$.collectionid));
|
|
@@ -51432,10 +51410,15 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
51432
51410
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51433
51411
|
"class": "row m-0 w-100"
|
|
51434
51412
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51435
|
-
"class":
|
|
51413
|
+
"class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
|
|
51436
51414
|
onClick: function onClick() {
|
|
51437
51415
|
var _cardsarray$4;
|
|
51438
51416
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$4 = cardsarray[1]) === null || _cardsarray$4 === void 0 ? void 0 : _cardsarray$4.collectionid));
|
|
51417
|
+
},
|
|
51418
|
+
style: {
|
|
51419
|
+
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
51420
|
+
paddingRight: sectionproperties.imagepadding + 'px',
|
|
51421
|
+
marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
|
|
51439
51422
|
}
|
|
51440
51423
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51441
51424
|
"class": "row m-0 w-100",
|
|
@@ -51484,10 +51467,11 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
51484
51467
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
51485
51468
|
"class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
|
|
51486
51469
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51487
|
-
"class": section_cssstyles.cardcont + ' col-lg-6
|
|
51470
|
+
"class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
|
|
51488
51471
|
style: {
|
|
51489
|
-
|
|
51490
|
-
|
|
51472
|
+
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
51473
|
+
paddingRight: sectionproperties.imagepadding + 'px',
|
|
51474
|
+
marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
|
|
51491
51475
|
},
|
|
51492
51476
|
onClick: function onClick() {
|
|
51493
51477
|
var _cardsarray$7;
|
|
@@ -51540,10 +51524,15 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
51540
51524
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
51541
51525
|
"class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
|
|
51542
51526
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51543
|
-
"class":
|
|
51527
|
+
"class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-7 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-7 p-md-0 mb-md-3 cursor-pointer ',
|
|
51544
51528
|
onClick: function onClick() {
|
|
51545
51529
|
var _cardsarray$10;
|
|
51546
51530
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$10 = cardsarray[3]) === null || _cardsarray$10 === void 0 ? void 0 : _cardsarray$10.collectionid));
|
|
51531
|
+
},
|
|
51532
|
+
style: {
|
|
51533
|
+
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
51534
|
+
paddingRight: sectionproperties.imagepadding + 'px',
|
|
51535
|
+
marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
|
|
51547
51536
|
}
|
|
51548
51537
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51549
51538
|
"class": "row m-0 w-100",
|
|
@@ -51598,8 +51587,8 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
51598
51587
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51599
51588
|
"class": section_cssstyles.cardcont + ' col-lg-5 p-md-0 mb-md-3 cursor-pointer ',
|
|
51600
51589
|
style: {
|
|
51601
|
-
|
|
51602
|
-
|
|
51590
|
+
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
51591
|
+
paddingRight: sectionproperties.imagepadding + 'px'
|
|
51603
51592
|
},
|
|
51604
51593
|
onClick: function onClick() {
|
|
51605
51594
|
var _cardsarray$13;
|
|
@@ -66816,49 +66805,11 @@ var NewProductcard = function NewProductcard(props) {
|
|
|
66816
66805
|
e.stopPropagation();
|
|
66817
66806
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
66818
66807
|
}
|
|
66819
|
-
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))
|
|
66820
|
-
style: {
|
|
66821
|
-
bottom: 0,
|
|
66822
|
-
position: 'absolute',
|
|
66823
|
-
width: '100%'
|
|
66824
|
-
},
|
|
66825
|
-
"class": sectionproperties.transition == 'Show By Default' ? 'd-flex' : 'd-none d-md-flex d-sm-flex'
|
|
66826
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66827
|
-
"class": card_cssstyles.showButtonResp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
|
|
66828
|
-
onClick: function onClick(e) {
|
|
66829
|
-
e.stopPropagation();
|
|
66830
|
-
setShowProductInfoModalContext(true);
|
|
66831
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
66832
|
-
}
|
|
66833
|
-
}, /*#__PURE__*/React__default["default"].createElement(BsEye.BsEye, {
|
|
66834
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66835
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66836
|
-
"class": card_cssstyles.cartbtnresp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
|
|
66837
|
-
onClick: function onClick(e) {
|
|
66838
|
-
e.stopPropagation();
|
|
66839
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
66840
|
-
}
|
|
66841
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
66842
|
-
"class": "",
|
|
66843
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66844
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
66845
|
-
"class": "",
|
|
66846
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66847
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
66848
|
-
"class": "",
|
|
66849
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66850
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
66851
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66852
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
66853
|
-
"class": "",
|
|
66854
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66855
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
66856
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66857
|
-
}))));
|
|
66808
|
+
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
|
|
66858
66809
|
};
|
|
66859
66810
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66860
66811
|
// ${generalCardsStyles.newproductcard}
|
|
66861
|
-
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100
|
|
66812
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 ' : " ".concat(card_cssstyles.productcard),
|
|
66862
66813
|
style: {
|
|
66863
66814
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
66864
66815
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
@@ -66887,7 +66838,40 @@ var NewProductcard = function NewProductcard(props) {
|
|
|
66887
66838
|
}
|
|
66888
66839
|
}, ImageContent()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66889
66840
|
"class": 'row m-0 w-100 text-start d-flex justify-content-start mt-2'
|
|
66890
|
-
},
|
|
66841
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66842
|
+
"class": sectionproperties.transition == 'Show By Default' ? 'd-md-none col-lg-12 p-0 ' : 'd-none d-md-flex col-lg-12 p-0 '
|
|
66843
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66844
|
+
"class": card_cssstyles.showButtonResp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
|
|
66845
|
+
onClick: function onClick(e) {
|
|
66846
|
+
e.stopPropagation();
|
|
66847
|
+
setShowProductInfoModalContext(true);
|
|
66848
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
66849
|
+
}
|
|
66850
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsEye.BsEye, {
|
|
66851
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66852
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66853
|
+
"class": card_cssstyles.cartbtnresp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
|
|
66854
|
+
onClick: function onClick(e) {
|
|
66855
|
+
e.stopPropagation();
|
|
66856
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
66857
|
+
}
|
|
66858
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
66859
|
+
"class": "",
|
|
66860
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66861
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
66862
|
+
"class": "",
|
|
66863
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66864
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
66865
|
+
"class": "",
|
|
66866
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66867
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
66868
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66869
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
66870
|
+
"class": "",
|
|
66871
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66872
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
66873
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66874
|
+
}))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66891
66875
|
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
66892
66876
|
style: {
|
|
66893
66877
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
package/dist/index.esm.js
CHANGED
|
@@ -26435,7 +26435,7 @@ var ClassicHeader = function ClassicHeader(props) {
|
|
|
26435
26435
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
26436
26436
|
size: 25,
|
|
26437
26437
|
color: '#fff'
|
|
26438
|
-
})))), sectionproperties.
|
|
26438
|
+
})))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("a", {
|
|
26439
26439
|
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
26440
26440
|
target: '_blank',
|
|
26441
26441
|
style: {
|
|
@@ -51291,32 +51291,7 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
51291
51291
|
}
|
|
51292
51292
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React.createElement("span", {
|
|
51293
51293
|
"class": section_cssstyles.line_right + ' d-sm-none '
|
|
51294
|
-
})))), /*#__PURE__*/React.createElement("div", {
|
|
51295
|
-
"class": "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end justify-content-sm-center p-0"
|
|
51296
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
51297
|
-
"class": "row m-0 w-100 d-flex align-item-center justify-content-end "
|
|
51298
|
-
}, sectionproperties.view_as_slider_vertical == 'Slider (Horizontal)' && sectionproperties.viewmorebtnshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
51299
|
-
"class": 'pl-0 pr-0 d-flex justify-content-end justify-content-sm-center pl-1 pr-0'
|
|
51300
|
-
}, /*#__PURE__*/React.createElement("button", {
|
|
51301
|
-
"class": "".concat(section_cssstyles.viewmorebtn) + ' w-sm-auto btn-circle-resp m-sm-0 ',
|
|
51302
|
-
onClick: function onClick() {
|
|
51303
|
-
if (fetchingtype == 'products') {
|
|
51304
|
-
if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
|
|
51305
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
|
|
51306
|
-
} else {
|
|
51307
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
51308
|
-
}
|
|
51309
|
-
} else {
|
|
51310
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
51311
|
-
}
|
|
51312
|
-
}
|
|
51313
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
51314
|
-
"class": "d-md-none"
|
|
51315
|
-
}, langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar), /*#__PURE__*/React.createElement("span", {
|
|
51316
|
-
"class": "d-none d-md-flex align-items-center justify-content-center"
|
|
51317
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
51318
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
51319
|
-
}, langdetect == 'en' ? /*#__PURE__*/React.createElement(FaArrowAltCircleRight, null) : /*#__PURE__*/React.createElement(FaArrowAltCircleLeft, null))))))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
51294
|
+
})))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
51320
51295
|
"class": "col-lg-12 p-0"
|
|
51321
51296
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
51322
51297
|
"class": "mt-2 mb-2",
|
|
@@ -51328,8 +51303,11 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
51328
51303
|
}, /*#__PURE__*/React.createElement("div", {
|
|
51329
51304
|
"class": "row m-0 w-100 "
|
|
51330
51305
|
}, /*#__PURE__*/React.createElement("div", {
|
|
51331
|
-
"class":
|
|
51332
|
-
style: {
|
|
51306
|
+
"class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
|
|
51307
|
+
style: {
|
|
51308
|
+
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
51309
|
+
paddingRight: sectionproperties.imagepadding + 'px'
|
|
51310
|
+
},
|
|
51333
51311
|
onClick: function onClick() {
|
|
51334
51312
|
var _cardsarray$;
|
|
51335
51313
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$ = cardsarray[0]) === null || _cardsarray$ === void 0 ? void 0 : _cardsarray$.collectionid));
|
|
@@ -51383,10 +51361,15 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
51383
51361
|
}, /*#__PURE__*/React.createElement("div", {
|
|
51384
51362
|
"class": "row m-0 w-100"
|
|
51385
51363
|
}, /*#__PURE__*/React.createElement("div", {
|
|
51386
|
-
"class":
|
|
51364
|
+
"class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
|
|
51387
51365
|
onClick: function onClick() {
|
|
51388
51366
|
var _cardsarray$4;
|
|
51389
51367
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$4 = cardsarray[1]) === null || _cardsarray$4 === void 0 ? void 0 : _cardsarray$4.collectionid));
|
|
51368
|
+
},
|
|
51369
|
+
style: {
|
|
51370
|
+
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
51371
|
+
paddingRight: sectionproperties.imagepadding + 'px',
|
|
51372
|
+
marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
|
|
51390
51373
|
}
|
|
51391
51374
|
}, /*#__PURE__*/React.createElement("div", {
|
|
51392
51375
|
"class": "row m-0 w-100",
|
|
@@ -51435,10 +51418,11 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
51435
51418
|
}, /*#__PURE__*/React.createElement("p", {
|
|
51436
51419
|
"class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
|
|
51437
51420
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React.createElement("div", {
|
|
51438
|
-
"class": section_cssstyles.cardcont + ' col-lg-6
|
|
51421
|
+
"class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
|
|
51439
51422
|
style: {
|
|
51440
|
-
|
|
51441
|
-
|
|
51423
|
+
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
51424
|
+
paddingRight: sectionproperties.imagepadding + 'px',
|
|
51425
|
+
marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
|
|
51442
51426
|
},
|
|
51443
51427
|
onClick: function onClick() {
|
|
51444
51428
|
var _cardsarray$7;
|
|
@@ -51491,10 +51475,15 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
51491
51475
|
}, /*#__PURE__*/React.createElement("p", {
|
|
51492
51476
|
"class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
|
|
51493
51477
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React.createElement("div", {
|
|
51494
|
-
"class":
|
|
51478
|
+
"class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-7 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-7 p-md-0 mb-md-3 cursor-pointer ',
|
|
51495
51479
|
onClick: function onClick() {
|
|
51496
51480
|
var _cardsarray$10;
|
|
51497
51481
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$10 = cardsarray[3]) === null || _cardsarray$10 === void 0 ? void 0 : _cardsarray$10.collectionid));
|
|
51482
|
+
},
|
|
51483
|
+
style: {
|
|
51484
|
+
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
51485
|
+
paddingRight: sectionproperties.imagepadding + 'px',
|
|
51486
|
+
marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
|
|
51498
51487
|
}
|
|
51499
51488
|
}, /*#__PURE__*/React.createElement("div", {
|
|
51500
51489
|
"class": "row m-0 w-100",
|
|
@@ -51549,8 +51538,8 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
51549
51538
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React.createElement("div", {
|
|
51550
51539
|
"class": section_cssstyles.cardcont + ' col-lg-5 p-md-0 mb-md-3 cursor-pointer ',
|
|
51551
51540
|
style: {
|
|
51552
|
-
|
|
51553
|
-
|
|
51541
|
+
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
51542
|
+
paddingRight: sectionproperties.imagepadding + 'px'
|
|
51554
51543
|
},
|
|
51555
51544
|
onClick: function onClick() {
|
|
51556
51545
|
var _cardsarray$13;
|
|
@@ -66767,49 +66756,11 @@ var NewProductcard = function NewProductcard(props) {
|
|
|
66767
66756
|
e.stopPropagation();
|
|
66768
66757
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
66769
66758
|
}
|
|
66770
|
-
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))
|
|
66771
|
-
style: {
|
|
66772
|
-
bottom: 0,
|
|
66773
|
-
position: 'absolute',
|
|
66774
|
-
width: '100%'
|
|
66775
|
-
},
|
|
66776
|
-
"class": sectionproperties.transition == 'Show By Default' ? 'd-flex' : 'd-none d-md-flex d-sm-flex'
|
|
66777
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
66778
|
-
"class": card_cssstyles.showButtonResp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
|
|
66779
|
-
onClick: function onClick(e) {
|
|
66780
|
-
e.stopPropagation();
|
|
66781
|
-
setShowProductInfoModalContext(true);
|
|
66782
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
66783
|
-
}
|
|
66784
|
-
}, /*#__PURE__*/React.createElement(BsEye, {
|
|
66785
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66786
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
66787
|
-
"class": card_cssstyles.cartbtnresp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
|
|
66788
|
-
onClick: function onClick(e) {
|
|
66789
|
-
e.stopPropagation();
|
|
66790
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
66791
|
-
}
|
|
66792
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
|
|
66793
|
-
"class": "",
|
|
66794
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66795
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
|
|
66796
|
-
"class": "",
|
|
66797
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66798
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
|
|
66799
|
-
"class": "",
|
|
66800
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66801
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
|
|
66802
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66803
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
66804
|
-
"class": "",
|
|
66805
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66806
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
66807
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66808
|
-
}))));
|
|
66759
|
+
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
|
|
66809
66760
|
};
|
|
66810
66761
|
return /*#__PURE__*/React.createElement("div", {
|
|
66811
66762
|
// ${generalCardsStyles.newproductcard}
|
|
66812
|
-
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100
|
|
66763
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 ' : " ".concat(card_cssstyles.productcard),
|
|
66813
66764
|
style: {
|
|
66814
66765
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
66815
66766
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
@@ -66838,7 +66789,40 @@ var NewProductcard = function NewProductcard(props) {
|
|
|
66838
66789
|
}
|
|
66839
66790
|
}, ImageContent()), /*#__PURE__*/React.createElement("div", {
|
|
66840
66791
|
"class": 'row m-0 w-100 text-start d-flex justify-content-start mt-2'
|
|
66841
|
-
},
|
|
66792
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
66793
|
+
"class": sectionproperties.transition == 'Show By Default' ? 'd-md-none col-lg-12 p-0 ' : 'd-none d-md-flex col-lg-12 p-0 '
|
|
66794
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
66795
|
+
"class": card_cssstyles.showButtonResp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
|
|
66796
|
+
onClick: function onClick(e) {
|
|
66797
|
+
e.stopPropagation();
|
|
66798
|
+
setShowProductInfoModalContext(true);
|
|
66799
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
66800
|
+
}
|
|
66801
|
+
}, /*#__PURE__*/React.createElement(BsEye, {
|
|
66802
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66803
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
66804
|
+
"class": card_cssstyles.cartbtnresp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
|
|
66805
|
+
onClick: function onClick(e) {
|
|
66806
|
+
e.stopPropagation();
|
|
66807
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
66808
|
+
}
|
|
66809
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
|
|
66810
|
+
"class": "",
|
|
66811
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66812
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
|
|
66813
|
+
"class": "",
|
|
66814
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66815
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
|
|
66816
|
+
"class": "",
|
|
66817
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66818
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
|
|
66819
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66820
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
66821
|
+
"class": "",
|
|
66822
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66823
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
66824
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66825
|
+
}))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React.createElement("div", {
|
|
66842
66826
|
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
66843
66827
|
style: {
|
|
66844
66828
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
package/dist/index.umd.js
CHANGED
|
@@ -26308,7 +26308,7 @@
|
|
|
26308
26308
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
26309
26309
|
size: 25,
|
|
26310
26310
|
color: '#fff'
|
|
26311
|
-
})))), sectionproperties.
|
|
26311
|
+
})))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
26312
26312
|
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
26313
26313
|
target: '_blank',
|
|
26314
26314
|
style: {
|
|
@@ -51164,32 +51164,7 @@
|
|
|
51164
51164
|
}
|
|
51165
51165
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
51166
51166
|
"class": section_cssstyles.line_right + ' d-sm-none '
|
|
51167
|
-
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51168
|
-
"class": "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end justify-content-sm-center p-0"
|
|
51169
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51170
|
-
"class": "row m-0 w-100 d-flex align-item-center justify-content-end "
|
|
51171
|
-
}, sectionproperties.view_as_slider_vertical == 'Slider (Horizontal)' && sectionproperties.viewmorebtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51172
|
-
"class": 'pl-0 pr-0 d-flex justify-content-end justify-content-sm-center pl-1 pr-0'
|
|
51173
|
-
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
51174
|
-
"class": "".concat(section_cssstyles.viewmorebtn) + ' w-sm-auto btn-circle-resp m-sm-0 ',
|
|
51175
|
-
onClick: function onClick() {
|
|
51176
|
-
if (fetchingtype == 'products') {
|
|
51177
|
-
if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
|
|
51178
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
|
|
51179
|
-
} else {
|
|
51180
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
51181
|
-
}
|
|
51182
|
-
} else {
|
|
51183
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
51184
|
-
}
|
|
51185
|
-
}
|
|
51186
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
51187
|
-
"class": "d-md-none"
|
|
51188
|
-
}, langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
51189
|
-
"class": "d-none d-md-flex align-items-center justify-content-center"
|
|
51190
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
51191
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
51192
|
-
}, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(FaArrowAltCircleRight.FaArrowAltCircleRight, null) : /*#__PURE__*/React__default["default"].createElement(FaArrowAltCircleLeft.FaArrowAltCircleLeft, null))))))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51167
|
+
})))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51193
51168
|
"class": "col-lg-12 p-0"
|
|
51194
51169
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
51195
51170
|
"class": "mt-2 mb-2",
|
|
@@ -51201,8 +51176,11 @@
|
|
|
51201
51176
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51202
51177
|
"class": "row m-0 w-100 "
|
|
51203
51178
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51204
|
-
"class":
|
|
51205
|
-
style: {
|
|
51179
|
+
"class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
|
|
51180
|
+
style: {
|
|
51181
|
+
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
51182
|
+
paddingRight: sectionproperties.imagepadding + 'px'
|
|
51183
|
+
},
|
|
51206
51184
|
onClick: function onClick() {
|
|
51207
51185
|
var _cardsarray$;
|
|
51208
51186
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$ = cardsarray[0]) === null || _cardsarray$ === void 0 ? void 0 : _cardsarray$.collectionid));
|
|
@@ -51256,10 +51234,15 @@
|
|
|
51256
51234
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51257
51235
|
"class": "row m-0 w-100"
|
|
51258
51236
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51259
|
-
"class":
|
|
51237
|
+
"class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
|
|
51260
51238
|
onClick: function onClick() {
|
|
51261
51239
|
var _cardsarray$4;
|
|
51262
51240
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$4 = cardsarray[1]) === null || _cardsarray$4 === void 0 ? void 0 : _cardsarray$4.collectionid));
|
|
51241
|
+
},
|
|
51242
|
+
style: {
|
|
51243
|
+
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
51244
|
+
paddingRight: sectionproperties.imagepadding + 'px',
|
|
51245
|
+
marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
|
|
51263
51246
|
}
|
|
51264
51247
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51265
51248
|
"class": "row m-0 w-100",
|
|
@@ -51308,10 +51291,11 @@
|
|
|
51308
51291
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
51309
51292
|
"class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
|
|
51310
51293
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51311
|
-
"class": section_cssstyles.cardcont + ' col-lg-6
|
|
51294
|
+
"class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer ',
|
|
51312
51295
|
style: {
|
|
51313
|
-
|
|
51314
|
-
|
|
51296
|
+
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
51297
|
+
paddingRight: sectionproperties.imagepadding + 'px',
|
|
51298
|
+
marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
|
|
51315
51299
|
},
|
|
51316
51300
|
onClick: function onClick() {
|
|
51317
51301
|
var _cardsarray$7;
|
|
@@ -51364,10 +51348,15 @@
|
|
|
51364
51348
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
51365
51349
|
"class": section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '
|
|
51366
51350
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51367
|
-
"class":
|
|
51351
|
+
"class": sectionproperties.imagepadding == 0 ? section_cssstyles.cardcont + ' col-lg-7 p-md-0 cursor-pointer ' : section_cssstyles.cardcont + ' col-lg-7 p-md-0 mb-md-3 cursor-pointer ',
|
|
51368
51352
|
onClick: function onClick() {
|
|
51369
51353
|
var _cardsarray$10;
|
|
51370
51354
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_cardsarray$10 = cardsarray[3]) === null || _cardsarray$10 === void 0 ? void 0 : _cardsarray$10.collectionid));
|
|
51355
|
+
},
|
|
51356
|
+
style: {
|
|
51357
|
+
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
51358
|
+
paddingRight: sectionproperties.imagepadding + 'px',
|
|
51359
|
+
marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem'
|
|
51371
51360
|
}
|
|
51372
51361
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51373
51362
|
"class": "row m-0 w-100",
|
|
@@ -51422,8 +51411,8 @@
|
|
|
51422
51411
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51423
51412
|
"class": section_cssstyles.cardcont + ' col-lg-5 p-md-0 mb-md-3 cursor-pointer ',
|
|
51424
51413
|
style: {
|
|
51425
|
-
|
|
51426
|
-
|
|
51414
|
+
paddingLeft: sectionproperties.imagepadding + 'px',
|
|
51415
|
+
paddingRight: sectionproperties.imagepadding + 'px'
|
|
51427
51416
|
},
|
|
51428
51417
|
onClick: function onClick() {
|
|
51429
51418
|
var _cardsarray$13;
|
|
@@ -66640,49 +66629,11 @@
|
|
|
66640
66629
|
e.stopPropagation();
|
|
66641
66630
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
66642
66631
|
}
|
|
66643
|
-
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))
|
|
66644
|
-
style: {
|
|
66645
|
-
bottom: 0,
|
|
66646
|
-
position: 'absolute',
|
|
66647
|
-
width: '100%'
|
|
66648
|
-
},
|
|
66649
|
-
"class": sectionproperties.transition == 'Show By Default' ? 'd-flex' : 'd-none d-md-flex d-sm-flex'
|
|
66650
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66651
|
-
"class": card_cssstyles.showButtonResp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
|
|
66652
|
-
onClick: function onClick(e) {
|
|
66653
|
-
e.stopPropagation();
|
|
66654
|
-
setShowProductInfoModalContext(true);
|
|
66655
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
66656
|
-
}
|
|
66657
|
-
}, /*#__PURE__*/React__default["default"].createElement(BsEye.BsEye, {
|
|
66658
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66659
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66660
|
-
"class": card_cssstyles.cartbtnresp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
|
|
66661
|
-
onClick: function onClick(e) {
|
|
66662
|
-
e.stopPropagation();
|
|
66663
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
66664
|
-
}
|
|
66665
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
66666
|
-
"class": "",
|
|
66667
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66668
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
66669
|
-
"class": "",
|
|
66670
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66671
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
66672
|
-
"class": "",
|
|
66673
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66674
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
66675
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66676
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
66677
|
-
"class": "",
|
|
66678
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66679
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
66680
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
66681
|
-
}))));
|
|
66632
|
+
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
|
|
66682
66633
|
};
|
|
66683
66634
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66684
66635
|
// ${generalCardsStyles.newproductcard}
|
|
66685
|
-
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100
|
|
66636
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 ' : " ".concat(card_cssstyles.productcard),
|
|
66686
66637
|
style: {
|
|
66687
66638
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
66688
66639
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
@@ -66711,7 +66662,40 @@
|
|
|
66711
66662
|
}
|
|
66712
66663
|
}, ImageContent()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66713
66664
|
"class": 'row m-0 w-100 text-start d-flex justify-content-start mt-2'
|
|
66714
|
-
},
|
|
66665
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66666
|
+
"class": sectionproperties.transition == 'Show By Default' ? 'd-md-none col-lg-12 p-0 ' : 'd-none d-md-flex col-lg-12 p-0 '
|
|
66667
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66668
|
+
"class": card_cssstyles.showButtonResp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
|
|
66669
|
+
onClick: function onClick(e) {
|
|
66670
|
+
e.stopPropagation();
|
|
66671
|
+
setShowProductInfoModalContext(true);
|
|
66672
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
66673
|
+
}
|
|
66674
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsEye.BsEye, {
|
|
66675
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66676
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66677
|
+
"class": card_cssstyles.cartbtnresp + ' col-lg-6 p-0 d-flex align-items-center justify-content-center ',
|
|
66678
|
+
onClick: function onClick(e) {
|
|
66679
|
+
e.stopPropagation();
|
|
66680
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
66681
|
+
}
|
|
66682
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
66683
|
+
"class": "",
|
|
66684
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66685
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
66686
|
+
"class": "",
|
|
66687
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66688
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
66689
|
+
"class": "",
|
|
66690
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66691
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
66692
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66693
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
66694
|
+
"class": "",
|
|
66695
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66696
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
66697
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
66698
|
+
}))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
66715
66699
|
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
66716
66700
|
style: {
|
|
66717
66701
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|