@everymatrix/casino-lobby 0.0.273 → 0.0.276

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
@@ -36,7 +36,6 @@ These components can also be used on their own, and they still can communicate t
36
36
 
37
37
  ### A business driven widget
38
38
  This widget encapsulates knowledge and features of a world leading casino product which we developed and improved continuously for several years now. This means that every feature is designed in order to make the casino widget profitable, competitive and attractive both for our integrators and their clients.
39
-
40
39
  The casino lobby widget has the core functionality and features in place with even more to come and to improve upon. It is our commitment that we will treat this product with utmost importance and priority and that we will continuously add and develop new versions with state-of-the-art market features.
41
40
  ---
42
41
 
@@ -158,10 +157,11 @@ Full example (`not logged in user`):
158
157
  |depositurl|no|The URL where the user should be redirected when the `Deposit` button is clicked|
159
158
  |depositevent|no|The `postMessage` event that should be triggered when the `Deposit` button is clicked|
160
159
  |favorites|no|Provides the option to show/hide the `Favorites` tab in categories slider. Default: true|
161
- |mostplayed|no|Provides the option to show/hide the `Most Played Games` tab in categories slider. Default: true|
162
- |alternativesearch|no|Provides the option to show the searchbar, in mobile view, at the top of the screen. Default: false|
160
+ |mostplayed|no|Provides the option to show/hide the `Most Played Games` tab in categories slider. Default: 'true'|
161
+ |alternativesearch|no|Provides the option to show the searchbar, in mobile view, at the top of the screen. Default: 'false'|
163
162
  |clockformat|no|The clock format for the game page - more details here - https://momentjs.com/docs/#/displaying/format/. Default: 'LTS'|
164
163
  |visiblegames|no|Provides the option to set the number of games that is to be displayed on `Casino Lobby` for each category. The default is set to 10 games.
164
+ |integratedgameframe|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'|
165
165
 
166
166
  ## Releases
167
167
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-lobby",
3
- "version": "0.0.273",
3
+ "version": "0.0.276",
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": "64e123e6fa8a75c569b58741b32113413ad65748"
39
+ "gitHead": "ec7626d4a812ba6dab87966c1468ea44a9a4ea9d"
40
40
  }
@@ -8,7 +8,7 @@
8
8
  import '@everymatrix/casino-categories-slider';
9
9
  import '@everymatrix/casino-page';
10
10
  import '@everymatrix/casino-modal';
11
- import '@everymatrix/casino-game-page';
11
+ import '@everymatrix/casino-game-page-2';
12
12
  import '@everymatrix/casino-filter-modal';
13
13
  import '@everymatrix/casino-filter-page';
14
14
  import '@everymatrix/casino-integrated-game-page';
@@ -69,7 +69,6 @@
69
69
  let customStylingContainer:HTMLElement;
70
70
  let mostPlayed;
71
71
  let fav;
72
- let showIntegratedGameFrame:boolean = false;
73
72
 
74
73
  setupI18n({ withLocale: 'en', translations: {}});
75
74
 
@@ -95,10 +94,6 @@
95
94
  case 'CategoryChange':
96
95
  activecategory = e.data.itemId;
97
96
  break;
98
-
99
- case 'OpenIntegratedGameFrame':
100
- showIntegratedGameFrame = true;
101
- break;
102
97
  }
103
98
  }
104
99
  }
@@ -133,6 +128,7 @@
133
128
  }
134
129
 
135
130
  const initialSetup = ():void => {
131
+
136
132
  checkAttrs();
137
133
  setLocale(lang);
138
134
  endpointURL = endpoint;
@@ -248,54 +244,34 @@
248
244
  {livecasino}
249
245
  {currency}
250
246
  ></casino-page>
251
- {#if showIntegratedGameFrame}
252
- <casino-integrated-game-page
247
+ {#if gamemodal == 'true'}
248
+ <casino-modal
253
249
  session={session}
254
250
  userid={userid}
255
251
  endpoint={endpointURL}
256
252
  datasource={DS}
257
253
  lang={language}
258
- loginevent={loginevent}
259
- registerevent={registerevent}
260
- depositevent={depositevent}
261
- {playforfun}
262
- {favorites}
263
254
  {clientstyling}
264
255
  {clientstylingurl}
265
- {clockformat}
266
- {haspanicbutton}
267
- {currency}
268
- ></casino-integrated-game-page>
269
- {:else}
270
- {#if gamemodal == 'true'}
271
- <casino-modal
256
+ ><casino-game-page-2
272
257
  session={session}
273
258
  userid={userid}
274
259
  endpoint={endpointURL}
275
260
  datasource={DS}
276
261
  lang={language}
262
+ loginevent={loginevent}
263
+ registerevent={registerevent}
264
+ depositevent={depositevent}
265
+ {playforfun}
266
+ {favorites}
277
267
  {clientstyling}
278
268
  {clientstylingurl}
279
- ><casino-game-page
280
- session={session}
281
- userid={userid}
282
- endpoint={endpointURL}
283
- datasource={DS}
284
- lang={language}
285
- loginevent={loginevent}
286
- registerevent={registerevent}
287
- depositevent={depositevent}
288
- {playforfun}
289
- {favorites}
290
- {clientstyling}
291
- {clientstylingurl}
292
- {clockformat}
293
- {haspanicbutton}
294
- {currency}
295
- {integratedgameframe}
296
- />
297
- </casino-modal>
298
- {/if}
269
+ {clockformat}
270
+ {haspanicbutton}
271
+ {currency}
272
+ {integratedgameframe}
273
+ />
274
+ </casino-modal>
299
275
  {/if}
300
276
  <casino-filter-modal
301
277
  {clientstylingurl}