tabexseriescomponents 0.0.230 → 0.0.232
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 +70 -26
- package/dist/index.esm.js +70 -26
- package/dist/index.umd.js +70 -26
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2076,9 +2076,9 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2076
2076
|
}
|
|
2077
2077
|
}, fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2078
2078
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
2079
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", getprice_discountpriceprops('defaultprice', 1), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2079
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", parseFloat(getprice_discountpriceprops('defaultprice', 1)).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2080
2080
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
2081
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', getprice_discountpriceprops('defaultsaleprice', 1), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2081
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', parseFloat(getprice_discountpriceprops('defaultsaleprice', 1)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2082
2082
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
2083
2083
|
style: {
|
|
2084
2084
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -2089,7 +2089,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2089
2089
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
2090
2090
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2091
2091
|
className: "ml-2 mr-2"
|
|
2092
|
-
}, "-"), " ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', getprice_discountpriceprops('defaultprice', 1), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2092
|
+
}, "-"), " ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2093
2093
|
"class": "col-lg-12 allcentered"
|
|
2094
2094
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2095
2095
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center ml-sm-auto mr-sm-auto mb-sm-2 ',
|
|
@@ -2428,7 +2428,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2428
2428
|
width: '100%',
|
|
2429
2429
|
background: '#eee'
|
|
2430
2430
|
},
|
|
2431
|
-
"class": productinfo_cssstyles.before + ' before '
|
|
2431
|
+
"class": langdetect == 'en' ? productinfo_cssstyles.before + ' before ' : productinfo_cssstyles.before + ' beforear '
|
|
2432
2432
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2433
2433
|
"class": "col-lg-12 p-0"
|
|
2434
2434
|
}, /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
|
|
@@ -3275,7 +3275,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
3275
3275
|
var _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
3276
3276
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3277
3277
|
"class": "row m-0 w-100"
|
|
3278
|
-
}, sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3278
|
+
}, sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showstoreinfo1 == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3279
3279
|
className: "col-lg-12 p-0 w-100 d-flex align-items-center mb-4"
|
|
3280
3280
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3281
3281
|
"class": productinfo_cssstyles.iconContainer
|
|
@@ -3295,7 +3295,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
3295
3295
|
style: {
|
|
3296
3296
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3297
3297
|
}
|
|
3298
|
-
}, langdetect == 'en' ? sectionproperties.otherinfodesc1en : sectionproperties.otherinfodesc1ar))), sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3298
|
+
}, langdetect == 'en' ? sectionproperties.otherinfodesc1en : sectionproperties.otherinfodesc1ar))), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showstoreinfo2 == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3299
3299
|
className: "col-lg-12 p-0 d-flex align-items-center mb-4"
|
|
3300
3300
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3301
3301
|
"class": productinfo_cssstyles.iconContainer
|
|
@@ -16785,7 +16785,7 @@ var Header8 = function Header8(props) {
|
|
|
16785
16785
|
});
|
|
16786
16786
|
});
|
|
16787
16787
|
setpcollarray(_toConsumableArray__default["default"](temppcollarray));
|
|
16788
|
-
}, []);
|
|
16788
|
+
}, [authdetailsContext]);
|
|
16789
16789
|
var ButtonDropdown = function ButtonDropdown(item, index, fetchedarray) {
|
|
16790
16790
|
var _fetchedarray$Choosen, _fetchedarray$Choosen2, _fetchedarray$Choosen3, _fetchedarray$Choosen4, _pcollarray$Choosenin, _pcollarray$Choosenin2, _pcollarray$Choosenin3;
|
|
16791
16791
|
var parentclassname = '';
|
|
@@ -16939,7 +16939,7 @@ var Header8 = function Header8(props) {
|
|
|
16939
16939
|
height: sectionproperties.vl_height + 'px',
|
|
16940
16940
|
width: sectionproperties.vl_width + '%',
|
|
16941
16941
|
backgroundColor: sectionproperties.vl_bg,
|
|
16942
|
-
zIndex:
|
|
16942
|
+
zIndex: 1
|
|
16943
16943
|
}),
|
|
16944
16944
|
searchbarcont: glamor.css({
|
|
16945
16945
|
position: 'relative',
|
|
@@ -17249,7 +17249,8 @@ var Header8 = function Header8(props) {
|
|
|
17249
17249
|
borderTopRightRadius: langdetect == 'en' ? 0 : '',
|
|
17250
17250
|
borderBottomRightRadius: langdetect == 'en' ? 0 : '',
|
|
17251
17251
|
borderBottomLeftRadius: langdetect == 'ar' ? 0 : '',
|
|
17252
|
-
borderTopLeftRadius: langdetect == 'ar' ? 0 : ''
|
|
17252
|
+
borderTopLeftRadius: langdetect == 'ar' ? 0 : '',
|
|
17253
|
+
zIndex: 100
|
|
17253
17254
|
}
|
|
17254
17255
|
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
17255
17256
|
"class": langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'
|
|
@@ -33774,24 +33775,44 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
|
|
|
33774
33775
|
}))))));
|
|
33775
33776
|
};
|
|
33776
33777
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33777
|
-
"class":
|
|
33778
|
+
"class": sectionproperties.card_marginLeft != 0 ? 'row ml-0 mr-0 w-100 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2' : 'row ml-0 mr-0 w-100 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
|
|
33778
33779
|
style: {
|
|
33779
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
33780
33780
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
33781
|
-
|
|
33782
|
-
|
|
33783
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
33784
|
-
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
33785
|
-
background: sectionproperties.backgroundColor
|
|
33781
|
+
paddingLeft: sectionproperties.card_marginLeft + 'px',
|
|
33782
|
+
paddingRight: sectionproperties.card_marginRight + 'px'
|
|
33786
33783
|
},
|
|
33787
33784
|
onMouseLeave: function onMouseLeave() {
|
|
33788
33785
|
setChoosenindex('');
|
|
33789
33786
|
}
|
|
33787
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33788
|
+
"class": "row ml-0 mr-0 w-100 d-flex d-md-none pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
33789
|
+
style: {
|
|
33790
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
33791
|
+
background: sectionproperties.backgroundColor,
|
|
33792
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
33793
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
33794
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
33795
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
33796
|
+
}
|
|
33790
33797
|
}, sectionproperties.collectionssectionshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33791
33798
|
"class": "col-lg-2 d-md-none"
|
|
33792
33799
|
}, CategoriesDropdown()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33793
33800
|
"class": sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 p-0' : 'col-lg-12 p-0'
|
|
33794
|
-
}, BackgroundImagesContent()))
|
|
33801
|
+
}, BackgroundImagesContent())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33802
|
+
"class": "row m-0 w-100 d-none d-md-flex pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
33803
|
+
style: {
|
|
33804
|
+
marginTop: sectionproperties.marginTopResp + 'px',
|
|
33805
|
+
background: sectionproperties.backgroundColor,
|
|
33806
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
33807
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
33808
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
33809
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
33810
|
+
}
|
|
33811
|
+
}, sectionproperties.collectionssectionshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33812
|
+
"class": "col-lg-2 d-md-none"
|
|
33813
|
+
}, CategoriesDropdown()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33814
|
+
"class": sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 p-0' : 'col-lg-12 p-0'
|
|
33815
|
+
}, BackgroundImagesContent())));
|
|
33795
33816
|
};
|
|
33796
33817
|
|
|
33797
33818
|
function ownKeys$14(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; }
|
|
@@ -37400,12 +37421,12 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
37400
37421
|
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
37401
37422
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
|
|
37402
37423
|
}
|
|
37403
|
-
}, SectionTitle()))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37424
|
+
}, SectionTitle()))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37404
37425
|
"class": "row m-0 w-100 d-flex d-md-none",
|
|
37405
37426
|
style: {
|
|
37406
37427
|
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
37407
37428
|
}
|
|
37408
|
-
}, Description()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37429
|
+
}, Description()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37409
37430
|
"class": "row m-0 w-100 d-none d-md-flex",
|
|
37410
37431
|
style: {
|
|
37411
37432
|
fontSize: sectionproperties.prodCatFontSizeResp + 'px'
|
|
@@ -44301,8 +44322,8 @@ var Card23 = function Card23(props) {
|
|
|
44301
44322
|
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44302
44323
|
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(cardsstyles2.card) + ' d-none d-md-flex w-100 ' : "".concat(cardsstyles2.card) + ' d-none d-md-flex ',
|
|
44303
44324
|
style: {
|
|
44304
|
-
minWidth: sectionproperties.widthresponsive + 'px',
|
|
44305
|
-
maxWidth: sectionproperties.widthresponsive + ' px'
|
|
44325
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
44326
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + ' px'
|
|
44306
44327
|
}
|
|
44307
44328
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44308
44329
|
"class": item.IsFavExists == true ? "".concat(cardsstyles2.iconsContainer, " ").concat(cardsstyles2.iconsContainer2) + ' iconsContainer d-flex d-md-none ' : "".concat(cardsstyles2.iconsContainer) + ' iconsContainer d-flex d-md-none ',
|
|
@@ -46779,9 +46800,9 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
46779
46800
|
var langdetect = props.actions.langdetect;
|
|
46780
46801
|
props.actions.routingcountext;
|
|
46781
46802
|
props.actions.StaticPagesLinksContext;
|
|
46782
|
-
var addtofavoritescontext = props.addtofavoritescontext;
|
|
46783
|
-
var setShowProductInfoModalContext = props.setShowProductInfoModalContext;
|
|
46784
|
-
var setProductIdProdutInfoModalContext = props.setProductIdProdutInfoModalContext;
|
|
46803
|
+
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
46804
|
+
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
46805
|
+
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
46785
46806
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
46786
46807
|
var plainString = function plainString(html) {
|
|
46787
46808
|
var divContainer = document.createElement('div');
|
|
@@ -46900,6 +46921,7 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
46900
46921
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46901
46922
|
"class": "col-lg-4 col-md-4 col-sm-4 p-0 h-100"
|
|
46902
46923
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46924
|
+
"class": "d-flex d-md-none",
|
|
46903
46925
|
onClick: function onClick() {
|
|
46904
46926
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
46905
46927
|
},
|
|
@@ -46920,6 +46942,28 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
46920
46942
|
marginBottom: 'auto'
|
|
46921
46943
|
},
|
|
46922
46944
|
loading: "lazy"
|
|
46945
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46946
|
+
"class": "d-none d-md-flex",
|
|
46947
|
+
onClick: function onClick() {
|
|
46948
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
46949
|
+
},
|
|
46950
|
+
style: {
|
|
46951
|
+
width: '100%',
|
|
46952
|
+
height: sectionproperties.height_responsive + 'px',
|
|
46953
|
+
cursor: 'pointer',
|
|
46954
|
+
position: 'relative'
|
|
46955
|
+
}
|
|
46956
|
+
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
46957
|
+
urlEndpoint: IKurlEndpoint,
|
|
46958
|
+
publicKey: IKpublicKey,
|
|
46959
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
46960
|
+
style: {
|
|
46961
|
+
width: '100%',
|
|
46962
|
+
height: '100%',
|
|
46963
|
+
objectFit: 'contain',
|
|
46964
|
+
marginBottom: 'auto'
|
|
46965
|
+
},
|
|
46966
|
+
loading: "lazy"
|
|
46923
46967
|
})), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.showbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46924
46968
|
"class": "allcentered",
|
|
46925
46969
|
style: {
|
|
@@ -46953,7 +46997,7 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
46953
46997
|
position: 'relative'
|
|
46954
46998
|
}
|
|
46955
46999
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46956
|
-
"class": 'col-lg-9 col-md-9 col-sm-
|
|
47000
|
+
"class": 'col-lg-9 col-md-9 col-sm-3 p-0 mb-2',
|
|
46957
47001
|
style: {
|
|
46958
47002
|
minHeight: '6vh'
|
|
46959
47003
|
}
|
|
@@ -46963,7 +47007,7 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
46963
47007
|
},
|
|
46964
47008
|
"class": card_cssstyles.productNameStyles + ' m-0 p-0 wordbreak wordbreak2 '
|
|
46965
47009
|
}, item.name)), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46966
|
-
"class": "col-lg-3 d-flex justify-content-end p-0"
|
|
47010
|
+
"class": "col-lg-3 col-md-3 col-sm-3 d-flex justify-content-end p-0"
|
|
46967
47011
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
46968
47012
|
"class": card_cssstyles.wishlist_btn + ' ',
|
|
46969
47013
|
style: {
|
package/dist/index.esm.js
CHANGED
|
@@ -2032,9 +2032,9 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2032
2032
|
}
|
|
2033
2033
|
}, fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && /*#__PURE__*/React.createElement("span", {
|
|
2034
2034
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
2035
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", getprice_discountpriceprops('defaultprice', 1), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React.createElement("span", {
|
|
2035
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", parseFloat(getprice_discountpriceprops('defaultprice', 1)).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React.createElement("span", {
|
|
2036
2036
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
2037
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', getprice_discountpriceprops('defaultsaleprice', 1), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React.createElement("p", {
|
|
2037
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', parseFloat(getprice_discountpriceprops('defaultsaleprice', 1)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React.createElement("p", {
|
|
2038
2038
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
2039
2039
|
style: {
|
|
2040
2040
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -2045,7 +2045,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2045
2045
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
2046
2046
|
}, /*#__PURE__*/React.createElement("span", {
|
|
2047
2047
|
className: "ml-2 mr-2"
|
|
2048
|
-
}, "-"), " ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', getprice_discountpriceprops('defaultprice', 1), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))))), /*#__PURE__*/React.createElement("div", {
|
|
2048
|
+
}, "-"), " ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))))), /*#__PURE__*/React.createElement("div", {
|
|
2049
2049
|
"class": "col-lg-12 allcentered"
|
|
2050
2050
|
}, /*#__PURE__*/React.createElement("button", {
|
|
2051
2051
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center ml-sm-auto mr-sm-auto mb-sm-2 ',
|
|
@@ -2384,7 +2384,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2384
2384
|
width: '100%',
|
|
2385
2385
|
background: '#eee'
|
|
2386
2386
|
},
|
|
2387
|
-
"class": productinfo_cssstyles.before + ' before '
|
|
2387
|
+
"class": langdetect == 'en' ? productinfo_cssstyles.before + ' before ' : productinfo_cssstyles.before + ' beforear '
|
|
2388
2388
|
})), /*#__PURE__*/React.createElement("div", {
|
|
2389
2389
|
"class": "col-lg-12 p-0"
|
|
2390
2390
|
}, /*#__PURE__*/React.createElement(Serviceinfotabs, {
|
|
@@ -3231,7 +3231,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
3231
3231
|
var _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
3232
3232
|
return /*#__PURE__*/React.createElement("div", {
|
|
3233
3233
|
"class": "row m-0 w-100"
|
|
3234
|
-
}, sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React.createElement("div", {
|
|
3234
|
+
}, sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showstoreinfo1 == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
3235
3235
|
className: "col-lg-12 p-0 w-100 d-flex align-items-center mb-4"
|
|
3236
3236
|
}, /*#__PURE__*/React.createElement("div", {
|
|
3237
3237
|
"class": productinfo_cssstyles.iconContainer
|
|
@@ -3251,7 +3251,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
3251
3251
|
style: {
|
|
3252
3252
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3253
3253
|
}
|
|
3254
|
-
}, langdetect == 'en' ? sectionproperties.otherinfodesc1en : sectionproperties.otherinfodesc1ar))), sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React.createElement("div", {
|
|
3254
|
+
}, langdetect == 'en' ? sectionproperties.otherinfodesc1en : sectionproperties.otherinfodesc1ar))), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showstoreinfo2 == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
3255
3255
|
className: "col-lg-12 p-0 d-flex align-items-center mb-4"
|
|
3256
3256
|
}, /*#__PURE__*/React.createElement("div", {
|
|
3257
3257
|
"class": productinfo_cssstyles.iconContainer
|
|
@@ -16741,7 +16741,7 @@ var Header8 = function Header8(props) {
|
|
|
16741
16741
|
});
|
|
16742
16742
|
});
|
|
16743
16743
|
setpcollarray(_toConsumableArray(temppcollarray));
|
|
16744
|
-
}, []);
|
|
16744
|
+
}, [authdetailsContext]);
|
|
16745
16745
|
var ButtonDropdown = function ButtonDropdown(item, index, fetchedarray) {
|
|
16746
16746
|
var _fetchedarray$Choosen, _fetchedarray$Choosen2, _fetchedarray$Choosen3, _fetchedarray$Choosen4, _pcollarray$Choosenin, _pcollarray$Choosenin2, _pcollarray$Choosenin3;
|
|
16747
16747
|
var parentclassname = '';
|
|
@@ -16895,7 +16895,7 @@ var Header8 = function Header8(props) {
|
|
|
16895
16895
|
height: sectionproperties.vl_height + 'px',
|
|
16896
16896
|
width: sectionproperties.vl_width + '%',
|
|
16897
16897
|
backgroundColor: sectionproperties.vl_bg,
|
|
16898
|
-
zIndex:
|
|
16898
|
+
zIndex: 1
|
|
16899
16899
|
}),
|
|
16900
16900
|
searchbarcont: css({
|
|
16901
16901
|
position: 'relative',
|
|
@@ -17205,7 +17205,8 @@ var Header8 = function Header8(props) {
|
|
|
17205
17205
|
borderTopRightRadius: langdetect == 'en' ? 0 : '',
|
|
17206
17206
|
borderBottomRightRadius: langdetect == 'en' ? 0 : '',
|
|
17207
17207
|
borderBottomLeftRadius: langdetect == 'ar' ? 0 : '',
|
|
17208
|
-
borderTopLeftRadius: langdetect == 'ar' ? 0 : ''
|
|
17208
|
+
borderTopLeftRadius: langdetect == 'ar' ? 0 : '',
|
|
17209
|
+
zIndex: 100
|
|
17209
17210
|
}
|
|
17210
17211
|
}, /*#__PURE__*/React.createElement("li", {
|
|
17211
17212
|
"class": langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'
|
|
@@ -33730,24 +33731,44 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
|
|
|
33730
33731
|
}))))));
|
|
33731
33732
|
};
|
|
33732
33733
|
return /*#__PURE__*/React.createElement("div", {
|
|
33733
|
-
"class":
|
|
33734
|
+
"class": sectionproperties.card_marginLeft != 0 ? 'row ml-0 mr-0 w-100 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2' : 'row ml-0 mr-0 w-100 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
|
|
33734
33735
|
style: {
|
|
33735
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
33736
33736
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
33737
|
-
|
|
33738
|
-
|
|
33739
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
33740
|
-
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
33741
|
-
background: sectionproperties.backgroundColor
|
|
33737
|
+
paddingLeft: sectionproperties.card_marginLeft + 'px',
|
|
33738
|
+
paddingRight: sectionproperties.card_marginRight + 'px'
|
|
33742
33739
|
},
|
|
33743
33740
|
onMouseLeave: function onMouseLeave() {
|
|
33744
33741
|
setChoosenindex('');
|
|
33745
33742
|
}
|
|
33743
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
33744
|
+
"class": "row ml-0 mr-0 w-100 d-flex d-md-none pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
33745
|
+
style: {
|
|
33746
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
33747
|
+
background: sectionproperties.backgroundColor,
|
|
33748
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
33749
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
33750
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
33751
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
33752
|
+
}
|
|
33746
33753
|
}, sectionproperties.collectionssectionshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
33747
33754
|
"class": "col-lg-2 d-md-none"
|
|
33748
33755
|
}, CategoriesDropdown()), /*#__PURE__*/React.createElement("div", {
|
|
33749
33756
|
"class": sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 p-0' : 'col-lg-12 p-0'
|
|
33750
|
-
}, BackgroundImagesContent()))
|
|
33757
|
+
}, BackgroundImagesContent())), /*#__PURE__*/React.createElement("div", {
|
|
33758
|
+
"class": "row m-0 w-100 d-none d-md-flex pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
33759
|
+
style: {
|
|
33760
|
+
marginTop: sectionproperties.marginTopResp + 'px',
|
|
33761
|
+
background: sectionproperties.backgroundColor,
|
|
33762
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
33763
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
33764
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
33765
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
33766
|
+
}
|
|
33767
|
+
}, sectionproperties.collectionssectionshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
33768
|
+
"class": "col-lg-2 d-md-none"
|
|
33769
|
+
}, CategoriesDropdown()), /*#__PURE__*/React.createElement("div", {
|
|
33770
|
+
"class": sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 p-0' : 'col-lg-12 p-0'
|
|
33771
|
+
}, BackgroundImagesContent())));
|
|
33751
33772
|
};
|
|
33752
33773
|
|
|
33753
33774
|
function ownKeys$14(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; }
|
|
@@ -37356,12 +37377,12 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
37356
37377
|
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
37357
37378
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
|
|
37358
37379
|
}
|
|
37359
|
-
}, SectionTitle()))), /*#__PURE__*/React.createElement("div", {
|
|
37380
|
+
}, SectionTitle()))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
37360
37381
|
"class": "row m-0 w-100 d-flex d-md-none",
|
|
37361
37382
|
style: {
|
|
37362
37383
|
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
37363
37384
|
}
|
|
37364
|
-
}, Description()), /*#__PURE__*/React.createElement("div", {
|
|
37385
|
+
}, Description()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
37365
37386
|
"class": "row m-0 w-100 d-none d-md-flex",
|
|
37366
37387
|
style: {
|
|
37367
37388
|
fontSize: sectionproperties.prodCatFontSizeResp + 'px'
|
|
@@ -44257,8 +44278,8 @@ var Card23 = function Card23(props) {
|
|
|
44257
44278
|
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))))))), /*#__PURE__*/React.createElement("div", {
|
|
44258
44279
|
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(cardsstyles2.card) + ' d-none d-md-flex w-100 ' : "".concat(cardsstyles2.card) + ' d-none d-md-flex ',
|
|
44259
44280
|
style: {
|
|
44260
|
-
minWidth: sectionproperties.widthresponsive + 'px',
|
|
44261
|
-
maxWidth: sectionproperties.widthresponsive + ' px'
|
|
44281
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
44282
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + ' px'
|
|
44262
44283
|
}
|
|
44263
44284
|
}, /*#__PURE__*/React.createElement("div", {
|
|
44264
44285
|
"class": item.IsFavExists == true ? "".concat(cardsstyles2.iconsContainer, " ").concat(cardsstyles2.iconsContainer2) + ' iconsContainer d-flex d-md-none ' : "".concat(cardsstyles2.iconsContainer) + ' iconsContainer d-flex d-md-none ',
|
|
@@ -46735,9 +46756,9 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
46735
46756
|
var langdetect = props.actions.langdetect;
|
|
46736
46757
|
props.actions.routingcountext;
|
|
46737
46758
|
props.actions.StaticPagesLinksContext;
|
|
46738
|
-
var addtofavoritescontext = props.addtofavoritescontext;
|
|
46739
|
-
var setShowProductInfoModalContext = props.setShowProductInfoModalContext;
|
|
46740
|
-
var setProductIdProdutInfoModalContext = props.setProductIdProdutInfoModalContext;
|
|
46759
|
+
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
46760
|
+
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
46761
|
+
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
46741
46762
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
46742
46763
|
var plainString = function plainString(html) {
|
|
46743
46764
|
var divContainer = document.createElement('div');
|
|
@@ -46856,6 +46877,7 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
46856
46877
|
}, /*#__PURE__*/React.createElement("div", {
|
|
46857
46878
|
"class": "col-lg-4 col-md-4 col-sm-4 p-0 h-100"
|
|
46858
46879
|
}, /*#__PURE__*/React.createElement("div", {
|
|
46880
|
+
"class": "d-flex d-md-none",
|
|
46859
46881
|
onClick: function onClick() {
|
|
46860
46882
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
46861
46883
|
},
|
|
@@ -46876,6 +46898,28 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
46876
46898
|
marginBottom: 'auto'
|
|
46877
46899
|
},
|
|
46878
46900
|
loading: "lazy"
|
|
46901
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
46902
|
+
"class": "d-none d-md-flex",
|
|
46903
|
+
onClick: function onClick() {
|
|
46904
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
46905
|
+
},
|
|
46906
|
+
style: {
|
|
46907
|
+
width: '100%',
|
|
46908
|
+
height: sectionproperties.height_responsive + 'px',
|
|
46909
|
+
cursor: 'pointer',
|
|
46910
|
+
position: 'relative'
|
|
46911
|
+
}
|
|
46912
|
+
}, /*#__PURE__*/React.createElement(IKImage, {
|
|
46913
|
+
urlEndpoint: IKurlEndpoint,
|
|
46914
|
+
publicKey: IKpublicKey,
|
|
46915
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
46916
|
+
style: {
|
|
46917
|
+
width: '100%',
|
|
46918
|
+
height: '100%',
|
|
46919
|
+
objectFit: 'contain',
|
|
46920
|
+
marginBottom: 'auto'
|
|
46921
|
+
},
|
|
46922
|
+
loading: "lazy"
|
|
46879
46923
|
})), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.showbadge == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
46880
46924
|
"class": "allcentered",
|
|
46881
46925
|
style: {
|
|
@@ -46909,7 +46953,7 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
46909
46953
|
position: 'relative'
|
|
46910
46954
|
}
|
|
46911
46955
|
}, /*#__PURE__*/React.createElement("div", {
|
|
46912
|
-
"class": 'col-lg-9 col-md-9 col-sm-
|
|
46956
|
+
"class": 'col-lg-9 col-md-9 col-sm-3 p-0 mb-2',
|
|
46913
46957
|
style: {
|
|
46914
46958
|
minHeight: '6vh'
|
|
46915
46959
|
}
|
|
@@ -46919,7 +46963,7 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
46919
46963
|
},
|
|
46920
46964
|
"class": card_cssstyles.productNameStyles + ' m-0 p-0 wordbreak wordbreak2 '
|
|
46921
46965
|
}, item.name)), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
46922
|
-
"class": "col-lg-3 d-flex justify-content-end p-0"
|
|
46966
|
+
"class": "col-lg-3 col-md-3 col-sm-3 d-flex justify-content-end p-0"
|
|
46923
46967
|
}, /*#__PURE__*/React.createElement("button", {
|
|
46924
46968
|
"class": card_cssstyles.wishlist_btn + ' ',
|
|
46925
46969
|
style: {
|
package/dist/index.umd.js
CHANGED
|
@@ -1932,9 +1932,9 @@
|
|
|
1932
1932
|
}
|
|
1933
1933
|
}, fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1934
1934
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
1935
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", getprice_discountpriceprops('defaultprice', 1), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1935
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", parseFloat(getprice_discountpriceprops('defaultprice', 1)).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1936
1936
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
1937
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', getprice_discountpriceprops('defaultsaleprice', 1), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1937
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', parseFloat(getprice_discountpriceprops('defaultsaleprice', 1)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1938
1938
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
1939
1939
|
style: {
|
|
1940
1940
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -1945,7 +1945,7 @@
|
|
|
1945
1945
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
1946
1946
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1947
1947
|
className: "ml-2 mr-2"
|
|
1948
|
-
}, "-"), " ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', getprice_discountpriceprops('defaultprice', 1), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1948
|
+
}, "-"), " ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1949
1949
|
"class": "col-lg-12 allcentered"
|
|
1950
1950
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
1951
1951
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center ml-sm-auto mr-sm-auto mb-sm-2 ',
|
|
@@ -2284,7 +2284,7 @@
|
|
|
2284
2284
|
width: '100%',
|
|
2285
2285
|
background: '#eee'
|
|
2286
2286
|
},
|
|
2287
|
-
"class": productinfo_cssstyles.before + ' before '
|
|
2287
|
+
"class": langdetect == 'en' ? productinfo_cssstyles.before + ' before ' : productinfo_cssstyles.before + ' beforear '
|
|
2288
2288
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2289
2289
|
"class": "col-lg-12 p-0"
|
|
2290
2290
|
}, /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
|
|
@@ -3131,7 +3131,7 @@
|
|
|
3131
3131
|
var _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
3132
3132
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3133
3133
|
"class": "row m-0 w-100"
|
|
3134
|
-
}, sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3134
|
+
}, sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showstoreinfo1 == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3135
3135
|
className: "col-lg-12 p-0 w-100 d-flex align-items-center mb-4"
|
|
3136
3136
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3137
3137
|
"class": productinfo_cssstyles.iconContainer
|
|
@@ -3151,7 +3151,7 @@
|
|
|
3151
3151
|
style: {
|
|
3152
3152
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3153
3153
|
}
|
|
3154
|
-
}, langdetect == 'en' ? sectionproperties.otherinfodesc1en : sectionproperties.otherinfodesc1ar))), sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3154
|
+
}, langdetect == 'en' ? sectionproperties.otherinfodesc1en : sectionproperties.otherinfodesc1ar))), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showstoreinfo2 == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3155
3155
|
className: "col-lg-12 p-0 d-flex align-items-center mb-4"
|
|
3156
3156
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3157
3157
|
"class": productinfo_cssstyles.iconContainer
|
|
@@ -16641,7 +16641,7 @@
|
|
|
16641
16641
|
});
|
|
16642
16642
|
});
|
|
16643
16643
|
setpcollarray(_toConsumableArray__default["default"](temppcollarray));
|
|
16644
|
-
}, []);
|
|
16644
|
+
}, [authdetailsContext]);
|
|
16645
16645
|
var ButtonDropdown = function ButtonDropdown(item, index, fetchedarray) {
|
|
16646
16646
|
var _fetchedarray$Choosen, _fetchedarray$Choosen2, _fetchedarray$Choosen3, _fetchedarray$Choosen4, _pcollarray$Choosenin, _pcollarray$Choosenin2, _pcollarray$Choosenin3;
|
|
16647
16647
|
var parentclassname = '';
|
|
@@ -16795,7 +16795,7 @@
|
|
|
16795
16795
|
height: sectionproperties.vl_height + 'px',
|
|
16796
16796
|
width: sectionproperties.vl_width + '%',
|
|
16797
16797
|
backgroundColor: sectionproperties.vl_bg,
|
|
16798
|
-
zIndex:
|
|
16798
|
+
zIndex: 1
|
|
16799
16799
|
}),
|
|
16800
16800
|
searchbarcont: glamor.css({
|
|
16801
16801
|
position: 'relative',
|
|
@@ -17105,7 +17105,8 @@
|
|
|
17105
17105
|
borderTopRightRadius: langdetect == 'en' ? 0 : '',
|
|
17106
17106
|
borderBottomRightRadius: langdetect == 'en' ? 0 : '',
|
|
17107
17107
|
borderBottomLeftRadius: langdetect == 'ar' ? 0 : '',
|
|
17108
|
-
borderTopLeftRadius: langdetect == 'ar' ? 0 : ''
|
|
17108
|
+
borderTopLeftRadius: langdetect == 'ar' ? 0 : '',
|
|
17109
|
+
zIndex: 100
|
|
17109
17110
|
}
|
|
17110
17111
|
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
17111
17112
|
"class": langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'
|
|
@@ -33630,24 +33631,44 @@
|
|
|
33630
33631
|
}))))));
|
|
33631
33632
|
};
|
|
33632
33633
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33633
|
-
"class":
|
|
33634
|
+
"class": sectionproperties.card_marginLeft != 0 ? 'row ml-0 mr-0 w-100 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2' : 'row ml-0 mr-0 w-100 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
|
|
33634
33635
|
style: {
|
|
33635
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
33636
33636
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
33637
|
-
|
|
33638
|
-
|
|
33639
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
33640
|
-
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
33641
|
-
background: sectionproperties.backgroundColor
|
|
33637
|
+
paddingLeft: sectionproperties.card_marginLeft + 'px',
|
|
33638
|
+
paddingRight: sectionproperties.card_marginRight + 'px'
|
|
33642
33639
|
},
|
|
33643
33640
|
onMouseLeave: function onMouseLeave() {
|
|
33644
33641
|
setChoosenindex('');
|
|
33645
33642
|
}
|
|
33643
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33644
|
+
"class": "row ml-0 mr-0 w-100 d-flex d-md-none pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
33645
|
+
style: {
|
|
33646
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
33647
|
+
background: sectionproperties.backgroundColor,
|
|
33648
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
33649
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
33650
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
33651
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
33652
|
+
}
|
|
33646
33653
|
}, sectionproperties.collectionssectionshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33647
33654
|
"class": "col-lg-2 d-md-none"
|
|
33648
33655
|
}, CategoriesDropdown()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33649
33656
|
"class": sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 p-0' : 'col-lg-12 p-0'
|
|
33650
|
-
}, BackgroundImagesContent()))
|
|
33657
|
+
}, BackgroundImagesContent())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33658
|
+
"class": "row m-0 w-100 d-none d-md-flex pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
33659
|
+
style: {
|
|
33660
|
+
marginTop: sectionproperties.marginTopResp + 'px',
|
|
33661
|
+
background: sectionproperties.backgroundColor,
|
|
33662
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
33663
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
33664
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
33665
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
33666
|
+
}
|
|
33667
|
+
}, sectionproperties.collectionssectionshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33668
|
+
"class": "col-lg-2 d-md-none"
|
|
33669
|
+
}, CategoriesDropdown()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33670
|
+
"class": sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 p-0' : 'col-lg-12 p-0'
|
|
33671
|
+
}, BackgroundImagesContent())));
|
|
33651
33672
|
};
|
|
33652
33673
|
|
|
33653
33674
|
function ownKeys$14(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; }
|
|
@@ -37256,12 +37277,12 @@
|
|
|
37256
37277
|
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
37257
37278
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
|
|
37258
37279
|
}
|
|
37259
|
-
}, SectionTitle()))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37280
|
+
}, SectionTitle()))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37260
37281
|
"class": "row m-0 w-100 d-flex d-md-none",
|
|
37261
37282
|
style: {
|
|
37262
37283
|
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
37263
37284
|
}
|
|
37264
|
-
}, Description()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37285
|
+
}, Description()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37265
37286
|
"class": "row m-0 w-100 d-none d-md-flex",
|
|
37266
37287
|
style: {
|
|
37267
37288
|
fontSize: sectionproperties.prodCatFontSizeResp + 'px'
|
|
@@ -44157,8 +44178,8 @@
|
|
|
44157
44178
|
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44158
44179
|
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(cardsstyles2.card) + ' d-none d-md-flex w-100 ' : "".concat(cardsstyles2.card) + ' d-none d-md-flex ',
|
|
44159
44180
|
style: {
|
|
44160
|
-
minWidth: sectionproperties.widthresponsive + 'px',
|
|
44161
|
-
maxWidth: sectionproperties.widthresponsive + ' px'
|
|
44181
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
44182
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + ' px'
|
|
44162
44183
|
}
|
|
44163
44184
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
44164
44185
|
"class": item.IsFavExists == true ? "".concat(cardsstyles2.iconsContainer, " ").concat(cardsstyles2.iconsContainer2) + ' iconsContainer d-flex d-md-none ' : "".concat(cardsstyles2.iconsContainer) + ' iconsContainer d-flex d-md-none ',
|
|
@@ -46635,9 +46656,9 @@
|
|
|
46635
46656
|
var langdetect = props.actions.langdetect;
|
|
46636
46657
|
props.actions.routingcountext;
|
|
46637
46658
|
props.actions.StaticPagesLinksContext;
|
|
46638
|
-
var addtofavoritescontext = props.addtofavoritescontext;
|
|
46639
|
-
var setShowProductInfoModalContext = props.setShowProductInfoModalContext;
|
|
46640
|
-
var setProductIdProdutInfoModalContext = props.setProductIdProdutInfoModalContext;
|
|
46659
|
+
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
46660
|
+
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
46661
|
+
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
46641
46662
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
46642
46663
|
var plainString = function plainString(html) {
|
|
46643
46664
|
var divContainer = document.createElement('div');
|
|
@@ -46756,6 +46777,7 @@
|
|
|
46756
46777
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46757
46778
|
"class": "col-lg-4 col-md-4 col-sm-4 p-0 h-100"
|
|
46758
46779
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46780
|
+
"class": "d-flex d-md-none",
|
|
46759
46781
|
onClick: function onClick() {
|
|
46760
46782
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
46761
46783
|
},
|
|
@@ -46776,6 +46798,28 @@
|
|
|
46776
46798
|
marginBottom: 'auto'
|
|
46777
46799
|
},
|
|
46778
46800
|
loading: "lazy"
|
|
46801
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46802
|
+
"class": "d-none d-md-flex",
|
|
46803
|
+
onClick: function onClick() {
|
|
46804
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
46805
|
+
},
|
|
46806
|
+
style: {
|
|
46807
|
+
width: '100%',
|
|
46808
|
+
height: sectionproperties.height_responsive + 'px',
|
|
46809
|
+
cursor: 'pointer',
|
|
46810
|
+
position: 'relative'
|
|
46811
|
+
}
|
|
46812
|
+
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
46813
|
+
urlEndpoint: IKurlEndpoint,
|
|
46814
|
+
publicKey: IKpublicKey,
|
|
46815
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
46816
|
+
style: {
|
|
46817
|
+
width: '100%',
|
|
46818
|
+
height: '100%',
|
|
46819
|
+
objectFit: 'contain',
|
|
46820
|
+
marginBottom: 'auto'
|
|
46821
|
+
},
|
|
46822
|
+
loading: "lazy"
|
|
46779
46823
|
})), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.showbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46780
46824
|
"class": "allcentered",
|
|
46781
46825
|
style: {
|
|
@@ -46809,7 +46853,7 @@
|
|
|
46809
46853
|
position: 'relative'
|
|
46810
46854
|
}
|
|
46811
46855
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46812
|
-
"class": 'col-lg-9 col-md-9 col-sm-
|
|
46856
|
+
"class": 'col-lg-9 col-md-9 col-sm-3 p-0 mb-2',
|
|
46813
46857
|
style: {
|
|
46814
46858
|
minHeight: '6vh'
|
|
46815
46859
|
}
|
|
@@ -46819,7 +46863,7 @@
|
|
|
46819
46863
|
},
|
|
46820
46864
|
"class": card_cssstyles.productNameStyles + ' m-0 p-0 wordbreak wordbreak2 '
|
|
46821
46865
|
}, item.name)), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
46822
|
-
"class": "col-lg-3 d-flex justify-content-end p-0"
|
|
46866
|
+
"class": "col-lg-3 col-md-3 col-sm-3 d-flex justify-content-end p-0"
|
|
46823
46867
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
46824
46868
|
"class": card_cssstyles.wishlist_btn + ' ',
|
|
46825
46869
|
style: {
|