@aws-amplify/ui-angular 2.4.26 → 3.0.0

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 (89) hide show
  1. package/README.md +0 -3
  2. package/aws-amplify-ui-angular.d.ts +1 -27
  3. package/bundles/aws-amplify-ui-angular.umd.js +1585 -1498
  4. package/bundles/aws-amplify-ui-angular.umd.js.map +1 -1
  5. package/esm2015/aws-amplify-ui-angular.js +1 -28
  6. package/esm2015/lib/components/authenticator/authenticator.module.js +81 -44
  7. package/esm2015/lib/components/authenticator/components/authenticator/authenticator.component.js +60 -36
  8. package/esm2015/lib/components/authenticator/components/base-form-fields/base-form-fields.component.js +20 -39
  9. package/esm2015/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.js +28 -27
  10. package/esm2015/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.js +25 -30
  11. package/esm2015/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.js +29 -36
  12. package/esm2015/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.js +27 -19
  13. package/esm2015/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.js +20 -17
  14. package/esm2015/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.js +17 -15
  15. package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.js +12 -7
  16. package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password.component.js +27 -19
  17. package/esm2015/lib/components/authenticator/components/form-field/form-field.component.js +20 -15
  18. package/esm2015/lib/components/authenticator/components/reset-password/reset-password.component.js +27 -19
  19. package/esm2015/lib/components/authenticator/components/setup-totp/setup-totp.component.js +27 -21
  20. package/esm2015/lib/components/authenticator/components/sign-in/sign-in.component.js +27 -23
  21. package/esm2015/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.js +12 -7
  22. package/esm2015/lib/components/authenticator/components/sign-up/sign-up.component.js +24 -16
  23. package/esm2015/lib/components/authenticator/components/verify-user/verify-user.component.js +27 -20
  24. package/esm2015/lib/primitives/button/button.component.js +44 -22
  25. package/esm2015/lib/primitives/checkbox/checkbox.component.js +24 -15
  26. package/esm2015/lib/primitives/error/error.component.js +13 -7
  27. package/esm2015/lib/primitives/password-field/password-field.component.js +37 -21
  28. package/esm2015/lib/primitives/phone-number-field/phone-number-field.component.js +45 -25
  29. package/esm2015/lib/primitives/select/select.component.js +22 -14
  30. package/esm2015/lib/primitives/tab-item/tab-item.component.js +25 -15
  31. package/esm2015/lib/primitives/tabs/tabs.component.js +17 -11
  32. package/esm2015/lib/primitives/text-field/text-field.component.js +38 -22
  33. package/esm2015/lib/services/authenticator.service.js +9 -8
  34. package/esm2015/lib/services/custom-components.service.js +9 -7
  35. package/esm2015/lib/utilities/amplify-slot/amplify-slot.component.js +20 -16
  36. package/esm2015/lib/utilities/amplify-slot/amplify-slot.directive.js +13 -13
  37. package/fesm2015/aws-amplify-ui-angular.js +1035 -928
  38. package/fesm2015/aws-amplify-ui-angular.js.map +1 -1
  39. package/lib/components/authenticator/authenticator.module.d.ts +33 -0
  40. package/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +27 -24
  41. package/lib/components/authenticator/components/base-form-fields/base-form-fields.component.d.ts +3 -1
  42. package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +28 -30
  43. package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +27 -24
  44. package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +27 -29
  45. package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +27 -24
  46. package/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.d.ts +3 -0
  47. package/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.d.ts +3 -0
  48. package/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.d.ts +3 -0
  49. package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +27 -24
  50. package/lib/components/authenticator/components/form-field/form-field.component.d.ts +3 -0
  51. package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts +27 -24
  52. package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +27 -24
  53. package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +27 -24
  54. package/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.d.ts +3 -0
  55. package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +27 -24
  56. package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +27 -24
  57. package/lib/primitives/button/button.component.d.ts +3 -0
  58. package/lib/primitives/checkbox/checkbox.component.d.ts +3 -0
  59. package/lib/primitives/error/error.component.d.ts +3 -0
  60. package/lib/primitives/password-field/password-field.component.d.ts +3 -0
  61. package/lib/primitives/phone-number-field/phone-number-field.component.d.ts +3 -0
  62. package/lib/primitives/select/select.component.d.ts +3 -0
  63. package/lib/primitives/tab-item/tab-item.component.d.ts +3 -0
  64. package/lib/primitives/tabs/tabs.component.d.ts +3 -0
  65. package/lib/primitives/text-field/text-field.component.d.ts +3 -0
  66. package/lib/services/authenticator.service.d.ts +39 -36
  67. package/lib/services/custom-components.service.d.ts +3 -0
  68. package/lib/utilities/amplify-slot/amplify-slot.component.d.ts +3 -0
  69. package/lib/utilities/amplify-slot/amplify-slot.directive.d.ts +3 -0
  70. package/package.json +3 -6
  71. package/aws-amplify-ui-angular.metadata.json +0 -1
  72. package/bundles/aws-amplify-ui-angular-legacy.umd.js +0 -2238
  73. package/bundles/aws-amplify-ui-angular-legacy.umd.js.map +0 -1
  74. package/bundles/aws-amplify-ui-angular-legacy.umd.min.js +0 -2
  75. package/bundles/aws-amplify-ui-angular-legacy.umd.min.js.map +0 -1
  76. package/bundles/aws-amplify-ui-angular.umd.min.js +0 -2
  77. package/bundles/aws-amplify-ui-angular.umd.min.js.map +0 -1
  78. package/esm2015/legacy/aws-amplify-ui-angular-legacy.js +0 -6
  79. package/esm2015/legacy/index.js +0 -3
  80. package/esm2015/legacy/legacy-ui-angular.module.js +0 -53
  81. package/esm2015/legacy/proxies.js +0 -1839
  82. package/fesm2015/aws-amplify-ui-angular-legacy.js +0 -1846
  83. package/fesm2015/aws-amplify-ui-angular-legacy.js.map +0 -1
  84. package/legacy/aws-amplify-ui-angular-legacy.d.ts +0 -5
  85. package/legacy/aws-amplify-ui-angular-legacy.metadata.json +0 -1
  86. package/legacy/index.d.ts +0 -2
  87. package/legacy/legacy-ui-angular.module.d.ts +0 -2
  88. package/legacy/package.json +0 -11
  89. package/legacy/proxies.d.ts +0 -395
@@ -1,5 +1,6 @@
1
1
  import { FormFieldOptions } from '@aws-amplify/ui';
2
2
  import { AuthenticatorService } from '../../../../services/authenticator.service';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class FormFieldComponent {
4
5
  private authenticator;
5
6
  name: string;
@@ -15,4 +16,6 @@ export declare class FormFieldComponent {
15
16
  hasError(): boolean;
16
17
  get ariaDescribedBy(): string;
17
18
  translate(phrase: string): string;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "amplify-form-field", never, { "name": "name"; "formField": "formField"; }, {}, never, never>;
18
21
  }
@@ -1,5 +1,6 @@
1
1
  import { AuthenticatorService } from '../../../../services/authenticator.service';
2
2
  import { FormFieldsArray } from '@aws-amplify/ui';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class ResetPasswordComponent {
4
5
  authenticator: AuthenticatorService;
5
6
  dataAttr: string;
@@ -10,17 +11,17 @@ export declare class ResetPasswordComponent {
10
11
  constructor(authenticator: AuthenticatorService);
11
12
  get context(): {
12
13
  $implicit: {
13
- signOut: (data?: Record<string | number | symbol, any>) => void;
14
- initializeMachine: (data?: Record<string | number | symbol, any>) => void;
15
- resendCode: (data?: Record<string | number | symbol, any>) => void;
16
- submitForm: (data?: Record<string | number | symbol, any>) => void;
17
- updateForm: (data?: Record<string | number | symbol, any>) => void;
18
- updateBlur: (data?: Record<string | number | symbol, any>) => void;
19
- toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
20
- toResetPassword: (data?: Record<string | number | symbol, any>) => void;
21
- toSignIn: (data?: Record<string | number | symbol, any>) => void;
22
- toSignUp: (data?: Record<string | number | symbol, any>) => void;
23
- skipVerification: (data?: Record<string | number | symbol, any>) => void;
14
+ signOut: (data?: import("@aws-amplify/ui").AuthEventData) => void;
15
+ initializeMachine: (data?: import("@aws-amplify/ui").AuthEventData) => void;
16
+ resendCode: (data?: import("@aws-amplify/ui").AuthEventData) => void;
17
+ submitForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
18
+ updateForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
19
+ updateBlur: (data?: import("@aws-amplify/ui").AuthEventData) => void;
20
+ toFederatedSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
21
+ toResetPassword: (data?: import("@aws-amplify/ui").AuthEventData) => void;
22
+ toSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
23
+ toSignUp: (data?: import("@aws-amplify/ui").AuthEventData) => void;
24
+ skipVerification: (data?: import("@aws-amplify/ui").AuthEventData) => void;
24
25
  authStatus: "authenticated" | "configuring" | "unauthenticated";
25
26
  codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
26
27
  error: string;
@@ -30,19 +31,19 @@ export declare class ResetPasswordComponent {
30
31
  socialProviders: import("@aws-amplify/ui").SocialProvider[];
31
32
  unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
32
33
  user: import("@aws-amplify/ui").AmplifyUser;
33
- validationErrors: Record<string, string | string[]>;
34
+ validationErrors: import("@aws-amplify/ui").ValidationError;
34
35
  };
35
- signOut: (data?: Record<string | number | symbol, any>) => void;
36
- initializeMachine: (data?: Record<string | number | symbol, any>) => void;
37
- resendCode: (data?: Record<string | number | symbol, any>) => void;
38
- submitForm: (data?: Record<string | number | symbol, any>) => void;
39
- updateForm: (data?: Record<string | number | symbol, any>) => void;
40
- updateBlur: (data?: Record<string | number | symbol, any>) => void;
41
- toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
42
- toResetPassword: (data?: Record<string | number | symbol, any>) => void;
43
- toSignIn: (data?: Record<string | number | symbol, any>) => void;
44
- toSignUp: (data?: Record<string | number | symbol, any>) => void;
45
- skipVerification: (data?: Record<string | number | symbol, any>) => void;
36
+ signOut: (data?: import("@aws-amplify/ui").AuthEventData) => void;
37
+ initializeMachine: (data?: import("@aws-amplify/ui").AuthEventData) => void;
38
+ resendCode: (data?: import("@aws-amplify/ui").AuthEventData) => void;
39
+ submitForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
40
+ updateForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
41
+ updateBlur: (data?: import("@aws-amplify/ui").AuthEventData) => void;
42
+ toFederatedSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
43
+ toResetPassword: (data?: import("@aws-amplify/ui").AuthEventData) => void;
44
+ toSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
45
+ toSignUp: (data?: import("@aws-amplify/ui").AuthEventData) => void;
46
+ skipVerification: (data?: import("@aws-amplify/ui").AuthEventData) => void;
46
47
  authStatus: "authenticated" | "configuring" | "unauthenticated";
47
48
  codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
48
49
  error: string;
@@ -52,8 +53,10 @@ export declare class ResetPasswordComponent {
52
53
  socialProviders: import("@aws-amplify/ui").SocialProvider[];
53
54
  unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
54
55
  user: import("@aws-amplify/ui").AmplifyUser;
55
- validationErrors: Record<string, string | string[]>;
56
+ validationErrors: import("@aws-amplify/ui").ValidationError;
56
57
  };
57
58
  onInput(event: Event): void;
58
59
  onSubmit(event: Event): void;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordComponent, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResetPasswordComponent, "amplify-reset-password", never, { "headerText": "headerText"; }, {}, never, never>;
59
62
  }
@@ -1,6 +1,7 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { FormFieldsArray } from '@aws-amplify/ui';
3
3
  import { AuthenticatorService } from '../../../../services/authenticator.service';
4
+ import * as i0 from "@angular/core";
4
5
  export declare class SetupTotpComponent implements OnInit {
5
6
  authenticator: AuthenticatorService;
6
7
  dataAttr: string;
@@ -15,17 +16,17 @@ export declare class SetupTotpComponent implements OnInit {
15
16
  ngOnInit(): Promise<void>;
16
17
  get context(): {
17
18
  $implicit: {
18
- signOut: (data?: Record<string | number | symbol, any>) => void;
19
- initializeMachine: (data?: Record<string | number | symbol, any>) => void;
20
- resendCode: (data?: Record<string | number | symbol, any>) => void;
21
- submitForm: (data?: Record<string | number | symbol, any>) => void;
22
- updateForm: (data?: Record<string | number | symbol, any>) => void;
23
- updateBlur: (data?: Record<string | number | symbol, any>) => void;
24
- toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
25
- toResetPassword: (data?: Record<string | number | symbol, any>) => void;
26
- toSignIn: (data?: Record<string | number | symbol, any>) => void;
27
- toSignUp: (data?: Record<string | number | symbol, any>) => void;
28
- skipVerification: (data?: Record<string | number | symbol, any>) => void;
19
+ signOut: (data?: import("@aws-amplify/ui").AuthEventData) => void;
20
+ initializeMachine: (data?: import("@aws-amplify/ui").AuthEventData) => void;
21
+ resendCode: (data?: import("@aws-amplify/ui").AuthEventData) => void;
22
+ submitForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
23
+ updateForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
24
+ updateBlur: (data?: import("@aws-amplify/ui").AuthEventData) => void;
25
+ toFederatedSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
26
+ toResetPassword: (data?: import("@aws-amplify/ui").AuthEventData) => void;
27
+ toSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
28
+ toSignUp: (data?: import("@aws-amplify/ui").AuthEventData) => void;
29
+ skipVerification: (data?: import("@aws-amplify/ui").AuthEventData) => void;
29
30
  authStatus: "authenticated" | "configuring" | "unauthenticated";
30
31
  codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
31
32
  error: string;
@@ -35,19 +36,19 @@ export declare class SetupTotpComponent implements OnInit {
35
36
  socialProviders: import("@aws-amplify/ui").SocialProvider[];
36
37
  unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
37
38
  user: import("@aws-amplify/ui").AmplifyUser;
38
- validationErrors: Record<string, string | string[]>;
39
+ validationErrors: import("@aws-amplify/ui").ValidationError;
39
40
  };
40
- signOut: (data?: Record<string | number | symbol, any>) => void;
41
- initializeMachine: (data?: Record<string | number | symbol, any>) => void;
42
- resendCode: (data?: Record<string | number | symbol, any>) => void;
43
- submitForm: (data?: Record<string | number | symbol, any>) => void;
44
- updateForm: (data?: Record<string | number | symbol, any>) => void;
45
- updateBlur: (data?: Record<string | number | symbol, any>) => void;
46
- toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
47
- toResetPassword: (data?: Record<string | number | symbol, any>) => void;
48
- toSignIn: (data?: Record<string | number | symbol, any>) => void;
49
- toSignUp: (data?: Record<string | number | symbol, any>) => void;
50
- skipVerification: (data?: Record<string | number | symbol, any>) => void;
41
+ signOut: (data?: import("@aws-amplify/ui").AuthEventData) => void;
42
+ initializeMachine: (data?: import("@aws-amplify/ui").AuthEventData) => void;
43
+ resendCode: (data?: import("@aws-amplify/ui").AuthEventData) => void;
44
+ submitForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
45
+ updateForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
46
+ updateBlur: (data?: import("@aws-amplify/ui").AuthEventData) => void;
47
+ toFederatedSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
48
+ toResetPassword: (data?: import("@aws-amplify/ui").AuthEventData) => void;
49
+ toSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
50
+ toSignUp: (data?: import("@aws-amplify/ui").AuthEventData) => void;
51
+ skipVerification: (data?: import("@aws-amplify/ui").AuthEventData) => void;
51
52
  authStatus: "authenticated" | "configuring" | "unauthenticated";
52
53
  codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
53
54
  error: string;
@@ -57,10 +58,12 @@ export declare class SetupTotpComponent implements OnInit {
57
58
  socialProviders: import("@aws-amplify/ui").SocialProvider[];
58
59
  unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
59
60
  user: import("@aws-amplify/ui").AmplifyUser;
60
- validationErrors: Record<string, string | string[]>;
61
+ validationErrors: import("@aws-amplify/ui").ValidationError;
61
62
  };
62
63
  generateQRCode(): Promise<void>;
63
64
  onInput(event: Event): void;
64
65
  onSubmit(event: Event): void;
65
66
  copyText(): void;
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<SetupTotpComponent, never>;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<SetupTotpComponent, "amplify-setup-totp", never, {}, {}, never, never>;
66
69
  }
@@ -1,5 +1,6 @@
1
1
  import { AuthenticatorService } from '../../../../services/authenticator.service';
2
2
  import { FormFieldsArray } from '@aws-amplify/ui';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class SignInComponent {
4
5
  authenticator: AuthenticatorService;
5
6
  dataAttr: string;
@@ -9,17 +10,17 @@ export declare class SignInComponent {
9
10
  constructor(authenticator: AuthenticatorService);
10
11
  get context(): {
11
12
  $implicit: {
12
- signOut: (data?: Record<string | number | symbol, any>) => void;
13
- initializeMachine: (data?: Record<string | number | symbol, any>) => void;
14
- resendCode: (data?: Record<string | number | symbol, any>) => void;
15
- submitForm: (data?: Record<string | number | symbol, any>) => void;
16
- updateForm: (data?: Record<string | number | symbol, any>) => void;
17
- updateBlur: (data?: Record<string | number | symbol, any>) => void;
18
- toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
19
- toResetPassword: (data?: Record<string | number | symbol, any>) => void;
20
- toSignIn: (data?: Record<string | number | symbol, any>) => void;
21
- toSignUp: (data?: Record<string | number | symbol, any>) => void;
22
- skipVerification: (data?: Record<string | number | symbol, any>) => void;
13
+ signOut: (data?: import("@aws-amplify/ui").AuthEventData) => void;
14
+ initializeMachine: (data?: import("@aws-amplify/ui").AuthEventData) => void;
15
+ resendCode: (data?: import("@aws-amplify/ui").AuthEventData) => void;
16
+ submitForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
17
+ updateForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
18
+ updateBlur: (data?: import("@aws-amplify/ui").AuthEventData) => void;
19
+ toFederatedSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
20
+ toResetPassword: (data?: import("@aws-amplify/ui").AuthEventData) => void;
21
+ toSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
22
+ toSignUp: (data?: import("@aws-amplify/ui").AuthEventData) => void;
23
+ skipVerification: (data?: import("@aws-amplify/ui").AuthEventData) => void;
23
24
  authStatus: "authenticated" | "configuring" | "unauthenticated";
24
25
  codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
25
26
  error: string;
@@ -29,19 +30,19 @@ export declare class SignInComponent {
29
30
  socialProviders: import("@aws-amplify/ui").SocialProvider[];
30
31
  unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
31
32
  user: import("@aws-amplify/ui").AmplifyUser;
32
- validationErrors: Record<string, string | string[]>;
33
+ validationErrors: import("@aws-amplify/ui").ValidationError;
33
34
  };
34
- signOut: (data?: Record<string | number | symbol, any>) => void;
35
- initializeMachine: (data?: Record<string | number | symbol, any>) => void;
36
- resendCode: (data?: Record<string | number | symbol, any>) => void;
37
- submitForm: (data?: Record<string | number | symbol, any>) => void;
38
- updateForm: (data?: Record<string | number | symbol, any>) => void;
39
- updateBlur: (data?: Record<string | number | symbol, any>) => void;
40
- toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
41
- toResetPassword: (data?: Record<string | number | symbol, any>) => void;
42
- toSignIn: (data?: Record<string | number | symbol, any>) => void;
43
- toSignUp: (data?: Record<string | number | symbol, any>) => void;
44
- skipVerification: (data?: Record<string | number | symbol, any>) => void;
35
+ signOut: (data?: import("@aws-amplify/ui").AuthEventData) => void;
36
+ initializeMachine: (data?: import("@aws-amplify/ui").AuthEventData) => void;
37
+ resendCode: (data?: import("@aws-amplify/ui").AuthEventData) => void;
38
+ submitForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
39
+ updateForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
40
+ updateBlur: (data?: import("@aws-amplify/ui").AuthEventData) => void;
41
+ toFederatedSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
42
+ toResetPassword: (data?: import("@aws-amplify/ui").AuthEventData) => void;
43
+ toSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
44
+ toSignUp: (data?: import("@aws-amplify/ui").AuthEventData) => void;
45
+ skipVerification: (data?: import("@aws-amplify/ui").AuthEventData) => void;
45
46
  authStatus: "authenticated" | "configuring" | "unauthenticated";
46
47
  codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
47
48
  error: string;
@@ -51,8 +52,10 @@ export declare class SignInComponent {
51
52
  socialProviders: import("@aws-amplify/ui").SocialProvider[];
52
53
  unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
53
54
  user: import("@aws-amplify/ui").AmplifyUser;
54
- validationErrors: Record<string, string | string[]>;
55
+ validationErrors: import("@aws-amplify/ui").ValidationError;
55
56
  };
56
57
  onInput(event: Event): void;
57
58
  onSubmit(event: Event): void;
59
+ static ɵfac: i0.ɵɵFactoryDeclaration<SignInComponent, never>;
60
+ static ɵcmp: i0.ɵɵComponentDeclaration<SignInComponent, "amplify-sign-in", never, {}, {}, never, never>;
58
61
  }
@@ -1,2 +1,5 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class SignUpFormFieldsComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<SignUpFormFieldsComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<SignUpFormFieldsComponent, "amplify-sign-up-form-fields", never, {}, {}, never, never>;
2
5
  }
@@ -1,4 +1,5 @@
1
1
  import { AuthenticatorService } from '../../../../services/authenticator.service';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class SignUpComponent {
3
4
  authenticator: AuthenticatorService;
4
5
  dataAttr: string;
@@ -6,17 +7,17 @@ export declare class SignUpComponent {
6
7
  constructor(authenticator: AuthenticatorService);
7
8
  get context(): {
8
9
  $implicit: {
9
- signOut: (data?: Record<string | number | symbol, any>) => void;
10
- initializeMachine: (data?: Record<string | number | symbol, any>) => void;
11
- resendCode: (data?: Record<string | number | symbol, any>) => void;
12
- submitForm: (data?: Record<string | number | symbol, any>) => void;
13
- updateForm: (data?: Record<string | number | symbol, any>) => void;
14
- updateBlur: (data?: Record<string | number | symbol, any>) => void;
15
- toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
16
- toResetPassword: (data?: Record<string | number | symbol, any>) => void;
17
- toSignIn: (data?: Record<string | number | symbol, any>) => void;
18
- toSignUp: (data?: Record<string | number | symbol, any>) => void;
19
- skipVerification: (data?: Record<string | number | symbol, any>) => void;
10
+ signOut: (data?: import("@aws-amplify/ui").AuthEventData) => void;
11
+ initializeMachine: (data?: import("@aws-amplify/ui").AuthEventData) => void;
12
+ resendCode: (data?: import("@aws-amplify/ui").AuthEventData) => void;
13
+ submitForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
14
+ updateForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
15
+ updateBlur: (data?: import("@aws-amplify/ui").AuthEventData) => void;
16
+ toFederatedSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
17
+ toResetPassword: (data?: import("@aws-amplify/ui").AuthEventData) => void;
18
+ toSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
19
+ toSignUp: (data?: import("@aws-amplify/ui").AuthEventData) => void;
20
+ skipVerification: (data?: import("@aws-amplify/ui").AuthEventData) => void;
20
21
  authStatus: "authenticated" | "configuring" | "unauthenticated";
21
22
  codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
22
23
  error: string;
@@ -26,19 +27,19 @@ export declare class SignUpComponent {
26
27
  socialProviders: import("@aws-amplify/ui").SocialProvider[];
27
28
  unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
28
29
  user: import("@aws-amplify/ui").AmplifyUser;
29
- validationErrors: Record<string, string | string[]>;
30
+ validationErrors: import("@aws-amplify/ui").ValidationError;
30
31
  };
31
- signOut: (data?: Record<string | number | symbol, any>) => void;
32
- initializeMachine: (data?: Record<string | number | symbol, any>) => void;
33
- resendCode: (data?: Record<string | number | symbol, any>) => void;
34
- submitForm: (data?: Record<string | number | symbol, any>) => void;
35
- updateForm: (data?: Record<string | number | symbol, any>) => void;
36
- updateBlur: (data?: Record<string | number | symbol, any>) => void;
37
- toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
38
- toResetPassword: (data?: Record<string | number | symbol, any>) => void;
39
- toSignIn: (data?: Record<string | number | symbol, any>) => void;
40
- toSignUp: (data?: Record<string | number | symbol, any>) => void;
41
- skipVerification: (data?: Record<string | number | symbol, any>) => void;
32
+ signOut: (data?: import("@aws-amplify/ui").AuthEventData) => void;
33
+ initializeMachine: (data?: import("@aws-amplify/ui").AuthEventData) => void;
34
+ resendCode: (data?: import("@aws-amplify/ui").AuthEventData) => void;
35
+ submitForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
36
+ updateForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
37
+ updateBlur: (data?: import("@aws-amplify/ui").AuthEventData) => void;
38
+ toFederatedSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
39
+ toResetPassword: (data?: import("@aws-amplify/ui").AuthEventData) => void;
40
+ toSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
41
+ toSignUp: (data?: import("@aws-amplify/ui").AuthEventData) => void;
42
+ skipVerification: (data?: import("@aws-amplify/ui").AuthEventData) => void;
42
43
  authStatus: "authenticated" | "configuring" | "unauthenticated";
43
44
  codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
44
45
  error: string;
@@ -48,8 +49,10 @@ export declare class SignUpComponent {
48
49
  socialProviders: import("@aws-amplify/ui").SocialProvider[];
49
50
  unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
50
51
  user: import("@aws-amplify/ui").AmplifyUser;
51
- validationErrors: Record<string, string | string[]>;
52
+ validationErrors: import("@aws-amplify/ui").ValidationError;
52
53
  };
53
54
  onInput(event: Event): void;
54
55
  onSubmit(event: Event): void;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<SignUpComponent, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<SignUpComponent, "amplify-sign-up", never, {}, {}, never, never>;
55
58
  }
@@ -1,5 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { AuthenticatorService } from '../../../../services/authenticator.service';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class VerifyUserComponent implements OnInit {
4
5
  authenticator: AuthenticatorService;
5
6
  dataAttr: string;
@@ -12,17 +13,17 @@ export declare class VerifyUserComponent implements OnInit {
12
13
  ngOnInit(): void;
13
14
  get context(): {
14
15
  $implicit: {
15
- signOut: (data?: Record<string | number | symbol, any>) => void;
16
- initializeMachine: (data?: Record<string | number | symbol, any>) => void;
17
- resendCode: (data?: Record<string | number | symbol, any>) => void;
18
- submitForm: (data?: Record<string | number | symbol, any>) => void;
19
- updateForm: (data?: Record<string | number | symbol, any>) => void;
20
- updateBlur: (data?: Record<string | number | symbol, any>) => void;
21
- toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
22
- toResetPassword: (data?: Record<string | number | symbol, any>) => void;
23
- toSignIn: (data?: Record<string | number | symbol, any>) => void;
24
- toSignUp: (data?: Record<string | number | symbol, any>) => void;
25
- skipVerification: (data?: Record<string | number | symbol, any>) => void;
16
+ signOut: (data?: import("@aws-amplify/ui").AuthEventData) => void;
17
+ initializeMachine: (data?: import("@aws-amplify/ui").AuthEventData) => void;
18
+ resendCode: (data?: import("@aws-amplify/ui").AuthEventData) => void;
19
+ submitForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
20
+ updateForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
21
+ updateBlur: (data?: import("@aws-amplify/ui").AuthEventData) => void;
22
+ toFederatedSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
23
+ toResetPassword: (data?: import("@aws-amplify/ui").AuthEventData) => void;
24
+ toSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
25
+ toSignUp: (data?: import("@aws-amplify/ui").AuthEventData) => void;
26
+ skipVerification: (data?: import("@aws-amplify/ui").AuthEventData) => void;
26
27
  authStatus: "authenticated" | "configuring" | "unauthenticated";
27
28
  codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
28
29
  error: string;
@@ -32,19 +33,19 @@ export declare class VerifyUserComponent implements OnInit {
32
33
  socialProviders: import("@aws-amplify/ui").SocialProvider[];
33
34
  unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
34
35
  user: import("@aws-amplify/ui").AmplifyUser;
35
- validationErrors: Record<string, string | string[]>;
36
+ validationErrors: import("@aws-amplify/ui").ValidationError;
36
37
  };
37
- signOut: (data?: Record<string | number | symbol, any>) => void;
38
- initializeMachine: (data?: Record<string | number | symbol, any>) => void;
39
- resendCode: (data?: Record<string | number | symbol, any>) => void;
40
- submitForm: (data?: Record<string | number | symbol, any>) => void;
41
- updateForm: (data?: Record<string | number | symbol, any>) => void;
42
- updateBlur: (data?: Record<string | number | symbol, any>) => void;
43
- toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
44
- toResetPassword: (data?: Record<string | number | symbol, any>) => void;
45
- toSignIn: (data?: Record<string | number | symbol, any>) => void;
46
- toSignUp: (data?: Record<string | number | symbol, any>) => void;
47
- skipVerification: (data?: Record<string | number | symbol, any>) => void;
38
+ signOut: (data?: import("@aws-amplify/ui").AuthEventData) => void;
39
+ initializeMachine: (data?: import("@aws-amplify/ui").AuthEventData) => void;
40
+ resendCode: (data?: import("@aws-amplify/ui").AuthEventData) => void;
41
+ submitForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
42
+ updateForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
43
+ updateBlur: (data?: import("@aws-amplify/ui").AuthEventData) => void;
44
+ toFederatedSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
45
+ toResetPassword: (data?: import("@aws-amplify/ui").AuthEventData) => void;
46
+ toSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
47
+ toSignUp: (data?: import("@aws-amplify/ui").AuthEventData) => void;
48
+ skipVerification: (data?: import("@aws-amplify/ui").AuthEventData) => void;
48
49
  authStatus: "authenticated" | "configuring" | "unauthenticated";
49
50
  codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
50
51
  error: string;
@@ -54,9 +55,11 @@ export declare class VerifyUserComponent implements OnInit {
54
55
  socialProviders: import("@aws-amplify/ui").SocialProvider[];
55
56
  unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
56
57
  user: import("@aws-amplify/ui").AmplifyUser;
57
- validationErrors: Record<string, string | string[]>;
58
+ validationErrors: import("@aws-amplify/ui").ValidationError;
58
59
  };
59
60
  getLabelForAttr(authAttr: string): string;
60
61
  onInput(event: Event): void;
61
62
  onSubmit(event: Event): void;
63
+ static ɵfac: i0.ɵɵFactoryDeclaration<VerifyUserComponent, never>;
64
+ static ɵcmp: i0.ɵɵComponentDeclaration<VerifyUserComponent, "amplify-verify-user", never, { "headerText": "headerText"; }, {}, never, never>;
62
65
  }
@@ -1,4 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class ButtonComponent implements OnInit {
3
4
  type: 'submit' | 'button';
4
5
  fullWidth: boolean | string;
@@ -14,4 +15,6 @@ export declare class ButtonComponent implements OnInit {
14
15
  get getDisabled(): string;
15
16
  get classNames(): string;
16
17
  ngOnInit(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[amplify-button]", never, { "type": "type"; "fullWidth": "fullWidth"; "isDisabled": "isDisabled"; "size": "size"; "variation": "variation"; "fontWeight": "fontWeight"; }, {}, never, ["*"]>;
17
20
  }
@@ -1,4 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class CheckboxComponent implements OnInit {
3
4
  defaultChecked: boolean;
4
5
  errorMessage: string;
@@ -9,4 +10,6 @@ export declare class CheckboxComponent implements OnInit {
9
10
  isChecked: boolean;
10
11
  ngOnInit(): void;
11
12
  handleClick(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "amplify-checkbox", never, { "defaultChecked": "defaultChecked"; "errorMessage": "errorMessage"; "hasError": "hasError"; "label": "label"; "name": "name"; "value": "value"; }, {}, never, ["*"]>;
12
15
  }
@@ -1,5 +1,8 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class ErrorComponent {
2
3
  isVisible: boolean;
3
4
  dismissAriaLabel: string;
4
5
  close(): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ErrorComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<ErrorComponent, "amplify-error", never, {}, {}, never, ["*"]>;
5
8
  }
@@ -1,4 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class PasswordFieldComponent {
3
4
  autocomplete: string;
4
5
  disabled: boolean;
@@ -16,4 +17,6 @@ export declare class PasswordFieldComponent {
16
17
  showPassword: boolean;
17
18
  showPasswordButtonlabel: string;
18
19
  togglePasswordText(): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<PasswordFieldComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<PasswordFieldComponent, "amplify-password-field", never, { "autocomplete": "autocomplete"; "disabled": "disabled"; "fieldId": "fieldId"; "initialValue": "initialValue"; "label": "label"; "name": "name"; "placeholder": "placeholder"; "required": "required"; "labelHidden": "labelHidden"; "hasError": "hasError"; "describedBy": "describedBy"; }, { "setBlur": "setBlur"; }, never, never>;
19
22
  }
@@ -1,4 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class PhoneNumberFieldComponent implements OnInit {
3
4
  autocomplete: string;
4
5
  disabled: boolean;
@@ -18,4 +19,6 @@ export declare class PhoneNumberFieldComponent implements OnInit {
18
19
  display: string;
19
20
  countryDialCodesValues: Array<string>;
20
21
  ngOnInit(): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<PhoneNumberFieldComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<PhoneNumberFieldComponent, "amplify-phone-number-field", never, { "autocomplete": "autocomplete"; "disabled": "disabled"; "defaultCountryCode": "defaultCountryCode"; "selectFieldId": "selectFieldId"; "textFieldId": "textFieldId"; "initialValue": "initialValue"; "label": "label"; "name": "name"; "placeholder": "placeholder"; "required": "required"; "type": "type"; "labelHidden": "labelHidden"; "dialCodeList": "dialCodeList"; "hasError": "hasError"; "describedBy": "describedBy"; }, {}, never, never>;
21
24
  }
@@ -1,7 +1,10 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class SelectComponent {
2
3
  items: string[];
3
4
  name: string;
4
5
  label: string;
5
6
  id: string;
6
7
  defaultValue: string;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "amplify-form-select", never, { "items": "items"; "name": "name"; "label": "label"; "id": "id"; "defaultValue": "defaultValue"; }, {}, never, never>;
7
10
  }
@@ -1,3 +1,4 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class TabItemComponent {
2
3
  title: string;
3
4
  active: boolean;
@@ -5,4 +6,6 @@ export declare class TabItemComponent {
5
6
  labelledById: string;
6
7
  tabIndex: number;
7
8
  display: string;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabItemComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabItemComponent, "amplify-tab-item", never, { "title": "title"; "active": "active"; "id": "id"; "labelledById": "labelledById"; "tabIndex": "tabIndex"; }, {}, never, ["*"]>;
8
11
  }
@@ -1,9 +1,12 @@
1
1
  import { AfterContentInit, QueryList, EventEmitter } from '@angular/core';
2
2
  import { TabItemComponent } from '../tab-item/tab-item.component';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class TabsComponent implements AfterContentInit {
4
5
  tabs: QueryList<TabItemComponent>;
5
6
  tabChange: EventEmitter<any>;
6
7
  ngAfterContentInit(): void;
7
8
  selectTab(tab: TabItemComponent): void;
8
9
  handleTabClick(tab: TabItemComponent): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "amplify-tabs", never, {}, { "tabChange": "tabChange"; }, ["tabs"], ["*"]>;
9
12
  }
@@ -1,3 +1,4 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class TextFieldComponent {
2
3
  autocomplete: string;
3
4
  disabled: boolean;
@@ -12,4 +13,6 @@ export declare class TextFieldComponent {
12
13
  hasError: boolean;
13
14
  describedBy: string;
14
15
  display: string;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextFieldComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextFieldComponent, "amplify-text-field", never, { "autocomplete": "autocomplete"; "disabled": "disabled"; "fieldId": "fieldId"; "initialValue": "initialValue"; "label": "label"; "name": "name"; "placeholder": "placeholder"; "required": "required"; "type": "type"; "labelHidden": "labelHidden"; "hasError": "hasError"; "describedBy": "describedBy"; }, {}, never, never>;
15
18
  }