@aws-amplify/ui-angular 2.0.1-next.4 → 2.0.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.
- package/LICENSE +201 -0
- package/README.md +28 -0
- package/aws-amplify-ui-angular.d.ts +26 -23
- package/aws-amplify-ui-angular.metadata.json +1 -1
- package/bundles/aws-amplify-ui-angular-legacy.umd.js +2229 -0
- package/bundles/aws-amplify-ui-angular-legacy.umd.js.map +1 -0
- package/bundles/aws-amplify-ui-angular-legacy.umd.min.js +16 -0
- package/bundles/aws-amplify-ui-angular-legacy.umd.min.js.map +1 -0
- package/bundles/aws-amplify-ui-angular.umd.js +890 -2845
- 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/aws-amplify-ui-angular.js +27 -24
- package/esm2015/index.js +22 -8
- package/esm2015/legacy/aws-amplify-ui-angular-legacy.js +6 -0
- package/esm2015/legacy/index.js +3 -0
- package/esm2015/legacy/legacy-ui-angular.module.js +53 -0
- package/esm2015/legacy/proxies.js +1839 -0
- package/esm2015/lib/common/types/auth-types.js +1 -1
- package/esm2015/lib/components/authenticator/authenticator.module.js +79 -0
- package/esm2015/lib/components/authenticator/components/authenticator/authenticator.component.js +87 -0
- package/esm2015/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.js +40 -0
- package/esm2015/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.js +57 -0
- package/esm2015/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.js +39 -0
- package/esm2015/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.js +39 -0
- package/esm2015/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.js +47 -0
- package/esm2015/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.js +27 -0
- package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password.component.js +39 -0
- package/esm2015/lib/components/authenticator/components/form-field/form-field.component.js +93 -0
- package/esm2015/lib/components/authenticator/components/index.js +17 -0
- package/esm2015/lib/components/authenticator/components/reset-password/reset-password.component.js +45 -0
- package/esm2015/lib/components/authenticator/components/setup-totp/setup-totp.component.js +65 -0
- package/esm2015/lib/components/authenticator/components/sign-in/sign-in.component.js +38 -0
- package/esm2015/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.js +34 -0
- package/esm2015/lib/components/authenticator/components/sign-up/sign-up.component.js +37 -0
- package/esm2015/lib/components/authenticator/components/user-name-alias/user-name-alias.component.js +35 -0
- package/esm2015/lib/components/authenticator/components/verify-user/verify-user.component.js +54 -0
- package/esm2015/lib/primitives/button/button.component.js +38 -0
- package/esm2015/lib/primitives/checkbox/checkbox.component.js +31 -0
- package/esm2015/lib/primitives/error/error.component.js +16 -0
- package/esm2015/lib/primitives/index.js +10 -3
- package/esm2015/lib/primitives/password-field/password-field.component.js +43 -0
- package/esm2015/lib/primitives/phone-number-field/phone-number-field.component.js +40 -0
- package/esm2015/lib/primitives/select/select.component.js +17 -0
- package/esm2015/lib/primitives/tabs/tabs.component.js +3 -2
- package/esm2015/lib/primitives/text-field/text-field.component.js +35 -0
- package/esm2015/lib/services/authenticator.service.js +133 -0
- package/esm2015/lib/services/custom-components.service.js +23 -0
- package/esm2015/lib/utilities/amplify-slot/amplify-slot.component.js +32 -0
- package/esm2015/lib/utilities/amplify-slot/amplify-slot.directive.js +21 -0
- package/fesm2015/aws-amplify-ui-angular-legacy.js +1846 -0
- package/fesm2015/aws-amplify-ui-angular-legacy.js.map +1 -0
- package/fesm2015/aws-amplify-ui-angular.js +668 -2604
- package/fesm2015/aws-amplify-ui-angular.js.map +1 -1
- package/index.d.ts +21 -7
- package/legacy/aws-amplify-ui-angular-legacy.d.ts +5 -0
- package/legacy/aws-amplify-ui-angular-legacy.metadata.json +1 -0
- package/legacy/index.d.ts +2 -0
- package/legacy/legacy-ui-angular.module.d.ts +2 -0
- package/legacy/package.json +11 -0
- package/{lib → legacy}/proxies.d.ts +0 -0
- package/lib/common/types/auth-types.d.ts +2 -5
- package/lib/components/authenticator/authenticator.module.d.ts +2 -0
- package/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +67 -0
- package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +50 -0
- package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +52 -0
- package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +49 -0
- package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +49 -0
- package/lib/components/{amplify-federated-sign-in/amplify-federated-sign-in.component.d.ts → authenticator/components/federated-sign-in/federated-sign-in.component.d.ts} +9 -6
- package/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.d.ts +9 -0
- package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +49 -0
- package/lib/{primitives/amplify-form-field/amplify-form-field.component.d.ts → components/authenticator/components/form-field/form-field.component.d.ts} +7 -5
- package/lib/components/authenticator/components/index.d.ts +16 -0
- package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts +52 -0
- package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +53 -0
- package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +48 -0
- package/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.d.ts +12 -0
- package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +47 -0
- package/lib/{primitives/amplify-user-name-alias/amplify-user-name-alias.component.d.ts → components/authenticator/components/user-name-alias/user-name-alias.component.d.ts} +4 -4
- package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +54 -0
- package/lib/primitives/{amplify-button/amplify-button.component.d.ts → button/button.component.d.ts} +1 -1
- package/lib/primitives/checkbox/checkbox.component.d.ts +12 -0
- package/lib/primitives/error/error.component.d.ts +4 -0
- package/lib/primitives/index.d.ts +9 -2
- package/lib/primitives/{amplify-password-field/amplify-password-field.component.d.ts → password-field/password-field.component.d.ts} +3 -2
- package/lib/primitives/phone-number-field/phone-number-field.component.d.ts +16 -0
- package/lib/primitives/{amplify-select/amplify-select.component.d.ts → select/select.component.d.ts} +2 -2
- package/lib/primitives/{amplify-text-field/amplify-text-field.component.d.ts → text-field/text-field.component.d.ts} +4 -5
- package/lib/services/authenticator.service.d.ts +94 -0
- package/lib/services/custom-components.service.d.ts +9 -0
- package/lib/utilities/amplify-slot/amplify-slot.component.d.ts +12 -0
- package/lib/{directives → utilities/amplify-slot}/amplify-slot.directive.d.ts +0 -0
- package/package.json +3 -4
- package/theme.css +0 -1
- package/esm2015/lib/components/amplify-authenticator/amplify-authenticator.component.js +0 -89
- package/esm2015/lib/components/amplify-confirm-sign-in/amplify-confirm-sign-in.component.js +0 -91
- package/esm2015/lib/components/amplify-confirm-sign-up/amplify-confirm-sign-up.component.js +0 -83
- package/esm2015/lib/components/amplify-federated-sign-in/amplify-federated-sign-in.component.js +0 -37
- package/esm2015/lib/components/amplify-federated-sign-in-button/amplify-federated-sign-in-button.component.js +0 -27
- package/esm2015/lib/components/amplify-force-new-password/amplify-force-new-password.component.js +0 -83
- package/esm2015/lib/components/amplify-reset-password/amplify-reset-password.component.js +0 -68
- package/esm2015/lib/components/amplify-setup-totp/amplify-setup-totp.component.js +0 -100
- package/esm2015/lib/components/amplify-sign-in/amplify-sign-in.component.js +0 -78
- package/esm2015/lib/components/amplify-sign-up/amplify-sign-up.component.js +0 -98
- package/esm2015/lib/components/amplify-verify-user/amplify-verify-user.component.js +0 -78
- package/esm2015/lib/components/confirm-reset-password/amplify-confirm-reset-password.component.js +0 -76
- package/esm2015/lib/components/confirm-verify-user/amplify-confirm-verify-user.component.js +0 -66
- package/esm2015/lib/components/index.js +0 -14
- package/esm2015/lib/directives/amplify-slot.directive.js +0 -21
- package/esm2015/lib/primitives/amplify-button/amplify-button.component.js +0 -38
- package/esm2015/lib/primitives/amplify-error/amplify-error.component.js +0 -10
- package/esm2015/lib/primitives/amplify-form-field/amplify-form-field.component.js +0 -89
- package/esm2015/lib/primitives/amplify-password-field/amplify-password-field.component.js +0 -39
- package/esm2015/lib/primitives/amplify-select/amplify-select.component.js +0 -17
- package/esm2015/lib/primitives/amplify-text-field/amplify-text-field.component.js +0 -39
- package/esm2015/lib/primitives/amplify-user-name-alias/amplify-user-name-alias.component.js +0 -35
- package/esm2015/lib/proxies.js +0 -1839
- package/esm2015/lib/services/authenticator-context.service.js +0 -28
- package/esm2015/lib/services/state-machine.service.js +0 -52
- package/esm2015/lib/ui-angular.module.js +0 -101
- package/lib/components/amplify-authenticator/amplify-authenticator.component.d.ts +0 -36
- package/lib/components/amplify-confirm-sign-in/amplify-confirm-sign-in.component.d.ts +0 -31
- package/lib/components/amplify-confirm-sign-up/amplify-confirm-sign-up.component.d.ts +0 -34
- package/lib/components/amplify-federated-sign-in-button/amplify-federated-sign-in-button.component.d.ts +0 -9
- package/lib/components/amplify-force-new-password/amplify-force-new-password.component.d.ts +0 -31
- package/lib/components/amplify-reset-password/amplify-reset-password.component.d.ts +0 -30
- package/lib/components/amplify-setup-totp/amplify-setup-totp.component.d.ts +0 -31
- package/lib/components/amplify-sign-in/amplify-sign-in.component.d.ts +0 -32
- package/lib/components/amplify-sign-up/amplify-sign-up.component.d.ts +0 -32
- package/lib/components/amplify-verify-user/amplify-verify-user.component.d.ts +0 -32
- package/lib/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +0 -34
- package/lib/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +0 -28
- package/lib/components/index.d.ts +0 -13
- package/lib/primitives/amplify-error/amplify-error.component.d.ts +0 -2
- package/lib/services/authenticator-context.service.d.ts +0 -10
- package/lib/services/state-machine.service.d.ts +0 -29
- package/lib/ui-angular.module.d.ts +0 -2
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class AuthPropService {
|
|
4
|
-
constructor() {
|
|
5
|
-
this._customComponents = {};
|
|
6
|
-
this._props = {};
|
|
7
|
-
}
|
|
8
|
-
get customComponents() {
|
|
9
|
-
return this._customComponents;
|
|
10
|
-
}
|
|
11
|
-
set customComponents(customComponents) {
|
|
12
|
-
this._customComponents = Object.assign(Object.assign({}, this._customComponents), customComponents);
|
|
13
|
-
}
|
|
14
|
-
get props() {
|
|
15
|
-
return this._props;
|
|
16
|
-
}
|
|
17
|
-
set props(props) {
|
|
18
|
-
this._props = Object.assign(Object.assign({}, this._props), props);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
AuthPropService.ɵprov = i0.ɵɵdefineInjectable({ factory: function AuthPropService_Factory() { return new AuthPropService(); }, token: AuthPropService, providedIn: "root" });
|
|
22
|
-
AuthPropService.decorators = [
|
|
23
|
-
{ type: Injectable, args: [{
|
|
24
|
-
providedIn: 'root',
|
|
25
|
-
},] }
|
|
26
|
-
];
|
|
27
|
-
AuthPropService.ctorParameters = () => [];
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aGVudGljYXRvci1jb250ZXh0LnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1hbmd1bGFyL3NyYy9saWIvc2VydmljZXMvYXV0aGVudGljYXRvci1jb250ZXh0LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFNM0MsTUFBTSxPQUFPLGVBQWU7SUFDMUI7UUFDUSxzQkFBaUIsR0FBcUIsRUFBRSxDQUFDO1FBQ3pDLFdBQU0sR0FBZ0IsRUFBRSxDQUFDO0lBRmxCLENBQUM7SUFJaEIsSUFBVyxnQkFBZ0I7UUFDekIs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50cykge1xuICAgIHRoaXMuX2N1c3RvbUNvbXBvbmVudHMgPSB7IC4uLnRoaXMuX2N1c3RvbUNvbXBvbmVudHMsIC4uLmN1c3RvbUNvbXBvbmVudHMgfTtcbiAgfVxuXG4gIHB1YmxpYyBnZXQgcHJvcHMoKTogUHJvcENvbnRleHQge1xuICAgIHJldHVybiB0aGlzLl9wcm9wcztcbiAgfVxuXG4gIHB1YmxpYyBzZXQgcHJvcHMocHJvcHM6IFByb3BDb250ZXh0KSB7XG4gICAgdGhpcy5fcHJvcHMgPSB7IC4uLnRoaXMuX3Byb3BzLCAuLi5wcm9wcyB9O1xuICB9XG59XG4iXX0=
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { authMachine, getSendEventAliases, } from '@aws-amplify/ui';
|
|
3
|
-
import { interpret } from 'xstate';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* AmplifyContextService contains access to the xstate machine
|
|
7
|
-
* and custom components passed by the user.
|
|
8
|
-
*/
|
|
9
|
-
export class StateMachineService {
|
|
10
|
-
startMachine(loginMechanisms) {
|
|
11
|
-
const machine = authMachine.withContext({
|
|
12
|
-
config: {
|
|
13
|
-
login_mechanisms: loginMechanisms,
|
|
14
|
-
},
|
|
15
|
-
});
|
|
16
|
-
const authService = interpret(machine, {
|
|
17
|
-
devTools: process.env.NODE_ENV === 'development',
|
|
18
|
-
})
|
|
19
|
-
.onTransition((state) => {
|
|
20
|
-
this._user = state.context.user;
|
|
21
|
-
this._authState = state;
|
|
22
|
-
})
|
|
23
|
-
.start();
|
|
24
|
-
this._services = getSendEventAliases(authService.send);
|
|
25
|
-
this._authService = authService;
|
|
26
|
-
}
|
|
27
|
-
get services() {
|
|
28
|
-
return this._services;
|
|
29
|
-
}
|
|
30
|
-
get authState() {
|
|
31
|
-
return this._authState;
|
|
32
|
-
}
|
|
33
|
-
get authService() {
|
|
34
|
-
return this._authService;
|
|
35
|
-
}
|
|
36
|
-
get user() {
|
|
37
|
-
return this._user;
|
|
38
|
-
}
|
|
39
|
-
get context() {
|
|
40
|
-
return this._authState.context;
|
|
41
|
-
}
|
|
42
|
-
send(event) {
|
|
43
|
-
this.authService.send(event);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
StateMachineService.ɵprov = i0.ɵɵdefineInjectable({ factory: function StateMachineService_Factory() { return new StateMachineService(); }, token: StateMachineService, providedIn: "root" });
|
|
47
|
-
StateMachineService.decorators = [
|
|
48
|
-
{ type: Injectable, args: [{
|
|
49
|
-
providedIn: 'root',
|
|
50
|
-
},] }
|
|
51
|
-
];
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdGUtbWFjaGluZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWktYW5ndWxhci9zcmMvbGliL3NlcnZpY2VzL3N0YXRlLW1hY2hpbmUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFJTCxXQUFXLEVBRVgsbUJBQW1CLEdBRXBCLE1BQU0saUJBQWlCLENBQUM7QUFDekIsT0FBTyxFQUFFLFNBQVMsRUFBUyxNQUFNLFFBQVEsQ0FBQzs7QUFFMUM7OztHQUdHO0FBSUgsTUFBTSxPQUFPLG1CQUFtQjtJQU12QixZQUFZLENBQUMsZUFBa0M7UUFDcEQsTUFBTSxPQUFPLEdBQUcsV0FBVyxDQUFDLFdBQVcsQ0FBQztZQUN0QyxNQUFNLEVBQUU7Z0JBQ04sZ0JBQWdCLEVBQUUsZUFBZTthQUNsQztTQUNGLENBQUMsQ0FBQztRQUVILE1BQU0sV0FBVyxHQUFHLFNBQVMsQ0FBQyxPQUF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X2F1dGhTdGF0ZS5jb250ZXh0O1xuICB9XG5cbiAgcHVibGljIHNlbmQoZXZlbnQ6IEV2ZW50PEF1dGhFdmVudD4pIHtcbiAgICB0aGlzLmF1dGhTZXJ2aWNlLnNlbmQoZXZlbnQpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { AmplifyAuthenticatorComponent } from './components/amplify-authenticator/amplify-authenticator.component';
|
|
4
|
-
import { AmplifyConfirmSignInComponent } from './components/amplify-confirm-sign-in/amplify-confirm-sign-in.component';
|
|
5
|
-
import { AmplifyConfirmSignUpComponent } from './components/amplify-confirm-sign-up/amplify-confirm-sign-up.component';
|
|
6
|
-
import { AmplifyFederatedSignInButtonComponent } from './components/amplify-federated-sign-in-button/amplify-federated-sign-in-button.component';
|
|
7
|
-
import { AmplifyFederatedSignInComponent } from './components/amplify-federated-sign-in/amplify-federated-sign-in.component';
|
|
8
|
-
import { AmplifyForceNewPasswordComponent } from './components/amplify-force-new-password/amplify-force-new-password.component';
|
|
9
|
-
import { AmplifyResetPasswordComponent } from './components/amplify-reset-password/amplify-reset-password.component';
|
|
10
|
-
import { AmplifySetupTotpComponent } from './components/amplify-setup-totp/amplify-setup-totp.component';
|
|
11
|
-
import { AmplifySignInComponent } from './components/amplify-sign-in/amplify-sign-in.component';
|
|
12
|
-
import { AmplifySignUpComponent } from './components/amplify-sign-up/amplify-sign-up.component';
|
|
13
|
-
import { AmplifyVerifyUserComponent } from './components/amplify-verify-user/amplify-verify-user.component';
|
|
14
|
-
import { ConfirmResetPasswordComponent } from './components/confirm-reset-password/amplify-confirm-reset-password.component';
|
|
15
|
-
import { ConfirmVerifyUserComponent } from './components/confirm-verify-user/amplify-confirm-verify-user.component';
|
|
16
|
-
import { AmplifyButtonComponent } from './primitives/amplify-button/amplify-button.component';
|
|
17
|
-
import { AmplifyErrorComponent } from './primitives/amplify-error/amplify-error.component';
|
|
18
|
-
import { AmplifyFormFieldComponent } from './primitives/amplify-form-field/amplify-form-field.component';
|
|
19
|
-
import { AmplifyPasswordFieldComponent } from './primitives/amplify-password-field/amplify-password-field.component';
|
|
20
|
-
import { AmplifySelectComponent } from './primitives/amplify-select/amplify-select.component';
|
|
21
|
-
import { TabsComponent } from './primitives/tabs/tabs.component';
|
|
22
|
-
import { TabItemComponent } from './primitives/tab-item/tab-item.component';
|
|
23
|
-
import { AmplifyTextFieldComponent } from './primitives/amplify-text-field/amplify-text-field.component';
|
|
24
|
-
import { AmplifyUserNameAliasComponent } from './primitives/amplify-user-name-alias/amplify-user-name-alias.component';
|
|
25
|
-
import { AmplifySlotDirective } from './directives/amplify-slot.directive';
|
|
26
|
-
import { AmplifyS3Album as S3Album, AmplifyS3ImagePicker as S3ImagePicker, AmplifyS3Text as S3Text, AmplifyS3TextPicker as S3TextPicker, AmplifyS3Image as S3Image, AmplifyPicker as picker, AmplifyPhotoPicker as photoPicker, AmplifyChatbot as chatbot, AmplifyToast as toast, AmplifyInput as input, AmplifyButton as button, } from './proxies';
|
|
27
|
-
import { AmplifyChatbot, AmplifyButton, AmplifyInput, AmplifyToast, AmplifyS3Album, AmplifyS3ImagePicker, AmplifyS3Text, AmplifyS3TextPicker, AmplifyS3Image, AmplifyPicker, AmplifyPhotoPicker, } from '@aws-amplify/ui-components/dist/components';
|
|
28
|
-
customElements.define('amplify-button', AmplifyButton);
|
|
29
|
-
customElements.define('amplify-input', AmplifyInput);
|
|
30
|
-
customElements.define('amplify-toast', AmplifyToast);
|
|
31
|
-
customElements.define('amplify-chatbot', AmplifyChatbot);
|
|
32
|
-
customElements.define('amplify-s3-album', AmplifyS3Album);
|
|
33
|
-
customElements.define('amplify-s3-image-picker', AmplifyS3ImagePicker);
|
|
34
|
-
customElements.define('amplify-s3-text', AmplifyS3Text);
|
|
35
|
-
customElements.define('amplify-s3-text-picker', AmplifyS3TextPicker);
|
|
36
|
-
customElements.define('amplify-s3-image', AmplifyS3Image);
|
|
37
|
-
customElements.define('amplify-picker', AmplifyPicker);
|
|
38
|
-
customElements.define('amplify-photo-picker', AmplifyPhotoPicker);
|
|
39
|
-
export class UiAngularModule {
|
|
40
|
-
}
|
|
41
|
-
UiAngularModule.decorators = [
|
|
42
|
-
{ type: NgModule, args: [{
|
|
43
|
-
declarations: [
|
|
44
|
-
chatbot,
|
|
45
|
-
toast,
|
|
46
|
-
input,
|
|
47
|
-
button,
|
|
48
|
-
S3Album,
|
|
49
|
-
S3ImagePicker,
|
|
50
|
-
S3Text,
|
|
51
|
-
S3TextPicker,
|
|
52
|
-
S3Image,
|
|
53
|
-
picker,
|
|
54
|
-
photoPicker,
|
|
55
|
-
AmplifyAuthenticatorComponent,
|
|
56
|
-
AmplifySignInComponent,
|
|
57
|
-
AmplifySignUpComponent,
|
|
58
|
-
AmplifyFormFieldComponent,
|
|
59
|
-
AmplifyErrorComponent,
|
|
60
|
-
AmplifySlotDirective,
|
|
61
|
-
AmplifyConfirmSignUpComponent,
|
|
62
|
-
AmplifyUserNameAliasComponent,
|
|
63
|
-
AmplifyConfirmSignInComponent,
|
|
64
|
-
AmplifySetupTotpComponent,
|
|
65
|
-
AmplifyForceNewPasswordComponent,
|
|
66
|
-
AmplifyFederatedSignInComponent,
|
|
67
|
-
AmplifyFederatedSignInButtonComponent,
|
|
68
|
-
AmplifyResetPasswordComponent,
|
|
69
|
-
AmplifyVerifyUserComponent,
|
|
70
|
-
ConfirmResetPasswordComponent,
|
|
71
|
-
ConfirmVerifyUserComponent,
|
|
72
|
-
AmplifySelectComponent,
|
|
73
|
-
AmplifyButtonComponent,
|
|
74
|
-
AmplifyPasswordFieldComponent,
|
|
75
|
-
AmplifyTextFieldComponent,
|
|
76
|
-
TabsComponent,
|
|
77
|
-
TabItemComponent,
|
|
78
|
-
],
|
|
79
|
-
imports: [CommonModule],
|
|
80
|
-
exports: [
|
|
81
|
-
chatbot,
|
|
82
|
-
toast,
|
|
83
|
-
input,
|
|
84
|
-
button,
|
|
85
|
-
S3Album,
|
|
86
|
-
S3ImagePicker,
|
|
87
|
-
S3Text,
|
|
88
|
-
S3TextPicker,
|
|
89
|
-
S3Image,
|
|
90
|
-
picker,
|
|
91
|
-
photoPicker,
|
|
92
|
-
AmplifyAuthenticatorComponent,
|
|
93
|
-
AmplifySignInComponent,
|
|
94
|
-
AmplifyFormFieldComponent,
|
|
95
|
-
AmplifyErrorComponent,
|
|
96
|
-
AmplifySlotDirective,
|
|
97
|
-
],
|
|
98
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
99
|
-
},] }
|
|
100
|
-
];
|
|
101
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidWktYW5ndWxhci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1hbmd1bGFyL3NyYy9saWIvdWktYW5ndWxhci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNqRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLDZCQUE2QixFQUFFLE1BQU0sb0VBQW9FLENBQUM7QUFDbkgsT0FBTyxFQUFFLDZCQUE2QixFQUFFLE1BQU0sd0VBQXdFLENBQUM7QUFDdkgsT0FBTyxFQUFFLDZCQUE2QixFQUFFLE1BQU0sd0VBQXdFLENBQUM7QUFDdkgsT0FBTyxFQUFFLHFDQUFxQyxFQUFFLE1BQU0sMEZBQTBGLENBQUM7QUFDakosT0FBTyxFQUFFLCtCQUErQixFQUFFLE1BQU0sNEVBQTRFLENBQUM7QUFDN0gsT0FBTyxFQUFFLGdDQUFnQyxFQUFFL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uICAgIEFtcGxpZnlWZXJpZnlVc2VyQ29tcG9uZW50LFxuICAgIENvbmZpcm1SZXNldFBhc3N3b3JkQ29tcG9uZW50LFxuICAgIENvbmZpcm1WZXJpZnlVc2VyQ29tcG9uZW50LFxuICAgIEFtcGxpZnlTZWxlY3RDb21wb25lbnQsXG4gICAgQW1wbGlmeUJ1dHRvbkNvbXBvbmVudCxcbiAgICBBbXBsaWZ5UGFzc3dvcmRGaWVsZENvbXBvbmVudCxcbiAgICBBbXBsaWZ5VGV4dEZpZWxkQ29tcG9uZW50LFxuICAgIFRhYnNDb21wb25lbnQsXG4gICAgVGFiSXRlbUNvbXBvbmVudCxcbiAgXSxcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZV0sXG4gIGV4cG9ydHM6IFtcbiAgICBjaGF0Ym90LFxuICAgIHRvYXN0LFxuICAgIGlucHV0LFxuICAgIGJ1dHRvbixcbiAgICBTM0FsYnVtLFxuICAgIFMzSW1hZ2VQaWNrZXIsXG4gICAgUzNUZXh0LFxuICAgIFMzVGV4dFBpY2tlcixcbiAgICBTM0ltYWdlLFxuICAgIHBpY2tlcixcbiAgICBwaG90b1BpY2tlcixcbiAgICBBbXBsaWZ5QXV0aGVudGljYXRvckNvbXBvbmVudCxcbiAgICBBbXBsaWZ5U2lnbkluQ29tcG9uZW50LFxuICAgIEFtcGxpZnlGb3JtRmllbGRDb21wb25lbnQsXG4gICAgQW1wbGlmeUVycm9yQ29tcG9uZW50LFxuICAgIEFtcGxpZnlTbG90RGlyZWN0aXZlLFxuICBdLFxuICBzY2hlbWFzOiBbQ1VTVE9NX0VMRU1FTlRTX1NDSEVNQV0sXG59KVxuZXhwb3J0IGNsYXNzIFVpQW5ndWxhck1vZHVsZSB7fVxuIl19
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, OnInit } from '@angular/core';
|
|
2
|
-
import { LoginMechanism } from '@aws-amplify/ui';
|
|
3
|
-
import { CustomComponents } from '../../common';
|
|
4
|
-
import { AuthState } from '../../common/types';
|
|
5
|
-
import { AuthPropService } from '../../services/authenticator-context.service';
|
|
6
|
-
import { StateMachineService } from '../../services/state-machine.service';
|
|
7
|
-
export declare class AmplifyAuthenticatorComponent implements OnInit, AfterContentInit {
|
|
8
|
-
private stateMachine;
|
|
9
|
-
private contextService;
|
|
10
|
-
/**
|
|
11
|
-
* TODO: Add back custom events
|
|
12
|
-
*/
|
|
13
|
-
initialState: AuthState;
|
|
14
|
-
loginMechanisms: LoginMechanism[];
|
|
15
|
-
private customComponentQuery;
|
|
16
|
-
customComponents: CustomComponents;
|
|
17
|
-
signInTitle: string;
|
|
18
|
-
signUpTitle: string;
|
|
19
|
-
constructor(stateMachine: StateMachineService, contextService: AuthPropService);
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
/**
|
|
22
|
-
* Lifecycle Methods
|
|
23
|
-
*/
|
|
24
|
-
ngAfterContentInit(): void;
|
|
25
|
-
/**
|
|
26
|
-
* Class Functions
|
|
27
|
-
*/
|
|
28
|
-
get context(): {
|
|
29
|
-
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
30
|
-
user: Record<string, any>;
|
|
31
|
-
};
|
|
32
|
-
get actorState(): import("@aws-amplify/ui").AuthActorState;
|
|
33
|
-
get authenticatorState(): import("@aws-amplify/ui").AuthMachineState;
|
|
34
|
-
onTabChange(): void;
|
|
35
|
-
private mapCustomComponents;
|
|
36
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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 AmplifyConfirmSignInComponent implements OnInit, OnDestroy, AfterContentInit {
|
|
6
|
-
private stateMachine;
|
|
7
|
-
private contextService;
|
|
8
|
-
dataAttr: string;
|
|
9
|
-
customComponents: Record<string, TemplateRef<any>>;
|
|
10
|
-
remoteError: string;
|
|
11
|
-
isPending: boolean;
|
|
12
|
-
private authSubscription;
|
|
13
|
-
headerText: string;
|
|
14
|
-
confirmText: string;
|
|
15
|
-
backToSignInText: string;
|
|
16
|
-
constructor(stateMachine: StateMachineService, contextService: AuthPropService);
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
ngAfterContentInit(): void;
|
|
19
|
-
ngOnDestroy(): void;
|
|
20
|
-
get context(): {
|
|
21
|
-
change: (data?: Record<string | number | symbol, any>) => void;
|
|
22
|
-
remoteError: string;
|
|
23
|
-
signIn: (data?: Record<string | number | symbol, any>) => void;
|
|
24
|
-
submit: (data?: Record<string | number | symbol, any>) => void;
|
|
25
|
-
};
|
|
26
|
-
setHeaderText(): void;
|
|
27
|
-
onStateUpdate(state: AuthMachineState): void;
|
|
28
|
-
onInput(event: Event): void;
|
|
29
|
-
onSubmit(event: Event): void;
|
|
30
|
-
toSignIn(): void;
|
|
31
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { 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 AmplifyConfirmSignUpComponent {
|
|
6
|
-
private stateMachine;
|
|
7
|
-
private contextService;
|
|
8
|
-
dataAttr: string;
|
|
9
|
-
headerText: string;
|
|
10
|
-
customComponents: Record<string, TemplateRef<any>>;
|
|
11
|
-
private authSubscription;
|
|
12
|
-
username: string;
|
|
13
|
-
remoteError: string;
|
|
14
|
-
isPending: boolean;
|
|
15
|
-
resendCodeText: string;
|
|
16
|
-
lostCodeText: string;
|
|
17
|
-
confirmText: 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
|
-
resend: (data?: Record<string | number | symbol, any>) => void;
|
|
27
|
-
signIn: (data?: Record<string | number | symbol, any>) => void;
|
|
28
|
-
submit: (data?: Record<string | number | symbol, any>) => void;
|
|
29
|
-
username: string;
|
|
30
|
-
};
|
|
31
|
-
resend(): void;
|
|
32
|
-
onInput($event: any): void;
|
|
33
|
-
onSubmit(event: Event): void;
|
|
34
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FederatedIdentityProviders } from '@aws-amplify/ui';
|
|
2
|
-
import { StateMachineService } from '../../services/state-machine.service';
|
|
3
|
-
export declare class AmplifyFederatedSignInButtonComponent {
|
|
4
|
-
private stateMachine;
|
|
5
|
-
provider: FederatedIdentityProviders;
|
|
6
|
-
text: string;
|
|
7
|
-
constructor(stateMachine: StateMachineService);
|
|
8
|
-
onClick: () => void;
|
|
9
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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 AmplifyForceNewPasswordComponent 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
|
-
changePasswordText: 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
|
-
user: Record<string, any>;
|
|
27
|
-
};
|
|
28
|
-
toSignIn(): void;
|
|
29
|
-
onInput(event: Event): void;
|
|
30
|
-
onSubmit(event: Event): void;
|
|
31
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CustomComponents, PropContext } from '../common';
|
|
2
|
-
export declare class AuthPropService {
|
|
3
|
-
constructor();
|
|
4
|
-
private _customComponents;
|
|
5
|
-
private _props;
|
|
6
|
-
get customComponents(): CustomComponents;
|
|
7
|
-
set customComponents(customComponents: CustomComponents);
|
|
8
|
-
get props(): PropContext;
|
|
9
|
-
set props(props: PropContext);
|
|
10
|
-
}
|