@aws-amplify/ui-angular 2.2.2 → 2.3.2

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.
Files changed (46) hide show
  1. package/aws-amplify-ui-angular.d.ts +24 -24
  2. package/aws-amplify-ui-angular.metadata.json +1 -1
  3. package/bundles/aws-amplify-ui-angular.umd.js +110 -314
  4. package/bundles/aws-amplify-ui-angular.umd.js.map +1 -1
  5. package/bundles/aws-amplify-ui-angular.umd.min.js +1 -1
  6. package/bundles/aws-amplify-ui-angular.umd.min.js.map +1 -1
  7. package/esm2015/aws-amplify-ui-angular.js +25 -25
  8. package/esm2015/lib/common/helpers.js +3 -3
  9. package/esm2015/lib/common/types/auth-types.js +1 -1
  10. package/esm2015/lib/components/authenticator/authenticator.module.js +3 -3
  11. package/esm2015/lib/components/authenticator/components/base-form-fields/base-form-fields.component.js +54 -0
  12. package/esm2015/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.js +3 -15
  13. package/esm2015/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.js +3 -13
  14. package/esm2015/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.js +3 -15
  15. package/esm2015/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.js +3 -15
  16. package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.js +2 -22
  17. package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password.component.js +3 -15
  18. package/esm2015/lib/components/authenticator/components/form-field/form-field.component.js +12 -67
  19. package/esm2015/lib/components/authenticator/components/index.js +2 -2
  20. package/esm2015/lib/components/authenticator/components/reset-password/reset-password.component.js +3 -19
  21. package/esm2015/lib/components/authenticator/components/setup-totp/setup-totp.component.js +3 -13
  22. package/esm2015/lib/components/authenticator/components/sign-in/sign-in.component.js +3 -21
  23. package/esm2015/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.js +2 -44
  24. package/fesm2015/aws-amplify-ui-angular.js +75 -277
  25. package/fesm2015/aws-amplify-ui-angular.js.map +1 -1
  26. package/lib/common/types/auth-types.d.ts +2 -2
  27. package/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +2 -2
  28. package/lib/components/authenticator/components/base-form-fields/base-form-fields.component.d.ts +15 -0
  29. package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +5 -9
  30. package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +4 -6
  31. package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +5 -9
  32. package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +5 -9
  33. package/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.d.ts +1 -7
  34. package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +3 -9
  35. package/lib/components/authenticator/components/form-field/form-field.component.d.ts +5 -29
  36. package/lib/components/authenticator/components/index.d.ts +1 -1
  37. package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts +5 -10
  38. package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +5 -6
  39. package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +5 -12
  40. package/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.d.ts +1 -17
  41. package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +2 -2
  42. package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +2 -2
  43. package/lib/services/authenticator.service.d.ts +3 -3
  44. package/package.json +8 -3
  45. package/esm2015/lib/components/authenticator/components/user-name-alias/user-name-alias.component.js +0 -42
  46. package/lib/components/authenticator/components/user-name-alias/user-name-alias.component.d.ts +0 -21
@@ -1,18 +1,14 @@
1
1
  /// <reference types="amazon-cognito-identity-js" />
2
- import { OnInit } from '@angular/core';
3
- import { FormField } from '@aws-amplify/ui';
2
+ import { FormFieldsArray } from '@aws-amplify/ui';
4
3
  import { AuthenticatorService } from '../../../../services/authenticator.service';
5
- export declare class ConfirmVerifyUserComponent implements OnInit {
4
+ export declare class ConfirmVerifyUserComponent {
6
5
  authenticator: AuthenticatorService;
7
6
  dataAttr: string;
8
7
  headerText: string;
9
8
  skipText: string;
10
9
  submitText: string;
11
- formOverrides: FormField;
10
+ sortedFormFields: FormFieldsArray;
12
11
  constructor(authenticator: AuthenticatorService);
13
- ngOnInit(): void;
14
- setFormFields(): void;
15
- grabField(name: string, field: string, defaultV: any): any;
16
12
  get context(): {
17
13
  $implicit: {
18
14
  resendCode: (data?: Record<string | number | symbol, any>) => void;
@@ -31,7 +27,7 @@ export declare class ConfirmVerifyUserComponent implements OnInit {
31
27
  route: string;
32
28
  user: import("@aws-amplify/ui").CognitoUserAmplify;
33
29
  validationErrors: {
34
- [x: string]: string;
30
+ [x: string]: string | string[];
35
31
  };
36
32
  codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
37
33
  };
@@ -51,7 +47,7 @@ export declare class ConfirmVerifyUserComponent implements OnInit {
51
47
  route: string;
52
48
  user: import("@aws-amplify/ui").CognitoUserAmplify;
53
49
  validationErrors: {
54
- [x: string]: string;
50
+ [x: string]: string | string[];
55
51
  };
56
52
  codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
57
53
  };
@@ -1,8 +1,2 @@
1
- import { OnInit } from '@angular/core';
2
- import { AuthenticatorService } from '../../../../../services/authenticator.service';
3
- export declare class ForceNewPasswordFormFieldsComponent implements OnInit {
4
- private authenticator;
5
- fieldNames: string[];
6
- constructor(authenticator: AuthenticatorService);
7
- ngOnInit(): void;
1
+ export declare class ForceNewPasswordFormFieldsComponent {
8
2
  }
@@ -1,16 +1,12 @@
1
1
  /// <reference types="amazon-cognito-identity-js" />
2
- import { OnInit } from '@angular/core';
3
2
  import { AuthenticatorService } from '../../../../services/authenticator.service';
4
- import { FormField } from '@aws-amplify/ui';
5
- export declare class ForceNewPasswordComponent implements OnInit {
3
+ export declare class ForceNewPasswordComponent {
6
4
  authenticator: AuthenticatorService;
7
5
  dataAttr: string;
8
6
  headerText: string;
9
7
  changePasswordText: string;
10
8
  backToSignInText: string;
11
- formOverrides: FormField;
12
9
  constructor(authenticator: AuthenticatorService);
13
- ngOnInit(): void;
14
10
  get context(): {
15
11
  $implicit: {
16
12
  resendCode: (data?: Record<string | number | symbol, any>) => void;
@@ -29,7 +25,7 @@ export declare class ForceNewPasswordComponent implements OnInit {
29
25
  route: string;
30
26
  user: import("@aws-amplify/ui").CognitoUserAmplify;
31
27
  validationErrors: {
32
- [x: string]: string;
28
+ [x: string]: string | string[];
33
29
  };
34
30
  codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
35
31
  };
@@ -49,12 +45,10 @@ export declare class ForceNewPasswordComponent implements OnInit {
49
45
  route: string;
50
46
  user: import("@aws-amplify/ui").CognitoUserAmplify;
51
47
  validationErrors: {
52
- [x: string]: string;
48
+ [x: string]: string | string[];
53
49
  };
54
50
  codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
55
51
  };
56
- setFormFields(): void;
57
- grabField(name: string, field: string, defaultV: any): any;
58
52
  onInput(event: Event): void;
59
53
  onSubmit(event: Event): void;
60
54
  }
@@ -1,39 +1,15 @@
1
- import { OnInit } from '@angular/core';
2
- import { AuthInputAttributes } from '@aws-amplify/ui';
1
+ import { FormFieldOptions } from '@aws-amplify/ui';
3
2
  import { AuthenticatorService } from '../../../../services/authenticator.service';
4
- /**
5
- * Input interface opinionated for authenticator usage.
6
- *
7
- * TODO: Separate this component out to two parts -- 1) amplify-auth-input that
8
- * contains authenticator opinionated logic and 2) amplify-text-field primitive
9
- * that does not make any auth-related inference.
10
- */
11
- export declare class FormFieldComponent implements OnInit {
3
+ export declare class FormFieldComponent {
12
4
  private authenticator;
13
5
  name: string;
14
- type: string;
15
- required: boolean;
16
- placeholder: string;
17
- label: string;
18
- initialValue: string;
19
- disabled: boolean;
20
- autocomplete: string;
21
- labelHidden: boolean;
22
- defaultCountryCode: string;
23
- dialCodeList: Array<string>;
6
+ formField: FormFieldOptions;
24
7
  defaultCountryCodeValue: string;
25
8
  countryDialCodesValue: string[];
26
- textFieldId: string;
27
- selectFieldId: string;
28
9
  constructor(authenticator: AuthenticatorService);
29
- ngOnInit(): void;
30
- get attributeMap(): AuthInputAttributes;
31
- get error(): string;
10
+ get errors(): string[];
32
11
  onBlur($event: Event): void;
33
- inferLabel(): string;
34
- inferPlaceholder(): string;
35
- inferType(): string;
36
- inferAutocomplete(): string;
37
12
  isPasswordField(): boolean;
38
13
  isPhoneField(): boolean;
14
+ translate(phrase: string): string;
39
15
  }
@@ -12,6 +12,6 @@ export { SetupTotpComponent } from './setup-totp/setup-totp.component';
12
12
  export { SignInComponent } from './sign-in/sign-in.component';
13
13
  export { SignUpComponent } from './sign-up/sign-up.component';
14
14
  export { SignUpFormFieldsComponent } from './sign-up/sign-up-form-fields/sign-up-form-fields.component';
15
- export { UserNameAliasComponent } from './user-name-alias/user-name-alias.component';
16
15
  export { ForceNewPasswordFormFieldsComponent } from './force-new-password/force-new-password-form-fields/force-new-password-form-fields.component';
17
16
  export { VerifyUserComponent } from './verify-user/verify-user.component';
17
+ export { BaseFormFieldsComponent } from './base-form-fields/base-form-fields.component';
@@ -1,19 +1,14 @@
1
1
  /// <reference types="amazon-cognito-identity-js" />
2
- import { OnInit } from '@angular/core';
3
2
  import { AuthenticatorService } from '../../../../services/authenticator.service';
4
- import { FormField } from '@aws-amplify/ui';
5
- export declare class ResetPasswordComponent implements OnInit {
3
+ import { FormFieldsArray } from '@aws-amplify/ui';
4
+ export declare class ResetPasswordComponent {
6
5
  authenticator: AuthenticatorService;
7
6
  dataAttr: string;
8
7
  headerText: string;
9
8
  sendCodeText: string;
10
9
  backToSignInText: string;
11
- labelText: string;
12
- formOverrides: FormField;
10
+ sortedFormFields: FormFieldsArray;
13
11
  constructor(authenticator: AuthenticatorService);
14
- ngOnInit(): void;
15
- setFormFields(): void;
16
- grabField(name: string, field: string, defaultV: any): any;
17
12
  get context(): {
18
13
  $implicit: {
19
14
  resendCode: (data?: Record<string | number | symbol, any>) => void;
@@ -32,7 +27,7 @@ export declare class ResetPasswordComponent implements OnInit {
32
27
  route: string;
33
28
  user: import("@aws-amplify/ui").CognitoUserAmplify;
34
29
  validationErrors: {
35
- [x: string]: string;
30
+ [x: string]: string | string[];
36
31
  };
37
32
  codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
38
33
  };
@@ -52,7 +47,7 @@ export declare class ResetPasswordComponent implements OnInit {
52
47
  route: string;
53
48
  user: import("@aws-amplify/ui").CognitoUserAmplify;
54
49
  validationErrors: {
55
- [x: string]: string;
50
+ [x: string]: string | string[];
56
51
  };
57
52
  codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
58
53
  };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="amazon-cognito-identity-js" />
2
2
  import { OnInit } from '@angular/core';
3
- import { FormField } from '@aws-amplify/ui';
3
+ import { FormFields, FormFieldsArray } 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,11 +11,10 @@ export declare class SetupTotpComponent implements OnInit {
11
11
  copyTextLabel: string;
12
12
  backToSignInText: string;
13
13
  confirmText: string;
14
- formOverrides: FormField;
14
+ sortedFormFields: FormFieldsArray;
15
+ formOverrides: FormFields;
15
16
  constructor(authenticator: AuthenticatorService);
16
17
  ngOnInit(): void;
17
- setFormFields(): void;
18
- grabField(name: string, field: string, defaultV: any): any;
19
18
  get context(): {
20
19
  $implicit: {
21
20
  resendCode: (data?: Record<string | number | symbol, any>) => void;
@@ -34,7 +33,7 @@ export declare class SetupTotpComponent implements OnInit {
34
33
  route: string;
35
34
  user: import("@aws-amplify/ui").CognitoUserAmplify;
36
35
  validationErrors: {
37
- [x: string]: string;
36
+ [x: string]: string | string[];
38
37
  };
39
38
  codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
40
39
  };
@@ -54,7 +53,7 @@ export declare class SetupTotpComponent implements OnInit {
54
53
  route: string;
55
54
  user: import("@aws-amplify/ui").CognitoUserAmplify;
56
55
  validationErrors: {
57
- [x: string]: string;
56
+ [x: string]: string | string[];
58
57
  };
59
58
  codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
60
59
  };
@@ -1,20 +1,13 @@
1
1
  /// <reference types="amazon-cognito-identity-js" />
2
- import { OnInit } from '@angular/core';
3
2
  import { AuthenticatorService } from '../../../../services/authenticator.service';
4
- import { FormFieldOptions, FormField } from '@aws-amplify/ui';
5
- export declare class SignInComponent implements OnInit {
3
+ import { FormFieldsArray } from '@aws-amplify/ui';
4
+ export declare class SignInComponent {
6
5
  authenticator: AuthenticatorService;
7
6
  dataAttr: string;
8
7
  forgotPasswordText: string;
9
8
  signInButtonText: string;
10
- userOverrides: FormFieldOptions;
11
- passwordOR: FormFieldOptions;
12
- formOverrides: FormField;
9
+ sortedFormFields: FormFieldsArray;
13
10
  constructor(authenticator: AuthenticatorService);
14
- ngOnInit(): void;
15
- setFormFields(): void;
16
- labelHidden(name: string, defaultV?: boolean): boolean;
17
- required(name: string, defaultV?: boolean): boolean;
18
11
  get context(): {
19
12
  $implicit: {
20
13
  resendCode: (data?: Record<string | number | symbol, any>) => void;
@@ -33,7 +26,7 @@ export declare class SignInComponent implements OnInit {
33
26
  route: string;
34
27
  user: import("@aws-amplify/ui").CognitoUserAmplify;
35
28
  validationErrors: {
36
- [x: string]: string;
29
+ [x: string]: string | string[];
37
30
  };
38
31
  codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
39
32
  };
@@ -53,7 +46,7 @@ export declare class SignInComponent implements OnInit {
53
46
  route: string;
54
47
  user: import("@aws-amplify/ui").CognitoUserAmplify;
55
48
  validationErrors: {
56
- [x: string]: string;
49
+ [x: string]: string | string[];
57
50
  };
58
51
  codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
59
52
  };
@@ -1,18 +1,2 @@
1
- import { OnInit } from '@angular/core';
2
- import { AuthenticatorService } from '../../../../../services/authenticator.service';
3
- import { FormField, FormFieldOptions, LoginMechanism, SignUpAttribute, CommonFields } from '@aws-amplify/ui';
4
- export declare class SignUpFormFieldsComponent implements OnInit {
5
- private authenticator;
6
- primaryAlias: string;
7
- secondaryAliases: string[];
8
- fieldNames: Array<LoginMechanism | SignUpAttribute>;
9
- fieldNamesCombined: Array<SignUpAttribute | CommonFields>;
10
- loginMechanism: LoginMechanism;
11
- order: (string | number)[];
12
- userOverrides: FormFieldOptions;
13
- formOverrides: FormField;
14
- constructor(authenticator: AuthenticatorService);
15
- ngOnInit(): void;
16
- setFormFields(): void;
17
- grabField(name: string, field: string, defaultV: any): any;
1
+ export declare class SignUpFormFieldsComponent {
18
2
  }
@@ -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,18 +1,23 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui-angular",
3
- "version": "2.2.2",
3
+ "version": "2.3.2",
4
4
  "license": "Apache-2.0",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/aws-amplify/amplify-ui",
8
+ "directory": "packages/angular/projects/ui-angular"
9
+ },
5
10
  "peerDependencies": {
6
11
  "aws-amplify": "3.x.x || 4.x.x"
7
12
  },
8
13
  "dependencies": {
9
14
  "@aws-amplify/ui-components": "^1.7.0",
10
- "@aws-amplify/ui": "3.2.1",
15
+ "@aws-amplify/ui": "3.3.2",
11
16
  "@stencil/core": "2.8.0",
12
17
  "nanoid": "3.1.31",
13
18
  "qrcode": "1.5.0",
14
19
  "tslib": "2.3.1",
15
- "xstate": "4.28.0"
20
+ "xstate": "^4.30.6"
16
21
  },
17
22
  "publishConfig": {
18
23
  "directory": "../../dist/ui-angular"
@@ -1,42 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import { AuthenticatorService } from '../../../../services/authenticator.service';
3
- import { getAliasInfoFromContext } from '@aws-amplify/ui';
4
- export class UserNameAliasComponent {
5
- constructor(authenticator) {
6
- this.authenticator = authenticator;
7
- this.name = 'username';
8
- this.disabled = false;
9
- this.initialValue = '';
10
- this.required = true;
11
- }
12
- ngOnInit() {
13
- var _a, _b, _c;
14
- const context = this.authenticator.context;
15
- const { label: lbl, type } = getAliasInfoFromContext(context);
16
- this.labelValue = (_a = this.label) !== null && _a !== void 0 ? _a : lbl;
17
- this.type = type;
18
- this.placeholderValue = (_b = this.placeholder) !== null && _b !== void 0 ? _b : lbl;
19
- this.requiredValue = (_c = this.required) !== null && _c !== void 0 ? _c : true;
20
- }
21
- }
22
- UserNameAliasComponent.decorators = [
23
- { type: Component, args: [{
24
- selector: 'amplify-user-name-alias',
25
- template: "<amplify-form-field\n data-amplify-usernamealias\n [name]=\"name\"\n [labelHidden]=\"labelHidden\"\n [label]=\"labelValue\"\n [placeholder]=\"placeholderValue\"\n [required]=\"requiredValue\"\n [defaultCountryCode]=\"dialCode\"\n [dialCodeList]=\"dialCodeList\"\n [type]=\"type\"\n [initialValue]=\"initialValue\"\n [disabled]=\"disabled\"\n autocomplete=\"username\"\n>\n</amplify-form-field>\n"
26
- },] }
27
- ];
28
- UserNameAliasComponent.ctorParameters = () => [
29
- { type: AuthenticatorService }
30
- ];
31
- UserNameAliasComponent.propDecorators = {
32
- name: [{ type: Input }],
33
- disabled: [{ type: Input }],
34
- initialValue: [{ type: Input }],
35
- required: [{ type: Input }],
36
- labelHidden: [{ type: Input }],
37
- label: [{ type: Input }],
38
- placeholder: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xuICB9XG59XG4iXX0=
@@ -1,21 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { AuthenticatorService } from '../../../../services/authenticator.service';
3
- export declare class UserNameAliasComponent implements OnInit {
4
- private authenticator;
5
- name: string;
6
- disabled: boolean;
7
- initialValue: string;
8
- required: boolean;
9
- labelHidden: boolean;
10
- label: string;
11
- placeholder: string;
12
- dialCode: string;
13
- dialCodeList: Array<string>;
14
- labelValue: string;
15
- type: string;
16
- error: string;
17
- placeholderValue: string;
18
- requiredValue: boolean;
19
- constructor(authenticator: AuthenticatorService);
20
- ngOnInit(): void;
21
- }