tabexseriescomponents 0.0.213 → 0.0.215
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 +771 -263
- package/dist/index.esm.js +771 -263
- package/dist/index.umd.js +771 -263
- package/package.json +1 -1
- package/npmpackage.zip +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -1292,7 +1292,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1292
1292
|
borderRadius: 100,
|
|
1293
1293
|
position: 'absolute',
|
|
1294
1294
|
top: 7,
|
|
1295
|
-
left: -4
|
|
1295
|
+
left: langdetect == 'en' ? -4 : '',
|
|
1296
|
+
right: langdetect == 'ar' ? -4 : ''
|
|
1296
1297
|
}
|
|
1297
1298
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1298
1299
|
className: "row m-0 w-100 d-flex align-items-start pb-3",
|
|
@@ -1315,7 +1316,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1315
1316
|
backgroundColor: sectionproperties.variantcontainer_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.variantcontainer_bgcolor,
|
|
1316
1317
|
minWidth: sectionproperties.variantcontainer_bgcolortransparent == 'Transparent' ? 'auto' : sectionproperties.variantcontainer_minwidth + 'px',
|
|
1317
1318
|
height: sectionproperties.variantcontainer_bgcolortransparent == 'Transparent' ? 'auto' : sectionproperties.variantcontainer_height + 'px',
|
|
1318
|
-
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px'
|
|
1319
|
+
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
1320
|
+
transform: 'none',
|
|
1321
|
+
cursor: 'default'
|
|
1319
1322
|
}
|
|
1320
1323
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1321
1324
|
className: 'm-0 p-0 allcentered font-weight-500',
|
|
@@ -1825,9 +1828,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1825
1828
|
TabIndicatorProps: {
|
|
1826
1829
|
style: {
|
|
1827
1830
|
background: sectionproperties.activetabbordercolor,
|
|
1828
|
-
width:
|
|
1829
|
-
right: sectionproperties.
|
|
1830
|
-
margin: sectionproperties.
|
|
1831
|
+
width: '50%',
|
|
1832
|
+
right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
|
|
1833
|
+
margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : ''
|
|
1831
1834
|
}
|
|
1832
1835
|
},
|
|
1833
1836
|
sx: {
|
|
@@ -16060,6 +16063,7 @@ var Header8 = function Header8(props) {
|
|
|
16060
16063
|
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
|
|
16061
16064
|
color: sectionproperties.favBtniconcolor,
|
|
16062
16065
|
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
16066
|
+
fontSize: sectionproperties.favBtnIconfontsize + 'px',
|
|
16063
16067
|
transition: '.3s',
|
|
16064
16068
|
':hover': {
|
|
16065
16069
|
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
@@ -16502,19 +16506,19 @@ var Header8 = function Header8(props) {
|
|
|
16502
16506
|
onClick: function onClick() {
|
|
16503
16507
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
16504
16508
|
}
|
|
16509
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
16510
|
+
"class": "".concat(header_cssstyles.wishlist_btn)
|
|
16511
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
16512
|
+
"class": "h-100 allcentered"
|
|
16505
16513
|
}, sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
16506
|
-
"class": "".concat(header_cssstyles.wishlist_btn),
|
|
16507
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
16508
16514
|
style: {
|
|
16509
16515
|
position: 'relative'
|
|
16510
16516
|
}
|
|
16511
16517
|
}), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar.AiFillStar, {
|
|
16512
|
-
"class": "".concat(header_cssstyles.wishlist_btn),
|
|
16513
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
16514
16518
|
style: {
|
|
16515
16519
|
position: 'relative'
|
|
16516
16520
|
}
|
|
16517
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16521
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16518
16522
|
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.wishlistbadge)
|
|
16519
16523
|
}, /*#__PURE__*/React__default["default"].createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16520
16524
|
"class": " d-flex flex-row justify-content-end align-items-center"
|
|
@@ -16533,7 +16537,9 @@ var Header8 = function Header8(props) {
|
|
|
16533
16537
|
"class": "".concat(header_cssstyles.cart_btn) + ' cursor-pointer d-flex align-items-center justify-content-center '
|
|
16534
16538
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16535
16539
|
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
|
|
16536
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0),
|
|
16540
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0), /*#__PURE__*/React__default["default"].createElement("i", {
|
|
16541
|
+
"class": "h-100 allcentered"
|
|
16542
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
16537
16543
|
size: sectionproperties.cartBtn_iconFontSize
|
|
16538
16544
|
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
16539
16545
|
size: sectionproperties.cartBtn_iconFontSize
|
|
@@ -16545,7 +16551,7 @@ var Header8 = function Header8(props) {
|
|
|
16545
16551
|
size: sectionproperties.cartBtn_iconFontSize
|
|
16546
16552
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
16547
16553
|
size: sectionproperties.cartBtn_iconFontSize
|
|
16548
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16554
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16549
16555
|
"class": langdetect == 'en' ? 'ml-2' : 'mr-2'
|
|
16550
16556
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16551
16557
|
"class": "row m-0 w-100 d-flex align-items-center flex-column justify-content-start"
|
|
@@ -26016,23 +26022,15 @@ var Footer2 = function Footer2(props) {
|
|
|
26016
26022
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
26017
26023
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
26018
26024
|
React.useEffect(function () {
|
|
26019
|
-
|
|
26020
|
-
|
|
26021
|
-
|
|
26022
|
-
|
|
26023
|
-
|
|
26024
|
-
|
|
26025
|
-
|
|
26026
|
-
|
|
26027
|
-
|
|
26028
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
26029
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
26030
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
26031
|
-
});
|
|
26032
|
-
}
|
|
26033
|
-
});
|
|
26034
|
-
setsectionproperties(_objectSpread$1l({}, secpropobj));
|
|
26035
|
-
}
|
|
26025
|
+
var secpropobj = {};
|
|
26026
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
26027
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
26028
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
26029
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
26030
|
+
});
|
|
26031
|
+
}
|
|
26032
|
+
});
|
|
26033
|
+
setsectionproperties(_objectSpread$1l({}, secpropobj));
|
|
26036
26034
|
}, [StatePagePropertiesContext]);
|
|
26037
26035
|
React.useEffect(function () {
|
|
26038
26036
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -32307,13 +32305,11 @@ var UsersCardsSection = function UsersCardsSection(props) {
|
|
|
32307
32305
|
function ownKeys$15(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; }
|
|
32308
32306
|
function _objectSpread$15(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$15(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$15(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
32309
32307
|
var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategories(props) {
|
|
32310
|
-
var _imagesarray$, _imagesarray$2, _imagesarray$3, _imagesarray$4, _imagesarray$5, _imagesarray$6;
|
|
32311
32308
|
props.actions.lang;
|
|
32312
32309
|
var langdetect = props.actions.langdetect;
|
|
32313
32310
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
32314
|
-
props.actions.routingcountext;
|
|
32315
|
-
props.actions.StaticPagesLinksContext;
|
|
32316
|
-
props.sectionindexcontext;
|
|
32311
|
+
var routingcountext = props.actions.routingcountext;
|
|
32312
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
32317
32313
|
var _useState = React.useState(''),
|
|
32318
32314
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
32319
32315
|
sectionproperties = _useState2[0],
|
|
@@ -32322,6 +32318,15 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
|
|
|
32322
32318
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
32323
32319
|
imagesarray = _useState4[0],
|
|
32324
32320
|
setimagesarray = _useState4[1];
|
|
32321
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
32322
|
+
var _useState5 = React.useState(false),
|
|
32323
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
32324
|
+
_useState6[0];
|
|
32325
|
+
var setshowdownheadermenu = _useState6[1];
|
|
32326
|
+
var _useState7 = React.useState(''),
|
|
32327
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
32328
|
+
Choosenindex = _useState8[0],
|
|
32329
|
+
setChoosenindex = _useState8[1];
|
|
32325
32330
|
React.useEffect(function () {
|
|
32326
32331
|
if (props.srcfrom == 'addsectionform') {
|
|
32327
32332
|
var secpropobj = {};
|
|
@@ -32351,6 +32356,21 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
|
|
|
32351
32356
|
}
|
|
32352
32357
|
}
|
|
32353
32358
|
}, [sectionproperties]);
|
|
32359
|
+
var _useState9 = React.useState([]),
|
|
32360
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
32361
|
+
pcollarray = _useState10[0],
|
|
32362
|
+
setpcollarray = _useState10[1];
|
|
32363
|
+
React.useEffect(function () {
|
|
32364
|
+
var _authdetailsContext$i, _authdetailsContext$i2;
|
|
32365
|
+
var temppcollarray = _toConsumableArray__default["default"](pcollarray);
|
|
32366
|
+
authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : (_authdetailsContext$i2 = _authdetailsContext$i.instcategories) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.forEach(function (arrayItem) {
|
|
32367
|
+
var _arrayItem$parentcoll;
|
|
32368
|
+
arrayItem === null || arrayItem === void 0 ? void 0 : (_arrayItem$parentcoll = arrayItem.parentcolletions) === null || _arrayItem$parentcoll === void 0 ? void 0 : _arrayItem$parentcoll.forEach(function (item) {
|
|
32369
|
+
temppcollarray.push(item);
|
|
32370
|
+
});
|
|
32371
|
+
});
|
|
32372
|
+
setpcollarray(_toConsumableArray__default["default"](temppcollarray));
|
|
32373
|
+
}, []);
|
|
32354
32374
|
var sectionstyles = {
|
|
32355
32375
|
imageBackground: glamor.css({
|
|
32356
32376
|
':before': {
|
|
@@ -32365,8 +32385,284 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
|
|
|
32365
32385
|
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
32366
32386
|
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
32367
32387
|
}
|
|
32388
|
+
}),
|
|
32389
|
+
categoryname: glamor.css({
|
|
32390
|
+
color: sectionproperties.subheader_categorytitle_fontColor,
|
|
32391
|
+
fontSize: sectionproperties.subheader_categorytitle_fontSize + 'px',
|
|
32392
|
+
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
32393
|
+
fontWeight: sectionproperties.subheader_categorytitle_textfontweight,
|
|
32394
|
+
transition: '.3s',
|
|
32395
|
+
':hover': {
|
|
32396
|
+
color: sectionproperties.subheader_categorytitle_coloronhover
|
|
32397
|
+
}
|
|
32398
|
+
}),
|
|
32399
|
+
parentcollection: glamor.css({
|
|
32400
|
+
color: sectionproperties.subheader_collectiontitle_fontColor,
|
|
32401
|
+
fontSize: sectionproperties.subheader_collectiontitle_fontSize + 'px',
|
|
32402
|
+
textTransform: sectionproperties.subheader_collectiontitle_textTransform,
|
|
32403
|
+
fontWeight: sectionproperties.subheader_collectiontitle_textfontweight,
|
|
32404
|
+
transition: '.3s',
|
|
32405
|
+
':hover': {
|
|
32406
|
+
color: sectionproperties.subheader_collectiontitle_coloronhover
|
|
32407
|
+
}
|
|
32408
|
+
}),
|
|
32409
|
+
collectionName: glamor.css({
|
|
32410
|
+
color: sectionproperties.collectionsectiontextcolor,
|
|
32411
|
+
fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
|
|
32412
|
+
textTransform: sectionproperties.collectionsectiontexttransform,
|
|
32413
|
+
fontWeight: sectionproperties.collectionsectiontextfontweight,
|
|
32414
|
+
transition: '.3s',
|
|
32415
|
+
':hover': {
|
|
32416
|
+
color: sectionproperties.collectionsectiontextcoloronhover
|
|
32417
|
+
}
|
|
32418
|
+
}),
|
|
32419
|
+
dropdowntitle: glamor.css({
|
|
32420
|
+
color: sectionproperties.collectionssectiontitlecolor,
|
|
32421
|
+
fontSize: sectionproperties.collectionssectiontitlefontsize + 'px',
|
|
32422
|
+
fontWeight: sectionproperties.collectionssectiontitlefonteweight,
|
|
32423
|
+
backgroundColor: sectionproperties.collectionssectiontitlebgcolor
|
|
32368
32424
|
})
|
|
32369
32425
|
};
|
|
32426
|
+
var CategoriesDropdown = function CategoriesDropdown() {
|
|
32427
|
+
var _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16;
|
|
32428
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32429
|
+
"class": "row m-0 w-100",
|
|
32430
|
+
style: {
|
|
32431
|
+
background: sectionproperties.collectionssectionbgcolor,
|
|
32432
|
+
boxShadow: '0 0 10px ' + sectionproperties.collectionssectionshadowcolor
|
|
32433
|
+
}
|
|
32434
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32435
|
+
"class": "col-lg-12 p-0"
|
|
32436
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32437
|
+
"class": "row m-0 w-100"
|
|
32438
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32439
|
+
className: sectionstyles.dropdowntitle + ' col-lg-12 p-0 '
|
|
32440
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
32441
|
+
className: "m-0 p-3 text-center"
|
|
32442
|
+
}, langdetect == 'en' ? sectionproperties.collectionssectiontitleen : sectionproperties.collectionssectiontitlear)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32443
|
+
"class": "col-lg-12 flex-column cat_dropdown_hover scrollvertical pt-3 px-2",
|
|
32444
|
+
style: {
|
|
32445
|
+
height: sectionproperties.height + 'vh',
|
|
32446
|
+
overflowY: 'scroll'
|
|
32447
|
+
}
|
|
32448
|
+
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : (_authdetailsContext$i4 = _authdetailsContext$i3.instcategories) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.map(function (item, index) {
|
|
32449
|
+
var _authdetailsContext$i5;
|
|
32450
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32451
|
+
"class": sectionstyles.categoryname + ' row ml-0 mr-0 w-100 cursor-pointer ',
|
|
32452
|
+
onMouseEnter: function onMouseEnter() {
|
|
32453
|
+
setshowdownheadermenu(true);
|
|
32454
|
+
setChoosenindex(index);
|
|
32455
|
+
}
|
|
32456
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32457
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '
|
|
32458
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
32459
|
+
"class": ' m-0 p-0 wordbreak wordbreak1 ',
|
|
32460
|
+
onClick: function onClick() {
|
|
32461
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
32462
|
+
}
|
|
32463
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32464
|
+
className: 'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '
|
|
32465
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
32466
|
+
className: ' p-0 h-100 allcentered '
|
|
32467
|
+
}, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(BsChevronRight.BsChevronRight, {
|
|
32468
|
+
size: sectionproperties.collectionsectioniconfontsize
|
|
32469
|
+
}) : /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
|
|
32470
|
+
size: sectionproperties.collectionsectioniconfontsize
|
|
32471
|
+
}))), index != (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instcategories) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32472
|
+
className: "col-lg-12 p-0 mt-3 mb-3"
|
|
32473
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
32474
|
+
"class": "m-0"
|
|
32475
|
+
})));
|
|
32476
|
+
})), sectionproperties.fetchparenttype == 'Parent Collections' && (pcollarray === null || pcollarray === void 0 ? void 0 : pcollarray.map(function (item, index) {
|
|
32477
|
+
if (item.isshowntocustomers == 1) {
|
|
32478
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32479
|
+
"class": sectionstyles.parentcollection + ' row ml-0 mr-0 w-100 cursor-pointer ',
|
|
32480
|
+
onMouseEnter: function onMouseEnter() {
|
|
32481
|
+
setshowdownheadermenu(true);
|
|
32482
|
+
setChoosenindex(index);
|
|
32483
|
+
}
|
|
32484
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32485
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '
|
|
32486
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
32487
|
+
"class": ' m-0 p-0 wordbreak wordbreak1 ',
|
|
32488
|
+
onClick: function onClick() {
|
|
32489
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
|
|
32490
|
+
}
|
|
32491
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32492
|
+
className: 'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '
|
|
32493
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
32494
|
+
className: ' p-0 h-100 allcentered '
|
|
32495
|
+
}, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(BsChevronRight.BsChevronRight, {
|
|
32496
|
+
size: sectionproperties.collectionsectioniconfontsize
|
|
32497
|
+
}) : /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
|
|
32498
|
+
size: sectionproperties.collectionsectioniconfontsize
|
|
32499
|
+
}))), index != pcollarray - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32500
|
+
className: "col-lg-12 p-0 mt-3 mb-3"
|
|
32501
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
32502
|
+
"class": "m-0"
|
|
32503
|
+
})));
|
|
32504
|
+
}
|
|
32505
|
+
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instcollections.map(function (item, index) {
|
|
32506
|
+
if (item.isshowntocustomers == 1) {
|
|
32507
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32508
|
+
"class": slideshow_styles.parentcollection + ' row ml-0 mr-0 w-100 cursor-pointer ',
|
|
32509
|
+
onMouseEnter: function onMouseEnter() {
|
|
32510
|
+
setshowdownheadermenu(true);
|
|
32511
|
+
setChoosenindex(index);
|
|
32512
|
+
}
|
|
32513
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32514
|
+
className: ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center p-0 '
|
|
32515
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
32516
|
+
"class": ' m-0 p-0 wordbreak wordbreak1 ',
|
|
32517
|
+
onClick: function onClick() {
|
|
32518
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
32519
|
+
}
|
|
32520
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), index != pcollarray - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32521
|
+
className: "col-lg-12 p-0 mt-3 mb-3"
|
|
32522
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
32523
|
+
"class": "m-0"
|
|
32524
|
+
})));
|
|
32525
|
+
}
|
|
32526
|
+
}))), sectionproperties.fetchparenttype == 'Categories' && Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : (_authdetailsContext$i8 = _authdetailsContext$i7.instcategories[Choosenindex]) === null || _authdetailsContext$i8 === void 0 ? void 0 : (_authdetailsContext$i9 = _authdetailsContext$i8.parentcolletions) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32527
|
+
"class": langdetect == 'en' ? 'cat_dropdown-menu cat_dropdown cat_dropdownen' : 'cat_dropdown-menu cat_dropdown cat_dropdownar',
|
|
32528
|
+
style: {
|
|
32529
|
+
minHeight: sectionproperties.height + 'vh'
|
|
32530
|
+
},
|
|
32531
|
+
onMouseLeave: function onMouseLeave() {
|
|
32532
|
+
setChoosenindex('');
|
|
32533
|
+
}
|
|
32534
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32535
|
+
"class": "row m-0 w-100"
|
|
32536
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : (_authdetailsContext$i11 = _authdetailsContext$i10.instcategories[Choosenindex]) === null || _authdetailsContext$i11 === void 0 ? void 0 : (_authdetailsContext$i12 = _authdetailsContext$i11.parentcolletions) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.map(function (item, index) {
|
|
32537
|
+
var _item$collections;
|
|
32538
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32539
|
+
"class": "col-lg-4 p-0"
|
|
32540
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
32541
|
+
"class": sectionstyles.parentcollection + ' m-0 p-0 mb-3 cursor-pointer wordbreak wordbreak2 ',
|
|
32542
|
+
onClick: function onClick() {
|
|
32543
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
|
|
32544
|
+
},
|
|
32545
|
+
style: {
|
|
32546
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
32547
|
+
}
|
|
32548
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar), item === null || item === void 0 ? void 0 : (_item$collections = item.collections) === null || _item$collections === void 0 ? void 0 : _item$collections.map(function (item, index) {
|
|
32549
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32550
|
+
"class": "col-lg-12 pl-1 pr-1"
|
|
32551
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
32552
|
+
"class": sectionstyles.collectionName + ' cursor-pointer wordbreak wordbreak2 mb-1 ',
|
|
32553
|
+
onClick: function onClick() {
|
|
32554
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
32555
|
+
},
|
|
32556
|
+
style: {
|
|
32557
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
32558
|
+
}
|
|
32559
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar));
|
|
32560
|
+
}));
|
|
32561
|
+
}))), sectionproperties.fetchparenttype == 'Parent Collections' && Choosenindex.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32562
|
+
"class": langdetect == 'en' ? 'cat_dropdown-menu cat_dropdown cat_dropdownen' : 'cat_dropdown-menu cat_dropdown cat_dropdownar',
|
|
32563
|
+
style: {
|
|
32564
|
+
minHeight: sectionproperties.height + 'vh'
|
|
32565
|
+
},
|
|
32566
|
+
onMouseLeave: function onMouseLeave() {
|
|
32567
|
+
setChoosenindex('');
|
|
32568
|
+
}
|
|
32569
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32570
|
+
"class": "row m-0 w-100"
|
|
32571
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : (_authdetailsContext$i14 = _authdetailsContext$i13.instcategories[0]) === null || _authdetailsContext$i14 === void 0 ? void 0 : (_authdetailsContext$i15 = _authdetailsContext$i14.parentcolletions[Choosenindex]) === null || _authdetailsContext$i15 === void 0 ? void 0 : (_authdetailsContext$i16 = _authdetailsContext$i15.collections) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.map(function (item, index) {
|
|
32572
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32573
|
+
"class": "col-lg-4 p-0",
|
|
32574
|
+
onClick: function onClick() {
|
|
32575
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
32576
|
+
}
|
|
32577
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32578
|
+
"class": "col-lg-12 pl-1 pr-1"
|
|
32579
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
32580
|
+
"class": sectionstyles.collectionName + ' cursor-pointer wordbreak wordbreak2 mb-1 ',
|
|
32581
|
+
style: {
|
|
32582
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
32583
|
+
}
|
|
32584
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)));
|
|
32585
|
+
}))))));
|
|
32586
|
+
};
|
|
32587
|
+
var BackgroundImagesContent = function BackgroundImagesContent() {
|
|
32588
|
+
var _imagesarray$, _imagesarray$2, _imagesarray$3, _imagesarray$4, _imagesarray$5, _imagesarray$6;
|
|
32589
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32590
|
+
"class": "row m-0 w-100 align-items-center justify-content-center",
|
|
32591
|
+
onMouseEnter: function onMouseEnter() {
|
|
32592
|
+
setChoosenindex('');
|
|
32593
|
+
}
|
|
32594
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32595
|
+
"class": "col-lg-7 col-md-12 col-sm-12 pl-md-1 pl-sm-1 pr-md-1 pr-sm-1 mb-md-3 mb-sm-3 h-100"
|
|
32596
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32597
|
+
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 h-md-auto ' : "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 ',
|
|
32598
|
+
style: {
|
|
32599
|
+
height: sectionproperties.image_height + 'px',
|
|
32600
|
+
position: 'relative'
|
|
32601
|
+
}
|
|
32602
|
+
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
32603
|
+
urlEndpoint: IKurlEndpoint,
|
|
32604
|
+
publicKey: IKpublicKey,
|
|
32605
|
+
path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-820,h-520/' + ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.bgsection_image) : '/tr:w-820,h-520/' + ((_imagesarray$2 = imagesarray[0]) === null || _imagesarray$2 === void 0 ? void 0 : _imagesarray$2.bgsection_image_ar) : '',
|
|
32606
|
+
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
|
|
32607
|
+
style: {
|
|
32608
|
+
height: '100%',
|
|
32609
|
+
width: '100%',
|
|
32610
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
32611
|
+
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
32612
|
+
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
32613
|
+
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
32614
|
+
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
32615
|
+
}
|
|
32616
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32617
|
+
"class": "col-lg-5 p-sm-0"
|
|
32618
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32619
|
+
"class": "row m-0 w-100"
|
|
32620
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32621
|
+
"class": "col-lg-12 col-md-6 col-sm-6 p-0 mb-xl-3 mb-lg-3 pl-md-1 pl-sm-1 pr-md-1 pr-sm-1"
|
|
32622
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32623
|
+
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 h-md-auto ' : "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 ',
|
|
32624
|
+
style: {
|
|
32625
|
+
height: parseInt(sectionproperties.image_height / 2 - 5) + 'px',
|
|
32626
|
+
position: 'relative'
|
|
32627
|
+
}
|
|
32628
|
+
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
32629
|
+
urlEndpoint: IKurlEndpoint,
|
|
32630
|
+
publicKey: IKpublicKey,
|
|
32631
|
+
path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$3 = imagesarray[1]) === null || _imagesarray$3 === void 0 ? void 0 : _imagesarray$3.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$4 = imagesarray[1]) === null || _imagesarray$4 === void 0 ? void 0 : _imagesarray$4.bgsection_image_ar) : '',
|
|
32632
|
+
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
|
|
32633
|
+
style: {
|
|
32634
|
+
height: '100%',
|
|
32635
|
+
width: '100%',
|
|
32636
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
32637
|
+
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
32638
|
+
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
32639
|
+
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
32640
|
+
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
32641
|
+
}
|
|
32642
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32643
|
+
"class": "col-lg-12 col-md-6 col-sm-6 p-0 pl-md-1 pl-sm-1 pr-md-1 pr-sm-1"
|
|
32644
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32645
|
+
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 h-md-auto ' : "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 ',
|
|
32646
|
+
style: {
|
|
32647
|
+
height: parseInt(sectionproperties.image_height / 2 - 5) + 'px',
|
|
32648
|
+
position: 'relative'
|
|
32649
|
+
}
|
|
32650
|
+
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
32651
|
+
urlEndpoint: IKurlEndpoint,
|
|
32652
|
+
publicKey: IKpublicKey,
|
|
32653
|
+
path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$5 = imagesarray[2]) === null || _imagesarray$5 === void 0 ? void 0 : _imagesarray$5.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$6 = imagesarray[2]) === null || _imagesarray$6 === void 0 ? void 0 : _imagesarray$6.bgsection_image_ar) : '',
|
|
32654
|
+
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
|
|
32655
|
+
style: {
|
|
32656
|
+
height: '100%',
|
|
32657
|
+
width: '100%',
|
|
32658
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
32659
|
+
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
32660
|
+
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
32661
|
+
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
32662
|
+
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
32663
|
+
}
|
|
32664
|
+
}))))));
|
|
32665
|
+
};
|
|
32370
32666
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32371
32667
|
"class": "row m-0 w-100 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
32372
32668
|
style: {
|
|
@@ -32374,87 +32670,18 @@ var BacgroundThreeImageWithCategories = function BacgroundThreeImageWithCategori
|
|
|
32374
32670
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
32375
32671
|
paddingTop: sectionproperties.paddingTop + 'px',
|
|
32376
32672
|
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
32377
|
-
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
32378
|
-
paddingRight: sectionproperties.paddingRight + 'px'
|
|
32379
|
-
|
|
32380
|
-
|
|
32381
|
-
|
|
32382
|
-
|
|
32383
|
-
"class": "row m-0 w-100 align-items-center justify-content-center",
|
|
32384
|
-
style: {
|
|
32385
|
-
height: sectionproperties.image_height + 'vh'
|
|
32386
|
-
}
|
|
32387
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32388
|
-
"class": "col-lg-7 col-md-12 col-sm-12 pl-md-1 pl-sm-1 pr-md-1 pr-sm-1 mb-md-3 mb-sm-3 h-100"
|
|
32389
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32390
|
-
"class": "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 ',
|
|
32391
|
-
style: {
|
|
32392
|
-
height: 400,
|
|
32393
|
-
position: 'relative'
|
|
32394
|
-
}
|
|
32395
|
-
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
32396
|
-
urlEndpoint: IKurlEndpoint,
|
|
32397
|
-
publicKey: IKpublicKey,
|
|
32398
|
-
path: imagesarray.length != 0 ? langdetect == 'en' ? (_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.bgsection_image : (_imagesarray$2 = imagesarray[0]) === null || _imagesarray$2 === void 0 ? void 0 : _imagesarray$2.bgsection_image_ar : '',
|
|
32399
|
-
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
|
|
32400
|
-
style: {
|
|
32401
|
-
height: '100%',
|
|
32402
|
-
width: '100%',
|
|
32403
|
-
objectFit: sectionproperties.bgcovercontain,
|
|
32404
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
32405
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
32406
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
32407
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
32408
|
-
}
|
|
32409
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32410
|
-
"class": "col-lg-5 p-sm-0"
|
|
32411
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32412
|
-
"class": "row m-0 w-100"
|
|
32413
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32414
|
-
"class": "col-lg-12 col-md-6 col-sm-6 p-0 mb-xl-3 mb-lg-3 pl-md-1 pl-sm-1 pr-md-1 pr-sm-1"
|
|
32415
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32416
|
-
"class": "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 ',
|
|
32417
|
-
style: {
|
|
32418
|
-
height: '172px',
|
|
32419
|
-
position: 'relative'
|
|
32420
|
-
}
|
|
32421
|
-
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
32422
|
-
urlEndpoint: IKurlEndpoint,
|
|
32423
|
-
publicKey: IKpublicKey,
|
|
32424
|
-
path: imagesarray.length != 0 ? langdetect == 'en' ? (_imagesarray$3 = imagesarray[1]) === null || _imagesarray$3 === void 0 ? void 0 : _imagesarray$3.bgsection_image : (_imagesarray$4 = imagesarray[1]) === null || _imagesarray$4 === void 0 ? void 0 : _imagesarray$4.bgsection_image_ar : '',
|
|
32425
|
-
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
|
|
32426
|
-
style: {
|
|
32427
|
-
height: '100%',
|
|
32428
|
-
width: '100%',
|
|
32429
|
-
objectFit: sectionproperties.bgcovercontain,
|
|
32430
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
32431
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
32432
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
32433
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
32434
|
-
}
|
|
32435
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32436
|
-
"class": "col-lg-12 col-md-6 col-sm-6 p-0 pl-md-1 pl-sm-1 pr-md-1 pr-sm-1"
|
|
32437
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32438
|
-
"class": "".concat(sectionstyles.imageBackground) + ' row m-0 w-100 ',
|
|
32439
|
-
style: {
|
|
32440
|
-
height: '215px',
|
|
32441
|
-
position: 'relative'
|
|
32442
|
-
}
|
|
32443
|
-
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
32444
|
-
urlEndpoint: IKurlEndpoint,
|
|
32445
|
-
publicKey: IKpublicKey,
|
|
32446
|
-
path: imagesarray.length != 0 ? langdetect == 'en' ? (_imagesarray$5 = imagesarray[2]) === null || _imagesarray$5 === void 0 ? void 0 : _imagesarray$5.bgsection_image : (_imagesarray$6 = imagesarray[2]) === null || _imagesarray$6 === void 0 ? void 0 : _imagesarray$6.bgsection_image_ar : '',
|
|
32447
|
-
"class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
|
|
32448
|
-
style: {
|
|
32449
|
-
height: '100%',
|
|
32450
|
-
width: '100%',
|
|
32451
|
-
objectFit: sectionproperties.bgcovercontain,
|
|
32452
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
32453
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
32454
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
32455
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
32673
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
32674
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
32675
|
+
background: sectionproperties.backgroundColor
|
|
32676
|
+
},
|
|
32677
|
+
onMouseLeave: function onMouseLeave() {
|
|
32678
|
+
setChoosenindex('');
|
|
32456
32679
|
}
|
|
32457
|
-
}
|
|
32680
|
+
}, sectionproperties.collectionssectionshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32681
|
+
"class": "col-lg-2 d-md-none"
|
|
32682
|
+
}, CategoriesDropdown()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32683
|
+
"class": sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 p-0' : 'col-lg-12 p-0'
|
|
32684
|
+
}, BackgroundImagesContent()));
|
|
32458
32685
|
};
|
|
32459
32686
|
|
|
32460
32687
|
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; }
|
|
@@ -36054,6 +36281,8 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
36054
36281
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
36055
36282
|
props.actions.lang;
|
|
36056
36283
|
var langdetect = props.actions.langdetect;
|
|
36284
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
36285
|
+
var routingcountext = props.actions.routingcountext;
|
|
36057
36286
|
React.useEffect(function () {
|
|
36058
36287
|
var secpropobj = {};
|
|
36059
36288
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -36113,6 +36342,51 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
36113
36342
|
backgroundColor: sectionproperties.linebgcolor,
|
|
36114
36343
|
borderRadius: '6px'
|
|
36115
36344
|
}
|
|
36345
|
+
}),
|
|
36346
|
+
facebook_btn: glamor.css({
|
|
36347
|
+
cursor: 'pointer',
|
|
36348
|
+
background: sectionproperties.facebkbtnn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColor,
|
|
36349
|
+
width: sectionproperties.facebkbtnnWidth + 'px',
|
|
36350
|
+
height: sectionproperties.facebkbtnnHeight + 'px',
|
|
36351
|
+
borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
|
|
36352
|
+
color: sectionproperties.facebkbtnnTextcolor,
|
|
36353
|
+
border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
|
|
36354
|
+
transition: '.3s',
|
|
36355
|
+
':hover': {
|
|
36356
|
+
background: sectionproperties.facebkbtnntransparentbgcoloronhover == 'Transparent' ? 'Transparent' : sectionproperties.facebkbtnnbgColoronhover,
|
|
36357
|
+
color: sectionproperties.facebkbtnnTextcoloronhover,
|
|
36358
|
+
borderColor: sectionproperties.facebkbtnnTextcoloronhover
|
|
36359
|
+
}
|
|
36360
|
+
}),
|
|
36361
|
+
youtube_btn: glamor.css({
|
|
36362
|
+
cursor: 'pointer',
|
|
36363
|
+
background: sectionproperties.youtubebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColor,
|
|
36364
|
+
width: sectionproperties.youtubebtnWidth + 'px',
|
|
36365
|
+
height: sectionproperties.youtubebtnHeight + 'px',
|
|
36366
|
+
borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
|
|
36367
|
+
color: sectionproperties.youtubebtnTextcolor,
|
|
36368
|
+
border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
|
|
36369
|
+
transition: '.3s',
|
|
36370
|
+
':hover': {
|
|
36371
|
+
background: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColoronhover,
|
|
36372
|
+
color: sectionproperties.youtubebtnTextcoloronhover,
|
|
36373
|
+
borderColor: sectionproperties.youtubebtnTextcoloronhover
|
|
36374
|
+
}
|
|
36375
|
+
}),
|
|
36376
|
+
instgram_btn: glamor.css({
|
|
36377
|
+
cursor: 'pointer',
|
|
36378
|
+
background: sectionproperties.instgrambtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColor,
|
|
36379
|
+
width: sectionproperties.instgrambtnWidth + 'px',
|
|
36380
|
+
height: sectionproperties.instgrambtnHeight + 'px',
|
|
36381
|
+
borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
|
|
36382
|
+
color: sectionproperties.instgrambtnTextcolor,
|
|
36383
|
+
border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
|
|
36384
|
+
transition: '.3s',
|
|
36385
|
+
':hover': {
|
|
36386
|
+
background: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColoronhover,
|
|
36387
|
+
color: sectionproperties.instgrambtnTextcoloronhover,
|
|
36388
|
+
borderColor: sectionproperties.instgrambtnTextcoloronhover
|
|
36389
|
+
}
|
|
36116
36390
|
})
|
|
36117
36391
|
};
|
|
36118
36392
|
var SectionTitle = function SectionTitle() {
|
|
@@ -36154,7 +36428,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
36154
36428
|
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
36155
36429
|
}
|
|
36156
36430
|
}, SectionTitle())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36157
|
-
"class": "col-lg-12 p-0 d-flex justify-content-md-center"
|
|
36431
|
+
"class": "col-lg-12 p-0 d-flex justify-content-md-center",
|
|
36432
|
+
style: {
|
|
36433
|
+
justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start'
|
|
36434
|
+
}
|
|
36158
36435
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36159
36436
|
"class": "pb-0 text-md-center pl-md-2 pr-md-2",
|
|
36160
36437
|
style: {
|
|
@@ -36172,16 +36449,67 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
36172
36449
|
"class": "col-lg-12 p-0"
|
|
36173
36450
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
36174
36451
|
"class": "".concat(section_styles.btn)
|
|
36175
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))
|
|
36452
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36453
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start justify-content-sm-center mb-sm-4 align-items-center"
|
|
36454
|
+
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36455
|
+
"class": "".concat(section_styles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
36456
|
+
onClick: function onClick() {
|
|
36457
|
+
var _authdetailsContext$i;
|
|
36458
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.facebooklink) != null) {
|
|
36459
|
+
var _authdetailsContext$i2;
|
|
36460
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink, '_blank');
|
|
36461
|
+
}
|
|
36462
|
+
}
|
|
36463
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
36464
|
+
size: sectionproperties.facebkbtnniconfontsize
|
|
36465
|
+
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36466
|
+
"class": "".concat(section_styles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
36467
|
+
onClick: function onClick() {
|
|
36468
|
+
var _authdetailsContext$i3;
|
|
36469
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instagramlink) != null) {
|
|
36470
|
+
var _authdetailsContext$i4;
|
|
36471
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instagramlink, '_blank');
|
|
36472
|
+
}
|
|
36473
|
+
}
|
|
36474
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
36475
|
+
size: sectionproperties.instgrambtniconfontsize
|
|
36476
|
+
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36477
|
+
"class": "".concat(section_styles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
36478
|
+
onClick: function onClick() {
|
|
36479
|
+
var _authdetailsContext$i5;
|
|
36480
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.whatsappnumber) != null) {
|
|
36481
|
+
var _authdetailsContext$i6;
|
|
36482
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber), '_blank');
|
|
36483
|
+
}
|
|
36484
|
+
}
|
|
36485
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
36486
|
+
size: sectionproperties.youtubebtniconfontsize
|
|
36487
|
+
})))));
|
|
36176
36488
|
};
|
|
36177
36489
|
var Image = function Image() {
|
|
36178
|
-
var _imagesarray$, _imagesarray$
|
|
36490
|
+
var _imagesarray$, _imagesarray$7, _imagesarray$8;
|
|
36179
36491
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36180
|
-
"class": sectionproperties.image_height == 0 ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center h-auto p-0' : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-0'
|
|
36492
|
+
"class": sectionproperties.image_height == 0 ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center h-auto p-0' : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-0',
|
|
36493
|
+
style: {
|
|
36494
|
+
cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickable) == 'Yes' ? 'pointer' : 'default'
|
|
36495
|
+
},
|
|
36496
|
+
onClick: function onClick() {
|
|
36497
|
+
var _imagesarray$2;
|
|
36498
|
+
if (((_imagesarray$2 = imagesarray[0]) === null || _imagesarray$2 === void 0 ? void 0 : _imagesarray$2.IsClickable) == 'Yes') {
|
|
36499
|
+
var _imagesarray$3, _imagesarray$4;
|
|
36500
|
+
if ((_imagesarray$3 = imagesarray[0]) !== null && _imagesarray$3 !== void 0 && _imagesarray$3.clickable_page_route && ((_imagesarray$4 = imagesarray[0]) === null || _imagesarray$4 === void 0 ? void 0 : _imagesarray$4.clickable_page_route.length) != 0) {
|
|
36501
|
+
var _imagesarray$5;
|
|
36502
|
+
routingcountext((_imagesarray$5 = imagesarray[0]) === null || _imagesarray$5 === void 0 ? void 0 : _imagesarray$5.clickable_page_route, false, '');
|
|
36503
|
+
} else {
|
|
36504
|
+
var _imagesarray$6;
|
|
36505
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ((_imagesarray$6 = imagesarray[0]) === null || _imagesarray$6 === void 0 ? void 0 : _imagesarray$6.Clickable_Reference_Collection_ID));
|
|
36506
|
+
}
|
|
36507
|
+
}
|
|
36508
|
+
}
|
|
36181
36509
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
36182
36510
|
urlEndpoint: IKurlEndpoint,
|
|
36183
36511
|
publicKey: IKpublicKey,
|
|
36184
|
-
path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + '/' + ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray
|
|
36512
|
+
path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + '/' + ((_imagesarray$7 = imagesarray[0]) === null || _imagesarray$7 === void 0 ? void 0 : _imagesarray$7.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + '/' + ((_imagesarray$8 = imagesarray[0]) === null || _imagesarray$8 === void 0 ? void 0 : _imagesarray$8.bgsection_image_ar) : '',
|
|
36185
36513
|
style: {
|
|
36186
36514
|
width: '100%',
|
|
36187
36515
|
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
@@ -37606,6 +37934,20 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
37606
37934
|
Choosenindex = _useState10[0],
|
|
37607
37935
|
setChoosenindex = _useState10[1];
|
|
37608
37936
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
37937
|
+
var _useState11 = React.useState([]),
|
|
37938
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
37939
|
+
pcollarray = _useState12[0],
|
|
37940
|
+
setpcollarray = _useState12[1];
|
|
37941
|
+
React.useEffect(function () {
|
|
37942
|
+
var _authdetailsContext$i;
|
|
37943
|
+
var temppcollarray = _toConsumableArray__default["default"](pcollarray);
|
|
37944
|
+
authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instcategories.forEach(function (arrayItem) {
|
|
37945
|
+
arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.parentcolletions.forEach(function (item) {
|
|
37946
|
+
temppcollarray.push(item);
|
|
37947
|
+
});
|
|
37948
|
+
});
|
|
37949
|
+
setpcollarray(_toConsumableArray__default["default"](temppcollarray));
|
|
37950
|
+
}, []);
|
|
37609
37951
|
React.useEffect(function () {
|
|
37610
37952
|
var secpropobj = {};
|
|
37611
37953
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -37760,7 +38102,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
37760
38102
|
}))));
|
|
37761
38103
|
};
|
|
37762
38104
|
var SlideshowContent = function SlideshowContent() {
|
|
37763
|
-
var _authdetailsContext$
|
|
38105
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15;
|
|
37764
38106
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37765
38107
|
"class": "col-lg-12 p-0"
|
|
37766
38108
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -37787,8 +38129,8 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
37787
38129
|
height: sectionproperties.height + 'vh',
|
|
37788
38130
|
overflowY: 'scroll'
|
|
37789
38131
|
}
|
|
37790
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
37791
|
-
var _authdetailsContext$
|
|
38132
|
+
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : (_authdetailsContext$i3 = _authdetailsContext$i2.instcategories) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
|
|
38133
|
+
var _authdetailsContext$i4;
|
|
37792
38134
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37793
38135
|
"class": slideshow_styles.categoryname + ' row ml-0 mr-0 w-100 cursor-pointer ',
|
|
37794
38136
|
onMouseEnter: function onMouseEnter() {
|
|
@@ -37810,12 +38152,62 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
37810
38152
|
size: sectionproperties.collectionsectioniconfontsize
|
|
37811
38153
|
}) : /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
|
|
37812
38154
|
size: sectionproperties.collectionsectioniconfontsize
|
|
37813
|
-
}))), index != (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
38155
|
+
}))), index != (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instcategories) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37814
38156
|
className: "col-lg-12 p-0 mt-3 mb-3"
|
|
37815
38157
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
37816
38158
|
"class": "m-0"
|
|
37817
38159
|
})));
|
|
37818
|
-
})),
|
|
38160
|
+
})), sectionproperties.fetchparenttype == 'Parent Collections' && (pcollarray === null || pcollarray === void 0 ? void 0 : pcollarray.map(function (item, index) {
|
|
38161
|
+
if (item.isshowntocustomers == 1) {
|
|
38162
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38163
|
+
"class": slideshow_styles.parentcollection + ' row ml-0 mr-0 w-100 cursor-pointer ',
|
|
38164
|
+
onMouseEnter: function onMouseEnter() {
|
|
38165
|
+
setshowdownheadermenu(true);
|
|
38166
|
+
setChoosenindex(index);
|
|
38167
|
+
}
|
|
38168
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38169
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '
|
|
38170
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38171
|
+
"class": ' m-0 p-0 wordbreak wordbreak1 ',
|
|
38172
|
+
onClick: function onClick() {
|
|
38173
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
|
|
38174
|
+
}
|
|
38175
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38176
|
+
className: 'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '
|
|
38177
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
38178
|
+
className: ' p-0 h-100 allcentered '
|
|
38179
|
+
}, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(BsChevronRight.BsChevronRight, {
|
|
38180
|
+
size: sectionproperties.collectionsectioniconfontsize
|
|
38181
|
+
}) : /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
|
|
38182
|
+
size: sectionproperties.collectionsectioniconfontsize
|
|
38183
|
+
}))), index != pcollarray - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38184
|
+
className: "col-lg-12 p-0 mt-3 mb-3"
|
|
38185
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
38186
|
+
"class": "m-0"
|
|
38187
|
+
})));
|
|
38188
|
+
}
|
|
38189
|
+
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instcollections.map(function (item, index) {
|
|
38190
|
+
if (item.isshowntocustomers == 1) {
|
|
38191
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38192
|
+
"class": slideshow_styles.parentcollection + ' row ml-0 mr-0 w-100 cursor-pointer ',
|
|
38193
|
+
onMouseEnter: function onMouseEnter() {
|
|
38194
|
+
setshowdownheadermenu(true);
|
|
38195
|
+
setChoosenindex(index);
|
|
38196
|
+
}
|
|
38197
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38198
|
+
className: ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center p-0 '
|
|
38199
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38200
|
+
"class": ' m-0 p-0 wordbreak wordbreak1 ',
|
|
38201
|
+
onClick: function onClick() {
|
|
38202
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
38203
|
+
}
|
|
38204
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), index != pcollarray - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38205
|
+
className: "col-lg-12 p-0 mt-3 mb-3"
|
|
38206
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
38207
|
+
"class": "m-0"
|
|
38208
|
+
})));
|
|
38209
|
+
}
|
|
38210
|
+
}))), sectionproperties.fetchparenttype == 'Categories' && Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : (_authdetailsContext$i7 = _authdetailsContext$i6.instcategories[Choosenindex]) === null || _authdetailsContext$i7 === void 0 ? void 0 : (_authdetailsContext$i8 = _authdetailsContext$i7.parentcolletions) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37819
38211
|
"class": langdetect == 'en' ? 'cat_dropdown-menu cat_dropdown cat_dropdownen' : 'cat_dropdown-menu cat_dropdown cat_dropdownar',
|
|
37820
38212
|
style: {
|
|
37821
38213
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -37825,7 +38217,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
37825
38217
|
}
|
|
37826
38218
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37827
38219
|
"class": "row m-0 w-100"
|
|
37828
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
38220
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : (_authdetailsContext$i10 = _authdetailsContext$i9.instcategories[Choosenindex]) === null || _authdetailsContext$i10 === void 0 ? void 0 : (_authdetailsContext$i11 = _authdetailsContext$i10.parentcolletions) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.map(function (item, index) {
|
|
37829
38221
|
var _item$collections;
|
|
37830
38222
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37831
38223
|
"class": "col-lg-4 p-0"
|
|
@@ -37850,6 +38242,30 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
37850
38242
|
}
|
|
37851
38243
|
}, langdetect == 'en' ? item.title_en : item.title_ar));
|
|
37852
38244
|
}));
|
|
38245
|
+
}))), sectionproperties.fetchparenttype == 'Parent Collections' && Choosenindex.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38246
|
+
"class": langdetect == 'en' ? 'cat_dropdown-menu cat_dropdown cat_dropdownen' : 'cat_dropdown-menu cat_dropdown cat_dropdownar',
|
|
38247
|
+
style: {
|
|
38248
|
+
minHeight: sectionproperties.height + 'vh'
|
|
38249
|
+
},
|
|
38250
|
+
onMouseLeave: function onMouseLeave() {
|
|
38251
|
+
setChoosenindex('');
|
|
38252
|
+
}
|
|
38253
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38254
|
+
"class": "row m-0 w-100"
|
|
38255
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : (_authdetailsContext$i13 = _authdetailsContext$i12.instcategories[0]) === null || _authdetailsContext$i13 === void 0 ? void 0 : (_authdetailsContext$i14 = _authdetailsContext$i13.parentcolletions[Choosenindex]) === null || _authdetailsContext$i14 === void 0 ? void 0 : (_authdetailsContext$i15 = _authdetailsContext$i14.collections) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.map(function (item, index) {
|
|
38256
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38257
|
+
"class": "col-lg-4 p-0",
|
|
38258
|
+
onClick: function onClick() {
|
|
38259
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
38260
|
+
}
|
|
38261
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38262
|
+
"class": "col-lg-12 pl-1 pr-1"
|
|
38263
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38264
|
+
"class": slideshow_styles.collectionName + ' cursor-pointer wordbreak wordbreak2 mb-1 ',
|
|
38265
|
+
style: {
|
|
38266
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
38267
|
+
}
|
|
38268
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)));
|
|
37853
38269
|
}))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37854
38270
|
"class": sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 col-sm-12 p-0 d-flex justify-content-center h-sm-auto' : 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto',
|
|
37855
38271
|
style: {
|
|
@@ -38162,12 +38578,12 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
38162
38578
|
background: sectionproperties.backgroundColor
|
|
38163
38579
|
}
|
|
38164
38580
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38165
|
-
"class": cardarrayofobjs.length != 0 ? 'col-lg-12 p-0 d-flex
|
|
38581
|
+
"class": cardarrayofobjs.length != 0 ? 'col-lg-12 p-0 d-flex justify-content-center' : 'col-lg-12 p-0 d-flex justify-content-center h-md-auto h-sm-auto',
|
|
38166
38582
|
style: {
|
|
38167
38583
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
38168
38584
|
}
|
|
38169
38585
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38170
|
-
"class":
|
|
38586
|
+
"class": cardarrayofobjs.length != 0 ? '' : 'h-md-auto h-sm-auto',
|
|
38171
38587
|
style: {
|
|
38172
38588
|
position: 'relative',
|
|
38173
38589
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
@@ -38187,7 +38603,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
38187
38603
|
easing: "ease"
|
|
38188
38604
|
}), Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
|
|
38189
38605
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38190
|
-
"class":
|
|
38606
|
+
"class": cardarrayofobjs.length != 0 ? 'row m-0 w-100' : 'row m-0 w-100 h-md-auto h-sm-auto',
|
|
38191
38607
|
style: {
|
|
38192
38608
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
38193
38609
|
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
@@ -38196,43 +38612,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
38196
38612
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
38197
38613
|
}
|
|
38198
38614
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38199
|
-
"class": slideshow_styles.slideshow_styles + ' p-0 align-items-center d-flex d-
|
|
38200
|
-
key: index,
|
|
38201
|
-
style: {
|
|
38202
|
-
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
38203
|
-
width: '100%',
|
|
38204
|
-
height: '100%',
|
|
38205
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
38206
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
38207
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
38208
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
38209
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
38210
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
38211
|
-
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
38212
|
-
},
|
|
38213
|
-
onClick: function onClick() {
|
|
38214
|
-
if (item.IsClickableimg == 'Yes') {
|
|
38215
|
-
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
38216
|
-
routingcountext(item.clickableimg_page_route, false, '');
|
|
38217
|
-
} else {
|
|
38218
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
38219
|
-
}
|
|
38220
|
-
}
|
|
38221
|
-
}
|
|
38222
|
-
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
38223
|
-
urlEndpoint: IKurlEndpoint,
|
|
38224
|
-
publicKey: IKpublicKey,
|
|
38225
|
-
path: langdetect == 'en' ? item.imageen : item.imagear,
|
|
38226
|
-
style: {
|
|
38227
|
-
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
38228
|
-
objectFit: sectionproperties.bgcovercontain,
|
|
38229
|
-
margin: 0,
|
|
38230
|
-
padding: 0,
|
|
38231
|
-
width: '100%',
|
|
38232
|
-
height: '100%'
|
|
38233
|
-
}
|
|
38234
|
-
}), SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38235
|
-
"class": slideshow_styles.beforebg + ' p-0 align-items-center d-none d-sm-flex ',
|
|
38615
|
+
"class": slideshow_styles.slideshow_styles + ' p-0 align-items-center d-flex d-md-none ',
|
|
38236
38616
|
key: index,
|
|
38237
38617
|
style: {
|
|
38238
38618
|
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
@@ -38258,80 +38638,17 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
38258
38638
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
38259
38639
|
urlEndpoint: IKurlEndpoint,
|
|
38260
38640
|
publicKey: IKpublicKey,
|
|
38261
|
-
path: langdetect == 'en' ? item.
|
|
38641
|
+
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imageen : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imagear,
|
|
38262
38642
|
style: {
|
|
38263
38643
|
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
38264
|
-
objectFit: 'contain',
|
|
38644
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
38265
38645
|
margin: 0,
|
|
38266
38646
|
padding: 0,
|
|
38267
38647
|
width: '100%',
|
|
38268
38648
|
height: '100%'
|
|
38269
38649
|
}
|
|
38270
|
-
}), SlideShowTextContainer(item))
|
|
38271
|
-
|
|
38272
|
-
style: {
|
|
38273
|
-
position: 'absolute',
|
|
38274
|
-
left: 0,
|
|
38275
|
-
bottom: 60,
|
|
38276
|
-
zIndex: 100
|
|
38277
|
-
},
|
|
38278
|
-
"class": "row m-0 w-100 "
|
|
38279
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38280
|
-
"class": ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100'
|
|
38281
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
38282
|
-
itemClassName: "slideshowCard"
|
|
38283
|
-
// LeftArrow={LeftArrow}
|
|
38284
|
-
// RightArrow={RightArrow}
|
|
38285
|
-
,
|
|
38286
|
-
transitionDuration: 500,
|
|
38287
|
-
transitionEase: easingFunctions['linear'],
|
|
38288
|
-
scrollContainerClassName: 'scrollmenuclasssubscrollbar'
|
|
38289
|
-
}, Object.keys(cardarrayofobjs).length != 0 && cardarrayofobjs.map(function (cardItem, cardIndex) {
|
|
38290
|
-
var id = cardIndex;
|
|
38291
|
-
return /*#__PURE__*/React__default["default"].createElement(CardsArrayOfObjects, {
|
|
38292
|
-
title: id,
|
|
38293
|
-
itemId: id,
|
|
38294
|
-
key: id,
|
|
38295
|
-
cardItem: cardItem,
|
|
38296
|
-
sectionproperties: sectionproperties,
|
|
38297
|
-
props: props
|
|
38298
|
-
});
|
|
38299
|
-
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38300
|
-
"class": cardarrayofobjs.length != 0 ? 'col-lg-12 p-0 d-none d-sm-flex justify-content-center h-md-auto h-sm-auto' : 'col-lg-12 p-0 d-none d-sm-flex justify-content-center h-md-auto h-sm-auto',
|
|
38301
|
-
style: {
|
|
38302
|
-
height: sectionproperties.height + 'vh'
|
|
38303
|
-
}
|
|
38304
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38305
|
-
"class": "h-md-auto h-sm-auto",
|
|
38306
|
-
style: {
|
|
38307
|
-
position: 'relative',
|
|
38308
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
38309
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
38310
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
38311
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
38312
|
-
width: sectionproperties.width + 'vw',
|
|
38313
|
-
marginBottom: sectionproperties.marginBottom + 'px',
|
|
38314
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
38315
|
-
height: sectionproperties.height + 'vh',
|
|
38316
|
-
overflow: 'hidden'
|
|
38317
|
-
}
|
|
38318
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Zoom, _extends__default["default"]({}, Slideshowsettings, {
|
|
38319
|
-
transitionDuration: 1500,
|
|
38320
|
-
duration: 1500,
|
|
38321
|
-
arrow: true,
|
|
38322
|
-
easing: "ease"
|
|
38323
|
-
}), Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
|
|
38324
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38325
|
-
"class": "row m-0 w-100 h-md-auto h-sm-auto",
|
|
38326
|
-
style: {
|
|
38327
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
38328
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
38329
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
38330
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
38331
|
-
height: sectionproperties.height + 'vh'
|
|
38332
|
-
}
|
|
38333
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38334
|
-
"class": 'beforebg p-0 align-items-center d-none d-sm-flex ',
|
|
38650
|
+
}), SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38651
|
+
"class": slideshow_styles.beforebg + ' p-0 align-items-center d-none d-md-flex ',
|
|
38335
38652
|
key: index,
|
|
38336
38653
|
style: {
|
|
38337
38654
|
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
@@ -38357,10 +38674,10 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
38357
38674
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
38358
38675
|
urlEndpoint: IKurlEndpoint,
|
|
38359
38676
|
publicKey: IKpublicKey,
|
|
38360
|
-
path: langdetect == 'en' ? item.image_resp_en : item.image_resp_ar,
|
|
38677
|
+
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_en : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_ar,
|
|
38361
38678
|
style: {
|
|
38362
38679
|
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
38363
|
-
objectFit: 'contain',
|
|
38680
|
+
objectFit: sectionproperties.bgcovercontainresponsive == 'Cover' ? 'cover' : 'contain',
|
|
38364
38681
|
margin: 0,
|
|
38365
38682
|
padding: 0,
|
|
38366
38683
|
width: '100%',
|
|
@@ -39554,7 +39871,16 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
39554
39871
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
39555
39872
|
props.actions.lang;
|
|
39556
39873
|
var langdetect = props.actions.langdetect;
|
|
39874
|
+
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
39875
|
+
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
39557
39876
|
var routingcountext = props.actions.routingcountext;
|
|
39877
|
+
var _useState5 = React.useState(false),
|
|
39878
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
39879
|
+
showquantity = _useState6[0],
|
|
39880
|
+
setshowquantity = _useState6[1];
|
|
39881
|
+
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
39882
|
+
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
39883
|
+
var NotificationManager = props.actions.NotificationManager;
|
|
39558
39884
|
|
|
39559
39885
|
// Sectionproperties
|
|
39560
39886
|
React.useEffect(function () {
|
|
@@ -39568,6 +39894,13 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
39568
39894
|
});
|
|
39569
39895
|
setsectionproperties(_objectSpread$B({}, secpropobj));
|
|
39570
39896
|
}, [StatePagePropertiesContext]);
|
|
39897
|
+
React.useEffect(function () {
|
|
39898
|
+
if (item.quantity == 0) {
|
|
39899
|
+
setshowquantity(false);
|
|
39900
|
+
} else {
|
|
39901
|
+
setshowquantity(true);
|
|
39902
|
+
}
|
|
39903
|
+
}, [props.cardinfoitemprops]);
|
|
39571
39904
|
|
|
39572
39905
|
// Card Information
|
|
39573
39906
|
React.useEffect(function () {
|
|
@@ -39575,6 +39908,51 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
39575
39908
|
setitem(props.cardinfoitemprops);
|
|
39576
39909
|
}
|
|
39577
39910
|
}, [props.cardinfoitemprops]);
|
|
39911
|
+
var addtocartfunc = function addtocartfunc(type, quantity) {
|
|
39912
|
+
var addtocardpayloadobj = {
|
|
39913
|
+
functype: 'add',
|
|
39914
|
+
productid: item.productid,
|
|
39915
|
+
variantid: '',
|
|
39916
|
+
quantity: quantity
|
|
39917
|
+
};
|
|
39918
|
+
var runfunc = false;
|
|
39919
|
+
if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
|
|
39920
|
+
if (item.hasvariants == 1) {
|
|
39921
|
+
if (addtocardpayloadobj.variantid.length != 0) {
|
|
39922
|
+
runfunc = true;
|
|
39923
|
+
} else {
|
|
39924
|
+
NotificationManager.warning('', langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
|
|
39925
|
+
}
|
|
39926
|
+
} else {
|
|
39927
|
+
runfunc = true;
|
|
39928
|
+
}
|
|
39929
|
+
} else {
|
|
39930
|
+
NotificationManager.warning('', langdetect == 'en' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
|
|
39931
|
+
}
|
|
39932
|
+
if (runfunc == true) {
|
|
39933
|
+
AddtoCartContext(addtocardpayloadobj);
|
|
39934
|
+
}
|
|
39935
|
+
};
|
|
39936
|
+
var addtocartbuttonrender = function addtocartbuttonrender() {
|
|
39937
|
+
if (AddtoCartMutationContext.isLoading) {
|
|
39938
|
+
var _AddtoCartMutationCon;
|
|
39939
|
+
if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 ? void 0 : (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
|
|
39940
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39941
|
+
"class": ' d-flex align-items-center justify-content-center '
|
|
39942
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
39943
|
+
color: sectionproperties.quantitybtn_textcolor,
|
|
39944
|
+
width: "20px",
|
|
39945
|
+
height: "20px",
|
|
39946
|
+
duration: "1s"
|
|
39947
|
+
}));
|
|
39948
|
+
} else {
|
|
39949
|
+
return item.quantity;
|
|
39950
|
+
}
|
|
39951
|
+
}
|
|
39952
|
+
if (!AddtoCartMutationContext.isLoading) {
|
|
39953
|
+
return item.quantity;
|
|
39954
|
+
}
|
|
39955
|
+
};
|
|
39578
39956
|
|
|
39579
39957
|
// Styles
|
|
39580
39958
|
var card_cssstyles = {
|
|
@@ -39607,19 +39985,6 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
39607
39985
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
39608
39986
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
39609
39987
|
}),
|
|
39610
|
-
button_styles: glamor.css({
|
|
39611
|
-
width: sectionproperties.generalbtn_width + 'px',
|
|
39612
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
39613
|
-
border: sectionproperties.generalbtn_borderwidth + 'px solid' + sectionproperties.generalbtn_bordercolor,
|
|
39614
|
-
borderRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
39615
|
-
backgroundColor: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
|
|
39616
|
-
color: sectionproperties.generalbtn_textColor,
|
|
39617
|
-
':hover': {
|
|
39618
|
-
backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
|
|
39619
|
-
color: sectionproperties.generalbtn_textColoronhover,
|
|
39620
|
-
transition: '.3s'
|
|
39621
|
-
}
|
|
39622
|
-
}),
|
|
39623
39988
|
cart_btn: glamor.css({
|
|
39624
39989
|
width: sectionproperties.cartBtnWidth + 'px',
|
|
39625
39990
|
height: sectionproperties.cartBtnHeight + 'px',
|
|
@@ -39636,6 +40001,86 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
39636
40001
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
39637
40002
|
}
|
|
39638
40003
|
}),
|
|
40004
|
+
button_styles: glamor.css({
|
|
40005
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
40006
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
40007
|
+
border: sectionproperties.generalbtn_borderwidth + 'px solid' + sectionproperties.generalbtn_bordercolor,
|
|
40008
|
+
borderRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
40009
|
+
backgroundColor: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
|
|
40010
|
+
':hover': {
|
|
40011
|
+
backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
|
|
40012
|
+
color: sectionproperties.generalbtn_textColoronhover,
|
|
40013
|
+
transition: '.3s'
|
|
40014
|
+
}
|
|
40015
|
+
}),
|
|
40016
|
+
quantitybtn: glamor.css({
|
|
40017
|
+
height: sectionproperties.quantitybtn_height + 'px',
|
|
40018
|
+
width: sectionproperties.quantitybtn_width + 'px',
|
|
40019
|
+
display: 'flex',
|
|
40020
|
+
flexDirection: 'row',
|
|
40021
|
+
overflow: 'hidden',
|
|
40022
|
+
borderRadius: sectionproperties.quantitybtn_borderradius + 'px',
|
|
40023
|
+
background: sectionproperties.quantitybtn_bgcolor,
|
|
40024
|
+
alignItems: 'center',
|
|
40025
|
+
justifyContent: 'center',
|
|
40026
|
+
margin: 0,
|
|
40027
|
+
position: 'relative',
|
|
40028
|
+
fontWeight: sectionproperties.quantitybtn_textfontweight,
|
|
40029
|
+
color: sectionproperties.quantitybtn_textcolor,
|
|
40030
|
+
fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
|
|
40031
|
+
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor
|
|
40032
|
+
}),
|
|
40033
|
+
quantitybtn_text: glamor.css({
|
|
40034
|
+
margin: 'auto'
|
|
40035
|
+
}),
|
|
40036
|
+
add_quantitybtn_icon_container: glamor.css({
|
|
40037
|
+
position: 'relative',
|
|
40038
|
+
width: sectionproperties.add_quantitybtn_width + 'px',
|
|
40039
|
+
height: sectionproperties.add_quantitybtn_height + 'px',
|
|
40040
|
+
background: sectionproperties.add_quantitybtn_bgcolor,
|
|
40041
|
+
display: 'flex',
|
|
40042
|
+
alignItems: 'center',
|
|
40043
|
+
justifyContent: 'center',
|
|
40044
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
|
|
40045
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
|
|
40046
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
|
|
40047
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
|
|
40048
|
+
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
|
|
40049
|
+
color: sectionproperties.add_quantitybtn_textcolor,
|
|
40050
|
+
transition: '.3s',
|
|
40051
|
+
':hover': {
|
|
40052
|
+
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
40053
|
+
background: sectionproperties.add_quantitybtn_bgcoloronhover
|
|
40054
|
+
},
|
|
40055
|
+
':hover .addbtn': {
|
|
40056
|
+
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
40057
|
+
transition: '.3s'
|
|
40058
|
+
}
|
|
40059
|
+
}),
|
|
40060
|
+
minus_quantitybtn_icon_container: glamor.css({
|
|
40061
|
+
position: 'relative',
|
|
40062
|
+
display: 'flex',
|
|
40063
|
+
alignItems: 'center',
|
|
40064
|
+
justifyContent: 'center',
|
|
40065
|
+
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
40066
|
+
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
40067
|
+
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
40068
|
+
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
|
|
40069
|
+
color: sectionproperties.remove_quantitybtn_textcolor,
|
|
40070
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
|
|
40071
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
|
|
40072
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
|
|
40073
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
|
|
40074
|
+
transition: '.3s',
|
|
40075
|
+
':hover': {
|
|
40076
|
+
color: sectionproperties.remove_quantitybtn_textcoloronhover,
|
|
40077
|
+
background: sectionproperties.remove_quantitybtn_bgcoloronhover
|
|
40078
|
+
},
|
|
40079
|
+
':hover .minusbtn': {
|
|
40080
|
+
transition: '.3s',
|
|
40081
|
+
color: sectionproperties.remove_quantitybtn_textcoloronhover
|
|
40082
|
+
}
|
|
40083
|
+
}),
|
|
39639
40084
|
wishlist_btn: glamor.css({
|
|
39640
40085
|
width: sectionproperties.favBtnWidth + 'px',
|
|
39641
40086
|
height: sectionproperties.favBtnHeight + 'px',
|
|
@@ -39672,9 +40117,18 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
39672
40117
|
})
|
|
39673
40118
|
};
|
|
39674
40119
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39675
|
-
"class": card_cssstyles.productcard + ' row
|
|
40120
|
+
"class": card_cssstyles.productcard + ' row ml-0 mr-0 w-100 '
|
|
39676
40121
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39677
|
-
"class": "col-lg-12
|
|
40122
|
+
"class": "col-lg-12 pl-0 pr-0 h-100",
|
|
40123
|
+
style: {
|
|
40124
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
40125
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
40126
|
+
backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
40127
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
40128
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
40129
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
40130
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
|
|
40131
|
+
}
|
|
39678
40132
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39679
40133
|
"class": "row mt-0 ml-0 mr-0 w-100 align-items-center justify-content-center",
|
|
39680
40134
|
style: {
|
|
@@ -39682,21 +40136,21 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
39682
40136
|
height: sectionproperties.image_height + 'px',
|
|
39683
40137
|
marginBottom: sectionproperties.image_mb + 'px',
|
|
39684
40138
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
39685
|
-
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
39686
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
39687
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
39688
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
39689
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
39690
|
-
backgroundColor: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor
|
|
40139
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
39691
40140
|
}
|
|
39692
40141
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
39693
40142
|
urlEndpoint: IKurlEndpoint,
|
|
39694
40143
|
publicKey: IKpublicKey,
|
|
39695
|
-
path: '/tr:w-
|
|
40144
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
39696
40145
|
style: {
|
|
39697
40146
|
width: '100%',
|
|
39698
40147
|
height: '100%',
|
|
39699
|
-
objectFit: 'contain'
|
|
40148
|
+
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
40149
|
+
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
|
|
40150
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
40151
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
40152
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
40153
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
|
|
39700
40154
|
},
|
|
39701
40155
|
loading: "lazy"
|
|
39702
40156
|
}), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -39718,15 +40172,65 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
39718
40172
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
39719
40173
|
}, /*#__PURE__*/React__default["default"].createElement(FaRegEye.FaRegEye, {
|
|
39720
40174
|
size: sectionproperties.generalbtn_fontsize
|
|
39721
|
-
}))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
39722
|
-
"class": "".concat(card_cssstyles.cart_btn) + ' ml-2 mr-2 ',
|
|
40175
|
+
}))), sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
40176
|
+
"class": "".concat(card_cssstyles.cart_btn) + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-sm-100px font-sm-12 ',
|
|
39723
40177
|
onClick: function onClick() {
|
|
39724
|
-
|
|
40178
|
+
setShowProductInfoModalContext(true);
|
|
40179
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
40180
|
+
}
|
|
40181
|
+
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", null, sectionproperties.cartBtnShow == 'Show' && showquantity == false && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
40182
|
+
"class": "".concat(card_cssstyles.cart_btn) + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-sm-100px font-sm-12 ',
|
|
40183
|
+
onClick: function onClick() {
|
|
40184
|
+
setshowquantity(true);
|
|
40185
|
+
}
|
|
40186
|
+
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), showquantity == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40187
|
+
"class": "".concat(card_cssstyles.quantitybtn) + ' w-sm-100px p-0 d-flex align-items-center justify-content-center ml-2 mr-2 ml-sm-1 mr-sm-1 ',
|
|
40188
|
+
style: {
|
|
40189
|
+
direction: 'ltr'
|
|
40190
|
+
}
|
|
40191
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
40192
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
40193
|
+
onClick: function onClick() {
|
|
40194
|
+
if (item.hasvariants == 0) {
|
|
40195
|
+
var tempitem = _objectSpread$B({}, item);
|
|
40196
|
+
tempitem.quantity = parseInt(tempitem.quantity);
|
|
40197
|
+
tempitem.quantity = tempitem.quantity - 1;
|
|
40198
|
+
if (tempitem.quantity <= 0) {
|
|
40199
|
+
tempitem.quantity = 0;
|
|
40200
|
+
}
|
|
40201
|
+
setitem(_objectSpread$B({}, tempitem));
|
|
40202
|
+
addtocartfunc('add', tempitem.quantity);
|
|
40203
|
+
} else {
|
|
39725
40204
|
setShowProductInfoModalContext(true);
|
|
39726
40205
|
setProductIdProdutInfoModalContext(item.productid);
|
|
39727
40206
|
}
|
|
39728
|
-
}
|
|
39729
|
-
|
|
40207
|
+
},
|
|
40208
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
40209
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
40210
|
+
"class": "h-100 allcentered minusbtn"
|
|
40211
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, null))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
40212
|
+
"class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center '
|
|
40213
|
+
}, addtocartbuttonrender()), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
40214
|
+
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container),
|
|
40215
|
+
onClick: function onClick() {
|
|
40216
|
+
if (item.hasvariants == 0) {
|
|
40217
|
+
var tempitem = _objectSpread$B({}, item);
|
|
40218
|
+
tempitem.quantity = parseInt(tempitem.quantity);
|
|
40219
|
+
tempitem.quantity = tempitem.quantity + 1;
|
|
40220
|
+
if (tempitem.quantity <= 0) {
|
|
40221
|
+
tempitem.quantity = 0;
|
|
40222
|
+
}
|
|
40223
|
+
setitem(_objectSpread$B({}, tempitem));
|
|
40224
|
+
addtocartfunc('add', tempitem.quantity);
|
|
40225
|
+
} else {
|
|
40226
|
+
setShowProductInfoModalContext(true);
|
|
40227
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
40228
|
+
}
|
|
40229
|
+
},
|
|
40230
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
40231
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
40232
|
+
"class": "h-100 allcentered addbtn"
|
|
40233
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, null))))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
39730
40234
|
"class": " ".concat(card_cssstyles.wishlist_btn) + '',
|
|
39731
40235
|
onClick: function onClick() {
|
|
39732
40236
|
addtofavoritescontext(item.productid);
|
|
@@ -39750,7 +40254,11 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
39750
40254
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
39751
40255
|
size: sectionproperties.favBtnIconfontsize
|
|
39752
40256
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39753
|
-
"class": "col-lg-12
|
|
40257
|
+
"class": "col-lg-12",
|
|
40258
|
+
style: {
|
|
40259
|
+
paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
|
|
40260
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px'
|
|
40261
|
+
}
|
|
39754
40262
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39755
40263
|
"class": "row m-0 w-100 align-items-center justify-content-start"
|
|
39756
40264
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -39761,7 +40269,7 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
39761
40269
|
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
39762
40270
|
}
|
|
39763
40271
|
},
|
|
39764
|
-
"class": "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 '
|
|
40272
|
+
"class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 m-0 '
|
|
39765
40273
|
}, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39766
40274
|
"class": "row m-0 w-100 align-items-center justify-content-start"
|
|
39767
40275
|
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|