tabexseriescomponents 0.0.599 → 0.0.601
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 +17 -13
- package/dist/index.esm.js +17 -13
- package/dist/index.umd.js +17 -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,
|
|
@@ -59357,7 +59361,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
59357
59361
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59358
59362
|
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
59359
59363
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59360
|
-
"class":
|
|
59364
|
+
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center',
|
|
59361
59365
|
style: {
|
|
59362
59366
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59363
59367
|
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
@@ -59432,7 +59436,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
59432
59436
|
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59433
59437
|
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
|
|
59434
59438
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
59435
|
-
"class": "".concat(section_styles.btn),
|
|
59439
|
+
"class": "".concat(section_styles.btn) + ' m-md-0 ',
|
|
59436
59440
|
onClick: function onClick() {
|
|
59437
59441
|
if (sectionproperties.btntype == 'WhatsApp') {
|
|
59438
59442
|
var _authdetailsContext$i;
|
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,
|
|
@@ -59308,7 +59312,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
59308
59312
|
}, /*#__PURE__*/React.createElement("div", {
|
|
59309
59313
|
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
59310
59314
|
}, /*#__PURE__*/React.createElement("div", {
|
|
59311
|
-
"class":
|
|
59315
|
+
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center',
|
|
59312
59316
|
style: {
|
|
59313
59317
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59314
59318
|
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
@@ -59383,7 +59387,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
59383
59387
|
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
59384
59388
|
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
|
|
59385
59389
|
}, /*#__PURE__*/React.createElement("button", {
|
|
59386
|
-
"class": "".concat(section_styles.btn),
|
|
59390
|
+
"class": "".concat(section_styles.btn) + ' m-md-0 ',
|
|
59387
59391
|
onClick: function onClick() {
|
|
59388
59392
|
if (sectionproperties.btntype == 'WhatsApp') {
|
|
59389
59393
|
var _authdetailsContext$i;
|
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,
|
|
@@ -59181,7 +59185,7 @@
|
|
|
59181
59185
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59182
59186
|
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
59183
59187
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59184
|
-
"class":
|
|
59188
|
+
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center',
|
|
59185
59189
|
style: {
|
|
59186
59190
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59187
59191
|
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
@@ -59256,7 +59260,7 @@
|
|
|
59256
59260
|
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59257
59261
|
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
|
|
59258
59262
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
59259
|
-
"class": "".concat(section_styles.btn),
|
|
59263
|
+
"class": "".concat(section_styles.btn) + ' m-md-0 ',
|
|
59260
59264
|
onClick: function onClick() {
|
|
59261
59265
|
if (sectionproperties.btntype == 'WhatsApp') {
|
|
59262
59266
|
var _authdetailsContext$i;
|