@everymatrix/pam-player-contacts 0.11.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.
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/index-ed59decb.js +1227 -0
- package/dist/cjs/index.cjs.js +10 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/pam-player-contacts-4a593000.js +469 -0
- package/dist/cjs/pam-player-contacts.cjs.js +25 -0
- package/dist/cjs/pam-player-contacts_2.cjs.entry.js +203 -0
- package/dist/collection/collection-manifest.json +19 -0
- package/dist/collection/components/pam-player-contacts/index.js +1 -0
- package/dist/collection/components/pam-player-contacts/pam-player-contacts.css +318 -0
- package/dist/collection/components/pam-player-contacts/pam-player-contacts.js +492 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/locale.utils.js +139 -0
- package/dist/collection/utils/utils.js +12 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/index-f7c756b2.js +1200 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/pam-player-contacts-08c08e29.js +467 -0
- package/dist/esm/pam-player-contacts.js +20 -0
- package/dist/esm/pam-player-contacts_2.entry.js +198 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/pam-player-contacts/app-globals-0f993ce5.js +1 -0
- package/dist/pam-player-contacts/index-f7c756b2.js +2 -0
- package/dist/pam-player-contacts/index.esm.js +1 -0
- package/dist/pam-player-contacts/pam-player-contacts-08c08e29.js +1 -0
- package/dist/pam-player-contacts/pam-player-contacts.esm.js +1 -0
- package/dist/pam-player-contacts/pam-player-contacts_2.entry.js +1 -0
- package/dist/stencil.config.dev.js +17 -0
- package/dist/stencil.config.js +19 -0
- package/dist/storybook/main.js +47 -0
- package/dist/storybook/preview.js +9 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-contacts/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-contacts/.stencil/packages/stencil/pam-player-contacts/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-contacts/.stencil/packages/stencil/pam-player-contacts/stencil.config.dev.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-contacts/.stencil/packages/stencil/pam-player-contacts/storybook/main.d.ts +3 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-contacts/.stencil/packages/stencil/pam-player-contacts/storybook/preview.d.ts +70 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-contacts/.stencil/tools/plugins/index.d.ts +3 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-contacts/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-contacts/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-contacts/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
- package/dist/types/components/pam-player-contacts/index.d.ts +1 -0
- package/dist/types/components/pam-player-contacts/pam-player-contacts.d.ts +56 -0
- package/dist/types/components.d.ts +59 -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 +23 -0
- package/dist/types/utils/utils.d.ts +7 -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 +26 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import "../../../../../../dist/packages/stencil/ui-skeleton/dist/types/index";
|
|
2
|
+
export declare class PamPlayerContacts {
|
|
3
|
+
userId: string;
|
|
4
|
+
session: string;
|
|
5
|
+
endpoint: string;
|
|
6
|
+
lang: string;
|
|
7
|
+
mbSource: string;
|
|
8
|
+
clientStyling: string;
|
|
9
|
+
clientStylingUrl: string;
|
|
10
|
+
translationUrl: string;
|
|
11
|
+
isVerificationStatusDisplayed: string;
|
|
12
|
+
isPhoneNumberEditable: string;
|
|
13
|
+
isStandAlone: string;
|
|
14
|
+
limitStylingAppends: boolean;
|
|
15
|
+
isSkeletonLoading: boolean;
|
|
16
|
+
isSubmitButtonAvailable: boolean;
|
|
17
|
+
invalidFields: number;
|
|
18
|
+
isMobile: boolean;
|
|
19
|
+
isError: boolean;
|
|
20
|
+
errorMessage: string;
|
|
21
|
+
errorCode: string;
|
|
22
|
+
private stylingContainer;
|
|
23
|
+
private stylingSubscription;
|
|
24
|
+
data: any;
|
|
25
|
+
dataRef: Record<string, Record<string, any>>;
|
|
26
|
+
fieldsState: Record<string, any>;
|
|
27
|
+
handleStylingChange(newValue: string, oldValue: string): void;
|
|
28
|
+
handleStylingUrlChange(newValue: string, oldValue: string): void;
|
|
29
|
+
componentWillLoad(): Promise<void>;
|
|
30
|
+
componentDidLoad(): void;
|
|
31
|
+
disconnectedCallback(): void;
|
|
32
|
+
sendLoadedMessage: () => void;
|
|
33
|
+
sendValidMessage: () => void;
|
|
34
|
+
sendContactVerificationRequest: (contactType: any) => (e: any) => void;
|
|
35
|
+
sendSuccessNotification: () => void;
|
|
36
|
+
sendErrorNotification: (errorKey: string) => void;
|
|
37
|
+
sendData: () => void;
|
|
38
|
+
messageHandler: (message: MessageEvent) => void;
|
|
39
|
+
/**
|
|
40
|
+
* Promise for fetching the response and returning the response or the erorr message
|
|
41
|
+
* @param res - response from the API
|
|
42
|
+
*/
|
|
43
|
+
handleFetchResponse: (res: Response) => Promise<any>;
|
|
44
|
+
getData: () => Promise<void>;
|
|
45
|
+
initData(): void;
|
|
46
|
+
buildFieldState: (isValid: any, initialValue: any, rule: any) => any;
|
|
47
|
+
initEditableFieldsState(): void;
|
|
48
|
+
resetState: () => void;
|
|
49
|
+
updateState: (fieldKey: any) => (e: any) => void;
|
|
50
|
+
updateData: (e: any) => void;
|
|
51
|
+
updateSubmitButtonStatus: () => void;
|
|
52
|
+
editableField: (fieldKey: string, labelTranslationKey: string, errorTranslationKey: string) => HTMLElement;
|
|
53
|
+
staticField: (fieldKey: string, labelTranslationKey: string) => HTMLElement;
|
|
54
|
+
toggleScreen: () => void;
|
|
55
|
+
render(): any;
|
|
56
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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 PamPlayerContacts {
|
|
10
|
+
"clientStyling": string;
|
|
11
|
+
"clientStylingUrl": string;
|
|
12
|
+
"endpoint": string;
|
|
13
|
+
"isPhoneNumberEditable": string;
|
|
14
|
+
"isStandAlone": string;
|
|
15
|
+
"isVerificationStatusDisplayed": string;
|
|
16
|
+
"lang": string;
|
|
17
|
+
"mbSource": string;
|
|
18
|
+
"session": string;
|
|
19
|
+
"translationUrl": string;
|
|
20
|
+
"userId": string;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
declare global {
|
|
24
|
+
interface HTMLPamPlayerContactsElement extends Components.PamPlayerContacts, HTMLStencilElement {
|
|
25
|
+
}
|
|
26
|
+
var HTMLPamPlayerContactsElement: {
|
|
27
|
+
prototype: HTMLPamPlayerContactsElement;
|
|
28
|
+
new (): HTMLPamPlayerContactsElement;
|
|
29
|
+
};
|
|
30
|
+
interface HTMLElementTagNameMap {
|
|
31
|
+
"pam-player-contacts": HTMLPamPlayerContactsElement;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
declare namespace LocalJSX {
|
|
35
|
+
interface PamPlayerContacts {
|
|
36
|
+
"clientStyling"?: string;
|
|
37
|
+
"clientStylingUrl"?: string;
|
|
38
|
+
"endpoint"?: string;
|
|
39
|
+
"isPhoneNumberEditable"?: string;
|
|
40
|
+
"isStandAlone"?: string;
|
|
41
|
+
"isVerificationStatusDisplayed"?: string;
|
|
42
|
+
"lang"?: string;
|
|
43
|
+
"mbSource"?: string;
|
|
44
|
+
"session"?: string;
|
|
45
|
+
"translationUrl"?: string;
|
|
46
|
+
"userId"?: string;
|
|
47
|
+
}
|
|
48
|
+
interface IntrinsicElements {
|
|
49
|
+
"pam-player-contacts": PamPlayerContacts;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
export { LocalJSX as JSX };
|
|
53
|
+
declare module "@stencil/core" {
|
|
54
|
+
export namespace JSX {
|
|
55
|
+
interface IntrinsicElements {
|
|
56
|
+
"pam-player-contacts": LocalJSX.PamPlayerContacts & JSXBase.HTMLAttributes<HTMLPamPlayerContactsElement>;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/pam-player-contacts';
|