@everymatrix/casino-engagement-suite-tournament 1.55.0 → 1.56.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 (30) 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-00972ad5.js +2 -0
  4. package/dist/casino-engagement-suite-tournament/{p-9c24a103.entry.js → p-69ef97d1.entry.js} +1 -1
  5. package/dist/casino-engagement-suite-tournament/p-c1d0b870.js +1 -0
  6. package/dist/cjs/casino-engagement-suite-progress-bar_3.cjs.entry.js +39 -13
  7. package/dist/cjs/{casino-engagement-suite-tournament-d2f62483.js → casino-engagement-suite-tournament-19a1c3b7.js} +200 -144
  8. package/dist/cjs/casino-engagement-suite-tournament.cjs.js +2 -2
  9. package/dist/cjs/{index-4eb9b2e6.js → index-79c59362.js} +253 -145
  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 +1 -1
  13. package/dist/collection/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.js +35 -4
  14. package/dist/esm/casino-engagement-suite-progress-bar_3.entry.js +39 -13
  15. package/dist/esm/{casino-engagement-suite-tournament-66512e26.js → casino-engagement-suite-tournament-f2131da2.js} +200 -144
  16. package/dist/esm/casino-engagement-suite-tournament.js +3 -3
  17. package/dist/esm/{index-3124114b.js → index-bc18616b.js} +253 -145
  18. package/dist/esm/index.js +2 -2
  19. package/dist/esm/loader.js +2 -2
  20. 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 +2 -0
  21. 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 +2 -0
  22. package/package.json +1 -1
  23. package/dist/casino-engagement-suite-tournament/p-1cd75583.js +0 -2
  24. package/dist/casino-engagement-suite-tournament/p-94b7b68e.js +0 -1
  25. 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 +0 -2
  26. 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 +0 -2
  27. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/index.d.ts +0 -0
  28. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  29. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  30. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/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-d2f62483.js');
6
- require('./index-4eb9b2e6.js');
5
+ const casinoEngagementSuiteTournament = require('./casino-engagement-suite-tournament-19a1c3b7.js');
6
+ require('./index-79c59362.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-4eb9b2e6.js');
5
+ const index = require('./index-79c59362.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.22.3",
7
+ "version": "4.26.0",
8
8
  "typescriptVersion": "5.5.4"
9
9
  },
10
10
  "collections": [
@@ -126,15 +126,30 @@ export class CasinoEngagementSuiteTournament {
126
126
  this.dialog = Object.assign(Object.assign({}, this.dialog), { isOpen: false, onClose: undefined });
127
127
  }
128
128
  constructor() {
129
- this.gifts = [];
130
- this.labels = [];
129
+ /**
130
+ * Language
131
+ */
131
132
  this.language = 'en';
133
+ /**
134
+ * if widget is showing
135
+ */
132
136
  this.show = false;
137
+ /**
138
+ * Client custom styling via string
139
+ */
133
140
  this.clientStyling = '';
141
+ /**
142
+ * Client custom styling via url
143
+ */
134
144
  this.clientStylingUrl = '';
145
+ /**
146
+ * Translation via url
147
+ */
135
148
  this.translationUrl = '';
149
+ /**
150
+ * User's device type
151
+ */
136
152
  this.device = 'Mobile';
137
- this.leaderboardsInit = undefined;
138
153
  this.tab = Tab.info;
139
154
  this.locale = TRANSLATIONS;
140
155
  this.tournamentItem = undefined;
@@ -152,7 +167,9 @@ export class CasinoEngagementSuiteTournament {
152
167
  onClose: undefined
153
168
  };
154
169
  this.time = 0;
170
+ this.gifts = [];
155
171
  this.newIdList = [];
172
+ this.labels = [];
156
173
  // bind all renders
157
174
  this.renders = {};
158
175
  Object.keys(renders).forEach((key) => {
@@ -190,6 +207,8 @@ export class CasinoEngagementSuiteTournament {
190
207
  "tags": [],
191
208
  "text": "Language"
192
209
  },
210
+ "getter": false,
211
+ "setter": false,
193
212
  "attribute": "language",
194
213
  "reflect": false,
195
214
  "defaultValue": "'en'"
@@ -208,6 +227,8 @@ export class CasinoEngagementSuiteTournament {
208
227
  "tags": [],
209
228
  "text": "if widget is showing"
210
229
  },
230
+ "getter": false,
231
+ "setter": false,
211
232
  "attribute": "show",
212
233
  "reflect": false,
213
234
  "defaultValue": "false"
@@ -226,6 +247,8 @@ export class CasinoEngagementSuiteTournament {
226
247
  "tags": [],
227
248
  "text": "Client custom styling via string"
228
249
  },
250
+ "getter": false,
251
+ "setter": false,
229
252
  "attribute": "client-styling",
230
253
  "reflect": true,
231
254
  "defaultValue": "''"
@@ -244,6 +267,8 @@ export class CasinoEngagementSuiteTournament {
244
267
  "tags": [],
245
268
  "text": "Client custom styling via url"
246
269
  },
270
+ "getter": false,
271
+ "setter": false,
247
272
  "attribute": "client-styling-url",
248
273
  "reflect": true,
249
274
  "defaultValue": "''"
@@ -262,6 +287,8 @@ export class CasinoEngagementSuiteTournament {
262
287
  "tags": [],
263
288
  "text": "Translation via url"
264
289
  },
290
+ "getter": false,
291
+ "setter": false,
265
292
  "attribute": "translation-url",
266
293
  "reflect": true,
267
294
  "defaultValue": "''"
@@ -280,6 +307,8 @@ export class CasinoEngagementSuiteTournament {
280
307
  "tags": [],
281
308
  "text": "User's device type"
282
309
  },
310
+ "getter": false,
311
+ "setter": false,
283
312
  "attribute": "device",
284
313
  "reflect": false,
285
314
  "defaultValue": "'Mobile' as 'Mobile' | 'Tablet' | 'Desktop'"
@@ -303,7 +332,9 @@ export class CasinoEngagementSuiteTournament {
303
332
  "docs": {
304
333
  "tags": [],
305
334
  "text": "Raw Leaderboards from API for Init"
306
- }
335
+ },
336
+ "getter": false,
337
+ "setter": false
307
338
  }
308
339
  };
309
340
  }
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, g as getElement } from './index-3124114b.js';
2
- export { C as casino_engagement_suite_tournament } from './casino-engagement-suite-tournament-66512e26.js';
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';
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,6 +7,31 @@ 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;
10
35
  this.setClientStyling = () => {
11
36
  let sheet = document.createElement('style');
12
37
  sheet.innerHTML = this.clientStyling;
@@ -25,13 +50,6 @@ const CasinoEngagementSuiteProgressBar = class {
25
50
  console.log('Error ', err);
26
51
  });
27
52
  };
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;
35
53
  }
36
54
  componentDidRender() {
37
55
  if (!this.limitStylingAppends && this.host) {
@@ -87,6 +105,18 @@ const GeneralStylingWrapperStyle0 = generalStylingWrapperCss;
87
105
  const GeneralStylingWrapper = class {
88
106
  constructor(hostRef) {
89
107
  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 = '';
90
120
  this.stylingAppends = false;
91
121
  this.setClientStyling = () => {
92
122
  let sheet = document.createElement('style');
@@ -108,10 +138,6 @@ const GeneralStylingWrapper = class {
108
138
  console.log('error ', err);
109
139
  });
110
140
  };
111
- this.clientStyling = '';
112
- this.clientStylingUrl = '';
113
- this.translationUrl = '';
114
- this.targetTranslations = undefined;
115
141
  }
116
142
  componentDidRender() {
117
143
  // start custom styling area