@everymatrix/casino-jackpot-winner 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.
Files changed (75) hide show
  1. package/dist/casino-jackpot-winner/casino-jackpot-winner.esm.js +1 -0
  2. package/dist/casino-jackpot-winner/index.esm.js +0 -0
  3. package/dist/casino-jackpot-winner/p-ac5b2e9b.entry.js +1 -0
  4. package/dist/casino-jackpot-winner/p-d8aa97f8.js +2 -0
  5. package/dist/casino-jackpot-winner/p-e1255160.js +1 -0
  6. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  7. package/dist/cjs/casino-jackpot-winner.cjs.entry.js +352 -0
  8. package/dist/cjs/casino-jackpot-winner.cjs.js +25 -0
  9. package/dist/cjs/index-043b8326.js +1191 -0
  10. package/dist/cjs/index.cjs.js +2 -0
  11. package/dist/cjs/loader.cjs.js +15 -0
  12. package/dist/collection/collection-manifest.json +12 -0
  13. package/dist/collection/components/casino-jackpot-winner/casino-jackpot-winner.css +417 -0
  14. package/dist/collection/components/casino-jackpot-winner/casino-jackpot-winner.js +190 -0
  15. package/dist/collection/components/casino-jackpot-winner/index.js +1 -0
  16. package/dist/collection/decorators/base.decorator.js +12 -0
  17. package/dist/collection/decorators/locale.decorator.js +40 -0
  18. package/dist/collection/decorators/style.decorator.js +28 -0
  19. package/dist/collection/decorators/style.util.js +40 -0
  20. package/dist/collection/index.js +1 -0
  21. package/dist/collection/renders/Layout.js +2 -0
  22. package/dist/collection/renders/ListLoader.js +15 -0
  23. package/dist/collection/renders/Loader.js +2 -0
  24. package/dist/collection/renders/User.js +14 -0
  25. package/dist/collection/renders/images.js +21 -0
  26. package/dist/collection/renders/index.js +17 -0
  27. package/dist/collection/static/logo.svg +1 -0
  28. package/dist/collection/static/winner1.svg +59 -0
  29. package/dist/collection/static/winner2.svg +37 -0
  30. package/dist/collection/static/winner3.svg +124 -0
  31. package/dist/collection/static/winner4.svg +88 -0
  32. package/dist/collection/utils/business.js +13 -0
  33. package/dist/collection/utils/currencySymbols.js +172 -0
  34. package/dist/collection/utils/fetch.js +16 -0
  35. package/dist/collection/utils/translation.js +11 -0
  36. package/dist/collection/utils/utils.js +3 -0
  37. package/dist/esm/app-globals-0f993ce5.js +3 -0
  38. package/dist/esm/casino-jackpot-winner.entry.js +348 -0
  39. package/dist/esm/casino-jackpot-winner.js +20 -0
  40. package/dist/esm/index-a3763668.js +1163 -0
  41. package/dist/esm/index.js +1 -0
  42. package/dist/esm/loader.js +11 -0
  43. package/dist/index.cjs.js +1 -0
  44. package/dist/index.js +1 -0
  45. package/dist/stencil.config.dev.js +17 -0
  46. package/dist/stencil.config.js +17 -0
  47. package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/casino-jackpot-winner/.stencil/packages/stencil/casino-jackpot-winner/stencil.config.d.ts +2 -0
  48. package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/casino-jackpot-winner/.stencil/packages/stencil/casino-jackpot-winner/stencil.config.dev.d.ts +2 -0
  49. package/dist/types/components/casino-jackpot-winner/casino-jackpot-winner.d.ts +46 -0
  50. package/dist/types/components/casino-jackpot-winner/index.d.ts +1 -0
  51. package/dist/types/components.d.ts +85 -0
  52. package/dist/types/decorators/base.decorator.d.ts +2 -0
  53. package/dist/types/decorators/locale.decorator.d.ts +2 -0
  54. package/dist/types/decorators/style.decorator.d.ts +2 -0
  55. package/dist/types/decorators/style.util.d.ts +5 -0
  56. package/dist/types/index.d.ts +1 -0
  57. package/dist/types/renders/Layout.d.ts +1 -0
  58. package/dist/types/renders/ListLoader.d.ts +6 -0
  59. package/dist/types/renders/Loader.d.ts +1 -0
  60. package/dist/types/renders/User.d.ts +5 -0
  61. package/dist/types/renders/images.d.ts +2 -0
  62. package/dist/types/renders/index.d.ts +6 -0
  63. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  64. package/dist/types/utils/business.d.ts +1 -0
  65. package/dist/types/utils/currencySymbols.d.ts +172 -0
  66. package/dist/types/utils/fetch.d.ts +2 -0
  67. package/dist/types/utils/translation.d.ts +12 -0
  68. package/dist/types/utils/utils.d.ts +1 -0
  69. package/loader/cdn.js +1 -0
  70. package/loader/index.cjs.js +1 -0
  71. package/loader/index.d.ts +24 -0
  72. package/loader/index.es2017.js +1 -0
  73. package/loader/index.js +2 -0
  74. package/loader/package.json +11 -0
  75. package/package.json +26 -0
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,11 @@
1
+ import { b as bootstrapLazy } from './index-a3763668.js';
2
+ export { s as setNonce } from './index-a3763668.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-jackpot-winner",[[1,"casino-jackpot-winner",{"endpoint":[1],"language":[1],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationUrl":[1,"translation-url"],"currency":[1],"locale":[32],"users":[32],"isLoading":[32]},null,{"endpoint":["watchForUpdateUsers"],"language":["watchForUpdateUsers"]}]]]], 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-jackpot-winner',
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-jackpot-winner',
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,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;
@@ -0,0 +1,46 @@
1
+ export declare class CasinoJackpotWinner {
2
+ /**
3
+ * Endpoint URL for the source of data
4
+ */
5
+ endpoint: string;
6
+ /**
7
+ * Language of the widget
8
+ */
9
+ language: string;
10
+ /**
11
+ * Client custom styling via string
12
+ */
13
+ clientStyling: string;
14
+ /**
15
+ * Client custom styling via url
16
+ */
17
+ clientStylingUrl: string;
18
+ /**
19
+ * translation via url
20
+ */
21
+ translationUrl: string;
22
+ /**
23
+ * Currency of the widget
24
+ */
25
+ currency: string;
26
+ locale: any;
27
+ users: any[];
28
+ isLoading: boolean;
29
+ host: HTMLElement;
30
+ isComponentLoaded: boolean;
31
+ render(): any;
32
+ updateUsers(): Promise<void>;
33
+ watchForUpdateUsers(): void;
34
+ /**
35
+ * define for @Style Decorator
36
+ */
37
+ componentDidLoad(): void;
38
+ /**
39
+ * define for @Locale and @Style
40
+ */
41
+ componentShouldUpdate(): void;
42
+ /**
43
+ * define for @Locale
44
+ */
45
+ componentWillLoad(): void;
46
+ }
@@ -0,0 +1 @@
1
+ export { CasinoJackpotWinner } from './casino-jackpot-winner';
@@ -0,0 +1,85 @@
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 CasinoJackpotWinner {
10
+ /**
11
+ * Client custom styling via string
12
+ */
13
+ "clientStyling": string;
14
+ /**
15
+ * Client custom styling via url
16
+ */
17
+ "clientStylingUrl": string;
18
+ /**
19
+ * Currency of the widget
20
+ */
21
+ "currency": string;
22
+ /**
23
+ * Endpoint URL for the source of data
24
+ */
25
+ "endpoint": string;
26
+ /**
27
+ * Language of the widget
28
+ */
29
+ "language": string;
30
+ /**
31
+ * translation via url
32
+ */
33
+ "translationUrl": string;
34
+ }
35
+ }
36
+ declare global {
37
+ interface HTMLCasinoJackpotWinnerElement extends Components.CasinoJackpotWinner, HTMLStencilElement {
38
+ }
39
+ var HTMLCasinoJackpotWinnerElement: {
40
+ prototype: HTMLCasinoJackpotWinnerElement;
41
+ new (): HTMLCasinoJackpotWinnerElement;
42
+ };
43
+ interface HTMLElementTagNameMap {
44
+ "casino-jackpot-winner": HTMLCasinoJackpotWinnerElement;
45
+ }
46
+ }
47
+ declare namespace LocalJSX {
48
+ interface CasinoJackpotWinner {
49
+ /**
50
+ * Client custom styling via string
51
+ */
52
+ "clientStyling"?: string;
53
+ /**
54
+ * Client custom styling via url
55
+ */
56
+ "clientStylingUrl"?: string;
57
+ /**
58
+ * Currency of the widget
59
+ */
60
+ "currency"?: string;
61
+ /**
62
+ * Endpoint URL for the source of data
63
+ */
64
+ "endpoint"?: string;
65
+ /**
66
+ * Language of the widget
67
+ */
68
+ "language"?: string;
69
+ /**
70
+ * translation via url
71
+ */
72
+ "translationUrl"?: string;
73
+ }
74
+ interface IntrinsicElements {
75
+ "casino-jackpot-winner": CasinoJackpotWinner;
76
+ }
77
+ }
78
+ export { LocalJSX as JSX };
79
+ declare module "@stencil/core" {
80
+ export namespace JSX {
81
+ interface IntrinsicElements {
82
+ "casino-jackpot-winner": LocalJSX.CasinoJackpotWinner & JSXBase.HTMLAttributes<HTMLCasinoJackpotWinnerElement>;
83
+ }
84
+ }
85
+ }
@@ -0,0 +1,2 @@
1
+ import { ComponentInterface } from "../stencil-public-runtime";
2
+ export declare const apply: (proto: ComponentInterface, lifecycle: any, run: Function) => void;
@@ -0,0 +1,2 @@
1
+ import { ComponentInterface } from "../stencil-public-runtime";
2
+ export declare const Locale: () => (proto: ComponentInterface, prop: string) => void;
@@ -0,0 +1,2 @@
1
+ import { ComponentInterface } from "../stencil-public-runtime";
2
+ export declare const Style: () => (proto: ComponentInterface, prop: string) => void;
@@ -0,0 +1,5 @@
1
+ export declare const fetchText: (url: any) => Promise<any>;
2
+ export declare const setStyle: (container: any, index: any, styleCode: any) => void;
3
+ export declare const addStyle: (container: any, index: any, styleCode: any) => void;
4
+ export declare const setClientStyling: (root: ShadowRoot, styleCode: any) => void;
5
+ export declare const setClientStylingUrl: (root: ShadowRoot, url: any) => Promise<void>;
@@ -0,0 +1 @@
1
+ export * from './components';
@@ -0,0 +1 @@
1
+ export declare const renderLayout: (rows: any) => any;
@@ -0,0 +1,6 @@
1
+ export declare const ListLoader: ({ isLoading, list, render, renderNotFound }: {
2
+ isLoading: any;
3
+ list: any;
4
+ render: any;
5
+ renderNotFound: any;
6
+ }) => any;
@@ -0,0 +1 @@
1
+ export declare const Loader: any;
@@ -0,0 +1,5 @@
1
+ export declare const renderUser: (user: any, index: any, currency: any) => any;
2
+ export declare const renderUsers: (users: any, currency: any) => {
3
+ UsersFirst: any;
4
+ UsersRest: any;
5
+ };
@@ -0,0 +1,2 @@
1
+ export declare const winnerIcons: string[];
2
+ export declare const setDefaultStyle: (root: ShadowRoot) => void;
@@ -0,0 +1,6 @@
1
+ export declare const RenderJackpotWinner: ({ isLoading, users, currency, locale }: {
2
+ isLoading: any;
3
+ users: any;
4
+ currency: any;
5
+ locale: any;
6
+ }) => any;