@everymatrix/player-elevate-optin 0.0.0-stage → 1.99.52
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/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/index-0dc5272e.js +1196 -0
- package/dist/cjs/index.cjs.js +10 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/player-elevate-optin-d65e764f.js +280 -0
- package/dist/cjs/player-elevate-optin.cjs.entry.js +10 -0
- package/dist/cjs/player-elevate-optin.cjs.js +25 -0
- package/dist/collection/collection-manifest.json +12 -0
- package/dist/collection/components/player-elevate-optin/index.js +1 -0
- package/dist/collection/components/player-elevate-optin/player-elevate-optin.css +205 -0
- package/dist/collection/components/player-elevate-optin/player-elevate-optin.js +338 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/locale.utils.js +56 -0
- package/dist/collection/utils/utils.js +3 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/index-06b994f3.js +1170 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/player-elevate-optin-6b9e7727.js +278 -0
- package/dist/esm/player-elevate-optin.entry.js +2 -0
- package/dist/esm/player-elevate-optin.js +20 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/player-elevate-optin/app-globals-0f993ce5.js +1 -0
- package/dist/player-elevate-optin/index-06b994f3.js +2 -0
- package/dist/player-elevate-optin/index.esm.js +1 -0
- package/dist/player-elevate-optin/player-elevate-optin-6b9e7727.js +1 -0
- package/dist/player-elevate-optin/player-elevate-optin.entry.js +1 -0
- package/dist/player-elevate-optin/player-elevate-optin.esm.js +1 -0
- package/dist/stencil.config.dev.js +19 -0
- package/dist/stencil.config.js +19 -0
- package/dist/storybook/main.js +43 -0
- package/dist/storybook/preview.js +9 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-optin/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-optin/.stencil/packages/stencil/player-elevate-optin/stencil.config.d.ts +2 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-optin/.stencil/packages/stencil/player-elevate-optin/stencil.config.dev.d.ts +2 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-optin/.stencil/packages/stencil/player-elevate-optin/storybook/main.d.ts +3 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-optin/.stencil/packages/stencil/player-elevate-optin/storybook/preview.d.ts +70 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-optin/.stencil/tools/plugins/index.d.ts +4 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-optin/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +12 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-optin/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-optin/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-optin/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
- package/dist/types/components/player-elevate-optin/index.d.ts +1 -0
- package/dist/types/components/player-elevate-optin/player-elevate-optin.d.ts +27 -0
- package/dist/types/components.d.ts +45 -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 +10 -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 +24 -3
- package/README.md +0 -3
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export declare const parameters: {
|
|
2
|
+
darkMode: {
|
|
3
|
+
dark: {
|
|
4
|
+
appBg: string;
|
|
5
|
+
base: "light" | "dark";
|
|
6
|
+
colorPrimary: string;
|
|
7
|
+
colorSecondary: string;
|
|
8
|
+
appContentBg: string;
|
|
9
|
+
appPreviewBg: string;
|
|
10
|
+
appBorderColor: string;
|
|
11
|
+
appBorderRadius: number;
|
|
12
|
+
fontBase: string;
|
|
13
|
+
fontCode: string;
|
|
14
|
+
textColor: string;
|
|
15
|
+
textInverseColor: string;
|
|
16
|
+
textMutedColor: string;
|
|
17
|
+
barTextColor: string;
|
|
18
|
+
barHoverColor: string;
|
|
19
|
+
barSelectedColor: string;
|
|
20
|
+
barBg: string;
|
|
21
|
+
buttonBg: string;
|
|
22
|
+
buttonBorder: string;
|
|
23
|
+
booleanBg: string;
|
|
24
|
+
booleanSelectedBg: string;
|
|
25
|
+
inputBg: string;
|
|
26
|
+
inputBorder: string;
|
|
27
|
+
inputTextColor: string;
|
|
28
|
+
inputBorderRadius: number;
|
|
29
|
+
brandTitle?: string;
|
|
30
|
+
brandUrl?: string;
|
|
31
|
+
brandImage?: string;
|
|
32
|
+
brandTarget?: string;
|
|
33
|
+
gridCellSize?: number;
|
|
34
|
+
};
|
|
35
|
+
light: {
|
|
36
|
+
appBg: string;
|
|
37
|
+
base: "light" | "dark";
|
|
38
|
+
colorPrimary: string;
|
|
39
|
+
colorSecondary: string;
|
|
40
|
+
appContentBg: string;
|
|
41
|
+
appPreviewBg: string;
|
|
42
|
+
appBorderColor: string;
|
|
43
|
+
appBorderRadius: number;
|
|
44
|
+
fontBase: string;
|
|
45
|
+
fontCode: string;
|
|
46
|
+
textColor: string;
|
|
47
|
+
textInverseColor: string;
|
|
48
|
+
textMutedColor: string;
|
|
49
|
+
barTextColor: string;
|
|
50
|
+
barHoverColor: string;
|
|
51
|
+
barSelectedColor: string;
|
|
52
|
+
barBg: string;
|
|
53
|
+
buttonBg: string;
|
|
54
|
+
buttonBorder: string;
|
|
55
|
+
booleanBg: string;
|
|
56
|
+
booleanSelectedBg: string;
|
|
57
|
+
inputBg: string;
|
|
58
|
+
inputBorder: string;
|
|
59
|
+
inputTextColor: string;
|
|
60
|
+
inputBorderRadius: number;
|
|
61
|
+
brandTitle?: string;
|
|
62
|
+
brandUrl?: string;
|
|
63
|
+
brandImage?: string;
|
|
64
|
+
brandTarget?: string;
|
|
65
|
+
gridCellSize?: number;
|
|
66
|
+
};
|
|
67
|
+
current: string;
|
|
68
|
+
stylePreview: boolean;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PlayerElevateOptin } from './player-elevate-optin';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
interface OptInTerms {
|
|
2
|
+
url: string;
|
|
3
|
+
description: string;
|
|
4
|
+
complianceUrl: string;
|
|
5
|
+
complianceDescription: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class PlayerElevateOptin {
|
|
8
|
+
endpoint: string;
|
|
9
|
+
session: string;
|
|
10
|
+
language: string;
|
|
11
|
+
enableOptIn: boolean;
|
|
12
|
+
openOptIn: boolean;
|
|
13
|
+
openOptOut: boolean;
|
|
14
|
+
terms: OptInTerms;
|
|
15
|
+
playerOptIn: boolean | null;
|
|
16
|
+
openShopRestriction: boolean;
|
|
17
|
+
pendingShopItem: any;
|
|
18
|
+
submitting: boolean;
|
|
19
|
+
handleMessage(event: MessageEvent): Promise<void>;
|
|
20
|
+
private continuePendingRedeem;
|
|
21
|
+
private handleOptIn;
|
|
22
|
+
private loadPlayerInfo;
|
|
23
|
+
private loadTerms;
|
|
24
|
+
componentWillLoad(): Promise<void>;
|
|
25
|
+
render(): any;
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
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 PlayerElevateOptin {
|
|
10
|
+
"enableOptIn": boolean;
|
|
11
|
+
"endpoint": string;
|
|
12
|
+
"language": string;
|
|
13
|
+
"session": string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
declare global {
|
|
17
|
+
interface HTMLPlayerElevateOptinElement extends Components.PlayerElevateOptin, HTMLStencilElement {
|
|
18
|
+
}
|
|
19
|
+
var HTMLPlayerElevateOptinElement: {
|
|
20
|
+
prototype: HTMLPlayerElevateOptinElement;
|
|
21
|
+
new (): HTMLPlayerElevateOptinElement;
|
|
22
|
+
};
|
|
23
|
+
interface HTMLElementTagNameMap {
|
|
24
|
+
"player-elevate-optin": HTMLPlayerElevateOptinElement;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
declare namespace LocalJSX {
|
|
28
|
+
interface PlayerElevateOptin {
|
|
29
|
+
"enableOptIn"?: boolean;
|
|
30
|
+
"endpoint": string;
|
|
31
|
+
"language"?: string;
|
|
32
|
+
"session": string;
|
|
33
|
+
}
|
|
34
|
+
interface IntrinsicElements {
|
|
35
|
+
"player-elevate-optin": PlayerElevateOptin;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export { LocalJSX as JSX };
|
|
39
|
+
declare module "@stencil/core" {
|
|
40
|
+
export namespace JSX {
|
|
41
|
+
interface IntrinsicElements {
|
|
42
|
+
"player-elevate-optin": LocalJSX.PlayerElevateOptin & JSXBase.HTMLAttributes<HTMLPlayerElevateOptinElement>;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/player-elevate-optin';
|