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.umd.js
CHANGED
|
@@ -1261,6 +1261,7 @@
|
|
|
1261
1261
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
1262
1262
|
var lang = props.actions.lang;
|
|
1263
1263
|
var langdetect = props.actions.langdetect;
|
|
1264
|
+
var variantvalueidentifier = props.actions.variantvalueidentifier;
|
|
1264
1265
|
var selectproductoptionvalue = props.actions.selectproductoptionvalue;
|
|
1265
1266
|
var clearchoosenvaluesbutkeepcurrentvalue = props.actions.clearchoosenvaluesbutkeepcurrentvalue;
|
|
1266
1267
|
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
@@ -1270,7 +1271,7 @@
|
|
|
1270
1271
|
var _useState = React.useState(''),
|
|
1271
1272
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
1272
1273
|
_useState2[0];
|
|
1273
|
-
|
|
1274
|
+
_useState2[1];
|
|
1274
1275
|
var formstyles = {
|
|
1275
1276
|
input_label_name: glamor.css({
|
|
1276
1277
|
color: sectionproperties.form_labelcolor,
|
|
@@ -1335,7 +1336,11 @@
|
|
|
1335
1336
|
textTransform: sectionproperties.varianttitle_texttransform,
|
|
1336
1337
|
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
1337
1338
|
}
|
|
1338
|
-
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":", ' '
|
|
1339
|
+
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":", ' ', item.optionname == 'color' || item.optionname == 'Color' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1340
|
+
style: {
|
|
1341
|
+
color: '#62554a'
|
|
1342
|
+
}
|
|
1343
|
+
}, variantvalueidentifier))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1339
1344
|
className: "col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-1",
|
|
1340
1345
|
style: {
|
|
1341
1346
|
paddingTop: sectionproperties.showRemovebutton == 'Show' ? '1rem' : 0
|
|
@@ -1357,16 +1362,11 @@
|
|
|
1357
1362
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1358
1363
|
className: productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''),
|
|
1359
1364
|
onClick: function onClick() {
|
|
1365
|
+
// here
|
|
1360
1366
|
if (optionvaluesitem.isenabled == 1) {
|
|
1361
1367
|
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1362
|
-
if (optionvaluesitem.valuename == '#000000') {
|
|
1363
|
-
setcolorvalue('Black');
|
|
1364
|
-
} else if (optionvaluesitem.valuename == '#c9b0a1') {
|
|
1365
|
-
setcolorvalue('Beige');
|
|
1366
|
-
}
|
|
1367
1368
|
} else {
|
|
1368
1369
|
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1369
|
-
setcolorvalue('');
|
|
1370
1370
|
}
|
|
1371
1371
|
},
|
|
1372
1372
|
style: {
|
|
@@ -2765,7 +2765,7 @@
|
|
|
2765
2765
|
})), 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__default["default"].createElement("div", {
|
|
2766
2766
|
className: ' d-flex align-items-center justify-content-center '
|
|
2767
2767
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
2768
|
-
color:
|
|
2768
|
+
color: sectionproperties.cartBtnTextcolor,
|
|
2769
2769
|
width: "20px",
|
|
2770
2770
|
height: "20px",
|
|
2771
2771
|
duration: "1s"
|
|
@@ -2854,7 +2854,7 @@
|
|
|
2854
2854
|
})), 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__default["default"].createElement("div", {
|
|
2855
2855
|
className: ' d-flex align-items-center justify-content-center '
|
|
2856
2856
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
2857
|
-
color:
|
|
2857
|
+
color: sectionproperties.cartBtnTextcolor,
|
|
2858
2858
|
width: "20px",
|
|
2859
2859
|
height: "20px",
|
|
2860
2860
|
duration: "1s"
|
|
@@ -2905,7 +2905,7 @@
|
|
|
2905
2905
|
}, langdetect == 'en' ? 'Buy Now' : 'إشترى الان'), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2906
2906
|
className: ' d-flex align-items-center justify-content-center '
|
|
2907
2907
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
2908
|
-
color:
|
|
2908
|
+
color: sectionproperties.cartBtnTextcolor,
|
|
2909
2909
|
width: "20px",
|
|
2910
2910
|
height: "20px",
|
|
2911
2911
|
duration: "1s"
|
|
@@ -5094,6 +5094,10 @@
|
|
|
5094
5094
|
_useState42 = _slicedToArray__default["default"](_useState41, 2),
|
|
5095
5095
|
productVideos = _useState42[0],
|
|
5096
5096
|
setproductVideos = _useState42[1];
|
|
5097
|
+
var _useState43 = React.useState([]),
|
|
5098
|
+
_useState44 = _slicedToArray__default["default"](_useState43, 2),
|
|
5099
|
+
variantvalueidentifier = _useState44[0],
|
|
5100
|
+
setvariantvalueidentifier = _useState44[1];
|
|
5097
5101
|
var handleTabChange = function handleTabChange(event, newTabIndex) {
|
|
5098
5102
|
setTabIndex(newTabIndex);
|
|
5099
5103
|
};
|
|
@@ -5247,6 +5251,10 @@
|
|
|
5247
5251
|
} else {
|
|
5248
5252
|
productarr.data.productinfo.productoptions[optionindex].optionvalues[optionvaluesindex].isselected = 1;
|
|
5249
5253
|
}
|
|
5254
|
+
if (productarr.data.productinfo.productoptions[optionindex].optionname == 'Color' || productarr.data.productinfo.productoptions[optionindex].optionname == 'Colour') {
|
|
5255
|
+
var _productarr$data$prod;
|
|
5256
|
+
setvariantvalueidentifier((_productarr$data$prod = productarr.data.productinfo.productoptions[optionindex].optionvalues[optionvaluesindex]) === null || _productarr$data$prod === void 0 ? void 0 : _productarr$data$prod.value_identifier);
|
|
5257
|
+
}
|
|
5250
5258
|
productarr.data.productinfo.productoptions[optionindex].optionvalues.forEach(function (arrayItem, arrayindex) {
|
|
5251
5259
|
if (optionvaluesindex != arrayindex) {
|
|
5252
5260
|
arrayItem.isselected = 0;
|
|
@@ -5384,7 +5392,6 @@
|
|
|
5384
5392
|
setisoutofstock(false);
|
|
5385
5393
|
}
|
|
5386
5394
|
setvariantsku(variantobj === null || variantobj === void 0 ? void 0 : variantobj.sku);
|
|
5387
|
-
// alert(variantsku);
|
|
5388
5395
|
setcurrentshowingimageindex(variantimageindex);
|
|
5389
5396
|
setaddtocardpayloadobj(_objectSpread$2p({}, tempaddtocardpayloadobj));
|
|
5390
5397
|
setvariantindexcompleted(ProductVariantIndex);
|
|
@@ -5403,8 +5410,6 @@
|
|
|
5403
5410
|
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) {
|
|
5404
5411
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
5405
5412
|
runfunc = true;
|
|
5406
|
-
} else {
|
|
5407
|
-
NotificationManager.warning('', 'Please Choose Product Options');
|
|
5408
5413
|
}
|
|
5409
5414
|
} else {
|
|
5410
5415
|
runfunc = true;
|
|
@@ -6325,7 +6330,7 @@
|
|
|
6325
6330
|
langdetect: langdetect,
|
|
6326
6331
|
lang: lang,
|
|
6327
6332
|
srcfromprops: props.srcfromprops
|
|
6328
|
-
}, _defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), _defineProperty__default["default"](_ref, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty__default["default"](_ref, "addtocartfunc", addtocartfunc), _defineProperty__default["default"](_ref, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty__default["default"](_ref, "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), _defineProperty__default["default"](_ref, "productimagesarray", productimagesarray), _defineProperty__default["default"](_ref, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty__default["default"](_ref, "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_ref, "sectionproperties", sectionproperties), _defineProperty__default["default"](_ref, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty__default["default"](_ref, "routingcountext", routingcountext), _defineProperty__default["default"](_ref, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty__default["default"](_ref, "authdetailsContext", authdetailsContext), _defineProperty__default["default"](_ref, "addtofavoritescontext", addtofavoritescontext), _defineProperty__default["default"](_ref, "variantindexcompleted", variantindexcompleted), _defineProperty__default["default"](_ref, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty__default["default"](_ref, "NotificationManager", NotificationManager), _defineProperty__default["default"](_ref, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_ref, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), _defineProperty__default["default"](_ref, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty__default["default"](_ref, "StoreInfoprops", StoreInfo), _defineProperty__default["default"](_ref, "currentshowingimageindex", currentshowingimageindex), _defineProperty__default["default"](_ref, "setcurrentshowingimageindex", setcurrentshowingimageindex), _defineProperty__default["default"](_ref, "templatepropcontext", templatepropcontext), _defineProperty__default["default"](_ref, "ikimagecredcontext", ikimagecredcontext), _defineProperty__default["default"](_ref, "variantindex", variantindex), _defineProperty__default["default"](_ref, "setvariantindex", setvariantindex), _defineProperty__default["default"](_ref, "variantsku", variantsku), _ref)
|
|
6333
|
+
}, _defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), _defineProperty__default["default"](_ref, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty__default["default"](_ref, "addtocartfunc", addtocartfunc), _defineProperty__default["default"](_ref, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty__default["default"](_ref, "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), _defineProperty__default["default"](_ref, "productimagesarray", productimagesarray), _defineProperty__default["default"](_ref, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty__default["default"](_ref, "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_ref, "sectionproperties", sectionproperties), _defineProperty__default["default"](_ref, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty__default["default"](_ref, "routingcountext", routingcountext), _defineProperty__default["default"](_ref, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty__default["default"](_ref, "authdetailsContext", authdetailsContext), _defineProperty__default["default"](_ref, "addtofavoritescontext", addtofavoritescontext), _defineProperty__default["default"](_ref, "variantindexcompleted", variantindexcompleted), _defineProperty__default["default"](_ref, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty__default["default"](_ref, "NotificationManager", NotificationManager), _defineProperty__default["default"](_ref, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_ref, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), _defineProperty__default["default"](_ref, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty__default["default"](_ref, "StoreInfoprops", StoreInfo), _defineProperty__default["default"](_ref, "currentshowingimageindex", currentshowingimageindex), _defineProperty__default["default"](_ref, "setcurrentshowingimageindex", setcurrentshowingimageindex), _defineProperty__default["default"](_ref, "templatepropcontext", templatepropcontext), _defineProperty__default["default"](_ref, "ikimagecredcontext", ikimagecredcontext), _defineProperty__default["default"](_ref, "variantindex", variantindex), _defineProperty__default["default"](_ref, "setvariantindex", setvariantindex), _defineProperty__default["default"](_ref, "variantsku", variantsku), _defineProperty__default["default"](_ref, "variantvalueidentifier", variantvalueidentifier), _ref)
|
|
6329
6334
|
}), fetchProductInfoQueryContext.data.data.productinfo.item_type == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
|
|
6330
6335
|
actions: (_ref2 = {
|
|
6331
6336
|
variantsku: variantsku,
|
|
@@ -15624,7 +15629,12 @@
|
|
|
15624
15629
|
className: "h-100 d-flex align-items-center"
|
|
15625
15630
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15626
15631
|
className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
|
|
15627
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15632
|
+
}, item.optionname == 'Color' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15633
|
+
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
|
|
15634
|
+
style: {
|
|
15635
|
+
color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
|
|
15636
|
+
}
|
|
15637
|
+
}, valueitem.value_identifier), item.optionname != 'Color' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15628
15638
|
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
|
|
15629
15639
|
style: {
|
|
15630
15640
|
color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
|
|
@@ -17374,7 +17384,7 @@
|
|
|
17374
17384
|
setopenFilterSlider: setopenFilterSlider,
|
|
17375
17385
|
show_product_group_titles: show_product_group_titles
|
|
17376
17386
|
})), sectionproperties.showvariantfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17377
|
-
className: 'col-lg-3 d-flex'
|
|
17387
|
+
className: 'col-lg-3 d-flex d-md-none'
|
|
17378
17388
|
}, /*#__PURE__*/React__default["default"].createElement(Filter$1, {
|
|
17379
17389
|
sectionpropertiesprops: sectionproperties,
|
|
17380
17390
|
actions: actions,
|
|
@@ -18525,7 +18535,11 @@
|
|
|
18525
18535
|
"class": "d-flex flex-row align-items-center"
|
|
18526
18536
|
}, textarray.map(function (item, index) {
|
|
18527
18537
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18528
|
-
"class": header_cssstyles.textSlider + '
|
|
18538
|
+
"class": header_cssstyles.textSlider + ' mb-0 p-0 ',
|
|
18539
|
+
style: {
|
|
18540
|
+
marginLeft: 200,
|
|
18541
|
+
marginRight: 200
|
|
18542
|
+
}
|
|
18529
18543
|
}, langdetect == 'en' ? item.textEnglish : item.textArabic);
|
|
18530
18544
|
}))), templateproperties_context.textslidertype == 'Text' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18531
18545
|
"class": props.srcfrom == 'sidemarquee' ? 'w-100 text-start' : 'w-100 allcentered'
|
|
@@ -19130,7 +19144,7 @@
|
|
|
19130
19144
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
19131
19145
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
19132
19146
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
19133
|
-
path: '/tr:w-
|
|
19147
|
+
path: '/tr:w-' + sectionproperties.subheadercollimagetr + ',h-' + sectionproperties.subheadercollimageth + '/' + currentimagecollection,
|
|
19134
19148
|
style: {
|
|
19135
19149
|
width: '100%',
|
|
19136
19150
|
height: '100%',
|
|
@@ -23494,10 +23508,7 @@
|
|
|
23494
23508
|
}),
|
|
23495
23509
|
lowerHeaderContainer: glamor.css({
|
|
23496
23510
|
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
23497
|
-
|
|
23498
|
-
borderBottomRightRadius: sectionproperties.header_BorderBottomRightRadius + 'px',
|
|
23499
|
-
borderTopLeftRadius: sectionproperties.header_borderTopLeftRadius + 'px',
|
|
23500
|
-
borderTopRightRadius: sectionproperties.header_borderTopRightRadius + 'px',
|
|
23511
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
23501
23512
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
23502
23513
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
23503
23514
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
@@ -26638,10 +26649,7 @@
|
|
|
26638
26649
|
}),
|
|
26639
26650
|
header_innercontainer: glamor.css({
|
|
26640
26651
|
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
26641
|
-
|
|
26642
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.header_BorderBottomRightRadius + 'px' : sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
26643
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.header_borderTopLeftRadius + 'px' : sectionproperties.header_borderTopRightRadius + 'px',
|
|
26644
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.header_borderTopRightRadius + 'px' : sectionproperties.header_borderTopLeftRadius + 'px',
|
|
26652
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
26645
26653
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
26646
26654
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
26647
26655
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
@@ -27333,6 +27341,7 @@
|
|
|
27333
27341
|
var lang = props.actions.lang;
|
|
27334
27342
|
var langdetect = props.actions.langdetect;
|
|
27335
27343
|
var setlang = props.actions.setlang;
|
|
27344
|
+
props.actions.scrollcontext;
|
|
27336
27345
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
27337
27346
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
27338
27347
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
@@ -27456,9 +27465,6 @@
|
|
|
27456
27465
|
borderColor: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.userBtnTextcoloronhover : sectionproperties.userBtnbgColoronhover
|
|
27457
27466
|
}
|
|
27458
27467
|
}),
|
|
27459
|
-
// user_btn2:css({
|
|
27460
|
-
// color:sec
|
|
27461
|
-
// })
|
|
27462
27468
|
header_logo: glamor.css({
|
|
27463
27469
|
width: templateproperties_context.logo_width + 'px',
|
|
27464
27470
|
height: templateproperties_context.logo_height + 'px'
|
|
@@ -27569,6 +27575,24 @@
|
|
|
27569
27575
|
color: sectionproperties.closeSlider_colorOnHover,
|
|
27570
27576
|
borderColor: sectionproperties.closeSlider_colorOnHover
|
|
27571
27577
|
}
|
|
27578
|
+
})), _defineProperty__default["default"](_header_cssstyles, "headerinnercontainer", glamor.css({
|
|
27579
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
27580
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
27581
|
+
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
27582
|
+
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
27583
|
+
paddingBottom: sectionproperties.header_paddingBottom + 'px',
|
|
27584
|
+
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor
|
|
27585
|
+
// ':hover': {
|
|
27586
|
+
// backgroundColor: sectionproperties.header_backgroundColor,
|
|
27587
|
+
// transition: '.3s ease-in-out',
|
|
27588
|
+
// },
|
|
27589
|
+
})), _defineProperty__default["default"](_header_cssstyles, "headerinnercontainerscrolled", glamor.css({
|
|
27590
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
27591
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
27592
|
+
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
27593
|
+
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
27594
|
+
paddingBottom: sectionproperties.header_paddingBottom + 'px',
|
|
27595
|
+
backgroundColor: sectionproperties.header_backgroundColor
|
|
27572
27596
|
})), _header_cssstyles);
|
|
27573
27597
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27574
27598
|
"class": "row m-0 w-100 d-flex align-items-center justify-content-center ",
|
|
@@ -27594,18 +27618,7 @@
|
|
|
27594
27618
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27595
27619
|
"class": "col-lg-12 p-0"
|
|
27596
27620
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27597
|
-
"class":
|
|
27598
|
-
style: {
|
|
27599
|
-
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
27600
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.header_borderBottomLeftRadius + 'px' : sectionproperties.header_BorderBottomRightRadius + 'px',
|
|
27601
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.header_BorderBottomRightRadius + 'px' : sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
27602
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.header_borderTopLeftRadius + 'px' : sectionproperties.header_borderTopRightRadius + 'px',
|
|
27603
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.header_borderTopRightRadius + 'px' : sectionproperties.header_borderTopLeftRadius + 'px',
|
|
27604
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
27605
|
-
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
27606
|
-
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
27607
|
-
paddingBottom: sectionproperties.header_paddingBottom + 'px'
|
|
27608
|
-
}
|
|
27621
|
+
"class": header_cssstyles.headerinnercontainer + ' row m-0 w-100 '
|
|
27609
27622
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27610
27623
|
"class": "col-lg-12 p-0"
|
|
27611
27624
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -29864,10 +29877,7 @@
|
|
|
29864
29877
|
position: sectionproperties.headerstyles_position,
|
|
29865
29878
|
zIndex: 11000,
|
|
29866
29879
|
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
29867
|
-
|
|
29868
|
-
borderBottomRightRadius: sectionproperties.header_BorderBottomRightRadius + 'px',
|
|
29869
|
-
borderTopLeftRadius: sectionproperties.header_borderTopLeftRadius + 'px',
|
|
29870
|
-
borderTopRightRadius: sectionproperties.header_borderTopRightRadius + 'px',
|
|
29880
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
29871
29881
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
29872
29882
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
29873
29883
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
@@ -30523,10 +30533,7 @@
|
|
|
30523
30533
|
}),
|
|
30524
30534
|
lowerHeaderContainer: glamor.css({
|
|
30525
30535
|
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
30526
|
-
|
|
30527
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.header_BorderBottomRightRadius + 'px' : sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
30528
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.header_borderTopLeftRadius + 'px' : sectionproperties.header_borderTopRightRadius + 'px',
|
|
30529
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.header_borderTopRightRadius + 'px' : sectionproperties.header_borderTopLeftRadius + 'px',
|
|
30536
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
30530
30537
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
30531
30538
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
30532
30539
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
@@ -33495,10 +33502,7 @@
|
|
|
33495
33502
|
}),
|
|
33496
33503
|
lowerHeaderContainer: glamor.css({
|
|
33497
33504
|
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
33498
|
-
|
|
33499
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.header_BorderBottomRightRadius + 'px' : sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
33500
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.header_borderTopLeftRadius + 'px' : sectionproperties.header_borderTopRightRadius + 'px',
|
|
33501
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.header_borderTopRightRadius + 'px' : sectionproperties.header_borderTopLeftRadius + 'px',
|
|
33505
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
33502
33506
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
33503
33507
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
33504
33508
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
@@ -34475,10 +34479,7 @@
|
|
|
34475
34479
|
}),
|
|
34476
34480
|
headerMiddleContainer: glamor.css({
|
|
34477
34481
|
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
34478
|
-
|
|
34479
|
-
borderBottomRightRadius: sectionproperties.header_BorderBottomRightRadius + 'px',
|
|
34480
|
-
borderTopLeftRadius: sectionproperties.header_borderTopLeftRadius + 'px',
|
|
34481
|
-
borderTopRightRadius: sectionproperties.header_borderTopRightRadius + 'px',
|
|
34482
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
34482
34483
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
34483
34484
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
34484
34485
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
@@ -36912,10 +36913,7 @@
|
|
|
36912
36913
|
justifyContent: 'center',
|
|
36913
36914
|
width: sectionproperties.header_width + 'vw',
|
|
36914
36915
|
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
36915
|
-
|
|
36916
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.header_BorderBottomRightRadius + 'px' : sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
36917
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.header_borderTopLeftRadius + 'px' : sectionproperties.header_borderTopRightRadius + 'px',
|
|
36918
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.header_borderTopRightRadius + 'px' : sectionproperties.header_borderTopLeftRadius + 'px',
|
|
36916
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
36919
36917
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
36920
36918
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
36921
36919
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
@@ -58413,16 +58411,19 @@
|
|
|
58413
58411
|
};
|
|
58414
58412
|
var SlideShowTextContainer = function SlideShowTextContainer(item) {
|
|
58415
58413
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58416
|
-
"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'
|
|
58414
|
+
"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'
|
|
58415
|
+
// style={{ position: 'absolute', top: cardarrayofobjs.length != 0 ? '40%' : '50%', zIndex: 2 }}
|
|
58416
|
+
,
|
|
58417
58417
|
style: {
|
|
58418
58418
|
position: 'absolute',
|
|
58419
|
-
|
|
58420
|
-
zIndex: 2
|
|
58419
|
+
bottom: 40,
|
|
58420
|
+
zIndex: 2,
|
|
58421
|
+
width: '50%'
|
|
58421
58422
|
}
|
|
58422
58423
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58423
|
-
"class": sectionproperties.text1centered == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 '
|
|
58424
|
+
"class": sectionproperties.text1centered == 'Centered' ? 'col-lg-12 allcentered mb-1' : 'col-lg-12 mb-1 '
|
|
58424
58425
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58425
|
-
className: "m-0 p-0 wordbreak
|
|
58426
|
+
className: "m-0 p-0 wordbreak",
|
|
58426
58427
|
style: {
|
|
58427
58428
|
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
58428
58429
|
color: sectionproperties.slideshowText1ContentColor,
|
|
@@ -58430,7 +58431,7 @@
|
|
|
58430
58431
|
textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
58431
58432
|
}
|
|
58432
58433
|
}, langdetect == 'en' ? item.titleen : item.titlear)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58433
|
-
"class": sectionproperties.text2centered == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 '
|
|
58434
|
+
"class": sectionproperties.text2centered == 'Centered' ? 'col-lg-12 allcentered mb-3' : 'col-lg-12 mb-3 '
|
|
58434
58435
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58435
58436
|
className: "m-0 p-0 wordbreak",
|
|
58436
58437
|
style: {
|
|
@@ -58449,11 +58450,7 @@
|
|
|
58449
58450
|
style: {
|
|
58450
58451
|
direction: langdetect == 'en' ? 'ltr' : 'rtl'
|
|
58451
58452
|
}
|
|
58452
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' '
|
|
58453
|
-
size: 20
|
|
58454
|
-
}) : /*#__PURE__*/React__default["default"].createElement(IoIosArrowRoundBack.IoIosArrowRoundBack, {
|
|
58455
|
-
size: 20
|
|
58456
|
-
}))));
|
|
58453
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')));
|
|
58457
58454
|
};
|
|
58458
58455
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58459
58456
|
"class": "row m-0 w-100"
|
|
@@ -63468,11 +63465,15 @@
|
|
|
63468
63465
|
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
63469
63466
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
63470
63467
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
63468
|
+
transition: 'all, 0.4s',
|
|
63471
63469
|
':hover .iconsContainer': {
|
|
63472
63470
|
opacity: 1,
|
|
63473
63471
|
transition: 'all, 0.4s',
|
|
63474
63472
|
right: 10,
|
|
63475
63473
|
transform: "translateX(0px)"
|
|
63474
|
+
},
|
|
63475
|
+
':hover': {
|
|
63476
|
+
boxShadow: '0 0 10px ' + sectionproperties.sectioncardshadowcolor
|
|
63476
63477
|
}
|
|
63477
63478
|
}),
|
|
63478
63479
|
iconsContainer2: glamor.css({
|
|
@@ -63554,10 +63555,10 @@
|
|
|
63554
63555
|
},
|
|
63555
63556
|
loading: "lazy",
|
|
63556
63557
|
onClick: function onClick(e) {
|
|
63557
|
-
|
|
63558
|
-
|
|
63559
|
-
|
|
63560
|
-
// setShowProductInfoModalContext(true);
|
|
63558
|
+
if (sectionproperties.hideshowcardtransition != 'Show') {
|
|
63559
|
+
e.stopPropagation();
|
|
63560
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
63561
|
+
} // setShowProductInfoModalContext(true);
|
|
63561
63562
|
// setProductIdProdutInfoModalContext(item.productid);
|
|
63562
63563
|
}
|
|
63563
63564
|
}), transition && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
@@ -63576,9 +63577,10 @@
|
|
|
63576
63577
|
},
|
|
63577
63578
|
loading: "lazy",
|
|
63578
63579
|
onClick: function onClick(e) {
|
|
63579
|
-
|
|
63580
|
-
|
|
63581
|
-
|
|
63580
|
+
if (sectionproperties.hideshowcardtransition == 'Show') {
|
|
63581
|
+
e.stopPropagation();
|
|
63582
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
63583
|
+
}
|
|
63582
63584
|
// setShowProductInfoModalContext(true);
|
|
63583
63585
|
// setProductIdProdutInfoModalContext(item.productid);
|
|
63584
63586
|
}
|
|
@@ -63712,7 +63714,8 @@
|
|
|
63712
63714
|
"class": " ".concat(cardsstyles2.showmodal),
|
|
63713
63715
|
onClick: function onClick(e) {
|
|
63714
63716
|
e.stopPropagation();
|
|
63715
|
-
|
|
63717
|
+
setShowProductInfoModalContext(true);
|
|
63718
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
63716
63719
|
}
|
|
63717
63720
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
63718
63721
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
@@ -63750,7 +63753,8 @@
|
|
|
63750
63753
|
"class": " ".concat(cardsstyles2.showmodal),
|
|
63751
63754
|
onClick: function onClick(e) {
|
|
63752
63755
|
e.stopPropagation();
|
|
63753
|
-
|
|
63756
|
+
setShowProductInfoModalContext(true);
|
|
63757
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
63754
63758
|
}
|
|
63755
63759
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
63756
63760
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
@@ -63763,18 +63767,16 @@
|
|
|
63763
63767
|
paddingBottom: sectionproperties.paddingBottom + 'px'
|
|
63764
63768
|
}
|
|
63765
63769
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63766
|
-
"class":
|
|
63770
|
+
"class":
|
|
63771
|
+
// sectionproperties.hideshowcardtransition == 'Show'
|
|
63772
|
+
// ? ` ${cardsstyles2.imageContainer} ${cardstyles.imagecontainer}` + ' d-flex d-md-none '
|
|
63773
|
+
// : ` ${cardsstyles2.imageContainer} ` + ' d-flex d-md-none '
|
|
63774
|
+
sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(cardsstyles2.imageContainer, " ").concat(cardstyles$7.imagecontainer) + ' d-flex ' : " ".concat(cardsstyles2.imageContainer, " ") + ' d-flex ',
|
|
63767
63775
|
style: {
|
|
63768
63776
|
height: sectionproperties.image_height + 'px',
|
|
63769
63777
|
marginBottom: sectionproperties.image_mb + 'px'
|
|
63770
63778
|
}
|
|
63771
63779
|
}, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63772
|
-
"class": cardsstyles2.imageContainer + ' d-none d-md-flex ',
|
|
63773
|
-
style: {
|
|
63774
|
-
height: sectionproperties.height_responsive + 'px',
|
|
63775
|
-
marginBottom: sectionproperties.image_mb + 'px'
|
|
63776
|
-
}
|
|
63777
|
-
}, Image('responsive')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63778
63780
|
"class": sectionproperties.innersectionpaddinghorizontal == 0 ? 'row m-0 w-100' : 'row m-0 w-100 pl-sm-2 pr-sm-2',
|
|
63779
63781
|
style: {
|
|
63780
63782
|
paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
@@ -63871,8 +63873,7 @@
|
|
|
63871
63873
|
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
63872
63874
|
"class": "".concat(cardsstyles2.cart_btn) + ' allcentered mt-3 ',
|
|
63873
63875
|
onClick: function onClick() {
|
|
63874
|
-
|
|
63875
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
63876
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
63876
63877
|
}
|
|
63877
63878
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
63878
63879
|
"class": "d-flex align-items-center justify-content-center"
|
|
@@ -71230,7 +71231,6 @@
|
|
|
71230
71231
|
overflow: 'hidden',
|
|
71231
71232
|
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
71232
71233
|
background: sectionproperties.image_bgtransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
|
|
71233
|
-
// border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
71234
71234
|
border: sectionproperties.image_borderType == 'All' ? sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor : 0,
|
|
71235
71235
|
borderBottom: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
71236
71236
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
@@ -71380,10 +71380,6 @@
|
|
|
71380
71380
|
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
71381
71381
|
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
71382
71382
|
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
71383
|
-
},
|
|
71384
|
-
onClick: function onClick(e) {
|
|
71385
|
-
e.stopPropagation();
|
|
71386
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
71387
71383
|
}
|
|
71388
71384
|
}), transition && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
71389
71385
|
"class": cardstyles$7.secondaryimage,
|
|
@@ -71395,17 +71391,26 @@
|
|
|
71395
71391
|
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
71396
71392
|
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
71397
71393
|
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
71398
|
-
},
|
|
71399
|
-
onClick: function onClick(e) {
|
|
71400
|
-
e.stopPropagation();
|
|
71401
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
71402
|
-
|
|
71403
|
-
// setShowProductInfoModalContext(true);
|
|
71404
|
-
// setProductIdProdutInfoModalContext(item.productid);
|
|
71405
71394
|
}
|
|
71406
71395
|
}));
|
|
71407
71396
|
};
|
|
71397
|
+
var _useState7 = React.useState(0),
|
|
71398
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
71399
|
+
clickCount = _useState8[0],
|
|
71400
|
+
setClickCount = _useState8[1];
|
|
71401
|
+
var handleClick = function handleClick() {
|
|
71402
|
+
// Increase the click count by 1
|
|
71403
|
+
setClickCount(function (prevCount) {
|
|
71404
|
+
return prevCount + 1;
|
|
71405
|
+
});
|
|
71408
71406
|
|
|
71407
|
+
// Check if it's the second click
|
|
71408
|
+
if (clickCount === 1) {
|
|
71409
|
+
// Do whatever you want on the second click
|
|
71410
|
+
|
|
71411
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
71412
|
+
}
|
|
71413
|
+
};
|
|
71409
71414
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71410
71415
|
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 px-md-1 ' : " ".concat(card_cssstyles.productcard),
|
|
71411
71416
|
style: {
|
|
@@ -71524,13 +71529,20 @@
|
|
|
71524
71529
|
"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 ',
|
|
71525
71530
|
style: {
|
|
71526
71531
|
marginBottom: sectionproperties.image_mb + 'px'
|
|
71532
|
+
},
|
|
71533
|
+
onClick: function onClick(e) {
|
|
71534
|
+
e.stopPropagation();
|
|
71535
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
71527
71536
|
}
|
|
71528
71537
|
}, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71529
|
-
"class": card_cssstyles.productcardimagecont + ' d-none d-md-flex ',
|
|
71538
|
+
"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 ',
|
|
71530
71539
|
style: {
|
|
71531
71540
|
marginBottom: sectionproperties.image_mb + 'px'
|
|
71541
|
+
},
|
|
71542
|
+
onClick: function onClick(e) {
|
|
71543
|
+
handleClick();
|
|
71532
71544
|
}
|
|
71533
|
-
}, Image('
|
|
71545
|
+
}, Image('normal')), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71534
71546
|
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
71535
71547
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
71536
71548
|
"class": "m-0 p-0"
|
package/package.json
CHANGED
|
@@ -139,10 +139,7 @@ const CategoryFeaturingHeader = (props) => {
|
|
|
139
139
|
}),
|
|
140
140
|
lowerHeaderContainer: css({
|
|
141
141
|
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
142
|
-
|
|
143
|
-
borderBottomRightRadius: sectionproperties.header_BorderBottomRightRadius + 'px',
|
|
144
|
-
borderTopLeftRadius: sectionproperties.header_borderTopLeftRadius + 'px',
|
|
145
|
-
borderTopRightRadius: sectionproperties.header_borderTopRightRadius + 'px',
|
|
142
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
146
143
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
147
144
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
148
145
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
@@ -81,10 +81,7 @@ const HeaderRestaurant = (props) => {
|
|
|
81
81
|
position: sectionproperties.headerstyles_position,
|
|
82
82
|
zIndex: 11000,
|
|
83
83
|
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
84
|
-
|
|
85
|
-
borderBottomRightRadius: sectionproperties.header_BorderBottomRightRadius + 'px',
|
|
86
|
-
borderTopLeftRadius: sectionproperties.header_borderTopLeftRadius + 'px',
|
|
87
|
-
borderTopRightRadius: sectionproperties.header_borderTopRightRadius + 'px',
|
|
84
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
88
85
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
89
86
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
90
87
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
@@ -83,10 +83,7 @@ const Header_threesectionslogocentered = (props) => {
|
|
|
83
83
|
}),
|
|
84
84
|
header_innercontainer: css({
|
|
85
85
|
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
86
|
-
|
|
87
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.header_BorderBottomRightRadius + 'px' : sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
88
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.header_borderTopLeftRadius + 'px' : sectionproperties.header_borderTopRightRadius + 'px',
|
|
89
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.header_borderTopRightRadius + 'px' : sectionproperties.header_borderTopLeftRadius + 'px',
|
|
86
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
90
87
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
91
88
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
92
89
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
@@ -91,14 +91,11 @@ const HeaderwithContactinfo = (props) => {
|
|
|
91
91
|
}),
|
|
92
92
|
lowerHeaderContainer: css({
|
|
93
93
|
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
94
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.header_borderBottomLeftRadius + 'px' : sectionproperties.header_BorderBottomRightRadius + 'px',
|
|
95
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.header_BorderBottomRightRadius + 'px' : sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
96
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.header_borderTopLeftRadius + 'px' : sectionproperties.header_borderTopRightRadius + 'px',
|
|
97
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.header_borderTopRightRadius + 'px' : sectionproperties.header_borderTopLeftRadius + 'px',
|
|
98
94
|
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
99
95
|
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
100
96
|
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
101
97
|
paddingBottom: sectionproperties.header_paddingBottom + 'px',
|
|
98
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
102
99
|
}),
|
|
103
100
|
header_logo: css({
|
|
104
101
|
width: templateproperties_context.logo_width + 'px',
|