@dereekb/dbx-core 13.2.2 → 13.3.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.
|
@@ -8,7 +8,7 @@ import { ComponentStore } from '@ngrx/component-store';
|
|
|
8
8
|
import { Actions, ofType, createEffect, provideEffects } from '@ngrx/effects';
|
|
9
9
|
import { createAction, props, createReducer, on, combineReducers, createFeatureSelector, createSelector, Store, provideState } from '@ngrx/store';
|
|
10
10
|
import { Router, ActivatedRoute, NavigationStart, NavigationEnd } from '@angular/router';
|
|
11
|
-
import { StateService, TransitionService, UIRouterGlobals } from '@uirouter/core';
|
|
11
|
+
import { UIRouter, StateService, TransitionService, UIRouterGlobals } from '@uirouter/core';
|
|
12
12
|
import { formatToDayRangeString, toJsDate, formatDateDistance, formatToTimeString, formatToDayTimeRangeString, formatToTimeRangeString, dateTimezoneUtcNormal, formatDateRangeDistance, getTimezoneAbbreviation } from '@dereekb/date';
|
|
13
13
|
import { isValid, formatDistanceToNow, addMinutes, isPast, formatDistance } from 'date-fns';
|
|
14
14
|
import { formatDate } from '@angular/common';
|
|
@@ -1320,7 +1320,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
1320
1320
|
}], ctorParameters: () => [] });
|
|
1321
1321
|
|
|
1322
1322
|
/**
|
|
1323
|
-
*
|
|
1323
|
+
* Creates Angular DI providers for an {@link ActionContextStoreSource} and its associated {@link DbxActionContextStoreSourceInstance}.
|
|
1324
|
+
*
|
|
1325
|
+
* When `sourceType` is provided, the existing class is registered as the source. When `null`,
|
|
1326
|
+
* a standalone {@link DbxActionContextMachineAsService} is created as the default implementation.
|
|
1327
|
+
*
|
|
1328
|
+
* @param sourceType - The concrete source class to register, or `null` to use the default machine-based implementation
|
|
1329
|
+
* @returns An array of Angular providers
|
|
1330
|
+
*
|
|
1331
|
+
* @example
|
|
1332
|
+
* ```typescript
|
|
1333
|
+
* @Directive({
|
|
1334
|
+
* selector: '[myAction]',
|
|
1335
|
+
* providers: provideActionStoreSource(MyActionDirective),
|
|
1336
|
+
* })
|
|
1337
|
+
* export class MyActionDirective extends ActionContextStoreSource { ... }
|
|
1338
|
+
* ```
|
|
1324
1339
|
*/
|
|
1325
1340
|
function provideActionStoreSource(sourceType) {
|
|
1326
1341
|
const storeSourceProvider = sourceType != null
|
|
@@ -1341,6 +1356,13 @@ function provideActionStoreSource(sourceType) {
|
|
|
1341
1356
|
}
|
|
1342
1357
|
];
|
|
1343
1358
|
}
|
|
1359
|
+
/**
|
|
1360
|
+
* Creates Angular DI providers for a {@link SecondaryActionContextStoreSource} along with
|
|
1361
|
+
* the standard {@link ActionContextStoreSource} and {@link DbxActionContextStoreSourceInstance} providers.
|
|
1362
|
+
*
|
|
1363
|
+
* @param sourceType - The concrete secondary source class to register
|
|
1364
|
+
* @returns An array of Angular providers
|
|
1365
|
+
*/
|
|
1344
1366
|
function provideSecondaryActionStoreSource(sourceType) {
|
|
1345
1367
|
return [
|
|
1346
1368
|
{
|
|
@@ -3291,10 +3313,14 @@ const DBX_ONBOARD_APP_CONTEXT_STATE = 'onboard';
|
|
|
3291
3313
|
* The app state of an app, typically when a user has completed auth and onboarding.
|
|
3292
3314
|
*/
|
|
3293
3315
|
const DBX_APP_APP_CONTEXT_STATE = 'app';
|
|
3316
|
+
/**
|
|
3317
|
+
* The oauth state of an app, typically when a user is validating an oauth request.
|
|
3318
|
+
*/
|
|
3319
|
+
const DBX_OAUTH_APP_CONTEXT_STATE = 'oauth';
|
|
3294
3320
|
/**
|
|
3295
3321
|
* Array of all DbxKnownAppContextState values, minus the init state.
|
|
3296
3322
|
*/
|
|
3297
|
-
const DBX_KNOWN_APP_CONTEXT_STATES = [DBX_PUBLIC_APP_CONTEXT_STATE, DBX_AUTH_APP_CONTEXT_STATE, DBX_ONBOARD_APP_CONTEXT_STATE, DBX_APP_APP_CONTEXT_STATE];
|
|
3323
|
+
const DBX_KNOWN_APP_CONTEXT_STATES = [DBX_PUBLIC_APP_CONTEXT_STATE, DBX_AUTH_APP_CONTEXT_STATE, DBX_ONBOARD_APP_CONTEXT_STATE, DBX_APP_APP_CONTEXT_STATE, DBX_OAUTH_APP_CONTEXT_STATE];
|
|
3298
3324
|
|
|
3299
3325
|
/**
|
|
3300
3326
|
* Action to set the current DbxAppContextState value.
|
|
@@ -3673,6 +3699,9 @@ class DbxAppAuthRoutes {
|
|
|
3673
3699
|
* It also manages an `isAuthRouterEffectsEnabled` flag that controls whether
|
|
3674
3700
|
* {@link DbxAppAuthRouterEffects} should perform automatic navigation on auth events.
|
|
3675
3701
|
*
|
|
3702
|
+
* Routes can be added to the ignored set via {@link addIgnoredRoute} to prevent
|
|
3703
|
+
* auth effects from redirecting away from those routes (e.g., OAuth interaction pages).
|
|
3704
|
+
*
|
|
3676
3705
|
* @example
|
|
3677
3706
|
* ```ts
|
|
3678
3707
|
* @Component({ ... })
|
|
@@ -3692,10 +3721,27 @@ class DbxAppAuthRouterService {
|
|
|
3692
3721
|
dbxRouterService = inject(DbxRouterService);
|
|
3693
3722
|
dbxAppAuthRoutes = inject(DbxAppAuthRoutes);
|
|
3694
3723
|
_isAuthRouterEffectsEnabled = new BehaviorSubject(true);
|
|
3724
|
+
_ignoredRoutes = new BehaviorSubject(new Set());
|
|
3695
3725
|
/** Observable of whether auth router effects are currently enabled. */
|
|
3696
3726
|
isAuthRouterEffectsEnabled$ = this._isAuthRouterEffectsEnabled.asObservable();
|
|
3727
|
+
/** Observable of the set of route refs that are excluded from auth redirect effects. */
|
|
3728
|
+
ignoredRoutes$ = this._ignoredRoutes.asObservable();
|
|
3729
|
+
/**
|
|
3730
|
+
* Observable that emits `true` when the current route is in the ignored set.
|
|
3731
|
+
*
|
|
3732
|
+
* Combines the ignored route refs with router transition events to re-evaluate
|
|
3733
|
+
* whenever the route or the ignored set changes.
|
|
3734
|
+
*/
|
|
3735
|
+
isCurrentRouteIgnoredByAuthEffects$ = combineLatest([this._ignoredRoutes, this.dbxRouterService.transitions$.pipe(startWith(undefined))]).pipe(map(([ignoredRefs]) => this._checkCurrentRouteIgnored(ignoredRefs)), distinctUntilChanged());
|
|
3736
|
+
/**
|
|
3737
|
+
* Observable that emits `true` when auth router effects should be active for the current route.
|
|
3738
|
+
*
|
|
3739
|
+
* Combines the enabled flag and the ignored route check.
|
|
3740
|
+
*/
|
|
3741
|
+
shouldAuthEffectsRedirect$ = combineLatest([this.isAuthRouterEffectsEnabled$, this.isCurrentRouteIgnoredByAuthEffects$]).pipe(map(([enabled, ignored]) => enabled && !ignored), distinctUntilChanged());
|
|
3697
3742
|
ngOnDestroy() {
|
|
3698
3743
|
this._isAuthRouterEffectsEnabled.complete();
|
|
3744
|
+
this._ignoredRoutes.complete();
|
|
3699
3745
|
}
|
|
3700
3746
|
get hasOnboardingState() {
|
|
3701
3747
|
return Boolean(this.dbxAppAuthRoutes.onboardRef);
|
|
@@ -3710,6 +3756,43 @@ class DbxAppAuthRouterService {
|
|
|
3710
3756
|
set isAuthRouterEffectsEnabled(enabled) {
|
|
3711
3757
|
this._isAuthRouterEffectsEnabled.next(enabled);
|
|
3712
3758
|
}
|
|
3759
|
+
// MARK: Ignored Routes
|
|
3760
|
+
/**
|
|
3761
|
+
* Adds a route to the ignored set. Auth effects will not redirect
|
|
3762
|
+
* when the user is on a route that matches any ignored route.
|
|
3763
|
+
*
|
|
3764
|
+
* Uses hierarchical matching — adding a parent route (e.g., `'/app/oauth'`)
|
|
3765
|
+
* will also ignore all child routes (e.g., `'/app/oauth/login'`).
|
|
3766
|
+
*/
|
|
3767
|
+
addIgnoredRoute(ref) {
|
|
3768
|
+
const current = this._ignoredRoutes.value;
|
|
3769
|
+
const next = new Set(current);
|
|
3770
|
+
next.add(ref);
|
|
3771
|
+
this._ignoredRoutes.next(next);
|
|
3772
|
+
}
|
|
3773
|
+
/**
|
|
3774
|
+
* Removes a route from the ignored set.
|
|
3775
|
+
*/
|
|
3776
|
+
removeIgnoredRoute(ref) {
|
|
3777
|
+
const current = this._ignoredRoutes.value;
|
|
3778
|
+
const next = new Set(current);
|
|
3779
|
+
next.delete(ref);
|
|
3780
|
+
this._ignoredRoutes.next(next);
|
|
3781
|
+
}
|
|
3782
|
+
/**
|
|
3783
|
+
* Returns `true` if the current route matches any of the ignored routes.
|
|
3784
|
+
*/
|
|
3785
|
+
get isCurrentRouteIgnoredByAuthEffects() {
|
|
3786
|
+
return this._checkCurrentRouteIgnored(this._ignoredRoutes.value);
|
|
3787
|
+
}
|
|
3788
|
+
_checkCurrentRouteIgnored(ignoredRefs) {
|
|
3789
|
+
for (const ref of ignoredRefs) {
|
|
3790
|
+
if (this.dbxRouterService.isActive(ref)) {
|
|
3791
|
+
return true;
|
|
3792
|
+
}
|
|
3793
|
+
}
|
|
3794
|
+
return false;
|
|
3795
|
+
}
|
|
3713
3796
|
// MARK: Navigate
|
|
3714
3797
|
/**
|
|
3715
3798
|
* Navigates to the login state.
|
|
@@ -3774,6 +3857,7 @@ const DBX_APP_AUTH_ROUTER_EFFECTS_TOKEN = new InjectionToken('DbxAppAuthRouterEf
|
|
|
3774
3857
|
* Navigation only occurs when:
|
|
3775
3858
|
* 1. The app is in one of the configured active context states (see {@link DBX_APP_AUTH_ROUTER_EFFECTS_TOKEN}).
|
|
3776
3859
|
* 2. The {@link DbxAppAuthRouterService.isAuthRouterEffectsEnabled} flag is `true`.
|
|
3860
|
+
* 3. The current route is not in the ignored routes set (see {@link DbxAppAuthRouterService.addIgnoredRoute}).
|
|
3777
3861
|
*
|
|
3778
3862
|
* Extends {@link AbstractOnDbxAppContextStateEffects} to scope effect activation to specific app states.
|
|
3779
3863
|
*
|
|
@@ -3788,11 +3872,11 @@ class DbxAppAuthRouterEffects extends AbstractOnDbxAppContextStateEffects {
|
|
|
3788
3872
|
/**
|
|
3789
3873
|
* Effect to redirect to the login when logout occurs.
|
|
3790
3874
|
*/
|
|
3791
|
-
redirectToLoginOnLogout = createEffect(() => this.actions$.pipe(ofType(loggedOut),
|
|
3875
|
+
redirectToLoginOnLogout = createEffect(() => this.actions$.pipe(ofType(loggedOut), switchMap(() => this.dbxAppAuthRouterService.shouldAuthEffectsRedirect$.pipe(first())), filter((shouldRedirect) => shouldRedirect), exhaustMap(() => this.dbxAppAuthRouterService.goToLogin())), { dispatch: false });
|
|
3792
3876
|
/**
|
|
3793
3877
|
* Effect to redirect to the app when login occurs.
|
|
3794
3878
|
*/
|
|
3795
|
-
redirectToOnboardOnLogIn = createEffect(() => this.actions$.pipe(ofType(loggedIn),
|
|
3879
|
+
redirectToOnboardOnLogIn = createEffect(() => this.actions$.pipe(ofType(loggedIn), switchMap(() => this.dbxAppAuthRouterService.shouldAuthEffectsRedirect$.pipe(first())), filter((shouldRedirect) => shouldRedirect), exhaustMap(() => this.dbxAppAuthRouterService.goToApp())), { dispatch: false });
|
|
3796
3880
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppAuthRouterEffects, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3797
3881
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppAuthRouterEffects });
|
|
3798
3882
|
}
|
|
@@ -5220,6 +5304,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
5220
5304
|
* @see {@link DbxAngularRouterService} for the Angular Router alternative
|
|
5221
5305
|
*/
|
|
5222
5306
|
class DbxUIRouterService {
|
|
5307
|
+
uiRouter = inject(UIRouter);
|
|
5223
5308
|
state = inject(StateService);
|
|
5224
5309
|
transitionService = inject(TransitionService);
|
|
5225
5310
|
uiRouterGlobals = inject(UIRouterGlobals);
|
|
@@ -5292,6 +5377,16 @@ class DbxUIRouterService {
|
|
|
5292
5377
|
const segueRef = asSegueRef(input);
|
|
5293
5378
|
const ref = segueRef.ref;
|
|
5294
5379
|
const refParams = segueRef.refParams;
|
|
5380
|
+
// Slash paths (e.g., '/demo/oauth') are compared against the current URL path
|
|
5381
|
+
if (ref.startsWith('/')) {
|
|
5382
|
+
const currentPath = this.uiRouter.urlService.path();
|
|
5383
|
+
if (exactly) {
|
|
5384
|
+
return currentPath === ref;
|
|
5385
|
+
}
|
|
5386
|
+
else {
|
|
5387
|
+
return currentPath === ref || currentPath.startsWith(ref + '/');
|
|
5388
|
+
}
|
|
5389
|
+
}
|
|
5295
5390
|
const targetRef = ref.startsWith('.') ? `^${ref}` : ref;
|
|
5296
5391
|
const active = exactly ? this.state.is(targetRef, refParams) : this.state.includes(targetRef, refParams);
|
|
5297
5392
|
return active;
|
|
@@ -5936,6 +6031,9 @@ class DbxRouteModelIdDirective {
|
|
|
5936
6031
|
set idParam(idParam) {
|
|
5937
6032
|
this._redirectInstance.setParamKey(idParam);
|
|
5938
6033
|
}
|
|
6034
|
+
/**
|
|
6035
|
+
* Default model identifier value to use when the route parameter matches the placeholder or is absent.
|
|
6036
|
+
*/
|
|
5939
6037
|
set dbxRouteModelIdDefault(defaultValue) {
|
|
5940
6038
|
this._redirectInstance.setDefaultValue(defaultValue);
|
|
5941
6039
|
}
|
|
@@ -5945,6 +6043,9 @@ class DbxRouteModelIdDirective {
|
|
|
5945
6043
|
set dbxRouteModelIdDefaultRedirect(redirect) {
|
|
5946
6044
|
this._redirectInstance.setRedirectEnabled(redirect !== false); // true by default
|
|
5947
6045
|
}
|
|
6046
|
+
/**
|
|
6047
|
+
* Custom decision function or placeholder string value that determines when to use the default value instead of the route parameter.
|
|
6048
|
+
*/
|
|
5948
6049
|
set dbxRouteModelIdDefaultDecision(decider) {
|
|
5949
6050
|
this._redirectInstance.setDecider(decider);
|
|
5950
6051
|
}
|
|
@@ -6007,6 +6108,9 @@ class DbxRouteModelKeyDirective {
|
|
|
6007
6108
|
set keyParam(idParam) {
|
|
6008
6109
|
this._redirectInstance.setParamKey(idParam);
|
|
6009
6110
|
}
|
|
6111
|
+
/**
|
|
6112
|
+
* Default model key value to use when the route parameter matches the placeholder or is absent.
|
|
6113
|
+
*/
|
|
6010
6114
|
set dbxRouteModelKeyDefault(defaultValue) {
|
|
6011
6115
|
this._redirectInstance.setDefaultValue(defaultValue);
|
|
6012
6116
|
}
|
|
@@ -6016,6 +6120,9 @@ class DbxRouteModelKeyDirective {
|
|
|
6016
6120
|
set dbxRouteModelKeyDefaultRedirect(redirect) {
|
|
6017
6121
|
this._redirectInstance.setRedirectEnabled(redirect !== false); // true by default
|
|
6018
6122
|
}
|
|
6123
|
+
/**
|
|
6124
|
+
* Custom decision function or placeholder string value that determines when to use the default value instead of the route parameter.
|
|
6125
|
+
*/
|
|
6019
6126
|
set dbxRouteModelKeyDefaultDecision(decider) {
|
|
6020
6127
|
this._redirectInstance.setDecider(decider);
|
|
6021
6128
|
}
|
|
@@ -8600,5 +8707,5 @@ function checkNgContentWrapperHasContent(ref) {
|
|
|
8600
8707
|
* Generated bundle index. Do not edit.
|
|
8601
8708
|
*/
|
|
8602
8709
|
|
|
8603
|
-
export { ACTION_CONTEXT_STORE_LOCKSET_DESTROY_DELAY_TIME, APP_ACTION_DISABLED_DIRECTIVE_KEY, APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY, APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY, AbstractDbxActionHandlerDirective, AbstractDbxActionValueGetterDirective, AbstractDbxAnchorDirective, AbstractDbxButtonDirective, AbstractDbxFilterMapInstanceDirective, AbstractDbxFilterMapSourceDirective, AbstractDbxInjectionDirective, AbstractFilterSourceConnectorDirective, AbstractFilterSourceDirective, AbstractForwardDbxInjectionContextDirective, AbstractIfDirective, AbstractTransitionDirective, AbstractTransitionWatcherDirective, ActionContextStore, ActionContextStoreSource, ActionContextStoreSourceMap, AsObservablePipe, CutTextPipe, DBX_ACTION_HANDLER_LOCK_KEY, DBX_APP_APP_CONTEXT_STATE, DBX_APP_AUTH_ROUTER_EFFECTS_TOKEN, DBX_AUTH_APP_CONTEXT_STATE, DBX_INIT_APP_CONTEXT_STATE, DBX_INJECTION_COMPONENT_DATA, DBX_KNOWN_APP_CONTEXT_STATES, DBX_ONBOARD_APP_CONTEXT_STATE, DBX_PUBLIC_APP_CONTEXT_STATE, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_ID_PARAM_KEY, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_KEY_PARAM_KEY, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_USE_PARAM_VALUE, DEFAULT_ACTION_DISABLED_KEY, DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY, DEFAULT_REDIRECT_FOR_IDENTIFIER_PARAM_KEY, DEFAULT_REDIRECT_FOR_IDENTIFIER_PARAM_VALUE, DEFAULT_REDIRECT_FOR_USER_IDENTIFIER_PARAM_KEY, DEFAULT_REDIRECT_FOR_USER_IDENTIFIER_PARAM_VALUE, DEFAULT_STORAGE_ACCESSOR_FACTORY_TOKEN, DEFAULT_STORAGE_OBJECT_TOKEN, DateDayRangePipe, DateDayTimeRangePipe, DateDistancePipe, DateFormatDistancePipe, DateFormatFromToPipe, DateRangeDistancePipe, DateTimeRangeOnlyDistancePipe, DateTimeRangeOnlyPipe, DateTimeRangePipe, DbxActionAutoModifyDirective, DbxActionAutoTriggerDirective, DbxActionButtonDirective, DbxActionButtonTriggerDirective, DbxActionContextBaseSource, DbxActionContextLoggerDirective, DbxActionContextMachine, DbxActionContextMachineAsService, DbxActionContextMapDirective, DbxActionContextStoreSourceInstance, DbxActionDirective, DbxActionDisabledDirective, DbxActionDisabledOnSuccessDirective, DbxActionEnforceModifiedDirective, DbxActionErrorHandlerDirective, DbxActionFromMapDirective, DbxActionHandlerDirective, DbxActionHandlerInstance, DbxActionHandlerValueDirective, DbxActionHasSuccessDirective, DbxActionIdleDirective, DbxActionIsWorkingDirective, DbxActionMapSourceDirective, DbxActionMapWorkingDisableDirective, DbxActionPreSuccessDirective, DbxActionSourceDirective, DbxActionState, DbxActionSuccessHandlerDirective, DbxActionTriggeredDirective, DbxActionValueDirective, DbxActionValueGetterInstance, DbxActionValueStreamDirective, DbxActionValueTriggerDirective, DbxActionWorkInstanceDelegate, DbxAnchor, DbxAngularRouterService, DbxAppAuthRouterEffects, DbxAppAuthRouterService, DbxAppAuthRoutes, DbxAppAuthStateService, DbxAppContextService, DbxAppContextStateDirective, DbxAppEnviroment, DbxAppEnviromentService, DbxAuthHasAnyRoleDirective, DbxAuthHasRolesDirective, DbxAuthNotAnyRoleDirective, DbxAuthService, DbxButton, DbxButtonDirective, DbxButtonSegueDirective, DbxCoreActionModule, DbxCoreAngularRouterSegueModule, DbxCoreButtonModule, DbxCoreFilterModule, DbxFilterConnectSourceDirective, DbxFilterMapDirective, DbxFilterMapSourceConnectorDirective, DbxFilterMapSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterSourceDirective, DbxInjectionArrayComponent, DbxInjectionComponent, DbxInjectionContext, DbxInjectionContextDirective, DbxInjectionInstance, DbxLoadingButtonDirective, DbxRouteModelIdDirective, DbxRouteModelIdDirectiveDelegate, DbxRouteModelIdFromAuthUserIdDirective, DbxRouteModelKeyDirective, DbxRouteModelKeyDirectiveDelegate, DbxRouteParamDefaultRedirectInstance, DbxRouterService, DbxRouterTransitionEventType, DbxRouterTransitionService, DbxUIRouterService, DollarAmountPipe, FILTER_SOURCE_DIRECTIVE_DEFAULT_FILTER_TOKEN, FilterSourceDirective, FullLocalStorageObject, GetValueOncePipe, GetValuePipe, InstantStorageAccessor, LimitedStorageAccessor, LockSetComponentStore, MemoryStorageObject, MinutesStringPipe, NO_AUTH_USER_IDENTIFIER, PrettyJsonPipe, SecondaryActionContextStoreSource, SimpleStorageAccessor, SimpleStorageAccessorFactory, StorageAccessor, StringStorageAccessor, StringifySimpleStorageAccessorConverter, SystemDateToTargetDatePipe, TargetDateToSystemDatePipe, TimeDistanceCountdownPipe, TimeDistancePipe, TimezoneAbbreviationPipe, ToJsDatePipe, ToMinutesPipe, WrapperSimpleStorageAccessorDelegate, actionContextHasNoErrorAndIsModifiedAndCanTrigger, actionContextIsModifiedAndCanTrigger, actionContextStoreSourceMap, actionContextStoreSourceMapReader, actionContextStoreSourcePipe, anchorTypeForAnchor, asSegueRef, asSegueRefString, assertValidStorageKeyPrefix, authRolesSetContainsAllRolesFrom, authRolesSetContainsAnyRoleFrom, authRolesSetContainsNoRolesFrom, authUserIdentifier, canReadyValue, canTriggerAction, canTriggerActionState, checkNgContentWrapperHasContent, clean, cleanDestroy, cleanListLoadingContext, cleanLoadingContext, cleanLockSet, cleanSubscription, cleanSubscriptionWithLockSet, cleanWithLockSet, clickableUrlInNewTab, clickableUrlMailTo, clickableUrlTel, completeOnDestroy, dbxActionWorkProgress, dbxButtonDisplayType, dbxRouteModelIdParamRedirect, dbxRouteModelKeyParamRedirect, dbxRouteParamReaderInstance, defaultStorageObjectFactory, enableHasAuthRoleHook, enableHasAuthStateHook, enableIsLoggedInHook, expandClickableAnchorLinkTree, expandClickableAnchorLinkTreeNode, expandClickableAnchorLinkTrees, filterTransitionEvent, filterTransitionSuccess, flattenExpandedClickableAnchorLinkTree, flattenExpandedClickableAnchorLinkTreeToLinks, fromAllActionContextStoreSourceMapSources, index as fromDbxAppAuth, index$2 as fromDbxAppContext, goWithRouter, hasAuthRoleDecisionPipe, isActionContextDisabled, isActionContextEnabled, isClickableFilterPreset, isClickablePartialFilterPreset, isDisabledActionContextState, isIdleActionState, isLatestSuccessfulRoute, isSegueRef, isSegueRefActive, isSegueRefActiveFunction, isSegueRefActiveOnTransitionSuccess, isValidStorageKeyPrefix, isWorkingActionState, latestSuccessfulRoutes, loadingStateForActionContextState, loadingStateTypeForActionContextState, loadingStateTypeForActionState, loggedInObsFromIsLoggedIn, loggedOutObsFromIsLoggedIn, makeAuthTransitionHook, makeDbxActionContextSourceReference, mapRefStringObsToSegueRefObs, mergeDbxInjectionComponentConfigs, mergeStaticProviders, newWithInjector, index$1 as onDbxAppAuth, index$3 as onDbxAppContext, onRouterTransitionEventType, onRouterTransitionSuccessEvent, pipeActionStore, provideActionStoreSource, provideDbxAnchor, provideDbxAppAuth, provideDbxAppAuthRouter, provideDbxAppAuthRouterState, provideDbxAppAuthState, provideDbxAppContextState, provideDbxAppEnviroment, provideDbxButton, provideDbxInjectionContext, provideDbxRouteModelIdDirectiveDelegate, provideDbxRouteModelKeyDirectiveDelegate, provideDbxStorage, provideDbxUIRouterService, provideFilterSource, provideFilterSourceConnector, provideFilterSourceDirective, provideSecondaryActionStoreSource, redirectBasedOnAuthUserState, redirectForIdentifierParamHook, redirectForUserIdentifierParamHook, refStringToSegueRef, safeDetectChanges, safeMarkForCheck, safeUseCdRef, successTransition, switchMapDbxInjectionComponentConfig, tapDetectChanges, tapSafeMarkForCheck, transformEmptyStringInputToUndefined, useActionStore };
|
|
8710
|
+
export { ACTION_CONTEXT_STORE_LOCKSET_DESTROY_DELAY_TIME, APP_ACTION_DISABLED_DIRECTIVE_KEY, APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY, APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY, AbstractDbxActionHandlerDirective, AbstractDbxActionValueGetterDirective, AbstractDbxAnchorDirective, AbstractDbxButtonDirective, AbstractDbxFilterMapInstanceDirective, AbstractDbxFilterMapSourceDirective, AbstractDbxInjectionDirective, AbstractFilterSourceConnectorDirective, AbstractFilterSourceDirective, AbstractForwardDbxInjectionContextDirective, AbstractIfDirective, AbstractTransitionDirective, AbstractTransitionWatcherDirective, ActionContextStore, ActionContextStoreSource, ActionContextStoreSourceMap, AsObservablePipe, CutTextPipe, DBX_ACTION_HANDLER_LOCK_KEY, DBX_APP_APP_CONTEXT_STATE, DBX_APP_AUTH_ROUTER_EFFECTS_TOKEN, DBX_AUTH_APP_CONTEXT_STATE, DBX_INIT_APP_CONTEXT_STATE, DBX_INJECTION_COMPONENT_DATA, DBX_KNOWN_APP_CONTEXT_STATES, DBX_OAUTH_APP_CONTEXT_STATE, DBX_ONBOARD_APP_CONTEXT_STATE, DBX_PUBLIC_APP_CONTEXT_STATE, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_ID_PARAM_KEY, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_KEY_PARAM_KEY, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_USE_PARAM_VALUE, DEFAULT_ACTION_DISABLED_KEY, DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY, DEFAULT_REDIRECT_FOR_IDENTIFIER_PARAM_KEY, DEFAULT_REDIRECT_FOR_IDENTIFIER_PARAM_VALUE, DEFAULT_REDIRECT_FOR_USER_IDENTIFIER_PARAM_KEY, DEFAULT_REDIRECT_FOR_USER_IDENTIFIER_PARAM_VALUE, DEFAULT_STORAGE_ACCESSOR_FACTORY_TOKEN, DEFAULT_STORAGE_OBJECT_TOKEN, DateDayRangePipe, DateDayTimeRangePipe, DateDistancePipe, DateFormatDistancePipe, DateFormatFromToPipe, DateRangeDistancePipe, DateTimeRangeOnlyDistancePipe, DateTimeRangeOnlyPipe, DateTimeRangePipe, DbxActionAutoModifyDirective, DbxActionAutoTriggerDirective, DbxActionButtonDirective, DbxActionButtonTriggerDirective, DbxActionContextBaseSource, DbxActionContextLoggerDirective, DbxActionContextMachine, DbxActionContextMachineAsService, DbxActionContextMapDirective, DbxActionContextStoreSourceInstance, DbxActionDirective, DbxActionDisabledDirective, DbxActionDisabledOnSuccessDirective, DbxActionEnforceModifiedDirective, DbxActionErrorHandlerDirective, DbxActionFromMapDirective, DbxActionHandlerDirective, DbxActionHandlerInstance, DbxActionHandlerValueDirective, DbxActionHasSuccessDirective, DbxActionIdleDirective, DbxActionIsWorkingDirective, DbxActionMapSourceDirective, DbxActionMapWorkingDisableDirective, DbxActionPreSuccessDirective, DbxActionSourceDirective, DbxActionState, DbxActionSuccessHandlerDirective, DbxActionTriggeredDirective, DbxActionValueDirective, DbxActionValueGetterInstance, DbxActionValueStreamDirective, DbxActionValueTriggerDirective, DbxActionWorkInstanceDelegate, DbxAnchor, DbxAngularRouterService, DbxAppAuthRouterEffects, DbxAppAuthRouterService, DbxAppAuthRoutes, DbxAppAuthStateService, DbxAppContextService, DbxAppContextStateDirective, DbxAppEnviroment, DbxAppEnviromentService, DbxAuthHasAnyRoleDirective, DbxAuthHasRolesDirective, DbxAuthNotAnyRoleDirective, DbxAuthService, DbxButton, DbxButtonDirective, DbxButtonSegueDirective, DbxCoreActionModule, DbxCoreAngularRouterSegueModule, DbxCoreButtonModule, DbxCoreFilterModule, DbxFilterConnectSourceDirective, DbxFilterMapDirective, DbxFilterMapSourceConnectorDirective, DbxFilterMapSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterSourceDirective, DbxInjectionArrayComponent, DbxInjectionComponent, DbxInjectionContext, DbxInjectionContextDirective, DbxInjectionInstance, DbxLoadingButtonDirective, DbxRouteModelIdDirective, DbxRouteModelIdDirectiveDelegate, DbxRouteModelIdFromAuthUserIdDirective, DbxRouteModelKeyDirective, DbxRouteModelKeyDirectiveDelegate, DbxRouteParamDefaultRedirectInstance, DbxRouterService, DbxRouterTransitionEventType, DbxRouterTransitionService, DbxUIRouterService, DollarAmountPipe, FILTER_SOURCE_DIRECTIVE_DEFAULT_FILTER_TOKEN, FilterSourceDirective, FullLocalStorageObject, GetValueOncePipe, GetValuePipe, InstantStorageAccessor, LimitedStorageAccessor, LockSetComponentStore, MemoryStorageObject, MinutesStringPipe, NO_AUTH_USER_IDENTIFIER, PrettyJsonPipe, SecondaryActionContextStoreSource, SimpleStorageAccessor, SimpleStorageAccessorFactory, StorageAccessor, StringStorageAccessor, StringifySimpleStorageAccessorConverter, SystemDateToTargetDatePipe, TargetDateToSystemDatePipe, TimeDistanceCountdownPipe, TimeDistancePipe, TimezoneAbbreviationPipe, ToJsDatePipe, ToMinutesPipe, WrapperSimpleStorageAccessorDelegate, actionContextHasNoErrorAndIsModifiedAndCanTrigger, actionContextIsModifiedAndCanTrigger, actionContextStoreSourceMap, actionContextStoreSourceMapReader, actionContextStoreSourcePipe, anchorTypeForAnchor, asSegueRef, asSegueRefString, assertValidStorageKeyPrefix, authRolesSetContainsAllRolesFrom, authRolesSetContainsAnyRoleFrom, authRolesSetContainsNoRolesFrom, authUserIdentifier, canReadyValue, canTriggerAction, canTriggerActionState, checkNgContentWrapperHasContent, clean, cleanDestroy, cleanListLoadingContext, cleanLoadingContext, cleanLockSet, cleanSubscription, cleanSubscriptionWithLockSet, cleanWithLockSet, clickableUrlInNewTab, clickableUrlMailTo, clickableUrlTel, completeOnDestroy, dbxActionWorkProgress, dbxButtonDisplayType, dbxRouteModelIdParamRedirect, dbxRouteModelKeyParamRedirect, dbxRouteParamReaderInstance, defaultStorageObjectFactory, enableHasAuthRoleHook, enableHasAuthStateHook, enableIsLoggedInHook, expandClickableAnchorLinkTree, expandClickableAnchorLinkTreeNode, expandClickableAnchorLinkTrees, filterTransitionEvent, filterTransitionSuccess, flattenExpandedClickableAnchorLinkTree, flattenExpandedClickableAnchorLinkTreeToLinks, fromAllActionContextStoreSourceMapSources, index as fromDbxAppAuth, index$2 as fromDbxAppContext, goWithRouter, hasAuthRoleDecisionPipe, isActionContextDisabled, isActionContextEnabled, isClickableFilterPreset, isClickablePartialFilterPreset, isDisabledActionContextState, isIdleActionState, isLatestSuccessfulRoute, isSegueRef, isSegueRefActive, isSegueRefActiveFunction, isSegueRefActiveOnTransitionSuccess, isValidStorageKeyPrefix, isWorkingActionState, latestSuccessfulRoutes, loadingStateForActionContextState, loadingStateTypeForActionContextState, loadingStateTypeForActionState, loggedInObsFromIsLoggedIn, loggedOutObsFromIsLoggedIn, makeAuthTransitionHook, makeDbxActionContextSourceReference, mapRefStringObsToSegueRefObs, mergeDbxInjectionComponentConfigs, mergeStaticProviders, newWithInjector, index$1 as onDbxAppAuth, index$3 as onDbxAppContext, onRouterTransitionEventType, onRouterTransitionSuccessEvent, pipeActionStore, provideActionStoreSource, provideDbxAnchor, provideDbxAppAuth, provideDbxAppAuthRouter, provideDbxAppAuthRouterState, provideDbxAppAuthState, provideDbxAppContextState, provideDbxAppEnviroment, provideDbxButton, provideDbxInjectionContext, provideDbxRouteModelIdDirectiveDelegate, provideDbxRouteModelKeyDirectiveDelegate, provideDbxStorage, provideDbxUIRouterService, provideFilterSource, provideFilterSourceConnector, provideFilterSourceDirective, provideSecondaryActionStoreSource, redirectBasedOnAuthUserState, redirectForIdentifierParamHook, redirectForUserIdentifierParamHook, refStringToSegueRef, safeDetectChanges, safeMarkForCheck, safeUseCdRef, successTransition, switchMapDbxInjectionComponentConfig, tapDetectChanges, tapSafeMarkForCheck, transformEmptyStringInputToUndefined, useActionStore };
|
|
8604
8711
|
//# sourceMappingURL=dereekb-dbx-core.mjs.map
|