livevegas-ui-kit 1.0.298 → 1.0.300
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/README.md +69 -69
- package/dist/components/index.d.ts +2 -2
- package/dist/livevegas-ui-kit.es.js +7 -11
- package/dist/livevegas-ui-kit.umd.js +2 -2
- package/dist/services/i18n/config.d.ts +1 -3
- package/dist/services/i18n/translations/en.json.d.ts +832 -832
- package/dist/services/i18n/translations/es.json.d.ts +831 -831
- package/dist/services/i18n/translations/fa.json.d.ts +834 -834
- package/dist/services/i18n/translations/hy.json.d.ts +839 -839
- package/dist/services/i18n/translations/ka.json.d.ts +805 -805
- package/dist/services/i18n/translations/ru.json.d.ts +850 -850
- package/dist/services/i18n/translations/tr.json.d.ts +855 -855
- package/dist/services/i18n/translations/uz.json.d.ts +836 -836
- package/package.json +77 -77
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
|
+
```
|
|
@@ -25,6 +25,6 @@ import { FullScreenView } from './FoolScreen';
|
|
|
25
25
|
import { CardTexas } from './CardTexas';
|
|
26
26
|
import { TournamentAndPoints } from './TournamentAndPoints';
|
|
27
27
|
import { LaunchFailed } from './LaunchFailed';
|
|
28
|
-
import {
|
|
28
|
+
import { default as i18n, initI18n } from '../services/i18n/config';
|
|
29
29
|
|
|
30
|
-
export { i18n, initI18n, MoibleChipBoard, BlackJackeWinPopup, BalanceAndBet, TopIcons, Button, Card, Chip, Chip3D, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, Timer, MobileBottomInfo, Reconnect, NotPlaying, ToastMessages, BlackJackAction, BlackjeckInsurance, Wager, BonusModalContent, CardsRightInfo, TournamentAndPoints, CardTexas, FullScreenView, LaunchFailed
|
|
30
|
+
export { i18n, initI18n, MoibleChipBoard, BlackJackeWinPopup, BalanceAndBet, TopIcons, Button, Card, Chip, Chip3D, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, Timer, MobileBottomInfo, Reconnect, NotPlaying, ToastMessages, BlackJackAction, BlackjeckInsurance, Wager, BonusModalContent, CardsRightInfo, TournamentAndPoints, CardTexas, FullScreenView, LaunchFailed };
|
|
@@ -2682,7 +2682,7 @@ var w = /* @__PURE__ */ function(e) {
|
|
|
2682
2682
|
suit: r
|
|
2683
2683
|
}, t);
|
|
2684
2684
|
}),
|
|
2685
|
-
t.bets[t.bets.length - 1]
|
|
2685
|
+
t.bets[t.bets.length - 1]?.betType === G.Double && /* @__PURE__ */ o(q, {})
|
|
2686
2686
|
]
|
|
2687
2687
|
}), t?.splittedHands && t?.splittedHands.map(({ cards: e, finalValue: t }, n) => /* @__PURE__ */ s("div", {
|
|
2688
2688
|
className: "hand",
|
|
@@ -18373,18 +18373,14 @@ var Ns = i.button`
|
|
|
18373
18373
|
[$.Spanish]: { translation: Vs },
|
|
18374
18374
|
[$.Uzbek]: { translation: qs }
|
|
18375
18375
|
}, Ys = f.use(e);
|
|
18376
|
-
|
|
18377
|
-
let
|
|
18378
|
-
return Ys.
|
|
18379
|
-
|
|
18380
|
-
n && Ys.addResourceBundle(t, "translation", n, !0, !0);
|
|
18381
|
-
}), await Ys.changeLanguage(t)) : (console.log(e, "resources"), console.log(111), await Ys.init({
|
|
18382
|
-
lng: t,
|
|
18376
|
+
function Xs() {
|
|
18377
|
+
let e = zs.get(zs.language) || $.English;
|
|
18378
|
+
return Ys.init({
|
|
18379
|
+
lng: e,
|
|
18383
18380
|
fallbackLng: $.English,
|
|
18384
18381
|
interpolation: { escapeValue: !1 },
|
|
18385
|
-
resources:
|
|
18386
|
-
|
|
18387
|
-
})), Ys;
|
|
18382
|
+
resources: Js
|
|
18383
|
+
}), Ys;
|
|
18388
18384
|
}
|
|
18389
18385
|
//#endregion
|
|
18390
18386
|
export { ee as BalanceAndBet, $a as BlackJackAction, Oa as BlackJackeWinPopup, Co as BlackjeckInsurance, bo as BonusModalContent, M as Button, wt as Card, J as CardTexas, Oo as CardsRightInfo, z as Chip, Vo as Chip3D, oa as ChipBoard, Ss as FullScreenView, Ps as LaunchFailed, da as MobileBottomInfo, wi as MobileMenu, as as MoibleChipBoard, Ta as NotPlaying, Di as PopupWrapper, ya as Reconnect, ia as Timer, Pi as ToLobby, Fa as ToastMessages, Ri as TopIcons, Os as TournamentAndPoints, Yi as TournamentNotification, so as Wager, Ys as i18n, Xs as initI18n };
|