ud-components 0.8.8 → 0.8.11
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.
|
@@ -30,9 +30,12 @@ export declare class SidenavComponent implements AfterViewInit {
|
|
|
30
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<SidenavComponent, "ud-sidenav", never, { "groups": { "alias": "groups"; "required": true; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "brandRoute": { "alias": "brandRoute"; "required": false; "isSignal": true; }; "logo": { "alias": "logo"; "required": false; "isSignal": true; }; "logoCollapsed": { "alias": "logoCollapsed"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
* The nav route to highlight for `url`. An exact match wins;
|
|
34
|
-
*
|
|
35
|
-
* `/
|
|
36
|
-
*
|
|
33
|
+
* The nav route to highlight for `url`. An exact match wins; then the nav
|
|
34
|
+
* route the URL sits under, the longest one, so a section's own pages keep
|
|
35
|
+
* it lit (`/finance/reports/aging` lights `/finance/reports`, not the first
|
|
36
|
+
* `/finance` item). Otherwise the item in the same top-level section, so
|
|
37
|
+
* detail and add pages (`/users/123`, `/users/add-user`) keep their section
|
|
38
|
+
* lit. When a section has several items (`/document-compliance/send` and
|
|
39
|
+
* `/list`), its list page wins.
|
|
37
40
|
*/
|
|
38
41
|
export declare function activeNavRoute(url: string, routes: string[]): string | undefined;
|