@aws-amplify/ui-angular 2.2.0 → 2.3.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/aws-amplify-ui-angular.metadata.json +1 -1
- package/bundles/aws-amplify-ui-angular.umd.js +21 -11
- 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/confirm-reset-password/amplify-confirm-reset-password.component.js +2 -2
- package/esm2015/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.js +2 -2
- package/esm2015/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.js +2 -2
- package/esm2015/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.js +2 -2
- package/esm2015/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.js +2 -2
- package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password.component.js +2 -2
- package/esm2015/lib/components/authenticator/components/form-field/form-field.component.js +1 -1
- package/esm2015/lib/components/authenticator/components/reset-password/reset-password.component.js +2 -2
- package/esm2015/lib/components/authenticator/components/setup-totp/setup-totp.component.js +2 -2
- package/esm2015/lib/components/authenticator/components/sign-in/sign-in.component.js +2 -2
- package/esm2015/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.js +9 -3
- package/esm2015/lib/components/authenticator/components/verify-user/verify-user.component.js +2 -2
- package/fesm2015/aws-amplify-ui-angular.js +17 -11
- package/fesm2015/aws-amplify-ui-angular.js.map +1 -1
- package/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +2 -2
- package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +4 -4
- package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +4 -4
- package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +4 -4
- package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +4 -4
- package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +4 -4
- package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts +4 -4
- package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +4 -4
- package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +6 -6
- package/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.d.ts +5 -3
- package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +2 -2
- package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +2 -2
- package/lib/services/authenticator.service.d.ts +3 -3
- package/package.json +2 -2
package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/// <reference types="amazon-cognito-identity-js" />
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
4
|
-
import {
|
|
4
|
+
import { FormField } from '@aws-amplify/ui';
|
|
5
5
|
export declare class ForceNewPasswordComponent implements OnInit {
|
|
6
6
|
authenticator: AuthenticatorService;
|
|
7
7
|
dataAttr: string;
|
|
8
8
|
headerText: string;
|
|
9
9
|
changePasswordText: string;
|
|
10
10
|
backToSignInText: string;
|
|
11
|
-
formOverrides:
|
|
11
|
+
formOverrides: FormField;
|
|
12
12
|
constructor(authenticator: AuthenticatorService);
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
get context(): {
|
|
@@ -29,7 +29,7 @@ export declare class ForceNewPasswordComponent implements OnInit {
|
|
|
29
29
|
route: string;
|
|
30
30
|
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
31
31
|
validationErrors: {
|
|
32
|
-
[x: string]: string;
|
|
32
|
+
[x: string]: string | string[];
|
|
33
33
|
};
|
|
34
34
|
codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
35
35
|
};
|
|
@@ -49,7 +49,7 @@ export declare class ForceNewPasswordComponent implements OnInit {
|
|
|
49
49
|
route: string;
|
|
50
50
|
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
51
51
|
validationErrors: {
|
|
52
|
-
[x: string]: string;
|
|
52
|
+
[x: string]: string | string[];
|
|
53
53
|
};
|
|
54
54
|
codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
55
55
|
};
|
package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="amazon-cognito-identity-js" />
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
4
|
-
import {
|
|
4
|
+
import { FormField } from '@aws-amplify/ui';
|
|
5
5
|
export declare class ResetPasswordComponent implements OnInit {
|
|
6
6
|
authenticator: AuthenticatorService;
|
|
7
7
|
dataAttr: string;
|
|
@@ -9,7 +9,7 @@ export declare class ResetPasswordComponent implements OnInit {
|
|
|
9
9
|
sendCodeText: string;
|
|
10
10
|
backToSignInText: string;
|
|
11
11
|
labelText: string;
|
|
12
|
-
formOverrides:
|
|
12
|
+
formOverrides: FormField;
|
|
13
13
|
constructor(authenticator: AuthenticatorService);
|
|
14
14
|
ngOnInit(): void;
|
|
15
15
|
setFormFields(): void;
|
|
@@ -32,7 +32,7 @@ export declare class ResetPasswordComponent implements OnInit {
|
|
|
32
32
|
route: string;
|
|
33
33
|
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
34
34
|
validationErrors: {
|
|
35
|
-
[x: string]: string;
|
|
35
|
+
[x: string]: string | string[];
|
|
36
36
|
};
|
|
37
37
|
codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
38
38
|
};
|
|
@@ -52,7 +52,7 @@ export declare class ResetPasswordComponent implements OnInit {
|
|
|
52
52
|
route: string;
|
|
53
53
|
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
54
54
|
validationErrors: {
|
|
55
|
-
[x: string]: string;
|
|
55
|
+
[x: string]: string | string[];
|
|
56
56
|
};
|
|
57
57
|
codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
58
58
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="amazon-cognito-identity-js" />
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { FormField } from '@aws-amplify/ui';
|
|
4
4
|
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
5
5
|
export declare class SetupTotpComponent implements OnInit {
|
|
6
6
|
authenticator: AuthenticatorService;
|
|
@@ -11,7 +11,7 @@ export declare class SetupTotpComponent implements OnInit {
|
|
|
11
11
|
copyTextLabel: string;
|
|
12
12
|
backToSignInText: string;
|
|
13
13
|
confirmText: string;
|
|
14
|
-
formOverrides:
|
|
14
|
+
formOverrides: FormField;
|
|
15
15
|
constructor(authenticator: AuthenticatorService);
|
|
16
16
|
ngOnInit(): void;
|
|
17
17
|
setFormFields(): void;
|
|
@@ -34,7 +34,7 @@ export declare class SetupTotpComponent implements OnInit {
|
|
|
34
34
|
route: string;
|
|
35
35
|
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
36
36
|
validationErrors: {
|
|
37
|
-
[x: string]: string;
|
|
37
|
+
[x: string]: string | string[];
|
|
38
38
|
};
|
|
39
39
|
codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
40
40
|
};
|
|
@@ -54,7 +54,7 @@ export declare class SetupTotpComponent implements OnInit {
|
|
|
54
54
|
route: string;
|
|
55
55
|
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
56
56
|
validationErrors: {
|
|
57
|
-
[x: string]: string;
|
|
57
|
+
[x: string]: string | string[];
|
|
58
58
|
};
|
|
59
59
|
codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
60
60
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/// <reference types="amazon-cognito-identity-js" />
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
4
|
-
import {
|
|
4
|
+
import { FormFieldOptions, FormField } from '@aws-amplify/ui';
|
|
5
5
|
export declare class SignInComponent implements OnInit {
|
|
6
6
|
authenticator: AuthenticatorService;
|
|
7
7
|
dataAttr: string;
|
|
8
8
|
forgotPasswordText: string;
|
|
9
9
|
signInButtonText: string;
|
|
10
|
-
userOverrides:
|
|
11
|
-
passwordOR:
|
|
12
|
-
formOverrides:
|
|
10
|
+
userOverrides: FormFieldOptions;
|
|
11
|
+
passwordOR: FormFieldOptions;
|
|
12
|
+
formOverrides: FormField;
|
|
13
13
|
constructor(authenticator: AuthenticatorService);
|
|
14
14
|
ngOnInit(): void;
|
|
15
15
|
setFormFields(): void;
|
|
@@ -33,7 +33,7 @@ export declare class SignInComponent implements OnInit {
|
|
|
33
33
|
route: string;
|
|
34
34
|
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
35
35
|
validationErrors: {
|
|
36
|
-
[x: string]: string;
|
|
36
|
+
[x: string]: string | string[];
|
|
37
37
|
};
|
|
38
38
|
codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
39
39
|
};
|
|
@@ -53,7 +53,7 @@ export declare class SignInComponent implements OnInit {
|
|
|
53
53
|
route: string;
|
|
54
54
|
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
55
55
|
validationErrors: {
|
|
56
|
-
[x: string]: string;
|
|
56
|
+
[x: string]: string | string[];
|
|
57
57
|
};
|
|
58
58
|
codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
59
59
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { AuthenticatorService } from '../../../../../services/authenticator.service';
|
|
3
|
-
import {
|
|
3
|
+
import { FormField, FormFieldOptions, LoginMechanism, SignUpAttribute, CommonFields, translate } from '@aws-amplify/ui';
|
|
4
4
|
export declare class SignUpFormFieldsComponent implements OnInit {
|
|
5
5
|
private authenticator;
|
|
6
6
|
primaryAlias: string;
|
|
@@ -9,10 +9,12 @@ export declare class SignUpFormFieldsComponent implements OnInit {
|
|
|
9
9
|
fieldNamesCombined: Array<SignUpAttribute | CommonFields>;
|
|
10
10
|
loginMechanism: LoginMechanism;
|
|
11
11
|
order: (string | number)[];
|
|
12
|
-
userOverrides:
|
|
13
|
-
formOverrides:
|
|
12
|
+
userOverrides: FormFieldOptions;
|
|
13
|
+
formOverrides: FormField;
|
|
14
|
+
translate: typeof translate;
|
|
14
15
|
constructor(authenticator: AuthenticatorService);
|
|
15
16
|
ngOnInit(): void;
|
|
17
|
+
get errors(): string | string[];
|
|
16
18
|
setFormFields(): void;
|
|
17
19
|
grabField(name: string, field: string, defaultV: any): any;
|
|
18
20
|
}
|
|
@@ -23,7 +23,7 @@ export declare class SignUpComponent {
|
|
|
23
23
|
route: string;
|
|
24
24
|
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
25
25
|
validationErrors: {
|
|
26
|
-
[x: string]: string;
|
|
26
|
+
[x: string]: string | string[];
|
|
27
27
|
};
|
|
28
28
|
codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
29
29
|
};
|
|
@@ -43,7 +43,7 @@ export declare class SignUpComponent {
|
|
|
43
43
|
route: string;
|
|
44
44
|
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
45
45
|
validationErrors: {
|
|
46
|
-
[x: string]: string;
|
|
46
|
+
[x: string]: string | string[];
|
|
47
47
|
};
|
|
48
48
|
codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
49
49
|
};
|
|
@@ -29,7 +29,7 @@ export declare class VerifyUserComponent implements OnInit {
|
|
|
29
29
|
route: string;
|
|
30
30
|
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
31
31
|
validationErrors: {
|
|
32
|
-
[x: string]: string;
|
|
32
|
+
[x: string]: string | string[];
|
|
33
33
|
};
|
|
34
34
|
codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
35
35
|
};
|
|
@@ -49,7 +49,7 @@ export declare class VerifyUserComponent implements OnInit {
|
|
|
49
49
|
route: string;
|
|
50
50
|
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
51
51
|
validationErrors: {
|
|
52
|
-
[x: string]: string;
|
|
52
|
+
[x: string]: string | string[];
|
|
53
53
|
};
|
|
54
54
|
codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
55
55
|
};
|
|
@@ -24,7 +24,7 @@ export declare class AuthenticatorService implements OnDestroy {
|
|
|
24
24
|
get route(): string;
|
|
25
25
|
get user(): import("@aws-amplify/ui").CognitoUserAmplify;
|
|
26
26
|
get validationErrors(): {
|
|
27
|
-
[x: string]: string;
|
|
27
|
+
[x: string]: string | string[];
|
|
28
28
|
};
|
|
29
29
|
get codeDeliveryDetails(): import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
30
30
|
/**
|
|
@@ -71,7 +71,7 @@ export declare class AuthenticatorService implements OnDestroy {
|
|
|
71
71
|
route: string;
|
|
72
72
|
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
73
73
|
validationErrors: {
|
|
74
|
-
[x: string]: string;
|
|
74
|
+
[x: string]: string | string[];
|
|
75
75
|
};
|
|
76
76
|
codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
77
77
|
};
|
|
@@ -91,7 +91,7 @@ export declare class AuthenticatorService implements OnDestroy {
|
|
|
91
91
|
route: string;
|
|
92
92
|
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
93
93
|
validationErrors: {
|
|
94
|
-
[x: string]: string;
|
|
94
|
+
[x: string]: string | string[];
|
|
95
95
|
};
|
|
96
96
|
codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
97
97
|
};
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-angular",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"aws-amplify": "3.x.x || 4.x.x"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@aws-amplify/ui-components": "^1.7.0",
|
|
10
|
-
"@aws-amplify/ui": "3.
|
|
10
|
+
"@aws-amplify/ui": "3.3.0",
|
|
11
11
|
"@stencil/core": "2.8.0",
|
|
12
12
|
"nanoid": "3.1.31",
|
|
13
13
|
"qrcode": "1.5.0",
|