oraculo-ui 0.1.19 → 0.1.20

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/index.d.mts CHANGED
@@ -49,11 +49,13 @@ interface OraculoGridGroupProps {
49
49
  /** Custom grid template definition (overrides auto-fit/minmax behavior) */
50
50
  columns?: string | null;
51
51
  }
52
+ declare function OraculoGridGroup({ children, minWidth, spacing, justify, columns, }: OraculoGridGroupProps): React.JSX.Element;
52
53
 
53
54
  type Logo = {
54
55
  src: string;
55
56
  alt: string;
56
57
  };
58
+ declare function OraculoLogoMediosPago({ src, alt }: Logo): React.JSX.Element;
57
59
 
58
60
  interface OraculoMatchHeaderProps {
59
61
  title: string;
@@ -61,17 +63,30 @@ interface OraculoMatchHeaderProps {
61
63
  live?: boolean;
62
64
  time?: string;
63
65
  }
66
+ declare function OraculoMatchHeader({ title, subtitle, live, time }: OraculoMatchHeaderProps): React.JSX.Element;
67
+
68
+ interface OraculoEventLabelProps {
69
+ text: string;
70
+ }
71
+ declare function OraculoEventLabel({ text }: OraculoEventLabelProps): React.JSX.Element;
72
+
73
+ interface EventLeague {
74
+ title: string;
75
+ }
76
+ declare function OraculoEventLeague({ title }: EventLeague): React.JSX.Element;
64
77
 
65
78
  interface OraculoEventScoreProps {
66
79
  text: string | number;
67
80
  name?: string;
68
81
  size?: "normal" | "small";
69
82
  }
83
+ declare function OraculoEventScore({ text, name, size }: OraculoEventScoreProps): React.JSX.Element;
70
84
 
71
85
  interface OraculoEventStatusProps {
72
86
  live?: boolean;
73
87
  time?: string;
74
88
  }
89
+ declare function OraculoEventStatus({ live, time }: OraculoEventStatusProps): React.JSX.Element;
75
90
 
76
91
  interface OraculoEventStatusBadgeProps {
77
92
  /** Text inside the badge */
@@ -81,12 +96,14 @@ interface OraculoEventStatusBadgeProps {
81
96
  /** Text color */
82
97
  textColor?: string;
83
98
  }
99
+ declare function OraculoEventStatusBadge({ text, color, textColor }: OraculoEventStatusBadgeProps): React.JSX.Element;
84
100
 
85
101
  interface OraculoEventTeamInfoProps {
86
102
  name: string;
87
103
  logo: string;
88
104
  size?: "regular" | "compact";
89
105
  }
106
+ declare function OraculoEventTeamInfo({ name, logo, size }: OraculoEventTeamInfoProps): React.JSX.Element;
90
107
 
91
108
  interface OraculoCarouselOptions {
92
109
  type?: string;
@@ -200,6 +217,127 @@ interface OraculoClubOlimpoVisualProps {
200
217
  }
201
218
  declare const OraculoClubOlimpoVisual: React.FC<OraculoClubOlimpoVisualProps>;
202
219
 
220
+ interface EventPath {
221
+ id: number;
222
+ name: string;
223
+ englishName: string;
224
+ termKey: string;
225
+ }
226
+ interface EventBase {
227
+ id: number;
228
+ name: string;
229
+ nameDelimiter: string;
230
+ englishName: string;
231
+ homeName: string;
232
+ awayName: string;
233
+ start: string;
234
+ group: string;
235
+ groupId: number;
236
+ path: EventPath[];
237
+ nonLiveBoCount?: number;
238
+ liveBoCount?: number;
239
+ sport: string;
240
+ tags: string[];
241
+ state: string;
242
+ groupSortOrder?: number;
243
+ }
244
+ interface Outcome {
245
+ id: number;
246
+ label: string;
247
+ englishLabel: string;
248
+ odds: number;
249
+ participant?: string;
250
+ type: string;
251
+ betOfferId: number;
252
+ changedDate: string;
253
+ participantId?: number;
254
+ oddsFractional: string;
255
+ oddsAmerican: string;
256
+ status: string;
257
+ cashOutStatus: string;
258
+ line?: number;
259
+ }
260
+ interface Criterion {
261
+ id: number;
262
+ label: string;
263
+ englishLabel: string;
264
+ order: any[];
265
+ occurrenceType?: string;
266
+ lifetime?: string;
267
+ }
268
+ interface BetOfferType {
269
+ id: number;
270
+ name: string;
271
+ englishName: string;
272
+ }
273
+ interface BetOffer {
274
+ id: number;
275
+ closed?: string;
276
+ criterion: Criterion;
277
+ betOfferType: BetOfferType;
278
+ eventId: number;
279
+ outcomes: Outcome[];
280
+ tags: string[];
281
+ cashOutStatus: string;
282
+ }
283
+ interface MatchClock {
284
+ minute: string;
285
+ second: number;
286
+ running: boolean;
287
+ version: number;
288
+ }
289
+ interface LiveScore {
290
+ home: string;
291
+ away: string;
292
+ who: string;
293
+ version: number;
294
+ }
295
+ interface LiveStatisticsSetData {
296
+ home: number[];
297
+ away: number[];
298
+ homeServe: boolean;
299
+ }
300
+ interface LiveStatistics {
301
+ sets: LiveStatisticsSetData;
302
+ }
303
+ interface LiveData {
304
+ eventId: number;
305
+ matchClock: MatchClock;
306
+ score: LiveScore;
307
+ statistics?: LiveStatistics;
308
+ liveStatistics: any[];
309
+ }
310
+ interface LiveEvent {
311
+ event: EventBase;
312
+ liveData: LiveData;
313
+ betOffers: BetOffer;
314
+ }
315
+ interface CombinadoEventProps {
316
+ event: EventBase & {
317
+ outcomes?: Outcome[];
318
+ betOffers?: BetOffer[];
319
+ };
320
+ }
321
+ interface EnVivoEventProps {
322
+ event: EventBase;
323
+ liveData: LiveData | null;
324
+ betOffers?: BetOffer[];
325
+ fondo?: string;
326
+ }
327
+ interface SemanaEventProps {
328
+ event: EventBase & {
329
+ outcome?: {
330
+ outcomes?: Pick<Outcome, "id" | "label" | "odds">[];
331
+ }[];
332
+ };
333
+ }
334
+
335
+ declare function OraculoEventCombinadosCard({ event }: CombinadoEventProps): React.JSX.Element;
336
+
337
+ declare function OraculoEventEnVivoCard({ event, liveData, betOffers, fondo }: EnVivoEventProps): React.JSX.Element;
338
+
339
+ declare function OraculoEventSemanaCard({ event }: SemanaEventProps): React.JSX.Element;
340
+
203
341
  interface OraculoSeccionDestacadosItem {
204
342
  body: string;
205
343
  image: string;
@@ -327,6 +465,12 @@ interface OraculoSeccionClubOlimpoItems {
327
465
  }
328
466
  declare const OraculoSeccionClubOlimpo: React.FC<OraculoSeccionClubOlimpoItems>;
329
467
 
468
+ declare function OraculoSeccionEventoCombinadas({ items, title, iconUrl, onViewMore, className, }: any): React.JSX.Element;
469
+
470
+ declare function OraculoSeccionEventoEnVivo({ items, title, iconUrl, onViewMore, className, }: any): React.JSX.Element;
471
+
472
+ declare function OraculoSeccionEventoSemana({ items, title, iconUrl, onViewMore, className, }: any): React.JSX.Element;
473
+
330
474
  type OraculoPageLandingPreviewSection = {
331
475
  id: number;
332
476
  title: string;
@@ -366,4 +510,4 @@ interface OraculoPageLandingPreviewProps {
366
510
  }
367
511
  declare const OraculoPageLandingPreview: React.FC<OraculoPageLandingPreviewProps>;
368
512
 
369
- export { type Logo, type OraculoBonosItem, OraculoButton, type OraculoButtonProps, OraculoCarousel, OraculoCarouselDots, type OraculoCarouselDotsProps, type OraculoCarouselOptions, type OraculoCarouselProps, type OraculoCarouselRef, OraculoClubOlimpoVisual, type OraculoClubOlimpoVisualProps, type OraculoEventScoreProps, type OraculoEventStatusBadgeProps, type OraculoEventStatusProps, type OraculoEventTeamInfoProps, OraculoGameCard, type OraculoGameCardProps, type OraculoGameItem, OraculoGameRankCard, type OraculoGameRankCardProps, type OraculoGameRankCardSizes, OraculoGameSlide, type OraculoGameSlideItem, type OraculoGameSlideProps, type OraculoGridGroupProps, OraculoLiveCasinoCard, type OraculoLiveCasinoCardProps, type OraculoMatchHeaderProps, OraculoPageLandingPreview, type OraculoPageLandingPreviewProps, type OraculoPageLandingPreviewSection, OraculoSeccionBonoBienvenida, type OraculoSeccionBonoProps, OraculoSeccionCasino, OraculoSeccionCasinoEnVivo, type OraculoSeccionCasinoEnVivoProps, type OraculoSeccionCasinoProps, OraculoSeccionClubOlimpo, type OraculoSeccionClubOlimpoItem, OraculoSeccionDestacados, type OraculoSeccionDestacadosItem, type OraculoSeccionDestacadosProps, OraculoSeccionTopJuegos, type OraculoSeccionTopJuegosProps, OraculoSeccionVirtuales, type OraculoSeccionVirtualesProps, OraculoSectionTitle, type OraculoSectionTitleProps, OraculoSeccionTopJuegos as OraculoTopJuegoItem, OraculoWelcomeBanner, type OraculoWelcomeBannerProps, OraculoPageLandingPreview as default };
513
+ export { type BetOffer, type BetOfferType, type CombinadoEventProps, type Criterion, type EnVivoEventProps, type EventBase, type EventPath, type LiveData, type LiveEvent, type LiveScore, type LiveStatistics, type LiveStatisticsSetData, type MatchClock, type OraculoBonosItem, OraculoButton, type OraculoButtonProps, OraculoCarousel, OraculoCarouselDots, type OraculoCarouselDotsProps, type OraculoCarouselOptions, type OraculoCarouselProps, type OraculoCarouselRef, OraculoClubOlimpoVisual, type OraculoClubOlimpoVisualProps, OraculoEventCombinadosCard as OraculoEventCombinadasCard, OraculoEventEnVivoCard, OraculoMatchHeader as OraculoEventHeader, OraculoEventLabel, OraculoEventLeague, OraculoEventScore, OraculoEventSemanaCard, OraculoEventStatus, OraculoEventStatusBadge, OraculoEventTeamInfo, OraculoGameCard, type OraculoGameCardProps, type OraculoGameItem, OraculoGameRankCard, type OraculoGameRankCardProps, type OraculoGameRankCardSizes, OraculoGameSlide, type OraculoGameSlideItem, type OraculoGameSlideProps, OraculoGridGroup, OraculoLiveCasinoCard, type OraculoLiveCasinoCardProps, OraculoLogoMediosPago, OraculoPageLandingPreview, type OraculoPageLandingPreviewProps, type OraculoPageLandingPreviewSection, OraculoSeccionBonoBienvenida, type OraculoSeccionBonoProps, OraculoSeccionCasino, OraculoSeccionCasinoEnVivo, type OraculoSeccionCasinoEnVivoProps, type OraculoSeccionCasinoProps, OraculoSeccionClubOlimpo, type OraculoSeccionClubOlimpoItem, OraculoSeccionDestacados, type OraculoSeccionDestacadosItem, type OraculoSeccionDestacadosProps, OraculoSeccionEventoCombinadas, OraculoSeccionEventoEnVivo, OraculoSeccionEventoSemana, OraculoSeccionTopJuegos, type OraculoSeccionTopJuegosProps, OraculoSeccionVirtuales, type OraculoSeccionVirtualesProps, OraculoSectionTitle, type OraculoSectionTitleProps, OraculoSeccionTopJuegos as OraculoTopJuegoItem, OraculoWelcomeBanner, type OraculoWelcomeBannerProps, type Outcome, type SemanaEventProps, OraculoPageLandingPreview as default };
package/dist/index.d.ts CHANGED
@@ -49,11 +49,13 @@ interface OraculoGridGroupProps {
49
49
  /** Custom grid template definition (overrides auto-fit/minmax behavior) */
50
50
  columns?: string | null;
51
51
  }
52
+ declare function OraculoGridGroup({ children, minWidth, spacing, justify, columns, }: OraculoGridGroupProps): React.JSX.Element;
52
53
 
53
54
  type Logo = {
54
55
  src: string;
55
56
  alt: string;
56
57
  };
58
+ declare function OraculoLogoMediosPago({ src, alt }: Logo): React.JSX.Element;
57
59
 
58
60
  interface OraculoMatchHeaderProps {
59
61
  title: string;
@@ -61,17 +63,30 @@ interface OraculoMatchHeaderProps {
61
63
  live?: boolean;
62
64
  time?: string;
63
65
  }
66
+ declare function OraculoMatchHeader({ title, subtitle, live, time }: OraculoMatchHeaderProps): React.JSX.Element;
67
+
68
+ interface OraculoEventLabelProps {
69
+ text: string;
70
+ }
71
+ declare function OraculoEventLabel({ text }: OraculoEventLabelProps): React.JSX.Element;
72
+
73
+ interface EventLeague {
74
+ title: string;
75
+ }
76
+ declare function OraculoEventLeague({ title }: EventLeague): React.JSX.Element;
64
77
 
65
78
  interface OraculoEventScoreProps {
66
79
  text: string | number;
67
80
  name?: string;
68
81
  size?: "normal" | "small";
69
82
  }
83
+ declare function OraculoEventScore({ text, name, size }: OraculoEventScoreProps): React.JSX.Element;
70
84
 
71
85
  interface OraculoEventStatusProps {
72
86
  live?: boolean;
73
87
  time?: string;
74
88
  }
89
+ declare function OraculoEventStatus({ live, time }: OraculoEventStatusProps): React.JSX.Element;
75
90
 
76
91
  interface OraculoEventStatusBadgeProps {
77
92
  /** Text inside the badge */
@@ -81,12 +96,14 @@ interface OraculoEventStatusBadgeProps {
81
96
  /** Text color */
82
97
  textColor?: string;
83
98
  }
99
+ declare function OraculoEventStatusBadge({ text, color, textColor }: OraculoEventStatusBadgeProps): React.JSX.Element;
84
100
 
85
101
  interface OraculoEventTeamInfoProps {
86
102
  name: string;
87
103
  logo: string;
88
104
  size?: "regular" | "compact";
89
105
  }
106
+ declare function OraculoEventTeamInfo({ name, logo, size }: OraculoEventTeamInfoProps): React.JSX.Element;
90
107
 
91
108
  interface OraculoCarouselOptions {
92
109
  type?: string;
@@ -200,6 +217,127 @@ interface OraculoClubOlimpoVisualProps {
200
217
  }
201
218
  declare const OraculoClubOlimpoVisual: React.FC<OraculoClubOlimpoVisualProps>;
202
219
 
220
+ interface EventPath {
221
+ id: number;
222
+ name: string;
223
+ englishName: string;
224
+ termKey: string;
225
+ }
226
+ interface EventBase {
227
+ id: number;
228
+ name: string;
229
+ nameDelimiter: string;
230
+ englishName: string;
231
+ homeName: string;
232
+ awayName: string;
233
+ start: string;
234
+ group: string;
235
+ groupId: number;
236
+ path: EventPath[];
237
+ nonLiveBoCount?: number;
238
+ liveBoCount?: number;
239
+ sport: string;
240
+ tags: string[];
241
+ state: string;
242
+ groupSortOrder?: number;
243
+ }
244
+ interface Outcome {
245
+ id: number;
246
+ label: string;
247
+ englishLabel: string;
248
+ odds: number;
249
+ participant?: string;
250
+ type: string;
251
+ betOfferId: number;
252
+ changedDate: string;
253
+ participantId?: number;
254
+ oddsFractional: string;
255
+ oddsAmerican: string;
256
+ status: string;
257
+ cashOutStatus: string;
258
+ line?: number;
259
+ }
260
+ interface Criterion {
261
+ id: number;
262
+ label: string;
263
+ englishLabel: string;
264
+ order: any[];
265
+ occurrenceType?: string;
266
+ lifetime?: string;
267
+ }
268
+ interface BetOfferType {
269
+ id: number;
270
+ name: string;
271
+ englishName: string;
272
+ }
273
+ interface BetOffer {
274
+ id: number;
275
+ closed?: string;
276
+ criterion: Criterion;
277
+ betOfferType: BetOfferType;
278
+ eventId: number;
279
+ outcomes: Outcome[];
280
+ tags: string[];
281
+ cashOutStatus: string;
282
+ }
283
+ interface MatchClock {
284
+ minute: string;
285
+ second: number;
286
+ running: boolean;
287
+ version: number;
288
+ }
289
+ interface LiveScore {
290
+ home: string;
291
+ away: string;
292
+ who: string;
293
+ version: number;
294
+ }
295
+ interface LiveStatisticsSetData {
296
+ home: number[];
297
+ away: number[];
298
+ homeServe: boolean;
299
+ }
300
+ interface LiveStatistics {
301
+ sets: LiveStatisticsSetData;
302
+ }
303
+ interface LiveData {
304
+ eventId: number;
305
+ matchClock: MatchClock;
306
+ score: LiveScore;
307
+ statistics?: LiveStatistics;
308
+ liveStatistics: any[];
309
+ }
310
+ interface LiveEvent {
311
+ event: EventBase;
312
+ liveData: LiveData;
313
+ betOffers: BetOffer;
314
+ }
315
+ interface CombinadoEventProps {
316
+ event: EventBase & {
317
+ outcomes?: Outcome[];
318
+ betOffers?: BetOffer[];
319
+ };
320
+ }
321
+ interface EnVivoEventProps {
322
+ event: EventBase;
323
+ liveData: LiveData | null;
324
+ betOffers?: BetOffer[];
325
+ fondo?: string;
326
+ }
327
+ interface SemanaEventProps {
328
+ event: EventBase & {
329
+ outcome?: {
330
+ outcomes?: Pick<Outcome, "id" | "label" | "odds">[];
331
+ }[];
332
+ };
333
+ }
334
+
335
+ declare function OraculoEventCombinadosCard({ event }: CombinadoEventProps): React.JSX.Element;
336
+
337
+ declare function OraculoEventEnVivoCard({ event, liveData, betOffers, fondo }: EnVivoEventProps): React.JSX.Element;
338
+
339
+ declare function OraculoEventSemanaCard({ event }: SemanaEventProps): React.JSX.Element;
340
+
203
341
  interface OraculoSeccionDestacadosItem {
204
342
  body: string;
205
343
  image: string;
@@ -327,6 +465,12 @@ interface OraculoSeccionClubOlimpoItems {
327
465
  }
328
466
  declare const OraculoSeccionClubOlimpo: React.FC<OraculoSeccionClubOlimpoItems>;
329
467
 
468
+ declare function OraculoSeccionEventoCombinadas({ items, title, iconUrl, onViewMore, className, }: any): React.JSX.Element;
469
+
470
+ declare function OraculoSeccionEventoEnVivo({ items, title, iconUrl, onViewMore, className, }: any): React.JSX.Element;
471
+
472
+ declare function OraculoSeccionEventoSemana({ items, title, iconUrl, onViewMore, className, }: any): React.JSX.Element;
473
+
330
474
  type OraculoPageLandingPreviewSection = {
331
475
  id: number;
332
476
  title: string;
@@ -366,4 +510,4 @@ interface OraculoPageLandingPreviewProps {
366
510
  }
367
511
  declare const OraculoPageLandingPreview: React.FC<OraculoPageLandingPreviewProps>;
368
512
 
369
- export { type Logo, type OraculoBonosItem, OraculoButton, type OraculoButtonProps, OraculoCarousel, OraculoCarouselDots, type OraculoCarouselDotsProps, type OraculoCarouselOptions, type OraculoCarouselProps, type OraculoCarouselRef, OraculoClubOlimpoVisual, type OraculoClubOlimpoVisualProps, type OraculoEventScoreProps, type OraculoEventStatusBadgeProps, type OraculoEventStatusProps, type OraculoEventTeamInfoProps, OraculoGameCard, type OraculoGameCardProps, type OraculoGameItem, OraculoGameRankCard, type OraculoGameRankCardProps, type OraculoGameRankCardSizes, OraculoGameSlide, type OraculoGameSlideItem, type OraculoGameSlideProps, type OraculoGridGroupProps, OraculoLiveCasinoCard, type OraculoLiveCasinoCardProps, type OraculoMatchHeaderProps, OraculoPageLandingPreview, type OraculoPageLandingPreviewProps, type OraculoPageLandingPreviewSection, OraculoSeccionBonoBienvenida, type OraculoSeccionBonoProps, OraculoSeccionCasino, OraculoSeccionCasinoEnVivo, type OraculoSeccionCasinoEnVivoProps, type OraculoSeccionCasinoProps, OraculoSeccionClubOlimpo, type OraculoSeccionClubOlimpoItem, OraculoSeccionDestacados, type OraculoSeccionDestacadosItem, type OraculoSeccionDestacadosProps, OraculoSeccionTopJuegos, type OraculoSeccionTopJuegosProps, OraculoSeccionVirtuales, type OraculoSeccionVirtualesProps, OraculoSectionTitle, type OraculoSectionTitleProps, OraculoSeccionTopJuegos as OraculoTopJuegoItem, OraculoWelcomeBanner, type OraculoWelcomeBannerProps, OraculoPageLandingPreview as default };
513
+ export { type BetOffer, type BetOfferType, type CombinadoEventProps, type Criterion, type EnVivoEventProps, type EventBase, type EventPath, type LiveData, type LiveEvent, type LiveScore, type LiveStatistics, type LiveStatisticsSetData, type MatchClock, type OraculoBonosItem, OraculoButton, type OraculoButtonProps, OraculoCarousel, OraculoCarouselDots, type OraculoCarouselDotsProps, type OraculoCarouselOptions, type OraculoCarouselProps, type OraculoCarouselRef, OraculoClubOlimpoVisual, type OraculoClubOlimpoVisualProps, OraculoEventCombinadosCard as OraculoEventCombinadasCard, OraculoEventEnVivoCard, OraculoMatchHeader as OraculoEventHeader, OraculoEventLabel, OraculoEventLeague, OraculoEventScore, OraculoEventSemanaCard, OraculoEventStatus, OraculoEventStatusBadge, OraculoEventTeamInfo, OraculoGameCard, type OraculoGameCardProps, type OraculoGameItem, OraculoGameRankCard, type OraculoGameRankCardProps, type OraculoGameRankCardSizes, OraculoGameSlide, type OraculoGameSlideItem, type OraculoGameSlideProps, OraculoGridGroup, OraculoLiveCasinoCard, type OraculoLiveCasinoCardProps, OraculoLogoMediosPago, OraculoPageLandingPreview, type OraculoPageLandingPreviewProps, type OraculoPageLandingPreviewSection, OraculoSeccionBonoBienvenida, type OraculoSeccionBonoProps, OraculoSeccionCasino, OraculoSeccionCasinoEnVivo, type OraculoSeccionCasinoEnVivoProps, type OraculoSeccionCasinoProps, OraculoSeccionClubOlimpo, type OraculoSeccionClubOlimpoItem, OraculoSeccionDestacados, type OraculoSeccionDestacadosItem, type OraculoSeccionDestacadosProps, OraculoSeccionEventoCombinadas, OraculoSeccionEventoEnVivo, OraculoSeccionEventoSemana, OraculoSeccionTopJuegos, type OraculoSeccionTopJuegosProps, OraculoSeccionVirtuales, type OraculoSeccionVirtualesProps, OraculoSectionTitle, type OraculoSectionTitleProps, OraculoSeccionTopJuegos as OraculoTopJuegoItem, OraculoWelcomeBanner, type OraculoWelcomeBannerProps, type Outcome, type SemanaEventProps, OraculoPageLandingPreview as default };