@everymatrix/pam-login 0.0.1
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-c5001c3e.js +1227 -0
- package/dist/cjs/index.cjs.js +10 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/pam-login-45f1f99f.js +22332 -0
- package/dist/cjs/pam-login.cjs.js +25 -0
- package/dist/cjs/pam-login_2.cjs.entry.js +175 -0
- package/dist/collection/collection-manifest.json +19 -0
- package/dist/collection/components/pam-login/index.js +1 -0
- package/dist/collection/components/pam-login/pam-login.css +206 -0
- package/dist/collection/components/pam-login/pam-login.js +723 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/locale.utils.js +271 -0
- package/dist/collection/utils/types.js +1 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/index-a126c540.js +1200 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/pam-login-f43d7eb6.js +22330 -0
- package/dist/esm/pam-login.js +20 -0
- package/dist/esm/pam-login_2.entry.js +170 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/pam-login/index.esm.js +1 -0
- package/dist/pam-login/p-83cb37b3.js +2 -0
- package/dist/pam-login/p-c6405762.js +2655 -0
- package/dist/pam-login/p-e1255160.js +1 -0
- package/dist/pam-login/p-e23846e0.entry.js +1 -0
- package/dist/pam-login/pam-login.esm.js +1 -0
- package/dist/stencil.config.dev.js +19 -0
- package/dist/stencil.config.js +18 -0
- package/dist/storybook/main.js +43 -0
- package/dist/storybook/preview.js +9 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/pam-login/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/pam-login/.stencil/packages/stencil/pam-login/stencil.config.d.ts +2 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/pam-login/.stencil/packages/stencil/pam-login/stencil.config.dev.d.ts +2 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/pam-login/.stencil/packages/stencil/pam-login/storybook/main.d.ts +3 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/pam-login/.stencil/packages/stencil/pam-login/storybook/preview.d.ts +70 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/pam-login/.stencil/tools/plugins/index.d.ts +3 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/pam-login/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/pam-login/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/pam-login/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
- package/dist/types/components/pam-login/index.d.ts +1 -0
- package/dist/types/components/pam-login/pam-login.d.ts +200 -0
- package/dist/types/components.d.ts +149 -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 +2 -0
- package/dist/types/utils/types.d.ts +6 -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-c5001c3e.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-login.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-login_2.cjs",[[1,"pam-login",{"endpoint":[513],"lang":[1537],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[513,"translation-url"],"passwordReset":[513,"password-reset"],"userEmailRegex":[513,"user-email-regex"],"userEmailRegexOptions":[513,"user-email-regex-options"],"userPhoneRegex":[513,"user-phone-regex"],"userPhoneRegexOptions":[513,"user-phone-regex-options"],"passwordRegex":[513,"password-regex"],"passwordRegexOptions":[513,"password-regex-options"],"loginByPhoneNumber":[513,"login-by-phone-number"],"isLoading":[32],"contactValue":[32],"passwordValue":[32],"prefixValue":[32],"prefixOptions":[32],"isContactValid":[32],"isPasswordValid":[32],"isPasswordVisible":[32],"apiErrorMessage":[32],"captchaData":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[2,"border-radius"],"marginBottom":[2,"margin-bottom"],"marginTop":[2,"margin-top"],"marginLeft":[2,"margin-left"],"marginRight":[2,"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,175 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const pamLogin = require('./pam-login-45f1f99f.js');
|
|
6
|
+
const index = require('./index-c5001c3e.js');
|
|
7
|
+
|
|
8
|
+
const uiSkeletonCss = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}";
|
|
9
|
+
const UiSkeletonStyle0 = uiSkeletonCss;
|
|
10
|
+
|
|
11
|
+
const UiSkeleton = class {
|
|
12
|
+
constructor(hostRef) {
|
|
13
|
+
index.registerInstance(this, hostRef);
|
|
14
|
+
this.structure = undefined;
|
|
15
|
+
this.width = undefined;
|
|
16
|
+
this.height = undefined;
|
|
17
|
+
this.borderRadius = undefined;
|
|
18
|
+
this.marginBottom = undefined;
|
|
19
|
+
this.marginTop = undefined;
|
|
20
|
+
this.marginLeft = undefined;
|
|
21
|
+
this.marginRight = undefined;
|
|
22
|
+
this.animation = true;
|
|
23
|
+
this.rows = undefined;
|
|
24
|
+
this.size = undefined;
|
|
25
|
+
this.color = undefined;
|
|
26
|
+
this.primaryColor = undefined;
|
|
27
|
+
this.secondaryColor = undefined;
|
|
28
|
+
}
|
|
29
|
+
handleStructureChange(newValue, oldValue) {
|
|
30
|
+
if (oldValue !== newValue) {
|
|
31
|
+
this.handleStructure(newValue);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
handleStructure(structure) {
|
|
35
|
+
switch (structure) {
|
|
36
|
+
case 'logo':
|
|
37
|
+
return this.renderLogo();
|
|
38
|
+
case 'image':
|
|
39
|
+
return this.renderImage();
|
|
40
|
+
case 'title':
|
|
41
|
+
return this.renderTitle();
|
|
42
|
+
case 'text':
|
|
43
|
+
return this.renderText();
|
|
44
|
+
case 'rectangle':
|
|
45
|
+
return this.renderRectangle();
|
|
46
|
+
case 'circle':
|
|
47
|
+
return this.renderCircle();
|
|
48
|
+
default:
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
renderLogo() {
|
|
53
|
+
return (index.h("div", { class: "SkeletonContainer" }, index.h("div", { class: "Logo " + (this.animation ? 'Skeleton' : '') })));
|
|
54
|
+
}
|
|
55
|
+
renderImage() {
|
|
56
|
+
return (index.h("div", { class: "Image " + (this.animation ? 'Skeleton' : '') }));
|
|
57
|
+
}
|
|
58
|
+
renderTitle() {
|
|
59
|
+
return (index.h("div", { class: "SkeletonContainer" }, index.h("div", { class: "Title " + (this.animation ? 'Skeleton' : '') })));
|
|
60
|
+
}
|
|
61
|
+
renderText() {
|
|
62
|
+
return (index.h("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((_, index$1) => (index.h("div", { key: index$1, class: "Text " + (this.animation ? 'Skeleton' : '') })))));
|
|
63
|
+
}
|
|
64
|
+
renderRectangle() {
|
|
65
|
+
return (index.h("div", { class: "SkeletonContainer" }, index.h("div", { class: "Rectangle " + (this.animation ? 'Skeleton' : '') })));
|
|
66
|
+
}
|
|
67
|
+
renderCircle() {
|
|
68
|
+
return (index.h("div", { class: "SkeletonContainer" }, index.h("div", { class: "Circle " + (this.animation ? 'Skeleton' : '') })));
|
|
69
|
+
}
|
|
70
|
+
render() {
|
|
71
|
+
let styleBlock = '';
|
|
72
|
+
switch (this.structure) {
|
|
73
|
+
case 'logo':
|
|
74
|
+
styleBlock = `
|
|
75
|
+
:host {
|
|
76
|
+
--emw-skeleton-logo-width: ${this.width};
|
|
77
|
+
--emw-skeleton-logo-height: ${this.height};
|
|
78
|
+
--emw-skeleton-logo-border-radius: ${this.borderRadius}px;
|
|
79
|
+
--emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
|
|
80
|
+
--emw-skeleton-logo-margin-top: ${this.marginTop}px;
|
|
81
|
+
--emw-skeleton-logo-margin-left: ${this.marginLeft}px;
|
|
82
|
+
--emw-skeleton-logo-margin-right: ${this.marginRight}px;
|
|
83
|
+
--emw-skeleton-logo-background: ${this.color};
|
|
84
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
85
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
86
|
+
}
|
|
87
|
+
`;
|
|
88
|
+
break;
|
|
89
|
+
case 'image':
|
|
90
|
+
styleBlock = `
|
|
91
|
+
:host {
|
|
92
|
+
--emw-skeleton-image-width: ${this.width};
|
|
93
|
+
--emw-skeleton-image-height: ${this.height};
|
|
94
|
+
--emw-skeleton-image-border-radius: ${this.borderRadius}px;
|
|
95
|
+
--emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
|
|
96
|
+
--emw-skeleton-image-margin-top: ${this.marginTop}px;
|
|
97
|
+
--emw-skeleton-image-margin-left: ${this.marginLeft}px;
|
|
98
|
+
--emw-skeleton-image-margin-right: ${this.marginRight}px;
|
|
99
|
+
--emw-skeleton-image-background: ${this.color};
|
|
100
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
101
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
102
|
+
}
|
|
103
|
+
`;
|
|
104
|
+
break;
|
|
105
|
+
case 'title':
|
|
106
|
+
styleBlock = `
|
|
107
|
+
:host {
|
|
108
|
+
--emw-skeleton-title-width: ${this.width};
|
|
109
|
+
--emw-skeleton-title-height: ${this.height};
|
|
110
|
+
--emw-skeleton-title-border-radius: ${this.borderRadius}px;
|
|
111
|
+
--emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
|
|
112
|
+
--emw-skeleton-title-margin-top: ${this.marginTop}px;
|
|
113
|
+
--emw-skeleton-title-margin-left: ${this.marginLeft}px;
|
|
114
|
+
--emw-skeleton-title-margin-right: ${this.marginRight}px;
|
|
115
|
+
--emw-skeleton-title-background: ${this.color};
|
|
116
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
117
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
118
|
+
}
|
|
119
|
+
`;
|
|
120
|
+
break;
|
|
121
|
+
case 'text':
|
|
122
|
+
styleBlock = `
|
|
123
|
+
:host {
|
|
124
|
+
--emw-skeleton-text-width: ${this.width};
|
|
125
|
+
--emw-skeleton-text-height: ${this.height};
|
|
126
|
+
--emw-skeleton-text-border-radius: ${this.borderRadius}px;
|
|
127
|
+
--emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
|
|
128
|
+
--emw-skeleton-text-margin-top: ${this.marginTop}px;
|
|
129
|
+
--emw-skeleton-text-margin-left: ${this.marginLeft}px;
|
|
130
|
+
--emw-skeleton-text-margin-right: ${this.marginRight}px;
|
|
131
|
+
--emw-skeleton-text-background: ${this.color};
|
|
132
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
133
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
134
|
+
}
|
|
135
|
+
`;
|
|
136
|
+
break;
|
|
137
|
+
case 'rectangle':
|
|
138
|
+
styleBlock = `
|
|
139
|
+
:host {
|
|
140
|
+
--emw-skeleton-rectangle-width: ${this.width};
|
|
141
|
+
--emw-skeleton-rectangle-height: ${this.height};
|
|
142
|
+
--emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
|
|
143
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
|
|
144
|
+
--emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
|
|
145
|
+
--emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
|
|
146
|
+
--emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
|
|
147
|
+
--emw-skeleton-rectangle-background: ${this.color};
|
|
148
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
149
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
150
|
+
}
|
|
151
|
+
`;
|
|
152
|
+
break;
|
|
153
|
+
case 'circle':
|
|
154
|
+
styleBlock = `
|
|
155
|
+
:host {
|
|
156
|
+
--emw-skeleton-circle-size: ${this.size};
|
|
157
|
+
--emw-skeleton-circle-background: ${this.color};
|
|
158
|
+
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
159
|
+
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
160
|
+
}
|
|
161
|
+
`;
|
|
162
|
+
break;
|
|
163
|
+
default:
|
|
164
|
+
styleBlock = '';
|
|
165
|
+
}
|
|
166
|
+
return (index.h(index.Host, { key: '3bb792a149db7fe732d5cbfa092cdb4d6ca0689e' }, index.h("style", { key: 'a4607599b60659f385ae2660513e38b383739674' }, styleBlock), this.handleStructure(this.structure)));
|
|
167
|
+
}
|
|
168
|
+
static get watchers() { return {
|
|
169
|
+
"structure": ["handleStructureChange"]
|
|
170
|
+
}; }
|
|
171
|
+
};
|
|
172
|
+
UiSkeleton.style = UiSkeletonStyle0;
|
|
173
|
+
|
|
174
|
+
exports.pam_login = pamLogin.PamLogin;
|
|
175
|
+
exports.ui_skeleton = UiSkeleton;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"entries": [
|
|
3
|
+
"components/pam-login/pam-login.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/ui-skeleton",
|
|
13
|
+
"tags": [
|
|
14
|
+
"ui-skeleton"
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"bundles": []
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PamLogin } from './pam-login';
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
font-family: "Roboto", sans-serif;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
section {
|
|
7
|
+
height: 100%;
|
|
8
|
+
width: 100%;
|
|
9
|
+
background-position: center;
|
|
10
|
+
background-size: cover;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.FormValue {
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.FormBox {
|
|
18
|
+
height: 100%;
|
|
19
|
+
display: flex;
|
|
20
|
+
position: relative;
|
|
21
|
+
background: none;
|
|
22
|
+
border: none;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
align-items: center;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.InputBox {
|
|
28
|
+
position: relative;
|
|
29
|
+
margin: 30px 0;
|
|
30
|
+
width: 100%;
|
|
31
|
+
border-bottom: 2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));
|
|
32
|
+
}
|
|
33
|
+
.InputBox .PhoneInputBox {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: row;
|
|
36
|
+
}
|
|
37
|
+
.InputBox .PhoneInputBox .PhoneBox {
|
|
38
|
+
position: relative;
|
|
39
|
+
width: 100%;
|
|
40
|
+
}
|
|
41
|
+
.InputBox .PhoneInputBox .PrefixBox {
|
|
42
|
+
position: relative;
|
|
43
|
+
width: fit-content;
|
|
44
|
+
}
|
|
45
|
+
.InputBox.InputInvalidBox .PasswordVisibilityIcon {
|
|
46
|
+
fill: var(--emfw-w-color-error, var(--emw--color-red, #FD2839));
|
|
47
|
+
}
|
|
48
|
+
.InputBox.InputInvalidBox input {
|
|
49
|
+
color: var(--emfw-w-color-error, var(--emw--color-red, #FD2839));
|
|
50
|
+
}
|
|
51
|
+
.InputBox.InputInvalidBox::after {
|
|
52
|
+
content: "";
|
|
53
|
+
height: 2px;
|
|
54
|
+
width: 100%;
|
|
55
|
+
transition: width 0.6s linear;
|
|
56
|
+
background: var(--emfw-w-color-error, var(--emw--color-red, #FD2839));
|
|
57
|
+
}
|
|
58
|
+
.InputBox::after {
|
|
59
|
+
content: "";
|
|
60
|
+
display: block;
|
|
61
|
+
width: 0;
|
|
62
|
+
height: 2px;
|
|
63
|
+
position: relative;
|
|
64
|
+
top: 2px;
|
|
65
|
+
}
|
|
66
|
+
.InputBox .PasswordVisibilityIcon {
|
|
67
|
+
fill: var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));
|
|
68
|
+
}
|
|
69
|
+
.InputBox .InputIcon .TogglePasswordVisibility {
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
position: absolute;
|
|
72
|
+
top: 18px;
|
|
73
|
+
right: 0;
|
|
74
|
+
}
|
|
75
|
+
.InputBox .InputIcon .TogglePasswordVisibility.PasswordVisible {
|
|
76
|
+
top: 19.5px;
|
|
77
|
+
}
|
|
78
|
+
.InputBox label {
|
|
79
|
+
position: absolute;
|
|
80
|
+
top: 50%;
|
|
81
|
+
left: 5px;
|
|
82
|
+
transform: translateY(-50%);
|
|
83
|
+
color: var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));
|
|
84
|
+
font-size: var(--emw--font-size-medium, 16px);
|
|
85
|
+
pointer-events: none;
|
|
86
|
+
transition: 0.5s;
|
|
87
|
+
}
|
|
88
|
+
.InputBox label.FieldInvalid {
|
|
89
|
+
color: #C23135;
|
|
90
|
+
}
|
|
91
|
+
.InputBox input {
|
|
92
|
+
width: 100%;
|
|
93
|
+
height: 50px;
|
|
94
|
+
background: transparent;
|
|
95
|
+
border: none;
|
|
96
|
+
outline: none;
|
|
97
|
+
font-size: var(--emw--font-size-medium, 16px);
|
|
98
|
+
padding: 0 35px 0 5px;
|
|
99
|
+
color: var(--emw--registration-typography, var(--emw--color-typography, #000000));
|
|
100
|
+
box-sizing: border-box;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* animations: start */
|
|
104
|
+
input:focus ~ label,
|
|
105
|
+
label.FieldFilledIn {
|
|
106
|
+
top: -3px;
|
|
107
|
+
font-size: var(--emw--font-size-x-small, 16px);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
vaadin-combo-box:focus-within ~ label,
|
|
111
|
+
label.FieldFilledIn {
|
|
112
|
+
top: -3px;
|
|
113
|
+
font-size: var(--emw--font-size-x-small, 16px);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* animation:end */
|
|
117
|
+
.ForgotPassword button {
|
|
118
|
+
margin: -10px 0 17px;
|
|
119
|
+
font-size: var(--emw--font-size-medium, 16px);
|
|
120
|
+
color: var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));
|
|
121
|
+
display: flex;
|
|
122
|
+
justify-content: space-between;
|
|
123
|
+
background-color: transparent;
|
|
124
|
+
padding: 0;
|
|
125
|
+
height: unset;
|
|
126
|
+
border: 0;
|
|
127
|
+
cursor: pointer;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.SubmitCredentials {
|
|
131
|
+
display: block;
|
|
132
|
+
margin: 0 auto;
|
|
133
|
+
outline: none;
|
|
134
|
+
cursor: pointer;
|
|
135
|
+
background: var(--emw--color-primary, #0E5924);
|
|
136
|
+
border-radius: var(--emw--button-border-radius, 10px);
|
|
137
|
+
padding: 10px 20px;
|
|
138
|
+
font-size: var(--emw--font-size-large, 20px);
|
|
139
|
+
font-family: var(--emw--button-typography);
|
|
140
|
+
color: var(--emw--button-text-color, #FFFFFF);
|
|
141
|
+
}
|
|
142
|
+
.SubmitCredentials:disabled {
|
|
143
|
+
background: var(--emw--color-primary, #0E5924);
|
|
144
|
+
opacity: 0.4;
|
|
145
|
+
cursor: default;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.InvalidField {
|
|
149
|
+
position: absolute;
|
|
150
|
+
color: var(--emfw-w-color-error, var(--emw--color-red, #FD2839));
|
|
151
|
+
font-size: var(--emw--font-size-x-small, 12px);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.SubmitCredentials {
|
|
155
|
+
margin-bottom: 20px;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.CredentialsError {
|
|
159
|
+
color: var(--emfw-w-color-error, var(--emw--color-red, #FD2839));
|
|
160
|
+
font-size: var(--emw--font-size-x-small, 12px);
|
|
161
|
+
padding: 0 0 20px 0;
|
|
162
|
+
margin: 0;
|
|
163
|
+
}
|
|
164
|
+
.CredentialsError input {
|
|
165
|
+
color: var(--emfw-w-color-error, var(--emw--color-red, #FD2839));
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/* Responsiveness:Start */
|
|
169
|
+
@media screen and (max-width: 480px) {
|
|
170
|
+
.FormBox {
|
|
171
|
+
width: 100%;
|
|
172
|
+
border-radius: 0px;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
/* Responsiveness:End */
|
|
176
|
+
.LoadingSkeleton {
|
|
177
|
+
width: 100%;
|
|
178
|
+
height: 100%;
|
|
179
|
+
}
|
|
180
|
+
.LoadingSkeleton .Form {
|
|
181
|
+
display: flex;
|
|
182
|
+
flex-direction: column;
|
|
183
|
+
gap: 50px;
|
|
184
|
+
width: 100%;
|
|
185
|
+
height: 100%;
|
|
186
|
+
}
|
|
187
|
+
.LoadingSkeleton .Form .ButtonReturn {
|
|
188
|
+
width: 150px;
|
|
189
|
+
height: 30px;
|
|
190
|
+
margin-top: 15px;
|
|
191
|
+
display: block;
|
|
192
|
+
}
|
|
193
|
+
.LoadingSkeleton .Form .FieldsSection {
|
|
194
|
+
display: block;
|
|
195
|
+
}
|
|
196
|
+
.LoadingSkeleton .Form .FieldsSection .FieldContainer .FieldTitle {
|
|
197
|
+
width: 150px;
|
|
198
|
+
margin-top: 30px;
|
|
199
|
+
margin-bottom: 15px;
|
|
200
|
+
}
|
|
201
|
+
.LoadingSkeleton .Form .ButtonsSection .Button {
|
|
202
|
+
border-radius: 50px;
|
|
203
|
+
background: transparent;
|
|
204
|
+
border: none;
|
|
205
|
+
overflow: hidden;
|
|
206
|
+
}
|