@everymatrix/casino-play-random-game 1.0.69

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 (44) 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-0f177dd3.entry.js +1 -0
  4. package/dist/casino-play-random-game/p-d2e799c3.js +2 -0
  5. package/dist/casino-play-random-game/p-e1255160.js +1 -0
  6. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  7. package/dist/cjs/casino-play-random-game.cjs.entry.js +330 -0
  8. package/dist/cjs/casino-play-random-game.cjs.js +25 -0
  9. package/dist/cjs/index-4cc20a8d.js +1217 -0
  10. package/dist/cjs/index.cjs.js +2 -0
  11. package/dist/cjs/loader.cjs.js +15 -0
  12. package/dist/collection/collection-manifest.json +12 -0
  13. package/dist/collection/components/casino-play-random-game/casino-play-random-game.css +363 -0
  14. package/dist/collection/components/casino-play-random-game/casino-play-random-game.js +448 -0
  15. package/dist/collection/components/casino-play-random-game/index.js +1 -0
  16. package/dist/collection/index.js +1 -0
  17. package/dist/collection/utils/locale.utils.js +73 -0
  18. package/dist/collection/utils/utils.js +27 -0
  19. package/dist/esm/app-globals-0f993ce5.js +3 -0
  20. package/dist/esm/casino-play-random-game.entry.js +326 -0
  21. package/dist/esm/casino-play-random-game.js +20 -0
  22. package/dist/esm/index-7666b794.js +1190 -0
  23. package/dist/esm/index.js +1 -0
  24. package/dist/esm/loader.js +11 -0
  25. package/dist/index.cjs.js +1 -0
  26. package/dist/index.js +1 -0
  27. package/dist/stencil.config.dev.js +17 -0
  28. package/dist/stencil.config.js +17 -0
  29. package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/casino-play-random-game/.stencil/packages/stencil/casino-play-random-game/stencil.config.d.ts +2 -0
  30. package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/casino-play-random-game/.stencil/packages/stencil/casino-play-random-game/stencil.config.dev.d.ts +2 -0
  31. package/dist/types/components/casino-play-random-game/casino-play-random-game.d.ts +74 -0
  32. package/dist/types/components/casino-play-random-game/index.d.ts +1 -0
  33. package/dist/types/components.d.ts +117 -0
  34. package/dist/types/index.d.ts +1 -0
  35. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  36. package/dist/types/utils/locale.utils.d.ts +6 -0
  37. package/dist/types/utils/utils.d.ts +2 -0
  38. package/loader/cdn.js +1 -0
  39. package/loader/index.cjs.js +1 -0
  40. package/loader/index.d.ts +24 -0
  41. package/loader/index.es2017.js +1 -0
  42. package/loader/index.js +2 -0
  43. package/loader/package.json +11 -0
  44. package/package.json +26 -0
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-4cc20a8d.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-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]},null,{"endpoint":["watchEndpoint"],"datasource":["watchEndpoint"],"language":["watchEndpoint"],"translationUrl":["handleNewTranslations"],"iconVisible":["handleIsIconVisible"]}]]]], options);
12
+ };
13
+
14
+ exports.setNonce = index.setNonce;
15
+ 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": "4.20.0",
8
+ "typescriptVersion": "5.5.3"
9
+ },
10
+ "collections": [],
11
+ "bundles": []
12
+ }
@@ -0,0 +1,363 @@
1
+ :host {
2
+ display: block;
3
+ font-family: inherit;
4
+ }
5
+
6
+ .RandomGameWrapper {
7
+ width: 100%;
8
+ height: var(--emw--size-4x-medium, 700px);
9
+ background: transparent;
10
+ position: relative;
11
+ }
12
+
13
+ .GameContainerGradient {
14
+ position: absolute;
15
+ top: 10%;
16
+ left: -5px;
17
+ width: 100vw;
18
+ height: 80%;
19
+ background: linear-gradient(90deg, var(--emw--color-background, rgba(0, 0, 0, 0.9)) 0%, rgba(14, 21, 17, 0.5) 25%, rgba(14, 21, 17, 0) 50%, rgba(14, 21, 16, 0.5) 75%, var(--emw--color-background, rgba(10, 0, 0, 0.9)) 100%);
20
+ pointer-events: none;
21
+ z-index: 1;
22
+ filter: blur(10px);
23
+ }
24
+
25
+ .GamesContainer {
26
+ display: flex;
27
+ height: var(--emw--size-4x-medium, 600px);
28
+ flex-direction: row;
29
+ flex-wrap: nowrap;
30
+ justify-content: flex-start;
31
+ align-items: center;
32
+ align-content: flex-start;
33
+ gap: var(--emw--spacing-large, 20px);
34
+ }
35
+
36
+ .RandomGameCard {
37
+ position: relative;
38
+ width: var(--emw--size-3x-medium, 300px);
39
+ height: var(--emw--size-4x-medium, 420px);
40
+ border-radius: var(--emw--border-radius-large, 20px);
41
+ top: 8%;
42
+ filter: blur(5px);
43
+ }
44
+ .RandomGameCard .RandomGameVendor {
45
+ position: absolute;
46
+ font-size: var(--emw--font-size-x-small, 12px);
47
+ bottom: var(--emw--spacing-small-minus, 10px);
48
+ left: var(--emw--spacing-small-minus, 10px);
49
+ color: var(--emw--color-typography, #FFFFFF);
50
+ }
51
+
52
+ .TheRandomGame {
53
+ animation-name: ZoomFadeIn;
54
+ animation-duration: 0.5s;
55
+ animation-fill-mode: forwards;
56
+ -webkit-animation-name: ZoomFadeIn;
57
+ -webkit-animation-duration: 0.5s;
58
+ -webkit-animation-fill-mode: forwards;
59
+ opacity: 1;
60
+ cursor: pointer;
61
+ filter: blur(0);
62
+ }
63
+
64
+ .RandomGameImage {
65
+ width: inherit;
66
+ height: inherit;
67
+ object-fit: cover;
68
+ border-radius: var(--emw--border-radius-large, 20px);
69
+ }
70
+
71
+ .RandomGameDetails {
72
+ display: flex;
73
+ flex-direction: row;
74
+ justify-content: space-between;
75
+ align-items: center;
76
+ color: var(--emw--color-typography, #FFFFFF);
77
+ font-size: var(--emw--font-size-small, 14px);
78
+ width: 100%;
79
+ }
80
+ .RandomGameDetails .RandomGameTitle {
81
+ line-height: 18px;
82
+ }
83
+ .RandomGameDetails .RandomGameInfo {
84
+ border-radius: 50%;
85
+ width: var(--emw--spacing-medium, 16px);
86
+ height: var(--emw--spacing-medium, 16px);
87
+ font-size: var(--emw--font-size-x-small, 12px);
88
+ font-weight: var(--emw--font-weight-normal, 400);
89
+ border: solid 1px var(--emw--color-typography, #FFFFFF);
90
+ text-align: center;
91
+ margin: var(--emw--spacing-2x-small, 4px) 0;
92
+ line-height: 14px;
93
+ cursor: pointer;
94
+ }
95
+ .RandomGameDetails .RandomGamePlay {
96
+ background: var(--emw--color-primary, #4bd004);
97
+ color: var(--emw--color-typography, #FFFFFF);
98
+ border: none;
99
+ border-radius: var(--emw--border-radius-medium, 5px);
100
+ width: 200px;
101
+ height: 40px;
102
+ font-size: var(--emw--font-size-small, 14px);
103
+ cursor: pointer;
104
+ }
105
+
106
+ .ButtonWrapper {
107
+ position: absolute;
108
+ top: 50%;
109
+ left: 50%;
110
+ transform: translate(-50%, -50%);
111
+ z-index: 100;
112
+ }
113
+
114
+ .ButtonContainer {
115
+ display: flex;
116
+ flex-direction: column;
117
+ justify-content: center;
118
+ align-items: center;
119
+ gap: 10px;
120
+ width: 100%;
121
+ position: relative;
122
+ }
123
+
124
+ .ButtonIcon {
125
+ display: flex;
126
+ flex-direction: column;
127
+ justify-content: center;
128
+ align-items: center;
129
+ gap: var(--emw--spacing-2x-small, 5px);
130
+ }
131
+
132
+ .QustionMark {
133
+ position: absolute;
134
+ font-family: sans-serif;
135
+ font-size: 120px;
136
+ font-weight: 900;
137
+ color: color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 10%);
138
+ text-shadow: 0px 12px 0px color-mix(in srgb, var(--emw--casino-color-secondary, var(--emw--color-secondary, #eeac4a)), black 50%);
139
+ left: 50%;
140
+ top: -20%;
141
+ transform: translateX(-50%);
142
+ z-index: 10;
143
+ }
144
+
145
+ .HexagonMarkShadow {
146
+ width: 100px;
147
+ height: 115px;
148
+ display: flex;
149
+ justify-content: center;
150
+ align-items: center;
151
+ background: color-mix(in srgb, var(--emw--casino-color-secondary, var(--emw--color-secondary, #eeac4a)), black 70%);
152
+ clip-path: polygon(50% 0, 100% 30%, 100% 70%, 50% 100%, 0% 70%, 0% 30%);
153
+ }
154
+
155
+ .HexagonMark {
156
+ position: absolute;
157
+ width: var(--emw--size-medium, 90px);
158
+ height: 105px;
159
+ background: linear-gradient(to bottom, color-mix(in srgb, var(--emw--casino-color-secondary, var(--emw--color-secondary, #eeac4a)), black 20%) 0%, var(--emw--categories-color-secondary, var(--emw--color-secondary, #eeac4a)) 100%);
160
+ clip-path: polygon(50% 0, 100% 30%, 100% 70%, 50% 100%, 0% 70%, 0% 30%);
161
+ }
162
+
163
+ .RandomButtons {
164
+ display: flex;
165
+ flex-direction: row;
166
+ justify-content: center;
167
+ align-items: center;
168
+ gap: var(--emw--spacing-2x-small, 5px);
169
+ width: 100%;
170
+ position: relative;
171
+ z-index: 10;
172
+ }
173
+
174
+ .RandomButton {
175
+ font-size: var(--emw--font-size-large, 20px);
176
+ text-transform: uppercase;
177
+ width: max-content;
178
+ border-radius: var(--emw--button-border-radius, 50px);
179
+ padding: var(--emw--spacing-large, 20px) var(--emw--spacing-2x-large, 40px);
180
+ border: solid 3px var(--emw--button-border-color, #063B17);
181
+ color: var(--emw--button-text-color, #FFFFFF);
182
+ opacity: 1;
183
+ animation: ButtonEffect 3s linear infinite;
184
+ background-image: linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E), black 30%), var(--emw--color-primary, #22B04E));
185
+ background-size: 300% 100%;
186
+ cursor: pointer;
187
+ position: relative;
188
+ z-index: 10;
189
+ }
190
+ .RandomButton:hover {
191
+ opacity: 0.8;
192
+ }
193
+
194
+ .HideAnimation {
195
+ filter: blur(5px);
196
+ animation: AnimateButton 0.2s forwards;
197
+ }
198
+
199
+ .Flip {
200
+ animation-name: Flip, Blur;
201
+ animation-duration: 0.75s, 3s;
202
+ animation-iteration-count: infinite, 1;
203
+ -webkit-animation-name: Flip, Blur;
204
+ -webkit-animation-duration: 0.75s, 3s;
205
+ -webkit-animation-iteration-count: infinite, 1;
206
+ }
207
+
208
+ @keyframes ButtonEffect {
209
+ 0% {
210
+ background-position: 0% 50%;
211
+ }
212
+ 33% {
213
+ background-position: 100% 50%;
214
+ }
215
+ 66% {
216
+ background-position: 200% 50%;
217
+ }
218
+ 100% {
219
+ background-position: 300% 50%;
220
+ }
221
+ }
222
+ @keyframes ZoomFadeIn {
223
+ 0% {
224
+ transform: scale(0.2) translateY(0);
225
+ filter: blur(5px);
226
+ opacity: 0.3;
227
+ }
228
+ 50% {
229
+ transform: scale(1.1) translateY(-30px);
230
+ filter: blur(2px);
231
+ opacity: 0.7;
232
+ }
233
+ 100% {
234
+ transform: scale(1) translateY(-30px);
235
+ filter: blur(0px);
236
+ opacity: 1;
237
+ }
238
+ }
239
+ @keyframes AnimateButton {
240
+ 0% {
241
+ opacity: 0.7;
242
+ }
243
+ 50% {
244
+ opacity: 0.4;
245
+ }
246
+ 100% {
247
+ opacity: 0;
248
+ display: none;
249
+ }
250
+ }
251
+ @keyframes Flip {
252
+ 0% {
253
+ transform: rotateY(0deg);
254
+ }
255
+ 50% {
256
+ transform: rotateY(180deg);
257
+ }
258
+ 100% {
259
+ transform: rotateY(360deg);
260
+ }
261
+ }
262
+ @keyframes Blur {
263
+ 0% {
264
+ filter: blur(0);
265
+ }
266
+ 50% {
267
+ filter: blur(1px);
268
+ }
269
+ 100% {
270
+ filter: blur(3px);
271
+ }
272
+ }
273
+ @container (max-width: 475px) {
274
+ .GamesContainer {
275
+ height: inherit;
276
+ gap: var(--emw--spacing-2x-small, 5px);
277
+ }
278
+ .RandomGameWrapper {
279
+ width: 100%;
280
+ height: 300px;
281
+ overflow: hidden;
282
+ background: transparent;
283
+ position: relative;
284
+ }
285
+ .GameContainerGradient {
286
+ position: absolute;
287
+ top: 10%;
288
+ left: -5px;
289
+ width: 100vw;
290
+ height: 80%;
291
+ background: linear-gradient(90deg, var(--emw--color-background, rgba(0, 0, 0, 0.9)) 0%, rgba(14, 21, 17, 0.2) 25%, rgba(14, 21, 17, 0) 50%, rgba(14, 21, 16, 0.2) 75%, var(--emw--color-background, rgba(10, 0, 0, 0.9)) 100%);
292
+ pointer-events: none;
293
+ z-index: 1;
294
+ filter: blur(5px);
295
+ }
296
+ .RandomGameCard {
297
+ width: 100px;
298
+ height: 150px;
299
+ top: 0%;
300
+ border-radius: var(--emw--border-radius-medium, 4px);
301
+ filter: blur(5px);
302
+ }
303
+ .RandomGameImage {
304
+ width: 102px;
305
+ height: inherit;
306
+ top: 0%;
307
+ }
308
+ .RandomGameDetails {
309
+ font-size: 14px;
310
+ width: 100%;
311
+ }
312
+ .RandomGameDetails .RandomGameTitle {
313
+ line-height: 18px;
314
+ width: 75%;
315
+ }
316
+ .RandomGameDetails .RandomGameInfo {
317
+ border-radius: 50%;
318
+ width: 16px;
319
+ height: 16px;
320
+ font-size: var(--emw--font-size-x-small, 12px);
321
+ line-height: 14px;
322
+ }
323
+ .RandomGameDetails .RandomGamePlay {
324
+ background: var(--emw--color-primary, #52d004);
325
+ color: var(--emw--color-typography, #FFFFFF);
326
+ border: none;
327
+ border-radius: 5px;
328
+ width: 200px;
329
+ height: 40px;
330
+ font-size: 14px;
331
+ cursor: pointer;
332
+ }
333
+ .RandomGameCard .RandomGameVendor {
334
+ font-size: var(--emw--font-size-x-small, 12px);
335
+ bottom: 5px;
336
+ right: 5px;
337
+ }
338
+ .RandomButtons {
339
+ display: flex;
340
+ flex-direction: column;
341
+ justify-content: center;
342
+ align-items: center;
343
+ gap: 5px;
344
+ width: 100%;
345
+ }
346
+ .RandomButton {
347
+ font-size: var(--emw--font-size-x-small, 12px);
348
+ padding: 10px 15px;
349
+ border: solid 1px var(--emw--button-border-color, #063B17);
350
+ }
351
+ .QustionMark {
352
+ font-size: 100px;
353
+ font-weight: 700;
354
+ }
355
+ .HexagonMarkShadow {
356
+ width: 80px;
357
+ height: 95px;
358
+ }
359
+ .HexagonMark {
360
+ width: 70px;
361
+ height: 85px;
362
+ }
363
+ }