tabexseriescomponents 0.0.49 → 0.0.52
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 +1153 -74
- package/dist/index.esm.js +1153 -74
- package/dist/index.umd.js +1153 -74
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -417,9 +417,9 @@ function styleInject(css, ref) {
|
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
419
|
|
|
420
|
-
var css_248z$
|
|
421
|
-
var loginstyles = {"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"};
|
|
422
|
-
styleInject(css_248z$
|
|
420
|
+
var css_248z$y = ".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\n@media screen and (max-width: 500px) {\n .login-module_form_control__-41tV {\n /* padding: 0 5px !important; */\n }\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.login-module_form_control__-41tV {\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 padding-left: 0;\n padding-right: 0;\n font-size: 14px;\n transition: background 0s ease-out;\n border: 0;\n padding: 0 30px;\n font-weight: 600;\n display: flex;\n align-items: center;\n position: relative;\n}\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 color: #eac435;\n opacity: 1;\n}\n.login-module_form_control__-41tV:disabled,\n.login-module_form_control__-41tV[readonly] {\n background-color: #e9ecef;\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 background-size: 100% 100%, 100% 100%;\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__-41tV {\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.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 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";
|
|
421
|
+
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"};
|
|
422
|
+
styleInject(css_248z$y);
|
|
423
423
|
|
|
424
424
|
var GoogleLoginButton = function GoogleLoginButton(props) {
|
|
425
425
|
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
|
|
@@ -449,9 +449,9 @@ var GoogleLoginButton = function GoogleLoginButton(props) {
|
|
|
449
449
|
})))));
|
|
450
450
|
};
|
|
451
451
|
|
|
452
|
-
var css_248z$w = "@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');\n:root {\n --cimon: #f76566;\n --primary: #022648; /* rgba (2,38,72) */\n --secondary: #eac435;\n --success: #2f9d64;\n --successhover: #1d623f;\n --info: #16aaff; /*rgb(22, 170, 255)*/\n --infohover: #0071b3; /*rgb(0, 113, 179)*/\n --danger: #d92550; /* rgb(217, 37, 80) */\n --dangerhover: #991a37; /* rgb(153, 26, 55) */\n --fav: #ff1a75; /* rgb(255, 26, 117) */\n --favhover: #cc0052; /* rgb(204, 0, 82) */\n --light: #999999;\n --light2: #808080;\n --dark: #454d54;\n --darkhover: #343a40;\n --focus: #444054;\n --cardtitle: rgba(13, 27, 62, 0.7);\n --cardheader: #008eb3;\n --cardHeaderHover: #007a99;\n --darkblue: #0000b3;\n --orange: #ff6600;\n}\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\nhtml {\n width: 100vw;\n height: 100vh;\n top: 0;\n left: 0;\n font-family: 'Poppins', sans-serif;\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\nbody {\n margin: 0;\n font-family: 'Poppins', sans-serif;\n font-size: 0.88rem;\n font-weight: 400;\n line-height: 1.5;\n /* color: #022648; */\n text-align: left;\n background: #fff;\n overflow-x: hidden;\n width: 100vw;\n height: 100vh;\n top: 0;\n left: 0;\n}\nbody::-webkit-scrollbar {\n width: 5px;\n}\nbody::-webkit-scrollbar-track {\n box-shadow: inset 0 0 5px grey;\n border-radius: 10px;\n}\nbody::-webkit-scrollbar-thumb {\n background: #022648;\n border-radius: 10px;\n}\nbody::-webkit-scrollbar-thumb:hover {\n background: #eac435;\n}\n.general-module_shadow_bottom__YcJR3 {\n box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);\n transition: 0.3s;\n}\n.general-module_shadow_bottom__YcJR3:hover {\n box-shadow: 0px 9px 20px rgba(75, 72, 72, 0.3);\n}\n.general-module_overflowY_scroll__m5upZ {\n overflow-y: scroll;\n}\n\n.general-module_sub_scrollbar__mpHTI::-webkit-scrollbar {\n width: 5px;\n}\n.general-module_sub_scrollbar__mpHTI::-webkit-scrollbar-track {\n /* box-shadow: inset 0 0 5px grey; */\n border-radius: 10px;\n}\n.general-module_sub_scrollbar__mpHTI::-webkit-scrollbar-thumb {\n background: #4d4d4d;\n border-radius: 10px;\n}\n.general-module_sub_scrollbar__mpHTI::-webkit-scrollbar-thumb:hover {\n background: #999999;\n}\n/* badges */\n.general-module_badge__GTiMs {\n display: inline-block;\n padding: 0.25em;\n font-size: 90%;\n font-weight: 700;\n line-height: 1;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: 50%;\n margin-left: -15%;\n width: 3vh;\n height: 3vh;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .general-module_badge__GTiMs {\n transition: none;\n }\n}\n.general-module_badge__GTiMs:empty {\n display: none;\n}\n.general-module_badge_secondary__p6ErJ {\n min-width: 2.5vh;\n height: 2.5vh;\n border-radius: 5px;\n background: #eac435;\n color: white;\n font-size: 12px;\n /* line-height: 3vh; */\n}\na {\n color: #022648;\n text-decoration: none;\n background-color: transparent;\n}\n\n.general-module_divider__WFV-A {\n margin-top: 1rem;\n margin-bottom: 1rem;\n height: 1px;\n overflow: hidden;\n background: #e9ecef;\n}\n.general-module_verical_divider__u5DxE {\n margin-top: 1rem;\n margin-bottom: 1rem;\n height: 40px;\n overflow: hidden;\n background: #e1e6ea;\n width: 1px;\n}\n\n/* Table */\ntable {\n border-collapse: collapse;\n}\nth {\n text-align: inherit;\n}\n.general-module_table__hdcWN {\n width: 100%;\n margin-bottom: 1rem;\n background-color: rgba(0, 0, 0, 0);\n}\n.general-module_table__hdcWN th,\n.general-module_table__hdcWN td {\n padding: 0.55rem;\n border-top: 1px solid #e9ecef;\n}\n.general-module_table__hdcWN th.general-module_mw-200__PaU8G,\n.general-module_table__hdcWN td.general-module_mw-200__PaU8G {\n max-width: 200px;\n}\n.general-module_table__hdcWN thead th {\n vertical-align: bottom;\n border-bottom: 2px solid #e9ecef;\n font-size: 15px;\n}\n.general-module_table__hdcWN td {\n color: var(--focus);\n font-size: 15px;\n}\n.general-module_table_bordered__JKIJp {\n border: 1px solid #e9ecef;\n}\n.general-module_table_bordered__JKIJp th,\n.general-module_table_bordered__JKIJp td {\n border: 1px solid #e9ecef;\n}\n.general-module_table_bordered__JKIJp thead th,\n.general-module_table_bordered__JKIJp thead td {\n border-bottom-width: 2px;\n}\n.general-module_table_borderless__OF0cl th,\n.general-module_table_borderless__OF0cl td,\n.general-module_table_borderless__OF0cl thead th,\n.general-module_table_borderless__OF0cl tbody + tbody {\n border: 0;\n}\n.general-module_table_striped__wWBA6 tbody tr:nth-of-type(odd) {\n background-color: rgba(0, 0, 0, 0.03);\n}\n.general-module_table_hover__EiJha tbody tr:hover {\n background-color: #e0f3ff;\n}\n.general-module_table_responsive__JPCKF {\n display: block;\n width: 100%;\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n}\n.general-module_table_responsive__JPCKF > .general-module_table_bordered__JKIJp {\n border: 0;\n}\n.general-module_table_translation__x1Rpf {\n background: rgba(0, 0, 0, 0.1);\n border-radius: 20px;\n padding: 5px;\n font-weight: 500;\n width: 100px;\n /* margin-left: auto;\n margin-right: auto; */\n}\n.general-module_table_translation__x1Rpf i {\n font-size: 20px;\n}\n.general-module_table_icon__EMMDI {\n font-size: 20px;\n transition: 0.3s;\n cursor: pointer;\n}\n.general-module_table_icon__EMMDI:hover {\n color: var(--secondary);\n}\n.general-module_image_table__HqRaH {\n width: 5vh;\n height: 5vh;\n box-shadow: 0 0 10px #ccc;\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n border-radius: 5px;\n}\n.general-module_image_table__HqRaH img {\n max-width: 95%;\n max-height: 95%;\n border-radius: 5px;\n}\n.general-module_shownumber_cont__34Y5j {\n min-width: 3rem;\n background: white;\n box-shadow: 0 0 10px #ccc;\n border: 1px solid #ccc;\n border-radius: 10px;\n cursor: pointer;\n}\n.general-module_card_input_table__vVK0p {\n min-width: 90%;\n height: 35px;\n}\n.general-module_card_input_table__vVK0p imput {\n height: 35px;\n}\n\n/* Buttons */\n.general-module_btn__FAb1b {\n display: inline-block;\n font-weight: 500;\n text-align: center;\n vertical-align: middle;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-color: transparent;\n border-radius: 20px;\n height: 35px;\n padding: 0 10px;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n font-size: 13px;\n}\n.general-module_btn_rounded__Rkb8o {\n width: 5vh !important;\n height: 5vh !important;\n border-radius: 50% !important;\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .general-module_btn__FAb1b {\n transition: none;\n }\n}\n.general-module_btn__FAb1b:hover {\n text-decoration: none;\n}\n.general-module_btn__FAb1b:focus,\n.general-module_btn__FAb1b.general-module_focus__8-F6p {\n outline: 0;\n box-shadow: none;\n}\n.general-module_btn__FAb1b.general-module_disabled__PRzt-,\n.general-module_btn__FAb1b:disabled {\n opacity: 0.65;\n cursor: not-allowed;\n}\n.general-module_btn__FAb1b:not(:disabled):not(.general-module_disabled__PRzt-) {\n cursor: pointer;\n}\na.general-module_btn__FAb1b.general-module_disabled__PRzt- {\n pointer-events: none;\n cursor: not-allowed;\n}\n.general-module_btn_tranparent__GFTRs {\n color: #fff;\n background-color: tranparent;\n border-color: tranparent;\n}\n.general-module_btn_circle__lOyd4 {\n border-radius: 100%;\n width: 35px;\n height: 35px;\n line-height: 20px;\n padding: 10px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.general-module_btn_white__H0esd {\n color: #fff;\n background-color: #fff;\n border-color: #fff;\n color: var(--primary);\n}\n.general-module_btn_white__H0esd:hover {\n color: #fff;\n background-color: var(--secondary);\n border-color: var(--secondary);\n}\n.general-module_btn_white__H0esd.general-module_disabled__PRzt-,\n.general-module_btn_white__H0esd:disabled {\n color: #fff;\n background-color: #fff;\n border-color: #fff;\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_black__NcqLp {\n color: #fff;\n background-color: #000;\n border-color: #000;\n}\n.general-module_btn_black__NcqLp:hover {\n color: #fff;\n background-color: #595959;\n border-color: #595959;\n}\n.general-module_btn_black__NcqLp.general-module_disabled__PRzt-,\n.general-module_btn_black__NcqLp:disabled {\n color: #fff;\n background-color: #000;\n border-color: #000;\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_primary__C5oTz {\n color: #fff;\n background-color: var(--primary);\n border-color: var(--primary);\n}\n.general-module_btn_primary__C5oTz:hover {\n color: #fff;\n background-color: var(--secondary);\n border-color: var(--secondary);\n}\n.general-module_btn_primary__C5oTz.general-module_disabled__PRzt-,\n.general-module_btn_primary__C5oTz:disabled {\n color: #fff;\n background-color: var(--primary);\n border-color: var(--primary);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_secondary__MbOCN {\n color: #fff;\n background-color: var(--secondary);\n border-color: var(--secondary);\n}\n.general-module_btn_secondary__MbOCN:hover {\n color: #fff;\n background-color: #5a6268;\n border-color: #545b62;\n}\n.general-module_btn_secondary__MbOCN.general-module_disabled__PRzt-,\n.general-module_btn_secondary__MbOCN:disabled {\n color: #fff;\n background-color: var(--secondary);\n border-color: var(--secondary);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_success__iV5-t {\n color: #fff;\n background-color: var(--success);\n border-color: var(--success);\n}\n.general-module_btn_success__iV5-t:hover {\n color: #fff;\n background-color: var(--successhover);\n border-color: var(--successhover);\n}\n.general-module_btn_success__iV5-t.general-module_disabled__PRzt-,\n.general-module_btn_success__iV5-t:disabled {\n color: #fff;\n background-color: var(--success);\n border-color: var(--success);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_info__-ClLB {\n color: #fff;\n background-color: var(--info);\n border-color: var(--info);\n}\n.general-module_btn_info__-ClLB:hover {\n color: #fff;\n background-color: var(--infohover);\n border-color: var(--infohover);\n}\n.general-module_btn_info__-ClLB.general-module_disabled__PRzt-,\n.general-module_btn_info__-ClLB:disabled {\n color: #fff;\n background-color: var(--info);\n border-color: var(--info);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_danger__b0QkM {\n color: #fff;\n background-color: var(--danger);\n border-color: var(--danger);\n}\n.general-module_btn_danger__b0QkM:hover {\n color: #fff;\n background-color: var(--dangerhover);\n border-color: var(--dangerhover);\n}\n.general-module_btn_danger__b0QkM.general-module_disabled__PRzt-,\n.general-module_btn_danger__b0QkM:disabled {\n color: #fff;\n background-color: var(--danger);\n border-color: var(--danger);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_dark__hSWyC {\n color: #fff;\n background-color: var(--dark);\n border-color: var(--dark);\n}\n.general-module_btn_dark__hSWyC:hover {\n color: #fff;\n background-color: var(--darkhover);\n border-color: var(--darkhover);\n}\n.general-module_btn_dark__hSWyC.general-module_disabled__PRzt-,\n.general-module_btn_dark__hSWyC:disabled {\n color: #fff;\n background-color: var(--dark);\n border-color: var(--dark);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn__FAb1b:not(:disabled):not(.general-module_disabled__PRzt-):active,\n.general-module_btn__FAb1b:not(:disabled):not(.general-module_disabled__PRzt-).general-module_active__MPpsF {\n color: #fff;\n background-color: #ccc;\n border-color: #ccc;\n}\n.general-module_btn_grey__fGIYU {\n color: #fff;\n background-color: var(--focus);\n border-color: var(--focus);\n}\n.general-module_btn_grey__fGIYU:hover {\n color: #fff;\n background-color: var(--dark);\n border-color: var(--dark);\n}\n.general-module_btn_cardheader__vccWl {\n color: #fff;\n background-color: var(--cardheader);\n border-color: var(--cardheader);\n}\n.general-module_btn_cardheader__vccWl:hover {\n color: #fff;\n background-color: #007a99;\n border-color: #007a99;\n}\n.general-module_btn_cardheader__vccWl.general-module_disabled__PRzt-,\n.general-module_btn_cardheader__vccWl:disabled {\n color: #fff;\n background-color: #005166;\n border-color: #005166;\n cursor: not-allowed;\n opacity: 0.7;\n}\n\n/* Borders */\n.general-module_border_primary__Jqm8o {\n border-color: #022648;\n}\n.general-module_border_secondary__xiHt3 {\n border-color: #eac435;\n}\n.general-module_border_success__kWv6N {\n border-color: var(--success);\n}\n.general-module_border_info__wfOF- {\n border-color: #16aaff;\n}\n.general-module_border_warning__mSIRm {\n border-color: #f7b924;\n}\n.general-module_border_danger__U7veI {\n border-color: #d92550;\n}\n.general-module_border__Pvp44 {\n border: 1px solid #dee2e6 !important;\n}\n.general-module_border_top__0-KRU {\n border-top: 1px solid #dee2e6 !important;\n}\n.general-module_border_right__7QXHH {\n border-right: 1px solid #dee2e6 !important;\n}\n.general-module_border_bottom__Xyy95 {\n border-bottom: 1px solid #dee2e6 !important;\n}\n.general-module_border_left__90qSD {\n border-left: 1px solid #dee2e6 !important;\n}\n.general-module_border_0__YO9qY {\n border: 0 !important;\n}\n.general-module_border_top_0__KFIha {\n border-top: 0 !important;\n}\n.general-module_border_right_0__FaED6 {\n border-right: 0 !important;\n}\n.general-module_border_bottom_0__NZhJm {\n border-bottom: 0 !important;\n}\n.general-module_border_top_0__KFIha {\n border-top: 0 !important;\n}\n.general-module_border_left_0__gjITr {\n border-left: 0 !important;\n}\n/* Inner Content */\n.general-module_app_container__-NNzK {\n display: flex;\n flex-direction: column;\n margin: 0;\n position: relative !important;\n}\n.general-module_app_main__3s9rd {\n z-index: 8;\n position: relative;\n}\n.general-module_app_main__3s9rd .general-module_app_main_inner__OdEv- {\n flex: 1;\n padding: 130px 40px 0;\n}\n.general-module_app_main_inner_headertwo__UkOlN {\n padding: 100px 40px 0 !important;\n}\n.general-module_app_main_inner_headerfour__slUk1 {\n padding: 80px 20px 0 280px !important;\n}\n@media screen and (max-width: 1025px) {\n .general-module_app_main_inner_headerfour__slUk1 {\n padding: 80px 10px !important;\n }\n}\n/* Card */\n.general-module_card__KT-JI {\n position: relative;\n display: flex;\n flex-direction: column;\n min-width: 0;\n word-wrap: break-word;\n background-color: white !important;\n background-clip: border-box;\n border-radius: 15px;\n padding: 0.5em 0.8em;\n transition: all 0.2s;\n}\n.general-module_card_border_10__M-cl- {\n border-radius: 10px !important;\n}\n/* Responsive */\n@media (max-width: 991.98px) {\n .general-module_app_main__3s9rd {\n display: block;\n }\n .general-module_app_main__3s9rd .general-module_app_main_outer__gNSLc {\n padding-left: 0 !important;\n }\n .general-module_app_main__3s9rd .general-module_app_main_outertranslated__IZRx2 {\n padding-right: 0;\n padding-left: 0;\n }\n}\n@media (max-width: 1025px) {\n .general-module_app_main__3s9rd .general-module_app_main_inner__OdEv- {\n padding: 130px 20px 0;\n }\n}\n@media (max-width: 800px) {\n .general-module_app_main__3s9rd .general-module_app_main_inner__OdEv- {\n padding: 130px 20px 0 !important;\n }\n}\n\n@media (max-width: 600px) {\n .general-module_app_main__3s9rd .general-module_app_main_inner__OdEv- {\n padding: 70px 20px !important;\n }\n}\n\n/* Pills */\n.general-module_pill__gHCcE {\n min-width: 9vh;\n height: 4vh;\n color: white;\n padding: 0 1%;\n display: flex;\n text-align: center;\n justify-content: center;\n align-items: center;\n border-radius: 20px;\n font-size: 12px;\n}\n.general-module_fadeIn__bUx2u {\n /* opacity: 1; */\n display: block;\n visibility: visible;\n transition: 1s ease-in-out;\n transition-delay: 0s;\n}\n.general-module_fadeOut__R13Fc {\n /* opacity: 0; */\n display: none;\n visibility: hidden;\n transition: 1s ease-in-out;\n}\n.general-module_fadeInButton__1daVD {\n display: block;\n}\n.general-module_fadeOutButton__8BRUG {\n display: none;\n}\n\n/* Section Title */\n.general-module_sectiontitlecont__F-e6k {\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n.general-module_sectiontitlecont__F-e6k span {\n position: relative;\n white-space: nowrap;\n transition: 0.3s;\n}\n.general-module_sectiontitlecont__F-e6k span::after {\n content: '';\n position: absolute;\n bottom: -3px;\n left: 0;\n display: block;\n height: 3px;\n border-radius: 20px;\n z-index: 1000;\n}\n.general-module_homesectiontitlecont__ZfXNm span {\n font-size: 25px !important;\n}\n\n.general-module_sectiontitlecont2__mfEaP {\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n.general-module_sectiontitlecont2__mfEaP span {\n position: relative;\n white-space: nowrap;\n transition: 0.3s;\n}\n.general-module_sectiontitlecont2__mfEaP span::after {\n content: '';\n position: absolute;\n bottom: -3px;\n left: 0;\n display: block;\n border-radius: 20px;\n z-index: 1000;\n}\n";
|
|
452
|
+
var css_248z$x = "@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');\n:root {\n --cimon: #f76566;\n --primary: #022648; /* rgba (2,38,72) */\n --secondary: #eac435;\n --success: #2f9d64;\n --successhover: #1d623f;\n --info: #16aaff; /*rgb(22, 170, 255)*/\n --infohover: #0071b3; /*rgb(0, 113, 179)*/\n --danger: #d92550; /* rgb(217, 37, 80) */\n --dangerhover: #991a37; /* rgb(153, 26, 55) */\n --fav: #ff1a75; /* rgb(255, 26, 117) */\n --favhover: #cc0052; /* rgb(204, 0, 82) */\n --light: #999999;\n --light2: #808080;\n --dark: #454d54;\n --darkhover: #343a40;\n --focus: #444054;\n --cardtitle: rgba(13, 27, 62, 0.7);\n --cardheader: #008eb3;\n --cardHeaderHover: #007a99;\n --darkblue: #0000b3;\n --orange: #ff6600;\n}\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\nhtml {\n width: 100vw;\n height: 100vh;\n top: 0;\n left: 0;\n font-family: 'Poppins', sans-serif;\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\nbody {\n margin: 0;\n font-family: 'Poppins', sans-serif;\n font-size: 0.88rem;\n font-weight: 400;\n line-height: 1.5;\n /* color: #022648; */\n text-align: left;\n background: #fff;\n overflow-x: hidden;\n width: 100vw;\n height: 100vh;\n top: 0;\n left: 0;\n}\nbody::-webkit-scrollbar {\n width: 5px;\n}\nbody::-webkit-scrollbar-track {\n box-shadow: inset 0 0 5px grey;\n border-radius: 10px;\n}\nbody::-webkit-scrollbar-thumb {\n background: #022648;\n border-radius: 10px;\n}\nbody::-webkit-scrollbar-thumb:hover {\n background: #eac435;\n}\n.general-module_shadow_bottom__YcJR3 {\n box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);\n transition: 0.3s;\n}\n.general-module_shadow_bottom__YcJR3:hover {\n box-shadow: 0px 9px 20px rgba(75, 72, 72, 0.3);\n}\n.general-module_overflowY_scroll__m5upZ {\n overflow-y: scroll;\n}\n\n.general-module_sub_scrollbar__mpHTI::-webkit-scrollbar {\n width: 5px;\n}\n.general-module_sub_scrollbar__mpHTI::-webkit-scrollbar-track {\n /* box-shadow: inset 0 0 5px grey; */\n border-radius: 10px;\n}\n.general-module_sub_scrollbar__mpHTI::-webkit-scrollbar-thumb {\n background: #4d4d4d;\n border-radius: 10px;\n}\n.general-module_sub_scrollbar__mpHTI::-webkit-scrollbar-thumb:hover {\n background: #999999;\n}\n/* badges */\n.general-module_badge__GTiMs {\n display: inline-block;\n padding: 0.25em;\n font-size: 90%;\n font-weight: 700;\n line-height: 1;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: 50%;\n margin-left: -15%;\n width: 3vh;\n height: 3vh;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .general-module_badge__GTiMs {\n transition: none;\n }\n}\n.general-module_badge__GTiMs:empty {\n display: none;\n}\n.general-module_badge_secondary__p6ErJ {\n min-width: 2.5vh;\n height: 2.5vh;\n border-radius: 5px;\n background: #eac435;\n color: white;\n font-size: 12px;\n /* line-height: 3vh; */\n}\na {\n color: #022648;\n text-decoration: none;\n background-color: transparent;\n}\n\n.general-module_divider__WFV-A {\n margin-top: 1rem;\n margin-bottom: 1rem;\n height: 1px;\n overflow: hidden;\n background: #e9ecef;\n}\n.general-module_verical_divider__u5DxE {\n margin-top: 1rem;\n margin-bottom: 1rem;\n height: 40px;\n overflow: hidden;\n background: #e1e6ea;\n width: 1px;\n}\n\n/* Table */\ntable {\n border-collapse: collapse;\n}\nth {\n text-align: inherit;\n}\n.general-module_table__hdcWN {\n width: 100%;\n margin-bottom: 1rem;\n background-color: rgba(0, 0, 0, 0);\n}\n.general-module_table__hdcWN th,\n.general-module_table__hdcWN td {\n padding: 0.55rem;\n border-top: 1px solid #e9ecef;\n}\n.general-module_table__hdcWN th.general-module_mw-200__PaU8G,\n.general-module_table__hdcWN td.general-module_mw-200__PaU8G {\n max-width: 200px;\n}\n.general-module_table__hdcWN thead th {\n vertical-align: bottom;\n border-bottom: 2px solid #e9ecef;\n font-size: 15px;\n}\n.general-module_table__hdcWN td {\n color: var(--focus);\n font-size: 15px;\n}\n.general-module_table_bordered__JKIJp {\n border: 1px solid #e9ecef;\n}\n.general-module_table_bordered__JKIJp th,\n.general-module_table_bordered__JKIJp td {\n border: 1px solid #e9ecef;\n}\n.general-module_table_bordered__JKIJp thead th,\n.general-module_table_bordered__JKIJp thead td {\n border-bottom-width: 2px;\n}\n.general-module_table_borderless__OF0cl th,\n.general-module_table_borderless__OF0cl td,\n.general-module_table_borderless__OF0cl thead th,\n.general-module_table_borderless__OF0cl tbody + tbody {\n border: 0;\n}\n.general-module_table_striped__wWBA6 tbody tr:nth-of-type(odd) {\n background-color: rgba(0, 0, 0, 0.03);\n}\n.general-module_table_hover__EiJha tbody tr:hover {\n background-color: #e0f3ff;\n}\n.general-module_table_responsive__JPCKF {\n display: block;\n width: 100%;\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n}\n.general-module_table_responsive__JPCKF > .general-module_table_bordered__JKIJp {\n border: 0;\n}\n.general-module_table_translation__x1Rpf {\n background: rgba(0, 0, 0, 0.1);\n border-radius: 20px;\n padding: 5px;\n font-weight: 500;\n width: 100px;\n /* margin-left: auto;\n margin-right: auto; */\n}\n.general-module_table_translation__x1Rpf i {\n font-size: 20px;\n}\n.general-module_table_icon__EMMDI {\n font-size: 20px;\n transition: 0.3s;\n cursor: pointer;\n}\n.general-module_table_icon__EMMDI:hover {\n color: var(--secondary);\n}\n.general-module_image_table__HqRaH {\n width: 5vh;\n height: 5vh;\n box-shadow: 0 0 10px #ccc;\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n border-radius: 5px;\n}\n.general-module_image_table__HqRaH img {\n max-width: 95%;\n max-height: 95%;\n border-radius: 5px;\n}\n.general-module_shownumber_cont__34Y5j {\n min-width: 3rem;\n background: white;\n box-shadow: 0 0 10px #ccc;\n border: 1px solid #ccc;\n border-radius: 10px;\n cursor: pointer;\n}\n.general-module_card_input_table__vVK0p {\n min-width: 90%;\n height: 35px;\n}\n.general-module_card_input_table__vVK0p imput {\n height: 35px;\n}\n\n/* Buttons */\n.general-module_btn__FAb1b {\n display: inline-block;\n font-weight: 500;\n text-align: center;\n vertical-align: middle;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-color: transparent;\n border-radius: 20px;\n height: 35px;\n padding: 0 10px;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n font-size: 13px;\n}\n.general-module_btn_rounded__Rkb8o {\n width: 5vh !important;\n height: 5vh !important;\n border-radius: 50% !important;\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .general-module_btn__FAb1b {\n transition: none;\n }\n}\n.general-module_btn__FAb1b:hover {\n text-decoration: none;\n}\n.general-module_btn__FAb1b:focus,\n.general-module_btn__FAb1b.general-module_focus__8-F6p {\n outline: 0;\n box-shadow: none;\n}\n.general-module_btn__FAb1b.general-module_disabled__PRzt-,\n.general-module_btn__FAb1b:disabled {\n opacity: 0.65;\n cursor: not-allowed;\n}\n.general-module_btn__FAb1b:not(:disabled):not(.general-module_disabled__PRzt-) {\n cursor: pointer;\n}\na.general-module_btn__FAb1b.general-module_disabled__PRzt- {\n pointer-events: none;\n cursor: not-allowed;\n}\n.general-module_btn_tranparent__GFTRs {\n color: #fff;\n background-color: tranparent;\n border-color: tranparent;\n}\n.general-module_btn_circle__lOyd4 {\n border-radius: 100%;\n width: 35px;\n height: 35px;\n line-height: 20px;\n padding: 10px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.general-module_btn_white__H0esd {\n color: #fff;\n background-color: #fff;\n border-color: #fff;\n color: var(--primary);\n}\n.general-module_btn_white__H0esd:hover {\n color: #fff;\n background-color: var(--secondary);\n border-color: var(--secondary);\n}\n.general-module_btn_white__H0esd.general-module_disabled__PRzt-,\n.general-module_btn_white__H0esd:disabled {\n color: #fff;\n background-color: #fff;\n border-color: #fff;\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_black__NcqLp {\n color: #fff;\n background-color: #000;\n border-color: #000;\n}\n.general-module_btn_black__NcqLp:hover {\n color: #fff;\n background-color: #595959;\n border-color: #595959;\n}\n.general-module_btn_black__NcqLp.general-module_disabled__PRzt-,\n.general-module_btn_black__NcqLp:disabled {\n color: #fff;\n background-color: #000;\n border-color: #000;\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_primary__C5oTz {\n color: #fff;\n background-color: var(--primary);\n border-color: var(--primary);\n}\n.general-module_btn_primary__C5oTz:hover {\n color: #fff;\n background-color: var(--secondary);\n border-color: var(--secondary);\n}\n.general-module_btn_primary__C5oTz.general-module_disabled__PRzt-,\n.general-module_btn_primary__C5oTz:disabled {\n color: #fff;\n background-color: var(--primary);\n border-color: var(--primary);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_secondary__MbOCN {\n color: #fff;\n background-color: var(--secondary);\n border-color: var(--secondary);\n}\n.general-module_btn_secondary__MbOCN:hover {\n color: #fff;\n background-color: #5a6268;\n border-color: #545b62;\n}\n.general-module_btn_secondary__MbOCN.general-module_disabled__PRzt-,\n.general-module_btn_secondary__MbOCN:disabled {\n color: #fff;\n background-color: var(--secondary);\n border-color: var(--secondary);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_success__iV5-t {\n color: #fff;\n background-color: var(--success);\n border-color: var(--success);\n}\n.general-module_btn_success__iV5-t:hover {\n color: #fff;\n background-color: var(--successhover);\n border-color: var(--successhover);\n}\n.general-module_btn_success__iV5-t.general-module_disabled__PRzt-,\n.general-module_btn_success__iV5-t:disabled {\n color: #fff;\n background-color: var(--success);\n border-color: var(--success);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_info__-ClLB {\n color: #fff;\n background-color: var(--info);\n border-color: var(--info);\n}\n.general-module_btn_info__-ClLB:hover {\n color: #fff;\n background-color: var(--infohover);\n border-color: var(--infohover);\n}\n.general-module_btn_info__-ClLB.general-module_disabled__PRzt-,\n.general-module_btn_info__-ClLB:disabled {\n color: #fff;\n background-color: var(--info);\n border-color: var(--info);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_danger__b0QkM {\n color: #fff;\n background-color: var(--danger);\n border-color: var(--danger);\n}\n.general-module_btn_danger__b0QkM:hover {\n color: #fff;\n background-color: var(--dangerhover);\n border-color: var(--dangerhover);\n}\n.general-module_btn_danger__b0QkM.general-module_disabled__PRzt-,\n.general-module_btn_danger__b0QkM:disabled {\n color: #fff;\n background-color: var(--danger);\n border-color: var(--danger);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_dark__hSWyC {\n color: #fff;\n background-color: var(--dark);\n border-color: var(--dark);\n}\n.general-module_btn_dark__hSWyC:hover {\n color: #fff;\n background-color: var(--darkhover);\n border-color: var(--darkhover);\n}\n.general-module_btn_dark__hSWyC.general-module_disabled__PRzt-,\n.general-module_btn_dark__hSWyC:disabled {\n color: #fff;\n background-color: var(--dark);\n border-color: var(--dark);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn__FAb1b:not(:disabled):not(.general-module_disabled__PRzt-):active,\n.general-module_btn__FAb1b:not(:disabled):not(.general-module_disabled__PRzt-).general-module_active__MPpsF {\n color: #fff;\n background-color: #ccc;\n border-color: #ccc;\n}\n.general-module_btn_grey__fGIYU {\n color: #fff;\n background-color: var(--focus);\n border-color: var(--focus);\n}\n.general-module_btn_grey__fGIYU:hover {\n color: #fff;\n background-color: var(--dark);\n border-color: var(--dark);\n}\n.general-module_btn_cardheader__vccWl {\n color: #fff;\n background-color: var(--cardheader);\n border-color: var(--cardheader);\n}\n.general-module_btn_cardheader__vccWl:hover {\n color: #fff;\n background-color: #007a99;\n border-color: #007a99;\n}\n.general-module_btn_cardheader__vccWl.general-module_disabled__PRzt-,\n.general-module_btn_cardheader__vccWl:disabled {\n color: #fff;\n background-color: #005166;\n border-color: #005166;\n cursor: not-allowed;\n opacity: 0.7;\n}\n\n/* Borders */\n.general-module_border_primary__Jqm8o {\n border-color: #022648;\n}\n.general-module_border_secondary__xiHt3 {\n border-color: #eac435;\n}\n.general-module_border_success__kWv6N {\n border-color: var(--success);\n}\n.general-module_border_info__wfOF- {\n border-color: #16aaff;\n}\n.general-module_border_warning__mSIRm {\n border-color: #f7b924;\n}\n.general-module_border_danger__U7veI {\n border-color: #d92550;\n}\n.general-module_border__Pvp44 {\n border: 1px solid #dee2e6 !important;\n}\n.general-module_border_top__0-KRU {\n border-top: 1px solid #dee2e6 !important;\n}\n.general-module_border_right__7QXHH {\n border-right: 1px solid #dee2e6 !important;\n}\n.general-module_border_bottom__Xyy95 {\n border-bottom: 1px solid #dee2e6 !important;\n}\n.general-module_border_left__90qSD {\n border-left: 1px solid #dee2e6 !important;\n}\n.general-module_border_0__YO9qY {\n border: 0 !important;\n}\n.general-module_border_top_0__KFIha {\n border-top: 0 !important;\n}\n.general-module_border_right_0__FaED6 {\n border-right: 0 !important;\n}\n.general-module_border_bottom_0__NZhJm {\n border-bottom: 0 !important;\n}\n.general-module_border_top_0__KFIha {\n border-top: 0 !important;\n}\n.general-module_border_left_0__gjITr {\n border-left: 0 !important;\n}\n/* Inner Content */\n.general-module_app_container__-NNzK {\n display: flex;\n flex-direction: column;\n margin: 0;\n position: relative !important;\n}\n.general-module_app_main__3s9rd {\n z-index: 8;\n position: relative;\n}\n.general-module_app_main__3s9rd .general-module_app_main_inner__OdEv- {\n flex: 1;\n padding: 130px 40px 0;\n}\n.general-module_app_main_inner_headertwo__UkOlN {\n padding: 100px 40px 0 !important;\n}\n.general-module_app_main_inner_headerfour__slUk1 {\n padding: 80px 20px 0 280px !important;\n}\n@media screen and (max-width: 1025px) {\n .general-module_app_main_inner_headerfour__slUk1 {\n padding: 80px 10px !important;\n }\n}\n/* Card */\n.general-module_card__KT-JI {\n position: relative;\n display: flex;\n flex-direction: column;\n min-width: 0;\n word-wrap: break-word;\n background-color: white !important;\n background-clip: border-box;\n border-radius: 15px;\n padding: 0.5em 0.8em;\n transition: all 0.2s;\n}\n.general-module_card_border_10__M-cl- {\n border-radius: 10px !important;\n}\n/* Responsive */\n@media (max-width: 991.98px) {\n .general-module_app_main__3s9rd {\n display: block;\n }\n .general-module_app_main__3s9rd .general-module_app_main_outer__gNSLc {\n padding-left: 0 !important;\n }\n .general-module_app_main__3s9rd .general-module_app_main_outertranslated__IZRx2 {\n padding-right: 0;\n padding-left: 0;\n }\n}\n@media (max-width: 1025px) {\n .general-module_app_main__3s9rd .general-module_app_main_inner__OdEv- {\n padding: 130px 20px 0;\n }\n}\n@media (max-width: 800px) {\n .general-module_app_main__3s9rd .general-module_app_main_inner__OdEv- {\n padding: 130px 20px 0 !important;\n }\n}\n\n@media (max-width: 600px) {\n .general-module_app_main__3s9rd .general-module_app_main_inner__OdEv- {\n padding: 70px 20px !important;\n }\n}\n\n/* Pills */\n.general-module_pill__gHCcE {\n min-width: 9vh;\n height: 4vh;\n color: white;\n padding: 0 1%;\n display: flex;\n text-align: center;\n justify-content: center;\n align-items: center;\n border-radius: 20px;\n font-size: 12px;\n}\n.general-module_fadeIn__bUx2u {\n /* opacity: 1; */\n display: block;\n visibility: visible;\n transition: 1s ease-in-out;\n transition-delay: 0s;\n}\n.general-module_fadeOut__R13Fc {\n /* opacity: 0; */\n display: none;\n visibility: hidden;\n transition: 1s ease-in-out;\n}\n.general-module_fadeInButton__1daVD {\n display: block;\n}\n.general-module_fadeOutButton__8BRUG {\n display: none;\n}\n\n/* Section Title */\n.general-module_sectiontitlecont__F-e6k {\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n.general-module_sectiontitlecont__F-e6k span {\n position: relative;\n white-space: nowrap;\n transition: 0.3s;\n}\n.general-module_sectiontitlecont__F-e6k span::after {\n content: '';\n position: absolute;\n bottom: -3px;\n left: 0;\n display: block;\n height: 3px;\n border-radius: 20px;\n z-index: 1000;\n}\n.general-module_homesectiontitlecont__ZfXNm span {\n font-size: 25px !important;\n}\n\n.general-module_sectiontitlecont2__mfEaP {\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n.general-module_sectiontitlecont2__mfEaP span {\n position: relative;\n white-space: nowrap;\n transition: 0.3s;\n}\n.general-module_sectiontitlecont2__mfEaP span::after {\n content: '';\n position: absolute;\n bottom: -3px;\n left: 0;\n display: block;\n border-radius: 20px;\n z-index: 1000;\n}\n";
|
|
453
453
|
var generalstyles = {"shadow_bottom":"general-module_shadow_bottom__YcJR3","overflowY_scroll":"general-module_overflowY_scroll__m5upZ","sub_scrollbar":"general-module_sub_scrollbar__mpHTI","badge":"general-module_badge__GTiMs","badge_secondary":"general-module_badge_secondary__p6ErJ","divider":"general-module_divider__WFV-A","verical_divider":"general-module_verical_divider__u5DxE","table":"general-module_table__hdcWN","mw-200":"general-module_mw-200__PaU8G","table_bordered":"general-module_table_bordered__JKIJp","table_borderless":"general-module_table_borderless__OF0cl","table_striped":"general-module_table_striped__wWBA6","table_hover":"general-module_table_hover__EiJha","table_responsive":"general-module_table_responsive__JPCKF","table_translation":"general-module_table_translation__x1Rpf","table_icon":"general-module_table_icon__EMMDI","image_table":"general-module_image_table__HqRaH","shownumber_cont":"general-module_shownumber_cont__34Y5j","card_input_table":"general-module_card_input_table__vVK0p","btn":"general-module_btn__FAb1b","btn_rounded":"general-module_btn_rounded__Rkb8o","focus":"general-module_focus__8-F6p","disabled":"general-module_disabled__PRzt-","btn_tranparent":"general-module_btn_tranparent__GFTRs","btn_circle":"general-module_btn_circle__lOyd4","btn_white":"general-module_btn_white__H0esd","btn_black":"general-module_btn_black__NcqLp","btn_primary":"general-module_btn_primary__C5oTz","btn_secondary":"general-module_btn_secondary__MbOCN","btn_success":"general-module_btn_success__iV5-t","btn_info":"general-module_btn_info__-ClLB","btn_danger":"general-module_btn_danger__b0QkM","btn_dark":"general-module_btn_dark__hSWyC","active":"general-module_active__MPpsF","btn_grey":"general-module_btn_grey__fGIYU","btn_cardheader":"general-module_btn_cardheader__vccWl","border_primary":"general-module_border_primary__Jqm8o","border_secondary":"general-module_border_secondary__xiHt3","border_success":"general-module_border_success__kWv6N","border_info":"general-module_border_info__wfOF-","border_warning":"general-module_border_warning__mSIRm","border_danger":"general-module_border_danger__U7veI","border":"general-module_border__Pvp44","border_top":"general-module_border_top__0-KRU","border_right":"general-module_border_right__7QXHH","border_bottom":"general-module_border_bottom__Xyy95","border_left":"general-module_border_left__90qSD","border_0":"general-module_border_0__YO9qY","border_top_0":"general-module_border_top_0__KFIha","border_right_0":"general-module_border_right_0__FaED6","border_bottom_0":"general-module_border_bottom_0__NZhJm","border_left_0":"general-module_border_left_0__gjITr","app_container":"general-module_app_container__-NNzK","app_main":"general-module_app_main__3s9rd","app_main_inner":"general-module_app_main_inner__OdEv-","app_main_inner_headertwo":"general-module_app_main_inner_headertwo__UkOlN","app_main_inner_headerfour":"general-module_app_main_inner_headerfour__slUk1","card":"general-module_card__KT-JI","card_border_10":"general-module_card_border_10__M-cl-","app_main_outer":"general-module_app_main_outer__gNSLc","app_main_outertranslated":"general-module_app_main_outertranslated__IZRx2","pill":"general-module_pill__gHCcE","fadeIn":"general-module_fadeIn__bUx2u","fadeOut":"general-module_fadeOut__R13Fc","fadeInButton":"general-module_fadeInButton__1daVD","fadeOutButton":"general-module_fadeOutButton__8BRUG","sectiontitlecont":"general-module_sectiontitlecont__F-e6k","homesectiontitlecont":"general-module_homesectiontitlecont__ZfXNm","sectiontitlecont2":"general-module_sectiontitlecont2__mfEaP"};
|
|
454
|
-
styleInject(css_248z$
|
|
454
|
+
styleInject(css_248z$x);
|
|
455
455
|
|
|
456
456
|
var FacebookLoginButton = function FacebookLoginButton(props) {
|
|
457
457
|
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
|
|
@@ -465,7 +465,7 @@ var FacebookLoginButton = function FacebookLoginButton(props) {
|
|
|
465
465
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
466
466
|
className: ""
|
|
467
467
|
}, ((_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : (_authdetailsContext$i2 = _authdetailsContext$i.instcred) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebookloginappid) != null && /*#__PURE__*/React__default["default"].createElement(FacebookLogin__default["default"], {
|
|
468
|
-
cssClass: "".concat(generalstyles.btn, " ").concat(generalstyles.btn_primary, " ").concat(loginstyles.loginbtn) + ' w-100 mb-3 d-flex align-items-center justify-content-center ',
|
|
468
|
+
cssClass: "".concat(generalstyles.btn, " ").concat(generalstyles.btn_primary, " ").concat(loginstyles$1.loginbtn) + ' w-100 mb-3 d-flex align-items-center justify-content-center ',
|
|
469
469
|
appId: (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : (_authdetailsContext$i4 = _authdetailsContext$i3.instcred) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebookloginappid,
|
|
470
470
|
fields: "name,email",
|
|
471
471
|
callback: function callback(responseFacebook) {
|
|
@@ -501,9 +501,9 @@ var FacebookLoginButton = function FacebookLoginButton(props) {
|
|
|
501
501
|
}));
|
|
502
502
|
};
|
|
503
503
|
|
|
504
|
-
function ownKeys$
|
|
504
|
+
function ownKeys$1a(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; }
|
|
505
505
|
|
|
506
|
-
function _objectSpread$
|
|
506
|
+
function _objectSpread$1a(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1a(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1a(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
507
507
|
|
|
508
508
|
var Login = function Login(props) {
|
|
509
509
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -549,7 +549,7 @@ var Login = function Login(props) {
|
|
|
549
549
|
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) {
|
|
550
550
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
551
551
|
});
|
|
552
|
-
setsectionproperties(_objectSpread$
|
|
552
|
+
setsectionproperties(_objectSpread$1a({}, secpropobj));
|
|
553
553
|
}
|
|
554
554
|
}, [StatePagePropertiesContext]);
|
|
555
555
|
|
|
@@ -644,7 +644,7 @@ var Login = function Login(props) {
|
|
|
644
644
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
645
645
|
className: " row m-0 w-100 "
|
|
646
646
|
}, /*#__PURE__*/React__default["default"].createElement("form", {
|
|
647
|
-
className: "".concat(loginstyles.leftcontainer) + ' col-lg-6 col-md-12 col-sm-12 pt-4 pb-4 d-flex align-items-stretch p-0 ',
|
|
647
|
+
className: "".concat(loginstyles$1.leftcontainer) + ' col-lg-6 col-md-12 col-sm-12 pt-4 pb-4 d-flex align-items-stretch p-0 ',
|
|
648
648
|
style: {
|
|
649
649
|
background: sectionproperties.formLeftbgColor,
|
|
650
650
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.formLeft_bordertoprightradius + 'px' : sectionproperties.formLeft_bordertopleftradius + 'px',
|
|
@@ -660,16 +660,16 @@ var Login = function Login(props) {
|
|
|
660
660
|
className: "".concat(loginstyles2.logininputLabel) + ' m-0 text-transform-none d-flex justify-content-start '
|
|
661
661
|
}, langdetect == 'en' ? 'E-mail' : 'البريد الإلكترونى'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
662
662
|
type: "text",
|
|
663
|
-
className: "".concat(loginstyles.form_control, " ").concat(loginstyles2.form_control),
|
|
663
|
+
className: "".concat(loginstyles$1.form_control, " ").concat(loginstyles2.form_control),
|
|
664
664
|
value: payloadobj.email,
|
|
665
665
|
onChange: function onChange(event) {
|
|
666
|
-
var temppayloadobj = _objectSpread$
|
|
666
|
+
var temppayloadobj = _objectSpread$1a({}, payloadobj);
|
|
667
667
|
|
|
668
668
|
temppayloadobj.email = event.target.value;
|
|
669
|
-
setpayloadobj(_objectSpread$
|
|
669
|
+
setpayloadobj(_objectSpread$1a({}, temppayloadobj));
|
|
670
670
|
}
|
|
671
671
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
672
|
-
className: langdetect == 'en' ? loginstyles.login_input_icon : loginstyles.login_input_icontrans
|
|
672
|
+
className: langdetect == 'en' ? loginstyles$1.login_input_icon : loginstyles$1.login_input_icontrans
|
|
673
673
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
674
674
|
className: "h-100 d-flex align-items-center justify-content-center"
|
|
675
675
|
}, /*#__PURE__*/React__default["default"].createElement(ai.AiOutlineUser, {
|
|
@@ -679,18 +679,18 @@ var Login = function Login(props) {
|
|
|
679
679
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
680
680
|
className: "".concat(loginstyles2.logininputLabel) + ' m-0 d-flex justify-content-start '
|
|
681
681
|
}, langdetect == 'en' ? 'Password' : 'كلمة السر'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
682
|
-
className: "".concat(loginstyles.form_control, " ").concat(loginstyles2.form_control),
|
|
682
|
+
className: "".concat(loginstyles$1.form_control, " ").concat(loginstyles2.form_control),
|
|
683
683
|
type: "password",
|
|
684
684
|
textplaceholder: "",
|
|
685
685
|
value: payloadobj.password,
|
|
686
686
|
onChange: function onChange(event) {
|
|
687
|
-
var temppayloadobj = _objectSpread$
|
|
687
|
+
var temppayloadobj = _objectSpread$1a({}, payloadobj);
|
|
688
688
|
|
|
689
689
|
temppayloadobj.password = event.target.value;
|
|
690
|
-
setpayloadobj(_objectSpread$
|
|
690
|
+
setpayloadobj(_objectSpread$1a({}, temppayloadobj));
|
|
691
691
|
}
|
|
692
692
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
693
|
-
className: langdetect == 'en' ? loginstyles.login_input_icon : loginstyles.login_input_icontrans
|
|
693
|
+
className: langdetect == 'en' ? loginstyles$1.login_input_icon : loginstyles$1.login_input_icontrans
|
|
694
694
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
695
695
|
className: " fa fa-at h-100 d-flex align-items-center justify-content-center"
|
|
696
696
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -740,7 +740,7 @@ var Login = function Login(props) {
|
|
|
740
740
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
741
741
|
className: ' col-lg-6 col-md-12 col-sm-12 d-flex align-items-stretch p-0 '
|
|
742
742
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
743
|
-
className: "".concat(loginstyles.rightContainer) + ' p-2 row m-0 w-100 d-flex align-items-center justify-content-center pt-md-4 pb-md-4 ',
|
|
743
|
+
className: "".concat(loginstyles$1.rightContainer) + ' p-2 row m-0 w-100 d-flex align-items-center justify-content-center pt-md-4 pb-md-4 ',
|
|
744
744
|
style: {
|
|
745
745
|
background: sectionproperties.formRightbgColor,
|
|
746
746
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.formRight_bordertoprightradius + 'px' : sectionproperties.formRight_bordertopleftradius + 'px',
|
|
@@ -753,7 +753,7 @@ var Login = function Login(props) {
|
|
|
753
753
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
754
754
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-md-2"
|
|
755
755
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
756
|
-
className: " ".concat(loginstyles.rightContainerText),
|
|
756
|
+
className: " ".concat(loginstyles$1.rightContainerText),
|
|
757
757
|
style: {
|
|
758
758
|
color: sectionproperties.formRightTextColor1,
|
|
759
759
|
fontSize: sectionproperties.formRightTextFontSize1 + 'px',
|
|
@@ -763,7 +763,7 @@ var Login = function Login(props) {
|
|
|
763
763
|
}, langdetect == 'en' ? sectionproperties.formRightText1 : sectionproperties.formRightText1_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
764
764
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-md-2"
|
|
765
765
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
766
|
-
className: " ".concat(loginstyles.rightContainerText),
|
|
766
|
+
className: " ".concat(loginstyles$1.rightContainerText),
|
|
767
767
|
style: {
|
|
768
768
|
color: sectionproperties.formRightTextColor2,
|
|
769
769
|
fontSize: sectionproperties.formRightTextFontSize2 + 'px',
|
|
@@ -806,13 +806,13 @@ var IKurlEndpoint = 'https://ik.imagekit.io/kcrbhhnh0';
|
|
|
806
806
|
var IKpublicKey = 'public_ro8Tmo5Nlgw12YIFkn9MNUQLvQE=';
|
|
807
807
|
var serverbaselink = 'https://tabex-co.com';
|
|
808
808
|
|
|
809
|
-
var css_248z$
|
|
809
|
+
var css_248z$w = "/* Side Nav */\n.staticroutersidenav-module_vertical_nav_menu__p0mIj {\n margin: 0;\n padding: 0;\n position: relative;\n list-style: none;\n transition: 0.3s ease-in-out;\n border-radius: 20px;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj li.staticroutersidenav-module_sidebar_item__3F9Q1 {\n transition: 0.3s !important;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n flex-direction: row;\n padding: 5px !important;\n position: relative;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidebar_item__3F9Q1::after {\n content: '';\n position: absolute;\n bottom: -3px;\n display: block;\n border-radius: 100px 0 100px 0;\n width: 0;\n height: 0;\n transition: 0.2s !important;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidenav_page_name__46AJV {\n transition: 0.3s;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj li .staticroutersidenav-module_sidenav_icon_cont__O8YSe {\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n /* width: 35px; */\n /* height: 35px; */\n /* background-color: rgba(0, 28, 105); */\n /* border-radius: 10px; */\n /* color: white; */\n transition: all 0.3s;\n position: relative;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj i.staticroutersidenav-module_metismenu_icon__EcRZ1 {\n display: flex;\n align-items: center;\n justify-content: center;\n color: #022648;\n transition: 0.3s;\n opacity: 1;\n font-size: 16px;\n}\n/* active */\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidenav_active__IjRo0::after {\n content: '';\n position: absolute;\n bottom: -3px;\n /* right: -5%; */\n display: block;\n border-radius: 100px 0 100px 0;\n width: 10px;\n height: 100%;\n /* background: red !important; */\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidenav_active__IjRo0 .staticroutersidenav-module_sidenav_page_name__46AJV {\n font-weight: 600;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidenav_active__IjRo0 .staticroutersidenav-module_sidenav_icon_cont__O8YSe {\n /* background-color: rgba(249, 128, 100) !important; */\n box-shadow: none !important;\n}\n/* hover */\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidebar_item__3F9Q1:hover {\n cursor: pointer;\n transition: 0.3s;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidebar_item__3F9Q1:hover::after {\n width: 10px;\n height: 100%;\n}\n\n.staticroutersidenav-module_horizontal_nav_menu__6V32S{\n display: flex;\n flex-direction: row;\n}\n.staticroutersidenav-module_horizontal_nav_menu__6V32S li.staticroutersidenav-module_sidebar_item__3F9Q1 {\n transition: 0.3s !important;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n padding: 5px !important;\n position: relative;\n}\n@media screen and (max-width:800px) {\n .staticroutersidenav-module_horizontal_nav_menu__6V32S{\n width: 100%;\n display: block !important;\n white-space: nowrap;\n position: relative;\n overflow-x: scroll;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n }\n .staticroutersidenav-module_sidebar_item__3F9Q1{\n width: 30% !important;\n float: none;\n display: inline-block;\n zoom: 1; \n } \n}\n@media screen and (max-width:700px) {\n .staticroutersidenav-module_sidebar_item__3F9Q1{\n min-width: 40% !important;\n }\n}\n@media screen and (max-width:500px) {\n .staticroutersidenav-module_sidebar_item__3F9Q1{\n min-width: 60% !important;\n }\n}\n\n\n.staticroutersidenav-module_sidebar_itemlastchild__9O187{\n margin-right: 0 !important;\n margin-left: 0 !important;\n}";
|
|
810
810
|
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"};
|
|
811
|
-
styleInject(css_248z$
|
|
811
|
+
styleInject(css_248z$w);
|
|
812
812
|
|
|
813
|
-
function ownKeys$
|
|
813
|
+
function ownKeys$19(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; }
|
|
814
814
|
|
|
815
|
-
function _objectSpread$
|
|
815
|
+
function _objectSpread$19(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$19(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$19(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
816
816
|
// import { useMutation, useQuery, useQueryClient } from 'react-query';
|
|
817
817
|
// import { useHistory, Link } from 'react-router-dom';
|
|
818
818
|
// import { LanguageContext } from '../../../../../../../Contexts/LanguageContext';
|
|
@@ -920,7 +920,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
920
920
|
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) {
|
|
921
921
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
922
922
|
});
|
|
923
|
-
setsectionproperties(_objectSpread$
|
|
923
|
+
setsectionproperties(_objectSpread$19({}, secpropobj));
|
|
924
924
|
setnavigationstyle('Upper Navigation'); // }
|
|
925
925
|
// }
|
|
926
926
|
}, [CurrentPageId]);
|
|
@@ -1076,9 +1076,9 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
1076
1076
|
}))))));
|
|
1077
1077
|
};
|
|
1078
1078
|
|
|
1079
|
-
function ownKeys$
|
|
1079
|
+
function ownKeys$18(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; }
|
|
1080
1080
|
|
|
1081
|
-
function _objectSpread$
|
|
1081
|
+
function _objectSpread$18(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$18(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$18(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1082
1082
|
|
|
1083
1083
|
var Ordershistory = function Ordershistory(props) {
|
|
1084
1084
|
var _bgimagesarray$, _bgimagesarray$2;
|
|
@@ -1123,10 +1123,10 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
1123
1123
|
|
|
1124
1124
|
React.useEffect(function () {
|
|
1125
1125
|
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin) == true) {
|
|
1126
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
1126
|
+
var tempFetchQueriesEngineContext = _objectSpread$18({}, FetchQueriesEngineContext);
|
|
1127
1127
|
|
|
1128
1128
|
tempFetchQueriesEngineContext.orderhistory = true;
|
|
1129
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
1129
|
+
setFetchQueriesEngineContext(_objectSpread$18({}, tempFetchQueriesEngineContext));
|
|
1130
1130
|
} else {
|
|
1131
1131
|
routingcountext('');
|
|
1132
1132
|
}
|
|
@@ -1152,7 +1152,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
1152
1152
|
StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
1153
1153
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
1154
1154
|
});
|
|
1155
|
-
setsectionproperties(_objectSpread$
|
|
1155
|
+
setsectionproperties(_objectSpread$18({}, secpropobj));
|
|
1156
1156
|
}
|
|
1157
1157
|
}, [StatePagePropertiesContext]);
|
|
1158
1158
|
var orderhistory_cssstyles = {
|
|
@@ -1932,13 +1932,13 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
1932
1932
|
}, lang.cod))))))))))));
|
|
1933
1933
|
};
|
|
1934
1934
|
|
|
1935
|
-
var css_248z$
|
|
1935
|
+
var css_248z$v = ".wishlist-module_wishlist_card__sUXul .wishlist-module_image_container__FuptA {\n height: 300px;\n border-radius: 10px;\n background-size: cover !important;\n background-repeat: no-repeat;\n background-position: center;\n background-color: #e6e6e6;\n width: 100% !important;\n box-shadow: 0 0 10px #e6e6e6;\n}\n.wishlist-module_floatbtn__PZDvQ {\n position: absolute;\n top: 10px;\n right: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: 0.3s;\n opacity: 0;\n}\n.wishlist-module_wishlist_card__sUXul:hover .wishlist-module_floatbtn__PZDvQ {\n opacity: 1;\n}\n@media screen and (max-width: 800px) {\n .wishlist-module_floatbtn__PZDvQ {\n opacity: 1 !important;\n }\n}\n";
|
|
1936
1936
|
var wishliststyles = {"wishlist_card":"wishlist-module_wishlist_card__sUXul","image_container":"wishlist-module_image_container__FuptA","floatbtn":"wishlist-module_floatbtn__PZDvQ"};
|
|
1937
|
-
styleInject(css_248z$
|
|
1937
|
+
styleInject(css_248z$v);
|
|
1938
1938
|
|
|
1939
|
-
function ownKeys$
|
|
1939
|
+
function ownKeys$17(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; }
|
|
1940
1940
|
|
|
1941
|
-
function _objectSpread$
|
|
1941
|
+
function _objectSpread$17(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$17(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$17(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1942
1942
|
|
|
1943
1943
|
var Wishlist = function Wishlist(props) {
|
|
1944
1944
|
var _bgimagesarray$, _bgimagesarray$2;
|
|
@@ -1975,7 +1975,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
1975
1975
|
StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
1976
1976
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
1977
1977
|
});
|
|
1978
|
-
setsectionproperties(_objectSpread$
|
|
1978
|
+
setsectionproperties(_objectSpread$17({}, secpropobj));
|
|
1979
1979
|
}
|
|
1980
1980
|
}, [StatePagePropertiesContext]);
|
|
1981
1981
|
|
|
@@ -1985,10 +1985,10 @@ var Wishlist = function Wishlist(props) {
|
|
|
1985
1985
|
_useState2[1];
|
|
1986
1986
|
|
|
1987
1987
|
React.useEffect(function () {
|
|
1988
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
1988
|
+
var tempFetchQueriesEngineContext = _objectSpread$17({}, FetchQueriesEngineContext);
|
|
1989
1989
|
|
|
1990
1990
|
tempFetchQueriesEngineContext.fetchfavoriteproducts = true;
|
|
1991
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
1991
|
+
setFetchQueriesEngineContext(_objectSpread$17({}, tempFetchQueriesEngineContext));
|
|
1992
1992
|
}, []);
|
|
1993
1993
|
|
|
1994
1994
|
var _useState3 = React.useState(''),
|
|
@@ -2020,7 +2020,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
2020
2020
|
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) {
|
|
2021
2021
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
2022
2022
|
});
|
|
2023
|
-
setsectionproperties(_objectSpread$
|
|
2023
|
+
setsectionproperties(_objectSpread$17({}, secpropobj));
|
|
2024
2024
|
}
|
|
2025
2025
|
}, [StatePagePropertiesContext]);
|
|
2026
2026
|
var wishlist_cssstyles = {
|
|
@@ -2455,16 +2455,16 @@ var Wishlist = function Wishlist(props) {
|
|
|
2455
2455
|
})));
|
|
2456
2456
|
};
|
|
2457
2457
|
|
|
2458
|
-
var css_248z$
|
|
2458
|
+
var css_248z$u = "/* Forms */\n.form-module_form_control__4-RGw {\n display: block;\n width: 100%;\n height: 25px;\n font-size: 1rem;\n font-weight: 500;\n color: #444054;\n background-color: white;\n border-radius: 20px;\n box-shadow: 0 0 10px #e6e6e6;\n height: 40px;\n padding-left: 0;\n padding-right: 0;\n font-size: 14px;\n transition: background 0s ease-out;\n border: 0;\n padding: 0 10px;\n}\n.form-module_form_controlcheckout__IoXvi{\n display: block;\n width: 100%;\n height: 25px;\n /* font-size: 1rem; */\n /* font-weight: 500; */\n /* color: #444054; */\n /* background-color: #eee; */\n /* border-radius: 10px; */\n height: 40px;\n padding-left: 0;\n padding-right: 0;\n font-size: 14px;\n transition: background 0s ease-out;\n border: 0;\n padding: 0 10px;\n}\n.form-module_textarea__zG0ed{\n resize: none;\n /* background-color: #eee; */\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .form-module_form_control__4-RGw {\n transition: none;\n }\n}\n.form-module_form_control__4-RGw::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.form-module_form_control__4-RGw::placeholder {\n color: #eac435;\n opacity: 1;\n}\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.form-module_form_control__4-RGw {\n min-height: 100px !important;\n padding-top: 10px;\n padding-bottom: 10px;\n}\n.form-module_form_control__4-RGw:focus {\n transition-duration: 0.3s;\n box-shadow: none;\n box-shadow: 0 0 10px #ccc;\n}\n.form-module_form_control__4-RGw::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n\n.form-module_form_control_border_none__TJvdZ {\n background-image: none;\n}\n.form-module_form_control__4-RGw.form-module_disabled__AtvSI,\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[disabled] {\n cursor: not-allowed;\n}\n.form-module_input_label_name__416wN {\n font-size: 16px;\n text-transform: capitalize;\n color: var(--cardheader);\n font-weight: 500;\n}\n.form-module_input_label_name-bolder__UQn0a {\n font-weight: 500;\n}\n.form-module_input_icon__X-CzC {\n position: absolute;\n bottom: 5px;\n left: 0;\n color: #d9d9d9;\n}\n/* Radio Buttons */\n.form-module_radiobtn_label__-4Hoi {\n display: flex;\n cursor: pointer;\n font-weight: 500;\n position: relative;\n overflow: hidden;\n margin-bottom: 0;\n}\n.form-module_radiobtn_label__-4Hoi input {\n position: absolute;\n left: -9999px;\n display: none;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span {\n background-color: #f0f5f5;\n color: var(--focus);\n font-weight: 500;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span:before {\n box-shadow: inset 0 0 0 0.3em #eac435;\n}\n.form-module_radiobtn_label__-4Hoi span {\n display: flex;\n align-items: center;\n text-transform: capitalize;\n padding: 0.375em 0.75em 0.375em 0.375em;\n border-radius: 99em;\n transition: 0.25s ease;\n font-weight: normal;\n color: var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi span:hover {\n background-color: #e6e6e6;\n}\n.form-module_radiobtn_label__-4Hoi span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-right: 0.375em;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi.form-module_text-grey__JdZMY span:before {\n box-shadow: inset 0 0 0 0.125em grey;\n}\n.form-module_radiobtn_label__-4Hoi input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n.form-module_radiobtn_label_translated__WN5Jj span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-left: 0.375em;\n margin-right: 0;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label_translated__WN5Jj input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n\n/* Checkbox */\n.form-module_checkbox__XPkWy {\n --border: #022648;\n --border-hover: #959ed0;\n --tick: #fff;\n position: relative;\n /* color: var(--cardheader); */\n}\n.form-module_checkbox_label__VvcKs {\n font-size: 16px;\n text-transform: capitalize;\n font-weight: 500;\n cursor: pointer;\n}\n.form-module_checkbox__XPkWy:hover {\n /* color: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input,\n.form-module_checkbox__XPkWy svg {\n width: 16px;\n height: 16px;\n display: block;\n}\n.form-module_checkbox_sub__QWYil input {\n width: 15px;\n height: 15px;\n}\n.form-module_checkbox__XPkWy 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.form-module_checkbox__XPkWy input:disabled {\n cursor: not-allowed;\n}\n.form-module_checkbox__XPkWy input:hover {\n /* --s: 2px; */\n /* --b: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input:checked {\n /* --b: var(--secondary); */\n}\n.form-module_checkbox__XPkWy 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.form-module_checkbox_sub__QWYil 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.form-module_checkboxtranslated__zvEV- svg {\n right: 0;\n}\n.form-module_checkbox__XPkWy input:checked {\n --s: 2px;\n transition-delay: 0.4s;\n}\n.form-module_checkbox__XPkWy input:checked + svg {\n --a: 16.1 86.12;\n --o: 102.22;\n}\n.form-module_checkbox__XPkWy 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";
|
|
2459
2459
|
var formstyles = {"form_control":"form-module_form_control__4-RGw","form_controlcheckout":"form-module_form_controlcheckout__IoXvi","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-"};
|
|
2460
|
-
styleInject(css_248z$
|
|
2460
|
+
styleInject(css_248z$u);
|
|
2461
2461
|
|
|
2462
|
-
function ownKeys$
|
|
2462
|
+
function ownKeys$16(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; }
|
|
2463
2463
|
|
|
2464
|
-
function _objectSpread$
|
|
2464
|
+
function _objectSpread$16(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$16(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$16(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2465
2465
|
var defaultstyles = {
|
|
2466
2466
|
option: function option(provided, state) {
|
|
2467
|
-
return _objectSpread$
|
|
2467
|
+
return _objectSpread$16(_objectSpread$16({}, provided), {}, {
|
|
2468
2468
|
borderBottom: '1px solid #e6e6e6',
|
|
2469
2469
|
backgroundColor: state.isSelected ? '' : '',
|
|
2470
2470
|
padding: 5,
|
|
@@ -2491,7 +2491,7 @@ var defaultstyles = {
|
|
|
2491
2491
|
};
|
|
2492
2492
|
},
|
|
2493
2493
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
2494
|
-
return _objectSpread$
|
|
2494
|
+
return _objectSpread$16(_objectSpread$16({}, provided), {}, {
|
|
2495
2495
|
'&:hover': {// color: '#eac435',
|
|
2496
2496
|
}
|
|
2497
2497
|
});
|
|
@@ -2499,7 +2499,7 @@ var defaultstyles = {
|
|
|
2499
2499
|
};
|
|
2500
2500
|
var defaultstylestranslated = {
|
|
2501
2501
|
option: function option(provided, state) {
|
|
2502
|
-
return _objectSpread$
|
|
2502
|
+
return _objectSpread$16(_objectSpread$16({}, provided), {}, {
|
|
2503
2503
|
borderBottom: '1px solid #e6e6e6',
|
|
2504
2504
|
backgroundColor: state.isSelected ? '' : '',
|
|
2505
2505
|
padding: 5,
|
|
@@ -2528,30 +2528,23 @@ var defaultstylestranslated = {
|
|
|
2528
2528
|
};
|
|
2529
2529
|
},
|
|
2530
2530
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
2531
|
-
return _objectSpread$
|
|
2531
|
+
return _objectSpread$16(_objectSpread$16({}, provided), {}, {
|
|
2532
2532
|
'&:hover': {// color: '#eac435',
|
|
2533
2533
|
}
|
|
2534
2534
|
});
|
|
2535
2535
|
},
|
|
2536
2536
|
placeholder: function placeholder(provided, state) {
|
|
2537
|
-
return _objectSpread$
|
|
2537
|
+
return _objectSpread$16(_objectSpread$16({}, provided), {}, {
|
|
2538
2538
|
textAlign: 'right'
|
|
2539
2539
|
});
|
|
2540
2540
|
}
|
|
2541
2541
|
};
|
|
2542
2542
|
|
|
2543
|
-
function ownKeys$
|
|
2543
|
+
function ownKeys$15(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; }
|
|
2544
2544
|
|
|
2545
|
-
function _objectSpread$
|
|
2546
|
-
var Select =
|
|
2547
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); })
|
|
2548
|
-
return mod["default"];
|
|
2549
|
-
});
|
|
2550
|
-
}, {
|
|
2551
|
-
ssr: false,
|
|
2552
|
-
loading: function loading() {
|
|
2553
|
-
return null;
|
|
2554
|
-
}
|
|
2545
|
+
function _objectSpread$15(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$15(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$15(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2546
|
+
var Select$1 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
2547
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
2555
2548
|
});
|
|
2556
2549
|
|
|
2557
2550
|
var Checkout = function Checkout(props) {
|
|
@@ -2613,7 +2606,7 @@ var Checkout = function Checkout(props) {
|
|
|
2613
2606
|
templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$2 = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$2 === void 0 ? void 0 : (_templatepropcontext$3 = _templatepropcontext$2.pageproperties) === null || _templatepropcontext$3 === void 0 ? void 0 : _templatepropcontext$3.forEach(function (arrayItem, arrayindex) {
|
|
2614
2607
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
2615
2608
|
});
|
|
2616
|
-
setsectionproperties(_objectSpread$
|
|
2609
|
+
setsectionproperties(_objectSpread$15({}, secpropobj));
|
|
2617
2610
|
}, [CurrentPageId]);
|
|
2618
2611
|
React.useEffect(function () {
|
|
2619
2612
|
if (CurrentSrcTypeContext == 'workplace') {
|
|
@@ -2624,7 +2617,7 @@ var Checkout = function Checkout(props) {
|
|
|
2624
2617
|
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) {
|
|
2625
2618
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
2626
2619
|
});
|
|
2627
|
-
setsectionproperties(_objectSpread$
|
|
2620
|
+
setsectionproperties(_objectSpread$15({}, secpropobj));
|
|
2628
2621
|
}
|
|
2629
2622
|
}
|
|
2630
2623
|
}, [StatePagePropertiesContext]);
|
|
@@ -2632,12 +2625,12 @@ var Checkout = function Checkout(props) {
|
|
|
2632
2625
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14;
|
|
2633
2626
|
|
|
2634
2627
|
// if (authdetailsContext.loggedin == true) {
|
|
2635
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
2628
|
+
var tempFetchQueriesEngineContext = _objectSpread$15({}, FetchQueriesEngineContext);
|
|
2636
2629
|
|
|
2637
2630
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
2638
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
2631
|
+
setFetchQueriesEngineContext(_objectSpread$15({}, tempFetchQueriesEngineContext));
|
|
2639
2632
|
|
|
2640
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
2633
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$15({}, FetchTabexStatesPayloadobjContext);
|
|
2641
2634
|
|
|
2642
2635
|
if ( // Aya
|
|
2643
2636
|
!fetchcustomercartQueryContext.isFetching && fetchcustomercartQueryContext.isSuccess && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.customercart.countryid) != null && // End
|
|
@@ -2655,7 +2648,7 @@ var Checkout = function Checkout(props) {
|
|
|
2655
2648
|
tempFetchTabexStatesPayloadobjContext.state_id = fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue15 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue15 === void 0 ? void 0 : (_fetchcustomercartQue16 = _fetchcustomercartQue15.data) === null || _fetchcustomercartQue16 === void 0 ? void 0 : _fetchcustomercartQue16.customercart.stateid;
|
|
2656
2649
|
}
|
|
2657
2650
|
|
|
2658
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
2651
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$15({}, tempFetchTabexStatesPayloadobjContext)); // } else {
|
|
2659
2652
|
// routingcountext('');
|
|
2660
2653
|
// }
|
|
2661
2654
|
}, []);
|
|
@@ -3313,7 +3306,7 @@ var Checkout = function Checkout(props) {
|
|
|
3313
3306
|
width: "20px",
|
|
3314
3307
|
height: "20px",
|
|
3315
3308
|
duration: "1s"
|
|
3316
|
-
})), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
3309
|
+
})), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$1, {
|
|
3317
3310
|
options: fetchTabexCountriesQueryContext.data.data.countries,
|
|
3318
3311
|
getOptionLabel: function getOptionLabel(option) {
|
|
3319
3312
|
return option.name;
|
|
@@ -3327,11 +3320,11 @@ var Checkout = function Checkout(props) {
|
|
|
3327
3320
|
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : (_fetchcustomercartQue76 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.countryid);
|
|
3328
3321
|
}),
|
|
3329
3322
|
onChange: function onChange(option) {
|
|
3330
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
3323
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$15({}, FetchTabexStatesPayloadobjContext);
|
|
3331
3324
|
|
|
3332
3325
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
3333
3326
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
3334
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
3327
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$15({}, tempFetchTabexStatesPayloadobjContext));
|
|
3335
3328
|
cartinfoupdater('countryid', option.id);
|
|
3336
3329
|
},
|
|
3337
3330
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -3348,7 +3341,7 @@ var Checkout = function Checkout(props) {
|
|
|
3348
3341
|
width: "20px",
|
|
3349
3342
|
height: "20px",
|
|
3350
3343
|
duration: "1s"
|
|
3351
|
-
})), !fetchTabexStatesQueryContext.isFetching && fetchTabexStatesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
3344
|
+
})), !fetchTabexStatesQueryContext.isFetching && fetchTabexStatesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$1, {
|
|
3352
3345
|
options: fetchTabexStatesQueryContext.data.data.states,
|
|
3353
3346
|
getOptionLabel: function getOptionLabel(option) {
|
|
3354
3347
|
return option.name;
|
|
@@ -3365,11 +3358,11 @@ var Checkout = function Checkout(props) {
|
|
|
3365
3358
|
var _fetchcustomercartQue79, _fetchcustomercartQue80;
|
|
3366
3359
|
|
|
3367
3360
|
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : (_fetchcustomercartQue80 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.countryid.length) != 0) {
|
|
3368
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
3361
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$15({}, FetchTabexStatesPayloadobjContext);
|
|
3369
3362
|
|
|
3370
3363
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
3371
3364
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
3372
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
3365
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$15({}, tempFetchTabexStatesPayloadobjContext));
|
|
3373
3366
|
cartinfoupdater('stateid', option.id);
|
|
3374
3367
|
} else {
|
|
3375
3368
|
NotificationManager.warning('', 'Please Choose Country Or State');
|
|
@@ -3389,7 +3382,7 @@ var Checkout = function Checkout(props) {
|
|
|
3389
3382
|
width: "20px",
|
|
3390
3383
|
height: "20px",
|
|
3391
3384
|
duration: "1s"
|
|
3392
|
-
})), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
3385
|
+
})), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$1, {
|
|
3393
3386
|
options: fetchTabexCitiesQueryContext.data.data.cities,
|
|
3394
3387
|
getOptionLabel: function getOptionLabel(option) {
|
|
3395
3388
|
return option.name;
|
|
@@ -3620,6 +3613,1092 @@ var Checkout = function Checkout(props) {
|
|
|
3620
3613
|
}, Mycart()))));
|
|
3621
3614
|
};
|
|
3622
3615
|
|
|
3616
|
+
var css_248z$t = "@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";
|
|
3617
|
+
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-"};
|
|
3618
|
+
styleInject(css_248z$t);
|
|
3619
|
+
|
|
3620
|
+
function ownKeys$14(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; }
|
|
3621
|
+
|
|
3622
|
+
function _objectSpread$14(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$14(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$14(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3623
|
+
var Select = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
3624
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
3625
|
+
});
|
|
3626
|
+
|
|
3627
|
+
var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
3628
|
+
var lang = props.actions.lang;
|
|
3629
|
+
var langdetect = props.actions.langdetect;
|
|
3630
|
+
props.actions.routingcountext;
|
|
3631
|
+
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
3632
|
+
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
3633
|
+
var fetchinstitutecustomerinfosignupQueryContext = props.actions.fetchinstitutecustomerinfosignupQueryContext;
|
|
3634
|
+
var fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
|
|
3635
|
+
var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
|
|
3636
|
+
var fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
|
|
3637
|
+
var FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
|
|
3638
|
+
var setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
|
|
3639
|
+
var CustomerSignUpMutationContext = props.actions.CustomerSignUpMutationContext;
|
|
3640
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
3641
|
+
var instapikey = props.actions.instapikey;
|
|
3642
|
+
var templatepropcontext = props.actions.templatepropcontext;
|
|
3643
|
+
var actions = props.actions;
|
|
3644
|
+
|
|
3645
|
+
var _useState = React.useState(''),
|
|
3646
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
3647
|
+
sectionproperties = _useState2[0],
|
|
3648
|
+
setsectionproperties = _useState2[1];
|
|
3649
|
+
|
|
3650
|
+
var _useState3 = React.useState(false),
|
|
3651
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
3652
|
+
dataloaded = _useState4[0],
|
|
3653
|
+
setdataloaded = _useState4[1];
|
|
3654
|
+
|
|
3655
|
+
var _useState5 = React.useState({
|
|
3656
|
+
instapikey: instapikey(),
|
|
3657
|
+
name: '',
|
|
3658
|
+
email: '',
|
|
3659
|
+
mobile: '',
|
|
3660
|
+
password: '',
|
|
3661
|
+
password2: '',
|
|
3662
|
+
shippingaddress: '',
|
|
3663
|
+
addedsourcetype: 'Webapp',
|
|
3664
|
+
instsignupformvalues: [],
|
|
3665
|
+
countryid: '',
|
|
3666
|
+
stateid: '',
|
|
3667
|
+
cityid: ''
|
|
3668
|
+
}),
|
|
3669
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
3670
|
+
payloadobj = _useState6[0],
|
|
3671
|
+
setpayloadobj = _useState6[1];
|
|
3672
|
+
|
|
3673
|
+
React.useEffect(function () {
|
|
3674
|
+
var tempFetchQueriesEngineContext = _objectSpread$14({}, FetchQueriesEngineContext);
|
|
3675
|
+
|
|
3676
|
+
tempFetchQueriesEngineContext.institutecustomerinfosignup = true;
|
|
3677
|
+
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
3678
|
+
setFetchQueriesEngineContext(_objectSpread$14({}, tempFetchQueriesEngineContext));
|
|
3679
|
+
|
|
3680
|
+
var tempFetchQueriesEngineContext = _objectSpread$14({}, FetchQueriesEngineContext);
|
|
3681
|
+
}, []);
|
|
3682
|
+
React.useEffect(function () {
|
|
3683
|
+
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
3684
|
+
setsectionproperties(_objectSpread$14({}, props.sectionpropertiesprops));
|
|
3685
|
+
}
|
|
3686
|
+
}, [props.sectionpropertiesprops]);
|
|
3687
|
+
React.useEffect(function () {
|
|
3688
|
+
if (fetchinstitutecustomerinfosignupQueryContext.isSuccess) {
|
|
3689
|
+
if (authdetailsContext.loggedin == true) {
|
|
3690
|
+
var tempcustomerinfoobj = _objectSpread$14({}, fetchinstitutecustomerinfosignupQueryContext.data.data.customerinfo);
|
|
3691
|
+
|
|
3692
|
+
setpayloadobj(_objectSpread$14({}, tempcustomerinfoobj));
|
|
3693
|
+
|
|
3694
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$14({}, FetchTabexStatesPayloadobjContext);
|
|
3695
|
+
|
|
3696
|
+
if (tempcustomerinfoobj.countryid != null) {
|
|
3697
|
+
tempFetchTabexStatesPayloadobjContext.country_id = tempcustomerinfoobj.countryid;
|
|
3698
|
+
}
|
|
3699
|
+
|
|
3700
|
+
if (tempcustomerinfoobj.stateid != null) {
|
|
3701
|
+
tempFetchTabexStatesPayloadobjContext.state_id = tempcustomerinfoobj.stateid;
|
|
3702
|
+
}
|
|
3703
|
+
|
|
3704
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$14({}, tempFetchTabexStatesPayloadobjContext));
|
|
3705
|
+
setdataloaded(true);
|
|
3706
|
+
} else {
|
|
3707
|
+
var _fetchinstitutecustom, _fetchinstitutecustom2;
|
|
3708
|
+
|
|
3709
|
+
var tempcustomerinfoobj = _objectSpread$14({}, payloadobj);
|
|
3710
|
+
|
|
3711
|
+
if (Array.isArray(fetchinstitutecustomerinfosignupQueryContext === null || fetchinstitutecustomerinfosignupQueryContext === void 0 ? void 0 : (_fetchinstitutecustom = fetchinstitutecustomerinfosignupQueryContext.data) === null || _fetchinstitutecustom === void 0 ? void 0 : (_fetchinstitutecustom2 = _fetchinstitutecustom.data) === null || _fetchinstitutecustom2 === void 0 ? void 0 : _fetchinstitutecustom2.instsignupformvalues)) {
|
|
3712
|
+
tempcustomerinfoobj.instsignupformvalues = _toConsumableArray__default["default"](fetchinstitutecustomerinfosignupQueryContext.data.data.instsignupformvalues);
|
|
3713
|
+
}
|
|
3714
|
+
|
|
3715
|
+
setpayloadobj(_objectSpread$14({}, tempcustomerinfoobj));
|
|
3716
|
+
setdataloaded(true);
|
|
3717
|
+
}
|
|
3718
|
+
}
|
|
3719
|
+
}, [fetchinstitutecustomerinfosignupQueryContext.isSuccess, fetchinstitutecustomerinfosignupQueryContext.data, authdetailsContext]);
|
|
3720
|
+
|
|
3721
|
+
var payloadobjchange = function payloadobjchange(key, value) {
|
|
3722
|
+
var temppayloadobj = _objectSpread$14({}, payloadobj);
|
|
3723
|
+
|
|
3724
|
+
temppayloadobj[key] = value;
|
|
3725
|
+
setpayloadobj(_objectSpread$14({}, temppayloadobj));
|
|
3726
|
+
};
|
|
3727
|
+
|
|
3728
|
+
var formstyles = {
|
|
3729
|
+
loginbtn: glamor.css({
|
|
3730
|
+
background: templatepropcontext.primarycolor,
|
|
3731
|
+
color: sectionproperties.generalbtn_textColor,
|
|
3732
|
+
borderRadius: sectionproperties.generalbtn_borderradius + 'px',
|
|
3733
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
3734
|
+
lineHeight: sectionproperties.generalbtn_fontsize + 'px',
|
|
3735
|
+
textTransform: sectionproperties.generalbtn_texttransform,
|
|
3736
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
3737
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
3738
|
+
':hover': {
|
|
3739
|
+
background: templatepropcontext.secondarycolor
|
|
3740
|
+
}
|
|
3741
|
+
}),
|
|
3742
|
+
btnstyles: glamor.css({
|
|
3743
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
3744
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
3745
|
+
textTransform: sectionproperties.generalbtn_texttransform,
|
|
3746
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
3747
|
+
color: sectionproperties.generalbtn_textColor,
|
|
3748
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
3749
|
+
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
3750
|
+
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
3751
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
3752
|
+
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
3753
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
3754
|
+
transition: '.3s',
|
|
3755
|
+
':hover': {
|
|
3756
|
+
background: sectionproperties.generalbtn_bgColoronhover,
|
|
3757
|
+
color: sectionproperties.generalbtn_textColoronhover
|
|
3758
|
+
}
|
|
3759
|
+
}),
|
|
3760
|
+
signupbtn: glamor.css({
|
|
3761
|
+
width: sectionproperties.signup_btn_width + 'px',
|
|
3762
|
+
height: sectionproperties.signup_btn_height + 'px',
|
|
3763
|
+
borderRadius: sectionproperties.signup_btn_borderBottomLeftRadius + 'px',
|
|
3764
|
+
textTransform: sectionproperties.signup_btn_texttransform,
|
|
3765
|
+
fontSize: sectionproperties.signup_btn_fontSize + 'px',
|
|
3766
|
+
color: sectionproperties.signup_btn_color,
|
|
3767
|
+
fontWeight: sectionproperties.signup_btn_fontweight,
|
|
3768
|
+
background: sectionproperties.signup_btnbgcolor_transparent == 'Transparent' ? 'transparent' : sectionproperties.signup_btnbgcolor,
|
|
3769
|
+
border: sectionproperties.signup_btn_borderwidth + 'px solid ' + sectionproperties.signupbtn_bordercolor,
|
|
3770
|
+
transition: '.3s',
|
|
3771
|
+
':hover': {
|
|
3772
|
+
background: sectionproperties.signup_btnbgcoloroonhovertransparent == 'Transparent' ? 'transparent' : sectionproperties.signup_btnbgcoloroonhover,
|
|
3773
|
+
color: sectionproperties.signup_btn_coloronhover
|
|
3774
|
+
}
|
|
3775
|
+
}),
|
|
3776
|
+
input_label_name: glamor.css({
|
|
3777
|
+
color: sectionproperties.form_labelcolor,
|
|
3778
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
3779
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
3780
|
+
fontSize: sectionproperties.form_labelfontsize + 'px'
|
|
3781
|
+
}),
|
|
3782
|
+
form_control: glamor.css({
|
|
3783
|
+
color: sectionproperties.inputfieldcolor,
|
|
3784
|
+
fontSize: sectionproperties.inputfieldfontsize + 'px'
|
|
3785
|
+
}),
|
|
3786
|
+
checkbox: glamor.css({
|
|
3787
|
+
color: sectionproperties.checkbox_color,
|
|
3788
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
3789
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
3790
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
3791
|
+
transition: '.3s',
|
|
3792
|
+
':hover': {
|
|
3793
|
+
color: sectionproperties.checkbox_texthovercolor
|
|
3794
|
+
},
|
|
3795
|
+
'input:checked': {
|
|
3796
|
+
color: sectionproperties.checkbox_checkedcolor
|
|
3797
|
+
}
|
|
3798
|
+
}),
|
|
3799
|
+
checkboxinputstyles: glamor.css({
|
|
3800
|
+
':hover:not(:checked)': {
|
|
3801
|
+
boxShadow: 'inset 0 0 0 2px ' + sectionproperties.checkbox_texthovercolor
|
|
3802
|
+
},
|
|
3803
|
+
':checked': {
|
|
3804
|
+
boxShadow: 'inset 0 0 0 2px ' + sectionproperties.checkbox_checkedcolor
|
|
3805
|
+
}
|
|
3806
|
+
}),
|
|
3807
|
+
svgstyles: glamor.css({
|
|
3808
|
+
stroke: 'var(--stroke, ' + sectionproperties.checkbox_checkedcolor + ')'
|
|
3809
|
+
})
|
|
3810
|
+
};
|
|
3811
|
+
|
|
3812
|
+
var PersonalInformation = function PersonalInformation() {
|
|
3813
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3814
|
+
className: "row m-0 w-100"
|
|
3815
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3816
|
+
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
3817
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3818
|
+
className: "".concat(formstyles.input_label_name) + ' m-0 text-transform-none d-flex align-items-start '
|
|
3819
|
+
}, lang.name), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
3820
|
+
type: "text",
|
|
3821
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
3822
|
+
value: payloadobj.name,
|
|
3823
|
+
onChange: function onChange(event) {
|
|
3824
|
+
payloadobjchange('name', event.target.value);
|
|
3825
|
+
}
|
|
3826
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3827
|
+
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
3828
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3829
|
+
className: "".concat(formstyles.input_label_name) + ' m-0 text-transform-none d-flex align-items-start '
|
|
3830
|
+
}, lang.email), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
3831
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
3832
|
+
type: "text",
|
|
3833
|
+
textplaceholder: "",
|
|
3834
|
+
value: payloadobj.email,
|
|
3835
|
+
onChange: function onChange(event) {
|
|
3836
|
+
payloadobjchange('email', event.target.value);
|
|
3837
|
+
}
|
|
3838
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3839
|
+
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
3840
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3841
|
+
className: formstyles.input_label_name + ' m-0 d-flex justify-content-start '
|
|
3842
|
+
}, lang.phonenumber), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
3843
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
3844
|
+
type: "text",
|
|
3845
|
+
textplaceholder: "",
|
|
3846
|
+
value: payloadobj.mobile,
|
|
3847
|
+
onChange: function onChange(event) {
|
|
3848
|
+
payloadobjchange('mobile', event.target.value);
|
|
3849
|
+
}
|
|
3850
|
+
})));
|
|
3851
|
+
};
|
|
3852
|
+
|
|
3853
|
+
var Address = function Address() {
|
|
3854
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3855
|
+
className: "row m-0 w-100"
|
|
3856
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3857
|
+
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
3858
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3859
|
+
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
3860
|
+
}, lang.country), fetchTabexCountriesQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3861
|
+
className: "col-lg-4 col-md-12 col-sm-12 mb-3 p-sm-0 d-flex justify-content-center align-items-center"
|
|
3862
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
3863
|
+
color: "black",
|
|
3864
|
+
width: "20px",
|
|
3865
|
+
height: "20px",
|
|
3866
|
+
duration: "1s"
|
|
3867
|
+
})), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
3868
|
+
options: fetchTabexCountriesQueryContext.data.data.countries,
|
|
3869
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
3870
|
+
return option.name;
|
|
3871
|
+
},
|
|
3872
|
+
getOptionValue: function getOptionValue(option) {
|
|
3873
|
+
return option.id;
|
|
3874
|
+
},
|
|
3875
|
+
autocomplete: "new-password",
|
|
3876
|
+
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
3877
|
+
return option.id == payloadobj.countryid;
|
|
3878
|
+
}),
|
|
3879
|
+
onChange: function onChange(option) {
|
|
3880
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$14({}, FetchTabexStatesPayloadobjContext);
|
|
3881
|
+
|
|
3882
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
3883
|
+
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
3884
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$14({}, tempFetchTabexStatesPayloadobjContext));
|
|
3885
|
+
payloadobjchange('countryid', option.id);
|
|
3886
|
+
},
|
|
3887
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
3888
|
+
placeholder: langdetect == 'en' ? 'Choose Country' : 'إختر البلد',
|
|
3889
|
+
isSearchable: true
|
|
3890
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3891
|
+
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
3892
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3893
|
+
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
3894
|
+
}, lang.choosestategov), fetchTabexStatesQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3895
|
+
className: "col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0 d-flex justify-content-center align-items-center"
|
|
3896
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
3897
|
+
color: "black",
|
|
3898
|
+
width: "20px",
|
|
3899
|
+
height: "20px",
|
|
3900
|
+
duration: "1s"
|
|
3901
|
+
})), FetchTabexStatesPayloadobjContext.country_id == '' && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
3902
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
3903
|
+
placeholder: lang.choosestategov,
|
|
3904
|
+
isSearchable: true
|
|
3905
|
+
}), !fetchTabexStatesQueryContext.isFetching && fetchTabexStatesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
3906
|
+
options: fetchTabexStatesQueryContext.data.data.states,
|
|
3907
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
3908
|
+
return option.name;
|
|
3909
|
+
},
|
|
3910
|
+
getOptionValue: function getOptionValue(option) {
|
|
3911
|
+
return option.id;
|
|
3912
|
+
},
|
|
3913
|
+
autocomplete: "new-password",
|
|
3914
|
+
value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
|
|
3915
|
+
return option.id == payloadobj.stateid;
|
|
3916
|
+
}),
|
|
3917
|
+
onChange: function onChange(option) {
|
|
3918
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$14({}, FetchTabexStatesPayloadobjContext);
|
|
3919
|
+
|
|
3920
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
3921
|
+
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
3922
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$14({}, tempFetchTabexStatesPayloadobjContext));
|
|
3923
|
+
payloadobjchange('stateid', option.id);
|
|
3924
|
+
},
|
|
3925
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
3926
|
+
placeholder: lang.choosestategov,
|
|
3927
|
+
isSearchable: true
|
|
3928
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3929
|
+
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
3930
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3931
|
+
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
3932
|
+
}, lang.city), fetchTabexCitiesQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3933
|
+
className: "col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0 d-flex justify-content-center align-items-center"
|
|
3934
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
3935
|
+
color: "black",
|
|
3936
|
+
width: "20px",
|
|
3937
|
+
height: "20px",
|
|
3938
|
+
duration: "1s"
|
|
3939
|
+
})), FetchTabexStatesPayloadobjContext.country_id == '' && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
3940
|
+
placeholder: lang.choosecity,
|
|
3941
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
3942
|
+
isSearchable: true
|
|
3943
|
+
}), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
3944
|
+
options: fetchTabexCitiesQueryContext.data.data.cities,
|
|
3945
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
3946
|
+
return option.name;
|
|
3947
|
+
},
|
|
3948
|
+
getOptionValue: function getOptionValue(option) {
|
|
3949
|
+
return option.id;
|
|
3950
|
+
},
|
|
3951
|
+
autocomplete: "new-password",
|
|
3952
|
+
value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
|
|
3953
|
+
return option.id == payloadobj.cityid;
|
|
3954
|
+
}),
|
|
3955
|
+
onChange: function onChange(option) {
|
|
3956
|
+
payloadobjchange('cityid', option.id);
|
|
3957
|
+
},
|
|
3958
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
3959
|
+
placeholder: lang.choosecity,
|
|
3960
|
+
isSearchable: true
|
|
3961
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3962
|
+
className: "col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0"
|
|
3963
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3964
|
+
className: "".concat(formstyles.input_label_name) + ' text-transform-none d-flex align-items-start '
|
|
3965
|
+
}, lang.address), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3966
|
+
className: loginstyles.wrap_input100
|
|
3967
|
+
}, /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
3968
|
+
type: "text",
|
|
3969
|
+
className: "".concat(loginstyles.form_control, " ").concat(loginstyles.form_controltextarea, " ").concat(formstyles.form_control),
|
|
3970
|
+
value: payloadobj.shippingaddress,
|
|
3971
|
+
textplaceholder: "",
|
|
3972
|
+
onChange: function onChange(event) {
|
|
3973
|
+
payloadobjchange('shippingaddress', event.target.value);
|
|
3974
|
+
},
|
|
3975
|
+
style: {
|
|
3976
|
+
resize: 'none'
|
|
3977
|
+
}
|
|
3978
|
+
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3979
|
+
className: loginstyles.login_input_focus
|
|
3980
|
+
}))));
|
|
3981
|
+
};
|
|
3982
|
+
|
|
3983
|
+
var Password = function Password() {
|
|
3984
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3985
|
+
className: "row m-0 w-100"
|
|
3986
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3987
|
+
className: "col-lg-6 col-md-12 col-sm-12 mb-4 p-sm-0"
|
|
3988
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3989
|
+
className: "".concat(formstyles.input_label_name) + ' m-0 text-transform-none d-flex align-items-start '
|
|
3990
|
+
}, lang.password), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
3991
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
3992
|
+
type: "password",
|
|
3993
|
+
autocomplete: "new-password",
|
|
3994
|
+
textplaceholder: "",
|
|
3995
|
+
value: payloadobj.password,
|
|
3996
|
+
onChange: function onChange(event) {
|
|
3997
|
+
payloadobjchange('password', event.target.value);
|
|
3998
|
+
}
|
|
3999
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4000
|
+
className: "col-lg-6 col-md-12 col-sm-12 mb-4 p-sm-0"
|
|
4001
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
4002
|
+
className: "".concat(formstyles.input_label_name) + ' m-0 text-transform-none d-flex align-items-start '
|
|
4003
|
+
}, lang.confirmpassword), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
4004
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
4005
|
+
type: "password",
|
|
4006
|
+
autocomplete: "new-password",
|
|
4007
|
+
textplaceholder: "",
|
|
4008
|
+
value: payloadobj.password2,
|
|
4009
|
+
onChange: function onChange(event) {
|
|
4010
|
+
payloadobjchange('password2', event.target.value);
|
|
4011
|
+
}
|
|
4012
|
+
})));
|
|
4013
|
+
};
|
|
4014
|
+
|
|
4015
|
+
var Otherinformation = function Otherinformation() {
|
|
4016
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4017
|
+
className: "row m-0 w-100"
|
|
4018
|
+
}, payloadobj.instsignupformvalues.length != 0 && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, payloadobj.instsignupformvalues.map(function (item, index) {
|
|
4019
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4020
|
+
className: "col-lg-6 col-md-12 col-sm-12 mb-4 p-sm-0"
|
|
4021
|
+
}, item.inputtype != 'checkbox' && /*#__PURE__*/React__default["default"].createElement("label", {
|
|
4022
|
+
className: formstyles.input_label_name
|
|
4023
|
+
}, langdetect == 'en' ? item.inputname_en : item.inputname_ar, " ", item.optional == 1 ? '' : '*'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4024
|
+
className: loginstyles.wrap_input100
|
|
4025
|
+
}, item.inputtype == 'input' && /*#__PURE__*/React__default["default"].createElement("input", {
|
|
4026
|
+
className: loginstyles.logininput,
|
|
4027
|
+
type: "text",
|
|
4028
|
+
value: item.customersignupvalue,
|
|
4029
|
+
textplaceholder: "",
|
|
4030
|
+
onChange: function onChange(event) {
|
|
4031
|
+
var temppayloadobj = _objectSpread$14({}, payloadobj);
|
|
4032
|
+
|
|
4033
|
+
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
4034
|
+
setpayloadobj(_objectSpread$14({}, temppayloadobj));
|
|
4035
|
+
}
|
|
4036
|
+
}), item.inputtype == 'checkbox' && /*#__PURE__*/React__default["default"].createElement("label", {
|
|
4037
|
+
className: langdetect == 'en' ? "".concat(loginstyles.checkbox, " ").concat(formstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(loginstyles.checkbox, " ").concat(loginstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
4038
|
+
"for": "codcheckbox"
|
|
4039
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
4040
|
+
id: 'codcheckbox',
|
|
4041
|
+
type: "checkbox",
|
|
4042
|
+
className: formstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
4043
|
+
checked: item.customersignupvalue == 1 ? true : false,
|
|
4044
|
+
onChange: function onChange() {
|
|
4045
|
+
var temppayloadobj = _objectSpread$14({}, payloadobj);
|
|
4046
|
+
|
|
4047
|
+
if (temppayloadobj.instsignupformvalues[index].customersignupvalue == 1) {
|
|
4048
|
+
temppayloadobj.instsignupformvalues[index].customersignupvalue = 0;
|
|
4049
|
+
} else {
|
|
4050
|
+
temppayloadobj.instsignupformvalues[index].customersignupvalue = 1;
|
|
4051
|
+
}
|
|
4052
|
+
|
|
4053
|
+
setpayloadobj(_objectSpread$14({}, temppayloadobj));
|
|
4054
|
+
}
|
|
4055
|
+
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
4056
|
+
viewBox: "0 0 21 21",
|
|
4057
|
+
className: formstyles.svgstyles + ' h-100 '
|
|
4058
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
4059
|
+
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
4060
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4061
|
+
className: formstyles.input_label_name + ' ml-2 mb-0 cursor-pointer wordbreak mr-2',
|
|
4062
|
+
style: {}
|
|
4063
|
+
}, langdetect == 'en' ? item.inputname_en : item.inputname_ar, " ", item.optional == 1 ? '' : '*')), item.inputtype == 'selectbox' && /*#__PURE__*/React__default["default"].createElement("select", {
|
|
4064
|
+
className: loginstyles.wrap_input100,
|
|
4065
|
+
value: item.customersignupvalue,
|
|
4066
|
+
textplaceholder: "",
|
|
4067
|
+
onChange: function onChange(event) {
|
|
4068
|
+
var temppayloadobj = _objectSpread$14({}, payloadobj);
|
|
4069
|
+
|
|
4070
|
+
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
4071
|
+
setpayloadobj(_objectSpread$14({}, temppayloadobj));
|
|
4072
|
+
}
|
|
4073
|
+
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
4074
|
+
value: '',
|
|
4075
|
+
disabled: true
|
|
4076
|
+
}, langdetect == 'en' ? 'Choose' : 'إختر'), JSON.parse(item.selectboxvalues).map(function (selectboxitem, selectboxindex) {
|
|
4077
|
+
return /*#__PURE__*/React__default["default"].createElement("option", {
|
|
4078
|
+
value: selectboxitem.optionname_en
|
|
4079
|
+
}, selectboxitem.optionname_en);
|
|
4080
|
+
})), item.inputtype == 'textarea' && /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
4081
|
+
type: "text",
|
|
4082
|
+
className: loginstyles.logininput,
|
|
4083
|
+
value: item.customersignupvalue,
|
|
4084
|
+
textplaceholder: "",
|
|
4085
|
+
onChange: function onChange(event) {
|
|
4086
|
+
var temppayloadobj = _objectSpread$14({}, payloadobj);
|
|
4087
|
+
|
|
4088
|
+
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
4089
|
+
setpayloadobj(_objectSpread$14({}, temppayloadobj));
|
|
4090
|
+
}
|
|
4091
|
+
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4092
|
+
className: loginstyles.login_input_focus
|
|
4093
|
+
})));
|
|
4094
|
+
})));
|
|
4095
|
+
};
|
|
4096
|
+
|
|
4097
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4098
|
+
className: "row m-0 w-100 d-flex justify-content-center"
|
|
4099
|
+
}, !dataloaded && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4100
|
+
color: "black",
|
|
4101
|
+
width: "20px",
|
|
4102
|
+
height: "20px",
|
|
4103
|
+
duration: "1s"
|
|
4104
|
+
}), dataloaded && props.srcfromprops == 'signup' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4105
|
+
className: "row ml-0 mr-0",
|
|
4106
|
+
style: {
|
|
4107
|
+
background: 'white'
|
|
4108
|
+
}
|
|
4109
|
+
}, PersonalInformation(), Address(), Password()), dataloaded && props.srcfromprops == 'accountinfo' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4110
|
+
className: "col-lg-12 p-0"
|
|
4111
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4112
|
+
className: "row ml-0 mr-0 w-100"
|
|
4113
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4114
|
+
className: "col-lg-12 mb-3 p-0"
|
|
4115
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4116
|
+
style: {
|
|
4117
|
+
background: sectionproperties.backgroundColor,
|
|
4118
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
4119
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
4120
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
4121
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
4122
|
+
},
|
|
4123
|
+
className: "p-2"
|
|
4124
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4125
|
+
className: "row ml-0 mr-0"
|
|
4126
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4127
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
4128
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4129
|
+
className: "m-0 p-0",
|
|
4130
|
+
style: {
|
|
4131
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
4132
|
+
color: sectionproperties.sectionTitleColor,
|
|
4133
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
4134
|
+
}
|
|
4135
|
+
}, lang.personalinformation)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4136
|
+
className: "col-lg-12 p-0"
|
|
4137
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
4138
|
+
className: "mt-2 mb-3"
|
|
4139
|
+
}))), PersonalInformation())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4140
|
+
className: "col-lg-12 mb-3 p-0"
|
|
4141
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4142
|
+
className: 'p-2',
|
|
4143
|
+
style: {
|
|
4144
|
+
background: sectionproperties.backgroundColor,
|
|
4145
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
4146
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
4147
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
4148
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
4149
|
+
}
|
|
4150
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4151
|
+
className: "row ml-0 mr-0"
|
|
4152
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4153
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
4154
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4155
|
+
className: "m-0 p-0",
|
|
4156
|
+
style: {
|
|
4157
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
4158
|
+
color: sectionproperties.sectionTitleColor,
|
|
4159
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
4160
|
+
}
|
|
4161
|
+
}, lang.address)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4162
|
+
className: "col-lg-12 p-0"
|
|
4163
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
4164
|
+
className: "mt-2 mb-3"
|
|
4165
|
+
}))), Address())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4166
|
+
className: "col-lg-12 mb-3 p-0"
|
|
4167
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4168
|
+
className: 'p-2',
|
|
4169
|
+
style: {
|
|
4170
|
+
background: sectionproperties.backgroundColor,
|
|
4171
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
4172
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
4173
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
4174
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
4175
|
+
}
|
|
4176
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4177
|
+
className: "row ml-0 mr-0"
|
|
4178
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4179
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
4180
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4181
|
+
className: "m-0 p-0",
|
|
4182
|
+
style: {
|
|
4183
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
4184
|
+
color: sectionproperties.sectionTitleColor,
|
|
4185
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
4186
|
+
}
|
|
4187
|
+
}, lang.security)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4188
|
+
className: "col-lg-12 p-0"
|
|
4189
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
4190
|
+
className: "mt-2 mb-3"
|
|
4191
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4192
|
+
className: "row ml-0 mr-0"
|
|
4193
|
+
}, Password()))), payloadobj.instsignupformvalues.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4194
|
+
className: "col-lg-12 mb-3 p-0"
|
|
4195
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4196
|
+
style: {
|
|
4197
|
+
background: sectionproperties.backgroundColor,
|
|
4198
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
4199
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
4200
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
4201
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
4202
|
+
},
|
|
4203
|
+
className: "p-2"
|
|
4204
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4205
|
+
className: "row ml-0 mr-0"
|
|
4206
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4207
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
4208
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4209
|
+
className: "m-0 p-0",
|
|
4210
|
+
style: {
|
|
4211
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
4212
|
+
color: sectionproperties.sectionTitleColor,
|
|
4213
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
4214
|
+
}
|
|
4215
|
+
}, lang.otherinformation)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4216
|
+
className: "col-lg-12 p-0"
|
|
4217
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
4218
|
+
className: "mt-2 mb-3"
|
|
4219
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4220
|
+
className: "row ml-0 mr-0"
|
|
4221
|
+
}, Otherinformation()))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4222
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 mt-3"
|
|
4223
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4224
|
+
className: "".concat(formstyles.signupbtn) + ' d-flex align-items-center justify-content-center ',
|
|
4225
|
+
disabled: CustomerSignUpMutationContext.isLoading ? true : false,
|
|
4226
|
+
onClick: function onClick() {
|
|
4227
|
+
var passwordvalidation = false;
|
|
4228
|
+
|
|
4229
|
+
if (authdetailsContext.loggedin == false) {
|
|
4230
|
+
if (payloadobj.password.length != 0) {
|
|
4231
|
+
if (payloadobj.password == payloadobj.password2) {
|
|
4232
|
+
passwordvalidation = true;
|
|
4233
|
+
}
|
|
4234
|
+
}
|
|
4235
|
+
} else if (authdetailsContext.loggedin == true) {
|
|
4236
|
+
if (payloadobj.password.length != 0) {
|
|
4237
|
+
if (payloadobj.password == payloadobj.password2) {
|
|
4238
|
+
passwordvalidation = true;
|
|
4239
|
+
}
|
|
4240
|
+
} else {
|
|
4241
|
+
passwordvalidation = true;
|
|
4242
|
+
}
|
|
4243
|
+
}
|
|
4244
|
+
|
|
4245
|
+
if (passwordvalidation == false) {
|
|
4246
|
+
NotificationManager.warning('', lang.passwordsdontmatch);
|
|
4247
|
+
}
|
|
4248
|
+
|
|
4249
|
+
if (payloadobj.email.length != 0 && payloadobj.name.length != 0 && payloadobj.mobile.length != 0 && passwordvalidation == true && payloadobj.countryid.length != 0 && payloadobj.stateid.length != 0 && payloadobj.cityid.length != 0) {
|
|
4250
|
+
var signupformismissing = true;
|
|
4251
|
+
payloadobj.instsignupformvalues.forEach(function (arrayItem) {
|
|
4252
|
+
if (arrayItem.optional == 0) {
|
|
4253
|
+
if (arrayItem.customersignupvalue == undefined || arrayItem.customersignupvalue.length == 0) {
|
|
4254
|
+
signupformismissing = false;
|
|
4255
|
+
}
|
|
4256
|
+
}
|
|
4257
|
+
});
|
|
4258
|
+
|
|
4259
|
+
if (signupformismissing) {
|
|
4260
|
+
var temppayloadobj = _objectSpread$14({}, payloadobj);
|
|
4261
|
+
|
|
4262
|
+
if (authdetailsContext.loggedin == true) {
|
|
4263
|
+
temppayloadobj.functype = 'edit';
|
|
4264
|
+
} else {
|
|
4265
|
+
temppayloadobj.functype = 'add';
|
|
4266
|
+
}
|
|
4267
|
+
|
|
4268
|
+
temppayloadobj.addedsourcetype = 'Webapp';
|
|
4269
|
+
temppayloadobj.instapikey = instapikey();
|
|
4270
|
+
CustomerSignUpMutationContext.mutate(temppayloadobj);
|
|
4271
|
+
} else {
|
|
4272
|
+
NotificationManager.warning('', lang.completerequiredfields);
|
|
4273
|
+
}
|
|
4274
|
+
} else {
|
|
4275
|
+
NotificationManager.warning('', lang.fillthemissingfields);
|
|
4276
|
+
}
|
|
4277
|
+
}
|
|
4278
|
+
}, CustomerSignUpMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4279
|
+
color: "#fff",
|
|
4280
|
+
width: "20px",
|
|
4281
|
+
height: "20px",
|
|
4282
|
+
duration: "1s"
|
|
4283
|
+
}), !CustomerSignUpMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, authdetailsContext.loggedin != true && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4284
|
+
style: {
|
|
4285
|
+
letterSpacing: langdetect == 'en' ? '1px' : ''
|
|
4286
|
+
}
|
|
4287
|
+
}, lang.signup), authdetailsContext.loggedin == true && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4288
|
+
style: {
|
|
4289
|
+
letterSpacing: langdetect == 'en' ? '1px' : ''
|
|
4290
|
+
}
|
|
4291
|
+
}, lang.update)))), props.srcfromprops == 'signup' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4292
|
+
className: "row m-0 w-100"
|
|
4293
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4294
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex d-md-none align-items-center justify-content-center mb-2"
|
|
4295
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4296
|
+
className: "ml-1 mr-1"
|
|
4297
|
+
}, /*#__PURE__*/React__default["default"].createElement(FacebookLoginButton, {
|
|
4298
|
+
actions: actions
|
|
4299
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4300
|
+
className: "ml-1 mr-1"
|
|
4301
|
+
}, /*#__PURE__*/React__default["default"].createElement(GoogleLoginButton, {
|
|
4302
|
+
actions: actions
|
|
4303
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4304
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-none d-md-flex align-items-center justify-content-center mb-2"
|
|
4305
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4306
|
+
className: "ml-1 mr-1"
|
|
4307
|
+
}, /*#__PURE__*/React__default["default"].createElement(FacebookLoginButton, {
|
|
4308
|
+
actions: actions
|
|
4309
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4310
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-none d-md-flex align-items-center justify-content-center mb-2"
|
|
4311
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4312
|
+
className: "ml-1 mr-1"
|
|
4313
|
+
}, /*#__PURE__*/React__default["default"].createElement(GoogleLoginButton, {
|
|
4314
|
+
actions: actions
|
|
4315
|
+
})))));
|
|
4316
|
+
};
|
|
4317
|
+
|
|
4318
|
+
function ownKeys$13(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; }
|
|
4319
|
+
|
|
4320
|
+
function _objectSpread$13(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$13(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$13(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4321
|
+
|
|
4322
|
+
var Signup = function Signup(props) {
|
|
4323
|
+
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
4324
|
+
var CurrentSrcTypeContext = props.actions.CurrentSrcTypeContext;
|
|
4325
|
+
var routingcountext = props.actions.routingcountext;
|
|
4326
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
4327
|
+
var SocialLoginMutationContext = props.actions.SocialLoginMutationContext;
|
|
4328
|
+
var lang = props.actions.lang;
|
|
4329
|
+
var langdetect = props.actions.langdetect;
|
|
4330
|
+
var templatepropcontext = props.actions.templatepropcontext;
|
|
4331
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
4332
|
+
var actions = props.actions;
|
|
4333
|
+
|
|
4334
|
+
var _useState = React.useState(''),
|
|
4335
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
4336
|
+
CurrentPageId = _useState2[0],
|
|
4337
|
+
setCurrentPageId = _useState2[1];
|
|
4338
|
+
|
|
4339
|
+
var _useState3 = React.useState(''),
|
|
4340
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
4341
|
+
sectionproperties = _useState4[0],
|
|
4342
|
+
setsectionproperties = _useState4[1];
|
|
4343
|
+
|
|
4344
|
+
React.useEffect(function () {
|
|
4345
|
+
if (authdetailsContext.loggedin) {
|
|
4346
|
+
routingcountext('');
|
|
4347
|
+
}
|
|
4348
|
+
}, []);
|
|
4349
|
+
React.useEffect(function () {
|
|
4350
|
+
var cartindex = templatepropcontext === null || templatepropcontext === void 0 ? void 0 : templatepropcontext.pagesnprop.findIndex(function (x) {
|
|
4351
|
+
return x.staticpageid == '6218bccb7f4f7';
|
|
4352
|
+
});
|
|
4353
|
+
|
|
4354
|
+
if (cartindex >= 0) {
|
|
4355
|
+
setCurrentPageId(cartindex);
|
|
4356
|
+
}
|
|
4357
|
+
}, []);
|
|
4358
|
+
React.useEffect(function () {
|
|
4359
|
+
var _templatepropcontext$, _templatepropcontext$2;
|
|
4360
|
+
|
|
4361
|
+
var secpropobj = {};
|
|
4362
|
+
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) {
|
|
4363
|
+
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4364
|
+
});
|
|
4365
|
+
setsectionproperties(_objectSpread$13({}, secpropobj));
|
|
4366
|
+
}, [CurrentPageId]);
|
|
4367
|
+
React.useEffect(function () {
|
|
4368
|
+
if (CurrentSrcTypeContext == 'workplace') {
|
|
4369
|
+
if (StatePagePropertiesContext != null && StatePagePropertiesContext != undefined && StatePagePropertiesContext.length != 0) {
|
|
4370
|
+
var _StatePagePropertiesC, _StatePagePropertiesC2;
|
|
4371
|
+
|
|
4372
|
+
var secpropobj = {};
|
|
4373
|
+
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) {
|
|
4374
|
+
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4375
|
+
});
|
|
4376
|
+
setsectionproperties(_objectSpread$13({}, secpropobj));
|
|
4377
|
+
}
|
|
4378
|
+
}
|
|
4379
|
+
}, [StatePagePropertiesContext]);
|
|
4380
|
+
var loginstyles2 = {
|
|
4381
|
+
loginbtn: glamor.css({
|
|
4382
|
+
color: sectionproperties.login_btn_color,
|
|
4383
|
+
fontSize: sectionproperties.login_btn_fontSize + 'px',
|
|
4384
|
+
textTransform: sectionproperties.login_btn_texttransform,
|
|
4385
|
+
fontWeight: sectionproperties.login_btn_fontweight,
|
|
4386
|
+
textDecoration: 'underline',
|
|
4387
|
+
transition: '.3s',
|
|
4388
|
+
':hover': {
|
|
4389
|
+
color: sectionproperties.login_btn_coloronhover
|
|
4390
|
+
}
|
|
4391
|
+
}),
|
|
4392
|
+
logininputLabel: glamor.css({
|
|
4393
|
+
color: sectionproperties.form_labelcolor,
|
|
4394
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
4395
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
4396
|
+
fontSize: sectionproperties.form_labelfontsize + 'px'
|
|
4397
|
+
}),
|
|
4398
|
+
signupbtn: glamor.css({
|
|
4399
|
+
background: sectionproperties.signup_btnbgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.signup_btnbgcolor,
|
|
4400
|
+
width: sectionproperties.signup_btn_width + 'px',
|
|
4401
|
+
height: sectionproperties.signup_btn_height + 'px',
|
|
4402
|
+
borderRadius: sectionproperties.signup_btn_borderBottomLeftRadius + 'px',
|
|
4403
|
+
color: sectionproperties.signup_btn_color,
|
|
4404
|
+
fontSize: sectionproperties.signup_btn_fontSize + 'px',
|
|
4405
|
+
textTransform: sectionproperties.signup_btn_texttransform,
|
|
4406
|
+
fontWeight: sectionproperties.signup_btn_fontweight,
|
|
4407
|
+
boxShadow: sectionproperties.signup_btn_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.signup_btn_shadowcolor : '',
|
|
4408
|
+
border: sectionproperties.signup_btn_borderwidth + 'px solid ' + sectionproperties.signup_btn_bordercolor,
|
|
4409
|
+
opacity: sectionproperties.signup_btn_opacity,
|
|
4410
|
+
transition: '.3s',
|
|
4411
|
+
':hover': {
|
|
4412
|
+
color: sectionproperties.signup_btn_coloronhover,
|
|
4413
|
+
background: sectionproperties.signup_btnbgcoloroonhover,
|
|
4414
|
+
opacity: sectionproperties.signup_btn_opacityonhover
|
|
4415
|
+
}
|
|
4416
|
+
}),
|
|
4417
|
+
form_control: glamor.css({
|
|
4418
|
+
backgroundImage: 'linear-gradient(to top, #eac435 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px)'
|
|
4419
|
+
})
|
|
4420
|
+
};
|
|
4421
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4422
|
+
className: "col-lg-12 d-flex align-items-center justify-content-center pt-3 pb-3 pt-md-3 "
|
|
4423
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4424
|
+
className: 'row m-0 w-100 pl-3 pr-3 d-flex align-items-center justify-content-center pl-md-3 pr-md-3 p-sm-0'
|
|
4425
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4426
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center"
|
|
4427
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4428
|
+
className: "m-0 p-0",
|
|
4429
|
+
style: {
|
|
4430
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
4431
|
+
color: sectionproperties.sectionTitleColor,
|
|
4432
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
4433
|
+
}
|
|
4434
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4435
|
+
className: "row m-0 w-100 mb-2"
|
|
4436
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4437
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-md-2"
|
|
4438
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4439
|
+
className: "m-0 p-0",
|
|
4440
|
+
style: {
|
|
4441
|
+
color: sectionproperties.formRightTextColor1,
|
|
4442
|
+
fontSize: sectionproperties.formRightTextFontSize1 + 'px',
|
|
4443
|
+
fontWeight: sectionproperties.formRightTextFontWeight1
|
|
4444
|
+
}
|
|
4445
|
+
}, langdetect == 'en' ? sectionproperties.formRightText1 : sectionproperties.formRightText1_ar), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4446
|
+
className: "".concat(loginstyles2.loginbtn, " ") + ' ml-2 mr-2 mb-0 p-0 cursor-pointer ',
|
|
4447
|
+
onClick: function onClick() {
|
|
4448
|
+
routingcountext(StaticPagesLinksContext.Login);
|
|
4449
|
+
}
|
|
4450
|
+
}, lang.login))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4451
|
+
className: "col-lg-12 p-sm-0"
|
|
4452
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4453
|
+
className: "".concat(generalstyles.card) + ' p-0 ml-3 mr-3 m-md-0 '
|
|
4454
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4455
|
+
className: " row m-0 w-100 "
|
|
4456
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4457
|
+
className: "col-lg-12 col-md-12 col-sm-12 pt-4 pb-4 d-flex align-items-stretch",
|
|
4458
|
+
style: {
|
|
4459
|
+
background: sectionproperties.formLeftbgColor,
|
|
4460
|
+
borderTopRightRadius: sectionproperties.formLeft_bordertoprightradius + 'px',
|
|
4461
|
+
borderTopLeftRadius: sectionproperties.formLeft_bordertopleftradius + 'px',
|
|
4462
|
+
borderBottomRightRadius: sectionproperties.formLeft_borderbottomrightadius + 'px',
|
|
4463
|
+
borderBottomLeftRadius: sectionproperties.formLeft_borderbottomleftadius + 'px'
|
|
4464
|
+
}
|
|
4465
|
+
}, !SocialLoginMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(CustomerInformationForm, {
|
|
4466
|
+
formtype: "add",
|
|
4467
|
+
sectionpropertiesprops: sectionproperties,
|
|
4468
|
+
srcfromprops: 'signup',
|
|
4469
|
+
actions: actions
|
|
4470
|
+
}), SocialLoginMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4471
|
+
className: "w-100 d-flex m-auto mx-auto justify-content-center align-items-center"
|
|
4472
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4473
|
+
color: "black",
|
|
4474
|
+
width: "40px",
|
|
4475
|
+
height: "40px",
|
|
4476
|
+
duration: "1s"
|
|
4477
|
+
}))))))));
|
|
4478
|
+
};
|
|
4479
|
+
|
|
4480
|
+
function ownKeys$12(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; }
|
|
4481
|
+
|
|
4482
|
+
function _objectSpread$12(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$12(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$12(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4483
|
+
|
|
4484
|
+
var AccountInformation = function AccountInformation(props) {
|
|
4485
|
+
var _bgimagesarray$, _bgimagesarray$2;
|
|
4486
|
+
|
|
4487
|
+
var lang = props.actions.lang;
|
|
4488
|
+
var langdetect = props.actions.langdetect;
|
|
4489
|
+
var templatepropcontext = props.actions.templatepropcontext;
|
|
4490
|
+
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
4491
|
+
var navigationstyle = props.actions.navigationstyle;
|
|
4492
|
+
var actions = props.actions;
|
|
4493
|
+
React.useEffect(function () {
|
|
4494
|
+
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
4495
|
+
var _StatePagePropertiesC, _StatePagePropertiesC2;
|
|
4496
|
+
|
|
4497
|
+
var secpropobj = {};
|
|
4498
|
+
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) {
|
|
4499
|
+
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4500
|
+
});
|
|
4501
|
+
setsectionproperties(_objectSpread$12({}, secpropobj));
|
|
4502
|
+
}
|
|
4503
|
+
}, [StatePagePropertiesContext]);
|
|
4504
|
+
|
|
4505
|
+
var _useState = React.useState(''),
|
|
4506
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
4507
|
+
CurrentPageId = _useState2[0],
|
|
4508
|
+
setCurrentPageId = _useState2[1];
|
|
4509
|
+
|
|
4510
|
+
var _useState3 = React.useState(''),
|
|
4511
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
4512
|
+
sectionproperties = _useState4[0],
|
|
4513
|
+
setsectionproperties = _useState4[1];
|
|
4514
|
+
|
|
4515
|
+
React.useEffect(function () {
|
|
4516
|
+
var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
|
|
4517
|
+
return x.staticpageid == '6218bccb83d53';
|
|
4518
|
+
});
|
|
4519
|
+
|
|
4520
|
+
if (cartindex >= 0) {
|
|
4521
|
+
setCurrentPageId(cartindex);
|
|
4522
|
+
}
|
|
4523
|
+
}, []);
|
|
4524
|
+
React.useEffect(function () {
|
|
4525
|
+
var _templatepropcontext$, _templatepropcontext$2;
|
|
4526
|
+
|
|
4527
|
+
var secpropobj = {};
|
|
4528
|
+
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) {
|
|
4529
|
+
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4530
|
+
});
|
|
4531
|
+
setsectionproperties(_objectSpread$12({}, secpropobj));
|
|
4532
|
+
}, [CurrentPageId]);
|
|
4533
|
+
var accountinfo_cssstyles = {
|
|
4534
|
+
sectiontitlespan: glamor.css({
|
|
4535
|
+
':after': {
|
|
4536
|
+
width: sectionproperties.sectitle_lineafterwidth + '%',
|
|
4537
|
+
backgroundColor: sectionproperties.linebgcolor
|
|
4538
|
+
}
|
|
4539
|
+
}),
|
|
4540
|
+
sectiontitlespan2: glamor.css({
|
|
4541
|
+
':after': {
|
|
4542
|
+
width: sectionproperties.sectitle_lineafterwidth + 'px',
|
|
4543
|
+
height: '100%',
|
|
4544
|
+
backgroundColor: sectionproperties.linebgcolor
|
|
4545
|
+
}
|
|
4546
|
+
})
|
|
4547
|
+
};
|
|
4548
|
+
|
|
4549
|
+
var _useState5 = React.useState([]),
|
|
4550
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
4551
|
+
bgimagesarray = _useState6[0],
|
|
4552
|
+
setbgimagesarray = _useState6[1];
|
|
4553
|
+
|
|
4554
|
+
React.useEffect(function () {
|
|
4555
|
+
if (sectionproperties.length != 0) {
|
|
4556
|
+
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
4557
|
+
var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
|
|
4558
|
+
|
|
4559
|
+
if (Array.isArray(arrayofobjectimagesonlyparsed)) {
|
|
4560
|
+
setbgimagesarray(_toConsumableArray__default["default"](arrayofobjectimagesonlyparsed));
|
|
4561
|
+
}
|
|
4562
|
+
}
|
|
4563
|
+
}
|
|
4564
|
+
}, [sectionproperties]);
|
|
4565
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4566
|
+
className: 'row ml-0 mr-0 w-100'
|
|
4567
|
+
}, sectionproperties.showbgimage == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4568
|
+
className: "col-lg-12 p-0 d-flex justify-content-center"
|
|
4569
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4570
|
+
style: {
|
|
4571
|
+
width: sectionproperties.image_width + 'vw',
|
|
4572
|
+
height: sectionproperties.image_height + 'vh',
|
|
4573
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
4574
|
+
position: 'relative'
|
|
4575
|
+
}
|
|
4576
|
+
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
4577
|
+
urlEndpoint: IKurlEndpoint,
|
|
4578
|
+
publicKey: IKpublicKey,
|
|
4579
|
+
path: bgimagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-3500,h-650/' + ((_bgimagesarray$ = bgimagesarray[0]) === null || _bgimagesarray$ === void 0 ? void 0 : _bgimagesarray$.bgsection_image) : '/tr:w-3500,h-650/' + ((_bgimagesarray$2 = bgimagesarray[0]) === null || _bgimagesarray$2 === void 0 ? void 0 : _bgimagesarray$2.bgsection_image_ar) : '',
|
|
4580
|
+
style: {
|
|
4581
|
+
height: '100%',
|
|
4582
|
+
width: '100%',
|
|
4583
|
+
// objectFit: 'cover',
|
|
4584
|
+
margin: 0,
|
|
4585
|
+
padding: 0,
|
|
4586
|
+
background: sectionproperties.image_bgcolor,
|
|
4587
|
+
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
4588
|
+
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
4589
|
+
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
4590
|
+
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px' // zIndex: -1,
|
|
4591
|
+
// transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)',
|
|
4592
|
+
|
|
4593
|
+
}
|
|
4594
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4595
|
+
className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
|
|
4596
|
+
style: {
|
|
4597
|
+
position: 'absolute',
|
|
4598
|
+
top: 0,
|
|
4599
|
+
right: 0,
|
|
4600
|
+
bottom: 0,
|
|
4601
|
+
left: 0
|
|
4602
|
+
}
|
|
4603
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4604
|
+
className: ' m-0 p-0 ',
|
|
4605
|
+
style: {
|
|
4606
|
+
fontSize: sectionproperties.imagetextfontsize + 'px',
|
|
4607
|
+
color: sectionproperties.imagetextcolor,
|
|
4608
|
+
textTransform: sectionproperties.imagetexttextTransform,
|
|
4609
|
+
fontWeight: sectionproperties.imagetextfontWeight
|
|
4610
|
+
}
|
|
4611
|
+
}, lang.accountinformation)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4612
|
+
className: "col-lg-12 p-0"
|
|
4613
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4614
|
+
className: "row m-0 w-100 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
4615
|
+
style: {
|
|
4616
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
4617
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
4618
|
+
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
4619
|
+
paddingRight: sectionproperties.paddingRight + 'px',
|
|
4620
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
4621
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
4622
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
4623
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
4624
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
4625
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
4626
|
+
borderColor: sectionproperties.sectioncardbordercolor,
|
|
4627
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
4628
|
+
}
|
|
4629
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4630
|
+
className: navigationstyle == 'Side Navigation' ? langdetect == 'en' ? 'col-lg-3 pl-0 mb-md-3 p-md-0' : 'col-lg-3 pr-0 mb-md-3 p-md-0' : 'col-lg-12 p-0'
|
|
4631
|
+
}, /*#__PURE__*/React__default["default"].createElement(Staticpagesrouter, {
|
|
4632
|
+
currentpageprops: 'accountinfo',
|
|
4633
|
+
actions: actions
|
|
4634
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4635
|
+
className: navigationstyle == 'Side Navigation' ? 'col-lg-9 p-0' : 'col-lg-12 p-0'
|
|
4636
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4637
|
+
className: "row m-0 w-100"
|
|
4638
|
+
}, navigationstyle == 'Side Navigation' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4639
|
+
className: "row m-0 w-100"
|
|
4640
|
+
}, sectionproperties.sectiontitlestyle == 'Line Under Text' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4641
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0"
|
|
4642
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4643
|
+
className: "".concat(generalstyles.sectiontitlecont) + ' d-flex align-items-center '
|
|
4644
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4645
|
+
className: ' col-lg-12 d-flex align-items-center p-0 ',
|
|
4646
|
+
style: {
|
|
4647
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
4648
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
4649
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
4650
|
+
marginLeft: sectionproperties.sectionTitleMarginLeft + 'px',
|
|
4651
|
+
marginRight: sectionproperties.sectionTitleMarginRight + 'px'
|
|
4652
|
+
}
|
|
4653
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4654
|
+
className: "".concat(accountinfo_cssstyles.sectiontitlespan),
|
|
4655
|
+
style: {
|
|
4656
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
4657
|
+
color: sectionproperties.sectionTitleColor,
|
|
4658
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
4659
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
4660
|
+
}
|
|
4661
|
+
}, langdetect == 'en' ? 'Account Information' : 'البيانات الخاصة')))), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4662
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0",
|
|
4663
|
+
style: {
|
|
4664
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
|
|
4665
|
+
}
|
|
4666
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4667
|
+
className: "".concat(generalstyles.sectiontitlecont2),
|
|
4668
|
+
style: {
|
|
4669
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
4670
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
4671
|
+
marginLeft: sectionproperties.sectionTitleMarginLeft + 'px',
|
|
4672
|
+
marginRight: sectionproperties.sectionTitleMarginRight + 'px'
|
|
4673
|
+
}
|
|
4674
|
+
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4675
|
+
className: "".concat(accountinfo_cssstyles.sectiontitlespan2) + ' pl-3 ',
|
|
4676
|
+
style: {
|
|
4677
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
4678
|
+
color: sectionproperties.sectionTitleColor,
|
|
4679
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
4680
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
4681
|
+
}
|
|
4682
|
+
}, "Account", /*#__PURE__*/React__default["default"].createElement("br", null), " Information:"), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4683
|
+
className: "".concat(accountinfo_cssstyles.sectiontitlespan2) + ' pl-3 ',
|
|
4684
|
+
style: {
|
|
4685
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
4686
|
+
color: sectionproperties.sectionTitleColor,
|
|
4687
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
4688
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
4689
|
+
}
|
|
4690
|
+
}, "\u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u0634\u062E\u0635\u064A\u0629:")))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4691
|
+
className: 'col-lg-12 p-0'
|
|
4692
|
+
}, /*#__PURE__*/React__default["default"].createElement(CustomerInformationForm, {
|
|
4693
|
+
formtype: "edit",
|
|
4694
|
+
srcfromprops: "accountinfo",
|
|
4695
|
+
sectionpropertiesprops: sectionproperties,
|
|
4696
|
+
actions: actions
|
|
4697
|
+
})))))), StatePagePropertiesContext.pageobj.sections.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4698
|
+
className: "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
4699
|
+
}));
|
|
4700
|
+
};
|
|
4701
|
+
|
|
3623
4702
|
var css_248z$s = ".tabs-module_tabs__36dMY {\n position: relative;\n height: auto;\n display: flex;\n width: 100% !important;\n flex-direction: column;\n word-wrap: break-word;\n}\n.tabs-module_tabs__36dMY input[name='tab-control'] {\n display: none;\n}\n.tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy {\n list-style-type: none;\n padding-left: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n /* width: 30%; */\n height: 100%;\n}\n.tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 {\n box-sizing: border-box;\n flex: 1;\n display: inline-block;\n width: 100% !important;\n text-align: left;\n /* border-right: 1px solid #ccc; */\n}\n.tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 label {\n font-size: 16px;\n font-weight: 500;\n transition: all 0.3s ease-in-out;\n padding: 10px;\n overflow: hidden;\n text-overflow: ellipsis;\n display: block;\n cursor: pointer;\n transition: all 0.2s ease-in-out;\n white-space: nowrap;\n /* color: var(--light2); */\n}\n.tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 label:hover {\n outline: 0;\n /* border-right: 5px solid var(--secondary); */\n}\n.tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 label.tabs-module_active__6wLfI {\n /* border-right: 5px solid var(--secondary); */\n}\n.tabs-module_tabs__36dMY input[name='tab-control']:nth-of-type(1):checked ~ ul li:nth-child(1) label {\n cursor: default;\n background: white;\n /* border-top: 3px solid var(--secondary); */\n}\n.tabs-module_tabs__36dMY input[name='tab-control']:nth-of-type(2):checked ~ ul li:nth-child(2) label {\n cursor: default;\n background: white;\n /* border-top: 3px solid var(--secondary); */\n}\n.tabs-module_tabs__36dMY input[name='tab-control']:nth-of-type(3):checked ~ ul li:nth-child(3) label {\n cursor: default;\n background: white;\n /* border-top: 3px solid var(--secondary); */\n}\n.tabs-module_tabs__36dMY input[name='tab-control']:nth-of-type(4):checked ~ ul li:nth-child(4) label {\n cursor: default;\n background: white;\n /* border-top: 3px solid var(--secondary); */\n}\n@media screen and (max-width: 800px) {\n .tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy {\n width: 100%;\n display: block;\n white-space: nowrap;\n position: relative;\n overflow-x: scroll;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n }\n .tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 {\n width: 50% !important;\n float: none;\n display: inline-block;\n zoom: 1;\n border-right: 0 !important;\n }\n label:hover {\n border-right: 0 !important;\n border-top: 3px solid !important;\n }\n}\n@media (max-width: 576px) {\n .tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 {\n width: 100% !important;\n }\n}\n\n.tabs-module_policiestabs__nopXD .tabs-module_tabsul__wNZqy {\n flex-direction: row !important;\n}\n.tabs-module_policiestabs__nopXD .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 {\n /* border-top: 5px solid #fff; */\n margin: 0 5px;\n}\n.tabs-module_policiestabs__nopXD .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 label {\n padding: 0 !important;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n";
|
|
3624
4703
|
var tabstyles = {"tabs":"tabs-module_tabs__36dMY","tabsul":"tabs-module_tabsul__wNZqy","tabsli":"tabs-module_tabsli__-uR10","active":"tabs-module_active__6wLfI","policiestabs":"tabs-module_policiestabs__nopXD"};
|
|
3625
4704
|
styleInject(css_248z$s);
|
|
@@ -25400,12 +26479,12 @@ var returnLibrary = function returnLibrary() {
|
|
|
25400
26479
|
LanguageProvider: LanguageProvider,
|
|
25401
26480
|
AwesomeButton: AwesomeButton,
|
|
25402
26481
|
Checkout: Checkout,
|
|
25403
|
-
|
|
26482
|
+
Signup: Signup,
|
|
25404
26483
|
// Productinfo: Productinfo,
|
|
25405
26484
|
Ordershistory: Ordershistory,
|
|
25406
26485
|
Wishlist: Wishlist,
|
|
25407
26486
|
Login: Login,
|
|
25408
|
-
|
|
26487
|
+
AccountInformation: AccountInformation,
|
|
25409
26488
|
Policies: Policies,
|
|
25410
26489
|
CartSlider: CartSlider,
|
|
25411
26490
|
Header8: Header8,
|