tabexseriescomponents 0.0.287 → 0.0.289
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 +340 -221
- package/dist/index.esm.js +341 -222
- package/dist/index.umd.js +341 -222
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -125,7 +125,7 @@ var AiOutlinePhone = require('@react-icons/all-files/ai/AiOutlinePhone');
|
|
|
125
125
|
var GoLocation = require('@react-icons/all-files/go/GoLocation');
|
|
126
126
|
var RiRoadMapLine = require('@react-icons/all-files/ri/RiRoadMapLine');
|
|
127
127
|
var HiOutlineClock = require('@react-icons/all-files/hi/HiOutlineClock');
|
|
128
|
-
var Select$
|
|
128
|
+
var Select$4 = require('react-select');
|
|
129
129
|
var ReactPlayer = require('react-player');
|
|
130
130
|
var BackgroundSlideshow = require('react-background-slideshow');
|
|
131
131
|
var _extends = require('@babel/runtime/helpers/extends');
|
|
@@ -181,7 +181,7 @@ var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
|
|
|
181
181
|
var PhoneInput__default = /*#__PURE__*/_interopDefaultLegacy(PhoneInput);
|
|
182
182
|
var InputRange__default = /*#__PURE__*/_interopDefaultLegacy(InputRange);
|
|
183
183
|
var ReactPaginate__default = /*#__PURE__*/_interopDefaultLegacy(ReactPaginate);
|
|
184
|
-
var Select__default = /*#__PURE__*/_interopDefaultLegacy(Select$
|
|
184
|
+
var Select__default = /*#__PURE__*/_interopDefaultLegacy(Select$4);
|
|
185
185
|
var ReactPlayer__default = /*#__PURE__*/_interopDefaultLegacy(ReactPlayer);
|
|
186
186
|
var BackgroundSlideshow__default = /*#__PURE__*/_interopDefaultLegacy(BackgroundSlideshow);
|
|
187
187
|
var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
|
|
@@ -524,8 +524,8 @@ function styleInject(css, ref) {
|
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
526
|
|
|
527
|
-
var css_248z$L = ".login-module_login_input_icon__hETpJ {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 10px;\n left: 0;\n padding-left: 15px;\n pointer-events: none;\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n}\n.login-module_login_input_icontrans__8whFD{\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 10px;\n right: 5;\n pointer-events: none;\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n\n}\n.login-module_form_control__-41tV:focus + .login-module_login_input_icontrans__8whFD {\n /* padding-right: 10px; */\n}\n@media screen and (max-width: 500px) {\n .login-module_login_input_icon__hETpJ {\n padding-left: 0 !important;\n }\n .login-module_rightContainer__Nt9tD {\n border-radius: 0 0 15px 15px !important;\n }\n .login-module_leftcontainer__Rlat- {\n border-radius: 15px 15px 0 0 !important;\n }\n}\n.login-module_form_control__-41tV:focus {\n -webkit-animation: login-module_anim-shadow__4SiKH 0.5s ease-in-out forwards;\n animation: login-module_anim-shadow__4SiKH 0.5s ease-in-out forwards;\n}\n.login-module_form_control__-41tV:focus + .login-module_login_input_icon__hETpJ {\n /* padding-left: 20px; */\n}\n\n/* Forms */\n@media screen and (prefers-reduced-motion: reduce) {\n .login-module_form_control__-41tV {\n transition: none;\n }\n}\n.login-module_form_control__-41tV::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.login-module_form_control__-41tV:focus {\n outline: 0;\n}\n.login-module_form_control__-41tV::placeholder {\n opacity: 1;\n}\n.login-module_form_control__-41tV:disabled,\n.login-module_form_control__-41tV[readonly] {\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.login-module_form_control__-41tV {\n height: auto;\n}\n.login-module_form_control__-41tV:focus {\n transition-duration: 0.3s;\n box-shadow: none;\n}\n.login-module_form_control__-41tV::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control__-41tV:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control__-41tV::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control_border_none__dkr-m {\n background-image: none;\n}\n.login-module_form_control__-41tV.login-module_disabled__fUlAg,\n.login-module_form_control__-41tV:disabled,\n.login-module_form_control__-41tV[disabled] {\n cursor: not-allowed;\n}\n";
|
|
528
|
-
var loginstyles$1 = {"login_input_icon":"login-module_login_input_icon__hETpJ","login_input_icontrans":"login-module_login_input_icontrans__8whFD","form_control":"login-module_form_control__-41tV","rightContainer":"login-module_rightContainer__Nt9tD","leftcontainer":"login-module_leftcontainer__Rlat-","anim-shadow":"login-module_anim-shadow__4SiKH","form_control_border_none":"login-module_form_control_border_none__dkr-m","disabled":"login-module_disabled__fUlAg"};
|
|
527
|
+
var css_248z$L = ".login-module_login_input_icon__hETpJ {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 10px;\n left: 0;\n padding-left: 15px;\n pointer-events: none;\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n}\n.login-module_showpassword_input_icon__5lPiH {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 15px;\n right: 25px;\n padding-left: 15px;\n\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n cursor: pointer !important;\n z-index: 10000000000000000000000 !important;\n}\n.login-module_login_input_icontrans__8whFD {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 10px;\n right: 5;\n pointer-events: none;\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n}\n.login-module_showpassword_input_icontrans__hKlPg {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 15px;\n left: 25px;\n\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n cursor: pointer !important;\n z-index: 10000000000000000000000 !important;\n}\n.login-module_form_control__-41tV:focus + .login-module_login_input_icontrans__8whFD {\n /* padding-right: 10px; */\n}\n@media screen and (max-width: 500px) {\n .login-module_login_input_icon__hETpJ {\n padding-left: 0 !important;\n }\n .login-module_rightContainer__Nt9tD {\n border-radius: 0 0 15px 15px !important;\n }\n .login-module_leftcontainer__Rlat- {\n border-radius: 15px 15px 0 0 !important;\n }\n}\n.login-module_form_control__-41tV:focus {\n -webkit-animation: login-module_anim-shadow__4SiKH 0.5s ease-in-out forwards;\n animation: login-module_anim-shadow__4SiKH 0.5s ease-in-out forwards;\n}\n.login-module_form_control__-41tV:focus + .login-module_login_input_icon__hETpJ {\n /* padding-left: 20px; */\n}\n\n/* Forms */\n@media screen and (prefers-reduced-motion: reduce) {\n .login-module_form_control__-41tV {\n transition: none;\n }\n}\n.login-module_form_control__-41tV::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.login-module_form_control__-41tV:focus {\n outline: 0;\n}\n.login-module_form_control__-41tV::placeholder {\n opacity: 1;\n}\n.login-module_form_control__-41tV:disabled,\n.login-module_form_control__-41tV[readonly] {\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.login-module_form_control__-41tV {\n height: auto;\n}\n.login-module_form_control__-41tV:focus {\n transition-duration: 0.3s;\n box-shadow: none;\n}\n.login-module_form_control__-41tV::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control__-41tV:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control__-41tV::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control_border_none__dkr-m {\n background-image: none;\n}\n.login-module_form_control__-41tV.login-module_disabled__fUlAg,\n.login-module_form_control__-41tV:disabled,\n.login-module_form_control__-41tV[disabled] {\n cursor: not-allowed;\n}\n";
|
|
528
|
+
var loginstyles$1 = {"login_input_icon":"login-module_login_input_icon__hETpJ","showpassword_input_icon":"login-module_showpassword_input_icon__5lPiH","login_input_icontrans":"login-module_login_input_icontrans__8whFD","showpassword_input_icontrans":"login-module_showpassword_input_icontrans__hKlPg","form_control":"login-module_form_control__-41tV","rightContainer":"login-module_rightContainer__Nt9tD","leftcontainer":"login-module_leftcontainer__Rlat-","anim-shadow":"login-module_anim-shadow__4SiKH","form_control_border_none":"login-module_form_control_border_none__dkr-m","disabled":"login-module_disabled__fUlAg"};
|
|
529
529
|
styleInject(css_248z$L);
|
|
530
530
|
|
|
531
531
|
var GoogleLoginButton = function GoogleLoginButton(props) {
|
|
@@ -626,40 +626,44 @@ var Login = function Login(props) {
|
|
|
626
626
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
627
627
|
statusreason = _useState2[0];
|
|
628
628
|
_useState2[1];
|
|
629
|
-
var _useState3 = React.useState(
|
|
629
|
+
var _useState3 = React.useState(false),
|
|
630
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
631
|
+
showpassword = _useState4[0],
|
|
632
|
+
setshowpassword = _useState4[1];
|
|
633
|
+
var _useState5 = React.useState({
|
|
630
634
|
instapikey: instapikey,
|
|
631
635
|
email: '',
|
|
632
636
|
code: '',
|
|
633
637
|
newpassword: '',
|
|
634
638
|
confirmnewpassword: ''
|
|
635
639
|
}),
|
|
636
|
-
|
|
637
|
-
forgotpasswordpayload =
|
|
638
|
-
setforgotpasswordpayload =
|
|
639
|
-
var
|
|
640
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
641
|
+
forgotpasswordpayload = _useState6[0],
|
|
642
|
+
setforgotpasswordpayload = _useState6[1];
|
|
643
|
+
var _useState7 = React.useState({
|
|
640
644
|
instapikey: instapikey,
|
|
641
645
|
email: '',
|
|
642
646
|
password: ''
|
|
643
647
|
}),
|
|
644
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
645
|
-
payloadobj = _useState6[0],
|
|
646
|
-
setpayloadobj = _useState6[1];
|
|
647
|
-
var _useState7 = React.useState('send'),
|
|
648
648
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
var _useState9 = React.useState(
|
|
649
|
+
payloadobj = _useState8[0],
|
|
650
|
+
setpayloadobj = _useState8[1];
|
|
651
|
+
var _useState9 = React.useState('send'),
|
|
652
652
|
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
var _useState11 = React.useState(
|
|
656
|
-
_useState12 = _slicedToArray__default["default"](_useState11, 2)
|
|
657
|
-
_useState12[0]
|
|
658
|
-
|
|
653
|
+
forgetpasswordstage = _useState10[0],
|
|
654
|
+
setforgetpasswordstage = _useState10[1];
|
|
655
|
+
var _useState11 = React.useState(false),
|
|
656
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
657
|
+
forgetpasswordmodal = _useState12[0],
|
|
658
|
+
setforgetpasswordmodal = _useState12[1];
|
|
659
659
|
var _useState13 = React.useState(''),
|
|
660
|
-
_useState14 = _slicedToArray__default["default"](_useState13, 2)
|
|
661
|
-
|
|
662
|
-
|
|
660
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2);
|
|
661
|
+
_useState14[0];
|
|
662
|
+
var setCurrentPageId = _useState14[1];
|
|
663
|
+
var _useState15 = React.useState(''),
|
|
664
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
665
|
+
sectionproperties = _useState16[0],
|
|
666
|
+
setsectionproperties = _useState16[1];
|
|
663
667
|
React.useEffect(function () {
|
|
664
668
|
var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
|
|
665
669
|
return x.staticpageid == '6218bccb77283';
|
|
@@ -845,9 +849,16 @@ var Login = function Login(props) {
|
|
|
845
849
|
className: "col-lg-12 col-md-12 col-sm-12 p-sm-0"
|
|
846
850
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
847
851
|
className: "".concat(loginstyles2.logininputLabel) + ' text-transform-none d-flex justify-content-start '
|
|
848
|
-
}, langdetect == 'en' ? 'Password' : 'كلمة السر'), /*#__PURE__*/React__default["default"].createElement("
|
|
852
|
+
}, langdetect == 'en' ? 'Password' : 'كلمة السر'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
853
|
+
onClick: function onClick() {
|
|
854
|
+
setshowpassword(!showpassword);
|
|
855
|
+
},
|
|
856
|
+
className: langdetect == 'en' ? loginstyles$1.showpassword_input_icon : loginstyles$1.showpassword_input_icontrans
|
|
857
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
858
|
+
className: "fa fa-eye h-100 d-flex align-items-center justify-content-center"
|
|
859
|
+
})), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
849
860
|
className: "".concat(loginstyles$1.form_control, " ").concat(loginstyles2.form_control),
|
|
850
|
-
type:
|
|
861
|
+
type: showpassword ? 'text' : 'password',
|
|
851
862
|
textplaceholder: "",
|
|
852
863
|
value: payloadobj.password,
|
|
853
864
|
onChange: function onChange(event) {
|
|
@@ -1111,9 +1122,137 @@ var Imagekitimagecomp = function Imagekitimagecomp(props) {
|
|
|
1111
1122
|
}));
|
|
1112
1123
|
};
|
|
1113
1124
|
|
|
1114
|
-
|
|
1125
|
+
var css_248z$H = "@media screen and (max-width: 800px) {\n .signup-module_rightContainer__yEcoL,\n .signup-module_rightContainerTrans__fkdBH {\n border-top-right-radius: 0 !important;\n border-bottom-right-radius: 15px !important;\n border-bottom-left-radius: 15px !important;\n }\n .signup-module_rightContainerText__-pvN- {\n font-size: 23px !important;\n }\n}\n.signup-module_form_control__7s76W:focus {\n -webkit-animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n}\n.signup-module_form_control__7s76W:focus + .signup-module_login_input_icon__RDTS0 {\n padding-left: 20px;\n}\n/* Forms */\n.signup-module_form_control__7s76W {\n display: block;\n width: 100%;\n /* height: 35px; */\n /* font-size: 1rem; */\n /* color: var(--cardtitle); */\n /* background: no-repeat center bottom, center calc(100% - 1px); */\n /* background-size: 0 100%, 100% 100%; */\n background-clip: padding-box;\n /* font-size: 14px; */\n /* transition: background 0s ease-out; */\n /* border: 0; */\n padding: 0 15px;\n font-weight: 500;\n display: flex;\n align-items: center;\n position: relative;\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .signup-module_form_control__7s76W {\n transition: none;\n }\n}\n.signup-module_form_control__7s76W::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.signup-module_form_control__7s76W:focus {\n outline: 0;\n}\n.signup-module_form_control__7s76W::placeholder {\n opacity: 1;\n}\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.signup-module_form_control__7s76W {\n height: auto;\n}\n.signup-module_form_control__7s76W:focus {\n /* background-size: 100% 100%, 100% 100%; */\n transition-duration: 0.3s;\n box-shadow: none;\n}\n.signup-module_form_control__7s76W::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W {\n /* background-image: linear-gradient(to top, #000 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px); */\n}\n.signup-module_form_control_border_none__HjUMS {\n background-image: none;\n}\n.signup-module_form_control__7s76W.signup-module_disabled__h55ao,\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[disabled] {\n /* background-image: linear-gradient(to right, #d2d2d2 0%, #d2d2d2 30%, transparent 30%, transparent 100%); */\n /* background-repeat: repeat-x;\n background-size: 3px 1px; */\n cursor: not-allowed;\n}\n@media screen and (max-width: 500px) {\n .signup-module_form_control__7s76W {\n /* padding: 0 5px !important; */\n }\n .signup-module_login_input_icon__RDTS0 {\n padding-left: 0 !important;\n }\n .signup-module_rightContainer__yEcoL {\n border-radius: 15px 15px 0 0 !important;\n }\n .signup-module_leftcontainer__bqfnN {\n border-radius: 15px 15px 0 0 !important;\n }\n}\n.signup-module_form_controltextarea__-LGz6{\n min-height: 10vh !important;\n}\n.signup-module_checkbox__8ejBx {\n --border: #022648;\n --border-hover: #959ed0;\n --tick: #fff;\n position: relative;\n /* color: var(--cardheader); */\n}\n.signup-module_checkbox_label__d84Q2 {\n font-size: 16px;\n text-transform: capitalize;\n font-weight: 500;\n cursor: pointer;\n}\n.signup-module_checkbox__8ejBx:hover {\n /* color: var(--border-hover); */\n}\n.signup-module_checkbox__8ejBx input,\n.signup-module_checkbox__8ejBx svg {\n width: 16px;\n height: 16px;\n display: block;\n}\n.signup-module_checkbox_sub__WQLUX input {\n width: 15px;\n height: 15px;\n}\n.signup-module_checkbox__8ejBx input {\n -webkit-appearance: none;\n -moz-appearance: none;\n position: relative;\n outline: none;\n background: white;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n border-radius: 4px;\n transition: box-shadow 0.3s;\n box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));\n}\n.signup-module_checkbox__8ejBx input:disabled {\n cursor: not-allowed;\n}\n.signup-module_checkbox__8ejBx input:hover {\n /* --s: 2px; */\n /* --b: var(--border-hover); */\n}\n.signup-module_checkbox__8ejBx input:checked {\n /* --b: var(--secondary); */\n}\n.signup-module_checkbox__8ejBx svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n /* stroke: var(--stroke, var(--secondary)); */\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.signup-module_checkbox_sub__WQLUX svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: var(--stroke, var(--secondary));\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.signup-module_checkboxtranslated__4xHR- svg {\n right: 0;\n}\n.signup-module_checkbox__8ejBx input:checked {\n --s: 2px;\n transition-delay: 0.4s;\n}\n.signup-module_checkbox__8ejBx input:checked + svg {\n --a: 16.1 86.12;\n --o: 102.22;\n}\n.signup-module_checkbox__8ejBx svg {\n stroke-dasharray: var(--a, 86.12);\n stroke-dashoffset: var(--o, 86.12);\n transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;\n}\n";
|
|
1126
|
+
var loginstyles = {"rightContainer":"signup-module_rightContainer__yEcoL","rightContainerTrans":"signup-module_rightContainerTrans__fkdBH","rightContainerText":"signup-module_rightContainerText__-pvN-","form_control":"signup-module_form_control__7s76W","anim-shadow":"signup-module_anim-shadow__CsxhG","login_input_icon":"signup-module_login_input_icon__RDTS0","form_control_border_none":"signup-module_form_control_border_none__HjUMS","disabled":"signup-module_disabled__h55ao","leftcontainer":"signup-module_leftcontainer__bqfnN","form_controltextarea":"signup-module_form_controltextarea__-LGz6","checkbox":"signup-module_checkbox__8ejBx","checkbox_label":"signup-module_checkbox_label__d84Q2","checkbox_sub":"signup-module_checkbox_sub__WQLUX","checkboxtranslated":"signup-module_checkboxtranslated__4xHR-"};
|
|
1127
|
+
styleInject(css_248z$H);
|
|
1128
|
+
|
|
1129
|
+
function ownKeys$29(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; }
|
|
1130
|
+
function _objectSpread$29(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$29(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$29(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1131
|
+
var defaultstyles = {
|
|
1132
|
+
option: function option(provided, state) {
|
|
1133
|
+
return _objectSpread$29(_objectSpread$29({}, provided), {}, {
|
|
1134
|
+
borderBottom: '1px solid #e6e6e6',
|
|
1135
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
1136
|
+
padding: 5,
|
|
1137
|
+
textTransform: 'capitalize',
|
|
1138
|
+
color: state.isSelected ? '#eac435' : 'black',
|
|
1139
|
+
transition: '.3s',
|
|
1140
|
+
'&:hover': {
|
|
1141
|
+
// color: '#eac435',
|
|
1142
|
+
cursor: 'pointer'
|
|
1143
|
+
}
|
|
1144
|
+
});
|
|
1145
|
+
},
|
|
1146
|
+
control: function control() {
|
|
1147
|
+
return {
|
|
1148
|
+
borderBottom: '1px solid #ccc',
|
|
1149
|
+
backgroundColor: 'white',
|
|
1150
|
+
display: 'flex',
|
|
1151
|
+
cursor: 'pointer',
|
|
1152
|
+
padding: 0,
|
|
1153
|
+
transition: '.3s',
|
|
1154
|
+
'&:hover': {
|
|
1155
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1156
|
+
// borderRadius: '10px',
|
|
1157
|
+
}
|
|
1158
|
+
};
|
|
1159
|
+
},
|
|
1160
|
+
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1161
|
+
return _objectSpread$29(_objectSpread$29({}, provided), {}, {
|
|
1162
|
+
'&:hover': {
|
|
1163
|
+
// color: '#eac435',
|
|
1164
|
+
}
|
|
1165
|
+
});
|
|
1166
|
+
}
|
|
1167
|
+
};
|
|
1168
|
+
var defaultstylestranslated = {
|
|
1169
|
+
option: function option(provided, state) {
|
|
1170
|
+
return _objectSpread$29(_objectSpread$29({}, provided), {}, {
|
|
1171
|
+
borderBottom: '1px solid #e6e6e6',
|
|
1172
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
1173
|
+
padding: 5,
|
|
1174
|
+
textTransform: 'capitalize',
|
|
1175
|
+
// color: state.isSelected ? '#eac435' : '#022648',
|
|
1176
|
+
color: state.isSelected ? '#eac435' : 'black',
|
|
1177
|
+
transition: '.3s',
|
|
1178
|
+
textAlign: 'right',
|
|
1179
|
+
'&:hover': {
|
|
1180
|
+
// color: '#eac435',
|
|
1181
|
+
cursor: 'pointer'
|
|
1182
|
+
}
|
|
1183
|
+
});
|
|
1184
|
+
},
|
|
1185
|
+
control: function control() {
|
|
1186
|
+
return {
|
|
1187
|
+
borderBottom: '1px solid #ccc',
|
|
1188
|
+
backgroundColor: 'white',
|
|
1189
|
+
display: 'flex',
|
|
1190
|
+
cursor: 'pointer',
|
|
1191
|
+
padding: 0,
|
|
1192
|
+
transition: '.3s',
|
|
1193
|
+
textAlign: 'right',
|
|
1194
|
+
'&:hover': {
|
|
1195
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1196
|
+
// borderRadius: '10px',
|
|
1197
|
+
}
|
|
1198
|
+
};
|
|
1199
|
+
},
|
|
1200
|
+
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1201
|
+
return _objectSpread$29(_objectSpread$29({}, provided), {}, {
|
|
1202
|
+
'&:hover': {
|
|
1203
|
+
// color: '#eac435',
|
|
1204
|
+
}
|
|
1205
|
+
});
|
|
1206
|
+
},
|
|
1207
|
+
placeholder: function placeholder(provided, state) {
|
|
1208
|
+
return _objectSpread$29(_objectSpread$29({}, provided), {}, {
|
|
1209
|
+
textAlign: 'right'
|
|
1210
|
+
});
|
|
1211
|
+
}
|
|
1212
|
+
};
|
|
1213
|
+
var defaultstylesnone = {
|
|
1214
|
+
option: function option(provided, state) {
|
|
1215
|
+
return _objectSpread$29(_objectSpread$29({}, provided), {}, {
|
|
1216
|
+
borderBottom: '1px solid #e6e6e6',
|
|
1217
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
1218
|
+
padding: 5,
|
|
1219
|
+
textTransform: 'capitalize',
|
|
1220
|
+
color: state.isSelected ? '#eac435' : 'black',
|
|
1221
|
+
transition: '.3s',
|
|
1222
|
+
'&:hover': {
|
|
1223
|
+
// color: '#eac435',
|
|
1224
|
+
cursor: 'pointer'
|
|
1225
|
+
}
|
|
1226
|
+
});
|
|
1227
|
+
},
|
|
1228
|
+
control: function control() {
|
|
1229
|
+
return {
|
|
1230
|
+
borderBottom: 'none',
|
|
1231
|
+
backgroundColor: 'transparent',
|
|
1232
|
+
display: 'flex',
|
|
1233
|
+
cursor: 'pointer',
|
|
1234
|
+
padding: 0,
|
|
1235
|
+
transition: '.3s',
|
|
1236
|
+
'&:hover': {
|
|
1237
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1238
|
+
// borderRadius: '10px',
|
|
1239
|
+
}
|
|
1240
|
+
};
|
|
1241
|
+
},
|
|
1242
|
+
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1243
|
+
return _objectSpread$29(_objectSpread$29({}, provided), {}, {
|
|
1244
|
+
'&:hover': {
|
|
1245
|
+
// color: '#eac435',
|
|
1246
|
+
}
|
|
1247
|
+
});
|
|
1248
|
+
}
|
|
1249
|
+
};
|
|
1250
|
+
|
|
1251
|
+
var Select$3 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
1252
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
1253
|
+
});
|
|
1115
1254
|
var Variantoptions = function Variantoptions(props) {
|
|
1116
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2;
|
|
1255
|
+
var _css, _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _ProductInfoObj$data2, _ProductInfoObj$data3, _ProductInfoObj$data4;
|
|
1117
1256
|
var lang = props.actions.lang;
|
|
1118
1257
|
var langdetect = props.actions.langdetect;
|
|
1119
1258
|
var selectproductoptionvalue = props.actions.selectproductoptionvalue;
|
|
@@ -1122,9 +1261,30 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1122
1261
|
var sectionproperties = props.actions.sectionproperties;
|
|
1123
1262
|
props.actions.ikimagecredcontext;
|
|
1124
1263
|
var ProductInfoObj = props.actions.ProductInfoObj;
|
|
1264
|
+
var formstyles = {
|
|
1265
|
+
input_label_name: glamor.css({
|
|
1266
|
+
color: sectionproperties.form_labelcolor,
|
|
1267
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
1268
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
1269
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
1270
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
|
|
1271
|
+
}),
|
|
1272
|
+
form_control: glamor.css((_css = {
|
|
1273
|
+
background: 'transparent',
|
|
1274
|
+
color: sectionproperties.inputfieldcolor,
|
|
1275
|
+
fontSize: sectionproperties.inputfieldfontsize + 'px',
|
|
1276
|
+
position: 'relative',
|
|
1277
|
+
display: 'flex',
|
|
1278
|
+
alignItems: 'center'
|
|
1279
|
+
}, _defineProperty__default["default"](_css, "display", 'block'), _defineProperty__default["default"](_css, "width", '100%'), _defineProperty__default["default"](_css, "padding", '0 10px'), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, "border", sectionproperties.inputfieldbordertype == 'All' ? sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor : 0), _defineProperty__default["default"](_css, "borderBottom", sectionproperties.inputfieldborderWidth + 'px solid ' + sectionproperties.inputfieldborderColor), _defineProperty__default["default"](_css, "borderRadius", sectionproperties.inputfieldborderradius + 'px'), _defineProperty__default["default"](_css, "height", sectionproperties.inputfieldheight + 'px'), _defineProperty__default["default"](_css, "background", sectionproperties.input_bgcolor), _defineProperty__default["default"](_css, "color", sectionproperties.inputfieldcolor), _defineProperty__default["default"](_css, ':focus', {
|
|
1280
|
+
borderColor: sectionproperties.inputfeildbordercoloronfocus
|
|
1281
|
+
}), _defineProperty__default["default"](_css, ':focus .login_input_icon', {
|
|
1282
|
+
color: sectionproperties.inputfeildbordercoloronfocus
|
|
1283
|
+
}), _css))
|
|
1284
|
+
};
|
|
1125
1285
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.hasvariants) == 1 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1126
1286
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
1127
|
-
}, ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : (_ProductInfoObj$data$ = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data$ === void 0 ? void 0 : (_ProductInfoObj$data$2 = _ProductInfoObj$data$.productoptions) === null || _ProductInfoObj$data$2 === void 0 ? void 0 : _ProductInfoObj$data$2.map(function (item, index) {
|
|
1287
|
+
}, sectionproperties.variantstyle == 'Slider' && (ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : (_ProductInfoObj$data$ = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data$ === void 0 ? void 0 : (_ProductInfoObj$data$2 = _ProductInfoObj$data$.productoptions) === null || _ProductInfoObj$data$2 === void 0 ? void 0 : _ProductInfoObj$data$2.map(function (item, index) {
|
|
1128
1288
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1129
1289
|
className: "col-lg-12 p-0 mb-3 d-flex justify-content-start"
|
|
1130
1290
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1248,7 +1408,74 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1248
1408
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1249
1409
|
}
|
|
1250
1410
|
}))));
|
|
1251
|
-
})))
|
|
1411
|
+
})), sectionproperties.variantstyle == 'Select Box' && (ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : (_ProductInfoObj$data3 = _ProductInfoObj$data2.productinfo) === null || _ProductInfoObj$data3 === void 0 ? void 0 : (_ProductInfoObj$data4 = _ProductInfoObj$data3.productoptions) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.map(function (item, index) {
|
|
1412
|
+
var orgselectoptions = [];
|
|
1413
|
+
var selecteditemid = null;
|
|
1414
|
+
var placeholdervalue = '';
|
|
1415
|
+
placeholdervalue = 'Choose' + ' ' + (langdetect == 'en' ? item.optionname : item.optionname_ar);
|
|
1416
|
+
if (item.optionvalues != undefined && Array.isArray(item.optionvalues)) {
|
|
1417
|
+
orgselectoptions = item.optionvalues;
|
|
1418
|
+
// optionvaluesitem.isselected
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
orgselectoptions.forEach(function (getselcitem, getselindex) {
|
|
1422
|
+
if (getselcitem.isselected == 1) {
|
|
1423
|
+
selecteditemid = getselcitem.valueid;
|
|
1424
|
+
}
|
|
1425
|
+
});
|
|
1426
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1427
|
+
"class": sectionproperties.numberofcolsperrow == '2' ? 'col-lg-2 col-md-3 col-sm-12 mb-3 p-sm-0' : sectionproperties.numberofcolsperrow == '3' ? ' col-lg-3 col-md-3 col-sm-12 mb-3 p-sm-0' : sectionproperties.numberofcolsperrow == '4' ? 'col-lg-4 col-md-4 col-sm-12 mb-3 p-sm-0' : sectionproperties.numberofcolsperrow == '6' ? 'col-lg-6 col-md-6 col-sm-12 mb-3 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0'
|
|
1428
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
1429
|
+
className: ' d-flex align-items-start mb-2 ',
|
|
1430
|
+
style: {
|
|
1431
|
+
color: sectionproperties.varianttitle_color,
|
|
1432
|
+
fontWeight: sectionproperties.varianttitle_fontweight,
|
|
1433
|
+
textTransform: sectionproperties.varianttitle_texttransform,
|
|
1434
|
+
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
1435
|
+
}
|
|
1436
|
+
}, langdetect == 'en' ? item.optionname : item.optionname_ar), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1437
|
+
style: {
|
|
1438
|
+
width: '100%'
|
|
1439
|
+
},
|
|
1440
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control) + ' variantselectbox '
|
|
1441
|
+
}, /*#__PURE__*/React__default["default"].createElement(Select$3, {
|
|
1442
|
+
options: orgselectoptions,
|
|
1443
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
1444
|
+
var crname = '';
|
|
1445
|
+
if (langdetect == 'en') {
|
|
1446
|
+
crname = option.valuename;
|
|
1447
|
+
} else if (langdetect == 'ar') {
|
|
1448
|
+
crname = option.valuename_ar;
|
|
1449
|
+
}
|
|
1450
|
+
return crname;
|
|
1451
|
+
},
|
|
1452
|
+
getOptionValue: function getOptionValue(option) {
|
|
1453
|
+
return option.valueid;
|
|
1454
|
+
},
|
|
1455
|
+
value: orgselectoptions.filter(function (option) {
|
|
1456
|
+
return option.valueid == selecteditemid;
|
|
1457
|
+
}),
|
|
1458
|
+
onChange: function onChange(optionvaluesitem) {
|
|
1459
|
+
var _orgselectoptions;
|
|
1460
|
+
var optionvaluesindex = null;
|
|
1461
|
+
(_orgselectoptions = orgselectoptions) === null || _orgselectoptions === void 0 ? void 0 : _orgselectoptions.forEach(function (tempitm, tempind) {
|
|
1462
|
+
if (tempitm.valueid == optionvaluesitem.valueid) {
|
|
1463
|
+
optionvaluesindex = tempind;
|
|
1464
|
+
}
|
|
1465
|
+
});
|
|
1466
|
+
if (optionvaluesindex != null) {
|
|
1467
|
+
if (optionvaluesitem.isenabled == 1) {
|
|
1468
|
+
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1469
|
+
} else {
|
|
1470
|
+
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1471
|
+
}
|
|
1472
|
+
}
|
|
1473
|
+
},
|
|
1474
|
+
styles: defaultstylesnone,
|
|
1475
|
+
placeholder: placeholdervalue,
|
|
1476
|
+
isSearchable: true
|
|
1477
|
+
})));
|
|
1478
|
+
}))));
|
|
1252
1479
|
};
|
|
1253
1480
|
|
|
1254
1481
|
//productidprops
|
|
@@ -1342,12 +1569,8 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
1342
1569
|
}, '-' + parseFloat(Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0).toFixed(0) + '%'))))));
|
|
1343
1570
|
};
|
|
1344
1571
|
|
|
1345
|
-
|
|
1346
|
-
var
|
|
1347
|
-
styleInject(css_248z$H);
|
|
1348
|
-
|
|
1349
|
-
function ownKeys$29(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; }
|
|
1350
|
-
function _objectSpread$29(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$29(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$29(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1572
|
+
function ownKeys$28(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; }
|
|
1573
|
+
function _objectSpread$28(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$28(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$28(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1351
1574
|
var ProductExtraFields = function ProductExtraFields(props) {
|
|
1352
1575
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _css, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7;
|
|
1353
1576
|
props.actions.lang;
|
|
@@ -1401,9 +1624,9 @@ var ProductExtraFields = function ProductExtraFields(props) {
|
|
|
1401
1624
|
});
|
|
1402
1625
|
}
|
|
1403
1626
|
setproductextravaluesarray(_toConsumableArray__default["default"](tempproductextravaluesarray));
|
|
1404
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
1627
|
+
var tempaddtocardpayloadobj = _objectSpread$28({}, addtocardpayloadobj);
|
|
1405
1628
|
tempaddtocardpayloadobj.extrafields = tempproductextravaluesarray;
|
|
1406
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
1629
|
+
setaddtocardpayloadobj(_objectSpread$28({}, tempaddtocardpayloadobj));
|
|
1407
1630
|
};
|
|
1408
1631
|
var formstyles = {
|
|
1409
1632
|
loginbtn: glamor.css({
|
|
@@ -1586,8 +1809,8 @@ var ProductExtraFields = function ProductExtraFields(props) {
|
|
|
1586
1809
|
}))));
|
|
1587
1810
|
};
|
|
1588
1811
|
|
|
1589
|
-
function ownKeys$
|
|
1590
|
-
function _objectSpread$
|
|
1812
|
+
function ownKeys$27(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; }
|
|
1813
|
+
function _objectSpread$27(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$27(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$27(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1591
1814
|
var Product_itemtype = function Product_itemtype(props) {
|
|
1592
1815
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52;
|
|
1593
1816
|
var lang = props.actions.lang;
|
|
@@ -1893,11 +2116,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1893
2116
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1894
2117
|
className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
1895
2118
|
onClick: function onClick() {
|
|
1896
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2119
|
+
var tempaddtocardpayloadobj = _objectSpread$27({}, addtocardpayloadobj);
|
|
1897
2120
|
if (tempaddtocardpayloadobj.quantity > 0) {
|
|
1898
2121
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
|
|
1899
2122
|
}
|
|
1900
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2123
|
+
setaddtocardpayloadobj(_objectSpread$27({}, tempaddtocardpayloadobj));
|
|
1901
2124
|
}
|
|
1902
2125
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
1903
2126
|
className: "fa fa-chevron-down",
|
|
@@ -1909,9 +2132,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1909
2132
|
}, addtocardpayloadobj.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1910
2133
|
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
1911
2134
|
onClick: function onClick() {
|
|
1912
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2135
|
+
var tempaddtocardpayloadobj = _objectSpread$27({}, addtocardpayloadobj);
|
|
1913
2136
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
|
|
1914
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2137
|
+
setaddtocardpayloadobj(_objectSpread$27({}, tempaddtocardpayloadobj));
|
|
1915
2138
|
}
|
|
1916
2139
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
1917
2140
|
className: "fa fa-chevron-up",
|
|
@@ -1949,7 +2172,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1949
2172
|
size: sectionproperties.cartBtn_iconFontSize
|
|
1950
2173
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
1951
2174
|
size: sectionproperties.cartBtn_iconFontSize
|
|
1952
|
-
})),
|
|
2175
|
+
})), langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1953
2176
|
className: ' d-flex align-items-center justify-content-center '
|
|
1954
2177
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
1955
2178
|
color: "white",
|
|
@@ -2113,8 +2336,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2113
2336
|
}, StoreInfoprops())))));
|
|
2114
2337
|
};
|
|
2115
2338
|
|
|
2116
|
-
function ownKeys$
|
|
2117
|
-
function _objectSpread$
|
|
2339
|
+
function ownKeys$26(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; }
|
|
2340
|
+
function _objectSpread$26(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$26(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$26(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2118
2341
|
var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
2119
2342
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24;
|
|
2120
2343
|
var langdetect = props.actions.langdetect;
|
|
@@ -2155,7 +2378,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2155
2378
|
slots = _useState6[0],
|
|
2156
2379
|
setslots = _useState6[1];
|
|
2157
2380
|
React.useEffect(function () {
|
|
2158
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2381
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2159
2382
|
item_type: 'service'
|
|
2160
2383
|
}));
|
|
2161
2384
|
}, [tabsarray]);
|
|
@@ -2167,16 +2390,16 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2167
2390
|
if (diffDays.toString() != 'NaN') {
|
|
2168
2391
|
if (date2 <= date1) {
|
|
2169
2392
|
NotificationManager.warning('', 'Please choose another date.');
|
|
2170
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2393
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2171
2394
|
quantity: 0
|
|
2172
2395
|
}));
|
|
2173
2396
|
} else {
|
|
2174
2397
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
|
|
2175
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2398
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2176
2399
|
quantity: diffDays
|
|
2177
2400
|
}));
|
|
2178
2401
|
} else {
|
|
2179
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2402
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2180
2403
|
quantity: 0
|
|
2181
2404
|
}));
|
|
2182
2405
|
NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
@@ -2312,7 +2535,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2312
2535
|
min: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : (_fetchProductInfoQuer10 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.serviceinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.reservationstarts,
|
|
2313
2536
|
max: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : (_fetchProductInfoQuer14 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : (_fetchProductInfoQuer15 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : (_fetchProductInfoQuer16 = _fetchProductInfoQuer15.serviceinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.reservationends,
|
|
2314
2537
|
onChange: function onChange(event) {
|
|
2315
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2538
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2316
2539
|
from: event.target.value
|
|
2317
2540
|
}));
|
|
2318
2541
|
}
|
|
@@ -2332,7 +2555,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2332
2555
|
min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
|
|
2333
2556
|
max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
|
|
2334
2557
|
onChange: function onChange(event) {
|
|
2335
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2558
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2336
2559
|
to: event.target.value
|
|
2337
2560
|
}));
|
|
2338
2561
|
}
|
|
@@ -2352,7 +2575,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2352
2575
|
min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
|
|
2353
2576
|
max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
|
|
2354
2577
|
onChange: function onChange(event) {
|
|
2355
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2578
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2356
2579
|
date: event.target.value
|
|
2357
2580
|
}));
|
|
2358
2581
|
setcurrentmutatestate('/fetchserviceslots');
|
|
@@ -2403,7 +2626,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2403
2626
|
color: ischoosed ? sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? sectionproperties.generalbtn_textColoronhover : sectionproperties.generalbtn_textColor : ''
|
|
2404
2627
|
},
|
|
2405
2628
|
onClick: function onClick() {
|
|
2406
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2629
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2407
2630
|
time: item.slot
|
|
2408
2631
|
}));
|
|
2409
2632
|
}
|
|
@@ -2412,7 +2635,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2412
2635
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
2413
2636
|
"class": TabsStyles.booknow_btn_resp + ' allcentered ',
|
|
2414
2637
|
onClick: function onClick() {
|
|
2415
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2638
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2416
2639
|
time: item.slot
|
|
2417
2640
|
}));
|
|
2418
2641
|
}
|
|
@@ -2454,7 +2677,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2454
2677
|
"class": ischoosed == true ? TabsStyles.timeSlotContainer_active + ' allcentered cursor-pointer px-1 ' : TabsStyles.timeSlotContainer + ' allcentered cursor-pointer px-1 ',
|
|
2455
2678
|
style: {},
|
|
2456
2679
|
onClick: function onClick() {
|
|
2457
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2680
|
+
setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
|
|
2458
2681
|
time: item.slot
|
|
2459
2682
|
}));
|
|
2460
2683
|
}
|
|
@@ -3039,8 +3262,8 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
3039
3262
|
}, StoreInfoprops()))));
|
|
3040
3263
|
};
|
|
3041
3264
|
|
|
3042
|
-
function ownKeys$
|
|
3043
|
-
function _objectSpread$
|
|
3265
|
+
function ownKeys$25(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; }
|
|
3266
|
+
function _objectSpread$25(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$25(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$25(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3044
3267
|
var AddReview = function AddReview(props) {
|
|
3045
3268
|
var _css;
|
|
3046
3269
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -3094,7 +3317,7 @@ var AddReview = function AddReview(props) {
|
|
|
3094
3317
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
3095
3318
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
3096
3319
|
});
|
|
3097
|
-
setsectionproperties(_objectSpread$
|
|
3320
|
+
setsectionproperties(_objectSpread$25({}, secpropobj));
|
|
3098
3321
|
}
|
|
3099
3322
|
}, [StatePagePropertiesContext]);
|
|
3100
3323
|
React.useEffect(function () {
|
|
@@ -3103,7 +3326,7 @@ var AddReview = function AddReview(props) {
|
|
|
3103
3326
|
templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[pageindexcontext]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
|
|
3104
3327
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
3105
3328
|
});
|
|
3106
|
-
setsectionproperties(_objectSpread$
|
|
3329
|
+
setsectionproperties(_objectSpread$25({}, secpropobj));
|
|
3107
3330
|
}, [pageindexcontext]);
|
|
3108
3331
|
var reviewstyles = {
|
|
3109
3332
|
submitreviewbtn: glamor.css({
|
|
@@ -3229,9 +3452,9 @@ var AddReview = function AddReview(props) {
|
|
|
3229
3452
|
}),
|
|
3230
3453
|
activeColor: "#ffd700",
|
|
3231
3454
|
onChange: function onChange(event) {
|
|
3232
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
3455
|
+
var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
|
|
3233
3456
|
tempreviewpayloadobj.reviewrate = event;
|
|
3234
|
-
setreviewpayloadobj(_objectSpread$
|
|
3457
|
+
setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
|
|
3235
3458
|
}
|
|
3236
3459
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3237
3460
|
"class": "col-lg-12"
|
|
@@ -3245,9 +3468,9 @@ var AddReview = function AddReview(props) {
|
|
|
3245
3468
|
"class": reviewstyles.form_control,
|
|
3246
3469
|
value: reviewpayloadobj.reviewname,
|
|
3247
3470
|
onChange: function onChange(event) {
|
|
3248
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
3471
|
+
var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
|
|
3249
3472
|
tempreviewpayloadobj.reviewname = event.target.value;
|
|
3250
|
-
setreviewpayloadobj(_objectSpread$
|
|
3473
|
+
setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
|
|
3251
3474
|
}
|
|
3252
3475
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3253
3476
|
"class": "col-lg-12 mb-4"
|
|
@@ -3257,9 +3480,9 @@ var AddReview = function AddReview(props) {
|
|
|
3257
3480
|
"class": reviewstyles.form_control,
|
|
3258
3481
|
value: reviewpayloadobj.reviewtitle,
|
|
3259
3482
|
onChange: function onChange(event) {
|
|
3260
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
3483
|
+
var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
|
|
3261
3484
|
tempreviewpayloadobj.reviewtitle = event.target.value;
|
|
3262
|
-
setreviewpayloadobj(_objectSpread$
|
|
3485
|
+
setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
|
|
3263
3486
|
}
|
|
3264
3487
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3265
3488
|
"class": "col-lg-12 mb-4"
|
|
@@ -3270,9 +3493,9 @@ var AddReview = function AddReview(props) {
|
|
|
3270
3493
|
"class": reviewstyles.form_control + ' form_control ',
|
|
3271
3494
|
value: reviewpayloadobj.reviewbody,
|
|
3272
3495
|
onChange: function onChange(event) {
|
|
3273
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
3496
|
+
var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
|
|
3274
3497
|
tempreviewpayloadobj.reviewbody = event.target.value;
|
|
3275
|
-
setreviewpayloadobj(_objectSpread$
|
|
3498
|
+
setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
|
|
3276
3499
|
},
|
|
3277
3500
|
style: {
|
|
3278
3501
|
resize: 'none',
|
|
@@ -3307,8 +3530,8 @@ var AddReview = function AddReview(props) {
|
|
|
3307
3530
|
}, langdetect == 'en' ? sectionproperties.reviewbtn_contenten : sectionproperties.reviewbtn_contentar)));
|
|
3308
3531
|
};
|
|
3309
3532
|
|
|
3310
|
-
function ownKeys$
|
|
3311
|
-
function _objectSpread$
|
|
3533
|
+
function ownKeys$24(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; }
|
|
3534
|
+
function _objectSpread$24(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$24(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$24(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3312
3535
|
var ProductReviews = function ProductReviews(props) {
|
|
3313
3536
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12;
|
|
3314
3537
|
props.actions.lang;
|
|
@@ -3542,7 +3765,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
3542
3765
|
size: "md",
|
|
3543
3766
|
"class": "reviewmodal"
|
|
3544
3767
|
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement(AddReview, {
|
|
3545
|
-
actions: _objectSpread$
|
|
3768
|
+
actions: _objectSpread$24(_objectSpread$24({}, actions), {}, {
|
|
3546
3769
|
productid: productid,
|
|
3547
3770
|
canuserreview: canuserreview,
|
|
3548
3771
|
addreviewcallback: addreviewcallback
|
|
@@ -3550,8 +3773,8 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
3550
3773
|
}))));
|
|
3551
3774
|
};
|
|
3552
3775
|
|
|
3553
|
-
function ownKeys$
|
|
3554
|
-
function _objectSpread$
|
|
3776
|
+
function ownKeys$23(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; }
|
|
3777
|
+
function _objectSpread$23(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$23(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$23(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3555
3778
|
var Productinfo = function Productinfo(props) {
|
|
3556
3779
|
var _css, _ref, _ref2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _fetchProductInfoQuer78, _fetchProductInfoQuer79, _fetchProductInfoQuer80, _fetchProductInfoQuer81, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
|
|
3557
3780
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -3664,7 +3887,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
3664
3887
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
3665
3888
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
3666
3889
|
});
|
|
3667
|
-
setsectionproperties(_objectSpread$
|
|
3890
|
+
setsectionproperties(_objectSpread$23({}, secpropobj));
|
|
3668
3891
|
}
|
|
3669
3892
|
}, [StatePagePropertiesContext]);
|
|
3670
3893
|
React.useEffect(function () {
|
|
@@ -3685,7 +3908,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
3685
3908
|
templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[pageindexcontext]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
|
|
3686
3909
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
3687
3910
|
});
|
|
3688
|
-
setsectionproperties(_objectSpread$
|
|
3911
|
+
setsectionproperties(_objectSpread$23({}, secpropobj));
|
|
3689
3912
|
}, [pageindexcontext]);
|
|
3690
3913
|
React.useEffect(function () {
|
|
3691
3914
|
if (productidparam == undefined) {
|
|
@@ -3705,12 +3928,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
3705
3928
|
}
|
|
3706
3929
|
}, [ProductInfoObj, isloaded]);
|
|
3707
3930
|
var productidassigner = function productidassigner(productid) {
|
|
3708
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
3931
|
+
var tempFetchQueriesEngineContext = _objectSpread$23({}, FetchQueriesEngineContext);
|
|
3709
3932
|
tempFetchQueriesEngineContext.fetchproductinfo = true;
|
|
3710
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
3711
|
-
var tempfetchproductinfoObjContext = _objectSpread$
|
|
3933
|
+
setFetchQueriesEngineContext(_objectSpread$23({}, tempFetchQueriesEngineContext));
|
|
3934
|
+
var tempfetchproductinfoObjContext = _objectSpread$23({}, fetchproductinfoObjContext);
|
|
3712
3935
|
tempfetchproductinfoObjContext.productid = productid;
|
|
3713
|
-
setfetchproductinfoObjContext(_objectSpread$
|
|
3936
|
+
setfetchproductinfoObjContext(_objectSpread$23({}, tempfetchproductinfoObjContext));
|
|
3714
3937
|
};
|
|
3715
3938
|
React.useEffect(function () {
|
|
3716
3939
|
if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
|
|
@@ -3736,9 +3959,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
3736
3959
|
}
|
|
3737
3960
|
setproductimagesarray([].concat(tempproductimagesarray));
|
|
3738
3961
|
variantchecker();
|
|
3739
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
3962
|
+
var tempaddtocardpayloadobj = _objectSpread$23({}, addtocardpayloadobj);
|
|
3740
3963
|
tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext.data.data.productinfo.productid;
|
|
3741
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3964
|
+
setaddtocardpayloadobj(_objectSpread$23({}, tempaddtocardpayloadobj));
|
|
3742
3965
|
setRelatedProductsTagid(fetchProductInfoQueryContext.data.data.productinfo.maintagid);
|
|
3743
3966
|
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.maintagid) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : (_fetchProductInfoQuer5 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : (_fetchProductInfoQuer6 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : (_fetchProductInfoQuer7 = _fetchProductInfoQuer6.maintagid) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.length) != 0) {
|
|
3744
3967
|
GeneralAPIMutationContext.mutate({
|
|
@@ -3785,7 +4008,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
3785
4008
|
});
|
|
3786
4009
|
variantchecker();
|
|
3787
4010
|
variantcompleting();
|
|
3788
|
-
setProductInfoObj(_objectSpread$
|
|
4011
|
+
setProductInfoObj(_objectSpread$23({}, productarr));
|
|
3789
4012
|
};
|
|
3790
4013
|
var variantchecker = function variantchecker() {
|
|
3791
4014
|
var productarr = ProductInfoObj;
|
|
@@ -3859,16 +4082,16 @@ var Productinfo = function Productinfo(props) {
|
|
|
3859
4082
|
});
|
|
3860
4083
|
}
|
|
3861
4084
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
3862
|
-
setProductInfoObj(_objectSpread$
|
|
4085
|
+
setProductInfoObj(_objectSpread$23({}, productarr));
|
|
3863
4086
|
setisloaded(true);
|
|
3864
4087
|
}
|
|
3865
4088
|
}
|
|
3866
4089
|
};
|
|
3867
4090
|
var variantcompleting = function variantcompleting() {
|
|
3868
4091
|
setvariantindexcompleted('');
|
|
3869
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
4092
|
+
var tempaddtocardpayloadobj = _objectSpread$23({}, addtocardpayloadobj);
|
|
3870
4093
|
tempaddtocardpayloadobj.variantid = '';
|
|
3871
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
4094
|
+
setaddtocardpayloadobj(_objectSpread$23({}, tempaddtocardpayloadobj));
|
|
3872
4095
|
var productarr = ProductInfoObj;
|
|
3873
4096
|
var selectedoptionsvalues = [];
|
|
3874
4097
|
productarr.data.productinfo.productoptions.forEach(function (productoptionsitem, productoptionsindex) {
|
|
@@ -3900,7 +4123,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
3900
4123
|
NotificationManager.warning('', 'Variant Not Found');
|
|
3901
4124
|
} else {
|
|
3902
4125
|
variantid = variantobj.variantid;
|
|
3903
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
4126
|
+
var tempaddtocardpayloadobj = _objectSpread$23({}, addtocardpayloadobj);
|
|
3904
4127
|
tempaddtocardpayloadobj.variantid = variantid;
|
|
3905
4128
|
var variantimageindex = 0;
|
|
3906
4129
|
productimagesarray === null || productimagesarray === void 0 ? void 0 : productimagesarray.forEach(function (tempimageitem, tempimageindex) {
|
|
@@ -3909,13 +4132,13 @@ var Productinfo = function Productinfo(props) {
|
|
|
3909
4132
|
}
|
|
3910
4133
|
});
|
|
3911
4134
|
setcurrentshowingimageindex(variantimageindex);
|
|
3912
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
4135
|
+
setaddtocardpayloadobj(_objectSpread$23({}, tempaddtocardpayloadobj));
|
|
3913
4136
|
setvariantindexcompleted(ProductVariantIndex);
|
|
3914
4137
|
}
|
|
3915
4138
|
}
|
|
3916
4139
|
});
|
|
3917
4140
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
3918
|
-
setProductInfoObj(_objectSpread$
|
|
4141
|
+
setProductInfoObj(_objectSpread$23({}, productarr));
|
|
3919
4142
|
};
|
|
3920
4143
|
var addtocartfunc = function addtocartfunc() {
|
|
3921
4144
|
var runfunc = false;
|
|
@@ -3935,7 +4158,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
3935
4158
|
}
|
|
3936
4159
|
if (runfunc == true) {
|
|
3937
4160
|
var _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13;
|
|
3938
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
4161
|
+
var tempaddtocardpayloadobj = _objectSpread$23({}, addtocardpayloadobj);
|
|
3939
4162
|
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : (_fetchProductInfoQuer13 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.isproductforcedtocheckout;
|
|
3940
4163
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
3941
4164
|
if (Extrafieldvalidationresponse.status) {
|
|
@@ -3945,7 +4168,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
3945
4168
|
};
|
|
3946
4169
|
var validateextrafields = function validateextrafields() {
|
|
3947
4170
|
var _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16;
|
|
3948
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
4171
|
+
var tempaddtocardpayloadobj = _objectSpread$23({}, addtocardpayloadobj);
|
|
3949
4172
|
var status = false;
|
|
3950
4173
|
var reason = '';
|
|
3951
4174
|
var missingitemsfound = [];
|
|
@@ -4838,7 +5061,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4838
5061
|
})), tabname == 'reviewstab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4839
5062
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
4840
5063
|
}, /*#__PURE__*/React__default["default"].createElement(ProductReviews, {
|
|
4841
|
-
actions: _objectSpread$
|
|
5064
|
+
actions: _objectSpread$23(_objectSpread$23({}, actions), {}, {
|
|
4842
5065
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
4843
5066
|
sectionproperties: sectionproperties
|
|
4844
5067
|
})
|
|
@@ -4855,8 +5078,8 @@ var css_248z$G = "/* Side Nav */\n.staticroutersidenav-module_vertical_nav_menu_
|
|
|
4855
5078
|
var staticroutersidenav = {"vertical_nav_menu":"staticroutersidenav-module_vertical_nav_menu__p0mIj","sidebar_item":"staticroutersidenav-module_sidebar_item__3F9Q1","sidenav_page_name":"staticroutersidenav-module_sidenav_page_name__46AJV","sidenav_icon_cont":"staticroutersidenav-module_sidenav_icon_cont__O8YSe","metismenu_icon":"staticroutersidenav-module_metismenu_icon__EcRZ1","sidenav_active":"staticroutersidenav-module_sidenav_active__IjRo0","horizontal_nav_menu":"staticroutersidenav-module_horizontal_nav_menu__6V32S","sidebar_itemlastchild":"staticroutersidenav-module_sidebar_itemlastchild__9O187"};
|
|
4856
5079
|
styleInject(css_248z$G);
|
|
4857
5080
|
|
|
4858
|
-
function ownKeys$
|
|
4859
|
-
function _objectSpread$
|
|
5081
|
+
function ownKeys$22(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; }
|
|
5082
|
+
function _objectSpread$22(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$22(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$22(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4860
5083
|
var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
4861
5084
|
var _useState = React.useState(props.currentpageprops),
|
|
4862
5085
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -4892,7 +5115,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
4892
5115
|
templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
|
|
4893
5116
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4894
5117
|
});
|
|
4895
|
-
setsectionproperties(_objectSpread$
|
|
5118
|
+
setsectionproperties(_objectSpread$22({}, secpropobj));
|
|
4896
5119
|
}
|
|
4897
5120
|
}, [CurrentPageId]);
|
|
4898
5121
|
var styles = {
|
|
@@ -5054,8 +5277,8 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
5054
5277
|
}))))));
|
|
5055
5278
|
};
|
|
5056
5279
|
|
|
5057
|
-
function ownKeys$
|
|
5058
|
-
function _objectSpread$
|
|
5280
|
+
function ownKeys$21(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; }
|
|
5281
|
+
function _objectSpread$21(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$21(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$21(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5059
5282
|
var Ordershistory = function Ordershistory(props) {
|
|
5060
5283
|
var _props$actions2, _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchorderhistoryQue4, _fetchorderhistoryQue5, _fetchorderhistoryQue6, _fetchorderhistoryQue7, _fetchorderhistoryQue8, _fetchorderhistoryQue9, _fetchorderhistoryQue10, _fetchorderhistoryQue11, _fetchorderhistoryQue12, _fetchorderhistoryQue13, _fetchorderhistoryQue14;
|
|
5061
5284
|
var lang = props.actions.lang;
|
|
@@ -5108,9 +5331,9 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
5108
5331
|
setorderindex = _useState14[1];
|
|
5109
5332
|
React.useEffect(function () {
|
|
5110
5333
|
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin) == true) {
|
|
5111
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
5334
|
+
var tempFetchQueriesEngineContext = _objectSpread$21({}, FetchQueriesEngineContext);
|
|
5112
5335
|
tempFetchQueriesEngineContext.orderhistory = true;
|
|
5113
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
5336
|
+
setFetchQueriesEngineContext(_objectSpread$21({}, tempFetchQueriesEngineContext));
|
|
5114
5337
|
}
|
|
5115
5338
|
}, []);
|
|
5116
5339
|
var _useState15 = React.useState(''),
|
|
@@ -5131,7 +5354,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
5131
5354
|
props === null || props === void 0 ? void 0 : (_props$actions = props.actions) === null || _props$actions === void 0 ? void 0 : (_props$actions$StateP = _props$actions.StatePagePropertiesContext) === null || _props$actions$StateP === void 0 ? void 0 : (_props$actions$StateP2 = _props$actions$StateP.pageobj) === null || _props$actions$StateP2 === void 0 ? void 0 : (_props$actions$StateP3 = _props$actions$StateP2.pageproperties) === null || _props$actions$StateP3 === void 0 ? void 0 : _props$actions$StateP3.forEach(function (arrayItem, arrayindex) {
|
|
5132
5355
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
5133
5356
|
});
|
|
5134
|
-
setsectionproperties(_objectSpread$
|
|
5357
|
+
setsectionproperties(_objectSpread$21({}, secpropobj));
|
|
5135
5358
|
}, [props === null || props === void 0 ? void 0 : (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
5136
5359
|
var orderhistory_cssstyles = {
|
|
5137
5360
|
variantcontainer: glamor.css({
|
|
@@ -5988,8 +6211,8 @@ var css_248z$F = ".wishlist-module_wishlist_card__sUXul .wishlist-module_image_c
|
|
|
5988
6211
|
var wishliststyles = {"wishlist_card":"wishlist-module_wishlist_card__sUXul","image_container":"wishlist-module_image_container__FuptA","floatbtn":"wishlist-module_floatbtn__PZDvQ"};
|
|
5989
6212
|
styleInject(css_248z$F);
|
|
5990
6213
|
|
|
5991
|
-
function ownKeys$
|
|
5992
|
-
function _objectSpread$
|
|
6214
|
+
function ownKeys$20(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; }
|
|
6215
|
+
function _objectSpread$20(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$20(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$20(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5993
6216
|
var Wishlist = function Wishlist(props) {
|
|
5994
6217
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
5995
6218
|
var lang = props.actions.lang;
|
|
@@ -6017,13 +6240,13 @@ var Wishlist = function Wishlist(props) {
|
|
|
6017
6240
|
StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
6018
6241
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6019
6242
|
});
|
|
6020
|
-
setsectionproperties(_objectSpread$
|
|
6243
|
+
setsectionproperties(_objectSpread$20({}, secpropobj));
|
|
6021
6244
|
}
|
|
6022
6245
|
}, [StatePagePropertiesContext]);
|
|
6023
6246
|
React.useEffect(function () {
|
|
6024
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
6247
|
+
var tempFetchQueriesEngineContext = _objectSpread$20({}, FetchQueriesEngineContext);
|
|
6025
6248
|
tempFetchQueriesEngineContext.fetchfavoriteproducts = true;
|
|
6026
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
6249
|
+
setFetchQueriesEngineContext(_objectSpread$20({}, tempFetchQueriesEngineContext));
|
|
6027
6250
|
}, []);
|
|
6028
6251
|
React.useEffect(function () {
|
|
6029
6252
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
@@ -6032,7 +6255,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
6032
6255
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 ? void 0 : (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 ? void 0 : (_StatePagePropertiesC2 = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC2 === void 0 ? void 0 : _StatePagePropertiesC2.forEach(function (arrayItem, arrayindex) {
|
|
6033
6256
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6034
6257
|
});
|
|
6035
|
-
setsectionproperties(_objectSpread$
|
|
6258
|
+
setsectionproperties(_objectSpread$20({}, secpropobj));
|
|
6036
6259
|
}
|
|
6037
6260
|
}, [StatePagePropertiesContext]);
|
|
6038
6261
|
var wishlist_cssstyles = {
|
|
@@ -6437,8 +6660,8 @@ var Wishlist = function Wishlist(props) {
|
|
|
6437
6660
|
})));
|
|
6438
6661
|
};
|
|
6439
6662
|
|
|
6440
|
-
function ownKeys$
|
|
6441
|
-
function _objectSpread$
|
|
6663
|
+
function ownKeys$1$(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; }
|
|
6664
|
+
function _objectSpread$1$(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1$(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1$(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6442
6665
|
var Viewcart = function Viewcart(props) {
|
|
6443
6666
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25;
|
|
6444
6667
|
var lang = props.actions.lang;
|
|
@@ -6470,7 +6693,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
6470
6693
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 ? void 0 : (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 ? void 0 : (_StatePagePropertiesC2 = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC2 === void 0 ? void 0 : _StatePagePropertiesC2.forEach(function (arrayItem, arrayindex) {
|
|
6471
6694
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6472
6695
|
});
|
|
6473
|
-
setsectionproperties(_objectSpread$
|
|
6696
|
+
setsectionproperties(_objectSpread$1$({}, secpropobj));
|
|
6474
6697
|
}
|
|
6475
6698
|
}, [StatePagePropertiesContext]);
|
|
6476
6699
|
React.useEffect(function () {
|
|
@@ -7054,91 +7277,6 @@ var css_248z$E = "/* Forms */\n.form-module_form_control__4-RGw {\n display:
|
|
|
7054
7277
|
var formstyles = {"form_control":"form-module_form_control__4-RGw","textarea":"form-module_textarea__zG0ed","form_control_border_none":"form-module_form_control_border_none__TJvdZ","disabled":"form-module_disabled__AtvSI","input_label_name":"form-module_input_label_name__416wN","input_label_name-bolder":"form-module_input_label_name-bolder__UQn0a","input_icon":"form-module_input_icon__X-CzC","radiobtn_label":"form-module_radiobtn_label__-4Hoi","text-grey":"form-module_text-grey__JdZMY","radiobtn_label_translated":"form-module_radiobtn_label_translated__WN5Jj","checkbox":"form-module_checkbox__XPkWy","checkbox_label":"form-module_checkbox_label__VvcKs","checkbox_sub":"form-module_checkbox_sub__QWYil","checkboxtranslated":"form-module_checkboxtranslated__zvEV-"};
|
|
7055
7278
|
styleInject(css_248z$E);
|
|
7056
7279
|
|
|
7057
|
-
function ownKeys$1$(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; }
|
|
7058
|
-
function _objectSpread$1$(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1$(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1$(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7059
|
-
var defaultstyles = {
|
|
7060
|
-
option: function option(provided, state) {
|
|
7061
|
-
return _objectSpread$1$(_objectSpread$1$({}, provided), {}, {
|
|
7062
|
-
borderBottom: '1px solid #e6e6e6',
|
|
7063
|
-
backgroundColor: state.isSelected ? '' : '',
|
|
7064
|
-
padding: 5,
|
|
7065
|
-
textTransform: 'capitalize',
|
|
7066
|
-
color: state.isSelected ? '#eac435' : 'black',
|
|
7067
|
-
transition: '.3s',
|
|
7068
|
-
'&:hover': {
|
|
7069
|
-
// color: '#eac435',
|
|
7070
|
-
cursor: 'pointer'
|
|
7071
|
-
}
|
|
7072
|
-
});
|
|
7073
|
-
},
|
|
7074
|
-
control: function control() {
|
|
7075
|
-
return {
|
|
7076
|
-
borderBottom: '1px solid #ccc',
|
|
7077
|
-
backgroundColor: 'white',
|
|
7078
|
-
display: 'flex',
|
|
7079
|
-
cursor: 'pointer',
|
|
7080
|
-
padding: 0,
|
|
7081
|
-
transition: '.3s',
|
|
7082
|
-
'&:hover': {
|
|
7083
|
-
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
7084
|
-
// borderRadius: '10px',
|
|
7085
|
-
}
|
|
7086
|
-
};
|
|
7087
|
-
},
|
|
7088
|
-
dropdownIndicator: function dropdownIndicator(provided) {
|
|
7089
|
-
return _objectSpread$1$(_objectSpread$1$({}, provided), {}, {
|
|
7090
|
-
'&:hover': {
|
|
7091
|
-
// color: '#eac435',
|
|
7092
|
-
}
|
|
7093
|
-
});
|
|
7094
|
-
}
|
|
7095
|
-
};
|
|
7096
|
-
var defaultstylestranslated = {
|
|
7097
|
-
option: function option(provided, state) {
|
|
7098
|
-
return _objectSpread$1$(_objectSpread$1$({}, provided), {}, {
|
|
7099
|
-
borderBottom: '1px solid #e6e6e6',
|
|
7100
|
-
backgroundColor: state.isSelected ? '' : '',
|
|
7101
|
-
padding: 5,
|
|
7102
|
-
textTransform: 'capitalize',
|
|
7103
|
-
// color: state.isSelected ? '#eac435' : '#022648',
|
|
7104
|
-
color: state.isSelected ? '#eac435' : 'black',
|
|
7105
|
-
transition: '.3s',
|
|
7106
|
-
textAlign: 'right',
|
|
7107
|
-
'&:hover': {
|
|
7108
|
-
// color: '#eac435',
|
|
7109
|
-
cursor: 'pointer'
|
|
7110
|
-
}
|
|
7111
|
-
});
|
|
7112
|
-
},
|
|
7113
|
-
control: function control() {
|
|
7114
|
-
return {
|
|
7115
|
-
borderBottom: '1px solid #ccc',
|
|
7116
|
-
backgroundColor: 'white',
|
|
7117
|
-
display: 'flex',
|
|
7118
|
-
cursor: 'pointer',
|
|
7119
|
-
padding: 0,
|
|
7120
|
-
transition: '.3s',
|
|
7121
|
-
textAlign: 'right',
|
|
7122
|
-
'&:hover': {
|
|
7123
|
-
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
7124
|
-
// borderRadius: '10px',
|
|
7125
|
-
}
|
|
7126
|
-
};
|
|
7127
|
-
},
|
|
7128
|
-
dropdownIndicator: function dropdownIndicator(provided) {
|
|
7129
|
-
return _objectSpread$1$(_objectSpread$1$({}, provided), {}, {
|
|
7130
|
-
'&:hover': {
|
|
7131
|
-
// color: '#eac435',
|
|
7132
|
-
}
|
|
7133
|
-
});
|
|
7134
|
-
},
|
|
7135
|
-
placeholder: function placeholder(provided, state) {
|
|
7136
|
-
return _objectSpread$1$(_objectSpread$1$({}, provided), {}, {
|
|
7137
|
-
textAlign: 'right'
|
|
7138
|
-
});
|
|
7139
|
-
}
|
|
7140
|
-
};
|
|
7141
|
-
|
|
7142
7280
|
function ownKeys$1_(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; }
|
|
7143
7281
|
function _objectSpread$1_(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1_(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1_(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7144
7282
|
var Select$2 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
@@ -54409,7 +54547,8 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54409
54547
|
style: {
|
|
54410
54548
|
position: 'absolute',
|
|
54411
54549
|
top: sectionproperties.badge_top + 'px',
|
|
54412
|
-
right: sectionproperties.badge_right + 'px',
|
|
54550
|
+
right: langdetect == 'en' ? sectionproperties.badge_right + 'px' : '',
|
|
54551
|
+
left: langdetect == 'ar' ? sectionproperties.badge_right + 'px' : '',
|
|
54413
54552
|
width: sectionproperties.badge_width + 'px',
|
|
54414
54553
|
height: sectionproperties.badge_height + 'px',
|
|
54415
54554
|
background: sectionproperties.badge_bgcolor,
|
|
@@ -54427,7 +54566,8 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54427
54566
|
style: {
|
|
54428
54567
|
position: 'absolute',
|
|
54429
54568
|
top: sectionproperties.pillpositionfromtop + 'px',
|
|
54430
|
-
right: sectionproperties.pillpositionfromright + 'px',
|
|
54569
|
+
right: langdetect == 'en' ? sectionproperties.pillpositionfromright + 'px' : '',
|
|
54570
|
+
left: langdetect == 'ar' ? sectionproperties.pillpositionfromright + 'px' : '',
|
|
54431
54571
|
width: sectionproperties.pillwidth + 'px',
|
|
54432
54572
|
height: sectionproperties.pillheight + 'px',
|
|
54433
54573
|
background: sectionproperties.pillbgcolor,
|
|
@@ -54507,7 +54647,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54507
54647
|
}, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54508
54648
|
"class": "row mt-1 m-0 w-100"
|
|
54509
54649
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54510
|
-
"class": "col-lg-6 col-md-8 col-sm-8 p-0"
|
|
54650
|
+
"class": "col-lg-6 col-md-8 col-sm-8 p-0 d-flex align-items-center justify-content-start"
|
|
54511
54651
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
54512
54652
|
style: {
|
|
54513
54653
|
width: sectionproperties.quantitybtn_width + 'px'
|
|
@@ -54515,7 +54655,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54515
54655
|
"class": ' row m-0 d-flex align-items-center '
|
|
54516
54656
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
54517
54657
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
|
|
54518
|
-
},
|
|
54658
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54519
54659
|
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' ',
|
|
54520
54660
|
onClick: function onClick() {
|
|
54521
54661
|
updatequantity('remove');
|
|
@@ -54524,15 +54664,6 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54524
54664
|
"class": "h-100 allcentered"
|
|
54525
54665
|
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineMinus.AiOutlineMinus, {
|
|
54526
54666
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
54527
|
-
}))), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54528
|
-
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' ',
|
|
54529
|
-
onClick: function onClick() {
|
|
54530
|
-
updatequantity('add');
|
|
54531
|
-
}
|
|
54532
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54533
|
-
"class": "h-100 allcentered"
|
|
54534
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlinePlus.AiOutlinePlus, {
|
|
54535
|
-
size: sectionproperties.add_quantitybtn_textfontsize
|
|
54536
54667
|
}))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54537
54668
|
"class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
|
|
54538
54669
|
style: {
|
|
@@ -54541,19 +54672,7 @@ var ModernProductCard = function ModernProductCard(props) {
|
|
|
54541
54672
|
height: sectionproperties.quantitybtntextheight + 'px',
|
|
54542
54673
|
borderRadius: sectionproperties.addquantitytextborderraduis + 'px'
|
|
54543
54674
|
}
|
|
54544
|
-
}, item.quantity),
|
|
54545
|
-
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' ',
|
|
54546
|
-
style: {
|
|
54547
|
-
transform: ' rotate(-180deg)'
|
|
54548
|
-
},
|
|
54549
|
-
onClick: function onClick() {
|
|
54550
|
-
updatequantity('remove');
|
|
54551
|
-
}
|
|
54552
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
54553
|
-
"class": "h-100 allcentered"
|
|
54554
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineMinus.AiOutlineMinus, {
|
|
54555
|
-
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
54556
|
-
}))), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54675
|
+
}, item.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
54557
54676
|
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' ',
|
|
54558
54677
|
onClick: function onClick() {
|
|
54559
54678
|
updatequantity('add');
|