@everymatrix/casino-lobby 1.6.0 → 1.7.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-lobby.js +3 -3
- package/dist/casino-lobby.js.map +1 -1
- package/documentation.md +3 -0
- package/index.html +1 -0
- package/package.json +2 -2
- package/src/CasinoLobby.svelte +12 -22
package/documentation.md
CHANGED
|
@@ -165,6 +165,9 @@ Full example (`not logged in user`):
|
|
|
165
165
|
|integratedgameframemobile|no|Changes the way that the game iframe opens on mobile devices - instead of opening the iframe in a new tab, it opens it inside the the widget, thus giving the client control over the styling and giving him the option to display banners alongside the game. Default: 'false'|
|
|
166
166
|
|gamebanneractive|no|When opening the game page, if the `gamebanneractive` is set to 'true', below the game a banner will be shown. This feature requires `integratedgameframedesktop` or `integratedgameframemobile` to be set to 'true'. Default: 'false'|
|
|
167
167
|
|gamepagemodalurl|no|When opening the game page on mobile, if the `gamepagemodalurl` is set to 'true', the game page will open in a modal with a unique id, adding to the URL the game id. Make sure that the `gamemodal` is also set to 'true', else it will not open the game modal on mobile. Default: 'false'|
|
|
168
|
+
|addfilterselector|no|Adds a select element for the filtering dropdown for the games for each category. Default: 'true'|
|
|
169
|
+
|addsortingselector|no|Adds a select element for the sorting dropdown - to be implemented. Default: 'false'|
|
|
170
|
+
|filterbylogo|no|Switches the names of the game vendors with their logos for the filters from the filters list. Default: 'false'|
|
|
168
171
|
|
|
169
172
|
## Releases
|
|
170
173
|
|
package/index.html
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/casino-lobby",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"main": "dist/casino-lobby.js",
|
|
5
5
|
"svelte": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "b405cf7bcce97b06567550e59f40f2d310be97af"
|
|
40
40
|
}
|
package/src/CasinoLobby.svelte
CHANGED
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
export let positioncasinocalendar = '';
|
|
87
87
|
//Casino My Games
|
|
88
88
|
export let lastplayedperiod:string = 'Last30Days';
|
|
89
|
+
export let mostplayedperiod:string = 'Last30Days';
|
|
89
90
|
export let lastplayedorder:string = '';
|
|
90
91
|
export let lastplayedlimit:string = '';
|
|
91
92
|
export let lastplayedunique: string = 'true';
|
|
@@ -96,6 +97,10 @@
|
|
|
96
97
|
// Button icon for random game widget
|
|
97
98
|
export let randombuttonicon:string = '';
|
|
98
99
|
export let filteredrandomgamecategories:string = '';
|
|
100
|
+
export let addfilterselector:string = 'false';
|
|
101
|
+
export let addsortingselector:string = 'false';
|
|
102
|
+
export let filterbylogo:string = 'false';
|
|
103
|
+
export let winnersdatasources:string = '';
|
|
99
104
|
|
|
100
105
|
let casinomygames:string = 'false';
|
|
101
106
|
|
|
@@ -329,15 +334,20 @@
|
|
|
329
334
|
{type}
|
|
330
335
|
{titletype}
|
|
331
336
|
{casinomygames}
|
|
337
|
+
{filterbylogo}
|
|
338
|
+
{addfilterselector}
|
|
339
|
+
{addsortingselector}
|
|
332
340
|
{lastplayedunique}
|
|
333
341
|
{lastplayedlimit}
|
|
334
342
|
{lastplayedorder}
|
|
335
343
|
{mostplayedrounds}
|
|
336
344
|
{mostplayed}
|
|
337
345
|
{lastplayed}
|
|
338
|
-
{lastplayedperiod}
|
|
346
|
+
{lastplayedperiod}
|
|
347
|
+
{mostplayedperiod}
|
|
339
348
|
{showsubgroups}
|
|
340
|
-
|
|
349
|
+
{winnersdatasources}>
|
|
350
|
+
</casino-page>
|
|
341
351
|
{#if gamemodal == 'true'}
|
|
342
352
|
<casino-modal
|
|
343
353
|
session={sessionID}
|
|
@@ -374,25 +384,6 @@
|
|
|
374
384
|
/>
|
|
375
385
|
</casino-modal>
|
|
376
386
|
{/if}
|
|
377
|
-
<casino-filter-modal
|
|
378
|
-
{clientstylingurl}
|
|
379
|
-
{clientstyling}
|
|
380
|
-
session={sessionID}
|
|
381
|
-
userid={userid}
|
|
382
|
-
endpoint={endpointURL}
|
|
383
|
-
datasource={DS}
|
|
384
|
-
lang={language}
|
|
385
|
-
sessioncheck="false">
|
|
386
|
-
<casino-filter-page
|
|
387
|
-
{clientstyling}
|
|
388
|
-
{clientstylingurl}
|
|
389
|
-
session={sessionID}
|
|
390
|
-
userid={userid}
|
|
391
|
-
endpoint={endpointURL}
|
|
392
|
-
datasource={DS}
|
|
393
|
-
lang={language}>
|
|
394
|
-
</casino-filter-page>
|
|
395
|
-
</casino-filter-modal>
|
|
396
387
|
</div>
|
|
397
388
|
</div>
|
|
398
389
|
{/if}
|
|
@@ -415,7 +406,6 @@
|
|
|
415
406
|
width: 100%;
|
|
416
407
|
margin: 0 auto;
|
|
417
408
|
min-height: 100vh;
|
|
418
|
-
/*padding: 0 1em;*/
|
|
419
409
|
}
|
|
420
410
|
|
|
421
411
|
.DisplayNone {
|