@genesislcap/foundation-login 10.3.1 → 11.3.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.
Files changed (213) hide show
  1. package/README.md +28 -72
  2. package/dist/dts/main/config.d.ts +13 -0
  3. package/dist/dts/main/config.d.ts.map +1 -1
  4. package/dist/dts/main/main.definition.d.ts +1 -1
  5. package/dist/dts/main/main.styles.d.ts +4 -1
  6. package/dist/dts/main/main.styles.d.ts.map +1 -1
  7. package/dist/dts/main/main.template.d.ts +1 -1
  8. package/dist/dts/main/main.template.d.ts.map +1 -1
  9. package/dist/dts/routes/base.d.ts +5 -4
  10. package/dist/dts/routes/base.d.ts.map +1 -1
  11. package/dist/dts/routes/config.d.ts +1 -1
  12. package/dist/dts/routes/config.d.ts.map +1 -1
  13. package/dist/dts/routes/forgot-password/forgot-password.d.ts.map +1 -1
  14. package/dist/dts/routes/login-form/login-form.d.ts +7 -3
  15. package/dist/dts/routes/login-form/login-form.d.ts.map +1 -1
  16. package/dist/dts/routes/login-form/login-form.template.d.ts.map +1 -1
  17. package/dist/dts/routes/not-found/not-found.d.ts.map +1 -1
  18. package/dist/dts/routes/protected/protected.d.ts.map +1 -1
  19. package/dist/dts/routes/request-account/request-account.d.ts.map +1 -1
  20. package/dist/dts/routes/reset-password/reset-password.d.ts.map +1 -1
  21. package/dist/dts/routes/verify/verify.d.ts.map +1 -1
  22. package/dist/dts/styles/index.d.ts +0 -1
  23. package/dist/dts/styles/index.d.ts.map +1 -1
  24. package/dist/dts/styles/styles.d.ts.map +1 -1
  25. package/dist/dts/utils/logger.d.ts.map +1 -1
  26. package/dist/esm/components/components.js +0 -1
  27. package/dist/esm/components/index.js +0 -1
  28. package/dist/esm/index.js +0 -1
  29. package/dist/esm/layouts/default.js +0 -1
  30. package/dist/esm/layouts/index.js +0 -1
  31. package/dist/esm/main/config.js +4 -2
  32. package/dist/esm/main/define.js +0 -1
  33. package/dist/esm/main/index.js +0 -1
  34. package/dist/esm/main/main.definition.js +2 -3
  35. package/dist/esm/main/main.js +0 -1
  36. package/dist/esm/main/main.styles.js +5 -3
  37. package/dist/esm/main/main.template.js +0 -1
  38. package/dist/esm/routes/base.js +10 -8
  39. package/dist/esm/routes/config.js +5 -6
  40. package/dist/esm/routes/forgot-password/forgot-password.js +4 -5
  41. package/dist/esm/routes/forgot-password/forgot-password.template.js +0 -1
  42. package/dist/esm/routes/index.js +0 -1
  43. package/dist/esm/routes/login-form/login-form.js +38 -24
  44. package/dist/esm/routes/login-form/login-form.styles.js +0 -1
  45. package/dist/esm/routes/login-form/login-form.template.js +6 -7
  46. package/dist/esm/routes/not-found/not-found.js +1 -2
  47. package/dist/esm/routes/protected/protected.js +2 -3
  48. package/dist/esm/routes/protected/protected.template.js +0 -1
  49. package/dist/esm/routes/request-account/request-account.js +2 -3
  50. package/dist/esm/routes/request-account/request-account.template.js +1 -2
  51. package/dist/esm/routes/reset-password/reset-password.js +2 -3
  52. package/dist/esm/routes/reset-password/reset-password.template.js +0 -1
  53. package/dist/esm/routes/types.js +0 -1
  54. package/dist/esm/routes/verify/verify.js +2 -3
  55. package/dist/esm/routes/verify/verify.template.js +0 -1
  56. package/dist/esm/styles/index.js +0 -2
  57. package/dist/esm/styles/styles.js +2 -11
  58. package/dist/esm/utils/index.js +0 -1
  59. package/dist/esm/utils/logger.js +0 -1
  60. package/dist/foundation-login.api.json +30 -3
  61. package/dist/foundation-login.d.ts +23 -6
  62. package/package.json +27 -11
  63. package/playwright.config.ts +50 -0
  64. package/test/README.md +3 -0
  65. package/dist/1.0.0.remoteEntry.js +0 -1
  66. package/dist/15.15.7a2c23dfae8db4e093ae.js +0 -1347
  67. package/dist/15.707b18d09d78e18958de7e35549b69f2.js.map +0 -1
  68. package/dist/170.02ecd6ffb7bb9c9531e72b7099ba0dce.js.map +0 -1
  69. package/dist/170.170.6ccfc6db6319d932ea16.js +0 -726
  70. package/dist/176.176.bfbfc60ffad852c406c4.js +0 -2
  71. package/dist/176.7ce7d4e386b9ebd99f2a121d6364c1ad.js.map +0 -1
  72. package/dist/185.185.6c3ef3df3fe6f4879dab.js +0 -2
  73. package/dist/185.d623d7c2df70c9d665343444e7c1fa6c.js.map +0 -1
  74. package/dist/338.338.e399ff6c11eb8175de4c.js +0 -2
  75. package/dist/338.4f68feefeaca1bf1dbc7ba12af2e84aa.js.map +0 -1
  76. package/dist/397.397.1de89f70cc9876b09be8.js +0 -3
  77. package/dist/397.397.1de89f70cc9876b09be8.js.LICENSE.txt +0 -1
  78. package/dist/397.984e24423ff2adb107881e130126575a.js.map +0 -1
  79. package/dist/419.419.25c54d30d5ef03de4733.js +0 -2140
  80. package/dist/419.500ae8ac8e1ffc781af411dd2ad588cd.js.map +0 -1
  81. package/dist/453.3c9a25d2af3ccf8232fdd1dfc5244b3d.js.map +0 -1
  82. package/dist/453.453.14247e88aa4df78dca2c.js +0 -2
  83. package/dist/726.4c7419d8edb8ba5e67699f4820c8c461.js.map +0 -1
  84. package/dist/726.726.e09fed9a1e3b529acd46.js +0 -3
  85. package/dist/726.726.e09fed9a1e3b529acd46.js.LICENSE.txt +0 -4
  86. package/dist/741.741.d84fc7e9236cae1acc99.js +0 -3
  87. package/dist/741.741.d84fc7e9236cae1acc99.js.LICENSE.txt +0 -4
  88. package/dist/741.a3dfed45252169e53ee396a8b76cea67.js.map +0 -1
  89. package/dist/b634d7e1f2324faf1230.svg +0 -10
  90. package/dist/c0bd2c45d93ce443d624.jpg +0 -0
  91. package/dist/dashboard.json +0 -1
  92. package/dist/dts/index.federated.d.ts +0 -1
  93. package/dist/dts/index.federated.d.ts.map +0 -1
  94. package/dist/dts/styles/typography.d.ts +0 -4
  95. package/dist/dts/styles/typography.d.ts.map +0 -1
  96. package/dist/esm/components/components.js.map +0 -1
  97. package/dist/esm/components/index.js.map +0 -1
  98. package/dist/esm/index.federated.js +0 -2
  99. package/dist/esm/index.federated.js.map +0 -1
  100. package/dist/esm/index.js.map +0 -1
  101. package/dist/esm/layouts/default.js.map +0 -1
  102. package/dist/esm/layouts/index.js.map +0 -1
  103. package/dist/esm/main/config.js.map +0 -1
  104. package/dist/esm/main/define.js.map +0 -1
  105. package/dist/esm/main/index.js.map +0 -1
  106. package/dist/esm/main/main.definition.js.map +0 -1
  107. package/dist/esm/main/main.js.map +0 -1
  108. package/dist/esm/main/main.styles.js.map +0 -1
  109. package/dist/esm/main/main.template.js.map +0 -1
  110. package/dist/esm/routes/base.js.map +0 -1
  111. package/dist/esm/routes/config.js.map +0 -1
  112. package/dist/esm/routes/forgot-password/forgot-password.js.map +0 -1
  113. package/dist/esm/routes/forgot-password/forgot-password.template.js.map +0 -1
  114. package/dist/esm/routes/index.js.map +0 -1
  115. package/dist/esm/routes/login-form/login-form.js.map +0 -1
  116. package/dist/esm/routes/login-form/login-form.styles.js.map +0 -1
  117. package/dist/esm/routes/login-form/login-form.template.js.map +0 -1
  118. package/dist/esm/routes/not-found/not-found.js.map +0 -1
  119. package/dist/esm/routes/protected/protected.js.map +0 -1
  120. package/dist/esm/routes/protected/protected.template.js.map +0 -1
  121. package/dist/esm/routes/request-account/request-account.js.map +0 -1
  122. package/dist/esm/routes/request-account/request-account.template.js.map +0 -1
  123. package/dist/esm/routes/reset-password/reset-password.js.map +0 -1
  124. package/dist/esm/routes/reset-password/reset-password.template.js.map +0 -1
  125. package/dist/esm/routes/types.js.map +0 -1
  126. package/dist/esm/routes/verify/verify.js.map +0 -1
  127. package/dist/esm/routes/verify/verify.template.js.map +0 -1
  128. package/dist/esm/styles/index.js.map +0 -1
  129. package/dist/esm/styles/styles.js.map +0 -1
  130. package/dist/esm/styles/typography.js +0 -27
  131. package/dist/esm/styles/typography.js.map +0 -1
  132. package/dist/esm/utils/index.js.map +0 -1
  133. package/dist/esm/utils/logger.js.map +0 -1
  134. package/dist/favicon.ico +0 -0
  135. package/dist/foundationLogin.dd27ce925c9e142951f9e650fb3f9b7e.js.map +0 -1
  136. package/dist/index.ejs +0 -23
  137. package/dist/index.html +0 -10
  138. package/dist/info.ejs +0 -13
  139. package/dist/info.html +0 -22
  140. package/dist/main.49b5ccad79942a173c5044389ff4b88b.js.map +0 -1
  141. package/dist/main.cf8907a8eac5d741ac98.js +0 -2
  142. package/dist/npm.analytics.343.1691cbc7d8a5badd3734.js +0 -2
  143. package/dist/npm.analytics.ce2eefcbb0dbd8ec610f4a90f48aa689.js.map +0 -1
  144. package/dist/npm.consola.713.661cb6ae3806c228029d.js +0 -2
  145. package/dist/npm.consola.96aceeeb14c801e429604b872dd754d7.js.map +0 -1
  146. package/dist/npm.dialog-polyfill.47.34b0c0d52e6712cf91bb.js +0 -2
  147. package/dist/npm.dialog-polyfill.9d605973cbc29184d8b9b4736433dddc.js.map +0 -1
  148. package/dist/npm.finos.690.d012d887fab1a50fd3fd.js +0 -2
  149. package/dist/npm.finos.bb7f5996c8be19fd2a1c0bb82b2512ef.js.map +0 -1
  150. package/dist/npm.fortawesome.104.f45009da0a55a389999c.js +0 -2
  151. package/dist/npm.fortawesome.e10775e8f8583851351996b12aec3dfb.js.map +0 -1
  152. package/dist/npm.microsoft.127.7781d48b93413319f199.js +0 -6406
  153. package/dist/npm.microsoft.127.7781d48b93413319f199.js.LICENSE.txt +0 -14
  154. package/dist/npm.microsoft.b0947aa2f980f173ee68c35127bf2481.js.map +0 -1
  155. package/dist/npm.popperjs.47700ec72e909558c6ebe29941887dcf.js.map +0 -1
  156. package/dist/npm.popperjs.591.6ab52bc8e177edef695a.js +0 -2
  157. package/dist/npm.rxjs.271.210fdd198235c86ce4cd.js +0 -2
  158. package/dist/npm.rxjs.36e7291df63583daef7bbafd0a3ab9dc.js.map +0 -1
  159. package/dist/remoteEntry.js +0 -2
  160. package/dist/serve.json +0 -3
  161. package/dist/tsdoc-metadata.json +0 -11
  162. package/docs/.gitattributes +0 -2
  163. package/docs/api/foundation-login.configure.md +0 -62
  164. package/docs/api/foundation-login.defaultapihost.md +0 -12
  165. package/docs/api/foundation-login.defaultloginconfig.md +0 -13
  166. package/docs/api/foundation-login.defaultorganisation.md +0 -12
  167. package/docs/api/foundation-login.defaultpassword.md +0 -12
  168. package/docs/api/foundation-login.defaultsocketext.md +0 -12
  169. package/docs/api/foundation-login.defaulttemplateoptions.md +0 -16
  170. package/docs/api/foundation-login.defaultuser.md +0 -12
  171. package/docs/api/foundation-login.define.md +0 -38
  172. package/docs/api/foundation-login.definition.md +0 -19
  173. package/docs/api/foundation-login.fieldconfig.md +0 -16
  174. package/docs/api/foundation-login.fieldconfigmap.md +0 -19
  175. package/docs/api/foundation-login.hostenv.md +0 -12
  176. package/docs/api/foundation-login.hosturl.md +0 -12
  177. package/docs/api/foundation-login.idp.id.md +0 -11
  178. package/docs/api/foundation-login.idp.md +0 -20
  179. package/docs/api/foundation-login.idp.type.md +0 -11
  180. package/docs/api/foundation-login.idpresponse.id.md +0 -11
  181. package/docs/api/foundation-login.idpresponse.md +0 -20
  182. package/docs/api/foundation-login.idpresponse.type.md +0 -11
  183. package/docs/api/foundation-login.ismfroute.md +0 -24
  184. package/docs/api/foundation-login.login.md +0 -108
  185. package/docs/api/foundation-login.loginconfig.autoauth.md +0 -18
  186. package/docs/api/foundation-login.loginconfig.autoconnect.md +0 -13
  187. package/docs/api/foundation-login.loginconfig.background.md +0 -30
  188. package/docs/api/foundation-login.loginconfig.defaultredirecturl.md +0 -18
  189. package/docs/api/foundation-login.loginconfig.fields.md +0 -18
  190. package/docs/api/foundation-login.loginconfig.logo.md +0 -28
  191. package/docs/api/foundation-login.loginconfig.md +0 -30
  192. package/docs/api/foundation-login.loginconfig.omitredirecturls.md +0 -21
  193. package/docs/api/foundation-login.loginconfig.omitroutes.md +0 -25
  194. package/docs/api/foundation-login.loginconfig.showconnectionindicator.md +0 -13
  195. package/docs/api/foundation-login.loginconfig.sso.md +0 -18
  196. package/docs/api/foundation-login.loginconfig.versioninformation.md +0 -25
  197. package/docs/api/foundation-login.loginhosted.md +0 -23
  198. package/docs/api/foundation-login.loginhosted.registercommoncomponents.md +0 -18
  199. package/docs/api/foundation-login.md +0 -59
  200. package/docs/api/foundation-login.routes.md +0 -20
  201. package/docs/api/foundation-login.settings.md +0 -20
  202. package/docs/api/foundation-login.ssoconfig.md +0 -15
  203. package/docs/api/foundation-login.styles.md +0 -12
  204. package/docs/api/foundation-login.template.md +0 -12
  205. package/docs/api/foundation-login.templatecomponents.md +0 -25
  206. package/docs/api/foundation-login.templateoptions.md +0 -19
  207. package/docs/api/index.md +0 -12
  208. package/docs/api-report.md +0 -380
  209. package/docs/img/foundation-login_change-password.png +0 -0
  210. package/docs/img/foundation-login_forgotten-password.png +0 -0
  211. package/docs/img/foundation-login_login-sso.png +0 -0
  212. package/docs/img/foundation-login_login-standard.png +0 -0
  213. package/docs/img/foundation-login_request-account.png +0 -0
@@ -1,20 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [Settings](./foundation-login.settings.md)
4
-
5
- ## Settings type
6
-
7
- Defines the parameters you may set on the routes.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export type Settings = {
13
- public?: boolean;
14
- };
15
- ```
16
-
17
- ## Remarks
18
-
19
- See the example in the [Login](./foundation-login.login.md) class in the router's `configure` method for usage. All parameters are Optional.
20
-
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [SSOConfig](./foundation-login.ssoconfig.md)
4
-
5
- ## SSOConfig type
6
-
7
-
8
- **Signature:**
9
-
10
- ```typescript
11
- export type SSOConfig = {
12
- toggled?: boolean;
13
- identityProvidersPath: string;
14
- };
15
- ```
@@ -1,12 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [styles](./foundation-login.styles.md)
4
-
5
- ## styles variable
6
-
7
-
8
- **Signature:**
9
-
10
- ```typescript
11
- styles: (options: TemplateOptions) => import("@microsoft/fast-element").ElementStyles
12
- ```
@@ -1,12 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [template](./foundation-login.template.md)
4
-
5
- ## template variable
6
-
7
-
8
- **Signature:**
9
-
10
- ```typescript
11
- template: (options: TemplateOptions) => import("@microsoft/fast-element").ViewTemplate<Login, any>
12
- ```
@@ -1,25 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [TemplateComponents](./foundation-login.templatecomponents.md)
4
-
5
- ## TemplateComponents type
6
-
7
- > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
-
11
- **Signature:**
12
-
13
- ```typescript
14
- export type TemplateComponents = {
15
- anchor: TemplateElementDependency;
16
- button: TemplateElementDependency;
17
- card: TemplateElementDependency;
18
- checkbox: TemplateElementDependency;
19
- listboxOption: TemplateElementDependency;
20
- provider: TemplateElementDependency;
21
- router: TemplateElementDependency;
22
- select: TemplateElementDependency;
23
- textField: TemplateElementDependency;
24
- };
25
- ```
@@ -1,19 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-login](./foundation-login.md) &gt; [TemplateOptions](./foundation-login.templateoptions.md)
4
-
5
- ## TemplateOptions type
6
-
7
- > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
-
11
- **Signature:**
12
-
13
- ```typescript
14
- export type TemplateOptions = TemplateComponents & {
15
- somePartial?: string | SyntheticViewTemplate;
16
- };
17
- ```
18
- **References:** [TemplateComponents](./foundation-login.templatecomponents.md)
19
-
package/docs/api/index.md DELETED
@@ -1,12 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md)
4
-
5
- ## API Reference
6
-
7
- ## Packages
8
-
9
- | Package | Description |
10
- | --- | --- |
11
- | [@genesislcap/foundation-login](./foundation-login.md) | |
12
-
@@ -1,380 +0,0 @@
1
- ## API Report File for "@genesislcap/foundation-login"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { Auth } from '@genesislcap/foundation-comms';
8
- import { Binding } from '@microsoft/fast-element';
9
- import { Connect } from '@genesislcap/foundation-comms';
10
- import { Constructable } from '@microsoft/fast-element';
11
- import { Container } from '@microsoft/fast-foundation';
12
- import { CredentialManager } from '@genesislcap/foundation-comms';
13
- import { DefineFunction } from '@genesislcap/foundation-ui';
14
- import { ElementStyles } from '@microsoft/fast-element';
15
- import { FASTElement } from '@microsoft/fast-element';
16
- import { FoundationAnalytics } from '@genesislcap/foundation-comms';
17
- import { InterfaceSymbol } from '@microsoft/fast-foundation';
18
- import { Message } from '@genesislcap/foundation-comms';
19
- import { MessageBuilder } from '@genesislcap/foundation-comms';
20
- import { PartialFASTElementDefinition } from '@microsoft/fast-element';
21
- import { RouterConfiguration } from '@microsoft/fast-router';
22
- import { Session } from '@genesislcap/foundation-comms';
23
- import { SyntheticViewTemplate } from '@microsoft/fast-element';
24
- import { TemplateElementDependency } from '@genesislcap/foundation-ui';
25
- import { ViewTemplate } from '@microsoft/fast-element';
26
-
27
- // Warning: (ae-internal-missing-underscore) The name "backButton" should be prefixed with an underscore because the declaration is marked as @internal
28
- //
29
- // @internal (undocumented)
30
- export const backButton: <T extends ConfigHost>(binding: Binding) => ViewTemplate<T, any>;
31
-
32
- // Warning: (ae-internal-missing-underscore) The name "BackgroundElement" should be prefixed with an underscore because the declaration is marked as @internal
33
- //
34
- // @internal (undocumented)
35
- export class BackgroundElement extends ConfigHostElement {
36
- // (undocumented)
37
- connectedCallback(): void;
38
- }
39
-
40
- // Warning: (ae-internal-missing-underscore) The name "BaseRoute" should be prefixed with an underscore because the declaration is marked as @internal
41
- //
42
- // @internal (undocumented)
43
- export class BaseRoute extends ConfigHostElement {
44
- // (undocumented)
45
- auth: Auth;
46
- // (undocumented)
47
- autofill(): Promise<boolean>;
48
- // (undocumented)
49
- clearError(): void;
50
- // (undocumented)
51
- connect: Connect;
52
- // (undocumented)
53
- connectedCallback(): void;
54
- // (undocumented)
55
- credentialManager: CredentialManager;
56
- // (undocumented)
57
- email: string;
58
- // (undocumented)
59
- ensureConnection(): Promise<boolean>;
60
- // (undocumented)
61
- hasErrors: boolean;
62
- // (undocumented)
63
- host: string;
64
- // (undocumented)
65
- isSubmitting: boolean;
66
- // (undocumented)
67
- message: string;
68
- // (undocumented)
69
- messageBuilder: MessageBuilder;
70
- // (undocumented)
71
- onBack: () => Promise<void>;
72
- // (undocumented)
73
- onNavigate: (routeName: Routes, params?: {}) => Promise<void>;
74
- // (undocumented)
75
- onSubmit(): Promise<void>;
76
- // (undocumented)
77
- organisation: string;
78
- // (undocumented)
79
- get orgUsername(): string;
80
- // (undocumented)
81
- password: string;
82
- // (undocumented)
83
- password2: string;
84
- // (undocumented)
85
- queueOnBack(delay?: number): void;
86
- // (undocumented)
87
- sendMessage<T = any>(message: Message<T>, successFeedback?: string, successCallback?: (result: any) => void): Promise<void>;
88
- // (undocumented)
89
- session: Session;
90
- // (undocumented)
91
- setError(message: string): void;
92
- // (undocumented)
93
- showPasswords: boolean;
94
- // (undocumented)
95
- storeCredentials(password?: string): void;
96
- // (undocumented)
97
- username: string;
98
- }
99
-
100
- // Warning: (ae-internal-missing-underscore) The name "ConfigHost" should be prefixed with an underscore because the declaration is marked as @internal
101
- //
102
- // @internal (undocumented)
103
- export type ConfigHost = {
104
- config: LoginConfig;
105
- };
106
-
107
- // Warning: (ae-internal-missing-underscore) The name "ConfigHostElement" should be prefixed with an underscore because the declaration is marked as @internal
108
- //
109
- // @internal (undocumented)
110
- export class ConfigHostElement extends FASTElement implements ConfigHost {
111
- // (undocumented)
112
- config: LoginConfig;
113
- // (undocumented)
114
- connectedCallback(): void;
115
- // (undocumented)
116
- container: Container;
117
- }
118
-
119
- // Warning: (ae-internal-missing-underscore) The name "configurableTextField" should be prefixed with an underscore because the declaration is marked as @internal
120
- //
121
- // @internal (undocumented)
122
- export const configurableTextField: <T extends ConfigHost>(name: keyof FieldConfigMap | [name: keyof FieldConfigMap, valueKey: string], type: string, autofocus?: boolean, autocomplete?: string, className?: string, labelOverride?: string, testIdOverride?: string, required?: boolean) => ViewTemplate<T, any>;
123
-
124
- // @public
125
- export function configure(container: Container, config: Partial<LoginConfig>): void;
126
-
127
- // @public (undocumented)
128
- export const defaultApiHost: string;
129
-
130
- // @public
131
- export const defaultLoginConfig: LoginConfig;
132
-
133
- // Warning: (ae-internal-missing-underscore) The name "defaultOnBackMS" should be prefixed with an underscore because the declaration is marked as @internal
134
- //
135
- // @internal (undocumented)
136
- export const defaultOnBackMS = 3000;
137
-
138
- // @public (undocumented)
139
- export const defaultOrganisation: string;
140
-
141
- // @public (undocumented)
142
- export const defaultPassword: string;
143
-
144
- // @public (undocumented)
145
- export const defaultSocketExt: string;
146
-
147
- // @beta
148
- export const defaultTemplateOptions: TemplateOptions;
149
-
150
- // @public (undocumented)
151
- export const defaultUser: string;
152
-
153
- // @beta
154
- export const define: DefineFunction<typeof Login>;
155
-
156
- // @beta (undocumented)
157
- export const definition: PartialFASTElementDefinition;
158
-
159
- // Warning: (ae-internal-missing-underscore) The name "emailField" should be prefixed with an underscore because the declaration is marked as @internal
160
- //
161
- // @internal (undocumented)
162
- export const emailField: <T extends BaseRoute>() => ViewTemplate<T, any>;
163
-
164
- // @public
165
- export type FieldConfig = {
166
- label: string;
167
- value?: any;
168
- };
169
-
170
- // @public (undocumented)
171
- export type FieldConfigMap = {
172
- organisation: FieldConfig | null;
173
- username: FieldConfig;
174
- email: FieldConfig;
175
- password: FieldConfig;
176
- };
177
-
178
- // @public (undocumented)
179
- export const hostEnv: string;
180
-
181
- // @public (undocumented)
182
- export const hostUrl: string;
183
-
184
- // @public (undocumented)
185
- export interface IDP {
186
- // (undocumented)
187
- id: string;
188
- // (undocumented)
189
- type: string;
190
- }
191
-
192
- // @public (undocumented)
193
- export interface IDPResponse {
194
- // (undocumented)
195
- ID: string;
196
- // (undocumented)
197
- TYPE: string;
198
- }
199
-
200
- // @public
201
- export function isMFRoute(pathname?: string): boolean;
202
-
203
- // @public
204
- export class Login extends FASTElement {
205
- // @internal
206
- checkForSSOToken(): void;
207
- // @internal
208
- config: MainRouterConfig;
209
- // @internal (undocumented)
210
- connectedCallback(): Promise<void>;
211
- // @internal
212
- container: Container;
213
- // @internal
214
- provider: FASTElement;
215
- // @internal
216
- ready: boolean;
217
- // @internal
218
- registerCommonComponents(): Promise<void>;
219
- // @internal (undocumented)
220
- protected registerDIDependencies(): void;
221
- // @internal
222
- session: Session;
223
- }
224
-
225
- // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "LoginConfig" because one of its declarations is marked as @internal
226
- //
227
- // @public
228
- export interface LoginConfig {
229
- autoAuth: boolean;
230
- autoConnect: boolean;
231
- background: ElementStyles;
232
- defaultRedirectUrl: string;
233
- fields: FieldConfigMap;
234
- logo: ElementStyles | null;
235
- omitRedirectUrls: string[];
236
- omitRoutes: Exclude<Routes, 'login' | 'not-found'>[];
237
- showConnectionIndicator: boolean;
238
- sso: SSOConfig | null;
239
- versionInformation?: string;
240
- }
241
-
242
- // @internal
243
- export const LoginConfig: InterfaceSymbol<LoginConfig>;
244
-
245
- // @beta (undocumented)
246
- export class LoginHosted extends Login {
247
- // (undocumented)
248
- registerCommonComponents(): Promise<void>;
249
- }
250
-
251
- // Warning: (ae-internal-missing-underscore) The name "LogoElement" should be prefixed with an underscore because the declaration is marked as @internal
252
- //
253
- // @internal (undocumented)
254
- export class LogoElement extends ConfigHostElement {
255
- }
256
-
257
- // Warning: (ae-internal-missing-underscore) The name "MainRouterConfig" should be prefixed with an underscore because the declaration is marked as @internal
258
- //
259
- // @internal
260
- export class MainRouterConfig extends RouterConfiguration<Settings> {
261
- constructor(auth: Auth, container: Container, analytics: FoundationAnalytics, session: Session, loginConfig?: LoginConfig);
262
- // (undocumented)
263
- configure(): void;
264
- // (undocumented)
265
- construct<T>(Type: Constructable<T>): T;
266
- }
267
-
268
- // Warning: (ae-internal-missing-underscore) The name "MessageElement" should be prefixed with an underscore because the declaration is marked as @internal
269
- //
270
- // @internal (undocumented)
271
- export class MessageElement extends FASTElement {
272
- // (undocumented)
273
- classNames: string;
274
- // (undocumented)
275
- message: string;
276
- // (undocumented)
277
- nonError: boolean;
278
- // (undocumented)
279
- nonErrorChanged(): void;
280
- }
281
-
282
- // Warning: (ae-internal-missing-underscore) The name "organisationField" should be prefixed with an underscore because the declaration is marked as @internal
283
- //
284
- // @internal (undocumented)
285
- export const organisationField: <T extends BaseRoute>() => ViewTemplate<T, any>;
286
-
287
- // Warning: (ae-internal-missing-underscore) The name "password2Field" should be prefixed with an underscore because the declaration is marked as @internal
288
- //
289
- // @internal (undocumented)
290
- export const password2Field: <T extends BaseRoute>(type: 'new' | 'confirmation') => ViewTemplate<T, any>;
291
-
292
- // Warning: (ae-internal-missing-underscore) The name "passwordField" should be prefixed with an underscore because the declaration is marked as @internal
293
- //
294
- // @internal (undocumented)
295
- export const passwordField: <T extends BaseRoute>(label?: string) => ViewTemplate<T, any>;
296
-
297
- // @public (undocumented)
298
- export const Routes: {
299
- readonly login: "login";
300
- readonly 'request-account': "request-account";
301
- readonly 'reset-password': "reset-password";
302
- readonly 'forgot-password': "forgot-password";
303
- readonly verify: "verify";
304
- readonly protected: "protected";
305
- readonly 'not-found': "not-found";
306
- };
307
-
308
- // @public (undocumented)
309
- export type Routes = (typeof Routes)[keyof typeof Routes];
310
-
311
- // @public
312
- export type Settings = {
313
- public?: boolean;
314
- };
315
-
316
- // Warning: (ae-internal-missing-underscore) The name "showPasswordsCheckbox" should be prefixed with an underscore because the declaration is marked as @internal
317
- //
318
- // @internal (undocumented)
319
- export const showPasswordsCheckbox: <T extends BaseRoute>() => ViewTemplate<T, any>;
320
-
321
- // @public (undocumented)
322
- export type SSOConfig = {
323
- toggled?: boolean;
324
- identityProvidersPath: string;
325
- };
326
-
327
- // Warning: (ae-internal-missing-underscore) The name "standaloneDefinition" should be prefixed with an underscore because the declaration is marked as @internal
328
- //
329
- // @internal (undocumented)
330
- export const standaloneDefinition: PartialFASTElementDefinition;
331
-
332
- // Warning: (ae-incompatible-release-tags) The symbol "styles" is marked as @public, but its signature references "TemplateOptions" which is marked as @beta
333
- //
334
- // @public (undocumented)
335
- export const styles: (options: TemplateOptions) => ElementStyles;
336
-
337
- // Warning: (ae-internal-missing-underscore) The name "submitButton" should be prefixed with an underscore because the declaration is marked as @internal
338
- //
339
- // @internal (undocumented)
340
- export const submitButton: <T extends ConfigHost>(label: string, dataTestId?: string, disabled?: boolean) => ViewTemplate<T, any>;
341
-
342
- // Warning: (ae-internal-missing-underscore) The name "SubmittingIndicator" should be prefixed with an underscore because the declaration is marked as @internal
343
- //
344
- // @internal (undocumented)
345
- export class SubmittingIndicator extends FASTElement {
346
- // (undocumented)
347
- isSubmitting: boolean;
348
- }
349
-
350
- // Warning: (ae-incompatible-release-tags) The symbol "template" is marked as @public, but its signature references "TemplateOptions" which is marked as @beta
351
- //
352
- // @public (undocumented)
353
- export const template: (options: TemplateOptions) => ViewTemplate<Login, any>;
354
-
355
- // @beta (undocumented)
356
- export type TemplateComponents = {
357
- anchor: TemplateElementDependency;
358
- button: TemplateElementDependency;
359
- card: TemplateElementDependency;
360
- checkbox: TemplateElementDependency;
361
- listboxOption: TemplateElementDependency;
362
- provider: TemplateElementDependency;
363
- router: TemplateElementDependency;
364
- select: TemplateElementDependency;
365
- textField: TemplateElementDependency;
366
- };
367
-
368
- // @beta (undocumented)
369
- export type TemplateOptions = TemplateComponents & {
370
- somePartial?: string | SyntheticViewTemplate;
371
- };
372
-
373
- // Warning: (ae-internal-missing-underscore) The name "usernameField" should be prefixed with an underscore because the declaration is marked as @internal
374
- //
375
- // @internal (undocumented)
376
- export const usernameField: <T extends BaseRoute>() => ViewTemplate<T, any>;
377
-
378
- // (No @packageDocumentation comment for this package)
379
-
380
- ```