@everymatrix/casino-engagement-suite-modal-container 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-engagement-suite-modal-container/casino-engagement-suite-modal-container.esm.js +1 -0
- package/dist/casino-engagement-suite-modal-container/index.esm.js +0 -0
- package/dist/casino-engagement-suite-modal-container/p-aaab8749.entry.js +1 -0
- package/dist/casino-engagement-suite-modal-container/p-ac43a734.js +2 -0
- package/dist/casino-engagement-suite-modal-container/p-e1255160.js +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/casino-engagement-suite-modal-container.cjs.js +25 -0
- package/dist/cjs/casino-engagement-suite-modal_2.cjs.entry.js +201 -0
- package/dist/cjs/index-00ddb955.js +1279 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/collection/collection-manifest.json +19 -0
- package/dist/collection/components/casino-engagement-suite-modal-container/casino-engagement-suite-modal-container.css +115 -0
- package/dist/collection/components/casino-engagement-suite-modal-container/casino-engagement-suite-modal-container.js +242 -0
- package/dist/collection/components/casino-engagement-suite-modal-container/index.js +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/models/index.js +1 -0
- package/dist/collection/utils/locale.utils.js +31 -0
- package/dist/collection/utils/utils.js +4 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/casino-engagement-suite-modal-container.js +20 -0
- package/dist/esm/casino-engagement-suite-modal_2.entry.js +196 -0
- package/dist/esm/index-896654aa.js +1251 -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-engagement-suite-modal-container/.stencil/packages/stencil/casino-engagement-suite-modal-container/stencil.config.d.ts +2 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/casino-engagement-suite-modal-container/.stencil/packages/stencil/casino-engagement-suite-modal-container/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/casino-engagement-suite-modal-container/casino-engagement-suite-modal-container.d.ts +44 -0
- package/dist/types/components/casino-engagement-suite-modal-container/index.d.ts +1 -0
- package/dist/types/components.d.ts +87 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/index.d.ts +10 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/locale.utils.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +1 -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 +29 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { b as bootstrapLazy } from './index-896654aa.js';
|
|
2
|
+
export { s as setNonce } from './index-896654aa.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-engagement-suite-modal_2",[[1,"casino-engagement-suite-modal-container",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"device":[1],"limitStylingAppends":[32],"openModals":[32],"rewardMessage":[32],"hasError":[32],"confirmationData":[32],"winAmount":[32]},[[16,"openModal","openModalHandler"],[16,"closeModal","closeModalHandler"]]],[1,"casino-engagement-suite-modal",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"isOpen":[4,"is-open"],"isLoading":[1028,"is-loading"],"header":[1],"contentIcon":[1,"content-icon"],"modalType":[1,"modal-type"],"device":[1],"showAnimation":[4,"show-animation"],"limitStylingAppends":[32]}]]]], 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-engagement-suite-modal-container',
|
|
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-engagement-suite-modal-container',
|
|
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,44 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import "../../../../../../dist/packages/stencil/casino-engagement-suite-modal/dist/types/index";
|
|
3
|
+
import { OpenModalEvent } from '../../models';
|
|
4
|
+
export declare class CasinoEngagementSuiteModalContainer {
|
|
5
|
+
/**
|
|
6
|
+
* Client custom styling via string
|
|
7
|
+
*/
|
|
8
|
+
clientStyling: string;
|
|
9
|
+
/**
|
|
10
|
+
* Client custom styling via url
|
|
11
|
+
*/
|
|
12
|
+
clientStylingUrl: string;
|
|
13
|
+
/**
|
|
14
|
+
* Language of the widget
|
|
15
|
+
*/
|
|
16
|
+
language: string;
|
|
17
|
+
/**
|
|
18
|
+
*Is joining to challenge
|
|
19
|
+
*/
|
|
20
|
+
isJoiningToChallenge: boolean;
|
|
21
|
+
device: "Mobile" | "Tablet" | "Desktop";
|
|
22
|
+
private limitStylingAppends;
|
|
23
|
+
openModals: Array<string>;
|
|
24
|
+
rewardMessage: string;
|
|
25
|
+
hasError: boolean;
|
|
26
|
+
confirmationData: Record<string, number> | null;
|
|
27
|
+
winAmount: {
|
|
28
|
+
amount: number;
|
|
29
|
+
currency: string;
|
|
30
|
+
};
|
|
31
|
+
host: HTMLElement;
|
|
32
|
+
openModalHandler(event: {
|
|
33
|
+
detail: OpenModalEvent;
|
|
34
|
+
}): void;
|
|
35
|
+
closeModalHandler(event: CustomEvent<any>): void;
|
|
36
|
+
closeModal: EventEmitter<any>;
|
|
37
|
+
handleCloseClick: (e: any) => void;
|
|
38
|
+
handleChallengeAttendance: () => void;
|
|
39
|
+
componentDidRender(): void;
|
|
40
|
+
setClientStyling: () => void;
|
|
41
|
+
setClientStylingURL: () => void;
|
|
42
|
+
isModalOpen: (type: string) => boolean;
|
|
43
|
+
render(): any;
|
|
44
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CasinoEngagementSuiteModalContainer } from './casino-engagement-suite-modal-container';
|
|
@@ -0,0 +1,87 @@
|
|
|
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 CasinoEngagementSuiteModalContainer {
|
|
10
|
+
/**
|
|
11
|
+
* Client custom styling via string
|
|
12
|
+
*/
|
|
13
|
+
"clientStyling": string;
|
|
14
|
+
/**
|
|
15
|
+
* Client custom styling via url
|
|
16
|
+
*/
|
|
17
|
+
"clientStylingUrl": string;
|
|
18
|
+
"device": "Mobile" | "Tablet" | "Desktop";
|
|
19
|
+
/**
|
|
20
|
+
* Is joining to challenge
|
|
21
|
+
*/
|
|
22
|
+
"isJoiningToChallenge": boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Language of the widget
|
|
25
|
+
*/
|
|
26
|
+
"language": string;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export interface CasinoEngagementSuiteModalContainerCustomEvent<T> extends CustomEvent<T> {
|
|
30
|
+
detail: T;
|
|
31
|
+
target: HTMLCasinoEngagementSuiteModalContainerElement;
|
|
32
|
+
}
|
|
33
|
+
declare global {
|
|
34
|
+
interface HTMLCasinoEngagementSuiteModalContainerElementEventMap {
|
|
35
|
+
"closeModal": any;
|
|
36
|
+
}
|
|
37
|
+
interface HTMLCasinoEngagementSuiteModalContainerElement extends Components.CasinoEngagementSuiteModalContainer, HTMLStencilElement {
|
|
38
|
+
addEventListener<K extends keyof HTMLCasinoEngagementSuiteModalContainerElementEventMap>(type: K, listener: (this: HTMLCasinoEngagementSuiteModalContainerElement, ev: CasinoEngagementSuiteModalContainerCustomEvent<HTMLCasinoEngagementSuiteModalContainerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
39
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
40
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
41
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
42
|
+
removeEventListener<K extends keyof HTMLCasinoEngagementSuiteModalContainerElementEventMap>(type: K, listener: (this: HTMLCasinoEngagementSuiteModalContainerElement, ev: CasinoEngagementSuiteModalContainerCustomEvent<HTMLCasinoEngagementSuiteModalContainerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
43
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
44
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
45
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
46
|
+
}
|
|
47
|
+
var HTMLCasinoEngagementSuiteModalContainerElement: {
|
|
48
|
+
prototype: HTMLCasinoEngagementSuiteModalContainerElement;
|
|
49
|
+
new (): HTMLCasinoEngagementSuiteModalContainerElement;
|
|
50
|
+
};
|
|
51
|
+
interface HTMLElementTagNameMap {
|
|
52
|
+
"casino-engagement-suite-modal-container": HTMLCasinoEngagementSuiteModalContainerElement;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
declare namespace LocalJSX {
|
|
56
|
+
interface CasinoEngagementSuiteModalContainer {
|
|
57
|
+
/**
|
|
58
|
+
* Client custom styling via string
|
|
59
|
+
*/
|
|
60
|
+
"clientStyling"?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Client custom styling via url
|
|
63
|
+
*/
|
|
64
|
+
"clientStylingUrl"?: string;
|
|
65
|
+
"device"?: "Mobile" | "Tablet" | "Desktop";
|
|
66
|
+
/**
|
|
67
|
+
* Is joining to challenge
|
|
68
|
+
*/
|
|
69
|
+
"isJoiningToChallenge"?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Language of the widget
|
|
72
|
+
*/
|
|
73
|
+
"language"?: string;
|
|
74
|
+
"onCloseModal"?: (event: CasinoEngagementSuiteModalContainerCustomEvent<any>) => void;
|
|
75
|
+
}
|
|
76
|
+
interface IntrinsicElements {
|
|
77
|
+
"casino-engagement-suite-modal-container": CasinoEngagementSuiteModalContainer;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
export { LocalJSX as JSX };
|
|
81
|
+
declare module "@stencil/core" {
|
|
82
|
+
export namespace JSX {
|
|
83
|
+
interface IntrinsicElements {
|
|
84
|
+
"casino-engagement-suite-modal-container": LocalJSX.CasinoEngagementSuiteModalContainer & JSXBase.HTMLAttributes<HTMLCasinoEngagementSuiteModalContainerElement>;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|