@sumaris-net/ngx-components 1.0.9 → 1.0.10

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "1.0.9",
4
+ "version": "1.0.10",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -1,6 +1,13 @@
1
1
  import { ActivatedRouteSnapshot } from '@angular/router';
2
2
  import { IonicRouteStrategy } from '@ionic/angular';
3
3
  export declare class CustomReuseStrategy extends IonicRouteStrategy {
4
+ /**
5
+ * Force to reuse the route when:
6
+ * - path change from [/new] -> [/:id]
7
+ * - or path change from [/new] -> [/new?id=:id]
8
+ * @param future
9
+ * @param curr
10
+ */
4
11
  shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean;
5
12
  }
6
13
  export declare class SharedRoutingModule {