@everymatrix/casino-engagement-suite-tournament 0.0.0
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/casino-engagement-suite-tournament/casino-engagement-suite-tournament.esm.js +1 -0
- package/dist/casino-engagement-suite-tournament/index.esm.js +1 -0
- package/dist/casino-engagement-suite-tournament/p-5e83c304.entry.js +1 -0
- package/dist/casino-engagement-suite-tournament/p-9996e3fd.js +1 -0
- package/dist/casino-engagement-suite-tournament/p-d5ef82db.js +2 -0
- package/dist/casino-engagement-suite-tournament/p-e1255160.js +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/casino-engagement-suite-tournament-d16da103.js +562 -0
- package/dist/cjs/casino-engagement-suite-tournament.cjs.entry.js +12 -0
- package/dist/cjs/casino-engagement-suite-tournament.cjs.js +25 -0
- package/dist/cjs/index-192fed5a.js +1346 -0
- package/dist/cjs/index.cjs.js +12 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/collection/collection-manifest.json +12 -0
- package/dist/collection/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.css +374 -0
- package/dist/collection/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.js +511 -0
- package/dist/collection/components/casino-engagement-suite-tournament/index.js +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/shared/GradientRoundedButton.js +11 -0
- package/dist/collection/shared/icons.js +8 -0
- package/dist/collection/shared/renderBar.js +14 -0
- package/dist/collection/utils/api.apdater.js +35 -0
- package/dist/collection/utils/translations.js +28 -0
- package/dist/collection/utils/types.js +18 -0
- package/dist/collection/utils/util.date.js +38 -0
- package/dist/collection/utils/utils.js +18 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/casino-engagement-suite-tournament-af4ed1fe.js +560 -0
- package/dist/esm/casino-engagement-suite-tournament.entry.js +4 -0
- package/dist/esm/casino-engagement-suite-tournament.js +20 -0
- package/dist/esm/index-c8be0c5b.js +1317 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/loader.js +11 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/stencil.config.dev.js +14 -0
- package/dist/stencil.config.js +17 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.d.ts +127 -0
- package/dist/types/components/casino-engagement-suite-tournament/index.d.ts +1 -0
- package/dist/types/components.d.ts +95 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/shared/GradientRoundedButton.d.ts +5 -0
- package/dist/types/shared/icons.d.ts +7 -0
- package/dist/types/shared/renderBar.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/api.apdater.d.ts +3 -0
- package/dist/types/utils/translations.d.ts +42 -0
- package/dist/types/utils/types.d.ts +95 -0
- package/dist/types/utils/util.date.d.ts +6 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +26 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { b as bootstrapLazy } from './index-c8be0c5b.js';
|
|
2
|
+
export { s as setNonce } from './index-c8be0c5b.js';
|
|
3
|
+
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
|
+
|
|
5
|
+
const defineCustomElements = async (win, options) => {
|
|
6
|
+
if (typeof window === 'undefined') return undefined;
|
|
7
|
+
await globalScripts();
|
|
8
|
+
return bootstrapLazy([["casino-engagement-suite-tournament",[[1,"casino-engagement-suite-tournament",{"language":[1],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"leaderboardsInit":[16],"tab":[32],"locale":[32],"tournamentItem":[32],"tournamentList":[32],"leaderboards":[32],"isActionJoinPending":[32],"isDialogOpen":[32],"isShowInfo":[32],"page":[32],"tournamentInDialog":[32],"dialog":[32],"time":[32]},[[8,"message","handleEvent"]]]]]], options);
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { defineCustomElements };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./cjs/index.cjs.js');
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './esm/index.js';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { sass } from "@stencil/sass";
|
|
2
|
+
export const config = {
|
|
3
|
+
namespace: 'casino-engagement-suite-tournament',
|
|
4
|
+
taskQueue: 'async',
|
|
5
|
+
sourceMap: false,
|
|
6
|
+
minifyJs: true,
|
|
7
|
+
extras: {
|
|
8
|
+
experimentalImportInjection: true
|
|
9
|
+
},
|
|
10
|
+
plugins: [sass()],
|
|
11
|
+
outputTargets: [
|
|
12
|
+
{
|
|
13
|
+
type: 'dist',
|
|
14
|
+
esmLoaderPath: '../loader'
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
};
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { Tab } from '../../utils/translations';
|
|
3
|
+
import { Tournament, Leaderboard, LeaderboardPage, TournamentApi, Dialog } from '../../utils/types';
|
|
4
|
+
import "../../../../../../dist/packages/svelte/general-animation-loading/es2015/general-animation-loading";
|
|
5
|
+
import "@everymatrix/general-styling-wrapper";
|
|
6
|
+
import "@everymatrix/casino-engagement-suite-progress-bar";
|
|
7
|
+
export declare class CasinoEngagementSuiteTournament {
|
|
8
|
+
/**
|
|
9
|
+
* Language
|
|
10
|
+
*/
|
|
11
|
+
language: string;
|
|
12
|
+
/**
|
|
13
|
+
* Client custom styling via string
|
|
14
|
+
*/
|
|
15
|
+
clientStyling: string;
|
|
16
|
+
/**
|
|
17
|
+
* Client custom styling via url
|
|
18
|
+
*/
|
|
19
|
+
clientStylingUrl: string;
|
|
20
|
+
/**
|
|
21
|
+
* Translation via url
|
|
22
|
+
*/
|
|
23
|
+
translationUrl: string;
|
|
24
|
+
/**
|
|
25
|
+
* Raw Leaderboards from API for Init
|
|
26
|
+
*/
|
|
27
|
+
leaderboardsInit: TournamentApi[];
|
|
28
|
+
close: EventEmitter<void>;
|
|
29
|
+
tab: Tab;
|
|
30
|
+
locale: {
|
|
31
|
+
TC: string;
|
|
32
|
+
ScoreCriteria: string;
|
|
33
|
+
MinimumBetCriteria: string;
|
|
34
|
+
Place: string;
|
|
35
|
+
Prizes: string;
|
|
36
|
+
LeaderboardDetails: string;
|
|
37
|
+
UnjoinDialog: {
|
|
38
|
+
Title: string;
|
|
39
|
+
Description: string;
|
|
40
|
+
ButtonYes: string;
|
|
41
|
+
ButtonNo: string;
|
|
42
|
+
};
|
|
43
|
+
JoinDialog: {
|
|
44
|
+
Tile: string;
|
|
45
|
+
Description: string;
|
|
46
|
+
ButtonYes: string;
|
|
47
|
+
ButtonNo: string;
|
|
48
|
+
};
|
|
49
|
+
NoLeaderboards: string;
|
|
50
|
+
NoLeaderboardsTip: string;
|
|
51
|
+
Leaderboards: string;
|
|
52
|
+
TipPrize: string;
|
|
53
|
+
Tip: string;
|
|
54
|
+
Starts: import("../../utils/translations").Time.Starts;
|
|
55
|
+
Ends: import("../../utils/translations").Time.Ends;
|
|
56
|
+
Info: Tab.Info;
|
|
57
|
+
Leaderboard: Tab.Leaderboard;
|
|
58
|
+
Games: Tab.Games;
|
|
59
|
+
Join: string;
|
|
60
|
+
Unjoin: string;
|
|
61
|
+
};
|
|
62
|
+
tournamentItem: Tournament;
|
|
63
|
+
tournamentList: Tournament[];
|
|
64
|
+
leaderboards: Leaderboard[];
|
|
65
|
+
isActionJoinPending: boolean;
|
|
66
|
+
isDialogOpen: boolean;
|
|
67
|
+
isShowInfo: boolean;
|
|
68
|
+
page: LeaderboardPage;
|
|
69
|
+
nextPage: LeaderboardPage;
|
|
70
|
+
tournamentInDialog: Tournament;
|
|
71
|
+
dialog: Dialog;
|
|
72
|
+
time: number;
|
|
73
|
+
timeHolder: NodeJS.Timer;
|
|
74
|
+
setTimeInterval(): void;
|
|
75
|
+
updateTournamentListByItem(tournament: any): void;
|
|
76
|
+
handleEvent(e: MessageEvent): void;
|
|
77
|
+
get messageSender(): {
|
|
78
|
+
JoinTournamentReq: (tournament: Tournament) => void;
|
|
79
|
+
UnjoinTournamentReq: (tournament: Tournament) => void;
|
|
80
|
+
UpdateTournamentsItemReq: (tournament: Tournament) => void;
|
|
81
|
+
UpdateLeaderboardsReq: (tournament: Tournament) => void;
|
|
82
|
+
};
|
|
83
|
+
connectedCallback(): void;
|
|
84
|
+
disconnectedCallback(): void;
|
|
85
|
+
actionJoin(tournament: Tournament): void;
|
|
86
|
+
isTournamentClosed(tournament: Tournament): boolean;
|
|
87
|
+
setPage(page: LeaderboardPage, metaData?: any): void;
|
|
88
|
+
renderPage(): any;
|
|
89
|
+
render(): any;
|
|
90
|
+
onClickListItemChangePage(tournament: Tournament): void;
|
|
91
|
+
onClickConfirmJoin: () => void;
|
|
92
|
+
onClickConfirmUnjoin: () => void;
|
|
93
|
+
onClickDialogUnjoin: () => void;
|
|
94
|
+
onClickDialogJoin: () => void;
|
|
95
|
+
onClickBarInLayout: () => void;
|
|
96
|
+
onClickBarInLayoutDialog: () => void;
|
|
97
|
+
onClickItemJoin(tournament: Tournament, e: MouseEvent): void;
|
|
98
|
+
onClickTab(tab: Tab): void;
|
|
99
|
+
onClickShowInfo: () => void;
|
|
100
|
+
onClickBarTip: () => void;
|
|
101
|
+
onClickBarBack: () => void;
|
|
102
|
+
renderPageLeaderboardList(): any;
|
|
103
|
+
renderPageConfirm(): any;
|
|
104
|
+
renderPageLeaderboardItem(): any;
|
|
105
|
+
renderDialogContent(): any;
|
|
106
|
+
renderDialogContentUnjoin(): any;
|
|
107
|
+
renderTitleContainer(tournament: Tournament): any;
|
|
108
|
+
renderTabbedContent(): any;
|
|
109
|
+
renderGames(): any;
|
|
110
|
+
renderLeaderboard(): any;
|
|
111
|
+
renderTabs(): any;
|
|
112
|
+
renderTimeBar(tournament: Tournament): any;
|
|
113
|
+
renderInfo(): any;
|
|
114
|
+
getResultPrize(leaderboard: any): {
|
|
115
|
+
prize: any;
|
|
116
|
+
place: any;
|
|
117
|
+
};
|
|
118
|
+
renderCloseBarInLayout(): any;
|
|
119
|
+
renderCloseBarInLayoutDialog(): any;
|
|
120
|
+
renderLeaderboardContainer(render: any): any;
|
|
121
|
+
getWrapperBarData(): {
|
|
122
|
+
left: any;
|
|
123
|
+
middle: string;
|
|
124
|
+
};
|
|
125
|
+
openDialog(type: any, data?: any): void;
|
|
126
|
+
closeDialog(): void;
|
|
127
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CasinoEngagementSuiteTournament } from './casino-engagement-suite-tournament';
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/**
|
|
4
|
+
* This is an autogenerated file created by the Stencil compiler.
|
|
5
|
+
* It contains typing information for all components that exist in this project.
|
|
6
|
+
*/
|
|
7
|
+
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
import { TournamentApi } from "./utils/types";
|
|
9
|
+
export { TournamentApi } from "./utils/types";
|
|
10
|
+
export namespace Components {
|
|
11
|
+
interface CasinoEngagementSuiteTournament {
|
|
12
|
+
/**
|
|
13
|
+
* Client custom styling via string
|
|
14
|
+
*/
|
|
15
|
+
"clientStyling": string;
|
|
16
|
+
/**
|
|
17
|
+
* Client custom styling via url
|
|
18
|
+
*/
|
|
19
|
+
"clientStylingUrl": string;
|
|
20
|
+
/**
|
|
21
|
+
* Language
|
|
22
|
+
*/
|
|
23
|
+
"language": string;
|
|
24
|
+
/**
|
|
25
|
+
* Raw Leaderboards from API for Init
|
|
26
|
+
*/
|
|
27
|
+
"leaderboardsInit": TournamentApi[];
|
|
28
|
+
/**
|
|
29
|
+
* Translation via url
|
|
30
|
+
*/
|
|
31
|
+
"translationUrl": string;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export interface CasinoEngagementSuiteTournamentCustomEvent<T> extends CustomEvent<T> {
|
|
35
|
+
detail: T;
|
|
36
|
+
target: HTMLCasinoEngagementSuiteTournamentElement;
|
|
37
|
+
}
|
|
38
|
+
declare global {
|
|
39
|
+
interface HTMLCasinoEngagementSuiteTournamentElementEventMap {
|
|
40
|
+
"close": void;
|
|
41
|
+
}
|
|
42
|
+
interface HTMLCasinoEngagementSuiteTournamentElement extends Components.CasinoEngagementSuiteTournament, HTMLStencilElement {
|
|
43
|
+
addEventListener<K extends keyof HTMLCasinoEngagementSuiteTournamentElementEventMap>(type: K, listener: (this: HTMLCasinoEngagementSuiteTournamentElement, ev: CasinoEngagementSuiteTournamentCustomEvent<HTMLCasinoEngagementSuiteTournamentElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
44
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
45
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
46
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
47
|
+
removeEventListener<K extends keyof HTMLCasinoEngagementSuiteTournamentElementEventMap>(type: K, listener: (this: HTMLCasinoEngagementSuiteTournamentElement, ev: CasinoEngagementSuiteTournamentCustomEvent<HTMLCasinoEngagementSuiteTournamentElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
48
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
49
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
50
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
51
|
+
}
|
|
52
|
+
var HTMLCasinoEngagementSuiteTournamentElement: {
|
|
53
|
+
prototype: HTMLCasinoEngagementSuiteTournamentElement;
|
|
54
|
+
new (): HTMLCasinoEngagementSuiteTournamentElement;
|
|
55
|
+
};
|
|
56
|
+
interface HTMLElementTagNameMap {
|
|
57
|
+
"casino-engagement-suite-tournament": HTMLCasinoEngagementSuiteTournamentElement;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
declare namespace LocalJSX {
|
|
61
|
+
interface CasinoEngagementSuiteTournament {
|
|
62
|
+
/**
|
|
63
|
+
* Client custom styling via string
|
|
64
|
+
*/
|
|
65
|
+
"clientStyling"?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Client custom styling via url
|
|
68
|
+
*/
|
|
69
|
+
"clientStylingUrl"?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Language
|
|
72
|
+
*/
|
|
73
|
+
"language"?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Raw Leaderboards from API for Init
|
|
76
|
+
*/
|
|
77
|
+
"leaderboardsInit"?: TournamentApi[];
|
|
78
|
+
"onClose"?: (event: CasinoEngagementSuiteTournamentCustomEvent<void>) => void;
|
|
79
|
+
/**
|
|
80
|
+
* Translation via url
|
|
81
|
+
*/
|
|
82
|
+
"translationUrl"?: string;
|
|
83
|
+
}
|
|
84
|
+
interface IntrinsicElements {
|
|
85
|
+
"casino-engagement-suite-tournament": CasinoEngagementSuiteTournament;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
export { LocalJSX as JSX };
|
|
89
|
+
declare module "@stencil/core" {
|
|
90
|
+
export namespace JSX {
|
|
91
|
+
interface IntrinsicElements {
|
|
92
|
+
"casino-engagement-suite-tournament": LocalJSX.CasinoEngagementSuiteTournament & JSXBase.HTMLAttributes<HTMLCasinoEngagementSuiteTournamentElement>;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/casino-engagement-suite-tournament';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const iconClose: any;
|
|
2
|
+
export declare const iconQuestion: any;
|
|
3
|
+
export declare const iconEyeOpen: any;
|
|
4
|
+
export declare const iconEyeClose: any;
|
|
5
|
+
export declare const iconBack: any;
|
|
6
|
+
export declare const iconReward: any;
|
|
7
|
+
export declare const iconTrophy: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CloseBar: (props: any) => any;
|