@everymatrix/casino-engagement-suite-luckywheel-list 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.
- package/dist/casino-engagement-suite-luckywheel-list/casino-engagement-suite-luckywheel-list.esm.js +1 -1
- package/dist/casino-engagement-suite-luckywheel-list/index.esm.js +1 -1
- package/dist/casino-engagement-suite-luckywheel-list/{p-85d47702.entry.js → p-0d270bab.entry.js} +1 -1
- package/dist/casino-engagement-suite-luckywheel-list/p-95998397.js +1 -0
- package/dist/casino-engagement-suite-luckywheel-list/p-f8cbc45f.js +2 -0
- package/dist/cjs/{casino-engagement-suite-luckywheel-list-165ce85c.js → casino-engagement-suite-luckywheel-list-1978fae3.js} +214 -157
- package/dist/cjs/casino-engagement-suite-luckywheel-list.cjs.js +2 -2
- package/dist/cjs/casino-engagement-suite-luckywheel-list_2.cjs.entry.js +27 -9
- package/dist/cjs/{index-3815b8e0.js → index-622d50a1.js} +172 -71
- 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-luckywheel-list/casino-engagement-suite-luckywheel-list.js +45 -15
- package/dist/esm/{casino-engagement-suite-luckywheel-list-22ab01f5.js → casino-engagement-suite-luckywheel-list-e5d5497e.js} +214 -157
- package/dist/esm/casino-engagement-suite-luckywheel-list.js +3 -3
- package/dist/esm/casino-engagement-suite-luckywheel-list_2.entry.js +27 -9
- package/dist/esm/{index-68de30f0.js → index-ccb37e4c.js} +172 -71
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.dev.d.ts +2 -0
- package/package.json +1 -1
- package/dist/casino-engagement-suite-luckywheel-list/p-40284e0b.js +0 -1
- package/dist/casino-engagement-suite-luckywheel-list/p-c227cdc7.js +0 -2
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.d.ts +0 -2
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -5,6 +5,39 @@ import "../../../../../../svelte/general-animation-loading/esnext/general-animat
|
|
|
5
5
|
import { getHistoryLoaderTemplate, getLuckyWheelsHistoryTemplate } from "../../renders/LuckyWheelsHistory";
|
|
6
6
|
export class CasinoEngagementSuiteLuckyWheelList {
|
|
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 lucky wheels
|
|
26
|
+
*/
|
|
27
|
+
this.luckyWheels = [];
|
|
28
|
+
/**
|
|
29
|
+
* Translations via URL
|
|
30
|
+
*/
|
|
31
|
+
this.translationUrl = '';
|
|
32
|
+
this.tooltip = false;
|
|
33
|
+
this.timers = {};
|
|
34
|
+
this.limitStylingAppends = false;
|
|
35
|
+
this.activeTab = 1;
|
|
36
|
+
this.historyLoading = false;
|
|
37
|
+
this.luckywheelHistory = {};
|
|
38
|
+
this.openedHistoryIds = [];
|
|
39
|
+
this.historyLoaded = false;
|
|
40
|
+
this.isLoading = false;
|
|
8
41
|
this.setClientStyling = () => {
|
|
9
42
|
let sheet = document.createElement('style');
|
|
10
43
|
sheet.innerHTML = this.clientStyling;
|
|
@@ -55,21 +88,6 @@ export class CasinoEngagementSuiteLuckyWheelList {
|
|
|
55
88
|
}
|
|
56
89
|
this.openedHistoryIds = [...this.openedHistoryIds];
|
|
57
90
|
};
|
|
58
|
-
this.clientStyling = '';
|
|
59
|
-
this.clientStylingUrl = '';
|
|
60
|
-
this.language = 'en';
|
|
61
|
-
this.device = 'Mobile';
|
|
62
|
-
this.luckyWheels = [];
|
|
63
|
-
this.translationUrl = '';
|
|
64
|
-
this.tooltip = false;
|
|
65
|
-
this.timers = {};
|
|
66
|
-
this.limitStylingAppends = false;
|
|
67
|
-
this.activeTab = 1;
|
|
68
|
-
this.historyLoading = false;
|
|
69
|
-
this.luckywheelHistory = {};
|
|
70
|
-
this.openedHistoryIds = [];
|
|
71
|
-
this.historyLoaded = false;
|
|
72
|
-
this.isLoading = false;
|
|
73
91
|
}
|
|
74
92
|
handleEvent(e) {
|
|
75
93
|
const { type } = e === null || e === void 0 ? void 0 : e.data;
|
|
@@ -235,6 +253,8 @@ export class CasinoEngagementSuiteLuckyWheelList {
|
|
|
235
253
|
"tags": [],
|
|
236
254
|
"text": "Client custom styling via string"
|
|
237
255
|
},
|
|
256
|
+
"getter": false,
|
|
257
|
+
"setter": false,
|
|
238
258
|
"attribute": "client-styling",
|
|
239
259
|
"reflect": true,
|
|
240
260
|
"defaultValue": "''"
|
|
@@ -253,6 +273,8 @@ export class CasinoEngagementSuiteLuckyWheelList {
|
|
|
253
273
|
"tags": [],
|
|
254
274
|
"text": "Client custom styling via url"
|
|
255
275
|
},
|
|
276
|
+
"getter": false,
|
|
277
|
+
"setter": false,
|
|
256
278
|
"attribute": "client-styling-url",
|
|
257
279
|
"reflect": true,
|
|
258
280
|
"defaultValue": "''"
|
|
@@ -271,6 +293,8 @@ export class CasinoEngagementSuiteLuckyWheelList {
|
|
|
271
293
|
"tags": [],
|
|
272
294
|
"text": "Language of the widget"
|
|
273
295
|
},
|
|
296
|
+
"getter": false,
|
|
297
|
+
"setter": false,
|
|
274
298
|
"attribute": "language",
|
|
275
299
|
"reflect": false,
|
|
276
300
|
"defaultValue": "'en'"
|
|
@@ -289,6 +313,8 @@ export class CasinoEngagementSuiteLuckyWheelList {
|
|
|
289
313
|
"tags": [],
|
|
290
314
|
"text": "User's device type"
|
|
291
315
|
},
|
|
316
|
+
"getter": false,
|
|
317
|
+
"setter": false,
|
|
292
318
|
"attribute": "device",
|
|
293
319
|
"reflect": false,
|
|
294
320
|
"defaultValue": "'Mobile' as 'Mobile' | 'Tablet' | 'Desktop'"
|
|
@@ -313,6 +339,8 @@ export class CasinoEngagementSuiteLuckyWheelList {
|
|
|
313
339
|
"tags": [],
|
|
314
340
|
"text": "List of lucky wheels"
|
|
315
341
|
},
|
|
342
|
+
"getter": false,
|
|
343
|
+
"setter": false,
|
|
316
344
|
"defaultValue": "[] as Array<LuckyWheel>"
|
|
317
345
|
},
|
|
318
346
|
"translationUrl": {
|
|
@@ -329,6 +357,8 @@ export class CasinoEngagementSuiteLuckyWheelList {
|
|
|
329
357
|
"tags": [],
|
|
330
358
|
"text": "Translations via URL"
|
|
331
359
|
},
|
|
360
|
+
"getter": false,
|
|
361
|
+
"setter": false,
|
|
332
362
|
"attribute": "translation-url",
|
|
333
363
|
"reflect": false,
|
|
334
364
|
"defaultValue": "''"
|