@everymatrix/casino-engagement-suite-challenges-details 1.44.0 → 1.45.2
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-challenges-details/casino-engagement-suite-challenges-details.esm.js +1 -1
- package/dist/casino-engagement-suite-challenges-details/p-11d8b487.js +2 -0
- package/dist/casino-engagement-suite-challenges-details/p-8bbfff73.entry.js +1 -0
- package/dist/casino-engagement-suite-challenges-details/p-e1255160.js +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/casino-engagement-suite-challenges-details.cjs.js +17 -11
- package/dist/cjs/casino-engagement-suite-challenges-details_2.cjs.entry.js +293 -323
- package/dist/cjs/index-a758ba24.js +1249 -0
- package/dist/cjs/loader.cjs.js +7 -13
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/casino-engagement-suite-challenges-details/casino-engagement-suite-challenges-details.css +63 -61
- package/dist/collection/components/casino-engagement-suite-challenges-details/casino-engagement-suite-challenges-details.js +438 -493
- package/dist/collection/components/casino-engagement-suite-challenges-details/index.js +1 -0
- package/dist/collection/models/casino-challenges-details.js +10 -10
- package/dist/collection/utils/index.js +8 -2
- package/dist/collection/utils/locale.utils.js +18 -18
- package/dist/collection/utils/utils.js +3 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/casino-engagement-suite-challenges-details.js +14 -11
- package/dist/esm/casino-engagement-suite-challenges-details_2.entry.js +293 -323
- package/dist/esm/index-c193b756.js +1221 -0
- package/dist/esm/loader.js +7 -13
- package/dist/stencil.config.dev.js +17 -0
- package/dist/stencil.config.js +14 -19
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-challenges-details/.stencil/packages/stencil/casino-engagement-suite-challenges-details/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-challenges-details/.stencil/packages/stencil/casino-engagement-suite-challenges-details/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/casino-engagement-suite-challenges-details/casino-engagement-suite-challenges-details.d.ts +70 -70
- package/dist/types/components/casino-engagement-suite-challenges-details/index.d.ts +1 -0
- package/dist/types/components.d.ts +21 -3
- package/dist/types/models/casino-challenges-details.d.ts +46 -46
- package/dist/types/stencil-public-runtime.d.ts +142 -33
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +13 -1
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/loader/package.json +1 -0
- package/package.json +12 -2
- package/dist/casino-engagement-suite-challenges-details/p-80848cd8.entry.js +0 -1
- package/dist/casino-engagement-suite-challenges-details/p-808a7dc5.js +0 -1
- package/dist/cjs/index-a0eb9215.js +0 -1279
- package/dist/components/casino-engagement-suite-challenges-details.d.ts +0 -11
- package/dist/components/casino-engagement-suite-challenges-details.js +0 -318
- package/dist/components/casino-engagement-suite-progress-bar.js +0 -6
- package/dist/components/casino-engagement-suite-progress-bar2.js +0 -107
- package/dist/components/index.d.ts +0 -26
- package/dist/components/index.js +0 -1
- package/dist/esm/index-c5abae48.js +0 -1252
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/casino-engagement-suite-challenges-details/.stencil/packages/casino-engagement-suite-challenges-details/stencil.config.d.ts +0 -2
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,20 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-a758ba24.js');
|
|
6
|
+
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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-challenges-details_2.cjs",[[1,"casino-engagement-suite-challenges-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"challenge":[1040],"inProgressChallenges":[1040],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"pausedChallengeIds":[1040],"limitStylingAppends":[32],"timer":[32],"showDetails":[32],"isExpiredChallenge":[32]}],[1,"casino-engagement-suite-progress-bar",{"value":[2],"disabled":[4],"hidePercent":[4,"hide-percent"],"indeterminate":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"limitStylingAppends":[32]}]]]], options);
|
|
18
|
-
});
|
|
8
|
+
const defineCustomElements = async (win, options) => {
|
|
9
|
+
if (typeof window === 'undefined') return undefined;
|
|
10
|
+
await appGlobals.globalScripts();
|
|
11
|
+
return index.bootstrapLazy([["casino-engagement-suite-challenges-details_2.cjs",[[1,"casino-engagement-suite-challenges-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"challenge":[1040],"inProgressChallenges":[1040],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"pausedChallengeIds":[1040],"limitStylingAppends":[32],"timer":[32],"showDetails":[32],"isExpiredChallenge":[32]},null,{"challenge":["challengePropHandler"]}],[1,"casino-engagement-suite-progress-bar",{"value":[2],"disabled":[4],"hidePercent":[4,"hide-percent"],"indeterminate":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"limitStylingAppends":[32]}]]]], options);
|
|
19
12
|
};
|
|
20
13
|
|
|
14
|
+
exports.setNonce = index.setNonce;
|
|
21
15
|
exports.defineCustomElements = defineCustomElements;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"entries": [
|
|
3
|
-
"
|
|
3
|
+
"components/casino-engagement-suite-challenges-details/casino-engagement-suite-challenges-details.js"
|
|
4
4
|
],
|
|
5
5
|
"compiler": {
|
|
6
6
|
"name": "@stencil/core",
|
|
7
|
-
"version": "
|
|
8
|
-
"typescriptVersion": "
|
|
7
|
+
"version": "4.20.0",
|
|
8
|
+
"typescriptVersion": "5.5.3"
|
|
9
9
|
},
|
|
10
10
|
"collections": [
|
|
11
11
|
{
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;900&display=swap");
|
|
2
1
|
:host {
|
|
3
2
|
display: block;
|
|
4
3
|
font-family: inherit;
|
|
@@ -20,11 +19,27 @@ button:focus {
|
|
|
20
19
|
outline: none;
|
|
21
20
|
}
|
|
22
21
|
|
|
22
|
+
.EngagementSuiteIconButton {
|
|
23
|
+
width: 16px;
|
|
24
|
+
height: 16px;
|
|
25
|
+
}
|
|
26
|
+
.EngagementSuiteIconButton.Back {
|
|
27
|
+
background: center/100% url(https://static.everymatrix.com/gic/img/engagement-suite/back.svg) no-repeat;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
}
|
|
30
|
+
.EngagementSuiteIconButton.Close {
|
|
31
|
+
background: center/100% url(https://static.everymatrix.com/gic/img/engagement-suite/close.svg) no-repeat;
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
}
|
|
34
|
+
.EngagementSuiteIconButton.Reward {
|
|
35
|
+
background: center/100% url(https://static.everymatrix.com/gic/img/engagement-suite/reward.svg) no-repeat;
|
|
36
|
+
}
|
|
37
|
+
|
|
23
38
|
.ChallengeDetailsPopup {
|
|
24
39
|
display: flex;
|
|
25
40
|
height: 100%;
|
|
26
41
|
background-color: var(--emw--color-background, #1E1638);
|
|
27
|
-
border-radius: 8px;
|
|
42
|
+
border-radius: var(--emw--border-radius-large, 8px);
|
|
28
43
|
overflow: hidden;
|
|
29
44
|
flex-direction: column;
|
|
30
45
|
position: relative;
|
|
@@ -36,21 +51,12 @@ button:focus {
|
|
|
36
51
|
align-items: center;
|
|
37
52
|
padding: 12px 8px 8px;
|
|
38
53
|
}
|
|
39
|
-
.ChallengeActions .ChallengeIconButton {
|
|
40
|
-
width: 16px;
|
|
41
|
-
height: 16px;
|
|
42
|
-
cursor: pointer;
|
|
43
|
-
}
|
|
44
|
-
.ChallengeActions .ChallengeIconButton img {
|
|
45
|
-
width: 100%;
|
|
46
|
-
height: 100%;
|
|
47
|
-
}
|
|
48
54
|
|
|
49
55
|
.ChallengeLabel {
|
|
50
56
|
min-width: 35px;
|
|
51
57
|
height: 18px;
|
|
52
|
-
background: linear-gradient(180deg, #FFB801 15.86%, #FEF746 31.36%, #FBFFE0 36.86%, #FFFA60 47.86%, #FF9400 87.36%);
|
|
53
|
-
border-radius: 2px;
|
|
58
|
+
background: var(--emw--engagement-suite-gradient-golden, linear-gradient(180deg, #FFB801 15.86%, #FEF746 31.36%, #FBFFE0 36.86%, #FFFA60 47.86%, #FF9400 87.36%));
|
|
59
|
+
border-radius: var(--emw--border-radius-x-small, 2px);
|
|
54
60
|
display: none;
|
|
55
61
|
position: absolute;
|
|
56
62
|
top: -23px;
|
|
@@ -62,11 +68,11 @@ button:focus {
|
|
|
62
68
|
.ChallengeLabel span {
|
|
63
69
|
display: inline-block;
|
|
64
70
|
text-transform: uppercase;
|
|
65
|
-
font-size: var(--emw--font-size-
|
|
71
|
+
font-size: var(--emw--font-size-2x-small, 10px);
|
|
66
72
|
line-height: 10px;
|
|
67
73
|
font-weight: var(--emw--font-weight-bold, 700);
|
|
68
|
-
font-family: "Montserrat", sans-serif;
|
|
69
|
-
color: var(--emw--color-
|
|
74
|
+
font-family: var(--emw--font-family-secondary, "Montserrat", sans-serif);
|
|
75
|
+
color: var(--emw--color-background, #1E1638);
|
|
70
76
|
}
|
|
71
77
|
|
|
72
78
|
.ShowChallengeLabel {
|
|
@@ -93,45 +99,41 @@ button:focus {
|
|
|
93
99
|
gap: 12px;
|
|
94
100
|
}
|
|
95
101
|
.ChallengeDetailsHeader .ChallengeName {
|
|
96
|
-
font-family: "Montserrat", sans-serif;
|
|
97
|
-
font-size: var(--emw--font-size-medium, 18px);
|
|
102
|
+
font-family: var(--emw--font-family-secondary, "Montserrat", sans-serif);
|
|
103
|
+
font-size: var(--emw--font-size-medium-plus, 18px);
|
|
98
104
|
font-weight: var(--emw--font-weight-bold, 700);
|
|
99
105
|
line-height: 22px;
|
|
100
|
-
color: var(--
|
|
106
|
+
color: var(--emw--color-typography, #FFF);
|
|
101
107
|
word-break: break-word;
|
|
102
108
|
}
|
|
103
109
|
|
|
104
|
-
.
|
|
105
|
-
content: "";
|
|
106
|
-
position: absolute;
|
|
107
|
-
inset: 0;
|
|
108
|
-
border-radius: var(--emw--button-border-radius, 4px);
|
|
109
|
-
padding: 1px;
|
|
110
|
-
background: linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);
|
|
111
|
-
-webkit-mask: linear-gradient(#FFF 0 0) content-box, linear-gradient(#FFF 0 0);
|
|
112
|
-
-webkit-mask-composite: xor;
|
|
113
|
-
mask-composite: exclude;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.ChallengeJoinButton {
|
|
110
|
+
.EngagementSuiteButton {
|
|
117
111
|
transition: all 0.5s ease-out;
|
|
118
|
-
background: linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);
|
|
119
|
-
color: var(--emw--color-
|
|
112
|
+
background: var(--emw--engagement-suite-gradient-button, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%));
|
|
113
|
+
color: var(--emw--color-background, #1E1638);
|
|
120
114
|
border-radius: 99px;
|
|
121
115
|
min-width: 88px;
|
|
122
116
|
height: 32px;
|
|
123
|
-
font-size: 14px;
|
|
124
|
-
font-weight: 700;
|
|
117
|
+
font-size: var(--emw--font-size-small, 14px);
|
|
118
|
+
font-weight: var(--emw--font-weight-bold, 700);
|
|
125
119
|
position: relative;
|
|
126
|
-
font-family: "Montserrat", sans-serif;
|
|
120
|
+
font-family: var(--emw--font-family-secondary, "Montserrat", sans-serif);
|
|
127
121
|
}
|
|
128
|
-
.
|
|
129
|
-
background: linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);
|
|
122
|
+
.EngagementSuiteButton.Active {
|
|
123
|
+
background: var(--emw--engagement-suite-gradient-button, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%));
|
|
130
124
|
-webkit-background-clip: text;
|
|
131
125
|
background-clip: text;
|
|
132
126
|
-webkit-text-fill-color: transparent;
|
|
133
127
|
}
|
|
134
|
-
.
|
|
128
|
+
.EngagementSuiteButton.Active::before {
|
|
129
|
+
content: "";
|
|
130
|
+
position: absolute;
|
|
131
|
+
inset: 0;
|
|
132
|
+
padding: 1px;
|
|
133
|
+
background: var(--emw--engagement-suite-gradient-button, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%));
|
|
134
|
+
-webkit-mask: linear-gradient(#FFF 0 0) content-box, linear-gradient(#FFF 0 0);
|
|
135
|
+
-webkit-mask-composite: xor;
|
|
136
|
+
mask-composite: exclude;
|
|
135
137
|
border-radius: 99px;
|
|
136
138
|
}
|
|
137
139
|
|
|
@@ -146,12 +148,12 @@ button:focus {
|
|
|
146
148
|
font-size: var(--emw--font-size-x-small, 12px);
|
|
147
149
|
line-height: 12px;
|
|
148
150
|
margin-top: 12px;
|
|
149
|
-
color: var(--emw--color-
|
|
151
|
+
color: var(--emw--color-secondary, #BBB9C3);
|
|
150
152
|
}
|
|
151
153
|
|
|
152
154
|
.ChallengeCountdown.Expired {
|
|
153
|
-
font-weight: var(--emw--font-weight-
|
|
154
|
-
color: var(--
|
|
155
|
+
font-weight: var(--emw--font-weight-bold, 700);
|
|
156
|
+
color: var(--emw--color-typography, #FFF);
|
|
155
157
|
}
|
|
156
158
|
|
|
157
159
|
.ChallengeCollapseButton {
|
|
@@ -161,7 +163,7 @@ button:focus {
|
|
|
161
163
|
align-items: center;
|
|
162
164
|
font-size: var(--emw--font-size-x-small, 12px);
|
|
163
165
|
line-height: 12px;
|
|
164
|
-
color: var(--emw--color-
|
|
166
|
+
color: var(--emw--color-gray-300, #666178);
|
|
165
167
|
cursor: pointer;
|
|
166
168
|
}
|
|
167
169
|
.ChallengeCollapseButton .Toggle {
|
|
@@ -184,14 +186,14 @@ button:focus {
|
|
|
184
186
|
font-weight: var(--emw--font-weight-normal, 400);
|
|
185
187
|
}
|
|
186
188
|
.CollapseDetails .ChallengeDescription {
|
|
187
|
-
color: var(--
|
|
189
|
+
color: var(--emw--color-typography, #FFF);
|
|
188
190
|
margin: 12px 0;
|
|
189
191
|
}
|
|
190
192
|
.CollapseDetails .TC {
|
|
191
193
|
margin: 12px 0 16px;
|
|
192
194
|
}
|
|
193
195
|
.CollapseDetails .TC a {
|
|
194
|
-
color: var(--emw--color-
|
|
196
|
+
color: var(--emw--color-contrast, #59D1FF);
|
|
195
197
|
text-underline-offset: 3px;
|
|
196
198
|
}
|
|
197
199
|
.CollapseDetails .ChallengeGames {
|
|
@@ -205,13 +207,13 @@ button:focus {
|
|
|
205
207
|
background: none;
|
|
206
208
|
}
|
|
207
209
|
.CollapseDetails .ChallengeGames::-webkit-scrollbar-thumb {
|
|
208
|
-
border-radius: 4px;
|
|
209
|
-
background-color: var(--emw--color-
|
|
210
|
+
border-radius: var(--emw--border-radius-small, 4px);
|
|
211
|
+
background-color: var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3));
|
|
210
212
|
}
|
|
211
213
|
.CollapseDetails .ChallengeGames .Game img {
|
|
212
214
|
width: 96px;
|
|
213
215
|
height: 50px;
|
|
214
|
-
border-radius: 2px;
|
|
216
|
+
border-radius: var(--emw--border-radius-x-small, 2px);
|
|
215
217
|
cursor: pointer;
|
|
216
218
|
}
|
|
217
219
|
|
|
@@ -224,15 +226,15 @@ button:focus {
|
|
|
224
226
|
flex-direction: column;
|
|
225
227
|
gap: 16px;
|
|
226
228
|
margin-top: 24px;
|
|
227
|
-
color: var(--emw--color-
|
|
228
|
-
font-size: var(--emw--font-size-small, 12px);
|
|
229
|
+
color: var(--emw--color-gray-150, #8F8B9C);
|
|
230
|
+
font-size: var(--emw--font-size-x-small, 12px);
|
|
229
231
|
font-weight: var(--emw--font-weight-normal, 400);
|
|
230
232
|
line-height: 12px;
|
|
231
233
|
}
|
|
232
234
|
.ChallengeLevels .ChallengeLevelCard {
|
|
233
235
|
border: 1px solid var(--emw--button-border-color, #403956);
|
|
234
236
|
padding: 16px;
|
|
235
|
-
border-radius: 8px;
|
|
237
|
+
border-radius: var(--emw--border-radius-large, 8px);
|
|
236
238
|
}
|
|
237
239
|
.ChallengeLevels .ChallengeLevelCard .ChallengeLevelBetDetails {
|
|
238
240
|
margin-top: 25px;
|
|
@@ -267,15 +269,15 @@ button:focus {
|
|
|
267
269
|
}
|
|
268
270
|
.ChallengeLevels .InProgress .ChallengeLevelTarget,
|
|
269
271
|
.ChallengeLevels .InProgress .CustomRewardMessage {
|
|
270
|
-
color: var(--
|
|
272
|
+
color: var(--emw--color-typography, #FFF);
|
|
271
273
|
}
|
|
272
274
|
.ChallengeLevels .InProgress::before {
|
|
273
275
|
content: "";
|
|
274
276
|
position: absolute;
|
|
275
277
|
inset: 0;
|
|
276
|
-
border-radius: 8px;
|
|
278
|
+
border-radius: var(--emw--border-radius-large, 8px);
|
|
277
279
|
padding: 1px;
|
|
278
|
-
background: linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);
|
|
280
|
+
background: var(--emw--engagement-suite-gradient-button, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%));
|
|
279
281
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
280
282
|
-webkit-mask-composite: xor;
|
|
281
283
|
mask-composite: exclude;
|
|
@@ -285,8 +287,8 @@ button:focus {
|
|
|
285
287
|
.ChallengeDetailsPopup.Desktop .ChallengeActions {
|
|
286
288
|
padding-top: 16px;
|
|
287
289
|
}
|
|
288
|
-
.ChallengeDetailsPopup.Tablet .
|
|
289
|
-
.ChallengeDetailsPopup.Desktop .
|
|
290
|
+
.ChallengeDetailsPopup.Tablet .EngagementSuiteIconButton,
|
|
291
|
+
.ChallengeDetailsPopup.Desktop .EngagementSuiteIconButton {
|
|
290
292
|
width: 24px;
|
|
291
293
|
height: 24px;
|
|
292
294
|
}
|
|
@@ -301,13 +303,13 @@ button:focus {
|
|
|
301
303
|
.ChallengeDetailsPopup.Tablet .ChallengeName,
|
|
302
304
|
.ChallengeDetailsPopup.Desktop .ChallengeName {
|
|
303
305
|
line-height: 27px;
|
|
304
|
-
font-size: 22px;
|
|
306
|
+
font-size: var(--emw--font-size-large-plus, 22px);
|
|
305
307
|
}
|
|
306
|
-
.ChallengeDetailsPopup.Tablet .
|
|
307
|
-
.ChallengeDetailsPopup.Desktop .
|
|
308
|
+
.ChallengeDetailsPopup.Tablet .EngagementSuiteButton,
|
|
309
|
+
.ChallengeDetailsPopup.Desktop .EngagementSuiteButton {
|
|
308
310
|
min-width: 100px;
|
|
309
311
|
height: 36px;
|
|
310
|
-
font-size: 16px;
|
|
312
|
+
font-size: var(--emw--font-size-medium, 16px);
|
|
311
313
|
}
|
|
312
314
|
.ChallengeDetailsPopup.Tablet .ChallengeCountdown,
|
|
313
315
|
.ChallengeDetailsPopup.Tablet .ChallengeLevels,
|