@luigi-project/core-modular 0.0.6 → 0.0.7-dev.202604280103
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/custom-messages.d.ts +7 -0
- package/core-api/luigi.d.ts +3 -0
- package/core-api/navigation.d.ts +2 -2
- package/luigi-engine.d.ts +1 -1
- package/luigi.js +13 -13
- package/luigi.js.map +1 -1
- package/modules/ui-module.d.ts +2 -2
- package/package.json +1 -1
- package/types/connector.d.ts +2 -2
- package/types/navigation.d.ts +7 -1
- package/utilities/helpers/custom-messages-helpers.d.ts +8 -0
- package/utilities/helpers/luigi-container-helpers.d.ts +2 -0
package/core-api/luigi.d.ts
CHANGED
|
@@ -7,9 +7,11 @@ import { Navigation } from './navigation';
|
|
|
7
7
|
import { Routing } from './routing';
|
|
8
8
|
import { Theming } from './theming';
|
|
9
9
|
import { UX } from './ux';
|
|
10
|
+
import { CustomMessages } from './custom-messages';
|
|
10
11
|
export declare class Luigi {
|
|
11
12
|
private engine;
|
|
12
13
|
config: any;
|
|
14
|
+
_customMessages?: CustomMessages;
|
|
13
15
|
_store: any;
|
|
14
16
|
_featureToggles?: FeatureToggles;
|
|
15
17
|
_i18n: i18nService;
|
|
@@ -72,6 +74,7 @@ export declare class Luigi {
|
|
|
72
74
|
* Luigi.storeUserSettings(userSettingsobject, previousUserSettingsObj);
|
|
73
75
|
*/
|
|
74
76
|
storeUserSettings(userSettingsObj: Record<string, any>, previousUserSettingsObj: Record<string, any>): Promise<any>;
|
|
77
|
+
customMessages: () => CustomMessages;
|
|
75
78
|
i18n: () => i18nService;
|
|
76
79
|
elements: () => Elements;
|
|
77
80
|
navigation: () => Navigation;
|
package/core-api/navigation.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ModalService } from '../services/modal.service';
|
|
2
2
|
import { NavigationService } from '../services/navigation.service';
|
|
3
3
|
import { RoutingService } from '../services/routing.service';
|
|
4
|
-
import { ModalSettings, NavigationOptions } from '../types/navigation';
|
|
4
|
+
import { DrawerSettings, ModalSettings, NavigationOptions } from '../types/navigation';
|
|
5
5
|
import { Luigi } from './luigi';
|
|
6
6
|
export declare class Navigation {
|
|
7
7
|
luigi: Luigi;
|
|
@@ -13,7 +13,7 @@ export declare class Navigation {
|
|
|
13
13
|
constructor(luigi: Luigi);
|
|
14
14
|
navigate: (path: string, preserveView?: string, modalSettings?: ModalSettings, splitViewSettings?: any, drawerSettings?: any) => Promise<void>;
|
|
15
15
|
openAsModal: (path: string, modalSettings: ModalSettings, onCloseCallback?: () => void) => Promise<void>;
|
|
16
|
-
openAsDrawer: (path: string, drawerSettings:
|
|
16
|
+
openAsDrawer: (path: string, drawerSettings: DrawerSettings, onCloseCallback?: () => void) => Promise<void>;
|
|
17
17
|
runTimeErrorHandler: (errorObj: object) => Promise<void>;
|
|
18
18
|
/**
|
|
19
19
|
* Checks if the path you can navigate to exists in the main application. For example, you can use this helper method conditionally to display a DOM element like a button.
|
package/luigi-engine.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare class LuigiEngine {
|
|
|
16
16
|
updateMainContent: (currentNode: import('./types/navigation').Node, luigi: import('./core-api/luigi').Luigi, luigiParams?: import('./types/routing').LuigiParams, withoutSync?: boolean, preventContextUpdate?: boolean) => Promise<void>;
|
|
17
17
|
openModal: (luigi: import('./core-api/luigi').Luigi, node: import('./types/navigation').Node, modalSettings: import('./types/navigation').ModalSettings, onCloseCallback?: () => void) => Promise<void>;
|
|
18
18
|
updateModalSettings: (modalSettings: import('./types/navigation').ModalSettings, addHistoryEntry: boolean, luigi: import('./core-api/luigi').Luigi) => void;
|
|
19
|
-
openDrawer: (luigi: import('./core-api/luigi').Luigi, node: import('./types/navigation').Node, drawerSettings: import('./types/navigation').
|
|
19
|
+
openDrawer: (luigi: import('./core-api/luigi').Luigi, node: import('./types/navigation').Node, drawerSettings: import('./types/navigation').DrawerSettings, onCloseCallback?: () => void) => Promise<void>;
|
|
20
20
|
};
|
|
21
21
|
_comm: {
|
|
22
22
|
luigi: import('./core-api/luigi').Luigi;
|