@aws-amplify/ui-angular 2.4.26 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/README.md +0 -3
  2. package/aws-amplify-ui-angular.d.ts +1 -27
  3. package/bundles/aws-amplify-ui-angular.umd.js +1585 -1498
  4. package/bundles/aws-amplify-ui-angular.umd.js.map +1 -1
  5. package/esm2015/aws-amplify-ui-angular.js +1 -28
  6. package/esm2015/lib/components/authenticator/authenticator.module.js +81 -44
  7. package/esm2015/lib/components/authenticator/components/authenticator/authenticator.component.js +60 -36
  8. package/esm2015/lib/components/authenticator/components/base-form-fields/base-form-fields.component.js +20 -39
  9. package/esm2015/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.js +28 -27
  10. package/esm2015/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.js +25 -30
  11. package/esm2015/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.js +29 -36
  12. package/esm2015/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.js +27 -19
  13. package/esm2015/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.js +20 -17
  14. package/esm2015/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.js +17 -15
  15. package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.js +12 -7
  16. package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password.component.js +27 -19
  17. package/esm2015/lib/components/authenticator/components/form-field/form-field.component.js +20 -15
  18. package/esm2015/lib/components/authenticator/components/reset-password/reset-password.component.js +27 -19
  19. package/esm2015/lib/components/authenticator/components/setup-totp/setup-totp.component.js +27 -21
  20. package/esm2015/lib/components/authenticator/components/sign-in/sign-in.component.js +27 -23
  21. package/esm2015/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.js +12 -7
  22. package/esm2015/lib/components/authenticator/components/sign-up/sign-up.component.js +24 -16
  23. package/esm2015/lib/components/authenticator/components/verify-user/verify-user.component.js +27 -20
  24. package/esm2015/lib/primitives/button/button.component.js +44 -22
  25. package/esm2015/lib/primitives/checkbox/checkbox.component.js +24 -15
  26. package/esm2015/lib/primitives/error/error.component.js +13 -7
  27. package/esm2015/lib/primitives/password-field/password-field.component.js +37 -21
  28. package/esm2015/lib/primitives/phone-number-field/phone-number-field.component.js +45 -25
  29. package/esm2015/lib/primitives/select/select.component.js +22 -14
  30. package/esm2015/lib/primitives/tab-item/tab-item.component.js +25 -15
  31. package/esm2015/lib/primitives/tabs/tabs.component.js +17 -11
  32. package/esm2015/lib/primitives/text-field/text-field.component.js +38 -22
  33. package/esm2015/lib/services/authenticator.service.js +9 -8
  34. package/esm2015/lib/services/custom-components.service.js +9 -7
  35. package/esm2015/lib/utilities/amplify-slot/amplify-slot.component.js +20 -16
  36. package/esm2015/lib/utilities/amplify-slot/amplify-slot.directive.js +13 -13
  37. package/fesm2015/aws-amplify-ui-angular.js +1035 -928
  38. package/fesm2015/aws-amplify-ui-angular.js.map +1 -1
  39. package/lib/components/authenticator/authenticator.module.d.ts +33 -0
  40. package/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +27 -24
  41. package/lib/components/authenticator/components/base-form-fields/base-form-fields.component.d.ts +3 -1
  42. package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +28 -30
  43. package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +27 -24
  44. package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +27 -29
  45. package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +27 -24
  46. package/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.d.ts +3 -0
  47. package/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.d.ts +3 -0
  48. package/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.d.ts +3 -0
  49. package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +27 -24
  50. package/lib/components/authenticator/components/form-field/form-field.component.d.ts +3 -0
  51. package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts +27 -24
  52. package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +27 -24
  53. package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +27 -24
  54. package/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.d.ts +3 -0
  55. package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +27 -24
  56. package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +27 -24
  57. package/lib/primitives/button/button.component.d.ts +3 -0
  58. package/lib/primitives/checkbox/checkbox.component.d.ts +3 -0
  59. package/lib/primitives/error/error.component.d.ts +3 -0
  60. package/lib/primitives/password-field/password-field.component.d.ts +3 -0
  61. package/lib/primitives/phone-number-field/phone-number-field.component.d.ts +3 -0
  62. package/lib/primitives/select/select.component.d.ts +3 -0
  63. package/lib/primitives/tab-item/tab-item.component.d.ts +3 -0
  64. package/lib/primitives/tabs/tabs.component.d.ts +3 -0
  65. package/lib/primitives/text-field/text-field.component.d.ts +3 -0
  66. package/lib/services/authenticator.service.d.ts +39 -36
  67. package/lib/services/custom-components.service.d.ts +3 -0
  68. package/lib/utilities/amplify-slot/amplify-slot.component.d.ts +3 -0
  69. package/lib/utilities/amplify-slot/amplify-slot.directive.d.ts +3 -0
  70. package/package.json +3 -6
  71. package/aws-amplify-ui-angular.metadata.json +0 -1
  72. package/bundles/aws-amplify-ui-angular-legacy.umd.js +0 -2238
  73. package/bundles/aws-amplify-ui-angular-legacy.umd.js.map +0 -1
  74. package/bundles/aws-amplify-ui-angular-legacy.umd.min.js +0 -2
  75. package/bundles/aws-amplify-ui-angular-legacy.umd.min.js.map +0 -1
  76. package/bundles/aws-amplify-ui-angular.umd.min.js +0 -2
  77. package/bundles/aws-amplify-ui-angular.umd.min.js.map +0 -1
  78. package/esm2015/legacy/aws-amplify-ui-angular-legacy.js +0 -6
  79. package/esm2015/legacy/index.js +0 -3
  80. package/esm2015/legacy/legacy-ui-angular.module.js +0 -53
  81. package/esm2015/legacy/proxies.js +0 -1839
  82. package/fesm2015/aws-amplify-ui-angular-legacy.js +0 -1846
  83. package/fesm2015/aws-amplify-ui-angular-legacy.js.map +0 -1
  84. package/legacy/aws-amplify-ui-angular-legacy.d.ts +0 -5
  85. package/legacy/aws-amplify-ui-angular-legacy.metadata.json +0 -1
  86. package/legacy/index.d.ts +0 -2
  87. package/legacy/legacy-ui-angular.module.d.ts +0 -2
  88. package/legacy/package.json +0 -11
  89. package/legacy/proxies.d.ts +0 -395
@@ -1,2 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("@aws-amplify/ui"),require("@aws-amplify/core"),require("xstate"),require("aws-amplify"),require("nanoid"),require("qrcode")):"function"==typeof define&&define.amd?define("@aws-amplify/ui-angular",["exports","@angular/core","@angular/common","@aws-amplify/ui","@aws-amplify/core","xstate","aws-amplify","nanoid","qrcode"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self)["aws-amplify"]=t["aws-amplify"]||{},t["aws-amplify"]["ui-angular"]={}),t.ng.core,t.ng.common,t.ui,t.core,t.xstate,t["aws-amplify"],t.nanoid,t.QRCode)}(this,(function(t,e,n,i,a,o,r,s,l){"use strict";function p(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function u(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,Object.freeze(e)}var c=u(e),d=p(l),f=function(){function t(t){this.template=t}return Object.defineProperty(t.prototype,"amplifySlot",{set:function(t){this.name=t},enumerable:!1,configurable:!0}),t}();f.decorators=[{type:e.Directive,args:[{selector:"[amplifySlot]"}]}],f.ctorParameters=function(){return[{type:e.TemplateRef}]},f.propDecorators={amplifySlot:[{type:e.Input}]};var m=function(){function t(){this._customComponents={}}return Object.defineProperty(t.prototype,"customComponents",{get:function(){return this._customComponents},set:function(t){this._customComponents=Object.assign(Object.assign({},this._customComponents),t)},enumerable:!1,configurable:!0}),t}();m.ɵprov=c.ɵɵdefineInjectable({factory:function(){return new m},token:m,providedIn:"root"}),m.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}];var y=new a.Logger("state-machine"),h=function(){function t(){var t=this,e=i.createAuthenticatorMachine(),n=o.interpret(e).start();this._machineSubscription=n.subscribe((function(e){t._authState=e,t._facade=i.getServiceContextFacade(e)})),this._sendEventAliases=i.getSendEventAliases(n.send),this._authService=n}return t.prototype.ngOnDestroy=function(){this._machineSubscription&&this._machineSubscription.unsubscribe()},Object.defineProperty(t.prototype,"error",{get:function(){var t;return i.translate(null===(t=this._facade)||void 0===t?void 0:t.error)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasValidationErrors",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.hasValidationErrors},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPending",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.isPending},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"route",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.route},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authStatus",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.authStatus},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"user",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.user},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validationErrors",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.validationErrors},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"codeDeliveryDetails",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.codeDeliveryDetails},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"initializeMachine",{get:function(){return this._sendEventAliases.initializeMachine},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"updateForm",{get:function(){return this._sendEventAliases.updateForm},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"updateBlur",{get:function(){return this._sendEventAliases.updateBlur},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"resendCode",{get:function(){return this._sendEventAliases.resendCode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"signOut",{get:function(){return this._sendEventAliases.signOut},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"submitForm",{get:function(){return this._sendEventAliases.submitForm},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toFederatedSignIn",{get:function(){return this._sendEventAliases.toFederatedSignIn},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toResetPassword",{get:function(){return this._sendEventAliases.toResetPassword},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toSignIn",{get:function(){return this._sendEventAliases.toSignIn},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toSignUp",{get:function(){return this._sendEventAliases.toSignUp},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"skipVerification",{get:function(){return this._sendEventAliases.skipVerification},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authState",{get:function(){return this._authState},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authService",{get:function(){return this._authService},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._authState.context},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"slotContext",{get:function(){var t=Object.assign(Object.assign({},this._facade),this._sendEventAliases);return Object.assign(Object.assign({},t),{$implicit:Object.assign({},t)})},enumerable:!1,configurable:!0}),t.prototype.subscribe=function(t){if(this._authService)return this._authService.subscribe(t);y.error("Subscription attempted before machine was created. This is likely a bug on the library, please consider filing a bug.")},t.prototype.send=function(t){this.authService.send(t)},t}();h.ɵprov=c.ɵɵdefineInjectable({factory:function(){return new h},token:h,providedIn:"root"}),h.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],h.ctorParameters=function(){return[]};var g=function(){function t(t,e,n){this.authenticator=t,this.contextService=e,this.changeDetector=n,this.customComponentQuery=null,this.signInTitle=i.translate("Sign In"),this.signUpTitle=i.translate("Create Account"),this.hasInitialized=!1,this.isHandlingHubEvent=!1}return t.prototype.ngOnInit=function(){var t=this,e=this,n=e.initialState,a=e.loginMechanisms,o=e.services,r=e.signUpAttributes,s=e.socialProviders,l=e.formFields,p=this.authenticator,u=p.authService,c=p.initializeMachine;this.unsubscribeHub=i.listenToAuthHub(u,(function(e,n){i.defaultAuthHubHandler(e,n),t.changeDetector.detectChanges(),t.isHandlingHubEvent=!0})),this.unsubscribeMachine=this.authenticator.subscribe((function(){var e=t.authenticator.route;t.isHandlingHubEvent&&(t.changeDetector.detectChanges(),e===(null!=n?n:"signIn")&&(t.isHandlingHubEvent=!1));t.hasInitialized||"setup"!==e||(c({initialState:n,loginMechanisms:a,services:o,signUpAttributes:r,socialProviders:s,formFields:l}),t.hasInitialized=!0)})).unsubscribe,this.signInTitle=i.translate("Sign In"),this.signUpTitle=i.translate("Create Account")},t.prototype.ngAfterContentInit=function(){this.contextService.customComponents=this.mapCustomComponents(this.customComponentQuery)},t.prototype.ngOnDestroy=function(){this.unsubscribeMachine&&this.unsubscribeMachine(),this.unsubscribeHub&&this.unsubscribeHub()},Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"route",{get:function(){return this.authenticator.route},enumerable:!1,configurable:!0}),t.prototype.onTabChange=function(){"signIn"===this.authenticator.route?this.authenticator.toSignUp():this.authenticator.toSignIn()},t.prototype.hasTabs=function(){var t=this.authenticator.route;return"signIn"===t||"signUp"===t},t.prototype.hasRouteComponent=function(){switch(this.authenticator.route){case"authenticated":case"idle":case"setup":case"signOut":case"autoSignIn":return!1;default:return!0}},t.prototype.mapCustomComponents=function(t){if(!t)return{};var e={};return t.forEach((function(t){e[t.name]=t.template})),e},t}();g.decorators=[{type:e.Component,args:[{selector:"amplify-authenticator",template:'<div\n data-amplify-authenticator\n [attr.data-variation]="variation"\n *ngIf="hasRouteComponent()"\n>\n <div data-amplify-container>\n <amplify-slot name="header" [context]="context"></amplify-slot>\n <div\n data-amplify-router\n [attr.data-amplify-router-content]="hasTabs() ? undefined : \'\'"\n >\n <amplify-tabs\n (tabChange)="onTabChange()"\n *ngIf="(route === \'signIn\' || route === \'signUp\') && !hideSignUp"\n >\n <amplify-tab-item\n [title]="signInTitle"\n [active]="route === \'signIn\'"\n data-amplify-router-content\n >\n \x3c!-- signIn component --\x3e\n <amplify-slot\n name="sign-in"\n [context]="context"\n *ngIf="route === \'signIn\'"\n >\n <amplify-sign-in></amplify-sign-in>\n </amplify-slot>\n </amplify-tab-item>\n <amplify-tab-item\n [title]="signUpTitle"\n [active]="route === \'signUp\'"\n data-amplify-router-content\n >\n \x3c!-- signUp component --\x3e\n <amplify-slot\n name="sign-up"\n [context]="context"\n *ngIf="route === \'signUp\'"\n >\n <amplify-sign-up></amplify-sign-up>\n </amplify-slot>\n </amplify-tab-item>\n </amplify-tabs>\n\n <amplify-slot\n name="sign-in"\n [context]="context"\n *ngIf="route === \'signIn\' && hideSignUp"\n >\n <amplify-sign-in></amplify-sign-in>\n </amplify-slot>\n\n \x3c!-- confirmSignUp content --\x3e\n <amplify-slot\n name="confirm-sign-up"\n [context]="context"\n *ngIf="route === \'confirmSignUp\'"\n >\n <amplify-confirm-sign-up></amplify-confirm-sign-up>\n </amplify-slot>\n\n \x3c!-- confirmSignIn content --\x3e\n <amplify-slot\n name="confirm-sign-in"\n [context]="context"\n *ngIf="route === \'confirmSignIn\'"\n >\n <amplify-confirm-sign-in></amplify-confirm-sign-in>\n </amplify-slot>\n\n \x3c!-- setupTotp content --\x3e\n <amplify-slot\n name="setup-totp"\n [context]="context"\n *ngIf="route === \'setupTOTP\'"\n >\n <amplify-setup-totp></amplify-setup-totp>\n </amplify-slot>\n\n \x3c!-- forceNewPassword content --\x3e\n <amplify-slot\n name="force-new-password"\n [context]="context"\n *ngIf="route === \'forceNewPassword\'"\n >\n <amplify-force-new-password></amplify-force-new-password>\n </amplify-slot>\n\n \x3c!-- resetPassword content --\x3e\n <amplify-slot\n name="reset-password"\n [context]="context"\n *ngIf="route === \'resetPassword\'"\n >\n <amplify-reset-password></amplify-reset-password>\n </amplify-slot>\n\n \x3c!-- confirmResetPassword content --\x3e\n <amplify-slot\n name="confirm-reset-password"\n [context]="context"\n *ngIf="route === \'confirmResetPassword\'"\n >\n <amplify-confirm-reset-password></amplify-confirm-reset-password>\n </amplify-slot>\n\n \x3c!-- verifyUser content --\x3e\n <amplify-slot\n name="verify-user"\n [context]="context"\n *ngIf="route === \'verifyUser\'"\n >\n <amplify-verify-user></amplify-verify-user>\n </amplify-slot>\n\n \x3c!-- confirmVerifyUser content --\x3e\n <amplify-slot\n name="confirm-verify-user"\n [context]="context"\n *ngIf="route === \'confirmVerifyUser\'"\n >\n <amplify-confirm-verify-user></amplify-confirm-verify-user>\n </amplify-slot>\n </div>\n\n <amplify-slot name="footer" [context]="context"></amplify-slot>\n </div>\n</div>\n\n\x3c!-- signedIn content is rendered outside authenticator so it\'s not styled by authenticator --\x3e\n<amplify-slot\n name="authenticated"\n [context]="context"\n *ngIf="route === \'authenticated\'"\n>\n <ng-content></ng-content>\n</amplify-slot>\n',providers:[m],encapsulation:e.ViewEncapsulation.None}]}],g.ctorParameters=function(){return[{type:h},{type:m},{type:e.ChangeDetectorRef}]},g.propDecorators={formFields:[{type:e.Input}],initialState:[{type:e.Input}],loginMechanisms:[{type:e.Input}],services:[{type:e.Input}],signUpAttributes:[{type:e.Input}],socialProviders:[{type:e.Input}],variation:[{type:e.Input}],hideSignUp:[{type:e.Input}],customComponentQuery:[{type:e.ContentChildren,args:[f]}]};var b=function(){function t(t){this.authenticator=t,this.dataAttr="",this.headerText=i.translate("Reset your password"),this.backToSignInText=i.translate("Back to Sign In"),this.resendCodeText=i.translate("Resend Code"),this.submitText=i.hasTranslation("Send Code")?i.translate("Send Code"):i.translate("Submit")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm(i.getFormDataFromEvent(t))},t}();b.decorators=[{type:e.Component,args:[{selector:"amplify-confirm-reset-password",template:'<form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset\n class="amplify-flex amplify-authenticator__column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot name="confirm-reset-password-header" [context]="context">\n <h3 class="amplify-heading amplify-heading--3">{{ headerText }}</h3>\n </amplify-slot>\n\n <amplify-base-form-fields\n route="confirmResetPassword"\n ></amplify-base-form-fields>\n\n <button\n amplify-button\n variation="primary"\n fullWidth="true"\n type="submit"\n [isDisabled]="authenticator.isPending"\n >\n {{ submitText }}\n </button>\n\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n type="button"\n (click)="authenticator.resendCode()"\n >\n {{ resendCodeText }}\n </button>\n\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n <amplify-slot name="confirm-reset-password-footer" [context]="context">\n </amplify-slot>\n</form>\n'}]}],b.ctorParameters=function(){return[{type:h}]},b.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-confirmsignin"]}],headerText:[{type:e.Input}]};var v=new r.Logger("ConfirmSignIn"),x=function(){function t(t){this.authenticator=t,this.dataAttr="",this.confirmText=i.translate("Confirm"),this.backToSignInText=i.translate("Back to Sign In")}return t.prototype.ngOnInit=function(){this.setHeaderText()},Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.setHeaderText=function(){var t=this.authenticator.authState,e=i.getActorContext(t).challengeName;switch(e){case"SOFTWARE_TOKEN_MFA":this.headerText=i.translate("Confirm TOTP Code");break;case"SMS_MFA":this.headerText=i.translate("Confirm SMS Code");break;default:v.error("Unexpected challengeName",e)}},t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm(i.getFormDataFromEvent(t))},t}();x.decorators=[{type:e.Component,args:[{selector:"amplify-confirm-sign-in",template:'<form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset\n class="amplify-flex amplify-authenticator__column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot name="confirm-sign-in-header" [context]="context">\n <h3 class="amplify-heading amplify-heading--3">{{ headerText }}</h3>\n </amplify-slot>\n <amplify-base-form-fields route="confirmSignIn"></amplify-base-form-fields>\n\n <button\n amplify-button\n variation="primary"\n fullWidth="true"\n type="submit"\n [isDisabled]="authenticator.isPending"\n >\n {{ confirmText }}\n </button>\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n (click)="authenticator.toSignIn()"\n >\n {{ backToSignInText }}\n </button>\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n <amplify-slot\n name="confirm-sign-in-footer"\n [context]="context"\n ></amplify-slot>\n</form>\n'}]}],x.ctorParameters=function(){return[{type:h}]},x.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-confirmsignin"]}]};var I=function(){function t(t){this.authenticator=t,this.headerText=i.translate("Confirm Sign Up"),this.dataAttr="",this.resendCodeText=i.translate("Resend Code"),this.confirmText=i.translate("Confirm"),this.emailMessage=i.translate("Your code is on the way. To log in, enter the code we emailed to"),this.textedMessage=i.translate("Your code is on the way. To log in, enter the code we texted to"),this.defaultMessage=i.translate("Your code is on the way. To log in, enter the code we sent you. It may take a minute to arrive."),this.minutesMessage=i.translate("It may take a minute to arrive.")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"confirmSignUpHeading",{get:function(){var t=this.authenticator.codeDeliveryDetails,e=(void 0===t?{}:t).DeliveryMedium;return"EMAIL"===e?i.translate("We Emailed You"):"SMS"===e?i.translate("We Texted You"):i.translate("We Sent A Code")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"subtitleText",{get:function(){var t=this.authenticator.codeDeliveryDetails,e=void 0===t?{}:t,n=e.DeliveryMedium,a=e.Destination;return"EMAIL"===n?this.emailMessage+" "+a+". "+this.minutesMessage:"SMS"===n?this.textedMessage+" "+a+". "+this.minutesMessage:i.translate(""+this.defaultMessage)},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm(i.getFormDataFromEvent(t))},t}();I.decorators=[{type:e.Component,args:[{selector:"amplify-confirm-sign-up",template:'<ng-container>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset\n class="amplify-flex amplify-authenticator__column"\n data-amplify-fieldset\n [disabled]="context.isPending"\n >\n <amplify-slot name="confirm-sign-up-header" [context]="context">\n <h3\n class="amplify-heading amplify-authenticator__heading"\n style="font-size: 1.5rem"\n >\n {{ confirmSignUpHeading }}\n </h3>\n </amplify-slot>\n <span class="amplify-authenticator__subtitle">\n {{ subtitleText }}\n </span>\n <amplify-base-form-fields\n route="confirmSignUp"\n ></amplify-base-form-fields>\n\n <button\n amplify-button\n variation="primary"\n fullWidth="true"\n type="submit"\n [isDisabled]="authenticator.isPending"\n >\n {{ confirmText }}\n </button>\n <button\n amplify-button\n fontWeight="normal"\n (click)="authenticator.resendCode()"\n >\n {{ resendCodeText }}\n </button>\n </fieldset>\n\n <amplify-error *ngIf="context.error">\n {{ authenticator.error }}\n </amplify-error>\n <amplify-slot\n name="confirm-sign-up-footer"\n [context]="context"\n ></amplify-slot>\n </form>\n</ng-container>\n'}]}],I.ctorParameters=function(){return[{type:h}]},I.propDecorators={headerText:[{type:e.Input}],dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-confirmsignup"]}]};var C=function(){function t(t){this.authenticator=t,this.dataAttr="",this.headerText=i.translate("Account recovery requires verified contact information"),this.skipText=i.translate("Skip"),this.submitText=i.translate("Submit")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm(i.getFormDataFromEvent(t))},t}();C.decorators=[{type:e.Component,args:[{selector:"amplify-confirm-verify-user",template:'<form data-amplify-form (input)="onInput($event)" (submit)="onSubmit($event)">\n <fieldset\n class="amplify-flex amplify-authenticator__column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot name="confirm-verify-user-header" [context]="context">\n <h3 class="amplify-heading amplify-heading--3">{{ this.headerText }}</h3>\n </amplify-slot>\n <amplify-base-form-fields\n route="confirmVerifyUser"\n ></amplify-base-form-fields>\n <button\n amplify-button\n variation="primary"\n fullWidth="true"\n type="submit"\n [isDisabled]="authenticator.isPending"\n >\n {{ submitText }}\n </button>\n\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n (click)="authenticator.skipVerification()"\n >\n {{ skipText }}\n </button>\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n <amplify-slot name="confirm-verify-user-footer" [context]="context">\n </amplify-slot>\n</form>\n'}]}],C.ctorParameters=function(){return[{type:h}]},C.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-confirmverifyuser"]}],headerText:[{type:e.Input}]};var w=function(t){var e=this;this.authenticator=t,this.onClick=function(){e.authenticator.send({type:"FEDERATED_SIGN_IN",data:{provider:e.provider}})}};w.decorators=[{type:e.Component,args:[{selector:"amplify-federated-sign-in-button",template:'<button\n amplify-button\n class="amplify-field-group__control federated-sign-in-button"\n fullWidth="true"\n fontWeight="normal"\n (click)="onClick()"\n>\n <div class="amplify-flex federated-sign-in-button-row">\n <ng-content></ng-content>\n </div>\n</button>\n'}]}],w.ctorParameters=function(){return[{type:h}]},w.propDecorators={provider:[{type:e.Input}],text:[{type:e.Input}]};var F=function(){function t(t){this.authenticator=t,this.FederatedProviders=i.FederatedIdentityProviders,this.includeAmazon=!1,this.includeApple=!1,this.includeFacebook=!1,this.includeGoogle=!1,this.shouldShowFederatedSignIn=!1}return t.prototype.ngOnInit=function(){var t,e=(null===(t=this.authenticator.context)||void 0===t?void 0:t.config).socialProviders;this.setFederatedTexts(),this.includeAmazon=null==e?void 0:e.includes("amazon"),this.includeApple=null==e?void 0:e.includes("apple"),this.includeGoogle=null==e?void 0:e.includes("google"),this.includeFacebook=null==e?void 0:e.includes("facebook"),this.shouldShowFederatedSignIn=this.includeAmazon||this.includeApple||this.includeFacebook||this.includeGoogle},t.prototype.setFederatedTexts=function(){var t="signUp"===this.authenticator.route?"Up":"In";this.signInAmazonText=i.translate("Sign "+t+" with Amazon"),this.signInAppleText=i.translate("Sign "+t+" with Apple"),this.signInFacebookText=i.translate("Sign "+t+" with Facebook"),this.signInGoogleText=i.translate("Sign "+t+" with Google")},t}();F.decorators=[{type:e.Component,args:[{selector:"amplify-federated-sign-in",template:'<div\n class="amplify-flex federated-sign-in-container"\n *ngIf="shouldShowFederatedSignIn"\n data-orientation="horizontal"\n data-size="small"\n>\n <amplify-federated-sign-in-button\n *ngIf="includeAmazon"\n [text]="signInAmazonText"\n [provider]="FederatedProviders.Amazon"\n >\n <svg\n aria-label="Amazon icon"\n class="amplify-icon federated-sign-in-icon"\n viewBox="0 0 248 268"\n >\n <path\n d="M139.056521,147.024612 C133.548808,156.744524 124.782731,162.726926 115.087401,162.726926 C101.790721,162.726926 93.9937779,152.612964 93.9937779,137.68681 C93.9937779,108.224571 120.447551,102.879017 145.533369,102.879017 L145.533369,110.365976 C145.533369,123.831358 145.876354,135.063787 139.056521,147.024612 M207.206992,162.579655 C209.400505,165.692256 209.887066,169.437725 207.063416,171.770186 C199.996315,177.653081 187.429476,188.590967 180.513926,194.716661 L180.46208,194.621133 C178.176838,196.663031 174.862638,196.810303 172.27828,195.445057 C160.780281,185.9162 158.686473,181.494078 152.405048,172.403055 C133.405233,191.751331 119.909143,197.534719 95.309886,197.534719 C66.1281801,197.534719 43.4791563,179.599451 43.4791563,143.669212 C43.4791563,115.616003 58.6782107,96.5105248 80.4019706,87.1727225 C99.2063636,78.9096034 125.464714,77.4528107 145.533369,75.1641337 L145.533369,70.694248 C145.533369,62.4749122 146.167493,52.7510201 141.297893,45.6541312 C137.110277,39.2856386 129.018206,36.6586354 121.859376,36.6586354 C108.658413,36.6586354 96.9171331,43.4171982 94.0416364,57.4199213 C93.4593582,60.532522 91.1701278,63.5933787 88.003492,63.7406501 L54.4387473,60.1424518 C51.6150972,59.5095829 48.4484614,57.2248862 49.2740201,52.8982915 C56.9712583,12.2553679 93.7983558,0 126.732964,0 C143.587124,0 165.606011,4.47386604 178.902691,17.2148315 C195.760839,32.917146 194.149604,53.8694866 194.149604,76.6726704 L194.149604,130.542157 C194.149604,146.734049 200.87372,153.830938 207.206992,162.579655 Z M233.826346,208.038962 C230.467669,203.683255 211.550709,205.9821 203.056405,206.998432 C200.470662,207.321077 200.076227,205.042397 202.406981,203.404973 C217.475208,192.664928 242.201125,195.766353 245.081698,199.363845 C247.966255,202.981502 244.336653,228.071183 230.172839,240.049379 C228.001452,241.888455 225.929671,240.904388 226.89783,238.468418 C230.077218,230.430525 237.204944,212.418868 233.826346,208.038962 Z M126.768855,264 C74.0234043,264 42.0764048,241.955028 17.7852554,217.541992 C12.9733903,212.705982 6.71799208,206.295994 3.31151296,200.690918 C1.90227474,198.372135 5.59096074,195.021875 8.0442063,196.84375 C38.2390146,219.267578 82.1011654,239.538304 125.529506,239.538304 C154.819967,239.538304 191.046475,227.469543 220.66851,214.867659 C225.146771,212.966167 225.146771,219.180222 224.511585,221.060516 C224.183264,222.03242 209.514625,236.221149 189.247207,247.047411 C170.304273,257.166172 146.397132,264 126.768855,264 Z"\n fill="#FF9900"\n ></path>\n </svg>\n\n <p class="amplify-text amplify-authenticator__federated-text">\n {{ signInAmazonText }}\n </p>\n </amplify-federated-sign-in-button>\n\n <amplify-federated-sign-in-button\n *ngIf="includeApple"\n [provider]="FederatedProviders.Apple"\n >\n <svg\n aria-label="Apple icon"\n class="amplify-icon federated-sign-in-icon"\n fill="#000"\n preserveAspectRatio="xMidYMid"\n stroke="#000"\n strokeWidth="0"\n viewBox="0 0 1024 1024"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"\n ></path>\n </svg>\n <p class="amplify-text amplify-authenticator__federated-text">\n {{ signInAppleText }}\n </p>\n </amplify-federated-sign-in-button>\n\n <amplify-federated-sign-in-button\n *ngIf="includeFacebook"\n [text]="signInFacebookText"\n [provider]="FederatedProviders.Facebook"\n >\n <svg\n aria-label="Facebook icon"\n class="amplify-icon federated-sign-in-icon"\n viewBox="0 0 279 538"\n >\n <path\n d="M82.3409742,538 L82.3409742,292.936652 L0,292.936652 L0,196.990154 L82.2410458,196.990154 L82.2410458,126.4295 C82.2410458,44.575144 132.205229,0 205.252865,0 C240.227794,0 270.306232,2.59855099 279,3.79788222 L279,89.2502322 L228.536175,89.2502322 C188.964542,89.2502322 181.270057,108.139699 181.270057,135.824262 L181.270057,196.89021 L276.202006,196.89021 L263.810888,292.836708 L181.16913,292.836708 L181.16913,538 L82.3409742,538 Z"\n fill="#1877F2"\n ></path>\n </svg>\n <p class="amplify-text amplify-authenticator__federated-text">\n {{ signInFacebookText }}\n </p>\n </amplify-federated-sign-in-button>\n\n <amplify-federated-sign-in-button\n *ngIf="includeGoogle"\n [provider]="FederatedProviders.Google"\n >\n <svg\n aria-label="Google icon"\n class="amplify-icon federated-sign-in-icon"\n viewBox="0 0 256 262"\n xmlns="http://www.w3.org/2000/svg"\n preserveAspectRatio="xMidYMid"\n >\n <path\n d="M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027"\n fill="#4285F4"\n ></path>\n <path\n d="M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1"\n fill="#34A853"\n ></path>\n <path\n d="M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782"\n fill="#FBBC05"\n ></path>\n <path\n d="M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251"\n fill="#EB4335"\n ></path>\n </svg>\n <p class="amplify-text amplify-authenticator__federated-text">\n {{ signInGoogleText }}\n </p>\n </amplify-federated-sign-in-button>\n\n <hr\n class="amplify-divider amplify-divider--label amplify-divider--small"\n aria-orientation="horizontal"\n data-size="small"\n data-label="or"\n />\n</div>\n'}]}],F.ctorParameters=function(){return[{type:h}]};var S=function(){function t(t){this.authenticator=t,this.dataAttr="",this.headerText=i.translate("Change Password"),this.changePasswordText=i.translate("Change Password"),this.backToSignInText=i.translate("Back to Sign In")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm(i.getFormDataFromEvent(t))},t}();S.decorators=[{type:e.Component,args:[{selector:"amplify-force-new-password",template:'<form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset\n class="amplify-flex amplify-authenticator__column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot name="force-new-password-header" [context]="context">\n <h3 class="amplify-heading amplify-heading--3">{{ this.headerText }}</h3>\n </amplify-slot>\n\n <amplify-slot name="force-new-form-fields" [context]="context">\n <amplify-force-new-password-form-fields></amplify-force-new-password-form-fields>\n </amplify-slot>\n\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ changePasswordText }}\n </button>\n\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n (click)="authenticator.toSignIn()"\n >\n {{ backToSignInText }}\n </button>\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n <amplify-slot name="force-new-password-footer" [context]="context">\n </amplify-slot>\n</form>\n'}]}],S.ctorParameters=function(){return[{type:h}]},S.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-forcenewpassword"]}],headerText:[{type:e.Input}]};var P=function(){};P.decorators=[{type:e.Component,args:[{selector:"amplify-force-new-password-form-fields",template:'<div class="amplify-flex amplify-authenticator__column" data-amplify-fieldset>\n <amplify-base-form-fields route="forceNewPassword"></amplify-base-form-fields>\n</div>\n'}]}];var T=function(){function t(t){this.authenticator=t,this.countryDialCodesValue=i.countryDialCodes,this.errorId=s.nanoid(12)}return Object.defineProperty(t.prototype,"errors",{get:function(){var t=this.authenticator.validationErrors;return i.getErrors(t[this.name])},enumerable:!1,configurable:!0}),t.prototype.onBlur=function(t){var e=t.target.name;this.authenticator.updateBlur({name:e})},t.prototype.isPasswordField=function(){return"password"===this.formField.type},t.prototype.isPhoneField=function(){return"tel"===this.formField.type},t.prototype.hasError=function(){var t;return(null===(t=this.errors)||void 0===t?void 0:t.length)>0},Object.defineProperty(t.prototype,"ariaDescribedBy",{get:function(){return this.hasError()?this.errorId:void 0},enumerable:!1,configurable:!0}),t.prototype.translate=function(t){return i.translate(t)},t}();T.decorators=[{type:e.Component,args:[{selector:"amplify-form-field",template:'<div class="amplify-flex amplify-field amplify-authenticator__column">\n \x3c!-- Country code field --\x3e\n <amplify-phone-number-field\n *ngIf="isPhoneField()"\n [name]="name"\n [label]="formField.label"\n [defaultCountryCode]="formField.dialCode"\n [dialCodeList]="formField.dialCodeList"\n [placeholder]="formField.placeholder"\n [required]="formField.isRequired"\n [labelHidden]="formField.labelHidden"\n [autocomplete]="formField.autocomplete"\n [hasError]="hasError"\n [describedBy]="ariaDescribedBy"\n type="tel"\n ></amplify-phone-number-field>\n\n <amplify-password-field\n *ngIf="isPasswordField()"\n [name]="name"\n [label]="formField.label"\n [placeholder]="formField.placeholder"\n [required]="formField.isRequired"\n [labelHidden]="formField.labelHidden"\n [autocomplete]="formField.autocomplete"\n [hasError]="hasError"\n [describedBy]="ariaDescribedBy"\n (setBlur)="onBlur($event)"\n ></amplify-password-field>\n\n <amplify-text-field\n *ngIf="!isPasswordField() && !isPhoneField()"\n [name]="name"\n [label]="formField.label"\n [placeholder]="formField.placeholder"\n [required]="formField.isRequired"\n [labelHidden]="formField.labelHidden"\n [autocomplete]="formField.autocomplete"\n [type]="formField.type"\n [hasError]="hasError"\n [describedBy]="ariaDescribedBy"\n ></amplify-text-field>\n\n <div data-amplify-sign-up-errors *ngIf="hasError()" [id]="errorId">\n <div\n class="amplify-text amplify-text--error"\n data-variation="error"\n *ngFor="let error of errors"\n >\n {{ translate(error) }}\n </div>\n </div>\n</div>\n'}]}],T.ctorParameters=function(){return[{type:h}]},T.propDecorators={name:[{type:e.Input}],formField:[{type:e.Input}]};var _=function(){function t(t){this.authenticator=t,this.dataAttr="",this.headerText=i.translate("Reset your password"),this.sendCodeText=i.translate("Send Code"),this.backToSignInText=i.translate("Back to Sign In")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm(i.getFormDataFromEvent(t))},t}();_.decorators=[{type:e.Component,args:[{selector:"amplify-reset-password",template:'<form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset\n class="amplify-flex amplify-authenticator__column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot\n class="amplify-flex"\n name="reset-password-header"\n [context]="context"\n >\n <h3 class="amplify-heading amplify-heading--3">{{ this.headerText }}</h3>\n </amplify-slot>\n\n <amplify-base-form-fields route="resetPassword"></amplify-base-form-fields>\n <button\n amplify-button\n variation="primary"\n fullWidth="true"\n type="submit"\n [isDisabled]="authenticator.isPending"\n >\n {{ sendCodeText }}\n </button>\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n (click)="authenticator.toSignIn()"\n >\n {{ backToSignInText }}\n </button>\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n\n <amplify-slot name="reset-password-footer" [context]="context">\n </amplify-slot>\n</form>\n'}]}],_.ctorParameters=function(){return[{type:h}]},_.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-resetPassword"]}],headerText:[{type:e.Input}]};function k(t,e,n,i){return new(n||(n=Promise))((function(a,o){function r(t){try{l(i.next(t))}catch(t){o(t)}}function s(t){try{l(i.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(r,s)}l((i=i.apply(t,e||[])).next())}))}function A(t,e){var n,i,a,o,r={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(r=0)),r;)try{if(n=1,i&&(a=2&s[0]?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return r.label++,{value:s[1],done:!1};case 5:r.label++,i=s[1],s=[0];continue;case 7:s=r.ops.pop(),r.trys.pop();continue;default:if(!(a=r.trys,(a=a.length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){r=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){r.label=s[1];break}if(6===s[0]&&r.label<a[1]){r.label=a[1],a=s;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(s);break}a[2]&&r.ops.pop(),r.trys.pop();continue}s=e.call(t,r)}catch(t){s=[6,t],i=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}Object.create;Object.create;var D=new r.Logger("SetupTotp"),O=function(){function t(t){this.authenticator=t,this.dataAttr="",this.headerText=i.translate("Setup TOTP"),this.qrCodeSource="",this.secretKey="",this.copyTextLabel=i.translate("COPY"),this.backToSignInText=i.translate("Back to Sign In"),this.confirmText=i.translate("Confirm")}return t.prototype.ngOnInit=function(){return k(this,void 0,void 0,(function(){return A(this,(function(t){switch(t.label){case 0:return[4,this.generateQRCode()];case 1:return t.sent(),[2]}}))}))},Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.generateQRCode=function(){var t,e;return k(this,void 0,void 0,(function(){var n,a,o,s,l,p,u,c,f,m,y,h,g;return A(this,(function(b){switch(b.label){case 0:n=this.authenticator.authState,a=i.getActorContext(n),o=a.user,s=a.formFields,l=null!==(e=null===(t=null==s?void 0:s.setupTOTP)||void 0===t?void 0:t.QR)&&void 0!==e?e:{},p=l.totpIssuer,u=void 0===p?"AWSCognito":p,c=l.totpUsername,f=void 0===c?null==o?void 0:o.username:c,b.label=1;case 1:return b.trys.push([1,4,,5]),m=this,[4,r.Auth.setupTOTP(o)];case 2:return m.secretKey=b.sent(),y=i.getTotpCodeURL(u,f,this.secretKey),D.info("totp code was generated:",y),h=this,[4,d.default.toDataURL(y)];case 3:return h.qrCodeSource=b.sent(),[3,5];case 4:return g=b.sent(),D.error(g),[3,5];case 5:return[2]}}))}))},t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm(i.getFormDataFromEvent(t))},t.prototype.copyText=function(){navigator.clipboard.writeText(this.secretKey),this.copyTextLabel=i.translate("COPIED")},t}();O.decorators=[{type:e.Component,args:[{selector:"amplify-setup-totp",template:'<form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset\n class="amplify-flex amplify-authenticator__column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot name="setup-totp-header" [context]="context">\n <h3 class="amplify-heading amplify-heading--3">{{ this.headerText }}</h3>\n </amplify-slot>\n <p *ngIf="!qrCodeSource">Loading...</p>\n <img\n *ngIf="qrCodeSource"\n [src]="qrCodeSource"\n alt="qr code"\n data-amplify-qrcode\n width="228"\n height="228"\n />\n <div class="amplify-flex" data-amplify-copy>\n <div>{{ secretKey }}</div>\n <div data-amplify-copy-svg (click)="copyText()">\n <div data-amplify-copy-tooltip>{{ copyTextLabel }}</div>\n <svg\n width="24"\n height="24"\n viewBox="0 0 24 24"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M16 1H4C2.9 1 2 1.9 2 3V17H4V3H16V1ZM15 5H8C6.9 5 6.01 5.9 6.01 7L6 21C6 22.1 6.89 23 7.99 23H19C20.1 23 21 22.1 21 21V11L15 5ZM8 21V7H14V12H19V21H8Z"\n />\n </svg>\n </div>\n </div>\n\n <amplify-base-form-fields route="setupTOTP"></amplify-base-form-fields>\n <button\n amplify-button\n variation="primary"\n fullWidth="true"\n type="submit"\n [isDisabled]="authenticator.isPending"\n >\n {{ confirmText }}\n </button>\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n (click)="authenticator.toSignIn()"\n >\n {{ backToSignInText }}\n </button>\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n <amplify-slot name="setup-totp-footer" [context]="context"> </amplify-slot>\n</form>\n'}]}],O.ctorParameters=function(){return[{type:h}]},O.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-setup-totp"]}]};var E=function(){function t(t){this.authenticator=t,this.dataAttr="",this.forgotPasswordText=i.hasTranslation("Forgot your password? ")?i.translate("Forgot your password? "):i.translate("Forgot your password?"),this.signInButtonText=i.translate("Sign in")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm(i.getFormDataFromEvent(t))},t}();E.decorators=[{type:e.Component,args:[{selector:"amplify-sign-in",template:'<amplify-slot name="sign-in-header" [context]="context"></amplify-slot>\n\n<form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <amplify-federated-sign-in></amplify-federated-sign-in>\n <fieldset\n class="amplify-flex amplify-authenticator__column"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <legend class="amplify-visually-hidden">Sign in</legend>\n <amplify-base-form-fields route="signIn"></amplify-base-form-fields>\n <button\n amplify-button\n variation="primary"\n fullWidth="true"\n type="submit"\n [isDisabled]="authenticator.isPending"\n >\n {{ signInButtonText }}\n </button>\n\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n</form>\n\n<amplify-slot name="sign-in-footer" [context]="context">\n <div data-amplify-footer>\n <button\n amplify-button\n fontWeight="normal"\n size="small"\n variation="link"\n fullWidth="true"\n (click)="authenticator.toResetPassword()"\n >\n {{ forgotPasswordText }}\n </button>\n </div>\n</amplify-slot>\n',encapsulation:e.ViewEncapsulation.None}]}],E.ctorParameters=function(){return[{type:h}]},E.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-signin"]}]};var B=function(){function t(t){this.authenticator=t,this.dataAttr="",this.createAccountText=i.translate("Create Account")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){var e=t.target,n=e.checked,i=e.name,a=e.type,o=e.value;"checkbox"!==a||n||(o=void 0),this.authenticator.updateForm({name:i,value:o})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm(i.getFormDataFromEvent(t))},t}();B.decorators=[{type:e.Component,args:[{selector:"amplify-sign-up",template:'<amplify-slot name="sign-up-header" [context]="context"></amplify-slot>\n\n<form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <amplify-federated-sign-in></amplify-federated-sign-in>\n <div class="amplify-flex amplify-authenticator__column">\n <div class="amplify-flex amplify-authenticator__column">\n <amplify-slot name="sign-up-form-fields" [context]="context">\n <amplify-sign-up-form-fields></amplify-sign-up-form-fields>\n </amplify-slot>\n\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </div>\n\n <amplify-slot name="sign-up-button" [context]="context">\n <button\n [isDisabled]="\n authenticator.isPending || authenticator.hasValidationErrors\n "\n amplify-button\n variation="primary"\n fullWidth="true"\n type="submit"\n >\n {{ createAccountText }}\n </button>\n </amplify-slot>\n </div>\n</form>\n\n<amplify-slot name="sign-up-footer" [context]="context"> </amplify-slot>\n'}]}],B.ctorParameters=function(){return[{type:h}]},B.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-signup"]}]};var M=function(){};M.decorators=[{type:e.Component,args:[{selector:"amplify-sign-up-form-fields",template:'<div class="amplify-flex amplify-authenticator__column" data-amplify-fieldset>\n <amplify-base-form-fields route="signUp"></amplify-base-form-fields>\n</div>\n'}]}];var j=function(){return i.defaultFormFieldOptions},H=function(){function t(t){this.authenticator=t,this.dataAttr="",this.headerText=i.translate("Account recovery requires verified contact information"),this.unverifiedContactMethods={},this.labelId=s.nanoid(12),this.skipText=i.translate("Skip"),this.verifyText=i.translate("Verify")}return t.prototype.ngOnInit=function(){var t=i.getActorState(this.authenticator.authState);this.unverifiedContactMethods=t.context.unverifiedContactMethods},Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.getLabelForAttr=function(t){var e,n=null===(e=j()[t])||void 0===e?void 0:e.label;return i.translate(n)},t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm(i.getFormDataFromEvent(t))},t}();H.decorators=[{type:e.Component,args:[{selector:"amplify-verify-user",template:'<form data-amplify-form (input)="onInput($event)" (submit)="onSubmit($event)">\n <fieldset\n class="amplify-flex amplify-authenticator__column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot name="verify-user-header" [context]="context">\n <h3 class="amplify-heading amplify-heading--3">{{ this.headerText }}</h3>\n </amplify-slot>\n\n <div\n *ngFor="\n let unverifiedContactMethod of unverifiedContactMethods | keyvalue\n "\n >\n <input\n name="unverifiedAttr"\n type="radio"\n [value]="unverifiedContactMethod.key"\n [id]="labelId"\n />\n <label [for]="labelId">{{\n getLabelForAttr(unverifiedContactMethod.key)\n }}</label>\n </div>\n\n <button\n amplify-button\n variation="primary"\n fullWidth="true"\n type="submit"\n [isDisabled]="authenticator.isPending"\n >\n {{ verifyText }}\n </button>\n\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n (click)="authenticator.skipVerification()"\n >\n {{ skipText }}\n </button>\n\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n <amplify-slot name="verify-user-footer" [context]="context"> </amplify-slot>\n</form>\n',encapsulation:e.ViewEncapsulation.None}]}],H.ctorParameters=function(){return[{type:h}]},H.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-verifyuser"]}],headerText:[{type:e.Input}]};var z=function(){function t(t){this.authenticator=t,this.display="contents",this.formFields=[]}return t.prototype.ngOnInit=function(){var t=this.authenticator.authState;this.formFields=i.getSortedFormFields(this.route,t),"confirmSignUp"===this.route&&this.handleConfirmSignUp()},t.prototype.handleConfirmSignUp=function(){var t,e=this.authenticator.authState,n=i.hasTranslation("Confirmation Code")?i.translate("Confirmation Code"):i.translate("Enter your code"),a=i.getDefaultFormFields(this.route,e);a.confirmation_code.placeholder&&(a.confirmation_code.placeholder=n);var o=(null===(t=i.getActorContext(e).formFields)||void 0===t?void 0:t.confirmSignUp)||{},r=i.applyDefaults(a,o);this.formFields=i.sortFormFields(r)},t}();z.decorators=[{type:e.Component,args:[{selector:"amplify-base-form-fields",template:'<ng-container *ngFor="let formField of formFields">\n <amplify-form-field\n [name]="formField[0]"\n [formField]="formField[1]"\n ></amplify-form-field>\n</ng-container>\n'}]}],z.ctorParameters=function(){return[{type:h}]},z.propDecorators={route:[{type:e.Input}],display:[{type:e.HostBinding,args:["style.display"]}]};var W=function(){function t(){this.type="button",this.fullWidth=!1,this.isDisabled=!1,this.size="medium",this.variation="default",this.fontWeight="normal"}return Object.defineProperty(t.prototype,"getDisabled",{get:function(){return this.isDisabled?"":null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"classNames",{get:function(){var t="amplify-button";return this.variation&&(t+=" amplify-button--"+this.variation),this.size&&(t+=" amplify-button--"+this.size),this.fullWidth&&(t+=" amplify-button--fullwidth"),this.isDisabled&&(t+=" amplify-button--disabled amplify-button--loading"),t},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){this.typeAttr=this.type,this.fullWidthAttr=this.fullWidth,this.sizeAttr=this.size,this.variationAttr=this.variation,this.fontWeightAttr=this.fontWeight},t}();W.decorators=[{type:e.Component,args:[{selector:"button[amplify-button]",template:"<ng-content></ng-content>\n"}]}],W.propDecorators={type:[{type:e.Input}],fullWidth:[{type:e.Input}],isDisabled:[{type:e.Input}],size:[{type:e.Input}],variation:[{type:e.Input}],fontWeight:[{type:e.Input}],typeAttr:[{type:e.HostBinding,args:["type"]}],fullWidthAttr:[{type:e.HostBinding,args:["attr.data-fullwidth"]}],sizeAttr:[{type:e.HostBinding,args:["attr.data-size"]}],variationAttr:[{type:e.HostBinding,args:["attr.data-variation"]}],fontWeightAttr:[{type:e.HostBinding,args:["style.font-weight"]}],getDisabled:[{type:e.HostBinding,args:["attr.disabled"]}],classNames:[{type:e.HostBinding,args:["class"]}]};var L=function(){function t(){this.defaultChecked=!1,this.hasError=!1,this.isChecked=!1}return t.prototype.ngOnInit=function(){this.defaultChecked&&(this.isChecked=!0)},t.prototype.handleClick=function(){this.isChecked=!this.isChecked},t}();L.decorators=[{type:e.Component,args:[{selector:"amplify-checkbox",template:'<div class="amplify-flex amplify-field amplify-checkboxfield">\n <label class="amplify-flex amplify-checkbox">\n <span class="amplify-visually-hidden">\n <input\n (click)="handleClick()"\n class="\n amplify-input\n amplify-field-group__control\n amplify-checkbox__input\n "\n aria-invalid="false"\n type="checkbox"\n [name]="name"\n [value]="value"\n />\n </span>\n <span\n class="amplify-flex amplify-checkbox__button"\n aria-hidden="true"\n data-focus="false"\n [ngClass]="{\n \'amplify-checkbox__button--error\': hasError\n }"\n [attr.data-error]="hasError"\n [attr.data-checked]="isChecked"\n >\n <svg\n xmlns="http://www.w3.org/2000/svg"\n class="amplify-icon amplify-checkbox__icon"\n viewBox="0 0 24 24"\n fill="currentColor"\n [attr.data-checked]="isChecked"\n [ngClass]="{\n \'amplify-checkbox__icon--checked\': isChecked\n }"\n >\n <path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"></path>\n </svg>\n </span>\n <span class="amplify-text amplify-checkbox__label">\n <ng-content></ng-content>\n </span>\n </label>\n <p *ngIf="hasError" class="amplify-text amplify-field__error-message">\n {{ errorMessage }}\n </p>\n</div>\n'}]}],L.propDecorators={defaultChecked:[{type:e.Input}],errorMessage:[{type:e.Input}],hasError:[{type:e.Input}],label:[{type:e.Input}],name:[{type:e.Input}],value:[{type:e.Input}]};var U=function(){function t(){this.isVisible=!0,this.dismissAriaLabel=i.translate("Dismiss alert")}return t.prototype.close=function(){this.isVisible=!1},t}();U.decorators=[{type:e.Component,args:[{selector:"amplify-error",template:'<div\n class="amplify-flex amplify-alert amplify-alert--error"\n data-variation="error"\n style="align-items: center; justify-content: space-between"\n *ngIf="isVisible"\n role="alert"\n>\n <div class="amplify-flex" style="align-items: center">\n <svg\n xmlns="http://www.w3.org/2000/svg"\n class="amplify-icon"\n [attr.aria-hidden]="true"\n viewBox="0 0 24 24"\n fill="currentColor"\n >\n <path\n d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"\n ></path>\n </svg>\n <div><ng-content></ng-content></div>\n </div>\n <button\n amplify-button\n class="amplify-field-group__control amplify-alert__dismiss"\n [attr.aria-label]="dismissAriaLabel"\n variation="link"\n [fullWidth]="false"\n (click)="close()"\n >\n <svg\n xmlns="http://www.w3.org/2000/svg"\n class="amplify-icon"\n [attr.aria-hidden]="true"\n viewBox="0 0 24 24"\n fill="currentColor"\n >\n <path\n d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"\n ></path>\n </svg>\n </button>\n</div>\n'}]}];var V=function(){function t(){this.autocomplete="new-password",this.disabled=!1,this.fieldId="amplify-field-"+s.nanoid(12),this.initialValue="",this.label="",this.placeholder="",this.required=!0,this.labelHidden=!1,this.setBlur=new e.EventEmitter,this.type="password",this.showPassword=!1,this.showPasswordButtonlabel=i.translate("Show password")}return t.prototype.togglePasswordText=function(){this.showPassword=!this.showPassword,this.showPasswordButtonlabel=this.showPassword?i.translate("Show password"):i.translate("Hide password"),this.type=this.showPassword?"text":"password"},t}();V.decorators=[{type:e.Component,args:[{selector:"amplify-password-field",template:'<label\n class="amplify-label"\n [class.amplify-visually-hidden]="labelHidden"\n [for]="fieldId"\n>\n {{ label }}\n</label>\n<div class="amplify-flex amplify-field-group">\n <input\n class="amplify-input amplify-field-group__control"\n [id]="fieldId"\n [type]="type"\n [name]="name"\n [placeholder]="placeholder"\n [required]="required"\n [value]="initialValue"\n [autocomplete]="autocomplete"\n [attr.disabled]="disabled ? \'\' : null"\n [attr.aria-invalid]="hasError ? \'true\' : \'false\'"\n [attr.aria-describedby]="describedBy"\n (blur)="setBlur.emit($event)"\n />\n <div class="amplify-field-group__outer-end">\n <button\n amplify-button\n [attr.aria-label]="showPasswordButtonlabel"\n class="amplify-field-group__control amplify-field__show-password"\n (click)="togglePasswordText()"\n >\n <svg\n *ngIf="!showPassword"\n xmlns="http://www.w3.org/2000/svg"\n fill="currentColor"\n viewBox="0 0 24 24"\n class="amplify-icon"\n >\n <path\n d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"\n ></path>\n </svg>\n <svg\n *ngIf="showPassword"\n xmlns="http://www.w3.org/2000/svg"\n fill="currentColor"\n viewBox="0 0 24 24"\n class="amplify-icon"\n >\n <path\n d="M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z"\n fill="none"\n ></path>\n <path\n d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"\n ></path>\n </svg>\n </button>\n </div>\n</div>\n'}]}],V.propDecorators={autocomplete:[{type:e.Input}],disabled:[{type:e.Input}],fieldId:[{type:e.Input}],initialValue:[{type:e.Input}],label:[{type:e.Input}],name:[{type:e.Input}],placeholder:[{type:e.Input}],required:[{type:e.Input}],labelHidden:[{type:e.Input}],hasError:[{type:e.Input}],describedBy:[{type:e.Input}],setBlur:[{type:e.Output}]};var q=function(){function t(){this.autocomplete="new-password",this.disabled=!1,this.selectFieldId="amplify-field-"+s.nanoid(12),this.textFieldId="amplify-field-"+s.nanoid(12),this.initialValue="",this.label="",this.placeholder="",this.required=!0,this.labelHidden=!1,this.display="contents"}return t.prototype.ngOnInit=function(){var t;this.countryDialCodesValues=null!==(t=this.dialCodeList)&&void 0!==t?t:i.countryDialCodes},t}();q.decorators=[{type:e.Component,args:[{selector:"amplify-phone-number-field",template:'<label\n class="amplify-label"\n [class.amplify-visually-hidden]="labelHidden"\n [for]="textFieldId"\n>\n {{ label }}\n</label>\n<div\n class="amplify-flex amplify-phonenumberfield"\n amplify-field-group\n style="gap: 0px"\n>\n <div class="amplify-field-group__outer-start">\n <div\n class="\n amplify-flex\n amplify-field\n amplify-selectfield\n amplify-countrycodeselect\n amplify-dialcodeselect\n "\n style="flex-direction: column"\n >\n <amplify-form-select\n name="country_code"\n label="Country Code"\n [id]="selectFieldId"\n [items]="countryDialCodesValues"\n [defaultValue]="defaultCountryCode"\n ></amplify-form-select>\n </div>\n </div>\n\n <input\n class="amplify-input"\n [id]="textFieldId"\n [type]="type"\n [name]="name"\n [placeholder]="placeholder"\n [required]="required"\n [value]="initialValue"\n [autocomplete]="autocomplete"\n [attr.disabled]="disabled ? \'\' : null"\n [attr.aria-invalid]="hasError ? \'true\' : \'false\'"\n [attr.aria-describedby]="describedBy"\n />\n</div>\n'}]}],q.propDecorators={autocomplete:[{type:e.Input}],disabled:[{type:e.Input}],defaultCountryCode:[{type:e.Input}],selectFieldId:[{type:e.Input}],textFieldId:[{type:e.Input}],initialValue:[{type:e.Input}],label:[{type:e.Input}],name:[{type:e.Input}],placeholder:[{type:e.Input}],required:[{type:e.Input}],type:[{type:e.Input}],labelHidden:[{type:e.Input}],dialCodeList:[{type:e.Input}],hasError:[{type:e.Input}],describedBy:[{type:e.Input}],display:[{type:e.HostBinding,args:["style.display"]}]};var R=function(){};R.decorators=[{type:e.Component,args:[{selector:"amplify-form-select",template:'<label class="amplify-label amplify-visually-hidden" [for]="id">{{\n label\n}}</label>\n<div class="amplify-select__wrapper">\n <select\n class="amplify-select amplify-field-group__control"\n autocomplete="tel-country-code"\n [id]="id"\n [name]="name"\n >\n <option\n *ngFor="let item of items"\n [value]="item"\n [selected]="item === defaultValue"\n >\n {{ item }}\n </option>\n </select>\n <div\n class="amplify-flex amplify-select__icon-wrapper"\n style="align-items: center; justify-content: center"\n >\n <svg\n xmlns="http://www.w3.org/2000/svg"\n class="amplify-icon amplify-icon--large"\n viewBox="0 0 24 24"\n data-size="large"\n fill="currentColor"\n >\n <path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"></path>\n </svg>\n </div>\n</div>\n'}]}],R.propDecorators={items:[{type:e.Input}],name:[{type:e.Input}],label:[{type:e.Input}],id:[{type:e.Input}],defaultValue:[{type:e.Input}]};var $=function(){this.active=!1,this.display="block"};$.decorators=[{type:e.Component,args:[{selector:"amplify-tab-item",template:'<div\n data-orientation="horizontal"\n role="tabpanel"\n [id]="id"\n [attr.aria-labelledby]="labelledById"\n [attr.data-state]="active ? \'active\' : \'inactive\'"\n [attr.tabindex]="tabIndex"\n>\n <ng-content *ngIf="active"></ng-content>\n</div>\n'}]}],$.propDecorators={title:[{type:e.Input}],active:[{type:e.Input}],id:[{type:e.Input}],labelledById:[{type:e.Input}],tabIndex:[{type:e.Input}],display:[{type:e.HostBinding,args:["style.display"]}]};var N=function(){function t(){this.tabChange=new e.EventEmitter}return t.prototype.ngAfterContentInit=function(){this.tabs.forEach((function(t,e){t.id="radix-id-"+s.nanoid(12)+"-1-content-"+e,t.labelledById="radix-id-"+s.nanoid(12)+"-1-trigger-"+e})),1!==this.tabs.filter((function(t){return t.active})).length&&this.selectTab(this.tabs.first)},t.prototype.selectTab=function(t){this.tabs.forEach((function(t){t.active=!1})),t.active=!0},t.prototype.handleTabClick=function(t){t.active||(this.tabChange.emit(),this.selectTab(t))},t}();N.decorators=[{type:e.Component,args:[{selector:"amplify-tabs",template:'<div\n tabindex="0"\n aria-orientation="horizontal"\n data-orientation="horizontal"\n role="tablist"\n style="outline: none"\n>\n <div\n class="amplify-flex amplify-tabs"\n data-indicator-position="top"\n style="gap: 0px; justify-content: center"\n >\n <div\n *ngFor="let tab of tabs"\n class="amplify-tabs-item"\n data-spacing="equal"\n data-orientation="horizontal"\n role="tab"\n [id]="tab.labelledById"\n [tabindex]="tab.active ? \'0\' : \'1\'"\n [attr.aria-selected]="tab.active"\n [attr.aria-controls]="tab.id"\n [attr.data-state]="tab.active ? \'active\' : \'inactive\'"\n (click)="handleTabClick(tab)"\n >\n {{ tab.title }}\n </div>\n </div>\n</div>\n\n<ng-content></ng-content>\n'}]}],N.propDecorators={tabs:[{type:e.ContentChildren,args:[$]}],tabChange:[{type:e.Output}]};var G=function(){this.autocomplete="new-password",this.disabled=!1,this.fieldId="amplify-field-"+s.nanoid(12),this.initialValue="",this.label="",this.placeholder="",this.required=!0,this.labelHidden=!1,this.display="contents"};G.decorators=[{type:e.Component,args:[{selector:"amplify-text-field",template:'<label\n class="amplify-label"\n [class.amplify-visually-hidden]="labelHidden"\n [for]="fieldId"\n>\n {{ label }}\n</label>\n<input\n class="amplify-input"\n [id]="fieldId"\n [type]="type"\n [name]="name"\n [placeholder]="placeholder"\n [required]="required"\n [value]="initialValue"\n [autocomplete]="autocomplete"\n [attr.disabled]="disabled ? \'\' : null"\n [attr.aria-invalid]="hasError ? \'true\' : \'false\'"\n [attr.aria-describedby]="describedBy"\n/>\n'}]}],G.propDecorators={autocomplete:[{type:e.Input}],disabled:[{type:e.Input}],fieldId:[{type:e.Input}],initialValue:[{type:e.Input}],label:[{type:e.Input}],name:[{type:e.Input}],placeholder:[{type:e.Input}],required:[{type:e.Input}],type:[{type:e.Input}],labelHidden:[{type:e.Input}],hasError:[{type:e.Input}],describedBy:[{type:e.Input}],display:[{type:e.HostBinding,args:["style.display"]}]};var Y=function(){function t(t){this.propService=t,this.display="contents",this.isOverriden=!1}return t.prototype.ngAfterContentInit=function(){var t=this.propService.customComponents[this.name];t&&(this.overridingComponent=t,this.isOverriden=!0)},t}();Y.decorators=[{type:e.Component,args:[{selector:"amplify-slot",template:'\x3c!-- \n if slot isn\'t overwritten, we display the the default coponent, which is the \n children passed onto this component.\n--\x3e\n<ng-content *ngIf="!isOverriden"></ng-content>\n\n\x3c!-- If slot is overwritten, we render that instead. --\x3e\n<ng-container\n *ngIf="isOverriden"\n [ngTemplateOutlet]="overridingComponent"\n [ngTemplateOutletContext]="context"\n></ng-container>\n'}]}],Y.ctorParameters=function(){return[{type:m}]},Y.propDecorators={name:[{type:e.Input}],context:[{type:e.Input}],display:[{type:e.HostBinding,args:["style.display"]}]};var Q=function(){};Q.decorators=[{type:e.NgModule,args:[{declarations:[Y,f,g,z,W,L,b,x,I,C,U,w,F,S,P,T,V,q,_,R,O,E,B,M,$,N,G,H],imports:[n.CommonModule],exports:[f,g,L,M,P,G]}]}],Object.defineProperty(t,"translations",{enumerable:!0,get:function(){return i.translations}}),t.AmplifyAuthenticatorModule=Q,t.AmplifySlotDirective=f,t.AuthenticatorComponent=g,t.AuthenticatorService=h,t.BaseFormFieldsComponent=z,t.ButtonComponent=W,t.CheckboxComponent=L,t.ConfirmResetPasswordComponent=b,t.ConfirmSignInComponent=x,t.ConfirmSignUpComponent=I,t.ConfirmVerifyUserComponent=C,t.CustomComponentsService=m,t.ErrorComponent=U,t.FederatedSignInButtonComponent=w,t.FederatedSignInComponent=F,t.ForceNewPasswordComponent=S,t.ForceNewPasswordFormFieldsComponent=P,t.FormFieldComponent=T,t.PasswordFieldComponent=V,t.PhoneNumberFieldComponent=q,t.ResetPasswordComponent=_,t.SelectComponent=R,t.SetupTotpComponent=O,t.SignInComponent=E,t.SignUpComponent=B,t.SignUpFormFieldsComponent=M,t.TabItemComponent=$,t.TabsComponent=N,t.TextFieldComponent=G,t.VerifyUserComponent=H,t.getAttributeMap=j,t["ɵa"]=Y,t["ɵb"]=g,t["ɵba"]=H,t["ɵc"]=z,t["ɵd"]=W,t["ɵe"]=L,t["ɵf"]=b,t["ɵg"]=x,t["ɵh"]=I,t["ɵi"]=C,t["ɵj"]=U,t["ɵk"]=w,t["ɵl"]=F,t["ɵm"]=S,t["ɵn"]=P,t["ɵo"]=T,t["ɵp"]=V,t["ɵq"]=q,t["ɵr"]=_,t["ɵs"]=R,t["ɵt"]=O,t["ɵu"]=E,t["ɵv"]=B,t["ɵw"]=M,t["ɵx"]=$,t["ɵy"]=N,t["ɵz"]=G,Object.defineProperty(t,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=aws-amplify-ui-angular.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["AmplifySlotDirective","template","this","Object","defineProperty","prototype","set","component","name","type","Directive","args","selector","TemplateRef","Input","CustomComponentsService","_customComponents","get","customComponents","assign","Injectable","providedIn","logger","Logger","AuthenticatorService","_this","machine","createAuthenticatorMachine","authService","interpret","start","_machineSubscription","subscribe","state","_authState","_facade","getServiceContextFacade","_sendEventAliases","getSendEventAliases","send","_authService","ngOnDestroy","unsubscribe","translate","_a","error","hasValidationErrors","isPending","route","authStatus","user","validationErrors","codeDeliveryDetails","initializeMachine","updateForm","updateBlur","resendCode","signOut","submitForm","toFederatedSignIn","toResetPassword","toSignIn","toSignUp","skipVerification","context","slotContext","$implicit","callback","event","AuthenticatorComponent","authenticator","contextService","changeDetector","customComponentQuery","signInTitle","signUpTitle","hasInitialized","isHandlingHubEvent","ngOnInit","initialState","loginMechanisms","services","signUpAttributes","socialProviders","formFields","_b","unsubscribeHub","listenToAuthHub","data","service","defaultAuthHubHandler","detectChanges","unsubscribeMachine","ngAfterContentInit","mapCustomComponents","onTabChange","hasTabs","hasRouteComponent","componentQuery","forEach","Component","providers","encapsulation","ViewEncapsulation","None","ChangeDetectorRef","ContentChildren","ConfirmResetPasswordComponent","dataAttr","headerText","backToSignInText","resendCodeText","submitText","hasTranslation","onInput","preventDefault","target","value","onSubmit","getFormDataFromEvent","HostBinding","ConfirmSignInComponent","confirmText","setHeaderText","authState","challengeName","getActorContext","ConfirmSignUpComponent","emailMessage","textedMessage","defaultMessage","minutesMessage","DeliveryMedium","Destination","ConfirmVerifyUserComponent","skipText","FederatedSignInButtonComponent","onClick","provider","FederatedSignInComponent","FederatedProviders","FederatedIdentityProviders","includeAmazon","includeApple","includeFacebook","includeGoogle","shouldShowFederatedSignIn","config","setFederatedTexts","includes","federatedText","signInAmazonText","signInAppleText","signInFacebookText","signInGoogleText","ForceNewPasswordComponent","changePasswordText","ForceNewPasswordFormFieldsComponent","FormFieldComponent","countryDialCodesValue","countryDialCodes","errorId","nanoid","getErrors","onBlur","$event","isPasswordField","formField","isPhoneField","hasError","errors","length","undefined","phrase","ResetPasswordComponent","sendCodeText","__awaiter","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","step","next","e","rejected","result","done","then","apply","__generator","body","f","y","t","g","_","label","sent","trys","ops","verb","throw","return","Symbol","iterator","n","v","op","TypeError","call","pop","push","create","SetupTotpComponent","qrCodeSource","secretKey","copyTextLabel","generateQRCode","_c","actorContext","setupTOTP","QR","_d","totpIssuer","_e","totpUsername","username","_f","Auth","_h","totpCode","getTotpCodeURL","info","_g","QRCode","toDataURL","err_1","copyText","navigator","clipboard","writeText","SignInComponent","forgotPasswordText","signInButtonText","SignUpComponent","createAccountText","checked","SignUpFormFieldsComponent","getAttributeMap","defaultFormFieldOptions","VerifyUserComponent","unverifiedContactMethods","labelId","verifyText","actorState","getActorState","getLabelForAttr","authAttr","BaseFormFieldsComponent","display","getSortedFormFields","handleConfirmSignUp","placeholder","defaultFormFields","getDefaultFormFields","confirmation_code","customFormFields","confirmSignUp","newFormFields","applyDefaults","sortFormFields","ButtonComponent","fullWidth","isDisabled","size","variation","fontWeight","className","typeAttr","fullWidthAttr","sizeAttr","variationAttr","fontWeightAttr","getDisabled","classNames","CheckboxComponent","defaultChecked","isChecked","handleClick","ErrorComponent","isVisible","dismissAriaLabel","close","PasswordFieldComponent","autocomplete","disabled","fieldId","initialValue","required","labelHidden","setBlur","EventEmitter","showPassword","showPasswordButtonlabel","togglePasswordText","Output","PhoneNumberFieldComponent","selectFieldId","textFieldId","countryDialCodesValues","dialCodeList","SelectComponent","TabItemComponent","active","TabsComponent","tabChange","tabs","tab","index","id","labelledById","filter","selectTab","first","handleTabClick","emit","TextFieldComponent","AmplifySlotComponent","propService","isOverriden","overridingComponent","AmplifyAuthenticatorModule","NgModule","declarations","imports","CommonModule","exports"],"sources":["../../../projects/ui-angular/src/lib/utilities/amplify-slot/amplify-slot.directive.ts","../../../projects/ui-angular/src/lib/services/custom-components.service.ts","../../../projects/ui-angular/src/lib/services/authenticator.service.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/authenticator/authenticator.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/force-new-password/force-new-password.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/form-field/form-field.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/reset-password/reset-password.component.ts","../../../../../node_modules/tslib/tslib.es6.js","../../../projects/ui-angular/src/lib/components/authenticator/components/setup-totp/setup-totp.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/sign-in/sign-in.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/sign-up/sign-up.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.ts","../../../projects/ui-angular/src/lib/common/helpers.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/verify-user/verify-user.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/base-form-fields/base-form-fields.component.ts","../../../projects/ui-angular/src/lib/primitives/button/button.component.ts","../../../projects/ui-angular/src/lib/primitives/checkbox/checkbox.component.ts","../../../projects/ui-angular/src/lib/primitives/error/error.component.ts","../../../projects/ui-angular/src/lib/primitives/password-field/password-field.component.ts","../../../projects/ui-angular/src/lib/primitives/phone-number-field/phone-number-field.component.ts","../../../projects/ui-angular/src/lib/primitives/select/select.component.ts","../../../projects/ui-angular/src/lib/primitives/tab-item/tab-item.component.ts","../../../projects/ui-angular/src/lib/primitives/tabs/tabs.component.ts","../../../projects/ui-angular/src/lib/primitives/text-field/text-field.component.ts","../../../projects/ui-angular/src/lib/utilities/amplify-slot/amplify-slot.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/authenticator.module.ts"],"sourcesContent":["import { Directive, Input, TemplateRef } from '@angular/core';\n\n@Directive({\n selector: '[amplifySlot]',\n})\nexport class AmplifySlotDirective {\n constructor(public template: TemplateRef<any>) {}\n public name: string;\n\n @Input() set amplifySlot(component: string) {\n this.name = component;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { CustomComponents } from '../common';\n\n/**\n * Stores and provides custom components that users provide with `amplify-slot`.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class CustomComponentsService {\n private _customComponents: CustomComponents = {};\n\n public get customComponents(): CustomComponents {\n return this._customComponents;\n }\n\n public set customComponents(customComponents: CustomComponents) {\n this._customComponents = { ...this._customComponents, ...customComponents };\n }\n}\n","import { Injectable, OnDestroy } from '@angular/core';\nimport { Logger } from '@aws-amplify/core';\nimport {\n AuthContext,\n AuthEvent,\n AuthInterpreter,\n AuthMachineState,\n createAuthenticatorMachine,\n getSendEventAliases,\n getServiceContextFacade,\n} from '@aws-amplify/ui';\nimport { Event, interpret, Subscription } from 'xstate';\nimport { AuthSubscriptionCallback } from '../common';\nimport { translate } from '@aws-amplify/ui';\n\nconst logger = new Logger('state-machine');\n\n/**\n * AuthenticatorService provides access to the authenticator state and context.\n */\n@Injectable({\n providedIn: 'root', // ensure we have a singleton service\n})\nexport class AuthenticatorService implements OnDestroy {\n private _authState: AuthMachineState;\n private _authService: AuthInterpreter;\n private _sendEventAliases: ReturnType<typeof getSendEventAliases>;\n private _machineSubscription: Subscription;\n private _facade: ReturnType<typeof getServiceContextFacade>;\n\n constructor() {\n const machine = createAuthenticatorMachine();\n\n const authService = interpret(machine).start();\n\n this._machineSubscription = authService.subscribe((state: unknown) => {\n this._authState = state as AuthMachineState;\n this._facade = getServiceContextFacade(state as AuthMachineState);\n });\n\n this._sendEventAliases = getSendEventAliases(authService.send);\n this._authService = authService;\n }\n\n ngOnDestroy(): void {\n if (this._machineSubscription) this._machineSubscription.unsubscribe();\n }\n\n /**\n * Context facades\n */\n\n public get error() {\n return translate(this._facade?.error);\n }\n\n public get hasValidationErrors() {\n return this._facade?.hasValidationErrors;\n }\n\n public get isPending() {\n return this._facade?.isPending;\n }\n\n public get route() {\n return this._facade?.route;\n }\n\n public get authStatus() {\n return this._facade?.authStatus;\n }\n\n public get user() {\n return this._facade?.user;\n }\n\n public get validationErrors() {\n return this._facade?.validationErrors;\n }\n\n public get codeDeliveryDetails() {\n return this._facade?.codeDeliveryDetails;\n }\n\n /**\n * Service facades\n */\n\n public get initializeMachine() {\n return this._sendEventAliases.initializeMachine;\n }\n\n public get updateForm() {\n return this._sendEventAliases.updateForm;\n }\n\n public get updateBlur() {\n return this._sendEventAliases.updateBlur;\n }\n\n public get resendCode() {\n return this._sendEventAliases.resendCode;\n }\n\n public get signOut() {\n return this._sendEventAliases.signOut;\n }\n\n public get submitForm() {\n return this._sendEventAliases.submitForm;\n }\n\n /**\n * Transition facades\n */\n\n public get toFederatedSignIn() {\n return this._sendEventAliases.toFederatedSignIn;\n }\n\n public get toResetPassword() {\n return this._sendEventAliases.toResetPassword;\n }\n\n public get toSignIn() {\n return this._sendEventAliases.toSignIn;\n }\n\n public get toSignUp() {\n return this._sendEventAliases.toSignUp;\n }\n\n public get skipVerification() {\n return this._sendEventAliases.skipVerification;\n }\n\n /**\n * Internal utility functions\n */\n\n /** @deprecated For internal use only */\n public get authState(): AuthMachineState {\n return this._authState;\n }\n\n /** @deprecated For internal use only */\n public get authService(): AuthInterpreter {\n return this._authService;\n }\n\n /** @deprecated For internal use only */\n public get context(): AuthContext {\n return this._authState.context;\n }\n\n /** @deprecated For internal use only */\n public get slotContext() {\n const slotContext = {\n ...this._facade,\n ...this._sendEventAliases,\n };\n\n return {\n ...slotContext,\n $implicit: { ...slotContext },\n };\n }\n\n /** @deprecated For internal use only */\n public subscribe(callback: AuthSubscriptionCallback) {\n if (this._authService) {\n return this._authService.subscribe(callback);\n } else {\n logger.error(\n 'Subscription attempted before machine was created. This is likely a bug on the library, please consider filing a bug.'\n );\n }\n }\n\n /** @deprecated For internal use only */\n public send(event: Event<AuthEvent>) {\n this.authService.send(event);\n }\n}\n","import {\n AfterContentInit,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n Input,\n OnDestroy,\n OnInit,\n QueryList,\n TemplateRef,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n AuthenticatorMachineOptions,\n defaultAuthHubHandler,\n listenToAuthHub,\n SocialProvider,\n translate,\n} from '@aws-amplify/ui';\nimport { AmplifySlotDirective } from '../../../../utilities/amplify-slot/amplify-slot.directive';\nimport { CustomComponentsService } from '../../../../services/custom-components.service';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\n\n@Component({\n selector: 'amplify-authenticator',\n templateUrl: './authenticator.component.html',\n providers: [CustomComponentsService], // make sure custom components are scoped to this authenticator only\n encapsulation: ViewEncapsulation.None,\n})\nexport class AuthenticatorComponent\n implements OnInit, AfterContentInit, OnDestroy\n{\n @Input() formFields: AuthenticatorMachineOptions['formFields'];\n @Input() initialState: AuthenticatorMachineOptions['initialState'];\n @Input() loginMechanisms: AuthenticatorMachineOptions['loginMechanisms'];\n @Input() services: AuthenticatorMachineOptions['services'];\n @Input() signUpAttributes: AuthenticatorMachineOptions['signUpAttributes'];\n @Input() socialProviders: SocialProvider[];\n @Input() variation: 'default' | 'modal';\n @Input() hideSignUp: boolean;\n\n @ContentChildren(AmplifySlotDirective)\n private customComponentQuery: QueryList<AmplifySlotDirective> = null;\n\n // translated texts\n public signInTitle = translate('Sign In');\n public signUpTitle = translate('Create Account');\n\n private hasInitialized = false;\n private isHandlingHubEvent = false;\n private unsubscribeMachine: () => void;\n private unsubscribeHub: ReturnType<typeof listenToAuthHub>;\n\n constructor(\n private authenticator: AuthenticatorService,\n private contextService: CustomComponentsService,\n private changeDetector: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n const {\n initialState,\n loginMechanisms,\n services,\n signUpAttributes,\n socialProviders,\n formFields,\n } = this;\n\n const { authService, initializeMachine } = this.authenticator;\n\n this.unsubscribeHub = listenToAuthHub(authService, (data, service) => {\n defaultAuthHubHandler(data, service);\n /**\n * Hub events aren't properly caught by Angular, because they are\n * synchronous events. Angular tracks async network events and\n * html events, but not synchronous events like hub.\n *\n * On any notable hub events, we run change detection manually.\n */\n this.changeDetector.detectChanges();\n\n /**\n * Hub events that we handle can lead to multiple state changes:\n * e.g. `authenticated` -> `signOut` -> initialState.\n *\n * We want to ensure change detection runs all the way, until\n * we reach back to the initial state. Setting the below flag\n * to true to until we reach initial state.\n */\n this.isHandlingHubEvent = true;\n });\n\n /**\n * Subscribes to state machine changes and sends INIT event\n * once machine reaches 'setup' state.\n */\n this.unsubscribeMachine = this.authenticator.subscribe(() => {\n const { route } = this.authenticator;\n\n if (this.isHandlingHubEvent) {\n this.changeDetector.detectChanges();\n\n const initialStateWithDefault = initialState ?? 'signIn';\n\n // We can stop manual change detection if we're back to the initial state\n if (route === initialStateWithDefault) {\n this.isHandlingHubEvent = false;\n }\n }\n\n if (!this.hasInitialized && route === 'setup') {\n initializeMachine({\n initialState,\n loginMechanisms,\n services,\n signUpAttributes,\n socialProviders,\n formFields,\n });\n\n this.hasInitialized = true;\n }\n }).unsubscribe;\n\n /**\n * handling translations after content init, because authenticator and its\n * translations might be initialized before the main app's `ngOnInit` is run.\n */\n this.signInTitle = translate('Sign In');\n this.signUpTitle = translate('Create Account');\n }\n\n /**\n * Lifecycle Methods\n */\n ngAfterContentInit(): void {\n this.contextService.customComponents = this.mapCustomComponents(\n this.customComponentQuery\n );\n }\n\n ngOnDestroy(): void {\n if (this.unsubscribeMachine) this.unsubscribeMachine();\n if (this.unsubscribeHub) this.unsubscribeHub();\n }\n\n /**\n * Class Functions\n */\n\n // context passed to \"authenticated\" slot\n public get context() {\n return this.authenticator.slotContext;\n }\n\n public get route() {\n return this.authenticator.route;\n }\n\n public onTabChange() {\n const route = this.authenticator.route;\n if (route === 'signIn') {\n this.authenticator.toSignUp();\n } else {\n this.authenticator.toSignIn();\n }\n }\n\n public hasTabs() {\n const { route } = this.authenticator;\n return route === 'signIn' || route === 'signUp';\n }\n\n public hasRouteComponent() {\n const { route } = this.authenticator;\n\n switch (route) {\n case 'authenticated':\n case 'idle':\n case 'setup':\n case 'signOut':\n case 'autoSignIn':\n return false;\n default:\n return true;\n }\n }\n\n private mapCustomComponents(\n componentQuery: QueryList<AmplifySlotDirective>\n ): Record<string, TemplateRef<any>> {\n if (!componentQuery) return {};\n const customComponents: Record<string, TemplateRef<any>> = {};\n componentQuery.forEach((component) => {\n customComponents[component.name] = component.template;\n });\n\n return customComponents;\n }\n}\n","import { Component, HostBinding, Input, OnInit } from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport {\n FormFieldsArray,\n getFormDataFromEvent,\n hasTranslation,\n translate,\n} from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-confirm-reset-password',\n templateUrl: './amplify-confirm-reset-password.component.html',\n})\nexport class ConfirmResetPasswordComponent {\n @HostBinding('attr.data-amplify-authenticator-confirmsignin') dataAttr = '';\n @Input() public headerText = translate('Reset your password');\n\n // translated strings\n public backToSignInText = translate('Back to Sign In');\n public resendCodeText = translate('Resend Code');\n public sortedFormFields: FormFieldsArray;\n /**\n * Support backwards compatibility for erroneous 'Send Code' text\n * See https://github.com/aws-amplify/amplify-ui/issues/1784\n * TODO: Remove support for 'Send Code' translation in next Major release\n */\n public submitText = !hasTranslation('Send Code')\n ? translate('Submit')\n : translate('Send Code');\n\n constructor(public authenticator: AuthenticatorService) {}\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n onInput(event: Event) {\n event.preventDefault();\n const { name, value } = <HTMLInputElement>event.target;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm(getFormDataFromEvent(event));\n }\n}\n","import { Component, HostBinding, OnInit } from '@angular/core';\nimport { Logger } from 'aws-amplify';\nimport {\n FormFieldsArray,\n getActorContext,\n getFormDataFromEvent,\n SignInContext,\n} from '@aws-amplify/ui';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { translate } from '@aws-amplify/ui';\n\nconst logger = new Logger('ConfirmSignIn');\n\n@Component({\n selector: 'amplify-confirm-sign-in',\n templateUrl: './confirm-sign-in.component.html',\n})\nexport class ConfirmSignInComponent implements OnInit {\n @HostBinding('attr.data-amplify-authenticator-confirmsignin') dataAttr = '';\n\n // translated texts\n public headerText: string;\n public confirmText = translate('Confirm');\n public backToSignInText = translate('Back to Sign In');\n public sortedFormFields: FormFieldsArray;\n\n constructor(public authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n this.setHeaderText();\n }\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n setHeaderText(): void {\n const state = this.authenticator.authState;\n const actorContext = getActorContext(state) as SignInContext;\n const { challengeName } = actorContext;\n switch (challengeName) {\n case 'SOFTWARE_TOKEN_MFA':\n this.headerText = translate('Confirm TOTP Code');\n break;\n case 'SMS_MFA':\n this.headerText = translate('Confirm SMS Code');\n break;\n default:\n logger.error('Unexpected challengeName', challengeName);\n }\n }\n\n onInput(event: Event): void {\n event.preventDefault();\n const { name, value } = <HTMLInputElement>event.target;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm(getFormDataFromEvent(event));\n }\n}\n","import { Component, HostBinding, Input, OnInit } from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport {\n FormFieldsArray,\n getFormDataFromEvent,\n translate,\n} from '@aws-amplify/ui';\n@Component({\n selector: 'amplify-confirm-sign-up',\n templateUrl: './confirm-sign-up.component.html',\n})\nexport class ConfirmSignUpComponent {\n @Input() headerText = translate('Confirm Sign Up');\n\n @HostBinding('attr.data-amplify-authenticator-confirmsignup') dataAttr = '';\n\n // translated texts\n public resendCodeText = translate('Resend Code');\n public confirmText = translate('Confirm');\n public emailMessage = translate(\n 'Your code is on the way. To log in, enter the code we emailed to'\n );\n public textedMessage = translate(\n 'Your code is on the way. To log in, enter the code we texted to'\n );\n public defaultMessage = translate(\n 'Your code is on the way. To log in, enter the code we sent you. It may take a minute to arrive.'\n );\n public minutesMessage = translate('It may take a minute to arrive.');\n\n public sortedFormFields: FormFieldsArray;\n\n constructor(public authenticator: AuthenticatorService) {}\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n public get confirmSignUpHeading(): string {\n const { codeDeliveryDetails: { DeliveryMedium } = {} } = this.authenticator;\n return DeliveryMedium === 'EMAIL'\n ? translate('We Emailed You')\n : DeliveryMedium === 'SMS'\n ? translate('We Texted You')\n : translate('We Sent A Code');\n }\n\n public get subtitleText(): string {\n const { codeDeliveryDetails: { DeliveryMedium, Destination } = {} } =\n this.authenticator;\n return DeliveryMedium === 'EMAIL'\n ? `${this.emailMessage} ${Destination}. ${this.minutesMessage}`\n : DeliveryMedium === 'SMS'\n ? `${this.textedMessage} ${Destination}. ${this.minutesMessage}`\n : translate(`${this.defaultMessage}`);\n }\n\n onInput(event: Event) {\n event.preventDefault();\n const { name, value } = <HTMLInputElement>event.target;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm(getFormDataFromEvent(event));\n }\n}\n","import { Component, HostBinding, Input } from '@angular/core';\nimport {\n FormFieldsArray,\n getFormDataFromEvent,\n translate,\n} from '@aws-amplify/ui';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\n\n@Component({\n selector: 'amplify-confirm-verify-user',\n templateUrl: './amplify-confirm-verify-user.component.html',\n})\nexport class ConfirmVerifyUserComponent {\n @HostBinding('attr.data-amplify-authenticator-confirmverifyuser')\n dataAttr = '';\n @Input() public headerText = translate(\n 'Account recovery requires verified contact information'\n );\n\n // translated texts\n public skipText = translate('Skip');\n public submitText = translate('Submit');\n public sortedFormFields: FormFieldsArray;\n\n constructor(public authenticator: AuthenticatorService) {}\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n onInput(event: Event) {\n event.preventDefault();\n const { name, value } = <HTMLInputElement>event.target;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm(getFormDataFromEvent(event));\n }\n}\n","import { Component, Input } from '@angular/core';\nimport { FederatedIdentityProviders } from '@aws-amplify/ui';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\n\n@Component({\n selector: 'amplify-federated-sign-in-button',\n templateUrl: './federated-sign-in-button.component.html',\n})\nexport class FederatedSignInButtonComponent {\n @Input() provider: FederatedIdentityProviders;\n @Input() text: string;\n\n constructor(private authenticator: AuthenticatorService) {}\n\n onClick = (): void => {\n this.authenticator.send({\n type: 'FEDERATED_SIGN_IN',\n data: { provider: this.provider },\n });\n };\n}\n","import { Component, OnInit } from '@angular/core';\nimport { FederatedIdentityProviders } from '@aws-amplify/ui';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { translate } from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-federated-sign-in',\n templateUrl: './federated-sign-in.component.html',\n})\nexport class FederatedSignInComponent implements OnInit {\n public FederatedProviders = FederatedIdentityProviders;\n public includeAmazon: boolean = false;\n public includeApple: boolean = false;\n public includeFacebook: boolean = false;\n public includeGoogle: boolean = false;\n public shouldShowFederatedSignIn = false;\n\n // translated texts\n public signInAmazonText: string;\n public signInAppleText: string;\n public signInFacebookText: string;\n public signInGoogleText: string;\n\n constructor(private authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n const { socialProviders } = this.authenticator.context?.config;\n\n this.setFederatedTexts();\n this.includeAmazon = socialProviders?.includes('amazon');\n this.includeApple = socialProviders?.includes('apple');\n this.includeGoogle = socialProviders?.includes('google');\n this.includeFacebook = socialProviders?.includes('facebook');\n\n this.shouldShowFederatedSignIn =\n this.includeAmazon ||\n this.includeApple ||\n this.includeFacebook ||\n this.includeGoogle;\n }\n\n private setFederatedTexts() {\n const { route } = this.authenticator;\n const federatedText = route === 'signUp' ? 'Up' : 'In';\n this.signInAmazonText = translate<string>(\n `Sign ${federatedText} with Amazon`\n );\n this.signInAppleText = translate<string>(\n `Sign ${federatedText} with Apple`\n );\n this.signInFacebookText = translate<string>(\n `Sign ${federatedText} with Facebook`\n );\n this.signInGoogleText = translate<string>(\n `Sign ${federatedText} with Google`\n );\n }\n}\n","import { Component, HostBinding, Input } from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { getFormDataFromEvent, translate } from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-force-new-password',\n templateUrl: './force-new-password.component.html',\n})\nexport class ForceNewPasswordComponent {\n @HostBinding('attr.data-amplify-authenticator-forcenewpassword')\n dataAttr = '';\n @Input() public headerText = translate('Change Password');\n\n // translated texts\n public changePasswordText = translate('Change Password');\n public backToSignInText = translate('Back to Sign In');\n\n constructor(public authenticator: AuthenticatorService) {}\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n onInput(event: Event) {\n event.preventDefault();\n const { name, value } = <HTMLInputElement>event.target;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm(getFormDataFromEvent(event));\n }\n}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'amplify-force-new-password-form-fields',\n templateUrl: './force-new-password-form-fields.component.html',\n})\nexport class ForceNewPasswordFormFieldsComponent {}\n","import { Component, Input } from '@angular/core';\nimport {\n translate,\n countryDialCodes,\n FormFieldOptions,\n getErrors,\n} from '@aws-amplify/ui';\nimport { nanoid } from 'nanoid';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\n\n@Component({\n selector: 'amplify-form-field',\n templateUrl: './form-field.component.html',\n})\nexport class FormFieldComponent {\n @Input() name: string; // name of the input field\n @Input() formField: FormFieldOptions; // form field options for this field\n\n public defaultCountryCodeValue: string;\n public countryDialCodesValue = countryDialCodes;\n public errorId = nanoid(12);\n\n constructor(private authenticator: AuthenticatorService) {}\n\n get errors(): string[] {\n const { validationErrors } = this.authenticator;\n return getErrors(validationErrors[this.name]);\n }\n\n public onBlur($event: Event) {\n let { name } = <HTMLInputElement>$event.target;\n\n this.authenticator.updateBlur({ name });\n }\n\n isPasswordField(): boolean {\n return this.formField.type === 'password';\n }\n\n isPhoneField(): boolean {\n return this.formField.type === 'tel';\n }\n\n hasError(): boolean {\n return this.errors?.length > 0;\n }\n\n get ariaDescribedBy() {\n return this.hasError() ? this.errorId : undefined;\n }\n\n translate(phrase: string): string {\n return translate<string>(phrase);\n }\n}\n","import { Component, HostBinding, Input } from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport {\n FormFieldsArray,\n getFormDataFromEvent,\n translate,\n} from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-reset-password',\n templateUrl: './reset-password.component.html',\n})\nexport class ResetPasswordComponent {\n @HostBinding('attr.data-amplify-authenticator-resetPassword') dataAttr = '';\n @Input() public headerText = translate('Reset your password');\n\n // translated texts\n public sendCodeText = translate('Send Code');\n public backToSignInText = translate('Back to Sign In');\n public sortedFormFields: FormFieldsArray;\n\n constructor(public authenticator: AuthenticatorService) {}\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n onInput(event: Event) {\n event.preventDefault();\n const { name, value } = <HTMLInputElement>event.target;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm(getFormDataFromEvent(event));\n }\n}\n","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import { Component, HostBinding, OnInit } from '@angular/core';\nimport QRCode from 'qrcode';\nimport { Auth, Logger } from 'aws-amplify';\nimport {\n FormFieldsArray,\n getActorContext,\n getFormDataFromEvent,\n getTotpCodeURL,\n SignInContext,\n} from '@aws-amplify/ui';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { translate } from '@aws-amplify/ui';\n\nconst logger = new Logger('SetupTotp');\n\n@Component({\n selector: 'amplify-setup-totp',\n templateUrl: './setup-totp.component.html',\n})\nexport class SetupTotpComponent implements OnInit {\n @HostBinding('attr.data-amplify-authenticator-setup-totp') dataAttr = '';\n public headerText = translate('Setup TOTP');\n public qrCodeSource = '';\n public secretKey = '';\n public copyTextLabel = translate('COPY');\n\n // translated texts\n public backToSignInText = translate('Back to Sign In');\n public confirmText = translate('Confirm');\n public sortedFormFields: FormFieldsArray;\n\n constructor(public authenticator: AuthenticatorService) {}\n\n async ngOnInit(): Promise<void> {\n await this.generateQRCode();\n }\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n async generateQRCode() {\n // TODO: This should be handled in core.\n const state = this.authenticator.authState;\n const actorContext = getActorContext(state) as SignInContext;\n const { user, formFields } = actorContext;\n const { totpIssuer = 'AWSCognito', totpUsername = user?.username } =\n formFields?.setupTOTP?.QR ?? {};\n try {\n this.secretKey = await Auth.setupTOTP(user);\n const totpCode = getTotpCodeURL(totpIssuer, totpUsername, this.secretKey);\n\n logger.info('totp code was generated:', totpCode);\n this.qrCodeSource = await QRCode.toDataURL(totpCode);\n } catch (err) {\n logger.error(err);\n }\n }\n\n onInput(event: Event) {\n event.preventDefault();\n const { name, value } = <HTMLInputElement>event.target;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm(getFormDataFromEvent(event));\n }\n\n copyText(): void {\n navigator.clipboard.writeText(this.secretKey);\n this.copyTextLabel = translate('COPIED');\n }\n}\n","import {\n Component,\n HostBinding,\n OnInit,\n ViewEncapsulation,\n} from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport {\n translate,\n hasTranslation,\n getFormDataFromEvent,\n FormFieldsArray,\n getSortedFormFields,\n} from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-sign-in',\n templateUrl: './sign-in.component.html',\n encapsulation: ViewEncapsulation.None,\n})\nexport class SignInComponent {\n @HostBinding('attr.data-amplify-authenticator-signin') dataAttr = '';\n\n // translated phrases\n // Support backwards compatibility for legacy key with trailing space\n public forgotPasswordText = !hasTranslation('Forgot your password? ')\n ? translate('Forgot your password?')\n : translate('Forgot your password? ');\n public signInButtonText = translate('Sign in');\n public sortedFormFields: FormFieldsArray;\n\n constructor(public authenticator: AuthenticatorService) {}\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n onInput(event: Event) {\n event.preventDefault();\n const { name, value } = <HTMLInputElement>event.target;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm(getFormDataFromEvent(event));\n }\n}\n","import { Component, HostBinding, Input } from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { translate, getFormDataFromEvent } from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-sign-up',\n templateUrl: './sign-up.component.html',\n})\nexport class SignUpComponent {\n @HostBinding('attr.data-amplify-authenticator-signup') dataAttr = '';\n\n // translated texts\n public createAccountText = translate('Create Account');\n\n constructor(public authenticator: AuthenticatorService) {}\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n onInput(event: Event) {\n let { checked, name, type, value } = <HTMLInputElement>event.target;\n\n if (type === 'checkbox' && !checked) value = undefined;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm(getFormDataFromEvent(event));\n }\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'amplify-sign-up-form-fields',\n templateUrl: './sign-up-form-fields.component.html',\n})\nexport class SignUpFormFieldsComponent {}\n","import { defaultFormFieldOptions } from '@aws-amplify/ui';\nimport { AttributeInfoProvider } from './types';\n\nexport const getAttributeMap: AttributeInfoProvider = () =>\n defaultFormFieldOptions;\n","import {\n Component,\n HostBinding,\n Input,\n OnInit,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n getActorState,\n getFormDataFromEvent,\n SignInState,\n translate,\n} from '@aws-amplify/ui';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { getAttributeMap } from '../../../../common';\nimport { nanoid } from 'nanoid';\n@Component({\n selector: 'amplify-verify-user',\n templateUrl: './verify-user.component.html',\n encapsulation: ViewEncapsulation.None,\n})\nexport class VerifyUserComponent implements OnInit {\n @HostBinding('attr.data-amplify-authenticator-verifyuser') dataAttr = '';\n @Input() public headerText = translate(\n 'Account recovery requires verified contact information'\n );\n\n public unverifiedContactMethods = {};\n public labelId = nanoid(12);\n\n // translated texts\n public skipText = translate('Skip');\n public verifyText = translate('Verify');\n\n constructor(public authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n const actorState = getActorState(\n this.authenticator.authState\n ) as SignInState;\n this.unverifiedContactMethods = actorState.context.unverifiedContactMethods;\n }\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n getLabelForAttr(authAttr: string): string {\n const attributeMap = getAttributeMap();\n const label = attributeMap[authAttr]?.label;\n return translate<string>(label);\n }\n\n onInput(event: Event) {\n event.preventDefault();\n const { name, value } = <HTMLInputElement>event.target;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm(getFormDataFromEvent(event));\n }\n}\n","import { Component, HostBinding, Input, OnInit } from '@angular/core';\nimport {\n FormFieldComponents,\n hasTranslation,\n translate,\n getDefaultFormFields,\n getActorContext,\n FormFieldsArray,\n getSortedFormFields,\n applyDefaults,\n sortFormFields,\n} from '@aws-amplify/ui';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\n\n/**\n * Sorts the given formFields, then renders them in order.\n */\n@Component({\n selector: 'amplify-base-form-fields',\n templateUrl: './base-form-fields.component.html',\n})\nexport class BaseFormFieldsComponent implements OnInit {\n @Input() route: FormFieldComponents; // formFields to sort and render\n @HostBinding('style.display') display = 'contents';\n public formFields: FormFieldsArray = [];\n\n constructor(private authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n const state = this.authenticator.authState;\n this.formFields = getSortedFormFields(this.route, state);\n\n if (this.route === 'confirmSignUp') {\n this.handleConfirmSignUp();\n }\n }\n\n private handleConfirmSignUp() {\n /**\n * @todo(breaking): Angular `confirmSignUp` has different placholder here from other frameworks.\n *\n * Translating here in a backwards-compatible manner, but should be resolved in next major version.\n */\n\n const state = this.authenticator.authState;\n\n // backwards compatible placeholder text\n const placeholder = !hasTranslation('Confirmation Code')\n ? translate('Enter your code') // prioritize new placeholder\n : translate('Confirmation Code'); // legacy placeholder\n\n let defaultFormFields = getDefaultFormFields(this.route, state);\n\n if (defaultFormFields.confirmation_code.placeholder) {\n defaultFormFields.confirmation_code.placeholder = placeholder;\n }\n\n const customFormFields =\n getActorContext(state).formFields?.confirmSignUp || {};\n\n const newFormFields = applyDefaults(defaultFormFields, customFormFields);\n this.formFields = sortFormFields(newFormFields);\n }\n}\n","import { Component, HostBinding, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'button[amplify-button]',\n templateUrl: './button.component.html',\n})\nexport class ButtonComponent implements OnInit {\n @Input() type: 'submit' | 'button' = 'button';\n @Input() fullWidth: boolean | string = false;\n @Input() isDisabled: boolean | string = false;\n @Input() size: 'small' | 'medium' | 'large' = 'medium';\n @Input() variation: 'primary' | 'default' | 'link' = 'default';\n @Input() fontWeight: 'normal' | 'bold' | 'lighter' = 'normal';\n\n @HostBinding('type') typeAttr: string;\n @HostBinding('attr.data-fullwidth') fullWidthAttr: boolean | string;\n @HostBinding('attr.data-size') sizeAttr: string;\n @HostBinding('attr.data-variation') variationAttr: string;\n @HostBinding('style.font-weight') fontWeightAttr: string;\n\n @HostBinding('attr.disabled') get getDisabled() {\n return this.isDisabled ? '' : null;\n }\n\n @HostBinding('class') get classNames() {\n let className = 'amplify-button';\n if (this.variation) {\n className += ` amplify-button--${this.variation}`;\n }\n if (this.size) {\n className += ` amplify-button--${this.size}`;\n }\n if (this.fullWidth) {\n className += ` amplify-button--fullwidth`;\n }\n if (this.isDisabled) {\n className += ` amplify-button--disabled amplify-button--loading`;\n }\n\n return className;\n }\n\n ngOnInit() {\n this.typeAttr = this.type;\n this.fullWidthAttr = this.fullWidth;\n this.sizeAttr = this.size;\n this.variationAttr = this.variation;\n this.fontWeightAttr = this.fontWeight;\n }\n}\n","import { Component, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'amplify-checkbox',\n templateUrl: './checkbox.component.html',\n})\nexport class CheckboxComponent implements OnInit {\n @Input() defaultChecked: boolean = false;\n @Input() errorMessage: string;\n @Input() hasError: boolean = false;\n @Input() label: string;\n @Input() name: string;\n @Input() value: string;\n\n public isChecked: boolean = false;\n\n ngOnInit() {\n if (this.defaultChecked) {\n this.isChecked = true;\n }\n }\n\n handleClick() {\n this.isChecked = !this.isChecked;\n }\n}\n","import { Component } from '@angular/core';\nimport { translate } from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-error',\n templateUrl: './error.component.html',\n})\nexport class ErrorComponent {\n public isVisible = true;\n public dismissAriaLabel = translate('Dismiss alert');\n\n public close() {\n this.isVisible = false;\n }\n}\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { translate } from '@aws-amplify/ui';\nimport { nanoid } from 'nanoid';\n\n@Component({\n selector: 'amplify-password-field',\n templateUrl: './password-field.component.html',\n})\nexport class PasswordFieldComponent {\n @Input() autocomplete = 'new-password';\n @Input() disabled = false;\n @Input() fieldId: string = `amplify-field-${nanoid(12)}`;\n @Input() initialValue = '';\n @Input() label = '';\n @Input() name: string;\n @Input() placeholder = '';\n @Input() required = true;\n @Input() labelHidden = false;\n @Input() hasError: boolean;\n @Input() describedBy: string;\n @Output() setBlur = new EventEmitter<Event>();\n\n public type: 'text' | 'password' = 'password';\n\n public showPassword = false;\n public showPasswordButtonlabel = translate('Show password');\n\n togglePasswordText() {\n this.showPassword = !this.showPassword;\n this.showPasswordButtonlabel = this.showPassword\n ? translate('Show password')\n : translate('Hide password');\n this.type = this.showPassword ? 'text' : 'password';\n }\n}\n","import { Component, HostBinding, Input, OnInit } from '@angular/core';\nimport { nanoid } from 'nanoid';\nimport { countryDialCodes } from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-phone-number-field',\n templateUrl: './phone-number-field.component.html',\n})\nexport class PhoneNumberFieldComponent implements OnInit {\n @Input() autocomplete = 'new-password';\n @Input() disabled = false;\n @Input() defaultCountryCode: string;\n @Input() selectFieldId: string = `amplify-field-${nanoid(12)}`;\n @Input() textFieldId: string = `amplify-field-${nanoid(12)}`;\n @Input() initialValue = '';\n @Input() label = '';\n @Input() name: string;\n @Input() placeholder = '';\n @Input() required = true;\n @Input() type: string;\n @Input() labelHidden = false;\n @Input() dialCodeList: Array<string>;\n @Input() hasError: boolean;\n @Input() describedBy: string;\n\n @HostBinding('style.display') display = 'contents';\n\n public countryDialCodesValues: Array<string>;\n\n ngOnInit(): void {\n this.countryDialCodesValues = this.dialCodeList ?? countryDialCodes;\n }\n}\n","import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'amplify-form-select',\n templateUrl: './select.component.html',\n})\nexport class SelectComponent {\n @Input() items: string[];\n @Input() name: string;\n @Input() label: string;\n @Input() id: string;\n @Input() defaultValue: string;\n}\n","import { Component, HostBinding, Input } from '@angular/core';\n\n@Component({\n selector: 'amplify-tab-item',\n templateUrl: './tab-item.component.html',\n})\nexport class TabItemComponent {\n @Input() title: string;\n @Input() active = false;\n @Input() id: string;\n @Input() labelledById: string;\n @Input() tabIndex: number;\n @HostBinding('style.display') display = 'block'; // emulate div behavior\n}\n","import {\n AfterContentInit,\n Component,\n ContentChildren,\n QueryList,\n Output,\n EventEmitter,\n} from '@angular/core';\nimport { nanoid } from 'nanoid';\nimport { TabItemComponent } from '../tab-item/tab-item.component';\n\n@Component({\n selector: 'amplify-tabs',\n templateUrl: './tabs.component.html',\n})\nexport class TabsComponent implements AfterContentInit {\n @ContentChildren(TabItemComponent) tabs: QueryList<TabItemComponent>;\n @Output() tabChange = new EventEmitter();\n\n ngAfterContentInit(): void {\n // assign ids\n this.tabs.forEach((tab, index) => {\n tab.id = `radix-id-${nanoid(12)}-1-content-${index}`;\n tab.labelledById = `radix-id-${nanoid(12)}-1-trigger-${index}`;\n });\n\n // find active tab\n // TODO(enhancement): more declarative way for choosing the initial tab to render\n const activeTabs = this.tabs.filter((tab) => tab.active);\n\n // set active tab\n if (activeTabs.length !== 1) {\n this.selectTab(this.tabs.first);\n }\n }\n\n selectTab(tab: TabItemComponent) {\n this.tabs.forEach((tab) => {\n tab.active = false;\n });\n tab.active = true;\n }\n\n handleTabClick(tab: TabItemComponent) {\n if (tab.active) return; // don't do anything if clicks the current active tab\n this.tabChange.emit();\n this.selectTab(tab);\n }\n}\n","import { Component, HostBinding, Input } from '@angular/core';\nimport { nanoid } from 'nanoid';\n\n@Component({\n selector: 'amplify-text-field',\n templateUrl: './text-field.component.html',\n})\nexport class TextFieldComponent {\n @Input() autocomplete = 'new-password';\n @Input() disabled = false;\n @Input() fieldId: string = `amplify-field-${nanoid(12)}`;\n @Input() initialValue = '';\n @Input() label = '';\n @Input() name: string;\n @Input() placeholder = '';\n @Input() required = true;\n @Input() type: string;\n @Input() labelHidden = false;\n @Input() hasError: boolean;\n @Input() describedBy: string;\n\n @HostBinding('style.display') display = 'contents';\n}\n","import {\n AfterContentInit,\n Component,\n HostBinding,\n Input,\n TemplateRef,\n} from '@angular/core';\nimport { CustomComponentsService } from '../../services/custom-components.service';\n\n@Component({\n selector: 'amplify-slot',\n templateUrl: './amplify-slot.component.html',\n})\nexport class AmplifySlotComponent implements AfterContentInit {\n @Input() name: string;\n @Input() context: Record<PropertyKey, any>;\n\n @HostBinding('style.display') display = 'contents';\n\n public overridingComponent: TemplateRef<any>;\n public isOverriden: boolean = false;\n\n constructor(private propService: CustomComponentsService) {}\n\n ngAfterContentInit(): void {\n const customComponents = this.propService.customComponents;\n const overridingComponent = customComponents[this.name];\n\n if (overridingComponent) {\n this.overridingComponent = overridingComponent;\n this.isOverriden = true;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n/**\n * Note: Angular components and directives inside module files has to be imported directly.\n *\n * Related: https://github.com/ng-packagr/ng-packagr/issues/567\n */\nimport { AuthenticatorComponent } from './components/authenticator/authenticator.component';\nimport { ConfirmResetPasswordComponent } from './components/confirm-reset-password/amplify-confirm-reset-password.component';\nimport { ConfirmSignInComponent } from './components/confirm-sign-in/confirm-sign-in.component';\nimport { ConfirmSignUpComponent } from './components/confirm-sign-up/confirm-sign-up.component';\nimport { ConfirmVerifyUserComponent } from './components/confirm-verify-user/amplify-confirm-verify-user.component';\nimport { FederatedSignInButtonComponent } from './components/federated-sign-in-button/federated-sign-in-button.component';\nimport { FederatedSignInComponent } from './components/federated-sign-in/federated-sign-in.component';\nimport { ForceNewPasswordComponent } from './components/force-new-password/force-new-password.component';\nimport { ForceNewPasswordFormFieldsComponent } from './components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component';\nimport { FormFieldComponent } from './components/form-field/form-field.component';\nimport { ResetPasswordComponent } from './components/reset-password/reset-password.component';\nimport { SetupTotpComponent } from './components/setup-totp/setup-totp.component';\nimport { SignInComponent } from './components/sign-in/sign-in.component';\nimport { SignUpComponent } from './components/sign-up/sign-up.component';\nimport { SignUpFormFieldsComponent } from './components/sign-up/sign-up-form-fields/sign-up-form-fields.component';\nimport { VerifyUserComponent } from './components/verify-user/verify-user.component';\nimport { BaseFormFieldsComponent } from './components/base-form-fields/base-form-fields.component';\n\nimport { ButtonComponent } from '../../primitives/button/button.component';\nimport { CheckboxComponent } from '../../primitives/checkbox/checkbox.component';\nimport { ErrorComponent } from '../../primitives/error/error.component';\nimport { PasswordFieldComponent } from '../../primitives/password-field/password-field.component';\nimport { PhoneNumberFieldComponent } from '../../primitives/phone-number-field/phone-number-field.component';\nimport { SelectComponent } from '../../primitives/select/select.component';\nimport { TabItemComponent } from '../../primitives/tab-item/tab-item.component';\nimport { TabsComponent } from '../../primitives/tabs/tabs.component';\nimport { TextFieldComponent } from '../../primitives/text-field/text-field.component';\n\nimport { AmplifySlotComponent } from '../../utilities/amplify-slot/amplify-slot.component';\nimport { AmplifySlotDirective } from '../../utilities/amplify-slot/amplify-slot.directive';\n\n@NgModule({\n declarations: [\n AmplifySlotComponent,\n AmplifySlotDirective,\n AuthenticatorComponent,\n BaseFormFieldsComponent,\n ButtonComponent,\n CheckboxComponent,\n ConfirmResetPasswordComponent,\n ConfirmSignInComponent,\n ConfirmSignUpComponent,\n ConfirmVerifyUserComponent,\n ErrorComponent,\n FederatedSignInButtonComponent,\n FederatedSignInComponent,\n ForceNewPasswordComponent,\n ForceNewPasswordFormFieldsComponent,\n FormFieldComponent,\n PasswordFieldComponent,\n PhoneNumberFieldComponent,\n ResetPasswordComponent,\n SelectComponent,\n SetupTotpComponent,\n SignInComponent,\n SignUpComponent,\n SignUpFormFieldsComponent,\n TabItemComponent,\n TabsComponent,\n TextFieldComponent,\n VerifyUserComponent,\n ],\n imports: [CommonModule],\n exports: [\n AmplifySlotDirective,\n AuthenticatorComponent,\n CheckboxComponent,\n SignUpFormFieldsComponent,\n ForceNewPasswordFormFieldsComponent,\n TextFieldComponent,\n ],\n})\nexport class AmplifyAuthenticatorModule {}\n"],"mappings":"ukCAKAA,EAAA,WACE,SAAAA,EAAmBC,GAAAC,KAAQD,SAARA,C,QAGnBE,OAAAC,eAAaJ,EAAWK,UAAA,eAAxBC,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,EACAc,EACAtL,EACAc,EACAM,EACAO,EACA+J,EACA7J,EACAG,EACAgB,EACAE,EACAC,EACA2I,EACAa,EACAxI,EACA6I,EACAlG,EACA4B,EACAG,EACAG,EACAiE,EACAE,EACAY,EACA5E,GAEFoF,QAAS,CAACC,gBACVC,QAAS,CACPpV,EACAqE,EACA4N,EACAtC,EACA9F,EACA6K,O"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- export { ProxyCmp as ɵa } from './proxies';
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXdzLWFtcGxpZnktdWktYW5ndWxhci1sZWdhY3kuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1hbmd1bGFyL2xlZ2FjeS9zcmMvYXdzLWFtcGxpZnktdWktYW5ndWxhci1sZWdhY3kudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQztBQUV4QixPQUFPLEVBQUMsUUFBUSxJQUFJLEVBQUUsRUFBQyxNQUFNLFdBQVcsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG5cbmV4cG9ydCB7UHJveHlDbXAgYXMgybVhfSBmcm9tICcuL3Byb3hpZXMnOyJdfQ==
@@ -1,3 +0,0 @@
1
- export { AmplifyButton, AmplifyChatbot, AmplifyIcon, AmplifyInput, AmplifyPhotoPicker, AmplifyPicker, AmplifyS3Album, AmplifyS3Image, AmplifyS3ImagePicker, AmplifyS3Text, AmplifyS3TextPicker, AmplifyToast, } from './proxies';
2
- export { LegacyAmplifyUiModule } from './legacy-ui-angular.module';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1hbmd1bGFyL2xlZ2FjeS9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLGFBQWEsRUFDYixjQUFjLEVBQ2QsV0FBVyxFQUNYLFlBQVksRUFDWixrQkFBa0IsRUFDbEIsYUFBYSxFQUNiLGNBQWMsRUFDZCxjQUFjLEVBQ2Qsb0JBQW9CLEVBQ3BCLGFBQWEsRUFDYixtQkFBbUIsRUFDbkIsWUFBWSxHQUNiLE1BQU0sV0FBVyxDQUFDO0FBRW5CLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHtcbiAgQW1wbGlmeUJ1dHRvbixcbiAgQW1wbGlmeUNoYXRib3QsXG4gIEFtcGxpZnlJY29uLFxuICBBbXBsaWZ5SW5wdXQsXG4gIEFtcGxpZnlQaG90b1BpY2tlcixcbiAgQW1wbGlmeVBpY2tlcixcbiAgQW1wbGlmeVMzQWxidW0sXG4gIEFtcGxpZnlTM0ltYWdlLFxuICBBbXBsaWZ5UzNJbWFnZVBpY2tlcixcbiAgQW1wbGlmeVMzVGV4dCxcbiAgQW1wbGlmeVMzVGV4dFBpY2tlcixcbiAgQW1wbGlmeVRvYXN0LFxufSBmcm9tICcuL3Byb3hpZXMnO1xuXG5leHBvcnQgeyBMZWdhY3lBbXBsaWZ5VWlNb2R1bGUgfSBmcm9tICcuL2xlZ2FjeS11aS1hbmd1bGFyLm1vZHVsZSc7XG4iXX0=
@@ -1,53 +0,0 @@
1
- import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- 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, AmplifyIcon as icon, } from './proxies';
4
- import { AmplifyChatbot, AmplifyButton, AmplifyInput, AmplifyToast, AmplifyS3Album, AmplifyS3ImagePicker, AmplifyS3Text, AmplifyS3TextPicker, AmplifyS3Image, AmplifyPicker, AmplifyPhotoPicker, AmplifyIcon, } from '@aws-amplify/ui-components/dist/components';
5
- customElements.define('amplify-button', AmplifyButton);
6
- customElements.define('amplify-input', AmplifyInput);
7
- customElements.define('amplify-toast', AmplifyToast);
8
- customElements.define('amplify-chatbot', AmplifyChatbot);
9
- customElements.define('amplify-s3-album', AmplifyS3Album);
10
- customElements.define('amplify-s3-image-picker', AmplifyS3ImagePicker);
11
- customElements.define('amplify-s3-text', AmplifyS3Text);
12
- customElements.define('amplify-s3-text-picker', AmplifyS3TextPicker);
13
- customElements.define('amplify-s3-image', AmplifyS3Image);
14
- customElements.define('amplify-picker', AmplifyPicker);
15
- customElements.define('amplify-photo-picker', AmplifyPhotoPicker);
16
- customElements.define('amplify-icon', AmplifyIcon);
17
- export class LegacyAmplifyUiModule {
18
- }
19
- LegacyAmplifyUiModule.decorators = [
20
- { type: NgModule, args: [{
21
- declarations: [
22
- chatbot,
23
- toast,
24
- icon,
25
- input,
26
- button,
27
- S3Album,
28
- S3ImagePicker,
29
- S3Text,
30
- S3TextPicker,
31
- S3Image,
32
- picker,
33
- photoPicker,
34
- ],
35
- imports: [CommonModule],
36
- exports: [
37
- chatbot,
38
- toast,
39
- icon,
40
- input,
41
- button,
42
- S3Album,
43
- S3ImagePicker,
44
- S3Text,
45
- S3TextPicker,
46
- S3Image,
47
- picker,
48
- photoPicker,
49
- ],
50
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
51
- },] }
52
- ];
53
- //# source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