@everymatrix/casino-engagement-suite-bar 1.44.0 → 1.45.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.
Files changed (53) hide show
  1. package/dist/casino-engagement-suite-bar/casino-engagement-suite-bar.esm.js +1 -1
  2. package/dist/casino-engagement-suite-bar/p-0a29e254.entry.js +1 -0
  3. package/dist/casino-engagement-suite-bar/p-e1255160.js +1 -0
  4. package/dist/casino-engagement-suite-bar/p-e3622c4f.js +2 -0
  5. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  6. package/dist/cjs/casino-engagement-suite-bar.cjs.entry.js +104 -126
  7. package/dist/cjs/casino-engagement-suite-bar.cjs.js +16 -10
  8. package/dist/cjs/index-650e78a1.js +1181 -0
  9. package/dist/cjs/loader.cjs.js +6 -12
  10. package/dist/collection/collection-manifest.json +3 -3
  11. package/dist/collection/components/casino-engagement-suite-bar/casino-engagement-suite-bar.css +20 -20
  12. package/dist/collection/components/casino-engagement-suite-bar/casino-engagement-suite-bar.js +374 -411
  13. package/dist/collection/components/casino-engagement-suite-bar/index.js +1 -0
  14. package/dist/collection/utils/index.js +3 -3
  15. package/dist/collection/utils/locale.utils.js +5 -5
  16. package/dist/collection/utils/utils.js +3 -0
  17. package/dist/esm/app-globals-0f993ce5.js +3 -0
  18. package/dist/esm/casino-engagement-suite-bar.entry.js +104 -126
  19. package/dist/esm/casino-engagement-suite-bar.js +13 -10
  20. package/dist/esm/index-6a254eea.js +1155 -0
  21. package/dist/esm/loader.js +6 -12
  22. package/dist/stencil.config.dev.js +17 -0
  23. package/dist/stencil.config.js +14 -19
  24. 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
  25. 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
  26. package/dist/types/components/casino-engagement-suite-bar/casino-engagement-suite-bar.d.ts +68 -68
  27. package/dist/types/components/casino-engagement-suite-bar/index.d.ts +1 -0
  28. package/dist/types/components.d.ts +1 -0
  29. package/dist/types/models/index.d.ts +11 -11
  30. package/dist/types/stencil-public-runtime.d.ts +142 -33
  31. package/dist/types/utils/utils.d.ts +1 -0
  32. package/loader/cdn.js +1 -3
  33. package/loader/index.cjs.js +1 -3
  34. package/loader/index.d.ts +13 -1
  35. package/loader/index.es2017.js +1 -3
  36. package/loader/index.js +1 -3
  37. package/loader/package.json +1 -0
  38. package/package.json +9 -2
  39. package/dist/casino-engagement-suite-bar/p-09703adc.js +0 -1
  40. package/dist/casino-engagement-suite-bar/p-6a92c0ec.entry.js +0 -1
  41. package/dist/cjs/index-baea8059.js +0 -1163
  42. package/dist/components/casino-engagement-suite-bar.d.ts +0 -11
  43. package/dist/components/casino-engagement-suite-bar.js +0 -178
  44. package/dist/components/index.d.ts +0 -26
  45. package/dist/components/index.js +0 -1
  46. package/dist/esm/index-965162c9.js +0 -1138
  47. package/dist/esm/polyfills/core-js.js +0 -11
  48. package/dist/esm/polyfills/css-shim.js +0 -1
  49. package/dist/esm/polyfills/dom.js +0 -79
  50. package/dist/esm/polyfills/es5-html-element.js +0 -1
  51. package/dist/esm/polyfills/index.js +0 -34
  52. package/dist/esm/polyfills/system.js +0 -6
  53. 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
@@ -1,17 +1,11 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-965162c9.js';
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
- 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(() => {
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
+ };
@@ -1,22 +1,17 @@
1
- import { sass } from '@stencil/sass';
1
+ import { sass } from "@stencil/sass";
2
2
  export const config = {
3
- namespace: 'casino-engagement-suite-bar',
4
- taskQueue: 'async',
5
- plugins: [sass()],
6
- outputTargets: [
7
- {
8
- type: 'dist',
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
- 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,71 +1,71 @@
1
1
  import { Jackpot, Tournament } from '../../models';
2
2
  export declare class CasinoEngagementSuiteBar {
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: 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;
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';
@@ -6,6 +6,7 @@
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { Jackpot, Tournament } from "./models";
9
+ export { Jackpot, Tournament } from "./models";
9
10
  export namespace Components {
10
11
  interface CasinoEngagementSuiteBar {
11
12
  /**
@@ -1,15 +1,15 @@
1
1
  export interface Jackpot {
2
- JackpotId: number;
3
- Type: string;
4
- Balance: number;
5
- WinBalance?: number;
6
- Enabled: boolean;
7
- Currency: string;
8
- [index: string]: any;
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
- href: string;
12
- id: string;
13
- nameOrTitle: string;
14
- [index: string]: any;
11
+ href: string;
12
+ id: string;
13
+ nameOrTitle: string;
14
+ [index: string]: any;
15
15
  }