@aws-amplify/ui-angular 1.0.34-unstable.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/README.md +28 -1
  2. package/aws-amplify-ui-angular.d.ts +30 -0
  3. package/aws-amplify-ui-angular.metadata.json +1 -0
  4. package/bundles/aws-amplify-ui-angular-legacy.umd.js +2229 -0
  5. package/bundles/aws-amplify-ui-angular-legacy.umd.js.map +1 -0
  6. package/bundles/aws-amplify-ui-angular-legacy.umd.min.js +16 -0
  7. package/bundles/aws-amplify-ui-angular-legacy.umd.min.js.map +1 -0
  8. package/bundles/aws-amplify-ui-angular.umd.js +1840 -0
  9. package/bundles/aws-amplify-ui-angular.umd.js.map +1 -0
  10. package/bundles/aws-amplify-ui-angular.umd.min.js +2 -0
  11. package/bundles/aws-amplify-ui-angular.umd.min.js.map +1 -0
  12. package/esm2015/aws-amplify-ui-angular.js +31 -0
  13. package/esm2015/index.js +26 -0
  14. package/esm2015/legacy/aws-amplify-ui-angular-legacy.js +6 -0
  15. package/esm2015/legacy/index.js +3 -0
  16. package/esm2015/legacy/legacy-ui-angular.module.js +53 -0
  17. package/esm2015/legacy/proxies.js +1839 -0
  18. package/esm2015/lib/common/helpers.js +3 -0
  19. package/esm2015/lib/common/index.js +3 -0
  20. package/esm2015/lib/common/types/auth-types.js +2 -0
  21. package/esm2015/lib/common/types/component-types.js +2 -0
  22. package/esm2015/lib/common/types/index.js +3 -0
  23. package/esm2015/lib/components/authenticator/authenticator.module.js +79 -0
  24. package/esm2015/lib/components/authenticator/components/authenticator/authenticator.component.js +87 -0
  25. package/esm2015/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.js +40 -0
  26. package/esm2015/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.js +57 -0
  27. package/esm2015/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.js +39 -0
  28. package/esm2015/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.js +39 -0
  29. package/esm2015/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.js +47 -0
  30. package/esm2015/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.js +27 -0
  31. package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password.component.js +39 -0
  32. package/esm2015/lib/components/authenticator/components/form-field/form-field.component.js +93 -0
  33. package/esm2015/lib/components/authenticator/components/index.js +17 -0
  34. package/esm2015/lib/components/authenticator/components/reset-password/reset-password.component.js +45 -0
  35. package/esm2015/lib/components/authenticator/components/setup-totp/setup-totp.component.js +65 -0
  36. package/esm2015/lib/components/authenticator/components/sign-in/sign-in.component.js +38 -0
  37. package/esm2015/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.js +34 -0
  38. package/esm2015/lib/components/authenticator/components/sign-up/sign-up.component.js +37 -0
  39. package/esm2015/lib/components/authenticator/components/user-name-alias/user-name-alias.component.js +35 -0
  40. package/esm2015/lib/components/authenticator/components/verify-user/verify-user.component.js +54 -0
  41. package/esm2015/lib/primitives/button/button.component.js +38 -0
  42. package/esm2015/lib/primitives/checkbox/checkbox.component.js +31 -0
  43. package/esm2015/lib/primitives/error/error.component.js +16 -0
  44. package/esm2015/lib/primitives/index.js +10 -0
  45. package/esm2015/lib/primitives/password-field/password-field.component.js +43 -0
  46. package/esm2015/lib/primitives/phone-number-field/phone-number-field.component.js +40 -0
  47. package/esm2015/lib/primitives/select/select.component.js +17 -0
  48. package/esm2015/lib/primitives/tab-item/tab-item.component.js +20 -0
  49. package/esm2015/lib/primitives/tabs/tabs.component.js +45 -0
  50. package/esm2015/lib/primitives/text-field/text-field.component.js +35 -0
  51. package/esm2015/lib/services/authenticator.service.js +133 -0
  52. package/esm2015/lib/services/custom-components.service.js +23 -0
  53. package/esm2015/lib/utilities/amplify-slot/amplify-slot.component.js +32 -0
  54. package/esm2015/lib/utilities/amplify-slot/amplify-slot.directive.js +21 -0
  55. package/fesm2015/aws-amplify-ui-angular-legacy.js +1846 -0
  56. package/fesm2015/aws-amplify-ui-angular-legacy.js.map +1 -0
  57. package/fesm2015/aws-amplify-ui-angular.js +1253 -0
  58. package/fesm2015/aws-amplify-ui-angular.js.map +1 -0
  59. package/index.d.ts +22 -0
  60. package/{dist/core.d.ts → legacy/aws-amplify-ui-angular-legacy.d.ts} +1 -0
  61. package/legacy/aws-amplify-ui-angular-legacy.metadata.json +1 -0
  62. package/legacy/index.d.ts +2 -0
  63. package/legacy/legacy-ui-angular.module.d.ts +2 -0
  64. package/legacy/package.json +11 -0
  65. package/{dist/directives → legacy}/proxies.d.ts +0 -0
  66. package/lib/common/helpers.d.ts +2 -0
  67. package/lib/common/index.d.ts +2 -0
  68. package/lib/common/types/auth-types.d.ts +3 -0
  69. package/lib/common/types/component-types.d.ts +23 -0
  70. package/lib/common/types/index.d.ts +2 -0
  71. package/lib/components/authenticator/authenticator.module.d.ts +2 -0
  72. package/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +67 -0
  73. package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +50 -0
  74. package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +52 -0
  75. package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +49 -0
  76. package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +49 -0
  77. package/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.d.ts +19 -0
  78. package/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.d.ts +9 -0
  79. package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +49 -0
  80. package/lib/components/authenticator/components/form-field/form-field.component.d.ts +36 -0
  81. package/lib/components/authenticator/components/index.d.ts +16 -0
  82. package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts +52 -0
  83. package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +53 -0
  84. package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +48 -0
  85. package/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.d.ts +12 -0
  86. package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +47 -0
  87. package/lib/components/authenticator/components/user-name-alias/user-name-alias.component.d.ts +15 -0
  88. package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +54 -0
  89. package/lib/primitives/button/button.component.d.ts +15 -0
  90. package/lib/primitives/checkbox/checkbox.component.d.ts +12 -0
  91. package/lib/primitives/error/error.component.d.ts +4 -0
  92. package/lib/primitives/index.d.ts +9 -0
  93. package/lib/primitives/password-field/password-field.component.d.ts +15 -0
  94. package/lib/primitives/phone-number-field/phone-number-field.component.d.ts +16 -0
  95. package/lib/primitives/select/select.component.d.ts +7 -0
  96. package/lib/primitives/tab-item/tab-item.component.d.ts +7 -0
  97. package/lib/primitives/tabs/tabs.component.d.ts +9 -0
  98. package/lib/primitives/text-field/text-field.component.d.ts +13 -0
  99. package/lib/services/authenticator.service.d.ts +94 -0
  100. package/lib/services/custom-components.service.d.ts +9 -0
  101. package/lib/utilities/amplify-slot/amplify-slot.component.d.ts +12 -0
  102. package/lib/utilities/amplify-slot/amplify-slot.directive.d.ts +7 -0
  103. package/package.json +29 -49
  104. package/theme.css +1 -0
  105. package/CHANGELOG.md +0 -320
  106. package/dist/amplify-module.d.ts +0 -2
  107. package/dist/core.metadata.json +0 -1
  108. package/dist/fesm2015.js +0 -1532
  109. package/dist/fesm5.js +0 -1319
  110. package/dist/index.d.ts +0 -2
@@ -0,0 +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/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 getServiceFacade,\n} from '@aws-amplify/ui';\nimport { Event, interpret, Subscription } from 'xstate';\nimport { AuthSubscriptionCallback } from '../common';\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 _subscription: Subscription;\n private _facade: ReturnType<typeof getServiceContextFacade>;\n\n public startMachine({\n initialState,\n loginMechanisms,\n services,\n signUpAttributes,\n socialProviders,\n }: AuthenticatorMachineOptions) {\n const machine = createAuthenticatorMachine({\n initialState,\n loginMechanisms,\n services,\n signUpAttributes,\n socialProviders,\n });\n\n const authService = interpret(machine, {\n devTools: process.env.NODE_ENV === 'development',\n }).start();\n\n this._subscription = authService.subscribe((state) => {\n this._authState = state;\n this._facade = getServiceContextFacade(state);\n });\n\n this._sendEventAliases = getSendEventAliases(authService.send);\n this._authService = authService;\n }\n\n ngOnDestroy(): void {\n if (this._subscription) this._subscription.unsubscribe();\n }\n\n /**\n * Context facades\n */\n\n public get error() {\n return 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 /**\n * Service facades\n */\n\n public get updateForm() {\n return this._sendEventAliases.updateForm;\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() 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\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 } = this;\n this.authenticator.startMachine({\n initialState,\n loginMechanisms,\n services,\n signUpAttributes,\n socialProviders,\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 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 } from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { translate } 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\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();\n }\n}\n","import { Component, HostBinding, OnInit } from '@angular/core';\nimport { Logger } from 'aws-amplify';\nimport {\n AuthChallengeNames,\n getActorContext,\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\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();\n }\n}\n","import { Component, HostBinding, Input } from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { translate } 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\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();\n }\n}\n","import { Component, HostBinding, Input } from '@angular/core';\nimport { translate } 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\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();\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 { 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();\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\n public defaultCountryCode: string;\n public countryDialCodes = 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.defaultCountryCode = country_code;\n\n // TODO: remove this side-effect\n this.authenticator.updateForm({\n name: 'country_code',\n value: country_code,\n });\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 validationError[this.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 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 { getAliasInfoFromContext, translate } 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\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 }\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();\n }\n}\n","import { Component, HostBinding, OnInit } from '@angular/core';\nimport QRCode from 'qrcode';\nimport { Auth, Logger } from 'aws-amplify';\nimport { getActorContext, SignInContext } 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\n // translated texts\n public backToSignInText = translate('Back to Sign In');\n public confirmText = translate('Confirm');\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 const secretKey = await Auth.setupTOTP(user);\n const issuer = 'AWSCognito';\n const totpCode = `otpauth://totp/${issuer}:${user.username}?secret=${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();\n }\n}\n","import {\n Component,\n HostBinding,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { translate } 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 public forgotPasswordText = translate('Forgot your password? ');\n public signInButtonText = translate('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();\n }\n}\n","import { Component, HostBinding, Input } from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { translate } 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();\n }\n}\n","import { Component, OnInit } from '@angular/core';\nimport { AuthenticatorService } from '../../../../../services/authenticator.service';\nimport {\n authInputAttributes,\n LoginMechanism,\n SignUpAttribute,\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 loginMechanism: LoginMechanism;\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}\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 public label: string;\n public type: string;\n public error: string;\n public placeholder: string;\n\n constructor(private authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n const context = this.authenticator.context;\n const { label, type } = getAliasInfoFromContext(context);\n\n this.label = label;\n this.type = type;\n this.placeholder = label;\n }\n}\n","import {\n Component,\n HostBinding,\n Input,\n OnInit,\n ViewEncapsulation,\n} from '@angular/core';\nimport { getActorState, SignInState, translate } 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();\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, Input } 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\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 } 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 {\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\n @HostBinding('style.display') display = 'contents';\n public countryDialCodes = countryDialCodes;\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, 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}\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';\nimport { BrowserModule } from '@angular/platform-browser';\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 { 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 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, BrowserModule],\n exports: [\n AmplifySlotDirective,\n AuthenticatorComponent,\n CheckboxComponent,\n SignUpFormFieldsComponent,\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 * 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 {ForceNewPasswordComponent as ɵl} from './lib/components/authenticator/components/force-new-password/force-new-password.component';\nexport {FormFieldComponent as ɵm} from './lib/components/authenticator/components/form-field/form-field.component';\nexport {ResetPasswordComponent as ɵp} from './lib/components/authenticator/components/reset-password/reset-password.component';\nexport {SetupTotpComponent as ɵr} from './lib/components/authenticator/components/setup-totp/setup-totp.component';\nexport {SignInComponent as ɵs} from './lib/components/authenticator/components/sign-in/sign-in.component';\nexport {SignUpFormFieldsComponent as ɵu} from './lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component';\nexport {SignUpComponent as ɵt} from './lib/components/authenticator/components/sign-up/sign-up.component';\nexport {UserNameAliasComponent as ɵy} from './lib/components/authenticator/components/user-name-alias/user-name-alias.component';\nexport {VerifyUserComponent as ɵz} 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 ɵn} from './lib/primitives/password-field/password-field.component';\nexport {PhoneNumberFieldComponent as ɵo} from './lib/primitives/phone-number-field/phone-number-field.component';\nexport {SelectComponent as ɵq} from './lib/primitives/select/select.component';\nexport {TabItemComponent as ɵv} from './lib/primitives/tab-item/tab-item.component';\nexport {TabsComponent as ɵw} from './lib/primitives/tabs/tabs.component';\nexport {TextFieldComponent as ɵx} 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;KACvB;;;YATF,SAAS,SAAC;gBACT,QAAQ,EAAE,eAAe;aAC1B;;;YAJ0B,WAAW;;;0BASnC,KAAK;;;ACNR;;;MAMa,uBAAuB;IAHpC;QAIU,sBAAiB,GAAqB,EAAE,CAAC;KASlD;IAPC,IAAW,gBAAgB;Q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AoB;oBACpB,sBAAsB;oBACtB,eAAe;oBACf,iBAAiB;oBACjB,6BAA6B;oBAC7B,sBAAsB;oBACtB,sBAAsB;oBACtB,0BAA0B;oBAC1B,cAAc;oBACd,8BAA8B;oBAC9B,wBAAwB;oBACxB,yBAAyB;oBACzB,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,EAAE,aAAa,CAAC;gBACtC,OAAO,EAAE;oBACP,oBAAoB;oBACpB,sBAAsB;oBACtB,iBAAiB;oBACjB,yBAAyB;oBACzB,kBAAkB;iBACnB;aACF;;;AC7ED;;;;ACAA;;;;;;"}
package/index.d.ts ADDED
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Modules
3
+ */
4
+ export { AmplifyAuthenticatorModule } from './lib/components/authenticator/authenticator.module';
5
+ /**
6
+ * Components
7
+ */
8
+ export * from './lib/components/authenticator/components';
9
+ export * from './lib/primitives';
10
+ /**
11
+ * Helpers
12
+ */
13
+ export * from './lib/common';
14
+ /**
15
+ * Directives
16
+ */
17
+ export * from './lib/utilities/amplify-slot/amplify-slot.directive';
18
+ /**
19
+ * Services
20
+ */
21
+ export * from './lib/services/custom-components.service';
22
+ export * from './lib/services/authenticator.service';
@@ -2,3 +2,4 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  export * from './index';
5
+ export { ProxyCmp as ɵa } from './proxies';
@@ -0,0 +1 @@
1
+ {"__symbolic":"module","version":4,"metadata":{"ɵa":{"__symbolic":"function"},"AmplifyButton":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["disabled","handleButtonClick","icon","type","variant"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":162,"character":1},"arguments":[{"selector":"amplify-button","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":164,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["disabled","handleButtonClick","icon","type","variant"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyChatbot":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["botName","botTitle","clearOnComplete","conversationModeOn","silenceThreshold","silenceTime","textEnabled","voiceEnabled","welcomeMessage"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":190,"character":1},"arguments":[{"selector":"amplify-chatbot","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":192,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["botName","botTitle","clearOnComplete","conversationModeOn","silenceThreshold","silenceTime","textEnabled","voiceEnabled","welcomeMessage"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyIcon":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["name"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":626,"character":1},"arguments":[{"selector":"amplify-icon","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":628,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["name"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyInput":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["description","disabled","fieldId","handleInputChange","inputProps","name","placeholder","required","type","value"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":672,"character":1},"arguments":[{"selector":"amplify-input","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":674,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["description","disabled","fieldId","handleInputChange","inputProps","name","placeholder","required","type","value"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyPhotoPicker":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["buttonText","handleClick","headerHint","headerTitle","placeholderHint","previewSrc"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":869,"character":1},"arguments":[{"selector":"amplify-photo-picker","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":871,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["buttonText","handleClick","headerHint","headerTitle","placeholderHint","previewSrc"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyPicker":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["acceptValue","inputHandler","pickerText"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":892,"character":1},"arguments":[{"selector":"amplify-picker","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":894,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["acceptValue","inputHandler","pickerText"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyS3Album":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["contentType","fileToKey","filter","handleOnError","handleOnLoad","identityId","level","path","picker","pickerText","sort","track"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":995,"character":1},"arguments":[{"selector":"amplify-s3-album","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":997,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["contentType","fileToKey","filter","handleOnError","handleOnLoad","identityId","level","path","picker","pickerText","sort","track"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyS3Image":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["alt","body","contentType","handleOnError","handleOnLoad","identityId","imgKey","imgProps","level","path","track"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":1038,"character":1},"arguments":[{"selector":"amplify-s3-image","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":1040,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["alt","body","contentType","handleOnError","handleOnLoad","identityId","imgKey","imgProps","level","path","track"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyS3ImagePicker":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["buttonText","contentType","fileToKey","headerHint","headerTitle","identityId","level","path","placeholderHint","track"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":1080,"character":1},"arguments":[{"selector":"amplify-s3-image-picker","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":1082,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["buttonText","contentType","fileToKey","headerHint","headerTitle","identityId","level","path","placeholderHint","track"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyS3Text":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["body","contentType","fallbackText","identityId","level","path","textKey","track"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":1118,"character":1},"arguments":[{"selector":"amplify-s3-text","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":1120,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["body","contentType","fallbackText","identityId","level","path","textKey","track"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyS3TextPicker":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["contentType","fallbackText","fileToKey","identityId","level","path","track"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":1154,"character":1},"arguments":[{"selector":"amplify-s3-text-picker","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":1156,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["contentType","fallbackText","fileToKey","identityId","level","path","track"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"AmplifyToast":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":[{"inputs":["handleClose","message"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":1351,"character":1},"arguments":[{"selector":"amplify-toast","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":1353,"character":19},"member":"OnPush"},"template":"<ng-content></ng-content>","inputs":["handleClose","message"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":71,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":71,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":71,"character":64}]}]}},"LegacyAmplifyUiModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":46,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"AmplifyChatbot"},{"__symbolic":"reference","name":"AmplifyToast"},{"__symbolic":"reference","name":"AmplifyIcon"},{"__symbolic":"reference","name":"AmplifyInput"},{"__symbolic":"reference","name":"AmplifyButton"},{"__symbolic":"reference","name":"AmplifyS3Album"},{"__symbolic":"reference","name":"AmplifyS3ImagePicker"},{"__symbolic":"reference","name":"AmplifyS3Text"},{"__symbolic":"reference","name":"AmplifyS3TextPicker"},{"__symbolic":"reference","name":"AmplifyS3Image"},{"__symbolic":"reference","name":"AmplifyPicker"},{"__symbolic":"reference","name":"AmplifyPhotoPicker"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":61,"character":12}],"exports":[{"__symbolic":"reference","name":"AmplifyChatbot"},{"__symbolic":"reference","name":"AmplifyToast"},{"__symbolic":"reference","name":"AmplifyIcon"},{"__symbolic":"reference","name":"AmplifyInput"},{"__symbolic":"reference","name":"AmplifyButton"},{"__symbolic":"reference","name":"AmplifyS3Album"},{"__symbolic":"reference","name":"AmplifyS3ImagePicker"},{"__symbolic":"reference","name":"AmplifyS3Text"},{"__symbolic":"reference","name":"AmplifyS3TextPicker"},{"__symbolic":"reference","name":"AmplifyS3Image"},{"__symbolic":"reference","name":"AmplifyPicker"},{"__symbolic":"reference","name":"AmplifyPhotoPicker"}],"schemas":[{"__symbolic":"reference","module":"@angular/core","name":"CUSTOM_ELEMENTS_SCHEMA","line":76,"character":12}]}]}],"members":{}}},"origins":{"ɵa":"./proxies","AmplifyButton":"./proxies","AmplifyChatbot":"./proxies","AmplifyIcon":"./proxies","AmplifyInput":"./proxies","AmplifyPhotoPicker":"./proxies","AmplifyPicker":"./proxies","AmplifyS3Album":"./proxies","AmplifyS3Image":"./proxies","AmplifyS3ImagePicker":"./proxies","AmplifyS3Text":"./proxies","AmplifyS3TextPicker":"./proxies","AmplifyToast":"./proxies","LegacyAmplifyUiModule":"./legacy-ui-angular.module"},"importAs":"@aws-amplify/ui-angular/legacy"}
@@ -0,0 +1,2 @@
1
+ export { AmplifyButton, AmplifyChatbot, AmplifyIcon, AmplifyInput, AmplifyPhotoPicker, AmplifyPicker, AmplifyS3Album, AmplifyS3Image, AmplifyS3ImagePicker, AmplifyS3Text, AmplifyS3TextPicker, AmplifyToast, } from './proxies';
2
+ export { LegacyAmplifyUiModule } from './legacy-ui-angular.module';
@@ -0,0 +1,2 @@
1
+ export declare class LegacyAmplifyUiModule {
2
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "main": "../bundles/aws-amplify-ui-angular-legacy.umd.js",
3
+ "module": "../fesm2015/aws-amplify-ui-angular-legacy.js",
4
+ "es2015": "../fesm2015/aws-amplify-ui-angular-legacy.js",
5
+ "esm2015": "../esm2015/legacy/aws-amplify-ui-angular-legacy.js",
6
+ "fesm2015": "../fesm2015/aws-amplify-ui-angular-legacy.js",
7
+ "typings": "aws-amplify-ui-angular-legacy.d.ts",
8
+ "metadata": "aws-amplify-ui-angular-legacy.metadata.json",
9
+ "sideEffects": false,
10
+ "name": "@aws-amplify/ui-angular/legacy"
11
+ }
File without changes
@@ -0,0 +1,2 @@
1
+ import { AttributeInfoProvider } from './types';
2
+ export declare const getAttributeMap: AttributeInfoProvider;
@@ -0,0 +1,2 @@
1
+ export * from './types';
2
+ export * from './helpers';
@@ -0,0 +1,3 @@
1
+ import { AuthInputAttributes, AuthMachineState } from '@aws-amplify/ui';
2
+ export declare type AttributeInfoProvider = () => AuthInputAttributes;
3
+ export declare type AuthSubscriptionCallback = (state: AuthMachineState) => void;
@@ -0,0 +1,23 @@
1
+ import { EventEmitter, TemplateRef } from '@angular/core';
2
+ import { AuthFormData } from '@aws-amplify/ui';
3
+ /**
4
+ * Maps custom components from customer to the name of the component it's overriding.
5
+ */
6
+ export declare type CustomComponents = Record<string, TemplateRef<any>>;
7
+ /**
8
+ * Contains properties to be passed to each auth subcomponents.
9
+ */
10
+ export interface PropContext {
11
+ signIn?: {
12
+ onSignInInput: EventEmitter<AuthFormData>;
13
+ onSignInSubmit: EventEmitter<AuthFormData>;
14
+ };
15
+ signUp?: {
16
+ onSignUpInput: EventEmitter<AuthFormData>;
17
+ onSignUpSubmit: EventEmitter<AuthFormData>;
18
+ };
19
+ confirmSignUp?: {
20
+ onConfirmSignUpInput: EventEmitter<AuthFormData>;
21
+ onConfirmSignUpSubmit: EventEmitter<AuthFormData>;
22
+ };
23
+ }
@@ -0,0 +1,2 @@
1
+ export * from './auth-types';
2
+ export * from './component-types';
@@ -0,0 +1,2 @@
1
+ export declare class AmplifyAuthenticatorModule {
2
+ }
@@ -0,0 +1,67 @@
1
+ import { AfterContentInit, OnInit } from '@angular/core';
2
+ import { AuthenticatorMachineOptions, SocialProvider } from '@aws-amplify/ui';
3
+ import { CustomComponentsService } from '../../../../services/custom-components.service';
4
+ import { AuthenticatorService } from '../../../../services/authenticator.service';
5
+ export declare class AuthenticatorComponent implements OnInit, AfterContentInit {
6
+ private authenticator;
7
+ private contextService;
8
+ initialState: AuthenticatorMachineOptions['initialState'];
9
+ loginMechanisms: AuthenticatorMachineOptions['loginMechanisms'];
10
+ services: AuthenticatorMachineOptions['services'];
11
+ signUpAttributes: AuthenticatorMachineOptions['signUpAttributes'];
12
+ socialProviders: SocialProvider[];
13
+ variation: 'default' | 'modal';
14
+ private customComponentQuery;
15
+ signInTitle: string;
16
+ signUpTitle: string;
17
+ constructor(authenticator: AuthenticatorService, contextService: CustomComponentsService);
18
+ ngOnInit(): void;
19
+ /**
20
+ * Lifecycle Methods
21
+ */
22
+ ngAfterContentInit(): void;
23
+ /**
24
+ * Class Functions
25
+ */
26
+ get context(): {
27
+ $implicit: {
28
+ resendCode: (data?: Record<string | number | symbol, any>) => void;
29
+ signOut: (data?: Record<string | number | symbol, any>) => void;
30
+ submitForm: (data?: Record<string | number | symbol, any>) => void;
31
+ updateForm: (data?: Record<string | number | symbol, any>) => void;
32
+ toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
33
+ toResetPassword: (data?: Record<string | number | symbol, any>) => void;
34
+ toSignIn: (data?: Record<string | number | symbol, any>) => void;
35
+ toSignUp: (data?: Record<string | number | symbol, any>) => void;
36
+ skipVerification: (data?: Record<string | number | symbol, any>) => void;
37
+ error: string;
38
+ hasValidationErrors: boolean;
39
+ isPending: boolean;
40
+ route: string;
41
+ user: import("@aws-amplify/ui").CognitoUserAmplify;
42
+ validationErrors: {
43
+ [x: string]: string;
44
+ };
45
+ };
46
+ resendCode: (data?: Record<string | number | symbol, any>) => void;
47
+ signOut: (data?: Record<string | number | symbol, any>) => void;
48
+ submitForm: (data?: Record<string | number | symbol, any>) => void;
49
+ updateForm: (data?: Record<string | number | symbol, any>) => void;
50
+ toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
51
+ toResetPassword: (data?: Record<string | number | symbol, any>) => void;
52
+ toSignIn: (data?: Record<string | number | symbol, any>) => void;
53
+ toSignUp: (data?: Record<string | number | symbol, any>) => void;
54
+ skipVerification: (data?: Record<string | number | symbol, any>) => void;
55
+ error: string;
56
+ hasValidationErrors: boolean;
57
+ isPending: boolean;
58
+ route: string;
59
+ user: import("@aws-amplify/ui").CognitoUserAmplify;
60
+ validationErrors: {
61
+ [x: string]: string;
62
+ };
63
+ };
64
+ get route(): string;
65
+ onTabChange(): void;
66
+ private mapCustomComponents;
67
+ }
@@ -0,0 +1,50 @@
1
+ import { AuthenticatorService } from '../../../../services/authenticator.service';
2
+ export declare class ConfirmResetPasswordComponent {
3
+ authenticator: AuthenticatorService;
4
+ dataAttr: string;
5
+ headerText: string;
6
+ sendCodeText: string;
7
+ backToSignInText: string;
8
+ resendCodeText: string;
9
+ constructor(authenticator: AuthenticatorService);
10
+ get context(): {
11
+ $implicit: {
12
+ resendCode: (data?: Record<string | number | symbol, any>) => void;
13
+ signOut: (data?: Record<string | number | symbol, any>) => void;
14
+ submitForm: (data?: Record<string | number | symbol, any>) => void;
15
+ updateForm: (data?: Record<string | number | symbol, any>) => void;
16
+ toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
17
+ toResetPassword: (data?: Record<string | number | symbol, any>) => void;
18
+ toSignIn: (data?: Record<string | number | symbol, any>) => void;
19
+ toSignUp: (data?: Record<string | number | symbol, any>) => void;
20
+ skipVerification: (data?: Record<string | number | symbol, any>) => void;
21
+ error: string;
22
+ hasValidationErrors: boolean;
23
+ isPending: boolean;
24
+ route: string;
25
+ user: import("@aws-amplify/ui").CognitoUserAmplify;
26
+ validationErrors: {
27
+ [x: string]: string;
28
+ };
29
+ };
30
+ resendCode: (data?: Record<string | number | symbol, any>) => void;
31
+ signOut: (data?: Record<string | number | symbol, any>) => void;
32
+ submitForm: (data?: Record<string | number | symbol, any>) => void;
33
+ updateForm: (data?: Record<string | number | symbol, any>) => void;
34
+ toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
35
+ toResetPassword: (data?: Record<string | number | symbol, any>) => void;
36
+ toSignIn: (data?: Record<string | number | symbol, any>) => void;
37
+ toSignUp: (data?: Record<string | number | symbol, any>) => void;
38
+ skipVerification: (data?: Record<string | number | symbol, any>) => void;
39
+ error: string;
40
+ hasValidationErrors: boolean;
41
+ isPending: boolean;
42
+ route: string;
43
+ user: import("@aws-amplify/ui").CognitoUserAmplify;
44
+ validationErrors: {
45
+ [x: string]: string;
46
+ };
47
+ };
48
+ onInput(event: Event): void;
49
+ onSubmit(event: Event): void;
50
+ }
@@ -0,0 +1,52 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { AuthenticatorService } from '../../../../services/authenticator.service';
3
+ export declare class ConfirmSignInComponent implements OnInit {
4
+ authenticator: AuthenticatorService;
5
+ dataAttr: string;
6
+ headerText: string;
7
+ confirmText: string;
8
+ backToSignInText: string;
9
+ constructor(authenticator: AuthenticatorService);
10
+ ngOnInit(): void;
11
+ get context(): {
12
+ $implicit: {
13
+ resendCode: (data?: Record<string | number | symbol, any>) => void;
14
+ signOut: (data?: Record<string | number | symbol, any>) => void;
15
+ submitForm: (data?: Record<string | number | symbol, any>) => void;
16
+ updateForm: (data?: Record<string | number | symbol, any>) => void;
17
+ toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
18
+ toResetPassword: (data?: Record<string | number | symbol, any>) => void;
19
+ toSignIn: (data?: Record<string | number | symbol, any>) => void;
20
+ toSignUp: (data?: Record<string | number | symbol, any>) => void;
21
+ skipVerification: (data?: Record<string | number | symbol, any>) => void;
22
+ error: string;
23
+ hasValidationErrors: boolean;
24
+ isPending: boolean;
25
+ route: string;
26
+ user: import("@aws-amplify/ui").CognitoUserAmplify;
27
+ validationErrors: {
28
+ [x: string]: string;
29
+ };
30
+ };
31
+ resendCode: (data?: Record<string | number | symbol, any>) => void;
32
+ signOut: (data?: Record<string | number | symbol, any>) => void;
33
+ submitForm: (data?: Record<string | number | symbol, any>) => void;
34
+ updateForm: (data?: Record<string | number | symbol, any>) => void;
35
+ toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
36
+ toResetPassword: (data?: Record<string | number | symbol, any>) => void;
37
+ toSignIn: (data?: Record<string | number | symbol, any>) => void;
38
+ toSignUp: (data?: Record<string | number | symbol, any>) => void;
39
+ skipVerification: (data?: Record<string | number | symbol, any>) => void;
40
+ error: string;
41
+ hasValidationErrors: boolean;
42
+ isPending: boolean;
43
+ route: string;
44
+ user: import("@aws-amplify/ui").CognitoUserAmplify;
45
+ validationErrors: {
46
+ [x: string]: string;
47
+ };
48
+ };
49
+ setHeaderText(): void;
50
+ onInput(event: Event): void;
51
+ onSubmit(event: Event): void;
52
+ }
@@ -0,0 +1,49 @@
1
+ import { AuthenticatorService } from '../../../../services/authenticator.service';
2
+ export declare class ConfirmSignUpComponent {
3
+ authenticator: AuthenticatorService;
4
+ headerText: string;
5
+ dataAttr: string;
6
+ resendCodeText: string;
7
+ confirmText: string;
8
+ constructor(authenticator: AuthenticatorService);
9
+ get context(): {
10
+ $implicit: {
11
+ resendCode: (data?: Record<string | number | symbol, any>) => void;
12
+ signOut: (data?: Record<string | number | symbol, any>) => void;
13
+ submitForm: (data?: Record<string | number | symbol, any>) => void;
14
+ updateForm: (data?: Record<string | number | symbol, any>) => void;
15
+ toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
16
+ toResetPassword: (data?: Record<string | number | symbol, any>) => void;
17
+ toSignIn: (data?: Record<string | number | symbol, any>) => void;
18
+ toSignUp: (data?: Record<string | number | symbol, any>) => void;
19
+ skipVerification: (data?: Record<string | number | symbol, any>) => void;
20
+ error: string;
21
+ hasValidationErrors: boolean;
22
+ isPending: boolean;
23
+ route: string;
24
+ user: import("@aws-amplify/ui").CognitoUserAmplify;
25
+ validationErrors: {
26
+ [x: string]: string;
27
+ };
28
+ };
29
+ resendCode: (data?: Record<string | number | symbol, any>) => void;
30
+ signOut: (data?: Record<string | number | symbol, any>) => void;
31
+ submitForm: (data?: Record<string | number | symbol, any>) => void;
32
+ updateForm: (data?: Record<string | number | symbol, any>) => void;
33
+ toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
34
+ toResetPassword: (data?: Record<string | number | symbol, any>) => void;
35
+ toSignIn: (data?: Record<string | number | symbol, any>) => void;
36
+ toSignUp: (data?: Record<string | number | symbol, any>) => void;
37
+ skipVerification: (data?: Record<string | number | symbol, any>) => void;
38
+ error: string;
39
+ hasValidationErrors: boolean;
40
+ isPending: boolean;
41
+ route: string;
42
+ user: import("@aws-amplify/ui").CognitoUserAmplify;
43
+ validationErrors: {
44
+ [x: string]: string;
45
+ };
46
+ };
47
+ onInput(event: Event): void;
48
+ onSubmit(event: Event): void;
49
+ }
@@ -0,0 +1,49 @@
1
+ import { AuthenticatorService } from '../../../../services/authenticator.service';
2
+ export declare class ConfirmVerifyUserComponent {
3
+ authenticator: AuthenticatorService;
4
+ dataAttr: string;
5
+ headerText: string;
6
+ skipText: string;
7
+ submitText: string;
8
+ constructor(authenticator: AuthenticatorService);
9
+ get context(): {
10
+ $implicit: {
11
+ resendCode: (data?: Record<string | number | symbol, any>) => void;
12
+ signOut: (data?: Record<string | number | symbol, any>) => void;
13
+ submitForm: (data?: Record<string | number | symbol, any>) => void;
14
+ updateForm: (data?: Record<string | number | symbol, any>) => void;
15
+ toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
16
+ toResetPassword: (data?: Record<string | number | symbol, any>) => void;
17
+ toSignIn: (data?: Record<string | number | symbol, any>) => void;
18
+ toSignUp: (data?: Record<string | number | symbol, any>) => void;
19
+ skipVerification: (data?: Record<string | number | symbol, any>) => void;
20
+ error: string;
21
+ hasValidationErrors: boolean;
22
+ isPending: boolean;
23
+ route: string;
24
+ user: import("@aws-amplify/ui").CognitoUserAmplify;
25
+ validationErrors: {
26
+ [x: string]: string;
27
+ };
28
+ };
29
+ resendCode: (data?: Record<string | number | symbol, any>) => void;
30
+ signOut: (data?: Record<string | number | symbol, any>) => void;
31
+ submitForm: (data?: Record<string | number | symbol, any>) => void;
32
+ updateForm: (data?: Record<string | number | symbol, any>) => void;
33
+ toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
34
+ toResetPassword: (data?: Record<string | number | symbol, any>) => void;
35
+ toSignIn: (data?: Record<string | number | symbol, any>) => void;
36
+ toSignUp: (data?: Record<string | number | symbol, any>) => void;
37
+ skipVerification: (data?: Record<string | number | symbol, any>) => void;
38
+ error: string;
39
+ hasValidationErrors: boolean;
40
+ isPending: boolean;
41
+ route: string;
42
+ user: import("@aws-amplify/ui").CognitoUserAmplify;
43
+ validationErrors: {
44
+ [x: string]: string;
45
+ };
46
+ };
47
+ onInput(event: Event): void;
48
+ onSubmit(event: Event): void;
49
+ }