@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.
Files changed (59) hide show
  1. package/dist/casino-engagement-suite-tournament/casino-engagement-suite-tournament.esm.js +1 -0
  2. package/dist/casino-engagement-suite-tournament/index.esm.js +1 -0
  3. package/dist/casino-engagement-suite-tournament/p-5e83c304.entry.js +1 -0
  4. package/dist/casino-engagement-suite-tournament/p-9996e3fd.js +1 -0
  5. package/dist/casino-engagement-suite-tournament/p-d5ef82db.js +2 -0
  6. package/dist/casino-engagement-suite-tournament/p-e1255160.js +1 -0
  7. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  8. package/dist/cjs/casino-engagement-suite-tournament-d16da103.js +562 -0
  9. package/dist/cjs/casino-engagement-suite-tournament.cjs.entry.js +12 -0
  10. package/dist/cjs/casino-engagement-suite-tournament.cjs.js +25 -0
  11. package/dist/cjs/index-192fed5a.js +1346 -0
  12. package/dist/cjs/index.cjs.js +12 -0
  13. package/dist/cjs/loader.cjs.js +15 -0
  14. package/dist/collection/collection-manifest.json +12 -0
  15. package/dist/collection/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.css +374 -0
  16. package/dist/collection/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.js +511 -0
  17. package/dist/collection/components/casino-engagement-suite-tournament/index.js +1 -0
  18. package/dist/collection/index.js +1 -0
  19. package/dist/collection/shared/GradientRoundedButton.js +11 -0
  20. package/dist/collection/shared/icons.js +8 -0
  21. package/dist/collection/shared/renderBar.js +14 -0
  22. package/dist/collection/utils/api.apdater.js +35 -0
  23. package/dist/collection/utils/translations.js +28 -0
  24. package/dist/collection/utils/types.js +18 -0
  25. package/dist/collection/utils/util.date.js +38 -0
  26. package/dist/collection/utils/utils.js +18 -0
  27. package/dist/esm/app-globals-0f993ce5.js +3 -0
  28. package/dist/esm/casino-engagement-suite-tournament-af4ed1fe.js +560 -0
  29. package/dist/esm/casino-engagement-suite-tournament.entry.js +4 -0
  30. package/dist/esm/casino-engagement-suite-tournament.js +20 -0
  31. package/dist/esm/index-c8be0c5b.js +1317 -0
  32. package/dist/esm/index.js +4 -0
  33. package/dist/esm/loader.js +11 -0
  34. package/dist/index.cjs.js +1 -0
  35. package/dist/index.js +1 -0
  36. package/dist/stencil.config.dev.js +14 -0
  37. package/dist/stencil.config.js +17 -0
  38. 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
  39. 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
  40. package/dist/types/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.d.ts +127 -0
  41. package/dist/types/components/casino-engagement-suite-tournament/index.d.ts +1 -0
  42. package/dist/types/components.d.ts +95 -0
  43. package/dist/types/index.d.ts +1 -0
  44. package/dist/types/shared/GradientRoundedButton.d.ts +5 -0
  45. package/dist/types/shared/icons.d.ts +7 -0
  46. package/dist/types/shared/renderBar.d.ts +1 -0
  47. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  48. package/dist/types/utils/api.apdater.d.ts +3 -0
  49. package/dist/types/utils/translations.d.ts +42 -0
  50. package/dist/types/utils/types.d.ts +95 -0
  51. package/dist/types/utils/util.date.d.ts +6 -0
  52. package/dist/types/utils/utils.d.ts +1 -0
  53. package/loader/cdn.js +1 -0
  54. package/loader/index.cjs.js +1 -0
  55. package/loader/index.d.ts +24 -0
  56. package/loader/index.es2017.js +1 -0
  57. package/loader/index.js +2 -0
  58. package/loader/package.json +11 -0
  59. package/package.json +26 -0
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const casinoEngagementSuiteTournament = require('./casino-engagement-suite-tournament-d16da103.js');
6
+ require('./index-192fed5a.js');
7
+ require('@everymatrix/general-styling-wrapper');
8
+ require('@everymatrix/casino-engagement-suite-progress-bar');
9
+
10
+
11
+
12
+ exports.CasinoEngagementSuiteTournament = casinoEngagementSuiteTournament.CasinoEngagementSuiteTournament;
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-192fed5a.js');
6
+ const appGlobals = require('./app-globals-3a1e7e63.js');
7
+
8
+ const defineCustomElements = async (win, options) => {
9
+ if (typeof window === 'undefined') return undefined;
10
+ await appGlobals.globalScripts();
11
+ return index.bootstrapLazy([["casino-engagement-suite-tournament.cjs",[[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);
12
+ };
13
+
14
+ exports.setNonce = index.setNonce;
15
+ exports.defineCustomElements = defineCustomElements;
@@ -0,0 +1,12 @@
1
+ {
2
+ "entries": [
3
+ "components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.js"
4
+ ],
5
+ "compiler": {
6
+ "name": "@stencil/core",
7
+ "version": "4.20.0",
8
+ "typescriptVersion": "5.5.3"
9
+ },
10
+ "collections": [],
11
+ "bundles": []
12
+ }
@@ -0,0 +1,374 @@
1
+ .GradientRounded {
2
+ display: block;
3
+ background: linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);
4
+ color: rgba(30, 22, 56, 1);
5
+
6
+ position: relative;
7
+ border-radius: 16px;
8
+
9
+ &.Hollow {
10
+ background: rgba(30, 22, 56, 1);
11
+ color: #FFFFFF;
12
+ &::before {
13
+ content: "";
14
+ position: absolute;
15
+ inset: 0;
16
+ border-radius: 15px;
17
+ border: 1px solid transparent;
18
+ background: linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%) border-box;
19
+ -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
20
+ mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
21
+ -webkit-mask-composite: destination-out;
22
+ mask-composite: exclude;
23
+ }
24
+
25
+ }
26
+ }
27
+
28
+ .GradientRoundedButton {
29
+ border: none;
30
+ padding: 7px;
31
+
32
+ height: 32px;
33
+ width: 100%;
34
+
35
+ font-size: 14px;
36
+ font-weight: 700;
37
+ line-height: 17.07px;
38
+ text-align: center;
39
+
40
+ transition: .5s opacity;
41
+
42
+ cursor: pointer;
43
+ &.Pending {
44
+ cursor: not-allowed;
45
+ opacity: .3;
46
+ }
47
+
48
+ &.Hollow {
49
+
50
+ span {
51
+ background: -webkit-linear-gradient(98.25deg, rgb(255, 148, 0) 22.48%, rgb(254, 247, 70) 131.02%, rgb(255, 226, 74) 131.9%);
52
+ -webkit-background-clip: text;
53
+ -webkit-text-fill-color: transparent;
54
+ }
55
+ }
56
+ }
57
+ .Wrapper {
58
+ height: 100%;
59
+ position: relative;
60
+ color: var(--emw--color-typography, #FFFFFF);
61
+ display: flex;
62
+ background-color: var(--emw--color-background, hsl(254, 44%, 15%));
63
+ flex-direction: column;
64
+ border-radius: 8px;
65
+ overflow: hidden;
66
+ }
67
+
68
+ .WrapperContent {
69
+ padding-bottom: 20px;
70
+ transition: 0.5s filter;
71
+ }
72
+ .WrapperContent.faded {
73
+ filter: brightness(53.3333333333%);
74
+ }
75
+
76
+ .WrapperBar {
77
+ display: flex;
78
+ width: 100%;
79
+ padding: 12px 8px 8px;
80
+ }
81
+
82
+ .WrapperBarLeft, .WrapperBarRight {
83
+ cursor: pointer;
84
+ }
85
+
86
+ .WrapperBarMiddle {
87
+ flex-grow: 1;
88
+ text-align: center;
89
+ font-size: 16px;
90
+ line-height: 16px;
91
+ font-weight: 500;
92
+ color: var(--emw--color-secondary, rgb(187, 185, 195));
93
+ }
94
+
95
+ :host {
96
+ display: block;
97
+ font-size: 12px;
98
+ font-family: Inter;
99
+ }
100
+
101
+ .Row {
102
+ margin: 24px 0;
103
+ padding: 0 20px;
104
+ }
105
+
106
+ .LeaderboardsItem {
107
+ margin: 10px 0;
108
+ border: 1px solid rgb(64, 57, 86);
109
+ border-radius: 16px;
110
+ }
111
+ .LeaderboardsItem.Hollow {
112
+ border-color: transparent;
113
+ }
114
+
115
+ .LeaderboardsItemContainer {
116
+ padding-top: 16px;
117
+ }
118
+
119
+ .Info {
120
+ margin: 24px 0;
121
+ padding: 0 20px;
122
+ }
123
+
124
+ .TimeContainer {
125
+ margin: 24px 0;
126
+ padding: 0 20px;
127
+ }
128
+ .TimeContainer .Time {
129
+ display: flex;
130
+ justify-content: space-between;
131
+ font-size: 11px;
132
+ align-items: center;
133
+ color: var(--emw--color-secondary, rgb(187, 185, 195));
134
+ }
135
+ .TimeContainer .Time button {
136
+ font-size: 12px;
137
+ height: 20px;
138
+ padding: 0;
139
+ }
140
+ .TimeContainer .Time button::before {
141
+ inset: inherit;
142
+ border: 0;
143
+ }
144
+
145
+ .ShowInfo {
146
+ margin: 24px 0;
147
+ padding: 0 20px;
148
+ cursor: pointer;
149
+ color: rgb(102, 97, 120);
150
+ }
151
+ .ShowInfo p {
152
+ display: flex;
153
+ gap: 4px;
154
+ }
155
+
156
+ .TitleContainer {
157
+ display: flex;
158
+ justify-content: space-between;
159
+ margin: 24px 0;
160
+ padding: 0 20px;
161
+ margin-top: 0;
162
+ gap: 10px;
163
+ font-family: Montserrat;
164
+ }
165
+ .TitleContainer .GradientRoundedButton {
166
+ width: 120px;
167
+ }
168
+
169
+ .TabsContainer {
170
+ margin: 24px 0;
171
+ padding: 0 20px;
172
+ margin: 0 20px;
173
+ padding: 0;
174
+ border-bottom: 1px solid #575757;
175
+ }
176
+
177
+ .Tabs {
178
+ display: flex;
179
+ justify-content: space-between;
180
+ justify-content: start;
181
+ font-size: 12px;
182
+ margin-bottom: -1px;
183
+ }
184
+ .Tabs > div {
185
+ padding: 10px;
186
+ color: rgb(102, 97, 120);
187
+ cursor: pointer;
188
+ }
189
+ .Tabs > div.active {
190
+ color: var(--emw--color-typography, #FFF);
191
+ border-bottom: 2px solid var(--emw--color-typography, #FFF);
192
+ }
193
+
194
+ .Title {
195
+ font-size: 16px;
196
+ font-weight: 700;
197
+ line-height: 19.5px;
198
+ text-align: left;
199
+ word-break: break-word;
200
+ }
201
+
202
+ .TC {
203
+ margin-top: 12px;
204
+ }
205
+ .TC a {
206
+ color: rgb(89, 209, 255);
207
+ }
208
+
209
+ .Criterias {
210
+ margin: 12px 0;
211
+ }
212
+ .Criterias span {
213
+ color: var(--emw--color-primary, rgb(255, 214, 47));
214
+ font-weight: 400;
215
+ }
216
+
217
+ .ResultPrize {
218
+ margin: 24px 0;
219
+ padding: 0 20px;
220
+ }
221
+ .ResultPrize span {
222
+ color: var(--emw--color-primary, rgb(255, 214, 47));
223
+ font-weight: 400;
224
+ }
225
+
226
+ .Prizes {
227
+ margin: 24px 0;
228
+ padding: 0 20px;
229
+ }
230
+ .Prizes .PrizesText {
231
+ margin-left: 3px;
232
+ font-weight: 600;
233
+ }
234
+ .Prizes .PrizesHeader {
235
+ align-items: center;
236
+ display: flex;
237
+ }
238
+ .Prizes .PrizesHeader img {
239
+ width: 12px;
240
+ }
241
+ .Prizes .Prize {
242
+ margin: 8px 0;
243
+ }
244
+ .Prizes .Prize .PrizeText {
245
+ color: var(--emw--color-primary, rgb(255, 214, 47));
246
+ font-weight: 400;
247
+ }
248
+
249
+ * {
250
+ box-sizing: border-box;
251
+ }
252
+
253
+ .Leaderboards {
254
+ width: 100%;
255
+ text-align: center;
256
+ border-collapse: collapse;
257
+ }
258
+ .Leaderboards td {
259
+ opacity: 0.6;
260
+ padding: 20px 5px;
261
+ }
262
+ .Leaderboards td:first-child {
263
+ padding-left: 20px;
264
+ }
265
+ .Leaderboards td:last-child {
266
+ padding-right: 20px;
267
+ }
268
+ .Leaderboards .LeaderboardName {
269
+ color: var(--emw--color-typography, #FFF);
270
+ opacity: 1;
271
+ }
272
+ .Leaderboards tr.isMe {
273
+ background: rgba(0, 0, 0, 0.2);
274
+ }
275
+ .Leaderboards tr.isMe .LeaderboardRank span {
276
+ padding: 0px 3px;
277
+ opacity: 1;
278
+ border: 1px solid var(--emw--color-primary, rgb(255, 214, 47));
279
+ border-radius: 11px;
280
+ }
281
+ .Leaderboards tr.isMe td {
282
+ color: var(--emw--color-primary, rgb(255, 214, 47));
283
+ }
284
+
285
+ .Games {
286
+ margin: 24px 0;
287
+ padding: 0 20px;
288
+ display: flex;
289
+ flex-wrap: wrap;
290
+ justify-content: space-evenly;
291
+ gap: 4px 7.25px;
292
+ }
293
+ .Games img {
294
+ width: 60px;
295
+ }
296
+
297
+ dialog {
298
+ position: absolute;
299
+ top: 30px;
300
+ width: 100%;
301
+ height: 100%;
302
+ background: transparent;
303
+ border: 0;
304
+ padding: 0;
305
+ color: var(--emw--color-typography, #FFFFFF);
306
+ }
307
+ dialog > div {
308
+ margin: 32px;
309
+ border-radius: 8px;
310
+ background: var(--emw--color-background, hsl(254, 44%, 15%));
311
+ border: 1px solid hsl(254, 20%, 28%);
312
+ align-items: center;
313
+ }
314
+
315
+ .DialogContentUnjoin {
316
+ padding: 32px;
317
+ padding-top: 10px;
318
+ display: flex;
319
+ gap: 10px;
320
+ flex-direction: column;
321
+ }
322
+
323
+ .DialogContentUnjoinTitle {
324
+ font-family: Montserrat;
325
+ font-size: 20px;
326
+ font-weight: 600;
327
+ line-height: 24.38px;
328
+ text-align: center;
329
+ }
330
+
331
+ .DialogContentUnjoinDescription {
332
+ color: var(--emw--color-secondary, rgb(187, 185, 195));
333
+ margin-bottom: 30px;
334
+ }
335
+
336
+ .Tip {
337
+ padding: 32px;
338
+ padding-top: 10px;
339
+ color: var(--emw--color-secondary, rgb(187, 185, 195));
340
+ font-size: 14px;
341
+ }
342
+
343
+ .PageConfirmContainer {
344
+ text-align: center;
345
+ width: 80%;
346
+ margin: 0 auto;
347
+ }
348
+
349
+ .PageConfirm {
350
+ padding: 40px 32px;
351
+ display: flex;
352
+ flex-direction: column;
353
+ gap: 20px;
354
+ }
355
+ .PageConfirm .Title {
356
+ font-size: 20px;
357
+ text-align: center;
358
+ }
359
+ .PageConfirm .Description {
360
+ color: var(--emw--color-secondary, rgb(187, 185, 195));
361
+ font-weight: 400;
362
+ }
363
+ .PageConfirm .Description span {
364
+ color: var(--emw--color-typography, #FFF);
365
+ font-weight: 600;
366
+ }
367
+
368
+ .PageConfirmButtonsGroup {
369
+ width: 150px;
370
+ margin: 0 auto;
371
+ display: flex;
372
+ flex-direction: column;
373
+ gap: 10px;
374
+ }