@everymatrix/casino-tournament-info 1.0.69

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 (44) hide show
  1. package/dist/casino-tournament-info/casino-tournament-info.esm.js +1 -0
  2. package/dist/casino-tournament-info/index.esm.js +0 -0
  3. package/dist/casino-tournament-info/p-26566da9.entry.js +9 -0
  4. package/dist/casino-tournament-info/p-4a6f6b25.js +2 -0
  5. package/dist/casino-tournament-info/p-e1255160.js +1 -0
  6. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  7. package/dist/cjs/casino-tournament-buttons_4.cjs.entry.js +7139 -0
  8. package/dist/cjs/casino-tournament-info.cjs.js +25 -0
  9. package/dist/cjs/index-770591f4.js +1336 -0
  10. package/dist/cjs/index.cjs.js +2 -0
  11. package/dist/cjs/loader.cjs.js +15 -0
  12. package/dist/collection/collection-manifest.json +31 -0
  13. package/dist/collection/components/casino-tournament-info/casino-tournament-info.css +70 -0
  14. package/dist/collection/components/casino-tournament-info/casino-tournament-info.js +782 -0
  15. package/dist/collection/components/casino-tournament-info/index.js +1 -0
  16. package/dist/collection/index.js +1 -0
  17. package/dist/collection/utils/locale.utils.js +329 -0
  18. package/dist/collection/utils/utils.js +3 -0
  19. package/dist/esm/app-globals-0f993ce5.js +3 -0
  20. package/dist/esm/casino-tournament-buttons_4.entry.js +7132 -0
  21. package/dist/esm/casino-tournament-info.js +20 -0
  22. package/dist/esm/index-9aa45abf.js +1308 -0
  23. package/dist/esm/index.js +1 -0
  24. package/dist/esm/loader.js +11 -0
  25. package/dist/index.cjs.js +1 -0
  26. package/dist/index.js +1 -0
  27. package/dist/stencil.config.dev.js +17 -0
  28. package/dist/stencil.config.js +17 -0
  29. package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/casino-tournament-info/.stencil/packages/stencil/casino-tournament-info/stencil.config.d.ts +2 -0
  30. package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/casino-tournament-info/.stencil/packages/stencil/casino-tournament-info/stencil.config.dev.d.ts +2 -0
  31. package/dist/types/components/casino-tournament-info/casino-tournament-info.d.ts +156 -0
  32. package/dist/types/components/casino-tournament-info/index.d.ts +1 -0
  33. package/dist/types/components.d.ts +309 -0
  34. package/dist/types/index.d.ts +1 -0
  35. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  36. package/dist/types/utils/locale.utils.d.ts +3 -0
  37. package/dist/types/utils/utils.d.ts +1 -0
  38. package/loader/cdn.js +1 -0
  39. package/loader/index.cjs.js +1 -0
  40. package/loader/index.d.ts +24 -0
  41. package/loader/index.es2017.js +1 -0
  42. package/loader/index.js +2 -0
  43. package/loader/package.json +11 -0
  44. package/package.json +31 -0
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,11 @@
1
+ import { b as bootstrapLazy } from './index-9aa45abf.js';
2
+ export { s as setNonce } from './index-9aa45abf.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-tournament-buttons_4",[[1,"casino-tournament-info",{"endpoint":[1],"nameOrTitle":[1,"name-or-title"],"scoreCriteria":[1,"score-criteria"],"tournamentId":[1,"tournament-id"],"session":[1],"userId":[1,"user-id"],"language":[1],"termsUrl":[1,"terms-url"],"keepContext":[4,"keep-context"],"useGroup":[4,"use-group"],"align":[1],"showDates":[4,"show-dates"],"showPrizes":[4,"show-prizes"],"showButton":[4,"show-button"],"shortStart":[4,"short-start"],"seeGames":[4,"see-games"],"useEvent":[4,"use-event"],"startTime":[1,"start-time"],"endTime":[1,"end-time"],"minBetCount":[2,"min-bet-count"],"prizes":[8],"shortStartFormat":[1,"short-start-format"],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"enrolled":[4],"loginEvent":[1,"login-event"],"loginUrl":[1,"login-url"],"registerEvent":[1,"register-event"],"registerUrl":[1,"register-url"],"currency":[1],"bonusCode":[1,"bonus-code"],"showReadMore":[4,"show-read-more"],"translationUrl":[513,"translation-url"],"translationData":[520,"translation-data"],"limitStylingAppends":[32],"startDate":[32],"tournamentInfo":[32]},[[8,"getTournamentInfoCompleted","infoCompletedHandler"]]],[1,"casino-tournament-buttons",{"language":[1],"tournamentId":[1,"tournament-id"],"session":[1],"loginEvent":[1,"login-event"],"loginUrl":[1,"login-url"],"registerEvent":[1,"register-event"],"registerUrl":[1,"register-url"],"endpoint":[1],"currency":[1],"bonusCode":[1,"bonus-code"],"enrolled":[4],"showReadMore":[4,"show-read-more"],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationData":[520,"translation-data"],"limitStylingAppends":[32],"joinButtonLoading":[32],"errorJoin":[32],"errorJoinConcurrently":[32]}],[1,"casino-tournament-duration",{"startTime":[1,"start-time"],"endTime":[1,"end-time"],"status":[1],"language":[1],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationData":[520,"translation-data"],"tournamentUntilStartDays":[32],"tournamentLeftDays":[32],"showRemain":[32],"limitStylingAppends":[32],"durationInterval":[32]},null,{"language":["watchLanguage"]}],[1,"casino-tournament-prizes",{"language":[1],"useGroup":[4,"use-group"],"useEvent":[4,"use-event"],"endpoint":[1],"session":[1],"rawPrizes":[1,"raw-prizes"],"tournamentId":[1,"tournament-id"],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"limitStylingAppends":[32],"prizes":[32],"prizeGroups":[32],"initialLoad":[32]},[[10,"getTournamentInfoCompleted","infoCompletedHandler"]]]]]], 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-tournament-info',
4
+ taskQueue: 'async',
5
+ sourceMap: true,
6
+ minifyJs: false,
7
+ extras: {
8
+ experimentalImportInjection: true
9
+ },
10
+ plugins: [sass()],
11
+ outputTargets: [
12
+ {
13
+ type: 'www',
14
+ serviceWorker: null // disable service workers
15
+ }
16
+ ]
17
+ };
@@ -0,0 +1,17 @@
1
+ import { sass } from "@stencil/sass";
2
+ export const config = {
3
+ namespace: 'casino-tournament-info',
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,2 @@
1
+ import { Config } from '../../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -0,0 +1,156 @@
1
+ import "../../../../../../dist/packages/stencil/casino-tournament-duration/dist/types/index";
2
+ import "../../../../../../dist/packages/stencil/casino-tournament-prizes/dist/types/index";
3
+ import "../../../../../../dist/packages/stencil/casino-tournament-buttons/dist/types/index";
4
+ export declare class CasinoTournamentInfo {
5
+ /**
6
+ * The NWA endpoint
7
+ */
8
+ endpoint?: string;
9
+ /**
10
+ * Tournament name or title
11
+ */
12
+ nameOrTitle?: string;
13
+ /**
14
+ * Tournament score criteria
15
+ */
16
+ scoreCriteria?: string;
17
+ /**
18
+ * Tournament ID
19
+ */
20
+ tournamentId?: string;
21
+ /**
22
+ * The NWA session
23
+ */
24
+ session?: string;
25
+ /**
26
+ * User ID
27
+ */
28
+ userId?: string;
29
+ /**
30
+ * Widget language to show
31
+ */
32
+ language: string;
33
+ /**
34
+ * Terms and conditions url
35
+ */
36
+ termsUrl?: string;
37
+ /**
38
+ * If see games link keep context
39
+ */
40
+ keepContext?: boolean;
41
+ /**
42
+ * Tournament prizes display as group
43
+ */
44
+ useGroup?: boolean;
45
+ /**
46
+ * Tournament info text align
47
+ */
48
+ align?: string;
49
+ /**
50
+ * Show tournament dates
51
+ */
52
+ showDates?: boolean;
53
+ /**
54
+ * Show tournament prizes
55
+ */
56
+ showPrizes?: boolean;
57
+ /**
58
+ * Show detail, join, login , register button
59
+ */
60
+ showButton?: boolean;
61
+ /**
62
+ * Short start time on tag
63
+ */
64
+ shortStart?: boolean;
65
+ /**
66
+ * Show see games here link
67
+ */
68
+ seeGames?: boolean;
69
+ /**
70
+ * Use event to load data
71
+ */
72
+ useEvent?: boolean;
73
+ /**
74
+ * Tournament start time
75
+ */
76
+ startTime?: string;
77
+ /**
78
+ * Tournament end time
79
+ */
80
+ endTime?: string;
81
+ /**
82
+ * Minimum bet count of Tournament
83
+ */
84
+ minBetCount?: number;
85
+ /**
86
+ * Tournament prizes data JSON
87
+ */
88
+ prizes?: any;
89
+ /**
90
+ * Short start time format
91
+ */
92
+ shortStartFormat?: string;
93
+ /**
94
+ * Client custom styling via inline styles
95
+ */
96
+ clientStyling?: string;
97
+ /**
98
+ * Client custom styling via url
99
+ */
100
+ clientStylingUrl?: string;
101
+ /**
102
+ * Player enrolled
103
+ */
104
+ enrolled?: boolean;
105
+ /**
106
+ * Login event
107
+ */
108
+ loginEvent?: string;
109
+ /**
110
+ * Login url
111
+ */
112
+ loginUrl?: string;
113
+ /**
114
+ * Register event
115
+ */
116
+ registerEvent?: string;
117
+ /**
118
+ * Register url
119
+ */
120
+ registerUrl?: string;
121
+ /**
122
+ * Player curreny
123
+ */
124
+ currency?: string;
125
+ /**
126
+ * Bonus Code
127
+ */
128
+ bonusCode?: string;
129
+ /**
130
+ * Show read more button
131
+ */
132
+ showReadMore?: boolean;
133
+ /**
134
+ * Translations via URL
135
+ */
136
+ translationUrl?: string;
137
+ /**
138
+ * Translations via parent component
139
+ */
140
+ translationData?: any;
141
+ limitStylingAppends: boolean;
142
+ startDate: string;
143
+ tournamentInfo: any;
144
+ host: HTMLElement;
145
+ infoCompletedHandler(event: CustomEvent<any>): Promise<void>;
146
+ formatDate: () => void;
147
+ componentWillLoad(): Promise<any>;
148
+ setTournamentInfo(): void;
149
+ componentWillRender(): void;
150
+ componentDidRender(): void;
151
+ setClientStyling(): void;
152
+ setClientStylingURL(): void;
153
+ tournamentGamesClicked(id: string): void;
154
+ detailsAction: (tournamentId: string) => void;
155
+ render(): any;
156
+ }
@@ -0,0 +1 @@
1
+ export { CasinoTournamentInfo } from './casino-tournament-info';
@@ -0,0 +1,309 @@
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 CasinoTournamentInfo {
10
+ /**
11
+ * Tournament info text align
12
+ */
13
+ "align"?: string;
14
+ /**
15
+ * Bonus Code
16
+ */
17
+ "bonusCode"?: string;
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 curreny
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
+ * If see games link keep context
44
+ */
45
+ "keepContext"?: boolean;
46
+ /**
47
+ * Widget language to show
48
+ */
49
+ "language": string;
50
+ /**
51
+ * Login event
52
+ */
53
+ "loginEvent"?: string;
54
+ /**
55
+ * Login url
56
+ */
57
+ "loginUrl"?: string;
58
+ /**
59
+ * Minimum bet count of Tournament
60
+ */
61
+ "minBetCount"?: number;
62
+ /**
63
+ * Tournament name or title
64
+ */
65
+ "nameOrTitle"?: string;
66
+ /**
67
+ * Tournament prizes data JSON
68
+ */
69
+ "prizes"?: any;
70
+ /**
71
+ * Register event
72
+ */
73
+ "registerEvent"?: string;
74
+ /**
75
+ * Register url
76
+ */
77
+ "registerUrl"?: string;
78
+ /**
79
+ * Tournament score criteria
80
+ */
81
+ "scoreCriteria"?: string;
82
+ /**
83
+ * Show see games here link
84
+ */
85
+ "seeGames"?: boolean;
86
+ /**
87
+ * The NWA session
88
+ */
89
+ "session"?: string;
90
+ /**
91
+ * Short start time on tag
92
+ */
93
+ "shortStart"?: boolean;
94
+ /**
95
+ * Short start time format
96
+ */
97
+ "shortStartFormat"?: string;
98
+ /**
99
+ * Show detail, join, login , register button
100
+ */
101
+ "showButton"?: boolean;
102
+ /**
103
+ * Show tournament dates
104
+ */
105
+ "showDates"?: boolean;
106
+ /**
107
+ * Show tournament prizes
108
+ */
109
+ "showPrizes"?: boolean;
110
+ /**
111
+ * Show read more button
112
+ */
113
+ "showReadMore"?: boolean;
114
+ /**
115
+ * Tournament start time
116
+ */
117
+ "startTime"?: string;
118
+ /**
119
+ * Terms and conditions url
120
+ */
121
+ "termsUrl"?: string;
122
+ /**
123
+ * Tournament ID
124
+ */
125
+ "tournamentId"?: string;
126
+ /**
127
+ * Translations via parent component
128
+ */
129
+ "translationData"?: any;
130
+ /**
131
+ * Translations via URL
132
+ */
133
+ "translationUrl"?: string;
134
+ /**
135
+ * Use event to load data
136
+ */
137
+ "useEvent"?: boolean;
138
+ /**
139
+ * Tournament prizes display as group
140
+ */
141
+ "useGroup"?: boolean;
142
+ /**
143
+ * User ID
144
+ */
145
+ "userId"?: string;
146
+ }
147
+ }
148
+ declare global {
149
+ interface HTMLCasinoTournamentInfoElement extends Components.CasinoTournamentInfo, HTMLStencilElement {
150
+ }
151
+ var HTMLCasinoTournamentInfoElement: {
152
+ prototype: HTMLCasinoTournamentInfoElement;
153
+ new (): HTMLCasinoTournamentInfoElement;
154
+ };
155
+ interface HTMLElementTagNameMap {
156
+ "casino-tournament-info": HTMLCasinoTournamentInfoElement;
157
+ }
158
+ }
159
+ declare namespace LocalJSX {
160
+ interface CasinoTournamentInfo {
161
+ /**
162
+ * Tournament info text align
163
+ */
164
+ "align"?: string;
165
+ /**
166
+ * Bonus Code
167
+ */
168
+ "bonusCode"?: string;
169
+ /**
170
+ * Client custom styling via inline styles
171
+ */
172
+ "clientStyling"?: string;
173
+ /**
174
+ * Client custom styling via url
175
+ */
176
+ "clientStylingUrl"?: string;
177
+ /**
178
+ * Player curreny
179
+ */
180
+ "currency"?: string;
181
+ /**
182
+ * Tournament end time
183
+ */
184
+ "endTime"?: string;
185
+ /**
186
+ * The NWA endpoint
187
+ */
188
+ "endpoint"?: string;
189
+ /**
190
+ * Player enrolled
191
+ */
192
+ "enrolled"?: boolean;
193
+ /**
194
+ * If see games link keep context
195
+ */
196
+ "keepContext"?: boolean;
197
+ /**
198
+ * Widget language to show
199
+ */
200
+ "language": string;
201
+ /**
202
+ * Login event
203
+ */
204
+ "loginEvent"?: string;
205
+ /**
206
+ * Login url
207
+ */
208
+ "loginUrl"?: string;
209
+ /**
210
+ * Minimum bet count of Tournament
211
+ */
212
+ "minBetCount"?: number;
213
+ /**
214
+ * Tournament name or title
215
+ */
216
+ "nameOrTitle"?: string;
217
+ /**
218
+ * Tournament prizes data JSON
219
+ */
220
+ "prizes"?: any;
221
+ /**
222
+ * Register event
223
+ */
224
+ "registerEvent"?: string;
225
+ /**
226
+ * Register url
227
+ */
228
+ "registerUrl"?: string;
229
+ /**
230
+ * Tournament score criteria
231
+ */
232
+ "scoreCriteria"?: string;
233
+ /**
234
+ * Show see games here link
235
+ */
236
+ "seeGames"?: boolean;
237
+ /**
238
+ * The NWA session
239
+ */
240
+ "session"?: string;
241
+ /**
242
+ * Short start time on tag
243
+ */
244
+ "shortStart"?: boolean;
245
+ /**
246
+ * Short start time format
247
+ */
248
+ "shortStartFormat"?: string;
249
+ /**
250
+ * Show detail, join, login , register button
251
+ */
252
+ "showButton"?: boolean;
253
+ /**
254
+ * Show tournament dates
255
+ */
256
+ "showDates"?: boolean;
257
+ /**
258
+ * Show tournament prizes
259
+ */
260
+ "showPrizes"?: boolean;
261
+ /**
262
+ * Show read more button
263
+ */
264
+ "showReadMore"?: boolean;
265
+ /**
266
+ * Tournament start time
267
+ */
268
+ "startTime"?: string;
269
+ /**
270
+ * Terms and conditions url
271
+ */
272
+ "termsUrl"?: string;
273
+ /**
274
+ * Tournament ID
275
+ */
276
+ "tournamentId"?: string;
277
+ /**
278
+ * Translations via parent component
279
+ */
280
+ "translationData"?: any;
281
+ /**
282
+ * Translations via URL
283
+ */
284
+ "translationUrl"?: string;
285
+ /**
286
+ * Use event to load data
287
+ */
288
+ "useEvent"?: boolean;
289
+ /**
290
+ * Tournament prizes display as group
291
+ */
292
+ "useGroup"?: boolean;
293
+ /**
294
+ * User ID
295
+ */
296
+ "userId"?: string;
297
+ }
298
+ interface IntrinsicElements {
299
+ "casino-tournament-info": CasinoTournamentInfo;
300
+ }
301
+ }
302
+ export { LocalJSX as JSX };
303
+ declare module "@stencil/core" {
304
+ export namespace JSX {
305
+ interface IntrinsicElements {
306
+ "casino-tournament-info": LocalJSX.CasinoTournamentInfo & JSXBase.HTMLAttributes<HTMLCasinoTournamentInfoElement>;
307
+ }
308
+ }
309
+ }
@@ -0,0 +1 @@
1
+ export * from './components';