@aws-amplify/ui-angular 5.1.7 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/aws-amplify-ui-angular.mjs +1583 -0
- package/fesm2022/aws-amplify-ui-angular.mjs.map +1 -0
- package/lib/common/types/auth-types.d.ts +2 -2
- package/lib/common/types/component-types.d.ts +1 -1
- package/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +1 -1
- package/lib/components/authenticator/components/base-form-fields/base-form-fields.component.d.ts +1 -1
- package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +1 -1
- package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +1 -1
- package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +1 -1
- package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +1 -1
- package/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.d.ts +1 -1
- package/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.d.ts +1 -1
- package/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.d.ts +1 -1
- package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +1 -1
- package/lib/components/authenticator/components/forgot-password/forgot-password.component.d.ts +1 -1
- package/lib/components/authenticator/components/form-field/form-field.component.d.ts +1 -1
- package/lib/components/authenticator/components/select-mfa-type/select-mfa-type.component.d.ts +1 -1
- package/lib/components/authenticator/components/setup-email/setup-email.component.d.ts +1 -1
- package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +1 -1
- package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +1 -1
- package/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.d.ts +1 -1
- package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +1 -1
- package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +1 -1
- package/lib/primitives/button/button.component.d.ts +1 -1
- package/lib/primitives/checkbox/checkbox.component.d.ts +1 -1
- package/lib/primitives/error/error.component.d.ts +1 -1
- package/lib/primitives/password-field/password-field.component.d.ts +1 -1
- package/lib/primitives/phone-number-field/phone-number-field.component.d.ts +1 -1
- package/lib/primitives/select/select.component.d.ts +1 -1
- package/lib/primitives/tab-item/tab-item.component.d.ts +1 -1
- package/lib/primitives/tabs/tabs.component.d.ts +1 -1
- package/lib/primitives/text-field/text-field.component.d.ts +1 -1
- package/lib/utilities/amplify-slot/amplify-slot.component.d.ts +1 -1
- package/lib/utilities/amplify-slot/amplify-slot.directive.d.ts +1 -1
- package/package.json +7 -15
- package/version.d.ts +1 -1
- package/esm2020/aws-amplify-ui-angular.mjs +0 -5
- package/esm2020/index.mjs +0 -30
- package/esm2020/lib/common/helpers.mjs +0 -3
- package/esm2020/lib/common/index.mjs +0 -3
- package/esm2020/lib/common/types/auth-types.mjs +0 -2
- package/esm2020/lib/common/types/component-types.mjs +0 -2
- package/esm2020/lib/common/types/index.mjs +0 -3
- package/esm2020/lib/components/authenticator/authenticator.module.mjs +0 -124
- package/esm2020/lib/components/authenticator/components/authenticator/authenticator.component.mjs +0 -180
- package/esm2020/lib/components/authenticator/components/base-form-fields/base-form-fields.component.mjs +0 -32
- package/esm2020/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.mjs +0 -45
- package/esm2020/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.mjs +0 -49
- package/esm2020/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.mjs +0 -49
- package/esm2020/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.mjs +0 -44
- package/esm2020/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.mjs +0 -47
- package/esm2020/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.mjs +0 -26
- package/esm2020/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.mjs +0 -12
- package/esm2020/lib/components/authenticator/components/force-new-password/force-new-password.component.mjs +0 -44
- package/esm2020/lib/components/authenticator/components/forgot-password/forgot-password.component.mjs +0 -44
- package/esm2020/lib/components/authenticator/components/form-field/form-field.component.mjs +0 -50
- package/esm2020/lib/components/authenticator/components/index.mjs +0 -18
- package/esm2020/lib/components/authenticator/components/select-mfa-type/select-mfa-type.component.mjs +0 -52
- package/esm2020/lib/components/authenticator/components/setup-email/setup-email.component.mjs +0 -39
- package/esm2020/lib/components/authenticator/components/setup-totp/setup-totp.component.mjs +0 -69
- package/esm2020/lib/components/authenticator/components/sign-in/sign-in.component.mjs +0 -41
- package/esm2020/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.mjs +0 -12
- package/esm2020/lib/components/authenticator/components/sign-up/sign-up.component.mjs +0 -44
- package/esm2020/lib/components/authenticator/components/verify-user/verify-user.component.mjs +0 -58
- package/esm2020/lib/primitives/button/button.component.mjs +0 -78
- package/esm2020/lib/primitives/checkbox/checkbox.component.mjs +0 -37
- package/esm2020/lib/primitives/error/error.component.mjs +0 -21
- package/esm2020/lib/primitives/index.mjs +0 -10
- package/esm2020/lib/primitives/password-field/password-field.component.mjs +0 -64
- package/esm2020/lib/primitives/phone-number-field/phone-number-field.component.mjs +0 -62
- package/esm2020/lib/primitives/select/select.component.mjs +0 -22
- package/esm2020/lib/primitives/tab-item/tab-item.component.mjs +0 -29
- package/esm2020/lib/primitives/tabs/tabs.component.mjs +0 -48
- package/esm2020/lib/primitives/text-field/text-field.component.mjs +0 -50
- package/esm2020/lib/services/authenticator.service.mjs +0 -180
- package/esm2020/lib/services/custom-components.service.mjs +0 -25
- package/esm2020/lib/utilities/amplify-slot/amplify-slot.component.mjs +0 -33
- package/esm2020/lib/utilities/amplify-slot/amplify-slot.directive.mjs +0 -21
- package/esm2020/version.mjs +0 -2
- package/fesm2015/aws-amplify-ui-angular.mjs +0 -1521
- package/fesm2015/aws-amplify-ui-angular.mjs.map +0 -1
- package/fesm2020/aws-amplify-ui-angular.mjs +0 -1504
- package/fesm2020/aws-amplify-ui-angular.mjs.map +0 -1
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Component, HostBinding, Input, } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../services/custom-components.service";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
|
-
export class AmplifySlotComponent {
|
|
6
|
-
constructor(propService) {
|
|
7
|
-
this.propService = propService;
|
|
8
|
-
this.display = 'contents';
|
|
9
|
-
this.isOverriden = false;
|
|
10
|
-
}
|
|
11
|
-
ngAfterContentInit() {
|
|
12
|
-
const { customComponents } = this.propService;
|
|
13
|
-
const overridingComponent = customComponents[this.name];
|
|
14
|
-
if (overridingComponent) {
|
|
15
|
-
this.overridingComponent = overridingComponent;
|
|
16
|
-
this.isOverriden = true;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
AmplifySlotComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AmplifySlotComponent, deps: [{ token: i1.CustomComponentsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
-
AmplifySlotComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: AmplifySlotComponent, selector: "amplify-slot", inputs: { name: "name", context: "context" }, host: { properties: { "style.display": "this.display" } }, ngImport: i0, template: "<!-- \n if slot isn't overwritten, we display the the default coponent, which is the \n children passed onto this component.\n-->\n<ng-content *ngIf=\"!isOverriden\"></ng-content>\n\n<!-- If slot is overwritten, we render that instead. -->\n<ng-container\n *ngIf=\"isOverriden\"\n [ngTemplateOutlet]=\"overridingComponent\"\n [ngTemplateOutletContext]=\"context\"\n></ng-container>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AmplifySlotComponent, decorators: [{
|
|
23
|
-
type: Component,
|
|
24
|
-
args: [{ selector: 'amplify-slot', template: "<!-- \n if slot isn't overwritten, we display the the default coponent, which is the \n children passed onto this component.\n-->\n<ng-content *ngIf=\"!isOverriden\"></ng-content>\n\n<!-- If slot is overwritten, we render that instead. -->\n<ng-container\n *ngIf=\"isOverriden\"\n [ngTemplateOutlet]=\"overridingComponent\"\n [ngTemplateOutletContext]=\"context\"\n></ng-container>\n" }]
|
|
25
|
-
}], ctorParameters: function () { return [{ type: i1.CustomComponentsService }]; }, propDecorators: { name: [{
|
|
26
|
-
type: Input
|
|
27
|
-
}], context: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}], display: [{
|
|
30
|
-
type: HostBinding,
|
|
31
|
-
args: ['style.display']
|
|
32
|
-
}] } });
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1wbGlmeS1zbG90LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLWFuZ3VsYXIvc3JjL2xpYi91dGlsaXRpZXMvYW1wbGlmeS1zbG90L2FtcGxpZnktc2xvdC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1hbmd1bGFyL3NyYy9saWIvdXRpbGl0aWVzL2FtcGxpZnktc2xvdC9hbXBsaWZ5LXNsb3QuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUVMLFNBQVMsRUFDVCxXQUFXLEVBQ1gsS0FBSyxHQUVOLE1BQU0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cyBjb21wb25lbnQuXG4tLT5cbjxuZy1jb250ZW50ICpuZ0lmPVwiIWlzT3ZlcnJpZGVuXCI+PC9uZy1jb250ZW50PlxuXG48IS0tIElmIHNsb3QgaXMgb3ZlcndyaXR0ZW4sIHdlIHJlbmRlciB0aGF0IGluc3RlYWQuIC0tPlxuPG5nLWNvbnRhaW5lclxuICAqbmdJZj1cImlzT3ZlcnJpZGVuXCJcbiAgW25nVGVtcGxhdGVPdXRsZXRdPVwib3ZlcnJpZGluZ0NvbXBvbmVudFwiXG4gIFtuZ1RlbXBsYXRlT3V0bGV0Q29udGV4dF09XCJjb250ZXh0XCJcbj48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Directive, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class AmplifySlotDirective {
|
|
4
|
-
constructor(template) {
|
|
5
|
-
this.template = template;
|
|
6
|
-
}
|
|
7
|
-
set amplifySlot(component) {
|
|
8
|
-
this.name = component;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
AmplifySlotDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AmplifySlotDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12
|
-
AmplifySlotDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: AmplifySlotDirective, selector: "[amplifySlot]", inputs: { amplifySlot: "amplifySlot" }, ngImport: i0 });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AmplifySlotDirective, decorators: [{
|
|
14
|
-
type: Directive,
|
|
15
|
-
args: [{
|
|
16
|
-
selector: '[amplifySlot]',
|
|
17
|
-
}]
|
|
18
|
-
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; }, propDecorators: { amplifySlot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