@dereekb/dbx-firebase 13.0.7 → 13.2.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/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-firebase",
|
|
3
|
-
"version": "13.0
|
|
3
|
+
"version": "13.2.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^21.0.0",
|
|
6
6
|
"@angular/core": "^21.0.0",
|
|
7
7
|
"@angular/fire": "21.0.0-rc.0-canary.ac3dd7c",
|
|
8
8
|
"@angular/material": "^21.0.0",
|
|
9
|
-
"@dereekb/date": "13.0
|
|
10
|
-
"@dereekb/dbx-analytics": "13.0
|
|
11
|
-
"@dereekb/dbx-core": "13.0
|
|
12
|
-
"@dereekb/dbx-form": "13.0
|
|
13
|
-
"@dereekb/dbx-web": "13.0
|
|
14
|
-
"@dereekb/firebase": "13.0
|
|
15
|
-
"@dereekb/model": "13.0
|
|
16
|
-
"@dereekb/rxjs": "13.0
|
|
17
|
-
"@dereekb/util": "13.0
|
|
9
|
+
"@dereekb/date": "13.2.0",
|
|
10
|
+
"@dereekb/dbx-analytics": "13.2.0",
|
|
11
|
+
"@dereekb/dbx-core": "13.2.0",
|
|
12
|
+
"@dereekb/dbx-form": "13.2.0",
|
|
13
|
+
"@dereekb/dbx-web": "13.2.0",
|
|
14
|
+
"@dereekb/firebase": "13.2.0",
|
|
15
|
+
"@dereekb/model": "13.2.0",
|
|
16
|
+
"@dereekb/rxjs": "13.2.0",
|
|
17
|
+
"@dereekb/util": "13.2.0",
|
|
18
18
|
"@ngrx/component-store": "^21.0.0",
|
|
19
19
|
"@ngx-formly/core": "git+https://git@github.com/dereekb/ngx-formly#996d1041c8d2afbe429985a5ad394e59327bfa1d",
|
|
20
20
|
"firebase": "^12.0.0",
|
|
@@ -7,20 +7,20 @@ import * as rxjs from 'rxjs';
|
|
|
7
7
|
import { Observable, BehaviorSubject, Subject, OperatorFunction, Subscription } from 'rxjs';
|
|
8
8
|
import * as _dereekb_firebase from '@dereekb/firebase';
|
|
9
9
|
import { FirebaseAuthToken, FirebaseAuthContextInfo, FirebaseDevelopmentFunctions, ScheduledFunctionDevelopmentFirebaseFunctionListEntry, FirestoreContext, NotificationFirestoreCollections, StorageFileFirestoreCollections, SystemStateFirestoreCollections, FirebaseFunctionsMap, FirebaseFunctionsConfigMap, FirestoreQueryConstraint, FirestoreItemPageIterationInstance, DocumentDataWithIdAndKey, IterationQueryDocChangeWatcher, FirebaseQuerySnapshotAccumulator, FirebaseQueryItemAccumulator, FirebaseQueryItemAccumulatorNextPageUntilResultsCountFunction, IterationQueryDocChangeWatcherEvent, FirestoreDocument, FirestoreCollectionLike, FirestoreModelKey, DocumentReference, FirestoreItemPageIteratorFilter, FirestoreModelId, DocumentSnapshot, FirestoreDocumentAccessor, LimitedFirestoreDocumentAccessor, FirestoreModelType, FirestoreDocumentData, FirestoreAccessorStreamMode, SnapshotOptions, FirebasePermissionErrorContext, InModelContextFirebaseModelService, InContextFirebaseModelsService, FirebaseModelsService, FirestoreModelIdentityTypeMap, FirestoreModelIdentity, FirestoreCollectionType, FirestoreCollection, FlatFirestoreModelKey, TwoWayFlatFirestoreModelKey, FirestoreModelCollectionAndIdPair, FirestoreModelCollectionAndIdPairObject, IterationQueryDocChangeWatcherChangeType, OnCallCreateModelResult, ModelFirebaseCreateFunction, ModelFirebaseCrudFunction, TargetModelParams, InferredTargetModelParams, ModelFirebaseDeleteFunction, ModelFirebaseReadFunction, ModelFirebaseUpdateFunction, FirestoreCollectionWithParentFactory, FirestoreCollectionGroup, SystemState, SystemStateDocument, SystemStateStoredData, SystemStateTypeIdentifier, AppNotificationTemplateTypeInfoRecordService, NotificationItemMetadata, NotificationItem, NotificationItemSubjectMessagePair, NotificationId, Notification, NotificationBox, NotificationDocument, NotificationBoxDocument, NotificationFunctions, NotificationSummary, NotificationSummaryDocument, UnreadNotificationItemsResult, NotificationUser, NotificationUserDocument, NotificationTemplateType, NotificationTemplateTypeInfo, FirebaseAuthUserId, StorageFileId, StorageFileSignedDownloadUrl, FirestoreModelIdInput, StorageFileFunctions, StorageFileKey, DownloadStorageFileParams, DownloadStorageFileResult, StorageFileDownloadUrl, StoragePathInput, FirebaseStorageAccessorFile, StorageFile, StorageFileDocument, StorageFileGroup, StorageFileGroupDocument, FirebaseStorageAccessor, FirebaseStorageContext, FirebaseStorageAccessorFolder, StorageUploadTask, StorageUploadOptions, StorageCustomMetadata, FirebaseStorageContextFactoryConfig } from '@dereekb/firebase';
|
|
10
|
+
import * as firebase_auth from 'firebase/auth';
|
|
10
11
|
import { UserInfo, User, IdTokenResult as IdTokenResult$1 } from 'firebase/auth';
|
|
11
12
|
import * as i0 from '@angular/core';
|
|
12
13
|
import { EnvironmentProviders, Type, InjectionToken, OnInit, Component, EventEmitter, Injector, AfterViewInit, ElementRef, Signal, Provider, PipeTransform } from '@angular/core';
|
|
13
14
|
import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
|
|
14
15
|
import * as _dereekb_dbx_form from '@dereekb/dbx-form';
|
|
15
16
|
import { TextPasswordFieldPasswordParameters, AbstractSyncFormlyFormDirective, AbstractConfigAsyncFormlyFormDirective, DefaultUsernameLoginFieldsValue, TextPasswordFieldConfig, SourceSelectLoadSource } from '@dereekb/dbx-form';
|
|
16
|
-
import * as _firebase_auth from '@firebase/auth';
|
|
17
17
|
import * as _dereekb_dbx_firebase from '@dereekb/dbx-firebase';
|
|
18
18
|
import * as _dereekb_rxjs from '@dereekb/rxjs';
|
|
19
19
|
import { WorkUsingContext, WorkUsingObservable, ObservableOrValue, IsModifiedFunction, PageListLoadingState, ItemAccumulatorNextPageUntilResultsCountResult, SubscriptionObject, ObservableDecisionFunction, ListLoadingState, LoadingState, MaybeObservableOrValue, SwitchMapToDefaultFilterFunction, MaybeObservableOrValueGetter } from '@dereekb/rxjs';
|
|
20
20
|
import * as dist_packages_dbx_form_types_dereekb_dbx_form from 'dist/packages/dbx-form/types/dereekb-dbx-form';
|
|
21
21
|
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
22
22
|
import * as i1 from '@dereekb/dbx-web';
|
|
23
|
-
import { DbxWidgetEntry, DbxPopupService, DbxWidgetService, DbxWidgetType, TwoColumnsContextStore, AbstractPopupDirective, DbxPopupKey, AbstractDbxSelectionListWrapperDirective, AbstractDbxSelectionListViewDirective, DbxSelectionValueListViewConfig, DbxValueAsListItem, AbstractDbxValueListViewItemComponent, DbxModelTypesService, DbxModelTypeInfo, DbxModelTypesMap, DbxModelTrackerService, AnchorForValueFunction, AbstractPopoverDirective, DbxPopoverService, DbxPopoverKey, AbstractPopoverRefDirective, DbxPopoverConfigSizing, DbxButtonStyle, DownloadTextContent, DbxModelObjectStateService, DbxListViewWrapper, DbxWidgetViewComponentConfig, AbstractDbxWidgetComponent, DbxWebFilePreviewService, DbxActionDialogFunction, FileAcceptFilterTypeString, DbxFileUploadComponent, DbxActionModule, DbxLoadingComponent,
|
|
23
|
+
import { DbxWidgetEntry, DbxPopupService, DbxWidgetService, DbxWidgetType, TwoColumnsContextStore, AbstractPopupDirective, DbxPopupKey, AbstractDbxSelectionListWrapperDirective, AbstractDbxSelectionListViewDirective, DbxSelectionValueListViewConfig, DbxValueAsListItem, AbstractDbxValueListViewItemComponent, DbxModelTypesService, DbxModelTypeInfo, DbxModelTypesMap, DbxModelTrackerService, AnchorForValueFunction, AbstractPopoverDirective, DbxPopoverService, DbxPopoverKey, AbstractPopoverRefDirective, DbxPopoverConfigSizing, DbxButtonStyle, DownloadTextContent, DbxModelObjectStateService, DbxListViewWrapper, DbxWidgetViewComponentConfig, AbstractDbxWidgetComponent, DbxWebFilePreviewService, DbxActionDialogFunction, FileAcceptFilterTypeString, DbxFileUploadComponent, DbxActionModule, DbxLoadingComponent, DbxActionLoadingContextDirective, DbxActionSnackbarErrorDirective, DbxFileUploadActionSyncDirective } from '@dereekb/dbx-web';
|
|
24
24
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
25
25
|
import { NgPopoverRef } from 'ng-overlay-container';
|
|
26
26
|
import { AppCheckOptions } from 'firebase/app-check';
|
|
@@ -415,14 +415,14 @@ declare abstract class AbstractConfiguredDbxFirebaseLoginButtonDirective impleme
|
|
|
415
415
|
|
|
416
416
|
declare class DbxFirebaseLoginAnonymousComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
417
417
|
readonly loginProvider = "anonymous";
|
|
418
|
-
handleLogin(): Promise<
|
|
418
|
+
handleLogin(): Promise<firebase_auth.UserCredential>;
|
|
419
419
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseLoginAnonymousComponent, never>;
|
|
420
420
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginAnonymousComponent, "dbx-firebase-login-anonymous", never, {}, {}, never, never, true, never>;
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
declare class DbxFirebaseLoginAppleComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
424
424
|
readonly loginProvider = "apple";
|
|
425
|
-
handleLogin(): Promise<
|
|
425
|
+
handleLogin(): Promise<firebase_auth.UserCredential>;
|
|
426
426
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseLoginAppleComponent, never>;
|
|
427
427
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginAppleComponent, "dbx-firebase-login-apple", never, {}, {}, never, never, true, never>;
|
|
428
428
|
}
|
|
@@ -515,21 +515,21 @@ declare class DbxFirebaseLoginEmailContentComponent {
|
|
|
515
515
|
|
|
516
516
|
declare class DbxFirebaseLoginFacebookComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
517
517
|
readonly loginProvider = "facebook";
|
|
518
|
-
handleLogin(): Promise<
|
|
518
|
+
handleLogin(): Promise<firebase_auth.UserCredential>;
|
|
519
519
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseLoginFacebookComponent, never>;
|
|
520
520
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginFacebookComponent, "dbx-firebase-login-facebook", never, {}, {}, never, never, true, never>;
|
|
521
521
|
}
|
|
522
522
|
|
|
523
523
|
declare class DbxFirebaseLoginGitHubComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
524
524
|
readonly loginProvider = "github";
|
|
525
|
-
handleLogin(): Promise<
|
|
525
|
+
handleLogin(): Promise<firebase_auth.UserCredential>;
|
|
526
526
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseLoginGitHubComponent, never>;
|
|
527
527
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginGitHubComponent, "dbx-firebase-login-github", never, {}, {}, never, never, true, never>;
|
|
528
528
|
}
|
|
529
529
|
|
|
530
530
|
declare class DbxFirebaseLoginGoogleComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
531
531
|
readonly loginProvider = "google";
|
|
532
|
-
handleLogin(): Promise<
|
|
532
|
+
handleLogin(): Promise<firebase_auth.UserCredential>;
|
|
533
533
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseLoginGoogleComponent, never>;
|
|
534
534
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginGoogleComponent, "dbx-firebase-login-google", never, {}, {}, never, never, true, never>;
|
|
535
535
|
}
|
|
@@ -553,7 +553,7 @@ declare class DbxFirebaseLoginListComponent {
|
|
|
553
553
|
|
|
554
554
|
declare class DbxFirebaseLoginMicrosoftComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
555
555
|
readonly loginProvider = "microsoft";
|
|
556
|
-
handleLogin(): Promise<
|
|
556
|
+
handleLogin(): Promise<firebase_auth.UserCredential>;
|
|
557
557
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseLoginMicrosoftComponent, never>;
|
|
558
558
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginMicrosoftComponent, "dbx-firebase-login-microsoft", never, {}, {}, never, never, true, never>;
|
|
559
559
|
}
|
|
@@ -575,7 +575,7 @@ declare class DbxFirebaseLoginTermsSimpleComponent {
|
|
|
575
575
|
|
|
576
576
|
declare class DbxFirebaseLoginTwitterComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
577
577
|
readonly loginProvider = "twitter";
|
|
578
|
-
handleLogin(): Promise<
|
|
578
|
+
handleLogin(): Promise<firebase_auth.UserCredential>;
|
|
579
579
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseLoginTwitterComponent, never>;
|
|
580
580
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFirebaseLoginTwitterComponent, "dbx-firebase-login-twitter", never, {}, {}, never, never, true, never>;
|
|
581
581
|
}
|
|
@@ -3326,20 +3326,9 @@ declare class DbxFirebaseNotificationDocumentStoreDirective extends DbxFirebaseD
|
|
|
3326
3326
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseNotificationDocumentStoreDirective, "[dbxFirebaseNotificationDocument]", never, {}, {}, never, never, true, never>;
|
|
3327
3327
|
}
|
|
3328
3328
|
|
|
3329
|
-
declare class NotificationBoxDocumentStore extends AbstractDbxFirebaseDocumentStore<NotificationBox, NotificationBoxDocument> {
|
|
3330
|
-
readonly notificationFunctions: NotificationFunctions;
|
|
3331
|
-
constructor();
|
|
3332
|
-
readonly createdAt$: rxjs.Observable<_dereekb_util.Maybe<Date>>;
|
|
3333
|
-
readonly recipients$: rxjs.Observable<_dereekb_firebase.NotificationBoxRecipient[]>;
|
|
3334
|
-
readonly updateNotificationBox: _dereekb_dbx_firebase.DbxFirebaseDocumentStoreFunction<_dereekb_firebase.UpdateNotificationBoxParams, void>;
|
|
3335
|
-
readonly updateNotificationBoxRecipient: _dereekb_dbx_firebase.DbxFirebaseDocumentStoreFunction<_dereekb_firebase.UpdateNotificationBoxRecipientParams, void>;
|
|
3336
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationBoxDocumentStore, never>;
|
|
3337
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationBoxDocumentStore>;
|
|
3338
|
-
}
|
|
3339
|
-
|
|
3340
3329
|
declare class NotificationCollectionStore extends AbstractDbxFirebaseCollectionWithParentStore<Notification, NotificationBox, NotificationDocument, NotificationBoxDocument> {
|
|
3341
|
-
constructor(
|
|
3342
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationCollectionStore,
|
|
3330
|
+
constructor();
|
|
3331
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationCollectionStore, never>;
|
|
3343
3332
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationCollectionStore>;
|
|
3344
3333
|
}
|
|
3345
3334
|
|
|
@@ -3349,6 +3338,17 @@ declare class DbxFirebaseNotificationCollectionStoreDirective extends DbxFirebas
|
|
|
3349
3338
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseNotificationCollectionStoreDirective, "[dbxFirebaseNotificationCollection]", never, {}, {}, never, never, true, never>;
|
|
3350
3339
|
}
|
|
3351
3340
|
|
|
3341
|
+
declare class NotificationBoxDocumentStore extends AbstractDbxFirebaseDocumentStore<NotificationBox, NotificationBoxDocument> {
|
|
3342
|
+
readonly notificationFunctions: NotificationFunctions;
|
|
3343
|
+
constructor();
|
|
3344
|
+
readonly createdAt$: rxjs.Observable<_dereekb_util.Maybe<Date>>;
|
|
3345
|
+
readonly recipients$: rxjs.Observable<_dereekb_firebase.NotificationBoxRecipient[]>;
|
|
3346
|
+
readonly updateNotificationBox: _dereekb_dbx_firebase.DbxFirebaseDocumentStoreFunction<_dereekb_firebase.TargetModelParams, void>;
|
|
3347
|
+
readonly updateNotificationBoxRecipient: _dereekb_dbx_firebase.DbxFirebaseDocumentStoreFunction<_dereekb_firebase.UpdateNotificationBoxRecipientParams, void>;
|
|
3348
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationBoxDocumentStore, never>;
|
|
3349
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationBoxDocumentStore>;
|
|
3350
|
+
}
|
|
3351
|
+
|
|
3352
3352
|
declare class DbxFirebaseNotificationBoxDocumentStoreDirective extends DbxFirebaseDocumentStoreDirective<NotificationBox, NotificationBoxDocument, NotificationBoxDocumentStore> {
|
|
3353
3353
|
constructor();
|
|
3354
3354
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFirebaseNotificationBoxDocumentStoreDirective, never>;
|
|
@@ -3417,7 +3417,7 @@ declare class NotificationUserDocumentStore extends AbstractDbxFirebaseDocumentS
|
|
|
3417
3417
|
readonly notificationFunctions: NotificationFunctions;
|
|
3418
3418
|
constructor();
|
|
3419
3419
|
readonly updateNotificationUser: _dereekb_dbx_firebase.DbxFirebaseDocumentStoreFunction<_dereekb_firebase.UpdateNotificationUserParams, void>;
|
|
3420
|
-
readonly resyncNotificationUser: _dereekb_dbx_firebase.DbxFirebaseDocumentStoreFunction<_dereekb_firebase.
|
|
3420
|
+
readonly resyncNotificationUser: _dereekb_dbx_firebase.DbxFirebaseDocumentStoreFunction<_dereekb_firebase.TargetModelParams, _dereekb_firebase.ResyncNotificationUserResult>;
|
|
3421
3421
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationUserDocumentStore, never>;
|
|
3422
3422
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationUserDocumentStore>;
|
|
3423
3423
|
}
|
|
@@ -4247,7 +4247,7 @@ declare class DbxFirebaseStorageFileUploadSyncDirective {
|
|
|
4247
4247
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFirebaseStorageFileUploadSyncDirective, "[dbxFirebaseStorageFileUploadSync]", ["dbxFirebaseStorageFileUploadSync"], {}, {}, never, never, true, never>;
|
|
4248
4248
|
}
|
|
4249
4249
|
|
|
4250
|
-
declare const importsAndExports: (typeof DbxActionModule | typeof DbxLoadingComponent | typeof
|
|
4250
|
+
declare const importsAndExports: (typeof DbxActionModule | typeof DbxLoadingComponent | typeof DbxActionLoadingContextDirective | typeof DbxActionSnackbarErrorDirective | typeof DbxFileUploadComponent | typeof DbxFileUploadActionSyncDirective | typeof DbxFirebaseStorageFileUploadActionHandlerDirective | typeof DbxFirebaseStorageFileUploadStoreDirective | typeof DbxFirebaseStorageFileUploadSyncDirective | typeof DbxFirebaseStorageFileUploadInitializeDocumentDirective | typeof DbxFirebaseStorageFileCollectionStoreDirective | typeof DbxFirebaseStorageFileDocumentStoreDirective)[];
|
|
4251
4251
|
/**
|
|
4252
4252
|
* Convenience module for importing various modules/components that are relevant to the storage file upload feature.
|
|
4253
4253
|
*
|