livevegas-ui-kit 1.0.293 → 1.0.295
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.
|
@@ -6,8 +6,9 @@ export interface IActionButton {
|
|
|
6
6
|
icon: React.ComponentType<ISizeIcon>;
|
|
7
7
|
onClick: () => void;
|
|
8
8
|
isDisabled: boolean;
|
|
9
|
+
actionName?: string;
|
|
9
10
|
size?: number;
|
|
10
11
|
customColor?: string;
|
|
11
12
|
gameType?: number;
|
|
12
13
|
}
|
|
13
|
-
export declare const ActionButton: ({ buttonType, icon: Icon, onClick, isDisabled, size, customColor, gameType }: IActionButton) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const ActionButton: ({ buttonType, icon: Icon, onClick, isDisabled, size, customColor, gameType, actionName }: IActionButton) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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 { initI18n, i18n } from '../services/i18n/config';
|
|
29
29
|
|
|
30
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 };
|
|
@@ -9356,6 +9356,7 @@ var Fn = i.div`
|
|
|
9356
9356
|
g !== T.TEXAS && /* @__PURE__ */ s($i, {
|
|
9357
9357
|
$isDisabled: m,
|
|
9358
9358
|
onClick: l,
|
|
9359
|
+
"test-id": "deal-now",
|
|
9359
9360
|
children: [/* @__PURE__ */ o("div", {
|
|
9360
9361
|
className: "button-icon icon",
|
|
9361
9362
|
children: /* @__PURE__ */ o(na, {})
|
|
@@ -9596,6 +9597,7 @@ var Fn = i.div`
|
|
|
9596
9597
|
onClick: () => _(e, n, r),
|
|
9597
9598
|
children: a("Back to Lobby")
|
|
9598
9599
|
}), /* @__PURE__ */ o("button", {
|
|
9600
|
+
"test-id": "stayInTheGame",
|
|
9599
9601
|
onClick: i,
|
|
9600
9602
|
children: a("Stay in the Game")
|
|
9601
9603
|
})] })
|
|
@@ -10024,18 +10026,19 @@ var Fn = i.div`
|
|
|
10024
10026
|
transform: scale(1.3);
|
|
10025
10027
|
}
|
|
10026
10028
|
}
|
|
10027
|
-
`, Ha = ({ buttonType: e, icon: t, onClick: n, isDisabled: r, size: i = Ra.Big, customColor: a, gameType: s }) => {
|
|
10028
|
-
let
|
|
10029
|
+
`, Ha = ({ buttonType: e, icon: t, onClick: n, isDisabled: r, size: i = Ra.Big, customColor: a, gameType: s, actionName: c }) => {
|
|
10030
|
+
let l = Ba(i, e);
|
|
10029
10031
|
return /* @__PURE__ */ o(Va, {
|
|
10030
10032
|
onClick: n,
|
|
10031
10033
|
disabled: r,
|
|
10032
10034
|
$isDisabled: r,
|
|
10033
10035
|
$color: a ?? La[e],
|
|
10034
|
-
$size:
|
|
10036
|
+
$size: l,
|
|
10035
10037
|
$gameType: s,
|
|
10038
|
+
"test-id": `action-${c}`,
|
|
10036
10039
|
children: /* @__PURE__ */ o("div", {
|
|
10037
10040
|
className: "icon",
|
|
10038
|
-
children: /* @__PURE__ */ o(t, { size:
|
|
10041
|
+
children: /* @__PURE__ */ o(t, { size: l.iconSize })
|
|
10039
10042
|
})
|
|
10040
10043
|
});
|
|
10041
10044
|
}, Ua = ({ size: e }) => /* @__PURE__ */ o("svg", {
|
|
@@ -10268,7 +10271,8 @@ var Fn = i.div`
|
|
|
10268
10271
|
},
|
|
10269
10272
|
isDisabled: i || !!l,
|
|
10270
10273
|
size: r,
|
|
10271
|
-
gameType: c
|
|
10274
|
+
gameType: c,
|
|
10275
|
+
actionName: e.name
|
|
10272
10276
|
}), f && /* @__PURE__ */ o("p", {
|
|
10273
10277
|
className: "name",
|
|
10274
10278
|
children: p(e.name)
|
|
@@ -10288,7 +10292,8 @@ var Fn = i.div`
|
|
|
10288
10292
|
a(), u(e.betType);
|
|
10289
10293
|
},
|
|
10290
10294
|
isDisabled: i || !!l,
|
|
10291
|
-
size: r
|
|
10295
|
+
size: r,
|
|
10296
|
+
actionName: e.name
|
|
10292
10297
|
}), f && /* @__PURE__ */ o("p", {
|
|
10293
10298
|
className: "name",
|
|
10294
10299
|
children: p(e.name)
|
|
@@ -10305,6 +10310,7 @@ var Fn = i.div`
|
|
|
10305
10310
|
$surrender: !0,
|
|
10306
10311
|
$isDisabled: n[G.Surrender].isDisabled,
|
|
10307
10312
|
disabled: n[G.Surrender].isDisabled,
|
|
10313
|
+
"test-id": "action-Surrender",
|
|
10308
10314
|
children: [/* @__PURE__ */ o("div", {
|
|
10309
10315
|
className: "icon",
|
|
10310
10316
|
children: /* @__PURE__ */ o(Ia, { size: r === Ra.Big ? 20 : 12 })
|
|
@@ -10672,7 +10678,8 @@ var Fn = i.div`
|
|
|
10672
10678
|
onClick: i,
|
|
10673
10679
|
isDisabled: r,
|
|
10674
10680
|
customColor: e.color,
|
|
10675
|
-
size: Ra.Bigest
|
|
10681
|
+
size: Ra.Bigest,
|
|
10682
|
+
actionName: e.name
|
|
10676
10683
|
}), /* @__PURE__ */ o("p", {
|
|
10677
10684
|
className: "name",
|
|
10678
10685
|
children: p(e.name)
|
|
@@ -18366,13 +18373,13 @@ var Ns = i.button`
|
|
|
18366
18373
|
[$.Spanish]: { translation: Vs },
|
|
18367
18374
|
[$.Uzbek]: { translation: qs }
|
|
18368
18375
|
}, Ys = f.use(e);
|
|
18369
|
-
function Xs() {
|
|
18370
|
-
let
|
|
18376
|
+
function Xs(e = Js) {
|
|
18377
|
+
let t = zs.get(zs.language) || $.English;
|
|
18371
18378
|
return Ys.init({
|
|
18372
|
-
lng:
|
|
18379
|
+
lng: t,
|
|
18373
18380
|
fallbackLng: $.English,
|
|
18374
18381
|
interpolation: { escapeValue: !1 },
|
|
18375
|
-
resources:
|
|
18382
|
+
resources: e
|
|
18376
18383
|
}), Ys;
|
|
18377
18384
|
}
|
|
18378
18385
|
//#endregion
|