@everymatrix/pam-player-profile-controller 0.7.4
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-85501c28.js +1227 -0
- package/dist/cjs/index.cjs.js +10 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/pam-player-addresses_6.cjs.entry.js +2106 -0
- package/dist/cjs/pam-player-profile-controller-4fd60889.js +536 -0
- package/dist/cjs/pam-player-profile-controller.cjs.js +25 -0
- package/dist/collection/collection-manifest.json +43 -0
- package/dist/collection/components/pam-player-profile-controller/index.js +1 -0
- package/dist/collection/components/pam-player-profile-controller/pam-player-profile-controller.css +118 -0
- package/dist/collection/components/pam-player-profile-controller/pam-player-profile-controller.js +713 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/locale.utils.js +129 -0
- package/dist/collection/utils/utils.js +20 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/index-bb55519d.js +1200 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/pam-player-addresses_6.entry.js +2098 -0
- package/dist/esm/pam-player-profile-controller-795e6ff2.js +531 -0
- package/dist/esm/pam-player-profile-controller.js +20 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/pam-player-profile-controller/app-globals-0f993ce5.js +1 -0
- package/dist/pam-player-profile-controller/index-bb55519d.js +2 -0
- package/dist/pam-player-profile-controller/index.esm.js +1 -0
- package/dist/pam-player-profile-controller/pam-player-addresses_6.entry.js +1 -0
- package/dist/pam-player-profile-controller/pam-player-profile-controller-795e6ff2.js +1 -0
- package/dist/pam-player-profile-controller/pam-player-profile-controller.esm.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-profile-controller/.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-profile-controller/.stencil/packages/stencil/pam-player-profile-controller/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-profile-controller/.stencil/packages/stencil/pam-player-profile-controller/stencil.config.dev.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-profile-controller/.stencil/packages/stencil/pam-player-profile-controller/storybook/main.d.ts +3 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-profile-controller/.stencil/packages/stencil/pam-player-profile-controller/storybook/preview.d.ts +70 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-profile-controller/.stencil/tools/plugins/index.d.ts +3 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-profile-controller/.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-profile-controller/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/pam-player-profile-controller/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
- package/dist/types/components/pam-player-profile-controller/index.d.ts +1 -0
- package/dist/types/components/pam-player-profile-controller/pam-player-profile-controller.d.ts +69 -0
- package/dist/types/components.d.ts +77 -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 +8 -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,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 { PlayerProfileController } from './pam-player-profile-controller';
|
package/dist/types/components/pam-player-profile-controller/pam-player-profile-controller.d.ts
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import "../../../../../../dist/packages/stencil/pam-player-profile/dist/types/index";
|
|
2
|
+
import "../../../../../../dist/packages/stencil/pam-player-addresses/dist/types/index";
|
|
3
|
+
import "../../../../../../dist/packages/stencil/pam-player-contacts/dist/types/index";
|
|
4
|
+
import "../../../../../../dist/packages/stencil/pam-player-documents/dist/types/index";
|
|
5
|
+
import "../../../../../../dist/packages/svelte/player-consents/es2015/player-consents";
|
|
6
|
+
export declare class PlayerProfileController {
|
|
7
|
+
userId: string;
|
|
8
|
+
session: string;
|
|
9
|
+
endpoint: string;
|
|
10
|
+
lang: string;
|
|
11
|
+
mbSource: string;
|
|
12
|
+
clientStyling: string;
|
|
13
|
+
clientStylingUrl: string;
|
|
14
|
+
translationUrl: string;
|
|
15
|
+
addProfile: string;
|
|
16
|
+
addAddresses: string;
|
|
17
|
+
addContacts: string;
|
|
18
|
+
addDocuments: string;
|
|
19
|
+
addConsents: string;
|
|
20
|
+
dobFormat: string;
|
|
21
|
+
isFullAddressDisplayed: string;
|
|
22
|
+
isPermanentAdressEditable: string;
|
|
23
|
+
isTemporaryAdressEditable: string;
|
|
24
|
+
isContactVerificationStatusDisplayed: string;
|
|
25
|
+
isPhoneNumberEditable: string;
|
|
26
|
+
isDocumentsEditable: string;
|
|
27
|
+
isMobile: boolean;
|
|
28
|
+
limitStylingAppends: boolean;
|
|
29
|
+
isLoading: boolean;
|
|
30
|
+
isSubmitButtonAvailable: boolean;
|
|
31
|
+
isError: boolean;
|
|
32
|
+
errorMessage: string;
|
|
33
|
+
errorCode: string;
|
|
34
|
+
private stylingContainer;
|
|
35
|
+
private stylingSubscription;
|
|
36
|
+
data: Record<string, any>;
|
|
37
|
+
validStatus: Record<string, boolean>;
|
|
38
|
+
numUpdateDataReceived: number;
|
|
39
|
+
numUpdateDataExpected: number;
|
|
40
|
+
numUpdateDataSuccessful: number;
|
|
41
|
+
sectionsToUpdate: any[];
|
|
42
|
+
updateFunctionMap: Record<string, Function>;
|
|
43
|
+
handleStylingChange(newValue: string, oldValue: string): void;
|
|
44
|
+
handleStylingUrlChange(newValue: string, oldValue: string): void;
|
|
45
|
+
componentWillLoad(): Promise<void>;
|
|
46
|
+
componentDidLoad(): void;
|
|
47
|
+
disconnectedCallback(): void;
|
|
48
|
+
sendSuccessNotification: () => void;
|
|
49
|
+
sendErrorNotification: (errorKey: string) => void;
|
|
50
|
+
sendData: (section: any) => void;
|
|
51
|
+
resetState(): void;
|
|
52
|
+
messageHandler: (message: MessageEvent) => void;
|
|
53
|
+
updateDataRecursive: (idx: number) => any;
|
|
54
|
+
/**
|
|
55
|
+
* Promise for fetching the response and returning the response or the erorr message
|
|
56
|
+
* @param res - response from the API
|
|
57
|
+
*/
|
|
58
|
+
handleFetchResponse: (res: Response) => Promise<any>;
|
|
59
|
+
getData: () => Promise<void>;
|
|
60
|
+
updateDataProfile(): Promise<boolean>;
|
|
61
|
+
updateDataDocuments(): Promise<boolean>;
|
|
62
|
+
updateDataAddresses(): Promise<boolean>;
|
|
63
|
+
updateDataContacts(): Promise<boolean>;
|
|
64
|
+
sendDataRequest: (e: any) => void;
|
|
65
|
+
updateSubmitButtonStatus: () => void;
|
|
66
|
+
toTitle: (value: string) => string;
|
|
67
|
+
toggleScreen: () => void;
|
|
68
|
+
render(): any;
|
|
69
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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 PamPlayerProfileController {
|
|
10
|
+
"addAddresses": string;
|
|
11
|
+
"addConsents": string;
|
|
12
|
+
"addContacts": string;
|
|
13
|
+
"addDocuments": string;
|
|
14
|
+
"addProfile": string;
|
|
15
|
+
"clientStyling": string;
|
|
16
|
+
"clientStylingUrl": string;
|
|
17
|
+
"dobFormat": string;
|
|
18
|
+
"endpoint": string;
|
|
19
|
+
"isContactVerificationStatusDisplayed": string;
|
|
20
|
+
"isDocumentsEditable": string;
|
|
21
|
+
"isFullAddressDisplayed": string;
|
|
22
|
+
"isPermanentAdressEditable": string;
|
|
23
|
+
"isPhoneNumberEditable": string;
|
|
24
|
+
"isTemporaryAdressEditable": string;
|
|
25
|
+
"lang": string;
|
|
26
|
+
"mbSource": string;
|
|
27
|
+
"session": string;
|
|
28
|
+
"translationUrl": string;
|
|
29
|
+
"userId": string;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
declare global {
|
|
33
|
+
interface HTMLPamPlayerProfileControllerElement extends Components.PamPlayerProfileController, HTMLStencilElement {
|
|
34
|
+
}
|
|
35
|
+
var HTMLPamPlayerProfileControllerElement: {
|
|
36
|
+
prototype: HTMLPamPlayerProfileControllerElement;
|
|
37
|
+
new (): HTMLPamPlayerProfileControllerElement;
|
|
38
|
+
};
|
|
39
|
+
interface HTMLElementTagNameMap {
|
|
40
|
+
"pam-player-profile-controller": HTMLPamPlayerProfileControllerElement;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
declare namespace LocalJSX {
|
|
44
|
+
interface PamPlayerProfileController {
|
|
45
|
+
"addAddresses"?: string;
|
|
46
|
+
"addConsents"?: string;
|
|
47
|
+
"addContacts"?: string;
|
|
48
|
+
"addDocuments"?: string;
|
|
49
|
+
"addProfile"?: string;
|
|
50
|
+
"clientStyling"?: string;
|
|
51
|
+
"clientStylingUrl"?: string;
|
|
52
|
+
"dobFormat"?: string;
|
|
53
|
+
"endpoint"?: string;
|
|
54
|
+
"isContactVerificationStatusDisplayed"?: string;
|
|
55
|
+
"isDocumentsEditable"?: string;
|
|
56
|
+
"isFullAddressDisplayed"?: string;
|
|
57
|
+
"isPermanentAdressEditable"?: string;
|
|
58
|
+
"isPhoneNumberEditable"?: string;
|
|
59
|
+
"isTemporaryAdressEditable"?: string;
|
|
60
|
+
"lang"?: string;
|
|
61
|
+
"mbSource"?: string;
|
|
62
|
+
"session"?: string;
|
|
63
|
+
"translationUrl"?: string;
|
|
64
|
+
"userId"?: string;
|
|
65
|
+
}
|
|
66
|
+
interface IntrinsicElements {
|
|
67
|
+
"pam-player-profile-controller": PamPlayerProfileController;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
export { LocalJSX as JSX };
|
|
71
|
+
declare module "@stencil/core" {
|
|
72
|
+
export namespace JSX {
|
|
73
|
+
interface IntrinsicElements {
|
|
74
|
+
"pam-player-profile-controller": LocalJSX.PamPlayerProfileController & JSXBase.HTMLAttributes<HTMLPamPlayerProfileControllerElement>;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/pam-player-profile-controller';
|