@dereekb/dbx-core 12.7.0 → 13.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/fesm2022/dereekb-dbx-core.mjs +659 -976
- package/fesm2022/dereekb-dbx-core.mjs.map +1 -1
- package/package.json +16 -18
- package/types/dereekb-dbx-core.d.ts +3633 -0
- package/esm2022/dereekb-dbx-core.mjs +0 -5
- package/esm2022/index.mjs +0 -2
- package/esm2022/lib/action/action.handler.mjs +0 -22
- package/esm2022/lib/action/action.holder.mjs +0 -76
- package/esm2022/lib/action/action.machine.mjs +0 -71
- package/esm2022/lib/action/action.mjs +0 -95
- package/esm2022/lib/action/action.module.mjs +0 -85
- package/esm2022/lib/action/action.reference.mjs +0 -7
- package/esm2022/lib/action/action.store.mjs +0 -290
- package/esm2022/lib/action/action.store.source.mjs +0 -162
- package/esm2022/lib/action/action.store.source.provide.mjs +0 -36
- package/esm2022/lib/action/directive/auto/action.automodify.directive.mjs +0 -36
- package/esm2022/lib/action/directive/auto/action.autotrigger.directive.mjs +0 -111
- package/esm2022/lib/action/directive/auto/index.mjs +0 -3
- package/esm2022/lib/action/directive/context/action.directive.mjs +0 -32
- package/esm2022/lib/action/directive/context/action.source.directive.mjs +0 -25
- package/esm2022/lib/action/directive/context/index.mjs +0 -3
- package/esm2022/lib/action/directive/debug/action.logger.directive.mjs +0 -25
- package/esm2022/lib/action/directive/debug/index.mjs +0 -2
- package/esm2022/lib/action/directive/index.mjs +0 -6
- package/esm2022/lib/action/directive/map/action.map.directive.mjs +0 -34
- package/esm2022/lib/action/directive/map/action.map.key.directive.mjs +0 -27
- package/esm2022/lib/action/directive/map/action.map.mjs +0 -60
- package/esm2022/lib/action/directive/map/action.map.source.directive.mjs +0 -44
- package/esm2022/lib/action/directive/map/action.map.utility.mjs +0 -37
- package/esm2022/lib/action/directive/map/action.map.working.disable.directive.mjs +0 -34
- package/esm2022/lib/action/directive/map/index.mjs +0 -7
- package/esm2022/lib/action/directive/state/action.disabled.directive.mjs +0 -30
- package/esm2022/lib/action/directive/state/action.disableonsuccess.directive.mjs +0 -31
- package/esm2022/lib/action/directive/state/action.enforce.modified.directive.mjs +0 -34
- package/esm2022/lib/action/directive/state/action.error.handler.directive.mjs +0 -32
- package/esm2022/lib/action/directive/state/action.handler.directive.mjs +0 -57
- package/esm2022/lib/action/directive/state/action.handler.instance.mjs +0 -61
- package/esm2022/lib/action/directive/state/action.idle.directive.mjs +0 -34
- package/esm2022/lib/action/directive/state/action.presuccess.directive.mjs +0 -34
- package/esm2022/lib/action/directive/state/action.success.directive.mjs +0 -34
- package/esm2022/lib/action/directive/state/action.success.handler.directive.mjs +0 -32
- package/esm2022/lib/action/directive/state/action.triggered.directive.mjs +0 -34
- package/esm2022/lib/action/directive/state/action.value.directive.mjs +0 -42
- package/esm2022/lib/action/directive/state/action.value.stream.directive.mjs +0 -59
- package/esm2022/lib/action/directive/state/action.value.trigger.directive.mjs +0 -75
- package/esm2022/lib/action/directive/state/action.value.trigger.instance.mjs +0 -59
- package/esm2022/lib/action/directive/state/action.working.directive.mjs +0 -41
- package/esm2022/lib/action/directive/state/index.mjs +0 -17
- package/esm2022/lib/action/index.mjs +0 -11
- package/esm2022/lib/auth/auth.module.mjs +0 -25
- package/esm2022/lib/auth/auth.providers.mjs +0 -16
- package/esm2022/lib/auth/auth.role.any.directive.mjs +0 -24
- package/esm2022/lib/auth/auth.role.has.directive.mjs +0 -24
- package/esm2022/lib/auth/auth.role.not.directive.mjs +0 -24
- package/esm2022/lib/auth/auth.state.providers.mjs +0 -14
- package/esm2022/lib/auth/auth.state.service.mjs +0 -20
- package/esm2022/lib/auth/auth.user.mjs +0 -11
- package/esm2022/lib/auth/index.mjs +0 -12
- package/esm2022/lib/auth/router/auth.router.mjs +0 -6
- package/esm2022/lib/auth/router/auth.router.providers.mjs +0 -19
- package/esm2022/lib/auth/router/auth.router.service.mjs +0 -73
- package/esm2022/lib/auth/router/index.mjs +0 -6
- package/esm2022/lib/auth/router/provider/uirouter/auth.hook.mjs +0 -23
- package/esm2022/lib/auth/router/provider/uirouter/hook.mjs +0 -71
- package/esm2022/lib/auth/router/provider/uirouter/index.mjs +0 -6
- package/esm2022/lib/auth/router/provider/uirouter/redirect.mjs +0 -29
- package/esm2022/lib/auth/router/provider/uirouter/role.hook.mjs +0 -58
- package/esm2022/lib/auth/router/provider/uirouter/state.hook.mjs +0 -53
- package/esm2022/lib/auth/router/state/auth.router.state.providers.mjs +0 -23
- package/esm2022/lib/auth/router/state/effect/auth.router.state.effect.mjs +0 -37
- package/esm2022/lib/auth/router/state/effect/index.mjs +0 -2
- package/esm2022/lib/auth/router/state/index.mjs +0 -3
- package/esm2022/lib/auth/service/auth.service.mjs +0 -6
- package/esm2022/lib/auth/service/auth.service.rxjs.mjs +0 -30
- package/esm2022/lib/auth/service/index.mjs +0 -3
- package/esm2022/lib/auth/state/action/auth.action.mjs +0 -14
- package/esm2022/lib/auth/state/action/index.mjs +0 -12
- package/esm2022/lib/auth/state/action/user.action.mjs +0 -18
- package/esm2022/lib/auth/state/effect/auth.effect.mjs +0 -33
- package/esm2022/lib/auth/state/index.mjs +0 -13
- package/esm2022/lib/auth/state/reducer/index.mjs +0 -23
- package/esm2022/lib/auth/state/reducer/user.reducer.mjs +0 -12
- package/esm2022/lib/auth/state/state.mjs +0 -2
- package/esm2022/lib/button/action/action.button.directive.mjs +0 -28
- package/esm2022/lib/button/action/action.button.trigger.directive.mjs +0 -30
- package/esm2022/lib/button/action/index.mjs +0 -3
- package/esm2022/lib/button/button.directive.mjs +0 -115
- package/esm2022/lib/button/button.loading.directive.mjs +0 -37
- package/esm2022/lib/button/button.mjs +0 -21
- package/esm2022/lib/button/button.module.mjs +0 -28
- package/esm2022/lib/button/index.mjs +0 -7
- package/esm2022/lib/button/router/button.segue.directive.mjs +0 -29
- package/esm2022/lib/button/router/index.mjs +0 -2
- package/esm2022/lib/context/context.directive.mjs +0 -26
- package/esm2022/lib/context/context.mjs +0 -25
- package/esm2022/lib/context/context.module.mjs +0 -19
- package/esm2022/lib/context/context.providers.mjs +0 -12
- package/esm2022/lib/context/context.service.mjs +0 -26
- package/esm2022/lib/context/index.mjs +0 -7
- package/esm2022/lib/context/state/action/data.action.mjs +0 -10
- package/esm2022/lib/context/state/action/index.mjs +0 -7
- package/esm2022/lib/context/state/effect/index.mjs +0 -33
- package/esm2022/lib/context/state/index.mjs +0 -13
- package/esm2022/lib/context/state/reducer/data.reducer.mjs +0 -16
- package/esm2022/lib/context/state/reducer/index.mjs +0 -25
- package/esm2022/lib/context/state/state.mjs +0 -2
- package/esm2022/lib/environment/environment.mjs +0 -6
- package/esm2022/lib/environment/environment.providers.mjs +0 -19
- package/esm2022/lib/environment/environment.service.mjs +0 -30
- package/esm2022/lib/environment/index.mjs +0 -4
- package/esm2022/lib/filter/filter.abstract.connector.directive.mjs +0 -21
- package/esm2022/lib/filter/filter.abstract.source.directive.mjs +0 -69
- package/esm2022/lib/filter/filter.connect.source.directive.mjs +0 -23
- package/esm2022/lib/filter/filter.connector.directive.mjs +0 -20
- package/esm2022/lib/filter/filter.content.mjs +0 -29
- package/esm2022/lib/filter/filter.map.connector.directive.mjs +0 -33
- package/esm2022/lib/filter/filter.map.directive.mjs +0 -22
- package/esm2022/lib/filter/filter.map.instance.directive.mjs +0 -25
- package/esm2022/lib/filter/filter.map.source.directive.mjs +0 -38
- package/esm2022/lib/filter/filter.module.mjs +0 -22
- package/esm2022/lib/filter/filter.preset.mjs +0 -8
- package/esm2022/lib/filter/filter.source.directive.mjs +0 -19
- package/esm2022/lib/filter/index.mjs +0 -13
- package/esm2022/lib/index.mjs +0 -15
- package/esm2022/lib/injection/index.mjs +0 -14
- package/esm2022/lib/injection/injection.array.component.mjs +0 -31
- package/esm2022/lib/injection/injection.array.mjs +0 -2
- package/esm2022/lib/injection/injection.component.mjs +0 -32
- package/esm2022/lib/injection/injection.component.module.mjs +0 -26
- package/esm2022/lib/injection/injection.context.directive.mjs +0 -130
- package/esm2022/lib/injection/injection.context.forward.directive.mjs +0 -25
- package/esm2022/lib/injection/injection.context.mjs +0 -20
- package/esm2022/lib/injection/injection.directive.mjs +0 -30
- package/esm2022/lib/injection/injection.instance.mjs +0 -121
- package/esm2022/lib/injection/injection.mjs +0 -16
- package/esm2022/lib/injection/injection.rxjs.mjs +0 -24
- package/esm2022/lib/injection/injection.util.mjs +0 -11
- package/esm2022/lib/injection/injector.mjs +0 -13
- package/esm2022/lib/ngrx/index.mjs +0 -2
- package/esm2022/lib/ngrx/store.lockset.mjs +0 -66
- package/esm2022/lib/pipe/async/asobservable.pipe.mjs +0 -21
- package/esm2022/lib/pipe/async/async.pipe.module.mjs +0 -20
- package/esm2022/lib/pipe/async/index.mjs +0 -3
- package/esm2022/lib/pipe/date/date.pipe.module.mjs +0 -108
- package/esm2022/lib/pipe/date/datedayrange.pipe.mjs +0 -24
- package/esm2022/lib/pipe/date/datedaytimerange.pipe.mjs +0 -24
- package/esm2022/lib/pipe/date/datedistance.pipe.mjs +0 -27
- package/esm2022/lib/pipe/date/dateformatdistance.pipe.mjs +0 -36
- package/esm2022/lib/pipe/date/datefromtoformat.pipe.mjs +0 -34
- package/esm2022/lib/pipe/date/daterangedistance.pipe.mjs +0 -24
- package/esm2022/lib/pipe/date/datetimerange.pipe.mjs +0 -24
- package/esm2022/lib/pipe/date/datetimerangeonly.pipe.mjs +0 -24
- package/esm2022/lib/pipe/date/datetimerangeonlydistance.pipe.mjs +0 -24
- package/esm2022/lib/pipe/date/index.mjs +0 -18
- package/esm2022/lib/pipe/date/minutesstring.pipe.mjs +0 -36
- package/esm2022/lib/pipe/date/systemdatetotargetdate.pipe.mjs +0 -27
- package/esm2022/lib/pipe/date/targetdatetosystemdate.pipe.mjs +0 -27
- package/esm2022/lib/pipe/date/timedistance.pipe.mjs +0 -57
- package/esm2022/lib/pipe/date/timezoneabbreviation.pipe.mjs +0 -27
- package/esm2022/lib/pipe/date/tojsdate.pipe.mjs +0 -30
- package/esm2022/lib/pipe/date/tominutes.pipe.mjs +0 -21
- package/esm2022/lib/pipe/index.mjs +0 -6
- package/esm2022/lib/pipe/misc/index.mjs +0 -3
- package/esm2022/lib/pipe/misc/misc.pipe.module.mjs +0 -21
- package/esm2022/lib/pipe/misc/prettyjson.pipe.mjs +0 -30
- package/esm2022/lib/pipe/pipe.module.mjs +0 -25
- package/esm2022/lib/pipe/value/cuttext.pipe.mjs +0 -22
- package/esm2022/lib/pipe/value/dollar.pipe.mjs +0 -24
- package/esm2022/lib/pipe/value/getvalue.pipe.mjs +0 -40
- package/esm2022/lib/pipe/value/index.mjs +0 -5
- package/esm2022/lib/pipe/value/value.pipe.module.mjs +0 -27
- package/esm2022/lib/router/anchor/anchor.directive.mjs +0 -63
- package/esm2022/lib/router/anchor/anchor.mjs +0 -52
- package/esm2022/lib/router/anchor/clickable.mjs +0 -18
- package/esm2022/lib/router/anchor/index.mjs +0 -5
- package/esm2022/lib/router/anchor/mousable.mjs +0 -2
- package/esm2022/lib/router/auth/hook/id.hook.mjs +0 -54
- package/esm2022/lib/router/auth/hook/index.mjs +0 -3
- package/esm2022/lib/router/auth/hook/uid.hook.mjs +0 -19
- package/esm2022/lib/router/auth/index.mjs +0 -2
- package/esm2022/lib/router/index.mjs +0 -6
- package/esm2022/lib/router/model/id.param.redirect.mjs +0 -73
- package/esm2022/lib/router/model/index.mjs +0 -7
- package/esm2022/lib/router/model/model.module.mjs +0 -26
- package/esm2022/lib/router/model/model.router.id.directive.mjs +0 -58
- package/esm2022/lib/router/model/model.router.key.directive.mjs +0 -60
- package/esm2022/lib/router/model/model.router.mjs +0 -38
- package/esm2022/lib/router/model/model.router.uid.directive.mjs +0 -25
- package/esm2022/lib/router/router/index.mjs +0 -5
- package/esm2022/lib/router/router/provider/angular/angular.router.service.mjs +0 -78
- package/esm2022/lib/router/router/provider/angular/angular.router.service.module.mjs +0 -31
- package/esm2022/lib/router/router/provider/angular/index.mjs +0 -3
- package/esm2022/lib/router/router/provider/index.mjs +0 -3
- package/esm2022/lib/router/router/provider/uirouter/index.mjs +0 -4
- package/esm2022/lib/router/router/provider/uirouter/uirouter.router.service.mjs +0 -95
- package/esm2022/lib/router/router/provider/uirouter/uirouter.router.service.module.mjs +0 -34
- package/esm2022/lib/router/router/provider/uirouter/uirouter.router.service.providers.mjs +0 -24
- package/esm2022/lib/router/router/service/index.mjs +0 -6
- package/esm2022/lib/router/router/service/router.go.mjs +0 -14
- package/esm2022/lib/router/router/service/router.service.mjs +0 -7
- package/esm2022/lib/router/router/service/router.service.rxjs.mjs +0 -39
- package/esm2022/lib/router/router/service/router.service.util.mjs +0 -14
- package/esm2022/lib/router/router/service/router.transition.service.mjs +0 -6
- package/esm2022/lib/router/router/transition/index.mjs +0 -5
- package/esm2022/lib/router/router/transition/transition.directive.mjs +0 -19
- package/esm2022/lib/router/router/transition/transition.mjs +0 -12
- package/esm2022/lib/router/router/transition/transition.rxjs.mjs +0 -55
- package/esm2022/lib/router/router/transition/transition.watcher.directive.mjs +0 -28
- package/esm2022/lib/router/router/util/index.mjs +0 -3
- package/esm2022/lib/router/router/util/route.default.mjs +0 -63
- package/esm2022/lib/router/router/util/route.reader.mjs +0 -47
- package/esm2022/lib/router/segue.mjs +0 -35
- package/esm2022/lib/rxjs/clean.mjs +0 -28
- package/esm2022/lib/rxjs/destroy.mjs +0 -13
- package/esm2022/lib/rxjs/index.mjs +0 -7
- package/esm2022/lib/rxjs/loading.mjs +0 -19
- package/esm2022/lib/rxjs/lockset.mjs +0 -56
- package/esm2022/lib/rxjs/rxjs.directive.mjs +0 -42
- package/esm2022/lib/rxjs/subscription.mjs +0 -16
- package/esm2022/lib/storage/index.mjs +0 -9
- package/esm2022/lib/storage/storage.accessor.mjs +0 -16
- package/esm2022/lib/storage/storage.accessor.simple.factory.mjs +0 -26
- package/esm2022/lib/storage/storage.accessor.simple.mjs +0 -172
- package/esm2022/lib/storage/storage.accessor.string.mjs +0 -50
- package/esm2022/lib/storage/storage.di.mjs +0 -4
- package/esm2022/lib/storage/storage.object.localstorage.mjs +0 -47
- package/esm2022/lib/storage/storage.object.memory.mjs +0 -17
- package/esm2022/lib/storage/storage.providers.mjs +0 -41
- package/esm2022/lib/util/index.mjs +0 -3
- package/esm2022/lib/util/input.mjs +0 -7
- package/esm2022/lib/util/view.mjs +0 -81
- package/esm2022/lib/view/if.directive.mjs +0 -28
- package/esm2022/lib/view/index.mjs +0 -2
- package/index.d.ts +0 -1
- package/lib/action/action.d.ts +0 -80
- package/lib/action/action.handler.d.ts +0 -15
- package/lib/action/action.holder.d.ts +0 -38
- package/lib/action/action.machine.d.ts +0 -48
- package/lib/action/action.module.d.ts +0 -30
- package/lib/action/action.reference.d.ts +0 -11
- package/lib/action/action.store.d.ts +0 -208
- package/lib/action/action.store.source.d.ts +0 -77
- package/lib/action/action.store.source.provide.d.ts +0 -7
- package/lib/action/directive/auto/action.automodify.directive.d.ts +0 -11
- package/lib/action/directive/auto/action.autotrigger.directive.d.ts +0 -36
- package/lib/action/directive/auto/index.d.ts +0 -2
- package/lib/action/directive/context/action.directive.d.ts +0 -10
- package/lib/action/directive/context/action.source.directive.d.ts +0 -12
- package/lib/action/directive/context/index.d.ts +0 -2
- package/lib/action/directive/debug/action.logger.directive.d.ts +0 -11
- package/lib/action/directive/debug/index.d.ts +0 -1
- package/lib/action/directive/index.d.ts +0 -5
- package/lib/action/directive/map/action.map.d.ts +0 -43
- package/lib/action/directive/map/action.map.directive.d.ts +0 -12
- package/lib/action/directive/map/action.map.key.directive.d.ts +0 -14
- package/lib/action/directive/map/action.map.source.directive.d.ts +0 -19
- package/lib/action/directive/map/action.map.utility.d.ts +0 -48
- package/lib/action/directive/map/action.map.working.disable.directive.d.ts +0 -16
- package/lib/action/directive/map/index.d.ts +0 -6
- package/lib/action/directive/state/action.disabled.directive.d.ts +0 -15
- package/lib/action/directive/state/action.disableonsuccess.directive.d.ts +0 -15
- package/lib/action/directive/state/action.enforce.modified.directive.d.ts +0 -15
- package/lib/action/directive/state/action.error.handler.directive.d.ts +0 -18
- package/lib/action/directive/state/action.handler.directive.d.ts +0 -33
- package/lib/action/directive/state/action.handler.instance.d.ts +0 -22
- package/lib/action/directive/state/action.idle.directive.d.ts +0 -15
- package/lib/action/directive/state/action.presuccess.directive.d.ts +0 -15
- package/lib/action/directive/state/action.success.directive.d.ts +0 -15
- package/lib/action/directive/state/action.success.handler.directive.d.ts +0 -18
- package/lib/action/directive/state/action.triggered.directive.d.ts +0 -15
- package/lib/action/directive/state/action.value.directive.d.ts +0 -23
- package/lib/action/directive/state/action.value.stream.directive.d.ts +0 -19
- package/lib/action/directive/state/action.value.trigger.directive.d.ts +0 -38
- package/lib/action/directive/state/action.value.trigger.instance.d.ts +0 -45
- package/lib/action/directive/state/action.working.directive.d.ts +0 -17
- package/lib/action/directive/state/index.d.ts +0 -16
- package/lib/action/index.d.ts +0 -10
- package/lib/auth/auth.module.d.ts +0 -16
- package/lib/auth/auth.providers.d.ts +0 -12
- package/lib/auth/auth.role.any.directive.d.ts +0 -15
- package/lib/auth/auth.role.has.directive.d.ts +0 -15
- package/lib/auth/auth.role.not.directive.d.ts +0 -15
- package/lib/auth/auth.state.providers.d.ts +0 -7
- package/lib/auth/auth.state.service.d.ts +0 -11
- package/lib/auth/auth.user.d.ts +0 -28
- package/lib/auth/index.d.ts +0 -11
- package/lib/auth/router/auth.router.d.ts +0 -10
- package/lib/auth/router/auth.router.providers.d.ts +0 -18
- package/lib/auth/router/auth.router.service.d.ts +0 -46
- package/lib/auth/router/index.d.ts +0 -5
- package/lib/auth/router/provider/uirouter/auth.hook.d.ts +0 -18
- package/lib/auth/router/provider/uirouter/hook.d.ts +0 -51
- package/lib/auth/router/provider/uirouter/index.d.ts +0 -5
- package/lib/auth/router/provider/uirouter/redirect.d.ts +0 -9
- package/lib/auth/router/provider/uirouter/role.hook.d.ts +0 -44
- package/lib/auth/router/provider/uirouter/state.hook.d.ts +0 -31
- package/lib/auth/router/state/auth.router.state.providers.d.ts +0 -19
- package/lib/auth/router/state/effect/auth.router.state.effect.d.ts +0 -28
- package/lib/auth/router/state/effect/index.d.ts +0 -1
- package/lib/auth/router/state/index.d.ts +0 -2
- package/lib/auth/service/auth.service.d.ts +0 -46
- package/lib/auth/service/auth.service.rxjs.d.ts +0 -19
- package/lib/auth/service/index.d.ts +0 -2
- package/lib/auth/state/action/auth.action.d.ts +0 -12
- package/lib/auth/state/action/index.d.ts +0 -11
- package/lib/auth/state/action/user.action.d.ts +0 -34
- package/lib/auth/state/effect/auth.effect.d.ts +0 -28
- package/lib/auth/state/index.d.ts +0 -12
- package/lib/auth/state/reducer/index.d.ts +0 -29
- package/lib/auth/state/reducer/user.reducer.d.ts +0 -11
- package/lib/auth/state/state.d.ts +0 -5
- package/lib/button/action/action.button.directive.d.ts +0 -10
- package/lib/button/action/action.button.trigger.directive.d.ts +0 -14
- package/lib/button/action/index.d.ts +0 -2
- package/lib/button/button.d.ts +0 -113
- package/lib/button/button.directive.d.ts +0 -60
- package/lib/button/button.loading.directive.d.ts +0 -18
- package/lib/button/button.module.d.ts +0 -19
- package/lib/button/index.d.ts +0 -6
- package/lib/button/router/button.segue.directive.d.ts +0 -13
- package/lib/button/router/index.d.ts +0 -1
- package/lib/context/context.d.ts +0 -42
- package/lib/context/context.directive.d.ts +0 -13
- package/lib/context/context.module.d.ts +0 -10
- package/lib/context/context.providers.d.ts +0 -7
- package/lib/context/context.service.d.ts +0 -14
- package/lib/context/index.d.ts +0 -6
- package/lib/context/state/action/data.action.d.ts +0 -13
- package/lib/context/state/action/index.d.ts +0 -6
- package/lib/context/state/effect/index.d.ts +0 -24
- package/lib/context/state/index.d.ts +0 -12
- package/lib/context/state/reducer/data.reducer.d.ts +0 -13
- package/lib/context/state/reducer/index.d.ts +0 -34
- package/lib/context/state/state.d.ts +0 -9
- package/lib/environment/environment.d.ts +0 -21
- package/lib/environment/environment.providers.d.ts +0 -8
- package/lib/environment/environment.service.d.ts +0 -17
- package/lib/environment/index.d.ts +0 -3
- package/lib/filter/filter.abstract.connector.directive.d.ts +0 -13
- package/lib/filter/filter.abstract.source.directive.d.ts +0 -37
- package/lib/filter/filter.connect.source.directive.d.ts +0 -13
- package/lib/filter/filter.connector.directive.d.ts +0 -9
- package/lib/filter/filter.content.d.ts +0 -10
- package/lib/filter/filter.map.connector.directive.d.ts +0 -14
- package/lib/filter/filter.map.directive.d.ts +0 -10
- package/lib/filter/filter.map.instance.directive.d.ts +0 -16
- package/lib/filter/filter.map.source.directive.d.ts +0 -23
- package/lib/filter/filter.module.d.ts +0 -12
- package/lib/filter/filter.preset.d.ts +0 -29
- package/lib/filter/filter.source.directive.d.ts +0 -9
- package/lib/filter/index.d.ts +0 -12
- package/lib/index.d.ts +0 -14
- package/lib/injection/index.d.ts +0 -13
- package/lib/injection/injection.array.component.d.ts +0 -11
- package/lib/injection/injection.array.d.ts +0 -12
- package/lib/injection/injection.component.d.ts +0 -19
- package/lib/injection/injection.component.module.d.ts +0 -16
- package/lib/injection/injection.context.d.ts +0 -39
- package/lib/injection/injection.context.directive.d.ts +0 -26
- package/lib/injection/injection.context.forward.directive.d.ts +0 -15
- package/lib/injection/injection.d.ts +0 -53
- package/lib/injection/injection.directive.d.ts +0 -18
- package/lib/injection/injection.instance.d.ts +0 -32
- package/lib/injection/injection.rxjs.d.ts +0 -10
- package/lib/injection/injection.util.d.ts +0 -9
- package/lib/injection/injector.d.ts +0 -10
- package/lib/ngrx/index.d.ts +0 -1
- package/lib/ngrx/store.lockset.d.ts +0 -36
- package/lib/pipe/async/asobservable.pipe.d.ts +0 -12
- package/lib/pipe/async/async.pipe.module.d.ts +0 -10
- package/lib/pipe/async/index.d.ts +0 -2
- package/lib/pipe/date/date.pipe.module.d.ts +0 -43
- package/lib/pipe/date/datedayrange.pipe.d.ts +0 -9
- package/lib/pipe/date/datedaytimerange.pipe.d.ts +0 -9
- package/lib/pipe/date/datedistance.pipe.d.ts +0 -8
- package/lib/pipe/date/dateformatdistance.pipe.d.ts +0 -12
- package/lib/pipe/date/datefromtoformat.pipe.d.ts +0 -13
- package/lib/pipe/date/daterangedistance.pipe.d.ts +0 -9
- package/lib/pipe/date/datetimerange.pipe.d.ts +0 -9
- package/lib/pipe/date/datetimerangeonly.pipe.d.ts +0 -9
- package/lib/pipe/date/datetimerangeonlydistance.pipe.d.ts +0 -9
- package/lib/pipe/date/index.d.ts +0 -17
- package/lib/pipe/date/minutesstring.pipe.d.ts +0 -8
- package/lib/pipe/date/systemdatetotargetdate.pipe.d.ts +0 -12
- package/lib/pipe/date/targetdatetosystemdate.pipe.d.ts +0 -12
- package/lib/pipe/date/timedistance.pipe.d.ts +0 -13
- package/lib/pipe/date/timezoneabbreviation.pipe.d.ts +0 -12
- package/lib/pipe/date/tojsdate.pipe.d.ts +0 -10
- package/lib/pipe/date/tominutes.pipe.d.ts +0 -7
- package/lib/pipe/index.d.ts +0 -5
- package/lib/pipe/misc/index.d.ts +0 -2
- package/lib/pipe/misc/misc.pipe.module.d.ts +0 -12
- package/lib/pipe/misc/prettyjson.pipe.d.ts +0 -9
- package/lib/pipe/pipe.module.d.ts +0 -15
- package/lib/pipe/value/cuttext.pipe.d.ts +0 -11
- package/lib/pipe/value/dollar.pipe.d.ts +0 -13
- package/lib/pipe/value/getvalue.pipe.d.ts +0 -19
- package/lib/pipe/value/index.d.ts +0 -4
- package/lib/pipe/value/value.pipe.module.d.ts +0 -17
- package/lib/router/anchor/anchor.d.ts +0 -71
- package/lib/router/anchor/anchor.directive.d.ts +0 -30
- package/lib/router/anchor/clickable.d.ts +0 -20
- package/lib/router/anchor/index.d.ts +0 -4
- package/lib/router/anchor/mousable.d.ts +0 -9
- package/lib/router/auth/hook/id.hook.d.ts +0 -44
- package/lib/router/auth/hook/index.d.ts +0 -2
- package/lib/router/auth/hook/uid.hook.d.ts +0 -41
- package/lib/router/auth/index.d.ts +0 -1
- package/lib/router/index.d.ts +0 -5
- package/lib/router/model/id.param.redirect.d.ts +0 -51
- package/lib/router/model/index.d.ts +0 -6
- package/lib/router/model/model.module.d.ts +0 -16
- package/lib/router/model/model.router.d.ts +0 -35
- package/lib/router/model/model.router.id.directive.d.ts +0 -27
- package/lib/router/model/model.router.key.directive.d.ts +0 -29
- package/lib/router/model/model.router.uid.directive.d.ts +0 -13
- package/lib/router/router/index.d.ts +0 -4
- package/lib/router/router/provider/angular/angular.router.service.d.ts +0 -24
- package/lib/router/router/provider/angular/angular.router.service.module.d.ts +0 -8
- package/lib/router/router/provider/angular/index.d.ts +0 -2
- package/lib/router/router/provider/index.d.ts +0 -2
- package/lib/router/router/provider/uirouter/index.d.ts +0 -3
- package/lib/router/router/provider/uirouter/uirouter.router.service.d.ts +0 -32
- package/lib/router/router/provider/uirouter/uirouter.router.service.module.d.ts +0 -11
- package/lib/router/router/provider/uirouter/uirouter.router.service.providers.d.ts +0 -7
- package/lib/router/router/service/index.d.ts +0 -5
- package/lib/router/router/service/router.go.d.ts +0 -14
- package/lib/router/router/service/router.service.d.ts +0 -49
- package/lib/router/router/service/router.service.rxjs.d.ts +0 -27
- package/lib/router/router/service/router.service.util.d.ts +0 -26
- package/lib/router/router/service/router.transition.service.d.ts +0 -11
- package/lib/router/router/transition/index.d.ts +0 -4
- package/lib/router/router/transition/transition.d.ts +0 -13
- package/lib/router/router/transition/transition.directive.d.ts +0 -13
- package/lib/router/router/transition/transition.rxjs.d.ts +0 -67
- package/lib/router/router/transition/transition.watcher.directive.d.ts +0 -14
- package/lib/router/router/util/index.d.ts +0 -2
- package/lib/router/router/util/route.default.d.ts +0 -20
- package/lib/router/router/util/route.reader.d.ts +0 -56
- package/lib/router/segue.d.ts +0 -38
- package/lib/rxjs/clean.d.ts +0 -16
- package/lib/rxjs/destroy.d.ts +0 -7
- package/lib/rxjs/index.d.ts +0 -6
- package/lib/rxjs/loading.d.ts +0 -13
- package/lib/rxjs/lockset.d.ts +0 -47
- package/lib/rxjs/rxjs.directive.d.ts +0 -29
- package/lib/rxjs/subscription.d.ts +0 -9
- package/lib/storage/index.d.ts +0 -8
- package/lib/storage/storage.accessor.d.ts +0 -35
- package/lib/storage/storage.accessor.simple.d.ts +0 -80
- package/lib/storage/storage.accessor.simple.factory.d.ts +0 -17
- package/lib/storage/storage.accessor.string.d.ts +0 -16
- package/lib/storage/storage.di.d.ts +0 -3
- package/lib/storage/storage.object.localstorage.d.ts +0 -16
- package/lib/storage/storage.object.memory.d.ts +0 -9
- package/lib/storage/storage.providers.d.ts +0 -13
- package/lib/util/index.d.ts +0 -2
- package/lib/util/input.d.ts +0 -6
- package/lib/util/view.d.ts +0 -61
- package/lib/view/if.directive.d.ts +0 -18
- package/lib/view/index.d.ts +0 -1
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { type ObservableOrValue } from '@dereekb/rxjs';
|
|
2
|
-
import { type Observable } from 'rxjs';
|
|
3
|
-
import { type SegueRefOrSegueRefRouterLink, type SegueRefRawSegueParams } from '../../segue';
|
|
4
|
-
import { DbxRouterTransitionService } from './router.transition.service';
|
|
5
|
-
/**
|
|
6
|
-
* Router service definition that can route the app and provide routing details.
|
|
7
|
-
*/
|
|
8
|
-
export declare abstract class DbxRouterService extends DbxRouterTransitionService {
|
|
9
|
-
/**
|
|
10
|
-
* Params of the current successfully loaded route.
|
|
11
|
-
*/
|
|
12
|
-
abstract readonly params$: Observable<SegueRefRawSegueParams>;
|
|
13
|
-
/**
|
|
14
|
-
* Navigates to the target SegueRef.
|
|
15
|
-
*
|
|
16
|
-
* @param segueRef
|
|
17
|
-
*/
|
|
18
|
-
abstract go(segueRef: ObservableOrValue<SegueRefOrSegueRefRouterLink>): Promise<boolean>;
|
|
19
|
-
/**
|
|
20
|
-
* Navigates to the current url with updated parameters. Will be merged with the existing parameters.
|
|
21
|
-
*
|
|
22
|
-
* The new state will replace the current state in the history.
|
|
23
|
-
*
|
|
24
|
-
* @param segueRef
|
|
25
|
-
*/
|
|
26
|
-
abstract updateParams(params: ObservableOrValue<SegueRefRawSegueParams>): Promise<boolean>;
|
|
27
|
-
/**
|
|
28
|
-
* Returns true if the input segue ref is considered active.
|
|
29
|
-
*
|
|
30
|
-
* @param segueRef
|
|
31
|
-
*/
|
|
32
|
-
abstract isActive(segueRef: SegueRefOrSegueRefRouterLink): boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Returns true if the input segue ref is considered active exactly.
|
|
35
|
-
*
|
|
36
|
-
* @param segueRef
|
|
37
|
-
*/
|
|
38
|
-
abstract isActiveExactly(segueRef: SegueRefOrSegueRefRouterLink): boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Compares the two refs for precision for a certain route.
|
|
41
|
-
*
|
|
42
|
-
* For example, if the parent route is input with a child route, the child route is
|
|
43
|
-
* considered more precise.
|
|
44
|
-
*
|
|
45
|
-
* @param a
|
|
46
|
-
* @param b
|
|
47
|
-
*/
|
|
48
|
-
abstract comparePrecision(a: SegueRefOrSegueRefRouterLink, b: SegueRefOrSegueRefRouterLink): number;
|
|
49
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { type Maybe } from '@dereekb/util';
|
|
2
|
-
import { type Observable, type OperatorFunction } from 'rxjs';
|
|
3
|
-
import { type SegueRefOrSegueRefRouterLink } from '../../segue';
|
|
4
|
-
import { type DbxRouterTransitionEvent, DbxRouterTransitionEventType } from '../transition';
|
|
5
|
-
import { type IsSegueRefActiveFunctionConfig } from './router.service.util';
|
|
6
|
-
export declare function onRouterTransitionEventType(events$: Observable<DbxRouterTransitionEvent>, type: DbxRouterTransitionEventType): Observable<DbxRouterTransitionEvent>;
|
|
7
|
-
export declare function onRouterTransitionSuccessEvent(events$: Observable<DbxRouterTransitionEvent>): Observable<DbxRouterTransitionEvent>;
|
|
8
|
-
/**
|
|
9
|
-
* Creates an observable that returns true when the route for the input segueRef is active.
|
|
10
|
-
*
|
|
11
|
-
* @param dbxRouterService
|
|
12
|
-
* @param segueRef
|
|
13
|
-
*/
|
|
14
|
-
export declare function isSegueRefActiveOnTransitionSuccess(config: IsSegueRefActiveFunctionConfig): Observable<boolean>;
|
|
15
|
-
export interface IsSegueRefActiveConfig extends Pick<IsSegueRefActiveFunctionConfig, 'dbxRouterService' | 'activeExactly'> {
|
|
16
|
-
/**
|
|
17
|
-
* What to pipe if the input segueRef is null.
|
|
18
|
-
*/
|
|
19
|
-
readonly defaultIfNull?: boolean;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Operator function that maps the input segueRef to a boolean depending on the current route state.
|
|
23
|
-
*
|
|
24
|
-
* @param dbxRouterService
|
|
25
|
-
* @param segueRef
|
|
26
|
-
*/
|
|
27
|
-
export declare function isSegueRefActive(config: IsSegueRefActiveConfig): OperatorFunction<Maybe<SegueRefOrSegueRefRouterLink>, boolean>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { type SegueRefOrSegueRefRouterLink } from '../../segue';
|
|
2
|
-
import { type DbxRouterService } from './router.service';
|
|
3
|
-
/**
|
|
4
|
-
* Function that returns true when the configured segueRef is active.
|
|
5
|
-
*/
|
|
6
|
-
export type IsSegueRefActiveFunction = (() => boolean) & {
|
|
7
|
-
readonly _segueRef: SegueRefOrSegueRefRouterLink;
|
|
8
|
-
readonly _activeExactly: boolean;
|
|
9
|
-
};
|
|
10
|
-
export interface IsSegueRefActiveFunctionConfig {
|
|
11
|
-
readonly dbxRouterService: DbxRouterService;
|
|
12
|
-
readonly segueRef: SegueRefOrSegueRefRouterLink;
|
|
13
|
-
/**
|
|
14
|
-
* Whether or not to match the route exactly.
|
|
15
|
-
*
|
|
16
|
-
* False by default.
|
|
17
|
-
*/
|
|
18
|
-
readonly activeExactly?: boolean;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Creates an IsSegueRefActiveFunction
|
|
22
|
-
*
|
|
23
|
-
* @param config
|
|
24
|
-
* @returns
|
|
25
|
-
*/
|
|
26
|
-
export declare function isSegueRefActiveFunction(config: IsSegueRefActiveFunctionConfig): IsSegueRefActiveFunction;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type Observable } from 'rxjs';
|
|
2
|
-
import { type DbxRouterTransitionEvent } from '../transition/transition';
|
|
3
|
-
/**
|
|
4
|
-
* Router service definition that provides high level information about router transitions.
|
|
5
|
-
*/
|
|
6
|
-
export declare abstract class DbxRouterTransitionService {
|
|
7
|
-
/**
|
|
8
|
-
* Observable that emits DbxRouterTransitionEvent values as transitions occur.
|
|
9
|
-
*/
|
|
10
|
-
abstract readonly transitions$: Observable<DbxRouterTransitionEvent>;
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare enum DbxRouterTransitionEventType {
|
|
2
|
-
/**
|
|
3
|
-
* A transition started.
|
|
4
|
-
*/
|
|
5
|
-
START = "start",
|
|
6
|
-
/**
|
|
7
|
-
* A transition ended.
|
|
8
|
-
*/
|
|
9
|
-
SUCCESS = "success"
|
|
10
|
-
}
|
|
11
|
-
export interface DbxRouterTransitionEvent {
|
|
12
|
-
type: DbxRouterTransitionEventType;
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { DbxRouterTransitionService } from '../service/router.transition.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Abstract directive that listens to onSuccess transition events and runs a function.
|
|
6
|
-
*/
|
|
7
|
-
export declare abstract class AbstractTransitionDirective {
|
|
8
|
-
protected readonly dbxRouterTransitionService: DbxRouterTransitionService;
|
|
9
|
-
readonly transitionSuccess$: Observable<import("@dereekb/dbx-core").DbxRouterTransitionEvent>;
|
|
10
|
-
readonly initAndUpdateOnTransitionSuccess$: Observable<void>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTransitionDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTransitionDirective, never, never, {}, {}, never, never, false, never>;
|
|
13
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { type ArrayOrValue } from '@dereekb/util';
|
|
2
|
-
import { type MonoTypeOperatorFunction, type Observable } from 'rxjs';
|
|
3
|
-
import { type SegueRefOrSegueRefRouterLink } from '../../segue';
|
|
4
|
-
import { type DbxRouterService } from '../service/router.service';
|
|
5
|
-
import { type DbxRouterTransitionService } from '../service/router.transition.service';
|
|
6
|
-
import { type DbxRouterTransitionEvent, DbxRouterTransitionEventType } from './transition';
|
|
7
|
-
/**
|
|
8
|
-
* Convenience function for filtering success from the input observable.
|
|
9
|
-
*
|
|
10
|
-
* @param obs
|
|
11
|
-
* @returns
|
|
12
|
-
*/
|
|
13
|
-
export declare function successTransition(obs: Observable<DbxRouterTransitionEvent>): Observable<DbxRouterTransitionEvent>;
|
|
14
|
-
export declare function filterTransitionSuccess(): MonoTypeOperatorFunction<DbxRouterTransitionEvent>;
|
|
15
|
-
export declare function filterTransitionEvent(type: DbxRouterTransitionEventType): MonoTypeOperatorFunction<DbxRouterTransitionEvent>;
|
|
16
|
-
export interface LatestSuccessfulRoutesConfigRoute {
|
|
17
|
-
/**
|
|
18
|
-
* Route to check if it is active or not.
|
|
19
|
-
*/
|
|
20
|
-
readonly route: SegueRefOrSegueRefRouterLink;
|
|
21
|
-
/**
|
|
22
|
-
* Whether or not to match the route exactly.
|
|
23
|
-
*/
|
|
24
|
-
readonly activeExactly?: boolean;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* latestSuccessfulRoute() config
|
|
28
|
-
*/
|
|
29
|
-
export interface LatestSuccessfulRoutesConfig<T extends LatestSuccessfulRoutesConfigRoute> {
|
|
30
|
-
readonly dbxRouterTransitionService: DbxRouterTransitionService;
|
|
31
|
-
readonly dbxRouterService: DbxRouterService;
|
|
32
|
-
/**
|
|
33
|
-
* Route or list of routes to check if they're active or not.
|
|
34
|
-
*/
|
|
35
|
-
readonly routes: ArrayOrValue<T>;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Creates a new observable that uses the input DbxRouterTransitionService and DbxRouterService to determine whether or not any of the configured routes are active.
|
|
39
|
-
*
|
|
40
|
-
* @param obs
|
|
41
|
-
* @param config
|
|
42
|
-
* @returns
|
|
43
|
-
*/
|
|
44
|
-
export declare function latestSuccessfulRoutes<T extends LatestSuccessfulRoutesConfigRoute>(config: LatestSuccessfulRoutesConfig<T>): Observable<T[]>;
|
|
45
|
-
/**
|
|
46
|
-
* isLatestSuccessfulRoute() config
|
|
47
|
-
*/
|
|
48
|
-
export interface IsLatestSuccessfulRouteConfig {
|
|
49
|
-
readonly dbxRouterTransitionService: DbxRouterTransitionService;
|
|
50
|
-
readonly dbxRouterService: DbxRouterService;
|
|
51
|
-
/**
|
|
52
|
-
* Route or list of routes to check if they're active or not.
|
|
53
|
-
*/
|
|
54
|
-
readonly routes: ArrayOrValue<SegueRefOrSegueRefRouterLink>;
|
|
55
|
-
/**
|
|
56
|
-
* Whether or not to match route activity exactly.
|
|
57
|
-
*/
|
|
58
|
-
readonly activeExactly?: boolean;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Creates a new observable that uses the input DbxRouterTransitionService and DbxRouterService to determine whether or not any of the configured routes are active.
|
|
62
|
-
*
|
|
63
|
-
* @param obs
|
|
64
|
-
* @param config
|
|
65
|
-
* @returns
|
|
66
|
-
*/
|
|
67
|
-
export declare function isLatestSuccessfulRoute(config: IsLatestSuccessfulRouteConfig): Observable<boolean>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { NgZone } from '@angular/core';
|
|
2
|
-
import { AbstractTransitionDirective } from './transition.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Abstract directive that listens to onSuccess transition events and runs a function.
|
|
6
|
-
*/
|
|
7
|
-
export declare abstract class AbstractTransitionWatcherDirective extends AbstractTransitionDirective {
|
|
8
|
-
protected readonly ngZone: NgZone;
|
|
9
|
-
constructor();
|
|
10
|
-
protected zoneUpdateForSuccessfulTransition(): void;
|
|
11
|
-
protected abstract updateForSuccessfulTransition(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTransitionWatcherDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTransitionWatcherDirective, never, never, {}, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { type DbxRouteParamReaderInstance } from './route.reader';
|
|
2
|
-
import { type Destroyable, type Initialized, type Maybe } from '@dereekb/util';
|
|
3
|
-
import { type SwitchMapToDefaultFilterFunction } from '@dereekb/rxjs';
|
|
4
|
-
/**
|
|
5
|
-
* Utility class used in conjuction with a DbxRouteParamReaderInstance to redirect when the default param is not valid.
|
|
6
|
-
*/
|
|
7
|
-
export declare class DbxRouteParamDefaultRedirectInstance<T> implements Initialized, Destroyable {
|
|
8
|
-
private readonly instance;
|
|
9
|
-
private readonly _enabled;
|
|
10
|
-
private readonly _useDefaultFilter;
|
|
11
|
-
private readonly _sub;
|
|
12
|
-
constructor(instance: DbxRouteParamReaderInstance<T>);
|
|
13
|
-
init(): void;
|
|
14
|
-
destroy(): void;
|
|
15
|
-
protected redirectWithDefaultValue(value: Maybe<T>): Promise<boolean>;
|
|
16
|
-
protected redirectWithValue(value: Maybe<T>): Promise<boolean>;
|
|
17
|
-
get enabled(): boolean;
|
|
18
|
-
set enabled(enabled: boolean);
|
|
19
|
-
setUseDefaultFilter(useValueFilter: Maybe<SwitchMapToDefaultFilterFunction<T>>): void;
|
|
20
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { type MaybeObservableOrValueGetter } from '@dereekb/rxjs';
|
|
2
|
-
import { type Destroyable, type Maybe } from '@dereekb/util';
|
|
3
|
-
import { type Observable } from 'rxjs';
|
|
4
|
-
import { type DbxRouterService } from '../service/router.service';
|
|
5
|
-
/**
|
|
6
|
-
* Interface used for reading a single value from the DbxRouterService. Supports a default value.
|
|
7
|
-
*/
|
|
8
|
-
export interface DbxRouteParamReader<T> {
|
|
9
|
-
/**
|
|
10
|
-
* The param value as read from the current router state.
|
|
11
|
-
*/
|
|
12
|
-
readonly paramValue$: Observable<Maybe<T>>;
|
|
13
|
-
/**
|
|
14
|
-
* The default value observable.
|
|
15
|
-
*/
|
|
16
|
-
readonly defaultValue$: Observable<Maybe<T>>;
|
|
17
|
-
/**
|
|
18
|
-
* The current value given the paramValue and the defaultValue.
|
|
19
|
-
*/
|
|
20
|
-
readonly value$: Observable<Maybe<T>>;
|
|
21
|
-
/**
|
|
22
|
-
* Returns the current param key.
|
|
23
|
-
*/
|
|
24
|
-
getParamKey(): string;
|
|
25
|
-
/**
|
|
26
|
-
* Sets a new param key. If the value is undefined, the param reader will use the default key.
|
|
27
|
-
*/
|
|
28
|
-
setParamKey(paramKey: Maybe<string>): void;
|
|
29
|
-
/**
|
|
30
|
-
* Sets the default value source.
|
|
31
|
-
*
|
|
32
|
-
* @param defaultValue
|
|
33
|
-
*/
|
|
34
|
-
setDefaultValue(defaultValue: MaybeObservableOrValueGetter<T>): void;
|
|
35
|
-
/**
|
|
36
|
-
* Updates the value on the current route for the paramKey.
|
|
37
|
-
*
|
|
38
|
-
* @param value
|
|
39
|
-
*/
|
|
40
|
-
setParamValue(value: MaybeObservableOrValueGetter<T>): void;
|
|
41
|
-
}
|
|
42
|
-
export interface DbxRouteParamReaderInstance<T> extends DbxRouteParamReader<T>, Destroyable {
|
|
43
|
-
readonly dbxRouterService: DbxRouterService;
|
|
44
|
-
readonly paramKey$: Observable<string>;
|
|
45
|
-
readonly nextDefaultValue$: Observable<Maybe<T>>;
|
|
46
|
-
readonly value$: Observable<Maybe<T>>;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Creates a new DbxRouteParamReaderInstance from the input.
|
|
50
|
-
*
|
|
51
|
-
* @param dbxRouterService
|
|
52
|
-
* @param defaultParamKey
|
|
53
|
-
* @param defaultValue
|
|
54
|
-
* @returns
|
|
55
|
-
*/
|
|
56
|
-
export declare function dbxRouteParamReaderInstance<T>(dbxRouterService: DbxRouterService, defaultParamKey: string, defaultValue?: MaybeObservableOrValueGetter<T>): DbxRouteParamReaderInstance<T>;
|
package/lib/router/segue.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { type ArrayOrValue, type Maybe } from '@dereekb/util';
|
|
2
|
-
import { type Observable } from 'rxjs';
|
|
3
|
-
export type SegueRefRouterLink = string | ArrayOrValue<object>;
|
|
4
|
-
export interface SegueRefRawSegueParams {
|
|
5
|
-
[key: string]: unknown;
|
|
6
|
-
}
|
|
7
|
-
export interface SegueRefOptions<O = object> {
|
|
8
|
-
/**
|
|
9
|
-
* Raw parameters
|
|
10
|
-
*/
|
|
11
|
-
refParams?: SegueRefRawSegueParams;
|
|
12
|
-
/**
|
|
13
|
-
* Custom Transition Options.
|
|
14
|
-
*
|
|
15
|
-
* For UIRouter, this is TransitionOptions.
|
|
16
|
-
*/
|
|
17
|
-
refOptions?: O;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Represents a segue ref
|
|
21
|
-
*/
|
|
22
|
-
export interface SegueRef<O = object> extends SegueRefOptions<O> {
|
|
23
|
-
/**
|
|
24
|
-
* Ref path value.
|
|
25
|
-
*/
|
|
26
|
-
ref: SegueRefRouterLink;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* A SegueRef object or a different router link representation.
|
|
30
|
-
*/
|
|
31
|
-
export 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>>;
|
package/lib/rxjs/clean.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type Destroyable, type DestroyFunction } from '@dereekb/util';
|
|
2
|
-
import { type Subject } from 'rxjs';
|
|
3
|
-
/**
|
|
4
|
-
* Wraps a Destroyable in a function that registers the input Destroyable to be destroyed
|
|
5
|
-
* when the DestroyRef is destroyed in the context.
|
|
6
|
-
*
|
|
7
|
-
* Must be run in an Angular injection context.
|
|
8
|
-
*/
|
|
9
|
-
export declare function clean<T extends Destroyable | DestroyFunction>(input: T): T;
|
|
10
|
-
/**
|
|
11
|
-
* Wraps a Subject in a function that registers the input Subject to be completed
|
|
12
|
-
* when the DestroyRef is destroyed in the context.
|
|
13
|
-
*
|
|
14
|
-
* Must be run in an Angular injection context.
|
|
15
|
-
*/
|
|
16
|
-
export declare function completeOnDestroy<T extends Pick<Subject<any>, 'complete' | 'error'>>(input: T): T;
|
package/lib/rxjs/destroy.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type DestroyFunction, DestroyFunctionObject, type Maybe } from '@dereekb/util';
|
|
2
|
-
/**
|
|
3
|
-
* Creates a new DestroyFunctionObject that is automatically destroyed when the context is destroyed.
|
|
4
|
-
*
|
|
5
|
-
* Must be run within an Angular injection context.
|
|
6
|
-
*/
|
|
7
|
-
export declare function cleanDestroy(input?: Maybe<DestroyFunction>): DestroyFunctionObject;
|
package/lib/rxjs/index.d.ts
DELETED
package/lib/rxjs/loading.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type LoadingState, type LoadingContextEvent, type LoadingStateContextInput, type MutableLoadingStateContext, type ListLoadingState, type ListLoadingStateContextInput, type MutableListLoadingStateContext } from '@dereekb/rxjs';
|
|
2
|
-
/**
|
|
3
|
-
* Creates a new LoadingStateContext that is automatically destroyed when the context is destroyed.
|
|
4
|
-
*
|
|
5
|
-
* Must be run within an Angular injection context.
|
|
6
|
-
*/
|
|
7
|
-
export declare function cleanLoadingContext<T = unknown, S extends LoadingState<T> = LoadingState<T>, E extends LoadingContextEvent = LoadingContextEvent & S>(input?: LoadingStateContextInput<T, S, E>): MutableLoadingStateContext<T, S, E>;
|
|
8
|
-
/**
|
|
9
|
-
* Creates a new ListLoadingStateContext that is automatically destroyed when the context is destroyed.
|
|
10
|
-
*
|
|
11
|
-
* Must be run within an Angular injection context.
|
|
12
|
-
*/
|
|
13
|
-
export declare function cleanListLoadingContext<L = unknown, S extends ListLoadingState<L> = ListLoadingState<L>>(input?: ListLoadingStateContextInput<L, S>): MutableListLoadingStateContext<L, S>;
|
package/lib/rxjs/lockset.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { type DestroyOnNextUnlockConfig, LockSet, SubscriptionObject } from '@dereekb/rxjs';
|
|
2
|
-
import { type DestroyFunction, type GetterOrValue, type Maybe } from '@dereekb/util';
|
|
3
|
-
import { type Unsubscribable } from 'rxjs';
|
|
4
|
-
export interface CleanLockSetConfig {
|
|
5
|
-
/**
|
|
6
|
-
* Arbitrary onDestroy function to call when onDestroy is called by the internal DestroyRef.
|
|
7
|
-
*/
|
|
8
|
-
readonly onDestroy?: Maybe<() => void>;
|
|
9
|
-
/**
|
|
10
|
-
* Called when the LockSet is finally destroyed.
|
|
11
|
-
*/
|
|
12
|
-
readonly onLockSetDestroy?: Maybe<() => void>;
|
|
13
|
-
/**
|
|
14
|
-
* Configures when the lockset should be destroyed.
|
|
15
|
-
*/
|
|
16
|
-
readonly destroyLocksetTiming?: Maybe<DestroyOnNextUnlockConfig>;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Creates a new LockSet that is automatically destroyed when the component is destroyed.
|
|
20
|
-
*
|
|
21
|
-
* Must be run within an Angular injection context.
|
|
22
|
-
*
|
|
23
|
-
* @param onLockSetDestroy Optional callback to run when the lockset is unlocked.
|
|
24
|
-
*/
|
|
25
|
-
export declare function cleanLockSet(config?: Maybe<CleanLockSetConfig>): LockSet;
|
|
26
|
-
/**
|
|
27
|
-
* Runs the given onDestroy function when the context is destroyed, and the lock set's next unlock occurs.
|
|
28
|
-
*
|
|
29
|
-
* Must be run within an Angular injection context.
|
|
30
|
-
*
|
|
31
|
-
* @param lockSet The lockset to use.
|
|
32
|
-
* @param onDestroy The function to run when the lockset is unlocked.
|
|
33
|
-
*/
|
|
34
|
-
export declare function cleanWithLockSet(lockSet: LockSet, onDestroy: DestroyFunction): void;
|
|
35
|
-
/**
|
|
36
|
-
* Config for cleanSubscriptionWithLockSet()
|
|
37
|
-
*/
|
|
38
|
-
export interface CleanSubscriptionWithLockSetConfig<T extends Unsubscribable = Unsubscribable> {
|
|
39
|
-
readonly lockSet: LockSet;
|
|
40
|
-
readonly sub?: Maybe<GetterOrValue<T>>;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Creates a new SubscriptionObject that is automatically destroyed when the context is destroyed, and the lock set's next unlock occurs.
|
|
44
|
-
*
|
|
45
|
-
* Must be run within an Angular injection context.
|
|
46
|
-
*/
|
|
47
|
-
export declare function cleanSubscriptionWithLockSet<T extends Unsubscribable = Unsubscribable>(input: CleanSubscriptionWithLockSetConfig<T>): SubscriptionObject<T>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Unsubscribable } from 'rxjs';
|
|
3
|
-
import { LockSet } from '@dereekb/rxjs';
|
|
4
|
-
import { type Maybe } from '@dereekb/util';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Abstract component that contains a SubscriptionObject and will clean it up automatically.
|
|
8
|
-
*
|
|
9
|
-
* @deprecated Consider using cleanSubscription() directly instead, as it performs the same functionality
|
|
10
|
-
*/
|
|
11
|
-
export declare abstract class AbstractSubscriptionDirective<T extends Unsubscribable = Unsubscribable> implements OnDestroy {
|
|
12
|
-
private readonly _subscriptionObject;
|
|
13
|
-
ngOnDestroy(): void;
|
|
14
|
-
protected set sub(subscription: Maybe<T | void>);
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSubscriptionDirective<any>, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSubscriptionDirective<any>, never, never, {}, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* AbstractSubscriptionDirective extension that prevents the OnDestroy from occuring until the lockset is unlocked.
|
|
20
|
-
*
|
|
21
|
-
* @deprecated Consider using cleanLockSet() directly instead, as it performs the same functionality.
|
|
22
|
-
*/
|
|
23
|
-
export declare abstract class AbstractLockSetSubscriptionDirective<T extends Unsubscribable = Unsubscribable> extends AbstractSubscriptionDirective<T> implements OnDestroy {
|
|
24
|
-
readonly lockSet: LockSet;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
protected onLockSetDestroy(): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractLockSetSubscriptionDirective<any>, never>;
|
|
28
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractLockSetSubscriptionDirective<any>, never, never, {}, {}, never, never, false, never>;
|
|
29
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SubscriptionObject } from '@dereekb/rxjs';
|
|
2
|
-
import { type GetterOrValue, type Maybe } from '@dereekb/util';
|
|
3
|
-
import { type Unsubscribable } from 'rxjs';
|
|
4
|
-
/**
|
|
5
|
-
* Creates a new SubscriptionObject that is automatically destroyed when the context is destroyed.
|
|
6
|
-
*
|
|
7
|
-
* Must be run within an Angular injection context.
|
|
8
|
-
*/
|
|
9
|
-
export declare function cleanSubscription<T extends Unsubscribable = Unsubscribable>(sub?: Maybe<GetterOrValue<T>>): SubscriptionObject<T>;
|
package/lib/storage/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './storage.accessor.simple.factory';
|
|
2
|
-
export * from './storage.accessor.simple';
|
|
3
|
-
export * from './storage.accessor.string';
|
|
4
|
-
export * from './storage.accessor';
|
|
5
|
-
export * from './storage.di';
|
|
6
|
-
export * from './storage.object.localstorage';
|
|
7
|
-
export * from './storage.object.memory';
|
|
8
|
-
export * from './storage.providers';
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { type Maybe } from '@dereekb/util';
|
|
2
|
-
import { type Observable } from 'rxjs';
|
|
3
|
-
/**
|
|
4
|
-
* Stored object accessor that can get/set/remove via a key, or be cleared entirely.
|
|
5
|
-
*/
|
|
6
|
-
export declare abstract class LimitedStorageAccessor<T> {
|
|
7
|
-
/**
|
|
8
|
-
* Attempts to get the value. Throws a DataDoesNotExistError if not available.
|
|
9
|
-
*/
|
|
10
|
-
abstract get(key: string): Observable<Maybe<T>>;
|
|
11
|
-
abstract set(key: string, value: Maybe<T>): Observable<void>;
|
|
12
|
-
abstract remove(key: string): Observable<void>;
|
|
13
|
-
abstract clear(): Observable<object>;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* LimitedStorageAccessor extension that has knowledge of all stored keys.
|
|
17
|
-
*/
|
|
18
|
-
export declare abstract class StorageAccessor<T> extends LimitedStorageAccessor<T> {
|
|
19
|
-
/**
|
|
20
|
-
* Returns all values. Filtered by keys of a given prefix.
|
|
21
|
-
*/
|
|
22
|
-
abstract all(prefix?: string): Observable<T[]>;
|
|
23
|
-
/**
|
|
24
|
-
* Returns all keys. Filtered by keys of a given prefix.
|
|
25
|
-
*/
|
|
26
|
-
abstract allKeys(prefix?: string): Observable<string[]>;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* StorageAccessor-like object that has immediate/synchronous functionality for get/set.
|
|
30
|
-
*/
|
|
31
|
-
export declare abstract class InstantStorageAccessor<T> {
|
|
32
|
-
abstract getNow(key: string): T | undefined;
|
|
33
|
-
abstract setNow(key: string, value: T): void;
|
|
34
|
-
abstract removeNow(key: string): void;
|
|
35
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { type Observable } from 'rxjs';
|
|
2
|
-
import { type ReadStoredData, type StoredData, type StoredDataStorageKey, type StoredDataString, type Maybe } from '@dereekb/util';
|
|
3
|
-
import { type StorageAccessor } from './storage.accessor';
|
|
4
|
-
export interface SimpleStorageAccessorConverter<T> {
|
|
5
|
-
/**
|
|
6
|
-
* Converts the input value to a string.
|
|
7
|
-
*/
|
|
8
|
-
stringifyValue(value: T): StoredDataString;
|
|
9
|
-
/**
|
|
10
|
-
* Converts the data string into a value.
|
|
11
|
-
*/
|
|
12
|
-
parseValue(data: StoredDataString): T;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* SimpleStorageAccessor delegate.
|
|
16
|
-
*/
|
|
17
|
-
export interface SimpleStorageAccessorDelegate<T> extends SimpleStorageAccessorConverter<T>, StorageAccessor<StoredDataString> {
|
|
18
|
-
}
|
|
19
|
-
export declare class StringifySimpleStorageAccessorConverter<T> implements SimpleStorageAccessorConverter<T> {
|
|
20
|
-
stringifyValue(value: T): StoredDataString;
|
|
21
|
-
parseValue(data: StoredDataString): T;
|
|
22
|
-
}
|
|
23
|
-
export declare class WrapperSimpleStorageAccessorDelegate<T> implements SimpleStorageAccessorDelegate<T> {
|
|
24
|
-
private readonly _delegate;
|
|
25
|
-
private readonly _converter;
|
|
26
|
-
constructor(delegate: StorageAccessor<StoredDataString>, converter: SimpleStorageAccessorConverter<T>);
|
|
27
|
-
get(key: string): Observable<Maybe<StoredDataString>>;
|
|
28
|
-
set(key: string, value: StoredDataString): Observable<void>;
|
|
29
|
-
remove(key: string): Observable<void>;
|
|
30
|
-
clear(): Observable<object>;
|
|
31
|
-
all(prefix?: string): Observable<string[]>;
|
|
32
|
-
allKeys(prefix?: string): Observable<string[]>;
|
|
33
|
-
stringifyValue(value: T): StoredDataString;
|
|
34
|
-
parseValue(data: StoredDataString): T;
|
|
35
|
-
}
|
|
36
|
-
export interface SimpleStorageAccessorConfig {
|
|
37
|
-
/**
|
|
38
|
-
* Storage Key Prefix
|
|
39
|
-
*/
|
|
40
|
-
readonly prefix: string;
|
|
41
|
-
/**
|
|
42
|
-
* Optional prefix/value splitter.
|
|
43
|
-
*/
|
|
44
|
-
readonly prefixSplitter?: string;
|
|
45
|
-
/**
|
|
46
|
-
* Number in milliseconds that objects stored will expire in.
|
|
47
|
-
*/
|
|
48
|
-
readonly expiresIn?: number;
|
|
49
|
-
}
|
|
50
|
-
interface ConfiguredSimpleStorageAccessorConfig extends SimpleStorageAccessorConfig {
|
|
51
|
-
readonly prefixSplitter: string;
|
|
52
|
-
readonly fullPrefix: string;
|
|
53
|
-
}
|
|
54
|
-
export declare function assertValidStorageKeyPrefix(prefix: string, prefixSplitter: string): void;
|
|
55
|
-
export declare function isValidStorageKeyPrefix(prefix: string, prefixSpltter: string): boolean;
|
|
56
|
-
/**
|
|
57
|
-
* LimitedStorageAccessor implementation that uses a Delegate
|
|
58
|
-
*/
|
|
59
|
-
export declare class SimpleStorageAccessor<T> implements StorageAccessor<T> {
|
|
60
|
-
static readonly PREFIX_SPLITTER = "::";
|
|
61
|
-
private readonly _delegate;
|
|
62
|
-
protected readonly _config: ConfiguredSimpleStorageAccessorConfig;
|
|
63
|
-
constructor(delegate: SimpleStorageAccessorDelegate<T>, config: SimpleStorageAccessorConfig);
|
|
64
|
-
get delegate(): SimpleStorageAccessorDelegate<T>;
|
|
65
|
-
get config(): ConfiguredSimpleStorageAccessorConfig;
|
|
66
|
-
get(inputKey: string): Observable<T>;
|
|
67
|
-
set(inputKey: string, inputValue: T): Observable<void>;
|
|
68
|
-
remove(key: string): Observable<void>;
|
|
69
|
-
all(): Observable<T[]>;
|
|
70
|
-
allKeys(): Observable<string[]>;
|
|
71
|
-
clear(): Observable<object>;
|
|
72
|
-
protected readStoredData(storedDataString: StoredDataString): ReadStoredData<T>;
|
|
73
|
-
protected buildStoredData(value: T): StoredData;
|
|
74
|
-
protected isExpiredStoredData(storeData: StoredData): boolean;
|
|
75
|
-
protected makeStorageKey(key: string): StoredDataStorageKey;
|
|
76
|
-
protected isKeyOfAccessor(storageKey: StoredDataStorageKey): boolean;
|
|
77
|
-
protected decodeStorageKey(storageKey: StoredDataStorageKey): string;
|
|
78
|
-
protected stringifyValue(value: T): string;
|
|
79
|
-
}
|
|
80
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { StorageAccessor } from './storage.accessor';
|
|
2
|
-
import { SimpleStorageAccessorConfig, SimpleStorageAccessor, SimpleStorageAccessorConverter } from './storage.accessor.simple';
|
|
3
|
-
import { FullStorageObject, StoredDataString } from '@dereekb/util';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export interface StorageAccessorFactoryConfig<T> extends SimpleStorageAccessorConfig {
|
|
6
|
-
storage?: StorageAccessor<StoredDataString>;
|
|
7
|
-
converter?: SimpleStorageAccessorConverter<T>;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Used for building SimpleStorageAccessor instances from SimpleStorageAccessorConfig.
|
|
11
|
-
*/
|
|
12
|
-
export declare class SimpleStorageAccessorFactory {
|
|
13
|
-
readonly storageObject: FullStorageObject;
|
|
14
|
-
createStorageAccessor<T>(config: StorageAccessorFactoryConfig<T>): SimpleStorageAccessor<T>;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleStorageAccessorFactory, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SimpleStorageAccessorFactory>;
|
|
17
|
-
}
|