tabexseriescomponents 0.0.441 → 0.0.443
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 +117 -105
- package/dist/index.esm.js +117 -105
- package/dist/index.umd.js +117 -105
- package/package.json +1 -1
- package/src22-1/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +1 -4
- package/src22-1/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +1 -4
- package/src22-1/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +1 -4
- package/src22-1/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +1 -4
package/dist/index.esm.js
CHANGED
|
@@ -1386,6 +1386,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1386
1386
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
1387
1387
|
var lang = props.actions.lang;
|
|
1388
1388
|
var langdetect = props.actions.langdetect;
|
|
1389
|
+
var variantvalueidentifier = props.actions.variantvalueidentifier;
|
|
1389
1390
|
var selectproductoptionvalue = props.actions.selectproductoptionvalue;
|
|
1390
1391
|
var clearchoosenvaluesbutkeepcurrentvalue = props.actions.clearchoosenvaluesbutkeepcurrentvalue;
|
|
1391
1392
|
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
@@ -1395,7 +1396,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1395
1396
|
var _useState = useState(''),
|
|
1396
1397
|
_useState2 = _slicedToArray(_useState, 2);
|
|
1397
1398
|
_useState2[0];
|
|
1398
|
-
|
|
1399
|
+
_useState2[1];
|
|
1399
1400
|
var formstyles = {
|
|
1400
1401
|
input_label_name: css({
|
|
1401
1402
|
color: sectionproperties.form_labelcolor,
|
|
@@ -1460,7 +1461,11 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1460
1461
|
textTransform: sectionproperties.varianttitle_texttransform,
|
|
1461
1462
|
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
1462
1463
|
}
|
|
1463
|
-
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React.createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":", ' '
|
|
1464
|
+
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React.createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":", ' ', item.optionname == 'color' || item.optionname == 'Color' && /*#__PURE__*/React.createElement("span", {
|
|
1465
|
+
style: {
|
|
1466
|
+
color: '#62554a'
|
|
1467
|
+
}
|
|
1468
|
+
}, variantvalueidentifier))), /*#__PURE__*/React.createElement("div", {
|
|
1464
1469
|
className: "col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-1",
|
|
1465
1470
|
style: {
|
|
1466
1471
|
paddingTop: sectionproperties.showRemovebutton == 'Show' ? '1rem' : 0
|
|
@@ -1482,16 +1487,11 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1482
1487
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
1483
1488
|
className: productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''),
|
|
1484
1489
|
onClick: function onClick() {
|
|
1490
|
+
// here
|
|
1485
1491
|
if (optionvaluesitem.isenabled == 1) {
|
|
1486
1492
|
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1487
|
-
if (optionvaluesitem.valuename == '#000000') {
|
|
1488
|
-
setcolorvalue('Black');
|
|
1489
|
-
} else if (optionvaluesitem.valuename == '#c9b0a1') {
|
|
1490
|
-
setcolorvalue('Beige');
|
|
1491
|
-
}
|
|
1492
1493
|
} else {
|
|
1493
1494
|
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1494
|
-
setcolorvalue('');
|
|
1495
1495
|
}
|
|
1496
1496
|
},
|
|
1497
1497
|
style: {
|
|
@@ -2890,7 +2890,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2890
2890
|
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
2891
2891
|
className: ' d-flex align-items-center justify-content-center '
|
|
2892
2892
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
2893
|
-
color:
|
|
2893
|
+
color: sectionproperties.cartBtnTextcolor,
|
|
2894
2894
|
width: "20px",
|
|
2895
2895
|
height: "20px",
|
|
2896
2896
|
duration: "1s"
|
|
@@ -2979,7 +2979,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2979
2979
|
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
2980
2980
|
className: ' d-flex align-items-center justify-content-center '
|
|
2981
2981
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
2982
|
-
color:
|
|
2982
|
+
color: sectionproperties.cartBtnTextcolor,
|
|
2983
2983
|
width: "20px",
|
|
2984
2984
|
height: "20px",
|
|
2985
2985
|
duration: "1s"
|
|
@@ -3030,7 +3030,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3030
3030
|
}, langdetect == 'en' ? 'Buy Now' : 'إشترى الان'), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
3031
3031
|
className: ' d-flex align-items-center justify-content-center '
|
|
3032
3032
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
3033
|
-
color:
|
|
3033
|
+
color: sectionproperties.cartBtnTextcolor,
|
|
3034
3034
|
width: "20px",
|
|
3035
3035
|
height: "20px",
|
|
3036
3036
|
duration: "1s"
|
|
@@ -5219,6 +5219,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
5219
5219
|
_useState42 = _slicedToArray(_useState41, 2),
|
|
5220
5220
|
productVideos = _useState42[0],
|
|
5221
5221
|
setproductVideos = _useState42[1];
|
|
5222
|
+
var _useState43 = useState([]),
|
|
5223
|
+
_useState44 = _slicedToArray(_useState43, 2),
|
|
5224
|
+
variantvalueidentifier = _useState44[0],
|
|
5225
|
+
setvariantvalueidentifier = _useState44[1];
|
|
5222
5226
|
var handleTabChange = function handleTabChange(event, newTabIndex) {
|
|
5223
5227
|
setTabIndex(newTabIndex);
|
|
5224
5228
|
};
|
|
@@ -5372,6 +5376,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
5372
5376
|
} else {
|
|
5373
5377
|
productarr.data.productinfo.productoptions[optionindex].optionvalues[optionvaluesindex].isselected = 1;
|
|
5374
5378
|
}
|
|
5379
|
+
if (productarr.data.productinfo.productoptions[optionindex].optionname == 'Color' || productarr.data.productinfo.productoptions[optionindex].optionname == 'Colour') {
|
|
5380
|
+
var _productarr$data$prod;
|
|
5381
|
+
setvariantvalueidentifier((_productarr$data$prod = productarr.data.productinfo.productoptions[optionindex].optionvalues[optionvaluesindex]) === null || _productarr$data$prod === void 0 ? void 0 : _productarr$data$prod.value_identifier);
|
|
5382
|
+
}
|
|
5375
5383
|
productarr.data.productinfo.productoptions[optionindex].optionvalues.forEach(function (arrayItem, arrayindex) {
|
|
5376
5384
|
if (optionvaluesindex != arrayindex) {
|
|
5377
5385
|
arrayItem.isselected = 0;
|
|
@@ -5509,7 +5517,6 @@ var Productinfo = function Productinfo(props) {
|
|
|
5509
5517
|
setisoutofstock(false);
|
|
5510
5518
|
}
|
|
5511
5519
|
setvariantsku(variantobj === null || variantobj === void 0 ? void 0 : variantobj.sku);
|
|
5512
|
-
// alert(variantsku);
|
|
5513
5520
|
setcurrentshowingimageindex(variantimageindex);
|
|
5514
5521
|
setaddtocardpayloadobj(_objectSpread$2p({}, tempaddtocardpayloadobj));
|
|
5515
5522
|
setvariantindexcompleted(ProductVariantIndex);
|
|
@@ -5528,8 +5535,6 @@ var Productinfo = function Productinfo(props) {
|
|
|
5528
5535
|
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.hasvariants) == 1) {
|
|
5529
5536
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
5530
5537
|
runfunc = true;
|
|
5531
|
-
} else {
|
|
5532
|
-
NotificationManager.warning('', 'Please Choose Product Options');
|
|
5533
5538
|
}
|
|
5534
5539
|
} else {
|
|
5535
5540
|
runfunc = true;
|
|
@@ -6450,7 +6455,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
6450
6455
|
langdetect: langdetect,
|
|
6451
6456
|
lang: lang,
|
|
6452
6457
|
srcfromprops: props.srcfromprops
|
|
6453
|
-
}, _defineProperty(_ref, "returnpolicyobj", returnpolicyobj), _defineProperty(_ref, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty(_ref, "addtocartfunc", addtocartfunc), _defineProperty(_ref, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty(_ref, "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), _defineProperty(_ref, "productimagesarray", productimagesarray), _defineProperty(_ref, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty(_ref, "ProductInfoObj", ProductInfoObj), _defineProperty(_ref, "sectionproperties", sectionproperties), _defineProperty(_ref, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty(_ref, "routingcountext", routingcountext), _defineProperty(_ref, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty(_ref, "authdetailsContext", authdetailsContext), _defineProperty(_ref, "addtofavoritescontext", addtofavoritescontext), _defineProperty(_ref, "variantindexcompleted", variantindexcompleted), _defineProperty(_ref, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty(_ref, "NotificationManager", NotificationManager), _defineProperty(_ref, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty(_ref, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_ref, "relatedproducts", relatedproducts), _defineProperty(_ref, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty(_ref, "StoreInfoprops", StoreInfo), _defineProperty(_ref, "currentshowingimageindex", currentshowingimageindex), _defineProperty(_ref, "setcurrentshowingimageindex", setcurrentshowingimageindex), _defineProperty(_ref, "templatepropcontext", templatepropcontext), _defineProperty(_ref, "ikimagecredcontext", ikimagecredcontext), _defineProperty(_ref, "variantindex", variantindex), _defineProperty(_ref, "setvariantindex", setvariantindex), _defineProperty(_ref, "variantsku", variantsku), _ref)
|
|
6458
|
+
}, _defineProperty(_ref, "returnpolicyobj", returnpolicyobj), _defineProperty(_ref, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty(_ref, "addtocartfunc", addtocartfunc), _defineProperty(_ref, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty(_ref, "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), _defineProperty(_ref, "productimagesarray", productimagesarray), _defineProperty(_ref, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty(_ref, "ProductInfoObj", ProductInfoObj), _defineProperty(_ref, "sectionproperties", sectionproperties), _defineProperty(_ref, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty(_ref, "routingcountext", routingcountext), _defineProperty(_ref, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty(_ref, "authdetailsContext", authdetailsContext), _defineProperty(_ref, "addtofavoritescontext", addtofavoritescontext), _defineProperty(_ref, "variantindexcompleted", variantindexcompleted), _defineProperty(_ref, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty(_ref, "NotificationManager", NotificationManager), _defineProperty(_ref, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty(_ref, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_ref, "relatedproducts", relatedproducts), _defineProperty(_ref, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty(_ref, "StoreInfoprops", StoreInfo), _defineProperty(_ref, "currentshowingimageindex", currentshowingimageindex), _defineProperty(_ref, "setcurrentshowingimageindex", setcurrentshowingimageindex), _defineProperty(_ref, "templatepropcontext", templatepropcontext), _defineProperty(_ref, "ikimagecredcontext", ikimagecredcontext), _defineProperty(_ref, "variantindex", variantindex), _defineProperty(_ref, "setvariantindex", setvariantindex), _defineProperty(_ref, "variantsku", variantsku), _defineProperty(_ref, "variantvalueidentifier", variantvalueidentifier), _ref)
|
|
6454
6459
|
}), fetchProductInfoQueryContext.data.data.productinfo.item_type == 'service' && /*#__PURE__*/React.createElement(Service_itemtype, {
|
|
6455
6460
|
actions: (_ref2 = {
|
|
6456
6461
|
variantsku: variantsku,
|
|
@@ -15749,7 +15754,12 @@ var Filter$1 = function Filter(props) {
|
|
|
15749
15754
|
className: "h-100 d-flex align-items-center"
|
|
15750
15755
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
15751
15756
|
className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
|
|
15752
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
15757
|
+
}, item.optionname == 'Color' && /*#__PURE__*/React.createElement("p", {
|
|
15758
|
+
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
|
|
15759
|
+
style: {
|
|
15760
|
+
color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
|
|
15761
|
+
}
|
|
15762
|
+
}, valueitem.value_identifier), item.optionname != 'Color' && /*#__PURE__*/React.createElement("p", {
|
|
15753
15763
|
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
|
|
15754
15764
|
style: {
|
|
15755
15765
|
color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
|
|
@@ -17499,7 +17509,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
17499
17509
|
setopenFilterSlider: setopenFilterSlider,
|
|
17500
17510
|
show_product_group_titles: show_product_group_titles
|
|
17501
17511
|
})), sectionproperties.showvariantfilter == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
17502
|
-
className: 'col-lg-3 d-flex'
|
|
17512
|
+
className: 'col-lg-3 d-flex d-md-none'
|
|
17503
17513
|
}, /*#__PURE__*/React.createElement(Filter$1, {
|
|
17504
17514
|
sectionpropertiesprops: sectionproperties,
|
|
17505
17515
|
actions: actions,
|
|
@@ -18650,7 +18660,11 @@ var MarqueeHeader = function MarqueeHeader(props) {
|
|
|
18650
18660
|
"class": "d-flex flex-row align-items-center"
|
|
18651
18661
|
}, textarray.map(function (item, index) {
|
|
18652
18662
|
return /*#__PURE__*/React.createElement("p", {
|
|
18653
|
-
"class": header_cssstyles.textSlider + '
|
|
18663
|
+
"class": header_cssstyles.textSlider + ' mb-0 p-0 ',
|
|
18664
|
+
style: {
|
|
18665
|
+
marginLeft: 200,
|
|
18666
|
+
marginRight: 200
|
|
18667
|
+
}
|
|
18654
18668
|
}, langdetect == 'en' ? item.textEnglish : item.textArabic);
|
|
18655
18669
|
}))), templateproperties_context.textslidertype == 'Text' && /*#__PURE__*/React.createElement("div", {
|
|
18656
18670
|
"class": props.srcfrom == 'sidemarquee' ? 'w-100 text-start' : 'w-100 allcentered'
|
|
@@ -19255,7 +19269,7 @@ var Subheader = function Subheader(props) {
|
|
|
19255
19269
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
19256
19270
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
19257
19271
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
19258
|
-
path: '/tr:w-
|
|
19272
|
+
path: '/tr:w-' + sectionproperties.subheadercollimagetr + ',h-' + sectionproperties.subheadercollimageth + '/' + currentimagecollection,
|
|
19259
19273
|
style: {
|
|
19260
19274
|
width: '100%',
|
|
19261
19275
|
height: '100%',
|
|
@@ -23619,10 +23633,7 @@ var CategoryFeaturingHeader = function CategoryFeaturingHeader(props) {
|
|
|
23619
23633
|
}),
|
|
23620
23634
|
lowerHeaderContainer: css({
|
|
23621
23635
|
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
23622
|
-
|
|
23623
|
-
borderBottomRightRadius: sectionproperties.header_BorderBottomRightRadius + 'px',
|
|
23624
|
-
borderTopLeftRadius: sectionproperties.header_borderTopLeftRadius + 'px',
|
|
23625
|
-
borderTopRightRadius: sectionproperties.header_borderTopRightRadius + 'px',
|
|
23636
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
23626
23637
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
23627
23638
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
23628
23639
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
@@ -26763,10 +26774,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
26763
26774
|
}),
|
|
26764
26775
|
header_innercontainer: css({
|
|
26765
26776
|
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
26766
|
-
|
|
26767
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.header_BorderBottomRightRadius + 'px' : sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
26768
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.header_borderTopLeftRadius + 'px' : sectionproperties.header_borderTopRightRadius + 'px',
|
|
26769
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.header_borderTopRightRadius + 'px' : sectionproperties.header_borderTopLeftRadius + 'px',
|
|
26777
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
26770
26778
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
26771
26779
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
26772
26780
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
@@ -27458,6 +27466,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27458
27466
|
var lang = props.actions.lang;
|
|
27459
27467
|
var langdetect = props.actions.langdetect;
|
|
27460
27468
|
var setlang = props.actions.setlang;
|
|
27469
|
+
props.actions.scrollcontext;
|
|
27461
27470
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
27462
27471
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
27463
27472
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
@@ -27581,9 +27590,6 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27581
27590
|
borderColor: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.userBtnTextcoloronhover : sectionproperties.userBtnbgColoronhover
|
|
27582
27591
|
}
|
|
27583
27592
|
}),
|
|
27584
|
-
// user_btn2:css({
|
|
27585
|
-
// color:sec
|
|
27586
|
-
// })
|
|
27587
27593
|
header_logo: css({
|
|
27588
27594
|
width: templateproperties_context.logo_width + 'px',
|
|
27589
27595
|
height: templateproperties_context.logo_height + 'px'
|
|
@@ -27694,6 +27700,24 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27694
27700
|
color: sectionproperties.closeSlider_colorOnHover,
|
|
27695
27701
|
borderColor: sectionproperties.closeSlider_colorOnHover
|
|
27696
27702
|
}
|
|
27703
|
+
})), _defineProperty(_header_cssstyles, "headerinnercontainer", css({
|
|
27704
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
27705
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
27706
|
+
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
27707
|
+
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
27708
|
+
paddingBottom: sectionproperties.header_paddingBottom + 'px',
|
|
27709
|
+
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor
|
|
27710
|
+
// ':hover': {
|
|
27711
|
+
// backgroundColor: sectionproperties.header_backgroundColor,
|
|
27712
|
+
// transition: '.3s ease-in-out',
|
|
27713
|
+
// },
|
|
27714
|
+
})), _defineProperty(_header_cssstyles, "headerinnercontainerscrolled", css({
|
|
27715
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
27716
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
27717
|
+
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
27718
|
+
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
27719
|
+
paddingBottom: sectionproperties.header_paddingBottom + 'px',
|
|
27720
|
+
backgroundColor: sectionproperties.header_backgroundColor
|
|
27697
27721
|
})), _header_cssstyles);
|
|
27698
27722
|
return /*#__PURE__*/React.createElement("div", {
|
|
27699
27723
|
"class": "row m-0 w-100 d-flex align-items-center justify-content-center ",
|
|
@@ -27719,18 +27743,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27719
27743
|
})), /*#__PURE__*/React.createElement("div", {
|
|
27720
27744
|
"class": "col-lg-12 p-0"
|
|
27721
27745
|
}, /*#__PURE__*/React.createElement("div", {
|
|
27722
|
-
"class":
|
|
27723
|
-
style: {
|
|
27724
|
-
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
27725
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.header_borderBottomLeftRadius + 'px' : sectionproperties.header_BorderBottomRightRadius + 'px',
|
|
27726
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.header_BorderBottomRightRadius + 'px' : sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
27727
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.header_borderTopLeftRadius + 'px' : sectionproperties.header_borderTopRightRadius + 'px',
|
|
27728
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.header_borderTopRightRadius + 'px' : sectionproperties.header_borderTopLeftRadius + 'px',
|
|
27729
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
27730
|
-
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
27731
|
-
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
27732
|
-
paddingBottom: sectionproperties.header_paddingBottom + 'px'
|
|
27733
|
-
}
|
|
27746
|
+
"class": header_cssstyles.headerinnercontainer + ' row m-0 w-100 '
|
|
27734
27747
|
}, /*#__PURE__*/React.createElement("div", {
|
|
27735
27748
|
"class": "col-lg-12 p-0"
|
|
27736
27749
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -29989,10 +30002,7 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
|
29989
30002
|
position: sectionproperties.headerstyles_position,
|
|
29990
30003
|
zIndex: 11000,
|
|
29991
30004
|
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
29992
|
-
|
|
29993
|
-
borderBottomRightRadius: sectionproperties.header_BorderBottomRightRadius + 'px',
|
|
29994
|
-
borderTopLeftRadius: sectionproperties.header_borderTopLeftRadius + 'px',
|
|
29995
|
-
borderTopRightRadius: sectionproperties.header_borderTopRightRadius + 'px',
|
|
30005
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
29996
30006
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
29997
30007
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
29998
30008
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
@@ -30648,10 +30658,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
30648
30658
|
}),
|
|
30649
30659
|
lowerHeaderContainer: css({
|
|
30650
30660
|
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
30651
|
-
|
|
30652
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.header_BorderBottomRightRadius + 'px' : sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
30653
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.header_borderTopLeftRadius + 'px' : sectionproperties.header_borderTopRightRadius + 'px',
|
|
30654
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.header_borderTopRightRadius + 'px' : sectionproperties.header_borderTopLeftRadius + 'px',
|
|
30661
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
30655
30662
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
30656
30663
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
30657
30664
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
@@ -33620,10 +33627,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
33620
33627
|
}),
|
|
33621
33628
|
lowerHeaderContainer: css({
|
|
33622
33629
|
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
33623
|
-
|
|
33624
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.header_BorderBottomRightRadius + 'px' : sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
33625
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.header_borderTopLeftRadius + 'px' : sectionproperties.header_borderTopRightRadius + 'px',
|
|
33626
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.header_borderTopRightRadius + 'px' : sectionproperties.header_borderTopLeftRadius + 'px',
|
|
33630
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
33627
33631
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
33628
33632
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
33629
33633
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
@@ -34600,10 +34604,7 @@ var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
|
34600
34604
|
}),
|
|
34601
34605
|
headerMiddleContainer: css({
|
|
34602
34606
|
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
34603
|
-
|
|
34604
|
-
borderBottomRightRadius: sectionproperties.header_BorderBottomRightRadius + 'px',
|
|
34605
|
-
borderTopLeftRadius: sectionproperties.header_borderTopLeftRadius + 'px',
|
|
34606
|
-
borderTopRightRadius: sectionproperties.header_borderTopRightRadius + 'px',
|
|
34607
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
34607
34608
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
34608
34609
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
34609
34610
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
@@ -37037,10 +37038,7 @@ var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
|
37037
37038
|
justifyContent: 'center',
|
|
37038
37039
|
width: sectionproperties.header_width + 'vw',
|
|
37039
37040
|
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
37040
|
-
|
|
37041
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.header_BorderBottomRightRadius + 'px' : sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
37042
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.header_borderTopLeftRadius + 'px' : sectionproperties.header_borderTopRightRadius + 'px',
|
|
37043
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.header_borderTopRightRadius + 'px' : sectionproperties.header_borderTopLeftRadius + 'px',
|
|
37041
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
37044
37042
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
37045
37043
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
37046
37044
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
@@ -58538,16 +58536,19 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
58538
58536
|
};
|
|
58539
58537
|
var SlideShowTextContainer = function SlideShowTextContainer(item) {
|
|
58540
58538
|
return /*#__PURE__*/React.createElement("div", {
|
|
58541
|
-
"class": cardarrayofobjs.length != 0 ? 'row m-0 w-100 allcentered align-items-md-center justify-content-md-center p-0 mt-sm-n6' : 'row m-0 w-100 allcentered align-items-md-center justify-content-md-center p-0'
|
|
58539
|
+
"class": cardarrayofobjs.length != 0 ? 'row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center p-0 mt-sm-n6 px-5' : 'row m-0 w-sm-100 allcentered align-items-md-center justify-content-md-center p-0 px-5'
|
|
58540
|
+
// style={{ position: 'absolute', top: cardarrayofobjs.length != 0 ? '40%' : '50%', zIndex: 2 }}
|
|
58541
|
+
,
|
|
58542
58542
|
style: {
|
|
58543
58543
|
position: 'absolute',
|
|
58544
|
-
|
|
58545
|
-
zIndex: 2
|
|
58544
|
+
bottom: 40,
|
|
58545
|
+
zIndex: 2,
|
|
58546
|
+
width: '50%'
|
|
58546
58547
|
}
|
|
58547
58548
|
}, /*#__PURE__*/React.createElement("div", {
|
|
58548
|
-
"class": sectionproperties.text1centered == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 '
|
|
58549
|
+
"class": sectionproperties.text1centered == 'Centered' ? 'col-lg-12 allcentered mb-1' : 'col-lg-12 mb-1 '
|
|
58549
58550
|
}, /*#__PURE__*/React.createElement("p", {
|
|
58550
|
-
className: "m-0 p-0 wordbreak
|
|
58551
|
+
className: "m-0 p-0 wordbreak",
|
|
58551
58552
|
style: {
|
|
58552
58553
|
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
58553
58554
|
color: sectionproperties.slideshowText1ContentColor,
|
|
@@ -58555,7 +58556,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
58555
58556
|
textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
58556
58557
|
}
|
|
58557
58558
|
}, langdetect == 'en' ? item.titleen : item.titlear)), /*#__PURE__*/React.createElement("div", {
|
|
58558
|
-
"class": sectionproperties.text2centered == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 '
|
|
58559
|
+
"class": sectionproperties.text2centered == 'Centered' ? 'col-lg-12 allcentered mb-3' : 'col-lg-12 mb-3 '
|
|
58559
58560
|
}, /*#__PURE__*/React.createElement("p", {
|
|
58560
58561
|
className: "m-0 p-0 wordbreak",
|
|
58561
58562
|
style: {
|
|
@@ -58574,11 +58575,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
58574
58575
|
style: {
|
|
58575
58576
|
direction: langdetect == 'en' ? 'ltr' : 'rtl'
|
|
58576
58577
|
}
|
|
58577
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' '
|
|
58578
|
-
size: 20
|
|
58579
|
-
}) : /*#__PURE__*/React.createElement(IoIosArrowRoundBack, {
|
|
58580
|
-
size: 20
|
|
58581
|
-
}))));
|
|
58578
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')));
|
|
58582
58579
|
};
|
|
58583
58580
|
return /*#__PURE__*/React.createElement("div", {
|
|
58584
58581
|
"class": "row m-0 w-100"
|
|
@@ -63593,11 +63590,15 @@ var Card23 = function Card23(props) {
|
|
|
63593
63590
|
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
63594
63591
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
63595
63592
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
63593
|
+
transition: 'all, 0.4s',
|
|
63596
63594
|
':hover .iconsContainer': {
|
|
63597
63595
|
opacity: 1,
|
|
63598
63596
|
transition: 'all, 0.4s',
|
|
63599
63597
|
right: 10,
|
|
63600
63598
|
transform: "translateX(0px)"
|
|
63599
|
+
},
|
|
63600
|
+
':hover': {
|
|
63601
|
+
boxShadow: '0 0 10px ' + sectionproperties.sectioncardshadowcolor
|
|
63601
63602
|
}
|
|
63602
63603
|
}),
|
|
63603
63604
|
iconsContainer2: css({
|
|
@@ -63679,10 +63680,10 @@ var Card23 = function Card23(props) {
|
|
|
63679
63680
|
},
|
|
63680
63681
|
loading: "lazy",
|
|
63681
63682
|
onClick: function onClick(e) {
|
|
63682
|
-
|
|
63683
|
-
|
|
63684
|
-
|
|
63685
|
-
// setShowProductInfoModalContext(true);
|
|
63683
|
+
if (sectionproperties.hideshowcardtransition != 'Show') {
|
|
63684
|
+
e.stopPropagation();
|
|
63685
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
63686
|
+
} // setShowProductInfoModalContext(true);
|
|
63686
63687
|
// setProductIdProdutInfoModalContext(item.productid);
|
|
63687
63688
|
}
|
|
63688
63689
|
}), transition && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
@@ -63701,9 +63702,10 @@ var Card23 = function Card23(props) {
|
|
|
63701
63702
|
},
|
|
63702
63703
|
loading: "lazy",
|
|
63703
63704
|
onClick: function onClick(e) {
|
|
63704
|
-
|
|
63705
|
-
|
|
63706
|
-
|
|
63705
|
+
if (sectionproperties.hideshowcardtransition == 'Show') {
|
|
63706
|
+
e.stopPropagation();
|
|
63707
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
63708
|
+
}
|
|
63707
63709
|
// setShowProductInfoModalContext(true);
|
|
63708
63710
|
// setProductIdProdutInfoModalContext(item.productid);
|
|
63709
63711
|
}
|
|
@@ -63837,7 +63839,8 @@ var Card23 = function Card23(props) {
|
|
|
63837
63839
|
"class": " ".concat(cardsstyles2.showmodal),
|
|
63838
63840
|
onClick: function onClick(e) {
|
|
63839
63841
|
e.stopPropagation();
|
|
63840
|
-
|
|
63842
|
+
setShowProductInfoModalContext(true);
|
|
63843
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
63841
63844
|
}
|
|
63842
63845
|
}, /*#__PURE__*/React.createElement("i", {
|
|
63843
63846
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
@@ -63875,7 +63878,8 @@ var Card23 = function Card23(props) {
|
|
|
63875
63878
|
"class": " ".concat(cardsstyles2.showmodal),
|
|
63876
63879
|
onClick: function onClick(e) {
|
|
63877
63880
|
e.stopPropagation();
|
|
63878
|
-
|
|
63881
|
+
setShowProductInfoModalContext(true);
|
|
63882
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
63879
63883
|
}
|
|
63880
63884
|
}, /*#__PURE__*/React.createElement("i", {
|
|
63881
63885
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
@@ -63888,18 +63892,16 @@ var Card23 = function Card23(props) {
|
|
|
63888
63892
|
paddingBottom: sectionproperties.paddingBottom + 'px'
|
|
63889
63893
|
}
|
|
63890
63894
|
}, /*#__PURE__*/React.createElement("div", {
|
|
63891
|
-
"class":
|
|
63895
|
+
"class":
|
|
63896
|
+
// sectionproperties.hideshowcardtransition == 'Show'
|
|
63897
|
+
// ? ` ${cardsstyles2.imageContainer} ${cardstyles.imagecontainer}` + ' d-flex d-md-none '
|
|
63898
|
+
// : ` ${cardsstyles2.imageContainer} ` + ' d-flex d-md-none '
|
|
63899
|
+
sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(cardsstyles2.imageContainer, " ").concat(cardstyles$7.imagecontainer) + ' d-flex ' : " ".concat(cardsstyles2.imageContainer, " ") + ' d-flex ',
|
|
63892
63900
|
style: {
|
|
63893
63901
|
height: sectionproperties.image_height + 'px',
|
|
63894
63902
|
marginBottom: sectionproperties.image_mb + 'px'
|
|
63895
63903
|
}
|
|
63896
63904
|
}, Image('normal')), /*#__PURE__*/React.createElement("div", {
|
|
63897
|
-
"class": cardsstyles2.imageContainer + ' d-none d-md-flex ',
|
|
63898
|
-
style: {
|
|
63899
|
-
height: sectionproperties.height_responsive + 'px',
|
|
63900
|
-
marginBottom: sectionproperties.image_mb + 'px'
|
|
63901
|
-
}
|
|
63902
|
-
}, Image('responsive')), /*#__PURE__*/React.createElement("div", {
|
|
63903
63905
|
"class": sectionproperties.innersectionpaddinghorizontal == 0 ? 'row m-0 w-100' : 'row m-0 w-100 pl-sm-2 pr-sm-2',
|
|
63904
63906
|
style: {
|
|
63905
63907
|
paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
@@ -63996,8 +63998,7 @@ var Card23 = function Card23(props) {
|
|
|
63996
63998
|
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
63997
63999
|
"class": "".concat(cardsstyles2.cart_btn) + ' allcentered mt-3 ',
|
|
63998
64000
|
onClick: function onClick() {
|
|
63999
|
-
|
|
64000
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
64001
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
64001
64002
|
}
|
|
64002
64003
|
}, /*#__PURE__*/React.createElement("div", {
|
|
64003
64004
|
"class": "d-flex align-items-center justify-content-center"
|
|
@@ -71355,7 +71356,6 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
71355
71356
|
overflow: 'hidden',
|
|
71356
71357
|
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
71357
71358
|
background: sectionproperties.image_bgtransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
|
|
71358
|
-
// border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
71359
71359
|
border: sectionproperties.image_borderType == 'All' ? sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor : 0,
|
|
71360
71360
|
borderBottom: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
71361
71361
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
@@ -71505,10 +71505,6 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
71505
71505
|
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
71506
71506
|
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
71507
71507
|
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
71508
|
-
},
|
|
71509
|
-
onClick: function onClick(e) {
|
|
71510
|
-
e.stopPropagation();
|
|
71511
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
71512
71508
|
}
|
|
71513
71509
|
}), transition && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
71514
71510
|
"class": cardstyles$7.secondaryimage,
|
|
@@ -71520,17 +71516,26 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
71520
71516
|
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
71521
71517
|
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
71522
71518
|
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
71523
|
-
},
|
|
71524
|
-
onClick: function onClick(e) {
|
|
71525
|
-
e.stopPropagation();
|
|
71526
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
71527
|
-
|
|
71528
|
-
// setShowProductInfoModalContext(true);
|
|
71529
|
-
// setProductIdProdutInfoModalContext(item.productid);
|
|
71530
71519
|
}
|
|
71531
71520
|
}));
|
|
71532
71521
|
};
|
|
71522
|
+
var _useState7 = useState(0),
|
|
71523
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
71524
|
+
clickCount = _useState8[0],
|
|
71525
|
+
setClickCount = _useState8[1];
|
|
71526
|
+
var handleClick = function handleClick() {
|
|
71527
|
+
// Increase the click count by 1
|
|
71528
|
+
setClickCount(function (prevCount) {
|
|
71529
|
+
return prevCount + 1;
|
|
71530
|
+
});
|
|
71533
71531
|
|
|
71532
|
+
// Check if it's the second click
|
|
71533
|
+
if (clickCount === 1) {
|
|
71534
|
+
// Do whatever you want on the second click
|
|
71535
|
+
|
|
71536
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
71537
|
+
}
|
|
71538
|
+
};
|
|
71534
71539
|
return /*#__PURE__*/React.createElement("div", {
|
|
71535
71540
|
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 px-md-1 ' : " ".concat(card_cssstyles.productcard),
|
|
71536
71541
|
style: {
|
|
@@ -71649,13 +71654,20 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
71649
71654
|
"class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$7.imagecontainer) + ' d-flex d-md-none ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-flex d-md-none ',
|
|
71650
71655
|
style: {
|
|
71651
71656
|
marginBottom: sectionproperties.image_mb + 'px'
|
|
71657
|
+
},
|
|
71658
|
+
onClick: function onClick(e) {
|
|
71659
|
+
e.stopPropagation();
|
|
71660
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
71652
71661
|
}
|
|
71653
71662
|
}, Image('normal')), /*#__PURE__*/React.createElement("div", {
|
|
71654
|
-
"class": card_cssstyles.productcardimagecont + ' d-none d-md-flex ',
|
|
71663
|
+
"class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$7.imagecontainer) + ' d-none d-md-flex ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-none d-md-flex ',
|
|
71655
71664
|
style: {
|
|
71656
71665
|
marginBottom: sectionproperties.image_mb + 'px'
|
|
71666
|
+
},
|
|
71667
|
+
onClick: function onClick(e) {
|
|
71668
|
+
handleClick();
|
|
71657
71669
|
}
|
|
71658
|
-
}, Image('
|
|
71670
|
+
}, Image('normal')), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React.createElement("div", {
|
|
71659
71671
|
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
71660
71672
|
}, /*#__PURE__*/React.createElement("p", {
|
|
71661
71673
|
"class": "m-0 p-0"
|