@dereekb/dbx-core 4.0.1 → 5.0.1
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/esm2020/lib/action/action.handler.mjs +1 -1
- package/esm2020/lib/action/action.holder.mjs +1 -1
- package/esm2020/lib/action/action.machine.mjs +2 -2
- package/esm2020/lib/action/action.mjs +2 -2
- package/esm2020/lib/action/action.module.mjs +70 -22
- package/esm2020/lib/action/action.reference.mjs +1 -1
- package/esm2020/lib/action/action.store.mjs +32 -30
- package/esm2020/lib/action/action.store.source.mjs +30 -27
- package/esm2020/lib/action/directive/auto/action.automodify.directive.mjs +5 -8
- package/esm2020/lib/action/directive/auto/action.autotrigger.directive.mjs +9 -12
- package/esm2020/lib/action/directive/context/action.directive.mjs +4 -4
- package/esm2020/lib/action/directive/context/action.source.directive.mjs +5 -6
- package/esm2020/lib/action/directive/debug/action.logger.directive.mjs +1 -1
- package/esm2020/lib/action/directive/map/action.map.directive.mjs +6 -7
- package/esm2020/lib/action/directive/map/action.map.key.directive.mjs +5 -6
- package/esm2020/lib/action/directive/map/action.map.mjs +1 -1
- package/esm2020/lib/action/directive/map/action.map.source.directive.mjs +1 -1
- package/esm2020/lib/action/directive/map/action.map.working.disable.directive.mjs +1 -1
- package/esm2020/lib/action/directive/state/action.disabled.directive.mjs +2 -3
- package/esm2020/lib/action/directive/state/action.enforce.modified.directive.mjs +4 -2
- package/esm2020/lib/action/directive/state/action.handler.directive.mjs +8 -7
- package/esm2020/lib/action/directive/state/action.success.directive.mjs +1 -1
- package/esm2020/lib/action/directive/state/action.success.handler.directive.mjs +7 -6
- package/esm2020/lib/action/directive/state/action.value.directive.mjs +7 -6
- package/esm2020/lib/action/directive/state/action.value.stream.directive.mjs +5 -6
- package/esm2020/lib/action/directive/state/action.value.trigger.directive.mjs +6 -7
- package/esm2020/lib/action/directive/state/action.value.trigger.instance.mjs +7 -5
- package/esm2020/lib/action/directive/state/action.working.component.mjs +1 -1
- package/esm2020/lib/auth/auth.module.mjs +4 -12
- package/esm2020/lib/auth/auth.role.any.directive.mjs +1 -1
- package/esm2020/lib/auth/auth.role.has.directive.mjs +1 -1
- package/esm2020/lib/auth/auth.state.module.mjs +3 -9
- package/esm2020/lib/auth/auth.state.service.mjs +3 -3
- package/esm2020/lib/auth/auth.user.mjs +2 -2
- package/esm2020/lib/auth/index.mjs +1 -1
- package/esm2020/lib/auth/router/auth.router.module.mjs +5 -3
- package/esm2020/lib/auth/router/auth.router.service.mjs +5 -5
- package/esm2020/lib/auth/router/provider/uirouter/auth.hook.mjs +1 -1
- package/esm2020/lib/auth/router/provider/uirouter/hook.mjs +3 -2
- package/esm2020/lib/auth/router/provider/uirouter/redirect.mjs +2 -2
- package/esm2020/lib/auth/router/provider/uirouter/role.hook.mjs +2 -2
- package/esm2020/lib/auth/router/provider/uirouter/state.hook.mjs +3 -3
- package/esm2020/lib/auth/router/state/auth.router.state.module.mjs +7 -9
- package/esm2020/lib/auth/router/state/effect/auth.router.state.effect.mjs +1 -1
- package/esm2020/lib/auth/service/auth.service.mjs +1 -1
- package/esm2020/lib/auth/service/auth.service.rxjs.mjs +3 -3
- package/esm2020/lib/auth/state/action/auth.action.mjs +1 -1
- package/esm2020/lib/auth/state/action/user.action.mjs +1 -1
- package/esm2020/lib/auth/state/effect/auth.effect.mjs +7 -13
- package/esm2020/lib/auth/state/reducer/index.mjs +2 -2
- package/esm2020/lib/auth/state/reducer/user.reducer.mjs +1 -1
- package/esm2020/lib/button/action/action.button.directive.mjs +1 -1
- package/esm2020/lib/button/action/action.button.trigger.directive.mjs +1 -1
- package/esm2020/lib/button/button.directive.mjs +9 -8
- package/esm2020/lib/button/button.loading.directive.mjs +2 -2
- package/esm2020/lib/button/button.mjs +6 -4
- package/esm2020/lib/button/button.module.mjs +4 -24
- package/esm2020/lib/button/router/button.segue.directive.mjs +6 -5
- package/esm2020/lib/context/context.directive.mjs +3 -3
- package/esm2020/lib/context/context.mjs +1 -1
- package/esm2020/lib/context/context.module.mjs +5 -13
- package/esm2020/lib/context/context.service.mjs +3 -3
- package/esm2020/lib/context/state/action/data.action.mjs +1 -1
- package/esm2020/lib/context/state/effect/index.mjs +1 -1
- package/esm2020/lib/context/state/reducer/index.mjs +2 -2
- package/esm2020/lib/context/state/state.mjs +1 -1
- package/esm2020/lib/filter/action/action.filter.source.directive.mjs +1 -1
- package/esm2020/lib/filter/filter.abstract.connector.directive.mjs +3 -2
- package/esm2020/lib/filter/filter.abstract.source.directive.mjs +1 -1
- package/esm2020/lib/filter/filter.connector.directive.mjs +4 -10
- package/esm2020/lib/filter/filter.content.mjs +14 -9
- package/esm2020/lib/filter/filter.map.connector.directive.mjs +4 -10
- package/esm2020/lib/filter/filter.map.directive.mjs +1 -1
- package/esm2020/lib/filter/filter.map.instance.directive.mjs +2 -3
- package/esm2020/lib/filter/filter.map.source.directive.mjs +5 -9
- package/esm2020/lib/filter/filter.module.mjs +6 -30
- package/esm2020/lib/filter/filter.source.directive.mjs +4 -4
- package/esm2020/lib/injection/injection.component.mjs +7 -3
- package/esm2020/lib/injection/injection.component.module.mjs +6 -18
- package/esm2020/lib/injection/injection.context.directive.mjs +4 -4
- package/esm2020/lib/injection/injection.context.forward.directive.mjs +3 -3
- package/esm2020/lib/injection/injection.context.mjs +6 -4
- package/esm2020/lib/injection/injection.directive.mjs +1 -1
- package/esm2020/lib/injection/injection.instance.mjs +7 -6
- package/esm2020/lib/injection/injection.mjs +4 -4
- package/esm2020/lib/ngrx/store.lockset.mjs +3 -3
- package/esm2020/lib/pipe/date/date.pipe.module.mjs +4 -36
- package/esm2020/lib/pipe/date/datedistance.pipe.mjs +4 -7
- package/esm2020/lib/pipe/date/dateformatdistance.pipe.mjs +1 -1
- package/esm2020/lib/pipe/date/datefromtoformat.pipe.mjs +4 -4
- package/esm2020/lib/pipe/date/minutesstring.pipe.mjs +3 -3
- package/esm2020/lib/pipe/date/timedistance.pipe.mjs +1 -1
- package/esm2020/lib/pipe/date/tojsdate.pipe.mjs +1 -1
- package/esm2020/lib/pipe/date/tominutes.pipe.mjs +1 -1
- package/esm2020/lib/pipe/misc/misc.pipe.module.mjs +3 -7
- package/esm2020/lib/pipe/misc/prettyjson.pipe.mjs +1 -1
- package/esm2020/lib/pipe/pipe.module.mjs +4 -9
- package/esm2020/lib/router/anchor/anchor.directive.mjs +3 -4
- package/esm2020/lib/router/anchor/anchor.mjs +6 -4
- package/esm2020/lib/router/anchor/clickable.mjs +1 -1
- package/esm2020/lib/router/router/provider/angular/angular.router.service.mjs +7 -7
- package/esm2020/lib/router/router/provider/angular/angular.router.service.module.mjs +1 -1
- package/esm2020/lib/router/router/provider/uirouter/index.mjs +1 -2
- package/esm2020/lib/router/router/provider/uirouter/uirouter.router.service.mjs +13 -17
- package/esm2020/lib/router/router/provider/uirouter/uirouter.router.service.module.mjs +1 -1
- package/esm2020/lib/router/router/service/router.go.mjs +4 -4
- package/esm2020/lib/router/router/service/router.service.mjs +1 -1
- package/esm2020/lib/router/router/service/router.transition.service.mjs +1 -1
- package/esm2020/lib/router/router/transition/transition.directive.mjs +1 -1
- package/esm2020/lib/router/router/transition/transition.rxjs.mjs +4 -4
- package/esm2020/lib/router/router/transition/transition.watcher.directive.mjs +1 -1
- package/esm2020/lib/router/segue.mjs +16 -4
- package/esm2020/lib/storage/storage.accessor.mjs +1 -1
- package/esm2020/lib/storage/storage.accessor.simple.factory.mjs +1 -1
- package/esm2020/lib/storage/storage.accessor.simple.mjs +7 -5
- package/esm2020/lib/storage/storage.accessor.string.mjs +4 -5
- package/esm2020/lib/storage/storage.module.mjs +9 -5
- package/esm2020/lib/storage/storage.object.localstorage.mjs +2 -2
- package/esm2020/lib/storage/storage.object.memory.mjs +1 -1
- package/esm2020/lib/subscription/subscription.directive.mjs +1 -1
- package/esm2020/lib/util/view.mjs +2 -2
- package/esm2020/lib/view/if.directive.mjs +4 -4
- package/fesm2015/dereekb-dbx-core.mjs +388 -472
- package/fesm2015/dereekb-dbx-core.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-core.mjs +385 -471
- package/fesm2020/dereekb-dbx-core.mjs.map +1 -1
- package/lib/action/action.d.ts +1 -1
- package/lib/action/action.handler.d.ts +8 -4
- package/lib/action/action.holder.d.ts +3 -3
- package/lib/action/action.machine.d.ts +2 -2
- package/lib/action/action.reference.d.ts +3 -3
- package/lib/action/action.store.d.ts +3 -3
- package/lib/action/action.store.source.d.ts +9 -10
- package/lib/action/directive/auto/action.autotrigger.directive.d.ts +4 -4
- package/lib/action/directive/context/action.directive.d.ts +2 -2
- package/lib/action/directive/context/action.source.directive.d.ts +1 -1
- package/lib/action/directive/map/action.map.d.ts +1 -1
- package/lib/action/directive/map/action.map.directive.d.ts +5 -6
- package/lib/action/directive/map/action.map.key.directive.d.ts +1 -1
- package/lib/action/directive/state/action.handler.directive.d.ts +5 -5
- package/lib/action/directive/state/action.success.directive.d.ts +1 -1
- package/lib/action/directive/state/action.value.directive.d.ts +2 -2
- package/lib/action/directive/state/action.value.stream.directive.d.ts +2 -3
- package/lib/action/directive/state/action.value.trigger.directive.d.ts +9 -9
- package/lib/action/directive/state/action.value.trigger.instance.d.ts +5 -5
- package/lib/action/directive/state/action.working.component.d.ts +1 -1
- package/lib/auth/auth.role.any.directive.d.ts +2 -3
- package/lib/auth/auth.role.has.directive.d.ts +2 -3
- package/lib/auth/auth.state.service.d.ts +2 -2
- package/lib/auth/auth.user.d.ts +1 -1
- package/lib/auth/router/auth.router.service.d.ts +2 -2
- package/lib/auth/router/provider/uirouter/hook.d.ts +2 -1
- package/lib/auth/router/provider/uirouter/redirect.d.ts +2 -2
- package/lib/button/button.d.ts +2 -2
- package/lib/button/router/button.segue.directive.d.ts +1 -1
- package/lib/context/context.directive.d.ts +2 -2
- package/lib/context/context.service.d.ts +2 -2
- package/lib/context/state/effect/index.d.ts +1 -1
- package/lib/filter/filter.abstract.connector.directive.d.ts +2 -3
- package/lib/filter/filter.connector.directive.d.ts +1 -1
- package/lib/filter/filter.content.d.ts +3 -3
- package/lib/filter/filter.map.instance.directive.d.ts +1 -1
- package/lib/injection/injection.context.d.ts +5 -5
- package/lib/injection/injection.context.directive.d.ts +3 -3
- package/lib/injection/injection.context.forward.directive.d.ts +2 -2
- package/lib/injection/injection.d.ts +7 -7
- package/lib/injection/injection.directive.d.ts +2 -2
- package/lib/pipe/date/datedistance.pipe.d.ts +1 -1
- package/lib/pipe/date/datefromtoformat.pipe.d.ts +1 -1
- package/lib/pipe/date/tojsdate.pipe.d.ts +1 -0
- package/lib/pipe/misc/prettyjson.pipe.d.ts +2 -2
- package/lib/router/anchor/anchor.d.ts +1 -1
- package/lib/router/anchor/anchor.directive.d.ts +0 -1
- package/lib/router/anchor/clickable.d.ts +1 -1
- package/lib/router/router/provider/angular/angular.router.service.d.ts +2 -2
- package/lib/router/router/provider/uirouter/index.d.ts +0 -1
- package/lib/router/router/provider/uirouter/uirouter.router.service.d.ts +2 -3
- package/lib/router/router/service/router.go.d.ts +4 -4
- package/lib/router/router/service/router.service.d.ts +3 -3
- package/lib/router/router/transition/transition.rxjs.d.ts +2 -2
- package/lib/router/segue.d.ts +13 -10
- package/lib/storage/storage.accessor.d.ts +1 -1
- package/lib/storage/storage.accessor.simple.d.ts +8 -5
- package/lib/storage/storage.accessor.string.d.ts +1 -1
- package/lib/util/view.d.ts +3 -3
- package/lib/view/if.directive.d.ts +6 -6
- package/package.json +5 -5
- package/esm2020/lib/router/router/provider/uirouter/util/future.mjs +0 -38
- package/esm2020/lib/router/router/provider/uirouter/util/index.mjs +0 -2
- package/lib/router/router/provider/uirouter/util/future.d.ts +0 -1
- package/lib/router/router/provider/uirouter/util/index.d.ts +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Provider, Type } from
|
|
2
|
-
import { DbxInjectionComponentConfig } from
|
|
1
|
+
import { Provider, Type } from '@angular/core';
|
|
2
|
+
import { DbxInjectionComponentConfig } from './injection';
|
|
3
3
|
/**
|
|
4
4
|
* DbxInjectedViewContext showContext() configuration.
|
|
5
5
|
*/
|
|
6
|
-
export interface DbxInjectionContextConfig<T =
|
|
6
|
+
export interface DbxInjectionContextConfig<T = unknown, O = unknown> {
|
|
7
7
|
/**
|
|
8
8
|
* Injected config.
|
|
9
9
|
*/
|
|
@@ -25,7 +25,7 @@ export declare abstract class DbxInjectionContext {
|
|
|
25
25
|
*
|
|
26
26
|
* The original content is hidden instead of removed from the context to avoid destruction of children elements.
|
|
27
27
|
*/
|
|
28
|
-
abstract showContext<T =
|
|
28
|
+
abstract showContext<T = unknown, O = unknown>(config: DbxInjectionContextConfig<T>): Promise<O>;
|
|
29
29
|
/**
|
|
30
30
|
* Bails out of any current promise, if one is set.
|
|
31
31
|
*
|
|
@@ -36,4 +36,4 @@ export declare abstract class DbxInjectionContext {
|
|
|
36
36
|
/**
|
|
37
37
|
* Allows a directive to provide a formly context and form.
|
|
38
38
|
*/
|
|
39
|
-
export declare function
|
|
39
|
+
export declare function provideDbxInjectionContext<T extends DbxInjectionContext>(type: Type<T>): Provider[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Injector, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
1
|
+
import { Injector, TemplateRef, ViewContainerRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { DbxInjectionContext, DbxInjectionContextConfig } from './injection.context';
|
|
3
3
|
import { DbxInjectionComponentConfig } from './injection';
|
|
4
4
|
import { Maybe } from '@dereekb/util';
|
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
/**
|
|
7
7
|
* DbxInjectedViewContext implementation. Acts similar to *ngIf, but instead switches to a different view without destroying the original child view.
|
|
8
8
|
*/
|
|
9
|
-
export declare class DbxInjectionContextDirective<O =
|
|
9
|
+
export declare class DbxInjectionContextDirective<O = unknown> implements DbxInjectionContext, OnInit, OnDestroy {
|
|
10
10
|
private readonly _injector;
|
|
11
11
|
private readonly _templateRef;
|
|
12
12
|
private readonly _viewContainer;
|
|
@@ -15,7 +15,7 @@ export declare class DbxInjectionContextDirective<O = any> implements DbxInjecti
|
|
|
15
15
|
private _embeddedView;
|
|
16
16
|
private _isDetached;
|
|
17
17
|
constructor(_injector: Injector, _templateRef: TemplateRef<O>, _viewContainer: ViewContainerRef);
|
|
18
|
-
set config(config: Maybe<DbxInjectionComponentConfig<
|
|
18
|
+
set config(config: Maybe<DbxInjectionComponentConfig<unknown>>);
|
|
19
19
|
ngOnInit(): void;
|
|
20
20
|
ngOnDestroy(): void;
|
|
21
21
|
showContext<T, O>(config: DbxInjectionContextConfig<T>): Promise<O>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DbxInjectionContext, DbxInjectionContextConfig } from
|
|
1
|
+
import { DbxInjectionContext, DbxInjectionContextConfig } from './injection.context';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* Abstract DbxInjectionContext implementation that forwards commands to a host DbxInjectionContext.
|
|
@@ -9,7 +9,7 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
export declare abstract class AbstractForwardDbxInjectionContextDirective implements DbxInjectionContext {
|
|
10
10
|
readonly dbxInjectionContext: DbxInjectionContext;
|
|
11
11
|
constructor(dbxInjectionContext: DbxInjectionContext);
|
|
12
|
-
showContext<T =
|
|
12
|
+
showContext<T = unknown, O = unknown>(config: DbxInjectionContextConfig<T, unknown>): Promise<O>;
|
|
13
13
|
resetContext(): boolean;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractForwardDbxInjectionContextDirective, [{ host: true; }]>;
|
|
15
15
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractForwardDbxInjectionContextDirective, never, never, {}, {}, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { InjectionToken, Injector, NgModuleRef, StaticProvider, TemplateRef, Type, ViewRef } from
|
|
2
|
-
import { Maybe } from
|
|
1
|
+
import { InjectionToken, Injector, NgModuleRef, StaticProvider, TemplateRef, Type, ViewRef } from '@angular/core';
|
|
2
|
+
import { Maybe } from '@dereekb/util';
|
|
3
3
|
export declare const DBX_INJECTION_COMPONENT_DATA: InjectionToken<unknown>;
|
|
4
|
-
export interface DbxInjectionComponentConfig<T =
|
|
4
|
+
export interface DbxInjectionComponentConfig<T = unknown> {
|
|
5
5
|
/**
|
|
6
6
|
* Type of Component to initialize.
|
|
7
7
|
*/
|
|
@@ -23,11 +23,11 @@ export interface DbxInjectionComponentConfig<T = any> {
|
|
|
23
23
|
*/
|
|
24
24
|
init?: (instance: T) => void;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* unknown optional data to inject into the component.
|
|
27
27
|
*/
|
|
28
|
-
data?:
|
|
28
|
+
data?: unknown;
|
|
29
29
|
}
|
|
30
|
-
export interface DbxInjectionTemplateConfig<T =
|
|
30
|
+
export interface DbxInjectionTemplateConfig<T = unknown> {
|
|
31
31
|
/**
|
|
32
32
|
* Template ref to display.
|
|
33
33
|
*/
|
|
@@ -43,4 +43,4 @@ export interface DbxInjectionTemplateConfig<T = any> {
|
|
|
43
43
|
* @param configs
|
|
44
44
|
* @returns
|
|
45
45
|
*/
|
|
46
|
-
export declare function mergeDbxInjectionComponentConfigs(configs: Maybe<Partial<DbxInjectionComponentConfig
|
|
46
|
+
export declare function mergeDbxInjectionComponentConfigs<T = unknown>(configs: Maybe<Partial<DbxInjectionComponentConfig<T>>>[]): Partial<DbxInjectionComponentConfig<T>>;
|
|
@@ -11,8 +11,8 @@ export declare abstract class AbstractDbxInjectionDirective<T> implements OnInit
|
|
|
11
11
|
constructor(_injector: Injector);
|
|
12
12
|
ngOnInit(): void;
|
|
13
13
|
ngOnDestroy(): void;
|
|
14
|
-
setConfig(config: Maybe<DbxInjectionComponentConfig
|
|
15
|
-
setTemplate(template: Maybe<DbxInjectionTemplateConfig
|
|
14
|
+
setConfig(config: Maybe<DbxInjectionComponentConfig<T>>): void;
|
|
15
|
+
setTemplate(template: Maybe<DbxInjectionTemplateConfig<T>>): void;
|
|
16
16
|
setContent(content: Maybe<ViewContainerRef>): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDbxInjectionDirective<any>, never>;
|
|
18
18
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxInjectionDirective<any>, never, never, {}, {}, never>;
|
|
@@ -2,7 +2,7 @@ import { PipeTransform } from '@angular/core';
|
|
|
2
2
|
import { DateOrDateString, Maybe } from '@dereekb/util';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class DateDistancePipe implements PipeTransform {
|
|
5
|
-
transform(input: Maybe<DateOrDateString>,
|
|
5
|
+
transform(input: Maybe<DateOrDateString>, inputTo?: Maybe<Date>, unavailable?: string): string;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateDistancePipe, never>;
|
|
7
7
|
static ɵpipe: i0.ɵɵPipeDeclaration<DateDistancePipe, "dateDistance">;
|
|
8
8
|
}
|
|
@@ -6,9 +6,9 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class DateFromToTimePipe implements PipeTransform {
|
|
8
8
|
private locale;
|
|
9
|
+
static formatFromTo(input: Maybe<DateOrDateString>, format: string, minutes: number, locale: string): Maybe<string>;
|
|
9
10
|
constructor(locale: string);
|
|
10
11
|
transform(input: Maybe<DateOrDateString>, format: string, minutes: number): Maybe<string>;
|
|
11
|
-
static formatFromTo(input: Maybe<DateOrDateString>, format: string, minutes: number, locale: string): Maybe<string>;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateFromToTimePipe, never>;
|
|
13
13
|
static ɵpipe: i0.ɵɵPipeDeclaration<DateFromToTimePipe, "dateFromPlusTo">;
|
|
14
14
|
}
|
|
@@ -2,6 +2,7 @@ import { PipeTransform } from '@angular/core';
|
|
|
2
2
|
import { DateOrDateString, Maybe } from '@dereekb/util';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ToJsDatePipe implements PipeTransform {
|
|
5
|
+
static toJsDate(input: DateOrDateString): Date;
|
|
5
6
|
static toJsDate(input: Maybe<DateOrDateString>): Maybe<Date>;
|
|
6
7
|
transform(input: Maybe<DateOrDateString>): Maybe<Date>;
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToJsDatePipe, never>;
|
|
@@ -2,8 +2,8 @@ import { PipeTransform } from '@angular/core';
|
|
|
2
2
|
import { Maybe } from '@dereekb/util';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PrettyJsonPipe implements PipeTransform {
|
|
5
|
-
static toPrettyJson(input: Maybe<
|
|
6
|
-
transform(input: Maybe<
|
|
5
|
+
static toPrettyJson(input: Maybe<unknown>, spacing?: number): Maybe<string>;
|
|
6
|
+
transform(input: Maybe<unknown>, spacing?: number): Maybe<string>;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<PrettyJsonPipe, never>;
|
|
8
8
|
static ɵpipe: i0.ɵɵPipeDeclaration<PrettyJsonPipe, "prettyjson">;
|
|
9
9
|
}
|
|
@@ -55,4 +55,4 @@ export declare abstract class DbxAnchor<T extends ClickableAnchor = ClickableAnc
|
|
|
55
55
|
abstract anchor: Maybe<T>;
|
|
56
56
|
abstract type$: Observable<AnchorType>;
|
|
57
57
|
}
|
|
58
|
-
export declare function
|
|
58
|
+
export declare function provideDbxAnchor<S extends DbxAnchor>(sourceType: Type<S>): Provider[];
|
|
@@ -13,7 +13,6 @@ export declare class AbstractDbxAnchorDirective<T extends ClickableAnchor = Clic
|
|
|
13
13
|
readonly disabled$: Observable<Maybe<boolean>>;
|
|
14
14
|
readonly anchor$: Observable<Maybe<T>>;
|
|
15
15
|
readonly type$: Observable<AnchorType>;
|
|
16
|
-
constructor();
|
|
17
16
|
ngOnDestroy(): void;
|
|
18
17
|
/**
|
|
19
18
|
* Convenience input to create an Anchor from the input SegueRef.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { DbxRouterService, DbxRouterTransitionService } from '../../service';
|
|
3
|
-
import { SegueRefOrSegueRefRouterLink, SegueRefRawSegueParams } from
|
|
4
|
-
import { DbxRouterTransitionEvent } from
|
|
3
|
+
import { SegueRefOrSegueRefRouterLink, SegueRefRawSegueParams } from '../../../segue';
|
|
4
|
+
import { DbxRouterTransitionEvent } from '../../transition/transition';
|
|
5
5
|
import { ActivatedRoute, NavigationBehaviorOptions, NavigationExtras, Router } from '@angular/router';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DbxRouterService, DbxRouterTransitionService } from '../../service';
|
|
2
|
-
import { SegueRefOrSegueRefRouterLink, SegueRefRawSegueParams } from
|
|
2
|
+
import { SegueRefOrSegueRefRouterLink, SegueRefRawSegueParams } from '../../../segue';
|
|
3
3
|
import { StateService, UIRouterGlobals, TransitionOptions, TransitionService } from '@uirouter/core';
|
|
4
|
-
import { OnDestroy } from
|
|
4
|
+
import { OnDestroy } from '@angular/core';
|
|
5
5
|
import { DbxRouterTransitionEvent } from '../../transition/transition';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
@@ -24,4 +24,3 @@ export declare class DbxUIRouterService implements DbxRouterService, DbxRouterTr
|
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxUIRouterService, never>;
|
|
25
25
|
static ɵprov: i0.ɵɵInjectableDeclaration<DbxUIRouterService>;
|
|
26
26
|
}
|
|
27
|
-
export declare function readSegueRefString(input: SegueRefOrSegueRefRouterLink | string): string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ObservableOrValue } from
|
|
2
|
-
import { SegueRef } from
|
|
3
|
-
import { DbxRouterService } from
|
|
1
|
+
import { ObservableOrValue } from '@dereekb/rxjs';
|
|
2
|
+
import { SegueRef, SegueRefOrSegueRefRouterLink } from '../../segue';
|
|
3
|
+
import { DbxRouterService } from './router.service';
|
|
4
4
|
/**
|
|
5
5
|
* Function that will perform navigation with the input route.
|
|
6
6
|
*/
|
|
@@ -11,4 +11,4 @@ export declare type GoWithRouter = (route: ObservableOrValue<SegueRef>) => Promi
|
|
|
11
11
|
* @param dbxRouterService
|
|
12
12
|
* @returns
|
|
13
13
|
*/
|
|
14
|
-
export declare function goWithRouter(dbxRouterService: DbxRouterService): (route: ObservableOrValue<
|
|
14
|
+
export declare function goWithRouter(dbxRouterService: DbxRouterService): (route: ObservableOrValue<SegueRefOrSegueRefRouterLink>) => Promise<boolean>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ObservableOrValue } from
|
|
2
|
-
import { Observable } from
|
|
3
|
-
import { SegueRefOrSegueRefRouterLink, SegueRefRawSegueParams } from
|
|
1
|
+
import { ObservableOrValue } from '@dereekb/rxjs';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { SegueRefOrSegueRefRouterLink, SegueRefRawSegueParams } from '../../segue';
|
|
4
4
|
/**
|
|
5
5
|
* Router service definition that can route the app and provide routing details.
|
|
6
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MonoTypeOperatorFunction, Observable } from
|
|
2
|
-
import { DbxRouterTransitionEvent, DbxRouterTransitionEventType } from
|
|
1
|
+
import { MonoTypeOperatorFunction, Observable } from 'rxjs';
|
|
2
|
+
import { DbxRouterTransitionEvent, DbxRouterTransitionEventType } from './transition';
|
|
3
3
|
/**
|
|
4
4
|
* Convenience function for filtering success from the input observable.
|
|
5
5
|
*
|
package/lib/router/segue.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ArrayOrValue } from '@dereekb/util';
|
|
1
|
+
import { ArrayOrValue, Maybe } from '@dereekb/util';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
export declare type SegueRefRouterLink = string | ArrayOrValue<
|
|
3
|
+
export declare type SegueRefRouterLink = string | ArrayOrValue<object>;
|
|
4
4
|
export interface SegueRefRawSegueParams {
|
|
5
|
-
[key: string]:
|
|
5
|
+
[key: string]: unknown;
|
|
6
6
|
}
|
|
7
|
-
export interface SegueRefOptions<O =
|
|
7
|
+
export interface SegueRefOptions<O = object> {
|
|
8
8
|
/**
|
|
9
9
|
* Raw parameters
|
|
10
10
|
*/
|
|
@@ -19,7 +19,7 @@ export interface SegueRefOptions<O = any> {
|
|
|
19
19
|
/**
|
|
20
20
|
* Represents a segue ref
|
|
21
21
|
*/
|
|
22
|
-
export interface SegueRef<O =
|
|
22
|
+
export interface SegueRef<O = object> extends SegueRefOptions<O> {
|
|
23
23
|
/**
|
|
24
24
|
* Ref path value.
|
|
25
25
|
*/
|
|
@@ -28,8 +28,11 @@ export interface SegueRef<O = any> extends SegueRefOptions<O> {
|
|
|
28
28
|
/**
|
|
29
29
|
* A SegueRef object or a different router link representation.
|
|
30
30
|
*/
|
|
31
|
-
export declare type SegueRefOrSegueRefRouterLink<O =
|
|
32
|
-
export declare function isSegueRef<O =
|
|
33
|
-
export declare function asSegueRef<O =
|
|
34
|
-
export declare function
|
|
35
|
-
export declare function
|
|
31
|
+
export declare type SegueRefOrSegueRefRouterLink<O = object> = SegueRef<O> | SegueRefRouterLink;
|
|
32
|
+
export declare function isSegueRef<O = object>(input: Maybe<SegueRefOrSegueRefRouterLink<O>>): input is SegueRef<O>;
|
|
33
|
+
export declare function asSegueRef<O = object>(input: SegueRefOrSegueRefRouterLink<O>): SegueRef<O>;
|
|
34
|
+
export declare function asSegueRef<O = object>(input: Maybe<SegueRefOrSegueRefRouterLink<O>>): Maybe<SegueRef<O>>;
|
|
35
|
+
export declare function asSegueRefString<O = object>(input: SegueRefOrSegueRefRouterLink<O> | string): string;
|
|
36
|
+
export declare function asSegueRefString<O = object>(input: Maybe<SegueRefOrSegueRefRouterLink<O> | string>): Maybe<string>;
|
|
37
|
+
export declare function refStringToSegueRef<O = object>(ref: string, options?: SegueRefOptions<O>): SegueRef<O>;
|
|
38
|
+
export declare function mapRefStringObsToSegueRefObs<O = object>(obs: Observable<string>, options?: SegueRefOptions<O>): Observable<SegueRef<O>>;
|
|
@@ -10,7 +10,7 @@ export declare abstract class LimitedStorageAccessor<T> {
|
|
|
10
10
|
abstract get(key: string): Observable<Maybe<T>>;
|
|
11
11
|
abstract set(key: string, value: Maybe<T>): Observable<void>;
|
|
12
12
|
abstract remove(key: string): Observable<void>;
|
|
13
|
-
abstract clear(): Observable<
|
|
13
|
+
abstract clear(): Observable<object>;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* LimitedStorageAccessor extension that has knowledge of all stored keys.
|
|
@@ -27,7 +27,7 @@ export declare class WrapperSimpleStorageAccessorDelegate<T> implements SimpleSt
|
|
|
27
27
|
get(key: string): Observable<Maybe<StoredDataString>>;
|
|
28
28
|
set(key: string, value: StoredDataString): Observable<void>;
|
|
29
29
|
remove(key: string): Observable<void>;
|
|
30
|
-
clear(): Observable<
|
|
30
|
+
clear(): Observable<object>;
|
|
31
31
|
all(prefix?: string): Observable<string[]>;
|
|
32
32
|
allKeys(prefix?: string): Observable<string[]>;
|
|
33
33
|
stringifyValue(value: T): StoredDataString;
|
|
@@ -47,22 +47,24 @@ export interface SimpleStorageAccessorConfig {
|
|
|
47
47
|
*/
|
|
48
48
|
readonly expiresIn?: number;
|
|
49
49
|
}
|
|
50
|
+
interface ConfiguredSimpleStorageAccessorConfig extends SimpleStorageAccessorConfig {
|
|
51
|
+
readonly prefixSplitter: string;
|
|
52
|
+
readonly fullPrefix: string;
|
|
53
|
+
}
|
|
50
54
|
/**
|
|
51
55
|
* LimitedStorageAccessor implementation that uses a Delegate
|
|
52
56
|
*/
|
|
53
57
|
export declare class SimpleStorageAccessor<T> implements StorageAccessor<T> {
|
|
54
58
|
private readonly _delegate;
|
|
55
59
|
static readonly PREFIX_SPLITTER = "::";
|
|
56
|
-
protected readonly _config:
|
|
57
|
-
fullPrefix: string;
|
|
58
|
-
};
|
|
60
|
+
protected readonly _config: ConfiguredSimpleStorageAccessorConfig;
|
|
59
61
|
constructor(_delegate: SimpleStorageAccessorDelegate<T>, config: SimpleStorageAccessorConfig);
|
|
60
62
|
get(inputKey: string): Observable<T>;
|
|
61
63
|
set(inputKey: string, inputValue: T): Observable<void>;
|
|
62
64
|
remove(key: string): Observable<void>;
|
|
63
65
|
all(): Observable<T[]>;
|
|
64
66
|
allKeys(): Observable<string[]>;
|
|
65
|
-
clear(): Observable<
|
|
67
|
+
clear(): Observable<object>;
|
|
66
68
|
protected readStoredData(storedDataString: StoredDataString): ReadStoredData<T>;
|
|
67
69
|
protected buildStoredData(value: T): StoredData;
|
|
68
70
|
protected isExpiredStoredData(storeData: StoredData): boolean;
|
|
@@ -73,3 +75,4 @@ export declare class SimpleStorageAccessor<T> implements StorageAccessor<T> {
|
|
|
73
75
|
protected decodeStorageKey(storageKey: StoredDataStorageKey): string;
|
|
74
76
|
protected stringifyValue(value: T): string;
|
|
75
77
|
}
|
|
78
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { StoredDataString, FullStorageObject, Maybe } from '@dereekb/util';
|
|
1
2
|
import { Observable } from 'rxjs';
|
|
2
3
|
import { StorageAccessor } from './storage.accessor';
|
|
3
|
-
import { StoredDataString, FullStorageObject, Maybe } from '@dereekb/util';
|
|
4
4
|
/**
|
|
5
5
|
* Simple StorageAccessor implementation that wraps a FullStorageObject.
|
|
6
6
|
*/
|
package/lib/util/view.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MonoTypeOperatorFunction } from 'rxjs';
|
|
2
|
-
import { ChangeDetectorRef, ElementRef } from
|
|
3
|
-
import { Maybe } from
|
|
2
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
3
|
+
import { Maybe } from '@dereekb/util';
|
|
4
4
|
/**
|
|
5
5
|
* Convenience function used within observables for views that need to detect changes after a value changes.
|
|
6
6
|
*
|
|
@@ -26,7 +26,7 @@ export declare function safeMarkForCheck(cdRef: ChangeDetectorRef): void;
|
|
|
26
26
|
*
|
|
27
27
|
* @param cdRef
|
|
28
28
|
*/
|
|
29
|
-
export declare function safeUseCdRef(cdRef: ChangeDetectorRef, use: () => void): void;
|
|
29
|
+
export declare function safeUseCdRef(cdRef: ChangeDetectorRef, use: (cdRef: ChangeDetectorRef) => void): void;
|
|
30
30
|
/**
|
|
31
31
|
* Used to check an injected ElementRef that wraps an ng-content injection point whether or not any content was injected,
|
|
32
32
|
* or more specifically if the parent component passed any target content to the child. This will still return true if
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { TemplateRef, ViewContainerRef } from
|
|
2
|
-
import { Observable } from
|
|
3
|
-
import { AbstractSubscriptionDirective } from
|
|
1
|
+
import { OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { AbstractSubscriptionDirective } from '../subscription';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Abstract directive class that watches a show$ observable and behaves like *ngIf.
|
|
7
7
|
*/
|
|
8
|
-
export declare abstract class AbstractIfDirective extends AbstractSubscriptionDirective {
|
|
8
|
+
export declare abstract class AbstractIfDirective extends AbstractSubscriptionDirective implements OnInit {
|
|
9
9
|
private templateRef;
|
|
10
10
|
private viewContainer;
|
|
11
11
|
/**
|
|
12
12
|
* Observable that is watched for showing/hiding.
|
|
13
13
|
*/
|
|
14
|
-
readonly
|
|
15
|
-
constructor(templateRef: TemplateRef<
|
|
14
|
+
abstract readonly show$: Observable<boolean>;
|
|
15
|
+
constructor(templateRef: TemplateRef<unknown>, viewContainer: ViewContainerRef);
|
|
16
16
|
ngOnInit(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractIfDirective, never>;
|
|
18
18
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractIfDirective, never, never, {}, {}, never>;
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^13.0.0",
|
|
6
6
|
"@angular/core": "^13.0.0",
|
|
7
|
-
"@dereekb/
|
|
7
|
+
"@dereekb/util": "5.0.1",
|
|
8
|
+
"@dereekb/rxjs": "5.0.1",
|
|
8
9
|
"@ngrx/component-store": "^13.0.2",
|
|
9
10
|
"@angular/platform-browser": "^13.0.0",
|
|
10
11
|
"@ngrx/effects": "^13.0.2",
|
|
11
12
|
"@ngrx/store": "^13.0.2",
|
|
12
13
|
"@uirouter/core": "^6.0.8",
|
|
13
14
|
"date-fns": "^2.28.0",
|
|
14
|
-
"@dereekb/date": "
|
|
15
|
-
"@angular/router": "^13.0.0"
|
|
16
|
-
"@uirouter/angular": "^9.1.0"
|
|
15
|
+
"@dereekb/date": "5.0.1",
|
|
16
|
+
"@angular/router": "^13.0.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"tslib": "^2.3.0"
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { mergeArrayIntoArray, objectFlatMergeMatrix } from '@dereekb/util';
|
|
2
|
-
/**
|
|
3
|
-
* Used for creating a future state that also captures any children urls.
|
|
4
|
-
*
|
|
5
|
-
* This is important for cases, such as /, where multiple urls should target a specific future so that
|
|
6
|
-
* it can load that module and continue route resolution for the child url.
|
|
7
|
-
*
|
|
8
|
-
* For example:
|
|
9
|
-
* - the urls /a and /b are declared in a lazy loaded module that is for /. This presents a problem, since
|
|
10
|
-
* the root module does not know how to handle /a or /b, since they are children of /. We use
|
|
11
|
-
* futureStateWithChildrenUrls() to build a future state with the child urls so the parent routing knows where
|
|
12
|
-
* to send /a or /b.
|
|
13
|
-
*
|
|
14
|
-
* @param state
|
|
15
|
-
* @param urls
|
|
16
|
-
* @returns
|
|
17
|
-
*
|
|
18
|
-
* @deprecated not how this feature works. Consider adding it to ui-router later then re-export this function.
|
|
19
|
-
*/
|
|
20
|
-
function futureStateWithChildrenUrls(state, urls) {
|
|
21
|
-
const states = [state];
|
|
22
|
-
mergeArrayIntoArray(states, expandFutureStateWithUrls(state, urls));
|
|
23
|
-
return states;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Copies the input state and replaces the url in each of them with the passed urls.
|
|
27
|
-
*
|
|
28
|
-
* @param state
|
|
29
|
-
* @param urls
|
|
30
|
-
* @returns
|
|
31
|
-
*
|
|
32
|
-
* @deprecated
|
|
33
|
-
*/
|
|
34
|
-
function expandFutureStateWithUrls(state, urls) {
|
|
35
|
-
const childrenStates = objectFlatMergeMatrix(state, urls.map(url => ({ url })));
|
|
36
|
-
return childrenStates;
|
|
37
|
-
}
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnV0dXJlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZGJ4LWNvcmUvc3JjL2xpYi9yb3V0ZXIvcm91dGVyL3Byb3ZpZGVyL3Vpcm91dGVyL3V0aWwvZnV0dXJlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxxQkFBcUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUczRTs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FpQkc7QUFDSCxTQUFTLDJCQUEyQixDQUFDLEtBQTBCLEVBQUUsSUFBYztJQUM3RSxNQUFNLE1BQU0sR0FBRyxDQUFDLEtBQUssQ0FBQyxDQUFDO0lBQ3ZCLG1CQUFtQixDQUFDLE1BQU0sRUFBRSx5QkFBeUIsQ0FBQyxLQUFLLEVBQUUsSUFBSSxDQUFDLENBQUMsQ0FBQztJQUNwRSxPQUFPLE1BQU0sQ0FBQztBQUNoQixDQUFDO0FBRUQ7Ozs7Ozs7O0dBUUc7QUFDSCxTQUFTLHlCQUF5QixDQUFDLEtBQTBCLEVBQUUsSUFBYztJQUMzRSxNQUFNLGNBQWMsR0FBRyxxQkFBcUIsQ0FBQyxLQUFLLEVBQUUsSUFBSSxDQUFDLEdBQUcsQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxHQUFHLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQztJQUNoRixPQUFPLGNBQWMsQ0FBQztBQUN4QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgbWVyZ2VBcnJheUludG9BcnJheSwgb2JqZWN0RmxhdE1lcmdlTWF0cml4IH0gZnJvbSAnQGRlcmVla2IvdXRpbCc7XG5pbXBvcnQgeyBOZzJTdGF0ZURlY2xhcmF0aW9uIH0gZnJvbSAnQHVpcm91dGVyL2FuZ3VsYXInO1xuXG4vKipcbiAqIFVzZWQgZm9yIGNyZWF0aW5nIGEgZnV0dXJlIHN0YXRlIHRoYXQgYWxzbyBjYXB0dXJlcyBhbnkgY2hpbGRyZW4gdXJscy5cbiAqIFxuICogVGhpcyBpcyBpbXBvcnRhbnQgZm9yIGNhc2VzLCBzdWNoIGFzIC8sIHdoZXJlIG11bHRpcGxlIHVybHMgc2hvdWxkIHRhcmdldCBhIHNwZWNpZmljIGZ1dHVyZSBzbyB0aGF0IFxuICogaXQgY2FuIGxvYWQgdGhhdCBtb2R1bGUgYW5kIGNvbnRpbnVlIHJvdXRlIHJlc29sdXRpb24gZm9yIHRoZSBjaGlsZCB1cmwuXG4gKiBcbiAqIEZvciBleGFtcGxlOlxuICogLSB0aGUgdXJscyAvYSBhbmQgL2IgYXJlIGRlY2xhcmVkIGluIGEgbGF6eSBsb2FkZWQgbW9kdWxlIHRoYXQgaXMgZm9yIC8uIFRoaXMgcHJlc2VudHMgYSBwcm9ibGVtLCBzaW5jZVxuICogdGhlIHJvb3QgbW9kdWxlIGRvZXMgbm90IGtub3cgaG93IHRvIGhhbmRsZSAvYSBvciAvYiwgc2luY2UgdGhleSBhcmUgY2hpbGRyZW4gb2YgLy4gV2UgdXNlIFxuICogZnV0dXJlU3RhdGVXaXRoQ2hpbGRyZW5VcmxzKCkgdG8gYnVpbGQgYSBmdXR1cmUgc3RhdGUgd2l0aCB0aGUgY2hpbGQgdXJscyBzbyB0aGUgcGFyZW50IHJvdXRpbmcga25vd3Mgd2hlcmVcbiAqIHRvIHNlbmQgL2Egb3IgL2IuXG4gKiBcbiAqIEBwYXJhbSBzdGF0ZSBcbiAqIEBwYXJhbSB1cmxzIFxuICogQHJldHVybnMgXG4gKiBcbiAqIEBkZXByZWNhdGVkIG5vdCBob3cgdGhpcyBmZWF0dXJlIHdvcmtzLiBDb25zaWRlciBhZGRpbmcgaXQgdG8gdWktcm91dGVyIGxhdGVyIHRoZW4gcmUtZXhwb3J0IHRoaXMgZnVuY3Rpb24uXG4gKi9cbmZ1bmN0aW9uIGZ1dHVyZVN0YXRlV2l0aENoaWxkcmVuVXJscyhzdGF0ZTogTmcyU3RhdGVEZWNsYXJhdGlvbiwgdXJsczogc3RyaW5nW10pOiBOZzJTdGF0ZURlY2xhcmF0aW9uW10ge1xuICBjb25zdCBzdGF0ZXMgPSBbc3RhdGVdO1xuICBtZXJnZUFycmF5SW50b0FycmF5KHN0YXRlcywgZXhwYW5kRnV0dXJlU3RhdGVXaXRoVXJscyhzdGF0ZSwgdXJscykpO1xuICByZXR1cm4gc3RhdGVzO1xufVxuXG4vKipcbiAqIENvcGllcyB0aGUgaW5wdXQgc3RhdGUgYW5kIHJlcGxhY2VzIHRoZSB1cmwgaW4gZWFjaCBvZiB0aGVtIHdpdGggdGhlIHBhc3NlZCB1cmxzLlxuICogXG4gKiBAcGFyYW0gc3RhdGUgXG4gKiBAcGFyYW0gdXJscyBcbiAqIEByZXR1cm5zIFxuICogXG4gKiBAZGVwcmVjYXRlZFxuICovXG5mdW5jdGlvbiBleHBhbmRGdXR1cmVTdGF0ZVdpdGhVcmxzKHN0YXRlOiBOZzJTdGF0ZURlY2xhcmF0aW9uLCB1cmxzOiBzdHJpbmdbXSk6IE5nMlN0YXRlRGVjbGFyYXRpb25bXSB7XG4gIGNvbnN0IGNoaWxkcmVuU3RhdGVzID0gb2JqZWN0RmxhdE1lcmdlTWF0cml4KHN0YXRlLCB1cmxzLm1hcCh1cmwgPT4gKHsgdXJsIH0pKSk7XG4gIHJldHVybiBjaGlsZHJlblN0YXRlcztcbn1cbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './future';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9kYngtY29yZS9zcmMvbGliL3JvdXRlci9yb3V0ZXIvcHJvdmlkZXIvdWlyb3V0ZXIvdXRpbC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFVBQVUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZnV0dXJlJztcbiJdfQ==
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './future';
|