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.umd.js
CHANGED
|
@@ -360,9 +360,9 @@
|
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
362
|
|
|
363
|
-
var css_248z$
|
|
364
|
-
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"};
|
|
365
|
-
styleInject(css_248z$
|
|
363
|
+
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";
|
|
364
|
+
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"};
|
|
365
|
+
styleInject(css_248z$y);
|
|
366
366
|
|
|
367
367
|
var GoogleLoginButton = function GoogleLoginButton(props) {
|
|
368
368
|
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
|
|
@@ -392,9 +392,9 @@
|
|
|
392
392
|
})))));
|
|
393
393
|
};
|
|
394
394
|
|
|
395
|
-
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";
|
|
395
|
+
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";
|
|
396
396
|
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"};
|
|
397
|
-
styleInject(css_248z$
|
|
397
|
+
styleInject(css_248z$x);
|
|
398
398
|
|
|
399
399
|
var FacebookLoginButton = function FacebookLoginButton(props) {
|
|
400
400
|
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
|
|
@@ -408,7 +408,7 @@
|
|
|
408
408
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
409
409
|
className: ""
|
|
410
410
|
}, ((_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"], {
|
|
411
|
-
cssClass: "".concat(generalstyles.btn, " ").concat(generalstyles.btn_primary, " ").concat(loginstyles.loginbtn) + ' w-100 mb-3 d-flex align-items-center justify-content-center ',
|
|
411
|
+
cssClass: "".concat(generalstyles.btn, " ").concat(generalstyles.btn_primary, " ").concat(loginstyles$1.loginbtn) + ' w-100 mb-3 d-flex align-items-center justify-content-center ',
|
|
412
412
|
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,
|
|
413
413
|
fields: "name,email",
|
|
414
414
|
callback: function callback(responseFacebook) {
|
|
@@ -444,9 +444,9 @@
|
|
|
444
444
|
}));
|
|
445
445
|
};
|
|
446
446
|
|
|
447
|
-
function ownKeys$
|
|
447
|
+
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; }
|
|
448
448
|
|
|
449
|
-
function _objectSpread$
|
|
449
|
+
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; }
|
|
450
450
|
|
|
451
451
|
var Login = function Login(props) {
|
|
452
452
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -492,7 +492,7 @@
|
|
|
492
492
|
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) {
|
|
493
493
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
494
494
|
});
|
|
495
|
-
setsectionproperties(_objectSpread$
|
|
495
|
+
setsectionproperties(_objectSpread$1a({}, secpropobj));
|
|
496
496
|
}
|
|
497
497
|
}, [StatePagePropertiesContext]);
|
|
498
498
|
|
|
@@ -587,7 +587,7 @@
|
|
|
587
587
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
588
588
|
className: " row m-0 w-100 "
|
|
589
589
|
}, /*#__PURE__*/React__default["default"].createElement("form", {
|
|
590
|
-
className: "".concat(loginstyles.leftcontainer) + ' col-lg-6 col-md-12 col-sm-12 pt-4 pb-4 d-flex align-items-stretch p-0 ',
|
|
590
|
+
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 ',
|
|
591
591
|
style: {
|
|
592
592
|
background: sectionproperties.formLeftbgColor,
|
|
593
593
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.formLeft_bordertoprightradius + 'px' : sectionproperties.formLeft_bordertopleftradius + 'px',
|
|
@@ -603,16 +603,16 @@
|
|
|
603
603
|
className: "".concat(loginstyles2.logininputLabel) + ' m-0 text-transform-none d-flex justify-content-start '
|
|
604
604
|
}, langdetect == 'en' ? 'E-mail' : 'البريد الإلكترونى'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
605
605
|
type: "text",
|
|
606
|
-
className: "".concat(loginstyles.form_control, " ").concat(loginstyles2.form_control),
|
|
606
|
+
className: "".concat(loginstyles$1.form_control, " ").concat(loginstyles2.form_control),
|
|
607
607
|
value: payloadobj.email,
|
|
608
608
|
onChange: function onChange(event) {
|
|
609
|
-
var temppayloadobj = _objectSpread$
|
|
609
|
+
var temppayloadobj = _objectSpread$1a({}, payloadobj);
|
|
610
610
|
|
|
611
611
|
temppayloadobj.email = event.target.value;
|
|
612
|
-
setpayloadobj(_objectSpread$
|
|
612
|
+
setpayloadobj(_objectSpread$1a({}, temppayloadobj));
|
|
613
613
|
}
|
|
614
614
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
615
|
-
className: langdetect == 'en' ? loginstyles.login_input_icon : loginstyles.login_input_icontrans
|
|
615
|
+
className: langdetect == 'en' ? loginstyles$1.login_input_icon : loginstyles$1.login_input_icontrans
|
|
616
616
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
617
617
|
className: "h-100 d-flex align-items-center justify-content-center"
|
|
618
618
|
}, /*#__PURE__*/React__default["default"].createElement(ai.AiOutlineUser, {
|
|
@@ -622,18 +622,18 @@
|
|
|
622
622
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
623
623
|
className: "".concat(loginstyles2.logininputLabel) + ' m-0 d-flex justify-content-start '
|
|
624
624
|
}, langdetect == 'en' ? 'Password' : 'كلمة السر'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
625
|
-
className: "".concat(loginstyles.form_control, " ").concat(loginstyles2.form_control),
|
|
625
|
+
className: "".concat(loginstyles$1.form_control, " ").concat(loginstyles2.form_control),
|
|
626
626
|
type: "password",
|
|
627
627
|
textplaceholder: "",
|
|
628
628
|
value: payloadobj.password,
|
|
629
629
|
onChange: function onChange(event) {
|
|
630
|
-
var temppayloadobj = _objectSpread$
|
|
630
|
+
var temppayloadobj = _objectSpread$1a({}, payloadobj);
|
|
631
631
|
|
|
632
632
|
temppayloadobj.password = event.target.value;
|
|
633
|
-
setpayloadobj(_objectSpread$
|
|
633
|
+
setpayloadobj(_objectSpread$1a({}, temppayloadobj));
|
|
634
634
|
}
|
|
635
635
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
636
|
-
className: langdetect == 'en' ? loginstyles.login_input_icon : loginstyles.login_input_icontrans
|
|
636
|
+
className: langdetect == 'en' ? loginstyles$1.login_input_icon : loginstyles$1.login_input_icontrans
|
|
637
637
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
638
638
|
className: " fa fa-at h-100 d-flex align-items-center justify-content-center"
|
|
639
639
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -683,7 +683,7 @@
|
|
|
683
683
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
684
684
|
className: ' col-lg-6 col-md-12 col-sm-12 d-flex align-items-stretch p-0 '
|
|
685
685
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
686
|
-
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 ',
|
|
686
|
+
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 ',
|
|
687
687
|
style: {
|
|
688
688
|
background: sectionproperties.formRightbgColor,
|
|
689
689
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.formRight_bordertoprightradius + 'px' : sectionproperties.formRight_bordertopleftradius + 'px',
|
|
@@ -696,7 +696,7 @@
|
|
|
696
696
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
697
697
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-md-2"
|
|
698
698
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
699
|
-
className: " ".concat(loginstyles.rightContainerText),
|
|
699
|
+
className: " ".concat(loginstyles$1.rightContainerText),
|
|
700
700
|
style: {
|
|
701
701
|
color: sectionproperties.formRightTextColor1,
|
|
702
702
|
fontSize: sectionproperties.formRightTextFontSize1 + 'px',
|
|
@@ -706,7 +706,7 @@
|
|
|
706
706
|
}, langdetect == 'en' ? sectionproperties.formRightText1 : sectionproperties.formRightText1_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
707
707
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-md-2"
|
|
708
708
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
709
|
-
className: " ".concat(loginstyles.rightContainerText),
|
|
709
|
+
className: " ".concat(loginstyles$1.rightContainerText),
|
|
710
710
|
style: {
|
|
711
711
|
color: sectionproperties.formRightTextColor2,
|
|
712
712
|
fontSize: sectionproperties.formRightTextFontSize2 + 'px',
|
|
@@ -749,13 +749,13 @@
|
|
|
749
749
|
var IKpublicKey = 'public_ro8Tmo5Nlgw12YIFkn9MNUQLvQE=';
|
|
750
750
|
var serverbaselink = 'https://tabex-co.com';
|
|
751
751
|
|
|
752
|
-
var css_248z$
|
|
752
|
+
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}";
|
|
753
753
|
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"};
|
|
754
|
-
styleInject(css_248z$
|
|
754
|
+
styleInject(css_248z$w);
|
|
755
755
|
|
|
756
|
-
function ownKeys$
|
|
756
|
+
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; }
|
|
757
757
|
|
|
758
|
-
function _objectSpread$
|
|
758
|
+
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; }
|
|
759
759
|
// import { useMutation, useQuery, useQueryClient } from 'react-query';
|
|
760
760
|
// import { useHistory, Link } from 'react-router-dom';
|
|
761
761
|
// import { LanguageContext } from '../../../../../../../Contexts/LanguageContext';
|
|
@@ -863,7 +863,7 @@
|
|
|
863
863
|
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) {
|
|
864
864
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
865
865
|
});
|
|
866
|
-
setsectionproperties(_objectSpread$
|
|
866
|
+
setsectionproperties(_objectSpread$19({}, secpropobj));
|
|
867
867
|
setnavigationstyle('Upper Navigation'); // }
|
|
868
868
|
// }
|
|
869
869
|
}, [CurrentPageId]);
|
|
@@ -1019,9 +1019,9 @@
|
|
|
1019
1019
|
}))))));
|
|
1020
1020
|
};
|
|
1021
1021
|
|
|
1022
|
-
function ownKeys$
|
|
1022
|
+
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; }
|
|
1023
1023
|
|
|
1024
|
-
function _objectSpread$
|
|
1024
|
+
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; }
|
|
1025
1025
|
|
|
1026
1026
|
var Ordershistory = function Ordershistory(props) {
|
|
1027
1027
|
var _bgimagesarray$, _bgimagesarray$2;
|
|
@@ -1066,10 +1066,10 @@
|
|
|
1066
1066
|
|
|
1067
1067
|
React.useEffect(function () {
|
|
1068
1068
|
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin) == true) {
|
|
1069
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
1069
|
+
var tempFetchQueriesEngineContext = _objectSpread$18({}, FetchQueriesEngineContext);
|
|
1070
1070
|
|
|
1071
1071
|
tempFetchQueriesEngineContext.orderhistory = true;
|
|
1072
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
1072
|
+
setFetchQueriesEngineContext(_objectSpread$18({}, tempFetchQueriesEngineContext));
|
|
1073
1073
|
} else {
|
|
1074
1074
|
routingcountext('');
|
|
1075
1075
|
}
|
|
@@ -1095,7 +1095,7 @@
|
|
|
1095
1095
|
StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
1096
1096
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
1097
1097
|
});
|
|
1098
|
-
setsectionproperties(_objectSpread$
|
|
1098
|
+
setsectionproperties(_objectSpread$18({}, secpropobj));
|
|
1099
1099
|
}
|
|
1100
1100
|
}, [StatePagePropertiesContext]);
|
|
1101
1101
|
var orderhistory_cssstyles = {
|
|
@@ -1875,13 +1875,13 @@
|
|
|
1875
1875
|
}, lang.cod))))))))))));
|
|
1876
1876
|
};
|
|
1877
1877
|
|
|
1878
|
-
var css_248z$
|
|
1878
|
+
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";
|
|
1879
1879
|
var wishliststyles = {"wishlist_card":"wishlist-module_wishlist_card__sUXul","image_container":"wishlist-module_image_container__FuptA","floatbtn":"wishlist-module_floatbtn__PZDvQ"};
|
|
1880
|
-
styleInject(css_248z$
|
|
1880
|
+
styleInject(css_248z$v);
|
|
1881
1881
|
|
|
1882
|
-
function ownKeys$
|
|
1882
|
+
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; }
|
|
1883
1883
|
|
|
1884
|
-
function _objectSpread$
|
|
1884
|
+
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; }
|
|
1885
1885
|
|
|
1886
1886
|
var Wishlist = function Wishlist(props) {
|
|
1887
1887
|
var _bgimagesarray$, _bgimagesarray$2;
|
|
@@ -1918,7 +1918,7 @@
|
|
|
1918
1918
|
StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
1919
1919
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
1920
1920
|
});
|
|
1921
|
-
setsectionproperties(_objectSpread$
|
|
1921
|
+
setsectionproperties(_objectSpread$17({}, secpropobj));
|
|
1922
1922
|
}
|
|
1923
1923
|
}, [StatePagePropertiesContext]);
|
|
1924
1924
|
|
|
@@ -1928,10 +1928,10 @@
|
|
|
1928
1928
|
_useState2[1];
|
|
1929
1929
|
|
|
1930
1930
|
React.useEffect(function () {
|
|
1931
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
1931
|
+
var tempFetchQueriesEngineContext = _objectSpread$17({}, FetchQueriesEngineContext);
|
|
1932
1932
|
|
|
1933
1933
|
tempFetchQueriesEngineContext.fetchfavoriteproducts = true;
|
|
1934
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
1934
|
+
setFetchQueriesEngineContext(_objectSpread$17({}, tempFetchQueriesEngineContext));
|
|
1935
1935
|
}, []);
|
|
1936
1936
|
|
|
1937
1937
|
var _useState3 = React.useState(''),
|
|
@@ -1963,7 +1963,7 @@
|
|
|
1963
1963
|
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) {
|
|
1964
1964
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
1965
1965
|
});
|
|
1966
|
-
setsectionproperties(_objectSpread$
|
|
1966
|
+
setsectionproperties(_objectSpread$17({}, secpropobj));
|
|
1967
1967
|
}
|
|
1968
1968
|
}, [StatePagePropertiesContext]);
|
|
1969
1969
|
var wishlist_cssstyles = {
|
|
@@ -2398,16 +2398,16 @@
|
|
|
2398
2398
|
})));
|
|
2399
2399
|
};
|
|
2400
2400
|
|
|
2401
|
-
var css_248z$
|
|
2401
|
+
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";
|
|
2402
2402
|
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-"};
|
|
2403
|
-
styleInject(css_248z$
|
|
2403
|
+
styleInject(css_248z$u);
|
|
2404
2404
|
|
|
2405
|
-
function ownKeys$
|
|
2405
|
+
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; }
|
|
2406
2406
|
|
|
2407
|
-
function _objectSpread$
|
|
2407
|
+
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; }
|
|
2408
2408
|
var defaultstyles = {
|
|
2409
2409
|
option: function option(provided, state) {
|
|
2410
|
-
return _objectSpread$
|
|
2410
|
+
return _objectSpread$16(_objectSpread$16({}, provided), {}, {
|
|
2411
2411
|
borderBottom: '1px solid #e6e6e6',
|
|
2412
2412
|
backgroundColor: state.isSelected ? '' : '',
|
|
2413
2413
|
padding: 5,
|
|
@@ -2434,7 +2434,7 @@
|
|
|
2434
2434
|
};
|
|
2435
2435
|
},
|
|
2436
2436
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
2437
|
-
return _objectSpread$
|
|
2437
|
+
return _objectSpread$16(_objectSpread$16({}, provided), {}, {
|
|
2438
2438
|
'&:hover': {// color: '#eac435',
|
|
2439
2439
|
}
|
|
2440
2440
|
});
|
|
@@ -2442,7 +2442,7 @@
|
|
|
2442
2442
|
};
|
|
2443
2443
|
var defaultstylestranslated = {
|
|
2444
2444
|
option: function option(provided, state) {
|
|
2445
|
-
return _objectSpread$
|
|
2445
|
+
return _objectSpread$16(_objectSpread$16({}, provided), {}, {
|
|
2446
2446
|
borderBottom: '1px solid #e6e6e6',
|
|
2447
2447
|
backgroundColor: state.isSelected ? '' : '',
|
|
2448
2448
|
padding: 5,
|
|
@@ -2471,30 +2471,23 @@
|
|
|
2471
2471
|
};
|
|
2472
2472
|
},
|
|
2473
2473
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
2474
|
-
return _objectSpread$
|
|
2474
|
+
return _objectSpread$16(_objectSpread$16({}, provided), {}, {
|
|
2475
2475
|
'&:hover': {// color: '#eac435',
|
|
2476
2476
|
}
|
|
2477
2477
|
});
|
|
2478
2478
|
},
|
|
2479
2479
|
placeholder: function placeholder(provided, state) {
|
|
2480
|
-
return _objectSpread$
|
|
2480
|
+
return _objectSpread$16(_objectSpread$16({}, provided), {}, {
|
|
2481
2481
|
textAlign: 'right'
|
|
2482
2482
|
});
|
|
2483
2483
|
}
|
|
2484
2484
|
};
|
|
2485
2485
|
|
|
2486
|
-
function ownKeys$
|
|
2486
|
+
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; }
|
|
2487
2487
|
|
|
2488
|
-
function _objectSpread$
|
|
2489
|
-
var Select =
|
|
2490
|
-
return import('react-select')
|
|
2491
|
-
return mod["default"];
|
|
2492
|
-
});
|
|
2493
|
-
}, {
|
|
2494
|
-
ssr: false,
|
|
2495
|
-
loading: function loading() {
|
|
2496
|
-
return null;
|
|
2497
|
-
}
|
|
2488
|
+
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; }
|
|
2489
|
+
var Select$1 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
2490
|
+
return import('react-select');
|
|
2498
2491
|
});
|
|
2499
2492
|
|
|
2500
2493
|
var Checkout = function Checkout(props) {
|
|
@@ -2556,7 +2549,7 @@
|
|
|
2556
2549
|
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) {
|
|
2557
2550
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
2558
2551
|
});
|
|
2559
|
-
setsectionproperties(_objectSpread$
|
|
2552
|
+
setsectionproperties(_objectSpread$15({}, secpropobj));
|
|
2560
2553
|
}, [CurrentPageId]);
|
|
2561
2554
|
React.useEffect(function () {
|
|
2562
2555
|
if (CurrentSrcTypeContext == 'workplace') {
|
|
@@ -2567,7 +2560,7 @@
|
|
|
2567
2560
|
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) {
|
|
2568
2561
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
2569
2562
|
});
|
|
2570
|
-
setsectionproperties(_objectSpread$
|
|
2563
|
+
setsectionproperties(_objectSpread$15({}, secpropobj));
|
|
2571
2564
|
}
|
|
2572
2565
|
}
|
|
2573
2566
|
}, [StatePagePropertiesContext]);
|
|
@@ -2575,12 +2568,12 @@
|
|
|
2575
2568
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14;
|
|
2576
2569
|
|
|
2577
2570
|
// if (authdetailsContext.loggedin == true) {
|
|
2578
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
2571
|
+
var tempFetchQueriesEngineContext = _objectSpread$15({}, FetchQueriesEngineContext);
|
|
2579
2572
|
|
|
2580
2573
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
2581
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
2574
|
+
setFetchQueriesEngineContext(_objectSpread$15({}, tempFetchQueriesEngineContext));
|
|
2582
2575
|
|
|
2583
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
2576
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$15({}, FetchTabexStatesPayloadobjContext);
|
|
2584
2577
|
|
|
2585
2578
|
if ( // Aya
|
|
2586
2579
|
!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
|
|
@@ -2598,7 +2591,7 @@
|
|
|
2598
2591
|
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;
|
|
2599
2592
|
}
|
|
2600
2593
|
|
|
2601
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
2594
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$15({}, tempFetchTabexStatesPayloadobjContext)); // } else {
|
|
2602
2595
|
// routingcountext('');
|
|
2603
2596
|
// }
|
|
2604
2597
|
}, []);
|
|
@@ -3256,7 +3249,7 @@
|
|
|
3256
3249
|
width: "20px",
|
|
3257
3250
|
height: "20px",
|
|
3258
3251
|
duration: "1s"
|
|
3259
|
-
})), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
3252
|
+
})), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$1, {
|
|
3260
3253
|
options: fetchTabexCountriesQueryContext.data.data.countries,
|
|
3261
3254
|
getOptionLabel: function getOptionLabel(option) {
|
|
3262
3255
|
return option.name;
|
|
@@ -3270,11 +3263,11 @@
|
|
|
3270
3263
|
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);
|
|
3271
3264
|
}),
|
|
3272
3265
|
onChange: function onChange(option) {
|
|
3273
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
3266
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$15({}, FetchTabexStatesPayloadobjContext);
|
|
3274
3267
|
|
|
3275
3268
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
3276
3269
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
3277
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
3270
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$15({}, tempFetchTabexStatesPayloadobjContext));
|
|
3278
3271
|
cartinfoupdater('countryid', option.id);
|
|
3279
3272
|
},
|
|
3280
3273
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -3291,7 +3284,7 @@
|
|
|
3291
3284
|
width: "20px",
|
|
3292
3285
|
height: "20px",
|
|
3293
3286
|
duration: "1s"
|
|
3294
|
-
})), !fetchTabexStatesQueryContext.isFetching && fetchTabexStatesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
3287
|
+
})), !fetchTabexStatesQueryContext.isFetching && fetchTabexStatesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$1, {
|
|
3295
3288
|
options: fetchTabexStatesQueryContext.data.data.states,
|
|
3296
3289
|
getOptionLabel: function getOptionLabel(option) {
|
|
3297
3290
|
return option.name;
|
|
@@ -3308,11 +3301,11 @@
|
|
|
3308
3301
|
var _fetchcustomercartQue79, _fetchcustomercartQue80;
|
|
3309
3302
|
|
|
3310
3303
|
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) {
|
|
3311
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
3304
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$15({}, FetchTabexStatesPayloadobjContext);
|
|
3312
3305
|
|
|
3313
3306
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
3314
3307
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
3315
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
3308
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$15({}, tempFetchTabexStatesPayloadobjContext));
|
|
3316
3309
|
cartinfoupdater('stateid', option.id);
|
|
3317
3310
|
} else {
|
|
3318
3311
|
NotificationManager.warning('', 'Please Choose Country Or State');
|
|
@@ -3332,7 +3325,7 @@
|
|
|
3332
3325
|
width: "20px",
|
|
3333
3326
|
height: "20px",
|
|
3334
3327
|
duration: "1s"
|
|
3335
|
-
})), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
3328
|
+
})), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$1, {
|
|
3336
3329
|
options: fetchTabexCitiesQueryContext.data.data.cities,
|
|
3337
3330
|
getOptionLabel: function getOptionLabel(option) {
|
|
3338
3331
|
return option.name;
|
|
@@ -3563,6 +3556,1092 @@
|
|
|
3563
3556
|
}, Mycart()))));
|
|
3564
3557
|
};
|
|
3565
3558
|
|
|
3559
|
+
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";
|
|
3560
|
+
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-"};
|
|
3561
|
+
styleInject(css_248z$t);
|
|
3562
|
+
|
|
3563
|
+
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; }
|
|
3564
|
+
|
|
3565
|
+
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; }
|
|
3566
|
+
var Select = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
3567
|
+
return import('react-select');
|
|
3568
|
+
});
|
|
3569
|
+
|
|
3570
|
+
var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
3571
|
+
var lang = props.actions.lang;
|
|
3572
|
+
var langdetect = props.actions.langdetect;
|
|
3573
|
+
props.actions.routingcountext;
|
|
3574
|
+
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
3575
|
+
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
3576
|
+
var fetchinstitutecustomerinfosignupQueryContext = props.actions.fetchinstitutecustomerinfosignupQueryContext;
|
|
3577
|
+
var fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
|
|
3578
|
+
var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
|
|
3579
|
+
var fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
|
|
3580
|
+
var FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
|
|
3581
|
+
var setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
|
|
3582
|
+
var CustomerSignUpMutationContext = props.actions.CustomerSignUpMutationContext;
|
|
3583
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
3584
|
+
var instapikey = props.actions.instapikey;
|
|
3585
|
+
var templatepropcontext = props.actions.templatepropcontext;
|
|
3586
|
+
var actions = props.actions;
|
|
3587
|
+
|
|
3588
|
+
var _useState = React.useState(''),
|
|
3589
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
3590
|
+
sectionproperties = _useState2[0],
|
|
3591
|
+
setsectionproperties = _useState2[1];
|
|
3592
|
+
|
|
3593
|
+
var _useState3 = React.useState(false),
|
|
3594
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
3595
|
+
dataloaded = _useState4[0],
|
|
3596
|
+
setdataloaded = _useState4[1];
|
|
3597
|
+
|
|
3598
|
+
var _useState5 = React.useState({
|
|
3599
|
+
instapikey: instapikey(),
|
|
3600
|
+
name: '',
|
|
3601
|
+
email: '',
|
|
3602
|
+
mobile: '',
|
|
3603
|
+
password: '',
|
|
3604
|
+
password2: '',
|
|
3605
|
+
shippingaddress: '',
|
|
3606
|
+
addedsourcetype: 'Webapp',
|
|
3607
|
+
instsignupformvalues: [],
|
|
3608
|
+
countryid: '',
|
|
3609
|
+
stateid: '',
|
|
3610
|
+
cityid: ''
|
|
3611
|
+
}),
|
|
3612
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
3613
|
+
payloadobj = _useState6[0],
|
|
3614
|
+
setpayloadobj = _useState6[1];
|
|
3615
|
+
|
|
3616
|
+
React.useEffect(function () {
|
|
3617
|
+
var tempFetchQueriesEngineContext = _objectSpread$14({}, FetchQueriesEngineContext);
|
|
3618
|
+
|
|
3619
|
+
tempFetchQueriesEngineContext.institutecustomerinfosignup = true;
|
|
3620
|
+
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
3621
|
+
setFetchQueriesEngineContext(_objectSpread$14({}, tempFetchQueriesEngineContext));
|
|
3622
|
+
|
|
3623
|
+
var tempFetchQueriesEngineContext = _objectSpread$14({}, FetchQueriesEngineContext);
|
|
3624
|
+
}, []);
|
|
3625
|
+
React.useEffect(function () {
|
|
3626
|
+
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
3627
|
+
setsectionproperties(_objectSpread$14({}, props.sectionpropertiesprops));
|
|
3628
|
+
}
|
|
3629
|
+
}, [props.sectionpropertiesprops]);
|
|
3630
|
+
React.useEffect(function () {
|
|
3631
|
+
if (fetchinstitutecustomerinfosignupQueryContext.isSuccess) {
|
|
3632
|
+
if (authdetailsContext.loggedin == true) {
|
|
3633
|
+
var tempcustomerinfoobj = _objectSpread$14({}, fetchinstitutecustomerinfosignupQueryContext.data.data.customerinfo);
|
|
3634
|
+
|
|
3635
|
+
setpayloadobj(_objectSpread$14({}, tempcustomerinfoobj));
|
|
3636
|
+
|
|
3637
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$14({}, FetchTabexStatesPayloadobjContext);
|
|
3638
|
+
|
|
3639
|
+
if (tempcustomerinfoobj.countryid != null) {
|
|
3640
|
+
tempFetchTabexStatesPayloadobjContext.country_id = tempcustomerinfoobj.countryid;
|
|
3641
|
+
}
|
|
3642
|
+
|
|
3643
|
+
if (tempcustomerinfoobj.stateid != null) {
|
|
3644
|
+
tempFetchTabexStatesPayloadobjContext.state_id = tempcustomerinfoobj.stateid;
|
|
3645
|
+
}
|
|
3646
|
+
|
|
3647
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$14({}, tempFetchTabexStatesPayloadobjContext));
|
|
3648
|
+
setdataloaded(true);
|
|
3649
|
+
} else {
|
|
3650
|
+
var _fetchinstitutecustom, _fetchinstitutecustom2;
|
|
3651
|
+
|
|
3652
|
+
var tempcustomerinfoobj = _objectSpread$14({}, payloadobj);
|
|
3653
|
+
|
|
3654
|
+
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)) {
|
|
3655
|
+
tempcustomerinfoobj.instsignupformvalues = _toConsumableArray__default["default"](fetchinstitutecustomerinfosignupQueryContext.data.data.instsignupformvalues);
|
|
3656
|
+
}
|
|
3657
|
+
|
|
3658
|
+
setpayloadobj(_objectSpread$14({}, tempcustomerinfoobj));
|
|
3659
|
+
setdataloaded(true);
|
|
3660
|
+
}
|
|
3661
|
+
}
|
|
3662
|
+
}, [fetchinstitutecustomerinfosignupQueryContext.isSuccess, fetchinstitutecustomerinfosignupQueryContext.data, authdetailsContext]);
|
|
3663
|
+
|
|
3664
|
+
var payloadobjchange = function payloadobjchange(key, value) {
|
|
3665
|
+
var temppayloadobj = _objectSpread$14({}, payloadobj);
|
|
3666
|
+
|
|
3667
|
+
temppayloadobj[key] = value;
|
|
3668
|
+
setpayloadobj(_objectSpread$14({}, temppayloadobj));
|
|
3669
|
+
};
|
|
3670
|
+
|
|
3671
|
+
var formstyles = {
|
|
3672
|
+
loginbtn: glamor.css({
|
|
3673
|
+
background: templatepropcontext.primarycolor,
|
|
3674
|
+
color: sectionproperties.generalbtn_textColor,
|
|
3675
|
+
borderRadius: sectionproperties.generalbtn_borderradius + 'px',
|
|
3676
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
3677
|
+
lineHeight: sectionproperties.generalbtn_fontsize + 'px',
|
|
3678
|
+
textTransform: sectionproperties.generalbtn_texttransform,
|
|
3679
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
3680
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
3681
|
+
':hover': {
|
|
3682
|
+
background: templatepropcontext.secondarycolor
|
|
3683
|
+
}
|
|
3684
|
+
}),
|
|
3685
|
+
btnstyles: glamor.css({
|
|
3686
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
3687
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
3688
|
+
textTransform: sectionproperties.generalbtn_texttransform,
|
|
3689
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
3690
|
+
color: sectionproperties.generalbtn_textColor,
|
|
3691
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
3692
|
+
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
3693
|
+
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
3694
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
3695
|
+
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
3696
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
3697
|
+
transition: '.3s',
|
|
3698
|
+
':hover': {
|
|
3699
|
+
background: sectionproperties.generalbtn_bgColoronhover,
|
|
3700
|
+
color: sectionproperties.generalbtn_textColoronhover
|
|
3701
|
+
}
|
|
3702
|
+
}),
|
|
3703
|
+
signupbtn: glamor.css({
|
|
3704
|
+
width: sectionproperties.signup_btn_width + 'px',
|
|
3705
|
+
height: sectionproperties.signup_btn_height + 'px',
|
|
3706
|
+
borderRadius: sectionproperties.signup_btn_borderBottomLeftRadius + 'px',
|
|
3707
|
+
textTransform: sectionproperties.signup_btn_texttransform,
|
|
3708
|
+
fontSize: sectionproperties.signup_btn_fontSize + 'px',
|
|
3709
|
+
color: sectionproperties.signup_btn_color,
|
|
3710
|
+
fontWeight: sectionproperties.signup_btn_fontweight,
|
|
3711
|
+
background: sectionproperties.signup_btnbgcolor_transparent == 'Transparent' ? 'transparent' : sectionproperties.signup_btnbgcolor,
|
|
3712
|
+
border: sectionproperties.signup_btn_borderwidth + 'px solid ' + sectionproperties.signupbtn_bordercolor,
|
|
3713
|
+
transition: '.3s',
|
|
3714
|
+
':hover': {
|
|
3715
|
+
background: sectionproperties.signup_btnbgcoloroonhovertransparent == 'Transparent' ? 'transparent' : sectionproperties.signup_btnbgcoloroonhover,
|
|
3716
|
+
color: sectionproperties.signup_btn_coloronhover
|
|
3717
|
+
}
|
|
3718
|
+
}),
|
|
3719
|
+
input_label_name: glamor.css({
|
|
3720
|
+
color: sectionproperties.form_labelcolor,
|
|
3721
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
3722
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
3723
|
+
fontSize: sectionproperties.form_labelfontsize + 'px'
|
|
3724
|
+
}),
|
|
3725
|
+
form_control: glamor.css({
|
|
3726
|
+
color: sectionproperties.inputfieldcolor,
|
|
3727
|
+
fontSize: sectionproperties.inputfieldfontsize + 'px'
|
|
3728
|
+
}),
|
|
3729
|
+
checkbox: glamor.css({
|
|
3730
|
+
color: sectionproperties.checkbox_color,
|
|
3731
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
3732
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
3733
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
3734
|
+
transition: '.3s',
|
|
3735
|
+
':hover': {
|
|
3736
|
+
color: sectionproperties.checkbox_texthovercolor
|
|
3737
|
+
},
|
|
3738
|
+
'input:checked': {
|
|
3739
|
+
color: sectionproperties.checkbox_checkedcolor
|
|
3740
|
+
}
|
|
3741
|
+
}),
|
|
3742
|
+
checkboxinputstyles: glamor.css({
|
|
3743
|
+
':hover:not(:checked)': {
|
|
3744
|
+
boxShadow: 'inset 0 0 0 2px ' + sectionproperties.checkbox_texthovercolor
|
|
3745
|
+
},
|
|
3746
|
+
':checked': {
|
|
3747
|
+
boxShadow: 'inset 0 0 0 2px ' + sectionproperties.checkbox_checkedcolor
|
|
3748
|
+
}
|
|
3749
|
+
}),
|
|
3750
|
+
svgstyles: glamor.css({
|
|
3751
|
+
stroke: 'var(--stroke, ' + sectionproperties.checkbox_checkedcolor + ')'
|
|
3752
|
+
})
|
|
3753
|
+
};
|
|
3754
|
+
|
|
3755
|
+
var PersonalInformation = function PersonalInformation() {
|
|
3756
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3757
|
+
className: "row m-0 w-100"
|
|
3758
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3759
|
+
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
3760
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3761
|
+
className: "".concat(formstyles.input_label_name) + ' m-0 text-transform-none d-flex align-items-start '
|
|
3762
|
+
}, lang.name), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
3763
|
+
type: "text",
|
|
3764
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
3765
|
+
value: payloadobj.name,
|
|
3766
|
+
onChange: function onChange(event) {
|
|
3767
|
+
payloadobjchange('name', event.target.value);
|
|
3768
|
+
}
|
|
3769
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3770
|
+
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
3771
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3772
|
+
className: "".concat(formstyles.input_label_name) + ' m-0 text-transform-none d-flex align-items-start '
|
|
3773
|
+
}, lang.email), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
3774
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
3775
|
+
type: "text",
|
|
3776
|
+
textplaceholder: "",
|
|
3777
|
+
value: payloadobj.email,
|
|
3778
|
+
onChange: function onChange(event) {
|
|
3779
|
+
payloadobjchange('email', event.target.value);
|
|
3780
|
+
}
|
|
3781
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3782
|
+
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
3783
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3784
|
+
className: formstyles.input_label_name + ' m-0 d-flex justify-content-start '
|
|
3785
|
+
}, lang.phonenumber), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
3786
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
3787
|
+
type: "text",
|
|
3788
|
+
textplaceholder: "",
|
|
3789
|
+
value: payloadobj.mobile,
|
|
3790
|
+
onChange: function onChange(event) {
|
|
3791
|
+
payloadobjchange('mobile', event.target.value);
|
|
3792
|
+
}
|
|
3793
|
+
})));
|
|
3794
|
+
};
|
|
3795
|
+
|
|
3796
|
+
var Address = function Address() {
|
|
3797
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3798
|
+
className: "row m-0 w-100"
|
|
3799
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3800
|
+
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
3801
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3802
|
+
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
3803
|
+
}, lang.country), fetchTabexCountriesQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3804
|
+
className: "col-lg-4 col-md-12 col-sm-12 mb-3 p-sm-0 d-flex justify-content-center align-items-center"
|
|
3805
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
3806
|
+
color: "black",
|
|
3807
|
+
width: "20px",
|
|
3808
|
+
height: "20px",
|
|
3809
|
+
duration: "1s"
|
|
3810
|
+
})), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
3811
|
+
options: fetchTabexCountriesQueryContext.data.data.countries,
|
|
3812
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
3813
|
+
return option.name;
|
|
3814
|
+
},
|
|
3815
|
+
getOptionValue: function getOptionValue(option) {
|
|
3816
|
+
return option.id;
|
|
3817
|
+
},
|
|
3818
|
+
autocomplete: "new-password",
|
|
3819
|
+
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
3820
|
+
return option.id == payloadobj.countryid;
|
|
3821
|
+
}),
|
|
3822
|
+
onChange: function onChange(option) {
|
|
3823
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$14({}, FetchTabexStatesPayloadobjContext);
|
|
3824
|
+
|
|
3825
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
3826
|
+
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
3827
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$14({}, tempFetchTabexStatesPayloadobjContext));
|
|
3828
|
+
payloadobjchange('countryid', option.id);
|
|
3829
|
+
},
|
|
3830
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
3831
|
+
placeholder: langdetect == 'en' ? 'Choose Country' : 'إختر البلد',
|
|
3832
|
+
isSearchable: true
|
|
3833
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3834
|
+
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
3835
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3836
|
+
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
3837
|
+
}, lang.choosestategov), fetchTabexStatesQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3838
|
+
className: "col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0 d-flex justify-content-center align-items-center"
|
|
3839
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
3840
|
+
color: "black",
|
|
3841
|
+
width: "20px",
|
|
3842
|
+
height: "20px",
|
|
3843
|
+
duration: "1s"
|
|
3844
|
+
})), FetchTabexStatesPayloadobjContext.country_id == '' && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
3845
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
3846
|
+
placeholder: lang.choosestategov,
|
|
3847
|
+
isSearchable: true
|
|
3848
|
+
}), !fetchTabexStatesQueryContext.isFetching && fetchTabexStatesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
3849
|
+
options: fetchTabexStatesQueryContext.data.data.states,
|
|
3850
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
3851
|
+
return option.name;
|
|
3852
|
+
},
|
|
3853
|
+
getOptionValue: function getOptionValue(option) {
|
|
3854
|
+
return option.id;
|
|
3855
|
+
},
|
|
3856
|
+
autocomplete: "new-password",
|
|
3857
|
+
value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
|
|
3858
|
+
return option.id == payloadobj.stateid;
|
|
3859
|
+
}),
|
|
3860
|
+
onChange: function onChange(option) {
|
|
3861
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$14({}, FetchTabexStatesPayloadobjContext);
|
|
3862
|
+
|
|
3863
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
3864
|
+
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
3865
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$14({}, tempFetchTabexStatesPayloadobjContext));
|
|
3866
|
+
payloadobjchange('stateid', option.id);
|
|
3867
|
+
},
|
|
3868
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
3869
|
+
placeholder: lang.choosestategov,
|
|
3870
|
+
isSearchable: true
|
|
3871
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3872
|
+
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
3873
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3874
|
+
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
3875
|
+
}, lang.city), fetchTabexCitiesQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3876
|
+
className: "col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0 d-flex justify-content-center align-items-center"
|
|
3877
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
3878
|
+
color: "black",
|
|
3879
|
+
width: "20px",
|
|
3880
|
+
height: "20px",
|
|
3881
|
+
duration: "1s"
|
|
3882
|
+
})), FetchTabexStatesPayloadobjContext.country_id == '' && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
3883
|
+
placeholder: lang.choosecity,
|
|
3884
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
3885
|
+
isSearchable: true
|
|
3886
|
+
}), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
3887
|
+
options: fetchTabexCitiesQueryContext.data.data.cities,
|
|
3888
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
3889
|
+
return option.name;
|
|
3890
|
+
},
|
|
3891
|
+
getOptionValue: function getOptionValue(option) {
|
|
3892
|
+
return option.id;
|
|
3893
|
+
},
|
|
3894
|
+
autocomplete: "new-password",
|
|
3895
|
+
value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
|
|
3896
|
+
return option.id == payloadobj.cityid;
|
|
3897
|
+
}),
|
|
3898
|
+
onChange: function onChange(option) {
|
|
3899
|
+
payloadobjchange('cityid', option.id);
|
|
3900
|
+
},
|
|
3901
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
3902
|
+
placeholder: lang.choosecity,
|
|
3903
|
+
isSearchable: true
|
|
3904
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3905
|
+
className: "col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0"
|
|
3906
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3907
|
+
className: "".concat(formstyles.input_label_name) + ' text-transform-none d-flex align-items-start '
|
|
3908
|
+
}, lang.address), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3909
|
+
className: loginstyles.wrap_input100
|
|
3910
|
+
}, /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
3911
|
+
type: "text",
|
|
3912
|
+
className: "".concat(loginstyles.form_control, " ").concat(loginstyles.form_controltextarea, " ").concat(formstyles.form_control),
|
|
3913
|
+
value: payloadobj.shippingaddress,
|
|
3914
|
+
textplaceholder: "",
|
|
3915
|
+
onChange: function onChange(event) {
|
|
3916
|
+
payloadobjchange('shippingaddress', event.target.value);
|
|
3917
|
+
},
|
|
3918
|
+
style: {
|
|
3919
|
+
resize: 'none'
|
|
3920
|
+
}
|
|
3921
|
+
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3922
|
+
className: loginstyles.login_input_focus
|
|
3923
|
+
}))));
|
|
3924
|
+
};
|
|
3925
|
+
|
|
3926
|
+
var Password = function Password() {
|
|
3927
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3928
|
+
className: "row m-0 w-100"
|
|
3929
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3930
|
+
className: "col-lg-6 col-md-12 col-sm-12 mb-4 p-sm-0"
|
|
3931
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3932
|
+
className: "".concat(formstyles.input_label_name) + ' m-0 text-transform-none d-flex align-items-start '
|
|
3933
|
+
}, lang.password), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
3934
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
3935
|
+
type: "password",
|
|
3936
|
+
autocomplete: "new-password",
|
|
3937
|
+
textplaceholder: "",
|
|
3938
|
+
value: payloadobj.password,
|
|
3939
|
+
onChange: function onChange(event) {
|
|
3940
|
+
payloadobjchange('password', event.target.value);
|
|
3941
|
+
}
|
|
3942
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3943
|
+
className: "col-lg-6 col-md-12 col-sm-12 mb-4 p-sm-0"
|
|
3944
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3945
|
+
className: "".concat(formstyles.input_label_name) + ' m-0 text-transform-none d-flex align-items-start '
|
|
3946
|
+
}, lang.confirmpassword), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
3947
|
+
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
3948
|
+
type: "password",
|
|
3949
|
+
autocomplete: "new-password",
|
|
3950
|
+
textplaceholder: "",
|
|
3951
|
+
value: payloadobj.password2,
|
|
3952
|
+
onChange: function onChange(event) {
|
|
3953
|
+
payloadobjchange('password2', event.target.value);
|
|
3954
|
+
}
|
|
3955
|
+
})));
|
|
3956
|
+
};
|
|
3957
|
+
|
|
3958
|
+
var Otherinformation = function Otherinformation() {
|
|
3959
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3960
|
+
className: "row m-0 w-100"
|
|
3961
|
+
}, payloadobj.instsignupformvalues.length != 0 && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, payloadobj.instsignupformvalues.map(function (item, index) {
|
|
3962
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3963
|
+
className: "col-lg-6 col-md-12 col-sm-12 mb-4 p-sm-0"
|
|
3964
|
+
}, item.inputtype != 'checkbox' && /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3965
|
+
className: formstyles.input_label_name
|
|
3966
|
+
}, langdetect == 'en' ? item.inputname_en : item.inputname_ar, " ", item.optional == 1 ? '' : '*'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3967
|
+
className: loginstyles.wrap_input100
|
|
3968
|
+
}, item.inputtype == 'input' && /*#__PURE__*/React__default["default"].createElement("input", {
|
|
3969
|
+
className: loginstyles.logininput,
|
|
3970
|
+
type: "text",
|
|
3971
|
+
value: item.customersignupvalue,
|
|
3972
|
+
textplaceholder: "",
|
|
3973
|
+
onChange: function onChange(event) {
|
|
3974
|
+
var temppayloadobj = _objectSpread$14({}, payloadobj);
|
|
3975
|
+
|
|
3976
|
+
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
3977
|
+
setpayloadobj(_objectSpread$14({}, temppayloadobj));
|
|
3978
|
+
}
|
|
3979
|
+
}), item.inputtype == 'checkbox' && /*#__PURE__*/React__default["default"].createElement("label", {
|
|
3980
|
+
className: langdetect == 'en' ? "".concat(loginstyles.checkbox, " ").concat(formstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(loginstyles.checkbox, " ").concat(loginstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
3981
|
+
"for": "codcheckbox"
|
|
3982
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
3983
|
+
id: 'codcheckbox',
|
|
3984
|
+
type: "checkbox",
|
|
3985
|
+
className: formstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
3986
|
+
checked: item.customersignupvalue == 1 ? true : false,
|
|
3987
|
+
onChange: function onChange() {
|
|
3988
|
+
var temppayloadobj = _objectSpread$14({}, payloadobj);
|
|
3989
|
+
|
|
3990
|
+
if (temppayloadobj.instsignupformvalues[index].customersignupvalue == 1) {
|
|
3991
|
+
temppayloadobj.instsignupformvalues[index].customersignupvalue = 0;
|
|
3992
|
+
} else {
|
|
3993
|
+
temppayloadobj.instsignupformvalues[index].customersignupvalue = 1;
|
|
3994
|
+
}
|
|
3995
|
+
|
|
3996
|
+
setpayloadobj(_objectSpread$14({}, temppayloadobj));
|
|
3997
|
+
}
|
|
3998
|
+
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
3999
|
+
viewBox: "0 0 21 21",
|
|
4000
|
+
className: formstyles.svgstyles + ' h-100 '
|
|
4001
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
4002
|
+
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"
|
|
4003
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4004
|
+
className: formstyles.input_label_name + ' ml-2 mb-0 cursor-pointer wordbreak mr-2',
|
|
4005
|
+
style: {}
|
|
4006
|
+
}, langdetect == 'en' ? item.inputname_en : item.inputname_ar, " ", item.optional == 1 ? '' : '*')), item.inputtype == 'selectbox' && /*#__PURE__*/React__default["default"].createElement("select", {
|
|
4007
|
+
className: loginstyles.wrap_input100,
|
|
4008
|
+
value: item.customersignupvalue,
|
|
4009
|
+
textplaceholder: "",
|
|
4010
|
+
onChange: function onChange(event) {
|
|
4011
|
+
var temppayloadobj = _objectSpread$14({}, payloadobj);
|
|
4012
|
+
|
|
4013
|
+
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
4014
|
+
setpayloadobj(_objectSpread$14({}, temppayloadobj));
|
|
4015
|
+
}
|
|
4016
|
+
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
4017
|
+
value: '',
|
|
4018
|
+
disabled: true
|
|
4019
|
+
}, langdetect == 'en' ? 'Choose' : 'إختر'), JSON.parse(item.selectboxvalues).map(function (selectboxitem, selectboxindex) {
|
|
4020
|
+
return /*#__PURE__*/React__default["default"].createElement("option", {
|
|
4021
|
+
value: selectboxitem.optionname_en
|
|
4022
|
+
}, selectboxitem.optionname_en);
|
|
4023
|
+
})), item.inputtype == 'textarea' && /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
4024
|
+
type: "text",
|
|
4025
|
+
className: loginstyles.logininput,
|
|
4026
|
+
value: item.customersignupvalue,
|
|
4027
|
+
textplaceholder: "",
|
|
4028
|
+
onChange: function onChange(event) {
|
|
4029
|
+
var temppayloadobj = _objectSpread$14({}, payloadobj);
|
|
4030
|
+
|
|
4031
|
+
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
4032
|
+
setpayloadobj(_objectSpread$14({}, temppayloadobj));
|
|
4033
|
+
}
|
|
4034
|
+
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4035
|
+
className: loginstyles.login_input_focus
|
|
4036
|
+
})));
|
|
4037
|
+
})));
|
|
4038
|
+
};
|
|
4039
|
+
|
|
4040
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4041
|
+
className: "row m-0 w-100 d-flex justify-content-center"
|
|
4042
|
+
}, !dataloaded && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4043
|
+
color: "black",
|
|
4044
|
+
width: "20px",
|
|
4045
|
+
height: "20px",
|
|
4046
|
+
duration: "1s"
|
|
4047
|
+
}), dataloaded && props.srcfromprops == 'signup' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4048
|
+
className: "row ml-0 mr-0",
|
|
4049
|
+
style: {
|
|
4050
|
+
background: 'white'
|
|
4051
|
+
}
|
|
4052
|
+
}, PersonalInformation(), Address(), Password()), dataloaded && props.srcfromprops == 'accountinfo' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4053
|
+
className: "col-lg-12 p-0"
|
|
4054
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4055
|
+
className: "row ml-0 mr-0 w-100"
|
|
4056
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4057
|
+
className: "col-lg-12 mb-3 p-0"
|
|
4058
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4059
|
+
style: {
|
|
4060
|
+
background: sectionproperties.backgroundColor,
|
|
4061
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
4062
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
4063
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
4064
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
4065
|
+
},
|
|
4066
|
+
className: "p-2"
|
|
4067
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4068
|
+
className: "row ml-0 mr-0"
|
|
4069
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4070
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
4071
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4072
|
+
className: "m-0 p-0",
|
|
4073
|
+
style: {
|
|
4074
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
4075
|
+
color: sectionproperties.sectionTitleColor,
|
|
4076
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
4077
|
+
}
|
|
4078
|
+
}, lang.personalinformation)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4079
|
+
className: "col-lg-12 p-0"
|
|
4080
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
4081
|
+
className: "mt-2 mb-3"
|
|
4082
|
+
}))), PersonalInformation())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4083
|
+
className: "col-lg-12 mb-3 p-0"
|
|
4084
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4085
|
+
className: 'p-2',
|
|
4086
|
+
style: {
|
|
4087
|
+
background: sectionproperties.backgroundColor,
|
|
4088
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
4089
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
4090
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
4091
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
4092
|
+
}
|
|
4093
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4094
|
+
className: "row ml-0 mr-0"
|
|
4095
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4096
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
4097
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4098
|
+
className: "m-0 p-0",
|
|
4099
|
+
style: {
|
|
4100
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
4101
|
+
color: sectionproperties.sectionTitleColor,
|
|
4102
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
4103
|
+
}
|
|
4104
|
+
}, lang.address)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4105
|
+
className: "col-lg-12 p-0"
|
|
4106
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
4107
|
+
className: "mt-2 mb-3"
|
|
4108
|
+
}))), Address())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4109
|
+
className: "col-lg-12 mb-3 p-0"
|
|
4110
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4111
|
+
className: 'p-2',
|
|
4112
|
+
style: {
|
|
4113
|
+
background: sectionproperties.backgroundColor,
|
|
4114
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
4115
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
4116
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
4117
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
4118
|
+
}
|
|
4119
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4120
|
+
className: "row ml-0 mr-0"
|
|
4121
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4122
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
4123
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4124
|
+
className: "m-0 p-0",
|
|
4125
|
+
style: {
|
|
4126
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
4127
|
+
color: sectionproperties.sectionTitleColor,
|
|
4128
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
4129
|
+
}
|
|
4130
|
+
}, lang.security)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4131
|
+
className: "col-lg-12 p-0"
|
|
4132
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
4133
|
+
className: "mt-2 mb-3"
|
|
4134
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4135
|
+
className: "row ml-0 mr-0"
|
|
4136
|
+
}, Password()))), payloadobj.instsignupformvalues.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4137
|
+
className: "col-lg-12 mb-3 p-0"
|
|
4138
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4139
|
+
style: {
|
|
4140
|
+
background: sectionproperties.backgroundColor,
|
|
4141
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
4142
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
4143
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
4144
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
4145
|
+
},
|
|
4146
|
+
className: "p-2"
|
|
4147
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4148
|
+
className: "row ml-0 mr-0"
|
|
4149
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4150
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center"
|
|
4151
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4152
|
+
className: "m-0 p-0",
|
|
4153
|
+
style: {
|
|
4154
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
4155
|
+
color: sectionproperties.sectionTitleColor,
|
|
4156
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
4157
|
+
}
|
|
4158
|
+
}, lang.otherinformation)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4159
|
+
className: "col-lg-12 p-0"
|
|
4160
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
4161
|
+
className: "mt-2 mb-3"
|
|
4162
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4163
|
+
className: "row ml-0 mr-0"
|
|
4164
|
+
}, Otherinformation()))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4165
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 mt-3"
|
|
4166
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4167
|
+
className: "".concat(formstyles.signupbtn) + ' d-flex align-items-center justify-content-center ',
|
|
4168
|
+
disabled: CustomerSignUpMutationContext.isLoading ? true : false,
|
|
4169
|
+
onClick: function onClick() {
|
|
4170
|
+
var passwordvalidation = false;
|
|
4171
|
+
|
|
4172
|
+
if (authdetailsContext.loggedin == false) {
|
|
4173
|
+
if (payloadobj.password.length != 0) {
|
|
4174
|
+
if (payloadobj.password == payloadobj.password2) {
|
|
4175
|
+
passwordvalidation = true;
|
|
4176
|
+
}
|
|
4177
|
+
}
|
|
4178
|
+
} else if (authdetailsContext.loggedin == true) {
|
|
4179
|
+
if (payloadobj.password.length != 0) {
|
|
4180
|
+
if (payloadobj.password == payloadobj.password2) {
|
|
4181
|
+
passwordvalidation = true;
|
|
4182
|
+
}
|
|
4183
|
+
} else {
|
|
4184
|
+
passwordvalidation = true;
|
|
4185
|
+
}
|
|
4186
|
+
}
|
|
4187
|
+
|
|
4188
|
+
if (passwordvalidation == false) {
|
|
4189
|
+
NotificationManager.warning('', lang.passwordsdontmatch);
|
|
4190
|
+
}
|
|
4191
|
+
|
|
4192
|
+
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) {
|
|
4193
|
+
var signupformismissing = true;
|
|
4194
|
+
payloadobj.instsignupformvalues.forEach(function (arrayItem) {
|
|
4195
|
+
if (arrayItem.optional == 0) {
|
|
4196
|
+
if (arrayItem.customersignupvalue == undefined || arrayItem.customersignupvalue.length == 0) {
|
|
4197
|
+
signupformismissing = false;
|
|
4198
|
+
}
|
|
4199
|
+
}
|
|
4200
|
+
});
|
|
4201
|
+
|
|
4202
|
+
if (signupformismissing) {
|
|
4203
|
+
var temppayloadobj = _objectSpread$14({}, payloadobj);
|
|
4204
|
+
|
|
4205
|
+
if (authdetailsContext.loggedin == true) {
|
|
4206
|
+
temppayloadobj.functype = 'edit';
|
|
4207
|
+
} else {
|
|
4208
|
+
temppayloadobj.functype = 'add';
|
|
4209
|
+
}
|
|
4210
|
+
|
|
4211
|
+
temppayloadobj.addedsourcetype = 'Webapp';
|
|
4212
|
+
temppayloadobj.instapikey = instapikey();
|
|
4213
|
+
CustomerSignUpMutationContext.mutate(temppayloadobj);
|
|
4214
|
+
} else {
|
|
4215
|
+
NotificationManager.warning('', lang.completerequiredfields);
|
|
4216
|
+
}
|
|
4217
|
+
} else {
|
|
4218
|
+
NotificationManager.warning('', lang.fillthemissingfields);
|
|
4219
|
+
}
|
|
4220
|
+
}
|
|
4221
|
+
}, CustomerSignUpMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4222
|
+
color: "#fff",
|
|
4223
|
+
width: "20px",
|
|
4224
|
+
height: "20px",
|
|
4225
|
+
duration: "1s"
|
|
4226
|
+
}), !CustomerSignUpMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, authdetailsContext.loggedin != true && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4227
|
+
style: {
|
|
4228
|
+
letterSpacing: langdetect == 'en' ? '1px' : ''
|
|
4229
|
+
}
|
|
4230
|
+
}, lang.signup), authdetailsContext.loggedin == true && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4231
|
+
style: {
|
|
4232
|
+
letterSpacing: langdetect == 'en' ? '1px' : ''
|
|
4233
|
+
}
|
|
4234
|
+
}, lang.update)))), props.srcfromprops == 'signup' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4235
|
+
className: "row m-0 w-100"
|
|
4236
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4237
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex d-md-none align-items-center justify-content-center mb-2"
|
|
4238
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4239
|
+
className: "ml-1 mr-1"
|
|
4240
|
+
}, /*#__PURE__*/React__default["default"].createElement(FacebookLoginButton, {
|
|
4241
|
+
actions: actions
|
|
4242
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4243
|
+
className: "ml-1 mr-1"
|
|
4244
|
+
}, /*#__PURE__*/React__default["default"].createElement(GoogleLoginButton, {
|
|
4245
|
+
actions: actions
|
|
4246
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4247
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-none d-md-flex align-items-center justify-content-center mb-2"
|
|
4248
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4249
|
+
className: "ml-1 mr-1"
|
|
4250
|
+
}, /*#__PURE__*/React__default["default"].createElement(FacebookLoginButton, {
|
|
4251
|
+
actions: actions
|
|
4252
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4253
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-none d-md-flex align-items-center justify-content-center mb-2"
|
|
4254
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4255
|
+
className: "ml-1 mr-1"
|
|
4256
|
+
}, /*#__PURE__*/React__default["default"].createElement(GoogleLoginButton, {
|
|
4257
|
+
actions: actions
|
|
4258
|
+
})))));
|
|
4259
|
+
};
|
|
4260
|
+
|
|
4261
|
+
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; }
|
|
4262
|
+
|
|
4263
|
+
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; }
|
|
4264
|
+
|
|
4265
|
+
var Signup = function Signup(props) {
|
|
4266
|
+
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
4267
|
+
var CurrentSrcTypeContext = props.actions.CurrentSrcTypeContext;
|
|
4268
|
+
var routingcountext = props.actions.routingcountext;
|
|
4269
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
4270
|
+
var SocialLoginMutationContext = props.actions.SocialLoginMutationContext;
|
|
4271
|
+
var lang = props.actions.lang;
|
|
4272
|
+
var langdetect = props.actions.langdetect;
|
|
4273
|
+
var templatepropcontext = props.actions.templatepropcontext;
|
|
4274
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
4275
|
+
var actions = props.actions;
|
|
4276
|
+
|
|
4277
|
+
var _useState = React.useState(''),
|
|
4278
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
4279
|
+
CurrentPageId = _useState2[0],
|
|
4280
|
+
setCurrentPageId = _useState2[1];
|
|
4281
|
+
|
|
4282
|
+
var _useState3 = React.useState(''),
|
|
4283
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
4284
|
+
sectionproperties = _useState4[0],
|
|
4285
|
+
setsectionproperties = _useState4[1];
|
|
4286
|
+
|
|
4287
|
+
React.useEffect(function () {
|
|
4288
|
+
if (authdetailsContext.loggedin) {
|
|
4289
|
+
routingcountext('');
|
|
4290
|
+
}
|
|
4291
|
+
}, []);
|
|
4292
|
+
React.useEffect(function () {
|
|
4293
|
+
var cartindex = templatepropcontext === null || templatepropcontext === void 0 ? void 0 : templatepropcontext.pagesnprop.findIndex(function (x) {
|
|
4294
|
+
return x.staticpageid == '6218bccb7f4f7';
|
|
4295
|
+
});
|
|
4296
|
+
|
|
4297
|
+
if (cartindex >= 0) {
|
|
4298
|
+
setCurrentPageId(cartindex);
|
|
4299
|
+
}
|
|
4300
|
+
}, []);
|
|
4301
|
+
React.useEffect(function () {
|
|
4302
|
+
var _templatepropcontext$, _templatepropcontext$2;
|
|
4303
|
+
|
|
4304
|
+
var secpropobj = {};
|
|
4305
|
+
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) {
|
|
4306
|
+
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4307
|
+
});
|
|
4308
|
+
setsectionproperties(_objectSpread$13({}, secpropobj));
|
|
4309
|
+
}, [CurrentPageId]);
|
|
4310
|
+
React.useEffect(function () {
|
|
4311
|
+
if (CurrentSrcTypeContext == 'workplace') {
|
|
4312
|
+
if (StatePagePropertiesContext != null && StatePagePropertiesContext != undefined && StatePagePropertiesContext.length != 0) {
|
|
4313
|
+
var _StatePagePropertiesC, _StatePagePropertiesC2;
|
|
4314
|
+
|
|
4315
|
+
var secpropobj = {};
|
|
4316
|
+
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) {
|
|
4317
|
+
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4318
|
+
});
|
|
4319
|
+
setsectionproperties(_objectSpread$13({}, secpropobj));
|
|
4320
|
+
}
|
|
4321
|
+
}
|
|
4322
|
+
}, [StatePagePropertiesContext]);
|
|
4323
|
+
var loginstyles2 = {
|
|
4324
|
+
loginbtn: glamor.css({
|
|
4325
|
+
color: sectionproperties.login_btn_color,
|
|
4326
|
+
fontSize: sectionproperties.login_btn_fontSize + 'px',
|
|
4327
|
+
textTransform: sectionproperties.login_btn_texttransform,
|
|
4328
|
+
fontWeight: sectionproperties.login_btn_fontweight,
|
|
4329
|
+
textDecoration: 'underline',
|
|
4330
|
+
transition: '.3s',
|
|
4331
|
+
':hover': {
|
|
4332
|
+
color: sectionproperties.login_btn_coloronhover
|
|
4333
|
+
}
|
|
4334
|
+
}),
|
|
4335
|
+
logininputLabel: glamor.css({
|
|
4336
|
+
color: sectionproperties.form_labelcolor,
|
|
4337
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
4338
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
4339
|
+
fontSize: sectionproperties.form_labelfontsize + 'px'
|
|
4340
|
+
}),
|
|
4341
|
+
signupbtn: glamor.css({
|
|
4342
|
+
background: sectionproperties.signup_btnbgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.signup_btnbgcolor,
|
|
4343
|
+
width: sectionproperties.signup_btn_width + 'px',
|
|
4344
|
+
height: sectionproperties.signup_btn_height + 'px',
|
|
4345
|
+
borderRadius: sectionproperties.signup_btn_borderBottomLeftRadius + 'px',
|
|
4346
|
+
color: sectionproperties.signup_btn_color,
|
|
4347
|
+
fontSize: sectionproperties.signup_btn_fontSize + 'px',
|
|
4348
|
+
textTransform: sectionproperties.signup_btn_texttransform,
|
|
4349
|
+
fontWeight: sectionproperties.signup_btn_fontweight,
|
|
4350
|
+
boxShadow: sectionproperties.signup_btn_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.signup_btn_shadowcolor : '',
|
|
4351
|
+
border: sectionproperties.signup_btn_borderwidth + 'px solid ' + sectionproperties.signup_btn_bordercolor,
|
|
4352
|
+
opacity: sectionproperties.signup_btn_opacity,
|
|
4353
|
+
transition: '.3s',
|
|
4354
|
+
':hover': {
|
|
4355
|
+
color: sectionproperties.signup_btn_coloronhover,
|
|
4356
|
+
background: sectionproperties.signup_btnbgcoloroonhover,
|
|
4357
|
+
opacity: sectionproperties.signup_btn_opacityonhover
|
|
4358
|
+
}
|
|
4359
|
+
}),
|
|
4360
|
+
form_control: glamor.css({
|
|
4361
|
+
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)'
|
|
4362
|
+
})
|
|
4363
|
+
};
|
|
4364
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4365
|
+
className: "col-lg-12 d-flex align-items-center justify-content-center pt-3 pb-3 pt-md-3 "
|
|
4366
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4367
|
+
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'
|
|
4368
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4369
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center"
|
|
4370
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4371
|
+
className: "m-0 p-0",
|
|
4372
|
+
style: {
|
|
4373
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
4374
|
+
color: sectionproperties.sectionTitleColor,
|
|
4375
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
4376
|
+
}
|
|
4377
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4378
|
+
className: "row m-0 w-100 mb-2"
|
|
4379
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4380
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-md-2"
|
|
4381
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4382
|
+
className: "m-0 p-0",
|
|
4383
|
+
style: {
|
|
4384
|
+
color: sectionproperties.formRightTextColor1,
|
|
4385
|
+
fontSize: sectionproperties.formRightTextFontSize1 + 'px',
|
|
4386
|
+
fontWeight: sectionproperties.formRightTextFontWeight1
|
|
4387
|
+
}
|
|
4388
|
+
}, langdetect == 'en' ? sectionproperties.formRightText1 : sectionproperties.formRightText1_ar), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4389
|
+
className: "".concat(loginstyles2.loginbtn, " ") + ' ml-2 mr-2 mb-0 p-0 cursor-pointer ',
|
|
4390
|
+
onClick: function onClick() {
|
|
4391
|
+
routingcountext(StaticPagesLinksContext.Login);
|
|
4392
|
+
}
|
|
4393
|
+
}, lang.login))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4394
|
+
className: "col-lg-12 p-sm-0"
|
|
4395
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4396
|
+
className: "".concat(generalstyles.card) + ' p-0 ml-3 mr-3 m-md-0 '
|
|
4397
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4398
|
+
className: " row m-0 w-100 "
|
|
4399
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4400
|
+
className: "col-lg-12 col-md-12 col-sm-12 pt-4 pb-4 d-flex align-items-stretch",
|
|
4401
|
+
style: {
|
|
4402
|
+
background: sectionproperties.formLeftbgColor,
|
|
4403
|
+
borderTopRightRadius: sectionproperties.formLeft_bordertoprightradius + 'px',
|
|
4404
|
+
borderTopLeftRadius: sectionproperties.formLeft_bordertopleftradius + 'px',
|
|
4405
|
+
borderBottomRightRadius: sectionproperties.formLeft_borderbottomrightadius + 'px',
|
|
4406
|
+
borderBottomLeftRadius: sectionproperties.formLeft_borderbottomleftadius + 'px'
|
|
4407
|
+
}
|
|
4408
|
+
}, !SocialLoginMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(CustomerInformationForm, {
|
|
4409
|
+
formtype: "add",
|
|
4410
|
+
sectionpropertiesprops: sectionproperties,
|
|
4411
|
+
srcfromprops: 'signup',
|
|
4412
|
+
actions: actions
|
|
4413
|
+
}), SocialLoginMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4414
|
+
className: "w-100 d-flex m-auto mx-auto justify-content-center align-items-center"
|
|
4415
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4416
|
+
color: "black",
|
|
4417
|
+
width: "40px",
|
|
4418
|
+
height: "40px",
|
|
4419
|
+
duration: "1s"
|
|
4420
|
+
}))))))));
|
|
4421
|
+
};
|
|
4422
|
+
|
|
4423
|
+
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; }
|
|
4424
|
+
|
|
4425
|
+
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; }
|
|
4426
|
+
|
|
4427
|
+
var AccountInformation = function AccountInformation(props) {
|
|
4428
|
+
var _bgimagesarray$, _bgimagesarray$2;
|
|
4429
|
+
|
|
4430
|
+
var lang = props.actions.lang;
|
|
4431
|
+
var langdetect = props.actions.langdetect;
|
|
4432
|
+
var templatepropcontext = props.actions.templatepropcontext;
|
|
4433
|
+
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
4434
|
+
var navigationstyle = props.actions.navigationstyle;
|
|
4435
|
+
var actions = props.actions;
|
|
4436
|
+
React.useEffect(function () {
|
|
4437
|
+
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
4438
|
+
var _StatePagePropertiesC, _StatePagePropertiesC2;
|
|
4439
|
+
|
|
4440
|
+
var secpropobj = {};
|
|
4441
|
+
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) {
|
|
4442
|
+
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4443
|
+
});
|
|
4444
|
+
setsectionproperties(_objectSpread$12({}, secpropobj));
|
|
4445
|
+
}
|
|
4446
|
+
}, [StatePagePropertiesContext]);
|
|
4447
|
+
|
|
4448
|
+
var _useState = React.useState(''),
|
|
4449
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
4450
|
+
CurrentPageId = _useState2[0],
|
|
4451
|
+
setCurrentPageId = _useState2[1];
|
|
4452
|
+
|
|
4453
|
+
var _useState3 = React.useState(''),
|
|
4454
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
4455
|
+
sectionproperties = _useState4[0],
|
|
4456
|
+
setsectionproperties = _useState4[1];
|
|
4457
|
+
|
|
4458
|
+
React.useEffect(function () {
|
|
4459
|
+
var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
|
|
4460
|
+
return x.staticpageid == '6218bccb83d53';
|
|
4461
|
+
});
|
|
4462
|
+
|
|
4463
|
+
if (cartindex >= 0) {
|
|
4464
|
+
setCurrentPageId(cartindex);
|
|
4465
|
+
}
|
|
4466
|
+
}, []);
|
|
4467
|
+
React.useEffect(function () {
|
|
4468
|
+
var _templatepropcontext$, _templatepropcontext$2;
|
|
4469
|
+
|
|
4470
|
+
var secpropobj = {};
|
|
4471
|
+
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) {
|
|
4472
|
+
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4473
|
+
});
|
|
4474
|
+
setsectionproperties(_objectSpread$12({}, secpropobj));
|
|
4475
|
+
}, [CurrentPageId]);
|
|
4476
|
+
var accountinfo_cssstyles = {
|
|
4477
|
+
sectiontitlespan: glamor.css({
|
|
4478
|
+
':after': {
|
|
4479
|
+
width: sectionproperties.sectitle_lineafterwidth + '%',
|
|
4480
|
+
backgroundColor: sectionproperties.linebgcolor
|
|
4481
|
+
}
|
|
4482
|
+
}),
|
|
4483
|
+
sectiontitlespan2: glamor.css({
|
|
4484
|
+
':after': {
|
|
4485
|
+
width: sectionproperties.sectitle_lineafterwidth + 'px',
|
|
4486
|
+
height: '100%',
|
|
4487
|
+
backgroundColor: sectionproperties.linebgcolor
|
|
4488
|
+
}
|
|
4489
|
+
})
|
|
4490
|
+
};
|
|
4491
|
+
|
|
4492
|
+
var _useState5 = React.useState([]),
|
|
4493
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
4494
|
+
bgimagesarray = _useState6[0],
|
|
4495
|
+
setbgimagesarray = _useState6[1];
|
|
4496
|
+
|
|
4497
|
+
React.useEffect(function () {
|
|
4498
|
+
if (sectionproperties.length != 0) {
|
|
4499
|
+
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
4500
|
+
var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
|
|
4501
|
+
|
|
4502
|
+
if (Array.isArray(arrayofobjectimagesonlyparsed)) {
|
|
4503
|
+
setbgimagesarray(_toConsumableArray__default["default"](arrayofobjectimagesonlyparsed));
|
|
4504
|
+
}
|
|
4505
|
+
}
|
|
4506
|
+
}
|
|
4507
|
+
}, [sectionproperties]);
|
|
4508
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4509
|
+
className: 'row ml-0 mr-0 w-100'
|
|
4510
|
+
}, sectionproperties.showbgimage == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4511
|
+
className: "col-lg-12 p-0 d-flex justify-content-center"
|
|
4512
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4513
|
+
style: {
|
|
4514
|
+
width: sectionproperties.image_width + 'vw',
|
|
4515
|
+
height: sectionproperties.image_height + 'vh',
|
|
4516
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
4517
|
+
position: 'relative'
|
|
4518
|
+
}
|
|
4519
|
+
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
4520
|
+
urlEndpoint: IKurlEndpoint,
|
|
4521
|
+
publicKey: IKpublicKey,
|
|
4522
|
+
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) : '',
|
|
4523
|
+
style: {
|
|
4524
|
+
height: '100%',
|
|
4525
|
+
width: '100%',
|
|
4526
|
+
// objectFit: 'cover',
|
|
4527
|
+
margin: 0,
|
|
4528
|
+
padding: 0,
|
|
4529
|
+
background: sectionproperties.image_bgcolor,
|
|
4530
|
+
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
4531
|
+
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
4532
|
+
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
4533
|
+
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px' // zIndex: -1,
|
|
4534
|
+
// transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)',
|
|
4535
|
+
|
|
4536
|
+
}
|
|
4537
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4538
|
+
className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
|
|
4539
|
+
style: {
|
|
4540
|
+
position: 'absolute',
|
|
4541
|
+
top: 0,
|
|
4542
|
+
right: 0,
|
|
4543
|
+
bottom: 0,
|
|
4544
|
+
left: 0
|
|
4545
|
+
}
|
|
4546
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4547
|
+
className: ' m-0 p-0 ',
|
|
4548
|
+
style: {
|
|
4549
|
+
fontSize: sectionproperties.imagetextfontsize + 'px',
|
|
4550
|
+
color: sectionproperties.imagetextcolor,
|
|
4551
|
+
textTransform: sectionproperties.imagetexttextTransform,
|
|
4552
|
+
fontWeight: sectionproperties.imagetextfontWeight
|
|
4553
|
+
}
|
|
4554
|
+
}, lang.accountinformation)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4555
|
+
className: "col-lg-12 p-0"
|
|
4556
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4557
|
+
className: "row m-0 w-100 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
4558
|
+
style: {
|
|
4559
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
4560
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
4561
|
+
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
4562
|
+
paddingRight: sectionproperties.paddingRight + 'px',
|
|
4563
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
4564
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
4565
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
4566
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
4567
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
4568
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
4569
|
+
borderColor: sectionproperties.sectioncardbordercolor,
|
|
4570
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
4571
|
+
}
|
|
4572
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4573
|
+
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'
|
|
4574
|
+
}, /*#__PURE__*/React__default["default"].createElement(Staticpagesrouter, {
|
|
4575
|
+
currentpageprops: 'accountinfo',
|
|
4576
|
+
actions: actions
|
|
4577
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4578
|
+
className: navigationstyle == 'Side Navigation' ? 'col-lg-9 p-0' : 'col-lg-12 p-0'
|
|
4579
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4580
|
+
className: "row m-0 w-100"
|
|
4581
|
+
}, navigationstyle == 'Side Navigation' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4582
|
+
className: "row m-0 w-100"
|
|
4583
|
+
}, sectionproperties.sectiontitlestyle == 'Line Under Text' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4584
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0"
|
|
4585
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4586
|
+
className: "".concat(generalstyles.sectiontitlecont) + ' d-flex align-items-center '
|
|
4587
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4588
|
+
className: ' col-lg-12 d-flex align-items-center p-0 ',
|
|
4589
|
+
style: {
|
|
4590
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
4591
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
4592
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
4593
|
+
marginLeft: sectionproperties.sectionTitleMarginLeft + 'px',
|
|
4594
|
+
marginRight: sectionproperties.sectionTitleMarginRight + 'px'
|
|
4595
|
+
}
|
|
4596
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4597
|
+
className: "".concat(accountinfo_cssstyles.sectiontitlespan),
|
|
4598
|
+
style: {
|
|
4599
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
4600
|
+
color: sectionproperties.sectionTitleColor,
|
|
4601
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
4602
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
4603
|
+
}
|
|
4604
|
+
}, langdetect == 'en' ? 'Account Information' : 'البيانات الخاصة')))), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4605
|
+
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0",
|
|
4606
|
+
style: {
|
|
4607
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
|
|
4608
|
+
}
|
|
4609
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4610
|
+
className: "".concat(generalstyles.sectiontitlecont2),
|
|
4611
|
+
style: {
|
|
4612
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
4613
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
4614
|
+
marginLeft: sectionproperties.sectionTitleMarginLeft + 'px',
|
|
4615
|
+
marginRight: sectionproperties.sectionTitleMarginRight + 'px'
|
|
4616
|
+
}
|
|
4617
|
+
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4618
|
+
className: "".concat(accountinfo_cssstyles.sectiontitlespan2) + ' pl-3 ',
|
|
4619
|
+
style: {
|
|
4620
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
4621
|
+
color: sectionproperties.sectionTitleColor,
|
|
4622
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
4623
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
4624
|
+
}
|
|
4625
|
+
}, "Account", /*#__PURE__*/React__default["default"].createElement("br", null), " Information:"), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4626
|
+
className: "".concat(accountinfo_cssstyles.sectiontitlespan2) + ' pl-3 ',
|
|
4627
|
+
style: {
|
|
4628
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
4629
|
+
color: sectionproperties.sectionTitleColor,
|
|
4630
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
4631
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
4632
|
+
}
|
|
4633
|
+
}, "\u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u0634\u062E\u0635\u064A\u0629:")))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4634
|
+
className: 'col-lg-12 p-0'
|
|
4635
|
+
}, /*#__PURE__*/React__default["default"].createElement(CustomerInformationForm, {
|
|
4636
|
+
formtype: "edit",
|
|
4637
|
+
srcfromprops: "accountinfo",
|
|
4638
|
+
sectionpropertiesprops: sectionproperties,
|
|
4639
|
+
actions: actions
|
|
4640
|
+
})))))), StatePagePropertiesContext.pageobj.sections.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4641
|
+
className: "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
4642
|
+
}));
|
|
4643
|
+
};
|
|
4644
|
+
|
|
3566
4645
|
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";
|
|
3567
4646
|
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"};
|
|
3568
4647
|
styleInject(css_248z$s);
|
|
@@ -25343,12 +26422,12 @@
|
|
|
25343
26422
|
LanguageProvider: LanguageProvider,
|
|
25344
26423
|
AwesomeButton: AwesomeButton,
|
|
25345
26424
|
Checkout: Checkout,
|
|
25346
|
-
|
|
26425
|
+
Signup: Signup,
|
|
25347
26426
|
// Productinfo: Productinfo,
|
|
25348
26427
|
Ordershistory: Ordershistory,
|
|
25349
26428
|
Wishlist: Wishlist,
|
|
25350
26429
|
Login: Login,
|
|
25351
|
-
|
|
26430
|
+
AccountInformation: AccountInformation,
|
|
25352
26431
|
Policies: Policies,
|
|
25353
26432
|
CartSlider: CartSlider,
|
|
25354
26433
|
Header8: Header8,
|