@everymatrix/casino-engagement-suite-challenges-list 1.56.0 → 1.56.3
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-challenges-list/casino-engagement-suite-challenges-list.esm.js +1 -1
- package/dist/casino-engagement-suite-challenges-list/p-80282e46.entry.js +1 -0
- package/dist/casino-engagement-suite-challenges-list/p-ce3e6c64.js +2 -0
- package/dist/cjs/casino-engagement-suite-challenges-list.cjs.js +2 -2
- package/dist/cjs/casino-engagement-suite-challenges-list_2.cjs.entry.js +23 -56
- package/dist/cjs/{index-c95f18bc.js → index-fde7f5ee.js} +71 -206
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/casino-engagement-suite-challenges-list/casino-engagement-suite-challenges-list.js +16 -47
- package/dist/esm/casino-engagement-suite-challenges-list.js +3 -3
- package/dist/esm/casino-engagement-suite-challenges-list_2.entry.js +23 -56
- package/dist/esm/{index-61dbba4e.js → index-9061ff5d.js} +71 -206
- package/dist/esm/loader.js +2 -2
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-challenges-list/.stencil/packages/stencil/casino-engagement-suite-challenges-list/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-challenges-list/.stencil/packages/stencil/casino-engagement-suite-challenges-list/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/casino-engagement-suite-challenges-list/casino-engagement-suite-challenges-list.d.ts +3 -3
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/package.json +1 -1
- package/dist/casino-engagement-suite-challenges-list/p-12c1c66d.js +0 -2
- package/dist/casino-engagement-suite-challenges-list/p-190b420d.entry.js +0 -1
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-challenges-list/.stencil/packages/stencil/casino-engagement-suite-challenges-list/stencil.config.d.ts +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-challenges-list/.stencil/packages/stencil/casino-engagement-suite-challenges-list/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-challenges-list/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-challenges-list/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-challenges-list/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-challenges-list/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -5,36 +5,6 @@ import "../../../../../casino-engagement-suite-progress-bar/dist/types/index";
|
|
|
5
5
|
import { getChallengesHistoryTemplate, getHistoryLoaderTemplate } from "../../renders/ChallengesHistory";
|
|
6
6
|
export class CasinoEngagementSuiteChallengesList {
|
|
7
7
|
constructor() {
|
|
8
|
-
/**
|
|
9
|
-
* Client custom styling via string
|
|
10
|
-
*/
|
|
11
|
-
this.clientStyling = '';
|
|
12
|
-
/**
|
|
13
|
-
* Client custom styling via url
|
|
14
|
-
*/
|
|
15
|
-
this.clientStylingUrl = '';
|
|
16
|
-
/**
|
|
17
|
-
* Language of the widget
|
|
18
|
-
*/
|
|
19
|
-
this.language = 'en';
|
|
20
|
-
/**
|
|
21
|
-
* User's device type
|
|
22
|
-
*/
|
|
23
|
-
this.device = 'Mobile';
|
|
24
|
-
/**
|
|
25
|
-
* List of challenges
|
|
26
|
-
*/
|
|
27
|
-
this.challenges = [];
|
|
28
|
-
/**
|
|
29
|
-
*Paused Challenge Ids
|
|
30
|
-
*/
|
|
31
|
-
this.pausedChallengeIds = [];
|
|
32
|
-
this.tooltip = false;
|
|
33
|
-
this.timers = {};
|
|
34
|
-
this.limitStylingAppends = false;
|
|
35
|
-
this.activeTab = 1;
|
|
36
|
-
this.historyLoading = false;
|
|
37
|
-
this.openedHistoryIds = [];
|
|
38
8
|
this.setClientStyling = () => {
|
|
39
9
|
let sheet = document.createElement('style');
|
|
40
10
|
sheet.innerHTML = this.clientStyling;
|
|
@@ -111,6 +81,21 @@ export class CasinoEngagementSuiteChallengesList {
|
|
|
111
81
|
},
|
|
112
82
|
});
|
|
113
83
|
};
|
|
84
|
+
this.clientStyling = '';
|
|
85
|
+
this.clientStylingUrl = '';
|
|
86
|
+
this.language = 'en';
|
|
87
|
+
this.device = 'Mobile';
|
|
88
|
+
this.challenges = [];
|
|
89
|
+
this.isJoiningToChallenge = undefined;
|
|
90
|
+
this.inProgressChallenges = undefined;
|
|
91
|
+
this.pausedChallengeIds = [];
|
|
92
|
+
this.tooltip = false;
|
|
93
|
+
this.timers = {};
|
|
94
|
+
this.limitStylingAppends = false;
|
|
95
|
+
this.activeTab = 1;
|
|
96
|
+
this.historyLoading = false;
|
|
97
|
+
this.challengesHistory = undefined;
|
|
98
|
+
this.openedHistoryIds = [];
|
|
114
99
|
}
|
|
115
100
|
handleEvent(e) {
|
|
116
101
|
const { type } = e === null || e === void 0 ? void 0 : e.data;
|
|
@@ -314,8 +299,6 @@ export class CasinoEngagementSuiteChallengesList {
|
|
|
314
299
|
"tags": [],
|
|
315
300
|
"text": "Client custom styling via string"
|
|
316
301
|
},
|
|
317
|
-
"getter": false,
|
|
318
|
-
"setter": false,
|
|
319
302
|
"attribute": "client-styling",
|
|
320
303
|
"reflect": true,
|
|
321
304
|
"defaultValue": "''"
|
|
@@ -334,8 +317,6 @@ export class CasinoEngagementSuiteChallengesList {
|
|
|
334
317
|
"tags": [],
|
|
335
318
|
"text": "Client custom styling via url"
|
|
336
319
|
},
|
|
337
|
-
"getter": false,
|
|
338
|
-
"setter": false,
|
|
339
320
|
"attribute": "client-styling-url",
|
|
340
321
|
"reflect": true,
|
|
341
322
|
"defaultValue": "''"
|
|
@@ -354,8 +335,6 @@ export class CasinoEngagementSuiteChallengesList {
|
|
|
354
335
|
"tags": [],
|
|
355
336
|
"text": "Language of the widget"
|
|
356
337
|
},
|
|
357
|
-
"getter": false,
|
|
358
|
-
"setter": false,
|
|
359
338
|
"attribute": "language",
|
|
360
339
|
"reflect": false,
|
|
361
340
|
"defaultValue": "'en'"
|
|
@@ -374,8 +353,6 @@ export class CasinoEngagementSuiteChallengesList {
|
|
|
374
353
|
"tags": [],
|
|
375
354
|
"text": "User's device type"
|
|
376
355
|
},
|
|
377
|
-
"getter": false,
|
|
378
|
-
"setter": false,
|
|
379
356
|
"attribute": "device",
|
|
380
357
|
"reflect": false,
|
|
381
358
|
"defaultValue": "'Mobile' as 'Mobile' | 'Tablet' | 'Desktop'"
|
|
@@ -400,8 +377,6 @@ export class CasinoEngagementSuiteChallengesList {
|
|
|
400
377
|
"tags": [],
|
|
401
378
|
"text": "List of challenges"
|
|
402
379
|
},
|
|
403
|
-
"getter": false,
|
|
404
|
-
"setter": false,
|
|
405
380
|
"defaultValue": "[] as Array<Challenge>"
|
|
406
381
|
},
|
|
407
382
|
"isJoiningToChallenge": {
|
|
@@ -418,8 +393,6 @@ export class CasinoEngagementSuiteChallengesList {
|
|
|
418
393
|
"tags": [],
|
|
419
394
|
"text": "Is joining to challenge"
|
|
420
395
|
},
|
|
421
|
-
"getter": false,
|
|
422
|
-
"setter": false,
|
|
423
396
|
"attribute": "is-joining-to-challenge",
|
|
424
397
|
"reflect": false
|
|
425
398
|
},
|
|
@@ -441,9 +414,7 @@ export class CasinoEngagementSuiteChallengesList {
|
|
|
441
414
|
"docs": {
|
|
442
415
|
"tags": [],
|
|
443
416
|
"text": "Active challenges"
|
|
444
|
-
}
|
|
445
|
-
"getter": false,
|
|
446
|
-
"setter": false
|
|
417
|
+
}
|
|
447
418
|
},
|
|
448
419
|
"pausedChallengeIds": {
|
|
449
420
|
"type": "unknown",
|
|
@@ -459,8 +430,6 @@ export class CasinoEngagementSuiteChallengesList {
|
|
|
459
430
|
"tags": [],
|
|
460
431
|
"text": "Paused Challenge Ids"
|
|
461
432
|
},
|
|
462
|
-
"getter": false,
|
|
463
|
-
"setter": false,
|
|
464
433
|
"defaultValue": "[] as Array<string>"
|
|
465
434
|
}
|
|
466
435
|
};
|
|
@@ -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-9061ff5d.js';
|
|
2
|
+
export { s as setNonce } from './index-9061ff5d.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.19.2 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, r as registerInstance, c as createEvent, g as getElement } from './index-
|
|
1
|
+
import { h, r as registerInstance, c as createEvent, g as getElement } from './index-9061ff5d.js';
|
|
2
2
|
|
|
3
3
|
var ChallengeRewardType;
|
|
4
4
|
(function (ChallengeRewardType) {
|
|
@@ -2329,36 +2329,6 @@ const CasinoEngagementSuiteChallengesList = class {
|
|
|
2329
2329
|
registerInstance(this, hostRef);
|
|
2330
2330
|
this.close = createEvent(this, "close", 7);
|
|
2331
2331
|
this.resetNewChallengeLabel = createEvent(this, "resetNewChallengeLabel", 7);
|
|
2332
|
-
/**
|
|
2333
|
-
* Client custom styling via string
|
|
2334
|
-
*/
|
|
2335
|
-
this.clientStyling = '';
|
|
2336
|
-
/**
|
|
2337
|
-
* Client custom styling via url
|
|
2338
|
-
*/
|
|
2339
|
-
this.clientStylingUrl = '';
|
|
2340
|
-
/**
|
|
2341
|
-
* Language of the widget
|
|
2342
|
-
*/
|
|
2343
|
-
this.language = 'en';
|
|
2344
|
-
/**
|
|
2345
|
-
* User's device type
|
|
2346
|
-
*/
|
|
2347
|
-
this.device = 'Mobile';
|
|
2348
|
-
/**
|
|
2349
|
-
* List of challenges
|
|
2350
|
-
*/
|
|
2351
|
-
this.challenges = [];
|
|
2352
|
-
/**
|
|
2353
|
-
*Paused Challenge Ids
|
|
2354
|
-
*/
|
|
2355
|
-
this.pausedChallengeIds = [];
|
|
2356
|
-
this.tooltip = false;
|
|
2357
|
-
this.timers = {};
|
|
2358
|
-
this.limitStylingAppends = false;
|
|
2359
|
-
this.activeTab = 1;
|
|
2360
|
-
this.historyLoading = false;
|
|
2361
|
-
this.openedHistoryIds = [];
|
|
2362
2332
|
this.setClientStyling = () => {
|
|
2363
2333
|
let sheet = document.createElement('style');
|
|
2364
2334
|
sheet.innerHTML = this.clientStyling;
|
|
@@ -2435,6 +2405,21 @@ const CasinoEngagementSuiteChallengesList = class {
|
|
|
2435
2405
|
},
|
|
2436
2406
|
});
|
|
2437
2407
|
};
|
|
2408
|
+
this.clientStyling = '';
|
|
2409
|
+
this.clientStylingUrl = '';
|
|
2410
|
+
this.language = 'en';
|
|
2411
|
+
this.device = 'Mobile';
|
|
2412
|
+
this.challenges = [];
|
|
2413
|
+
this.isJoiningToChallenge = undefined;
|
|
2414
|
+
this.inProgressChallenges = undefined;
|
|
2415
|
+
this.pausedChallengeIds = [];
|
|
2416
|
+
this.tooltip = false;
|
|
2417
|
+
this.timers = {};
|
|
2418
|
+
this.limitStylingAppends = false;
|
|
2419
|
+
this.activeTab = 1;
|
|
2420
|
+
this.historyLoading = false;
|
|
2421
|
+
this.challengesHistory = undefined;
|
|
2422
|
+
this.openedHistoryIds = [];
|
|
2438
2423
|
}
|
|
2439
2424
|
handleEvent(e) {
|
|
2440
2425
|
const { type } = e === null || e === void 0 ? void 0 : e.data;
|
|
@@ -2623,31 +2608,6 @@ const CasinoEngagementSuiteProgressBarStyle0 = casinoEngagementSuiteProgressBarC
|
|
|
2623
2608
|
const CasinoEngagementSuiteProgressBar = class {
|
|
2624
2609
|
constructor(hostRef) {
|
|
2625
2610
|
registerInstance(this, hostRef);
|
|
2626
|
-
/**
|
|
2627
|
-
* Value for the widget
|
|
2628
|
-
*/
|
|
2629
|
-
this.value = 0;
|
|
2630
|
-
/**
|
|
2631
|
-
* Shows disabled styles
|
|
2632
|
-
*/
|
|
2633
|
-
this.disabled = false;
|
|
2634
|
-
/**
|
|
2635
|
-
* Hide percent value
|
|
2636
|
-
*/
|
|
2637
|
-
this.hidePercent = false;
|
|
2638
|
-
/**
|
|
2639
|
-
* Constantly animates
|
|
2640
|
-
*/
|
|
2641
|
-
this.indeterminate = false;
|
|
2642
|
-
/**
|
|
2643
|
-
* Client custom styling via string
|
|
2644
|
-
*/
|
|
2645
|
-
this.clientStyling = '';
|
|
2646
|
-
/**
|
|
2647
|
-
* Client custom styling via url
|
|
2648
|
-
*/
|
|
2649
|
-
this.clientStylingUrl = '';
|
|
2650
|
-
this.limitStylingAppends = false;
|
|
2651
2611
|
this.setClientStyling = () => {
|
|
2652
2612
|
let sheet = document.createElement('style');
|
|
2653
2613
|
sheet.innerHTML = this.clientStyling;
|
|
@@ -2666,6 +2626,13 @@ const CasinoEngagementSuiteProgressBar = class {
|
|
|
2666
2626
|
console.log('Error ', err);
|
|
2667
2627
|
});
|
|
2668
2628
|
};
|
|
2629
|
+
this.value = 0;
|
|
2630
|
+
this.disabled = false;
|
|
2631
|
+
this.hidePercent = false;
|
|
2632
|
+
this.indeterminate = false;
|
|
2633
|
+
this.clientStyling = '';
|
|
2634
|
+
this.clientStylingUrl = '';
|
|
2635
|
+
this.limitStylingAppends = false;
|
|
2669
2636
|
}
|
|
2670
2637
|
componentDidRender() {
|
|
2671
2638
|
if (!this.limitStylingAppends && this.host) {
|