@dereekb/dbx-core 12.7.0 → 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 +659 -976
- package/fesm2022/dereekb-dbx-core.mjs.map +1 -1
- package/package.json +16 -18
- package/types/dereekb-dbx-core.d.ts +3633 -0
- package/esm2022/dereekb-dbx-core.mjs +0 -5
- package/esm2022/index.mjs +0 -2
- package/esm2022/lib/action/action.handler.mjs +0 -22
- package/esm2022/lib/action/action.holder.mjs +0 -76
- package/esm2022/lib/action/action.machine.mjs +0 -71
- package/esm2022/lib/action/action.mjs +0 -95
- package/esm2022/lib/action/action.module.mjs +0 -85
- package/esm2022/lib/action/action.reference.mjs +0 -7
- package/esm2022/lib/action/action.store.mjs +0 -290
- package/esm2022/lib/action/action.store.source.mjs +0 -162
- package/esm2022/lib/action/action.store.source.provide.mjs +0 -36
- package/esm2022/lib/action/directive/auto/action.automodify.directive.mjs +0 -36
- package/esm2022/lib/action/directive/auto/action.autotrigger.directive.mjs +0 -111
- package/esm2022/lib/action/directive/auto/index.mjs +0 -3
- package/esm2022/lib/action/directive/context/action.directive.mjs +0 -32
- package/esm2022/lib/action/directive/context/action.source.directive.mjs +0 -25
- package/esm2022/lib/action/directive/context/index.mjs +0 -3
- package/esm2022/lib/action/directive/debug/action.logger.directive.mjs +0 -25
- package/esm2022/lib/action/directive/debug/index.mjs +0 -2
- package/esm2022/lib/action/directive/index.mjs +0 -6
- package/esm2022/lib/action/directive/map/action.map.directive.mjs +0 -34
- package/esm2022/lib/action/directive/map/action.map.key.directive.mjs +0 -27
- package/esm2022/lib/action/directive/map/action.map.mjs +0 -60
- package/esm2022/lib/action/directive/map/action.map.source.directive.mjs +0 -44
- package/esm2022/lib/action/directive/map/action.map.utility.mjs +0 -37
- package/esm2022/lib/action/directive/map/action.map.working.disable.directive.mjs +0 -34
- package/esm2022/lib/action/directive/map/index.mjs +0 -7
- package/esm2022/lib/action/directive/state/action.disabled.directive.mjs +0 -30
- package/esm2022/lib/action/directive/state/action.disableonsuccess.directive.mjs +0 -31
- package/esm2022/lib/action/directive/state/action.enforce.modified.directive.mjs +0 -34
- package/esm2022/lib/action/directive/state/action.error.handler.directive.mjs +0 -32
- package/esm2022/lib/action/directive/state/action.handler.directive.mjs +0 -57
- package/esm2022/lib/action/directive/state/action.handler.instance.mjs +0 -61
- package/esm2022/lib/action/directive/state/action.idle.directive.mjs +0 -34
- package/esm2022/lib/action/directive/state/action.presuccess.directive.mjs +0 -34
- package/esm2022/lib/action/directive/state/action.success.directive.mjs +0 -34
- package/esm2022/lib/action/directive/state/action.success.handler.directive.mjs +0 -32
- package/esm2022/lib/action/directive/state/action.triggered.directive.mjs +0 -34
- package/esm2022/lib/action/directive/state/action.value.directive.mjs +0 -42
- package/esm2022/lib/action/directive/state/action.value.stream.directive.mjs +0 -59
- package/esm2022/lib/action/directive/state/action.value.trigger.directive.mjs +0 -75
- package/esm2022/lib/action/directive/state/action.value.trigger.instance.mjs +0 -59
- package/esm2022/lib/action/directive/state/action.working.directive.mjs +0 -41
- package/esm2022/lib/action/directive/state/index.mjs +0 -17
- package/esm2022/lib/action/index.mjs +0 -11
- package/esm2022/lib/auth/auth.module.mjs +0 -25
- package/esm2022/lib/auth/auth.providers.mjs +0 -16
- package/esm2022/lib/auth/auth.role.any.directive.mjs +0 -24
- package/esm2022/lib/auth/auth.role.has.directive.mjs +0 -24
- package/esm2022/lib/auth/auth.role.not.directive.mjs +0 -24
- package/esm2022/lib/auth/auth.state.providers.mjs +0 -14
- package/esm2022/lib/auth/auth.state.service.mjs +0 -20
- package/esm2022/lib/auth/auth.user.mjs +0 -11
- package/esm2022/lib/auth/index.mjs +0 -12
- package/esm2022/lib/auth/router/auth.router.mjs +0 -6
- package/esm2022/lib/auth/router/auth.router.providers.mjs +0 -19
- package/esm2022/lib/auth/router/auth.router.service.mjs +0 -73
- package/esm2022/lib/auth/router/index.mjs +0 -6
- package/esm2022/lib/auth/router/provider/uirouter/auth.hook.mjs +0 -23
- package/esm2022/lib/auth/router/provider/uirouter/hook.mjs +0 -71
- package/esm2022/lib/auth/router/provider/uirouter/index.mjs +0 -6
- package/esm2022/lib/auth/router/provider/uirouter/redirect.mjs +0 -29
- package/esm2022/lib/auth/router/provider/uirouter/role.hook.mjs +0 -58
- package/esm2022/lib/auth/router/provider/uirouter/state.hook.mjs +0 -53
- package/esm2022/lib/auth/router/state/auth.router.state.providers.mjs +0 -23
- package/esm2022/lib/auth/router/state/effect/auth.router.state.effect.mjs +0 -37
- package/esm2022/lib/auth/router/state/effect/index.mjs +0 -2
- package/esm2022/lib/auth/router/state/index.mjs +0 -3
- package/esm2022/lib/auth/service/auth.service.mjs +0 -6
- package/esm2022/lib/auth/service/auth.service.rxjs.mjs +0 -30
- package/esm2022/lib/auth/service/index.mjs +0 -3
- package/esm2022/lib/auth/state/action/auth.action.mjs +0 -14
- package/esm2022/lib/auth/state/action/index.mjs +0 -12
- package/esm2022/lib/auth/state/action/user.action.mjs +0 -18
- package/esm2022/lib/auth/state/effect/auth.effect.mjs +0 -33
- package/esm2022/lib/auth/state/index.mjs +0 -13
- package/esm2022/lib/auth/state/reducer/index.mjs +0 -23
- package/esm2022/lib/auth/state/reducer/user.reducer.mjs +0 -12
- package/esm2022/lib/auth/state/state.mjs +0 -2
- package/esm2022/lib/button/action/action.button.directive.mjs +0 -28
- package/esm2022/lib/button/action/action.button.trigger.directive.mjs +0 -30
- package/esm2022/lib/button/action/index.mjs +0 -3
- package/esm2022/lib/button/button.directive.mjs +0 -115
- package/esm2022/lib/button/button.loading.directive.mjs +0 -37
- package/esm2022/lib/button/button.mjs +0 -21
- package/esm2022/lib/button/button.module.mjs +0 -28
- package/esm2022/lib/button/index.mjs +0 -7
- package/esm2022/lib/button/router/button.segue.directive.mjs +0 -29
- package/esm2022/lib/button/router/index.mjs +0 -2
- package/esm2022/lib/context/context.directive.mjs +0 -26
- package/esm2022/lib/context/context.mjs +0 -25
- package/esm2022/lib/context/context.module.mjs +0 -19
- package/esm2022/lib/context/context.providers.mjs +0 -12
- package/esm2022/lib/context/context.service.mjs +0 -26
- package/esm2022/lib/context/index.mjs +0 -7
- package/esm2022/lib/context/state/action/data.action.mjs +0 -10
- package/esm2022/lib/context/state/action/index.mjs +0 -7
- package/esm2022/lib/context/state/effect/index.mjs +0 -33
- package/esm2022/lib/context/state/index.mjs +0 -13
- package/esm2022/lib/context/state/reducer/data.reducer.mjs +0 -16
- package/esm2022/lib/context/state/reducer/index.mjs +0 -25
- package/esm2022/lib/context/state/state.mjs +0 -2
- package/esm2022/lib/environment/environment.mjs +0 -6
- package/esm2022/lib/environment/environment.providers.mjs +0 -19
- package/esm2022/lib/environment/environment.service.mjs +0 -30
- package/esm2022/lib/environment/index.mjs +0 -4
- package/esm2022/lib/filter/filter.abstract.connector.directive.mjs +0 -21
- package/esm2022/lib/filter/filter.abstract.source.directive.mjs +0 -69
- package/esm2022/lib/filter/filter.connect.source.directive.mjs +0 -23
- package/esm2022/lib/filter/filter.connector.directive.mjs +0 -20
- package/esm2022/lib/filter/filter.content.mjs +0 -29
- package/esm2022/lib/filter/filter.map.connector.directive.mjs +0 -33
- package/esm2022/lib/filter/filter.map.directive.mjs +0 -22
- package/esm2022/lib/filter/filter.map.instance.directive.mjs +0 -25
- package/esm2022/lib/filter/filter.map.source.directive.mjs +0 -38
- package/esm2022/lib/filter/filter.module.mjs +0 -22
- package/esm2022/lib/filter/filter.preset.mjs +0 -8
- package/esm2022/lib/filter/filter.source.directive.mjs +0 -19
- package/esm2022/lib/filter/index.mjs +0 -13
- package/esm2022/lib/index.mjs +0 -15
- package/esm2022/lib/injection/index.mjs +0 -14
- package/esm2022/lib/injection/injection.array.component.mjs +0 -31
- package/esm2022/lib/injection/injection.array.mjs +0 -2
- package/esm2022/lib/injection/injection.component.mjs +0 -32
- package/esm2022/lib/injection/injection.component.module.mjs +0 -26
- package/esm2022/lib/injection/injection.context.directive.mjs +0 -130
- package/esm2022/lib/injection/injection.context.forward.directive.mjs +0 -25
- package/esm2022/lib/injection/injection.context.mjs +0 -20
- package/esm2022/lib/injection/injection.directive.mjs +0 -30
- package/esm2022/lib/injection/injection.instance.mjs +0 -121
- package/esm2022/lib/injection/injection.mjs +0 -16
- package/esm2022/lib/injection/injection.rxjs.mjs +0 -24
- package/esm2022/lib/injection/injection.util.mjs +0 -11
- package/esm2022/lib/injection/injector.mjs +0 -13
- package/esm2022/lib/ngrx/index.mjs +0 -2
- package/esm2022/lib/ngrx/store.lockset.mjs +0 -66
- package/esm2022/lib/pipe/async/asobservable.pipe.mjs +0 -21
- package/esm2022/lib/pipe/async/async.pipe.module.mjs +0 -20
- package/esm2022/lib/pipe/async/index.mjs +0 -3
- package/esm2022/lib/pipe/date/date.pipe.module.mjs +0 -108
- package/esm2022/lib/pipe/date/datedayrange.pipe.mjs +0 -24
- package/esm2022/lib/pipe/date/datedaytimerange.pipe.mjs +0 -24
- package/esm2022/lib/pipe/date/datedistance.pipe.mjs +0 -27
- package/esm2022/lib/pipe/date/dateformatdistance.pipe.mjs +0 -36
- package/esm2022/lib/pipe/date/datefromtoformat.pipe.mjs +0 -34
- package/esm2022/lib/pipe/date/daterangedistance.pipe.mjs +0 -24
- package/esm2022/lib/pipe/date/datetimerange.pipe.mjs +0 -24
- package/esm2022/lib/pipe/date/datetimerangeonly.pipe.mjs +0 -24
- package/esm2022/lib/pipe/date/datetimerangeonlydistance.pipe.mjs +0 -24
- package/esm2022/lib/pipe/date/index.mjs +0 -18
- package/esm2022/lib/pipe/date/minutesstring.pipe.mjs +0 -36
- package/esm2022/lib/pipe/date/systemdatetotargetdate.pipe.mjs +0 -27
- package/esm2022/lib/pipe/date/targetdatetosystemdate.pipe.mjs +0 -27
- package/esm2022/lib/pipe/date/timedistance.pipe.mjs +0 -57
- package/esm2022/lib/pipe/date/timezoneabbreviation.pipe.mjs +0 -27
- package/esm2022/lib/pipe/date/tojsdate.pipe.mjs +0 -30
- package/esm2022/lib/pipe/date/tominutes.pipe.mjs +0 -21
- package/esm2022/lib/pipe/index.mjs +0 -6
- package/esm2022/lib/pipe/misc/index.mjs +0 -3
- package/esm2022/lib/pipe/misc/misc.pipe.module.mjs +0 -21
- package/esm2022/lib/pipe/misc/prettyjson.pipe.mjs +0 -30
- package/esm2022/lib/pipe/pipe.module.mjs +0 -25
- package/esm2022/lib/pipe/value/cuttext.pipe.mjs +0 -22
- package/esm2022/lib/pipe/value/dollar.pipe.mjs +0 -24
- package/esm2022/lib/pipe/value/getvalue.pipe.mjs +0 -40
- package/esm2022/lib/pipe/value/index.mjs +0 -5
- package/esm2022/lib/pipe/value/value.pipe.module.mjs +0 -27
- package/esm2022/lib/router/anchor/anchor.directive.mjs +0 -63
- package/esm2022/lib/router/anchor/anchor.mjs +0 -52
- package/esm2022/lib/router/anchor/clickable.mjs +0 -18
- package/esm2022/lib/router/anchor/index.mjs +0 -5
- package/esm2022/lib/router/anchor/mousable.mjs +0 -2
- package/esm2022/lib/router/auth/hook/id.hook.mjs +0 -54
- package/esm2022/lib/router/auth/hook/index.mjs +0 -3
- package/esm2022/lib/router/auth/hook/uid.hook.mjs +0 -19
- package/esm2022/lib/router/auth/index.mjs +0 -2
- package/esm2022/lib/router/index.mjs +0 -6
- package/esm2022/lib/router/model/id.param.redirect.mjs +0 -73
- package/esm2022/lib/router/model/index.mjs +0 -7
- package/esm2022/lib/router/model/model.module.mjs +0 -26
- package/esm2022/lib/router/model/model.router.id.directive.mjs +0 -58
- package/esm2022/lib/router/model/model.router.key.directive.mjs +0 -60
- package/esm2022/lib/router/model/model.router.mjs +0 -38
- package/esm2022/lib/router/model/model.router.uid.directive.mjs +0 -25
- package/esm2022/lib/router/router/index.mjs +0 -5
- package/esm2022/lib/router/router/provider/angular/angular.router.service.mjs +0 -78
- package/esm2022/lib/router/router/provider/angular/angular.router.service.module.mjs +0 -31
- package/esm2022/lib/router/router/provider/angular/index.mjs +0 -3
- package/esm2022/lib/router/router/provider/index.mjs +0 -3
- package/esm2022/lib/router/router/provider/uirouter/index.mjs +0 -4
- package/esm2022/lib/router/router/provider/uirouter/uirouter.router.service.mjs +0 -95
- package/esm2022/lib/router/router/provider/uirouter/uirouter.router.service.module.mjs +0 -34
- package/esm2022/lib/router/router/provider/uirouter/uirouter.router.service.providers.mjs +0 -24
- package/esm2022/lib/router/router/service/index.mjs +0 -6
- package/esm2022/lib/router/router/service/router.go.mjs +0 -14
- package/esm2022/lib/router/router/service/router.service.mjs +0 -7
- package/esm2022/lib/router/router/service/router.service.rxjs.mjs +0 -39
- package/esm2022/lib/router/router/service/router.service.util.mjs +0 -14
- package/esm2022/lib/router/router/service/router.transition.service.mjs +0 -6
- package/esm2022/lib/router/router/transition/index.mjs +0 -5
- package/esm2022/lib/router/router/transition/transition.directive.mjs +0 -19
- package/esm2022/lib/router/router/transition/transition.mjs +0 -12
- package/esm2022/lib/router/router/transition/transition.rxjs.mjs +0 -55
- package/esm2022/lib/router/router/transition/transition.watcher.directive.mjs +0 -28
- package/esm2022/lib/router/router/util/index.mjs +0 -3
- package/esm2022/lib/router/router/util/route.default.mjs +0 -63
- package/esm2022/lib/router/router/util/route.reader.mjs +0 -47
- package/esm2022/lib/router/segue.mjs +0 -35
- package/esm2022/lib/rxjs/clean.mjs +0 -28
- package/esm2022/lib/rxjs/destroy.mjs +0 -13
- package/esm2022/lib/rxjs/index.mjs +0 -7
- package/esm2022/lib/rxjs/loading.mjs +0 -19
- package/esm2022/lib/rxjs/lockset.mjs +0 -56
- package/esm2022/lib/rxjs/rxjs.directive.mjs +0 -42
- package/esm2022/lib/rxjs/subscription.mjs +0 -16
- package/esm2022/lib/storage/index.mjs +0 -9
- package/esm2022/lib/storage/storage.accessor.mjs +0 -16
- package/esm2022/lib/storage/storage.accessor.simple.factory.mjs +0 -26
- package/esm2022/lib/storage/storage.accessor.simple.mjs +0 -172
- package/esm2022/lib/storage/storage.accessor.string.mjs +0 -50
- package/esm2022/lib/storage/storage.di.mjs +0 -4
- package/esm2022/lib/storage/storage.object.localstorage.mjs +0 -47
- package/esm2022/lib/storage/storage.object.memory.mjs +0 -17
- package/esm2022/lib/storage/storage.providers.mjs +0 -41
- package/esm2022/lib/util/index.mjs +0 -3
- package/esm2022/lib/util/input.mjs +0 -7
- package/esm2022/lib/util/view.mjs +0 -81
- package/esm2022/lib/view/if.directive.mjs +0 -28
- package/esm2022/lib/view/index.mjs +0 -2
- package/index.d.ts +0 -1
- package/lib/action/action.d.ts +0 -80
- package/lib/action/action.handler.d.ts +0 -15
- package/lib/action/action.holder.d.ts +0 -38
- package/lib/action/action.machine.d.ts +0 -48
- package/lib/action/action.module.d.ts +0 -30
- package/lib/action/action.reference.d.ts +0 -11
- package/lib/action/action.store.d.ts +0 -208
- package/lib/action/action.store.source.d.ts +0 -77
- package/lib/action/action.store.source.provide.d.ts +0 -7
- package/lib/action/directive/auto/action.automodify.directive.d.ts +0 -11
- package/lib/action/directive/auto/action.autotrigger.directive.d.ts +0 -36
- package/lib/action/directive/auto/index.d.ts +0 -2
- package/lib/action/directive/context/action.directive.d.ts +0 -10
- package/lib/action/directive/context/action.source.directive.d.ts +0 -12
- package/lib/action/directive/context/index.d.ts +0 -2
- package/lib/action/directive/debug/action.logger.directive.d.ts +0 -11
- package/lib/action/directive/debug/index.d.ts +0 -1
- package/lib/action/directive/index.d.ts +0 -5
- package/lib/action/directive/map/action.map.d.ts +0 -43
- package/lib/action/directive/map/action.map.directive.d.ts +0 -12
- package/lib/action/directive/map/action.map.key.directive.d.ts +0 -14
- package/lib/action/directive/map/action.map.source.directive.d.ts +0 -19
- package/lib/action/directive/map/action.map.utility.d.ts +0 -48
- package/lib/action/directive/map/action.map.working.disable.directive.d.ts +0 -16
- package/lib/action/directive/map/index.d.ts +0 -6
- package/lib/action/directive/state/action.disabled.directive.d.ts +0 -15
- package/lib/action/directive/state/action.disableonsuccess.directive.d.ts +0 -15
- package/lib/action/directive/state/action.enforce.modified.directive.d.ts +0 -15
- package/lib/action/directive/state/action.error.handler.directive.d.ts +0 -18
- package/lib/action/directive/state/action.handler.directive.d.ts +0 -33
- package/lib/action/directive/state/action.handler.instance.d.ts +0 -22
- package/lib/action/directive/state/action.idle.directive.d.ts +0 -15
- package/lib/action/directive/state/action.presuccess.directive.d.ts +0 -15
- package/lib/action/directive/state/action.success.directive.d.ts +0 -15
- package/lib/action/directive/state/action.success.handler.directive.d.ts +0 -18
- package/lib/action/directive/state/action.triggered.directive.d.ts +0 -15
- package/lib/action/directive/state/action.value.directive.d.ts +0 -23
- package/lib/action/directive/state/action.value.stream.directive.d.ts +0 -19
- package/lib/action/directive/state/action.value.trigger.directive.d.ts +0 -38
- package/lib/action/directive/state/action.value.trigger.instance.d.ts +0 -45
- package/lib/action/directive/state/action.working.directive.d.ts +0 -17
- package/lib/action/directive/state/index.d.ts +0 -16
- package/lib/action/index.d.ts +0 -10
- package/lib/auth/auth.module.d.ts +0 -16
- package/lib/auth/auth.providers.d.ts +0 -12
- package/lib/auth/auth.role.any.directive.d.ts +0 -15
- package/lib/auth/auth.role.has.directive.d.ts +0 -15
- package/lib/auth/auth.role.not.directive.d.ts +0 -15
- package/lib/auth/auth.state.providers.d.ts +0 -7
- package/lib/auth/auth.state.service.d.ts +0 -11
- package/lib/auth/auth.user.d.ts +0 -28
- package/lib/auth/index.d.ts +0 -11
- package/lib/auth/router/auth.router.d.ts +0 -10
- package/lib/auth/router/auth.router.providers.d.ts +0 -18
- package/lib/auth/router/auth.router.service.d.ts +0 -46
- package/lib/auth/router/index.d.ts +0 -5
- package/lib/auth/router/provider/uirouter/auth.hook.d.ts +0 -18
- package/lib/auth/router/provider/uirouter/hook.d.ts +0 -51
- package/lib/auth/router/provider/uirouter/index.d.ts +0 -5
- package/lib/auth/router/provider/uirouter/redirect.d.ts +0 -9
- package/lib/auth/router/provider/uirouter/role.hook.d.ts +0 -44
- package/lib/auth/router/provider/uirouter/state.hook.d.ts +0 -31
- package/lib/auth/router/state/auth.router.state.providers.d.ts +0 -19
- package/lib/auth/router/state/effect/auth.router.state.effect.d.ts +0 -28
- package/lib/auth/router/state/effect/index.d.ts +0 -1
- package/lib/auth/router/state/index.d.ts +0 -2
- package/lib/auth/service/auth.service.d.ts +0 -46
- package/lib/auth/service/auth.service.rxjs.d.ts +0 -19
- package/lib/auth/service/index.d.ts +0 -2
- package/lib/auth/state/action/auth.action.d.ts +0 -12
- package/lib/auth/state/action/index.d.ts +0 -11
- package/lib/auth/state/action/user.action.d.ts +0 -34
- package/lib/auth/state/effect/auth.effect.d.ts +0 -28
- package/lib/auth/state/index.d.ts +0 -12
- package/lib/auth/state/reducer/index.d.ts +0 -29
- package/lib/auth/state/reducer/user.reducer.d.ts +0 -11
- package/lib/auth/state/state.d.ts +0 -5
- package/lib/button/action/action.button.directive.d.ts +0 -10
- package/lib/button/action/action.button.trigger.directive.d.ts +0 -14
- package/lib/button/action/index.d.ts +0 -2
- package/lib/button/button.d.ts +0 -113
- package/lib/button/button.directive.d.ts +0 -60
- package/lib/button/button.loading.directive.d.ts +0 -18
- package/lib/button/button.module.d.ts +0 -19
- package/lib/button/index.d.ts +0 -6
- package/lib/button/router/button.segue.directive.d.ts +0 -13
- package/lib/button/router/index.d.ts +0 -1
- package/lib/context/context.d.ts +0 -42
- package/lib/context/context.directive.d.ts +0 -13
- package/lib/context/context.module.d.ts +0 -10
- package/lib/context/context.providers.d.ts +0 -7
- package/lib/context/context.service.d.ts +0 -14
- package/lib/context/index.d.ts +0 -6
- package/lib/context/state/action/data.action.d.ts +0 -13
- package/lib/context/state/action/index.d.ts +0 -6
- package/lib/context/state/effect/index.d.ts +0 -24
- package/lib/context/state/index.d.ts +0 -12
- package/lib/context/state/reducer/data.reducer.d.ts +0 -13
- package/lib/context/state/reducer/index.d.ts +0 -34
- package/lib/context/state/state.d.ts +0 -9
- package/lib/environment/environment.d.ts +0 -21
- package/lib/environment/environment.providers.d.ts +0 -8
- package/lib/environment/environment.service.d.ts +0 -17
- package/lib/environment/index.d.ts +0 -3
- package/lib/filter/filter.abstract.connector.directive.d.ts +0 -13
- package/lib/filter/filter.abstract.source.directive.d.ts +0 -37
- package/lib/filter/filter.connect.source.directive.d.ts +0 -13
- package/lib/filter/filter.connector.directive.d.ts +0 -9
- package/lib/filter/filter.content.d.ts +0 -10
- package/lib/filter/filter.map.connector.directive.d.ts +0 -14
- package/lib/filter/filter.map.directive.d.ts +0 -10
- package/lib/filter/filter.map.instance.directive.d.ts +0 -16
- package/lib/filter/filter.map.source.directive.d.ts +0 -23
- package/lib/filter/filter.module.d.ts +0 -12
- package/lib/filter/filter.preset.d.ts +0 -29
- package/lib/filter/filter.source.directive.d.ts +0 -9
- package/lib/filter/index.d.ts +0 -12
- package/lib/index.d.ts +0 -14
- package/lib/injection/index.d.ts +0 -13
- package/lib/injection/injection.array.component.d.ts +0 -11
- package/lib/injection/injection.array.d.ts +0 -12
- package/lib/injection/injection.component.d.ts +0 -19
- package/lib/injection/injection.component.module.d.ts +0 -16
- package/lib/injection/injection.context.d.ts +0 -39
- package/lib/injection/injection.context.directive.d.ts +0 -26
- package/lib/injection/injection.context.forward.directive.d.ts +0 -15
- package/lib/injection/injection.d.ts +0 -53
- package/lib/injection/injection.directive.d.ts +0 -18
- package/lib/injection/injection.instance.d.ts +0 -32
- package/lib/injection/injection.rxjs.d.ts +0 -10
- package/lib/injection/injection.util.d.ts +0 -9
- package/lib/injection/injector.d.ts +0 -10
- package/lib/ngrx/index.d.ts +0 -1
- package/lib/ngrx/store.lockset.d.ts +0 -36
- package/lib/pipe/async/asobservable.pipe.d.ts +0 -12
- package/lib/pipe/async/async.pipe.module.d.ts +0 -10
- package/lib/pipe/async/index.d.ts +0 -2
- package/lib/pipe/date/date.pipe.module.d.ts +0 -43
- package/lib/pipe/date/datedayrange.pipe.d.ts +0 -9
- package/lib/pipe/date/datedaytimerange.pipe.d.ts +0 -9
- package/lib/pipe/date/datedistance.pipe.d.ts +0 -8
- package/lib/pipe/date/dateformatdistance.pipe.d.ts +0 -12
- package/lib/pipe/date/datefromtoformat.pipe.d.ts +0 -13
- package/lib/pipe/date/daterangedistance.pipe.d.ts +0 -9
- package/lib/pipe/date/datetimerange.pipe.d.ts +0 -9
- package/lib/pipe/date/datetimerangeonly.pipe.d.ts +0 -9
- package/lib/pipe/date/datetimerangeonlydistance.pipe.d.ts +0 -9
- package/lib/pipe/date/index.d.ts +0 -17
- package/lib/pipe/date/minutesstring.pipe.d.ts +0 -8
- package/lib/pipe/date/systemdatetotargetdate.pipe.d.ts +0 -12
- package/lib/pipe/date/targetdatetosystemdate.pipe.d.ts +0 -12
- package/lib/pipe/date/timedistance.pipe.d.ts +0 -13
- package/lib/pipe/date/timezoneabbreviation.pipe.d.ts +0 -12
- package/lib/pipe/date/tojsdate.pipe.d.ts +0 -10
- package/lib/pipe/date/tominutes.pipe.d.ts +0 -7
- package/lib/pipe/index.d.ts +0 -5
- package/lib/pipe/misc/index.d.ts +0 -2
- package/lib/pipe/misc/misc.pipe.module.d.ts +0 -12
- package/lib/pipe/misc/prettyjson.pipe.d.ts +0 -9
- package/lib/pipe/pipe.module.d.ts +0 -15
- package/lib/pipe/value/cuttext.pipe.d.ts +0 -11
- package/lib/pipe/value/dollar.pipe.d.ts +0 -13
- package/lib/pipe/value/getvalue.pipe.d.ts +0 -19
- package/lib/pipe/value/index.d.ts +0 -4
- package/lib/pipe/value/value.pipe.module.d.ts +0 -17
- package/lib/router/anchor/anchor.d.ts +0 -71
- package/lib/router/anchor/anchor.directive.d.ts +0 -30
- package/lib/router/anchor/clickable.d.ts +0 -20
- package/lib/router/anchor/index.d.ts +0 -4
- package/lib/router/anchor/mousable.d.ts +0 -9
- package/lib/router/auth/hook/id.hook.d.ts +0 -44
- package/lib/router/auth/hook/index.d.ts +0 -2
- package/lib/router/auth/hook/uid.hook.d.ts +0 -41
- package/lib/router/auth/index.d.ts +0 -1
- package/lib/router/index.d.ts +0 -5
- package/lib/router/model/id.param.redirect.d.ts +0 -51
- package/lib/router/model/index.d.ts +0 -6
- package/lib/router/model/model.module.d.ts +0 -16
- package/lib/router/model/model.router.d.ts +0 -35
- package/lib/router/model/model.router.id.directive.d.ts +0 -27
- package/lib/router/model/model.router.key.directive.d.ts +0 -29
- package/lib/router/model/model.router.uid.directive.d.ts +0 -13
- package/lib/router/router/index.d.ts +0 -4
- package/lib/router/router/provider/angular/angular.router.service.d.ts +0 -24
- package/lib/router/router/provider/angular/angular.router.service.module.d.ts +0 -8
- package/lib/router/router/provider/angular/index.d.ts +0 -2
- package/lib/router/router/provider/index.d.ts +0 -2
- package/lib/router/router/provider/uirouter/index.d.ts +0 -3
- package/lib/router/router/provider/uirouter/uirouter.router.service.d.ts +0 -32
- package/lib/router/router/provider/uirouter/uirouter.router.service.module.d.ts +0 -11
- package/lib/router/router/provider/uirouter/uirouter.router.service.providers.d.ts +0 -7
- package/lib/router/router/service/index.d.ts +0 -5
- package/lib/router/router/service/router.go.d.ts +0 -14
- package/lib/router/router/service/router.service.d.ts +0 -49
- package/lib/router/router/service/router.service.rxjs.d.ts +0 -27
- package/lib/router/router/service/router.service.util.d.ts +0 -26
- package/lib/router/router/service/router.transition.service.d.ts +0 -11
- package/lib/router/router/transition/index.d.ts +0 -4
- package/lib/router/router/transition/transition.d.ts +0 -13
- package/lib/router/router/transition/transition.directive.d.ts +0 -13
- package/lib/router/router/transition/transition.rxjs.d.ts +0 -67
- package/lib/router/router/transition/transition.watcher.directive.d.ts +0 -14
- package/lib/router/router/util/index.d.ts +0 -2
- package/lib/router/router/util/route.default.d.ts +0 -20
- package/lib/router/router/util/route.reader.d.ts +0 -56
- package/lib/router/segue.d.ts +0 -38
- package/lib/rxjs/clean.d.ts +0 -16
- package/lib/rxjs/destroy.d.ts +0 -7
- package/lib/rxjs/index.d.ts +0 -6
- package/lib/rxjs/loading.d.ts +0 -13
- package/lib/rxjs/lockset.d.ts +0 -47
- package/lib/rxjs/rxjs.directive.d.ts +0 -29
- package/lib/rxjs/subscription.d.ts +0 -9
- package/lib/storage/index.d.ts +0 -8
- package/lib/storage/storage.accessor.d.ts +0 -35
- package/lib/storage/storage.accessor.simple.d.ts +0 -80
- package/lib/storage/storage.accessor.simple.factory.d.ts +0 -17
- package/lib/storage/storage.accessor.string.d.ts +0 -16
- package/lib/storage/storage.di.d.ts +0 -3
- package/lib/storage/storage.object.localstorage.d.ts +0 -16
- package/lib/storage/storage.object.memory.d.ts +0 -9
- package/lib/storage/storage.providers.d.ts +0 -13
- package/lib/util/index.d.ts +0 -2
- package/lib/util/input.d.ts +0 -6
- package/lib/util/view.d.ts +0 -61
- package/lib/view/if.directive.d.ts +0 -18
- package/lib/view/index.d.ts +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, DestroyRef,
|
|
2
|
+
import { inject, DestroyRef, input, Directive, computed, signal, Injectable, forwardRef, effect, TemplateRef, ViewContainerRef, Injector, runInInjectionContext, NgModule, InjectionToken, makeEnvironmentProviders, output, model, NgZone, Input, Pipe, LOCALE_ID, viewChild, Component, ChangeDetectionStrategy, Inject, Optional } from '@angular/core';
|
|
3
3
|
import { SubscriptionObject, LockSet, loadingStateContext, listLoadingStateContext, filterMaybe, LoadingStateType, beginLoading, idleLoadingState, errorResult, successResult, scanCount, workFactory, asObservable, combineLatestFromMapValuesObsFn, emitDelayObs, makeIsModifiedFunctionObservable, returnIfIs, timeoutStartWith, onFalseToTrue, onTrueToFalse, setContainsAllValuesFrom, setContainsNoValueFrom, maybeValueFromObservableOrValue, distinctUntilKeysChange, maybeValueFromObservableOrValueGetter, switchMapToDefault, asObservableFromGetter, FilterSource, FilterSourceConnector, FilterSourceInstance, FilterMap, skipAllInitialMaybe, switchMapObject } from '@dereekb/rxjs';
|
|
4
4
|
import { getValueFromGetter, DestroyFunctionObject, isNotFalse, isDefinedAndNotFalse, BooleanStringKeyArrayUtility, reduceBooleansWithOrFn, asGetter, toReadableError, hasValueOrNotEmpty, isGetter, asArray, setIncludes, isAllowed, maybeSet, iterableToSet, expandTreeFunction, flattenTreeToArrayFunction, expandFlattenTreeFunction, mailToUrlString, telUrlString, mergeObjects, KeyValueTypleValueFilter, filterMaybeArrayValues, defaultForwardFunctionFactory, cutString, dollarAmountString, objectHasKey, objectHasKeys, mergeArrays, flattenArrayOrValueArray, promiseReference, DataIsExpiredError, DataDoesNotExistError, hasNonNullValue, unixDateTimeSecondsNumberForNow, isThrottled, splitJoinRemainder, StorageObjectUtility, SHARED_MEMORY_STORAGE } from '@dereekb/util';
|
|
5
5
|
import { switchMap, first, distinctUntilChanged, filter, EMPTY, debounce, interval, throttle, exhaustMap, mergeMap, map, shareReplay, combineLatest, startWith, of, delay, BehaviorSubject, tap, combineLatestWith, catchError, withLatestFrom, firstValueFrom, takeUntil, Subject, Observable } from 'rxjs';
|
|
@@ -10,9 +10,9 @@ import { createAction, props, createReducer, on, combineReducers, createFeatureS
|
|
|
10
10
|
import { Router, ActivatedRoute, NavigationStart, NavigationEnd } from '@angular/router';
|
|
11
11
|
import { isArray } from 'class-validator';
|
|
12
12
|
import { StateService, TransitionService, UIRouterGlobals } from '@uirouter/core';
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
13
|
+
import { formatToDayRangeString, toJsDate, formatDateDistance, formatToTimeString, formatToDayTimeRangeString, formatToTimeRangeString, dateTimezoneUtcNormal, formatDateRangeDistance, getTimezoneAbbreviation } from '@dereekb/date';
|
|
14
|
+
import { isValid, formatDistanceToNow, addMinutes, isPast, formatDistance } from 'date-fns';
|
|
15
|
+
import { formatDate } from '@angular/common';
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Wraps a Destroyable in a function that registers the input Destroyable to be destroyed
|
|
@@ -41,45 +41,6 @@ function completeOnDestroy(input) {
|
|
|
41
41
|
return input;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
/**
|
|
45
|
-
* Abstract component that contains a SubscriptionObject and will clean it up automatically.
|
|
46
|
-
*
|
|
47
|
-
* @deprecated Consider using cleanSubscription() directly instead, as it performs the same functionality
|
|
48
|
-
*/
|
|
49
|
-
class AbstractSubscriptionDirective {
|
|
50
|
-
_subscriptionObject = new SubscriptionObject();
|
|
51
|
-
ngOnDestroy() {
|
|
52
|
-
this._subscriptionObject.destroy();
|
|
53
|
-
}
|
|
54
|
-
set sub(subscription) {
|
|
55
|
-
this._subscriptionObject.subscription = subscription;
|
|
56
|
-
}
|
|
57
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AbstractSubscriptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
58
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: AbstractSubscriptionDirective, ngImport: i0 });
|
|
59
|
-
}
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AbstractSubscriptionDirective, decorators: [{
|
|
61
|
-
type: Directive
|
|
62
|
-
}] });
|
|
63
|
-
/**
|
|
64
|
-
* AbstractSubscriptionDirective extension that prevents the OnDestroy from occuring until the lockset is unlocked.
|
|
65
|
-
*
|
|
66
|
-
* @deprecated Consider using cleanLockSet() directly instead, as it performs the same functionality.
|
|
67
|
-
*/
|
|
68
|
-
class AbstractLockSetSubscriptionDirective extends AbstractSubscriptionDirective {
|
|
69
|
-
lockSet = new LockSet();
|
|
70
|
-
ngOnDestroy() {
|
|
71
|
-
this.lockSet.onNextUnlock(() => this.onLockSetDestroy());
|
|
72
|
-
}
|
|
73
|
-
onLockSetDestroy() {
|
|
74
|
-
super.ngOnDestroy();
|
|
75
|
-
}
|
|
76
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AbstractLockSetSubscriptionDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
77
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: AbstractLockSetSubscriptionDirective, usesInheritance: true, ngImport: i0 });
|
|
78
|
-
}
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AbstractLockSetSubscriptionDirective, decorators: [{
|
|
80
|
-
type: Directive
|
|
81
|
-
}] });
|
|
82
|
-
|
|
83
44
|
// MARK: cleanSubscription()
|
|
84
45
|
/**
|
|
85
46
|
* Creates a new SubscriptionObject that is automatically destroyed when the context is destroyed.
|
|
@@ -335,7 +296,7 @@ class DbxActionContextStoreSourceInstance {
|
|
|
335
296
|
|
|
336
297
|
class DbxActionAutoModifyDirective {
|
|
337
298
|
source = inject((DbxActionContextStoreSourceInstance), { host: true });
|
|
338
|
-
autoModifyEnabled = input(true, { alias: 'dbxActionAutoModify', transform: isNotFalse });
|
|
299
|
+
autoModifyEnabled = input(true, { ...(ngDevMode ? { debugName: "autoModifyEnabled" } : {}), alias: 'dbxActionAutoModify', transform: isNotFalse });
|
|
339
300
|
markAsModified$ = toObservable(this.autoModifyEnabled).pipe(distinctUntilChanged(), switchMap((x) => {
|
|
340
301
|
let obs;
|
|
341
302
|
if (x) {
|
|
@@ -351,16 +312,16 @@ class DbxActionAutoModifyDirective {
|
|
|
351
312
|
this.source.setIsModified(true);
|
|
352
313
|
}));
|
|
353
314
|
}
|
|
354
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
355
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
315
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionAutoModifyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
316
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionAutoModifyDirective, isStandalone: true, selector: "dbxActionAutoModify, [dbxActionAutoModify]", inputs: { autoModifyEnabled: { classPropertyName: "autoModifyEnabled", publicName: "dbxActionAutoModify", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
356
317
|
}
|
|
357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionAutoModifyDirective, decorators: [{
|
|
358
319
|
type: Directive,
|
|
359
320
|
args: [{
|
|
360
321
|
selector: 'dbxActionAutoModify, [dbxActionAutoModify]',
|
|
361
322
|
standalone: true
|
|
362
323
|
}]
|
|
363
|
-
}], ctorParameters: () => [] });
|
|
324
|
+
}], ctorParameters: () => [], propDecorators: { autoModifyEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionAutoModify", required: false }] }] } });
|
|
364
325
|
|
|
365
326
|
const DEFAULT_DEBOUNCE_MS = 2 * 1000;
|
|
366
327
|
const DEFAULT_THROTTLE_MS = 10 * 1000;
|
|
@@ -375,14 +336,14 @@ const DBX_ACTION_AUTO_TRIGGER_INSTANT_TRIGGER_DEBOUNCE = 10;
|
|
|
375
336
|
*/
|
|
376
337
|
class DbxActionAutoTriggerDirective {
|
|
377
338
|
source = inject((DbxActionContextStoreSourceInstance), { host: true });
|
|
378
|
-
triggerDebounce = input(undefined);
|
|
379
|
-
triggerThrottle = input(undefined);
|
|
380
|
-
triggerErrorThrottle = input(DEFAULT_ERROR_THROTTLE_MS, { transform: (x) => x ?? DEFAULT_ERROR_THROTTLE_MS });
|
|
381
|
-
maxErrorsForThrottle = input(MAX_ERRORS_TO_THROTTLE_ON, { transform: (x) => x ?? MAX_ERRORS_TO_THROTTLE_ON });
|
|
382
|
-
triggerLimit = input();
|
|
383
|
-
triggerEnabled = input(true, { alias: 'dbxActionAutoTrigger', transform: isNotFalse });
|
|
384
|
-
useFastTriggerPreset = input(false, { transform: isDefinedAndNotFalse });
|
|
385
|
-
useInstantTriggerPreset = input(false, { transform: isDefinedAndNotFalse });
|
|
339
|
+
triggerDebounce = input(undefined, ...(ngDevMode ? [{ debugName: "triggerDebounce" }] : []));
|
|
340
|
+
triggerThrottle = input(undefined, ...(ngDevMode ? [{ debugName: "triggerThrottle" }] : []));
|
|
341
|
+
triggerErrorThrottle = input(DEFAULT_ERROR_THROTTLE_MS, { ...(ngDevMode ? { debugName: "triggerErrorThrottle" } : {}), transform: (x) => x ?? DEFAULT_ERROR_THROTTLE_MS });
|
|
342
|
+
maxErrorsForThrottle = input(MAX_ERRORS_TO_THROTTLE_ON, { ...(ngDevMode ? { debugName: "maxErrorsForThrottle" } : {}), transform: (x) => x ?? MAX_ERRORS_TO_THROTTLE_ON });
|
|
343
|
+
triggerLimit = input(...(ngDevMode ? [undefined, { debugName: "triggerLimit" }] : []));
|
|
344
|
+
triggerEnabled = input(true, { ...(ngDevMode ? { debugName: "triggerEnabled" } : {}), alias: 'dbxActionAutoTrigger', transform: isNotFalse });
|
|
345
|
+
useFastTriggerPreset = input(false, { ...(ngDevMode ? { debugName: "useFastTriggerPreset" } : {}), transform: isDefinedAndNotFalse });
|
|
346
|
+
useInstantTriggerPreset = input(false, { ...(ngDevMode ? { debugName: "useInstantTriggerPreset" } : {}), transform: isDefinedAndNotFalse });
|
|
386
347
|
triggerDebounceSignal = computed(() => {
|
|
387
348
|
let debounce = this.triggerDebounce();
|
|
388
349
|
if (debounce == null) {
|
|
@@ -396,7 +357,7 @@ class DbxActionAutoTriggerDirective {
|
|
|
396
357
|
}
|
|
397
358
|
}
|
|
398
359
|
return debounce ?? DEFAULT_DEBOUNCE_MS;
|
|
399
|
-
});
|
|
360
|
+
}, ...(ngDevMode ? [{ debugName: "triggerDebounceSignal" }] : []));
|
|
400
361
|
triggerThrottleSignal = computed(() => {
|
|
401
362
|
let throttle = this.triggerThrottle();
|
|
402
363
|
if (throttle == null) {
|
|
@@ -410,8 +371,8 @@ class DbxActionAutoTriggerDirective {
|
|
|
410
371
|
}
|
|
411
372
|
}
|
|
412
373
|
return throttle ?? DEFAULT_THROTTLE_MS;
|
|
413
|
-
});
|
|
414
|
-
triggerCountSignal = signal(0);
|
|
374
|
+
}, ...(ngDevMode ? [{ debugName: "triggerThrottleSignal" }] : []));
|
|
375
|
+
triggerCountSignal = signal(0, ...(ngDevMode ? [{ debugName: "triggerCountSignal" }] : []));
|
|
415
376
|
_errorCount$ = this.source.errorCountSinceLastSuccess$;
|
|
416
377
|
_triggerCount$ = this.source.isModifiedAndCanTriggerUpdates$.pipe(
|
|
417
378
|
// each time something is triggered the
|
|
@@ -455,16 +416,16 @@ class DbxActionAutoTriggerDirective {
|
|
|
455
416
|
})
|
|
456
417
|
});
|
|
457
418
|
}
|
|
458
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
459
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
419
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionAutoTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
420
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionAutoTriggerDirective, isStandalone: true, selector: "dbxActionAutoTrigger,[dbxActionAutoTrigger]", inputs: { triggerDebounce: { classPropertyName: "triggerDebounce", publicName: "triggerDebounce", isSignal: true, isRequired: false, transformFunction: null }, triggerThrottle: { classPropertyName: "triggerThrottle", publicName: "triggerThrottle", isSignal: true, isRequired: false, transformFunction: null }, triggerErrorThrottle: { classPropertyName: "triggerErrorThrottle", publicName: "triggerErrorThrottle", isSignal: true, isRequired: false, transformFunction: null }, maxErrorsForThrottle: { classPropertyName: "maxErrorsForThrottle", publicName: "maxErrorsForThrottle", isSignal: true, isRequired: false, transformFunction: null }, triggerLimit: { classPropertyName: "triggerLimit", publicName: "triggerLimit", isSignal: true, isRequired: false, transformFunction: null }, triggerEnabled: { classPropertyName: "triggerEnabled", publicName: "dbxActionAutoTrigger", isSignal: true, isRequired: false, transformFunction: null }, useFastTriggerPreset: { classPropertyName: "useFastTriggerPreset", publicName: "useFastTriggerPreset", isSignal: true, isRequired: false, transformFunction: null }, useInstantTriggerPreset: { classPropertyName: "useInstantTriggerPreset", publicName: "useInstantTriggerPreset", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
460
421
|
}
|
|
461
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionAutoTriggerDirective, decorators: [{
|
|
462
423
|
type: Directive,
|
|
463
424
|
args: [{
|
|
464
425
|
selector: 'dbxActionAutoTrigger,[dbxActionAutoTrigger]',
|
|
465
426
|
standalone: true
|
|
466
427
|
}]
|
|
467
|
-
}], ctorParameters: () => [] });
|
|
428
|
+
}], ctorParameters: () => [], propDecorators: { triggerDebounce: [{ type: i0.Input, args: [{ isSignal: true, alias: "triggerDebounce", required: false }] }], triggerThrottle: [{ type: i0.Input, args: [{ isSignal: true, alias: "triggerThrottle", required: false }] }], triggerErrorThrottle: [{ type: i0.Input, args: [{ isSignal: true, alias: "triggerErrorThrottle", required: false }] }], maxErrorsForThrottle: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxErrorsForThrottle", required: false }] }], triggerLimit: [{ type: i0.Input, args: [{ isSignal: true, alias: "triggerLimit", required: false }] }], triggerEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionAutoTrigger", required: false }] }], useFastTriggerPreset: [{ type: i0.Input, args: [{ isSignal: true, alias: "useFastTriggerPreset", required: false }] }], useInstantTriggerPreset: [{ type: i0.Input, args: [{ isSignal: true, alias: "useInstantTriggerPreset", required: false }] }] } });
|
|
468
429
|
|
|
469
430
|
/**
|
|
470
431
|
* WorkInstanceDelegate implementation using an DbxActionContextStoreSourceInstance.
|
|
@@ -847,10 +808,10 @@ class ActionContextStore extends ComponentStore {
|
|
|
847
808
|
// do not call super.destroy here, to keep the component store from destroying itself.
|
|
848
809
|
// the lockset is configured to cleanup the component store.
|
|
849
810
|
}
|
|
850
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
851
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
811
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ActionContextStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
812
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ActionContextStore });
|
|
852
813
|
}
|
|
853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
814
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ActionContextStore, decorators: [{
|
|
854
815
|
type: Injectable
|
|
855
816
|
}], ctorParameters: () => [] });
|
|
856
817
|
function updateIsSameOnActionContextState(state, isSame) {
|
|
@@ -994,10 +955,10 @@ class DbxActionContextMachineAsService extends DbxActionContextMachine {
|
|
|
994
955
|
});
|
|
995
956
|
clean(() => this.destroy());
|
|
996
957
|
}
|
|
997
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
998
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
958
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionContextMachineAsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
959
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionContextMachineAsService });
|
|
999
960
|
}
|
|
1000
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionContextMachineAsService, decorators: [{
|
|
1001
962
|
type: Injectable
|
|
1002
963
|
}], ctorParameters: () => [] });
|
|
1003
964
|
|
|
@@ -1034,7 +995,7 @@ function provideSecondaryActionStoreSource(sourceType) {
|
|
|
1034
995
|
}
|
|
1035
996
|
|
|
1036
997
|
/**
|
|
1037
|
-
* Provides an DbxActionContext.
|
|
998
|
+
* Provides an DbxAction/DbxActionContext.
|
|
1038
999
|
*/
|
|
1039
1000
|
class DbxActionDirective extends DbxActionContextBaseSource {
|
|
1040
1001
|
constructor() {
|
|
@@ -1046,13 +1007,13 @@ class DbxActionDirective extends DbxActionContextBaseSource {
|
|
|
1046
1007
|
});
|
|
1047
1008
|
});
|
|
1048
1009
|
}
|
|
1049
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1050
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1010
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1011
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxActionDirective, isStandalone: true, selector: "dbx-action,[dbxAction]", providers: provideActionStoreSource(DbxActionDirective), exportAs: ["action", "dbxAction"], usesInheritance: true, ngImport: i0 });
|
|
1051
1012
|
}
|
|
1052
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionDirective, decorators: [{
|
|
1053
1014
|
type: Directive,
|
|
1054
1015
|
args: [{
|
|
1055
|
-
selector: 'dbx-action,[dbxAction]
|
|
1016
|
+
selector: 'dbx-action,[dbxAction]',
|
|
1056
1017
|
exportAs: 'action,dbxAction',
|
|
1057
1018
|
providers: provideActionStoreSource(DbxActionDirective),
|
|
1058
1019
|
standalone: true
|
|
@@ -1063,19 +1024,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1063
1024
|
* Directive that provides a DbxActionSourceDirective that is passed in.
|
|
1064
1025
|
*/
|
|
1065
1026
|
class DbxActionSourceDirective {
|
|
1066
|
-
dbxActionSource = input();
|
|
1027
|
+
dbxActionSource = input(...(ngDevMode ? [undefined, { debugName: "dbxActionSource" }] : []));
|
|
1067
1028
|
store$ = toObservable(this.dbxActionSource).pipe(filterMaybe(), switchMap((x) => actionContextStoreSourcePipe(x.store$)));
|
|
1068
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1069
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1029
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1030
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionSourceDirective, isStandalone: true, selector: "[dbxActionSource]", inputs: { dbxActionSource: { classPropertyName: "dbxActionSource", publicName: "dbxActionSource", isSignal: true, isRequired: false, transformFunction: null } }, providers: provideSecondaryActionStoreSource(DbxActionSourceDirective), ngImport: i0 });
|
|
1070
1031
|
}
|
|
1071
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1032
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionSourceDirective, decorators: [{
|
|
1072
1033
|
type: Directive,
|
|
1073
1034
|
args: [{
|
|
1074
1035
|
selector: '[dbxActionSource]',
|
|
1075
1036
|
providers: provideSecondaryActionStoreSource(DbxActionSourceDirective),
|
|
1076
1037
|
standalone: true
|
|
1077
1038
|
}]
|
|
1078
|
-
}] });
|
|
1039
|
+
}], propDecorators: { dbxActionSource: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionSource", required: false }] }] } });
|
|
1079
1040
|
|
|
1080
1041
|
/**
|
|
1081
1042
|
* Prints out the current state to the console. Useful for debugging.
|
|
@@ -1087,10 +1048,10 @@ class DbxActionContextLoggerDirective {
|
|
|
1087
1048
|
console.log('dbxActionLogger - state: ', state);
|
|
1088
1049
|
}));
|
|
1089
1050
|
}
|
|
1090
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1091
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1051
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionContextLoggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1052
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxActionContextLoggerDirective, isStandalone: true, selector: "[dbxActionLogger],[dbxActionContextLogger]", ngImport: i0 });
|
|
1092
1053
|
}
|
|
1093
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1054
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionContextLoggerDirective, decorators: [{
|
|
1094
1055
|
type: Directive,
|
|
1095
1056
|
args: [{
|
|
1096
1057
|
selector: '[dbxActionLogger],[dbxActionContextLogger]',
|
|
@@ -1163,15 +1124,15 @@ function actionContextStoreSourceMap() {
|
|
|
1163
1124
|
*/
|
|
1164
1125
|
class DbxActionContextMapDirective {
|
|
1165
1126
|
actionContextStoreSourceMap = clean(inject(ActionContextStoreSourceMap));
|
|
1166
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1167
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1127
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionContextMapDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1128
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxActionContextMapDirective, isStandalone: true, selector: "[dbxActionContextMap]", providers: [
|
|
1168
1129
|
{
|
|
1169
1130
|
provide: ActionContextStoreSourceMap,
|
|
1170
1131
|
useFactory: actionContextStoreSourceMap
|
|
1171
1132
|
}
|
|
1172
1133
|
], exportAs: ["actionMap"], ngImport: i0 });
|
|
1173
1134
|
}
|
|
1174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionContextMapDirective, decorators: [{
|
|
1175
1136
|
type: Directive,
|
|
1176
1137
|
args: [{
|
|
1177
1138
|
selector: '[dbxActionContextMap]',
|
|
@@ -1191,20 +1152,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1191
1152
|
*/
|
|
1192
1153
|
class DbxActionFromMapDirective {
|
|
1193
1154
|
_actionContextStoreSourceMap = inject(ActionContextStoreSourceMap);
|
|
1194
|
-
key = input(undefined, { alias: 'dbxActionFromMap' });
|
|
1155
|
+
key = input(undefined, { ...(ngDevMode ? { debugName: "key" } : {}), alias: 'dbxActionFromMap' });
|
|
1195
1156
|
key$ = toObservable(this.key);
|
|
1196
1157
|
store$ = this.key$.pipe(filterMaybe(), switchMap((x) => this._actionContextStoreSourceMap.sourceForKey(x).store$));
|
|
1197
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1198
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1158
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionFromMapDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1159
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionFromMapDirective, isStandalone: true, selector: "[dbxActionFromMap]", inputs: { key: { classPropertyName: "key", publicName: "dbxActionFromMap", isSignal: true, isRequired: false, transformFunction: null } }, providers: provideSecondaryActionStoreSource(DbxActionFromMapDirective), ngImport: i0 });
|
|
1199
1160
|
}
|
|
1200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionFromMapDirective, decorators: [{
|
|
1201
1162
|
type: Directive,
|
|
1202
1163
|
args: [{
|
|
1203
1164
|
selector: '[dbxActionFromMap]',
|
|
1204
1165
|
providers: provideSecondaryActionStoreSource(DbxActionFromMapDirective),
|
|
1205
1166
|
standalone: true
|
|
1206
1167
|
}]
|
|
1207
|
-
}] });
|
|
1168
|
+
}], propDecorators: { key: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionFromMap", required: false }] }] } });
|
|
1208
1169
|
|
|
1209
1170
|
/**
|
|
1210
1171
|
* Used to communicate with an dbxActionMap and set the ActionContextStore to the store based on the key.
|
|
@@ -1212,7 +1173,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1212
1173
|
class DbxActionMapSourceDirective {
|
|
1213
1174
|
_actionContextStoreSourceMap = inject(ActionContextStoreSourceMap);
|
|
1214
1175
|
source = inject(ActionContextStoreSource, { host: true });
|
|
1215
|
-
key = input(undefined, { alias: 'dbxActionMapSource' });
|
|
1176
|
+
key = input(undefined, { ...(ngDevMode ? { debugName: "key" } : {}), alias: 'dbxActionMapSource' });
|
|
1216
1177
|
_currentKey;
|
|
1217
1178
|
_keyEffect = effect(() => {
|
|
1218
1179
|
const nextKey = this.key();
|
|
@@ -1221,7 +1182,7 @@ class DbxActionMapSourceDirective {
|
|
|
1221
1182
|
}
|
|
1222
1183
|
this._currentKey = nextKey;
|
|
1223
1184
|
this._addToStore();
|
|
1224
|
-
}, {
|
|
1185
|
+
}, ...(ngDevMode ? [{ debugName: "_keyEffect" }] : []));
|
|
1225
1186
|
ngOnDestroy() {
|
|
1226
1187
|
this._removeFromToStore();
|
|
1227
1188
|
}
|
|
@@ -1235,16 +1196,16 @@ class DbxActionMapSourceDirective {
|
|
|
1235
1196
|
this._actionContextStoreSourceMap.removeStoreSource(this._currentKey);
|
|
1236
1197
|
}
|
|
1237
1198
|
}
|
|
1238
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1239
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1199
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionMapSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1200
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionMapSourceDirective, isStandalone: true, selector: "[dbxActionMapSource]", inputs: { key: { classPropertyName: "key", publicName: "dbxActionMapSource", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1240
1201
|
}
|
|
1241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionMapSourceDirective, decorators: [{
|
|
1242
1203
|
type: Directive,
|
|
1243
1204
|
args: [{
|
|
1244
1205
|
selector: '[dbxActionMapSource]',
|
|
1245
1206
|
standalone: true
|
|
1246
1207
|
}]
|
|
1247
|
-
}] });
|
|
1208
|
+
}], propDecorators: { key: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionMapSource", required: false }] }] } });
|
|
1248
1209
|
|
|
1249
1210
|
/**
|
|
1250
1211
|
* Creates a new ActionContextStoreSourceMapReader from the input.
|
|
@@ -1287,7 +1248,7 @@ const DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY = 'action_map_working_disable';
|
|
|
1287
1248
|
class DbxActionMapWorkingDisableDirective {
|
|
1288
1249
|
_actionContextStoreSourceMap = inject(ActionContextStoreSourceMap);
|
|
1289
1250
|
source = inject(DbxActionContextStoreSourceInstance, { host: true });
|
|
1290
|
-
disabledKey = input(undefined, { alias: 'dbxActionMapWorkingDisable' });
|
|
1251
|
+
disabledKey = input(undefined, { ...(ngDevMode ? { debugName: "disabledKey" } : {}), alias: 'dbxActionMapWorkingDisable' });
|
|
1291
1252
|
areAnySourcesWorking$ = actionContextStoreSourceMapReader(this._actionContextStoreSourceMap.actionKeySourceMap$).checkAny((x) => x.isWorking$, false);
|
|
1292
1253
|
constructor() {
|
|
1293
1254
|
cleanSubscription(this.areAnySourcesWorking$.subscribe((x) => {
|
|
@@ -1297,16 +1258,16 @@ class DbxActionMapWorkingDisableDirective {
|
|
|
1297
1258
|
this.source.enable(this.disabledKey() || DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY);
|
|
1298
1259
|
});
|
|
1299
1260
|
}
|
|
1300
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1301
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1261
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionMapWorkingDisableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1262
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionMapWorkingDisableDirective, isStandalone: true, selector: "[dbxActionMapWorkingDisable]", inputs: { disabledKey: { classPropertyName: "disabledKey", publicName: "dbxActionMapWorkingDisable", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1302
1263
|
}
|
|
1303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionMapWorkingDisableDirective, decorators: [{
|
|
1304
1265
|
type: Directive,
|
|
1305
1266
|
args: [{
|
|
1306
1267
|
selector: '[dbxActionMapWorkingDisable]',
|
|
1307
1268
|
standalone: true
|
|
1308
1269
|
}]
|
|
1309
|
-
}], ctorParameters: () => [] });
|
|
1270
|
+
}], ctorParameters: () => [], propDecorators: { disabledKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionMapWorkingDisable", required: false }] }] } });
|
|
1310
1271
|
|
|
1311
1272
|
const APP_ACTION_DISABLED_DIRECTIVE_KEY = 'dbx_action_disabled';
|
|
1312
1273
|
/**
|
|
@@ -1314,7 +1275,7 @@ const APP_ACTION_DISABLED_DIRECTIVE_KEY = 'dbx_action_disabled';
|
|
|
1314
1275
|
*/
|
|
1315
1276
|
class DbxActionDisabledDirective {
|
|
1316
1277
|
source = inject((DbxActionContextStoreSourceInstance), { host: true });
|
|
1317
|
-
disabled = input(false, { alias: 'dbxActionDisabled', transform: (value) => value !== false });
|
|
1278
|
+
disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : {}), alias: 'dbxActionDisabled', transform: (value) => value !== false });
|
|
1318
1279
|
disabled$ = toObservable(this.disabled);
|
|
1319
1280
|
constructor() {
|
|
1320
1281
|
cleanSubscription(this.disabled$.subscribe((x) => {
|
|
@@ -1322,16 +1283,16 @@ class DbxActionDisabledDirective {
|
|
|
1322
1283
|
}));
|
|
1323
1284
|
clean(() => this.source.enable(APP_ACTION_DISABLED_DIRECTIVE_KEY));
|
|
1324
1285
|
}
|
|
1325
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1326
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1286
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionDisabledDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1287
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionDisabledDirective, isStandalone: true, selector: "[dbxActionDisabled]", inputs: { disabled: { classPropertyName: "disabled", publicName: "dbxActionDisabled", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1327
1288
|
}
|
|
1328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionDisabledDirective, decorators: [{
|
|
1329
1290
|
type: Directive,
|
|
1330
1291
|
args: [{
|
|
1331
1292
|
selector: '[dbxActionDisabled]',
|
|
1332
1293
|
standalone: true
|
|
1333
1294
|
}]
|
|
1334
|
-
}], ctorParameters: () => [] });
|
|
1295
|
+
}], ctorParameters: () => [], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionDisabled", required: false }] }] } });
|
|
1335
1296
|
|
|
1336
1297
|
const APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY = 'dbx_action_disabled_on_success';
|
|
1337
1298
|
/**
|
|
@@ -1339,7 +1300,7 @@ const APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY = 'dbx_action_disabled_on_suc
|
|
|
1339
1300
|
*/
|
|
1340
1301
|
class DbxActionDisabledOnSuccessDirective {
|
|
1341
1302
|
source = inject((DbxActionContextStoreSourceInstance), { host: true });
|
|
1342
|
-
disabledOnSuccess = input(true, { alias: 'dbxActionDisabledOnSuccess', transform: (value) => value !== false });
|
|
1303
|
+
disabledOnSuccess = input(true, { ...(ngDevMode ? { debugName: "disabledOnSuccess" } : {}), alias: 'dbxActionDisabledOnSuccess', transform: (value) => value !== false });
|
|
1343
1304
|
disabledOnSuccess$ = toObservable(this.disabledOnSuccess);
|
|
1344
1305
|
constructor() {
|
|
1345
1306
|
cleanSubscription(combineLatest([this.disabledOnSuccess$, this.source.isSuccess$]).subscribe(([disableOnSuccess, success]) => {
|
|
@@ -1347,16 +1308,16 @@ class DbxActionDisabledOnSuccessDirective {
|
|
|
1347
1308
|
}));
|
|
1348
1309
|
clean(() => this.source.enable(APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY));
|
|
1349
1310
|
}
|
|
1350
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1351
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1311
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionDisabledOnSuccessDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1312
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionDisabledOnSuccessDirective, isStandalone: true, selector: "[dbxActionDisabledOnSuccess]", inputs: { disabledOnSuccess: { classPropertyName: "disabledOnSuccess", publicName: "dbxActionDisabledOnSuccess", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1352
1313
|
}
|
|
1353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionDisabledOnSuccessDirective, decorators: [{
|
|
1354
1315
|
type: Directive,
|
|
1355
1316
|
args: [{
|
|
1356
1317
|
selector: '[dbxActionDisabledOnSuccess]',
|
|
1357
1318
|
standalone: true
|
|
1358
1319
|
}]
|
|
1359
|
-
}], ctorParameters: () => [] });
|
|
1320
|
+
}], ctorParameters: () => [], propDecorators: { disabledOnSuccess: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionDisabledOnSuccess", required: false }] }] } });
|
|
1360
1321
|
|
|
1361
1322
|
const DBX_ACTION_HANDLER_LOCK_KEY = 'dbxActionHandler';
|
|
1362
1323
|
/**
|
|
@@ -1424,48 +1385,48 @@ class AbstractDbxActionHandlerDirective {
|
|
|
1424
1385
|
constructor() {
|
|
1425
1386
|
this._dbxActionHandlerInstance.init();
|
|
1426
1387
|
}
|
|
1427
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1428
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1388
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxActionHandlerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1389
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: AbstractDbxActionHandlerDirective, isStandalone: true, ngImport: i0 });
|
|
1429
1390
|
}
|
|
1430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxActionHandlerDirective, decorators: [{
|
|
1431
1392
|
type: Directive
|
|
1432
1393
|
}], ctorParameters: () => [] });
|
|
1433
1394
|
/**
|
|
1434
1395
|
* Directive that passes a Work function to handle a valueReady$ event from an action context.
|
|
1435
1396
|
*/
|
|
1436
1397
|
class DbxActionHandlerDirective extends AbstractDbxActionHandlerDirective {
|
|
1437
|
-
handlerFunction = input.required({ alias: 'dbxActionHandler' });
|
|
1398
|
+
handlerFunction = input.required({ ...(ngDevMode ? { debugName: "handlerFunction" } : {}), alias: 'dbxActionHandler' });
|
|
1438
1399
|
_handlerFunctionEffect = effect(() => {
|
|
1439
1400
|
this._dbxActionHandlerInstance.setHandlerFunction(this.handlerFunction());
|
|
1440
|
-
});
|
|
1441
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1442
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1401
|
+
}, ...(ngDevMode ? [{ debugName: "_handlerFunctionEffect" }] : []));
|
|
1402
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionHandlerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1403
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionHandlerDirective, isStandalone: true, selector: "[dbxActionHandler]", inputs: { handlerFunction: { classPropertyName: "handlerFunction", publicName: "dbxActionHandler", isSignal: true, isRequired: true, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
1443
1404
|
}
|
|
1444
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionHandlerDirective, decorators: [{
|
|
1445
1406
|
type: Directive,
|
|
1446
1407
|
args: [{
|
|
1447
1408
|
selector: '[dbxActionHandler]',
|
|
1448
1409
|
standalone: true
|
|
1449
1410
|
}]
|
|
1450
|
-
}] });
|
|
1411
|
+
}], propDecorators: { handlerFunction: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionHandler", required: true }] }] } });
|
|
1451
1412
|
/**
|
|
1452
1413
|
* Directive that passes a value to handle a valueReady$ event from an action context.
|
|
1453
1414
|
*/
|
|
1454
1415
|
class DbxActionHandlerValueDirective extends AbstractDbxActionHandlerDirective {
|
|
1455
|
-
handlerValue = input.required({ alias: 'dbxActionHandlerValue' });
|
|
1416
|
+
handlerValue = input.required({ ...(ngDevMode ? { debugName: "handlerValue" } : {}), alias: 'dbxActionHandlerValue' });
|
|
1456
1417
|
_handlerValueEffect = effect(() => {
|
|
1457
1418
|
this._dbxActionHandlerInstance.setHandlerValue(this.handlerValue());
|
|
1458
|
-
});
|
|
1459
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1460
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1419
|
+
}, ...(ngDevMode ? [{ debugName: "_handlerValueEffect" }] : []));
|
|
1420
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionHandlerValueDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1421
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionHandlerValueDirective, isStandalone: true, selector: "[dbxActionHandlerValue]", inputs: { handlerValue: { classPropertyName: "handlerValue", publicName: "dbxActionHandlerValue", isSignal: true, isRequired: true, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
1461
1422
|
}
|
|
1462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1423
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionHandlerValueDirective, decorators: [{
|
|
1463
1424
|
type: Directive,
|
|
1464
1425
|
args: [{
|
|
1465
1426
|
selector: '[dbxActionHandlerValue]',
|
|
1466
1427
|
standalone: true
|
|
1467
1428
|
}]
|
|
1468
|
-
}] });
|
|
1429
|
+
}], propDecorators: { handlerValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionHandlerValue", required: true }] }] } });
|
|
1469
1430
|
|
|
1470
1431
|
/**
|
|
1471
1432
|
* Abstract directive class that watches a show$ observable and behaves like *ngIf.
|
|
@@ -1484,10 +1445,10 @@ class AbstractIfDirective {
|
|
|
1484
1445
|
}
|
|
1485
1446
|
});
|
|
1486
1447
|
}
|
|
1487
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1488
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1448
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractIfDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1449
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: AbstractIfDirective, isStandalone: true, ngImport: i0 });
|
|
1489
1450
|
}
|
|
1490
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1451
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractIfDirective, decorators: [{
|
|
1491
1452
|
type: Directive
|
|
1492
1453
|
}] });
|
|
1493
1454
|
|
|
@@ -1505,7 +1466,7 @@ const transformEmptyStringInputToUndefined = (value) => (value === '' ? undefine
|
|
|
1505
1466
|
*/
|
|
1506
1467
|
class DbxActionIdleDirective extends AbstractIfDirective {
|
|
1507
1468
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
1508
|
-
hideAfter = input(undefined, { alias: 'dbxActionIdle', transform: transformEmptyStringInputToUndefined });
|
|
1469
|
+
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : {}), alias: 'dbxActionIdle', transform: transformEmptyStringInputToUndefined });
|
|
1509
1470
|
show$ = this._store.idle$.pipe(exhaustMap((idle) => {
|
|
1510
1471
|
if (idle) {
|
|
1511
1472
|
return emitDelayObs(true, false, this.hideAfter());
|
|
@@ -1514,16 +1475,16 @@ class DbxActionIdleDirective extends AbstractIfDirective {
|
|
|
1514
1475
|
return of(false);
|
|
1515
1476
|
}
|
|
1516
1477
|
}), shareReplay(1));
|
|
1517
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1518
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1478
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionIdleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1479
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionIdleDirective, isStandalone: true, selector: "[dbxActionIdle]", inputs: { hideAfter: { classPropertyName: "hideAfter", publicName: "dbxActionIdle", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
1519
1480
|
}
|
|
1520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionIdleDirective, decorators: [{
|
|
1521
1482
|
type: Directive,
|
|
1522
1483
|
args: [{
|
|
1523
1484
|
selector: '[dbxActionIdle]',
|
|
1524
1485
|
standalone: true
|
|
1525
1486
|
}]
|
|
1526
|
-
}] });
|
|
1487
|
+
}], propDecorators: { hideAfter: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionIdle", required: false }] }] } });
|
|
1527
1488
|
|
|
1528
1489
|
/**
|
|
1529
1490
|
* Structural directive that displays the content before the store has success.
|
|
@@ -1532,7 +1493,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1532
1493
|
*/
|
|
1533
1494
|
class DbxActionPreSuccessDirective extends AbstractIfDirective {
|
|
1534
1495
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
1535
|
-
hideFor = input(undefined, { alias: 'dbxActionPreSuccess', transform: transformEmptyStringInputToUndefined });
|
|
1496
|
+
hideFor = input(undefined, { ...(ngDevMode ? { debugName: "hideFor" } : {}), alias: 'dbxActionPreSuccess', transform: transformEmptyStringInputToUndefined });
|
|
1536
1497
|
show$ = this._store.isSuccess$.pipe(exhaustMap((success) => {
|
|
1537
1498
|
if (success) {
|
|
1538
1499
|
return emitDelayObs(false, true, this.hideFor());
|
|
@@ -1541,16 +1502,16 @@ class DbxActionPreSuccessDirective extends AbstractIfDirective {
|
|
|
1541
1502
|
return of(true);
|
|
1542
1503
|
}
|
|
1543
1504
|
}), shareReplay(1));
|
|
1544
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1545
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1505
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionPreSuccessDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1506
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionPreSuccessDirective, isStandalone: true, selector: "[dbxActionPreSuccess]", inputs: { hideFor: { classPropertyName: "hideFor", publicName: "dbxActionPreSuccess", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
1546
1507
|
}
|
|
1547
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionPreSuccessDirective, decorators: [{
|
|
1548
1509
|
type: Directive,
|
|
1549
1510
|
args: [{
|
|
1550
1511
|
selector: '[dbxActionPreSuccess]',
|
|
1551
1512
|
standalone: true
|
|
1552
1513
|
}]
|
|
1553
|
-
}] });
|
|
1514
|
+
}], propDecorators: { hideFor: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionPreSuccess", required: false }] }] } });
|
|
1554
1515
|
|
|
1555
1516
|
/**
|
|
1556
1517
|
* Structural directive that displays the content when the store has a success value.
|
|
@@ -1559,7 +1520,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1559
1520
|
*/
|
|
1560
1521
|
class DbxActionHasSuccessDirective extends AbstractIfDirective {
|
|
1561
1522
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
1562
|
-
hideAfter = input(undefined, { alias: 'dbxActionHasSuccess', transform: transformEmptyStringInputToUndefined });
|
|
1523
|
+
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : {}), alias: 'dbxActionHasSuccess', transform: transformEmptyStringInputToUndefined });
|
|
1563
1524
|
show$ = this._store.isSuccess$.pipe(exhaustMap((success) => {
|
|
1564
1525
|
if (success) {
|
|
1565
1526
|
return emitDelayObs(true, false, this.hideAfter());
|
|
@@ -1568,23 +1529,23 @@ class DbxActionHasSuccessDirective extends AbstractIfDirective {
|
|
|
1568
1529
|
return of(false);
|
|
1569
1530
|
}
|
|
1570
1531
|
}), shareReplay(1));
|
|
1571
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1572
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1532
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionHasSuccessDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1533
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionHasSuccessDirective, isStandalone: true, selector: "[dbxActionHasSuccess]", inputs: { hideAfter: { classPropertyName: "hideAfter", publicName: "dbxActionHasSuccess", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
1573
1534
|
}
|
|
1574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1535
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionHasSuccessDirective, decorators: [{
|
|
1575
1536
|
type: Directive,
|
|
1576
1537
|
args: [{
|
|
1577
1538
|
selector: '[dbxActionHasSuccess]',
|
|
1578
1539
|
standalone: true
|
|
1579
1540
|
}]
|
|
1580
|
-
}] });
|
|
1541
|
+
}], propDecorators: { hideAfter: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionHasSuccess", required: false }] }] } });
|
|
1581
1542
|
|
|
1582
1543
|
/**
|
|
1583
1544
|
* Directive that executes a function on ActionContextStore Success.
|
|
1584
1545
|
*/
|
|
1585
1546
|
class DbxActionSuccessHandlerDirective {
|
|
1586
1547
|
source = inject((DbxActionContextStoreSourceInstance), { host: true });
|
|
1587
|
-
dbxActionSuccessHandler = input();
|
|
1548
|
+
dbxActionSuccessHandler = input(...(ngDevMode ? [undefined, { debugName: "dbxActionSuccessHandler" }] : []));
|
|
1588
1549
|
successFunction$ = toObservable(this.dbxActionSuccessHandler).pipe(filterMaybe(), shareReplay(1));
|
|
1589
1550
|
constructor() {
|
|
1590
1551
|
cleanSubscription(this.successFunction$
|
|
@@ -1593,23 +1554,23 @@ class DbxActionSuccessHandlerDirective {
|
|
|
1593
1554
|
}))))
|
|
1594
1555
|
.subscribe());
|
|
1595
1556
|
}
|
|
1596
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1597
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1557
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionSuccessHandlerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1558
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionSuccessHandlerDirective, isStandalone: true, selector: "[dbxActionSuccessHandler]", inputs: { dbxActionSuccessHandler: { classPropertyName: "dbxActionSuccessHandler", publicName: "dbxActionSuccessHandler", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1598
1559
|
}
|
|
1599
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1560
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionSuccessHandlerDirective, decorators: [{
|
|
1600
1561
|
type: Directive,
|
|
1601
1562
|
args: [{
|
|
1602
1563
|
selector: '[dbxActionSuccessHandler]',
|
|
1603
1564
|
standalone: true
|
|
1604
1565
|
}]
|
|
1605
|
-
}], ctorParameters: () => [] });
|
|
1566
|
+
}], ctorParameters: () => [], propDecorators: { dbxActionSuccessHandler: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionSuccessHandler", required: false }] }] } });
|
|
1606
1567
|
|
|
1607
1568
|
/**
|
|
1608
1569
|
* Directive that executes a function on ActionContextStore error.
|
|
1609
1570
|
*/
|
|
1610
1571
|
class DbxActionErrorHandlerDirective {
|
|
1611
1572
|
source = inject((DbxActionContextStoreSourceInstance), { host: true });
|
|
1612
|
-
dbxActionErrorHandler = input();
|
|
1573
|
+
dbxActionErrorHandler = input(...(ngDevMode ? [undefined, { debugName: "dbxActionErrorHandler" }] : []));
|
|
1613
1574
|
errorFunction$ = toObservable(this.dbxActionErrorHandler).pipe(filterMaybe(), shareReplay(1));
|
|
1614
1575
|
constructor() {
|
|
1615
1576
|
cleanSubscription(this.errorFunction$
|
|
@@ -1618,16 +1579,16 @@ class DbxActionErrorHandlerDirective {
|
|
|
1618
1579
|
}))))
|
|
1619
1580
|
.subscribe());
|
|
1620
1581
|
}
|
|
1621
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1622
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1582
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionErrorHandlerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1583
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionErrorHandlerDirective, isStandalone: true, selector: "[dbxActionErrorHandler]", inputs: { dbxActionErrorHandler: { classPropertyName: "dbxActionErrorHandler", publicName: "dbxActionErrorHandler", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1623
1584
|
}
|
|
1624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1585
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionErrorHandlerDirective, decorators: [{
|
|
1625
1586
|
type: Directive,
|
|
1626
1587
|
args: [{
|
|
1627
1588
|
selector: '[dbxActionErrorHandler]',
|
|
1628
1589
|
standalone: true
|
|
1629
1590
|
}]
|
|
1630
|
-
}], ctorParameters: () => [] });
|
|
1591
|
+
}], ctorParameters: () => [], propDecorators: { dbxActionErrorHandler: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionErrorHandler", required: false }] }] } });
|
|
1631
1592
|
|
|
1632
1593
|
/**
|
|
1633
1594
|
* Directive that provides a default value when triggered.
|
|
@@ -1639,7 +1600,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1639
1600
|
* Use a getter if null/undefined values should be passed to the action.
|
|
1640
1601
|
*/
|
|
1641
1602
|
class DbxActionValueDirective {
|
|
1642
|
-
valueOrFunction = input('', { alias: 'dbxActionValue' });
|
|
1603
|
+
valueOrFunction = input('', { ...(ngDevMode ? { debugName: "valueOrFunction" } : {}), alias: 'dbxActionValue' });
|
|
1643
1604
|
source = inject((DbxActionContextStoreSourceInstance), { host: true });
|
|
1644
1605
|
_valueOrFunctionOverride = new BehaviorSubject(undefined);
|
|
1645
1606
|
valueOrFunction$ = combineLatest([this._valueOrFunctionOverride, toObservable(this.valueOrFunction)]).pipe(map(([x, y]) => x ?? y), filterMaybe(), shareReplay(1));
|
|
@@ -1652,16 +1613,16 @@ class DbxActionValueDirective {
|
|
|
1652
1613
|
setValueOrFunction(value) {
|
|
1653
1614
|
this._valueOrFunctionOverride.next(value);
|
|
1654
1615
|
}
|
|
1655
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1656
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1616
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionValueDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1617
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionValueDirective, isStandalone: true, selector: "dbxActionValue,[dbxActionValue]", inputs: { valueOrFunction: { classPropertyName: "valueOrFunction", publicName: "dbxActionValue", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1657
1618
|
}
|
|
1658
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionValueDirective, decorators: [{
|
|
1659
1620
|
type: Directive,
|
|
1660
1621
|
args: [{
|
|
1661
1622
|
selector: 'dbxActionValue,[dbxActionValue]',
|
|
1662
1623
|
standalone: true
|
|
1663
1624
|
}]
|
|
1664
|
-
}], ctorParameters: () => [] });
|
|
1625
|
+
}], ctorParameters: () => [], propDecorators: { valueOrFunction: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionValue", required: false }] }] } });
|
|
1665
1626
|
|
|
1666
1627
|
/**
|
|
1667
1628
|
* Structural directive that displays the content when the store is working.
|
|
@@ -1670,13 +1631,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1670
1631
|
*/
|
|
1671
1632
|
class DbxActionIsWorkingDirective extends AbstractIfDirective {
|
|
1672
1633
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
1673
|
-
hideAfter = input(undefined, { alias: 'dbxActionWorking', transform: transformEmptyStringInputToUndefined });
|
|
1674
|
-
hideAfterIsWorking = input(undefined, { alias: 'dbxActionIsWorking', transform: transformEmptyStringInputToUndefined });
|
|
1634
|
+
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : {}), alias: 'dbxActionWorking', transform: transformEmptyStringInputToUndefined });
|
|
1635
|
+
hideAfterIsWorking = input(undefined, { ...(ngDevMode ? { debugName: "hideAfterIsWorking" } : {}), alias: 'dbxActionIsWorking', transform: transformEmptyStringInputToUndefined });
|
|
1675
1636
|
hideAfterSignal = computed(() => {
|
|
1676
1637
|
const hideAfter = this.hideAfter();
|
|
1677
1638
|
const hideAfterIsWorking = this.hideAfterIsWorking();
|
|
1678
1639
|
return hideAfter ?? hideAfterIsWorking;
|
|
1679
|
-
});
|
|
1640
|
+
}, ...(ngDevMode ? [{ debugName: "hideAfterSignal" }] : []));
|
|
1680
1641
|
show$ = this._store.isWorking$.pipe(exhaustMap((isWorking) => {
|
|
1681
1642
|
const hideAfter = this.hideAfterSignal();
|
|
1682
1643
|
if (isWorking && hideAfter != null) {
|
|
@@ -1686,16 +1647,16 @@ class DbxActionIsWorkingDirective extends AbstractIfDirective {
|
|
|
1686
1647
|
return of(isWorking);
|
|
1687
1648
|
}
|
|
1688
1649
|
}), shareReplay(1));
|
|
1689
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1690
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1650
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionIsWorkingDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1651
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionIsWorkingDirective, isStandalone: true, selector: "[dbxActionWorking],[dbxActionIsWorking]", inputs: { hideAfter: { classPropertyName: "hideAfter", publicName: "dbxActionWorking", isSignal: true, isRequired: false, transformFunction: null }, hideAfterIsWorking: { classPropertyName: "hideAfterIsWorking", publicName: "dbxActionIsWorking", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
1691
1652
|
}
|
|
1692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionIsWorkingDirective, decorators: [{
|
|
1693
1654
|
type: Directive,
|
|
1694
1655
|
args: [{
|
|
1695
1656
|
selector: '[dbxActionWorking],[dbxActionIsWorking]',
|
|
1696
1657
|
standalone: true
|
|
1697
1658
|
}]
|
|
1698
|
-
}] });
|
|
1659
|
+
}], propDecorators: { hideAfter: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionWorking", required: false }] }], hideAfterIsWorking: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionIsWorking", required: false }] }] } });
|
|
1699
1660
|
|
|
1700
1661
|
const APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY = 'dbx_action_enforce_modified';
|
|
1701
1662
|
/**
|
|
@@ -1703,7 +1664,7 @@ const APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY = 'dbx_action_enforce_modified';
|
|
|
1703
1664
|
*/
|
|
1704
1665
|
class DbxActionEnforceModifiedDirective {
|
|
1705
1666
|
source = inject(DbxActionContextStoreSourceInstance, { host: true });
|
|
1706
|
-
enabled = input(true, { alias: 'dbxActionEnforceModified', transform: (value) => value !== false });
|
|
1667
|
+
enabled = input(true, { ...(ngDevMode ? { debugName: "enabled" } : {}), alias: 'dbxActionEnforceModified', transform: (value) => value !== false });
|
|
1707
1668
|
enabled$ = toObservable(this.enabled);
|
|
1708
1669
|
constructor() {
|
|
1709
1670
|
cleanSubscription(combineLatest([this.source.isModified$, this.enabled$])
|
|
@@ -1714,16 +1675,16 @@ class DbxActionEnforceModifiedDirective {
|
|
|
1714
1675
|
}));
|
|
1715
1676
|
clean(() => this.source.enable(APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY));
|
|
1716
1677
|
}
|
|
1717
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1718
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1678
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionEnforceModifiedDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1679
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionEnforceModifiedDirective, isStandalone: true, selector: "[dbxActionEnforceModified]", inputs: { enabled: { classPropertyName: "enabled", publicName: "dbxActionEnforceModified", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1719
1680
|
}
|
|
1720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionEnforceModifiedDirective, decorators: [{
|
|
1721
1682
|
type: Directive,
|
|
1722
1683
|
args: [{
|
|
1723
1684
|
selector: '[dbxActionEnforceModified]',
|
|
1724
1685
|
standalone: true
|
|
1725
1686
|
}]
|
|
1726
|
-
}], ctorParameters: () => [] });
|
|
1687
|
+
}], ctorParameters: () => [], propDecorators: { enabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionEnforceModified", required: false }] }] } });
|
|
1727
1688
|
|
|
1728
1689
|
/**
|
|
1729
1690
|
* Utility class that handles trigger events to retrieve a value.
|
|
@@ -1815,10 +1776,10 @@ class AbstractDbxActionValueGetterDirective {
|
|
|
1815
1776
|
});
|
|
1816
1777
|
});
|
|
1817
1778
|
}
|
|
1818
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1819
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1779
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxActionValueGetterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1780
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: AbstractDbxActionValueGetterDirective, isStandalone: true, ngImport: i0 });
|
|
1820
1781
|
}
|
|
1821
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1782
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxActionValueGetterDirective, decorators: [{
|
|
1822
1783
|
type: Directive
|
|
1823
1784
|
}], ctorParameters: () => [] });
|
|
1824
1785
|
/**
|
|
@@ -1828,9 +1789,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1828
1789
|
* The DbxActionValueDirective always pipes the latests value while waiting for a trigger, and does not allow using a getter.
|
|
1829
1790
|
*/
|
|
1830
1791
|
class DbxActionValueTriggerDirective extends AbstractDbxActionValueGetterDirective {
|
|
1831
|
-
dbxActionValueGetter = input();
|
|
1832
|
-
dbxActionValueGetterIsModified = input();
|
|
1833
|
-
dbxActionValueGetterIsEqual = input();
|
|
1792
|
+
dbxActionValueGetter = input(...(ngDevMode ? [undefined, { debugName: "dbxActionValueGetter" }] : []));
|
|
1793
|
+
dbxActionValueGetterIsModified = input(...(ngDevMode ? [undefined, { debugName: "dbxActionValueGetterIsModified" }] : []));
|
|
1794
|
+
dbxActionValueGetterIsEqual = input(...(ngDevMode ? [undefined, { debugName: "dbxActionValueGetterIsEqual" }] : []));
|
|
1834
1795
|
constructor() {
|
|
1835
1796
|
super();
|
|
1836
1797
|
this.configureInputs({
|
|
@@ -1839,26 +1800,26 @@ class DbxActionValueTriggerDirective extends AbstractDbxActionValueGetterDirecti
|
|
|
1839
1800
|
isEqualSignal: this.dbxActionValueGetterIsEqual
|
|
1840
1801
|
});
|
|
1841
1802
|
}
|
|
1842
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1843
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1803
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionValueTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1804
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionValueTriggerDirective, isStandalone: true, selector: "[dbxActionValueGetter]", inputs: { dbxActionValueGetter: { classPropertyName: "dbxActionValueGetter", publicName: "dbxActionValueGetter", isSignal: true, isRequired: false, transformFunction: null }, dbxActionValueGetterIsModified: { classPropertyName: "dbxActionValueGetterIsModified", publicName: "dbxActionValueGetterIsModified", isSignal: true, isRequired: false, transformFunction: null }, dbxActionValueGetterIsEqual: { classPropertyName: "dbxActionValueGetterIsEqual", publicName: "dbxActionValueGetterIsEqual", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["dbxActionValueGetter"], usesInheritance: true, ngImport: i0 });
|
|
1844
1805
|
}
|
|
1845
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionValueTriggerDirective, decorators: [{
|
|
1846
1807
|
type: Directive,
|
|
1847
1808
|
args: [{
|
|
1848
1809
|
exportAs: 'dbxActionValueGetter',
|
|
1849
1810
|
selector: '[dbxActionValueGetter]',
|
|
1850
1811
|
standalone: true
|
|
1851
1812
|
}]
|
|
1852
|
-
}], ctorParameters: () => [] });
|
|
1813
|
+
}], ctorParameters: () => [], propDecorators: { dbxActionValueGetter: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionValueGetter", required: false }] }], dbxActionValueGetterIsModified: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionValueGetterIsModified", required: false }] }], dbxActionValueGetterIsEqual: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionValueGetterIsEqual", required: false }] }] } });
|
|
1853
1814
|
|
|
1854
1815
|
/**
|
|
1855
1816
|
* Directive that watches a value observable for changes and sets the new value and modified states as necessary.
|
|
1856
1817
|
*/
|
|
1857
1818
|
class DbxActionValueStreamDirective {
|
|
1858
1819
|
source = inject((DbxActionContextStoreSourceInstance), { host: true });
|
|
1859
|
-
dbxActionValueStream = input(EMPTY);
|
|
1860
|
-
dbxActionValueStreamIsEqualValue = input();
|
|
1861
|
-
dbxActionValueStreamIsModifiedValue = input();
|
|
1820
|
+
dbxActionValueStream = input(EMPTY, ...(ngDevMode ? [{ debugName: "dbxActionValueStream" }] : []));
|
|
1821
|
+
dbxActionValueStreamIsEqualValue = input(...(ngDevMode ? [undefined, { debugName: "dbxActionValueStreamIsEqualValue" }] : []));
|
|
1822
|
+
dbxActionValueStreamIsModifiedValue = input(...(ngDevMode ? [undefined, { debugName: "dbxActionValueStreamIsModifiedValue" }] : []));
|
|
1862
1823
|
isModifiedFunction$ = makeIsModifiedFunctionObservable({
|
|
1863
1824
|
isModified: toObservable(this.dbxActionValueStreamIsModifiedValue),
|
|
1864
1825
|
isEqual: toObservable(this.dbxActionValueStreamIsEqualValue)
|
|
@@ -1892,16 +1853,16 @@ class DbxActionValueStreamDirective {
|
|
|
1892
1853
|
})
|
|
1893
1854
|
});
|
|
1894
1855
|
}
|
|
1895
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1896
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1856
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionValueStreamDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1857
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionValueStreamDirective, isStandalone: true, selector: "[dbxActionValueStream]", inputs: { dbxActionValueStream: { classPropertyName: "dbxActionValueStream", publicName: "dbxActionValueStream", isSignal: true, isRequired: false, transformFunction: null }, dbxActionValueStreamIsEqualValue: { classPropertyName: "dbxActionValueStreamIsEqualValue", publicName: "dbxActionValueStreamIsEqualValue", isSignal: true, isRequired: false, transformFunction: null }, dbxActionValueStreamIsModifiedValue: { classPropertyName: "dbxActionValueStreamIsModifiedValue", publicName: "dbxActionValueStreamIsModifiedValue", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1897
1858
|
}
|
|
1898
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1859
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionValueStreamDirective, decorators: [{
|
|
1899
1860
|
type: Directive,
|
|
1900
1861
|
args: [{
|
|
1901
1862
|
selector: '[dbxActionValueStream]',
|
|
1902
1863
|
standalone: true
|
|
1903
1864
|
}]
|
|
1904
|
-
}], ctorParameters: () => [] });
|
|
1865
|
+
}], ctorParameters: () => [], propDecorators: { dbxActionValueStream: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionValueStream", required: false }] }], dbxActionValueStreamIsEqualValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionValueStreamIsEqualValue", required: false }] }], dbxActionValueStreamIsModifiedValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionValueStreamIsModifiedValue", required: false }] }] } });
|
|
1905
1866
|
|
|
1906
1867
|
/**
|
|
1907
1868
|
* Structural directive that displays the content when the store has been triggered.
|
|
@@ -1910,7 +1871,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1910
1871
|
*/
|
|
1911
1872
|
class DbxActionTriggeredDirective extends AbstractIfDirective {
|
|
1912
1873
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
1913
|
-
hideAfter = input(undefined, { alias: 'dbxActionTriggered', transform: transformEmptyStringInputToUndefined });
|
|
1874
|
+
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : {}), alias: 'dbxActionTriggered', transform: transformEmptyStringInputToUndefined });
|
|
1914
1875
|
show$ = this._store.triggered$.pipe(exhaustMap((triggered) => {
|
|
1915
1876
|
if (triggered) {
|
|
1916
1877
|
return emitDelayObs(true, false, this.hideAfter());
|
|
@@ -1919,18 +1880,18 @@ class DbxActionTriggeredDirective extends AbstractIfDirective {
|
|
|
1919
1880
|
return of(false);
|
|
1920
1881
|
}
|
|
1921
1882
|
}), shareReplay(1));
|
|
1922
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1923
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1883
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionTriggeredDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1884
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxActionTriggeredDirective, isStandalone: true, selector: "[dbxActionTriggered]", inputs: { hideAfter: { classPropertyName: "hideAfter", publicName: "dbxActionTriggered", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
1924
1885
|
}
|
|
1925
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionTriggeredDirective, decorators: [{
|
|
1926
1887
|
type: Directive,
|
|
1927
1888
|
args: [{
|
|
1928
1889
|
selector: '[dbxActionTriggered]',
|
|
1929
1890
|
standalone: true
|
|
1930
1891
|
}]
|
|
1931
|
-
}] });
|
|
1892
|
+
}], propDecorators: { hideAfter: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionTriggered", required: false }] }] } });
|
|
1932
1893
|
|
|
1933
|
-
const importsAndExports$
|
|
1894
|
+
const importsAndExports$2 = [
|
|
1934
1895
|
DbxActionDirective,
|
|
1935
1896
|
DbxActionContextMapDirective,
|
|
1936
1897
|
DbxActionFromMapDirective,
|
|
@@ -1958,8 +1919,8 @@ const importsAndExports$8 = [
|
|
|
1958
1919
|
* Contains all base DbxAction components.
|
|
1959
1920
|
*/
|
|
1960
1921
|
class DbxCoreActionModule {
|
|
1961
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1962
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1922
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxCoreActionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1923
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DbxCoreActionModule, imports: [DbxActionDirective,
|
|
1963
1924
|
DbxActionContextMapDirective,
|
|
1964
1925
|
DbxActionFromMapDirective,
|
|
1965
1926
|
DbxActionMapSourceDirective,
|
|
@@ -2002,13 +1963,13 @@ class DbxCoreActionModule {
|
|
|
2002
1963
|
DbxActionSuccessHandlerDirective,
|
|
2003
1964
|
DbxActionErrorHandlerDirective,
|
|
2004
1965
|
DbxActionIsWorkingDirective] });
|
|
2005
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1966
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxCoreActionModule });
|
|
2006
1967
|
}
|
|
2007
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1968
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxCoreActionModule, decorators: [{
|
|
2008
1969
|
type: NgModule,
|
|
2009
1970
|
args: [{
|
|
2010
|
-
imports: importsAndExports$
|
|
2011
|
-
exports: importsAndExports$
|
|
1971
|
+
imports: importsAndExports$2,
|
|
1972
|
+
exports: importsAndExports$2
|
|
2012
1973
|
}]
|
|
2013
1974
|
}] });
|
|
2014
1975
|
|
|
@@ -2581,10 +2542,10 @@ class DbxAppAuthRouterService {
|
|
|
2581
2542
|
goToApp() {
|
|
2582
2543
|
return goWithRouter(this.dbxRouterService)(this.dbxAppAuthRoutes.appRef);
|
|
2583
2544
|
}
|
|
2584
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2585
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2545
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppAuthRouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2546
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppAuthRouterService, providedIn: 'root' });
|
|
2586
2547
|
}
|
|
2587
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppAuthRouterService, decorators: [{
|
|
2588
2549
|
type: Injectable,
|
|
2589
2550
|
args: [{
|
|
2590
2551
|
providedIn: 'root'
|
|
@@ -2613,10 +2574,10 @@ class DbxAppAuthRouterEffects extends AbstractOnDbxAppContextStateEffects {
|
|
|
2613
2574
|
* Effect to redirect to the app when login occurs.
|
|
2614
2575
|
*/
|
|
2615
2576
|
redirectToOnboardOnLogIn = createEffect(() => this.actions$.pipe(ofType(loggedIn), filter(() => this.dbxAppAuthRouterService.isAuthRouterEffectsEnabled), exhaustMap(() => this.dbxAppAuthRouterService.goToApp())), { dispatch: false });
|
|
2616
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2617
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2577
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppAuthRouterEffects, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2578
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppAuthRouterEffects });
|
|
2618
2579
|
}
|
|
2619
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppAuthRouterEffects, decorators: [{
|
|
2620
2581
|
type: Injectable
|
|
2621
2582
|
}], ctorParameters: () => [] });
|
|
2622
2583
|
|
|
@@ -2685,83 +2646,6 @@ function authRolesSetContainsNoRolesFrom(roles) {
|
|
|
2685
2646
|
return setContainsNoValueFrom(roles);
|
|
2686
2647
|
}
|
|
2687
2648
|
|
|
2688
|
-
/**
|
|
2689
|
-
* Structural decorator directive similar to ngIf that embeds content if the current auth user has any of the target role(s).
|
|
2690
|
-
*/
|
|
2691
|
-
class DbxAuthHasAnyRoleDirective extends AbstractIfDirective {
|
|
2692
|
-
_authService = inject(DbxAuthService);
|
|
2693
|
-
targetRoles = input(undefined, { alias: 'dbxAuthHasAnyRole' });
|
|
2694
|
-
targetRoles$ = toObservable(this.targetRoles);
|
|
2695
|
-
show$ = this._authService.authRoles$.pipe(authRolesSetContainsAnyRoleFrom(this.targetRoles$));
|
|
2696
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxAuthHasAnyRoleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2697
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.13", type: DbxAuthHasAnyRoleDirective, isStandalone: true, selector: "[dbxAuthHasAnyRole]", inputs: { targetRoles: { classPropertyName: "targetRoles", publicName: "dbxAuthHasAnyRole", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2698
|
-
}
|
|
2699
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxAuthHasAnyRoleDirective, decorators: [{
|
|
2700
|
-
type: Directive,
|
|
2701
|
-
args: [{
|
|
2702
|
-
selector: '[dbxAuthHasAnyRole]',
|
|
2703
|
-
standalone: true
|
|
2704
|
-
}]
|
|
2705
|
-
}] });
|
|
2706
|
-
|
|
2707
|
-
/**
|
|
2708
|
-
* Structural decorator directive similar to ngIf that embeds content if the current auth user has all of the target role(s).
|
|
2709
|
-
*/
|
|
2710
|
-
class DbxAuthHasRolesDirective extends AbstractIfDirective {
|
|
2711
|
-
_authService = inject(DbxAuthService);
|
|
2712
|
-
targetRoles = input(undefined, { alias: 'dbxAuthHasRoles' });
|
|
2713
|
-
targetRoles$ = toObservable(this.targetRoles);
|
|
2714
|
-
show$ = this._authService.authRoles$.pipe(authRolesSetContainsAllRolesFrom(this.targetRoles$));
|
|
2715
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxAuthHasRolesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2716
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.13", type: DbxAuthHasRolesDirective, isStandalone: true, selector: "[dbxAuthHasRoles]", inputs: { targetRoles: { classPropertyName: "targetRoles", publicName: "dbxAuthHasRoles", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2717
|
-
}
|
|
2718
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxAuthHasRolesDirective, decorators: [{
|
|
2719
|
-
type: Directive,
|
|
2720
|
-
args: [{
|
|
2721
|
-
selector: '[dbxAuthHasRoles]',
|
|
2722
|
-
standalone: true
|
|
2723
|
-
}]
|
|
2724
|
-
}] });
|
|
2725
|
-
|
|
2726
|
-
/**
|
|
2727
|
-
* Structural decorator directive similar to ngIf that embeds content if the current auth user has none of the target role(s).
|
|
2728
|
-
*/
|
|
2729
|
-
class DbxAuthNotAnyRoleDirective extends AbstractIfDirective {
|
|
2730
|
-
_authService = inject(DbxAuthService);
|
|
2731
|
-
targetRoles = input(undefined, { alias: 'dbxAuthNotAnyRole' });
|
|
2732
|
-
targetRoles$ = toObservable(this.targetRoles);
|
|
2733
|
-
show$ = this._authService.authRoles$.pipe(authRolesSetContainsNoRolesFrom(this.targetRoles$));
|
|
2734
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxAuthNotAnyRoleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2735
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.13", type: DbxAuthNotAnyRoleDirective, isStandalone: true, selector: "[dbxAuthNotAnyRole]", inputs: { targetRoles: { classPropertyName: "targetRoles", publicName: "dbxAuthNotAnyRole", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2736
|
-
}
|
|
2737
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxAuthNotAnyRoleDirective, decorators: [{
|
|
2738
|
-
type: Directive,
|
|
2739
|
-
args: [{
|
|
2740
|
-
selector: '[dbxAuthNotAnyRole]',
|
|
2741
|
-
standalone: true
|
|
2742
|
-
}]
|
|
2743
|
-
}] });
|
|
2744
|
-
|
|
2745
|
-
/**
|
|
2746
|
-
* @deprecated import the directives directly instead of using this module.
|
|
2747
|
-
*
|
|
2748
|
-
* @see DbxAuthHasRolesDirective
|
|
2749
|
-
* @see DbxAuthHasAnyRoleDirective
|
|
2750
|
-
* @see DbxAuthNotAnyRoleDirective
|
|
2751
|
-
*/
|
|
2752
|
-
class DbxCoreAuthModule {
|
|
2753
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxCoreAuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2754
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxCoreAuthModule, imports: [DbxAuthHasRolesDirective, DbxAuthHasAnyRoleDirective, DbxAuthNotAnyRoleDirective], exports: [DbxAuthHasRolesDirective, DbxAuthHasAnyRoleDirective, DbxAuthNotAnyRoleDirective] });
|
|
2755
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxCoreAuthModule });
|
|
2756
|
-
}
|
|
2757
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxCoreAuthModule, decorators: [{
|
|
2758
|
-
type: NgModule,
|
|
2759
|
-
args: [{
|
|
2760
|
-
imports: [DbxAuthHasRolesDirective, DbxAuthHasAnyRoleDirective, DbxAuthNotAnyRoleDirective],
|
|
2761
|
-
exports: [DbxAuthHasRolesDirective, DbxAuthHasAnyRoleDirective, DbxAuthNotAnyRoleDirective]
|
|
2762
|
-
}]
|
|
2763
|
-
}] });
|
|
2764
|
-
|
|
2765
2649
|
/**
|
|
2766
2650
|
* Set of ngrx effects that repeat events from DbxAuthService.
|
|
2767
2651
|
*/
|
|
@@ -2781,10 +2665,10 @@ class DbxAppAuthEffects {
|
|
|
2781
2665
|
setUserState = createEffect(() => this.dbxAuthService.authUserState$.pipe(map((state) => setUserState({ state }))));
|
|
2782
2666
|
setUserRoles = createEffect(() => this.dbxAuthService.authRoles$.pipe(map((roles) => setUserRoles({ roles: Array.from(roles ?? []) }))));
|
|
2783
2667
|
setUserIsOnboarded = createEffect(() => this.dbxAuthService.isOnboarded$.pipe(map((isOnboarded) => setUserIsOnboarded({ isOnboarded }))));
|
|
2784
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2785
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2668
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppAuthEffects, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2669
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppAuthEffects });
|
|
2786
2670
|
}
|
|
2787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppAuthEffects, decorators: [{
|
|
2788
2672
|
type: Injectable
|
|
2789
2673
|
}] });
|
|
2790
2674
|
|
|
@@ -2809,16 +2693,73 @@ function provideDbxAppAuth(config) {
|
|
|
2809
2693
|
return makeEnvironmentProviders(providers);
|
|
2810
2694
|
}
|
|
2811
2695
|
|
|
2696
|
+
/**
|
|
2697
|
+
* Structural decorator directive similar to ngIf that embeds content if the current auth user has any of the target role(s).
|
|
2698
|
+
*/
|
|
2699
|
+
class DbxAuthHasAnyRoleDirective extends AbstractIfDirective {
|
|
2700
|
+
_authService = inject(DbxAuthService);
|
|
2701
|
+
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : {}), alias: 'dbxAuthHasAnyRole' });
|
|
2702
|
+
targetRoles$ = toObservable(this.targetRoles);
|
|
2703
|
+
show$ = this._authService.authRoles$.pipe(authRolesSetContainsAnyRoleFrom(this.targetRoles$));
|
|
2704
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAuthHasAnyRoleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2705
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxAuthHasAnyRoleDirective, isStandalone: true, selector: "[dbxAuthHasAnyRole]", inputs: { targetRoles: { classPropertyName: "targetRoles", publicName: "dbxAuthHasAnyRole", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2706
|
+
}
|
|
2707
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAuthHasAnyRoleDirective, decorators: [{
|
|
2708
|
+
type: Directive,
|
|
2709
|
+
args: [{
|
|
2710
|
+
selector: '[dbxAuthHasAnyRole]',
|
|
2711
|
+
standalone: true
|
|
2712
|
+
}]
|
|
2713
|
+
}], propDecorators: { targetRoles: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxAuthHasAnyRole", required: false }] }] } });
|
|
2714
|
+
|
|
2715
|
+
/**
|
|
2716
|
+
* Structural decorator directive similar to ngIf that embeds content if the current auth user has all of the target role(s).
|
|
2717
|
+
*/
|
|
2718
|
+
class DbxAuthHasRolesDirective extends AbstractIfDirective {
|
|
2719
|
+
_authService = inject(DbxAuthService);
|
|
2720
|
+
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : {}), alias: 'dbxAuthHasRoles' });
|
|
2721
|
+
targetRoles$ = toObservable(this.targetRoles);
|
|
2722
|
+
show$ = this._authService.authRoles$.pipe(authRolesSetContainsAllRolesFrom(this.targetRoles$));
|
|
2723
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAuthHasRolesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2724
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxAuthHasRolesDirective, isStandalone: true, selector: "[dbxAuthHasRoles]", inputs: { targetRoles: { classPropertyName: "targetRoles", publicName: "dbxAuthHasRoles", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2725
|
+
}
|
|
2726
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAuthHasRolesDirective, decorators: [{
|
|
2727
|
+
type: Directive,
|
|
2728
|
+
args: [{
|
|
2729
|
+
selector: '[dbxAuthHasRoles]',
|
|
2730
|
+
standalone: true
|
|
2731
|
+
}]
|
|
2732
|
+
}], propDecorators: { targetRoles: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxAuthHasRoles", required: false }] }] } });
|
|
2733
|
+
|
|
2734
|
+
/**
|
|
2735
|
+
* Structural decorator directive similar to ngIf that embeds content if the current auth user has none of the target role(s).
|
|
2736
|
+
*/
|
|
2737
|
+
class DbxAuthNotAnyRoleDirective extends AbstractIfDirective {
|
|
2738
|
+
_authService = inject(DbxAuthService);
|
|
2739
|
+
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : {}), alias: 'dbxAuthNotAnyRole' });
|
|
2740
|
+
targetRoles$ = toObservable(this.targetRoles);
|
|
2741
|
+
show$ = this._authService.authRoles$.pipe(authRolesSetContainsNoRolesFrom(this.targetRoles$));
|
|
2742
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAuthNotAnyRoleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2743
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxAuthNotAnyRoleDirective, isStandalone: true, selector: "[dbxAuthNotAnyRole]", inputs: { targetRoles: { classPropertyName: "targetRoles", publicName: "dbxAuthNotAnyRole", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2744
|
+
}
|
|
2745
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAuthNotAnyRoleDirective, decorators: [{
|
|
2746
|
+
type: Directive,
|
|
2747
|
+
args: [{
|
|
2748
|
+
selector: '[dbxAuthNotAnyRole]',
|
|
2749
|
+
standalone: true
|
|
2750
|
+
}]
|
|
2751
|
+
}], propDecorators: { targetRoles: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxAuthNotAnyRole", required: false }] }] } });
|
|
2752
|
+
|
|
2812
2753
|
/**
|
|
2813
2754
|
* State for accessing the app's DbxAppAuthState defined within the DbxAppAuthFullState for the ngrx store.
|
|
2814
2755
|
*/
|
|
2815
2756
|
class DbxAppAuthStateService {
|
|
2816
2757
|
store = inject((Store));
|
|
2817
2758
|
authStateUser$ = this.store.select(selectDbxAppAuthUser);
|
|
2818
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2819
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2759
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppAuthStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2760
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppAuthStateService, providedIn: 'root' });
|
|
2820
2761
|
}
|
|
2821
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2762
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppAuthStateService, decorators: [{
|
|
2822
2763
|
type: Injectable,
|
|
2823
2764
|
args: [{
|
|
2824
2765
|
providedIn: 'root'
|
|
@@ -2859,10 +2800,10 @@ class DbxActionButtonTriggerDirective {
|
|
|
2859
2800
|
_buttonClicked() {
|
|
2860
2801
|
this.source.trigger();
|
|
2861
2802
|
}
|
|
2862
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2863
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2803
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionButtonTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2804
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxActionButtonTriggerDirective, isStandalone: true, selector: "[dbxActionButtonTrigger]", ngImport: i0 });
|
|
2864
2805
|
}
|
|
2865
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionButtonTriggerDirective, decorators: [{
|
|
2866
2807
|
type: Directive,
|
|
2867
2808
|
args: [{
|
|
2868
2809
|
selector: '[dbxActionButtonTrigger]',
|
|
@@ -2883,10 +2824,10 @@ class DbxActionButtonDirective extends DbxActionButtonTriggerDirective {
|
|
|
2883
2824
|
this.dbxButton.setDisabled(disabled);
|
|
2884
2825
|
}));
|
|
2885
2826
|
}
|
|
2886
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2887
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2827
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2828
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxActionButtonDirective, isStandalone: true, selector: "[dbxActionButton]", usesInheritance: true, ngImport: i0 });
|
|
2888
2829
|
}
|
|
2889
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2830
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxActionButtonDirective, decorators: [{
|
|
2890
2831
|
type: Directive,
|
|
2891
2832
|
args: [{
|
|
2892
2833
|
selector: '[dbxActionButton]',
|
|
@@ -2898,7 +2839,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2898
2839
|
class DbxButtonSegueDirective {
|
|
2899
2840
|
dbxButton = inject(DbxButton);
|
|
2900
2841
|
dbxRouterService = inject(DbxRouterService);
|
|
2901
|
-
segueRef = input(undefined, { alias: 'dbxButtonSegue' });
|
|
2842
|
+
segueRef = input(undefined, { ...(ngDevMode ? { debugName: "segueRef" } : {}), alias: 'dbxButtonSegue' });
|
|
2902
2843
|
constructor() {
|
|
2903
2844
|
cleanSubscription(() => this.dbxButton.clicked$.subscribe(() => {
|
|
2904
2845
|
const segueRef = this.segueRef();
|
|
@@ -2907,16 +2848,16 @@ class DbxButtonSegueDirective {
|
|
|
2907
2848
|
}
|
|
2908
2849
|
}));
|
|
2909
2850
|
}
|
|
2910
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2911
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
2851
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxButtonSegueDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2852
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxButtonSegueDirective, isStandalone: true, selector: "[dbxButtonSegue]", inputs: { segueRef: { classPropertyName: "segueRef", publicName: "dbxButtonSegue", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2912
2853
|
}
|
|
2913
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxButtonSegueDirective, decorators: [{
|
|
2914
2855
|
type: Directive,
|
|
2915
2856
|
args: [{
|
|
2916
2857
|
selector: '[dbxButtonSegue]',
|
|
2917
2858
|
standalone: true
|
|
2918
2859
|
}]
|
|
2919
|
-
}], ctorParameters: () => [] });
|
|
2860
|
+
}], ctorParameters: () => [], propDecorators: { segueRef: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxButtonSegue", required: false }] }] } });
|
|
2920
2861
|
|
|
2921
2862
|
/**
|
|
2922
2863
|
* Abstract button component.
|
|
@@ -2928,32 +2869,32 @@ class AbstractDbxButtonDirective {
|
|
|
2928
2869
|
_buttonClick = completeOnDestroy(new Subject());
|
|
2929
2870
|
_buttonInterceptor = completeOnDestroy(new BehaviorSubject(undefined));
|
|
2930
2871
|
buttonClick = output();
|
|
2931
|
-
disabled = input(false, { transform: Boolean });
|
|
2932
|
-
working = input(false, { transform: (x) => (x == null ? false : x) });
|
|
2933
|
-
buttonDisplay = input(undefined);
|
|
2934
|
-
_disabledSignal = signal(undefined);
|
|
2935
|
-
_workingSignal = signal(undefined);
|
|
2936
|
-
_buttonDisplayContentSignal = signal(undefined);
|
|
2937
|
-
disabledSignal = computed(() => this._disabledSignal() ?? this.disabled());
|
|
2938
|
-
workingSignal = computed(() => this._workingSignal() ?? this.working());
|
|
2872
|
+
disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : {}), transform: Boolean });
|
|
2873
|
+
working = input(false, { ...(ngDevMode ? { debugName: "working" } : {}), transform: (x) => (x == null ? false : x) });
|
|
2874
|
+
buttonDisplay = input(undefined, ...(ngDevMode ? [{ debugName: "buttonDisplay" }] : []));
|
|
2875
|
+
_disabledSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "_disabledSignal" }] : []));
|
|
2876
|
+
_workingSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "_workingSignal" }] : []));
|
|
2877
|
+
_buttonDisplayContentSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "_buttonDisplayContentSignal" }] : []));
|
|
2878
|
+
disabledSignal = computed(() => this._disabledSignal() ?? this.disabled(), ...(ngDevMode ? [{ debugName: "disabledSignal" }] : []));
|
|
2879
|
+
workingSignal = computed(() => this._workingSignal() ?? this.working(), ...(ngDevMode ? [{ debugName: "workingSignal" }] : []));
|
|
2939
2880
|
isWorkingSignal = computed(() => {
|
|
2940
2881
|
const working = this.workingSignal();
|
|
2941
2882
|
return isDefinedAndNotFalse(working);
|
|
2942
|
-
});
|
|
2943
|
-
icon = input();
|
|
2944
|
-
text = input();
|
|
2883
|
+
}, ...(ngDevMode ? [{ debugName: "isWorkingSignal" }] : []));
|
|
2884
|
+
icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
|
|
2885
|
+
text = input(...(ngDevMode ? [undefined, { debugName: "text" }] : []));
|
|
2945
2886
|
buttonDisplayContentSignal = computed(() => {
|
|
2946
2887
|
const icon = this.icon();
|
|
2947
2888
|
const text = this.text();
|
|
2948
2889
|
const buttonDisplay = this.buttonDisplay();
|
|
2949
2890
|
const buttonDisplayContent = this._buttonDisplayContentSignal() ?? buttonDisplay;
|
|
2950
2891
|
return { icon: icon || buttonDisplayContent?.icon, text: text || buttonDisplayContent?.text };
|
|
2951
|
-
});
|
|
2892
|
+
}, ...(ngDevMode ? [{ debugName: "buttonDisplayContentSignal" }] : []));
|
|
2952
2893
|
buttonDisplayTypeSignal = computed(() => {
|
|
2953
2894
|
return dbxButtonDisplayType(this.buttonDisplayContentSignal());
|
|
2954
|
-
});
|
|
2955
|
-
iconSignal = computed(() => this.buttonDisplayContentSignal()?.icon);
|
|
2956
|
-
textSignal = computed(() => this.buttonDisplayContentSignal()?.text);
|
|
2895
|
+
}, ...(ngDevMode ? [{ debugName: "buttonDisplayTypeSignal" }] : []));
|
|
2896
|
+
iconSignal = computed(() => this.buttonDisplayContentSignal()?.icon, ...(ngDevMode ? [{ debugName: "iconSignal" }] : []));
|
|
2897
|
+
textSignal = computed(() => this.buttonDisplayContentSignal()?.text, ...(ngDevMode ? [{ debugName: "textSignal" }] : []));
|
|
2957
2898
|
disabled$ = toObservable(this.disabledSignal);
|
|
2958
2899
|
working$ = toObservable(this.workingSignal);
|
|
2959
2900
|
display$ = toObservable(this.buttonDisplayContentSignal);
|
|
@@ -3002,21 +2943,21 @@ class AbstractDbxButtonDirective {
|
|
|
3002
2943
|
_forceButtonClicked() {
|
|
3003
2944
|
this.buttonClick.emit();
|
|
3004
2945
|
}
|
|
3005
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3006
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
2946
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2947
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: AbstractDbxButtonDirective, isStandalone: true, inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, working: { classPropertyName: "working", publicName: "working", isSignal: true, isRequired: false, transformFunction: null }, buttonDisplay: { classPropertyName: "buttonDisplay", publicName: "buttonDisplay", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { buttonClick: "buttonClick" }, ngImport: i0 });
|
|
3007
2948
|
}
|
|
3008
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2949
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxButtonDirective, decorators: [{
|
|
3009
2950
|
type: Directive
|
|
3010
|
-
}], ctorParameters: () => [] });
|
|
2951
|
+
}], ctorParameters: () => [], propDecorators: { buttonClick: [{ type: i0.Output, args: ["buttonClick"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], working: [{ type: i0.Input, args: [{ isSignal: true, alias: "working", required: false }] }], buttonDisplay: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonDisplay", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }] } });
|
|
3011
2952
|
// MARK: Implementation
|
|
3012
2953
|
/**
|
|
3013
2954
|
* Provides an DbxButton directive.
|
|
3014
2955
|
*/
|
|
3015
2956
|
class DbxButtonDirective extends AbstractDbxButtonDirective {
|
|
3016
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3017
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2957
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2958
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxButtonDirective, isStandalone: true, selector: "[dbxButton]", providers: provideDbxButton(DbxButtonDirective), exportAs: ["dbxButton"], usesInheritance: true, ngImport: i0 });
|
|
3018
2959
|
}
|
|
3019
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2960
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxButtonDirective, decorators: [{
|
|
3020
2961
|
type: Directive,
|
|
3021
2962
|
args: [{
|
|
3022
2963
|
selector: '[dbxButton]',
|
|
@@ -3033,7 +2974,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3033
2974
|
*/
|
|
3034
2975
|
class DbxLoadingButtonDirective {
|
|
3035
2976
|
dbxButton = inject(DbxButton, { host: true });
|
|
3036
|
-
context = input.required({ alias: 'dbxLoadingButton' });
|
|
2977
|
+
context = input.required({ ...(ngDevMode ? { debugName: "context" } : {}), alias: 'dbxLoadingButton' });
|
|
3037
2978
|
context$ = toObservable(this.context).pipe(maybeValueFromObservableOrValue(), distinctUntilChanged(), shareReplay(1));
|
|
3038
2979
|
contextSignal = toSignal(this.context$);
|
|
3039
2980
|
_loadingEffectSub = cleanSubscription();
|
|
@@ -3044,19 +2985,19 @@ class DbxLoadingButtonDirective {
|
|
|
3044
2985
|
subscription = context.stream$.subscribe((x) => this.dbxButton.setWorking(x.loading));
|
|
3045
2986
|
}
|
|
3046
2987
|
this._loadingEffectSub.setSub(subscription);
|
|
3047
|
-
});
|
|
3048
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3049
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
2988
|
+
}, ...(ngDevMode ? [{ debugName: "_loadingEffect" }] : []));
|
|
2989
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxLoadingButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2990
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxLoadingButtonDirective, isStandalone: true, selector: "[dbxLoadingButton]", inputs: { context: { classPropertyName: "context", publicName: "dbxLoadingButton", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
|
|
3050
2991
|
}
|
|
3051
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2992
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxLoadingButtonDirective, decorators: [{
|
|
3052
2993
|
type: Directive,
|
|
3053
2994
|
args: [{
|
|
3054
2995
|
selector: '[dbxLoadingButton]',
|
|
3055
2996
|
standalone: true
|
|
3056
2997
|
}]
|
|
3057
|
-
}] });
|
|
2998
|
+
}], propDecorators: { context: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxLoadingButton", required: true }] }] } });
|
|
3058
2999
|
|
|
3059
|
-
const importsAndExports$
|
|
3000
|
+
const importsAndExports$1 = [DbxButtonDirective, DbxLoadingButtonDirective, DbxActionButtonTriggerDirective, DbxActionButtonDirective, DbxButtonSegueDirective];
|
|
3060
3001
|
/**
|
|
3061
3002
|
* Exports the following directives:
|
|
3062
3003
|
* - DbxButtonDirective
|
|
@@ -3066,15 +3007,15 @@ const importsAndExports$7 = [DbxButtonDirective, DbxLoadingButtonDirective, DbxA
|
|
|
3066
3007
|
* - DbxButtonSegueDirective
|
|
3067
3008
|
*/
|
|
3068
3009
|
class DbxCoreButtonModule {
|
|
3069
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3070
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3071
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3010
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxCoreButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3011
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DbxCoreButtonModule, imports: [DbxButtonDirective, DbxLoadingButtonDirective, DbxActionButtonTriggerDirective, DbxActionButtonDirective, DbxButtonSegueDirective], exports: [DbxButtonDirective, DbxLoadingButtonDirective, DbxActionButtonTriggerDirective, DbxActionButtonDirective, DbxButtonSegueDirective] });
|
|
3012
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxCoreButtonModule });
|
|
3072
3013
|
}
|
|
3073
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxCoreButtonModule, decorators: [{
|
|
3074
3015
|
type: NgModule,
|
|
3075
3016
|
args: [{
|
|
3076
|
-
imports: importsAndExports$
|
|
3077
|
-
exports: importsAndExports$
|
|
3017
|
+
imports: importsAndExports$1,
|
|
3018
|
+
exports: importsAndExports$1
|
|
3078
3019
|
}]
|
|
3079
3020
|
}] });
|
|
3080
3021
|
|
|
@@ -3090,10 +3031,10 @@ class DbxAppContextService {
|
|
|
3090
3031
|
resetState() {
|
|
3091
3032
|
this.store.next(resetState());
|
|
3092
3033
|
}
|
|
3093
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3094
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3034
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppContextService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3035
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppContextService, providedIn: 'root' });
|
|
3095
3036
|
}
|
|
3096
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppContextService, decorators: [{
|
|
3097
3038
|
type: Injectable,
|
|
3098
3039
|
args: [{
|
|
3099
3040
|
providedIn: 'root'
|
|
@@ -3105,39 +3046,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3105
3046
|
*/
|
|
3106
3047
|
class DbxAppContextStateDirective {
|
|
3107
3048
|
dbxAppContextStateService = inject(DbxAppContextService);
|
|
3108
|
-
state = input(undefined, { alias: 'dbxAppContextState' });
|
|
3049
|
+
state = input(undefined, { ...(ngDevMode ? { debugName: "state" } : {}), alias: 'dbxAppContextState' });
|
|
3109
3050
|
_stateEffect = effect(() => {
|
|
3110
3051
|
const state = this.state();
|
|
3111
3052
|
if (state != null) {
|
|
3112
3053
|
this.dbxAppContextStateService.setState(state);
|
|
3113
3054
|
}
|
|
3114
|
-
}, {
|
|
3115
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3116
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
3055
|
+
}, ...(ngDevMode ? [{ debugName: "_stateEffect" }] : []));
|
|
3056
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppContextStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3057
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxAppContextStateDirective, isStandalone: true, selector: "[dbxAppContextState]", inputs: { state: { classPropertyName: "state", publicName: "dbxAppContextState", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
3117
3058
|
}
|
|
3118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3059
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppContextStateDirective, decorators: [{
|
|
3119
3060
|
type: Directive,
|
|
3120
3061
|
args: [{
|
|
3121
3062
|
selector: '[dbxAppContextState]',
|
|
3122
3063
|
standalone: true
|
|
3123
3064
|
}]
|
|
3124
|
-
}] });
|
|
3125
|
-
|
|
3126
|
-
/**
|
|
3127
|
-
* @deprecated Use provideDbxAppContextState() and import DbxAppContextStateDirective directly. DbxAppContextStateDirective is now standalone.
|
|
3128
|
-
*/
|
|
3129
|
-
class DbxAppContextStateModule {
|
|
3130
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxAppContextStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3131
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxAppContextStateModule, imports: [DbxAppContextStateDirective], exports: [DbxAppContextStateDirective] });
|
|
3132
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxAppContextStateModule });
|
|
3133
|
-
}
|
|
3134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxAppContextStateModule, decorators: [{
|
|
3135
|
-
type: NgModule,
|
|
3136
|
-
args: [{
|
|
3137
|
-
imports: [DbxAppContextStateDirective],
|
|
3138
|
-
exports: [DbxAppContextStateDirective]
|
|
3139
|
-
}]
|
|
3140
|
-
}] });
|
|
3065
|
+
}], propDecorators: { state: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxAppContextState", required: false }] }] } });
|
|
3141
3066
|
|
|
3142
3067
|
/**
|
|
3143
3068
|
* Creates EnvironmentProviders for providing the DbxAppContext state.
|
|
@@ -3174,10 +3099,10 @@ class DbxAppEnviromentService {
|
|
|
3174
3099
|
getEnvironment() {
|
|
3175
3100
|
return this.environment;
|
|
3176
3101
|
}
|
|
3177
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3178
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3102
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppEnviromentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3103
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppEnviromentService });
|
|
3179
3104
|
}
|
|
3180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAppEnviromentService, decorators: [{
|
|
3181
3106
|
type: Injectable
|
|
3182
3107
|
}] });
|
|
3183
3108
|
|
|
@@ -3251,10 +3176,10 @@ function provideDbxAnchor(sourceType) {
|
|
|
3251
3176
|
* Abstract anchor directive.
|
|
3252
3177
|
*/
|
|
3253
3178
|
class AbstractDbxAnchorDirective {
|
|
3254
|
-
ref = model();
|
|
3255
|
-
anchor = model();
|
|
3256
|
-
disabled = model();
|
|
3257
|
-
selected = model();
|
|
3179
|
+
ref = model(...(ngDevMode ? [undefined, { debugName: "ref" }] : []));
|
|
3180
|
+
anchor = model(...(ngDevMode ? [undefined, { debugName: "anchor" }] : []));
|
|
3181
|
+
disabled = model(...(ngDevMode ? [undefined, { debugName: "disabled" }] : []));
|
|
3182
|
+
selected = model(...(ngDevMode ? [undefined, { debugName: "selected" }] : []));
|
|
3258
3183
|
anchorSignal = computed(() => {
|
|
3259
3184
|
const ref = this.ref();
|
|
3260
3185
|
const anchor = this.anchor();
|
|
@@ -3263,24 +3188,24 @@ class AbstractDbxAnchorDirective {
|
|
|
3263
3188
|
result = asSegueRef(ref);
|
|
3264
3189
|
}
|
|
3265
3190
|
return result;
|
|
3266
|
-
});
|
|
3191
|
+
}, ...(ngDevMode ? [{ debugName: "anchorSignal" }] : []));
|
|
3267
3192
|
selectedSignal = computed(() => {
|
|
3268
3193
|
const selected = this.selected();
|
|
3269
3194
|
const anchor = this.anchorSignal();
|
|
3270
3195
|
return selected || anchor?.selected;
|
|
3271
|
-
});
|
|
3196
|
+
}, ...(ngDevMode ? [{ debugName: "selectedSignal" }] : []));
|
|
3272
3197
|
typeSignal = computed(() => {
|
|
3273
3198
|
const anchor = this.anchorSignal();
|
|
3274
3199
|
const disabled = this.disabled();
|
|
3275
3200
|
return anchorTypeForAnchor(anchor, disabled);
|
|
3276
|
-
});
|
|
3201
|
+
}, ...(ngDevMode ? [{ debugName: "typeSignal" }] : []));
|
|
3277
3202
|
disabledSignal = computed(() => {
|
|
3278
3203
|
const disabled = this.disabled();
|
|
3279
3204
|
const anchor = this.anchorSignal();
|
|
3280
3205
|
return disabled || anchor?.disabled;
|
|
3281
|
-
});
|
|
3282
|
-
urlSignal = computed(() => this.anchorSignal()?.url);
|
|
3283
|
-
targetSignal = computed(() => this.anchorSignal()?.target);
|
|
3206
|
+
}, ...(ngDevMode ? [{ debugName: "disabledSignal" }] : []));
|
|
3207
|
+
urlSignal = computed(() => this.anchorSignal()?.url, ...(ngDevMode ? [{ debugName: "urlSignal" }] : []));
|
|
3208
|
+
targetSignal = computed(() => this.anchorSignal()?.target, ...(ngDevMode ? [{ debugName: "targetSignal" }] : []));
|
|
3284
3209
|
anchor$ = toObservable(this.anchorSignal);
|
|
3285
3210
|
disabled$ = toObservable(this.disabledSignal);
|
|
3286
3211
|
selected$ = toObservable(this.selectedSignal);
|
|
@@ -3298,12 +3223,12 @@ class AbstractDbxAnchorDirective {
|
|
|
3298
3223
|
setSelected(selected) {
|
|
3299
3224
|
this.selected.set(selected);
|
|
3300
3225
|
}
|
|
3301
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3302
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
3226
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxAnchorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3227
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: AbstractDbxAnchorDirective, isStandalone: true, inputs: { ref: { classPropertyName: "ref", publicName: "ref", isSignal: true, isRequired: false, transformFunction: null }, anchor: { classPropertyName: "anchor", publicName: "anchor", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ref: "refChange", anchor: "anchorChange", disabled: "disabledChange", selected: "selectedChange" }, ngImport: i0 });
|
|
3303
3228
|
}
|
|
3304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxAnchorDirective, decorators: [{
|
|
3305
3230
|
type: Directive
|
|
3306
|
-
}] });
|
|
3231
|
+
}], propDecorators: { ref: [{ type: i0.Input, args: [{ isSignal: true, alias: "ref", required: false }] }, { type: i0.Output, args: ["refChange"] }], anchor: [{ type: i0.Input, args: [{ isSignal: true, alias: "anchor", required: false }] }, { type: i0.Output, args: ["anchorChange"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }, { type: i0.Output, args: ["disabledChange"] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }, { type: i0.Output, args: ["selectedChange"] }] } });
|
|
3307
3232
|
|
|
3308
3233
|
function clickableUrlInNewTab(url) {
|
|
3309
3234
|
return {
|
|
@@ -3466,10 +3391,10 @@ class DbxAngularRouterService {
|
|
|
3466
3391
|
comparePrecision(a, b) {
|
|
3467
3392
|
return 0; // TODO!
|
|
3468
3393
|
}
|
|
3469
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3470
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3394
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAngularRouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3395
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAngularRouterService });
|
|
3471
3396
|
}
|
|
3472
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3397
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxAngularRouterService, decorators: [{
|
|
3473
3398
|
type: Injectable
|
|
3474
3399
|
}] });
|
|
3475
3400
|
|
|
@@ -3490,11 +3415,11 @@ class DbxCoreAngularRouterSegueModule {
|
|
|
3490
3415
|
]
|
|
3491
3416
|
};
|
|
3492
3417
|
}
|
|
3493
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3494
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3495
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3418
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxCoreAngularRouterSegueModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3419
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DbxCoreAngularRouterSegueModule });
|
|
3420
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxCoreAngularRouterSegueModule });
|
|
3496
3421
|
}
|
|
3497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxCoreAngularRouterSegueModule, decorators: [{
|
|
3498
3423
|
type: NgModule,
|
|
3499
3424
|
args: [{}]
|
|
3500
3425
|
}] });
|
|
@@ -3579,42 +3504,13 @@ class DbxUIRouterService {
|
|
|
3579
3504
|
const active = exactly ? this.state.is(targetRef, refParams) : this.state.includes(targetRef, refParams);
|
|
3580
3505
|
return active;
|
|
3581
3506
|
}
|
|
3582
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3583
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3507
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxUIRouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3508
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxUIRouterService });
|
|
3584
3509
|
}
|
|
3585
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3510
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxUIRouterService, decorators: [{
|
|
3586
3511
|
type: Injectable
|
|
3587
3512
|
}], ctorParameters: () => [] });
|
|
3588
3513
|
|
|
3589
|
-
/**
|
|
3590
|
-
* @deprecated use provideDbxUIRouterService() instead.
|
|
3591
|
-
*/
|
|
3592
|
-
class DbxCoreUIRouterSegueModule {
|
|
3593
|
-
static forRoot() {
|
|
3594
|
-
return {
|
|
3595
|
-
ngModule: DbxCoreUIRouterSegueModule,
|
|
3596
|
-
providers: [
|
|
3597
|
-
DbxUIRouterService,
|
|
3598
|
-
{
|
|
3599
|
-
provide: DbxRouterService,
|
|
3600
|
-
useExisting: DbxUIRouterService
|
|
3601
|
-
},
|
|
3602
|
-
{
|
|
3603
|
-
provide: DbxRouterTransitionService,
|
|
3604
|
-
useExisting: DbxUIRouterService
|
|
3605
|
-
}
|
|
3606
|
-
]
|
|
3607
|
-
};
|
|
3608
|
-
}
|
|
3609
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxCoreUIRouterSegueModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3610
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxCoreUIRouterSegueModule });
|
|
3611
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxCoreUIRouterSegueModule });
|
|
3612
|
-
}
|
|
3613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxCoreUIRouterSegueModule, decorators: [{
|
|
3614
|
-
type: NgModule,
|
|
3615
|
-
args: [{}]
|
|
3616
|
-
}] });
|
|
3617
|
-
|
|
3618
3514
|
/**
|
|
3619
3515
|
* Provides a DbxUIRouterService and configures it to provide for DbxRouterService and DbxRouterTransitionService.
|
|
3620
3516
|
*
|
|
@@ -3693,10 +3589,10 @@ class AbstractTransitionDirective {
|
|
|
3693
3589
|
dbxRouterTransitionService = inject(DbxRouterTransitionService);
|
|
3694
3590
|
transitionSuccess$ = successTransition(this.dbxRouterTransitionService.transitions$);
|
|
3695
3591
|
initAndUpdateOnTransitionSuccess$ = this.transitionSuccess$.pipe(startWith(undefined));
|
|
3696
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3697
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3592
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractTransitionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3593
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: AbstractTransitionDirective, isStandalone: true, ngImport: i0 });
|
|
3698
3594
|
}
|
|
3699
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3595
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractTransitionDirective, decorators: [{
|
|
3700
3596
|
type: Directive
|
|
3701
3597
|
}] });
|
|
3702
3598
|
|
|
@@ -3717,10 +3613,10 @@ class AbstractTransitionWatcherDirective extends AbstractTransitionDirective {
|
|
|
3717
3613
|
// remove this function and replace, if necessary or remove entirely with angular zoneless implementation details.
|
|
3718
3614
|
this.ngZone.run(() => this.updateForSuccessfulTransition());
|
|
3719
3615
|
}
|
|
3720
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3721
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3616
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractTransitionWatcherDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3617
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: AbstractTransitionWatcherDirective, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
3722
3618
|
}
|
|
3723
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractTransitionWatcherDirective, decorators: [{
|
|
3724
3620
|
type: Directive
|
|
3725
3621
|
}], ctorParameters: () => [] });
|
|
3726
3622
|
|
|
@@ -3987,60 +3883,6 @@ function provideDbxRouteModelKeyDirectiveDelegate(sourceType) {
|
|
|
3987
3883
|
return providers;
|
|
3988
3884
|
}
|
|
3989
3885
|
|
|
3990
|
-
/**
|
|
3991
|
-
* Used for retrieving the model's key from the current route using the configured parameter and passes it to its delegate.
|
|
3992
|
-
*
|
|
3993
|
-
* If the key does not exist in the params, then the p
|
|
3994
|
-
*/
|
|
3995
|
-
class DbxRouteModelKeyDirective {
|
|
3996
|
-
dbxRouterService = inject(DbxRouterService);
|
|
3997
|
-
dbxRouteModelKeyDelegate = inject(DbxRouteModelKeyDirectiveDelegate, { host: true });
|
|
3998
|
-
_redirectInstance = clean(dbxRouteModelKeyParamRedirect(this.dbxRouterService));
|
|
3999
|
-
keyFromParams$ = this._redirectInstance.paramValue$;
|
|
4000
|
-
key$ = this._redirectInstance.value$;
|
|
4001
|
-
constructor() {
|
|
4002
|
-
cleanSubscription(this.dbxRouteModelKeyDelegate.useRouteModelKeyParamsObservable(this.keyFromParams$, this.key$));
|
|
4003
|
-
this._redirectInstance.init();
|
|
4004
|
-
}
|
|
4005
|
-
// MARK: Input
|
|
4006
|
-
get keyParam() {
|
|
4007
|
-
return this._redirectInstance.getParamKey();
|
|
4008
|
-
}
|
|
4009
|
-
set keyParam(idParam) {
|
|
4010
|
-
this._redirectInstance.setParamKey(idParam);
|
|
4011
|
-
}
|
|
4012
|
-
set dbxRouteModelKeyDefault(defaultValue) {
|
|
4013
|
-
this._redirectInstance.setDefaultValue(defaultValue);
|
|
4014
|
-
}
|
|
4015
|
-
/**
|
|
4016
|
-
* Whether or not to enable the redirection. Is enabled by default.
|
|
4017
|
-
*/
|
|
4018
|
-
set dbxRouteModelKeyDefaultRedirect(redirect) {
|
|
4019
|
-
this._redirectInstance.setRedirectEnabled(redirect !== false); // true by default
|
|
4020
|
-
}
|
|
4021
|
-
set dbxRouteModelKeyDefaultDecision(decider) {
|
|
4022
|
-
this._redirectInstance.setDecider(decider);
|
|
4023
|
-
}
|
|
4024
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxRouteModelKeyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4025
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DbxRouteModelKeyDirective, isStandalone: true, selector: "[dbxRouteModelKey]", inputs: { keyParam: ["dbxRouteModelKey", "keyParam"], dbxRouteModelKeyDefault: "dbxRouteModelKeyDefault", dbxRouteModelKeyDefaultRedirect: "dbxRouteModelKeyDefaultRedirect", dbxRouteModelKeyDefaultDecision: "dbxRouteModelKeyDefaultDecision" }, ngImport: i0 });
|
|
4026
|
-
}
|
|
4027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxRouteModelKeyDirective, decorators: [{
|
|
4028
|
-
type: Directive,
|
|
4029
|
-
args: [{
|
|
4030
|
-
selector: '[dbxRouteModelKey]',
|
|
4031
|
-
standalone: true
|
|
4032
|
-
}]
|
|
4033
|
-
}], ctorParameters: () => [], propDecorators: { keyParam: [{
|
|
4034
|
-
type: Input,
|
|
4035
|
-
args: ['dbxRouteModelKey']
|
|
4036
|
-
}], dbxRouteModelKeyDefault: [{
|
|
4037
|
-
type: Input
|
|
4038
|
-
}], dbxRouteModelKeyDefaultRedirect: [{
|
|
4039
|
-
type: Input
|
|
4040
|
-
}], dbxRouteModelKeyDefaultDecision: [{
|
|
4041
|
-
type: Input
|
|
4042
|
-
}] } });
|
|
4043
|
-
|
|
4044
3886
|
/**
|
|
4045
3887
|
* Used for retrieving the user's current id DbxAuthService and passes it as an identifier for a DbxRouteModelIdDirectiveDelegate.
|
|
4046
3888
|
*/
|
|
@@ -4050,10 +3892,10 @@ class DbxRouteModelIdFromAuthUserIdDirective {
|
|
|
4050
3892
|
constructor() {
|
|
4051
3893
|
cleanSubscription(this.dbxRouteModelIdDelegate.useRouteModelIdParamsObservable(this.dbxAuthService.userIdentifier$, this.dbxAuthService.userIdentifier$));
|
|
4052
3894
|
}
|
|
4053
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4054
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3895
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxRouteModelIdFromAuthUserIdDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3896
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxRouteModelIdFromAuthUserIdDirective, isStandalone: true, selector: "[dbxRouteModelIdFromAuthUserId]", ngImport: i0 });
|
|
4055
3897
|
}
|
|
4056
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxRouteModelIdFromAuthUserIdDirective, decorators: [{
|
|
4057
3899
|
type: Directive,
|
|
4058
3900
|
args: [{
|
|
4059
3901
|
selector: '[dbxRouteModelIdFromAuthUserId]',
|
|
@@ -4093,10 +3935,10 @@ class DbxRouteModelIdDirective {
|
|
|
4093
3935
|
set dbxRouteModelIdDefaultDecision(decider) {
|
|
4094
3936
|
this._redirectInstance.setDecider(decider);
|
|
4095
3937
|
}
|
|
4096
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4097
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3938
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxRouteModelIdDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3939
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxRouteModelIdDirective, isStandalone: true, selector: "[dbxRouteModelId]", inputs: { idParam: ["dbxRouteModelId", "idParam"], dbxRouteModelIdDefault: "dbxRouteModelIdDefault", dbxRouteModelIdDefaultRedirect: "dbxRouteModelIdDefaultRedirect", dbxRouteModelIdDefaultDecision: "dbxRouteModelIdDefaultDecision" }, ngImport: i0 });
|
|
4098
3940
|
}
|
|
4099
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxRouteModelIdDirective, decorators: [{
|
|
4100
3942
|
type: Directive,
|
|
4101
3943
|
args: [{
|
|
4102
3944
|
selector: '[dbxRouteModelId]',
|
|
@@ -4113,122 +3955,96 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
4113
3955
|
type: Input
|
|
4114
3956
|
}] } });
|
|
4115
3957
|
|
|
4116
|
-
const importsAndExports$6 = [DbxRouteModelIdDirective, DbxRouteModelKeyDirective, DbxRouteModelIdFromAuthUserIdDirective];
|
|
4117
3958
|
/**
|
|
4118
|
-
*
|
|
3959
|
+
* Used for retrieving the model's key from the current route using the configured parameter and passes it to its delegate.
|
|
4119
3960
|
*
|
|
4120
|
-
*
|
|
4121
|
-
* @see DbxRouteModelKeyDirective
|
|
4122
|
-
* @see DbxRouteModelIdFromAuthUserIdDirective
|
|
4123
|
-
*/
|
|
4124
|
-
class DbxCoreRouterModelModule {
|
|
4125
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxCoreRouterModelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4126
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxCoreRouterModelModule, imports: [DbxRouteModelIdDirective, DbxRouteModelKeyDirective, DbxRouteModelIdFromAuthUserIdDirective], exports: [DbxRouteModelIdDirective, DbxRouteModelKeyDirective, DbxRouteModelIdFromAuthUserIdDirective] });
|
|
4127
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxCoreRouterModelModule });
|
|
4128
|
-
}
|
|
4129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxCoreRouterModelModule, decorators: [{
|
|
4130
|
-
type: NgModule,
|
|
4131
|
-
args: [{
|
|
4132
|
-
imports: importsAndExports$6,
|
|
4133
|
-
exports: importsAndExports$6
|
|
4134
|
-
}]
|
|
4135
|
-
}] });
|
|
4136
|
-
|
|
4137
|
-
/**
|
|
4138
|
-
* Pipes an ObservableOrValueGetter to an Observable value.
|
|
3961
|
+
* If the key does not exist in the params, then the p
|
|
4139
3962
|
*/
|
|
4140
|
-
class
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
3963
|
+
class DbxRouteModelKeyDirective {
|
|
3964
|
+
dbxRouterService = inject(DbxRouterService);
|
|
3965
|
+
dbxRouteModelKeyDelegate = inject(DbxRouteModelKeyDirectiveDelegate, { host: true });
|
|
3966
|
+
_redirectInstance = clean(dbxRouteModelKeyParamRedirect(this.dbxRouterService));
|
|
3967
|
+
keyFromParams$ = this._redirectInstance.paramValue$;
|
|
3968
|
+
key$ = this._redirectInstance.value$;
|
|
3969
|
+
constructor() {
|
|
3970
|
+
cleanSubscription(this.dbxRouteModelKeyDelegate.useRouteModelKeyParamsObservable(this.keyFromParams$, this.key$));
|
|
3971
|
+
this._redirectInstance.init();
|
|
3972
|
+
}
|
|
3973
|
+
// MARK: Input
|
|
3974
|
+
get keyParam() {
|
|
3975
|
+
return this._redirectInstance.getParamKey();
|
|
3976
|
+
}
|
|
3977
|
+
set keyParam(idParam) {
|
|
3978
|
+
this._redirectInstance.setParamKey(idParam);
|
|
3979
|
+
}
|
|
3980
|
+
set dbxRouteModelKeyDefault(defaultValue) {
|
|
3981
|
+
this._redirectInstance.setDefaultValue(defaultValue);
|
|
3982
|
+
}
|
|
3983
|
+
/**
|
|
3984
|
+
* Whether or not to enable the redirection. Is enabled by default.
|
|
3985
|
+
*/
|
|
3986
|
+
set dbxRouteModelKeyDefaultRedirect(redirect) {
|
|
3987
|
+
this._redirectInstance.setRedirectEnabled(redirect !== false); // true by default
|
|
3988
|
+
}
|
|
3989
|
+
set dbxRouteModelKeyDefaultDecision(decider) {
|
|
3990
|
+
this._redirectInstance.setDecider(decider);
|
|
3991
|
+
}
|
|
3992
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxRouteModelKeyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3993
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxRouteModelKeyDirective, isStandalone: true, selector: "[dbxRouteModelKey]", inputs: { keyParam: ["dbxRouteModelKey", "keyParam"], dbxRouteModelKeyDefault: "dbxRouteModelKeyDefault", dbxRouteModelKeyDefaultRedirect: "dbxRouteModelKeyDefaultRedirect", dbxRouteModelKeyDefaultDecision: "dbxRouteModelKeyDefaultDecision" }, ngImport: i0 });
|
|
4163
3994
|
}
|
|
4164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4165
|
-
type:
|
|
3995
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxRouteModelKeyDirective, decorators: [{
|
|
3996
|
+
type: Directive,
|
|
4166
3997
|
args: [{
|
|
4167
|
-
|
|
4168
|
-
|
|
3998
|
+
selector: '[dbxRouteModelKey]',
|
|
3999
|
+
standalone: true
|
|
4169
4000
|
}]
|
|
4170
|
-
}]
|
|
4001
|
+
}], ctorParameters: () => [], propDecorators: { keyParam: [{
|
|
4002
|
+
type: Input,
|
|
4003
|
+
args: ['dbxRouteModelKey']
|
|
4004
|
+
}], dbxRouteModelKeyDefault: [{
|
|
4005
|
+
type: Input
|
|
4006
|
+
}], dbxRouteModelKeyDefaultRedirect: [{
|
|
4007
|
+
type: Input
|
|
4008
|
+
}], dbxRouteModelKeyDefaultDecision: [{
|
|
4009
|
+
type: Input
|
|
4010
|
+
}] } });
|
|
4171
4011
|
|
|
4172
4012
|
/**
|
|
4173
|
-
*
|
|
4013
|
+
* Pipes an ObservableOrValueGetter to an Observable value.
|
|
4174
4014
|
*/
|
|
4175
|
-
class
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
if (input) {
|
|
4179
|
-
const date = toJsDate(input);
|
|
4180
|
-
const endDate = addMinutes(date, minutes);
|
|
4181
|
-
const dateString = formatDate(date, format, locale);
|
|
4182
|
-
return dateString + ' - ' + formatToTimeString(endDate);
|
|
4183
|
-
}
|
|
4184
|
-
return undefined;
|
|
4185
|
-
}
|
|
4186
|
-
transform(input, format, minutes) {
|
|
4187
|
-
return DateFromToTimePipe.formatFromTo(input, format, minutes, this.locale);
|
|
4015
|
+
class AsObservablePipe {
|
|
4016
|
+
transform(input) {
|
|
4017
|
+
return asObservableFromGetter(input);
|
|
4188
4018
|
}
|
|
4189
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4190
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4019
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AsObservablePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4020
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: AsObservablePipe, isStandalone: true, name: "asObservable" });
|
|
4191
4021
|
}
|
|
4192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4022
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AsObservablePipe, decorators: [{
|
|
4193
4023
|
type: Pipe,
|
|
4194
4024
|
args: [{
|
|
4195
|
-
name: '
|
|
4196
|
-
standalone: true
|
|
4197
|
-
pure: true
|
|
4025
|
+
name: 'asObservable',
|
|
4026
|
+
standalone: true
|
|
4198
4027
|
}]
|
|
4199
4028
|
}] });
|
|
4200
4029
|
|
|
4201
|
-
class
|
|
4202
|
-
transform(input) {
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
if (minutes > 3600) {
|
|
4206
|
-
const unrounded = minutes / 3600;
|
|
4207
|
-
const days = Math.ceil(unrounded);
|
|
4208
|
-
return (unrounded !== days ? '~' : '') + days + ' days';
|
|
4209
|
-
}
|
|
4210
|
-
else if (minutes > 180) {
|
|
4211
|
-
const unrounded = minutes / 60;
|
|
4212
|
-
const hours = Math.ceil(unrounded);
|
|
4213
|
-
return (unrounded !== hours ? '~' : '') + hours + ' hours';
|
|
4214
|
-
}
|
|
4215
|
-
else {
|
|
4216
|
-
return minutes + ' minutes';
|
|
4217
|
-
}
|
|
4030
|
+
class DateDayRangePipe {
|
|
4031
|
+
transform(input, unavailable = 'Not Available') {
|
|
4032
|
+
if (input) {
|
|
4033
|
+
return formatToDayRangeString(input);
|
|
4218
4034
|
}
|
|
4219
4035
|
else {
|
|
4220
|
-
return
|
|
4036
|
+
return unavailable;
|
|
4221
4037
|
}
|
|
4222
4038
|
}
|
|
4223
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4224
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4039
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DateDayRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4040
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DateDayRangePipe, isStandalone: true, name: "dateDayRange" });
|
|
4225
4041
|
}
|
|
4226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4042
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DateDayRangePipe, decorators: [{
|
|
4227
4043
|
type: Pipe,
|
|
4228
4044
|
args: [{
|
|
4229
|
-
name: '
|
|
4045
|
+
name: 'dateDayRange',
|
|
4230
4046
|
standalone: true,
|
|
4231
|
-
pure:
|
|
4047
|
+
pure: true
|
|
4232
4048
|
}]
|
|
4233
4049
|
}] });
|
|
4234
4050
|
|
|
@@ -4246,10 +4062,10 @@ class ToJsDatePipe {
|
|
|
4246
4062
|
transform(input) {
|
|
4247
4063
|
return ToJsDatePipe.toJsDate(input);
|
|
4248
4064
|
}
|
|
4249
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4250
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4065
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ToJsDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4066
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: ToJsDatePipe, isStandalone: true, name: "toJsDate" });
|
|
4251
4067
|
}
|
|
4252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4068
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ToJsDatePipe, decorators: [{
|
|
4253
4069
|
type: Pipe,
|
|
4254
4070
|
args: [{
|
|
4255
4071
|
name: 'toJsDate',
|
|
@@ -4258,78 +4074,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
4258
4074
|
}]
|
|
4259
4075
|
}] });
|
|
4260
4076
|
|
|
4261
|
-
class
|
|
4262
|
-
transform(input,
|
|
4263
|
-
if (input) {
|
|
4264
|
-
const
|
|
4265
|
-
if (isPast(from)) {
|
|
4266
|
-
return soonString;
|
|
4267
|
-
}
|
|
4268
|
-
else {
|
|
4269
|
-
const to = new Date();
|
|
4270
|
-
return formatDistance(from, to, {
|
|
4271
|
-
addSuffix: true
|
|
4272
|
-
});
|
|
4273
|
-
}
|
|
4274
|
-
}
|
|
4275
|
-
else {
|
|
4276
|
-
return unavailable;
|
|
4277
|
-
}
|
|
4278
|
-
}
|
|
4279
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TimeDistanceCountdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4280
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: TimeDistanceCountdownPipe, isStandalone: true, name: "timeCountdownDistance", pure: false });
|
|
4281
|
-
}
|
|
4282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TimeDistanceCountdownPipe, decorators: [{
|
|
4283
|
-
type: Pipe,
|
|
4284
|
-
args: [{
|
|
4285
|
-
name: 'timeCountdownDistance',
|
|
4286
|
-
standalone: true,
|
|
4287
|
-
pure: false
|
|
4288
|
-
}]
|
|
4289
|
-
}] });
|
|
4290
|
-
class TimeDistancePipe {
|
|
4291
|
-
transform(input, to, unavailable = 'Not Available') {
|
|
4292
|
-
if (input) {
|
|
4077
|
+
class DateDistancePipe {
|
|
4078
|
+
transform(input, inputTo, unavailable = 'Not Available') {
|
|
4079
|
+
if (input != null) {
|
|
4080
|
+
const to = inputTo ?? new Date();
|
|
4293
4081
|
const from = ToJsDatePipe.toJsDate(input);
|
|
4294
|
-
return
|
|
4295
|
-
addSuffix: true
|
|
4296
|
-
});
|
|
4082
|
+
return formatDateDistance(to, from);
|
|
4297
4083
|
}
|
|
4298
4084
|
else {
|
|
4299
4085
|
return unavailable;
|
|
4300
4086
|
}
|
|
4301
4087
|
}
|
|
4302
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4303
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4088
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DateDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4089
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DateDistancePipe, isStandalone: true, name: "dateDistance", pure: false });
|
|
4304
4090
|
}
|
|
4305
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4091
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DateDistancePipe, decorators: [{
|
|
4306
4092
|
type: Pipe,
|
|
4307
4093
|
args: [{
|
|
4308
|
-
name: '
|
|
4094
|
+
name: 'dateDistance',
|
|
4309
4095
|
standalone: true,
|
|
4310
4096
|
pure: false
|
|
4311
4097
|
}]
|
|
4312
4098
|
}] });
|
|
4313
4099
|
|
|
4314
|
-
class ToMinutesPipe {
|
|
4315
|
-
transform(milliseconds) {
|
|
4316
|
-
if (milliseconds) {
|
|
4317
|
-
return Math.floor(milliseconds / (60 * 1000));
|
|
4318
|
-
}
|
|
4319
|
-
return milliseconds;
|
|
4320
|
-
}
|
|
4321
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ToMinutesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4322
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ToMinutesPipe, isStandalone: true, name: "toMinutes" });
|
|
4323
|
-
}
|
|
4324
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ToMinutesPipe, decorators: [{
|
|
4325
|
-
type: Pipe,
|
|
4326
|
-
args: [{
|
|
4327
|
-
name: 'toMinutes',
|
|
4328
|
-
standalone: true,
|
|
4329
|
-
pure: true
|
|
4330
|
-
}]
|
|
4331
|
-
}] });
|
|
4332
|
-
|
|
4333
4100
|
/**
|
|
4334
4101
|
* Pipe that takes in a date and appends the distance to it in parenthesis.
|
|
4335
4102
|
*/
|
|
@@ -4349,10 +4116,10 @@ class DateFormatDistancePipe {
|
|
|
4349
4116
|
}
|
|
4350
4117
|
return undefined;
|
|
4351
4118
|
}
|
|
4352
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4353
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4119
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DateFormatDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4120
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DateFormatDistancePipe, isStandalone: true, name: "dateFormatDistance", pure: false });
|
|
4354
4121
|
}
|
|
4355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DateFormatDistancePipe, decorators: [{
|
|
4356
4123
|
type: Pipe,
|
|
4357
4124
|
args: [{
|
|
4358
4125
|
name: 'dateFormatDistance',
|
|
@@ -4361,45 +4128,51 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
4361
4128
|
}]
|
|
4362
4129
|
}] });
|
|
4363
4130
|
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4131
|
+
/**
|
|
4132
|
+
* Pipe that takes in a date and number of minutes and outputs a formatted date.
|
|
4133
|
+
*/
|
|
4134
|
+
class DateFormatFromToPipe {
|
|
4135
|
+
locale = inject(LOCALE_ID);
|
|
4136
|
+
static formatFromTo(input, format, minutes, locale) {
|
|
4137
|
+
if (input) {
|
|
4138
|
+
const date = toJsDate(input);
|
|
4139
|
+
const endDate = addMinutes(date, minutes);
|
|
4140
|
+
const dateString = formatDate(date, format, locale);
|
|
4141
|
+
return dateString + ' - ' + formatToTimeString(endDate);
|
|
4373
4142
|
}
|
|
4143
|
+
return undefined;
|
|
4144
|
+
}
|
|
4145
|
+
transform(input, format, minutes) {
|
|
4146
|
+
return DateFormatFromToPipe.formatFromTo(input, format, minutes, this.locale);
|
|
4374
4147
|
}
|
|
4375
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4376
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4148
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DateFormatFromToPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4149
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DateFormatFromToPipe, isStandalone: true, name: "dateFormatFromTo" });
|
|
4377
4150
|
}
|
|
4378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DateFormatFromToPipe, decorators: [{
|
|
4379
4152
|
type: Pipe,
|
|
4380
4153
|
args: [{
|
|
4381
|
-
name: '
|
|
4154
|
+
name: 'dateFormatFromTo',
|
|
4382
4155
|
standalone: true,
|
|
4383
|
-
pure:
|
|
4156
|
+
pure: true
|
|
4384
4157
|
}]
|
|
4385
4158
|
}] });
|
|
4386
4159
|
|
|
4387
|
-
class
|
|
4160
|
+
class DateDayTimeRangePipe {
|
|
4388
4161
|
transform(input, unavailable = 'Not Available') {
|
|
4389
4162
|
if (input) {
|
|
4390
|
-
return
|
|
4163
|
+
return formatToDayTimeRangeString(input);
|
|
4391
4164
|
}
|
|
4392
4165
|
else {
|
|
4393
4166
|
return unavailable;
|
|
4394
4167
|
}
|
|
4395
4168
|
}
|
|
4396
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4397
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4169
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DateDayTimeRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4170
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DateDayTimeRangePipe, isStandalone: true, name: "dateDayTimeRange" });
|
|
4398
4171
|
}
|
|
4399
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DateDayTimeRangePipe, decorators: [{
|
|
4400
4173
|
type: Pipe,
|
|
4401
4174
|
args: [{
|
|
4402
|
-
name: '
|
|
4175
|
+
name: 'dateDayTimeRange',
|
|
4403
4176
|
standalone: true,
|
|
4404
4177
|
pure: true
|
|
4405
4178
|
}]
|
|
@@ -4414,10 +4187,10 @@ class DateTimeRangePipe {
|
|
|
4414
4187
|
return unavailable;
|
|
4415
4188
|
}
|
|
4416
4189
|
}
|
|
4417
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4418
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4190
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DateTimeRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4191
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DateTimeRangePipe, isStandalone: true, name: "dateTimeRange" });
|
|
4419
4192
|
}
|
|
4420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DateTimeRangePipe, decorators: [{
|
|
4421
4194
|
type: Pipe,
|
|
4422
4195
|
args: [{
|
|
4423
4196
|
name: 'dateTimeRange',
|
|
@@ -4426,24 +4199,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
4426
4199
|
}]
|
|
4427
4200
|
}] });
|
|
4428
4201
|
|
|
4429
|
-
class
|
|
4202
|
+
class DateRangeDistancePipe {
|
|
4430
4203
|
transform(input, unavailable = 'Not Available') {
|
|
4431
|
-
if (input) {
|
|
4432
|
-
return
|
|
4204
|
+
if (input != null) {
|
|
4205
|
+
return formatDateDistance(input, new Date());
|
|
4433
4206
|
}
|
|
4434
4207
|
else {
|
|
4435
4208
|
return unavailable;
|
|
4436
4209
|
}
|
|
4437
4210
|
}
|
|
4438
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4439
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4211
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DateRangeDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4212
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DateRangeDistancePipe, isStandalone: true, name: "dateRangeDistance", pure: false });
|
|
4440
4213
|
}
|
|
4441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DateRangeDistancePipe, decorators: [{
|
|
4442
4215
|
type: Pipe,
|
|
4443
4216
|
args: [{
|
|
4444
|
-
name: '
|
|
4217
|
+
name: 'dateRangeDistance',
|
|
4445
4218
|
standalone: true,
|
|
4446
|
-
pure:
|
|
4219
|
+
pure: false
|
|
4447
4220
|
}]
|
|
4448
4221
|
}] });
|
|
4449
4222
|
|
|
@@ -4456,10 +4229,10 @@ class DateTimeRangeOnlyPipe {
|
|
|
4456
4229
|
return unavailable;
|
|
4457
4230
|
}
|
|
4458
4231
|
}
|
|
4459
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4460
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4232
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DateTimeRangeOnlyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4233
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DateTimeRangeOnlyPipe, isStandalone: true, name: "dateTimeRangeOnly" });
|
|
4461
4234
|
}
|
|
4462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DateTimeRangeOnlyPipe, decorators: [{
|
|
4463
4236
|
type: Pipe,
|
|
4464
4237
|
args: [{
|
|
4465
4238
|
name: 'dateTimeRangeOnly',
|
|
@@ -4468,48 +4241,48 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
4468
4241
|
}]
|
|
4469
4242
|
}] });
|
|
4470
4243
|
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4244
|
+
/**
|
|
4245
|
+
* Converts the input date and timezone to a system date that represents that date/time.
|
|
4246
|
+
*/
|
|
4247
|
+
class TargetDateToSystemDatePipe {
|
|
4248
|
+
transform(input, timezone) {
|
|
4249
|
+
if (input && timezone) {
|
|
4250
|
+
return dateTimezoneUtcNormal({ timezone }).targetDateToSystemDate(input);
|
|
4475
4251
|
}
|
|
4476
4252
|
else {
|
|
4477
|
-
return
|
|
4253
|
+
return undefined;
|
|
4478
4254
|
}
|
|
4479
4255
|
}
|
|
4480
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4481
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4256
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: TargetDateToSystemDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4257
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: TargetDateToSystemDatePipe, isStandalone: true, name: "targetDateToSystemDate", pure: false });
|
|
4482
4258
|
}
|
|
4483
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: TargetDateToSystemDatePipe, decorators: [{
|
|
4484
4260
|
type: Pipe,
|
|
4485
4261
|
args: [{
|
|
4486
|
-
name: '
|
|
4262
|
+
name: 'targetDateToSystemDate',
|
|
4487
4263
|
standalone: true,
|
|
4488
|
-
pure:
|
|
4264
|
+
pure: false
|
|
4489
4265
|
}]
|
|
4490
4266
|
}] });
|
|
4491
4267
|
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
transform(input, timezone) {
|
|
4497
|
-
if (input && timezone) {
|
|
4498
|
-
return dateTimezoneUtcNormal({ timezone }).targetDateToSystemDate(input);
|
|
4268
|
+
class DateTimeRangeOnlyDistancePipe {
|
|
4269
|
+
transform(input, config, unavailable = 'Not Available') {
|
|
4270
|
+
if (input) {
|
|
4271
|
+
return formatDateRangeDistance(input, { ...config });
|
|
4499
4272
|
}
|
|
4500
4273
|
else {
|
|
4501
|
-
return
|
|
4274
|
+
return unavailable;
|
|
4502
4275
|
}
|
|
4503
4276
|
}
|
|
4504
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4505
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4277
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DateTimeRangeOnlyDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4278
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DateTimeRangeOnlyDistancePipe, isStandalone: true, name: "dateTimeRangeOnlyDistance" });
|
|
4506
4279
|
}
|
|
4507
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DateTimeRangeOnlyDistancePipe, decorators: [{
|
|
4508
4281
|
type: Pipe,
|
|
4509
4282
|
args: [{
|
|
4510
|
-
name: '
|
|
4283
|
+
name: 'dateTimeRangeOnlyDistance',
|
|
4511
4284
|
standalone: true,
|
|
4512
|
-
pure:
|
|
4285
|
+
pure: true
|
|
4513
4286
|
}]
|
|
4514
4287
|
}] });
|
|
4515
4288
|
|
|
@@ -4525,10 +4298,10 @@ class TimezoneAbbreviationPipe {
|
|
|
4525
4298
|
return undefined;
|
|
4526
4299
|
}
|
|
4527
4300
|
}
|
|
4528
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4529
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4301
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: TimezoneAbbreviationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4302
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: TimezoneAbbreviationPipe, isStandalone: true, name: "timezoneAbbreviation", pure: false });
|
|
4530
4303
|
}
|
|
4531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: TimezoneAbbreviationPipe, decorators: [{
|
|
4532
4305
|
type: Pipe,
|
|
4533
4306
|
args: [{
|
|
4534
4307
|
name: 'timezoneAbbreviation',
|
|
@@ -4549,10 +4322,10 @@ class SystemDateToTargetDatePipe {
|
|
|
4549
4322
|
return undefined;
|
|
4550
4323
|
}
|
|
4551
4324
|
}
|
|
4552
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4553
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4325
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SystemDateToTargetDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4326
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: SystemDateToTargetDatePipe, isStandalone: true, name: "systemDateToTargetDate", pure: false });
|
|
4554
4327
|
}
|
|
4555
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4328
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SystemDateToTargetDatePipe, decorators: [{
|
|
4556
4329
|
type: Pipe,
|
|
4557
4330
|
args: [{
|
|
4558
4331
|
name: 'systemDateToTargetDate',
|
|
@@ -4561,114 +4334,109 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
4561
4334
|
}]
|
|
4562
4335
|
}] });
|
|
4563
4336
|
|
|
4564
|
-
class
|
|
4565
|
-
transform(input
|
|
4566
|
-
|
|
4567
|
-
|
|
4337
|
+
class MinutesStringPipe {
|
|
4338
|
+
transform(input) {
|
|
4339
|
+
const minutes = Number(input);
|
|
4340
|
+
if (input != null && !isNaN(minutes)) {
|
|
4341
|
+
if (minutes > 3600) {
|
|
4342
|
+
const unrounded = minutes / 3600;
|
|
4343
|
+
const days = Math.ceil(unrounded);
|
|
4344
|
+
return (unrounded !== days ? '~' : '') + days + ' days';
|
|
4345
|
+
}
|
|
4346
|
+
else if (minutes > 180) {
|
|
4347
|
+
const unrounded = minutes / 60;
|
|
4348
|
+
const hours = Math.ceil(unrounded);
|
|
4349
|
+
return (unrounded !== hours ? '~' : '') + hours + ' hours';
|
|
4350
|
+
}
|
|
4351
|
+
else {
|
|
4352
|
+
return minutes + ' minutes';
|
|
4353
|
+
}
|
|
4354
|
+
}
|
|
4355
|
+
else {
|
|
4356
|
+
return undefined;
|
|
4357
|
+
}
|
|
4358
|
+
}
|
|
4359
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MinutesStringPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4360
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: MinutesStringPipe, isStandalone: true, name: "minutesString", pure: false });
|
|
4361
|
+
}
|
|
4362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: MinutesStringPipe, decorators: [{
|
|
4363
|
+
type: Pipe,
|
|
4364
|
+
args: [{
|
|
4365
|
+
name: 'minutesString',
|
|
4366
|
+
standalone: true,
|
|
4367
|
+
pure: false
|
|
4368
|
+
}]
|
|
4369
|
+
}] });
|
|
4370
|
+
|
|
4371
|
+
class TimeDistanceCountdownPipe {
|
|
4372
|
+
transform(input, soonString = 'Soon', unavailable = 'Not Available') {
|
|
4373
|
+
if (input) {
|
|
4374
|
+
const from = ToJsDatePipe.toJsDate(input);
|
|
4375
|
+
if (isPast(from)) {
|
|
4376
|
+
return soonString;
|
|
4377
|
+
}
|
|
4378
|
+
else {
|
|
4379
|
+
const to = new Date();
|
|
4380
|
+
return formatDistance(from, to, {
|
|
4381
|
+
addSuffix: true
|
|
4382
|
+
});
|
|
4383
|
+
}
|
|
4568
4384
|
}
|
|
4569
4385
|
else {
|
|
4570
4386
|
return unavailable;
|
|
4571
4387
|
}
|
|
4572
4388
|
}
|
|
4573
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4574
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4389
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: TimeDistanceCountdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4390
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: TimeDistanceCountdownPipe, isStandalone: true, name: "timeCountdownDistance", pure: false });
|
|
4575
4391
|
}
|
|
4576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4392
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: TimeDistanceCountdownPipe, decorators: [{
|
|
4577
4393
|
type: Pipe,
|
|
4578
4394
|
args: [{
|
|
4579
|
-
name: '
|
|
4395
|
+
name: 'timeCountdownDistance',
|
|
4396
|
+
standalone: true,
|
|
4397
|
+
pure: false
|
|
4398
|
+
}]
|
|
4399
|
+
}] });
|
|
4400
|
+
class TimeDistancePipe {
|
|
4401
|
+
transform(input, to, unavailable = 'Not Available') {
|
|
4402
|
+
if (input) {
|
|
4403
|
+
const from = ToJsDatePipe.toJsDate(input);
|
|
4404
|
+
return formatDistance(from, to ?? new Date(), {
|
|
4405
|
+
addSuffix: true
|
|
4406
|
+
});
|
|
4407
|
+
}
|
|
4408
|
+
else {
|
|
4409
|
+
return unavailable;
|
|
4410
|
+
}
|
|
4411
|
+
}
|
|
4412
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: TimeDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4413
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: TimeDistancePipe, isStandalone: true, name: "timeDistance", pure: false });
|
|
4414
|
+
}
|
|
4415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: TimeDistancePipe, decorators: [{
|
|
4416
|
+
type: Pipe,
|
|
4417
|
+
args: [{
|
|
4418
|
+
name: 'timeDistance',
|
|
4580
4419
|
standalone: true,
|
|
4581
4420
|
pure: false
|
|
4582
4421
|
}]
|
|
4583
4422
|
}] });
|
|
4584
4423
|
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
DateTimeRangeOnlyDistancePipe,
|
|
4598
|
-
DateFormatDistancePipe,
|
|
4599
|
-
MinutesStringPipe,
|
|
4600
|
-
TimeDistanceCountdownPipe,
|
|
4601
|
-
TimeDistancePipe,
|
|
4602
|
-
ToJsDatePipe,
|
|
4603
|
-
ToMinutesPipe
|
|
4604
|
-
];
|
|
4605
|
-
/**
|
|
4606
|
-
* @deprecated import the standalone pipes directly as needed.
|
|
4607
|
-
*
|
|
4608
|
-
* @see DateDistancePipe
|
|
4609
|
-
* @see DateRangeDistancePipe
|
|
4610
|
-
* @see TargetDateToSystemDatePipe
|
|
4611
|
-
* @see SystemDateToTargetDatePipe
|
|
4612
|
-
* @see TimezoneAbbreviationPipe
|
|
4613
|
-
* @see DateFromToTimePipe
|
|
4614
|
-
* @see DateDayRangePipe
|
|
4615
|
-
* @see DateDayTimeRangePipe
|
|
4616
|
-
* @see DateTimeRangeOnlyPipe
|
|
4617
|
-
* @see DateTimeRangePipe
|
|
4618
|
-
* @see DateTimeRangeOnlyDistancePipe
|
|
4619
|
-
* @see DateFormatDistancePipe
|
|
4620
|
-
* @see MinutesStringPipe
|
|
4621
|
-
* @see TimeDistanceCountdownPipe
|
|
4622
|
-
* @see TimeDistancePipe
|
|
4623
|
-
* @see ToJsDatePipe
|
|
4624
|
-
* @see ToMinutesPipe
|
|
4625
|
-
*/
|
|
4626
|
-
class DbxDatePipeModule {
|
|
4627
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxDatePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4628
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxDatePipeModule, imports: [
|
|
4629
|
-
//
|
|
4630
|
-
DateDistancePipe,
|
|
4631
|
-
DateRangeDistancePipe,
|
|
4632
|
-
TargetDateToSystemDatePipe,
|
|
4633
|
-
SystemDateToTargetDatePipe,
|
|
4634
|
-
TimezoneAbbreviationPipe,
|
|
4635
|
-
DateFromToTimePipe,
|
|
4636
|
-
DateDayRangePipe,
|
|
4637
|
-
DateDayTimeRangePipe,
|
|
4638
|
-
DateTimeRangeOnlyPipe,
|
|
4639
|
-
DateTimeRangePipe,
|
|
4640
|
-
DateTimeRangeOnlyDistancePipe,
|
|
4641
|
-
DateFormatDistancePipe,
|
|
4642
|
-
MinutesStringPipe,
|
|
4643
|
-
TimeDistanceCountdownPipe,
|
|
4644
|
-
TimeDistancePipe,
|
|
4645
|
-
ToJsDatePipe,
|
|
4646
|
-
ToMinutesPipe], exports: [
|
|
4647
|
-
//
|
|
4648
|
-
DateDistancePipe,
|
|
4649
|
-
DateRangeDistancePipe,
|
|
4650
|
-
TargetDateToSystemDatePipe,
|
|
4651
|
-
SystemDateToTargetDatePipe,
|
|
4652
|
-
TimezoneAbbreviationPipe,
|
|
4653
|
-
DateFromToTimePipe,
|
|
4654
|
-
DateDayRangePipe,
|
|
4655
|
-
DateDayTimeRangePipe,
|
|
4656
|
-
DateTimeRangeOnlyPipe,
|
|
4657
|
-
DateTimeRangePipe,
|
|
4658
|
-
DateTimeRangeOnlyDistancePipe,
|
|
4659
|
-
DateFormatDistancePipe,
|
|
4660
|
-
MinutesStringPipe,
|
|
4661
|
-
TimeDistanceCountdownPipe,
|
|
4662
|
-
TimeDistancePipe,
|
|
4663
|
-
ToJsDatePipe,
|
|
4664
|
-
ToMinutesPipe] });
|
|
4665
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxDatePipeModule });
|
|
4666
|
-
}
|
|
4667
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxDatePipeModule, decorators: [{
|
|
4668
|
-
type: NgModule,
|
|
4424
|
+
class ToMinutesPipe {
|
|
4425
|
+
transform(milliseconds) {
|
|
4426
|
+
if (milliseconds) {
|
|
4427
|
+
return Math.floor(milliseconds / (60 * 1000));
|
|
4428
|
+
}
|
|
4429
|
+
return milliseconds;
|
|
4430
|
+
}
|
|
4431
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ToMinutesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4432
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: ToMinutesPipe, isStandalone: true, name: "toMinutes" });
|
|
4433
|
+
}
|
|
4434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ToMinutesPipe, decorators: [{
|
|
4435
|
+
type: Pipe,
|
|
4669
4436
|
args: [{
|
|
4670
|
-
|
|
4671
|
-
|
|
4437
|
+
name: 'toMinutes',
|
|
4438
|
+
standalone: true,
|
|
4439
|
+
pure: true
|
|
4672
4440
|
}]
|
|
4673
4441
|
}] });
|
|
4674
4442
|
|
|
@@ -4689,10 +4457,10 @@ class PrettyJsonPipe {
|
|
|
4689
4457
|
transform(input, spacing) {
|
|
4690
4458
|
return PrettyJsonPipe.toPrettyJson(input, spacing);
|
|
4691
4459
|
}
|
|
4692
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4693
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4460
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: PrettyJsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4461
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: PrettyJsonPipe, isStandalone: true, name: "prettyjson" });
|
|
4694
4462
|
}
|
|
4695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4463
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: PrettyJsonPipe, decorators: [{
|
|
4696
4464
|
type: Pipe,
|
|
4697
4465
|
args: [{
|
|
4698
4466
|
name: 'prettyjson',
|
|
@@ -4700,24 +4468,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
4700
4468
|
}]
|
|
4701
4469
|
}] });
|
|
4702
4470
|
|
|
4703
|
-
/**
|
|
4704
|
-
* @deprecated import the standalone pipes directly
|
|
4705
|
-
*
|
|
4706
|
-
* @see PrettyJsonPipe
|
|
4707
|
-
*/
|
|
4708
|
-
class DbxMiscPipeModule {
|
|
4709
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMiscPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4710
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxMiscPipeModule, imports: [PrettyJsonPipe], exports: [PrettyJsonPipe] });
|
|
4711
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMiscPipeModule });
|
|
4712
|
-
}
|
|
4713
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxMiscPipeModule, decorators: [{
|
|
4714
|
-
type: NgModule,
|
|
4715
|
-
args: [{
|
|
4716
|
-
imports: [PrettyJsonPipe],
|
|
4717
|
-
exports: [PrettyJsonPipe]
|
|
4718
|
-
}]
|
|
4719
|
-
}] });
|
|
4720
|
-
|
|
4721
4471
|
/**
|
|
4722
4472
|
* Pipe that cuts the input text to the requested length and adds elipsis.
|
|
4723
4473
|
*/
|
|
@@ -4725,10 +4475,10 @@ class CutTextPipe {
|
|
|
4725
4475
|
transform(input, maxLength, endText) {
|
|
4726
4476
|
return input != null ? cutString(input, maxLength, endText) : input;
|
|
4727
4477
|
}
|
|
4728
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4729
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4478
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: CutTextPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4479
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: CutTextPipe, isStandalone: true, name: "cutText" });
|
|
4730
4480
|
}
|
|
4731
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: CutTextPipe, decorators: [{
|
|
4732
4482
|
type: Pipe,
|
|
4733
4483
|
args: [{
|
|
4734
4484
|
name: 'cutText',
|
|
@@ -4744,10 +4494,10 @@ class GetValuePipe {
|
|
|
4744
4494
|
transform(input, args) {
|
|
4745
4495
|
return getValueFromGetter(input, args);
|
|
4746
4496
|
}
|
|
4747
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4748
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4497
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: GetValuePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4498
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: GetValuePipe, isStandalone: true, name: "getValue", pure: false });
|
|
4749
4499
|
}
|
|
4750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: GetValuePipe, decorators: [{
|
|
4751
4501
|
type: Pipe,
|
|
4752
4502
|
args: [{
|
|
4753
4503
|
name: 'getValue',
|
|
@@ -4762,10 +4512,10 @@ class GetValueOncePipe {
|
|
|
4762
4512
|
transform(input, args) {
|
|
4763
4513
|
return getValueFromGetter(input, args);
|
|
4764
4514
|
}
|
|
4765
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4766
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4515
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: GetValueOncePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4516
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: GetValueOncePipe, isStandalone: true, name: "getValueOnce" });
|
|
4767
4517
|
}
|
|
4768
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: GetValueOncePipe, decorators: [{
|
|
4769
4519
|
type: Pipe,
|
|
4770
4520
|
args: [{
|
|
4771
4521
|
name: 'getValueOnce',
|
|
@@ -4783,10 +4533,10 @@ class DollarAmountPipe {
|
|
|
4783
4533
|
transform(input, defaultIfNull) {
|
|
4784
4534
|
return defaultIfNull == null || input != null ? dollarAmountString(input) : defaultIfNull;
|
|
4785
4535
|
}
|
|
4786
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4787
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4536
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DollarAmountPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4537
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DollarAmountPipe, isStandalone: true, name: "dollarAmount" });
|
|
4788
4538
|
}
|
|
4789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4539
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DollarAmountPipe, decorators: [{
|
|
4790
4540
|
type: Pipe,
|
|
4791
4541
|
args: [{
|
|
4792
4542
|
name: 'dollarAmount',
|
|
@@ -4795,47 +4545,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
4795
4545
|
}]
|
|
4796
4546
|
}] });
|
|
4797
4547
|
|
|
4798
|
-
const importsAndExports$3 = [CutTextPipe, DollarAmountPipe, GetValuePipe, GetValueOncePipe];
|
|
4799
|
-
/**
|
|
4800
|
-
* @deprecated import the pipes directly as needed.
|
|
4801
|
-
*
|
|
4802
|
-
* @see CutTextPipe
|
|
4803
|
-
* @see DollarAmountPipe
|
|
4804
|
-
* @see GetValuePipe
|
|
4805
|
-
* @see GetValueOncePipe
|
|
4806
|
-
*/
|
|
4807
|
-
class DbxValuePipeModule {
|
|
4808
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxValuePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4809
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxValuePipeModule, imports: [CutTextPipe, DollarAmountPipe, GetValuePipe, GetValueOncePipe], exports: [CutTextPipe, DollarAmountPipe, GetValuePipe, GetValueOncePipe] });
|
|
4810
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxValuePipeModule });
|
|
4811
|
-
}
|
|
4812
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxValuePipeModule, decorators: [{
|
|
4813
|
-
type: NgModule,
|
|
4814
|
-
args: [{
|
|
4815
|
-
imports: importsAndExports$3,
|
|
4816
|
-
exports: importsAndExports$3
|
|
4817
|
-
}]
|
|
4818
|
-
}] });
|
|
4819
|
-
|
|
4820
|
-
const importsAndExports$2 = [DbxAsyncPipeModule, DbxMiscPipeModule, DbxDatePipeModule, DbxValuePipeModule];
|
|
4821
|
-
/**
|
|
4822
|
-
* Exports all @dereekb/dbx-core pipes
|
|
4823
|
-
*
|
|
4824
|
-
* @deprecated import the pipes directly as needed.
|
|
4825
|
-
*/
|
|
4826
|
-
class DbxPipesModule {
|
|
4827
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4828
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxPipesModule, imports: [DbxAsyncPipeModule, DbxMiscPipeModule, DbxDatePipeModule, DbxValuePipeModule], exports: [DbxAsyncPipeModule, DbxMiscPipeModule, DbxDatePipeModule, DbxValuePipeModule] });
|
|
4829
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxPipesModule, imports: [importsAndExports$2, DbxAsyncPipeModule, DbxMiscPipeModule, DbxDatePipeModule, DbxValuePipeModule] });
|
|
4830
|
-
}
|
|
4831
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxPipesModule, decorators: [{
|
|
4832
|
-
type: NgModule,
|
|
4833
|
-
args: [{
|
|
4834
|
-
imports: importsAndExports$2,
|
|
4835
|
-
exports: importsAndExports$2
|
|
4836
|
-
}]
|
|
4837
|
-
}] });
|
|
4838
|
-
|
|
4839
4548
|
/**
|
|
4840
4549
|
* Abstract FilterSourceConnector directive.
|
|
4841
4550
|
*/
|
|
@@ -4845,10 +4554,10 @@ class AbstractFilterSourceConnectorDirective {
|
|
|
4845
4554
|
connectWithSource(filterSource) {
|
|
4846
4555
|
this._source.next(filterSource);
|
|
4847
4556
|
}
|
|
4848
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4849
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4557
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractFilterSourceConnectorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4558
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: AbstractFilterSourceConnectorDirective, isStandalone: true, ngImport: i0 });
|
|
4850
4559
|
}
|
|
4851
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4560
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractFilterSourceConnectorDirective, decorators: [{
|
|
4852
4561
|
type: Directive
|
|
4853
4562
|
}] });
|
|
4854
4563
|
|
|
@@ -4930,17 +4639,10 @@ class AbstractFilterSourceDirective {
|
|
|
4930
4639
|
setInitialFilterTakesPriority(initialFilterTakesPriority) {
|
|
4931
4640
|
this._defaultFilterSource.setInitialFilterTakesPriority(initialFilterTakesPriority);
|
|
4932
4641
|
}
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
* @deprecated use setInitialFilterTakesPriority() instead.
|
|
4936
|
-
*/
|
|
4937
|
-
set initialFilterTakesPriority(initialFilterTakesPriority) {
|
|
4938
|
-
this.setInitialFilterTakesPriority(initialFilterTakesPriority);
|
|
4939
|
-
}
|
|
4940
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AbstractFilterSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4941
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: AbstractFilterSourceDirective, ngImport: i0 });
|
|
4642
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractFilterSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4643
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: AbstractFilterSourceDirective, isStandalone: true, ngImport: i0 });
|
|
4942
4644
|
}
|
|
4943
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4645
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractFilterSourceDirective, decorators: [{
|
|
4944
4646
|
type: Directive
|
|
4945
4647
|
}] });
|
|
4946
4648
|
|
|
@@ -4953,10 +4655,10 @@ class DbxFilterConnectSourceDirective {
|
|
|
4953
4655
|
ngOnInit() {
|
|
4954
4656
|
this.filterSourceConnector.connectWithSource(this.filterSource);
|
|
4955
4657
|
}
|
|
4956
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4957
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4658
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFilterConnectSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4659
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFilterConnectSourceDirective, isStandalone: true, selector: "[dbxFilterConnectSource]", ngImport: i0 });
|
|
4958
4660
|
}
|
|
4959
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFilterConnectSourceDirective, decorators: [{
|
|
4960
4662
|
type: Directive,
|
|
4961
4663
|
args: [{
|
|
4962
4664
|
selector: '[dbxFilterConnectSource]',
|
|
@@ -4968,10 +4670,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
4968
4670
|
* Used as a FilterSource and FilterSourceConnector.
|
|
4969
4671
|
*/
|
|
4970
4672
|
class DbxFilterSourceConnectorDirective extends AbstractFilterSourceConnectorDirective {
|
|
4971
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4972
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4673
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFilterSourceConnectorDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4674
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFilterSourceConnectorDirective, isStandalone: true, selector: "[dbxFilterSourceConnector]", providers: [...provideFilterSource(DbxFilterSourceConnectorDirective), ...provideFilterSourceConnector(DbxFilterSourceConnectorDirective)], usesInheritance: true, ngImport: i0 });
|
|
4973
4675
|
}
|
|
4974
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4676
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFilterSourceConnectorDirective, decorators: [{
|
|
4975
4677
|
type: Directive,
|
|
4976
4678
|
args: [{
|
|
4977
4679
|
selector: '[dbxFilterSourceConnector]',
|
|
@@ -4994,10 +4696,10 @@ class AbstractDbxFilterMapInstanceDirective {
|
|
|
4994
4696
|
setFilterMapKey(filterMapKey) {
|
|
4995
4697
|
this._currentFilterMapKey.next(filterMapKey);
|
|
4996
4698
|
}
|
|
4997
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4998
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4699
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFilterMapInstanceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4700
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: AbstractDbxFilterMapInstanceDirective, isStandalone: true, ngImport: i0 });
|
|
4999
4701
|
}
|
|
5000
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4702
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFilterMapInstanceDirective, decorators: [{
|
|
5001
4703
|
type: Directive
|
|
5002
4704
|
}] });
|
|
5003
4705
|
|
|
@@ -5009,22 +4711,22 @@ class AbstractDbxFilterMapSourceDirective extends AbstractDbxFilterMapInstanceDi
|
|
|
5009
4711
|
initWithFilter(filterObs) {
|
|
5010
4712
|
this.instance$.pipe(first()).subscribe((x) => x.initWithFilter(filterObs));
|
|
5011
4713
|
}
|
|
5012
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5013
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4714
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFilterMapSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4715
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: AbstractDbxFilterMapSourceDirective, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
5014
4716
|
}
|
|
5015
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4717
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFilterMapSourceDirective, decorators: [{
|
|
5016
4718
|
type: Directive
|
|
5017
4719
|
}] });
|
|
5018
4720
|
/**
|
|
5019
4721
|
* Provides a FilterSource from a parent FilterMap.
|
|
5020
4722
|
*/
|
|
5021
4723
|
class DbxFilterMapSourceDirective extends AbstractDbxFilterMapSourceDirective {
|
|
5022
|
-
dbxFilterMapSource = input();
|
|
5023
|
-
_dbxFilterMapSourceEffect = effect(() => this.setFilterMapKey(this.dbxFilterMapSource()), {
|
|
5024
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5025
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
4724
|
+
dbxFilterMapSource = input(...(ngDevMode ? [undefined, { debugName: "dbxFilterMapSource" }] : []));
|
|
4725
|
+
_dbxFilterMapSourceEffect = effect(() => this.setFilterMapKey(this.dbxFilterMapSource()), ...(ngDevMode ? [{ debugName: "_dbxFilterMapSourceEffect" }] : []));
|
|
4726
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFilterMapSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4727
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxFilterMapSourceDirective, isStandalone: true, selector: "[dbxFilterMapSource]", inputs: { dbxFilterMapSource: { classPropertyName: "dbxFilterMapSource", publicName: "dbxFilterMapSource", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideFilterSource(DbxFilterMapSourceDirective)], exportAs: ["dbxFilterMapSource"], usesInheritance: true, ngImport: i0 });
|
|
5026
4728
|
}
|
|
5027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4729
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFilterMapSourceDirective, decorators: [{
|
|
5028
4730
|
type: Directive,
|
|
5029
4731
|
args: [{
|
|
5030
4732
|
selector: '[dbxFilterMapSource]',
|
|
@@ -5032,14 +4734,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
5032
4734
|
providers: [provideFilterSource(DbxFilterMapSourceDirective)],
|
|
5033
4735
|
standalone: true
|
|
5034
4736
|
}]
|
|
5035
|
-
}] });
|
|
4737
|
+
}], propDecorators: { dbxFilterMapSource: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxFilterMapSource", required: false }] }] } });
|
|
5036
4738
|
|
|
5037
4739
|
/**
|
|
5038
4740
|
* Acts as an "input" FilterSourceConnector for an FilterMap, as well as a source for the FilterSourceConnector.
|
|
5039
4741
|
*/
|
|
5040
4742
|
class DbxFilterMapSourceConnectorDirective extends AbstractDbxFilterMapSourceDirective {
|
|
5041
|
-
dbxFilterMapSourceConnector = input();
|
|
5042
|
-
_dbxFilterMapSourceConnectorEffect = effect(() => this.setFilterMapKey(this.dbxFilterMapSourceConnector()), {
|
|
4743
|
+
dbxFilterMapSourceConnector = input(...(ngDevMode ? [undefined, { debugName: "dbxFilterMapSourceConnector" }] : []));
|
|
4744
|
+
_dbxFilterMapSourceConnectorEffect = effect(() => this.setFilterMapKey(this.dbxFilterMapSourceConnector()), ...(ngDevMode ? [{ debugName: "_dbxFilterMapSourceConnectorEffect" }] : []));
|
|
5043
4745
|
// MARK: FilterSourceConnector
|
|
5044
4746
|
connectWithSource(filterSource) {
|
|
5045
4747
|
this.instance$.pipe(first()).subscribe((x) => {
|
|
@@ -5049,10 +4751,10 @@ class DbxFilterMapSourceConnectorDirective extends AbstractDbxFilterMapSourceDir
|
|
|
5049
4751
|
}
|
|
5050
4752
|
});
|
|
5051
4753
|
}
|
|
5052
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5053
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
4754
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFilterMapSourceConnectorDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4755
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxFilterMapSourceConnectorDirective, isStandalone: true, selector: "[dbxFilterMapSourceConnector]", inputs: { dbxFilterMapSourceConnector: { classPropertyName: "dbxFilterMapSourceConnector", publicName: "dbxFilterMapSourceConnector", isSignal: true, isRequired: false, transformFunction: null } }, providers: [...provideFilterSource(DbxFilterMapSourceConnectorDirective), ...provideFilterSourceConnector(DbxFilterMapSourceConnectorDirective)], exportAs: ["dbxFilterMapSourceConnector"], usesInheritance: true, ngImport: i0 });
|
|
5054
4756
|
}
|
|
5055
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFilterMapSourceConnectorDirective, decorators: [{
|
|
5056
4758
|
type: Directive,
|
|
5057
4759
|
args: [{
|
|
5058
4760
|
selector: '[dbxFilterMapSourceConnector]',
|
|
@@ -5060,17 +4762,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
5060
4762
|
providers: [...provideFilterSource(DbxFilterMapSourceConnectorDirective), ...provideFilterSourceConnector(DbxFilterMapSourceConnectorDirective)],
|
|
5061
4763
|
standalone: true
|
|
5062
4764
|
}]
|
|
5063
|
-
}] });
|
|
4765
|
+
}], propDecorators: { dbxFilterMapSourceConnector: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxFilterMapSourceConnector", required: false }] }] } });
|
|
5064
4766
|
|
|
5065
4767
|
/**
|
|
5066
4768
|
* Direction that provides a FilterMap.
|
|
5067
4769
|
*/
|
|
5068
4770
|
class DbxFilterMapDirective {
|
|
5069
4771
|
filterMap = clean(inject((FilterMap)));
|
|
5070
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5071
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4772
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFilterMapDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4773
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFilterMapDirective, isStandalone: true, selector: "[dbxFilterMap]", providers: [FilterMap], exportAs: ["dbxFilterMap"], ngImport: i0 });
|
|
5072
4774
|
}
|
|
5073
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4775
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFilterMapDirective, decorators: [{
|
|
5074
4776
|
type: Directive,
|
|
5075
4777
|
args: [{
|
|
5076
4778
|
selector: '[dbxFilterMap]',
|
|
@@ -5091,10 +4793,10 @@ function isClickablePartialFilterPreset(preset) {
|
|
|
5091
4793
|
* Basic filter source directive.
|
|
5092
4794
|
*/
|
|
5093
4795
|
class DbxFilterSourceDirective extends AbstractFilterSourceDirective {
|
|
5094
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5095
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4796
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFilterSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4797
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFilterSourceDirective, isStandalone: true, selector: "[dbxFilterSource]", providers: provideFilterSourceDirective(DbxFilterSourceDirective), usesInheritance: true, ngImport: i0 });
|
|
5096
4798
|
}
|
|
5097
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4799
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFilterSourceDirective, decorators: [{
|
|
5098
4800
|
type: Directive,
|
|
5099
4801
|
args: [{
|
|
5100
4802
|
selector: '[dbxFilterSource]',
|
|
@@ -5103,17 +4805,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
5103
4805
|
}]
|
|
5104
4806
|
}] });
|
|
5105
4807
|
|
|
5106
|
-
const importsAndExports
|
|
4808
|
+
const importsAndExports = [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective];
|
|
5107
4809
|
class DbxCoreFilterModule {
|
|
5108
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5109
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5110
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4810
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxCoreFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4811
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DbxCoreFilterModule, imports: [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective], exports: [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective] });
|
|
4812
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxCoreFilterModule });
|
|
5111
4813
|
}
|
|
5112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4814
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxCoreFilterModule, decorators: [{
|
|
5113
4815
|
type: NgModule,
|
|
5114
4816
|
args: [{
|
|
5115
|
-
imports: importsAndExports
|
|
5116
|
-
exports: importsAndExports
|
|
4817
|
+
imports: importsAndExports,
|
|
4818
|
+
exports: importsAndExports
|
|
5117
4819
|
}]
|
|
5118
4820
|
}] });
|
|
5119
4821
|
|
|
@@ -5277,10 +4979,10 @@ class AbstractDbxInjectionDirective {
|
|
|
5277
4979
|
setContent(content) {
|
|
5278
4980
|
this._instance.content = content;
|
|
5279
4981
|
}
|
|
5280
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5281
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4982
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxInjectionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4983
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: AbstractDbxInjectionDirective, isStandalone: true, ngImport: i0 });
|
|
5282
4984
|
}
|
|
5283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxInjectionDirective, decorators: [{
|
|
5284
4986
|
type: Directive
|
|
5285
4987
|
}] });
|
|
5286
4988
|
|
|
@@ -5288,43 +4990,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
5288
4990
|
* Component that injects content based on the configuration into the view.
|
|
5289
4991
|
*/
|
|
5290
4992
|
class DbxInjectionComponent extends AbstractDbxInjectionDirective {
|
|
5291
|
-
content = viewChild('content', { read: ViewContainerRef });
|
|
5292
|
-
config = input();
|
|
5293
|
-
template = input();
|
|
4993
|
+
content = viewChild('content', { ...(ngDevMode ? { debugName: "content" } : {}), read: ViewContainerRef });
|
|
4994
|
+
config = input(...(ngDevMode ? [undefined, { debugName: "config" }] : []));
|
|
4995
|
+
template = input(...(ngDevMode ? [undefined, { debugName: "template" }] : []));
|
|
5294
4996
|
// allow signal writes for each as during their initialization they may write to a signal in some cases when initializing
|
|
5295
|
-
_contentEffect = effect(() => this.setContent(this.content()), {
|
|
5296
|
-
_configEffect = effect(() => this.setConfig(this.config()), {
|
|
5297
|
-
_templateEffect = effect(() => this.setTemplate(this.template()), {
|
|
5298
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5299
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "
|
|
4997
|
+
_contentEffect = effect(() => this.setContent(this.content()), ...(ngDevMode ? [{ debugName: "_contentEffect" }] : []));
|
|
4998
|
+
_configEffect = effect(() => this.setConfig(this.config()), ...(ngDevMode ? [{ debugName: "_configEffect" }] : []));
|
|
4999
|
+
_templateEffect = effect(() => this.setTemplate(this.template()), ...(ngDevMode ? [{ debugName: "_templateEffect" }] : []));
|
|
5000
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxInjectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5001
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.0", type: DbxInjectionComponent, isStandalone: true, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null }, template: { classPropertyName: "template", publicName: "template", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, read: ViewContainerRef, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
5300
5002
|
<ng-template #content></ng-template>
|
|
5301
5003
|
`, isInline: true });
|
|
5302
5004
|
}
|
|
5303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5005
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxInjectionComponent, decorators: [{
|
|
5304
5006
|
type: Component,
|
|
5305
5007
|
args: [{
|
|
5306
5008
|
selector: 'dbx-injection, [dbxInjection], [dbx-injection]',
|
|
5307
5009
|
template: `
|
|
5308
5010
|
<ng-template #content></ng-template>
|
|
5309
5011
|
`,
|
|
5310
|
-
imports: [
|
|
5012
|
+
imports: [],
|
|
5311
5013
|
standalone: true
|
|
5312
5014
|
}]
|
|
5313
|
-
}] });
|
|
5015
|
+
}], propDecorators: { content: [{ type: i0.ViewChild, args: ['content', { ...{ read: ViewContainerRef }, isSignal: true }] }], config: [{ type: i0.Input, args: [{ isSignal: true, alias: "config", required: false }] }], template: [{ type: i0.Input, args: [{ isSignal: true, alias: "template", required: false }] }] } });
|
|
5314
5016
|
|
|
5315
5017
|
/**
|
|
5316
5018
|
* Component that injects content based on the configuration into the view.
|
|
5317
5019
|
*/
|
|
5318
5020
|
class DbxInjectionArrayComponent {
|
|
5319
|
-
entries = input(undefined);
|
|
5320
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5321
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5021
|
+
entries = input(undefined, ...(ngDevMode ? [{ debugName: "entries" }] : []));
|
|
5022
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxInjectionArrayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5023
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: DbxInjectionArrayComponent, isStandalone: true, selector: "dbx-injection-array", inputs: { entries: { classPropertyName: "entries", publicName: "entries", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
5322
5024
|
@for (entry of entries(); track entry.key) {
|
|
5323
5025
|
<dbx-injection [config]="entry.injectionConfig"></dbx-injection>
|
|
5324
5026
|
}
|
|
5325
5027
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5326
5028
|
}
|
|
5327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5029
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxInjectionArrayComponent, decorators: [{
|
|
5328
5030
|
type: Component,
|
|
5329
5031
|
args: [{
|
|
5330
5032
|
selector: 'dbx-injection-array',
|
|
@@ -5333,11 +5035,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
5333
5035
|
<dbx-injection [config]="entry.injectionConfig"></dbx-injection>
|
|
5334
5036
|
}
|
|
5335
5037
|
`,
|
|
5336
|
-
imports: [DbxInjectionComponent
|
|
5038
|
+
imports: [DbxInjectionComponent],
|
|
5337
5039
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5338
5040
|
standalone: true
|
|
5339
5041
|
}]
|
|
5340
|
-
}] });
|
|
5042
|
+
}], propDecorators: { entries: [{ type: i0.Input, args: [{ isSignal: true, alias: "entries", required: false }] }] } });
|
|
5341
5043
|
|
|
5342
5044
|
/**
|
|
5343
5045
|
* View that can switch to show another arbitrary view, then switch back when the promise ends.
|
|
@@ -5370,12 +5072,12 @@ class DbxInjectionContextDirective {
|
|
|
5370
5072
|
_currentPromise;
|
|
5371
5073
|
_embeddedView;
|
|
5372
5074
|
_isDetached = false;
|
|
5373
|
-
config = input();
|
|
5075
|
+
config = input(...(ngDevMode ? [undefined, { debugName: "config" }] : []));
|
|
5374
5076
|
_configEffect = effect(() => {
|
|
5375
5077
|
this.setConfig(this.config());
|
|
5376
5078
|
// NOTE: we have/call setConfig() because the effect() may not respond to all value changes,
|
|
5377
5079
|
// especially when setConfig() ends up being called twice quickly in quick succession.
|
|
5378
|
-
});
|
|
5080
|
+
}, ...(ngDevMode ? [{ debugName: "_configEffect" }] : []));
|
|
5379
5081
|
ngOnInit() {
|
|
5380
5082
|
this._instance.content = this._viewContainer;
|
|
5381
5083
|
this._instance.init();
|
|
@@ -5472,38 +5174,17 @@ class DbxInjectionContextDirective {
|
|
|
5472
5174
|
this._isDetached = false;
|
|
5473
5175
|
}
|
|
5474
5176
|
}
|
|
5475
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5476
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
5177
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxInjectionContextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5178
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxInjectionContextDirective, isStandalone: true, selector: "[dbxInjectionContext]", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null } }, providers: provideDbxInjectionContext(DbxInjectionContextDirective), ngImport: i0 });
|
|
5477
5179
|
}
|
|
5478
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxInjectionContextDirective, decorators: [{
|
|
5479
5181
|
type: Directive,
|
|
5480
5182
|
args: [{
|
|
5481
5183
|
selector: '[dbxInjectionContext]',
|
|
5482
5184
|
providers: provideDbxInjectionContext(DbxInjectionContextDirective),
|
|
5483
5185
|
standalone: true
|
|
5484
5186
|
}]
|
|
5485
|
-
}] });
|
|
5486
|
-
|
|
5487
|
-
const importsAndExports = [DbxInjectionComponent, DbxInjectionArrayComponent, DbxInjectionContextDirective];
|
|
5488
|
-
/**
|
|
5489
|
-
* @deprecated import the individual components instead.
|
|
5490
|
-
*
|
|
5491
|
-
* - DbxInjectionComponent
|
|
5492
|
-
* - DbxInjectionArrayComponent
|
|
5493
|
-
* - DbxInjectionContextDirective
|
|
5494
|
-
*/
|
|
5495
|
-
class DbxInjectionComponentModule {
|
|
5496
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxInjectionComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5497
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxInjectionComponentModule, imports: [DbxInjectionComponent, DbxInjectionArrayComponent, DbxInjectionContextDirective], exports: [DbxInjectionComponent, DbxInjectionArrayComponent, DbxInjectionContextDirective] });
|
|
5498
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxInjectionComponentModule });
|
|
5499
|
-
}
|
|
5500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxInjectionComponentModule, decorators: [{
|
|
5501
|
-
type: NgModule,
|
|
5502
|
-
args: [{
|
|
5503
|
-
imports: importsAndExports,
|
|
5504
|
-
exports: importsAndExports
|
|
5505
|
-
}]
|
|
5506
|
-
}] });
|
|
5187
|
+
}], propDecorators: { config: [{ type: i0.Input, args: [{ isSignal: true, alias: "config", required: false }] }] } });
|
|
5507
5188
|
|
|
5508
5189
|
/**
|
|
5509
5190
|
* Abstract DbxInjectionContext implementation that forwards commands to a host DbxInjectionContext.
|
|
@@ -5520,10 +5201,10 @@ class AbstractForwardDbxInjectionContextDirective {
|
|
|
5520
5201
|
resetContext() {
|
|
5521
5202
|
return this.dbxInjectionContext.resetContext();
|
|
5522
5203
|
}
|
|
5523
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5524
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5204
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractForwardDbxInjectionContextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5205
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: AbstractForwardDbxInjectionContextDirective, isStandalone: true, ngImport: i0 });
|
|
5525
5206
|
}
|
|
5526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractForwardDbxInjectionContextDirective, decorators: [{
|
|
5527
5208
|
type: Directive
|
|
5528
5209
|
}] });
|
|
5529
5210
|
|
|
@@ -5569,6 +5250,8 @@ class LockSetComponentStore extends ComponentStore {
|
|
|
5569
5250
|
lockSet = new LockSet();
|
|
5570
5251
|
lockSetDestroyDelayMs = 2000;
|
|
5571
5252
|
lockSetDestroyTimeoutMs;
|
|
5253
|
+
// NOTE: Injection does not occur here, but we need @Injectable to compile properly for Angular usage
|
|
5254
|
+
// eslint-disable-next-line @angular-eslint/prefer-inject
|
|
5572
5255
|
constructor(initialState) {
|
|
5573
5256
|
super(initialState);
|
|
5574
5257
|
this.initialState = initialState;
|
|
@@ -5610,10 +5293,10 @@ class LockSetComponentStore extends ComponentStore {
|
|
|
5610
5293
|
_destroyNow() {
|
|
5611
5294
|
this.lockSet.destroy();
|
|
5612
5295
|
}
|
|
5613
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5614
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5296
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: LockSetComponentStore, deps: [{ token: null, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5297
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: LockSetComponentStore });
|
|
5615
5298
|
}
|
|
5616
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: LockSetComponentStore, decorators: [{
|
|
5617
5300
|
type: Injectable
|
|
5618
5301
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
5619
5302
|
type: Inject,
|
|
@@ -5857,10 +5540,10 @@ class SimpleStorageAccessorFactory {
|
|
|
5857
5540
|
};
|
|
5858
5541
|
return new SimpleStorageAccessor(delegate, accessorConfig);
|
|
5859
5542
|
}
|
|
5860
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5861
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5543
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SimpleStorageAccessorFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5544
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SimpleStorageAccessorFactory });
|
|
5862
5545
|
}
|
|
5863
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SimpleStorageAccessorFactory, decorators: [{
|
|
5864
5547
|
type: Injectable
|
|
5865
5548
|
}] });
|
|
5866
5549
|
|
|
@@ -6061,5 +5744,5 @@ function checkNgContentWrapperHasContent(ref) {
|
|
|
6061
5744
|
* Generated bundle index. Do not edit.
|
|
6062
5745
|
*/
|
|
6063
5746
|
|
|
6064
|
-
export { APP_ACTION_DISABLED_DIRECTIVE_KEY, APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY, APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY, AbstractDbxActionHandlerDirective, AbstractDbxActionValueGetterDirective, AbstractDbxAnchorDirective, AbstractDbxButtonDirective, AbstractDbxFilterMapInstanceDirective, AbstractDbxFilterMapSourceDirective, AbstractDbxInjectionDirective, AbstractFilterSourceConnectorDirective, AbstractFilterSourceDirective, AbstractForwardDbxInjectionContextDirective, AbstractIfDirective,
|
|
5747
|
+
export { APP_ACTION_DISABLED_DIRECTIVE_KEY, APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY, APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY, AbstractDbxActionHandlerDirective, AbstractDbxActionValueGetterDirective, AbstractDbxAnchorDirective, AbstractDbxButtonDirective, AbstractDbxFilterMapInstanceDirective, AbstractDbxFilterMapSourceDirective, AbstractDbxInjectionDirective, AbstractFilterSourceConnectorDirective, AbstractFilterSourceDirective, AbstractForwardDbxInjectionContextDirective, AbstractIfDirective, AbstractTransitionDirective, AbstractTransitionWatcherDirective, ActionContextStore, ActionContextStoreSource, ActionContextStoreSourceMap, AsObservablePipe, CutTextPipe, DBX_ACTION_HANDLER_LOCK_KEY, DBX_APP_APP_CONTEXT_STATE, DBX_APP_AUTH_ROUTER_EFFECTS_TOKEN, DBX_AUTH_APP_CONTEXT_STATE, DBX_INIT_APP_CONTEXT_STATE, DBX_INJECTION_COMPONENT_DATA, DBX_KNOWN_APP_CONTEXT_STATES, DBX_ONBOARD_APP_CONTEXT_STATE, DBX_PUBLIC_APP_CONTEXT_STATE, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_ID_PARAM_KEY, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_KEY_PARAM_KEY, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_USE_PARAM_VALUE, DEFAULT_ACTION_DISABLED_KEY, DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY, DEFAULT_REDIRECT_FOR_IDENTIFIER_PARAM_KEY, DEFAULT_REDIRECT_FOR_IDENTIFIER_PARAM_VALUE, DEFAULT_REDIRECT_FOR_USER_IDENTIFIER_PARAM_KEY, DEFAULT_REDIRECT_FOR_USER_IDENTIFIER_PARAM_VALUE, DEFAULT_STORAGE_ACCESSOR_FACTORY_TOKEN, DEFAULT_STORAGE_OBJECT_TOKEN, DateDayRangePipe, DateDayTimeRangePipe, DateDistancePipe, DateFormatDistancePipe, DateFormatFromToPipe, DateRangeDistancePipe, DateTimeRangeOnlyDistancePipe, DateTimeRangeOnlyPipe, DateTimeRangePipe, DbxActionAutoModifyDirective, DbxActionAutoTriggerDirective, DbxActionButtonDirective, DbxActionButtonTriggerDirective, DbxActionContextBaseSource, DbxActionContextLoggerDirective, DbxActionContextMachine, DbxActionContextMachineAsService, DbxActionContextMapDirective, DbxActionContextStoreSourceInstance, DbxActionDirective, DbxActionDisabledDirective, DbxActionDisabledOnSuccessDirective, DbxActionEnforceModifiedDirective, DbxActionErrorHandlerDirective, DbxActionFromMapDirective, DbxActionHandlerDirective, DbxActionHandlerInstance, DbxActionHandlerValueDirective, DbxActionHasSuccessDirective, DbxActionIdleDirective, DbxActionIsWorkingDirective, DbxActionMapSourceDirective, DbxActionMapWorkingDisableDirective, DbxActionPreSuccessDirective, DbxActionSourceDirective, DbxActionState, DbxActionSuccessHandlerDirective, DbxActionTriggeredDirective, DbxActionValueDirective, DbxActionValueGetterInstance, DbxActionValueStreamDirective, DbxActionValueTriggerDirective, DbxActionWorkInstanceDelegate, DbxAnchor, DbxAngularRouterService, DbxAppAuthRouterEffects, DbxAppAuthRouterService, DbxAppAuthRoutes, DbxAppAuthStateService, DbxAppContextService, DbxAppContextStateDirective, DbxAppEnviroment, DbxAppEnviromentService, DbxAuthHasAnyRoleDirective, DbxAuthHasRolesDirective, DbxAuthNotAnyRoleDirective, DbxAuthService, DbxButton, DbxButtonDirective, DbxButtonSegueDirective, DbxCoreActionModule, DbxCoreAngularRouterSegueModule, DbxCoreButtonModule, DbxCoreFilterModule, DbxFilterConnectSourceDirective, DbxFilterMapDirective, DbxFilterMapSourceConnectorDirective, DbxFilterMapSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterSourceDirective, DbxInjectionArrayComponent, DbxInjectionComponent, DbxInjectionContext, DbxInjectionContextDirective, DbxInjectionInstance, DbxLoadingButtonDirective, DbxRouteModelIdDirective, DbxRouteModelIdDirectiveDelegate, DbxRouteModelIdFromAuthUserIdDirective, DbxRouteModelKeyDirective, DbxRouteModelKeyDirectiveDelegate, DbxRouteParamDefaultRedirectInstance, DbxRouterService, DbxRouterTransitionEventType, DbxRouterTransitionService, DbxUIRouterService, DollarAmountPipe, FILTER_SOURCE_DIRECTIVE_DEFAULT_FILTER_TOKEN, FilterSourceDirective, FullLocalStorageObject, GetValueOncePipe, GetValuePipe, InstantStorageAccessor, LimitedStorageAccessor, LockSetComponentStore, MemoryStorageObject, MinutesStringPipe, NO_AUTH_USER_IDENTIFIER, PrettyJsonPipe, SecondaryActionContextStoreSource, SimpleStorageAccessor, SimpleStorageAccessorFactory, StorageAccessor, StringStorageAccessor, StringifySimpleStorageAccessorConverter, SystemDateToTargetDatePipe, TargetDateToSystemDatePipe, TimeDistanceCountdownPipe, TimeDistancePipe, TimezoneAbbreviationPipe, ToJsDatePipe, ToMinutesPipe, WrapperSimpleStorageAccessorDelegate, actionContextHasNoErrorAndIsModifiedAndCanTrigger, actionContextIsModifiedAndCanTrigger, actionContextStoreSourceMap, actionContextStoreSourceMapReader, actionContextStoreSourcePipe, anchorTypeForAnchor, asSegueRef, asSegueRefString, assertValidStorageKeyPrefix, authRolesSetContainsAllRolesFrom, authRolesSetContainsAnyRoleFrom, authRolesSetContainsNoRolesFrom, authUserIdentifier, canReadyValue, canTriggerAction, canTriggerActionState, checkNgContentWrapperHasContent, clean, cleanDestroy, cleanListLoadingContext, cleanLoadingContext, cleanLockSet, cleanSubscription, cleanSubscriptionWithLockSet, cleanWithLockSet, clickableUrlInNewTab, clickableUrlMailTo, clickableUrlTel, completeOnDestroy, dbxActionWorkProgress, dbxButtonDisplayType, dbxRouteModelIdParamRedirect, dbxRouteModelKeyParamRedirect, dbxRouteParamReaderInstance, defaultStorageObjectFactory, enableHasAuthRoleHook, enableHasAuthStateHook, enableIsLoggedInHook, expandClickableAnchorLinkTree, expandClickableAnchorLinkTreeNode, expandClickableAnchorLinkTrees, filterTransitionEvent, filterTransitionSuccess, flattenExpandedClickableAnchorLinkTree, flattenExpandedClickableAnchorLinkTreeToLinks, fromAllActionContextStoreSourceMapSources, index as fromDbxAppAuth, index$2 as fromDbxAppContext, goWithRouter, hasAuthRoleDecisionPipe, isActionContextDisabled, isActionContextEnabled, isClickableFilterPreset, isClickablePartialFilterPreset, isDisabledActionContextState, isIdleActionState, isLatestSuccessfulRoute, isSegueRef, isSegueRefActive, isSegueRefActiveFunction, isSegueRefActiveOnTransitionSuccess, isValidStorageKeyPrefix, isWorkingActionState, latestSuccessfulRoutes, loadingStateForActionContextState, loadingStateTypeForActionContextState, loadingStateTypeForActionState, loggedInObsFromIsLoggedIn, loggedOutObsFromIsLoggedIn, makeAuthTransitionHook, makeDbxActionContextSourceReference, mapRefStringObsToSegueRefObs, mergeDbxInjectionComponentConfigs, mergeStaticProviders, newWithInjector, index$1 as onDbxAppAuth, index$3 as onDbxAppContext, onRouterTransitionEventType, onRouterTransitionSuccessEvent, pipeActionStore, provideActionStoreSource, provideDbxAnchor, provideDbxAppAuth, provideDbxAppAuthRouter, provideDbxAppAuthRouterState, provideDbxAppAuthState, provideDbxAppContextState, provideDbxAppEnviroment, provideDbxButton, provideDbxInjectionContext, provideDbxRouteModelIdDirectiveDelegate, provideDbxRouteModelKeyDirectiveDelegate, provideDbxStorage, provideDbxUIRouterService, provideFilterSource, provideFilterSourceConnector, provideFilterSourceDirective, provideSecondaryActionStoreSource, redirectBasedOnAuthUserState, redirectForIdentifierParamHook, redirectForUserIdentifierParamHook, refStringToSegueRef, safeDetectChanges, safeMarkForCheck, safeUseCdRef, successTransition, switchMapDbxInjectionComponentConfig, tapDetectChanges, tapSafeMarkForCheck, transformEmptyStringInputToUndefined, useActionStore };
|
|
6065
5748
|
//# sourceMappingURL=dereekb-dbx-core.mjs.map
|