@everymatrix/casino-play-random-game 1.32.4 → 1.33.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 (48) hide show
  1. package/dist/casino-play-random-game/casino-play-random-game.esm.js +1 -0
  2. package/dist/casino-play-random-game/index.esm.js +0 -0
  3. package/dist/casino-play-random-game/p-0f38b3f8.js +1 -0
  4. package/dist/casino-play-random-game/p-51fa7686.entry.js +1 -0
  5. package/dist/cjs/casino-play-random-game.cjs.entry.js +360 -0
  6. package/dist/cjs/casino-play-random-game.cjs.js +19 -0
  7. package/dist/cjs/index-8944e204.js +1247 -0
  8. package/dist/cjs/index.cjs.js +2 -0
  9. package/dist/cjs/loader.cjs.js +21 -0
  10. package/dist/collection/collection-manifest.json +12 -0
  11. package/dist/collection/components/casino-play-random-game/casino-play-random-game.css +347 -0
  12. package/dist/collection/components/casino-play-random-game/casino-play-random-game.js +473 -0
  13. package/dist/collection/index.js +1 -0
  14. package/dist/collection/utils/locale.utils.js +73 -0
  15. package/dist/collection/utils/utils.js +27 -0
  16. package/dist/components/casino-play-random-game.d.ts +11 -0
  17. package/dist/components/casino-play-random-game.js +392 -0
  18. package/dist/components/index.d.ts +26 -0
  19. package/dist/components/index.js +1 -0
  20. package/dist/esm/casino-play-random-game.entry.js +356 -0
  21. package/dist/esm/casino-play-random-game.js +17 -0
  22. package/dist/esm/index-58563736.js +1221 -0
  23. package/dist/esm/index.js +1 -0
  24. package/dist/esm/loader.js +17 -0
  25. package/dist/esm/polyfills/core-js.js +11 -0
  26. package/dist/esm/polyfills/css-shim.js +1 -0
  27. package/dist/esm/polyfills/dom.js +79 -0
  28. package/dist/esm/polyfills/es5-html-element.js +1 -0
  29. package/dist/esm/polyfills/index.js +34 -0
  30. package/dist/esm/polyfills/system.js +6 -0
  31. package/dist/index.cjs.js +1 -0
  32. package/dist/index.js +1 -0
  33. package/dist/stencil.config.js +22 -0
  34. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/casino-play-random-game/.stencil/packages/casino-play-random-game/stencil.config.d.ts +2 -0
  35. package/dist/types/components/casino-play-random-game/casino-play-random-game.d.ts +73 -0
  36. package/dist/types/components.d.ts +117 -0
  37. package/dist/types/index.d.ts +1 -0
  38. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  39. package/dist/types/utils/locale.utils.d.ts +6 -0
  40. package/dist/types/utils/utils.d.ts +2 -0
  41. package/loader/cdn.js +3 -0
  42. package/loader/index.cjs.js +3 -0
  43. package/loader/index.d.ts +12 -0
  44. package/loader/index.es2017.js +3 -0
  45. package/loader/index.js +4 -0
  46. package/loader/package.json +10 -0
  47. package/package.json +2 -3
  48. package/LICENSE +0 -21
@@ -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-8944e204.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-play-random-game.cjs",[[1,"casino-play-random-game",{"endpoint":[513],"datasource":[513],"language":[513],"specificCategory":[513,"specific-category"],"iconVisible":[513,"icon-visible"],"iconVisibleOnAnim":[513,"icon-visible-on-anim"],"launchByGameCard":[513,"launch-by-game-card"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"hasErrors":[32],"limitStylingAppends":[32],"isLoading":[32],"gamesToShow":[32],"selectedGame":[32],"animationDone":[32],"animationStarted":[32]}]]]], options);
18
+ });
19
+ };
20
+
21
+ exports.defineCustomElements = defineCustomElements;
@@ -0,0 +1,12 @@
1
+ {
2
+ "entries": [
3
+ "./components/casino-play-random-game/casino-play-random-game.js"
4
+ ],
5
+ "compiler": {
6
+ "name": "@stencil/core",
7
+ "version": "2.15.2",
8
+ "typescriptVersion": "4.5.4"
9
+ },
10
+ "collections": [],
11
+ "bundles": []
12
+ }
@@ -0,0 +1,347 @@
1
+ :host {
2
+ display: block;
3
+ font-family: inherit;
4
+ }
5
+
6
+ .RandomGameWrapper {
7
+ width: 100%;
8
+ overflow: hidden;
9
+ background: transparent;
10
+ position: relative;
11
+ }
12
+
13
+ .GameContainerGradient {
14
+ position: absolute;
15
+ top: 0;
16
+ left: 0;
17
+ width: 100vw;
18
+ height: 100%;
19
+ background: linear-gradient(90deg, var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A)) 0%, rgba(7, 7, 42, 0.5) 25%, rgba(7, 7, 42, 0) 50%, rgba(7, 7, 42, 0.5) 75%, var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A)) 100%);
20
+ pointer-events: none;
21
+ z-index: 1;
22
+ }
23
+
24
+ .GamesContainer {
25
+ display: flex;
26
+ height: 330px;
27
+ flex-direction: row;
28
+ flex-wrap: nowrap;
29
+ justify-content: flex-start;
30
+ align-items: center;
31
+ align-content: flex-start;
32
+ gap: 20px;
33
+ }
34
+
35
+ .RandomGameCard {
36
+ position: relative;
37
+ width: 256px;
38
+ height: 170px;
39
+ border-radius: 5px;
40
+ filter: blur(5px);
41
+ }
42
+ .RandomGameCard .RandomGameVendor {
43
+ position: absolute;
44
+ font-size: 12px;
45
+ bottom: 10px;
46
+ left: 10px;
47
+ color: var(--emfe-w-color-white, #FFFFFF);
48
+ }
49
+
50
+ .TheRandomGame {
51
+ animation-name: ZoomFadeIn;
52
+ animation-duration: 0.5s;
53
+ animation-fill-mode: forwards;
54
+ -webkit-animation-name: ZoomFadeIn;
55
+ -webkit-animation-duration: 0.5s;
56
+ -webkit-animation-fill-mode: forwards;
57
+ opacity: 1;
58
+ cursor: pointer;
59
+ filter: blur(0);
60
+ }
61
+
62
+ .RandomGameImage {
63
+ width: 256px;
64
+ height: 170px;
65
+ }
66
+
67
+ .RandomGameDetails {
68
+ display: flex;
69
+ flex-direction: row;
70
+ justify-content: space-between;
71
+ align-items: center;
72
+ color: var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));
73
+ font-size: 14px;
74
+ width: 100%;
75
+ }
76
+ .RandomGameDetails .RandomGameTitle {
77
+ line-height: 18px;
78
+ }
79
+ .RandomGameDetails .RandomGameInfo {
80
+ border-radius: 50%;
81
+ width: 16px;
82
+ height: 16px;
83
+ font-size: 12px;
84
+ font-weight: 400;
85
+ border: solid 1px var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));
86
+ text-align: center;
87
+ margin: 4px 0;
88
+ line-height: 14px;
89
+ cursor: pointer;
90
+ }
91
+ .RandomGameDetails .RandomGamePlay {
92
+ background: var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));
93
+ color: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));
94
+ border: none;
95
+ border-radius: 5px;
96
+ width: 200px;
97
+ height: 40px;
98
+ font-size: 14px;
99
+ cursor: pointer;
100
+ }
101
+
102
+ .ButtonWrapper {
103
+ position: absolute;
104
+ top: 50%;
105
+ left: 50%;
106
+ transform: translate(-50%, -50%);
107
+ }
108
+
109
+ .ButtonContainer {
110
+ display: flex;
111
+ flex-direction: column;
112
+ justify-content: center;
113
+ align-items: center;
114
+ gap: 10px;
115
+ width: 100%;
116
+ }
117
+
118
+ .ButtonIcon {
119
+ display: flex;
120
+ flex-direction: column;
121
+ justify-content: center;
122
+ align-items: center;
123
+ gap: 5px;
124
+ }
125
+
126
+ .QustionMark {
127
+ position: relative;
128
+ font-size: 80px;
129
+ font-weight: 700;
130
+ color: var(--emfe-w-color-white, #FFFFFF);
131
+ z-index: 5;
132
+ bottom: 20px;
133
+ text-shadow: 0px 4px 0px var(--emfe-w-color-black, #000000);
134
+ }
135
+
136
+ .HexagonMark {
137
+ position: absolute;
138
+ width: 70px;
139
+ height: 85px;
140
+ background: linear-gradient(90deg, var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) 0%, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)) 100%);
141
+ clip-path: polygon(50% 0, 100% 30%, 100% 70%, 50% 100%, 0% 70%, 0% 30%);
142
+ }
143
+
144
+ .HexagonMarkBorder {
145
+ position: relative;
146
+ display: flex;
147
+ justify-content: center;
148
+ align-items: center;
149
+ top: 5px;
150
+ left: 5px;
151
+ width: 60px;
152
+ height: 75px;
153
+ background: linear-gradient(180deg, var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) 0%, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)) 100%);
154
+ clip-path: polygon(50% 0, 100% 30%, 100% 70%, 50% 100%, 0% 70%, 0% 30%);
155
+ }
156
+
157
+ .RandomButtons {
158
+ display: flex;
159
+ flex-direction: row;
160
+ justify-content: center;
161
+ align-items: center;
162
+ gap: 5px;
163
+ width: 100%;
164
+ }
165
+
166
+ .RandomButton {
167
+ font-size: 18px;
168
+ text-transform: uppercase;
169
+ width: max-content;
170
+ border-radius: 5px;
171
+ padding: 5px 25px;
172
+ border: solid 3px var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));
173
+ color: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));
174
+ opacity: 1;
175
+ text-shadow: 1px 1px 2px var(--emfe-w-color-black, #000000);
176
+ animation: ButtonEffect 3s linear infinite;
177
+ background-image: linear-gradient(to right, var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)), var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)));
178
+ background-size: 300% 100%;
179
+ cursor: pointer;
180
+ }
181
+ .RandomButton:hover {
182
+ opacity: 0.8;
183
+ }
184
+
185
+ .HideAnimation {
186
+ filter: blur(5px);
187
+ animation: AnimateButton 0.2s forwards;
188
+ }
189
+
190
+ .Flip {
191
+ animation-name: Flip, Blur;
192
+ animation-duration: 0.75s, 3s;
193
+ animation-iteration-count: infinite, 1;
194
+ -webkit-animation-name: Flip, Blur;
195
+ -webkit-animation-duration: 0.75s, 3s;
196
+ -webkit-animation-iteration-count: infinite, 1;
197
+ }
198
+
199
+ @keyframes ButtonEffect {
200
+ 0% {
201
+ background-position: 0% 50%;
202
+ }
203
+ 33% {
204
+ background-position: 100% 50%;
205
+ }
206
+ 66% {
207
+ background-position: 200% 50%;
208
+ }
209
+ 100% {
210
+ background-position: 300% 50%;
211
+ }
212
+ }
213
+ @keyframes ZoomFadeIn {
214
+ 0% {
215
+ transform: scale(0.2) translateY(0);
216
+ filter: blur(5px);
217
+ opacity: 0.3;
218
+ }
219
+ 50% {
220
+ transform: scale(1.1) translateY(-30px);
221
+ filter: blur(2px);
222
+ opacity: 0.7;
223
+ }
224
+ 100% {
225
+ transform: scale(1) translateY(-30px);
226
+ filter: blur(0px);
227
+ opacity: 1;
228
+ }
229
+ }
230
+ @keyframes AnimateButton {
231
+ 0% {
232
+ opacity: 0.7;
233
+ }
234
+ 50% {
235
+ opacity: 0.4;
236
+ }
237
+ 100% {
238
+ opacity: 0;
239
+ display: none;
240
+ }
241
+ }
242
+ @keyframes Flip {
243
+ 0% {
244
+ transform: rotateY(0deg);
245
+ }
246
+ 50% {
247
+ transform: rotateY(180deg);
248
+ }
249
+ 100% {
250
+ transform: rotateY(360deg);
251
+ }
252
+ }
253
+ @keyframes Blur {
254
+ 0% {
255
+ filter: blur(0);
256
+ }
257
+ 50% {
258
+ filter: blur(1px);
259
+ }
260
+ 100% {
261
+ filter: blur(3px);
262
+ }
263
+ }
264
+ @container (max-width: 475px) {
265
+ .GameContainerGradient {
266
+ position: absolute;
267
+ top: 0;
268
+ left: 0;
269
+ width: 100vw;
270
+ height: 100%;
271
+ background: linear-gradient(90deg, var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A)) 0%, rgba(7, 7, 42, 0.2) 25%, rgba(7, 7, 42, 0) 50%, rgba(7, 7, 42, 0.2) 75%, var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A)) 100%);
272
+ pointer-events: none;
273
+ z-index: 1;
274
+ }
275
+
276
+ .RandomGameCard {
277
+ width: 102px;
278
+ height: 146px;
279
+ border-radius: 5px;
280
+ filter: blur(5px);
281
+ }
282
+
283
+ .RandomGameImage {
284
+ width: 102px;
285
+ height: 146px;
286
+ }
287
+
288
+ .RandomGameDetails {
289
+ font-size: 14px;
290
+ width: 100%;
291
+ }
292
+ .RandomGameDetails .RandomGameTitle {
293
+ line-height: 18px;
294
+ width: 75%;
295
+ }
296
+ .RandomGameDetails .RandomGameInfo {
297
+ border-radius: 50%;
298
+ width: 16px;
299
+ height: 16px;
300
+ font-size: 12px;
301
+ line-height: 14px;
302
+ }
303
+ .RandomGameDetails .RandomGamePlay {
304
+ background: var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));
305
+ color: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));
306
+ border: none;
307
+ border-radius: 5px;
308
+ width: 200px;
309
+ height: 40px;
310
+ font-size: 14px;
311
+ cursor: pointer;
312
+ }
313
+
314
+ .RandomGameCard .RandomGameVendor {
315
+ font-size: 12px;
316
+ bottom: 5px;
317
+ right: 5px;
318
+ }
319
+
320
+ .RandomButtons {
321
+ display: flex;
322
+ flex-direction: column;
323
+ justify-content: center;
324
+ align-items: center;
325
+ gap: 5px;
326
+ width: 100%;
327
+ }
328
+
329
+ .RandomButton {
330
+ font-size: 18px;
331
+ text-transform: uppercase;
332
+ width: max-content;
333
+ border-radius: 5px;
334
+ padding: 5px 25px;
335
+ border: solid 3px var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));
336
+ color: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));
337
+ opacity: 1;
338
+ text-shadow: 1px 1px 2px var(--emfe-w-color-black, #000000);
339
+ animation: ButtonEffect 3s linear infinite;
340
+ background-image: linear-gradient(to right, var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)), var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)));
341
+ background-size: 300% 100%;
342
+ cursor: pointer;
343
+ }
344
+ .RandomButton:hover {
345
+ opacity: 0.8;
346
+ }
347
+ }