@dereekb/dbx-firebase 14.5.1 → 14.7.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.
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, inject, Injectable, Service, provideAppInitializer, makeEnvironmentProviders, Component, model, computed, signal, Directive, EventEmitter, input, output, Injector, viewChild, HostListener, NgModule, ElementRef, forwardRef,
|
|
2
|
+
import { InjectionToken, inject, Injectable, Service, provideAppInitializer, makeEnvironmentProviders, Component, model, computed, signal, Directive, EventEmitter, input, output, effect, Injector, viewChild, HostListener, NgModule, ElementRef, forwardRef, DestroyRef, Inject, Optional, 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 { Observable, switchMap, of, shareReplay, map, Subject, merge, distinctUntilChanged, EMPTY, catchError, firstValueFrom, tap, BehaviorSubject, combineLatest, first, from, interval, exhaustMap,
|
|
5
|
+
import { Observable, switchMap, of, shareReplay, map, Subject, merge, distinctUntilChanged, EMPTY, catchError, firstValueFrom, tap, BehaviorSubject, combineLatest, first, from, filter, interval, exhaustMap, take, startWith, throttleTime, NEVER, defaultIfEmpty, combineLatestWith, mergeMap, timer, takeWhile, withLatestFrom } from 'rxjs';
|
|
6
6
|
import * as i1$1 from '@dereekb/dbx-core';
|
|
7
|
-
import { loggedInObsFromIsLoggedIn, loggedOutObsFromIsLoggedIn, authUserIdentifier, DbxInjectionContext, DBX_INJECTION_COMPONENT_DATA, DbxInjectionComponent, AbstractForwardDbxInjectionContextDirective, DbxInjectionContextDirective, DbxAuthImpersonationDelegate, DbxAuthService, provideDbxAuthImpersonation, DbxActionButtonDirective, completeOnDestroy,
|
|
7
|
+
import { loggedInObsFromIsLoggedIn, loggedOutObsFromIsLoggedIn, authUserIdentifier, DbxInjectionContext, DBX_INJECTION_COMPONENT_DATA, cleanSubscription, DbxInjectionComponent, AbstractForwardDbxInjectionContextDirective, DbxInjectionContextDirective, DbxRouterService, clean, dbxRouteParamReaderInstance, DbxAuthImpersonationDelegate, DbxAuthService, provideDbxAuthImpersonation, DbxActionButtonDirective, completeOnDestroy, DbxActionDirective, DbxActionEnforceModifiedDirective, DbxActionHandlerDirective, DbxActionAutoTriggerDirective, cleanLoadingContext, provideDbxRouteModelIdDirectiveDelegate, provideDbxRouteModelKeyDirectiveDelegate, AbstractIfDirective, LockSetComponentStore, newWithInjector, DbxActionValueDirective, DbxActionDisabledDirective, TimeDistanceCountdownPipe, TimeDistancePipe, DbxActionContextStoreSourceInstance, DbxActionHandlerInstance, cleanSubscriptionWithLockSet, DbxButton, CutTextPipe, SimpleStorageAccessorFactory, DbxRouteParamDefaultRedirectInstance } from '@dereekb/dbx-core';
|
|
8
8
|
import { onAuthStateChanged, onIdTokenChanged, confirmPasswordReset, sendPasswordResetEmail, signInWithPopup, signInWithRedirect, linkWithPopup, linkWithRedirect, linkWithCredential, unlink, createUserWithEmailAndPassword, signInWithEmailAndPassword, signInAnonymously, signInWithCustomToken, reauthenticateWithPopup, reauthenticateWithRedirect, getRedirectResult, 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, forEachKeyValue, countAllInNestedArray, invertDecision, useIterableOrValue, filterUniqueValues, reverseCompareFn, sortByNumberFunction, separateValues, readableError, isMaybeSo, firstValue, fixExtraQueryParameters, generatePkceMaterial, splitJoinRemainder, MS_IN_HOUR, SECONDS_IN_MINUTE, MS_IN_DAY, unixDateTimeSecondsNumberForNow, MS_IN_MINUTE, addMilliseconds, unixDateTimeSecondsNumberFromDate, dateFromDateOrTimeSecondsNumber, MS_IN_SECOND, isPast, takeFront, areEqualPOJOValues } from '@dereekb/util';
|
|
10
10
|
import { safeFormatToISO8601DateString, msToSeconds, isSameDate } from '@dereekb/date';
|
|
11
11
|
import { getToken, initializeAppCheck, ReCaptchaV3Provider } from 'firebase/app-check';
|
|
12
12
|
import * as i1$2 from '@dereekb/dbx-web';
|
|
13
|
-
import { DbxLinkComponent, DbxActionSnackbarErrorDirective, 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,
|
|
13
|
+
import { DbxLinkComponent, DbxActionSnackbarErrorDirective, DbxActionModule, DbxButtonModule, DbxErrorComponent, DbxAnchorComponent, DbxActionErrorDirective, DbxButtonComponent, DbxButtonSpacerDirective, DbxContentPitDirective, 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, 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, DbxActionConfirmDirective, AbstractDialogDirective, DbxDialogModule, AbstractDbxListWrapperDirective, AbstractDbxListViewDirective, DbxValueListViewComponentImportsModule, DEFAULT_DBX_VALUE_LIST_COMPONENT_CONFIGURATION_TEMPLATE, DbxAvatarComponent, DbxChipDirective, DbxStepBlockComponent, DbxWebFilePreviewService, DbxActionDialogDirective, DbxFileListItemComponent, DbxFileUploadComponent, DbxActionLoadingContextDirective, DbxFileUploadActionSyncDirective, DbxLabelBlockComponent, compressImageFile, DbxPdfMergeEditorStore, PDF_MERGE_RESULT_MIME_TYPE, DbxColorDirective, DbxIconTileComponent, AbstractDbxWidgetComponent, DbxDialogContentDirective, DbxPopoverInteractionModule, DbxListModifierModule } from '@dereekb/dbx-web';
|
|
14
14
|
import * as i1 from '@angular/material/icon';
|
|
15
15
|
import { MatIconModule, MatIcon } from '@angular/material/icon';
|
|
16
16
|
import { firebaseAuthErrorToReadableError, FIREBASE_AUTH_PASSWORD_MIN_LENGTH, FirebaseDevelopmentFunctions, ScheduledFunctionDevelopmentFunctionTypeEnum, clientFirebaseFirestoreContextFactory, SystemStateFirestoreCollections, NotificationFirestoreCollections, StorageFileFirestoreCollections, CalendarFirestoreCollections, FormSpaceFirestoreCollections, 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, CalendarFunctions, firestoreModelKey, storageFileIdentity, calendarNextIcsRotateAt, isCalendarIcsRotateThrottled, calendarSyncState, userExternalConnectionEntryIsConnected, CALCOM_USER_EXTERNAL_CONNECTION_PROVIDER_TYPE, ZOOM_USER_EXTERNAL_CONNECTION_PROVIDER_TYPE, DISCORD_USER_EXTERNAL_CONNECTION_PROVIDER_TYPE, ZOHO_USER_EXTERNAL_CONNECTION_PROVIDER_TYPE, UserExternalConnectionFunctions, FormSpaceProcessingState, FormSpaceState, AppFormSpaceTypeConfigService, FormSpaceFunctions, isFormSpaceEditable, formSpaceFilesInSlot, formSpaceSubmitBlockers, isFormSpaceReopenable, isFormSpaceFullyLocked, formSpaceSlotStatus, StorageFileFunctions, GOOGLE_CLOUD_STORAGE_PUBLIC_URL_API_ENDPOINT, storagePublicDownloadUrl, formSpaceUploadsFilePath, DEFAULT_FORM_SPACE_SLOT_MAX_FILES, DEFAULT_FORM_SPACE_FILE_ACCESS, isFormSpaceFileAccessibleWithAccess, FormSpaceFileValidationState, formSpaceFileSlotName, appFormSpaceTypeConfigService, formSpaceTypeConfigRecord, NotificationHealthCheckStatus, NotificationDeliveryMethod, MailgunNotificationHealthCheckIssueCode, KnownNotificationHealthCheckIssueCode, AppNotificationTemplateTypeInfoRecordService, NotificationFunctions, notificationUserHealthCheckNextRunAt, notificationUserHealthCheckNextProbeAtByMethod, notificationHealthCheckPendingProbeMethods, notificationUserHealthCheckNextVerifyAt, DEFAULT_NOTIFICATION_USER_HEALTH_CHECK_VERIFY_THROTTLE_SECONDS, ALL_NOTIFICATION_DELIVERY_METHODS, unreadNotificationItems, clientFirebaseStorageContextFactory } from '@dereekb/firebase';
|
|
17
|
+
import { toSignal, toObservable, takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
17
18
|
import * as i1$3 from '@dereekb/dbx-form';
|
|
18
19
|
import { AbstractSyncForgeFormDirective, dbxForgeEmailField, DbxForgeFormComponentImportsModule, dbxForgeFormComponentProviders, DBX_FORGE_FORM_COMPONENT_TEMPLATE, AbstractConfigAsyncForgeFormDirective, dbxForgeUsernameLoginField, dbxForgeTextPasswordField, dbxForgeTextVerifyPasswordField, DbxActionFormDirective, DbxFormSourceDirective, dbxForgeTextPasswordWithVerifyField, dbxForgeTextField, dbxForgePickableChipField, filterPickableItemFieldValuesByLabel } from '@dereekb/dbx-form';
|
|
19
20
|
import { NgTemplateOutlet, DatePipe, NgClass } from '@angular/common';
|
|
21
|
+
import { ComponentStore } from '@ngrx/component-store';
|
|
20
22
|
import * as i1$4 from '@angular/material/button';
|
|
21
23
|
import { MatButtonModule } from '@angular/material/button';
|
|
22
|
-
import { toSignal, toObservable, takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
23
24
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
24
25
|
import { initializeApp } from 'firebase/app';
|
|
25
26
|
import { persistentSingleTabManager, persistentMultipleTabManager, persistentLocalCache, initializeFirestore, connectFirestoreEmulator } from 'firebase/firestore';
|
|
@@ -27,7 +28,6 @@ import { getStorage, connectStorageEmulator } from 'firebase/storage';
|
|
|
27
28
|
import { getFunctions, connectFunctionsEmulator } from 'firebase/functions';
|
|
28
29
|
import { HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
29
30
|
import { MatExpansionPanel, MatExpansionPanelHeader, MatExpansionPanelTitle, MatExpansionPanelContent, MatAccordion } from '@angular/material/expansion';
|
|
30
|
-
import { ComponentStore } from '@ngrx/component-store';
|
|
31
31
|
import { __decorate, __param } from 'tslib';
|
|
32
32
|
import { MatDialog } from '@angular/material/dialog';
|
|
33
33
|
import { BaseError } from 'make-error';
|
|
@@ -975,6 +975,10 @@ const DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG = {
|
|
|
975
975
|
const DEFAULT_FIREBASE_AUTH_LOGIN_PROVIDERS_TOKEN = new InjectionToken('DefaultDbxFirebaseAuthLoginProviders');
|
|
976
976
|
const DEFAULT_FIREBASE_AUTH_LOGIN_TERMS_COMPONENT_CLASS_TOKEN = new InjectionToken('DefaultDbxFirebaseAuthLoginTermsComponentClass');
|
|
977
977
|
const DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG_TOKEN = new InjectionToken('DefaultDbxFirebaseAuthLoginPasswordConfig');
|
|
978
|
+
/**
|
|
979
|
+
* Anchor to the app's password reset page, offered from the "Send Recovery Email" view to users that already hold a reset code.
|
|
980
|
+
*/
|
|
981
|
+
const DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_RESET_ANCHOR_TOKEN = new InjectionToken('DefaultDbxFirebaseAuthLoginPasswordResetAnchor');
|
|
978
982
|
/**
|
|
979
983
|
* Service used for registering components used for logging in.
|
|
980
984
|
*
|
|
@@ -986,14 +990,17 @@ class DbxFirebaseAuthLoginService {
|
|
|
986
990
|
_assets = new Map();
|
|
987
991
|
_enableAll = false;
|
|
988
992
|
_passwordConfig;
|
|
993
|
+
_passwordResetAnchor;
|
|
989
994
|
_enabled = new Set();
|
|
990
995
|
constructor() {
|
|
991
996
|
const defaultProviders = inject(DEFAULT_FIREBASE_AUTH_LOGIN_PROVIDERS_TOKEN, { optional: true });
|
|
992
997
|
const passwordConfig = inject(DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG_TOKEN, { optional: true });
|
|
998
|
+
const passwordResetAnchor = inject(DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_RESET_ANCHOR_TOKEN, { optional: true });
|
|
993
999
|
if (defaultProviders) {
|
|
994
1000
|
defaultProviders.forEach((x) => this.register(x, false));
|
|
995
1001
|
}
|
|
996
1002
|
this._passwordConfig = passwordConfig ?? DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG;
|
|
1003
|
+
this._passwordResetAnchor = passwordResetAnchor;
|
|
997
1004
|
}
|
|
998
1005
|
/**
|
|
999
1006
|
* Used to register a provider. If a provider is already registered, this will override it by default.
|
|
@@ -1092,6 +1099,17 @@ class DbxFirebaseAuthLoginService {
|
|
|
1092
1099
|
setPasswordConfig(passwordConfig) {
|
|
1093
1100
|
this._passwordConfig = passwordConfig;
|
|
1094
1101
|
}
|
|
1102
|
+
/**
|
|
1103
|
+
* Anchor to the app's password reset page, or undefined when the app has not configured one.
|
|
1104
|
+
*
|
|
1105
|
+
* @returns The configured password reset anchor, if any.
|
|
1106
|
+
*/
|
|
1107
|
+
getPasswordResetAnchor() {
|
|
1108
|
+
return this._passwordResetAnchor;
|
|
1109
|
+
}
|
|
1110
|
+
setPasswordResetAnchor(passwordResetAnchor) {
|
|
1111
|
+
this._passwordResetAnchor = passwordResetAnchor;
|
|
1112
|
+
}
|
|
1095
1113
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxFirebaseAuthLoginService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1096
1114
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxFirebaseAuthLoginService });
|
|
1097
1115
|
}
|
|
@@ -1558,9 +1576,9 @@ class DbxFirebaseLoginEmailContentComponent {
|
|
|
1558
1576
|
loginMode: this.config.loginMode,
|
|
1559
1577
|
passwordConfig: this.config.passwordConfig
|
|
1560
1578
|
};
|
|
1561
|
-
_emailFormValueSignal = signal(
|
|
1579
|
+
_emailFormValueSignal = signal(this.config.defaultValue, /* @ts-ignore */
|
|
1562
1580
|
...(ngDevMode ? [{ debugName: "_emailFormValueSignal" }] : /* istanbul ignore next */ []));
|
|
1563
|
-
_recoveryFormValueSignal = signal(undefined, /* @ts-ignore */
|
|
1581
|
+
_recoveryFormValueSignal = signal(this.config.defaultValue?.username ? { email: this.config.defaultValue.username } : undefined, /* @ts-ignore */
|
|
1564
1582
|
...(ngDevMode ? [{ debugName: "_recoveryFormValueSignal" }] : /* istanbul ignore next */ []));
|
|
1565
1583
|
_emailModeSignal = signal('login', /* @ts-ignore */
|
|
1566
1584
|
...(ngDevMode ? [{ debugName: "_emailModeSignal" }] : /* istanbul ignore next */ []));
|
|
@@ -1572,6 +1590,7 @@ class DbxFirebaseLoginEmailContentComponent {
|
|
|
1572
1590
|
this.openRecovery();
|
|
1573
1591
|
}
|
|
1574
1592
|
};
|
|
1593
|
+
passwordResetAnchor = this.config.passwordResetAnchor;
|
|
1575
1594
|
doneOrCancelled = new EventEmitter();
|
|
1576
1595
|
static openEmailLoginContext(dbxFirebaseLoginContext, config) {
|
|
1577
1596
|
return dbxFirebaseLoginContext.showContext({
|
|
@@ -1624,6 +1643,14 @@ class DbxFirebaseLoginEmailContentComponent {
|
|
|
1624
1643
|
handleRecoverySuccess = (_x) => {
|
|
1625
1644
|
this._emailModeSignal.set('recoversent');
|
|
1626
1645
|
};
|
|
1646
|
+
/**
|
|
1647
|
+
* Whether the sent-recovery view sends the user on to the password reset page rather than back to the login form.
|
|
1648
|
+
*
|
|
1649
|
+
* @returns True when a password reset page is configured to land on.
|
|
1650
|
+
*/
|
|
1651
|
+
get hasPasswordResetAnchor() {
|
|
1652
|
+
return this.passwordResetAnchor != null;
|
|
1653
|
+
}
|
|
1627
1654
|
clickedRecoveryAcknowledged() {
|
|
1628
1655
|
this._emailModeSignal.set('login');
|
|
1629
1656
|
}
|
|
@@ -1635,22 +1662,112 @@ class DbxFirebaseLoginEmailContentComponent {
|
|
|
1635
1662
|
this.doneOrCancelled.next(false);
|
|
1636
1663
|
}
|
|
1637
1664
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxFirebaseLoginEmailContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1638
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.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
|
|
1665
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.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 <dbx-button text=\"Cancel\" [flat]=\"true\" color=\"grey\" (buttonClick)=\"onCancel()\"></dbx-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 <dbx-button text=\"Cancel Recovery\" [flat]=\"true\" color=\"grey\" (buttonClick)=\"onCancelReset()\"></dbx-button>\n </div>\n <dbx-error dbxActionError></dbx-error>\n @if (passwordResetAnchor) {\n <dbx-content-pit class=\"dbx-firebase-login-email-content-recovery-code-prompt\">\n <span>\n Already have a recovery code? Reset\n <dbx-link [anchor]=\"passwordResetAnchor\">here</dbx-link>\n .\n </span>\n </dbx-content-pit>\n }\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 @if (hasPasswordResetAnchor) {\n <dbx-anchor [anchor]=\"passwordResetAnchor\">\n <dbx-button text=\"Enter Recovery Code\" [raised]=\"true\" color=\"primary\"></dbx-button>\n </dbx-anchor>\n } @else {\n <dbx-button text=\"Ok\" [raised]=\"true\" (buttonClick)=\"clickedRecoveryAcknowledged()\"></dbx-button>\n }\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: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }, { 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: DbxActionModule }, { kind: "directive", type: i1$1.DbxActionDirective, selector: "dbx-action,[dbxAction]", exportAs: ["action", "dbxAction"] }, { kind: "directive", type: i1$1.DbxActionHandlerDirective, selector: "[dbxActionHandler]", inputs: ["dbxActionHandler"] }, { kind: "directive", type: i1$1.DbxActionSuccessHandlerDirective, selector: "[dbxActionSuccessHandler]", inputs: ["dbxActionSuccessHandler"] }, { kind: "directive", type: i1$1.DbxActionButtonDirective, selector: "[dbxActionButton]", inputs: ["dbxActionButtonEcho"] }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "customContent", "allowClickPropagation", "mode"] }, { kind: "directive", type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,[dbxButtonSpacer]" }, { kind: "directive", type: DbxContentPitDirective, selector: "dbx-content-pit, [dbxContentPit]", inputs: ["scrollable", "square"] }, { 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"] }] });
|
|
1639
1666
|
}
|
|
1640
1667
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxFirebaseLoginEmailContentComponent, decorators: [{
|
|
1641
1668
|
type: Component,
|
|
1642
|
-
args: [{ imports: [
|
|
1669
|
+
args: [{ imports: [
|
|
1670
|
+
NgTemplateOutlet,
|
|
1671
|
+
DbxErrorComponent,
|
|
1672
|
+
DbxAnchorComponent,
|
|
1673
|
+
DbxLinkComponent,
|
|
1674
|
+
DbxActionErrorDirective,
|
|
1675
|
+
DbxActionFormDirective,
|
|
1676
|
+
DbxActionModule,
|
|
1677
|
+
DbxButtonComponent,
|
|
1678
|
+
DbxButtonSpacerDirective,
|
|
1679
|
+
DbxContentPitDirective,
|
|
1680
|
+
DbxFirebaseEmailForgeFormComponent,
|
|
1681
|
+
DbxFirebaseEmailRecoveryForgeFormComponent,
|
|
1682
|
+
DbxFormSourceDirective
|
|
1683
|
+
], 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 <dbx-button text=\"Cancel\" [flat]=\"true\" color=\"grey\" (buttonClick)=\"onCancel()\"></dbx-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 <dbx-button text=\"Cancel Recovery\" [flat]=\"true\" color=\"grey\" (buttonClick)=\"onCancelReset()\"></dbx-button>\n </div>\n <dbx-error dbxActionError></dbx-error>\n @if (passwordResetAnchor) {\n <dbx-content-pit class=\"dbx-firebase-login-email-content-recovery-code-prompt\">\n <span>\n Already have a recovery code? Reset\n <dbx-link [anchor]=\"passwordResetAnchor\">here</dbx-link>\n .\n </span>\n </dbx-content-pit>\n }\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 @if (hasPasswordResetAnchor) {\n <dbx-anchor [anchor]=\"passwordResetAnchor\">\n <dbx-button text=\"Enter Recovery Code\" [raised]=\"true\" color=\"primary\"></dbx-button>\n </dbx-anchor>\n } @else {\n <dbx-button text=\"Ok\" [raised]=\"true\" (buttonClick)=\"clickedRecoveryAcknowledged()\"></dbx-button>\n }\n </div>\n</ng-template>\n" }]
|
|
1643
1684
|
}] });
|
|
1644
1685
|
|
|
1686
|
+
const INITIAL_STATE = {
|
|
1687
|
+
prefill: undefined,
|
|
1688
|
+
autoOpen: true,
|
|
1689
|
+
opened: false
|
|
1690
|
+
};
|
|
1691
|
+
/**
|
|
1692
|
+
* NgRx ComponentStore that carries the {@link DbxFirebaseLoginPrefill} for a single login view.
|
|
1693
|
+
*
|
|
1694
|
+
* Provided via {@link DbxFirebaseLoginPrefillDirective}, which fills it from the current route. The provider buttons
|
|
1695
|
+
* rendered underneath resolve it through the element injector and read it to seed their form.
|
|
1696
|
+
*/
|
|
1697
|
+
class DbxFirebaseLoginPrefillStore extends ComponentStore {
|
|
1698
|
+
constructor() {
|
|
1699
|
+
super({ ...INITIAL_STATE });
|
|
1700
|
+
}
|
|
1701
|
+
// MARK: Accessors
|
|
1702
|
+
/**
|
|
1703
|
+
* Pipes the current prefill.
|
|
1704
|
+
*/
|
|
1705
|
+
prefill$ = this.state$.pipe(map((x) => x.prefill), distinctUntilChanged());
|
|
1706
|
+
/**
|
|
1707
|
+
* Pipes whether a provider should open its login view now in order to present the current prefill.
|
|
1708
|
+
*
|
|
1709
|
+
* Goes false for good once {@link markOpened} is called, so cancelling back out to the login list does not
|
|
1710
|
+
* immediately re-open the view the user just left.
|
|
1711
|
+
*/
|
|
1712
|
+
shouldOpenPrefill$ = this.state$.pipe(map((x) => x.prefill != null && x.autoOpen && !x.opened), distinctUntilChanged());
|
|
1713
|
+
// MARK: State Changes
|
|
1714
|
+
setPrefill = this.updater((state, prefill) => ({ ...state, prefill }));
|
|
1715
|
+
setAutoOpen = this.updater((state, autoOpen) => ({ ...state, autoOpen }));
|
|
1716
|
+
markOpened = this.updater((state) => ({ ...state, opened: true }));
|
|
1717
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxFirebaseLoginPrefillStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1718
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxFirebaseLoginPrefillStore });
|
|
1719
|
+
}
|
|
1720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxFirebaseLoginPrefillStore, decorators: [{
|
|
1721
|
+
type: Injectable
|
|
1722
|
+
}], ctorParameters: () => [] });
|
|
1723
|
+
/**
|
|
1724
|
+
* Creates the providers for a {@link DbxFirebaseLoginPrefillStore}.
|
|
1725
|
+
*
|
|
1726
|
+
* @returns Providers for the store.
|
|
1727
|
+
*/
|
|
1728
|
+
function provideDbxFirebaseLoginPrefill() {
|
|
1729
|
+
return [
|
|
1730
|
+
{
|
|
1731
|
+
provide: DbxFirebaseLoginPrefillStore,
|
|
1732
|
+
useClass: DbxFirebaseLoginPrefillStore
|
|
1733
|
+
}
|
|
1734
|
+
];
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1645
1737
|
/**
|
|
1646
1738
|
* Login button component for email/password authentication. Opens the email login context on click.
|
|
1739
|
+
*
|
|
1740
|
+
* When a {@link DbxFirebaseLoginPrefillDirective} is present the button seeds the opened form from its prefill, and
|
|
1741
|
+
* opens the form on its own unless the prefill was configured not to.
|
|
1647
1742
|
*/
|
|
1648
1743
|
class DbxFirebaseLoginEmailComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
1649
1744
|
loginProvider = 'email';
|
|
1745
|
+
_prefillStore = inject(DbxFirebaseLoginPrefillStore, { optional: true });
|
|
1746
|
+
prefillSignal = toSignal(this._prefillStore?.prefill$ ?? of(undefined));
|
|
1747
|
+
constructor() {
|
|
1748
|
+
super();
|
|
1749
|
+
const prefillStore = this._prefillStore;
|
|
1750
|
+
if (prefillStore != null && this.effectiveLoginMode === 'login') {
|
|
1751
|
+
cleanSubscription(prefillStore.shouldOpenPrefill$
|
|
1752
|
+
.pipe(filter((shouldOpen) => shouldOpen), first())
|
|
1753
|
+
.subscribe(() => {
|
|
1754
|
+
prefillStore.markOpened();
|
|
1755
|
+
this.handleLogin().catch(() => {
|
|
1756
|
+
// The opened view reports its own errors, and there is no button action state to reject here.
|
|
1757
|
+
});
|
|
1758
|
+
}));
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1650
1761
|
handleLogin() {
|
|
1651
|
-
|
|
1762
|
+
const prefill = this.prefillSignal();
|
|
1763
|
+
return DbxFirebaseLoginEmailContentComponent.openEmailLoginContext(this.dbxFirebaseLoginContext, {
|
|
1764
|
+
loginMode: 'login',
|
|
1765
|
+
passwordConfig: this.dbxFirebaseAuthLoginService.getPasswordConfig(),
|
|
1766
|
+
passwordResetAnchor: this.dbxFirebaseAuthLoginService.getPasswordResetAnchor(),
|
|
1767
|
+
defaultValue: prefill ? { username: prefill.email ?? '', password: prefill.password ?? '' } : undefined
|
|
1768
|
+
});
|
|
1652
1769
|
}
|
|
1653
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxFirebaseLoginEmailComponent, deps:
|
|
1770
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxFirebaseLoginEmailComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1654
1771
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.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" }] });
|
|
1655
1772
|
}
|
|
1656
1773
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxFirebaseLoginEmailComponent, decorators: [{
|
|
@@ -1660,7 +1777,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
1660
1777
|
imports: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.imports,
|
|
1661
1778
|
template: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.template
|
|
1662
1779
|
}]
|
|
1663
|
-
}] });
|
|
1780
|
+
}], ctorParameters: () => [] });
|
|
1664
1781
|
|
|
1665
1782
|
/**
|
|
1666
1783
|
* Login button component for Facebook OAuth authentication.
|
|
@@ -1885,7 +2002,7 @@ function defaultFirebaseAuthLoginProvidersFactory() {
|
|
|
1885
2002
|
* @returns EnvironmentProviders.
|
|
1886
2003
|
*/
|
|
1887
2004
|
function provideDbxFirebaseLogin(config) {
|
|
1888
|
-
const { termsOfServiceUrls: loginTerms, enabledLoginMethods, loginTermsComponentClass, passwordConfig, additionalProviders } = config;
|
|
2005
|
+
const { termsOfServiceUrls: loginTerms, enabledLoginMethods, loginTermsComponentClass, passwordConfig, passwordResetAnchor, additionalProviders } = config;
|
|
1889
2006
|
const providers = [
|
|
1890
2007
|
// Default login providers
|
|
1891
2008
|
{
|
|
@@ -1926,6 +2043,13 @@ function provideDbxFirebaseLogin(config) {
|
|
|
1926
2043
|
useValue: passwordConfig
|
|
1927
2044
|
});
|
|
1928
2045
|
}
|
|
2046
|
+
// Password reset anchor
|
|
2047
|
+
if (passwordResetAnchor) {
|
|
2048
|
+
providers.push({
|
|
2049
|
+
provide: DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_RESET_ANCHOR_TOKEN,
|
|
2050
|
+
useValue: passwordResetAnchor
|
|
2051
|
+
});
|
|
2052
|
+
}
|
|
1929
2053
|
return makeEnvironmentProviders(providers);
|
|
1930
2054
|
}
|
|
1931
2055
|
|
|
@@ -2232,6 +2356,78 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
2232
2356
|
}]
|
|
2233
2357
|
}] });
|
|
2234
2358
|
|
|
2359
|
+
/**
|
|
2360
|
+
* Default query parameter key the prefill's email address is read from.
|
|
2361
|
+
*/
|
|
2362
|
+
const DEFAULT_DBX_FIREBASE_LOGIN_PREFILL_EMAIL_PARAM = 'email';
|
|
2363
|
+
/**
|
|
2364
|
+
* Default query parameter key the prefill's password is read from.
|
|
2365
|
+
*/
|
|
2366
|
+
const DEFAULT_DBX_FIREBASE_LOGIN_PREFILL_PASSWORD_PARAM = 'password';
|
|
2367
|
+
|
|
2368
|
+
/**
|
|
2369
|
+
* Provides a {@link DbxFirebaseLoginPrefillStore} to descendant login providers, filled from the current route's
|
|
2370
|
+
* query parameters (default `?email=<address>&password=<password>`).
|
|
2371
|
+
*
|
|
2372
|
+
* Place it around a `dbx-firebase-login`. The parameters must be declared on the login state (e.g.
|
|
2373
|
+
* `url: '/login?email&password'`) so UIRouter surfaces them rather than dropping them off the url.
|
|
2374
|
+
*
|
|
2375
|
+
* ```html
|
|
2376
|
+
* <div dbxFirebaseLoginPrefill>
|
|
2377
|
+
* <dbx-firebase-login></dbx-firebase-login>
|
|
2378
|
+
* </div>
|
|
2379
|
+
* ```
|
|
2380
|
+
*
|
|
2381
|
+
* Only the email login provider reads the prefill today.
|
|
2382
|
+
*/
|
|
2383
|
+
class DbxFirebaseLoginPrefillDirective {
|
|
2384
|
+
_dbxRouterService = inject(DbxRouterService);
|
|
2385
|
+
dbxFirebaseLoginPrefillStore = inject(DbxFirebaseLoginPrefillStore);
|
|
2386
|
+
_emailReader = clean(dbxRouteParamReaderInstance(this._dbxRouterService, DEFAULT_DBX_FIREBASE_LOGIN_PREFILL_EMAIL_PARAM));
|
|
2387
|
+
_passwordReader = clean(dbxRouteParamReaderInstance(this._dbxRouterService, DEFAULT_DBX_FIREBASE_LOGIN_PREFILL_PASSWORD_PARAM));
|
|
2388
|
+
config = input(undefined, { ...(ngDevMode ? { debugName: "config" } : /* istanbul ignore next */ {}), alias: 'dbxFirebaseLoginPrefill' });
|
|
2389
|
+
prefill$ = combineLatest([this._emailReader.value$, this._passwordReader.value$]).pipe(map(([email, password]) => (email || password ? { email, password } : undefined)), distinctUntilChanged((a, b) => a?.email === b?.email && a?.password === b?.password));
|
|
2390
|
+
_configEffect = effect(() => {
|
|
2391
|
+
const config = this.config() || undefined;
|
|
2392
|
+
this._emailReader.setParamKey(config?.emailParam);
|
|
2393
|
+
this._passwordReader.setParamKey(config?.passwordParam);
|
|
2394
|
+
this.dbxFirebaseLoginPrefillStore.setAutoOpen(config?.autoOpen !== false); // true by default
|
|
2395
|
+
}, /* @ts-ignore */
|
|
2396
|
+
...(ngDevMode ? [{ debugName: "_configEffect" }] : /* istanbul ignore next */ []));
|
|
2397
|
+
constructor() {
|
|
2398
|
+
cleanSubscription(this.prefill$.subscribe((prefill) => this.dbxFirebaseLoginPrefillStore.setPrefill(prefill)));
|
|
2399
|
+
}
|
|
2400
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxFirebaseLoginPrefillDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2401
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.4", type: DbxFirebaseLoginPrefillDirective, isStandalone: true, selector: "[dbxFirebaseLoginPrefill]", inputs: { config: { classPropertyName: "config", publicName: "dbxFirebaseLoginPrefill", isSignal: true, isRequired: false, transformFunction: null } }, providers: provideDbxFirebaseLoginPrefill(), exportAs: ["loginPrefill"], ngImport: i0 });
|
|
2402
|
+
}
|
|
2403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxFirebaseLoginPrefillDirective, decorators: [{
|
|
2404
|
+
type: Directive,
|
|
2405
|
+
args: [{
|
|
2406
|
+
selector: '[dbxFirebaseLoginPrefill]',
|
|
2407
|
+
providers: provideDbxFirebaseLoginPrefill(),
|
|
2408
|
+
exportAs: 'loginPrefill'
|
|
2409
|
+
}]
|
|
2410
|
+
}], ctorParameters: () => [], propDecorators: { config: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxFirebaseLoginPrefill", required: false }] }] } });
|
|
2411
|
+
|
|
2412
|
+
/**
|
|
2413
|
+
* Default placeholder for the reset code input.
|
|
2414
|
+
*
|
|
2415
|
+
* Mirrors the `<code>-<uid>` composite token shape produced by `encodeFirebaseServerUserPasswordResetOobCode()` in
|
|
2416
|
+
* `@dereekb/firebase-server` (a six-digit reset code followed by a 28-character Firebase uid), which is the value the
|
|
2417
|
+
* reset email delivers when the delegate routes the reset through a claims-based backend.
|
|
2418
|
+
*/
|
|
2419
|
+
const DEFAULT_DBX_FIREBASE_PASSWORD_RESET_OOB_CODE_PLACEHOLDER = '000000-0000000000000000000000000000';
|
|
2420
|
+
/**
|
|
2421
|
+
* Default pattern the reset code input must match: a six-digit code, a dash, then a 28-character alphanumeric Firebase uid.
|
|
2422
|
+
*
|
|
2423
|
+
* Catches the common paste mistakes (only the six-digit code, only the uid, or extra characters) before the request is sent.
|
|
2424
|
+
* Override it via {@link DbxFirebasePasswordResetFormConfig.oobCodePattern} for apps whose uids or codes have a different shape.
|
|
2425
|
+
*/
|
|
2426
|
+
const DEFAULT_DBX_FIREBASE_PASSWORD_RESET_OOB_CODE_PATTERN = /^\d{6}-[A-Za-z0-9]{28}$/;
|
|
2427
|
+
/**
|
|
2428
|
+
* Default hint shown under the reset code input.
|
|
2429
|
+
*/
|
|
2430
|
+
const DEFAULT_DBX_FIREBASE_PASSWORD_RESET_OOB_CODE_HINT = 'Copy this code from your password reset email.';
|
|
2235
2431
|
/**
|
|
2236
2432
|
* Forge-based form component for completing a password reset.
|
|
2237
2433
|
*
|
|
@@ -2240,6 +2436,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
2240
2436
|
class DbxFirebasePasswordResetFormComponent extends AbstractConfigAsyncForgeFormDirective {
|
|
2241
2437
|
formConfig$ = this.currentConfig$.pipe(map((config) => {
|
|
2242
2438
|
const showOobCodeInput = config?.showOobCodeInput ?? false;
|
|
2439
|
+
const oobCodePlaceholder = config?.oobCodePlaceholder ?? DEFAULT_DBX_FIREBASE_PASSWORD_RESET_OOB_CODE_PLACEHOLDER;
|
|
2440
|
+
const oobCodePattern = config?.oobCodePattern ?? DEFAULT_DBX_FIREBASE_PASSWORD_RESET_OOB_CODE_PATTERN;
|
|
2441
|
+
const oobCodeHint = config?.oobCodeHint ?? DEFAULT_DBX_FIREBASE_PASSWORD_RESET_OOB_CODE_HINT;
|
|
2243
2442
|
const [passwordField, verifyPasswordField] = dbxForgeTextPasswordWithVerifyField({
|
|
2244
2443
|
password: {
|
|
2245
2444
|
label: 'New Password',
|
|
@@ -2252,7 +2451,15 @@ class DbxFirebasePasswordResetFormComponent extends AbstractConfigAsyncForgeForm
|
|
|
2252
2451
|
dbxForgeTextField({
|
|
2253
2452
|
key: 'oobCode',
|
|
2254
2453
|
label: 'Reset Code',
|
|
2255
|
-
required: true
|
|
2454
|
+
required: true,
|
|
2455
|
+
placeholder: oobCodePlaceholder,
|
|
2456
|
+
hint: oobCodeHint,
|
|
2457
|
+
pattern: oobCodePattern || undefined,
|
|
2458
|
+
validationMessages: { pattern: `Enter the full reset code from your email. It should look like ${oobCodePlaceholder}.` },
|
|
2459
|
+
// The token is pasted from an email; stray surrounding whitespace would otherwise fail verification.
|
|
2460
|
+
idempotentTransform: { trim: true },
|
|
2461
|
+
// Not a browser-managed credential, and not an SMS code either — keep autofill suggestions out of the way.
|
|
2462
|
+
autocomplete: false
|
|
2256
2463
|
})
|
|
2257
2464
|
]
|
|
2258
2465
|
: []),
|
|
@@ -2280,6 +2487,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
2280
2487
|
* Reads an optional `oobCode` from input and presents a new password form.
|
|
2281
2488
|
* When no `oobCode` is supplied, the form additionally prompts the user to enter the reset code.
|
|
2282
2489
|
* On submit, calls {@link DbxFirebaseAuthService.completePasswordReset} to finalize the reset.
|
|
2490
|
+
*
|
|
2491
|
+
* Content projection slots:
|
|
2492
|
+
* - `[hint]` — instructions rendered above the form. Only shown while the form is visible, so it disappears with the form once the reset completes.
|
|
2493
|
+
* - `[success]` — rendered below the success message once the reset completes (e.g. a "Back to Log In" link).
|
|
2494
|
+
* - `[error]` — rendered inside the action error display.
|
|
2495
|
+
* - default — rendered below the form while it is visible.
|
|
2283
2496
|
*/
|
|
2284
2497
|
class DbxFirebasePasswordResetComponent {
|
|
2285
2498
|
dbxFirebaseAuthService = inject(DbxFirebaseAuthService);
|
|
@@ -2290,10 +2503,26 @@ class DbxFirebasePasswordResetComponent {
|
|
|
2290
2503
|
*/
|
|
2291
2504
|
oobCode = input(/* @ts-ignore */
|
|
2292
2505
|
...(ngDevMode ? [undefined, { debugName: "oobCode" }] : /* istanbul ignore next */ []));
|
|
2506
|
+
/**
|
|
2507
|
+
* Placeholder for the reset code field shown when no `oobCode` is supplied.
|
|
2508
|
+
*
|
|
2509
|
+
* Defaults to {@link DEFAULT_DBX_FIREBASE_PASSWORD_RESET_OOB_CODE_PLACEHOLDER}.
|
|
2510
|
+
*/
|
|
2511
|
+
oobCodePlaceholder = input(/* @ts-ignore */
|
|
2512
|
+
...(ngDevMode ? [undefined, { debugName: "oobCodePlaceholder" }] : /* istanbul ignore next */ []));
|
|
2513
|
+
/**
|
|
2514
|
+
* Hint shown under the reset code field when no `oobCode` is supplied.
|
|
2515
|
+
*
|
|
2516
|
+
* Defaults to {@link DEFAULT_DBX_FIREBASE_PASSWORD_RESET_OOB_CODE_HINT}.
|
|
2517
|
+
*/
|
|
2518
|
+
oobCodeHint = input(/* @ts-ignore */
|
|
2519
|
+
...(ngDevMode ? [undefined, { debugName: "oobCodeHint" }] : /* istanbul ignore next */ []));
|
|
2293
2520
|
resetCompleteSignal = signal(false, /* @ts-ignore */
|
|
2294
2521
|
...(ngDevMode ? [{ debugName: "resetCompleteSignal" }] : /* istanbul ignore next */ []));
|
|
2295
2522
|
formConfigSignal = computed(() => ({
|
|
2296
|
-
showOobCodeInput: !this.oobCode()
|
|
2523
|
+
showOobCodeInput: !this.oobCode(),
|
|
2524
|
+
oobCodePlaceholder: this.oobCodePlaceholder(),
|
|
2525
|
+
oobCodeHint: this.oobCodeHint()
|
|
2297
2526
|
}), /* @ts-ignore */
|
|
2298
2527
|
...(ngDevMode ? [{ debugName: "formConfigSignal" }] : /* istanbul ignore next */ []));
|
|
2299
2528
|
handleResetAction = (value) => {
|
|
@@ -2309,12 +2538,12 @@ class DbxFirebasePasswordResetComponent {
|
|
|
2309
2538
|
}));
|
|
2310
2539
|
};
|
|
2311
2540
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxFirebasePasswordResetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2312
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: DbxFirebasePasswordResetComponent, isStandalone: true, selector: "dbx-firebase-password-reset", inputs: { oobCode: { classPropertyName: "oobCode", publicName: "oobCode", isSignal: true, isRequired: false, 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 <ng-content select=\"[success]\"></ng-content>\n </div>\n } @else {\n <ng-container dbxAction [dbxActionHandler]=\"handleResetAction\">\n <dbx-firebase-password-reset-form dbxActionForm [config]=\"formConfigSignal()\"></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>\n <ng-content select=\"[error]\"></ng-content>\n </dbx-error>\n <ng-content></ng-content>\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: i1$1.DbxActionDirective, selector: "dbx-action,[dbxAction]", exportAs: ["action", "dbxAction"] }, { kind: "directive", type: i1$1.DbxActionHandlerDirective, selector: "[dbxActionHandler]", inputs: ["dbxActionHandler"] }, { kind: "directive", type: i1$1.DbxActionButtonDirective, selector: "[dbxActionButton]", inputs: ["dbxActionButtonEcho"] }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "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: DbxActionErrorDirective, selector: "[dbxActionError]" }, { kind: "directive", type: DbxActionFormDirective, selector: "[dbxActionForm]", inputs: ["dbxActionFormDisabledOnWorking", "dbxActionFormIsValid", "dbxActionFormIsEqual", "dbxActionFormIsModified", "dbxActionFormMapValue"] }] });
|
|
2541
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: DbxFirebasePasswordResetComponent, isStandalone: true, selector: "dbx-firebase-password-reset", inputs: { oobCode: { classPropertyName: "oobCode", publicName: "oobCode", isSignal: true, isRequired: false, transformFunction: null }, oobCodePlaceholder: { classPropertyName: "oobCodePlaceholder", publicName: "oobCodePlaceholder", isSignal: true, isRequired: false, transformFunction: null }, oobCodeHint: { classPropertyName: "oobCodeHint", publicName: "oobCodeHint", isSignal: true, isRequired: false, 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 <ng-content select=\"[success]\"></ng-content>\n </div>\n } @else {\n <ng-container dbxAction [dbxActionHandler]=\"handleResetAction\">\n <ng-content select=\"[hint]\"></ng-content>\n <dbx-firebase-password-reset-form dbxActionForm [config]=\"formConfigSignal()\"></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>\n <ng-content select=\"[error]\"></ng-content>\n </dbx-error>\n <ng-content></ng-content>\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: i1$1.DbxActionDirective, selector: "dbx-action,[dbxAction]", exportAs: ["action", "dbxAction"] }, { kind: "directive", type: i1$1.DbxActionHandlerDirective, selector: "[dbxActionHandler]", inputs: ["dbxActionHandler"] }, { kind: "directive", type: i1$1.DbxActionButtonDirective, selector: "[dbxActionButton]", inputs: ["dbxActionButtonEcho"] }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "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: DbxActionErrorDirective, selector: "[dbxActionError]" }, { kind: "directive", type: DbxActionFormDirective, selector: "[dbxActionForm]", inputs: ["dbxActionFormDisabledOnWorking", "dbxActionFormIsValid", "dbxActionFormIsEqual", "dbxActionFormIsModified", "dbxActionFormMapValue"] }] });
|
|
2313
2542
|
}
|
|
2314
2543
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxFirebasePasswordResetComponent, decorators: [{
|
|
2315
2544
|
type: Component,
|
|
2316
|
-
args: [{ selector: 'dbx-firebase-password-reset', imports: [DbxFirebasePasswordResetFormComponent, DbxActionModule, DbxButtonComponent, DbxErrorComponent, DbxActionErrorDirective, DbxActionFormDirective], 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 <ng-content select=\"[success]\"></ng-content>\n </div>\n } @else {\n <ng-container dbxAction [dbxActionHandler]=\"handleResetAction\">\n <dbx-firebase-password-reset-form dbxActionForm [config]=\"formConfigSignal()\"></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>\n <ng-content select=\"[error]\"></ng-content>\n </dbx-error>\n <ng-content></ng-content>\n </ng-container>\n }\n</div>\n" }]
|
|
2317
|
-
}], propDecorators: { oobCode: [{ type: i0.Input, args: [{ isSignal: true, alias: "oobCode", required: false }] }] } });
|
|
2545
|
+
args: [{ selector: 'dbx-firebase-password-reset', imports: [DbxFirebasePasswordResetFormComponent, DbxActionModule, DbxButtonComponent, DbxErrorComponent, DbxActionErrorDirective, DbxActionFormDirective], 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 <ng-content select=\"[success]\"></ng-content>\n </div>\n } @else {\n <ng-container dbxAction [dbxActionHandler]=\"handleResetAction\">\n <ng-content select=\"[hint]\"></ng-content>\n <dbx-firebase-password-reset-form dbxActionForm [config]=\"formConfigSignal()\"></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>\n <ng-content select=\"[error]\"></ng-content>\n </dbx-error>\n <ng-content></ng-content>\n </ng-container>\n }\n</div>\n" }]
|
|
2546
|
+
}], propDecorators: { oobCode: [{ type: i0.Input, args: [{ isSignal: true, alias: "oobCode", required: false }] }], oobCodePlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "oobCodePlaceholder", required: false }] }], oobCodeHint: [{ type: i0.Input, args: [{ isSignal: true, alias: "oobCodeHint", required: false }] }] } });
|
|
2318
2547
|
|
|
2319
2548
|
/**
|
|
2320
2549
|
* Renders the configured terms of service component via dynamic injection from the login service.
|
|
@@ -13979,5 +14208,5 @@ function provideDbxFirebase(config) {
|
|
|
13979
14208
|
* Generated bundle index. Do not edit.
|
|
13980
14209
|
*/
|
|
13981
14210
|
|
|
13982
|
-
export { AbstractConfiguredDbxFirebaseLoginButtonDirective, AbstractDbxFirebaseCollectionStore, AbstractDbxFirebaseCollectionWithParentStore, AbstractDbxFirebaseDocumentStore, AbstractDbxFirebaseDocumentWithParentStore, AbstractDbxFirebaseModelEntityWidgetDirective, AbstractDbxFirebaseNotificationItemWidgetComponent, AbstractRootSingleItemDbxFirebaseDocument, AbstractSingleItemDbxFirebaseDocument, AbstractSystemStateDocumentStoreAccessor, CalendarDocumentStore, CalendarDocumentStoreDirective, DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION, DBX_FIREBASE_APP_OPTIONS_TOKEN, DBX_FIREBASE_AUTH_FLOW_TOKEN, DBX_FIREBASE_DOCUMENT_STORE_CONTEXT_STORE_TOKEN, DBX_FIREBASE_EXTERNAL_CONNECTION_CALCOM_PROVIDER, DBX_FIREBASE_EXTERNAL_CONNECTION_DISCORD_PROVIDER, DBX_FIREBASE_EXTERNAL_CONNECTION_LOGIN_CATEGORY, DBX_FIREBASE_EXTERNAL_CONNECTION_ZOHO_PROVIDER, DBX_FIREBASE_EXTERNAL_CONNECTION_ZOOM_PROVIDER, DBX_FIREBASE_KNOWN_EXTERNAL_CONNECTION_PROVIDERS, DBX_FIREBASE_LINKED_LOGIN_METHODS_SOURCES_TOKEN, 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_FIREBASE_STORAGE_PDF_MERGE_UPLOAD_FILE_NAME, DBX_FIRESTORE_CONTEXT_TOKEN, DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE, DEFAULT_DBX_FIREBASE_ANALYTICS_USER_PROPERTIES_FACTORY, DEFAULT_DBX_FIREBASE_AUTH_FLOW, DEFAULT_DBX_FIREBASE_AUTH_SERVICE_DELEGATE, DEFAULT_DBX_FIREBASE_FORM_SPACE_STEP_BLOCK_COLOR, DEFAULT_DBX_FIREBASE_FORM_SPACE_STEP_BLOCK_COMPLETE_COLOR, DEFAULT_DBX_FIREBASE_FORM_SPACE_STEP_BLOCK_COMPLETE_ICON, DEFAULT_DBX_FIREBASE_FORM_SPACE_SUBMIT_INCOMPLETE_HINT, DEFAULT_DBX_FIREBASE_ID_ROUTER_PARAM_ID_PARAM_KEY, DEFAULT_DBX_FIREBASE_ID_ROUTER_PARAM_KEY_PARAM_KEY, DEFAULT_DBX_FIREBASE_ID_ROUTER_PARAM_USE_PARAM_VALUE, 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_DBX_FIREBASE_STORAGE_FILE_LIST_REMOVE_CONFIRM_CONFIG, DEFAULT_EXTERNAL_CONNECTION_AUTHORIZE_PATH_FACTORY, DEFAULT_EXTERNAL_CONNECTION_NAVIGATE_FUNCTION, DEFAULT_EXTERNAL_CONNECTION_NAVIGATE_TIMEOUT, DEFAULT_EXTERNAL_CONNECTION_SIGN_IN_PATH_FACTORY, DEFAULT_EXTERNAL_CONNECTION_TOKEN_PATH_FACTORY, 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, DEFAULT_NOTIFICATION_HEALTH_CHECK_PRESENTATION_ENTRIES, DEFAULT_NOTIFICATION_HEALTH_CHECK_PROBE_WATCH_MINUTES, DEVELOPMENT_FIREBASE_SERVER_SCHEDULER_WIDGET_KEY, DbxFirebaseAnalyticsUserEventsListenerService, DbxFirebaseAnalyticsUserSource, DbxFirebaseAppCheckHttpInterceptor, DbxFirebaseAuthImpersonationDelegate, DbxFirebaseAuthLoginService, DbxFirebaseAuthService, DbxFirebaseAuthServiceDelegate, DbxFirebaseCalendarIcsRotateButtonComponent, DbxFirebaseCalendarIcsRotateComponent, DbxFirebaseCalendarSubscribeDialogComponent, 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, DbxFirebaseExternalConnectionLinkedLoginMethodsSource, DbxFirebaseExternalConnectionListComponent, DbxFirebaseExternalConnectionListViewComponent, DbxFirebaseExternalConnectionListViewItemComponent, DbxFirebaseExternalConnectionService, DbxFirebaseExternalConnectionsComponent, DbxFirebaseExternalConnectionsConfig, DbxFirebaseFormSpaceCollectionStoreDirective, DbxFirebaseFormSpaceDocumentStoreDirective, DbxFirebaseFormSpaceListComponent, DbxFirebaseFormSpaceListViewComponent, DbxFirebaseFormSpaceListViewItemComponent, DbxFirebaseFormSpaceModule, DbxFirebaseFormSpaceSectionComponent, DbxFirebaseFormSpaceSlotUploadComponent, DbxFirebaseFormSpaceSlotUploadDirective, DbxFirebaseFormSpaceStepBlockComponent, DbxFirebaseFormSpaceSubmitButtonComponent, DbxFirebaseFormSpaceUploadInitializeDocumentsDirective, DbxFirebaseLinkedLoginMethodsService, DbxFirebaseLinkedLoginMethodsSource, DbxFirebaseLoginAnonymousComponent, DbxFirebaseLoginAppleComponent, DbxFirebaseLoginButtonComponent, DbxFirebaseLoginButtonContainerComponent, DbxFirebaseLoginComponent, DbxFirebaseLoginContext, DbxFirebaseLoginContextBackButtonComponent, DbxFirebaseLoginContextDirective, DbxFirebaseLoginEmailComponent, DbxFirebaseLoginEmailContentComponent, DbxFirebaseLoginExternalConnectionComponent, 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, DbxFirebaseNotificationHealthCheckComponent, DbxFirebaseNotificationHealthCheckConfig, DbxFirebaseNotificationHealthCheckDialogButtonComponent, DbxFirebaseNotificationHealthCheckDialogComponent, DbxFirebaseNotificationHealthCheckIssueComponent, DbxFirebaseNotificationHealthCheckMethodComponent, DbxFirebaseNotificationHealthCheckPresentationService, DbxFirebaseNotificationHealthCheckPresentationServiceConfig, DbxFirebaseNotificationHealthCheckViewComponent, DbxFirebaseNotificationItemContentComponent, DbxFirebaseNotificationItemDefaultViewComponent, DbxFirebaseNotificationItemListComponent, DbxFirebaseNotificationItemListViewComponent, DbxFirebaseNotificationItemListViewItemComponent, DbxFirebaseNotificationItemStore, DbxFirebaseNotificationItemStorePopoverButtonComponent, DbxFirebaseNotificationItemStorePopoverComponent, DbxFirebaseNotificationItemViewComponent, DbxFirebaseNotificationItemWidgetService, DbxFirebaseNotificationSummaryCollectionStoreDirective, DbxFirebaseNotificationSummaryDocumentStoreDirective, DbxFirebaseNotificationTemplateService, DbxFirebaseNotificationUserCollectionStoreDirective, DbxFirebaseNotificationUserDocumentStoreDirective, DbxFirebaseNotificationUserHealthCheckStore, DbxFirebaseParsedEmulatorsConfig, DbxFirebasePasswordResetComponent, DbxFirebasePasswordResetFormComponent, DbxFirebaseRegisterComponent, DbxFirebaseRegisterEmailComponent, DbxFirebaseStorageFileCollectionStoreDirective, DbxFirebaseStorageFileDocumentStoreDirective, DbxFirebaseStorageFileDownloadButtonComponent, DbxFirebaseStorageFileDownloadService, DbxFirebaseStorageFileDownloadStorage, DbxFirebaseStorageFileGroupDocumentStoreDirective, DbxFirebaseStorageFileListComponent, DbxFirebaseStorageFileListViewComponent, DbxFirebaseStorageFileListViewItemComponent, DbxFirebaseStorageFileUploadActionHandlerDirective, DbxFirebaseStorageFileUploadInitializeDocumentDirective, DbxFirebaseStorageFileUploadModule, DbxFirebaseStorageFileUploadStore, DbxFirebaseStorageFileUploadStoreDirective, DbxFirebaseStorageFileUploadSyncDirective, DbxFirebaseStoragePdfMergeUploadSyncDirective, DbxFirebaseStorageService, DbxFirebaseSystemStateCollectionStoreDirective, DbxFirebaseSystemStateDocumentStoreDirective, DbxFirebaseUserExternalConnectionCollections, DbxFirebaseUserExternalConnectionDocumentStoreDirective, DbxFirebaseUserExternalConnectionsStore, DbxFirestoreContextService, DbxLimitedFirebaseDocumentLoaderInstance, EXTERNAL_CONNECTION_SIGN_IN_ERROR_PARAM, EXTERNAL_CONNECTION_SIGN_IN_TICKET_PARAM, EXTERNAL_CONNECTION_SIGN_IN_VERIFIER_STORAGE_KEY, 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, FormSpaceCollectionStore, FormSpaceDocumentStore, IMPORTS_AND_EXPORTS$1 as IMPORTS_AND_EXPORTS, LOGIN_METHOD_TYPE_TO_FIREBASE_PROVIDER_ID_MAP, NOTIFICATION_DELIVERY_METHOD_ICONS, NOTIFICATION_DELIVERY_METHOD_LABELS, NOTIFICATION_DELIVERY_METHOD_SHORT_LABELS, NOTIFICATION_DELIVERY_METHOD_TEST_MESSAGE_LABELS, NOTIFICATION_DELIVERY_METHOD_TEST_MESSAGE_NOUNS, NOTIFICATION_HEALTH_CHECK_PROBE_ISSUE_OUTCOMES, NOTIFICATION_HEALTH_CHECK_STATUS_COLORS, NOTIFICATION_HEALTH_CHECK_STATUS_ICONS, NOTIFICATION_HEALTH_CHECK_STATUS_LABELS, NotificationBoxCollectionStore, NotificationBoxDocumentStore, NotificationCollectionStore, NotificationDocumentStore, NotificationSummaryCollectionStore, NotificationSummaryDocumentStore, NotificationUserCollectionStore, NotificationUserDocumentStore, OAUTH_FIREBASE_LOGIN_METHOD_CATEGORY, StorageFileCollectionStore, StorageFileDocumentStore, StorageFileGroupDocumentStore, StorageFileUploadFilesError, SystemStateCollectionStore, SystemStateDocumentStore, TwoWayFlatFirestoreModelKeyPipe, UserExternalConnectionDocumentStore, authRolesObsWithClaimsService, authUserInfoFromAuthUser, authUserStateFromFirebaseAuthServiceFunction, createDbxFirebaseAppCheck, createDbxFirebaseAuth, createDbxFirebaseFirestore, createDbxFirebaseFunctions, createDbxFirebaseStorage, dbxFirebaseAuthContextInfo, dbxFirebaseCollectionChangeTrigger, dbxFirebaseCollectionChangeTriggerForStore, dbxFirebaseCollectionChangeTriggerForWatcher, dbxFirebaseCollectionChangeWatcher, dbxFirebaseCollectionLoaderInstance, dbxFirebaseCollectionLoaderInstanceWithCollection, dbxFirebaseDocumentLoaderInstance, dbxFirebaseDocumentLoaderInstanceWithAccessor, dbxFirebaseDocumentStoreContextModelEntitiesSourceFactory, dbxFirebaseExternalConnectionLinkedLoginMethodTypes, dbxFirebaseExternalConnectionLoginProvider, dbxFirebaseExternalConnectionLoginProviders, dbxFirebaseExternalConnectionProviderForEntry, dbxFirebaseExternalConnectionRowStatusForEntry, dbxFirebaseExternalConnectionRows, dbxFirebaseFormSpaceListItemStatus, dbxFirebaseFormSpaceSectionBlockerHint, dbxFirebaseFormSpaceSubmitIncompleteHint, dbxFirebaseIdRouteParamRedirect, dbxFirebaseInContextFirebaseModelServiceInstance, dbxFirebaseInContextFirebaseModelServiceInstanceFactory, dbxFirebaseKeyRouteParamRedirect, dbxFirebaseKnownExternalConnectionProvider, dbxFirebaseModelContextServiceInfoInstanceFactory, dbxFirebaseModelEntityWidgetInjectionConfigFactory, dbxFirebaseModelTypesServiceInstance, dbxFirebaseModelTypesServiceInstancePairForKeysFactory, dbxFirebaseSourceSelectLoadSource, dbxFirebaseStorageFileDownloadServiceCustomSourceFromObs, dbxFirebaseStorageFileImageCompressionFileModifier, dbxFirebaseStorageProvidersContextConfigFactory, dbxLimitedFirebaseDocumentLoaderInstance, dbxLimitedFirebaseDocumentLoaderInstanceWithAccessor, dbxWidgetTypeForNotificationTemplateType, defaultDbxFirebaseAuthServiceDelegateWithClaimsService, defaultDbxFirebaseStorageFileDownloadStorageAccessorFactory, developmentFirebaseServerSchedulerWidgetEntry, enableAppCheckDebugTokenGeneration, externalConnectionLoginsLoadingStateFromDocumentLoadingState, externalConnectionMapLoadingStateFromDocumentLoadingState, externalConnectionsLoadingStateFromDocumentLoadingState, firebaseAuthState, firebaseAuthTokenFromUser, firebaseCollectionStoreCreateFunction, firebaseCollectionStoreCrudFunction, firebaseContextServiceEntityMap, firebaseDocumentStoreCreateFunction, firebaseDocumentStoreCrudFunction, firebaseDocumentStoreDeleteFunction, firebaseDocumentStoreInvokeFunction, firebaseDocumentStoreReadFunction, firebaseDocumentStoreUpdateFunction, firebaseIdToken, firebaseProviderIdToLoginMethodType, isDbxFirebaseModelEntityWithStore, isStandaloneWebApp, keyForDbxFirebaseFormSpaceListValue, keyForDbxFirebaseStorageFileListEntry, limitRawFilesForState, linkDocumentStoreToParentContextStores, loginMethodTypeToFirebaseProviderId, maxUploadFilesForState, mergeDbxFirebaseLinkedLoginMethodTypes, modelDoesNotExistError, navigateAndWaitForPageToLeave, notificationHealthCheckProbeIssueLabel, parseDbxFirebaseEmulatorsConfig, provideCalendarFirestoreCollections, provideDbxFirebase, provideDbxFirebaseAnalyticsUserEventsListenerService, provideDbxFirebaseApp, provideDbxFirebaseAuth, provideDbxFirebaseAuthImpersonation, provideDbxFirebaseCollectionStoreDirective, provideDbxFirebaseCollectionWithParentStoreDirective, provideDbxFirebaseDevelopment, provideDbxFirebaseDocumentStoreContextStore, provideDbxFirebaseDocumentStoreDirective, provideDbxFirebaseDocumentStoreTwoWayKeyProvider, provideDbxFirebaseExternalConnections, provideDbxFirebaseFormSpaceTypeConfigService, provideDbxFirebaseFunctions, provideDbxFirebaseLogin, provideDbxFirebaseModelContextService, provideDbxFirebaseModelEntitiesWidgetService, provideDbxFirebaseNotifications, provideDbxFirebaseStorageFileService, provideDbxFirestoreCollection, provideFormSpaceFirestoreCollections, provideNotificationFirestoreCollections, provideStorageFileFirestoreCollections, provideSystemStateFirestoreCollections, providedDbxFirebaseStorage, readDbxAnalyticsUserPropertiesFromAuthUserInfo, readExternalConnectionSignInFailureFromUrl, readExternalConnectionSignInTicketFromUrl, readValueFromIdToken, resolveDbxFirebaseAuthFlow, setParentStoreEffect, shouldCreateUserExternalConnectionForDocumentLoadingState, stateFromTokenForLoggedInUserFunction, storageFileUploadFiles, storageFileUploadHandler };
|
|
14211
|
+
export { AbstractConfiguredDbxFirebaseLoginButtonDirective, AbstractDbxFirebaseCollectionStore, AbstractDbxFirebaseCollectionWithParentStore, AbstractDbxFirebaseDocumentStore, AbstractDbxFirebaseDocumentWithParentStore, AbstractDbxFirebaseModelEntityWidgetDirective, AbstractDbxFirebaseNotificationItemWidgetComponent, AbstractRootSingleItemDbxFirebaseDocument, AbstractSingleItemDbxFirebaseDocument, AbstractSystemStateDocumentStoreAccessor, CalendarDocumentStore, CalendarDocumentStoreDirective, DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION, DBX_FIREBASE_APP_OPTIONS_TOKEN, DBX_FIREBASE_AUTH_FLOW_TOKEN, DBX_FIREBASE_DOCUMENT_STORE_CONTEXT_STORE_TOKEN, DBX_FIREBASE_EXTERNAL_CONNECTION_CALCOM_PROVIDER, DBX_FIREBASE_EXTERNAL_CONNECTION_DISCORD_PROVIDER, DBX_FIREBASE_EXTERNAL_CONNECTION_LOGIN_CATEGORY, DBX_FIREBASE_EXTERNAL_CONNECTION_ZOHO_PROVIDER, DBX_FIREBASE_EXTERNAL_CONNECTION_ZOOM_PROVIDER, DBX_FIREBASE_KNOWN_EXTERNAL_CONNECTION_PROVIDERS, DBX_FIREBASE_LINKED_LOGIN_METHODS_SOURCES_TOKEN, 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_FIREBASE_STORAGE_PDF_MERGE_UPLOAD_FILE_NAME, DBX_FIRESTORE_CONTEXT_TOKEN, DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE, DEFAULT_DBX_FIREBASE_ANALYTICS_USER_PROPERTIES_FACTORY, DEFAULT_DBX_FIREBASE_AUTH_FLOW, DEFAULT_DBX_FIREBASE_AUTH_SERVICE_DELEGATE, DEFAULT_DBX_FIREBASE_FORM_SPACE_STEP_BLOCK_COLOR, DEFAULT_DBX_FIREBASE_FORM_SPACE_STEP_BLOCK_COMPLETE_COLOR, DEFAULT_DBX_FIREBASE_FORM_SPACE_STEP_BLOCK_COMPLETE_ICON, DEFAULT_DBX_FIREBASE_FORM_SPACE_SUBMIT_INCOMPLETE_HINT, DEFAULT_DBX_FIREBASE_ID_ROUTER_PARAM_ID_PARAM_KEY, DEFAULT_DBX_FIREBASE_ID_ROUTER_PARAM_KEY_PARAM_KEY, DEFAULT_DBX_FIREBASE_ID_ROUTER_PARAM_USE_PARAM_VALUE, DEFAULT_DBX_FIREBASE_LOGIN_PREFILL_EMAIL_PARAM, DEFAULT_DBX_FIREBASE_LOGIN_PREFILL_PASSWORD_PARAM, 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_DBX_FIREBASE_PASSWORD_RESET_OOB_CODE_HINT, DEFAULT_DBX_FIREBASE_PASSWORD_RESET_OOB_CODE_PATTERN, DEFAULT_DBX_FIREBASE_PASSWORD_RESET_OOB_CODE_PLACEHOLDER, DEFAULT_DBX_FIREBASE_STORAGE_FILE_LIST_REMOVE_CONFIRM_CONFIG, DEFAULT_EXTERNAL_CONNECTION_AUTHORIZE_PATH_FACTORY, DEFAULT_EXTERNAL_CONNECTION_NAVIGATE_FUNCTION, DEFAULT_EXTERNAL_CONNECTION_NAVIGATE_TIMEOUT, DEFAULT_EXTERNAL_CONNECTION_SIGN_IN_PATH_FACTORY, DEFAULT_EXTERNAL_CONNECTION_TOKEN_PATH_FACTORY, DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG, DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG_TOKEN, DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_RESET_ANCHOR_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, DEFAULT_NOTIFICATION_HEALTH_CHECK_PRESENTATION_ENTRIES, DEFAULT_NOTIFICATION_HEALTH_CHECK_PROBE_WATCH_MINUTES, DEVELOPMENT_FIREBASE_SERVER_SCHEDULER_WIDGET_KEY, DbxFirebaseAnalyticsUserEventsListenerService, DbxFirebaseAnalyticsUserSource, DbxFirebaseAppCheckHttpInterceptor, DbxFirebaseAuthImpersonationDelegate, DbxFirebaseAuthLoginService, DbxFirebaseAuthService, DbxFirebaseAuthServiceDelegate, DbxFirebaseCalendarIcsRotateButtonComponent, DbxFirebaseCalendarIcsRotateComponent, DbxFirebaseCalendarSubscribeDialogComponent, 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, DbxFirebaseExternalConnectionLinkedLoginMethodsSource, DbxFirebaseExternalConnectionListComponent, DbxFirebaseExternalConnectionListViewComponent, DbxFirebaseExternalConnectionListViewItemComponent, DbxFirebaseExternalConnectionService, DbxFirebaseExternalConnectionsComponent, DbxFirebaseExternalConnectionsConfig, DbxFirebaseFormSpaceCollectionStoreDirective, DbxFirebaseFormSpaceDocumentStoreDirective, DbxFirebaseFormSpaceListComponent, DbxFirebaseFormSpaceListViewComponent, DbxFirebaseFormSpaceListViewItemComponent, DbxFirebaseFormSpaceModule, DbxFirebaseFormSpaceSectionComponent, DbxFirebaseFormSpaceSlotUploadComponent, DbxFirebaseFormSpaceSlotUploadDirective, DbxFirebaseFormSpaceStepBlockComponent, DbxFirebaseFormSpaceSubmitButtonComponent, DbxFirebaseFormSpaceUploadInitializeDocumentsDirective, DbxFirebaseLinkedLoginMethodsService, DbxFirebaseLinkedLoginMethodsSource, DbxFirebaseLoginAnonymousComponent, DbxFirebaseLoginAppleComponent, DbxFirebaseLoginButtonComponent, DbxFirebaseLoginButtonContainerComponent, DbxFirebaseLoginComponent, DbxFirebaseLoginContext, DbxFirebaseLoginContextBackButtonComponent, DbxFirebaseLoginContextDirective, DbxFirebaseLoginEmailComponent, DbxFirebaseLoginEmailContentComponent, DbxFirebaseLoginExternalConnectionComponent, DbxFirebaseLoginFacebookComponent, DbxFirebaseLoginGitHubComponent, DbxFirebaseLoginGoogleComponent, DbxFirebaseLoginListComponent, DbxFirebaseLoginMicrosoftComponent, DbxFirebaseLoginPrefillDirective, DbxFirebaseLoginPrefillStore, 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, DbxFirebaseNotificationHealthCheckComponent, DbxFirebaseNotificationHealthCheckConfig, DbxFirebaseNotificationHealthCheckDialogButtonComponent, DbxFirebaseNotificationHealthCheckDialogComponent, DbxFirebaseNotificationHealthCheckIssueComponent, DbxFirebaseNotificationHealthCheckMethodComponent, DbxFirebaseNotificationHealthCheckPresentationService, DbxFirebaseNotificationHealthCheckPresentationServiceConfig, DbxFirebaseNotificationHealthCheckViewComponent, DbxFirebaseNotificationItemContentComponent, DbxFirebaseNotificationItemDefaultViewComponent, DbxFirebaseNotificationItemListComponent, DbxFirebaseNotificationItemListViewComponent, DbxFirebaseNotificationItemListViewItemComponent, DbxFirebaseNotificationItemStore, DbxFirebaseNotificationItemStorePopoverButtonComponent, DbxFirebaseNotificationItemStorePopoverComponent, DbxFirebaseNotificationItemViewComponent, DbxFirebaseNotificationItemWidgetService, DbxFirebaseNotificationSummaryCollectionStoreDirective, DbxFirebaseNotificationSummaryDocumentStoreDirective, DbxFirebaseNotificationTemplateService, DbxFirebaseNotificationUserCollectionStoreDirective, DbxFirebaseNotificationUserDocumentStoreDirective, DbxFirebaseNotificationUserHealthCheckStore, DbxFirebaseParsedEmulatorsConfig, DbxFirebasePasswordResetComponent, DbxFirebasePasswordResetFormComponent, DbxFirebaseRegisterComponent, DbxFirebaseRegisterEmailComponent, DbxFirebaseStorageFileCollectionStoreDirective, DbxFirebaseStorageFileDocumentStoreDirective, DbxFirebaseStorageFileDownloadButtonComponent, DbxFirebaseStorageFileDownloadService, DbxFirebaseStorageFileDownloadStorage, DbxFirebaseStorageFileGroupDocumentStoreDirective, DbxFirebaseStorageFileListComponent, DbxFirebaseStorageFileListViewComponent, DbxFirebaseStorageFileListViewItemComponent, DbxFirebaseStorageFileUploadActionHandlerDirective, DbxFirebaseStorageFileUploadInitializeDocumentDirective, DbxFirebaseStorageFileUploadModule, DbxFirebaseStorageFileUploadStore, DbxFirebaseStorageFileUploadStoreDirective, DbxFirebaseStorageFileUploadSyncDirective, DbxFirebaseStoragePdfMergeUploadSyncDirective, DbxFirebaseStorageService, DbxFirebaseSystemStateCollectionStoreDirective, DbxFirebaseSystemStateDocumentStoreDirective, DbxFirebaseUserExternalConnectionCollections, DbxFirebaseUserExternalConnectionDocumentStoreDirective, DbxFirebaseUserExternalConnectionsStore, DbxFirestoreContextService, DbxLimitedFirebaseDocumentLoaderInstance, EXTERNAL_CONNECTION_SIGN_IN_ERROR_PARAM, EXTERNAL_CONNECTION_SIGN_IN_TICKET_PARAM, EXTERNAL_CONNECTION_SIGN_IN_VERIFIER_STORAGE_KEY, 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, FormSpaceCollectionStore, FormSpaceDocumentStore, IMPORTS_AND_EXPORTS$1 as IMPORTS_AND_EXPORTS, LOGIN_METHOD_TYPE_TO_FIREBASE_PROVIDER_ID_MAP, NOTIFICATION_DELIVERY_METHOD_ICONS, NOTIFICATION_DELIVERY_METHOD_LABELS, NOTIFICATION_DELIVERY_METHOD_SHORT_LABELS, NOTIFICATION_DELIVERY_METHOD_TEST_MESSAGE_LABELS, NOTIFICATION_DELIVERY_METHOD_TEST_MESSAGE_NOUNS, NOTIFICATION_HEALTH_CHECK_PROBE_ISSUE_OUTCOMES, NOTIFICATION_HEALTH_CHECK_STATUS_COLORS, NOTIFICATION_HEALTH_CHECK_STATUS_ICONS, NOTIFICATION_HEALTH_CHECK_STATUS_LABELS, NotificationBoxCollectionStore, NotificationBoxDocumentStore, NotificationCollectionStore, NotificationDocumentStore, NotificationSummaryCollectionStore, NotificationSummaryDocumentStore, NotificationUserCollectionStore, NotificationUserDocumentStore, OAUTH_FIREBASE_LOGIN_METHOD_CATEGORY, StorageFileCollectionStore, StorageFileDocumentStore, StorageFileGroupDocumentStore, StorageFileUploadFilesError, SystemStateCollectionStore, SystemStateDocumentStore, TwoWayFlatFirestoreModelKeyPipe, UserExternalConnectionDocumentStore, authRolesObsWithClaimsService, authUserInfoFromAuthUser, authUserStateFromFirebaseAuthServiceFunction, createDbxFirebaseAppCheck, createDbxFirebaseAuth, createDbxFirebaseFirestore, createDbxFirebaseFunctions, createDbxFirebaseStorage, dbxFirebaseAuthContextInfo, dbxFirebaseCollectionChangeTrigger, dbxFirebaseCollectionChangeTriggerForStore, dbxFirebaseCollectionChangeTriggerForWatcher, dbxFirebaseCollectionChangeWatcher, dbxFirebaseCollectionLoaderInstance, dbxFirebaseCollectionLoaderInstanceWithCollection, dbxFirebaseDocumentLoaderInstance, dbxFirebaseDocumentLoaderInstanceWithAccessor, dbxFirebaseDocumentStoreContextModelEntitiesSourceFactory, dbxFirebaseExternalConnectionLinkedLoginMethodTypes, dbxFirebaseExternalConnectionLoginProvider, dbxFirebaseExternalConnectionLoginProviders, dbxFirebaseExternalConnectionProviderForEntry, dbxFirebaseExternalConnectionRowStatusForEntry, dbxFirebaseExternalConnectionRows, dbxFirebaseFormSpaceListItemStatus, dbxFirebaseFormSpaceSectionBlockerHint, dbxFirebaseFormSpaceSubmitIncompleteHint, dbxFirebaseIdRouteParamRedirect, dbxFirebaseInContextFirebaseModelServiceInstance, dbxFirebaseInContextFirebaseModelServiceInstanceFactory, dbxFirebaseKeyRouteParamRedirect, dbxFirebaseKnownExternalConnectionProvider, dbxFirebaseModelContextServiceInfoInstanceFactory, dbxFirebaseModelEntityWidgetInjectionConfigFactory, dbxFirebaseModelTypesServiceInstance, dbxFirebaseModelTypesServiceInstancePairForKeysFactory, dbxFirebaseSourceSelectLoadSource, dbxFirebaseStorageFileDownloadServiceCustomSourceFromObs, dbxFirebaseStorageFileImageCompressionFileModifier, dbxFirebaseStorageProvidersContextConfigFactory, dbxLimitedFirebaseDocumentLoaderInstance, dbxLimitedFirebaseDocumentLoaderInstanceWithAccessor, dbxWidgetTypeForNotificationTemplateType, defaultDbxFirebaseAuthServiceDelegateWithClaimsService, defaultDbxFirebaseStorageFileDownloadStorageAccessorFactory, developmentFirebaseServerSchedulerWidgetEntry, enableAppCheckDebugTokenGeneration, externalConnectionLoginsLoadingStateFromDocumentLoadingState, externalConnectionMapLoadingStateFromDocumentLoadingState, externalConnectionsLoadingStateFromDocumentLoadingState, firebaseAuthState, firebaseAuthTokenFromUser, firebaseCollectionStoreCreateFunction, firebaseCollectionStoreCrudFunction, firebaseContextServiceEntityMap, firebaseDocumentStoreCreateFunction, firebaseDocumentStoreCrudFunction, firebaseDocumentStoreDeleteFunction, firebaseDocumentStoreInvokeFunction, firebaseDocumentStoreReadFunction, firebaseDocumentStoreUpdateFunction, firebaseIdToken, firebaseProviderIdToLoginMethodType, isDbxFirebaseModelEntityWithStore, isStandaloneWebApp, keyForDbxFirebaseFormSpaceListValue, keyForDbxFirebaseStorageFileListEntry, limitRawFilesForState, linkDocumentStoreToParentContextStores, loginMethodTypeToFirebaseProviderId, maxUploadFilesForState, mergeDbxFirebaseLinkedLoginMethodTypes, modelDoesNotExistError, navigateAndWaitForPageToLeave, notificationHealthCheckProbeIssueLabel, parseDbxFirebaseEmulatorsConfig, provideCalendarFirestoreCollections, provideDbxFirebase, provideDbxFirebaseAnalyticsUserEventsListenerService, provideDbxFirebaseApp, provideDbxFirebaseAuth, provideDbxFirebaseAuthImpersonation, provideDbxFirebaseCollectionStoreDirective, provideDbxFirebaseCollectionWithParentStoreDirective, provideDbxFirebaseDevelopment, provideDbxFirebaseDocumentStoreContextStore, provideDbxFirebaseDocumentStoreDirective, provideDbxFirebaseDocumentStoreTwoWayKeyProvider, provideDbxFirebaseExternalConnections, provideDbxFirebaseFormSpaceTypeConfigService, provideDbxFirebaseFunctions, provideDbxFirebaseLogin, provideDbxFirebaseLoginPrefill, provideDbxFirebaseModelContextService, provideDbxFirebaseModelEntitiesWidgetService, provideDbxFirebaseNotifications, provideDbxFirebaseStorageFileService, provideDbxFirestoreCollection, provideFormSpaceFirestoreCollections, provideNotificationFirestoreCollections, provideStorageFileFirestoreCollections, provideSystemStateFirestoreCollections, providedDbxFirebaseStorage, readDbxAnalyticsUserPropertiesFromAuthUserInfo, readExternalConnectionSignInFailureFromUrl, readExternalConnectionSignInTicketFromUrl, readValueFromIdToken, resolveDbxFirebaseAuthFlow, setParentStoreEffect, shouldCreateUserExternalConnectionForDocumentLoadingState, stateFromTokenForLoggedInUserFunction, storageFileUploadFiles, storageFileUploadHandler };
|
|
13983
14212
|
//# sourceMappingURL=dereekb-dbx-firebase.mjs.map
|