@everymatrix/casino-engagement-suite-tournament 1.56.0 → 1.56.2

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 (33) hide show
  1. package/dist/casino-engagement-suite-tournament/casino-engagement-suite-tournament.esm.js +1 -1
  2. package/dist/casino-engagement-suite-tournament/index.esm.js +1 -1
  3. package/dist/casino-engagement-suite-tournament/p-36511cf5.js +15 -0
  4. package/dist/casino-engagement-suite-tournament/{p-69ef97d1.entry.js → p-6e87f006.entry.js} +1 -1
  5. package/dist/casino-engagement-suite-tournament/p-7dd52ef4.js +2 -0
  6. package/dist/cjs/casino-engagement-suite-progress-bar_3.cjs.entry.js +13 -39
  7. package/dist/cjs/{casino-engagement-suite-tournament-19a1c3b7.js → casino-engagement-suite-tournament-dea6117d.js} +12 -31
  8. package/dist/cjs/casino-engagement-suite-tournament.cjs.js +2 -2
  9. package/dist/cjs/{index-79c59362.js → index-9b5a5304.js} +136 -287
  10. package/dist/cjs/index.cjs.js +2 -2
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/collection/collection-manifest.json +2 -2
  13. package/dist/collection/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.js +4 -35
  14. package/dist/esm/casino-engagement-suite-progress-bar_3.entry.js +13 -39
  15. package/dist/esm/{casino-engagement-suite-tournament-f2131da2.js → casino-engagement-suite-tournament-520e74da.js} +12 -31
  16. package/dist/esm/casino-engagement-suite-tournament.js +3 -3
  17. package/dist/esm/{index-bc18616b.js → index-e8e1e68e.js} +136 -287
  18. package/dist/esm/index.js +2 -2
  19. package/dist/esm/loader.js +2 -2
  20. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.d.ts +2 -0
  21. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.dev.d.ts +2 -0
  22. package/dist/types/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.d.ts +7 -2
  23. package/dist/types/stencil-public-runtime.d.ts +0 -6
  24. package/dist/types/utils/api.apdater.d.ts +30 -2
  25. package/package.json +1 -1
  26. package/dist/casino-engagement-suite-tournament/p-00972ad5.js +0 -2
  27. package/dist/casino-engagement-suite-tournament/p-c1d0b870.js +0 -1
  28. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.d.ts +0 -2
  29. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.dev.d.ts +0 -2
  30. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/index.d.ts +0 -0
  31. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  32. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  33. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const casinoEngagementSuiteTournament = require('./casino-engagement-suite-tournament-19a1c3b7.js');
6
- require('./index-79c59362.js');
5
+ const casinoEngagementSuiteTournament = require('./casino-engagement-suite-tournament-dea6117d.js');
6
+ require('./index-9b5a5304.js');
7
7
 
8
8
 
9
9
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-79c59362.js');
5
+ const index = require('./index-9b5a5304.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -4,8 +4,8 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.26.0",
8
- "typescriptVersion": "5.5.4"
7
+ "version": "4.19.2",
8
+ "typescriptVersion": "5.4.5"
9
9
  },
10
10
  "collections": [
11
11
  {
@@ -126,30 +126,15 @@ export class CasinoEngagementSuiteTournament {
126
126
  this.dialog = Object.assign(Object.assign({}, this.dialog), { isOpen: false, onClose: undefined });
127
127
  }
128
128
  constructor() {
129
- /**
130
- * Language
131
- */
129
+ this.gifts = [];
130
+ this.labels = [];
132
131
  this.language = 'en';
133
- /**
134
- * if widget is showing
135
- */
136
132
  this.show = false;
137
- /**
138
- * Client custom styling via string
139
- */
140
133
  this.clientStyling = '';
141
- /**
142
- * Client custom styling via url
143
- */
144
134
  this.clientStylingUrl = '';
145
- /**
146
- * Translation via url
147
- */
148
135
  this.translationUrl = '';
149
- /**
150
- * User's device type
151
- */
152
136
  this.device = 'Mobile';
137
+ this.leaderboardsInit = undefined;
153
138
  this.tab = Tab.info;
154
139
  this.locale = TRANSLATIONS;
155
140
  this.tournamentItem = undefined;
@@ -167,9 +152,7 @@ export class CasinoEngagementSuiteTournament {
167
152
  onClose: undefined
168
153
  };
169
154
  this.time = 0;
170
- this.gifts = [];
171
155
  this.newIdList = [];
172
- this.labels = [];
173
156
  // bind all renders
174
157
  this.renders = {};
175
158
  Object.keys(renders).forEach((key) => {
@@ -207,8 +190,6 @@ export class CasinoEngagementSuiteTournament {
207
190
  "tags": [],
208
191
  "text": "Language"
209
192
  },
210
- "getter": false,
211
- "setter": false,
212
193
  "attribute": "language",
213
194
  "reflect": false,
214
195
  "defaultValue": "'en'"
@@ -227,8 +208,6 @@ export class CasinoEngagementSuiteTournament {
227
208
  "tags": [],
228
209
  "text": "if widget is showing"
229
210
  },
230
- "getter": false,
231
- "setter": false,
232
211
  "attribute": "show",
233
212
  "reflect": false,
234
213
  "defaultValue": "false"
@@ -247,8 +226,6 @@ export class CasinoEngagementSuiteTournament {
247
226
  "tags": [],
248
227
  "text": "Client custom styling via string"
249
228
  },
250
- "getter": false,
251
- "setter": false,
252
229
  "attribute": "client-styling",
253
230
  "reflect": true,
254
231
  "defaultValue": "''"
@@ -267,8 +244,6 @@ export class CasinoEngagementSuiteTournament {
267
244
  "tags": [],
268
245
  "text": "Client custom styling via url"
269
246
  },
270
- "getter": false,
271
- "setter": false,
272
247
  "attribute": "client-styling-url",
273
248
  "reflect": true,
274
249
  "defaultValue": "''"
@@ -287,8 +262,6 @@ export class CasinoEngagementSuiteTournament {
287
262
  "tags": [],
288
263
  "text": "Translation via url"
289
264
  },
290
- "getter": false,
291
- "setter": false,
292
265
  "attribute": "translation-url",
293
266
  "reflect": true,
294
267
  "defaultValue": "''"
@@ -307,8 +280,6 @@ export class CasinoEngagementSuiteTournament {
307
280
  "tags": [],
308
281
  "text": "User's device type"
309
282
  },
310
- "getter": false,
311
- "setter": false,
312
283
  "attribute": "device",
313
284
  "reflect": false,
314
285
  "defaultValue": "'Mobile' as 'Mobile' | 'Tablet' | 'Desktop'"
@@ -332,9 +303,7 @@ export class CasinoEngagementSuiteTournament {
332
303
  "docs": {
333
304
  "tags": [],
334
305
  "text": "Raw Leaderboards from API for Init"
335
- },
336
- "getter": false,
337
- "setter": false
306
+ }
338
307
  }
339
308
  };
340
309
  }
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, g as getElement } from './index-bc18616b.js';
2
- export { C as casino_engagement_suite_tournament } from './casino-engagement-suite-tournament-f2131da2.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-e8e1e68e.js';
2
+ export { C as casino_engagement_suite_tournament } from './casino-engagement-suite-tournament-520e74da.js';
3
3
 
4
4
  const casinoEngagementSuiteProgressBarCss = ":host{display:block;font-family:inherit}:host(.Desktop) .ProgressBarPercent{font-size:var(--emw--font-size-small, 14px);line-height:14px}@keyframes indeterminate{0%{left:-200%;right:100%}60%{left:110%;right:-10%}to{left:110%;right:-10%}}.ProgressBarBackground{height:8px;background-color:var(--emw--color-gray-300, #666178);border-radius:var(--emw--border-radius-small, 4px);position:relative;overflow:hidden}.ProgressBarLine{position:absolute;left:0;top:0;bottom:0;border-radius:var(--emw--border-radius-small, 4px);background:var(--emw--engagement-suite-gradient-button, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%));transition:width ease-out 0.3s}.ProgressBarLine.Indeterminate{animation:indeterminate 1s linear infinite}.ProgressBarInfo{margin-bottom:8px;display:flex;justify-content:space-between;align-items:center}.ProgressBarPercent{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-x-small, 12px);line-height:12px}.HidePercent .ProgressBarPercent{display:none}.ProgressBar:not(.Disabled) .ProgressBarPercent{background:var(--emw--engagement-suite-gradient-button, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.ProgressBar.Disabled .ProgressBarPercent{color:var(--emw--color-gray-300, #666178)}.ProgressBar.Disabled .ProgressBarLine{background:var(--emw--color-background-secondary, #474668)}";
5
5
  const CasinoEngagementSuiteProgressBarStyle0 = casinoEngagementSuiteProgressBarCss;
@@ -7,31 +7,6 @@ const CasinoEngagementSuiteProgressBarStyle0 = casinoEngagementSuiteProgressBarC
7
7
  const CasinoEngagementSuiteProgressBar = class {
8
8
  constructor(hostRef) {
9
9
  registerInstance(this, hostRef);
10
- /**
11
- * Value for the widget
12
- */
13
- this.value = 0;
14
- /**
15
- * Shows disabled styles
16
- */
17
- this.disabled = false;
18
- /**
19
- * Hide percent value
20
- */
21
- this.hidePercent = false;
22
- /**
23
- * Constantly animates
24
- */
25
- this.indeterminate = false;
26
- /**
27
- * Client custom styling via string
28
- */
29
- this.clientStyling = '';
30
- /**
31
- * Client custom styling via url
32
- */
33
- this.clientStylingUrl = '';
34
- this.limitStylingAppends = false;
35
10
  this.setClientStyling = () => {
36
11
  let sheet = document.createElement('style');
37
12
  sheet.innerHTML = this.clientStyling;
@@ -50,6 +25,13 @@ const CasinoEngagementSuiteProgressBar = class {
50
25
  console.log('Error ', err);
51
26
  });
52
27
  };
28
+ this.value = 0;
29
+ this.disabled = false;
30
+ this.hidePercent = false;
31
+ this.indeterminate = false;
32
+ this.clientStyling = '';
33
+ this.clientStylingUrl = '';
34
+ this.limitStylingAppends = false;
53
35
  }
54
36
  componentDidRender() {
55
37
  if (!this.limitStylingAppends && this.host) {
@@ -105,18 +87,6 @@ const GeneralStylingWrapperStyle0 = generalStylingWrapperCss;
105
87
  const GeneralStylingWrapper = class {
106
88
  constructor(hostRef) {
107
89
  registerInstance(this, hostRef);
108
- /**
109
- * Client custom styling via inline styles
110
- */
111
- this.clientStyling = '';
112
- /**
113
- * Client custom styling via url
114
- */
115
- this.clientStylingUrl = '';
116
- /**
117
- * Translation via url
118
- */
119
- this.translationUrl = '';
120
90
  this.stylingAppends = false;
121
91
  this.setClientStyling = () => {
122
92
  let sheet = document.createElement('style');
@@ -138,6 +108,10 @@ const GeneralStylingWrapper = class {
138
108
  console.log('error ', err);
139
109
  });
140
110
  };
111
+ this.clientStyling = '';
112
+ this.clientStylingUrl = '';
113
+ this.translationUrl = '';
114
+ this.targetTranslations = undefined;
141
115
  }
142
116
  componentDidRender() {
143
117
  // start custom styling area
@@ -1,6 +1,6 @@
1
- import { h as h$1, H as Host, r as registerInstance, c as createEvent } from './index-bc18616b.js';
1
+ import { h as h$1, H as Host, r as registerInstance, c as createEvent } from './index-e8e1e68e.js';
2
2
 
3
- /******************************************************************************
3
+ /*! *****************************************************************************
4
4
  Copyright (c) Microsoft Corporation.
5
5
 
6
6
  Permission to use, copy, modify, and/or distribute this software for any
@@ -25,12 +25,7 @@ function __rest(s, e) {
25
25
  t[p[i]] = s[p[i]];
26
26
  }
27
27
  return t;
28
- }
29
-
30
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
31
- var e = new Error(message);
32
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
33
- };
28
+ }
34
29
 
35
30
  var Tab;
36
31
  (function (Tab) {
@@ -675,7 +670,8 @@ function U(t, e, n) {
675
670
  }
676
671
  }
677
672
  function I(t) {
678
- if (!t) return document;
673
+ if (!t)
674
+ return document;
679
675
  const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
680
676
  return e && /** @type {ShadowRoot} */
681
677
  e.host ? (
@@ -719,7 +715,8 @@ function _(t) {
719
715
  p = t;
720
716
  }
721
717
  function J() {
722
- if (!p) throw new Error("Function called outside component initialization");
718
+ if (!p)
719
+ throw new Error("Function called outside component initialization");
723
720
  return p;
724
721
  }
725
722
  function V(t) {
@@ -750,7 +747,8 @@ function m() {
750
747
  } catch (e) {
751
748
  throw $.length = 0, f = 0, e;
752
749
  }
753
- for (_(null), $.length = 0, f = 0; w.length; ) w.pop()();
750
+ for (_(null), $.length = 0, f = 0; w.length; )
751
+ w.pop()();
754
752
  for (let e = 0; e < h.length; e += 1) {
755
753
  const n = h[e];
756
754
  b.has(n) || (b.add(n), n());
@@ -1291,30 +1289,15 @@ const CasinoEngagementSuiteTournament = class {
1291
1289
  constructor(hostRef) {
1292
1290
  registerInstance(this, hostRef);
1293
1291
  this.close = createEvent(this, "close", 7);
1294
- /**
1295
- * Language
1296
- */
1292
+ this.gifts = [];
1293
+ this.labels = [];
1297
1294
  this.language = 'en';
1298
- /**
1299
- * if widget is showing
1300
- */
1301
1295
  this.show = false;
1302
- /**
1303
- * Client custom styling via string
1304
- */
1305
1296
  this.clientStyling = '';
1306
- /**
1307
- * Client custom styling via url
1308
- */
1309
1297
  this.clientStylingUrl = '';
1310
- /**
1311
- * Translation via url
1312
- */
1313
1298
  this.translationUrl = '';
1314
- /**
1315
- * User's device type
1316
- */
1317
1299
  this.device = 'Mobile';
1300
+ this.leaderboardsInit = undefined;
1318
1301
  this.tab = Tab.info;
1319
1302
  this.locale = TRANSLATIONS;
1320
1303
  this.tournamentItem = undefined;
@@ -1332,9 +1315,7 @@ const CasinoEngagementSuiteTournament = class {
1332
1315
  onClose: undefined
1333
1316
  };
1334
1317
  this.time = 0;
1335
- this.gifts = [];
1336
1318
  this.newIdList = [];
1337
- this.labels = [];
1338
1319
  // bind all renders
1339
1320
  this.renders = {};
1340
1321
  Object.keys(renders).forEach((key) => {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-bc18616b.js';
2
- export { s as setNonce } from './index-bc18616b.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-e8e1e68e.js';
2
+ export { s as setNonce } from './index-e8e1e68e.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.19.2 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;