livevegas-ui-kit 1.0.288 → 1.0.290

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.
Files changed (65) hide show
  1. package/README.md +69 -69
  2. package/dist/components/ActionButton/ActionButton.test.d.ts +1 -0
  3. package/dist/components/BackFaceCard/BackFaceCard.test.d.ts +1 -0
  4. package/dist/components/BalanceAndBet/BalanceAndBet.test.d.ts +1 -0
  5. package/dist/components/BlackJackAction/BlackJackAction.test.d.ts +1 -0
  6. package/dist/components/BlackJackeWinPopup/BlackJackeWinPopup.test.d.ts +1 -0
  7. package/dist/components/BlackJeckInsurance/BlackJeckInsurance.test.d.ts +1 -0
  8. package/dist/components/BonusModal/BonusModal.test.d.ts +1 -0
  9. package/dist/components/Button/Button.test.d.ts +1 -0
  10. package/dist/components/Card/Card.test.d.ts +1 -0
  11. package/dist/components/CardSymbole/CardSymbole.test.d.ts +1 -0
  12. package/dist/components/CardTexas/CardTexas.test.d.ts +1 -0
  13. package/dist/components/CardsRightInfo/CardsRightInfo.test.d.ts +1 -0
  14. package/dist/components/Chat/Chat.test.d.ts +1 -0
  15. package/dist/components/Chip/Chip.test.d.ts +1 -0
  16. package/dist/components/Chip3D/Chip3D.test.d.ts +1 -0
  17. package/dist/components/Chip3D/index.d.ts +1 -1
  18. package/dist/components/ChipBoard/ChipBoard.test.d.ts +1 -0
  19. package/dist/components/CoefficientAndCart/CoefficientAndCart.test.d.ts +1 -0
  20. package/dist/components/FoolScreen/FoolScreen.test.d.ts +1 -0
  21. package/dist/components/History/AllHistory/AllHistory.test.d.ts +1 -0
  22. package/dist/components/History/PaginationGroup/PaginationGroup.test.d.ts +1 -0
  23. package/dist/components/History/RouletteRoundHistory/index.test.d.ts +1 -0
  24. package/dist/components/History/RoundHistory/RoundHistory.test.d.ts +1 -0
  25. package/dist/components/History/TexasRoundHistory/TexasRoundHistory.test.d.ts +1 -0
  26. package/dist/components/History/VipRoundHistory/VipRoundHistory.test.d.ts +1 -0
  27. package/dist/components/History/helpers.d.ts +3 -3
  28. package/dist/components/History/index.test.d.ts +1 -0
  29. package/dist/components/Info/Info.test.d.ts +1 -0
  30. package/dist/components/Input/Input.test.d.ts +1 -0
  31. package/dist/components/LaunchFailed/index.d.ts +2 -1
  32. package/dist/components/LimitInfo/LimitInfo.test.d.ts +1 -0
  33. package/dist/components/LimitInfoRoulette/LimitInfoRoulette.test.d.ts +1 -0
  34. package/dist/components/Limits/Limits.test.d.ts +1 -0
  35. package/dist/components/Limits/index.d.ts +1 -1
  36. package/dist/components/MobileBottomInfo/MobileBottomInfo.test.d.ts +1 -0
  37. package/dist/components/MobileMenu/MobileMenu.test.d.ts +1 -0
  38. package/dist/components/MoibleChipBoard/MoibleChipBoard.test.d.ts +1 -0
  39. package/dist/components/NotPlaying/NotPlaying.test.d.ts +1 -0
  40. package/dist/components/Popup/Popup.test.d.ts +1 -0
  41. package/dist/components/Reconnect/Reconnect.test.d.ts +1 -0
  42. package/dist/components/Settings/Settings.test.d.ts +1 -0
  43. package/dist/components/Support/Support.test.d.ts +1 -0
  44. package/dist/components/Timer/Timer.test.d.ts +1 -0
  45. package/dist/components/Tip/Tip.test.d.ts +1 -0
  46. package/dist/components/ToLobby/ToLobby.test.d.ts +1 -0
  47. package/dist/components/ToastMessages/ToastMessages.test.d.ts +1 -0
  48. package/dist/components/TopIcons/TopIcons.test.d.ts +1 -0
  49. package/dist/components/Tournament/Tournament.test.d.ts +1 -0
  50. package/dist/components/TournamentAndPoints/TournamentAndPoints.test.d.ts +1 -0
  51. package/dist/components/TournamentNotification/TournamentNotification.test.d.ts +1 -0
  52. package/dist/components/VolumeSlider/VolumeSlider.test.d.ts +1 -0
  53. package/dist/components/WagerAndFreeSpins/WagerAndFreeSpins.test.d.ts +1 -0
  54. package/dist/livevegas-ui-kit.es.js +16937 -17033
  55. package/dist/livevegas-ui-kit.umd.js +378 -382
  56. package/dist/services/i18n/translations/en.json.d.ts +832 -832
  57. package/dist/services/i18n/translations/es.json.d.ts +831 -831
  58. package/dist/services/i18n/translations/fa.json.d.ts +834 -834
  59. package/dist/services/i18n/translations/hy.json.d.ts +839 -839
  60. package/dist/services/i18n/translations/ka.json.d.ts +805 -805
  61. package/dist/services/i18n/translations/ru.json.d.ts +850 -850
  62. package/dist/services/i18n/translations/tr.json.d.ts +855 -855
  63. package/dist/services/i18n/translations/uz.json.d.ts +836 -836
  64. package/dist/test/setup.d.ts +1 -0
  65. package/package.json +69 -60
package/README.md CHANGED
@@ -1,69 +1,69 @@
1
- # React + TypeScript + Vite
2
-
3
- This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4
-
5
- Currently, two official plugins are available:
6
-
7
- - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) for Fast Refresh
8
- - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
9
-
10
- ## Expanding the ESLint configuration
11
-
12
- If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
13
-
14
- ```js
15
- export default tseslint.config([
16
- globalIgnores(['dist']),
17
- {
18
- files: ['**/*.{ts,tsx}'],
19
- extends: [
20
- // Other configs...
21
-
22
- // Remove tseslint.configs.recommended and replace with this
23
- ...tseslint.configs.recommendedTypeChecked,
24
- // Alternatively, use this for stricter rules
25
- ...tseslint.configs.strictTypeChecked,
26
- // Optionally, add this for stylistic rules
27
- ...tseslint.configs.stylisticTypeChecked,
28
-
29
- // Other configs...
30
- ],
31
- languageOptions: {
32
- parserOptions: {
33
- project: ['./tsconfig.node.json', './tsconfig.app.json'],
34
- tsconfigRootDir: import.meta.dirname,
35
- },
36
- // other options...
37
- },
38
- },
39
- ])
40
- ```
41
-
42
- You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
43
-
44
- ```js
45
- // eslint.config.js
46
- import reactX from 'eslint-plugin-react-x'
47
- import reactDom from 'eslint-plugin-react-dom'
48
-
49
- export default tseslint.config([
50
- globalIgnores(['dist']),
51
- {
52
- files: ['**/*.{ts,tsx}'],
53
- extends: [
54
- // Other configs...
55
- // Enable lint rules for React
56
- reactX.configs['recommended-typescript'],
57
- // Enable lint rules for React DOM
58
- reactDom.configs.recommended,
59
- ],
60
- languageOptions: {
61
- parserOptions: {
62
- project: ['./tsconfig.node.json', './tsconfig.app.json'],
63
- tsconfigRootDir: import.meta.dirname,
64
- },
65
- // other options...
66
- },
67
- },
68
- ])
69
- ```
1
+ # React + TypeScript + Vite
2
+
3
+ This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4
+
5
+ Currently, two official plugins are available:
6
+
7
+ - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) for Fast Refresh
8
+ - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
9
+
10
+ ## Expanding the ESLint configuration
11
+
12
+ If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
13
+
14
+ ```js
15
+ export default tseslint.config([
16
+ globalIgnores(['dist']),
17
+ {
18
+ files: ['**/*.{ts,tsx}'],
19
+ extends: [
20
+ // Other configs...
21
+
22
+ // Remove tseslint.configs.recommended and replace with this
23
+ ...tseslint.configs.recommendedTypeChecked,
24
+ // Alternatively, use this for stricter rules
25
+ ...tseslint.configs.strictTypeChecked,
26
+ // Optionally, add this for stylistic rules
27
+ ...tseslint.configs.stylisticTypeChecked,
28
+
29
+ // Other configs...
30
+ ],
31
+ languageOptions: {
32
+ parserOptions: {
33
+ project: ['./tsconfig.node.json', './tsconfig.app.json'],
34
+ tsconfigRootDir: import.meta.dirname,
35
+ },
36
+ // other options...
37
+ },
38
+ },
39
+ ])
40
+ ```
41
+
42
+ You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
43
+
44
+ ```js
45
+ // eslint.config.js
46
+ import reactX from 'eslint-plugin-react-x'
47
+ import reactDom from 'eslint-plugin-react-dom'
48
+
49
+ export default tseslint.config([
50
+ globalIgnores(['dist']),
51
+ {
52
+ files: ['**/*.{ts,tsx}'],
53
+ extends: [
54
+ // Other configs...
55
+ // Enable lint rules for React
56
+ reactX.configs['recommended-typescript'],
57
+ // Enable lint rules for React DOM
58
+ reactDom.configs.recommended,
59
+ ],
60
+ languageOptions: {
61
+ parserOptions: {
62
+ project: ['./tsconfig.node.json', './tsconfig.app.json'],
63
+ tsconfigRootDir: import.meta.dirname,
64
+ },
65
+ // other options...
66
+ },
67
+ },
68
+ ])
69
+ ```
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -6,4 +6,4 @@ export interface IChip3D {
6
6
  onClick?: (amount: number) => void;
7
7
  isDisabled?: boolean;
8
8
  }
9
- export declare const Chip3D: ({ chipAmounts, amount, width, height, isDisabled, onClick, }: IChip3D) => import("react/jsx-runtime").JSX.Element | undefined;
9
+ export declare const Chip3D: ({ chipAmounts, amount, width, height, isDisabled, onClick, }: IChip3D) => import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -53,7 +53,7 @@ export interface IRound {
53
53
  tableName?: string;
54
54
  fusionNumbers?: any[];
55
55
  }
56
- export type IHands = Pick<IHand, 'cards' | 'finalValue' | 'isBlackjack' | 'winOnHand' | 'betOnHand'>;
56
+ export type IHands = IHand;
57
57
  export interface IDealerHand {
58
58
  cards: ICard[];
59
59
  isBlackjack: boolean;
@@ -106,7 +106,7 @@ export interface IPlayer {
106
106
  boxes?: IBoxes[];
107
107
  internalBoxes?: IBoxes[];
108
108
  dealerBox?: {
109
- hand: IHands;
109
+ hand: Partial<IHands>;
110
110
  } | null;
111
111
  partnerId?: number;
112
112
  gameCurrencyId?: string;
@@ -172,7 +172,7 @@ export interface IBoxes {
172
172
  bets: IBets[] | null;
173
173
  cards: ICard[] | null;
174
174
  dealerBox: {
175
- hand: IHands;
175
+ hand: Partial<IHands>;
176
176
  } | null;
177
177
  hand: Partial<IHands> | null;
178
178
  evaluator?: IEvaluator;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1,5 +1,6 @@
1
1
  interface LaunchFailedProps {
2
2
  exitUrl: string;
3
+ errorCode: number;
3
4
  }
4
- export declare const LaunchFailed: ({ exitUrl }: LaunchFailedProps) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const LaunchFailed: ({ exitUrl, errorCode }: LaunchFailedProps) => import("react/jsx-runtime").JSX.Element;
5
6
  export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -4,7 +4,7 @@ export interface ILimit {
4
4
  payout: string;
5
5
  }
6
6
  interface LimitsProps {
7
- limits: ILimit[];
7
+ limits?: ILimit[];
8
8
  }
9
9
  export declare const Limits: ({ limits }: LimitsProps) => import("react/jsx-runtime").JSX.Element;
10
10
  export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};