@aws-amplify/ui-angular 2.2.2 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/aws-amplify-ui-angular.d.ts +24 -24
  2. package/aws-amplify-ui-angular.metadata.json +1 -1
  3. package/bundles/aws-amplify-ui-angular.umd.js +110 -314
  4. package/bundles/aws-amplify-ui-angular.umd.js.map +1 -1
  5. package/bundles/aws-amplify-ui-angular.umd.min.js +1 -1
  6. package/bundles/aws-amplify-ui-angular.umd.min.js.map +1 -1
  7. package/esm2015/aws-amplify-ui-angular.js +25 -25
  8. package/esm2015/lib/common/helpers.js +3 -3
  9. package/esm2015/lib/common/types/auth-types.js +1 -1
  10. package/esm2015/lib/components/authenticator/authenticator.module.js +3 -3
  11. package/esm2015/lib/components/authenticator/components/base-form-fields/base-form-fields.component.js +54 -0
  12. package/esm2015/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.js +3 -15
  13. package/esm2015/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.js +3 -13
  14. package/esm2015/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.js +3 -15
  15. package/esm2015/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.js +3 -15
  16. package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.js +2 -22
  17. package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password.component.js +3 -15
  18. package/esm2015/lib/components/authenticator/components/form-field/form-field.component.js +12 -67
  19. package/esm2015/lib/components/authenticator/components/index.js +2 -2
  20. package/esm2015/lib/components/authenticator/components/reset-password/reset-password.component.js +3 -19
  21. package/esm2015/lib/components/authenticator/components/setup-totp/setup-totp.component.js +3 -13
  22. package/esm2015/lib/components/authenticator/components/sign-in/sign-in.component.js +3 -21
  23. package/esm2015/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.js +2 -44
  24. package/fesm2015/aws-amplify-ui-angular.js +75 -277
  25. package/fesm2015/aws-amplify-ui-angular.js.map +1 -1
  26. package/lib/common/types/auth-types.d.ts +2 -2
  27. package/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +2 -2
  28. package/lib/components/authenticator/components/base-form-fields/base-form-fields.component.d.ts +15 -0
  29. package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +5 -9
  30. package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +4 -6
  31. package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +5 -9
  32. package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +5 -9
  33. package/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.d.ts +1 -7
  34. package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +3 -9
  35. package/lib/components/authenticator/components/form-field/form-field.component.d.ts +5 -29
  36. package/lib/components/authenticator/components/index.d.ts +1 -1
  37. package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts +5 -10
  38. package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +5 -6
  39. package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +5 -12
  40. package/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.d.ts +1 -17
  41. package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +2 -2
  42. package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +2 -2
  43. package/lib/services/authenticator.service.d.ts +3 -3
  44. package/package.json +8 -3
  45. package/esm2015/lib/components/authenticator/components/user-name-alias/user-name-alias.component.js +0 -42
  46. package/lib/components/authenticator/components/user-name-alias/user-name-alias.component.d.ts +0 -21
@@ -1 +1 @@
1
- {"version":3,"file":"aws-amplify-ui-angular.js","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/common/helpers.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","../../../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/components/authenticator/components/user-name-alias/user-name-alias.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/verify-user/verify-user.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","../../../projects/ui-angular/src/index.ts","../../../projects/ui-angular/src/aws-amplify-ui-angular.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 AuthenticatorMachineOptions,\n AuthEvent,\n AuthInterpreter,\n AuthMachineState,\n createAuthenticatorMachine,\n getSendEventAliases,\n getServiceContextFacade,\n listenToAuthHub,\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 _hubSubscription: ReturnType<typeof listenToAuthHub>;\n private _facade: ReturnType<typeof getServiceContextFacade>;\n\n public startMachine({\n initialState,\n loginMechanisms,\n services,\n signUpAttributes,\n socialProviders,\n formFields,\n }: AuthenticatorMachineOptions) {\n const machine = createAuthenticatorMachine();\n\n const authService = interpret(machine).start();\n\n authService.send({\n type: 'INIT',\n data: {\n initialState,\n loginMechanisms,\n socialProviders,\n signUpAttributes,\n services,\n formFields,\n },\n });\n\n this._machineSubscription = authService.subscribe((state) => {\n this._authState = state;\n this._facade = getServiceContextFacade(state);\n });\n\n this._hubSubscription = listenToAuthHub(authService.send);\n this._sendEventAliases = getSendEventAliases(authService.send);\n this._authService = authService;\n }\n\n ngOnDestroy(): void {\n if (this._machineSubscription) this._machineSubscription.unsubscribe();\n if (this._hubSubscription) this._hubSubscription();\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 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 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 Component,\n ContentChildren,\n Input,\n OnInit,\n QueryList,\n TemplateRef,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n AuthenticatorMachineOptions,\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 implements OnInit, AfterContentInit {\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 constructor(\n private authenticator: AuthenticatorService,\n private contextService: CustomComponentsService\n ) {}\n\n ngOnInit(): void {\n const {\n initialState,\n loginMechanisms,\n services,\n signUpAttributes,\n socialProviders,\n formFields,\n } = this;\n this.authenticator.startMachine({\n initialState,\n loginMechanisms,\n services,\n signUpAttributes,\n socialProviders,\n formFields,\n });\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 /**\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.route;\n return route === 'signIn' || route === 'signUp';\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 FormField,\n getActorState,\n getFormDataFromEvent,\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 implements OnInit {\n @HostBinding('attr.data-amplify-authenticator-confirmsignin') dataAttr = '';\n @Input() public headerText = translate('Reset your password');\n\n // translated strings\n public sendCodeText = translate('Send Code');\n public backToSignInText = translate('Back to Sign In');\n public resendCodeText = translate('Resend Code');\n public formOverrides: FormField;\n\n constructor(public authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n this.setFormFields();\n }\n\n public setFormFields() {\n const _state = this.authenticator.authState;\n this.formOverrides =\n getActorState(_state).context?.formFields?.confirmResetPassword;\n }\n\n public grabField(name: string, field: string, defaultV) {\n return this.formOverrides?.[name]?.[field] ?? defaultV;\n }\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 AuthChallengeNames,\n FormField,\n getActorContext,\n getActorState,\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 formOverrides: FormField;\n\n constructor(public authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n this.setHeaderText();\n this.setFormFields();\n }\n\n public setFormFields() {\n const _state = this.authenticator.authState;\n this.formOverrides =\n getActorState(_state).context?.formFields?.confirmSignIn;\n }\n\n public grabField(name: string, field: string, defaultV) {\n return this.formOverrides?.[name]?.[field] ?? defaultV;\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 AuthChallengeNames.SOFTWARE_TOKEN_MFA:\n this.headerText = translate('Confirm TOTP Code');\n break;\n case AuthChallengeNames.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 FormField,\n getActorState,\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 implements OnInit {\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 public formOverrides: FormField;\n\n constructor(public authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n this.setFormFields();\n }\n\n public setFormFields() {\n const _state = this.authenticator.authState;\n this.formOverrides =\n getActorState(_state).context?.formFields?.confirmSignUp;\n }\n\n public grabField(name: string, field: string, defaultV) {\n return this.formOverrides?.[name]?.[field] ?? defaultV;\n }\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, OnInit } from '@angular/core';\nimport {\n FormField,\n getActorState,\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 implements OnInit {\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 formOverrides: FormField;\n\n constructor(public authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n this.setFormFields();\n }\n\n public setFormFields() {\n const _state = this.authenticator.authState;\n this.formOverrides =\n getActorState(_state).context?.formFields?.confirmVerifyUser;\n }\n\n public grabField(name: string, field: string, defaultV) {\n return this.formOverrides?.[name]?.[field] ?? defaultV;\n }\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, OnInit } from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport {\n FormField,\n getActorState,\n getFormDataFromEvent,\n translate,\n} from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-force-new-password',\n templateUrl: './force-new-password.component.html',\n})\nexport class ForceNewPasswordComponent implements OnInit {\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 public formOverrides: FormField;\n\n constructor(public authenticator: AuthenticatorService) {}\n ngOnInit(): void {\n this.setFormFields();\n }\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n public setFormFields() {\n const _state = this.authenticator.authState;\n this.formOverrides =\n getActorState(_state).context?.formFields?.forceNewPassword;\n }\n\n public grabField(name: string, field: string, defaultV) {\n return this.formOverrides?.[name]?.[field] ?? defaultV;\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, OnInit } from '@angular/core';\nimport { AuthenticatorService } from '../../../../../services/authenticator.service';\nimport {\n authInputAttributes,\n getActorContext,\n SignInContext,\n} from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-force-new-password-form-fields',\n templateUrl: './force-new-password-form-fields.component.html',\n})\nexport class ForceNewPasswordFormFieldsComponent implements OnInit {\n public fieldNames: string[];\n\n constructor(private authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n const state = this.authenticator.authState;\n const actorContext = getActorContext(state) as SignInContext;\n const { requiredAttributes } = actorContext;\n\n this.fieldNames = requiredAttributes.filter((fieldName) => {\n const hasDefaultField = !!authInputAttributes[fieldName];\n if (!hasDefaultField) {\n console.debug(\n `Authenticator does not have a default implementation for ${fieldName}. Customize Authenticator.SignUp.FormFields to add your own.`\n );\n }\n return hasDefaultField;\n });\n }\n}\n","import { authInputAttributes } from '@aws-amplify/ui';\nimport { AttributeInfoProvider } from './types';\n\nexport const getAttributeMap: AttributeInfoProvider = () => authInputAttributes;\n","import { Component, Input, OnInit } from '@angular/core';\nimport {\n ActorContextWithForms,\n AuthInputAttributes,\n getActorContext,\n translate,\n countryDialCodes,\n} from '@aws-amplify/ui';\nimport { getAttributeMap } from '../../../../common';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\n\n/**\n * Input interface opinionated for authenticator usage.\n *\n * TODO: Separate this component out to two parts -- 1) amplify-auth-input that\n * contains authenticator opinionated logic and 2) amplify-text-field primitive\n * that does not make any auth-related inference.\n */\n@Component({\n selector: 'amplify-form-field',\n templateUrl: './form-field.component.html',\n})\nexport class FormFieldComponent implements OnInit {\n @Input() name: string;\n @Input() type: string;\n @Input() required = true;\n @Input() placeholder = '';\n @Input() label = '';\n @Input() initialValue = '';\n @Input() disabled = false;\n @Input() autocomplete = '';\n @Input() labelHidden = true;\n @Input() defaultCountryCode: string;\n @Input() dialCodeList: Array<string>;\n\n public defaultCountryCodeValue: string;\n public countryDialCodesValue = countryDialCodes;\n public textFieldId: string;\n public selectFieldId: string;\n\n constructor(private authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n // TODO: consider better default handling mechanisms across frameworks\n if (this.isPhoneField()) {\n const state = this.authenticator.authState;\n const { country_code }: ActorContextWithForms = getActorContext(state);\n this.defaultCountryCodeValue = this.defaultCountryCode ?? country_code;\n }\n }\n\n get attributeMap(): AuthInputAttributes {\n return getAttributeMap();\n }\n\n get error(): string {\n const formContext: ActorContextWithForms = getActorContext(\n this.authenticator.authState\n );\n const { validationError } = formContext;\n return translate(validationError[this.name]);\n }\n\n public onBlur($event: Event) {\n let { name } = <HTMLInputElement>$event.target;\n\n this.authenticator.updateBlur({ name });\n }\n\n inferLabel(): string {\n const label = this.label || this.attributeMap[this.name]?.label;\n return translate<string>(label);\n }\n\n inferPlaceholder(): string {\n const placeholder =\n this.placeholder ||\n this.attributeMap[this.name]?.placeholder ||\n this.inferLabel();\n\n return translate<string>(placeholder);\n }\n\n // infers what the `type` of underlying input element should be.\n inferType(): string {\n return this.type ?? this.attributeMap[this.name]?.type ?? 'text';\n }\n\n inferAutocomplete(): string {\n return this.autocomplete || this.attributeMap[this.name]?.autocomplete;\n }\n\n // TODO(enhancement): use enum to differentiate special field types\n isPasswordField(): boolean {\n return this.inferType() === 'password';\n }\n\n isPhoneField(): boolean {\n return this.inferType() === 'tel';\n }\n}\n","import { Component, HostBinding, Input, OnInit } from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport {\n FormField,\n getActorState,\n getAliasInfoFromContext,\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 implements OnInit {\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 labelText = translate<string>('Username');\n public formOverrides: FormField;\n\n constructor(public authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n const { authState } = this.authenticator;\n const { label } = getAliasInfoFromContext(authState.context);\n this.labelText = `Enter your ${label.toLowerCase()}`;\n this.setFormFields();\n }\n\n public setFormFields() {\n const _state = this.authenticator.authState;\n this.formOverrides =\n getActorState(_state).context?.formFields?.resetPassword;\n }\n\n public grabField(name: string, field: string, defaultV) {\n return this.formOverrides?.[name]?.[field] ?? defaultV;\n }\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 QRCode from 'qrcode';\nimport { Auth, Logger } from 'aws-amplify';\nimport {\n FormField,\n getActorContext,\n getActorState,\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('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 formOverrides: FormField;\n\n constructor(public authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n this.generateQRCode();\n this.setFormFields();\n }\n\n public setFormFields() {\n const _state = this.authenticator.authState;\n this.formOverrides = getActorState(_state).context?.formFields?.setupTOTP;\n }\n\n public grabField(name: string, field: string, defaultV) {\n return this.formOverrides?.[name]?.[field] ?? defaultV;\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 } = actorContext;\n try {\n this.secretKey = await Auth.setupTOTP(user);\n const issuer = this.formOverrides?.['QR']?.totpIssuer ?? 'AWSCognito';\n const username =\n this.formOverrides?.['QR']?.totpUsername ?? user.username;\n const totpCode = `otpauth://totp/${issuer}:${username}?secret=${this.secretKey}&issuer=${issuer}`;\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 getActorState,\n FormFieldOptions,\n FormField,\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 implements OnInit {\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 userOverrides: FormFieldOptions;\n public passwordOR: FormFieldOptions;\n public formOverrides: FormField;\n\n constructor(public authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n this.setFormFields();\n }\n\n public setFormFields() {\n const _state = this.authenticator.authState;\n this.formOverrides = getActorState(_state).context?.formFields?.signIn;\n this.userOverrides = this.formOverrides?.['username'];\n this.passwordOR = this.formOverrides?.['password'];\n }\n\n public labelHidden(name: string, defaultV = true) {\n return this.formOverrides?.[name]?.labelHidden ?? defaultV;\n }\n\n public required(name: string, defaultV = true) {\n return this.formOverrides?.[name]?.required ?? defaultV;\n }\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';\nimport { AuthenticatorService } from '../../../../../services/authenticator.service';\nimport {\n authInputAttributes,\n FormField,\n FormFieldOptions,\n getActorState,\n LoginMechanism,\n SignUpAttribute,\n CommonFields,\n setFormOrder,\n LoginMechanismArray,\n} from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-sign-up-form-fields',\n templateUrl: './sign-up-form-fields.component.html',\n})\nexport class SignUpFormFieldsComponent implements OnInit {\n public primaryAlias = '';\n public secondaryAliases: string[] = [];\n public fieldNames: Array<LoginMechanism | SignUpAttribute>;\n public fieldNamesCombined: Array<SignUpAttribute | CommonFields>;\n public loginMechanism: LoginMechanism;\n public order: (string | number)[];\n\n public userOverrides: FormFieldOptions;\n public formOverrides: FormField;\n\n constructor(private authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n const context = this.authenticator.context;\n\n const { loginMechanisms, signUpAttributes } = context.config;\n\n this.fieldNames = Array.from(\n new Set([...loginMechanisms, ...signUpAttributes])\n );\n\n this.fieldNames = this.fieldNames.filter((fieldName) => {\n const hasDefaultField = !!authInputAttributes[fieldName];\n if (!hasDefaultField) {\n console.debug(\n `Authenticator does not have a default implementation for ${fieldName}. Customize Authenticator.SignUp.FormFields to add your own.`\n );\n }\n return hasDefaultField;\n });\n\n // Only 1 is supported, so `['email', 'phone_number']` will only show `email`\n this.loginMechanism = this.fieldNames.shift() as LoginMechanism;\n\n const common = [\n this.loginMechanism,\n 'password',\n 'confirm_password',\n ] as CommonFields[];\n this.fieldNamesCombined = [...common, ...this.fieldNames];\n this.setFormFields();\n }\n\n public setFormFields() {\n const _state = this.authenticator.authState;\n this.formOverrides = getActorState(_state).context?.formFields?.signUp;\n this.userOverrides = this.formOverrides?.[this.loginMechanism];\n this.order = setFormOrder(this.formOverrides, this.fieldNamesCombined);\n }\n\n public grabField(name: string, field: string, defaultV) {\n return this.formOverrides?.[name]?.[field] ?? defaultV;\n }\n}\n","import { Component, Input, OnInit } from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { getAliasInfoFromContext } from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-user-name-alias',\n templateUrl: './user-name-alias.component.html',\n})\nexport class UserNameAliasComponent implements OnInit {\n @Input() name: string = 'username';\n @Input() disabled: boolean = false;\n @Input() initialValue: string = '';\n @Input() required: boolean = true;\n @Input() labelHidden: boolean;\n @Input() label: string;\n @Input() placeholder: string;\n @Input() dialCode: string;\n @Input() dialCodeList: Array<string>;\n\n public labelValue: string;\n public type: string;\n public error: string;\n public placeholderValue: string;\n public requiredValue: boolean;\n\n constructor(private authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n const context = this.authenticator.context;\n const { label: lbl, type } = getAliasInfoFromContext(context);\n\n this.labelValue = this.label ?? lbl;\n this.type = type;\n this.placeholderValue = this.placeholder ?? lbl;\n this.requiredValue = this.required ?? true;\n }\n}\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 unverifiedAttributes = {};\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.unverifiedAttributes = actorState.context.unverifiedAttributes;\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';\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() 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('class.amplify-button') defaultClass = true;\n @HostBinding('style.font-weight') fontWeightAttr: string;\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';\n\n@Component({\n selector: 'amplify-error',\n templateUrl: './error.component.html',\n})\nexport class ErrorComponent {\n public isVisible = true;\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 @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\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\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 { UserNameAliasComponent } from './components/user-name-alias/user-name-alias.component';\nimport { VerifyUserComponent } from './components/verify-user/verify-user.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 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 UserNameAliasComponent,\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","/*\n * Public API Surface of ui-angular\n */\n\n/**\n * Modules\n */\nexport { AmplifyAuthenticatorModule } from './lib/components/authenticator/authenticator.module';\n\n/**\n * Components\n */\nexport * from './lib/components/authenticator/components';\nexport * from './lib/primitives';\n\n/**\n * Helpers\n */\nexport * from './lib/common';\n\n/**\n * Directives\n */\nexport * from './lib/utilities/amplify-slot/amplify-slot.directive';\n\n/**\n * Services\n */\nexport * from './lib/services/custom-components.service';\nexport * from './lib/services/authenticator.service';\n\n/**\n * Re-export public APIs from `@aws-amplify/ui`\n */\nexport { translations } from '@aws-amplify/ui';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {AuthenticatorComponent as ɵb} from './lib/components/authenticator/components/authenticator/authenticator.component';\nexport {ConfirmResetPasswordComponent as ɵe} from './lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component';\nexport {ConfirmSignInComponent as ɵf} from './lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component';\nexport {ConfirmSignUpComponent as ɵg} from './lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component';\nexport {ConfirmVerifyUserComponent as ɵh} from './lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component';\nexport {FederatedSignInButtonComponent as ɵj} from './lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component';\nexport {FederatedSignInComponent as ɵk} from './lib/components/authenticator/components/federated-sign-in/federated-sign-in.component';\nexport {ForceNewPasswordFormFieldsComponent as ɵm} from './lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component';\nexport {ForceNewPasswordComponent as ɵl} from './lib/components/authenticator/components/force-new-password/force-new-password.component';\nexport {FormFieldComponent as ɵn} from './lib/components/authenticator/components/form-field/form-field.component';\nexport {ResetPasswordComponent as ɵq} from './lib/components/authenticator/components/reset-password/reset-password.component';\nexport {SetupTotpComponent as ɵs} from './lib/components/authenticator/components/setup-totp/setup-totp.component';\nexport {SignInComponent as ɵt} from './lib/components/authenticator/components/sign-in/sign-in.component';\nexport {SignUpFormFieldsComponent as ɵv} from './lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component';\nexport {SignUpComponent as ɵu} from './lib/components/authenticator/components/sign-up/sign-up.component';\nexport {UserNameAliasComponent as ɵz} from './lib/components/authenticator/components/user-name-alias/user-name-alias.component';\nexport {VerifyUserComponent as ɵba} from './lib/components/authenticator/components/verify-user/verify-user.component';\nexport {ButtonComponent as ɵc} from './lib/primitives/button/button.component';\nexport {CheckboxComponent as ɵd} from './lib/primitives/checkbox/checkbox.component';\nexport {ErrorComponent as ɵi} from './lib/primitives/error/error.component';\nexport {PasswordFieldComponent as ɵo} from './lib/primitives/password-field/password-field.component';\nexport {PhoneNumberFieldComponent as ɵp} from './lib/primitives/phone-number-field/phone-number-field.component';\nexport {SelectComponent as ɵr} from './lib/primitives/select/select.component';\nexport {TabItemComponent as ɵw} from './lib/primitives/tab-item/tab-item.component';\nexport {TabsComponent as ɵx} from './lib/primitives/tabs/tabs.component';\nexport {TextFieldComponent as ɵy} from './lib/primitives/text-field/text-field.component';\nexport {AmplifySlotComponent as ɵa} from './lib/utilities/amplify-slot/amplify-slot.component';"],"names":["logger","Logger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,IAAI,CAAC;SACzB;KACF;;;YAvBF,SAAS,SAAC;gBACT,QAAQ,EAAE,cAAc;gBACxB,gZAA4C;aAC7C;;;YALQ,uBAAuB;;;mBAO7B,KAAK;sBACL,KAAK;sBAEL,WAAW,SAAC,eAAe;;;MC+DjB,0BAA0B;;;YAzCtC,QAAQ,SAAC;gBACR,YAAY,EAAE;oBACZ,oBAAoB;oBACpB,oBAAoB;oBACpB,sBAAsB;oBACtB,eAAe;oBACf,iBAAiB;oBACjB,6BAA6B;oBAC7B,sBAAsB;oBACtB,sBAAsB;oBACtB,0BAA0B;oBAC1B,cAAc;oBACd,8BAA8B;oBAC9B,wBAAwB;oBACxB,yBAAyB;oBACzB,mCAAmC;oBACnC,kBAAkB;oBAClB,sBAAsB;oBACtB,yBAAyB;oBACzB,sBAAsB;oBACtB,eAAe;oBACf,kBAAkB;oBAClB,eAAe;oBACf,eAAe;oBACf,yBAAyB;oBACzB,gBAAgB;oBAChB,aAAa;oBACb,kBAAkB;oBAClB,sBAAsB;oBACtB,mBAAmB;iBACpB;gBACD,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,OAAO,EAAE;oBACP,oBAAoB;oBACpB,sBAAsB;oBACtB,iBAAiB;oBACjB,yBAAyB;oBACzB,mCAAmC;oBACnC,kBAAkB;iBACnB;aACF;;;AC/ED;;;;ACAA;;;;;;"}
1
+ {"version":3,"file":"aws-amplify-ui-angular.js","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","../../../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","../../../projects/ui-angular/src/index.ts","../../../projects/ui-angular/src/aws-amplify-ui-angular.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 AuthenticatorMachineOptions,\n AuthEvent,\n AuthInterpreter,\n AuthMachineState,\n createAuthenticatorMachine,\n getSendEventAliases,\n getServiceContextFacade,\n listenToAuthHub,\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 _hubSubscription: ReturnType<typeof listenToAuthHub>;\n private _facade: ReturnType<typeof getServiceContextFacade>;\n\n public startMachine({\n initialState,\n loginMechanisms,\n services,\n signUpAttributes,\n socialProviders,\n formFields,\n }: AuthenticatorMachineOptions) {\n const machine = createAuthenticatorMachine();\n\n const authService = interpret(machine).start();\n\n authService.send({\n type: 'INIT',\n data: {\n initialState,\n loginMechanisms,\n socialProviders,\n signUpAttributes,\n services,\n formFields,\n },\n });\n\n this._machineSubscription = authService.subscribe((state) => {\n this._authState = state;\n this._facade = getServiceContextFacade(state);\n });\n\n this._hubSubscription = listenToAuthHub(authService.send);\n this._sendEventAliases = getSendEventAliases(authService.send);\n this._authService = authService;\n }\n\n ngOnDestroy(): void {\n if (this._machineSubscription) this._machineSubscription.unsubscribe();\n if (this._hubSubscription) this._hubSubscription();\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 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 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 Component,\n ContentChildren,\n Input,\n OnInit,\n QueryList,\n TemplateRef,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n AuthenticatorMachineOptions,\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 implements OnInit, AfterContentInit {\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 constructor(\n private authenticator: AuthenticatorService,\n private contextService: CustomComponentsService\n ) {}\n\n ngOnInit(): void {\n const {\n initialState,\n loginMechanisms,\n services,\n signUpAttributes,\n socialProviders,\n formFields,\n } = this;\n this.authenticator.startMachine({\n initialState,\n loginMechanisms,\n services,\n signUpAttributes,\n socialProviders,\n formFields,\n });\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 /**\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.route;\n return route === 'signIn' || route === 'signUp';\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 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 sendCodeText = translate('Send Code');\n public backToSignInText = translate('Back to Sign In');\n public resendCodeText = translate('Resend Code');\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, OnInit } from '@angular/core';\nimport { Logger } from 'aws-amplify';\nimport {\n AuthChallengeNames,\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 AuthChallengeNames.SOFTWARE_TOKEN_MFA:\n this.headerText = translate('Confirm TOTP Code');\n break;\n case AuthChallengeNames.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 { 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\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 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","import { Component, HostBinding, OnInit } from '@angular/core';\nimport QRCode from 'qrcode';\nimport { Auth, Logger } from 'aws-amplify';\nimport {\n FormFields,\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('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 public formOverrides: FormFields;\n\n constructor(public authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n 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 } = actorContext;\n try {\n this.secretKey = await Auth.setupTOTP(user);\n const issuer = this.formOverrides?.['QR']?.totpIssuer ?? 'AWSCognito';\n const username =\n this.formOverrides?.['QR']?.totpUsername ?? user.username;\n const totpCode = `otpauth://totp/${issuer}:${username}?secret=${this.secretKey}&issuer=${issuer}`;\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 unverifiedAttributes = {};\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.unverifiedAttributes = actorState.context.unverifiedAttributes;\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() 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('class.amplify-button') defaultClass = true;\n @HostBinding('style.font-weight') fontWeightAttr: string;\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';\n\n@Component({\n selector: 'amplify-error',\n templateUrl: './error.component.html',\n})\nexport class ErrorComponent {\n public isVisible = true;\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 @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\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\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","/*\n * Public API Surface of ui-angular\n */\n\n/**\n * Modules\n */\nexport { AmplifyAuthenticatorModule } from './lib/components/authenticator/authenticator.module';\n\n/**\n * Components\n */\nexport * from './lib/components/authenticator/components';\nexport * from './lib/primitives';\n\n/**\n * Helpers\n */\nexport * from './lib/common';\n\n/**\n * Directives\n */\nexport * from './lib/utilities/amplify-slot/amplify-slot.directive';\n\n/**\n * Services\n */\nexport * from './lib/services/custom-components.service';\nexport * from './lib/services/authenticator.service';\n\n/**\n * Re-export public APIs from `@aws-amplify/ui`\n */\nexport { translations } from '@aws-amplify/ui';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {AuthenticatorComponent as ɵb} from './lib/components/authenticator/components/authenticator/authenticator.component';\nexport {BaseFormFieldsComponent as ɵc} from './lib/components/authenticator/components/base-form-fields/base-form-fields.component';\nexport {ConfirmResetPasswordComponent as ɵf} from './lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component';\nexport {ConfirmSignInComponent as ɵg} from './lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component';\nexport {ConfirmSignUpComponent as ɵh} from './lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component';\nexport {ConfirmVerifyUserComponent as ɵi} from './lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component';\nexport {FederatedSignInButtonComponent as ɵk} from './lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component';\nexport {FederatedSignInComponent as ɵl} from './lib/components/authenticator/components/federated-sign-in/federated-sign-in.component';\nexport {ForceNewPasswordFormFieldsComponent as ɵn} from './lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component';\nexport {ForceNewPasswordComponent as ɵm} from './lib/components/authenticator/components/force-new-password/force-new-password.component';\nexport {FormFieldComponent as ɵo} from './lib/components/authenticator/components/form-field/form-field.component';\nexport {ResetPasswordComponent as ɵr} from './lib/components/authenticator/components/reset-password/reset-password.component';\nexport {SetupTotpComponent as ɵt} from './lib/components/authenticator/components/setup-totp/setup-totp.component';\nexport {SignInComponent as ɵu} from './lib/components/authenticator/components/sign-in/sign-in.component';\nexport {SignUpFormFieldsComponent as ɵw} from './lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component';\nexport {SignUpComponent as ɵv} from './lib/components/authenticator/components/sign-up/sign-up.component';\nexport {VerifyUserComponent as ɵba} from './lib/components/authenticator/components/verify-user/verify-user.component';\nexport {ButtonComponent as ɵd} from './lib/primitives/button/button.component';\nexport {CheckboxComponent as ɵe} from './lib/primitives/checkbox/checkbox.component';\nexport {ErrorComponent as ɵj} from './lib/primitives/error/error.component';\nexport {PasswordFieldComponent as ɵp} from './lib/primitives/password-field/password-field.component';\nexport {PhoneNumberFieldComponent as ɵq} from './lib/primitives/phone-number-field/phone-number-field.component';\nexport {SelectComponent as ɵs} from './lib/primitives/select/select.component';\nexport {TabItemComponent as ɵx} from './lib/primitives/tab-item/tab-item.component';\nexport {TabsComponent as ɵy} from './lib/primitives/tabs/tabs.component';\nexport {TextFieldComponent as ɵz} from './lib/primitives/text-field/text-field.component';\nexport {AmplifySlotComponent as ɵa} from './lib/utilities/amplify-slot/amplify-slot.component';"],"names":["logger","Logger"],"mappings":";;;;;;;;;;;;MAKa,oBAAoB;IAC/B,YAAmB,QAA0B;QAA1B,aAAQ,GAAR,QAAQ,CAAkB;KAAI;IAGjD,IAAa,WAAW,CAAC,SAAiB;QACxC,IAAI,CAAC,IAAI,GAAG,SAAS,CAAC;KACv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tB,yBAAyB;oBACzB,sBAAsB;oBACtB,eAAe;oBACf,kBAAkB;oBAClB,eAAe;oBACf,eAAe;oBACf,yBAAyB;oBACzB,gBAAgB;oBAChB,aAAa;oBACb,kBAAkB;oBAClB,mBAAmB;iBACpB;gBACD,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,OAAO,EAAE;oBACP,oBAAoB;oBACpB,sBAAsB;oBACtB,iBAAiB;oBACjB,yBAAyB;oBACzB,mCAAmC;oBACnC,kBAAkB;iBACnB;aACF;;;AC/ED;;;;ACAA;;;;;;"}
@@ -1,3 +1,3 @@
1
- import { AuthInputAttributes, AuthMachineState } from '@aws-amplify/ui';
2
- export declare type AttributeInfoProvider = () => AuthInputAttributes;
1
+ import { DefaultFormFieldOptions, AuthMachineState } from '@aws-amplify/ui';
2
+ export declare type AttributeInfoProvider = () => DefaultFormFieldOptions;
3
3
  export declare type AuthSubscriptionCallback = (state: AuthMachineState) => void;
@@ -44,7 +44,7 @@ export declare class AuthenticatorComponent implements OnInit, AfterContentInit
44
44
  route: string;
45
45
  user: import("@aws-amplify/ui").CognitoUserAmplify;
46
46
  validationErrors: {
47
- [x: string]: string;
47
+ [x: string]: string | string[];
48
48
  };
49
49
  codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
50
50
  };
@@ -64,7 +64,7 @@ export declare class AuthenticatorComponent implements OnInit, AfterContentInit
64
64
  route: string;
65
65
  user: import("@aws-amplify/ui").CognitoUserAmplify;
66
66
  validationErrors: {
67
- [x: string]: string;
67
+ [x: string]: string | string[];
68
68
  };
69
69
  codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
70
70
  };
@@ -0,0 +1,15 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormFieldComponents, FormFieldsArray } from '@aws-amplify/ui';
3
+ import { AuthenticatorService } from '../../../../services/authenticator.service';
4
+ /**
5
+ * Sorts the given formFields, then renders them in order.
6
+ */
7
+ export declare class BaseFormFieldsComponent implements OnInit {
8
+ private authenticator;
9
+ route: FormFieldComponents;
10
+ display: string;
11
+ formFields: FormFieldsArray;
12
+ constructor(authenticator: AuthenticatorService);
13
+ ngOnInit(): void;
14
+ private handleConfirmSignUp;
15
+ }
@@ -1,19 +1,15 @@
1
1
  /// <reference types="amazon-cognito-identity-js" />
2
- import { OnInit } from '@angular/core';
3
2
  import { AuthenticatorService } from '../../../../services/authenticator.service';
4
- import { FormField } from '@aws-amplify/ui';
5
- export declare class ConfirmResetPasswordComponent implements OnInit {
3
+ import { FormFieldsArray } from '@aws-amplify/ui';
4
+ export declare class ConfirmResetPasswordComponent {
6
5
  authenticator: AuthenticatorService;
7
6
  dataAttr: string;
8
7
  headerText: string;
9
8
  sendCodeText: string;
10
9
  backToSignInText: string;
11
10
  resendCodeText: string;
12
- formOverrides: FormField;
11
+ sortedFormFields: FormFieldsArray;
13
12
  constructor(authenticator: AuthenticatorService);
14
- ngOnInit(): void;
15
- setFormFields(): void;
16
- grabField(name: string, field: string, defaultV: any): any;
17
13
  get context(): {
18
14
  $implicit: {
19
15
  resendCode: (data?: Record<string | number | symbol, any>) => void;
@@ -32,7 +28,7 @@ export declare class ConfirmResetPasswordComponent implements OnInit {
32
28
  route: string;
33
29
  user: import("@aws-amplify/ui").CognitoUserAmplify;
34
30
  validationErrors: {
35
- [x: string]: string;
31
+ [x: string]: string | string[];
36
32
  };
37
33
  codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
38
34
  };
@@ -52,7 +48,7 @@ export declare class ConfirmResetPasswordComponent implements OnInit {
52
48
  route: string;
53
49
  user: import("@aws-amplify/ui").CognitoUserAmplify;
54
50
  validationErrors: {
55
- [x: string]: string;
51
+ [x: string]: string | string[];
56
52
  };
57
53
  codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
58
54
  };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="amazon-cognito-identity-js" />
2
2
  import { OnInit } from '@angular/core';
3
- import { FormField } from '@aws-amplify/ui';
3
+ import { FormFieldsArray } from '@aws-amplify/ui';
4
4
  import { AuthenticatorService } from '../../../../services/authenticator.service';
5
5
  export declare class ConfirmSignInComponent implements OnInit {
6
6
  authenticator: AuthenticatorService;
@@ -8,11 +8,9 @@ export declare class ConfirmSignInComponent implements OnInit {
8
8
  headerText: string;
9
9
  confirmText: string;
10
10
  backToSignInText: string;
11
- formOverrides: FormField;
11
+ sortedFormFields: FormFieldsArray;
12
12
  constructor(authenticator: AuthenticatorService);
13
13
  ngOnInit(): void;
14
- setFormFields(): void;
15
- grabField(name: string, field: string, defaultV: any): any;
16
14
  get context(): {
17
15
  $implicit: {
18
16
  resendCode: (data?: Record<string | number | symbol, any>) => void;
@@ -31,7 +29,7 @@ export declare class ConfirmSignInComponent implements OnInit {
31
29
  route: string;
32
30
  user: import("@aws-amplify/ui").CognitoUserAmplify;
33
31
  validationErrors: {
34
- [x: string]: string;
32
+ [x: string]: string | string[];
35
33
  };
36
34
  codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
37
35
  };
@@ -51,7 +49,7 @@ export declare class ConfirmSignInComponent implements OnInit {
51
49
  route: string;
52
50
  user: import("@aws-amplify/ui").CognitoUserAmplify;
53
51
  validationErrors: {
54
- [x: string]: string;
52
+ [x: string]: string | string[];
55
53
  };
56
54
  codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
57
55
  };
@@ -1,8 +1,7 @@
1
1
  /// <reference types="amazon-cognito-identity-js" />
2
- import { OnInit } from '@angular/core';
3
2
  import { AuthenticatorService } from '../../../../services/authenticator.service';
4
- import { FormField } from '@aws-amplify/ui';
5
- export declare class ConfirmSignUpComponent implements OnInit {
3
+ import { FormFieldsArray } from '@aws-amplify/ui';
4
+ export declare class ConfirmSignUpComponent {
6
5
  authenticator: AuthenticatorService;
7
6
  headerText: string;
8
7
  dataAttr: string;
@@ -12,11 +11,8 @@ export declare class ConfirmSignUpComponent implements OnInit {
12
11
  textedMessage: string;
13
12
  defaultMessage: string;
14
13
  minutesMessage: string;
15
- formOverrides: FormField;
14
+ sortedFormFields: FormFieldsArray;
16
15
  constructor(authenticator: AuthenticatorService);
17
- ngOnInit(): void;
18
- setFormFields(): void;
19
- grabField(name: string, field: string, defaultV: any): any;
20
16
  get context(): {
21
17
  $implicit: {
22
18
  resendCode: (data?: Record<string | number | symbol, any>) => void;
@@ -35,7 +31,7 @@ export declare class ConfirmSignUpComponent implements OnInit {
35
31
  route: string;
36
32
  user: import("@aws-amplify/ui").CognitoUserAmplify;
37
33
  validationErrors: {
38
- [x: string]: string;
34
+ [x: string]: string | string[];
39
35
  };
40
36
  codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
41
37
  };
@@ -55,7 +51,7 @@ export declare class ConfirmSignUpComponent implements OnInit {
55
51
  route: string;
56
52
  user: import("@aws-amplify/ui").CognitoUserAmplify;
57
53
  validationErrors: {
58
- [x: string]: string;
54
+ [x: string]: string | string[];
59
55
  };
60
56
  codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
61
57
  };