@dereekb/dbx-core 11.0.0 → 11.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/action/action.handler.mjs +6 -3
- package/esm2022/lib/action/action.holder.mjs +8 -5
- package/esm2022/lib/action/action.machine.mjs +9 -6
- package/esm2022/lib/action/action.store.mjs +6 -6
- package/esm2022/lib/action/action.store.source.mjs +6 -3
- package/esm2022/lib/action/directive/map/action.map.directive.mjs +12 -6
- package/esm2022/lib/action/directive/state/action.handler.instance.mjs +6 -5
- package/esm2022/lib/injection/injection.instance.mjs +5 -4
- package/esm2022/lib/router/router/util/route.default.mjs +1 -1
- package/esm2022/lib/storage/storage.accessor.simple.mjs +25 -19
- package/esm2022/lib/storage/storage.accessor.string.mjs +3 -3
- package/esm2022/lib/storage/storage.object.localstorage.mjs +3 -3
- package/fesm2022/dereekb-dbx-core.mjs +79 -53
- package/fesm2022/dereekb-dbx-core.mjs.map +1 -1
- package/lib/action/action.handler.d.ts +2 -1
- package/lib/action/action.holder.d.ts +2 -1
- package/lib/action/action.machine.d.ts +4 -3
- package/lib/action/action.store.source.d.ts +2 -1
- package/lib/action/directive/map/action.map.directive.d.ts +4 -2
- package/lib/action/directive/state/action.handler.instance.d.ts +5 -5
- package/lib/injection/injection.instance.d.ts +6 -6
- package/lib/router/router/util/route.default.d.ts +4 -4
- package/lib/storage/storage.accessor.simple.d.ts +9 -7
- package/lib/storage/storage.accessor.string.d.ts +1 -1
- package/lib/storage/storage.object.localstorage.d.ts +2 -2
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Directive, inject, Input, Injectable, forwardRef, TemplateRef, ViewContainerRef, ElementRef, NgModule, NgZone, InjectionToken, ChangeDetectorRef, EventEmitter, Output, Pipe, LOCALE_ID, Injector, Component, ViewChild, ChangeDetectionStrategy, Inject, Optional } from '@angular/core';
|
|
3
3
|
import { SubscriptionObject, LockSet, filterMaybe, LoadingStateType, beginLoading, idleLoadingState, errorResult, successResult, scanCount, workFactory, combineLatestFromMapValuesObsFn, emitDelayObs, asObservable, returnIfIs, timeoutStartWith, skipFirstMaybe, distinctUntilKeysChange, maybeValueFromObservableOrValueGetter, switchMapToDefault, asObservableFromGetter, onFalseToTrue, onTrueToFalse, setContainsAllValuesFrom, setContainsNoValueFrom, FilterSource, FilterSourceConnector, FilterSourceInstance, FilterMap, switchMapObject } from '@dereekb/rxjs';
|
|
4
4
|
import { switchMap, first, BehaviorSubject, combineLatest, distinctUntilChanged, filter, Subject, debounce, interval, throttle, exhaustMap, mergeMap, map, shareReplay, EMPTY, of, withLatestFrom, startWith, delay, tap, catchError, firstValueFrom, takeUntil, Observable } from 'rxjs';
|
|
5
|
-
import { isDefinedAndNotFalse, hasValueOrNotEmpty,
|
|
5
|
+
import { isDefinedAndNotFalse, hasValueOrNotEmpty, BooleanStringKeyArrayUtility, reduceBooleansWithOrFn, asGetter, getValueFromGetter, toReadableError, isGetter, asArray, setIncludes, isAllowed, maybeSet, iterableToSet, expandTreeFunction, flattenTreeToArrayFunction, expandFlattenTreeFunction, mailToUrlString, telUrlString, mergeObjects, KeyValueTypleValueFilter, filterMaybeValues, defaultForwardFunctionFactory, dollarAmountString, objectHasKey, objectHasKeys, mergeArrays, pushItemOrArrayItemsIntoArray, promiseReference, DataIsExpiredError, DataDoesNotExistError, hasNonNullValue, splitJoinRemainder, StorageObjectUtility, SHARED_MEMORY_STORAGE } from '@dereekb/util';
|
|
6
6
|
import { ComponentStore } from '@ngrx/component-store';
|
|
7
7
|
import * as i1$2 from '@angular/common';
|
|
8
8
|
import { CommonModule, formatDate } from '@angular/common';
|
|
@@ -77,13 +77,16 @@ function useActionStore(source, useFn) {
|
|
|
77
77
|
* Service that wraps a ActionContextStoreSource.
|
|
78
78
|
*/
|
|
79
79
|
class DbxActionContextStoreSourceInstance {
|
|
80
|
-
source;
|
|
81
80
|
lockSet = new LockSet();
|
|
81
|
+
_source;
|
|
82
82
|
constructor(source) {
|
|
83
|
-
this.source = source;
|
|
84
83
|
if (!source) {
|
|
85
84
|
throw new Error('Source is required.');
|
|
86
85
|
}
|
|
86
|
+
this._source = source;
|
|
87
|
+
}
|
|
88
|
+
get source() {
|
|
89
|
+
return this._source;
|
|
87
90
|
}
|
|
88
91
|
destroy() {
|
|
89
92
|
this.lockSet.destroyOnNextUnlock();
|
|
@@ -418,9 +421,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
418
421
|
* WorkInstanceDelegate implementation using an DbxActionContextStoreSourceInstance.
|
|
419
422
|
*/
|
|
420
423
|
class DbxActionWorkInstanceDelegate {
|
|
421
|
-
|
|
424
|
+
_source;
|
|
422
425
|
constructor(source) {
|
|
423
|
-
this.
|
|
426
|
+
this._source = source;
|
|
427
|
+
}
|
|
428
|
+
get source() {
|
|
429
|
+
return this._source;
|
|
424
430
|
}
|
|
425
431
|
startWorking() {
|
|
426
432
|
this.source.startWorking();
|
|
@@ -504,10 +510,10 @@ function loadingStateTypeForActionState(actionState) {
|
|
|
504
510
|
}
|
|
505
511
|
|
|
506
512
|
function isActionContextEnabled(state) {
|
|
507
|
-
return
|
|
513
|
+
return BooleanStringKeyArrayUtility.isFalse(state.disabled);
|
|
508
514
|
}
|
|
509
515
|
function isActionContextDisabled(state) {
|
|
510
|
-
return
|
|
516
|
+
return BooleanStringKeyArrayUtility.isTrue(state.disabled);
|
|
511
517
|
}
|
|
512
518
|
function isDisabledActionContextState(state) {
|
|
513
519
|
return isIdleActionState(state.actionState) && isActionContextDisabled(state);
|
|
@@ -642,14 +648,14 @@ class ActionContextStore extends ComponentStore {
|
|
|
642
648
|
*/
|
|
643
649
|
disable = this.updater((state, key) => ({
|
|
644
650
|
...state,
|
|
645
|
-
disabled:
|
|
651
|
+
disabled: BooleanStringKeyArrayUtility.insert(state.disabled, key ?? DEFAULT_ACTION_DISABLED_KEY)
|
|
646
652
|
}));
|
|
647
653
|
/**
|
|
648
654
|
* Removes a disabled reason.
|
|
649
655
|
*/
|
|
650
656
|
enable = this.updater((state, key) => ({
|
|
651
657
|
...state,
|
|
652
|
-
disabled:
|
|
658
|
+
disabled: BooleanStringKeyArrayUtility.remove(state.disabled, key ?? DEFAULT_ACTION_DISABLED_KEY)
|
|
653
659
|
}));
|
|
654
660
|
/**
|
|
655
661
|
* Triggers the modified state, if not disabled.
|
|
@@ -727,7 +733,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
727
733
|
* Abstract class that can either use SecondaryActionContextStoreSource or create it's own.
|
|
728
734
|
*/
|
|
729
735
|
class DbxActionContextBaseSource {
|
|
730
|
-
|
|
736
|
+
_inputSource;
|
|
731
737
|
_store;
|
|
732
738
|
_store$;
|
|
733
739
|
_instance;
|
|
@@ -735,9 +741,9 @@ class DbxActionContextBaseSource {
|
|
|
735
741
|
triggered$;
|
|
736
742
|
success$;
|
|
737
743
|
constructor(inputSource) {
|
|
738
|
-
this.
|
|
739
|
-
if (
|
|
740
|
-
this._store$ =
|
|
744
|
+
this._inputSource = inputSource;
|
|
745
|
+
if (inputSource) {
|
|
746
|
+
this._store$ = inputSource.store$;
|
|
741
747
|
}
|
|
742
748
|
else {
|
|
743
749
|
this._store = new ActionContextStore();
|
|
@@ -754,6 +760,9 @@ class DbxActionContextBaseSource {
|
|
|
754
760
|
this._instance.destroy();
|
|
755
761
|
}
|
|
756
762
|
}
|
|
763
|
+
get inputSource() {
|
|
764
|
+
return this._inputSource;
|
|
765
|
+
}
|
|
757
766
|
get lockSet() {
|
|
758
767
|
return this._instance.lockSet;
|
|
759
768
|
}
|
|
@@ -799,13 +808,13 @@ class DbxActionContextBaseSource {
|
|
|
799
808
|
* It can be configured to activate only once before cleaning itself up. It can be used directly as a DbxActionContextSourceReference in cases where it is created as a one-off action.
|
|
800
809
|
*/
|
|
801
810
|
class DbxActionContextMachine extends DbxActionContextBaseSource {
|
|
802
|
-
config;
|
|
803
811
|
_isShutdown = true;
|
|
812
|
+
_config;
|
|
804
813
|
_handleValueReadySub = new SubscriptionObject();
|
|
805
814
|
_successSub = new SubscriptionObject();
|
|
806
815
|
constructor(config, source) {
|
|
807
816
|
super(source);
|
|
808
|
-
this.
|
|
817
|
+
this._config = config;
|
|
809
818
|
// Handle Value Ready
|
|
810
819
|
if (config.handleValueReady !== false) {
|
|
811
820
|
this._handleValueReadySub.subscription = this.sourceInstance.valueReady$.subscribe((value) => {
|
|
@@ -817,13 +826,13 @@ class DbxActionContextMachine extends DbxActionContextBaseSource {
|
|
|
817
826
|
});
|
|
818
827
|
}
|
|
819
828
|
// If this is a one-time use, then destroy it after the first success comes through.
|
|
820
|
-
if (
|
|
829
|
+
if (config.oneTimeUse) {
|
|
821
830
|
this.sourceInstance.success$.pipe(first(), delay(1000)).subscribe(() => {
|
|
822
831
|
this.destroy();
|
|
823
832
|
});
|
|
824
833
|
}
|
|
825
|
-
if (
|
|
826
|
-
this._successSub.subscription = this.sourceInstance.success$.subscribe(
|
|
834
|
+
if (config.onSuccess) {
|
|
835
|
+
this._successSub.subscription = this.sourceInstance.success$.subscribe(config.onSuccess);
|
|
827
836
|
}
|
|
828
837
|
}
|
|
829
838
|
destroy() {
|
|
@@ -832,6 +841,9 @@ class DbxActionContextMachine extends DbxActionContextBaseSource {
|
|
|
832
841
|
this._successSub.destroy();
|
|
833
842
|
this._isShutdown = true;
|
|
834
843
|
}
|
|
844
|
+
get config() {
|
|
845
|
+
return this._config;
|
|
846
|
+
}
|
|
835
847
|
get isShutdown() {
|
|
836
848
|
return this._isShutdown;
|
|
837
849
|
}
|
|
@@ -1026,16 +1038,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1026
1038
|
}]
|
|
1027
1039
|
}] });
|
|
1028
1040
|
class DbxActionContextMapDirectiveSourceInstance {
|
|
1029
|
-
|
|
1030
|
-
|
|
1041
|
+
_parent;
|
|
1042
|
+
_key;
|
|
1031
1043
|
store$;
|
|
1032
1044
|
constructor(parent, key) {
|
|
1033
|
-
this.
|
|
1034
|
-
this.
|
|
1035
|
-
const _source$ =
|
|
1045
|
+
this._parent = parent;
|
|
1046
|
+
this._key = key;
|
|
1047
|
+
const _source$ = parent.map$.pipe(map((x) => x.get(key)), distinctUntilChanged());
|
|
1036
1048
|
const _store$ = _source$.pipe(switchMap((x) => x?.store$ ?? of(undefined)), shareReplay(1));
|
|
1037
1049
|
this.store$ = actionContextStoreSourcePipe(_store$);
|
|
1038
1050
|
}
|
|
1051
|
+
get parent() {
|
|
1052
|
+
return this._parent;
|
|
1053
|
+
}
|
|
1054
|
+
get key() {
|
|
1055
|
+
return this._key;
|
|
1056
|
+
}
|
|
1039
1057
|
}
|
|
1040
1058
|
|
|
1041
1059
|
/**
|
|
@@ -1223,7 +1241,7 @@ const DBX_ACTION_HANDLER_LOCK_KEY = 'dbxActionHandler';
|
|
|
1223
1241
|
* Context used for defining a function that performs an action using the input function to handle valueReady$ events from an action context.
|
|
1224
1242
|
*/
|
|
1225
1243
|
class DbxActionHandlerInstance {
|
|
1226
|
-
|
|
1244
|
+
_delegate;
|
|
1227
1245
|
_sub = new SubscriptionObject();
|
|
1228
1246
|
_handlerFunction = new BehaviorSubject(undefined);
|
|
1229
1247
|
_handlerValue = new BehaviorSubject(undefined);
|
|
@@ -1252,10 +1270,11 @@ class DbxActionHandlerInstance {
|
|
|
1252
1270
|
set handlerValue(handlerValue) {
|
|
1253
1271
|
this._handlerValue.next(handlerValue);
|
|
1254
1272
|
}
|
|
1255
|
-
_delegate;
|
|
1256
1273
|
constructor(source) {
|
|
1257
|
-
this.
|
|
1258
|
-
|
|
1274
|
+
this._delegate = new DbxActionWorkInstanceDelegate(source);
|
|
1275
|
+
}
|
|
1276
|
+
get source() {
|
|
1277
|
+
return this._delegate.source;
|
|
1259
1278
|
}
|
|
1260
1279
|
init() {
|
|
1261
1280
|
this._sub.subscription = this.handlerFunction$
|
|
@@ -4524,12 +4543,12 @@ function mergeDbxInjectionComponentConfigs(configs) {
|
|
|
4524
4543
|
* Instance used by components to inject content based on the configuration into the view.
|
|
4525
4544
|
*/
|
|
4526
4545
|
class DbxInjectionInstance {
|
|
4527
|
-
_injector;
|
|
4528
4546
|
_subscriptionObject = new SubscriptionObject();
|
|
4529
4547
|
_config = new BehaviorSubject(undefined);
|
|
4530
4548
|
_template = new BehaviorSubject(undefined);
|
|
4531
4549
|
_content = new BehaviorSubject(undefined);
|
|
4532
4550
|
_componentRef = new BehaviorSubject(undefined);
|
|
4551
|
+
_injector;
|
|
4533
4552
|
config$ = this._config.pipe(distinctUntilChanged());
|
|
4534
4553
|
template$ = this._template.pipe(distinctUntilChanged());
|
|
4535
4554
|
content$ = this._content.pipe(filterMaybe(), distinctUntilChanged(), shareReplay(1));
|
|
@@ -4557,8 +4576,8 @@ class DbxInjectionInstance {
|
|
|
4557
4576
|
set componentRef(componentRef) {
|
|
4558
4577
|
this._componentRef.next(componentRef);
|
|
4559
4578
|
}
|
|
4560
|
-
constructor(
|
|
4561
|
-
this._injector =
|
|
4579
|
+
constructor(injector) {
|
|
4580
|
+
this._injector = injector;
|
|
4562
4581
|
}
|
|
4563
4582
|
init() {
|
|
4564
4583
|
// Wait until the first of either of the two inputs comes in as not defined, and then emit.
|
|
@@ -4586,6 +4605,7 @@ class DbxInjectionInstance {
|
|
|
4586
4605
|
});
|
|
4587
4606
|
}
|
|
4588
4607
|
destroy() {
|
|
4608
|
+
this._subscriptionObject.destroy();
|
|
4589
4609
|
this._config.complete();
|
|
4590
4610
|
this._template.complete();
|
|
4591
4611
|
this._content.complete();
|
|
@@ -5004,9 +5024,9 @@ class StringifySimpleStorageAccessorConverter {
|
|
|
5004
5024
|
class WrapperSimpleStorageAccessorDelegate {
|
|
5005
5025
|
_delegate;
|
|
5006
5026
|
_converter;
|
|
5007
|
-
constructor(
|
|
5008
|
-
this._delegate =
|
|
5009
|
-
this._converter =
|
|
5027
|
+
constructor(delegate, converter) {
|
|
5028
|
+
this._delegate = delegate;
|
|
5029
|
+
this._converter = converter;
|
|
5010
5030
|
}
|
|
5011
5031
|
get(key) {
|
|
5012
5032
|
return this._delegate.get(key);
|
|
@@ -5033,25 +5053,42 @@ class WrapperSimpleStorageAccessorDelegate {
|
|
|
5033
5053
|
return this._converter.parseValue(data);
|
|
5034
5054
|
}
|
|
5035
5055
|
}
|
|
5056
|
+
function assertValidStorageKeyPrefix(prefix, prefixSplitter) {
|
|
5057
|
+
if (!prefixSplitter) {
|
|
5058
|
+
throw new Error('Invalid storage key prefix splitter. Must be defined and not empty.'); // TODO(FUTURE): Consider changing to a concrete error type
|
|
5059
|
+
}
|
|
5060
|
+
if (!isValidStorageKeyPrefix(prefix, prefixSplitter)) {
|
|
5061
|
+
throw new Error('Invalid storage key prefix.');
|
|
5062
|
+
}
|
|
5063
|
+
}
|
|
5064
|
+
function isValidStorageKeyPrefix(prefix, prefixSpltter) {
|
|
5065
|
+
return Boolean(prefix && prefix.indexOf(prefixSpltter) === -1);
|
|
5066
|
+
}
|
|
5036
5067
|
/**
|
|
5037
5068
|
* LimitedStorageAccessor implementation that uses a Delegate
|
|
5038
5069
|
*/
|
|
5039
5070
|
class SimpleStorageAccessor {
|
|
5040
|
-
_delegate;
|
|
5041
5071
|
static PREFIX_SPLITTER = '::';
|
|
5072
|
+
_delegate;
|
|
5042
5073
|
_config;
|
|
5043
|
-
constructor(
|
|
5044
|
-
this._delegate = _delegate;
|
|
5074
|
+
constructor(delegate, config) {
|
|
5045
5075
|
const prefix = config.prefix;
|
|
5046
5076
|
const prefixSplitter = config.prefixSplitter ?? SimpleStorageAccessor.PREFIX_SPLITTER;
|
|
5047
|
-
|
|
5077
|
+
assertValidStorageKeyPrefix(prefix, prefixSplitter);
|
|
5048
5078
|
const fullPrefix = `${prefix}${prefixSplitter}`;
|
|
5079
|
+
this._delegate = delegate;
|
|
5049
5080
|
this._config = {
|
|
5050
5081
|
...config,
|
|
5051
5082
|
prefixSplitter,
|
|
5052
5083
|
fullPrefix
|
|
5053
5084
|
};
|
|
5054
5085
|
}
|
|
5086
|
+
get delegate() {
|
|
5087
|
+
return this._delegate;
|
|
5088
|
+
}
|
|
5089
|
+
get config() {
|
|
5090
|
+
return this._config;
|
|
5091
|
+
}
|
|
5055
5092
|
// MARK: LimitedStorageAccessor
|
|
5056
5093
|
get(inputKey) {
|
|
5057
5094
|
const storeKey = this.makeStorageKey(inputKey);
|
|
@@ -5131,17 +5168,6 @@ class SimpleStorageAccessor {
|
|
|
5131
5168
|
}
|
|
5132
5169
|
}
|
|
5133
5170
|
// MARK: Internal
|
|
5134
|
-
assertValidStorageKeyPrefix(prefix, prefixSplitter) {
|
|
5135
|
-
if (!prefixSplitter) {
|
|
5136
|
-
throw new Error('Invalid storage key prefix splitter. Must be defined and not empty.');
|
|
5137
|
-
}
|
|
5138
|
-
if (!this.isValidStorageKeyPrefix(prefix, prefixSplitter)) {
|
|
5139
|
-
throw new Error('Invalid storage key prefix.');
|
|
5140
|
-
}
|
|
5141
|
-
}
|
|
5142
|
-
isValidStorageKeyPrefix(prefix, prefixSpltter) {
|
|
5143
|
-
return Boolean(prefix && prefix.indexOf(prefixSpltter) === -1);
|
|
5144
|
-
}
|
|
5145
5171
|
makeStorageKey(key) {
|
|
5146
5172
|
return `${this._config.prefix}${this._config.prefixSplitter}${String(key)}`;
|
|
5147
5173
|
}
|
|
@@ -5162,8 +5188,8 @@ class SimpleStorageAccessor {
|
|
|
5162
5188
|
*/
|
|
5163
5189
|
class StringStorageAccessor {
|
|
5164
5190
|
_storage;
|
|
5165
|
-
constructor(
|
|
5166
|
-
this._storage =
|
|
5191
|
+
constructor(storage) {
|
|
5192
|
+
this._storage = storage;
|
|
5167
5193
|
}
|
|
5168
5194
|
get(key) {
|
|
5169
5195
|
return new Observable((x) => {
|
|
@@ -5250,8 +5276,8 @@ class InstantStorageAccessor {
|
|
|
5250
5276
|
*/
|
|
5251
5277
|
class FullLocalStorageObject {
|
|
5252
5278
|
_localStorage;
|
|
5253
|
-
constructor(
|
|
5254
|
-
this._localStorage =
|
|
5279
|
+
constructor(localStorage) {
|
|
5280
|
+
this._localStorage = localStorage;
|
|
5255
5281
|
}
|
|
5256
5282
|
get isPersistant() {
|
|
5257
5283
|
return true;
|
|
@@ -5345,5 +5371,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5345
5371
|
* Generated bundle index. Do not edit.
|
|
5346
5372
|
*/
|
|
5347
5373
|
|
|
5348
|
-
export { APP_ACTION_DISABLED_DIRECTIVE_KEY, APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY, APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY, AbstractDbxActionHandlerDirective, AbstractDbxActionValueOnTriggerDirective, AbstractDbxAnchorDirective, AbstractDbxButtonDirective, AbstractDbxFilterMapInstanceDirective, AbstractDbxInjectionDirective, AbstractFilterSourceConnectorDirective, AbstractFilterSourceDirective, AbstractForwardDbxInjectionContextDirective, AbstractIfDirective, AbstractLockSetSubscriptionDirective, AbstractSubscriptionDirective, AbstractTransitionDirective, AbstractTransitionWatcherDirective, ActionContextStore, ActionContextStoreSource, ActionContextStoreSourceMap, AnchorType, AsObservablePipe, 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, 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, DateFromToTimePipe, DateRangeDistancePipe, DateTimeRangeOnlyDistancePipe, DateTimeRangeOnlyPipe, DateTimeRangePipe, DbxActionAutoModifyDirective, DbxActionAutoTriggerDirective, DbxActionButtonDirective, DbxActionButtonTriggerDirective, DbxActionContextBaseSource, DbxActionContextLoggerDirective, DbxActionContextMachine, DbxActionContextMachineAsService, DbxActionContextMapDirective, DbxActionContextMapDirectiveSourceInstance, DbxActionContextStoreSourceInstance, DbxActionDirective, DbxActionDisabledDirective, DbxActionDisabledOnSuccessDirective, DbxActionEnforceModifiedDirective, DbxActionFromMapDirective, DbxActionHandlerDirective, DbxActionHandlerInstance, DbxActionHandlerValueDirective, DbxActionHasSuccessDirective, DbxActionIsWorkingDirective, DbxActionMapSourceDirective, DbxActionMapWorkingDisableDirective, DbxActionPreSuccessDirective, DbxActionSourceDirective, DbxActionState, DbxActionSuccessHandlerDirective, DbxActionValueDirective, DbxActionValueOnTriggerInstance, DbxActionValueTriggerDirective, DbxActionWorkInstanceDelegate, DbxAnchor, DbxAngularRouterService, DbxAppAuthRouterEffects, DbxAppAuthRouterModule, DbxAppAuthRouterService, DbxAppAuthRouterStateModule, DbxAppAuthRoutes, DbxAppAuthStateModule, DbxAppAuthStateService, DbxAppContextService, DbxAppContextStateDirective, DbxAppContextStateModule, DbxAsyncPipeModule, DbxAuthHasAnyRoleDirective, DbxAuthHasRolesDirective, DbxAuthNotAnyRoleDirective, DbxAuthService, DbxButton, DbxButtonDirective, DbxButtonSegueDirective, DbxCoreActionModule, DbxCoreAngularRouterSegueModule, DbxCoreAuthModule, DbxCoreButtonModule, DbxCoreFilterModule, DbxCoreUIRouterSegueModule, DbxDatePipeModule, DbxFilterConnectSourceDirective, DbxFilterMapDirective, DbxFilterMapSourceConnectorDirective, DbxFilterMapSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterSourceDirective, DbxInjectionArrayComponent, DbxInjectionComponent, DbxInjectionComponentModule, DbxInjectionContext, DbxInjectionContextDirective, DbxInjectionInstance, DbxLoadingButtonDirective, DbxMiscPipeModule, DbxPipesModule, DbxRouteParamDefaultRedirectInstance, DbxRouterService, DbxRouterTransitionEventType, DbxRouterTransitionService, DbxStorageModule, DbxUIRouterService, DbxValuePipeModule, DollarAmountPipe, 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, actionContextStoreSourceInstanceFactory, actionContextStoreSourceMachineFactory, actionContextStoreSourcePipe, anchorTypeForAnchor, asSegueRef, asSegueRefString, authRolesSetContainsAllRolesFrom, authRolesSetContainsAnyRoleFrom, authRolesSetContainsNoRolesFrom, authUserIdentifier, canReadyValue, canTriggerAction, canTriggerActionState, checkNgContentWrapperHasContent, clickableUrlInNewTab, clickableUrlMailTo, clickableUrlTel, dbxActionValueStreamDirective, dbxButtonDisplayContentType, dbxRouteParamReaderInstance, defaultStorageObjectFactory, enableHasAuthRoleHook, enableHasAuthStateHook, enableIsLoggedInHook, expandClickableAnchorLinkTree, expandClickableAnchorLinkTreeNode, expandClickableAnchorLinkTrees, filterTransitionEvent, filterTransitionSuccess, flattenExpandedClickableAnchorLinkTree, flattenExpandedClickableAnchorLinkTreeToLinks, index as fromDbxAppAuth, index$2 as fromDbxAppContext, goWithRouter, hasAuthRoleDecisionPipe, isActionContextDisabled, isActionContextEnabled, isClickableFilterPreset, isClickablePartialFilterPreset, isDisabledActionContextState, isIdleActionState, isLatestSuccessfulRoute, isSegueRef, isSegueRefActive, isSegueRefActiveFunction, isSegueRefActiveOnTransitionSuccess, isWorkingActionState, latestSuccessfulRoutes, loadingStateForActionContextState, loadingStateTypeForActionContextState, loadingStateTypeForActionState, loggedInObsFromIsLoggedIn, loggedOutObsFromIsLoggedIn, makeAuthTransitionHook, makeDbxActionContextSourceReference, mapRefStringObsToSegueRefObs, mergeDbxInjectionComponentConfigs, index$1 as onDbxAppAuth, index$3 as onDbxAppContext, onRouterTransitionEventType, onRouterTransitionSuccessEvent, pipeActionStore, provideActionStoreSource, provideDbxAnchor, provideDbxButton, provideDbxInjectionContext, provideFilterSource, provideFilterSourceConnector, provideFilterSourceDirective, provideSecondaryActionStoreSource, redirectBasedOnAuthUserState, redirectForIdentifierParamHook, redirectForUserIdentifierParamHook, refStringToSegueRef, safeDetectChanges, safeMarkForCheck, safeUseCdRef, successTransition, switchMapDbxInjectionComponentConfig, tapDetectChanges, tapSafeMarkForCheck, useActionStore };
|
|
5374
|
+
export { APP_ACTION_DISABLED_DIRECTIVE_KEY, APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY, APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY, AbstractDbxActionHandlerDirective, AbstractDbxActionValueOnTriggerDirective, AbstractDbxAnchorDirective, AbstractDbxButtonDirective, AbstractDbxFilterMapInstanceDirective, AbstractDbxInjectionDirective, AbstractFilterSourceConnectorDirective, AbstractFilterSourceDirective, AbstractForwardDbxInjectionContextDirective, AbstractIfDirective, AbstractLockSetSubscriptionDirective, AbstractSubscriptionDirective, AbstractTransitionDirective, AbstractTransitionWatcherDirective, ActionContextStore, ActionContextStoreSource, ActionContextStoreSourceMap, AnchorType, AsObservablePipe, 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, 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, DateFromToTimePipe, DateRangeDistancePipe, DateTimeRangeOnlyDistancePipe, DateTimeRangeOnlyPipe, DateTimeRangePipe, DbxActionAutoModifyDirective, DbxActionAutoTriggerDirective, DbxActionButtonDirective, DbxActionButtonTriggerDirective, DbxActionContextBaseSource, DbxActionContextLoggerDirective, DbxActionContextMachine, DbxActionContextMachineAsService, DbxActionContextMapDirective, DbxActionContextMapDirectiveSourceInstance, DbxActionContextStoreSourceInstance, DbxActionDirective, DbxActionDisabledDirective, DbxActionDisabledOnSuccessDirective, DbxActionEnforceModifiedDirective, DbxActionFromMapDirective, DbxActionHandlerDirective, DbxActionHandlerInstance, DbxActionHandlerValueDirective, DbxActionHasSuccessDirective, DbxActionIsWorkingDirective, DbxActionMapSourceDirective, DbxActionMapWorkingDisableDirective, DbxActionPreSuccessDirective, DbxActionSourceDirective, DbxActionState, DbxActionSuccessHandlerDirective, DbxActionValueDirective, DbxActionValueOnTriggerInstance, DbxActionValueTriggerDirective, DbxActionWorkInstanceDelegate, DbxAnchor, DbxAngularRouterService, DbxAppAuthRouterEffects, DbxAppAuthRouterModule, DbxAppAuthRouterService, DbxAppAuthRouterStateModule, DbxAppAuthRoutes, DbxAppAuthStateModule, DbxAppAuthStateService, DbxAppContextService, DbxAppContextStateDirective, DbxAppContextStateModule, DbxAsyncPipeModule, DbxAuthHasAnyRoleDirective, DbxAuthHasRolesDirective, DbxAuthNotAnyRoleDirective, DbxAuthService, DbxButton, DbxButtonDirective, DbxButtonSegueDirective, DbxCoreActionModule, DbxCoreAngularRouterSegueModule, DbxCoreAuthModule, DbxCoreButtonModule, DbxCoreFilterModule, DbxCoreUIRouterSegueModule, DbxDatePipeModule, DbxFilterConnectSourceDirective, DbxFilterMapDirective, DbxFilterMapSourceConnectorDirective, DbxFilterMapSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterSourceDirective, DbxInjectionArrayComponent, DbxInjectionComponent, DbxInjectionComponentModule, DbxInjectionContext, DbxInjectionContextDirective, DbxInjectionInstance, DbxLoadingButtonDirective, DbxMiscPipeModule, DbxPipesModule, DbxRouteParamDefaultRedirectInstance, DbxRouterService, DbxRouterTransitionEventType, DbxRouterTransitionService, DbxStorageModule, DbxUIRouterService, DbxValuePipeModule, DollarAmountPipe, 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, actionContextStoreSourceInstanceFactory, actionContextStoreSourceMachineFactory, actionContextStoreSourcePipe, anchorTypeForAnchor, asSegueRef, asSegueRefString, assertValidStorageKeyPrefix, authRolesSetContainsAllRolesFrom, authRolesSetContainsAnyRoleFrom, authRolesSetContainsNoRolesFrom, authUserIdentifier, canReadyValue, canTriggerAction, canTriggerActionState, checkNgContentWrapperHasContent, clickableUrlInNewTab, clickableUrlMailTo, clickableUrlTel, dbxActionValueStreamDirective, dbxButtonDisplayContentType, dbxRouteParamReaderInstance, defaultStorageObjectFactory, enableHasAuthRoleHook, enableHasAuthStateHook, enableIsLoggedInHook, expandClickableAnchorLinkTree, expandClickableAnchorLinkTreeNode, expandClickableAnchorLinkTrees, filterTransitionEvent, filterTransitionSuccess, flattenExpandedClickableAnchorLinkTree, flattenExpandedClickableAnchorLinkTreeToLinks, 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, index$1 as onDbxAppAuth, index$3 as onDbxAppContext, onRouterTransitionEventType, onRouterTransitionSuccessEvent, pipeActionStore, provideActionStoreSource, provideDbxAnchor, provideDbxButton, provideDbxInjectionContext, provideFilterSource, provideFilterSourceConnector, provideFilterSourceDirective, provideSecondaryActionStoreSource, redirectBasedOnAuthUserState, redirectForIdentifierParamHook, redirectForUserIdentifierParamHook, refStringToSegueRef, safeDetectChanges, safeMarkForCheck, safeUseCdRef, successTransition, switchMapDbxInjectionComponentConfig, tapDetectChanges, tapSafeMarkForCheck, useActionStore };
|
|
5349
5375
|
//# sourceMappingURL=dereekb-dbx-core.mjs.map
|