@dereekb/dbx-firebase 9.25.16 → 10.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/_index.scss +1 -0
- package/{esm2020 → esm2022}/lib/analytics/analytics.user.events.mjs +4 -4
- package/{esm2020 → esm2022}/lib/analytics/analytics.user.source.mjs +4 -4
- package/{esm2020 → esm2022}/lib/auth/appcheck/appcheck.interceptor.mjs +4 -4
- package/{esm2020 → esm2022}/lib/auth/firebase.auth.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/auth/login/firebase.login.module.mjs +45 -45
- package/esm2022/lib/auth/login/login.anonymous.component.mjs +23 -0
- package/esm2022/lib/auth/login/login.apple.component.mjs +23 -0
- package/{esm2020 → esm2022}/lib/auth/login/login.button.component.mjs +14 -14
- package/{esm2020 → esm2022}/lib/auth/login/login.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/auth/login/login.context.back.component.mjs +6 -6
- package/esm2022/lib/auth/login/login.context.directive.mjs +29 -0
- package/esm2022/lib/auth/login/login.email.component.mjs +24 -0
- package/{esm2020 → esm2022}/lib/auth/login/login.email.content.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/auth/login/login.email.form.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/auth/login/login.email.recovery.form.component.mjs +6 -6
- package/esm2022/lib/auth/login/login.facebook.component.mjs +23 -0
- package/esm2022/lib/auth/login/login.github.component.mjs +23 -0
- package/esm2022/lib/auth/login/login.google.component.mjs +23 -0
- package/{esm2020 → esm2022}/lib/auth/login/login.list.component.mjs +6 -6
- package/esm2022/lib/auth/login/login.microsoft.component.mjs +23 -0
- package/{esm2020 → esm2022}/lib/auth/login/login.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/auth/login/login.terms.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/auth/login/login.terms.simple.component.mjs +6 -6
- package/esm2022/lib/auth/login/login.twitter.component.mjs +23 -0
- package/{esm2020 → esm2022}/lib/auth/login/register.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/auth/login/register.email.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/auth/service/firebase.auth.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/development/development.module.mjs +22 -22
- package/{esm2020 → esm2022}/lib/development/development.popup.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/development/development.popup.content.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/development/development.popup.content.form.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/development/development.popup.directive.mjs +4 -4
- package/esm2022/lib/development/development.scheduler.list.component.mjs +80 -0
- package/{esm2020 → esm2022}/lib/development/development.scheduler.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/development/development.scheduler.widget.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/development/development.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/development/development.widget.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/firebase/firebase.emulator.module.mjs +5 -5
- package/esm2022/lib/firebase/firebase.emulator.service.mjs +35 -0
- package/esm2022/lib/firebase/firebase.module.mjs +293 -0
- package/{esm2020 → esm2022}/lib/firestore/firebase.firestore.context.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/firestore/firebase.firestore.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/function/firebase.function.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/model/model.module.mjs +5 -5
- package/esm2022/lib/model/modules/model/model.history.component.mjs +48 -0
- package/{esm2020 → esm2022}/lib/model/modules/model/model.history.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/model/modules/model/model.history.popover.button.component.mjs +6 -6
- package/esm2022/lib/model/modules/model/model.history.popover.component.mjs +50 -0
- package/esm2022/lib/model/modules/model/model.tracker.service.mjs +62 -0
- package/esm2022/lib/model/modules/model/model.types.list.component.mjs +64 -0
- package/{esm2020 → esm2022}/lib/model/modules/model/model.types.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/model/modules/model/model.types.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/model/modules/model/model.types.view.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/model/modules/store/model.store.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/model/modules/store/store.collection.change.directive.mjs +7 -7
- package/{esm2020 → esm2022}/lib/model/modules/store/store.collection.change.if.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/model/modules/store/store.collection.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/model/modules/store/store.collection.list.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/model/modules/store/store.collection.mjs +4 -4
- package/{esm2020 → esm2022}/lib/model/modules/store/store.document.auth.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/model/modules/store/store.document.crud.mjs +1 -1
- package/{esm2020 → esm2022}/lib/model/modules/store/store.document.directive.mjs +4 -4
- package/esm2022/lib/model/modules/store/store.document.mjs +167 -0
- package/{esm2020 → esm2022}/lib/model/modules/store/store.document.router.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/model/modules/store/store.document.router.key.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/model/modules/store/store.subcollection.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/model/modules/store/store.subcollection.document.mjs +4 -4
- package/{esm2020 → esm2022}/lib/model/modules/store/store.subcollection.mjs +4 -4
- package/esm2022/lib/model/service/model.context.service.mjs +38 -0
- package/{esm2020 → esm2022}/lib/model/system/systemstate.collection.store.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/model/system/systemstate.collection.store.mjs +4 -4
- package/{esm2020 → esm2022}/lib/model/system/systemstate.document.store.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/model/system/systemstate.document.store.mjs +4 -4
- package/{esm2020 → esm2022}/lib/module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/pipe/key.pipe.mjs +7 -7
- package/{esm2020 → esm2022}/lib/pipe/pipe.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/storage/firebase.storage.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/storage/firebase.storage.service.mjs +4 -4
- package/{fesm2020 → fesm2022}/dereekb-dbx-firebase.mjs +500 -490
- package/fesm2022/dereekb-dbx-firebase.mjs.map +1 -0
- package/lib/analytics/analytics.user.source.d.ts +1 -1
- package/lib/auth/auth.d.ts +1 -1
- package/lib/auth/login/_login.scss +6 -2
- package/lib/auth/login/login.anonymous.component.d.ts +1 -1
- package/lib/auth/login/login.apple.component.d.ts +1 -1
- package/lib/auth/login/login.button.component.d.ts +4 -4
- package/lib/auth/login/login.component.d.ts +1 -1
- package/lib/auth/login/login.context.back.component.d.ts +1 -1
- package/lib/auth/login/login.context.directive.d.ts +1 -1
- package/lib/auth/login/login.d.ts +5 -5
- package/lib/auth/login/login.email.component.d.ts +1 -1
- package/lib/auth/login/login.email.content.component.d.ts +2 -2
- package/lib/auth/login/login.email.form.component.d.ts +2 -2
- package/lib/auth/login/login.email.recovery.form.component.d.ts +1 -1
- package/lib/auth/login/login.facebook.component.d.ts +1 -1
- package/lib/auth/login/login.github.component.d.ts +1 -1
- package/lib/auth/login/login.google.component.d.ts +1 -1
- package/lib/auth/login/login.list.component.d.ts +1 -1
- package/lib/auth/login/login.microsoft.component.d.ts +1 -1
- package/lib/auth/login/login.password.d.ts +1 -1
- package/lib/auth/login/login.service.d.ts +1 -1
- package/lib/auth/login/login.terms.component.d.ts +1 -1
- package/lib/auth/login/login.terms.simple.component.d.ts +1 -1
- package/lib/auth/login/login.twitter.component.d.ts +1 -1
- package/lib/auth/login/register.component.d.ts +1 -1
- package/lib/auth/login/register.email.component.d.ts +1 -1
- package/lib/auth/service/firebase.auth.rxjs.d.ts +1 -1
- package/lib/auth/service/firebase.auth.service.d.ts +1 -1
- package/lib/auth/service/firebase.auth.service.delegate.d.ts +1 -1
- package/lib/development/development.popup.component.d.ts +1 -1
- package/lib/development/development.popup.content.component.d.ts +1 -1
- package/lib/development/development.popup.content.form.component.d.ts +1 -1
- package/lib/development/development.popup.directive.d.ts +1 -1
- package/lib/development/development.scheduler.list.component.d.ts +4 -4
- package/lib/development/development.scheduler.widget.component.d.ts +3 -3
- package/lib/model/loader/collection.change.trigger.d.ts +1 -1
- package/lib/model/loader/collection.change.watcher.d.ts +2 -2
- package/lib/model/loader/collection.loader.instance.d.ts +1 -1
- package/lib/model/modules/model/model.history.component.d.ts +1 -1
- package/lib/model/modules/model/model.history.popover.button.component.d.ts +2 -2
- package/lib/model/modules/model/model.history.popover.component.d.ts +1 -1
- package/lib/model/modules/model/model.types.list.component.d.ts +4 -4
- package/lib/model/modules/model/model.types.service.d.ts +3 -3
- package/lib/model/modules/model/model.types.view.directive.d.ts +1 -1
- package/lib/model/modules/store/store.collection.change.directive.d.ts +1 -1
- package/lib/model/modules/store/store.collection.change.if.directive.d.ts +2 -2
- package/lib/model/modules/store/store.collection.directive.d.ts +2 -2
- package/lib/model/modules/store/store.collection.list.directive.d.ts +1 -1
- package/lib/model/modules/store/store.document.auth.directive.d.ts +1 -1
- package/lib/model/modules/store/store.document.crud.d.ts +5 -9
- package/lib/model/modules/store/store.document.directive.d.ts +5 -5
- package/lib/model/modules/store/store.document.router.directive.d.ts +1 -1
- package/lib/model/modules/store/store.document.router.key.directive.d.ts +1 -1
- package/lib/model/modules/store/store.subcollection.d.ts +3 -3
- package/lib/model/modules/store/store.subcollection.directive.d.ts +1 -1
- package/lib/model/modules/store/store.subcollection.document.d.ts +1 -1
- package/lib/model/modules/store/store.subcollection.rxjs.d.ts +3 -3
- package/lib/model/service/model.context.instance.d.ts +1 -1
- package/lib/model/service/model.context.service.d.ts +1 -1
- package/lib/model/system/systemstate.collection.store.directive.d.ts +1 -1
- package/lib/model/system/systemstate.document.store.directive.d.ts +1 -1
- package/lib/storage/firebase.storage.module.d.ts +1 -1
- package/lib/style/_all-typography.scss +2 -2
- package/lib/style/_core.scss +1 -2
- package/lib/style/_theming.scss +1 -1
- package/package.json +25 -21
- package/esm2020/lib/auth/login/login.anonymous.component.mjs +0 -22
- package/esm2020/lib/auth/login/login.apple.component.mjs +0 -22
- package/esm2020/lib/auth/login/login.context.directive.mjs +0 -29
- package/esm2020/lib/auth/login/login.email.component.mjs +0 -23
- package/esm2020/lib/auth/login/login.facebook.component.mjs +0 -22
- package/esm2020/lib/auth/login/login.github.component.mjs +0 -22
- package/esm2020/lib/auth/login/login.google.component.mjs +0 -22
- package/esm2020/lib/auth/login/login.microsoft.component.mjs +0 -22
- package/esm2020/lib/auth/login/login.twitter.component.mjs +0 -22
- package/esm2020/lib/development/development.scheduler.list.component.mjs +0 -79
- package/esm2020/lib/firebase/firebase.emulator.service.mjs +0 -35
- package/esm2020/lib/firebase/firebase.module.mjs +0 -293
- package/esm2020/lib/model/modules/model/model.history.component.mjs +0 -48
- package/esm2020/lib/model/modules/model/model.history.popover.component.mjs +0 -50
- package/esm2020/lib/model/modules/model/model.tracker.service.mjs +0 -62
- package/esm2020/lib/model/modules/model/model.types.list.component.mjs +0 -63
- package/esm2020/lib/model/modules/store/store.document.mjs +0 -168
- package/esm2020/lib/model/service/model.context.service.mjs +0 -38
- package/fesm2015/dereekb-dbx-firebase.mjs +0 -4632
- package/fesm2015/dereekb-dbx-firebase.mjs.map +0 -1
- package/fesm2020/dereekb-dbx-firebase.mjs.map +0 -1
- /package/{esm2020 → esm2022}/dereekb-dbx-firebase.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/analytics/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/auth/appcheck/appcheck.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/auth/appcheck/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/auth/auth.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/auth/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/auth/login/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/auth/login/login.context.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/auth/login/login.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/auth/login/login.password.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/auth/login/login.terms.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/auth/service/firebase.auth.rxjs.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/auth/service/firebase.auth.service.delegate.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/auth/service/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/development/development.widget.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/development/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/firebase/appcheck.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/firebase/emulators.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/firebase/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/firebase/options.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/firestore/firebase.firestore.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/firestore/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/function/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/error.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/loader/collection.change.trigger.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/loader/collection.change.watcher.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/loader/collection.loader.instance.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/loader/collection.loader.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/loader/document.loader.instance.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/loader/document.loader.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/loader/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/modules/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/modules/model/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/modules/model/model.sourceselect.history.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/modules/store/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/modules/store/store.subcollection.rxjs.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/service/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/service/model.context.instance.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/service/model.context.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/system/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/model/system/systemstate.document.store.accessor.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/pipe/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/router/id.param.redirect.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/router/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/storage/firebase.storage.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/storage/index.mjs +0 -0
|
@@ -12,5 +12,5 @@ export declare class DbxFirebaseCollectionListDirective<T> extends AbstractSubsc
|
|
|
12
12
|
constructor(dbxFirebaseCollectionStoreDirective: DbxFirebaseCollectionStoreDirective<T>, dbxListViewWrapper: DbxListViewWrapper<T>);
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseCollectionListDirective<any>, [null, { host: true; }]>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseCollectionListDirective<any>, "[dbxFirebaseCollectionList]", never, {}, {}, never, never, false>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseCollectionListDirective<any>, "[dbxFirebaseCollectionList]", never, {}, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -15,5 +15,5 @@ export declare class DbxFirebaseDocumentAuthIdDirective<T, D extends FirestoreDo
|
|
|
15
15
|
constructor(dbxFirebaseAuthService: DbxFirebaseAuthService, dbxFirebaseDocumentStoreDirective: DbxFirebaseDocumentStoreDirective<T, D>);
|
|
16
16
|
ngOnInit(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseDocumentAuthIdDirective<any, any>, [null, { host: true; }]>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseDocumentAuthIdDirective<any, any>, "[dbxFirebaseDocumentAuthId]", never, {}, {}, never, never, false>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseDocumentAuthIdDirective<any, any>, "[dbxFirebaseDocumentAuthId]", never, {}, {}, never, never, false, never>;
|
|
19
19
|
}
|
|
@@ -3,7 +3,7 @@ import { LoadingState } from '@dereekb/rxjs';
|
|
|
3
3
|
import { PartialOnKeys } from '@dereekb/util';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { DbxFirebaseDocumentStore } from './store.document';
|
|
6
|
-
export
|
|
6
|
+
export type DbxFirebaseDocumentStoreCreateFunction<I, O extends OnCallCreateModelResult = OnCallCreateModelResult> = (params: I) => Observable<LoadingState<O>>;
|
|
7
7
|
/**
|
|
8
8
|
* Creates a function for a store that DbxFirebaseDocumentStore captures the ModelFirebaseCreateFunction result and sets the key of the created value.
|
|
9
9
|
*
|
|
@@ -12,7 +12,7 @@ export declare type DbxFirebaseDocumentStoreCreateFunction<I, O extends OnCallCr
|
|
|
12
12
|
* @returns
|
|
13
13
|
*/
|
|
14
14
|
export declare function firebaseDocumentStoreCreateFunction<I, O extends OnCallCreateModelResult = OnCallCreateModelResult>(store: DbxFirebaseDocumentStore<any, any>, fn: ModelFirebaseCreateFunction<I, O>): DbxFirebaseDocumentStoreCreateFunction<I, O>;
|
|
15
|
-
export
|
|
15
|
+
export type DbxFirebaseDocumentStoreCrudFunction<I, O = void> = (input: I) => Observable<LoadingState<O>>;
|
|
16
16
|
/**
|
|
17
17
|
* Creates a DbxfirebaseDocumentStoreCrudFunction from the input ModelFirebaseCrudFunction.
|
|
18
18
|
*
|
|
@@ -23,12 +23,12 @@ export declare function firebaseDocumentStoreCrudFunction<I, O = void>(fn: Model
|
|
|
23
23
|
/**
|
|
24
24
|
* A parameter that refers to a specific key.
|
|
25
25
|
*/
|
|
26
|
-
export
|
|
26
|
+
export type DbxFirebaseDocumentStoreFunctionParams = TargetModelParams | InferredTargetModelParams;
|
|
27
27
|
/**
|
|
28
28
|
* Used for the input to related functions
|
|
29
29
|
*/
|
|
30
|
-
export
|
|
31
|
-
export
|
|
30
|
+
export type DbxFirebaseDocumentStoreFunctionParamsInput<I extends DbxFirebaseDocumentStoreFunctionParams> = PartialOnKeys<I, 'key'>;
|
|
31
|
+
export type DbxFirebaseDocumentStoreFunction<I extends DbxFirebaseDocumentStoreFunctionParams, O = void> = DbxFirebaseDocumentStoreCrudFunction<DbxFirebaseDocumentStoreFunctionParamsInput<I>, O>;
|
|
32
32
|
/**
|
|
33
33
|
* Creates a DbxfirebaseDocumentStoreCrudFunction for read.
|
|
34
34
|
*
|
|
@@ -61,7 +61,3 @@ export declare function firebaseDocumentStoreUpdateFunction<I extends DbxFirebas
|
|
|
61
61
|
* @returns
|
|
62
62
|
*/
|
|
63
63
|
export declare function firebaseDocumentStoreDeleteFunction<I extends DbxFirebaseDocumentStoreFunctionParams, O = void>(store: DbxFirebaseDocumentStore<any, any>, fn: ModelFirebaseDeleteFunction<I, O>): DbxFirebaseDocumentStoreFunction<I, O>;
|
|
64
|
-
/**
|
|
65
|
-
* @deprecated DbxfirebaseDocumentStoreCrudFunction is undefined.
|
|
66
|
-
*/
|
|
67
|
-
export declare type DbxfirebaseDocumentStoreCrudFunction<I, O = void> = DbxFirebaseDocumentStoreCrudFunction<I, O>;
|
|
@@ -11,21 +11,21 @@ export declare abstract class DbxFirebaseDocumentStoreDirective<T = unknown, D e
|
|
|
11
11
|
constructor(store: S);
|
|
12
12
|
readonly exists$: import("rxjs").Observable<boolean>;
|
|
13
13
|
readonly document$: import("rxjs").Observable<D>;
|
|
14
|
-
readonly documentLoadingState$: import("rxjs").Observable<import("
|
|
14
|
+
readonly documentLoadingState$: import("rxjs").Observable<import("dist/packages/rxjs/src").LoadingState<D>>;
|
|
15
15
|
readonly id$: import("rxjs").Observable<string>;
|
|
16
16
|
readonly key$: import("rxjs").Observable<string>;
|
|
17
17
|
readonly ref$: import("rxjs").Observable<DocumentReference<T>>;
|
|
18
18
|
readonly snapshot$: import("rxjs").Observable<import("@dereekb/firebase").DocumentSnapshot<T>>;
|
|
19
|
-
readonly snapshotLoadingState$: import("rxjs").Observable<import("
|
|
20
|
-
readonly modelIdentity$: import("rxjs").Observable<import("@dereekb/firebase").FirestoreModelIdentity
|
|
19
|
+
readonly snapshotLoadingState$: import("rxjs").Observable<import("dist/packages/rxjs/src").LoadingState<import("@dereekb/firebase").DocumentSnapshot<T>>>;
|
|
20
|
+
readonly modelIdentity$: import("rxjs").Observable<import("@dereekb/firebase").FirestoreModelIdentity>;
|
|
21
21
|
readonly data$: import("rxjs").Observable<import("@dereekb/firebase").DocumentDataWithIdAndKey<T>>;
|
|
22
|
-
readonly loadingState$: import("rxjs").Observable<import("
|
|
22
|
+
readonly loadingState$: import("rxjs").Observable<import("dist/packages/rxjs/src").LoadingState<import("@dereekb/firebase").DocumentDataWithIdAndKey<T>>>;
|
|
23
23
|
set documentId(documentId: Maybe<FirestoreModelId>);
|
|
24
24
|
set key(key: Maybe<FirestoreModelKey>);
|
|
25
25
|
set ref(ref: Maybe<DocumentReference<T>>);
|
|
26
26
|
set streamMode(streamMode: FirestoreAccessorStreamMode);
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseDocumentStoreDirective<any, any, any>, never>;
|
|
28
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseDocumentStoreDirective<any, any, any>, never, never, { "documentId": "documentId"; "key": "key"; "ref": "ref"; "streamMode": "streamMode"; }, {}, never, never, false>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseDocumentStoreDirective<any, any, any>, never, never, { "documentId": { "alias": "documentId"; "required": false; }; "key": { "alias": "key"; "required": false; }; "ref": { "alias": "ref"; "required": false; }; "streamMode": { "alias": "streamMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Configures providers for a DbxFirebaseDocumentStoreDirective.
|
|
@@ -26,5 +26,5 @@ export declare class DbxFirebaseDocumentStoreRouteIdDirective<T = unknown> exten
|
|
|
26
26
|
set dbxFirebaseDocumentStoreRouteIdDefaultRedirect(redirect: Maybe<boolean> | '');
|
|
27
27
|
set dbxFirebaseDocumentStoreRouteIdDefaultDecision(decider: string | SwitchMapToDefaultFilterFunction<ModelKey>);
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseDocumentStoreRouteIdDirective<any>, [{ host: true; }, null]>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseDocumentStoreRouteIdDirective<any>, "[dbxFirebaseDocumentStoreRouteId]", never, { "idParam": "dbxFirebaseDocumentStoreRouteId"; "dbxFirebaseDocumentStoreRouteIdDefault": "dbxFirebaseDocumentStoreRouteIdDefault"; "dbxFirebaseDocumentStoreRouteIdDefaultRedirect": "dbxFirebaseDocumentStoreRouteIdDefaultRedirect"; "dbxFirebaseDocumentStoreRouteIdDefaultDecision": "dbxFirebaseDocumentStoreRouteIdDefaultDecision"; }, {}, never, never, false>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseDocumentStoreRouteIdDirective<any>, "[dbxFirebaseDocumentStoreRouteId]", never, { "idParam": { "alias": "dbxFirebaseDocumentStoreRouteId"; "required": false; }; "dbxFirebaseDocumentStoreRouteIdDefault": { "alias": "dbxFirebaseDocumentStoreRouteIdDefault"; "required": false; }; "dbxFirebaseDocumentStoreRouteIdDefaultRedirect": { "alias": "dbxFirebaseDocumentStoreRouteIdDefaultRedirect"; "required": false; }; "dbxFirebaseDocumentStoreRouteIdDefaultDecision": { "alias": "dbxFirebaseDocumentStoreRouteIdDefaultDecision"; "required": false; }; }, {}, never, never, false, never>;
|
|
30
30
|
}
|
|
@@ -27,5 +27,5 @@ export declare class DbxFirebaseDocumentStoreRouteKeyDirective<T = unknown> exte
|
|
|
27
27
|
set dbxFirebaseDocumentStoreRouteKeyDefaultRedirect(redirect: Maybe<boolean> | '');
|
|
28
28
|
set dbxFirebaseDocumentStoreRouteKeyDefaultDecision(decider: string | SwitchMapToDefaultFilterFunction<ModelKey>);
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseDocumentStoreRouteKeyDirective<any>, [{ host: true; }, null]>;
|
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseDocumentStoreRouteKeyDirective<any>, "[dbxFirebaseDocumentStoreRouteKey]", never, { "keyParam": "dbxFirebaseDocumentStoreRouteKey"; "dbxFirebaseDocumentStoreRouteKeyDefault": "dbxFirebaseDocumentStoreRouteKeyDefault"; "dbxFirebaseDocumentStoreRouteKeyDefaultRedirect": "dbxFirebaseDocumentStoreRouteKeyDefaultRedirect"; "dbxFirebaseDocumentStoreRouteKeyDefaultDecision": "dbxFirebaseDocumentStoreRouteKeyDefaultDecision"; }, {}, never, never, false>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseDocumentStoreRouteKeyDirective<any>, "[dbxFirebaseDocumentStoreRouteKey]", never, { "keyParam": { "alias": "dbxFirebaseDocumentStoreRouteKey"; "required": false; }; "dbxFirebaseDocumentStoreRouteKeyDefault": { "alias": "dbxFirebaseDocumentStoreRouteKeyDefault"; "required": false; }; "dbxFirebaseDocumentStoreRouteKeyDefaultRedirect": { "alias": "dbxFirebaseDocumentStoreRouteKeyDefaultRedirect"; "required": false; }; "dbxFirebaseDocumentStoreRouteKeyDefaultDecision": { "alias": "dbxFirebaseDocumentStoreRouteKeyDefaultDecision"; "required": false; }; }, {}, never, never, false, never>;
|
|
31
31
|
}
|
|
@@ -8,12 +8,12 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
/**
|
|
9
9
|
* Whether or not to load values from a parent or a group.
|
|
10
10
|
*/
|
|
11
|
-
export
|
|
11
|
+
export type DbxFirebaseComponentStoreWithParentSourceMode = 'parent' | 'group';
|
|
12
12
|
export interface DbxFirebaseCollectionWithParentStoreContextState<T, PT, D extends FirestoreDocument<T> = FirestoreDocument<T>, PD extends FirestoreDocument<PT> = FirestoreDocument<PT>> extends DbxFirebaseCollectionStoreContextState<T, D>, DbxFirebaseComponentStoreWithParentContextState<T, PT, D, PD> {
|
|
13
13
|
readonly mode?: Maybe<DbxFirebaseComponentStoreWithParentSourceMode>;
|
|
14
14
|
readonly collectionGroup?: Maybe<FirestoreCollectionGroup<T, D>>;
|
|
15
15
|
}
|
|
16
|
-
export
|
|
16
|
+
export type DbxFirebaseComponentStoreWithParentSetParentSourceModeFunction = (observableOrValue: ObservableOrValue<Maybe<DbxFirebaseComponentStoreWithParentSourceMode>>) => Subscription;
|
|
17
17
|
export interface DbxFirebaseCollectionWithParentStore<T, PT, D extends FirestoreDocument<T> = FirestoreDocument<T>, PD extends FirestoreDocument<PT> = FirestoreDocument<PT>> extends DbxFirebaseCollectionStore<T, D>, DbxFirebaseComponentStoreWithParent<T, PT, D, PD> {
|
|
18
18
|
readonly setSourceMode: DbxFirebaseComponentStoreWithParentSetParentSourceModeFunction;
|
|
19
19
|
readonly setCollectionGroup: (observableOrValue: FirestoreCollectionGroup<T, D> | Observable<FirestoreCollectionGroup<T, D>>) => Subscription;
|
|
@@ -36,7 +36,7 @@ export declare class AbstractDbxFirebaseCollectionWithParentStore<T, PT, D exten
|
|
|
36
36
|
/**
|
|
37
37
|
* Sets the collection factory function to use.
|
|
38
38
|
*/
|
|
39
|
-
readonly setCollectionFactory: (observableOrValue: FirestoreCollectionWithParentFactory<T, PT, D, PD
|
|
39
|
+
readonly setCollectionFactory: (observableOrValue: FirestoreCollectionWithParentFactory<T, PT, D, PD> | Observable<FirestoreCollectionWithParentFactory<T, PT, D, PD>>) => Subscription;
|
|
40
40
|
/**
|
|
41
41
|
* Sets the collection group to use.
|
|
42
42
|
*/
|
|
@@ -10,7 +10,7 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
export declare abstract class DbxFirebaseCollectionWithParentStoreDirective<T, PT, D extends FirestoreDocument<T> = FirestoreDocument<T>, PD extends FirestoreDocument<PT> = FirestoreDocument<PT>, S extends DbxFirebaseCollectionWithParentStore<T, PT, D, PD> = DbxFirebaseCollectionWithParentStore<T, PT, D, PD>> extends DbxFirebaseCollectionStoreDirective<T, D, S> {
|
|
11
11
|
set sourceMode(sourceMode: Maybe<DbxFirebaseComponentStoreWithParentSourceMode>);
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseCollectionWithParentStoreDirective<any, any, any, any, any>, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseCollectionWithParentStoreDirective<any, any, any, any, any>, never, never, { "sourceMode": "sourceMode"; }, {}, never, never, false>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseCollectionWithParentStoreDirective<any, any, any, any, any>, never, never, { "sourceMode": { "alias": "sourceMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* Configures providers for a DbxFirebaseCollectionWithParentStoreDirective.
|
|
@@ -28,7 +28,7 @@ export declare class AbstractDbxFirebaseDocumentWithParentStore<T, PT, D extends
|
|
|
28
28
|
/**
|
|
29
29
|
* Sets the collection factory function to use.
|
|
30
30
|
*/
|
|
31
|
-
readonly setCollectionFactory: (observableOrValue: FirestoreCollectionWithParentFactory<T, PT, D, PD
|
|
31
|
+
readonly setCollectionFactory: (observableOrValue: FirestoreCollectionWithParentFactory<T, PT, D, PD> | Observable<FirestoreCollectionWithParentFactory<T, PT, D, PD>>) => Subscription;
|
|
32
32
|
/**
|
|
33
33
|
* Sets the parent on the current state.
|
|
34
34
|
*/
|
|
@@ -9,9 +9,9 @@ export interface DbxFirebaseComponentStoreWithParentContextState<T, PT, D extend
|
|
|
9
9
|
readonly parent?: Maybe<PD>;
|
|
10
10
|
readonly collectionFactory?: Maybe<FirestoreCollectionWithParentFactory<T, PT, D, PD>>;
|
|
11
11
|
}
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
12
|
+
export type DbxFirebaseComponentStoreSetParentEffectFunction<PD> = (parent: Observable<Maybe<PD>>) => Subscription;
|
|
13
|
+
export type DbxFirebaseComponentStoreWithParentSetParentEffectFunction<PD> = (observableOrValue: ObservableOrValue<Maybe<PD>>) => Subscription;
|
|
14
|
+
export type DbxFirebaseComponentStoreWithParentSetParentStoreEffectFunction<PT, PD extends FirestoreDocument<PT> = FirestoreDocument<PT>> = (observableOrValue: ObservableOrValue<DbxFirebaseDocumentStore<PT, PD>>) => Subscription;
|
|
15
15
|
export interface DbxFirebaseComponentStoreWithParent<T, PT, D extends FirestoreDocument<T> = FirestoreDocument<T>, PD extends FirestoreDocument<PT> = FirestoreDocument<PT>, A extends FirestoreCollectionLike<T, D> = FirestoreCollectionLike<T, D>> extends LockSetComponentStore<object>, Pick<ComponentStore<DbxFirebaseComponentStoreWithParentContextState<T, PT, D, PD>>, 'effect'> {
|
|
16
16
|
readonly currentParent$: Observable<Maybe<PD>>;
|
|
17
17
|
readonly parent$: Observable<PD>;
|
|
@@ -4,7 +4,7 @@ import { ObservableOrValue } from '@dereekb/rxjs';
|
|
|
4
4
|
import { SetIncludesMode, IterableOrValue, ModelKey } from '@dereekb/util';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import { DbxFirebaseInContextFirebaseModelInfoServiceInstance } from './model.context';
|
|
7
|
-
export
|
|
7
|
+
export type DbxFirebaseInContextFirebaseModelServiceInstanceFactory<S extends InContextFirebaseModelsService<any>, C extends FirebasePermissionErrorContext = FirebasePermissionErrorContext> = <D extends FirestoreDocument<any>, R extends GrantedRole = GrantedRole>(type: S extends InContextFirebaseModelsService<infer Y> ? (Y extends FirebaseModelsService<infer X, infer C> ? keyof X : never) : never, keyObs: ObservableOrValue<ModelKey>) => DbxFirebaseInContextFirebaseModelServiceInstance<D, R, C>;
|
|
8
8
|
export declare function dbxFirebaseInContextFirebaseModelServiceInstanceFactory<S extends InContextFirebaseModelsService<any>, C extends FirebasePermissionErrorContext = FirebasePermissionErrorContext>(context$: Observable<S>): DbxFirebaseInContextFirebaseModelServiceInstanceFactory<S, C>;
|
|
9
9
|
/**
|
|
10
10
|
* Wraps an InModelContextFirebaseModelService observable and provides different piped observables.
|
|
@@ -15,7 +15,7 @@ export declare abstract class DbxFirebaseModelContextService {
|
|
|
15
15
|
*/
|
|
16
16
|
abstract modelInfoInstance<D extends FirestoreDocument<any> = any, R extends GrantedRole = GrantedRole>(keyObs: ObservableOrValue<FirestoreModelKey>): Observable<DbxFirebaseInContextFirebaseModelInfoServiceInstance<D, R>>;
|
|
17
17
|
}
|
|
18
|
-
export
|
|
18
|
+
export type DbxFirebaseModelContextServiceInfoInstanceFactory = <D extends FirestoreDocument<any>, R extends GrantedRole = GrantedRole>(keyObs: ObservableOrValue<FirestoreModelKey>) => Observable<DbxFirebaseInContextFirebaseModelInfoServiceInstance<D, R>>;
|
|
19
19
|
export interface DbxFirebaseModelContextServiceInfoInstanceFactoryConfig<S extends InContextFirebaseModelsService<any>, C extends FirebasePermissionErrorContext = FirebasePermissionErrorContext> {
|
|
20
20
|
readonly modelService: DbxFirebaseInContextFirebaseModelServiceInstanceFactory<S, C>;
|
|
21
21
|
readonly entityMap$: Observable<FirestoreModelIdentityTypeMap>;
|
|
@@ -5,5 +5,5 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class DbxFirebaseSystemStateCollectionStoreDirective extends DbxFirebaseCollectionStoreDirective<SystemState, SystemStateDocument, SystemStateCollectionStore> {
|
|
6
6
|
constructor(store: SystemStateCollectionStore);
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseSystemStateCollectionStoreDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseSystemStateCollectionStoreDirective, "[dbxFirebaseSystemStateCollection]", never, {}, {}, never, never, false>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseSystemStateCollectionStoreDirective, "[dbxFirebaseSystemStateCollection]", never, {}, {}, never, never, false, never>;
|
|
9
9
|
}
|
|
@@ -5,5 +5,5 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class DbxFirebaseSystemStateDocumentStoreDirective<T extends SystemStateStoredData = SystemStateStoredData> extends DbxFirebaseDocumentStoreDirective<SystemState<T>, SystemStateDocument<T>, SystemStateDocumentStore<T>> {
|
|
6
6
|
constructor(store: SystemStateDocumentStore<T>);
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseSystemStateDocumentStoreDirective<any>, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseSystemStateDocumentStoreDirective<any>, "[dbxFirebaseSystemStateDocument]", never, {}, {}, never, never, false>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseSystemStateDocumentStoreDirective<any>, "[dbxFirebaseSystemStateDocument]", never, {}, {}, never, never, false, never>;
|
|
9
9
|
}
|
|
@@ -3,7 +3,7 @@ import { FirebaseApp } from '@angular/fire/app';
|
|
|
3
3
|
import { FirebaseStorageContextFactoryConfig } from '@dereekb/firebase';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare function dbxFirebaseStorageModuleContextConfigFactory(base?: FirebaseStorageContextFactoryConfig): DbxFirebaseStorageModuleContextConfigFactory;
|
|
6
|
-
export
|
|
6
|
+
export type DbxFirebaseStorageModuleContextConfigFactory = (app: FirebaseApp, injector: Injector) => FirebaseStorageContextFactoryConfig;
|
|
7
7
|
export interface DbxFirebaseStorageModuleConfig {
|
|
8
8
|
contextConfig?: FirebaseStorageContextFactoryConfig;
|
|
9
9
|
contextConfigFactory?: DbxFirebaseStorageModuleContextConfigFactory;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use '../auth/login/login';
|
|
2
2
|
|
|
3
3
|
// Includes all of the typographic styles.
|
|
4
|
-
@mixin all-component-typographies($
|
|
5
|
-
@include login.typography($
|
|
4
|
+
@mixin all-component-typographies($theme-config) {
|
|
5
|
+
@include login.typography($theme-config);
|
|
6
6
|
}
|
package/lib/style/_core.scss
CHANGED
package/lib/style/_theming.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@forward '@angular/material' show define-light-theme, define-dark-theme, define-palette, get-contrast-color-from-palette, get-color-from-palette, get-color-config, get-typography-config, get-density-config, elevation;
|
|
2
2
|
|
|
3
|
-
@forward 'node_modules/@angular/material/core/theming/theming' show private-check-duplicate-theme-styles, $theme-ignore-duplication-warnings;
|
|
3
|
+
@forward 'node_modules/@angular/material/core/theming/theming' show private-is-theme-object, private-check-duplicate-theme-styles, $theme-ignore-duplication-warnings;
|
|
4
4
|
|
|
5
5
|
@forward 'node_modules/@angular/material/core/typography/typography-utils';
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,16 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-firebase",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/
|
|
6
|
-
"@
|
|
7
|
-
"@dereekb/
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"@
|
|
11
|
-
"
|
|
12
|
-
"@
|
|
13
|
-
"@dereekb/
|
|
5
|
+
"@angular/core": "^16.2.12",
|
|
6
|
+
"@dereekb/dbx-analytics": "*",
|
|
7
|
+
"@dereekb/rxjs": "*",
|
|
8
|
+
"@dereekb/util": "*",
|
|
9
|
+
"rxjs": "^7.5.0",
|
|
10
|
+
"@angular/common": "^16.2.12",
|
|
11
|
+
"firebase": "^10.5.0",
|
|
12
|
+
"@angular/fire": "^16.0.0",
|
|
13
|
+
"@dereekb/date": "*",
|
|
14
|
+
"@dereekb/firebase": "*",
|
|
15
|
+
"@dereekb/dbx-core": "*",
|
|
16
|
+
"@angular/material": "^16.2.12",
|
|
17
|
+
"@dereekb/dbx-web": "*",
|
|
18
|
+
"@dereekb/dbx-form": "*",
|
|
19
|
+
"@ngx-formly/core": "^6.0.0",
|
|
20
|
+
"ng-overlay-container": "^16.0.0",
|
|
21
|
+
"@firebase/app-check": "0.8.1",
|
|
22
|
+
"@dereekb/model": "*",
|
|
23
|
+
"@ngrx/component-store": "^16.0.0"
|
|
14
24
|
},
|
|
15
25
|
"dependencies": {
|
|
16
26
|
"tslib": "^2.3.0"
|
|
@@ -19,21 +29,15 @@
|
|
|
19
29
|
".": {
|
|
20
30
|
"sass": "./_index.scss",
|
|
21
31
|
"types": "./index.d.ts",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"node": "./fesm2015/dereekb-dbx-firebase.mjs",
|
|
26
|
-
"default": "./fesm2020/dereekb-dbx-firebase.mjs"
|
|
32
|
+
"esm2022": "./esm2022/dereekb-dbx-firebase.mjs",
|
|
33
|
+
"esm": "./esm2022/dereekb-dbx-firebase.mjs",
|
|
34
|
+
"default": "./fesm2022/dereekb-dbx-firebase.mjs"
|
|
27
35
|
},
|
|
28
36
|
"./package.json": {
|
|
29
37
|
"default": "./package.json"
|
|
30
38
|
}
|
|
31
39
|
},
|
|
32
|
-
"module": "
|
|
33
|
-
"es2020": "fesm2020/dereekb-dbx-firebase.mjs",
|
|
34
|
-
"esm2020": "esm2020/dereekb-dbx-firebase.mjs",
|
|
35
|
-
"fesm2020": "fesm2020/dereekb-dbx-firebase.mjs",
|
|
36
|
-
"fesm2015": "fesm2015/dereekb-dbx-firebase.mjs",
|
|
40
|
+
"module": "fesm2022/dereekb-dbx-firebase.mjs",
|
|
37
41
|
"typings": "index.d.ts",
|
|
38
42
|
"sideEffects": false
|
|
39
|
-
}
|
|
43
|
+
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { AbstractConfiguredDbxFirebaseLoginButtonDirective, DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE } from './login.button.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./login.button.component";
|
|
5
|
-
export class DbxFirebaseLoginAnonymousComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
6
|
-
constructor() {
|
|
7
|
-
super(...arguments);
|
|
8
|
-
this.loginProvider = 'anonymous';
|
|
9
|
-
}
|
|
10
|
-
handleLogin() {
|
|
11
|
-
return this.dbxFirebaseAuthService.logInAsAnonymous();
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
DbxFirebaseLoginAnonymousComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFirebaseLoginAnonymousComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
DbxFirebaseLoginAnonymousComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: DbxFirebaseLoginAnonymousComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"config\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: i1.DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"] }, { kind: "component", type: i1.DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }] });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFirebaseLoginAnonymousComponent, decorators: [{
|
|
17
|
-
type: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E9OX1RFTVBMQVRFIH0gZnJvbSAnLi9sb2dpbi5idXR0b24uY29tcG9uZW50JztcblxuQENvbXBvbmVudCh7XG4gIHRlbXBsYXRlOiBERUZBVUxUX0NPTkZJR1VSRURfREJYX0ZJUkVCQVNFX0xPR0lOX0JVVFRPTl9URU1QTEFURVxufSlcbmV4cG9ydCBjbGFzcyBEYnhGaXJlYmFzZUxvZ2luQW5vbnltb3VzQ29tcG9uZW50IGV4dGVuZHMgQWJzdHJhY3RDb25maWd1cmVkRGJ4RmlyZWJhc2VMb2dpbkJ1dHRvbkRpcmVjdGl2ZSB7XG4gIHJlYWRvbmx5IGxvZ2luUHJvdmlkZXIgPSAnYW5vbnltb3VzJztcblxuICBoYW5kbGVMb2dpbigpIHtcbiAgICByZXR1cm4gdGhpcy5kYnhGaXJlYmFzZUF1dGhTZXJ2aWNlLmxvZ0luQXNBbm9ueW1vdXMoKTtcbiAgfVxufVxuIl19
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { AbstractConfiguredDbxFirebaseLoginButtonDirective, DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE } from './login.button.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./login.button.component";
|
|
5
|
-
export class DbxFirebaseLoginAppleComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
6
|
-
constructor() {
|
|
7
|
-
super(...arguments);
|
|
8
|
-
this.loginProvider = 'apple';
|
|
9
|
-
}
|
|
10
|
-
handleLogin() {
|
|
11
|
-
return this.dbxFirebaseAuthService.logInWithApple();
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
DbxFirebaseLoginAppleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFirebaseLoginAppleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
DbxFirebaseLoginAppleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: DbxFirebaseLoginAppleComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"config\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: i1.DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"] }, { kind: "component", type: i1.DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }] });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFirebaseLoginAppleComponent, decorators: [{
|
|
17
|
-
type: Component,
|
|
18
|
-
args: [{
|
|
19
|
-
template: DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE
|
|
20
|
-
}]
|
|
21
|
-
}] });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4uYXBwbGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZGJ4LWZpcmViYXNlL3NyYy9saWIvYXV0aC9sb2dpbi9sb2dpbi5hcHBsZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxQyxPQUFPLEVBQUUsaURBQWlELEVBQUUscURBQXFELEVBQUUsTUFBTSwwQkFBMEIsQ0FBQzs7O0FBS3BKLE1BQU0sT0FBTyw4QkFBK0IsU0FBUSxpREFBaUQ7SUFIckc7O1FBSVcsa0JBQWEsR0FBRyxPQUFPLENBQUM7S0FLbEM7SUFIQyxXQUFXO1FBQ1QsT0FBTyxJQUFJLENBQUMsc0JBQXNCLENBQUMsY0FBYyxFQUFFLENBQUM7SUFDdEQsQ0FBQzs7NEhBTFUsOEJBQThCO2dIQUE5Qiw4QkFBOEI7NEZBQTlCLDhCQUE4QjtrQkFIMUMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUscURBQXFEO2lCQUNoRSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQWJzdHJhY3RDb25maWd1cmVkRGJ4RmlyZWJhc2VMb2dpbkJ1dHRvbkRpcmVjdGl2ZSwgREVGQVVMVF9DT05GSUdVUkVEX0RCWF9GSVJFQkFTRV9MT0dJTl9CVVRUT05fVEVNUExBVEUgfSBmcm9tICcuL2xvZ2luLmJ1dHRvbi5jb21wb25lbnQnO1xuXG5AQ29tcG9uZW50KHtcbiAgdGVtcGxhdGU6IERFRkFVTFRfQ09ORklHVVJFRF9EQlhfRklSRUJBU0VfTE9HSU5fQlVUVE9OX1RFTVBMQVRFXG59KVxuZXhwb3J0IGNsYXNzIERieEZpcmViYXNlTG9naW5BcHBsZUNvbXBvbmVudCBleHRlbmRzIEFic3RyYWN0Q29uZmlndXJlZERieEZpcmViYXNlTG9naW5CdXR0b25EaXJlY3RpdmUge1xuICByZWFkb25seSBsb2dpblByb3ZpZGVyID0gJ2FwcGxlJztcblxuICBoYW5kbGVMb2dpbigpIHtcbiAgICByZXR1cm4gdGhpcy5kYnhGaXJlYmFzZUF1dGhTZXJ2aWNlLmxvZ0luV2l0aEFwcGxlKCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
2
|
-
import { AbstractForwardDbxInjectionContextDirective } from '@dereekb/dbx-core';
|
|
3
|
-
import { DbxFirebaseLoginContext } from './login.context';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* DbxFirebaseLoginContext implementation.
|
|
7
|
-
*/
|
|
8
|
-
export class DbxFirebaseLoginContextDirective extends AbstractForwardDbxInjectionContextDirective {
|
|
9
|
-
}
|
|
10
|
-
DbxFirebaseLoginContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFirebaseLoginContextDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
11
|
-
DbxFirebaseLoginContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: DbxFirebaseLoginContextDirective, selector: "[dbxFirebaseLoginContext]", providers: [
|
|
12
|
-
{
|
|
13
|
-
provide: DbxFirebaseLoginContext,
|
|
14
|
-
useExisting: DbxFirebaseLoginContextDirective
|
|
15
|
-
}
|
|
16
|
-
], usesInheritance: true, ngImport: i0 });
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFirebaseLoginContextDirective, decorators: [{
|
|
18
|
-
type: Directive,
|
|
19
|
-
args: [{
|
|
20
|
-
selector: '[dbxFirebaseLoginContext]',
|
|
21
|
-
providers: [
|
|
22
|
-
{
|
|
23
|
-
provide: DbxFirebaseLoginContext,
|
|
24
|
-
useExisting: DbxFirebaseLoginContextDirective
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
}]
|
|
28
|
-
}] });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4uY29udGV4dC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9kYngtZmlyZWJhc2Uvc3JjL2xpYi9hdXRoL2xvZ2luL2xvZ2luLmNvbnRleHQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9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HVzZUV4aXN0aW5nOiBEYnhGaXJlYmFzZUxvZ2luQ29udGV4dERpcmVjdGl2ZVxuICAgIH1cbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBEYnhGaXJlYmFzZUxvZ2luQ29udGV4dERpcmVjdGl2ZSBleHRlbmRzIEFic3RyYWN0Rm9yd2FyZERieEluamVjdGlvbkNvbnRleHREaXJlY3RpdmUgaW1wbGVtZW50cyBEYnhGaXJlYmFzZUxvZ2luQ29udGV4dCB7fVxuIl19
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { AbstractConfiguredDbxFirebaseLoginButtonDirective, DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE } from './login.button.component';
|
|
3
|
-
import { DbxFirebaseLoginEmailContentComponent } from './login.email.content.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "./login.button.component";
|
|
6
|
-
export class DbxFirebaseLoginEmailComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
7
|
-
constructor() {
|
|
8
|
-
super(...arguments);
|
|
9
|
-
this.loginProvider = 'email';
|
|
10
|
-
}
|
|
11
|
-
handleLogin() {
|
|
12
|
-
return DbxFirebaseLoginEmailContentComponent.openEmailLoginContext(this.dbxFirebaseLoginContext, { loginMode: 'login', passwordConfig: this.dbxFirebaseAuthLoginService.getPasswordConfig() });
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
DbxFirebaseLoginEmailComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFirebaseLoginEmailComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
-
DbxFirebaseLoginEmailComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: DbxFirebaseLoginEmailComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"config\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: i1.DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"] }, { kind: "component", type: i1.DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }] });
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFirebaseLoginEmailComponent, decorators: [{
|
|
18
|
-
type: Component,
|
|
19
|
-
args: [{
|
|
20
|
-
template: DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE
|
|
21
|
-
}]
|
|
22
|
-
}] });
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4uZW1haWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZGJ4LWZpcmViYXNlL3NyYy9saWIvYXV0aC9sb2dpbi9sb2dpbi5lbWFpbC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxQyxPQUFPLEVBQUUsaURBQWlELEVBQUUscURBQXFELEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUNwSixPQUFPLEVBQUUscUNBQXFDLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQzs7O0FBS3hGLE1BQU0sT0FBTyw4QkFBK0IsU0FBUSxpREFBaUQ7SUFIckc7O1FBSVcsa0JBQWEsR0FBRyxPQUFPLENBQUM7S0FLbEM7SUFIQyxXQUFXO1FBQ1QsT0FBTyxxQ0FBcUMsQ0FBQyxxQkFBcUIsQ0FBQyxJQUFJLENBQUMsdUJBQXVC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hpcy5kYnhGaXJlYmFzZUxvZ2luQ29udGV4dCwgeyBsb2dpbk1vZGU6ICdsb2dpbicsIHBhc3N3b3JkQ29uZmlnOiB0aGlzLmRieEZpcmViYXNlQXV0aExvZ2luU2VydmljZS5nZXRQYXNzd29yZENvbmZpZygpIH0pO1xuICB9XG59XG4iXX0=
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { AbstractConfiguredDbxFirebaseLoginButtonDirective, DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE } from './login.button.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./login.button.component";
|
|
5
|
-
export class DbxFirebaseLoginFacebookComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
6
|
-
constructor() {
|
|
7
|
-
super(...arguments);
|
|
8
|
-
this.loginProvider = 'facebook';
|
|
9
|
-
}
|
|
10
|
-
handleLogin() {
|
|
11
|
-
return this.dbxFirebaseAuthService.logInWithFacebook();
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
DbxFirebaseLoginFacebookComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFirebaseLoginFacebookComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
DbxFirebaseLoginFacebookComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: DbxFirebaseLoginFacebookComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"config\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: i1.DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"] }, { kind: "component", type: i1.DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }] });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFirebaseLoginFacebookComponent, decorators: [{
|
|
17
|
-
type: Component,
|
|
18
|
-
args: [{
|
|
19
|
-
template: DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE
|
|
20
|
-
}]
|
|
21
|
-
}] });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4uZmFjZWJvb2suY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZGJ4LWZpcmViYXNlL3NyYy9saWIvYXV0aC9sb2dpbi9sb2dpbi5mYWNlYm9vay5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxQyxPQUFPLEVBQUUsaURBQWlELEVBQUUscURBQXFELEVBQUUsTUFBTSwwQkFBMEIsQ0FBQzs7O0FBS3BKLE1BQU0sT0FBTyxpQ0FBa0MsU0FBUSxpREFBaUQ7SUFIeEc7O1FBSVcsa0JBQWEsR0FBRyxVQUFVLENBQUM7S0FLckM7SUFIQyxXQUFXO1FBQ1QsT0FBTyxJQUFJLENBQUMsc0JBQXNCLENBQUMsaUJBQWlCLEVBQUUsQ0FBQztJQUN6RCxDQUFDOzsrSEFMVSxpQ0FBaUM7bUhBQWpDLGlDQUFpQzs0RkFBakMsaUNBQWlDO2tCQUg3QyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxxREFBcUQ7aUJBQ2hFIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBBYnN0cmFjdENvbmZpZ3VyZWREYnhGaXJlYmFzZUxvZ2luQnV0dG9uRGlyZWN0aXZlLCBERUZBVUxUX0NPTkZJR1VSRURfREJYX0ZJUkVCQVNFX0xPR0lOX0JVVFRPTl9URU1QTEFURSB9IGZyb20gJy4vbG9naW4uYnV0dG9uLmNvbXBvbmVudCc7XG5cbkBDb21wb25lbnQoe1xuICB0ZW1wbGF0ZTogREVGQVVMVF9DT05GSUdVUkVEX0RCWF9GSVJFQkFTRV9MT0dJTl9CVVRUT05fVEVNUExBVEVcbn0pXG5leHBvcnQgY2xhc3MgRGJ4RmlyZWJhc2VMb2dpbkZhY2Vib29rQ29tcG9uZW50IGV4dGVuZHMgQWJzdHJhY3RDb25maWd1cmVkRGJ4RmlyZWJhc2VMb2dpbkJ1dHRvbkRpcmVjdGl2ZSB7XG4gIHJlYWRvbmx5IGxvZ2luUHJvdmlkZXIgPSAnZmFjZWJvb2snO1xuXG4gIGhhbmRsZUxvZ2luKCkge1xuICAgIHJldHVybiB0aGlzLmRieEZpcmViYXNlQXV0aFNlcnZpY2UubG9nSW5XaXRoRmFjZWJvb2soKTtcbiAgfVxufVxuIl19
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { AbstractConfiguredDbxFirebaseLoginButtonDirective, DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE } from './login.button.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./login.button.component";
|
|
5
|
-
export class DbxFirebaseLoginGitHubComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
6
|
-
constructor() {
|
|
7
|
-
super(...arguments);
|
|
8
|
-
this.loginProvider = 'github';
|
|
9
|
-
}
|
|
10
|
-
handleLogin() {
|
|
11
|
-
return this.dbxFirebaseAuthService.logInWithGithub();
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
DbxFirebaseLoginGitHubComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFirebaseLoginGitHubComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
DbxFirebaseLoginGitHubComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: DbxFirebaseLoginGitHubComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"config\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: i1.DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"] }, { kind: "component", type: i1.DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }] });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFirebaseLoginGitHubComponent, decorators: [{
|
|
17
|
-
type: Component,
|
|
18
|
-
args: [{
|
|
19
|
-
template: DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE
|
|
20
|
-
}]
|
|
21
|
-
}] });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4uZ2l0aHViLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2RieC1maXJlYmFzZS9zcmMvbGliL2F1dGgvbG9naW4vbG9naW4uZ2l0aHViLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSxpREFBaUQsRUFBRSxxREFBcUQsRUFBRSxNQUFNLDBCQUEwQixDQUFDOzs7QUFLcEosTUFBTS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{ AbstractConfiguredDbxFirebaseLoginButtonDirective, DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE } from './login.button.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./login.button.component";
|
|
5
|
-
export class DbxFirebaseLoginGoogleComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
6
|
-
constructor() {
|
|
7
|
-
super(...arguments);
|
|
8
|
-
this.loginProvider = 'google';
|
|
9
|
-
}
|
|
10
|
-
handleLogin() {
|
|
11
|
-
return this.dbxFirebaseAuthService.logInWithGoogle();
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
DbxFirebaseLoginGoogleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFirebaseLoginGoogleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
DbxFirebaseLoginGoogleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: DbxFirebaseLoginGoogleComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"config\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: i1.DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"] }, { kind: "component", type: i1.DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }] });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFirebaseLoginGoogleComponent, decorators: [{
|
|
17
|
-
type: Component,
|
|
18
|
-
args: [{
|
|
19
|
-
template: DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE
|
|
20
|
-
}]
|
|
21
|
-
}] });
|
|
22
|
-
//# sourceMappingURL=data:application/json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kFTRV9MT0dJTl9CVVRUT05fVEVNUExBVEVcbn0pXG5leHBvcnQgY2xhc3MgRGJ4RmlyZWJhc2VMb2dpbkdvb2dsZUNvbXBvbmVudCBleHRlbmRzIEFic3RyYWN0Q29uZmlndXJlZERieEZpcmViYXNlTG9naW5CdXR0b25EaXJlY3RpdmUge1xuICByZWFkb25seSBsb2dpblByb3ZpZGVyID0gJ2dvb2dsZSc7XG5cbiAgaGFuZGxlTG9naW4oKSB7XG4gICAgcmV0dXJuIHRoaXMuZGJ4RmlyZWJhc2VBdXRoU2VydmljZS5sb2dJbldpdGhHb29nbGUoKTtcbiAgfVxufVxuIl19
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { AbstractConfiguredDbxFirebaseLoginButtonDirective, DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE } from './login.button.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./login.button.component";
|
|
5
|
-
export class DbxFirebaseLoginMicrosoftComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
6
|
-
constructor() {
|
|
7
|
-
super(...arguments);
|
|
8
|
-
this.loginProvider = 'microsoft';
|
|
9
|
-
}
|
|
10
|
-
handleLogin() {
|
|
11
|
-
return this.dbxFirebaseAuthService.logInWithMicrosoft();
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
DbxFirebaseLoginMicrosoftComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFirebaseLoginMicrosoftComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
DbxFirebaseLoginMicrosoftComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: DbxFirebaseLoginMicrosoftComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"config\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: i1.DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"] }, { kind: "component", type: i1.DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }] });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFirebaseLoginMicrosoftComponent, decorators: [{
|
|
17
|
-
type: Component,
|
|
18
|
-
args: [{
|
|
19
|
-
template: DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE
|
|
20
|
-
}]
|
|
21
|
-
}] });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4ubWljcm9zb2Z0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2RieC1maXJlYmFzZS9zcmMvbGliL2F1dGgvbG9naW4vbG9naW4ubWljcm9zb2Z0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSxpREFBaUQsRUFBRSxxREFBcUQsRUFBRSxNQUFNLDBCQUEwQixDQUFDOzs7QUFLcEosTUFBTSxPQUFPLGtDQUFtQyxTQUFRLGlEQUFpRDtJQUh6Rzs7UUFJVyxrQkFBYSxHQUFHLFdBQVcsQ0FBQztLQUt0QztJQUhDLFdBQVc7UUFDVCxPQUFPLElBQUksQ0FBQyxzQkFBc0IsQ0FBQyxrQkFBa0IsRUFBRSxDQUFDO0lBQzFELENBQUM7O2dJQUxVLGtDQUFrQztvSEFBbEMsa0NBQWtDOzRGQUFsQyxrQ0FBa0M7a0JBSDlDLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLHFEQUFxRDtpQkFDaEUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IEFic3RyYWN0Q29uZmlndXJlZERieEZpcmViYXNlTG9naW5CdXR0b25EaXJlY3RpdmUsIERFRkFVTFRfQ09ORklHVVJFRF9EQlhfRklSRUJBU0VfTE9HSU5fQlVUVE9OX1RFTVBMQVRFIH0gZnJvbSAnLi9sb2dpbi5idXR0b24uY29tcG9uZW50JztcblxuQENvbXBvbmVudCh7XG4gIHRlbXBsYXRlOiBERUZBVUxUX0NPTkZJR1VSRURfREJYX0ZJUkVCQVNFX0xPR0lOX0JVVFRPTl9URU1QTEFURVxufSlcbmV4cG9ydCBjbGFzcyBEYnhGaXJlYmFzZUxvZ2luTWljcm9zb2Z0Q29tcG9uZW50IGV4dGVuZHMgQWJzdHJhY3RDb25maWd1cmVkRGJ4RmlyZWJhc2VMb2dpbkJ1dHRvbkRpcmVjdGl2ZSB7XG4gIHJlYWRvbmx5IGxvZ2luUHJvdmlkZXIgPSAnbWljcm9zb2Z0JztcblxuICBoYW5kbGVMb2dpbigpIHtcbiAgICByZXR1cm4gdGhpcy5kYnhGaXJlYmFzZUF1dGhTZXJ2aWNlLmxvZ0luV2l0aE1pY3Jvc29mdCgpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { AbstractConfiguredDbxFirebaseLoginButtonDirective, DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE } from './login.button.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./login.button.component";
|
|
5
|
-
export class DbxFirebaseLoginTwitterComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
6
|
-
constructor() {
|
|
7
|
-
super(...arguments);
|
|
8
|
-
this.loginProvider = 'twitter';
|
|
9
|
-
}
|
|
10
|
-
handleLogin() {
|
|
11
|
-
return this.dbxFirebaseAuthService.logInWithTwitter();
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
DbxFirebaseLoginTwitterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFirebaseLoginTwitterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
DbxFirebaseLoginTwitterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: DbxFirebaseLoginTwitterComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"config\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: i1.DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"] }, { kind: "component", type: i1.DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }] });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFirebaseLoginTwitterComponent, decorators: [{
|
|
17
|
-
type: Component,
|
|
18
|
-
args: [{
|
|
19
|
-
template: DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE
|
|
20
|
-
}]
|
|
21
|
-
}] });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4udHdpdHRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9kYngtZmlyZWJhc2Uvc3JjL2xpYi9hdXRoL2xvZ2luL2xvZ2luLnR3aXR0ZXIuY29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