@dereekb/dbx-firebase 12.0.2 → 12.0.4
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/esm2022/lib/auth/appcheck/appcheck.interceptor.mjs +2 -2
- package/esm2022/lib/development/development.popup.content.component.mjs +5 -3
- package/esm2022/lib/firebase/firebase.options.mjs +1 -1
- package/esm2022/lib/model/modules/model/history/model.history.popover.button.component.mjs +4 -4
- package/esm2022/lib/model/modules/store/index.mjs +1 -4
- package/esm2022/lib/model/modules/store/model.store.module.mjs +5 -7
- package/esm2022/lib/model/modules/store/store.collection.change.directive.mjs +10 -11
- package/esm2022/lib/model/modules/store/store.collection.change.if.directive.mjs +10 -21
- package/esm2022/lib/model/modules/store/store.collection.list.directive.mjs +4 -3
- package/esm2022/lib/model/modules/store/store.document.mjs +2 -2
- package/esm2022/lib/model/modules/store/store.document.twoway.key.directive.mjs +8 -6
- package/esm2022/lib/model/modules/store/store.document.twoway.key.source.directive.mjs +4 -3
- package/esm2022/lib/modules/notification/container/notification.item.store.popover.component.mjs +4 -4
- package/esm2022/lib/pipe/index.mjs +3 -2
- package/esm2022/lib/pipe/key.flat.pipe.mjs +20 -0
- package/esm2022/lib/pipe/key.twoway.pipe.mjs +20 -0
- package/esm2022/lib/pipe/pipe.module.mjs +12 -6
- package/esm2022/lib/storage/firebase.storage.providers.mjs +2 -1
- package/fesm2022/dereekb-dbx-firebase.mjs +71 -188
- package/fesm2022/dereekb-dbx-firebase.mjs.map +1 -1
- package/lib/auth/appcheck/appcheck.interceptor.d.ts +1 -1
- package/lib/firebase/firebase.options.d.ts +1 -1
- package/lib/model/modules/store/index.d.ts +0 -3
- package/lib/model/modules/store/model.store.module.d.ts +3 -4
- package/lib/model/modules/store/store.collection.change.directive.d.ts +3 -3
- package/lib/model/modules/store/store.collection.change.if.directive.d.ts +3 -8
- package/lib/model/modules/store/store.collection.list.directive.d.ts +1 -1
- package/lib/model/modules/store/store.document.twoway.key.directive.d.ts +3 -4
- package/lib/model/modules/store/store.document.twoway.key.source.directive.d.ts +1 -1
- package/lib/pipe/index.d.ts +2 -1
- package/lib/pipe/key.flat.pipe.d.ts +9 -0
- package/lib/pipe/{key.pipe.d.ts → key.twoway.pipe.d.ts} +1 -6
- package/lib/pipe/pipe.module.d.ts +8 -2
- package/package.json +1 -1
- package/esm2022/lib/model/modules/store/store.document.auth.directive.mjs +0 -26
- package/esm2022/lib/model/modules/store/store.document.router.directive.mjs +0 -47
- package/esm2022/lib/model/modules/store/store.document.router.key.directive.mjs +0 -52
- package/esm2022/lib/pipe/key.pipe.mjs +0 -36
- package/lib/model/modules/store/store.document.auth.directive.d.ts +0 -18
- package/lib/model/modules/store/store.document.router.directive.d.ts +0 -21
- package/lib/model/modules/store/store.document.router.key.directive.d.ts +0 -25
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, Injectable, APP_INITIALIZER, makeEnvironmentProviders, InjectionToken, Component, Optional, Inject, signal, computed, ChangeDetectionStrategy, Input, Directive, input, EventEmitter, Output, NgModule, Injector, viewChild, HostListener, forwardRef,
|
|
2
|
+
import { inject, Injectable, APP_INITIALIZER, makeEnvironmentProviders, InjectionToken, Component, Optional, Inject, signal, computed, ChangeDetectionStrategy, Input, Directive, input, EventEmitter, Output, NgModule, Injector, viewChild, HostListener, ElementRef, forwardRef, effect, Pipe } from '@angular/core';
|
|
3
3
|
import { DbxAnalyticsService } from '@dereekb/dbx-analytics';
|
|
4
4
|
import { asObservable, timeoutStartWith, filterMaybe, isNot, SubscriptionObject, lazyFrom, switchMapWhileTrue, loadingStateFromObs, cleanupDestroyable, pageItemAccumulatorCurrentPage, accumulatorFlattenPageListLoadingState, useFirst, itemAccumulatorNextPageUntilResultsCount, iteratorNextPageUntilPage, iteratorNextPageUntilMaxPageLoadLimit, pageLoadingStateFromObs, useAsObservable, filterMaybeArray, mapEachAsync, invertObservableDecision, filterItemsWithObservableDecision, distinctUntilModelKeyChange, successResult, beginLoading, errorResult, isLoadingStateLoading, cleanup, mapLoadingState, mapLoadingStateValueWithOperator } from '@dereekb/rxjs';
|
|
5
5
|
import { switchMap, of, shareReplay, map, distinctUntilChanged, EMPTY, catchError, firstValueFrom, BehaviorSubject, combineLatest, first, from, tap, interval, exhaustMap, filter, take, startWith, Subject, throttleTime, NEVER, combineLatestWith } from 'rxjs';
|
|
6
6
|
import * as i2 from '@dereekb/dbx-core';
|
|
7
|
-
import { loggedInObsFromIsLoggedIn, loggedOutObsFromIsLoggedIn, authUserIdentifier, DbxInjectionContext, DbxInjectionComponent, AbstractForwardDbxInjectionContextDirective, DbxInjectionContextDirective, DBX_INJECTION_COMPONENT_DATA, DbxAuthService, DbxActionButtonDirective, DbxActionDirective, DbxActionEnforceModifiedDirective, DbxActionHandlerDirective, DbxActionAutoTriggerDirective, provideDbxRouteModelIdDirectiveDelegate, provideDbxRouteModelKeyDirectiveDelegate, AbstractSubscriptionDirective, AbstractIfDirective, LockSetComponentStore,
|
|
7
|
+
import { loggedInObsFromIsLoggedIn, loggedOutObsFromIsLoggedIn, authUserIdentifier, DbxInjectionContext, DbxInjectionComponent, AbstractForwardDbxInjectionContextDirective, DbxInjectionContextDirective, DBX_INJECTION_COMPONENT_DATA, DbxAuthService, DbxActionButtonDirective, DbxActionDirective, DbxActionEnforceModifiedDirective, DbxActionHandlerDirective, DbxActionAutoTriggerDirective, provideDbxRouteModelIdDirectiveDelegate, provideDbxRouteModelKeyDirectiveDelegate, AbstractSubscriptionDirective, AbstractIfDirective, LockSetComponentStore, newWithInjector, CutTextPipe, dbxRouteParamReaderInstance, DbxRouteParamDefaultRedirectInstance } from '@dereekb/dbx-core';
|
|
8
8
|
import { Auth, authState, idToken, GoogleAuthProvider, FacebookAuthProvider, TwitterAuthProvider, GithubAuthProvider, signInWithPopup, createUserWithEmailAndPassword, signInWithEmailAndPassword, signInAnonymously, reauthenticateWithPopup, provideAuth, getAuth, connectAuthEmulator } from '@angular/fire/auth';
|
|
9
9
|
import { AUTH_ADMIN_ROLE, cachedGetter, urlWithoutParameters, addToSet, removeFromSet, filterMaybeArrayValues, mapIterable, asArray, excludeValuesFromArray, containsStringAnyCase, addToSetCopy, iterableToArray, runAsyncTasksForValues, pushArrayItemsIntoArray, forEachKeyValue, countAllInNestedArray, invertDecision, readableError, isMaybeSo, firstValue } from '@dereekb/util';
|
|
10
10
|
import { safeFormatToISO8601DateString, msToSeconds, isSameDate } from '@dereekb/date';
|
|
@@ -12,7 +12,7 @@ import { sendPasswordResetEmail } from 'firebase/auth';
|
|
|
12
12
|
import { getToken, initializeAppCheck, ReCaptchaV3Provider } from 'firebase/app-check';
|
|
13
13
|
import { AppCheck, provideAppCheck } from '@angular/fire/app-check';
|
|
14
14
|
import * as i1$1 from '@dereekb/dbx-web';
|
|
15
|
-
import { DbxLinkComponent, DbxActionModule, DbxButtonModule, DbxErrorComponent, DbxActionErrorDirective, DbxButtonComponent, DbxButtonSpacerDirective, DbxRouterAnchorModule, DbxWidgetService, AbstractDbxSelectionListWrapperDirective, provideDbxListViewWrapper, DbxListWrapperComponentImportsModule, DEFAULT_LIST_WRAPPER_COMPONENT_CONFIGURATION_TEMPLATE, AbstractDbxSelectionListViewDirective, provideDbxListView, DbxSelectionValueListViewComponentImportsModule, 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, DbxIconButtonComponent, DbxModelObjectStateService, DbxListViewWrapper, AbstractDbxWidgetComponent, DbxPopoverInteractionModule } from '@dereekb/dbx-web';
|
|
15
|
+
import { DbxLinkComponent, DbxActionModule, DbxButtonModule, DbxErrorComponent, DbxActionErrorDirective, DbxButtonComponent, DbxButtonSpacerDirective, DbxRouterAnchorModule, DbxWidgetService, AbstractDbxSelectionListWrapperDirective, provideDbxListViewWrapper, DbxListWrapperComponentImportsModule, DEFAULT_LIST_WRAPPER_COMPONENT_CONFIGURATION_TEMPLATE, AbstractDbxSelectionListViewDirective, provideDbxListView, DbxSelectionValueListViewComponentImportsModule, 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, DbxIconButtonComponent, DbxModelObjectStateService, DbxListViewWrapper, AbstractDbxWidgetComponent, DbxPopoverInteractionModule, DbxListModifierModule } from '@dereekb/dbx-web';
|
|
16
16
|
import * as i1 from '@angular/material/icon';
|
|
17
17
|
import { MatIconModule } from '@angular/material/icon';
|
|
18
18
|
import * as i1$2 from '@dereekb/dbx-form';
|
|
@@ -26,7 +26,7 @@ import { toSignal, toObservable } from '@angular/core/rxjs-interop';
|
|
|
26
26
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
27
27
|
import { initializeApp } from 'firebase/app';
|
|
28
28
|
import { provideFirebaseApp, FirebaseApp } from '@angular/fire/app';
|
|
29
|
-
import { provideStorage, getStorage, connectStorageEmulator } from '@angular/fire/storage';
|
|
29
|
+
import { provideStorage, getStorage, connectStorageEmulator, Storage } from '@angular/fire/storage';
|
|
30
30
|
import { provideFunctions, getFunctions, connectFunctionsEmulator, Functions } from '@angular/fire/functions';
|
|
31
31
|
import { provideFirestore, persistentMultipleTabManager, persistentSingleTabManager, persistentLocalCache, initializeFirestore, connectFirestoreEmulator, Firestore } from '@angular/fire/firestore';
|
|
32
32
|
import { HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
@@ -392,7 +392,7 @@ function enableAppCheckDebugTokenGeneration(enable = true) {
|
|
|
392
392
|
const DBX_FIREBASE_APP_OPTIONS_TOKEN = new InjectionToken('DbxFirebaseOptions');
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
|
-
* HTTP Interceptor that sets the X-Firebase-AppCheck for any requests to the routes configured in
|
|
395
|
+
* HTTP Interceptor that sets the X-Firebase-AppCheck for any requests to the routes configured in DbxFirebaseEnvironmentOptions.
|
|
396
396
|
*/
|
|
397
397
|
class DbxFirebaseAppCheckHttpInterceptor {
|
|
398
398
|
appCheck = inject(AppCheck);
|
|
@@ -1961,11 +1961,11 @@ class DbxFirebaseDevelopmentPopupContentComponent {
|
|
|
1961
1961
|
this._activeEntrySelector.next(undefined);
|
|
1962
1962
|
}
|
|
1963
1963
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseDevelopmentPopupContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1964
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", 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-form [config]=\"formConfig$\" dbxActionForm [dbxActionFormIsModified]=\"isFormModified\" [dbxFormSource]=\"formData$\" dbxFormSourceMode=\"always\"></dbx-firebase-development-popup-content-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: DbxFirebaseDevelopmentPopupContentFormComponent, selector: "dbx-firebase-development-popup-content-form" }, { kind: "directive", type: DbxActionDirective, selector: "dbx-action,[dbxAction],dbx-action-context,[dbxActionContext]", 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"] }] });
|
|
1964
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", 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-form [config]=\"formConfig$\" dbxActionForm [dbxActionFormIsModified]=\"isFormModified\" [dbxFormSource]=\"formData$\" dbxFormSourceMode=\"always\"></dbx-firebase-development-popup-content-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: DbxFirebaseDevelopmentPopupContentFormComponent, selector: "dbx-firebase-development-popup-content-form" }, { kind: "directive", type: DbxActionDirective, selector: "dbx-action,[dbxAction],dbx-action-context,[dbxActionContext]", 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[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }] });
|
|
1965
1965
|
}
|
|
1966
1966
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseDevelopmentPopupContentComponent, decorators: [{
|
|
1967
1967
|
type: Component,
|
|
1968
|
-
args: [{ selector: 'dbx-firebase-development-popup-content', imports: [DbxAnchorComponent, DbxTwoColumnFullLeftDirective, DbxWidgetViewComponent, DbxTwoColumnComponent, DbxTwoBlockComponent, DbxTwoColumnRightComponent, DbxWidgetViewComponent, DbxFirebaseDevelopmentPopupContentFormComponent, DbxActionDirective, DbxActionEnforceModifiedDirective, DbxActionHandlerDirective, DbxActionFormDirective, DbxFormSourceDirective, DbxActionAutoTriggerDirective], 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-form [config]=\"formConfig$\" dbxActionForm [dbxActionFormIsModified]=\"isFormModified\" [dbxFormSource]=\"formData$\" dbxFormSourceMode=\"always\"></dbx-firebase-development-popup-content-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"] }]
|
|
1968
|
+
args: [{ selector: 'dbx-firebase-development-popup-content', imports: [DbxAnchorComponent, DbxTwoColumnFullLeftDirective, DbxWidgetViewComponent, DbxTwoColumnComponent, DbxTwoBlockComponent, DbxTwoColumnRightComponent, DbxWidgetViewComponent, DbxFirebaseDevelopmentPopupContentFormComponent, 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-form [config]=\"formConfig$\" dbxActionForm [dbxActionFormIsModified]=\"isFormModified\" [dbxFormSource]=\"formData$\" dbxFormSourceMode=\"always\"></dbx-firebase-development-popup-content-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"] }]
|
|
1969
1969
|
}] });
|
|
1970
1970
|
|
|
1971
1971
|
const DEFAULT_FIREBASE_DEVELOPMENT_POPUP_KEY = 'devpopup';
|
|
@@ -2098,7 +2098,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2098
2098
|
args: ['window:keydown', ['$event']]
|
|
2099
2099
|
}] } });
|
|
2100
2100
|
|
|
2101
|
-
const importsAndExports$
|
|
2101
|
+
const importsAndExports$5 = [
|
|
2102
2102
|
//
|
|
2103
2103
|
DbxFirebaseDevelopmentPopupContentFormComponent,
|
|
2104
2104
|
DbxFirebaseDevelopmentDirective,
|
|
@@ -2146,8 +2146,8 @@ class DbxFirebaseDevelopmentModule {
|
|
|
2146
2146
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseDevelopmentModule, decorators: [{
|
|
2147
2147
|
type: NgModule,
|
|
2148
2148
|
args: [{
|
|
2149
|
-
imports: importsAndExports$
|
|
2150
|
-
exports: importsAndExports$
|
|
2149
|
+
imports: importsAndExports$5,
|
|
2150
|
+
exports: importsAndExports$5
|
|
2151
2151
|
}]
|
|
2152
2152
|
}] });
|
|
2153
2153
|
|
|
@@ -3303,7 +3303,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3303
3303
|
|
|
3304
3304
|
class DbxFirebaseModelHistoryPopoverButtonComponent extends AbstractPopoverRefDirective {
|
|
3305
3305
|
_dbxPopoverService = inject(DbxPopoverService);
|
|
3306
|
-
buttonElement = viewChild.required('button');
|
|
3306
|
+
buttonElement = viewChild.required('button', { read: ElementRef });
|
|
3307
3307
|
config = input();
|
|
3308
3308
|
_makePopoverRef(origin) {
|
|
3309
3309
|
const config = this.config();
|
|
@@ -3320,7 +3320,7 @@ class DbxFirebaseModelHistoryPopoverButtonComponent extends AbstractPopoverRefDi
|
|
|
3320
3320
|
this.showPopover(origin);
|
|
3321
3321
|
}
|
|
3322
3322
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelHistoryPopoverButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3323
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.13", 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, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
3323
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.13", 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: `
|
|
3324
3324
|
<dbx-icon-button #button (buttonClick)="showHistoryPopover()" icon="history"></dbx-icon-button>
|
|
3325
3325
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxIconButtonComponent, selector: "dbx-icon-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3326
3326
|
}
|
|
@@ -3337,7 +3337,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3337
3337
|
}]
|
|
3338
3338
|
}] });
|
|
3339
3339
|
|
|
3340
|
-
const importsAndExports$
|
|
3340
|
+
const importsAndExports$4 = [DbxFirebaseModelHistoryComponent, DbxFirebaseModelHistoryPopoverButtonComponent, DbxFirebaseModelHistoryPopoverComponent];
|
|
3341
3341
|
/**
|
|
3342
3342
|
* @deprecated import standalone components individually instead.
|
|
3343
3343
|
*
|
|
@@ -3348,13 +3348,13 @@ const importsAndExports$2 = [DbxFirebaseModelHistoryComponent, DbxFirebaseModelH
|
|
|
3348
3348
|
class DbxFirebaseModelHistoryModule {
|
|
3349
3349
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelHistoryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3350
3350
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelHistoryModule, imports: [DbxFirebaseModelHistoryComponent, DbxFirebaseModelHistoryPopoverButtonComponent, DbxFirebaseModelHistoryPopoverComponent], exports: [DbxFirebaseModelHistoryComponent, DbxFirebaseModelHistoryPopoverButtonComponent, DbxFirebaseModelHistoryPopoverComponent] });
|
|
3351
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelHistoryModule, imports: [importsAndExports$
|
|
3351
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelHistoryModule, imports: [importsAndExports$4] });
|
|
3352
3352
|
}
|
|
3353
3353
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelHistoryModule, decorators: [{
|
|
3354
3354
|
type: NgModule,
|
|
3355
3355
|
args: [{
|
|
3356
|
-
imports: importsAndExports$
|
|
3357
|
-
exports: importsAndExports$
|
|
3356
|
+
imports: importsAndExports$4,
|
|
3357
|
+
exports: importsAndExports$4
|
|
3358
3358
|
}]
|
|
3359
3359
|
}] });
|
|
3360
3360
|
|
|
@@ -3501,7 +3501,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3501
3501
|
}]
|
|
3502
3502
|
}] });
|
|
3503
3503
|
|
|
3504
|
-
const importsAndExports$
|
|
3504
|
+
const importsAndExports$3 = [DbxfirebaseModelViewedEventDirective, DbxFirebaseModelTypeInstanceListComponent, DbxFirebaseModelTypeInstanceListViewComponent, DbxFirebaseModelTypeInstanceListViewItemComponent];
|
|
3505
3505
|
/**
|
|
3506
3506
|
* @deprecated import independent components instead
|
|
3507
3507
|
*
|
|
@@ -3518,8 +3518,8 @@ class DbxFirebaseModelTypesModule {
|
|
|
3518
3518
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelTypesModule, decorators: [{
|
|
3519
3519
|
type: NgModule,
|
|
3520
3520
|
args: [{
|
|
3521
|
-
imports: importsAndExports$
|
|
3522
|
-
exports: importsAndExports$
|
|
3521
|
+
imports: importsAndExports$3,
|
|
3522
|
+
exports: importsAndExports$3
|
|
3523
3523
|
}]
|
|
3524
3524
|
}] });
|
|
3525
3525
|
|
|
@@ -3594,6 +3594,7 @@ function provideDbxFirebaseCollectionStoreDirective(sourceType, storeType) {
|
|
|
3594
3594
|
*/
|
|
3595
3595
|
class DbxFirebaseCollectionChangeDirective {
|
|
3596
3596
|
dbxFirebaseCollectionStoreDirective = inject((DbxFirebaseCollectionStoreDirective));
|
|
3597
|
+
mode = input('off', { alias: 'dbxFirebaseCollectionChange', transform: (x) => x || 'off' });
|
|
3597
3598
|
_watcher = dbxFirebaseCollectionChangeWatcher(this.dbxFirebaseCollectionStoreDirective.store);
|
|
3598
3599
|
_trigger = dbxFirebaseCollectionChangeTriggerForWatcher(this._watcher, () => this.restart());
|
|
3599
3600
|
mode$ = this._watcher.mode$;
|
|
@@ -3601,6 +3602,9 @@ class DbxFirebaseCollectionChangeDirective {
|
|
|
3601
3602
|
hasChangeAvailable$ = this._watcher.hasChangeAvailable$;
|
|
3602
3603
|
triggered$ = this._watcher.triggered$;
|
|
3603
3604
|
trigger$ = this._watcher.trigger$;
|
|
3605
|
+
modeEffect = effect(() => {
|
|
3606
|
+
this._watcher.setMode(this.mode());
|
|
3607
|
+
}, { allowSignalWrites: true });
|
|
3604
3608
|
get store() {
|
|
3605
3609
|
return this._watcher.store;
|
|
3606
3610
|
}
|
|
@@ -3611,24 +3615,19 @@ class DbxFirebaseCollectionChangeDirective {
|
|
|
3611
3615
|
this._watcher.destroy();
|
|
3612
3616
|
this._trigger.destroy();
|
|
3613
3617
|
}
|
|
3614
|
-
set mode(mode) {
|
|
3615
|
-
this._watcher.setMode(mode || 'off');
|
|
3616
|
-
}
|
|
3617
3618
|
restart() {
|
|
3618
3619
|
this.dbxFirebaseCollectionStoreDirective.store.restart();
|
|
3619
3620
|
}
|
|
3620
3621
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseCollectionChangeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3621
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
3622
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.13", type: DbxFirebaseCollectionChangeDirective, isStandalone: true, selector: "[dbxFirebaseCollectionChange]", inputs: { mode: { classPropertyName: "mode", publicName: "dbxFirebaseCollectionChange", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
3622
3623
|
}
|
|
3623
3624
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseCollectionChangeDirective, decorators: [{
|
|
3624
3625
|
type: Directive,
|
|
3625
3626
|
args: [{
|
|
3626
|
-
selector: '[dbxFirebaseCollectionChange]'
|
|
3627
|
+
selector: '[dbxFirebaseCollectionChange]',
|
|
3628
|
+
standalone: true
|
|
3627
3629
|
}]
|
|
3628
|
-
}]
|
|
3629
|
-
type: Input,
|
|
3630
|
-
args: ['dbxFirebaseCollectionChange']
|
|
3631
|
-
}] } });
|
|
3630
|
+
}] });
|
|
3632
3631
|
|
|
3633
3632
|
/**
|
|
3634
3633
|
* Structural directive that displays the content when the target change is detected.
|
|
@@ -3636,9 +3635,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3636
3635
|
* Can specify which changes to appear on.
|
|
3637
3636
|
*/
|
|
3638
3637
|
class DbxFirebaseCollectionHasChangeDirective extends AbstractIfDirective {
|
|
3639
|
-
_mode = new BehaviorSubject('addedAndRemoved');
|
|
3640
3638
|
directive = inject(DbxFirebaseCollectionChangeDirective);
|
|
3641
|
-
|
|
3639
|
+
mode = input('addedAndRemoved', { alias: 'dbxFirebaseCollectionHasChange', transform: (x) => x || 'addedAndRemoved' });
|
|
3640
|
+
show$ = combineLatest([toObservable(this.mode), this.directive.event$]).pipe(map(([mode, event]) => {
|
|
3642
3641
|
let show = false;
|
|
3643
3642
|
if (event.type !== 'none') {
|
|
3644
3643
|
switch (mode) {
|
|
@@ -3655,28 +3654,16 @@ class DbxFirebaseCollectionHasChangeDirective extends AbstractIfDirective {
|
|
|
3655
3654
|
}
|
|
3656
3655
|
return show;
|
|
3657
3656
|
}), shareReplay(1));
|
|
3658
|
-
get mode() {
|
|
3659
|
-
return this._mode.value;
|
|
3660
|
-
}
|
|
3661
|
-
set mode(mode) {
|
|
3662
|
-
this._mode.next(mode || 'addedAndRemoved');
|
|
3663
|
-
}
|
|
3664
|
-
ngOnDestroy() {
|
|
3665
|
-
super.ngOnDestroy();
|
|
3666
|
-
this._mode.complete();
|
|
3667
|
-
}
|
|
3668
3657
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseCollectionHasChangeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3669
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
3658
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.13", type: DbxFirebaseCollectionHasChangeDirective, isStandalone: true, selector: "[dbxFirebaseCollectionHasChange]", inputs: { mode: { classPropertyName: "mode", publicName: "dbxFirebaseCollectionHasChange", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
3670
3659
|
}
|
|
3671
3660
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseCollectionHasChangeDirective, decorators: [{
|
|
3672
3661
|
type: Directive,
|
|
3673
3662
|
args: [{
|
|
3674
|
-
selector: '[dbxFirebaseCollectionHasChange]'
|
|
3663
|
+
selector: '[dbxFirebaseCollectionHasChange]',
|
|
3664
|
+
standalone: true
|
|
3675
3665
|
}]
|
|
3676
|
-
}]
|
|
3677
|
-
type: Input,
|
|
3678
|
-
args: ['dbxFirebaseCollectionHasChange']
|
|
3679
|
-
}] } });
|
|
3666
|
+
}] });
|
|
3680
3667
|
|
|
3681
3668
|
/**
|
|
3682
3669
|
* Directive that connects a host DbxListView to a DbxFirebaseCollectionStoreDirective to pass data for rendering items from a collection and query parameters.
|
|
@@ -3694,36 +3681,16 @@ class DbxFirebaseCollectionListDirective extends AbstractSubscriptionDirective {
|
|
|
3694
3681
|
});
|
|
3695
3682
|
}
|
|
3696
3683
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseCollectionListDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3697
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DbxFirebaseCollectionListDirective, selector: "[dbxFirebaseCollectionList]", usesInheritance: true, ngImport: i0 });
|
|
3684
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DbxFirebaseCollectionListDirective, isStandalone: true, selector: "[dbxFirebaseCollectionList]", usesInheritance: true, ngImport: i0 });
|
|
3698
3685
|
}
|
|
3699
3686
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseCollectionListDirective, decorators: [{
|
|
3700
3687
|
type: Directive,
|
|
3701
3688
|
args: [{
|
|
3702
|
-
selector: '[dbxFirebaseCollectionList]'
|
|
3689
|
+
selector: '[dbxFirebaseCollectionList]',
|
|
3690
|
+
standalone: true
|
|
3703
3691
|
}]
|
|
3704
3692
|
}], ctorParameters: () => [] });
|
|
3705
3693
|
|
|
3706
|
-
/**
|
|
3707
|
-
* Utility directive for a host DbxFirebaseDocumentStoreDirective that sets the document's ID to match the ID of the current user.
|
|
3708
|
-
*
|
|
3709
|
-
* This is useful for cases where each document is keyed by the user (I.E. implements UserRelatedById).
|
|
3710
|
-
*/
|
|
3711
|
-
class DbxFirebaseDocumentAuthIdDirective extends AbstractSubscriptionDirective {
|
|
3712
|
-
dbxFirebaseAuthService = inject(DbxFirebaseAuthService);
|
|
3713
|
-
dbxFirebaseDocumentStoreDirective = inject((DbxFirebaseDocumentStoreDirective), { host: true });
|
|
3714
|
-
ngOnInit() {
|
|
3715
|
-
this.sub = this.dbxFirebaseDocumentStoreDirective.store.setId(this.dbxFirebaseAuthService.userIdentifier$);
|
|
3716
|
-
}
|
|
3717
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseDocumentAuthIdDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3718
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DbxFirebaseDocumentAuthIdDirective, selector: "[dbxFirebaseDocumentAuthId]", usesInheritance: true, ngImport: i0 });
|
|
3719
|
-
}
|
|
3720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseDocumentAuthIdDirective, decorators: [{
|
|
3721
|
-
type: Directive,
|
|
3722
|
-
args: [{
|
|
3723
|
-
selector: '[dbxFirebaseDocumentAuthId]'
|
|
3724
|
-
}]
|
|
3725
|
-
}] });
|
|
3726
|
-
|
|
3727
3694
|
class DbxFirebaseDocumentStoreTwoWayKeyProvider {
|
|
3728
3695
|
}
|
|
3729
3696
|
/**
|
|
@@ -3746,13 +3713,14 @@ class DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective {
|
|
|
3746
3713
|
dbxFirebaseDocumentStoreDirective = inject(DbxFirebaseDocumentStoreDirective, { host: true });
|
|
3747
3714
|
twoWayFlatKey$ = this.dbxFirebaseDocumentStoreDirective.twoWayFlatKey$;
|
|
3748
3715
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3749
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, selector: "[dbxFirebaseDocumentStoreTwoWayModelKeySource]", providers: provideDbxFirebaseDocumentStoreTwoWayKeyProvider(DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective), ngImport: i0 });
|
|
3716
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, isStandalone: true, selector: "[dbxFirebaseDocumentStoreTwoWayModelKeySource]", providers: provideDbxFirebaseDocumentStoreTwoWayKeyProvider(DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective), ngImport: i0 });
|
|
3750
3717
|
}
|
|
3751
3718
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, decorators: [{
|
|
3752
3719
|
type: Directive,
|
|
3753
3720
|
args: [{
|
|
3754
3721
|
selector: '[dbxFirebaseDocumentStoreTwoWayModelKeySource]',
|
|
3755
|
-
providers: provideDbxFirebaseDocumentStoreTwoWayKeyProvider(DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective)
|
|
3722
|
+
providers: provideDbxFirebaseDocumentStoreTwoWayKeyProvider(DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective),
|
|
3723
|
+
standalone: true
|
|
3756
3724
|
}]
|
|
3757
3725
|
}] });
|
|
3758
3726
|
|
|
@@ -3762,31 +3730,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3762
3730
|
class DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective extends AbstractSubscriptionDirective {
|
|
3763
3731
|
dbxFirebaseDocumentStoreDirective = inject(DbxFirebaseDocumentStoreDirective, { host: true });
|
|
3764
3732
|
dbxFirebaseDocumentStoreTwoWayKeyProvider = inject(DbxFirebaseDocumentStoreTwoWayKeyProvider, { skipSelf: true, host: false });
|
|
3765
|
-
|
|
3733
|
+
constructor() {
|
|
3734
|
+
super();
|
|
3766
3735
|
this.sub = this.dbxFirebaseDocumentStoreDirective.store.setId(this.dbxFirebaseDocumentStoreTwoWayKeyProvider.twoWayFlatKey$);
|
|
3767
3736
|
}
|
|
3768
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, deps:
|
|
3769
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, selector: "[dbxFirebaseDocumentStoreIdFromTwoWayModelKey]", usesInheritance: true, ngImport: i0 });
|
|
3737
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3738
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, isStandalone: true, selector: "[dbxFirebaseDocumentStoreIdFromTwoWayModelKey]", usesInheritance: true, ngImport: i0 });
|
|
3770
3739
|
}
|
|
3771
3740
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, decorators: [{
|
|
3772
3741
|
type: Directive,
|
|
3773
3742
|
args: [{
|
|
3774
|
-
selector: '[dbxFirebaseDocumentStoreIdFromTwoWayModelKey]'
|
|
3743
|
+
selector: '[dbxFirebaseDocumentStoreIdFromTwoWayModelKey]',
|
|
3744
|
+
standalone: true
|
|
3775
3745
|
}]
|
|
3776
|
-
}] });
|
|
3746
|
+
}], ctorParameters: () => [] });
|
|
3777
3747
|
|
|
3778
|
-
const
|
|
3748
|
+
const importsAndExports$2 = [DbxFirebaseCollectionListDirective, DbxFirebaseCollectionChangeDirective, DbxFirebaseCollectionHasChangeDirective, DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective];
|
|
3779
3749
|
class DbxFirebaseModelStoreModule {
|
|
3780
3750
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelStoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3781
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelStoreModule,
|
|
3751
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelStoreModule, imports: [DbxFirebaseCollectionListDirective, DbxFirebaseCollectionChangeDirective, DbxFirebaseCollectionHasChangeDirective, DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective], exports: [DbxFirebaseCollectionListDirective, DbxFirebaseCollectionChangeDirective, DbxFirebaseCollectionHasChangeDirective, DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective] });
|
|
3782
3752
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelStoreModule });
|
|
3783
3753
|
}
|
|
3784
3754
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelStoreModule, decorators: [{
|
|
3785
3755
|
type: NgModule,
|
|
3786
3756
|
args: [{
|
|
3787
|
-
imports:
|
|
3788
|
-
|
|
3789
|
-
exports: declarations$1
|
|
3757
|
+
imports: importsAndExports$2,
|
|
3758
|
+
exports: importsAndExports$2
|
|
3790
3759
|
}]
|
|
3791
3760
|
}] });
|
|
3792
3761
|
|
|
@@ -3932,7 +3901,7 @@ class AbstractDbxFirebaseDocumentStore extends LockSetComponentStore {
|
|
|
3932
3901
|
if (isClientFirebaseError(e)) {
|
|
3933
3902
|
switch (e.code) {
|
|
3934
3903
|
case FIRESTORE_PERMISSION_DENIED_ERROR_CODE:
|
|
3935
|
-
result = false;
|
|
3904
|
+
result = false; // does not exist if permission is denied
|
|
3936
3905
|
break;
|
|
3937
3906
|
}
|
|
3938
3907
|
}
|
|
@@ -4094,98 +4063,6 @@ function firebaseDocumentStoreDeleteFunction(store, fn) {
|
|
|
4094
4063
|
})), shareReplay(1)));
|
|
4095
4064
|
}
|
|
4096
4065
|
|
|
4097
|
-
/**
|
|
4098
|
-
* Used for synchronizing the document store id to the param of the route.
|
|
4099
|
-
*
|
|
4100
|
-
* @deprecated use DbxRouteModelIdDirective instead.
|
|
4101
|
-
*/
|
|
4102
|
-
class DbxFirebaseDocumentStoreRouteIdDirective extends DbxRouteModelIdDirective {
|
|
4103
|
-
// MARK: Input
|
|
4104
|
-
get dbxFirebaseDocumentStoreRouteId() {
|
|
4105
|
-
return this.idParam;
|
|
4106
|
-
}
|
|
4107
|
-
set dbxFirebaseDocumentStoreRouteId(idParam) {
|
|
4108
|
-
this.idParam = idParam;
|
|
4109
|
-
}
|
|
4110
|
-
set dbxFirebaseDocumentStoreRouteIdDefault(defaultValue) {
|
|
4111
|
-
this.dbxRouteModelIdDefault = defaultValue;
|
|
4112
|
-
}
|
|
4113
|
-
/**
|
|
4114
|
-
* Whether or not to enable the redirection. Is enabled by default.
|
|
4115
|
-
*/
|
|
4116
|
-
set dbxFirebaseDocumentStoreRouteIdDefaultRedirect(redirect) {
|
|
4117
|
-
this.dbxRouteModelIdDefaultRedirect = redirect;
|
|
4118
|
-
}
|
|
4119
|
-
set dbxFirebaseDocumentStoreRouteIdDefaultDecision(decider) {
|
|
4120
|
-
this.dbxRouteModelIdDefaultDecision = decider;
|
|
4121
|
-
}
|
|
4122
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseDocumentStoreRouteIdDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4123
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DbxFirebaseDocumentStoreRouteIdDirective, selector: "[dbxFirebaseDocumentStoreRouteId]", inputs: { dbxFirebaseDocumentStoreRouteId: "dbxFirebaseDocumentStoreRouteId", dbxFirebaseDocumentStoreRouteIdDefault: "dbxFirebaseDocumentStoreRouteIdDefault", dbxFirebaseDocumentStoreRouteIdDefaultRedirect: "dbxFirebaseDocumentStoreRouteIdDefaultRedirect", dbxFirebaseDocumentStoreRouteIdDefaultDecision: "dbxFirebaseDocumentStoreRouteIdDefaultDecision" }, usesInheritance: true, ngImport: i0 });
|
|
4124
|
-
}
|
|
4125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseDocumentStoreRouteIdDirective, decorators: [{
|
|
4126
|
-
type: Directive,
|
|
4127
|
-
args: [{
|
|
4128
|
-
selector: '[dbxFirebaseDocumentStoreRouteId]'
|
|
4129
|
-
}]
|
|
4130
|
-
}], propDecorators: { dbxFirebaseDocumentStoreRouteId: [{
|
|
4131
|
-
type: Input,
|
|
4132
|
-
args: ['dbxFirebaseDocumentStoreRouteId']
|
|
4133
|
-
}], dbxFirebaseDocumentStoreRouteIdDefault: [{
|
|
4134
|
-
type: Input
|
|
4135
|
-
}], dbxFirebaseDocumentStoreRouteIdDefaultRedirect: [{
|
|
4136
|
-
type: Input
|
|
4137
|
-
}], dbxFirebaseDocumentStoreRouteIdDefaultDecision: [{
|
|
4138
|
-
type: Input
|
|
4139
|
-
}] } });
|
|
4140
|
-
|
|
4141
|
-
/**
|
|
4142
|
-
* Used for synchronizing the document store key to the param of the route. The param is interpreted as a TwoWayFlatFirestoreModelKey.
|
|
4143
|
-
*
|
|
4144
|
-
* @deprecated use DbxRouteModelKeyDirective ([dbxRouteModelKey]) instead.
|
|
4145
|
-
*/
|
|
4146
|
-
class DbxFirebaseDocumentStoreRouteKeyDirective extends DbxRouteModelKeyDirective {
|
|
4147
|
-
dbxFirebaseDocumentStoreDirective = inject((DbxFirebaseDocumentStoreDirective), { host: true });
|
|
4148
|
-
ngOnInit() {
|
|
4149
|
-
super.ngOnInit();
|
|
4150
|
-
}
|
|
4151
|
-
// MARK: Input
|
|
4152
|
-
get dbxFirebaseDocumentStoreRouteKey() {
|
|
4153
|
-
return this.keyParam;
|
|
4154
|
-
}
|
|
4155
|
-
set dbxFirebaseDocumentStoreRouteKey(keyParam) {
|
|
4156
|
-
this.keyParam = keyParam;
|
|
4157
|
-
}
|
|
4158
|
-
set dbxFirebaseDocumentStoreRouteKeyDefault(defaultValue) {
|
|
4159
|
-
this.dbxRouteModelKeyDefault = defaultValue;
|
|
4160
|
-
}
|
|
4161
|
-
/**
|
|
4162
|
-
* Whether or not to enable the redirection. Is enabled by default.
|
|
4163
|
-
*/
|
|
4164
|
-
set dbxFirebaseDocumentStoreRouteKeyDefaultRedirect(redirect) {
|
|
4165
|
-
this.dbxRouteModelKeyDefaultRedirect = redirect;
|
|
4166
|
-
}
|
|
4167
|
-
set dbxFirebaseDocumentStoreRouteKeyDefaultDecision(decider) {
|
|
4168
|
-
this.dbxRouteModelKeyDefaultDecision = decider;
|
|
4169
|
-
}
|
|
4170
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseDocumentStoreRouteKeyDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4171
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DbxFirebaseDocumentStoreRouteKeyDirective, selector: "[dbxFirebaseDocumentStoreRouteKey]", inputs: { dbxFirebaseDocumentStoreRouteKey: "dbxFirebaseDocumentStoreRouteKey", dbxFirebaseDocumentStoreRouteKeyDefault: "dbxFirebaseDocumentStoreRouteKeyDefault", dbxFirebaseDocumentStoreRouteKeyDefaultRedirect: "dbxFirebaseDocumentStoreRouteKeyDefaultRedirect", dbxFirebaseDocumentStoreRouteKeyDefaultDecision: "dbxFirebaseDocumentStoreRouteKeyDefaultDecision" }, usesInheritance: true, ngImport: i0 });
|
|
4172
|
-
}
|
|
4173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseDocumentStoreRouteKeyDirective, decorators: [{
|
|
4174
|
-
type: Directive,
|
|
4175
|
-
args: [{
|
|
4176
|
-
selector: '[dbxFirebaseDocumentStoreRouteKey]'
|
|
4177
|
-
}]
|
|
4178
|
-
}], propDecorators: { dbxFirebaseDocumentStoreRouteKey: [{
|
|
4179
|
-
type: Input,
|
|
4180
|
-
args: ['dbxFirebaseDocumentStoreRouteKey']
|
|
4181
|
-
}], dbxFirebaseDocumentStoreRouteKeyDefault: [{
|
|
4182
|
-
type: Input
|
|
4183
|
-
}], dbxFirebaseDocumentStoreRouteKeyDefaultRedirect: [{
|
|
4184
|
-
type: Input
|
|
4185
|
-
}], dbxFirebaseDocumentStoreRouteKeyDefaultDecision: [{
|
|
4186
|
-
type: Input
|
|
4187
|
-
}] } });
|
|
4188
|
-
|
|
4189
4066
|
function setParentStoreEffect(store) {
|
|
4190
4067
|
return store.effect((input) => {
|
|
4191
4068
|
return input.pipe(map((parentStore) => {
|
|
@@ -4762,11 +4639,11 @@ class DbxFirebaseNotificationItemStorePopoverComponent extends AbstractPopoverDi
|
|
|
4762
4639
|
makeNotificationItemAnchor = this.params.makeNotificationItemAnchor;
|
|
4763
4640
|
notificationItemsLoadingState$ = this.params.notificationItemsLoadingState$;
|
|
4764
4641
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseNotificationItemStorePopoverComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4765
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", 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: "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 });
|
|
4642
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", 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 });
|
|
4766
4643
|
}
|
|
4767
4644
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseNotificationItemStorePopoverComponent, decorators: [{
|
|
4768
4645
|
type: Component,
|
|
4769
|
-
args: [{ imports: [DbxPopoverInteractionModule, 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" }]
|
|
4646
|
+
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" }]
|
|
4770
4647
|
}] });
|
|
4771
4648
|
|
|
4772
4649
|
/**
|
|
@@ -5023,7 +4900,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
5023
4900
|
}]
|
|
5024
4901
|
}], ctorParameters: () => [{ type: NotificationUserDocumentStore }] });
|
|
5025
4902
|
|
|
5026
|
-
const importsAndExports = [
|
|
4903
|
+
const importsAndExports$1 = [
|
|
5027
4904
|
// components
|
|
5028
4905
|
DbxFirebaseNotificationItemListComponent,
|
|
5029
4906
|
DbxFirebaseNotificationItemListViewComponent,
|
|
@@ -5111,8 +4988,8 @@ class DbxFirebaseNotificationModule {
|
|
|
5111
4988
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseNotificationModule, decorators: [{
|
|
5112
4989
|
type: NgModule,
|
|
5113
4990
|
args: [{
|
|
5114
|
-
imports: importsAndExports,
|
|
5115
|
-
exports: importsAndExports
|
|
4991
|
+
imports: importsAndExports$1,
|
|
4992
|
+
exports: importsAndExports$1
|
|
5116
4993
|
}]
|
|
5117
4994
|
}] });
|
|
5118
4995
|
|
|
@@ -5168,12 +5045,13 @@ class FlatFirestoreModelKeyPipe {
|
|
|
5168
5045
|
}
|
|
5169
5046
|
}
|
|
5170
5047
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FlatFirestoreModelKeyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
5171
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: FlatFirestoreModelKeyPipe, name: "flatFirestoreModelKey" });
|
|
5048
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: FlatFirestoreModelKeyPipe, isStandalone: true, name: "flatFirestoreModelKey" });
|
|
5172
5049
|
}
|
|
5173
5050
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FlatFirestoreModelKeyPipe, decorators: [{
|
|
5174
5051
|
type: Pipe,
|
|
5175
|
-
args: [{ name: 'flatFirestoreModelKey' }]
|
|
5052
|
+
args: [{ name: 'flatFirestoreModelKey', standalone: true }]
|
|
5176
5053
|
}] });
|
|
5054
|
+
|
|
5177
5055
|
class TwoWayFlatFirestoreModelKeyPipe {
|
|
5178
5056
|
transform(input) {
|
|
5179
5057
|
if (input != null) {
|
|
@@ -5184,24 +5062,29 @@ class TwoWayFlatFirestoreModelKeyPipe {
|
|
|
5184
5062
|
}
|
|
5185
5063
|
}
|
|
5186
5064
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TwoWayFlatFirestoreModelKeyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
5187
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: TwoWayFlatFirestoreModelKeyPipe, name: "twoWayFlatFirestoreModelKey" });
|
|
5065
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: TwoWayFlatFirestoreModelKeyPipe, isStandalone: true, name: "twoWayFlatFirestoreModelKey" });
|
|
5188
5066
|
}
|
|
5189
5067
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TwoWayFlatFirestoreModelKeyPipe, decorators: [{
|
|
5190
5068
|
type: Pipe,
|
|
5191
|
-
args: [{ name: 'twoWayFlatFirestoreModelKey' }]
|
|
5069
|
+
args: [{ name: 'twoWayFlatFirestoreModelKey', standalone: true }]
|
|
5192
5070
|
}] });
|
|
5193
5071
|
|
|
5194
|
-
const
|
|
5072
|
+
const importsAndExports = [FlatFirestoreModelKeyPipe, TwoWayFlatFirestoreModelKeyPipe];
|
|
5073
|
+
/**
|
|
5074
|
+
* Imports and exports all DbxFirebasePipe components.
|
|
5075
|
+
*
|
|
5076
|
+
* @deprecated consider importing the individual pipes instead.
|
|
5077
|
+
*/
|
|
5195
5078
|
class DbxFirebasePipeModule {
|
|
5196
5079
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebasePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5197
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebasePipeModule,
|
|
5080
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebasePipeModule, imports: [FlatFirestoreModelKeyPipe, TwoWayFlatFirestoreModelKeyPipe], exports: [FlatFirestoreModelKeyPipe, TwoWayFlatFirestoreModelKeyPipe] });
|
|
5198
5081
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebasePipeModule });
|
|
5199
5082
|
}
|
|
5200
5083
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebasePipeModule, decorators: [{
|
|
5201
5084
|
type: NgModule,
|
|
5202
5085
|
args: [{
|
|
5203
|
-
|
|
5204
|
-
exports:
|
|
5086
|
+
imports: importsAndExports,
|
|
5087
|
+
exports: importsAndExports
|
|
5205
5088
|
}]
|
|
5206
5089
|
}] });
|
|
5207
5090
|
|
|
@@ -5418,5 +5301,5 @@ function provideDbxFirebase(config) {
|
|
|
5418
5301
|
* Generated bundle index. Do not edit.
|
|
5419
5302
|
*/
|
|
5420
5303
|
|
|
5421
|
-
export { AbstractConfiguredDbxFirebaseLoginButtonDirective, AbstractDbxFirebaseCollectionStore, AbstractDbxFirebaseCollectionWithParentStore, AbstractDbxFirebaseDocumentStore, AbstractDbxFirebaseDocumentWithParentStore, AbstractDbxFirebaseNotificationItemWidgetComponent, AbstractRootSingleItemDbxFirebaseDocument, AbstractSingleItemDbxFirebaseDocument, AbstractSystemStateDocumentStoreAccessor, DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION, DBX_FIREBASE_APP_OPTIONS_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_LOGIN_COMPONENTS, DBX_FIREBASE_MODEL_DOES_NOT_EXIST_ERROR, 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_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, DbxFirebaseAuthModule, DbxFirebaseAuthService, DbxFirebaseAuthServiceDelegate, DbxFirebaseCollectionChangeDirective, DbxFirebaseCollectionChangeTriggerInstance, DbxFirebaseCollectionHasChangeDirective, DbxFirebaseCollectionListDirective, DbxFirebaseCollectionLoaderInstance, DbxFirebaseCollectionStoreDirective, DbxFirebaseCollectionWithParentStoreDirective, DbxFirebaseDefaultFirebaseProvidersModule, DbxFirebaseDevelopmentDirective, DbxFirebaseDevelopmentModule, DbxFirebaseDevelopmentPopupComponent, DbxFirebaseDevelopmentPopupContentComponent, DbxFirebaseDevelopmentPopupContentFormComponent, DbxFirebaseDevelopmentSchedulerListComponent, DbxFirebaseDevelopmentSchedulerListViewComponent, DbxFirebaseDevelopmentSchedulerListViewItemComponent, DbxFirebaseDevelopmentSchedulerService, DbxFirebaseDevelopmentSchedulerWidgetComponent, DbxFirebaseDevelopmentService, DbxFirebaseDevelopmentWidgetService,
|
|
5304
|
+
export { AbstractConfiguredDbxFirebaseLoginButtonDirective, AbstractDbxFirebaseCollectionStore, AbstractDbxFirebaseCollectionWithParentStore, AbstractDbxFirebaseDocumentStore, AbstractDbxFirebaseDocumentWithParentStore, AbstractDbxFirebaseNotificationItemWidgetComponent, AbstractRootSingleItemDbxFirebaseDocument, AbstractSingleItemDbxFirebaseDocument, AbstractSystemStateDocumentStoreAccessor, DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION, DBX_FIREBASE_APP_OPTIONS_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_LOGIN_COMPONENTS, DBX_FIREBASE_MODEL_DOES_NOT_EXIST_ERROR, 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_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, DbxFirebaseAuthModule, DbxFirebaseAuthService, DbxFirebaseAuthServiceDelegate, DbxFirebaseCollectionChangeDirective, DbxFirebaseCollectionChangeTriggerInstance, DbxFirebaseCollectionHasChangeDirective, DbxFirebaseCollectionListDirective, DbxFirebaseCollectionLoaderInstance, DbxFirebaseCollectionStoreDirective, DbxFirebaseCollectionWithParentStoreDirective, DbxFirebaseDefaultFirebaseProvidersModule, DbxFirebaseDevelopmentDirective, DbxFirebaseDevelopmentModule, DbxFirebaseDevelopmentPopupComponent, DbxFirebaseDevelopmentPopupContentComponent, DbxFirebaseDevelopmentPopupContentFormComponent, DbxFirebaseDevelopmentSchedulerListComponent, DbxFirebaseDevelopmentSchedulerListViewComponent, DbxFirebaseDevelopmentSchedulerListViewItemComponent, DbxFirebaseDevelopmentSchedulerService, DbxFirebaseDevelopmentSchedulerWidgetComponent, DbxFirebaseDevelopmentService, DbxFirebaseDevelopmentWidgetService, DbxFirebaseDocumentLoaderInstance, DbxFirebaseDocumentStoreDirective, DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, DbxFirebaseDocumentStoreTwoWayKeyProvider, DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, DbxFirebaseEmailFormComponent, DbxFirebaseEmailRecoveryFormComponent, DbxFirebaseEmulatorModule, DbxFirebaseEmulatorService, DbxFirebaseFirestoreCollectionModule, DbxFirebaseFunctionsModule, DbxFirebaseLoginAnonymousComponent, DbxFirebaseLoginAppleComponent, DbxFirebaseLoginButtonComponent, DbxFirebaseLoginButtonContainerComponent, DbxFirebaseLoginComponent, DbxFirebaseLoginContext, DbxFirebaseLoginContextBackButtonComponent, DbxFirebaseLoginContextDirective, DbxFirebaseLoginEmailComponent, DbxFirebaseLoginEmailContentComponent, DbxFirebaseLoginFacebookComponent, DbxFirebaseLoginGitHubComponent, DbxFirebaseLoginGoogleComponent, DbxFirebaseLoginListComponent, DbxFirebaseLoginMicrosoftComponent, DbxFirebaseLoginModule, DbxFirebaseLoginTermsComponent, DbxFirebaseLoginTermsSimpleComponent, DbxFirebaseLoginTwitterComponent, DbxFirebaseModelContextService, DbxFirebaseModelHistoryComponent, DbxFirebaseModelHistoryModule, DbxFirebaseModelHistoryPopoverButtonComponent, DbxFirebaseModelHistoryPopoverComponent, DbxFirebaseModelModule, DbxFirebaseModelStoreModule, DbxFirebaseModelTrackerService, DbxFirebaseModelTypeInstanceListComponent, DbxFirebaseModelTypeInstanceListViewComponent, DbxFirebaseModelTypeInstanceListViewItemComponent, DbxFirebaseModelTypesModule, DbxFirebaseModelTypesService, DbxFirebaseModelTypesServiceConfig, DbxFirebaseModule, DbxFirebaseNotificationBoxCollectionStoreDirective, DbxFirebaseNotificationBoxDocumentStoreDirective, DbxFirebaseNotificationItemContentComponent, DbxFirebaseNotificationItemDefaultViewComponent, DbxFirebaseNotificationItemListComponent, DbxFirebaseNotificationItemListViewComponent, DbxFirebaseNotificationItemListViewItemComponent, DbxFirebaseNotificationItemStore, DbxFirebaseNotificationItemStorePopoverButtonComponent, DbxFirebaseNotificationItemStorePopoverComponent, DbxFirebaseNotificationItemViewComponent, DbxFirebaseNotificationItemWidgetService, DbxFirebaseNotificationModule, DbxFirebaseNotificationSummaryCollectionStoreDirective, DbxFirebaseNotificationSummaryDocumentStoreDirective, DbxFirebaseNotificationTemplateService, DbxFirebaseNotificationUserCollectionStoreDirective, DbxFirebaseNotificationUserDocumentStoreDirective, DbxFirebaseParsedEmulatorsConfig, DbxFirebasePipeModule, DbxFirebaseRegisterComponent, DbxFirebaseRegisterEmailComponent, DbxFirebaseStorageModule, DbxFirebaseStorageService, DbxFirebaseSystemStateCollectionStoreDirective, DbxFirebaseSystemStateDocumentStoreDirective, DbxFirestoreContextService, DbxLimitedFirebaseDocumentLoaderInstance, DbxfirebaseModelViewedEventDirective, FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE_PREFIX, FlatFirestoreModelKeyPipe, NotificationBoxCollectionStore, NotificationBoxDocumentStore, NotificationSummaryCollectionStore, NotificationSummaryDocumentStore, NotificationUserCollectionStore, NotificationUserDocumentStore, OAUTH_FIREBASE_LOGIN_METHOD_CATEGORY, SystemStateCollectionStore, SystemStateDocumentStore, TwoWayFlatFirestoreModelKeyPipe, authRolesObsWithClaimsService, authUserInfoFromAuthUser, authUserStateFromFirebaseAuthServiceFunction, dbxFirebaseAuthContextInfo, dbxFirebaseCollectionChangeTrigger, dbxFirebaseCollectionChangeTriggerForStore, dbxFirebaseCollectionChangeTriggerForWatcher, dbxFirebaseCollectionChangeWatcher, dbxFirebaseCollectionLoaderInstance, dbxFirebaseCollectionLoaderInstanceWithCollection, dbxFirebaseDocumentLoaderInstance, dbxFirebaseDocumentLoaderInstanceWithAccessor, dbxFirebaseIdRouteParamRedirect, dbxFirebaseInContextFirebaseModelServiceInstance, dbxFirebaseInContextFirebaseModelServiceInstanceFactory, dbxFirebaseKeyRouteParamRedirect, dbxFirebaseModelContextServiceInfoInstanceFactory, dbxFirebaseModelTypesServiceInstance, dbxFirebaseModelTypesServiceInstancePairForKeysFactory, dbxFirebaseSourceSelectLoadSource, dbxFirebaseStorageProvidersContextConfigFactory, dbxLimitedFirebaseDocumentLoaderInstance, dbxLimitedFirebaseDocumentLoaderInstanceWithAccessor, dbxWidgetTypeForNotificationTemplateType, defaultDbxFirebaseAuthServiceDelegateWithClaimsService, developmentFirebaseServerSchedulerWidgetEntry, enableAppCheckDebugTokenGeneration, firebaseAuthTokenFromUser, firebaseContextServiceEntityMap, firebaseDocumentStoreCreateFunction, firebaseDocumentStoreCrudFunction, firebaseDocumentStoreDeleteFunction, firebaseDocumentStoreReadFunction, firebaseDocumentStoreUpdateFunction, modelDoesNotExistError, provideDbxFirebase, provideDbxFirebaseAnalyticsUserEventsListenerService, provideDbxFirebaseApp, provideDbxFirebaseAuth, provideDbxFirebaseCollectionStoreDirective, provideDbxFirebaseCollectionWithParentStoreDirective, provideDbxFirebaseDevelopment, provideDbxFirebaseDocumentStoreDirective, provideDbxFirebaseDocumentStoreTwoWayKeyProvider, provideDbxFirebaseEmulator, provideDbxFirebaseFunctions, provideDbxFirebaseLogin, provideDbxFirebaseModelContextService, provideDbxFirebaseNotifications, provideDbxFirestoreCollection, provideNotificationFirestoreCollections, provideSystemStateFirestoreCollections, providedDbxFirebaseStorage, readDbxAnalyticsUserPropertiesFromAuthUserInfo, readValueFromIdToken, setParentStoreEffect, stateFromTokenForLoggedInUserFunction };
|
|
5422
5305
|
//# sourceMappingURL=dereekb-dbx-firebase.mjs.map
|