@everymatrix/casino-engagement-suite-bar 1.53.0 → 1.53.10

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 (20) hide show
  1. package/dist/casino-engagement-suite-bar/casino-engagement-suite-bar.esm.js +1 -1
  2. package/dist/casino-engagement-suite-bar/p-23c87825.entry.js +1 -0
  3. package/dist/casino-engagement-suite-bar/p-deb8f00e.js +2 -0
  4. package/dist/cjs/casino-engagement-suite-bar.cjs.entry.js +43 -19
  5. package/dist/cjs/casino-engagement-suite-bar.cjs.js +2 -2
  6. package/dist/cjs/{index-e5bc7c81.js → index-587e7ea9.js} +162 -67
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/collection/collection-manifest.json +1 -1
  9. package/dist/collection/components/casino-engagement-suite-bar/casino-engagement-suite-bar.js +73 -19
  10. package/dist/esm/casino-engagement-suite-bar.entry.js +43 -19
  11. package/dist/esm/casino-engagement-suite-bar.js +3 -3
  12. package/dist/esm/{index-fa9a5454.js → index-fd88d82e.js} +162 -67
  13. package/dist/esm/loader.js +2 -2
  14. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/packages/stencil/casino-engagement-suite-bar/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/packages/stencil/casino-engagement-suite-bar/stencil.config.dev.d.ts +2 -0
  16. package/package.json +1 -1
  17. package/dist/casino-engagement-suite-bar/p-a7ca9798.entry.js +0 -1
  18. package/dist/casino-engagement-suite-bar/p-d14341cc.js +0 -2
  19. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/packages/stencil/casino-engagement-suite-bar/stencil.config.d.ts +0 -2
  20. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/packages/stencil/casino-engagement-suite-bar/stencil.config.dev.d.ts +0 -2
@@ -4,7 +4,7 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.22.3",
7
+ "version": "4.25.1",
8
8
  "typescriptVersion": "5.5.4"
9
9
  },
10
10
  "collections": [],
@@ -5,6 +5,48 @@ import { initialLeaderboardState } from "../../models";
5
5
  import { translate } from "../../utils/locale.utils";
6
6
  export class CasinoEngagementSuiteBar {
7
7
  constructor() {
8
+ /**
9
+ * Highlight Challenge tile
10
+ */
11
+ this.highlightChallenge = false;
12
+ /**
13
+ * Client custom styling via string
14
+ */
15
+ this.clientStyling = '';
16
+ /**
17
+ * Client custom styling via url
18
+ */
19
+ this.clientStylingUrl = '';
20
+ /**
21
+ * Orientation of the widget
22
+ */
23
+ this.orientation = 'Landscape';
24
+ /**
25
+ * User's device type
26
+ */
27
+ this.device = 'Mobile';
28
+ /**
29
+ * Show challenge label
30
+ */
31
+ this.isChallengeLabel = false;
32
+ /**
33
+ * Show forfeited challenge label
34
+ */
35
+ this.isForfeitedChallengeLabel = false;
36
+ /**
37
+ * Show spins forfeited label
38
+ */
39
+ this.isSpinForfeitedLabel = false;
40
+ /**
41
+ * Language of the widget
42
+ */
43
+ this.language = 'en';
44
+ this.jackpots = [];
45
+ // todo: hardcoded (waiting for GLC integration)
46
+ this.remainingLuckywheels = '1';
47
+ this.limitStylingAppends = false;
48
+ this.activeJackpot = '';
49
+ this.leaderboardState = initialLeaderboardState;
8
50
  this.handleTileClick = (ev) => {
9
51
  const application = ev.target.getAttribute('data-app');
10
52
  window.postMessage({ type: `Bar${application}Click` });
@@ -31,24 +73,6 @@ export class CasinoEngagementSuiteBar {
31
73
  console.log('Error ', err);
32
74
  });
33
75
  };
34
- this.activeWidget = undefined;
35
- this.challengePercent = undefined;
36
- this.highlightChallenge = false;
37
- this.clientStyling = '';
38
- this.clientStylingUrl = '';
39
- this.orientation = 'Landscape';
40
- this.device = 'Mobile';
41
- this.isChallengeLabel = false;
42
- this.isForfeitedChallengeLabel = false;
43
- this.isSpinForfeitedLabel = false;
44
- this.language = 'en';
45
- this.jackpots = [];
46
- this.remainingFreeSpins = undefined;
47
- this.remainingLuckywheels = '1';
48
- this.leaderboards = undefined;
49
- this.limitStylingAppends = false;
50
- this.activeJackpot = '';
51
- this.leaderboardState = initialLeaderboardState;
52
76
  }
53
77
  handleEvent(e) {
54
78
  const _a = e === null || e === void 0 ? void 0 : e.data, { type } = _a, rest = __rest(_a, ["type"]);
@@ -149,6 +173,8 @@ export class CasinoEngagementSuiteBar {
149
173
  "tags": [],
150
174
  "text": "Highlight active widget"
151
175
  },
176
+ "getter": false,
177
+ "setter": false,
152
178
  "attribute": "active-widget",
153
179
  "reflect": true
154
180
  },
@@ -166,6 +192,8 @@ export class CasinoEngagementSuiteBar {
166
192
  "tags": [],
167
193
  "text": "The Challenge Percent"
168
194
  },
195
+ "getter": false,
196
+ "setter": false,
169
197
  "attribute": "challenge-percent",
170
198
  "reflect": false
171
199
  },
@@ -183,6 +211,8 @@ export class CasinoEngagementSuiteBar {
183
211
  "tags": [],
184
212
  "text": "Highlight Challenge tile"
185
213
  },
214
+ "getter": false,
215
+ "setter": false,
186
216
  "attribute": "highlight-challenge",
187
217
  "reflect": false,
188
218
  "defaultValue": "false"
@@ -201,6 +231,8 @@ export class CasinoEngagementSuiteBar {
201
231
  "tags": [],
202
232
  "text": "Client custom styling via string"
203
233
  },
234
+ "getter": false,
235
+ "setter": false,
204
236
  "attribute": "client-styling",
205
237
  "reflect": true,
206
238
  "defaultValue": "''"
@@ -219,6 +251,8 @@ export class CasinoEngagementSuiteBar {
219
251
  "tags": [],
220
252
  "text": "Client custom styling via url"
221
253
  },
254
+ "getter": false,
255
+ "setter": false,
222
256
  "attribute": "client-styling-url",
223
257
  "reflect": true,
224
258
  "defaultValue": "''"
@@ -237,6 +271,8 @@ export class CasinoEngagementSuiteBar {
237
271
  "tags": [],
238
272
  "text": "Orientation of the widget"
239
273
  },
274
+ "getter": false,
275
+ "setter": false,
240
276
  "attribute": "orientation",
241
277
  "reflect": false,
242
278
  "defaultValue": "'Landscape' as 'Landscape' | 'Portrait'"
@@ -255,6 +291,8 @@ export class CasinoEngagementSuiteBar {
255
291
  "tags": [],
256
292
  "text": "User's device type"
257
293
  },
294
+ "getter": false,
295
+ "setter": false,
258
296
  "attribute": "device",
259
297
  "reflect": false,
260
298
  "defaultValue": "'Mobile' as 'Mobile' | 'Tablet' | 'Desktop'"
@@ -273,6 +311,8 @@ export class CasinoEngagementSuiteBar {
273
311
  "tags": [],
274
312
  "text": "Show challenge label"
275
313
  },
314
+ "getter": false,
315
+ "setter": false,
276
316
  "attribute": "is-challenge-label",
277
317
  "reflect": false,
278
318
  "defaultValue": "false"
@@ -291,6 +331,8 @@ export class CasinoEngagementSuiteBar {
291
331
  "tags": [],
292
332
  "text": "Show forfeited challenge label"
293
333
  },
334
+ "getter": false,
335
+ "setter": false,
294
336
  "attribute": "is-forfeited-challenge-label",
295
337
  "reflect": false,
296
338
  "defaultValue": "false"
@@ -309,6 +351,8 @@ export class CasinoEngagementSuiteBar {
309
351
  "tags": [],
310
352
  "text": "Show spins forfeited label"
311
353
  },
354
+ "getter": false,
355
+ "setter": false,
312
356
  "attribute": "is-spin-forfeited-label",
313
357
  "reflect": false,
314
358
  "defaultValue": "false"
@@ -327,6 +371,8 @@ export class CasinoEngagementSuiteBar {
327
371
  "tags": [],
328
372
  "text": "Language of the widget"
329
373
  },
374
+ "getter": false,
375
+ "setter": false,
330
376
  "attribute": "language",
331
377
  "reflect": false,
332
378
  "defaultValue": "'en'"
@@ -351,6 +397,8 @@ export class CasinoEngagementSuiteBar {
351
397
  "tags": [],
352
398
  "text": ""
353
399
  },
400
+ "getter": false,
401
+ "setter": false,
354
402
  "defaultValue": "[] as Array<Jackpot>"
355
403
  },
356
404
  "remainingFreeSpins": {
@@ -367,6 +415,8 @@ export class CasinoEngagementSuiteBar {
367
415
  "tags": [],
368
416
  "text": ""
369
417
  },
418
+ "getter": false,
419
+ "setter": false,
370
420
  "attribute": "remaining-free-spins",
371
421
  "reflect": false
372
422
  },
@@ -384,6 +434,8 @@ export class CasinoEngagementSuiteBar {
384
434
  "tags": [],
385
435
  "text": ""
386
436
  },
437
+ "getter": false,
438
+ "setter": false,
387
439
  "attribute": "remaining-luckywheels",
388
440
  "reflect": false,
389
441
  "defaultValue": "'1'"
@@ -411,7 +463,9 @@ export class CasinoEngagementSuiteBar {
411
463
  "docs": {
412
464
  "tags": [],
413
465
  "text": ""
414
- }
466
+ },
467
+ "getter": false,
468
+ "setter": false
415
469
  }
416
470
  };
417
471
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-fa9a5454.js';
1
+ import { r as registerInstance, h } from './index-fd88d82e.js';
2
2
 
3
3
  /******************************************************************************
4
4
  Copyright (c) Microsoft Corporation.
@@ -62,6 +62,48 @@ const CasinoEngagementSuiteBarStyle0 = casinoEngagementSuiteBarCss;
62
62
  const CasinoEngagementSuiteBar = class {
63
63
  constructor(hostRef) {
64
64
  registerInstance(this, hostRef);
65
+ /**
66
+ * Highlight Challenge tile
67
+ */
68
+ this.highlightChallenge = false;
69
+ /**
70
+ * Client custom styling via string
71
+ */
72
+ this.clientStyling = '';
73
+ /**
74
+ * Client custom styling via url
75
+ */
76
+ this.clientStylingUrl = '';
77
+ /**
78
+ * Orientation of the widget
79
+ */
80
+ this.orientation = 'Landscape';
81
+ /**
82
+ * User's device type
83
+ */
84
+ this.device = 'Mobile';
85
+ /**
86
+ * Show challenge label
87
+ */
88
+ this.isChallengeLabel = false;
89
+ /**
90
+ * Show forfeited challenge label
91
+ */
92
+ this.isForfeitedChallengeLabel = false;
93
+ /**
94
+ * Show spins forfeited label
95
+ */
96
+ this.isSpinForfeitedLabel = false;
97
+ /**
98
+ * Language of the widget
99
+ */
100
+ this.language = 'en';
101
+ this.jackpots = [];
102
+ // todo: hardcoded (waiting for GLC integration)
103
+ this.remainingLuckywheels = '1';
104
+ this.limitStylingAppends = false;
105
+ this.activeJackpot = '';
106
+ this.leaderboardState = initialLeaderboardState;
65
107
  this.handleTileClick = (ev) => {
66
108
  const application = ev.target.getAttribute('data-app');
67
109
  window.postMessage({ type: `Bar${application}Click` });
@@ -88,24 +130,6 @@ const CasinoEngagementSuiteBar = class {
88
130
  console.log('Error ', err);
89
131
  });
90
132
  };
91
- this.activeWidget = undefined;
92
- this.challengePercent = undefined;
93
- this.highlightChallenge = false;
94
- this.clientStyling = '';
95
- this.clientStylingUrl = '';
96
- this.orientation = 'Landscape';
97
- this.device = 'Mobile';
98
- this.isChallengeLabel = false;
99
- this.isForfeitedChallengeLabel = false;
100
- this.isSpinForfeitedLabel = false;
101
- this.language = 'en';
102
- this.jackpots = [];
103
- this.remainingFreeSpins = undefined;
104
- this.remainingLuckywheels = '1';
105
- this.leaderboards = undefined;
106
- this.limitStylingAppends = false;
107
- this.activeJackpot = '';
108
- this.leaderboardState = initialLeaderboardState;
109
133
  }
110
134
  handleEvent(e) {
111
135
  const _a = e === null || e === void 0 ? void 0 : e.data, { type } = _a, rest = __rest(_a, ["type"]);
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-fa9a5454.js';
2
- export { s as setNonce } from './index-fa9a5454.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-fd88d82e.js';
2
+ export { s as setNonce } from './index-fd88d82e.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.25.1 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;