@dereekb/dbx-core 12.6.21 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/dereekb-dbx-core.mjs +920 -1176
- 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 -72
- 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 -286
- package/esm2022/lib/action/action.store.source.mjs +0 -162
- package/esm2022/lib/action/action.store.source.provide.mjs +0 -41
- package/esm2022/lib/action/directive/auto/action.automodify.directive.mjs +0 -36
- package/esm2022/lib/action/directive/auto/action.autotrigger.directive.mjs +0 -113
- package/esm2022/lib/action/directive/auto/index.mjs +0 -3
- package/esm2022/lib/action/directive/context/action.directive.mjs +0 -30
- 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 -36
- package/esm2022/lib/action/directive/map/action.map.key.directive.mjs +0 -27
- package/esm2022/lib/action/directive/map/action.map.mjs +0 -59
- 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 -35
- package/esm2022/lib/action/directive/map/index.mjs +0 -7
- package/esm2022/lib/action/directive/state/action.disabled.directive.mjs +0 -34
- package/esm2022/lib/action/directive/state/action.disableonsuccess.directive.mjs +0 -35
- package/esm2022/lib/action/directive/state/action.enforce.modified.directive.mjs +0 -37
- package/esm2022/lib/action/directive/state/action.error.handler.directive.mjs +0 -32
- package/esm2022/lib/action/directive/state/action.handler.directive.mjs +0 -59
- 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 -51
- package/esm2022/lib/action/directive/state/action.value.stream.directive.mjs +0 -60
- package/esm2022/lib/action/directive/state/action.value.trigger.directive.mjs +0 -76
- 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 -35
- 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 -120
- package/esm2022/lib/button/button.loading.directive.mjs +0 -36
- 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 -30
- 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 -23
- 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 -24
- 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 -62
- package/esm2022/lib/router/model/model.router.key.directive.mjs +0 -63
- 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 -31
- 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/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/subscription/index.mjs +0 -2
- package/esm2022/lib/subscription/subscription.directive.mjs +0 -38
- 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 -27
- 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 -50
- 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 -10
- package/lib/action/directive/auto/action.automodify.directive.d.ts +0 -13
- package/lib/action/directive/auto/action.autotrigger.directive.d.ts +0 -38
- package/lib/action/directive/auto/index.d.ts +0 -2
- package/lib/action/directive/context/action.directive.d.ts +0 -12
- 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 -13
- 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 -14
- 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 -19
- package/lib/action/directive/map/index.d.ts +0 -6
- package/lib/action/directive/state/action.disabled.directive.d.ts +0 -18
- package/lib/action/directive/state/action.disableonsuccess.directive.d.ts +0 -18
- package/lib/action/directive/state/action.enforce.modified.directive.d.ts +0 -18
- package/lib/action/directive/state/action.error.handler.directive.d.ts +0 -20
- package/lib/action/directive/state/action.handler.directive.d.ts +0 -35
- 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 -16
- package/lib/action/directive/state/action.success.handler.directive.d.ts +0 -20
- package/lib/action/directive/state/action.triggered.directive.d.ts +0 -15
- package/lib/action/directive/state/action.value.directive.d.ts +0 -27
- package/lib/action/directive/state/action.value.stream.directive.d.ts +0 -23
- package/lib/action/directive/state/action.value.trigger.directive.d.ts +0 -39
- 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 -14
- package/lib/button/action/action.button.trigger.directive.d.ts +0 -16
- 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 -62
- 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 -14
- 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 -15
- 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 -12
- 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 -51
- 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 -30
- package/lib/router/model/model.router.key.directive.d.ts +0 -32
- package/lib/router/model/model.router.uid.directive.d.ts +0 -15
- 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 -16
- 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/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/subscription/index.d.ts +0 -1
- package/lib/subscription/subscription.directive.d.ts +0 -25
- 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,18 +0,0 @@
|
|
|
1
|
-
import { ViewContainerRef, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import { DbxInjectionComponentConfig, DbxInjectionTemplateConfig } from './injection';
|
|
4
|
-
import { ObservableOrValueGetter } from '@dereekb/rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Abstract directive that injects content based on the configuration into the view.
|
|
8
|
-
*/
|
|
9
|
-
export declare abstract class AbstractDbxInjectionDirective<T> implements OnInit, OnDestroy {
|
|
10
|
-
private readonly _instance;
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
ngOnDestroy(): void;
|
|
13
|
-
setConfig(config: Maybe<ObservableOrValueGetter<Maybe<DbxInjectionComponentConfig<T>>>>): void;
|
|
14
|
-
setTemplate(template: Maybe<ObservableOrValueGetter<Maybe<DbxInjectionTemplateConfig<T>>>>): void;
|
|
15
|
-
setContent(content: Maybe<ViewContainerRef>): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDbxInjectionDirective<any>, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxInjectionDirective<any>, never, never, {}, {}, never, never, false, never>;
|
|
18
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { type ComponentRef, Injector, type ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { type DbxInjectionComponentConfig, type DbxInjectionTemplateConfig } from './injection';
|
|
3
|
-
import { type Initialized, type Destroyable, type Maybe } from '@dereekb/util';
|
|
4
|
-
import { type MaybeObservableOrValueGetter } from '@dereekb/rxjs';
|
|
5
|
-
/**
|
|
6
|
-
* Instance used by components to inject content based on the configuration into the view.
|
|
7
|
-
*/
|
|
8
|
-
export declare class DbxInjectionInstance<T> implements Initialized, Destroyable {
|
|
9
|
-
private readonly _subscriptionObject;
|
|
10
|
-
private readonly _config;
|
|
11
|
-
private readonly _template;
|
|
12
|
-
private readonly _content;
|
|
13
|
-
private readonly _componentRef;
|
|
14
|
-
private readonly _injector;
|
|
15
|
-
readonly config$: import("rxjs").Observable<Maybe<DbxInjectionComponentConfig<T>>>;
|
|
16
|
-
readonly template$: import("rxjs").Observable<Maybe<DbxInjectionTemplateConfig<T>>>;
|
|
17
|
-
readonly content$: import("rxjs").Observable<ViewContainerRef>;
|
|
18
|
-
get config(): MaybeObservableOrValueGetter<DbxInjectionComponentConfig<T>>;
|
|
19
|
-
set config(config: MaybeObservableOrValueGetter<DbxInjectionComponentConfig<T>>);
|
|
20
|
-
get template(): MaybeObservableOrValueGetter<DbxInjectionTemplateConfig<T>>;
|
|
21
|
-
set template(template: MaybeObservableOrValueGetter<DbxInjectionTemplateConfig<T>>);
|
|
22
|
-
get content(): Maybe<Maybe<ViewContainerRef>>;
|
|
23
|
-
set content(content: Maybe<Maybe<ViewContainerRef>>);
|
|
24
|
-
get componentRef(): Maybe<ComponentRef<T>>;
|
|
25
|
-
set componentRef(componentRef: Maybe<ComponentRef<T>>);
|
|
26
|
-
constructor(injector: Injector);
|
|
27
|
-
init(): void;
|
|
28
|
-
destroy(): void;
|
|
29
|
-
private _initComponent;
|
|
30
|
-
private _initTemplate;
|
|
31
|
-
private _reset;
|
|
32
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type GetterOrValue, type Maybe } from '@dereekb/util';
|
|
2
|
-
import { type DbxInjectionComponentConfig } from './injection';
|
|
3
|
-
import { type Type } from '@angular/core';
|
|
4
|
-
/**
|
|
5
|
-
* Provides a switchMap that passes configuration from the observable, unless the value is null/undefined/true in which case it passes the default configuration.
|
|
6
|
-
*
|
|
7
|
-
* @param defaultConfig
|
|
8
|
-
* @returns
|
|
9
|
-
*/
|
|
10
|
-
export declare function switchMapDbxInjectionComponentConfig<T extends DbxInjectionComponentConfig<X>, X = any>(defaultConfig?: GetterOrValue<Maybe<T | Type<X>>>): import("rxjs").OperatorFunction<Maybe<import("@dereekb/rxjs").ObservableOrValueGetter<Maybe<boolean | T>>>, Maybe<T>>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type StaticProvider } from '@angular/core';
|
|
2
|
-
import { type ArrayOrValue, type Maybe } from '@dereekb/util';
|
|
3
|
-
/**
|
|
4
|
-
* Merges the input providers into a single array.
|
|
5
|
-
*
|
|
6
|
-
* @param providers
|
|
7
|
-
* @returns
|
|
8
|
-
*/
|
|
9
|
-
export declare function mergeStaticProviders(...providers: Maybe<ArrayOrValue<StaticProvider>>[]): StaticProvider[];
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type AbstractType, Injector, type Provider, type Type } from '@angular/core';
|
|
2
|
-
export type InjectableType<T> = (Type<T> | AbstractType<T>) & Provider;
|
|
3
|
-
/**
|
|
4
|
-
* Creates a new instance of the injectable type with the input injector.
|
|
5
|
-
*
|
|
6
|
-
* @param type
|
|
7
|
-
* @param parent
|
|
8
|
-
* @returns
|
|
9
|
-
*/
|
|
10
|
-
export declare function newWithInjector<T>(type: InjectableType<T>, parent: Injector): T;
|
package/lib/ngrx/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './store.lockset';
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { ComponentStore } from '@ngrx/component-store';
|
|
3
|
-
import { OnDestroy } from '@angular/core';
|
|
4
|
-
import { LockSet, ObservableOrValue } from '@dereekb/rxjs';
|
|
5
|
-
import { type Maybe } from '@dereekb/util';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export interface LockSetComponent {
|
|
8
|
-
readonly lockSet: LockSet;
|
|
9
|
-
}
|
|
10
|
-
export interface LockSetComponentStoreConfig {
|
|
11
|
-
parent?: Maybe<Observable<LockSetComponent>>;
|
|
12
|
-
locks?: {
|
|
13
|
-
[key: string]: Observable<boolean>;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Abstract ComponentStore extension that provides a LockSet and OnDestroy delaying/cleanup.
|
|
18
|
-
*/
|
|
19
|
-
export declare abstract class LockSetComponentStore<S extends object> extends ComponentStore<S> implements OnDestroy {
|
|
20
|
-
protected readonly initialState?: S | undefined;
|
|
21
|
-
readonly lockSet: LockSet;
|
|
22
|
-
protected lockSetDestroyDelayMs: number;
|
|
23
|
-
protected lockSetDestroyTimeoutMs: Maybe<number>;
|
|
24
|
-
protected constructor(initialState?: S | undefined);
|
|
25
|
-
readonly resetStore: () => void;
|
|
26
|
-
protected setupLockSet({ parent, locks }: LockSetComponentStoreConfig): void;
|
|
27
|
-
setParentLockSet(obs: ObservableOrValue<Maybe<LockSetComponent>>): void;
|
|
28
|
-
addLock(key: string, obs: Observable<boolean>): void;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
/**
|
|
31
|
-
* Completes the cleanup of the object.
|
|
32
|
-
*/
|
|
33
|
-
_destroyNow(): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LockSetComponentStore<any>, [{ optional: true; }]>;
|
|
35
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LockSetComponentStore<any>>;
|
|
36
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { ObservableOrValueGetter } from '@dereekb/rxjs';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Pipes an ObservableOrValueGetter to an Observable value.
|
|
7
|
-
*/
|
|
8
|
-
export declare class AsObservablePipe implements PipeTransform {
|
|
9
|
-
transform<T>(input: ObservableOrValueGetter<T>): Observable<T>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AsObservablePipe, never>;
|
|
11
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<AsObservablePipe, "asObservable", true>;
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./asobservable.pipe";
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated use AsObservablePipe directly.
|
|
5
|
-
*/
|
|
6
|
-
export declare class DbxAsyncPipeModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxAsyncPipeModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxAsyncPipeModule, never, [typeof i1.AsObservablePipe], [typeof i1.AsObservablePipe]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DbxAsyncPipeModule>;
|
|
10
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./datedistance.pipe";
|
|
3
|
-
import * as i2 from "./daterangedistance.pipe";
|
|
4
|
-
import * as i3 from "./targetdatetosystemdate.pipe";
|
|
5
|
-
import * as i4 from "./systemdatetotargetdate.pipe";
|
|
6
|
-
import * as i5 from "./timezoneabbreviation.pipe";
|
|
7
|
-
import * as i6 from "./datefromtoformat.pipe";
|
|
8
|
-
import * as i7 from "./datedayrange.pipe";
|
|
9
|
-
import * as i8 from "./datedaytimerange.pipe";
|
|
10
|
-
import * as i9 from "./datetimerangeonly.pipe";
|
|
11
|
-
import * as i10 from "./datetimerange.pipe";
|
|
12
|
-
import * as i11 from "./datetimerangeonlydistance.pipe";
|
|
13
|
-
import * as i12 from "./dateformatdistance.pipe";
|
|
14
|
-
import * as i13 from "./minutesstring.pipe";
|
|
15
|
-
import * as i14 from "./timedistance.pipe";
|
|
16
|
-
import * as i15 from "./tojsdate.pipe";
|
|
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
|
-
*/
|
|
39
|
-
export declare class DbxDatePipeModule {
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxDatePipeModule, never>;
|
|
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]>;
|
|
42
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DbxDatePipeModule>;
|
|
43
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import { DateRange } from '@dereekb/date';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DateDayRangePipe implements PipeTransform {
|
|
6
|
-
transform(input: Maybe<DateRange>, unavailable?: string): string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateDayRangePipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateDayRangePipe, "dateDayRange", true>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import { DateRange } from '@dereekb/date';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DateDayTimeRangePipe implements PipeTransform {
|
|
6
|
-
transform(input: Maybe<DateRange>, unavailable?: string): string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateDayTimeRangePipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateDayTimeRangePipe, "dateDayTimeRange", true>;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { DateOrDateString, type Maybe } from '@dereekb/util';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DateDistancePipe implements PipeTransform {
|
|
5
|
-
transform(input: Maybe<DateOrDateString>, inputTo?: Maybe<Date>, unavailable?: string): string;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateDistancePipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateDistancePipe, "dateDistance", true>;
|
|
8
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { DateOrDateString, type Maybe } from '@dereekb/util';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Pipe that takes in a date and appends the distance to it in parenthesis.
|
|
6
|
-
*/
|
|
7
|
-
export declare class DateFormatDistancePipe implements PipeTransform {
|
|
8
|
-
private readonly locale;
|
|
9
|
-
transform(input: Maybe<DateOrDateString>, format: string, includeSeconds?: boolean): Maybe<string>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatDistancePipe, never>;
|
|
11
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateFormatDistancePipe, "dateFormatDistance", true>;
|
|
12
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { Maybe, DateOrDateString } from '@dereekb/util';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Pipe that takes in a date and number of minutes and outputs a formatted date.
|
|
6
|
-
*/
|
|
7
|
-
export declare class DateFromToTimePipe implements PipeTransform {
|
|
8
|
-
private readonly locale;
|
|
9
|
-
static formatFromTo(input: Maybe<DateOrDateString>, format: string, minutes: number, locale: string): Maybe<string>;
|
|
10
|
-
transform(input: Maybe<DateOrDateString>, format: string, minutes: number): Maybe<string>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateFromToTimePipe, never>;
|
|
12
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateFromToTimePipe, "dateFromPlusTo", true>;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import { DateRange } from '@dereekb/date';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DateRangeDistancePipe implements PipeTransform {
|
|
6
|
-
transform(input: Maybe<Date | DateRange>, unavailable?: string): string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeDistancePipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateRangeDistancePipe, "dateRangeDistance", true>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import { DateRange } from '@dereekb/date';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DateTimeRangePipe implements PipeTransform {
|
|
6
|
-
transform(input: Maybe<DateRange>, unavailable?: string): string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeRangePipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateTimeRangePipe, "dateTimeRange", true>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import { DateRange } from '@dereekb/date';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DateTimeRangeOnlyPipe implements PipeTransform {
|
|
6
|
-
transform(input: Maybe<DateRange>, unavailable?: string): string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeRangeOnlyPipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateTimeRangeOnlyPipe, "dateTimeRangeOnly", true>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import { DateRange, FormatDateRangeDistanceFunctionConfig } from '@dereekb/date';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DateTimeRangeOnlyDistancePipe implements PipeTransform {
|
|
6
|
-
transform(input: Maybe<DateRange>, config?: FormatDateRangeDistanceFunctionConfig, unavailable?: string): string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeRangeOnlyDistancePipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateTimeRangeOnlyDistancePipe, "dateTimeRangeOnlyDistance", true>;
|
|
9
|
-
}
|
package/lib/pipe/date/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export * from './date.pipe.module';
|
|
2
|
-
export * from './datedayrange.pipe';
|
|
3
|
-
export * from './datedistance.pipe';
|
|
4
|
-
export * from './dateformatdistance.pipe';
|
|
5
|
-
export * from './datefromtoformat.pipe';
|
|
6
|
-
export * from './datedaytimerange.pipe';
|
|
7
|
-
export * from './datetimerange.pipe';
|
|
8
|
-
export * from './daterangedistance.pipe';
|
|
9
|
-
export * from './datetimerangeonly.pipe';
|
|
10
|
-
export * from './targetdatetosystemdate.pipe';
|
|
11
|
-
export * from './datetimerangeonlydistance.pipe';
|
|
12
|
-
export * from './timezoneabbreviation.pipe';
|
|
13
|
-
export * from './systemdatetotargetdate.pipe';
|
|
14
|
-
export * from './minutesstring.pipe';
|
|
15
|
-
export * from './timedistance.pipe';
|
|
16
|
-
export * from './tojsdate.pipe';
|
|
17
|
-
export * from './tominutes.pipe';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MinutesStringPipe implements PipeTransform {
|
|
5
|
-
transform(input: Maybe<number | string>): Maybe<string>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MinutesStringPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<MinutesStringPipe, "minutesString", true>;
|
|
8
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import { TimezoneString } from '@dereekb/date';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Converts the input date and timezone to a target date that represents that date/time for the timezone.
|
|
7
|
-
*/
|
|
8
|
-
export declare class SystemDateToTargetDatePipe implements PipeTransform {
|
|
9
|
-
transform(input: Maybe<Date>, timezone: Maybe<TimezoneString>): Maybe<Date>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SystemDateToTargetDatePipe, never>;
|
|
11
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SystemDateToTargetDatePipe, "systemDateToTargetDate", true>;
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import { TimezoneString } from '@dereekb/date';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Converts the input date and timezone to a system date that represents that date/time.
|
|
7
|
-
*/
|
|
8
|
-
export declare class TargetDateToSystemDatePipe implements PipeTransform {
|
|
9
|
-
transform(input: Maybe<Date>, timezone: Maybe<TimezoneString>): Maybe<Date>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TargetDateToSystemDatePipe, never>;
|
|
11
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TargetDateToSystemDatePipe, "targetDateToSystemDate", true>;
|
|
12
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { Maybe, DateOrDateString } from '@dereekb/util';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TimeDistanceCountdownPipe implements PipeTransform {
|
|
5
|
-
transform(input: Maybe<DateOrDateString>, soonString?: string, unavailable?: string): string;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimeDistanceCountdownPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TimeDistanceCountdownPipe, "timeCountdownDistance", true>;
|
|
8
|
-
}
|
|
9
|
-
export declare class TimeDistancePipe implements PipeTransform {
|
|
10
|
-
transform(input: Maybe<DateOrDateString>, to?: Maybe<Date>, unavailable?: string): string;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimeDistancePipe, never>;
|
|
12
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TimeDistancePipe, "timeDistance", true>;
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import { TimezoneString } from '@dereekb/date';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Converts the input date and timezone to the proper abbreviation. Uses the input date for the context, or uses now.
|
|
7
|
-
*/
|
|
8
|
-
export declare class TimezoneAbbreviationPipe implements PipeTransform {
|
|
9
|
-
transform(timezone: Maybe<TimezoneString>, input?: Maybe<Date>): Maybe<string>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimezoneAbbreviationPipe, never>;
|
|
11
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TimezoneAbbreviationPipe, "timezoneAbbreviation", true>;
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { DateOrDateString, type Maybe } from '@dereekb/util';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ToJsDatePipe implements PipeTransform {
|
|
5
|
-
static toJsDate(input: DateOrDateString): Date;
|
|
6
|
-
static toJsDate(input: Maybe<DateOrDateString>): Maybe<Date>;
|
|
7
|
-
transform(input: Maybe<DateOrDateString>): Maybe<Date>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToJsDatePipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ToJsDatePipe, "toJsDate", true>;
|
|
10
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ToMinutesPipe implements PipeTransform {
|
|
4
|
-
transform(milliseconds: number): number;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToMinutesPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ToMinutesPipe, "toMinutes", true>;
|
|
7
|
-
}
|
package/lib/pipe/index.d.ts
DELETED
package/lib/pipe/misc/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./prettyjson.pipe";
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated import the standalone pipes directly
|
|
5
|
-
*
|
|
6
|
-
* @see PrettyJsonPipe
|
|
7
|
-
*/
|
|
8
|
-
export declare class DbxMiscPipeModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxMiscPipeModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxMiscPipeModule, never, [typeof i1.PrettyJsonPipe], [typeof i1.PrettyJsonPipe]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DbxMiscPipeModule>;
|
|
12
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class PrettyJsonPipe implements PipeTransform {
|
|
5
|
-
static toPrettyJson(input: Maybe<unknown>, spacing?: number): Maybe<string>;
|
|
6
|
-
transform(input: Maybe<unknown>, spacing?: number): Maybe<string>;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PrettyJsonPipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<PrettyJsonPipe, "prettyjson", true>;
|
|
9
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./async/async.pipe.module";
|
|
3
|
-
import * as i2 from "./misc/misc.pipe.module";
|
|
4
|
-
import * as i3 from "./date/date.pipe.module";
|
|
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
|
-
*/
|
|
11
|
-
export declare class DbxPipesModule {
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<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]>;
|
|
14
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DbxPipesModule>;
|
|
15
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Pipe that cuts the input text to the requested length and adds elipsis.
|
|
6
|
-
*/
|
|
7
|
-
export declare class CutTextPipe implements PipeTransform {
|
|
8
|
-
transform(input: Maybe<string>, maxLength: number, endText?: Maybe<string>): Maybe<string>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CutTextPipe, never>;
|
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CutTextPipe, "cutText", true>;
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Pipe that takes in a number and returns the number formatted as a dollar using dollarAmountString().
|
|
6
|
-
*
|
|
7
|
-
* Can provide a default string value to use when the input is null or undefined.
|
|
8
|
-
*/
|
|
9
|
-
export declare class DollarAmountPipe implements PipeTransform {
|
|
10
|
-
transform(input: Maybe<number>, defaultIfNull?: Maybe<string>): Maybe<string>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DollarAmountPipe, never>;
|
|
12
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DollarAmountPipe, "dollarAmount", true>;
|
|
13
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { GetterOrValue } from '@dereekb/util';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Retrieves the value from the getter. This is a non-pure pipe. Use the getValueOncePipe instead for a pure pipe.
|
|
6
|
-
*/
|
|
7
|
-
export declare class GetValuePipe implements PipeTransform {
|
|
8
|
-
transform<T, A = any>(input: GetterOrValue<T>, args?: A): T;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GetValuePipe, never>;
|
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GetValuePipe, "getValue", true>;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Pipes a GetValuePipe to an Observable value.
|
|
14
|
-
*/
|
|
15
|
-
export declare class GetValueOncePipe implements PipeTransform {
|
|
16
|
-
transform<T, A = any>(input: GetterOrValue<T>, args?: A): T;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GetValueOncePipe, never>;
|
|
18
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GetValueOncePipe, "getValueOnce", true>;
|
|
19
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./cuttext.pipe";
|
|
3
|
-
import * as i2 from "./dollar.pipe";
|
|
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
|
-
*/
|
|
13
|
-
export declare class DbxValuePipeModule {
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxValuePipeModule, never>;
|
|
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]>;
|
|
16
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DbxValuePipeModule>;
|
|
17
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { type MousableFunction } from './mousable';
|
|
2
|
-
import { type ClickableFunction, type ClickableUrl } from './clickable';
|
|
3
|
-
import { type SegueRef } from '../segue';
|
|
4
|
-
import { type ExpandTreeFunction, type FlattenTreeFunction, type Maybe, type TreeNode } from '@dereekb/util';
|
|
5
|
-
import { type Type, type Provider } from '@angular/core';
|
|
6
|
-
import { type Observable } from 'rxjs';
|
|
7
|
-
import { type DbxInjectionComponentConfig } from '../../injection/injection';
|
|
8
|
-
export interface ClickableAnchor extends ClickableFunction, MousableFunction, ClickableUrl, Partial<SegueRef> {
|
|
9
|
-
readonly disabled?: boolean;
|
|
10
|
-
readonly selected?: boolean;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Title and an optional icon.
|
|
14
|
-
*/
|
|
15
|
-
export interface IconAndTitle {
|
|
16
|
-
readonly title: string;
|
|
17
|
-
readonly icon?: Maybe<string>;
|
|
18
|
-
}
|
|
19
|
-
export interface ClickableAnchorLink extends ClickableAnchor, IconAndTitle {
|
|
20
|
-
/**
|
|
21
|
-
* Optional detail string/content.
|
|
22
|
-
*/
|
|
23
|
-
readonly hint?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Custom injection content for this link.
|
|
26
|
-
*/
|
|
27
|
-
readonly content?: DbxInjectionComponentConfig;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* ClickableAnchorLink that definitely has a SegueRef
|
|
31
|
-
*/
|
|
32
|
-
export type ClickableAnchorLinkSegueRef = ClickableAnchorLink & SegueRef;
|
|
33
|
-
export interface ClickableIconAnchorLink extends Omit<ClickableAnchorLink, 'title'> {
|
|
34
|
-
readonly icon: string;
|
|
35
|
-
}
|
|
36
|
-
export interface ClickableAnchorLinkTree extends ClickableAnchorLink {
|
|
37
|
-
readonly children?: ClickableAnchorLinkTree[];
|
|
38
|
-
}
|
|
39
|
-
export type ExpandedClickableAnchorLinkTree = TreeNode<ClickableAnchorLinkTree>;
|
|
40
|
-
export declare const expandClickableAnchorLinkTreeNode: ExpandTreeFunction<ClickableAnchorLinkTree, ExpandedClickableAnchorLinkTree>;
|
|
41
|
-
export declare const flattenExpandedClickableAnchorLinkTree: FlattenTreeFunction<ExpandedClickableAnchorLinkTree, ExpandedClickableAnchorLinkTree>;
|
|
42
|
-
export declare const flattenExpandedClickableAnchorLinkTreeToLinks: FlattenTreeFunction<ExpandedClickableAnchorLinkTree, ClickableAnchorLinkTree>;
|
|
43
|
-
/**
|
|
44
|
-
* Fully expands the given parent link and flattens the tree to a single parent link.
|
|
45
|
-
*
|
|
46
|
-
* @param link
|
|
47
|
-
* @returns
|
|
48
|
-
*/
|
|
49
|
-
export declare function expandClickableAnchorLinkTree(link: ClickableAnchorLinkTree): ExpandedClickableAnchorLinkTree[];
|
|
50
|
-
/**
|
|
51
|
-
* Expands an array of links into an array of ExpandedClickableAnchorLinkTree tree values.
|
|
52
|
-
*/
|
|
53
|
-
export declare const expandClickableAnchorLinkTrees: import("@dereekb/util").ExpandFlattenTreeFunction<ClickableAnchorLinkTree, ExpandedClickableAnchorLinkTree>;
|
|
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;
|
|
65
|
-
export declare abstract class DbxAnchor<T extends ClickableAnchor = ClickableAnchor> {
|
|
66
|
-
abstract readonly disabled$: Observable<Maybe<boolean>>;
|
|
67
|
-
abstract readonly selected$: Observable<Maybe<boolean>>;
|
|
68
|
-
abstract readonly anchor$: Observable<Maybe<T>>;
|
|
69
|
-
abstract readonly type$: Observable<ClickableAnchorType>;
|
|
70
|
-
}
|
|
71
|
-
export declare function provideDbxAnchor<S extends DbxAnchor>(sourceType: Type<S>): Provider[];
|