@mmstack/router-core 20.4.1 → 20.5.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/LICENSE +21 -21
- package/README.md +357 -322
- package/fesm2022/mmstack-router-core.mjs +20 -21
- package/fesm2022/mmstack-router-core.mjs.map +1 -1
- package/index.d.ts +2 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { Signal, InjectionToken, Provider, WritableSignal } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/router';
|
|
4
|
-
import { ActivatedRouteSnapshot, ResolveFn,
|
|
4
|
+
import { ActivatedRouteSnapshot, ResolveFn, Params, ActivatedRoute, UrlTree, PreloadingStrategy, Route } from '@angular/router';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -332,7 +332,7 @@ declare class PreloadStrategy implements PreloadingStrategy {
|
|
|
332
332
|
* }
|
|
333
333
|
* ```
|
|
334
334
|
*/
|
|
335
|
-
declare function queryParam(key: string | (() => string)): WritableSignal<string | null>;
|
|
335
|
+
declare function queryParam(key: string | (() => string), route?: ActivatedRoute): WritableSignal<string | null>;
|
|
336
336
|
|
|
337
337
|
/**
|
|
338
338
|
* Title configuration interface.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mmstack/router-core",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.5.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"angular",
|
|
6
6
|
"signals",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"homepage": "https://github.com/mihajm/mmstack/blob/master/packages/router/core",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@mmstack/primitives": "^20.
|
|
23
|
+
"@mmstack/primitives": "^20.5.0",
|
|
24
24
|
"tslib": "^2.3.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|