@everymatrix/casino-engagement-suite-tournament 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.
- package/dist/casino-engagement-suite-tournament/casino-engagement-suite-tournament.esm.js +1 -1
- package/dist/casino-engagement-suite-tournament/index.esm.js +1 -1
- package/dist/casino-engagement-suite-tournament/p-1cd75583.js +2 -0
- package/dist/casino-engagement-suite-tournament/{p-e641ae9c.js → p-94b7b68e.js} +1 -1
- package/dist/casino-engagement-suite-tournament/{p-64f927f2.entry.js → p-9c24a103.entry.js} +1 -1
- package/dist/cjs/casino-engagement-suite-progress-bar_3.cjs.entry.js +13 -39
- package/dist/cjs/{casino-engagement-suite-tournament-1a5b8389.js → casino-engagement-suite-tournament-d2f62483.js} +4 -21
- package/dist/cjs/casino-engagement-suite-tournament.cjs.js +2 -2
- package/dist/cjs/{index-79c59362.js → index-4eb9b2e6.js} +145 -253
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.js +4 -35
- package/dist/esm/casino-engagement-suite-progress-bar_3.entry.js +13 -39
- package/dist/esm/{casino-engagement-suite-tournament-32d1df61.js → casino-engagement-suite-tournament-66512e26.js} +4 -21
- package/dist/esm/casino-engagement-suite-tournament.js +3 -3
- package/dist/esm/{index-bc18616b.js → index-3124114b.js} +145 -253
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- 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
- 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
- package/package.json +1 -1
- package/dist/casino-engagement-suite-tournament/p-00972ad5.js +0 -2
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.d.ts +0 -2
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.dev.d.ts +0 -2
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const casinoEngagementSuiteTournament = require('./casino-engagement-suite-tournament-
|
|
6
|
-
require('./index-
|
|
5
|
+
const casinoEngagementSuiteTournament = require('./casino-engagement-suite-tournament-d2f62483.js');
|
|
6
|
+
require('./index-4eb9b2e6.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4eb9b2e6.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
@@ -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
|
-
|
|
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-
|
|
2
|
-
export { C as casino_engagement_suite_tournament } from './casino-engagement-suite-tournament-
|
|
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';
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import { h as h$1, H as Host, r as registerInstance, c as createEvent } from './index-
|
|
1
|
+
import { h as h$1, H as Host, r as registerInstance, c as createEvent } from './index-3124114b.js';
|
|
2
2
|
|
|
3
3
|
/******************************************************************************
|
|
4
4
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1252,30 +1252,15 @@ const CasinoEngagementSuiteTournament = class {
|
|
|
1252
1252
|
constructor(hostRef) {
|
|
1253
1253
|
registerInstance(this, hostRef);
|
|
1254
1254
|
this.close = createEvent(this, "close", 7);
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
*/
|
|
1255
|
+
this.gifts = [];
|
|
1256
|
+
this.labels = [];
|
|
1258
1257
|
this.language = 'en';
|
|
1259
|
-
/**
|
|
1260
|
-
* if widget is showing
|
|
1261
|
-
*/
|
|
1262
1258
|
this.show = false;
|
|
1263
|
-
/**
|
|
1264
|
-
* Client custom styling via string
|
|
1265
|
-
*/
|
|
1266
1259
|
this.clientStyling = '';
|
|
1267
|
-
/**
|
|
1268
|
-
* Client custom styling via url
|
|
1269
|
-
*/
|
|
1270
1260
|
this.clientStylingUrl = '';
|
|
1271
|
-
/**
|
|
1272
|
-
* Translation via url
|
|
1273
|
-
*/
|
|
1274
1261
|
this.translationUrl = '';
|
|
1275
|
-
/**
|
|
1276
|
-
* User's device type
|
|
1277
|
-
*/
|
|
1278
1262
|
this.device = 'Mobile';
|
|
1263
|
+
this.leaderboardsInit = undefined;
|
|
1279
1264
|
this.tab = Tab.info;
|
|
1280
1265
|
this.locale = TRANSLATIONS;
|
|
1281
1266
|
this.tournamentItem = undefined;
|
|
@@ -1293,9 +1278,7 @@ const CasinoEngagementSuiteTournament = class {
|
|
|
1293
1278
|
onClose: undefined
|
|
1294
1279
|
};
|
|
1295
1280
|
this.time = 0;
|
|
1296
|
-
this.gifts = [];
|
|
1297
1281
|
this.newIdList = [];
|
|
1298
|
-
this.labels = [];
|
|
1299
1282
|
// bind all renders
|
|
1300
1283
|
this.renders = {};
|
|
1301
1284
|
Object.keys(renders).forEach((key) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-3124114b.js';
|
|
2
|
+
export { s as setNonce } from './index-3124114b.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
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;
|