@everymatrix/casino-engagement-suite-luckywheel 0.2.0 → 0.2.1
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/casino-engagement-suite-luckywheel.esm.js +1 -1
- package/dist/casino-engagement-suite-luckywheel/index.esm.js +1 -1
- package/dist/casino-engagement-suite-luckywheel/p-7d1170ae.js +2 -0
- package/dist/casino-engagement-suite-luckywheel/p-e1ff4a5e.entry.js +1 -0
- package/dist/casino-engagement-suite-luckywheel/p-eb7c14fc.js +15 -0
- package/dist/cjs/{casino-engagement-suite-luckywheel-cc8d37c2.js → casino-engagement-suite-luckywheel-8e04ce53.js} +21 -37
- package/dist/cjs/casino-engagement-suite-luckywheel.cjs.entry.js +2 -2
- package/dist/cjs/casino-engagement-suite-luckywheel.cjs.js +2 -2
- package/dist/cjs/{index-b46604f4.js → index-6096cc4b.js} +70 -207
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/casino-engagement-suite-luckywheel/casino-engagement-suite-luckywheel.js +19 -44
- package/dist/esm/{casino-engagement-suite-luckywheel-cf7e798a.js → casino-engagement-suite-luckywheel-a8c23787.js} +21 -37
- package/dist/esm/casino-engagement-suite-luckywheel.entry.js +2 -2
- package/dist/esm/casino-engagement-suite-luckywheel.js +3 -3
- package/dist/esm/{index-8ce51859.js → index-48c42d04.js} +70 -207
- 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-luckywheel/.stencil/packages/stencil/casino-engagement-suite-luckywheel/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel/.stencil/packages/stencil/casino-engagement-suite-luckywheel/stencil.config.dev.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/package.json +1 -1
- package/dist/casino-engagement-suite-luckywheel/p-2a6e103b.entry.js +0 -1
- package/dist/casino-engagement-suite-luckywheel/p-781c5f2a.js +0 -1
- package/dist/casino-engagement-suite-luckywheel/p-eaad80fd.js +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel/.stencil/packages/stencil/casino-engagement-suite-luckywheel/stencil.config.d.ts +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel/.stencil/packages/stencil/casino-engagement-suite-luckywheel/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-luckywheel/.stencil/packages/stencil/casino-engagement-suite-luckywheel/storybook/main.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel/.stencil/packages/stencil/casino-engagement-suite-luckywheel/storybook/preview.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel/.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-luckywheel/.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-luckywheel/.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-luckywheel/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -6,35 +6,6 @@ import { getOptions, isSafari, setProps } from "../../utils/utils";
|
|
|
6
6
|
import { Spinner } from "../../utils/class.spinner";
|
|
7
7
|
export class CasinoEngagementSuiteLuckywheel {
|
|
8
8
|
constructor() {
|
|
9
|
-
/**
|
|
10
|
-
* Client custom styling via string
|
|
11
|
-
*/
|
|
12
|
-
this.clientStyling = '';
|
|
13
|
-
/**
|
|
14
|
-
* Client custom styling via url
|
|
15
|
-
*/
|
|
16
|
-
this.clientStylingUrl = '';
|
|
17
|
-
/**
|
|
18
|
-
* Language of the widget
|
|
19
|
-
*/
|
|
20
|
-
this.language = 'en';
|
|
21
|
-
/**
|
|
22
|
-
* User's device type
|
|
23
|
-
*/
|
|
24
|
-
this.device = 'Mobile';
|
|
25
|
-
/**
|
|
26
|
-
* Wheel size
|
|
27
|
-
*/
|
|
28
|
-
this.size = '440';
|
|
29
|
-
/**
|
|
30
|
-
* Content Direction
|
|
31
|
-
*/
|
|
32
|
-
this.contentdirection = 'anticlockwise';
|
|
33
|
-
this.limitStylingAppends = false;
|
|
34
|
-
this.isPartitionsCustomableReady = false;
|
|
35
|
-
this.isSpinning = false;
|
|
36
|
-
this.radius = 0.85 * Number(this.size) / 2;
|
|
37
|
-
this.speed = 0;
|
|
38
9
|
this.setClientStyling = () => {
|
|
39
10
|
let sheet = document.createElement('style');
|
|
40
11
|
sheet.innerHTML = this.clientStyling;
|
|
@@ -101,6 +72,24 @@ export class CasinoEngagementSuiteLuckywheel {
|
|
|
101
72
|
}
|
|
102
73
|
this.eventSpin();
|
|
103
74
|
};
|
|
75
|
+
this.clientStyling = '';
|
|
76
|
+
this.clientStylingUrl = '';
|
|
77
|
+
this.language = 'en';
|
|
78
|
+
this.device = 'Mobile';
|
|
79
|
+
this.luckywheel = undefined;
|
|
80
|
+
this.size = '440';
|
|
81
|
+
this.contentdirection = 'anticlockwise';
|
|
82
|
+
this.limitStylingAppends = false;
|
|
83
|
+
this.isPartitionsCustomableReady = false;
|
|
84
|
+
this.isSpinning = false;
|
|
85
|
+
this.options = undefined;
|
|
86
|
+
this.radius = 0.85 * Number(this.size) / 2;
|
|
87
|
+
this.speed = 0;
|
|
88
|
+
this.settings = undefined;
|
|
89
|
+
this.svg = undefined;
|
|
90
|
+
this.spinContainer = undefined;
|
|
91
|
+
this.spinable = undefined;
|
|
92
|
+
this.spinner = undefined;
|
|
104
93
|
}
|
|
105
94
|
handleEvent(e) {
|
|
106
95
|
const _a = e === null || e === void 0 ? void 0 : e.data, { type } = _a, rest = __rest(_a, ["type"]);
|
|
@@ -208,8 +197,6 @@ export class CasinoEngagementSuiteLuckywheel {
|
|
|
208
197
|
"tags": [],
|
|
209
198
|
"text": "Client custom styling via string"
|
|
210
199
|
},
|
|
211
|
-
"getter": false,
|
|
212
|
-
"setter": false,
|
|
213
200
|
"attribute": "client-styling",
|
|
214
201
|
"reflect": true,
|
|
215
202
|
"defaultValue": "''"
|
|
@@ -228,8 +215,6 @@ export class CasinoEngagementSuiteLuckywheel {
|
|
|
228
215
|
"tags": [],
|
|
229
216
|
"text": "Client custom styling via url"
|
|
230
217
|
},
|
|
231
|
-
"getter": false,
|
|
232
|
-
"setter": false,
|
|
233
218
|
"attribute": "client-styling-url",
|
|
234
219
|
"reflect": true,
|
|
235
220
|
"defaultValue": "''"
|
|
@@ -248,8 +233,6 @@ export class CasinoEngagementSuiteLuckywheel {
|
|
|
248
233
|
"tags": [],
|
|
249
234
|
"text": "Language of the widget"
|
|
250
235
|
},
|
|
251
|
-
"getter": false,
|
|
252
|
-
"setter": false,
|
|
253
236
|
"attribute": "language",
|
|
254
237
|
"reflect": false,
|
|
255
238
|
"defaultValue": "'en'"
|
|
@@ -268,8 +251,6 @@ export class CasinoEngagementSuiteLuckywheel {
|
|
|
268
251
|
"tags": [],
|
|
269
252
|
"text": "User's device type"
|
|
270
253
|
},
|
|
271
|
-
"getter": false,
|
|
272
|
-
"setter": false,
|
|
273
254
|
"attribute": "device",
|
|
274
255
|
"reflect": false,
|
|
275
256
|
"defaultValue": "'Mobile' as 'Mobile' | 'Tablet' | 'Desktop'"
|
|
@@ -293,9 +274,7 @@ export class CasinoEngagementSuiteLuckywheel {
|
|
|
293
274
|
"docs": {
|
|
294
275
|
"tags": [],
|
|
295
276
|
"text": "Active Luckywheel"
|
|
296
|
-
}
|
|
297
|
-
"getter": false,
|
|
298
|
-
"setter": false
|
|
277
|
+
}
|
|
299
278
|
},
|
|
300
279
|
"size": {
|
|
301
280
|
"type": "string",
|
|
@@ -311,8 +290,6 @@ export class CasinoEngagementSuiteLuckywheel {
|
|
|
311
290
|
"tags": [],
|
|
312
291
|
"text": "Wheel size"
|
|
313
292
|
},
|
|
314
|
-
"getter": false,
|
|
315
|
-
"setter": false,
|
|
316
293
|
"attribute": "size",
|
|
317
294
|
"reflect": false,
|
|
318
295
|
"defaultValue": "'440'"
|
|
@@ -331,8 +308,6 @@ export class CasinoEngagementSuiteLuckywheel {
|
|
|
331
308
|
"tags": [],
|
|
332
309
|
"text": "Content Direction"
|
|
333
310
|
},
|
|
334
|
-
"getter": false,
|
|
335
|
-
"setter": false,
|
|
336
311
|
"attribute": "contentdirection",
|
|
337
312
|
"reflect": false,
|
|
338
313
|
"defaultValue": "'anticlockwise'"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-48c42d04.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 PointerMode;
|
|
36
31
|
(function (PointerMode) {
|
|
@@ -556,35 +551,6 @@ const CasinoEngagementSuiteLuckywheelStyle0 = casinoEngagementSuiteLuckywheelCss
|
|
|
556
551
|
const CasinoEngagementSuiteLuckywheel = class {
|
|
557
552
|
constructor(hostRef) {
|
|
558
553
|
registerInstance(this, hostRef);
|
|
559
|
-
/**
|
|
560
|
-
* Client custom styling via string
|
|
561
|
-
*/
|
|
562
|
-
this.clientStyling = '';
|
|
563
|
-
/**
|
|
564
|
-
* Client custom styling via url
|
|
565
|
-
*/
|
|
566
|
-
this.clientStylingUrl = '';
|
|
567
|
-
/**
|
|
568
|
-
* Language of the widget
|
|
569
|
-
*/
|
|
570
|
-
this.language = 'en';
|
|
571
|
-
/**
|
|
572
|
-
* User's device type
|
|
573
|
-
*/
|
|
574
|
-
this.device = 'Mobile';
|
|
575
|
-
/**
|
|
576
|
-
* Wheel size
|
|
577
|
-
*/
|
|
578
|
-
this.size = '440';
|
|
579
|
-
/**
|
|
580
|
-
* Content Direction
|
|
581
|
-
*/
|
|
582
|
-
this.contentdirection = 'anticlockwise';
|
|
583
|
-
this.limitStylingAppends = false;
|
|
584
|
-
this.isPartitionsCustomableReady = false;
|
|
585
|
-
this.isSpinning = false;
|
|
586
|
-
this.radius = 0.85 * Number(this.size) / 2;
|
|
587
|
-
this.speed = 0;
|
|
588
554
|
this.setClientStyling = () => {
|
|
589
555
|
let sheet = document.createElement('style');
|
|
590
556
|
sheet.innerHTML = this.clientStyling;
|
|
@@ -651,6 +617,24 @@ const CasinoEngagementSuiteLuckywheel = class {
|
|
|
651
617
|
}
|
|
652
618
|
this.eventSpin();
|
|
653
619
|
};
|
|
620
|
+
this.clientStyling = '';
|
|
621
|
+
this.clientStylingUrl = '';
|
|
622
|
+
this.language = 'en';
|
|
623
|
+
this.device = 'Mobile';
|
|
624
|
+
this.luckywheel = undefined;
|
|
625
|
+
this.size = '440';
|
|
626
|
+
this.contentdirection = 'anticlockwise';
|
|
627
|
+
this.limitStylingAppends = false;
|
|
628
|
+
this.isPartitionsCustomableReady = false;
|
|
629
|
+
this.isSpinning = false;
|
|
630
|
+
this.options = undefined;
|
|
631
|
+
this.radius = 0.85 * Number(this.size) / 2;
|
|
632
|
+
this.speed = 0;
|
|
633
|
+
this.settings = undefined;
|
|
634
|
+
this.svg = undefined;
|
|
635
|
+
this.spinContainer = undefined;
|
|
636
|
+
this.spinable = undefined;
|
|
637
|
+
this.spinner = undefined;
|
|
654
638
|
}
|
|
655
639
|
handleEvent(e) {
|
|
656
640
|
const _a = e === null || e === void 0 ? void 0 : e.data, { type } = _a, rest = __rest(_a, ["type"]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { C as casino_engagement_suite_luckywheel } from './casino-engagement-suite-luckywheel-
|
|
2
|
-
import './index-
|
|
1
|
+
export { C as casino_engagement_suite_luckywheel } from './casino-engagement-suite-luckywheel-a8c23787.js';
|
|
2
|
+
import './index-48c42d04.js';
|
|
@@ -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-48c42d04.js';
|
|
2
|
+
export { s as setNonce } from './index-48c42d04.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;
|