tabexseriescomponents 0.0.580 → 0.0.581
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 +65 -27
- package/dist/index.esm.js +65 -27
- package/dist/index.umd.js +65 -27
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -3643,6 +3643,10 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3643
3643
|
item_type: 'service'
|
|
3644
3644
|
}));
|
|
3645
3645
|
}, [tabsarray]);
|
|
3646
|
+
var today = new Date();
|
|
3647
|
+
today.getFullYear();
|
|
3648
|
+
(today.getMonth() + 1).toString().padStart(2, '0'); // Adding leading zero if necessary
|
|
3649
|
+
today.getDate().toString().padStart(2, '0'); // Adding leading zero if necessary
|
|
3646
3650
|
React.useEffect(function () {
|
|
3647
3651
|
var date1 = new Date(addtocardpayloadobj.from);
|
|
3648
3652
|
var date2 = new Date(addtocardpayloadobj.to);
|
|
@@ -4414,7 +4418,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
4414
4418
|
};
|
|
4415
4419
|
|
|
4416
4420
|
var Service_itemtype = function Service_itemtype(props) {
|
|
4417
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8;
|
|
4421
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8;
|
|
4418
4422
|
var lang = props.actions.lang;
|
|
4419
4423
|
var langdetect = props.actions.langdetect;
|
|
4420
4424
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -4666,12 +4670,23 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4666
4670
|
className: "col-lg-8 col-md-8 col-sm-12 p-0 mb-1 d-none d-sm-flex justify-content-start align-items-center"
|
|
4667
4671
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4668
4672
|
"class": "row m-0 w-100"
|
|
4669
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4673
|
+
}, (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.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4674
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
4675
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4676
|
+
"class": "m-0 p-0",
|
|
4677
|
+
style: {
|
|
4678
|
+
color: '#000'
|
|
4679
|
+
}
|
|
4680
|
+
}, langdetect == 'en' ? sectionproperties.vendortitleen : sectionproperties.vendortitlear, ":", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4681
|
+
style: {
|
|
4682
|
+
fontWeight: 600
|
|
4683
|
+
}
|
|
4684
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.vendorinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.vendorname))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4670
4685
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
4671
4686
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4672
4687
|
"class": "row m-0 w-100"
|
|
4673
4688
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4674
|
-
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4689
|
+
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
|
|
4675
4690
|
}, ProductName()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4676
4691
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
4677
4692
|
}, sectionproperties.btnposition == 'Top' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4702,11 +4717,11 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4702
4717
|
size: sectionproperties.favBtnIconfontsize
|
|
4703
4718
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
4704
4719
|
size: sectionproperties.favBtnIconfontsize
|
|
4705
|
-
}))))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4720
|
+
}))))))), (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 ? void 0 : _fetchProductInfoQuer9.productcanrate) == 1 && sectionproperties.showrating == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4706
4721
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
4707
4722
|
}, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
|
|
4708
4723
|
count: 5,
|
|
4709
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4724
|
+
value: 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.productoverallrate,
|
|
4710
4725
|
edit: false,
|
|
4711
4726
|
size: 18,
|
|
4712
4727
|
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -4726,7 +4741,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4726
4741
|
}),
|
|
4727
4742
|
activeColor: "#ffd700"
|
|
4728
4743
|
})))), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4729
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4744
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (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.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'
|
|
4730
4745
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4731
4746
|
"class": "m-0 p-0 d-flex justify-content-start"
|
|
4732
4747
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
@@ -4746,7 +4761,26 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4746
4761
|
}
|
|
4747
4762
|
}, fetchProductInfoQueryContext.data.data.productinfo.sku))), /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
4748
4763
|
actions: props.actions
|
|
4749
|
-
}), sectionproperties.
|
|
4764
|
+
}), sectionproperties.descriptionstyle == 'Style 1' && sectionproperties.descriptionposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4765
|
+
"class": "col-lg-12 col-md-12 p-md-0 mt-3"
|
|
4766
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4767
|
+
"class": "row m-0 w-100"
|
|
4768
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4769
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
|
|
4770
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4771
|
+
"class": "m-0 p-0",
|
|
4772
|
+
style: {
|
|
4773
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4774
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
4775
|
+
color: sectionproperties.prodCatColor,
|
|
4776
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
4777
|
+
}
|
|
4778
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4779
|
+
"class": "col-lg-12 p-0 mt-3"
|
|
4780
|
+
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
4781
|
+
actions: props.actions,
|
|
4782
|
+
srcfromprops: 'collap'
|
|
4783
|
+
}))), sectionproperties.deliverytimeshow == '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.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4750
4784
|
"class": sectionproperties.gallerystyle == 'Style 2' ? 'mb-4 col-lg-6 d-flex flex-row flex-sm-column allcentered' : 'mb-4 col-lg-12 d-flex flex-row flex-sm-column allcentered',
|
|
4751
4785
|
style: {
|
|
4752
4786
|
width: '100%',
|
|
@@ -4772,11 +4806,11 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4772
4806
|
// textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4773
4807
|
color: sectionproperties.deliverytimecontainercolor
|
|
4774
4808
|
}
|
|
4775
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4809
|
+
}, 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.deliverydatetext)), sectionproperties.showfeatures == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4776
4810
|
"class": "col-lg-12 text-start p-md-0"
|
|
4777
4811
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4778
4812
|
className: "row m-0 w-100"
|
|
4779
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4813
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productfeatures) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.map(function (fitem, findex) {
|
|
4780
4814
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4781
4815
|
"class": "col-lg-4 col-md-12 p-0 mb-3 mt-2"
|
|
4782
4816
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4902,7 +4936,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4902
4936
|
color: sectionproperties.prodCatColor
|
|
4903
4937
|
},
|
|
4904
4938
|
dangerouslySetInnerHTML: {
|
|
4905
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4939
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.short_description_ar
|
|
4906
4940
|
}
|
|
4907
4941
|
})))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4908
4942
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
@@ -5027,7 +5061,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
5027
5061
|
onClick: function onClick() {
|
|
5028
5062
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
5029
5063
|
}
|
|
5030
|
-
},
|
|
5064
|
+
}, langdetect == 'en' ? 'SEE MORE' : 'عرض المزيد')))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showfirstpolicy == 'Show' && sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5031
5065
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
5032
5066
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
5033
5067
|
"class": "m-0"
|
|
@@ -24509,7 +24543,7 @@ var Gotoheader = function Gotoheader(props) {
|
|
|
24509
24543
|
sectionpropertiesprops: sectionproperties,
|
|
24510
24544
|
srcfromprops: 'header-400',
|
|
24511
24545
|
actions: actions
|
|
24512
|
-
})))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], {
|
|
24546
|
+
})))), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], {
|
|
24513
24547
|
style: {
|
|
24514
24548
|
marginLeft: langdetect == 'en' ? '1rem' : '',
|
|
24515
24549
|
marginRight: langdetect == 'ar' ? '1rem' : ''
|
|
@@ -24819,8 +24853,8 @@ var Gotoheader = function Gotoheader(props) {
|
|
|
24819
24853
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24820
24854
|
"class": "".concat(headerstyles$e.topbar_item_container),
|
|
24821
24855
|
style: {
|
|
24822
|
-
marginRight: langdetect == 'en' ? '
|
|
24823
|
-
marginLeft: langdetect == 'en' ? 0 : '
|
|
24856
|
+
marginRight: langdetect == 'en' ? '30px' : 0,
|
|
24857
|
+
marginLeft: langdetect == 'en' ? 0 : '30px'
|
|
24824
24858
|
},
|
|
24825
24859
|
onClick: function onClick() {
|
|
24826
24860
|
// history.push(item.navigationroute);
|
|
@@ -24841,8 +24875,8 @@ var Gotoheader = function Gotoheader(props) {
|
|
|
24841
24875
|
actions: actions,
|
|
24842
24876
|
subheaderpropertiesprops: {
|
|
24843
24877
|
subheaderpositionprops: 'in nav',
|
|
24844
|
-
paddingLeftprops: '
|
|
24845
|
-
paddingRightprops: '
|
|
24878
|
+
paddingLeftprops: '30px',
|
|
24879
|
+
paddingRightprops: '30px',
|
|
24846
24880
|
subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
24847
24881
|
}
|
|
24848
24882
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -24852,8 +24886,8 @@ var Gotoheader = function Gotoheader(props) {
|
|
|
24852
24886
|
actions: actions,
|
|
24853
24887
|
subheaderpropertiesprops: {
|
|
24854
24888
|
subheaderpositionprops: 'Full Width',
|
|
24855
|
-
paddingLeftprops: '
|
|
24856
|
-
paddingRightprops: '
|
|
24889
|
+
paddingLeftprops: '30px',
|
|
24890
|
+
paddingRightprops: '30px',
|
|
24857
24891
|
subheadercontentpositionprops: 'start'
|
|
24858
24892
|
}
|
|
24859
24893
|
}))), !authdetailsContext.loggedin && sectionproperties.hideheaderwhenloggedin == 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -28670,8 +28704,8 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
28670
28704
|
headernameprops: 'Header_threesectionslogocentered'
|
|
28671
28705
|
})))), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28672
28706
|
style: {
|
|
28673
|
-
marginRight: langdetect == 'en' ? '1.5rem' : '1.2rem',
|
|
28674
|
-
marginLeft: langdetect == 'en' ? '1.2rem' : '1.5rem'
|
|
28707
|
+
marginRight: sectionproperties.favBtnShow == 'Show' ? langdetect == 'en' ? '1.5rem' : '1.2rem' : 0,
|
|
28708
|
+
marginLeft: sectionproperties.favBtnShow == 'Show' ? langdetect == 'en' ? '1.2rem' : '1.5rem' : 0
|
|
28675
28709
|
}
|
|
28676
28710
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28677
28711
|
"class": ' d-flex justify-content-center align-items-center '
|
|
@@ -28783,7 +28817,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
28783
28817
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
28784
28818
|
}, /*#__PURE__*/React__default["default"].createElement(BiLogOutCircle.BiLogOutCircle, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
28785
28819
|
"class": "ml-2 mr-2"
|
|
28786
|
-
}, lang.logout))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28820
|
+
}, lang.logout))))))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28787
28821
|
"class": "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
28788
28822
|
onClick: function onClick() {
|
|
28789
28823
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
@@ -28856,7 +28890,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
28856
28890
|
}
|
|
28857
28891
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
28858
28892
|
"class": 'ml-2 mr-2'
|
|
28859
|
-
},
|
|
28893
|
+
}, "\u0639\u0631\u0628\u064A")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
28860
28894
|
onClick: function onClick() {
|
|
28861
28895
|
setlang('en');
|
|
28862
28896
|
}
|
|
@@ -28877,7 +28911,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
28877
28911
|
}
|
|
28878
28912
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
28879
28913
|
"class": 'ml-2 mr-2'
|
|
28880
|
-
},
|
|
28914
|
+
}, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.instcurrencies) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.length) > 1 && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
28881
28915
|
"class": ' d-flex align-items-center justify-content-center '
|
|
28882
28916
|
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28883
28917
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
@@ -75192,9 +75226,13 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
75192
75226
|
color: sectionproperties.measurementunitcolor
|
|
75193
75227
|
}
|
|
75194
75228
|
}, item.measurmentunit), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75195
|
-
"class": "col-lg-12
|
|
75229
|
+
"class": "col-lg-12 pl-0 pr-0",
|
|
75196
75230
|
style: {
|
|
75197
|
-
minHeight: sectionproperties.wordbreak == '1' ? 'auto' : '6vh'
|
|
75231
|
+
minHeight: sectionproperties.wordbreak == '1' ? 'auto' : '6vh',
|
|
75232
|
+
background: sectionproperties.prodNameBackgroundColor,
|
|
75233
|
+
borderRadius: '15px',
|
|
75234
|
+
paddingTop: sectionproperties.productnamepaddingvertical + 'px',
|
|
75235
|
+
paddingBottom: sectionproperties.productnamepaddingvertical + 'px'
|
|
75198
75236
|
}
|
|
75199
75237
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
75200
75238
|
onClick: function onClick() {
|
|
@@ -75211,7 +75249,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
75211
75249
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
75212
75250
|
}
|
|
75213
75251
|
}, item.name)), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'No' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
75214
|
-
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 wordbreak wordbreak4 mt-1 ',
|
|
75252
|
+
"class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 wordbreak wordbreak4 mt-1 ',
|
|
75215
75253
|
style: {
|
|
75216
75254
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
75217
75255
|
},
|
|
@@ -75219,7 +75257,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
75219
75257
|
__html: item.shortdescription
|
|
75220
75258
|
}
|
|
75221
75259
|
}), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
75222
|
-
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak
|
|
75260
|
+
"class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak p-0 mt-1 ',
|
|
75223
75261
|
style: {
|
|
75224
75262
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
75225
75263
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -3594,6 +3594,10 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3594
3594
|
item_type: 'service'
|
|
3595
3595
|
}));
|
|
3596
3596
|
}, [tabsarray]);
|
|
3597
|
+
var today = new Date();
|
|
3598
|
+
today.getFullYear();
|
|
3599
|
+
(today.getMonth() + 1).toString().padStart(2, '0'); // Adding leading zero if necessary
|
|
3600
|
+
today.getDate().toString().padStart(2, '0'); // Adding leading zero if necessary
|
|
3597
3601
|
useEffect(function () {
|
|
3598
3602
|
var date1 = new Date(addtocardpayloadobj.from);
|
|
3599
3603
|
var date2 = new Date(addtocardpayloadobj.to);
|
|
@@ -4365,7 +4369,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
4365
4369
|
};
|
|
4366
4370
|
|
|
4367
4371
|
var Service_itemtype = function Service_itemtype(props) {
|
|
4368
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8;
|
|
4372
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8;
|
|
4369
4373
|
var lang = props.actions.lang;
|
|
4370
4374
|
var langdetect = props.actions.langdetect;
|
|
4371
4375
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -4617,12 +4621,23 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4617
4621
|
className: "col-lg-8 col-md-8 col-sm-12 p-0 mb-1 d-none d-sm-flex justify-content-start align-items-center"
|
|
4618
4622
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4619
4623
|
"class": "row m-0 w-100"
|
|
4620
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
4624
|
+
}, (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.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
4625
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
4626
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
4627
|
+
"class": "m-0 p-0",
|
|
4628
|
+
style: {
|
|
4629
|
+
color: '#000'
|
|
4630
|
+
}
|
|
4631
|
+
}, langdetect == 'en' ? sectionproperties.vendortitleen : sectionproperties.vendortitlear, ":", ' ', /*#__PURE__*/React.createElement("span", {
|
|
4632
|
+
style: {
|
|
4633
|
+
fontWeight: 600
|
|
4634
|
+
}
|
|
4635
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.vendorinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.vendorname))), /*#__PURE__*/React.createElement("div", {
|
|
4621
4636
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
4622
4637
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4623
4638
|
"class": "row m-0 w-100"
|
|
4624
4639
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4625
|
-
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4640
|
+
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
|
|
4626
4641
|
}, ProductName()), /*#__PURE__*/React.createElement("div", {
|
|
4627
4642
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
4628
4643
|
}, sectionproperties.btnposition == 'Top' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -4653,11 +4668,11 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4653
4668
|
size: sectionproperties.favBtnIconfontsize
|
|
4654
4669
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
4655
4670
|
size: sectionproperties.favBtnIconfontsize
|
|
4656
|
-
}))))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4671
|
+
}))))))), (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 ? void 0 : _fetchProductInfoQuer9.productcanrate) == 1 && sectionproperties.showrating == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
4657
4672
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
4658
4673
|
}, /*#__PURE__*/React.createElement(ReactStars, {
|
|
4659
4674
|
count: 5,
|
|
4660
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4675
|
+
value: 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.productoverallrate,
|
|
4661
4676
|
edit: false,
|
|
4662
4677
|
size: 18,
|
|
4663
4678
|
emptyIcon: /*#__PURE__*/React.createElement("i", {
|
|
@@ -4677,7 +4692,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4677
4692
|
}),
|
|
4678
4693
|
activeColor: "#ffd700"
|
|
4679
4694
|
})))), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React.createElement("div", {
|
|
4680
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4695
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (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.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'
|
|
4681
4696
|
}, /*#__PURE__*/React.createElement("p", {
|
|
4682
4697
|
"class": "m-0 p-0 d-flex justify-content-start"
|
|
4683
4698
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -4697,7 +4712,26 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4697
4712
|
}
|
|
4698
4713
|
}, fetchProductInfoQueryContext.data.data.productinfo.sku))), /*#__PURE__*/React.createElement(ProductHeaderPricing, {
|
|
4699
4714
|
actions: props.actions
|
|
4700
|
-
}), sectionproperties.
|
|
4715
|
+
}), sectionproperties.descriptionstyle == 'Style 1' && sectionproperties.descriptionposition == 'Top' && /*#__PURE__*/React.createElement("div", {
|
|
4716
|
+
"class": "col-lg-12 col-md-12 p-md-0 mt-3"
|
|
4717
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4718
|
+
"class": "row m-0 w-100"
|
|
4719
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4720
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
|
|
4721
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
4722
|
+
"class": "m-0 p-0",
|
|
4723
|
+
style: {
|
|
4724
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4725
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
4726
|
+
color: sectionproperties.prodCatColor,
|
|
4727
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
4728
|
+
}
|
|
4729
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr))), /*#__PURE__*/React.createElement("div", {
|
|
4730
|
+
"class": "col-lg-12 p-0 mt-3"
|
|
4731
|
+
}, /*#__PURE__*/React.createElement(DescriptionContent, {
|
|
4732
|
+
actions: props.actions,
|
|
4733
|
+
srcfromprops: 'collap'
|
|
4734
|
+
}))), sectionproperties.deliverytimeshow == '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.deliverydatetext) != null && /*#__PURE__*/React.createElement("div", {
|
|
4701
4735
|
"class": sectionproperties.gallerystyle == 'Style 2' ? 'mb-4 col-lg-6 d-flex flex-row flex-sm-column allcentered' : 'mb-4 col-lg-12 d-flex flex-row flex-sm-column allcentered',
|
|
4702
4736
|
style: {
|
|
4703
4737
|
width: '100%',
|
|
@@ -4723,11 +4757,11 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4723
4757
|
// textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4724
4758
|
color: sectionproperties.deliverytimecontainercolor
|
|
4725
4759
|
}
|
|
4726
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4760
|
+
}, 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.deliverydatetext)), sectionproperties.showfeatures == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
4727
4761
|
"class": "col-lg-12 text-start p-md-0"
|
|
4728
4762
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4729
4763
|
className: "row m-0 w-100"
|
|
4730
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4764
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productfeatures) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.map(function (fitem, findex) {
|
|
4731
4765
|
return /*#__PURE__*/React.createElement("div", {
|
|
4732
4766
|
"class": "col-lg-4 col-md-12 p-0 mb-3 mt-2"
|
|
4733
4767
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -4853,7 +4887,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4853
4887
|
color: sectionproperties.prodCatColor
|
|
4854
4888
|
},
|
|
4855
4889
|
dangerouslySetInnerHTML: {
|
|
4856
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4890
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.short_description_ar
|
|
4857
4891
|
}
|
|
4858
4892
|
})))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
4859
4893
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
@@ -4978,7 +5012,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4978
5012
|
onClick: function onClick() {
|
|
4979
5013
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
4980
5014
|
}
|
|
4981
|
-
},
|
|
5015
|
+
}, langdetect == 'en' ? 'SEE MORE' : 'عرض المزيد')))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showfirstpolicy == 'Show' && sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
4982
5016
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
4983
5017
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
4984
5018
|
"class": "m-0"
|
|
@@ -24460,7 +24494,7 @@ var Gotoheader = function Gotoheader(props) {
|
|
|
24460
24494
|
sectionpropertiesprops: sectionproperties,
|
|
24461
24495
|
srcfromprops: 'header-400',
|
|
24462
24496
|
actions: actions
|
|
24463
|
-
})))), /*#__PURE__*/React.createElement(Dropdown, {
|
|
24497
|
+
})))), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React.createElement(Dropdown, {
|
|
24464
24498
|
style: {
|
|
24465
24499
|
marginLeft: langdetect == 'en' ? '1rem' : '',
|
|
24466
24500
|
marginRight: langdetect == 'ar' ? '1rem' : ''
|
|
@@ -24770,8 +24804,8 @@ var Gotoheader = function Gotoheader(props) {
|
|
|
24770
24804
|
return /*#__PURE__*/React.createElement("div", {
|
|
24771
24805
|
"class": "".concat(headerstyles$e.topbar_item_container),
|
|
24772
24806
|
style: {
|
|
24773
|
-
marginRight: langdetect == 'en' ? '
|
|
24774
|
-
marginLeft: langdetect == 'en' ? 0 : '
|
|
24807
|
+
marginRight: langdetect == 'en' ? '30px' : 0,
|
|
24808
|
+
marginLeft: langdetect == 'en' ? 0 : '30px'
|
|
24775
24809
|
},
|
|
24776
24810
|
onClick: function onClick() {
|
|
24777
24811
|
// history.push(item.navigationroute);
|
|
@@ -24792,8 +24826,8 @@ var Gotoheader = function Gotoheader(props) {
|
|
|
24792
24826
|
actions: actions,
|
|
24793
24827
|
subheaderpropertiesprops: {
|
|
24794
24828
|
subheaderpositionprops: 'in nav',
|
|
24795
|
-
paddingLeftprops: '
|
|
24796
|
-
paddingRightprops: '
|
|
24829
|
+
paddingLeftprops: '30px',
|
|
24830
|
+
paddingRightprops: '30px',
|
|
24797
24831
|
subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
24798
24832
|
}
|
|
24799
24833
|
})))), /*#__PURE__*/React.createElement("div", {
|
|
@@ -24803,8 +24837,8 @@ var Gotoheader = function Gotoheader(props) {
|
|
|
24803
24837
|
actions: actions,
|
|
24804
24838
|
subheaderpropertiesprops: {
|
|
24805
24839
|
subheaderpositionprops: 'Full Width',
|
|
24806
|
-
paddingLeftprops: '
|
|
24807
|
-
paddingRightprops: '
|
|
24840
|
+
paddingLeftprops: '30px',
|
|
24841
|
+
paddingRightprops: '30px',
|
|
24808
24842
|
subheadercontentpositionprops: 'start'
|
|
24809
24843
|
}
|
|
24810
24844
|
}))), !authdetailsContext.loggedin && sectionproperties.hideheaderwhenloggedin == 'Hide' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -28621,8 +28655,8 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
28621
28655
|
headernameprops: 'Header_threesectionslogocentered'
|
|
28622
28656
|
})))), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
28623
28657
|
style: {
|
|
28624
|
-
marginRight: langdetect == 'en' ? '1.5rem' : '1.2rem',
|
|
28625
|
-
marginLeft: langdetect == 'en' ? '1.2rem' : '1.5rem'
|
|
28658
|
+
marginRight: sectionproperties.favBtnShow == 'Show' ? langdetect == 'en' ? '1.5rem' : '1.2rem' : 0,
|
|
28659
|
+
marginLeft: sectionproperties.favBtnShow == 'Show' ? langdetect == 'en' ? '1.2rem' : '1.5rem' : 0
|
|
28626
28660
|
}
|
|
28627
28661
|
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
|
|
28628
28662
|
"class": ' d-flex justify-content-center align-items-center '
|
|
@@ -28734,7 +28768,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
28734
28768
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
28735
28769
|
}, /*#__PURE__*/React.createElement(BiLogOutCircle, null), /*#__PURE__*/React.createElement("span", {
|
|
28736
28770
|
"class": "ml-2 mr-2"
|
|
28737
|
-
}, lang.logout))))))), /*#__PURE__*/React.createElement("div", {
|
|
28771
|
+
}, lang.logout))))))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
28738
28772
|
"class": "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
28739
28773
|
onClick: function onClick() {
|
|
28740
28774
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
@@ -28807,7 +28841,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
28807
28841
|
}
|
|
28808
28842
|
}), /*#__PURE__*/React.createElement("span", {
|
|
28809
28843
|
"class": 'ml-2 mr-2'
|
|
28810
|
-
},
|
|
28844
|
+
}, "\u0639\u0631\u0628\u064A")))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
28811
28845
|
onClick: function onClick() {
|
|
28812
28846
|
setlang('en');
|
|
28813
28847
|
}
|
|
@@ -28828,7 +28862,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
28828
28862
|
}
|
|
28829
28863
|
}), /*#__PURE__*/React.createElement("span", {
|
|
28830
28864
|
"class": 'ml-2 mr-2'
|
|
28831
|
-
},
|
|
28865
|
+
}, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.instcurrencies) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.length) > 1 && /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
28832
28866
|
"class": ' d-flex align-items-center justify-content-center '
|
|
28833
28867
|
}, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
28834
28868
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
@@ -75143,9 +75177,13 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
75143
75177
|
color: sectionproperties.measurementunitcolor
|
|
75144
75178
|
}
|
|
75145
75179
|
}, item.measurmentunit), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
75146
|
-
"class": "col-lg-12
|
|
75180
|
+
"class": "col-lg-12 pl-0 pr-0",
|
|
75147
75181
|
style: {
|
|
75148
|
-
minHeight: sectionproperties.wordbreak == '1' ? 'auto' : '6vh'
|
|
75182
|
+
minHeight: sectionproperties.wordbreak == '1' ? 'auto' : '6vh',
|
|
75183
|
+
background: sectionproperties.prodNameBackgroundColor,
|
|
75184
|
+
borderRadius: '15px',
|
|
75185
|
+
paddingTop: sectionproperties.productnamepaddingvertical + 'px',
|
|
75186
|
+
paddingBottom: sectionproperties.productnamepaddingvertical + 'px'
|
|
75149
75187
|
}
|
|
75150
75188
|
}, /*#__PURE__*/React.createElement("p", {
|
|
75151
75189
|
onClick: function onClick() {
|
|
@@ -75162,7 +75200,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
75162
75200
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
75163
75201
|
}
|
|
75164
75202
|
}, item.name)), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'No' && /*#__PURE__*/React.createElement("p", {
|
|
75165
|
-
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 wordbreak wordbreak4 mt-1 ',
|
|
75203
|
+
"class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 wordbreak wordbreak4 mt-1 ',
|
|
75166
75204
|
style: {
|
|
75167
75205
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
75168
75206
|
},
|
|
@@ -75170,7 +75208,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
75170
75208
|
__html: item.shortdescription
|
|
75171
75209
|
}
|
|
75172
75210
|
}), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'Yes' && /*#__PURE__*/React.createElement("p", {
|
|
75173
|
-
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak
|
|
75211
|
+
"class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak p-0 mt-1 ',
|
|
75174
75212
|
style: {
|
|
75175
75213
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
75176
75214
|
}
|
package/dist/index.umd.js
CHANGED
|
@@ -3467,6 +3467,10 @@
|
|
|
3467
3467
|
item_type: 'service'
|
|
3468
3468
|
}));
|
|
3469
3469
|
}, [tabsarray]);
|
|
3470
|
+
var today = new Date();
|
|
3471
|
+
today.getFullYear();
|
|
3472
|
+
(today.getMonth() + 1).toString().padStart(2, '0'); // Adding leading zero if necessary
|
|
3473
|
+
today.getDate().toString().padStart(2, '0'); // Adding leading zero if necessary
|
|
3470
3474
|
React.useEffect(function () {
|
|
3471
3475
|
var date1 = new Date(addtocardpayloadobj.from);
|
|
3472
3476
|
var date2 = new Date(addtocardpayloadobj.to);
|
|
@@ -4238,7 +4242,7 @@
|
|
|
4238
4242
|
};
|
|
4239
4243
|
|
|
4240
4244
|
var Service_itemtype = function Service_itemtype(props) {
|
|
4241
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8;
|
|
4245
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8;
|
|
4242
4246
|
var lang = props.actions.lang;
|
|
4243
4247
|
var langdetect = props.actions.langdetect;
|
|
4244
4248
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -4490,12 +4494,23 @@
|
|
|
4490
4494
|
className: "col-lg-8 col-md-8 col-sm-12 p-0 mb-1 d-none d-sm-flex justify-content-start align-items-center"
|
|
4491
4495
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4492
4496
|
"class": "row m-0 w-100"
|
|
4493
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4497
|
+
}, (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.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4498
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
4499
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4500
|
+
"class": "m-0 p-0",
|
|
4501
|
+
style: {
|
|
4502
|
+
color: '#000'
|
|
4503
|
+
}
|
|
4504
|
+
}, langdetect == 'en' ? sectionproperties.vendortitleen : sectionproperties.vendortitlear, ":", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4505
|
+
style: {
|
|
4506
|
+
fontWeight: 600
|
|
4507
|
+
}
|
|
4508
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.vendorinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.vendorname))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4494
4509
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
4495
4510
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4496
4511
|
"class": "row m-0 w-100"
|
|
4497
4512
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4498
|
-
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4513
|
+
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
|
|
4499
4514
|
}, ProductName()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4500
4515
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
4501
4516
|
}, sectionproperties.btnposition == 'Top' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4526,11 +4541,11 @@
|
|
|
4526
4541
|
size: sectionproperties.favBtnIconfontsize
|
|
4527
4542
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
4528
4543
|
size: sectionproperties.favBtnIconfontsize
|
|
4529
|
-
}))))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4544
|
+
}))))))), (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 ? void 0 : _fetchProductInfoQuer9.productcanrate) == 1 && sectionproperties.showrating == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4530
4545
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
4531
4546
|
}, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
|
|
4532
4547
|
count: 5,
|
|
4533
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4548
|
+
value: 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.productoverallrate,
|
|
4534
4549
|
edit: false,
|
|
4535
4550
|
size: 18,
|
|
4536
4551
|
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -4550,7 +4565,7 @@
|
|
|
4550
4565
|
}),
|
|
4551
4566
|
activeColor: "#ffd700"
|
|
4552
4567
|
})))), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4553
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4568
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (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.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'
|
|
4554
4569
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4555
4570
|
"class": "m-0 p-0 d-flex justify-content-start"
|
|
4556
4571
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
@@ -4570,7 +4585,26 @@
|
|
|
4570
4585
|
}
|
|
4571
4586
|
}, fetchProductInfoQueryContext.data.data.productinfo.sku))), /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
4572
4587
|
actions: props.actions
|
|
4573
|
-
}), sectionproperties.
|
|
4588
|
+
}), sectionproperties.descriptionstyle == 'Style 1' && sectionproperties.descriptionposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4589
|
+
"class": "col-lg-12 col-md-12 p-md-0 mt-3"
|
|
4590
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4591
|
+
"class": "row m-0 w-100"
|
|
4592
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4593
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
|
|
4594
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4595
|
+
"class": "m-0 p-0",
|
|
4596
|
+
style: {
|
|
4597
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4598
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
4599
|
+
color: sectionproperties.prodCatColor,
|
|
4600
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
4601
|
+
}
|
|
4602
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4603
|
+
"class": "col-lg-12 p-0 mt-3"
|
|
4604
|
+
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
4605
|
+
actions: props.actions,
|
|
4606
|
+
srcfromprops: 'collap'
|
|
4607
|
+
}))), sectionproperties.deliverytimeshow == '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.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4574
4608
|
"class": sectionproperties.gallerystyle == 'Style 2' ? 'mb-4 col-lg-6 d-flex flex-row flex-sm-column allcentered' : 'mb-4 col-lg-12 d-flex flex-row flex-sm-column allcentered',
|
|
4575
4609
|
style: {
|
|
4576
4610
|
width: '100%',
|
|
@@ -4596,11 +4630,11 @@
|
|
|
4596
4630
|
// textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4597
4631
|
color: sectionproperties.deliverytimecontainercolor
|
|
4598
4632
|
}
|
|
4599
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4633
|
+
}, 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.deliverydatetext)), sectionproperties.showfeatures == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4600
4634
|
"class": "col-lg-12 text-start p-md-0"
|
|
4601
4635
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4602
4636
|
className: "row m-0 w-100"
|
|
4603
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4637
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productfeatures) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.map(function (fitem, findex) {
|
|
4604
4638
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4605
4639
|
"class": "col-lg-4 col-md-12 p-0 mb-3 mt-2"
|
|
4606
4640
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4726,7 +4760,7 @@
|
|
|
4726
4760
|
color: sectionproperties.prodCatColor
|
|
4727
4761
|
},
|
|
4728
4762
|
dangerouslySetInnerHTML: {
|
|
4729
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4763
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.short_description_ar
|
|
4730
4764
|
}
|
|
4731
4765
|
})))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4732
4766
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
@@ -4851,7 +4885,7 @@
|
|
|
4851
4885
|
onClick: function onClick() {
|
|
4852
4886
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
4853
4887
|
}
|
|
4854
|
-
},
|
|
4888
|
+
}, langdetect == 'en' ? 'SEE MORE' : 'عرض المزيد')))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showfirstpolicy == 'Show' && sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4855
4889
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
4856
4890
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
4857
4891
|
"class": "m-0"
|
|
@@ -24333,7 +24367,7 @@
|
|
|
24333
24367
|
sectionpropertiesprops: sectionproperties,
|
|
24334
24368
|
srcfromprops: 'header-400',
|
|
24335
24369
|
actions: actions
|
|
24336
|
-
})))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], {
|
|
24370
|
+
})))), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], {
|
|
24337
24371
|
style: {
|
|
24338
24372
|
marginLeft: langdetect == 'en' ? '1rem' : '',
|
|
24339
24373
|
marginRight: langdetect == 'ar' ? '1rem' : ''
|
|
@@ -24643,8 +24677,8 @@
|
|
|
24643
24677
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24644
24678
|
"class": "".concat(headerstyles$e.topbar_item_container),
|
|
24645
24679
|
style: {
|
|
24646
|
-
marginRight: langdetect == 'en' ? '
|
|
24647
|
-
marginLeft: langdetect == 'en' ? 0 : '
|
|
24680
|
+
marginRight: langdetect == 'en' ? '30px' : 0,
|
|
24681
|
+
marginLeft: langdetect == 'en' ? 0 : '30px'
|
|
24648
24682
|
},
|
|
24649
24683
|
onClick: function onClick() {
|
|
24650
24684
|
// history.push(item.navigationroute);
|
|
@@ -24665,8 +24699,8 @@
|
|
|
24665
24699
|
actions: actions,
|
|
24666
24700
|
subheaderpropertiesprops: {
|
|
24667
24701
|
subheaderpositionprops: 'in nav',
|
|
24668
|
-
paddingLeftprops: '
|
|
24669
|
-
paddingRightprops: '
|
|
24702
|
+
paddingLeftprops: '30px',
|
|
24703
|
+
paddingRightprops: '30px',
|
|
24670
24704
|
subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
24671
24705
|
}
|
|
24672
24706
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -24676,8 +24710,8 @@
|
|
|
24676
24710
|
actions: actions,
|
|
24677
24711
|
subheaderpropertiesprops: {
|
|
24678
24712
|
subheaderpositionprops: 'Full Width',
|
|
24679
|
-
paddingLeftprops: '
|
|
24680
|
-
paddingRightprops: '
|
|
24713
|
+
paddingLeftprops: '30px',
|
|
24714
|
+
paddingRightprops: '30px',
|
|
24681
24715
|
subheadercontentpositionprops: 'start'
|
|
24682
24716
|
}
|
|
24683
24717
|
}))), !authdetailsContext.loggedin && sectionproperties.hideheaderwhenloggedin == 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -28494,8 +28528,8 @@
|
|
|
28494
28528
|
headernameprops: 'Header_threesectionslogocentered'
|
|
28495
28529
|
})))), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28496
28530
|
style: {
|
|
28497
|
-
marginRight: langdetect == 'en' ? '1.5rem' : '1.2rem',
|
|
28498
|
-
marginLeft: langdetect == 'en' ? '1.2rem' : '1.5rem'
|
|
28531
|
+
marginRight: sectionproperties.favBtnShow == 'Show' ? langdetect == 'en' ? '1.5rem' : '1.2rem' : 0,
|
|
28532
|
+
marginLeft: sectionproperties.favBtnShow == 'Show' ? langdetect == 'en' ? '1.2rem' : '1.5rem' : 0
|
|
28499
28533
|
}
|
|
28500
28534
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28501
28535
|
"class": ' d-flex justify-content-center align-items-center '
|
|
@@ -28607,7 +28641,7 @@
|
|
|
28607
28641
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
28608
28642
|
}, /*#__PURE__*/React__default["default"].createElement(BiLogOutCircle.BiLogOutCircle, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
28609
28643
|
"class": "ml-2 mr-2"
|
|
28610
|
-
}, lang.logout))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28644
|
+
}, lang.logout))))))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28611
28645
|
"class": "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
28612
28646
|
onClick: function onClick() {
|
|
28613
28647
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
@@ -28680,7 +28714,7 @@
|
|
|
28680
28714
|
}
|
|
28681
28715
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
28682
28716
|
"class": 'ml-2 mr-2'
|
|
28683
|
-
},
|
|
28717
|
+
}, "\u0639\u0631\u0628\u064A")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
28684
28718
|
onClick: function onClick() {
|
|
28685
28719
|
setlang('en');
|
|
28686
28720
|
}
|
|
@@ -28701,7 +28735,7 @@
|
|
|
28701
28735
|
}
|
|
28702
28736
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
28703
28737
|
"class": 'ml-2 mr-2'
|
|
28704
|
-
},
|
|
28738
|
+
}, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.instcurrencies) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.length) > 1 && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
28705
28739
|
"class": ' d-flex align-items-center justify-content-center '
|
|
28706
28740
|
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28707
28741
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
@@ -75016,9 +75050,13 @@
|
|
|
75016
75050
|
color: sectionproperties.measurementunitcolor
|
|
75017
75051
|
}
|
|
75018
75052
|
}, item.measurmentunit), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75019
|
-
"class": "col-lg-12
|
|
75053
|
+
"class": "col-lg-12 pl-0 pr-0",
|
|
75020
75054
|
style: {
|
|
75021
|
-
minHeight: sectionproperties.wordbreak == '1' ? 'auto' : '6vh'
|
|
75055
|
+
minHeight: sectionproperties.wordbreak == '1' ? 'auto' : '6vh',
|
|
75056
|
+
background: sectionproperties.prodNameBackgroundColor,
|
|
75057
|
+
borderRadius: '15px',
|
|
75058
|
+
paddingTop: sectionproperties.productnamepaddingvertical + 'px',
|
|
75059
|
+
paddingBottom: sectionproperties.productnamepaddingvertical + 'px'
|
|
75022
75060
|
}
|
|
75023
75061
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
75024
75062
|
onClick: function onClick() {
|
|
@@ -75035,7 +75073,7 @@
|
|
|
75035
75073
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
75036
75074
|
}
|
|
75037
75075
|
}, item.name)), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'No' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
75038
|
-
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 wordbreak wordbreak4 mt-1 ',
|
|
75076
|
+
"class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 wordbreak wordbreak4 mt-1 ',
|
|
75039
75077
|
style: {
|
|
75040
75078
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
75041
75079
|
},
|
|
@@ -75043,7 +75081,7 @@
|
|
|
75043
75081
|
__html: item.shortdescription
|
|
75044
75082
|
}
|
|
75045
75083
|
}), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
75046
|
-
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak
|
|
75084
|
+
"class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak p-0 mt-1 ',
|
|
75047
75085
|
style: {
|
|
75048
75086
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
75049
75087
|
}
|