@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,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-85501c28.js');
|
|
6
|
+
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
|
+
|
|
8
|
+
/*
|
|
9
|
+
Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
10
|
+
*/
|
|
11
|
+
var patchBrowser = () => {
|
|
12
|
+
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('pam-player-profile-controller.cjs.js', document.baseURI).href));
|
|
13
|
+
const opts = {};
|
|
14
|
+
if (importMeta !== "") {
|
|
15
|
+
opts.resourcesUrl = new URL(".", importMeta).href;
|
|
16
|
+
}
|
|
17
|
+
return index.promiseResolve(opts);
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
patchBrowser().then(async (options) => {
|
|
21
|
+
await appGlobals.globalScripts();
|
|
22
|
+
return index.bootstrapLazy([["pam-player-addresses_6.cjs",[[1,"pam-player-profile-controller",{"userId":[513,"user-id"],"session":[513],"endpoint":[513],"lang":[513],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"addProfile":[513,"add-profile"],"addAddresses":[513,"add-addresses"],"addContacts":[513,"add-contacts"],"addDocuments":[513,"add-documents"],"addConsents":[513,"add-consents"],"dobFormat":[513,"dob-format"],"isFullAddressDisplayed":[513,"is-full-address-displayed"],"isPermanentAdressEditable":[513,"is-permanent-adress-editable"],"isTemporaryAdressEditable":[513,"is-temporary-adress-editable"],"isContactVerificationStatusDisplayed":[513,"is-contact-verification-status-displayed"],"isPhoneNumberEditable":[513,"is-phone-number-editable"],"isDocumentsEditable":[513,"is-documents-editable"],"isMobile":[32],"limitStylingAppends":[32],"isLoading":[32],"isSubmitButtonAvailable":[32],"isError":[32],"errorMessage":[32],"errorCode":[32]},null,{"clientStyling":["handleStylingChange"],"clientStylingUrl":["handleStylingUrlChange"]}],[1,"pam-player-addresses",{"userId":[513,"user-id"],"session":[513],"endpoint":[513],"lang":[513],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"isFullAddressDisplayed":[513,"is-full-address-displayed"],"isPermanentAdressEditable":[513,"is-permanent-adress-editable"],"isTemporaryAdressEditable":[513,"is-temporary-adress-editable"],"isStandAlone":[513,"is-stand-alone"],"limitStylingAppends":[32],"isSkeletonLoading":[32],"isSubmitButtonAvailable":[32],"invalidFields":[32],"isMobile":[32],"isPermanentAddressSectionActive":[32],"isTemporaryAddressSectionActive":[32],"isError":[32],"errorMessage":[32],"errorCode":[32]},null,{"clientStyling":["handleStylingChange"],"clientStylingUrl":["handleStylingUrlChange"]}],[1,"pam-player-contacts",{"userId":[513,"user-id"],"session":[513],"endpoint":[513],"lang":[513],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"isVerificationStatusDisplayed":[513,"is-verification-status-displayed"],"isPhoneNumberEditable":[513,"is-phone-number-editable"],"isStandAlone":[513,"is-stand-alone"],"limitStylingAppends":[32],"isSkeletonLoading":[32],"isSubmitButtonAvailable":[32],"invalidFields":[32],"isMobile":[32],"isError":[32],"errorMessage":[32],"errorCode":[32]},null,{"clientStyling":["handleStylingChange"],"clientStylingUrl":["handleStylingUrlChange"]}],[1,"pam-player-documents",{"userId":[513,"user-id"],"session":[513],"endpoint":[513],"lang":[513],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"isEditable":[513,"is-editable"],"isStandAlone":[513,"is-stand-alone"],"limitStylingAppends":[32],"isSkeletonLoading":[32],"isSubmitButtonAvailable":[32],"invalidFields":[32],"isMobile":[32]},null,{"clientStyling":["handleStylingChange"],"clientStylingUrl":["handleStylingUrlChange"]}],[1,"pam-player-profile",{"userId":[513,"user-id"],"session":[513],"endpoint":[513],"lang":[513],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"dobFormat":[513,"dob-format"],"isStandAlone":[513,"is-stand-alone"],"limitStylingAppends":[32],"skeletonLoading":[32],"isSubmitButtonAvailable":[32],"invalidFields":[32],"isMobile":[32],"isError":[32],"errorMessage":[32],"errorCode":[32]},null,{"clientStyling":["handleStylingChange"],"clientStylingUrl":["handleStylingUrlChange"]}],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1],"color":[1],"primaryColor":[1,"primary-color"],"secondaryColor":[1,"secondary-color"]},null,{"structure":["handleStructureChange"]}]]]], options);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
exports.setNonce = index.setNonce;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"entries": [
|
|
3
|
+
"components/pam-player-profile-controller/pam-player-profile-controller.js"
|
|
4
|
+
],
|
|
5
|
+
"compiler": {
|
|
6
|
+
"name": "@stencil/core",
|
|
7
|
+
"version": "4.19.2",
|
|
8
|
+
"typescriptVersion": "5.4.5"
|
|
9
|
+
},
|
|
10
|
+
"collections": [
|
|
11
|
+
{
|
|
12
|
+
"name": "@everymatrix/pam-player-addresses",
|
|
13
|
+
"tags": [
|
|
14
|
+
"pam-player-addresses"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "@everymatrix/pam-player-contacts",
|
|
19
|
+
"tags": [
|
|
20
|
+
"pam-player-contacts"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "@everymatrix/pam-player-documents",
|
|
25
|
+
"tags": [
|
|
26
|
+
"pam-player-documents"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "@everymatrix/pam-player-profile",
|
|
31
|
+
"tags": [
|
|
32
|
+
"pam-player-profile"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "@everymatrix/ui-skeleton",
|
|
37
|
+
"tags": [
|
|
38
|
+
"ui-skeleton"
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"bundles": []
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PlayerProfileController } from './pam-player-profile-controller';
|
package/dist/collection/components/pam-player-profile-controller/pam-player-profile-controller.css
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
button {
|
|
6
|
+
font-family: var(--emw--button-typography);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
input, select, option {
|
|
10
|
+
font-family: inherit;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.errorContainer {
|
|
14
|
+
font-family: "Roboto";
|
|
15
|
+
font-style: normal;
|
|
16
|
+
font-family: sans-serif;
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
gap: 24px;
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
}
|
|
23
|
+
.errorContainer .errorMessage {
|
|
24
|
+
color: var(--emw--color-error, var(--emw--color-red, #ed0909));
|
|
25
|
+
font-size: var(--emw-font-size-small, 13px);
|
|
26
|
+
display: block;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
text-align: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.PlayerProfileControllerWrapper {
|
|
32
|
+
color: var(--emw--pam-typography, var(--emw-color-contrast, #07072A));
|
|
33
|
+
background: var(--emw-color-pale, var(--emw--color-gray-50, #F1F1F1));
|
|
34
|
+
padding: 50px;
|
|
35
|
+
height: 100%;
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
gap: 20px;
|
|
39
|
+
border-radius: var(--emw--border-radius-large, 10px);
|
|
40
|
+
}
|
|
41
|
+
.PlayerProfileControllerWrapper h2 {
|
|
42
|
+
font-size: var(--emw--font-size-x-large, 24px);
|
|
43
|
+
color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
|
|
44
|
+
text-transform: capitalize;
|
|
45
|
+
font-weight: var(--emw--font-weight-semibold, 500);
|
|
46
|
+
}
|
|
47
|
+
.PlayerProfileControllerWrapper .ConsentsWrapper {
|
|
48
|
+
background: var(--emw-color-pale, var(--emw--color-gray-100, #E6E6E6));
|
|
49
|
+
border-radius: var(--emw--border-radius-large, 10px);
|
|
50
|
+
padding: 50px;
|
|
51
|
+
margin-top: 15px;
|
|
52
|
+
}
|
|
53
|
+
.PlayerProfileControllerWrapper .ButtonsArea {
|
|
54
|
+
grid-column-gap: 10px;
|
|
55
|
+
grid-template-rows: auto;
|
|
56
|
+
grid-template-columns: 1fr;
|
|
57
|
+
margin-top: 20px;
|
|
58
|
+
width: 50%;
|
|
59
|
+
}
|
|
60
|
+
.PlayerProfileControllerWrapper .ButtonsArea .SaveButton {
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
justify-content: center;
|
|
64
|
+
box-sizing: border-box;
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
background-image: linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));
|
|
67
|
+
border: 2px solid var(--emw--button-border-color, #0E5924);
|
|
68
|
+
color: var(--emw--button-text-color, #FFFFFF);
|
|
69
|
+
border-radius: var(--emw--button-border-radius, 10px);
|
|
70
|
+
font-size: var(--emw--size-standard, 16px);
|
|
71
|
+
text-transform: uppercase;
|
|
72
|
+
transition-duration: var(--emw--transition-medium, 250ms);
|
|
73
|
+
max-width: 400px;
|
|
74
|
+
min-width: 200px;
|
|
75
|
+
padding: 13px 0;
|
|
76
|
+
width: 100%;
|
|
77
|
+
}
|
|
78
|
+
.PlayerProfileControllerWrapper .ButtonsArea .SaveButton:active {
|
|
79
|
+
background: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
|
|
80
|
+
}
|
|
81
|
+
.PlayerProfileControllerWrapper .ButtonsArea .SaveButton.Disabled {
|
|
82
|
+
opacity: 0.3;
|
|
83
|
+
cursor: not-allowed;
|
|
84
|
+
}
|
|
85
|
+
.PlayerProfileControllerWrapper.Mobile {
|
|
86
|
+
padding: 20px 15px;
|
|
87
|
+
background: var(--emw-color-gray-50, #F9F8F8);
|
|
88
|
+
max-width: unset;
|
|
89
|
+
border-radius: var(--emw--border-radius-small, 5px);
|
|
90
|
+
}
|
|
91
|
+
.PlayerProfileControllerWrapper.Mobile .ReturnButton {
|
|
92
|
+
color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
|
|
93
|
+
display: inline-flex;
|
|
94
|
+
align-items: center;
|
|
95
|
+
column-gap: 10px;
|
|
96
|
+
margin-bottom: 10px;
|
|
97
|
+
}
|
|
98
|
+
.PlayerProfileControllerWrapper.Mobile .ReturnButton svg {
|
|
99
|
+
fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
|
|
100
|
+
}
|
|
101
|
+
.PlayerProfileControllerWrapper.Mobile h2 {
|
|
102
|
+
color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
|
|
103
|
+
font-size: var(--emw--font-size-large, 20px);
|
|
104
|
+
font-weight: var(--emw--font-weight-semibold, 500);
|
|
105
|
+
}
|
|
106
|
+
.PlayerProfileControllerWrapper.Mobile .ButtonsArea {
|
|
107
|
+
grid-column-gap: 10px;
|
|
108
|
+
width: 100%;
|
|
109
|
+
grid-template-columns: 1fr 1fr;
|
|
110
|
+
}
|
|
111
|
+
.PlayerProfileControllerWrapper.Mobile .ButtonsArea .SaveButton {
|
|
112
|
+
font-size: var(--emw--size-x-small, 12px);
|
|
113
|
+
height: 40px;
|
|
114
|
+
color: var(--emw-button-typography, var(--emw-color-white, #FFFFFF));
|
|
115
|
+
}
|
|
116
|
+
.PlayerProfileControllerWrapper.Mobile .ButtonsArea .SaveButton.Disabled {
|
|
117
|
+
color: var(--emw-color-gray-300, #58586B);
|
|
118
|
+
}
|