@everymatrix/casino-lobby 1.5.6 → 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/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
@@ -29,6 +29,7 @@
29
29
  mostplayedrounds="1"
30
30
  lastplayed="true"
31
31
  lastplayedperiod="Today"
32
+ mostplayedperiod="Today"
32
33
  lobbyid="casino"
33
34
  clockformat="LTS"
34
35
  containermaxwidth="1300"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-lobby",
3
- "version": "1.5.6",
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": "18b817f66a008871bf85a5a004a749dca5111add"
39
+ "gitHead": "b405cf7bcce97b06567550e59f40f2d310be97af"
40
40
  }
@@ -34,10 +34,6 @@
34
34
  export let registerevent:string = '';
35
35
  export let depositevent:string = '';
36
36
 
37
- export let mostplayed:string = '';
38
- export let mostplayedrounds:string = '';
39
- export let lastplayed:string = 'false';
40
- export let lastplayedperiod:string = 'Last30Days';
41
37
  export let favorites:string = '';
42
38
 
43
39
  export let desktopoffset:string = '0';
@@ -88,10 +84,23 @@
88
84
  export let collectionprovidersgamenames:string = '';
89
85
  //Casino Calendar
90
86
  export let positioncasinocalendar = '';
87
+ //Casino My Games
88
+ export let lastplayedperiod:string = 'Last30Days';
89
+ export let mostplayedperiod:string = 'Last30Days';
90
+ export let lastplayedorder:string = '';
91
+ export let lastplayedlimit:string = '';
92
+ export let lastplayedunique: string = 'true';
93
+ export let mostplayed:string = '';
94
+ export let mostplayedrounds:string = '';
95
+ export let lastplayed:string = 'false';
91
96
 
92
97
  // Button icon for random game widget
93
98
  export let randombuttonicon:string = '';
94
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 = '';
95
104
 
96
105
  let casinomygames:string = 'false';
97
106
 
@@ -286,10 +295,6 @@
286
295
  {activecategory}
287
296
  {alternativesearch}
288
297
  {favorites}
289
- {mostplayedrounds}
290
- {mostplayed}
291
- {lastplayed}
292
- {lastplayedperiod}
293
298
  {clientstyling}
294
299
  {clientstylingurl}
295
300
  {lobbyid}
@@ -328,9 +333,21 @@
328
333
  {positioncollections}
329
334
  {type}
330
335
  {titletype}
331
- {showsubgroups}
332
336
  {casinomygames}
333
- ></casino-page>
337
+ {filterbylogo}
338
+ {addfilterselector}
339
+ {addsortingselector}
340
+ {lastplayedunique}
341
+ {lastplayedlimit}
342
+ {lastplayedorder}
343
+ {mostplayedrounds}
344
+ {mostplayed}
345
+ {lastplayed}
346
+ {lastplayedperiod}
347
+ {mostplayedperiod}
348
+ {showsubgroups}
349
+ {winnersdatasources}>
350
+ </casino-page>
334
351
  {#if gamemodal == 'true'}
335
352
  <casino-modal
336
353
  session={sessionID}
@@ -367,25 +384,6 @@
367
384
  />
368
385
  </casino-modal>
369
386
  {/if}
370
- <casino-filter-modal
371
- {clientstylingurl}
372
- {clientstyling}
373
- session={sessionID}
374
- userid={userid}
375
- endpoint={endpointURL}
376
- datasource={DS}
377
- lang={language}
378
- sessioncheck="false">
379
- <casino-filter-page
380
- {clientstyling}
381
- {clientstylingurl}
382
- session={sessionID}
383
- userid={userid}
384
- endpoint={endpointURL}
385
- datasource={DS}
386
- lang={language}>
387
- </casino-filter-page>
388
- </casino-filter-modal>
389
387
  </div>
390
388
  </div>
391
389
  {/if}
@@ -408,7 +406,6 @@
408
406
  width: 100%;
409
407
  margin: 0 auto;
410
408
  min-height: 100vh;
411
- /*padding: 0 1em;*/
412
409
  }
413
410
 
414
411
  .DisplayNone {