@aws-amplify/ui-angular 3.2.18 → 4.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.
- package/esm2020/lib/common/types/component-types.mjs +2 -0
- package/{esm2015/lib/components/authenticator/authenticator.module.js → esm2020/lib/components/authenticator/authenticator.module.mjs} +5 -5
- package/esm2020/lib/components/authenticator/components/authenticator/authenticator.component.mjs +176 -0
- package/esm2020/lib/components/authenticator/components/base-form-fields/base-form-fields.component.mjs +32 -0
- package/esm2020/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.mjs +45 -0
- package/esm2020/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.mjs +49 -0
- package/esm2020/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.mjs +49 -0
- package/esm2020/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.mjs +44 -0
- package/esm2020/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.mjs +47 -0
- package/esm2020/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.mjs +26 -0
- package/esm2020/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.mjs +12 -0
- package/esm2020/lib/components/authenticator/components/force-new-password/force-new-password.component.mjs +44 -0
- package/esm2020/lib/components/authenticator/components/form-field/form-field.component.mjs +50 -0
- package/esm2020/lib/components/authenticator/components/reset-password/reset-password.component.mjs +44 -0
- package/esm2020/lib/components/authenticator/components/setup-totp/setup-totp.component.mjs +69 -0
- package/esm2020/lib/components/authenticator/components/sign-in/sign-in.component.mjs +41 -0
- package/esm2020/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.mjs +12 -0
- package/esm2020/lib/components/authenticator/components/sign-up/sign-up.component.mjs +44 -0
- package/esm2020/lib/components/authenticator/components/verify-user/verify-user.component.mjs +56 -0
- package/{esm2015/lib/primitives/button/button.component.js → esm2020/lib/primitives/button/button.component.mjs} +5 -8
- package/esm2020/lib/primitives/checkbox/checkbox.component.mjs +37 -0
- package/esm2020/lib/primitives/error/error.component.mjs +21 -0
- package/esm2020/lib/primitives/password-field/password-field.component.mjs +64 -0
- package/esm2020/lib/primitives/phone-number-field/phone-number-field.component.mjs +62 -0
- package/esm2020/lib/primitives/select/select.component.mjs +22 -0
- package/esm2020/lib/primitives/tab-item/tab-item.component.mjs +29 -0
- package/{esm2015/lib/primitives/tabs/tabs.component.js → esm2020/lib/primitives/tabs/tabs.component.mjs} +5 -8
- package/esm2020/lib/primitives/text-field/text-field.component.mjs +50 -0
- package/esm2020/lib/services/authenticator.service.mjs +177 -0
- package/esm2020/lib/services/custom-components.service.mjs +25 -0
- package/esm2020/lib/utilities/amplify-slot/amplify-slot.component.mjs +33 -0
- package/{esm2015/lib/utilities/amplify-slot/amplify-slot.directive.js → esm2020/lib/utilities/amplify-slot/amplify-slot.directive.mjs} +4 -4
- package/{esm2015/version.js → esm2020/version.mjs} +2 -2
- package/fesm2015/aws-amplify-ui-angular.mjs +1432 -0
- package/fesm2015/aws-amplify-ui-angular.mjs.map +1 -0
- package/fesm2020/aws-amplify-ui-angular.mjs +1416 -0
- package/fesm2020/aws-amplify-ui-angular.mjs.map +1 -0
- package/lib/common/types/component-types.d.ts +1 -1
- package/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +3 -27
- package/lib/components/authenticator/components/base-form-fields/base-form-fields.component.d.ts +1 -1
- package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +2 -26
- package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +2 -26
- package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +2 -26
- package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +2 -26
- package/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.d.ts +1 -1
- package/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.d.ts +1 -1
- package/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.d.ts +1 -1
- package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +2 -26
- package/lib/components/authenticator/components/form-field/form-field.component.d.ts +2 -2
- package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts +2 -26
- package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +2 -26
- package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +2 -26
- package/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.d.ts +1 -1
- package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +2 -26
- package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +4 -27
- package/lib/primitives/button/button.component.d.ts +1 -1
- package/lib/primitives/checkbox/checkbox.component.d.ts +1 -1
- package/lib/primitives/error/error.component.d.ts +1 -1
- package/lib/primitives/password-field/password-field.component.d.ts +1 -1
- package/lib/primitives/phone-number-field/phone-number-field.component.d.ts +1 -1
- package/lib/primitives/select/select.component.d.ts +1 -1
- package/lib/primitives/tab-item/tab-item.component.d.ts +1 -1
- package/lib/primitives/tabs/tabs.component.d.ts +1 -1
- package/lib/primitives/text-field/text-field.component.d.ts +1 -1
- package/lib/services/authenticator.service.d.ts +25 -47
- package/lib/utilities/amplify-slot/amplify-slot.component.d.ts +3 -3
- package/lib/utilities/amplify-slot/amplify-slot.directive.d.ts +3 -3
- package/package.json +22 -8
- package/version.d.ts +1 -1
- package/aws-amplify-ui-angular.d.ts +0 -5
- package/bundles/aws-amplify-ui-angular.umd.js +0 -2216
- package/bundles/aws-amplify-ui-angular.umd.js.map +0 -1
- package/esm2015/lib/common/types/component-types.js +0 -2
- package/esm2015/lib/components/authenticator/components/authenticator/authenticator.component.js +0 -181
- package/esm2015/lib/components/authenticator/components/base-form-fields/base-form-fields.component.js +0 -35
- package/esm2015/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.js +0 -48
- package/esm2015/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.js +0 -52
- package/esm2015/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.js +0 -52
- package/esm2015/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.js +0 -47
- package/esm2015/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.js +0 -51
- package/esm2015/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.js +0 -29
- package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.js +0 -15
- package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password.component.js +0 -47
- package/esm2015/lib/components/authenticator/components/form-field/form-field.component.js +0 -54
- package/esm2015/lib/components/authenticator/components/reset-password/reset-password.component.js +0 -47
- package/esm2015/lib/components/authenticator/components/setup-totp/setup-totp.component.js +0 -78
- package/esm2015/lib/components/authenticator/components/sign-in/sign-in.component.js +0 -45
- package/esm2015/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.js +0 -15
- package/esm2015/lib/components/authenticator/components/sign-up/sign-up.component.js +0 -45
- package/esm2015/lib/components/authenticator/components/verify-user/verify-user.component.js +0 -61
- package/esm2015/lib/primitives/checkbox/checkbox.component.js +0 -40
- package/esm2015/lib/primitives/error/error.component.js +0 -24
- package/esm2015/lib/primitives/password-field/password-field.component.js +0 -67
- package/esm2015/lib/primitives/phone-number-field/phone-number-field.component.js +0 -66
- package/esm2015/lib/primitives/select/select.component.js +0 -25
- package/esm2015/lib/primitives/tab-item/tab-item.component.js +0 -32
- package/esm2015/lib/primitives/text-field/text-field.component.js +0 -53
- package/esm2015/lib/services/authenticator.service.js +0 -185
- package/esm2015/lib/services/custom-components.service.js +0 -25
- package/esm2015/lib/utilities/amplify-slot/amplify-slot.component.js +0 -36
- package/fesm2015/aws-amplify-ui-angular.js +0 -1516
- package/fesm2015/aws-amplify-ui-angular.js.map +0 -1
- /package/{esm2015/aws-amplify-ui-angular.js → esm2020/aws-amplify-ui-angular.mjs} +0 -0
- /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
- /package/{esm2015/lib/common/helpers.js → esm2020/lib/common/helpers.mjs} +0 -0
- /package/{esm2015/lib/common/index.js → esm2020/lib/common/index.mjs} +0 -0
- /package/{esm2015/lib/common/types/auth-types.js → esm2020/lib/common/types/auth-types.mjs} +0 -0
- /package/{esm2015/lib/common/types/index.js → esm2020/lib/common/types/index.mjs} +0 -0
- /package/{esm2015/lib/components/authenticator/components/index.js → esm2020/lib/components/authenticator/components/index.mjs} +0 -0
- /package/{esm2015/lib/primitives/index.js → esm2020/lib/primitives/index.mjs} +0 -0
|
@@ -8,5 +8,5 @@ export declare class FederatedSignInButtonComponent {
|
|
|
8
8
|
constructor(authenticator: AuthenticatorService);
|
|
9
9
|
onClick: () => void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FederatedSignInButtonComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FederatedSignInButtonComponent, "amplify-federated-sign-in-button", never, { "provider": "provider"; "text": "text"; }, {}, never, ["*"]>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FederatedSignInButtonComponent, "amplify-federated-sign-in-button", never, { "provider": "provider"; "text": "text"; }, {}, never, ["*"], false>;
|
|
12
12
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class ForceNewPasswordFormFieldsComponent {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<ForceNewPasswordFormFieldsComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ForceNewPasswordFormFieldsComponent, "amplify-force-new-password-form-fields", never, {}, {}, never, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ForceNewPasswordFormFieldsComponent, "amplify-force-new-password-form-fields", never, {}, {}, never, never, false>;
|
|
5
5
|
}
|
package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts
CHANGED
|
@@ -7,33 +7,9 @@ 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>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ForceNewPasswordComponent, "amplify-force-new-password", never, { "headerText": "headerText"; }, {}, never, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ForceNewPasswordComponent, "amplify-force-new-password", never, { "headerText": "headerText"; }, {}, never, never, false>;
|
|
39
15
|
}
|
|
@@ -9,13 +9,13 @@ 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
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "amplify-form-field", never, { "name": "name"; "formField": "formField"; }, {}, never, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "amplify-form-field", never, { "name": "name"; "formField": "formField"; }, {}, never, never, false>;
|
|
21
21
|
}
|
package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts
CHANGED
|
@@ -9,33 +9,9 @@ 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>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResetPasswordComponent, "amplify-reset-password", never, { "headerText": "headerText"; }, {}, never, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResetPasswordComponent, "amplify-reset-password", never, { "headerText": "headerText"; }, {}, never, never, false>;
|
|
41
17
|
}
|
|
@@ -13,36 +13,12 @@ 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;
|
|
45
21
|
copyText(): void;
|
|
46
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<SetupTotpComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SetupTotpComponent, "amplify-setup-totp", never, {}, {}, never, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SetupTotpComponent, "amplify-setup-totp", never, {}, {}, never, never, false>;
|
|
48
24
|
}
|
|
@@ -8,33 +8,9 @@ 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>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SignInComponent, "amplify-sign-in", never, {}, {}, never, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SignInComponent, "amplify-sign-in", never, {}, {}, never, never, false>;
|
|
40
16
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class SignUpFormFieldsComponent {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<SignUpFormFieldsComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SignUpFormFieldsComponent, "amplify-sign-up-form-fields", never, {}, {}, never, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SignUpFormFieldsComponent, "amplify-sign-up-form-fields", never, {}, {}, never, never, false>;
|
|
5
5
|
}
|
|
@@ -5,33 +5,9 @@ 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>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SignUpComponent, "amplify-sign-up", never, {}, {}, never, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SignUpComponent, "amplify-sign-up", never, {}, {}, never, never, false>;
|
|
37
13
|
}
|
|
@@ -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,35 +11,11 @@ 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>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VerifyUserComponent, "amplify-verify-user", never, { "headerText": "headerText"; }, {}, never, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VerifyUserComponent, "amplify-verify-user", never, { "headerText": "headerText"; }, {}, never, never, false>;
|
|
44
21
|
}
|
|
@@ -16,5 +16,5 @@ export declare class ButtonComponent implements OnInit {
|
|
|
16
16
|
get classNames(): string;
|
|
17
17
|
ngOnInit(): void;
|
|
18
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, ["*"]>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[amplify-button]", never, { "type": "type"; "fullWidth": "fullWidth"; "isDisabled": "isDisabled"; "size": "size"; "variation": "variation"; "fontWeight": "fontWeight"; }, {}, never, ["*"], false>;
|
|
20
20
|
}
|
|
@@ -11,5 +11,5 @@ export declare class CheckboxComponent implements OnInit {
|
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
handleClick(): void;
|
|
13
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, ["*"]>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "amplify-checkbox", never, { "defaultChecked": "defaultChecked"; "errorMessage": "errorMessage"; "hasError": "hasError"; "label": "label"; "name": "name"; "value": "value"; }, {}, never, ["*"], false>;
|
|
15
15
|
}
|
|
@@ -4,5 +4,5 @@ export declare class ErrorComponent {
|
|
|
4
4
|
dismissAriaLabel: string;
|
|
5
5
|
close(): void;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorComponent, "amplify-error", never, {}, {}, never, ["*"]>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorComponent, "amplify-error", never, {}, {}, never, ["*"], false>;
|
|
8
8
|
}
|
|
@@ -22,5 +22,5 @@ export declare class PasswordFieldComponent {
|
|
|
22
22
|
ComponentClassName: typeof ComponentClassName;
|
|
23
23
|
togglePasswordText(): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordFieldComponent, never>;
|
|
25
|
-
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>;
|
|
25
|
+
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, false>;
|
|
26
26
|
}
|
|
@@ -20,5 +20,5 @@ export declare class PhoneNumberFieldComponent implements OnInit {
|
|
|
20
20
|
countryDialCodesValues: Array<string>;
|
|
21
21
|
ngOnInit(): void;
|
|
22
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>;
|
|
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, false>;
|
|
24
24
|
}
|
|
@@ -6,5 +6,5 @@ export declare class SelectComponent {
|
|
|
6
6
|
id: string;
|
|
7
7
|
defaultValue: string;
|
|
8
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>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "amplify-form-select", never, { "items": "items"; "name": "name"; "label": "label"; "id": "id"; "defaultValue": "defaultValue"; }, {}, never, never, false>;
|
|
10
10
|
}
|
|
@@ -7,5 +7,5 @@ export declare class TabItemComponent {
|
|
|
7
7
|
tabIndex: number;
|
|
8
8
|
display: string;
|
|
9
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, ["*"]>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabItemComponent, "amplify-tab-item", never, { "title": "title"; "active": "active"; "id": "id"; "labelledById": "labelledById"; "tabIndex": "tabIndex"; }, {}, never, ["*"], false>;
|
|
11
11
|
}
|
|
@@ -8,5 +8,5 @@ export declare class TabsComponent implements AfterContentInit {
|
|
|
8
8
|
selectTab(tab: TabItemComponent): void;
|
|
9
9
|
handleTabClick(tab: TabItemComponent): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "amplify-tabs", never, {}, { "tabChange": "tabChange"; }, ["tabs"], ["*"]>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "amplify-tabs", never, {}, { "tabChange": "tabChange"; }, ["tabs"], ["*"], false>;
|
|
12
12
|
}
|
|
@@ -14,5 +14,5 @@ export declare class TextFieldComponent {
|
|
|
14
14
|
describedBy: string;
|
|
15
15
|
display: string;
|
|
16
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>;
|
|
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, false>;
|
|
18
18
|
}
|
|
@@ -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,12 +4,12 @@ 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;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AmplifySlotComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AmplifySlotComponent, "amplify-slot", never, { "name": "name"; "context": "context"; }, {}, never, ["*"]>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmplifySlotComponent, "amplify-slot", never, { "name": "name"; "context": "context"; }, {}, never, ["*"], false>;
|
|
15
15
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
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
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AmplifySlotDirective, "[amplifySlot]", never, { "amplifySlot": "amplifySlot"; }, {}, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AmplifySlotDirective, "[amplifySlot]", never, { "amplifySlot": "amplifySlot"; }, {}, never, never, false>;
|
|
10
10
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-angular",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -8,10 +8,11 @@
|
|
|
8
8
|
"directory": "packages/angular/projects/ui-angular"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
|
+
"@angular/core": ">= 14.0.0",
|
|
11
12
|
"aws-amplify": ">= 5.0.1"
|
|
12
13
|
},
|
|
13
14
|
"dependencies": {
|
|
14
|
-
"@aws-amplify/ui": "5.6.
|
|
15
|
+
"@aws-amplify/ui": "5.6.5",
|
|
15
16
|
"classnames": "2.3.1",
|
|
16
17
|
"nanoid": "3.1.31",
|
|
17
18
|
"qrcode": "1.5.0",
|
|
@@ -21,11 +22,24 @@
|
|
|
21
22
|
"publishConfig": {
|
|
22
23
|
"directory": "../../dist/ui-angular"
|
|
23
24
|
},
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"fesm2015": "fesm2015/aws-amplify-ui-angular.
|
|
29
|
-
"typings": "
|
|
25
|
+
"module": "fesm2015/aws-amplify-ui-angular.mjs",
|
|
26
|
+
"es2020": "fesm2020/aws-amplify-ui-angular.mjs",
|
|
27
|
+
"esm2020": "esm2020/aws-amplify-ui-angular.mjs",
|
|
28
|
+
"fesm2020": "fesm2020/aws-amplify-ui-angular.mjs",
|
|
29
|
+
"fesm2015": "fesm2015/aws-amplify-ui-angular.mjs",
|
|
30
|
+
"typings": "index.d.ts",
|
|
31
|
+
"exports": {
|
|
32
|
+
"./package.json": {
|
|
33
|
+
"default": "./package.json"
|
|
34
|
+
},
|
|
35
|
+
".": {
|
|
36
|
+
"types": "./index.d.ts",
|
|
37
|
+
"esm2020": "./esm2020/aws-amplify-ui-angular.mjs",
|
|
38
|
+
"es2020": "./fesm2020/aws-amplify-ui-angular.mjs",
|
|
39
|
+
"es2015": "./fesm2015/aws-amplify-ui-angular.mjs",
|
|
40
|
+
"node": "./fesm2015/aws-amplify-ui-angular.mjs",
|
|
41
|
+
"default": "./fesm2020/aws-amplify-ui-angular.mjs"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
30
44
|
"sideEffects": false
|
|
31
45
|
}
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "
|
|
1
|
+
export declare const VERSION = "4.0.0";
|