@everymatrix/casino-engagement-suite-bar 1.54.11 → 1.55.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.
Files changed (24) 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-a7ca9798.entry.js +1 -0
  3. package/dist/casino-engagement-suite-bar/p-d14341cc.js +2 -0
  4. package/dist/cjs/casino-engagement-suite-bar.cjs.entry.js +19 -43
  5. package/dist/cjs/casino-engagement-suite-bar.cjs.js +2 -2
  6. package/dist/cjs/{index-74d721d6.js → index-e5bc7c81.js} +67 -168
  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 +19 -73
  10. package/dist/esm/casino-engagement-suite-bar.entry.js +19 -43
  11. package/dist/esm/casino-engagement-suite-bar.js +3 -3
  12. package/dist/esm/{index-466e12d6.js → index-fa9a5454.js} +67 -168
  13. package/dist/esm/loader.js +2 -2
  14. 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 +2 -0
  15. 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 +2 -0
  16. package/package.json +1 -1
  17. package/dist/casino-engagement-suite-bar/p-3ed6d677.entry.js +0 -1
  18. package/dist/casino-engagement-suite-bar/p-e3eeee5f.js +0 -2
  19. package/dist/types/builds/emfe-widgets/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/builds/emfe-widgets/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/packages/stencil/casino-engagement-suite-bar/stencil.config.dev.d.ts +0 -2
  21. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/tools/plugins/index.d.ts +0 -0
  22. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  23. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  24. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-74d721d6.js');
5
+ const index = require('./index-e5bc7c81.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -4,7 +4,7 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.26.0",
7
+ "version": "4.22.3",
8
8
  "typescriptVersion": "5.5.4"
9
9
  },
10
10
  "collections": [],
@@ -5,48 +5,6 @@ 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;
50
8
  this.handleTileClick = (ev) => {
51
9
  const application = ev.target.getAttribute('data-app');
52
10
  window.postMessage({ type: `Bar${application}Click` });
@@ -73,6 +31,24 @@ export class CasinoEngagementSuiteBar {
73
31
  console.log('Error ', err);
74
32
  });
75
33
  };
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;
76
52
  }
77
53
  handleEvent(e) {
78
54
  const _a = e === null || e === void 0 ? void 0 : e.data, { type } = _a, rest = __rest(_a, ["type"]);
@@ -173,8 +149,6 @@ export class CasinoEngagementSuiteBar {
173
149
  "tags": [],
174
150
  "text": "Highlight active widget"
175
151
  },
176
- "getter": false,
177
- "setter": false,
178
152
  "attribute": "active-widget",
179
153
  "reflect": true
180
154
  },
@@ -192,8 +166,6 @@ export class CasinoEngagementSuiteBar {
192
166
  "tags": [],
193
167
  "text": "The Challenge Percent"
194
168
  },
195
- "getter": false,
196
- "setter": false,
197
169
  "attribute": "challenge-percent",
198
170
  "reflect": false
199
171
  },
@@ -211,8 +183,6 @@ export class CasinoEngagementSuiteBar {
211
183
  "tags": [],
212
184
  "text": "Highlight Challenge tile"
213
185
  },
214
- "getter": false,
215
- "setter": false,
216
186
  "attribute": "highlight-challenge",
217
187
  "reflect": false,
218
188
  "defaultValue": "false"
@@ -231,8 +201,6 @@ export class CasinoEngagementSuiteBar {
231
201
  "tags": [],
232
202
  "text": "Client custom styling via string"
233
203
  },
234
- "getter": false,
235
- "setter": false,
236
204
  "attribute": "client-styling",
237
205
  "reflect": true,
238
206
  "defaultValue": "''"
@@ -251,8 +219,6 @@ export class CasinoEngagementSuiteBar {
251
219
  "tags": [],
252
220
  "text": "Client custom styling via url"
253
221
  },
254
- "getter": false,
255
- "setter": false,
256
222
  "attribute": "client-styling-url",
257
223
  "reflect": true,
258
224
  "defaultValue": "''"
@@ -271,8 +237,6 @@ export class CasinoEngagementSuiteBar {
271
237
  "tags": [],
272
238
  "text": "Orientation of the widget"
273
239
  },
274
- "getter": false,
275
- "setter": false,
276
240
  "attribute": "orientation",
277
241
  "reflect": false,
278
242
  "defaultValue": "'Landscape' as 'Landscape' | 'Portrait'"
@@ -291,8 +255,6 @@ export class CasinoEngagementSuiteBar {
291
255
  "tags": [],
292
256
  "text": "User's device type"
293
257
  },
294
- "getter": false,
295
- "setter": false,
296
258
  "attribute": "device",
297
259
  "reflect": false,
298
260
  "defaultValue": "'Mobile' as 'Mobile' | 'Tablet' | 'Desktop'"
@@ -311,8 +273,6 @@ export class CasinoEngagementSuiteBar {
311
273
  "tags": [],
312
274
  "text": "Show challenge label"
313
275
  },
314
- "getter": false,
315
- "setter": false,
316
276
  "attribute": "is-challenge-label",
317
277
  "reflect": false,
318
278
  "defaultValue": "false"
@@ -331,8 +291,6 @@ export class CasinoEngagementSuiteBar {
331
291
  "tags": [],
332
292
  "text": "Show forfeited challenge label"
333
293
  },
334
- "getter": false,
335
- "setter": false,
336
294
  "attribute": "is-forfeited-challenge-label",
337
295
  "reflect": false,
338
296
  "defaultValue": "false"
@@ -351,8 +309,6 @@ export class CasinoEngagementSuiteBar {
351
309
  "tags": [],
352
310
  "text": "Show spins forfeited label"
353
311
  },
354
- "getter": false,
355
- "setter": false,
356
312
  "attribute": "is-spin-forfeited-label",
357
313
  "reflect": false,
358
314
  "defaultValue": "false"
@@ -371,8 +327,6 @@ export class CasinoEngagementSuiteBar {
371
327
  "tags": [],
372
328
  "text": "Language of the widget"
373
329
  },
374
- "getter": false,
375
- "setter": false,
376
330
  "attribute": "language",
377
331
  "reflect": false,
378
332
  "defaultValue": "'en'"
@@ -397,8 +351,6 @@ export class CasinoEngagementSuiteBar {
397
351
  "tags": [],
398
352
  "text": ""
399
353
  },
400
- "getter": false,
401
- "setter": false,
402
354
  "defaultValue": "[] as Array<Jackpot>"
403
355
  },
404
356
  "remainingFreeSpins": {
@@ -415,8 +367,6 @@ export class CasinoEngagementSuiteBar {
415
367
  "tags": [],
416
368
  "text": ""
417
369
  },
418
- "getter": false,
419
- "setter": false,
420
370
  "attribute": "remaining-free-spins",
421
371
  "reflect": false
422
372
  },
@@ -434,8 +384,6 @@ export class CasinoEngagementSuiteBar {
434
384
  "tags": [],
435
385
  "text": ""
436
386
  },
437
- "getter": false,
438
- "setter": false,
439
387
  "attribute": "remaining-luckywheels",
440
388
  "reflect": false,
441
389
  "defaultValue": "'1'"
@@ -463,9 +411,7 @@ export class CasinoEngagementSuiteBar {
463
411
  "docs": {
464
412
  "tags": [],
465
413
  "text": ""
466
- },
467
- "getter": false,
468
- "setter": false
414
+ }
469
415
  }
470
416
  };
471
417
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-466e12d6.js';
1
+ import { r as registerInstance, h } from './index-fa9a5454.js';
2
2
 
3
3
  /******************************************************************************
4
4
  Copyright (c) Microsoft Corporation.
@@ -62,48 +62,6 @@ 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;
107
65
  this.handleTileClick = (ev) => {
108
66
  const application = ev.target.getAttribute('data-app');
109
67
  window.postMessage({ type: `Bar${application}Click` });
@@ -130,6 +88,24 @@ const CasinoEngagementSuiteBar = class {
130
88
  console.log('Error ', err);
131
89
  });
132
90
  };
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;
133
109
  }
134
110
  handleEvent(e) {
135
111
  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-466e12d6.js';
2
- export { s as setNonce } from './index-466e12d6.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-fa9a5454.js';
2
+ export { s as setNonce } from './index-fa9a5454.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;