@luigi-project/core-modular 0.0.1-dev.20260181313 → 0.0.1-dev.20260210053
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/luigi.d.ts +1 -3
- package/core-api/navigation.d.ts +2 -1
- package/luigi.js +38 -12
- package/luigi.js.map +1 -1
- package/package.json +1 -1
- package/services/navigation.service.d.ts +23 -5
- package/services/routing.service.d.ts +7 -1
- package/utilities/helpers/config-helpers.d.ts +3 -1
- package/utilities/helpers/generic-helpers.d.ts +6 -0
- package/utilities/lifecycle-hooks.d.ts +4 -0
package/core-api/luigi.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { LuigiEngine } from '../luigi-engine';
|
|
2
2
|
import { i18nService } from '../services/i18n.service';
|
|
3
|
+
import { LuigiAuthClass } from './auth';
|
|
3
4
|
import { FeatureToggles } from './feature-toggles';
|
|
4
5
|
import { Navigation } from './navigation';
|
|
5
6
|
import { Routing } from './routing';
|
|
6
7
|
import { Theming } from './theming';
|
|
7
8
|
import { UX } from './ux';
|
|
8
|
-
import { LuigiAuthClass } from './auth';
|
|
9
9
|
export declare class Luigi {
|
|
10
10
|
private engine;
|
|
11
11
|
config: any;
|
|
@@ -36,7 +36,6 @@ export declare class Luigi {
|
|
|
36
36
|
* Gets value of the given property on the Luigi config object.
|
|
37
37
|
* If the value is a Function it is called (with the given parameters) and the result of that call is the value.
|
|
38
38
|
* If the value is not a Promise it is wrapped to a Promise so that the returned value is definitely a Promise.
|
|
39
|
-
* @memberof Configuration
|
|
40
39
|
* @param {string} property the object traversal path
|
|
41
40
|
* @param {*} parameters optional parameters that are used if the target is a function
|
|
42
41
|
* @example
|
|
@@ -72,7 +71,6 @@ export declare class Luigi {
|
|
|
72
71
|
routing: () => Routing;
|
|
73
72
|
theming: () => Theming;
|
|
74
73
|
auth: () => LuigiAuthClass;
|
|
75
|
-
private luigiAfterInit;
|
|
76
74
|
private createConfigStore;
|
|
77
75
|
private getConfigReadyCallback;
|
|
78
76
|
private setConfigCallback;
|
package/core-api/navigation.d.ts
CHANGED
|
@@ -9,7 +9,8 @@ export declare class Navigation {
|
|
|
9
9
|
routingService: RoutingService;
|
|
10
10
|
modalService: ModalService;
|
|
11
11
|
constructor(luigi: Luigi);
|
|
12
|
-
navigate: (path: string, preserveView?: string, modalSettings?: ModalSettings,
|
|
12
|
+
navigate: (path: string, preserveView?: string, modalSettings?: ModalSettings, splitViewSettings?: any, drawerSettings?: any) => Promise<void>;
|
|
13
13
|
openAsModal: (path: string, modalSettings: ModalSettings, onCloseCallback?: () => void) => Promise<void>;
|
|
14
14
|
openAsDrawer: (path: string, modalSettings: ModalSettings, onCloseCallback?: () => void) => void;
|
|
15
|
+
runTimeErrorHandler: (errorObj: object) => void;
|
|
15
16
|
}
|