react-gldn-kit 0.1.53 → 0.1.55
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.js +1 -1
- package/dist/lib/components/Layouts/ModalLayout/index.js +2 -2
- package/dist/lib/components/Layouts/ModalLayout/types.d.ts +1 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignIn/Third/components/EmailSignInForm/index.d.ts +7 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignIn/Third/components/EmailSignInForm/index.js +50 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignIn/Third/components/EmailSignInForm/types.d.ts +1 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignIn/Third/components/IdSignInForm/index.d.ts +6 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignIn/Third/components/IdSignInForm/index.js +65 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignIn/Third/components/IdSignInForm/types.d.ts +1 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignIn/Third/components/PhoneSignInForm/index.d.ts +6 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignIn/Third/components/PhoneSignInForm/index.js +52 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignIn/Third/components/PhoneSignInForm/types.d.ts +1 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignIn/Third/constants.d.ts +5 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignIn/Third/constants.js +18 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignIn/Third/index.d.ts +1 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignIn/Third/index.js +125 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/First/components/Forms/OneClickKit/types.js +2 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/First/components/Forms/PhoneSignUp/types.js +2 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/{index.js → First/index.js} +4 -4
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/{types.d.ts → First/types.d.ts} +5 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/First/types.js +9 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/components/Forms/EmailSignUp/index.d.ts +11 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/components/Forms/EmailSignUp/index.js +137 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/components/Forms/OneClickKit/constants.d.ts +9 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/components/Forms/OneClickKit/constants.js +12 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/components/Forms/OneClickKit/index.d.ts +3 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/components/Forms/OneClickKit/index.js +125 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/components/Forms/OneClickKit/types.d.ts +17 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/components/Forms/OneClickKit/types.js +2 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/components/Forms/PhoneSignUp/constants.d.ts +2 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/components/Forms/PhoneSignUp/constants.js +14 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/components/Forms/PhoneSignUp/index.d.ts +2 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/components/Forms/PhoneSignUp/index.js +160 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/components/Forms/PhoneSignUp/types.d.ts +11 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/components/Forms/PhoneSignUp/types.js +2 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/index.d.ts +2 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/index.js +141 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/types.d.ts +10 -0
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/types.js +9 -0
- package/dist/lib/components/Modals/Alert/components/LostPassword/{constants.d.ts → First/constants.d.ts} +1 -1
- package/dist/lib/components/Modals/Alert/components/LostPassword/{constants.js → First/constants.js} +1 -1
- package/dist/lib/components/Modals/Alert/components/LostPassword/{index.js → First/index.js} +2 -2
- package/dist/lib/components/Modals/Alert/components/LostPassword/Third/components/LostPasswordEmailForm/index.d.ts +5 -0
- package/dist/lib/components/Modals/Alert/components/{Auth/LostPassword → LostPassword/Third}/components/LostPasswordEmailForm/index.js +25 -21
- package/dist/lib/components/Modals/Alert/components/LostPassword/Third/components/LostPasswordPhoneForm/index.d.ts +5 -0
- package/dist/lib/components/Modals/Alert/components/LostPassword/Third/components/LostPasswordPhoneForm/index.js +90 -0
- package/dist/lib/components/Modals/Alert/components/LostPassword/Third/index.d.ts +2 -0
- package/dist/lib/components/Modals/Alert/components/LostPassword/Third/index.js +61 -0
- package/dist/lib/components/Modals/Alert/index.js +48 -7
- package/dist/lib/components/Scratch/index.js +5 -5
- package/dist/lib/components/Scratch/types.d.ts +3 -3
- package/dist/lib/components/Scratch/types.js +1 -2
- package/dist/lib/components/SignUp/CountrySelector/index.js +2 -2
- package/dist/lib/components/SignUp/CountrySelector/types.d.ts +2 -0
- package/dist/lib/components/SignUp/CurrencySelector/index.js +2 -2
- package/dist/lib/components/SignUp/CurrencySelector/types.d.ts +2 -0
- package/dist/lib/components/SignUpThree/DocsCheckBox/index.d.ts +9 -0
- package/dist/lib/components/SignUpThree/DocsCheckBox/index.js +41 -0
- package/dist/lib/components/Wheel/index.js +3 -1
- package/dist/lib/components/Wheel/types.d.ts +5 -42
- package/dist/lib/components/ui/Icons/Base/CheckSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/CheckSvg.js +20 -0
- package/dist/lib/components/ui/Inputs/CheckBox/index.d.ts +1 -0
- package/dist/lib/components/ui/Inputs/CheckBox/index.js +6 -3
- package/dist/lib/components/ui/Inputs/PhoneInput/index.js +2 -2
- package/dist/lib/components/ui/Inputs/PhoneInput/types.d.ts +1 -0
- package/dist/lib/components/ui/Selector/index.js +3 -3
- package/dist/lib/components/ui/Selector/types.d.ts +1 -0
- package/dist/lib/context/logic/ModalContext.d.ts +2 -0
- package/dist/lib/index.d.ts +10 -7
- package/dist/lib/index.js +33 -29
- package/dist/lib/zustandStore/alerts/modal/types.d.ts +4 -1
- package/dist/lib/zustandStore/alerts/modal/types.js +3 -0
- package/dist/lib/zustandStore/forms/signUp/types.d.ts +4 -0
- package/dist/lib/zustandStore/forms/signUp/types.js +6 -1
- package/dist/main.css +916 -121
- package/package.json +1 -1
- package/dist/lib/components/Modals/Alert/components/Auth/LostPassword/components/LostPasswordEmailForm/index.d.ts +0 -4
- package/dist/lib/components/Modals/Alert/components/Auth/LostPassword/components/LostPasswordPhoneForm/index.d.ts +0 -4
- package/dist/lib/components/Modals/Alert/components/Auth/LostPassword/components/LostPasswordPhoneForm/index.js +0 -54
- package/dist/lib/components/Modals/Alert/components/Auth/LostPassword/index.d.ts +0 -3
- package/dist/lib/components/Modals/Alert/components/Auth/LostPassword/index.js +0 -50
- /package/dist/lib/components/Modals/Alert/components/Auth/SignIn/{components → First/components}/EmailSignInForm/index.d.ts +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignIn/{components → First/components}/EmailSignInForm/index.js +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignIn/{components → First/components}/EmailSignInForm/types.d.ts +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignIn/{components → First/components}/EmailSignInForm/types.js +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignIn/{components → First/components}/IdSignInForm/index.d.ts +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignIn/{components → First/components}/IdSignInForm/index.js +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignIn/{components → First/components}/IdSignInForm/types.d.ts +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignIn/{components → First/components}/IdSignInForm/types.js +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignIn/{components → First/components}/PhoneSignInForm/index.d.ts +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignIn/{components → First/components}/PhoneSignInForm/index.js +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignIn/{components → First/components}/PhoneSignInForm/types.d.ts +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignIn/{components → First/components}/PhoneSignInForm/types.js +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignIn/{constants.d.ts → First/constants.d.ts} +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignIn/{constants.js → First/constants.js} +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignIn/{index.d.ts → First/index.d.ts} +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignIn/{index.js → First/index.js} +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/{SignUp/components/Forms/OneClickKit → SignIn/Third/components/EmailSignInForm}/types.js +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/{SignUp/components/Forms/PhoneSignUp → SignIn/Third/components/IdSignInForm}/types.js +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/{SignUp → SignIn/Third/components/PhoneSignInForm}/types.js +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignUp/{components → First/components}/Forms/EmailSignUp/index.d.ts +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignUp/{components → First/components}/Forms/EmailSignUp/index.js +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignUp/{components → First/components}/Forms/OneClickKit/constants.d.ts +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignUp/{components → First/components}/Forms/OneClickKit/constants.js +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignUp/{components → First/components}/Forms/OneClickKit/index.d.ts +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignUp/{components → First/components}/Forms/OneClickKit/index.js +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignUp/{components → First/components}/Forms/OneClickKit/types.d.ts +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignUp/{components → First/components}/Forms/PhoneSignUp/constants.d.ts +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignUp/{components → First/components}/Forms/PhoneSignUp/constants.js +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignUp/{components → First/components}/Forms/PhoneSignUp/index.d.ts +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignUp/{components → First/components}/Forms/PhoneSignUp/index.js +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignUp/{components → First/components}/Forms/PhoneSignUp/types.d.ts +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/SignUp/{index.d.ts → First/index.d.ts} +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/{SignUpTypeTwo → SignUp/Second}/index.d.ts +0 -0
- /package/dist/lib/components/Modals/Alert/components/Auth/{SignUpTypeTwo → SignUp/Second}/index.js +0 -0
- /package/dist/lib/components/Modals/Alert/components/LostPassword/{components → First/components}/LostPasswordEmailForm/index.d.ts +0 -0
- /package/dist/lib/components/Modals/Alert/components/LostPassword/{components → First/components}/LostPasswordEmailForm/index.js +0 -0
- /package/dist/lib/components/Modals/Alert/components/LostPassword/{components → First/components}/LostPasswordPhoneForm/index.d.ts +0 -0
- /package/dist/lib/components/Modals/Alert/components/LostPassword/{components → First/components}/LostPasswordPhoneForm/index.js +0 -0
- /package/dist/lib/components/Modals/Alert/components/LostPassword/{index.d.ts → First/index.d.ts} +0 -0
- /package/dist/lib/components/Modals/Alert/components/{Auth/LostPassword → LostPassword/Third}/constants.d.ts +0 -0
- /package/dist/lib/components/Modals/Alert/components/{Auth/LostPassword → LostPassword/Third}/constants.js +0 -0
- /package/dist/lib/components/Modals/Alert/components/{Auth/LostPassword → LostPassword/Third}/types.d.ts +0 -0
- /package/dist/lib/components/Modals/Alert/components/{Auth/LostPassword → LostPassword/Third}/types.js +0 -0
|
@@ -41,15 +41,18 @@ exports.CheckBox = void 0;
|
|
|
41
41
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
42
42
|
var classnames_1 = __importDefault(require("classnames"));
|
|
43
43
|
var Text_1 = require("components/Text");
|
|
44
|
+
var CheckSvg_1 = require("components/ui/Icons/Base/CheckSvg");
|
|
44
45
|
var styles = __importStar(require("./CheckBox.module.css"));
|
|
45
46
|
var CheckBox = function (props) {
|
|
46
|
-
var _a;
|
|
47
|
-
var value = props.value, onChange = props.onChange, text = props.text, classes = props.classes, handleText = props.handleText, classesText = props.classesText;
|
|
47
|
+
var _a, _b;
|
|
48
|
+
var value = props.value, onChange = props.onChange, text = props.text, classes = props.classes, handleText = props.handleText, classesText = props.classesText, _c = props.type, type = _c === void 0 ? 'primary' : _c;
|
|
48
49
|
var handleToggle = function (e) {
|
|
49
50
|
e.stopPropagation();
|
|
50
51
|
e.preventDefault();
|
|
51
52
|
onChange(!value);
|
|
52
53
|
};
|
|
53
|
-
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.checkboxWrapper, classes) }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ className: styles.checkboxWrapperBig, onClick: handleToggle }, { children: (0, jsx_runtime_1.jsxs)("label", __assign({ className: (0, classnames_1.default)(styles.switch, (_a = {}, _a[styles.checked] = value, _a)) }, { children: [(0, jsx_runtime_1.jsx)("input", { type: "checkbox", checked: value, readOnly: true }), (0, jsx_runtime_1.jsx)("div", { className: styles.slider })] })) }))
|
|
54
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.checkboxWrapper, classes) }, { children: [type === 'primary' ? ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.checkboxWrapperBig, onClick: handleToggle }, { children: (0, jsx_runtime_1.jsxs)("label", __assign({ className: (0, classnames_1.default)(styles.switch, (_a = {}, _a[styles.checked] = value, _a)) }, { children: [(0, jsx_runtime_1.jsx)("input", { type: "checkbox", checked: value, readOnly: true }), (0, jsx_runtime_1.jsx)("div", { className: styles.slider })] })) }))) : ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.checkbox, (_b = {},
|
|
55
|
+
_b[styles.checked] = value,
|
|
56
|
+
_b)), onClick: handleToggle }, { children: value && (0, jsx_runtime_1.jsx)(CheckSvg_1.CheckSvg, {}) }))), text && ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.checkboxText, classesText), onClick: handleText }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: text }) })))] })));
|
|
54
57
|
};
|
|
55
58
|
exports.CheckBox = CheckBox;
|
|
@@ -51,7 +51,7 @@ var styles = __importStar(require("./PhoneInput.module.css"));
|
|
|
51
51
|
var mock_1 = require("constants/mock");
|
|
52
52
|
var PhoneInput = function (props) {
|
|
53
53
|
var _a;
|
|
54
|
-
var withConfirm = props.withConfirm, requestId = props.requestId, sendDataType = props.sendDataType, children = props.children, classesWrapper = props.classesWrapper, requestCallback = props.requestCallback, onChange = props.onChange, sendKey = props.sendKey, countryCodeDefault = props.countryCodeDefault, _b = props.section, section = _b === void 0 ? undefined : _b, requestCode = props.requestCode, countryInfo = props.countryInfo;
|
|
54
|
+
var withConfirm = props.withConfirm, requestId = props.requestId, sendDataType = props.sendDataType, children = props.children, classesWrapper = props.classesWrapper, requestCallback = props.requestCallback, onChange = props.onChange, sendKey = props.sendKey, countryCodeDefault = props.countryCodeDefault, _b = props.section, section = _b === void 0 ? undefined : _b, requestCode = props.requestCode, countryInfo = props.countryInfo, buttonClasses = props.buttonClasses;
|
|
55
55
|
var _c = (0, react_1.useState)(constant_1.DEFAULT_INPUT_VALUE), phone = _c[0], setPhone = _c[1];
|
|
56
56
|
var _d = (0, react_1.useState)(false), isRequestedCode = _d[0], setRequestedCodeStatus = _d[1];
|
|
57
57
|
var defaultCountry = (0, react_1.useMemo)(function () {
|
|
@@ -119,6 +119,6 @@ var PhoneInput = function (props) {
|
|
|
119
119
|
// @ts-ignore
|
|
120
120
|
countries: countryCodeDefault ? [countryCodeDefault] : undefined, disabled: isRequestedCode, onChange: handleSetValue, className: (0, classnames_1.default)(styles.input, (_a = {},
|
|
121
121
|
_a[styles.errorBorder] = phone.errorText,
|
|
122
|
-
_a)) }, { children: children })), phone.errorText && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.error }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: phone.errorText }) }))), withConfirm && ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: isRequestedCode ? ((0, jsx_runtime_1.jsx)(Timer_1.default, { handleRequestCode: handleRequestCode })) : ((0, jsx_runtime_1.jsx)(BaseButton_1.BaseButton, { text: "getCodeBtn", disabled: !isValidPhone, color: "primary", handleClick: showTimer, size: "--button-full", centreText: true, buttonHeight: "--button-height-full" })) }))] })));
|
|
122
|
+
_a)) }, { children: children })), phone.errorText && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.error }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: phone.errorText }) }))), withConfirm && ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: isRequestedCode ? ((0, jsx_runtime_1.jsx)(Timer_1.default, { handleRequestCode: handleRequestCode })) : ((0, jsx_runtime_1.jsx)(BaseButton_1.BaseButton, { text: "getCodeBtn", disabled: !isValidPhone, color: "primary", handleClick: showTimer, size: "--button-full", centreText: true, buttonHeight: "--button-height-full", classes: buttonClasses })) }))] })));
|
|
123
123
|
};
|
|
124
124
|
exports.PhoneInput = PhoneInput;
|
|
@@ -3,6 +3,7 @@ import { BaseInputProps } from '../BaseInput/types';
|
|
|
3
3
|
export type PhoneInputProps = BaseInputProps & (PhoneInputPropsWithConfirmation | PhoneInputPropsWithoutConfirmation) & {
|
|
4
4
|
countryCodeDefault?: string;
|
|
5
5
|
countryInfo?: any;
|
|
6
|
+
buttonClasses?: string;
|
|
6
7
|
};
|
|
7
8
|
export type PhoneInputPropsWithoutConfirmation = {
|
|
8
9
|
withConfirm: false | undefined;
|
|
@@ -51,7 +51,7 @@ var useTranslate_1 = require("hooks/useTranslate");
|
|
|
51
51
|
var styles = __importStar(require("./Selector.module.css"));
|
|
52
52
|
var Selector = function (props) {
|
|
53
53
|
var _a, _b;
|
|
54
|
-
var _c = props.placeholder, placeholder = _c === void 0 ? '' : _c, data = props.data, classes = props.classes, activeId = props.activeId, isOpenUp = props.isOpenUp, size = props.size, handleClick = props.handleClick, isAll = props.isAll, classesItem = props.classesItem, _d = props.selectedMainItemClasses, selectedMainItemClasses = _d === void 0 ? '' : _d, isMulti = props.isMulti, modalType = props.modalType, activeIds = props.activeIds, _e = props.joinSymbol, joinSymbol = _e === void 0 ? ',' : _e, _f = props.selectorStyleType, selectorStyleType = _f === void 0 ? 'base' : _f, _g = props.type, type = _g === void 0 ? 'base' : _g, additionalModalProps = props.additionalModalProps, setModalType = props.setModalType;
|
|
54
|
+
var _c = props.placeholder, placeholder = _c === void 0 ? '' : _c, data = props.data, classes = props.classes, activeId = props.activeId, isOpenUp = props.isOpenUp, size = props.size, handleClick = props.handleClick, isAll = props.isAll, classesItem = props.classesItem, _d = props.selectedMainItemClasses, selectedMainItemClasses = _d === void 0 ? '' : _d, isMulti = props.isMulti, modalType = props.modalType, activeIds = props.activeIds, _e = props.joinSymbol, joinSymbol = _e === void 0 ? ',' : _e, _f = props.selectorStyleType, selectorStyleType = _f === void 0 ? 'base' : _f, _g = props.type, type = _g === void 0 ? 'base' : _g, additionalModalProps = props.additionalModalProps, setModalType = props.setModalType, dropdownClasses = props.dropdownClasses;
|
|
55
55
|
var _h = (0, react_1.useState)(false), isOpened = _h[0], setOpenState = _h[1];
|
|
56
56
|
var _j = (0, react_1.useState)(true), isHideContent = _j[0], setHideContentState = _j[1];
|
|
57
57
|
var timer = (0, react_1.useRef)(null);
|
|
@@ -119,13 +119,13 @@ var Selector = function (props) {
|
|
|
119
119
|
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperSelector, styles[sizeModifier], classes) }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.mainContainer, styles.item, styles[sizeModifier], classesItem, (_a = {},
|
|
120
120
|
_a[styles.opacity] = isOpened,
|
|
121
121
|
_a[selectedMainItemClasses] = activeId || (activeIds === null || activeIds === void 0 ? void 0 : activeIds.length),
|
|
122
|
-
_a)), onClick: isDisabled && type === 'base' ? undefined : handleToggleState }, { children: [selectorStyleType === 'labelUp' && placeholder && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.placeholder }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: placeholder }) }))), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.overflow }, { children: getTitle() })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.iconBlock }, { children: [isDisabled && (0, jsx_runtime_1.jsx)(LockSvg_1.LockSvg, {}), !isDisabled && ((0, jsx_runtime_1.jsx)(ArrowButton_1.ArrowButton, { isOpened: isOpened, toggleState: resetValue })), !isDisabled && !!activeId && !!isAll && ((0, jsx_runtime_1.jsx)(CloseSvg_1.CloseSvg, { handleClick: resetValue }))] }))] })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.dropDownWrapper, styles[directionModifier], styles[sizeModifier], (_b = {},
|
|
122
|
+
_a)), onClick: isDisabled && type === 'base' ? undefined : handleToggleState }, { children: [selectorStyleType === 'labelUp' && placeholder && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.placeholder }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: placeholder }) }))), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.overflow }, { children: getTitle() })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.iconBlock }, { children: [isDisabled && (0, jsx_runtime_1.jsx)(LockSvg_1.LockSvg, {}), !isDisabled && ((0, jsx_runtime_1.jsx)(ArrowButton_1.ArrowButton, { isOpened: isOpened, toggleState: resetValue, classes: styles.rotate })), !isDisabled && !!activeId && !!isAll && ((0, jsx_runtime_1.jsx)(CloseSvg_1.CloseSvg, { handleClick: resetValue }))] }))] })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.dropDownWrapper, styles[directionModifier], styles[sizeModifier], (_b = {},
|
|
123
123
|
_b[styles.animationSelectorGrowing] = isOpened,
|
|
124
124
|
_b[styles.animationSelectorReducing] = !isOpened,
|
|
125
125
|
_b[styles.bigBorder] = isOpened,
|
|
126
126
|
_b[styles.disabledBottom] = isOpenUp,
|
|
127
127
|
_b[styles.disabledTop] = !isOpenUp,
|
|
128
|
-
_b)) }, { children: [!isHideContent && isAll && ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.item, classesItem), onClick: setAndClose(null) }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "reset" }) }))), !isHideContent && ((0, jsx_runtime_1.jsx)(HOCOutsideClick_1.HOCOutsideClick, __assign({ handleFunc: handleToggleState }, { children: data.map(function (i) {
|
|
128
|
+
_b), dropdownClasses) }, { children: [!isHideContent && isAll && ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.item, classesItem), onClick: setAndClose(null) }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "reset" }) }))), !isHideContent && ((0, jsx_runtime_1.jsx)(HOCOutsideClick_1.HOCOutsideClick, __assign({ handleFunc: handleToggleState }, { children: data.map(function (i) {
|
|
129
129
|
var _a;
|
|
130
130
|
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.item, styles.overflow, classesItem, (_a = {},
|
|
131
131
|
_a[styles.maxSize] = !isMulti,
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { CurrencyInfo } from 'react-memory-optimization/dist/lib/store/user/types';
|
|
3
|
+
import { ERegistrationFlow } from 'zustandStore/forms/signUp/types';
|
|
3
4
|
type HookContextType = {
|
|
4
5
|
useTransportControllers: () => any;
|
|
5
6
|
useCurrencies: () => null | CurrencyInfo[];
|
|
6
7
|
useCountryInfo: () => any;
|
|
8
|
+
sendRegistrationCommand: (flow: ERegistrationFlow) => (key: string, data: any) => any;
|
|
7
9
|
};
|
|
8
10
|
export declare const HookProvider: import("react").Provider<HookContextType>;
|
|
9
11
|
export declare const useHookProvider: () => HookContextType;
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -12,13 +12,15 @@ import { OneClick } from 'components/SignUp/OneClick';
|
|
|
12
12
|
import { CurrencySelector } from 'components/SignUp/CurrencySelector';
|
|
13
13
|
import { DocsCheckBox } from 'components/SignUp/DocsCheckBox';
|
|
14
14
|
import { CountrySelector } from 'components/SignUp/CountrySelector';
|
|
15
|
-
import { SignUp } from 'components/Modals/Alert/components/Auth/SignUp';
|
|
16
|
-
import { SignUpTypeTwo } from 'components/Modals/Alert/components/Auth/
|
|
17
|
-
|
|
15
|
+
import { SignUp } from 'components/Modals/Alert/components/Auth/SignUp/First';
|
|
16
|
+
import { SignUpTypeTwo } from 'components/Modals/Alert/components/Auth/SignUp/Second';
|
|
17
|
+
import { SignUpTypeThree } from 'components/Modals/Alert/components/Auth/SignUp/Third';
|
|
18
|
+
export { SignUpProps } from 'components/Modals/Alert/components/Auth/SignUp/First/types';
|
|
18
19
|
export { ESignUpTheme } from 'zustandStore/forms/signUp/types';
|
|
19
|
-
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
20
|
+
export { ERegistrationFlow } from 'zustandStore/forms/signUp/types';
|
|
21
|
+
import { EmailSignUp } from 'components/Modals/Alert/components/Auth/SignUp/First/components/Forms/EmailSignUp';
|
|
22
|
+
import { PhoneSignUp } from 'components/Modals/Alert/components/Auth/SignUp/First/components/Forms/PhoneSignUp';
|
|
23
|
+
import { SignIn } from 'components/Modals/Alert/components/Auth/SignIn/First';
|
|
22
24
|
import { ModalLayout } from 'components/Layouts/ModalLayout';
|
|
23
25
|
import { BonusCardLayout } from 'components/Layouts/BonusCardLayout';
|
|
24
26
|
import { DrawerLayout } from 'components/Layouts/DrawerLayout';
|
|
@@ -68,6 +70,7 @@ import { TournamentCard } from 'components/ui/TournamentCard';
|
|
|
68
70
|
import { LastBigWinners } from 'components/LastBigWinners';
|
|
69
71
|
import { JackpotWidget } from 'components/Jackpots/JackpotWidget';
|
|
70
72
|
import { JackPotInfoBox } from 'components/Jackpots/JackpotWidget/components/Jackpot';
|
|
73
|
+
import { IconProps } from 'components/ui/Icons/types';
|
|
71
74
|
import { DownloadSvg } from 'components/ui/Icons/Base/DownloadSvg';
|
|
72
75
|
import { ArrowSvg } from 'components/ui/Icons/ArrowSvg';
|
|
73
76
|
import { LockSvg } from 'components/ui/Icons/LockSvg';
|
|
@@ -235,7 +238,7 @@ import Accordion from 'components/ui/AccordionGroup/Accordion';
|
|
|
235
238
|
import AccordionGroup from 'components/ui/AccordionGroup';
|
|
236
239
|
import { copyToClipboard, sleep } from 'utils/shared';
|
|
237
240
|
import { getAuthorizationData, getRegistrationData } from 'zustandStore/forms/signUp/utils';
|
|
238
|
-
export { Logo, BaseButton, CloseButton, DrawerButton, AppSwitcher, CasinoCategoryButton, CasinoSubCategoriesButton, ProviderNameButton, DepositButton, ShowAllCard, BaseInput, BaseInputUi, PhoneInput, CheckBox, EmailInput, PasswordInput, JivoChatButton, JivoChatButtonProps, PaymentsMethods, PaymentMethodProps, EActiveMethodTab, DepositSkelet, DepositSkeletProps, DepositQrFormProps, PopUpHeader, Footer, Tabs, MainLoader, CircularLoader, Image, HOCImageLoader, HOCOutsideClick, HOCErrorBoundary, HOCRequestLoader, useHookFabric, useElementResize, useOnClickOutside, useCountDown, useTranslate, useInView, JackpotWidget, JackPotInfoBox, Wheel, Scratch, TournamentCard, ReferralTable, ReferralTableProps, Pagination, ModalLayout, Alerts, BonusCardLayout, DrawerLayout, LandingLayoutTemplate, PortalLayout, CountDown, LastBigWinners, Banners, BannerTemplate, PromotionMobileApp, OneClick, DocsCheckBox, CurrencySelector, CountrySelector, RegistrationPromoCode, SignUp, SignUpTypeTwo, EmailSignUp, PhoneSignUp, Selector, LanguageSelector, SignIn, ArrowSvg, DownloadSvg, LockSvg, CloseSvg, JabiInHouseSvg, ProviderSvg, HotSvg, WagerSvg, ElonHouseSvg, FSWinHouseSvg, ElonTreasureSvg, FSWinTreasureSvg, JabibetTreasureSvg, PlaySvg, InfoSvg, InstagramSvg, TelegramSvg, FacebookSvg, AvatarSvg, ProfileSvg, BonusGiftSvg, BurgerSvg, CalendarSvg, CashSvg, CloseEyeSvg, OpenEyeSvg, CoinSvg, CoinsSvg, CopySvg, DocSvg, FavoritesSvg, GoogleSvg, GrowSvg, DrawerTogglerSvg, LotterySvg, InfoLotterySvg, PlusSvg, SearchSvg, ProvidersBlocksSvg, SelectedSvg, ShareSvg, StarSvg, SupportSvg, ThreeDotsSvg, TrashSvg, WalletSvg, FirstBonusSvg, SecondBonusSvg, ThirdBonusSvg, VipClubSvg, InfoSecondSvg, BronzeSvg, SilverSvg, DiamondSvg, GoldSvg, GreenSvg, PlatinumSvg, PlatinumOneSvg, AzeSvg, BnSvg, BsSvg, ChSvg, DeSvg, EnSvg, EsSvg, FrSvg, HiSvg, ItSvg, KoSvg, KzSvg, NoSvg, PtSvg, RoSvg, RuSvg, TrSvg, UkrSvg, UzSvg, TournamentWagerSvg, ProvidersSvg, DefaultImgSvg, CasinoCoinSvg, RecommendedSvg, DepositSvg, ErrorSvg, SuccessSvg, WaitingSvg, WithdrawSvg, AmericanFootballSvg, AussieRulesSvg, BadmintonSvg, BaseballSvg, BasketballSvg, Basketball3x3Svg, BeachSoccerSvg, BoxingSvg, ChessSvg, CricketSvg, DartsSvg, EFifaSvg, ENbaSvg, ENhlSvg, EsportSvg, FieldHockeySvg, FutsalSvg, IceHockeySvg, KabaddiSvg, MmaSvg, RugbySvg, SnookerSvg, SoccerSvg, SquashSvg, TableTennisSvg, TennisSvg, VolleyballSvg, NotFoundBonusesSvg, NotificationWarningSvg, NotificationErrorSvg, NotificationSuccessSvg, Notifications, NavTournamentSvg, NavReferralSvg, NavMyBetsSvg, NavCasinoSvg, NavBonusesSvg, NavBettingLiveSvg, NavBettingSvg, BattlesCard, Step, Section, BattleBanner, Leaderboard, Accordion, AccordionGroup, useZustandLanguagesKitStore, languageSelectors, Text, useZustandNotificationKitStore, notificationKitSelectors, useZustandModalKitStore, zustandModalKitSelector, useZustandDeviceKitStore, zustandDeviceKitSelector, useZustandRegistrationKitStore, zustandRegistrationKitSelector, useZustandSignInKitStore, zustandSignInKitSelectors, useZustandRequestKitStore, requestSelectors, useZustandCasinoGamesKitStore, gamesSelectors, useZustandConnectionKitStore, connectionSelectors, useZustandWheelPromoKitStore, wheelPromoSelectors, EDirection, getCasinoCategoryIcon, sleep, getAuthorizationData, getRegistrationData, copyToClipboard, };
|
|
241
|
+
export { Logo, BaseButton, CloseButton, DrawerButton, AppSwitcher, CasinoCategoryButton, CasinoSubCategoriesButton, ProviderNameButton, DepositButton, ShowAllCard, BaseInput, BaseInputUi, PhoneInput, CheckBox, EmailInput, PasswordInput, JivoChatButton, JivoChatButtonProps, PaymentsMethods, PaymentMethodProps, EActiveMethodTab, DepositSkelet, DepositSkeletProps, DepositQrFormProps, PopUpHeader, Footer, Tabs, MainLoader, CircularLoader, Image, HOCImageLoader, HOCOutsideClick, HOCErrorBoundary, HOCRequestLoader, useHookFabric, useElementResize, useOnClickOutside, useCountDown, useTranslate, useInView, JackpotWidget, JackPotInfoBox, Wheel, Scratch, TournamentCard, ReferralTable, ReferralTableProps, Pagination, ModalLayout, Alerts, BonusCardLayout, DrawerLayout, LandingLayoutTemplate, PortalLayout, CountDown, LastBigWinners, Banners, BannerTemplate, PromotionMobileApp, OneClick, DocsCheckBox, CurrencySelector, CountrySelector, RegistrationPromoCode, SignUp, SignUpTypeTwo, SignUpTypeThree, EmailSignUp, PhoneSignUp, Selector, LanguageSelector, SignIn, IconProps, ArrowSvg, DownloadSvg, LockSvg, CloseSvg, JabiInHouseSvg, ProviderSvg, HotSvg, WagerSvg, ElonHouseSvg, FSWinHouseSvg, ElonTreasureSvg, FSWinTreasureSvg, JabibetTreasureSvg, PlaySvg, InfoSvg, InstagramSvg, TelegramSvg, FacebookSvg, AvatarSvg, ProfileSvg, BonusGiftSvg, BurgerSvg, CalendarSvg, CashSvg, CloseEyeSvg, OpenEyeSvg, CoinSvg, CoinsSvg, CopySvg, DocSvg, FavoritesSvg, GoogleSvg, GrowSvg, DrawerTogglerSvg, LotterySvg, InfoLotterySvg, PlusSvg, SearchSvg, ProvidersBlocksSvg, SelectedSvg, ShareSvg, StarSvg, SupportSvg, ThreeDotsSvg, TrashSvg, WalletSvg, FirstBonusSvg, SecondBonusSvg, ThirdBonusSvg, VipClubSvg, InfoSecondSvg, BronzeSvg, SilverSvg, DiamondSvg, GoldSvg, GreenSvg, PlatinumSvg, PlatinumOneSvg, AzeSvg, BnSvg, BsSvg, ChSvg, DeSvg, EnSvg, EsSvg, FrSvg, HiSvg, ItSvg, KoSvg, KzSvg, NoSvg, PtSvg, RoSvg, RuSvg, TrSvg, UkrSvg, UzSvg, TournamentWagerSvg, ProvidersSvg, DefaultImgSvg, CasinoCoinSvg, RecommendedSvg, DepositSvg, ErrorSvg, SuccessSvg, WaitingSvg, WithdrawSvg, AmericanFootballSvg, AussieRulesSvg, BadmintonSvg, BaseballSvg, BasketballSvg, Basketball3x3Svg, BeachSoccerSvg, BoxingSvg, ChessSvg, CricketSvg, DartsSvg, EFifaSvg, ENbaSvg, ENhlSvg, EsportSvg, FieldHockeySvg, FutsalSvg, IceHockeySvg, KabaddiSvg, MmaSvg, RugbySvg, SnookerSvg, SoccerSvg, SquashSvg, TableTennisSvg, TennisSvg, VolleyballSvg, NotFoundBonusesSvg, NotificationWarningSvg, NotificationErrorSvg, NotificationSuccessSvg, Notifications, NavTournamentSvg, NavReferralSvg, NavMyBetsSvg, NavCasinoSvg, NavBonusesSvg, NavBettingLiveSvg, NavBettingSvg, BattlesCard, Step, Section, BattleBanner, Leaderboard, Accordion, AccordionGroup, useZustandLanguagesKitStore, languageSelectors, Text, useZustandNotificationKitStore, notificationKitSelectors, useZustandModalKitStore, zustandModalKitSelector, useZustandDeviceKitStore, zustandDeviceKitSelector, useZustandRegistrationKitStore, zustandRegistrationKitSelector, useZustandSignInKitStore, zustandSignInKitSelectors, useZustandRequestKitStore, requestSelectors, useZustandCasinoGamesKitStore, gamesSelectors, useZustandConnectionKitStore, connectionSelectors, useZustandWheelPromoKitStore, wheelPromoSelectors, EDirection, getCasinoCategoryIcon, sleep, getAuthorizationData, getRegistrationData, copyToClipboard, };
|
|
239
242
|
export { Size, Color, EAppType } from 'types/ui';
|
|
240
243
|
export { COUNTRY_MOCK } from 'constants/mock';
|
|
241
244
|
export { REFERRAL_KEY, REFERRAL_CODE, } from 'components/SignUp/PromoCode/constants';
|
package/dist/lib/index.js
CHANGED
|
@@ -3,11 +3,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.HookProvider = exports.useHookProvider = exports.REFERRAL_CODE = exports.REFERRAL_KEY = exports.COUNTRY_MOCK = exports.EAppType = exports.copyToClipboard = exports.getRegistrationData = exports.getAuthorizationData = exports.sleep = exports.getCasinoCategoryIcon = exports.EDirection = exports.wheelPromoSelectors = exports.useZustandWheelPromoKitStore = exports.connectionSelectors = exports.useZustandConnectionKitStore = exports.gamesSelectors = exports.useZustandCasinoGamesKitStore = exports.requestSelectors = exports.useZustandRequestKitStore = exports.zustandSignInKitSelectors = exports.useZustandSignInKitStore = exports.zustandRegistrationKitSelector = exports.useZustandRegistrationKitStore = exports.zustandDeviceKitSelector = exports.useZustandDeviceKitStore = exports.zustandModalKitSelector = exports.useZustandModalKitStore = exports.notificationKitSelectors = exports.useZustandNotificationKitStore = exports.Text = exports.languageSelectors = exports.useZustandLanguagesKitStore = exports.AccordionGroup = exports.Accordion = exports.Leaderboard = exports.BattleBanner = exports.Section = exports.Step = exports.BattlesCard = exports.NavBettingSvg = void 0;
|
|
6
|
+
exports.Scratch = exports.Wheel = exports.JackPotInfoBox = exports.JackpotWidget = exports.useInView = exports.useTranslate = exports.useCountDown = exports.useOnClickOutside = exports.useElementResize = exports.useHookFabric = exports.HOCRequestLoader = exports.HOCErrorBoundary = exports.HOCOutsideClick = exports.HOCImageLoader = exports.Image = exports.CircularLoader = exports.MainLoader = exports.Tabs = exports.Footer = exports.PopUpHeader = exports.DepositSkelet = exports.EActiveMethodTab = exports.PaymentsMethods = exports.JivoChatButton = exports.PasswordInput = exports.EmailInput = exports.CheckBox = exports.PhoneInput = exports.BaseInputUi = exports.BaseInput = exports.ShowAllCard = exports.DepositButton = exports.ProviderNameButton = exports.CasinoSubCategoriesButton = exports.CasinoCategoryButton = exports.AppSwitcher = exports.DrawerButton = exports.CloseButton = exports.BaseButton = exports.Logo = exports.EWheelState = exports.EModalTypes = exports.ENotificationType = exports.EAuthFormType = exports.ERegistrationForm = exports.handleDeviceDetection = exports.EDeviceType = exports.CheckBoxSvg = exports.ERegistrationFlow = exports.ESignUpTheme = void 0;
|
|
7
|
+
exports.CalendarSvg = exports.BurgerSvg = exports.BonusGiftSvg = exports.ProfileSvg = exports.AvatarSvg = exports.FacebookSvg = exports.TelegramSvg = exports.InstagramSvg = exports.InfoSvg = exports.PlaySvg = exports.JabibetTreasureSvg = exports.FSWinTreasureSvg = exports.ElonTreasureSvg = exports.FSWinHouseSvg = exports.ElonHouseSvg = exports.WagerSvg = exports.HotSvg = exports.ProviderSvg = exports.JabiInHouseSvg = exports.CloseSvg = exports.LockSvg = exports.DownloadSvg = exports.ArrowSvg = exports.SignIn = exports.LanguageSelector = exports.Selector = exports.PhoneSignUp = exports.EmailSignUp = exports.SignUpTypeThree = exports.SignUpTypeTwo = exports.SignUp = exports.RegistrationPromoCode = exports.CountrySelector = exports.CurrencySelector = exports.DocsCheckBox = exports.OneClick = exports.PromotionMobileApp = exports.BannerTemplate = exports.Banners = exports.LastBigWinners = exports.CountDown = exports.PortalLayout = exports.LandingLayoutTemplate = exports.DrawerLayout = exports.BonusCardLayout = exports.Alerts = exports.ModalLayout = exports.Pagination = exports.ReferralTable = exports.TournamentCard = void 0;
|
|
8
|
+
exports.RoSvg = exports.PtSvg = exports.NoSvg = exports.KzSvg = exports.KoSvg = exports.ItSvg = exports.HiSvg = exports.FrSvg = exports.EsSvg = exports.EnSvg = exports.DeSvg = exports.ChSvg = exports.BsSvg = exports.BnSvg = exports.AzeSvg = exports.PlatinumOneSvg = exports.PlatinumSvg = exports.GreenSvg = exports.GoldSvg = exports.DiamondSvg = exports.SilverSvg = exports.BronzeSvg = exports.InfoSecondSvg = exports.VipClubSvg = exports.ThirdBonusSvg = exports.SecondBonusSvg = exports.FirstBonusSvg = exports.WalletSvg = exports.TrashSvg = exports.ThreeDotsSvg = exports.SupportSvg = exports.StarSvg = exports.ShareSvg = exports.SelectedSvg = exports.ProvidersBlocksSvg = exports.SearchSvg = exports.PlusSvg = exports.InfoLotterySvg = exports.LotterySvg = exports.DrawerTogglerSvg = exports.GrowSvg = exports.GoogleSvg = exports.FavoritesSvg = exports.DocSvg = exports.CopySvg = exports.CoinsSvg = exports.CoinSvg = exports.OpenEyeSvg = exports.CloseEyeSvg = exports.CashSvg = void 0;
|
|
9
|
+
exports.NavCasinoSvg = exports.NavMyBetsSvg = exports.NavReferralSvg = exports.NavTournamentSvg = exports.Notifications = exports.NotificationSuccessSvg = exports.NotificationErrorSvg = exports.NotificationWarningSvg = exports.NotFoundBonusesSvg = exports.VolleyballSvg = exports.TennisSvg = exports.TableTennisSvg = exports.SquashSvg = exports.SoccerSvg = exports.SnookerSvg = exports.RugbySvg = exports.MmaSvg = exports.KabaddiSvg = exports.IceHockeySvg = exports.FutsalSvg = exports.FieldHockeySvg = exports.EsportSvg = exports.ENhlSvg = exports.ENbaSvg = exports.EFifaSvg = exports.DartsSvg = exports.CricketSvg = exports.ChessSvg = exports.BoxingSvg = exports.BeachSoccerSvg = exports.Basketball3x3Svg = exports.BasketballSvg = exports.BaseballSvg = exports.BadmintonSvg = exports.AussieRulesSvg = exports.AmericanFootballSvg = exports.WithdrawSvg = exports.WaitingSvg = exports.SuccessSvg = exports.ErrorSvg = exports.DepositSvg = exports.RecommendedSvg = exports.CasinoCoinSvg = exports.DefaultImgSvg = exports.ProvidersSvg = exports.TournamentWagerSvg = exports.UzSvg = exports.UkrSvg = exports.TrSvg = exports.RuSvg = void 0;
|
|
10
|
+
exports.HookProvider = exports.useHookProvider = exports.REFERRAL_CODE = exports.REFERRAL_KEY = exports.COUNTRY_MOCK = exports.EAppType = exports.copyToClipboard = exports.getRegistrationData = exports.getAuthorizationData = exports.sleep = exports.getCasinoCategoryIcon = exports.EDirection = exports.wheelPromoSelectors = exports.useZustandWheelPromoKitStore = exports.connectionSelectors = exports.useZustandConnectionKitStore = exports.gamesSelectors = exports.useZustandCasinoGamesKitStore = exports.requestSelectors = exports.useZustandRequestKitStore = exports.zustandSignInKitSelectors = exports.useZustandSignInKitStore = exports.zustandRegistrationKitSelector = exports.useZustandRegistrationKitStore = exports.zustandDeviceKitSelector = exports.useZustandDeviceKitStore = exports.zustandModalKitSelector = exports.useZustandModalKitStore = exports.notificationKitSelectors = exports.useZustandNotificationKitStore = exports.Text = exports.languageSelectors = exports.useZustandLanguagesKitStore = exports.AccordionGroup = exports.Accordion = exports.Leaderboard = exports.BattleBanner = exports.Section = exports.Step = exports.BattlesCard = exports.NavBettingSvg = exports.NavBettingLiveSvg = exports.NavBonusesSvg = void 0;
|
|
11
11
|
// Buttons
|
|
12
12
|
var Buttons_1 = require("components/ui/Buttons");
|
|
13
13
|
Object.defineProperty(exports, "BaseButton", { enumerable: true, get: function () { return Buttons_1.BaseButton; } });
|
|
@@ -40,19 +40,23 @@ Object.defineProperty(exports, "DocsCheckBox", { enumerable: true, get: function
|
|
|
40
40
|
var CountrySelector_1 = require("components/SignUp/CountrySelector");
|
|
41
41
|
Object.defineProperty(exports, "CountrySelector", { enumerable: true, get: function () { return CountrySelector_1.CountrySelector; } });
|
|
42
42
|
// Sign Up
|
|
43
|
-
var
|
|
44
|
-
Object.defineProperty(exports, "SignUp", { enumerable: true, get: function () { return
|
|
45
|
-
var
|
|
46
|
-
Object.defineProperty(exports, "SignUpTypeTwo", { enumerable: true, get: function () { return
|
|
43
|
+
var First_1 = require("components/Modals/Alert/components/Auth/SignUp/First");
|
|
44
|
+
Object.defineProperty(exports, "SignUp", { enumerable: true, get: function () { return First_1.SignUp; } });
|
|
45
|
+
var Second_1 = require("components/Modals/Alert/components/Auth/SignUp/Second");
|
|
46
|
+
Object.defineProperty(exports, "SignUpTypeTwo", { enumerable: true, get: function () { return Second_1.SignUpTypeTwo; } });
|
|
47
|
+
var Third_1 = require("components/Modals/Alert/components/Auth/SignUp/Third");
|
|
48
|
+
Object.defineProperty(exports, "SignUpTypeThree", { enumerable: true, get: function () { return Third_1.SignUpTypeThree; } });
|
|
47
49
|
var types_1 = require("zustandStore/forms/signUp/types");
|
|
48
50
|
Object.defineProperty(exports, "ESignUpTheme", { enumerable: true, get: function () { return types_1.ESignUpTheme; } });
|
|
49
|
-
var
|
|
51
|
+
var types_2 = require("zustandStore/forms/signUp/types");
|
|
52
|
+
Object.defineProperty(exports, "ERegistrationFlow", { enumerable: true, get: function () { return types_2.ERegistrationFlow; } });
|
|
53
|
+
var EmailSignUp_1 = require("components/Modals/Alert/components/Auth/SignUp/First/components/Forms/EmailSignUp");
|
|
50
54
|
Object.defineProperty(exports, "EmailSignUp", { enumerable: true, get: function () { return EmailSignUp_1.EmailSignUp; } });
|
|
51
|
-
var PhoneSignUp_1 = require("components/Modals/Alert/components/Auth/SignUp/components/Forms/PhoneSignUp");
|
|
55
|
+
var PhoneSignUp_1 = require("components/Modals/Alert/components/Auth/SignUp/First/components/Forms/PhoneSignUp");
|
|
52
56
|
Object.defineProperty(exports, "PhoneSignUp", { enumerable: true, get: function () { return PhoneSignUp_1.PhoneSignUp; } });
|
|
53
57
|
// Sign In
|
|
54
|
-
var
|
|
55
|
-
Object.defineProperty(exports, "SignIn", { enumerable: true, get: function () { return
|
|
58
|
+
var First_2 = require("components/Modals/Alert/components/Auth/SignIn/First");
|
|
59
|
+
Object.defineProperty(exports, "SignIn", { enumerable: true, get: function () { return First_2.SignIn; } });
|
|
56
60
|
// Layouts
|
|
57
61
|
var ModalLayout_1 = require("components/Layouts/ModalLayout");
|
|
58
62
|
Object.defineProperty(exports, "ModalLayout", { enumerable: true, get: function () { return ModalLayout_1.ModalLayout; } });
|
|
@@ -102,8 +106,8 @@ Object.defineProperty(exports, "Footer", { enumerable: true, get: function () {
|
|
|
102
106
|
// Payments
|
|
103
107
|
var Methods_1 = require("components/Payments/Methods");
|
|
104
108
|
Object.defineProperty(exports, "PaymentsMethods", { enumerable: true, get: function () { return Methods_1.PaymentsMethods; } });
|
|
105
|
-
var
|
|
106
|
-
Object.defineProperty(exports, "EActiveMethodTab", { enumerable: true, get: function () { return
|
|
109
|
+
var types_3 = require("components/Payments/Methods/types");
|
|
110
|
+
Object.defineProperty(exports, "EActiveMethodTab", { enumerable: true, get: function () { return types_3.EActiveMethodTab; } });
|
|
107
111
|
var DepositSkelet_1 = require("components/Payments/DepositSkelet");
|
|
108
112
|
Object.defineProperty(exports, "DepositSkelet", { enumerable: true, get: function () { return DepositSkelet_1.DepositSkelet; } });
|
|
109
113
|
// Hooks
|
|
@@ -435,34 +439,34 @@ var store_2 = require("zustandStore/device/store");
|
|
|
435
439
|
Object.defineProperty(exports, "useZustandDeviceKitStore", { enumerable: true, get: function () { return store_2.useZustandDeviceKitStore; } });
|
|
436
440
|
var selectors_2 = require("zustandStore/device/selectors");
|
|
437
441
|
Object.defineProperty(exports, "zustandDeviceKitSelector", { enumerable: true, get: function () { return selectors_2.zustandDeviceKitSelector; } });
|
|
438
|
-
var
|
|
439
|
-
Object.defineProperty(exports, "EDeviceType", { enumerable: true, get: function () { return
|
|
442
|
+
var types_4 = require("zustandStore/device/types");
|
|
443
|
+
Object.defineProperty(exports, "EDeviceType", { enumerable: true, get: function () { return types_4.EDeviceType; } });
|
|
440
444
|
var utils_1 = require("zustandStore/device/utils");
|
|
441
445
|
Object.defineProperty(exports, "handleDeviceDetection", { enumerable: true, get: function () { return utils_1.handleDeviceDetection; } });
|
|
442
446
|
var store_3 = require("zustandStore/forms/signUp/store");
|
|
443
447
|
Object.defineProperty(exports, "useZustandRegistrationKitStore", { enumerable: true, get: function () { return store_3.useZustandRegistrationKitStore; } });
|
|
444
448
|
var selectors_3 = require("zustandStore/forms/signUp/selectors");
|
|
445
449
|
Object.defineProperty(exports, "zustandRegistrationKitSelector", { enumerable: true, get: function () { return selectors_3.zustandRegistrationKitSelector; } });
|
|
446
|
-
var
|
|
447
|
-
Object.defineProperty(exports, "ERegistrationForm", { enumerable: true, get: function () { return
|
|
450
|
+
var types_5 = require("zustandStore/forms/signUp/types");
|
|
451
|
+
Object.defineProperty(exports, "ERegistrationForm", { enumerable: true, get: function () { return types_5.ERegistrationForm; } });
|
|
448
452
|
var store_4 = require("zustandStore/forms/signIn/store");
|
|
449
453
|
Object.defineProperty(exports, "useZustandSignInKitStore", { enumerable: true, get: function () { return store_4.useZustandSignInKitStore; } });
|
|
450
454
|
var selectors_4 = require("zustandStore/forms/signIn/selectors");
|
|
451
455
|
Object.defineProperty(exports, "zustandSignInKitSelectors", { enumerable: true, get: function () { return selectors_4.zustandSignInKitSelectors; } });
|
|
452
|
-
var
|
|
453
|
-
Object.defineProperty(exports, "EAuthFormType", { enumerable: true, get: function () { return
|
|
456
|
+
var types_6 = require("zustandStore/forms/signIn/types");
|
|
457
|
+
Object.defineProperty(exports, "EAuthFormType", { enumerable: true, get: function () { return types_6.EAuthFormType; } });
|
|
454
458
|
var store_5 = require("zustandStore/alerts/notification/store");
|
|
455
459
|
Object.defineProperty(exports, "useZustandNotificationKitStore", { enumerable: true, get: function () { return store_5.useZustandNotificationKitStore; } });
|
|
456
460
|
var selectors_5 = require("zustandStore/alerts/notification/selectors");
|
|
457
461
|
Object.defineProperty(exports, "notificationKitSelectors", { enumerable: true, get: function () { return selectors_5.notificationKitSelectors; } });
|
|
458
|
-
var
|
|
459
|
-
Object.defineProperty(exports, "ENotificationType", { enumerable: true, get: function () { return
|
|
462
|
+
var types_7 = require("zustandStore/alerts/notification/types");
|
|
463
|
+
Object.defineProperty(exports, "ENotificationType", { enumerable: true, get: function () { return types_7.ENotificationType; } });
|
|
460
464
|
var store_6 = require("zustandStore/alerts/modal/store");
|
|
461
465
|
Object.defineProperty(exports, "useZustandModalKitStore", { enumerable: true, get: function () { return store_6.useZustandModalKitStore; } });
|
|
462
466
|
var selectors_6 = require("zustandStore/alerts/modal/selectors");
|
|
463
467
|
Object.defineProperty(exports, "zustandModalKitSelector", { enumerable: true, get: function () { return selectors_6.zustandModalKitSelector; } });
|
|
464
|
-
var
|
|
465
|
-
Object.defineProperty(exports, "EModalTypes", { enumerable: true, get: function () { return
|
|
468
|
+
var types_8 = require("zustandStore/alerts/modal/types");
|
|
469
|
+
Object.defineProperty(exports, "EModalTypes", { enumerable: true, get: function () { return types_8.EModalTypes; } });
|
|
466
470
|
var selector_1 = require("./zustandStore/request/selector");
|
|
467
471
|
Object.defineProperty(exports, "requestSelectors", { enumerable: true, get: function () { return selector_1.requestSelectors; } });
|
|
468
472
|
var store_7 = require("./zustandStore/request/store");
|
|
@@ -479,10 +483,10 @@ var selectors_9 = require("zustandStore/wheelPromo/selectors");
|
|
|
479
483
|
Object.defineProperty(exports, "wheelPromoSelectors", { enumerable: true, get: function () { return selectors_9.wheelPromoSelectors; } });
|
|
480
484
|
var store_10 = require("zustandStore/wheelPromo/store");
|
|
481
485
|
Object.defineProperty(exports, "useZustandWheelPromoKitStore", { enumerable: true, get: function () { return store_10.useZustandWheelPromoKitStore; } });
|
|
482
|
-
var
|
|
483
|
-
Object.defineProperty(exports, "EWheelState", { enumerable: true, get: function () { return
|
|
484
|
-
var
|
|
485
|
-
Object.defineProperty(exports, "EDirection", { enumerable: true, get: function () { return
|
|
486
|
+
var types_9 = require("zustandStore/wheelPromo/types");
|
|
487
|
+
Object.defineProperty(exports, "EWheelState", { enumerable: true, get: function () { return types_9.EWheelState; } });
|
|
488
|
+
var types_10 = require("components/ui/LanguageSelector/types");
|
|
489
|
+
Object.defineProperty(exports, "EDirection", { enumerable: true, get: function () { return types_10.EDirection; } });
|
|
486
490
|
// Hooks
|
|
487
491
|
var useTranslate_1 = require("hooks/useTranslate");
|
|
488
492
|
Object.defineProperty(exports, "useTranslate", { enumerable: true, get: function () { return useTranslate_1.useTranslate; } });
|
|
@@ -61,4 +61,7 @@ var EModalTypes;
|
|
|
61
61
|
EModalTypes[EModalTypes["AviatrixSpins"] = 46] = "AviatrixSpins";
|
|
62
62
|
EModalTypes[EModalTypes["LandingBonus"] = 47] = "LandingBonus";
|
|
63
63
|
EModalTypes[EModalTypes["ChickenBonus"] = 48] = "ChickenBonus";
|
|
64
|
+
EModalTypes[EModalTypes["SignUpThree"] = 49] = "SignUpThree";
|
|
65
|
+
EModalTypes[EModalTypes["SignInThree"] = 50] = "SignInThree";
|
|
66
|
+
EModalTypes[EModalTypes["LostPasswordThree"] = 51] = "LostPasswordThree";
|
|
64
67
|
})(EModalTypes = exports.EModalTypes || (exports.EModalTypes = {}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ERegistrationSocial = exports.ESignUpTheme = exports.ERegistrationForm = void 0;
|
|
3
|
+
exports.ERegistrationSocial = exports.ESignUpTheme = exports.ERegistrationFlow = exports.ERegistrationForm = void 0;
|
|
4
4
|
var ERegistrationForm;
|
|
5
5
|
(function (ERegistrationForm) {
|
|
6
6
|
ERegistrationForm[ERegistrationForm["Email"] = 1] = "Email";
|
|
@@ -8,6 +8,11 @@ var ERegistrationForm;
|
|
|
8
8
|
ERegistrationForm[ERegistrationForm["OneClick"] = 3] = "OneClick";
|
|
9
9
|
ERegistrationForm[ERegistrationForm["PhoneWithoutCode"] = 4] = "PhoneWithoutCode";
|
|
10
10
|
})(ERegistrationForm = exports.ERegistrationForm || (exports.ERegistrationForm = {}));
|
|
11
|
+
var ERegistrationFlow;
|
|
12
|
+
(function (ERegistrationFlow) {
|
|
13
|
+
ERegistrationFlow[ERegistrationFlow["Socket"] = 0] = "Socket";
|
|
14
|
+
ERegistrationFlow[ERegistrationFlow["Rest"] = 1] = "Rest";
|
|
15
|
+
})(ERegistrationFlow = exports.ERegistrationFlow || (exports.ERegistrationFlow = {}));
|
|
11
16
|
var ESignUpTheme;
|
|
12
17
|
(function (ESignUpTheme) {
|
|
13
18
|
ESignUpTheme["Purple"] = "purple";
|