@aws-amplify/ui-angular 3.2.18 → 3.2.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/aws-amplify-ui-angular.umd.js +55 -54
- package/bundles/aws-amplify-ui-angular.umd.js.map +1 -1
- package/esm2015/lib/common/types/component-types.js +1 -1
- package/esm2015/lib/components/authenticator/components/authenticator/authenticator.component.js +9 -9
- package/esm2015/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.js +1 -1
- package/esm2015/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.js +4 -4
- package/esm2015/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.js +1 -1
- package/esm2015/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.js +1 -1
- package/esm2015/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.js +1 -1
- package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password.component.js +1 -1
- package/esm2015/lib/components/authenticator/components/form-field/form-field.component.js +5 -5
- package/esm2015/lib/components/authenticator/components/reset-password/reset-password.component.js +1 -1
- package/esm2015/lib/components/authenticator/components/setup-totp/setup-totp.component.js +4 -4
- package/esm2015/lib/components/authenticator/components/sign-in/sign-in.component.js +1 -1
- package/esm2015/lib/components/authenticator/components/sign-up/sign-up.component.js +7 -5
- package/esm2015/lib/components/authenticator/components/verify-user/verify-user.component.js +7 -8
- package/esm2015/lib/primitives/button/button.component.js +1 -1
- package/esm2015/lib/primitives/checkbox/checkbox.component.js +1 -1
- package/esm2015/lib/primitives/error/error.component.js +1 -1
- package/esm2015/lib/primitives/password-field/password-field.component.js +1 -1
- package/esm2015/lib/primitives/phone-number-field/phone-number-field.component.js +1 -1
- package/esm2015/lib/primitives/tabs/tabs.component.js +1 -1
- package/esm2015/lib/primitives/text-field/text-field.component.js +1 -1
- package/esm2015/lib/services/authenticator.service.js +7 -7
- package/esm2015/lib/utilities/amplify-slot/amplify-slot.component.js +2 -2
- package/esm2015/lib/utilities/amplify-slot/amplify-slot.directive.js +1 -1
- package/esm2015/version.js +2 -2
- package/fesm2015/aws-amplify-ui-angular.js +38 -37
- package/fesm2015/aws-amplify-ui-angular.js.map +1 -1
- package/lib/common/types/component-types.d.ts +1 -1
- package/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +2 -26
- package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +1 -25
- package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +1 -25
- package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +1 -25
- package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +1 -25
- package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +1 -25
- package/lib/components/authenticator/components/form-field/form-field.component.d.ts +1 -1
- package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts +1 -25
- package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +1 -25
- package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +1 -25
- package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +1 -25
- package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +3 -26
- package/lib/services/authenticator.service.d.ts +25 -47
- package/lib/utilities/amplify-slot/amplify-slot.component.d.ts +2 -2
- package/lib/utilities/amplify-slot/amplify-slot.directive.d.ts +2 -2
- package/package.json +2 -2
- package/version.d.ts +1 -1
|
@@ -3,7 +3,7 @@ import { AuthFormData } from '@aws-amplify/ui';
|
|
|
3
3
|
/**
|
|
4
4
|
* Maps custom components from customer to the name of the component it's overriding.
|
|
5
5
|
*/
|
|
6
|
-
export declare type CustomComponents = Record<string, TemplateRef<
|
|
6
|
+
export declare type CustomComponents = Record<string, TemplateRef<unknown>>;
|
|
7
7
|
/**
|
|
8
8
|
* Contains properties to be passed to each auth subcomponents.
|
|
9
9
|
*/
|
|
@@ -22,6 +22,8 @@ export declare class AuthenticatorComponent implements OnInit, AfterContentInit,
|
|
|
22
22
|
private isHandlingHubEvent;
|
|
23
23
|
private unsubscribeMachine;
|
|
24
24
|
constructor(authenticator: AuthenticatorService, contextService: CustomComponentsService, changeDetector: ChangeDetectorRef);
|
|
25
|
+
get context(): AuthenticatorService['slotContext'];
|
|
26
|
+
get route(): AuthenticatorService['route'];
|
|
25
27
|
ngOnInit(): void;
|
|
26
28
|
/**
|
|
27
29
|
* Lifecycle Methods
|
|
@@ -31,32 +33,6 @@ export declare class AuthenticatorComponent implements OnInit, AfterContentInit,
|
|
|
31
33
|
/**
|
|
32
34
|
* Class Functions
|
|
33
35
|
*/
|
|
34
|
-
get context(): {
|
|
35
|
-
$implicit: import("@aws-amplify/ui").AuthenticatorServiceFacade;
|
|
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;
|
|
47
|
-
authStatus: import("@aws-amplify/ui").AuthStatus;
|
|
48
|
-
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
49
|
-
error: string;
|
|
50
|
-
hasValidationErrors: boolean;
|
|
51
|
-
isPending: boolean;
|
|
52
|
-
route: import("@aws-amplify/ui").AuthenticatorRoute;
|
|
53
|
-
socialProviders: SocialProvider[];
|
|
54
|
-
totpSecretCode: string;
|
|
55
|
-
unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
|
|
56
|
-
user: import("@aws-amplify/ui").AmplifyUser;
|
|
57
|
-
validationErrors: import("@aws-amplify/ui").ValidationError;
|
|
58
|
-
};
|
|
59
|
-
get route(): import("@aws-amplify/ui").AuthenticatorRoute;
|
|
60
36
|
onTabChange(): void;
|
|
61
37
|
hasTabs(): boolean;
|
|
62
38
|
hasRouteComponent(): boolean;
|
|
@@ -10,31 +10,7 @@ export declare class ConfirmResetPasswordComponent {
|
|
|
10
10
|
resendCodeText: string;
|
|
11
11
|
submitText: string;
|
|
12
12
|
constructor(authenticator: AuthenticatorService);
|
|
13
|
-
get context():
|
|
14
|
-
$implicit: import("@aws-amplify/ui").AuthenticatorServiceFacade;
|
|
15
|
-
signOut: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
16
|
-
initializeMachine: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
17
|
-
resendCode: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
18
|
-
submitForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
19
|
-
updateForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
20
|
-
updateBlur: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
21
|
-
toFederatedSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
22
|
-
toResetPassword: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
23
|
-
toSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
24
|
-
toSignUp: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
25
|
-
skipVerification: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
26
|
-
authStatus: import("@aws-amplify/ui").AuthStatus;
|
|
27
|
-
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
28
|
-
error: string;
|
|
29
|
-
hasValidationErrors: boolean;
|
|
30
|
-
isPending: boolean;
|
|
31
|
-
route: import("@aws-amplify/ui").AuthenticatorRoute;
|
|
32
|
-
socialProviders: import("@aws-amplify/ui").SocialProvider[];
|
|
33
|
-
totpSecretCode: string;
|
|
34
|
-
unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
|
|
35
|
-
user: import("@aws-amplify/ui").AmplifyUser;
|
|
36
|
-
validationErrors: import("@aws-amplify/ui").ValidationError;
|
|
37
|
-
};
|
|
13
|
+
get context(): AuthenticatorService['slotContext'];
|
|
38
14
|
onInput(event: Event): void;
|
|
39
15
|
onSubmit(event: Event): void;
|
|
40
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmResetPasswordComponent, never>;
|
package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts
CHANGED
|
@@ -10,32 +10,8 @@ export declare class ConfirmSignInComponent implements OnInit {
|
|
|
10
10
|
backToSignInText: string;
|
|
11
11
|
sortedFormFields: FormFieldsArray;
|
|
12
12
|
constructor(authenticator: AuthenticatorService);
|
|
13
|
+
get context(): AuthenticatorService['slotContext'];
|
|
13
14
|
ngOnInit(): void;
|
|
14
|
-
get context(): {
|
|
15
|
-
$implicit: import("@aws-amplify/ui").AuthenticatorServiceFacade;
|
|
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;
|
|
27
|
-
authStatus: import("@aws-amplify/ui").AuthStatus;
|
|
28
|
-
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
29
|
-
error: string;
|
|
30
|
-
hasValidationErrors: boolean;
|
|
31
|
-
isPending: boolean;
|
|
32
|
-
route: import("@aws-amplify/ui").AuthenticatorRoute;
|
|
33
|
-
socialProviders: import("@aws-amplify/ui").SocialProvider[];
|
|
34
|
-
totpSecretCode: string;
|
|
35
|
-
unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
|
|
36
|
-
user: import("@aws-amplify/ui").AmplifyUser;
|
|
37
|
-
validationErrors: import("@aws-amplify/ui").ValidationError;
|
|
38
|
-
};
|
|
39
15
|
setHeaderText(): void;
|
|
40
16
|
onInput(event: Event): void;
|
|
41
17
|
onSubmit(event: Event): void;
|
package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts
CHANGED
|
@@ -8,31 +8,7 @@ export declare class ConfirmSignUpComponent {
|
|
|
8
8
|
confirmText: string;
|
|
9
9
|
sortedFormFields: FormFieldsArray;
|
|
10
10
|
constructor(authenticator: AuthenticatorService);
|
|
11
|
-
get context():
|
|
12
|
-
$implicit: import("@aws-amplify/ui").AuthenticatorServiceFacade;
|
|
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;
|
|
24
|
-
authStatus: import("@aws-amplify/ui").AuthStatus;
|
|
25
|
-
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
26
|
-
error: string;
|
|
27
|
-
hasValidationErrors: boolean;
|
|
28
|
-
isPending: boolean;
|
|
29
|
-
route: import("@aws-amplify/ui").AuthenticatorRoute;
|
|
30
|
-
socialProviders: import("@aws-amplify/ui").SocialProvider[];
|
|
31
|
-
totpSecretCode: string;
|
|
32
|
-
unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
|
|
33
|
-
user: import("@aws-amplify/ui").AmplifyUser;
|
|
34
|
-
validationErrors: import("@aws-amplify/ui").ValidationError;
|
|
35
|
-
};
|
|
11
|
+
get context(): AuthenticatorService['slotContext'];
|
|
36
12
|
get confirmSignUpHeading(): string;
|
|
37
13
|
get subtitleText(): string;
|
|
38
14
|
onInput(event: Event): void;
|
|
@@ -9,31 +9,7 @@ export declare class ConfirmVerifyUserComponent {
|
|
|
9
9
|
submitText: string;
|
|
10
10
|
sortedFormFields: FormFieldsArray;
|
|
11
11
|
constructor(authenticator: AuthenticatorService);
|
|
12
|
-
get context():
|
|
13
|
-
$implicit: import("@aws-amplify/ui").AuthenticatorServiceFacade;
|
|
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;
|
|
25
|
-
authStatus: import("@aws-amplify/ui").AuthStatus;
|
|
26
|
-
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
27
|
-
error: string;
|
|
28
|
-
hasValidationErrors: boolean;
|
|
29
|
-
isPending: boolean;
|
|
30
|
-
route: import("@aws-amplify/ui").AuthenticatorRoute;
|
|
31
|
-
socialProviders: import("@aws-amplify/ui").SocialProvider[];
|
|
32
|
-
totpSecretCode: string;
|
|
33
|
-
unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
|
|
34
|
-
user: import("@aws-amplify/ui").AmplifyUser;
|
|
35
|
-
validationErrors: import("@aws-amplify/ui").ValidationError;
|
|
36
|
-
};
|
|
12
|
+
get context(): AuthenticatorService['slotContext'];
|
|
37
13
|
onInput(event: Event): void;
|
|
38
14
|
onSubmit(event: Event): void;
|
|
39
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmVerifyUserComponent, never>;
|
package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts
CHANGED
|
@@ -7,31 +7,7 @@ export declare class ForceNewPasswordComponent {
|
|
|
7
7
|
changePasswordText: string;
|
|
8
8
|
backToSignInText: string;
|
|
9
9
|
constructor(authenticator: AuthenticatorService);
|
|
10
|
-
get context():
|
|
11
|
-
$implicit: import("@aws-amplify/ui").AuthenticatorServiceFacade;
|
|
12
|
-
signOut: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
13
|
-
initializeMachine: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
14
|
-
resendCode: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
15
|
-
submitForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
16
|
-
updateForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
17
|
-
updateBlur: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
18
|
-
toFederatedSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
19
|
-
toResetPassword: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
20
|
-
toSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
21
|
-
toSignUp: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
22
|
-
skipVerification: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
23
|
-
authStatus: import("@aws-amplify/ui").AuthStatus;
|
|
24
|
-
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
25
|
-
error: string;
|
|
26
|
-
hasValidationErrors: boolean;
|
|
27
|
-
isPending: boolean;
|
|
28
|
-
route: import("@aws-amplify/ui").AuthenticatorRoute;
|
|
29
|
-
socialProviders: import("@aws-amplify/ui").SocialProvider[];
|
|
30
|
-
totpSecretCode: string;
|
|
31
|
-
unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
|
|
32
|
-
user: import("@aws-amplify/ui").AmplifyUser;
|
|
33
|
-
validationErrors: import("@aws-amplify/ui").ValidationError;
|
|
34
|
-
};
|
|
10
|
+
get context(): AuthenticatorService['slotContext'];
|
|
35
11
|
onInput(event: Event): void;
|
|
36
12
|
onSubmit(event: Event): void;
|
|
37
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ForceNewPasswordComponent, never>;
|
|
@@ -9,12 +9,12 @@ export declare class FormFieldComponent {
|
|
|
9
9
|
countryDialCodesValue: string[];
|
|
10
10
|
errorId: string;
|
|
11
11
|
constructor(authenticator: AuthenticatorService);
|
|
12
|
+
get ariaDescribedBy(): string | undefined;
|
|
12
13
|
get errors(): string[];
|
|
13
14
|
onBlur($event: Event): void;
|
|
14
15
|
isPasswordField(): boolean;
|
|
15
16
|
isPhoneField(): boolean;
|
|
16
17
|
hasError(): boolean;
|
|
17
|
-
get ariaDescribedBy(): string;
|
|
18
18
|
translate(phrase: string): string;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
20
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "amplify-form-field", never, { "name": "name"; "formField": "formField"; }, {}, never, never>;
|
package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts
CHANGED
|
@@ -9,31 +9,7 @@ export declare class ResetPasswordComponent {
|
|
|
9
9
|
backToSignInText: string;
|
|
10
10
|
sortedFormFields: FormFieldsArray;
|
|
11
11
|
constructor(authenticator: AuthenticatorService);
|
|
12
|
-
get context():
|
|
13
|
-
$implicit: import("@aws-amplify/ui").AuthenticatorServiceFacade;
|
|
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;
|
|
25
|
-
authStatus: import("@aws-amplify/ui").AuthStatus;
|
|
26
|
-
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
27
|
-
error: string;
|
|
28
|
-
hasValidationErrors: boolean;
|
|
29
|
-
isPending: boolean;
|
|
30
|
-
route: import("@aws-amplify/ui").AuthenticatorRoute;
|
|
31
|
-
socialProviders: import("@aws-amplify/ui").SocialProvider[];
|
|
32
|
-
totpSecretCode: string;
|
|
33
|
-
unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
|
|
34
|
-
user: import("@aws-amplify/ui").AmplifyUser;
|
|
35
|
-
validationErrors: import("@aws-amplify/ui").ValidationError;
|
|
36
|
-
};
|
|
12
|
+
get context(): AuthenticatorService['slotContext'];
|
|
37
13
|
onInput(event: Event): void;
|
|
38
14
|
onSubmit(event: Event): void;
|
|
39
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordComponent, never>;
|
|
@@ -13,32 +13,8 @@ export declare class SetupTotpComponent implements OnInit {
|
|
|
13
13
|
confirmText: string;
|
|
14
14
|
sortedFormFields: FormFieldsArray;
|
|
15
15
|
constructor(authenticator: AuthenticatorService);
|
|
16
|
+
get context(): AuthenticatorService['slotContext'];
|
|
16
17
|
ngOnInit(): Promise<void>;
|
|
17
|
-
get context(): {
|
|
18
|
-
$implicit: import("@aws-amplify/ui").AuthenticatorServiceFacade;
|
|
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;
|
|
30
|
-
authStatus: import("@aws-amplify/ui").AuthStatus;
|
|
31
|
-
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
32
|
-
error: string;
|
|
33
|
-
hasValidationErrors: boolean;
|
|
34
|
-
isPending: boolean;
|
|
35
|
-
route: import("@aws-amplify/ui").AuthenticatorRoute;
|
|
36
|
-
socialProviders: import("@aws-amplify/ui").SocialProvider[];
|
|
37
|
-
totpSecretCode: string;
|
|
38
|
-
unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
|
|
39
|
-
user: import("@aws-amplify/ui").AmplifyUser;
|
|
40
|
-
validationErrors: import("@aws-amplify/ui").ValidationError;
|
|
41
|
-
};
|
|
42
18
|
generateQRCode(): Promise<void>;
|
|
43
19
|
onInput(event: Event): void;
|
|
44
20
|
onSubmit(event: Event): void;
|
|
@@ -8,31 +8,7 @@ export declare class SignInComponent {
|
|
|
8
8
|
signInButtonText: string;
|
|
9
9
|
sortedFormFields: FormFieldsArray;
|
|
10
10
|
constructor(authenticator: AuthenticatorService);
|
|
11
|
-
get context():
|
|
12
|
-
$implicit: import("@aws-amplify/ui").AuthenticatorServiceFacade;
|
|
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;
|
|
24
|
-
authStatus: import("@aws-amplify/ui").AuthStatus;
|
|
25
|
-
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
26
|
-
error: string;
|
|
27
|
-
hasValidationErrors: boolean;
|
|
28
|
-
isPending: boolean;
|
|
29
|
-
route: import("@aws-amplify/ui").AuthenticatorRoute;
|
|
30
|
-
socialProviders: import("@aws-amplify/ui").SocialProvider[];
|
|
31
|
-
totpSecretCode: string;
|
|
32
|
-
unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
|
|
33
|
-
user: import("@aws-amplify/ui").AmplifyUser;
|
|
34
|
-
validationErrors: import("@aws-amplify/ui").ValidationError;
|
|
35
|
-
};
|
|
11
|
+
get context(): AuthenticatorService['slotContext'];
|
|
36
12
|
onInput(event: Event): void;
|
|
37
13
|
onSubmit(event: Event): void;
|
|
38
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SignInComponent, never>;
|
|
@@ -5,31 +5,7 @@ export declare class SignUpComponent {
|
|
|
5
5
|
dataAttr: string;
|
|
6
6
|
createAccountText: string;
|
|
7
7
|
constructor(authenticator: AuthenticatorService);
|
|
8
|
-
get context():
|
|
9
|
-
$implicit: import("@aws-amplify/ui").AuthenticatorServiceFacade;
|
|
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;
|
|
21
|
-
authStatus: import("@aws-amplify/ui").AuthStatus;
|
|
22
|
-
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
23
|
-
error: string;
|
|
24
|
-
hasValidationErrors: boolean;
|
|
25
|
-
isPending: boolean;
|
|
26
|
-
route: import("@aws-amplify/ui").AuthenticatorRoute;
|
|
27
|
-
socialProviders: import("@aws-amplify/ui").SocialProvider[];
|
|
28
|
-
totpSecretCode: string;
|
|
29
|
-
unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
|
|
30
|
-
user: import("@aws-amplify/ui").AmplifyUser;
|
|
31
|
-
validationErrors: import("@aws-amplify/ui").ValidationError;
|
|
32
|
-
};
|
|
8
|
+
get context(): AuthenticatorService['slotContext'];
|
|
33
9
|
onInput(event: Event): void;
|
|
34
10
|
onSubmit(event: Event): void;
|
|
35
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SignUpComponent, never>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { UnverifiedContactMethods } from '@aws-amplify/ui';
|
|
2
3
|
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class VerifyUserComponent implements OnInit {
|
|
@@ -10,33 +11,9 @@ export declare class VerifyUserComponent implements OnInit {
|
|
|
10
11
|
skipText: string;
|
|
11
12
|
verifyText: string;
|
|
12
13
|
constructor(authenticator: AuthenticatorService);
|
|
14
|
+
get context(): AuthenticatorService['slotContext'];
|
|
13
15
|
ngOnInit(): void;
|
|
14
|
-
|
|
15
|
-
$implicit: import("@aws-amplify/ui").AuthenticatorServiceFacade;
|
|
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;
|
|
27
|
-
authStatus: import("@aws-amplify/ui").AuthStatus;
|
|
28
|
-
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
29
|
-
error: string;
|
|
30
|
-
hasValidationErrors: boolean;
|
|
31
|
-
isPending: boolean;
|
|
32
|
-
route: import("@aws-amplify/ui").AuthenticatorRoute;
|
|
33
|
-
socialProviders: import("@aws-amplify/ui").SocialProvider[];
|
|
34
|
-
totpSecretCode: string;
|
|
35
|
-
unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
|
|
36
|
-
user: import("@aws-amplify/ui").AmplifyUser;
|
|
37
|
-
validationErrors: import("@aws-amplify/ui").ValidationError;
|
|
38
|
-
};
|
|
39
|
-
getLabelForAttr(authAttr: string): string;
|
|
16
|
+
getLabel(attr: keyof UnverifiedContactMethods): string;
|
|
40
17
|
onInput(event: Event): void;
|
|
41
18
|
onSubmit(event: Event): void;
|
|
42
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<VerifyUserComponent, never>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import { Event, Subscription } from 'xstate';
|
|
4
|
-
import { AuthContext, AuthEvent, AuthInterpreter, AuthMachineState
|
|
5
|
-
import { AuthSubscriptionCallback } from '../common';
|
|
4
|
+
import { AmplifyUser, AuthContext, AuthenticatorServiceFacade, AuthEvent, AuthInterpreter, AuthMachineState } from '@aws-amplify/ui';
|
|
5
|
+
import { AuthSubscriptionCallback } from '../common/types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* AuthenticatorService provides access to the authenticator state and context.
|
|
@@ -16,36 +16,35 @@ export declare class AuthenticatorService implements OnDestroy {
|
|
|
16
16
|
private _hubSubject;
|
|
17
17
|
private _unsubscribeHub;
|
|
18
18
|
constructor();
|
|
19
|
-
ngOnDestroy(): void;
|
|
20
19
|
/**
|
|
21
20
|
* Context facades
|
|
22
21
|
*/
|
|
23
|
-
get error():
|
|
24
|
-
get hasValidationErrors():
|
|
25
|
-
get isPending():
|
|
26
|
-
get route():
|
|
27
|
-
get authStatus():
|
|
28
|
-
get user():
|
|
29
|
-
get validationErrors():
|
|
30
|
-
get codeDeliveryDetails():
|
|
31
|
-
get totpSecretCode():
|
|
22
|
+
get error(): AuthenticatorServiceFacade['error'];
|
|
23
|
+
get hasValidationErrors(): AuthenticatorServiceFacade['hasValidationErrors'];
|
|
24
|
+
get isPending(): AuthenticatorServiceFacade['isPending'];
|
|
25
|
+
get route(): AuthenticatorServiceFacade['route'];
|
|
26
|
+
get authStatus(): AuthenticatorServiceFacade['authStatus'];
|
|
27
|
+
get user(): AmplifyUser;
|
|
28
|
+
get validationErrors(): AuthenticatorServiceFacade['validationErrors'];
|
|
29
|
+
get codeDeliveryDetails(): AuthenticatorServiceFacade['codeDeliveryDetails'];
|
|
30
|
+
get totpSecretCode(): AuthenticatorServiceFacade['totpSecretCode'];
|
|
32
31
|
/**
|
|
33
32
|
* Service facades
|
|
34
33
|
*/
|
|
35
|
-
get initializeMachine():
|
|
36
|
-
get updateForm():
|
|
37
|
-
get updateBlur():
|
|
38
|
-
get resendCode():
|
|
39
|
-
get signOut():
|
|
40
|
-
get submitForm():
|
|
34
|
+
get initializeMachine(): AuthenticatorServiceFacade['initializeMachine'];
|
|
35
|
+
get updateForm(): AuthenticatorServiceFacade['updateForm'];
|
|
36
|
+
get updateBlur(): AuthenticatorServiceFacade['updateBlur'];
|
|
37
|
+
get resendCode(): AuthenticatorServiceFacade['resendCode'];
|
|
38
|
+
get signOut(): AuthenticatorServiceFacade['signOut'];
|
|
39
|
+
get submitForm(): AuthenticatorServiceFacade['submitForm'];
|
|
41
40
|
/**
|
|
42
41
|
* Transition facades
|
|
43
42
|
*/
|
|
44
|
-
get toFederatedSignIn():
|
|
45
|
-
get toResetPassword():
|
|
46
|
-
get toSignIn():
|
|
47
|
-
get toSignUp():
|
|
48
|
-
get skipVerification():
|
|
43
|
+
get toFederatedSignIn(): AuthenticatorServiceFacade['toFederatedSignIn'];
|
|
44
|
+
get toResetPassword(): AuthenticatorServiceFacade['toResetPassword'];
|
|
45
|
+
get toSignIn(): AuthenticatorServiceFacade['toSignIn'];
|
|
46
|
+
get toSignUp(): AuthenticatorServiceFacade['toSignUp'];
|
|
47
|
+
get skipVerification(): AuthenticatorServiceFacade['skipVerification'];
|
|
49
48
|
/**
|
|
50
49
|
* Internal utility functions
|
|
51
50
|
*/
|
|
@@ -56,34 +55,13 @@ export declare class AuthenticatorService implements OnDestroy {
|
|
|
56
55
|
/** @deprecated For internal use only */
|
|
57
56
|
get context(): AuthContext;
|
|
58
57
|
/** @deprecated For internal use only */
|
|
59
|
-
get slotContext(): {
|
|
60
|
-
$implicit:
|
|
61
|
-
signOut: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
62
|
-
initializeMachine: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
63
|
-
resendCode: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
64
|
-
submitForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
65
|
-
updateForm: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
66
|
-
updateBlur: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
67
|
-
toFederatedSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
68
|
-
toResetPassword: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
69
|
-
toSignIn: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
70
|
-
toSignUp: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
71
|
-
skipVerification: (data?: import("@aws-amplify/ui").AuthEventData) => void;
|
|
72
|
-
authStatus: AuthStatus;
|
|
73
|
-
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
74
|
-
error: string;
|
|
75
|
-
hasValidationErrors: boolean;
|
|
76
|
-
isPending: boolean;
|
|
77
|
-
route: import("@aws-amplify/ui").AuthenticatorRoute;
|
|
78
|
-
socialProviders: import("@aws-amplify/ui").SocialProvider[];
|
|
79
|
-
totpSecretCode: string;
|
|
80
|
-
unverifiedContactMethods: import("@aws-amplify/ui").UnverifiedContactMethods;
|
|
81
|
-
user: import("@aws-amplify/ui").AmplifyUser;
|
|
82
|
-
validationErrors: import("@aws-amplify/ui").ValidationError;
|
|
58
|
+
get slotContext(): AuthenticatorServiceFacade & {
|
|
59
|
+
$implicit: AuthenticatorServiceFacade;
|
|
83
60
|
};
|
|
84
61
|
/** @deprecated For internal use only */
|
|
85
62
|
get hubSubject(): Subject<void>;
|
|
86
63
|
subscribe(callback: AuthSubscriptionCallback): Subscription;
|
|
64
|
+
ngOnDestroy(): void;
|
|
87
65
|
/** @deprecated For internal use only */
|
|
88
66
|
send(event: Event<AuthEvent>): void;
|
|
89
67
|
private getInitialAuthStatus;
|
|
@@ -4,9 +4,9 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class AmplifySlotComponent implements AfterContentInit {
|
|
5
5
|
private propService;
|
|
6
6
|
name: string;
|
|
7
|
-
context: Record<PropertyKey,
|
|
7
|
+
context: Record<PropertyKey, unknown>;
|
|
8
8
|
display: string;
|
|
9
|
-
overridingComponent: TemplateRef<
|
|
9
|
+
overridingComponent: TemplateRef<unknown>;
|
|
10
10
|
isOverriden: boolean;
|
|
11
11
|
constructor(propService: CustomComponentsService);
|
|
12
12
|
ngAfterContentInit(): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class AmplifySlotDirective {
|
|
4
|
-
template: TemplateRef<
|
|
5
|
-
constructor(template: TemplateRef<any>);
|
|
4
|
+
template: TemplateRef<unknown>;
|
|
6
5
|
name: string;
|
|
6
|
+
constructor(template: TemplateRef<unknown>);
|
|
7
7
|
set amplifySlot(component: string);
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AmplifySlotDirective, never>;
|
|
9
9
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AmplifySlotDirective, "[amplifySlot]", never, { "amplifySlot": "amplifySlot"; }, {}, never>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-angular",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.19",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"aws-amplify": ">= 5.0.1"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@aws-amplify/ui": "5.6.
|
|
14
|
+
"@aws-amplify/ui": "5.6.5",
|
|
15
15
|
"classnames": "2.3.1",
|
|
16
16
|
"nanoid": "3.1.31",
|
|
17
17
|
"qrcode": "1.5.0",
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "3.2.
|
|
1
|
+
export declare const VERSION = "3.2.19";
|