@aws-amplify/ui-angular 0.0.0-next-poc-202198192630
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.d.ts +28 -0
- package/aws-amplify-ui-angular.metadata.json +1 -0
- package/bundles/aws-amplify-ui-angular.umd.js +3818 -0
- package/bundles/aws-amplify-ui-angular.umd.js.map +1 -0
- package/bundles/aws-amplify-ui-angular.umd.min.js +2 -0
- package/bundles/aws-amplify-ui-angular.umd.min.js.map +1 -0
- package/esm2015/aws-amplify-ui-angular.js +29 -0
- package/esm2015/index.js +12 -0
- package/esm2015/lib/common/helpers.js +3 -0
- package/esm2015/lib/common/index.js +3 -0
- package/esm2015/lib/common/types/auth-types.js +2 -0
- package/esm2015/lib/common/types/component-types.js +2 -0
- package/esm2015/lib/common/types/index.js +3 -0
- package/esm2015/lib/components/amplify-authenticator/amplify-authenticator.component.js +85 -0
- package/esm2015/lib/components/amplify-confirm-sign-in/amplify-confirm-sign-in.component.js +91 -0
- package/esm2015/lib/components/amplify-confirm-sign-up/amplify-confirm-sign-up.component.js +83 -0
- package/esm2015/lib/components/amplify-federated-sign-in/amplify-federated-sign-in.component.js +37 -0
- package/esm2015/lib/components/amplify-federated-sign-in-button/amplify-federated-sign-in-button.component.js +27 -0
- package/esm2015/lib/components/amplify-force-new-password/amplify-force-new-password.component.js +83 -0
- package/esm2015/lib/components/amplify-reset-password/amplify-reset-password.component.js +68 -0
- package/esm2015/lib/components/amplify-setup-totp/amplify-setup-totp.component.js +100 -0
- package/esm2015/lib/components/amplify-sign-in/amplify-sign-in.component.js +78 -0
- package/esm2015/lib/components/amplify-sign-up/amplify-sign-up.component.js +97 -0
- package/esm2015/lib/components/amplify-verify-user/amplify-verify-user.component.js +78 -0
- package/esm2015/lib/components/confirm-reset-password/amplify-confirm-reset-password.component.js +76 -0
- package/esm2015/lib/components/confirm-verify-user/amplify-confirm-verify-user.component.js +66 -0
- package/esm2015/lib/components/index.js +14 -0
- package/esm2015/lib/directives/amplify-slot.directive.js +21 -0
- package/esm2015/lib/primitives/amplify-button/amplify-button.component.js +38 -0
- package/esm2015/lib/primitives/amplify-error/amplify-error.component.js +10 -0
- package/esm2015/lib/primitives/amplify-form-field/amplify-form-field.component.js +91 -0
- package/esm2015/lib/primitives/amplify-password-field/amplify-password-field.component.js +39 -0
- package/esm2015/lib/primitives/amplify-select/amplify-select.component.js +17 -0
- package/esm2015/lib/primitives/amplify-text-field/amplify-text-field.component.js +29 -0
- package/esm2015/lib/primitives/amplify-user-name-alias/amplify-user-name-alias.component.js +35 -0
- package/esm2015/lib/primitives/index.js +3 -0
- package/esm2015/lib/primitives/phone-number-field/phone-number-field.component.js +33 -0
- package/esm2015/lib/primitives/tab-item/tab-item.component.js +20 -0
- package/esm2015/lib/primitives/tabs/tabs.component.js +45 -0
- package/esm2015/lib/proxies.js +1839 -0
- package/esm2015/lib/services/authenticator-context.service.js +28 -0
- package/esm2015/lib/services/state-machine.service.js +51 -0
- package/esm2015/lib/ui-angular.module.js +103 -0
- package/fesm2015/aws-amplify-ui-angular.js +3209 -0
- package/fesm2015/aws-amplify-ui-angular.js.map +1 -0
- package/index.d.ts +8 -0
- package/lib/common/helpers.d.ts +2 -0
- package/lib/common/index.d.ts +2 -0
- package/lib/common/types/auth-types.d.ts +6 -0
- package/lib/common/types/component-types.d.ts +23 -0
- package/lib/common/types/index.d.ts +2 -0
- package/lib/components/amplify-authenticator/amplify-authenticator.component.d.ts +35 -0
- package/lib/components/amplify-confirm-sign-in/amplify-confirm-sign-in.component.d.ts +31 -0
- package/lib/components/amplify-confirm-sign-up/amplify-confirm-sign-up.component.d.ts +34 -0
- package/lib/components/amplify-federated-sign-in/amplify-federated-sign-in.component.d.ts +16 -0
- package/lib/components/amplify-federated-sign-in-button/amplify-federated-sign-in-button.component.d.ts +9 -0
- package/lib/components/amplify-force-new-password/amplify-force-new-password.component.d.ts +31 -0
- package/lib/components/amplify-reset-password/amplify-reset-password.component.d.ts +30 -0
- package/lib/components/amplify-setup-totp/amplify-setup-totp.component.d.ts +31 -0
- package/lib/components/amplify-sign-in/amplify-sign-in.component.d.ts +32 -0
- package/lib/components/amplify-sign-up/amplify-sign-up.component.d.ts +32 -0
- package/lib/components/amplify-verify-user/amplify-verify-user.component.d.ts +32 -0
- package/lib/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +34 -0
- package/lib/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +28 -0
- package/lib/components/index.d.ts +13 -0
- package/lib/directives/amplify-slot.directive.d.ts +7 -0
- package/lib/primitives/amplify-button/amplify-button.component.d.ts +15 -0
- package/lib/primitives/amplify-error/amplify-error.component.d.ts +2 -0
- package/lib/primitives/amplify-form-field/amplify-form-field.component.d.ts +34 -0
- package/lib/primitives/amplify-password-field/amplify-password-field.component.d.ts +14 -0
- package/lib/primitives/amplify-select/amplify-select.component.d.ts +7 -0
- package/lib/primitives/amplify-text-field/amplify-text-field.component.d.ts +11 -0
- package/lib/primitives/amplify-user-name-alias/amplify-user-name-alias.component.d.ts +15 -0
- package/lib/primitives/index.d.ts +2 -0
- package/lib/primitives/phone-number-field/phone-number-field.component.d.ts +14 -0
- package/lib/primitives/tab-item/tab-item.component.d.ts +7 -0
- package/lib/primitives/tabs/tabs.component.d.ts +9 -0
- package/lib/proxies.d.ts +395 -0
- package/lib/services/authenticator-context.service.d.ts +10 -0
- package/lib/services/state-machine.service.d.ts +29 -0
- package/lib/ui-angular.module.d.ts +2 -0
- package/package.json +29 -0
- package/styles/component.css +169 -0
- package/theme.css +2 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AfterContentInit, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { AuthMachineState } from '@aws-amplify/ui';
|
|
3
|
+
import { AuthPropService } from '../../services/authenticator-context.service';
|
|
4
|
+
import { StateMachineService } from '../../services/state-machine.service';
|
|
5
|
+
export declare class AmplifyResetPasswordComponent implements OnInit, AfterContentInit, OnDestroy {
|
|
6
|
+
private stateMachine;
|
|
7
|
+
private contextService;
|
|
8
|
+
dataAttr: string;
|
|
9
|
+
headerText: string;
|
|
10
|
+
customComponents: Record<string, TemplateRef<any>>;
|
|
11
|
+
remoteError: string;
|
|
12
|
+
isPending: boolean;
|
|
13
|
+
private authSubscription;
|
|
14
|
+
sendCodeText: string;
|
|
15
|
+
backToSignInText: string;
|
|
16
|
+
constructor(stateMachine: StateMachineService, contextService: AuthPropService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngAfterContentInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
onStateUpdate(state: AuthMachineState): void;
|
|
21
|
+
get context(): {
|
|
22
|
+
change: (data?: Record<string | number | symbol, any>) => void;
|
|
23
|
+
remoteError: string;
|
|
24
|
+
signIn: (data?: Record<string | number | symbol, any>) => void;
|
|
25
|
+
submit: (data?: Record<string | number | symbol, any>) => void;
|
|
26
|
+
};
|
|
27
|
+
toSignIn(): void;
|
|
28
|
+
onInput(event: Event): void;
|
|
29
|
+
onSubmit(event: Event): void;
|
|
30
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AfterContentInit, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { AuthMachineState } from '@aws-amplify/ui';
|
|
3
|
+
import { StateMachineService } from '../../services/state-machine.service';
|
|
4
|
+
import { AuthPropService } from '../../services/authenticator-context.service';
|
|
5
|
+
export declare class AmplifySetupTotpComponent implements OnInit, AfterContentInit, OnDestroy {
|
|
6
|
+
private stateMachine;
|
|
7
|
+
private contextService;
|
|
8
|
+
customComponents: Record<string, TemplateRef<any>>;
|
|
9
|
+
remoteError: string;
|
|
10
|
+
isPending: boolean;
|
|
11
|
+
headerText: string;
|
|
12
|
+
qrCodeSource: string;
|
|
13
|
+
private authSubscription;
|
|
14
|
+
backToSignInText: string;
|
|
15
|
+
confirmText: string;
|
|
16
|
+
constructor(stateMachine: StateMachineService, contextService: AuthPropService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngAfterContentInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
onStateUpdate(state: AuthMachineState): void;
|
|
21
|
+
get context(): {
|
|
22
|
+
change: (data?: Record<string | number | symbol, any>) => void;
|
|
23
|
+
remoteError: string;
|
|
24
|
+
submit: (data?: Record<string | number | symbol, any>) => void;
|
|
25
|
+
user: Record<string, any>;
|
|
26
|
+
};
|
|
27
|
+
generateQRCode(): Promise<void>;
|
|
28
|
+
onInput(event: Event): void;
|
|
29
|
+
onSubmit(event: Event): void;
|
|
30
|
+
toSignIn(): void;
|
|
31
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { AfterContentInit, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { StateMachineService } from '../../services/state-machine.service';
|
|
3
|
+
import { AuthPropService } from '../../services/authenticator-context.service';
|
|
4
|
+
import { AuthMachineState } from '@aws-amplify/ui';
|
|
5
|
+
export declare class AmplifySignInComponent implements AfterContentInit, OnInit, OnDestroy {
|
|
6
|
+
private stateMachine;
|
|
7
|
+
private contextService;
|
|
8
|
+
dataAttr: string;
|
|
9
|
+
headerText: string;
|
|
10
|
+
customComponents: Record<string, TemplateRef<any>>;
|
|
11
|
+
remoteError: string;
|
|
12
|
+
isPending: boolean;
|
|
13
|
+
forgotPasswordText: string;
|
|
14
|
+
signInButtonText: string;
|
|
15
|
+
noAccountText: string;
|
|
16
|
+
private authSubscription;
|
|
17
|
+
constructor(stateMachine: StateMachineService, contextService: AuthPropService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngAfterContentInit(): void;
|
|
20
|
+
ngOnDestroy(): void;
|
|
21
|
+
onStateUpdate(state: AuthMachineState): void;
|
|
22
|
+
get context(): {
|
|
23
|
+
change: (data?: Record<string | number | symbol, any>) => void;
|
|
24
|
+
remoteError: string;
|
|
25
|
+
resetPassword: (data?: Record<string | number | symbol, any>) => void;
|
|
26
|
+
signUp: (data?: Record<string | number | symbol, any>) => void;
|
|
27
|
+
submit: (data?: Record<string | number | symbol, any>) => void;
|
|
28
|
+
};
|
|
29
|
+
toResetPassword(): void;
|
|
30
|
+
onInput(event: Event): void;
|
|
31
|
+
onSubmit(event: Event): Promise<void>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { AfterContentInit, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { StateMachineService } from '../../services/state-machine.service';
|
|
3
|
+
import { AuthPropService } from '../../services/authenticator-context.service';
|
|
4
|
+
import { ValidationError } from '@aws-amplify/ui';
|
|
5
|
+
export declare class AmplifySignUpComponent implements AfterContentInit, OnInit, OnDestroy {
|
|
6
|
+
private stateMachine;
|
|
7
|
+
private contextService;
|
|
8
|
+
dataAttr: string;
|
|
9
|
+
headerText: string;
|
|
10
|
+
customComponents: Record<string, TemplateRef<any>>;
|
|
11
|
+
remoteError: string;
|
|
12
|
+
isPending: boolean;
|
|
13
|
+
primaryAlias: string;
|
|
14
|
+
secondaryAliases: string[];
|
|
15
|
+
validationError: ValidationError;
|
|
16
|
+
private authSubscription;
|
|
17
|
+
createAccountText: string;
|
|
18
|
+
constructor(stateMachine: StateMachineService, contextService: AuthPropService);
|
|
19
|
+
get context(): {
|
|
20
|
+
change: (data?: Record<string | number | symbol, any>) => void;
|
|
21
|
+
remoteError: string;
|
|
22
|
+
signIn: (data?: Record<string | number | symbol, any>) => void;
|
|
23
|
+
submit: (data?: Record<string | number | symbol, any>) => void;
|
|
24
|
+
validationError: Record<string, string>;
|
|
25
|
+
};
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
ngAfterContentInit(): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
private onStateUpdate;
|
|
30
|
+
onSubmit($event: any): Promise<void>;
|
|
31
|
+
onInput(event: Event): void;
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { AfterContentInit, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { AuthMachineState } from '@aws-amplify/ui';
|
|
3
|
+
import { StateMachineService } from '../../services/state-machine.service';
|
|
4
|
+
import { AuthPropService } from '../../services/authenticator-context.service';
|
|
5
|
+
export declare class AmplifyVerifyUserComponent implements AfterContentInit, OnInit, OnDestroy {
|
|
6
|
+
private stateMachine;
|
|
7
|
+
private contextService;
|
|
8
|
+
dataAttr: string;
|
|
9
|
+
headerText: string;
|
|
10
|
+
customComponents: Record<string, TemplateRef<any>>;
|
|
11
|
+
unverifiedAttributes: {};
|
|
12
|
+
remoteError: string;
|
|
13
|
+
isPending: boolean;
|
|
14
|
+
labelId: string;
|
|
15
|
+
private authSubscription;
|
|
16
|
+
skipText: string;
|
|
17
|
+
verifyText: string;
|
|
18
|
+
constructor(stateMachine: StateMachineService, contextService: AuthPropService);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
ngAfterContentInit(): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
onStateUpdate(state: AuthMachineState): void;
|
|
23
|
+
get context(): {
|
|
24
|
+
change: (data?: Record<string | number | symbol, any>) => void;
|
|
25
|
+
remoteError: string;
|
|
26
|
+
skip: (data?: Record<string | number | symbol, any>) => void;
|
|
27
|
+
submit: (data?: Record<string | number | symbol, any>) => void;
|
|
28
|
+
};
|
|
29
|
+
skipVerify(): void;
|
|
30
|
+
getLabelForAttr(authAttr: string): string;
|
|
31
|
+
onSubmit(event: Event): Promise<void>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AfterContentInit, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { AuthMachineState } from '@aws-amplify/ui';
|
|
3
|
+
import { AuthPropService } from '../../services/authenticator-context.service';
|
|
4
|
+
import { StateMachineService } from '../../services/state-machine.service';
|
|
5
|
+
export declare class ConfirmResetPasswordComponent implements OnInit, AfterContentInit, OnDestroy {
|
|
6
|
+
private stateMachine;
|
|
7
|
+
private contextService;
|
|
8
|
+
dataAttr: string;
|
|
9
|
+
headerText: string;
|
|
10
|
+
customComponents: Record<string, TemplateRef<any>>;
|
|
11
|
+
remoteError: string;
|
|
12
|
+
isPending: boolean;
|
|
13
|
+
private authSubscription;
|
|
14
|
+
sendCodeText: string;
|
|
15
|
+
backToSignInText: string;
|
|
16
|
+
lostCodeText: string;
|
|
17
|
+
resendCodeText: string;
|
|
18
|
+
constructor(stateMachine: StateMachineService, contextService: AuthPropService);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
ngAfterContentInit(): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
onStateUpdate(state: AuthMachineState): void;
|
|
23
|
+
get context(): {
|
|
24
|
+
change: (data?: Record<string | number | symbol, any>) => void;
|
|
25
|
+
resend: (data?: Record<string | number | symbol, any>) => void;
|
|
26
|
+
remoteError: string;
|
|
27
|
+
signIn: (data?: Record<string | number | symbol, any>) => void;
|
|
28
|
+
submit: (data?: Record<string | number | symbol, any>) => void;
|
|
29
|
+
};
|
|
30
|
+
toSignIn(): void;
|
|
31
|
+
resend(): void;
|
|
32
|
+
onInput(event: Event): void;
|
|
33
|
+
onSubmit(event: Event): Promise<void>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AfterContentInit, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { AuthMachineState } from '@aws-amplify/ui';
|
|
3
|
+
import { AuthPropService } from '../../services/authenticator-context.service';
|
|
4
|
+
import { StateMachineService } from '../../services/state-machine.service';
|
|
5
|
+
export declare class ConfirmVerifyUserComponent implements OnInit, AfterContentInit, OnDestroy {
|
|
6
|
+
private stateMachine;
|
|
7
|
+
private contextService;
|
|
8
|
+
dataAttr: string;
|
|
9
|
+
headerText: string;
|
|
10
|
+
customComponents: Record<string, TemplateRef<any>>;
|
|
11
|
+
remoteError: string;
|
|
12
|
+
isPending: boolean;
|
|
13
|
+
private authSubscription;
|
|
14
|
+
skipText: string;
|
|
15
|
+
submitText: string;
|
|
16
|
+
constructor(stateMachine: StateMachineService, contextService: AuthPropService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngAfterContentInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
onStateUpdate(state: AuthMachineState): void;
|
|
21
|
+
get context(): {
|
|
22
|
+
remoteError: string;
|
|
23
|
+
skip: (data?: Record<string | number | symbol, any>) => void;
|
|
24
|
+
submit: (data?: Record<string | number | symbol, any>) => void;
|
|
25
|
+
};
|
|
26
|
+
skipVerify(): void;
|
|
27
|
+
onSubmit(event: Event): Promise<void>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { AmplifyAuthenticatorComponent } from './amplify-authenticator/amplify-authenticator.component';
|
|
2
|
+
export { AmplifyConfirmSignInComponent } from './amplify-confirm-sign-in/amplify-confirm-sign-in.component';
|
|
3
|
+
export { AmplifyConfirmSignUpComponent } from './amplify-confirm-sign-up/amplify-confirm-sign-up.component';
|
|
4
|
+
export { AmplifyFederatedSignInButtonComponent } from './amplify-federated-sign-in-button/amplify-federated-sign-in-button.component';
|
|
5
|
+
export { AmplifyFederatedSignInComponent } from './amplify-federated-sign-in/amplify-federated-sign-in.component';
|
|
6
|
+
export { AmplifyForceNewPasswordComponent } from './amplify-force-new-password/amplify-force-new-password.component';
|
|
7
|
+
export { AmplifyResetPasswordComponent } from './amplify-reset-password/amplify-reset-password.component';
|
|
8
|
+
export { AmplifySetupTotpComponent } from './amplify-setup-totp/amplify-setup-totp.component';
|
|
9
|
+
export { AmplifySignInComponent } from './amplify-sign-in/amplify-sign-in.component';
|
|
10
|
+
export { AmplifySignUpComponent } from './amplify-sign-up/amplify-sign-up.component';
|
|
11
|
+
export { AmplifyVerifyUserComponent } from './amplify-verify-user/amplify-verify-user.component';
|
|
12
|
+
export { ConfirmResetPasswordComponent } from './confirm-reset-password/amplify-confirm-reset-password.component';
|
|
13
|
+
export { ConfirmVerifyUserComponent } from './confirm-verify-user/amplify-confirm-verify-user.component';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
export declare class AmplifyButtonComponent implements OnInit {
|
|
3
|
+
type: 'submit' | 'button';
|
|
4
|
+
fullWidth: boolean | string;
|
|
5
|
+
size: 'small' | 'medium' | 'large';
|
|
6
|
+
variation: 'primary' | 'default' | 'link';
|
|
7
|
+
fontWeight: 'normal' | 'bold' | 'lighter';
|
|
8
|
+
typeAttr: string;
|
|
9
|
+
fullWidthAttr: boolean | string;
|
|
10
|
+
sizeAttr: string;
|
|
11
|
+
variationAttr: string;
|
|
12
|
+
defaultClass: boolean;
|
|
13
|
+
fontWeightAttr: string;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AuthInputAttributes } from '@aws-amplify/ui';
|
|
3
|
+
import { StateMachineService } from '../../services/state-machine.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 AmplifyFormFieldComponent implements OnInit {
|
|
12
|
+
private stateMachine;
|
|
13
|
+
name: string;
|
|
14
|
+
type: string;
|
|
15
|
+
required: boolean;
|
|
16
|
+
placeholder: string;
|
|
17
|
+
label: string;
|
|
18
|
+
initialValue: string;
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
autocomplete: string;
|
|
21
|
+
defaultCountryCode: string;
|
|
22
|
+
countryDialCodes: string[];
|
|
23
|
+
textFieldId: string;
|
|
24
|
+
selectFieldId: string;
|
|
25
|
+
constructor(stateMachine: StateMachineService);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
get attributeMap(): AuthInputAttributes;
|
|
28
|
+
get error(): string;
|
|
29
|
+
inferLabel(): string;
|
|
30
|
+
inferPlaceholder(): string;
|
|
31
|
+
inferType(): string;
|
|
32
|
+
isPasswordField(): boolean;
|
|
33
|
+
isPhoneField(): boolean;
|
|
34
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class AmplifyPasswordFieldComponent {
|
|
2
|
+
autocomplete: string;
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
id: string;
|
|
5
|
+
initialValue: string;
|
|
6
|
+
label: string;
|
|
7
|
+
name: string;
|
|
8
|
+
placeholder: string;
|
|
9
|
+
required: boolean;
|
|
10
|
+
type: 'text' | 'password';
|
|
11
|
+
showPassword: boolean;
|
|
12
|
+
showPasswordButtonlabel: string;
|
|
13
|
+
togglePasswordText(): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { StateMachineService } from '../../services/state-machine.service';
|
|
3
|
+
export declare class AmplifyUserNameAliasComponent implements OnInit {
|
|
4
|
+
private stateMachine;
|
|
5
|
+
name: string;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
initialValue: string;
|
|
8
|
+
required: boolean;
|
|
9
|
+
label: string;
|
|
10
|
+
type: string;
|
|
11
|
+
error: string;
|
|
12
|
+
placeholder: string;
|
|
13
|
+
constructor(stateMachine: StateMachineService);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class PhoneNumberFieldComponent {
|
|
2
|
+
autocomplete: string;
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
defaultCountryCode: string;
|
|
5
|
+
selectFieldId: string;
|
|
6
|
+
textFieldId: string;
|
|
7
|
+
initialValue: string;
|
|
8
|
+
label: string;
|
|
9
|
+
name: string;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
required: boolean;
|
|
12
|
+
type: string;
|
|
13
|
+
countryDialCodes: string[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AfterContentInit, QueryList, EventEmitter } from '@angular/core';
|
|
2
|
+
import { TabItemComponent } from '../tab-item/tab-item.component';
|
|
3
|
+
export declare class TabsComponent implements AfterContentInit {
|
|
4
|
+
tabs: QueryList<TabItemComponent>;
|
|
5
|
+
tabChange: EventEmitter<any>;
|
|
6
|
+
ngAfterContentInit(): void;
|
|
7
|
+
selectTab(tab: TabItemComponent): void;
|
|
8
|
+
handleTabClick(tab: TabItemComponent): void;
|
|
9
|
+
}
|