@aws-amplify/ui-angular 2.4.9 → 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/aws-amplify-ui-angular.metadata.json +1 -1
- package/bundles/aws-amplify-ui-angular.umd.js +26 -8
- package/bundles/aws-amplify-ui-angular.umd.js.map +1 -1
- package/bundles/aws-amplify-ui-angular.umd.min.js +1 -1
- package/bundles/aws-amplify-ui-angular.umd.min.js.map +1 -1
- package/esm2015/lib/components/authenticator/components/form-field/form-field.component.js +11 -2
- package/esm2015/lib/primitives/password-field/password-field.component.js +4 -2
- package/esm2015/lib/primitives/phone-number-field/phone-number-field.component.js +4 -2
- package/esm2015/lib/primitives/text-field/text-field.component.js +4 -2
- package/fesm2015/aws-amplify-ui-angular.js +19 -5
- package/fesm2015/aws-amplify-ui-angular.js.map +1 -1
- 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/form-field/form-field.component.d.ts +3 -0
- 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/primitives/password-field/password-field.component.d.ts +2 -0
- package/lib/primitives/phone-number-field/phone-number-field.component.d.ts +2 -0
- package/lib/primitives/text-field/text-field.component.d.ts +2 -0
- package/lib/services/authenticator.service.d.ts +9 -6
- package/package.json +2 -2
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;
|
|
@@ -13,6 +13,8 @@ export declare class PhoneNumberFieldComponent implements OnInit {
|
|
|
13
13
|
type: string;
|
|
14
14
|
labelHidden: boolean;
|
|
15
15
|
dialCodeList: Array<string>;
|
|
16
|
+
hasError: boolean;
|
|
17
|
+
describedBy: string;
|
|
16
18
|
display: string;
|
|
17
19
|
countryDialCodesValues: Array<string>;
|
|
18
20
|
ngOnInit(): 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",
|