tabexseriescomponents 0.0.600 → 0.0.602
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 +52 -13
- package/dist/index.esm.js +52 -13
- package/dist/index.umd.js +52 -13
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -3920,6 +3920,9 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3920
3920
|
});
|
|
3921
3921
|
}
|
|
3922
3922
|
});
|
|
3923
|
+
if ((tempslots === null || tempslots === void 0 ? void 0 : tempslots.length) == 0) {
|
|
3924
|
+
NotificationManager.warning('', 'No Available Slots');
|
|
3925
|
+
}
|
|
3923
3926
|
if (reservedslotArrtobetaken.length != 0) {
|
|
3924
3927
|
reservedslottobetaken = reservedslotArrtobetaken[0].slot;
|
|
3925
3928
|
setaddtocardpayloadobj(_objectSpread$2t(_objectSpread$2t({}, addtocardpayloadobj), {}, {
|
|
@@ -5935,7 +5938,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
5935
5938
|
function ownKeys$2q(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; }
|
|
5936
5939
|
function _objectSpread$2q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5937
5940
|
var Productinfo = function Productinfo(props) {
|
|
5938
|
-
var _css, _ref, _ref2, _ref3, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4,
|
|
5941
|
+
var _css, _ref, _ref2, _ref3, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
|
|
5939
5942
|
var _useState = React.useState({}),
|
|
5940
5943
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
5941
5944
|
ProductInfoObj = _useState2[0],
|
|
@@ -6085,7 +6088,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
6085
6088
|
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.product_videos) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.length) == 0) {
|
|
6086
6089
|
settabname('shippingpolicytab');
|
|
6087
6090
|
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.product_videos) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) != 0 && sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide') {
|
|
6088
|
-
settabname('videostab');
|
|
6091
|
+
// settabname('videostab');
|
|
6092
|
+
settabname('reviewstab');
|
|
6089
6093
|
}
|
|
6090
6094
|
}
|
|
6091
6095
|
}, [StatePagePropertiesContext]);
|
|
@@ -7391,7 +7395,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7391
7395
|
style: {
|
|
7392
7396
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
7393
7397
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
7394
|
-
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.product_videos) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.length) != 0 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7398
|
+
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.product_videos) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.length) != 0 ? 'flex' : (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.productcanrate) == 1 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.product_videos) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.length) == 0 ? 'none' : 'flex'
|
|
7395
7399
|
}
|
|
7396
7400
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7397
7401
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
@@ -7454,12 +7458,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
7454
7458
|
onClick: function onClick() {
|
|
7455
7459
|
settabname('refundpolicytab');
|
|
7456
7460
|
}
|
|
7457
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7461
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productinfo) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.product_videos) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
7458
7462
|
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
7459
7463
|
onClick: function onClick() {
|
|
7460
7464
|
settabname('videostab');
|
|
7461
7465
|
}
|
|
7462
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7466
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer44 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
7463
7467
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
7464
7468
|
onClick: function onClick() {
|
|
7465
7469
|
settabname('reviewstab');
|
|
@@ -7514,12 +7518,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
7514
7518
|
onClick: function onClick() {
|
|
7515
7519
|
settabname('refundpolicytab');
|
|
7516
7520
|
}
|
|
7517
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7521
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productinfo) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.product_videos) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
7518
7522
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
7519
7523
|
onClick: function onClick() {
|
|
7520
7524
|
settabname('videostab');
|
|
7521
7525
|
}
|
|
7522
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7526
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : _fetchProductInfoQuer46.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
7523
7527
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
7524
7528
|
onClick: function onClick() {
|
|
7525
7529
|
settabname('reviewstab');
|
|
@@ -18735,7 +18739,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
18735
18739
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18736
18740
|
"class": section_cssstyles.innercardssection + ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 '
|
|
18737
18741
|
}, sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18738
|
-
"class": "col-lg-12 mb-3 mt-5"
|
|
18742
|
+
"class": "col-lg-12 mb-3 mt-5 text-start"
|
|
18739
18743
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18740
18744
|
"class": "m-0",
|
|
18741
18745
|
style: {
|
|
@@ -18744,8 +18748,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
18744
18748
|
// color: '#62554a'
|
|
18745
18749
|
color: sectionproperties.sectionTitleColor
|
|
18746
18750
|
}
|
|
18747
|
-
}, show_product_group_titles()['title_en'])), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18748
|
-
"class": "col-lg-12 mb-3"
|
|
18751
|
+
}, langdetect == 'en' ? show_product_group_titles()['title_en'] : show_product_group_titles()['title_ar'])), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18752
|
+
"class": "col-lg-12 mb-3 text-start"
|
|
18749
18753
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18750
18754
|
"class": "m-0",
|
|
18751
18755
|
style: {
|
|
@@ -18754,7 +18758,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
18754
18758
|
|
|
18755
18759
|
// color: '#62554a',
|
|
18756
18760
|
}
|
|
18757
|
-
}, plainString(show_product_group_titles()['description_en']))), sectionproperties.showFilter == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18761
|
+
}, langdetect == 'en' ? plainString(show_product_group_titles()['description_en']) : plainString(show_product_group_titles()['description_ar']))), sectionproperties.showFilter == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18758
18762
|
className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex p-0' : sectionproperties.numofcols == '2' ? 'col-lg-2 d-flex' : 'col-lg-3 d-flex'
|
|
18759
18763
|
}, /*#__PURE__*/React__default["default"].createElement(Filter$1, {
|
|
18760
18764
|
sectionpropertiesprops: sectionproperties,
|
|
@@ -23859,6 +23863,23 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
23859
23863
|
'::placeholder': {
|
|
23860
23864
|
color: sectionproperties.searchbarcontinput_color
|
|
23861
23865
|
}
|
|
23866
|
+
}),
|
|
23867
|
+
floatingbtn: glamor.css({
|
|
23868
|
+
width: sectionproperties.floatingbtnwidth + '%',
|
|
23869
|
+
height: sectionproperties.floatingbtnheight + 'px',
|
|
23870
|
+
background: sectionproperties.floatingbtnbg,
|
|
23871
|
+
fontSize: sectionproperties.floatingbtnfontsize + 'px',
|
|
23872
|
+
color: sectionproperties.floatingbtncolor,
|
|
23873
|
+
borderRadius: 10,
|
|
23874
|
+
':hover': {
|
|
23875
|
+
color: sectionproperties.floatingbtncolorhover,
|
|
23876
|
+
backgroundColor: sectionproperties.floatingbtnbghover,
|
|
23877
|
+
transitions: '.3s',
|
|
23878
|
+
cursor: 'pointer'
|
|
23879
|
+
},
|
|
23880
|
+
'@media (max-width: 800px)': {
|
|
23881
|
+
width: '50%'
|
|
23882
|
+
}
|
|
23862
23883
|
})
|
|
23863
23884
|
};
|
|
23864
23885
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -23889,7 +23910,25 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
23889
23910
|
height: '40px',
|
|
23890
23911
|
cursor: 'pointer'
|
|
23891
23912
|
}
|
|
23892
|
-
})),
|
|
23913
|
+
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23914
|
+
style: {
|
|
23915
|
+
position: 'fixed',
|
|
23916
|
+
bottom: 15,
|
|
23917
|
+
right: 15,
|
|
23918
|
+
zIndex: 999999,
|
|
23919
|
+
transition: 'all 0.3s ease-out',
|
|
23920
|
+
width: '100%'
|
|
23921
|
+
},
|
|
23922
|
+
"class": "text-end"
|
|
23923
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23924
|
+
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
23925
|
+
style: {},
|
|
23926
|
+
onClick: function onClick() {
|
|
23927
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
23928
|
+
}
|
|
23929
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
23930
|
+
"class": "m-0 p-0"
|
|
23931
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
|
|
23893
23932
|
sectionpropertiesprops: sectionproperties,
|
|
23894
23933
|
templateproperties_contextprops: templateproperties_context,
|
|
23895
23934
|
actions: actions
|
|
@@ -60067,7 +60106,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
60067
60106
|
':before': {
|
|
60068
60107
|
width: '100%',
|
|
60069
60108
|
height: '100%',
|
|
60070
|
-
background: 'rgba(0,0,0,
|
|
60109
|
+
background: 'rgba(0,0,0,' + sectionproperties.cardbg_opacity + ')',
|
|
60071
60110
|
zIndex: 1,
|
|
60072
60111
|
position: 'absolute',
|
|
60073
60112
|
content: 's',
|
package/dist/index.esm.js
CHANGED
|
@@ -3871,6 +3871,9 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3871
3871
|
});
|
|
3872
3872
|
}
|
|
3873
3873
|
});
|
|
3874
|
+
if ((tempslots === null || tempslots === void 0 ? void 0 : tempslots.length) == 0) {
|
|
3875
|
+
NotificationManager.warning('', 'No Available Slots');
|
|
3876
|
+
}
|
|
3874
3877
|
if (reservedslotArrtobetaken.length != 0) {
|
|
3875
3878
|
reservedslottobetaken = reservedslotArrtobetaken[0].slot;
|
|
3876
3879
|
setaddtocardpayloadobj(_objectSpread$2t(_objectSpread$2t({}, addtocardpayloadobj), {}, {
|
|
@@ -5886,7 +5889,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
5886
5889
|
function ownKeys$2q(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; }
|
|
5887
5890
|
function _objectSpread$2q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2q(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5888
5891
|
var Productinfo = function Productinfo(props) {
|
|
5889
|
-
var _css, _ref, _ref2, _ref3, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4,
|
|
5892
|
+
var _css, _ref, _ref2, _ref3, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
|
|
5890
5893
|
var _useState = useState({}),
|
|
5891
5894
|
_useState2 = _slicedToArray(_useState, 2),
|
|
5892
5895
|
ProductInfoObj = _useState2[0],
|
|
@@ -6036,7 +6039,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
6036
6039
|
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.product_videos) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.length) == 0) {
|
|
6037
6040
|
settabname('shippingpolicytab');
|
|
6038
6041
|
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.product_videos) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) != 0 && sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide') {
|
|
6039
|
-
settabname('videostab');
|
|
6042
|
+
// settabname('videostab');
|
|
6043
|
+
settabname('reviewstab');
|
|
6040
6044
|
}
|
|
6041
6045
|
}
|
|
6042
6046
|
}, [StatePagePropertiesContext]);
|
|
@@ -7342,7 +7346,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7342
7346
|
style: {
|
|
7343
7347
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
7344
7348
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
7345
|
-
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.product_videos) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.length) != 0 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7349
|
+
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.product_videos) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.length) != 0 ? 'flex' : (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.productcanrate) == 1 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.product_videos) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.length) == 0 ? 'none' : 'flex'
|
|
7346
7350
|
}
|
|
7347
7351
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7348
7352
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
@@ -7405,12 +7409,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
7405
7409
|
onClick: function onClick() {
|
|
7406
7410
|
settabname('refundpolicytab');
|
|
7407
7411
|
}
|
|
7408
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7412
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productinfo) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.product_videos) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.length) != 0 && /*#__PURE__*/React.createElement(Tab, {
|
|
7409
7413
|
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
7410
7414
|
onClick: function onClick() {
|
|
7411
7415
|
settabname('videostab');
|
|
7412
7416
|
}
|
|
7413
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7417
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer44 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.productcanrate) == 1 && /*#__PURE__*/React.createElement(Tab, {
|
|
7414
7418
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
7415
7419
|
onClick: function onClick() {
|
|
7416
7420
|
settabname('reviewstab');
|
|
@@ -7465,12 +7469,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
7465
7469
|
onClick: function onClick() {
|
|
7466
7470
|
settabname('refundpolicytab');
|
|
7467
7471
|
}
|
|
7468
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7472
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productinfo) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.product_videos) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.length) != 0 && /*#__PURE__*/React.createElement(Tab, {
|
|
7469
7473
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
7470
7474
|
onClick: function onClick() {
|
|
7471
7475
|
settabname('videostab');
|
|
7472
7476
|
}
|
|
7473
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7477
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : _fetchProductInfoQuer46.productcanrate) == 1 && /*#__PURE__*/React.createElement(Tab, {
|
|
7474
7478
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
7475
7479
|
onClick: function onClick() {
|
|
7476
7480
|
settabname('reviewstab');
|
|
@@ -18686,7 +18690,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
18686
18690
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
18687
18691
|
"class": section_cssstyles.innercardssection + ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 '
|
|
18688
18692
|
}, sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
18689
|
-
"class": "col-lg-12 mb-3 mt-5"
|
|
18693
|
+
"class": "col-lg-12 mb-3 mt-5 text-start"
|
|
18690
18694
|
}, /*#__PURE__*/React.createElement("p", {
|
|
18691
18695
|
"class": "m-0",
|
|
18692
18696
|
style: {
|
|
@@ -18695,8 +18699,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
18695
18699
|
// color: '#62554a'
|
|
18696
18700
|
color: sectionproperties.sectionTitleColor
|
|
18697
18701
|
}
|
|
18698
|
-
}, show_product_group_titles()['title_en'])), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
18699
|
-
"class": "col-lg-12 mb-3"
|
|
18702
|
+
}, langdetect == 'en' ? show_product_group_titles()['title_en'] : show_product_group_titles()['title_ar'])), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
18703
|
+
"class": "col-lg-12 mb-3 text-start"
|
|
18700
18704
|
}, /*#__PURE__*/React.createElement("p", {
|
|
18701
18705
|
"class": "m-0",
|
|
18702
18706
|
style: {
|
|
@@ -18705,7 +18709,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
18705
18709
|
|
|
18706
18710
|
// color: '#62554a',
|
|
18707
18711
|
}
|
|
18708
|
-
}, plainString(show_product_group_titles()['description_en']))), sectionproperties.showFilter == 'show' && /*#__PURE__*/React.createElement("div", {
|
|
18712
|
+
}, langdetect == 'en' ? plainString(show_product_group_titles()['description_en']) : plainString(show_product_group_titles()['description_ar']))), sectionproperties.showFilter == 'show' && /*#__PURE__*/React.createElement("div", {
|
|
18709
18713
|
className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex p-0' : sectionproperties.numofcols == '2' ? 'col-lg-2 d-flex' : 'col-lg-3 d-flex'
|
|
18710
18714
|
}, /*#__PURE__*/React.createElement(Filter$1, {
|
|
18711
18715
|
sectionpropertiesprops: sectionproperties,
|
|
@@ -23810,6 +23814,23 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
23810
23814
|
'::placeholder': {
|
|
23811
23815
|
color: sectionproperties.searchbarcontinput_color
|
|
23812
23816
|
}
|
|
23817
|
+
}),
|
|
23818
|
+
floatingbtn: css({
|
|
23819
|
+
width: sectionproperties.floatingbtnwidth + '%',
|
|
23820
|
+
height: sectionproperties.floatingbtnheight + 'px',
|
|
23821
|
+
background: sectionproperties.floatingbtnbg,
|
|
23822
|
+
fontSize: sectionproperties.floatingbtnfontsize + 'px',
|
|
23823
|
+
color: sectionproperties.floatingbtncolor,
|
|
23824
|
+
borderRadius: 10,
|
|
23825
|
+
':hover': {
|
|
23826
|
+
color: sectionproperties.floatingbtncolorhover,
|
|
23827
|
+
backgroundColor: sectionproperties.floatingbtnbghover,
|
|
23828
|
+
transitions: '.3s',
|
|
23829
|
+
cursor: 'pointer'
|
|
23830
|
+
},
|
|
23831
|
+
'@media (max-width: 800px)': {
|
|
23832
|
+
width: '50%'
|
|
23833
|
+
}
|
|
23813
23834
|
})
|
|
23814
23835
|
};
|
|
23815
23836
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -23840,7 +23861,25 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
23840
23861
|
height: '40px',
|
|
23841
23862
|
cursor: 'pointer'
|
|
23842
23863
|
}
|
|
23843
|
-
})),
|
|
23864
|
+
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
23865
|
+
style: {
|
|
23866
|
+
position: 'fixed',
|
|
23867
|
+
bottom: 15,
|
|
23868
|
+
right: 15,
|
|
23869
|
+
zIndex: 999999,
|
|
23870
|
+
transition: 'all 0.3s ease-out',
|
|
23871
|
+
width: '100%'
|
|
23872
|
+
},
|
|
23873
|
+
"class": "text-end"
|
|
23874
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
23875
|
+
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
23876
|
+
style: {},
|
|
23877
|
+
onClick: function onClick() {
|
|
23878
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
23879
|
+
}
|
|
23880
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
23881
|
+
"class": "m-0 p-0"
|
|
23882
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React.createElement(SocialMediaSection, {
|
|
23844
23883
|
sectionpropertiesprops: sectionproperties,
|
|
23845
23884
|
templateproperties_contextprops: templateproperties_context,
|
|
23846
23885
|
actions: actions
|
|
@@ -60018,7 +60057,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
60018
60057
|
':before': {
|
|
60019
60058
|
width: '100%',
|
|
60020
60059
|
height: '100%',
|
|
60021
|
-
background: 'rgba(0,0,0,
|
|
60060
|
+
background: 'rgba(0,0,0,' + sectionproperties.cardbg_opacity + ')',
|
|
60022
60061
|
zIndex: 1,
|
|
60023
60062
|
position: 'absolute',
|
|
60024
60063
|
content: 's',
|
package/dist/index.umd.js
CHANGED
|
@@ -3744,6 +3744,9 @@
|
|
|
3744
3744
|
});
|
|
3745
3745
|
}
|
|
3746
3746
|
});
|
|
3747
|
+
if ((tempslots === null || tempslots === void 0 ? void 0 : tempslots.length) == 0) {
|
|
3748
|
+
NotificationManager.warning('', 'No Available Slots');
|
|
3749
|
+
}
|
|
3747
3750
|
if (reservedslotArrtobetaken.length != 0) {
|
|
3748
3751
|
reservedslottobetaken = reservedslotArrtobetaken[0].slot;
|
|
3749
3752
|
setaddtocardpayloadobj(_objectSpread$2t(_objectSpread$2t({}, addtocardpayloadobj), {}, {
|
|
@@ -5759,7 +5762,7 @@
|
|
|
5759
5762
|
function ownKeys$2q(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; }
|
|
5760
5763
|
function _objectSpread$2q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5761
5764
|
var Productinfo = function Productinfo(props) {
|
|
5762
|
-
var _css, _ref, _ref2, _ref3, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4,
|
|
5765
|
+
var _css, _ref, _ref2, _ref3, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
|
|
5763
5766
|
var _useState = React.useState({}),
|
|
5764
5767
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
5765
5768
|
ProductInfoObj = _useState2[0],
|
|
@@ -5909,7 +5912,8 @@
|
|
|
5909
5912
|
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.product_videos) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.length) == 0) {
|
|
5910
5913
|
settabname('shippingpolicytab');
|
|
5911
5914
|
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.product_videos) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) != 0 && sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide') {
|
|
5912
|
-
settabname('videostab');
|
|
5915
|
+
// settabname('videostab');
|
|
5916
|
+
settabname('reviewstab');
|
|
5913
5917
|
}
|
|
5914
5918
|
}
|
|
5915
5919
|
}, [StatePagePropertiesContext]);
|
|
@@ -7215,7 +7219,7 @@
|
|
|
7215
7219
|
style: {
|
|
7216
7220
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
7217
7221
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
7218
|
-
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.product_videos) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.length) != 0 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7222
|
+
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.product_videos) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.length) != 0 ? 'flex' : (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.productcanrate) == 1 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.product_videos) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.length) == 0 ? 'none' : 'flex'
|
|
7219
7223
|
}
|
|
7220
7224
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7221
7225
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
@@ -7278,12 +7282,12 @@
|
|
|
7278
7282
|
onClick: function onClick() {
|
|
7279
7283
|
settabname('refundpolicytab');
|
|
7280
7284
|
}
|
|
7281
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7285
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productinfo) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.product_videos) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
7282
7286
|
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
7283
7287
|
onClick: function onClick() {
|
|
7284
7288
|
settabname('videostab');
|
|
7285
7289
|
}
|
|
7286
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7290
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer44 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
7287
7291
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
7288
7292
|
onClick: function onClick() {
|
|
7289
7293
|
settabname('reviewstab');
|
|
@@ -7338,12 +7342,12 @@
|
|
|
7338
7342
|
onClick: function onClick() {
|
|
7339
7343
|
settabname('refundpolicytab');
|
|
7340
7344
|
}
|
|
7341
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7345
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productinfo) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.product_videos) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
7342
7346
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
7343
7347
|
onClick: function onClick() {
|
|
7344
7348
|
settabname('videostab');
|
|
7345
7349
|
}
|
|
7346
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7350
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : _fetchProductInfoQuer46.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
7347
7351
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
7348
7352
|
onClick: function onClick() {
|
|
7349
7353
|
settabname('reviewstab');
|
|
@@ -18559,7 +18563,7 @@
|
|
|
18559
18563
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18560
18564
|
"class": section_cssstyles.innercardssection + ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 '
|
|
18561
18565
|
}, sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18562
|
-
"class": "col-lg-12 mb-3 mt-5"
|
|
18566
|
+
"class": "col-lg-12 mb-3 mt-5 text-start"
|
|
18563
18567
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18564
18568
|
"class": "m-0",
|
|
18565
18569
|
style: {
|
|
@@ -18568,8 +18572,8 @@
|
|
|
18568
18572
|
// color: '#62554a'
|
|
18569
18573
|
color: sectionproperties.sectionTitleColor
|
|
18570
18574
|
}
|
|
18571
|
-
}, show_product_group_titles()['title_en'])), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18572
|
-
"class": "col-lg-12 mb-3"
|
|
18575
|
+
}, langdetect == 'en' ? show_product_group_titles()['title_en'] : show_product_group_titles()['title_ar'])), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18576
|
+
"class": "col-lg-12 mb-3 text-start"
|
|
18573
18577
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18574
18578
|
"class": "m-0",
|
|
18575
18579
|
style: {
|
|
@@ -18578,7 +18582,7 @@
|
|
|
18578
18582
|
|
|
18579
18583
|
// color: '#62554a',
|
|
18580
18584
|
}
|
|
18581
|
-
}, plainString(show_product_group_titles()['description_en']))), sectionproperties.showFilter == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18585
|
+
}, langdetect == 'en' ? plainString(show_product_group_titles()['description_en']) : plainString(show_product_group_titles()['description_ar']))), sectionproperties.showFilter == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18582
18586
|
className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex p-0' : sectionproperties.numofcols == '2' ? 'col-lg-2 d-flex' : 'col-lg-3 d-flex'
|
|
18583
18587
|
}, /*#__PURE__*/React__default["default"].createElement(Filter$1, {
|
|
18584
18588
|
sectionpropertiesprops: sectionproperties,
|
|
@@ -23683,6 +23687,23 @@
|
|
|
23683
23687
|
'::placeholder': {
|
|
23684
23688
|
color: sectionproperties.searchbarcontinput_color
|
|
23685
23689
|
}
|
|
23690
|
+
}),
|
|
23691
|
+
floatingbtn: glamor.css({
|
|
23692
|
+
width: sectionproperties.floatingbtnwidth + '%',
|
|
23693
|
+
height: sectionproperties.floatingbtnheight + 'px',
|
|
23694
|
+
background: sectionproperties.floatingbtnbg,
|
|
23695
|
+
fontSize: sectionproperties.floatingbtnfontsize + 'px',
|
|
23696
|
+
color: sectionproperties.floatingbtncolor,
|
|
23697
|
+
borderRadius: 10,
|
|
23698
|
+
':hover': {
|
|
23699
|
+
color: sectionproperties.floatingbtncolorhover,
|
|
23700
|
+
backgroundColor: sectionproperties.floatingbtnbghover,
|
|
23701
|
+
transitions: '.3s',
|
|
23702
|
+
cursor: 'pointer'
|
|
23703
|
+
},
|
|
23704
|
+
'@media (max-width: 800px)': {
|
|
23705
|
+
width: '50%'
|
|
23706
|
+
}
|
|
23686
23707
|
})
|
|
23687
23708
|
};
|
|
23688
23709
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -23713,7 +23734,25 @@
|
|
|
23713
23734
|
height: '40px',
|
|
23714
23735
|
cursor: 'pointer'
|
|
23715
23736
|
}
|
|
23716
|
-
})),
|
|
23737
|
+
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23738
|
+
style: {
|
|
23739
|
+
position: 'fixed',
|
|
23740
|
+
bottom: 15,
|
|
23741
|
+
right: 15,
|
|
23742
|
+
zIndex: 999999,
|
|
23743
|
+
transition: 'all 0.3s ease-out',
|
|
23744
|
+
width: '100%'
|
|
23745
|
+
},
|
|
23746
|
+
"class": "text-end"
|
|
23747
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23748
|
+
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
23749
|
+
style: {},
|
|
23750
|
+
onClick: function onClick() {
|
|
23751
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
23752
|
+
}
|
|
23753
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
23754
|
+
"class": "m-0 p-0"
|
|
23755
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
|
|
23717
23756
|
sectionpropertiesprops: sectionproperties,
|
|
23718
23757
|
templateproperties_contextprops: templateproperties_context,
|
|
23719
23758
|
actions: actions
|
|
@@ -59891,7 +59930,7 @@
|
|
|
59891
59930
|
':before': {
|
|
59892
59931
|
width: '100%',
|
|
59893
59932
|
height: '100%',
|
|
59894
|
-
background: 'rgba(0,0,0,
|
|
59933
|
+
background: 'rgba(0,0,0,' + sectionproperties.cardbg_opacity + ')',
|
|
59895
59934
|
zIndex: 1,
|
|
59896
59935
|
position: 'absolute',
|
|
59897
59936
|
content: 's',
|