@everymatrix/casino-engagement-suite-luckywheel-list 1.56.0 → 1.56.2
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-b1637276.js +2 -0
- package/dist/casino-engagement-suite-luckywheel-list/{p-0d270bab.entry.js → p-bfe195ea.entry.js} +1 -1
- package/dist/casino-engagement-suite-luckywheel-list/{p-95998397.js → p-d338274b.js} +1 -1
- package/dist/cjs/{casino-engagement-suite-luckywheel-list-1978fae3.js → casino-engagement-suite-luckywheel-list-f932b388.js} +22 -37
- package/dist/cjs/casino-engagement-suite-luckywheel-list.cjs.js +2 -2
- package/dist/cjs/casino-engagement-suite-luckywheel-list_2.cjs.entry.js +9 -27
- package/dist/cjs/{index-622d50a1.js → index-c93b88f6.js} +71 -206
- 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-list/casino-engagement-suite-luckywheel-list.js +15 -45
- package/dist/esm/{casino-engagement-suite-luckywheel-list-e5d5497e.js → casino-engagement-suite-luckywheel-list-4e9fb36c.js} +22 -37
- package/dist/esm/casino-engagement-suite-luckywheel-list.js +3 -3
- package/dist/esm/casino-engagement-suite-luckywheel-list_2.entry.js +9 -27
- package/dist/esm/{index-ccb37e4c.js → index-8671bc92.js} +71 -206
- 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-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.d.ts +2 -0
- 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 +2 -0
- package/dist/types/components/casino-engagement-suite-luckywheel-list/casino-engagement-suite-luckywheel-list.d.ts +2 -2
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/package.json +1 -1
- package/dist/casino-engagement-suite-luckywheel-list/p-f8cbc45f.js +0 -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 +0 -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.dev.d.ts +0 -2
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-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-luckywheel-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-luckywheel-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-luckywheel-list/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as h$1, r as registerInstance, c as createEvent, g as getElement } from './index-
|
|
1
|
+
import { h as h$1, r as registerInstance, c as createEvent, g as getElement } from './index-8671bc92.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_LANGUAGE = 'en';
|
|
4
4
|
const SUPPORTED_LANGUAGES = ['en'];
|
|
@@ -78,7 +78,8 @@ function U(t, e, n) {
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
function I(t) {
|
|
81
|
-
if (!t)
|
|
81
|
+
if (!t)
|
|
82
|
+
return document;
|
|
82
83
|
const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
|
|
83
84
|
return e && /** @type {ShadowRoot} */
|
|
84
85
|
e.host ? (
|
|
@@ -122,7 +123,8 @@ function _(t) {
|
|
|
122
123
|
p = t;
|
|
123
124
|
}
|
|
124
125
|
function J() {
|
|
125
|
-
if (!p)
|
|
126
|
+
if (!p)
|
|
127
|
+
throw new Error("Function called outside component initialization");
|
|
126
128
|
return p;
|
|
127
129
|
}
|
|
128
130
|
function V(t) {
|
|
@@ -153,7 +155,8 @@ function m() {
|
|
|
153
155
|
} catch (e) {
|
|
154
156
|
throw $.length = 0, f = 0, e;
|
|
155
157
|
}
|
|
156
|
-
for (_(null), $.length = 0, f = 0; w.length; )
|
|
158
|
+
for (_(null), $.length = 0, f = 0; w.length; )
|
|
159
|
+
w.pop()();
|
|
157
160
|
for (let e = 0; e < h.length; e += 1) {
|
|
158
161
|
const n = h[e];
|
|
159
162
|
b.has(n) || (b.add(n), n());
|
|
@@ -2829,39 +2832,6 @@ const CasinoEngagementSuiteLuckyWheelList = class {
|
|
|
2829
2832
|
constructor(hostRef) {
|
|
2830
2833
|
registerInstance(this, hostRef);
|
|
2831
2834
|
this.close = createEvent(this, "close", 7);
|
|
2832
|
-
/**
|
|
2833
|
-
* Client custom styling via string
|
|
2834
|
-
*/
|
|
2835
|
-
this.clientStyling = '';
|
|
2836
|
-
/**
|
|
2837
|
-
* Client custom styling via url
|
|
2838
|
-
*/
|
|
2839
|
-
this.clientStylingUrl = '';
|
|
2840
|
-
/**
|
|
2841
|
-
* Language of the widget
|
|
2842
|
-
*/
|
|
2843
|
-
this.language = 'en';
|
|
2844
|
-
/**
|
|
2845
|
-
* User's device type
|
|
2846
|
-
*/
|
|
2847
|
-
this.device = 'Mobile';
|
|
2848
|
-
/**
|
|
2849
|
-
* List of lucky wheels
|
|
2850
|
-
*/
|
|
2851
|
-
this.luckyWheels = [];
|
|
2852
|
-
/**
|
|
2853
|
-
* Translations via URL
|
|
2854
|
-
*/
|
|
2855
|
-
this.translationUrl = '';
|
|
2856
|
-
this.tooltip = false;
|
|
2857
|
-
this.timers = {};
|
|
2858
|
-
this.limitStylingAppends = false;
|
|
2859
|
-
this.activeTab = 1;
|
|
2860
|
-
this.historyLoading = false;
|
|
2861
|
-
this.luckywheelHistory = {};
|
|
2862
|
-
this.openedHistoryIds = [];
|
|
2863
|
-
this.historyLoaded = false;
|
|
2864
|
-
this.isLoading = false;
|
|
2865
2835
|
this.setClientStyling = () => {
|
|
2866
2836
|
let sheet = document.createElement('style');
|
|
2867
2837
|
sheet.innerHTML = this.clientStyling;
|
|
@@ -2912,6 +2882,21 @@ const CasinoEngagementSuiteLuckyWheelList = class {
|
|
|
2912
2882
|
}
|
|
2913
2883
|
this.openedHistoryIds = [...this.openedHistoryIds];
|
|
2914
2884
|
};
|
|
2885
|
+
this.clientStyling = '';
|
|
2886
|
+
this.clientStylingUrl = '';
|
|
2887
|
+
this.language = 'en';
|
|
2888
|
+
this.device = 'Mobile';
|
|
2889
|
+
this.luckyWheels = [];
|
|
2890
|
+
this.translationUrl = '';
|
|
2891
|
+
this.tooltip = false;
|
|
2892
|
+
this.timers = {};
|
|
2893
|
+
this.limitStylingAppends = false;
|
|
2894
|
+
this.activeTab = 1;
|
|
2895
|
+
this.historyLoading = false;
|
|
2896
|
+
this.luckywheelHistory = {};
|
|
2897
|
+
this.openedHistoryIds = [];
|
|
2898
|
+
this.historyLoaded = false;
|
|
2899
|
+
this.isLoading = false;
|
|
2915
2900
|
}
|
|
2916
2901
|
handleEvent(e) {
|
|
2917
2902
|
const { type } = e === null || e === void 0 ? void 0 : e.data;
|
|
@@ -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-8671bc92.js';
|
|
2
|
+
export { s as setNonce } from './index-8671bc92.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,5 +1,5 @@
|
|
|
1
|
-
export { C as casino_engagement_suite_luckywheel_list } from './casino-engagement-suite-luckywheel-list-
|
|
2
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
1
|
+
export { C as casino_engagement_suite_luckywheel_list } from './casino-engagement-suite-luckywheel-list-4e9fb36c.js';
|
|
2
|
+
import { r as registerInstance, h, g as getElement } from './index-8671bc92.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) {
|