@genesislcap/foundation-header 14.408.0 → 14.409.0
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/README.md +6 -633
- package/dist/custom-elements.json +230 -230
- package/package.json +23 -23
- package/docs/api/foundation-header.configure.md +0 -75
- package/docs/api/foundation-header.defaultheaderconfig.md +0 -13
- package/docs/api/foundation-header.elementtargetid.md +0 -15
- package/docs/api/foundation-header.foundationheader.loadremotes.md +0 -15
- package/docs/api/foundation-header.foundationheader.md +0 -53
- package/docs/api/foundation-header.headerconfig.md +0 -59
- package/docs/api/foundation-header.headerconfig.templateoptions.md +0 -18
- package/docs/api/foundation-header.headertargetid.md +0 -13
- package/docs/api/foundation-header.languageoptions.md +0 -16
- package/docs/api/foundation-header.mainstyles.md +0 -13
- package/docs/api/foundation-header.md +0 -246
- package/docs/api/foundation-header.naveventdetailmap.md +0 -23
- package/docs/api/foundation-header.navigation.authrouting.md +0 -11
- package/docs/api/foundation-header.navigation.changelanguage.md +0 -56
- package/docs/api/foundation-header.navigation.connectedcallback.md +0 -17
- package/docs/api/foundation-header.navigation.container.md +0 -11
- package/docs/api/foundation-header.navigation.controlpanel.md +0 -11
- package/docs/api/foundation-header.navigation.disconnectedcallback.md +0 -17
- package/docs/api/foundation-header.navigation.enableinactivitymonitoring.md +0 -18
- package/docs/api/foundation-header.navigation.handlenavbuttonclick.md +0 -54
- package/docs/api/foundation-header.navigation.hasactivechild.md +0 -56
- package/docs/api/foundation-header.navigation.headerconfig.md +0 -11
- package/docs/api/foundation-header.navigation.hidesidebar.md +0 -13
- package/docs/api/foundation-header.navigation.i18next.md +0 -11
- package/docs/api/foundation-header.navigation.inactivitytimeoutminutes.md +0 -18
- package/docs/api/foundation-header.navigation.inactivitywarningminutes.md +0 -18
- package/docs/api/foundation-header.navigation.islayoutitemactive.md +0 -56
- package/docs/api/foundation-header.navigation.languageoptions.md +0 -13
- package/docs/api/foundation-header.navigation.layoutitemcheck.md +0 -30
- package/docs/api/foundation-header.navigation.loginrouting.md +0 -11
- package/docs/api/foundation-header.navigation.logoalttext.md +0 -18
- package/docs/api/foundation-header.navigation.logosrc.md +0 -18
- package/docs/api/foundation-header.navigation.logout.md +0 -17
- package/docs/api/foundation-header.navigation.logoutbuttonposition.md +0 -18
- package/docs/api/foundation-header.navigation.luminancetoggle.md +0 -11
- package/docs/api/foundation-header.navigation.md +0 -793
- package/docs/api/foundation-header.navigation.navigateto.md +0 -58
- package/docs/api/foundation-header.navigation.pathname.md +0 -13
- package/docs/api/foundation-header.navigation.routebuttons.md +0 -24
- package/docs/api/foundation-header.navigation.routenavitems.md +0 -13
- package/docs/api/foundation-header.navigation.selecttemplate.md +0 -19
- package/docs/api/foundation-header.navigation.setluminance.md +0 -15
- package/docs/api/foundation-header.navigation.shouldshowaccountmenu.md +0 -18
- package/docs/api/foundation-header.navigation.showaccountmenu.md +0 -18
- package/docs/api/foundation-header.navigation.showaiindicator.md +0 -13
- package/docs/api/foundation-header.navigation.showconnectionindicator.md +0 -13
- package/docs/api/foundation-header.navigation.showcontrolpanel.md +0 -13
- package/docs/api/foundation-header.navigation.showenvironmentindicator.md +0 -13
- package/docs/api/foundation-header.navigation.showlanguageselector.md +0 -18
- package/docs/api/foundation-header.navigation.showluminancetogglebutton.md +0 -18
- package/docs/api/foundation-header.navigation.showmisctogglebutton.md +0 -18
- package/docs/api/foundation-header.navigation.shownotificationsbutton.md +0 -23
- package/docs/api/foundation-header.navigation.tolocalisedtext.md +0 -56
- package/docs/api/foundation-header.navigation.user.md +0 -11
- package/docs/api/foundation-header.navigation.username.md +0 -18
- package/docs/api/foundation-header.navtargetid.md +0 -13
- package/docs/api/foundation-header.navtemplate.md +0 -18
- package/docs/api/foundation-header.rapidheader.md +0 -69
- package/docs/api/foundation-header.rapidheader.selecttemplate.md +0 -15
- package/docs/api/foundation-header.sidenavtargetid.md +0 -13
- package/docs/api/foundation-header.styletargetid.md +0 -13
- package/docs/api/index.md +0 -30
- package/docs/api-report.md.api.md +0 -260
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [navigateTo](./foundation-header.navigation.navigateto.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.navigateTo() method
|
|
6
|
-
|
|
7
|
-
Changes the route of the current page
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
navigateTo(path: string): void;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
path
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
string
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
string representing the new route to move to
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
void
|
|
54
|
-
|
|
55
|
-
## Remarks
|
|
56
|
-
|
|
57
|
-
Requires setup of the Router and usage of the Router
|
|
58
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [pathName](./foundation-header.navigation.pathname.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.pathName property
|
|
6
|
-
|
|
7
|
-
Current pathname for route highlighting
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
get pathName(): string;
|
|
13
|
-
```
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [routeButtons](./foundation-header.navigation.routebuttons.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.routeButtons property
|
|
6
|
-
|
|
7
|
-
> Warning: This API is now obsolete.
|
|
8
|
-
>
|
|
9
|
-
> - Use `routeNavItems` instead.
|
|
10
|
-
>
|
|
11
|
-
|
|
12
|
-
If present the defined route buttons will be rendered in the header 'routes' slot
|
|
13
|
-
|
|
14
|
-
**Signature:**
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
routeButtons: Array<{
|
|
18
|
-
index: number;
|
|
19
|
-
path: string;
|
|
20
|
-
title: string;
|
|
21
|
-
icon: string;
|
|
22
|
-
variant: string;
|
|
23
|
-
}>;
|
|
24
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [routeNavItems](./foundation-header.navigation.routenavitems.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.routeNavItems property
|
|
6
|
-
|
|
7
|
-
If present the defined will be rendered in the header 'routes' slot
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
routeNavItems: FoundationRouteNavItem[];
|
|
13
|
-
```
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [selectTemplate](./foundation-header.navigation.selecttemplate.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.selectTemplate() method
|
|
6
|
-
|
|
7
|
-
Selects the appropriate template based on the component's state
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
selectTemplate(): ViewTemplate<Navigation>;
|
|
13
|
-
```
|
|
14
|
-
**Returns:**
|
|
15
|
-
|
|
16
|
-
ViewTemplate<[Navigation](./foundation-header.navigation.md)<!-- -->>
|
|
17
|
-
|
|
18
|
-
{<!-- -->ViewTemplate<Navigation>}
|
|
19
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [setLuminance](./foundation-header.navigation.setluminance.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.setLuminance() method
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
setLuminance(): void;
|
|
11
|
-
```
|
|
12
|
-
**Returns:**
|
|
13
|
-
|
|
14
|
-
void
|
|
15
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [shouldShowAccountMenu](./foundation-header.navigation.shouldshowaccountmenu.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.shouldShowAccountMenu property
|
|
6
|
-
|
|
7
|
-
Computed property that determines if the account menu should be shown
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
get shouldShowAccountMenu(): boolean;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
It will be shown if the attribute is explicitly set to true or the logout button position is set to 'account-menu'
|
|
18
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [showAccountMenu](./foundation-header.navigation.showaccountmenu.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.showAccountMenu property
|
|
6
|
-
|
|
7
|
-
Boolean attribute which controls whether to show the account menu on the navigation bar Control via `show-account-menu`
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
showAccountMenu: boolean;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
If this attribute is not set then the account menu is not shown
|
|
18
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [showAiIndicator](./foundation-header.navigation.showaiindicator.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.showAiIndicator property
|
|
6
|
-
|
|
7
|
-
Boolean attribute which controls whether to show the AI indicator on the navigation bar Control via `show-ai-indicator`
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
showAiIndicator: boolean;
|
|
13
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [showConnectionIndicator](./foundation-header.navigation.showconnectionindicator.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.showConnectionIndicator property
|
|
6
|
-
|
|
7
|
-
Boolean attribute which controls whether to show the connection indicator on the navigation bar Control via `show-connection-indicator`
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
showConnectionIndicator: boolean;
|
|
13
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [showControlPanel](./foundation-header.navigation.showcontrolpanel.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.showControlPanel property
|
|
6
|
-
|
|
7
|
-
Boolean attribute which controls whether to show the control panel toggle on the navigation bar Control via `show-control-panel`
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
showControlPanel: boolean;
|
|
13
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [showEnvironmentIndicator](./foundation-header.navigation.showenvironmentindicator.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.showEnvironmentIndicator property
|
|
6
|
-
|
|
7
|
-
Boolean attribute which controls whether to show the environment indicator on the navigation bar Control via `show-environment-indicator`
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
showEnvironmentIndicator: boolean;
|
|
13
|
-
```
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [showLanguageSelector](./foundation-header.navigation.showlanguageselector.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.showLanguageSelector property
|
|
6
|
-
|
|
7
|
-
Boolean attribute which controls whether to show the language selector on the navigation bar Control via `show-language-selector`
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
showLanguageSelector: boolean;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
Requires `i18nextOptions` to be set
|
|
18
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [showLuminanceToggleButton](./foundation-header.navigation.showluminancetogglebutton.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.showLuminanceToggleButton property
|
|
6
|
-
|
|
7
|
-
Boolean attribute which controls whether to show the luminance (moon) icon on the navigation bar Control via`show-luminance-toggle-button`
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
showLuminanceToggleButton: boolean;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
If the user clicks the icon when shown then this class will emit the 'luminance-icon-clicked' event
|
|
18
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [showMiscToggleButton](./foundation-header.navigation.showmisctogglebutton.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.showMiscToggleButton property
|
|
6
|
-
|
|
7
|
-
Boolean attribute which controls whether to show the miscellaneous (menu) icon on the navigation bar Control via `show-luminance-toggle-button`
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
showMiscToggleButton: boolean;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
If the user clicks the icon when shown then this class will emit the 'misc-icon-clicked' event
|
|
18
|
-
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [showNotificationsButton](./foundation-header.navigation.shownotificationsbutton.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.showNotificationsButton property
|
|
6
|
-
|
|
7
|
-
> Warning: This API is now obsolete.
|
|
8
|
-
>
|
|
9
|
-
> - Add/Remove PBC Notify via `genx` instead.
|
|
10
|
-
>
|
|
11
|
-
|
|
12
|
-
Boolean attribute which controls whether to show the notification (bell) icon on the navigation bar Control via `show-notification-button`
|
|
13
|
-
|
|
14
|
-
**Signature:**
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
showNotificationsButton: boolean;
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Remarks
|
|
21
|
-
|
|
22
|
-
If the user clicks the icon when shown then this class will emit the 'notification-icon-clicked' event
|
|
23
|
-
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [toLocalisedText](./foundation-header.navigation.tolocalisedtext.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.toLocalisedText() method
|
|
6
|
-
|
|
7
|
-
To localised text
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
toLocalisedText(text: string): string;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
text
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
string
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
</tbody></table>
|
|
48
|
-
|
|
49
|
-
**Returns:**
|
|
50
|
-
|
|
51
|
-
string
|
|
52
|
-
|
|
53
|
-
## Remarks
|
|
54
|
-
|
|
55
|
-
Returns localised version of the text if available.
|
|
56
|
-
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [user](./foundation-header.navigation.user.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.user property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
user: User;
|
|
11
|
-
```
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md) > [userName](./foundation-header.navigation.username.md)
|
|
4
|
-
|
|
5
|
-
## Navigation.userName property
|
|
6
|
-
|
|
7
|
-
Username of the logged in user Control via `user-name` attribute
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
userName: string;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
If not set via attribute, it will be initialized from the User service. Once set, the value will not be automatically updated by the User service.
|
|
18
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [NavTargetId](./foundation-header.navtargetid.md)
|
|
4
|
-
|
|
5
|
-
## NavTargetId type
|
|
6
|
-
|
|
7
|
-
Nav integration targets.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type NavTargetId = 'nav-start' | 'nav' | 'nav-end';
|
|
13
|
-
```
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [navTemplate](./foundation-header.navtemplate.md)
|
|
4
|
-
|
|
5
|
-
## navTemplate variable
|
|
6
|
-
|
|
7
|
-
Template for Navigation class
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
navTemplate: ViewTemplate<Navigation, any>
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
Contains the template for both the sidenav and the navigation bar
|
|
18
|
-
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [RapidHeader](./foundation-header.rapidheader.md)
|
|
4
|
-
|
|
5
|
-
## RapidHeader class
|
|
6
|
-
|
|
7
|
-
RapidHeader is a rapid version of the header micro-frontend.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare class RapidHeader extends Navigation
|
|
13
|
-
```
|
|
14
|
-
**Extends:** [Navigation](./foundation-header.navigation.md)
|
|
15
|
-
|
|
16
|
-
## Remarks
|
|
17
|
-
|
|
18
|
-
A rapid version that pre-registers rapid components and uses the rapid design system so that it can run standalone. Generally this is used for development purposes, but can be deployed as a standalone application if required or be used by a host application that is already using rapid. RapidHeader and its components won't bloat the core bundle as these are only loaded on-demand when in use.
|
|
19
|
-
|
|
20
|
-
## Example 1
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
```ts
|
|
24
|
-
import { RapidHeader } from '@genesislcap/foundation-header';
|
|
25
|
-
...
|
|
26
|
-
RapidHeader
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Example 2
|
|
30
|
-
|
|
31
|
-
Load the micro frontend on-demand
|
|
32
|
-
|
|
33
|
-
```ts
|
|
34
|
-
const { RapidHeader } = await import('@genesislcap/foundation-header');
|
|
35
|
-
},
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## Methods
|
|
39
|
-
|
|
40
|
-
<table><thead><tr><th>
|
|
41
|
-
|
|
42
|
-
Method
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
</th><th>
|
|
46
|
-
|
|
47
|
-
Modifiers
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
</th><th>
|
|
51
|
-
|
|
52
|
-
Description
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</th></tr></thead>
|
|
56
|
-
<tbody><tr><td>
|
|
57
|
-
|
|
58
|
-
[selectTemplate()](./foundation-header.rapidheader.selecttemplate.md)
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
</td><td>
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td><td>
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
</td></tr>
|
|
68
|
-
</tbody></table>
|
|
69
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [RapidHeader](./foundation-header.rapidheader.md) > [selectTemplate](./foundation-header.rapidheader.selecttemplate.md)
|
|
4
|
-
|
|
5
|
-
## RapidHeader.selectTemplate() method
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
selectTemplate(): ViewTemplate<Navigation>;
|
|
11
|
-
```
|
|
12
|
-
**Returns:**
|
|
13
|
-
|
|
14
|
-
ViewTemplate<[Navigation](./foundation-header.navigation.md)<!-- -->>
|
|
15
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [SideNavTargetId](./foundation-header.sidenavtargetid.md)
|
|
4
|
-
|
|
5
|
-
## SideNavTargetId type
|
|
6
|
-
|
|
7
|
-
Side nav integration targets.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type SideNavTargetId = 'side-nav-start' | 'side-nav' | 'side-nav-end';
|
|
13
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [StyleTargetId](./foundation-header.styletargetid.md)
|
|
4
|
-
|
|
5
|
-
## StyleTargetId type
|
|
6
|
-
|
|
7
|
-
Package style integration targets.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type StyleTargetId = 'header';
|
|
13
|
-
```
|
package/docs/api/index.md
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md)
|
|
4
|
-
|
|
5
|
-
## API Reference
|
|
6
|
-
|
|
7
|
-
## Packages
|
|
8
|
-
|
|
9
|
-
<table><thead><tr><th>
|
|
10
|
-
|
|
11
|
-
Package
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
</th><th>
|
|
15
|
-
|
|
16
|
-
Description
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
</th></tr></thead>
|
|
20
|
-
<tbody><tr><td>
|
|
21
|
-
|
|
22
|
-
[@genesislcap/foundation-header](./foundation-header.md)
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
</td><td>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</td></tr>
|
|
29
|
-
</tbody></table>
|
|
30
|
-
|