@everymatrix/casino-engagement-suite-jackpot-details 1.36.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.
Files changed (53) hide show
  1. package/dist/casino-engagement-suite-jackpot-details/casino-engagement-suite-jackpot-details.esm.js +1 -0
  2. package/dist/casino-engagement-suite-jackpot-details/index.esm.js +0 -0
  3. package/dist/casino-engagement-suite-jackpot-details/p-9764b08b.entry.js +1 -0
  4. package/dist/casino-engagement-suite-jackpot-details/p-e36472df.js +1 -0
  5. package/dist/casino-engagement-suite-jackpot-details/p-e8978b77.entry.js +1 -0
  6. package/dist/cjs/casino-engagement-suite-jackpot-details.cjs.entry.js +285 -0
  7. package/dist/cjs/casino-engagement-suite-jackpot-details.cjs.js +19 -0
  8. package/dist/cjs/casino-engagement-suite-progress-bar.cjs.entry.js +76 -0
  9. package/dist/cjs/index-8f767151.js +1317 -0
  10. package/dist/cjs/index.cjs.js +2 -0
  11. package/dist/cjs/loader.cjs.js +21 -0
  12. package/dist/collection/collection-manifest.json +19 -0
  13. package/dist/collection/components/casino-engagement-suite-jackpot-details/casino-engagement-suite-jackpot-details.css +358 -0
  14. package/dist/collection/components/casino-engagement-suite-jackpot-details/casino-engagement-suite-jackpot-details.js +460 -0
  15. package/dist/collection/index.js +1 -0
  16. package/dist/collection/models/index.js +1 -0
  17. package/dist/collection/utils/index.js +5 -0
  18. package/dist/collection/utils/locale.utils.js +22 -0
  19. package/dist/components/casino-engagement-suite-jackpot-details.d.ts +11 -0
  20. package/dist/components/casino-engagement-suite-jackpot-details.js +316 -0
  21. package/dist/components/casino-engagement-suite-progress-bar.js +97 -0
  22. package/dist/components/index.d.ts +26 -0
  23. package/dist/components/index.js +1 -0
  24. package/dist/esm/casino-engagement-suite-jackpot-details.entry.js +281 -0
  25. package/dist/esm/casino-engagement-suite-jackpot-details.js +17 -0
  26. package/dist/esm/casino-engagement-suite-progress-bar.entry.js +72 -0
  27. package/dist/esm/index-ec30ecaa.js +1290 -0
  28. package/dist/esm/index.js +1 -0
  29. package/dist/esm/loader.js +17 -0
  30. package/dist/esm/polyfills/core-js.js +11 -0
  31. package/dist/esm/polyfills/css-shim.js +1 -0
  32. package/dist/esm/polyfills/dom.js +79 -0
  33. package/dist/esm/polyfills/es5-html-element.js +1 -0
  34. package/dist/esm/polyfills/index.js +34 -0
  35. package/dist/esm/polyfills/system.js +6 -0
  36. package/dist/index.cjs.js +1 -0
  37. package/dist/index.js +1 -0
  38. package/dist/stencil.config.js +22 -0
  39. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/casino-engagement-suite-jackpot-details/.stencil/packages/casino-engagement-suite-jackpot-details/stencil.config.d.ts +2 -0
  40. package/dist/types/components/casino-engagement-suite-jackpot-details/casino-engagement-suite-jackpot-details.d.ts +82 -0
  41. package/dist/types/components.d.ts +88 -0
  42. package/dist/types/index.d.ts +1 -0
  43. package/dist/types/models/index.d.ts +49 -0
  44. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  45. package/dist/types/utils/index.d.ts +1 -0
  46. package/dist/types/utils/locale.utils.d.ts +1 -0
  47. package/loader/cdn.js +3 -0
  48. package/loader/index.cjs.js +3 -0
  49. package/loader/index.d.ts +12 -0
  50. package/loader/index.es2017.js +3 -0
  51. package/loader/index.js +4 -0
  52. package/loader/package.json +10 -0
  53. package/package.json +19 -0
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-8f767151.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-jackpot-details.cjs",[[1,"casino-engagement-suite-jackpot-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"jackpot":[16],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"limitStylingAppends":[32],"timer":[32],"disabledStatus":[32],"activeTab":[32],"visibleGames":[32],"loading":[32],"enabled":[32],"balance":[32],"winBalance":[32],"showDetails":[32]},[[8,"message","handleEvent"]]]]],["casino-engagement-suite-progress-bar.cjs",[[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]}]]]], options);
18
+ });
19
+ };
20
+
21
+ exports.defineCustomElements = defineCustomElements;
@@ -0,0 +1,19 @@
1
+ {
2
+ "entries": [
3
+ "./components/casino-engagement-suite-jackpot-details/casino-engagement-suite-jackpot-details.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
+ "bundles": []
19
+ }
@@ -0,0 +1,358 @@
1
+ :host {
2
+ display: block;
3
+ font-family: inherit;
4
+ }
5
+
6
+ * {
7
+ box-sizing: border-box;
8
+ margin: 0;
9
+ padding: 0;
10
+ }
11
+
12
+ button {
13
+ border: none;
14
+ background: none;
15
+ }
16
+ button:focus {
17
+ outline: none;
18
+ }
19
+ button:not(:disabled) {
20
+ cursor: pointer;
21
+ }
22
+
23
+ .PopupButton {
24
+ background: linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);
25
+ color: var(--emw--color-typography, #1E1638);
26
+ border-radius: 99px;
27
+ min-width: 88px;
28
+ min-height: 32px;
29
+ font-size: 14px;
30
+ font-weight: 700;
31
+ position: relative;
32
+ font-family: "Montserrat", sans-serif;
33
+ }
34
+ .PopupButton.Active {
35
+ background: linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);
36
+ -webkit-background-clip: text;
37
+ background-clip: text;
38
+ -webkit-text-fill-color: transparent;
39
+ }
40
+ .PopupButton.Active::before {
41
+ content: "";
42
+ position: absolute;
43
+ inset: 0;
44
+ padding: 1px;
45
+ background: linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);
46
+ -webkit-mask: linear-gradient(#FFF 0 0) content-box, linear-gradient(#FFF 0 0);
47
+ -webkit-mask-composite: xor;
48
+ mask-composite: exclude;
49
+ border-radius: 99px;
50
+ }
51
+ .PopupButton.Loading {
52
+ opacity: 0.5;
53
+ pointer-events: none;
54
+ }
55
+
56
+ .JackpotDetailsPopup {
57
+ display: flex;
58
+ height: 100%;
59
+ background-color: var(--emw--color-background, #1E1638);
60
+ border-radius: 8px;
61
+ overflow: hidden;
62
+ flex-direction: column;
63
+ position: relative;
64
+ }
65
+ .JackpotDetailsPopup.Disabled .JackpotDetailsHeader {
66
+ opacity: 0.5;
67
+ }
68
+ .JackpotDetailsPopup.Disabled .JackpotDetailsTabs {
69
+ cursor: default;
70
+ pointer-events: none;
71
+ }
72
+ .JackpotDetailsPopup.Disabled .JackpotInfoItem {
73
+ color: var(--emw--color-primary, #8F8B9C);
74
+ }
75
+
76
+ .JackpotDetailsNavigation {
77
+ display: flex;
78
+ justify-content: space-between;
79
+ align-items: center;
80
+ padding: 12px 8px 8px;
81
+ }
82
+ .JackpotDetailsNavigation .JackpotIconButton {
83
+ width: 16px;
84
+ height: 16px;
85
+ cursor: pointer;
86
+ display: flex;
87
+ justify-content: center;
88
+ align-items: center;
89
+ }
90
+ .JackpotDetailsNavigation .JackpotPopupName {
91
+ color: var(--emw--color-gray-100, #BBB9C3);
92
+ font-size: 16px;
93
+ font-weight: 500;
94
+ line-height: 16px;
95
+ display: none;
96
+ }
97
+
98
+ .JackpotDetailsPopupContent {
99
+ padding: 8px 18px 18px;
100
+ overflow: hidden;
101
+ height: 100%;
102
+ display: flex;
103
+ flex-direction: column;
104
+ }
105
+
106
+ .JackpotDetailsHeader {
107
+ display: flex;
108
+ justify-content: space-between;
109
+ align-items: center;
110
+ gap: 12px;
111
+ }
112
+ .JackpotDetailsHeader .JackpotDetailsHeaderSecondCol {
113
+ text-align: right;
114
+ }
115
+ .JackpotDetailsHeader .JackpotType {
116
+ text-transform: uppercase;
117
+ font-family: "Montserrat", sans-serif;
118
+ font-size: var(--emw--font-size-medium, 18px);
119
+ font-weight: var(--emw--font-weight-bold, 700);
120
+ line-height: 22px;
121
+ color: var(--emfe-w-color-white, #FFF);
122
+ word-break: break-all;
123
+ }
124
+ .JackpotDetailsHeader .JackpotBalance {
125
+ margin-top: 8px;
126
+ font-family: Montserrat, sans-serif;
127
+ font-size: 18px;
128
+ font-weight: var(--emw--font-weight-bold, 800);
129
+ line-height: 18px;
130
+ }
131
+ .JackpotDetailsHeader .JackpotIsWon {
132
+ margin-top: 8px;
133
+ font-family: Montserrat, sans-serif;
134
+ font-weight: var(--emw--font-weight-bold, 700);
135
+ font-size: 12px;
136
+ line-height: 15px;
137
+ background: linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);
138
+ -webkit-text-fill-color: transparent;
139
+ -webkit-background-clip: text;
140
+ }
141
+
142
+ .JackpotDetailsPopup.Mega .JackpotBalance {
143
+ background: linear-gradient(180deg, #FFB801 15.86%, #FEF746 31.36%, #FBFFE0 36.86%, #FFFA60 47.86%, #FF9400 87.36%);
144
+ -webkit-text-fill-color: transparent;
145
+ -webkit-background-clip: text;
146
+ }
147
+ .JackpotDetailsPopup.Major .JackpotBalance {
148
+ background: linear-gradient(180deg, #A19FA0 5.36%, #E1DBDB 28.86%, #FEFFFF 36.86%, #E1DBDB 44.36%, #5E5B5F 91.86%);
149
+ -webkit-text-fill-color: transparent;
150
+ -webkit-background-clip: text;
151
+ }
152
+ .JackpotDetailsPopup.Minor .JackpotBalance {
153
+ background: linear-gradient(180deg, #A0522C 5.36%, #FFAB8C 28.86%, #FFEEDF 36.86%, #FFAB8C 44.36%, #6A3A21 91.86%);
154
+ -webkit-text-fill-color: transparent;
155
+ -webkit-background-clip: text;
156
+ }
157
+
158
+ .JackpotGamesLoadMore::before,
159
+ .JackpotJoinButton.Joined::before {
160
+ content: "";
161
+ position: absolute;
162
+ inset: 0;
163
+ border-radius: var(--emw--button-border-radius, 4px);
164
+ padding: 1px;
165
+ background: linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);
166
+ -webkit-mask: linear-gradient(#FFF 0 0) content-box, linear-gradient(#FFF 0 0);
167
+ -webkit-mask-composite: xor;
168
+ mask-composite: exclude;
169
+ }
170
+
171
+ .JackpotGamesButton {
172
+ margin-top: 12px;
173
+ align-self: center;
174
+ min-width: 140px;
175
+ }
176
+
177
+ .JackpotCountdown {
178
+ font-size: var(--emw--font-size-x-small, 12px);
179
+ line-height: 12px;
180
+ margin-top: 12px;
181
+ color: var(--emw--color-gray-150, #BBB9C3);
182
+ }
183
+ .JackpotCountdown.Suspended {
184
+ font-weight: var(--emw--font-weight-bold, 700);
185
+ color: var(--emfe-w-color-white, #FFF);
186
+ text-transform: capitalize;
187
+ }
188
+
189
+ .JackpotDetailsTabsWrapper {
190
+ display: flex;
191
+ flex-direction: column;
192
+ }
193
+
194
+ .JackpotDetailsTabs {
195
+ margin: 20px 0 12px;
196
+ display: flex;
197
+ position: relative;
198
+ }
199
+ .JackpotDetailsTabs .JackpotDetailsTab {
200
+ padding: 9px 16px 7px;
201
+ font-weight: 500;
202
+ font-size: 12px;
203
+ line-height: 15px;
204
+ color: var(--emw--color-background, #666178);
205
+ border-bottom: 2px solid transparent;
206
+ cursor: pointer;
207
+ }
208
+ .JackpotDetailsTabs .JackpotDetailsTab.Active {
209
+ color: var(--emw--color-typography, #FFF);
210
+ border-color: var(--emw--color-typography, #FFF);
211
+ }
212
+ .JackpotDetailsTabs::after {
213
+ content: "";
214
+ position: absolute;
215
+ bottom: 0;
216
+ left: 0;
217
+ width: 100%;
218
+ height: 1px;
219
+ background-color: var(--emw--color-typography, #FFF);
220
+ opacity: 0.1;
221
+ }
222
+
223
+ .JackpotInfoItem {
224
+ margin-bottom: 8px;
225
+ color: var(--emw--color-typography, #FFF);
226
+ font-size: 14px;
227
+ line-height: 17px;
228
+ }
229
+ .JackpotInfoItem span {
230
+ font-weight: var(--emw--font-weight-bold, 700);
231
+ }
232
+ .JackpotInfoItem .tc {
233
+ color: var(--emw--color-primary, #59D1FF);
234
+ }
235
+
236
+ .JackpotGamesListWrapper {
237
+ overflow: auto;
238
+ flex-grow: 1;
239
+ }
240
+
241
+ .JackpotGamesList {
242
+ display: flex;
243
+ gap: 10px;
244
+ flex-wrap: wrap;
245
+ }
246
+ .JackpotGamesList .JackpotGamesListItem {
247
+ width: calc(25% - 8px);
248
+ aspect-ratio: 74/40;
249
+ cursor: pointer;
250
+ }
251
+ .JackpotGamesList .JackpotGamesListItem.Disabled {
252
+ opacity: 0.5;
253
+ pointer-events: none;
254
+ cursor: auto;
255
+ }
256
+
257
+ .JackpotDetailsButton {
258
+ margin-bottom: 12px;
259
+ display: flex;
260
+ align-items: center;
261
+ font-size: var(--emw--font-size-x-small, 12px);
262
+ line-height: 12px;
263
+ color: var(--emw--color-primary-variant, #666178);
264
+ cursor: pointer;
265
+ }
266
+ .JackpotDetailsButton .Toggle {
267
+ width: 16px;
268
+ height: 16px;
269
+ margin-right: 4px;
270
+ }
271
+ .JackpotDetailsButton .Closed {
272
+ background: center/100% url("https://static.everymatrix.com/gic/img/engagement-suite/eye-closed.svg");
273
+ }
274
+ .JackpotDetailsButton .Open {
275
+ background: center/100% url("https://static.everymatrix.com/gic/img/engagement-suite/eye-open.svg");
276
+ }
277
+
278
+ .JackpotDescription {
279
+ margin-bottom: 20px;
280
+ color: var(--emw--color-typography, #FFF);
281
+ font-size: var(--emw--font-size-small, 14px);
282
+ line-height: 17px;
283
+ }
284
+
285
+ .JackpotDetailsPopup.Tablet .JackpotDetailsButton,
286
+ .JackpotDetailsPopup.Desktop .JackpotDetailsButton {
287
+ margin-bottom: 20px;
288
+ }
289
+ .JackpotDetailsPopup.Tablet .JackpotDescription,
290
+ .JackpotDetailsPopup.Desktop .JackpotDescription {
291
+ font-size: var(--emw--font-size-medium, 16px);
292
+ line-height: 22px;
293
+ }
294
+ .JackpotDetailsPopup.Tablet .JackpotPopupName,
295
+ .JackpotDetailsPopup.Desktop .JackpotPopupName {
296
+ display: block;
297
+ }
298
+ .JackpotDetailsPopup.Tablet .JackpotDetailsNavigation,
299
+ .JackpotDetailsPopup.Desktop .JackpotDetailsNavigation {
300
+ padding-top: 16px;
301
+ }
302
+ .JackpotDetailsPopup.Tablet .JackpotIconButton,
303
+ .JackpotDetailsPopup.Desktop .JackpotIconButton {
304
+ width: 24px;
305
+ height: 24px;
306
+ }
307
+ .JackpotDetailsPopup.Tablet .JackpotDetailsPopupContent,
308
+ .JackpotDetailsPopup.Desktop .JackpotDetailsPopupContent {
309
+ padding: 20px 24px 30px;
310
+ }
311
+ .JackpotDetailsPopup.Tablet .JackpotBalance,
312
+ .JackpotDetailsPopup.Tablet .JackpotType,
313
+ .JackpotDetailsPopup.Desktop .JackpotBalance,
314
+ .JackpotDetailsPopup.Desktop .JackpotType {
315
+ line-height: 27px;
316
+ font-size: 22px;
317
+ }
318
+ .JackpotDetailsPopup.Tablet .JackpotBalance,
319
+ .JackpotDetailsPopup.Desktop .JackpotBalance {
320
+ font-weight: var(--emw--font-weight-bold, 700);
321
+ }
322
+ .JackpotDetailsPopup.Tablet .PopupButton,
323
+ .JackpotDetailsPopup.Desktop .PopupButton {
324
+ min-height: 36px;
325
+ font-size: 16px;
326
+ }
327
+ .JackpotDetailsPopup.Tablet .JackpotCountdown,
328
+ .JackpotDetailsPopup.Desktop .JackpotCountdown {
329
+ font-size: var(--emw--font-size-small, 14px);
330
+ line-height: 14px;
331
+ }
332
+ .JackpotDetailsPopup.Tablet .JackpotDetailsTabs,
333
+ .JackpotDetailsPopup.Desktop .JackpotDetailsTabs {
334
+ margin-bottom: 20px;
335
+ }
336
+ .JackpotDetailsPopup.Tablet .JackpotInfoItem,
337
+ .JackpotDetailsPopup.Desktop .JackpotInfoItem {
338
+ font-size: 16px;
339
+ line-height: 20px;
340
+ }
341
+ .JackpotDetailsPopup.Tablet .JackpotIsWon,
342
+ .JackpotDetailsPopup.Desktop .JackpotIsWon {
343
+ font-size: 14px;
344
+ line-height: 17px;
345
+ }
346
+ .JackpotDetailsPopup.Tablet .JackpotGamesList,
347
+ .JackpotDetailsPopup.Desktop .JackpotGamesList {
348
+ gap: 12px;
349
+ }
350
+ .JackpotDetailsPopup.Tablet .JackpotGamesList .JackpotGamesListItem,
351
+ .JackpotDetailsPopup.Desktop .JackpotGamesList .JackpotGamesListItem {
352
+ width: calc(20% - 10px);
353
+ }
354
+ .JackpotDetailsPopup.Tablet .JackpotDetailsTabs .JackpotDetailsTab,
355
+ .JackpotDetailsPopup.Desktop .JackpotDetailsTabs .JackpotDetailsTab {
356
+ font-size: 16px;
357
+ line-height: 20px;
358
+ }