@aws-amplify/ui-angular 5.3.5 → 6.0.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/fesm2022/aws-amplify-ui-angular.mjs +144 -203
- package/fesm2022/aws-amplify-ui-angular.mjs.map +1 -1
- package/index.d.ts +1183 -16
- package/package.json +4 -4
- package/lib/common/helpers.d.ts +0 -2
- package/lib/common/index.d.ts +0 -2
- package/lib/common/types/auth-types.d.ts +0 -3
- package/lib/common/types/component-types.d.ts +0 -23
- package/lib/common/types/index.d.ts +0 -2
- package/lib/components/authenticator/authenticator.module.d.ts +0 -37
- package/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +0 -43
- package/lib/components/authenticator/components/base-form-fields/base-form-fields.component.d.ts +0 -17
- package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +0 -18
- package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +0 -20
- package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +0 -18
- package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +0 -17
- package/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.d.ts +0 -23
- package/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.d.ts +0 -12
- package/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.d.ts +0 -5
- package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +0 -15
- package/lib/components/authenticator/components/forgot-password/forgot-password.component.d.ts +0 -17
- package/lib/components/authenticator/components/form-field/form-field.component.d.ts +0 -21
- package/lib/components/authenticator/components/index.d.ts +0 -17
- package/lib/components/authenticator/components/select-mfa-type/select-mfa-type.component.d.ts +0 -231
- package/lib/components/authenticator/components/setup-email/setup-email.component.d.ts +0 -224
- package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +0 -24
- package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +0 -16
- package/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.d.ts +0 -5
- package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +0 -13
- package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +0 -21
- package/lib/primitives/button/button.component.d.ts +0 -20
- package/lib/primitives/checkbox/checkbox.component.d.ts +0 -15
- package/lib/primitives/error/error.component.d.ts +0 -8
- package/lib/primitives/index.d.ts +0 -9
- package/lib/primitives/password-field/password-field.component.d.ts +0 -232
- package/lib/primitives/phone-number-field/phone-number-field.component.d.ts +0 -24
- package/lib/primitives/select/select.component.d.ts +0 -10
- package/lib/primitives/tab-item/tab-item.component.d.ts +0 -11
- package/lib/primitives/tabs/tabs.component.d.ts +0 -12
- package/lib/primitives/text-field/text-field.component.d.ts +0 -18
- package/lib/services/authenticator.service.d.ts +0 -74
- package/lib/services/custom-components.service.d.ts +0 -12
- package/lib/utilities/amplify-slot/amplify-slot.component.d.ts +0 -15
- package/lib/utilities/amplify-slot/amplify-slot.directive.d.ts +0 -10
- package/version.d.ts +0 -1
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class SelectComponent {
|
|
3
|
-
items: string[];
|
|
4
|
-
name: string;
|
|
5
|
-
label: string;
|
|
6
|
-
id: string;
|
|
7
|
-
defaultValue: string;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "amplify-form-select", never, { "items": { "alias": "items"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "id": { "alias": "id"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TabItemComponent {
|
|
3
|
-
title: string;
|
|
4
|
-
active: boolean;
|
|
5
|
-
id: string;
|
|
6
|
-
labelledById: string;
|
|
7
|
-
tabIndex: number;
|
|
8
|
-
display: string;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabItemComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabItemComponent, "amplify-tab-item", never, { "title": { "alias": "title"; "required": false; }; "active": { "alias": "active"; "required": false; }; "id": { "alias": "id"; "required": false; }; "labelledById": { "alias": "labelledById"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, QueryList, EventEmitter } from '@angular/core';
|
|
2
|
-
import { TabItemComponent } from '../tab-item/tab-item.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TabsComponent implements AfterContentInit {
|
|
5
|
-
tabs: QueryList<TabItemComponent>;
|
|
6
|
-
tabChange: EventEmitter<any>;
|
|
7
|
-
ngAfterContentInit(): void;
|
|
8
|
-
selectTab(tab: TabItemComponent): void;
|
|
9
|
-
handleTabClick(tab: TabItemComponent): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "amplify-tabs", never, {}, { "tabChange": "tabChange"; }, ["tabs"], ["*"], false, never>;
|
|
12
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TextFieldComponent {
|
|
3
|
-
autocomplete: string;
|
|
4
|
-
disabled: boolean;
|
|
5
|
-
fieldId: string;
|
|
6
|
-
initialValue: string;
|
|
7
|
-
label: string;
|
|
8
|
-
name: string;
|
|
9
|
-
placeholder: string;
|
|
10
|
-
required: boolean;
|
|
11
|
-
type: string;
|
|
12
|
-
labelHidden: boolean;
|
|
13
|
-
hasError: boolean;
|
|
14
|
-
describedBy: string;
|
|
15
|
-
display: string;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextFieldComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextFieldComponent, "amplify-text-field", never, { "autocomplete": { "alias": "autocomplete"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "fieldId": { "alias": "fieldId"; "required": false; }; "initialValue": { "alias": "initialValue"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "type": { "alias": "type"; "required": false; }; "labelHidden": { "alias": "labelHidden"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "describedBy": { "alias": "describedBy"; "required": false; }; }, {}, never, never, false, never>;
|
|
18
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { Event, Subscription } from 'xstate';
|
|
4
|
-
import { AuthUser } from 'aws-amplify/auth';
|
|
5
|
-
import { AuthContext, AuthenticatorServiceFacade, AuthEvent, AuthInterpreter, AuthMachineState } from '@aws-amplify/ui';
|
|
6
|
-
import { AuthSubscriptionCallback } from '../common/types';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* AuthenticatorService provides access to the authenticator state and context.
|
|
10
|
-
*/
|
|
11
|
-
export declare class AuthenticatorService implements OnDestroy {
|
|
12
|
-
private _authState;
|
|
13
|
-
private _authStatus;
|
|
14
|
-
private _authService;
|
|
15
|
-
private _machineSubscription;
|
|
16
|
-
private _facade;
|
|
17
|
-
private _hubSubject;
|
|
18
|
-
private _unsubscribeHub;
|
|
19
|
-
constructor();
|
|
20
|
-
/**
|
|
21
|
-
* Context facades
|
|
22
|
-
*/
|
|
23
|
-
get error(): AuthenticatorServiceFacade['error'];
|
|
24
|
-
get hasValidationErrors(): AuthenticatorServiceFacade['hasValidationErrors'];
|
|
25
|
-
get isPending(): AuthenticatorServiceFacade['isPending'];
|
|
26
|
-
get route(): AuthenticatorServiceFacade['route'];
|
|
27
|
-
get authStatus(): AuthenticatorServiceFacade['authStatus'];
|
|
28
|
-
get user(): AuthUser;
|
|
29
|
-
get username(): string;
|
|
30
|
-
get validationErrors(): AuthenticatorServiceFacade['validationErrors'];
|
|
31
|
-
get codeDeliveryDetails(): AuthenticatorServiceFacade['codeDeliveryDetails'];
|
|
32
|
-
get totpSecretCode(): AuthenticatorServiceFacade['totpSecretCode'];
|
|
33
|
-
/**
|
|
34
|
-
* Service facades
|
|
35
|
-
*/
|
|
36
|
-
get initializeMachine(): AuthenticatorServiceFacade['initializeMachine'];
|
|
37
|
-
get updateForm(): AuthenticatorServiceFacade['updateForm'];
|
|
38
|
-
get updateBlur(): AuthenticatorServiceFacade['updateBlur'];
|
|
39
|
-
get resendCode(): AuthenticatorServiceFacade['resendCode'];
|
|
40
|
-
get signOut(): AuthenticatorServiceFacade['signOut'];
|
|
41
|
-
get submitForm(): AuthenticatorServiceFacade['submitForm'];
|
|
42
|
-
/**
|
|
43
|
-
* Transition facades
|
|
44
|
-
*/
|
|
45
|
-
get toFederatedSignIn(): AuthenticatorServiceFacade['toFederatedSignIn'];
|
|
46
|
-
get toForgotPassword(): AuthenticatorServiceFacade['toForgotPassword'];
|
|
47
|
-
get toSignIn(): AuthenticatorServiceFacade['toSignIn'];
|
|
48
|
-
get toSignUp(): AuthenticatorServiceFacade['toSignUp'];
|
|
49
|
-
get skipVerification(): AuthenticatorServiceFacade['skipVerification'];
|
|
50
|
-
/**
|
|
51
|
-
* Internal utility functions
|
|
52
|
-
*/
|
|
53
|
-
/** @deprecated For internal use only */
|
|
54
|
-
get authState(): AuthMachineState;
|
|
55
|
-
/** @deprecated For internal use only */
|
|
56
|
-
get authService(): AuthInterpreter;
|
|
57
|
-
/** @deprecated For internal use only */
|
|
58
|
-
get context(): AuthContext;
|
|
59
|
-
/** @deprecated For internal use only */
|
|
60
|
-
get slotContext(): AuthenticatorServiceFacade & {
|
|
61
|
-
$implicit: AuthenticatorServiceFacade;
|
|
62
|
-
};
|
|
63
|
-
/** @deprecated For internal use only */
|
|
64
|
-
get hubSubject(): Subject<void>;
|
|
65
|
-
subscribe(callback: AuthSubscriptionCallback): Subscription;
|
|
66
|
-
ngOnDestroy(): void;
|
|
67
|
-
/** @deprecated For internal use only */
|
|
68
|
-
send(event: Event<AuthEvent>): void;
|
|
69
|
-
private getInitialAuthStatus;
|
|
70
|
-
private setupHubListener;
|
|
71
|
-
private setupMachineSubscription;
|
|
72
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticatorService, never>;
|
|
73
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AuthenticatorService>;
|
|
74
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CustomComponents } from '../common';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Stores and provides custom components that users provide with `amplify-slot`.
|
|
5
|
-
*/
|
|
6
|
-
export declare class CustomComponentsService {
|
|
7
|
-
private _customComponents;
|
|
8
|
-
get customComponents(): CustomComponents;
|
|
9
|
-
set customComponents(customComponents: CustomComponents);
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CustomComponentsService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CustomComponentsService>;
|
|
12
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { CustomComponentsService } from '../../services/custom-components.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AmplifySlotComponent implements AfterContentInit {
|
|
5
|
-
private propService;
|
|
6
|
-
name: string;
|
|
7
|
-
context: Record<PropertyKey, unknown>;
|
|
8
|
-
display: string;
|
|
9
|
-
overridingComponent: TemplateRef<unknown>;
|
|
10
|
-
isOverriden: boolean;
|
|
11
|
-
constructor(propService: CustomComponentsService);
|
|
12
|
-
ngAfterContentInit(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AmplifySlotComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AmplifySlotComponent, "amplify-slot", never, { "name": { "alias": "name"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
15
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AmplifySlotDirective {
|
|
4
|
-
template: TemplateRef<unknown>;
|
|
5
|
-
name: string;
|
|
6
|
-
constructor(template: TemplateRef<unknown>);
|
|
7
|
-
set amplifySlot(component: string);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AmplifySlotDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AmplifySlotDirective, "[amplifySlot]", never, { "amplifySlot": { "alias": "amplifySlot"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
-
}
|
package/version.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const VERSION = "5.3.5";
|