oraculo-ui 0.1.8 → 0.1.10
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/OraculoSeccionBonoBienvenida-2APXZQQA.mjs +8 -0
- package/dist/OraculoSeccionBonoBienvenida-MGMLDCRG.css +220 -0
- package/dist/OraculoSeccionCasino-RFXPS2MW.css +397 -0
- package/dist/OraculoSeccionCasino-WBPCNYC5.mjs +12 -0
- package/dist/OraculoSeccionCasinoEnVivo-ISYMJSUN.mjs +8 -0
- package/dist/OraculoSeccionCasinoEnVivo-MMXETHJA.css +156 -0
- package/dist/OraculoSeccionClubOlimpo-APZYPQ5V.css +116 -0
- package/dist/OraculoSeccionClubOlimpo-MYTRV5IN.css +273 -0
- package/dist/OraculoSeccionClubOlimpo-TV3LABJ5.mjs +9 -0
- package/dist/OraculoSeccionClubOlimpo-XGB4KUKX.mjs +7 -0
- package/dist/OraculoSeccionDestacados-IMREYQ6W.mjs +12 -0
- package/dist/OraculoSeccionDestacados-WQX2GQNY.css +397 -0
- package/dist/OraculoSeccionTopJuegos-DWEO36ND.mjs +12 -0
- package/dist/OraculoSeccionTopJuegos-FMFAEVQK.css +397 -0
- package/dist/OraculoSeccionVirtuales-6RBECPDW.css +397 -0
- package/dist/OraculoSeccionVirtuales-IBYOMEJV.mjs +12 -0
- package/dist/chunk-2D7ZJMJV.mjs +118 -0
- package/dist/chunk-4LBAYKDQ.mjs +475 -0
- package/dist/chunk-IJQLK4NO.mjs +73 -0
- package/dist/chunk-PVY5Z3JS.mjs +249 -0
- package/dist/chunk-PZJSZNXJ.mjs +6 -0
- package/dist/chunk-VIPLL6XT.mjs +43 -0
- package/dist/chunk-VYYKDD5L.mjs +39899 -0
- package/dist/index.d.mts +40 -2
- package/dist/index.d.ts +40 -2
- package/dist/index.js +39962 -1310
- package/dist/index.mjs +29 -1814
- package/package.json +1 -1
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import {
|
|
2
|
+
OraculoButton
|
|
3
|
+
} from "./chunk-IJQLK4NO.mjs";
|
|
4
|
+
|
|
5
|
+
// src/organisms/OraculoSeccionCasinoEnVivo/OraculoSeccionCasinoEnVivo.tsx
|
|
6
|
+
import Box2 from "@mui/material/Box";
|
|
7
|
+
import Stack from "@mui/material/Stack";
|
|
8
|
+
import Typography2 from "@mui/material/Typography";
|
|
9
|
+
|
|
10
|
+
// src/molecules/OraculoLiveCasinoCard/OraculoLiveCasinoCard.tsx
|
|
11
|
+
import Box from "@mui/material/Box";
|
|
12
|
+
import Typography from "@mui/material/Typography";
|
|
13
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
+
var OraculoLiveCasinoCard = ({
|
|
15
|
+
logo,
|
|
16
|
+
provider,
|
|
17
|
+
providerName,
|
|
18
|
+
machine,
|
|
19
|
+
onClick
|
|
20
|
+
}) => {
|
|
21
|
+
var _a;
|
|
22
|
+
return /* @__PURE__ */ jsxs(
|
|
23
|
+
Box,
|
|
24
|
+
{
|
|
25
|
+
onClick,
|
|
26
|
+
sx: {
|
|
27
|
+
flex: "0 0 auto",
|
|
28
|
+
position: "relative",
|
|
29
|
+
borderRadius: "20px",
|
|
30
|
+
overflow: "hidden",
|
|
31
|
+
width: { xs: 100, md: 180 },
|
|
32
|
+
height: { xs: 200, md: 380 },
|
|
33
|
+
transition: "width .50s ease, transform .28s ease",
|
|
34
|
+
willChange: "width, transform",
|
|
35
|
+
cursor: "pointer",
|
|
36
|
+
zIndex: 0,
|
|
37
|
+
"&:hover": {
|
|
38
|
+
zIndex: 2,
|
|
39
|
+
width: { md: 260, xs: 110 }
|
|
40
|
+
},
|
|
41
|
+
"&:hover .orc-live-provider-label": {
|
|
42
|
+
opacity: 1
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
children: [
|
|
46
|
+
/* @__PURE__ */ jsx(
|
|
47
|
+
Box,
|
|
48
|
+
{
|
|
49
|
+
component: "img",
|
|
50
|
+
src: logo,
|
|
51
|
+
alt: `Juego ${machine != null ? machine : ""}`,
|
|
52
|
+
sx: {
|
|
53
|
+
position: "absolute",
|
|
54
|
+
inset: 0,
|
|
55
|
+
width: "100%",
|
|
56
|
+
height: "100%",
|
|
57
|
+
objectFit: "cover",
|
|
58
|
+
display: "block"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
),
|
|
62
|
+
/* @__PURE__ */ jsx(
|
|
63
|
+
Box,
|
|
64
|
+
{
|
|
65
|
+
className: "orc-live-provider-label",
|
|
66
|
+
sx: {
|
|
67
|
+
position: "absolute",
|
|
68
|
+
left: "50%",
|
|
69
|
+
top: { xs: "75%", md: "80%" },
|
|
70
|
+
transform: "translate(-50%, -50%)",
|
|
71
|
+
zIndex: 3,
|
|
72
|
+
opacity: 0,
|
|
73
|
+
transition: "opacity .25s ease",
|
|
74
|
+
pointerEvents: "none"
|
|
75
|
+
},
|
|
76
|
+
children: /* @__PURE__ */ jsx(
|
|
77
|
+
Typography,
|
|
78
|
+
{
|
|
79
|
+
sx: {
|
|
80
|
+
color: "#fff",
|
|
81
|
+
fontWeight: 700,
|
|
82
|
+
fontSize: { xs: 11, md: 14 },
|
|
83
|
+
textTransform: "capitalize"
|
|
84
|
+
},
|
|
85
|
+
children: (_a = provider != null ? provider : providerName) != null ? _a : ""
|
|
86
|
+
}
|
|
87
|
+
)
|
|
88
|
+
}
|
|
89
|
+
)
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
);
|
|
93
|
+
};
|
|
94
|
+
var OraculoLiveCasinoCard_default = OraculoLiveCasinoCard;
|
|
95
|
+
|
|
96
|
+
// src/organisms/OraculoSeccionCasinoEnVivo/OraculoSeccionCasinoEnVivo.tsx
|
|
97
|
+
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
98
|
+
var OraculoSeccionCasinoEnVivo = ({
|
|
99
|
+
items,
|
|
100
|
+
title = "Casino en vivo",
|
|
101
|
+
subtitle = "Disfruta la emoci\xF3n en tus juegos favoritos y gana en tiempo real.",
|
|
102
|
+
backgroundMobileUrl = "/assets/img/home/CasinoEnVivo/FondoMobile3.png",
|
|
103
|
+
backgroundDesktopUrl = "/assets/img/home/CasinoEnVivo/FondoDesktop3.png",
|
|
104
|
+
onCardClick,
|
|
105
|
+
onViewMore,
|
|
106
|
+
className
|
|
107
|
+
}) => {
|
|
108
|
+
return /* @__PURE__ */ jsxs2(
|
|
109
|
+
Box2,
|
|
110
|
+
{
|
|
111
|
+
className,
|
|
112
|
+
sx: {
|
|
113
|
+
position: "relative",
|
|
114
|
+
width: "100vw",
|
|
115
|
+
left: "50%",
|
|
116
|
+
right: "50%",
|
|
117
|
+
transform: "translateX(-50%)",
|
|
118
|
+
color: "white",
|
|
119
|
+
overflow: "hidden"
|
|
120
|
+
},
|
|
121
|
+
children: [
|
|
122
|
+
/* @__PURE__ */ jsx2(
|
|
123
|
+
Box2,
|
|
124
|
+
{
|
|
125
|
+
sx: {
|
|
126
|
+
position: "absolute",
|
|
127
|
+
inset: 0,
|
|
128
|
+
backgroundImage: {
|
|
129
|
+
xs: `
|
|
130
|
+
linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
|
|
131
|
+
linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
|
|
132
|
+
url('${backgroundMobileUrl}')
|
|
133
|
+
`,
|
|
134
|
+
md: `
|
|
135
|
+
linear-gradient(to bottom, #121212 0%, rgba(18,18,18,0) 10%),
|
|
136
|
+
linear-gradient(to top, #121212 0%, rgba(18,18,18,0) 10%),
|
|
137
|
+
url('${backgroundDesktopUrl}')
|
|
138
|
+
`
|
|
139
|
+
},
|
|
140
|
+
backgroundSize: "cover",
|
|
141
|
+
backgroundPosition: "center",
|
|
142
|
+
backgroundRepeat: "no-repeat",
|
|
143
|
+
zIndex: 0
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
),
|
|
147
|
+
/* @__PURE__ */ jsxs2(
|
|
148
|
+
Box2,
|
|
149
|
+
{
|
|
150
|
+
sx: {
|
|
151
|
+
position: "relative",
|
|
152
|
+
zIndex: 1,
|
|
153
|
+
maxWidth: 1200,
|
|
154
|
+
height: { xs: "450px", md: "550px" },
|
|
155
|
+
mx: "auto",
|
|
156
|
+
px: { xs: 2.5, md: 6 },
|
|
157
|
+
display: "flex",
|
|
158
|
+
flexDirection: { xs: "column", md: "row" },
|
|
159
|
+
alignItems: { xs: "center", md: "center" },
|
|
160
|
+
justifyContent: "center",
|
|
161
|
+
gap: { xs: 0, md: 15 },
|
|
162
|
+
textAlign: { xs: "center", md: "left" }
|
|
163
|
+
},
|
|
164
|
+
children: [
|
|
165
|
+
/* @__PURE__ */ jsxs2(Stack, { spacing: 3, sx: { maxWidth: { md: 280 } }, children: [
|
|
166
|
+
/* @__PURE__ */ jsx2(
|
|
167
|
+
Typography2,
|
|
168
|
+
{
|
|
169
|
+
variant: "h4",
|
|
170
|
+
sx: {
|
|
171
|
+
fontWeight: 800,
|
|
172
|
+
fontSize: { xs: 24, md: 40 },
|
|
173
|
+
WebkitTextStroke: "0.5px rgba(255, 255, 255, .5)",
|
|
174
|
+
textShadow: "0 0 2px rgba(255, 255, 255, .95),0 0 4px rgba(255, 255, 255, .6),0 1px 0 #898989"
|
|
175
|
+
},
|
|
176
|
+
children: title
|
|
177
|
+
}
|
|
178
|
+
),
|
|
179
|
+
/* @__PURE__ */ jsx2(
|
|
180
|
+
Typography2,
|
|
181
|
+
{
|
|
182
|
+
sx: {
|
|
183
|
+
fontSize: { xs: 14, md: 18 },
|
|
184
|
+
color: "rgba(255,255,255,0.9)",
|
|
185
|
+
marginX: { xs: 4, md: 0 },
|
|
186
|
+
lineHeight: 1.5
|
|
187
|
+
},
|
|
188
|
+
children: subtitle
|
|
189
|
+
}
|
|
190
|
+
),
|
|
191
|
+
/* @__PURE__ */ jsx2(Box2, { sx: { display: { xs: "none", md: "block" } }, children: /* @__PURE__ */ jsx2(
|
|
192
|
+
OraculoButton,
|
|
193
|
+
{
|
|
194
|
+
variant: "primary",
|
|
195
|
+
size: "md",
|
|
196
|
+
onClick: () => onViewMore == null ? void 0 : onViewMore(),
|
|
197
|
+
children: "Ver m\xE1s"
|
|
198
|
+
}
|
|
199
|
+
) })
|
|
200
|
+
] }),
|
|
201
|
+
/* @__PURE__ */ jsx2(
|
|
202
|
+
Box2,
|
|
203
|
+
{
|
|
204
|
+
sx: {
|
|
205
|
+
display: "flex",
|
|
206
|
+
gap: { xs: 2, md: 3 },
|
|
207
|
+
justifyContent: "center",
|
|
208
|
+
overflowX: { xs: "auto", md: "visible" },
|
|
209
|
+
py: { xs: 3, md: 0 },
|
|
210
|
+
alignItems: "center"
|
|
211
|
+
},
|
|
212
|
+
children: (items != null ? items : []).slice(0, 3).map((juego, idx) => {
|
|
213
|
+
var _a, _b;
|
|
214
|
+
return /* @__PURE__ */ jsx2(
|
|
215
|
+
OraculoLiveCasinoCard_default,
|
|
216
|
+
{
|
|
217
|
+
logo: `https://olimpo.bet${(_b = juego.logo) != null ? _b : ""}`,
|
|
218
|
+
provider: juego.provider,
|
|
219
|
+
providerName: juego.web_name,
|
|
220
|
+
machine: juego.machine,
|
|
221
|
+
onClick: () => onCardClick == null ? void 0 : onCardClick(juego, idx)
|
|
222
|
+
},
|
|
223
|
+
(_a = juego.orden) != null ? _a : idx
|
|
224
|
+
);
|
|
225
|
+
})
|
|
226
|
+
}
|
|
227
|
+
),
|
|
228
|
+
/* @__PURE__ */ jsx2(Box2, { sx: { display: { xs: "block", md: "none" } }, children: /* @__PURE__ */ jsx2(
|
|
229
|
+
OraculoButton,
|
|
230
|
+
{
|
|
231
|
+
variant: "primary",
|
|
232
|
+
size: "lg",
|
|
233
|
+
onClick: () => onViewMore == null ? void 0 : onViewMore(),
|
|
234
|
+
children: "Ver m\xE1s"
|
|
235
|
+
}
|
|
236
|
+
) })
|
|
237
|
+
]
|
|
238
|
+
}
|
|
239
|
+
)
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
);
|
|
243
|
+
};
|
|
244
|
+
var OraculoSeccionCasinoEnVivo_default = OraculoSeccionCasinoEnVivo;
|
|
245
|
+
|
|
246
|
+
export {
|
|
247
|
+
OraculoLiveCasinoCard_default,
|
|
248
|
+
OraculoSeccionCasinoEnVivo_default
|
|
249
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
8
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
9
|
+
}) : x)(function(x) {
|
|
10
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
11
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
12
|
+
});
|
|
13
|
+
var __glob = (map) => (path) => {
|
|
14
|
+
var fn = map[path];
|
|
15
|
+
if (fn) return fn();
|
|
16
|
+
throw new Error("Module not found in bundle: " + path);
|
|
17
|
+
};
|
|
18
|
+
var __commonJS = (cb, mod) => function __require2() {
|
|
19
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
20
|
+
};
|
|
21
|
+
var __copyProps = (to, from, except, desc) => {
|
|
22
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
23
|
+
for (let key of __getOwnPropNames(from))
|
|
24
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
25
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
26
|
+
}
|
|
27
|
+
return to;
|
|
28
|
+
};
|
|
29
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
30
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
31
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
32
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
33
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
34
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
35
|
+
mod
|
|
36
|
+
));
|
|
37
|
+
|
|
38
|
+
export {
|
|
39
|
+
__require,
|
|
40
|
+
__glob,
|
|
41
|
+
__commonJS,
|
|
42
|
+
__toESM
|
|
43
|
+
};
|