@luigi-project/core-modular 0.0.3-dev.20260360050 → 0.0.3-dev.20260370044
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/core-api/navigation.d.ts +12 -1
- package/luigi.js +12 -12
- package/luigi.js.map +1 -1
- package/package.json +1 -1
- package/services/navigation.service.d.ts +3 -3
- package/types/navigation.d.ts +1 -0
- package/utilities/helpers/generic-helpers.d.ts +12 -0
- package/utilities/helpers/routing-helpers.d.ts +29 -2
package/core-api/navigation.d.ts
CHANGED
|
@@ -21,5 +21,16 @@ export declare class Navigation {
|
|
|
21
21
|
* @example
|
|
22
22
|
* Luigi.navigation().fromVirtualTreeRoot().navigate('/users/groups/stakeholders')
|
|
23
23
|
*/
|
|
24
|
-
fromVirtualTreeRoot():
|
|
24
|
+
fromVirtualTreeRoot(): Navigation;
|
|
25
|
+
/**
|
|
26
|
+
* Allows navigation from the node which has the navigation context set.
|
|
27
|
+
* @param navigationContext
|
|
28
|
+
* @returns {navigation} navigation instance
|
|
29
|
+
*/
|
|
30
|
+
fromContext(navigationContext: string): Navigation;
|
|
31
|
+
/**
|
|
32
|
+
* Allows navigation from the closest node which has the navigation context set. If there are multiple nodes with the same navigation context, the closest one will be used as the navigation base.
|
|
33
|
+
* @returns {navigation} navigation instance
|
|
34
|
+
*/
|
|
35
|
+
fromClosestContext(): Navigation;
|
|
25
36
|
}
|