tabexseriescomponents 0.2.746 → 0.2.747
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 +44 -23
- package/dist/index.esm.js +44 -23
- package/dist/index.umd.js +44 -23
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -10985,22 +10985,18 @@ var Checkout = function Checkout(props) {
|
|
|
10985
10985
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
10986
10986
|
insthasaffiliate = _useState8[0],
|
|
10987
10987
|
setinsthasaffiliate = _useState8[1];
|
|
10988
|
-
var _useState9 = React.useState(
|
|
10989
|
-
_useState10 = _slicedToArray__default["default"](_useState9, 2)
|
|
10990
|
-
_useState10[0]
|
|
10991
|
-
_useState10[1];
|
|
10992
|
-
var _useState11 = React.useState(
|
|
10993
|
-
_useState12 = _slicedToArray__default["default"](_useState11, 2)
|
|
10994
|
-
_useState12[0]
|
|
10995
|
-
_useState12[1];
|
|
10996
|
-
var _useState13 = React.useState(
|
|
10988
|
+
var _useState9 = React.useState([]),
|
|
10989
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
10990
|
+
shippingmethods = _useState10[0],
|
|
10991
|
+
setshippingmethods = _useState10[1];
|
|
10992
|
+
var _useState11 = React.useState([]),
|
|
10993
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
10994
|
+
orderextrafeilds = _useState12[0],
|
|
10995
|
+
setorderextrafeilds = _useState12[1];
|
|
10996
|
+
var _useState13 = React.useState(''),
|
|
10997
10997
|
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
10998
|
-
|
|
10999
|
-
|
|
11000
|
-
var _useState15 = React.useState([]),
|
|
11001
|
-
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
11002
|
-
orderextrafeilds = _useState16[0],
|
|
11003
|
-
setorderextrafeilds = _useState16[1];
|
|
10998
|
+
countrycode = _useState14[0],
|
|
10999
|
+
setcountrycode = _useState14[1];
|
|
11004
11000
|
React.useEffect(function () {
|
|
11005
11001
|
var _templatepropcontext$;
|
|
11006
11002
|
var cartindex = templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.findIndex(function (x) {
|
|
@@ -11414,7 +11410,7 @@ var Checkout = function Checkout(props) {
|
|
|
11414
11410
|
}
|
|
11415
11411
|
if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue33 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue33 === void 0 || (_fetchcustomercartQue33 = _fetchcustomercartQue33.data) === null || _fetchcustomercartQue33 === void 0 ? void 0 : _fetchcustomercartQue33.customercart.name.length) < 3) {
|
|
11416
11412
|
NotificationManager.warning('', langdetect == 'en' ? 'Write your full name' : 'اكتب الاسم كاملا');
|
|
11417
|
-
} else if (
|
|
11413
|
+
} else if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue34 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue34 === void 0 || (_fetchcustomercartQue34 = _fetchcustomercartQue34.data) === null || _fetchcustomercartQue34 === void 0 ? void 0 : _fetchcustomercartQue34.customercart.mobile.length) < 11 && countrycode.splice(2) == '20') {
|
|
11418
11414
|
NotificationManager.warning('', langdetect == 'en' ? 'Write valid mobile number' : 'اكتب رقم تليفون صحيح');
|
|
11419
11415
|
} else {
|
|
11420
11416
|
AddOrderMutationContext.mutate();
|
|
@@ -11444,6 +11440,27 @@ var Checkout = function Checkout(props) {
|
|
|
11444
11440
|
}
|
|
11445
11441
|
return isloading;
|
|
11446
11442
|
};
|
|
11443
|
+
var _useState15 = React.useState(null),
|
|
11444
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
11445
|
+
debounceTimer = _useState16[0],
|
|
11446
|
+
setDebounceTimer = _useState16[1];
|
|
11447
|
+
var handlePhoneChange = function handlePhoneChange(event, country) {
|
|
11448
|
+
var temp = event;
|
|
11449
|
+
|
|
11450
|
+
// Clear the previous timeout if the user is still typing
|
|
11451
|
+
if (debounceTimer) {
|
|
11452
|
+
clearTimeout(debounceTimer);
|
|
11453
|
+
}
|
|
11454
|
+
|
|
11455
|
+
// Set a new timeout to update after 500ms of no typing
|
|
11456
|
+
var newDebounceTimer = setTimeout(function () {
|
|
11457
|
+
// cartinfoupdater('countrydialcode', country.dialCode);
|
|
11458
|
+
setcountrycode(country.dialCode);
|
|
11459
|
+
cartinfoupdater('mobile', temp);
|
|
11460
|
+
// alert(fetchcustomercartQueryContext?.data?.data?.customercart.mobile.length);
|
|
11461
|
+
}, 500);
|
|
11462
|
+
setDebounceTimer(newDebounceTimer);
|
|
11463
|
+
};
|
|
11447
11464
|
var Mycart = function Mycart() {
|
|
11448
11465
|
var _fetchcustomercartQue35, _fetchcustomercartQue36, _fetchcustomercartQue37, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44, _fetchcustomercartQue45, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64;
|
|
11449
11466
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -11990,16 +12007,20 @@ var Checkout = function Checkout(props) {
|
|
|
11990
12007
|
className: "col-lg-4 col-md-12 mb-3"
|
|
11991
12008
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
11992
12009
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
11993
|
-
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("
|
|
11994
|
-
|
|
11995
|
-
|
|
12010
|
+
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement(PhoneInput__default["default"], {
|
|
12011
|
+
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control) + ' ',
|
|
12012
|
+
country: 'eg',
|
|
12013
|
+
enableSearch: true,
|
|
12014
|
+
autoFormat: true,
|
|
11996
12015
|
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.mobile,
|
|
11997
|
-
|
|
11998
|
-
|
|
12016
|
+
inputStyle: {
|
|
12017
|
+
color: sectionproperties.inputfieldcolor
|
|
11999
12018
|
},
|
|
12019
|
+
onChange: handlePhoneChange,
|
|
12000
12020
|
style: {
|
|
12001
|
-
|
|
12002
|
-
|
|
12021
|
+
direction: 'ltr',
|
|
12022
|
+
color: sectionproperties.inputfieldcolor,
|
|
12023
|
+
height: sectionproperties.inputfieldheight + 'px'
|
|
12003
12024
|
}
|
|
12004
12025
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12005
12026
|
className: "col-lg-4 col-md-12 mb-3"
|
package/dist/index.esm.js
CHANGED
|
@@ -10936,22 +10936,18 @@ var Checkout = function Checkout(props) {
|
|
|
10936
10936
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
10937
10937
|
insthasaffiliate = _useState8[0],
|
|
10938
10938
|
setinsthasaffiliate = _useState8[1];
|
|
10939
|
-
var _useState9 = useState(
|
|
10940
|
-
_useState10 = _slicedToArray(_useState9, 2)
|
|
10941
|
-
_useState10[0]
|
|
10942
|
-
_useState10[1];
|
|
10943
|
-
var _useState11 = useState(
|
|
10944
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
10945
|
-
_useState12[0]
|
|
10946
|
-
_useState12[1];
|
|
10947
|
-
var _useState13 = useState(
|
|
10939
|
+
var _useState9 = useState([]),
|
|
10940
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
10941
|
+
shippingmethods = _useState10[0],
|
|
10942
|
+
setshippingmethods = _useState10[1];
|
|
10943
|
+
var _useState11 = useState([]),
|
|
10944
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
10945
|
+
orderextrafeilds = _useState12[0],
|
|
10946
|
+
setorderextrafeilds = _useState12[1];
|
|
10947
|
+
var _useState13 = useState(''),
|
|
10948
10948
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
10949
|
-
|
|
10950
|
-
|
|
10951
|
-
var _useState15 = useState([]),
|
|
10952
|
-
_useState16 = _slicedToArray(_useState15, 2),
|
|
10953
|
-
orderextrafeilds = _useState16[0],
|
|
10954
|
-
setorderextrafeilds = _useState16[1];
|
|
10949
|
+
countrycode = _useState14[0],
|
|
10950
|
+
setcountrycode = _useState14[1];
|
|
10955
10951
|
useEffect(function () {
|
|
10956
10952
|
var _templatepropcontext$;
|
|
10957
10953
|
var cartindex = templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.findIndex(function (x) {
|
|
@@ -11365,7 +11361,7 @@ var Checkout = function Checkout(props) {
|
|
|
11365
11361
|
}
|
|
11366
11362
|
if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue33 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue33 === void 0 || (_fetchcustomercartQue33 = _fetchcustomercartQue33.data) === null || _fetchcustomercartQue33 === void 0 ? void 0 : _fetchcustomercartQue33.customercart.name.length) < 3) {
|
|
11367
11363
|
NotificationManager.warning('', langdetect == 'en' ? 'Write your full name' : 'اكتب الاسم كاملا');
|
|
11368
|
-
} else if (
|
|
11364
|
+
} else if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue34 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue34 === void 0 || (_fetchcustomercartQue34 = _fetchcustomercartQue34.data) === null || _fetchcustomercartQue34 === void 0 ? void 0 : _fetchcustomercartQue34.customercart.mobile.length) < 11 && countrycode.splice(2) == '20') {
|
|
11369
11365
|
NotificationManager.warning('', langdetect == 'en' ? 'Write valid mobile number' : 'اكتب رقم تليفون صحيح');
|
|
11370
11366
|
} else {
|
|
11371
11367
|
AddOrderMutationContext.mutate();
|
|
@@ -11395,6 +11391,27 @@ var Checkout = function Checkout(props) {
|
|
|
11395
11391
|
}
|
|
11396
11392
|
return isloading;
|
|
11397
11393
|
};
|
|
11394
|
+
var _useState15 = useState(null),
|
|
11395
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
11396
|
+
debounceTimer = _useState16[0],
|
|
11397
|
+
setDebounceTimer = _useState16[1];
|
|
11398
|
+
var handlePhoneChange = function handlePhoneChange(event, country) {
|
|
11399
|
+
var temp = event;
|
|
11400
|
+
|
|
11401
|
+
// Clear the previous timeout if the user is still typing
|
|
11402
|
+
if (debounceTimer) {
|
|
11403
|
+
clearTimeout(debounceTimer);
|
|
11404
|
+
}
|
|
11405
|
+
|
|
11406
|
+
// Set a new timeout to update after 500ms of no typing
|
|
11407
|
+
var newDebounceTimer = setTimeout(function () {
|
|
11408
|
+
// cartinfoupdater('countrydialcode', country.dialCode);
|
|
11409
|
+
setcountrycode(country.dialCode);
|
|
11410
|
+
cartinfoupdater('mobile', temp);
|
|
11411
|
+
// alert(fetchcustomercartQueryContext?.data?.data?.customercart.mobile.length);
|
|
11412
|
+
}, 500);
|
|
11413
|
+
setDebounceTimer(newDebounceTimer);
|
|
11414
|
+
};
|
|
11398
11415
|
var Mycart = function Mycart() {
|
|
11399
11416
|
var _fetchcustomercartQue35, _fetchcustomercartQue36, _fetchcustomercartQue37, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44, _fetchcustomercartQue45, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64;
|
|
11400
11417
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -11941,16 +11958,20 @@ var Checkout = function Checkout(props) {
|
|
|
11941
11958
|
className: "col-lg-4 col-md-12 mb-3"
|
|
11942
11959
|
}, /*#__PURE__*/React.createElement("label", {
|
|
11943
11960
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
11944
|
-
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React.createElement(
|
|
11945
|
-
|
|
11946
|
-
|
|
11961
|
+
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React.createElement(PhoneInput, {
|
|
11962
|
+
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control) + ' ',
|
|
11963
|
+
country: 'eg',
|
|
11964
|
+
enableSearch: true,
|
|
11965
|
+
autoFormat: true,
|
|
11947
11966
|
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.mobile,
|
|
11948
|
-
|
|
11949
|
-
|
|
11967
|
+
inputStyle: {
|
|
11968
|
+
color: sectionproperties.inputfieldcolor
|
|
11950
11969
|
},
|
|
11970
|
+
onChange: handlePhoneChange,
|
|
11951
11971
|
style: {
|
|
11952
|
-
|
|
11953
|
-
|
|
11972
|
+
direction: 'ltr',
|
|
11973
|
+
color: sectionproperties.inputfieldcolor,
|
|
11974
|
+
height: sectionproperties.inputfieldheight + 'px'
|
|
11954
11975
|
}
|
|
11955
11976
|
})), /*#__PURE__*/React.createElement("div", {
|
|
11956
11977
|
className: "col-lg-4 col-md-12 mb-3"
|
package/dist/index.umd.js
CHANGED
|
@@ -10800,22 +10800,18 @@
|
|
|
10800
10800
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
10801
10801
|
insthasaffiliate = _useState8[0],
|
|
10802
10802
|
setinsthasaffiliate = _useState8[1];
|
|
10803
|
-
var _useState9 = React.useState(
|
|
10804
|
-
_useState10 = _slicedToArray__default["default"](_useState9, 2)
|
|
10805
|
-
_useState10[0]
|
|
10806
|
-
_useState10[1];
|
|
10807
|
-
var _useState11 = React.useState(
|
|
10808
|
-
_useState12 = _slicedToArray__default["default"](_useState11, 2)
|
|
10809
|
-
_useState12[0]
|
|
10810
|
-
_useState12[1];
|
|
10811
|
-
var _useState13 = React.useState(
|
|
10803
|
+
var _useState9 = React.useState([]),
|
|
10804
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
10805
|
+
shippingmethods = _useState10[0],
|
|
10806
|
+
setshippingmethods = _useState10[1];
|
|
10807
|
+
var _useState11 = React.useState([]),
|
|
10808
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
10809
|
+
orderextrafeilds = _useState12[0],
|
|
10810
|
+
setorderextrafeilds = _useState12[1];
|
|
10811
|
+
var _useState13 = React.useState(''),
|
|
10812
10812
|
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
10813
|
-
|
|
10814
|
-
|
|
10815
|
-
var _useState15 = React.useState([]),
|
|
10816
|
-
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
10817
|
-
orderextrafeilds = _useState16[0],
|
|
10818
|
-
setorderextrafeilds = _useState16[1];
|
|
10813
|
+
countrycode = _useState14[0],
|
|
10814
|
+
setcountrycode = _useState14[1];
|
|
10819
10815
|
React.useEffect(function () {
|
|
10820
10816
|
var _templatepropcontext$;
|
|
10821
10817
|
var cartindex = templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.findIndex(function (x) {
|
|
@@ -11229,7 +11225,7 @@
|
|
|
11229
11225
|
}
|
|
11230
11226
|
if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue33 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue33 === void 0 || (_fetchcustomercartQue33 = _fetchcustomercartQue33.data) === null || _fetchcustomercartQue33 === void 0 ? void 0 : _fetchcustomercartQue33.customercart.name.length) < 3) {
|
|
11231
11227
|
NotificationManager.warning('', langdetect == 'en' ? 'Write your full name' : 'اكتب الاسم كاملا');
|
|
11232
|
-
} else if (
|
|
11228
|
+
} else if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue34 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue34 === void 0 || (_fetchcustomercartQue34 = _fetchcustomercartQue34.data) === null || _fetchcustomercartQue34 === void 0 ? void 0 : _fetchcustomercartQue34.customercart.mobile.length) < 11 && countrycode.splice(2) == '20') {
|
|
11233
11229
|
NotificationManager.warning('', langdetect == 'en' ? 'Write valid mobile number' : 'اكتب رقم تليفون صحيح');
|
|
11234
11230
|
} else {
|
|
11235
11231
|
AddOrderMutationContext.mutate();
|
|
@@ -11259,6 +11255,27 @@
|
|
|
11259
11255
|
}
|
|
11260
11256
|
return isloading;
|
|
11261
11257
|
};
|
|
11258
|
+
var _useState15 = React.useState(null),
|
|
11259
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
11260
|
+
debounceTimer = _useState16[0],
|
|
11261
|
+
setDebounceTimer = _useState16[1];
|
|
11262
|
+
var handlePhoneChange = function handlePhoneChange(event, country) {
|
|
11263
|
+
var temp = event;
|
|
11264
|
+
|
|
11265
|
+
// Clear the previous timeout if the user is still typing
|
|
11266
|
+
if (debounceTimer) {
|
|
11267
|
+
clearTimeout(debounceTimer);
|
|
11268
|
+
}
|
|
11269
|
+
|
|
11270
|
+
// Set a new timeout to update after 500ms of no typing
|
|
11271
|
+
var newDebounceTimer = setTimeout(function () {
|
|
11272
|
+
// cartinfoupdater('countrydialcode', country.dialCode);
|
|
11273
|
+
setcountrycode(country.dialCode);
|
|
11274
|
+
cartinfoupdater('mobile', temp);
|
|
11275
|
+
// alert(fetchcustomercartQueryContext?.data?.data?.customercart.mobile.length);
|
|
11276
|
+
}, 500);
|
|
11277
|
+
setDebounceTimer(newDebounceTimer);
|
|
11278
|
+
};
|
|
11262
11279
|
var Mycart = function Mycart() {
|
|
11263
11280
|
var _fetchcustomercartQue35, _fetchcustomercartQue36, _fetchcustomercartQue37, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44, _fetchcustomercartQue45, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64;
|
|
11264
11281
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -11805,16 +11822,20 @@
|
|
|
11805
11822
|
className: "col-lg-4 col-md-12 mb-3"
|
|
11806
11823
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
11807
11824
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
11808
|
-
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("
|
|
11809
|
-
|
|
11810
|
-
|
|
11825
|
+
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement(PhoneInput__default["default"], {
|
|
11826
|
+
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control) + ' ',
|
|
11827
|
+
country: 'eg',
|
|
11828
|
+
enableSearch: true,
|
|
11829
|
+
autoFormat: true,
|
|
11811
11830
|
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.mobile,
|
|
11812
|
-
|
|
11813
|
-
|
|
11831
|
+
inputStyle: {
|
|
11832
|
+
color: sectionproperties.inputfieldcolor
|
|
11814
11833
|
},
|
|
11834
|
+
onChange: handlePhoneChange,
|
|
11815
11835
|
style: {
|
|
11816
|
-
|
|
11817
|
-
|
|
11836
|
+
direction: 'ltr',
|
|
11837
|
+
color: sectionproperties.inputfieldcolor,
|
|
11838
|
+
height: sectionproperties.inputfieldheight + 'px'
|
|
11818
11839
|
}
|
|
11819
11840
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11820
11841
|
className: "col-lg-4 col-md-12 mb-3"
|