tabexseriescomponents 0.2.1122 → 0.2.1124
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 +33 -28
- package/dist/index.esm.js +33 -28
- package/dist/index.umd.js +33 -28
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -4035,6 +4035,9 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
4035
4035
|
// color: sectionproperties.time_secondarycolor,
|
|
4036
4036
|
// borderColor: sectionproperties.time_secondarycolor,
|
|
4037
4037
|
// },
|
|
4038
|
+
}),
|
|
4039
|
+
selectedpickers: glamor.css({
|
|
4040
|
+
color: '#000'
|
|
4038
4041
|
})
|
|
4039
4042
|
};
|
|
4040
4043
|
function getLastChoosedSlotIndex(slots) {
|
|
@@ -4203,7 +4206,8 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
4203
4206
|
from: date
|
|
4204
4207
|
}));
|
|
4205
4208
|
setselectedfromdate(date);
|
|
4206
|
-
}
|
|
4209
|
+
},
|
|
4210
|
+
className: "".concat(TabsStyles.selectedpickers)
|
|
4207
4211
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4208
4212
|
"class": "col-lg-6 col-md-12 col-sm-12 mb-2 pl-1 pr-1"
|
|
4209
4213
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4224,7 +4228,8 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
4224
4228
|
to: date
|
|
4225
4229
|
}));
|
|
4226
4230
|
setselectedtodate(date);
|
|
4227
|
-
}
|
|
4231
|
+
},
|
|
4232
|
+
className: "".concat(TabsStyles.selectedpickers)
|
|
4228
4233
|
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.serviceinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.scheduletype) == 'minutes' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4229
4234
|
"class": "col-lg-12 col-md-12 col-sm-12 mb-2"
|
|
4230
4235
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4490,7 +4495,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
4490
4495
|
fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
|
|
4491
4496
|
fontWeight: sectionproperties.quantitybtn_textfontweight
|
|
4492
4497
|
}
|
|
4493
|
-
}, addtocardpayloadobj.quantity))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4498
|
+
}, addtocardpayloadobj.quantity))), sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4494
4499
|
className: "col-lg-12 mb-3"
|
|
4495
4500
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4496
4501
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -6146,7 +6151,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
6146
6151
|
"class": 'row m-0 w-100'
|
|
6147
6152
|
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productimages) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.length) != 0 && (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 ? void 0 : _fetchProductInfoQuer40.productimages.map(function (item, index) {
|
|
6148
6153
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6149
|
-
"class": "col-lg-3 col-md-4 col-md-6 mb-
|
|
6154
|
+
"class": "col-lg-3 col-md-4 col-md-6 mb-3"
|
|
6150
6155
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6151
6156
|
"class": ' w-100 h-100',
|
|
6152
6157
|
style: {}
|
|
@@ -6515,7 +6520,7 @@ var Article_itemtype = function Article_itemtype(props) {
|
|
|
6515
6520
|
function ownKeys$2B(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; }
|
|
6516
6521
|
function _objectSpread$2B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2B(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6517
6522
|
var Productinfo = function Productinfo(props) {
|
|
6518
|
-
var _css, _fetchProductInfoQuer83, _ref, _fetchProductInfoQuer84, _ref2, _fetchProductInfoQuer85, _ref3, _authdetailsContext$
|
|
6523
|
+
var _css, _fetchProductInfoQuer83, _ref, _fetchProductInfoQuer84, _ref2, _fetchProductInfoQuer85, _ref3, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i22, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i23, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100;
|
|
6519
6524
|
var _useState = React.useState({}),
|
|
6520
6525
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
6521
6526
|
ProductInfoObj = _useState2[0],
|
|
@@ -7615,10 +7620,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
7615
7620
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
7616
7621
|
runfunc = true;
|
|
7617
7622
|
} else {
|
|
7618
|
-
var _authdetailsContext$i6, _authdetailsContext$i7;
|
|
7623
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8;
|
|
7619
7624
|
// here
|
|
7620
7625
|
setvariantnotchosendisclaimer('This field is required');
|
|
7621
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : 'Please Choose Product Options');
|
|
7626
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
7622
7627
|
}
|
|
7623
7628
|
} else {
|
|
7624
7629
|
runfunc = true;
|
|
@@ -7702,9 +7707,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
7702
7707
|
};
|
|
7703
7708
|
};
|
|
7704
7709
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
7705
|
-
var _authdetailsContext$
|
|
7710
|
+
var _authdetailsContext$i9;
|
|
7706
7711
|
var policyobj = {};
|
|
7707
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7712
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.instpolicies) === null || _authdetailsContext$i9 === void 0 || _authdetailsContext$i9.forEach(function (item, index) {
|
|
7708
7713
|
if (item.policytype == policytype) {
|
|
7709
7714
|
policyobj = item;
|
|
7710
7715
|
}
|
|
@@ -7713,7 +7718,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7713
7718
|
};
|
|
7714
7719
|
var relatedproducts = function relatedproducts() {
|
|
7715
7720
|
if (Relatedproducts.length != 0) {
|
|
7716
|
-
var _authdetailsContext$
|
|
7721
|
+
var _authdetailsContext$i0;
|
|
7717
7722
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7718
7723
|
className: "w-100 row ml-0 mr-0 d-flex justify-content-start pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
7719
7724
|
style: {
|
|
@@ -7755,7 +7760,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7755
7760
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
7756
7761
|
transitionBehavior: 'auto',
|
|
7757
7762
|
wrapperClassName: '',
|
|
7758
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7763
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
7759
7764
|
scrollContainerClassName: 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
7760
7765
|
}, Relatedproducts.map(function (item, index) {
|
|
7761
7766
|
if (item.productinfo != null) {
|
|
@@ -7826,10 +7831,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
7826
7831
|
if (addtocartobjparam.variantid.length != 0) {
|
|
7827
7832
|
runfunc = true;
|
|
7828
7833
|
} else {
|
|
7829
|
-
var _authdetailsContext$
|
|
7834
|
+
var _authdetailsContext$i1;
|
|
7830
7835
|
// here
|
|
7831
7836
|
setvariantnotchosendisclaimer('This field is required');
|
|
7832
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7837
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
7833
7838
|
}
|
|
7834
7839
|
} else {
|
|
7835
7840
|
runfunc = true;
|
|
@@ -8632,7 +8637,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8632
8637
|
})));
|
|
8633
8638
|
};
|
|
8634
8639
|
var StoreInfo = function StoreInfo(position) {
|
|
8635
|
-
var _fetchProductInfoQuer77, _authdetailsContext$
|
|
8640
|
+
var _fetchProductInfoQuer77, _authdetailsContext$i11, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i12, _authdetailsContext$i14;
|
|
8636
8641
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8637
8642
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
8638
8643
|
style: {
|
|
@@ -8711,8 +8716,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8711
8716
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8712
8717
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-t col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
8713
8718
|
onClick: function onClick() {
|
|
8714
|
-
var _authdetailsContext$
|
|
8715
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8719
|
+
var _authdetailsContext$i10;
|
|
8720
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 || (_authdetailsContext$i10 = _authdetailsContext$i10.contactinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.email), '_self');
|
|
8716
8721
|
}
|
|
8717
8722
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8718
8723
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -8732,7 +8737,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8732
8737
|
style: {
|
|
8733
8738
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8734
8739
|
}
|
|
8735
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8740
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 || (_authdetailsContext$i11 = _authdetailsContext$i11.contactinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.email))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8736
8741
|
"class": "col-lg-12 my-2",
|
|
8737
8742
|
style: {
|
|
8738
8743
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -8784,25 +8789,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
8784
8789
|
}
|
|
8785
8790
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8786
8791
|
"class": "m-0 p-0"
|
|
8787
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8792
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 || (_authdetailsContext$i12 = _authdetailsContext$i12.contactinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8788
8793
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
8789
8794
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8790
8795
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
8791
8796
|
onClick: function onClick() {
|
|
8792
|
-
var _authdetailsContext$
|
|
8793
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8797
|
+
var _authdetailsContext$i13;
|
|
8798
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 || (_authdetailsContext$i13 = _authdetailsContext$i13.contactinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.email), '_self');
|
|
8794
8799
|
}
|
|
8795
8800
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8796
8801
|
"class": "m-0 p-0"
|
|
8797
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8802
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8798
8803
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
8799
8804
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8800
8805
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
8801
8806
|
onClick: function onClick() {
|
|
8802
|
-
var _authdetailsContext$
|
|
8803
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8804
|
-
var _authdetailsContext$
|
|
8805
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8807
|
+
var _authdetailsContext$i15;
|
|
8808
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.whatsappnumber) != null) {
|
|
8809
|
+
var _authdetailsContext$i16;
|
|
8810
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.whatsappnumber), '_blank');
|
|
8806
8811
|
}
|
|
8807
8812
|
}
|
|
8808
8813
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -8910,7 +8915,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8910
8915
|
lang: lang,
|
|
8911
8916
|
srcfromprops: props.srcfromprops
|
|
8912
8917
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
8913
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8918
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8914
8919
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
8915
8920
|
style: {
|
|
8916
8921
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -9101,7 +9106,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9101
9106
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
9102
9107
|
sectionproperties: sectionproperties
|
|
9103
9108
|
})
|
|
9104
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9109
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9105
9110
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
9106
9111
|
style: {
|
|
9107
9112
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -9252,7 +9257,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9252
9257
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
9253
9258
|
sectionproperties: sectionproperties
|
|
9254
9259
|
})
|
|
9255
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9260
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9256
9261
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
9257
9262
|
style: {
|
|
9258
9263
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
package/dist/index.esm.js
CHANGED
|
@@ -3984,6 +3984,9 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3984
3984
|
// color: sectionproperties.time_secondarycolor,
|
|
3985
3985
|
// borderColor: sectionproperties.time_secondarycolor,
|
|
3986
3986
|
// },
|
|
3987
|
+
}),
|
|
3988
|
+
selectedpickers: css({
|
|
3989
|
+
color: '#000'
|
|
3987
3990
|
})
|
|
3988
3991
|
};
|
|
3989
3992
|
function getLastChoosedSlotIndex(slots) {
|
|
@@ -4152,7 +4155,8 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
4152
4155
|
from: date
|
|
4153
4156
|
}));
|
|
4154
4157
|
setselectedfromdate(date);
|
|
4155
|
-
}
|
|
4158
|
+
},
|
|
4159
|
+
className: "".concat(TabsStyles.selectedpickers)
|
|
4156
4160
|
}))))), /*#__PURE__*/React.createElement("div", {
|
|
4157
4161
|
"class": "col-lg-6 col-md-12 col-sm-12 mb-2 pl-1 pr-1"
|
|
4158
4162
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -4173,7 +4177,8 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
4173
4177
|
to: date
|
|
4174
4178
|
}));
|
|
4175
4179
|
setselectedtodate(date);
|
|
4176
|
-
}
|
|
4180
|
+
},
|
|
4181
|
+
className: "".concat(TabsStyles.selectedpickers)
|
|
4177
4182
|
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.serviceinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.scheduletype) == 'minutes' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
4178
4183
|
"class": "col-lg-12 col-md-12 col-sm-12 mb-2"
|
|
4179
4184
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -4439,7 +4444,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
4439
4444
|
fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
|
|
4440
4445
|
fontWeight: sectionproperties.quantitybtn_textfontweight
|
|
4441
4446
|
}
|
|
4442
|
-
}, addtocardpayloadobj.quantity))), /*#__PURE__*/React.createElement("div", {
|
|
4447
|
+
}, addtocardpayloadobj.quantity))), sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
4443
4448
|
className: "col-lg-12 mb-3"
|
|
4444
4449
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4445
4450
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -6095,7 +6100,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
6095
6100
|
"class": 'row m-0 w-100'
|
|
6096
6101
|
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productimages) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.length) != 0 && (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 ? void 0 : _fetchProductInfoQuer40.productimages.map(function (item, index) {
|
|
6097
6102
|
return /*#__PURE__*/React.createElement("div", {
|
|
6098
|
-
"class": "col-lg-3 col-md-4 col-md-6 mb-
|
|
6103
|
+
"class": "col-lg-3 col-md-4 col-md-6 mb-3"
|
|
6099
6104
|
}, /*#__PURE__*/React.createElement("div", {
|
|
6100
6105
|
"class": ' w-100 h-100',
|
|
6101
6106
|
style: {}
|
|
@@ -6464,7 +6469,7 @@ var Article_itemtype = function Article_itemtype(props) {
|
|
|
6464
6469
|
function ownKeys$2B(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; }
|
|
6465
6470
|
function _objectSpread$2B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2B(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6466
6471
|
var Productinfo = function Productinfo(props) {
|
|
6467
|
-
var _css, _fetchProductInfoQuer83, _ref, _fetchProductInfoQuer84, _ref2, _fetchProductInfoQuer85, _ref3, _authdetailsContext$
|
|
6472
|
+
var _css, _fetchProductInfoQuer83, _ref, _fetchProductInfoQuer84, _ref2, _fetchProductInfoQuer85, _ref3, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i22, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i23, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100;
|
|
6468
6473
|
var _useState = useState({}),
|
|
6469
6474
|
_useState2 = _slicedToArray(_useState, 2),
|
|
6470
6475
|
ProductInfoObj = _useState2[0],
|
|
@@ -7564,10 +7569,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
7564
7569
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
7565
7570
|
runfunc = true;
|
|
7566
7571
|
} else {
|
|
7567
|
-
var _authdetailsContext$i6, _authdetailsContext$i7;
|
|
7572
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8;
|
|
7568
7573
|
// here
|
|
7569
7574
|
setvariantnotchosendisclaimer('This field is required');
|
|
7570
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : 'Please Choose Product Options');
|
|
7575
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
7571
7576
|
}
|
|
7572
7577
|
} else {
|
|
7573
7578
|
runfunc = true;
|
|
@@ -7651,9 +7656,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
7651
7656
|
};
|
|
7652
7657
|
};
|
|
7653
7658
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
7654
|
-
var _authdetailsContext$
|
|
7659
|
+
var _authdetailsContext$i9;
|
|
7655
7660
|
var policyobj = {};
|
|
7656
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7661
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.instpolicies) === null || _authdetailsContext$i9 === void 0 || _authdetailsContext$i9.forEach(function (item, index) {
|
|
7657
7662
|
if (item.policytype == policytype) {
|
|
7658
7663
|
policyobj = item;
|
|
7659
7664
|
}
|
|
@@ -7662,7 +7667,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7662
7667
|
};
|
|
7663
7668
|
var relatedproducts = function relatedproducts() {
|
|
7664
7669
|
if (Relatedproducts.length != 0) {
|
|
7665
|
-
var _authdetailsContext$
|
|
7670
|
+
var _authdetailsContext$i0;
|
|
7666
7671
|
return /*#__PURE__*/React.createElement("div", {
|
|
7667
7672
|
className: "w-100 row ml-0 mr-0 d-flex justify-content-start pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
7668
7673
|
style: {
|
|
@@ -7704,7 +7709,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7704
7709
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
7705
7710
|
transitionBehavior: 'auto',
|
|
7706
7711
|
wrapperClassName: '',
|
|
7707
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7712
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
7708
7713
|
scrollContainerClassName: 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
7709
7714
|
}, Relatedproducts.map(function (item, index) {
|
|
7710
7715
|
if (item.productinfo != null) {
|
|
@@ -7775,10 +7780,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
7775
7780
|
if (addtocartobjparam.variantid.length != 0) {
|
|
7776
7781
|
runfunc = true;
|
|
7777
7782
|
} else {
|
|
7778
|
-
var _authdetailsContext$
|
|
7783
|
+
var _authdetailsContext$i1;
|
|
7779
7784
|
// here
|
|
7780
7785
|
setvariantnotchosendisclaimer('This field is required');
|
|
7781
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7786
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
7782
7787
|
}
|
|
7783
7788
|
} else {
|
|
7784
7789
|
runfunc = true;
|
|
@@ -8581,7 +8586,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8581
8586
|
})));
|
|
8582
8587
|
};
|
|
8583
8588
|
var StoreInfo = function StoreInfo(position) {
|
|
8584
|
-
var _fetchProductInfoQuer77, _authdetailsContext$
|
|
8589
|
+
var _fetchProductInfoQuer77, _authdetailsContext$i11, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i12, _authdetailsContext$i14;
|
|
8585
8590
|
return /*#__PURE__*/React.createElement("div", {
|
|
8586
8591
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
8587
8592
|
style: {
|
|
@@ -8660,8 +8665,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8660
8665
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
8661
8666
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-t col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
8662
8667
|
onClick: function onClick() {
|
|
8663
|
-
var _authdetailsContext$
|
|
8664
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8668
|
+
var _authdetailsContext$i10;
|
|
8669
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 || (_authdetailsContext$i10 = _authdetailsContext$i10.contactinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.email), '_self');
|
|
8665
8670
|
}
|
|
8666
8671
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8667
8672
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -8681,7 +8686,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8681
8686
|
style: {
|
|
8682
8687
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8683
8688
|
}
|
|
8684
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8689
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 || (_authdetailsContext$i11 = _authdetailsContext$i11.contactinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.email))), /*#__PURE__*/React.createElement("div", {
|
|
8685
8690
|
"class": "col-lg-12 my-2",
|
|
8686
8691
|
style: {
|
|
8687
8692
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -8733,25 +8738,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
8733
8738
|
}
|
|
8734
8739
|
}, /*#__PURE__*/React.createElement("p", {
|
|
8735
8740
|
"class": "m-0 p-0"
|
|
8736
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8741
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 || (_authdetailsContext$i12 = _authdetailsContext$i12.contactinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.email) != null && /*#__PURE__*/React.createElement("div", {
|
|
8737
8742
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
8738
8743
|
}, /*#__PURE__*/React.createElement("button", {
|
|
8739
8744
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
8740
8745
|
onClick: function onClick() {
|
|
8741
|
-
var _authdetailsContext$
|
|
8742
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8746
|
+
var _authdetailsContext$i13;
|
|
8747
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 || (_authdetailsContext$i13 = _authdetailsContext$i13.contactinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.email), '_self');
|
|
8743
8748
|
}
|
|
8744
8749
|
}, /*#__PURE__*/React.createElement("p", {
|
|
8745
8750
|
"class": "m-0 p-0"
|
|
8746
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8751
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.whatsappnumber) != null && /*#__PURE__*/React.createElement("div", {
|
|
8747
8752
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
8748
8753
|
}, /*#__PURE__*/React.createElement("button", {
|
|
8749
8754
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
8750
8755
|
onClick: function onClick() {
|
|
8751
|
-
var _authdetailsContext$
|
|
8752
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8753
|
-
var _authdetailsContext$
|
|
8754
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8756
|
+
var _authdetailsContext$i15;
|
|
8757
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.whatsappnumber) != null) {
|
|
8758
|
+
var _authdetailsContext$i16;
|
|
8759
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.whatsappnumber), '_blank');
|
|
8755
8760
|
}
|
|
8756
8761
|
}
|
|
8757
8762
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -8859,7 +8864,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8859
8864
|
lang: lang,
|
|
8860
8865
|
srcfromprops: props.srcfromprops
|
|
8861
8866
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty(_defineProperty(_defineProperty(_ref3, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
8862
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8867
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React.createElement("div", {
|
|
8863
8868
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
8864
8869
|
style: {
|
|
8865
8870
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -9050,7 +9055,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9050
9055
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
9051
9056
|
sectionproperties: sectionproperties
|
|
9052
9057
|
})
|
|
9053
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9058
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React.createElement("div", {
|
|
9054
9059
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
9055
9060
|
style: {
|
|
9056
9061
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -9201,7 +9206,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9201
9206
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
9202
9207
|
sectionproperties: sectionproperties
|
|
9203
9208
|
})
|
|
9204
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9209
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React.createElement("div", {
|
|
9205
9210
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
9206
9211
|
style: {
|
|
9207
9212
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
package/dist/index.umd.js
CHANGED
|
@@ -3843,6 +3843,9 @@
|
|
|
3843
3843
|
// color: sectionproperties.time_secondarycolor,
|
|
3844
3844
|
// borderColor: sectionproperties.time_secondarycolor,
|
|
3845
3845
|
// },
|
|
3846
|
+
}),
|
|
3847
|
+
selectedpickers: glamor.css({
|
|
3848
|
+
color: '#000'
|
|
3846
3849
|
})
|
|
3847
3850
|
};
|
|
3848
3851
|
function getLastChoosedSlotIndex(slots) {
|
|
@@ -4011,7 +4014,8 @@
|
|
|
4011
4014
|
from: date
|
|
4012
4015
|
}));
|
|
4013
4016
|
setselectedfromdate(date);
|
|
4014
|
-
}
|
|
4017
|
+
},
|
|
4018
|
+
className: "".concat(TabsStyles.selectedpickers)
|
|
4015
4019
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4016
4020
|
"class": "col-lg-6 col-md-12 col-sm-12 mb-2 pl-1 pr-1"
|
|
4017
4021
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4032,7 +4036,8 @@
|
|
|
4032
4036
|
to: date
|
|
4033
4037
|
}));
|
|
4034
4038
|
setselectedtodate(date);
|
|
4035
|
-
}
|
|
4039
|
+
},
|
|
4040
|
+
className: "".concat(TabsStyles.selectedpickers)
|
|
4036
4041
|
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.serviceinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.scheduletype) == 'minutes' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4037
4042
|
"class": "col-lg-12 col-md-12 col-sm-12 mb-2"
|
|
4038
4043
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4298,7 +4303,7 @@
|
|
|
4298
4303
|
fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
|
|
4299
4304
|
fontWeight: sectionproperties.quantitybtn_textfontweight
|
|
4300
4305
|
}
|
|
4301
|
-
}, addtocardpayloadobj.quantity))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4306
|
+
}, addtocardpayloadobj.quantity))), sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4302
4307
|
className: "col-lg-12 mb-3"
|
|
4303
4308
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4304
4309
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -5954,7 +5959,7 @@
|
|
|
5954
5959
|
"class": 'row m-0 w-100'
|
|
5955
5960
|
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productimages) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.length) != 0 && (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 ? void 0 : _fetchProductInfoQuer40.productimages.map(function (item, index) {
|
|
5956
5961
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5957
|
-
"class": "col-lg-3 col-md-4 col-md-6 mb-
|
|
5962
|
+
"class": "col-lg-3 col-md-4 col-md-6 mb-3"
|
|
5958
5963
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5959
5964
|
"class": ' w-100 h-100',
|
|
5960
5965
|
style: {}
|
|
@@ -6323,7 +6328,7 @@
|
|
|
6323
6328
|
function ownKeys$2B(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; }
|
|
6324
6329
|
function _objectSpread$2B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2B(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6325
6330
|
var Productinfo = function Productinfo(props) {
|
|
6326
|
-
var _css, _fetchProductInfoQuer83, _ref, _fetchProductInfoQuer84, _ref2, _fetchProductInfoQuer85, _ref3, _authdetailsContext$
|
|
6331
|
+
var _css, _fetchProductInfoQuer83, _ref, _fetchProductInfoQuer84, _ref2, _fetchProductInfoQuer85, _ref3, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i22, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i23, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100;
|
|
6327
6332
|
var _useState = React.useState({}),
|
|
6328
6333
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
6329
6334
|
ProductInfoObj = _useState2[0],
|
|
@@ -7423,10 +7428,10 @@
|
|
|
7423
7428
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
7424
7429
|
runfunc = true;
|
|
7425
7430
|
} else {
|
|
7426
|
-
var _authdetailsContext$i6, _authdetailsContext$i7;
|
|
7431
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8;
|
|
7427
7432
|
// here
|
|
7428
7433
|
setvariantnotchosendisclaimer('This field is required');
|
|
7429
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : 'Please Choose Product Options');
|
|
7434
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
7430
7435
|
}
|
|
7431
7436
|
} else {
|
|
7432
7437
|
runfunc = true;
|
|
@@ -7510,9 +7515,9 @@
|
|
|
7510
7515
|
};
|
|
7511
7516
|
};
|
|
7512
7517
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
7513
|
-
var _authdetailsContext$
|
|
7518
|
+
var _authdetailsContext$i9;
|
|
7514
7519
|
var policyobj = {};
|
|
7515
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7520
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.instpolicies) === null || _authdetailsContext$i9 === void 0 || _authdetailsContext$i9.forEach(function (item, index) {
|
|
7516
7521
|
if (item.policytype == policytype) {
|
|
7517
7522
|
policyobj = item;
|
|
7518
7523
|
}
|
|
@@ -7521,7 +7526,7 @@
|
|
|
7521
7526
|
};
|
|
7522
7527
|
var relatedproducts = function relatedproducts() {
|
|
7523
7528
|
if (Relatedproducts.length != 0) {
|
|
7524
|
-
var _authdetailsContext$
|
|
7529
|
+
var _authdetailsContext$i0;
|
|
7525
7530
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7526
7531
|
className: "w-100 row ml-0 mr-0 d-flex justify-content-start pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
7527
7532
|
style: {
|
|
@@ -7563,7 +7568,7 @@
|
|
|
7563
7568
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
7564
7569
|
transitionBehavior: 'auto',
|
|
7565
7570
|
wrapperClassName: '',
|
|
7566
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7571
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
7567
7572
|
scrollContainerClassName: 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
7568
7573
|
}, Relatedproducts.map(function (item, index) {
|
|
7569
7574
|
if (item.productinfo != null) {
|
|
@@ -7634,10 +7639,10 @@
|
|
|
7634
7639
|
if (addtocartobjparam.variantid.length != 0) {
|
|
7635
7640
|
runfunc = true;
|
|
7636
7641
|
} else {
|
|
7637
|
-
var _authdetailsContext$
|
|
7642
|
+
var _authdetailsContext$i1;
|
|
7638
7643
|
// here
|
|
7639
7644
|
setvariantnotchosendisclaimer('This field is required');
|
|
7640
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7645
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
7641
7646
|
}
|
|
7642
7647
|
} else {
|
|
7643
7648
|
runfunc = true;
|
|
@@ -8440,7 +8445,7 @@
|
|
|
8440
8445
|
})));
|
|
8441
8446
|
};
|
|
8442
8447
|
var StoreInfo = function StoreInfo(position) {
|
|
8443
|
-
var _fetchProductInfoQuer77, _authdetailsContext$
|
|
8448
|
+
var _fetchProductInfoQuer77, _authdetailsContext$i11, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i12, _authdetailsContext$i14;
|
|
8444
8449
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8445
8450
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
8446
8451
|
style: {
|
|
@@ -8519,8 +8524,8 @@
|
|
|
8519
8524
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8520
8525
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-t col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
8521
8526
|
onClick: function onClick() {
|
|
8522
|
-
var _authdetailsContext$
|
|
8523
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8527
|
+
var _authdetailsContext$i10;
|
|
8528
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 || (_authdetailsContext$i10 = _authdetailsContext$i10.contactinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.email), '_self');
|
|
8524
8529
|
}
|
|
8525
8530
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8526
8531
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -8540,7 +8545,7 @@
|
|
|
8540
8545
|
style: {
|
|
8541
8546
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8542
8547
|
}
|
|
8543
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8548
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 || (_authdetailsContext$i11 = _authdetailsContext$i11.contactinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.email))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8544
8549
|
"class": "col-lg-12 my-2",
|
|
8545
8550
|
style: {
|
|
8546
8551
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -8592,25 +8597,25 @@
|
|
|
8592
8597
|
}
|
|
8593
8598
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8594
8599
|
"class": "m-0 p-0"
|
|
8595
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8600
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 || (_authdetailsContext$i12 = _authdetailsContext$i12.contactinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8596
8601
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
8597
8602
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8598
8603
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
8599
8604
|
onClick: function onClick() {
|
|
8600
|
-
var _authdetailsContext$
|
|
8601
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8605
|
+
var _authdetailsContext$i13;
|
|
8606
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 || (_authdetailsContext$i13 = _authdetailsContext$i13.contactinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.email), '_self');
|
|
8602
8607
|
}
|
|
8603
8608
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8604
8609
|
"class": "m-0 p-0"
|
|
8605
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8610
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8606
8611
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
8607
8612
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8608
8613
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
8609
8614
|
onClick: function onClick() {
|
|
8610
|
-
var _authdetailsContext$
|
|
8611
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8612
|
-
var _authdetailsContext$
|
|
8613
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8615
|
+
var _authdetailsContext$i15;
|
|
8616
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.whatsappnumber) != null) {
|
|
8617
|
+
var _authdetailsContext$i16;
|
|
8618
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.whatsappnumber), '_blank');
|
|
8614
8619
|
}
|
|
8615
8620
|
}
|
|
8616
8621
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -8718,7 +8723,7 @@
|
|
|
8718
8723
|
lang: lang,
|
|
8719
8724
|
srcfromprops: props.srcfromprops
|
|
8720
8725
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
8721
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8726
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8722
8727
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
8723
8728
|
style: {
|
|
8724
8729
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -8909,7 +8914,7 @@
|
|
|
8909
8914
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
8910
8915
|
sectionproperties: sectionproperties
|
|
8911
8916
|
})
|
|
8912
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8917
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8913
8918
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
8914
8919
|
style: {
|
|
8915
8920
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -9060,7 +9065,7 @@
|
|
|
9060
9065
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
9061
9066
|
sectionproperties: sectionproperties
|
|
9062
9067
|
})
|
|
9063
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9068
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9064
9069
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
9065
9070
|
style: {
|
|
9066
9071
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|