@truelab/truelogic-plinko 0.0.1 → 0.0.2
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/988.min.js +1 -1
- package/dist/preloader.html +1 -1
- package/dist/truelogic.min.css +1 -1
- package/dist/truelogic.min.js +1 -1
- package/dist/types/src/app/lib/singletones/publicEmitter.d.ts +4 -0
- package/dist/types/src/app/store.d.ts +40 -10
- package/dist/types/src/entities/activeRounds/index.d.ts +1 -0
- package/dist/types/src/entities/activeRounds/model/activeRoundsSlice.d.ts +18 -0
- package/dist/types/src/entities/autoplay/index.d.ts +1 -1
- package/dist/types/src/entities/autoplay/model/autoPlaySlice.d.ts +16 -2
- package/dist/types/src/entities/bonus/index.d.ts +1 -1
- package/dist/types/src/entities/bonus/model/bonusSlice.d.ts +17 -11
- package/dist/types/src/entities/fastplay/index.d.ts +1 -1
- package/dist/types/src/entities/fastplay/model/fastPlaySlice.d.ts +2 -1
- package/dist/types/src/entities/freeRounds/model/freeRoundsSlice.d.ts +1 -1
- package/dist/types/src/entities/modals/ui/ModalBaseHeader.d.ts +2 -1
- package/dist/types/src/entities/round/index.d.ts +1 -1
- package/dist/types/src/entities/round/model/roundSlice.d.ts +2 -2
- package/dist/types/src/entities/session/index.d.ts +1 -1
- package/dist/types/src/entities/session/model/sessionSlice.d.ts +2 -3
- package/dist/types/src/entities/stake/ui/StakeAmountSelector/StakeAmountSelector.d.ts +3 -1
- package/dist/types/src/features/bonus/index.d.ts +2 -0
- package/dist/types/src/features/bonus/ui/BonusFeatureSelector/BonusFeatureSelector.d.ts +7 -1
- package/dist/types/src/features/bonus/ui/BonusFeatureSelector/BonusFeatureSelectorItem.d.ts +9 -0
- package/dist/types/src/features/bonus/ui/BonusInfoTooltip/BonusInfoTooltip.d.ts +7 -0
- package/dist/types/src/features/bonus/ui/BonusShortcutIcons/BonusShortcutIcon.d.ts +5 -0
- package/dist/types/src/features/bonus/ui/BonusShortcutIcons/BonusShortcutIcons.d.ts +1 -0
- package/dist/types/src/features/panel/ui/PanelBonus.d.ts +4 -1
- package/dist/types/src/features/play/index.d.ts +1 -0
- package/dist/types/src/features/play/model/initRound.d.ts +10 -0
- package/dist/types/src/features/play/ui/PanelPlay/PanelPlay.d.ts +2 -1
- package/dist/types/src/features/riskSelector/index.d.ts +3 -0
- package/dist/types/src/features/riskSelector/model/constants.d.ts +5 -0
- package/dist/types/src/features/riskSelector/model/types.d.ts +5 -0
- package/dist/types/src/features/riskSelector/ui/RiskSelector.d.ts +1 -0
- package/dist/types/src/features/riskSelector/ui/RiskSelectorSelect.d.ts +1 -0
- package/dist/types/src/features/rowsSelector/index.d.ts +2 -0
- package/dist/types/src/features/rowsSelector/model/constants.d.ts +2 -0
- package/dist/types/src/features/rowsSelector/ui/RowsSelectorGrid.d.ts +1 -0
- package/dist/types/src/features/rowsSelector/ui/RowsSelectorSelect.d.ts +1 -0
- package/dist/types/src/features/welcome/index.d.ts +1 -0
- package/dist/types/src/features/welcome/ui/defaultV3/GameWelcomeV3.d.ts +2 -0
- package/dist/types/src/sandbox/config.d.ts +4 -0
- package/dist/types/src/shared/api/config/index.d.ts +1 -1
- package/dist/types/src/shared/api/config/types.d.ts +7 -0
- package/dist/types/src/shared/api/round/open/index.d.ts +1 -0
- package/dist/types/src/shared/api/round/open/types.d.ts +4 -0
- package/dist/types/src/shared/lib/singletones/gameEmitter.d.ts +1 -0
- package/dist/types/src/shared/lib/store/redux.d.ts +16 -4
- package/dist/types/src/shared/lib/tests/utils/getPreloadedState.d.ts +8 -2
- package/dist/types/src/shared/lib/tests/utils/setupTestStore.d.ts +16 -4
- package/dist/types/src/shared/lib/types/theme.d.ts +1 -0
- package/dist/types/src/shared/model/autoplay/types.d.ts +1 -0
- package/dist/types/src/shared/model/modals/modalsSlice.d.ts +1 -1
- package/dist/types/src/shared/model/welcome/types.d.ts +11 -1
- package/dist/types/src/shared/ui/Switch/Switch.d.ts +6 -0
- package/dist/types/src/shared/ui/Tooltip/TooltipDropdown.d.ts +3 -2
- package/dist/types/src/truelogic.d.ts +2 -0
- package/dist/types/src/widgets/gameSettingsPanel/GameSettingsPanel.d.ts +1 -0
- package/dist/types/src/widgets/gameSettingsPanel/index.d.ts +1 -0
- package/dist/types/src/widgets/modals/index.d.ts +1 -0
- package/dist/types/src/widgets/modals/ui/ModalStakeAmounts/ModalStakeAmounts.d.ts +1 -0
- package/dist/types/src/widgets/modals/ui/ModalStakeAmounts/RectStakeAmount.d.ts +8 -0
- package/dist/types/tailwind.config.d.ts +11 -0
- package/package.json +1 -1
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
1
2
|
type TPanelBonusProps = {
|
|
2
3
|
onClick: () => void;
|
|
3
4
|
className?: string;
|
|
4
5
|
disabled?: boolean;
|
|
6
|
+
refStakeAmounts?: RefObject<HTMLDivElement>;
|
|
7
|
+
position?: 'right' | 'left';
|
|
5
8
|
};
|
|
6
|
-
export declare const PanelBonus: ({ onClick, className, disabled }: TPanelBonusProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const PanelBonus: ({ onClick, className, disabled, refStakeAmounts, position, }: TPanelBonusProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
10
|
export {};
|
|
@@ -7,5 +7,6 @@ export { roundStart } from './lib/flow/roundStart';
|
|
|
7
7
|
export { spinEnd } from './lib/flow/spinEnd';
|
|
8
8
|
export { stepEnd } from './lib/flow/stepEnd';
|
|
9
9
|
export { stepStart } from './lib/flow/stepStart';
|
|
10
|
+
export { initRound } from './model/initRound';
|
|
10
11
|
export { startPlay } from './model/startPlay';
|
|
11
12
|
export { PanelPlay } from './ui/PanelPlay/PanelPlay';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TResponseGS } from "../../../shared/api/round/open/types";
|
|
2
|
+
import { TAppThunkAction } from "../../../shared/lib/store";
|
|
3
|
+
type TInitRoundData = {
|
|
4
|
+
roundId: string;
|
|
5
|
+
responsesGS: TResponseGS;
|
|
6
|
+
balance: number;
|
|
7
|
+
meta: unknown;
|
|
8
|
+
};
|
|
9
|
+
export declare const initRound: TAppThunkAction<TInitRoundData>;
|
|
10
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes, RefObject } from 'react';
|
|
2
2
|
type TPanelButtonProps = {
|
|
3
3
|
active?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
4
5
|
ref?: RefObject<HTMLButtonElement>;
|
|
5
6
|
} & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
6
|
-
export declare const PanelPlay: ({ className,
|
|
7
|
+
export declare const PanelPlay: ({ className, ref, disabled, ...props }: TPanelButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const RiskSelector: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const RiskSelectorSelect: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const RowsSelectorGrid: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const RowsSelectorSelect: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -133,6 +133,8 @@ declare class ConfigManager {
|
|
|
133
133
|
getApiPrizeDropSocketCredentialsFake(): TApiPrizeDropSocketCredentialsFakeGUI;
|
|
134
134
|
getSocketPrizeDropFake(): TSocketPrizeDropFake;
|
|
135
135
|
getSocketPrizeDropEventsFake(): TSocketPrizeDropEventsFake;
|
|
136
|
+
getCustomPay(): boolean;
|
|
137
|
+
getFastPlay(): boolean;
|
|
136
138
|
getInit(): TInitConfig;
|
|
137
139
|
getConfiguration(): TConfiguration;
|
|
138
140
|
getBonus(): TBonusConfig;
|
|
@@ -170,6 +172,8 @@ declare class ConfigManager {
|
|
|
170
172
|
saveWelcome(config?: TWelcomeConfig): void;
|
|
171
173
|
saveWelcomeBackground(config: string): void;
|
|
172
174
|
savePanel(config?: TPanelConfig): void;
|
|
175
|
+
saveCustomPay(customPay?: boolean): void;
|
|
176
|
+
saveFastPlay(fastPlay?: boolean): void;
|
|
173
177
|
saveMenu(config?: TMenuConfig): void;
|
|
174
178
|
saveBonus(config?: TBonusConfig): void;
|
|
175
179
|
saveSkip(config?: TSkipConfig): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { EStakeType, TApiConfigError, TApiConfigFake, TApiConfigPayload, TApiConfigResponse, TBets, TComplianceSettings, TGameSettings, TSessionMode, TSessionSettings, TStakeAmountsMap, TStakeAmountsMapByLevels, TStakeMode, } from './types';
|
|
1
|
+
export { EStakeName, EStakeType, TApiConfigError, TApiConfigFake, TApiConfigPayload, TApiConfigResponse, TBets, TComplianceSettings, TGameSettings, TSessionMode, TSessionSettings, TStakeAmountsMap, TStakeAmountsMapByLevels, TStakeMode, } from './types';
|
|
@@ -7,6 +7,12 @@ export declare enum EStakeType {
|
|
|
7
7
|
buy = "buy",
|
|
8
8
|
bonusBet = "bonusBet"
|
|
9
9
|
}
|
|
10
|
+
export declare enum EStakeName {
|
|
11
|
+
default = "default",
|
|
12
|
+
hotgate = "hotgate",
|
|
13
|
+
freeball = "freeball",
|
|
14
|
+
hotgateFreeball = "hotgate-freeball"
|
|
15
|
+
}
|
|
10
16
|
export type TVolatility = 0.5 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4 | 4.5 | 5;
|
|
11
17
|
export type TStakeMode = {
|
|
12
18
|
name: string;
|
|
@@ -47,6 +53,7 @@ export type TGameSettings = {
|
|
|
47
53
|
rtp: number;
|
|
48
54
|
volatility: TVolatility;
|
|
49
55
|
coinRatio?: number;
|
|
56
|
+
hasRestore: boolean;
|
|
50
57
|
};
|
|
51
58
|
export type TRoundClient = {
|
|
52
59
|
roundId: string;
|
|
@@ -51,18 +51,18 @@ export declare const useAppDispatch: import("react-redux").UseDispatch<import("r
|
|
|
51
51
|
default: number;
|
|
52
52
|
fastPlay?: number;
|
|
53
53
|
};
|
|
54
|
+
seriesIndex?: number;
|
|
54
55
|
};
|
|
55
56
|
session: {
|
|
56
57
|
isDemo: boolean;
|
|
57
58
|
partner: string;
|
|
58
59
|
balance: number;
|
|
59
|
-
balancePrevious: number;
|
|
60
60
|
netValue: number;
|
|
61
|
-
netValuePrevious: number;
|
|
62
61
|
shouldResetNetValue: boolean;
|
|
63
62
|
currency: string;
|
|
64
63
|
currencyDecimals: number;
|
|
65
64
|
urls: import("../../api/config/types").TSessionUrls;
|
|
65
|
+
customPay: boolean;
|
|
66
66
|
};
|
|
67
67
|
modals: {
|
|
68
68
|
hasOpened: boolean;
|
|
@@ -132,6 +132,7 @@ export declare const useAppDispatch: import("react-redux").UseDispatch<import("r
|
|
|
132
132
|
fake: import("../../api/round/open").TApiRoundOpenFake;
|
|
133
133
|
};
|
|
134
134
|
fastPlay: {
|
|
135
|
+
isEnabled: boolean;
|
|
135
136
|
isActive: boolean;
|
|
136
137
|
};
|
|
137
138
|
bonus: {
|
|
@@ -143,6 +144,8 @@ export declare const useAppDispatch: import("react-redux").UseDispatch<import("r
|
|
|
143
144
|
isConfirmModalShown: boolean;
|
|
144
145
|
tmpLevel: number;
|
|
145
146
|
tmpAmountIndex: number;
|
|
147
|
+
isTooltipOpened: boolean;
|
|
148
|
+
isInfoTooltipOpened: boolean;
|
|
146
149
|
activeSlideWidth: number;
|
|
147
150
|
activeSlideOffsetX: number;
|
|
148
151
|
isSliderInTransition: boolean;
|
|
@@ -342,6 +345,9 @@ export declare const useAppDispatch: import("react-redux").UseDispatch<import("r
|
|
|
342
345
|
hasDefferedModal?: boolean;
|
|
343
346
|
defferedCampaign?: import("../../sockets").TPrizeDropSocketEventPayloadCampaignUpdated;
|
|
344
347
|
};
|
|
348
|
+
activeRounds: {
|
|
349
|
+
items: string[];
|
|
350
|
+
};
|
|
345
351
|
} & import("redux-persist/es/persistReducer").PersistPartial, undefined, import("redux").UnknownAction> & import("redux").Dispatch<import("redux").Action>>;
|
|
346
352
|
export declare const useAppSelector: import("react-redux").UseSelector<{
|
|
347
353
|
viewPort: import("../../viewPort/lib/types").TViewPortState;
|
|
@@ -396,18 +402,18 @@ export declare const useAppSelector: import("react-redux").UseSelector<{
|
|
|
396
402
|
default: number;
|
|
397
403
|
fastPlay?: number;
|
|
398
404
|
};
|
|
405
|
+
seriesIndex?: number;
|
|
399
406
|
};
|
|
400
407
|
session: {
|
|
401
408
|
isDemo: boolean;
|
|
402
409
|
partner: string;
|
|
403
410
|
balance: number;
|
|
404
|
-
balancePrevious: number;
|
|
405
411
|
netValue: number;
|
|
406
|
-
netValuePrevious: number;
|
|
407
412
|
shouldResetNetValue: boolean;
|
|
408
413
|
currency: string;
|
|
409
414
|
currencyDecimals: number;
|
|
410
415
|
urls: import("../../api/config/types").TSessionUrls;
|
|
416
|
+
customPay: boolean;
|
|
411
417
|
};
|
|
412
418
|
modals: {
|
|
413
419
|
hasOpened: boolean;
|
|
@@ -477,6 +483,7 @@ export declare const useAppSelector: import("react-redux").UseSelector<{
|
|
|
477
483
|
fake: import("../../api/round/open").TApiRoundOpenFake;
|
|
478
484
|
};
|
|
479
485
|
fastPlay: {
|
|
486
|
+
isEnabled: boolean;
|
|
480
487
|
isActive: boolean;
|
|
481
488
|
};
|
|
482
489
|
bonus: {
|
|
@@ -488,6 +495,8 @@ export declare const useAppSelector: import("react-redux").UseSelector<{
|
|
|
488
495
|
isConfirmModalShown: boolean;
|
|
489
496
|
tmpLevel: number;
|
|
490
497
|
tmpAmountIndex: number;
|
|
498
|
+
isTooltipOpened: boolean;
|
|
499
|
+
isInfoTooltipOpened: boolean;
|
|
491
500
|
activeSlideWidth: number;
|
|
492
501
|
activeSlideOffsetX: number;
|
|
493
502
|
isSliderInTransition: boolean;
|
|
@@ -687,5 +696,8 @@ export declare const useAppSelector: import("react-redux").UseSelector<{
|
|
|
687
696
|
hasDefferedModal?: boolean;
|
|
688
697
|
defferedCampaign?: import("../../sockets").TPrizeDropSocketEventPayloadCampaignUpdated;
|
|
689
698
|
};
|
|
699
|
+
activeRounds: {
|
|
700
|
+
items: string[];
|
|
701
|
+
};
|
|
690
702
|
} & import("redux-persist/es/persistReducer").PersistPartial>;
|
|
691
703
|
export declare const createAppSlice: <State, CaseReducers extends import("@reduxjs/toolkit").SliceCaseReducers<State>, Name extends string, Selectors extends import("@reduxjs/toolkit").SliceSelectors<State>, ReducerPath extends string = Name>(options: import("@reduxjs/toolkit").CreateSliceOptions<State, CaseReducers, Name, ReducerPath, Selectors>) => import("@reduxjs/toolkit").Slice<State, CaseReducers, Name, ReducerPath, Selectors>;
|
|
@@ -51,18 +51,18 @@ export declare const getPreloadedState: (storePartial?: DeepPartial<TRootState>)
|
|
|
51
51
|
default: number;
|
|
52
52
|
fastPlay?: number;
|
|
53
53
|
};
|
|
54
|
+
seriesIndex?: number;
|
|
54
55
|
};
|
|
55
56
|
session: {
|
|
56
57
|
isDemo: boolean;
|
|
57
58
|
partner: string;
|
|
58
59
|
balance: number;
|
|
59
|
-
balancePrevious: number;
|
|
60
60
|
netValue: number;
|
|
61
|
-
netValuePrevious: number;
|
|
62
61
|
shouldResetNetValue: boolean;
|
|
63
62
|
currency: string;
|
|
64
63
|
currencyDecimals: number;
|
|
65
64
|
urls: import("../../../api/config/types").TSessionUrls;
|
|
65
|
+
customPay: boolean;
|
|
66
66
|
};
|
|
67
67
|
modals: {
|
|
68
68
|
hasOpened: boolean;
|
|
@@ -132,6 +132,7 @@ export declare const getPreloadedState: (storePartial?: DeepPartial<TRootState>)
|
|
|
132
132
|
fake: import("../../../api/round/open").TApiRoundOpenFake;
|
|
133
133
|
};
|
|
134
134
|
fastPlay: {
|
|
135
|
+
isEnabled: boolean;
|
|
135
136
|
isActive: boolean;
|
|
136
137
|
};
|
|
137
138
|
bonus: {
|
|
@@ -143,6 +144,8 @@ export declare const getPreloadedState: (storePartial?: DeepPartial<TRootState>)
|
|
|
143
144
|
isConfirmModalShown: boolean;
|
|
144
145
|
tmpLevel: number;
|
|
145
146
|
tmpAmountIndex: number;
|
|
147
|
+
isTooltipOpened: boolean;
|
|
148
|
+
isInfoTooltipOpened: boolean;
|
|
146
149
|
activeSlideWidth: number;
|
|
147
150
|
activeSlideOffsetX: number;
|
|
148
151
|
isSliderInTransition: boolean;
|
|
@@ -342,4 +345,7 @@ export declare const getPreloadedState: (storePartial?: DeepPartial<TRootState>)
|
|
|
342
345
|
hasDefferedModal?: boolean;
|
|
343
346
|
defferedCampaign?: import("../../../sockets").TPrizeDropSocketEventPayloadCampaignUpdated;
|
|
344
347
|
};
|
|
348
|
+
activeRounds: {
|
|
349
|
+
items: string[];
|
|
350
|
+
};
|
|
345
351
|
} & import("redux-persist/es/persistReducer").PersistPartial;
|
|
@@ -51,18 +51,18 @@ export declare const setupTestStore: (storePartial?: DeepPartial<TRootState>) =>
|
|
|
51
51
|
default: number;
|
|
52
52
|
fastPlay?: number;
|
|
53
53
|
};
|
|
54
|
+
seriesIndex?: number;
|
|
54
55
|
};
|
|
55
56
|
session: {
|
|
56
57
|
isDemo: boolean;
|
|
57
58
|
partner: string;
|
|
58
59
|
balance: number;
|
|
59
|
-
balancePrevious: number;
|
|
60
60
|
netValue: number;
|
|
61
|
-
netValuePrevious: number;
|
|
62
61
|
shouldResetNetValue: boolean;
|
|
63
62
|
currency: string;
|
|
64
63
|
currencyDecimals: number;
|
|
65
64
|
urls: import("../../../api/config/types").TSessionUrls;
|
|
65
|
+
customPay: boolean;
|
|
66
66
|
};
|
|
67
67
|
modals: {
|
|
68
68
|
hasOpened: boolean;
|
|
@@ -132,6 +132,7 @@ export declare const setupTestStore: (storePartial?: DeepPartial<TRootState>) =>
|
|
|
132
132
|
fake: import("../../../api/round/open").TApiRoundOpenFake;
|
|
133
133
|
};
|
|
134
134
|
fastPlay: {
|
|
135
|
+
isEnabled: boolean;
|
|
135
136
|
isActive: boolean;
|
|
136
137
|
};
|
|
137
138
|
bonus: {
|
|
@@ -143,6 +144,8 @@ export declare const setupTestStore: (storePartial?: DeepPartial<TRootState>) =>
|
|
|
143
144
|
isConfirmModalShown: boolean;
|
|
144
145
|
tmpLevel: number;
|
|
145
146
|
tmpAmountIndex: number;
|
|
147
|
+
isTooltipOpened: boolean;
|
|
148
|
+
isInfoTooltipOpened: boolean;
|
|
146
149
|
activeSlideWidth: number;
|
|
147
150
|
activeSlideOffsetX: number;
|
|
148
151
|
isSliderInTransition: boolean;
|
|
@@ -342,6 +345,9 @@ export declare const setupTestStore: (storePartial?: DeepPartial<TRootState>) =>
|
|
|
342
345
|
hasDefferedModal?: boolean;
|
|
343
346
|
defferedCampaign?: import("../../../sockets").TPrizeDropSocketEventPayloadCampaignUpdated;
|
|
344
347
|
};
|
|
348
|
+
activeRounds: {
|
|
349
|
+
items: string[];
|
|
350
|
+
};
|
|
345
351
|
} & import("redux-persist/es/persistReducer").PersistPartial, import("redux").Action, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
|
|
346
352
|
dispatch: import("redux-thunk").ThunkDispatch<{
|
|
347
353
|
viewPort: import("../../../viewPort/lib/types").TViewPortState;
|
|
@@ -396,18 +402,18 @@ export declare const setupTestStore: (storePartial?: DeepPartial<TRootState>) =>
|
|
|
396
402
|
default: number;
|
|
397
403
|
fastPlay?: number;
|
|
398
404
|
};
|
|
405
|
+
seriesIndex?: number;
|
|
399
406
|
};
|
|
400
407
|
session: {
|
|
401
408
|
isDemo: boolean;
|
|
402
409
|
partner: string;
|
|
403
410
|
balance: number;
|
|
404
|
-
balancePrevious: number;
|
|
405
411
|
netValue: number;
|
|
406
|
-
netValuePrevious: number;
|
|
407
412
|
shouldResetNetValue: boolean;
|
|
408
413
|
currency: string;
|
|
409
414
|
currencyDecimals: number;
|
|
410
415
|
urls: import("../../../api/config/types").TSessionUrls;
|
|
416
|
+
customPay: boolean;
|
|
411
417
|
};
|
|
412
418
|
modals: {
|
|
413
419
|
hasOpened: boolean;
|
|
@@ -477,6 +483,7 @@ export declare const setupTestStore: (storePartial?: DeepPartial<TRootState>) =>
|
|
|
477
483
|
fake: import("../../../api/round/open").TApiRoundOpenFake;
|
|
478
484
|
};
|
|
479
485
|
fastPlay: {
|
|
486
|
+
isEnabled: boolean;
|
|
480
487
|
isActive: boolean;
|
|
481
488
|
};
|
|
482
489
|
bonus: {
|
|
@@ -488,6 +495,8 @@ export declare const setupTestStore: (storePartial?: DeepPartial<TRootState>) =>
|
|
|
488
495
|
isConfirmModalShown: boolean;
|
|
489
496
|
tmpLevel: number;
|
|
490
497
|
tmpAmountIndex: number;
|
|
498
|
+
isTooltipOpened: boolean;
|
|
499
|
+
isInfoTooltipOpened: boolean;
|
|
491
500
|
activeSlideWidth: number;
|
|
492
501
|
activeSlideOffsetX: number;
|
|
493
502
|
isSliderInTransition: boolean;
|
|
@@ -687,5 +696,8 @@ export declare const setupTestStore: (storePartial?: DeepPartial<TRootState>) =>
|
|
|
687
696
|
hasDefferedModal?: boolean;
|
|
688
697
|
defferedCampaign?: import("../../../sockets").TPrizeDropSocketEventPayloadCampaignUpdated;
|
|
689
698
|
};
|
|
699
|
+
activeRounds: {
|
|
700
|
+
items: string[];
|
|
701
|
+
};
|
|
690
702
|
} & import("redux-persist/es/persistReducer").PersistPartial, undefined, import("redux").UnknownAction>;
|
|
691
703
|
}>, import("redux").StoreEnhancer]>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TAutoplayServiceModalType } from "../../../entities/autoplay";
|
|
2
2
|
import { TAppThunkAction } from "../../lib/store";
|
|
3
3
|
import { TMenuConfig } from '../menu';
|
|
4
|
-
export type TModalName = 'menu' | 'bonusFeature' | 'autoplay' | 'bonusConfirm' | 'realityCheck' | 'realityCheckReminder' | 'settings' | 'payTable' | 'roundsHistory' | 'roundDetails' | 'replay' | 'serviceMaxBet' | 'serviceInsufficientFunds' | 'serviceRestore' | 'serviceMaxWin' | 'serviceQuitTheGame' | 'serviceConnectionLost' | 'serviceError' | 'serviceFatalError' | 'serviceAutoplay' | 'gameInfo' | 'freeRounds' | 'freeRoundsResult' | 'prizeDropCongratulation' | 'prizeDropUnclaimed' | 'prizeDrop' | 'prizeDropSuccess' | 'prizeDropResult' | 'prizeDropLive' | 'prizeDropJoinError';
|
|
4
|
+
export type TModalName = 'menu' | 'bonusFeature' | 'autoplay' | 'bonusConfirm' | 'realityCheck' | 'realityCheckReminder' | 'settings' | 'payTable' | 'roundsHistory' | 'roundDetails' | 'replay' | 'serviceMaxBet' | 'serviceInsufficientFunds' | 'serviceRestore' | 'serviceMaxWin' | 'serviceQuitTheGame' | 'serviceConnectionLost' | 'serviceError' | 'serviceFatalError' | 'serviceAutoplay' | 'gameInfo' | 'freeRounds' | 'freeRoundsResult' | 'prizeDropCongratulation' | 'prizeDropUnclaimed' | 'prizeDrop' | 'prizeDropSuccess' | 'prizeDropResult' | 'prizeDropLive' | 'prizeDropJoinError' | 'stakeAmounts';
|
|
5
5
|
type TModalConfigs = {
|
|
6
6
|
menu: TMenuConfig;
|
|
7
7
|
};
|
|
@@ -1,14 +1,24 @@
|
|
|
1
1
|
import { TComplianceOptions } from "../../lib/types/complianceOptions";
|
|
2
2
|
import { TAdaptiveImage } from "../../lib/types/image";
|
|
3
|
+
import { EVersion } from "../../lib/types/theme";
|
|
3
4
|
export type TWelcomeSlide = {
|
|
4
5
|
image: string;
|
|
5
6
|
title: string;
|
|
6
7
|
description: string;
|
|
7
8
|
isHidden?: boolean;
|
|
8
9
|
} & TComplianceOptions;
|
|
9
|
-
export type
|
|
10
|
+
export type TWelcomeDefaultConfig = {
|
|
11
|
+
version: EVersion.default;
|
|
10
12
|
logo: string;
|
|
11
13
|
winUpTo: number;
|
|
12
14
|
slides: TWelcomeSlide[];
|
|
13
15
|
background?: string | TAdaptiveImage;
|
|
14
16
|
};
|
|
17
|
+
export type TWelcomeDefaultV3Config = {
|
|
18
|
+
version: EVersion.defaultV3;
|
|
19
|
+
logo: string;
|
|
20
|
+
winUpTo: number;
|
|
21
|
+
slides: [TWelcomeSlide, TWelcomeSlide];
|
|
22
|
+
background?: string;
|
|
23
|
+
};
|
|
24
|
+
export type TWelcomeConfig = TWelcomeDefaultConfig | TWelcomeDefaultV3Config;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes, FC } from 'react';
|
|
2
2
|
type TSwitchProps = {
|
|
3
3
|
active?: boolean;
|
|
4
|
+
customClassNames?: {
|
|
5
|
+
container?: string;
|
|
6
|
+
handle?: string;
|
|
7
|
+
handleActive?: string;
|
|
8
|
+
handleInactive?: string;
|
|
9
|
+
};
|
|
4
10
|
} & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
5
11
|
export declare const Switch: FC<TSwitchProps>;
|
|
6
12
|
export {};
|
|
@@ -5,7 +5,8 @@ type TTooltipDropdownProps = {
|
|
|
5
5
|
onClose: (event?: MouseEvent | KeyboardEvent | TouchEvent) => void;
|
|
6
6
|
className?: string;
|
|
7
7
|
classNameArrow?: string;
|
|
8
|
-
|
|
8
|
+
position?: 'bottom-center' | 'top-left' | 'bottom-left' | 'bottom-right';
|
|
9
|
+
refs: RefObject<HTMLButtonElement | HTMLDivElement>[] | RefObject<HTMLButtonElement | HTMLDivElement>;
|
|
9
10
|
};
|
|
10
|
-
export declare const TooltipDropdown: ({ visible, children, onClose, refs, className, classNameArrow, }: TTooltipDropdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const TooltipDropdown: ({ visible, children, onClose, refs, className, classNameArrow, position, }: TTooltipDropdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
export default TooltipDropdown;
|
|
@@ -214,6 +214,8 @@ declare class TrueLogic {
|
|
|
214
214
|
* @see https://truelogic-test.truelab.games/docs/api-reference/public-methods/set-stake-level
|
|
215
215
|
*/
|
|
216
216
|
setStakeLevel(level: number): void;
|
|
217
|
+
addBalance(amount?: number): void;
|
|
218
|
+
finishRound(roundId: string): void;
|
|
217
219
|
}
|
|
218
220
|
declare const truelogic: TrueLogic;
|
|
219
221
|
export default truelogic;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GameSettingsPanel: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GameSettingsPanel } from './GameSettingsPanel';
|
|
@@ -21,6 +21,7 @@ export { ModalServiceMaxWin } from './ui/ModalServiceMaxWin';
|
|
|
21
21
|
export { ModalServiceQuitTheGame } from './ui/ModalServiceQuitTheGame';
|
|
22
22
|
export { ModalServiceRestore } from './ui/ModalServiceRestore';
|
|
23
23
|
export { ModalSettings } from './ui/ModalSettings';
|
|
24
|
+
export { ModalStakeAmounts } from './ui/ModalStakeAmounts/ModalStakeAmounts';
|
|
24
25
|
export { ModalPrizeDropCongratulation } from './ui/prizeDrop/congratulation/ModalPrizeDropCongratulation';
|
|
25
26
|
export { ModalPrizeDropJoinError } from './ui/prizeDrop/joinError/ModalPrizeDropJoinError';
|
|
26
27
|
export { ModalPrizeDropLive } from './ui/prizeDrop/live/ModalPrizeDropLive';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ModalStakeAmounts: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
type TRectStakeAmountProps = {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
onClick: () => void;
|
|
5
|
+
active?: boolean;
|
|
6
|
+
} & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
7
|
+
export declare const RectStakeAmount: ({ children, onClick, active, className, ...props }: TRectStakeAmountProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -17,6 +17,7 @@ declare const _default: {
|
|
|
17
17
|
};
|
|
18
18
|
black: {
|
|
19
19
|
DEFAULT: string;
|
|
20
|
+
10: string;
|
|
20
21
|
20: string;
|
|
21
22
|
};
|
|
22
23
|
surface: {
|
|
@@ -35,6 +36,16 @@ declare const _default: {
|
|
|
35
36
|
'cta-cashout': string;
|
|
36
37
|
'modal-fill': string;
|
|
37
38
|
transparent: string;
|
|
39
|
+
'multiplier-success': string;
|
|
40
|
+
'risk-low': string;
|
|
41
|
+
'risk-medium': string;
|
|
42
|
+
'risk-high': string;
|
|
43
|
+
'risk-low-hover': string;
|
|
44
|
+
'risk-medium-hover': string;
|
|
45
|
+
'risk-high-hover': string;
|
|
46
|
+
'risk-low-text': string;
|
|
47
|
+
'risk-medium-text': string;
|
|
48
|
+
'risk-high-text': string;
|
|
38
49
|
};
|
|
39
50
|
boxShadow: {
|
|
40
51
|
progress: string;
|