diff --git a/packages/aws-amplify-angular/src/components/authenticator/authenticator/authenticator.component.core.ts b/packages/aws-amplify-angular/src/components/authenticator/authenticator/authenticator.component.core.ts index fe2919221b9..02d5aa23ed3 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/authenticator/authenticator.component.core.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/authenticator/authenticator.component.core.ts @@ -79,7 +79,7 @@ export class AuthenticatorComponentCore implements OnInit { _signUpConfig: any = {}; _usernameAttributes: string = 'username'; - constructor(protected amplifyService: AmplifyService) { + constructor(public amplifyService: AmplifyService) { this.subscribe(); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/authenticator/authenticator.component.ionic.ts b/packages/aws-amplify-angular/src/components/authenticator/authenticator/authenticator.component.ionic.ts index 4e006443766..a797eff2c00 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/authenticator/authenticator.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/authenticator/authenticator.component.ionic.ts @@ -81,7 +81,7 @@ const template = ` template, }) export class AuthenticatorIonicComponent extends AuthenticatorComponentCore { - constructor(protected amplifyService: AmplifyService) { + constructor(public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-in-component/confirm-sign-in-component.core.ts b/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-in-component/confirm-sign-in-component.core.ts index 328e5fd2de2..a86ab9d87f5 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-in-component/confirm-sign-in-component.core.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-in-component/confirm-sign-in-component.core.ts @@ -81,9 +81,7 @@ export class ConfirmSignInComponentCore implements OnInit { errorMessage: string; protected logger: any; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('ConfiSignInComponent'); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-in-component/confirm-sign-in-component.ionic.ts b/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-in-component/confirm-sign-in-component.ionic.ts index 810353cc9e8..a3ea9f0a013 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-in-component/confirm-sign-in-component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-in-component/confirm-sign-in-component.ionic.ts @@ -60,9 +60,7 @@ export class ConfirmSignInComponentIonic extends ConfirmSignInComponentCore { code: string; errorMessage: string; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-up-component/confirm-sign-up.component.core.ts b/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-up-component/confirm-sign-up.component.core.ts index e8d866383a3..e6815294d50 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-up-component/confirm-sign-up.component.core.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-up-component/confirm-sign-up.component.core.ts @@ -106,9 +106,7 @@ export class ConfirmSignUpComponentCore implements OnInit { errorMessage: string; protected logger: any; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('ConfirmSignUpComponent'); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-up-component/confirm-sign-up.component.ionic.ts b/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-up-component/confirm-sign-up.component.ionic.ts index d08438f7d98..955988585f8 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-up-component/confirm-sign-up.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-up-component/confirm-sign-up.component.ionic.ts @@ -111,9 +111,7 @@ const template = ` template, }) export class ConfirmSignUpComponentIonic extends ConfirmSignUpComponentCore { - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/authenticator/forgot-password-component/forgot-password.component.core.ts b/packages/aws-amplify-angular/src/components/authenticator/forgot-password-component/forgot-password.component.core.ts index 034b83a3386..5fd3eb0c745 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/forgot-password-component/forgot-password.component.core.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/forgot-password-component/forgot-password.component.core.ts @@ -130,9 +130,7 @@ export class ForgotPasswordComponentCore implements OnInit { country_code: string = '1'; email: string; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('ForgotPasswordComponent'); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/forgot-password-component/forgot-password.component.ionic.ts b/packages/aws-amplify-angular/src/components/authenticator/forgot-password-component/forgot-password.component.ionic.ts index 790b9b6f146..5ffcae2887f 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/forgot-password-component/forgot-password.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/forgot-password-component/forgot-password.component.ionic.ts @@ -117,9 +117,7 @@ const template = ` template, }) export class ForgotPasswordComponentIonic extends ForgotPasswordComponentCore { - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { super(amplifyService); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/greeting-component/greeting.component.core.ts b/packages/aws-amplify-angular/src/components/authenticator/greeting-component/greeting.component.core.ts index 4503fd0bdd9..e2e6f929501 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/greeting-component/greeting.component.core.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/greeting-component/greeting.component.core.ts @@ -40,9 +40,7 @@ export class GreetingComponentCore implements OnInit { _usernameAttributes: string = 'username'; protected logger: any; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('GreetingComponent'); this.subscribe(); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/greeting-component/greeting.component.ionic.ts b/packages/aws-amplify-angular/src/components/authenticator/greeting-component/greeting.component.ionic.ts index 2bbb3c87ab9..5484f340a18 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/greeting-component/greeting.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/greeting-component/greeting.component.ionic.ts @@ -38,9 +38,7 @@ const template = ` template, }) export class GreetingComponentIonic extends GreetingComponentCore { - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/authenticator/require-new-password-component/require-new-password.component.core.ts b/packages/aws-amplify-angular/src/components/authenticator/require-new-password-component/require-new-password.component.core.ts index 7734e094414..822102710f1 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/require-new-password-component/require-new-password.component.core.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/require-new-password-component/require-new-password.component.core.ts @@ -75,9 +75,7 @@ export class RequireNewPasswordComponentCore implements OnInit { errorMessage: string; protected logger: any; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('RequireNewPasswordComponent'); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/require-new-password-component/require-new-password.component.ionic.ts b/packages/aws-amplify-angular/src/components/authenticator/require-new-password-component/require-new-password.component.ionic.ts index d8acf8f1913..57f2c5e9a7b 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/require-new-password-component/require-new-password.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/require-new-password-component/require-new-password.component.ionic.ts @@ -81,9 +81,7 @@ const template = ` template, }) export class RequireNewPasswordComponentIonic extends RequireNewPasswordComponentCore { - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/authenticator/sign-in-component/sign-in.component.core.ts b/packages/aws-amplify-angular/src/components/authenticator/sign-in-component/sign-in.component.core.ts index 0d0c39c20e6..3fba3548fe8 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/sign-in-component/sign-in.component.core.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/sign-in-component/sign-in.component.core.ts @@ -106,9 +106,7 @@ export class SignInComponentCore implements OnInit { signInUsername = ''; protected logger: any; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('SignInComponent'); this.onUsernameFieldChanged = this.onUsernameFieldChanged.bind(this); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/sign-in-component/sign-in.component.ionic.ts b/packages/aws-amplify-angular/src/components/authenticator/sign-in-component/sign-in.component.ionic.ts index cdd22d6077a..433e3a46fac 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/sign-in-component/sign-in.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/sign-in-component/sign-in.component.ionic.ts @@ -92,9 +92,7 @@ const template = ` template, }) export class SignInComponentIonic extends SignInComponentCore { - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/authenticator/sign-up-component/sign-up.component.core.ts b/packages/aws-amplify-angular/src/components/authenticator/sign-up-component/sign-up.component.core.ts index a4494450dfa..3c5291120a9 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/sign-up-component/sign-up.component.core.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/sign-up-component/sign-up.component.core.ts @@ -121,9 +121,7 @@ export class SignUpComponentCore implements OnInit { defaultCountryCode: string; protected logger: any; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('SignUpComponent'); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/sign-up-component/sign-up.component.ionic.ts b/packages/aws-amplify-angular/src/components/authenticator/sign-up-component/sign-up.component.ionic.ts index fc73f07251b..c9523e7c660 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/sign-up-component/sign-up.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/sign-up-component/sign-up.component.ionic.ts @@ -103,9 +103,7 @@ const template = ` template, }) export class SignUpComponentIonic extends SignUpComponentCore { - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { super(amplifyService); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/username-field-component/username-field.component.core.ts b/packages/aws-amplify-angular/src/components/authenticator/username-field-component/username-field.component.core.ts index 6e2a3385ef2..12ab9cec0bc 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/username-field-component/username-field.component.core.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/username-field-component/username-field.component.core.ts @@ -72,9 +72,7 @@ export class UsernameFieldComponentCore implements OnInit { _placeholder: string = ''; username: string; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { this.onPhoneFieldChanged = this.onPhoneFieldChanged.bind(this); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/username-field-component/username-field.component.ionic.ts b/packages/aws-amplify-angular/src/components/authenticator/username-field-component/username-field.component.ionic.ts index 4d7f565bfea..12ac16b7aec 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/username-field-component/username-field.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/username-field-component/username-field.component.ionic.ts @@ -55,9 +55,7 @@ const template = ` template, }) export class UsernameFieldComponentIonic extends UsernameFieldComponentCore { - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/interactions/chatbot/chatbot.component.core.ts b/packages/aws-amplify-angular/src/components/interactions/chatbot/chatbot.component.core.ts index ba5cad2884c..fa44f5ec064 100644 --- a/packages/aws-amplify-angular/src/components/interactions/chatbot/chatbot.component.core.ts +++ b/packages/aws-amplify-angular/src/components/interactions/chatbot/chatbot.component.core.ts @@ -129,7 +129,7 @@ export class ChatbotComponentCore implements OnInit { constructor( ref: ChangeDetectorRef, - @Inject(AmplifyService) protected amplifyService: AmplifyService + @Inject(AmplifyService) public amplifyService: AmplifyService ) { this.ref = ref; this.continueConversation = false; diff --git a/packages/aws-amplify-angular/src/components/interactions/chatbot/chatbot.component.ionic.ts b/packages/aws-amplify-angular/src/components/interactions/chatbot/chatbot.component.ionic.ts index f580ee150b0..7b35ced9369 100644 --- a/packages/aws-amplify-angular/src/components/interactions/chatbot/chatbot.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/interactions/chatbot/chatbot.component.ionic.ts @@ -114,7 +114,7 @@ export class ChatbotComponentIonic extends ChatbotComponentCore { constructor( ref: ChangeDetectorRef, @Inject(AmplifyService) - protected amplifyService: AmplifyService + public amplifyService: AmplifyService ) { super(ref, amplifyService); } diff --git a/packages/aws-amplify-angular/src/components/storage/photo-picker-component/photo-picker.component.core.ts b/packages/aws-amplify-angular/src/components/storage/photo-picker-component/photo-picker.component.core.ts index fdb753a2bc5..a55b3a90edf 100644 --- a/packages/aws-amplify-angular/src/components/storage/photo-picker-component/photo-picker.component.core.ts +++ b/packages/aws-amplify-angular/src/components/storage/photo-picker-component/photo-picker.component.core.ts @@ -72,9 +72,7 @@ export class PhotoPickerComponentCore implements OnInit { errorMessage: string; protected logger: any; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('PhotoPickerComponent'); } diff --git a/packages/aws-amplify-angular/src/components/storage/photo-picker-component/photo-picker.component.ionic.ts b/packages/aws-amplify-angular/src/components/storage/photo-picker-component/photo-picker.component.ionic.ts index c1d34f6c2b5..e2fb8b2ecfd 100644 --- a/packages/aws-amplify-angular/src/components/storage/photo-picker-component/photo-picker.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/storage/photo-picker-component/photo-picker.component.ionic.ts @@ -57,9 +57,7 @@ const template = ` template, }) export class PhotoPickerIonicComponent extends PhotoPickerComponentCore { - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/storage/s3-album-component/s3-album.component.core.ts b/packages/aws-amplify-angular/src/components/storage/s3-album-component/s3-album.component.core.ts index 38e9efcc825..aed6b41ecf5 100644 --- a/packages/aws-amplify-angular/src/components/storage/s3-album-component/s3-album.component.core.ts +++ b/packages/aws-amplify-angular/src/components/storage/s3-album-component/s3-album.component.core.ts @@ -43,7 +43,7 @@ export class S3AlbumComponentCore implements OnInit { @Output() selected: EventEmitter = new EventEmitter(); - constructor(protected amplifyService: AmplifyService) { + constructor(public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('S3AlbumComponent'); } diff --git a/packages/aws-amplify-angular/src/components/storage/s3-album-component/s3-album.component.ionic.ts b/packages/aws-amplify-angular/src/components/storage/s3-album-component/s3-album.component.ionic.ts index 476b467cf51..ff1b7dca23f 100644 --- a/packages/aws-amplify-angular/src/components/storage/s3-album-component/s3-album.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/storage/s3-album-component/s3-album.component.ionic.ts @@ -41,7 +41,7 @@ const template = ` template, }) export class S3AlbumComponentIonic extends S3AlbumComponentCore { - constructor(protected amplifyService: AmplifyService) { + constructor(public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/storage/s3-image-component/s3-image.component.core.ts b/packages/aws-amplify-angular/src/components/storage/s3-image-component/s3-image.component.core.ts index 28a6250bc5d..e0635823a95 100644 --- a/packages/aws-amplify-angular/src/components/storage/s3-image-component/s3-image.component.core.ts +++ b/packages/aws-amplify-angular/src/components/storage/s3-image-component/s3-image.component.core.ts @@ -37,7 +37,7 @@ export class S3ImageComponentCore implements OnInit { @Output() selected: EventEmitter = new EventEmitter(); - constructor(protected amplifyService: AmplifyService) { + constructor(public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('S3ImageComponent'); } diff --git a/packages/aws-amplify-angular/src/components/storage/s3-image-component/s3-image.component.ionic.ts b/packages/aws-amplify-angular/src/components/storage/s3-image-component/s3-image.component.ionic.ts index 351e9033b76..509569ee100 100644 --- a/packages/aws-amplify-angular/src/components/storage/s3-image-component/s3-image.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/storage/s3-image-component/s3-image.component.ionic.ts @@ -36,7 +36,7 @@ const template = ` template, }) export class S3ImageComponentIonic extends S3ImageComponentCore { - constructor(protected amplifyService: AmplifyService) { + constructor(public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/xr/sumerian-scene-component/sumerian-scene.component.core.ts b/packages/aws-amplify-angular/src/components/xr/sumerian-scene-component/sumerian-scene.component.core.ts index 6e81894d529..ce19f78557b 100644 --- a/packages/aws-amplify-angular/src/components/xr/sumerian-scene-component/sumerian-scene.component.core.ts +++ b/packages/aws-amplify-angular/src/components/xr/sumerian-scene-component/sumerian-scene.component.core.ts @@ -106,7 +106,7 @@ export class SumerianSceneComponentCore implements OnInit, OnDestroy { this.sceneName = data.sceneName; } - constructor(protected amplifyService: AmplifyService) { + constructor(public amplifyService: AmplifyService) { this.amplifyUI = AmplifyUI; this.logger = this.amplifyService.logger('SumerianSceneComponentCore'); } diff --git a/packages/aws-amplify-angular/src/components/xr/sumerian-scene-component/sumerian-scene.component.ionic.ts b/packages/aws-amplify-angular/src/components/xr/sumerian-scene-component/sumerian-scene.component.ionic.ts index ed61b4e1334..7d9c2ddd491 100644 --- a/packages/aws-amplify-angular/src/components/xr/sumerian-scene-component/sumerian-scene.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/xr/sumerian-scene-component/sumerian-scene.component.ionic.ts @@ -90,7 +90,7 @@ const template = ` export class SumerianSceneComponentIonic extends SumerianSceneComponentCore { amplifyUI: any; - constructor(protected amplifyService: AmplifyService) { + constructor(public amplifyService: AmplifyService) { super(amplifyService); } }