@dereekb/dbx-firebase 13.7.0 → 13.9.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/fesm2022/dereekb-dbx-firebase-oidc.mjs +198 -171
- package/fesm2022/dereekb-dbx-firebase-oidc.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-firebase.mjs +802 -657
- package/fesm2022/dereekb-dbx-firebase.mjs.map +1 -1
- package/package.json +16 -16
- package/types/dereekb-dbx-firebase-oidc.d.ts +55 -56
- package/types/dereekb-dbx-firebase.d.ts +234 -41
|
@@ -1,33 +1,30 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, Injectable, provideAppInitializer, makeEnvironmentProviders,
|
|
2
|
+
import { InjectionToken, inject, Injectable, provideAppInitializer, makeEnvironmentProviders, Component, model, computed, ChangeDetectionStrategy, signal, Directive, EventEmitter, input, output, Injector, viewChild, HostListener, NgModule, Optional, ElementRef, forwardRef, effect, DestroyRef, Inject, Pipe } from '@angular/core';
|
|
3
3
|
import { DbxAnalyticsService } from '@dereekb/dbx-analytics';
|
|
4
4
|
import { asObservable, timeoutStartWith, filterMaybe, isNot, SubscriptionObject, lazyFrom, switchMapWhileTrue, loadingStateFromObs, distinctUntilKeysChange, cleanupDestroyable, iterationHasNextAndCanLoadMore, pageItemAccumulatorCurrentPage, accumulatorFlattenPageListLoadingState, useFirst, itemAccumulatorNextPageUntilResultsCount, iteratorNextPageUntilPage, iteratorNextPageUntilMaxPageLoadLimit, pageLoadingStateFromObs, useAsObservable, filterMaybeArray, mapEachAsync, invertObservableDecision, filterItemsWithObservableDecision, switchMapMaybe, beginLoading, mapLoadingStateValueWithOperator, valueFromFinishedLoadingState, skipInitialMaybe, distinctUntilModelKeyChange, successResult, errorResult, isLoadingStateLoading, cleanup, mapLoadingState, throwErrorFromLoadingStateError, maybeValueFromObservableOrValue, distinctUntilHasDifferentValues, MultiSubscriptionObject, startWithBeginLoading, skipAllInitialMaybe } from '@dereekb/rxjs';
|
|
5
|
-
import { switchMap, of, shareReplay, map, Subject, merge, distinctUntilChanged, EMPTY, catchError, firstValueFrom, tap, BehaviorSubject, combineLatest, first, from, interval, exhaustMap, filter, take, startWith, throttleTime, NEVER, defaultIfEmpty, combineLatestWith, mergeMap
|
|
5
|
+
import { Observable, switchMap, of, shareReplay, map, Subject, merge, distinctUntilChanged, EMPTY, catchError, firstValueFrom, tap, BehaviorSubject, combineLatest, first, from, interval, exhaustMap, filter, take, startWith, throttleTime, NEVER, defaultIfEmpty, combineLatestWith, mergeMap } from 'rxjs';
|
|
6
6
|
import * as i2 from '@dereekb/dbx-core';
|
|
7
7
|
import { loggedInObsFromIsLoggedIn, loggedOutObsFromIsLoggedIn, authUserIdentifier, DbxInjectionContext, DBX_INJECTION_COMPONENT_DATA, DbxInjectionComponent, AbstractForwardDbxInjectionContextDirective, DbxInjectionContextDirective, DbxAuthService, DbxActionButtonDirective, completeOnDestroy, cleanSubscription, DbxActionDirective, DbxActionEnforceModifiedDirective, DbxActionHandlerDirective, DbxActionAutoTriggerDirective, clean, cleanLoadingContext, provideDbxRouteModelIdDirectiveDelegate, provideDbxRouteModelKeyDirectiveDelegate, AbstractIfDirective, LockSetComponentStore, newWithInjector, CutTextPipe, DbxActionContextStoreSourceInstance, DbxActionHandlerInstance, cleanSubscriptionWithLockSet, SimpleStorageAccessorFactory, dbxRouteParamReaderInstance, DbxRouteParamDefaultRedirectInstance } from '@dereekb/dbx-core';
|
|
8
|
-
import {
|
|
8
|
+
import { onAuthStateChanged, onIdTokenChanged, confirmPasswordReset, sendPasswordResetEmail, signInWithPopup, linkWithPopup, linkWithCredential, unlink, createUserWithEmailAndPassword, signInWithEmailAndPassword, signInAnonymously, reauthenticateWithPopup, OAuthProvider, FacebookAuthProvider, GithubAuthProvider, GoogleAuthProvider, TwitterAuthProvider, getAuth, connectAuthEmulator } from 'firebase/auth';
|
|
9
9
|
import { AUTH_ADMIN_ROLE, cachedGetter, urlWithoutParameters, addToSet, removeFromSet, filterMaybeArrayValues, mapIterable, asArray, excludeValuesFromArray, containsStringAnyCase, addToSetCopy, iterableToArray, runAsyncTasksForValues, pushArrayItemsIntoArray, forEachKeyValue, countAllInNestedArray, invertDecision, useIterableOrValue, filterUniqueValues, reverseCompareFn, sortByNumberFunction, separateValues, readableError, isMaybeSo, firstValue, splitJoinRemainder, MS_IN_HOUR, SECONDS_IN_MINUTE, MS_IN_DAY, unixDateTimeSecondsNumberForNow, MS_IN_MINUTE, addMilliseconds, unixDateTimeSecondsNumberFromDate, dateFromDateOrTimeSecondsNumber, MS_IN_SECOND, isPast } from '@dereekb/util';
|
|
10
10
|
import { safeFormatToISO8601DateString, msToSeconds, isSameDate } from '@dereekb/date';
|
|
11
|
-
import { sendPasswordResetEmail } from 'firebase/auth';
|
|
12
11
|
import { getToken, initializeAppCheck, ReCaptchaV3Provider } from 'firebase/app-check';
|
|
13
|
-
import { AppCheck, provideAppCheck } from '@angular/fire/app-check';
|
|
14
12
|
import * as i1$1 from '@dereekb/dbx-web';
|
|
15
13
|
import { DbxLinkComponent, DbxActionModule, DbxButtonModule, DbxErrorComponent, DbxActionErrorDirective, DbxButtonComponent, DbxButtonSpacerDirective, DbxRouterAnchorModule, DbxSectionComponent, DbxWidgetService, AbstractDbxSelectionListWrapperDirective, DbxListWrapperComponentImportsModule, provideDbxListViewWrapper, DEFAULT_LIST_WRAPPER_COMPONENT_CONFIGURATION_TEMPLATE, AbstractDbxSelectionListViewDirective, DbxSelectionValueListViewComponentImportsModule, provideDbxListView, DEFAULT_DBX_SELECTION_VALUE_LIST_COMPONENT_CONFIGURATION_TEMPLATE, AbstractDbxValueListViewItemComponent, TwoColumnsContextStore, DbxAnchorComponent, DbxTwoColumnFullLeftDirective, DbxWidgetViewComponent, DbxTwoColumnComponent, DbxTwoBlockComponent, DbxTwoColumnRightComponent, AbstractPopupDirective, DbxPopupService, DbxPopupContentComponent, DbxPopupControlsComponent, DbxModelTypesService, DbxModelTrackerService, allDbxModelViewTrackerEventModelKeys, DbxListItemAnchorModifierDirective, DbxValueListItemModifierDirective, AbstractPopoverDirective, DbxPopoverContentComponent, DbxPopoverHeaderComponent, DbxPopoverScrollContentDirective, DbxListEmptyContentComponent, AbstractPopoverRefDirective, DbxPopoverService, DbxLoadingComponent, DbxDetailBlockComponent, DbxClickToCopyTextComponent, DbxDownloadTextViewComponent, DbxModelObjectStateService, DbxListViewWrapper, AbstractDbxWidgetComponent, DbxPopoverInteractionModule, DbxListModifierModule, DbxWebFilePreviewService, DbxActionSnackbarErrorDirective, DbxActionDialogDirective, DbxFileUploadComponent, DbxActionLoadingContextDirective, DbxFileUploadActionSyncDirective } from '@dereekb/dbx-web';
|
|
16
14
|
import * as i1 from '@angular/material/icon';
|
|
17
15
|
import { MatIconModule, MatIcon } from '@angular/material/icon';
|
|
18
|
-
import { firebaseAuthErrorToReadableError, FirebaseDevelopmentFunctions, ScheduledFunctionDevelopmentFunctionTypeEnum, clientFirebaseFirestoreContextFactory, SystemStateFirestoreCollections, NotificationFirestoreCollections, StorageFileFirestoreCollections, FIREBASE_DEVELOPMENT_FUNCTIONS_MAP_KEY, iterationQueryDocChangeWatcher, firebaseQuerySnapshotAccumulator, firebaseQueryItemAccumulator, firestoreModelKeysFromDocuments, firestoreModelIdsFromDocuments, documentReferencesFromDocuments, getDocumentSnapshots, getDataFromDocumentSnapshots, latestSnapshotsFromDocuments, dataFromDocumentSnapshots, loadDocumentsForKeys, loadDocumentsForDocumentReferences, loadDocumentsForIds, firestoreModelKeyCollectionTypePair, buildFirebaseCollectionTypeModelTypeMap, firestoreModelId, flatFirestoreModelKey, twoWayFlatFirestoreModelKey, FirestoreAccessorStreamMode, firestoreModelIdsFromKey, firestoreModelKeyPartPairs, firestoreModelKeyPairObject, documentDataWithIdAndKey, isClientFirebaseError, FIRESTORE_PERMISSION_DENIED_ERROR_CODE, inferKeyFromTwoWayFlatFirestoreModelKey, firestoreModelKeyParentKey, AppNotificationTemplateTypeInfoRecordService, NotificationFunctions, unreadNotificationItems, StorageFileFunctions, firestoreModelKey, storageFileIdentity, clientFirebaseStorageContextFactory } from '@dereekb/firebase';
|
|
16
|
+
import { firebaseAuthErrorToReadableError, FIREBASE_AUTH_PASSWORD_MIN_LENGTH, FirebaseDevelopmentFunctions, ScheduledFunctionDevelopmentFunctionTypeEnum, clientFirebaseFirestoreContextFactory, SystemStateFirestoreCollections, NotificationFirestoreCollections, StorageFileFirestoreCollections, FIREBASE_DEVELOPMENT_FUNCTIONS_MAP_KEY, iterationQueryDocChangeWatcher, firebaseQuerySnapshotAccumulator, firebaseQueryItemAccumulator, firestoreModelKeysFromDocuments, firestoreModelIdsFromDocuments, documentReferencesFromDocuments, getDocumentSnapshots, getDataFromDocumentSnapshots, latestSnapshotsFromDocuments, dataFromDocumentSnapshots, loadDocumentsForKeys, loadDocumentsForDocumentReferences, loadDocumentsForIds, firestoreModelKeyCollectionTypePair, buildFirebaseCollectionTypeModelTypeMap, firestoreModelId, flatFirestoreModelKey, twoWayFlatFirestoreModelKey, FirestoreAccessorStreamMode, firestoreModelIdsFromKey, firestoreModelKeyPartPairs, firestoreModelKeyPairObject, documentDataWithIdAndKey, isClientFirebaseError, FIRESTORE_PERMISSION_DENIED_ERROR_CODE, inferKeyFromTwoWayFlatFirestoreModelKey, firestoreModelKeyParentKey, AppNotificationTemplateTypeInfoRecordService, NotificationFunctions, unreadNotificationItems, StorageFileFunctions, firestoreModelKey, storageFileIdentity, clientFirebaseStorageContextFactory } from '@dereekb/firebase';
|
|
19
17
|
import * as i1$2 from '@dereekb/dbx-form';
|
|
20
|
-
import {
|
|
18
|
+
import { AbstractSyncForgeFormDirective, dbxForgeEmailField, DbxForgeFormComponentImportsModule, dbxForgeFormComponentProviders, DBX_FORGE_FORM_COMPONENT_TEMPLATE, AbstractConfigAsyncForgeFormDirective, dbxForgeUsernameLoginField, dbxForgeTextPasswordField, dbxForgeTextVerifyPasswordField, DbxActionFormDirective, DbxFormSourceDirective, dbxForgePickableChipField, filterPickableItemFieldValuesByLabel } from '@dereekb/dbx-form';
|
|
21
19
|
import { NgTemplateOutlet, DatePipe } from '@angular/common';
|
|
22
20
|
import * as i1$3 from '@angular/material/button';
|
|
23
21
|
import { MatButtonModule } from '@angular/material/button';
|
|
24
22
|
import { toSignal, toObservable } from '@angular/core/rxjs-interop';
|
|
25
23
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
26
24
|
import { initializeApp } from 'firebase/app';
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import { provideFirestore, persistentMultipleTabManager, persistentSingleTabManager, persistentLocalCache, initializeFirestore, connectFirestoreEmulator, Firestore } from '@angular/fire/firestore';
|
|
25
|
+
import { persistentMultipleTabManager, persistentSingleTabManager, persistentLocalCache, initializeFirestore, connectFirestoreEmulator } from 'firebase/firestore';
|
|
26
|
+
import { getStorage, connectStorageEmulator } from 'firebase/storage';
|
|
27
|
+
import { getFunctions, connectFunctionsEmulator } from 'firebase/functions';
|
|
31
28
|
import { HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
32
29
|
import { MatExpansionPanel, MatExpansionPanelHeader, MatExpansionPanelTitle, MatExpansionPanelContent, MatAccordion } from '@angular/material/expansion';
|
|
33
30
|
import { ComponentStore } from '@ngrx/component-store';
|
|
@@ -35,6 +32,75 @@ import { __decorate, __param } from 'tslib';
|
|
|
35
32
|
import { MatDialog } from '@angular/material/dialog';
|
|
36
33
|
import { BaseError } from 'make-error';
|
|
37
34
|
|
|
35
|
+
/**
|
|
36
|
+
* Injection token for the Firebase App instance.
|
|
37
|
+
*/
|
|
38
|
+
const FIREBASE_APP_TOKEN = new InjectionToken('FirebaseApp');
|
|
39
|
+
/**
|
|
40
|
+
* Injection token for the Firebase Auth instance.
|
|
41
|
+
*/
|
|
42
|
+
const FIREBASE_AUTH_TOKEN = new InjectionToken('FirebaseAuth');
|
|
43
|
+
/**
|
|
44
|
+
* Injection token for the Firestore instance.
|
|
45
|
+
*/
|
|
46
|
+
const FIREBASE_FIRESTORE_TOKEN = new InjectionToken('Firestore');
|
|
47
|
+
/**
|
|
48
|
+
* Injection token for the Firebase Storage instance.
|
|
49
|
+
*
|
|
50
|
+
* Uses `FirebaseStorage` (not `Storage`) to avoid collision with the Web Storage API.
|
|
51
|
+
*/
|
|
52
|
+
const FIREBASE_STORAGE_TOKEN = new InjectionToken('FirebaseStorage');
|
|
53
|
+
/**
|
|
54
|
+
* Injection token for the Firebase Functions instance.
|
|
55
|
+
*/
|
|
56
|
+
const FIREBASE_FUNCTIONS_TOKEN = new InjectionToken('FirebaseFunctions');
|
|
57
|
+
/**
|
|
58
|
+
* Injection token for the Firebase App Check instance.
|
|
59
|
+
*/
|
|
60
|
+
const FIREBASE_APP_CHECK_TOKEN = new InjectionToken('FirebaseAppCheck');
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Creates an Observable that emits the current Firebase auth state.
|
|
64
|
+
*
|
|
65
|
+
* Wraps `onAuthStateChanged` in an Observable. Emits the current `User` when
|
|
66
|
+
* signed in, or `null`/`undefined` when signed out.
|
|
67
|
+
*
|
|
68
|
+
* Replacement for rxfire's `authState()`.
|
|
69
|
+
*
|
|
70
|
+
* @param auth - The Firebase Auth instance to observe.
|
|
71
|
+
* @returns Observable that emits the current user or null/undefined.
|
|
72
|
+
*/
|
|
73
|
+
function firebaseAuthState(auth) {
|
|
74
|
+
return new Observable((subscriber) => {
|
|
75
|
+
const unsubscribe = onAuthStateChanged(auth, (user) => subscriber.next(user), (error) => subscriber.error(error), () => subscriber.complete());
|
|
76
|
+
return { unsubscribe };
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Creates an Observable that emits the current Firebase ID token string.
|
|
81
|
+
*
|
|
82
|
+
* Wraps `onIdTokenChanged` in an Observable. When a user is signed in,
|
|
83
|
+
* emits the ID token string via `getIdToken()`. When signed out, emits `null`.
|
|
84
|
+
*
|
|
85
|
+
* Replacement for rxfire's `idToken()`.
|
|
86
|
+
*
|
|
87
|
+
* @param auth - The Firebase Auth instance to observe.
|
|
88
|
+
* @returns Observable that emits the current ID token string or null.
|
|
89
|
+
*/
|
|
90
|
+
function firebaseIdToken(auth) {
|
|
91
|
+
return new Observable((subscriber) => {
|
|
92
|
+
const unsubscribe = onIdTokenChanged(auth, (user) => {
|
|
93
|
+
if (user) {
|
|
94
|
+
user.getIdToken().then((token) => subscriber.next(token), (error) => subscriber.error(error));
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
subscriber.next(null);
|
|
98
|
+
}
|
|
99
|
+
}, (error) => subscriber.error(error), () => subscriber.complete());
|
|
100
|
+
return { unsubscribe };
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
|
|
38
104
|
/**
|
|
39
105
|
* Converts a Firebase Auth {@link User} into an {@link AuthUserInfo} containing display name, email, phone, photo URL, UID, and metadata timestamps.
|
|
40
106
|
*
|
|
@@ -111,19 +177,41 @@ function stateFromTokenForLoggedInUserFunction(stateFromToken, defaultState = 'u
|
|
|
111
177
|
*/
|
|
112
178
|
function readValueFromIdToken(dbxFirebaseAuthService, readValueFromIdToken, defaultValue) {
|
|
113
179
|
return dbxFirebaseAuthService.currentAuthUserInfo$.pipe(switchMap((x) => {
|
|
114
|
-
|
|
115
|
-
return dbxFirebaseAuthService.idTokenResult$.pipe(switchMap((x) => asObservable(readValueFromIdToken(x))));
|
|
116
|
-
}
|
|
117
|
-
else {
|
|
118
|
-
return of(defaultValue);
|
|
119
|
-
}
|
|
180
|
+
return x ? dbxFirebaseAuthService.idTokenResult$.pipe(switchMap((x) => asObservable(readValueFromIdToken(x)))) : of(defaultValue);
|
|
120
181
|
}));
|
|
121
182
|
}
|
|
122
183
|
|
|
123
184
|
// MARK: Delegate
|
|
185
|
+
/**
|
|
186
|
+
* Delegate that customizes the behavior of {@link DbxFirebaseAuthService}.
|
|
187
|
+
*
|
|
188
|
+
* Provides extension points for auth state derivation, role mapping, onboarding checks,
|
|
189
|
+
* and password reset flows. Override individual methods to integrate with custom backends
|
|
190
|
+
* (e.g., claims-based reset via a callable function) while keeping defaults for the rest.
|
|
191
|
+
*
|
|
192
|
+
* @example
|
|
193
|
+
* ```ts
|
|
194
|
+
* const delegate: DbxFirebaseAuthServiceDelegate = {
|
|
195
|
+
* ...DEFAULT_DBX_FIREBASE_AUTH_SERVICE_DELEGATE,
|
|
196
|
+
* sendPasswordReset: async (service, email) => {
|
|
197
|
+
* await myCustomResetApi(email);
|
|
198
|
+
* }
|
|
199
|
+
* };
|
|
200
|
+
* ```
|
|
201
|
+
*/
|
|
124
202
|
class DbxFirebaseAuthServiceDelegate {
|
|
203
|
+
/**
|
|
204
|
+
* When true, the delegate has full control over the {@link AuthUserState} observable
|
|
205
|
+
* and the service will not wrap it with its own logged-in/logged-out logic.
|
|
206
|
+
*/
|
|
125
207
|
fullControlOfAuthUserState = false;
|
|
126
208
|
}
|
|
209
|
+
/**
|
|
210
|
+
* Default {@link DbxFirebaseAuthServiceDelegate} that uses Firebase's built-in auth methods.
|
|
211
|
+
*
|
|
212
|
+
* Password reset uses `sendPasswordResetEmail()` and `confirmPasswordReset()` from `firebase/auth`.
|
|
213
|
+
* Auth state defaults to `'user'` when logged in, `'none'` otherwise.
|
|
214
|
+
*/
|
|
127
215
|
const DEFAULT_DBX_FIREBASE_AUTH_SERVICE_DELEGATE = {
|
|
128
216
|
authUserStateObs: authUserStateFromFirebaseAuthServiceFunction(),
|
|
129
217
|
authRolesObs(dbxFirebaseAuthService) {
|
|
@@ -134,13 +222,19 @@ const DEFAULT_DBX_FIREBASE_AUTH_SERVICE_DELEGATE = {
|
|
|
134
222
|
},
|
|
135
223
|
isAdminInAuthRoleSet(authRoleSet) {
|
|
136
224
|
return authRoleSet.has(AUTH_ADMIN_ROLE);
|
|
225
|
+
},
|
|
226
|
+
sendPasswordReset(dbxFirebaseAuthService, email) {
|
|
227
|
+
return sendPasswordResetEmail(dbxFirebaseAuthService.firebaseAuth, email);
|
|
228
|
+
},
|
|
229
|
+
completePasswordReset(dbxFirebaseAuthService, input) {
|
|
230
|
+
return confirmPasswordReset(dbxFirebaseAuthService.firebaseAuth, input.oobCode, input.newPassword);
|
|
137
231
|
}
|
|
138
232
|
};
|
|
139
233
|
// MARK: Service
|
|
140
234
|
class DbxFirebaseAuthService {
|
|
141
|
-
firebaseAuth = inject(
|
|
235
|
+
firebaseAuth = inject(FIREBASE_AUTH_TOKEN);
|
|
142
236
|
delegate = inject(DbxFirebaseAuthServiceDelegate, { optional: true }) ?? DEFAULT_DBX_FIREBASE_AUTH_SERVICE_DELEGATE;
|
|
143
|
-
_authState$ =
|
|
237
|
+
_authState$ = firebaseAuthState(this.firebaseAuth);
|
|
144
238
|
/**
|
|
145
239
|
* Subject that triggers a re-emission of the current auth user.
|
|
146
240
|
*
|
|
@@ -175,7 +269,7 @@ class DbxFirebaseAuthService {
|
|
|
175
269
|
* Alias for uid$
|
|
176
270
|
*/
|
|
177
271
|
userIdentifier$ = this.uid$;
|
|
178
|
-
currentIdTokenString$ =
|
|
272
|
+
currentIdTokenString$ = firebaseIdToken(this.firebaseAuth).pipe(distinctUntilChanged(), shareReplay(1));
|
|
179
273
|
idTokenString$ = this.currentUid$.pipe(switchMap((x) => (x ? this.currentIdTokenString$.pipe(filterMaybe()) : EMPTY)));
|
|
180
274
|
currentIdTokenResult$ = this.currentAuthUser$.pipe(switchMap((x) => (x ? this.currentIdTokenString$.pipe(switchMap((y) => (y ? x.getIdTokenResult() : of(null)))) : of(null))), distinctUntilChanged(), shareReplay(1));
|
|
181
275
|
idTokenResult$ = this.currentIdTokenResult$.pipe(filterMaybe());
|
|
@@ -191,12 +285,7 @@ class DbxFirebaseAuthService {
|
|
|
191
285
|
}
|
|
192
286
|
else {
|
|
193
287
|
obs = this._authState$.pipe(distinctUntilChanged(), switchMap((x) => {
|
|
194
|
-
|
|
195
|
-
return delegateAuthUserStateObs;
|
|
196
|
-
}
|
|
197
|
-
else {
|
|
198
|
-
return of('none');
|
|
199
|
-
}
|
|
288
|
+
return x != null ? delegateAuthUserStateObs : of('none');
|
|
200
289
|
}));
|
|
201
290
|
}
|
|
202
291
|
return obs;
|
|
@@ -213,15 +302,11 @@ class DbxFirebaseAuthService {
|
|
|
213
302
|
return user.getIdTokenResult(true);
|
|
214
303
|
}
|
|
215
304
|
rolesForClaims(claims) {
|
|
216
|
-
let result;
|
|
217
305
|
if (this._authRoleClaimsService) {
|
|
218
306
|
return this._authRoleClaimsService.toRoles(claims);
|
|
219
307
|
}
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
result = new Set();
|
|
223
|
-
}
|
|
224
|
-
return result;
|
|
308
|
+
console.warn('DbxFirebaseAuthService: rolesForClaims called with no authRoleClaimsService provided. An empty set is returned.');
|
|
309
|
+
return new Set();
|
|
225
310
|
}
|
|
226
311
|
getAuthContextInfo() {
|
|
227
312
|
return firstValueFrom(this.authUser$).then((user) => this.loadAuthContextInfoForUser(user));
|
|
@@ -254,9 +339,7 @@ class DbxFirebaseAuthService {
|
|
|
254
339
|
if (x) {
|
|
255
340
|
return linkWithPopup(x, provider, resolver);
|
|
256
341
|
}
|
|
257
|
-
|
|
258
|
-
throw new Error('User is not logged in currently.');
|
|
259
|
-
}
|
|
342
|
+
throw new Error('User is not logged in currently.');
|
|
260
343
|
}), tap(() => this._authUpdate$.next())));
|
|
261
344
|
}
|
|
262
345
|
/**
|
|
@@ -276,9 +359,7 @@ class DbxFirebaseAuthService {
|
|
|
276
359
|
if (x) {
|
|
277
360
|
return linkWithCredential(x, credential);
|
|
278
361
|
}
|
|
279
|
-
|
|
280
|
-
throw new Error('User is not logged in currently.');
|
|
281
|
-
}
|
|
362
|
+
throw new Error('User is not logged in currently.');
|
|
282
363
|
}), tap(() => this._authUpdate$.next())));
|
|
283
364
|
}
|
|
284
365
|
/**
|
|
@@ -297,16 +378,49 @@ class DbxFirebaseAuthService {
|
|
|
297
378
|
if (x) {
|
|
298
379
|
return unlink(x, providerId);
|
|
299
380
|
}
|
|
300
|
-
|
|
301
|
-
throw new Error('User is not logged in currently.');
|
|
302
|
-
}
|
|
381
|
+
throw new Error('User is not logged in currently.');
|
|
303
382
|
}), tap(() => this._authUpdate$.next())));
|
|
304
383
|
}
|
|
305
384
|
registerWithEmailAndPassword(email, password) {
|
|
306
385
|
return createUserWithEmailAndPassword(this.firebaseAuth, email, password);
|
|
307
386
|
}
|
|
387
|
+
/**
|
|
388
|
+
* Sends a password reset email to the given address via the configured delegate.
|
|
389
|
+
*
|
|
390
|
+
* @param email - the email address to send the reset to
|
|
391
|
+
* @returns A promise that resolves when the email has been sent.
|
|
392
|
+
*
|
|
393
|
+
* @example
|
|
394
|
+
* ```ts
|
|
395
|
+
* await authService.sendPasswordReset('user@example.com');
|
|
396
|
+
* ```
|
|
397
|
+
*/
|
|
398
|
+
sendPasswordReset(email) {
|
|
399
|
+
return this.delegate.sendPasswordReset(this, email);
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* Completes a password reset using the verification code and new password via the configured delegate.
|
|
403
|
+
*
|
|
404
|
+
* @param input - the verification code and new password
|
|
405
|
+
* @returns A promise that resolves when the password has been reset.
|
|
406
|
+
*
|
|
407
|
+
* @example
|
|
408
|
+
* ```ts
|
|
409
|
+
* await authService.completePasswordReset({ oobCode: 'abc123', newPassword: 'newPass' });
|
|
410
|
+
* ```
|
|
411
|
+
*/
|
|
412
|
+
completePasswordReset(input) {
|
|
413
|
+
return this.delegate.completePasswordReset(this, input);
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* @deprecated use {@link sendPasswordReset} instead, which delegates to the configured
|
|
417
|
+
* {@link DbxFirebaseAuthServiceDelegate.sendPasswordReset} implementation.
|
|
418
|
+
*
|
|
419
|
+
* @param email - the email address to send the reset to
|
|
420
|
+
* @returns A promise that resolves when the email has been sent.
|
|
421
|
+
*/
|
|
308
422
|
sendPasswordResetEmail(email) {
|
|
309
|
-
return
|
|
423
|
+
return this.sendPasswordReset(email);
|
|
310
424
|
}
|
|
311
425
|
logInWithEmailAndPassword(email, password) {
|
|
312
426
|
return signInWithEmailAndPassword(this.firebaseAuth, email, password);
|
|
@@ -322,15 +436,13 @@ class DbxFirebaseAuthService {
|
|
|
322
436
|
if (x) {
|
|
323
437
|
return reauthenticateWithPopup(x, provider, resolver);
|
|
324
438
|
}
|
|
325
|
-
|
|
326
|
-
throw new Error('User is not logged in currently.');
|
|
327
|
-
}
|
|
439
|
+
throw new Error('User is not logged in currently.');
|
|
328
440
|
})));
|
|
329
441
|
}
|
|
330
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
331
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
442
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseAuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
443
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseAuthService });
|
|
332
444
|
}
|
|
333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseAuthService, decorators: [{
|
|
334
446
|
type: Injectable
|
|
335
447
|
}] });
|
|
336
448
|
/**
|
|
@@ -402,10 +514,10 @@ class DbxFirebaseAnalyticsUserSource {
|
|
|
402
514
|
set userPropertiesFactory(userPropertiesFactory) {
|
|
403
515
|
this._userPropertiesFactory.next(userPropertiesFactory);
|
|
404
516
|
}
|
|
405
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
406
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
517
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseAnalyticsUserSource, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
518
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseAnalyticsUserSource, providedIn: 'root' });
|
|
407
519
|
}
|
|
408
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseAnalyticsUserSource, decorators: [{
|
|
409
521
|
type: Injectable,
|
|
410
522
|
args: [{
|
|
411
523
|
providedIn: 'root'
|
|
@@ -435,10 +547,10 @@ class DbxFirebaseAnalyticsUserEventsListenerService {
|
|
|
435
547
|
this._loginSub.destroy();
|
|
436
548
|
this._logoutSub.destroy();
|
|
437
549
|
}
|
|
438
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
439
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
550
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseAnalyticsUserEventsListenerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
551
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseAnalyticsUserEventsListenerService });
|
|
440
552
|
}
|
|
441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
553
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseAnalyticsUserEventsListenerService, decorators: [{
|
|
442
554
|
type: Injectable
|
|
443
555
|
}] });
|
|
444
556
|
|
|
@@ -476,7 +588,7 @@ const DBX_FIREBASE_APP_OPTIONS_TOKEN = new InjectionToken('DbxFirebaseOptions');
|
|
|
476
588
|
* HTTP Interceptor that sets the X-Firebase-AppCheck for any requests to the routes configured in DbxFirebaseEnvironmentOptions.
|
|
477
589
|
*/
|
|
478
590
|
class DbxFirebaseAppCheckHttpInterceptor {
|
|
479
|
-
appCheck = inject(
|
|
591
|
+
appCheck = inject(FIREBASE_APP_CHECK_TOKEN);
|
|
480
592
|
_appCheckRoutes = ((dbxFirebaseOptions) => {
|
|
481
593
|
const { appCheck } = dbxFirebaseOptions;
|
|
482
594
|
let routes = [];
|
|
@@ -525,19 +637,14 @@ class DbxFirebaseAppCheckHttpInterceptor {
|
|
|
525
637
|
matchesAnyRoute(inputUrl) {
|
|
526
638
|
const url = urlWithoutParameters(inputUrl);
|
|
527
639
|
function isEnabledRouteMatch(enabledRoute) {
|
|
528
|
-
|
|
529
|
-
return url.startsWith(enabledRoute.match);
|
|
530
|
-
}
|
|
531
|
-
else {
|
|
532
|
-
return url === enabledRoute.match;
|
|
533
|
-
}
|
|
640
|
+
return enabledRoute.isWildcard ? url.startsWith(enabledRoute.match) : url === enabledRoute.match;
|
|
534
641
|
}
|
|
535
642
|
return from(this._appCheckRoutes).pipe(first((route) => isEnabledRouteMatch(route), false), map((x) => Boolean(x)));
|
|
536
643
|
}
|
|
537
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
538
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
644
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseAppCheckHttpInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
645
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseAppCheckHttpInterceptor });
|
|
539
646
|
}
|
|
540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseAppCheckHttpInterceptor, decorators: [{
|
|
541
648
|
type: Injectable
|
|
542
649
|
}] });
|
|
543
650
|
|
|
@@ -559,8 +666,8 @@ class DbxFirebaseLoginTermsSimpleComponent {
|
|
|
559
666
|
url: this.dbxFirebaseLoginTermsConfig.privacyUrl,
|
|
560
667
|
target: '_blank'
|
|
561
668
|
};
|
|
562
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
563
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
669
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginTermsSimpleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
670
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseLoginTermsSimpleComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
|
|
564
671
|
<div class="dbx-firebase-login-terms-view">
|
|
565
672
|
<dbx-link [anchor]="tosAnchor">Terms</dbx-link>
|
|
566
673
|
<span class="dbx-link-spacer"></span>
|
|
@@ -568,7 +675,7 @@ class DbxFirebaseLoginTermsSimpleComponent {
|
|
|
568
675
|
</div>
|
|
569
676
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxLinkComponent, selector: "dbx-link", inputs: ["ref", "href", "anchor"] }] });
|
|
570
677
|
}
|
|
571
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginTermsSimpleComponent, decorators: [{
|
|
572
679
|
type: Component,
|
|
573
680
|
args: [{
|
|
574
681
|
template: `
|
|
@@ -631,9 +738,7 @@ class DbxFirebaseAuthLoginService {
|
|
|
631
738
|
}
|
|
632
739
|
return true;
|
|
633
740
|
}
|
|
634
|
-
|
|
635
|
-
return false;
|
|
636
|
-
}
|
|
741
|
+
return false;
|
|
637
742
|
}
|
|
638
743
|
/**
|
|
639
744
|
* Updates the assets for a provider type.
|
|
@@ -711,10 +816,10 @@ class DbxFirebaseAuthLoginService {
|
|
|
711
816
|
setPasswordConfig(passwordConfig) {
|
|
712
817
|
this._passwordConfig = passwordConfig;
|
|
713
818
|
}
|
|
714
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
715
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
819
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseAuthLoginService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
820
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseAuthLoginService });
|
|
716
821
|
}
|
|
717
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
822
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseAuthLoginService, decorators: [{
|
|
718
823
|
type: Injectable
|
|
719
824
|
}], ctorParameters: () => [] });
|
|
720
825
|
|
|
@@ -831,8 +936,8 @@ class DbxFirebaseLoginButtonComponent {
|
|
|
831
936
|
onActionSuccess = () => {
|
|
832
937
|
// todo: show checkmark on success?
|
|
833
938
|
};
|
|
834
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
835
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
939
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
940
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: DbxFirebaseLoginButtonComponent, isStandalone: true, selector: "dbx-firebase-login-button", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { config: "configChange" }, host: { classAttribute: "dbx-firebase-login-button dbx-button-neutral-interaction-color" }, ngImport: i0, template: `
|
|
836
941
|
<ng-container dbxAction [dbxActionHandler]="handleAction" [dbxActionSuccessHandler]="onActionSuccess" [dbxActionConfirm]="confirmConfigSignal()" [dbxActionConfirmSkip]="!confirmConfigSignal()">
|
|
837
942
|
<dbx-button dbxActionButton [customTextColor]="buttonTextColorSignal()" [customButtonColor]="buttonColorSignal()" [raised]="true" [color]="colorSignal()" [attr.aria-label]="textSignal()">
|
|
838
943
|
<div class="dbx-firebase-login-button-content">
|
|
@@ -850,7 +955,7 @@ class DbxFirebaseLoginButtonComponent {
|
|
|
850
955
|
</ng-container>
|
|
851
956
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: DbxActionModule }, { kind: "directive", type: i2.DbxActionDirective, selector: "dbx-action,[dbxAction]", exportAs: ["action", "dbxAction"] }, { kind: "directive", type: i2.DbxActionHandlerDirective, selector: "[dbxActionHandler]", inputs: ["dbxActionHandler"] }, { kind: "directive", type: i2.DbxActionSuccessHandlerDirective, selector: "[dbxActionSuccessHandler]", inputs: ["dbxActionSuccessHandler"] }, { kind: "directive", type: i2.DbxActionButtonDirective, selector: "[dbxActionButton]", inputs: ["dbxActionButtonEcho"] }, { kind: "directive", type: i1$1.DbxActionConfirmDirective, selector: "[dbxActionConfirm]", inputs: ["dbxActionConfirm", "dbxActionConfirmSkip"] }, { kind: "ngmodule", type: DbxButtonModule }, { kind: "component", type: i1$1.DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "customContent", "allowClickPropagation", "mode"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
852
957
|
}
|
|
853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
958
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginButtonComponent, decorators: [{
|
|
854
959
|
type: Component,
|
|
855
960
|
args: [{
|
|
856
961
|
selector: 'dbx-firebase-login-button',
|
|
@@ -883,14 +988,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
883
988
|
* Container component that wraps login button content with consistent spacing.
|
|
884
989
|
*/
|
|
885
990
|
class DbxFirebaseLoginButtonContainerComponent {
|
|
886
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
887
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
991
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginButtonContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
992
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseLoginButtonContainerComponent, isStandalone: true, selector: "dbx-firebase-login-button-container", ngImport: i0, template: `
|
|
888
993
|
<div class="dbx-firebase-login-button-container">
|
|
889
994
|
<ng-content></ng-content>
|
|
890
995
|
</div>
|
|
891
996
|
`, isInline: true });
|
|
892
997
|
}
|
|
893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
998
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginButtonContainerComponent, decorators: [{
|
|
894
999
|
type: Component,
|
|
895
1000
|
args: [{
|
|
896
1001
|
selector: 'dbx-firebase-login-button-container',
|
|
@@ -1028,10 +1133,10 @@ class AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
|
1028
1133
|
throw firebaseAuthErrorToReadableError(error);
|
|
1029
1134
|
});
|
|
1030
1135
|
}
|
|
1031
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1032
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1136
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractConfiguredDbxFirebaseLoginButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1137
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractConfiguredDbxFirebaseLoginButtonDirective, isStandalone: true, ngImport: i0 });
|
|
1033
1138
|
}
|
|
1034
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractConfiguredDbxFirebaseLoginButtonDirective, decorators: [{
|
|
1035
1140
|
type: Directive
|
|
1036
1141
|
}] });
|
|
1037
1142
|
|
|
@@ -1043,10 +1148,10 @@ class DbxFirebaseLoginAnonymousComponent extends AbstractConfiguredDbxFirebaseLo
|
|
|
1043
1148
|
handleLogin() {
|
|
1044
1149
|
return this.dbxFirebaseAuthService.logInAsAnonymous();
|
|
1045
1150
|
}
|
|
1046
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1047
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1151
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginAnonymousComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1152
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseLoginAnonymousComponent, isStandalone: true, selector: "dbx-firebase-login-anonymous", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1048
1153
|
}
|
|
1049
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginAnonymousComponent, decorators: [{
|
|
1050
1155
|
type: Component,
|
|
1051
1156
|
args: [{
|
|
1052
1157
|
selector: 'dbx-firebase-login-anonymous',
|
|
@@ -1079,10 +1184,10 @@ class DbxFirebaseLoginAppleComponent extends AbstractConfiguredDbxFirebaseLoginB
|
|
|
1079
1184
|
handleLink() {
|
|
1080
1185
|
return this.dbxFirebaseAuthService.linkWithPopup(createAppleAuthProvider());
|
|
1081
1186
|
}
|
|
1082
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1083
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1187
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginAppleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1188
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseLoginAppleComponent, isStandalone: true, selector: "dbx-firebase-login-apple", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1084
1189
|
}
|
|
1085
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginAppleComponent, decorators: [{
|
|
1086
1191
|
type: Component,
|
|
1087
1192
|
args: [{
|
|
1088
1193
|
selector: 'dbx-firebase-login-apple',
|
|
@@ -1094,47 +1199,50 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
1094
1199
|
}] });
|
|
1095
1200
|
|
|
1096
1201
|
/**
|
|
1097
|
-
*
|
|
1202
|
+
* Forge-based form component for password recovery, containing a single email field.
|
|
1098
1203
|
*/
|
|
1099
|
-
class
|
|
1100
|
-
|
|
1101
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1102
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1204
|
+
class DbxFirebaseEmailRecoveryForgeFormComponent extends AbstractSyncForgeFormDirective {
|
|
1205
|
+
formConfig = { fields: [dbxForgeEmailField({ key: 'email', required: true })] };
|
|
1206
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseEmailRecoveryForgeFormComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1207
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseEmailRecoveryForgeFormComponent, isStandalone: true, selector: "dbx-firebase-email-recovery-forge-form", providers: dbxForgeFormComponentProviders(), usesInheritance: true, ngImport: i0, template: "<dbx-forge></dbx-forge>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxForgeFormComponentImportsModule }, { kind: "component", type: i1$2.DbxForgeFormComponent, selector: "dbx-forge" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1103
1208
|
}
|
|
1104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseEmailRecoveryForgeFormComponent, decorators: [{
|
|
1105
1210
|
type: Component,
|
|
1106
1211
|
args: [{
|
|
1107
|
-
selector: 'dbx-firebase-email-recovery-form',
|
|
1108
|
-
template:
|
|
1109
|
-
|
|
1110
|
-
|
|
1212
|
+
selector: 'dbx-firebase-email-recovery-forge-form',
|
|
1213
|
+
template: DBX_FORGE_FORM_COMPONENT_TEMPLATE,
|
|
1214
|
+
providers: dbxForgeFormComponentProviders(),
|
|
1215
|
+
imports: [DbxForgeFormComponentImportsModule],
|
|
1111
1216
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1112
1217
|
standalone: true
|
|
1113
1218
|
}]
|
|
1114
1219
|
}] });
|
|
1115
1220
|
|
|
1116
1221
|
/**
|
|
1117
|
-
*
|
|
1222
|
+
* Forge-based email/password login form that adapts fields based on login vs. register mode.
|
|
1118
1223
|
*
|
|
1119
1224
|
* In register mode, includes a password verification field.
|
|
1120
1225
|
*/
|
|
1121
|
-
class
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1226
|
+
class DbxFirebaseEmailForgeFormComponent extends AbstractConfigAsyncForgeFormDirective {
|
|
1227
|
+
formConfig$ = this.currentConfig$.pipe(map((config) => {
|
|
1228
|
+
if (!config) {
|
|
1229
|
+
return undefined;
|
|
1230
|
+
}
|
|
1231
|
+
const loginMode = config.loginMode ?? 'login';
|
|
1232
|
+
const passwordConfig = config.passwordConfig;
|
|
1233
|
+
const fields = [dbxForgeUsernameLoginField('email'), dbxForgeTextPasswordField(passwordConfig), ...(loginMode === 'register' ? [dbxForgeTextVerifyPasswordField()] : [])];
|
|
1234
|
+
return { fields };
|
|
1127
1235
|
}));
|
|
1128
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1129
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1236
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseEmailForgeFormComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1237
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseEmailForgeFormComponent, isStandalone: true, selector: "dbx-firebase-email-forge-form", providers: dbxForgeFormComponentProviders(), usesInheritance: true, ngImport: i0, template: "<dbx-forge></dbx-forge>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxForgeFormComponentImportsModule }, { kind: "component", type: i1$2.DbxForgeFormComponent, selector: "dbx-forge" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1130
1238
|
}
|
|
1131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseEmailForgeFormComponent, decorators: [{
|
|
1132
1240
|
type: Component,
|
|
1133
1241
|
args: [{
|
|
1134
|
-
selector: 'dbx-firebase-email-form',
|
|
1135
|
-
template:
|
|
1136
|
-
|
|
1137
|
-
|
|
1242
|
+
selector: 'dbx-firebase-email-forge-form',
|
|
1243
|
+
template: DBX_FORGE_FORM_COMPONENT_TEMPLATE,
|
|
1244
|
+
providers: dbxForgeFormComponentProviders(),
|
|
1245
|
+
imports: [DbxForgeFormComponentImportsModule],
|
|
1138
1246
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1139
1247
|
standalone: true
|
|
1140
1248
|
}]
|
|
@@ -1209,7 +1317,7 @@ class DbxFirebaseLoginEmailContentComponent {
|
|
|
1209
1317
|
handleRecoveryAction = (value, context) => {
|
|
1210
1318
|
this._recoveryFormValueSignal.set(value);
|
|
1211
1319
|
this._emailFormValueSignal.set({ username: value.email, password: '' });
|
|
1212
|
-
context.startWorkingWithPromise(this.dbxFirebaseAuthService.
|
|
1320
|
+
context.startWorkingWithPromise(this.dbxFirebaseAuthService.sendPasswordReset(value.email));
|
|
1213
1321
|
};
|
|
1214
1322
|
// MARK: Recovering
|
|
1215
1323
|
handleRecoverySuccess = (_x) => {
|
|
@@ -1225,12 +1333,12 @@ class DbxFirebaseLoginEmailContentComponent {
|
|
|
1225
1333
|
onCancelReset() {
|
|
1226
1334
|
this.doneOrCancelled.next(false);
|
|
1227
1335
|
}
|
|
1228
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1229
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1336
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginEmailContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1337
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: DbxFirebaseLoginEmailContentComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div class=\"dbx-firebase-login-email-content\" aria-live=\"polite\">\n @switch (emailModeSignal()) {\n @case ('login') {\n <ng-container *ngTemplateOutlet=\"loginView\"></ng-container>\n }\n @case ('recover') {\n <ng-container *ngTemplateOutlet=\"resetPassword\"></ng-container>\n }\n @case ('recoversent') {\n <ng-container *ngTemplateOutlet=\"resetPasswordSent\"></ng-container>\n }\n }\n</div>\n\n<!-- Login View -->\n<ng-template #loginView>\n <ng-container dbxAction [dbxActionHandler]=\"handleLoginAction\">\n <dbx-firebase-email-forge-form [config]=\"formConfig\" dbxActionForm [dbxFormSource]=\"emailFormValueSignal()\"></dbx-firebase-email-forge-form>\n @if (isLoginMode) {\n <div class=\"dbx-firebase-login-email-forgot-prompt\">\n <dbx-link [anchor]=\"forgotAnchor\">Forgot Password?</dbx-link>\n </div>\n }\n <div class=\"dbx-flex\">\n <dbx-button class=\"dbx-button-wide\" [text]=\"buttonText\" [raised]=\"true\" color=\"primary\" dbxActionButton></dbx-button>\n <dbx-button-spacer></dbx-button-spacer>\n <span class=\"dbx-spacer\"></span>\n <button mat-flat-button (click)=\"onCancel()\">Cancel</button>\n </div>\n <dbx-error dbxActionError></dbx-error>\n </ng-container>\n</ng-template>\n\n<!-- Reset Password View -->\n<ng-template #resetPassword>\n <div class=\"dbx-firebase-login-email-content-recovery\" dbxAction [dbxActionHandler]=\"handleRecoveryAction\" [dbxActionSuccessHandler]=\"handleRecoverySuccess\">\n <dbx-firebase-email-recovery-forge-form dbxActionForm [dbxFormSource]=\"recoveryFormValueSignal()\"></dbx-firebase-email-recovery-forge-form>\n <p class=\"dbx-hint\">An email will be sent to the above address to help you reset your password.</p>\n <div class=\"dbx-flex\">\n <dbx-button class=\"dbx-button-wide\" text=\"Send Recovery Email\" [raised]=\"true\" color=\"primary\" dbxActionButton></dbx-button>\n <span class=\"dbx-spacer\"></span>\n <button mat-flat-button (click)=\"onCancelReset()\">Cancel Recovery</button>\n </div>\n <dbx-error dbxActionError></dbx-error>\n </div>\n</ng-template>\n\n<!-- Reset Password Sent -->\n<ng-template #resetPasswordSent>\n <div class=\"dbx-firebase-login-email-content-recovery-sent\" role=\"status\">\n <p class=\"dbx-hint\">A recovery email was sent to the specified address. Please check your email for next steps.</p>\n <button mat-raised-button (click)=\"clickedRecoveryAcknowledged()\">Ok</button>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DbxErrorComponent, selector: "dbx-error", inputs: ["error", "iconOnly"], outputs: ["popoverOpened"] }, { kind: "component", type: DbxLinkComponent, selector: "dbx-link", inputs: ["ref", "href", "anchor"] }, { kind: "directive", type: DbxActionErrorDirective, selector: "[dbxActionError]" }, { kind: "directive", type: DbxActionFormDirective, selector: "[dbxActionForm]", inputs: ["dbxActionFormDisabledOnWorking", "dbxActionFormIsValid", "dbxActionFormIsEqual", "dbxActionFormIsModified", "dbxActionFormMapValue"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$3.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: DbxActionModule }, { kind: "directive", type: i2.DbxActionDirective, selector: "dbx-action,[dbxAction]", exportAs: ["action", "dbxAction"] }, { kind: "directive", type: i2.DbxActionHandlerDirective, selector: "[dbxActionHandler]", inputs: ["dbxActionHandler"] }, { kind: "directive", type: i2.DbxActionSuccessHandlerDirective, selector: "[dbxActionSuccessHandler]", inputs: ["dbxActionSuccessHandler"] }, { kind: "directive", type: i2.DbxActionButtonDirective, selector: "[dbxActionButton]", inputs: ["dbxActionButtonEcho"] }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "customContent", "allowClickPropagation", "mode"] }, { kind: "directive", type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,[dbxButtonSpacer]" }, { kind: "component", type: DbxFirebaseEmailForgeFormComponent, selector: "dbx-firebase-email-forge-form" }, { kind: "component", type: DbxFirebaseEmailRecoveryForgeFormComponent, selector: "dbx-firebase-email-recovery-forge-form" }, { kind: "directive", type: DbxFormSourceDirective, selector: "[dbxFormSource]", inputs: ["dbxFormSourceMode", "dbxFormSource"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1230
1338
|
}
|
|
1231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginEmailContentComponent, decorators: [{
|
|
1232
1340
|
type: Component,
|
|
1233
|
-
args: [{ imports: [NgTemplateOutlet, DbxErrorComponent, DbxLinkComponent, DbxActionErrorDirective, DbxActionFormDirective, MatButtonModule, DbxActionModule, DbxButtonComponent, DbxButtonSpacerDirective,
|
|
1341
|
+
args: [{ imports: [NgTemplateOutlet, DbxErrorComponent, DbxLinkComponent, DbxActionErrorDirective, DbxActionFormDirective, MatButtonModule, DbxActionModule, DbxButtonComponent, DbxButtonSpacerDirective, DbxFirebaseEmailForgeFormComponent, DbxFirebaseEmailRecoveryForgeFormComponent, DbxFormSourceDirective], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<div class=\"dbx-firebase-login-email-content\" aria-live=\"polite\">\n @switch (emailModeSignal()) {\n @case ('login') {\n <ng-container *ngTemplateOutlet=\"loginView\"></ng-container>\n }\n @case ('recover') {\n <ng-container *ngTemplateOutlet=\"resetPassword\"></ng-container>\n }\n @case ('recoversent') {\n <ng-container *ngTemplateOutlet=\"resetPasswordSent\"></ng-container>\n }\n }\n</div>\n\n<!-- Login View -->\n<ng-template #loginView>\n <ng-container dbxAction [dbxActionHandler]=\"handleLoginAction\">\n <dbx-firebase-email-forge-form [config]=\"formConfig\" dbxActionForm [dbxFormSource]=\"emailFormValueSignal()\"></dbx-firebase-email-forge-form>\n @if (isLoginMode) {\n <div class=\"dbx-firebase-login-email-forgot-prompt\">\n <dbx-link [anchor]=\"forgotAnchor\">Forgot Password?</dbx-link>\n </div>\n }\n <div class=\"dbx-flex\">\n <dbx-button class=\"dbx-button-wide\" [text]=\"buttonText\" [raised]=\"true\" color=\"primary\" dbxActionButton></dbx-button>\n <dbx-button-spacer></dbx-button-spacer>\n <span class=\"dbx-spacer\"></span>\n <button mat-flat-button (click)=\"onCancel()\">Cancel</button>\n </div>\n <dbx-error dbxActionError></dbx-error>\n </ng-container>\n</ng-template>\n\n<!-- Reset Password View -->\n<ng-template #resetPassword>\n <div class=\"dbx-firebase-login-email-content-recovery\" dbxAction [dbxActionHandler]=\"handleRecoveryAction\" [dbxActionSuccessHandler]=\"handleRecoverySuccess\">\n <dbx-firebase-email-recovery-forge-form dbxActionForm [dbxFormSource]=\"recoveryFormValueSignal()\"></dbx-firebase-email-recovery-forge-form>\n <p class=\"dbx-hint\">An email will be sent to the above address to help you reset your password.</p>\n <div class=\"dbx-flex\">\n <dbx-button class=\"dbx-button-wide\" text=\"Send Recovery Email\" [raised]=\"true\" color=\"primary\" dbxActionButton></dbx-button>\n <span class=\"dbx-spacer\"></span>\n <button mat-flat-button (click)=\"onCancelReset()\">Cancel Recovery</button>\n </div>\n <dbx-error dbxActionError></dbx-error>\n </div>\n</ng-template>\n\n<!-- Reset Password Sent -->\n<ng-template #resetPasswordSent>\n <div class=\"dbx-firebase-login-email-content-recovery-sent\" role=\"status\">\n <p class=\"dbx-hint\">A recovery email was sent to the specified address. Please check your email for next steps.</p>\n <button mat-raised-button (click)=\"clickedRecoveryAcknowledged()\">Ok</button>\n </div>\n</ng-template>\n" }]
|
|
1234
1342
|
}] });
|
|
1235
1343
|
|
|
1236
1344
|
/**
|
|
@@ -1241,10 +1349,10 @@ class DbxFirebaseLoginEmailComponent extends AbstractConfiguredDbxFirebaseLoginB
|
|
|
1241
1349
|
handleLogin() {
|
|
1242
1350
|
return DbxFirebaseLoginEmailContentComponent.openEmailLoginContext(this.dbxFirebaseLoginContext, { loginMode: 'login', passwordConfig: this.dbxFirebaseAuthLoginService.getPasswordConfig() });
|
|
1243
1351
|
}
|
|
1244
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1245
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1352
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginEmailComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1353
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseLoginEmailComponent, isStandalone: true, selector: "dbx-firebase-login-email", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1246
1354
|
}
|
|
1247
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginEmailComponent, decorators: [{
|
|
1248
1356
|
type: Component,
|
|
1249
1357
|
args: [{
|
|
1250
1358
|
selector: 'dbx-firebase-login-email',
|
|
@@ -1266,10 +1374,10 @@ class DbxFirebaseLoginFacebookComponent extends AbstractConfiguredDbxFirebaseLog
|
|
|
1266
1374
|
handleLink() {
|
|
1267
1375
|
return this.dbxFirebaseAuthService.linkWithPopup(new FacebookAuthProvider());
|
|
1268
1376
|
}
|
|
1269
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1270
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1377
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginFacebookComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1378
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseLoginFacebookComponent, isStandalone: true, selector: "dbx-firebase-login-facebook", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1271
1379
|
}
|
|
1272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginFacebookComponent, decorators: [{
|
|
1273
1381
|
type: Component,
|
|
1274
1382
|
args: [{
|
|
1275
1383
|
selector: 'dbx-firebase-login-facebook',
|
|
@@ -1291,10 +1399,10 @@ class DbxFirebaseLoginGitHubComponent extends AbstractConfiguredDbxFirebaseLogin
|
|
|
1291
1399
|
handleLink() {
|
|
1292
1400
|
return this.dbxFirebaseAuthService.linkWithPopup(new GithubAuthProvider());
|
|
1293
1401
|
}
|
|
1294
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1295
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1402
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginGitHubComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1403
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseLoginGitHubComponent, isStandalone: true, selector: "dbx-firebase-login-github", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1296
1404
|
}
|
|
1297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginGitHubComponent, decorators: [{
|
|
1298
1406
|
type: Component,
|
|
1299
1407
|
args: [{
|
|
1300
1408
|
selector: 'dbx-firebase-login-github',
|
|
@@ -1316,10 +1424,10 @@ class DbxFirebaseLoginGoogleComponent extends AbstractConfiguredDbxFirebaseLogin
|
|
|
1316
1424
|
handleLink() {
|
|
1317
1425
|
return this.dbxFirebaseAuthService.linkWithPopup(new GoogleAuthProvider());
|
|
1318
1426
|
}
|
|
1319
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1320
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1427
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginGoogleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1428
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseLoginGoogleComponent, isStandalone: true, selector: "dbx-firebase-login-google", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1321
1429
|
}
|
|
1322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginGoogleComponent, decorators: [{
|
|
1323
1431
|
type: Component,
|
|
1324
1432
|
args: [{
|
|
1325
1433
|
selector: 'dbx-firebase-login-google',
|
|
@@ -1341,10 +1449,10 @@ class DbxFirebaseLoginTwitterComponent extends AbstractConfiguredDbxFirebaseLogi
|
|
|
1341
1449
|
handleLink() {
|
|
1342
1450
|
return this.dbxFirebaseAuthService.linkWithPopup(new TwitterAuthProvider());
|
|
1343
1451
|
}
|
|
1344
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1345
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1452
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginTwitterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1453
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseLoginTwitterComponent, isStandalone: true, selector: "dbx-firebase-login-twitter", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1346
1454
|
}
|
|
1347
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginTwitterComponent, decorators: [{
|
|
1348
1456
|
type: Component,
|
|
1349
1457
|
args: [{
|
|
1350
1458
|
selector: 'dbx-firebase-login-twitter',
|
|
@@ -1363,10 +1471,10 @@ class DbxFirebaseRegisterEmailComponent extends AbstractConfiguredDbxFirebaseLog
|
|
|
1363
1471
|
handleLogin() {
|
|
1364
1472
|
return DbxFirebaseLoginEmailContentComponent.openEmailLoginContext(this.dbxFirebaseLoginContext, { loginMode: 'register', passwordConfig: this.dbxFirebaseAuthLoginService.getPasswordConfig() });
|
|
1365
1473
|
}
|
|
1366
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1367
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1474
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseRegisterEmailComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1475
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseRegisterEmailComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1368
1476
|
}
|
|
1369
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseRegisterEmailComponent, decorators: [{
|
|
1370
1478
|
type: Component,
|
|
1371
1479
|
args: [{
|
|
1372
1480
|
imports: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.imports,
|
|
@@ -1607,8 +1715,8 @@ class DbxFirebaseLoginListComponent {
|
|
|
1607
1715
|
}
|
|
1608
1716
|
return providers.map(mapFn);
|
|
1609
1717
|
}, ...(ngDevMode ? [{ debugName: "providersInjectionConfigsSignal" }] : /* istanbul ignore next */ []));
|
|
1610
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1611
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1718
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1719
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: DbxFirebaseLoginListComponent, isStandalone: true, selector: "dbx-firebase-login-list", inputs: { loginMode: { classPropertyName: "loginMode", publicName: "loginMode", isSignal: true, isRequired: false, transformFunction: null }, providerTypes: { classPropertyName: "providerTypes", publicName: "providerTypes", isSignal: true, isRequired: false, transformFunction: null }, omitProviderTypes: { classPropertyName: "omitProviderTypes", publicName: "omitProviderTypes", isSignal: true, isRequired: false, transformFunction: null }, providerCategories: { classPropertyName: "providerCategories", publicName: "providerCategories", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "list" }, properties: { "attr.aria-label": "loginModeAriaLabel" }, classAttribute: "dbx-firebase-login-list dbx-button-column" }, ngImport: i0, template: `
|
|
1612
1720
|
@for (config of providersInjectionConfigsSignal(); track config.loginMethodType) {
|
|
1613
1721
|
<div class="dbx-firebase-login-item" role="listitem">
|
|
1614
1722
|
<dbx-injection [config]="config"></dbx-injection>
|
|
@@ -1616,7 +1724,7 @@ class DbxFirebaseLoginListComponent {
|
|
|
1616
1724
|
}
|
|
1617
1725
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }] });
|
|
1618
1726
|
}
|
|
1619
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginListComponent, decorators: [{
|
|
1620
1728
|
type: Component,
|
|
1621
1729
|
args: [{
|
|
1622
1730
|
selector: 'dbx-firebase-login-list',
|
|
@@ -1643,15 +1751,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
1643
1751
|
* Apply to a host element to establish a login context scope for child login components.
|
|
1644
1752
|
*/
|
|
1645
1753
|
class DbxFirebaseLoginContextDirective extends AbstractForwardDbxInjectionContextDirective {
|
|
1646
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1647
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1754
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginContextDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1755
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseLoginContextDirective, isStandalone: true, selector: "[dbxFirebaseLoginContext]", providers: [
|
|
1648
1756
|
{
|
|
1649
1757
|
provide: DbxFirebaseLoginContext,
|
|
1650
1758
|
useExisting: DbxFirebaseLoginContextDirective
|
|
1651
1759
|
}
|
|
1652
1760
|
], usesInheritance: true, ngImport: i0 });
|
|
1653
1761
|
}
|
|
1654
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1762
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginContextDirective, decorators: [{
|
|
1655
1763
|
type: Directive,
|
|
1656
1764
|
args: [{
|
|
1657
1765
|
selector: '[dbxFirebaseLoginContext]',
|
|
@@ -1673,14 +1781,14 @@ class DbxFirebaseLoginComponent {
|
|
|
1673
1781
|
providerTypes = input(...(ngDevMode ? [undefined, { debugName: "providerTypes" }] : /* istanbul ignore next */ []));
|
|
1674
1782
|
omitProviderTypes = input(...(ngDevMode ? [undefined, { debugName: "omitProviderTypes" }] : /* istanbul ignore next */ []));
|
|
1675
1783
|
providerCategories = input(...(ngDevMode ? [undefined, { debugName: "providerCategories" }] : /* istanbul ignore next */ []));
|
|
1676
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1677
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
1784
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1785
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.4", type: DbxFirebaseLoginComponent, isStandalone: true, selector: "dbx-firebase-login", inputs: { loginMode: { classPropertyName: "loginMode", publicName: "loginMode", isSignal: true, isRequired: false, transformFunction: null }, providerTypes: { classPropertyName: "providerTypes", publicName: "providerTypes", isSignal: true, isRequired: false, transformFunction: null }, omitProviderTypes: { classPropertyName: "omitProviderTypes", publicName: "omitProviderTypes", isSignal: true, isRequired: false, transformFunction: null }, providerCategories: { classPropertyName: "providerCategories", publicName: "providerCategories", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "{ \"dbx-firebase-register\": loginMode() === \"register\", \"dbx-firebase-link\": loginMode() === \"link\" }" }, classAttribute: "d-block dbx-firebase-login" }, ngImport: i0, template: `
|
|
1678
1786
|
<ng-container *dbxInjectionContext dbxFirebaseLoginContext>
|
|
1679
1787
|
<dbx-firebase-login-list [providerTypes]="providerTypes()" [omitProviderTypes]="omitProviderTypes()" [providerCategories]="providerCategories()" [loginMode]="loginMode()"></dbx-firebase-login-list>
|
|
1680
1788
|
</ng-container>
|
|
1681
1789
|
`, isInline: true, dependencies: [{ kind: "directive", type: DbxInjectionContextDirective, selector: "[dbxInjectionContext]", inputs: ["config"] }, { kind: "directive", type: DbxFirebaseLoginContextDirective, selector: "[dbxFirebaseLoginContext]" }, { kind: "component", type: DbxFirebaseLoginListComponent, selector: "dbx-firebase-login-list", inputs: ["loginMode", "providerTypes", "omitProviderTypes", "providerCategories"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1682
1790
|
}
|
|
1683
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1791
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginComponent, decorators: [{
|
|
1684
1792
|
type: Component,
|
|
1685
1793
|
args: [{
|
|
1686
1794
|
selector: 'dbx-firebase-login',
|
|
@@ -1707,12 +1815,12 @@ class DbxFirebaseLoginContextBackButtonComponent {
|
|
|
1707
1815
|
anchor = {
|
|
1708
1816
|
onClick: () => this.cancelLogin.emit()
|
|
1709
1817
|
};
|
|
1710
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1711
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1818
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginContextBackButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1819
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseLoginContextBackButtonComponent, isStandalone: true, selector: "dbx-firebase-login-context-back-button", outputs: { cancelLogin: "cancelLogin" }, ngImport: i0, template: `
|
|
1712
1820
|
<dbx-link [anchor]="anchor">Choose other login method.</dbx-link>
|
|
1713
1821
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: DbxRouterAnchorModule }, { kind: "component", type: i1$1.DbxLinkComponent, selector: "dbx-link", inputs: ["ref", "href", "anchor"] }] });
|
|
1714
1822
|
}
|
|
1715
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginContextBackButtonComponent, decorators: [{
|
|
1716
1824
|
type: Component,
|
|
1717
1825
|
args: [{
|
|
1718
1826
|
selector: 'dbx-firebase-login-context-back-button',
|
|
@@ -1735,10 +1843,10 @@ class DbxFirebaseLoginMicrosoftComponent extends AbstractConfiguredDbxFirebaseLo
|
|
|
1735
1843
|
handleLink() {
|
|
1736
1844
|
return this.dbxFirebaseAuthService.linkWithPopup(new OAuthProvider('microsoft.com'));
|
|
1737
1845
|
}
|
|
1738
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1739
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1846
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginMicrosoftComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1847
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseLoginMicrosoftComponent, isStandalone: true, selector: "dbx-firebase-login-microsoft", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1740
1848
|
}
|
|
1741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginMicrosoftComponent, decorators: [{
|
|
1742
1850
|
type: Component,
|
|
1743
1851
|
args: [{
|
|
1744
1852
|
selector: 'dbx-firebase-login-microsoft',
|
|
@@ -1749,6 +1857,75 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
1749
1857
|
}]
|
|
1750
1858
|
}] });
|
|
1751
1859
|
|
|
1860
|
+
/**
|
|
1861
|
+
* Forge-based form component for completing a password reset, containing new password and verify password fields.
|
|
1862
|
+
*/
|
|
1863
|
+
class DbxFirebasePasswordResetFormComponent extends AbstractSyncForgeFormDirective {
|
|
1864
|
+
formConfig = {
|
|
1865
|
+
fields: [
|
|
1866
|
+
dbxForgeTextPasswordField({ minLength: FIREBASE_AUTH_PASSWORD_MIN_LENGTH }),
|
|
1867
|
+
{
|
|
1868
|
+
...dbxForgeTextVerifyPasswordField(),
|
|
1869
|
+
validators: [
|
|
1870
|
+
{
|
|
1871
|
+
type: 'custom',
|
|
1872
|
+
expression: 'fieldValue === formValue.password',
|
|
1873
|
+
kind: 'passwordMismatch'
|
|
1874
|
+
}
|
|
1875
|
+
],
|
|
1876
|
+
validationMessages: {
|
|
1877
|
+
passwordMismatch: 'The passwords do not match.'
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
]
|
|
1881
|
+
};
|
|
1882
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebasePasswordResetFormComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1883
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebasePasswordResetFormComponent, isStandalone: true, selector: "dbx-firebase-password-reset-form", providers: dbxForgeFormComponentProviders(), usesInheritance: true, ngImport: i0, template: "<dbx-forge></dbx-forge>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxForgeFormComponentImportsModule }, { kind: "component", type: i1$2.DbxForgeFormComponent, selector: "dbx-forge" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1884
|
+
}
|
|
1885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebasePasswordResetFormComponent, decorators: [{
|
|
1886
|
+
type: Component,
|
|
1887
|
+
args: [{
|
|
1888
|
+
selector: 'dbx-firebase-password-reset-form',
|
|
1889
|
+
template: DBX_FORGE_FORM_COMPONENT_TEMPLATE,
|
|
1890
|
+
imports: [DbxForgeFormComponentImportsModule],
|
|
1891
|
+
providers: dbxForgeFormComponentProviders(),
|
|
1892
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1893
|
+
standalone: true
|
|
1894
|
+
}]
|
|
1895
|
+
}] });
|
|
1896
|
+
|
|
1897
|
+
/**
|
|
1898
|
+
* Standalone component for completing a password reset.
|
|
1899
|
+
*
|
|
1900
|
+
* Reads an `oobCode` from input and presents a new password form.
|
|
1901
|
+
* On submit, calls {@link DbxFirebaseAuthService.completePasswordReset} to finalize the reset.
|
|
1902
|
+
*/
|
|
1903
|
+
class DbxFirebasePasswordResetComponent {
|
|
1904
|
+
dbxFirebaseAuthService = inject(DbxFirebaseAuthService);
|
|
1905
|
+
/**
|
|
1906
|
+
* The oobCode from the password reset email link.
|
|
1907
|
+
*/
|
|
1908
|
+
oobCode = input.required(...(ngDevMode ? [{ debugName: "oobCode" }] : /* istanbul ignore next */ []));
|
|
1909
|
+
resetCompleteSignal = signal(false, ...(ngDevMode ? [{ debugName: "resetCompleteSignal" }] : /* istanbul ignore next */ []));
|
|
1910
|
+
handleResetAction = (value) => {
|
|
1911
|
+
return from(this.dbxFirebaseAuthService.completePasswordReset({
|
|
1912
|
+
oobCode: this.oobCode(),
|
|
1913
|
+
newPassword: value.password
|
|
1914
|
+
})).pipe(tap({
|
|
1915
|
+
next: () => this.resetCompleteSignal.set(true),
|
|
1916
|
+
error: (error) => {
|
|
1917
|
+
throw firebaseAuthErrorToReadableError(error);
|
|
1918
|
+
}
|
|
1919
|
+
}));
|
|
1920
|
+
};
|
|
1921
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebasePasswordResetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1922
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: DbxFirebasePasswordResetComponent, isStandalone: true, selector: "dbx-firebase-password-reset", inputs: { oobCode: { classPropertyName: "oobCode", publicName: "oobCode", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div class=\"dbx-firebase-password-reset\" aria-live=\"polite\">\n @if (resetCompleteSignal()) {\n <div role=\"status\">\n <p class=\"dbx-hint\">Your password has been reset successfully. You can now log in with your new password.</p>\n </div>\n } @else {\n <ng-container dbxAction [dbxActionHandler]=\"handleResetAction\">\n <dbx-firebase-password-reset-form dbxActionForm></dbx-firebase-password-reset-form>\n <div class=\"dbx-flex\">\n <dbx-button class=\"dbx-button-wide\" text=\"Reset Password\" [raised]=\"true\" color=\"primary\" dbxActionButton></dbx-button>\n </div>\n <dbx-error dbxActionError></dbx-error>\n </ng-container>\n }\n</div>\n", dependencies: [{ kind: "component", type: DbxFirebasePasswordResetFormComponent, selector: "dbx-firebase-password-reset-form" }, { kind: "ngmodule", type: DbxActionModule }, { kind: "directive", type: i2.DbxActionDirective, selector: "dbx-action,[dbxAction]", exportAs: ["action", "dbxAction"] }, { kind: "directive", type: i2.DbxActionHandlerDirective, selector: "[dbxActionHandler]", inputs: ["dbxActionHandler"] }, { kind: "directive", type: i2.DbxActionButtonDirective, selector: "[dbxActionButton]", inputs: ["dbxActionButtonEcho"] }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "customContent", "allowClickPropagation", "mode"] }, { kind: "component", type: DbxErrorComponent, selector: "dbx-error", inputs: ["error", "iconOnly"], outputs: ["popoverOpened"] }, { kind: "directive", type: DbxActionFormDirective, selector: "[dbxActionForm]", inputs: ["dbxActionFormDisabledOnWorking", "dbxActionFormIsValid", "dbxActionFormIsEqual", "dbxActionFormIsModified", "dbxActionFormMapValue"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1923
|
+
}
|
|
1924
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebasePasswordResetComponent, decorators: [{
|
|
1925
|
+
type: Component,
|
|
1926
|
+
args: [{ selector: 'dbx-firebase-password-reset', imports: [DbxFirebasePasswordResetFormComponent, DbxActionModule, DbxButtonComponent, DbxErrorComponent, DbxActionFormDirective], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<div class=\"dbx-firebase-password-reset\" aria-live=\"polite\">\n @if (resetCompleteSignal()) {\n <div role=\"status\">\n <p class=\"dbx-hint\">Your password has been reset successfully. You can now log in with your new password.</p>\n </div>\n } @else {\n <ng-container dbxAction [dbxActionHandler]=\"handleResetAction\">\n <dbx-firebase-password-reset-form dbxActionForm></dbx-firebase-password-reset-form>\n <div class=\"dbx-flex\">\n <dbx-button class=\"dbx-button-wide\" text=\"Reset Password\" [raised]=\"true\" color=\"primary\" dbxActionButton></dbx-button>\n </div>\n <dbx-error dbxActionError></dbx-error>\n </ng-container>\n }\n</div>\n" }]
|
|
1927
|
+
}], propDecorators: { oobCode: [{ type: i0.Input, args: [{ isSignal: true, alias: "oobCode", required: true }] }] } });
|
|
1928
|
+
|
|
1752
1929
|
/**
|
|
1753
1930
|
* Renders the configured terms of service component via dynamic injection from the login service.
|
|
1754
1931
|
*/
|
|
@@ -1757,12 +1934,12 @@ class DbxFirebaseLoginTermsComponent {
|
|
|
1757
1934
|
config = {
|
|
1758
1935
|
componentClass: this.dbxFirebaseAuthLoginService.loginTermsComponentClass
|
|
1759
1936
|
};
|
|
1760
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1761
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1937
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginTermsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1938
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseLoginTermsComponent, isStandalone: true, selector: "dbx-firebase-login-terms", host: { classAttribute: "dbx-firebase-login-terms d-block" }, ngImport: i0, template: `
|
|
1762
1939
|
<dbx-injection [config]="config"></dbx-injection>
|
|
1763
1940
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }] });
|
|
1764
1941
|
}
|
|
1765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseLoginTermsComponent, decorators: [{
|
|
1766
1943
|
type: Component,
|
|
1767
1944
|
args: [{
|
|
1768
1945
|
selector: 'dbx-firebase-login-terms',
|
|
@@ -1801,8 +1978,8 @@ class DbxFirebaseManageAuthProvidersComponent {
|
|
|
1801
1978
|
const oauthProviders = this.dbxFirebaseAuthLoginService.getLinkProviders(this.dbxFirebaseAuthLoginService.getEnabledTypes());
|
|
1802
1979
|
return oauthProviders.some((p) => p.category === OAUTH_FIREBASE_LOGIN_METHOD_CATEGORY && !linkedTypes.has(p.loginMethodType));
|
|
1803
1980
|
}, ...(ngDevMode ? [{ debugName: "showLinkSectionSignal" }] : /* istanbul ignore next */ []));
|
|
1804
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1805
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1981
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseManageAuthProvidersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1982
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: DbxFirebaseManageAuthProvidersComponent, isStandalone: true, selector: "dbx-firebase-manage-auth-providers", host: { classAttribute: "d-block dbx-firebase-manage-auth-providers" }, ngImport: i0, template: `
|
|
1806
1983
|
@if (linkedMethodTypesSignal().length) {
|
|
1807
1984
|
<dbx-section header="Connected Providers">
|
|
1808
1985
|
<dbx-firebase-login loginMode="unlink" providerCategories="oauth"></dbx-firebase-login>
|
|
@@ -1815,7 +1992,7 @@ class DbxFirebaseManageAuthProvidersComponent {
|
|
|
1815
1992
|
}
|
|
1816
1993
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginComponent, selector: "dbx-firebase-login", inputs: ["loginMode", "providerTypes", "omitProviderTypes", "providerCategories"] }, { kind: "component", type: DbxSectionComponent, selector: "dbx-section", inputs: ["elevate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1817
1994
|
}
|
|
1818
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1995
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseManageAuthProvidersComponent, decorators: [{
|
|
1819
1996
|
type: Component,
|
|
1820
1997
|
args: [{
|
|
1821
1998
|
selector: 'dbx-firebase-manage-auth-providers',
|
|
@@ -1847,12 +2024,12 @@ class DbxFirebaseRegisterComponent {
|
|
|
1847
2024
|
providerTypes = input(...(ngDevMode ? [undefined, { debugName: "providerTypes" }] : /* istanbul ignore next */ []));
|
|
1848
2025
|
omitProviderTypes = input(...(ngDevMode ? [undefined, { debugName: "omitProviderTypes" }] : /* istanbul ignore next */ []));
|
|
1849
2026
|
providerCategories = input(...(ngDevMode ? [undefined, { debugName: "providerCategories" }] : /* istanbul ignore next */ []));
|
|
1850
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1851
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
2027
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseRegisterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2028
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.4", type: DbxFirebaseRegisterComponent, isStandalone: true, selector: "dbx-firebase-register", inputs: { providerTypes: { classPropertyName: "providerTypes", publicName: "providerTypes", isSignal: true, isRequired: false, transformFunction: null }, omitProviderTypes: { classPropertyName: "omitProviderTypes", publicName: "omitProviderTypes", isSignal: true, isRequired: false, transformFunction: null }, providerCategories: { classPropertyName: "providerCategories", publicName: "providerCategories", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
1852
2029
|
<dbx-firebase-login loginMode="register" [providerTypes]="providerTypes()" [omitProviderTypes]="omitProviderTypes()" [providerCategories]="providerCategories()"></dbx-firebase-login>
|
|
1853
2030
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginComponent, selector: "dbx-firebase-login", inputs: ["loginMode", "providerTypes", "omitProviderTypes", "providerCategories"] }] });
|
|
1854
2031
|
}
|
|
1855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2032
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseRegisterComponent, decorators: [{
|
|
1856
2033
|
type: Component,
|
|
1857
2034
|
args: [{
|
|
1858
2035
|
selector: 'dbx-firebase-register',
|
|
@@ -1900,7 +2077,9 @@ function defaultDbxFirebaseAuthServiceDelegateWithClaimsService(config) {
|
|
|
1900
2077
|
isAdminInAuthRoleSet: config.isAdminInAuthRoleSet ?? DEFAULT_DBX_FIREBASE_AUTH_SERVICE_DELEGATE.isAdminInAuthRoleSet,
|
|
1901
2078
|
authRolesObs: authRolesObsWithClaimsService(config),
|
|
1902
2079
|
isOnboarded: DEFAULT_DBX_FIREBASE_AUTH_SERVICE_DELEGATE.isOnboarded,
|
|
1903
|
-
authRoleClaimsService: config.claimsService
|
|
2080
|
+
authRoleClaimsService: config.claimsService,
|
|
2081
|
+
sendPasswordReset: config.sendPasswordReset ?? DEFAULT_DBX_FIREBASE_AUTH_SERVICE_DELEGATE.sendPasswordReset,
|
|
2082
|
+
completePasswordReset: config.completePasswordReset ?? DEFAULT_DBX_FIREBASE_AUTH_SERVICE_DELEGATE.completePasswordReset
|
|
1904
2083
|
};
|
|
1905
2084
|
}
|
|
1906
2085
|
|
|
@@ -1960,9 +2139,7 @@ class DbxFirebaseDevelopmentWidgetService {
|
|
|
1960
2139
|
this.dbxWidgetService.register(provider.widget, override);
|
|
1961
2140
|
return true;
|
|
1962
2141
|
}
|
|
1963
|
-
|
|
1964
|
-
return false;
|
|
1965
|
-
}
|
|
2142
|
+
return false;
|
|
1966
2143
|
}
|
|
1967
2144
|
getEntryWidgetIdentifiers() {
|
|
1968
2145
|
return [...this._entries.keys()];
|
|
@@ -1970,10 +2147,10 @@ class DbxFirebaseDevelopmentWidgetService {
|
|
|
1970
2147
|
getEntries() {
|
|
1971
2148
|
return iterableToArray(this._entries.values());
|
|
1972
2149
|
}
|
|
1973
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1974
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2150
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentWidgetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2151
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentWidgetService });
|
|
1975
2152
|
}
|
|
1976
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentWidgetService, decorators: [{
|
|
1977
2154
|
type: Injectable
|
|
1978
2155
|
}], ctorParameters: () => [] });
|
|
1979
2156
|
|
|
@@ -2041,10 +2218,10 @@ class DbxFirebaseDevelopmentSchedulerService {
|
|
|
2041
2218
|
setTimer(timerInterval) {
|
|
2042
2219
|
this._timerInterval.next(timerInterval);
|
|
2043
2220
|
}
|
|
2044
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2045
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2221
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2222
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerService });
|
|
2046
2223
|
}
|
|
2047
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerService, decorators: [{
|
|
2048
2225
|
type: Injectable
|
|
2049
2226
|
}] });
|
|
2050
2227
|
|
|
@@ -2053,30 +2230,40 @@ const DISPLAY_FOR_DEVELOPMENT_POPUP_STRING_VALUE = (values) => {
|
|
|
2053
2230
|
const obs = of(displayValues);
|
|
2054
2231
|
return obs;
|
|
2055
2232
|
};
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2233
|
+
/**
|
|
2234
|
+
* Forge form component for selecting development widget entries from a popup.
|
|
2235
|
+
*/
|
|
2236
|
+
class DbxFirebaseDevelopmentPopupContentForgeFormComponent extends AbstractConfigAsyncForgeFormDirective {
|
|
2237
|
+
formConfig$ = this.currentConfig$.pipe(map((config) => {
|
|
2238
|
+
if (!config) {
|
|
2239
|
+
return undefined;
|
|
2240
|
+
}
|
|
2241
|
+
return {
|
|
2242
|
+
fields: [
|
|
2243
|
+
dbxForgePickableChipField({
|
|
2244
|
+
key: 'specifier',
|
|
2245
|
+
hint: 'Pick a tool to get started.',
|
|
2246
|
+
props: {
|
|
2247
|
+
filterLabel: 'Tools',
|
|
2248
|
+
filterValues: filterPickableItemFieldValuesByLabel,
|
|
2249
|
+
loadValues: () => of(config.entries.map((y) => ({ value: y.widget.type, meta: y }))),
|
|
2250
|
+
displayForValue: DISPLAY_FOR_DEVELOPMENT_POPUP_STRING_VALUE,
|
|
2251
|
+
asArrayValue: false
|
|
2252
|
+
}
|
|
2253
|
+
})
|
|
2254
|
+
]
|
|
2255
|
+
};
|
|
2069
2256
|
}));
|
|
2070
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2071
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2257
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentPopupContentForgeFormComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2258
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseDevelopmentPopupContentForgeFormComponent, isStandalone: true, selector: "dbx-firebase-development-popup-content-forge-form", providers: dbxForgeFormComponentProviders(), usesInheritance: true, ngImport: i0, template: "<dbx-forge></dbx-forge>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxForgeFormComponentImportsModule }, { kind: "component", type: i1$2.DbxForgeFormComponent, selector: "dbx-forge" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2072
2259
|
}
|
|
2073
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2260
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentPopupContentForgeFormComponent, decorators: [{
|
|
2074
2261
|
type: Component,
|
|
2075
2262
|
args: [{
|
|
2076
|
-
selector: 'dbx-firebase-development-popup-content-form',
|
|
2077
|
-
template:
|
|
2078
|
-
imports: [
|
|
2079
|
-
providers:
|
|
2263
|
+
selector: 'dbx-firebase-development-popup-content-forge-form',
|
|
2264
|
+
template: DBX_FORGE_FORM_COMPONENT_TEMPLATE,
|
|
2265
|
+
imports: [DbxForgeFormComponentImportsModule],
|
|
2266
|
+
providers: dbxForgeFormComponentProviders(),
|
|
2080
2267
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2081
2268
|
standalone: true
|
|
2082
2269
|
}]
|
|
@@ -2089,10 +2276,10 @@ class DbxFirebaseDevelopmentSchedulerListComponent extends AbstractDbxSelectionL
|
|
|
2089
2276
|
defaultSelectionMode: 'view'
|
|
2090
2277
|
});
|
|
2091
2278
|
}
|
|
2092
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2093
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2279
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2280
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseDevelopmentSchedulerListComponent, isStandalone: true, selector: "dbx-firebase-development-scheduler-list", providers: provideDbxListViewWrapper(DbxFirebaseDevelopmentSchedulerListComponent), usesInheritance: true, ngImport: i0, template: "\n <dbx-list [state]=\"currentState$\" [config]=\"configSignal()\" [hasMore]=\"hasMore()\" [disabled]=\"disabledSignal()\" [selectionMode]=\"selectionModeSignal()\">\n <ng-content top select=\"[top]\"></ng-content>\n <ng-content bottom select=\"[bottom]\"></ng-content>\n <ng-content empty select=\"[empty]\"></ng-content>\n <ng-content emptyLoading select=\"[emptyLoading]\"></ng-content>\n <ng-content end select=\"[end]\"></ng-content>\n </dbx-list>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxListWrapperComponentImportsModule }, { kind: "component", type: i1$1.DbxListComponent, selector: "dbx-list", inputs: ["padded", "state", "config", "disabled", "selectionMode", "hasMore"], outputs: ["contentScrolled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2094
2281
|
}
|
|
2095
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerListComponent, decorators: [{
|
|
2096
2283
|
type: Component,
|
|
2097
2284
|
args: [{
|
|
2098
2285
|
selector: 'dbx-firebase-development-scheduler-list',
|
|
@@ -2108,10 +2295,10 @@ class DbxFirebaseDevelopmentSchedulerListViewComponent extends AbstractDbxSelect
|
|
|
2108
2295
|
componentClass: DbxFirebaseDevelopmentSchedulerListViewItemComponent,
|
|
2109
2296
|
mapValuesToItemValues: (x) => of(x.map((y) => ({ ...y, key: y.name, icon: y.icon, itemValue: y })))
|
|
2110
2297
|
};
|
|
2111
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2112
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2298
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerListViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2299
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseDevelopmentSchedulerListViewComponent, isStandalone: true, selector: "dbx-firebase-development-scheduler-list-view", providers: provideDbxListView(DbxFirebaseDevelopmentSchedulerListViewComponent), usesInheritance: true, ngImport: i0, template: "<dbx-selection-list-view [config]=\"config\"></dbx-selection-list-view>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxSelectionValueListViewComponentImportsModule }, { kind: "component", type: i1$1.DbxSelectionValueListViewComponent, selector: "dbx-selection-list-view" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2113
2300
|
}
|
|
2114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2301
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerListViewComponent, decorators: [{
|
|
2115
2302
|
type: Component,
|
|
2116
2303
|
args: [{
|
|
2117
2304
|
selector: 'dbx-firebase-development-scheduler-list-view',
|
|
@@ -2130,15 +2317,15 @@ class DbxFirebaseDevelopmentSchedulerListViewItemComponent extends AbstractDbxVa
|
|
|
2130
2317
|
handleRun = (value, context) => {
|
|
2131
2318
|
context.startWorkingWithObservable(from(this.dbxFirebaseDevelopmentSchedulerService.runScheduledFunction(this.name)));
|
|
2132
2319
|
};
|
|
2133
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2134
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2320
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerListViewItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2321
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseDevelopmentSchedulerListViewItemComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
2135
2322
|
<div dbxAction dbxActionValue useFastTriggerPreset [dbxActionHandler]="handleRun">
|
|
2136
2323
|
<dbx-button dbxActionButton [text]="'Run ' + name"></dbx-button>
|
|
2137
2324
|
<div *dbxActionHasSuccess="3000" class="dbx-success">Success</div>
|
|
2138
2325
|
</div>
|
|
2139
2326
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: DbxActionModule }, { kind: "directive", type: i2.DbxActionDirective, selector: "dbx-action,[dbxAction]", exportAs: ["action", "dbxAction"] }, { kind: "directive", type: i2.DbxActionHandlerDirective, selector: "[dbxActionHandler]", inputs: ["dbxActionHandler"] }, { kind: "directive", type: i2.DbxActionValueDirective, selector: "dbxActionValue,[dbxActionValue]", inputs: ["dbxActionValue"] }, { kind: "directive", type: i2.DbxActionHasSuccessDirective, selector: "[dbxActionHasSuccess]", inputs: ["dbxActionHasSuccess"] }, { kind: "directive", type: i2.DbxActionButtonDirective, selector: "[dbxActionButton]", inputs: ["dbxActionButtonEcho"] }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "customContent", "allowClickPropagation", "mode"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2140
2327
|
}
|
|
2141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2328
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerListViewItemComponent, decorators: [{
|
|
2142
2329
|
type: Component,
|
|
2143
2330
|
args: [{
|
|
2144
2331
|
template: `
|
|
@@ -2172,14 +2359,14 @@ class DbxFirebaseDevelopmentSchedulerWidgetComponent {
|
|
|
2172
2359
|
dbxFirebaseDevelopmentSchedulerService = inject(DbxFirebaseDevelopmentSchedulerService);
|
|
2173
2360
|
entries$ = this.dbxFirebaseDevelopmentSchedulerService.schedulerList$;
|
|
2174
2361
|
state$ = loadingStateFromObs(this.entries$);
|
|
2175
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2176
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2362
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerWidgetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2363
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseDevelopmentSchedulerWidgetComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
|
|
2177
2364
|
<div>
|
|
2178
2365
|
<dbx-firebase-development-scheduler-list [state]="state$"></dbx-firebase-development-scheduler-list>
|
|
2179
2366
|
</div>
|
|
2180
2367
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseDevelopmentSchedulerListComponent, selector: "dbx-firebase-development-scheduler-list" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2181
2368
|
}
|
|
2182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2369
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerWidgetComponent, decorators: [{
|
|
2183
2370
|
type: Component,
|
|
2184
2371
|
args: [{
|
|
2185
2372
|
template: `
|
|
@@ -2226,10 +2413,10 @@ class DbxFirebaseEmulatorService {
|
|
|
2226
2413
|
}
|
|
2227
2414
|
: undefined;
|
|
2228
2415
|
}
|
|
2229
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2230
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2416
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseEmulatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2417
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseEmulatorService });
|
|
2231
2418
|
}
|
|
2232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2419
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseEmulatorService, decorators: [{
|
|
2233
2420
|
type: Injectable
|
|
2234
2421
|
}] });
|
|
2235
2422
|
|
|
@@ -2283,12 +2470,12 @@ class DbxFirebaseDevelopmentPopupContentComponent {
|
|
|
2283
2470
|
clearSelection() {
|
|
2284
2471
|
this._activeEntrySelector.next(undefined);
|
|
2285
2472
|
}
|
|
2286
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2287
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
2473
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentPopupContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2474
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: DbxFirebaseDevelopmentPopupContentComponent, isStandalone: true, selector: "dbx-firebase-development-popup-content", providers: [TwoColumnsContextStore], ngImport: i0, template: "<dbx-two-column class=\"dbx-firebase-development-popup-content\" [dbxTwoColumnFullLeft]=\"true\">\n <dbx-two-block left>\n <div>\n <h4>Info</h4>\n <p>Scheduler (Running): {{ schedulerRunningSignal() }} : {{ schedulerIntervalSignal() }}s : {{ schedulerErrorSignal() }}</p>\n <div>\n @if (showEmulatorButton) {\n <dbx-anchor [anchor]=\"emulatorUIAnchor\">\n <button mat-flat-button color=\"accent\">Emulator Enabled</button>\n </dbx-anchor>\n }\n </div>\n </div>\n <div>\n <h4>Tools</h4>\n <div dbxAction dbxActionEnforceModified dbxActionAutoTrigger useInstantTriggerPreset [dbxActionHandler]=\"handleFormUpdate\">\n <dbx-firebase-development-popup-content-forge-form [config]=\"formConfig$\" dbxActionForm [dbxActionFormIsModified]=\"isFormModified\" [dbxFormSource]=\"formData$\" dbxFormSourceMode=\"always\"></dbx-firebase-development-popup-content-forge-form>\n </div>\n </div>\n </dbx-two-block>\n <dbx-two-column-right right [header]=\"rightTitleSignal()\">\n <dbx-widget-view [config]=\"widgetConfigSignal()\"></dbx-widget-view>\n </dbx-two-column-right>\n</dbx-two-column>\n", styles: [".dbx-firebase-development-popup-content{height:400px;overflow:hidden}\n"], dependencies: [{ kind: "component", type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }, { kind: "directive", type: DbxTwoColumnFullLeftDirective, selector: "[dbxTwoColumnFullLeft]", inputs: ["dbxTwoColumnFullLeft"] }, { kind: "component", type: DbxWidgetViewComponent, selector: "dbx-widget-view", inputs: ["config"] }, { kind: "component", type: DbxTwoColumnComponent, selector: "dbx-two-column", inputs: ["reverseSizing", "inSectionPage", "hasRightContent"], exportAs: ["columns"] }, { kind: "component", type: DbxTwoBlockComponent, selector: "dbx-two-block", inputs: ["fixedTop"] }, { kind: "component", type: DbxTwoColumnRightComponent, selector: "dbx-two-column-right", inputs: ["full", "header", "block", "showBack", "minRightWidth"] }, { kind: "component", type: DbxFirebaseDevelopmentPopupContentForgeFormComponent, selector: "dbx-firebase-development-popup-content-forge-form" }, { kind: "directive", type: DbxActionDirective, selector: "dbx-action,[dbxAction]", exportAs: ["action", "dbxAction"] }, { kind: "directive", type: DbxActionEnforceModifiedDirective, selector: "[dbxActionEnforceModified]", inputs: ["dbxActionEnforceModified"] }, { kind: "directive", type: DbxActionHandlerDirective, selector: "[dbxActionHandler]", inputs: ["dbxActionHandler"] }, { kind: "directive", type: DbxActionFormDirective, selector: "[dbxActionForm]", inputs: ["dbxActionFormDisabledOnWorking", "dbxActionFormIsValid", "dbxActionFormIsEqual", "dbxActionFormIsModified", "dbxActionFormMapValue"] }, { kind: "directive", type: DbxFormSourceDirective, selector: "[dbxFormSource]", inputs: ["dbxFormSourceMode", "dbxFormSource"] }, { kind: "directive", type: DbxActionAutoTriggerDirective, selector: "dbxActionAutoTrigger,[dbxActionAutoTrigger]", inputs: ["triggerDebounce", "triggerThrottle", "triggerErrorThrottle", "maxErrorsForThrottle", "triggerLimit", "dbxActionAutoTrigger", "useFastTriggerPreset", "useInstantTriggerPreset"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$3.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }] });
|
|
2288
2475
|
}
|
|
2289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentPopupContentComponent, decorators: [{
|
|
2290
2477
|
type: Component,
|
|
2291
|
-
args: [{ selector: 'dbx-firebase-development-popup-content', imports: [DbxAnchorComponent, DbxTwoColumnFullLeftDirective, DbxWidgetViewComponent, DbxTwoColumnComponent, DbxTwoBlockComponent, DbxTwoColumnRightComponent, DbxWidgetViewComponent,
|
|
2478
|
+
args: [{ selector: 'dbx-firebase-development-popup-content', imports: [DbxAnchorComponent, DbxTwoColumnFullLeftDirective, DbxWidgetViewComponent, DbxTwoColumnComponent, DbxTwoBlockComponent, DbxTwoColumnRightComponent, DbxWidgetViewComponent, DbxFirebaseDevelopmentPopupContentForgeFormComponent, DbxActionDirective, DbxActionEnforceModifiedDirective, DbxActionHandlerDirective, DbxActionFormDirective, DbxFormSourceDirective, DbxActionAutoTriggerDirective, MatButtonModule], providers: [TwoColumnsContextStore], standalone: true, template: "<dbx-two-column class=\"dbx-firebase-development-popup-content\" [dbxTwoColumnFullLeft]=\"true\">\n <dbx-two-block left>\n <div>\n <h4>Info</h4>\n <p>Scheduler (Running): {{ schedulerRunningSignal() }} : {{ schedulerIntervalSignal() }}s : {{ schedulerErrorSignal() }}</p>\n <div>\n @if (showEmulatorButton) {\n <dbx-anchor [anchor]=\"emulatorUIAnchor\">\n <button mat-flat-button color=\"accent\">Emulator Enabled</button>\n </dbx-anchor>\n }\n </div>\n </div>\n <div>\n <h4>Tools</h4>\n <div dbxAction dbxActionEnforceModified dbxActionAutoTrigger useInstantTriggerPreset [dbxActionHandler]=\"handleFormUpdate\">\n <dbx-firebase-development-popup-content-forge-form [config]=\"formConfig$\" dbxActionForm [dbxActionFormIsModified]=\"isFormModified\" [dbxFormSource]=\"formData$\" dbxFormSourceMode=\"always\"></dbx-firebase-development-popup-content-forge-form>\n </div>\n </div>\n </dbx-two-block>\n <dbx-two-column-right right [header]=\"rightTitleSignal()\">\n <dbx-widget-view [config]=\"widgetConfigSignal()\"></dbx-widget-view>\n </dbx-two-column-right>\n</dbx-two-column>\n", styles: [".dbx-firebase-development-popup-content{height:400px;overflow:hidden}\n"] }]
|
|
2292
2479
|
}], ctorParameters: () => [] });
|
|
2293
2480
|
|
|
2294
2481
|
const DEFAULT_FIREBASE_DEVELOPMENT_POPUP_KEY = 'devpopup';
|
|
@@ -2308,15 +2495,15 @@ class DbxFirebaseDevelopmentPopupComponent extends AbstractPopupDirective {
|
|
|
2308
2495
|
reopen = () => {
|
|
2309
2496
|
DbxFirebaseDevelopmentPopupComponent.openPopup(this.popupService, this.popup.key);
|
|
2310
2497
|
};
|
|
2311
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2312
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.
|
|
2498
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2499
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.4", type: DbxFirebaseDevelopmentPopupComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "content", first: true, predicate: DbxFirebaseDevelopmentPopupContentComponent, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
2313
2500
|
<dbx-popup-content>
|
|
2314
2501
|
<dbx-popup-controls [header]="header" controls></dbx-popup-controls>
|
|
2315
2502
|
<dbx-firebase-development-popup-content (shouldClose)="closePopup()"></dbx-firebase-development-popup-content>
|
|
2316
2503
|
</dbx-popup-content>
|
|
2317
2504
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxPopupContentComponent, selector: "dbx-popup-content" }, { kind: "component", type: DbxPopupControlsComponent, selector: "dbx-popup-controls", inputs: ["header"] }, { kind: "component", type: DbxFirebaseDevelopmentPopupContentComponent, selector: "dbx-firebase-development-popup-content" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2318
2505
|
}
|
|
2319
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentPopupComponent, decorators: [{
|
|
2320
2507
|
type: Component,
|
|
2321
2508
|
args: [{
|
|
2322
2509
|
template: `
|
|
@@ -2342,10 +2529,10 @@ const DEFAULT_FIREBASE_DEVELOPMENT_ENABLED_TOKEN = new InjectionToken('DefaultDb
|
|
|
2342
2529
|
*/
|
|
2343
2530
|
class DbxFirebaseDevelopmentService {
|
|
2344
2531
|
enabled = inject(DEFAULT_FIREBASE_DEVELOPMENT_ENABLED_TOKEN, { optional: true }) ?? false;
|
|
2345
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2346
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2532
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2533
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentService });
|
|
2347
2534
|
}
|
|
2348
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2535
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentService, decorators: [{
|
|
2349
2536
|
type: Injectable
|
|
2350
2537
|
}] });
|
|
2351
2538
|
|
|
@@ -2407,10 +2594,10 @@ class DbxFirebaseDevelopmentDirective {
|
|
|
2407
2594
|
});
|
|
2408
2595
|
}
|
|
2409
2596
|
}
|
|
2410
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2411
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
2597
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2598
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseDevelopmentDirective, isStandalone: true, selector: "[dbxFirebaseDevelopment]", host: { listeners: { "window:keydown": "handleKeyboardEvent($event)" } }, ngImport: i0 });
|
|
2412
2599
|
}
|
|
2413
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2600
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentDirective, decorators: [{
|
|
2414
2601
|
type: Directive,
|
|
2415
2602
|
args: [{
|
|
2416
2603
|
selector: '[dbxFirebaseDevelopment]',
|
|
@@ -2423,7 +2610,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
2423
2610
|
|
|
2424
2611
|
const importsAndExports$1 = [
|
|
2425
2612
|
//
|
|
2426
|
-
|
|
2613
|
+
DbxFirebaseDevelopmentPopupContentForgeFormComponent,
|
|
2427
2614
|
DbxFirebaseDevelopmentDirective,
|
|
2428
2615
|
DbxFirebaseDevelopmentPopupComponent,
|
|
2429
2616
|
DbxFirebaseDevelopmentPopupContentComponent,
|
|
@@ -2436,10 +2623,10 @@ const importsAndExports$1 = [
|
|
|
2436
2623
|
* Contains components related to logging in.
|
|
2437
2624
|
*/
|
|
2438
2625
|
class DbxFirebaseDevelopmentModule {
|
|
2439
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2440
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
2626
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2627
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentModule, imports: [
|
|
2441
2628
|
//
|
|
2442
|
-
|
|
2629
|
+
DbxFirebaseDevelopmentPopupContentForgeFormComponent,
|
|
2443
2630
|
DbxFirebaseDevelopmentDirective,
|
|
2444
2631
|
DbxFirebaseDevelopmentPopupComponent,
|
|
2445
2632
|
DbxFirebaseDevelopmentPopupContentComponent,
|
|
@@ -2448,7 +2635,7 @@ class DbxFirebaseDevelopmentModule {
|
|
|
2448
2635
|
DbxFirebaseDevelopmentSchedulerListViewComponent,
|
|
2449
2636
|
DbxFirebaseDevelopmentSchedulerListViewItemComponent], exports: [
|
|
2450
2637
|
//
|
|
2451
|
-
|
|
2638
|
+
DbxFirebaseDevelopmentPopupContentForgeFormComponent,
|
|
2452
2639
|
DbxFirebaseDevelopmentDirective,
|
|
2453
2640
|
DbxFirebaseDevelopmentPopupComponent,
|
|
2454
2641
|
DbxFirebaseDevelopmentPopupContentComponent,
|
|
@@ -2456,9 +2643,9 @@ class DbxFirebaseDevelopmentModule {
|
|
|
2456
2643
|
DbxFirebaseDevelopmentSchedulerListComponent,
|
|
2457
2644
|
DbxFirebaseDevelopmentSchedulerListViewComponent,
|
|
2458
2645
|
DbxFirebaseDevelopmentSchedulerListViewItemComponent] });
|
|
2459
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
2646
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentModule, imports: [
|
|
2460
2647
|
//
|
|
2461
|
-
|
|
2648
|
+
DbxFirebaseDevelopmentPopupContentForgeFormComponent,
|
|
2462
2649
|
DbxFirebaseDevelopmentPopupComponent,
|
|
2463
2650
|
DbxFirebaseDevelopmentPopupContentComponent,
|
|
2464
2651
|
DbxFirebaseDevelopmentSchedulerWidgetComponent,
|
|
@@ -2466,7 +2653,7 @@ class DbxFirebaseDevelopmentModule {
|
|
|
2466
2653
|
DbxFirebaseDevelopmentSchedulerListViewComponent,
|
|
2467
2654
|
DbxFirebaseDevelopmentSchedulerListViewItemComponent] });
|
|
2468
2655
|
}
|
|
2469
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDevelopmentModule, decorators: [{
|
|
2470
2657
|
type: NgModule,
|
|
2471
2658
|
args: [{
|
|
2472
2659
|
imports: importsAndExports$1,
|
|
@@ -2520,77 +2707,78 @@ function provideDbxFirebaseApp(config) {
|
|
|
2520
2707
|
const { dbxFirebaseAppOptions: dbxFirebaseOptions } = config;
|
|
2521
2708
|
const providers = [
|
|
2522
2709
|
// options
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
}
|
|
2528
|
-
]),
|
|
2710
|
+
{
|
|
2711
|
+
provide: DBX_FIREBASE_APP_OPTIONS_TOKEN,
|
|
2712
|
+
useValue: dbxFirebaseOptions
|
|
2713
|
+
},
|
|
2529
2714
|
// app
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2715
|
+
{
|
|
2716
|
+
provide: FIREBASE_APP_TOKEN,
|
|
2717
|
+
useFactory: (options) => initializeApp(options),
|
|
2718
|
+
deps: [DBX_FIREBASE_APP_OPTIONS_TOKEN]
|
|
2719
|
+
}
|
|
2534
2720
|
];
|
|
2535
2721
|
// firestore
|
|
2536
2722
|
if (config.provideFirestore !== false) {
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2723
|
+
providers.push({
|
|
2724
|
+
provide: FIREBASE_FIRESTORE_TOKEN,
|
|
2725
|
+
useFactory: (app, options, emulators) => {
|
|
2726
|
+
const firestoreSettings = {};
|
|
2727
|
+
const { enableMultiTabIndexedDbPersistence, enableIndexedDbPersistence } = options;
|
|
2728
|
+
const { persistentCacheSettings } = options;
|
|
2729
|
+
if (enableIndexedDbPersistence !== false) {
|
|
2730
|
+
let tabManager;
|
|
2731
|
+
if (enableMultiTabIndexedDbPersistence !== false) {
|
|
2732
|
+
tabManager = persistentMultipleTabManager();
|
|
2733
|
+
}
|
|
2734
|
+
else {
|
|
2735
|
+
tabManager = persistentSingleTabManager(undefined);
|
|
2736
|
+
}
|
|
2737
|
+
firestoreSettings.localCache = persistentLocalCache({
|
|
2738
|
+
tabManager,
|
|
2739
|
+
...persistentCacheSettings
|
|
2740
|
+
});
|
|
2547
2741
|
}
|
|
2548
|
-
|
|
2549
|
-
|
|
2742
|
+
const firestore = initializeFirestore(app, firestoreSettings);
|
|
2743
|
+
if (emulators?.useEmulators && emulators?.firestore) {
|
|
2744
|
+
connectFirestoreEmulator(firestore, emulators.firestore.host, emulators.firestore.port, {});
|
|
2550
2745
|
}
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
});
|
|
2555
|
-
}
|
|
2556
|
-
const firestore = initializeFirestore(firebaseApp, firestoreSettings);
|
|
2557
|
-
const emulators = injector.get(DbxFirebaseParsedEmulatorsConfig, undefined);
|
|
2558
|
-
if (emulators?.useEmulators && emulators?.firestore) {
|
|
2559
|
-
connectFirestoreEmulator(firestore, emulators.firestore.host, emulators.firestore.port, {});
|
|
2560
|
-
}
|
|
2561
|
-
return firestore;
|
|
2746
|
+
return firestore;
|
|
2747
|
+
},
|
|
2748
|
+
deps: [FIREBASE_APP_TOKEN, DBX_FIREBASE_APP_OPTIONS_TOKEN, [new Optional(), DbxFirebaseParsedEmulatorsConfig]]
|
|
2562
2749
|
});
|
|
2563
|
-
providers.push(firestoreProvider);
|
|
2564
2750
|
}
|
|
2565
2751
|
// app check
|
|
2566
2752
|
if (config.provideAppCheck !== false) {
|
|
2567
2753
|
const appCheckProviders = [
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2754
|
+
{
|
|
2755
|
+
provide: FIREBASE_APP_CHECK_TOKEN,
|
|
2756
|
+
useFactory: (app, options) => {
|
|
2757
|
+
const appCheckOptions = options.appCheck;
|
|
2758
|
+
const appCheckKnowinglyDisabled = appCheckOptions?.disabled === true || options.emulators?.useEmulators === true;
|
|
2759
|
+
let appCheck;
|
|
2760
|
+
if (appCheckOptions && !appCheckKnowinglyDisabled) {
|
|
2761
|
+
// enable the debug tokens if not using emulators and allowDebugTokens is set true
|
|
2762
|
+
if (!options.emulators?.useEmulators && appCheckOptions.allowDebugTokens) {
|
|
2763
|
+
enableAppCheckDebugTokenGeneration(true);
|
|
2764
|
+
}
|
|
2765
|
+
// Only enabled outside of app-check environments. The emulators will not use appcheck.
|
|
2766
|
+
appCheck = initializeAppCheck(app, {
|
|
2767
|
+
provider: new ReCaptchaV3Provider(appCheckOptions.reCaptchaV3),
|
|
2768
|
+
isTokenAutoRefreshEnabled: appCheckOptions.isTokenAutoRefreshEnabled ?? true
|
|
2769
|
+
});
|
|
2770
|
+
console.log('Enabled AppCheck.');
|
|
2578
2771
|
}
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
console.log('Enabled AppCheck.');
|
|
2585
|
-
}
|
|
2586
|
-
else {
|
|
2587
|
-
appCheck = undefined;
|
|
2588
|
-
if (!appCheckKnowinglyDisabled) {
|
|
2589
|
-
console.error('dbx-firebase: No appcheck configuration for the app, and not specifically disabled in config either.');
|
|
2772
|
+
else {
|
|
2773
|
+
appCheck = undefined;
|
|
2774
|
+
if (!appCheckKnowinglyDisabled) {
|
|
2775
|
+
console.error('dbx-firebase: No appcheck configuration for the app, and not specifically disabled in config either.');
|
|
2776
|
+
}
|
|
2590
2777
|
}
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2778
|
+
return appCheck;
|
|
2779
|
+
},
|
|
2780
|
+
deps: [FIREBASE_APP_TOKEN, DBX_FIREBASE_APP_OPTIONS_TOKEN]
|
|
2781
|
+
},
|
|
2594
2782
|
{
|
|
2595
2783
|
provide: HTTP_INTERCEPTORS,
|
|
2596
2784
|
useClass: DbxFirebaseAppCheckHttpInterceptor,
|
|
@@ -2601,48 +2789,49 @@ function provideDbxFirebaseApp(config) {
|
|
|
2601
2789
|
}
|
|
2602
2790
|
// auth
|
|
2603
2791
|
if (config.provideAuth !== false) {
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2792
|
+
providers.push({
|
|
2793
|
+
provide: FIREBASE_AUTH_TOKEN,
|
|
2794
|
+
useFactory: (app, emulators) => {
|
|
2795
|
+
const auth = getAuth(app);
|
|
2796
|
+
if (emulators?.useEmulators && emulators?.auth) {
|
|
2797
|
+
connectAuthEmulator(auth, `http://${emulators.auth.host}:${emulators.auth.port}`);
|
|
2798
|
+
}
|
|
2799
|
+
return auth;
|
|
2800
|
+
},
|
|
2801
|
+
deps: [FIREBASE_APP_TOKEN, [new Optional(), DbxFirebaseParsedEmulatorsConfig]]
|
|
2612
2802
|
});
|
|
2613
|
-
providers.push(authProvider);
|
|
2614
2803
|
}
|
|
2615
2804
|
// storage
|
|
2616
2805
|
if (config.provideStorage !== false) {
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2806
|
+
providers.push({
|
|
2807
|
+
provide: FIREBASE_STORAGE_TOKEN,
|
|
2808
|
+
useFactory: (app, emulators) => {
|
|
2809
|
+
const storage = getStorage(app);
|
|
2810
|
+
if (emulators?.useEmulators && emulators?.storage) {
|
|
2811
|
+
connectStorageEmulator(storage, emulators.storage.host, emulators.storage.port, {});
|
|
2812
|
+
}
|
|
2813
|
+
return storage;
|
|
2814
|
+
},
|
|
2815
|
+
deps: [FIREBASE_APP_TOKEN, [new Optional(), DbxFirebaseParsedEmulatorsConfig]]
|
|
2625
2816
|
});
|
|
2626
|
-
providers.push(storageProvider);
|
|
2627
2817
|
}
|
|
2628
2818
|
// functions
|
|
2629
2819
|
if (config.provideFunctions !== false) {
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2820
|
+
providers.push({
|
|
2821
|
+
provide: FIREBASE_FUNCTIONS_TOKEN,
|
|
2822
|
+
useFactory: (app, options, emulators) => {
|
|
2823
|
+
const { functionsRegionOrCustomDomain } = options;
|
|
2824
|
+
const functions = getFunctions(app, functionsRegionOrCustomDomain);
|
|
2825
|
+
if (emulators?.useEmulators && emulators?.functions) {
|
|
2826
|
+
connectFunctionsEmulator(functions, emulators.functions.host, emulators.functions.port);
|
|
2827
|
+
}
|
|
2828
|
+
return functions;
|
|
2829
|
+
},
|
|
2830
|
+
deps: [FIREBASE_APP_TOKEN, DBX_FIREBASE_APP_OPTIONS_TOKEN, [new Optional(), DbxFirebaseParsedEmulatorsConfig]]
|
|
2640
2831
|
});
|
|
2641
|
-
providers.push(functionsProvider);
|
|
2642
2832
|
}
|
|
2643
2833
|
return makeEnvironmentProviders(providers);
|
|
2644
2834
|
}
|
|
2645
|
-
// TODO: Providers now need to be initialized/registered in the bootstrap section as additional providers/config and not imported as modules this way
|
|
2646
2835
|
|
|
2647
2836
|
/**
|
|
2648
2837
|
* Creates EnvironmentProviders for the DbxFirebaseEmulatorService.
|
|
@@ -2727,7 +2916,7 @@ function provideDbxFirestoreCollection(config) {
|
|
|
2727
2916
|
{
|
|
2728
2917
|
provide: DBX_FIRESTORE_CONTEXT_TOKEN,
|
|
2729
2918
|
useFactory: (firestore) => clientFirebaseFirestoreContextFactory(firestore, params),
|
|
2730
|
-
deps: [
|
|
2919
|
+
deps: [FIREBASE_FIRESTORE_TOKEN]
|
|
2731
2920
|
},
|
|
2732
2921
|
{
|
|
2733
2922
|
provide: config.appCollectionClass,
|
|
@@ -2767,10 +2956,10 @@ function provideDbxFirestoreCollection(config) {
|
|
|
2767
2956
|
*/
|
|
2768
2957
|
class DbxFirestoreContextService {
|
|
2769
2958
|
firestoreContext = inject(DBX_FIRESTORE_CONTEXT_TOKEN);
|
|
2770
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2771
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2959
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirestoreContextService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2960
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirestoreContextService, providedIn: 'root' });
|
|
2772
2961
|
}
|
|
2773
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirestoreContextService, decorators: [{
|
|
2774
2963
|
type: Injectable,
|
|
2775
2964
|
args: [{
|
|
2776
2965
|
providedIn: 'root'
|
|
@@ -2790,7 +2979,7 @@ function provideDbxFirebaseFunctions(config) {
|
|
|
2790
2979
|
{
|
|
2791
2980
|
provide: config.functionsGetterToken,
|
|
2792
2981
|
useFactory: config.functionsGetterFactory,
|
|
2793
|
-
deps: [
|
|
2982
|
+
deps: [FIREBASE_FUNCTIONS_TOKEN]
|
|
2794
2983
|
}
|
|
2795
2984
|
];
|
|
2796
2985
|
if (config.functionsConfigMap) {
|
|
@@ -2893,9 +3082,7 @@ class DbxFirebaseCollectionChangeTriggerInstance {
|
|
|
2893
3082
|
if (triggerFunction) {
|
|
2894
3083
|
return this.watcher.triggered$.pipe(filter((triggered) => triggered), exhaustMap(() => asObservable(triggerFunction(this))));
|
|
2895
3084
|
}
|
|
2896
|
-
|
|
2897
|
-
return EMPTY;
|
|
2898
|
-
}
|
|
3085
|
+
return EMPTY;
|
|
2899
3086
|
}))
|
|
2900
3087
|
.subscribe();
|
|
2901
3088
|
}
|
|
@@ -2989,18 +3176,18 @@ class DbxFirebaseCollectionLoaderInstance {
|
|
|
2989
3176
|
if (collection) {
|
|
2990
3177
|
return combineLatest([this.collectionMode$, this.iteratorFilter$, this._restart.pipe(startWith(undefined))]).pipe(throttleTime(100, undefined, { trailing: true }), // prevent rapid changes and executing filters too quickly.
|
|
2991
3178
|
switchMap(([mode, filter]) => {
|
|
3179
|
+
let result;
|
|
2992
3180
|
if (mode === 'query') {
|
|
2993
|
-
|
|
3181
|
+
result = of(collection.firestoreIteration(filter));
|
|
2994
3182
|
}
|
|
2995
3183
|
else {
|
|
2996
|
-
|
|
3184
|
+
result = this.collectionRefs$.pipe(map((refs) => collection.firestoreFixedIteration(refs, filter)));
|
|
2997
3185
|
}
|
|
3186
|
+
return result;
|
|
2998
3187
|
}), cleanupDestroyable(), // cleanup the iteration
|
|
2999
3188
|
shareReplay(1));
|
|
3000
3189
|
}
|
|
3001
|
-
|
|
3002
|
-
return NEVER; // don't emit anything until collection is provided.
|
|
3003
|
-
}
|
|
3190
|
+
return NEVER; // don't emit anything until collection is provided.
|
|
3004
3191
|
}), cleanupDestroyable(), // cleanup the iteration
|
|
3005
3192
|
shareReplay(1));
|
|
3006
3193
|
queryChangeWatcher$ = this.firestoreIteration$.pipe(map((instance) => iterationQueryDocChangeWatcher({ instance })), shareReplay(1));
|
|
@@ -3492,10 +3679,10 @@ class DbxFirebaseModelTypesService {
|
|
|
3492
3679
|
instancePairsForKeys(keys) {
|
|
3493
3680
|
return dbxFirebaseModelTypesServiceInstancePairForKeysFactory(this)(keys);
|
|
3494
3681
|
}
|
|
3495
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3496
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3682
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelTypesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3683
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelTypesService });
|
|
3497
3684
|
}
|
|
3498
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3685
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelTypesService, decorators: [{
|
|
3499
3686
|
type: Injectable
|
|
3500
3687
|
}], ctorParameters: () => [] });
|
|
3501
3688
|
/**
|
|
@@ -3578,18 +3765,11 @@ class DbxFirebaseModelTrackerService {
|
|
|
3578
3765
|
const isAllowedIdentityFn = invertDecision(baseIsAllowedIdentityFn, invertFilter);
|
|
3579
3766
|
const baseFilterItemFn = filterItem ? invertObservableDecision(filterItem, invertFilter) : () => of(true);
|
|
3580
3767
|
const filterItemFn = (x) => {
|
|
3581
|
-
|
|
3582
|
-
return baseFilterItemFn(x);
|
|
3583
|
-
}
|
|
3584
|
-
else {
|
|
3585
|
-
return of(false);
|
|
3586
|
-
}
|
|
3768
|
+
return isAllowedIdentityFn(x.identity) ? baseFilterItemFn(x) : of(false);
|
|
3587
3769
|
};
|
|
3588
3770
|
return this.filterItemHistoryPairs$.pipe(filterItemsWithObservableDecision(filterItemFn), map((x) => x.map((y) => y.instancePair)), shareReplay(1));
|
|
3589
3771
|
}
|
|
3590
|
-
|
|
3591
|
-
return this.historyPairs$;
|
|
3592
|
-
}
|
|
3772
|
+
return this.historyPairs$;
|
|
3593
3773
|
}
|
|
3594
3774
|
loadHistoryKeys() {
|
|
3595
3775
|
return this.dbxModelTrackerService.getAllViewEvents().pipe(map(allDbxModelViewTrackerEventModelKeys));
|
|
@@ -3598,10 +3778,10 @@ class DbxFirebaseModelTrackerService {
|
|
|
3598
3778
|
const historyKeys$ = this.loadHistoryKeys();
|
|
3599
3779
|
return historyKeys$.pipe(switchMap((x) => this.dbxFirebaseModelTypesService.instancePairsForKeys(x)));
|
|
3600
3780
|
}
|
|
3601
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3602
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3781
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelTrackerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3782
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelTrackerService, providedIn: 'root' });
|
|
3603
3783
|
}
|
|
3604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelTrackerService, decorators: [{
|
|
3605
3785
|
type: Injectable,
|
|
3606
3786
|
args: [{
|
|
3607
3787
|
providedIn: 'root'
|
|
@@ -3618,10 +3798,10 @@ class DbxFirebaseModelTypeInstanceListComponent extends AbstractDbxSelectionList
|
|
|
3618
3798
|
defaultSelectionMode: 'view'
|
|
3619
3799
|
});
|
|
3620
3800
|
}
|
|
3621
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3622
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3801
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelTypeInstanceListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3802
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseModelTypeInstanceListComponent, isStandalone: true, selector: "dbx-firebase-model-type-instance-list", providers: provideDbxListViewWrapper(DbxFirebaseModelTypeInstanceListComponent), usesInheritance: true, ngImport: i0, template: "\n <dbx-list [state]=\"currentState$\" [config]=\"configSignal()\" [hasMore]=\"hasMore()\" [disabled]=\"disabledSignal()\" [selectionMode]=\"selectionModeSignal()\">\n <ng-content top select=\"[top]\"></ng-content>\n <ng-content bottom select=\"[bottom]\"></ng-content>\n <ng-content empty select=\"[empty]\"></ng-content>\n <ng-content emptyLoading select=\"[emptyLoading]\"></ng-content>\n <ng-content end select=\"[end]\"></ng-content>\n </dbx-list>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxListWrapperComponentImportsModule }, { kind: "component", type: i1$1.DbxListComponent, selector: "dbx-list", inputs: ["padded", "state", "config", "disabled", "selectionMode", "hasMore"], outputs: ["contentScrolled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3623
3803
|
}
|
|
3624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3804
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelTypeInstanceListComponent, decorators: [{
|
|
3625
3805
|
type: Component,
|
|
3626
3806
|
args: [{
|
|
3627
3807
|
selector: 'dbx-firebase-model-type-instance-list',
|
|
@@ -3637,10 +3817,10 @@ class DbxFirebaseModelTypeInstanceListViewComponent extends AbstractDbxSelection
|
|
|
3637
3817
|
componentClass: DbxFirebaseModelTypeInstanceListViewItemComponent,
|
|
3638
3818
|
mapValuesToItemValues: (x) => of(x.map((y) => ({ itemValue: y, key: y.key, icon: y.displayInfo.icon ?? y.icon, anchor: y.segueRef })))
|
|
3639
3819
|
};
|
|
3640
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3641
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3820
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelTypeInstanceListViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3821
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseModelTypeInstanceListViewComponent, isStandalone: true, selector: "dbx-firebase-model-type-instance-list-view", providers: provideDbxListView(DbxFirebaseModelTypeInstanceListViewComponent), usesInheritance: true, ngImport: i0, template: "<dbx-selection-list-view [config]=\"config\"></dbx-selection-list-view>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxSelectionValueListViewComponentImportsModule }, { kind: "component", type: i1$1.DbxSelectionValueListViewComponent, selector: "dbx-selection-list-view" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3642
3822
|
}
|
|
3643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelTypeInstanceListViewComponent, decorators: [{
|
|
3644
3824
|
type: Component,
|
|
3645
3825
|
args: [{
|
|
3646
3826
|
selector: 'dbx-firebase-model-type-instance-list-view',
|
|
@@ -3653,12 +3833,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
3653
3833
|
}] });
|
|
3654
3834
|
class DbxFirebaseModelTypeInstanceListViewItemComponent extends AbstractDbxValueListViewItemComponent {
|
|
3655
3835
|
title = this.itemValue.displayInfo.title;
|
|
3656
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3657
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3836
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelTypeInstanceListViewItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3837
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseModelTypeInstanceListViewItemComponent, isStandalone: true, selector: "dbx-firebase-model-type-instance-list-view-item", usesInheritance: true, ngImport: i0, template: `
|
|
3658
3838
|
<span>{{ title }}</span>
|
|
3659
3839
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3660
3840
|
}
|
|
3661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelTypeInstanceListViewItemComponent, decorators: [{
|
|
3662
3842
|
type: Component,
|
|
3663
3843
|
args: [{
|
|
3664
3844
|
selector: 'dbx-firebase-model-type-instance-list-view-item',
|
|
@@ -3676,14 +3856,14 @@ class DbxFirebaseModelHistoryComponent {
|
|
|
3676
3856
|
historyFilter = input(...(ngDevMode ? [undefined, { debugName: "historyFilter" }] : /* istanbul ignore next */ []));
|
|
3677
3857
|
historyPairs$ = toObservable(this.historyFilter).pipe(switchMap((x) => this.dbxFirebaseModelTrackerService.filterHistoryPairs(x)), shareReplay(1));
|
|
3678
3858
|
state = loadingStateFromObs(this.historyPairs$);
|
|
3679
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3680
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
3859
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelHistoryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3860
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.4", type: DbxFirebaseModelHistoryComponent, isStandalone: true, selector: "dbx-firebase-model-history", inputs: { anchorForItem: { classPropertyName: "anchorForItem", publicName: "anchorForItem", isSignal: true, isRequired: false, transformFunction: null }, historyFilter: { classPropertyName: "historyFilter", publicName: "historyFilter", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
3681
3861
|
<dbx-firebase-model-type-instance-list [state]="state" dbxListItemModifier [dbxListItemAnchorModifier]="anchorForItem()">
|
|
3682
3862
|
<ng-content empty select="[empty]"></ng-content>
|
|
3683
3863
|
</dbx-firebase-model-type-instance-list>
|
|
3684
3864
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseModelTypeInstanceListComponent, selector: "dbx-firebase-model-type-instance-list" }, { kind: "directive", type: DbxListItemAnchorModifierDirective, selector: "[dbxListItemAnchorModifier]", inputs: ["dbxListItemAnchorModifier"] }, { kind: "directive", type: DbxValueListItemModifierDirective, selector: "dbxListItemModifier,[dbxListItemModifier]", inputs: ["dbxListItemModifier"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3685
3865
|
}
|
|
3686
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3866
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelHistoryComponent, decorators: [{
|
|
3687
3867
|
type: Component,
|
|
3688
3868
|
args: [{
|
|
3689
3869
|
selector: 'dbx-firebase-model-history',
|
|
@@ -3722,10 +3902,10 @@ class DbxFirebaseModelHistoryPopoverComponent extends AbstractPopoverDirective {
|
|
|
3722
3902
|
emptyText = this.config.emptyText ?? 'History is empty.';
|
|
3723
3903
|
historyFilter = this.config.historyFilter;
|
|
3724
3904
|
anchorForItem = this.config.anchorForItem;
|
|
3725
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3726
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3905
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelHistoryPopoverComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3906
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseModelHistoryPopoverComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<dbx-popover-content>\n <!-- Header -->\n <dbx-popover-header [icon]=\"icon\" [header]=\"header\"></dbx-popover-header>\n <!-- Content -->\n <dbx-popover-scroll-content>\n <dbx-firebase-model-history [historyFilter]=\"historyFilter\" [anchorForItem]=\"anchorForItem\">\n <dbx-list-empty-content empty>\n <p>{{ emptyText }}</p>\n </dbx-list-empty-content>\n </dbx-firebase-model-history>\n </dbx-popover-scroll-content>\n</dbx-popover-content>\n", dependencies: [{ kind: "component", type: DbxPopoverContentComponent, selector: "dbx-popover-content" }, { kind: "component", type: DbxPopoverHeaderComponent, selector: "dbx-popover-header", inputs: ["header", "icon"] }, { kind: "directive", type: DbxPopoverScrollContentDirective, selector: "dbx-popover-scroll-content,[dbxPopoverScrollContent],.dbx-popover-scroll-content" }, { kind: "component", type: DbxFirebaseModelHistoryComponent, selector: "dbx-firebase-model-history", inputs: ["anchorForItem", "historyFilter"] }, { kind: "component", type: DbxListEmptyContentComponent, selector: "dbx-list-empty-content" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3727
3907
|
}
|
|
3728
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3908
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelHistoryPopoverComponent, decorators: [{
|
|
3729
3909
|
type: Component,
|
|
3730
3910
|
args: [{ imports: [DbxPopoverContentComponent, DbxPopoverHeaderComponent, DbxPopoverScrollContentDirective, DbxFirebaseModelHistoryComponent, DbxListEmptyContentComponent], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<dbx-popover-content>\n <!-- Header -->\n <dbx-popover-header [icon]=\"icon\" [header]=\"header\"></dbx-popover-header>\n <!-- Content -->\n <dbx-popover-scroll-content>\n <dbx-firebase-model-history [historyFilter]=\"historyFilter\" [anchorForItem]=\"anchorForItem\">\n <dbx-list-empty-content empty>\n <p>{{ emptyText }}</p>\n </dbx-list-empty-content>\n </dbx-firebase-model-history>\n </dbx-popover-scroll-content>\n</dbx-popover-content>\n" }]
|
|
3731
3911
|
}] });
|
|
@@ -3748,12 +3928,12 @@ class DbxFirebaseModelHistoryPopoverButtonComponent extends AbstractPopoverRefDi
|
|
|
3748
3928
|
const origin = this.buttonElement();
|
|
3749
3929
|
this.showPopover(origin);
|
|
3750
3930
|
}
|
|
3751
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3752
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.
|
|
3931
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelHistoryPopoverButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3932
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.4", type: DbxFirebaseModelHistoryPopoverButtonComponent, isStandalone: true, selector: "dbx-firebase-model-history-popover-button", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "buttonElement", first: true, predicate: ["button"], descendants: true, read: ElementRef, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
3753
3933
|
<dbx-button #button (buttonClick)="showHistoryPopover()" icon="history" iconOnly></dbx-button>
|
|
3754
3934
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "customContent", "allowClickPropagation", "mode"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3755
3935
|
}
|
|
3756
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelHistoryPopoverButtonComponent, decorators: [{
|
|
3757
3937
|
type: Component,
|
|
3758
3938
|
args: [{
|
|
3759
3939
|
selector: 'dbx-firebase-model-history-popover-button',
|
|
@@ -3874,10 +4054,10 @@ class DbxFirebaseModelEntitiesWidgetService {
|
|
|
3874
4054
|
getSortPriorityMap() {
|
|
3875
4055
|
return this._sortPriorityMap();
|
|
3876
4056
|
}
|
|
3877
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3878
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4057
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelEntitiesWidgetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4058
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelEntitiesWidgetService });
|
|
3879
4059
|
}
|
|
3880
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelEntitiesWidgetService, decorators: [{
|
|
3881
4061
|
type: Injectable
|
|
3882
4062
|
}], ctorParameters: () => [] });
|
|
3883
4063
|
|
|
@@ -3989,10 +4169,10 @@ class DbxFirebaseModelEntitiesEntityComponent {
|
|
|
3989
4169
|
commonWidgetConfigSignal = computed(() => this.widgetInjectionConfigSignal()?.commonComponentConfig, ...(ngDevMode ? [{ debugName: "commonWidgetConfigSignal" }] : /* istanbul ignore next */ []));
|
|
3990
4170
|
debugWidgetConfigSignal = computed(() => this.widgetInjectionConfigSignal()?.debugComponentConfig, ...(ngDevMode ? [{ debugName: "debugWidgetConfigSignal" }] : /* istanbul ignore next */ []));
|
|
3991
4171
|
loadingContext = cleanLoadingContext({ obs: this.loadingState$ });
|
|
3992
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3993
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
4172
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelEntitiesEntityComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4173
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: DbxFirebaseModelEntitiesEntityComponent, isStandalone: true, selector: "dbx-firebase-model-entities-entity", inputs: { entity: { classPropertyName: "entity", publicName: "entity", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<mat-expansion-panel>\n <mat-expansion-panel-header>\n <mat-panel-title>\n @if (displayInfoSignal(); as displayInfo) {\n <div class=\"dbx-list-two-line-item\">\n <div class=\"item-left\">\n <span class=\"dbx-pb2 dbx-flex-bar\">\n @if (displayInfo.icon) {\n <mat-icon class=\"dbx-button-spacer\">{{ displayInfo.icon }}</mat-icon>\n }\n <span>{{ displayInfo.title }}</span>\n </span>\n <span>\n <span class=\"dbx-hint dbx-small\">{{ modelTypeSignal() }}</span>\n @if (displayNameSignal(); as displayName) {\n <span class=\"dbx-small dbx-u dbx-pl2\">{{ displayName }}</span>\n }\n </span>\n </div>\n </div>\n }\n </mat-panel-title>\n </mat-expansion-panel-header>\n <ng-template matExpansionPanelContent>\n <div class=\"dbx-firebase-model-entities-entity-panel-content\">\n <dbx-loading [context]=\"loadingContext\">\n @if (entityWidgetConfigSignal(); as config) {\n <div class=\"dbx-pb3 dbx-firebase-model-entities-entity-content\">\n <dbx-injection [config]=\"config\"></dbx-injection>\n </div>\n }\n @if (commonWidgetConfigSignal(); as config) {\n <div class=\"dbx-pb3 dbx-firebase-model-entities-common-content\">\n <dbx-injection [config]=\"config\"></dbx-injection>\n </div>\n }\n @if (debugWidgetConfigSignal(); as config) {\n <div class=\"dbx-pb3 dbx-firebase-model-entities-debug-content\">\n <dbx-injection [config]=\"config\"></dbx-injection>\n </div>\n }\n </dbx-loading>\n </div>\n </ng-template>\n</mat-expansion-panel>\n", dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "component", type: DbxLoadingComponent, selector: "dbx-loading", inputs: ["padding", "show", "text", "mode", "color", "diameter", "linear", "loading", "error", "context"] }, { kind: "component", type: MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["hideToggle", "togglePosition"], outputs: ["afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight", "tabIndex"] }, { kind: "directive", type: MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: MatExpansionPanelContent, selector: "ng-template[matExpansionPanelContent]" }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3994
4174
|
}
|
|
3995
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelEntitiesEntityComponent, decorators: [{
|
|
3996
4176
|
type: Component,
|
|
3997
4177
|
args: [{ selector: 'dbx-firebase-model-entities-entity', imports: [DbxInjectionComponent, DbxLoadingComponent, MatExpansionPanel, MatExpansionPanelHeader, MatExpansionPanelTitle, MatExpansionPanelContent, MatIcon], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<mat-expansion-panel>\n <mat-expansion-panel-header>\n <mat-panel-title>\n @if (displayInfoSignal(); as displayInfo) {\n <div class=\"dbx-list-two-line-item\">\n <div class=\"item-left\">\n <span class=\"dbx-pb2 dbx-flex-bar\">\n @if (displayInfo.icon) {\n <mat-icon class=\"dbx-button-spacer\">{{ displayInfo.icon }}</mat-icon>\n }\n <span>{{ displayInfo.title }}</span>\n </span>\n <span>\n <span class=\"dbx-hint dbx-small\">{{ modelTypeSignal() }}</span>\n @if (displayNameSignal(); as displayName) {\n <span class=\"dbx-small dbx-u dbx-pl2\">{{ displayName }}</span>\n }\n </span>\n </div>\n </div>\n }\n </mat-panel-title>\n </mat-expansion-panel-header>\n <ng-template matExpansionPanelContent>\n <div class=\"dbx-firebase-model-entities-entity-panel-content\">\n <dbx-loading [context]=\"loadingContext\">\n @if (entityWidgetConfigSignal(); as config) {\n <div class=\"dbx-pb3 dbx-firebase-model-entities-entity-content\">\n <dbx-injection [config]=\"config\"></dbx-injection>\n </div>\n }\n @if (commonWidgetConfigSignal(); as config) {\n <div class=\"dbx-pb3 dbx-firebase-model-entities-common-content\">\n <dbx-injection [config]=\"config\"></dbx-injection>\n </div>\n }\n @if (debugWidgetConfigSignal(); as config) {\n <div class=\"dbx-pb3 dbx-firebase-model-entities-debug-content\">\n <dbx-injection [config]=\"config\"></dbx-injection>\n </div>\n }\n </dbx-loading>\n </div>\n </ng-template>\n</mat-expansion-panel>\n" }]
|
|
3998
4178
|
}], propDecorators: { entity: [{ type: i0.Input, args: [{ isSignal: true, alias: "entity", required: true }] }] } });
|
|
@@ -4062,8 +4242,8 @@ class DbxFirebaseModelEntitiesComponent {
|
|
|
4062
4242
|
clickShowUnregisteredEntities() {
|
|
4063
4243
|
this.showUnregisteredTypesSignal.set(true);
|
|
4064
4244
|
}
|
|
4065
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4066
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
4245
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelEntitiesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4246
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: DbxFirebaseModelEntitiesComponent, isStandalone: true, selector: "dbx-firebase-model-entities", inputs: { multi: { classPropertyName: "multi", publicName: "multi", isSignal: true, isRequired: false, transformFunction: null }, onlyShowRegisteredTypes: { classPropertyName: "onlyShowRegisteredTypes", publicName: "onlyShowRegisteredTypes", isSignal: true, isRequired: false, transformFunction: null }, entities: { classPropertyName: "entities", publicName: "entities", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
4067
4247
|
<dbx-loading [linear]="true" [context]="context">
|
|
4068
4248
|
<mat-accordion class="dbx-firebase-model-entities-accordion" [multi]="multi()">
|
|
4069
4249
|
@for (entity of entitiesWithKeysSignal(); track entity.key) {
|
|
@@ -4083,7 +4263,7 @@ class DbxFirebaseModelEntitiesComponent {
|
|
|
4083
4263
|
</dbx-loading>
|
|
4084
4264
|
`, isInline: true, dependencies: [{ kind: "directive", type: MatAccordion, selector: "mat-accordion", inputs: ["hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: DbxLoadingComponent, selector: "dbx-loading", inputs: ["padding", "show", "text", "mode", "color", "diameter", "linear", "loading", "error", "context"] }, { kind: "component", type: DbxFirebaseModelEntitiesEntityComponent, selector: "dbx-firebase-model-entities-entity", inputs: ["entity"] }, { kind: "component", type: DbxListEmptyContentComponent, selector: "dbx-list-empty-content" }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "customContent", "allowClickPropagation", "mode"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4085
4265
|
}
|
|
4086
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelEntitiesComponent, decorators: [{
|
|
4087
4267
|
type: Component,
|
|
4088
4268
|
args: [{
|
|
4089
4269
|
selector: 'dbx-firebase-model-entities',
|
|
@@ -4145,10 +4325,10 @@ class DbxFirebaseModelEntitiesPopoverComponent extends AbstractPopoverDirective
|
|
|
4145
4325
|
header = this.config.header ?? 'Entities';
|
|
4146
4326
|
emptyText = this.config.emptyText ?? 'No entities found in current context.';
|
|
4147
4327
|
onlyShowRegisteredTypes = this.config.onlyShowRegisteredTypes;
|
|
4148
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4149
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
4328
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelEntitiesPopoverComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4329
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseModelEntitiesPopoverComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<dbx-popover-content>\n <!-- Header -->\n <dbx-popover-header [icon]=\"icon\" [header]=\"header\"></dbx-popover-header>\n <!-- Content -->\n <dbx-popover-scroll-content>\n <dbx-firebase-model-entities [entities]=\"entities$\" [onlyShowRegisteredTypes]=\"onlyShowRegisteredTypes\">\n <p empty>{{ emptyText }}</p>\n </dbx-firebase-model-entities>\n </dbx-popover-scroll-content>\n</dbx-popover-content>\n", dependencies: [{ kind: "component", type: DbxPopoverContentComponent, selector: "dbx-popover-content" }, { kind: "component", type: DbxPopoverHeaderComponent, selector: "dbx-popover-header", inputs: ["header", "icon"] }, { kind: "directive", type: DbxPopoverScrollContentDirective, selector: "dbx-popover-scroll-content,[dbxPopoverScrollContent],.dbx-popover-scroll-content" }, { kind: "component", type: DbxFirebaseModelEntitiesComponent, selector: "dbx-firebase-model-entities", inputs: ["multi", "onlyShowRegisteredTypes", "entities"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4150
4330
|
}
|
|
4151
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4331
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelEntitiesPopoverComponent, decorators: [{
|
|
4152
4332
|
type: Component,
|
|
4153
4333
|
args: [{ imports: [DbxPopoverContentComponent, DbxPopoverHeaderComponent, DbxPopoverScrollContentDirective, DbxFirebaseModelEntitiesComponent], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<dbx-popover-content>\n <!-- Header -->\n <dbx-popover-header [icon]=\"icon\" [header]=\"header\"></dbx-popover-header>\n <!-- Content -->\n <dbx-popover-scroll-content>\n <dbx-firebase-model-entities [entities]=\"entities$\" [onlyShowRegisteredTypes]=\"onlyShowRegisteredTypes\">\n <p empty>{{ emptyText }}</p>\n </dbx-firebase-model-entities>\n </dbx-popover-scroll-content>\n</dbx-popover-content>\n" }]
|
|
4154
4334
|
}] });
|
|
@@ -4182,12 +4362,12 @@ class DbxFirebaseModelEntitiesPopoverButtonComponent extends AbstractPopoverRefD
|
|
|
4182
4362
|
const origin = this.buttonElement();
|
|
4183
4363
|
this.showPopover(origin);
|
|
4184
4364
|
}
|
|
4185
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4186
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.
|
|
4365
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelEntitiesPopoverButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4366
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.4", type: DbxFirebaseModelEntitiesPopoverButtonComponent, isStandalone: true, selector: "dbx-firebase-model-entities-popover-button", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "buttonElement", first: true, predicate: ["button"], descendants: true, read: ElementRef, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
4187
4367
|
<dbx-button #button (buttonClick)="showEntitiesPopover()" [buttonStyle]="buttonStyleSignal()" [buttonDisplay]="buttonDisplaySignal()"></dbx-button>
|
|
4188
4368
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "customContent", "allowClickPropagation", "mode"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4189
4369
|
}
|
|
4190
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4370
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelEntitiesPopoverButtonComponent, decorators: [{
|
|
4191
4371
|
type: Component,
|
|
4192
4372
|
args: [{
|
|
4193
4373
|
selector: 'dbx-firebase-model-entities-popover-button',
|
|
@@ -4259,10 +4439,10 @@ class DbxFirebaseDocumentStoreContextStore extends ComponentStore {
|
|
|
4259
4439
|
// MARK: State Changes
|
|
4260
4440
|
addStore = this.updater(addStore);
|
|
4261
4441
|
removeStore = this.updater(removeStore);
|
|
4262
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4263
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4442
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDocumentStoreContextStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4443
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDocumentStoreContextStore });
|
|
4264
4444
|
}
|
|
4265
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDocumentStoreContextStore, decorators: [{
|
|
4266
4446
|
type: Injectable
|
|
4267
4447
|
}], ctorParameters: () => [] });
|
|
4268
4448
|
function addStore(state, store) {
|
|
@@ -4316,8 +4496,8 @@ const dbxFirebaseDocumentStoreContextModelEntitiesSourceFactory = (storeContextS
|
|
|
4316
4496
|
* Directive that provides a {@link DbxFirebaseModelEntitiesSource} from the current document store context.
|
|
4317
4497
|
*/
|
|
4318
4498
|
class DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective {
|
|
4319
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4320
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
4499
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4500
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective, isStandalone: true, selector: "[dbxFirebaseDocumentStoreContextModelEntitiesSource]", providers: [
|
|
4321
4501
|
{
|
|
4322
4502
|
provide: DbxFirebaseModelEntitiesSource,
|
|
4323
4503
|
useFactory: dbxFirebaseDocumentStoreContextModelEntitiesSourceFactory,
|
|
@@ -4325,7 +4505,7 @@ class DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective {
|
|
|
4325
4505
|
}
|
|
4326
4506
|
], ngImport: i0 });
|
|
4327
4507
|
}
|
|
4328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective, decorators: [{
|
|
4329
4509
|
type: Directive,
|
|
4330
4510
|
args: [{
|
|
4331
4511
|
selector: '[dbxFirebaseDocumentStoreContextModelEntitiesSource]',
|
|
@@ -4347,10 +4527,10 @@ class AbstractDbxFirebaseModelEntityWidgetDirective {
|
|
|
4347
4527
|
entityData = inject(DBX_FIREBASE_MODEL_ENTITY_WITH_STORE_TOKEN);
|
|
4348
4528
|
store = this.entityData.store;
|
|
4349
4529
|
data$ = this.store.data$;
|
|
4350
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4351
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
4530
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFirebaseModelEntityWidgetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4531
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractDbxFirebaseModelEntityWidgetDirective, isStandalone: true, ngImport: i0 });
|
|
4352
4532
|
}
|
|
4353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4533
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFirebaseModelEntityWidgetDirective, decorators: [{
|
|
4354
4534
|
type: Directive,
|
|
4355
4535
|
args: [{}]
|
|
4356
4536
|
}] });
|
|
@@ -4390,10 +4570,10 @@ class DbxFirebaseModelKeyComponent {
|
|
|
4390
4570
|
typeCanSegueToView = computed(() => this.typeInfoSignal()?.canSegueToView ?? false, ...(ngDevMode ? [{ debugName: "typeCanSegueToView" }] : /* istanbul ignore next */ []));
|
|
4391
4571
|
sref$ = this.modelTypeInstance$.pipe(switchMap((x) => x?.segueRef$ ?? of(undefined)));
|
|
4392
4572
|
srefSignal = toSignal(this.sref$);
|
|
4393
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4394
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
4573
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelKeyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4574
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: DbxFirebaseModelKeyComponent, isStandalone: true, selector: "dbx-firebase-model-key", inputs: { modelKey: { classPropertyName: "modelKey", publicName: "modelKey", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"dbx-firebase-model-key\">\n @if (modelKey(); as key) {\n <!-- Key Data -->\n <dbx-detail-block icon=\"key\" header=\"Model Key\">\n <dbx-click-to-copy-text [highlighted]=\"true\" class=\"dbx-block\">{{ key }}</dbx-click-to-copy-text>\n <dbx-click-to-copy-text [highlighted]=\"true\" class=\"dbx-block\">{{ modelKeyIdSignal() }}</dbx-click-to-copy-text>\n <dbx-click-to-copy-text [highlighted]=\"true\" class=\"dbx-block\" [copyText]=\"oneWayFlatModelKeySignal()\">(Flat) {{ oneWayFlatModelKeySignal() }}</dbx-click-to-copy-text>\n <dbx-click-to-copy-text [highlighted]=\"true\" class=\"dbx-block\" [copyText]=\"twoWayFlatModelKeySignal()\">(Encoded Flat) {{ twoWayFlatModelKeySignal() }}</dbx-click-to-copy-text>\n </dbx-detail-block>\n\n <!-- Type Info -->\n @if (typeInfoSignal(); as typeInfo) {\n <!-- Model Meta Data -->\n <div>\n <dbx-detail-block [icon]=\"typeInfo.icon\" header=\"Model Type\">\n <dbx-click-to-copy-text class=\"dbx-block\">{{ typeInfo.modelType }}</dbx-click-to-copy-text>\n @if (typeInfo.icon) {\n <dbx-click-to-copy-text [copyText]=\"typeInfo.icon\" class=\"dbx-block\">\n Icon:\n <span class=\"dbx-u\">{{ typeInfo.icon }}</span>\n </dbx-click-to-copy-text>\n } @else {\n <span class=\"dbx-notice\">No Icon For Type</span>\n }\n </dbx-detail-block>\n <dbx-detail-block icon=\"dataset\" header=\"Collection Name\">\n <dbx-click-to-copy-text class=\"dbx-block\">{{ typeInfo.identity.collectionName }}</dbx-click-to-copy-text>\n </dbx-detail-block>\n </div>\n\n <!-- Segue Info -->\n @if (typeCanSegueToView()) {\n <dbx-detail-block icon=\"arrow_forward\" header=\"Segue To View\">\n <div class=\"dbx-hint dbx-small\">This model has a unique view within the app.</div>\n <dbx-anchor [anchor]=\"srefSignal()\"><dbx-button text=\"Go To View\"></dbx-button></dbx-anchor>\n </dbx-detail-block>\n } @else {\n <dbx-detail-block class=\"dbx-warn\" icon=\"warning\" header=\"No Segue View\">\n <span>This type provides no information for segue directly.</span>\n </dbx-detail-block>\n }\n } @else {\n <dbx-detail-block class=\"dbx-warn\" icon=\"warning\" header=\"No Type Info\">\n <span>There is no type info registered for this model type.</span>\n </dbx-detail-block>\n }\n } @else {\n <div class=\"dbx-firebase-model-key-empty\">No model key provided</div>\n }\n</div>\n", dependencies: [{ kind: "component", type: DbxDetailBlockComponent, selector: "dbx-detail-block", inputs: ["icon", "header", "alignHeader", "bigHeader"] }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "customContent", "allowClickPropagation", "mode"] }, { kind: "component", type: DbxClickToCopyTextComponent, selector: "dbx-click-to-copy-text", inputs: ["copyText", "showIcon", "highlighted", "clipboardSnackbarMessagesConfig", "clipboardSnackbarMessagesEnabled", "clickToCopyIcon", "clickIconToCopyOnly"] }, { kind: "component", type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }] });
|
|
4395
4575
|
}
|
|
4396
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4576
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelKeyComponent, decorators: [{
|
|
4397
4577
|
type: Component,
|
|
4398
4578
|
args: [{ selector: 'dbx-firebase-model-key', standalone: true, imports: [DbxDetailBlockComponent, DbxButtonComponent, DbxClickToCopyTextComponent, DbxAnchorComponent], template: "<div class=\"dbx-firebase-model-key\">\n @if (modelKey(); as key) {\n <!-- Key Data -->\n <dbx-detail-block icon=\"key\" header=\"Model Key\">\n <dbx-click-to-copy-text [highlighted]=\"true\" class=\"dbx-block\">{{ key }}</dbx-click-to-copy-text>\n <dbx-click-to-copy-text [highlighted]=\"true\" class=\"dbx-block\">{{ modelKeyIdSignal() }}</dbx-click-to-copy-text>\n <dbx-click-to-copy-text [highlighted]=\"true\" class=\"dbx-block\" [copyText]=\"oneWayFlatModelKeySignal()\">(Flat) {{ oneWayFlatModelKeySignal() }}</dbx-click-to-copy-text>\n <dbx-click-to-copy-text [highlighted]=\"true\" class=\"dbx-block\" [copyText]=\"twoWayFlatModelKeySignal()\">(Encoded Flat) {{ twoWayFlatModelKeySignal() }}</dbx-click-to-copy-text>\n </dbx-detail-block>\n\n <!-- Type Info -->\n @if (typeInfoSignal(); as typeInfo) {\n <!-- Model Meta Data -->\n <div>\n <dbx-detail-block [icon]=\"typeInfo.icon\" header=\"Model Type\">\n <dbx-click-to-copy-text class=\"dbx-block\">{{ typeInfo.modelType }}</dbx-click-to-copy-text>\n @if (typeInfo.icon) {\n <dbx-click-to-copy-text [copyText]=\"typeInfo.icon\" class=\"dbx-block\">\n Icon:\n <span class=\"dbx-u\">{{ typeInfo.icon }}</span>\n </dbx-click-to-copy-text>\n } @else {\n <span class=\"dbx-notice\">No Icon For Type</span>\n }\n </dbx-detail-block>\n <dbx-detail-block icon=\"dataset\" header=\"Collection Name\">\n <dbx-click-to-copy-text class=\"dbx-block\">{{ typeInfo.identity.collectionName }}</dbx-click-to-copy-text>\n </dbx-detail-block>\n </div>\n\n <!-- Segue Info -->\n @if (typeCanSegueToView()) {\n <dbx-detail-block icon=\"arrow_forward\" header=\"Segue To View\">\n <div class=\"dbx-hint dbx-small\">This model has a unique view within the app.</div>\n <dbx-anchor [anchor]=\"srefSignal()\"><dbx-button text=\"Go To View\"></dbx-button></dbx-anchor>\n </dbx-detail-block>\n } @else {\n <dbx-detail-block class=\"dbx-warn\" icon=\"warning\" header=\"No Segue View\">\n <span>This type provides no information for segue directly.</span>\n </dbx-detail-block>\n }\n } @else {\n <dbx-detail-block class=\"dbx-warn\" icon=\"warning\" header=\"No Type Info\">\n <span>There is no type info registered for this model type.</span>\n </dbx-detail-block>\n }\n } @else {\n <div class=\"dbx-firebase-model-key-empty\">No model key provided</div>\n }\n</div>\n" }]
|
|
4399
4579
|
}], propDecorators: { modelKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "modelKey", required: false }] }] } });
|
|
@@ -4419,10 +4599,10 @@ class DbxFirebaseModelEntitiesDebugWidgetComponent extends AbstractDbxFirebaseMo
|
|
|
4419
4599
|
return content;
|
|
4420
4600
|
}, ...(ngDevMode ? [{ debugName: "contentSignal" }] : /* istanbul ignore next */ []));
|
|
4421
4601
|
context = cleanLoadingContext(this.store.dataLoadingState$);
|
|
4422
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4423
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
4602
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelEntitiesDebugWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4603
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: DbxFirebaseModelEntitiesDebugWidgetComponent, isStandalone: true, selector: "dbx-firebase-model-entities-debug-widget", usesInheritance: true, ngImport: i0, template: "<div class=\"dbx-firebase-model-entities-debug-widget\">\n <!-- Model Key Section -->\n <div class=\"dbx-debug-section\">\n <h4>Model Key Information</h4>\n @if (currentKey(); as key) {\n <dbx-firebase-model-key [modelKey]=\"key\"></dbx-firebase-model-key>\n }\n </div>\n\n <!-- Document Data Section -->\n <div class=\"dbx-debug-section\">\n <h4>Document Data</h4>\n <dbx-loading [context]=\"context\">\n @if (currentData(); as data) {\n <dbx-download-text-view [showTitle]=\"false\" [content]=\"contentSignal()\"></dbx-download-text-view>\n } @else {\n <p class=\"dbx-empty\">No data available</p>\n }\n </dbx-loading>\n </div>\n</div>\n", dependencies: [{ kind: "component", type: DbxFirebaseModelKeyComponent, selector: "dbx-firebase-model-key", inputs: ["modelKey"] }, { kind: "component", type: DbxDownloadTextViewComponent, selector: "dbx-download-text-view", inputs: ["showDownloadButton", "loadingText", "linear", "showTitle", "showPreview", "showExpandPreviewButton", "expandPreview", "content", "contentState"], outputs: ["expandPreviewChange"] }, { kind: "component", type: DbxLoadingComponent, selector: "dbx-loading", inputs: ["padding", "show", "text", "mode", "color", "diameter", "linear", "loading", "error", "context"] }] });
|
|
4424
4604
|
}
|
|
4425
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4605
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelEntitiesDebugWidgetComponent, decorators: [{
|
|
4426
4606
|
type: Component,
|
|
4427
4607
|
args: [{ selector: 'dbx-firebase-model-entities-debug-widget', standalone: true, imports: [DbxFirebaseModelKeyComponent, DbxDownloadTextViewComponent, DbxLoadingComponent], template: "<div class=\"dbx-firebase-model-entities-debug-widget\">\n <!-- Model Key Section -->\n <div class=\"dbx-debug-section\">\n <h4>Model Key Information</h4>\n @if (currentKey(); as key) {\n <dbx-firebase-model-key [modelKey]=\"key\"></dbx-firebase-model-key>\n }\n </div>\n\n <!-- Document Data Section -->\n <div class=\"dbx-debug-section\">\n <h4>Document Data</h4>\n <dbx-loading [context]=\"context\">\n @if (currentData(); as data) {\n <dbx-download-text-view [showTitle]=\"false\" [content]=\"contentSignal()\"></dbx-download-text-view>\n } @else {\n <p class=\"dbx-empty\">No data available</p>\n }\n </dbx-loading>\n </div>\n</div>\n" }]
|
|
4428
4608
|
}] });
|
|
@@ -4511,10 +4691,10 @@ class DbxFirebaseDocumentStoreDirective {
|
|
|
4511
4691
|
// we assume that the input model key is a TwoWayFlatFirestoreModelKey, since the TwoWayFlatFirestoreModelKey is safe to encode in the url
|
|
4512
4692
|
return keyFromParams.subscribe((x) => this.setFlatKey(x));
|
|
4513
4693
|
}
|
|
4514
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4515
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4694
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDocumentStoreDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
4695
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxFirebaseDocumentStoreDirective, isStandalone: true, inputs: { storeName: { classPropertyName: "storeName", publicName: "storeName", isSignal: true, isRequired: false, transformFunction: null }, documentId: { classPropertyName: "documentId", publicName: "documentId", isSignal: true, isRequired: false, transformFunction: null }, key: { classPropertyName: "key", publicName: "key", isSignal: true, isRequired: false, transformFunction: null }, flatKey: { classPropertyName: "flatKey", publicName: "flatKey", isSignal: true, isRequired: false, transformFunction: null }, ref: { classPropertyName: "ref", publicName: "ref", isSignal: true, isRequired: false, transformFunction: null }, streamMode: { classPropertyName: "streamMode", publicName: "streamMode", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { storeName: "storeNameChange", documentId: "documentIdChange", key: "keyChange", flatKey: "flatKeyChange", ref: "refChange", streamMode: "streamModeChange" }, ngImport: i0 });
|
|
4516
4696
|
}
|
|
4517
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4697
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDocumentStoreDirective, decorators: [{
|
|
4518
4698
|
type: Directive
|
|
4519
4699
|
}], ctorParameters: () => [{ type: undefined }], propDecorators: { storeName: [{ type: i0.Input, args: [{ isSignal: true, alias: "storeName", required: false }] }, { type: i0.Output, args: ["storeNameChange"] }], documentId: [{ type: i0.Input, args: [{ isSignal: true, alias: "documentId", required: false }] }, { type: i0.Output, args: ["documentIdChange"] }], key: [{ type: i0.Input, args: [{ isSignal: true, alias: "key", required: false }] }, { type: i0.Output, args: ["keyChange"] }], flatKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "flatKey", required: false }] }, { type: i0.Output, args: ["flatKeyChange"] }], ref: [{ type: i0.Input, args: [{ isSignal: true, alias: "ref", required: false }] }, { type: i0.Output, args: ["refChange"] }], streamMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "streamMode", required: false }] }, { type: i0.Output, args: ["streamModeChange"] }] } });
|
|
4520
4700
|
function provideDbxFirebaseDocumentStoreDirective(sourceType, storeType) {
|
|
@@ -4558,10 +4738,10 @@ class DbxFirebaseModelViewedEventDirective {
|
|
|
4558
4738
|
this.dbxModelObjectStateService.emitModelViewEvent({ modelKeyTypeNamePair, context });
|
|
4559
4739
|
}));
|
|
4560
4740
|
}
|
|
4561
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4562
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4741
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelViewedEventDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4742
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxFirebaseModelViewedEventDirective, isStandalone: true, selector: "[dbxFirebaseModelViewedEvent]", inputs: { modelViewContext: { classPropertyName: "modelViewContext", publicName: "dbxFirebaseModelViewedEvent", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
4563
4743
|
}
|
|
4564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelViewedEventDirective, decorators: [{
|
|
4565
4745
|
type: Directive,
|
|
4566
4746
|
args: [{
|
|
4567
4747
|
selector: '[dbxFirebaseModelViewedEvent]',
|
|
@@ -4642,10 +4822,10 @@ class DbxFirebaseCollectionStoreDirective {
|
|
|
4642
4822
|
restart() {
|
|
4643
4823
|
this.store.restart();
|
|
4644
4824
|
}
|
|
4645
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4646
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4825
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseCollectionStoreDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
4826
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxFirebaseCollectionStoreDirective, isStandalone: true, inputs: { collectionMode: { classPropertyName: "collectionMode", publicName: "collectionMode", isSignal: true, isRequired: false, transformFunction: null }, collectionKeys: { classPropertyName: "collectionKeys", publicName: "collectionKeys", isSignal: true, isRequired: false, transformFunction: null }, collectionRefs: { classPropertyName: "collectionRefs", publicName: "collectionRefs", isSignal: true, isRequired: false, transformFunction: null }, maxPages: { classPropertyName: "maxPages", publicName: "maxPages", isSignal: true, isRequired: false, transformFunction: null }, itemsPerPage: { classPropertyName: "itemsPerPage", publicName: "itemsPerPage", isSignal: true, isRequired: false, transformFunction: null }, constraints: { classPropertyName: "constraints", publicName: "constraints", isSignal: true, isRequired: false, transformFunction: null }, waitForNonNullConstraints: { classPropertyName: "waitForNonNullConstraints", publicName: "waitForNonNullConstraints", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { collectionMode: "collectionModeChange", collectionKeys: "collectionKeysChange", collectionRefs: "collectionRefsChange", maxPages: "maxPagesChange", itemsPerPage: "itemsPerPageChange", constraints: "constraintsChange", waitForNonNullConstraints: "waitForNonNullConstraintsChange" }, ngImport: i0 });
|
|
4647
4827
|
}
|
|
4648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4828
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseCollectionStoreDirective, decorators: [{
|
|
4649
4829
|
type: Directive
|
|
4650
4830
|
}], ctorParameters: () => [{ type: undefined }], propDecorators: { collectionMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "collectionMode", required: false }] }, { type: i0.Output, args: ["collectionModeChange"] }], collectionKeys: [{ type: i0.Input, args: [{ isSignal: true, alias: "collectionKeys", required: false }] }, { type: i0.Output, args: ["collectionKeysChange"] }], collectionRefs: [{ type: i0.Input, args: [{ isSignal: true, alias: "collectionRefs", required: false }] }, { type: i0.Output, args: ["collectionRefsChange"] }], maxPages: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxPages", required: false }] }, { type: i0.Output, args: ["maxPagesChange"] }], itemsPerPage: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemsPerPage", required: false }] }, { type: i0.Output, args: ["itemsPerPageChange"] }], constraints: [{ type: i0.Input, args: [{ isSignal: true, alias: "constraints", required: false }] }, { type: i0.Output, args: ["constraintsChange"] }], waitForNonNullConstraints: [{ type: i0.Input, args: [{ isSignal: true, alias: "waitForNonNullConstraints", required: false }] }, { type: i0.Output, args: ["waitForNonNullConstraintsChange"] }] } });
|
|
4651
4831
|
function provideDbxFirebaseCollectionStoreDirective(sourceType, storeType) {
|
|
@@ -4686,10 +4866,10 @@ class DbxFirebaseCollectionChangeDirective {
|
|
|
4686
4866
|
restart() {
|
|
4687
4867
|
this.dbxFirebaseCollectionStoreDirective.store.restart();
|
|
4688
4868
|
}
|
|
4689
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4690
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4869
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseCollectionChangeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4870
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxFirebaseCollectionChangeDirective, isStandalone: true, selector: "[dbxFirebaseCollectionChange]", inputs: { mode: { classPropertyName: "mode", publicName: "dbxFirebaseCollectionChange", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
4691
4871
|
}
|
|
4692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseCollectionChangeDirective, decorators: [{
|
|
4693
4873
|
type: Directive,
|
|
4694
4874
|
args: [{
|
|
4695
4875
|
selector: '[dbxFirebaseCollectionChange]',
|
|
@@ -4722,10 +4902,10 @@ class DbxFirebaseCollectionHasChangeDirective extends AbstractIfDirective {
|
|
|
4722
4902
|
}
|
|
4723
4903
|
return show;
|
|
4724
4904
|
}), shareReplay(1));
|
|
4725
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4726
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4905
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseCollectionHasChangeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4906
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxFirebaseCollectionHasChangeDirective, isStandalone: true, selector: "[dbxFirebaseCollectionHasChange]", inputs: { mode: { classPropertyName: "mode", publicName: "dbxFirebaseCollectionHasChange", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
4727
4907
|
}
|
|
4728
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4908
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseCollectionHasChangeDirective, decorators: [{
|
|
4729
4909
|
type: Directive,
|
|
4730
4910
|
args: [{
|
|
4731
4911
|
selector: '[dbxFirebaseCollectionHasChange]',
|
|
@@ -4747,10 +4927,10 @@ class DbxFirebaseCollectionListDirective {
|
|
|
4747
4927
|
}));
|
|
4748
4928
|
}
|
|
4749
4929
|
}
|
|
4750
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4751
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
4930
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseCollectionListDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4931
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseCollectionListDirective, isStandalone: true, selector: "[dbxFirebaseCollectionList]", ngImport: i0 });
|
|
4752
4932
|
}
|
|
4753
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseCollectionListDirective, decorators: [{
|
|
4754
4934
|
type: Directive,
|
|
4755
4935
|
args: [{
|
|
4756
4936
|
selector: '[dbxFirebaseCollectionList]',
|
|
@@ -4782,10 +4962,10 @@ function provideDbxFirebaseDocumentStoreTwoWayKeyProvider(sourceType) {
|
|
|
4782
4962
|
class DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective {
|
|
4783
4963
|
dbxFirebaseDocumentStoreDirective = inject(DbxFirebaseDocumentStoreDirective, { host: true });
|
|
4784
4964
|
twoWayFlatKey$ = this.dbxFirebaseDocumentStoreDirective.twoWayFlatKey$;
|
|
4785
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4786
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
4965
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4966
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, isStandalone: true, selector: "[dbxFirebaseDocumentStoreTwoWayModelKeySource]", providers: provideDbxFirebaseDocumentStoreTwoWayKeyProvider(DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective), ngImport: i0 });
|
|
4787
4967
|
}
|
|
4788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4968
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, decorators: [{
|
|
4789
4969
|
type: Directive,
|
|
4790
4970
|
args: [{
|
|
4791
4971
|
selector: '[dbxFirebaseDocumentStoreTwoWayModelKeySource]',
|
|
@@ -4803,10 +4983,10 @@ class DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective {
|
|
|
4803
4983
|
constructor() {
|
|
4804
4984
|
cleanSubscription(this.dbxFirebaseDocumentStoreDirective.store.setId(this.dbxFirebaseDocumentStoreTwoWayKeyProvider.twoWayFlatKey$));
|
|
4805
4985
|
}
|
|
4806
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4807
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
4986
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4987
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, isStandalone: true, selector: "[dbxFirebaseDocumentStoreIdFromTwoWayModelKey]", ngImport: i0 });
|
|
4808
4988
|
}
|
|
4809
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, decorators: [{
|
|
4810
4990
|
type: Directive,
|
|
4811
4991
|
args: [{
|
|
4812
4992
|
selector: '[dbxFirebaseDocumentStoreIdFromTwoWayModelKey]',
|
|
@@ -4816,11 +4996,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
4816
4996
|
|
|
4817
4997
|
const importsAndExports = [DbxFirebaseCollectionListDirective, DbxFirebaseCollectionChangeDirective, DbxFirebaseCollectionHasChangeDirective, DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective];
|
|
4818
4998
|
class DbxFirebaseModelStoreModule {
|
|
4819
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4820
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
4821
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
4999
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelStoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5000
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelStoreModule, imports: [DbxFirebaseCollectionListDirective, DbxFirebaseCollectionChangeDirective, DbxFirebaseCollectionHasChangeDirective, DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective], exports: [DbxFirebaseCollectionListDirective, DbxFirebaseCollectionChangeDirective, DbxFirebaseCollectionHasChangeDirective, DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective] });
|
|
5001
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelStoreModule });
|
|
4822
5002
|
}
|
|
4823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5003
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelStoreModule, decorators: [{
|
|
4824
5004
|
type: NgModule,
|
|
4825
5005
|
args: [{
|
|
4826
5006
|
imports: importsAndExports,
|
|
@@ -4894,10 +5074,10 @@ class AbstractDbxFirebaseCollectionStore extends LockSetComponentStore {
|
|
|
4894
5074
|
loadAllResults() {
|
|
4895
5075
|
return this.loader$.pipe(switchMap((x) => x.loadAllResults()));
|
|
4896
5076
|
}
|
|
4897
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4898
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5077
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFirebaseCollectionStore, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
5078
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFirebaseCollectionStore });
|
|
4899
5079
|
}
|
|
4900
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFirebaseCollectionStore, decorators: [{
|
|
4901
5081
|
type: Injectable
|
|
4902
5082
|
}] });
|
|
4903
5083
|
|
|
@@ -5064,12 +5244,7 @@ class AbstractDbxFirebaseDocumentStore extends LockSetComponentStore {
|
|
|
5064
5244
|
* Returns false while hasRef$ is false, and then returns exists$.
|
|
5065
5245
|
*/
|
|
5066
5246
|
currentExists$ = this.hasRef$.pipe(switchMap((hasRef) => {
|
|
5067
|
-
|
|
5068
|
-
return this.exists$;
|
|
5069
|
-
}
|
|
5070
|
-
else {
|
|
5071
|
-
return of(false);
|
|
5072
|
-
}
|
|
5247
|
+
return hasRef ? this.exists$ : of(false);
|
|
5073
5248
|
}), shareReplay(1));
|
|
5074
5249
|
exists$ = this.currentData$.pipe(map((x) => isMaybeSo(x)), catchError((e) => {
|
|
5075
5250
|
let result;
|
|
@@ -5097,10 +5272,10 @@ class AbstractDbxFirebaseDocumentStore extends LockSetComponentStore {
|
|
|
5097
5272
|
clearRefs = this.updater((state) => ({ ...state, id: undefined, key: undefined, ref: undefined }));
|
|
5098
5273
|
setFirestoreCollection = this.updater((state, firestoreCollection) => ({ ...state, firestoreCollection }));
|
|
5099
5274
|
setFirestoreCollectionLike = this.updater((state, firestoreCollectionLike) => ({ ...state, firestoreCollectionLike }));
|
|
5100
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5101
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5275
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFirebaseDocumentStore, deps: [{ token: null, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5276
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFirebaseDocumentStore });
|
|
5102
5277
|
}
|
|
5103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFirebaseDocumentStore, decorators: [{
|
|
5104
5279
|
type: Injectable
|
|
5105
5280
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
5106
5281
|
type: Inject,
|
|
@@ -5110,12 +5285,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
5110
5285
|
}] }] });
|
|
5111
5286
|
function injectSingleItemIdIntoState(state) {
|
|
5112
5287
|
const id = state?.firestoreCollection?.singleItemIdentifier;
|
|
5113
|
-
|
|
5114
|
-
return { ...state, id };
|
|
5115
|
-
}
|
|
5116
|
-
else {
|
|
5117
|
-
return state;
|
|
5118
|
-
}
|
|
5288
|
+
return state && id != null ? { ...state, id } : state;
|
|
5119
5289
|
}
|
|
5120
5290
|
/**
|
|
5121
5291
|
* AbstractDbxFirebaseDocumentWithParentStore extension for use with RootSingleItemFirestoreCollection.
|
|
@@ -5133,9 +5303,7 @@ let AbstractRootSingleItemDbxFirebaseDocument = class AbstractRootSingleItemDbxF
|
|
|
5133
5303
|
if (id != null) {
|
|
5134
5304
|
return { ...state, firestoreCollection, id };
|
|
5135
5305
|
}
|
|
5136
|
-
|
|
5137
|
-
throw new Error('AbstractRootSingleItemDbxFirebaseDocument only accepts RootSingleItemFirestoreCollection values with a singleItemIdentifier set for setFirestoreCollection.');
|
|
5138
|
-
}
|
|
5306
|
+
throw new Error('AbstractRootSingleItemDbxFirebaseDocument only accepts RootSingleItemFirestoreCollection values with a singleItemIdentifier set for setFirestoreCollection.');
|
|
5139
5307
|
}
|
|
5140
5308
|
else {
|
|
5141
5309
|
return { ...state, firestoreCollection: null };
|
|
@@ -5296,21 +5464,17 @@ class AbstractDbxFirebaseCollectionWithParentStore extends AbstractDbxFirebaseCo
|
|
|
5296
5464
|
this.setFirestoreCollection(collectionGroup);
|
|
5297
5465
|
}));
|
|
5298
5466
|
}
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
return NEVER;
|
|
5311
|
-
}
|
|
5312
|
-
}));
|
|
5313
|
-
}
|
|
5467
|
+
// parent document collection
|
|
5468
|
+
return this.currentParent$.pipe(switchMap((parent) => {
|
|
5469
|
+
if (parent) {
|
|
5470
|
+
return this.collectionFactory$.pipe(tap((collectionFactory) => {
|
|
5471
|
+
const collection = collectionFactory(parent);
|
|
5472
|
+
this.setFirestoreCollection(collection);
|
|
5473
|
+
}));
|
|
5474
|
+
}
|
|
5475
|
+
this.setFirestoreCollection(undefined);
|
|
5476
|
+
return NEVER;
|
|
5477
|
+
}));
|
|
5314
5478
|
}));
|
|
5315
5479
|
});
|
|
5316
5480
|
// MARK: Accessors
|
|
@@ -5334,10 +5498,10 @@ class AbstractDbxFirebaseCollectionWithParentStore extends AbstractDbxFirebaseCo
|
|
|
5334
5498
|
*/
|
|
5335
5499
|
_setParentDocument = this.updater((state, parent) => ({ ...state, parent }));
|
|
5336
5500
|
_setParent = this._setParentDocument;
|
|
5337
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5338
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5501
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFirebaseCollectionWithParentStore, deps: [{ token: null, optional: true }, { token: null, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5502
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFirebaseCollectionWithParentStore });
|
|
5339
5503
|
}
|
|
5340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFirebaseCollectionWithParentStore, decorators: [{
|
|
5341
5505
|
type: Injectable
|
|
5342
5506
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
5343
5507
|
type: Inject,
|
|
@@ -5366,12 +5530,10 @@ class AbstractDbxFirebaseDocumentWithParentStore extends AbstractDbxFirebaseDocu
|
|
|
5366
5530
|
this.setFirestoreCollection(collection);
|
|
5367
5531
|
}));
|
|
5368
5532
|
}
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
return NEVER;
|
|
5374
|
-
}
|
|
5533
|
+
// clear the current collection
|
|
5534
|
+
this.setFirestoreCollection(undefined);
|
|
5535
|
+
// do nothing until a parent is returned.
|
|
5536
|
+
return NEVER;
|
|
5375
5537
|
}));
|
|
5376
5538
|
});
|
|
5377
5539
|
_setParent = this.setParent;
|
|
@@ -5395,10 +5557,10 @@ class AbstractDbxFirebaseDocumentWithParentStore extends AbstractDbxFirebaseDocu
|
|
|
5395
5557
|
* Sets the parent on the current state.
|
|
5396
5558
|
*/
|
|
5397
5559
|
_setParentDocument = this.updater((state, parent) => ({ ...state, parent }));
|
|
5398
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5399
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5560
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFirebaseDocumentWithParentStore, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
5561
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFirebaseDocumentWithParentStore });
|
|
5400
5562
|
}
|
|
5401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFirebaseDocumentWithParentStore, decorators: [{
|
|
5402
5564
|
type: Injectable
|
|
5403
5565
|
}] });
|
|
5404
5566
|
/**
|
|
@@ -5414,9 +5576,7 @@ class AbstractSingleItemDbxFirebaseDocument extends AbstractDbxFirebaseDocumentW
|
|
|
5414
5576
|
if (id != null) {
|
|
5415
5577
|
return { ...state, firestoreCollection, id };
|
|
5416
5578
|
}
|
|
5417
|
-
|
|
5418
|
-
throw new Error('AbstractSingleItemDbxFirebaseDocument only accepts SingleItemFirestoreCollection values with a singleItemIdentifier set for setFirestoreCollection.');
|
|
5419
|
-
}
|
|
5579
|
+
throw new Error('AbstractSingleItemDbxFirebaseDocument only accepts SingleItemFirestoreCollection values with a singleItemIdentifier set for setFirestoreCollection.');
|
|
5420
5580
|
}
|
|
5421
5581
|
else {
|
|
5422
5582
|
return { ...state, firestoreCollection: null };
|
|
@@ -5461,10 +5621,10 @@ class DbxFirebaseCollectionWithParentStoreDirective extends DbxFirebaseCollectio
|
|
|
5461
5621
|
setSourceMode(sourceMode) {
|
|
5462
5622
|
this.sourceMode.set(sourceMode);
|
|
5463
5623
|
}
|
|
5464
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5465
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
5624
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseCollectionWithParentStoreDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
5625
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxFirebaseCollectionWithParentStoreDirective, isStandalone: true, inputs: { sourceMode: { classPropertyName: "sourceMode", publicName: "sourceMode", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { sourceMode: "sourceModeChange" }, usesInheritance: true, ngImport: i0 });
|
|
5466
5626
|
}
|
|
5467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5627
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseCollectionWithParentStoreDirective, decorators: [{
|
|
5468
5628
|
type: Directive
|
|
5469
5629
|
}], ctorParameters: () => [{ type: undefined }], propDecorators: { sourceMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceMode", required: false }] }, { type: i0.Output, args: ["sourceModeChange"] }] } });
|
|
5470
5630
|
function provideDbxFirebaseCollectionWithParentStoreDirective(sourceType, storeType) {
|
|
@@ -5482,10 +5642,10 @@ function provideDbxFirebaseCollectionWithParentStoreDirective(sourceType, storeT
|
|
|
5482
5642
|
* Directive that provides a DbxFirebaseDocumentStoreContextStore.
|
|
5483
5643
|
*/
|
|
5484
5644
|
class DbxFirebaseDocumentStoreContextStoreDirective {
|
|
5485
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5486
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
5645
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDocumentStoreContextStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5646
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseDocumentStoreContextStoreDirective, isStandalone: true, selector: "[dbxFirebaseDocumentStoreContextStore]", providers: provideDbxFirebaseDocumentStoreContextStore(), ngImport: i0 });
|
|
5487
5647
|
}
|
|
5488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseDocumentStoreContextStoreDirective, decorators: [{
|
|
5489
5649
|
type: Directive,
|
|
5490
5650
|
args: [{
|
|
5491
5651
|
selector: '[dbxFirebaseDocumentStoreContextStore]',
|
|
@@ -5501,10 +5661,10 @@ class SystemStateCollectionStore extends AbstractDbxFirebaseCollectionStore {
|
|
|
5501
5661
|
constructor() {
|
|
5502
5662
|
super({ firestoreCollection: inject(SystemStateFirestoreCollections).systemStateCollection });
|
|
5503
5663
|
}
|
|
5504
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5505
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5664
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SystemStateCollectionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5665
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SystemStateCollectionStore });
|
|
5506
5666
|
}
|
|
5507
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SystemStateCollectionStore, decorators: [{
|
|
5508
5668
|
type: Injectable
|
|
5509
5669
|
}], ctorParameters: () => [] });
|
|
5510
5670
|
|
|
@@ -5515,10 +5675,10 @@ class DbxFirebaseSystemStateCollectionStoreDirective extends DbxFirebaseCollecti
|
|
|
5515
5675
|
constructor() {
|
|
5516
5676
|
super(inject(SystemStateCollectionStore));
|
|
5517
5677
|
}
|
|
5518
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5519
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
5678
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseSystemStateCollectionStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5679
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseSystemStateCollectionStoreDirective, isStandalone: true, selector: "[dbxFirebaseSystemStateCollection]", providers: provideDbxFirebaseCollectionStoreDirective(DbxFirebaseSystemStateCollectionStoreDirective, SystemStateCollectionStore), usesInheritance: true, ngImport: i0 });
|
|
5520
5680
|
}
|
|
5521
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseSystemStateCollectionStoreDirective, decorators: [{
|
|
5522
5682
|
type: Directive,
|
|
5523
5683
|
args: [{
|
|
5524
5684
|
selector: '[dbxFirebaseSystemStateCollection]',
|
|
@@ -5533,10 +5693,10 @@ class SystemStateDocumentStore extends AbstractDbxFirebaseDocumentStore {
|
|
|
5533
5693
|
constructor() {
|
|
5534
5694
|
super({ firestoreCollection: inject(SystemStateFirestoreCollections).systemStateCollection });
|
|
5535
5695
|
}
|
|
5536
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5537
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5696
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SystemStateDocumentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5697
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SystemStateDocumentStore });
|
|
5538
5698
|
}
|
|
5539
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5699
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SystemStateDocumentStore, decorators: [{
|
|
5540
5700
|
type: Injectable
|
|
5541
5701
|
}], ctorParameters: () => [] });
|
|
5542
5702
|
|
|
@@ -5555,10 +5715,10 @@ class AbstractSystemStateDocumentStoreAccessor {
|
|
|
5555
5715
|
constructor(type) {
|
|
5556
5716
|
this.systemStateDocumentStore.setId(type);
|
|
5557
5717
|
}
|
|
5558
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5559
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5718
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractSystemStateDocumentStoreAccessor, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable });
|
|
5719
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractSystemStateDocumentStoreAccessor });
|
|
5560
5720
|
}
|
|
5561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5721
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractSystemStateDocumentStoreAccessor, decorators: [{
|
|
5562
5722
|
type: Injectable
|
|
5563
5723
|
}], ctorParameters: () => [{ type: undefined }] });
|
|
5564
5724
|
|
|
@@ -5569,10 +5729,10 @@ class DbxFirebaseSystemStateDocumentStoreDirective extends DbxFirebaseDocumentSt
|
|
|
5569
5729
|
constructor() {
|
|
5570
5730
|
super(inject((SystemStateDocumentStore)));
|
|
5571
5731
|
}
|
|
5572
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5573
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
5732
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseSystemStateDocumentStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5733
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseSystemStateDocumentStoreDirective, isStandalone: true, selector: "[dbxFirebaseSystemStateDocument]", providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseSystemStateDocumentStoreDirective, SystemStateDocumentStore), usesInheritance: true, ngImport: i0 });
|
|
5574
5734
|
}
|
|
5575
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseSystemStateDocumentStoreDirective, decorators: [{
|
|
5576
5736
|
type: Directive,
|
|
5577
5737
|
args: [{
|
|
5578
5738
|
selector: '[dbxFirebaseSystemStateDocument]',
|
|
@@ -5581,11 +5741,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
5581
5741
|
}], ctorParameters: () => [] });
|
|
5582
5742
|
|
|
5583
5743
|
class DbxFirebaseModelModule {
|
|
5584
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5585
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
5586
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
5744
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5745
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelModule, exports: [DbxFirebaseModelStoreModule] });
|
|
5746
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelModule, imports: [DbxFirebaseModelStoreModule] });
|
|
5587
5747
|
}
|
|
5588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModelModule, decorators: [{
|
|
5589
5749
|
type: NgModule,
|
|
5590
5750
|
args: [{
|
|
5591
5751
|
exports: [DbxFirebaseModelStoreModule]
|
|
@@ -5610,10 +5770,10 @@ class DbxFirebaseNotificationTemplateService {
|
|
|
5610
5770
|
date
|
|
5611
5771
|
};
|
|
5612
5772
|
}
|
|
5613
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5614
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5773
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationTemplateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5774
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationTemplateService });
|
|
5615
5775
|
}
|
|
5616
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5776
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationTemplateService, decorators: [{
|
|
5617
5777
|
type: Injectable
|
|
5618
5778
|
}] });
|
|
5619
5779
|
|
|
@@ -5627,10 +5787,10 @@ class DbxFirebaseNotificationItemListComponent extends AbstractDbxSelectionListW
|
|
|
5627
5787
|
defaultSelectionMode: 'view'
|
|
5628
5788
|
});
|
|
5629
5789
|
}
|
|
5630
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5631
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
5790
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5791
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseNotificationItemListComponent, isStandalone: true, selector: "dbx-firebase-notificationitem-list", providers: provideDbxListViewWrapper(DbxFirebaseNotificationItemListComponent), usesInheritance: true, ngImport: i0, template: "\n <dbx-list [state]=\"currentState$\" [config]=\"configSignal()\" [hasMore]=\"hasMore()\" [disabled]=\"disabledSignal()\" [selectionMode]=\"selectionModeSignal()\">\n <ng-content top select=\"[top]\"></ng-content>\n <ng-content bottom select=\"[bottom]\"></ng-content>\n <ng-content empty select=\"[empty]\"></ng-content>\n <ng-content emptyLoading select=\"[emptyLoading]\"></ng-content>\n <ng-content end select=\"[end]\"></ng-content>\n </dbx-list>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxListWrapperComponentImportsModule }, { kind: "component", type: i1$1.DbxListComponent, selector: "dbx-list", inputs: ["padded", "state", "config", "disabled", "selectionMode", "hasMore"], outputs: ["contentScrolled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5632
5792
|
}
|
|
5633
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5793
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemListComponent, decorators: [{
|
|
5634
5794
|
type: Component,
|
|
5635
5795
|
args: [{
|
|
5636
5796
|
selector: 'dbx-firebase-notificationitem-list',
|
|
@@ -5649,10 +5809,10 @@ class DbxFirebaseNotificationItemListViewComponent extends AbstractDbxSelectionL
|
|
|
5649
5809
|
componentClass: DbxFirebaseNotificationItemListViewItemComponent,
|
|
5650
5810
|
mapValuesToItemValues: (x) => of(x.map((y) => ({ ...y, key: y.id, icon: y.icon, itemValue: y })))
|
|
5651
5811
|
};
|
|
5652
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5653
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
5812
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemListViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5813
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseNotificationItemListViewComponent, isStandalone: true, selector: "dbx-firebase-notificationitem-list-view", providers: provideDbxListView(DbxFirebaseNotificationItemListViewComponent), usesInheritance: true, ngImport: i0, template: "<dbx-selection-list-view [config]=\"config\"></dbx-selection-list-view>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxSelectionValueListViewComponentImportsModule }, { kind: "component", type: i1$1.DbxSelectionValueListViewComponent, selector: "dbx-selection-list-view" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5654
5814
|
}
|
|
5655
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemListViewComponent, decorators: [{
|
|
5656
5816
|
type: Component,
|
|
5657
5817
|
args: [{
|
|
5658
5818
|
selector: 'dbx-firebase-notificationitem-list-view',
|
|
@@ -5678,8 +5838,8 @@ class DbxFirebaseNotificationItemListViewItemComponent extends AbstractDbxValueL
|
|
|
5678
5838
|
get date() {
|
|
5679
5839
|
return this.pairGetter().date;
|
|
5680
5840
|
}
|
|
5681
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5682
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
5841
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemListViewItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5842
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseNotificationItemListViewItemComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
5683
5843
|
<div class="dbx-list-item-padded dbx-list-two-line-item dbx-firebase-notificationitem-list-view-item" role="article" [attr.aria-label]="subject">
|
|
5684
5844
|
<div class="item-left">
|
|
5685
5845
|
<span class="notificationitem-subject">{{ subject }}</span>
|
|
@@ -5689,7 +5849,7 @@ class DbxFirebaseNotificationItemListViewItemComponent extends AbstractDbxValueL
|
|
|
5689
5849
|
</div>
|
|
5690
5850
|
`, isInline: true, dependencies: [{ kind: "pipe", type: DatePipe, name: "date" }, { kind: "pipe", type: CutTextPipe, name: "cutText" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5691
5851
|
}
|
|
5692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemListViewItemComponent, decorators: [{
|
|
5693
5853
|
type: Component,
|
|
5694
5854
|
args: [{
|
|
5695
5855
|
template: `
|
|
@@ -5714,10 +5874,10 @@ class DbxFirebaseNotificationItemContentComponent {
|
|
|
5714
5874
|
subject = input(...(ngDevMode ? [undefined, { debugName: "subject" }] : /* istanbul ignore next */ []));
|
|
5715
5875
|
message = input(...(ngDevMode ? [undefined, { debugName: "message" }] : /* istanbul ignore next */ []));
|
|
5716
5876
|
date = input(...(ngDevMode ? [undefined, { debugName: "date" }] : /* istanbul ignore next */ []));
|
|
5717
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5718
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
5877
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5878
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: DbxFirebaseNotificationItemContentComponent, isStandalone: true, selector: "dbx-firebase-notificationitem-content", inputs: { subject: { classPropertyName: "subject", publicName: "subject", isSignal: true, isRequired: false, transformFunction: null }, message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, date: { classPropertyName: "date", publicName: "date", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"dbx-firebase-notificationitem-content\" role=\"article\" [attr.aria-label]=\"subject()\">\n <div class=\"notificationitem-header dbx-pb2\">\n @if (subject()) {\n <div class=\"notificationitem-subject dbx-pb1\">{{ subject() }}</div>\n }\n <ng-content select=\"[header]\"></ng-content>\n @if (date()) {\n <div class=\"notificationitem-date dbx-label dbx-small\">{{ date() | date: 'medium' }}</div>\n }\n </div>\n <ng-content select=\"[premessage]\"></ng-content>\n <div class=\"notificationitem-message\">{{ message() }}</div>\n <ng-content></ng-content>\n</div>\n", styles: [".dbx-firebase-notificationitem-content .notificationitem-subject{font-size:1.25em}\n"], dependencies: [{ kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5719
5879
|
}
|
|
5720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5880
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemContentComponent, decorators: [{
|
|
5721
5881
|
type: Component,
|
|
5722
5882
|
args: [{ selector: 'dbx-firebase-notificationitem-content', imports: [DatePipe], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<div class=\"dbx-firebase-notificationitem-content\" role=\"article\" [attr.aria-label]=\"subject()\">\n <div class=\"notificationitem-header dbx-pb2\">\n @if (subject()) {\n <div class=\"notificationitem-subject dbx-pb1\">{{ subject() }}</div>\n }\n <ng-content select=\"[header]\"></ng-content>\n @if (date()) {\n <div class=\"notificationitem-date dbx-label dbx-small\">{{ date() | date: 'medium' }}</div>\n }\n </div>\n <ng-content select=\"[premessage]\"></ng-content>\n <div class=\"notificationitem-message\">{{ message() }}</div>\n <ng-content></ng-content>\n</div>\n", styles: [".dbx-firebase-notificationitem-content .notificationitem-subject{font-size:1.25em}\n"] }]
|
|
5723
5883
|
}], propDecorators: { subject: [{ type: i0.Input, args: [{ isSignal: true, alias: "subject", required: false }] }], message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: false }] }], date: [{ type: i0.Input, args: [{ isSignal: true, alias: "date", required: false }] }] } });
|
|
@@ -5783,10 +5943,10 @@ class DbxFirebaseNotificationItemWidgetService {
|
|
|
5783
5943
|
type: DEFAULT_FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE
|
|
5784
5944
|
}, override);
|
|
5785
5945
|
}
|
|
5786
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5787
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5946
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemWidgetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5947
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemWidgetService });
|
|
5788
5948
|
}
|
|
5789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5949
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemWidgetService, decorators: [{
|
|
5790
5950
|
type: Injectable
|
|
5791
5951
|
}] });
|
|
5792
5952
|
|
|
@@ -5809,12 +5969,12 @@ class DbxFirebaseNotificationItemViewComponent {
|
|
|
5809
5969
|
}
|
|
5810
5970
|
return config;
|
|
5811
5971
|
}, ...(ngDevMode ? [{ debugName: "configSignal" }] : /* istanbul ignore next */ []));
|
|
5812
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5813
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
5972
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5973
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.4", type: DbxFirebaseNotificationItemViewComponent, isStandalone: true, selector: "dbx-firebase-notificationitem-view", inputs: { item: { classPropertyName: "item", publicName: "item", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
5814
5974
|
<dbx-widget-view [config]="configSignal()"></dbx-widget-view>
|
|
5815
5975
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxWidgetViewComponent, selector: "dbx-widget-view", inputs: ["config"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5816
5976
|
}
|
|
5817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemViewComponent, decorators: [{
|
|
5818
5978
|
type: Component,
|
|
5819
5979
|
args: [{
|
|
5820
5980
|
selector: 'dbx-firebase-notificationitem-view',
|
|
@@ -5836,10 +5996,10 @@ class AbstractDbxFirebaseNotificationItemWidgetComponent extends AbstractDbxWidg
|
|
|
5836
5996
|
get notificationItem() {
|
|
5837
5997
|
return this.data;
|
|
5838
5998
|
}
|
|
5839
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5840
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
5999
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFirebaseNotificationItemWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6000
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractDbxFirebaseNotificationItemWidgetComponent, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
5841
6001
|
}
|
|
5842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFirebaseNotificationItemWidgetComponent, decorators: [{
|
|
5843
6003
|
type: Directive
|
|
5844
6004
|
}] });
|
|
5845
6005
|
|
|
@@ -5856,10 +6016,10 @@ class DbxFirebaseNotificationItemDefaultViewComponent extends AbstractDbxFirebas
|
|
|
5856
6016
|
get date() {
|
|
5857
6017
|
return this.notificationItem.cat;
|
|
5858
6018
|
}
|
|
5859
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5860
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
6019
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemDefaultViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
6020
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseNotificationItemDefaultViewComponent, isStandalone: true, selector: "dbx-firebase-notificationitem-view-default", usesInheritance: true, ngImport: i0, template: '<dbx-firebase-notificationitem-content [subject]="subject" [message]="message" [date]="date"></dbx-firebase-notificationitem-content>', isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseNotificationItemContentComponent, selector: "dbx-firebase-notificationitem-content", inputs: ["subject", "message", "date"] }] });
|
|
5861
6021
|
}
|
|
5862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6022
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemDefaultViewComponent, decorators: [{
|
|
5863
6023
|
type: Component,
|
|
5864
6024
|
args: [{
|
|
5865
6025
|
selector: 'dbx-firebase-notificationitem-view-default',
|
|
@@ -5891,10 +6051,10 @@ class DbxFirebaseNotificationItemStorePopoverComponent extends AbstractPopoverDi
|
|
|
5891
6051
|
emptyText = this.params.header ?? 'There are no notifications.';
|
|
5892
6052
|
makeNotificationItemAnchor = this.params.makeNotificationItemAnchor;
|
|
5893
6053
|
notificationItemsLoadingState$ = this.params.notificationItemsLoadingState$;
|
|
5894
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5895
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
6054
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemStorePopoverComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
6055
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseNotificationItemStorePopoverComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<dbx-popover-content>\n <!-- Header -->\n <dbx-popover-header [icon]=\"icon\" [header]=\"header\"></dbx-popover-header>\n <!-- Content -->\n <dbx-popover-scroll-content>\n <dbx-firebase-notificationitem-list [state]=\"notificationItemsLoadingState$\" dbxListItemModifier [dbxListItemAnchorModifier]=\"makeNotificationItemAnchor\">\n <dbx-list-empty-content empty>\n <p>{{ emptyText }}</p>\n </dbx-list-empty-content>\n </dbx-firebase-notificationitem-list>\n </dbx-popover-scroll-content>\n</dbx-popover-content>\n", dependencies: [{ kind: "ngmodule", type: DbxPopoverInteractionModule }, { kind: "component", type: i1$1.DbxPopoverContentComponent, selector: "dbx-popover-content" }, { kind: "component", type: i1$1.DbxPopoverHeaderComponent, selector: "dbx-popover-header", inputs: ["header", "icon"] }, { kind: "directive", type: i1$1.DbxPopoverScrollContentDirective, selector: "dbx-popover-scroll-content,[dbxPopoverScrollContent],.dbx-popover-scroll-content" }, { kind: "ngmodule", type: DbxListModifierModule }, { kind: "directive", type: i1$1.DbxValueListItemModifierDirective, selector: "dbxListItemModifier,[dbxListItemModifier]", inputs: ["dbxListItemModifier"] }, { kind: "component", type: DbxFirebaseNotificationItemListComponent, selector: "dbx-firebase-notificationitem-list" }, { kind: "component", type: DbxListEmptyContentComponent, selector: "dbx-list-empty-content" }, { kind: "directive", type: DbxListItemAnchorModifierDirective, selector: "[dbxListItemAnchorModifier]", inputs: ["dbxListItemAnchorModifier"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5896
6056
|
}
|
|
5897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6057
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemStorePopoverComponent, decorators: [{
|
|
5898
6058
|
type: Component,
|
|
5899
6059
|
args: [{ imports: [DbxPopoverInteractionModule, DbxListModifierModule, DbxFirebaseNotificationItemListComponent, DbxListEmptyContentComponent, DbxListItemAnchorModifierDirective], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<dbx-popover-content>\n <!-- Header -->\n <dbx-popover-header [icon]=\"icon\" [header]=\"header\"></dbx-popover-header>\n <!-- Content -->\n <dbx-popover-scroll-content>\n <dbx-firebase-notificationitem-list [state]=\"notificationItemsLoadingState$\" dbxListItemModifier [dbxListItemAnchorModifier]=\"makeNotificationItemAnchor\">\n <dbx-list-empty-content empty>\n <p>{{ emptyText }}</p>\n </dbx-list-empty-content>\n </dbx-firebase-notificationitem-list>\n </dbx-popover-scroll-content>\n</dbx-popover-content>\n" }]
|
|
5900
6060
|
}] });
|
|
@@ -5918,10 +6078,10 @@ class DbxFirebaseNotificationItemStore extends ComponentStore {
|
|
|
5918
6078
|
// MARK: State Changes
|
|
5919
6079
|
setItems = this.updater((state, items) => ({ ...state, items }));
|
|
5920
6080
|
setSelectedId = this.updater((state, selectedId) => ({ ...state, selectedId }));
|
|
5921
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5922
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
6081
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6082
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemStore });
|
|
5923
6083
|
}
|
|
5924
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6084
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemStore, decorators: [{
|
|
5925
6085
|
type: Injectable
|
|
5926
6086
|
}], ctorParameters: () => [] });
|
|
5927
6087
|
|
|
@@ -5949,12 +6109,12 @@ class DbxFirebaseNotificationItemStorePopoverButtonComponent extends AbstractPop
|
|
|
5949
6109
|
...config
|
|
5950
6110
|
});
|
|
5951
6111
|
}
|
|
5952
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5953
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.
|
|
6112
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemStorePopoverButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
6113
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.4", type: DbxFirebaseNotificationItemStorePopoverButtonComponent, isStandalone: true, selector: "dbx-firebase-notification-item-store-popover-button", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "buttonElement", first: true, predicate: ["button"], descendants: true, read: ElementRef, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
5954
6114
|
<dbx-button #button (buttonClick)="showNotificationsPopover()" icon="notifications" iconOnly aria-label="Notifications"></dbx-button>
|
|
5955
6115
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "customContent", "allowClickPropagation", "mode"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5956
6116
|
}
|
|
5957
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationItemStorePopoverButtonComponent, decorators: [{
|
|
5958
6118
|
type: Component,
|
|
5959
6119
|
args: [{
|
|
5960
6120
|
selector: 'dbx-firebase-notification-item-store-popover-button',
|
|
@@ -5979,10 +6139,10 @@ class NotificationBoxDocumentStore extends AbstractDbxFirebaseDocumentStore {
|
|
|
5979
6139
|
recipients$ = this.data$.pipe(map((x) => x.r), shareReplay(1));
|
|
5980
6140
|
updateNotificationBox = firebaseDocumentStoreUpdateFunction(this, this.notificationFunctions.notificationBox.updateNotificationBox.update);
|
|
5981
6141
|
updateNotificationBoxRecipient = firebaseDocumentStoreUpdateFunction(this, this.notificationFunctions.notificationBox.updateNotificationBox.recipient);
|
|
5982
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5983
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
6142
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationBoxDocumentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6143
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationBoxDocumentStore });
|
|
5984
6144
|
}
|
|
5985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationBoxDocumentStore, decorators: [{
|
|
5986
6146
|
type: Injectable
|
|
5987
6147
|
}], ctorParameters: () => [] });
|
|
5988
6148
|
|
|
@@ -6004,10 +6164,10 @@ class NotificationDocumentStore extends AbstractDbxFirebaseDocumentWithParentSto
|
|
|
6004
6164
|
sendAttemptsCount$ = this.data$.pipe(map((x) => x.a), distinctUntilChanged(), shareReplay(1));
|
|
6005
6165
|
isUnique$ = this.data$.pipe(map((x) => x.ut), distinctUntilChanged(), shareReplay(1));
|
|
6006
6166
|
sendNotification = firebaseDocumentStoreUpdateFunction(this, this.notificationFunctions.notification.updateNotification.send);
|
|
6007
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6008
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
6167
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationDocumentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6168
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationDocumentStore });
|
|
6009
6169
|
}
|
|
6010
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationDocumentStore, decorators: [{
|
|
6011
6171
|
type: Injectable
|
|
6012
6172
|
}], ctorParameters: () => [] });
|
|
6013
6173
|
|
|
@@ -6018,10 +6178,10 @@ class DbxFirebaseNotificationDocumentStoreDirective extends DbxFirebaseDocumentS
|
|
|
6018
6178
|
constructor() {
|
|
6019
6179
|
super(inject(NotificationDocumentStore));
|
|
6020
6180
|
}
|
|
6021
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6022
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6181
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationDocumentStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6182
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseNotificationDocumentStoreDirective, isStandalone: true, selector: "[dbxFirebaseNotificationDocument]", providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseNotificationDocumentStoreDirective, NotificationDocumentStore), usesInheritance: true, ngImport: i0 });
|
|
6023
6183
|
}
|
|
6024
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationDocumentStoreDirective, decorators: [{
|
|
6025
6185
|
type: Directive,
|
|
6026
6186
|
args: [{
|
|
6027
6187
|
selector: '[dbxFirebaseNotificationDocument]',
|
|
@@ -6041,10 +6201,10 @@ class NotificationCollectionStore extends AbstractDbxFirebaseCollectionWithParen
|
|
|
6041
6201
|
this.setParentStore(parent);
|
|
6042
6202
|
}
|
|
6043
6203
|
}
|
|
6044
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6045
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
6204
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationCollectionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6205
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationCollectionStore });
|
|
6046
6206
|
}
|
|
6047
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationCollectionStore, decorators: [{
|
|
6048
6208
|
type: Injectable
|
|
6049
6209
|
}], ctorParameters: () => [] });
|
|
6050
6210
|
|
|
@@ -6055,10 +6215,10 @@ class DbxFirebaseNotificationCollectionStoreDirective extends DbxFirebaseCollect
|
|
|
6055
6215
|
constructor() {
|
|
6056
6216
|
super(inject(NotificationCollectionStore));
|
|
6057
6217
|
}
|
|
6058
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6059
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6218
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationCollectionStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6219
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseNotificationCollectionStoreDirective, isStandalone: true, selector: "[dbxFirebaseNotificationCollection]", providers: provideDbxFirebaseCollectionWithParentStoreDirective(DbxFirebaseNotificationCollectionStoreDirective, NotificationCollectionStore), usesInheritance: true, ngImport: i0 });
|
|
6060
6220
|
}
|
|
6061
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationCollectionStoreDirective, decorators: [{
|
|
6062
6222
|
type: Directive,
|
|
6063
6223
|
args: [{
|
|
6064
6224
|
selector: '[dbxFirebaseNotificationCollection]',
|
|
@@ -6074,10 +6234,10 @@ class DbxFirebaseNotificationBoxDocumentStoreDirective extends DbxFirebaseDocume
|
|
|
6074
6234
|
constructor() {
|
|
6075
6235
|
super(inject(NotificationBoxDocumentStore));
|
|
6076
6236
|
}
|
|
6077
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6078
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6237
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationBoxDocumentStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6238
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseNotificationBoxDocumentStoreDirective, isStandalone: true, selector: "[dbxFirebaseNotificationBoxDocument]", providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseNotificationBoxDocumentStoreDirective, NotificationBoxDocumentStore), usesInheritance: true, ngImport: i0 });
|
|
6079
6239
|
}
|
|
6080
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationBoxDocumentStoreDirective, decorators: [{
|
|
6081
6241
|
type: Directive,
|
|
6082
6242
|
args: [{
|
|
6083
6243
|
selector: '[dbxFirebaseNotificationBoxDocument]',
|
|
@@ -6093,10 +6253,10 @@ class NotificationBoxCollectionStore extends AbstractDbxFirebaseCollectionStore
|
|
|
6093
6253
|
constructor() {
|
|
6094
6254
|
super({ firestoreCollection: inject(NotificationFirestoreCollections).notificationBoxCollection });
|
|
6095
6255
|
}
|
|
6096
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6097
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
6256
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationBoxCollectionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6257
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationBoxCollectionStore });
|
|
6098
6258
|
}
|
|
6099
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationBoxCollectionStore, decorators: [{
|
|
6100
6260
|
type: Injectable
|
|
6101
6261
|
}], ctorParameters: () => [] });
|
|
6102
6262
|
|
|
@@ -6107,10 +6267,10 @@ class DbxFirebaseNotificationBoxCollectionStoreDirective extends DbxFirebaseColl
|
|
|
6107
6267
|
constructor() {
|
|
6108
6268
|
super(inject(NotificationBoxCollectionStore));
|
|
6109
6269
|
}
|
|
6110
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6111
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6270
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationBoxCollectionStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6271
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseNotificationBoxCollectionStoreDirective, isStandalone: true, selector: "[dbxFirebaseNotificationBoxCollection]", providers: provideDbxFirebaseCollectionStoreDirective(DbxFirebaseNotificationBoxCollectionStoreDirective, NotificationBoxCollectionStore), usesInheritance: true, ngImport: i0 });
|
|
6112
6272
|
}
|
|
6113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationBoxCollectionStoreDirective, decorators: [{
|
|
6114
6274
|
type: Directive,
|
|
6115
6275
|
args: [{
|
|
6116
6276
|
selector: '[dbxFirebaseNotificationBoxCollection]',
|
|
@@ -6126,10 +6286,10 @@ class NotificationSummaryCollectionStore extends AbstractDbxFirebaseCollectionSt
|
|
|
6126
6286
|
constructor() {
|
|
6127
6287
|
super({ firestoreCollection: inject(NotificationFirestoreCollections).notificationSummaryCollection });
|
|
6128
6288
|
}
|
|
6129
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6130
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
6289
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationSummaryCollectionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6290
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationSummaryCollectionStore });
|
|
6131
6291
|
}
|
|
6132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationSummaryCollectionStore, decorators: [{
|
|
6133
6293
|
type: Injectable
|
|
6134
6294
|
}], ctorParameters: () => [] });
|
|
6135
6295
|
|
|
@@ -6140,10 +6300,10 @@ class DbxFirebaseNotificationSummaryCollectionStoreDirective extends DbxFirebase
|
|
|
6140
6300
|
constructor() {
|
|
6141
6301
|
super(inject(NotificationSummaryCollectionStore));
|
|
6142
6302
|
}
|
|
6143
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6144
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6303
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationSummaryCollectionStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6304
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseNotificationSummaryCollectionStoreDirective, isStandalone: true, selector: "[dbxFirebaseNotificationSummaryCollection]", providers: provideDbxFirebaseCollectionStoreDirective(DbxFirebaseNotificationSummaryCollectionStoreDirective, NotificationSummaryCollectionStore), usesInheritance: true, ngImport: i0 });
|
|
6145
6305
|
}
|
|
6146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationSummaryCollectionStoreDirective, decorators: [{
|
|
6147
6307
|
type: Directive,
|
|
6148
6308
|
args: [{
|
|
6149
6309
|
selector: '[dbxFirebaseNotificationSummaryCollection]',
|
|
@@ -6175,10 +6335,10 @@ class NotificationSummaryDocumentStore extends AbstractDbxFirebaseDocumentStore
|
|
|
6175
6335
|
return combineLatest([asObservable(checkLastReadIfCreatedBeforeObs), this.notificationItems$]).pipe(map(([c, items]) => unreadNotificationItems(items, c)));
|
|
6176
6336
|
}
|
|
6177
6337
|
updateNotificationSummary = firebaseDocumentStoreUpdateFunction(this, this.notificationFunctions.notificationSummary.updateNotificationSummary.update);
|
|
6178
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6179
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
6338
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationSummaryDocumentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6339
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationSummaryDocumentStore });
|
|
6180
6340
|
}
|
|
6181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationSummaryDocumentStore, decorators: [{
|
|
6182
6342
|
type: Injectable
|
|
6183
6343
|
}], ctorParameters: () => [] });
|
|
6184
6344
|
|
|
@@ -6189,10 +6349,10 @@ class DbxFirebaseNotificationSummaryDocumentStoreDirective extends DbxFirebaseDo
|
|
|
6189
6349
|
constructor() {
|
|
6190
6350
|
super(inject(NotificationSummaryDocumentStore));
|
|
6191
6351
|
}
|
|
6192
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6193
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6352
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationSummaryDocumentStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6353
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseNotificationSummaryDocumentStoreDirective, isStandalone: true, selector: "[dbxFirebaseNotificationSummaryDocument]", providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseNotificationSummaryDocumentStoreDirective, NotificationSummaryDocumentStore), usesInheritance: true, ngImport: i0 });
|
|
6194
6354
|
}
|
|
6195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationSummaryDocumentStoreDirective, decorators: [{
|
|
6196
6356
|
type: Directive,
|
|
6197
6357
|
args: [{
|
|
6198
6358
|
selector: '[dbxFirebaseNotificationSummaryDocument]',
|
|
@@ -6208,10 +6368,10 @@ class NotificationUserCollectionStore extends AbstractDbxFirebaseCollectionStore
|
|
|
6208
6368
|
constructor() {
|
|
6209
6369
|
super({ firestoreCollection: inject(NotificationFirestoreCollections).notificationUserCollection });
|
|
6210
6370
|
}
|
|
6211
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6212
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
6371
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationUserCollectionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6372
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationUserCollectionStore });
|
|
6213
6373
|
}
|
|
6214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationUserCollectionStore, decorators: [{
|
|
6215
6375
|
type: Injectable
|
|
6216
6376
|
}], ctorParameters: () => [] });
|
|
6217
6377
|
|
|
@@ -6222,10 +6382,10 @@ class DbxFirebaseNotificationUserCollectionStoreDirective extends DbxFirebaseCol
|
|
|
6222
6382
|
constructor() {
|
|
6223
6383
|
super(inject(NotificationUserCollectionStore));
|
|
6224
6384
|
}
|
|
6225
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6226
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6385
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationUserCollectionStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6386
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseNotificationUserCollectionStoreDirective, isStandalone: true, selector: "[dbxFirebaseNotificationUserCollection]", providers: provideDbxFirebaseCollectionStoreDirective(DbxFirebaseNotificationUserCollectionStoreDirective, NotificationUserCollectionStore), usesInheritance: true, ngImport: i0 });
|
|
6227
6387
|
}
|
|
6228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationUserCollectionStoreDirective, decorators: [{
|
|
6229
6389
|
type: Directive,
|
|
6230
6390
|
args: [{
|
|
6231
6391
|
selector: '[dbxFirebaseNotificationUserCollection]',
|
|
@@ -6244,10 +6404,10 @@ class NotificationUserDocumentStore extends AbstractDbxFirebaseDocumentStore {
|
|
|
6244
6404
|
}
|
|
6245
6405
|
updateNotificationUser = firebaseDocumentStoreUpdateFunction(this, this.notificationFunctions.notificationUser.updateNotificationUser.update);
|
|
6246
6406
|
resyncNotificationUser = firebaseDocumentStoreUpdateFunction(this, this.notificationFunctions.notificationUser.updateNotificationUser.resync);
|
|
6247
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6248
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
6407
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationUserDocumentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6408
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationUserDocumentStore });
|
|
6249
6409
|
}
|
|
6250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: NotificationUserDocumentStore, decorators: [{
|
|
6251
6411
|
type: Injectable
|
|
6252
6412
|
}], ctorParameters: () => [] });
|
|
6253
6413
|
|
|
@@ -6258,10 +6418,10 @@ class DbxFirebaseNotificationUserDocumentStoreDirective extends DbxFirebaseDocum
|
|
|
6258
6418
|
constructor() {
|
|
6259
6419
|
super(inject(NotificationUserDocumentStore));
|
|
6260
6420
|
}
|
|
6261
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6262
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6421
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationUserDocumentStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6422
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseNotificationUserDocumentStoreDirective, isStandalone: true, selector: "[dbxFirebaseNotificationUserDocument]", providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseNotificationUserDocumentStoreDirective, NotificationUserDocumentStore), usesInheritance: true, ngImport: i0 });
|
|
6263
6423
|
}
|
|
6264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseNotificationUserDocumentStoreDirective, decorators: [{
|
|
6265
6425
|
type: Directive,
|
|
6266
6426
|
args: [{
|
|
6267
6427
|
selector: '[dbxFirebaseNotificationUserDocument]',
|
|
@@ -6383,10 +6543,10 @@ class DbxFirebaseStorageFileDownloadStorage {
|
|
|
6383
6543
|
getStorageKeyForUid(uid) {
|
|
6384
6544
|
return `sf_dl_cache_${uid}`;
|
|
6385
6545
|
}
|
|
6386
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6387
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
6546
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileDownloadStorage, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6547
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileDownloadStorage });
|
|
6388
6548
|
}
|
|
6389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileDownloadStorage, decorators: [{
|
|
6390
6550
|
type: Injectable
|
|
6391
6551
|
}] });
|
|
6392
6552
|
|
|
@@ -6543,10 +6703,10 @@ class DbxFirebaseStorageFileDownloadService {
|
|
|
6543
6703
|
};
|
|
6544
6704
|
});
|
|
6545
6705
|
}
|
|
6546
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6547
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
6706
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileDownloadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6707
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileDownloadService });
|
|
6548
6708
|
}
|
|
6549
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileDownloadService, decorators: [{
|
|
6550
6710
|
type: Injectable
|
|
6551
6711
|
}] });
|
|
6552
6712
|
|
|
@@ -6774,8 +6934,8 @@ class DbxFirebaseStorageFileDownloadButtonComponent {
|
|
|
6774
6934
|
handleGetDownloadUrlError(error);
|
|
6775
6935
|
}
|
|
6776
6936
|
};
|
|
6777
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6778
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
6937
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileDownloadButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6938
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: DbxFirebaseStorageFileDownloadButtonComponent, isStandalone: true, selector: "dbx-firebase-storagefile-download-button", inputs: { storageFileKey: { classPropertyName: "storageFileKey", publicName: "storageFileKey", isSignal: true, isRequired: false, transformFunction: null }, storageFileDownloadUrl: { classPropertyName: "storageFileDownloadUrl", publicName: "storageFileDownloadUrl", isSignal: true, isRequired: false, transformFunction: null }, embedMimeType: { classPropertyName: "embedMimeType", publicName: "embedMimeType", isSignal: true, isRequired: false, transformFunction: null }, showPreviewButton: { classPropertyName: "showPreviewButton", publicName: "showPreviewButton", isSignal: true, isRequired: false, transformFunction: null }, preload: { classPropertyName: "preload", publicName: "preload", isSignal: true, isRequired: false, transformFunction: null }, config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null }, source: { classPropertyName: "source", publicName: "source", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { downloadDetailsChange: "downloadDetailsChange" }, ngImport: i0, template: `
|
|
6779
6939
|
<dbx-anchor dbxActionAnchor [anchor]="anchorSignal()" dbxAction [dbxActionAutoTrigger]="preloadSignal()" dbxActionSnackbarError [dbxActionDisabled]="!storageFileKeySignal()" [dbxActionValue]="storageFileKeySignal()" [dbxActionHandler]="handleGetDownloadUrl" [dbxActionSuccessHandler]="handleGetDownloadUrlSuccess" [dbxActionErrorHandler]="handleGetDownloadUrlError">
|
|
6780
6940
|
<dbx-button dbxActionButton [buttonStyle]="buttonStyleSignal()" [icon]="iconSignal()" [text]="textSignal()"></dbx-button>
|
|
6781
6941
|
</dbx-anchor>
|
|
@@ -6787,7 +6947,7 @@ class DbxFirebaseStorageFileDownloadButtonComponent {
|
|
|
6787
6947
|
}
|
|
6788
6948
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "customContent", "allowClickPropagation", "mode"] }, { kind: "ngmodule", type: DbxActionModule }, { kind: "directive", type: i2.DbxActionDirective, selector: "dbx-action,[dbxAction]", exportAs: ["action", "dbxAction"] }, { kind: "directive", type: i2.DbxActionHandlerDirective, selector: "[dbxActionHandler]", inputs: ["dbxActionHandler"] }, { kind: "directive", type: i2.DbxActionHandlerValueDirective, selector: "[dbxActionHandlerValue]", inputs: ["dbxActionHandlerValue"] }, { kind: "directive", type: i2.DbxActionDisabledDirective, selector: "[dbxActionDisabled]", inputs: ["dbxActionDisabled"] }, { kind: "directive", type: i2.DbxActionAutoTriggerDirective, selector: "dbxActionAutoTrigger,[dbxActionAutoTrigger]", inputs: ["triggerDebounce", "triggerThrottle", "triggerErrorThrottle", "maxErrorsForThrottle", "triggerLimit", "dbxActionAutoTrigger", "useFastTriggerPreset", "useInstantTriggerPreset"] }, { kind: "directive", type: i2.DbxActionValueDirective, selector: "dbxActionValue,[dbxActionValue]", inputs: ["dbxActionValue"] }, { kind: "directive", type: i2.DbxActionSuccessHandlerDirective, selector: "[dbxActionSuccessHandler]", inputs: ["dbxActionSuccessHandler"] }, { kind: "directive", type: i2.DbxActionErrorHandlerDirective, selector: "[dbxActionErrorHandler]", inputs: ["dbxActionErrorHandler"] }, { kind: "directive", type: i2.DbxActionButtonDirective, selector: "[dbxActionButton]", inputs: ["dbxActionButtonEcho"] }, { kind: "directive", type: DbxActionSnackbarErrorDirective, selector: "[dbxActionSnackbarError]", inputs: ["dbxActionSnackbarError"] }, { kind: "directive", type: DbxActionDialogDirective, selector: "[dbxActionDialog]", inputs: ["dbxActionDialog", "dbxActionDialogIsModified", "dbxActionDialogIsEqual"], exportAs: ["dbxActionDialog"] }, { kind: "component", type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6789
6949
|
}
|
|
6790
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6950
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileDownloadButtonComponent, decorators: [{
|
|
6791
6951
|
type: Component,
|
|
6792
6952
|
args: [{
|
|
6793
6953
|
selector: 'dbx-firebase-storagefile-download-button',
|
|
@@ -6858,10 +7018,10 @@ class DbxFirebaseStorageFileUploadStore extends ComponentStore {
|
|
|
6858
7018
|
* Sets the upload result.
|
|
6859
7019
|
*/
|
|
6860
7020
|
setUploadResult = this.updater((state, uploadResult) => ({ ...state, isUploadHandlerWorking: false, uploadProgress: undefined, uploadResult }));
|
|
6861
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6862
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
7021
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileUploadStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7022
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileUploadStore });
|
|
6863
7023
|
}
|
|
6864
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7024
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileUploadStore, decorators: [{
|
|
6865
7025
|
type: Injectable
|
|
6866
7026
|
}], ctorParameters: () => [] });
|
|
6867
7027
|
|
|
@@ -7208,12 +7368,7 @@ class DbxFirebaseStorageFileUploadActionHandlerDirective {
|
|
|
7208
7368
|
lockSet: this.source.lockSet,
|
|
7209
7369
|
sub: this.triggerOnFiles$
|
|
7210
7370
|
.pipe(switchMap((triggerOnFiles) => {
|
|
7211
|
-
|
|
7212
|
-
return this.files$.pipe(map((x) => x?.length));
|
|
7213
|
-
}
|
|
7214
|
-
else {
|
|
7215
|
-
return of(false);
|
|
7216
|
-
}
|
|
7371
|
+
return triggerOnFiles ? this.files$.pipe(map((x) => x?.length)) : of(false);
|
|
7217
7372
|
}))
|
|
7218
7373
|
.subscribe((canTrigger) => {
|
|
7219
7374
|
if (canTrigger) {
|
|
@@ -7236,10 +7391,10 @@ class DbxFirebaseStorageFileUploadActionHandlerDirective {
|
|
|
7236
7391
|
// sync progress amount
|
|
7237
7392
|
this.source.setWorkProgress(this.uploadStore.latestProgressEvent$.pipe(throttleTime(100, undefined, { leading: true, trailing: true }), map((x) => x?.overallProgress), distinctUntilChanged()));
|
|
7238
7393
|
}
|
|
7239
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7240
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
7394
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileUploadActionHandlerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7395
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxFirebaseStorageFileUploadActionHandlerDirective, isStandalone: true, selector: "[dbxFirebaseStorageFileUploadActionHandler]", inputs: { triggerOnFiles: { classPropertyName: "triggerOnFiles", publicName: "triggerOnFiles", isSignal: true, isRequired: false, transformFunction: null }, cancelUploadsOnUploadError: { classPropertyName: "cancelUploadsOnUploadError", publicName: "cancelUploadsOnUploadError", isSignal: true, isRequired: false, transformFunction: null }, actionFailureOnUploadError: { classPropertyName: "actionFailureOnUploadError", publicName: "actionFailureOnUploadError", isSignal: true, isRequired: false, transformFunction: null }, uploadHandler: { classPropertyName: "uploadHandler", publicName: "dbxFirebaseStorageFileUploadActionHandler", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
|
|
7241
7396
|
}
|
|
7242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7397
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileUploadActionHandlerDirective, decorators: [{
|
|
7243
7398
|
type: Directive,
|
|
7244
7399
|
args: [{
|
|
7245
7400
|
selector: '[dbxFirebaseStorageFileUploadActionHandler]',
|
|
@@ -7253,10 +7408,10 @@ class StorageFileCollectionStore extends AbstractDbxFirebaseCollectionStore {
|
|
|
7253
7408
|
super({ firestoreCollection: inject(StorageFileFirestoreCollections).storageFileCollection });
|
|
7254
7409
|
}
|
|
7255
7410
|
initializeAllStorageFilesFromUpload = firebaseCollectionStoreCreateFunction(this, this.storageFileFunctions.storageFile.createStorageFile.allFromUpload);
|
|
7256
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7257
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
7411
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: StorageFileCollectionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7412
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: StorageFileCollectionStore });
|
|
7258
7413
|
}
|
|
7259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: StorageFileCollectionStore, decorators: [{
|
|
7260
7415
|
type: Injectable
|
|
7261
7416
|
}], ctorParameters: () => [] });
|
|
7262
7417
|
|
|
@@ -7265,10 +7420,10 @@ class DbxFirebaseStorageFileCollectionStoreDirective extends DbxFirebaseCollecti
|
|
|
7265
7420
|
super(inject(StorageFileCollectionStore));
|
|
7266
7421
|
this.setConstraints([]);
|
|
7267
7422
|
}
|
|
7268
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7269
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7423
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileCollectionStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7424
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseStorageFileCollectionStoreDirective, isStandalone: true, selector: "[dbxFirebaseStorageFileCollection]", providers: provideDbxFirebaseCollectionStoreDirective(DbxFirebaseStorageFileCollectionStoreDirective, StorageFileCollectionStore), usesInheritance: true, ngImport: i0 });
|
|
7270
7425
|
}
|
|
7271
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileCollectionStoreDirective, decorators: [{
|
|
7272
7427
|
type: Directive,
|
|
7273
7428
|
args: [{
|
|
7274
7429
|
selector: '[dbxFirebaseStorageFileCollection]',
|
|
@@ -7289,10 +7444,10 @@ class StorageFileDocumentStore extends AbstractDbxFirebaseDocumentStore {
|
|
|
7289
7444
|
processStorageFile = firebaseDocumentStoreUpdateFunction(this, this.storageFileFunctions.storageFile.updateStorageFile.process);
|
|
7290
7445
|
deleteStorageFile = firebaseDocumentStoreDeleteFunction(this, this.storageFileFunctions.storageFile.deleteStorageFile.delete);
|
|
7291
7446
|
downloadStorageFile = firebaseDocumentStoreReadFunction(this, this.storageFileFunctions.storageFile.readStorageFile.download);
|
|
7292
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7293
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
7447
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: StorageFileDocumentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7448
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: StorageFileDocumentStore });
|
|
7294
7449
|
}
|
|
7295
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: StorageFileDocumentStore, decorators: [{
|
|
7296
7451
|
type: Injectable
|
|
7297
7452
|
}], ctorParameters: () => [] });
|
|
7298
7453
|
|
|
@@ -7300,10 +7455,10 @@ class DbxFirebaseStorageFileDocumentStoreDirective extends DbxFirebaseDocumentSt
|
|
|
7300
7455
|
constructor() {
|
|
7301
7456
|
super(inject(StorageFileDocumentStore));
|
|
7302
7457
|
}
|
|
7303
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7304
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7458
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileDocumentStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7459
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseStorageFileDocumentStoreDirective, isStandalone: true, selector: "[dbxFirebaseStorageFileDocument]", providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseStorageFileDocumentStoreDirective, StorageFileDocumentStore), usesInheritance: true, ngImport: i0 });
|
|
7305
7460
|
}
|
|
7306
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileDocumentStoreDirective, decorators: [{
|
|
7307
7462
|
type: Directive,
|
|
7308
7463
|
args: [{
|
|
7309
7464
|
selector: '[dbxFirebaseStorageFileDocument]',
|
|
@@ -7319,10 +7474,10 @@ class StorageFileGroupDocumentStore extends AbstractDbxFirebaseDocumentStore {
|
|
|
7319
7474
|
}
|
|
7320
7475
|
updateStorageFileGroup = firebaseDocumentStoreUpdateFunction(this, this.storageFileFunctions.storageFileGroup.updateStorageFileGroup.update);
|
|
7321
7476
|
regenerateStorageFileGroupContent = firebaseDocumentStoreCrudFunction(this.storageFileFunctions.storageFileGroup.updateStorageFileGroup.regenerateContent);
|
|
7322
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7323
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
7477
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: StorageFileGroupDocumentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7478
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: StorageFileGroupDocumentStore });
|
|
7324
7479
|
}
|
|
7325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: StorageFileGroupDocumentStore, decorators: [{
|
|
7326
7481
|
type: Injectable
|
|
7327
7482
|
}], ctorParameters: () => [] });
|
|
7328
7483
|
|
|
@@ -7330,10 +7485,10 @@ class DbxFirebaseStorageFileGroupDocumentStoreDirective extends DbxFirebaseDocum
|
|
|
7330
7485
|
constructor() {
|
|
7331
7486
|
super(inject(StorageFileGroupDocumentStore));
|
|
7332
7487
|
}
|
|
7333
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7334
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7488
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileGroupDocumentStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7489
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseStorageFileGroupDocumentStoreDirective, isStandalone: true, selector: "[dbxFirebaseStorageFileGroupDocument]", providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseStorageFileGroupDocumentStoreDirective, StorageFileGroupDocumentStore), usesInheritance: true, ngImport: i0 });
|
|
7335
7490
|
}
|
|
7336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7491
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileGroupDocumentStoreDirective, decorators: [{
|
|
7337
7492
|
type: Directive,
|
|
7338
7493
|
args: [{
|
|
7339
7494
|
selector: '[dbxFirebaseStorageFileGroupDocument]',
|
|
@@ -7372,10 +7527,10 @@ class DbxFirebaseStorageFileUploadInitializeDocumentDirective {
|
|
|
7372
7527
|
});
|
|
7373
7528
|
this._dbxActionHandlerInstance.init();
|
|
7374
7529
|
}
|
|
7375
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7376
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
7530
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileUploadInitializeDocumentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7531
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxFirebaseStorageFileUploadInitializeDocumentDirective, isStandalone: true, selector: "[dbxFirebaseStorageFileUploadInitializeDocument]", inputs: { initializeWithExpediteProcessing: { classPropertyName: "initializeWithExpediteProcessing", publicName: "initializeWithExpediteProcessing", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["dbxFirebaseStorageFileUploadInitializeDocument"], ngImport: i0 });
|
|
7377
7532
|
}
|
|
7378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7533
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileUploadInitializeDocumentDirective, decorators: [{
|
|
7379
7534
|
type: Directive,
|
|
7380
7535
|
args: [{
|
|
7381
7536
|
selector: '[dbxFirebaseStorageFileUploadInitializeDocument]',
|
|
@@ -7397,10 +7552,10 @@ class DbxFirebaseStorageFileUploadStoreDirective {
|
|
|
7397
7552
|
cleanSubscription(this.fileTypesAccepted$.subscribe((x) => this.uploadStore.setFileTypesAccepted(x)));
|
|
7398
7553
|
cleanSubscription(this.isMultiUploadAllowed$.subscribe((x) => this.uploadStore.setIsMultiUploadAllowed(x)));
|
|
7399
7554
|
}
|
|
7400
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7401
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
7555
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileUploadStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7556
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxFirebaseStorageFileUploadStoreDirective, isStandalone: true, selector: "[dbxFirebaseStorageFileUploadStore]", inputs: { multipleUpload: { classPropertyName: "multipleUpload", publicName: "multipleUpload", isSignal: true, isRequired: false, transformFunction: null }, fileTypesAccepted: { classPropertyName: "fileTypesAccepted", publicName: "fileTypesAccepted", isSignal: true, isRequired: false, transformFunction: null } }, providers: [DbxFirebaseStorageFileUploadStore], exportAs: ["dbxFirebaseStorageFileUploadStore"], ngImport: i0 });
|
|
7402
7557
|
}
|
|
7403
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7558
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileUploadStoreDirective, decorators: [{
|
|
7404
7559
|
type: Directive,
|
|
7405
7560
|
args: [{
|
|
7406
7561
|
selector: '[dbxFirebaseStorageFileUploadStore]',
|
|
@@ -7421,10 +7576,10 @@ class DbxFirebaseStorageFileUploadSyncDirective {
|
|
|
7421
7576
|
cleanSubscription(this.uploadStore.isMultiUploadAllowed$.subscribe((x) => this.uploadComponent.setMultiple(x)));
|
|
7422
7577
|
cleanSubscription(this.uploadComponent.filesChanged.subscribe((files) => this.uploadStore.setFiles(files.matchResult.accepted)));
|
|
7423
7578
|
}
|
|
7424
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7425
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7579
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileUploadSyncDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7580
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFirebaseStorageFileUploadSyncDirective, isStandalone: true, selector: "[dbxFirebaseStorageFileUploadSync]", exportAs: ["dbxFirebaseStorageFileUploadSync"], ngImport: i0 });
|
|
7426
7581
|
}
|
|
7427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7582
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileUploadSyncDirective, decorators: [{
|
|
7428
7583
|
type: Directive,
|
|
7429
7584
|
args: [{
|
|
7430
7585
|
selector: '[dbxFirebaseStorageFileUploadSync]',
|
|
@@ -7462,8 +7617,8 @@ const IMPORTS_AND_EXPORTS = [
|
|
|
7462
7617
|
* - DbxFirebaseStorageFileUploadStore
|
|
7463
7618
|
*/
|
|
7464
7619
|
class DbxFirebaseStorageFileUploadModule {
|
|
7465
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7466
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
7620
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7621
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileUploadModule, imports: [
|
|
7467
7622
|
// dbx-core/dbx-web modules/components
|
|
7468
7623
|
DbxActionModule,
|
|
7469
7624
|
DbxLoadingComponent,
|
|
@@ -7494,7 +7649,7 @@ class DbxFirebaseStorageFileUploadModule {
|
|
|
7494
7649
|
// stores
|
|
7495
7650
|
DbxFirebaseStorageFileCollectionStoreDirective,
|
|
7496
7651
|
DbxFirebaseStorageFileDocumentStoreDirective] });
|
|
7497
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
7652
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileUploadModule, imports: [
|
|
7498
7653
|
// dbx-core/dbx-web modules/components
|
|
7499
7654
|
DbxActionModule,
|
|
7500
7655
|
DbxLoadingComponent,
|
|
@@ -7502,7 +7657,7 @@ class DbxFirebaseStorageFileUploadModule {
|
|
|
7502
7657
|
// dbx-core/dbx-web modules/components
|
|
7503
7658
|
DbxActionModule] });
|
|
7504
7659
|
}
|
|
7505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageFileUploadModule, decorators: [{
|
|
7506
7661
|
type: NgModule,
|
|
7507
7662
|
args: [{
|
|
7508
7663
|
imports: IMPORTS_AND_EXPORTS,
|
|
@@ -7553,17 +7708,12 @@ function provideDbxFirebaseStorageFileService() {
|
|
|
7553
7708
|
*/
|
|
7554
7709
|
class FlatFirestoreModelKeyPipe {
|
|
7555
7710
|
transform(input) {
|
|
7556
|
-
|
|
7557
|
-
return flatFirestoreModelKey(input);
|
|
7558
|
-
}
|
|
7559
|
-
else {
|
|
7560
|
-
return '';
|
|
7561
|
-
}
|
|
7711
|
+
return input != null ? flatFirestoreModelKey(input) : '';
|
|
7562
7712
|
}
|
|
7563
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7564
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7713
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: FlatFirestoreModelKeyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7714
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: FlatFirestoreModelKeyPipe, isStandalone: true, name: "flatFirestoreModelKey" });
|
|
7565
7715
|
}
|
|
7566
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: FlatFirestoreModelKeyPipe, decorators: [{
|
|
7567
7717
|
type: Pipe,
|
|
7568
7718
|
args: [{ name: 'flatFirestoreModelKey', standalone: true }]
|
|
7569
7719
|
}] });
|
|
@@ -7581,17 +7731,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7581
7731
|
*/
|
|
7582
7732
|
class TwoWayFlatFirestoreModelKeyPipe {
|
|
7583
7733
|
transform(input) {
|
|
7584
|
-
|
|
7585
|
-
return twoWayFlatFirestoreModelKey(input);
|
|
7586
|
-
}
|
|
7587
|
-
else {
|
|
7588
|
-
return '';
|
|
7589
|
-
}
|
|
7734
|
+
return input != null ? twoWayFlatFirestoreModelKey(input) : '';
|
|
7590
7735
|
}
|
|
7591
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7592
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7736
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TwoWayFlatFirestoreModelKeyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7737
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: TwoWayFlatFirestoreModelKeyPipe, isStandalone: true, name: "twoWayFlatFirestoreModelKey" });
|
|
7593
7738
|
}
|
|
7594
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TwoWayFlatFirestoreModelKeyPipe, decorators: [{
|
|
7595
7740
|
type: Pipe,
|
|
7596
7741
|
args: [{ name: 'twoWayFlatFirestoreModelKey', standalone: true }]
|
|
7597
7742
|
}] });
|
|
@@ -7695,10 +7840,10 @@ class DbxFirebaseStorageService {
|
|
|
7695
7840
|
folder(path) {
|
|
7696
7841
|
return this.storageContext.folder(path);
|
|
7697
7842
|
}
|
|
7698
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7699
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
7843
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7844
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageService, providedIn: 'root' });
|
|
7700
7845
|
}
|
|
7701
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7846
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseStorageService, decorators: [{
|
|
7702
7847
|
type: Injectable,
|
|
7703
7848
|
args: [{
|
|
7704
7849
|
providedIn: 'root'
|
|
@@ -7731,12 +7876,12 @@ function providedDbxFirebaseStorage(config) {
|
|
|
7731
7876
|
{
|
|
7732
7877
|
provide: DBX_FIREBASE_STORAGE_CONTEXT_CONFIG_TOKEN,
|
|
7733
7878
|
useFactory: configFactory,
|
|
7734
|
-
deps: [
|
|
7879
|
+
deps: [FIREBASE_APP_TOKEN, Injector]
|
|
7735
7880
|
},
|
|
7736
7881
|
{
|
|
7737
7882
|
provide: DBX_FIREBASE_STORAGE_CONTEXT_TOKEN,
|
|
7738
7883
|
useFactory: clientFirebaseStorageContextFactory,
|
|
7739
|
-
deps: [
|
|
7884
|
+
deps: [FIREBASE_STORAGE_TOKEN, DBX_FIREBASE_STORAGE_CONTEXT_CONFIG_TOKEN]
|
|
7740
7885
|
},
|
|
7741
7886
|
DbxFirebaseStorageService
|
|
7742
7887
|
];
|
|
@@ -7744,11 +7889,11 @@ function providedDbxFirebaseStorage(config) {
|
|
|
7744
7889
|
}
|
|
7745
7890
|
|
|
7746
7891
|
class DbxFirebaseModule {
|
|
7747
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7748
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
7749
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
7892
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7893
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModule, exports: [DbxFirebaseModelModule] });
|
|
7894
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModule, imports: [DbxFirebaseModelModule] });
|
|
7750
7895
|
}
|
|
7751
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFirebaseModule, decorators: [{
|
|
7752
7897
|
type: NgModule,
|
|
7753
7898
|
args: [{
|
|
7754
7899
|
exports: [DbxFirebaseModelModule]
|
|
@@ -7810,5 +7955,5 @@ function provideDbxFirebase(config) {
|
|
|
7810
7955
|
* Generated bundle index. Do not edit.
|
|
7811
7956
|
*/
|
|
7812
7957
|
|
|
7813
|
-
export { AbstractConfiguredDbxFirebaseLoginButtonDirective, AbstractDbxFirebaseCollectionStore, AbstractDbxFirebaseCollectionWithParentStore, AbstractDbxFirebaseDocumentStore, AbstractDbxFirebaseDocumentWithParentStore, AbstractDbxFirebaseModelEntityWidgetDirective, AbstractDbxFirebaseNotificationItemWidgetComponent, AbstractRootSingleItemDbxFirebaseDocument, AbstractSingleItemDbxFirebaseDocument, AbstractSystemStateDocumentStoreAccessor, DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION, DBX_FIREBASE_APP_OPTIONS_TOKEN, DBX_FIREBASE_DOCUMENT_STORE_CONTEXT_STORE_TOKEN, DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_ID_PARAM_KEY, DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_KEY_PARAM_KEY, DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_USE_PARAM_VALUE, DBX_FIREBASE_MODEL_DOES_NOT_EXIST_ERROR, DBX_FIREBASE_MODEL_ENTITY_WITH_STORE_TOKEN, DBX_FIREBASE_STORAGEFILE_DOWNLOAD_STORAGE_ACCESSOR_TOKEN, DBX_FIREBASE_STORAGE_CONTEXT_CONFIG_TOKEN, DBX_FIREBASE_STORAGE_CONTEXT_TOKEN, DBX_FIRESTORE_CONTEXT_TOKEN, DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE, DEFAULT_DBX_FIREBASE_ANALYTICS_USER_PROPERTIES_FACTORY, DEFAULT_DBX_FIREBASE_AUTH_SERVICE_DELEGATE, DEFAULT_DBX_FIREBASE_MODEL_ENTITIES_COMPONENT_POPOVER_KEY, DEFAULT_DBX_FIREBASE_MODEL_HISTORY_COMPONENT_POPOVER_KEY, DEFAULT_DBX_FIREBASE_NOTIFICATION_ITEM_STORE_POPOVER_KEY, DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG, DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG_TOKEN, DEFAULT_FIREBASE_AUTH_LOGIN_PROVIDERS_TOKEN, DEFAULT_FIREBASE_AUTH_LOGIN_TERMS_COMPONENT_CLASS_TOKEN, DEFAULT_FIREBASE_COLLECTION_CHANGE_TRIGGER_FUNCTION, DEFAULT_FIREBASE_DEVELOPMENT_ENABLED_TOKEN, DEFAULT_FIREBASE_DEVELOPMENT_POPUP_KEY, DEFAULT_FIREBASE_DEVELOPMENT_SCHEDULER_ENABLED_TOKEN, DEFAULT_FIREBASE_DEVELOPMENT_WIDGET_PROVIDERS_TOKEN, DEFAULT_FIREBASE_LOGIN_METHOD_CATEGORY, DEFAULT_FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE, DEVELOPMENT_FIREBASE_SERVER_SCHEDULER_WIDGET_KEY, DbxFirebaseAnalyticsUserEventsListenerService, DbxFirebaseAnalyticsUserSource, DbxFirebaseAppCheckHttpInterceptor, DbxFirebaseAuthLoginService, DbxFirebaseAuthService, DbxFirebaseAuthServiceDelegate, DbxFirebaseCollectionChangeDirective, DbxFirebaseCollectionChangeTriggerInstance, DbxFirebaseCollectionHasChangeDirective, DbxFirebaseCollectionListDirective, DbxFirebaseCollectionLoaderInstance, DbxFirebaseCollectionStoreDirective, DbxFirebaseCollectionWithParentStoreDirective, DbxFirebaseDevelopmentDirective, DbxFirebaseDevelopmentModule, DbxFirebaseDevelopmentPopupComponent, DbxFirebaseDevelopmentPopupContentComponent, DbxFirebaseDevelopmentPopupContentFormComponent, DbxFirebaseDevelopmentSchedulerListComponent, DbxFirebaseDevelopmentSchedulerListViewComponent, DbxFirebaseDevelopmentSchedulerListViewItemComponent, DbxFirebaseDevelopmentSchedulerService, DbxFirebaseDevelopmentSchedulerWidgetComponent, DbxFirebaseDevelopmentService, DbxFirebaseDevelopmentWidgetService, DbxFirebaseDocumentLoaderInstance, DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective, DbxFirebaseDocumentStoreContextStore, DbxFirebaseDocumentStoreContextStoreDirective, DbxFirebaseDocumentStoreDirective, DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, DbxFirebaseDocumentStoreTwoWayKeyProvider, DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, DbxFirebaseEmailFormComponent, DbxFirebaseEmailRecoveryFormComponent, DbxFirebaseEmulatorService, DbxFirebaseLoginAnonymousComponent, DbxFirebaseLoginAppleComponent, DbxFirebaseLoginButtonComponent, DbxFirebaseLoginButtonContainerComponent, DbxFirebaseLoginComponent, DbxFirebaseLoginContext, DbxFirebaseLoginContextBackButtonComponent, DbxFirebaseLoginContextDirective, DbxFirebaseLoginEmailComponent, DbxFirebaseLoginEmailContentComponent, DbxFirebaseLoginFacebookComponent, DbxFirebaseLoginGitHubComponent, DbxFirebaseLoginGoogleComponent, DbxFirebaseLoginListComponent, DbxFirebaseLoginMicrosoftComponent, DbxFirebaseLoginTermsComponent, DbxFirebaseLoginTermsSimpleComponent, DbxFirebaseLoginTwitterComponent, DbxFirebaseManageAuthProvidersComponent, DbxFirebaseModelContextService, DbxFirebaseModelEntitiesComponent, DbxFirebaseModelEntitiesDebugWidgetComponent, DbxFirebaseModelEntitiesPopoverButtonComponent, DbxFirebaseModelEntitiesPopoverComponent, DbxFirebaseModelEntitiesSource, DbxFirebaseModelEntitiesWidgetService, DbxFirebaseModelEntitiesWidgetServiceConfig, DbxFirebaseModelHistoryComponent, DbxFirebaseModelHistoryPopoverButtonComponent, DbxFirebaseModelHistoryPopoverComponent, DbxFirebaseModelKeyComponent, DbxFirebaseModelModule, DbxFirebaseModelStoreModule, DbxFirebaseModelTrackerService, DbxFirebaseModelTypeInstanceListComponent, DbxFirebaseModelTypeInstanceListViewComponent, DbxFirebaseModelTypeInstanceListViewItemComponent, DbxFirebaseModelTypesService, DbxFirebaseModelTypesServiceConfig, DbxFirebaseModelViewedEventDirective, DbxFirebaseModule, DbxFirebaseNotificationBoxCollectionStoreDirective, DbxFirebaseNotificationBoxDocumentStoreDirective, DbxFirebaseNotificationCollectionStoreDirective, DbxFirebaseNotificationDocumentStoreDirective, DbxFirebaseNotificationItemContentComponent, DbxFirebaseNotificationItemDefaultViewComponent, DbxFirebaseNotificationItemListComponent, DbxFirebaseNotificationItemListViewComponent, DbxFirebaseNotificationItemListViewItemComponent, DbxFirebaseNotificationItemStore, DbxFirebaseNotificationItemStorePopoverButtonComponent, DbxFirebaseNotificationItemStorePopoverComponent, DbxFirebaseNotificationItemViewComponent, DbxFirebaseNotificationItemWidgetService, DbxFirebaseNotificationSummaryCollectionStoreDirective, DbxFirebaseNotificationSummaryDocumentStoreDirective, DbxFirebaseNotificationTemplateService, DbxFirebaseNotificationUserCollectionStoreDirective, DbxFirebaseNotificationUserDocumentStoreDirective, DbxFirebaseParsedEmulatorsConfig, DbxFirebaseRegisterComponent, DbxFirebaseRegisterEmailComponent, DbxFirebaseStorageFileCollectionStoreDirective, DbxFirebaseStorageFileDocumentStoreDirective, DbxFirebaseStorageFileDownloadButtonComponent, DbxFirebaseStorageFileDownloadService, DbxFirebaseStorageFileDownloadStorage, DbxFirebaseStorageFileGroupDocumentStoreDirective, DbxFirebaseStorageFileUploadActionHandlerDirective, DbxFirebaseStorageFileUploadInitializeDocumentDirective, DbxFirebaseStorageFileUploadModule, DbxFirebaseStorageFileUploadStore, DbxFirebaseStorageFileUploadStoreDirective, DbxFirebaseStorageFileUploadSyncDirective, DbxFirebaseStorageService, DbxFirebaseSystemStateCollectionStoreDirective, DbxFirebaseSystemStateDocumentStoreDirective, DbxFirestoreContextService, DbxLimitedFirebaseDocumentLoaderInstance, FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE_PREFIX, FIREBASE_PROVIDER_ID_TO_LOGIN_METHOD_TYPE_MAP, FlatFirestoreModelKeyPipe, IMPORTS_AND_EXPORTS, LOGIN_METHOD_TYPE_TO_FIREBASE_PROVIDER_ID_MAP, NotificationBoxCollectionStore, NotificationBoxDocumentStore, NotificationCollectionStore, NotificationDocumentStore, NotificationSummaryCollectionStore, NotificationSummaryDocumentStore, NotificationUserCollectionStore, NotificationUserDocumentStore, OAUTH_FIREBASE_LOGIN_METHOD_CATEGORY, StorageFileCollectionStore, StorageFileDocumentStore, StorageFileGroupDocumentStore, StorageFileUploadFilesError, SystemStateCollectionStore, SystemStateDocumentStore, TwoWayFlatFirestoreModelKeyPipe, authRolesObsWithClaimsService, authUserInfoFromAuthUser, authUserStateFromFirebaseAuthServiceFunction, dbxFirebaseAuthContextInfo, dbxFirebaseCollectionChangeTrigger, dbxFirebaseCollectionChangeTriggerForStore, dbxFirebaseCollectionChangeTriggerForWatcher, dbxFirebaseCollectionChangeWatcher, dbxFirebaseCollectionLoaderInstance, dbxFirebaseCollectionLoaderInstanceWithCollection, dbxFirebaseDocumentLoaderInstance, dbxFirebaseDocumentLoaderInstanceWithAccessor, dbxFirebaseDocumentStoreContextModelEntitiesSourceFactory, dbxFirebaseIdRouteParamRedirect, dbxFirebaseInContextFirebaseModelServiceInstance, dbxFirebaseInContextFirebaseModelServiceInstanceFactory, dbxFirebaseKeyRouteParamRedirect, dbxFirebaseModelContextServiceInfoInstanceFactory, dbxFirebaseModelEntityWidgetInjectionConfigFactory, dbxFirebaseModelTypesServiceInstance, dbxFirebaseModelTypesServiceInstancePairForKeysFactory, dbxFirebaseSourceSelectLoadSource, dbxFirebaseStorageFileDownloadServiceCustomSourceFromObs, dbxFirebaseStorageProvidersContextConfigFactory, dbxLimitedFirebaseDocumentLoaderInstance, dbxLimitedFirebaseDocumentLoaderInstanceWithAccessor, dbxWidgetTypeForNotificationTemplateType, defaultDbxFirebaseAuthServiceDelegateWithClaimsService, defaultDbxFirebaseStorageFileDownloadStorageAccessorFactory, developmentFirebaseServerSchedulerWidgetEntry, enableAppCheckDebugTokenGeneration, firebaseAuthTokenFromUser, firebaseCollectionStoreCreateFunction, firebaseCollectionStoreCrudFunction, firebaseContextServiceEntityMap, firebaseDocumentStoreCreateFunction, firebaseDocumentStoreCrudFunction, firebaseDocumentStoreDeleteFunction, firebaseDocumentStoreReadFunction, firebaseDocumentStoreUpdateFunction, firebaseProviderIdToLoginMethodType, isDbxFirebaseModelEntityWithStore, linkDocumentStoreToParentContextStores, loginMethodTypeToFirebaseProviderId, modelDoesNotExistError, provideDbxFirebase, provideDbxFirebaseAnalyticsUserEventsListenerService, provideDbxFirebaseApp, provideDbxFirebaseAuth, provideDbxFirebaseCollectionStoreDirective, provideDbxFirebaseCollectionWithParentStoreDirective, provideDbxFirebaseDevelopment, provideDbxFirebaseDocumentStoreContextStore, provideDbxFirebaseDocumentStoreDirective, provideDbxFirebaseDocumentStoreTwoWayKeyProvider, provideDbxFirebaseEmulator, provideDbxFirebaseFunctions, provideDbxFirebaseLogin, provideDbxFirebaseModelContextService, provideDbxFirebaseModelEntitiesWidgetService, provideDbxFirebaseNotifications, provideDbxFirebaseStorageFileService, provideDbxFirestoreCollection, provideNotificationFirestoreCollections, provideStorageFileFirestoreCollections, provideSystemStateFirestoreCollections, providedDbxFirebaseStorage, readDbxAnalyticsUserPropertiesFromAuthUserInfo, readValueFromIdToken, setParentStoreEffect, stateFromTokenForLoggedInUserFunction, storageFileUploadFiles, storageFileUploadHandler };
|
|
7958
|
+
export { AbstractConfiguredDbxFirebaseLoginButtonDirective, AbstractDbxFirebaseCollectionStore, AbstractDbxFirebaseCollectionWithParentStore, AbstractDbxFirebaseDocumentStore, AbstractDbxFirebaseDocumentWithParentStore, AbstractDbxFirebaseModelEntityWidgetDirective, AbstractDbxFirebaseNotificationItemWidgetComponent, AbstractRootSingleItemDbxFirebaseDocument, AbstractSingleItemDbxFirebaseDocument, AbstractSystemStateDocumentStoreAccessor, DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION, DBX_FIREBASE_APP_OPTIONS_TOKEN, DBX_FIREBASE_DOCUMENT_STORE_CONTEXT_STORE_TOKEN, DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_ID_PARAM_KEY, DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_KEY_PARAM_KEY, DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_USE_PARAM_VALUE, DBX_FIREBASE_MODEL_DOES_NOT_EXIST_ERROR, DBX_FIREBASE_MODEL_ENTITY_WITH_STORE_TOKEN, DBX_FIREBASE_STORAGEFILE_DOWNLOAD_STORAGE_ACCESSOR_TOKEN, DBX_FIREBASE_STORAGE_CONTEXT_CONFIG_TOKEN, DBX_FIREBASE_STORAGE_CONTEXT_TOKEN, DBX_FIRESTORE_CONTEXT_TOKEN, DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE, DEFAULT_DBX_FIREBASE_ANALYTICS_USER_PROPERTIES_FACTORY, DEFAULT_DBX_FIREBASE_AUTH_SERVICE_DELEGATE, DEFAULT_DBX_FIREBASE_MODEL_ENTITIES_COMPONENT_POPOVER_KEY, DEFAULT_DBX_FIREBASE_MODEL_HISTORY_COMPONENT_POPOVER_KEY, DEFAULT_DBX_FIREBASE_NOTIFICATION_ITEM_STORE_POPOVER_KEY, DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG, DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG_TOKEN, DEFAULT_FIREBASE_AUTH_LOGIN_PROVIDERS_TOKEN, DEFAULT_FIREBASE_AUTH_LOGIN_TERMS_COMPONENT_CLASS_TOKEN, DEFAULT_FIREBASE_COLLECTION_CHANGE_TRIGGER_FUNCTION, DEFAULT_FIREBASE_DEVELOPMENT_ENABLED_TOKEN, DEFAULT_FIREBASE_DEVELOPMENT_POPUP_KEY, DEFAULT_FIREBASE_DEVELOPMENT_SCHEDULER_ENABLED_TOKEN, DEFAULT_FIREBASE_DEVELOPMENT_WIDGET_PROVIDERS_TOKEN, DEFAULT_FIREBASE_LOGIN_METHOD_CATEGORY, DEFAULT_FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE, DEVELOPMENT_FIREBASE_SERVER_SCHEDULER_WIDGET_KEY, DbxFirebaseAnalyticsUserEventsListenerService, DbxFirebaseAnalyticsUserSource, DbxFirebaseAppCheckHttpInterceptor, DbxFirebaseAuthLoginService, DbxFirebaseAuthService, DbxFirebaseAuthServiceDelegate, DbxFirebaseCollectionChangeDirective, DbxFirebaseCollectionChangeTriggerInstance, DbxFirebaseCollectionHasChangeDirective, DbxFirebaseCollectionListDirective, DbxFirebaseCollectionLoaderInstance, DbxFirebaseCollectionStoreDirective, DbxFirebaseCollectionWithParentStoreDirective, DbxFirebaseDevelopmentDirective, DbxFirebaseDevelopmentModule, DbxFirebaseDevelopmentPopupComponent, DbxFirebaseDevelopmentPopupContentComponent, DbxFirebaseDevelopmentPopupContentForgeFormComponent, DbxFirebaseDevelopmentSchedulerListComponent, DbxFirebaseDevelopmentSchedulerListViewComponent, DbxFirebaseDevelopmentSchedulerListViewItemComponent, DbxFirebaseDevelopmentSchedulerService, DbxFirebaseDevelopmentSchedulerWidgetComponent, DbxFirebaseDevelopmentService, DbxFirebaseDevelopmentWidgetService, DbxFirebaseDocumentLoaderInstance, DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective, DbxFirebaseDocumentStoreContextStore, DbxFirebaseDocumentStoreContextStoreDirective, DbxFirebaseDocumentStoreDirective, DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, DbxFirebaseDocumentStoreTwoWayKeyProvider, DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, DbxFirebaseEmailForgeFormComponent, DbxFirebaseEmailRecoveryForgeFormComponent, DbxFirebaseEmulatorService, DbxFirebaseLoginAnonymousComponent, DbxFirebaseLoginAppleComponent, DbxFirebaseLoginButtonComponent, DbxFirebaseLoginButtonContainerComponent, DbxFirebaseLoginComponent, DbxFirebaseLoginContext, DbxFirebaseLoginContextBackButtonComponent, DbxFirebaseLoginContextDirective, DbxFirebaseLoginEmailComponent, DbxFirebaseLoginEmailContentComponent, DbxFirebaseLoginFacebookComponent, DbxFirebaseLoginGitHubComponent, DbxFirebaseLoginGoogleComponent, DbxFirebaseLoginListComponent, DbxFirebaseLoginMicrosoftComponent, DbxFirebaseLoginTermsComponent, DbxFirebaseLoginTermsSimpleComponent, DbxFirebaseLoginTwitterComponent, DbxFirebaseManageAuthProvidersComponent, DbxFirebaseModelContextService, DbxFirebaseModelEntitiesComponent, DbxFirebaseModelEntitiesDebugWidgetComponent, DbxFirebaseModelEntitiesPopoverButtonComponent, DbxFirebaseModelEntitiesPopoverComponent, DbxFirebaseModelEntitiesSource, DbxFirebaseModelEntitiesWidgetService, DbxFirebaseModelEntitiesWidgetServiceConfig, DbxFirebaseModelHistoryComponent, DbxFirebaseModelHistoryPopoverButtonComponent, DbxFirebaseModelHistoryPopoverComponent, DbxFirebaseModelKeyComponent, DbxFirebaseModelModule, DbxFirebaseModelStoreModule, DbxFirebaseModelTrackerService, DbxFirebaseModelTypeInstanceListComponent, DbxFirebaseModelTypeInstanceListViewComponent, DbxFirebaseModelTypeInstanceListViewItemComponent, DbxFirebaseModelTypesService, DbxFirebaseModelTypesServiceConfig, DbxFirebaseModelViewedEventDirective, DbxFirebaseModule, DbxFirebaseNotificationBoxCollectionStoreDirective, DbxFirebaseNotificationBoxDocumentStoreDirective, DbxFirebaseNotificationCollectionStoreDirective, DbxFirebaseNotificationDocumentStoreDirective, DbxFirebaseNotificationItemContentComponent, DbxFirebaseNotificationItemDefaultViewComponent, DbxFirebaseNotificationItemListComponent, DbxFirebaseNotificationItemListViewComponent, DbxFirebaseNotificationItemListViewItemComponent, DbxFirebaseNotificationItemStore, DbxFirebaseNotificationItemStorePopoverButtonComponent, DbxFirebaseNotificationItemStorePopoverComponent, DbxFirebaseNotificationItemViewComponent, DbxFirebaseNotificationItemWidgetService, DbxFirebaseNotificationSummaryCollectionStoreDirective, DbxFirebaseNotificationSummaryDocumentStoreDirective, DbxFirebaseNotificationTemplateService, DbxFirebaseNotificationUserCollectionStoreDirective, DbxFirebaseNotificationUserDocumentStoreDirective, DbxFirebaseParsedEmulatorsConfig, DbxFirebasePasswordResetComponent, DbxFirebasePasswordResetFormComponent, DbxFirebaseRegisterComponent, DbxFirebaseRegisterEmailComponent, DbxFirebaseStorageFileCollectionStoreDirective, DbxFirebaseStorageFileDocumentStoreDirective, DbxFirebaseStorageFileDownloadButtonComponent, DbxFirebaseStorageFileDownloadService, DbxFirebaseStorageFileDownloadStorage, DbxFirebaseStorageFileGroupDocumentStoreDirective, DbxFirebaseStorageFileUploadActionHandlerDirective, DbxFirebaseStorageFileUploadInitializeDocumentDirective, DbxFirebaseStorageFileUploadModule, DbxFirebaseStorageFileUploadStore, DbxFirebaseStorageFileUploadStoreDirective, DbxFirebaseStorageFileUploadSyncDirective, DbxFirebaseStorageService, DbxFirebaseSystemStateCollectionStoreDirective, DbxFirebaseSystemStateDocumentStoreDirective, DbxFirestoreContextService, DbxLimitedFirebaseDocumentLoaderInstance, FIREBASE_APP_CHECK_TOKEN, FIREBASE_APP_TOKEN, FIREBASE_AUTH_TOKEN, FIREBASE_FIRESTORE_TOKEN, FIREBASE_FUNCTIONS_TOKEN, FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE_PREFIX, FIREBASE_PROVIDER_ID_TO_LOGIN_METHOD_TYPE_MAP, FIREBASE_STORAGE_TOKEN, FlatFirestoreModelKeyPipe, IMPORTS_AND_EXPORTS, LOGIN_METHOD_TYPE_TO_FIREBASE_PROVIDER_ID_MAP, NotificationBoxCollectionStore, NotificationBoxDocumentStore, NotificationCollectionStore, NotificationDocumentStore, NotificationSummaryCollectionStore, NotificationSummaryDocumentStore, NotificationUserCollectionStore, NotificationUserDocumentStore, OAUTH_FIREBASE_LOGIN_METHOD_CATEGORY, StorageFileCollectionStore, StorageFileDocumentStore, StorageFileGroupDocumentStore, StorageFileUploadFilesError, SystemStateCollectionStore, SystemStateDocumentStore, TwoWayFlatFirestoreModelKeyPipe, authRolesObsWithClaimsService, authUserInfoFromAuthUser, authUserStateFromFirebaseAuthServiceFunction, dbxFirebaseAuthContextInfo, dbxFirebaseCollectionChangeTrigger, dbxFirebaseCollectionChangeTriggerForStore, dbxFirebaseCollectionChangeTriggerForWatcher, dbxFirebaseCollectionChangeWatcher, dbxFirebaseCollectionLoaderInstance, dbxFirebaseCollectionLoaderInstanceWithCollection, dbxFirebaseDocumentLoaderInstance, dbxFirebaseDocumentLoaderInstanceWithAccessor, dbxFirebaseDocumentStoreContextModelEntitiesSourceFactory, dbxFirebaseIdRouteParamRedirect, dbxFirebaseInContextFirebaseModelServiceInstance, dbxFirebaseInContextFirebaseModelServiceInstanceFactory, dbxFirebaseKeyRouteParamRedirect, dbxFirebaseModelContextServiceInfoInstanceFactory, dbxFirebaseModelEntityWidgetInjectionConfigFactory, dbxFirebaseModelTypesServiceInstance, dbxFirebaseModelTypesServiceInstancePairForKeysFactory, dbxFirebaseSourceSelectLoadSource, dbxFirebaseStorageFileDownloadServiceCustomSourceFromObs, dbxFirebaseStorageProvidersContextConfigFactory, dbxLimitedFirebaseDocumentLoaderInstance, dbxLimitedFirebaseDocumentLoaderInstanceWithAccessor, dbxWidgetTypeForNotificationTemplateType, defaultDbxFirebaseAuthServiceDelegateWithClaimsService, defaultDbxFirebaseStorageFileDownloadStorageAccessorFactory, developmentFirebaseServerSchedulerWidgetEntry, enableAppCheckDebugTokenGeneration, firebaseAuthState, firebaseAuthTokenFromUser, firebaseCollectionStoreCreateFunction, firebaseCollectionStoreCrudFunction, firebaseContextServiceEntityMap, firebaseDocumentStoreCreateFunction, firebaseDocumentStoreCrudFunction, firebaseDocumentStoreDeleteFunction, firebaseDocumentStoreReadFunction, firebaseDocumentStoreUpdateFunction, firebaseIdToken, firebaseProviderIdToLoginMethodType, isDbxFirebaseModelEntityWithStore, linkDocumentStoreToParentContextStores, loginMethodTypeToFirebaseProviderId, modelDoesNotExistError, provideDbxFirebase, provideDbxFirebaseAnalyticsUserEventsListenerService, provideDbxFirebaseApp, provideDbxFirebaseAuth, provideDbxFirebaseCollectionStoreDirective, provideDbxFirebaseCollectionWithParentStoreDirective, provideDbxFirebaseDevelopment, provideDbxFirebaseDocumentStoreContextStore, provideDbxFirebaseDocumentStoreDirective, provideDbxFirebaseDocumentStoreTwoWayKeyProvider, provideDbxFirebaseEmulator, provideDbxFirebaseFunctions, provideDbxFirebaseLogin, provideDbxFirebaseModelContextService, provideDbxFirebaseModelEntitiesWidgetService, provideDbxFirebaseNotifications, provideDbxFirebaseStorageFileService, provideDbxFirestoreCollection, provideNotificationFirestoreCollections, provideStorageFileFirestoreCollections, provideSystemStateFirestoreCollections, providedDbxFirebaseStorage, readDbxAnalyticsUserPropertiesFromAuthUserInfo, readValueFromIdToken, setParentStoreEffect, stateFromTokenForLoggedInUserFunction, storageFileUploadFiles, storageFileUploadHandler };
|
|
7814
7959
|
//# sourceMappingURL=dereekb-dbx-firebase.mjs.map
|