ngx-firebase 1.1.12 → 22.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.
- package/README.md +51 -11
- package/fesm2022/ngx-firebase.mjs +158 -0
- package/fesm2022/ngx-firebase.mjs.map +1 -0
- package/package.json +40 -30
- package/types/ngx-firebase.d.ts +55 -0
- package/bundles/ngx-firebase-capacitor.umd.js +0 -763
- package/bundles/ngx-firebase-capacitor.umd.js.map +0 -1
- package/bundles/ngx-firebase-capacitor.umd.min.js +0 -16
- package/bundles/ngx-firebase-capacitor.umd.min.js.map +0 -1
- package/bundles/ngx-firebase-iap.umd.js +0 -718
- package/bundles/ngx-firebase-iap.umd.js.map +0 -1
- package/bundles/ngx-firebase-iap.umd.min.js +0 -2
- package/bundles/ngx-firebase-iap.umd.min.js.map +0 -1
- package/bundles/ngx-firebase-ionic-auth-ui.umd.js +0 -2116
- package/bundles/ngx-firebase-ionic-auth-ui.umd.js.map +0 -1
- package/bundles/ngx-firebase-ionic-auth-ui.umd.min.js +0 -16
- package/bundles/ngx-firebase-ionic-auth-ui.umd.min.js.map +0 -1
- package/bundles/ngx-firebase-ionic.umd.js +0 -979
- package/bundles/ngx-firebase-ionic.umd.js.map +0 -1
- package/bundles/ngx-firebase-ionic.umd.min.js +0 -16
- package/bundles/ngx-firebase-ionic.umd.min.js.map +0 -1
- package/bundles/ngx-firebase-testing.umd.js +0 -801
- package/bundles/ngx-firebase-testing.umd.js.map +0 -1
- package/bundles/ngx-firebase-testing.umd.min.js +0 -2
- package/bundles/ngx-firebase-testing.umd.min.js.map +0 -1
- package/bundles/ngx-firebase.umd.js +0 -2271
- package/bundles/ngx-firebase.umd.js.map +0 -1
- package/bundles/ngx-firebase.umd.min.js +0 -2
- package/bundles/ngx-firebase.umd.min.js.map +0 -1
- package/capacitor/capacitor.module.d.ts +0 -9
- package/capacitor/interfaces/config.d.ts +0 -12
- package/capacitor/interfaces/index.d.ts +0 -1
- package/capacitor/ngx-firebase-capacitor.d.ts +0 -5
- package/capacitor/ngx-firebase-capacitor.metadata.json +0 -1
- package/capacitor/package.json +0 -25
- package/capacitor/public-api.d.ts +0 -3
- package/capacitor/services/analytics-firebase-capacitor.service.d.ts +0 -9
- package/capacitor/services/crashlytics-firebase-capacitor.service.d.ts +0 -8
- package/capacitor/services/credential-factory-capacitor.service.d.ts +0 -18
- package/capacitor/services/index.d.ts +0 -3
- package/esm2015/capacitor/capacitor.module.js +0 -78
- package/esm2015/capacitor/interfaces/config.js +0 -3
- package/esm2015/capacitor/interfaces/index.js +0 -2
- package/esm2015/capacitor/ngx-firebase-capacitor.js +0 -6
- package/esm2015/capacitor/public-api.js +0 -4
- package/esm2015/capacitor/services/analytics-firebase-capacitor.service.js +0 -43
- package/esm2015/capacitor/services/crashlytics-firebase-capacitor.service.js +0 -40
- package/esm2015/capacitor/services/credential-factory-capacitor.service.js +0 -182
- package/esm2015/capacitor/services/index.js +0 -4
- package/esm2015/iap/iap.module.js +0 -32
- package/esm2015/iap/interfaces/index.js +0 -5
- package/esm2015/iap/ngx-firebase-iap.js +0 -5
- package/esm2015/iap/public-api.js +0 -5
- package/esm2015/iap/services/iap.service.js +0 -317
- package/esm2015/iap/tokens/index.js +0 -4
- package/esm2015/ionic/animations/index.js +0 -30
- package/esm2015/ionic/components/avatar/avatar.component.js +0 -98
- package/esm2015/ionic/components/avatar/index.js +0 -2
- package/esm2015/ionic/components/index.js +0 -3
- package/esm2015/ionic/components/popover-menu/index.js +0 -3
- package/esm2015/ionic/components/popover-menu/interface.js +0 -2
- package/esm2015/ionic/components/popover-menu/popover-menu.component.js +0 -34
- package/esm2015/ionic/ionic.module.js +0 -46
- package/esm2015/ionic/ngx-firebase-ionic.js +0 -5
- package/esm2015/ionic/public-api.js +0 -5
- package/esm2015/ionic/services/alerts-ionic.service.js +0 -107
- package/esm2015/ionic/services/index.js +0 -6
- package/esm2015/ionic/services/legality-dialog-ionic.service.js +0 -85
- package/esm2015/ionic/services/loading-ionic.service.js +0 -46
- package/esm2015/ionic/services/picker-ionic.service.js +0 -44
- package/esm2015/ionic/services/toast-ionic.service.js +0 -49
- package/esm2015/ionic-auth-ui/animations/index.js +0 -30
- package/esm2015/ionic-auth-ui/components/email-confirmation/email-confirmation.component.js +0 -99
- package/esm2015/ionic-auth-ui/components/email-field/email-field.component.js +0 -25
- package/esm2015/ionic-auth-ui/components/form-field/form-field.component.js +0 -82
- package/esm2015/ionic-auth-ui/components/index.js +0 -12
- package/esm2015/ionic-auth-ui/components/name-field/name-field.component.js +0 -30
- package/esm2015/ionic-auth-ui/components/or-divider/or-divider.component.js +0 -11
- package/esm2015/ionic-auth-ui/components/password-field/password-field.component.js +0 -138
- package/esm2015/ionic-auth-ui/components/password-field/passwordValidatorFunctions.js +0 -62
- package/esm2015/ionic-auth-ui/components/providers/providers.component.js +0 -70
- package/esm2015/ionic-auth-ui/components/reauthenticate/reauthenticate.component.js +0 -99
- package/esm2015/ionic-auth-ui/components/register/register.component.js +0 -142
- package/esm2015/ionic-auth-ui/components/register-with-email/register-with-email.component.js +0 -60
- package/esm2015/ionic-auth-ui/components/register-with-email-popover/register-with-email-popover.component.js +0 -26
- package/esm2015/ionic-auth-ui/components/signin/signin.component.js +0 -92
- package/esm2015/ionic-auth-ui/components/terms-field/terms-field.component.js +0 -99
- package/esm2015/ionic-auth-ui/components/user/user.component.js +0 -195
- package/esm2015/ionic-auth-ui/ionic-auth-ui.module.js +0 -92
- package/esm2015/ionic-auth-ui/ngx-firebase-ionic-auth-ui.js +0 -23
- package/esm2015/ionic-auth-ui/pages/index.js +0 -5
- package/esm2015/ionic-auth-ui/pages/register/index.js +0 -2
- package/esm2015/ionic-auth-ui/pages/register/register.page.js +0 -56
- package/esm2015/ionic-auth-ui/pages/signin/index.js +0 -2
- package/esm2015/ionic-auth-ui/pages/signin/signin.page.js +0 -78
- package/esm2015/ionic-auth-ui/pages/user/index.js +0 -2
- package/esm2015/ionic-auth-ui/pages/user/user.page.js +0 -11
- package/esm2015/ionic-auth-ui/pages/verifyemail/index.js +0 -2
- package/esm2015/ionic-auth-ui/pages/verifyemail/verifyemail.page.js +0 -85
- package/esm2015/ionic-auth-ui/public-api.js +0 -5
- package/esm2015/ngx-firebase.js +0 -6
- package/esm2015/public-api.js +0 -6
- package/esm2015/shared/guards/index.js +0 -3
- package/esm2015/shared/guards/logged-in.guard.js +0 -60
- package/esm2015/shared/guards/verify-email.guard.js +0 -41
- package/esm2015/shared/interfaces/accounts.enum.js +0 -9
- package/esm2015/shared/interfaces/authprovider.enum.js +0 -15
- package/esm2015/shared/interfaces/config.interface.js +0 -61
- package/esm2015/shared/interfaces/index.js +0 -8
- package/esm2015/shared/interfaces/main.interface.js +0 -7
- package/esm2015/shared/interfaces/providers.interface.js +0 -2
- package/esm2015/shared/interfaces/tokens.js +0 -19
- package/esm2015/shared/interfaces/ui-providers.interface.js +0 -2
- package/esm2015/shared/services/analytics.service.js +0 -24
- package/esm2015/shared/services/auth-process.service.js +0 -752
- package/esm2015/shared/services/crashlytics.service.js +0 -42
- package/esm2015/shared/services/device-info.service.js +0 -14
- package/esm2015/shared/services/firebase.service.js +0 -37
- package/esm2015/shared/services/firestore-sync.service.js +0 -60
- package/esm2015/shared/services/index.js +0 -10
- package/esm2015/shared/services/performance.service.js +0 -28
- package/esm2015/shared/services/remoteconfig.service.js +0 -49
- package/esm2015/shared/services/ui.service.js +0 -45
- package/esm2015/shared/shared.module.js +0 -175
- package/esm2015/shared/types/DisplayWidth.js +0 -9
- package/esm2015/shared/types/Location.js +0 -2
- package/esm2015/shared/types/ValueAccessorControlComponent.js +0 -85
- package/esm2015/shared/types/ValueAccessorValueComponent.js +0 -40
- package/esm2015/shared/types/index.js +0 -5
- package/esm2015/testing/fakeavatar.module.js +0 -22
- package/esm2015/testing/fakes/FakeAuthProcessService.js +0 -31
- package/esm2015/testing/fakes/FakeAvatarComponent.js +0 -13
- package/esm2015/testing/fakes/FakeFireService.js +0 -21
- package/esm2015/testing/fakes/FakeFirestoreSyncService.js +0 -11
- package/esm2015/testing/fakes/FakeIAPurchaseService.js +0 -11
- package/esm2015/testing/fakes/FakePickerService.js +0 -9
- package/esm2015/testing/fakes/FakeRemoteConfigService.js +0 -44
- package/esm2015/testing/fakes/FakeTranslateService.js +0 -21
- package/esm2015/testing/fakes/FakeUiService.js +0 -26
- package/esm2015/testing/fakes/angular-fire/FakeAngularFireAuth.js +0 -30
- package/esm2015/testing/fakes/angular-fire/FakeAngularFireFunctions.js +0 -17
- package/esm2015/testing/fakes/angular-fire/FakeAngularFirePerformance.js +0 -17
- package/esm2015/testing/fakes/angular-fire/FakeAngularFireStorage.js +0 -8
- package/esm2015/testing/fakes/angular-fire/FakeAngularFirestore.js +0 -8
- package/esm2015/testing/fakes/angular-fire/FakeUserCredential.js +0 -18
- package/esm2015/testing/fakes/index.js +0 -19
- package/esm2015/testing/ngx-firebase-testing.js +0 -6
- package/esm2015/testing/public-api.js +0 -5
- package/esm2015/testing/test.module.js +0 -66
- package/esm2015/testing/utils/index.js +0 -17
- package/esm2015/testing/utils/patchConsole.js +0 -14
- package/fesm2015/ngx-firebase-capacitor.js +0 -328
- package/fesm2015/ngx-firebase-capacitor.js.map +0 -1
- package/fesm2015/ngx-firebase-iap.js +0 -354
- package/fesm2015/ngx-firebase-iap.js.map +0 -1
- package/fesm2015/ngx-firebase-ionic-auth-ui.js +0 -1482
- package/fesm2015/ngx-firebase-ionic-auth-ui.js.map +0 -1
- package/fesm2015/ngx-firebase-ionic.js +0 -495
- package/fesm2015/ngx-firebase-ionic.js.map +0 -1
- package/fesm2015/ngx-firebase-testing.js +0 -388
- package/fesm2015/ngx-firebase-testing.js.map +0 -1
- package/fesm2015/ngx-firebase.js +0 -1482
- package/fesm2015/ngx-firebase.js.map +0 -1
- package/iap/iap.module.d.ts +0 -5
- package/iap/interfaces/index.d.ts +0 -11
- package/iap/ngx-firebase-iap.d.ts +0 -4
- package/iap/ngx-firebase-iap.metadata.json +0 -1
- package/iap/package.json +0 -23
- package/iap/public-api.d.ts +0 -4
- package/iap/services/iap.service.d.ts +0 -47
- package/iap/tokens/index.d.ts +0 -3
- package/ionic/animations/index.d.ts +0 -1
- package/ionic/components/avatar/avatar.component.d.ts +0 -27
- package/ionic/components/avatar/index.d.ts +0 -1
- package/ionic/components/index.d.ts +0 -2
- package/ionic/components/popover-menu/index.d.ts +0 -2
- package/ionic/components/popover-menu/interface.d.ts +0 -6
- package/ionic/components/popover-menu/popover-menu.component.d.ts +0 -10
- package/ionic/ionic.module.d.ts +0 -2
- package/ionic/ngx-firebase-ionic.d.ts +0 -4
- package/ionic/ngx-firebase-ionic.metadata.json +0 -1
- package/ionic/package.json +0 -30
- package/ionic/public-api.d.ts +0 -4
- package/ionic/services/alerts-ionic.service.d.ts +0 -13
- package/ionic/services/index.d.ts +0 -5
- package/ionic/services/legality-dialog-ionic.service.d.ts +0 -10
- package/ionic/services/loading-ionic.service.d.ts +0 -17
- package/ionic/services/picker-ionic.service.d.ts +0 -9
- package/ionic/services/toast-ionic.service.d.ts +0 -11
- package/ionic-auth-ui/animations/index.d.ts +0 -1
- package/ionic-auth-ui/components/email-confirmation/email-confirmation.component.d.ts +0 -31
- package/ionic-auth-ui/components/email-field/email-field.component.d.ts +0 -7
- package/ionic-auth-ui/components/form-field/form-field.component.d.ts +0 -28
- package/ionic-auth-ui/components/index.d.ts +0 -11
- package/ionic-auth-ui/components/name-field/name-field.component.d.ts +0 -8
- package/ionic-auth-ui/components/or-divider/or-divider.component.d.ts +0 -2
- package/ionic-auth-ui/components/password-field/password-field.component.d.ts +0 -34
- package/ionic-auth-ui/components/password-field/passwordValidatorFunctions.d.ts +0 -4
- package/ionic-auth-ui/components/providers/providers.component.d.ts +0 -26
- package/ionic-auth-ui/components/reauthenticate/reauthenticate.component.d.ts +0 -30
- package/ionic-auth-ui/components/register/register.component.d.ts +0 -26
- package/ionic-auth-ui/components/register-with-email/register-with-email.component.d.ts +0 -24
- package/ionic-auth-ui/components/register-with-email-popover/register-with-email-popover.component.d.ts +0 -7
- package/ionic-auth-ui/components/signin/signin.component.d.ts +0 -28
- package/ionic-auth-ui/components/terms-field/terms-field.component.d.ts +0 -27
- package/ionic-auth-ui/components/user/user.component.d.ts +0 -45
- package/ionic-auth-ui/ionic-auth-ui.module.d.ts +0 -32
- package/ionic-auth-ui/ngx-firebase-ionic-auth-ui.d.ts +0 -22
- package/ionic-auth-ui/ngx-firebase-ionic-auth-ui.metadata.json +0 -1
- package/ionic-auth-ui/package.json +0 -30
- package/ionic-auth-ui/pages/index.d.ts +0 -4
- package/ionic-auth-ui/pages/register/index.d.ts +0 -1
- package/ionic-auth-ui/pages/register/register.page.d.ts +0 -16
- package/ionic-auth-ui/pages/signin/index.d.ts +0 -1
- package/ionic-auth-ui/pages/signin/signin.page.d.ts +0 -22
- package/ionic-auth-ui/pages/user/index.d.ts +0 -1
- package/ionic-auth-ui/pages/user/user.page.d.ts +0 -3
- package/ionic-auth-ui/pages/verifyemail/index.d.ts +0 -1
- package/ionic-auth-ui/pages/verifyemail/verifyemail.page.d.ts +0 -19
- package/ionic-auth-ui/public-api.d.ts +0 -4
- package/ngx-firebase.d.ts +0 -5
- package/ngx-firebase.metadata.json +0 -1
- package/public-api.d.ts +0 -5
- package/shared/guards/index.d.ts +0 -2
- package/shared/guards/logged-in.guard.d.ts +0 -13
- package/shared/guards/verify-email.guard.d.ts +0 -11
- package/shared/interfaces/accounts.enum.d.ts +0 -7
- package/shared/interfaces/authprovider.enum.d.ts +0 -13
- package/shared/interfaces/config.interface.d.ts +0 -63
- package/shared/interfaces/index.d.ts +0 -7
- package/shared/interfaces/main.interface.d.ts +0 -13
- package/shared/interfaces/providers.interface.d.ts +0 -63
- package/shared/interfaces/tokens.d.ts +0 -16
- package/shared/interfaces/ui-providers.interface.d.ts +0 -65
- package/shared/services/analytics.service.d.ts +0 -10
- package/shared/services/auth-process.service.d.ts +0 -172
- package/shared/services/crashlytics.service.d.ts +0 -11
- package/shared/services/device-info.service.d.ts +0 -3
- package/shared/services/firebase.service.d.ts +0 -16
- package/shared/services/firestore-sync.service.d.ts +0 -16
- package/shared/services/index.d.ts +0 -9
- package/shared/services/performance.service.d.ts +0 -12
- package/shared/services/remoteconfig.service.d.ts +0 -18
- package/shared/services/ui.service.d.ts +0 -22
- package/shared/shared.module.d.ts +0 -14
- package/shared/types/DisplayWidth.d.ts +0 -7
- package/shared/types/Location.d.ts +0 -8
- package/shared/types/ValueAccessorControlComponent.d.ts +0 -27
- package/shared/types/ValueAccessorValueComponent.d.ts +0 -19
- package/shared/types/index.d.ts +0 -4
- package/testing/fakeavatar.module.d.ts +0 -2
- package/testing/fakes/FakeAuthProcessService.d.ts +0 -28
- package/testing/fakes/FakeAvatarComponent.d.ts +0 -3
- package/testing/fakes/FakeFireService.d.ts +0 -20
- package/testing/fakes/FakeFirestoreSyncService.d.ts +0 -9
- package/testing/fakes/FakeIAPurchaseService.d.ts +0 -9
- package/testing/fakes/FakePickerService.d.ts +0 -6
- package/testing/fakes/FakeRemoteConfigService.d.ts +0 -19
- package/testing/fakes/FakeTranslateService.d.ts +0 -15
- package/testing/fakes/FakeUiService.d.ts +0 -25
- package/testing/fakes/angular-fire/FakeAngularFireAuth.d.ts +0 -52
- package/testing/fakes/angular-fire/FakeAngularFireFunctions.d.ts +0 -11
- package/testing/fakes/angular-fire/FakeAngularFirePerformance.d.ts +0 -10
- package/testing/fakes/angular-fire/FakeAngularFireStorage.d.ts +0 -5
- package/testing/fakes/angular-fire/FakeAngularFirestore.d.ts +0 -5
- package/testing/fakes/angular-fire/FakeUserCredential.d.ts +0 -9
- package/testing/fakes/index.d.ts +0 -16
- package/testing/ngx-firebase-testing.d.ts +0 -5
- package/testing/ngx-firebase-testing.metadata.json +0 -1
- package/testing/package.json +0 -29
- package/testing/public-api.d.ts +0 -4
- package/testing/test.module.d.ts +0 -4
- package/testing/utils/index.d.ts +0 -5
- package/testing/utils/patchConsole.d.ts +0 -4
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ToastController } from '@ionic/angular';
|
|
2
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
-
import { IToastOptions, IToastUIProvider } from 'ngx-firebase';
|
|
4
|
-
export declare class MalIonicToastService implements IToastUIProvider {
|
|
5
|
-
private toastControl;
|
|
6
|
-
private translateService;
|
|
7
|
-
constructor(toastControl: ToastController, translateService: TranslateService);
|
|
8
|
-
createToast(message: string, options?: IToastOptions): Promise<HTMLIonToastElement>;
|
|
9
|
-
toast(message: string, options?: IToastOptions): Promise<void>;
|
|
10
|
-
errorToast(error: Error, messagePrefix?: string, options?: IToastOptions): Promise<void>;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const NgxAuthFirebaseuiAnimations: import("@angular/animations").AnimationTriggerMetadata[];
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
-
import { NavController } from '@ionic/angular';
|
|
3
|
-
import { AuthProcessService, FirebaseService, MalSharedConfig, UiService } from 'ngx-firebase';
|
|
4
|
-
interface VerifyEmailContext {
|
|
5
|
-
email: string;
|
|
6
|
-
goBackURL: string;
|
|
7
|
-
}
|
|
8
|
-
export declare class EmailConfirmationComponent implements OnInit, OnChanges {
|
|
9
|
-
private aps;
|
|
10
|
-
private changeDetectorRef;
|
|
11
|
-
private navController;
|
|
12
|
-
private fire;
|
|
13
|
-
private ui;
|
|
14
|
-
config: MalSharedConfig;
|
|
15
|
-
email?: string;
|
|
16
|
-
goBackURL?: string;
|
|
17
|
-
template?: TemplateRef<any>;
|
|
18
|
-
signOut: EventEmitter<any>;
|
|
19
|
-
verifyEmailTemplate?: TemplateRef<any>;
|
|
20
|
-
verifyEmailContext: VerifyEmailContext;
|
|
21
|
-
isLoading: boolean;
|
|
22
|
-
defaultTemplate?: TemplateRef<any>;
|
|
23
|
-
constructor(aps: AuthProcessService, changeDetectorRef: ChangeDetectorRef, navController: NavController, fire: FirebaseService, ui: UiService, config: MalSharedConfig);
|
|
24
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
-
ngOnInit(): void;
|
|
26
|
-
continue(): Promise<void>;
|
|
27
|
-
sendNewVerificationEmail(): Promise<void>;
|
|
28
|
-
private createTemplateContext;
|
|
29
|
-
private notifyError;
|
|
30
|
-
}
|
|
31
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Injector } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import { ValueAccessorControlComponent } from 'ngx-firebase';
|
|
4
|
-
export declare class AuthUIEmailFieldComponent extends ValueAccessorControlComponent<string> {
|
|
5
|
-
control: FormControl;
|
|
6
|
-
constructor(injector: Injector, cdRef: ChangeDetectorRef);
|
|
7
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { FormControl, NgControl, ValidationErrors } from '@angular/forms';
|
|
2
|
-
import { UiService } from 'ngx-firebase';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
declare type ControlType = NgControl | FormControl | undefined | null;
|
|
5
|
-
export declare class AuthUIFormFieldComponent {
|
|
6
|
-
private ui;
|
|
7
|
-
label: string;
|
|
8
|
-
get control(): ControlType;
|
|
9
|
-
set control(val: ControlType);
|
|
10
|
-
private control$;
|
|
11
|
-
errors$: Observable<string[]>;
|
|
12
|
-
readonly isValid$: Observable<boolean>;
|
|
13
|
-
readonly isDisabled$: Observable<boolean>;
|
|
14
|
-
errorMessage?: string;
|
|
15
|
-
errorMessageFn: (errors: ValidationErrors | null) => string[];
|
|
16
|
-
errorPrefix?: string;
|
|
17
|
-
customErrors?: {
|
|
18
|
-
[index: string]: string;
|
|
19
|
-
};
|
|
20
|
-
translateParams: {
|
|
21
|
-
[key: string]: string;
|
|
22
|
-
};
|
|
23
|
-
icon?: string;
|
|
24
|
-
hintEnd?: string;
|
|
25
|
-
constructor(ui: UiService);
|
|
26
|
-
private flattenErrors;
|
|
27
|
-
}
|
|
28
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from './email-confirmation/email-confirmation.component';
|
|
2
|
-
export * from './signin/signin.component';
|
|
3
|
-
export * from './register/register.component';
|
|
4
|
-
export * from './user/user.component';
|
|
5
|
-
export * from './reauthenticate/reauthenticate.component';
|
|
6
|
-
export * from './providers/providers.component';
|
|
7
|
-
export * from './email-field/email-field.component';
|
|
8
|
-
export * from './form-field/form-field.component';
|
|
9
|
-
export * from './name-field/name-field.component';
|
|
10
|
-
export * from './or-divider/or-divider.component';
|
|
11
|
-
export * from './password-field/password-field.component';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, Injector, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, FormControl, Validator } from '@angular/forms';
|
|
3
|
-
import { MalSharedConfig, ValueAccessorControlComponent } from 'ngx-firebase';
|
|
4
|
-
export declare class AuthUINameFieldComponent extends ValueAccessorControlComponent<string> implements ControlValueAccessor, Validator, OnDestroy, AfterViewInit {
|
|
5
|
-
config: MalSharedConfig;
|
|
6
|
-
control: FormControl;
|
|
7
|
-
constructor(config: MalSharedConfig, injector: Injector, cdRef: ChangeDetectorRef);
|
|
8
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, Injector, OnDestroy } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor, FormGroup, Validator, ValidationErrors, NgControl } from '@angular/forms';
|
|
3
|
-
import { UiService, MalSharedConfig } from 'ngx-firebase';
|
|
4
|
-
declare type ValueType = string | undefined;
|
|
5
|
-
export declare class AuthUIPasswordFieldComponent implements ControlValueAccessor, Validator, OnDestroy, AfterViewInit {
|
|
6
|
-
config: MalSharedConfig;
|
|
7
|
-
private injector;
|
|
8
|
-
private cdRef;
|
|
9
|
-
private ui;
|
|
10
|
-
form: FormGroup;
|
|
11
|
-
autocomplete: string;
|
|
12
|
-
set forUpdate(val: boolean);
|
|
13
|
-
get forUpdate(): boolean;
|
|
14
|
-
private _forUpdate;
|
|
15
|
-
set value(val: ValueType);
|
|
16
|
-
get value(): ValueType;
|
|
17
|
-
isDisabled: boolean;
|
|
18
|
-
parentControl?: NgControl | null;
|
|
19
|
-
private destroy$;
|
|
20
|
-
propogateChange: (val: ValueType) => void;
|
|
21
|
-
propogateTouch: () => void;
|
|
22
|
-
propogateValidationChange: () => void;
|
|
23
|
-
constructor(config: MalSharedConfig, injector: Injector, cdRef: ChangeDetectorRef, ui: UiService);
|
|
24
|
-
ngOnDestroy(): void;
|
|
25
|
-
ngAfterViewInit(): void;
|
|
26
|
-
registerOnChange(fn: any): void;
|
|
27
|
-
registerOnTouched(fn: any): void;
|
|
28
|
-
registerOnValidatorChange?(fn: () => void): void;
|
|
29
|
-
writeValue(val: ValueType): void;
|
|
30
|
-
setDisabledState(isDisabled: boolean): void;
|
|
31
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
32
|
-
private setValidators;
|
|
33
|
-
}
|
|
34
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
|
|
2
|
-
import { MalAuthUIConfig } from 'ngx-firebase';
|
|
3
|
-
export declare function passwordStrengthValidator(config: MalAuthUIConfig): ValidatorFn;
|
|
4
|
-
export declare function confirmPasswordValidator(control: AbstractControl): ValidationErrors | null;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { AuthProcessService, AuthProvider, MalSharedConfig, UiService } from 'ngx-firebase';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
export declare enum Layout {
|
|
5
|
-
ROW = "row",
|
|
6
|
-
COLUMN = "column"
|
|
7
|
-
}
|
|
8
|
-
export interface DisplayProvider {
|
|
9
|
-
name: AuthProvider;
|
|
10
|
-
icon?: string;
|
|
11
|
-
label: string;
|
|
12
|
-
}
|
|
13
|
-
declare type ProviderType = AuthProvider[] | AuthProvider;
|
|
14
|
-
export declare class AuthProvidersComponent {
|
|
15
|
-
aps: AuthProcessService;
|
|
16
|
-
ui: UiService;
|
|
17
|
-
config: MalSharedConfig;
|
|
18
|
-
layout: string;
|
|
19
|
-
get providers(): ProviderType | AuthProvider.ALL;
|
|
20
|
-
set providers(val: ProviderType | AuthProvider.ALL);
|
|
21
|
-
private providers$;
|
|
22
|
-
providerClick: EventEmitter<AuthProvider>;
|
|
23
|
-
readonly displayProviders$: Observable<DisplayProvider[]>;
|
|
24
|
-
constructor(aps: AuthProcessService, ui: UiService, config: MalSharedConfig);
|
|
25
|
-
}
|
|
26
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { PopoverController } from '@ionic/angular';
|
|
4
|
-
import { AuthProcessService, AuthProvider, UiService } from 'ngx-firebase';
|
|
5
|
-
export declare class AuthUIReauthenticateComponent implements AfterViewInit {
|
|
6
|
-
aps: AuthProcessService;
|
|
7
|
-
private ui;
|
|
8
|
-
private changeDetectorRef;
|
|
9
|
-
private popoverController;
|
|
10
|
-
logoUrl?: string;
|
|
11
|
-
providers: string[] | string;
|
|
12
|
-
registrationEnabled: boolean;
|
|
13
|
-
resetPasswordEnabled: boolean;
|
|
14
|
-
tosUrl: string;
|
|
15
|
-
privacyPolicyUrl: string;
|
|
16
|
-
onSuccess: any;
|
|
17
|
-
onError: any;
|
|
18
|
-
onCreateAccountRequested: EventEmitter<void>;
|
|
19
|
-
onResetPasswordRequested: EventEmitter<void>;
|
|
20
|
-
readonly providers$: import("rxjs").Observable<AuthProvider[]>;
|
|
21
|
-
readonly showPasswordProvider$: import("rxjs").Observable<boolean>;
|
|
22
|
-
readonly showDivider$: import("rxjs").Observable<boolean>;
|
|
23
|
-
message: string;
|
|
24
|
-
readonly reauthForm: FormGroup;
|
|
25
|
-
constructor(aps: AuthProcessService, ui: UiService, changeDetectorRef: ChangeDetectorRef, popoverController: PopoverController);
|
|
26
|
-
ngAfterViewInit(): void;
|
|
27
|
-
dismiss(): Promise<void>;
|
|
28
|
-
doReauthenticateWithPassword(): Promise<void>;
|
|
29
|
-
doProviderClick(provider: AuthProvider): void;
|
|
30
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { AuthProcessService, AuthProvider, UiService, MalSharedConfig } from 'ngx-firebase';
|
|
4
|
-
import { CreateAccountFormData } from '../register-with-email/register-with-email.component';
|
|
5
|
-
import { PopoverController } from '@ionic/angular';
|
|
6
|
-
export declare class AuthUIRegisterComponent implements OnDestroy, AfterViewInit {
|
|
7
|
-
config: MalSharedConfig;
|
|
8
|
-
aps: AuthProcessService;
|
|
9
|
-
private ui;
|
|
10
|
-
private popover;
|
|
11
|
-
private changeDetectorRef;
|
|
12
|
-
showEmail: 'inline' | 'popover' | 'none';
|
|
13
|
-
providers: string[] | string;
|
|
14
|
-
onSuccess: EventEmitter<any>;
|
|
15
|
-
onError: EventEmitter<any>;
|
|
16
|
-
onLoginRequested: EventEmitter<void>;
|
|
17
|
-
guestEnabled$: Observable<boolean>;
|
|
18
|
-
private destroy$;
|
|
19
|
-
constructor(config: MalSharedConfig, aps: AuthProcessService, ui: UiService, popover: PopoverController, changeDetectorRef: ChangeDetectorRef);
|
|
20
|
-
ngAfterViewInit(): void;
|
|
21
|
-
ngOnDestroy(): void;
|
|
22
|
-
doCreateAccount(data: CreateAccountFormData): Promise<void>;
|
|
23
|
-
doRegisterAnonymously(): Promise<void>;
|
|
24
|
-
doRegisterWithEmailPopover(): Promise<void>;
|
|
25
|
-
doProviderClick(provider: AuthProvider): void;
|
|
26
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { AuthProcessService, UiService, MalSharedConfig } from 'ngx-firebase';
|
|
5
|
-
export interface CreateAccountFormData {
|
|
6
|
-
name: string;
|
|
7
|
-
email: string;
|
|
8
|
-
password: string;
|
|
9
|
-
terms: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare class AuthUIRegisterWithEmailComponent implements OnDestroy, AfterViewInit {
|
|
12
|
-
config: MalSharedConfig;
|
|
13
|
-
aps: AuthProcessService;
|
|
14
|
-
private ui;
|
|
15
|
-
private changeDetectorRef;
|
|
16
|
-
createAccountClick: EventEmitter<CreateAccountFormData>;
|
|
17
|
-
registerForm: FormGroup;
|
|
18
|
-
guestEnabled$: Observable<boolean>;
|
|
19
|
-
private destroy$;
|
|
20
|
-
constructor(config: MalSharedConfig, aps: AuthProcessService, ui: UiService, changeDetectorRef: ChangeDetectorRef);
|
|
21
|
-
ngAfterViewInit(): void;
|
|
22
|
-
ngOnDestroy(): void;
|
|
23
|
-
doCreateAccount(): Promise<void>;
|
|
24
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PopoverController } from '@ionic/angular';
|
|
2
|
-
import { CreateAccountFormData } from '../register-with-email/register-with-email.component';
|
|
3
|
-
export declare class AuthUIRegisterWithEmailPopoverComponent {
|
|
4
|
-
private popoverController;
|
|
5
|
-
constructor(popoverController: PopoverController);
|
|
6
|
-
doCreateAccountClick(data: CreateAccountFormData): void;
|
|
7
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { AuthProcessService, AuthProvider, MalSharedConfig } from 'ngx-firebase';
|
|
4
|
-
import { MalIonicAlertsService } from 'ngx-firebase/ionic';
|
|
5
|
-
import { Subscription } from 'rxjs';
|
|
6
|
-
export declare class AuthUISignInComponent implements AfterViewInit {
|
|
7
|
-
aps: AuthProcessService;
|
|
8
|
-
private alert;
|
|
9
|
-
private changeDetectorRef;
|
|
10
|
-
config: MalSharedConfig;
|
|
11
|
-
providers: string[] | string;
|
|
12
|
-
registrationEnabled: boolean;
|
|
13
|
-
resetPasswordEnabled: boolean;
|
|
14
|
-
tosUrl: string;
|
|
15
|
-
privacyPolicyUrl: string;
|
|
16
|
-
onSuccess: any;
|
|
17
|
-
onError?: any;
|
|
18
|
-
onCreateAccountRequested: EventEmitter<void>;
|
|
19
|
-
onResetPasswordRequested: EventEmitter<void>;
|
|
20
|
-
signInForm: FormGroup;
|
|
21
|
-
authProviders: typeof AuthProvider;
|
|
22
|
-
onErrorSubscription?: Subscription;
|
|
23
|
-
constructor(aps: AuthProcessService, alert: MalIonicAlertsService, changeDetectorRef: ChangeDetectorRef, config: MalSharedConfig);
|
|
24
|
-
signIn(): Promise<void>;
|
|
25
|
-
providerClick(provider: AuthProvider): void;
|
|
26
|
-
ngAfterViewInit(): void;
|
|
27
|
-
doPasswordReset(): Promise<void>;
|
|
28
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor, FormGroup, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
-
import { AuthProcessService, UiService, MalSharedConfig } from 'ngx-firebase';
|
|
4
|
-
declare type ValueType = boolean | undefined;
|
|
5
|
-
export declare class AuthUITermsFieldComponent implements OnInit, OnDestroy, ControlValueAccessor, Validator {
|
|
6
|
-
config: MalSharedConfig;
|
|
7
|
-
aps: AuthProcessService;
|
|
8
|
-
private ui;
|
|
9
|
-
termsForm: FormGroup;
|
|
10
|
-
tosUrl: string;
|
|
11
|
-
privacyPolicyUrl: string;
|
|
12
|
-
private destroy$;
|
|
13
|
-
set value(val: ValueType);
|
|
14
|
-
get value(): ValueType;
|
|
15
|
-
propogateChange: (val: ValueType) => void;
|
|
16
|
-
propogateTouch: () => void;
|
|
17
|
-
propogateValidationChange: () => void;
|
|
18
|
-
constructor(config: MalSharedConfig, aps: AuthProcessService, ui: UiService);
|
|
19
|
-
registerOnChange(fn: any): void;
|
|
20
|
-
registerOnTouched(fn: any): void;
|
|
21
|
-
registerOnValidatorChange?(fn: () => void): void;
|
|
22
|
-
writeValue(val: ValueType): void;
|
|
23
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
}
|
|
27
|
-
export {};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { AuthProcessService, MalSharedConfig, FirebaseService, UiService } from 'ngx-firebase';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { NavController, PopoverController } from '@ionic/angular';
|
|
6
|
-
import { UserInfo, User } from '@firebase/auth-types';
|
|
7
|
-
export declare class AuthUIUserComponent implements OnInit, OnDestroy {
|
|
8
|
-
aps: AuthProcessService;
|
|
9
|
-
private ui;
|
|
10
|
-
private navController;
|
|
11
|
-
config: MalSharedConfig;
|
|
12
|
-
private popoverController;
|
|
13
|
-
private fire;
|
|
14
|
-
get editMode(): boolean;
|
|
15
|
-
set editMode(val: boolean);
|
|
16
|
-
get editMode$(): Observable<boolean>;
|
|
17
|
-
private _editMode$;
|
|
18
|
-
canEditAccount: boolean;
|
|
19
|
-
canLogout: boolean;
|
|
20
|
-
canDeleteAccount: boolean;
|
|
21
|
-
onSignOut: EventEmitter<void>;
|
|
22
|
-
onAccountEdited: EventEmitter<UserInfo>;
|
|
23
|
-
onAccountDeleted: EventEmitter<void>;
|
|
24
|
-
private destroy$;
|
|
25
|
-
userPhotoUrl$: Observable<string | null>;
|
|
26
|
-
user$: Observable<User | null>;
|
|
27
|
-
readonly updateFormGroup: FormGroup;
|
|
28
|
-
constructor(aps: AuthProcessService, ui: UiService, navController: NavController, config: MalSharedConfig, popoverController: PopoverController, fire: FirebaseService);
|
|
29
|
-
ngOnInit(): void;
|
|
30
|
-
ngOnDestroy(): void;
|
|
31
|
-
changeEditMode(): void;
|
|
32
|
-
dismiss(): Promise<void>;
|
|
33
|
-
save(): Promise<void>;
|
|
34
|
-
signOut(): Promise<void>;
|
|
35
|
-
/**
|
|
36
|
-
* Delete the account of the current firebase ngx-auth-firebaseui-user
|
|
37
|
-
*
|
|
38
|
-
* On Success, emit the <onAccountDeleted> event and toast a msg!#
|
|
39
|
-
* Otherwise, log the and toast and error msg!
|
|
40
|
-
*
|
|
41
|
-
* If the operation fails due to not having current enough signIn, redrect to reSignInUrl, providing forOperation=deleteUser
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
deleteAccount(): Promise<void>;
|
|
45
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { AuthSignInPage } from './pages/signin';
|
|
2
|
-
import { AuthRegisterPage } from './pages/register';
|
|
3
|
-
import { AuthUserPage } from './pages/user';
|
|
4
|
-
import { AuthVerifyEmailPage } from './pages/verifyemail';
|
|
5
|
-
export declare const IONIC_AUTH_UI_ROUTER_CONFIG: ({
|
|
6
|
-
path: string;
|
|
7
|
-
component: typeof AuthSignInPage;
|
|
8
|
-
pathMatch?: undefined;
|
|
9
|
-
redirectTo?: undefined;
|
|
10
|
-
} | {
|
|
11
|
-
path: string;
|
|
12
|
-
component: typeof AuthRegisterPage;
|
|
13
|
-
pathMatch?: undefined;
|
|
14
|
-
redirectTo?: undefined;
|
|
15
|
-
} | {
|
|
16
|
-
path: string;
|
|
17
|
-
component: typeof AuthUserPage;
|
|
18
|
-
pathMatch?: undefined;
|
|
19
|
-
redirectTo?: undefined;
|
|
20
|
-
} | {
|
|
21
|
-
path: string;
|
|
22
|
-
component: typeof AuthVerifyEmailPage;
|
|
23
|
-
pathMatch?: undefined;
|
|
24
|
-
redirectTo?: undefined;
|
|
25
|
-
} | {
|
|
26
|
-
path: string;
|
|
27
|
-
pathMatch: string;
|
|
28
|
-
redirectTo: string;
|
|
29
|
-
component?: undefined;
|
|
30
|
-
})[];
|
|
31
|
-
export declare class MalIonicAuthUiModule {
|
|
32
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
export { EmailConfirmationComponent as ɵf } from './components/email-confirmation/email-confirmation.component';
|
|
6
|
-
export { AuthUIEmailFieldComponent as ɵk } from './components/email-field/email-field.component';
|
|
7
|
-
export { AuthUIFormFieldComponent as ɵm } from './components/form-field/form-field.component';
|
|
8
|
-
export { AuthUINameFieldComponent as ɵl } from './components/name-field/name-field.component';
|
|
9
|
-
export { AuthUIOrDividerComponent as ɵq } from './components/or-divider/or-divider.component';
|
|
10
|
-
export { AuthUIPasswordFieldComponent as ɵj } from './components/password-field/password-field.component';
|
|
11
|
-
export { AuthProvidersComponent as ɵr } from './components/providers/providers.component';
|
|
12
|
-
export { AuthUIReauthenticateComponent as ɵi } from './components/reauthenticate/reauthenticate.component';
|
|
13
|
-
export { AuthUIRegisterWithEmailPopoverComponent as ɵp } from './components/register-with-email-popover/register-with-email-popover.component';
|
|
14
|
-
export { AuthUIRegisterWithEmailComponent as ɵo } from './components/register-with-email/register-with-email.component';
|
|
15
|
-
export { AuthUIRegisterComponent as ɵh } from './components/register/register.component';
|
|
16
|
-
export { AuthUISignInComponent as ɵg } from './components/signin/signin.component';
|
|
17
|
-
export { AuthUITermsFieldComponent as ɵn } from './components/terms-field/terms-field.component';
|
|
18
|
-
export { AuthUIUserComponent as ɵe } from './components/user/user.component';
|
|
19
|
-
export { AuthRegisterPage as ɵb } from './pages/register';
|
|
20
|
-
export { AuthSignInPage as ɵa } from './pages/signin';
|
|
21
|
-
export { AuthUserPage as ɵc } from './pages/user';
|
|
22
|
-
export { AuthVerifyEmailPage as ɵd } from './pages/verifyemail';
|