@luigi-project/core-modular 0.0.16 → 0.0.17-dev.202610110101
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/luigi.js +592 -553
- package/luigi.js.map +1 -1
- package/package.json +1 -1
- package/services/routing.service.d.ts +1 -1
- package/types/navigation.d.ts +10 -0
package/package.json
CHANGED
|
@@ -64,7 +64,7 @@ export declare class RoutingService {
|
|
|
64
64
|
handleBookmarkableModalPath(routeInfo: {
|
|
65
65
|
path: string;
|
|
66
66
|
query: string;
|
|
67
|
-
}): Promise<void>;
|
|
67
|
+
}, checkModals?: boolean): Promise<void>;
|
|
68
68
|
/**
|
|
69
69
|
* Append modal data to url
|
|
70
70
|
* @param {string} modalPath path of the view which is displayed in the modal
|
package/types/navigation.d.ts
CHANGED
|
@@ -4,9 +4,11 @@ export interface TopNavData {
|
|
|
4
4
|
appSwitcher?: AppSwitcher;
|
|
5
5
|
appTitle: string;
|
|
6
6
|
contextSwitcher?: ContextSwitcher;
|
|
7
|
+
favicon?: string;
|
|
7
8
|
isHeaderDisabled: boolean;
|
|
8
9
|
globalSearch?: GlobalSearch;
|
|
9
10
|
logo: string;
|
|
11
|
+
logoAltText: string;
|
|
10
12
|
navClick?: (item: NavItem) => Promise<void>;
|
|
11
13
|
productSwitcher?: ProductSwitcher;
|
|
12
14
|
profile?: ProfileSettings;
|
|
@@ -121,6 +123,7 @@ export interface BadgeCounter {
|
|
|
121
123
|
count?: () => number | Promise<number>;
|
|
122
124
|
label?: string;
|
|
123
125
|
}
|
|
126
|
+
export type StatusBadgeType = 'critical' | 'informative' | 'negative' | 'neutral' | 'positive';
|
|
124
127
|
export interface Node {
|
|
125
128
|
altText?: string;
|
|
126
129
|
anonymousAccess?: any;
|
|
@@ -155,6 +158,11 @@ export interface Node {
|
|
|
155
158
|
pathSegment?: string;
|
|
156
159
|
runTimeErrorHandler?: RunTimeErrorHandler;
|
|
157
160
|
showBreadcrumbs?: boolean;
|
|
161
|
+
statusBadge?: {
|
|
162
|
+
align: 'left' | 'right';
|
|
163
|
+
label: string;
|
|
164
|
+
type: StatusBadgeType;
|
|
165
|
+
};
|
|
158
166
|
tabNav?: boolean | TabNavConfig;
|
|
159
167
|
titleResolver?: TitleResolver;
|
|
160
168
|
tooltipText?: string;
|
|
@@ -192,6 +200,7 @@ export interface Category {
|
|
|
192
200
|
label?: string;
|
|
193
201
|
nodes?: NavItem[];
|
|
194
202
|
tooltip?: string;
|
|
203
|
+
navigateOnClick?: boolean | string;
|
|
195
204
|
}
|
|
196
205
|
export interface BreadcrumbItem {
|
|
197
206
|
label: string;
|
|
@@ -211,6 +220,7 @@ export interface NavItem {
|
|
|
211
220
|
label?: string;
|
|
212
221
|
selected?: boolean;
|
|
213
222
|
tooltip?: string;
|
|
223
|
+
navigateOnClick?: boolean;
|
|
214
224
|
}
|
|
215
225
|
export interface TabNavConfig {
|
|
216
226
|
showAsTabHeader?: boolean;
|