@dereekb/dbx-core 9.23.16 → 9.23.18
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/esm2020/lib/injection/index.mjs +2 -1
- package/esm2020/lib/injection/injection.rxjs.mjs +24 -0
- package/fesm2015/dereekb-dbx-core.mjs +25 -3
- package/fesm2015/dereekb-dbx-core.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-core.mjs +25 -3
- package/fesm2020/dereekb-dbx-core.mjs.map +1 -1
- package/lib/injection/index.d.ts +1 -0
- package/lib/injection/injection.rxjs.d.ts +12 -0
- package/package.json +4 -4
package/lib/injection/index.d.ts
CHANGED
|
@@ -4,5 +4,6 @@ export * from './injection.context.directive';
|
|
|
4
4
|
export * from './injection.context.forward.directive';
|
|
5
5
|
export * from './injection.context';
|
|
6
6
|
export * from './injection.instance';
|
|
7
|
+
export * from './injection.rxjs';
|
|
7
8
|
export * from './injection.directive';
|
|
8
9
|
export * from './injection';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GetterOrValue, Maybe } from '@dereekb/util';
|
|
2
|
+
import { ObservableOrValueGetter } from '@dereekb/rxjs';
|
|
3
|
+
import { OperatorFunction } from 'rxjs';
|
|
4
|
+
import { DbxInjectionComponentConfig } from './injection';
|
|
5
|
+
import { Type } from '@angular/core';
|
|
6
|
+
/**
|
|
7
|
+
* Provides a switchMap that passes configuration from the observable, unless the value is null/undefined/true in which case it passes the default configuration.
|
|
8
|
+
*
|
|
9
|
+
* @param defaultConfig
|
|
10
|
+
* @returns
|
|
11
|
+
*/
|
|
12
|
+
export declare function switchMapDbxInjectionComponentConfig<T extends DbxInjectionComponentConfig<X>, X = any>(defaultConfig?: GetterOrValue<Maybe<T | Type<X>>>): OperatorFunction<Maybe<ObservableOrValueGetter<Maybe<boolean | T>>>, Maybe<T>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-core",
|
|
3
|
-
"version": "9.23.
|
|
3
|
+
"version": "9.23.18",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.0.0",
|
|
6
6
|
"@angular/core": "^14.0.0",
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"@ngrx/effects": "^14.0.0",
|
|
10
10
|
"@ngrx/entity": "^14.0.0",
|
|
11
11
|
"@ngrx/store": "^14.0.0",
|
|
12
|
-
"@dereekb/util": "9.23.
|
|
13
|
-
"@dereekb/rxjs": "9.23.
|
|
12
|
+
"@dereekb/util": "9.23.18",
|
|
13
|
+
"@dereekb/rxjs": "9.23.18",
|
|
14
14
|
"@angular/platform-browser": "^14.2.0",
|
|
15
15
|
"@uirouter/core": "^6.0.8",
|
|
16
16
|
"date-fns": "^2.29.0",
|
|
17
|
-
"@dereekb/date": "9.23.
|
|
17
|
+
"@dereekb/date": "9.23.18",
|
|
18
18
|
"@angular/router": "^14.2.0"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|