@everymatrix/casino-play-random-game 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.
Files changed (49) hide show
  1. package/dist/casino-play-random-game/casino-play-random-game.esm.js +1 -1
  2. package/dist/casino-play-random-game/p-b4a84056.entry.js +1 -0
  3. package/dist/casino-play-random-game/p-d2e799c3.js +2 -0
  4. package/dist/casino-play-random-game/p-e1255160.js +1 -0
  5. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  6. package/dist/cjs/casino-play-random-game.cjs.entry.js +288 -308
  7. package/dist/cjs/casino-play-random-game.cjs.js +17 -11
  8. package/dist/cjs/index-4cc20a8d.js +1217 -0
  9. package/dist/cjs/loader.cjs.js +7 -13
  10. package/dist/collection/collection-manifest.json +3 -3
  11. package/dist/collection/components/casino-play-random-game/casino-play-random-game.css +0 -11
  12. package/dist/collection/components/casino-play-random-game/casino-play-random-game.js +432 -463
  13. package/dist/collection/components/casino-play-random-game/index.js +1 -0
  14. package/dist/collection/utils/locale.utils.js +58 -58
  15. package/dist/collection/utils/utils.js +22 -22
  16. package/dist/esm/app-globals-0f993ce5.js +3 -0
  17. package/dist/esm/casino-play-random-game.entry.js +288 -308
  18. package/dist/esm/casino-play-random-game.js +14 -11
  19. package/dist/esm/index-7666b794.js +1190 -0
  20. package/dist/esm/loader.js +7 -13
  21. package/dist/stencil.config.dev.js +17 -0
  22. package/dist/stencil.config.js +14 -19
  23. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-play-random-game/.stencil/packages/stencil/casino-play-random-game/stencil.config.d.ts +2 -0
  24. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-play-random-game/.stencil/packages/stencil/casino-play-random-game/stencil.config.dev.d.ts +2 -0
  25. package/dist/types/components/casino-play-random-game/casino-play-random-game.d.ts +72 -72
  26. package/dist/types/components/casino-play-random-game/index.d.ts +1 -0
  27. package/dist/types/stencil-public-runtime.d.ts +142 -33
  28. package/loader/cdn.js +1 -3
  29. package/loader/index.cjs.js +1 -3
  30. package/loader/index.d.ts +13 -1
  31. package/loader/index.es2017.js +1 -3
  32. package/loader/index.js +1 -3
  33. package/loader/package.json +1 -0
  34. package/package.json +8 -1
  35. package/dist/casino-play-random-game/p-0f38b3f8.js +0 -1
  36. package/dist/casino-play-random-game/p-1a049c0f.entry.js +0 -1
  37. package/dist/cjs/index-8944e204.js +0 -1247
  38. package/dist/components/casino-play-random-game.d.ts +0 -11
  39. package/dist/components/casino-play-random-game.js +0 -375
  40. package/dist/components/index.d.ts +0 -26
  41. package/dist/components/index.js +0 -1
  42. package/dist/esm/index-58563736.js +0 -1221
  43. package/dist/esm/polyfills/core-js.js +0 -11
  44. package/dist/esm/polyfills/css-shim.js +0 -1
  45. package/dist/esm/polyfills/dom.js +0 -79
  46. package/dist/esm/polyfills/es5-html-element.js +0 -1
  47. package/dist/esm/polyfills/index.js +0 -34
  48. package/dist/esm/polyfills/system.js +0 -6
  49. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/casino-play-random-game/.stencil/packages/casino-play-random-game/stencil.config.d.ts +0 -2
@@ -1,17 +1,11 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-58563736.js';
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';
2
4
 
3
- /*
4
- Stencil Client Patch Esm v2.15.2 | MIT Licensed | https://stenciljs.com
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(() => {
13
- 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]}]]]], options);
14
- });
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);
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-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
+ };
@@ -1,22 +1,17 @@
1
- import { sass } from '@stencil/sass';
1
+ import { sass } from "@stencil/sass";
2
2
  export const config = {
3
- namespace: 'casino-play-random-game',
4
- taskQueue: 'async',
5
- plugins: [sass()],
6
- outputTargets: [
7
- {
8
- type: 'dist',
9
- esmLoaderPath: '../loader',
3
+ namespace: 'casino-play-random-game',
4
+ taskQueue: 'async',
5
+ sourceMap: false,
6
+ minifyJs: true,
7
+ extras: {
8
+ experimentalImportInjection: true
10
9
  },
11
- {
12
- type: 'dist-custom-elements',
13
- },
14
- {
15
- type: 'docs-readme',
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
  };
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -1,74 +1,74 @@
1
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;
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
74
  }
@@ -0,0 +1 @@
1
+ export { CasinoPlayRandomGame } from './casino-play-random-game';