@dereekb/dbx-core 11.1.8 → 12.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/esm2022/lib/action/action.holder.mjs +1 -1
- package/esm2022/lib/action/action.machine.mjs +5 -5
- package/esm2022/lib/action/action.mjs +1 -1
- package/esm2022/lib/action/action.module.mjs +14 -13
- package/esm2022/lib/action/action.store.mjs +22 -10
- package/esm2022/lib/action/action.store.source.mjs +4 -1
- package/esm2022/lib/action/directive/auto/action.automodify.directive.mjs +24 -32
- package/esm2022/lib/action/directive/auto/action.autotrigger.directive.mjs +74 -87
- package/esm2022/lib/action/directive/auto/index.mjs +1 -2
- package/esm2022/lib/action/directive/context/action.directive.mjs +7 -6
- package/esm2022/lib/action/directive/context/action.source.directive.mjs +12 -25
- package/esm2022/lib/action/directive/debug/action.logger.directive.mjs +6 -5
- package/esm2022/lib/action/directive/map/action.map.directive.mjs +21 -65
- package/esm2022/lib/action/directive/map/action.map.key.directive.mjs +9 -8
- package/esm2022/lib/action/directive/map/action.map.mjs +54 -1
- package/esm2022/lib/action/directive/map/action.map.source.directive.mjs +10 -9
- package/esm2022/lib/action/directive/map/action.map.utility.mjs +37 -0
- package/esm2022/lib/action/directive/map/action.map.working.disable.directive.mjs +16 -16
- package/esm2022/lib/action/directive/map/index.mjs +2 -1
- package/esm2022/lib/action/directive/state/action.disabled.directive.mjs +6 -5
- package/esm2022/lib/action/directive/state/action.disableonsuccess.directive.mjs +6 -5
- package/esm2022/lib/action/directive/state/action.enforce.modified.directive.mjs +6 -5
- package/esm2022/lib/action/directive/state/action.handler.directive.mjs +29 -43
- package/esm2022/lib/action/directive/state/action.handler.instance.mjs +12 -14
- package/esm2022/lib/action/directive/state/action.presuccess.directive.mjs +6 -5
- package/esm2022/lib/action/directive/state/action.success.directive.mjs +6 -5
- package/esm2022/lib/action/directive/state/action.success.handler.directive.mjs +12 -23
- package/esm2022/lib/action/directive/state/action.value.directive.mjs +23 -24
- package/esm2022/lib/action/directive/state/action.value.stream.directive.mjs +22 -36
- package/esm2022/lib/action/directive/state/action.value.trigger.directive.mjs +50 -42
- package/esm2022/lib/action/directive/state/action.value.trigger.instance.mjs +27 -15
- package/esm2022/lib/action/directive/state/action.working.directive.mjs +35 -0
- package/esm2022/lib/action/directive/state/index.mjs +3 -2
- package/esm2022/lib/auth/auth.module.mjs +13 -7
- package/esm2022/lib/auth/auth.providers.mjs +16 -0
- package/esm2022/lib/auth/auth.role.any.directive.mjs +13 -14
- package/esm2022/lib/auth/auth.role.has.directive.mjs +13 -14
- package/esm2022/lib/auth/auth.role.not.directive.mjs +13 -14
- package/esm2022/lib/auth/auth.state.providers.mjs +14 -0
- package/esm2022/lib/auth/auth.state.service.mjs +3 -3
- package/esm2022/lib/auth/index.mjs +3 -2
- package/esm2022/lib/auth/router/auth.router.module.mjs +4 -4
- package/esm2022/lib/auth/router/auth.router.providers.mjs +19 -0
- package/esm2022/lib/auth/router/auth.router.service.mjs +5 -5
- package/esm2022/lib/auth/router/index.mjs +2 -1
- package/esm2022/lib/auth/router/provider/uirouter/hook.mjs +1 -1
- package/esm2022/lib/auth/router/provider/uirouter/redirect.mjs +1 -1
- package/esm2022/lib/auth/router/provider/uirouter/role.hook.mjs +1 -1
- package/esm2022/lib/auth/router/provider/uirouter/state.hook.mjs +1 -1
- package/esm2022/lib/auth/router/state/auth.router.state.module.mjs +10 -9
- package/esm2022/lib/auth/router/state/auth.router.state.providers.mjs +23 -0
- package/esm2022/lib/auth/router/state/effect/auth.router.state.effect.mjs +4 -4
- package/esm2022/lib/auth/router/state/index.mjs +2 -1
- package/esm2022/lib/auth/state/effect/auth.effect.mjs +5 -5
- package/esm2022/lib/button/action/action.button.directive.mjs +9 -12
- package/esm2022/lib/button/action/action.button.trigger.directive.mjs +7 -6
- package/esm2022/lib/button/button.directive.mjs +51 -60
- package/esm2022/lib/button/button.loading.directive.mjs +19 -20
- package/esm2022/lib/button/button.mjs +3 -3
- package/esm2022/lib/button/button.module.mjs +16 -8
- package/esm2022/lib/button/router/button.segue.directive.mjs +8 -7
- package/esm2022/lib/context/context.directive.mjs +7 -6
- package/esm2022/lib/context/context.mjs +8 -5
- package/esm2022/lib/context/context.module.mjs +9 -10
- package/esm2022/lib/context/context.providers.mjs +12 -0
- package/esm2022/lib/context/context.service.mjs +3 -3
- package/esm2022/lib/context/index.mjs +2 -1
- package/esm2022/lib/environment/environment.mjs +6 -0
- package/esm2022/lib/environment/environment.providers.mjs +19 -0
- package/esm2022/lib/environment/environment.service.mjs +30 -0
- package/esm2022/lib/environment/index.mjs +4 -3
- package/esm2022/lib/filter/filter.abstract.connector.directive.mjs +4 -4
- package/esm2022/lib/filter/filter.abstract.source.directive.mjs +31 -20
- package/esm2022/lib/filter/filter.connect.source.directive.mjs +6 -5
- package/esm2022/lib/filter/filter.connector.directive.mjs +6 -5
- package/esm2022/lib/filter/filter.map.connector.directive.mjs +12 -18
- package/esm2022/lib/filter/filter.map.directive.mjs +6 -5
- package/esm2022/lib/filter/filter.map.instance.directive.mjs +13 -10
- package/esm2022/lib/filter/filter.map.source.directive.mjs +22 -18
- package/esm2022/lib/filter/filter.module.mjs +8 -10
- package/esm2022/lib/filter/filter.source.directive.mjs +6 -5
- package/esm2022/lib/injection/injection.array.component.mjs +18 -31
- package/esm2022/lib/injection/injection.component.mjs +17 -23
- package/esm2022/lib/injection/injection.component.module.mjs +13 -9
- package/esm2022/lib/injection/injection.context.directive.mjs +7 -6
- package/esm2022/lib/injection/injection.context.forward.directive.mjs +3 -3
- package/esm2022/lib/injection/injection.directive.mjs +4 -4
- package/esm2022/lib/injection/injection.instance.mjs +7 -4
- package/esm2022/lib/injection/injection.mjs +1 -1
- package/esm2022/lib/injection/injection.rxjs.mjs +1 -1
- package/esm2022/lib/ngrx/store.lockset.mjs +6 -6
- package/esm2022/lib/pipe/async/asobservable.pipe.mjs +8 -5
- package/esm2022/lib/pipe/async/async.pipe.module.mjs +10 -7
- package/esm2022/lib/pipe/date/date.pipe.module.mjs +29 -8
- package/esm2022/lib/pipe/date/datedayrange.pipe.mjs +9 -5
- package/esm2022/lib/pipe/date/datedaytimerange.pipe.mjs +9 -5
- package/esm2022/lib/pipe/date/datedistance.pipe.mjs +9 -5
- package/esm2022/lib/pipe/date/dateformatdistance.pipe.mjs +9 -5
- package/esm2022/lib/pipe/date/datefromtoformat.pipe.mjs +9 -5
- package/esm2022/lib/pipe/date/daterangedistance.pipe.mjs +9 -5
- package/esm2022/lib/pipe/date/datetimerange.pipe.mjs +9 -5
- package/esm2022/lib/pipe/date/datetimerangeonly.pipe.mjs +9 -5
- package/esm2022/lib/pipe/date/datetimerangeonlydistance.pipe.mjs +9 -5
- package/esm2022/lib/pipe/date/minutesstring.pipe.mjs +9 -5
- package/esm2022/lib/pipe/date/systemdatetotargetdate.pipe.mjs +9 -5
- package/esm2022/lib/pipe/date/targetdatetosystemdate.pipe.mjs +9 -5
- package/esm2022/lib/pipe/date/timedistance.pipe.mjs +17 -9
- package/esm2022/lib/pipe/date/timezoneabbreviation.pipe.mjs +9 -5
- package/esm2022/lib/pipe/date/tojsdate.pipe.mjs +9 -5
- package/esm2022/lib/pipe/date/tominutes.pipe.mjs +9 -5
- package/esm2022/lib/pipe/misc/misc.pipe.module.mjs +12 -7
- package/esm2022/lib/pipe/misc/prettyjson.pipe.mjs +8 -5
- package/esm2022/lib/pipe/pipe.module.mjs +13 -6
- package/esm2022/lib/pipe/value/cuttext.pipe.mjs +9 -5
- package/esm2022/lib/pipe/value/dollar.pipe.mjs +9 -5
- package/esm2022/lib/pipe/value/getvalue.pipe.mjs +9 -7
- package/esm2022/lib/pipe/value/value.pipe.module.mjs +16 -8
- package/esm2022/lib/router/anchor/anchor.directive.mjs +12 -5
- package/esm2022/lib/router/anchor/anchor.mjs +7 -20
- package/esm2022/lib/router/anchor/clickable.mjs +1 -1
- package/esm2022/lib/router/auth/hook/id.hook.mjs +1 -1
- package/esm2022/lib/router/model/id.param.redirect.mjs +1 -1
- package/esm2022/lib/router/model/model.module.mjs +15 -9
- package/esm2022/lib/router/model/model.router.id.directive.mjs +6 -5
- package/esm2022/lib/router/model/model.router.key.directive.mjs +6 -5
- package/esm2022/lib/router/model/model.router.uid.directive.mjs +6 -5
- package/esm2022/lib/router/router/provider/angular/angular.router.service.mjs +4 -4
- package/esm2022/lib/router/router/provider/angular/angular.router.service.module.mjs +7 -6
- package/esm2022/lib/router/router/provider/uirouter/index.mjs +2 -1
- package/esm2022/lib/router/router/provider/uirouter/uirouter.router.service.mjs +5 -5
- package/esm2022/lib/router/router/provider/uirouter/uirouter.router.service.module.mjs +8 -5
- package/esm2022/lib/router/router/provider/uirouter/uirouter.router.service.providers.mjs +24 -0
- package/esm2022/lib/router/router/service/router.service.rxjs.mjs +1 -1
- package/esm2022/lib/router/router/transition/transition.directive.mjs +3 -3
- package/esm2022/lib/router/router/transition/transition.watcher.directive.mjs +4 -4
- package/esm2022/lib/router/router/util/route.default.mjs +1 -1
- package/esm2022/lib/router/segue.mjs +1 -1
- package/esm2022/lib/storage/index.mjs +2 -2
- package/esm2022/lib/storage/storage.accessor.simple.factory.mjs +3 -3
- package/esm2022/lib/storage/storage.accessor.simple.mjs +1 -1
- package/esm2022/lib/storage/storage.object.localstorage.mjs +1 -1
- package/esm2022/lib/storage/storage.providers.mjs +41 -0
- package/esm2022/lib/subscription/subscription.directive.mjs +7 -7
- package/esm2022/lib/util/view.mjs +9 -1
- package/esm2022/lib/view/if.directive.mjs +4 -4
- package/fesm2022/dereekb-dbx-core.mjs +2483 -2234
- package/fesm2022/dereekb-dbx-core.mjs.map +1 -1
- package/lib/action/action.module.d.ts +5 -3
- package/lib/action/action.store.d.ts +18 -9
- package/lib/action/action.store.source.d.ts +1 -0
- package/lib/action/directive/auto/action.automodify.directive.d.ts +4 -6
- package/lib/action/directive/auto/action.autotrigger.directive.d.ts +15 -32
- package/lib/action/directive/auto/index.d.ts +0 -1
- package/lib/action/directive/context/action.directive.d.ts +1 -1
- package/lib/action/directive/context/action.source.directive.d.ts +3 -7
- package/lib/action/directive/debug/action.logger.directive.d.ts +1 -1
- package/lib/action/directive/map/action.map.d.ts +31 -1
- package/lib/action/directive/map/action.map.directive.d.ts +4 -24
- package/lib/action/directive/map/action.map.key.directive.d.ts +3 -3
- package/lib/action/directive/map/action.map.source.directive.d.ts +2 -2
- package/lib/action/directive/map/action.map.utility.d.ts +48 -0
- package/lib/action/directive/map/action.map.working.disable.directive.d.ts +4 -4
- package/lib/action/directive/map/index.d.ts +1 -0
- package/lib/action/directive/state/action.disabled.directive.d.ts +1 -1
- package/lib/action/directive/state/action.disableonsuccess.directive.d.ts +1 -1
- package/lib/action/directive/state/action.enforce.modified.directive.d.ts +1 -1
- package/lib/action/directive/state/action.handler.directive.d.ts +12 -13
- package/lib/action/directive/state/action.handler.instance.d.ts +4 -4
- package/lib/action/directive/state/action.presuccess.directive.d.ts +1 -1
- package/lib/action/directive/state/action.success.directive.d.ts +1 -1
- package/lib/action/directive/state/action.success.handler.directive.d.ts +2 -5
- package/lib/action/directive/state/action.value.directive.d.ts +10 -5
- package/lib/action/directive/state/action.value.stream.directive.d.ts +11 -11
- package/lib/action/directive/state/action.value.trigger.directive.d.ts +23 -17
- package/lib/action/directive/state/action.value.trigger.instance.d.ts +28 -17
- package/lib/action/directive/state/{action.working.component.d.ts → action.working.directive.d.ts} +1 -1
- package/lib/action/directive/state/index.d.ts +2 -1
- package/lib/auth/auth.module.d.ts +8 -1
- package/lib/auth/auth.providers.d.ts +12 -0
- package/lib/auth/auth.role.any.directive.d.ts +7 -7
- package/lib/auth/auth.role.has.directive.d.ts +7 -7
- package/lib/auth/auth.role.not.directive.d.ts +7 -7
- package/lib/auth/auth.state.providers.d.ts +7 -0
- package/lib/auth/index.d.ts +2 -1
- package/lib/auth/router/auth.router.providers.d.ts +18 -0
- package/lib/auth/router/index.d.ts +1 -0
- package/lib/auth/router/state/auth.router.state.module.d.ts +4 -2
- package/lib/auth/router/state/auth.router.state.providers.d.ts +19 -0
- package/lib/auth/router/state/index.d.ts +1 -0
- package/lib/auth/state/action/auth.action.d.ts +3 -3
- package/lib/auth/state/action/user.action.d.ts +4 -4
- package/lib/auth/state/effect/auth.effect.d.ts +9 -9
- package/lib/auth/state/reducer/user.reducer.d.ts +1 -1
- package/lib/button/action/action.button.directive.d.ts +3 -4
- package/lib/button/action/action.button.trigger.directive.d.ts +2 -2
- package/lib/button/button.d.ts +55 -14
- package/lib/button/button.directive.d.ts +25 -18
- package/lib/button/button.loading.directive.d.ts +7 -9
- package/lib/button/button.module.d.ts +9 -1
- package/lib/button/router/button.segue.directive.d.ts +4 -3
- package/lib/context/context.d.ts +7 -4
- package/lib/context/context.directive.d.ts +1 -1
- package/lib/context/context.module.d.ts +4 -2
- package/lib/context/context.providers.d.ts +7 -0
- package/lib/context/index.d.ts +1 -0
- package/lib/context/state/action/data.action.d.ts +2 -2
- package/lib/context/state/reducer/data.reducer.d.ts +1 -1
- package/lib/environment/environment.providers.d.ts +8 -0
- package/lib/environment/index.d.ts +3 -2
- package/lib/filter/filter.abstract.connector.directive.d.ts +1 -1
- package/lib/filter/filter.abstract.source.directive.d.ts +14 -10
- package/lib/filter/filter.connect.source.directive.d.ts +1 -1
- package/lib/filter/filter.connector.directive.d.ts +1 -1
- package/lib/filter/filter.map.connector.directive.d.ts +6 -6
- package/lib/filter/filter.map.directive.d.ts +1 -1
- package/lib/filter/filter.map.instance.directive.d.ts +4 -5
- package/lib/filter/filter.map.source.directive.d.ts +13 -6
- package/lib/filter/filter.module.d.ts +1 -2
- package/lib/filter/filter.source.directive.d.ts +1 -1
- package/lib/injection/injection.array.component.d.ts +3 -9
- package/lib/injection/injection.component.d.ts +8 -4
- package/lib/injection/injection.component.module.d.ts +8 -3
- package/lib/injection/injection.context.directive.d.ts +2 -2
- package/lib/injection/injection.d.ts +8 -8
- package/lib/injection/injection.directive.d.ts +4 -3
- package/lib/injection/injection.instance.d.ts +5 -4
- package/lib/pipe/async/asobservable.pipe.d.ts +1 -1
- package/lib/pipe/async/async.pipe.module.d.ts +4 -1
- package/lib/pipe/date/date.pipe.module.d.ts +22 -1
- package/lib/pipe/date/datedayrange.pipe.d.ts +1 -1
- package/lib/pipe/date/datedaytimerange.pipe.d.ts +1 -1
- package/lib/pipe/date/datedistance.pipe.d.ts +1 -1
- package/lib/pipe/date/dateformatdistance.pipe.d.ts +2 -2
- package/lib/pipe/date/datefromtoformat.pipe.d.ts +2 -2
- package/lib/pipe/date/daterangedistance.pipe.d.ts +1 -1
- package/lib/pipe/date/datetimerange.pipe.d.ts +1 -1
- package/lib/pipe/date/datetimerangeonly.pipe.d.ts +1 -1
- package/lib/pipe/date/datetimerangeonlydistance.pipe.d.ts +1 -1
- package/lib/pipe/date/minutesstring.pipe.d.ts +1 -1
- package/lib/pipe/date/systemdatetotargetdate.pipe.d.ts +1 -1
- package/lib/pipe/date/targetdatetosystemdate.pipe.d.ts +1 -1
- package/lib/pipe/date/timedistance.pipe.d.ts +2 -2
- package/lib/pipe/date/timezoneabbreviation.pipe.d.ts +1 -1
- package/lib/pipe/date/tojsdate.pipe.d.ts +1 -1
- package/lib/pipe/date/tominutes.pipe.d.ts +1 -1
- package/lib/pipe/misc/misc.pipe.module.d.ts +6 -1
- package/lib/pipe/misc/prettyjson.pipe.d.ts +1 -1
- package/lib/pipe/pipe.module.d.ts +6 -1
- package/lib/pipe/value/cuttext.pipe.d.ts +1 -1
- package/lib/pipe/value/dollar.pipe.d.ts +1 -1
- package/lib/pipe/value/getvalue.pipe.d.ts +2 -2
- package/lib/pipe/value/value.pipe.module.d.ts +9 -1
- package/lib/router/anchor/anchor.d.ts +26 -28
- package/lib/router/anchor/anchor.directive.d.ts +12 -6
- package/lib/router/anchor/clickable.d.ts +3 -3
- package/lib/router/model/model.module.d.ts +8 -1
- package/lib/router/model/model.router.id.directive.d.ts +1 -1
- package/lib/router/model/model.router.key.directive.d.ts +1 -1
- package/lib/router/model/model.router.uid.directive.d.ts +1 -1
- package/lib/router/router/provider/angular/angular.router.service.d.ts +2 -1
- package/lib/router/router/provider/uirouter/index.d.ts +1 -0
- package/lib/router/router/provider/uirouter/uirouter.router.service.d.ts +2 -1
- package/lib/router/router/provider/uirouter/uirouter.router.service.module.d.ts +3 -0
- package/lib/router/router/provider/uirouter/uirouter.router.service.providers.d.ts +7 -0
- package/lib/router/router/transition/transition.watcher.directive.d.ts +1 -1
- package/lib/storage/index.d.ts +1 -1
- package/lib/storage/storage.providers.d.ts +13 -0
- package/lib/subscription/subscription.directive.d.ts +8 -8
- package/lib/util/view.d.ts +8 -0
- package/package.json +8 -8
- package/esm2022/lib/action/directive/state/action.working.component.mjs +0 -34
- package/esm2022/lib/auth/auth.state.module.mjs +0 -22
- package/esm2022/lib/environment/service/environment.mjs +0 -6
- package/esm2022/lib/environment/service/environment.service.mjs +0 -33
- package/esm2022/lib/storage/storage.module.mjs +0 -41
- package/lib/auth/auth.state.module.d.ts +0 -8
- package/lib/storage/storage.module.d.ts +0 -10
- /package/lib/environment/{service/environment.d.ts → environment.d.ts} +0 -0
- /package/lib/environment/{service/environment.service.d.ts → environment.service.d.ts} +0 -0
|
@@ -8,5 +8,5 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare class AsObservablePipe implements PipeTransform {
|
|
9
9
|
transform<T>(input: ObservableOrValueGetter<T>): Observable<T>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AsObservablePipe, never>;
|
|
11
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<AsObservablePipe, "asObservable",
|
|
11
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AsObservablePipe, "asObservable", true>;
|
|
12
12
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./asobservable.pipe";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated use AsObservablePipe directly.
|
|
5
|
+
*/
|
|
3
6
|
export declare class DbxAsyncPipeModule {
|
|
4
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxAsyncPipeModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxAsyncPipeModule, [typeof i1.AsObservablePipe],
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxAsyncPipeModule, never, [typeof i1.AsObservablePipe], [typeof i1.AsObservablePipe]>;
|
|
6
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxAsyncPipeModule>;
|
|
7
10
|
}
|
|
@@ -15,8 +15,29 @@ import * as i13 from "./minutesstring.pipe";
|
|
|
15
15
|
import * as i14 from "./timedistance.pipe";
|
|
16
16
|
import * as i15 from "./tojsdate.pipe";
|
|
17
17
|
import * as i16 from "./tominutes.pipe";
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated import the standalone pipes directly as needed.
|
|
20
|
+
*
|
|
21
|
+
* @see DateDistancePipe
|
|
22
|
+
* @see DateRangeDistancePipe
|
|
23
|
+
* @see TargetDateToSystemDatePipe
|
|
24
|
+
* @see SystemDateToTargetDatePipe
|
|
25
|
+
* @see TimezoneAbbreviationPipe
|
|
26
|
+
* @see DateFromToTimePipe
|
|
27
|
+
* @see DateDayRangePipe
|
|
28
|
+
* @see DateDayTimeRangePipe
|
|
29
|
+
* @see DateTimeRangeOnlyPipe
|
|
30
|
+
* @see DateTimeRangePipe
|
|
31
|
+
* @see DateTimeRangeOnlyDistancePipe
|
|
32
|
+
* @see DateFormatDistancePipe
|
|
33
|
+
* @see MinutesStringPipe
|
|
34
|
+
* @see TimeDistanceCountdownPipe
|
|
35
|
+
* @see TimeDistancePipe
|
|
36
|
+
* @see ToJsDatePipe
|
|
37
|
+
* @see ToMinutesPipe
|
|
38
|
+
*/
|
|
18
39
|
export declare class DbxDatePipeModule {
|
|
19
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxDatePipeModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxDatePipeModule, [typeof i1.DateDistancePipe, typeof i2.DateRangeDistancePipe, typeof i3.TargetDateToSystemDatePipe, typeof i4.SystemDateToTargetDatePipe, typeof i5.TimezoneAbbreviationPipe, typeof i6.DateFromToTimePipe, typeof i7.DateDayRangePipe, typeof i8.DateDayTimeRangePipe, typeof i9.DateTimeRangeOnlyPipe, typeof i10.DateTimeRangePipe, typeof i11.DateTimeRangeOnlyDistancePipe, typeof i12.DateFormatDistancePipe, typeof i13.MinutesStringPipe, typeof i14.TimeDistanceCountdownPipe, typeof i14.TimeDistancePipe, typeof i15.ToJsDatePipe, typeof i16.ToMinutesPipe],
|
|
41
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxDatePipeModule, never, [typeof i1.DateDistancePipe, typeof i2.DateRangeDistancePipe, typeof i3.TargetDateToSystemDatePipe, typeof i4.SystemDateToTargetDatePipe, typeof i5.TimezoneAbbreviationPipe, typeof i6.DateFromToTimePipe, typeof i7.DateDayRangePipe, typeof i8.DateDayTimeRangePipe, typeof i9.DateTimeRangeOnlyPipe, typeof i10.DateTimeRangePipe, typeof i11.DateTimeRangeOnlyDistancePipe, typeof i12.DateFormatDistancePipe, typeof i13.MinutesStringPipe, typeof i14.TimeDistanceCountdownPipe, typeof i14.TimeDistancePipe, typeof i15.ToJsDatePipe, typeof i16.ToMinutesPipe], [typeof i1.DateDistancePipe, typeof i2.DateRangeDistancePipe, typeof i3.TargetDateToSystemDatePipe, typeof i4.SystemDateToTargetDatePipe, typeof i5.TimezoneAbbreviationPipe, typeof i6.DateFromToTimePipe, typeof i7.DateDayRangePipe, typeof i8.DateDayTimeRangePipe, typeof i9.DateTimeRangeOnlyPipe, typeof i10.DateTimeRangePipe, typeof i11.DateTimeRangeOnlyDistancePipe, typeof i12.DateFormatDistancePipe, typeof i13.MinutesStringPipe, typeof i14.TimeDistanceCountdownPipe, typeof i14.TimeDistancePipe, typeof i15.ToJsDatePipe, typeof i16.ToMinutesPipe]>;
|
|
21
42
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxDatePipeModule>;
|
|
22
43
|
}
|
|
@@ -5,5 +5,5 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class DateDayRangePipe implements PipeTransform {
|
|
6
6
|
transform(input: Maybe<DateRange>, unavailable?: string): string;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateDayRangePipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateDayRangePipe, "dateDayRange",
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateDayRangePipe, "dateDayRange", true>;
|
|
9
9
|
}
|
|
@@ -5,5 +5,5 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class DateDayTimeRangePipe implements PipeTransform {
|
|
6
6
|
transform(input: Maybe<DateRange>, unavailable?: string): string;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateDayTimeRangePipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateDayTimeRangePipe, "dateDayTimeRange",
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateDayTimeRangePipe, "dateDayTimeRange", true>;
|
|
9
9
|
}
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class DateDistancePipe implements PipeTransform {
|
|
5
5
|
transform(input: Maybe<DateOrDateString>, inputTo?: Maybe<Date>, unavailable?: string): string;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateDistancePipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateDistancePipe, "dateDistance",
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateDistancePipe, "dateDistance", true>;
|
|
8
8
|
}
|
|
@@ -5,8 +5,8 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
* Pipe that takes in a date and appends the distance to it in parenthesis.
|
|
6
6
|
*/
|
|
7
7
|
export declare class DateFormatDistancePipe implements PipeTransform {
|
|
8
|
-
private locale;
|
|
8
|
+
private readonly locale;
|
|
9
9
|
transform(input: Maybe<DateOrDateString>, format: string, includeSeconds?: boolean): Maybe<string>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatDistancePipe, never>;
|
|
11
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateFormatDistancePipe, "dateFormatDistance",
|
|
11
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateFormatDistancePipe, "dateFormatDistance", true>;
|
|
12
12
|
}
|
|
@@ -5,9 +5,9 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
* Pipe that takes in a date and number of minutes and outputs a formatted date.
|
|
6
6
|
*/
|
|
7
7
|
export declare class DateFromToTimePipe implements PipeTransform {
|
|
8
|
-
private locale;
|
|
8
|
+
private readonly locale;
|
|
9
9
|
static formatFromTo(input: Maybe<DateOrDateString>, format: string, minutes: number, locale: string): Maybe<string>;
|
|
10
10
|
transform(input: Maybe<DateOrDateString>, format: string, minutes: number): Maybe<string>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateFromToTimePipe, never>;
|
|
12
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateFromToTimePipe, "dateFromPlusTo",
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateFromToTimePipe, "dateFromPlusTo", true>;
|
|
13
13
|
}
|
|
@@ -5,5 +5,5 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class DateRangeDistancePipe implements PipeTransform {
|
|
6
6
|
transform(input: Maybe<Date | DateRange>, unavailable?: string): string;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeDistancePipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateRangeDistancePipe, "dateRangeDistance",
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateRangeDistancePipe, "dateRangeDistance", true>;
|
|
9
9
|
}
|
|
@@ -5,5 +5,5 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class DateTimeRangePipe implements PipeTransform {
|
|
6
6
|
transform(input: Maybe<DateRange>, unavailable?: string): string;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeRangePipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateTimeRangePipe, "dateTimeRange",
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateTimeRangePipe, "dateTimeRange", true>;
|
|
9
9
|
}
|
|
@@ -5,5 +5,5 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class DateTimeRangeOnlyPipe implements PipeTransform {
|
|
6
6
|
transform(input: Maybe<DateRange>, unavailable?: string): string;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeRangeOnlyPipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateTimeRangeOnlyPipe, "dateTimeRangeOnly",
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateTimeRangeOnlyPipe, "dateTimeRangeOnly", true>;
|
|
9
9
|
}
|
|
@@ -5,5 +5,5 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class DateTimeRangeOnlyDistancePipe implements PipeTransform {
|
|
6
6
|
transform(input: Maybe<DateRange>, config?: FormatDateRangeDistanceFunctionConfig, unavailable?: string): string;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeRangeOnlyDistancePipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateTimeRangeOnlyDistancePipe, "dateTimeRangeOnlyDistance",
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateTimeRangeOnlyDistancePipe, "dateTimeRangeOnlyDistance", true>;
|
|
9
9
|
}
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class MinutesStringPipe implements PipeTransform {
|
|
5
5
|
transform(input: Maybe<number | string>): Maybe<string>;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<MinutesStringPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<MinutesStringPipe, "minutesString",
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MinutesStringPipe, "minutesString", true>;
|
|
8
8
|
}
|
|
@@ -8,5 +8,5 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare class SystemDateToTargetDatePipe implements PipeTransform {
|
|
9
9
|
transform(input: Maybe<Date>, timezone: Maybe<TimezoneString>): Maybe<Date>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SystemDateToTargetDatePipe, never>;
|
|
11
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SystemDateToTargetDatePipe, "systemDateToTargetDate",
|
|
11
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SystemDateToTargetDatePipe, "systemDateToTargetDate", true>;
|
|
12
12
|
}
|
|
@@ -8,5 +8,5 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare class TargetDateToSystemDatePipe implements PipeTransform {
|
|
9
9
|
transform(input: Maybe<Date>, timezone: Maybe<TimezoneString>): Maybe<Date>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TargetDateToSystemDatePipe, never>;
|
|
11
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TargetDateToSystemDatePipe, "targetDateToSystemDate",
|
|
11
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TargetDateToSystemDatePipe, "targetDateToSystemDate", true>;
|
|
12
12
|
}
|
|
@@ -4,10 +4,10 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class TimeDistanceCountdownPipe implements PipeTransform {
|
|
5
5
|
transform(input: Maybe<DateOrDateString>, soonString?: string, unavailable?: string): string;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimeDistanceCountdownPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TimeDistanceCountdownPipe, "timeCountdownDistance",
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TimeDistanceCountdownPipe, "timeCountdownDistance", true>;
|
|
8
8
|
}
|
|
9
9
|
export declare class TimeDistancePipe implements PipeTransform {
|
|
10
10
|
transform(input: Maybe<DateOrDateString>, to?: Maybe<Date>, unavailable?: string): string;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimeDistancePipe, never>;
|
|
12
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TimeDistancePipe, "timeDistance",
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TimeDistancePipe, "timeDistance", true>;
|
|
13
13
|
}
|
|
@@ -8,5 +8,5 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare class TimezoneAbbreviationPipe implements PipeTransform {
|
|
9
9
|
transform(timezone: Maybe<TimezoneString>, input?: Maybe<Date>): Maybe<string>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimezoneAbbreviationPipe, never>;
|
|
11
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TimezoneAbbreviationPipe, "timezoneAbbreviation",
|
|
11
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TimezoneAbbreviationPipe, "timezoneAbbreviation", true>;
|
|
12
12
|
}
|
|
@@ -6,5 +6,5 @@ export declare class ToJsDatePipe implements PipeTransform {
|
|
|
6
6
|
static toJsDate(input: Maybe<DateOrDateString>): Maybe<Date>;
|
|
7
7
|
transform(input: Maybe<DateOrDateString>): Maybe<Date>;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToJsDatePipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ToJsDatePipe, "toJsDate",
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ToJsDatePipe, "toJsDate", true>;
|
|
10
10
|
}
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class ToMinutesPipe implements PipeTransform {
|
|
4
4
|
transform(milliseconds: number): number;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToMinutesPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ToMinutesPipe, "toMinutes",
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ToMinutesPipe, "toMinutes", true>;
|
|
7
7
|
}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./prettyjson.pipe";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated import the standalone pipes directly
|
|
5
|
+
*
|
|
6
|
+
* @see PrettyJsonPipe
|
|
7
|
+
*/
|
|
3
8
|
export declare class DbxMiscPipeModule {
|
|
4
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxMiscPipeModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxMiscPipeModule, [typeof i1.PrettyJsonPipe],
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxMiscPipeModule, never, [typeof i1.PrettyJsonPipe], [typeof i1.PrettyJsonPipe]>;
|
|
6
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxMiscPipeModule>;
|
|
7
12
|
}
|
|
@@ -5,5 +5,5 @@ export declare class PrettyJsonPipe implements PipeTransform {
|
|
|
5
5
|
static toPrettyJson(input: Maybe<unknown>, spacing?: number): Maybe<string>;
|
|
6
6
|
transform(input: Maybe<unknown>, spacing?: number): Maybe<string>;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<PrettyJsonPipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<PrettyJsonPipe, "prettyjson",
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PrettyJsonPipe, "prettyjson", true>;
|
|
9
9
|
}
|
|
@@ -3,8 +3,13 @@ import * as i1 from "./async/async.pipe.module";
|
|
|
3
3
|
import * as i2 from "./misc/misc.pipe.module";
|
|
4
4
|
import * as i3 from "./date/date.pipe.module";
|
|
5
5
|
import * as i4 from "./value/value.pipe.module";
|
|
6
|
+
/**
|
|
7
|
+
* Exports all @dereekb/dbx-core pipes
|
|
8
|
+
*
|
|
9
|
+
* @deprecated import the pipes directly as needed.
|
|
10
|
+
*/
|
|
6
11
|
export declare class DbxPipesModule {
|
|
7
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPipesModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxPipesModule, never,
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxPipesModule, never, [typeof i1.DbxAsyncPipeModule, typeof i2.DbxMiscPipeModule, typeof i3.DbxDatePipeModule, typeof i4.DbxValuePipeModule], [typeof i1.DbxAsyncPipeModule, typeof i2.DbxMiscPipeModule, typeof i3.DbxDatePipeModule, typeof i4.DbxValuePipeModule]>;
|
|
9
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxPipesModule>;
|
|
10
15
|
}
|
|
@@ -7,5 +7,5 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class CutTextPipe implements PipeTransform {
|
|
8
8
|
transform(input: Maybe<string>, maxLength: number, endText?: Maybe<string>): Maybe<string>;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<CutTextPipe, never>;
|
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CutTextPipe, "cutText",
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CutTextPipe, "cutText", true>;
|
|
11
11
|
}
|
|
@@ -9,5 +9,5 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
export declare class DollarAmountPipe implements PipeTransform {
|
|
10
10
|
transform(input: Maybe<number>, defaultIfNull?: Maybe<string>): Maybe<string>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<DollarAmountPipe, never>;
|
|
12
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DollarAmountPipe, "dollarAmount",
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DollarAmountPipe, "dollarAmount", true>;
|
|
13
13
|
}
|
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class GetValuePipe implements PipeTransform {
|
|
8
8
|
transform<T, A = any>(input: GetterOrValue<T>, args?: A): T;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<GetValuePipe, never>;
|
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GetValuePipe, "getValue",
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GetValuePipe, "getValue", true>;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Pipes a GetValuePipe to an Observable value.
|
|
@@ -15,5 +15,5 @@ export declare class GetValuePipe implements PipeTransform {
|
|
|
15
15
|
export declare class GetValueOncePipe implements PipeTransform {
|
|
16
16
|
transform<T, A = any>(input: GetterOrValue<T>, args?: A): T;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<GetValueOncePipe, never>;
|
|
18
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GetValueOncePipe, "getValueOnce",
|
|
18
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GetValueOncePipe, "getValueOnce", true>;
|
|
19
19
|
}
|
|
@@ -2,8 +2,16 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./cuttext.pipe";
|
|
3
3
|
import * as i2 from "./dollar.pipe";
|
|
4
4
|
import * as i3 from "./getvalue.pipe";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated import the pipes directly as needed.
|
|
7
|
+
*
|
|
8
|
+
* @see CutTextPipe
|
|
9
|
+
* @see DollarAmountPipe
|
|
10
|
+
* @see GetValuePipe
|
|
11
|
+
* @see GetValueOncePipe
|
|
12
|
+
*/
|
|
5
13
|
export declare class DbxValuePipeModule {
|
|
6
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxValuePipeModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxValuePipeModule, [typeof i1.CutTextPipe, typeof i2.DollarAmountPipe, typeof i3.GetValuePipe, typeof i3.GetValueOncePipe],
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxValuePipeModule, never, [typeof i1.CutTextPipe, typeof i2.DollarAmountPipe, typeof i3.GetValuePipe, typeof i3.GetValueOncePipe], [typeof i1.CutTextPipe, typeof i2.DollarAmountPipe, typeof i3.GetValuePipe, typeof i3.GetValueOncePipe]>;
|
|
8
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxValuePipeModule>;
|
|
9
17
|
}
|
|
@@ -6,35 +6,35 @@ import { Type, Provider } from '@angular/core';
|
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
7
|
import { DbxInjectionComponentConfig } from '../../injection/injection';
|
|
8
8
|
export interface ClickableAnchor extends ClickableFunction, MousableFunction, ClickableUrl, Partial<SegueRef> {
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
selected?: boolean;
|
|
9
|
+
readonly disabled?: boolean;
|
|
10
|
+
readonly selected?: boolean;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Title and an optional icon.
|
|
14
14
|
*/
|
|
15
15
|
export interface IconAndTitle {
|
|
16
|
-
title: string;
|
|
17
|
-
icon?: Maybe<string>;
|
|
16
|
+
readonly title: string;
|
|
17
|
+
readonly icon?: Maybe<string>;
|
|
18
18
|
}
|
|
19
19
|
export interface ClickableAnchorLink extends ClickableAnchor, IconAndTitle {
|
|
20
20
|
/**
|
|
21
21
|
* Optional detail string/content.
|
|
22
22
|
*/
|
|
23
|
-
hint?: string;
|
|
23
|
+
readonly hint?: string;
|
|
24
24
|
/**
|
|
25
25
|
* Custom injection content for this link.
|
|
26
26
|
*/
|
|
27
|
-
content?: DbxInjectionComponentConfig;
|
|
27
|
+
readonly content?: DbxInjectionComponentConfig;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
30
|
* ClickableAnchorLink that definitely has a SegueRef
|
|
31
31
|
*/
|
|
32
32
|
export type ClickableAnchorLinkSegueRef = ClickableAnchorLink & SegueRef;
|
|
33
33
|
export interface ClickableIconAnchorLink extends Omit<ClickableAnchorLink, 'title'> {
|
|
34
|
-
icon: string;
|
|
34
|
+
readonly icon: string;
|
|
35
35
|
}
|
|
36
36
|
export interface ClickableAnchorLinkTree extends ClickableAnchorLink {
|
|
37
|
-
children?: ClickableAnchorLinkTree[];
|
|
37
|
+
readonly children?: ClickableAnchorLinkTree[];
|
|
38
38
|
}
|
|
39
39
|
export type ExpandedClickableAnchorLinkTree = TreeNode<ClickableAnchorLinkTree>;
|
|
40
40
|
export declare const expandClickableAnchorLinkTreeNode: ExpandTreeFunction<ClickableAnchorLinkTree, ExpandedClickableAnchorLinkTree>;
|
|
@@ -51,26 +51,24 @@ export declare function expandClickableAnchorLinkTree(link: ClickableAnchorLinkT
|
|
|
51
51
|
* Expands an array of links into an array of ExpandedClickableAnchorLinkTree tree values.
|
|
52
52
|
*/
|
|
53
53
|
export declare const expandClickableAnchorLinkTrees: import("@dereekb/util").ExpandFlattenTreeFunction<ClickableAnchorLinkTree, ExpandedClickableAnchorLinkTree>;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
export declare function anchorTypeForAnchor(anchor: Maybe<ClickableAnchor>, disabled?: Maybe<boolean>): AnchorType;
|
|
54
|
+
/**
|
|
55
|
+
* Describes the Anchor type given a ClickableAnchor.
|
|
56
|
+
*
|
|
57
|
+
* - plain: When the anchor has no specific content but is not disabled. It is a passthrough for the content.
|
|
58
|
+
* - clickable: When the anchor has a click handler
|
|
59
|
+
* - sref: When the anchor has a SegueRef
|
|
60
|
+
* - href: When the anchor has a URL
|
|
61
|
+
* - disabled: When the anchor is disabled.
|
|
62
|
+
*/
|
|
63
|
+
export type ClickableAnchorType = 'plain' | 'clickable' | 'sref' | 'href' | 'disabled';
|
|
64
|
+
export declare function anchorTypeForAnchor(anchor: Maybe<ClickableAnchor>, disabled?: Maybe<boolean>): ClickableAnchorType;
|
|
67
65
|
export declare abstract class DbxAnchor<T extends ClickableAnchor = ClickableAnchor> {
|
|
68
|
-
abstract disabled$: Observable<Maybe<boolean>>;
|
|
69
|
-
abstract selected$: Observable<Maybe<boolean>>;
|
|
70
|
-
abstract anchor$: Observable<Maybe<T>>;
|
|
71
|
-
abstract disabled: Maybe<boolean>;
|
|
72
|
-
abstract selected: Maybe<boolean>;
|
|
73
|
-
abstract anchor: Maybe<T>;
|
|
74
|
-
abstract type$: Observable<
|
|
66
|
+
abstract readonly disabled$: Observable<Maybe<boolean>>;
|
|
67
|
+
abstract readonly selected$: Observable<Maybe<boolean>>;
|
|
68
|
+
abstract readonly anchor$: Observable<Maybe<T>>;
|
|
69
|
+
abstract readonly disabled: Maybe<boolean>;
|
|
70
|
+
abstract readonly selected: Maybe<boolean>;
|
|
71
|
+
abstract readonly anchor: Maybe<T>;
|
|
72
|
+
abstract readonly type$: Observable<ClickableAnchorType>;
|
|
75
73
|
}
|
|
76
74
|
export declare function provideDbxAnchor<S extends DbxAnchor>(sourceType: Type<S>): Provider[];
|
|
@@ -1,20 +1,26 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { OnDestroy } from '@angular/core';
|
|
3
3
|
import { type Maybe } from '@dereekb/util';
|
|
4
|
-
import {
|
|
4
|
+
import { ClickableAnchorType, ClickableAnchor, DbxAnchor } from './anchor';
|
|
5
5
|
import { SegueRefOrSegueRefRouterLink } from '../segue';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Abstract anchor directive.
|
|
9
9
|
*/
|
|
10
10
|
export declare class AbstractDbxAnchorDirective<T extends ClickableAnchor = ClickableAnchor> implements DbxAnchor, OnDestroy {
|
|
11
|
-
private _selected;
|
|
12
|
-
private _disabled;
|
|
13
|
-
private _anchor;
|
|
11
|
+
private readonly _selected;
|
|
12
|
+
private readonly _disabled;
|
|
13
|
+
private readonly _anchor;
|
|
14
14
|
readonly disabled$: Observable<Maybe<boolean>>;
|
|
15
15
|
readonly anchor$: Observable<Maybe<T>>;
|
|
16
|
-
readonly selected$: Observable<boolean
|
|
17
|
-
readonly type$: Observable<
|
|
16
|
+
readonly selected$: Observable<Maybe<boolean>>;
|
|
17
|
+
readonly type$: Observable<ClickableAnchorType>;
|
|
18
|
+
readonly anchorSignal: import("@angular/core").Signal<Maybe<T>>;
|
|
19
|
+
readonly disabledSignal: import("@angular/core").Signal<Maybe<boolean>>;
|
|
20
|
+
readonly selectedSignal: import("@angular/core").Signal<Maybe<boolean>>;
|
|
21
|
+
readonly typeSignal: import("@angular/core").Signal<ClickableAnchorType>;
|
|
22
|
+
readonly urlSignal: import("@angular/core").Signal<string | undefined>;
|
|
23
|
+
readonly targetSignal: import("@angular/core").Signal<string | undefined>;
|
|
18
24
|
ngOnDestroy(): void;
|
|
19
25
|
/**
|
|
20
26
|
* Convenience input to create an Anchor from the input SegueRef.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E164PhoneNumberWithOptionalExtension, MailToUrlInput, Maybe, PhoneNumber, WebsiteUrl } from '@dereekb/util';
|
|
2
2
|
export interface ClickableFunction {
|
|
3
|
-
onClick?: (event?: Maybe<MouseEvent>) => void;
|
|
3
|
+
readonly onClick?: (event?: Maybe<MouseEvent>) => void;
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
6
|
* Represents a clickable href/url configuration.
|
|
@@ -9,11 +9,11 @@ export interface ClickableUrl {
|
|
|
9
9
|
/**
|
|
10
10
|
* href url
|
|
11
11
|
*/
|
|
12
|
-
url?: string;
|
|
12
|
+
readonly url?: string;
|
|
13
13
|
/**
|
|
14
14
|
* href target attribute.
|
|
15
15
|
*/
|
|
16
|
-
target?: string;
|
|
16
|
+
readonly target?: string;
|
|
17
17
|
}
|
|
18
18
|
export declare function clickableUrlInNewTab(url: string | WebsiteUrl): ClickableUrl;
|
|
19
19
|
export declare function clickableUrlMailTo(mailTo: MailToUrlInput): ClickableUrl;
|
|
@@ -2,8 +2,15 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./model.router.id.directive";
|
|
3
3
|
import * as i2 from "./model.router.key.directive";
|
|
4
4
|
import * as i3 from "./model.router.uid.directive";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Import declarations directly instead.
|
|
7
|
+
*
|
|
8
|
+
* @see DbxRouteModelIdDirective
|
|
9
|
+
* @see DbxRouteModelKeyDirective
|
|
10
|
+
* @see DbxRouteModelIdFromAuthUserIdDirective
|
|
11
|
+
*/
|
|
5
12
|
export declare class DbxCoreRouterModelModule {
|
|
6
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxCoreRouterModelModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxCoreRouterModelModule, [typeof i1.DbxRouteModelIdDirective, typeof i2.DbxRouteModelKeyDirective, typeof i3.DbxRouteModelIdFromAuthUserIdDirective],
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxCoreRouterModelModule, never, [typeof i1.DbxRouteModelIdDirective, typeof i2.DbxRouteModelKeyDirective, typeof i3.DbxRouteModelIdFromAuthUserIdDirective], [typeof i1.DbxRouteModelIdDirective, typeof i2.DbxRouteModelKeyDirective, typeof i3.DbxRouteModelIdFromAuthUserIdDirective]>;
|
|
8
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxCoreRouterModelModule>;
|
|
9
16
|
}
|
|
@@ -26,5 +26,5 @@ export declare class DbxRouteModelIdDirective extends AbstractSubscriptionDirect
|
|
|
26
26
|
set dbxRouteModelIdDefaultRedirect(redirect: Maybe<boolean> | '');
|
|
27
27
|
set dbxRouteModelIdDefaultDecision(decider: string | SwitchMapToDefaultFilterFunction<ModelKey>);
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxRouteModelIdDirective, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxRouteModelIdDirective, "[dbxRouteModelId]", never, { "idParam": { "alias": "dbxRouteModelId"; "required": false; }; "dbxRouteModelIdDefault": { "alias": "dbxRouteModelIdDefault"; "required": false; }; "dbxRouteModelIdDefaultRedirect": { "alias": "dbxRouteModelIdDefaultRedirect"; "required": false; }; "dbxRouteModelIdDefaultDecision": { "alias": "dbxRouteModelIdDefaultDecision"; "required": false; }; }, {}, never, never,
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxRouteModelIdDirective, "[dbxRouteModelId]", never, { "idParam": { "alias": "dbxRouteModelId"; "required": false; }; "dbxRouteModelIdDefault": { "alias": "dbxRouteModelIdDefault"; "required": false; }; "dbxRouteModelIdDefaultRedirect": { "alias": "dbxRouteModelIdDefaultRedirect"; "required": false; }; "dbxRouteModelIdDefaultDecision": { "alias": "dbxRouteModelIdDefaultDecision"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
30
|
}
|
|
@@ -28,5 +28,5 @@ export declare class DbxRouteModelKeyDirective extends AbstractSubscriptionDirec
|
|
|
28
28
|
set dbxRouteModelKeyDefaultRedirect(redirect: Maybe<boolean> | '');
|
|
29
29
|
set dbxRouteModelKeyDefaultDecision(decider: string | SwitchMapToDefaultFilterFunction<ModelKey>);
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxRouteModelKeyDirective, never>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxRouteModelKeyDirective, "[dbxRouteModelKey]", never, { "keyParam": { "alias": "dbxRouteModelKey"; "required": false; }; "dbxRouteModelKeyDefault": { "alias": "dbxRouteModelKeyDefault"; "required": false; }; "dbxRouteModelKeyDefaultRedirect": { "alias": "dbxRouteModelKeyDefaultRedirect"; "required": false; }; "dbxRouteModelKeyDefaultDecision": { "alias": "dbxRouteModelKeyDefaultDecision"; "required": false; }; }, {}, never, never,
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxRouteModelKeyDirective, "[dbxRouteModelKey]", never, { "keyParam": { "alias": "dbxRouteModelKey"; "required": false; }; "dbxRouteModelKeyDefault": { "alias": "dbxRouteModelKeyDefault"; "required": false; }; "dbxRouteModelKeyDefaultRedirect": { "alias": "dbxRouteModelKeyDefaultRedirect"; "required": false; }; "dbxRouteModelKeyDefaultDecision": { "alias": "dbxRouteModelKeyDefaultDecision"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
32
|
}
|
|
@@ -11,5 +11,5 @@ export declare class DbxRouteModelIdFromAuthUserIdDirective extends AbstractSubs
|
|
|
11
11
|
readonly dbxRouteModelIdDelegate: DbxRouteModelIdDirectiveDelegate;
|
|
12
12
|
ngOnInit(): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxRouteModelIdFromAuthUserIdDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxRouteModelIdFromAuthUserIdDirective, "[dbxRouteModelIdFromAuthUserId]", never, {}, {}, never, never,
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxRouteModelIdFromAuthUserIdDirective, "[dbxRouteModelIdFromAuthUserId]", never, {}, {}, never, never, true, never>;
|
|
15
15
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { ObservableOrValue } from '@dereekb/rxjs';
|
|
3
|
-
import { DbxRouterService
|
|
3
|
+
import { DbxRouterService } from '../../service/router.service';
|
|
4
|
+
import { DbxRouterTransitionService } from '../../service/router.transition.service';
|
|
4
5
|
import { SegueRefOrSegueRefRouterLink, SegueRefRawSegueParams } from '../../../segue';
|
|
5
6
|
import { DbxRouterTransitionEvent } from '../../transition/transition';
|
|
6
7
|
import { ActivatedRoute, NavigationBehaviorOptions, NavigationExtras, Router } from '@angular/router';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { DbxRouterService
|
|
2
|
+
import { DbxRouterService } from '../../service/router.service';
|
|
3
|
+
import { DbxRouterTransitionService } from '../../service/router.transition.service';
|
|
3
4
|
import { SegueRefOrSegueRefRouterLink, SegueRefRawSegueParams } from '../../../segue';
|
|
4
5
|
import { StateService, UIRouterGlobals, TransitionOptions, TransitionService } from '@uirouter/core';
|
|
5
6
|
import { OnDestroy } from '@angular/core';
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated use provideDbxUIRouterService() instead.
|
|
5
|
+
*/
|
|
3
6
|
export declare class DbxCoreUIRouterSegueModule {
|
|
4
7
|
static forRoot(): ModuleWithProviders<DbxCoreUIRouterSegueModule>;
|
|
5
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxCoreUIRouterSegueModule, never>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { EnvironmentProviders } from '@angular/core';
|
|
2
|
+
/**
|
|
3
|
+
* Provides a DbxUIRouterService and configures it to provide for DbxRouterService and DbxRouterTransitionService.
|
|
4
|
+
*
|
|
5
|
+
* @returns EnvironmentProviders
|
|
6
|
+
*/
|
|
7
|
+
export declare function provideDbxUIRouterService(): EnvironmentProviders;
|
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
* Abstract directive that listens to onSuccess transition events and runs a function.
|
|
6
6
|
*/
|
|
7
7
|
export declare abstract class AbstractTransitionWatcherDirective extends AbstractTransitionDirective implements OnInit, OnDestroy {
|
|
8
|
-
private _transitionSub;
|
|
8
|
+
private readonly _transitionSub;
|
|
9
9
|
protected readonly ngZone: NgZone;
|
|
10
10
|
ngOnInit(): void;
|
|
11
11
|
ngOnDestroy(): void;
|
package/lib/storage/index.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ export * from './storage.accessor.simple';
|
|
|
3
3
|
export * from './storage.accessor.string';
|
|
4
4
|
export * from './storage.accessor';
|
|
5
5
|
export * from './storage.di';
|
|
6
|
-
export * from './storage.module';
|
|
7
6
|
export * from './storage.object.localstorage';
|
|
8
7
|
export * from './storage.object.memory';
|
|
8
|
+
export * from './storage.providers';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EnvironmentProviders } from '@angular/core';
|
|
2
|
+
import { FullStorageObject } from '@dereekb/util';
|
|
3
|
+
/**
|
|
4
|
+
* Default storage object factory function that creates a FullLocalStorageObject,
|
|
5
|
+
* falling back to MemoryStorageObject if localStorage is not available.
|
|
6
|
+
*/
|
|
7
|
+
export declare function defaultStorageObjectFactory(): FullStorageObject;
|
|
8
|
+
/**
|
|
9
|
+
* Creates EnvironmentProviders for providing a default storage object and SimpleStorageAccessorFactory.
|
|
10
|
+
*
|
|
11
|
+
* @returns EnvironmentProviders
|
|
12
|
+
*/
|
|
13
|
+
export declare function provideDbxStorage(): EnvironmentProviders;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Unsubscribable } from 'rxjs';
|
|
3
3
|
import { LockSet } from '@dereekb/rxjs';
|
|
4
4
|
import { type Maybe } from '@dereekb/util';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
7
|
* Abstract component that contains a SubscriptionObject and will clean it up automatically.
|
|
8
8
|
*/
|
|
9
|
-
export declare abstract class AbstractSubscriptionDirective implements OnDestroy {
|
|
9
|
+
export declare abstract class AbstractSubscriptionDirective<T extends Unsubscribable = Unsubscribable> implements OnDestroy {
|
|
10
10
|
private readonly _subscriptionObject;
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
|
-
protected set sub(subscription: Maybe<
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSubscriptionDirective
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSubscriptionDirective
|
|
12
|
+
protected set sub(subscription: Maybe<T | void>);
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSubscriptionDirective<any>, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSubscriptionDirective<any>, never, never, {}, {}, never, never, false, never>;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* AbstractSubscriptionDirective extension that prevents the OnDestroy from occuring until the lockset is unlocked.
|
|
18
18
|
*/
|
|
19
|
-
export declare abstract class AbstractLockSetSubscriptionDirective extends AbstractSubscriptionDirective implements OnDestroy {
|
|
19
|
+
export declare abstract class AbstractLockSetSubscriptionDirective<T extends Unsubscribable = Unsubscribable> extends AbstractSubscriptionDirective<T> implements OnDestroy {
|
|
20
20
|
readonly lockSet: LockSet;
|
|
21
21
|
ngOnDestroy(): void;
|
|
22
22
|
protected onLockSetDestroy(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractLockSetSubscriptionDirective
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractLockSetSubscriptionDirective
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractLockSetSubscriptionDirective<any>, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractLockSetSubscriptionDirective<any>, never, never, {}, {}, never, never, false, never>;
|
|
25
25
|
}
|