@everymatrix/casino-play-random-game 1.0.69
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-play-random-game/casino-play-random-game.esm.js +1 -0
- package/dist/casino-play-random-game/index.esm.js +0 -0
- package/dist/casino-play-random-game/p-0f177dd3.entry.js +1 -0
- package/dist/casino-play-random-game/p-d2e799c3.js +2 -0
- package/dist/casino-play-random-game/p-e1255160.js +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/casino-play-random-game.cjs.entry.js +330 -0
- package/dist/cjs/casino-play-random-game.cjs.js +25 -0
- package/dist/cjs/index-4cc20a8d.js +1217 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/collection/collection-manifest.json +12 -0
- package/dist/collection/components/casino-play-random-game/casino-play-random-game.css +363 -0
- package/dist/collection/components/casino-play-random-game/casino-play-random-game.js +448 -0
- package/dist/collection/components/casino-play-random-game/index.js +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/locale.utils.js +73 -0
- package/dist/collection/utils/utils.js +27 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/casino-play-random-game.entry.js +326 -0
- package/dist/esm/casino-play-random-game.js +20 -0
- package/dist/esm/index-7666b794.js +1190 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/stencil.config.dev.js +17 -0
- package/dist/stencil.config.js +17 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/casino-play-random-game/.stencil/packages/stencil/casino-play-random-game/stencil.config.d.ts +2 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/casino-play-random-game/.stencil/packages/stencil/casino-play-random-game/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/casino-play-random-game/casino-play-random-game.d.ts +74 -0
- package/dist/types/components/casino-play-random-game/index.d.ts +1 -0
- package/dist/types/components.d.ts +117 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/locale.utils.d.ts +6 -0
- package/dist/types/utils/utils.d.ts +2 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +26 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { b as bootstrapLazy } from './index-7666b794.js';
|
|
2
|
+
export { s as setNonce } from './index-7666b794.js';
|
|
3
|
+
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
|
+
|
|
5
|
+
const defineCustomElements = async (win, options) => {
|
|
6
|
+
if (typeof window === 'undefined') return undefined;
|
|
7
|
+
await globalScripts();
|
|
8
|
+
return bootstrapLazy([["casino-play-random-game",[[1,"casino-play-random-game",{"endpoint":[513],"datasource":[513],"language":[513],"specificCategory":[513,"specific-category"],"iconVisible":[513,"icon-visible"],"iconVisibleOnAnim":[513,"icon-visible-on-anim"],"launchByGameCard":[513,"launch-by-game-card"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"hasErrors":[32],"limitStylingAppends":[32],"isLoading":[32],"gamesToShow":[32],"selectedGame":[32],"animationDone":[32],"animationStarted":[32]},null,{"endpoint":["watchEndpoint"],"datasource":["watchEndpoint"],"language":["watchEndpoint"],"translationUrl":["handleNewTranslations"],"iconVisible":["handleIsIconVisible"]}]]]], options);
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { defineCustomElements };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./cjs/index.cjs.js');
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './esm/index.js';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { sass } from "@stencil/sass";
|
|
2
|
+
export const config = {
|
|
3
|
+
namespace: 'casino-play-random-game',
|
|
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
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { sass } from "@stencil/sass";
|
|
2
|
+
export const config = {
|
|
3
|
+
namespace: 'casino-play-random-game',
|
|
4
|
+
taskQueue: 'async',
|
|
5
|
+
sourceMap: false,
|
|
6
|
+
minifyJs: true,
|
|
7
|
+
extras: {
|
|
8
|
+
experimentalImportInjection: true
|
|
9
|
+
},
|
|
10
|
+
plugins: [sass()],
|
|
11
|
+
outputTargets: [
|
|
12
|
+
{
|
|
13
|
+
type: 'dist',
|
|
14
|
+
esmLoaderPath: '../loader'
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export declare class CasinoPlayRandomGame {
|
|
2
|
+
/**
|
|
3
|
+
* Endpoint URL for the source of data
|
|
4
|
+
*/
|
|
5
|
+
endpoint: string;
|
|
6
|
+
/**
|
|
7
|
+
* Name of the datasource, as configured in CE.
|
|
8
|
+
*/
|
|
9
|
+
datasource: string;
|
|
10
|
+
/**
|
|
11
|
+
* Language of the widget
|
|
12
|
+
*/
|
|
13
|
+
language: string;
|
|
14
|
+
/**
|
|
15
|
+
* Configure a specific category for randomising the games.
|
|
16
|
+
*/
|
|
17
|
+
specificCategory: string;
|
|
18
|
+
/**
|
|
19
|
+
* Icon visible initially
|
|
20
|
+
*/
|
|
21
|
+
iconVisible: string;
|
|
22
|
+
/**
|
|
23
|
+
* Icon visible while rolling
|
|
24
|
+
*/
|
|
25
|
+
iconVisibleOnAnim: string;
|
|
26
|
+
/**
|
|
27
|
+
* Open event on the game card.
|
|
28
|
+
*/
|
|
29
|
+
launchByGameCard: string;
|
|
30
|
+
/**
|
|
31
|
+
* Client custom styling via string
|
|
32
|
+
*/
|
|
33
|
+
clientStyling: string;
|
|
34
|
+
/**
|
|
35
|
+
* Client custom styling via url
|
|
36
|
+
*/
|
|
37
|
+
clientStylingUrl: string;
|
|
38
|
+
/**
|
|
39
|
+
* Translations via URL
|
|
40
|
+
*/
|
|
41
|
+
translationUrl: string;
|
|
42
|
+
host: HTMLElement;
|
|
43
|
+
private hasErrors;
|
|
44
|
+
private limitStylingAppends;
|
|
45
|
+
private isLoading;
|
|
46
|
+
private gamesToShow;
|
|
47
|
+
private selectedGame;
|
|
48
|
+
private animationDone;
|
|
49
|
+
private animationStarted;
|
|
50
|
+
private gameContainer;
|
|
51
|
+
private animation;
|
|
52
|
+
private selectedGameIndex;
|
|
53
|
+
private selectedGameEl;
|
|
54
|
+
private iconVisibility;
|
|
55
|
+
watchEndpoint(newValue: string, oldValue: string): void;
|
|
56
|
+
handleNewTranslations(): void;
|
|
57
|
+
handleIsIconVisible(): void;
|
|
58
|
+
connectedCallback(): void;
|
|
59
|
+
componentWillLoad(): Promise<any>;
|
|
60
|
+
componentDidLoad(): void;
|
|
61
|
+
fetchGameList(): Promise<any>;
|
|
62
|
+
shuffle: (array: any[]) => any[];
|
|
63
|
+
setUpGames(games: any): any[];
|
|
64
|
+
selectRandomGame(): void;
|
|
65
|
+
playRandomGame(): void;
|
|
66
|
+
respin(): void;
|
|
67
|
+
animateGames(): void;
|
|
68
|
+
playGame(): void;
|
|
69
|
+
showGameInfo(): void;
|
|
70
|
+
setClientStyling: () => void;
|
|
71
|
+
setClientStylingURL: () => void;
|
|
72
|
+
renderGameDetails(): HTMLElement;
|
|
73
|
+
render(): void;
|
|
74
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CasinoPlayRandomGame } from './casino-play-random-game';
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/**
|
|
4
|
+
* This is an autogenerated file created by the Stencil compiler.
|
|
5
|
+
* It contains typing information for all components that exist in this project.
|
|
6
|
+
*/
|
|
7
|
+
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
export namespace Components {
|
|
9
|
+
interface CasinoPlayRandomGame {
|
|
10
|
+
/**
|
|
11
|
+
* Client custom styling via string
|
|
12
|
+
*/
|
|
13
|
+
"clientStyling": string;
|
|
14
|
+
/**
|
|
15
|
+
* Client custom styling via url
|
|
16
|
+
*/
|
|
17
|
+
"clientStylingUrl": string;
|
|
18
|
+
/**
|
|
19
|
+
* Name of the datasource, as configured in CE.
|
|
20
|
+
*/
|
|
21
|
+
"datasource": string;
|
|
22
|
+
/**
|
|
23
|
+
* Endpoint URL for the source of data
|
|
24
|
+
*/
|
|
25
|
+
"endpoint": string;
|
|
26
|
+
/**
|
|
27
|
+
* Icon visible initially
|
|
28
|
+
*/
|
|
29
|
+
"iconVisible": string;
|
|
30
|
+
/**
|
|
31
|
+
* Icon visible while rolling
|
|
32
|
+
*/
|
|
33
|
+
"iconVisibleOnAnim": string;
|
|
34
|
+
/**
|
|
35
|
+
* Language of the widget
|
|
36
|
+
*/
|
|
37
|
+
"language": string;
|
|
38
|
+
/**
|
|
39
|
+
* Open event on the game card.
|
|
40
|
+
*/
|
|
41
|
+
"launchByGameCard": string;
|
|
42
|
+
/**
|
|
43
|
+
* Configure a specific category for randomising the games.
|
|
44
|
+
*/
|
|
45
|
+
"specificCategory": string;
|
|
46
|
+
/**
|
|
47
|
+
* Translations via URL
|
|
48
|
+
*/
|
|
49
|
+
"translationUrl": string;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
declare global {
|
|
53
|
+
interface HTMLCasinoPlayRandomGameElement extends Components.CasinoPlayRandomGame, HTMLStencilElement {
|
|
54
|
+
}
|
|
55
|
+
var HTMLCasinoPlayRandomGameElement: {
|
|
56
|
+
prototype: HTMLCasinoPlayRandomGameElement;
|
|
57
|
+
new (): HTMLCasinoPlayRandomGameElement;
|
|
58
|
+
};
|
|
59
|
+
interface HTMLElementTagNameMap {
|
|
60
|
+
"casino-play-random-game": HTMLCasinoPlayRandomGameElement;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
declare namespace LocalJSX {
|
|
64
|
+
interface CasinoPlayRandomGame {
|
|
65
|
+
/**
|
|
66
|
+
* Client custom styling via string
|
|
67
|
+
*/
|
|
68
|
+
"clientStyling"?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Client custom styling via url
|
|
71
|
+
*/
|
|
72
|
+
"clientStylingUrl"?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Name of the datasource, as configured in CE.
|
|
75
|
+
*/
|
|
76
|
+
"datasource"?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Endpoint URL for the source of data
|
|
79
|
+
*/
|
|
80
|
+
"endpoint"?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Icon visible initially
|
|
83
|
+
*/
|
|
84
|
+
"iconVisible"?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Icon visible while rolling
|
|
87
|
+
*/
|
|
88
|
+
"iconVisibleOnAnim"?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Language of the widget
|
|
91
|
+
*/
|
|
92
|
+
"language"?: string;
|
|
93
|
+
/**
|
|
94
|
+
* Open event on the game card.
|
|
95
|
+
*/
|
|
96
|
+
"launchByGameCard"?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Configure a specific category for randomising the games.
|
|
99
|
+
*/
|
|
100
|
+
"specificCategory"?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Translations via URL
|
|
103
|
+
*/
|
|
104
|
+
"translationUrl"?: string;
|
|
105
|
+
}
|
|
106
|
+
interface IntrinsicElements {
|
|
107
|
+
"casino-play-random-game": CasinoPlayRandomGame;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
export { LocalJSX as JSX };
|
|
111
|
+
declare module "@stencil/core" {
|
|
112
|
+
export namespace JSX {
|
|
113
|
+
interface IntrinsicElements {
|
|
114
|
+
"casino-play-random-game": LocalJSX.CasinoPlayRandomGame & JSXBase.HTMLAttributes<HTMLCasinoPlayRandomGameElement>;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|