@genesislcap/foundation-login 14.177.2-alpha-ca0c7658ab2.0 → 14.177.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.
|
@@ -59,7 +59,7 @@ export declare class BaseRoute extends ConfigHostElement {
|
|
|
59
59
|
onNavigate: (path: string) => void;
|
|
60
60
|
queueOnBack(delay?: number): void;
|
|
61
61
|
autofill(): Promise<boolean>;
|
|
62
|
-
storeCredentials(password?: string):
|
|
62
|
+
storeCredentials(password?: string): void;
|
|
63
63
|
sendMessage<T = any>(message: Message<T>, successFeedback?: string, successCallback?: (result: any) => void, delayBack?: number): Promise<void>;
|
|
64
64
|
toLocalisedText(text: string): string;
|
|
65
65
|
}
|
package/dist/esm/routes/base.js
CHANGED
|
@@ -163,7 +163,7 @@ export class BaseRoute extends ConfigHostElement {
|
|
|
163
163
|
password,
|
|
164
164
|
};
|
|
165
165
|
if (this.credentialManager.validateUserCredentialData(data, true)) {
|
|
166
|
-
|
|
166
|
+
this.credentialManager.storeCredentials(data);
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
sendMessage(message, successFeedback = '', successCallback, delayBack) {
|
|
@@ -184,7 +184,7 @@ let LoginForm = class LoginForm extends BaseRoute {
|
|
|
184
184
|
if (!authToken) {
|
|
185
185
|
throw new Error(this.toLocalisedText('LOGIN_FORM_ERROR_LOGIN'));
|
|
186
186
|
}
|
|
187
|
-
|
|
187
|
+
this.storeCredentials();
|
|
188
188
|
let url = this.config.defaultRedirectUrl;
|
|
189
189
|
if (this.session.returnUrl &&
|
|
190
190
|
!this.config.omitRedirectUrls.includes(this.session.returnUrl)) {
|
|
@@ -64,7 +64,7 @@ export declare class BaseRoute extends ConfigHostElement {
|
|
|
64
64
|
onNavigate: (path: string) => void;
|
|
65
65
|
queueOnBack(delay?: number): void;
|
|
66
66
|
autofill(): Promise<boolean>;
|
|
67
|
-
storeCredentials(password?: string):
|
|
67
|
+
storeCredentials(password?: string): void;
|
|
68
68
|
sendMessage<T = any>(message: Message<T>, successFeedback?: string, successCallback?: (result: any) => void, delayBack?: number): Promise<void>;
|
|
69
69
|
toLocalisedText(text: string): string;
|
|
70
70
|
}
|
package/docs/api-report.md
CHANGED
|
@@ -96,7 +96,7 @@ export class BaseRoute extends ConfigHostElement {
|
|
|
96
96
|
// (undocumented)
|
|
97
97
|
showPasswords: boolean;
|
|
98
98
|
// (undocumented)
|
|
99
|
-
storeCredentials(password?: string):
|
|
99
|
+
storeCredentials(password?: string): void;
|
|
100
100
|
// (undocumented)
|
|
101
101
|
toLocalisedText(text: string): string;
|
|
102
102
|
// (undocumented)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-login",
|
|
3
3
|
"description": "Genesis Foundation Login",
|
|
4
|
-
"version": "14.177.2
|
|
4
|
+
"version": "14.177.2",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/foundation-login.d.ts",
|
|
@@ -59,22 +59,22 @@
|
|
|
59
59
|
"test:debug": "genx test --debug"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@genesislcap/foundation-testing": "14.177.2
|
|
63
|
-
"@genesislcap/genx": "14.177.2
|
|
64
|
-
"@genesislcap/rollup-builder": "14.177.2
|
|
65
|
-
"@genesislcap/ts-builder": "14.177.2
|
|
66
|
-
"@genesislcap/uvu-playwright-builder": "14.177.2
|
|
67
|
-
"@genesislcap/vite-builder": "14.177.2
|
|
68
|
-
"@genesislcap/webpack-builder": "14.177.2
|
|
62
|
+
"@genesislcap/foundation-testing": "14.177.2",
|
|
63
|
+
"@genesislcap/genx": "14.177.2",
|
|
64
|
+
"@genesislcap/rollup-builder": "14.177.2",
|
|
65
|
+
"@genesislcap/ts-builder": "14.177.2",
|
|
66
|
+
"@genesislcap/uvu-playwright-builder": "14.177.2",
|
|
67
|
+
"@genesislcap/vite-builder": "14.177.2",
|
|
68
|
+
"@genesislcap/webpack-builder": "14.177.2",
|
|
69
69
|
"rimraf": "^3.0.2"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@genesislcap/foundation-comms": "14.177.2
|
|
73
|
-
"@genesislcap/foundation-i18n": "14.177.2
|
|
74
|
-
"@genesislcap/foundation-logger": "14.177.2
|
|
75
|
-
"@genesislcap/foundation-ui": "14.177.2
|
|
76
|
-
"@genesislcap/foundation-utils": "14.177.2
|
|
77
|
-
"@genesislcap/foundation-zero": "14.177.2
|
|
72
|
+
"@genesislcap/foundation-comms": "14.177.2",
|
|
73
|
+
"@genesislcap/foundation-i18n": "14.177.2",
|
|
74
|
+
"@genesislcap/foundation-logger": "14.177.2",
|
|
75
|
+
"@genesislcap/foundation-ui": "14.177.2",
|
|
76
|
+
"@genesislcap/foundation-utils": "14.177.2",
|
|
77
|
+
"@genesislcap/foundation-zero": "14.177.2",
|
|
78
78
|
"@microsoft/fast-components": "^2.30.6",
|
|
79
79
|
"@microsoft/fast-element": "^1.12.0",
|
|
80
80
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"access": "public"
|
|
93
93
|
},
|
|
94
94
|
"customElements": "dist/custom-elements.json",
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "a55c1f24c62a2c4ef8fbf89454f73afd86a18aa1"
|
|
96
96
|
}
|