@truelab/truelogic-plinko 0.0.2-0 → 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/store.d.ts +5 -0
- package/dist/types/src/entities/autoplay/index.d.ts +1 -1
- package/dist/types/src/entities/autoplay/model/autoPlaySlice.d.ts +9 -0
- package/dist/types/src/entities/bonus/model/bonusSlice.d.ts +4 -6
- package/dist/types/src/entities/freeRounds/model/freeRoundsSlice.d.ts +1 -1
- package/dist/types/src/entities/stake/ui/StakeAmountSelector/StakeAmountSelector.d.ts +3 -1
- package/dist/types/src/features/bonus/ui/BonusFeatureSelector/BonusFeatureSelector.d.ts +2 -1
- package/dist/types/src/features/bonus/ui/BonusInfoTooltip/BonusInfoTooltip.d.ts +2 -1
- package/dist/types/src/features/panel/ui/PanelBonus.d.ts +3 -2
- package/dist/types/src/features/play/ui/PanelPlay/PanelPlay.d.ts +1 -1
- 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/shared/lib/store/redux.d.ts +2 -0
- package/dist/types/src/shared/lib/tests/utils/getPreloadedState.d.ts +1 -0
- package/dist/types/src/shared/lib/tests/utils/setupTestStore.d.ts +2 -0
- 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/welcome/types.d.ts +11 -1
- package/dist/types/src/shared/ui/Tooltip/TooltipDropdown.d.ts +1 -1
- package/dist/types/tailwind.config.d.ts +1 -0
- package/package.json +1 -1
|
@@ -51,6 +51,7 @@ export declare const rootReducer: import("redux").Reducer<{
|
|
|
51
51
|
default: number;
|
|
52
52
|
fastPlay?: number;
|
|
53
53
|
};
|
|
54
|
+
seriesIndex?: number;
|
|
54
55
|
};
|
|
55
56
|
session: {
|
|
56
57
|
isDemo: boolean;
|
|
@@ -400,6 +401,7 @@ export declare const rootReducer: import("redux").Reducer<{
|
|
|
400
401
|
default: number;
|
|
401
402
|
fastPlay?: number;
|
|
402
403
|
};
|
|
404
|
+
seriesIndex?: number;
|
|
403
405
|
};
|
|
404
406
|
session: {
|
|
405
407
|
isDemo: boolean;
|
|
@@ -750,6 +752,7 @@ export declare const persistedReducer: import("redux").Reducer<{
|
|
|
750
752
|
default: number;
|
|
751
753
|
fastPlay?: number;
|
|
752
754
|
};
|
|
755
|
+
seriesIndex?: number;
|
|
753
756
|
};
|
|
754
757
|
session: {
|
|
755
758
|
isDemo: boolean;
|
|
@@ -1100,6 +1103,7 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
|
1100
1103
|
default: number;
|
|
1101
1104
|
fastPlay?: number;
|
|
1102
1105
|
};
|
|
1106
|
+
seriesIndex?: number;
|
|
1103
1107
|
};
|
|
1104
1108
|
session: {
|
|
1105
1109
|
isDemo: boolean;
|
|
@@ -1450,6 +1454,7 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
|
1450
1454
|
default: number;
|
|
1451
1455
|
fastPlay?: number;
|
|
1452
1456
|
};
|
|
1457
|
+
seriesIndex?: number;
|
|
1453
1458
|
};
|
|
1454
1459
|
session: {
|
|
1455
1460
|
isDemo: boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { TAutoplayServiceModalType } from './lib/types';
|
|
2
2
|
export { useAutoplayNumbers } from './lib/useAutoplayNumbers';
|
|
3
|
-
export { autoPlayReducer, calcAutoPlayLossLimit, decreaseAutoPlayNumber, getAutoPlayIsReadyForStart, getAutoPlayIsSupported, setAutoPlayActiveIndex, setAutoPlayActiveNumber, setAutoPlayConfig, setAutoPlayEnd, setAutoPlayLossLimit, setAutoPlayProgress, setAutoPlaySingleWin, setAutoPlayStart, setAutoPlayStopInBonusGame, setAutoPlayVisibleDropdown, } from './model/autoPlaySlice';
|
|
3
|
+
export { autoPlayReducer, calcAutoPlayLossLimit, decreaseAutoPlayNumber, getAutoPlayCanStart, getAutoPlayIsReadyForStart, getAutoPlayIsSeriesMode, getAutoPlayIsSupported, setAutoPlayActiveIndex, setAutoPlayActiveNumber, setAutoPlayConfig, setAutoPlayEnd, setAutoPlayLossLimit, setAutoPlayProgress, setAutoPlaySingleWin, setAutoPlayStart, setAutoPlayStopInBonusGame, setAutoPlayVisibleDropdown, } from './model/autoPlaySlice';
|
|
@@ -24,6 +24,7 @@ type TAutoPlayState = {
|
|
|
24
24
|
default: number;
|
|
25
25
|
fastPlay?: number;
|
|
26
26
|
};
|
|
27
|
+
seriesIndex?: number;
|
|
27
28
|
};
|
|
28
29
|
export declare const getAutoPlayIsSupported: ((state: {
|
|
29
30
|
viewPort: import("../../../shared/viewPort/lib/types").TViewPortState;
|
|
@@ -374,6 +375,14 @@ export declare const getAutoPlayIsReadyForStart: import("reselect").Selector<{
|
|
|
374
375
|
autoPlay: TAutoPlayState;
|
|
375
376
|
}, boolean, []> & {
|
|
376
377
|
unwrapped: (state: TAutoPlayState) => boolean;
|
|
378
|
+
}, getAutoPlayIsSeriesMode: import("reselect").Selector<{
|
|
379
|
+
autoPlay: TAutoPlayState;
|
|
380
|
+
}, boolean, []> & {
|
|
381
|
+
unwrapped: (state: TAutoPlayState) => boolean;
|
|
382
|
+
}, getAutoPlayCanStart: import("reselect").Selector<{
|
|
383
|
+
autoPlay: TAutoPlayState;
|
|
384
|
+
}, boolean, []> & {
|
|
385
|
+
unwrapped: (state: TAutoPlayState) => boolean;
|
|
377
386
|
};
|
|
378
387
|
export declare const autoPlayReducer: import("redux").Reducer<TAutoPlayState>;
|
|
379
388
|
export declare const setAutoPlayStart: TAppThunkAction;
|
|
@@ -71,6 +71,7 @@ export declare const getBonusIsConfirmDisabled: ((state: {
|
|
|
71
71
|
default: number;
|
|
72
72
|
fastPlay?: number;
|
|
73
73
|
};
|
|
74
|
+
seriesIndex?: number;
|
|
74
75
|
};
|
|
75
76
|
session: {
|
|
76
77
|
isDemo: boolean;
|
|
@@ -424,6 +425,7 @@ export declare const getBonusCashPrice: ((state: {
|
|
|
424
425
|
default: number;
|
|
425
426
|
fastPlay?: number;
|
|
426
427
|
};
|
|
428
|
+
seriesIndex?: number;
|
|
427
429
|
};
|
|
428
430
|
session: {
|
|
429
431
|
isDemo: boolean;
|
|
@@ -725,8 +727,6 @@ export declare const getBonusCashPrice: ((state: {
|
|
|
725
727
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
726
728
|
};
|
|
727
729
|
export declare const getBonusIsBuyFeatureSupported: ((state: {
|
|
728
|
-
bonus: TBonusState;
|
|
729
|
-
} & {
|
|
730
730
|
stake: {
|
|
731
731
|
modes: TStakeMode[];
|
|
732
732
|
};
|
|
@@ -739,16 +739,14 @@ export declare const getBonusIsBuyFeatureSupported: ((state: {
|
|
|
739
739
|
resultsCount: () => number;
|
|
740
740
|
resetResultsCount: () => void;
|
|
741
741
|
} & {
|
|
742
|
-
resultFunc: (resultFuncArgs_0:
|
|
743
|
-
memoizedResultFunc: ((resultFuncArgs_0:
|
|
742
|
+
resultFunc: (resultFuncArgs_0: TStakeMode[], resultFuncArgs_1: boolean) => boolean;
|
|
743
|
+
memoizedResultFunc: ((resultFuncArgs_0: TStakeMode[], resultFuncArgs_1: boolean) => boolean) & {
|
|
744
744
|
clearCache: () => void;
|
|
745
745
|
resultsCount: () => number;
|
|
746
746
|
resetResultsCount: () => void;
|
|
747
747
|
};
|
|
748
748
|
lastResult: () => boolean;
|
|
749
749
|
dependencies: [(state: {
|
|
750
|
-
bonus: TBonusState;
|
|
751
|
-
}) => TBonusModes, (state: {
|
|
752
750
|
stake: {
|
|
753
751
|
modes: TStakeMode[];
|
|
754
752
|
};
|
|
@@ -8,6 +8,6 @@ type TRoundState = {
|
|
|
8
8
|
initial: TPromoTool;
|
|
9
9
|
version: `${EVersion}`;
|
|
10
10
|
};
|
|
11
|
-
export declare const startFreeRounds: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"freeRounds/startFreeRounds">, setFreeRounds: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<TPromoTool, "freeRounds/setFreeRounds">, startFreeRound: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"freeRounds/startFreeRound">, finishFreeRound: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"freeRounds/finishFreeRound">, endFreeRounds: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"freeRounds/endFreeRounds">, clearFreeRounds: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"freeRounds/clearFreeRounds">, setFreeRoundsModalVersion: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<"default" | "pro", "freeRounds/setFreeRoundsModalVersion">, setFreeRoundsInitial: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<TPromoTool, "freeRounds/setFreeRoundsInitial">, restoreFreeRounds: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"freeRounds/restoreFreeRounds">, restoreFreeRoundsError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"freeRounds/restoreFreeRoundsError">;
|
|
11
|
+
export declare const startFreeRounds: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"freeRounds/startFreeRounds">, setFreeRounds: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<TPromoTool, "freeRounds/setFreeRounds">, startFreeRound: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"freeRounds/startFreeRound">, finishFreeRound: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"freeRounds/finishFreeRound">, endFreeRounds: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"freeRounds/endFreeRounds">, clearFreeRounds: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"freeRounds/clearFreeRounds">, setFreeRoundsModalVersion: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<"default" | "defaultV3" | "pro", "freeRounds/setFreeRoundsModalVersion">, setFreeRoundsInitial: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<TPromoTool, "freeRounds/setFreeRoundsInitial">, restoreFreeRounds: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"freeRounds/restoreFreeRounds">, restoreFreeRoundsError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"freeRounds/restoreFreeRoundsError">;
|
|
12
12
|
export declare const freeRoundsReducer: import("redux").Reducer<TRoundState>;
|
|
13
13
|
export {};
|
|
@@ -3,6 +3,8 @@ type TStakeAmountSelectorProps = {
|
|
|
3
3
|
showMin?: boolean;
|
|
4
4
|
showMax?: boolean;
|
|
5
5
|
disabled?: boolean;
|
|
6
|
+
isBetValueClickable?: boolean;
|
|
7
|
+
ref?: React.RefObject<HTMLDivElement>;
|
|
6
8
|
};
|
|
7
|
-
export declare const StakeAmountSelector: ({ className, showMin, showMax, disabled, }: TStakeAmountSelectorProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const StakeAmountSelector: ({ className, showMin, showMax, disabled, isBetValueClickable, ref, }: TStakeAmountSelectorProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
10
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
2
|
type TBonusFeatureSelectorProps = {
|
|
3
3
|
ref?: RefObject<HTMLDivElement>;
|
|
4
|
+
position?: 'right' | 'left';
|
|
4
5
|
};
|
|
5
|
-
export declare const BonusFeatureSelector: ({ ref }: TBonusFeatureSelectorProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const BonusFeatureSelector: ({ ref, position }: TBonusFeatureSelectorProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
2
|
type TBonusInfoTooltipProps = {
|
|
3
3
|
ref?: RefObject<HTMLDivElement>;
|
|
4
|
+
position?: 'right' | 'left';
|
|
4
5
|
};
|
|
5
|
-
export declare const BonusInfoTooltip: ({ ref }: TBonusInfoTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const BonusInfoTooltip: ({ ref, position }: TBonusInfoTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -3,7 +3,8 @@ type TPanelBonusProps = {
|
|
|
3
3
|
onClick: () => void;
|
|
4
4
|
className?: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
|
-
|
|
6
|
+
refStakeAmounts?: RefObject<HTMLDivElement>;
|
|
7
|
+
position?: 'right' | 'left';
|
|
7
8
|
};
|
|
8
|
-
export declare const PanelBonus: ({ onClick, className, disabled,
|
|
9
|
+
export declare const PanelBonus: ({ onClick, className, disabled, refStakeAmounts, position, }: TPanelBonusProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export {};
|
|
@@ -4,5 +4,5 @@ type TPanelButtonProps = {
|
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
ref?: RefObject<HTMLButtonElement>;
|
|
6
6
|
} & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
7
|
-
export declare const PanelPlay: ({ className,
|
|
7
|
+
export declare const PanelPlay: ({ className, ref, disabled, ...props }: TPanelButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -51,6 +51,7 @@ 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;
|
|
@@ -401,6 +402,7 @@ export declare const useAppSelector: import("react-redux").UseSelector<{
|
|
|
401
402
|
default: number;
|
|
402
403
|
fastPlay?: number;
|
|
403
404
|
};
|
|
405
|
+
seriesIndex?: number;
|
|
404
406
|
};
|
|
405
407
|
session: {
|
|
406
408
|
isDemo: boolean;
|
|
@@ -51,6 +51,7 @@ 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;
|
|
@@ -401,6 +402,7 @@ export declare const setupTestStore: (storePartial?: DeepPartial<TRootState>) =>
|
|
|
401
402
|
default: number;
|
|
402
403
|
fastPlay?: number;
|
|
403
404
|
};
|
|
405
|
+
seriesIndex?: number;
|
|
404
406
|
};
|
|
405
407
|
session: {
|
|
406
408
|
isDemo: boolean;
|
|
@@ -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;
|
|
@@ -5,7 +5,7 @@ type TTooltipDropdownProps = {
|
|
|
5
5
|
onClose: (event?: MouseEvent | KeyboardEvent | TouchEvent) => void;
|
|
6
6
|
className?: string;
|
|
7
7
|
classNameArrow?: string;
|
|
8
|
-
position?: 'bottom-center' | 'top-left' | 'bottom-left';
|
|
8
|
+
position?: 'bottom-center' | 'top-left' | 'bottom-left' | 'bottom-right';
|
|
9
9
|
refs: RefObject<HTMLButtonElement | HTMLDivElement>[] | RefObject<HTMLButtonElement | HTMLDivElement>;
|
|
10
10
|
};
|
|
11
11
|
export declare const TooltipDropdown: ({ visible, children, onClose, refs, className, classNameArrow, position, }: TTooltipDropdownProps) => import("react/jsx-runtime").JSX.Element;
|