@aws-amplify/ui-angular 2.0.1-next.3 → 2.0.1
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 -18
- 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 +1552 -3299
- 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 -19
- 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/tab-item/tab-item.component.js +20 -0
- package/esm2015/lib/primitives/tabs/tabs.component.js +45 -0
- 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 +847 -2583
- 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-input/amplify-input.component.d.ts → components/authenticator/components/form-field/form-field.component.d.ts} +10 -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/button/button.component.d.ts +15 -0
- 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/password-field/password-field.component.d.ts +15 -0
- 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/tab-item/tab-item.component.d.ts +7 -0
- package/lib/primitives/tabs/tabs.component.d.ts +9 -0
- package/lib/primitives/text-field/text-field.component.d.ts +13 -0
- 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/amplify-override.directive.d.ts → utilities/amplify-slot/amplify-slot.directive.d.ts} +2 -2
- package/package.json +5 -5
- package/theme.css +1 -99
- package/esm2015/lib/components/amplify-authenticator/amplify-authenticator.component.js +0 -66
- 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 -102
- 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 -82
- package/esm2015/lib/components/amplify-sign-up/amplify-sign-up.component.js +0 -92
- package/esm2015/lib/components/amplify-verify-user/amplify-verify-user.component.js +0 -73
- 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 -63
- package/esm2015/lib/components/index.js +0 -14
- package/esm2015/lib/directives/amplify-override.directive.js +0 -21
- package/esm2015/lib/primitives/amplify-error/amplify-error.component.js +0 -10
- package/esm2015/lib/primitives/amplify-input/amplify-input.component.js +0 -82
- package/esm2015/lib/primitives/amplify-select/amplify-select.component.js +0 -17
- 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 -46
- package/esm2015/lib/ui-angular.module.js +0 -91
- package/lib/components/amplify-authenticator/amplify-authenticator.component.d.ts +0 -31
- 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 -37
- 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 -34
- package/lib/components/amplify-sign-up/amplify-sign-up.component.d.ts +0 -35
- package/lib/components/amplify-verify-user/amplify-verify-user.component.d.ts +0 -31
- 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 -26
- 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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"ɵa":{"__symbolic":"function"},"AmplifyButton":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["disabled","handleButtonClick","icon","type","variant"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":162,"character":1},"arguments":[{"selector":"amplify-button","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":164,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["disabled","handleButtonClick","icon","type","variant"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyChatbot":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["botName","botTitle","clearOnComplete","conversationModeOn","silenceThreshold","silenceTime","textEnabled","voiceEnabled","welcomeMessage"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":190,"character":1},"arguments":[{"selector":"amplify-chatbot","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":192,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["botName","botTitle","clearOnComplete","conversationModeOn","silenceThreshold","silenceTime","textEnabled","voiceEnabled","welcomeMessage"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyIcon":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["name"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":626,"character":1},"arguments":[{"selector":"amplify-icon","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":628,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["name"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyInput":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["description","disabled","fieldId","handleInputChange","inputProps","name","placeholder","required","type","value"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":672,"character":1},"arguments":[{"selector":"amplify-input","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":674,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["description","disabled","fieldId","handleInputChange","inputProps","name","placeholder","required","type","value"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyPhotoPicker":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["buttonText","handleClick","headerHint","headerTitle","placeholderHint","previewSrc"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":869,"character":1},"arguments":[{"selector":"amplify-photo-picker","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":871,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["buttonText","handleClick","headerHint","headerTitle","placeholderHint","previewSrc"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyPicker":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["acceptValue","inputHandler","pickerText"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":892,"character":1},"arguments":[{"selector":"amplify-picker","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":894,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["acceptValue","inputHandler","pickerText"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyS3Album":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["contentType","fileToKey","filter","handleOnError","handleOnLoad","identityId","level","path","picker","pickerText","sort","track"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":995,"character":1},"arguments":[{"selector":"amplify-s3-album","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":997,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["contentType","fileToKey","filter","handleOnError","handleOnLoad","identityId","level","path","picker","pickerText","sort","track"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyS3Image":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["alt","body","contentType","handleOnError","handleOnLoad","identityId","imgKey","imgProps","level","path","track"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":1038,"character":1},"arguments":[{"selector":"amplify-s3-image","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":1040,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["alt","body","contentType","handleOnError","handleOnLoad","identityId","imgKey","imgProps","level","path","track"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyS3ImagePicker":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["buttonText","contentType","fileToKey","headerHint","headerTitle","identityId","level","path","placeholderHint","track"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":1080,"character":1},"arguments":[{"selector":"amplify-s3-image-picker","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":1082,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["buttonText","contentType","fileToKey","headerHint","headerTitle","identityId","level","path","placeholderHint","track"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyS3Text":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["body","contentType","fallbackText","identityId","level","path","textKey","track"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":1118,"character":1},"arguments":[{"selector":"amplify-s3-text","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":1120,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["body","contentType","fallbackText","identityId","level","path","textKey","track"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyS3TextPicker":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["contentType","fallbackText","fileToKey","identityId","level","path","track"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":1154,"character":1},"arguments":[{"selector":"amplify-s3-text-picker","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":1156,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["contentType","fallbackText","fileToKey","identityId","level","path","track"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyToast":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["handleClose","message"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":1351,"character":1},"arguments":[{"selector":"amplify-toast","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":1353,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["handleClose","message"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"LegacyAmplifyUiModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":46,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"AmplifyChatbot"},{"__symbolic":"reference","name":"AmplifyToast"},{"__symbolic":"reference","name":"AmplifyIcon"},{"__symbolic":"reference","name":"AmplifyInput"},{"__symbolic":"reference","name":"AmplifyButton"},{"__symbolic":"reference","name":"AmplifyS3Album"},{"__symbolic":"reference","name":"AmplifyS3ImagePicker"},{"__symbolic":"reference","name":"AmplifyS3Text"},{"__symbolic":"reference","name":"AmplifyS3TextPicker"},{"__symbolic":"reference","name":"AmplifyS3Image"},{"__symbolic":"reference","name":"AmplifyPicker"},{"__symbolic":"reference","name":"AmplifyPhotoPicker"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":61,"character":12}],"exports":[{"__symbolic":"reference","name":"AmplifyChatbot"},{"__symbolic":"reference","name":"AmplifyToast"},{"__symbolic":"reference","name":"AmplifyIcon"},{"__symbolic":"reference","name":"AmplifyInput"},{"__symbolic":"reference","name":"AmplifyButton"},{"__symbolic":"reference","name":"AmplifyS3Album"},{"__symbolic":"reference","name":"AmplifyS3ImagePicker"},{"__symbolic":"reference","name":"AmplifyS3Text"},{"__symbolic":"reference","name":"AmplifyS3TextPicker"},{"__symbolic":"reference","name":"AmplifyS3Image"},{"__symbolic":"reference","name":"AmplifyPicker"},{"__symbolic":"reference","name":"AmplifyPhotoPicker"}],"schemas":[{"__symbolic":"reference","module":"@angular/core","name":"CUSTOM_ELEMENTS_SCHEMA","line":76,"character":12}]}]}],"members":{}}},"origins":{"ɵa":"./proxies","AmplifyButton":"./proxies","AmplifyChatbot":"./proxies","AmplifyIcon":"./proxies","AmplifyInput":"./proxies","AmplifyPhotoPicker":"./proxies","AmplifyPicker":"./proxies","AmplifyS3Album":"./proxies","AmplifyS3Image":"./proxies","AmplifyS3ImagePicker":"./proxies","AmplifyS3Text":"./proxies","AmplifyS3TextPicker":"./proxies","AmplifyToast":"./proxies","LegacyAmplifyUiModule":"./legacy-ui-angular.module"},"importAs":"@aws-amplify/ui-angular/legacy"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { AmplifyButton, AmplifyChatbot, AmplifyIcon, AmplifyInput, AmplifyPhotoPicker, AmplifyPicker, AmplifyS3Album, AmplifyS3Image, AmplifyS3ImagePicker, AmplifyS3Text, AmplifyS3TextPicker, AmplifyToast, } from './proxies';
|
|
2
|
+
export { LegacyAmplifyUiModule } from './legacy-ui-angular.module';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"main": "../bundles/aws-amplify-ui-angular-legacy.umd.js",
|
|
3
|
+
"module": "../fesm2015/aws-amplify-ui-angular-legacy.js",
|
|
4
|
+
"es2015": "../fesm2015/aws-amplify-ui-angular-legacy.js",
|
|
5
|
+
"esm2015": "../esm2015/legacy/aws-amplify-ui-angular-legacy.js",
|
|
6
|
+
"fesm2015": "../fesm2015/aws-amplify-ui-angular-legacy.js",
|
|
7
|
+
"typings": "aws-amplify-ui-angular-legacy.d.ts",
|
|
8
|
+
"metadata": "aws-amplify-ui-angular-legacy.metadata.json",
|
|
9
|
+
"sideEffects": false,
|
|
10
|
+
"name": "@aws-amplify/ui-angular/legacy"
|
|
11
|
+
}
|
|
File without changes
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { AuthInputAttributes } from '@aws-amplify/ui';
|
|
2
|
-
/**
|
|
3
|
-
* TODO: This should be typed from core
|
|
4
|
-
*/
|
|
5
|
-
export declare type AuthState = 'signIn' | 'signUp' | 'signedIn';
|
|
1
|
+
import { AuthInputAttributes, AuthMachineState } from '@aws-amplify/ui';
|
|
6
2
|
export declare type AttributeInfoProvider = () => AuthInputAttributes;
|
|
3
|
+
export declare type AuthSubscriptionCallback = (state: AuthMachineState) => void;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { AfterContentInit, OnInit } from '@angular/core';
|
|
2
|
+
import { AuthenticatorMachineOptions, SocialProvider } from '@aws-amplify/ui';
|
|
3
|
+
import { CustomComponentsService } from '../../../../services/custom-components.service';
|
|
4
|
+
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
5
|
+
export declare class AuthenticatorComponent implements OnInit, AfterContentInit {
|
|
6
|
+
private authenticator;
|
|
7
|
+
private contextService;
|
|
8
|
+
initialState: AuthenticatorMachineOptions['initialState'];
|
|
9
|
+
loginMechanisms: AuthenticatorMachineOptions['loginMechanisms'];
|
|
10
|
+
services: AuthenticatorMachineOptions['services'];
|
|
11
|
+
signUpAttributes: AuthenticatorMachineOptions['signUpAttributes'];
|
|
12
|
+
socialProviders: SocialProvider[];
|
|
13
|
+
variation: 'default' | 'modal';
|
|
14
|
+
private customComponentQuery;
|
|
15
|
+
signInTitle: string;
|
|
16
|
+
signUpTitle: string;
|
|
17
|
+
constructor(authenticator: AuthenticatorService, contextService: CustomComponentsService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
/**
|
|
20
|
+
* Lifecycle Methods
|
|
21
|
+
*/
|
|
22
|
+
ngAfterContentInit(): void;
|
|
23
|
+
/**
|
|
24
|
+
* Class Functions
|
|
25
|
+
*/
|
|
26
|
+
get context(): {
|
|
27
|
+
$implicit: {
|
|
28
|
+
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
29
|
+
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
30
|
+
submitForm: (data?: Record<string | number | symbol, any>) => void;
|
|
31
|
+
updateForm: (data?: Record<string | number | symbol, any>) => void;
|
|
32
|
+
toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
33
|
+
toResetPassword: (data?: Record<string | number | symbol, any>) => void;
|
|
34
|
+
toSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
35
|
+
toSignUp: (data?: Record<string | number | symbol, any>) => void;
|
|
36
|
+
skipVerification: (data?: Record<string | number | symbol, any>) => void;
|
|
37
|
+
error: string;
|
|
38
|
+
hasValidationErrors: boolean;
|
|
39
|
+
isPending: boolean;
|
|
40
|
+
route: string;
|
|
41
|
+
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
42
|
+
validationErrors: {
|
|
43
|
+
[x: string]: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
47
|
+
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
48
|
+
submitForm: (data?: Record<string | number | symbol, any>) => void;
|
|
49
|
+
updateForm: (data?: Record<string | number | symbol, any>) => void;
|
|
50
|
+
toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
51
|
+
toResetPassword: (data?: Record<string | number | symbol, any>) => void;
|
|
52
|
+
toSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
53
|
+
toSignUp: (data?: Record<string | number | symbol, any>) => void;
|
|
54
|
+
skipVerification: (data?: Record<string | number | symbol, any>) => void;
|
|
55
|
+
error: string;
|
|
56
|
+
hasValidationErrors: boolean;
|
|
57
|
+
isPending: boolean;
|
|
58
|
+
route: string;
|
|
59
|
+
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
60
|
+
validationErrors: {
|
|
61
|
+
[x: string]: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
get route(): string;
|
|
65
|
+
onTabChange(): void;
|
|
66
|
+
private mapCustomComponents;
|
|
67
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
2
|
+
export declare class ConfirmResetPasswordComponent {
|
|
3
|
+
authenticator: AuthenticatorService;
|
|
4
|
+
dataAttr: string;
|
|
5
|
+
headerText: string;
|
|
6
|
+
sendCodeText: string;
|
|
7
|
+
backToSignInText: string;
|
|
8
|
+
resendCodeText: string;
|
|
9
|
+
constructor(authenticator: AuthenticatorService);
|
|
10
|
+
get context(): {
|
|
11
|
+
$implicit: {
|
|
12
|
+
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
13
|
+
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
14
|
+
submitForm: (data?: Record<string | number | symbol, any>) => void;
|
|
15
|
+
updateForm: (data?: Record<string | number | symbol, any>) => void;
|
|
16
|
+
toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
17
|
+
toResetPassword: (data?: Record<string | number | symbol, any>) => void;
|
|
18
|
+
toSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
19
|
+
toSignUp: (data?: Record<string | number | symbol, any>) => void;
|
|
20
|
+
skipVerification: (data?: Record<string | number | symbol, any>) => void;
|
|
21
|
+
error: string;
|
|
22
|
+
hasValidationErrors: boolean;
|
|
23
|
+
isPending: boolean;
|
|
24
|
+
route: string;
|
|
25
|
+
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
26
|
+
validationErrors: {
|
|
27
|
+
[x: string]: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
31
|
+
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
32
|
+
submitForm: (data?: Record<string | number | symbol, any>) => void;
|
|
33
|
+
updateForm: (data?: Record<string | number | symbol, any>) => void;
|
|
34
|
+
toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
35
|
+
toResetPassword: (data?: Record<string | number | symbol, any>) => void;
|
|
36
|
+
toSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
37
|
+
toSignUp: (data?: Record<string | number | symbol, any>) => void;
|
|
38
|
+
skipVerification: (data?: Record<string | number | symbol, any>) => void;
|
|
39
|
+
error: string;
|
|
40
|
+
hasValidationErrors: boolean;
|
|
41
|
+
isPending: boolean;
|
|
42
|
+
route: string;
|
|
43
|
+
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
44
|
+
validationErrors: {
|
|
45
|
+
[x: string]: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
onInput(event: Event): void;
|
|
49
|
+
onSubmit(event: Event): void;
|
|
50
|
+
}
|
package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
3
|
+
export declare class ConfirmSignInComponent implements OnInit {
|
|
4
|
+
authenticator: AuthenticatorService;
|
|
5
|
+
dataAttr: string;
|
|
6
|
+
headerText: string;
|
|
7
|
+
confirmText: string;
|
|
8
|
+
backToSignInText: string;
|
|
9
|
+
constructor(authenticator: AuthenticatorService);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
get context(): {
|
|
12
|
+
$implicit: {
|
|
13
|
+
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
14
|
+
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
15
|
+
submitForm: (data?: Record<string | number | symbol, any>) => void;
|
|
16
|
+
updateForm: (data?: Record<string | number | symbol, any>) => void;
|
|
17
|
+
toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
18
|
+
toResetPassword: (data?: Record<string | number | symbol, any>) => void;
|
|
19
|
+
toSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
20
|
+
toSignUp: (data?: Record<string | number | symbol, any>) => void;
|
|
21
|
+
skipVerification: (data?: Record<string | number | symbol, any>) => void;
|
|
22
|
+
error: string;
|
|
23
|
+
hasValidationErrors: boolean;
|
|
24
|
+
isPending: boolean;
|
|
25
|
+
route: string;
|
|
26
|
+
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
27
|
+
validationErrors: {
|
|
28
|
+
[x: string]: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
32
|
+
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
33
|
+
submitForm: (data?: Record<string | number | symbol, any>) => void;
|
|
34
|
+
updateForm: (data?: Record<string | number | symbol, any>) => void;
|
|
35
|
+
toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
36
|
+
toResetPassword: (data?: Record<string | number | symbol, any>) => void;
|
|
37
|
+
toSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
38
|
+
toSignUp: (data?: Record<string | number | symbol, any>) => void;
|
|
39
|
+
skipVerification: (data?: Record<string | number | symbol, any>) => void;
|
|
40
|
+
error: string;
|
|
41
|
+
hasValidationErrors: boolean;
|
|
42
|
+
isPending: boolean;
|
|
43
|
+
route: string;
|
|
44
|
+
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
45
|
+
validationErrors: {
|
|
46
|
+
[x: string]: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
setHeaderText(): void;
|
|
50
|
+
onInput(event: Event): void;
|
|
51
|
+
onSubmit(event: Event): void;
|
|
52
|
+
}
|
package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
2
|
+
export declare class ConfirmSignUpComponent {
|
|
3
|
+
authenticator: AuthenticatorService;
|
|
4
|
+
headerText: string;
|
|
5
|
+
dataAttr: string;
|
|
6
|
+
resendCodeText: string;
|
|
7
|
+
confirmText: string;
|
|
8
|
+
constructor(authenticator: AuthenticatorService);
|
|
9
|
+
get context(): {
|
|
10
|
+
$implicit: {
|
|
11
|
+
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
12
|
+
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
13
|
+
submitForm: (data?: Record<string | number | symbol, any>) => void;
|
|
14
|
+
updateForm: (data?: Record<string | number | symbol, any>) => void;
|
|
15
|
+
toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
16
|
+
toResetPassword: (data?: Record<string | number | symbol, any>) => void;
|
|
17
|
+
toSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
18
|
+
toSignUp: (data?: Record<string | number | symbol, any>) => void;
|
|
19
|
+
skipVerification: (data?: Record<string | number | symbol, any>) => void;
|
|
20
|
+
error: string;
|
|
21
|
+
hasValidationErrors: boolean;
|
|
22
|
+
isPending: boolean;
|
|
23
|
+
route: string;
|
|
24
|
+
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
25
|
+
validationErrors: {
|
|
26
|
+
[x: string]: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
30
|
+
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
31
|
+
submitForm: (data?: Record<string | number | symbol, any>) => void;
|
|
32
|
+
updateForm: (data?: Record<string | number | symbol, any>) => void;
|
|
33
|
+
toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
34
|
+
toResetPassword: (data?: Record<string | number | symbol, any>) => void;
|
|
35
|
+
toSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
36
|
+
toSignUp: (data?: Record<string | number | symbol, any>) => void;
|
|
37
|
+
skipVerification: (data?: Record<string | number | symbol, any>) => void;
|
|
38
|
+
error: string;
|
|
39
|
+
hasValidationErrors: boolean;
|
|
40
|
+
isPending: boolean;
|
|
41
|
+
route: string;
|
|
42
|
+
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
43
|
+
validationErrors: {
|
|
44
|
+
[x: string]: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
onInput(event: Event): void;
|
|
48
|
+
onSubmit(event: Event): void;
|
|
49
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
2
|
+
export declare class ConfirmVerifyUserComponent {
|
|
3
|
+
authenticator: AuthenticatorService;
|
|
4
|
+
dataAttr: string;
|
|
5
|
+
headerText: string;
|
|
6
|
+
skipText: string;
|
|
7
|
+
submitText: string;
|
|
8
|
+
constructor(authenticator: AuthenticatorService);
|
|
9
|
+
get context(): {
|
|
10
|
+
$implicit: {
|
|
11
|
+
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
12
|
+
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
13
|
+
submitForm: (data?: Record<string | number | symbol, any>) => void;
|
|
14
|
+
updateForm: (data?: Record<string | number | symbol, any>) => void;
|
|
15
|
+
toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
16
|
+
toResetPassword: (data?: Record<string | number | symbol, any>) => void;
|
|
17
|
+
toSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
18
|
+
toSignUp: (data?: Record<string | number | symbol, any>) => void;
|
|
19
|
+
skipVerification: (data?: Record<string | number | symbol, any>) => void;
|
|
20
|
+
error: string;
|
|
21
|
+
hasValidationErrors: boolean;
|
|
22
|
+
isPending: boolean;
|
|
23
|
+
route: string;
|
|
24
|
+
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
25
|
+
validationErrors: {
|
|
26
|
+
[x: string]: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
30
|
+
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
31
|
+
submitForm: (data?: Record<string | number | symbol, any>) => void;
|
|
32
|
+
updateForm: (data?: Record<string | number | symbol, any>) => void;
|
|
33
|
+
toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
34
|
+
toResetPassword: (data?: Record<string | number | symbol, any>) => void;
|
|
35
|
+
toSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
36
|
+
toSignUp: (data?: Record<string | number | symbol, any>) => void;
|
|
37
|
+
skipVerification: (data?: Record<string | number | symbol, any>) => void;
|
|
38
|
+
error: string;
|
|
39
|
+
hasValidationErrors: boolean;
|
|
40
|
+
isPending: boolean;
|
|
41
|
+
route: string;
|
|
42
|
+
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
43
|
+
validationErrors: {
|
|
44
|
+
[x: string]: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
onInput(event: Event): void;
|
|
48
|
+
onSubmit(event: Event): void;
|
|
49
|
+
}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { FederatedIdentityProviders } from '@aws-amplify/ui';
|
|
3
|
-
import {
|
|
4
|
-
export declare class
|
|
5
|
-
private
|
|
3
|
+
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
4
|
+
export declare class FederatedSignInComponent implements OnInit {
|
|
5
|
+
private authenticator;
|
|
6
6
|
FederatedProviders: typeof FederatedIdentityProviders;
|
|
7
|
+
includeAmazon: boolean;
|
|
8
|
+
includeApple: boolean;
|
|
7
9
|
includeFacebook: boolean;
|
|
8
10
|
includeGoogle: boolean;
|
|
9
|
-
includeAmazon: boolean;
|
|
10
11
|
shouldShowFederatedSignIn: boolean;
|
|
12
|
+
signInAmazonText: string;
|
|
13
|
+
signInAppleText: string;
|
|
11
14
|
signInFacebookText: string;
|
|
12
15
|
signInGoogleText: string;
|
|
13
|
-
|
|
14
|
-
constructor(stateMachine: StateMachineService);
|
|
16
|
+
constructor(authenticator: AuthenticatorService);
|
|
15
17
|
ngOnInit(): void;
|
|
18
|
+
private setFederatedTexts;
|
|
16
19
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FederatedIdentityProviders } from '@aws-amplify/ui';
|
|
2
|
+
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
3
|
+
export declare class FederatedSignInButtonComponent {
|
|
4
|
+
private authenticator;
|
|
5
|
+
provider: FederatedIdentityProviders;
|
|
6
|
+
text: string;
|
|
7
|
+
constructor(authenticator: AuthenticatorService);
|
|
8
|
+
onClick: () => void;
|
|
9
|
+
}
|
package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
2
|
+
export declare class ForceNewPasswordComponent {
|
|
3
|
+
authenticator: AuthenticatorService;
|
|
4
|
+
dataAttr: string;
|
|
5
|
+
headerText: string;
|
|
6
|
+
changePasswordText: string;
|
|
7
|
+
backToSignInText: string;
|
|
8
|
+
constructor(authenticator: AuthenticatorService);
|
|
9
|
+
get context(): {
|
|
10
|
+
$implicit: {
|
|
11
|
+
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
12
|
+
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
13
|
+
submitForm: (data?: Record<string | number | symbol, any>) => void;
|
|
14
|
+
updateForm: (data?: Record<string | number | symbol, any>) => void;
|
|
15
|
+
toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
16
|
+
toResetPassword: (data?: Record<string | number | symbol, any>) => void;
|
|
17
|
+
toSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
18
|
+
toSignUp: (data?: Record<string | number | symbol, any>) => void;
|
|
19
|
+
skipVerification: (data?: Record<string | number | symbol, any>) => void;
|
|
20
|
+
error: string;
|
|
21
|
+
hasValidationErrors: boolean;
|
|
22
|
+
isPending: boolean;
|
|
23
|
+
route: string;
|
|
24
|
+
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
25
|
+
validationErrors: {
|
|
26
|
+
[x: string]: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
30
|
+
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
31
|
+
submitForm: (data?: Record<string | number | symbol, any>) => void;
|
|
32
|
+
updateForm: (data?: Record<string | number | symbol, any>) => void;
|
|
33
|
+
toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
34
|
+
toResetPassword: (data?: Record<string | number | symbol, any>) => void;
|
|
35
|
+
toSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
36
|
+
toSignUp: (data?: Record<string | number | symbol, any>) => void;
|
|
37
|
+
skipVerification: (data?: Record<string | number | symbol, any>) => void;
|
|
38
|
+
error: string;
|
|
39
|
+
hasValidationErrors: boolean;
|
|
40
|
+
isPending: boolean;
|
|
41
|
+
route: string;
|
|
42
|
+
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
43
|
+
validationErrors: {
|
|
44
|
+
[x: string]: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
onInput(event: Event): void;
|
|
48
|
+
onSubmit(event: Event): void;
|
|
49
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { AuthInputAttributes } from '@aws-amplify/ui';
|
|
3
|
-
import {
|
|
3
|
+
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
4
4
|
/**
|
|
5
5
|
* Input interface opinionated for authenticator usage.
|
|
6
6
|
*
|
|
@@ -8,8 +8,8 @@ import { StateMachineService } from '../../services/state-machine.service';
|
|
|
8
8
|
* contains authenticator opinionated logic and 2) amplify-text-field primitive
|
|
9
9
|
* that does not make any auth-related inference.
|
|
10
10
|
*/
|
|
11
|
-
export declare class
|
|
12
|
-
private
|
|
11
|
+
export declare class FormFieldComponent implements OnInit {
|
|
12
|
+
private authenticator;
|
|
13
13
|
name: string;
|
|
14
14
|
type: string;
|
|
15
15
|
required: boolean;
|
|
@@ -18,14 +18,19 @@ export declare class AmplifyInputComponent implements OnInit {
|
|
|
18
18
|
initialValue: string;
|
|
19
19
|
disabled: boolean;
|
|
20
20
|
autocomplete: string;
|
|
21
|
+
labelHidden: boolean;
|
|
21
22
|
defaultCountryCode: string;
|
|
22
23
|
countryDialCodes: string[];
|
|
23
|
-
|
|
24
|
+
textFieldId: string;
|
|
25
|
+
selectFieldId: string;
|
|
26
|
+
constructor(authenticator: AuthenticatorService);
|
|
24
27
|
ngOnInit(): void;
|
|
25
28
|
get attributeMap(): AuthInputAttributes;
|
|
26
29
|
get error(): string;
|
|
27
|
-
isTelInput(): boolean;
|
|
28
30
|
inferLabel(): string;
|
|
29
31
|
inferPlaceholder(): string;
|
|
30
32
|
inferType(): string;
|
|
33
|
+
inferAutocomplete(): string;
|
|
34
|
+
isPasswordField(): boolean;
|
|
35
|
+
isPhoneField(): boolean;
|
|
31
36
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { AuthenticatorComponent } from './authenticator/authenticator.component';
|
|
2
|
+
export { ConfirmResetPasswordComponent } from './confirm-reset-password/amplify-confirm-reset-password.component';
|
|
3
|
+
export { ConfirmSignInComponent } from './confirm-sign-in/confirm-sign-in.component';
|
|
4
|
+
export { ConfirmSignUpComponent } from './confirm-sign-up/confirm-sign-up.component';
|
|
5
|
+
export { ConfirmVerifyUserComponent } from './confirm-verify-user/amplify-confirm-verify-user.component';
|
|
6
|
+
export { FederatedSignInButtonComponent } from './federated-sign-in-button/federated-sign-in-button.component';
|
|
7
|
+
export { FederatedSignInComponent } from './federated-sign-in/federated-sign-in.component';
|
|
8
|
+
export { ForceNewPasswordComponent } from './force-new-password/force-new-password.component';
|
|
9
|
+
export { FormFieldComponent } from './form-field/form-field.component';
|
|
10
|
+
export { ResetPasswordComponent } from './reset-password/reset-password.component';
|
|
11
|
+
export { SetupTotpComponent } from './setup-totp/setup-totp.component';
|
|
12
|
+
export { SignInComponent } from './sign-in/sign-in.component';
|
|
13
|
+
export { SignUpComponent } from './sign-up/sign-up.component';
|
|
14
|
+
export { SignUpFormFieldsComponent } from './sign-up/sign-up-form-fields/sign-up-form-fields.component';
|
|
15
|
+
export { UserNameAliasComponent } from './user-name-alias/user-name-alias.component';
|
|
16
|
+
export { VerifyUserComponent } from './verify-user/verify-user.component';
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
3
|
+
export declare class ResetPasswordComponent implements OnInit {
|
|
4
|
+
authenticator: AuthenticatorService;
|
|
5
|
+
dataAttr: string;
|
|
6
|
+
headerText: string;
|
|
7
|
+
sendCodeText: string;
|
|
8
|
+
backToSignInText: string;
|
|
9
|
+
labelText: string;
|
|
10
|
+
constructor(authenticator: AuthenticatorService);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
get context(): {
|
|
13
|
+
$implicit: {
|
|
14
|
+
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
15
|
+
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
16
|
+
submitForm: (data?: Record<string | number | symbol, any>) => void;
|
|
17
|
+
updateForm: (data?: Record<string | number | symbol, any>) => void;
|
|
18
|
+
toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
19
|
+
toResetPassword: (data?: Record<string | number | symbol, any>) => void;
|
|
20
|
+
toSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
21
|
+
toSignUp: (data?: Record<string | number | symbol, any>) => void;
|
|
22
|
+
skipVerification: (data?: Record<string | number | symbol, any>) => void;
|
|
23
|
+
error: string;
|
|
24
|
+
hasValidationErrors: boolean;
|
|
25
|
+
isPending: boolean;
|
|
26
|
+
route: string;
|
|
27
|
+
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
28
|
+
validationErrors: {
|
|
29
|
+
[x: string]: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
33
|
+
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
34
|
+
submitForm: (data?: Record<string | number | symbol, any>) => void;
|
|
35
|
+
updateForm: (data?: Record<string | number | symbol, any>) => void;
|
|
36
|
+
toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
37
|
+
toResetPassword: (data?: Record<string | number | symbol, any>) => void;
|
|
38
|
+
toSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
39
|
+
toSignUp: (data?: Record<string | number | symbol, any>) => void;
|
|
40
|
+
skipVerification: (data?: Record<string | number | symbol, any>) => void;
|
|
41
|
+
error: string;
|
|
42
|
+
hasValidationErrors: boolean;
|
|
43
|
+
isPending: boolean;
|
|
44
|
+
route: string;
|
|
45
|
+
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
46
|
+
validationErrors: {
|
|
47
|
+
[x: string]: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
onInput(event: Event): void;
|
|
51
|
+
onSubmit(event: Event): void;
|
|
52
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
3
|
+
export declare class SetupTotpComponent implements OnInit {
|
|
4
|
+
authenticator: AuthenticatorService;
|
|
5
|
+
dataAttr: string;
|
|
6
|
+
headerText: string;
|
|
7
|
+
qrCodeSource: string;
|
|
8
|
+
backToSignInText: string;
|
|
9
|
+
confirmText: string;
|
|
10
|
+
constructor(authenticator: AuthenticatorService);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
get context(): {
|
|
13
|
+
$implicit: {
|
|
14
|
+
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
15
|
+
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
16
|
+
submitForm: (data?: Record<string | number | symbol, any>) => void;
|
|
17
|
+
updateForm: (data?: Record<string | number | symbol, any>) => void;
|
|
18
|
+
toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
19
|
+
toResetPassword: (data?: Record<string | number | symbol, any>) => void;
|
|
20
|
+
toSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
21
|
+
toSignUp: (data?: Record<string | number | symbol, any>) => void;
|
|
22
|
+
skipVerification: (data?: Record<string | number | symbol, any>) => void;
|
|
23
|
+
error: string;
|
|
24
|
+
hasValidationErrors: boolean;
|
|
25
|
+
isPending: boolean;
|
|
26
|
+
route: string;
|
|
27
|
+
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
28
|
+
validationErrors: {
|
|
29
|
+
[x: string]: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
33
|
+
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
34
|
+
submitForm: (data?: Record<string | number | symbol, any>) => void;
|
|
35
|
+
updateForm: (data?: Record<string | number | symbol, any>) => void;
|
|
36
|
+
toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
37
|
+
toResetPassword: (data?: Record<string | number | symbol, any>) => void;
|
|
38
|
+
toSignIn: (data?: Record<string | number | symbol, any>) => void;
|
|
39
|
+
toSignUp: (data?: Record<string | number | symbol, any>) => void;
|
|
40
|
+
skipVerification: (data?: Record<string | number | symbol, any>) => void;
|
|
41
|
+
error: string;
|
|
42
|
+
hasValidationErrors: boolean;
|
|
43
|
+
isPending: boolean;
|
|
44
|
+
route: string;
|
|
45
|
+
user: import("@aws-amplify/ui").CognitoUserAmplify;
|
|
46
|
+
validationErrors: {
|
|
47
|
+
[x: string]: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
generateQRCode(): Promise<void>;
|
|
51
|
+
onInput(event: Event): void;
|
|
52
|
+
onSubmit(event: Event): void;
|
|
53
|
+
}
|