@everymatrix/casino-engagement-suite-bar 1.44.0 → 1.45.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-bar/casino-engagement-suite-bar.esm.js +1 -1
- package/dist/casino-engagement-suite-bar/p-0a29e254.entry.js +1 -0
- package/dist/casino-engagement-suite-bar/p-e1255160.js +1 -0
- package/dist/casino-engagement-suite-bar/p-e3622c4f.js +2 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/casino-engagement-suite-bar.cjs.entry.js +104 -126
- package/dist/cjs/casino-engagement-suite-bar.cjs.js +16 -10
- package/dist/cjs/index-650e78a1.js +1181 -0
- package/dist/cjs/loader.cjs.js +6 -12
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/casino-engagement-suite-bar/casino-engagement-suite-bar.css +20 -20
- package/dist/collection/components/casino-engagement-suite-bar/casino-engagement-suite-bar.js +374 -411
- package/dist/collection/components/casino-engagement-suite-bar/index.js +1 -0
- package/dist/collection/utils/index.js +3 -3
- package/dist/collection/utils/locale.utils.js +5 -5
- package/dist/collection/utils/utils.js +3 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/casino-engagement-suite-bar.entry.js +104 -126
- package/dist/esm/casino-engagement-suite-bar.js +13 -10
- package/dist/esm/index-6a254eea.js +1155 -0
- package/dist/esm/loader.js +6 -12
- package/dist/stencil.config.dev.js +17 -0
- package/dist/stencil.config.js +14 -19
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/packages/stencil/casino-engagement-suite-bar/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/packages/stencil/casino-engagement-suite-bar/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/casino-engagement-suite-bar/casino-engagement-suite-bar.d.ts +68 -68
- package/dist/types/components/casino-engagement-suite-bar/index.d.ts +1 -0
- package/dist/types/components.d.ts +1 -0
- package/dist/types/models/index.d.ts +11 -11
- package/dist/types/stencil-public-runtime.d.ts +142 -33
- package/dist/types/utils/utils.d.ts +1 -0
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +13 -1
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/loader/package.json +1 -0
- package/package.json +9 -2
- package/dist/casino-engagement-suite-bar/p-09703adc.js +0 -1
- package/dist/casino-engagement-suite-bar/p-6a92c0ec.entry.js +0 -1
- package/dist/cjs/index-baea8059.js +0 -1163
- package/dist/components/casino-engagement-suite-bar.d.ts +0 -11
- package/dist/components/casino-engagement-suite-bar.js +0 -178
- package/dist/components/index.d.ts +0 -26
- package/dist/components/index.js +0 -1
- package/dist/esm/index-965162c9.js +0 -1138
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/casino-engagement-suite-bar/.stencil/packages/casino-engagement-suite-bar/stencil.config.d.ts +0 -2
package/dist/esm/loader.js
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as bootstrapLazy } from './index-6a254eea.js';
|
|
2
|
+
export { s as setNonce } from './index-6a254eea.js';
|
|
3
|
+
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const patchEsm = () => {
|
|
7
|
-
return promiseResolve();
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
const defineCustomElements = (win, options) => {
|
|
11
|
-
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
|
-
return patchEsm().then(() => {
|
|
5
|
+
const defineCustomElements = async (win, options) => {
|
|
6
|
+
if (typeof window === 'undefined') return undefined;
|
|
7
|
+
await globalScripts();
|
|
13
8
|
return bootstrapLazy([["casino-engagement-suite-bar",[[1,"casino-engagement-suite-bar",{"activeWidget":[1537,"active-widget"],"challengePercent":[1,"challenge-percent"],"highlightChallenge":[4,"highlight-challenge"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"orientation":[1],"device":[1],"isChallengeLabel":[4,"is-challenge-label"],"isForfeitedChallengeLabel":[4,"is-forfeited-challenge-label"],"isSpinForfeitedLabel":[1028,"is-spin-forfeited-label"],"language":[1],"jackpots":[16],"remainingFreeSpins":[1,"remaining-free-spins"],"leaderboards":[16],"limitStylingAppends":[32],"activeJackpot":[32]}]]]], options);
|
|
14
|
-
});
|
|
15
9
|
};
|
|
16
10
|
|
|
17
11
|
export { defineCustomElements };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { sass } from "@stencil/sass";
|
|
2
|
+
export const config = {
|
|
3
|
+
namespace: 'casino-engagement-suite-bar',
|
|
4
|
+
taskQueue: 'async',
|
|
5
|
+
sourceMap: true,
|
|
6
|
+
minifyJs: false,
|
|
7
|
+
extras: {
|
|
8
|
+
experimentalImportInjection: true
|
|
9
|
+
},
|
|
10
|
+
plugins: [sass()],
|
|
11
|
+
outputTargets: [
|
|
12
|
+
{
|
|
13
|
+
type: 'www',
|
|
14
|
+
serviceWorker: null // disable service workers
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
};
|
package/dist/stencil.config.js
CHANGED
|
@@ -1,22 +1,17 @@
|
|
|
1
|
-
import { sass } from
|
|
1
|
+
import { sass } from "@stencil/sass";
|
|
2
2
|
export const config = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
{
|
|
8
|
-
|
|
9
|
-
esmLoaderPath: '../loader',
|
|
3
|
+
namespace: 'casino-engagement-suite-bar',
|
|
4
|
+
taskQueue: 'async',
|
|
5
|
+
sourceMap: false,
|
|
6
|
+
minifyJs: true,
|
|
7
|
+
extras: {
|
|
8
|
+
experimentalImportInjection: true
|
|
10
9
|
},
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
type: 'www',
|
|
19
|
-
serviceWorker: null, // disable service workers
|
|
20
|
-
},
|
|
21
|
-
],
|
|
10
|
+
plugins: [sass()],
|
|
11
|
+
outputTargets: [
|
|
12
|
+
{
|
|
13
|
+
type: 'dist',
|
|
14
|
+
esmLoaderPath: '../loader'
|
|
15
|
+
}
|
|
16
|
+
]
|
|
22
17
|
};
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import { Jackpot, Tournament } from '../../models';
|
|
2
2
|
export declare class CasinoEngagementSuiteBar {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Highlight active widget
|
|
5
|
+
*/
|
|
6
|
+
activeWidget: string;
|
|
7
|
+
/**
|
|
8
|
+
* The Challenge Percent
|
|
9
|
+
*/
|
|
10
|
+
challengePercent: string;
|
|
11
|
+
/**
|
|
12
|
+
* Highlight Challenge tile
|
|
13
|
+
*/
|
|
14
|
+
highlightChallenge: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Client custom styling via string
|
|
17
|
+
*/
|
|
18
|
+
clientStyling: string;
|
|
19
|
+
/**
|
|
20
|
+
* Client custom styling via url
|
|
21
|
+
*/
|
|
22
|
+
clientStylingUrl: string;
|
|
23
|
+
/**
|
|
24
|
+
* Orientation of the widget
|
|
25
|
+
*/
|
|
26
|
+
orientation: "Landscape" | "Portrait";
|
|
27
|
+
/**
|
|
28
|
+
* User's device type
|
|
29
|
+
*/
|
|
30
|
+
device: "Mobile" | "Tablet" | "Desktop";
|
|
31
|
+
/**
|
|
32
|
+
* Show challenge label
|
|
33
|
+
*/
|
|
34
|
+
isChallengeLabel: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Show forfeited challenge label
|
|
37
|
+
*/
|
|
38
|
+
isForfeitedChallengeLabel: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Show spins forfeited label
|
|
41
|
+
*/
|
|
42
|
+
isSpinForfeitedLabel: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Language of the widget
|
|
45
|
+
*/
|
|
46
|
+
language: string;
|
|
47
|
+
jackpots: Array<Jackpot>;
|
|
48
|
+
remainingFreeSpins: string;
|
|
49
|
+
leaderboards: Array<Tournament>;
|
|
50
|
+
private limitStylingAppends;
|
|
51
|
+
activeJackpot: string;
|
|
52
|
+
engagementSuiteBar: HTMLElement;
|
|
53
|
+
handleTileClick: (ev: MouseEvent) => void;
|
|
54
|
+
componentDidRender(): void;
|
|
55
|
+
setClientStyling: () => void;
|
|
56
|
+
setClientStylingURL: () => void;
|
|
57
|
+
getChallengeTile(): any;
|
|
58
|
+
getFreeSpinsTile(): any;
|
|
59
|
+
getJackpotClasses(jackpot: Jackpot): {
|
|
60
|
+
[x: string]: boolean;
|
|
61
|
+
Tile: boolean;
|
|
62
|
+
Jackpot: boolean;
|
|
63
|
+
Enabled: boolean;
|
|
64
|
+
Active: boolean;
|
|
65
|
+
};
|
|
66
|
+
getJackpotsTemplate(): any[];
|
|
67
|
+
getLeaderboardsTile(): any;
|
|
68
|
+
displayTilesInOneRow(): boolean;
|
|
69
|
+
getTilesTemplate(): any;
|
|
70
|
+
render(): any;
|
|
71
71
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CasinoEngagementSuiteBar } from './casino-engagement-suite-bar';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export interface Jackpot {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
JackpotId: number;
|
|
3
|
+
Type: string;
|
|
4
|
+
Balance: number;
|
|
5
|
+
WinBalance?: number;
|
|
6
|
+
Enabled: boolean;
|
|
7
|
+
Currency: string;
|
|
8
|
+
[index: string]: any;
|
|
9
9
|
}
|
|
10
10
|
export interface Tournament {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
href: string;
|
|
12
|
+
id: string;
|
|
13
|
+
nameOrTitle: string;
|
|
14
|
+
[index: string]: any;
|
|
15
15
|
}
|