@everymatrix/casino-tournament-banner 1.32.4 → 1.33.1
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-tournament-banner/casino-tournament-banner.esm.js +1 -0
- package/dist/casino-tournament-banner/index.esm.js +0 -0
- package/dist/casino-tournament-banner/p-a2222953.js +1 -0
- package/dist/casino-tournament-banner/p-e8cf2e54.entry.js +9 -0
- package/dist/cjs/casino-tournament-banner.cjs.js +19 -0
- package/dist/cjs/casino-tournament-banner_2.cjs.entry.js +6840 -0
- package/dist/cjs/index-a4c93352.js +1245 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/collection/collection-manifest.json +19 -0
- package/dist/collection/components/casino-tournament-banner/casino-tournament-banner.css +126 -0
- package/dist/collection/components/casino-tournament-banner/casino-tournament-banner.js +745 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/locale.utils.js +399 -0
- package/dist/collection/utils/utils.js +13 -0
- package/dist/components/casino-tournament-banner.d.ts +11 -0
- package/dist/components/casino-tournament-banner.js +6338 -0
- package/dist/components/casino-tournament-buttons.js +6 -0
- package/dist/components/casino-tournament-buttons2.js +594 -0
- package/dist/components/index.d.ts +26 -0
- package/dist/components/index.js +1 -0
- package/dist/esm/casino-tournament-banner.js +17 -0
- package/dist/esm/casino-tournament-banner_2.entry.js +6835 -0
- package/dist/esm/index-be35c232.js +1219 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/stencil.config.js +22 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/casino-tournament-banner/.stencil/packages/casino-tournament-banner/stencil.config.d.ts +2 -0
- package/dist/types/components/casino-tournament-banner/casino-tournament-banner.d.ts +134 -0
- package/dist/types/components.d.ts +261 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1565 -0
- package/dist/types/utils/locale.utils.d.ts +2 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +2 -3
- package/LICENSE +0 -21
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import '@everymatrix/casino-tournament-buttons';
|
|
2
|
+
export declare class CasinoTournamentBanner {
|
|
3
|
+
/**
|
|
4
|
+
* Use event to load data
|
|
5
|
+
*/
|
|
6
|
+
useEvent?: string;
|
|
7
|
+
/**
|
|
8
|
+
* The NWA endpoint
|
|
9
|
+
*/
|
|
10
|
+
endpoint?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The tournament state
|
|
13
|
+
*/
|
|
14
|
+
state?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Player enrolled
|
|
17
|
+
*/
|
|
18
|
+
enrolled?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Tournament start time
|
|
21
|
+
*/
|
|
22
|
+
startTime?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Tournament end time
|
|
25
|
+
*/
|
|
26
|
+
endTime?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Tournament thumbnail
|
|
29
|
+
*/
|
|
30
|
+
thumbnail?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Widget Language to show
|
|
33
|
+
*/
|
|
34
|
+
language: string;
|
|
35
|
+
/**
|
|
36
|
+
* Show calendar icon
|
|
37
|
+
*/
|
|
38
|
+
showCalendar?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Show short start time on tag
|
|
41
|
+
*/
|
|
42
|
+
shortStart?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Short start time format
|
|
45
|
+
*/
|
|
46
|
+
shortstartformat?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Show date on widget
|
|
49
|
+
*/
|
|
50
|
+
showDate?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Show date on running state tournament tag
|
|
53
|
+
*/
|
|
54
|
+
showRunningDate?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Show check icon on enrolled tag
|
|
57
|
+
*/
|
|
58
|
+
showCheck?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Widget display as a card
|
|
61
|
+
*/
|
|
62
|
+
cardMode?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Widget name or title
|
|
65
|
+
*/
|
|
66
|
+
nameOrTitle?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Tournament ID
|
|
69
|
+
*/
|
|
70
|
+
tournamentId?: string;
|
|
71
|
+
/**
|
|
72
|
+
* The NWA Session
|
|
73
|
+
*/
|
|
74
|
+
session?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Login event
|
|
77
|
+
*/
|
|
78
|
+
loginEvent?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Login url
|
|
81
|
+
*/
|
|
82
|
+
loginUrl?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Register Event
|
|
85
|
+
*/
|
|
86
|
+
registerEvent?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Register url
|
|
89
|
+
*/
|
|
90
|
+
registerUrl?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Player currency
|
|
93
|
+
*/
|
|
94
|
+
currency?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Bonus Code
|
|
97
|
+
*/
|
|
98
|
+
bonusCode?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Show read more button
|
|
101
|
+
*/
|
|
102
|
+
showReadMore?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Client custom styling via inline styles
|
|
105
|
+
*/
|
|
106
|
+
clientStyling?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Client custom styling via url
|
|
109
|
+
*/
|
|
110
|
+
clientStylingUrl?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Translations via parent component
|
|
113
|
+
*/
|
|
114
|
+
translationData?: any;
|
|
115
|
+
stateText: string;
|
|
116
|
+
limitStylingAppends: boolean;
|
|
117
|
+
startdate: string;
|
|
118
|
+
tournamentLeftDays: number;
|
|
119
|
+
showRemain: string;
|
|
120
|
+
durationInterval: number;
|
|
121
|
+
host: HTMLElement;
|
|
122
|
+
getDateTimeDiff(dateString1: Date, dateString2: string): number;
|
|
123
|
+
getTextByDiff(diff: number): any;
|
|
124
|
+
getDuration(): void;
|
|
125
|
+
infoCompletedHandler(event: CustomEvent<any>): void;
|
|
126
|
+
getStateText(state: string): string;
|
|
127
|
+
componentDidRender(): void;
|
|
128
|
+
setClientStyling(): void;
|
|
129
|
+
setClientStylingURL(): void;
|
|
130
|
+
formatDate(): void;
|
|
131
|
+
componentWillLoad(): void;
|
|
132
|
+
termsClick(tournamentId: string): void;
|
|
133
|
+
render(): any;
|
|
134
|
+
}
|
|
@@ -0,0 +1,261 @@
|
|
|
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
|
+
export namespace Components {
|
|
9
|
+
interface CasinoTournamentBanner {
|
|
10
|
+
/**
|
|
11
|
+
* Bonus Code
|
|
12
|
+
*/
|
|
13
|
+
"bonusCode"?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Widget display as a card
|
|
16
|
+
*/
|
|
17
|
+
"cardMode"?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Client custom styling via inline styles
|
|
20
|
+
*/
|
|
21
|
+
"clientStyling"?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Client custom styling via url
|
|
24
|
+
*/
|
|
25
|
+
"clientStylingUrl"?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Player currency
|
|
28
|
+
*/
|
|
29
|
+
"currency"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Tournament end time
|
|
32
|
+
*/
|
|
33
|
+
"endTime"?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The NWA endpoint
|
|
36
|
+
*/
|
|
37
|
+
"endpoint"?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Player enrolled
|
|
40
|
+
*/
|
|
41
|
+
"enrolled"?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Widget Language to show
|
|
44
|
+
*/
|
|
45
|
+
"language": string;
|
|
46
|
+
/**
|
|
47
|
+
* Login event
|
|
48
|
+
*/
|
|
49
|
+
"loginEvent"?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Login url
|
|
52
|
+
*/
|
|
53
|
+
"loginUrl"?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Widget name or title
|
|
56
|
+
*/
|
|
57
|
+
"nameOrTitle"?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Register Event
|
|
60
|
+
*/
|
|
61
|
+
"registerEvent"?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Register url
|
|
64
|
+
*/
|
|
65
|
+
"registerUrl"?: string;
|
|
66
|
+
/**
|
|
67
|
+
* The NWA Session
|
|
68
|
+
*/
|
|
69
|
+
"session"?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Show short start time on tag
|
|
72
|
+
*/
|
|
73
|
+
"shortStart"?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Short start time format
|
|
76
|
+
*/
|
|
77
|
+
"shortstartformat"?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Show calendar icon
|
|
80
|
+
*/
|
|
81
|
+
"showCalendar"?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Show check icon on enrolled tag
|
|
84
|
+
*/
|
|
85
|
+
"showCheck"?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Show date on widget
|
|
88
|
+
*/
|
|
89
|
+
"showDate"?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Show read more button
|
|
92
|
+
*/
|
|
93
|
+
"showReadMore"?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Show date on running state tournament tag
|
|
96
|
+
*/
|
|
97
|
+
"showRunningDate"?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Tournament start time
|
|
100
|
+
*/
|
|
101
|
+
"startTime"?: string;
|
|
102
|
+
/**
|
|
103
|
+
* The tournament state
|
|
104
|
+
*/
|
|
105
|
+
"state"?: string;
|
|
106
|
+
/**
|
|
107
|
+
* Tournament thumbnail
|
|
108
|
+
*/
|
|
109
|
+
"thumbnail"?: string;
|
|
110
|
+
/**
|
|
111
|
+
* Tournament ID
|
|
112
|
+
*/
|
|
113
|
+
"tournamentId"?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Translations via parent component
|
|
116
|
+
*/
|
|
117
|
+
"translationData"?: any;
|
|
118
|
+
/**
|
|
119
|
+
* Use event to load data
|
|
120
|
+
*/
|
|
121
|
+
"useEvent"?: string;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
declare global {
|
|
125
|
+
interface HTMLCasinoTournamentBannerElement extends Components.CasinoTournamentBanner, HTMLStencilElement {
|
|
126
|
+
}
|
|
127
|
+
var HTMLCasinoTournamentBannerElement: {
|
|
128
|
+
prototype: HTMLCasinoTournamentBannerElement;
|
|
129
|
+
new (): HTMLCasinoTournamentBannerElement;
|
|
130
|
+
};
|
|
131
|
+
interface HTMLElementTagNameMap {
|
|
132
|
+
"casino-tournament-banner": HTMLCasinoTournamentBannerElement;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
declare namespace LocalJSX {
|
|
136
|
+
interface CasinoTournamentBanner {
|
|
137
|
+
/**
|
|
138
|
+
* Bonus Code
|
|
139
|
+
*/
|
|
140
|
+
"bonusCode"?: string;
|
|
141
|
+
/**
|
|
142
|
+
* Widget display as a card
|
|
143
|
+
*/
|
|
144
|
+
"cardMode"?: boolean;
|
|
145
|
+
/**
|
|
146
|
+
* Client custom styling via inline styles
|
|
147
|
+
*/
|
|
148
|
+
"clientStyling"?: string;
|
|
149
|
+
/**
|
|
150
|
+
* Client custom styling via url
|
|
151
|
+
*/
|
|
152
|
+
"clientStylingUrl"?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Player currency
|
|
155
|
+
*/
|
|
156
|
+
"currency"?: string;
|
|
157
|
+
/**
|
|
158
|
+
* Tournament end time
|
|
159
|
+
*/
|
|
160
|
+
"endTime"?: string;
|
|
161
|
+
/**
|
|
162
|
+
* The NWA endpoint
|
|
163
|
+
*/
|
|
164
|
+
"endpoint"?: string;
|
|
165
|
+
/**
|
|
166
|
+
* Player enrolled
|
|
167
|
+
*/
|
|
168
|
+
"enrolled"?: boolean;
|
|
169
|
+
/**
|
|
170
|
+
* Widget Language to show
|
|
171
|
+
*/
|
|
172
|
+
"language": string;
|
|
173
|
+
/**
|
|
174
|
+
* Login event
|
|
175
|
+
*/
|
|
176
|
+
"loginEvent"?: string;
|
|
177
|
+
/**
|
|
178
|
+
* Login url
|
|
179
|
+
*/
|
|
180
|
+
"loginUrl"?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Widget name or title
|
|
183
|
+
*/
|
|
184
|
+
"nameOrTitle"?: string;
|
|
185
|
+
/**
|
|
186
|
+
* Register Event
|
|
187
|
+
*/
|
|
188
|
+
"registerEvent"?: string;
|
|
189
|
+
/**
|
|
190
|
+
* Register url
|
|
191
|
+
*/
|
|
192
|
+
"registerUrl"?: string;
|
|
193
|
+
/**
|
|
194
|
+
* The NWA Session
|
|
195
|
+
*/
|
|
196
|
+
"session"?: string;
|
|
197
|
+
/**
|
|
198
|
+
* Show short start time on tag
|
|
199
|
+
*/
|
|
200
|
+
"shortStart"?: boolean;
|
|
201
|
+
/**
|
|
202
|
+
* Short start time format
|
|
203
|
+
*/
|
|
204
|
+
"shortstartformat"?: string;
|
|
205
|
+
/**
|
|
206
|
+
* Show calendar icon
|
|
207
|
+
*/
|
|
208
|
+
"showCalendar"?: boolean;
|
|
209
|
+
/**
|
|
210
|
+
* Show check icon on enrolled tag
|
|
211
|
+
*/
|
|
212
|
+
"showCheck"?: boolean;
|
|
213
|
+
/**
|
|
214
|
+
* Show date on widget
|
|
215
|
+
*/
|
|
216
|
+
"showDate"?: boolean;
|
|
217
|
+
/**
|
|
218
|
+
* Show read more button
|
|
219
|
+
*/
|
|
220
|
+
"showReadMore"?: boolean;
|
|
221
|
+
/**
|
|
222
|
+
* Show date on running state tournament tag
|
|
223
|
+
*/
|
|
224
|
+
"showRunningDate"?: boolean;
|
|
225
|
+
/**
|
|
226
|
+
* Tournament start time
|
|
227
|
+
*/
|
|
228
|
+
"startTime"?: string;
|
|
229
|
+
/**
|
|
230
|
+
* The tournament state
|
|
231
|
+
*/
|
|
232
|
+
"state"?: string;
|
|
233
|
+
/**
|
|
234
|
+
* Tournament thumbnail
|
|
235
|
+
*/
|
|
236
|
+
"thumbnail"?: string;
|
|
237
|
+
/**
|
|
238
|
+
* Tournament ID
|
|
239
|
+
*/
|
|
240
|
+
"tournamentId"?: string;
|
|
241
|
+
/**
|
|
242
|
+
* Translations via parent component
|
|
243
|
+
*/
|
|
244
|
+
"translationData"?: any;
|
|
245
|
+
/**
|
|
246
|
+
* Use event to load data
|
|
247
|
+
*/
|
|
248
|
+
"useEvent"?: string;
|
|
249
|
+
}
|
|
250
|
+
interface IntrinsicElements {
|
|
251
|
+
"casino-tournament-banner": CasinoTournamentBanner;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
export { LocalJSX as JSX };
|
|
255
|
+
declare module "@stencil/core" {
|
|
256
|
+
export namespace JSX {
|
|
257
|
+
interface IntrinsicElements {
|
|
258
|
+
"casino-tournament-banner": LocalJSX.CasinoTournamentBanner & JSXBase.HTMLAttributes<HTMLCasinoTournamentBannerElement>;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|