tabexseriescomponents 0.0.392 → 0.0.394
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 +152 -138
- package/dist/index.esm.js +152 -138
- package/dist/index.umd.js +152 -138
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1585,11 +1585,12 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1585
1585
|
}
|
|
1586
1586
|
},
|
|
1587
1587
|
style: {
|
|
1588
|
-
backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
1588
|
+
backgroundColor: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null ? sectionproperties.variantcontainer_bgcolor : isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
1589
1589
|
width: 'auto',
|
|
1590
1590
|
height: sectionproperties.variantcontainer_height + 'px',
|
|
1591
1591
|
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
1592
|
-
position: 'relative'
|
|
1592
|
+
position: 'relative',
|
|
1593
|
+
border: isoptionvalueselected == 1 ? '2px solid green' : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
1593
1594
|
}
|
|
1594
1595
|
}, isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1595
1596
|
"class": "m-0 p-0 bg-danger bgdanger-hover",
|
|
@@ -1606,8 +1607,10 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1606
1607
|
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1607
1608
|
className: 'm-0 p-0 allcentered',
|
|
1608
1609
|
style: {
|
|
1609
|
-
|
|
1610
|
-
|
|
1610
|
+
fontWeight: 500,
|
|
1611
|
+
// color: sectionproperties.variantcontainer_color,
|
|
1612
|
+
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
1613
|
+
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? 'green' : sectionproperties.variantcontainer_color
|
|
1611
1614
|
}
|
|
1612
1615
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1613
1616
|
}
|
|
@@ -2286,6 +2289,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2286
2289
|
var routingcountext = props.actions.routingcountext;
|
|
2287
2290
|
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
2288
2291
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
2292
|
+
var variantsku = props.actions.variantsku;
|
|
2289
2293
|
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
2290
2294
|
var variantindexcompleted = props.actions.variantindexcompleted;
|
|
2291
2295
|
props.actions.ProductInfoObj;
|
|
@@ -2417,6 +2421,26 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2417
2421
|
}
|
|
2418
2422
|
settotalprice(totalprice);
|
|
2419
2423
|
}, [variantindexcompleted]);
|
|
2424
|
+
var ProductsSKUContainer = function ProductsSKUContainer() {
|
|
2425
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2426
|
+
"class": "m-0 p-0 d-flex justify-content-start"
|
|
2427
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2428
|
+
style: {
|
|
2429
|
+
color: sectionproperties.skuColor,
|
|
2430
|
+
fontWeight: sectionproperties.skuFontWeight,
|
|
2431
|
+
fontSize: sectionproperties.skuFontSize + 'px',
|
|
2432
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2433
|
+
}
|
|
2434
|
+
}, langdetect == 'en' ? sectionproperties.skutitleEn : sectionproperties.skutitleAr, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2435
|
+
"class": "ml-1 mr-1",
|
|
2436
|
+
style: {
|
|
2437
|
+
color: '#7e859b',
|
|
2438
|
+
fontWeight: sectionproperties.skuSecondaryFontWeight,
|
|
2439
|
+
fontSize: sectionproperties.skuFontSize + 'px',
|
|
2440
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2441
|
+
}
|
|
2442
|
+
}, sectionproperties.showvariantsku == 'Show' && variantsku != '' ? variantsku : fetchProductInfoQueryContext.data.data.productinfo.sku));
|
|
2443
|
+
};
|
|
2420
2444
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2421
2445
|
className: sectionproperties.card_marginLeft != 0 ? ' row m-0 w-100 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 p-sm-0 ' : ' row m-0 w-100 p-sm-0 ',
|
|
2422
2446
|
style: {
|
|
@@ -2601,7 +2625,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2601
2625
|
size: sectionproperties.favBtnIconfontsize
|
|
2602
2626
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
2603
2627
|
size: sectionproperties.favBtnIconfontsize
|
|
2604
|
-
}))))), sectionproperties.
|
|
2628
|
+
}))))), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.skuposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2629
|
+
"class": 'col-lg-12 p-0 my-3 d-flex justify-content-start'
|
|
2630
|
+
}, ProductsSKUContainer()), sectionproperties.descriptionposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2605
2631
|
"class": "col-lg-12 p-0"
|
|
2606
2632
|
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
2607
2633
|
actions: props.actions,
|
|
@@ -2617,26 +2643,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2617
2643
|
style: {
|
|
2618
2644
|
fontWeight: 600
|
|
2619
2645
|
}
|
|
2620
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.vendorinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2646
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.vendorinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.skuposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2621
2647
|
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
2622
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
2623
|
-
"class": "m-0 p-0 d-flex justify-content-start"
|
|
2624
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2625
|
-
style: {
|
|
2626
|
-
color: sectionproperties.skuColor,
|
|
2627
|
-
fontWeight: sectionproperties.skuFontWeight,
|
|
2628
|
-
fontSize: sectionproperties.skuFontSize + 'px',
|
|
2629
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2630
|
-
}
|
|
2631
|
-
}, langdetect == 'en' ? sectionproperties.skutitleEn : sectionproperties.skutitleAr, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2632
|
-
"class": "ml-1 mr-1",
|
|
2633
|
-
style: {
|
|
2634
|
-
color: '#7e859b',
|
|
2635
|
-
fontWeight: sectionproperties.skuSecondaryFontWeight,
|
|
2636
|
-
fontSize: sectionproperties.skuFontSize + 'px',
|
|
2637
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2638
|
-
}
|
|
2639
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.sku))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.quantavailtype) == 'limit' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2648
|
+
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.quantavailtype) == 'limit' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2640
2649
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
2641
2650
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2642
2651
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
@@ -4715,43 +4724,47 @@ var Productinfo = function Productinfo(props) {
|
|
|
4715
4724
|
var setCurrentPageIdContext = props.actions.setCurrentPageIdContext;
|
|
4716
4725
|
var NotificationManager = props.actions.NotificationManager;
|
|
4717
4726
|
var productidparam = props.productidparam;
|
|
4718
|
-
var _useState5 = React.useState(
|
|
4727
|
+
var _useState5 = React.useState(''),
|
|
4719
4728
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
var _useState7 = React.useState(
|
|
4729
|
+
variantsku = _useState6[0],
|
|
4730
|
+
setvariantsku = _useState6[1];
|
|
4731
|
+
var _useState7 = React.useState(false),
|
|
4723
4732
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
4724
|
-
|
|
4725
|
-
|
|
4733
|
+
isoutofstock = _useState8[0],
|
|
4734
|
+
setisoutofstock = _useState8[1];
|
|
4726
4735
|
var _useState9 = React.useState(''),
|
|
4727
|
-
_useState10 = _slicedToArray__default["default"](_useState9, 2)
|
|
4728
|
-
_useState10[0]
|
|
4729
|
-
|
|
4736
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
4737
|
+
sectionproperties = _useState10[0],
|
|
4738
|
+
setsectionproperties = _useState10[1];
|
|
4730
4739
|
var _useState11 = React.useState(''),
|
|
4731
4740
|
_useState12 = _slicedToArray__default["default"](_useState11, 2);
|
|
4732
4741
|
_useState12[0];
|
|
4733
|
-
var
|
|
4734
|
-
var _useState13 = React.useState('
|
|
4742
|
+
var setCurrentPageId = _useState12[1];
|
|
4743
|
+
var _useState13 = React.useState(''),
|
|
4735
4744
|
_useState14 = _slicedToArray__default["default"](_useState13, 2);
|
|
4736
4745
|
_useState14[0];
|
|
4737
|
-
_useState14[1];
|
|
4738
|
-
var _useState15 = React.useState(
|
|
4746
|
+
var setRelatedProductsTagid = _useState14[1];
|
|
4747
|
+
var _useState15 = React.useState('all'),
|
|
4739
4748
|
_useState16 = _slicedToArray__default["default"](_useState15, 2);
|
|
4740
4749
|
_useState16[0];
|
|
4741
4750
|
_useState16[1];
|
|
4742
4751
|
var _useState17 = React.useState([]),
|
|
4743
|
-
_useState18 = _slicedToArray__default["default"](_useState17, 2)
|
|
4744
|
-
|
|
4745
|
-
|
|
4752
|
+
_useState18 = _slicedToArray__default["default"](_useState17, 2);
|
|
4753
|
+
_useState18[0];
|
|
4754
|
+
_useState18[1];
|
|
4746
4755
|
var _useState19 = React.useState([]),
|
|
4747
4756
|
_useState20 = _slicedToArray__default["default"](_useState19, 2),
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
var _useState21 = React.useState(
|
|
4757
|
+
Relatedproducts = _useState20[0],
|
|
4758
|
+
setRelatedproducts = _useState20[1];
|
|
4759
|
+
var _useState21 = React.useState([]),
|
|
4751
4760
|
_useState22 = _slicedToArray__default["default"](_useState21, 2),
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
var _useState23 = React.useState(
|
|
4761
|
+
productimagesarray = _useState22[0],
|
|
4762
|
+
setproductimagesarray = _useState22[1];
|
|
4763
|
+
var _useState23 = React.useState(null),
|
|
4764
|
+
_useState24 = _slicedToArray__default["default"](_useState23, 2),
|
|
4765
|
+
quantityconditionfoundobj = _useState24[0],
|
|
4766
|
+
setquantityconditionfoundobj = _useState24[1];
|
|
4767
|
+
var _useState25 = React.useState({
|
|
4755
4768
|
functype: 'add',
|
|
4756
4769
|
item_type: 'product',
|
|
4757
4770
|
productid: '',
|
|
@@ -4763,41 +4776,41 @@ var Productinfo = function Productinfo(props) {
|
|
|
4763
4776
|
to: '',
|
|
4764
4777
|
extrafields: []
|
|
4765
4778
|
}),
|
|
4766
|
-
_useState24 = _slicedToArray__default["default"](_useState23, 2),
|
|
4767
|
-
addtocardpayloadobj = _useState24[0],
|
|
4768
|
-
setaddtocardpayloadobj = _useState24[1];
|
|
4769
|
-
var _useState25 = React.useState(''),
|
|
4770
4779
|
_useState26 = _slicedToArray__default["default"](_useState25, 2),
|
|
4771
|
-
|
|
4772
|
-
|
|
4780
|
+
addtocardpayloadobj = _useState26[0],
|
|
4781
|
+
setaddtocardpayloadobj = _useState26[1];
|
|
4773
4782
|
var _useState27 = React.useState(''),
|
|
4774
4783
|
_useState28 = _slicedToArray__default["default"](_useState27, 2),
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
var _useState29 = React.useState(
|
|
4784
|
+
variantindexcompleted = _useState28[0],
|
|
4785
|
+
setvariantindexcompleted = _useState28[1];
|
|
4786
|
+
var _useState29 = React.useState(''),
|
|
4778
4787
|
_useState30 = _slicedToArray__default["default"](_useState29, 2),
|
|
4779
|
-
|
|
4780
|
-
|
|
4788
|
+
variantindex = _useState30[0],
|
|
4789
|
+
setvariantindex = _useState30[1];
|
|
4781
4790
|
var _useState31 = React.useState(false),
|
|
4782
|
-
_useState32 = _slicedToArray__default["default"](_useState31, 2)
|
|
4783
|
-
_useState32[0]
|
|
4784
|
-
_useState32[1];
|
|
4785
|
-
var _useState33 = React.useState(
|
|
4786
|
-
_useState34 = _slicedToArray__default["default"](_useState33, 2)
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
var _useState35 = React.useState(
|
|
4791
|
+
_useState32 = _slicedToArray__default["default"](_useState31, 2),
|
|
4792
|
+
isloaded = _useState32[0],
|
|
4793
|
+
setisloaded = _useState32[1];
|
|
4794
|
+
var _useState33 = React.useState(false),
|
|
4795
|
+
_useState34 = _slicedToArray__default["default"](_useState33, 2);
|
|
4796
|
+
_useState34[0];
|
|
4797
|
+
_useState34[1];
|
|
4798
|
+
var _useState35 = React.useState(0),
|
|
4790
4799
|
_useState36 = _slicedToArray__default["default"](_useState35, 2),
|
|
4791
|
-
|
|
4792
|
-
|
|
4800
|
+
currentshowingimageindex = _useState36[0],
|
|
4801
|
+
setcurrentshowingimageindex = _useState36[1];
|
|
4793
4802
|
var _useState37 = React.useState(''),
|
|
4794
4803
|
_useState38 = _slicedToArray__default["default"](_useState37, 2),
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
var _useState39 = React.useState(
|
|
4804
|
+
tabIndex = _useState38[0],
|
|
4805
|
+
setTabIndex = _useState38[1];
|
|
4806
|
+
var _useState39 = React.useState(''),
|
|
4798
4807
|
_useState40 = _slicedToArray__default["default"](_useState39, 2),
|
|
4799
|
-
|
|
4800
|
-
|
|
4808
|
+
tabname = _useState40[0],
|
|
4809
|
+
settabname = _useState40[1];
|
|
4810
|
+
var _useState41 = React.useState([]),
|
|
4811
|
+
_useState42 = _slicedToArray__default["default"](_useState41, 2),
|
|
4812
|
+
productVideos = _useState42[0],
|
|
4813
|
+
setproductVideos = _useState42[1];
|
|
4801
4814
|
var handleTabChange = function handleTabChange(event, newTabIndex) {
|
|
4802
4815
|
setTabIndex(newTabIndex);
|
|
4803
4816
|
};
|
|
@@ -5087,6 +5100,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
5087
5100
|
} else {
|
|
5088
5101
|
setisoutofstock(false);
|
|
5089
5102
|
}
|
|
5103
|
+
setvariantsku(variantobj === null || variantobj === void 0 ? void 0 : variantobj.sku);
|
|
5104
|
+
// alert(variantsku);
|
|
5090
5105
|
setcurrentshowingimageindex(variantimageindex);
|
|
5091
5106
|
setaddtocardpayloadobj(_objectSpread$2m({}, tempaddtocardpayloadobj));
|
|
5092
5107
|
setvariantindexcompleted(ProductVariantIndex);
|
|
@@ -6023,9 +6038,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
6023
6038
|
langdetect: langdetect,
|
|
6024
6039
|
lang: lang,
|
|
6025
6040
|
srcfromprops: props.srcfromprops
|
|
6026
|
-
}, _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), _ref)
|
|
6041
|
+
}, _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)
|
|
6027
6042
|
}), fetchProductInfoQueryContext.data.data.productinfo.item_type == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
|
|
6028
6043
|
actions: (_ref2 = {
|
|
6044
|
+
variantsku: variantsku,
|
|
6029
6045
|
setisoutofstock: setisoutofstock,
|
|
6030
6046
|
isoutofstock: isoutofstock,
|
|
6031
6047
|
returnpolicyobj: returnpolicyobj,
|
|
@@ -6038,7 +6054,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
6038
6054
|
style: {
|
|
6039
6055
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
6040
6056
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
6041
|
-
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.gallerystyle == 'Style 2' ? 'none' : 'flex'
|
|
6057
|
+
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.gallerystyle == 'Style 2' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' ? 'none' : 'flex'
|
|
6042
6058
|
}
|
|
6043
6059
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6044
6060
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
@@ -9283,7 +9299,7 @@ var Checkout = function Checkout(props) {
|
|
|
9283
9299
|
width: "20px",
|
|
9284
9300
|
height: "20px",
|
|
9285
9301
|
duration: "1s"
|
|
9286
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue54 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue54 === void 0 || (_fetchcustomercartQue54 = _fetchcustomercartQue54.data) === null || _fetchcustomercartQue54 === void 0 ? void 0 : _fetchcustomercartQue54.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''
|
|
9302
|
+
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue54 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue54 === void 0 || (_fetchcustomercartQue54 = _fetchcustomercartQue54.data) === null || _fetchcustomercartQue54 === void 0 ? void 0 : _fetchcustomercartQue54.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''))))));
|
|
9287
9303
|
};
|
|
9288
9304
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9289
9305
|
className: 'row m-0 w-100 d-flex justify-content-center p-sm-0 '
|
|
@@ -17396,7 +17412,7 @@ var MarqueeHeader = function MarqueeHeader(props) {
|
|
|
17396
17412
|
})
|
|
17397
17413
|
};
|
|
17398
17414
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17399
|
-
"class": "col-lg-12 px-0 d-flex align-items-center",
|
|
17415
|
+
"class": "col-lg-12 px-0 d-flex align-items-center px-md-4",
|
|
17400
17416
|
style: {
|
|
17401
17417
|
background: templateproperties_context.textsliderbgcolor,
|
|
17402
17418
|
paddingTop: templateproperties_context.paddinghorizontal + 'px',
|
|
@@ -17422,7 +17438,7 @@ styleInject(css_248z$B);
|
|
|
17422
17438
|
function ownKeys$1Z(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
17423
17439
|
function _objectSpread$1Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17424
17440
|
var Subheader = function Subheader(props) {
|
|
17425
|
-
var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _templatepropcontext$, _fetchCategoriesQuery2, _authdetailsContext$i, _props$
|
|
17441
|
+
var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _props$subheaderprope4, _templatepropcontext$, _fetchCategoriesQuery2, _authdetailsContext$i, _props$subheaderprope13, _templatepropcontext$2, _props$subheaderprope16, _props$subheaderprope17, _templatepropcontext$3, _fetchCategoriesQuery3, _authdetailsContext$i2, _fetchCategoriesQuery4, _authdetailsContext$i3, _fetchCategoriesQuery5, _props$subheaderprope32, _props$subheaderprope33, _props$subheaderprope34, _props$subheaderprope35, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _fetchCategoriesQuery9;
|
|
17426
17442
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
17427
17443
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
17428
17444
|
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
@@ -17563,11 +17579,12 @@ var Subheader = function Subheader(props) {
|
|
|
17563
17579
|
"class": "".concat(headerstyles$f.nav__item) + ' scrollhorizontal flex-row align-items-center w-100 justify-content-md-center ',
|
|
17564
17580
|
style: {
|
|
17565
17581
|
zIndex: 1000,
|
|
17566
|
-
justifyContent: ((_props$subheaderprope2 = props.subheaderpropertiesprops) === null || _props$subheaderprope2 === void 0 ? void 0 : _props$subheaderprope2.subheadercontentpositionprops) == 'center' ? 'center' : 'start'
|
|
17582
|
+
justifyContent: ((_props$subheaderprope2 = props.subheaderpropertiesprops) === null || _props$subheaderprope2 === void 0 ? void 0 : _props$subheaderprope2.subheadercontentpositionprops) == 'center' ? 'center' : 'start',
|
|
17583
|
+
display: (props === null || props === void 0 || (_props$subheaderprope3 = props.subheaderpropertiesprops) === null || _props$subheaderprope3 === void 0 ? void 0 : _props$subheaderprope3.srcfromprops) == 'elegantheader' ? 'block' : 'flex'
|
|
17567
17584
|
}
|
|
17568
|
-
}, (props === null || props === void 0 || (_props$
|
|
17585
|
+
}, (props === null || props === void 0 || (_props$subheaderprope4 = props.subheaderpropertiesprops) === null || _props$subheaderprope4 === void 0 ? void 0 : _props$subheaderprope4.subheaderpositionprops) == 'in nav' && sectionproperties.showheaderpages == 'Show' && (templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
|
|
17569
17586
|
if (item.isnavigation == 1 && item.isactive == 1 && item.pageorderindex == 0) {
|
|
17570
|
-
var _props$
|
|
17587
|
+
var _props$subheaderprope5, _props$subheaderprope6;
|
|
17571
17588
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17572
17589
|
onClick: function onClick() {
|
|
17573
17590
|
routingcountext(item.navigationroute);
|
|
@@ -17578,8 +17595,8 @@ var Subheader = function Subheader(props) {
|
|
|
17578
17595
|
},
|
|
17579
17596
|
"class": "scrollhorizontalcard mb-0 pb-0",
|
|
17580
17597
|
style: {
|
|
17581
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
17582
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
17598
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope5 = props.subheaderpropertiesprops) === null || _props$subheaderprope5 === void 0 ? void 0 : _props$subheaderprope5.paddingLeftprops,
|
|
17599
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope6 = props.subheaderpropertiesprops) === null || _props$subheaderprope6 === void 0 ? void 0 : _props$subheaderprope6.paddingLeftprops
|
|
17583
17600
|
}
|
|
17584
17601
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17585
17602
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 '
|
|
@@ -17587,7 +17604,7 @@ var Subheader = function Subheader(props) {
|
|
|
17587
17604
|
}
|
|
17588
17605
|
})), sectionproperties.subheaderParentType == 'Categories' && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery2 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery2 === void 0 || (_fetchCategoriesQuery2 = _fetchCategoriesQuery2.data) === null || _fetchCategoriesQuery2 === void 0 ? void 0 : _fetchCategoriesQuery2.categories.map(function (item, index) {
|
|
17589
17606
|
if (item.isshowntocustomers == 1) {
|
|
17590
|
-
var _props$
|
|
17607
|
+
var _props$subheaderprope7, _props$subheaderprope8;
|
|
17591
17608
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17592
17609
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
17593
17610
|
onClick: function onClick() {
|
|
@@ -17598,14 +17615,14 @@ var Subheader = function Subheader(props) {
|
|
|
17598
17615
|
setChoosenindex(index);
|
|
17599
17616
|
},
|
|
17600
17617
|
style: {
|
|
17601
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
17602
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
17618
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope7 = props.subheaderpropertiesprops) === null || _props$subheaderprope7 === void 0 ? void 0 : _props$subheaderprope7.paddingLeftprops,
|
|
17619
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope8 = props.subheaderpropertiesprops) === null || _props$subheaderprope8 === void 0 ? void 0 : _props$subheaderprope8.paddingLeftprops
|
|
17603
17620
|
}
|
|
17604
17621
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
17605
17622
|
}
|
|
17606
17623
|
})), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray.map(function (item, index) {
|
|
17607
17624
|
if (item.isshowntocustomers == 1) {
|
|
17608
|
-
var _props$
|
|
17625
|
+
var _props$subheaderprope9, _props$subheaderprope10;
|
|
17609
17626
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17610
17627
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
17611
17628
|
onClick: function onClick() {
|
|
@@ -17616,30 +17633,30 @@ var Subheader = function Subheader(props) {
|
|
|
17616
17633
|
setChoosenindex(index);
|
|
17617
17634
|
},
|
|
17618
17635
|
style: {
|
|
17619
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
17620
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
17636
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.paddingLeftprops,
|
|
17637
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope10 = props.subheaderpropertiesprops) === null || _props$subheaderprope10 === void 0 ? void 0 : _props$subheaderprope10.paddingLeftprops,
|
|
17621
17638
|
position: sectionproperties.subheaderstyle == 'Style 2' ? 'relative' : ''
|
|
17622
17639
|
}
|
|
17623
17640
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
17624
17641
|
}
|
|
17625
17642
|
}), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instcollections) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.map(function (item, index) {
|
|
17626
17643
|
if (item.isshowntocustomers == 1) {
|
|
17627
|
-
var _props$
|
|
17644
|
+
var _props$subheaderprope11, _props$subheaderprope12;
|
|
17628
17645
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17629
17646
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
17630
17647
|
onClick: function onClick() {
|
|
17631
17648
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
17632
17649
|
},
|
|
17633
17650
|
style: {
|
|
17634
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
17635
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
17651
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope11 = props.subheaderpropertiesprops) === null || _props$subheaderprope11 === void 0 ? void 0 : _props$subheaderprope11.paddingLeftprops,
|
|
17652
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope12 = props.subheaderpropertiesprops) === null || _props$subheaderprope12 === void 0 ? void 0 : _props$subheaderprope12.paddingLeftprops,
|
|
17636
17653
|
position: sectionproperties.subheaderstyle == 'Style 2' ? 'relative' : ''
|
|
17637
17654
|
}
|
|
17638
17655
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
17639
17656
|
}
|
|
17640
|
-
})), (props === null || props === void 0 || (_props$
|
|
17657
|
+
})), (props === null || props === void 0 || (_props$subheaderprope13 = props.subheaderpropertiesprops) === null || _props$subheaderprope13 === void 0 ? void 0 : _props$subheaderprope13.subheaderpositionprops) == 'in nav' && sectionproperties.showheaderpages == 'Show' && (templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$2 = templatepropcontext.pagesnprop) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.map(function (item, index) {
|
|
17641
17658
|
if (item.isnavigation == 1 && item.isactive == 1 && item.pageorderindex > 0) {
|
|
17642
|
-
var _props$
|
|
17659
|
+
var _props$subheaderprope14, _props$subheaderprope15;
|
|
17643
17660
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17644
17661
|
onClick: function onClick() {
|
|
17645
17662
|
routingcountext(item.navigationroute);
|
|
@@ -17650,8 +17667,8 @@ var Subheader = function Subheader(props) {
|
|
|
17650
17667
|
},
|
|
17651
17668
|
"class": "scrollhorizontalcard",
|
|
17652
17669
|
style: {
|
|
17653
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
17654
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
17670
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope14 = props.subheaderpropertiesprops) === null || _props$subheaderprope14 === void 0 ? void 0 : _props$subheaderprope14.paddingLeftprops,
|
|
17671
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope15 = props.subheaderpropertiesprops) === null || _props$subheaderprope15 === void 0 ? void 0 : _props$subheaderprope15.paddingLeftprops
|
|
17655
17672
|
}
|
|
17656
17673
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17657
17674
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 '
|
|
@@ -17661,11 +17678,11 @@ var Subheader = function Subheader(props) {
|
|
|
17661
17678
|
"class": "".concat(headerstyles$f.nav__item) + ' scrollhorizontal flex-row align-items-center w-100 justify-content-md-center ',
|
|
17662
17679
|
style: {
|
|
17663
17680
|
zIndex: 1000,
|
|
17664
|
-
justifyContent: ((_props$
|
|
17681
|
+
justifyContent: ((_props$subheaderprope16 = props.subheaderpropertiesprops) === null || _props$subheaderprope16 === void 0 ? void 0 : _props$subheaderprope16.subheadercontentpositionprops) == 'center' ? 'center' : 'start'
|
|
17665
17682
|
}
|
|
17666
|
-
}, (props === null || props === void 0 || (_props$
|
|
17683
|
+
}, (props === null || props === void 0 || (_props$subheaderprope17 = props.subheaderpropertiesprops) === null || _props$subheaderprope17 === void 0 ? void 0 : _props$subheaderprope17.subheaderpositionprops) == 'in nav' && sectionproperties.showheaderpages == 'Show' && (templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$3 = templatepropcontext.pagesnprop) === null || _templatepropcontext$3 === void 0 ? void 0 : _templatepropcontext$3.map(function (item, index) {
|
|
17667
17684
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
17668
|
-
var _props$
|
|
17685
|
+
var _props$subheaderprope18, _props$subheaderprope19;
|
|
17669
17686
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17670
17687
|
onClick: function onClick() {
|
|
17671
17688
|
routingcountext(item.navigationroute);
|
|
@@ -17676,8 +17693,8 @@ var Subheader = function Subheader(props) {
|
|
|
17676
17693
|
},
|
|
17677
17694
|
"class": "scrollhorizontalcard",
|
|
17678
17695
|
style: {
|
|
17679
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
17680
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
17696
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope18 = props.subheaderpropertiesprops) === null || _props$subheaderprope18 === void 0 ? void 0 : _props$subheaderprope18.paddingLeftprops,
|
|
17697
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope19 = props.subheaderpropertiesprops) === null || _props$subheaderprope19 === void 0 ? void 0 : _props$subheaderprope19.paddingLeftprops
|
|
17681
17698
|
}
|
|
17682
17699
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17683
17700
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 '
|
|
@@ -17685,7 +17702,7 @@ var Subheader = function Subheader(props) {
|
|
|
17685
17702
|
}
|
|
17686
17703
|
})), sectionproperties.subheaderParentType == 'Categories' && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery3 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery3 === void 0 || (_fetchCategoriesQuery3 = _fetchCategoriesQuery3.data) === null || _fetchCategoriesQuery3 === void 0 ? void 0 : _fetchCategoriesQuery3.categories.map(function (item, index) {
|
|
17687
17704
|
if (item.isshowntocustomers == 1) {
|
|
17688
|
-
var _props$
|
|
17705
|
+
var _props$subheaderprope20, _props$subheaderprope21;
|
|
17689
17706
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17690
17707
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
17691
17708
|
onClick: function onClick() {
|
|
@@ -17696,14 +17713,14 @@ var Subheader = function Subheader(props) {
|
|
|
17696
17713
|
setChoosenindex(index);
|
|
17697
17714
|
},
|
|
17698
17715
|
style: {
|
|
17699
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
17700
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
17716
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope20 = props.subheaderpropertiesprops) === null || _props$subheaderprope20 === void 0 ? void 0 : _props$subheaderprope20.paddingLeftprops,
|
|
17717
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope21 = props.subheaderpropertiesprops) === null || _props$subheaderprope21 === void 0 ? void 0 : _props$subheaderprope21.paddingLeftprops
|
|
17701
17718
|
}
|
|
17702
17719
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
17703
17720
|
}
|
|
17704
17721
|
})), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray.map(function (item, index) {
|
|
17705
17722
|
if (item.isshowntocustomers == 1) {
|
|
17706
|
-
var _props$
|
|
17723
|
+
var _props$subheaderprope22, _props$subheaderprope23;
|
|
17707
17724
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17708
17725
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
17709
17726
|
onClick: function onClick() {
|
|
@@ -17714,22 +17731,22 @@ var Subheader = function Subheader(props) {
|
|
|
17714
17731
|
setChoosenindex(index);
|
|
17715
17732
|
},
|
|
17716
17733
|
style: {
|
|
17717
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
17718
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
17734
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope22 = props.subheaderpropertiesprops) === null || _props$subheaderprope22 === void 0 ? void 0 : _props$subheaderprope22.paddingLeftprops,
|
|
17735
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope23 = props.subheaderpropertiesprops) === null || _props$subheaderprope23 === void 0 ? void 0 : _props$subheaderprope23.paddingLeftprops
|
|
17719
17736
|
}
|
|
17720
17737
|
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
17721
17738
|
}
|
|
17722
17739
|
}), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcollections) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.map(function (item, index) {
|
|
17723
17740
|
if (item.isshowntocustomers == 1) {
|
|
17724
|
-
var _props$
|
|
17741
|
+
var _props$subheaderprope24, _props$subheaderprope25;
|
|
17725
17742
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17726
17743
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
17727
17744
|
onClick: function onClick() {
|
|
17728
17745
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
17729
17746
|
},
|
|
17730
17747
|
style: {
|
|
17731
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
17732
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
17748
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope24 = props.subheaderpropertiesprops) === null || _props$subheaderprope24 === void 0 ? void 0 : _props$subheaderprope24.paddingLeftprops,
|
|
17749
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope25 = props.subheaderpropertiesprops) === null || _props$subheaderprope25 === void 0 ? void 0 : _props$subheaderprope25.paddingLeftprops,
|
|
17733
17750
|
color: sectionproperties.subheader_categorytitle_fontColor_resp,
|
|
17734
17751
|
fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
|
|
17735
17752
|
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
@@ -17757,7 +17774,7 @@ var Subheader = function Subheader(props) {
|
|
|
17757
17774
|
}
|
|
17758
17775
|
}, sectionproperties.subheaderParentType == 'Categories' && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery4 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery4 === void 0 || (_fetchCategoriesQuery4 = _fetchCategoriesQuery4.data) === null || _fetchCategoriesQuery4 === void 0 ? void 0 : _fetchCategoriesQuery4.categories.map(function (item, index) {
|
|
17759
17776
|
if (item.isshowntocustomers == 1) {
|
|
17760
|
-
var _props$
|
|
17777
|
+
var _props$subheaderprope26, _props$subheaderprope27;
|
|
17761
17778
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17762
17779
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
17763
17780
|
onClick: function onClick() {
|
|
@@ -17768,8 +17785,8 @@ var Subheader = function Subheader(props) {
|
|
|
17768
17785
|
setChoosenindex(index);
|
|
17769
17786
|
},
|
|
17770
17787
|
style: {
|
|
17771
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
17772
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
17788
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope26 = props.subheaderpropertiesprops) === null || _props$subheaderprope26 === void 0 ? void 0 : _props$subheaderprope26.paddingLeftprops,
|
|
17789
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope27 = props.subheaderpropertiesprops) === null || _props$subheaderprope27 === void 0 ? void 0 : _props$subheaderprope27.paddingLeftprops,
|
|
17773
17790
|
color: sectionproperties.subheader_categorytitle_fontColor_resp,
|
|
17774
17791
|
fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
|
|
17775
17792
|
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
@@ -17779,7 +17796,7 @@ var Subheader = function Subheader(props) {
|
|
|
17779
17796
|
}
|
|
17780
17797
|
})), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray.map(function (item, index) {
|
|
17781
17798
|
if (item.isshowntocustomers == 1) {
|
|
17782
|
-
var _props$
|
|
17799
|
+
var _props$subheaderprope28, _props$subheaderprope29;
|
|
17783
17800
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17784
17801
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
17785
17802
|
onClick: function onClick() {
|
|
@@ -17790,8 +17807,8 @@ var Subheader = function Subheader(props) {
|
|
|
17790
17807
|
setChoosenindex(index);
|
|
17791
17808
|
},
|
|
17792
17809
|
style: {
|
|
17793
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
17794
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
17810
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope28 = props.subheaderpropertiesprops) === null || _props$subheaderprope28 === void 0 ? void 0 : _props$subheaderprope28.paddingLeftprops,
|
|
17811
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope29 = props.subheaderpropertiesprops) === null || _props$subheaderprope29 === void 0 ? void 0 : _props$subheaderprope29.paddingLeftprops,
|
|
17795
17812
|
color: sectionproperties.subheader_categorytitle_fontColor_resp,
|
|
17796
17813
|
fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
|
|
17797
17814
|
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
@@ -17801,15 +17818,15 @@ var Subheader = function Subheader(props) {
|
|
|
17801
17818
|
}
|
|
17802
17819
|
}), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcollections) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
|
|
17803
17820
|
if (item.isshowntocustomers == 1) {
|
|
17804
|
-
var _props$
|
|
17821
|
+
var _props$subheaderprope30, _props$subheaderprope31;
|
|
17805
17822
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17806
17823
|
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
17807
17824
|
onClick: function onClick() {
|
|
17808
17825
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
17809
17826
|
},
|
|
17810
17827
|
style: {
|
|
17811
|
-
marginLeft: props === null || props === void 0 || (_props$
|
|
17812
|
-
marginRight: props === null || props === void 0 || (_props$
|
|
17828
|
+
marginLeft: props === null || props === void 0 || (_props$subheaderprope30 = props.subheaderpropertiesprops) === null || _props$subheaderprope30 === void 0 ? void 0 : _props$subheaderprope30.paddingLeftprops,
|
|
17829
|
+
marginRight: props === null || props === void 0 || (_props$subheaderprope31 = props.subheaderpropertiesprops) === null || _props$subheaderprope31 === void 0 ? void 0 : _props$subheaderprope31.paddingLeftprops,
|
|
17813
17830
|
color: sectionproperties.subheader_categorytitle_fontColor_resp,
|
|
17814
17831
|
fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
|
|
17815
17832
|
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
@@ -17826,8 +17843,8 @@ var Subheader = function Subheader(props) {
|
|
|
17826
17843
|
style: {
|
|
17827
17844
|
width: sectionproperties.subheader_width + '%',
|
|
17828
17845
|
zIndex: 2000,
|
|
17829
|
-
position: ((_props$
|
|
17830
|
-
top: ((_props$
|
|
17846
|
+
position: ((_props$subheaderprope32 = props.subheaderpropertiesprops) === null || _props$subheaderprope32 === void 0 ? void 0 : _props$subheaderprope32.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
|
|
17847
|
+
top: ((_props$subheaderprope33 = props.subheaderpropertiesprops) === null || _props$subheaderprope33 === void 0 ? void 0 : _props$subheaderprope33.headernameprops) == 'Stylish Header' && ((_props$subheaderprope34 = props.subheaderpropertiesprops) === null || _props$subheaderprope34 === void 0 ? void 0 : _props$subheaderprope34.subheaderpositionprops) == 'in nav' ? 50 : ((_props$subheaderprope35 = props.subheaderpropertiesprops) === null || _props$subheaderprope35 === void 0 ? void 0 : _props$subheaderprope35.subheaderpositionprops) == 'in nav' ? 30 : '',
|
|
17831
17848
|
// border:
|
|
17832
17849
|
// sectionproperties.subheader_width != 100
|
|
17833
17850
|
// ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor
|
|
@@ -17854,9 +17871,9 @@ var Subheader = function Subheader(props) {
|
|
|
17854
17871
|
"class": "font-16 font-weight-500 m-0 p-0"
|
|
17855
17872
|
}, langdetect == 'en' ? 'No collections' : 'لا توجد مجموعات')), sectionproperties.subheaderParentType == 'Categories' && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery7 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery7 === void 0 || (_fetchCategoriesQuery7 = _fetchCategoriesQuery7.data) === null || _fetchCategoriesQuery7 === void 0 || (_fetchCategoriesQuery7 = _fetchCategoriesQuery7.categories[Choosenindex]) === null || _fetchCategoriesQuery7 === void 0 ? void 0 : _fetchCategoriesQuery7.parentcolletions.map(function (item, index) {
|
|
17856
17873
|
if (item.isshowntocustomers == 1) {
|
|
17857
|
-
var _fetchCategoriesQuery8, _props$
|
|
17874
|
+
var _fetchCategoriesQuery8, _props$subheaderprope36, _props$subheaderprope37;
|
|
17858
17875
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17859
|
-
"class": (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery8 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery8 === void 0 || (_fetchCategoriesQuery8 = _fetchCategoriesQuery8.data) === null || _fetchCategoriesQuery8 === void 0 || (_fetchCategoriesQuery8 = _fetchCategoriesQuery8.categories[Choosenindex]) === null || _fetchCategoriesQuery8 === void 0 ? void 0 : _fetchCategoriesQuery8.parentcolletions.length) >= 5 ? 'col-lg-2 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4' : ((_props$
|
|
17876
|
+
"class": (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery8 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery8 === void 0 || (_fetchCategoriesQuery8 = _fetchCategoriesQuery8.data) === null || _fetchCategoriesQuery8 === void 0 || (_fetchCategoriesQuery8 = _fetchCategoriesQuery8.categories[Choosenindex]) === null || _fetchCategoriesQuery8 === void 0 ? void 0 : _fetchCategoriesQuery8.parentcolletions.length) >= 5 ? 'col-lg-2 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4' : ((_props$subheaderprope36 = props.subheaderpropertiesprops) === null || _props$subheaderprope36 === void 0 ? void 0 : _props$subheaderprope36.numofcolsinlistprops) != undefined ? ' pl-2 pr-2 col-md-6 col-sm-12 mb-md-4 col-lg-' + ((_props$subheaderprope37 = props.subheaderpropertiesprops) === null || _props$subheaderprope37 === void 0 ? void 0 : _props$subheaderprope37.numofcolsinlistprops) : 'col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4',
|
|
17860
17877
|
style: {
|
|
17861
17878
|
cursor: 'pointer'
|
|
17862
17879
|
}
|
|
@@ -20274,13 +20291,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
20274
20291
|
style: {
|
|
20275
20292
|
position: 'relative'
|
|
20276
20293
|
}
|
|
20277
|
-
},
|
|
20278
|
-
"class": "col-lg-12 p-0"
|
|
20279
|
-
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
20280
|
-
sectionpropertiesprops: sectionproperties,
|
|
20281
|
-
templateproperties_contextprops: templateproperties_context,
|
|
20282
|
-
actions: actions
|
|
20283
|
-
})), sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
20294
|
+
}, sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
20284
20295
|
href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber),
|
|
20285
20296
|
target: '_blank',
|
|
20286
20297
|
style: {
|
|
@@ -20508,9 +20519,10 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
20508
20519
|
actions: actions,
|
|
20509
20520
|
subheaderpropertiesprops: {
|
|
20510
20521
|
subheaderpositionprops: 'in nav',
|
|
20511
|
-
paddingLeftprops: '
|
|
20512
|
-
paddingRightprops: '
|
|
20513
|
-
subheadercontentpositionprops: 'center'
|
|
20522
|
+
paddingLeftprops: '15px',
|
|
20523
|
+
paddingRightprops: '15px',
|
|
20524
|
+
subheadercontentpositionprops: 'center',
|
|
20525
|
+
srcfromprops: 'elegentheader'
|
|
20514
20526
|
}
|
|
20515
20527
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
20516
20528
|
"class": "col-xl-2 col-lg-1 col-md-6 col-sm-12 p-0 d-flex align-items-center justify-content-end"
|
|
@@ -57299,9 +57311,10 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
57299
57311
|
cursor: ((_arrayofobjectimageso = arrayofobjectimagesonly2[0]) === null || _arrayofobjectimageso === void 0 ? void 0 : _arrayofobjectimageso.IsClickableimg) == 'Yes' ? 'pointer' : 'default'
|
|
57300
57312
|
},
|
|
57301
57313
|
onClick: function onClick() {
|
|
57302
|
-
if (arrayofobjectimagesonly2[0].
|
|
57303
|
-
if (arrayofobjectimagesonly2[0].
|
|
57304
|
-
routingcountext(arrayofobjectimagesonly2[0].
|
|
57314
|
+
if (arrayofobjectimagesonly2[0].IsClickableimg == 'Yes') {
|
|
57315
|
+
if (arrayofobjectimagesonly2[0].clickableimg_page_route != undefined && arrayofobjectimagesonly2[0].clickableimg_page_route.length != 0) {
|
|
57316
|
+
// routingcountext(arrayofobjectimagesonly2[0].clickableimg_page_route, false, '');
|
|
57317
|
+
window.open(arrayofobjectimagesonly2[0].clickableimg_page_route, '_blank');
|
|
57305
57318
|
} else {
|
|
57306
57319
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + arrayofobjectimagesonly2[0].Clickableimg_getcoection2);
|
|
57307
57320
|
}
|
|
@@ -57328,9 +57341,10 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
57328
57341
|
cursor: ((_arrayofobjectimageso4 = arrayofobjectimagesonly2[1]) === null || _arrayofobjectimageso4 === void 0 ? void 0 : _arrayofobjectimageso4.IsClickableimg) == 'Yes' ? 'pointer' : 'default'
|
|
57329
57342
|
},
|
|
57330
57343
|
onClick: function onClick() {
|
|
57331
|
-
if (arrayofobjectimagesonly2[1].
|
|
57332
|
-
if (arrayofobjectimagesonly2[1].
|
|
57333
|
-
routingcountext(arrayofobjectimagesonly2[1].
|
|
57344
|
+
if (arrayofobjectimagesonly2[1].IsClickableimg == 'Yes') {
|
|
57345
|
+
if (arrayofobjectimagesonly2[1].clickableimg_page_route != undefined && arrayofobjectimagesonly2[1].clickableimg_page_route.length != 0) {
|
|
57346
|
+
// routingcountext(arrayofobjectimagesonly2[1].clickableimg_page_route, false, '');
|
|
57347
|
+
window.open(arrayofobjectimagesonly2[1].clickableimg_page_route, '_blank');
|
|
57334
57348
|
} else {
|
|
57335
57349
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + arrayofobjectimagesonly2[1].Clickableimg_getcoection2);
|
|
57336
57350
|
}
|