@everymatrix/casino-engagement-suite-tournament 1.39.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 +0 -0
- package/dist/casino-engagement-suite-tournament/p-75de0549.entry.js +1 -0
- package/dist/casino-engagement-suite-tournament/p-86ce7485.js +1 -0
- package/dist/cjs/casino-engagement-suite-progress-bar_3.cjs.entry.js +824 -0
- package/dist/cjs/casino-engagement-suite-tournament.cjs.js +19 -0
- package/dist/cjs/index-e778ddd2.js +1733 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/collection/collection-manifest.json +25 -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 +601 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/shared/GradientRoundedButton.js +12 -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/components/casino-engagement-suite-progress-bar.js +6 -0
- package/dist/components/casino-engagement-suite-progress-bar2.js +94 -0
- package/dist/components/casino-engagement-suite-tournament.d.ts +11 -0
- package/dist/components/casino-engagement-suite-tournament.js +716 -0
- package/dist/components/general-styling-wrapper.js +6 -0
- package/dist/components/general-styling-wrapper2.js +103 -0
- package/dist/components/index.d.ts +26 -0
- package/dist/components/index.js +1 -0
- package/dist/esm/casino-engagement-suite-progress-bar_3.entry.js +818 -0
- package/dist/esm/casino-engagement-suite-tournament.js +17 -0
- package/dist/esm/index-4e611d33.js +1704 -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-engagement-suite-tournament/.stencil/packages/casino-engagement-suite-tournament/stencil.config.d.ts +2 -0
- package/dist/types/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.d.ts +130 -0
- package/dist/types/components.d.ts +79 -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 +1565 -0
- package/dist/types/utils/api.apdater.d.ts +31 -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 +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 +26 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e778ddd2.js');
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
Stencil Client Patch Esm v2.15.2 | MIT Licensed | https://stenciljs.com
|
|
9
|
+
*/
|
|
10
|
+
const patchEsm = () => {
|
|
11
|
+
return index.promiseResolve();
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const defineCustomElements = (win, options) => {
|
|
15
|
+
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
|
+
return patchEsm().then(() => {
|
|
17
|
+
return index.bootstrapLazy([["casino-engagement-suite-progress-bar_3.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"]]],[1,"casino-engagement-suite-progress-bar",{"value":[2],"disabled":[4],"hidePercent":[4,"hide-percent"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"limitStylingAppends":[32]}],[4,"general-styling-wrapper",{"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationUrl":[1,"translation-url"],"targetTranslations":[16]}]]]], options);
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
exports.defineCustomElements = defineCustomElements;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"entries": [
|
|
3
|
+
"./components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.js"
|
|
4
|
+
],
|
|
5
|
+
"compiler": {
|
|
6
|
+
"name": "@stencil/core",
|
|
7
|
+
"version": "2.15.2",
|
|
8
|
+
"typescriptVersion": "4.5.4"
|
|
9
|
+
},
|
|
10
|
+
"collections": [
|
|
11
|
+
{
|
|
12
|
+
"name": "@everymatrix/casino-engagement-suite-progress-bar",
|
|
13
|
+
"tags": [
|
|
14
|
+
"casino-engagement-suite-progress-bar"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "@everymatrix/general-styling-wrapper",
|
|
19
|
+
"tags": [
|
|
20
|
+
"general-styling-wrapper"
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"bundles": []
|
|
25
|
+
}
|
|
@@ -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, #1d1537);
|
|
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, #bbb9c3);
|
|
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 #403956;
|
|
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, #bbb9c3);
|
|
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: #666178;
|
|
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: #666178;
|
|
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: #59d1ff;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.Criterias {
|
|
210
|
+
margin: 12px 0;
|
|
211
|
+
}
|
|
212
|
+
.Criterias span {
|
|
213
|
+
color: var(--emw--color-primary, #ffd62f);
|
|
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, #ffd62f);
|
|
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, #ffd62f);
|
|
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, #ffd62f);
|
|
279
|
+
border-radius: 11px;
|
|
280
|
+
}
|
|
281
|
+
.Leaderboards tr.isMe td {
|
|
282
|
+
color: var(--emw--color-primary, #ffd62f);
|
|
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, #1d1537);
|
|
311
|
+
border: 1px solid #403956;
|
|
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, #bbb9c3);
|
|
333
|
+
margin-bottom: 30px;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.Tip {
|
|
337
|
+
padding: 32px;
|
|
338
|
+
padding-top: 10px;
|
|
339
|
+
color: var(--emw--color-secondary, #bbb9c3);
|
|
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, #bbb9c3);
|
|
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
|
+
}
|