@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,77 +0,0 @@
|
|
|
1
|
-
import { type Observable, type Subscription } from 'rxjs';
|
|
2
|
-
import { LockSet, type LoadingState, type LoadingStateType, type MaybeObservableOrValue } from '@dereekb/rxjs';
|
|
3
|
-
import { type Destroyable, type Maybe, type ReadableError } from '@dereekb/util';
|
|
4
|
-
import { type ActionContextState, type ActionContextStore } from './action.store';
|
|
5
|
-
import { type DbxActionDisabledKey, type DbxActionRejectedPair, type DbxActionState, type DbxActionSuccessPair, type DbxActionWorkOrWorkProgress, type DbxActionWorkProgress } from './action';
|
|
6
|
-
/**
|
|
7
|
-
* Source that provides a ActionContextStore observable.
|
|
8
|
-
*/
|
|
9
|
-
export declare abstract class ActionContextStoreSource<T = unknown, O = unknown> {
|
|
10
|
-
/**
|
|
11
|
-
* Observable referencing the ActionContextStore.
|
|
12
|
-
*
|
|
13
|
-
* This observable by design is pre-filtered to not return null values.
|
|
14
|
-
*/
|
|
15
|
-
abstract readonly store$: Observable<ActionContextStore<T, O>>;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Secondary source. Used by DbxActionContextComponent to find secondary sources.
|
|
19
|
-
*/
|
|
20
|
-
export declare abstract class SecondaryActionContextStoreSource<T = unknown, O = unknown> extends ActionContextStoreSource<T, O> {
|
|
21
|
-
}
|
|
22
|
-
export declare function actionContextStoreSourcePipe<T, O>(obs: Observable<Maybe<ActionContextStore<T, O>>>): Observable<ActionContextStore<T, O>>;
|
|
23
|
-
export type PipeActionStoreFunction<R, T, O> = (store: ActionContextStore<T, O>) => Observable<R>;
|
|
24
|
-
export declare function pipeActionStore<R = unknown, T = unknown, O = unknown>(source: ActionContextStoreSource<T, O>, pipeFn: PipeActionStoreFunction<R, T, O>): Observable<R>;
|
|
25
|
-
export type UseActionStoreFunction<T, O> = (store: ActionContextStore<T, O>) => void;
|
|
26
|
-
/**
|
|
27
|
-
* Convenience function for subscribing to the input source once and using the provided store.
|
|
28
|
-
*/
|
|
29
|
-
export declare function useActionStore<T = unknown, O = unknown>(source: ActionContextStoreSource<T, O>, useFn: UseActionStoreFunction<T, O>): Subscription;
|
|
30
|
-
/**
|
|
31
|
-
* Service that wraps a ActionContextStoreSource.
|
|
32
|
-
*/
|
|
33
|
-
export declare class DbxActionContextStoreSourceInstance<T = unknown, O = unknown> implements ActionContextStoreSource<T, O>, Destroyable {
|
|
34
|
-
readonly lockSet: LockSet;
|
|
35
|
-
private readonly _source;
|
|
36
|
-
constructor(source: ActionContextStoreSource<T, O>);
|
|
37
|
-
get source(): ActionContextStoreSource<T, O>;
|
|
38
|
-
destroy(): void;
|
|
39
|
-
get store$(): Observable<ActionContextStore<T, O>>;
|
|
40
|
-
pipeStore<R>(pipeFn: PipeActionStoreFunction<R, T, O>): Observable<R>;
|
|
41
|
-
useStore(useFn: UseActionStoreFunction<T, O>): Subscription;
|
|
42
|
-
get state$(): Observable<ActionContextState<T, O>>;
|
|
43
|
-
get idle$(): Observable<boolean>;
|
|
44
|
-
get triggered$(): Observable<boolean>;
|
|
45
|
-
get valueReady$(): Observable<T>;
|
|
46
|
-
get success$(): Observable<Maybe<O>>;
|
|
47
|
-
get successPair$(): Observable<DbxActionSuccessPair<T, O>>;
|
|
48
|
-
get workProgress$(): Observable<Maybe<DbxActionWorkProgress>>;
|
|
49
|
-
get error$(): Observable<Maybe<ReadableError>>;
|
|
50
|
-
get rejected$(): Observable<Maybe<ReadableError>>;
|
|
51
|
-
get rejectedPair$(): Observable<DbxActionRejectedPair<T>>;
|
|
52
|
-
get isModified$(): Observable<boolean>;
|
|
53
|
-
get canTrigger$(): Observable<boolean>;
|
|
54
|
-
get isModifiedAndCanTriggerUpdates$(): Observable<boolean>;
|
|
55
|
-
get isModifiedAndCanTrigger$(): Observable<boolean>;
|
|
56
|
-
get actionState$(): Observable<DbxActionState>;
|
|
57
|
-
get loadingState$(): Observable<LoadingState<O>>;
|
|
58
|
-
get loadingStateType$(): Observable<LoadingStateType>;
|
|
59
|
-
get isWorking$(): Observable<boolean>;
|
|
60
|
-
get isWorkingOrWorkProgress$(): Observable<DbxActionWorkOrWorkProgress>;
|
|
61
|
-
get isSuccess$(): Observable<boolean>;
|
|
62
|
-
get disabledKeys$(): Observable<string[]>;
|
|
63
|
-
get isDisabled$(): Observable<boolean>;
|
|
64
|
-
get errorCountSinceLastSuccess$(): Observable<number>;
|
|
65
|
-
enable(key?: DbxActionDisabledKey, enable?: boolean): void;
|
|
66
|
-
disable(key?: DbxActionDisabledKey, disable?: boolean): void;
|
|
67
|
-
setIsSame(isSame?: boolean | Observable<boolean> | Observable<void>): void;
|
|
68
|
-
setIsModified(isModified?: boolean | Observable<boolean> | Observable<void>): void;
|
|
69
|
-
setWorkProgress(workProgress: MaybeObservableOrValue<DbxActionWorkProgress>): void;
|
|
70
|
-
trigger(): void;
|
|
71
|
-
triggerWithValue(value: T | Observable<T>): void;
|
|
72
|
-
readyValue(value: T | Observable<T>): void;
|
|
73
|
-
startWorking(): void;
|
|
74
|
-
reject(error: Maybe<ReadableError | Observable<ReadableError>>): void;
|
|
75
|
-
resolve(value: O | Observable<O>): void;
|
|
76
|
-
reset(): void;
|
|
77
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type Provider, type Type } from '@angular/core';
|
|
2
|
-
import { ActionContextStoreSource, DbxActionContextStoreSourceInstance, SecondaryActionContextStoreSource } from './action.store.source';
|
|
3
|
-
import { DbxActionContextMachineAsService } from './action.machine';
|
|
4
|
-
export declare const actionContextStoreSourceInstanceFactory: (source: ActionContextStoreSource) => DbxActionContextStoreSourceInstance<unknown, unknown>;
|
|
5
|
-
export declare const actionContextStoreSourceMachineFactory: () => DbxActionContextMachineAsService<unknown, unknown>;
|
|
6
|
-
/**
|
|
7
|
-
* Provides an ActionContextStoreSource, as well as an DbxActionContextStoreSourceInstance.
|
|
8
|
-
*/
|
|
9
|
-
export declare function provideActionStoreSource<S extends ActionContextStoreSource>(sourceType: Type<S> | null): Provider[];
|
|
10
|
-
export declare function provideSecondaryActionStoreSource<S extends SecondaryActionContextStoreSource>(sourceType: Type<S>): Provider[];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { AbstractSubscriptionDirective } from '../../../subscription';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class DbxActionAutoModifyDirective<T, O> extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
|
|
7
|
-
readonly source: DbxActionContextStoreSourceInstance<T, O>;
|
|
8
|
-
readonly autoModifyEnabled: import("@angular/core").InputSignalWithTransform<boolean, string | boolean>;
|
|
9
|
-
readonly markAsModified$: Observable<void>;
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionAutoModifyDirective<any, any>, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionAutoModifyDirective<any, any>, "dbxActionAutoModify, [dbxActionAutoModify]", never, { "autoModifyEnabled": { "alias": "dbxActionAutoModify"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { OnInit, OnDestroy, Signal } from '@angular/core';
|
|
2
|
-
import { AbstractSubscriptionDirective } from '../../../subscription';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
|
|
5
|
-
import { type Maybe } from '@dereekb/util';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Directive that automatically triggers the action periodically when it is in a modified state.
|
|
9
|
-
*
|
|
10
|
-
* When using auto triggers be sure to make sure that the action is not triggering too often due to misconfiguration.
|
|
11
|
-
*/
|
|
12
|
-
export declare class DbxActionAutoTriggerDirective<T = unknown, O = unknown> extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
|
|
13
|
-
readonly source: DbxActionContextStoreSourceInstance<T, O>;
|
|
14
|
-
readonly triggerDebounce: import("@angular/core").InputSignal<Maybe<number>>;
|
|
15
|
-
readonly triggerThrottle: import("@angular/core").InputSignal<Maybe<number>>;
|
|
16
|
-
readonly triggerErrorThrottle: import("@angular/core").InputSignalWithTransform<number, Maybe<number>>;
|
|
17
|
-
readonly maxErrorsForThrottle: import("@angular/core").InputSignalWithTransform<number, Maybe<number>>;
|
|
18
|
-
readonly triggerLimit: import("@angular/core").InputSignal<Maybe<number>>;
|
|
19
|
-
readonly triggerEnabled: import("@angular/core").InputSignalWithTransform<boolean, Maybe<string | boolean>>;
|
|
20
|
-
readonly useFastTriggerPreset: import("@angular/core").InputSignalWithTransform<boolean, Maybe<boolean | "">>;
|
|
21
|
-
readonly useInstantTriggerPreset: import("@angular/core").InputSignalWithTransform<boolean, Maybe<boolean | "">>;
|
|
22
|
-
readonly triggerDebounceSignal: Signal<number>;
|
|
23
|
-
readonly triggerThrottleSignal: Signal<number>;
|
|
24
|
-
readonly triggerCountSignal: import("@angular/core").WritableSignal<number>;
|
|
25
|
-
readonly _errorCount$: Observable<number>;
|
|
26
|
-
readonly _triggerCount$: Observable<number>;
|
|
27
|
-
/**
|
|
28
|
-
* Observable for the trigger mechanism.
|
|
29
|
-
*/
|
|
30
|
-
readonly triggerCount$: Observable<number>;
|
|
31
|
-
private readonly _isTriggerLimited$;
|
|
32
|
-
readonly isTriggerAllowedToRun$: Observable<boolean>;
|
|
33
|
-
readonly automaticTrigger$: Observable<void>;
|
|
34
|
-
ngOnInit(): void;
|
|
35
|
-
ngOnDestroy(): void;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionAutoTriggerDirective<any, any>, never>;
|
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionAutoTriggerDirective<any, any>, "dbxActionAutoTrigger,[dbxActionAutoTrigger]", never, { "triggerDebounce": { "alias": "triggerDebounce"; "required": false; "isSignal": true; }; "triggerThrottle": { "alias": "triggerThrottle"; "required": false; "isSignal": true; }; "triggerErrorThrottle": { "alias": "triggerErrorThrottle"; "required": false; "isSignal": true; }; "maxErrorsForThrottle": { "alias": "maxErrorsForThrottle"; "required": false; "isSignal": true; }; "triggerLimit": { "alias": "triggerLimit"; "required": false; "isSignal": true; }; "triggerEnabled": { "alias": "dbxActionAutoTrigger"; "required": false; "isSignal": true; }; "useFastTriggerPreset": { "alias": "useFastTriggerPreset"; "required": false; "isSignal": true; }; "useInstantTriggerPreset": { "alias": "useInstantTriggerPreset"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
38
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { DbxActionContextBaseSource } from '../../action.holder';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Provides an DbxActionContext.
|
|
6
|
-
*/
|
|
7
|
-
export declare class DbxActionDirective<T = unknown, O = unknown> extends DbxActionContextBaseSource<T, O> implements OnDestroy {
|
|
8
|
-
constructor();
|
|
9
|
-
ngOnDestroy(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionDirective<any, any>, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionDirective<any, any>, "dbx-action,[dbxAction],dbx-action-context,[dbxActionContext]", ["action", "dbxAction"], {}, {}, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type Maybe } from '@dereekb/util';
|
|
2
|
-
import { SecondaryActionContextStoreSource, ActionContextStoreSource } from '../../action.store.source';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Directive that provides a DbxActionSourceDirective that is passed in.
|
|
6
|
-
*/
|
|
7
|
-
export declare class DbxActionSourceDirective implements SecondaryActionContextStoreSource {
|
|
8
|
-
readonly dbxActionSource: import("@angular/core").InputSignal<Maybe<ActionContextStoreSource<unknown, unknown>>>;
|
|
9
|
-
readonly store$: import("rxjs").Observable<import("@dereekb/dbx-core").ActionContextStore<unknown, unknown>>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionSourceDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionSourceDirective, "[dbxActionSource]", never, { "dbxActionSource": { "alias": "dbxActionSource"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { AbstractSubscriptionDirective } from '../../../subscription';
|
|
3
|
-
import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Prints out the current state to the console. Useful for debugging.
|
|
7
|
-
*/
|
|
8
|
-
export declare class DbxActionContextLoggerDirective extends AbstractSubscriptionDirective implements OnInit {
|
|
9
|
-
readonly source: DbxActionContextStoreSourceInstance<any, any>;
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionContextLoggerDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionContextLoggerDirective, "[dbxActionLogger],[dbxActionContextLogger]", never, {}, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './action.logger.directive';
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { type Observable } from 'rxjs';
|
|
2
|
-
import { type ActionContextStoreSource } from '../../action.store.source';
|
|
3
|
-
import { type Destroyable } from '@dereekb/util';
|
|
4
|
-
/**
|
|
5
|
-
* Arbitrary string used to identify an action.
|
|
6
|
-
*/
|
|
7
|
-
export type ActionKey = string;
|
|
8
|
-
/**
|
|
9
|
-
* Map that returns sources for ActionKey values.
|
|
10
|
-
*/
|
|
11
|
-
export declare abstract class ActionContextStoreSourceMap<T = unknown, O = unknown> implements Destroyable {
|
|
12
|
-
/**
|
|
13
|
-
* Returns the read-only map of action keys to sources.
|
|
14
|
-
*/
|
|
15
|
-
abstract readonly actionKeySourceMap$: Observable<Map<ActionKey, ActionContextStoreSource<T, O>>>;
|
|
16
|
-
/**
|
|
17
|
-
* Returns a ActionContextStoreSource for the input action key.
|
|
18
|
-
*
|
|
19
|
-
* @param key Action key to retrieve the source for.
|
|
20
|
-
*/
|
|
21
|
-
abstract sourceForKey(key: ActionKey): ActionContextStoreSource<T, O>;
|
|
22
|
-
/**
|
|
23
|
-
* Adds the store source for the input key.
|
|
24
|
-
* @param key Action key to add the source for.
|
|
25
|
-
* @param source Store source to add.
|
|
26
|
-
*/
|
|
27
|
-
abstract addStoreSource(key: ActionKey, source: ActionContextStoreSource<T, O>): void;
|
|
28
|
-
/**
|
|
29
|
-
* Removes the store source for the input key.
|
|
30
|
-
* @param key Action key to remove the source for.
|
|
31
|
-
*/
|
|
32
|
-
abstract removeStoreSource(key: ActionKey): void;
|
|
33
|
-
/**
|
|
34
|
-
* Destroys the map.
|
|
35
|
-
*/
|
|
36
|
-
abstract destroy(): void;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Creates a new ActionContextStoreSourceMap.
|
|
40
|
-
*
|
|
41
|
-
* @returns A new ActionContextStoreSourceMap.
|
|
42
|
-
*/
|
|
43
|
-
export declare function actionContextStoreSourceMap<T = unknown, O = unknown>(): ActionContextStoreSourceMap<T, O>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { ActionContextStoreSourceMap } from './action.map';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Context used for providing actions based on the action key.
|
|
6
|
-
*
|
|
7
|
-
* This is useful for passing action contexts around via the providers instead of explicit injection.
|
|
8
|
-
*/
|
|
9
|
-
export declare class DbxActionContextMapDirective implements OnDestroy {
|
|
10
|
-
readonly actionContextStoreSourceMap: ActionContextStoreSourceMap<any, any>;
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionContextMapDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionContextMapDirective, "[dbxActionContextMap]", ["actionMap"], {}, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type Maybe } from '@dereekb/util';
|
|
2
|
-
import { SecondaryActionContextStoreSource } from '../../action.store.source';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Directive that provides a ActionContextStoreSource using the input key and DbxActionContextMapDirective.
|
|
6
|
-
*/
|
|
7
|
-
export declare class DbxActionFromMapDirective implements SecondaryActionContextStoreSource {
|
|
8
|
-
private readonly _actionContextStoreSourceMap;
|
|
9
|
-
readonly key: import("@angular/core").InputSignal<Maybe<string>>;
|
|
10
|
-
readonly key$: import("rxjs").Observable<Maybe<string>>;
|
|
11
|
-
readonly store$: import("rxjs").Observable<import("@dereekb/dbx-core").ActionContextStore<any, any>>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionFromMapDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionFromMapDirective, "[dbxActionFromMap]", never, { "key": { "alias": "dbxActionFromMap"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import { ActionContextStoreSource } from '../../action.store.source';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Used to communicate with an dbxActionMap and set the ActionContextStore to the store based on the key.
|
|
7
|
-
*/
|
|
8
|
-
export declare class DbxActionMapSourceDirective implements OnDestroy {
|
|
9
|
-
private readonly _actionContextStoreSourceMap;
|
|
10
|
-
readonly source: ActionContextStoreSource<any, any>;
|
|
11
|
-
readonly key: import("@angular/core").InputSignal<Maybe<string>>;
|
|
12
|
-
private _currentKey;
|
|
13
|
-
protected readonly _keyEffect: import("@angular/core").EffectRef;
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
private _addToStore;
|
|
16
|
-
private _removeFromToStore;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionMapSourceDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionMapSourceDirective, "[dbxActionMapSource]", never, { "key": { "alias": "dbxActionMapSource"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { type IsCheckFunction, type ObservableOrValue } from '@dereekb/rxjs';
|
|
2
|
-
import { type Observable } from 'rxjs';
|
|
3
|
-
import { type ActionContextStore } from '../../action.store';
|
|
4
|
-
import { type ActionContextStoreSourceMap, type ActionKey } from './action.map';
|
|
5
|
-
import { type ActionContextStoreSource } from '../../action.store.source';
|
|
6
|
-
/**
|
|
7
|
-
* Utility interface that provides a set of functions to read from an ActionContextStoreSourceMap.
|
|
8
|
-
*/
|
|
9
|
-
export interface ActionContextStoreSourceMapReader<T = unknown, O = unknown> {
|
|
10
|
-
/**
|
|
11
|
-
* The input key source map.
|
|
12
|
-
*/
|
|
13
|
-
readonly actionKeySourceMap$: Observable<Map<ActionKey, ActionContextStoreSource<T, O>>>;
|
|
14
|
-
/**
|
|
15
|
-
* Checks if any of the stores in the map match the input checkFunction.
|
|
16
|
-
*
|
|
17
|
-
* @param checkFunction Function to apply to each store.
|
|
18
|
-
* @param emptyArrayValue Value to return if the map is empty.
|
|
19
|
-
*/
|
|
20
|
-
checkAny(checkFunction: IsCheckFunction<ActionContextStore<T, O>>, emptyArrayValue?: boolean): Observable<boolean>;
|
|
21
|
-
/**
|
|
22
|
-
* Reduces a value from all stores in the map.
|
|
23
|
-
*
|
|
24
|
-
* @param mapFn Function to apply to each store.
|
|
25
|
-
* @param reduceFn Function to apply to the results of the mapFn.
|
|
26
|
-
*/
|
|
27
|
-
reduceFromAllSources<X, Y>(mapFn: (input: ActionContextStore<T, O>) => Observable<X>, reduceFn: (values: X[]) => Y): Observable<Y>;
|
|
28
|
-
/**
|
|
29
|
-
* Reads a value from each store in the map and returns an array of the results.
|
|
30
|
-
*
|
|
31
|
-
* @param mapFn Function to apply to each store.
|
|
32
|
-
*/
|
|
33
|
-
fromAllSources<Y>(mapFn: (input: ActionContextStore<T, O>) => Observable<Y>): Observable<Y[]>;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Creates a new ActionContextStoreSourceMapReader from the input.
|
|
37
|
-
|
|
38
|
-
* @param actionKeySourceMap$
|
|
39
|
-
*/
|
|
40
|
-
export declare function actionContextStoreSourceMapReader<T = unknown, O = unknown>(actionKeySourceMap$: ObservableOrValue<Map<ActionKey, ActionContextStoreSource<T, O>>>): ActionContextStoreSourceMapReader<T, O>;
|
|
41
|
-
/**
|
|
42
|
-
* Returns an Observable of the results of the mapFn for each source in the actionKeySourceMap$.
|
|
43
|
-
*
|
|
44
|
-
* @param actionKeySourceMap$ Observable of the action key source map.
|
|
45
|
-
* @param mapFn Function to apply to each source.
|
|
46
|
-
* @returns Observable of the results of the mapFn for each source.
|
|
47
|
-
*/
|
|
48
|
-
export declare function fromAllActionContextStoreSourceMapSources<O>(actionKeySourceMap$: ObservableOrValue<ActionContextStoreSourceMap>, mapFn: (input: ActionContextStore) => Observable<O>): Observable<O[]>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import { AbstractSubscriptionDirective } from '../../../subscription';
|
|
4
|
-
import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare const DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY = "action_map_working_disable";
|
|
7
|
-
/**
|
|
8
|
-
* Used to communicate with an dbxActionMap and set the ActionContextStore to be disabled if any other element in the map is working.
|
|
9
|
-
*/
|
|
10
|
-
export declare class DbxActionMapWorkingDisableDirective extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
|
|
11
|
-
private readonly _actionContextStoreSourceMap;
|
|
12
|
-
readonly source: DbxActionContextStoreSourceInstance<any, any>;
|
|
13
|
-
readonly disabledKey: import("@angular/core").InputSignal<Maybe<string>>;
|
|
14
|
-
readonly areAnySourcesWorking$: import("rxjs").Observable<boolean>;
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
ngOnDestroy(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionMapWorkingDisableDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionMapWorkingDisableDirective, "[dbxActionMapWorkingDisable]", never, { "disabledKey": { "alias": "dbxActionMapWorkingDisable"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import { AbstractSubscriptionDirective } from '../../../subscription';
|
|
4
|
-
import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare const APP_ACTION_DISABLED_DIRECTIVE_KEY = "dbx_action_disabled";
|
|
7
|
-
/**
|
|
8
|
-
* Directive that allows disabling an action using the inputs.
|
|
9
|
-
*/
|
|
10
|
-
export declare class DbxActionDisabledDirective<T, O> extends AbstractSubscriptionDirective implements OnDestroy {
|
|
11
|
-
readonly source: DbxActionContextStoreSourceInstance<T, O>;
|
|
12
|
-
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, Maybe<boolean | "">>;
|
|
13
|
-
readonly disabled$: import("rxjs").Observable<boolean>;
|
|
14
|
-
constructor();
|
|
15
|
-
ngOnDestroy(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionDisabledDirective<any, any>, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionDisabledDirective<any, any>, "[dbxActionDisabled]", never, { "disabled": { "alias": "dbxActionDisabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import { AbstractSubscriptionDirective } from '../../../subscription';
|
|
4
|
-
import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare const APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY = "dbx_action_disabled_on_success";
|
|
7
|
-
/**
|
|
8
|
-
* Directive that will disable the action after the action completes successfully.
|
|
9
|
-
*/
|
|
10
|
-
export declare class DbxActionDisabledOnSuccessDirective<T, O> extends AbstractSubscriptionDirective implements OnDestroy {
|
|
11
|
-
readonly source: DbxActionContextStoreSourceInstance<T, O>;
|
|
12
|
-
readonly disabledOnSuccess: import("@angular/core").InputSignalWithTransform<boolean, Maybe<boolean | "">>;
|
|
13
|
-
readonly disabledOnSuccess$: import("rxjs").Observable<boolean>;
|
|
14
|
-
constructor();
|
|
15
|
-
ngOnDestroy(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionDisabledOnSuccessDirective<any, any>, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionDisabledOnSuccessDirective<any, any>, "[dbxActionDisabledOnSuccess]", never, { "disabledOnSuccess": { "alias": "dbxActionDisabledOnSuccess"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import { AbstractSubscriptionDirective } from '../../../subscription';
|
|
4
|
-
import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare const APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY = "dbx_action_enforce_modified";
|
|
7
|
-
/**
|
|
8
|
-
* Directive that toggles disabling an action if the action is not marked modified.
|
|
9
|
-
*/
|
|
10
|
-
export declare class DbxActionEnforceModifiedDirective extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
|
|
11
|
-
readonly source: DbxActionContextStoreSourceInstance<any, any>;
|
|
12
|
-
readonly enabled: import("@angular/core").InputSignalWithTransform<boolean, Maybe<boolean | "">>;
|
|
13
|
-
readonly enabled$: import("rxjs").Observable<boolean>;
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
ngOnDestroy(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionEnforceModifiedDirective, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionEnforceModifiedDirective, "[dbxActionEnforceModified]", never, { "enabled": { "alias": "dbxActionEnforceModified"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ReadableError, type Maybe } from '@dereekb/util';
|
|
3
|
-
import { AbstractSubscriptionDirective } from '../../../subscription';
|
|
4
|
-
import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Performs the action on error.
|
|
8
|
-
*/
|
|
9
|
-
export type DbxActionErrorHandlerFunction = (error?: Maybe<ReadableError>) => void;
|
|
10
|
-
/**
|
|
11
|
-
* Directive that executes a function on ActionContextStore error.
|
|
12
|
-
*/
|
|
13
|
-
export declare class DbxActionErrorHandlerDirective<T, O> extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
|
|
14
|
-
readonly source: DbxActionContextStoreSourceInstance<T, O>;
|
|
15
|
-
readonly dbxActionErrorHandler: import("@angular/core").InputSignal<Maybe<DbxActionErrorHandlerFunction>>;
|
|
16
|
-
readonly errorFunction$: import("rxjs").Observable<DbxActionErrorHandlerFunction>;
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionErrorHandlerDirective<any, any>, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionErrorHandlerDirective<any, any>, "[dbxActionErrorHandler]", never, { "dbxActionErrorHandler": { "alias": "dbxActionErrorHandler"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
20
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
|
|
3
|
-
import { FactoryWithInput, GetterOrValue, type Maybe } from '@dereekb/util';
|
|
4
|
-
import { DbxActionHandlerInstance } from './action.handler.instance';
|
|
5
|
-
import { Work } from '@dereekb/rxjs';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Abstract directive that wraps and handles a DbxActionHandlerInstance lifecycle.
|
|
9
|
-
*/
|
|
10
|
-
export declare abstract class AbstractDbxActionHandlerDirective<T = unknown, O = unknown> implements OnDestroy {
|
|
11
|
-
readonly source: DbxActionContextStoreSourceInstance<T, O>;
|
|
12
|
-
protected readonly _dbxActionHandlerInstance: DbxActionHandlerInstance<T, O>;
|
|
13
|
-
constructor();
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDbxActionHandlerDirective<any, any>, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxActionHandlerDirective<any, any>, never, never, {}, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Directive that passes a Work function to handle a valueReady$ event from an action context.
|
|
20
|
-
*/
|
|
21
|
-
export declare class DbxActionHandlerDirective<T = unknown, O = unknown> extends AbstractDbxActionHandlerDirective<T, O> {
|
|
22
|
-
readonly handlerFunction: import("@angular/core").InputSignal<Maybe<Work<T, O>>>;
|
|
23
|
-
protected readonly _handlerFunctionEffect: import("@angular/core").EffectRef;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionHandlerDirective<any, any>, never>;
|
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionHandlerDirective<any, any>, "[dbxActionHandler]", never, { "handlerFunction": { "alias": "dbxActionHandler"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Directive that passes a value to handle a valueReady$ event from an action context.
|
|
29
|
-
*/
|
|
30
|
-
export declare class DbxActionHandlerValueDirective<T = unknown, O = unknown> extends AbstractDbxActionHandlerDirective<T, O> {
|
|
31
|
-
readonly handlerValue: import("@angular/core").InputSignal<Maybe<GetterOrValue<O> | FactoryWithInput<O, T>>>;
|
|
32
|
-
protected readonly _handlerValueEffect: import("@angular/core").EffectRef;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionHandlerValueDirective<any, any>, never>;
|
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionHandlerValueDirective<any, any>, "[dbxActionHandlerValue]", never, { "handlerValue": { "alias": "dbxActionHandlerValue"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
35
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { type DbxActionContextStoreSourceInstance } from '../../action.store.source';
|
|
2
|
-
import { type Maybe, type Destroyable, type Initialized, type GetterOrValue, type FactoryWithInput } from '@dereekb/util';
|
|
3
|
-
import { type Work } from '@dereekb/rxjs';
|
|
4
|
-
export declare const DBX_ACTION_HANDLER_LOCK_KEY = "dbxActionHandler";
|
|
5
|
-
/**
|
|
6
|
-
* Context used for defining a function that performs an action using the input function to handle valueReady$ events from an action context.
|
|
7
|
-
*/
|
|
8
|
-
export declare class DbxActionHandlerInstance<T = unknown, O = unknown> implements Initialized, Destroyable {
|
|
9
|
-
private readonly _delegate;
|
|
10
|
-
private readonly _sub;
|
|
11
|
-
private readonly _handlerFunction;
|
|
12
|
-
private readonly _handlerValue;
|
|
13
|
-
readonly handlerFunction$: import("rxjs").Observable<Work<T, O>>;
|
|
14
|
-
constructor(source: DbxActionContextStoreSourceInstance<T, O>);
|
|
15
|
-
get source(): DbxActionContextStoreSourceInstance<T, O>;
|
|
16
|
-
get handlerFunction(): Maybe<Work<T, O>>;
|
|
17
|
-
get handlerValue(): Maybe<GetterOrValue<O> | FactoryWithInput<O, T>>;
|
|
18
|
-
setHandlerFunction(handlerFunction: Maybe<Work<T, O>>): void;
|
|
19
|
-
setHandlerValue(handlerValue: Maybe<GetterOrValue<O> | FactoryWithInput<O, T>>): void;
|
|
20
|
-
init(): void;
|
|
21
|
-
destroy(): void;
|
|
22
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type Maybe } from '@dereekb/util';
|
|
2
|
-
import { AbstractIfDirective } from '../../../view/if.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Structural directive that displays the content before the store has success.
|
|
6
|
-
*
|
|
7
|
-
* Can be configured to hide for a temporary period.
|
|
8
|
-
*/
|
|
9
|
-
export declare class DbxActionIdleDirective extends AbstractIfDirective {
|
|
10
|
-
private readonly _store;
|
|
11
|
-
readonly hideAfter: import("@angular/core").InputSignalWithTransform<Maybe<number>, "" | Maybe<number>>;
|
|
12
|
-
readonly show$: import("rxjs").Observable<boolean>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionIdleDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionIdleDirective, "[dbxActionIdle]", never, { "hideAfter": { "alias": "dbxActionIdle"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type Maybe } from '@dereekb/util';
|
|
2
|
-
import { AbstractIfDirective } from '../../../view/if.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Structural directive that displays the content before the store has success.
|
|
6
|
-
*
|
|
7
|
-
* Can be configured to hide for a temporary period.
|
|
8
|
-
*/
|
|
9
|
-
export declare class DbxActionPreSuccessDirective extends AbstractIfDirective {
|
|
10
|
-
private readonly _store;
|
|
11
|
-
readonly hideFor: import("@angular/core").InputSignalWithTransform<Maybe<number>, "" | Maybe<number>>;
|
|
12
|
-
readonly show$: import("rxjs").Observable<boolean>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionPreSuccessDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionPreSuccessDirective, "[dbxActionPreSuccess]", never, { "hideFor": { "alias": "dbxActionPreSuccess"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import { AbstractIfDirective } from '../../../view/if.directive';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Structural directive that displays the content when the store has a success value.
|
|
7
|
-
*
|
|
8
|
-
* Can be configured to show for a temporary period.
|
|
9
|
-
*/
|
|
10
|
-
export declare class DbxActionHasSuccessDirective extends AbstractIfDirective implements OnDestroy {
|
|
11
|
-
private readonly _store;
|
|
12
|
-
readonly hideAfter: import("@angular/core").InputSignalWithTransform<Maybe<number>, "" | Maybe<number>>;
|
|
13
|
-
readonly show$: import("rxjs").Observable<boolean>;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionHasSuccessDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionHasSuccessDirective, "[dbxActionHasSuccess]", never, { "hideAfter": { "alias": "dbxActionHasSuccess"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { type Maybe } from '@dereekb/util';
|
|
3
|
-
import { AbstractSubscriptionDirective } from '../../../subscription';
|
|
4
|
-
import { DbxActionContextStoreSourceInstance } from '../../action.store.source';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Performs the action on success.
|
|
8
|
-
*/
|
|
9
|
-
export type DbxActionSuccessHandlerFunction<O = unknown> = (value: O) => void;
|
|
10
|
-
/**
|
|
11
|
-
* Directive that executes a function on ActionContextStore Success.
|
|
12
|
-
*/
|
|
13
|
-
export declare class DbxActionSuccessHandlerDirective<T, O> extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
|
|
14
|
-
readonly source: DbxActionContextStoreSourceInstance<T, O>;
|
|
15
|
-
readonly dbxActionSuccessHandler: import("@angular/core").InputSignal<Maybe<DbxActionSuccessHandlerFunction<O>>>;
|
|
16
|
-
readonly successFunction$: import("rxjs").Observable<DbxActionSuccessHandlerFunction<O>>;
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionSuccessHandlerDirective<any, any>, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionSuccessHandlerDirective<any, any>, "[dbxActionSuccessHandler]", never, { "dbxActionSuccessHandler": { "alias": "dbxActionSuccessHandler"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
20
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type Maybe } from '@dereekb/util';
|
|
2
|
-
import { AbstractIfDirective } from '../../../view/if.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Structural directive that displays the content when the store has been triggered.
|
|
6
|
-
*
|
|
7
|
-
* Can be configured to hide for a temporary period.
|
|
8
|
-
*/
|
|
9
|
-
export declare class DbxActionTriggeredDirective extends AbstractIfDirective {
|
|
10
|
-
private readonly _store;
|
|
11
|
-
readonly hideAfter: import("@angular/core").InputSignalWithTransform<Maybe<number>, "" | Maybe<number>>;
|
|
12
|
-
readonly show$: import("rxjs").Observable<boolean>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionTriggeredDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionTriggeredDirective, "[dbxActionTriggered]", never, { "hideAfter": { "alias": "dbxActionTriggered"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|