@genesislcap/foundation-auth 14.99.0-auth-mf.22 → 14.103.0-auth-mf.24
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/README.md +35 -1
- package/dist/dts/components/zero-components.d.ts.map +1 -1
- package/dist/dts/config/templates.d.ts +0 -1
- package/dist/dts/config/templates.d.ts.map +1 -1
- package/dist/dts/main/main.d.ts +4 -6
- package/dist/dts/main/main.d.ts.map +1 -1
- package/dist/dts/main/main.styles.d.ts.map +1 -1
- package/dist/dts/main/main.template.d.ts +0 -8
- package/dist/dts/main/main.template.d.ts.map +1 -1
- package/dist/dts/routes/login/login.template.d.ts.map +1 -1
- package/dist/dts/routes/logout/logout.template.d.ts.map +1 -1
- package/dist/dts/routes/request-account/request-account.template.d.ts.map +1 -1
- package/dist/dts/routes/verify/verify.template.d.ts.map +1 -1
- package/dist/dts/store/auth.d.ts +1 -1
- package/dist/dts/store/auth.d.ts.map +1 -1
- package/dist/dts/store/authFormEntry.d.ts +1 -1
- package/dist/dts/store/authFormEntry.d.ts.map +1 -1
- package/dist/dts/tags/tags.d.ts +0 -4
- package/dist/dts/tags/tags.d.ts.map +1 -1
- package/dist/dts/user/user.d.ts +2 -2
- package/dist/dts/user/user.d.ts.map +1 -1
- package/dist/esm/components/zero-components.js +8 -5
- package/dist/esm/config/templates.js +0 -1
- package/dist/esm/main/main.js +8 -8
- package/dist/esm/main/main.styles.js +4 -8
- package/dist/esm/main/main.template.js +2 -14
- package/dist/esm/routes/forgot-password/forgot-password.template.js +2 -2
- package/dist/esm/routes/login/login.template.js +5 -4
- package/dist/esm/routes/logout/logout.template.js +1 -0
- package/dist/esm/routes/request-account/request-account.template.js +3 -2
- package/dist/esm/routes/reset-password/reset-password.template.js +1 -1
- package/dist/esm/routes/verify/verify.template.js +3 -2
- package/dist/esm/store/authFormEntry.js +1 -7
- package/dist/esm/tags/tags.js +0 -4
- package/dist/esm/user/user.js +6 -2
- package/dist/foundation-auth.api.json +2 -84
- package/dist/foundation-auth.d.ts +8 -22
- package/docs/api/foundation-auth.md +0 -2
- package/docs/api/foundation-auth.user.addauthenticationchangelistener.md +3 -3
- package/docs/api-report.md +4 -13
- package/package.json +12 -12
- package/docs/api/foundation-auth.loadingtemplate.md +0 -12
- package/docs/api/foundation-auth.routertemplate.md +0 -12
package/README.md
CHANGED
|
@@ -68,6 +68,23 @@ GENX_SSO_LOGIN_URL=https://public-foundation-hardened1/sm/{type}/login?idp={id}
|
|
|
68
68
|
GENX_SOCKET_URL=wss://public-foundation-hardened1/gwf/
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
+
An example of load these variables into a webpack build process:
|
|
72
|
+
|
|
73
|
+
```js
|
|
74
|
+
const { resolveDefineConfig } = require('@genesislcap/build-kit'); // < npm install @genesislcap/build-kit --save
|
|
75
|
+
const { config } = require('dotenv'); // < npm install dotenv --save
|
|
76
|
+
const { DefinePlugin } = require('webpack');
|
|
77
|
+
|
|
78
|
+
config(); // < loads the .env vars
|
|
79
|
+
|
|
80
|
+
module.exports = {
|
|
81
|
+
...
|
|
82
|
+
plugins: [
|
|
83
|
+
new DefinePlugin(resolveDefineConfig(['GENX_*'])), // < code replacement
|
|
84
|
+
],
|
|
85
|
+
}
|
|
86
|
+
```
|
|
87
|
+
|
|
71
88
|
### Get User reference
|
|
72
89
|
User is a singleton. You can access it via the DI container.
|
|
73
90
|
```ts
|
|
@@ -90,7 +107,7 @@ an event listener.
|
|
|
90
107
|
```ts
|
|
91
108
|
import type { UserAuthenticationChangeEvent } from '@genesislcap/foundation-auth/user';
|
|
92
109
|
...
|
|
93
|
-
this.user.addAuthenticationChangeListener((event: UserAuthenticationChangeEvent) => {
|
|
110
|
+
const unsubscribeUser = this.user.addAuthenticationChangeListener((event: UserAuthenticationChangeEvent) => {
|
|
94
111
|
console.log('User authenticated?', event.detail); // < detail is a boolean
|
|
95
112
|
});
|
|
96
113
|
```
|
|
@@ -184,6 +201,23 @@ this.authRouting.navigateTo('logout');
|
|
|
184
201
|
You can use `AuthRouting` to navigate to other routes, like change password etc, all without needing to know the full
|
|
185
202
|
path the micro frontend is hosted on.
|
|
186
203
|
|
|
204
|
+
If you have trouble logging out using the routing utility, you can try using your host app's router directly. Here is
|
|
205
|
+
an example using the angular router.
|
|
206
|
+
|
|
207
|
+
```ts
|
|
208
|
+
import { Router } from '@angular/router';
|
|
209
|
+
import { getAuthRouting } from '@genesislcap/foundation-auth/routing';
|
|
210
|
+
|
|
211
|
+
export class AppComponent {
|
|
212
|
+
constructor(private router: Router) {}
|
|
213
|
+
|
|
214
|
+
onLogout() {
|
|
215
|
+
// getAuthRouting().navigateTo('logout'); // < not working as expected
|
|
216
|
+
this.router.navigateByUrl('/auth/logout'); // < being used on the 'auth' host path
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
```
|
|
220
|
+
|
|
187
221
|
See the [AuthRouting API Docs](./docs/api/foundation-auth.authrouting.md) for more information.
|
|
188
222
|
|
|
189
223
|
## [API Docs](./docs/api/index.md)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zero-components.d.ts","sourceRoot":"","sources":["../../../src/components/zero-components.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"zero-components.d.ts","sourceRoot":"","sources":["../../../src/components/zero-components.ts"],"names":[],"mappings":"AAqCA;;;GAGG;AACH,eAAO,MAAM,4BAA4B,qBAkCxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../src/config/templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,yBAAyB,CAAC;IAClC,MAAM,EAAE,yBAAyB,CAAC;IAClC,IAAI,EAAE,yBAAyB,CAAC;IAChC,QAAQ,EAAE,yBAAyB,CAAC;IACpC,aAAa,EAAE,yBAAyB,CAAC;IACzC,QAAQ,EAAE,yBAAyB,CAAC;IACpC,MAAM,EAAE,yBAAyB,CAAC;IAClC,MAAM,EAAE,yBAAyB,CAAC;IAClC,SAAS,EAAE,yBAAyB,CAAC;IACrC,
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../src/config/templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,yBAAyB,CAAC;IAClC,MAAM,EAAE,yBAAyB,CAAC;IAClC,IAAI,EAAE,yBAAyB,CAAC;IAChC,QAAQ,EAAE,yBAAyB,CAAC;IACpC,aAAa,EAAE,yBAAyB,CAAC;IACzC,QAAQ,EAAE,yBAAyB,CAAC;IACpC,MAAM,EAAE,yBAAyB,CAAC;IAClC,MAAM,EAAE,yBAAyB,CAAC;IAClC,SAAS,EAAE,yBAAyB,CAAC;IACrC,YAAY,EAAE,yBAAyB,CAAC;CACzC,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC,GAAG;IAC1D;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,qBAAqB,CAAC;CAC9C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,EAAE,eAWpC,CAAC"}
|
package/dist/dts/main/main.d.ts
CHANGED
|
@@ -53,7 +53,9 @@ declare const FoundationAuth_base: abstract new (...args: any[]) => {
|
|
|
53
53
|
readonly prefix: string;
|
|
54
54
|
readonly scrollHeight: number;
|
|
55
55
|
scrollLeft: number;
|
|
56
|
-
scrollTop: number;
|
|
56
|
+
scrollTop: number; /**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
57
59
|
readonly scrollWidth: number;
|
|
58
60
|
readonly shadowRoot: ShadowRoot;
|
|
59
61
|
slot: string;
|
|
@@ -393,10 +395,6 @@ export declare class FoundationAuth extends FoundationAuth_base {
|
|
|
393
395
|
* @internal
|
|
394
396
|
*/
|
|
395
397
|
get classNames(): string;
|
|
396
|
-
/**
|
|
397
|
-
* @internal
|
|
398
|
-
*/
|
|
399
|
-
template(): import("@microsoft/fast-element").ViewTemplate<FoundationAuth, any>;
|
|
400
398
|
/**
|
|
401
399
|
* @internal
|
|
402
400
|
*/
|
|
@@ -438,7 +436,7 @@ export declare class ZeroAuth extends FoundationAuth {
|
|
|
438
436
|
/**
|
|
439
437
|
* @internal
|
|
440
438
|
*/
|
|
441
|
-
|
|
439
|
+
zeroReady: boolean;
|
|
442
440
|
/**
|
|
443
441
|
* @internal
|
|
444
442
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/main/main.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/main/main.ts"],"names":[],"mappings":"AACA,OAAO,EACL,eAAe,EAKhB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,SAAS,EAAwB,MAAM,4BAA4B,CAAC;AAG7E,OAAO,+BAA+B,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAI1E;;GAEG;AACH,KAAK,QAAQ,GAAG,YAAY,GAAG,IAAI,CAAC,qBAAqB,EAAE,oBAAoB,CAAC,GAAG,EAAE,CAAC;;;;;;;;;;;;mCAmHpF;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAoEH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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../src/main/main.styles.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"main.styles.d.ts","sourceRoot":"","sources":["../../../src/main/main.styles.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,MAAM,iDAuBlB,CAAC"}
|
|
@@ -3,12 +3,4 @@ import type { FoundationAuth } from './main';
|
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export declare const template: import("@microsoft/fast-element").ViewTemplate<FoundationAuth, any>;
|
|
6
|
-
/**
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
export declare const routerTemplate: import("@microsoft/fast-element").ViewTemplate<FoundationAuth, any>;
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*/
|
|
13
|
-
export declare const loadingTemplate: import("@microsoft/fast-element").ViewTemplate<FoundationAuth, any>;
|
|
14
6
|
//# sourceMappingURL=main.template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.template.d.ts","sourceRoot":"","sources":["../../../src/main/main.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,QAAQ,qEAKpB,CAAC
|
|
1
|
+
{"version":3,"file":"main.template.d.ts","sourceRoot":"","sources":["../../../src/main/main.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,QAAQ,qEAKpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/login/login.template.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AA8GrC,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"login.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/login/login.template.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AA8GrC,eAAO,MAAM,aAAa,4DAoCzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logout.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/logout/logout.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"logout.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/logout/logout.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,eAAO,MAAM,cAAc,6DAY1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-account.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/request-account/request-account.template.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"request-account.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/request-account/request-account.template.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,eAAO,MAAM,sBAAsB,qEA8BlC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/verify/verify.template.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"verify.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/verify/verify.template.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,eAAO,MAAM,cAAc,6DA+B1B,CAAC"}
|
package/dist/dts/store/auth.d.ts
CHANGED
|
@@ -76,6 +76,6 @@ export declare class DefaultAuthStore extends AbstractStoreRoot<AuthStore, AuthE
|
|
|
76
76
|
* AuthStore DI key.
|
|
77
77
|
* @internal
|
|
78
78
|
*/
|
|
79
|
-
export declare const AuthStore: import("@microsoft/fast-foundation").InterfaceSymbol<
|
|
79
|
+
export declare const AuthStore: import("@microsoft/fast-foundation").InterfaceSymbol<AuthStore>;
|
|
80
80
|
export {};
|
|
81
81
|
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/store/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EACL,iBAAiB,EAEjB,SAAS,EACT,uBAAuB,EACxB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,WAAW,EACX,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,uBAAuB,GAChD,mBAAmB,GAAG;IACpB,YAAY,EAAE,WAAW,CAAC;IAC1B,aAAa,EAAE,IAAI,CAAC;IACpB,sBAAsB,EAAE,oBAAoB,CAAC;IAC7C,sBAAsB,EAAE,oBAAoB,CAAC;IAC7C,qBAAqB,EAAE,mBAAmB,CAAC;CAC5C,CAAC;AAEJ,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,mBAAoB,SAAQ,cAAc,CAAC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,gBAAgB,gBAKd;IAEF,8CAA8C;IAC9C,eAAe,gBAKb;IAEF,2CAA2C;IAC3C,IAAI,YAAY,aAEf;IAED,4CAA4C;IAC5C,IAAI,aAAa,aAShB;CACF;AAED;;;GAGG;AACH,eAAO,MAAM,SAAS,iEAA0D,CAAC"}
|
|
@@ -140,6 +140,6 @@ export declare class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEnt
|
|
|
140
140
|
* AuthFormEntryStore DI key.
|
|
141
141
|
* @internal
|
|
142
142
|
*/
|
|
143
|
-
export declare const AuthFormEntryStore: import("@microsoft/fast-foundation").InterfaceSymbol<
|
|
143
|
+
export declare const AuthFormEntryStore: import("@microsoft/fast-foundation").InterfaceSymbol<AuthFormEntryStore>;
|
|
144
144
|
export {};
|
|
145
145
|
//# sourceMappingURL=authFormEntry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authFormEntry.d.ts","sourceRoot":"","sources":["../../../src/store/authFormEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAiB,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAEpF,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAuB,MAAM,eAAe,CAAC;AACvE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGzC;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,oBAAoB,EAAE,IAAI,CAAC;IAC3B,2BAA2B,EAAE,MAAM,CAAC;IACpC,uBAAuB,EAAE,MAAM,CAAC;IAChC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,uBAAuB,EAAE,MAAM,CAAC;IAChC,wBAAwB,EAAE,MAAM,CAAC;IACjC,4BAA4B,EAAE,OAAO,CAAC;IACtC,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C;;GAEG;AACH,eAAO,MAAM,SAAS,QAAiC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,SAAS,QAAiC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,OAAO,QAA+B,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,WAAW,QAAmC,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,gBAAgB,QAAwC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,WAAW,QAAmC,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,SAAS,QAAiC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,SAAS,QAAiC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,YAAY,QAAoC,CAAC;AAE9D;;GAEG;AACH,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../../../src/tags/tags.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AAEH;;GAEG;AACH,eAAO,MAAQ,eAAe,+CACgB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,SAAS,QAAiC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,SAAS,QAAiC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,OAAO,QAA+B,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,WAAW,QAAmC,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,gBAAgB,QAAwC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,WAAW,QAAmC,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,SAAS,QAAiC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,SAAS,QAAiC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,YAAY,QAAoC,CAAC;AAE9D;;GAEG;AACH,eAAO,MAAM,eAAe,QAAuC,CAAC"}
|
package/dist/dts/user/user.d.ts
CHANGED
|
@@ -127,14 +127,14 @@ export interface User extends UserPathHistory, UserActionHistory {
|
|
|
127
127
|
* ```ts
|
|
128
128
|
* import type { UserAuthenticationChangeEvent } from '@genesislcap/foundation-auth/user';
|
|
129
129
|
* ...
|
|
130
|
-
* this.user.addAuthenticationChangeListener((event: UserAuthenticationChangeEvent) => {
|
|
130
|
+
* const unsubscribe = this.user.addAuthenticationChangeListener((event: UserAuthenticationChangeEvent) => {
|
|
131
131
|
* console.log('User authenticated?', event.detail);
|
|
132
132
|
* });
|
|
133
133
|
* ```
|
|
134
134
|
*
|
|
135
135
|
* @param listener - A listener function.
|
|
136
136
|
*/
|
|
137
|
-
addAuthenticationChangeListener(listener: Listener<UserAuthenticationChangeEvent>): void;
|
|
137
|
+
addAuthenticationChangeListener(listener: Listener<UserAuthenticationChangeEvent>): () => void;
|
|
138
138
|
}
|
|
139
139
|
/**
|
|
140
140
|
* Default User implementation.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/user/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAGzE,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC;;;GAGG;AACH,eAAO,MAAM,4BAA4B,+BAA+B,CAAC;AAEzE;;;;;;;GAOG;AACH,MAAM,MAAM,6BAA6B,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAEjE;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,CAAC;IAE/B;;OAEG;IACH,SAAS,IAAI,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,IAAI,IAAI,CAAC;IAEnB;;;OAGG;IACH,QAAQ,IAAI,MAAM,GAAG,SAAS,CAAC;CAChC;AAED;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;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+
import { assureDesignSystem, ResourceType, } from '@genesislcap/foundation-utils';
|
|
3
3
|
import { logger } from '../utils';
|
|
4
4
|
/**
|
|
5
5
|
* zeroDesignSystemImport.
|
|
@@ -9,18 +9,21 @@ import { logger } from '../utils';
|
|
|
9
9
|
*/
|
|
10
10
|
function zeroDesignSystemImport() {
|
|
11
11
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12
|
+
let module;
|
|
12
13
|
let type = ResourceType.remote;
|
|
13
14
|
try {
|
|
14
|
-
|
|
15
|
+
module = yield import(
|
|
15
16
|
/* webpackChunkName: "foundation-zero" */
|
|
16
17
|
'foundationZero/ZeroDesignSystem');
|
|
18
|
+
return assureDesignSystem(module);
|
|
17
19
|
}
|
|
18
20
|
catch (e) {
|
|
19
21
|
logger.info(`Please note remoteEntry.js load errors are expected if module federated dependencies are offline. Falling back to locally bundled versions.`);
|
|
20
22
|
type = ResourceType.local;
|
|
21
|
-
|
|
23
|
+
module = yield import(
|
|
22
24
|
/* webpackChunkName: "foundation-zero" */
|
|
23
25
|
'@genesislcap/foundation-zero');
|
|
26
|
+
return assureDesignSystem(module);
|
|
24
27
|
}
|
|
25
28
|
finally {
|
|
26
29
|
logger.debug(`Using '${type}' version of foundation-zero`);
|
|
@@ -32,7 +35,7 @@ function zeroDesignSystemImport() {
|
|
|
32
35
|
* @public
|
|
33
36
|
*/
|
|
34
37
|
export const registerCommonZeroComponents = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
35
|
-
const { provideDesignSystem, zeroAnchor, zeroButton, zeroCard, zeroCheckbox, zeroDesignSystemProvider, zeroListboxOption,
|
|
38
|
+
const { provideDesignSystem, zeroAnchor, zeroButton, zeroCard, zeroCheckbox, zeroDesignSystemProvider, zeroListboxOption, zeroProgressRing, zeroSelect, zeroTextField, } = yield zeroDesignSystemImport();
|
|
36
39
|
/**
|
|
37
40
|
* Register the components the app is using with the system.
|
|
38
41
|
*/
|
|
@@ -44,5 +47,5 @@ export const registerCommonZeroComponents = () => __awaiter(void 0, void 0, void
|
|
|
44
47
|
/**
|
|
45
48
|
* Common across most routes, so batch register these lightweight components upfront.
|
|
46
49
|
*/
|
|
47
|
-
zeroAnchor(), zeroButton(), zeroCard(), zeroCheckbox(), zeroListboxOption(),
|
|
50
|
+
zeroAnchor(), zeroButton(), zeroCard(), zeroCheckbox(), zeroListboxOption(), zeroProgressRing(), zeroSelect(), zeroTextField());
|
|
48
51
|
});
|
package/dist/esm/main/main.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __awaiter, __decorate } from "tslib";
|
|
2
2
|
import { EventEmitter } from '@genesislcap/foundation-events';
|
|
3
|
-
import { customElement, FASTElement } from '@microsoft/fast-element';
|
|
3
|
+
import { customElement, FASTElement, observable, volatile, } from '@microsoft/fast-element';
|
|
4
4
|
import { Container, inject, Registration } from '@microsoft/fast-foundation';
|
|
5
5
|
import { DefaultRouteRecognizer } from '@microsoft/fast-router';
|
|
6
6
|
import { classNames } from '@microsoft/fast-web-utilities';
|
|
@@ -8,7 +8,7 @@ import '../components/core-components';
|
|
|
8
8
|
import { AuthRouterConfig } from '../routes/config';
|
|
9
9
|
import { AuthStore } from '../store';
|
|
10
10
|
import { styles } from './main.styles';
|
|
11
|
-
import {
|
|
11
|
+
import { template } from './main.template';
|
|
12
12
|
/**
|
|
13
13
|
* FoundationAuth.
|
|
14
14
|
*
|
|
@@ -94,12 +94,6 @@ export class FoundationAuth extends EventEmitter(FASTElement) {
|
|
|
94
94
|
get classNames() {
|
|
95
95
|
return classNames(['ready', this.isReady], ['not-ready', !this.isReady]);
|
|
96
96
|
}
|
|
97
|
-
/**
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
100
|
-
template() {
|
|
101
|
-
return this.isReady ? routerTemplate : loadingTemplate;
|
|
102
|
-
}
|
|
103
97
|
/**
|
|
104
98
|
* @internal
|
|
105
99
|
*/
|
|
@@ -119,6 +113,9 @@ __decorate([
|
|
|
119
113
|
__decorate([
|
|
120
114
|
Container
|
|
121
115
|
], FoundationAuth.prototype, "container", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
volatile
|
|
118
|
+
], FoundationAuth.prototype, "classNames", null);
|
|
122
119
|
/**
|
|
123
120
|
* ZeroAuth.
|
|
124
121
|
*
|
|
@@ -190,6 +187,9 @@ let ZeroAuth = class ZeroAuth extends FoundationAuth {
|
|
|
190
187
|
return super.isReady && this.zeroReady;
|
|
191
188
|
}
|
|
192
189
|
};
|
|
190
|
+
__decorate([
|
|
191
|
+
observable
|
|
192
|
+
], ZeroAuth.prototype, "zeroReady", void 0);
|
|
193
193
|
ZeroAuth = __decorate([
|
|
194
194
|
customElement({
|
|
195
195
|
name: 'zero-auth',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { mixinRobotoFont } from '@genesislcap/foundation-zero';
|
|
2
2
|
import { css } from '@microsoft/fast-element';
|
|
3
|
-
import {
|
|
3
|
+
import { providerTag, routerTag } from '../tags';
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
@@ -18,13 +18,9 @@ export const styles = css `
|
|
|
18
18
|
height: 100%;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
height: calc(var(--design-unit) * 1px);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
:host([hidden]) {
|
|
21
|
+
:host([hidden]),
|
|
22
|
+
:host(.not-ready),
|
|
23
|
+
${providerTag}.not-ready {
|
|
28
24
|
display: none;
|
|
29
25
|
}
|
|
30
26
|
|
|
@@ -1,23 +1,11 @@
|
|
|
1
1
|
import { html } from '@microsoft/fast-element';
|
|
2
|
-
import {
|
|
2
|
+
import { providerTag, routerTag } from '../tags';
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
export const template = html `
|
|
7
7
|
<${providerTag} data-test-id="auth-provider" class="${(x) => x.classNames}">
|
|
8
|
-
|
|
8
|
+
<${routerTag} :config=${(x) => x.config} data-test-id="auth-router"></${routerTag}>
|
|
9
9
|
<slot></slot>
|
|
10
10
|
</${providerTag}>
|
|
11
11
|
`;
|
|
12
|
-
/**
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
15
|
-
export const routerTemplate = html `
|
|
16
|
-
<${routerTag} :config=${(x) => x.config} data-test-id="auth-router"></${routerTag}>
|
|
17
|
-
`;
|
|
18
|
-
/**
|
|
19
|
-
* @public
|
|
20
|
-
*/
|
|
21
|
-
export const loadingTemplate = html `
|
|
22
|
-
<${progressTag}></${progressTag}>
|
|
23
|
-
`;
|
|
@@ -7,10 +7,10 @@ export const ForgotPasswordTemplate = html `
|
|
|
7
7
|
<${cardTag} class="card-pd">
|
|
8
8
|
<div class="column-content">
|
|
9
9
|
<auth-logo></auth-logo>
|
|
10
|
-
<div class="heading2">Forgotten Password</div>
|
|
10
|
+
<div class="heading2" data-test-id="heading">Forgotten Password</div>
|
|
11
11
|
<div class="heading3">Enter your account username</div>
|
|
12
12
|
</div>
|
|
13
|
-
<form @submit=${(x) => x.onSubmit()}>
|
|
13
|
+
<form @submit=${(x) => x.onSubmit()} data-test-id="form">
|
|
14
14
|
${organisationField()} ${usernameField()}
|
|
15
15
|
<div class="form-buttons">
|
|
16
16
|
${submitButton('Send Recovery Link')} ${backButton((x) => x.onBack())}
|
|
@@ -8,7 +8,7 @@ const regularLogin = html `
|
|
|
8
8
|
<span class="case-warning">*Fields are case-sensitive</span>
|
|
9
9
|
${showPasswordsCheckbox()}
|
|
10
10
|
<div class="form-buttons">
|
|
11
|
-
${(x) => submitButton('Login', 'submit
|
|
11
|
+
${(x) => submitButton('Login', 'submit', x.submitDisabled)}
|
|
12
12
|
<div class="links">
|
|
13
13
|
<div class="password-links">
|
|
14
14
|
${when((x) => !x.config.omitRoutes.includes('forgot-password'), html `
|
|
@@ -79,7 +79,7 @@ const ssoLogin = html `
|
|
|
79
79
|
class="action-btn"
|
|
80
80
|
appearance="primary-gradient"
|
|
81
81
|
@click="${(x) => x.onSSOLogin()}"
|
|
82
|
-
data-test-id="
|
|
82
|
+
data-test-id="submit"
|
|
83
83
|
?disabled=${(x) => !x.store.formEntry.selectedIdp}
|
|
84
84
|
>
|
|
85
85
|
SSO Login
|
|
@@ -93,7 +93,7 @@ export const LoginTemplate = html `
|
|
|
93
93
|
<${cardTag} class="card-pd">
|
|
94
94
|
<div class="column-content">
|
|
95
95
|
<auth-logo></auth-logo>
|
|
96
|
-
<div class="heading2">Login</div>
|
|
96
|
+
<div class="heading2" data-test-id="heading">Login</div>
|
|
97
97
|
</div>
|
|
98
98
|
<form
|
|
99
99
|
id="auth-login"
|
|
@@ -101,7 +101,7 @@ export const LoginTemplate = html `
|
|
|
101
101
|
autocomplete="on"
|
|
102
102
|
@submit=${(x) => x.onLoginSubmit()}
|
|
103
103
|
?disabled=${(x) => x.submitDisabled}
|
|
104
|
-
data-test-id="
|
|
104
|
+
data-test-id="form"
|
|
105
105
|
>
|
|
106
106
|
${regularLogin} ${ssoLogin}
|
|
107
107
|
${when((x) => x.config.sso, html `
|
|
@@ -114,6 +114,7 @@ export const LoginTemplate = html `
|
|
|
114
114
|
${(x) => x.ssoToggleLabel}
|
|
115
115
|
</${checkboxTag}>
|
|
116
116
|
`)}
|
|
117
|
+
<submitting-indicator is-submitting="${(x) => x.store.isPending}"></submitting-indicator>
|
|
117
118
|
<auth-message></auth-message>
|
|
118
119
|
</form>
|
|
119
120
|
</${cardTag}>
|
|
@@ -6,6 +6,7 @@ export const LogoutTemplate = html `
|
|
|
6
6
|
<${cardTag} class="card-pd">
|
|
7
7
|
<div class="column-content">
|
|
8
8
|
<auth-logo></auth-logo>
|
|
9
|
+
<submitting-indicator is-submitting="${(x) => x.store.isPending}"></submitting-indicator>
|
|
9
10
|
<auth-message></auth-message>
|
|
10
11
|
</div>
|
|
11
12
|
</${cardTag}>
|
|
@@ -8,9 +8,9 @@ export const RequestAccountTemplate = html `
|
|
|
8
8
|
<${cardTag} class="card-pd">
|
|
9
9
|
<div class="column-content">
|
|
10
10
|
<auth-logo></auth-logo>
|
|
11
|
-
<div class="heading2">Request Account</div>
|
|
11
|
+
<div class="heading2" data-test-id="heading">Request Account</div>
|
|
12
12
|
</div>
|
|
13
|
-
<form @submit=${(x) => x.onSubmit()}>
|
|
13
|
+
<form @submit=${(x) => x.onSubmit()} data-test-id="form">
|
|
14
14
|
${organisationField()} ${usernameField()} ${emailField()} ${passwordField()}
|
|
15
15
|
${password2Field('confirmation')}
|
|
16
16
|
<${checkboxTag}
|
|
@@ -26,6 +26,7 @@ export const RequestAccountTemplate = html `
|
|
|
26
26
|
<div class="form-buttons">
|
|
27
27
|
${submitButton('Request Account')} ${backButton((x) => x.onBack())}
|
|
28
28
|
</div>
|
|
29
|
+
<submitting-indicator is-submitting="${(x) => x.store.isPending}"></submitting-indicator>
|
|
29
30
|
<auth-message></auth-message>
|
|
30
31
|
</form>
|
|
31
32
|
</${cardTag}>
|
|
@@ -10,7 +10,7 @@ export const ResetPasswordTemplate = html `
|
|
|
10
10
|
<div class="heading2" data-test-id="heading">${(x) => x.headingText}</div>
|
|
11
11
|
<div class="heading3">Enter the username registered to your account</div>
|
|
12
12
|
</div>
|
|
13
|
-
<form @submit=${(x) => x.onSubmit()} autocomplete="on">
|
|
13
|
+
<form @submit=${(x) => x.onSubmit()} autocomplete="on" data-test-id="form">
|
|
14
14
|
${organisationField()} ${usernameField()}
|
|
15
15
|
${when((x) => !x.passwordResetToken, html `
|
|
16
16
|
${passwordField('Old Password')}
|
|
@@ -8,12 +8,12 @@ export const VerifyTemplate = html `
|
|
|
8
8
|
<${cardTag} class="card-pd">
|
|
9
9
|
<div class="column-content">
|
|
10
10
|
<auth-logo></auth-logo>
|
|
11
|
-
<div class="heading2">Verify that it's you</div>
|
|
11
|
+
<div class="heading2" data-test-id="heading">Verify that it's you</div>
|
|
12
12
|
<div class="heading3">
|
|
13
13
|
We've sent a code to the email address attached to this account.
|
|
14
14
|
</div>
|
|
15
15
|
</div>
|
|
16
|
-
<form @submit=${(x) => x.onSubmit()}>
|
|
16
|
+
<form @submit=${(x) => x.onSubmit()} data-test-id="form">
|
|
17
17
|
<${textFieldTag}
|
|
18
18
|
type="text"
|
|
19
19
|
name="code"
|
|
@@ -27,6 +27,7 @@ export const VerifyTemplate = html `
|
|
|
27
27
|
<div class="form-buttons">
|
|
28
28
|
${submitButton('Verify and Login')} ${backButton((x) => x.onBack())}
|
|
29
29
|
</div>
|
|
30
|
+
<submitting-indicator is-submitting="${(x) => x.store.isPending}"></submitting-indicator>
|
|
30
31
|
<auth-message></auth-message>
|
|
31
32
|
</form>
|
|
32
33
|
</${cardTag}>
|
|
@@ -78,13 +78,7 @@ export class DefaultAuthFormEntryStore extends AbstractStore {
|
|
|
78
78
|
this.commit.errors.delete('auth-fetch-idps-error');
|
|
79
79
|
return;
|
|
80
80
|
}
|
|
81
|
-
|
|
82
|
-
const idps = yield this.idpService.getList();
|
|
83
|
-
this.emit('auth-fetch-idps-success', idps);
|
|
84
|
-
}
|
|
85
|
-
catch (e) {
|
|
86
|
-
this.emit('auth-fetch-idps-error', e);
|
|
87
|
-
}
|
|
81
|
+
yield this.invokeAsyncAPI(this.idpService.getList, 'auth-fetch-idps-error', 'auth-fetch-idps-success');
|
|
88
82
|
});
|
|
89
83
|
this.ssoToggled = (_b = (_a = this.config.sso) === null || _a === void 0 ? void 0 : _a.toggled) !== null && _b !== void 0 ? _b : false;
|
|
90
84
|
/**
|
package/dist/esm/tags/tags.js
CHANGED
|
@@ -49,10 +49,6 @@ export const selectTag = tagFor(templateOptions.select);
|
|
|
49
49
|
* @internal
|
|
50
50
|
*/
|
|
51
51
|
export const textFieldTag = tagFor(templateOptions.textField);
|
|
52
|
-
/**
|
|
53
|
-
* @internal
|
|
54
|
-
*/
|
|
55
|
-
export const progressTag = tagFor(templateOptions.progress);
|
|
56
52
|
/**
|
|
57
53
|
* @internal
|
|
58
54
|
*/
|
package/dist/esm/user/user.js
CHANGED
|
@@ -18,6 +18,8 @@ export class DefaultUser {
|
|
|
18
18
|
this.pathHistory = [];
|
|
19
19
|
/** {@inheritDoc UserActionHistory.actionHistory} */
|
|
20
20
|
this.actionHistory = [];
|
|
21
|
+
/** {@inheritDoc User.isAuthenticated} */
|
|
22
|
+
this.isAuthenticated = false;
|
|
21
23
|
/** @internal */
|
|
22
24
|
this.authenticationChangeListeners = createObserver();
|
|
23
25
|
}
|
|
@@ -123,11 +125,13 @@ export class DefaultUser {
|
|
|
123
125
|
}
|
|
124
126
|
/** {@inheritDoc User.addAuthenticationChangeListener} */
|
|
125
127
|
addAuthenticationChangeListener(listener) {
|
|
126
|
-
|
|
128
|
+
var _a;
|
|
129
|
+
return (_a = this.authenticationChangeListeners) === null || _a === void 0 ? void 0 : _a.subscribe(listener);
|
|
127
130
|
}
|
|
128
131
|
/** @internal */
|
|
129
132
|
isAuthenticatedChanged() {
|
|
130
|
-
|
|
133
|
+
var _a;
|
|
134
|
+
(_a = this.authenticationChangeListeners) === null || _a === void 0 ? void 0 : _a.publish(new CustomEvent(UserAuthenticationChangeType, {
|
|
131
135
|
detail: this.isAuthenticated,
|
|
132
136
|
}));
|
|
133
137
|
}
|
|
@@ -11972,47 +11972,6 @@
|
|
|
11972
11972
|
"endIndex": 6
|
|
11973
11973
|
}
|
|
11974
11974
|
},
|
|
11975
|
-
{
|
|
11976
|
-
"kind": "Variable",
|
|
11977
|
-
"canonicalReference": "@genesislcap/foundation-auth!loadingTemplate:var",
|
|
11978
|
-
"docComment": "/**\n * @public\n */\n",
|
|
11979
|
-
"excerptTokens": [
|
|
11980
|
-
{
|
|
11981
|
-
"kind": "Content",
|
|
11982
|
-
"text": "loadingTemplate: "
|
|
11983
|
-
},
|
|
11984
|
-
{
|
|
11985
|
-
"kind": "Content",
|
|
11986
|
-
"text": "import(\"@microsoft/fast-element\")."
|
|
11987
|
-
},
|
|
11988
|
-
{
|
|
11989
|
-
"kind": "Reference",
|
|
11990
|
-
"text": "ViewTemplate",
|
|
11991
|
-
"canonicalReference": "@microsoft/fast-element!ViewTemplate:class"
|
|
11992
|
-
},
|
|
11993
|
-
{
|
|
11994
|
-
"kind": "Content",
|
|
11995
|
-
"text": "<"
|
|
11996
|
-
},
|
|
11997
|
-
{
|
|
11998
|
-
"kind": "Reference",
|
|
11999
|
-
"text": "FoundationAuth",
|
|
12000
|
-
"canonicalReference": "@genesislcap/foundation-auth!FoundationAuth:class"
|
|
12001
|
-
},
|
|
12002
|
-
{
|
|
12003
|
-
"kind": "Content",
|
|
12004
|
-
"text": ", any>"
|
|
12005
|
-
}
|
|
12006
|
-
],
|
|
12007
|
-
"fileUrlPath": "src/main/main.template.ts",
|
|
12008
|
-
"isReadonly": true,
|
|
12009
|
-
"releaseTag": "Public",
|
|
12010
|
-
"name": "loadingTemplate",
|
|
12011
|
-
"variableTypeTokenRange": {
|
|
12012
|
-
"startIndex": 1,
|
|
12013
|
-
"endIndex": 6
|
|
12014
|
-
}
|
|
12015
|
-
},
|
|
12016
11975
|
{
|
|
12017
11976
|
"kind": "Variable",
|
|
12018
11977
|
"canonicalReference": "@genesislcap/foundation-auth!logger:var",
|
|
@@ -13857,47 +13816,6 @@
|
|
|
13857
13816
|
"endIndex": 2
|
|
13858
13817
|
}
|
|
13859
13818
|
},
|
|
13860
|
-
{
|
|
13861
|
-
"kind": "Variable",
|
|
13862
|
-
"canonicalReference": "@genesislcap/foundation-auth!routerTemplate:var",
|
|
13863
|
-
"docComment": "/**\n * @public\n */\n",
|
|
13864
|
-
"excerptTokens": [
|
|
13865
|
-
{
|
|
13866
|
-
"kind": "Content",
|
|
13867
|
-
"text": "routerTemplate: "
|
|
13868
|
-
},
|
|
13869
|
-
{
|
|
13870
|
-
"kind": "Content",
|
|
13871
|
-
"text": "import(\"@microsoft/fast-element\")."
|
|
13872
|
-
},
|
|
13873
|
-
{
|
|
13874
|
-
"kind": "Reference",
|
|
13875
|
-
"text": "ViewTemplate",
|
|
13876
|
-
"canonicalReference": "@microsoft/fast-element!ViewTemplate:class"
|
|
13877
|
-
},
|
|
13878
|
-
{
|
|
13879
|
-
"kind": "Content",
|
|
13880
|
-
"text": "<"
|
|
13881
|
-
},
|
|
13882
|
-
{
|
|
13883
|
-
"kind": "Reference",
|
|
13884
|
-
"text": "FoundationAuth",
|
|
13885
|
-
"canonicalReference": "@genesislcap/foundation-auth!FoundationAuth:class"
|
|
13886
|
-
},
|
|
13887
|
-
{
|
|
13888
|
-
"kind": "Content",
|
|
13889
|
-
"text": ", any>"
|
|
13890
|
-
}
|
|
13891
|
-
],
|
|
13892
|
-
"fileUrlPath": "src/main/main.template.ts",
|
|
13893
|
-
"isReadonly": true,
|
|
13894
|
-
"releaseTag": "Public",
|
|
13895
|
-
"name": "routerTemplate",
|
|
13896
|
-
"variableTypeTokenRange": {
|
|
13897
|
-
"startIndex": 1,
|
|
13898
|
-
"endIndex": 6
|
|
13899
|
-
}
|
|
13900
|
-
},
|
|
13901
13819
|
{
|
|
13902
13820
|
"kind": "Variable",
|
|
13903
13821
|
"canonicalReference": "@genesislcap/foundation-auth!setError:var",
|
|
@@ -14389,7 +14307,7 @@
|
|
|
14389
14307
|
{
|
|
14390
14308
|
"kind": "MethodSignature",
|
|
14391
14309
|
"canonicalReference": "@genesislcap/foundation-auth!User#addAuthenticationChangeListener:member(1)",
|
|
14392
|
-
"docComment": "/**\n * @param listener - A listener function.\n *\n * @example\n * ```ts\n * import type { UserAuthenticationChangeEvent } from '@genesislcap/foundation-auth/user';\n * ...\n * this.user.addAuthenticationChangeListener((event: UserAuthenticationChangeEvent) => {\n * console.log('User authenticated?', event.detail);\n * });\n * ```\n *\n */\n",
|
|
14310
|
+
"docComment": "/**\n * @param listener - A listener function.\n *\n * @example\n * ```ts\n * import type { UserAuthenticationChangeEvent } from '@genesislcap/foundation-auth/user';\n * ...\n * const unsubscribe = this.user.addAuthenticationChangeListener((event: UserAuthenticationChangeEvent) => {\n * console.log('User authenticated?', event.detail);\n * });\n * ```\n *\n */\n",
|
|
14393
14311
|
"excerptTokens": [
|
|
14394
14312
|
{
|
|
14395
14313
|
"kind": "Content",
|
|
@@ -14419,7 +14337,7 @@
|
|
|
14419
14337
|
},
|
|
14420
14338
|
{
|
|
14421
14339
|
"kind": "Content",
|
|
14422
|
-
"text": "void"
|
|
14340
|
+
"text": "() => void"
|
|
14423
14341
|
},
|
|
14424
14342
|
{
|
|
14425
14343
|
"kind": "Content",
|
|
@@ -22,7 +22,6 @@ import { FetchMachine } from '@genesislcap/foundation-state-machine';
|
|
|
22
22
|
import { FetchMachineEvent } from '@genesislcap/foundation-state-machine';
|
|
23
23
|
import { InterfaceSymbol } from '@microsoft/fast-foundation';
|
|
24
24
|
import type { InterpreterOptions } from 'xstate';
|
|
25
|
-
import { Key } from '@microsoft/fast-foundation';
|
|
26
25
|
import { Listener } from '@genesislcap/foundation-utils';
|
|
27
26
|
import { Logger } from '@genesislcap/foundation-logger';
|
|
28
27
|
import { Machine } from '@genesislcap/foundation-state-machine';
|
|
@@ -279,7 +278,7 @@ export declare interface AuthFormEntryStore extends Store {
|
|
|
279
278
|
* AuthFormEntryStore DI key.
|
|
280
279
|
* @internal
|
|
281
280
|
*/
|
|
282
|
-
export declare const AuthFormEntryStore: InterfaceSymbol<
|
|
281
|
+
export declare const AuthFormEntryStore: InterfaceSymbol<AuthFormEntryStore>;
|
|
283
282
|
|
|
284
283
|
/**
|
|
285
284
|
* AuthMachine interface.
|
|
@@ -501,7 +500,7 @@ export declare interface AuthStore extends StoreRoot {
|
|
|
501
500
|
* AuthStore DI key.
|
|
502
501
|
* @internal
|
|
503
502
|
*/
|
|
504
|
-
export declare const AuthStore: InterfaceSymbol<
|
|
503
|
+
export declare const AuthStore: InterfaceSymbol<AuthStore>;
|
|
505
504
|
|
|
506
505
|
/**
|
|
507
506
|
* @public
|
|
@@ -1427,10 +1426,6 @@ export declare class FoundationAuth extends FoundationAuth_base {
|
|
|
1427
1426
|
* @internal
|
|
1428
1427
|
*/
|
|
1429
1428
|
get classNames(): string;
|
|
1430
|
-
/**
|
|
1431
|
-
* @internal
|
|
1432
|
-
*/
|
|
1433
|
-
template(): ViewTemplate<FoundationAuth, any>;
|
|
1434
1429
|
/**
|
|
1435
1430
|
* @internal
|
|
1436
1431
|
*/
|
|
@@ -1483,7 +1478,9 @@ declare const FoundationAuth_base: abstract new (...args: any[]) => {
|
|
|
1483
1478
|
readonly prefix: string;
|
|
1484
1479
|
readonly scrollHeight: number;
|
|
1485
1480
|
scrollLeft: number;
|
|
1486
|
-
scrollTop: number;
|
|
1481
|
+
scrollTop: number; /**
|
|
1482
|
+
* @internal
|
|
1483
|
+
*/
|
|
1487
1484
|
readonly scrollWidth: number;
|
|
1488
1485
|
readonly shadowRoot: ShadowRoot;
|
|
1489
1486
|
slot: string;
|
|
@@ -2038,11 +2035,6 @@ export declare type JWTCredentials = {
|
|
|
2038
2035
|
domain: string;
|
|
2039
2036
|
};
|
|
2040
2037
|
|
|
2041
|
-
/**
|
|
2042
|
-
* @public
|
|
2043
|
-
*/
|
|
2044
|
-
export declare const loadingTemplate: ViewTemplate<FoundationAuth, any>;
|
|
2045
|
-
|
|
2046
2038
|
/**
|
|
2047
2039
|
* @public
|
|
2048
2040
|
*/
|
|
@@ -2450,11 +2442,6 @@ export declare type ResetPasswordParams = {
|
|
|
2450
2442
|
requester?: string;
|
|
2451
2443
|
};
|
|
2452
2444
|
|
|
2453
|
-
/**
|
|
2454
|
-
* @public
|
|
2455
|
-
*/
|
|
2456
|
-
export declare const routerTemplate: ViewTemplate<FoundationAuth, any>;
|
|
2457
|
-
|
|
2458
2445
|
/**
|
|
2459
2446
|
* Set error action.
|
|
2460
2447
|
* @remarks
|
|
@@ -2552,7 +2539,6 @@ declare type TemplateComponents = {
|
|
|
2552
2539
|
router: TemplateElementDependency;
|
|
2553
2540
|
select: TemplateElementDependency;
|
|
2554
2541
|
textField: TemplateElementDependency;
|
|
2555
|
-
progress: TemplateElementDependency;
|
|
2556
2542
|
progressRing: TemplateElementDependency;
|
|
2557
2543
|
};
|
|
2558
2544
|
|
|
@@ -2619,14 +2605,14 @@ export declare interface User extends UserPathHistory, UserActionHistory {
|
|
|
2619
2605
|
* ```ts
|
|
2620
2606
|
* import type { UserAuthenticationChangeEvent } from '@genesislcap/foundation-auth/user';
|
|
2621
2607
|
* ...
|
|
2622
|
-
* this.user.addAuthenticationChangeListener((event: UserAuthenticationChangeEvent) => {
|
|
2608
|
+
* const unsubscribe = this.user.addAuthenticationChangeListener((event: UserAuthenticationChangeEvent) => {
|
|
2623
2609
|
* console.log('User authenticated?', event.detail);
|
|
2624
2610
|
* });
|
|
2625
2611
|
* ```
|
|
2626
2612
|
*
|
|
2627
2613
|
* @param listener - A listener function.
|
|
2628
2614
|
*/
|
|
2629
|
-
addAuthenticationChangeListener(listener: Listener<UserAuthenticationChangeEvent>): void;
|
|
2615
|
+
addAuthenticationChangeListener(listener: Listener<UserAuthenticationChangeEvent>): () => void;
|
|
2630
2616
|
}
|
|
2631
2617
|
|
|
2632
2618
|
/**
|
|
@@ -2780,7 +2766,7 @@ export declare class ZeroAuth extends FoundationAuth {
|
|
|
2780
2766
|
/**
|
|
2781
2767
|
* @internal
|
|
2782
2768
|
*/
|
|
2783
|
-
|
|
2769
|
+
zeroReady: boolean;
|
|
2784
2770
|
/**
|
|
2785
2771
|
* @internal
|
|
2786
2772
|
*/
|
|
@@ -118,14 +118,12 @@
|
|
|
118
118
|
| [hasDTOErrorWarningCode](./foundation-auth.hasdtoerrorwarningcode.md) | hasDTOErrorWarningCode |
|
|
119
119
|
| [is200Nack](./foundation-auth.is200nack.md) | is200Nack. |
|
|
120
120
|
| [isMappingError](./foundation-auth.ismappingerror.md) | |
|
|
121
|
-
| [loadingTemplate](./foundation-auth.loadingtemplate.md) | |
|
|
122
121
|
| [logger](./foundation-auth.logger.md) | |
|
|
123
122
|
| [LOGIN\_DETAILS\_URL](./foundation-auth.login_details_url.md) | |
|
|
124
123
|
| [LOGIN\_REFRESH\_URL](./foundation-auth.login_refresh_url.md) | |
|
|
125
124
|
| [LOGIN\_URL](./foundation-auth.login_url.md) | |
|
|
126
125
|
| [LOGOUT\_URL](./foundation-auth.logout_url.md) | |
|
|
127
126
|
| [RESET\_PASSWORD\_URL](./foundation-auth.reset_password_url.md) | |
|
|
128
|
-
| [routerTemplate](./foundation-auth.routertemplate.md) | |
|
|
129
127
|
| [setError](./foundation-auth.seterror.md) | Set error action. |
|
|
130
128
|
| [SOCKET\_URL](./foundation-auth.socket_url.md) | |
|
|
131
129
|
| [SSO\_LIST\_URL](./foundation-auth.sso_list_url.md) | |
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
**Signature:**
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
addAuthenticationChangeListener(listener: Listener<UserAuthenticationChangeEvent>): void;
|
|
10
|
+
addAuthenticationChangeListener(listener: Listener<UserAuthenticationChangeEvent>): () => void;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
@@ -18,7 +18,7 @@ addAuthenticationChangeListener(listener: Listener<UserAuthenticationChangeEvent
|
|
|
18
18
|
|
|
19
19
|
**Returns:**
|
|
20
20
|
|
|
21
|
-
void
|
|
21
|
+
() => void
|
|
22
22
|
|
|
23
23
|
## Example
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ void
|
|
|
26
26
|
```ts
|
|
27
27
|
import type { UserAuthenticationChangeEvent } from '@genesislcap/foundation-auth/user';
|
|
28
28
|
...
|
|
29
|
-
this.user.addAuthenticationChangeListener((event: UserAuthenticationChangeEvent) => {
|
|
29
|
+
const unsubscribe = this.user.addAuthenticationChangeListener((event: UserAuthenticationChangeEvent) => {
|
|
30
30
|
console.log('User authenticated?', event.detail);
|
|
31
31
|
});
|
|
32
32
|
```
|
package/docs/api-report.md
CHANGED
|
@@ -28,7 +28,6 @@ import { FetchMachine } from '@genesislcap/foundation-state-machine';
|
|
|
28
28
|
import { FetchMachineEvent } from '@genesislcap/foundation-state-machine';
|
|
29
29
|
import { InterfaceSymbol } from '@microsoft/fast-foundation';
|
|
30
30
|
import type { InterpreterOptions } from 'xstate';
|
|
31
|
-
import { Key } from '@microsoft/fast-foundation';
|
|
32
31
|
import { Listener } from '@genesislcap/foundation-utils';
|
|
33
32
|
import { Logger } from '@genesislcap/foundation-logger';
|
|
34
33
|
import { Machine } from '@genesislcap/foundation-state-machine';
|
|
@@ -173,7 +172,7 @@ export interface AuthFormEntryStore extends Store {
|
|
|
173
172
|
}
|
|
174
173
|
|
|
175
174
|
// @internal
|
|
176
|
-
export const AuthFormEntryStore: InterfaceSymbol<
|
|
175
|
+
export const AuthFormEntryStore: InterfaceSymbol<AuthFormEntryStore>;
|
|
177
176
|
|
|
178
177
|
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "AuthMachine" because one of its declarations is marked as @internal
|
|
179
178
|
//
|
|
@@ -295,7 +294,7 @@ export interface AuthStore extends StoreRoot {
|
|
|
295
294
|
}
|
|
296
295
|
|
|
297
296
|
// @internal
|
|
298
|
-
export const AuthStore: InterfaceSymbol<
|
|
297
|
+
export const AuthStore: InterfaceSymbol<AuthStore>;
|
|
299
298
|
|
|
300
299
|
// @public (undocumented)
|
|
301
300
|
export type BasicCredentials = {
|
|
@@ -985,8 +984,6 @@ export class FoundationAuth extends FoundationAuth_base {
|
|
|
985
984
|
protected removeEventListeners(): void;
|
|
986
985
|
// @internal (undocumented)
|
|
987
986
|
store: AuthStore;
|
|
988
|
-
// @internal (undocumented)
|
|
989
|
-
template(): ViewTemplate<FoundationAuth, any>;
|
|
990
987
|
}
|
|
991
988
|
|
|
992
989
|
// Warning: (ae-incompatible-release-tags) The symbol "fromDTOAck" is marked as @public, but its signature references "ACK" which is marked as @internal
|
|
@@ -1117,9 +1114,6 @@ export type JWTCredentials = {
|
|
|
1117
1114
|
domain: string;
|
|
1118
1115
|
};
|
|
1119
1116
|
|
|
1120
|
-
// @public (undocumented)
|
|
1121
|
-
export const loadingTemplate: ViewTemplate<FoundationAuth, any>;
|
|
1122
|
-
|
|
1123
1117
|
// @public (undocumented)
|
|
1124
1118
|
export const logger: Logger;
|
|
1125
1119
|
|
|
@@ -1415,9 +1409,6 @@ export type ResetPasswordParams = {
|
|
|
1415
1409
|
requester?: string;
|
|
1416
1410
|
};
|
|
1417
1411
|
|
|
1418
|
-
// @public (undocumented)
|
|
1419
|
-
export const routerTemplate: ViewTemplate<FoundationAuth, any>;
|
|
1420
|
-
|
|
1421
1412
|
// @public
|
|
1422
1413
|
export const setError: {
|
|
1423
1414
|
(_: ActionArgs<MachineContext_2, EventObject, ParameterizedObject>): void;
|
|
@@ -1470,7 +1461,7 @@ export const template: ViewTemplate<FoundationAuth, any>;
|
|
|
1470
1461
|
// @public
|
|
1471
1462
|
export interface User extends UserPathHistory, UserActionHistory {
|
|
1472
1463
|
// (undocumented)
|
|
1473
|
-
addAuthenticationChangeListener(listener: Listener<UserAuthenticationChangeEvent>): void;
|
|
1464
|
+
addAuthenticationChangeListener(listener: Listener<UserAuthenticationChangeEvent>): () => void;
|
|
1474
1465
|
// (undocumented)
|
|
1475
1466
|
readonly details: Details;
|
|
1476
1467
|
// (undocumented)
|
|
@@ -1551,7 +1542,7 @@ export class ZeroAuth extends FoundationAuth {
|
|
|
1551
1542
|
// @internal (undocumented)
|
|
1552
1543
|
protected loadRemotes(): Promise<void>;
|
|
1553
1544
|
// @internal (undocumented)
|
|
1554
|
-
|
|
1545
|
+
zeroReady: boolean;
|
|
1555
1546
|
}
|
|
1556
1547
|
|
|
1557
1548
|
// Warnings were encountered during analysis:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-auth",
|
|
3
3
|
"description": "Genesis Foundation Auth",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.103.0-auth-mf.24",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/foundation-auth.d.ts",
|
|
@@ -98,19 +98,19 @@
|
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
|
-
"@genesislcap/foundation-testing": "14.
|
|
102
|
-
"@genesislcap/genx": "14.
|
|
101
|
+
"@genesislcap/foundation-testing": "14.103.0-auth-mf.24",
|
|
102
|
+
"@genesislcap/genx": "14.103.0-auth-mf.24",
|
|
103
103
|
"rimraf": "^3.0.2"
|
|
104
104
|
},
|
|
105
105
|
"dependencies": {
|
|
106
|
-
"@genesislcap/foundation-comms": "14.
|
|
107
|
-
"@genesislcap/foundation-events": "14.
|
|
108
|
-
"@genesislcap/foundation-logger": "14.
|
|
109
|
-
"@genesislcap/foundation-state-machine": "14.
|
|
110
|
-
"@genesislcap/foundation-store": "14.
|
|
111
|
-
"@genesislcap/foundation-ui": "14.
|
|
112
|
-
"@genesislcap/foundation-utils": "14.
|
|
113
|
-
"@genesislcap/foundation-zero": "14.
|
|
106
|
+
"@genesislcap/foundation-comms": "14.103.0-auth-mf.24",
|
|
107
|
+
"@genesislcap/foundation-events": "14.103.0-auth-mf.24",
|
|
108
|
+
"@genesislcap/foundation-logger": "14.103.0-auth-mf.24",
|
|
109
|
+
"@genesislcap/foundation-state-machine": "14.103.0-auth-mf.24",
|
|
110
|
+
"@genesislcap/foundation-store": "14.103.0-auth-mf.24",
|
|
111
|
+
"@genesislcap/foundation-ui": "14.103.0-auth-mf.24",
|
|
112
|
+
"@genesislcap/foundation-utils": "14.103.0-auth-mf.24",
|
|
113
|
+
"@genesislcap/foundation-zero": "14.103.0-auth-mf.24",
|
|
114
114
|
"@microsoft/fast-components": "^2.21.3",
|
|
115
115
|
"@microsoft/fast-element": "^1.7.0",
|
|
116
116
|
"@microsoft/fast-foundation": "^2.33.2",
|
|
@@ -130,5 +130,5 @@
|
|
|
130
130
|
"publishConfig": {
|
|
131
131
|
"access": "public"
|
|
132
132
|
},
|
|
133
|
-
"gitHead": "
|
|
133
|
+
"gitHead": "0ecbee6397572e9daf901d0560d465b653440f52"
|
|
134
134
|
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [loadingTemplate](./foundation-auth.loadingtemplate.md)
|
|
4
|
-
|
|
5
|
-
## loadingTemplate variable
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Signature:**
|
|
9
|
-
|
|
10
|
-
```typescript
|
|
11
|
-
loadingTemplate: import("@microsoft/fast-element").ViewTemplate<FoundationAuth, any>
|
|
12
|
-
```
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [routerTemplate](./foundation-auth.routertemplate.md)
|
|
4
|
-
|
|
5
|
-
## routerTemplate variable
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Signature:**
|
|
9
|
-
|
|
10
|
-
```typescript
|
|
11
|
-
routerTemplate: import("@microsoft/fast-element").ViewTemplate<FoundationAuth, any>
|
|
12
|
-
```
|