@aws-amplify/ui-angular 2.4.11 → 2.4.12
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/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +2 -3
- package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +2 -3
- package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +2 -3
- package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +2 -3
- package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +2 -3
- package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +2 -3
- package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts +2 -3
- package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +2 -3
- package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +2 -3
- package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +2 -3
- package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +2 -3
- package/lib/services/authenticator.service.d.ts +9 -6
- package/package.json +2 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="amazon-cognito-identity-js" />
|
|
2
1
|
import { AfterContentInit, ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
3
2
|
import { AuthenticatorMachineOptions, SocialProvider } from '@aws-amplify/ui';
|
|
4
3
|
import { CustomComponentsService } from '../../../../services/custom-components.service';
|
|
@@ -53,7 +52,7 @@ export declare class AuthenticatorComponent implements OnInit, AfterContentInit,
|
|
|
53
52
|
validationErrors: {
|
|
54
53
|
[x: string]: string | string[];
|
|
55
54
|
};
|
|
56
|
-
codeDeliveryDetails: import("
|
|
55
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
57
56
|
};
|
|
58
57
|
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
59
58
|
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
@@ -74,7 +73,7 @@ export declare class AuthenticatorComponent implements OnInit, AfterContentInit,
|
|
|
74
73
|
validationErrors: {
|
|
75
74
|
[x: string]: string | string[];
|
|
76
75
|
};
|
|
77
|
-
codeDeliveryDetails: import("
|
|
76
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
78
77
|
};
|
|
79
78
|
get route(): string;
|
|
80
79
|
onTabChange(): void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="amazon-cognito-identity-js" />
|
|
2
1
|
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
3
2
|
import { FormFieldsArray } from '@aws-amplify/ui';
|
|
4
3
|
export declare class ConfirmResetPasswordComponent {
|
|
@@ -36,7 +35,7 @@ export declare class ConfirmResetPasswordComponent {
|
|
|
36
35
|
validationErrors: {
|
|
37
36
|
[x: string]: string | string[];
|
|
38
37
|
};
|
|
39
|
-
codeDeliveryDetails: import("
|
|
38
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
40
39
|
};
|
|
41
40
|
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
42
41
|
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
@@ -57,7 +56,7 @@ export declare class ConfirmResetPasswordComponent {
|
|
|
57
56
|
validationErrors: {
|
|
58
57
|
[x: string]: string | string[];
|
|
59
58
|
};
|
|
60
|
-
codeDeliveryDetails: import("
|
|
59
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
61
60
|
};
|
|
62
61
|
onInput(event: Event): void;
|
|
63
62
|
onSubmit(event: Event): void;
|
package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="amazon-cognito-identity-js" />
|
|
2
1
|
import { OnInit } from '@angular/core';
|
|
3
2
|
import { FormFieldsArray } from '@aws-amplify/ui';
|
|
4
3
|
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
@@ -32,7 +31,7 @@ export declare class ConfirmSignInComponent implements OnInit {
|
|
|
32
31
|
validationErrors: {
|
|
33
32
|
[x: string]: string | string[];
|
|
34
33
|
};
|
|
35
|
-
codeDeliveryDetails: import("
|
|
34
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
36
35
|
};
|
|
37
36
|
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
38
37
|
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
@@ -53,7 +52,7 @@ export declare class ConfirmSignInComponent implements OnInit {
|
|
|
53
52
|
validationErrors: {
|
|
54
53
|
[x: string]: string | string[];
|
|
55
54
|
};
|
|
56
|
-
codeDeliveryDetails: import("
|
|
55
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
57
56
|
};
|
|
58
57
|
setHeaderText(): void;
|
|
59
58
|
onInput(event: Event): void;
|
package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="amazon-cognito-identity-js" />
|
|
2
1
|
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
3
2
|
import { FormFieldsArray } from '@aws-amplify/ui';
|
|
4
3
|
export declare class ConfirmSignUpComponent {
|
|
@@ -34,7 +33,7 @@ export declare class ConfirmSignUpComponent {
|
|
|
34
33
|
validationErrors: {
|
|
35
34
|
[x: string]: string | string[];
|
|
36
35
|
};
|
|
37
|
-
codeDeliveryDetails: import("
|
|
36
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
38
37
|
};
|
|
39
38
|
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
40
39
|
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
@@ -55,7 +54,7 @@ export declare class ConfirmSignUpComponent {
|
|
|
55
54
|
validationErrors: {
|
|
56
55
|
[x: string]: string | string[];
|
|
57
56
|
};
|
|
58
|
-
codeDeliveryDetails: import("
|
|
57
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
59
58
|
};
|
|
60
59
|
get confirmSignUpHeading(): string;
|
|
61
60
|
get subtitleText(): string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="amazon-cognito-identity-js" />
|
|
2
1
|
import { FormFieldsArray } from '@aws-amplify/ui';
|
|
3
2
|
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
4
3
|
export declare class ConfirmVerifyUserComponent {
|
|
@@ -30,7 +29,7 @@ export declare class ConfirmVerifyUserComponent {
|
|
|
30
29
|
validationErrors: {
|
|
31
30
|
[x: string]: string | string[];
|
|
32
31
|
};
|
|
33
|
-
codeDeliveryDetails: import("
|
|
32
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
34
33
|
};
|
|
35
34
|
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
36
35
|
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
@@ -51,7 +50,7 @@ export declare class ConfirmVerifyUserComponent {
|
|
|
51
50
|
validationErrors: {
|
|
52
51
|
[x: string]: string | string[];
|
|
53
52
|
};
|
|
54
|
-
codeDeliveryDetails: import("
|
|
53
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
55
54
|
};
|
|
56
55
|
onInput(event: Event): void;
|
|
57
56
|
onSubmit(event: Event): void;
|
package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="amazon-cognito-identity-js" />
|
|
2
1
|
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
3
2
|
export declare class ForceNewPasswordComponent {
|
|
4
3
|
authenticator: AuthenticatorService;
|
|
@@ -28,7 +27,7 @@ export declare class ForceNewPasswordComponent {
|
|
|
28
27
|
validationErrors: {
|
|
29
28
|
[x: string]: string | string[];
|
|
30
29
|
};
|
|
31
|
-
codeDeliveryDetails: import("
|
|
30
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
32
31
|
};
|
|
33
32
|
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
34
33
|
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
@@ -49,7 +48,7 @@ export declare class ForceNewPasswordComponent {
|
|
|
49
48
|
validationErrors: {
|
|
50
49
|
[x: string]: string | string[];
|
|
51
50
|
};
|
|
52
|
-
codeDeliveryDetails: import("
|
|
51
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
53
52
|
};
|
|
54
53
|
onInput(event: Event): void;
|
|
55
54
|
onSubmit(event: Event): void;
|
package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="amazon-cognito-identity-js" />
|
|
2
1
|
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
3
2
|
import { FormFieldsArray } from '@aws-amplify/ui';
|
|
4
3
|
export declare class ResetPasswordComponent {
|
|
@@ -30,7 +29,7 @@ export declare class ResetPasswordComponent {
|
|
|
30
29
|
validationErrors: {
|
|
31
30
|
[x: string]: string | string[];
|
|
32
31
|
};
|
|
33
|
-
codeDeliveryDetails: import("
|
|
32
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
34
33
|
};
|
|
35
34
|
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
36
35
|
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
@@ -51,7 +50,7 @@ export declare class ResetPasswordComponent {
|
|
|
51
50
|
validationErrors: {
|
|
52
51
|
[x: string]: string | string[];
|
|
53
52
|
};
|
|
54
|
-
codeDeliveryDetails: import("
|
|
53
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
55
54
|
};
|
|
56
55
|
onInput(event: Event): void;
|
|
57
56
|
onSubmit(event: Event): void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="amazon-cognito-identity-js" />
|
|
2
1
|
import { OnInit } from '@angular/core';
|
|
3
2
|
import { FormFields, FormFieldsArray } from '@aws-amplify/ui';
|
|
4
3
|
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
@@ -36,7 +35,7 @@ export declare class SetupTotpComponent implements OnInit {
|
|
|
36
35
|
validationErrors: {
|
|
37
36
|
[x: string]: string | string[];
|
|
38
37
|
};
|
|
39
|
-
codeDeliveryDetails: import("
|
|
38
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
40
39
|
};
|
|
41
40
|
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
42
41
|
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
@@ -57,7 +56,7 @@ export declare class SetupTotpComponent implements OnInit {
|
|
|
57
56
|
validationErrors: {
|
|
58
57
|
[x: string]: string | string[];
|
|
59
58
|
};
|
|
60
|
-
codeDeliveryDetails: import("
|
|
59
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
61
60
|
};
|
|
62
61
|
generateQRCode(): Promise<void>;
|
|
63
62
|
onInput(event: Event): void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="amazon-cognito-identity-js" />
|
|
2
1
|
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
3
2
|
import { FormFieldsArray } from '@aws-amplify/ui';
|
|
4
3
|
export declare class SignInComponent {
|
|
@@ -29,7 +28,7 @@ export declare class SignInComponent {
|
|
|
29
28
|
validationErrors: {
|
|
30
29
|
[x: string]: string | string[];
|
|
31
30
|
};
|
|
32
|
-
codeDeliveryDetails: import("
|
|
31
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
33
32
|
};
|
|
34
33
|
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
35
34
|
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
@@ -50,7 +49,7 @@ export declare class SignInComponent {
|
|
|
50
49
|
validationErrors: {
|
|
51
50
|
[x: string]: string | string[];
|
|
52
51
|
};
|
|
53
|
-
codeDeliveryDetails: import("
|
|
52
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
54
53
|
};
|
|
55
54
|
onInput(event: Event): void;
|
|
56
55
|
onSubmit(event: Event): void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="amazon-cognito-identity-js" />
|
|
2
1
|
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
3
2
|
export declare class SignUpComponent {
|
|
4
3
|
authenticator: AuthenticatorService;
|
|
@@ -26,7 +25,7 @@ export declare class SignUpComponent {
|
|
|
26
25
|
validationErrors: {
|
|
27
26
|
[x: string]: string | string[];
|
|
28
27
|
};
|
|
29
|
-
codeDeliveryDetails: import("
|
|
28
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
30
29
|
};
|
|
31
30
|
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
32
31
|
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
@@ -47,7 +46,7 @@ export declare class SignUpComponent {
|
|
|
47
46
|
validationErrors: {
|
|
48
47
|
[x: string]: string | string[];
|
|
49
48
|
};
|
|
50
|
-
codeDeliveryDetails: import("
|
|
49
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
51
50
|
};
|
|
52
51
|
onInput(event: Event): void;
|
|
53
52
|
onSubmit(event: Event): void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="amazon-cognito-identity-js" />
|
|
2
1
|
import { OnInit } from '@angular/core';
|
|
3
2
|
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
4
3
|
export declare class VerifyUserComponent implements OnInit {
|
|
@@ -32,7 +31,7 @@ export declare class VerifyUserComponent implements OnInit {
|
|
|
32
31
|
validationErrors: {
|
|
33
32
|
[x: string]: string | string[];
|
|
34
33
|
};
|
|
35
|
-
codeDeliveryDetails: import("
|
|
34
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
36
35
|
};
|
|
37
36
|
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
38
37
|
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
@@ -53,7 +52,7 @@ export declare class VerifyUserComponent implements OnInit {
|
|
|
53
52
|
validationErrors: {
|
|
54
53
|
[x: string]: string | string[];
|
|
55
54
|
};
|
|
56
|
-
codeDeliveryDetails: import("
|
|
55
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
57
56
|
};
|
|
58
57
|
getLabelForAttr(authAttr: string): string;
|
|
59
58
|
onInput(event: Event): void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="amazon-cognito-identity-js" />
|
|
2
1
|
import { OnDestroy } from '@angular/core';
|
|
3
2
|
import { AuthContext, AuthEvent, AuthInterpreter, AuthMachineState } from '@aws-amplify/ui';
|
|
4
3
|
import { Event, Subscription } from 'xstate';
|
|
@@ -26,7 +25,7 @@ export declare class AuthenticatorService implements OnDestroy {
|
|
|
26
25
|
get validationErrors(): {
|
|
27
26
|
[x: string]: string | string[];
|
|
28
27
|
};
|
|
29
|
-
get codeDeliveryDetails(): import("
|
|
28
|
+
get codeDeliveryDetails(): import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
30
29
|
/**
|
|
31
30
|
* Service facades
|
|
32
31
|
*/
|
|
@@ -67,14 +66,16 @@ export declare class AuthenticatorService implements OnDestroy {
|
|
|
67
66
|
skipVerification: (data?: Record<string | number | symbol, any>) => void;
|
|
68
67
|
error: string;
|
|
69
68
|
hasValidationErrors: boolean;
|
|
70
|
-
isPending: boolean;
|
|
69
|
+
isPending: boolean; /**
|
|
70
|
+
* Context facades
|
|
71
|
+
*/
|
|
71
72
|
route: string;
|
|
72
73
|
authStatus: string;
|
|
73
74
|
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
74
75
|
validationErrors: {
|
|
75
76
|
[x: string]: string | string[];
|
|
76
77
|
};
|
|
77
|
-
codeDeliveryDetails: import("
|
|
78
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
78
79
|
};
|
|
79
80
|
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
80
81
|
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
@@ -88,14 +89,16 @@ export declare class AuthenticatorService implements OnDestroy {
|
|
|
88
89
|
skipVerification: (data?: Record<string | number | symbol, any>) => void;
|
|
89
90
|
error: string;
|
|
90
91
|
hasValidationErrors: boolean;
|
|
91
|
-
isPending: boolean;
|
|
92
|
+
isPending: boolean; /**
|
|
93
|
+
* Context facades
|
|
94
|
+
*/
|
|
92
95
|
route: string;
|
|
93
96
|
authStatus: string;
|
|
94
97
|
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
95
98
|
validationErrors: {
|
|
96
99
|
[x: string]: string | string[];
|
|
97
100
|
};
|
|
98
|
-
codeDeliveryDetails: import("
|
|
101
|
+
codeDeliveryDetails: import("@aws-amplify/ui").CodeDeliveryDetails;
|
|
99
102
|
};
|
|
100
103
|
/** @deprecated For internal use only */
|
|
101
104
|
subscribe(callback: AuthSubscriptionCallback): Subscription;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-angular",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.12",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@aws-amplify/ui-components": "^1.7.0",
|
|
15
|
-
"@aws-amplify/ui": "3.
|
|
15
|
+
"@aws-amplify/ui": "3.12.0",
|
|
16
16
|
"@stencil/core": "2.8.0",
|
|
17
17
|
"nanoid": "3.1.31",
|
|
18
18
|
"qrcode": "1.5.0",
|