react-gldn-kit 0.1.86 → 0.1.89
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/Modals/Alert/components/Auth/SignUp/First/index.js +2 -2
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/First/types.d.ts +1 -2
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Second/index.js +3 -44
- package/dist/lib/components/Modals/Alert/components/Auth/SignUp/Third/index.js +2 -2
- package/dist/lib/context/logic/ModalContext.d.ts +1 -2
- package/dist/lib/index.d.ts +0 -1
- package/dist/lib/index.js +21 -23
- package/dist/lib/zustandStore/forms/signUp/types.d.ts +0 -5
- package/dist/lib/zustandStore/forms/signUp/types.js +1 -7
- package/dist/lib/zustandStore/forms/signUp/utils.d.ts +1 -0
- package/dist/lib/zustandStore/forms/signUp/utils.js +1 -0
- package/dist/lib/zustandStore/request/selector.d.ts +1 -0
- package/dist/lib/zustandStore/request/selector.js +4 -0
- package/package.json +1 -1
|
@@ -73,7 +73,7 @@ var SignUp = function (props) {
|
|
|
73
73
|
var setActiveForm = (0, store_2.useZustandRegistrationKitStore)(selectors_2.zustandRegistrationKitSelector.setActiveRegistrationFormAction);
|
|
74
74
|
var setModal = (0, store_1.useZustandModalKitStore)(selectors_1.zustandModalKitSelector.closeAndOpenModalAction);
|
|
75
75
|
var data = (0, store_1.useZustandModalKitStore)(selectors_1.zustandModalKitSelector.getModalAdditionalInfoSelector) || {};
|
|
76
|
-
var _d = data.bonusSignUp, bonusSignUp = _d === void 0 ? (registrationSettings === null || registrationSettings === void 0 ? void 0 : registrationSettings.bonusSignUp) || false : _d, _e = data.bonusText, modalBonusText = _e === void 0 ? (registrationSettings === null || registrationSettings === void 0 ? void 0 : registrationSettings.bonusText) || '' : _e, _f = data.bonusSubText, modalBonusSubText = _f === void 0 ? (registrationSettings === null || registrationSettings === void 0 ? void 0 : registrationSettings.bonusSubText) || '' : _f, _g = data.withCongratulationText, modalWithCongratulationText = _g === void 0 ? withCongratulationText : _g, _h = data.
|
|
76
|
+
var _d = data.bonusSignUp, bonusSignUp = _d === void 0 ? (registrationSettings === null || registrationSettings === void 0 ? void 0 : registrationSettings.bonusSignUp) || false : _d, _e = data.bonusText, modalBonusText = _e === void 0 ? (registrationSettings === null || registrationSettings === void 0 ? void 0 : registrationSettings.bonusText) || '' : _e, _f = data.bonusSubText, modalBonusSubText = _f === void 0 ? (registrationSettings === null || registrationSettings === void 0 ? void 0 : registrationSettings.bonusSubText) || '' : _f, _g = data.withCongratulationText, modalWithCongratulationText = _g === void 0 ? withCongratulationText : _g, _h = data.buttonText, buttonSignUpText = _h === void 0 ? '' : _h, _j = data.registrationTheme, registrationTheme = _j === void 0 ? types_2.ESignUpTheme.BaseGreen : _j;
|
|
77
77
|
var regType = (registrationSettings === null || registrationSettings === void 0 ? void 0 : registrationSettings.registrationTheme) ||
|
|
78
78
|
registrationTheme;
|
|
79
79
|
var isCongratulation = modalWithCongratulationText;
|
|
@@ -98,6 +98,6 @@ var SignUp = function (props) {
|
|
|
98
98
|
_a[styles.white] = types_2.ESignUpTheme[regType] === types_2.ESignUpTheme.BaseWhite,
|
|
99
99
|
_a)) }, { children: [(bonusSignUp || customBonusText) && ((0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.bonusText }, { children: [isCongratulation && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.textTitle }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "wheelTwo.secondPopUp.title" }) }))), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.subText }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: customBonusSubText
|
|
100
100
|
? customBonusSubText
|
|
101
|
-
: 'wheelTwo.secondPopUp.subTitle' }) })), (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: customBonusText ? customBonusText : 'wheelTwo.secondPopUp.bonus' })] }))), (ui_1.IS_DEV === null || ui_1.IS_DEV === void 0 ? void 0 : (0, ui_1.IS_DEV)()) && (0, jsx_runtime_1.jsx)(SocialButtons_1.SocialButtons, { social: ['Google'] }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.wrapperTabsAndForm }, { children: [activeForm !== null && tabs.length !== 1 && ((0, jsx_runtime_1.jsx)(Tabs_1.Tabs, { activeValue: activeForm, data: tabs, onChange: setActiveForm, classes: styles.tabs, type: "underline" })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.zIndex }, { children: [activeForm === types_2.ERegistrationForm.Email && ((0, jsx_runtime_1.jsx)(EmailSignUp_1.EmailSignUp, { isSelected: true, countryInfo: countryInfo, handleRegistration: sendRegistrationCommand
|
|
101
|
+
: 'wheelTwo.secondPopUp.subTitle' }) })), (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: customBonusText ? customBonusText : 'wheelTwo.secondPopUp.bonus' })] }))), (ui_1.IS_DEV === null || ui_1.IS_DEV === void 0 ? void 0 : (0, ui_1.IS_DEV)()) && (0, jsx_runtime_1.jsx)(SocialButtons_1.SocialButtons, { social: ['Google'] }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.wrapperTabsAndForm }, { children: [activeForm !== null && tabs.length !== 1 && ((0, jsx_runtime_1.jsx)(Tabs_1.Tabs, { activeValue: activeForm, data: tabs, onChange: setActiveForm, classes: styles.tabs, type: "underline" })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.zIndex }, { children: [activeForm === types_2.ERegistrationForm.Email && ((0, jsx_runtime_1.jsx)(EmailSignUp_1.EmailSignUp, { isSelected: true, countryInfo: countryInfo, handleRegistration: sendRegistrationCommand, availableCurrencies: availableCurrencies || [], buttonText: customSignUpButtonText })), activeForm === types_2.ERegistrationForm.Phone && ((0, jsx_runtime_1.jsx)(PhoneSignUp_1.PhoneSignUp, { isSelected: true, requestCode: handleRegistrationCode, handleRegistration: sendRegistrationCommand, countryInfo: countryInfo, availableCurrencies: availableCurrencies || [], buttonText: customSignUpButtonText })), activeForm === types_2.ERegistrationForm.PhoneWithoutCode && ((0, jsx_runtime_1.jsx)(PhoneSignUp_1.PhoneSignUp, { withoutCode: true, isSelected: true, requestCode: handleRegistrationCode, handleRegistration: sendRegistrationCommand, countryInfo: countryInfo, availableCurrencies: availableCurrencies || [], buttonText: customSignUpButtonText })), activeForm === types_2.ERegistrationForm.OneClick && ((0, jsx_runtime_1.jsx)(OneClickKit_1.default, { isSelected: true, handleRegistration: sendRegistrationCommand, countryInfo: countryInfo, availableCurrencies: availableCurrencies || [] }))] }))] })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.authButtonText, onClick: openSignIn }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "registration.logInButton" }) }))] })) })));
|
|
102
102
|
};
|
|
103
103
|
exports.SignUp = SignUp;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ESignUpTheme } from 'zustandStore/forms/signUp/types';
|
|
2
2
|
export type SignUpProps = {
|
|
3
3
|
classes?: string;
|
|
4
4
|
bonusText?: string;
|
|
5
5
|
bonusSubText?: string;
|
|
6
6
|
withCongratulationText?: boolean;
|
|
7
7
|
registrationSettings?: {
|
|
8
|
-
flow?: ERegistrationFlow;
|
|
9
8
|
bonusText?: string;
|
|
10
9
|
bonusSubText?: string;
|
|
11
10
|
bonusSignUp?: boolean;
|
|
@@ -119,7 +119,7 @@ var SignUpTypeTwo = function () {
|
|
|
119
119
|
var _h = (0, react_1.useState)(constant_1.DEFAULT_INPUT_VALUE), email = _h[0], setEmail = _h[1];
|
|
120
120
|
var titleRef = (0, react_1.useRef)(null);
|
|
121
121
|
var _j = (0, react_1.useState)(0), titleHeight = _j[0], setTitleHeight = _j[1];
|
|
122
|
-
var _k = data.registrationTitle, registrationTitle = _k === void 0 ? 'signUpTwo.won' : _k, _l = data.bonusImagePath, bonusImagePath = _l === void 0 ? '' : _l, _m = data.registrationTheme, registrationTheme = _m === void 0 ? types_3.ESignUpTheme.Brown : _m, _o = data.buttonText, buttonText = _o === void 0 ? 'signUpTwo.joinNow' : _o, _p = data.social, social = _p === void 0 ? [] : _p
|
|
122
|
+
var _k = data.registrationTitle, registrationTitle = _k === void 0 ? 'signUpTwo.won' : _k, _l = data.bonusImagePath, bonusImagePath = _l === void 0 ? '' : _l, _m = data.registrationTheme, registrationTheme = _m === void 0 ? types_3.ESignUpTheme.Brown : _m, _o = data.buttonText, buttonText = _o === void 0 ? 'signUpTwo.joinNow' : _o, _p = data.social, social = _p === void 0 ? [] : _p;
|
|
123
123
|
var regType = registrationTheme;
|
|
124
124
|
var openSignIn = function () {
|
|
125
125
|
setModal(types_2.EModalTypes.SignIn, {
|
|
@@ -132,47 +132,12 @@ var SignUpTypeTwo = function () {
|
|
|
132
132
|
var handleSubmit = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
133
133
|
var isPhone, sendData_1, sendData;
|
|
134
134
|
return __generator(this, function (_a) {
|
|
135
|
-
// console.info(analytics, 'analytics');
|
|
136
|
-
// if (analytics?.AB) {
|
|
137
|
-
// const {
|
|
138
|
-
// goal,
|
|
139
|
-
// domain = 'padmin.elon.casino',
|
|
140
|
-
// postBack = null,
|
|
141
|
-
// } = analytics.AB;
|
|
142
|
-
// if (postBack) {
|
|
143
|
-
// try {
|
|
144
|
-
// const res = await fetch(`${postBack}${clickId}`, {
|
|
145
|
-
// method: 'GET',
|
|
146
|
-
// });
|
|
147
|
-
// } catch (error) {
|
|
148
|
-
// console.error('🚀 ~ handleSubmit ~ error:', error);
|
|
149
|
-
// }
|
|
150
|
-
// } else {
|
|
151
|
-
// sendPostBack(domain, clickId, goal);
|
|
152
|
-
// }
|
|
153
|
-
// }
|
|
154
|
-
// if (analytics?.GA) {
|
|
155
|
-
// trackEvent('click_registration_button', {
|
|
156
|
-
// description: 'click registration button',
|
|
157
|
-
// });
|
|
158
|
-
// }
|
|
159
135
|
if (!isSelected) {
|
|
160
|
-
// if (analytics?.GA) {
|
|
161
|
-
// trackEvent('click_registration_button_checkbox', {
|
|
162
|
-
// description:
|
|
163
|
-
// 'click registration button _ age selector is not selected',
|
|
164
|
-
// });
|
|
165
|
-
// }
|
|
166
136
|
return [2 /*return*/];
|
|
167
137
|
}
|
|
168
138
|
isPhone = activeForm === types_3.ERegistrationForm.PhoneWithoutCode;
|
|
169
139
|
if (isPhone) {
|
|
170
140
|
if (!phone) {
|
|
171
|
-
// if (analytics?.GA) {
|
|
172
|
-
// trackEvent('click_registration_button_phone', {
|
|
173
|
-
// description: 'click registration button _ phone not found',
|
|
174
|
-
// });
|
|
175
|
-
// }
|
|
176
141
|
return [2 /*return*/];
|
|
177
142
|
}
|
|
178
143
|
sendData_1 = __assign(__assign({}, (0, utils_1.getRegistrationData)({
|
|
@@ -183,13 +148,7 @@ var SignUpTypeTwo = function () {
|
|
|
183
148
|
countryName: '', // TODO back not validate this value
|
|
184
149
|
})), { letter: 0, login: phone, email: '', password: password, sms: '', requestId: types_1.ERequestIds.Registration });
|
|
185
150
|
setRegisteredLogin(phone);
|
|
186
|
-
sendRegistrationCommand(
|
|
187
|
-
// if (analytics?.GA) {
|
|
188
|
-
// trackEvent('click_registration_button_phone_send', {
|
|
189
|
-
// description:
|
|
190
|
-
// 'click registration button _ send data to socket ( phone )',
|
|
191
|
-
// });
|
|
192
|
-
// }
|
|
151
|
+
sendRegistrationCommand('08x', sendData_1);
|
|
193
152
|
return [2 /*return*/];
|
|
194
153
|
}
|
|
195
154
|
sendData = (0, utils_1.getRegistrationData)({
|
|
@@ -200,7 +159,7 @@ var SignUpTypeTwo = function () {
|
|
|
200
159
|
countryName: '', // TODO back not validate this value
|
|
201
160
|
});
|
|
202
161
|
setRegisteredLogin(email.value);
|
|
203
|
-
sendRegistrationCommand(
|
|
162
|
+
sendRegistrationCommand('06x', __assign(__assign({}, sendData), { email: email.value, password: password, letters: 0, promoCode: '' }));
|
|
204
163
|
return [2 /*return*/];
|
|
205
164
|
});
|
|
206
165
|
}); };
|
|
@@ -74,7 +74,7 @@ var SignUpTypeThree = function () {
|
|
|
74
74
|
var setActiveForm = (0, store_1.useZustandRegistrationKitStore)(selectors_1.zustandRegistrationKitSelector.setActiveRegistrationFormAction);
|
|
75
75
|
var closeAndOpen = (0, store_2.useZustandModalKitStore)(selectors_2.zustandModalKitSelector.closeAndOpenModalAction);
|
|
76
76
|
var additionalSettings = (0, store_2.useZustandModalKitStore)(selectors_2.zustandModalKitSelector.getModalAdditionalInfoSelector) || {};
|
|
77
|
-
var _c = additionalSettings.registrationTheme, registrationTheme = _c === void 0 ? types_1.ESignUpThreeTheme.Yellow : _c, _d = additionalSettings.promotionImagePath, promotionImagePath = _d === void 0 ? '' : _d
|
|
77
|
+
var _c = additionalSettings.registrationTheme, registrationTheme = _c === void 0 ? types_1.ESignUpThreeTheme.Yellow : _c, _d = additionalSettings.promotionImagePath, promotionImagePath = _d === void 0 ? '' : _d;
|
|
78
78
|
var isMobile = (0, store_3.useZustandDeviceKitStore)(selectors_3.zustandDeviceKitSelector.isMobileDeviceSelector);
|
|
79
79
|
var tabs = (0, store_1.useZustandRegistrationKitStore)(selectors_1.zustandRegistrationKitSelector.getRegistrationTabsSelector);
|
|
80
80
|
// const docs: any = {};
|
|
@@ -133,7 +133,7 @@ var SignUpTypeThree = function () {
|
|
|
133
133
|
backgroundPosition: 'center',
|
|
134
134
|
backgroundSize: '100% 100%',
|
|
135
135
|
backgroundRepeat: 'no-repeat',
|
|
136
|
-
} }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.title }, { children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "signUpThree.title" }), !(additionalSettings === null || additionalSettings === void 0 ? void 0 : additionalSettings.preventClose) && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.close, onClick: openPopUp(types_2.EModalTypes.Unknown) }, { children: (0, jsx_runtime_1.jsx)(CrossSvg_1.CrossSvg, { classes: styles.closeIcon }) })))] })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.wrapperTabsAndForm }, { children: [activeForm !== null && tabs.length !== 1 && ((0, jsx_runtime_1.jsx)(Tabs_1.Tabs, { activeValue: activeForm, data: tabs, onChange: setActiveForm, classes: styles.tabs, tabClasses: styles.tab, type: "underline" })), (0, jsx_runtime_1.jsx)("div", { className: styles.dash }), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.subTitle, onClick: handleOpenSignIn }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "signUpThree.description" }) })), activeForm === types_3.ERegistrationForm.Email && ((0, jsx_runtime_1.jsx)(EmailSignUp_1.EmailSignUp, { isSelected: true, countryInfo: countryInfo, handleRegistration: sendRegistrationCommand
|
|
136
|
+
} }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.title }, { children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "signUpThree.title" }), !(additionalSettings === null || additionalSettings === void 0 ? void 0 : additionalSettings.preventClose) && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.close, onClick: openPopUp(types_2.EModalTypes.Unknown) }, { children: (0, jsx_runtime_1.jsx)(CrossSvg_1.CrossSvg, { classes: styles.closeIcon }) })))] })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.wrapperTabsAndForm }, { children: [activeForm !== null && tabs.length !== 1 && ((0, jsx_runtime_1.jsx)(Tabs_1.Tabs, { activeValue: activeForm, data: tabs, onChange: setActiveForm, classes: styles.tabs, tabClasses: styles.tab, type: "underline" })), (0, jsx_runtime_1.jsx)("div", { className: styles.dash }), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.subTitle, onClick: handleOpenSignIn }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "signUpThree.description" }) })), activeForm === types_3.ERegistrationForm.Email && ((0, jsx_runtime_1.jsx)(EmailSignUp_1.EmailSignUp, { isSelected: true, countryInfo: countryInfo, handleRegistration: sendRegistrationCommand, availableCurrencies: availableCurrencies || [], classes: styles.marginBottom })), activeForm === types_3.ERegistrationForm.Phone && ((0, jsx_runtime_1.jsx)(PhoneSignUp_1.PhoneSignUp, { isSelected: true, requestCode: handleRequestCodeRegistration, handleRegistration: sendRegistrationCommand, countryInfo: countryInfo, availableCurrencies: availableCurrencies || [], classes: styles.marginBottom })), activeForm === types_3.ERegistrationForm.PhoneWithoutCode && ((0, jsx_runtime_1.jsx)(PhoneSignUp_1.PhoneSignUp, { withoutCode: true, isSelected: true, requestCode: handleRequestCodeRegistration, handleRegistration: sendRegistrationCommand, countryInfo: countryInfo, availableCurrencies: availableCurrencies || [], classes: styles.marginBottom })), activeForm === types_3.ERegistrationForm.OneClick && ((0, jsx_runtime_1.jsx)(OneClickKit_1.default, { isSelected: true, handleRegistration: sendRegistrationCommand, countryInfo: countryInfo, availableCurrencies: availableCurrencies || [], classes: styles.marginBottom }))] }))] })), (0, jsx_runtime_1.jsx)("div", { className: styles.rightSide, style: {
|
|
137
137
|
backgroundImage: promotionImagePath ||
|
|
138
138
|
"url(/landings/assets-builder/signUpThree/".concat(appType, "/desk.png)"),
|
|
139
139
|
backgroundPosition: 'top',
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { CurrencyInfo } from 'react-memory-optimization/dist/lib/store/user/types';
|
|
3
3
|
import { EAppType } from 'types/ui';
|
|
4
|
-
import { ERegistrationFlow } from 'zustandStore/forms/signUp/types';
|
|
5
4
|
type HookContextType = {
|
|
6
5
|
useTransportControllers: () => any;
|
|
7
6
|
useCurrencies: () => null | CurrencyInfo[];
|
|
@@ -11,7 +10,7 @@ type HookContextType = {
|
|
|
11
10
|
promo: string;
|
|
12
11
|
currencyId: number;
|
|
13
12
|
}) => any;
|
|
14
|
-
sendRegistrationCommand: (
|
|
13
|
+
sendRegistrationCommand: (key: string, data: any) => any;
|
|
15
14
|
appType: EAppType;
|
|
16
15
|
};
|
|
17
16
|
export declare const HookProvider: import("react").Provider<HookContextType>;
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ import { SignUpTypeTwo } from 'components/Modals/Alert/components/Auth/SignUp/Se
|
|
|
17
17
|
import { SignUpTypeThree } from 'components/Modals/Alert/components/Auth/SignUp/Third';
|
|
18
18
|
export { SignUpProps } from 'components/Modals/Alert/components/Auth/SignUp/First/types';
|
|
19
19
|
export { ESignUpTheme } from 'zustandStore/forms/signUp/types';
|
|
20
|
-
export { ERegistrationFlow } from 'zustandStore/forms/signUp/types';
|
|
21
20
|
import { EmailSignUp } from 'components/Modals/Alert/components/Auth/SignUp/First/components/Forms/EmailSignUp';
|
|
22
21
|
import { PhoneSignUp } from 'components/Modals/Alert/components/Auth/SignUp/First/components/Forms/PhoneSignUp';
|
|
23
22
|
import { SignIn } from 'components/Modals/Alert/components/Auth/SignIn/First';
|
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.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.
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
6
|
+
exports.TournamentCard = 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.ESignUpTheme = void 0;
|
|
7
|
+
exports.CashSvg = 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 = void 0;
|
|
8
|
+
exports.RuSvg = 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 = void 0;
|
|
9
|
+
exports.NavBonusesSvg = 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 = 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 = 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; } });
|
|
@@ -48,8 +48,6 @@ var Third_1 = require("components/Modals/Alert/components/Auth/SignUp/Third");
|
|
|
48
48
|
Object.defineProperty(exports, "SignUpTypeThree", { enumerable: true, get: function () { return Third_1.SignUpTypeThree; } });
|
|
49
49
|
var types_1 = require("zustandStore/forms/signUp/types");
|
|
50
50
|
Object.defineProperty(exports, "ESignUpTheme", { enumerable: true, get: function () { return types_1.ESignUpTheme; } });
|
|
51
|
-
var types_2 = require("zustandStore/forms/signUp/types");
|
|
52
|
-
Object.defineProperty(exports, "ERegistrationFlow", { enumerable: true, get: function () { return types_2.ERegistrationFlow; } });
|
|
53
51
|
var EmailSignUp_1 = require("components/Modals/Alert/components/Auth/SignUp/First/components/Forms/EmailSignUp");
|
|
54
52
|
Object.defineProperty(exports, "EmailSignUp", { enumerable: true, get: function () { return EmailSignUp_1.EmailSignUp; } });
|
|
55
53
|
var PhoneSignUp_1 = require("components/Modals/Alert/components/Auth/SignUp/First/components/Forms/PhoneSignUp");
|
|
@@ -106,8 +104,8 @@ Object.defineProperty(exports, "Footer", { enumerable: true, get: function () {
|
|
|
106
104
|
// Payments
|
|
107
105
|
var Methods_1 = require("components/Payments/Methods");
|
|
108
106
|
Object.defineProperty(exports, "PaymentsMethods", { enumerable: true, get: function () { return Methods_1.PaymentsMethods; } });
|
|
109
|
-
var
|
|
110
|
-
Object.defineProperty(exports, "EActiveMethodTab", { enumerable: true, get: function () { return
|
|
107
|
+
var types_2 = require("components/Payments/Methods/types");
|
|
108
|
+
Object.defineProperty(exports, "EActiveMethodTab", { enumerable: true, get: function () { return types_2.EActiveMethodTab; } });
|
|
111
109
|
var DepositSkelet_1 = require("components/Payments/DepositSkelet");
|
|
112
110
|
Object.defineProperty(exports, "DepositSkelet", { enumerable: true, get: function () { return DepositSkelet_1.DepositSkelet; } });
|
|
113
111
|
// Hooks
|
|
@@ -439,34 +437,34 @@ var store_2 = require("zustandStore/device/store");
|
|
|
439
437
|
Object.defineProperty(exports, "useZustandDeviceKitStore", { enumerable: true, get: function () { return store_2.useZustandDeviceKitStore; } });
|
|
440
438
|
var selectors_2 = require("zustandStore/device/selectors");
|
|
441
439
|
Object.defineProperty(exports, "zustandDeviceKitSelector", { enumerable: true, get: function () { return selectors_2.zustandDeviceKitSelector; } });
|
|
442
|
-
var
|
|
443
|
-
Object.defineProperty(exports, "EDeviceType", { enumerable: true, get: function () { return
|
|
440
|
+
var types_3 = require("zustandStore/device/types");
|
|
441
|
+
Object.defineProperty(exports, "EDeviceType", { enumerable: true, get: function () { return types_3.EDeviceType; } });
|
|
444
442
|
var utils_1 = require("zustandStore/device/utils");
|
|
445
443
|
Object.defineProperty(exports, "handleDeviceDetection", { enumerable: true, get: function () { return utils_1.handleDeviceDetection; } });
|
|
446
444
|
var store_3 = require("zustandStore/forms/signUp/store");
|
|
447
445
|
Object.defineProperty(exports, "useZustandRegistrationKitStore", { enumerable: true, get: function () { return store_3.useZustandRegistrationKitStore; } });
|
|
448
446
|
var selectors_3 = require("zustandStore/forms/signUp/selectors");
|
|
449
447
|
Object.defineProperty(exports, "zustandRegistrationKitSelector", { enumerable: true, get: function () { return selectors_3.zustandRegistrationKitSelector; } });
|
|
450
|
-
var
|
|
451
|
-
Object.defineProperty(exports, "ERegistrationForm", { enumerable: true, get: function () { return
|
|
448
|
+
var types_4 = require("zustandStore/forms/signUp/types");
|
|
449
|
+
Object.defineProperty(exports, "ERegistrationForm", { enumerable: true, get: function () { return types_4.ERegistrationForm; } });
|
|
452
450
|
var store_4 = require("zustandStore/forms/signIn/store");
|
|
453
451
|
Object.defineProperty(exports, "useZustandSignInKitStore", { enumerable: true, get: function () { return store_4.useZustandSignInKitStore; } });
|
|
454
452
|
var selectors_4 = require("zustandStore/forms/signIn/selectors");
|
|
455
453
|
Object.defineProperty(exports, "zustandSignInKitSelectors", { enumerable: true, get: function () { return selectors_4.zustandSignInKitSelectors; } });
|
|
456
|
-
var
|
|
457
|
-
Object.defineProperty(exports, "EAuthFormType", { enumerable: true, get: function () { return
|
|
454
|
+
var types_5 = require("zustandStore/forms/signIn/types");
|
|
455
|
+
Object.defineProperty(exports, "EAuthFormType", { enumerable: true, get: function () { return types_5.EAuthFormType; } });
|
|
458
456
|
var store_5 = require("zustandStore/alerts/notification/store");
|
|
459
457
|
Object.defineProperty(exports, "useZustandNotificationKitStore", { enumerable: true, get: function () { return store_5.useZustandNotificationKitStore; } });
|
|
460
458
|
var selectors_5 = require("zustandStore/alerts/notification/selectors");
|
|
461
459
|
Object.defineProperty(exports, "notificationKitSelectors", { enumerable: true, get: function () { return selectors_5.notificationKitSelectors; } });
|
|
462
|
-
var
|
|
463
|
-
Object.defineProperty(exports, "ENotificationType", { enumerable: true, get: function () { return
|
|
460
|
+
var types_6 = require("zustandStore/alerts/notification/types");
|
|
461
|
+
Object.defineProperty(exports, "ENotificationType", { enumerable: true, get: function () { return types_6.ENotificationType; } });
|
|
464
462
|
var store_6 = require("zustandStore/alerts/modal/store");
|
|
465
463
|
Object.defineProperty(exports, "useZustandModalKitStore", { enumerable: true, get: function () { return store_6.useZustandModalKitStore; } });
|
|
466
464
|
var selectors_6 = require("zustandStore/alerts/modal/selectors");
|
|
467
465
|
Object.defineProperty(exports, "zustandModalKitSelector", { enumerable: true, get: function () { return selectors_6.zustandModalKitSelector; } });
|
|
468
|
-
var
|
|
469
|
-
Object.defineProperty(exports, "EModalTypes", { enumerable: true, get: function () { return
|
|
466
|
+
var types_7 = require("zustandStore/alerts/modal/types");
|
|
467
|
+
Object.defineProperty(exports, "EModalTypes", { enumerable: true, get: function () { return types_7.EModalTypes; } });
|
|
470
468
|
var selector_1 = require("./zustandStore/request/selector");
|
|
471
469
|
Object.defineProperty(exports, "requestSelectors", { enumerable: true, get: function () { return selector_1.requestSelectors; } });
|
|
472
470
|
var store_7 = require("./zustandStore/request/store");
|
|
@@ -483,10 +481,10 @@ var selectors_9 = require("zustandStore/wheelPromo/selectors");
|
|
|
483
481
|
Object.defineProperty(exports, "wheelPromoSelectors", { enumerable: true, get: function () { return selectors_9.wheelPromoSelectors; } });
|
|
484
482
|
var store_10 = require("zustandStore/wheelPromo/store");
|
|
485
483
|
Object.defineProperty(exports, "useZustandWheelPromoKitStore", { enumerable: true, get: function () { return store_10.useZustandWheelPromoKitStore; } });
|
|
486
|
-
var
|
|
487
|
-
Object.defineProperty(exports, "EWheelState", { enumerable: true, get: function () { return
|
|
488
|
-
var
|
|
489
|
-
Object.defineProperty(exports, "EDirection", { enumerable: true, get: function () { return
|
|
484
|
+
var types_8 = require("zustandStore/wheelPromo/types");
|
|
485
|
+
Object.defineProperty(exports, "EWheelState", { enumerable: true, get: function () { return types_8.EWheelState; } });
|
|
486
|
+
var types_9 = require("components/ui/LanguageSelector/types");
|
|
487
|
+
Object.defineProperty(exports, "EDirection", { enumerable: true, get: function () { return types_9.EDirection; } });
|
|
490
488
|
// Hooks
|
|
491
489
|
var useTranslate_1 = require("hooks/useTranslate");
|
|
492
490
|
Object.defineProperty(exports, "useTranslate", { enumerable: true, get: function () { return useTranslate_1.useTranslate; } });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ERegistrationSocial = exports.ESignUpTheme = exports.
|
|
3
|
+
exports.ERegistrationSocial = exports.ESignUpTheme = exports.ERegistrationForm = void 0;
|
|
4
4
|
var ERegistrationForm;
|
|
5
5
|
(function (ERegistrationForm) {
|
|
6
6
|
ERegistrationForm[ERegistrationForm["Email"] = 1] = "Email";
|
|
@@ -8,12 +8,6 @@ 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[ERegistrationFlow["Redirect"] = 2] = "Redirect";
|
|
16
|
-
})(ERegistrationFlow = exports.ERegistrationFlow || (exports.ERegistrationFlow = {}));
|
|
17
11
|
var ESignUpTheme;
|
|
18
12
|
(function (ESignUpTheme) {
|
|
19
13
|
ESignUpTheme["Purple"] = "purple";
|
|
@@ -66,4 +66,5 @@ export declare const requestSelectors: {
|
|
|
66
66
|
resetRequestingLoadersSelector: (state: ZustandRequestStore) => () => void;
|
|
67
67
|
isRequestedCommandSelector: (id: ERequestIds) => (state: ZustandRequestStore) => boolean;
|
|
68
68
|
addRequestKeyForLoaderAction: (state: ZustandRequestStore) => (id: ERequestIds) => void;
|
|
69
|
+
removeRequestKeyForLoaderAction: (state: ZustandRequestStore) => (id: ERequestIds) => void;
|
|
69
70
|
};
|
|
@@ -12,10 +12,14 @@ var isRequestedCommandSelector = function (id) { return function (state) {
|
|
|
12
12
|
var addRequestKeyForLoaderAction = function (state) {
|
|
13
13
|
return state.addKey;
|
|
14
14
|
};
|
|
15
|
+
var removeRequestKeyForLoaderAction = function (state) {
|
|
16
|
+
return state.removeKey;
|
|
17
|
+
};
|
|
15
18
|
exports.requestSelectors = {
|
|
16
19
|
getRequestQueueSelector: getRequestQueueSelector,
|
|
17
20
|
resetRequestingLoadersSelector: resetRequestingLoadersSelector,
|
|
18
21
|
isRequestedCommandSelector: isRequestedCommandSelector,
|
|
19
22
|
// Actions
|
|
20
23
|
addRequestKeyForLoaderAction: addRequestKeyForLoaderAction,
|
|
24
|
+
removeRequestKeyForLoaderAction: removeRequestKeyForLoaderAction,
|
|
21
25
|
};
|