tabexseriescomponents 0.0.209 → 0.0.212
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 +188 -95
- package/dist/index.esm.js +188 -95
- package/dist/index.umd.js +188 -95
- package/package.json +69 -69
package/dist/index.cjs.js
CHANGED
|
@@ -410,8 +410,8 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
410
410
|
}, {
|
|
411
411
|
key: "render",
|
|
412
412
|
value: function render() {
|
|
413
|
-
var setlang = this.state.setlang;
|
|
414
413
|
var setlangdefault = this.state.setlangdefault;
|
|
414
|
+
var setlang = this.state.setlang;
|
|
415
415
|
var lang = '';
|
|
416
416
|
if (this.state.langdetect == 'en') {
|
|
417
417
|
lang = this.state.lang.en;
|
|
@@ -3561,7 +3561,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
3561
3561
|
function ownKeys$1V(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3562
3562
|
function _objectSpread$1V(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1V(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1V(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3563
3563
|
var Ordershistory = function Ordershistory(props) {
|
|
3564
|
-
var _props$actions2, _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
3564
|
+
var _props$actions2, _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchorderhistoryQue4, _fetchorderhistoryQue5, _fetchorderhistoryQue6;
|
|
3565
3565
|
var lang = props.actions.lang;
|
|
3566
3566
|
var langdetect = props.actions.langdetect;
|
|
3567
3567
|
var routingcountext = props.actions.routingcountext;
|
|
@@ -4297,6 +4297,38 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
4297
4297
|
color: sectionproperties.userinfotextsecondarycolor
|
|
4298
4298
|
}
|
|
4299
4299
|
}, fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].address))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4300
|
+
className: "row m-0 w-100 mb-3",
|
|
4301
|
+
style: {
|
|
4302
|
+
background: sectionproperties.userinfo_sectionbgcolor,
|
|
4303
|
+
borderRadius: sectionproperties.userinfo_borderradius + 'px',
|
|
4304
|
+
marginTop: sectionproperties.userinfo_sectionmarginTop + 'px',
|
|
4305
|
+
marginBottom: sectionproperties.userinfo_sectionmarginbottom + 'px',
|
|
4306
|
+
border: sectionproperties.userinfo_borderwidth + 'px solid ' + sectionproperties.usserinfo_sectionbordercolor
|
|
4307
|
+
}
|
|
4308
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4309
|
+
className: "col-lg-12 pl-3 pr-3 pt-2"
|
|
4310
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4311
|
+
className: orderhistory_cssstyles.innersectiontitlestyles + ' m-0 p-0 wordbreak ',
|
|
4312
|
+
style: {
|
|
4313
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
4314
|
+
}
|
|
4315
|
+
}, langdetect == 'en' ? 'Notes' : 'الملاحظات')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4316
|
+
className: "col-lg-12 p-0"
|
|
4317
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
4318
|
+
className: "mt-2 mb-2"
|
|
4319
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4320
|
+
className: "row m-0 w-100 pl-3 pr-3 pb-2"
|
|
4321
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4322
|
+
className: "col-lg-12 d-flex fontfamilymedium p-0 text-focus mb-2"
|
|
4323
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4324
|
+
className: orderhistory_cssstyles.userinfotextstyles + ' m-0 p-0 text-capitalize ml-2 mr-2 '
|
|
4325
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4326
|
+
style: {
|
|
4327
|
+
color: sectionproperties.userinfotextsecondarycolor,
|
|
4328
|
+
fontWeight: sectionproperties.userinfo_fontweight,
|
|
4329
|
+
fontSize: sectionproperties.userinfo_fontsize + 'px'
|
|
4330
|
+
}
|
|
4331
|
+
}, fetchorderhistoryQueryContext === null || fetchorderhistoryQueryContext === void 0 ? void 0 : (_fetchorderhistoryQue4 = fetchorderhistoryQueryContext.data) === null || _fetchorderhistoryQue4 === void 0 ? void 0 : (_fetchorderhistoryQue5 = _fetchorderhistoryQue4.data) === null || _fetchorderhistoryQue5 === void 0 ? void 0 : (_fetchorderhistoryQue6 = _fetchorderhistoryQue5.ordershistory[orderindex]) === null || _fetchorderhistoryQue6 === void 0 ? void 0 : _fetchorderhistoryQue6.notes))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4300
4332
|
className: "row m-0 w-100 mb-3",
|
|
4301
4333
|
style: {
|
|
4302
4334
|
background: sectionproperties.summary_sectionbgcolor,
|
|
@@ -5511,7 +5543,7 @@ var Select$1 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
|
5511
5543
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
5512
5544
|
});
|
|
5513
5545
|
var Checkout = function Checkout(props) {
|
|
5514
|
-
var
|
|
5546
|
+
var _fetchcustomercartQue71, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue85, _fetchcustomercartQue86, _fetchcustomercartQue87, _fetchcustomercartQue88, _fetchcustomercartQue89, _fetchcustomercartQue90, _fetchcustomercartQue93, _fetchcustomercartQue94, _fetchcustomercartQue97, _fetchcustomercartQue98, _fetchcustomercartQue101, _fetchcustomercartQue102;
|
|
5515
5547
|
var _useState = React.useState(null),
|
|
5516
5548
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
5517
5549
|
timer = _useState2[0],
|
|
@@ -5613,7 +5645,7 @@ var Checkout = function Checkout(props) {
|
|
|
5613
5645
|
}
|
|
5614
5646
|
}, [authdetailsContext]);
|
|
5615
5647
|
var cartinfoupdater = function cartinfoupdater(key, value) {
|
|
5616
|
-
var _fetchcustomercartQue17, _fetchcustomercartQue18, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25, _fetchcustomercartQue26, _fetchcustomercartQue27, _fetchcustomercartQue28, _fetchcustomercartQue29, _fetchcustomercartQue30, _fetchcustomercartQue31, _fetchcustomercartQue32;
|
|
5648
|
+
var _fetchcustomercartQue17, _fetchcustomercartQue18, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25, _fetchcustomercartQue26, _fetchcustomercartQue27, _fetchcustomercartQue28, _fetchcustomercartQue29, _fetchcustomercartQue30, _fetchcustomercartQue31, _fetchcustomercartQue32, _fetchcustomercartQue33, _fetchcustomercartQue34;
|
|
5617
5649
|
var cartarr = queryClient.getQueryData('fetchcustomercart_API');
|
|
5618
5650
|
cartarr.data.customercart[key] = value;
|
|
5619
5651
|
queryClient.setQueryData('fetchcustomercart_API', cartarr);
|
|
@@ -5625,9 +5657,10 @@ var Checkout = function Checkout(props) {
|
|
|
5625
5657
|
paymentmethod: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue25 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue25 === void 0 ? void 0 : (_fetchcustomercartQue26 = _fetchcustomercartQue25.data) === null || _fetchcustomercartQue26 === void 0 ? void 0 : _fetchcustomercartQue26.customercart.paymentmethod,
|
|
5626
5658
|
name: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue27 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue27 === void 0 ? void 0 : (_fetchcustomercartQue28 = _fetchcustomercartQue27.data) === null || _fetchcustomercartQue28 === void 0 ? void 0 : _fetchcustomercartQue28.customercart.name,
|
|
5627
5659
|
email: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue29 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue29 === void 0 ? void 0 : (_fetchcustomercartQue30 = _fetchcustomercartQue29.data) === null || _fetchcustomercartQue30 === void 0 ? void 0 : _fetchcustomercartQue30.customercart.email,
|
|
5628
|
-
mobile: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue31 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue31 === void 0 ? void 0 : (_fetchcustomercartQue32 = _fetchcustomercartQue31.data) === null || _fetchcustomercartQue32 === void 0 ? void 0 : _fetchcustomercartQue32.customercart.mobile
|
|
5660
|
+
mobile: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue31 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue31 === void 0 ? void 0 : (_fetchcustomercartQue32 = _fetchcustomercartQue31.data) === null || _fetchcustomercartQue32 === void 0 ? void 0 : _fetchcustomercartQue32.customercart.mobile,
|
|
5661
|
+
notes: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue33 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue33 === void 0 ? void 0 : (_fetchcustomercartQue34 = _fetchcustomercartQue33.data) === null || _fetchcustomercartQue34 === void 0 ? void 0 : _fetchcustomercartQue34.customercart.notes
|
|
5629
5662
|
};
|
|
5630
|
-
if (key == 'address' || key == 'name' || key == 'mobile' || key == 'email') {
|
|
5663
|
+
if (key == 'address' || key == 'name' || key == 'mobile' || key == 'email' || key == 'notes') {
|
|
5631
5664
|
clearTimeout(timer);
|
|
5632
5665
|
settimer(setTimeout(function () {
|
|
5633
5666
|
ChooseState_CountryMutationContext.mutate(payloadobj);
|
|
@@ -5791,7 +5824,7 @@ var Checkout = function Checkout(props) {
|
|
|
5791
5824
|
fontSize: sectionproperties.form_labelfontsize + 'px'
|
|
5792
5825
|
}));
|
|
5793
5826
|
var Mycart = function Mycart() {
|
|
5794
|
-
var
|
|
5827
|
+
var _fetchcustomercartQue35, _fetchcustomercartQue36, _fetchcustomercartQue37, _fetchcustomercartQue38, _fetchcustomercartQue39, _fetchcustomercartQue40, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _fetchcustomercartQue67, _fetchcustomercartQue68, _fetchcustomercartQue69, _fetchcustomercartQue70;
|
|
5795
5828
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5796
5829
|
className: "row m-0 w-100"
|
|
5797
5830
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5808,7 +5841,7 @@ var Checkout = function Checkout(props) {
|
|
|
5808
5841
|
}, lang.mycart)), ChooseState_CountryMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5809
5842
|
className: "col-lg-12 allcentered p-0"
|
|
5810
5843
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.Messaging, {
|
|
5811
|
-
color: "#
|
|
5844
|
+
color: "#000",
|
|
5812
5845
|
width: "10px",
|
|
5813
5846
|
height: "10px",
|
|
5814
5847
|
duration: "1s"
|
|
@@ -5816,7 +5849,7 @@ var Checkout = function Checkout(props) {
|
|
|
5816
5849
|
className: "row m-0 w-100"
|
|
5817
5850
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5818
5851
|
className: "col-lg-12 p-0"
|
|
5819
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
5852
|
+
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue35 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue35 === void 0 ? void 0 : (_fetchcustomercartQue36 = _fetchcustomercartQue35.data) === null || _fetchcustomercartQue36 === void 0 ? void 0 : _fetchcustomercartQue36.customercart.cartitems.map(function (item, index) {
|
|
5820
5853
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5821
5854
|
className: langdetect == 'en' ? 'col-lg-12 col-md-12 col-sm-12 pt-3 pb-3 pl-2 pr-0 mb-3' : 'col-lg-12 col-md-12 col-sm-12 pt-3 pb-3 pr-2 pl-0 mb-3',
|
|
5822
5855
|
style: {
|
|
@@ -5924,26 +5957,26 @@ var Checkout = function Checkout(props) {
|
|
|
5924
5957
|
backgroundColor: sectionproperties.input_bgcolor
|
|
5925
5958
|
},
|
|
5926
5959
|
placeholder: lang.giftcarddicountcode,
|
|
5927
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
5960
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue37 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue37 === void 0 ? void 0 : (_fetchcustomercartQue38 = _fetchcustomercartQue37.data) === null || _fetchcustomercartQue38 === void 0 ? void 0 : _fetchcustomercartQue38.customercart.couponname,
|
|
5928
5961
|
onChange: function onChange(event) {
|
|
5929
5962
|
var cartarr = queryClient.getQueryData('fetchcustomercart_API');
|
|
5930
5963
|
cartarr.data.customercart.couponname = event.target.value;
|
|
5931
5964
|
queryClient.setQueryData('fetchcustomercart_API', cartarr);
|
|
5932
5965
|
},
|
|
5933
|
-
disabled: fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
5966
|
+
disabled: fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue39 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue39 !== void 0 && (_fetchcustomercartQue40 = _fetchcustomercartQue39.data) !== null && _fetchcustomercartQue40 !== void 0 && _fetchcustomercartQue40.customercart.couponexists ? true : false
|
|
5934
5967
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5935
5968
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center"
|
|
5936
5969
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
5937
5970
|
className: " ".concat(checkoutstyles.applybtnstyles),
|
|
5938
5971
|
onClick: function onClick() {
|
|
5939
|
-
var
|
|
5940
|
-
if (!(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
5941
|
-
var
|
|
5972
|
+
var _fetchcustomercartQue41, _fetchcustomercartQue42;
|
|
5973
|
+
if (!(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue41 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue41 !== void 0 && (_fetchcustomercartQue42 = _fetchcustomercartQue41.data) !== null && _fetchcustomercartQue42 !== void 0 && _fetchcustomercartQue42.customercart.couponexists)) {
|
|
5974
|
+
var _fetchcustomercartQue43, _fetchcustomercartQue44, _fetchcustomercartQue45, _fetchcustomercartQue46;
|
|
5942
5975
|
var payloadobj = {
|
|
5943
|
-
couponname: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
5976
|
+
couponname: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue43 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue43 === void 0 ? void 0 : (_fetchcustomercartQue44 = _fetchcustomercartQue43.data) === null || _fetchcustomercartQue44 === void 0 ? void 0 : _fetchcustomercartQue44.customercart.couponname,
|
|
5944
5977
|
functype: 'add'
|
|
5945
5978
|
};
|
|
5946
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
5979
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue45 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue45 === void 0 ? void 0 : (_fetchcustomercartQue46 = _fetchcustomercartQue45.data) === null || _fetchcustomercartQue46 === void 0 ? void 0 : _fetchcustomercartQue46.customercart.couponname.length) != 0) {
|
|
5947
5980
|
ApplyPromoCodeMutationContext.mutate(payloadobj);
|
|
5948
5981
|
} else {
|
|
5949
5982
|
NotificationManager.warning('', 'Please Type Promo Code');
|
|
@@ -5958,7 +5991,7 @@ var Checkout = function Checkout(props) {
|
|
|
5958
5991
|
disabled: ApplyPromoCodeMutationContext.isLoading ? true : false
|
|
5959
5992
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5960
5993
|
className: ApplyPromoCodeMutationContext.isLoading ? "".concat(generalstyles.fadeOutButton) : "".concat(generalstyles.fadeInButton)
|
|
5961
|
-
}, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
5994
|
+
}, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue47 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue47 !== void 0 && (_fetchcustomercartQue48 = _fetchcustomercartQue47.data) !== null && _fetchcustomercartQue48 !== void 0 && _fetchcustomercartQue48.customercart.couponexists ? langdetect == 'en' ? 'Remove' : 'حذف' : langdetect == 'en' ? 'Apply' : 'تطبيق'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5962
5995
|
className: ApplyPromoCodeMutationContext.isLoading ? "".concat(generalstyles.fadeInButton, " ").concat(generalstyles.btn_preloader) + ' d-flex align-items-center justify-content-center ' : "".concat(generalstyles.fadeOutButton) + ' align-items-center justify-content-center '
|
|
5963
5996
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
5964
5997
|
color: "#fff",
|
|
@@ -5975,7 +6008,7 @@ var Checkout = function Checkout(props) {
|
|
|
5975
6008
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
5976
6009
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5977
6010
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
5978
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6011
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue49 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue49 === void 0 ? void 0 : (_fetchcustomercartQue50 = _fetchcustomercartQue49.data) === null || _fetchcustomercartQue50 === void 0 ? void 0 : _fetchcustomercartQue50.customercart.totalprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 ? void 0 : (_fetchcustomercartQue52 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.customercart.couponexists) && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue53 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue53 === void 0 ? void 0 : (_fetchcustomercartQue54 = _fetchcustomercartQue53.data) === null || _fetchcustomercartQue54 === void 0 ? void 0 : _fetchcustomercartQue54.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5979
6012
|
className: "col-lg-12 p-0 mb-1"
|
|
5980
6013
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5981
6014
|
className: "row m-0 w-100"
|
|
@@ -5987,7 +6020,7 @@ var Checkout = function Checkout(props) {
|
|
|
5987
6020
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
5988
6021
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5989
6022
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-left '
|
|
5990
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6023
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue55 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue55 === void 0 ? void 0 : (_fetchcustomercartQue56 = _fetchcustomercartQue55.data) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "- ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue57 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue57 === void 0 ? void 0 : (_fetchcustomercartQue58 = _fetchcustomercartQue57.data) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.customercart.discountprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue59 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue59 === void 0 ? void 0 : (_fetchcustomercartQue60 = _fetchcustomercartQue59.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : _fetchcustomercartQue60.customercart.discountprice) == 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "0"))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5991
6024
|
className: "col-lg-12 p-0"
|
|
5992
6025
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5993
6026
|
className: "row m-0 w-100"
|
|
@@ -5995,11 +6028,11 @@ var Checkout = function Checkout(props) {
|
|
|
5995
6028
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
5996
6029
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5997
6030
|
className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
|
|
5998
|
-
}, lang.shippingfees)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6031
|
+
}, lang.shippingfees)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue61 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue61 === void 0 ? void 0 : (_fetchcustomercartQue62 = _fetchcustomercartQue61.data) === null || _fetchcustomercartQue62 === void 0 ? void 0 : _fetchcustomercartQue62.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5999
6032
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
6000
6033
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
6001
6034
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
6002
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6035
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue63 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue63 === void 0 ? void 0 : (_fetchcustomercartQue64 = _fetchcustomercartQue63.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.customercart.zoneprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue65 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue65 !== void 0 && (_fetchcustomercartQue66 = _fetchcustomercartQue65.data) !== null && _fetchcustomercartQue66 !== void 0 && _fetchcustomercartQue66.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6003
6036
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
6004
6037
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
6005
6038
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-start wordbreak ',
|
|
@@ -6038,7 +6071,7 @@ var Checkout = function Checkout(props) {
|
|
|
6038
6071
|
textTransform: sectionproperties.total_texttransform,
|
|
6039
6072
|
color: sectionproperties.total_color
|
|
6040
6073
|
}
|
|
6041
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6074
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue67 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue67 === void 0 ? void 0 : (_fetchcustomercartQue68 = _fetchcustomercartQue67.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.customercart.totalpriceafterdiscount, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6042
6075
|
className: "col-lg-12 d-flex align-items-center justify-content-center mb-2 mt-sm-3"
|
|
6043
6076
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
6044
6077
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
@@ -6052,7 +6085,7 @@ var Checkout = function Checkout(props) {
|
|
|
6052
6085
|
width: "20px",
|
|
6053
6086
|
height: "20px",
|
|
6054
6087
|
duration: "1s"
|
|
6055
|
-
}), !AddOrderMutationContext.isLoading ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6088
|
+
}), !AddOrderMutationContext.isLoading ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue69 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue69 === void 0 ? void 0 : (_fetchcustomercartQue70 = _fetchcustomercartQue69.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? lang.confirmorder : lang.confirmorder + ' ' + lang.asaguest : ''))))));
|
|
6056
6089
|
};
|
|
6057
6090
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6058
6091
|
className: 'row m-0 w-100 mb-3 d-flex justify-content-center p-sm-0 mt-sm-3'
|
|
@@ -6215,7 +6248,7 @@ var Checkout = function Checkout(props) {
|
|
|
6215
6248
|
}, lang.name), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
6216
6249
|
type: 'text',
|
|
6217
6250
|
className: "".concat(formstyles.form_control),
|
|
6218
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6251
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue71 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue71 === void 0 ? void 0 : (_fetchcustomercartQue72 = _fetchcustomercartQue71.data) === null || _fetchcustomercartQue72 === void 0 ? void 0 : _fetchcustomercartQue72.customercart.name,
|
|
6219
6252
|
onChange: function onChange(event) {
|
|
6220
6253
|
cartinfoupdater('name', event.target.value);
|
|
6221
6254
|
},
|
|
@@ -6235,7 +6268,7 @@ var Checkout = function Checkout(props) {
|
|
|
6235
6268
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
6236
6269
|
type: 'text',
|
|
6237
6270
|
className: "".concat(formstyles.form_control),
|
|
6238
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6271
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue73 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue73 === void 0 ? void 0 : (_fetchcustomercartQue74 = _fetchcustomercartQue73.data) === null || _fetchcustomercartQue74 === void 0 ? void 0 : _fetchcustomercartQue74.customercart.mobile,
|
|
6239
6272
|
onChange: function onChange(event) {
|
|
6240
6273
|
cartinfoupdater('mobile', event.target.value);
|
|
6241
6274
|
},
|
|
@@ -6255,7 +6288,7 @@ var Checkout = function Checkout(props) {
|
|
|
6255
6288
|
}, lang.email), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
6256
6289
|
type: 'text',
|
|
6257
6290
|
className: "".concat(formstyles.form_control),
|
|
6258
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6291
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : (_fetchcustomercartQue76 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.email,
|
|
6259
6292
|
onChange: function onChange(event) {
|
|
6260
6293
|
cartinfoupdater('email', event.target.value);
|
|
6261
6294
|
},
|
|
@@ -6273,9 +6306,9 @@ var Checkout = function Checkout(props) {
|
|
|
6273
6306
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
6274
6307
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
6275
6308
|
}, " ", lang.country), fetchTabexCountriesQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6276
|
-
className: "w-100"
|
|
6309
|
+
className: "w-100 allcentered mt-1"
|
|
6277
6310
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
6278
|
-
color: "
|
|
6311
|
+
color: "#000",
|
|
6279
6312
|
width: "20px",
|
|
6280
6313
|
height: "20px",
|
|
6281
6314
|
duration: "1s"
|
|
@@ -6288,8 +6321,8 @@ var Checkout = function Checkout(props) {
|
|
|
6288
6321
|
return option.id;
|
|
6289
6322
|
},
|
|
6290
6323
|
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
6291
|
-
var
|
|
6292
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6324
|
+
var _fetchcustomercartQue77, _fetchcustomercartQue78;
|
|
6325
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : (_fetchcustomercartQue78 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.customercart.countryid);
|
|
6293
6326
|
}),
|
|
6294
6327
|
onChange: function onChange(option) {
|
|
6295
6328
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1R({}, FetchTabexStatesPayloadobjContext);
|
|
@@ -6306,9 +6339,9 @@ var Checkout = function Checkout(props) {
|
|
|
6306
6339
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
6307
6340
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
6308
6341
|
}, lang.stategov), fetchTabexStatesQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6309
|
-
className: "w-100"
|
|
6342
|
+
className: "w-100 allcentered mt-1"
|
|
6310
6343
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
6311
|
-
color: "
|
|
6344
|
+
color: "#000",
|
|
6312
6345
|
width: "20px",
|
|
6313
6346
|
height: "20px",
|
|
6314
6347
|
duration: "1s"
|
|
@@ -6321,12 +6354,12 @@ var Checkout = function Checkout(props) {
|
|
|
6321
6354
|
return option.id;
|
|
6322
6355
|
},
|
|
6323
6356
|
value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
|
|
6324
|
-
var
|
|
6325
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6357
|
+
var _fetchcustomercartQue79, _fetchcustomercartQue80;
|
|
6358
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : (_fetchcustomercartQue80 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.stateid);
|
|
6326
6359
|
}),
|
|
6327
6360
|
onChange: function onChange(option) {
|
|
6328
|
-
var
|
|
6329
|
-
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6361
|
+
var _fetchcustomercartQue81, _fetchcustomercartQue82;
|
|
6362
|
+
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : (_fetchcustomercartQue82 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.customercart.countryid.length) != 0) {
|
|
6330
6363
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1R({}, FetchTabexStatesPayloadobjContext);
|
|
6331
6364
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
6332
6365
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
@@ -6344,9 +6377,9 @@ var Checkout = function Checkout(props) {
|
|
|
6344
6377
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
6345
6378
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
6346
6379
|
}, lang.city), fetchTabexCitiesQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6347
|
-
className: "w-100"
|
|
6380
|
+
className: "w-100 allcentered mt-1"
|
|
6348
6381
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
6349
|
-
color: "
|
|
6382
|
+
color: "#000",
|
|
6350
6383
|
width: "20px",
|
|
6351
6384
|
height: "20px",
|
|
6352
6385
|
duration: "1s"
|
|
@@ -6359,8 +6392,8 @@ var Checkout = function Checkout(props) {
|
|
|
6359
6392
|
return option.id;
|
|
6360
6393
|
},
|
|
6361
6394
|
value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
|
|
6362
|
-
var
|
|
6363
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6395
|
+
var _fetchcustomercartQue83, _fetchcustomercartQue84;
|
|
6396
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : (_fetchcustomercartQue84 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.customercart.cityid);
|
|
6364
6397
|
}),
|
|
6365
6398
|
onChange: function onChange(option) {
|
|
6366
6399
|
cartinfoupdater('cityid', option.id);
|
|
@@ -6375,7 +6408,7 @@ var Checkout = function Checkout(props) {
|
|
|
6375
6408
|
}, lang.shippingaddress), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
6376
6409
|
type: 'text',
|
|
6377
6410
|
className: "".concat(formstyles.form_control),
|
|
6378
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6411
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue85 === void 0 ? void 0 : (_fetchcustomercartQue86 = _fetchcustomercartQue85.data) === null || _fetchcustomercartQue86 === void 0 ? void 0 : _fetchcustomercartQue86.customercart.address,
|
|
6379
6412
|
onChange: function onChange(event) {
|
|
6380
6413
|
cartinfoupdater('address', event.target.value);
|
|
6381
6414
|
},
|
|
@@ -6388,6 +6421,27 @@ var Checkout = function Checkout(props) {
|
|
|
6388
6421
|
borderRadius: sectionproperties.inputfieldborderradius + 'px',
|
|
6389
6422
|
boxShadow: 'none'
|
|
6390
6423
|
}
|
|
6424
|
+
})), sectionproperties.shownotes == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6425
|
+
className: "col-lg-12 mb-3"
|
|
6426
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
6427
|
+
className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
|
|
6428
|
+
}, langdetect == 'en' ? 'Notes' : 'الملاحظات'), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
6429
|
+
type: 'text',
|
|
6430
|
+
className: "".concat(formstyles.form_control),
|
|
6431
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 ? void 0 : (_fetchcustomercartQue88 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.customercart.notes,
|
|
6432
|
+
onChange: function onChange(event) {
|
|
6433
|
+
cartinfoupdater('notes', event.target.value);
|
|
6434
|
+
},
|
|
6435
|
+
style: {
|
|
6436
|
+
// minHeight: '40px',
|
|
6437
|
+
resize: 'none',
|
|
6438
|
+
fontWeight: sectionproperties.inputtextfontweight,
|
|
6439
|
+
background: sectionproperties.input_bgcolor,
|
|
6440
|
+
color: sectionproperties.inputfieldcolor,
|
|
6441
|
+
fontSize: sectionproperties.inputfieldfontsize + 'px',
|
|
6442
|
+
borderRadius: sectionproperties.inputfieldborderradius + 'px',
|
|
6443
|
+
boxShadow: 'none'
|
|
6444
|
+
}
|
|
6391
6445
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6392
6446
|
className: "col-lg-12 p-0 w-100"
|
|
6393
6447
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -6415,10 +6469,10 @@ var Checkout = function Checkout(props) {
|
|
|
6415
6469
|
id: 'codcheckbox',
|
|
6416
6470
|
type: "checkbox",
|
|
6417
6471
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
6418
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6472
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 ? void 0 : (_fetchcustomercartQue90 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.customercart.paymentmethod) == 'cod' ? true : false,
|
|
6419
6473
|
onChange: function onChange() {
|
|
6420
|
-
var
|
|
6421
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6474
|
+
var _fetchcustomercartQue91, _fetchcustomercartQue92;
|
|
6475
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 ? void 0 : (_fetchcustomercartQue92 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.customercart.paymentmethod) != 'cod') {
|
|
6422
6476
|
cartinfoupdater('paymentmethod', 'cod');
|
|
6423
6477
|
}
|
|
6424
6478
|
}
|
|
@@ -6437,10 +6491,10 @@ var Checkout = function Checkout(props) {
|
|
|
6437
6491
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
6438
6492
|
type: "checkbox",
|
|
6439
6493
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
6440
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6494
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 ? void 0 : (_fetchcustomercartQue94 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.customercart.paymentmethod) == 'cardondelivery' ? true : false,
|
|
6441
6495
|
onChange: function onChange() {
|
|
6442
|
-
var
|
|
6443
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6496
|
+
var _fetchcustomercartQue95, _fetchcustomercartQue96;
|
|
6497
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue95 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue95 === void 0 ? void 0 : (_fetchcustomercartQue96 = _fetchcustomercartQue95.data) === null || _fetchcustomercartQue96 === void 0 ? void 0 : _fetchcustomercartQue96.customercart.paymentmethod) != 'cardondelivery') {
|
|
6444
6498
|
cartinfoupdater('paymentmethod', 'cardondelivery');
|
|
6445
6499
|
}
|
|
6446
6500
|
}
|
|
@@ -6458,10 +6512,10 @@ var Checkout = function Checkout(props) {
|
|
|
6458
6512
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
6459
6513
|
type: "checkbox",
|
|
6460
6514
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
6461
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6515
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue97 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue97 === void 0 ? void 0 : (_fetchcustomercartQue98 = _fetchcustomercartQue97.data) === null || _fetchcustomercartQue98 === void 0 ? void 0 : _fetchcustomercartQue98.customercart.paymentmethod) == 'onlinepayment' ? true : false,
|
|
6462
6516
|
onChange: function onChange() {
|
|
6463
|
-
var
|
|
6464
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6517
|
+
var _fetchcustomercartQue99, _fetchcustomercartQue100;
|
|
6518
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue99 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue99 === void 0 ? void 0 : (_fetchcustomercartQue100 = _fetchcustomercartQue99.data) === null || _fetchcustomercartQue100 === void 0 ? void 0 : _fetchcustomercartQue100.customercart.paymentmethod) != 'onlinepayment') {
|
|
6465
6519
|
cartinfoupdater('paymentmethod', 'onlinepayment');
|
|
6466
6520
|
}
|
|
6467
6521
|
}
|
|
@@ -6472,7 +6526,7 @@ var Checkout = function Checkout(props) {
|
|
|
6472
6526
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
6473
6527
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
6474
6528
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
6475
|
-
}, " ", lang.onlinepayment)))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
6529
|
+
}, " ", lang.onlinepayment)))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue101 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue101 === void 0 ? void 0 : (_fetchcustomercartQue102 = _fetchcustomercartQue101.data) === null || _fetchcustomercartQue102 === void 0 ? void 0 : _fetchcustomercartQue102.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6476
6530
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
6477
6531
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6478
6532
|
style: {
|
|
@@ -7065,6 +7119,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
7065
7119
|
var temppayloadobj = _objectSpread$1Q({}, payloadobj);
|
|
7066
7120
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
7067
7121
|
setpayloadobj(_objectSpread$1Q({}, temppayloadobj));
|
|
7122
|
+
},
|
|
7123
|
+
style: {
|
|
7124
|
+
resize: 'none'
|
|
7068
7125
|
}
|
|
7069
7126
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
7070
7127
|
className: loginstyles.login_input_focus
|
|
@@ -24948,15 +25005,36 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
24948
25005
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24949
25006
|
"class": "col-lg-4 col-md-4 p-0 d-flex align-items-center justify-content-start"
|
|
24950
25007
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24951
|
-
"class": header_cssstyles.fbbtn + ' p-0 allcentered cursor-pointer '
|
|
25008
|
+
"class": header_cssstyles.fbbtn + ' p-0 allcentered cursor-pointer ',
|
|
25009
|
+
onClick: function onClick() {
|
|
25010
|
+
var _authdetailsContext$i5;
|
|
25011
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.facebooklink) != null) {
|
|
25012
|
+
var _authdetailsContext$i6;
|
|
25013
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.facebooklink, '_blank');
|
|
25014
|
+
}
|
|
25015
|
+
}
|
|
24952
25016
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
24953
25017
|
size: sectionproperties.facebkbtnniconfontsize
|
|
24954
25018
|
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24955
|
-
"class": header_cssstyles.whatsappbtn + ' p-0 allcentered cursor-pointer ml-3 mr-3 '
|
|
25019
|
+
"class": header_cssstyles.whatsappbtn + ' p-0 allcentered cursor-pointer ml-3 mr-3 ',
|
|
25020
|
+
onClick: function onClick() {
|
|
25021
|
+
var _authdetailsContext$i7;
|
|
25022
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber) != null) {
|
|
25023
|
+
var _authdetailsContext$i8;
|
|
25024
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber), '_blank');
|
|
25025
|
+
}
|
|
25026
|
+
}
|
|
24956
25027
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
24957
25028
|
size: sectionproperties.youtubebtniconfontsize
|
|
24958
25029
|
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24959
|
-
"class": header_cssstyles.instagrambtn + ' p-0 allcentered cursor-pointer '
|
|
25030
|
+
"class": header_cssstyles.instagrambtn + ' p-0 allcentered cursor-pointer ',
|
|
25031
|
+
onClick: function onClick() {
|
|
25032
|
+
var _authdetailsContext$i9;
|
|
25033
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instagramlink) != null) {
|
|
25034
|
+
var _authdetailsContext$i10;
|
|
25035
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instagramlink, '_blank');
|
|
25036
|
+
}
|
|
25037
|
+
}
|
|
24960
25038
|
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineInstagram.AiOutlineInstagram, {
|
|
24961
25039
|
size: sectionproperties.instgrambtniconfontsize
|
|
24962
25040
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -37704,7 +37782,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
37704
37782
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37705
37783
|
className: "m-0 p-3 text-center"
|
|
37706
37784
|
}, langdetect == 'en' ? sectionproperties.collectionssectiontitleen : sectionproperties.collectionssectiontitlear)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37707
|
-
"class": "col-lg-12 flex-column cat_dropdown_hover scrollvertical pt-3",
|
|
37785
|
+
"class": "col-lg-12 flex-column cat_dropdown_hover scrollvertical pt-3 px-2",
|
|
37708
37786
|
style: {
|
|
37709
37787
|
height: sectionproperties.height + 'vh',
|
|
37710
37788
|
overflowY: 'scroll'
|
|
@@ -37741,6 +37819,9 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
37741
37819
|
"class": langdetect == 'en' ? 'cat_dropdown-menu cat_dropdown cat_dropdownen' : 'cat_dropdown-menu cat_dropdown cat_dropdownar',
|
|
37742
37820
|
style: {
|
|
37743
37821
|
minHeight: sectionproperties.height + 'vh'
|
|
37822
|
+
},
|
|
37823
|
+
onMouseLeave: function onMouseLeave() {
|
|
37824
|
+
setChoosenindex('');
|
|
37744
37825
|
}
|
|
37745
37826
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37746
37827
|
"class": "row m-0 w-100"
|
|
@@ -37760,7 +37841,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
37760
37841
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37761
37842
|
"class": "col-lg-12 pl-1 pr-1"
|
|
37762
37843
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37763
|
-
"class": slideshow_styles.collectionName + ' cursor-pointer wordbreak wordbreak2 ',
|
|
37844
|
+
"class": slideshow_styles.collectionName + ' cursor-pointer wordbreak wordbreak2 mb-1 ',
|
|
37764
37845
|
onClick: function onClick() {
|
|
37765
37846
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
37766
37847
|
},
|
|
@@ -37822,7 +37903,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
37822
37903
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
37823
37904
|
urlEndpoint: IKurlEndpoint,
|
|
37824
37905
|
publicKey: IKpublicKey,
|
|
37825
|
-
path: langdetect == 'en' ? item.imageen : item.imagear,
|
|
37906
|
+
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imageen : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imagear,
|
|
37826
37907
|
style: {
|
|
37827
37908
|
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
37828
37909
|
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
@@ -37845,7 +37926,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
37845
37926
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
37846
37927
|
urlEndpoint: IKurlEndpoint,
|
|
37847
37928
|
publicKey: IKpublicKey,
|
|
37848
|
-
path: langdetect == 'en' ? item.image_resp_en : item.image_resp_ar,
|
|
37929
|
+
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_en : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_ar,
|
|
37849
37930
|
style: {
|
|
37850
37931
|
objectFit: 'contain',
|
|
37851
37932
|
margin: 0,
|
|
@@ -37866,6 +37947,9 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
37866
37947
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
37867
37948
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
37868
37949
|
background: sectionproperties.backgroundColor
|
|
37950
|
+
},
|
|
37951
|
+
onMouseEnter: function onMouseEnter() {
|
|
37952
|
+
setChoosenindex('');
|
|
37869
37953
|
}
|
|
37870
37954
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37871
37955
|
"class": "col-lg-12 p-0"
|
|
@@ -37873,11 +37957,17 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
37873
37957
|
"class": "row m-0 w-100 d-flex d-md-none",
|
|
37874
37958
|
style: {
|
|
37875
37959
|
paddingTop: sectionproperties.marginTop + 'px'
|
|
37960
|
+
},
|
|
37961
|
+
onMouseLeave: function onMouseLeave() {
|
|
37962
|
+
setChoosenindex('');
|
|
37876
37963
|
}
|
|
37877
37964
|
}, SlideshowContent()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37878
37965
|
"class": "row m-0 w-100 d-none d-md-flex",
|
|
37879
37966
|
style: {
|
|
37880
37967
|
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
37968
|
+
},
|
|
37969
|
+
onMouseLeave: function onMouseLeave() {
|
|
37970
|
+
setChoosenindex('');
|
|
37881
37971
|
}
|
|
37882
37972
|
}, SlideshowContent())))
|
|
37883
37973
|
);
|
|
@@ -39963,6 +40053,7 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
|
|
|
39963
40053
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
39964
40054
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
39965
40055
|
backgroundColor: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
|
|
40056
|
+
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
39966
40057
|
position: 'relative'
|
|
39967
40058
|
}
|
|
39968
40059
|
}, item.image != '' && /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
@@ -39977,7 +40068,9 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
|
|
|
39977
40068
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
39978
40069
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
39979
40070
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
40071
|
+
// border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
39980
40072
|
},
|
|
40073
|
+
|
|
39981
40074
|
loading: "lazy"
|
|
39982
40075
|
}), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39983
40076
|
"class": "".concat(card_cssstyles.badgeStyles) + ' allcentered '
|
|
@@ -40978,11 +41071,11 @@ var UserCardWithSocialMediaOnHover = function UserCardWithSocialMediaOnHover(pro
|
|
|
40978
41071
|
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
40979
41072
|
urlEndpoint: IKurlEndpoint,
|
|
40980
41073
|
publicKey: IKpublicKey,
|
|
40981
|
-
path: item.image,
|
|
41074
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
40982
41075
|
style: {
|
|
40983
41076
|
width: '100%',
|
|
40984
41077
|
height: '100%',
|
|
40985
|
-
objectFit: 'cover',
|
|
41078
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
40986
41079
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
40987
41080
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
40988
41081
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
@@ -45401,7 +45494,41 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
45401
45494
|
style: {
|
|
45402
45495
|
position: 'relative'
|
|
45403
45496
|
}
|
|
45404
|
-
},
|
|
45497
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45498
|
+
"class": "w-100",
|
|
45499
|
+
style: {
|
|
45500
|
+
cursor: 'pointer',
|
|
45501
|
+
overflow: 'hidden',
|
|
45502
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
45503
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px'
|
|
45504
|
+
}
|
|
45505
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45506
|
+
"class": "".concat(cardsstyles2.img_container) + ' w-100 ',
|
|
45507
|
+
onClick: function onClick() {
|
|
45508
|
+
setShowProductInfoModalContext(true);
|
|
45509
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
45510
|
+
},
|
|
45511
|
+
style: {
|
|
45512
|
+
overflow: 'hidden'
|
|
45513
|
+
}
|
|
45514
|
+
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
45515
|
+
urlEndpoint: IKurlEndpoint,
|
|
45516
|
+
publicKey: IKpublicKey
|
|
45517
|
+
//
|
|
45518
|
+
,
|
|
45519
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
45520
|
+
style: {
|
|
45521
|
+
width: '100%',
|
|
45522
|
+
objectFit: 'contain',
|
|
45523
|
+
position: 'relative',
|
|
45524
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
45525
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
45526
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
45527
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
45528
|
+
marginBottom: 'auto'
|
|
45529
|
+
},
|
|
45530
|
+
loading: "lazy"
|
|
45531
|
+
}))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45405
45532
|
"class": "".concat(cardsstyles$3.wishlistbtn, " ").concat(cardsstyles2.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center cursor-pointer ',
|
|
45406
45533
|
onClick: function onClick(e) {
|
|
45407
45534
|
e.stopPropagation();
|
|
@@ -45446,40 +45573,6 @@ var ModernCardWithQuantityButton = function ModernCardWithQuantityButton(props)
|
|
|
45446
45573
|
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
45447
45574
|
}
|
|
45448
45575
|
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45449
|
-
"class": "w-100",
|
|
45450
|
-
style: {
|
|
45451
|
-
cursor: 'pointer',
|
|
45452
|
-
overflow: 'hidden',
|
|
45453
|
-
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
45454
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px'
|
|
45455
|
-
}
|
|
45456
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45457
|
-
"class": "".concat(cardsstyles2.img_container) + ' w-100 ',
|
|
45458
|
-
onClick: function onClick() {
|
|
45459
|
-
setShowProductInfoModalContext(true);
|
|
45460
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
45461
|
-
},
|
|
45462
|
-
style: {
|
|
45463
|
-
overflow: 'hidden'
|
|
45464
|
-
}
|
|
45465
|
-
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
45466
|
-
urlEndpoint: IKurlEndpoint,
|
|
45467
|
-
publicKey: IKpublicKey
|
|
45468
|
-
//
|
|
45469
|
-
,
|
|
45470
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
45471
|
-
style: {
|
|
45472
|
-
width: '100%',
|
|
45473
|
-
objectFit: 'contain',
|
|
45474
|
-
position: 'relative',
|
|
45475
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
45476
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
45477
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
45478
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
45479
|
-
marginBottom: 'auto'
|
|
45480
|
-
},
|
|
45481
|
-
loading: "lazy"
|
|
45482
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45483
45576
|
"class": ' mt-3 '
|
|
45484
45577
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45485
45578
|
"class": "col-lg-12"
|