@genesislcap/foundation-auth 14.71.1-auth-mf.19 → 14.71.1-auth-mf.20

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.
Files changed (50) hide show
  1. package/dist/dts/machine/machine.d.ts.map +1 -1
  2. package/dist/dts/main/main.d.ts +3 -3
  3. package/dist/dts/main/main.d.ts.map +1 -1
  4. package/dist/dts/routes/base.d.ts +4 -12
  5. package/dist/dts/routes/base.d.ts.map +1 -1
  6. package/dist/dts/routes/config.d.ts +1 -1
  7. package/dist/dts/routes/config.d.ts.map +1 -1
  8. package/dist/dts/routes/forgot-password/forgot-password.d.ts +1 -1
  9. package/dist/dts/routes/forgot-password/forgot-password.d.ts.map +1 -1
  10. package/dist/dts/routes/login/login.d.ts +6 -7
  11. package/dist/dts/routes/login/login.d.ts.map +1 -1
  12. package/dist/dts/routes/login/login.template.d.ts.map +1 -1
  13. package/dist/dts/routes/logout/logout.d.ts +1 -1
  14. package/dist/dts/routes/logout/logout.d.ts.map +1 -1
  15. package/dist/dts/routes/reset-password/reset-password.d.ts +2 -1
  16. package/dist/dts/routes/reset-password/reset-password.d.ts.map +1 -1
  17. package/dist/dts/routes/types.d.ts +0 -14
  18. package/dist/dts/routes/types.d.ts.map +1 -1
  19. package/dist/dts/store/authFormEntry.d.ts +20 -4
  20. package/dist/dts/store/authFormEntry.d.ts.map +1 -1
  21. package/dist/dts/utils/sso.d.ts +14 -1
  22. package/dist/dts/utils/sso.d.ts.map +1 -1
  23. package/dist/esm/machine/machine.js +0 -8
  24. package/dist/esm/main/main.js +3 -3
  25. package/dist/esm/routes/base.js +3 -32
  26. package/dist/esm/routes/config.js +6 -18
  27. package/dist/esm/routes/forgot-password/forgot-password.js +2 -1
  28. package/dist/esm/routes/login/login.js +15 -45
  29. package/dist/esm/routes/login/login.template.js +16 -10
  30. package/dist/esm/routes/logout/logout.js +2 -1
  31. package/dist/esm/routes/reset-password/reset-password.js +6 -5
  32. package/dist/esm/store/authFormEntry.js +49 -2
  33. package/dist/foundation-auth.api.json +385 -4
  34. package/dist/foundation-auth.d.ts +34 -19
  35. package/docs/api/foundation-auth.authformentryeventmap.md +2 -0
  36. package/docs/api/foundation-auth.authformentrystore.autofilling.md +11 -0
  37. package/docs/api/foundation-auth.authformentrystore.md +3 -0
  38. package/docs/api/foundation-auth.authformentrystore.onselectedidpchanged.md +22 -0
  39. package/docs/api/foundation-auth.authformentrystore.onssotogglechanged.md +22 -0
  40. package/docs/api/foundation-auth.defaultauthformentrystore.autofill.md +15 -0
  41. package/docs/api/foundation-auth.defaultauthformentrystore.autofilling.md +11 -0
  42. package/docs/api/foundation-auth.defaultauthformentrystore.fetchmachine.md +11 -0
  43. package/docs/api/foundation-auth.defaultauthformentrystore.md +12 -0
  44. package/docs/api/foundation-auth.defaultauthformentrystore.onselectedidpchanged.md +11 -0
  45. package/docs/api/foundation-auth.defaultauthformentrystore.onssotogglechanged.md +11 -0
  46. package/docs/api/foundation-auth.defaultauthformentrystore.resetidpstate.md +15 -0
  47. package/docs/api/foundation-auth.defaultauthformentrystore.ssotoggledchanged.md +23 -0
  48. package/docs/api/foundation-auth.foundationauth.md +1 -1
  49. package/docs/api-report.md +34 -12
  50. package/package.json +11 -11
@@ -1 +1 @@
1
- {"version":3,"file":"machine.d.ts","sourceRoot":"","sources":["../../../src/machine/machine.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAEf,YAAY,EACZ,iBAAiB,EAMjB,OAAO,EAER,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAGrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAEL,iBAAiB,EAIlB,MAAM,eAAe,CAAC;AAYvB,OAAO,EACL,iBAAiB,EAQlB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE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SAAS,CAAC,+BAA+B,CAAC,MAAM,EAAE,WAAW,GAAG,WAAW;IAqB3E,SAAS,CAAC,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,KAAK,GAAG,iBAAiB;IAgB3E,SAAS,CAAC,YAAY;;;;;;;;;;;;;;;;;MAiBnB;IAEH,SAAS,CAAC,SAAS;;;MAGhB;CACJ;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,mEAA0E,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { Container } from '@microsoft/fast-foundation';
2
2
  import '../components/core-components';
3
- import { MainRouterConfig } from '../routes/config';
3
+ import { AuthRouterConfig } from '../routes/config';
4
4
  import { AuthEventMap, AuthStore } from '../store';
5
5
  declare const FoundationAuth_base: abstract new (...args: any[]) => {
6
6
  $emit<K extends "store-connected" | "store-disconnected" | "store-ready" | "auth-machine-event" | "auth-login" | "auth-logout" | "auth-change-password" | "auth-forgot-password" | "auth-reset-password">(...args: AuthEventMap[K] extends void ? [type: K, options?: import("@genesislcap/foundation-events").EmitOptions] : [type: K, detail: AuthEventMap[K], options?: import("@genesislcap/foundation-events").EmitOptions]): import("@genesislcap/foundation-events").EmitReturn;
@@ -321,7 +321,7 @@ declare const FoundationAuth_base: abstract new (...args: any[]) => {
321
321
  * FoundationAuth.
322
322
  *
323
323
  * @remarks
324
- * Default MF export designed to used in a host application. It does not set up a design system or components. Both are
324
+ * Base MF export used by host application `configure` calls. It does not set up a design system or components. Both are
325
325
  * expected to be registered in the host application, which should provide the details of which to the MF via
326
326
  * TemplateOptions.
327
327
  *
@@ -337,7 +337,7 @@ export declare class FoundationAuth extends FoundationAuth_base {
337
337
  /**
338
338
  * @internal
339
339
  */
340
- config: MainRouterConfig;
340
+ config: AuthRouterConfig;
341
341
  /**
342
342
  * @internal
343
343
  */
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/main/main.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAA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iBAAiB;IAKvB;;OAEG;cACa,WAAW;IAM3B;;OAEG;IACH,IAAI,OAAO,YAEV;CACF"}
@@ -1,9 +1,7 @@
1
1
  import { Binding } from '@microsoft/fast-element';
2
2
  import { Container } from '@microsoft/fast-foundation';
3
3
  import { AuthConfig } from '../config/config';
4
- import { CredentialManager } from '../credential';
5
4
  import { AuthEventMap, AuthFormEntryEventMap, AuthStore } from '../store';
6
- import { User } from '../user';
7
5
  import { AuthRouting } from './routing';
8
6
  type EventMap = AuthEventMap & AuthFormEntryEventMap & {};
9
7
  /**
@@ -21,7 +19,7 @@ export type ConfigHost = {
21
19
  config: AuthConfig;
22
20
  };
23
21
  declare const ConfigHostElement_base: abstract new (...args: any[]) => {
24
- $emit<K extends "auth-autofill-form" | "auth-organisation-changed" | "auth-username-changed" | "auth-email-changed" | "auth-password-changed" | "auth-password2-changed" | "auth-showPasswords-changed" | "store-connected" | "store-disconnected" | "store-ready" | "auth-machine-event" | "auth-login" | "auth-logout" | "auth-change-password" | "auth-forgot-password" | "auth-reset-password">(...args: EventMap[K] extends void ? [type: K, options?: import("@genesislcap/foundation-events").EmitOptions] : [type: K, detail: EventMap[K], options?: import("@genesislcap/foundation-events").EmitOptions]): import("@genesislcap/foundation-events").EmitReturn;
22
+ $emit<K extends "auth-autofill-form" | "auth-organisation-changed" | "auth-username-changed" | "auth-email-changed" | "auth-password-changed" | "auth-password2-changed" | "auth-showPasswords-changed" | "auth-selectedIDP-changed" | "auth-ssoToggled-changed" | "store-connected" | "store-disconnected" | "store-ready" | "auth-machine-event" | "auth-login" | "auth-logout" | "auth-change-password" | "auth-forgot-password" | "auth-reset-password">(...args: EventMap[K] extends void ? [type: K, options?: import("@genesislcap/foundation-events").EmitOptions] : [type: K, detail: EventMap[K], options?: import("@genesislcap/foundation-events").EmitOptions]): import("@genesislcap/foundation-events").EmitReturn;
25
23
  accessKey: string;
26
24
  readonly accessKeyLabel: string;
27
25
  autocapitalize: string;
@@ -169,6 +167,9 @@ declare const ConfigHostElement_base: abstract new (...args: any[]) => {
169
167
  ariaAutoComplete: string;
170
168
  ariaBusy: string;
171
169
  ariaChecked: string;
170
+ /**
171
+ * @internal
172
+ */
172
173
  ariaColCount: string;
173
174
  ariaColIndex: string;
174
175
  ariaColIndexText: string;
@@ -355,15 +356,6 @@ export declare class ConfigHostElement extends ConfigHostElement_base implements
355
356
  export declare class BaseRoute extends ConfigHostElement {
356
357
  store: AuthStore;
357
358
  routing: AuthRouting;
358
- user: User;
359
- credentialManager: CredentialManager;
360
- /**
361
- * TODO: Replace with machine
362
- */
363
- message: string;
364
- hasErrors: boolean;
365
- setError(message: string): void;
366
- clearError(): void;
367
359
  onBack: () => void;
368
360
  attemptAutofill(): void;
369
361
  }
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../src/routes/base.ts"],"names":[],"mappings":"AAOA,OAAO,EAEL,OAAO,EAOR,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAqB,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1E,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,KAAK,QAAQ,GAAG,YAAY,GAAG,qBAAqB,GAAG,EAAE,CAAC;AAE1D;;GAEG;AACH,eAAO,MAAM,SAAS,wLAAiC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,UAAU,wLAAkC,CAAC;AAE1D;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,EAAE,UAAU,CAAC;CACpB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2GF;;OAEG;;;;;;;;;;;;;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E/B,iBAAiB;CAMlB;AAED;;GAEG;AACH,qBAAa,SAAU,SAAQ,iBAAiB;IACnC,KAAK,EAAE,SAAS,CAAC;IACf,OAAO,EAAE,WAAW,CAAC;IAElC,MAAM,aAAsC;IAE5C,eAAe,IAAI,IAAI;CAMxB;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,mFAsB7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,mFAiBzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,mFAkBtB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,gCAAiC,MAAM,2DAahE,CAAC;AAOF;;GAEG;AACH,eAAO,MAAM,cAAc,8BAA+B,KAAK,GAAG,cAAc,2DAgB/E,CAAC;AAgGF;;GAEG;AACH,eAAO,MAAM,UAAU,kCAAmC,OAAO,2DAUhE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,gCAChB,MAAM,eACD,MAAM,aACR,OAAO,2DAWlB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,mFASjC,CAAC"}
@@ -9,7 +9,7 @@ import type { Settings } from './types';
9
9
  *
10
10
  * @internal
11
11
  */
12
- export declare class MainRouterConfig extends RouterConfiguration<Settings> {
12
+ export declare class AuthRouterConfig extends RouterConfiguration<Settings> {
13
13
  private user;
14
14
  private container;
15
15
  private authConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/routes/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAA2B,mBAAmB,EAAS,MAAM,wBAAwB,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC;;;;GAIG;AACH,qBAAa,gBAAiB,SAAQ,mBAAmB,CAAC,QAAQ,CAAC;IAEzD,OAAO,CAAC,IAAI;IACP,OAAO,CAAC,SAAS;IAChB,OAAO,CAAC,UAAU;gBAFhB,IAAI,EAAE,IAAI,EACL,SAAS,EAAE,SAAS,EACnB,UAAU,EAAE,UAAU;IAK5C,SAAS;IAwJT,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC;CAGxC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/routes/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAA2B,mBAAmB,EAAS,MAAM,wBAAwB,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC;;;;GAIG;AACH,qBAAa,gBAAiB,SAAQ,mBAAmB,CAAC,QAAQ,CAAC;IAEzD,OAAO,CAAC,IAAI;IACP,OAAO,CAAC,SAAS;IAChB,OAAO,CAAC,UAAU;gBAFhB,IAAI,EAAE,IAAI,EACL,SAAS,EAAE,SAAS,EACnB,UAAU,EAAE,UAAU;IAK5C,SAAS;IA2IT,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC;CAGxC"}
@@ -1,6 +1,6 @@
1
1
  import { BaseRoute } from '../base';
2
2
  export declare class ForgotPassword extends BaseRoute {
3
- enter(): void;
3
+ connectedCallback(): void;
4
4
  onSubmit(): Promise<void>;
5
5
  }
6
6
  //# sourceMappingURL=forgot-password.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"forgot-password.d.ts","sourceRoot":"","sources":["../../../../src/routes/forgot-password/forgot-password.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGpC,qBAKa,cAAe,SAAQ,SAAS;IAC3C,KAAK;IAGC,QAAQ;CAUf"}
1
+ {"version":3,"file":"forgot-password.d.ts","sourceRoot":"","sources":["../../../../src/routes/forgot-password/forgot-password.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGpC,qBAKa,cAAe,SAAQ,SAAS;IAC3C,iBAAiB;IAIX,QAAQ;CAUf"}
@@ -1,15 +1,14 @@
1
+ import { CredentialManager } from '../../credential';
1
2
  import { LoginParams } from '../../machine';
3
+ import { User } from '../../user';
2
4
  import { BaseRoute } from '../base';
3
- import { IDP } from '../types';
4
5
  export declare class Login extends BaseRoute {
5
- idps: IDP[];
6
- selectedIDP: string;
6
+ user: User;
7
+ credentialManager: CredentialManager;
7
8
  connectedCallback(): void;
8
- enter(): void;
9
9
  private attemptBasicLogin;
10
- protected addStoreBindings(): void;
11
- get selectedIDPName(): string;
12
- onClickSSO(): void;
10
+ get ssoToggleLabel(): string;
11
+ onSSOLogin(): void;
13
12
  onLoginSubmit(): Promise<void>;
14
13
  login(params: LoginParams): void;
15
14
  logout(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../../src/routes/login/login.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAI/B,qBAKa,KAAM,SAAQ,SAAS;IACtB,IAAI,EAAE,GAAG,EAAE,CAAM;IACjB,WAAW,EAAE,MAAM,CAAM;IAErC,iBAAiB;IAKjB,KAAK;IAaL,OAAO,CAAC,iBAAiB;IAgBzB,SAAS,CAAC,gBAAgB;IAyB1B,IACI,eAAe,WAElB;IAED,UAAU;IAiBJ,aAAa;IAMnB,KAAK,CAAC,MAAM,EAAE,WAAW;IAIzB,MAAM;IAIN,IAAI,cAAc,YAEjB;CACF"}
1
+ {"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../../src/routes/login/login.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoB,iBAAiB,EAAkB,MAAM,kBAAkB,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIpC,qBAKa,KAAM,SAAQ,SAAS;IAC5B,IAAI,EAAE,IAAI,CAAC;IACE,iBAAiB,EAAE,iBAAiB,CAAC;IAExD,iBAAiB;IAcjB,OAAO,CAAC,iBAAiB;IAezB,IACI,cAAc,WAIjB;IAED,UAAU;IAmBJ,aAAa;IAMnB,KAAK,CAAC,MAAM,EAAE,WAAW;IAIzB,MAAM;IAIN,IAAI,cAAc,YAEjB;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"login.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/login/login.template.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAyGrC,eAAO,MAAM,aAAa,4DAmCzB,CAAC"}
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,4DAmCzB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { BaseRoute } from '../base';
2
2
  export declare class Logout extends BaseRoute {
3
- enter(): void;
3
+ connectedCallback(): void;
4
4
  logout(): void;
5
5
  }
6
6
  //# sourceMappingURL=logout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logout.d.ts","sourceRoot":"","sources":["../../../../src/routes/logout/logout.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIpC,qBAKa,MAAO,SAAQ,SAAS;IACnC,KAAK;IAIL,MAAM;CAGP"}
1
+ {"version":3,"file":"logout.d.ts","sourceRoot":"","sources":["../../../../src/routes/logout/logout.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIpC,qBAKa,MAAO,SAAQ,SAAS;IACnC,iBAAiB;IAKjB,MAAM;CAGP"}
@@ -4,7 +4,8 @@ import type { Settings } from '../types';
4
4
  export declare class ResetPassword extends BaseRoute {
5
5
  hasPasswordExpired: boolean;
6
6
  passwordResetToken: string;
7
- enter(phase: NavigationPhase<Settings>): Promise<void>;
7
+ connectedCallback(): void;
8
+ enter(phase: NavigationPhase<Settings>): void;
8
9
  onSubmit(): Promise<void>;
9
10
  get headingText(): "Change Password" | "You are required to change your password";
10
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password.d.ts","sourceRoot":"","sources":["../../../../src/routes/reset-password/reset-password.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGzC,qBAKa,aAAc,SAAQ,SAAS;IAC9B,kBAAkB,EAAE,OAAO,CAAS;IACpC,kBAAkB,EAAE,MAAM,CAAM;IAEtC,KAAK,CAAC,KAAK,EAAE,eAAe,CAAC,QAAQ,CAAC;IAMtC,QAAQ;IAiBd,IACI,WAAW,mEAEd;CACF"}
1
+ {"version":3,"file":"reset-password.d.ts","sourceRoot":"","sources":["../../../../src/routes/reset-password/reset-password.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGzC,qBAKa,aAAc,SAAQ,SAAS;IAC9B,kBAAkB,EAAE,OAAO,CAAS;IACpC,kBAAkB,EAAE,MAAM,CAAM;IAE5C,iBAAiB;IAKjB,KAAK,CAAC,KAAK,EAAE,eAAe,CAAC,QAAQ,CAAC;IAKhC,QAAQ;IAiBd,IACI,WAAW,mEAEd;CACF"}
@@ -8,20 +8,6 @@ export type Settings = {
8
8
  */
9
9
  public?: boolean;
10
10
  };
11
- /**
12
- * @public
13
- */
14
- export interface IDP {
15
- id: string;
16
- type: string;
17
- }
18
- /**
19
- * @public
20
- */
21
- export interface IDPResponse {
22
- ID: string;
23
- TYPE: string;
24
- }
25
11
  /**
26
12
  * @public
27
13
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/routes/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;CASb,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/routes/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;CASb,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC"}
@@ -1,8 +1,9 @@
1
1
  import { CustomEventMap } from '@genesislcap/foundation-events';
2
+ import { FetchMachine } from '@genesislcap/foundation-state-machine';
2
3
  import { AbstractStore, Store } from '@genesislcap/foundation-store';
3
4
  import { AuthConfig } from '../config/config';
4
5
  import { CredentialManager } from '../credential';
5
- import type { IDP } from '../routes/types';
6
+ import { IDP } from '../utils';
6
7
  /**
7
8
  * @public
8
9
  */
@@ -14,12 +15,18 @@ export type AuthFormEntryEventMap = {
14
15
  'auth-password-changed': string;
15
16
  'auth-password2-changed': string;
16
17
  'auth-showPasswords-changed': boolean;
18
+ 'auth-selectedIDP-changed': string;
19
+ 'auth-ssoToggled-changed': boolean;
17
20
  };
18
21
  declare global {
19
22
  interface HTMLElementEventMap extends CustomEventMap<AuthFormEntryEventMap> {
20
23
  }
21
24
  }
22
- type InternalEventMap = {};
25
+ type InternalEventMap = {
26
+ 'auth-fetch-idps': void;
27
+ 'auth-fetch-idps-success': IDP[];
28
+ 'auth-fetch-idps-error': Error;
29
+ };
23
30
  /**
24
31
  * AuthFormEntryStore interface.
25
32
  * @public
@@ -42,12 +49,15 @@ export interface AuthFormEntryStore extends Store {
42
49
  readonly selectedIDP: string;
43
50
  readonly ssoToggled: boolean;
44
51
  readonly termsAgreed: boolean;
52
+ readonly autofilling: boolean;
45
53
  onOrganisationChanged(event: CustomEvent<string>): void;
46
54
  onUsernameChanged(event: CustomEvent<string>): void;
47
55
  onEmailChanged(event: CustomEvent<string>): void;
48
56
  onPasswordChanged(event: CustomEvent<string>): void;
49
57
  onPassword2Changed(event: CustomEvent<string>): void;
50
58
  onShowPasswordsChanged(event: CustomEvent<boolean>): void;
59
+ onSelectedIDPChanged(event: CustomEvent<string>): void;
60
+ onSSOToggleChanged(event: CustomEvent<boolean>): void;
51
61
  onAutofillForm(event: CustomEvent<void>): void;
52
62
  }
53
63
  /**
@@ -57,6 +67,7 @@ export interface AuthFormEntryStore extends Store {
57
67
  export declare class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEntryStore, AuthFormEntryEventMap, InternalEventMap> implements AuthFormEntryStore {
58
68
  protected config: AuthConfig;
59
69
  protected credentialManager: CredentialManager;
70
+ readonly fetchMachine: FetchMachine;
60
71
  host: string;
61
72
  organisation: string;
62
73
  username: string;
@@ -73,16 +84,21 @@ export declare class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEnt
73
84
  selectedIDP: string;
74
85
  ssoToggled: boolean;
75
86
  termsAgreed: boolean;
87
+ autofilling: boolean;
76
88
  get orgUsername(): string;
77
89
  constructor();
78
- private autofill;
90
+ protected resetIDPState(): void;
91
+ protected autofill(): Promise<boolean>;
92
+ onAutofillForm: EventListener;
79
93
  onOrganisationChanged: EventListener;
80
94
  onUsernameChanged: EventListener;
81
95
  onEmailChanged: EventListener;
82
96
  onPasswordChanged: EventListener;
83
97
  onPassword2Changed: EventListener;
84
98
  onShowPasswordsChanged: EventListener;
85
- onAutofillForm: EventListener;
99
+ onSelectedIDPChanged: EventListener;
100
+ onSSOToggleChanged: EventListener;
101
+ protected ssoToggledChanged(prev: boolean, next: boolean): void;
86
102
  }
87
103
  /**
88
104
  * DI key of the store.
@@ -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,EAA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AAO,CAAC;IA4C5C,cAAc,gBAAoE;IAElF,qBAAqB,gBAGnB;IAEF,iBAAiB,gBAGf;IAEF,cAAc,gBAGZ;IAEF,iBAAiB,gBAGf;IAEF,kBAAkB,gBAGhB;IAEF,sBAAsB,gBAGpB;IAEF,oBAAoB,gBAGlB;IAEF,kBAAkB,gBAGhB;IAEF,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO;CAsBzD;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,gGAAiE,CAAC"}
@@ -1,10 +1,23 @@
1
- import type { IDP } from '../routes/types';
2
1
  /**
3
2
  * Get SSO identity provider login URL
4
3
  *
5
4
  * @public
6
5
  */
7
6
  export declare const getSSOLoginURL: (idp: any, path?: string, host?: string) => string;
7
+ /**
8
+ * @public
9
+ */
10
+ export interface IDP {
11
+ id: string;
12
+ type: string;
13
+ }
14
+ /**
15
+ * @public
16
+ */
17
+ export interface IDPResponse {
18
+ ID: string;
19
+ TYPE: string;
20
+ }
8
21
  /**
9
22
  * Request SSO identity provider list
10
23
  *
@@ -1 +1 @@
1
- {"version":3,"file":"sso.d.ts","sourceRoot":"","sources":["../../../src/utils/sso.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAe,MAAM,iBAAiB,CAAC;AAkBxD;;;;GAIG;AACH,eAAO,MAAM,cAAc,oDAK1B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,oCAA+C,QAAQ,GAAG,EAAE,CAkBjF,CAAC"}
1
+ {"version":3,"file":"sso.d.ts","sourceRoot":"","sources":["../../../src/utils/sso.ts"],"names":[],"mappings":"AAkBA;;;;GAIG;AACH,eAAO,MAAM,cAAc,oDAK1B,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;;GAIG;AACH,eAAO,MAAM,SAAS,oCAA+C,QAAQ,GAAG,EAAE,CAkBjF,CAAC"}
@@ -92,15 +92,8 @@ let DefaultAuthMachine = class DefaultAuthMachine extends AbstractMachine {
92
92
  /**
93
93
  * Silent login (cookie based, only when on login screen)
94
94
  */
95
- // guard: 'isOnLoginScreen',
96
95
  target: '#authMachine.silentLogin',
97
96
  },
98
- // {
99
- // /**
100
- // * Otherwise, we wait for the user to interact
101
- // */
102
- // target: '#authMachine.idle',
103
- // },
104
97
  ],
105
98
  },
106
99
  /**
@@ -596,7 +589,6 @@ let DefaultAuthMachine = class DefaultAuthMachine extends AbstractMachine {
596
589
  : false,
597
590
  isLogoutAckEntity: ({ event }) => isDoneInvokeEvent(event) ? isLogoutAckEntity(event.output) : false,
598
591
  isLogoutNackEntity: ({ event }) => isDoneInvokeEvent(event) ? isLogoutNackEntity(event.output) : false,
599
- isOnLoginScreen: () => window.location.pathname === `/${this.config.hostPath}`,
600
592
  /**
601
593
  * Temp until server guys fix http status codes
602
594
  */
@@ -4,7 +4,7 @@ import { customElement, FASTElement } 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 '../components/core-components';
7
- import { MainRouterConfig } from '../routes/config';
7
+ import { AuthRouterConfig } from '../routes/config';
8
8
  import { AuthStore } from '../store';
9
9
  import { styles } from './main.styles';
10
10
  import { template } from './main.template';
@@ -12,7 +12,7 @@ import { template } from './main.template';
12
12
  * FoundationAuth.
13
13
  *
14
14
  * @remarks
15
- * Default MF export designed to used in a host application. It does not set up a design system or components. Both are
15
+ * Base MF export used by host application `configure` calls. It does not set up a design system or components. Both are
16
16
  * expected to be registered in the host application, which should provide the details of which to the MF via
17
17
  * TemplateOptions.
18
18
  *
@@ -73,7 +73,7 @@ __decorate([
73
73
  AuthStore
74
74
  ], FoundationAuth.prototype, "store", void 0);
75
75
  __decorate([
76
- inject(MainRouterConfig)
76
+ inject(AuthRouterConfig)
77
77
  ], FoundationAuth.prototype, "config", void 0);
78
78
  __decorate([
79
79
  Container
@@ -5,11 +5,8 @@ import { attr, css, customElement, FASTElement, html, observable, when, } from '
5
5
  import { Container } from '@microsoft/fast-foundation';
6
6
  import { classNames } from '@microsoft/fast-web-utilities';
7
7
  import { AuthConfig, defaultAuthConfig } from '../config/config';
8
- import { CredentialManager } from '../credential';
9
8
  import { AuthStore } from '../store';
10
9
  import { buttonTag, checkboxTag, progressRingTag, textFieldTag } from '../tags';
11
- import { User } from '../user';
12
- import { logger } from '../utils';
13
10
  import { AuthRouting } from './routing';
14
11
  /**
15
12
  * @internal
@@ -45,25 +42,11 @@ __decorate([
45
42
  export class BaseRoute extends ConfigHostElement {
46
43
  constructor() {
47
44
  super(...arguments);
48
- /**
49
- * TODO: Replace with machine
50
- */
51
- this.message = '';
52
- this.hasErrors = false;
53
45
  this.onBack = () => this.routing.navigateTo('/');
54
46
  }
55
- // TODO: Remove
56
- setError(message) {
57
- logger.warn('base setError callers need updating...');
58
- }
59
- // TODO: Remove
60
- clearError() {
61
- logger.warn('base clearError callers need updating...');
62
- }
63
47
  attemptAutofill() {
64
- if (!this.store.formEntry.ssoToggled &&
65
- !this.store.formEntry.username &&
66
- !this.store.formEntry.password) {
48
+ const { autofilling, ssoToggled, username, password } = this.store.formEntry;
49
+ if (!autofilling && !ssoToggled && !username && !password) {
67
50
  this.$emit('auth-autofill-form');
68
51
  }
69
52
  }
@@ -74,18 +57,6 @@ __decorate([
74
57
  __decorate([
75
58
  AuthRouting
76
59
  ], BaseRoute.prototype, "routing", void 0);
77
- __decorate([
78
- User
79
- ], BaseRoute.prototype, "user", void 0);
80
- __decorate([
81
- CredentialManager
82
- ], BaseRoute.prototype, "credentialManager", void 0);
83
- __decorate([
84
- observable
85
- ], BaseRoute.prototype, "message", void 0);
86
- __decorate([
87
- observable
88
- ], BaseRoute.prototype, "hasErrors", void 0);
89
60
  /**
90
61
  * @internal
91
62
  */
@@ -101,7 +72,7 @@ export const organisationField = () => html `
101
72
  @change="${inputEmit('auth-organisation-changed')}"
102
73
  autofocus
103
74
  class="${(x) => (!x.config.logo ? 'no-top-margin' : '')}"
104
- ?required="${(x) => (x.config.fields.organisation.required === false ? false : true)}"
75
+ ?required="${(x) => x.config.fields.organisation.required !== false}"
105
76
  >
106
77
  <span class="form-title">
107
78
  ${(x) => { var _a; return (_a = x.config.fields.organisation.label) !== null && _a !== void 0 ? _a : 'Organisation'; }}
@@ -4,12 +4,13 @@ import { RouterConfiguration, Route } from '@microsoft/fast-router';
4
4
  import { AuthConfig } from '../config/config';
5
5
  import { defaultLayout } from '../layouts';
6
6
  import { User } from '../user';
7
+ import { Login } from './login/login';
7
8
  /**
8
9
  * Base implementation of a routing used with the Auth class
9
10
  *
10
11
  * @internal
11
12
  */
12
- let MainRouterConfig = class MainRouterConfig extends RouterConfiguration {
13
+ let AuthRouterConfig = class AuthRouterConfig extends RouterConfiguration {
13
14
  constructor(user, container, authConfig) {
14
15
  super();
15
16
  this.user = user;
@@ -19,24 +20,11 @@ let MainRouterConfig = class MainRouterConfig extends RouterConfiguration {
19
20
  configure() {
20
21
  this.title = 'Login';
21
22
  this.defaultLayout = defaultLayout;
22
- /**
23
- * TODO: Cascade the template options to child routes in a subsequent PR
24
- * element: async () => {
25
- * const { define, templateOptions, template, styles } = await import(
26
- * /!* webpackChunkName: "auth-login" *!/
27
- * './auth-login'
28
- * );
29
- * return define(this.compose(templateOptions, template, styles, 'auth-login'));
30
- * },
31
- */
32
23
  const routes = [
33
24
  {
34
25
  path: '',
35
26
  name: 'login',
36
- element: () => __awaiter(this, void 0, void 0, function* () {
37
- const { Login } = yield import('./login/login');
38
- return Login;
39
- }),
27
+ element: Login,
40
28
  title: 'Login',
41
29
  settings: { public: true },
42
30
  },
@@ -159,9 +147,9 @@ let MainRouterConfig = class MainRouterConfig extends RouterConfiguration {
159
147
  return this.container.get(Type);
160
148
  }
161
149
  };
162
- MainRouterConfig = __decorate([
150
+ AuthRouterConfig = __decorate([
163
151
  __param(0, User),
164
152
  __param(1, Container),
165
153
  __param(2, AuthConfig)
166
- ], MainRouterConfig);
167
- export { MainRouterConfig };
154
+ ], AuthRouterConfig);
155
+ export { AuthRouterConfig };
@@ -5,7 +5,8 @@ import { logger } from '../../utils';
5
5
  import { BaseRoute } from '../base';
6
6
  import { ForgotPasswordTemplate as template } from './forgot-password.template';
7
7
  let ForgotPassword = class ForgotPassword extends BaseRoute {
8
- enter() {
8
+ connectedCallback() {
9
+ super.connectedCallback();
9
10
  this.attemptAutofill();
10
11
  }
11
12
  onSubmit() {
@@ -1,22 +1,15 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { inIFrame, inSymphonyDesktop, openPopup } from '@genesislcap/foundation-utils';
3
- import { customElement, DOM, observable, volatile } from '@microsoft/fast-element';
4
- import { CredentialType } from '../../credential';
5
- import { fetchIDPs, getSSOLoginURL, logger } from '../../utils';
3
+ import { customElement, DOM, volatile } from '@microsoft/fast-element';
4
+ import { CredentialManager, CredentialType } from '../../credential';
5
+ import { User } from '../../user';
6
+ import { getSSOLoginURL, logger } from '../../utils';
6
7
  import { BaseRoute } from '../base';
7
8
  import { LoginStyles as styles } from './login.styles';
8
9
  import { LoginTemplate as template } from './login.template';
9
10
  let Login = class Login extends BaseRoute {
10
- constructor() {
11
- super(...arguments);
12
- this.idps = [];
13
- this.selectedIDP = '';
14
- }
15
11
  connectedCallback() {
16
12
  super.connectedCallback();
17
- this.addStoreBindings();
18
- }
19
- enter() {
20
13
  /**
21
14
  * Retaining the logic that logs authenticated users out when this route is visited for now.
22
15
  * TODO: Revisit as shouldn't load mf if logged in already.
@@ -40,36 +33,13 @@ let Login = class Login extends BaseRoute {
40
33
  logger.debug(`Attempting to login with basic credentials.`);
41
34
  this.login(basicCredentials);
42
35
  }
43
- // TODO: Move this out...
44
- addStoreBindings() {
45
- this.store.formEntry.binding((x) => x.ssoToggled, (value) => {
46
- var _a, _b;
47
- this.clearError();
48
- if (value) {
49
- const path = `${(_b = (_a = this.config.sso) === null || _a === void 0 ? void 0 : _a.identityProvidersPath) !== null && _b !== void 0 ? _b : 'sso/list'}`;
50
- fetchIDPs(path)
51
- .then((idps) => {
52
- var _a, _b, _c;
53
- logger.debug('fetched IDPs', idps);
54
- // it no longer throws, check for 'error' manually
55
- if (!idps.length || (idps.length === 1 && ((_a = idps[0]) === null || _a === void 0 ? void 0 : _a.id) === 'error')) {
56
- this.setError('Failed to fetch identity providers.');
57
- }
58
- else {
59
- // Move to store, machine context, or keep local?
60
- this.idps = idps;
61
- this.selectedIDP = (_c = (_b = this.idps) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.id;
62
- }
63
- })
64
- .catch(() => this.setError('Failed to fetch identity providers.'));
65
- }
66
- });
67
- }
68
- get selectedIDPName() {
69
- return this.selectedIDP ? ` - ${this.selectedIDP}` : '';
36
+ get ssoToggleLabel() {
37
+ const { selectedIDP, ssoToggled } = this.store.formEntry;
38
+ const selectedIDPLabel = selectedIDP ? ` - ${selectedIDP}` : '';
39
+ return ssoToggled ? 'SSO Enabled' + selectedIDPLabel : 'Enable SSO?';
70
40
  }
71
- onClickSSO() {
72
- const selectedIDP = this.idps.find((idp) => idp.id === this.selectedIDP);
41
+ onSSOLogin() {
42
+ const selectedIDP = this.store.formEntry.idps.find((idp) => idp.id === this.store.formEntry.selectedIDP);
73
43
  const ssoLoginUrl = getSSOLoginURL(selectedIDP);
74
44
  if (inIFrame()) {
75
45
  if (inSymphonyDesktop()) {
@@ -103,14 +73,14 @@ let Login = class Login extends BaseRoute {
103
73
  }
104
74
  };
105
75
  __decorate([
106
- observable
107
- ], Login.prototype, "idps", void 0);
76
+ User
77
+ ], Login.prototype, "user", void 0);
108
78
  __decorate([
109
- observable
110
- ], Login.prototype, "selectedIDP", void 0);
79
+ CredentialManager
80
+ ], Login.prototype, "credentialManager", void 0);
111
81
  __decorate([
112
82
  volatile
113
- ], Login.prototype, "selectedIDPName", null);
83
+ ], Login.prototype, "ssoToggleLabel", null);
114
84
  Login = __decorate([
115
85
  customElement({
116
86
  name: 'foundation-auth-login',