@dereekb/dbx-core 0.0.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -5
- package/esm2020/lib/action/action.handler.mjs +2 -2
- package/esm2020/lib/action/action.module.mjs +21 -21
- package/esm2020/lib/action/action.store.mjs +3 -3
- package/esm2020/lib/action/action.store.source.mjs +5 -5
- package/esm2020/lib/action/directive/auto/action.automodify.directive.mjs +5 -5
- package/esm2020/lib/action/directive/auto/action.autotrigger.directive.mjs +7 -7
- package/esm2020/lib/action/directive/auto/action.autotrigger.value.directive.mjs +5 -5
- package/esm2020/lib/action/directive/context/action.directive.mjs +8 -8
- package/esm2020/lib/action/directive/context/action.source.directive.mjs +7 -7
- package/esm2020/lib/action/directive/context/index.mjs +1 -2
- package/esm2020/lib/action/directive/debug/action.logger.directive.mjs +6 -6
- package/esm2020/lib/action/directive/map/action.map.directive.mjs +7 -7
- package/esm2020/lib/action/directive/map/action.map.key.directive.mjs +9 -9
- package/esm2020/lib/action/directive/map/action.map.source.directive.mjs +7 -7
- package/esm2020/lib/action/directive/map/action.map.working.disable.directive.mjs +8 -8
- package/esm2020/lib/action/directive/state/action.disabled.directive.mjs +5 -5
- package/esm2020/lib/action/directive/state/action.disabled.modified.directive.mjs +5 -5
- package/esm2020/lib/action/directive/state/action.handler.directive.mjs +5 -5
- package/esm2020/lib/action/directive/state/action.success.component.mjs +5 -5
- package/esm2020/lib/action/directive/state/action.success.directive.mjs +5 -5
- package/esm2020/lib/action/directive/state/action.value.directive.mjs +5 -5
- package/esm2020/lib/action/directive/state/action.working.component.mjs +5 -5
- package/esm2020/lib/action/snackbar/snackbar.mjs +1 -1
- package/esm2020/lib/button/action/action.button.directive.mjs +8 -8
- package/esm2020/lib/button/action/action.button.trigger.directive.mjs +7 -7
- package/esm2020/lib/button/button.directive.mjs +12 -12
- package/esm2020/lib/button/button.loading.directive.mjs +7 -7
- package/esm2020/lib/button/button.mjs +6 -5
- package/esm2020/lib/button/button.module.mjs +28 -28
- package/esm2020/lib/button/router/button.segue.directive.mjs +8 -8
- package/esm2020/lib/filter/action/action.filter.source.directive.mjs +33 -0
- package/esm2020/lib/filter/action/index.mjs +2 -0
- package/esm2020/lib/filter/filter.abstract.connector.directive.mjs +24 -0
- package/esm2020/lib/filter/filter.abstract.source.directive.mjs +38 -0
- package/esm2020/lib/filter/filter.connector.directive.mjs +25 -0
- package/esm2020/lib/filter/filter.content.mjs +24 -0
- package/esm2020/lib/filter/filter.map.connector.directive.mjs +40 -0
- package/esm2020/lib/filter/filter.map.directive.mjs +26 -0
- package/esm2020/lib/filter/filter.map.instance.directive.mjs +26 -0
- package/esm2020/lib/filter/filter.map.source.directive.mjs +41 -0
- package/esm2020/lib/filter/filter.module.mjs +46 -0
- package/esm2020/lib/filter/filter.source.directive.mjs +19 -0
- package/esm2020/lib/filter/index.mjs +12 -0
- package/esm2020/lib/index.mjs +2 -1
- package/esm2020/lib/injected/injected.component.mjs +6 -6
- package/esm2020/lib/injected/injected.component.module.mjs +9 -9
- package/esm2020/lib/injected/injected.directive.mjs +11 -10
- package/esm2020/lib/injected/injected.instance.mjs +20 -5
- package/esm2020/lib/injected/injected.mjs +16 -2
- package/esm2020/lib/pipe/date/date.pipe.module.mjs +6 -6
- package/esm2020/lib/pipe/date/datedistance.pipe.mjs +7 -7
- package/esm2020/lib/pipe/date/dateformatdistance.pipe.mjs +3 -3
- package/esm2020/lib/pipe/date/datefromtoformat.pipe.mjs +3 -3
- package/esm2020/lib/pipe/date/minutesstring.pipe.mjs +3 -3
- package/esm2020/lib/pipe/date/timedistance.pipe.mjs +6 -6
- package/esm2020/lib/pipe/date/tojsdate.pipe.mjs +3 -3
- package/esm2020/lib/pipe/date/tominutes.pipe.mjs +3 -3
- package/esm2020/lib/router/anchor/anchor.directive.mjs +7 -7
- package/esm2020/lib/router/anchor/anchor.mjs +43 -15
- package/esm2020/lib/router/router/provider/angular/angular.router.service.mjs +15 -9
- package/esm2020/lib/router/router/provider/angular/angular.router.service.module.mjs +14 -14
- package/esm2020/lib/router/router/provider/uirouter/index.mjs +2 -1
- package/esm2020/lib/router/router/provider/uirouter/uirouter.router.service.mjs +20 -9
- package/esm2020/lib/router/router/provider/uirouter/uirouter.router.service.module.mjs +15 -15
- package/esm2020/lib/router/router/provider/uirouter/util/future.mjs +38 -0
- package/esm2020/lib/router/router/provider/uirouter/util/index.mjs +2 -0
- package/esm2020/lib/router/router/service/router.service.mjs +2 -2
- package/esm2020/lib/router/router/service/router.transition.service.mjs +2 -2
- package/esm2020/lib/router/router/transition/index.mjs +3 -1
- package/esm2020/lib/router/router/transition/transition.directive.mjs +22 -0
- package/esm2020/lib/router/router/transition/transition.mjs +6 -6
- package/esm2020/lib/router/router/transition/transition.rxjs.mjs +18 -0
- package/esm2020/lib/router/router/transition/transition.watcher.directive.mjs +10 -11
- package/esm2020/lib/storage/storage.accessor.simple.factory.mjs +3 -3
- package/esm2020/lib/storage/storage.accessor.simple.mjs +3 -3
- package/esm2020/lib/storage/storage.di.mjs +3 -3
- package/esm2020/lib/storage/storage.module.mjs +7 -7
- package/esm2020/lib/subscription/subscription.directive.mjs +6 -6
- package/esm2020/lib/util/view.mjs +12 -1
- package/fesm2015/dereekb-dbx-core.mjs +760 -332
- package/fesm2015/dereekb-dbx-core.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-core.mjs +760 -332
- package/fesm2020/dereekb-dbx-core.mjs.map +1 -1
- package/lib/action/action.handler.d.ts +1 -1
- package/lib/action/action.module.d.ts +22 -23
- package/lib/action/action.store.source.d.ts +1 -1
- package/lib/action/directive/auto/action.automodify.directive.d.ts +3 -3
- package/lib/action/directive/auto/action.autotrigger.directive.d.ts +5 -5
- package/lib/action/directive/auto/action.autotrigger.value.directive.d.ts +5 -5
- package/lib/action/directive/context/action.directive.d.ts +4 -4
- package/lib/action/directive/context/action.source.directive.d.ts +4 -4
- package/lib/action/directive/context/index.d.ts +0 -1
- package/lib/action/directive/debug/action.logger.directive.d.ts +3 -3
- package/lib/action/directive/map/action.map.directive.d.ts +5 -5
- package/lib/action/directive/map/action.map.key.directive.d.ts +6 -6
- package/lib/action/directive/map/action.map.source.directive.d.ts +5 -5
- package/lib/action/directive/map/action.map.working.disable.directive.d.ts +6 -6
- package/lib/action/directive/state/action.disabled.directive.d.ts +3 -3
- package/lib/action/directive/state/action.disabled.modified.directive.d.ts +3 -3
- package/lib/action/directive/state/action.handler.directive.d.ts +3 -3
- package/lib/action/directive/state/action.success.component.d.ts +3 -3
- package/lib/action/directive/state/action.success.directive.d.ts +3 -3
- package/lib/action/directive/state/action.value.directive.d.ts +3 -3
- package/lib/action/directive/state/action.working.component.d.ts +3 -3
- package/lib/action/snackbar/snackbar.d.ts +3 -3
- package/lib/button/action/action.button.directive.d.ts +6 -6
- package/lib/button/action/action.button.trigger.directive.d.ts +6 -6
- package/lib/button/button.d.ts +4 -4
- package/lib/button/button.directive.d.ts +10 -10
- package/lib/button/button.loading.directive.d.ts +6 -6
- package/lib/button/button.module.d.ts +4 -4
- package/lib/button/router/button.segue.directive.d.ts +8 -8
- package/lib/filter/action/action.filter.source.directive.d.ts +17 -0
- package/lib/filter/action/index.d.ts +1 -0
- package/lib/filter/filter.abstract.connector.directive.d.ts +16 -0
- package/lib/filter/filter.abstract.source.directive.d.ts +20 -0
- package/lib/filter/filter.connector.directive.d.ts +9 -0
- package/lib/filter/filter.content.d.ts +10 -0
- package/lib/filter/filter.map.connector.directive.d.ts +14 -0
- package/lib/filter/filter.map.directive.d.ts +13 -0
- package/lib/filter/filter.map.instance.directive.d.ts +18 -0
- package/lib/filter/filter.map.source.directive.d.ts +16 -0
- package/lib/filter/filter.module.d.ts +12 -0
- package/lib/filter/filter.source.directive.d.ts +9 -0
- package/lib/filter/index.d.ts +11 -0
- package/lib/index.d.ts +1 -0
- package/lib/injected/injected.component.d.ts +7 -7
- package/lib/injected/injected.component.module.d.ts +4 -4
- package/lib/injected/injected.d.ts +25 -5
- package/lib/injected/injected.directive.d.ts +9 -7
- package/lib/injected/injected.instance.d.ts +11 -9
- package/lib/pipe/date/date.pipe.module.d.ts +4 -4
- package/lib/pipe/date/datedistance.pipe.d.ts +2 -2
- package/lib/router/anchor/anchor.d.ts +31 -8
- package/lib/router/anchor/anchor.directive.d.ts +4 -4
- package/lib/router/router/provider/angular/angular.router.service.d.ts +9 -7
- package/lib/router/router/provider/angular/angular.router.service.module.d.ts +5 -5
- package/lib/router/router/provider/uirouter/index.d.ts +1 -0
- package/lib/router/router/provider/uirouter/uirouter.router.service.d.ts +9 -7
- package/lib/router/router/provider/uirouter/uirouter.router.service.module.d.ts +5 -5
- package/lib/router/router/provider/uirouter/util/future.d.ts +1 -0
- package/lib/router/router/provider/uirouter/util/index.d.ts +1 -0
- package/lib/router/router/service/router.service.d.ts +17 -1
- package/lib/router/router/service/router.transition.service.d.ts +4 -4
- package/lib/router/router/transition/index.d.ts +2 -0
- package/lib/router/router/transition/transition.d.ts +3 -3
- package/lib/router/router/transition/transition.directive.d.ts +14 -0
- package/lib/router/router/transition/transition.rxjs.d.ts +11 -0
- package/lib/router/router/transition/transition.watcher.directive.d.ts +4 -4
- package/lib/storage/storage.module.d.ts +5 -5
- package/lib/util/view.d.ts +9 -0
- package/package.json +13 -13
- package/esm2020/lib/action/directive/context/action.component.mjs +0 -18
- package/lib/action/directive/context/action.component.d.ts +0 -6
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, forwardRef, Host, Input, Injectable, Optional, Component, NgModule, EventEmitter, Output, LOCALE_ID, Pipe, Inject,
|
|
3
|
-
import
|
|
2
|
+
import { Directive, forwardRef, Host, Input, Injectable, Optional, Component, NgModule, EventEmitter, Output, LOCALE_ID, Pipe, Inject, ViewChild, InjectionToken, Injector, ViewContainerRef } from '@angular/core';
|
|
3
|
+
import * as i1$3 from '@dereekb/rxjs';
|
|
4
|
+
import { SubscriptionObject, LockSet, filterMaybe, scanCount, combineLatestFromMapValuesObsFn, skipFirstMaybe, FilterSourceInstance, FilterSource, FilterSourceConnector, FilterMap } from '@dereekb/rxjs';
|
|
4
5
|
import * as i1 from 'rxjs';
|
|
5
|
-
import { BehaviorSubject, combineLatest, Subject, interval, EMPTY, of, isObservable, Observable } from 'rxjs';
|
|
6
|
+
import { BehaviorSubject, combineLatest, Subject, interval, EMPTY, of, isObservable, delay as delay$1, filter as filter$1, startWith as startWith$1, switchMap as switchMap$1, shareReplay as shareReplay$1, first as first$1, Observable, tap as tap$1 } from 'rxjs';
|
|
6
7
|
import { switchMap, first, distinctUntilChanged, filter, debounce, throttle, exhaustMap, mergeMap, map, shareReplay, withLatestFrom, startWith, tap, delay } from 'rxjs/operators';
|
|
7
|
-
import * as i1$
|
|
8
|
-
import { hasValueOrNotEmpty, BooleanStringKeyArrayUtilityInstance, reduceBooleansWithOrFn, getValueFromObjectOrGetter, DataIsExpiredError, DataDoesNotExistError, filterMaybeValuesFn, StorageObjectUtility, SHARED_MEMORY_STORAGE } from '@dereekb/util';
|
|
8
|
+
import * as i1$4 from '@dereekb/util';
|
|
9
|
+
import { hasValueOrNotEmpty, BooleanStringKeyArrayUtilityInstance, reduceBooleansWithOrFn, getValueFromObjectOrGetter, expandTreeFunction, flattenTreeToArrayFunction, expandFlattenTreeFunction, mergeArrayIntoArray, objectFlatMergeMatrix, mergeArrays, filterMaybeValues, mergeObjects, mergeArrayOrValueIntoArray, DataIsExpiredError, DataDoesNotExistError, filterMaybeValuesFn, StorageObjectUtility, SHARED_MEMORY_STORAGE } from '@dereekb/util';
|
|
9
10
|
import { ComponentStore } from '@ngrx/component-store';
|
|
10
11
|
import * as i2 from '@angular/common';
|
|
11
12
|
import { CommonModule, formatDate } from '@angular/common';
|
|
@@ -15,7 +16,7 @@ import { NavigationStart, NavigationEnd } from '@angular/router';
|
|
|
15
16
|
import { isArray } from 'class-validator';
|
|
16
17
|
import * as i1$2 from '@uirouter/core';
|
|
17
18
|
import { addMinutes, isPast, formatDistance, isValid, formatDistanceToNow, startOfDay, isSameDay } from 'date-fns';
|
|
18
|
-
import { toJsDate, formatToTimeString, unixTimeNumberForNow,
|
|
19
|
+
import { toJsDate, formatToTimeString, unixTimeNumberForNow, timeHasExpired } from '@dereekb/date';
|
|
19
20
|
|
|
20
21
|
/**
|
|
21
22
|
* Abstract component that contains a SubscriptionObject and will clean it up automatically.
|
|
@@ -32,9 +33,9 @@ class AbstractSubscriptionDirective {
|
|
|
32
33
|
this._subscriptionObject.subscription = subscription;
|
|
33
34
|
}
|
|
34
35
|
}
|
|
35
|
-
AbstractSubscriptionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
36
|
-
AbstractSubscriptionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
36
|
+
AbstractSubscriptionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractSubscriptionDirective, deps: [{ token: i1.Subscription }], target: i0.ɵɵFactoryTarget.Directive });
|
|
37
|
+
AbstractSubscriptionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractSubscriptionDirective, ngImport: i0 });
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractSubscriptionDirective, decorators: [{
|
|
38
39
|
type: Directive
|
|
39
40
|
}], ctorParameters: function () { return [{ type: i1.Subscription }]; } });
|
|
40
41
|
/**
|
|
@@ -52,9 +53,9 @@ class AbstractLockSetSubscriptionDirective extends AbstractSubscriptionDirective
|
|
|
52
53
|
super.ngOnDestroy();
|
|
53
54
|
}
|
|
54
55
|
}
|
|
55
|
-
AbstractLockSetSubscriptionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
56
|
-
AbstractLockSetSubscriptionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
56
|
+
AbstractLockSetSubscriptionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractLockSetSubscriptionDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
57
|
+
AbstractLockSetSubscriptionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractLockSetSubscriptionDirective, usesInheritance: true, ngImport: i0 });
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractLockSetSubscriptionDirective, decorators: [{
|
|
58
59
|
type: Directive
|
|
59
60
|
}] });
|
|
60
61
|
|
|
@@ -64,7 +65,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
64
65
|
class ActionContextStoreSource {
|
|
65
66
|
}
|
|
66
67
|
/**
|
|
67
|
-
* Secondary source. Used by
|
|
68
|
+
* Secondary source. Used by DbxActionContextComponent to find secondary sources.
|
|
68
69
|
*/
|
|
69
70
|
class SecondaryActionContextStoreSource extends ActionContextStoreSource {
|
|
70
71
|
}
|
|
@@ -172,9 +173,9 @@ class ActionContextStoreSourceInstance {
|
|
|
172
173
|
this.useStore((x) => x.reset());
|
|
173
174
|
}
|
|
174
175
|
}
|
|
175
|
-
ActionContextStoreSourceInstance.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
176
|
-
ActionContextStoreSourceInstance.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
176
|
+
ActionContextStoreSourceInstance.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: ActionContextStoreSourceInstance, deps: [{ token: ActionContextStoreSource }], target: i0.ɵɵFactoryTarget.Directive });
|
|
177
|
+
ActionContextStoreSourceInstance.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: ActionContextStoreSourceInstance, ngImport: i0 });
|
|
178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: ActionContextStoreSourceInstance, decorators: [{
|
|
178
179
|
type: Directive
|
|
179
180
|
}], ctorParameters: function () { return [{ type: ActionContextStoreSource }]; } });
|
|
180
181
|
const actionContextStoreSourceInstanceFactory = (source) => {
|
|
@@ -203,7 +204,7 @@ function ProvideSecondaryActionStoreSource(sourceType) {
|
|
|
203
204
|
];
|
|
204
205
|
}
|
|
205
206
|
|
|
206
|
-
class
|
|
207
|
+
class DbxActionAutoModifyDirective extends AbstractSubscriptionDirective {
|
|
207
208
|
constructor(source) {
|
|
208
209
|
super();
|
|
209
210
|
this.source = source;
|
|
@@ -233,9 +234,9 @@ class DbNgxActionAutoModifyDirective extends AbstractSubscriptionDirective {
|
|
|
233
234
|
});
|
|
234
235
|
}
|
|
235
236
|
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
237
|
+
DbxActionAutoModifyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionAutoModifyDirective, deps: [{ token: ActionContextStoreSourceInstance, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
238
|
+
DbxActionAutoModifyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionAutoModifyDirective, selector: "[dbxActionAutoModify]", inputs: { autoModifyEnabled: ["dbxActionAutoModify", "autoModifyEnabled"] }, usesInheritance: true, ngImport: i0 });
|
|
239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionAutoModifyDirective, decorators: [{
|
|
239
240
|
type: Directive,
|
|
240
241
|
args: [{
|
|
241
242
|
selector: '[dbxActionAutoModify]',
|
|
@@ -254,9 +255,9 @@ const DEFAULT_THROTTLE_MS = 10 * 1000;
|
|
|
254
255
|
const DEFAULT_ERROR_THROTTLE_MS = 3 * 1000;
|
|
255
256
|
const MAX_ERRORS_TO_THROTTLE_ON = 6;
|
|
256
257
|
/**
|
|
257
|
-
* Extension of
|
|
258
|
+
* Extension of DbxActionTransitionSafetyDirective that automatically triggers the action periodically when it is in a modified state.
|
|
258
259
|
*/
|
|
259
|
-
class
|
|
260
|
+
class DbxActionAutoTriggerDirective extends AbstractSubscriptionDirective {
|
|
260
261
|
constructor(source) {
|
|
261
262
|
super();
|
|
262
263
|
this.source = source;
|
|
@@ -345,12 +346,12 @@ class DbNgxActionAutoTriggerDirective extends AbstractSubscriptionDirective {
|
|
|
345
346
|
});
|
|
346
347
|
}
|
|
347
348
|
}
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
349
|
+
DbxActionAutoTriggerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionAutoTriggerDirective, deps: [{ token: ActionContextStoreSourceInstance, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
350
|
+
DbxActionAutoTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionAutoTriggerDirective, selector: "dbxActionAutoTrigger, [dbxActionAutoTrigger]", inputs: { triggerEnabled: ["dbxActionAutoTrigger", "triggerEnabled"], triggerDebounce: "triggerDebounce", triggerThrottle: "triggerThrottle", triggerErrorThrottle: "triggerErrorThrottle", fastTrigger: "fastTrigger", instantTrigger: "instantTrigger", triggerLimit: "triggerLimit" }, usesInheritance: true, ngImport: i0 });
|
|
351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionAutoTriggerDirective, decorators: [{
|
|
351
352
|
type: Directive,
|
|
352
353
|
args: [{
|
|
353
|
-
selector: '[dbxActionAutoTrigger]',
|
|
354
|
+
selector: 'dbxActionAutoTrigger, [dbxActionAutoTrigger]',
|
|
354
355
|
}]
|
|
355
356
|
}], ctorParameters: function () {
|
|
356
357
|
return [{ type: ActionContextStoreSourceInstance, decorators: [{
|
|
@@ -376,7 +377,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
376
377
|
/**
|
|
377
378
|
* Directive that watches an observable for changes and sets the new value and modified states as necessary.
|
|
378
379
|
*/
|
|
379
|
-
class
|
|
380
|
+
class DbxActionAutoTriggerValueDirective {
|
|
380
381
|
constructor(source) {
|
|
381
382
|
this.source = source;
|
|
382
383
|
this._valueObs = new BehaviorSubject(EMPTY);
|
|
@@ -426,9 +427,9 @@ class DbNgxActionAutoTriggerValueDirective {
|
|
|
426
427
|
});
|
|
427
428
|
}
|
|
428
429
|
}
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
430
|
+
DbxActionAutoTriggerValueDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionAutoTriggerValueDirective, deps: [{ token: ActionContextStoreSourceInstance, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
431
|
+
DbxActionAutoTriggerValueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionAutoTriggerValueDirective, selector: "[dbxActionAutoTriggerValue]", inputs: { dbxActionAutoTriggerValue: "dbxActionAutoTriggerValue", dbxActionAutoTriggerModifiedNonEmptyValue: "dbxActionAutoTriggerModifiedNonEmptyValue", dbxActionAutoTriggerModified: "dbxActionAutoTriggerModified" }, ngImport: i0 });
|
|
432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionAutoTriggerValueDirective, decorators: [{
|
|
432
433
|
type: Directive,
|
|
433
434
|
args: [{
|
|
434
435
|
selector: '[dbxActionAutoTriggerValue]',
|
|
@@ -662,9 +663,9 @@ class ActionContextStore extends ComponentStore {
|
|
|
662
663
|
}, 2000);
|
|
663
664
|
}
|
|
664
665
|
}
|
|
665
|
-
ActionContextStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
666
|
-
ActionContextStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
667
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
666
|
+
ActionContextStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: ActionContextStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
667
|
+
ActionContextStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: ActionContextStore });
|
|
668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: ActionContextStore, decorators: [{
|
|
668
669
|
type: Injectable
|
|
669
670
|
}], ctorParameters: function () { return []; } });
|
|
670
671
|
|
|
@@ -716,9 +717,9 @@ class ActionContextBaseSource {
|
|
|
716
717
|
}
|
|
717
718
|
|
|
718
719
|
/**
|
|
719
|
-
* Provides an
|
|
720
|
+
* Provides an DbxActionContext.
|
|
720
721
|
*/
|
|
721
|
-
class
|
|
722
|
+
class DbxActionDirective extends ActionContextBaseSource {
|
|
722
723
|
constructor(inputSource) {
|
|
723
724
|
super(inputSource);
|
|
724
725
|
}
|
|
@@ -728,14 +729,14 @@ class DbNgxActionContextDirective extends ActionContextBaseSource {
|
|
|
728
729
|
});
|
|
729
730
|
}
|
|
730
731
|
}
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
732
|
+
DbxActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionDirective, deps: [{ token: SecondaryActionContextStoreSource, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
733
|
+
DbxActionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionDirective, selector: "dbx-action,[dbxAction],dbx-action-context,[dbxActionContext]", providers: ProvideActionStoreSource(DbxActionDirective), exportAs: ["action"], usesInheritance: true, ngImport: i0 });
|
|
734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionDirective, decorators: [{
|
|
734
735
|
type: Directive,
|
|
735
736
|
args: [{
|
|
736
|
-
selector: '[dbxActionContext]',
|
|
737
|
+
selector: 'dbx-action,[dbxAction],dbx-action-context,[dbxActionContext]',
|
|
737
738
|
exportAs: 'action',
|
|
738
|
-
providers: ProvideActionStoreSource(
|
|
739
|
+
providers: ProvideActionStoreSource(DbxActionDirective)
|
|
739
740
|
}]
|
|
740
741
|
}], ctorParameters: function () {
|
|
741
742
|
return [{ type: SecondaryActionContextStoreSource, decorators: [{
|
|
@@ -745,24 +746,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
745
746
|
}] }];
|
|
746
747
|
} });
|
|
747
748
|
|
|
748
|
-
class DbNgxActionComponent extends DbNgxActionContextDirective {
|
|
749
|
-
}
|
|
750
|
-
DbNgxActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbNgxActionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
751
|
-
DbNgxActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: DbNgxActionComponent, selector: "dbx-action", providers: ProvideActionStoreSource(DbNgxActionComponent), exportAs: ["action"], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
752
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DbNgxActionComponent, decorators: [{
|
|
753
|
-
type: Component,
|
|
754
|
-
args: [{
|
|
755
|
-
selector: 'dbx-action',
|
|
756
|
-
exportAs: 'action',
|
|
757
|
-
template: '<ng-content></ng-content>',
|
|
758
|
-
providers: ProvideActionStoreSource(DbNgxActionComponent)
|
|
759
|
-
}]
|
|
760
|
-
}] });
|
|
761
|
-
|
|
762
749
|
/**
|
|
763
|
-
* Directive that provides a
|
|
750
|
+
* Directive that provides a DbxActionSourceDirective that is passed in.
|
|
764
751
|
*/
|
|
765
|
-
class
|
|
752
|
+
class DbxActionSourceDirective {
|
|
766
753
|
constructor() {
|
|
767
754
|
this._source = new BehaviorSubject(undefined);
|
|
768
755
|
this.store$ = this._source.pipe(filterMaybe(), switchMap((x) => actionContextStoreSourcePipe(x.store$)));
|
|
@@ -780,13 +767,13 @@ class DbNgxActionSourceDirective {
|
|
|
780
767
|
this._source.next(source);
|
|
781
768
|
}
|
|
782
769
|
}
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
770
|
+
DbxActionSourceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
771
|
+
DbxActionSourceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionSourceDirective, selector: "[dbxActionSource]", inputs: { source: ["dbxActionSource", "source"] }, providers: ProvideSecondaryActionStoreSource(DbxActionSourceDirective), ngImport: i0 });
|
|
772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSourceDirective, decorators: [{
|
|
786
773
|
type: Directive,
|
|
787
774
|
args: [{
|
|
788
775
|
selector: '[dbxActionSource]',
|
|
789
|
-
providers: ProvideSecondaryActionStoreSource(
|
|
776
|
+
providers: ProvideSecondaryActionStoreSource(DbxActionSourceDirective)
|
|
790
777
|
}]
|
|
791
778
|
}], propDecorators: { source: [{
|
|
792
779
|
type: Input,
|
|
@@ -796,7 +783,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
796
783
|
/**
|
|
797
784
|
* Prints out the current state to the console. Useful for debugging.
|
|
798
785
|
*/
|
|
799
|
-
class
|
|
786
|
+
class DbxActionContextLoggerDirective extends AbstractSubscriptionDirective {
|
|
800
787
|
constructor(source) {
|
|
801
788
|
super();
|
|
802
789
|
this.source = source;
|
|
@@ -807,12 +794,12 @@ class DbNgxActionContextLoggerDirective extends AbstractSubscriptionDirective {
|
|
|
807
794
|
});
|
|
808
795
|
}
|
|
809
796
|
}
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
797
|
+
DbxActionContextLoggerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionContextLoggerDirective, deps: [{ token: ActionContextStoreSourceInstance, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
798
|
+
DbxActionContextLoggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionContextLoggerDirective, selector: "[dbxActionLogger],[dbxActionContextLogger]", usesInheritance: true, ngImport: i0 });
|
|
799
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionContextLoggerDirective, decorators: [{
|
|
813
800
|
type: Directive,
|
|
814
801
|
args: [{
|
|
815
|
-
selector: '[dbxActionContextLogger]'
|
|
802
|
+
selector: '[dbxActionLogger],[dbxActionContextLogger]'
|
|
816
803
|
}]
|
|
817
804
|
}], ctorParameters: function () {
|
|
818
805
|
return [{ type: ActionContextStoreSourceInstance, decorators: [{
|
|
@@ -825,7 +812,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
825
812
|
*
|
|
826
813
|
* This is useful for passing action contexts around via the providers instead of explicit injection.
|
|
827
814
|
*/
|
|
828
|
-
class
|
|
815
|
+
class DbxActionContextMapDirective {
|
|
829
816
|
constructor() {
|
|
830
817
|
this._map = new BehaviorSubject(new Map());
|
|
831
818
|
this.map$ = this._map.asObservable();
|
|
@@ -835,7 +822,7 @@ class DbNgxActionContextMapDirective {
|
|
|
835
822
|
return this._map.value;
|
|
836
823
|
}
|
|
837
824
|
sourceForKey(key) {
|
|
838
|
-
return new
|
|
825
|
+
return new DbxActionContextMapDirectiveSourceInstance(this, key);
|
|
839
826
|
}
|
|
840
827
|
addStoreSource(key, source) {
|
|
841
828
|
if (this.map.has(key)) {
|
|
@@ -867,9 +854,9 @@ class DbNgxActionContextMapDirective {
|
|
|
867
854
|
return this.map$.pipe(switchMap(combineLatestFromMapValuesObsFn((x) => x.store$.pipe(switchMap(mapFn)))));
|
|
868
855
|
}
|
|
869
856
|
}
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
857
|
+
DbxActionContextMapDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionContextMapDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
858
|
+
DbxActionContextMapDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionContextMapDirective, selector: "[dbxActionContextMap]", providers: [], exportAs: ["actionMap"], ngImport: i0 });
|
|
859
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionContextMapDirective, decorators: [{
|
|
873
860
|
type: Directive,
|
|
874
861
|
args: [{
|
|
875
862
|
selector: '[dbxActionContextMap]',
|
|
@@ -877,7 +864,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
877
864
|
providers: [],
|
|
878
865
|
}]
|
|
879
866
|
}], ctorParameters: function () { return []; } });
|
|
880
|
-
class
|
|
867
|
+
class DbxActionContextMapDirectiveSourceInstance {
|
|
881
868
|
constructor(parent, key) {
|
|
882
869
|
this.parent = parent;
|
|
883
870
|
this.key = key;
|
|
@@ -888,9 +875,9 @@ class DbNgxActionContextMapDirectiveSourceInstance {
|
|
|
888
875
|
}
|
|
889
876
|
|
|
890
877
|
/**
|
|
891
|
-
* Directive that provides a ActionContextStoreSource using the input key and
|
|
878
|
+
* Directive that provides a ActionContextStoreSource using the input key and DbxActionContextMapDirective.
|
|
892
879
|
*/
|
|
893
|
-
class
|
|
880
|
+
class DbxActionFromMapDirective {
|
|
894
881
|
constructor(_map) {
|
|
895
882
|
this._map = _map;
|
|
896
883
|
this._key = new BehaviorSubject(undefined);
|
|
@@ -906,15 +893,15 @@ class DbNgxActionFromMapDirective {
|
|
|
906
893
|
this._key.next(key);
|
|
907
894
|
}
|
|
908
895
|
}
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
896
|
+
DbxActionFromMapDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionFromMapDirective, deps: [{ token: DbxActionContextMapDirective }], target: i0.ɵɵFactoryTarget.Directive });
|
|
897
|
+
DbxActionFromMapDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionFromMapDirective, selector: "[dbxActionFromMap]", inputs: { key: ["dbxActionFromMap", "key"] }, providers: ProvideSecondaryActionStoreSource(DbxActionFromMapDirective), ngImport: i0 });
|
|
898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionFromMapDirective, decorators: [{
|
|
912
899
|
type: Directive,
|
|
913
900
|
args: [{
|
|
914
901
|
selector: '[dbxActionFromMap]',
|
|
915
|
-
providers: ProvideSecondaryActionStoreSource(
|
|
902
|
+
providers: ProvideSecondaryActionStoreSource(DbxActionFromMapDirective)
|
|
916
903
|
}]
|
|
917
|
-
}], ctorParameters: function () { return [{ type:
|
|
904
|
+
}], ctorParameters: function () { return [{ type: DbxActionContextMapDirective }]; }, propDecorators: { key: [{
|
|
918
905
|
type: Input,
|
|
919
906
|
args: ['dbxActionFromMap']
|
|
920
907
|
}] } });
|
|
@@ -922,7 +909,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
922
909
|
/**
|
|
923
910
|
* Used to communicate with an dbxActionMap and set the ActionContextStore to the store based on the key.
|
|
924
911
|
*/
|
|
925
|
-
class
|
|
912
|
+
class DbxActionMapSourceDirective {
|
|
926
913
|
constructor(source, _map) {
|
|
927
914
|
this.source = source;
|
|
928
915
|
this._map = _map;
|
|
@@ -948,9 +935,9 @@ class DbNgxActionMapSourceDirective {
|
|
|
948
935
|
}
|
|
949
936
|
}
|
|
950
937
|
}
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
938
|
+
DbxActionMapSourceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionMapSourceDirective, deps: [{ token: ActionContextStoreSource, host: true }, { token: DbxActionContextMapDirective }], target: i0.ɵɵFactoryTarget.Directive });
|
|
939
|
+
DbxActionMapSourceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionMapSourceDirective, selector: "[dbxActionMapSource]", inputs: { key: ["dbxActionMapSource", "key"] }, ngImport: i0 });
|
|
940
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionMapSourceDirective, decorators: [{
|
|
954
941
|
type: Directive,
|
|
955
942
|
args: [{
|
|
956
943
|
selector: '[dbxActionMapSource]'
|
|
@@ -958,7 +945,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
958
945
|
}], ctorParameters: function () {
|
|
959
946
|
return [{ type: ActionContextStoreSource, decorators: [{
|
|
960
947
|
type: Host
|
|
961
|
-
}] }, { type:
|
|
948
|
+
}] }, { type: DbxActionContextMapDirective }];
|
|
962
949
|
}, propDecorators: { key: [{
|
|
963
950
|
type: Input,
|
|
964
951
|
args: ['dbxActionMapSource']
|
|
@@ -970,11 +957,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
970
957
|
class ActionContextStoreSourceMap {
|
|
971
958
|
}
|
|
972
959
|
|
|
973
|
-
const DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY = '';
|
|
960
|
+
const DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY = '__disabled';
|
|
974
961
|
/**
|
|
975
962
|
* Used to communicate with an dbxActionMap and set the ActionContextStore to be disabled if any other element in the map is working.
|
|
976
963
|
*/
|
|
977
|
-
class
|
|
964
|
+
class DbxActionMapWorkingDisableDirective extends AbstractSubscriptionDirective {
|
|
978
965
|
constructor(source, _map) {
|
|
979
966
|
super();
|
|
980
967
|
this.source = source;
|
|
@@ -990,9 +977,9 @@ class DbNgxActionMapWorkingDisableDirective extends AbstractSubscriptionDirectiv
|
|
|
990
977
|
this.source.enable(this.disabledKey || DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY);
|
|
991
978
|
}
|
|
992
979
|
}
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
980
|
+
DbxActionMapWorkingDisableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionMapWorkingDisableDirective, deps: [{ token: ActionContextStoreSourceInstance, host: true }, { token: DbxActionContextMapDirective }], target: i0.ɵɵFactoryTarget.Directive });
|
|
981
|
+
DbxActionMapWorkingDisableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionMapWorkingDisableDirective, selector: "[dbxActionMapWorkingDisable]", inputs: { disabledKey: ["dbxActionMapWorkingDisable", "disabledKey"] }, usesInheritance: true, ngImport: i0 });
|
|
982
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionMapWorkingDisableDirective, decorators: [{
|
|
996
983
|
type: Directive,
|
|
997
984
|
args: [{
|
|
998
985
|
selector: '[dbxActionMapWorkingDisable]'
|
|
@@ -1000,7 +987,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1000
987
|
}], ctorParameters: function () {
|
|
1001
988
|
return [{ type: ActionContextStoreSourceInstance, decorators: [{
|
|
1002
989
|
type: Host
|
|
1003
|
-
}] }, { type:
|
|
990
|
+
}] }, { type: DbxActionContextMapDirective }];
|
|
1004
991
|
}, propDecorators: { disabledKey: [{
|
|
1005
992
|
type: Input,
|
|
1006
993
|
args: ['dbxActionMapWorkingDisable']
|
|
@@ -1010,7 +997,7 @@ const APP_ACTION_DISABLED_DIRECTIVE_KEY = 'dbx_action_disabled';
|
|
|
1010
997
|
/**
|
|
1011
998
|
* Directive that allows disabling an action using the inputs.
|
|
1012
999
|
*/
|
|
1013
|
-
class
|
|
1000
|
+
class DbxActionDisabledDirective extends AbstractSubscriptionDirective {
|
|
1014
1001
|
constructor(source) {
|
|
1015
1002
|
super();
|
|
1016
1003
|
this.source = source;
|
|
@@ -1034,9 +1021,9 @@ class DbNgxActionDisabledDirective extends AbstractSubscriptionDirective {
|
|
|
1034
1021
|
this._disabled.next(disabled);
|
|
1035
1022
|
}
|
|
1036
1023
|
}
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1024
|
+
DbxActionDisabledDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionDisabledDirective, deps: [{ token: ActionContextStoreSourceInstance, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1025
|
+
DbxActionDisabledDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionDisabledDirective, selector: "[dbxActionDisabled]", inputs: { disabled: ["dbxActionDisabled", "disabled"] }, usesInheritance: true, ngImport: i0 });
|
|
1026
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionDisabledDirective, decorators: [{
|
|
1040
1027
|
type: Directive,
|
|
1041
1028
|
args: [{
|
|
1042
1029
|
selector: '[dbxActionDisabled]'
|
|
@@ -1054,7 +1041,7 @@ const APP_ACTION_DISABLED_UNTIL_MODIFIED_DIRECTIVE_KEY = 'dbx_action_is_not_modi
|
|
|
1054
1041
|
/**
|
|
1055
1042
|
* Directive that sets the disabled state based on the current isModified state.
|
|
1056
1043
|
*/
|
|
1057
|
-
class
|
|
1044
|
+
class DbxActionDisabledUntilModifiedDirective extends AbstractSubscriptionDirective {
|
|
1058
1045
|
constructor(source) {
|
|
1059
1046
|
super();
|
|
1060
1047
|
this.source = source;
|
|
@@ -1069,9 +1056,9 @@ class DbNgxActionDisabledUntilModifiedDirective extends AbstractSubscriptionDire
|
|
|
1069
1056
|
this.source.enable(APP_ACTION_DISABLED_UNTIL_MODIFIED_DIRECTIVE_KEY);
|
|
1070
1057
|
}
|
|
1071
1058
|
}
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1059
|
+
DbxActionDisabledUntilModifiedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionDisabledUntilModifiedDirective, deps: [{ token: ActionContextStoreSourceInstance, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1060
|
+
DbxActionDisabledUntilModifiedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionDisabledUntilModifiedDirective, selector: "[dbxActionDisabledUntilModified]", usesInheritance: true, ngImport: i0 });
|
|
1061
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionDisabledUntilModifiedDirective, decorators: [{
|
|
1075
1062
|
type: Directive,
|
|
1076
1063
|
args: [{
|
|
1077
1064
|
selector: '[dbxActionDisabledUntilModified]'
|
|
@@ -1100,7 +1087,7 @@ class WorkHandlerContextSourceDelegate {
|
|
|
1100
1087
|
}
|
|
1101
1088
|
}
|
|
1102
1089
|
/**
|
|
1103
|
-
* Used by
|
|
1090
|
+
* Used by DbxActionHandlerDirective when handling a function.
|
|
1104
1091
|
*/
|
|
1105
1092
|
class WorkHandlerContext {
|
|
1106
1093
|
constructor(value, delegate) {
|
|
@@ -1225,7 +1212,7 @@ function handleWorkValueReadyFn({ handlerFunction, delegate }) {
|
|
|
1225
1212
|
/**
|
|
1226
1213
|
* Context used for defining a function that performs an action using the input function on ValueReady.
|
|
1227
1214
|
*/
|
|
1228
|
-
class
|
|
1215
|
+
class DbxActionHandlerDirective extends AbstractSubscriptionDirective {
|
|
1229
1216
|
constructor(source) {
|
|
1230
1217
|
super();
|
|
1231
1218
|
this.source = source;
|
|
@@ -1254,9 +1241,9 @@ class DbNgxActionHandlerDirective extends AbstractSubscriptionDirective {
|
|
|
1254
1241
|
});
|
|
1255
1242
|
}
|
|
1256
1243
|
}
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1244
|
+
DbxActionHandlerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionHandlerDirective, deps: [{ token: ActionContextStoreSourceInstance, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1245
|
+
DbxActionHandlerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionHandlerDirective, selector: "[dbxActionHandler]", inputs: { handlerFunction: ["dbxActionHandler", "handlerFunction"] }, usesInheritance: true, ngImport: i0 });
|
|
1246
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionHandlerDirective, decorators: [{
|
|
1260
1247
|
type: Directive,
|
|
1261
1248
|
args: [{
|
|
1262
1249
|
selector: '[dbxActionHandler]',
|
|
@@ -1275,7 +1262,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1275
1262
|
*
|
|
1276
1263
|
* Can be configured to show for a limited time afterwards, etc.
|
|
1277
1264
|
*/
|
|
1278
|
-
class
|
|
1265
|
+
class DbxActionSuccessComponent {
|
|
1279
1266
|
constructor(source) {
|
|
1280
1267
|
this.source = source;
|
|
1281
1268
|
this.show$ = this.source.isSuccess$.pipe(exhaustMap((success) => {
|
|
@@ -1293,13 +1280,13 @@ class DbNgxActionSuccessComponent {
|
|
|
1293
1280
|
}), shareReplay(1));
|
|
1294
1281
|
}
|
|
1295
1282
|
}
|
|
1296
|
-
|
|
1297
|
-
|
|
1283
|
+
DbxActionSuccessComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSuccessComponent, deps: [{ token: ActionContextStoreSourceInstance }], target: i0.ɵɵFactoryTarget.Component });
|
|
1284
|
+
DbxActionSuccessComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionSuccessComponent, selector: "dbx-action-success", inputs: { hideAfter: "hideAfter" }, ngImport: i0, template: `
|
|
1298
1285
|
<ng-container *ngIf="show$ | async">
|
|
1299
1286
|
<ng-content></ng-content>
|
|
1300
1287
|
</ng-container>
|
|
1301
1288
|
`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe } });
|
|
1302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSuccessComponent, decorators: [{
|
|
1303
1290
|
type: Component,
|
|
1304
1291
|
args: [{
|
|
1305
1292
|
selector: 'dbx-action-success',
|
|
@@ -1316,7 +1303,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1316
1303
|
/**
|
|
1317
1304
|
* Directive that executes a function on ActionContextStore Success.
|
|
1318
1305
|
*/
|
|
1319
|
-
class
|
|
1306
|
+
class DbxActionSuccessDirective extends AbstractSubscriptionDirective {
|
|
1320
1307
|
constructor(source) {
|
|
1321
1308
|
super();
|
|
1322
1309
|
this.source = source;
|
|
@@ -1339,9 +1326,9 @@ class DbNgxActionSuccessDirective extends AbstractSubscriptionDirective {
|
|
|
1339
1326
|
this._successFunction.complete();
|
|
1340
1327
|
}
|
|
1341
1328
|
}
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1329
|
+
DbxActionSuccessDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSuccessDirective, deps: [{ token: ActionContextStoreSourceInstance, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1330
|
+
DbxActionSuccessDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionSuccessDirective, selector: "[dbxActionSuccess]", inputs: { successFunction: ["dbxActionSuccess", "successFunction"] }, usesInheritance: true, ngImport: i0 });
|
|
1331
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionSuccessDirective, decorators: [{
|
|
1345
1332
|
type: Directive,
|
|
1346
1333
|
args: [{
|
|
1347
1334
|
selector: '[dbxActionSuccess]',
|
|
@@ -1360,7 +1347,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1360
1347
|
*
|
|
1361
1348
|
* No value is required, allowing the directive to automatically call readyValue with undefined.
|
|
1362
1349
|
*/
|
|
1363
|
-
class
|
|
1350
|
+
class DbxActionValueDirective extends AbstractSubscriptionDirective {
|
|
1364
1351
|
constructor(source) {
|
|
1365
1352
|
super();
|
|
1366
1353
|
this.source = source;
|
|
@@ -1384,9 +1371,9 @@ class DbNgxActionValueDirective extends AbstractSubscriptionDirective {
|
|
|
1384
1371
|
this._valueOrFunction.complete();
|
|
1385
1372
|
}
|
|
1386
1373
|
}
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1374
|
+
DbxActionValueDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionValueDirective, deps: [{ token: ActionContextStoreSourceInstance, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1375
|
+
DbxActionValueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionValueDirective, selector: "[dbxActionValue]", inputs: { valueOrFunction: ["dbxActionValue", "valueOrFunction"] }, usesInheritance: true, ngImport: i0 });
|
|
1376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionValueDirective, decorators: [{
|
|
1390
1377
|
type: Directive,
|
|
1391
1378
|
args: [{
|
|
1392
1379
|
selector: '[dbxActionValue]',
|
|
@@ -1403,19 +1390,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1403
1390
|
/**
|
|
1404
1391
|
* Displays the input content when working is set.
|
|
1405
1392
|
*/
|
|
1406
|
-
class
|
|
1393
|
+
class DbxActionWorkingComponent {
|
|
1407
1394
|
constructor(source) {
|
|
1408
1395
|
this.source = source;
|
|
1409
1396
|
this.show$ = this.source.isWorking$;
|
|
1410
1397
|
}
|
|
1411
1398
|
}
|
|
1412
|
-
|
|
1413
|
-
|
|
1399
|
+
DbxActionWorkingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionWorkingComponent, deps: [{ token: ActionContextStoreSourceInstance }], target: i0.ɵɵFactoryTarget.Component });
|
|
1400
|
+
DbxActionWorkingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionWorkingComponent, selector: "dbx-action-working", ngImport: i0, template: `
|
|
1414
1401
|
<ng-container *ngIf="show$ | async">
|
|
1415
1402
|
<ng-content></ng-content>
|
|
1416
1403
|
</ng-container>
|
|
1417
1404
|
`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe } });
|
|
1418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionWorkingComponent, decorators: [{
|
|
1419
1406
|
type: Component,
|
|
1420
1407
|
args: [{
|
|
1421
1408
|
selector: 'dbx-action-working',
|
|
@@ -1485,53 +1472,53 @@ class ActionContextMachine extends ActionContextBaseSource {
|
|
|
1485
1472
|
}
|
|
1486
1473
|
}
|
|
1487
1474
|
|
|
1488
|
-
class
|
|
1475
|
+
class DbxCoreActionModule {
|
|
1489
1476
|
}
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1477
|
+
DbxCoreActionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreActionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1478
|
+
DbxCoreActionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreActionModule, declarations: [DbxActionDirective, DbxActionContextMapDirective, DbxActionFromMapDirective, DbxActionMapSourceDirective,
|
|
1479
|
+
DbxActionMapWorkingDisableDirective, DbxActionSourceDirective, DbxActionHandlerDirective, DbxActionDisabledDirective, DbxActionDisabledUntilModifiedDirective,
|
|
1480
|
+
DbxActionAutoTriggerDirective, DbxActionAutoTriggerValueDirective, DbxActionAutoModifyDirective, DbxActionValueDirective, DbxActionContextLoggerDirective,
|
|
1481
|
+
DbxActionSuccessComponent, DbxActionSuccessDirective, DbxActionWorkingComponent], imports: [CommonModule], exports: [DbxActionDirective, DbxActionContextMapDirective, DbxActionFromMapDirective, DbxActionMapSourceDirective,
|
|
1482
|
+
DbxActionMapWorkingDisableDirective, DbxActionSourceDirective, DbxActionHandlerDirective, DbxActionDisabledDirective, DbxActionDisabledUntilModifiedDirective,
|
|
1483
|
+
DbxActionAutoTriggerDirective, DbxActionAutoTriggerValueDirective, DbxActionAutoModifyDirective, DbxActionValueDirective, DbxActionContextLoggerDirective,
|
|
1484
|
+
DbxActionSuccessComponent, DbxActionSuccessDirective, DbxActionWorkingComponent] });
|
|
1485
|
+
DbxCoreActionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreActionModule, imports: [[
|
|
1499
1486
|
CommonModule
|
|
1500
1487
|
]] });
|
|
1501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1488
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreActionModule, decorators: [{
|
|
1502
1489
|
type: NgModule,
|
|
1503
1490
|
args: [{
|
|
1504
1491
|
imports: [
|
|
1505
1492
|
CommonModule
|
|
1506
1493
|
],
|
|
1507
1494
|
declarations: [
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1495
|
+
DbxActionDirective, DbxActionContextMapDirective, DbxActionFromMapDirective, DbxActionMapSourceDirective,
|
|
1496
|
+
DbxActionMapWorkingDisableDirective, DbxActionSourceDirective, DbxActionHandlerDirective, DbxActionDisabledDirective, DbxActionDisabledUntilModifiedDirective,
|
|
1497
|
+
DbxActionAutoTriggerDirective, DbxActionAutoTriggerValueDirective, DbxActionAutoModifyDirective, DbxActionValueDirective, DbxActionContextLoggerDirective,
|
|
1498
|
+
DbxActionSuccessComponent, DbxActionSuccessDirective, DbxActionWorkingComponent
|
|
1512
1499
|
],
|
|
1513
1500
|
exports: [
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1501
|
+
DbxActionDirective, DbxActionContextMapDirective, DbxActionFromMapDirective, DbxActionMapSourceDirective,
|
|
1502
|
+
DbxActionMapWorkingDisableDirective, DbxActionSourceDirective, DbxActionHandlerDirective, DbxActionDisabledDirective, DbxActionDisabledUntilModifiedDirective,
|
|
1503
|
+
DbxActionAutoTriggerDirective, DbxActionAutoTriggerValueDirective, DbxActionAutoModifyDirective, DbxActionValueDirective, DbxActionContextLoggerDirective,
|
|
1504
|
+
DbxActionSuccessComponent, DbxActionSuccessDirective, DbxActionWorkingComponent
|
|
1518
1505
|
]
|
|
1519
1506
|
}]
|
|
1520
1507
|
}] });
|
|
1521
1508
|
|
|
1522
|
-
class
|
|
1509
|
+
class DbxButton {
|
|
1523
1510
|
}
|
|
1524
|
-
function
|
|
1511
|
+
function ProvideDbxButton(sourceType) {
|
|
1525
1512
|
return [{
|
|
1526
|
-
provide:
|
|
1527
|
-
useExisting: sourceType
|
|
1513
|
+
provide: DbxButton,
|
|
1514
|
+
useExisting: forwardRef(() => sourceType)
|
|
1528
1515
|
}];
|
|
1529
1516
|
}
|
|
1530
1517
|
|
|
1531
1518
|
/**
|
|
1532
1519
|
* Context used for linking a button to an ActionContext and only look for triggers.
|
|
1533
1520
|
*/
|
|
1534
|
-
class
|
|
1521
|
+
class DbxActionButtonTriggerDirective extends AbstractSubscriptionDirective {
|
|
1535
1522
|
constructor(button, source) {
|
|
1536
1523
|
super();
|
|
1537
1524
|
this.button = button;
|
|
@@ -1546,15 +1533,15 @@ class DbNgxActionButtonTriggerDirective extends AbstractSubscriptionDirective {
|
|
|
1546
1533
|
this.source.trigger();
|
|
1547
1534
|
}
|
|
1548
1535
|
}
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1536
|
+
DbxActionButtonTriggerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionButtonTriggerDirective, deps: [{ token: DbxButton, host: true }, { token: ActionContextStoreSourceInstance }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1537
|
+
DbxActionButtonTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionButtonTriggerDirective, selector: "[dbxActionButtonTrigger]", usesInheritance: true, ngImport: i0 });
|
|
1538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionButtonTriggerDirective, decorators: [{
|
|
1552
1539
|
type: Directive,
|
|
1553
1540
|
args: [{
|
|
1554
1541
|
selector: '[dbxActionButtonTrigger]'
|
|
1555
1542
|
}]
|
|
1556
1543
|
}], ctorParameters: function () {
|
|
1557
|
-
return [{ type:
|
|
1544
|
+
return [{ type: DbxButton, decorators: [{
|
|
1558
1545
|
type: Host
|
|
1559
1546
|
}] }, { type: ActionContextStoreSourceInstance }];
|
|
1560
1547
|
} });
|
|
@@ -1562,7 +1549,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1562
1549
|
/**
|
|
1563
1550
|
* Context used for linking a button to an ActionContext.
|
|
1564
1551
|
*/
|
|
1565
|
-
class
|
|
1552
|
+
class DbxActionButtonDirective extends DbxActionButtonTriggerDirective {
|
|
1566
1553
|
constructor(button, source, ngZone) {
|
|
1567
1554
|
super(button, source);
|
|
1568
1555
|
this.ngZone = ngZone;
|
|
@@ -1586,64 +1573,90 @@ class DbNgxActionButtonDirective extends DbNgxActionButtonTriggerDirective {
|
|
|
1586
1573
|
this._disabledSub.destroy();
|
|
1587
1574
|
}
|
|
1588
1575
|
}
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1576
|
+
DbxActionButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionButtonDirective, deps: [{ token: DbxButton, host: true }, { token: ActionContextStoreSourceInstance }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1577
|
+
DbxActionButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxActionButtonDirective, selector: "[dbxActionButton]", usesInheritance: true, ngImport: i0 });
|
|
1578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxActionButtonDirective, decorators: [{
|
|
1592
1579
|
type: Directive,
|
|
1593
1580
|
args: [{
|
|
1594
1581
|
selector: '[dbxActionButton]'
|
|
1595
1582
|
}]
|
|
1596
1583
|
}], ctorParameters: function () {
|
|
1597
|
-
return [{ type:
|
|
1584
|
+
return [{ type: DbxButton, decorators: [{
|
|
1598
1585
|
type: Host
|
|
1599
1586
|
}] }, { type: ActionContextStoreSourceInstance }, { type: i0.NgZone }];
|
|
1600
1587
|
} });
|
|
1601
1588
|
|
|
1589
|
+
const expandClickableAnchorLinkTreeNode = expandTreeFunction({
|
|
1590
|
+
getChildren: (x) => x.children
|
|
1591
|
+
});
|
|
1592
|
+
const flattenExpandedClickableAnchorLinkTree = flattenTreeToArrayFunction();
|
|
1593
|
+
const flattenExpandedClickableAnchorLinkTreeToLinks = flattenTreeToArrayFunction((x) => x.value);
|
|
1594
|
+
/**
|
|
1595
|
+
* Fully expands the given parent link and flattens the tree to a single parent link.
|
|
1596
|
+
*
|
|
1597
|
+
* @param link
|
|
1598
|
+
* @returns
|
|
1599
|
+
*/
|
|
1600
|
+
function expandClickableAnchorLinkTree(link) {
|
|
1601
|
+
return flattenExpandedClickableAnchorLinkTree(expandClickableAnchorLinkTreeNode(link));
|
|
1602
|
+
}
|
|
1603
|
+
/**
|
|
1604
|
+
* Expands an array of links into an array of ExpandedClickableAnchorLinkTree tree values.
|
|
1605
|
+
*/
|
|
1606
|
+
const expandClickableAnchorLinkTrees = expandFlattenTreeFunction(expandClickableAnchorLinkTreeNode, flattenExpandedClickableAnchorLinkTree);
|
|
1602
1607
|
var AnchorType;
|
|
1603
1608
|
(function (AnchorType) {
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
+
/**
|
|
1610
|
+
* When the anchor has no specific content but is not disabled.
|
|
1611
|
+
*
|
|
1612
|
+
* Is a passthrough for the content.
|
|
1613
|
+
*/
|
|
1614
|
+
AnchorType[AnchorType["PLAIN"] = 0] = "PLAIN";
|
|
1615
|
+
AnchorType[AnchorType["CLICKABLE"] = 1] = "CLICKABLE";
|
|
1616
|
+
AnchorType[AnchorType["SREF"] = 2] = "SREF";
|
|
1617
|
+
AnchorType[AnchorType["HREF"] = 3] = "HREF";
|
|
1618
|
+
AnchorType[AnchorType["DISABLED"] = 4] = "DISABLED";
|
|
1609
1619
|
})(AnchorType || (AnchorType = {}));
|
|
1610
1620
|
function anchorTypeForAnchor(anchor, disabled) {
|
|
1611
|
-
let type = AnchorType.
|
|
1621
|
+
let type = AnchorType.DISABLED;
|
|
1612
1622
|
if (!disabled && anchor) {
|
|
1613
1623
|
if (anchor.disabled) {
|
|
1614
|
-
type = AnchorType.
|
|
1624
|
+
type = AnchorType.DISABLED;
|
|
1615
1625
|
}
|
|
1616
1626
|
else if (anchor.ref) {
|
|
1617
|
-
type = AnchorType.
|
|
1627
|
+
type = AnchorType.SREF;
|
|
1618
1628
|
}
|
|
1619
1629
|
else if (anchor.onClick) {
|
|
1620
|
-
type = AnchorType.
|
|
1630
|
+
type = AnchorType.CLICKABLE;
|
|
1621
1631
|
}
|
|
1622
1632
|
else if (anchor.url) {
|
|
1623
|
-
type = AnchorType.
|
|
1633
|
+
type = AnchorType.HREF;
|
|
1634
|
+
}
|
|
1635
|
+
else {
|
|
1636
|
+
type = AnchorType.PLAIN;
|
|
1624
1637
|
}
|
|
1625
1638
|
}
|
|
1626
1639
|
return type;
|
|
1627
1640
|
}
|
|
1628
|
-
class
|
|
1641
|
+
class DbxAnchor {
|
|
1629
1642
|
}
|
|
1630
|
-
function
|
|
1643
|
+
function ProvideDbxAnchor(sourceType) {
|
|
1631
1644
|
return [{
|
|
1632
|
-
provide:
|
|
1633
|
-
useExisting: sourceType
|
|
1645
|
+
provide: DbxAnchor,
|
|
1646
|
+
useExisting: forwardRef(() => sourceType)
|
|
1634
1647
|
}];
|
|
1635
1648
|
}
|
|
1636
1649
|
|
|
1637
1650
|
/**
|
|
1638
1651
|
* Abstract anchor directive.
|
|
1639
1652
|
*/
|
|
1640
|
-
class
|
|
1653
|
+
class AbstractDbxAnchorDirective {
|
|
1641
1654
|
constructor() {
|
|
1642
1655
|
this._disabled = new BehaviorSubject(false);
|
|
1643
1656
|
this._anchor = new BehaviorSubject(undefined);
|
|
1644
1657
|
this.disabled$ = this._disabled.asObservable();
|
|
1645
1658
|
this.anchor$ = this._anchor.pipe(skipFirstMaybe(), distinctUntilChanged(), shareReplay(1));
|
|
1646
|
-
this.type$ = combineLatest([this.disabled$, this.anchor$]).pipe(map(([disabled, anchor]) => anchorTypeForAnchor(anchor, disabled)), distinctUntilChanged(), shareReplay(1));
|
|
1659
|
+
this.type$ = combineLatest([this.disabled$, this.anchor$]).pipe(delay$1(0), map(([disabled, anchor]) => anchorTypeForAnchor(anchor, disabled)), distinctUntilChanged(), shareReplay(1));
|
|
1647
1660
|
}
|
|
1648
1661
|
get anchor() {
|
|
1649
1662
|
return this._anchor.value;
|
|
@@ -1658,9 +1671,9 @@ class AbstractDbNgxAnchorDirective {
|
|
|
1658
1671
|
this._disabled.next(disabled);
|
|
1659
1672
|
}
|
|
1660
1673
|
}
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1674
|
+
AbstractDbxAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxAnchorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1675
|
+
AbstractDbxAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractDbxAnchorDirective, inputs: { anchor: "anchor", disabled: "disabled" }, ngImport: i0 });
|
|
1676
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxAnchorDirective, decorators: [{
|
|
1664
1677
|
type: Directive
|
|
1665
1678
|
}], propDecorators: { anchor: [{
|
|
1666
1679
|
type: Input
|
|
@@ -1668,22 +1681,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1668
1681
|
type: Input
|
|
1669
1682
|
}] } });
|
|
1670
1683
|
|
|
1671
|
-
var
|
|
1672
|
-
(function (
|
|
1684
|
+
var DbxRouterTransitionEventType;
|
|
1685
|
+
(function (DbxRouterTransitionEventType) {
|
|
1673
1686
|
/**
|
|
1674
1687
|
* A transition started.
|
|
1675
1688
|
*/
|
|
1676
|
-
|
|
1689
|
+
DbxRouterTransitionEventType["START"] = "start";
|
|
1677
1690
|
/**
|
|
1678
1691
|
* A transition ended.
|
|
1679
1692
|
*/
|
|
1680
|
-
|
|
1681
|
-
})(
|
|
1693
|
+
DbxRouterTransitionEventType["SUCCESS"] = "ended";
|
|
1694
|
+
})(DbxRouterTransitionEventType || (DbxRouterTransitionEventType = {}));
|
|
1682
1695
|
|
|
1683
1696
|
/**
|
|
1684
|
-
* AngularRouter implementation of
|
|
1697
|
+
* AngularRouter implementation of DbxRouterService and DbxRouterTransitionService.
|
|
1685
1698
|
*/
|
|
1686
|
-
class
|
|
1699
|
+
class DbxAngularRouterService {
|
|
1687
1700
|
constructor(router, activatedRoute) {
|
|
1688
1701
|
this.router = router;
|
|
1689
1702
|
this.activatedRoute = activatedRoute;
|
|
@@ -1691,12 +1704,12 @@ class DbNgxAngularRouterService {
|
|
|
1691
1704
|
let event;
|
|
1692
1705
|
if (x instanceof NavigationStart) {
|
|
1693
1706
|
event = {
|
|
1694
|
-
type:
|
|
1707
|
+
type: DbxRouterTransitionEventType.START
|
|
1695
1708
|
};
|
|
1696
1709
|
}
|
|
1697
1710
|
else if (x instanceof NavigationEnd) {
|
|
1698
1711
|
event = {
|
|
1699
|
-
type:
|
|
1712
|
+
type: DbxRouterTransitionEventType.SUCCESS
|
|
1700
1713
|
};
|
|
1701
1714
|
}
|
|
1702
1715
|
return event;
|
|
@@ -1711,55 +1724,98 @@ class DbNgxAngularRouterService {
|
|
|
1711
1724
|
return this.router.navigateByUrl(ref, Object.assign({}, segueRef.refOptions));
|
|
1712
1725
|
}
|
|
1713
1726
|
}
|
|
1727
|
+
isActive(segueRef) {
|
|
1728
|
+
return false; // TODO!
|
|
1729
|
+
}
|
|
1730
|
+
comparePrecision(a, b) {
|
|
1731
|
+
return 0; // TODO!
|
|
1732
|
+
}
|
|
1714
1733
|
}
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1734
|
+
DbxAngularRouterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAngularRouterService, deps: [{ token: i1$1.Router }, { token: i1$1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1735
|
+
DbxAngularRouterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAngularRouterService });
|
|
1736
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxAngularRouterService, decorators: [{
|
|
1718
1737
|
type: Injectable
|
|
1719
1738
|
}], ctorParameters: function () { return [{ type: i1$1.Router }, { type: i1$1.ActivatedRoute }]; } });
|
|
1720
1739
|
|
|
1721
1740
|
/**
|
|
1722
1741
|
* Router service definition that can route the app and provide routing details.
|
|
1723
1742
|
*/
|
|
1724
|
-
class
|
|
1743
|
+
class DbxRouterService {
|
|
1725
1744
|
}
|
|
1726
1745
|
|
|
1727
1746
|
/**
|
|
1728
1747
|
* Router service definition that provides high level information about router transitions.
|
|
1729
1748
|
*/
|
|
1730
|
-
class
|
|
1749
|
+
class DbxRouterTransitionService {
|
|
1731
1750
|
}
|
|
1732
1751
|
|
|
1733
|
-
class
|
|
1752
|
+
class DbxCoreAngularRouterSegueModule {
|
|
1734
1753
|
static forRoot() {
|
|
1735
1754
|
return {
|
|
1736
|
-
ngModule:
|
|
1755
|
+
ngModule: DbxCoreAngularRouterSegueModule,
|
|
1737
1756
|
providers: [
|
|
1738
|
-
|
|
1757
|
+
DbxAngularRouterService,
|
|
1739
1758
|
{
|
|
1740
|
-
provide:
|
|
1741
|
-
useExisting:
|
|
1759
|
+
provide: DbxRouterService,
|
|
1760
|
+
useExisting: DbxAngularRouterService
|
|
1742
1761
|
},
|
|
1743
1762
|
{
|
|
1744
|
-
provide:
|
|
1745
|
-
useExisting:
|
|
1763
|
+
provide: DbxRouterTransitionService,
|
|
1764
|
+
useExisting: DbxAngularRouterService
|
|
1746
1765
|
}
|
|
1747
1766
|
]
|
|
1748
1767
|
};
|
|
1749
1768
|
}
|
|
1750
1769
|
}
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1770
|
+
DbxCoreAngularRouterSegueModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreAngularRouterSegueModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1771
|
+
DbxCoreAngularRouterSegueModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreAngularRouterSegueModule });
|
|
1772
|
+
DbxCoreAngularRouterSegueModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreAngularRouterSegueModule });
|
|
1773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreAngularRouterSegueModule, decorators: [{
|
|
1755
1774
|
type: NgModule,
|
|
1756
1775
|
args: [{}]
|
|
1757
1776
|
}] });
|
|
1758
1777
|
|
|
1759
1778
|
/**
|
|
1760
|
-
*
|
|
1779
|
+
* Used for creating a future state that also captures any children urls.
|
|
1780
|
+
*
|
|
1781
|
+
* This is important for cases, such as /, where multiple urls should target a specific future so that
|
|
1782
|
+
* it can load that module and continue route resolution for the child url.
|
|
1783
|
+
*
|
|
1784
|
+
* For example:
|
|
1785
|
+
* - the urls /a and /b are declared in a lazy loaded module that is for /. This presents a problem, since
|
|
1786
|
+
* the root module does not know how to handle /a or /b, since they are children of /. We use
|
|
1787
|
+
* futureStateWithChildrenUrls() to build a future state with the child urls so the parent routing knows where
|
|
1788
|
+
* to send /a or /b.
|
|
1789
|
+
*
|
|
1790
|
+
* @param state
|
|
1791
|
+
* @param urls
|
|
1792
|
+
* @returns
|
|
1793
|
+
*
|
|
1794
|
+
* @deprecated not how this feature works. Consider adding it to ui-router later then re-export this function.
|
|
1795
|
+
*/
|
|
1796
|
+
function futureStateWithChildrenUrls(state, urls) {
|
|
1797
|
+
const states = [state];
|
|
1798
|
+
mergeArrayIntoArray(states, expandFutureStateWithUrls(state, urls));
|
|
1799
|
+
return states;
|
|
1800
|
+
}
|
|
1801
|
+
/**
|
|
1802
|
+
* Copies the input state and replaces the url in each of them with the passed urls.
|
|
1803
|
+
*
|
|
1804
|
+
* @param state
|
|
1805
|
+
* @param urls
|
|
1806
|
+
* @returns
|
|
1807
|
+
*
|
|
1808
|
+
* @deprecated
|
|
1809
|
+
*/
|
|
1810
|
+
function expandFutureStateWithUrls(state, urls) {
|
|
1811
|
+
const childrenStates = objectFlatMergeMatrix(state, urls.map(url => ({ url })));
|
|
1812
|
+
return childrenStates;
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
/**
|
|
1816
|
+
* UIRouter implementation of DbxRouterService and DbxRouterTransitionService.
|
|
1761
1817
|
*/
|
|
1762
|
-
class
|
|
1818
|
+
class DbxUIRouterService {
|
|
1763
1819
|
constructor(state, transitionService, uiRouterGlobals) {
|
|
1764
1820
|
this.state = state;
|
|
1765
1821
|
this.transitionService = transitionService;
|
|
@@ -1772,60 +1828,103 @@ class DbNgxUIRouterService {
|
|
|
1772
1828
|
});
|
|
1773
1829
|
};
|
|
1774
1830
|
this.transitionService.onStart({}, () => {
|
|
1775
|
-
emitTransition(
|
|
1831
|
+
emitTransition(DbxRouterTransitionEventType.START);
|
|
1776
1832
|
});
|
|
1777
1833
|
this.transitionService.onSuccess({}, () => {
|
|
1778
|
-
emitTransition(
|
|
1834
|
+
emitTransition(DbxRouterTransitionEventType.SUCCESS);
|
|
1779
1835
|
});
|
|
1780
1836
|
}
|
|
1781
1837
|
go(segueRef) {
|
|
1782
1838
|
const params = Object.assign(Object.assign({}, this.uiRouterGlobals.current.params), segueRef.refParams);
|
|
1783
1839
|
return this.state.go(segueRef.ref, params, segueRef.refOptions).then(_ => true).catch(_ => false);
|
|
1784
1840
|
}
|
|
1841
|
+
isActive(segueRef) {
|
|
1842
|
+
const { ref, refParams } = segueRef;
|
|
1843
|
+
const targetRef = (ref.startsWith('.') ? `^${ref}` : ref);
|
|
1844
|
+
const active = this.state.includes(targetRef, refParams);
|
|
1845
|
+
return active;
|
|
1846
|
+
}
|
|
1847
|
+
comparePrecision(a, b) {
|
|
1848
|
+
const aLength = a.ref.length;
|
|
1849
|
+
const bLength = b.ref.length;
|
|
1850
|
+
return (aLength > bLength) ? 1 : (aLength === bLength) ? 0 : -1;
|
|
1851
|
+
}
|
|
1785
1852
|
}
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1853
|
+
DbxUIRouterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxUIRouterService, deps: [{ token: i1$2.StateService }, { token: i1$2.TransitionService }, { token: i1$2.UIRouterGlobals }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1854
|
+
DbxUIRouterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxUIRouterService });
|
|
1855
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxUIRouterService, decorators: [{
|
|
1789
1856
|
type: Injectable
|
|
1790
1857
|
}], ctorParameters: function () { return [{ type: i1$2.StateService }, { type: i1$2.TransitionService }, { type: i1$2.UIRouterGlobals }]; } });
|
|
1791
1858
|
|
|
1792
|
-
class
|
|
1859
|
+
class DbxCoreUIRouterSegueModule {
|
|
1793
1860
|
static forRoot() {
|
|
1794
1861
|
return {
|
|
1795
|
-
ngModule:
|
|
1862
|
+
ngModule: DbxCoreUIRouterSegueModule,
|
|
1796
1863
|
providers: [
|
|
1797
|
-
|
|
1864
|
+
DbxUIRouterService,
|
|
1798
1865
|
{
|
|
1799
|
-
provide:
|
|
1800
|
-
useExisting:
|
|
1866
|
+
provide: DbxRouterService,
|
|
1867
|
+
useExisting: DbxUIRouterService
|
|
1801
1868
|
},
|
|
1802
1869
|
{
|
|
1803
|
-
provide:
|
|
1804
|
-
useExisting:
|
|
1870
|
+
provide: DbxRouterTransitionService,
|
|
1871
|
+
useExisting: DbxUIRouterService
|
|
1805
1872
|
}
|
|
1806
1873
|
]
|
|
1807
1874
|
};
|
|
1808
1875
|
}
|
|
1809
1876
|
}
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1877
|
+
DbxCoreUIRouterSegueModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreUIRouterSegueModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1878
|
+
DbxCoreUIRouterSegueModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreUIRouterSegueModule });
|
|
1879
|
+
DbxCoreUIRouterSegueModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreUIRouterSegueModule });
|
|
1880
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreUIRouterSegueModule, decorators: [{
|
|
1814
1881
|
type: NgModule,
|
|
1815
1882
|
args: [{}]
|
|
1816
1883
|
}] });
|
|
1817
1884
|
|
|
1885
|
+
/**
|
|
1886
|
+
* Convenience function for filtering success from the input observable.
|
|
1887
|
+
*
|
|
1888
|
+
* @param obs
|
|
1889
|
+
* @returns
|
|
1890
|
+
*/
|
|
1891
|
+
function successTransition(obs) {
|
|
1892
|
+
return obs.pipe(filterTransitionSuccess());
|
|
1893
|
+
}
|
|
1894
|
+
function filterTransitionSuccess() {
|
|
1895
|
+
return filterTransitionEvent(DbxRouterTransitionEventType.SUCCESS);
|
|
1896
|
+
}
|
|
1897
|
+
function filterTransitionEvent(type) {
|
|
1898
|
+
return filter$1(x => x.type === type);
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1818
1901
|
/**
|
|
1819
1902
|
* Abstract directive that listens to onSuccess transition events and runs a function.
|
|
1820
1903
|
*/
|
|
1821
|
-
class
|
|
1822
|
-
constructor(dbNgxRouterTransitionService
|
|
1904
|
+
class AbstractTransitionDirective {
|
|
1905
|
+
constructor(dbNgxRouterTransitionService) {
|
|
1823
1906
|
this.dbNgxRouterTransitionService = dbNgxRouterTransitionService;
|
|
1907
|
+
this.transitionSuccess$ = successTransition(this.dbNgxRouterTransitionService.transitions$);
|
|
1908
|
+
this.initAndUpdateOnTransitionSuccess$ = this.transitionSuccess$.pipe(startWith$1(undefined));
|
|
1909
|
+
}
|
|
1910
|
+
}
|
|
1911
|
+
AbstractTransitionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractTransitionDirective, deps: [{ token: DbxRouterTransitionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1912
|
+
AbstractTransitionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractTransitionDirective, ngImport: i0 });
|
|
1913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractTransitionDirective, decorators: [{
|
|
1914
|
+
type: Directive
|
|
1915
|
+
}], ctorParameters: function () { return [{ type: DbxRouterTransitionService }]; } });
|
|
1916
|
+
|
|
1917
|
+
/**
|
|
1918
|
+
* Abstract directive that listens to onSuccess transition events and runs a function.
|
|
1919
|
+
*/
|
|
1920
|
+
class AbstractTransitionWatcherDirective extends AbstractTransitionDirective {
|
|
1921
|
+
constructor(dbNgxRouterTransitionService, ngZone) {
|
|
1922
|
+
super(dbNgxRouterTransitionService);
|
|
1824
1923
|
this.ngZone = ngZone;
|
|
1825
1924
|
this._transitionSub = new SubscriptionObject();
|
|
1826
1925
|
}
|
|
1827
1926
|
ngOnInit() {
|
|
1828
|
-
this._transitionSub.subscription = this.
|
|
1927
|
+
this._transitionSub.subscription = this.transitionSuccess$.subscribe(() => {
|
|
1829
1928
|
this.updateForSuccessfulTransition();
|
|
1830
1929
|
});
|
|
1831
1930
|
}
|
|
@@ -1837,11 +1936,11 @@ class AbstractTransitionWatcherDirective {
|
|
|
1837
1936
|
this.ngZone.run(() => this.updateForSuccessfulTransition());
|
|
1838
1937
|
}
|
|
1839
1938
|
}
|
|
1840
|
-
AbstractTransitionWatcherDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
1841
|
-
AbstractTransitionWatcherDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
1842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1939
|
+
AbstractTransitionWatcherDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractTransitionWatcherDirective, deps: [{ token: DbxRouterTransitionService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1940
|
+
AbstractTransitionWatcherDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractTransitionWatcherDirective, usesInheritance: true, ngImport: i0 });
|
|
1941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractTransitionWatcherDirective, decorators: [{
|
|
1843
1942
|
type: Directive
|
|
1844
|
-
}], ctorParameters: function () { return [{ type:
|
|
1943
|
+
}], ctorParameters: function () { return [{ type: DbxRouterTransitionService }, { type: i0.NgZone }]; } });
|
|
1845
1944
|
|
|
1846
1945
|
function refStringToSegueRef(ref, options) {
|
|
1847
1946
|
return Object.assign(Object.assign({}, options), { ref });
|
|
@@ -1851,7 +1950,7 @@ function mapRefStringObsToSegueRefObs(obs, options) {
|
|
|
1851
1950
|
}
|
|
1852
1951
|
|
|
1853
1952
|
// MARK: Button Directives
|
|
1854
|
-
class
|
|
1953
|
+
class DbxButtonSegueDirective extends AbstractSubscriptionDirective {
|
|
1855
1954
|
constructor(dbxButton, dbxRouterService) {
|
|
1856
1955
|
super();
|
|
1857
1956
|
this.dbxButton = dbxButton;
|
|
@@ -1871,14 +1970,14 @@ class DbNgxButtonSegueDirective extends AbstractSubscriptionDirective {
|
|
|
1871
1970
|
})))).subscribe();
|
|
1872
1971
|
}
|
|
1873
1972
|
}
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
1973
|
+
DbxButtonSegueDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxButtonSegueDirective, deps: [{ token: DbxButton }, { token: DbxRouterService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1974
|
+
DbxButtonSegueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxButtonSegueDirective, selector: "[dbxButtonSegue]", inputs: { segueRef: ["dbxButtonSegue", "segueRef"] }, usesInheritance: true, ngImport: i0 });
|
|
1975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxButtonSegueDirective, decorators: [{
|
|
1877
1976
|
type: Directive,
|
|
1878
1977
|
args: [{
|
|
1879
1978
|
selector: '[dbxButtonSegue]'
|
|
1880
1979
|
}]
|
|
1881
|
-
}], ctorParameters: function () { return [{ type:
|
|
1980
|
+
}], ctorParameters: function () { return [{ type: DbxButton }, { type: DbxRouterService }]; }, propDecorators: { segueRef: [{
|
|
1882
1981
|
type: Input,
|
|
1883
1982
|
args: ['dbxButtonSegue']
|
|
1884
1983
|
}] } });
|
|
@@ -1886,7 +1985,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1886
1985
|
/**
|
|
1887
1986
|
* Abstract button component.
|
|
1888
1987
|
*/
|
|
1889
|
-
class
|
|
1988
|
+
class AbstractDbxButtonDirective extends AbstractSubscriptionDirective {
|
|
1890
1989
|
constructor() {
|
|
1891
1990
|
super();
|
|
1892
1991
|
this._disabled = new BehaviorSubject(false);
|
|
@@ -1954,9 +2053,9 @@ class AbstractDbNgxButtonDirective extends AbstractSubscriptionDirective {
|
|
|
1954
2053
|
this.buttonClick.emit();
|
|
1955
2054
|
}
|
|
1956
2055
|
}
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2056
|
+
AbstractDbxButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2057
|
+
AbstractDbxButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractDbxButtonDirective, inputs: { disabled: "disabled", working: "working", icon: "icon", text: "text" }, outputs: { buttonClick: "buttonClick" }, usesInheritance: true, ngImport: i0 });
|
|
2058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxButtonDirective, decorators: [{
|
|
1960
2059
|
type: Directive
|
|
1961
2060
|
}], ctorParameters: function () { return []; }, propDecorators: { disabled: [{
|
|
1962
2061
|
type: Input
|
|
@@ -1971,18 +2070,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1971
2070
|
}] } });
|
|
1972
2071
|
// MARK: Implementation
|
|
1973
2072
|
/**
|
|
1974
|
-
* Provides an
|
|
2073
|
+
* Provides an DbxButton directive.
|
|
1975
2074
|
*/
|
|
1976
|
-
class
|
|
2075
|
+
class DbxButtonDirective extends AbstractDbxButtonDirective {
|
|
1977
2076
|
}
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2077
|
+
DbxButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2078
|
+
DbxButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxButtonDirective, selector: "[dbxButton]", providers: ProvideDbxButton(DbxButtonDirective), exportAs: ["dbxButton"], usesInheritance: true, ngImport: i0 });
|
|
2079
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxButtonDirective, decorators: [{
|
|
1981
2080
|
type: Directive,
|
|
1982
2081
|
args: [{
|
|
1983
2082
|
selector: '[dbxButton]',
|
|
1984
2083
|
exportAs: 'dbxButton',
|
|
1985
|
-
providers:
|
|
2084
|
+
providers: ProvideDbxButton(DbxButtonDirective)
|
|
1986
2085
|
}]
|
|
1987
2086
|
}] });
|
|
1988
2087
|
|
|
@@ -1991,7 +2090,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
1991
2090
|
*
|
|
1992
2091
|
* It will be set working when the context is set loading.
|
|
1993
2092
|
*/
|
|
1994
|
-
class
|
|
2093
|
+
class DbxLoadingButtonDirective extends AbstractSubscriptionDirective {
|
|
1995
2094
|
constructor(button, ngZone) {
|
|
1996
2095
|
super();
|
|
1997
2096
|
this.button = button;
|
|
@@ -2010,15 +2109,15 @@ class DbNgxLoadingButtonDirective extends AbstractSubscriptionDirective {
|
|
|
2010
2109
|
this.sub = subscription;
|
|
2011
2110
|
}
|
|
2012
2111
|
}
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2112
|
+
DbxLoadingButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingButtonDirective, deps: [{ token: DbxButton, host: true }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2113
|
+
DbxLoadingButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxLoadingButtonDirective, selector: "[dbxLoadingButton]", inputs: { context: ["dbxLoadingButton", "context"] }, usesInheritance: true, ngImport: i0 });
|
|
2114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxLoadingButtonDirective, decorators: [{
|
|
2016
2115
|
type: Directive,
|
|
2017
2116
|
args: [{
|
|
2018
2117
|
selector: '[dbxLoadingButton]'
|
|
2019
2118
|
}]
|
|
2020
2119
|
}], ctorParameters: function () {
|
|
2021
|
-
return [{ type:
|
|
2120
|
+
return [{ type: DbxButton, decorators: [{
|
|
2022
2121
|
type: Host
|
|
2023
2122
|
}] }, { type: i0.NgZone }];
|
|
2024
2123
|
}, propDecorators: { context: [{
|
|
@@ -2026,36 +2125,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2026
2125
|
args: ['dbxLoadingButton']
|
|
2027
2126
|
}] } });
|
|
2028
2127
|
|
|
2029
|
-
class
|
|
2030
|
-
}
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2128
|
+
class DbxCoreButtonModule {
|
|
2129
|
+
}
|
|
2130
|
+
DbxCoreButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2131
|
+
DbxCoreButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreButtonModule, declarations: [DbxButtonDirective,
|
|
2132
|
+
DbxLoadingButtonDirective,
|
|
2133
|
+
DbxActionButtonTriggerDirective,
|
|
2134
|
+
DbxActionButtonDirective,
|
|
2135
|
+
DbxButtonSegueDirective], exports: [DbxButtonDirective,
|
|
2136
|
+
DbxLoadingButtonDirective,
|
|
2137
|
+
DbxActionButtonTriggerDirective,
|
|
2138
|
+
DbxActionButtonDirective,
|
|
2139
|
+
DbxButtonSegueDirective] });
|
|
2140
|
+
DbxCoreButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreButtonModule, imports: [[]] });
|
|
2141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreButtonModule, decorators: [{
|
|
2043
2142
|
type: NgModule,
|
|
2044
2143
|
args: [{
|
|
2045
2144
|
imports: [],
|
|
2046
2145
|
declarations: [
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2146
|
+
DbxButtonDirective,
|
|
2147
|
+
DbxLoadingButtonDirective,
|
|
2148
|
+
DbxActionButtonTriggerDirective,
|
|
2149
|
+
DbxActionButtonDirective,
|
|
2150
|
+
DbxButtonSegueDirective
|
|
2052
2151
|
],
|
|
2053
2152
|
exports: [
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2153
|
+
DbxButtonDirective,
|
|
2154
|
+
DbxLoadingButtonDirective,
|
|
2155
|
+
DbxActionButtonTriggerDirective,
|
|
2156
|
+
DbxActionButtonDirective,
|
|
2157
|
+
DbxButtonSegueDirective
|
|
2059
2158
|
],
|
|
2060
2159
|
}]
|
|
2061
2160
|
}] });
|
|
@@ -2080,9 +2179,9 @@ class DateFromToTimePipe {
|
|
|
2080
2179
|
return undefined;
|
|
2081
2180
|
}
|
|
2082
2181
|
}
|
|
2083
|
-
DateFromToTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2084
|
-
DateFromToTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.
|
|
2085
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2182
|
+
DateFromToTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DateFromToTimePipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2183
|
+
DateFromToTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DateFromToTimePipe, name: "dateFromPlusTo" });
|
|
2184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DateFromToTimePipe, decorators: [{
|
|
2086
2185
|
type: Pipe,
|
|
2087
2186
|
args: [{ name: 'dateFromPlusTo' }]
|
|
2088
2187
|
}], ctorParameters: function () {
|
|
@@ -2115,9 +2214,9 @@ class MinutesStringPipe {
|
|
|
2115
2214
|
}
|
|
2116
2215
|
}
|
|
2117
2216
|
}
|
|
2118
|
-
MinutesStringPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2119
|
-
MinutesStringPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.
|
|
2120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2217
|
+
MinutesStringPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: MinutesStringPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2218
|
+
MinutesStringPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: MinutesStringPipe, name: "minutesString", pure: false });
|
|
2219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: MinutesStringPipe, decorators: [{
|
|
2121
2220
|
type: Pipe,
|
|
2122
2221
|
args: [{ name: 'minutesString', pure: false }]
|
|
2123
2222
|
}] });
|
|
@@ -2130,9 +2229,9 @@ class ToJsDatePipe {
|
|
|
2130
2229
|
return ToJsDatePipe.toJsDate(input);
|
|
2131
2230
|
}
|
|
2132
2231
|
}
|
|
2133
|
-
ToJsDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2134
|
-
ToJsDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.
|
|
2135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2232
|
+
ToJsDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: ToJsDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2233
|
+
ToJsDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: ToJsDatePipe, name: "toJsDate" });
|
|
2234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: ToJsDatePipe, decorators: [{
|
|
2136
2235
|
type: Pipe,
|
|
2137
2236
|
args: [{ name: 'toJsDate' }]
|
|
2138
2237
|
}] });
|
|
@@ -2156,9 +2255,9 @@ class TimeDistanceCountdownPipe {
|
|
|
2156
2255
|
}
|
|
2157
2256
|
}
|
|
2158
2257
|
}
|
|
2159
|
-
TimeDistanceCountdownPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2160
|
-
TimeDistanceCountdownPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.
|
|
2161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2258
|
+
TimeDistanceCountdownPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: TimeDistanceCountdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2259
|
+
TimeDistanceCountdownPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: TimeDistanceCountdownPipe, name: "timeCountdownDistance", pure: false });
|
|
2260
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: TimeDistanceCountdownPipe, decorators: [{
|
|
2162
2261
|
type: Pipe,
|
|
2163
2262
|
args: [{ name: 'timeCountdownDistance', pure: false }]
|
|
2164
2263
|
}] });
|
|
@@ -2175,9 +2274,9 @@ class TimeDistancePipe {
|
|
|
2175
2274
|
}
|
|
2176
2275
|
}
|
|
2177
2276
|
}
|
|
2178
|
-
TimeDistancePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2179
|
-
TimeDistancePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.
|
|
2180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2277
|
+
TimeDistancePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: TimeDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2278
|
+
TimeDistancePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: TimeDistancePipe, name: "timeDistance", pure: false });
|
|
2279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: TimeDistancePipe, decorators: [{
|
|
2181
2280
|
type: Pipe,
|
|
2182
2281
|
args: [{ name: 'timeDistance', pure: false }]
|
|
2183
2282
|
}] });
|
|
@@ -2190,9 +2289,9 @@ class ToMinutesPipe {
|
|
|
2190
2289
|
return milliseconds;
|
|
2191
2290
|
}
|
|
2192
2291
|
}
|
|
2193
|
-
ToMinutesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2194
|
-
ToMinutesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.
|
|
2195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2292
|
+
ToMinutesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: ToMinutesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2293
|
+
ToMinutesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: ToMinutesPipe, name: "toMinutes" });
|
|
2294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: ToMinutesPipe, decorators: [{
|
|
2196
2295
|
type: Pipe,
|
|
2197
2296
|
args: [{ name: 'toMinutes' }]
|
|
2198
2297
|
}] });
|
|
@@ -2219,9 +2318,9 @@ class DateFormatDistancePipe {
|
|
|
2219
2318
|
return undefined;
|
|
2220
2319
|
}
|
|
2221
2320
|
}
|
|
2222
|
-
DateFormatDistancePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2223
|
-
DateFormatDistancePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.
|
|
2224
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2321
|
+
DateFormatDistancePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DateFormatDistancePipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2322
|
+
DateFormatDistancePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DateFormatDistancePipe, name: "dateFormatDistance", pure: false });
|
|
2323
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DateFormatDistancePipe, decorators: [{
|
|
2225
2324
|
type: Pipe,
|
|
2226
2325
|
args: [{ name: 'dateFormatDistance', pure: false }]
|
|
2227
2326
|
}], ctorParameters: function () {
|
|
@@ -2234,8 +2333,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2234
2333
|
class DateDistancePipe {
|
|
2235
2334
|
transform(input, to, unavailable = 'Not Available') {
|
|
2236
2335
|
if (input) {
|
|
2237
|
-
const
|
|
2238
|
-
if (
|
|
2336
|
+
const useDefaultTo = !to;
|
|
2337
|
+
if (useDefaultTo) {
|
|
2239
2338
|
to = new Date();
|
|
2240
2339
|
}
|
|
2241
2340
|
const from = ToJsDatePipe.toJsDate(input);
|
|
@@ -2243,7 +2342,7 @@ class DateDistancePipe {
|
|
|
2243
2342
|
const toStart = startOfDay(to);
|
|
2244
2343
|
if (isSameDay(fromStart, toStart)) {
|
|
2245
2344
|
let text;
|
|
2246
|
-
if (
|
|
2345
|
+
if (useDefaultTo || isSameDay(from, new Date())) {
|
|
2247
2346
|
text = 'Today';
|
|
2248
2347
|
}
|
|
2249
2348
|
else {
|
|
@@ -2262,17 +2361,17 @@ class DateDistancePipe {
|
|
|
2262
2361
|
}
|
|
2263
2362
|
}
|
|
2264
2363
|
}
|
|
2265
|
-
DateDistancePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2266
|
-
DateDistancePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.
|
|
2267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2364
|
+
DateDistancePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DateDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2365
|
+
DateDistancePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DateDistancePipe, name: "dateDistance", pure: false });
|
|
2366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DateDistancePipe, decorators: [{
|
|
2268
2367
|
type: Pipe,
|
|
2269
2368
|
args: [{ name: 'dateDistance', pure: false }]
|
|
2270
2369
|
}] });
|
|
2271
2370
|
|
|
2272
|
-
class
|
|
2371
|
+
class DbxDatePipeModule {
|
|
2273
2372
|
}
|
|
2274
|
-
|
|
2275
|
-
|
|
2373
|
+
DbxDatePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxDatePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2374
|
+
DbxDatePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxDatePipeModule, declarations: [DateFromToTimePipe,
|
|
2276
2375
|
DateFormatDistancePipe,
|
|
2277
2376
|
MinutesStringPipe,
|
|
2278
2377
|
TimeDistanceCountdownPipe,
|
|
@@ -2287,8 +2386,8 @@ DbNgxDatePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ver
|
|
|
2287
2386
|
DateDistancePipe,
|
|
2288
2387
|
ToJsDatePipe,
|
|
2289
2388
|
ToMinutesPipe] });
|
|
2290
|
-
|
|
2291
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2389
|
+
DbxDatePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxDatePipeModule });
|
|
2390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxDatePipeModule, decorators: [{
|
|
2292
2391
|
type: NgModule,
|
|
2293
2392
|
args: [{
|
|
2294
2393
|
exports: [
|
|
@@ -2315,10 +2414,317 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2315
2414
|
}] });
|
|
2316
2415
|
|
|
2317
2416
|
/**
|
|
2318
|
-
*
|
|
2417
|
+
* Abstract FilterSource implementation.
|
|
2319
2418
|
*/
|
|
2320
|
-
class
|
|
2419
|
+
class AbstractFilterSourceDirective {
|
|
2321
2420
|
constructor() {
|
|
2421
|
+
this._defaultFilterSource = new FilterSourceInstance();
|
|
2422
|
+
this.filter$ = this._defaultFilterSource.filter$;
|
|
2423
|
+
}
|
|
2424
|
+
ngOnInit() {
|
|
2425
|
+
this._defaultFilterSource.setDefaultFilter(this.makeDefaultFilter());
|
|
2426
|
+
}
|
|
2427
|
+
ngOnDestroy() {
|
|
2428
|
+
this._defaultFilterSource.destroy();
|
|
2429
|
+
}
|
|
2430
|
+
initWithFilter(filterObs) {
|
|
2431
|
+
this._defaultFilterSource.initWithFilter(filterObs);
|
|
2432
|
+
}
|
|
2433
|
+
setFilter(filter) {
|
|
2434
|
+
this._defaultFilterSource.setFilter(filter);
|
|
2435
|
+
}
|
|
2436
|
+
resetFilter() {
|
|
2437
|
+
this._defaultFilterSource.resetFilter();
|
|
2438
|
+
}
|
|
2439
|
+
// MARK: Internal
|
|
2440
|
+
makeDefaultFilter() {
|
|
2441
|
+
return of(undefined);
|
|
2442
|
+
}
|
|
2443
|
+
}
|
|
2444
|
+
AbstractFilterSourceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractFilterSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2445
|
+
AbstractFilterSourceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractFilterSourceDirective, ngImport: i0 });
|
|
2446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractFilterSourceDirective, decorators: [{
|
|
2447
|
+
type: Directive
|
|
2448
|
+
}] });
|
|
2449
|
+
|
|
2450
|
+
/**
|
|
2451
|
+
* Abstract filter source for components that use an action to filter.
|
|
2452
|
+
*/
|
|
2453
|
+
class AbstractActionFilterSourceDirective extends AbstractFilterSourceDirective {
|
|
2454
|
+
constructor() {
|
|
2455
|
+
super(...arguments);
|
|
2456
|
+
/**
|
|
2457
|
+
* Pre-set action handler for the template to use to set the filter.
|
|
2458
|
+
*/
|
|
2459
|
+
this.setFilterAction = (filter) => {
|
|
2460
|
+
this.setFilter(filter);
|
|
2461
|
+
return of(true);
|
|
2462
|
+
};
|
|
2463
|
+
}
|
|
2464
|
+
applyFilter() {
|
|
2465
|
+
this.filterAction.setIsModified(true); // Force setting modified.
|
|
2466
|
+
this.filterAction.trigger();
|
|
2467
|
+
}
|
|
2468
|
+
}
|
|
2469
|
+
AbstractActionFilterSourceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractActionFilterSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2470
|
+
AbstractActionFilterSourceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractActionFilterSourceDirective, viewQueries: [{ propertyName: "filterAction", first: true, predicate: ActionContextStoreSourceInstance, descendants: true, read: ActionContextStoreSourceInstance, static: true }], usesInheritance: true, ngImport: i0 });
|
|
2471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractActionFilterSourceDirective, decorators: [{
|
|
2472
|
+
type: Directive
|
|
2473
|
+
}], propDecorators: { filterAction: [{
|
|
2474
|
+
type: ViewChild,
|
|
2475
|
+
args: [ActionContextStoreSourceInstance, { static: true, read: ActionContextStoreSourceInstance }]
|
|
2476
|
+
}] } });
|
|
2477
|
+
|
|
2478
|
+
/**
|
|
2479
|
+
* Abstract FilterSourceConnector directive.
|
|
2480
|
+
*/
|
|
2481
|
+
class AbstractFilterSourceConnectorDirective {
|
|
2482
|
+
constructor() {
|
|
2483
|
+
this._source = new BehaviorSubject(undefined);
|
|
2484
|
+
this.filter$ = this._source.pipe(switchMap$1(x => { var _a; return (_a = x === null || x === void 0 ? void 0 : x.filter$) !== null && _a !== void 0 ? _a : of(undefined); }), shareReplay$1(1));
|
|
2485
|
+
}
|
|
2486
|
+
ngOnDestroy() {
|
|
2487
|
+
this._source.complete();
|
|
2488
|
+
}
|
|
2489
|
+
connectWithSource(filterSource) {
|
|
2490
|
+
this._source.next(filterSource);
|
|
2491
|
+
}
|
|
2492
|
+
}
|
|
2493
|
+
AbstractFilterSourceConnectorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractFilterSourceConnectorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2494
|
+
AbstractFilterSourceConnectorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractFilterSourceConnectorDirective, ngImport: i0 });
|
|
2495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractFilterSourceConnectorDirective, decorators: [{
|
|
2496
|
+
type: Directive
|
|
2497
|
+
}] });
|
|
2498
|
+
|
|
2499
|
+
/**
|
|
2500
|
+
* Angular provider convenience function for a FilterSource.
|
|
2501
|
+
*/
|
|
2502
|
+
function ProvideFilterSource(sourceType) {
|
|
2503
|
+
return [{
|
|
2504
|
+
provide: FilterSource,
|
|
2505
|
+
useExisting: forwardRef(() => sourceType)
|
|
2506
|
+
}];
|
|
2507
|
+
}
|
|
2508
|
+
/**
|
|
2509
|
+
* Angular provider convenience function for a FilterSourceConnector.
|
|
2510
|
+
*/
|
|
2511
|
+
function ProvideFilterSourceConnector(sourceType) {
|
|
2512
|
+
return [{
|
|
2513
|
+
provide: FilterSourceConnector,
|
|
2514
|
+
useExisting: forwardRef(() => sourceType)
|
|
2515
|
+
}, {
|
|
2516
|
+
provide: FilterSource,
|
|
2517
|
+
useExisting: forwardRef(() => sourceType)
|
|
2518
|
+
}];
|
|
2519
|
+
}
|
|
2520
|
+
|
|
2521
|
+
/**
|
|
2522
|
+
* Used as a FilterSource and FilterSourceConnector.
|
|
2523
|
+
*/
|
|
2524
|
+
class DbxFilterSourceConnectorDirective extends AbstractFilterSourceConnectorDirective {
|
|
2525
|
+
}
|
|
2526
|
+
DbxFilterSourceConnectorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterSourceConnectorDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2527
|
+
DbxFilterSourceConnectorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxFilterSourceConnectorDirective, selector: "[dbxFilterSourceConnector]", providers: [
|
|
2528
|
+
...ProvideFilterSource(DbxFilterSourceConnectorDirective),
|
|
2529
|
+
...ProvideFilterSourceConnector(DbxFilterSourceConnectorDirective)
|
|
2530
|
+
], usesInheritance: true, ngImport: i0 });
|
|
2531
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterSourceConnectorDirective, decorators: [{
|
|
2532
|
+
type: Directive,
|
|
2533
|
+
args: [{
|
|
2534
|
+
selector: '[dbxFilterSourceConnector]',
|
|
2535
|
+
providers: [
|
|
2536
|
+
...ProvideFilterSource(DbxFilterSourceConnectorDirective),
|
|
2537
|
+
...ProvideFilterSourceConnector(DbxFilterSourceConnectorDirective)
|
|
2538
|
+
]
|
|
2539
|
+
}]
|
|
2540
|
+
}] });
|
|
2541
|
+
|
|
2542
|
+
/**
|
|
2543
|
+
* Provides a FilterSource from a parent FilterMap.
|
|
2544
|
+
*/
|
|
2545
|
+
class AbstractDbxFilterMapInstanceDirective {
|
|
2546
|
+
constructor(dbxFilterMap) {
|
|
2547
|
+
this.dbxFilterMap = dbxFilterMap;
|
|
2548
|
+
this._key = new BehaviorSubject(undefined);
|
|
2549
|
+
this.key$ = this._key.pipe(filterMaybe());
|
|
2550
|
+
this.instance$ = this.dbxFilterMap.instanceObsForKeyObs(this.key$);
|
|
2551
|
+
}
|
|
2552
|
+
ngOnDestroy() {
|
|
2553
|
+
this._key.complete();
|
|
2554
|
+
}
|
|
2555
|
+
}
|
|
2556
|
+
AbstractDbxFilterMapInstanceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxFilterMapInstanceDirective, deps: [{ token: i1$3.FilterMap }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2557
|
+
AbstractDbxFilterMapInstanceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractDbxFilterMapInstanceDirective, ngImport: i0 });
|
|
2558
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxFilterMapInstanceDirective, decorators: [{
|
|
2559
|
+
type: Directive
|
|
2560
|
+
}], ctorParameters: function () { return [{ type: i1$3.FilterMap }]; } });
|
|
2561
|
+
|
|
2562
|
+
/**
|
|
2563
|
+
* Provides a FilterSource from a parent FilterMap.
|
|
2564
|
+
*/
|
|
2565
|
+
class DbxFilterMapSourceDirective extends AbstractDbxFilterMapInstanceDirective {
|
|
2566
|
+
constructor() {
|
|
2567
|
+
super(...arguments);
|
|
2568
|
+
this.filter$ = this.instance$.pipe(switchMap$1(x => x.filter$));
|
|
2569
|
+
}
|
|
2570
|
+
get key() {
|
|
2571
|
+
return this._key.value;
|
|
2572
|
+
}
|
|
2573
|
+
set key(key) {
|
|
2574
|
+
this._key.next(key);
|
|
2575
|
+
}
|
|
2576
|
+
initWithFilter(filterObs) {
|
|
2577
|
+
this.instance$.pipe(first$1()).subscribe((x) => x.initWithFilter(filterObs));
|
|
2578
|
+
}
|
|
2579
|
+
}
|
|
2580
|
+
DbxFilterMapSourceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterMapSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2581
|
+
DbxFilterMapSourceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxFilterMapSourceDirective, selector: "[dbxFilterMapSource]", inputs: { key: ["dbxFilterMapSource", "key"] }, providers: [
|
|
2582
|
+
...ProvideFilterSource(DbxFilterMapSourceDirective)
|
|
2583
|
+
], exportAs: ["dbxFilterMapSource"], usesInheritance: true, ngImport: i0 });
|
|
2584
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterMapSourceDirective, decorators: [{
|
|
2585
|
+
type: Directive,
|
|
2586
|
+
args: [{
|
|
2587
|
+
selector: '[dbxFilterMapSource]',
|
|
2588
|
+
exportAs: 'dbxFilterMapSource',
|
|
2589
|
+
providers: [
|
|
2590
|
+
...ProvideFilterSource(DbxFilterMapSourceDirective)
|
|
2591
|
+
]
|
|
2592
|
+
}]
|
|
2593
|
+
}], propDecorators: { key: [{
|
|
2594
|
+
type: Input,
|
|
2595
|
+
args: ['dbxFilterMapSource']
|
|
2596
|
+
}] } });
|
|
2597
|
+
|
|
2598
|
+
/**
|
|
2599
|
+
* Acts as an "input" FilterSourceConnector for an FilterMap, as well as a source for the FilterSourceConnector.
|
|
2600
|
+
*/
|
|
2601
|
+
class DbxFilterMapSourceConnectorDirective extends DbxFilterMapSourceDirective {
|
|
2602
|
+
get key() {
|
|
2603
|
+
return this._key.value;
|
|
2604
|
+
}
|
|
2605
|
+
set key(key) {
|
|
2606
|
+
this._key.next(key);
|
|
2607
|
+
}
|
|
2608
|
+
// MARK: FilterSourceConnector
|
|
2609
|
+
connectWithSource(filterSource) {
|
|
2610
|
+
this.instance$.pipe(first$1()).subscribe((x) => x.connectWithSource(filterSource));
|
|
2611
|
+
}
|
|
2612
|
+
}
|
|
2613
|
+
DbxFilterMapSourceConnectorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterMapSourceConnectorDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2614
|
+
DbxFilterMapSourceConnectorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxFilterMapSourceConnectorDirective, selector: "[dbxFilterMapSourceConnector]", inputs: { key: ["dbxFilterMapSourceConnector", "key"] }, providers: [
|
|
2615
|
+
...ProvideFilterSource(DbxFilterMapSourceConnectorDirective),
|
|
2616
|
+
...ProvideFilterSourceConnector(DbxFilterMapSourceConnectorDirective)
|
|
2617
|
+
], exportAs: ["dbxFilterMapSourceConnector"], usesInheritance: true, ngImport: i0 });
|
|
2618
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterMapSourceConnectorDirective, decorators: [{
|
|
2619
|
+
type: Directive,
|
|
2620
|
+
args: [{
|
|
2621
|
+
selector: '[dbxFilterMapSourceConnector]',
|
|
2622
|
+
exportAs: 'dbxFilterMapSourceConnector',
|
|
2623
|
+
providers: [
|
|
2624
|
+
...ProvideFilterSource(DbxFilterMapSourceConnectorDirective),
|
|
2625
|
+
...ProvideFilterSourceConnector(DbxFilterMapSourceConnectorDirective)
|
|
2626
|
+
]
|
|
2627
|
+
}]
|
|
2628
|
+
}], propDecorators: { key: [{
|
|
2629
|
+
type: Input,
|
|
2630
|
+
args: ['dbxFilterMapSourceConnector']
|
|
2631
|
+
}] } });
|
|
2632
|
+
|
|
2633
|
+
/**
|
|
2634
|
+
* Direction that provides an FilterMap.
|
|
2635
|
+
*/
|
|
2636
|
+
class DbxFilterMapDirective {
|
|
2637
|
+
constructor(filterMap) {
|
|
2638
|
+
this.filterMap = filterMap;
|
|
2639
|
+
}
|
|
2640
|
+
ngOnDestroy() {
|
|
2641
|
+
this.filterMap.destroy();
|
|
2642
|
+
}
|
|
2643
|
+
}
|
|
2644
|
+
DbxFilterMapDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterMapDirective, deps: [{ token: i1$3.FilterMap }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2645
|
+
DbxFilterMapDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxFilterMapDirective, selector: "[dbxFilterMap]", providers: [FilterMap], exportAs: ["dbxFilterMap"], ngImport: i0 });
|
|
2646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterMapDirective, decorators: [{
|
|
2647
|
+
type: Directive,
|
|
2648
|
+
args: [{
|
|
2649
|
+
selector: '[dbxFilterMap]',
|
|
2650
|
+
exportAs: 'dbxFilterMap',
|
|
2651
|
+
providers: [FilterMap]
|
|
2652
|
+
}]
|
|
2653
|
+
}], ctorParameters: function () { return [{ type: i1$3.FilterMap }]; } });
|
|
2654
|
+
|
|
2655
|
+
/**
|
|
2656
|
+
* Basic filter source directive.
|
|
2657
|
+
*/
|
|
2658
|
+
class DbxFilterSourceDirective extends AbstractFilterSourceDirective {
|
|
2659
|
+
}
|
|
2660
|
+
DbxFilterSourceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2661
|
+
DbxFilterSourceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: DbxFilterSourceDirective, selector: "[dbxFilterSource]", providers: ProvideFilterSource(DbxFilterSourceDirective), usesInheritance: true, ngImport: i0 });
|
|
2662
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxFilterSourceDirective, decorators: [{
|
|
2663
|
+
type: Directive,
|
|
2664
|
+
args: [{
|
|
2665
|
+
selector: '[dbxFilterSource]',
|
|
2666
|
+
providers: ProvideFilterSource(DbxFilterSourceDirective)
|
|
2667
|
+
}]
|
|
2668
|
+
}] });
|
|
2669
|
+
|
|
2670
|
+
class DbxCoreFilterModule {
|
|
2671
|
+
}
|
|
2672
|
+
DbxCoreFilterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2673
|
+
DbxCoreFilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreFilterModule, declarations: [DbxFilterSourceDirective,
|
|
2674
|
+
DbxFilterSourceConnectorDirective,
|
|
2675
|
+
DbxFilterMapDirective,
|
|
2676
|
+
DbxFilterMapSourceConnectorDirective,
|
|
2677
|
+
DbxFilterMapSourceDirective], imports: [CommonModule], exports: [DbxFilterSourceDirective,
|
|
2678
|
+
DbxFilterSourceConnectorDirective,
|
|
2679
|
+
DbxFilterMapDirective,
|
|
2680
|
+
DbxFilterMapSourceConnectorDirective,
|
|
2681
|
+
DbxFilterMapSourceDirective] });
|
|
2682
|
+
DbxCoreFilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreFilterModule, imports: [[
|
|
2683
|
+
CommonModule
|
|
2684
|
+
]] });
|
|
2685
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxCoreFilterModule, decorators: [{
|
|
2686
|
+
type: NgModule,
|
|
2687
|
+
args: [{
|
|
2688
|
+
imports: [
|
|
2689
|
+
CommonModule
|
|
2690
|
+
],
|
|
2691
|
+
declarations: [
|
|
2692
|
+
DbxFilterSourceDirective,
|
|
2693
|
+
DbxFilterSourceConnectorDirective,
|
|
2694
|
+
DbxFilterMapDirective,
|
|
2695
|
+
DbxFilterMapSourceConnectorDirective,
|
|
2696
|
+
DbxFilterMapSourceDirective,
|
|
2697
|
+
],
|
|
2698
|
+
exports: [
|
|
2699
|
+
DbxFilterSourceDirective,
|
|
2700
|
+
DbxFilterSourceConnectorDirective,
|
|
2701
|
+
DbxFilterMapDirective,
|
|
2702
|
+
DbxFilterMapSourceConnectorDirective,
|
|
2703
|
+
DbxFilterMapSourceDirective,
|
|
2704
|
+
]
|
|
2705
|
+
}]
|
|
2706
|
+
}] });
|
|
2707
|
+
|
|
2708
|
+
const DBX_INJECTED_COMPONENT_DATA = new InjectionToken('DbxInjectedComponentConfigData');
|
|
2709
|
+
/**
|
|
2710
|
+
* Merges multiple configurations into a single configuration.
|
|
2711
|
+
*
|
|
2712
|
+
* @param configs
|
|
2713
|
+
* @returns
|
|
2714
|
+
*/
|
|
2715
|
+
function mergeDbxInjectedComponentConfigs(configs) {
|
|
2716
|
+
const providers = mergeArrays(filterMaybeValues(configs).map(x => x.providers));
|
|
2717
|
+
const result = mergeObjects(configs);
|
|
2718
|
+
result.providers = providers;
|
|
2719
|
+
return result;
|
|
2720
|
+
}
|
|
2721
|
+
|
|
2722
|
+
/**
|
|
2723
|
+
* Instance used by components to inject content based on the configuration into the view.
|
|
2724
|
+
*/
|
|
2725
|
+
class DbxInjectedComponentInstance {
|
|
2726
|
+
constructor(_injector) {
|
|
2727
|
+
this._injector = _injector;
|
|
2322
2728
|
this._subscriptionObject = new SubscriptionObject();
|
|
2323
2729
|
this._config = new BehaviorSubject(undefined);
|
|
2324
2730
|
this._template = new BehaviorSubject(undefined);
|
|
@@ -2385,8 +2791,19 @@ class DbNgxInjectedComponentInstance {
|
|
|
2385
2791
|
}
|
|
2386
2792
|
_initComponent(config, content) {
|
|
2387
2793
|
content.clear();
|
|
2388
|
-
const { init, injector, componentClass } = config;
|
|
2389
|
-
|
|
2794
|
+
const { init, injector: inputInjector, providers, ngModuleRef, componentClass, data } = config;
|
|
2795
|
+
let injector;
|
|
2796
|
+
const parentInjector = inputInjector !== null && inputInjector !== void 0 ? inputInjector : this._injector;
|
|
2797
|
+
if (Boolean(providers || data)) {
|
|
2798
|
+
injector = Injector.create({
|
|
2799
|
+
parent: parentInjector,
|
|
2800
|
+
providers: mergeArrayOrValueIntoArray([{
|
|
2801
|
+
provide: DBX_INJECTED_COMPONENT_DATA,
|
|
2802
|
+
useValue: data
|
|
2803
|
+
}], providers !== null && providers !== void 0 ? providers : [])
|
|
2804
|
+
});
|
|
2805
|
+
}
|
|
2806
|
+
const componentRef = content.createComponent(componentClass, { injector, ngModuleRef });
|
|
2390
2807
|
const instance = componentRef.instance;
|
|
2391
2808
|
if (init) {
|
|
2392
2809
|
init(instance);
|
|
@@ -2415,9 +2832,10 @@ class DbNgxInjectedComponentInstance {
|
|
|
2415
2832
|
/**
|
|
2416
2833
|
* Abstract directive that injects content based on the configuration into the view.
|
|
2417
2834
|
*/
|
|
2418
|
-
class
|
|
2419
|
-
constructor() {
|
|
2420
|
-
this.
|
|
2835
|
+
class AbstractDbxInjectedDirective {
|
|
2836
|
+
constructor(_injector) {
|
|
2837
|
+
this._injector = _injector;
|
|
2838
|
+
this._instance = new DbxInjectedComponentInstance(this._injector);
|
|
2421
2839
|
}
|
|
2422
2840
|
ngOnInit() {
|
|
2423
2841
|
this._instance.init();
|
|
@@ -2435,16 +2853,16 @@ class AbstractDbNgxInjectedDirective {
|
|
|
2435
2853
|
this._instance.content = content;
|
|
2436
2854
|
}
|
|
2437
2855
|
}
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2856
|
+
AbstractDbxInjectedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxInjectedDirective, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2857
|
+
AbstractDbxInjectedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.4", type: AbstractDbxInjectedDirective, ngImport: i0 });
|
|
2858
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AbstractDbxInjectedDirective, decorators: [{
|
|
2441
2859
|
type: Directive
|
|
2442
|
-
}] });
|
|
2860
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
2443
2861
|
|
|
2444
2862
|
/**
|
|
2445
2863
|
* Component that injects content based on the configuration into the view.
|
|
2446
2864
|
*/
|
|
2447
|
-
class
|
|
2865
|
+
class DbxInjectedComponent extends AbstractDbxInjectedDirective {
|
|
2448
2866
|
set config(config) {
|
|
2449
2867
|
this.setConfig(config);
|
|
2450
2868
|
}
|
|
@@ -2455,9 +2873,9 @@ class DbNgxInjectedComponent extends AbstractDbNgxInjectedDirective {
|
|
|
2455
2873
|
this.setContent(content);
|
|
2456
2874
|
}
|
|
2457
2875
|
}
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2876
|
+
DbxInjectedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxInjectedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2877
|
+
DbxInjectedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: DbxInjectedComponent, selector: "dbx-injected-content, [dbx-injected-content]", inputs: { config: "config", template: "template" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: `<ng-template #content></ng-template>`, isInline: true });
|
|
2878
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxInjectedComponent, decorators: [{
|
|
2461
2879
|
type: Component,
|
|
2462
2880
|
args: [{
|
|
2463
2881
|
selector: 'dbx-injected-content, [dbx-injected-content]',
|
|
@@ -2472,24 +2890,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
2472
2890
|
args: ['content', { static: true, read: ViewContainerRef }]
|
|
2473
2891
|
}] } });
|
|
2474
2892
|
|
|
2475
|
-
class
|
|
2893
|
+
class DbxInjectedComponentModule {
|
|
2476
2894
|
}
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2895
|
+
DbxInjectedComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxInjectedComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2896
|
+
DbxInjectedComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxInjectedComponentModule, declarations: [DbxInjectedComponent], imports: [CommonModule], exports: [DbxInjectedComponent] });
|
|
2897
|
+
DbxInjectedComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxInjectedComponentModule, imports: [[
|
|
2480
2898
|
CommonModule
|
|
2481
2899
|
]] });
|
|
2482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxInjectedComponentModule, decorators: [{
|
|
2483
2901
|
type: NgModule,
|
|
2484
2902
|
args: [{
|
|
2485
2903
|
imports: [
|
|
2486
2904
|
CommonModule
|
|
2487
2905
|
],
|
|
2488
2906
|
declarations: [
|
|
2489
|
-
|
|
2907
|
+
DbxInjectedComponent
|
|
2490
2908
|
],
|
|
2491
2909
|
exports: [
|
|
2492
|
-
|
|
2910
|
+
DbxInjectedComponent
|
|
2493
2911
|
],
|
|
2494
2912
|
}]
|
|
2495
2913
|
}] });
|
|
@@ -2611,7 +3029,7 @@ class SimpleStorageAccessor {
|
|
|
2611
3029
|
const expiresIn = this._config.expiresIn;
|
|
2612
3030
|
if (expiresIn) {
|
|
2613
3031
|
if (storeData.storedAt) {
|
|
2614
|
-
return
|
|
3032
|
+
return timeHasExpired(storeData.storedAt, expiresIn);
|
|
2615
3033
|
}
|
|
2616
3034
|
return true;
|
|
2617
3035
|
}
|
|
@@ -2694,8 +3112,8 @@ class StringStorageAccessor {
|
|
|
2694
3112
|
}
|
|
2695
3113
|
}
|
|
2696
3114
|
|
|
2697
|
-
const DEFAULT_STORAGE_OBJECT_TOKEN = new InjectionToken('
|
|
2698
|
-
const DEFAULT_STORAGE_ACCESSOR_FACTORY_TOKEN = new InjectionToken('
|
|
3115
|
+
const DEFAULT_STORAGE_OBJECT_TOKEN = new InjectionToken('DBX_UTIL_DEFAULT_STORAGE_OBJECT');
|
|
3116
|
+
const DEFAULT_STORAGE_ACCESSOR_FACTORY_TOKEN = new InjectionToken('DBX_UTIL_DEFAULT_STORAGE_ACCESSOR_FACTORY');
|
|
2699
3117
|
|
|
2700
3118
|
/**
|
|
2701
3119
|
* Used for building SimpleStorageAccessor instances from SimpleStorageAccessorConfig.
|
|
@@ -2715,12 +3133,12 @@ class SimpleStorageAccessorFactory {
|
|
|
2715
3133
|
return new SimpleStorageAccessor(delegate, accessorConfig);
|
|
2716
3134
|
}
|
|
2717
3135
|
}
|
|
2718
|
-
SimpleStorageAccessorFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2719
|
-
SimpleStorageAccessorFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
2720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3136
|
+
SimpleStorageAccessorFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: SimpleStorageAccessorFactory, deps: [{ token: DEFAULT_STORAGE_OBJECT_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3137
|
+
SimpleStorageAccessorFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: SimpleStorageAccessorFactory });
|
|
3138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: SimpleStorageAccessorFactory, decorators: [{
|
|
2721
3139
|
type: Injectable
|
|
2722
3140
|
}], ctorParameters: function () {
|
|
2723
|
-
return [{ type: i1$
|
|
3141
|
+
return [{ type: i1$4.FullStorageObject, decorators: [{
|
|
2724
3142
|
type: Inject,
|
|
2725
3143
|
args: [DEFAULT_STORAGE_OBJECT_TOKEN]
|
|
2726
3144
|
}] }];
|
|
@@ -2809,10 +3227,10 @@ function defaultStorageObjectFactory() {
|
|
|
2809
3227
|
}
|
|
2810
3228
|
return storageObject;
|
|
2811
3229
|
}
|
|
2812
|
-
class
|
|
3230
|
+
class DbxStorageModule {
|
|
2813
3231
|
static forRoot() {
|
|
2814
3232
|
return {
|
|
2815
|
-
ngModule:
|
|
3233
|
+
ngModule: DbxStorageModule,
|
|
2816
3234
|
providers: [{
|
|
2817
3235
|
provide: DEFAULT_STORAGE_OBJECT_TOKEN,
|
|
2818
3236
|
useFactory: defaultStorageObjectFactory
|
|
@@ -2826,13 +3244,23 @@ class AppStorageModule {
|
|
|
2826
3244
|
};
|
|
2827
3245
|
}
|
|
2828
3246
|
}
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
3247
|
+
DbxStorageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStorageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3248
|
+
DbxStorageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStorageModule });
|
|
3249
|
+
DbxStorageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStorageModule });
|
|
3250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: DbxStorageModule, decorators: [{
|
|
2833
3251
|
type: NgModule
|
|
2834
3252
|
}] });
|
|
2835
3253
|
|
|
3254
|
+
/**
|
|
3255
|
+
* Convenience function used within observables for views that need to detect changes after a value changes.
|
|
3256
|
+
*
|
|
3257
|
+
* @param cdRef
|
|
3258
|
+
* @param timeout
|
|
3259
|
+
* @returns
|
|
3260
|
+
*/
|
|
3261
|
+
function tapDetectChanges(cdRef, timeout = 0) {
|
|
3262
|
+
return tap$1(() => setTimeout(() => safeDetectChanges(cdRef), timeout));
|
|
3263
|
+
}
|
|
2836
3264
|
/**
|
|
2837
3265
|
* Triggers a detection change on the input view as long as the view has not been destroyed.
|
|
2838
3266
|
*
|
|
@@ -2871,5 +3299,5 @@ function checkNgContentWrapperHasContent(ref) {
|
|
|
2871
3299
|
* Generated bundle index. Do not edit.
|
|
2872
3300
|
*/
|
|
2873
3301
|
|
|
2874
|
-
export { APP_ACTION_DISABLED_DIRECTIVE_KEY, APP_ACTION_DISABLED_UNTIL_MODIFIED_DIRECTIVE_KEY,
|
|
3302
|
+
export { APP_ACTION_DISABLED_DIRECTIVE_KEY, APP_ACTION_DISABLED_UNTIL_MODIFIED_DIRECTIVE_KEY, AbstractActionFilterSourceDirective, AbstractDbxAnchorDirective, AbstractDbxButtonDirective, AbstractDbxFilterMapInstanceDirective, AbstractDbxInjectedDirective, AbstractFilterSourceConnectorDirective, AbstractFilterSourceDirective, AbstractLockSetSubscriptionDirective, AbstractSubscriptionDirective, AbstractTransitionDirective, AbstractTransitionWatcherDirective, ActionContextBaseSource, ActionContextMachine, ActionContextStore, ActionContextStoreSource, ActionContextStoreSourceInstance, ActionContextStoreSourceMap, ActionSnackbarDefaultType, ActionSnackbarEventType, ActionState, AnchorType, DBX_INJECTED_COMPONENT_DATA, DEFAULT_ACTION_DISABLED_KEY, DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY, DEFAULT_SNACKBAR_DIRECTIVE_DURATION, DEFAULT_SNACKBAR_UNDO_DIRECTIVE_DURATION, DEFAULT_STORAGE_ACCESSOR_FACTORY_TOKEN, DEFAULT_STORAGE_OBJECT_TOKEN, DateDistancePipe, DateFormatDistancePipe, DateFromToTimePipe, DbxActionAutoModifyDirective, DbxActionAutoTriggerDirective, DbxActionAutoTriggerValueDirective, DbxActionButtonDirective, DbxActionButtonTriggerDirective, DbxActionContextLoggerDirective, DbxActionContextMapDirective, DbxActionContextMapDirectiveSourceInstance, DbxActionDirective, DbxActionDisabledDirective, DbxActionDisabledUntilModifiedDirective, DbxActionFromMapDirective, DbxActionHandlerDirective, DbxActionMapSourceDirective, DbxActionMapWorkingDisableDirective, DbxActionSourceDirective, DbxActionSuccessComponent, DbxActionSuccessDirective, DbxActionValueDirective, DbxActionWorkingComponent, DbxAnchor, DbxAngularRouterService, DbxButton, DbxButtonDirective, DbxButtonSegueDirective, DbxCoreActionModule, DbxCoreAngularRouterSegueModule, DbxCoreButtonModule, DbxCoreFilterModule, DbxCoreUIRouterSegueModule, DbxDatePipeModule, DbxFilterMapDirective, DbxFilterMapSourceConnectorDirective, DbxFilterMapSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterSourceDirective, DbxInjectedComponent, DbxInjectedComponentInstance, DbxInjectedComponentModule, DbxLoadingButtonDirective, DbxRouterService, DbxRouterTransitionEventType, DbxRouterTransitionService, DbxStorageModule, DbxUIRouterService, FullLocalStorageObject, InstantStorageAccessor, LimitedStorageAccessor, MemoryStorageObject, MinutesStringPipe, ProvideActionStoreSource, ProvideDbxAnchor, ProvideDbxButton, ProvideFilterSource, ProvideFilterSourceConnector, ProvideSecondaryActionStoreSource, SecondaryActionContextStoreSource, SimpleStorageAccessor, SimpleStorageAccessorFactory, StorageAccessor, StringStorageAccessor, StringifySimpleStorageAccessorConverter, TimeDistanceCountdownPipe, TimeDistancePipe, ToJsDatePipe, ToMinutesPipe, WorkHandlerContext, WorkHandlerContextSourceDelegate, WrapperSimpleStorageAccessorDelegate, actionContextHasNoErrorAndIsModifiedAndCanTrigger, actionContextIsModifiedAndCanTrigger, actionContextStoreSourceInstanceFactory, actionContextStoreSourcePipe, anchorTypeForAnchor, canReadyValue, canTriggerAction, canTriggerActionState, checkNgContentWrapperHasContent, defaultStorageObjectFactory, expandClickableAnchorLinkTree, expandClickableAnchorLinkTreeNode, expandClickableAnchorLinkTrees, filterTransitionEvent, filterTransitionSuccess, flattenExpandedClickableAnchorLinkTree, flattenExpandedClickableAnchorLinkTreeToLinks, handleWorkValueReadyFn, handleWorkValueReadyWithConfigFn, isActionContextDisabled, isActionContextEnabled, isDisabledActionContextState, isIdleActionState, isWorkingActionState, mapRefStringObsToSegueRefObs, mergeDbxInjectedComponentConfigs, pipeActionStore, refStringToSegueRef, safeDetectChanges, successTransition, tapDetectChanges, useActionStore };
|
|
2875
3303
|
//# sourceMappingURL=dereekb-dbx-core.mjs.map
|