@aws-amplify/ui-angular 2.0.1-next.6 → 2.0.4

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 (139) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +28 -0
  3. package/aws-amplify-ui-angular.d.ts +26 -24
  4. package/aws-amplify-ui-angular.metadata.json +1 -1
  5. package/bundles/aws-amplify-ui-angular-legacy.umd.js +2229 -0
  6. package/bundles/aws-amplify-ui-angular-legacy.umd.js.map +1 -0
  7. package/bundles/aws-amplify-ui-angular-legacy.umd.min.js +16 -0
  8. package/bundles/aws-amplify-ui-angular-legacy.umd.min.js.map +1 -0
  9. package/bundles/aws-amplify-ui-angular.umd.js +931 -2858
  10. package/bundles/aws-amplify-ui-angular.umd.js.map +1 -1
  11. package/bundles/aws-amplify-ui-angular.umd.min.js +1 -1
  12. package/bundles/aws-amplify-ui-angular.umd.min.js.map +1 -1
  13. package/esm2015/aws-amplify-ui-angular.js +27 -25
  14. package/esm2015/index.js +22 -8
  15. package/esm2015/legacy/aws-amplify-ui-angular-legacy.js +6 -0
  16. package/esm2015/legacy/index.js +3 -0
  17. package/esm2015/legacy/legacy-ui-angular.module.js +53 -0
  18. package/esm2015/legacy/proxies.js +1839 -0
  19. package/esm2015/lib/common/types/auth-types.js +1 -1
  20. package/esm2015/lib/components/authenticator/authenticator.module.js +78 -0
  21. package/esm2015/lib/components/authenticator/components/authenticator/authenticator.component.js +91 -0
  22. package/esm2015/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.js +40 -0
  23. package/esm2015/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.js +57 -0
  24. package/esm2015/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.js +55 -0
  25. package/esm2015/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.js +39 -0
  26. package/esm2015/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.js +47 -0
  27. package/esm2015/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.js +27 -0
  28. package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password.component.js +39 -0
  29. package/esm2015/lib/components/authenticator/components/form-field/form-field.component.js +97 -0
  30. package/esm2015/lib/components/authenticator/components/index.js +17 -0
  31. package/esm2015/lib/components/authenticator/components/reset-password/reset-password.component.js +45 -0
  32. package/esm2015/lib/components/authenticator/components/setup-totp/setup-totp.component.js +65 -0
  33. package/esm2015/lib/components/authenticator/components/sign-in/sign-in.component.js +38 -0
  34. package/esm2015/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.js +34 -0
  35. package/esm2015/lib/components/authenticator/components/sign-up/sign-up.component.js +37 -0
  36. package/esm2015/lib/components/authenticator/components/user-name-alias/user-name-alias.component.js +35 -0
  37. package/esm2015/lib/components/authenticator/components/verify-user/verify-user.component.js +54 -0
  38. package/esm2015/lib/primitives/button/button.component.js +38 -0
  39. package/esm2015/lib/primitives/checkbox/checkbox.component.js +31 -0
  40. package/esm2015/lib/primitives/error/error.component.js +16 -0
  41. package/esm2015/lib/primitives/index.js +10 -3
  42. package/esm2015/lib/primitives/password-field/password-field.component.js +45 -0
  43. package/esm2015/lib/primitives/phone-number-field/phone-number-field.component.js +11 -4
  44. package/esm2015/lib/primitives/{amplify-select/amplify-select.component.js → select/select.component.js} +4 -4
  45. package/esm2015/lib/primitives/tab-item/tab-item.component.js +5 -3
  46. package/esm2015/lib/primitives/tabs/tabs.component.js +2 -2
  47. package/esm2015/lib/primitives/text-field/text-field.component.js +35 -0
  48. package/esm2015/lib/services/authenticator.service.js +141 -0
  49. package/esm2015/lib/services/custom-components.service.js +23 -0
  50. package/esm2015/lib/utilities/amplify-slot/amplify-slot.component.js +32 -0
  51. package/esm2015/lib/utilities/amplify-slot/amplify-slot.directive.js +21 -0
  52. package/fesm2015/aws-amplify-ui-angular-legacy.js +1846 -0
  53. package/fesm2015/aws-amplify-ui-angular-legacy.js.map +1 -0
  54. package/fesm2015/aws-amplify-ui-angular.js +695 -2617
  55. package/fesm2015/aws-amplify-ui-angular.js.map +1 -1
  56. package/index.d.ts +21 -7
  57. package/legacy/aws-amplify-ui-angular-legacy.d.ts +5 -0
  58. package/legacy/aws-amplify-ui-angular-legacy.metadata.json +1 -0
  59. package/legacy/index.d.ts +2 -0
  60. package/legacy/legacy-ui-angular.module.d.ts +2 -0
  61. package/legacy/package.json +11 -0
  62. package/{lib → legacy}/proxies.d.ts +0 -0
  63. package/lib/common/types/auth-types.d.ts +2 -5
  64. package/lib/components/authenticator/authenticator.module.d.ts +2 -0
  65. package/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +73 -0
  66. package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +55 -0
  67. package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +57 -0
  68. package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +56 -0
  69. package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +54 -0
  70. package/lib/components/{amplify-federated-sign-in/amplify-federated-sign-in.component.d.ts → authenticator/components/federated-sign-in/federated-sign-in.component.d.ts} +9 -6
  71. package/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.d.ts +9 -0
  72. package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +54 -0
  73. package/lib/{primitives/amplify-form-field/amplify-form-field.component.d.ts → components/authenticator/components/form-field/form-field.component.d.ts} +7 -4
  74. package/lib/components/authenticator/components/index.d.ts +16 -0
  75. package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts +57 -0
  76. package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +58 -0
  77. package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +53 -0
  78. package/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.d.ts +12 -0
  79. package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +52 -0
  80. package/lib/{primitives/amplify-user-name-alias/amplify-user-name-alias.component.d.ts → components/authenticator/components/user-name-alias/user-name-alias.component.d.ts} +4 -4
  81. package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +59 -0
  82. package/lib/primitives/{amplify-button/amplify-button.component.d.ts → button/button.component.d.ts} +1 -1
  83. package/lib/primitives/checkbox/checkbox.component.d.ts +12 -0
  84. package/lib/primitives/error/error.component.d.ts +4 -0
  85. package/lib/primitives/index.d.ts +9 -2
  86. package/lib/primitives/{amplify-password-field/amplify-password-field.component.d.ts → password-field/password-field.component.d.ts} +5 -2
  87. package/lib/primitives/phone-number-field/phone-number-field.component.d.ts +2 -0
  88. package/lib/primitives/{amplify-select/amplify-select.component.d.ts → select/select.component.d.ts} +1 -1
  89. package/lib/primitives/tab-item/tab-item.component.d.ts +1 -0
  90. package/lib/primitives/{amplify-text-field/amplify-text-field.component.d.ts → text-field/text-field.component.d.ts} +4 -2
  91. package/lib/services/authenticator.service.d.ts +101 -0
  92. package/lib/services/custom-components.service.d.ts +9 -0
  93. package/lib/utilities/amplify-slot/amplify-slot.component.d.ts +12 -0
  94. package/lib/{directives → utilities/amplify-slot}/amplify-slot.directive.d.ts +0 -0
  95. package/package.json +3 -4
  96. package/theme.css +0 -1
  97. package/esm2015/lib/components/amplify-authenticator/amplify-authenticator.component.js +0 -85
  98. package/esm2015/lib/components/amplify-confirm-sign-in/amplify-confirm-sign-in.component.js +0 -91
  99. package/esm2015/lib/components/amplify-confirm-sign-up/amplify-confirm-sign-up.component.js +0 -83
  100. package/esm2015/lib/components/amplify-federated-sign-in/amplify-federated-sign-in.component.js +0 -37
  101. package/esm2015/lib/components/amplify-federated-sign-in-button/amplify-federated-sign-in-button.component.js +0 -27
  102. package/esm2015/lib/components/amplify-force-new-password/amplify-force-new-password.component.js +0 -83
  103. package/esm2015/lib/components/amplify-reset-password/amplify-reset-password.component.js +0 -68
  104. package/esm2015/lib/components/amplify-setup-totp/amplify-setup-totp.component.js +0 -100
  105. package/esm2015/lib/components/amplify-sign-in/amplify-sign-in.component.js +0 -78
  106. package/esm2015/lib/components/amplify-sign-up/amplify-sign-up.component.js +0 -97
  107. package/esm2015/lib/components/amplify-verify-user/amplify-verify-user.component.js +0 -78
  108. package/esm2015/lib/components/confirm-reset-password/amplify-confirm-reset-password.component.js +0 -76
  109. package/esm2015/lib/components/confirm-verify-user/amplify-confirm-verify-user.component.js +0 -66
  110. package/esm2015/lib/components/index.js +0 -14
  111. package/esm2015/lib/directives/amplify-slot.directive.js +0 -21
  112. package/esm2015/lib/primitives/amplify-button/amplify-button.component.js +0 -38
  113. package/esm2015/lib/primitives/amplify-error/amplify-error.component.js +0 -10
  114. package/esm2015/lib/primitives/amplify-form-field/amplify-form-field.component.js +0 -91
  115. package/esm2015/lib/primitives/amplify-password-field/amplify-password-field.component.js +0 -39
  116. package/esm2015/lib/primitives/amplify-text-field/amplify-text-field.component.js +0 -29
  117. package/esm2015/lib/primitives/amplify-user-name-alias/amplify-user-name-alias.component.js +0 -35
  118. package/esm2015/lib/proxies.js +0 -1839
  119. package/esm2015/lib/services/authenticator-context.service.js +0 -28
  120. package/esm2015/lib/services/state-machine.service.js +0 -51
  121. package/esm2015/lib/ui-angular.module.js +0 -103
  122. package/lib/components/amplify-authenticator/amplify-authenticator.component.d.ts +0 -35
  123. package/lib/components/amplify-confirm-sign-in/amplify-confirm-sign-in.component.d.ts +0 -31
  124. package/lib/components/amplify-confirm-sign-up/amplify-confirm-sign-up.component.d.ts +0 -34
  125. package/lib/components/amplify-federated-sign-in-button/amplify-federated-sign-in-button.component.d.ts +0 -9
  126. package/lib/components/amplify-force-new-password/amplify-force-new-password.component.d.ts +0 -31
  127. package/lib/components/amplify-reset-password/amplify-reset-password.component.d.ts +0 -30
  128. package/lib/components/amplify-setup-totp/amplify-setup-totp.component.d.ts +0 -31
  129. package/lib/components/amplify-sign-in/amplify-sign-in.component.d.ts +0 -32
  130. package/lib/components/amplify-sign-up/amplify-sign-up.component.d.ts +0 -32
  131. package/lib/components/amplify-verify-user/amplify-verify-user.component.d.ts +0 -32
  132. package/lib/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +0 -34
  133. package/lib/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +0 -28
  134. package/lib/components/index.d.ts +0 -13
  135. package/lib/primitives/amplify-error/amplify-error.component.d.ts +0 -2
  136. package/lib/services/authenticator-context.service.d.ts +0 -10
  137. package/lib/services/state-machine.service.d.ts +0 -29
  138. package/lib/ui-angular.module.d.ts +0 -2
  139. package/styles/component.css +0 -169
package/index.d.ts CHANGED
@@ -1,8 +1,22 @@
1
- export * from './lib/ui-angular.module';
2
- export * from './lib/common';
3
- export * from './lib/components';
1
+ /**
2
+ * Modules
3
+ */
4
+ export { AmplifyAuthenticatorModule } from './lib/components/authenticator/authenticator.module';
5
+ /**
6
+ * Components
7
+ */
8
+ export * from './lib/components/authenticator/components';
4
9
  export * from './lib/primitives';
5
- export * from './lib/services/authenticator-context.service';
6
- export * from './lib/services/state-machine.service';
7
- export * from './lib/directives/amplify-slot.directive';
8
- export { AmplifyS3Album, AmplifyS3ImagePicker, AmplifyS3Text, AmplifyS3TextPicker, AmplifyS3Image, AmplifyPicker, AmplifyPhotoPicker, AmplifyChatbot, AmplifyToast, AmplifyInput, AmplifyButton, } from './lib/proxies';
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';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
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
@@ -1,6 +1,3 @@
1
- import { AuthInputAttributes } from '@aws-amplify/ui';
2
- /**
3
- * TODO: This should be typed from core
4
- */
5
- export declare type AuthState = 'signIn' | 'signUp' | 'signedIn';
1
+ import { AuthInputAttributes, AuthMachineState } from '@aws-amplify/ui';
6
2
  export declare type AttributeInfoProvider = () => AuthInputAttributes;
3
+ export declare type AuthSubscriptionCallback = (state: AuthMachineState) => void;
@@ -0,0 +1,2 @@
1
+ export declare class AmplifyAuthenticatorModule {
2
+ }
@@ -0,0 +1,73 @@
1
+ /// <reference types="amazon-cognito-identity-js" />
2
+ import { AfterContentInit, OnInit } from '@angular/core';
3
+ import { AuthenticatorMachineOptions, SocialProvider } from '@aws-amplify/ui';
4
+ import { CustomComponentsService } from '../../../../services/custom-components.service';
5
+ import { AuthenticatorService } from '../../../../services/authenticator.service';
6
+ export declare class AuthenticatorComponent implements OnInit, AfterContentInit {
7
+ private authenticator;
8
+ private contextService;
9
+ initialState: AuthenticatorMachineOptions['initialState'];
10
+ loginMechanisms: AuthenticatorMachineOptions['loginMechanisms'];
11
+ services: AuthenticatorMachineOptions['services'];
12
+ signUpAttributes: AuthenticatorMachineOptions['signUpAttributes'];
13
+ socialProviders: SocialProvider[];
14
+ variation: 'default' | 'modal';
15
+ private customComponentQuery;
16
+ signInTitle: string;
17
+ signUpTitle: string;
18
+ constructor(authenticator: AuthenticatorService, contextService: CustomComponentsService);
19
+ ngOnInit(): void;
20
+ /**
21
+ * Lifecycle Methods
22
+ */
23
+ ngAfterContentInit(): void;
24
+ /**
25
+ * Class Functions
26
+ */
27
+ get context(): {
28
+ $implicit: {
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
+ updateBlur: (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
+ codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
48
+ };
49
+ resendCode: (data?: Record<string | number | symbol, any>) => void;
50
+ signOut: (data?: Record<string | number | symbol, any>) => void;
51
+ submitForm: (data?: Record<string | number | symbol, any>) => void;
52
+ updateForm: (data?: Record<string | number | symbol, any>) => void;
53
+ updateBlur: (data?: Record<string | number | symbol, any>) => void;
54
+ toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
55
+ toResetPassword: (data?: Record<string | number | symbol, any>) => void;
56
+ toSignIn: (data?: Record<string | number | symbol, any>) => void;
57
+ toSignUp: (data?: Record<string | number | symbol, any>) => void;
58
+ skipVerification: (data?: Record<string | number | symbol, any>) => void;
59
+ error: string;
60
+ hasValidationErrors: boolean;
61
+ isPending: boolean;
62
+ route: string;
63
+ user: import("@aws-amplify/ui").CognitoUserAmplify;
64
+ validationErrors: {
65
+ [x: string]: string;
66
+ };
67
+ codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
68
+ };
69
+ get route(): string;
70
+ onTabChange(): void;
71
+ hasTabs(): boolean;
72
+ private mapCustomComponents;
73
+ }
@@ -0,0 +1,55 @@
1
+ /// <reference types="amazon-cognito-identity-js" />
2
+ import { AuthenticatorService } from '../../../../services/authenticator.service';
3
+ export declare class ConfirmResetPasswordComponent {
4
+ authenticator: AuthenticatorService;
5
+ dataAttr: string;
6
+ headerText: string;
7
+ sendCodeText: string;
8
+ backToSignInText: string;
9
+ resendCodeText: string;
10
+ constructor(authenticator: AuthenticatorService);
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
+ updateBlur: (data?: Record<string | number | symbol, any>) => void;
18
+ toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
19
+ toResetPassword: (data?: Record<string | number | symbol, any>) => void;
20
+ toSignIn: (data?: Record<string | number | symbol, any>) => void;
21
+ toSignUp: (data?: Record<string | number | symbol, any>) => void;
22
+ skipVerification: (data?: Record<string | number | symbol, any>) => void;
23
+ error: string;
24
+ hasValidationErrors: boolean;
25
+ isPending: boolean;
26
+ route: string;
27
+ user: import("@aws-amplify/ui").CognitoUserAmplify;
28
+ validationErrors: {
29
+ [x: string]: string;
30
+ };
31
+ codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
32
+ };
33
+ resendCode: (data?: Record<string | number | symbol, any>) => void;
34
+ signOut: (data?: Record<string | number | symbol, any>) => void;
35
+ submitForm: (data?: Record<string | number | symbol, any>) => void;
36
+ updateForm: (data?: Record<string | number | symbol, any>) => void;
37
+ updateBlur: (data?: Record<string | number | symbol, any>) => void;
38
+ toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
39
+ toResetPassword: (data?: Record<string | number | symbol, any>) => void;
40
+ toSignIn: (data?: Record<string | number | symbol, any>) => void;
41
+ toSignUp: (data?: Record<string | number | symbol, any>) => void;
42
+ skipVerification: (data?: Record<string | number | symbol, any>) => void;
43
+ error: string;
44
+ hasValidationErrors: boolean;
45
+ isPending: boolean;
46
+ route: string;
47
+ user: import("@aws-amplify/ui").CognitoUserAmplify;
48
+ validationErrors: {
49
+ [x: string]: string;
50
+ };
51
+ codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
52
+ };
53
+ onInput(event: Event): void;
54
+ onSubmit(event: Event): void;
55
+ }
@@ -0,0 +1,57 @@
1
+ /// <reference types="amazon-cognito-identity-js" />
2
+ import { OnInit } from '@angular/core';
3
+ import { AuthenticatorService } from '../../../../services/authenticator.service';
4
+ export declare class ConfirmSignInComponent implements OnInit {
5
+ authenticator: AuthenticatorService;
6
+ dataAttr: string;
7
+ headerText: string;
8
+ confirmText: string;
9
+ backToSignInText: string;
10
+ constructor(authenticator: AuthenticatorService);
11
+ ngOnInit(): void;
12
+ get context(): {
13
+ $implicit: {
14
+ resendCode: (data?: Record<string | number | symbol, any>) => void;
15
+ signOut: (data?: Record<string | number | symbol, any>) => void;
16
+ submitForm: (data?: Record<string | number | symbol, any>) => void;
17
+ updateForm: (data?: Record<string | number | symbol, any>) => void;
18
+ updateBlur: (data?: Record<string | number | symbol, any>) => void;
19
+ toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
20
+ toResetPassword: (data?: Record<string | number | symbol, any>) => void;
21
+ toSignIn: (data?: Record<string | number | symbol, any>) => void;
22
+ toSignUp: (data?: Record<string | number | symbol, any>) => void;
23
+ skipVerification: (data?: Record<string | number | symbol, any>) => void;
24
+ error: string;
25
+ hasValidationErrors: boolean;
26
+ isPending: boolean;
27
+ route: string;
28
+ user: import("@aws-amplify/ui").CognitoUserAmplify;
29
+ validationErrors: {
30
+ [x: string]: string;
31
+ };
32
+ codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
33
+ };
34
+ resendCode: (data?: Record<string | number | symbol, any>) => void;
35
+ signOut: (data?: Record<string | number | symbol, any>) => void;
36
+ submitForm: (data?: Record<string | number | symbol, any>) => void;
37
+ updateForm: (data?: Record<string | number | symbol, any>) => void;
38
+ updateBlur: (data?: Record<string | number | symbol, any>) => void;
39
+ toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
40
+ toResetPassword: (data?: Record<string | number | symbol, any>) => void;
41
+ toSignIn: (data?: Record<string | number | symbol, any>) => void;
42
+ toSignUp: (data?: Record<string | number | symbol, any>) => void;
43
+ skipVerification: (data?: Record<string | number | symbol, any>) => void;
44
+ error: string;
45
+ hasValidationErrors: boolean;
46
+ isPending: boolean;
47
+ route: string;
48
+ user: import("@aws-amplify/ui").CognitoUserAmplify;
49
+ validationErrors: {
50
+ [x: string]: string;
51
+ };
52
+ codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
53
+ };
54
+ setHeaderText(): void;
55
+ onInput(event: Event): void;
56
+ onSubmit(event: Event): void;
57
+ }
@@ -0,0 +1,56 @@
1
+ /// <reference types="amazon-cognito-identity-js" />
2
+ import { AuthenticatorService } from '../../../../services/authenticator.service';
3
+ export declare class ConfirmSignUpComponent {
4
+ authenticator: AuthenticatorService;
5
+ headerText: string;
6
+ dataAttr: string;
7
+ resendCodeText: string;
8
+ confirmText: 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
+ updateBlur: (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
+ codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
31
+ };
32
+ resendCode: (data?: Record<string | number | symbol, any>) => void;
33
+ signOut: (data?: Record<string | number | symbol, any>) => void;
34
+ submitForm: (data?: Record<string | number | symbol, any>) => void;
35
+ updateForm: (data?: Record<string | number | symbol, any>) => void;
36
+ updateBlur: (data?: Record<string | number | symbol, any>) => void;
37
+ toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
38
+ toResetPassword: (data?: Record<string | number | symbol, any>) => void;
39
+ toSignIn: (data?: Record<string | number | symbol, any>) => void;
40
+ toSignUp: (data?: Record<string | number | symbol, any>) => void;
41
+ skipVerification: (data?: Record<string | number | symbol, any>) => void;
42
+ error: string;
43
+ hasValidationErrors: boolean;
44
+ isPending: boolean;
45
+ route: string;
46
+ user: import("@aws-amplify/ui").CognitoUserAmplify;
47
+ validationErrors: {
48
+ [x: string]: string;
49
+ };
50
+ codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
51
+ };
52
+ get confirmSignUpHeading(): string;
53
+ get subtitleText(): string;
54
+ onInput(event: Event): void;
55
+ onSubmit(event: Event): void;
56
+ }
@@ -0,0 +1,54 @@
1
+ /// <reference types="amazon-cognito-identity-js" />
2
+ import { AuthenticatorService } from '../../../../services/authenticator.service';
3
+ export declare class ConfirmVerifyUserComponent {
4
+ authenticator: AuthenticatorService;
5
+ dataAttr: string;
6
+ headerText: string;
7
+ skipText: string;
8
+ submitText: 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
+ updateBlur: (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
+ codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
31
+ };
32
+ resendCode: (data?: Record<string | number | symbol, any>) => void;
33
+ signOut: (data?: Record<string | number | symbol, any>) => void;
34
+ submitForm: (data?: Record<string | number | symbol, any>) => void;
35
+ updateForm: (data?: Record<string | number | symbol, any>) => void;
36
+ updateBlur: (data?: Record<string | number | symbol, any>) => void;
37
+ toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
38
+ toResetPassword: (data?: Record<string | number | symbol, any>) => void;
39
+ toSignIn: (data?: Record<string | number | symbol, any>) => void;
40
+ toSignUp: (data?: Record<string | number | symbol, any>) => void;
41
+ skipVerification: (data?: Record<string | number | symbol, any>) => void;
42
+ error: string;
43
+ hasValidationErrors: boolean;
44
+ isPending: boolean;
45
+ route: string;
46
+ user: import("@aws-amplify/ui").CognitoUserAmplify;
47
+ validationErrors: {
48
+ [x: string]: string;
49
+ };
50
+ codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
51
+ };
52
+ onInput(event: Event): void;
53
+ onSubmit(event: Event): void;
54
+ }
@@ -1,16 +1,19 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { FederatedIdentityProviders } from '@aws-amplify/ui';
3
- import { StateMachineService } from '../../services/state-machine.service';
4
- export declare class AmplifyFederatedSignInComponent implements OnInit {
5
- private stateMachine;
3
+ import { AuthenticatorService } from '../../../../services/authenticator.service';
4
+ export declare class FederatedSignInComponent implements OnInit {
5
+ private authenticator;
6
6
  FederatedProviders: typeof FederatedIdentityProviders;
7
+ includeAmazon: boolean;
8
+ includeApple: boolean;
7
9
  includeFacebook: boolean;
8
10
  includeGoogle: boolean;
9
- includeAmazon: boolean;
10
11
  shouldShowFederatedSignIn: boolean;
12
+ signInAmazonText: string;
13
+ signInAppleText: string;
11
14
  signInFacebookText: string;
12
15
  signInGoogleText: string;
13
- signInAmazonText: string;
14
- constructor(stateMachine: StateMachineService);
16
+ constructor(authenticator: AuthenticatorService);
15
17
  ngOnInit(): void;
18
+ private setFederatedTexts;
16
19
  }
@@ -0,0 +1,9 @@
1
+ import { FederatedIdentityProviders } from '@aws-amplify/ui';
2
+ import { AuthenticatorService } from '../../../../services/authenticator.service';
3
+ export declare class FederatedSignInButtonComponent {
4
+ private authenticator;
5
+ provider: FederatedIdentityProviders;
6
+ text: string;
7
+ constructor(authenticator: AuthenticatorService);
8
+ onClick: () => void;
9
+ }
@@ -0,0 +1,54 @@
1
+ /// <reference types="amazon-cognito-identity-js" />
2
+ import { AuthenticatorService } from '../../../../services/authenticator.service';
3
+ export declare class ForceNewPasswordComponent {
4
+ authenticator: AuthenticatorService;
5
+ dataAttr: string;
6
+ headerText: string;
7
+ changePasswordText: string;
8
+ backToSignInText: 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
+ updateBlur: (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
+ codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
31
+ };
32
+ resendCode: (data?: Record<string | number | symbol, any>) => void;
33
+ signOut: (data?: Record<string | number | symbol, any>) => void;
34
+ submitForm: (data?: Record<string | number | symbol, any>) => void;
35
+ updateForm: (data?: Record<string | number | symbol, any>) => void;
36
+ updateBlur: (data?: Record<string | number | symbol, any>) => void;
37
+ toFederatedSignIn: (data?: Record<string | number | symbol, any>) => void;
38
+ toResetPassword: (data?: Record<string | number | symbol, any>) => void;
39
+ toSignIn: (data?: Record<string | number | symbol, any>) => void;
40
+ toSignUp: (data?: Record<string | number | symbol, any>) => void;
41
+ skipVerification: (data?: Record<string | number | symbol, any>) => void;
42
+ error: string;
43
+ hasValidationErrors: boolean;
44
+ isPending: boolean;
45
+ route: string;
46
+ user: import("@aws-amplify/ui").CognitoUserAmplify;
47
+ validationErrors: {
48
+ [x: string]: string;
49
+ };
50
+ codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
51
+ };
52
+ onInput(event: Event): void;
53
+ onSubmit(event: Event): void;
54
+ }
@@ -1,6 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { AuthInputAttributes } from '@aws-amplify/ui';
3
- import { StateMachineService } from '../../services/state-machine.service';
3
+ import { AuthenticatorService } from '../../../../services/authenticator.service';
4
4
  /**
5
5
  * Input interface opinionated for authenticator usage.
6
6
  *
@@ -8,8 +8,8 @@ import { StateMachineService } from '../../services/state-machine.service';
8
8
  * contains authenticator opinionated logic and 2) amplify-text-field primitive
9
9
  * that does not make any auth-related inference.
10
10
  */
11
- export declare class AmplifyFormFieldComponent implements OnInit {
12
- private stateMachine;
11
+ export declare class FormFieldComponent implements OnInit {
12
+ private authenticator;
13
13
  name: string;
14
14
  type: string;
15
15
  required: boolean;
@@ -18,17 +18,20 @@ export declare class AmplifyFormFieldComponent implements OnInit {
18
18
  initialValue: string;
19
19
  disabled: boolean;
20
20
  autocomplete: string;
21
+ labelHidden: boolean;
21
22
  defaultCountryCode: string;
22
23
  countryDialCodes: string[];
23
24
  textFieldId: string;
24
25
  selectFieldId: string;
25
- constructor(stateMachine: StateMachineService);
26
+ constructor(authenticator: AuthenticatorService);
26
27
  ngOnInit(): void;
27
28
  get attributeMap(): AuthInputAttributes;
28
29
  get error(): string;
30
+ onBlur($event: Event): void;
29
31
  inferLabel(): string;
30
32
  inferPlaceholder(): string;
31
33
  inferType(): string;
34
+ inferAutocomplete(): string;
32
35
  isPasswordField(): boolean;
33
36
  isPhoneField(): boolean;
34
37
  }
@@ -0,0 +1,16 @@
1
+ export { AuthenticatorComponent } from './authenticator/authenticator.component';
2
+ export { ConfirmResetPasswordComponent } from './confirm-reset-password/amplify-confirm-reset-password.component';
3
+ export { ConfirmSignInComponent } from './confirm-sign-in/confirm-sign-in.component';
4
+ export { ConfirmSignUpComponent } from './confirm-sign-up/confirm-sign-up.component';
5
+ export { ConfirmVerifyUserComponent } from './confirm-verify-user/amplify-confirm-verify-user.component';
6
+ export { FederatedSignInButtonComponent } from './federated-sign-in-button/federated-sign-in-button.component';
7
+ export { FederatedSignInComponent } from './federated-sign-in/federated-sign-in.component';
8
+ export { ForceNewPasswordComponent } from './force-new-password/force-new-password.component';
9
+ export { FormFieldComponent } from './form-field/form-field.component';
10
+ export { ResetPasswordComponent } from './reset-password/reset-password.component';
11
+ export { SetupTotpComponent } from './setup-totp/setup-totp.component';
12
+ export { SignInComponent } from './sign-in/sign-in.component';
13
+ export { SignUpComponent } from './sign-up/sign-up.component';
14
+ export { SignUpFormFieldsComponent } from './sign-up/sign-up-form-fields/sign-up-form-fields.component';
15
+ export { UserNameAliasComponent } from './user-name-alias/user-name-alias.component';
16
+ export { VerifyUserComponent } from './verify-user/verify-user.component';