livevegas-ui-kit 1.0.115 → 1.0.117
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.
|
@@ -3,6 +3,5 @@ import { GAME_STATE } from '../History/helpers';
|
|
|
3
3
|
export interface ITimer {
|
|
4
4
|
time: number;
|
|
5
5
|
timerType: GAME_STATE;
|
|
6
|
-
isMobile?: boolean;
|
|
7
6
|
}
|
|
8
|
-
export declare const Timer: ({ time,
|
|
7
|
+
export declare const Timer: ({ time, timerType }: ITimer) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
interface IWrapperLoading {
|
|
2
2
|
$time: number;
|
|
3
|
-
$isMobile?: boolean;
|
|
4
3
|
}
|
|
5
4
|
export declare const WrapperLoading: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IWrapperLoading>> & string;
|
|
6
5
|
export {};
|
|
@@ -2133,7 +2133,7 @@ const ts = f.div`
|
|
|
2133
2133
|
children: [
|
|
2134
2134
|
c && l && /* @__PURE__ */ n.jsx("p", { className: c, children: v(l) }),
|
|
2135
2135
|
e,
|
|
2136
|
-
g && k()
|
|
2136
|
+
g && !i && k()
|
|
2137
2137
|
]
|
|
2138
2138
|
}
|
|
2139
2139
|
) });
|
|
@@ -6419,12 +6419,13 @@ const qo = ({ tournamentData: e }) => {
|
|
|
6419
6419
|
viewBox: "0 0 20 20",
|
|
6420
6420
|
fill: "none",
|
|
6421
6421
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6422
|
-
children: /* @__PURE__ */ n.jsx("g", { opacity: "
|
|
6422
|
+
children: /* @__PURE__ */ n.jsx("g", { opacity: "1", children: /* @__PURE__ */ n.jsx(
|
|
6423
6423
|
"path",
|
|
6424
6424
|
{
|
|
6425
6425
|
d: "M10.6193 10.1497L4.89501 11.1043C4.8292 11.1153 4.76744 11.1434 4.71595 11.1858C4.66445 11.2282 4.62503 11.2835 4.60165 11.346L2.62793 16.6333C2.43945 17.1197 2.94789 17.5833 3.41453 17.35L17.0945 10.51C17.1893 10.4626 17.269 10.3899 17.3247 10.2998C17.3804 10.2097 17.4099 10.1059 17.4099 10C17.4099 9.89409 17.3804 9.79027 17.3247 9.7002C17.269 9.61012 17.1893 9.53735 17.0945 9.49004L3.41453 2.65004C2.94789 2.41672 2.43945 2.88108 2.62793 3.36672L4.60241 8.65404C4.62568 8.71667 4.66505 8.77206 4.71656 8.81463C4.76806 8.85719 4.82988 8.88542 4.89577 8.89648L10.6201 9.85028C10.6553 9.85645 10.6872 9.87484 10.7102 9.90223C10.7333 9.92961 10.7459 9.96423 10.7459 10C10.7459 10.0358 10.7333 10.0704 10.7102 10.0978C10.6872 10.1251 10.6553 10.1435 10.6201 10.1497H10.6193Z",
|
|
6426
6426
|
fill: "white",
|
|
6427
|
-
|
|
6427
|
+
stroke: "white",
|
|
6428
|
+
strokeWidth: "0"
|
|
6428
6429
|
}
|
|
6429
6430
|
) })
|
|
6430
6431
|
}
|
|
@@ -8378,7 +8379,7 @@ const qo = ({ tournamentData: e }) => {
|
|
|
8378
8379
|
), J2 = f.div`
|
|
8379
8380
|
display: flex;
|
|
8380
8381
|
width: 100%;
|
|
8381
|
-
height:
|
|
8382
|
+
height: 24px;
|
|
8382
8383
|
justify-content: center;
|
|
8383
8384
|
align-items: center;
|
|
8384
8385
|
position: relative;
|
|
@@ -8388,7 +8389,7 @@ const qo = ({ tournamentData: e }) => {
|
|
|
8388
8389
|
display: flex;
|
|
8389
8390
|
max-width: 100%;
|
|
8390
8391
|
min-width: 90%;
|
|
8391
|
-
justify-content:
|
|
8392
|
+
justify-content: center;
|
|
8392
8393
|
align-items: center;
|
|
8393
8394
|
gap: 10px;
|
|
8394
8395
|
z-index: 2;
|
|
@@ -8424,17 +8425,15 @@ const qo = ({ tournamentData: e }) => {
|
|
|
8424
8425
|
color: #ffffff;
|
|
8425
8426
|
}
|
|
8426
8427
|
.line {
|
|
8427
|
-
|
|
8428
|
-
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
8433
|
-
|
|
8434
|
-
|
|
8435
|
-
rgba(255, 255, 255, 0) 100%
|
|
8428
|
+
width: 2px;
|
|
8429
|
+
height: 16px;
|
|
8430
|
+
border-radius: 1px;
|
|
8431
|
+
background: linear-gradient(
|
|
8432
|
+
180deg,
|
|
8433
|
+
rgba(255, 255, 255, 0) 0%,
|
|
8434
|
+
rgba(255, 255, 255, 0.4) 50%,
|
|
8435
|
+
rgba(255, 255, 255, 0) 100%
|
|
8436
8436
|
);
|
|
8437
|
-
`}
|
|
8438
8437
|
}
|
|
8439
8438
|
|
|
8440
8439
|
.timer-line {
|
|
@@ -8444,7 +8443,7 @@ const qo = ({ tournamentData: e }) => {
|
|
|
8444
8443
|
z-index: 1;
|
|
8445
8444
|
display: flex;
|
|
8446
8445
|
width: 100%;
|
|
8447
|
-
height:
|
|
8446
|
+
height: 24px;
|
|
8448
8447
|
justify-content: center;
|
|
8449
8448
|
align-items: center;
|
|
8450
8449
|
background: linear-gradient(
|
|
@@ -8500,26 +8499,26 @@ const qo = ({ tournamentData: e }) => {
|
|
|
8500
8499
|
width: 0%;
|
|
8501
8500
|
}
|
|
8502
8501
|
}
|
|
8503
|
-
`, U1 = ({ time: e,
|
|
8504
|
-
const { t:
|
|
8505
|
-
[Fe.WaitingInsurance]:
|
|
8506
|
-
[Fe.WaitingForUserAction]:
|
|
8507
|
-
[Fe.WaitingForBet]:
|
|
8508
|
-
}, [
|
|
8502
|
+
`, U1 = ({ time: e, timerType: t }) => {
|
|
8503
|
+
const { t: a } = X(), i = {
|
|
8504
|
+
[Fe.WaitingInsurance]: a("Insure Your Hand?"),
|
|
8505
|
+
[Fe.WaitingForUserAction]: a("Make your descision"),
|
|
8506
|
+
[Fe.WaitingForBet]: a("Please, Place Your Bets")
|
|
8507
|
+
}, [r, s] = Z(
|
|
8509
8508
|
null
|
|
8510
|
-
),
|
|
8509
|
+
), o = e / 1e3;
|
|
8511
8510
|
if (ue(() => {
|
|
8512
|
-
e > 0 &&
|
|
8513
|
-
|
|
8514
|
-
}, 1e3) : e > 0 &&
|
|
8515
|
-
}, [e,
|
|
8516
|
-
return /* @__PURE__ */ n.jsxs(J2, { $time:
|
|
8511
|
+
e > 0 && r ? setTimeout(() => {
|
|
8512
|
+
s(r - 1);
|
|
8513
|
+
}, 1e3) : e > 0 && r === null ? s((e + 1e3) / 1e3) : s(null);
|
|
8514
|
+
}, [e, r]), e > 0)
|
|
8515
|
+
return /* @__PURE__ */ n.jsxs(J2, { $time: o, children: [
|
|
8517
8516
|
/* @__PURE__ */ n.jsx("div", { className: "timer-line" }),
|
|
8518
8517
|
/* @__PURE__ */ n.jsx("div", { className: "line-time" }),
|
|
8519
8518
|
/* @__PURE__ */ n.jsxs("div", { className: "text-wrapper", children: [
|
|
8520
|
-
/* @__PURE__ */ n.jsx("p", { className: "p", children: i
|
|
8519
|
+
/* @__PURE__ */ n.jsx("p", { className: "p", children: a(i[t]) }),
|
|
8521
8520
|
/* @__PURE__ */ n.jsx("div", { className: "line" }),
|
|
8522
|
-
/* @__PURE__ */ n.jsx("p", { className: "p", children:
|
|
8521
|
+
/* @__PURE__ */ n.jsx("p", { className: "p", children: r })
|
|
8523
8522
|
] })
|
|
8524
8523
|
] });
|
|
8525
8524
|
}, $a = () => /* @__PURE__ */ n.jsx(
|