oraculo-ui 0.1.31 → 0.1.32

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.
Files changed (50) hide show
  1. package/package.json +2 -2
  2. package/dist/atoms/OraculoButton/OraculoButton.d.ts +0 -21
  3. package/dist/atoms/OraculoCarouselDots/OraculoCarouselDots.d.ts +0 -10
  4. package/dist/atoms/OraculoEvent/OraculoEventDate.d.ts +0 -6
  5. package/dist/atoms/OraculoEvent/OraculoEventHeader.d.ts +0 -8
  6. package/dist/atoms/OraculoEvent/OraculoEventLabel.d.ts +0 -6
  7. package/dist/atoms/OraculoEvent/OraculoEventLeague.d.ts +0 -6
  8. package/dist/atoms/OraculoEvent/OraculoEventScore.d.ts +0 -7
  9. package/dist/atoms/OraculoEvent/OraculoEventStatus.d.ts +0 -6
  10. package/dist/atoms/OraculoEvent/OraculoEventStatusBadge.d.ts +0 -10
  11. package/dist/atoms/OraculoEvent/OraculoEventTeamInfo.d.ts +0 -7
  12. package/dist/atoms/OraculoEvent/OraculoEventTitle.d.ts +0 -7
  13. package/dist/atoms/OraculoGridGroup/OraculoGridGroup.d.ts +0 -14
  14. package/dist/atoms/OraculoLogo/OraculoLogoMediosPago.d.ts +0 -6
  15. package/dist/atoms/OraculoSectionTitle/OraculoSectionTitle.d.ts +0 -9
  16. package/dist/index.d.ts +0 -59
  17. package/dist/interfaces/oraculo/InterfaceBanner.d.ts +0 -17
  18. package/dist/interfaces/oraculo/InterfaceBonos.d.ts +0 -13
  19. package/dist/interfaces/oraculo/InterfaceCasino.d.ts +0 -10
  20. package/dist/interfaces/oraculo/InterfaceCasinoEnVivo.d.ts +0 -11
  21. package/dist/interfaces/oraculo/InterfaceClubOlimpo.d.ts +0 -11
  22. package/dist/interfaces/oraculo/InterfaceDestacados.d.ts +0 -19
  23. package/dist/interfaces/oraculo/InterfaceGameItem.d.ts +0 -17
  24. package/dist/interfaces/oraculo/InterfaceKambi.d.ts +0 -114
  25. package/dist/interfaces/oraculo/InterfaceTopJuegos.d.ts +0 -7
  26. package/dist/interfaces/oraculo/InterfaceVirtuales.d.ts +0 -10
  27. package/dist/molecules/OraculoCarousel/OraculoCarousel.d.ts +0 -42
  28. package/dist/molecules/OraculoClubOlimpoVisual/OraculoClubOlimpoVisual.d.ts +0 -13
  29. package/dist/molecules/OraculoEventCard/OraculoEventCombinadasCard.d.ts +0 -3
  30. package/dist/molecules/OraculoEventCard/OraculoEventEnVivoCard.d.ts +0 -3
  31. package/dist/molecules/OraculoEventCard/OraculoEventSemanaCard.d.ts +0 -3
  32. package/dist/molecules/OraculoGameCard/OraculoGameCard.d.ts +0 -9
  33. package/dist/molecules/OraculoGameRankCard/OraculoGameRankCard.d.ts +0 -19
  34. package/dist/molecules/OraculoGameSlide/OraculoGameSlide.d.ts +0 -12
  35. package/dist/molecules/OraculoLiveCasinoCard/OraculoLiveCasinoCard.d.ts +0 -10
  36. package/dist/molecules/OraculoWelcomeBanner/OraculoWelcomeBanner.d.ts +0 -15
  37. package/dist/organisms/OraculoSeccionBanners/OraculoSeccionBanners.d.ts +0 -3
  38. package/dist/organisms/OraculoSeccionBonoBienvenida/OraculoSeccionBonoBienvenida.d.ts +0 -4
  39. package/dist/organisms/OraculoSeccionCasino/OraculoSeccionCasino.d.ts +0 -4
  40. package/dist/organisms/OraculoSeccionCasinoEnVivo/OraculoSeccionCasinoEnVivo.d.ts +0 -4
  41. package/dist/organisms/OraculoSeccionClubOlimpo/OraculoSeccionClubOlimpo.d.ts +0 -16
  42. package/dist/organisms/OraculoSeccionDestacados/OraculoSeccionDestacados.d.ts +0 -3
  43. package/dist/organisms/OraculoSeccionEventoCombinadas/OraculoSeccionEventoCombinadas.d.ts +0 -2
  44. package/dist/organisms/OraculoSeccionEventoEnVivo/OraculoSeccionEventoEnVivo.d.ts +0 -2
  45. package/dist/organisms/OraculoSeccionEventoSemana/OraculoSeccionEventoSemana.d.ts +0 -2
  46. package/dist/organisms/OraculoSeccionMediosPago/OraculoSeccionMediosPago.d.ts +0 -11
  47. package/dist/organisms/OraculoSeccionTopJuegos/OraculoSeccionTopJuegos.d.ts +0 -3
  48. package/dist/organisms/OraculoSeccionVirtuales/OraculoSeccionVirtuales.d.ts +0 -4
  49. package/dist/templates/OraculoPageLanding.d.ts +0 -23
  50. package/dist/templates/OraculoPageLandingPreview.d.ts +0 -43
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oraculo-ui",
3
- "version": "0.1.31",
3
+ "version": "0.1.32",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "types": "./dist/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  ],
16
16
 
17
17
  "scripts": {
18
- "build": "vite build && tsc -p tsconfig.json --emitDeclarationOnly --outDir dist"
18
+ "build": "vite build"
19
19
  },
20
20
 
21
21
  "peerDependencies": {
@@ -1,21 +0,0 @@
1
- import React from "react";
2
- import "./OraculoButton.css";
3
- export interface OraculoButtonProps {
4
- children?: React.ReactNode;
5
- onClick?: any;
6
- href?: string;
7
- target?: React.HTMLAttributeAnchorTarget;
8
- rel?: string;
9
- type?: "button" | "submit" | "reset";
10
- disabled?: boolean;
11
- variant?: "primary" | "secondary" | "tertiary";
12
- size?: "sm" | "md" | "lg";
13
- fullWidth?: boolean;
14
- fullHeight?: boolean;
15
- className?: string;
16
- ariaLabel?: string;
17
- leftIcon?: React.ReactNode;
18
- rightIcon?: React.ReactNode;
19
- iconOnly?: boolean;
20
- }
21
- export default function OraculoButton({ children, onClick, href, target, rel, type, disabled, variant, size, fullWidth, fullHeight, className, ariaLabel, leftIcon, rightIcon, iconOnly, }: OraculoButtonProps): React.JSX.Element;
@@ -1,10 +0,0 @@
1
- import React from "react";
2
- import "./OraculoCarouselDots.css";
3
- export interface OraculoCarouselDotsProps {
4
- total: number;
5
- active: number;
6
- onSelect?: (index: number) => void;
7
- className?: string;
8
- }
9
- declare const OraculoCarouselDots: React.FC<OraculoCarouselDotsProps>;
10
- export default OraculoCarouselDots;
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- interface OraculoEventDateProps {
3
- text: string;
4
- }
5
- export default function OraculoEventDate({ text }: OraculoEventDateProps): React.JSX.Element;
6
- export {};
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- export interface OraculoMatchHeaderProps {
3
- title: string;
4
- subtitle?: string;
5
- live?: boolean;
6
- time?: string;
7
- }
8
- export default function OraculoMatchHeader({ title, subtitle, live, time }: OraculoMatchHeaderProps): React.JSX.Element;
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- interface OraculoEventLabelProps {
3
- text: string;
4
- }
5
- export default function OraculoEventLabel({ text }: OraculoEventLabelProps): React.JSX.Element;
6
- export {};
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- interface EventLeague {
3
- title: string;
4
- }
5
- export default function OraculoEventLeague({ title }: EventLeague): React.JSX.Element;
6
- export {};
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- export interface OraculoEventScoreProps {
3
- text: string | number;
4
- name?: string;
5
- size?: "normal" | "small";
6
- }
7
- export default function OraculoEventScore({ text, name, size }: OraculoEventScoreProps): React.JSX.Element;
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- export interface OraculoEventStatusProps {
3
- live?: boolean;
4
- time?: string;
5
- }
6
- export default function OraculoEventStatus({ live, time }: OraculoEventStatusProps): React.JSX.Element;
@@ -1,10 +0,0 @@
1
- import React from "react";
2
- export interface OraculoEventStatusBadgeProps {
3
- /** Text inside the badge */
4
- text: string;
5
- /** Background color of the badge */
6
- color?: string;
7
- /** Text color */
8
- textColor?: string;
9
- }
10
- export default function OraculoEventStatusBadge({ text, color, textColor }: OraculoEventStatusBadgeProps): React.JSX.Element;
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- export interface OraculoEventTeamInfoProps {
3
- name: string;
4
- logo: string;
5
- size?: "regular" | "compact";
6
- }
7
- export default function OraculoEventTeamInfo({ name, logo, size }: OraculoEventTeamInfoProps): React.JSX.Element;
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- interface OraculoEventTitleProps {
3
- title: string;
4
- subtitle?: string;
5
- }
6
- export default function OraculoEventTitle({ title, subtitle }: OraculoEventTitleProps): React.JSX.Element;
7
- export {};
@@ -1,14 +0,0 @@
1
- import React, { ReactNode } from "react";
2
- export interface OraculoGridGroupProps {
3
- /** Children inside the grid */
4
- children: ReactNode;
5
- /** Minimum width (in px) for auto-fit columns */
6
- minWidth?: number;
7
- /** Gap spacing: number → multiplier of 8px, or string → custom CSS value */
8
- spacing?: number | string;
9
- /** Horizontal alignment of grid items */
10
- justify?: "start" | "center" | "end" | "stretch";
11
- /** Custom grid template definition (overrides auto-fit/minmax behavior) */
12
- columns?: string | null;
13
- }
14
- export default function OraculoGridGroup({ children, minWidth, spacing, justify, columns, }: OraculoGridGroupProps): React.JSX.Element;
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- export type Logo = {
3
- src: string;
4
- alt: string;
5
- };
6
- export default function OraculoLogoMediosPago({ src, alt }: Logo): React.JSX.Element;
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- import "./OraculoSectionTitle.css";
3
- export interface OraculoSectionTitleProps {
4
- title: string;
5
- iconUrl?: string;
6
- size?: "xs" | "sm" | "md" | "lg";
7
- className?: string;
8
- }
9
- export default function OraculoSectionTitle({ title, iconUrl, size, className, }: OraculoSectionTitleProps): React.JSX.Element;
package/dist/index.d.ts DELETED
@@ -1,59 +0,0 @@
1
- import "./index.css";
2
- export { default as OraculoButton } from "./atoms/OraculoButton/OraculoButton";
3
- export type { OraculoButtonProps } from "./atoms/OraculoButton/OraculoButton";
4
- export { default as OraculoSectionTitle, } from "./atoms/OraculoSectionTitle/OraculoSectionTitle";
5
- export type { OraculoSectionTitleProps, } from "./atoms/OraculoSectionTitle/OraculoSectionTitle";
6
- export { default as OraculoCarouselDots, } from "./atoms/OraculoCarouselDots/OraculoCarouselDots";
7
- export type { OraculoCarouselDotsProps, } from "./atoms/OraculoCarouselDots/OraculoCarouselDots";
8
- export { default as OraculoGridGroup, } from "./atoms/OraculoGridGroup/OraculoGridGroup";
9
- export { default as OraculoLogoMediosPago, } from "./atoms/OraculoLogo/OraculoLogoMediosPago";
10
- export { default as OraculoEventHeader, } from "./atoms/OraculoEvent/OraculoEventHeader";
11
- export { default as OraculoEventLabel, } from "./atoms/OraculoEvent/OraculoEventLabel";
12
- export { default as OraculoEventLeague, } from "./atoms/OraculoEvent/OraculoEventLeague";
13
- export { default as OraculoEventScore, } from "./atoms/OraculoEvent/OraculoEventScore";
14
- export { default as OraculoEventStatus, } from "./atoms/OraculoEvent/OraculoEventStatus";
15
- export { default as OraculoEventStatusBadge, } from "./atoms/OraculoEvent/OraculoEventStatusBadge";
16
- export { default as OraculoEventTeamInfo, } from "./atoms/OraculoEvent/OraculoEventTeamInfo";
17
- export { default as OraculoCarousel, } from "./molecules/OraculoCarousel/OraculoCarousel";
18
- export type { OraculoCarouselProps, OraculoCarouselRef, OraculoCarouselOptions, } from "./molecules/OraculoCarousel/OraculoCarousel";
19
- export { default as OraculoGameRankCard, } from "./molecules/OraculoGameRankCard/OraculoGameRankCard";
20
- export type { OraculoGameRankCardProps, OraculoGameRankCardSizes, } from "./molecules/OraculoGameRankCard/OraculoGameRankCard";
21
- export { default as OraculoLiveCasinoCard, } from "./molecules/OraculoLiveCasinoCard/OraculoLiveCasinoCard";
22
- export type { OraculoLiveCasinoCardProps, } from "./molecules/OraculoLiveCasinoCard/OraculoLiveCasinoCard";
23
- export { default as OraculoGameCard, } from "./molecules/OraculoGameCard/OraculoGameCard";
24
- export type { OraculoGameCardProps, } from "./molecules/OraculoGameCard/OraculoGameCard";
25
- export { default as OraculoGameSlide, } from "./molecules/OraculoGameSlide/OraculoGameSlide";
26
- export type { OraculoGameSlideProps, OraculoGameSlideItem, } from "./molecules/OraculoGameSlide/OraculoGameSlide";
27
- export { default as OraculoWelcomeBanner, } from "./molecules/OraculoWelcomeBanner/OraculoWelcomeBanner";
28
- export type { OraculoWelcomeBannerProps, } from "./molecules/OraculoWelcomeBanner/OraculoWelcomeBanner";
29
- export { default as OraculoClubOlimpoVisual, } from "./molecules/OraculoClubOlimpoVisual/OraculoClubOlimpoVisual";
30
- export type { OraculoClubOlimpoVisualProps, } from "./molecules/OraculoClubOlimpoVisual/OraculoClubOlimpoVisual";
31
- export { default as OraculoEventCombinadasCard, } from "./molecules/OraculoEventCard/OraculoEventCombinadasCard";
32
- export { default as OraculoEventEnVivoCard, } from "./molecules/OraculoEventCard/OraculoEventEnVivoCard";
33
- export { default as OraculoEventSemanaCard, } from "./molecules/OraculoEventCard/OraculoEventSemanaCard";
34
- export { default as OraculoSeccionDestacados, } from "./organisms/OraculoSeccionDestacados/OraculoSeccionDestacados";
35
- export { default as OraculoSeccionTopJuegos, } from "./organisms/OraculoSeccionTopJuegos/OraculoSeccionTopJuegos";
36
- export { default as OraculoTopJuegoItem, } from "./organisms/OraculoSeccionTopJuegos/OraculoSeccionTopJuegos";
37
- export { default as OraculoSeccionCasinoEnVivo, } from "./organisms/OraculoSeccionCasinoEnVivo/OraculoSeccionCasinoEnVivo";
38
- export { default as OraculoSeccionCasino, } from "./organisms/OraculoSeccionCasino/OraculoSeccionCasino";
39
- export { default as OraculoSeccionVirtuales, } from "./organisms/OraculoSeccionVirtuales/OraculoSeccionVirtuales";
40
- export { default as OraculoSeccionBonoBienvenida, } from "./organisms/OraculoSeccionBonoBienvenida/OraculoSeccionBonoBienvenida";
41
- export { default as OraculoSeccionClubOlimpo, } from "./organisms/OraculoSeccionClubOlimpo/OraculoSeccionClubOlimpo";
42
- export { default as OraculoSeccionEventoCombinadas, } from "./organisms/OraculoSeccionEventoCombinadas/OraculoSeccionEventoCombinadas";
43
- export { default as OraculoSeccionEventoEnVivo, } from "./organisms/OraculoSeccionEventoEnVivo/OraculoSeccionEventoEnVivo";
44
- export { default as OraculoSeccionEventoSemana, } from "./organisms/OraculoSeccionEventoSemana/OraculoSeccionEventoSemana";
45
- export { default as OraculoSeccionBanners, } from "./organisms/OraculoSeccionBanners/OraculoSeccionBanners";
46
- import OraculoPageLandingPreview from "./templates/OraculoPageLandingPreview";
47
- export default OraculoPageLandingPreview;
48
- export { OraculoPageLandingPreview };
49
- export type { OraculoPageLandingPreviewProps, OraculoPageLandingPreviewSection, } from "./templates/OraculoPageLandingPreview";
50
- export * from "./interfaces/oraculo/InterfaceBonos";
51
- export * from "./interfaces/oraculo/InterfaceCasino";
52
- export * from "./interfaces/oraculo/InterfaceCasinoEnVivo";
53
- export * from "./interfaces/oraculo/InterfaceClubOlimpo";
54
- export * from "./interfaces/oraculo/InterfaceGameItem";
55
- export * from "./interfaces/oraculo/InterfaceTopJuegos";
56
- export * from "./interfaces/oraculo/InterfaceVirtuales";
57
- export * from "./interfaces/oraculo/InterfaceDestacados";
58
- export * from "./interfaces/oraculo/InterfaceKambi";
59
- export * from "./interfaces/oraculo/InterfaceBanner";
@@ -1,17 +0,0 @@
1
- export interface OraculoBannerItem {
2
- id: number | string;
3
- label: string;
4
- icon?: string;
5
- onclick?: () => void;
6
- }
7
- export interface OraculoBannerBackgrounds {
8
- desktopSrc: string;
9
- mobileSrc: string;
10
- fallbackSrc: string;
11
- }
12
- export interface OraculoSeccionBannersProps {
13
- backgrounds: OraculoBannerBackgrounds[];
14
- items: OraculoBannerItem[];
15
- leftIconSrc?: string;
16
- rightIconSrc?: string;
17
- }
@@ -1,13 +0,0 @@
1
- export interface OraculoBonosItem {
2
- title?: string;
3
- amount?: string;
4
- subtitle?: string;
5
- buttonText?: string;
6
- onButtonClick?: () => void;
7
- }
8
- export interface OraculoSeccionBonoProps {
9
- headline?: string;
10
- headline2?: string;
11
- items: OraculoBonosItem[];
12
- backgroundImageUrl?: string;
13
- }
@@ -1,10 +0,0 @@
1
- import { OraculoGameItem } from "./InterfaceGameItem";
2
- export interface OraculoSeccionCasinoProps {
3
- items: OraculoGameItem[];
4
- title?: string;
5
- iconUrl?: string;
6
- onItemClick?: (game: OraculoGameItem) => void;
7
- onViewMore?: () => void;
8
- mosaicFirst?: boolean;
9
- gridSize?: number;
10
- }
@@ -1,11 +0,0 @@
1
- import { OraculoGameItem } from "./InterfaceGameItem";
2
- export interface OraculoSeccionCasinoEnVivoProps {
3
- items: OraculoGameItem[];
4
- title?: string;
5
- subtitle?: string;
6
- backgroundMobileUrl?: string;
7
- backgroundDesktopUrl?: string;
8
- onCardClick?: (juego: OraculoGameItem, index: number) => void;
9
- onViewMore?: () => void;
10
- className?: string;
11
- }
@@ -1,11 +0,0 @@
1
- export interface OraculoSeccionClubOlimpoItem {
2
- text: string;
3
- buttonLabel?: string;
4
- imgAlt?: string;
5
- images: {
6
- mobile: string;
7
- desktopBg?: string;
8
- desktopLogo?: string;
9
- };
10
- onClick?: () => void;
11
- }
@@ -1,19 +0,0 @@
1
- export interface OraculoSeccionDestacadosItem {
2
- body: string;
3
- image: string;
4
- title: string;
5
- summary_body: string;
6
- summary_title: string;
7
- groups_forbidden: number[];
8
- groups_allowed: number[];
9
- promotion: string;
10
- tags: string;
11
- summary_image?: string;
12
- }
13
- export interface OraculoSeccionDestacadosProps {
14
- items: OraculoSeccionDestacadosItem[];
15
- title?: string;
16
- iconUrl?: string;
17
- onViewMore?: () => void;
18
- className?: string;
19
- }
@@ -1,17 +0,0 @@
1
- export interface OraculoGameItem {
2
- orden?: number;
3
- logo?: string;
4
- machine?: number | string;
5
- name?: string;
6
- web_name?: string;
7
- provider?: string;
8
- sub_provider?: string;
9
- external_id?: string;
10
- type?: string;
11
- tags?: string;
12
- lobby_tag?: string | null;
13
- background?: string;
14
- rtp?: number | null;
15
- demo_allowed?: boolean;
16
- gaming_session_required?: boolean;
17
- }
@@ -1,114 +0,0 @@
1
- export interface EventPath {
2
- id: number;
3
- name: string;
4
- englishName: string;
5
- termKey: string;
6
- }
7
- export interface EventBase {
8
- id: number;
9
- name: string;
10
- nameDelimiter: string;
11
- englishName: string;
12
- homeName: string;
13
- awayName: string;
14
- start: string;
15
- group: string;
16
- groupId: number;
17
- path: EventPath[];
18
- nonLiveBoCount?: number;
19
- liveBoCount?: number;
20
- sport: string;
21
- tags: string[];
22
- state: string;
23
- groupSortOrder?: number;
24
- }
25
- export interface Outcome {
26
- id: number;
27
- label: string;
28
- englishLabel: string;
29
- odds: number;
30
- participant?: string;
31
- type: string;
32
- betOfferId: number;
33
- changedDate: string;
34
- participantId?: number;
35
- oddsFractional: string;
36
- oddsAmerican: string;
37
- status: string;
38
- cashOutStatus: string;
39
- line?: number;
40
- }
41
- export interface Criterion {
42
- id: number;
43
- label: string;
44
- englishLabel: string;
45
- order: any[];
46
- occurrenceType?: string;
47
- lifetime?: string;
48
- }
49
- export interface BetOfferType {
50
- id: number;
51
- name: string;
52
- englishName: string;
53
- }
54
- export interface BetOffer {
55
- id: number;
56
- closed?: string;
57
- criterion: Criterion;
58
- betOfferType: BetOfferType;
59
- eventId: number;
60
- outcomes: Outcome[];
61
- tags: string[];
62
- cashOutStatus: string;
63
- }
64
- export interface MatchClock {
65
- minute: string;
66
- second: number;
67
- running: boolean;
68
- version: number;
69
- }
70
- export interface LiveScore {
71
- home: string;
72
- away: string;
73
- who: string;
74
- version: number;
75
- }
76
- export interface LiveStatisticsSetData {
77
- home: number[];
78
- away: number[];
79
- homeServe: boolean;
80
- }
81
- export interface LiveStatistics {
82
- sets: LiveStatisticsSetData;
83
- }
84
- export interface LiveData {
85
- eventId: number;
86
- matchClock: MatchClock;
87
- score: LiveScore;
88
- statistics?: LiveStatistics;
89
- liveStatistics: any[];
90
- }
91
- export interface LiveEvent {
92
- event: EventBase;
93
- liveData: LiveData;
94
- betOffers: BetOffer;
95
- }
96
- export interface CombinadoEventProps {
97
- event: EventBase & {
98
- outcomes?: Outcome[];
99
- betOffers?: BetOffer[];
100
- };
101
- }
102
- export interface EnVivoEventProps {
103
- event: EventBase;
104
- liveData: LiveData | null;
105
- betOffers?: BetOffer[];
106
- fondo?: string;
107
- }
108
- export interface SemanaEventProps {
109
- event: EventBase & {
110
- outcome?: {
111
- outcomes?: Pick<Outcome, "id" | "label" | "odds">[];
112
- }[];
113
- };
114
- }
@@ -1,7 +0,0 @@
1
- import { OraculoGameItem } from "./InterfaceGameItem";
2
- export interface OraculoSeccionTopJuegosProps {
3
- items: OraculoGameItem[];
4
- title?: string;
5
- iconUrl?: string;
6
- onCardClick?: (item: OraculoGameItem) => void;
7
- }
@@ -1,10 +0,0 @@
1
- import { OraculoGameItem } from "./InterfaceGameItem";
2
- export interface OraculoSeccionVirtualesProps {
3
- items: OraculoGameItem[];
4
- title?: string;
5
- iconUrl?: string;
6
- onItemClick?: (game: OraculoGameItem) => void;
7
- onViewMore?: () => void;
8
- mosaicFirst?: boolean;
9
- gridSize?: number;
10
- }
@@ -1,42 +0,0 @@
1
- import React, { ReactNode } from "react";
2
- export interface OraculoCarouselOptions {
3
- type?: string;
4
- perPage?: number;
5
- gap?: string;
6
- pagination?: boolean;
7
- arrows?: boolean;
8
- drag?: boolean;
9
- focus?: string | "center";
10
- autoWidth?: boolean;
11
- trimSpace?: boolean;
12
- rewind?: boolean;
13
- padding?: {
14
- left?: string;
15
- right?: string;
16
- };
17
- breakpoints?: Record<string | number, OraculoCarouselOptions>;
18
- [key: string]: any;
19
- }
20
- export interface OraculoCarouselRef {
21
- next: () => void;
22
- prev: () => void;
23
- go: (index: number | string) => void;
24
- }
25
- export interface OraculoCarouselProps<T = any> {
26
- items: T[];
27
- renderItem: (item: T, index: number) => ReactNode;
28
- perPage?: number;
29
- gap?: string;
30
- breakpoints?: Record<string | number, OraculoCarouselOptions>;
31
- options?: OraculoCarouselOptions;
32
- className?: string;
33
- useIndexAsKey?: boolean;
34
- onMove?: (info: {
35
- index: number;
36
- isStart: boolean;
37
- isEnd: boolean;
38
- total: number;
39
- }) => void;
40
- }
41
- declare const OraculoCarousel: React.ForwardRefExoticComponent<OraculoCarouselProps<any> & React.RefAttributes<OraculoCarouselRef>>;
42
- export default OraculoCarousel;
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import "../../organisms/OraculoSeccionClubOlimpo/OraculoSeccionClubOlimpo.css";
3
- export interface OraculoClubOlimpoVisualProps {
4
- text: string;
5
- buttonLabel?: string;
6
- onClick?: () => void;
7
- imgAlt?: string;
8
- imgSrcMobile: string;
9
- imgSrcDesktopBg?: string;
10
- imgSrcDesktopLogo?: string;
11
- }
12
- declare const OraculoClubOlimpoVisual: React.FC<OraculoClubOlimpoVisualProps>;
13
- export default OraculoClubOlimpoVisual;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { CombinadoEventProps } from "../../interfaces/oraculo/InterfaceKambi";
3
- export default function OraculoEventCombinadosCard({ event }: CombinadoEventProps): React.JSX.Element;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { EnVivoEventProps } from "../../interfaces/oraculo/InterfaceKambi";
3
- export default function OraculoEventEnVivoCard({ event, liveData, betOffers, fondo }: EnVivoEventProps): React.JSX.Element;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { SemanaEventProps } from "../../interfaces/oraculo/InterfaceKambi";
3
- export default function OraculoEventSemanaCard({ event }: SemanaEventProps): React.JSX.Element;
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- export interface OraculoGameCardProps {
3
- imageUrl: string;
4
- onClick?: () => void;
5
- size?: "lg" | "sm";
6
- fillParent?: boolean;
7
- }
8
- declare const OraculoGameCard: React.FC<OraculoGameCardProps>;
9
- export default OraculoGameCard;
@@ -1,19 +0,0 @@
1
- import React from "react";
2
- type SizeOpt = {
3
- w: number;
4
- h: number;
5
- r?: number;
6
- font?: number;
7
- };
8
- export interface OraculoGameRankCardSizes {
9
- xs: SizeOpt;
10
- md: SizeOpt;
11
- }
12
- export interface OraculoGameRankCardProps {
13
- imageUrl: string;
14
- orden?: number;
15
- onClick?: () => void;
16
- sizes?: OraculoGameRankCardSizes;
17
- }
18
- export default function OraculoGameRankCard({ imageUrl, orden, onClick, sizes, }: OraculoGameRankCardProps): React.JSX.Element;
19
- export {};
@@ -1,12 +0,0 @@
1
- import React from "react";
2
- export interface OraculoGameSlideItem {
3
- id: string | number;
4
- imageUrl: string;
5
- }
6
- export interface OraculoGameSlideProps {
7
- items: OraculoGameSlideItem[];
8
- layout?: "mosaic" | "grid";
9
- onClick?: (item: OraculoGameSlideItem, index: number) => void;
10
- }
11
- declare const OraculoGameSlide: React.FC<OraculoGameSlideProps>;
12
- export default OraculoGameSlide;
@@ -1,10 +0,0 @@
1
- import React from "react";
2
- export interface OraculoLiveCasinoCardProps {
3
- logo: string;
4
- provider?: string;
5
- providerName?: string;
6
- machine?: number | string;
7
- onClick?: () => void;
8
- }
9
- declare const OraculoLiveCasinoCard: React.FC<OraculoLiveCasinoCardProps>;
10
- export default OraculoLiveCasinoCard;
@@ -1,15 +0,0 @@
1
- import React from "react";
2
- export interface OraculoWelcomeBannerProps {
3
- title?: string;
4
- amount?: string;
5
- subtitle?: string;
6
- buttonText?: string;
7
- onButtonClick?: () => void;
8
- backgroundImage?: string;
9
- alt?: string;
10
- className?: string;
11
- /** Tamaño en desktop: "small" (456x272) o "large" (618x346) */
12
- variant?: "small" | "large";
13
- }
14
- declare const OraculoWelcomeBanner: React.FC<OraculoWelcomeBannerProps>;
15
- export default OraculoWelcomeBanner;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { OraculoSeccionBannersProps } from "../../interfaces/oraculo/InterfaceBanner";
3
- export default function OraculoSeccionBanners({ backgrounds, items, }: OraculoSeccionBannersProps): React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { OraculoSeccionBonoProps } from "../../interfaces/oraculo/InterfaceBonos";
3
- declare const OraculoSeccionBonoBienvenida: React.FC<OraculoSeccionBonoProps>;
4
- export default OraculoSeccionBonoBienvenida;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { OraculoSeccionCasinoProps } from "../../interfaces/oraculo/InterfaceCasino";
3
- declare const OraculoSeccionCasino: React.FC<OraculoSeccionCasinoProps>;
4
- export default OraculoSeccionCasino;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { OraculoSeccionCasinoEnVivoProps } from "../../interfaces/oraculo/InterfaceCasinoEnVivo";
3
- declare const OraculoSeccionCasinoEnVivo: React.FC<OraculoSeccionCasinoEnVivoProps>;
4
- export default OraculoSeccionCasinoEnVivo;
@@ -1,16 +0,0 @@
1
- import React from "react";
2
- import "./OraculoSeccionClubOlimpo.css";
3
- import { OraculoSeccionClubOlimpoItem } from "../../interfaces/oraculo/InterfaceClubOlimpo";
4
- export interface OraculoSeccionClubOlimpoItems {
5
- className?: string;
6
- /** Si true, hace el efecto full-bleed (100vw centrado) */
7
- fullBleed?: boolean;
8
- /** Lista de variantes (puedes pasar 1 o varias). */
9
- items: OraculoSeccionClubOlimpoItem;
10
- /** Índice del item a mostrar si pasas varios. */
11
- selectedIndex?: number;
12
- /** aria-label de la sección (fallback al imgAlt del item seleccionado). */
13
- ariaLabel?: string;
14
- }
15
- declare const OraculoSeccionClubOlimpo: React.FC<OraculoSeccionClubOlimpoItems>;
16
- export default OraculoSeccionClubOlimpo;
@@ -1,3 +0,0 @@
1
- import { OraculoSeccionDestacadosProps } from "../../interfaces/oraculo/InterfaceDestacados";
2
- import React from "react";
3
- export default function OraculoSeccionDestacados({ items, title, iconUrl, onViewMore, className, }: OraculoSeccionDestacadosProps): React.JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export default function OraculoSeccionEventoCombinadas({ items, title, iconUrl, onViewMore, className, }: any): React.JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export default function OraculoSeccionEventoEnVivo({ items, title, iconUrl, onViewMore, className, }: any): React.JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export default function OraculoSeccionEventoSemana({ items, title, iconUrl, onViewMore, className, }: any): React.JSX.Element;
@@ -1,11 +0,0 @@
1
- import React from "react";
2
- type LogoType = {
3
- src: string;
4
- alt: string;
5
- };
6
- type Props = {
7
- title?: string;
8
- rows?: LogoType[][];
9
- };
10
- export default function OraculoSeccionMediosPago({ title, rows, }: Props): React.JSX.Element;
11
- export {};
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { OraculoSeccionTopJuegosProps } from "../../interfaces/oraculo/InterfaceTopJuegos";
3
- export default function OraculoSeccionTopJuegos({ items, title, iconUrl, onCardClick, }: OraculoSeccionTopJuegosProps): React.JSX.Element;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { OraculoSeccionVirtualesProps } from "../../interfaces/oraculo/InterfaceVirtuales";
3
- declare const OraculoSeccionVirtuales: React.FC<OraculoSeccionVirtualesProps>;
4
- export default OraculoSeccionVirtuales;
@@ -1,23 +0,0 @@
1
- import { OraculoSeccionBonoProps } from "../interfaces/oraculo/InterfaceBonos";
2
- import { OraculoSeccionClubOlimpoItem } from "../interfaces/oraculo/InterfaceClubOlimpo";
3
- import { OraculoSeccionTopJuegosProps } from "../interfaces/oraculo/InterfaceTopJuegos";
4
- import { OraculoSeccionCasinoProps } from "../interfaces/oraculo/InterfaceCasino";
5
- import { OraculoSeccionCasinoEnVivoProps } from "../interfaces/oraculo/InterfaceCasinoEnVivo";
6
- import { OraculoSeccionVirtualesProps } from "../interfaces/oraculo/InterfaceVirtuales";
7
- import { OraculoSeccionDestacadosProps } from "../interfaces/oraculo/InterfaceDestacados";
8
- import React from "react";
9
- import { OraculoSeccionBannersProps } from "../interfaces/oraculo/InterfaceBanner";
10
- interface parametros {
11
- bonos: OraculoSeccionBonoProps;
12
- topJuegos: OraculoSeccionTopJuegosProps;
13
- casino: OraculoSeccionCasinoProps;
14
- casinoEnVivo: OraculoSeccionCasinoEnVivoProps;
15
- virtuales: OraculoSeccionVirtualesProps;
16
- clubOlimpo: OraculoSeccionClubOlimpoItem;
17
- destacados: OraculoSeccionDestacadosProps;
18
- banners: OraculoSeccionBannersProps;
19
- }
20
- export default function OraculoPageLanding({ props }: {
21
- props: parametros;
22
- }): React.JSX.Element;
23
- export {};
@@ -1,43 +0,0 @@
1
- import React from "react";
2
- import { Firestore } from "firebase/firestore";
3
- export type LandingComponentMap = Record<string, React.ComponentType<any>>;
4
- export declare const LandingComponents: LandingComponentMap;
5
- export type OraculoPageLandingPreviewSection = {
6
- id: number;
7
- title: string;
8
- componentKey: string;
9
- visible: boolean;
10
- order: number;
11
- props?: Record<string, unknown>;
12
- apiUrl?: string;
13
- dataMode?: "url" | "manual";
14
- variableName?: string;
15
- manualItems?: {
16
- fields: {
17
- name: string;
18
- type: string;
19
- value: string;
20
- }[];
21
- }[];
22
- manualScalarFields?: {
23
- name: string;
24
- type: string;
25
- value: string;
26
- }[];
27
- apiMethod?: "GET" | "POST";
28
- apiParams?: {
29
- id: string;
30
- key: string;
31
- value: string;
32
- }[];
33
- };
34
- export interface OraculoPageLandingPreviewProps {
35
- /** Optional override: if provided, renders these sections instead of fetching Firestore */
36
- sectionsOverride?: OraculoPageLandingPreviewSection[];
37
- /** Firestore document id (default 'home') */
38
- docId?: string;
39
- /** Instancia de Firestore proporcionada por la app que consume el paquete */
40
- db: Firestore;
41
- }
42
- declare const OraculoPageLandingPreview: React.FC<OraculoPageLandingPreviewProps>;
43
- export default OraculoPageLandingPreview;