@truelab/truelogic 4.7.0-1 → 4.7.0
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/487.min.js +1 -1
- package/dist/truelogic.min.js +1 -1
- package/dist/types/src/app/store.d.ts +0 -7
- package/dist/types/src/entities/autoplay/model/autoPlaySlice.d.ts +0 -1
- package/dist/types/src/entities/bonus/model/bonusSlice.d.ts +7220 -1919
- package/dist/types/src/features/bonus/index.d.ts +1 -0
- package/dist/types/src/features/bonus/lib/getPortraitRows.d.ts +7 -0
- package/dist/types/src/features/bonus/lib/getPortraitRows.test.d.ts +1 -0
- package/dist/types/src/sandbox/presets/config/bonusShopFourBonusBets.d.ts +6 -0
- package/dist/types/src/sandbox/presets/index.d.ts +1 -0
- package/dist/types/src/shared/lib/store/redux.d.ts +0 -2
- package/dist/types/src/shared/lib/tests/utils/getPreloadedState.d.ts +0 -1
- package/dist/types/src/shared/lib/tests/utils/renderComponent.d.ts +0 -2
- package/dist/types/src/shared/lib/tests/utils/setupTestStore.d.ts +0 -2
- package/dist/types/src/shared/model/bonus/types.d.ts +0 -1
- package/dist/types/src/shared/ui/TabBar/TabBar.stories.d.ts +0 -1
- package/dist/types/src/widgets/modals/ui/ModalBonusFeature/ModalBonusFeature.stories.d.ts +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The rows of the bonus shop in portrait. Bonus Bets and bonus games get a row each while each type
|
|
3
|
+
* fills a row of 2–3 cards. A type of a single card or of more than a row (4 + 1, 1 + 4, 4 + 2, …)
|
|
4
|
+
* gets the default layout instead (GTT-2972): the cards keep their order, 4 go as 2 + 2, 5 as 3 + 2,
|
|
5
|
+
* 6 as 3 + 3
|
|
6
|
+
*/
|
|
7
|
+
export declare const getPortraitRows: <T>(bonusBetCards: T[], buyCards: T[]) => T[][];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TApiConfigResponse } from '../../../shared/api/config';
|
|
2
|
+
/**
|
|
3
|
+
* The shop of School of Magic and HackStorm: 4 Bonus Bets and a bonus game, 3 + 2 cards in portrait
|
|
4
|
+
* (GTT-2972). The shop shows the bonus modes of the sandbox configuration that have a stake mode here
|
|
5
|
+
*/
|
|
6
|
+
export declare const bonusShopFourBonusBets: TApiConfigResponse;
|
|
@@ -253,7 +253,6 @@ export declare const useAppDispatch: import("react-redux").UseDispatch<((action:
|
|
|
253
253
|
selectedModeName: string | null;
|
|
254
254
|
preselectedModeName: string | null;
|
|
255
255
|
customBonusBets: boolean;
|
|
256
|
-
maxBonusCards: number;
|
|
257
256
|
buyFeatureModeName: string | null;
|
|
258
257
|
};
|
|
259
258
|
realityCheck: {
|
|
@@ -1232,7 +1231,6 @@ export declare const useAppSelector: import("react-redux").UseSelector<{
|
|
|
1232
1231
|
selectedModeName: string | null;
|
|
1233
1232
|
preselectedModeName: string | null;
|
|
1234
1233
|
customBonusBets: boolean;
|
|
1235
|
-
maxBonusCards: number;
|
|
1236
1234
|
buyFeatureModeName: string | null;
|
|
1237
1235
|
};
|
|
1238
1236
|
realityCheck: {
|
|
@@ -258,7 +258,6 @@ export declare const getPreloadedState: (storePartial?: DeepPartial<TRootState>)
|
|
|
258
258
|
selectedModeName: string | null;
|
|
259
259
|
preselectedModeName: string | null;
|
|
260
260
|
customBonusBets: boolean;
|
|
261
|
-
maxBonusCards: number;
|
|
262
261
|
buyFeatureModeName: string | null;
|
|
263
262
|
};
|
|
264
263
|
realityCheck: {
|
|
@@ -323,7 +323,6 @@ export declare const renderComponent: (ui: ReactElement, { storePartial, fakeApi
|
|
|
323
323
|
selectedModeName: string | null;
|
|
324
324
|
preselectedModeName: string | null;
|
|
325
325
|
customBonusBets: boolean;
|
|
326
|
-
maxBonusCards: number;
|
|
327
326
|
buyFeatureModeName: string | null;
|
|
328
327
|
};
|
|
329
328
|
realityCheck: {
|
|
@@ -1302,7 +1301,6 @@ export declare const renderComponent: (ui: ReactElement, { storePartial, fakeApi
|
|
|
1302
1301
|
selectedModeName: string | null;
|
|
1303
1302
|
preselectedModeName: string | null;
|
|
1304
1303
|
customBonusBets: boolean;
|
|
1305
|
-
maxBonusCards: number;
|
|
1306
1304
|
buyFeatureModeName: string | null;
|
|
1307
1305
|
};
|
|
1308
1306
|
realityCheck: {
|
|
@@ -269,7 +269,6 @@ export declare const setupTestStore: (storePartial?: DeepPartial<TRootState>, {
|
|
|
269
269
|
selectedModeName: string | null;
|
|
270
270
|
preselectedModeName: string | null;
|
|
271
271
|
customBonusBets: boolean;
|
|
272
|
-
maxBonusCards: number;
|
|
273
272
|
buyFeatureModeName: string | null;
|
|
274
273
|
};
|
|
275
274
|
realityCheck: {
|
|
@@ -1248,7 +1247,6 @@ export declare const setupTestStore: (storePartial?: DeepPartial<TRootState>, {
|
|
|
1248
1247
|
selectedModeName: string | null;
|
|
1249
1248
|
preselectedModeName: string | null;
|
|
1250
1249
|
customBonusBets: boolean;
|
|
1251
|
-
maxBonusCards: number;
|
|
1252
1250
|
buyFeatureModeName: string | null;
|
|
1253
1251
|
};
|
|
1254
1252
|
realityCheck: {
|
|
@@ -43,7 +43,6 @@ export type TBonusState = {
|
|
|
43
43
|
selectedModeName: string | null;
|
|
44
44
|
preselectedModeName: string | null;
|
|
45
45
|
customBonusBets: boolean;
|
|
46
|
-
maxBonusCards: number;
|
|
47
46
|
/**
|
|
48
47
|
* The Buy Feature mode: the bonus game the panel's SPIN buys in the base game, `null` while the
|
|
49
48
|
* mode is off. Set by a purchase, persisted like a Bonus Bet stake (GTT-2875)
|
|
@@ -16,6 +16,7 @@ export declare const LandscapeTwoCards: import("storybook/internal/csf").StoryAn
|
|
|
16
16
|
export declare const LandscapeThreeCards: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
17
17
|
export declare const LandscapeFourCards: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
18
18
|
export declare const LandscapeFiveCards: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
19
|
+
export declare const LandscapeFiveCardsFourBonusBet: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
19
20
|
export declare const LandscapeManyCards: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
20
21
|
export declare const PortraitManyCards: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
21
22
|
export declare const PortraitThreeCards: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
@@ -25,12 +26,16 @@ export declare const PortraitFourCardsThreeBonusBet: import("storybook/internal/
|
|
|
25
26
|
export declare const PortraitFiveCardsOneBonusBet: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
26
27
|
export declare const PortraitFiveCardsTwoBonusBet: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
27
28
|
export declare const PortraitFiveCardsThreeBonusBet: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
29
|
+
export declare const PortraitFiveCardsFourBonusBet: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
30
|
+
export declare const PortraitSixCardsFourBonusBet: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
28
31
|
export declare const PortraitSixCards: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
29
32
|
export declare const PortraitOnlyBuyCards: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
30
33
|
export declare const PortraitOnlyBonusBetCards: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
31
34
|
export declare const PortraitSixCardsOneBonusBet: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
32
35
|
export declare const PortraitExcessBuyTwoBonusBet: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
33
36
|
export declare const PortraitExcessBuyThreeBonusBet: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
37
|
+
export declare const PortraitExcessBonusBetThreeBuy: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
38
|
+
export declare const PortraitSixCardsOnlyBuy: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
34
39
|
export declare const PortraitPreselectedOutOfView: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
35
40
|
export declare const LandscapeNarrowLayout: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|
|
36
41
|
export declare const PortraitNarrowLayout: import("storybook/internal/csf").StoryAnnotations<import("@storybook/react-webpack5").ReactRenderer, {}, {}>;
|