@fundamental-ngx/btp 0.46.0-rc.100
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 +7 -0
- package/esm2022/fundamental-ngx-btp.mjs +5 -0
- package/esm2022/index.mjs +3 -0
- package/esm2022/navigation/directives/navigation-home.directive.mjs +19 -0
- package/esm2022/navigation/directives/navigation-list-spacer.directive.mjs +24 -0
- package/esm2022/navigation/fundamental-ngx-btp-navigation.mjs +5 -0
- package/esm2022/navigation/index.mjs +11 -0
- package/esm2022/navigation/navigation-component.token.mjs +22 -0
- package/esm2022/navigation/navigation-content-end.component.mjs +62 -0
- package/esm2022/navigation/navigation-content-start.component.mjs +207 -0
- package/esm2022/navigation/navigation-content.token.mjs +3 -0
- package/esm2022/navigation/navigation-link.component.mjs +188 -0
- package/esm2022/navigation/navigation-list/navigation-list-item.component.mjs +423 -0
- package/esm2022/navigation/navigation-list/navigation-list-overflow-item.component.mjs +57 -0
- package/esm2022/navigation/navigation-list/navigation-list.component.mjs +125 -0
- package/esm2022/navigation/navigation-list-component.token.mjs +3 -0
- package/esm2022/navigation/navigation-list-item-component.token.mjs +90 -0
- package/esm2022/navigation/navigation.component.mjs +251 -0
- package/esm2022/navigation/navigation.service.mjs +14 -0
- package/esm2022/navigation/navigation.types.mjs +2 -0
- package/esm2022/navigation-menu/fundamental-ngx-btp-navigation-menu.mjs +5 -0
- package/esm2022/navigation-menu/index.mjs +6 -0
- package/esm2022/navigation-menu/lib/navigation-menu-item.component.mjs +48 -0
- package/esm2022/navigation-menu/lib/navigation-menu-popover-control.directive.mjs +19 -0
- package/esm2022/navigation-menu/lib/navigation-menu-popover.component.mjs +38 -0
- package/esm2022/navigation-menu/lib/navigation-menu.component.mjs +13 -0
- package/esm2022/navigation-menu/lib/navigation-menu.module.mjs +17 -0
- package/esm2022/search-field/fundamental-ngx-btp-search-field.mjs +5 -0
- package/esm2022/search-field/index.mjs +2 -0
- package/esm2022/search-field/search-field.component.mjs +62 -0
- package/esm2022/shared/fundamental-ngx-btp-shared.mjs +5 -0
- package/esm2022/shared/index.mjs +2 -0
- package/esm2022/tool-header/components/tool-header/tool-header.component.mjs +227 -0
- package/esm2022/tool-header/components/tool-header-product-switch.component.mjs +102 -0
- package/esm2022/tool-header/directives/tool-header-action.directive.mjs +43 -0
- package/esm2022/tool-header/directives/tool-header-actions.directive.mjs +63 -0
- package/esm2022/tool-header/directives/tool-header-auto-mode.directive.mjs +114 -0
- package/esm2022/tool-header/directives/tool-header-button.directive.mjs +51 -0
- package/esm2022/tool-header/directives/tool-header-element.directive.mjs +17 -0
- package/esm2022/tool-header/directives/tool-header-group.directive.mjs +26 -0
- package/esm2022/tool-header/directives/tool-header-logo.directive.mjs +19 -0
- package/esm2022/tool-header/directives/tool-header-user.directive.mjs +14 -0
- package/esm2022/tool-header/fundamental-ngx-btp-tool-header.mjs +5 -0
- package/esm2022/tool-header/index.mjs +10 -0
- package/esm2022/tool-header/tool-header-action-button.type.mjs +2 -0
- package/esm2022/tool-header/tool-header-component.class.mjs +74 -0
- package/esm2022/tool-header/tool-header-state.type.mjs +2 -0
- package/esm2022/tool-layout/directives/tool-layout-container.directive.mjs +17 -0
- package/esm2022/tool-layout/directives/tool-layout-content-container.directive.mjs +50 -0
- package/esm2022/tool-layout/directives/tool-layout-header-container.directive.mjs +17 -0
- package/esm2022/tool-layout/directives/tool-layout-navigation-container.directive.mjs +37 -0
- package/esm2022/tool-layout/fundamental-ngx-btp-tool-layout.mjs +5 -0
- package/esm2022/tool-layout/index.mjs +7 -0
- package/esm2022/tool-layout/tool-layout.component.mjs +43 -0
- package/esm2022/tool-layout/tool-layout.module.mjs +40 -0
- package/fesm2022/fundamental-ngx-btp-navigation-menu.mjs +130 -0
- package/fesm2022/fundamental-ngx-btp-navigation-menu.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-btp-navigation.mjs +1409 -0
- package/fesm2022/fundamental-ngx-btp-navigation.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-btp-search-field.mjs +69 -0
- package/fesm2022/fundamental-ngx-btp-search-field.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-btp-shared.mjs +4 -0
- package/fesm2022/fundamental-ngx-btp-shared.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-btp-tool-header.mjs +717 -0
- package/fesm2022/fundamental-ngx-btp-tool-header.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-btp-tool-layout.mjs +194 -0
- package/fesm2022/fundamental-ngx-btp-tool-layout.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-btp.mjs +7 -0
- package/fesm2022/fundamental-ngx-btp.mjs.map +1 -0
- package/fundamental-ngx-btp-v0.46.0-rc.100.tgz +0 -0
- package/index.d.ts +2 -0
- package/navigation/README.md +3 -0
- package/navigation/directives/navigation-home.directive.d.ts +10 -0
- package/navigation/directives/navigation-list-spacer.directive.d.ts +8 -0
- package/navigation/index.d.ts +10 -0
- package/navigation/navigation-component.token.d.ts +34 -0
- package/navigation/navigation-content-end.component.d.ts +23 -0
- package/navigation/navigation-content-start.component.d.ts +54 -0
- package/navigation/navigation-content.token.d.ts +11 -0
- package/navigation/navigation-link.component.d.ts +49 -0
- package/navigation/navigation-list/navigation-list-item.component.d.ts +142 -0
- package/navigation/navigation-list/navigation-list-overflow-item.component.d.ts +16 -0
- package/navigation/navigation-list/navigation-list.component.d.ts +60 -0
- package/navigation/navigation-list-component.token.d.ts +17 -0
- package/navigation/navigation-list-item-component.token.d.ts +68 -0
- package/navigation/navigation.component.d.ts +82 -0
- package/navigation/navigation.service.d.ts +8 -0
- package/navigation/navigation.types.d.ts +2 -0
- package/navigation-menu/README.md +3 -0
- package/navigation-menu/index.d.ts +5 -0
- package/navigation-menu/lib/navigation-menu-item.component.d.ts +13 -0
- package/navigation-menu/lib/navigation-menu-popover-control.directive.d.ts +10 -0
- package/navigation-menu/lib/navigation-menu-popover.component.d.ts +11 -0
- package/navigation-menu/lib/navigation-menu.component.d.ts +5 -0
- package/navigation-menu/lib/navigation-menu.module.d.ts +8 -0
- package/package.json +63 -0
- package/search-field/README.md +3 -0
- package/search-field/index.d.ts +1 -0
- package/search-field/search-field.component.d.ts +34 -0
- package/shared/README.md +3 -0
- package/shared/index.d.ts +1 -0
- package/tool-header/README.md +3 -0
- package/tool-header/components/tool-header/tool-header.component.d.ts +91 -0
- package/tool-header/components/tool-header-product-switch.component.d.ts +11 -0
- package/tool-header/directives/tool-header-action.directive.d.ts +35 -0
- package/tool-header/directives/tool-header-actions.directive.d.ts +27 -0
- package/tool-header/directives/tool-header-auto-mode.directive.d.ts +68 -0
- package/tool-header/directives/tool-header-button.directive.d.ts +22 -0
- package/tool-header/directives/tool-header-element.directive.d.ts +5 -0
- package/tool-header/directives/tool-header-group.directive.d.ts +12 -0
- package/tool-header/directives/tool-header-logo.directive.d.ts +5 -0
- package/tool-header/directives/tool-header-user.directive.d.ts +5 -0
- package/tool-header/index.d.ts +9 -0
- package/tool-header/tool-header-action-button.type.d.ts +10 -0
- package/tool-header/tool-header-component.class.d.ts +20 -0
- package/tool-header/tool-header-state.type.d.ts +14 -0
- package/tool-layout/README.md +3 -0
- package/tool-layout/directives/tool-layout-container.directive.d.ts +5 -0
- package/tool-layout/directives/tool-layout-content-container.directive.d.ts +29 -0
- package/tool-layout/directives/tool-layout-header-container.directive.d.ts +5 -0
- package/tool-layout/directives/tool-layout-navigation-container.directive.d.ts +13 -0
- package/tool-layout/index.d.ts +6 -0
- package/tool-layout/tool-layout.component.d.ts +27 -0
- package/tool-layout/tool-layout.module.d.ts +11 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
3
|
+
import { SearchFieldComponent } from '@fundamental-ngx/btp/search-field';
|
|
4
|
+
import { FdbViewMode } from '@fundamental-ngx/btp/shared';
|
|
5
|
+
import { ToolHeaderActionsDirective } from '../../directives/tool-header-actions.directive';
|
|
6
|
+
import { ToolHeaderLogoDirective } from '../../directives/tool-header-logo.directive';
|
|
7
|
+
import { ToolHeaderUserDirective } from '../../directives/tool-header-user.directive';
|
|
8
|
+
import { ToolHeaderComponentClass } from '../../tool-header-component.class';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class ToolHeaderComponent extends ToolHeaderComponentClass implements OnDestroy {
|
|
11
|
+
/**
|
|
12
|
+
* (required) the Product Name is the official name of the tool.
|
|
13
|
+
*/
|
|
14
|
+
productName: string;
|
|
15
|
+
/**
|
|
16
|
+
* Second Title is an optional second text identifier of the tool.
|
|
17
|
+
**/
|
|
18
|
+
secondTitle?: string;
|
|
19
|
+
/** Mode */
|
|
20
|
+
set _mode(mode: FdbViewMode);
|
|
21
|
+
/** @hidden */
|
|
22
|
+
set _orientation(orientation: 'landscape' | 'portrait');
|
|
23
|
+
/**
|
|
24
|
+
* Whether to show the menu button
|
|
25
|
+
*/
|
|
26
|
+
showMenuButton: BooleanInput;
|
|
27
|
+
/**
|
|
28
|
+
* Whether to show the voice input action button on
|
|
29
|
+
* the right side of the tool header, when the mode is mobile
|
|
30
|
+
* and the search input is expanded
|
|
31
|
+
*/
|
|
32
|
+
showVoiceInputAction: BooleanInput;
|
|
33
|
+
/**
|
|
34
|
+
* Event emitted when the menu button is clicked
|
|
35
|
+
**/
|
|
36
|
+
menuClick: EventEmitter<void>;
|
|
37
|
+
/**
|
|
38
|
+
* Event emitted when user intends to expand the menu.
|
|
39
|
+
* Happens when user clicks `right arrow` key on the menu button
|
|
40
|
+
* if on ltr or `left arrow` key if on rtl.
|
|
41
|
+
**/
|
|
42
|
+
menuExpand: EventEmitter<void>;
|
|
43
|
+
/**
|
|
44
|
+
* Event emitted when user intends to collapse the menu.
|
|
45
|
+
* Happens when user clicks `left arrow` key on the menu button
|
|
46
|
+
* if on ltr or `right arrow` key if on rtl.
|
|
47
|
+
**/
|
|
48
|
+
menuCollapse: EventEmitter<void>;
|
|
49
|
+
/**
|
|
50
|
+
* Event emitted when the microphone button is clicked
|
|
51
|
+
**/
|
|
52
|
+
microphoneClick: EventEmitter<void>;
|
|
53
|
+
/**
|
|
54
|
+
* Event emitted when the default logo is clicked
|
|
55
|
+
*/
|
|
56
|
+
logoClick: EventEmitter<void>;
|
|
57
|
+
/** @hidden */
|
|
58
|
+
_toolHeaderActionsDirective?: ToolHeaderActionsDirective;
|
|
59
|
+
/** @hidden */
|
|
60
|
+
_toolHeaderLogoDirective?: ToolHeaderLogoDirective;
|
|
61
|
+
/** @hidden */
|
|
62
|
+
set _searchField(searchField: SearchFieldComponent);
|
|
63
|
+
/** @hidden */
|
|
64
|
+
_toolHeaderUser?: ToolHeaderUserDirective;
|
|
65
|
+
/** @hidden */
|
|
66
|
+
_toolHeaderProductSwitch?: unknown;
|
|
67
|
+
/** @hidden */
|
|
68
|
+
private _searchFieldOutsideClickSubscription?;
|
|
69
|
+
/** @hidden */
|
|
70
|
+
private _ngZone;
|
|
71
|
+
/**
|
|
72
|
+
* The handler, responsible for closing the search field
|
|
73
|
+
* on outside click
|
|
74
|
+
* @hidden
|
|
75
|
+
**/
|
|
76
|
+
_onClick(event: MouseEvent): void;
|
|
77
|
+
/** @hidden */
|
|
78
|
+
ngOnDestroy(): void;
|
|
79
|
+
/**
|
|
80
|
+
* Expand the search field
|
|
81
|
+
**/
|
|
82
|
+
expandSearchField(): void;
|
|
83
|
+
/** @hidden */
|
|
84
|
+
protected _handleMenuLeftArrowKey(): void;
|
|
85
|
+
/** @hidden */
|
|
86
|
+
protected _handleMenuRightArrowKey(): void;
|
|
87
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolHeaderComponent, never>;
|
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolHeaderComponent, "fdb-tool-header", never, { "productName": { "alias": "productName"; "required": true; }; "secondTitle": { "alias": "secondTitle"; "required": false; }; "_mode": { "alias": "mode"; "required": false; }; "_orientation": { "alias": "orientation"; "required": false; }; "showMenuButton": { "alias": "showMenuButton"; "required": false; }; "showVoiceInputAction": { "alias": "showVoiceInputAction"; "required": false; }; }, { "menuClick": "menuClick"; "menuExpand": "menuExpand"; "menuCollapse": "menuCollapse"; "microphoneClick": "microphoneClick"; "logoClick": "logoClick"; }, ["_toolHeaderActionsDirective", "_toolHeaderLogoDirective", "_searchField", "_toolHeaderUser", "_toolHeaderProductSwitch"], ["[fdbToolHeaderLogo]", "fdb-search-field", "[fdbToolHeaderUser]", "fdb-tool-header-product-switch, fd-product-switch"], true, never>;
|
|
89
|
+
static ngAcceptInputType_showMenuButton: any;
|
|
90
|
+
static ngAcceptInputType_showVoiceInputAction: any;
|
|
91
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BasePopoverClass } from '@fundamental-ngx/core/popover';
|
|
2
|
+
import { Placement } from '@fundamental-ngx/core/shared';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ToolHeaderProductSwitchComponent extends BasePopoverClass {
|
|
5
|
+
/** Placement of a popover. */
|
|
6
|
+
placement: Placement;
|
|
7
|
+
/** Whether the product switch is disabled. */
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolHeaderProductSwitchComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolHeaderProductSwitchComponent, "fdb-tool-header-product-switch", never, { "placement": { "alias": "placement"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { FdbToolHeaderActionButton } from '../tool-header-action-button.type';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ToolHeaderActionDirective implements FdbToolHeaderActionButton {
|
|
5
|
+
readonly templateRef: TemplateRef<any>;
|
|
6
|
+
/**
|
|
7
|
+
* Glyph which will be used for the action when in overflow mode.
|
|
8
|
+
*/
|
|
9
|
+
glyph: string;
|
|
10
|
+
/**
|
|
11
|
+
* Label which will be used for the action when in overflow mode.
|
|
12
|
+
*/
|
|
13
|
+
label: string;
|
|
14
|
+
/**
|
|
15
|
+
* Whether the action should have a separator next to it
|
|
16
|
+
*/
|
|
17
|
+
hasSeparator: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Whether the action is always visible.
|
|
20
|
+
*/
|
|
21
|
+
forceVisibility?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Event emitted when the action is clicked when in overflow mode.
|
|
24
|
+
**/
|
|
25
|
+
clicked: EventEmitter<void>;
|
|
26
|
+
/** @hidden */
|
|
27
|
+
constructor(templateRef: TemplateRef<any>);
|
|
28
|
+
/**
|
|
29
|
+
* Function to be called when the action is clicked
|
|
30
|
+
* when in overflow mode.
|
|
31
|
+
**/
|
|
32
|
+
clickCallback: () => void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolHeaderActionDirective, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolHeaderActionDirective, "[fdbToolHeaderAction]", never, { "glyph": { "alias": "glyph"; "required": true; }; "label": { "alias": "label"; "required": true; }; "hasSeparator": { "alias": "hasSeparator"; "required": false; }; "forceVisibility": { "alias": "forceVisibility"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { QueryList, Signal } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { FdbToolHeaderActionButton } from '../tool-header-action-button.type';
|
|
4
|
+
import { ToolHeaderActionDirective } from './tool-header-action.directive';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ToolHeaderActionsDirective {
|
|
7
|
+
/**
|
|
8
|
+
* Actions to be displayed in the header.
|
|
9
|
+
*/
|
|
10
|
+
set actions(actions: FdbToolHeaderActionButton[] | Array<FdbToolHeaderActionButton[]>);
|
|
11
|
+
/** @hidden */
|
|
12
|
+
set _actionsFromContent(actions: QueryList<ToolHeaderActionDirective>);
|
|
13
|
+
/** @hidden */
|
|
14
|
+
_actions: Signal<FdbToolHeaderActionButton[]>;
|
|
15
|
+
/** @hidden */
|
|
16
|
+
protected _contentActions$: BehaviorSubject<FdbToolHeaderActionButton[]>;
|
|
17
|
+
/** @hidden */
|
|
18
|
+
protected _inputActions$: BehaviorSubject<FdbToolHeaderActionButton[]>;
|
|
19
|
+
/** @hidden */
|
|
20
|
+
private _destroyRef;
|
|
21
|
+
/** @hidden */
|
|
22
|
+
private _contentActionsSubscription?;
|
|
23
|
+
/** @hidden */
|
|
24
|
+
constructor();
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolHeaderActionsDirective, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolHeaderActionsDirective, "fdb-tool-header-actions", never, { "actions": { "alias": "actions"; "required": false; }; }, {}, ["_actionsFromContent"], never, true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FdbViewMode } from '@fundamental-ngx/btp/shared';
|
|
3
|
+
import { HasElementRef } from '@fundamental-ngx/cdk/utils';
|
|
4
|
+
import { ContentDensityDirective, ContentDensityMode } from '@fundamental-ngx/core/content-density';
|
|
5
|
+
import { ToolHeaderComponent } from '../components/tool-header/tool-header.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@fundamental-ngx/core/content-density";
|
|
8
|
+
interface FdbToolHeaderModeConfig {
|
|
9
|
+
desktop: number;
|
|
10
|
+
tabletLandscape: [number, number];
|
|
11
|
+
tabletPortrait: [number, number];
|
|
12
|
+
phone: number;
|
|
13
|
+
}
|
|
14
|
+
export declare class ToolHeaderAutoModeDirective implements HasElementRef {
|
|
15
|
+
/**
|
|
16
|
+
* What sizes should be used to determine mode.
|
|
17
|
+
* Sizes mean the width of the tool header, not the whole screen.
|
|
18
|
+
**/
|
|
19
|
+
set config(config: Partial<FdbToolHeaderModeConfig>);
|
|
20
|
+
/**
|
|
21
|
+
* Current mode of the ToolHeaderComponent
|
|
22
|
+
*/
|
|
23
|
+
modeChange: EventEmitter<FdbViewMode>;
|
|
24
|
+
/**
|
|
25
|
+
* Current orientation of the ToolHeaderComponent
|
|
26
|
+
*/
|
|
27
|
+
orientationChange: EventEmitter<"landscape" | "portrait">;
|
|
28
|
+
/**
|
|
29
|
+
* Current content density of the ToolHeaderComponent
|
|
30
|
+
*/
|
|
31
|
+
contentDensityChange: EventEmitter<ContentDensityMode>;
|
|
32
|
+
/**
|
|
33
|
+
* Reference to the element on which the directive is applied.
|
|
34
|
+
*/
|
|
35
|
+
elementRef: ElementRef;
|
|
36
|
+
/**
|
|
37
|
+
* Current configuration of the directive.
|
|
38
|
+
*/
|
|
39
|
+
protected _config: import("@angular/core").WritableSignal<FdbToolHeaderModeConfig>;
|
|
40
|
+
/** @hidden */
|
|
41
|
+
protected _contentDensity: ContentDensityDirective;
|
|
42
|
+
/**
|
|
43
|
+
* Signal of the Width of the element
|
|
44
|
+
*/
|
|
45
|
+
protected _elementWidth: import("@angular/core").Signal<any>;
|
|
46
|
+
/**
|
|
47
|
+
* Reference to the ToolHeaderComponent
|
|
48
|
+
*/
|
|
49
|
+
protected _toolHeaderComponent: ToolHeaderComponent;
|
|
50
|
+
/**
|
|
51
|
+
* Current mode of the ToolHeaderComponent
|
|
52
|
+
*/
|
|
53
|
+
protected _currentMode: import("@angular/core").Signal<[FdbViewMode, "landscape" | "portrait"]>;
|
|
54
|
+
/**
|
|
55
|
+
* @hidden
|
|
56
|
+
*/
|
|
57
|
+
constructor();
|
|
58
|
+
/**
|
|
59
|
+
* What mode should be used for the given width and configuration
|
|
60
|
+
* @param width
|
|
61
|
+
* @param config
|
|
62
|
+
* @private
|
|
63
|
+
*/
|
|
64
|
+
private _getMode;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolHeaderAutoModeDirective, never>;
|
|
66
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolHeaderAutoModeDirective, "fdb-tool-header[fdbToolHeaderAutoMode]", ["fdbToolHeaderAutoMode"], { "config": { "alias": "config"; "required": false; }; }, { "modeChange": "modeChange"; "orientationChange": "orientationChange"; "contentDensityChange": "contentDensityChange"; }, never, never, true, [{ directive: typeof i1.ContentDensityDirective; inputs: {}; outputs: {}; }]>;
|
|
67
|
+
}
|
|
68
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { HasElementRef } from '@fundamental-ngx/cdk';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ToolHeaderButtonDirective implements HasElementRef {
|
|
5
|
+
/**
|
|
6
|
+
* Whether the button has a badge.
|
|
7
|
+
* @param hasBadge
|
|
8
|
+
*/
|
|
9
|
+
set hasBadge(hasBadge: boolean);
|
|
10
|
+
/** @hidden */
|
|
11
|
+
elementRef: ElementRef<HTMLElement>;
|
|
12
|
+
/** @hidden */
|
|
13
|
+
private _badgeId;
|
|
14
|
+
/** @hidden */
|
|
15
|
+
private _badge?;
|
|
16
|
+
/** @hidden */
|
|
17
|
+
private renderer;
|
|
18
|
+
/** @hidden */
|
|
19
|
+
constructor();
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolHeaderButtonDirective, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolHeaderButtonDirective, "[fd-button][fdbToolHeaderButton]", never, { "hasBadge": { "alias": "hasBadge"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ToolHeaderElementDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolHeaderElementDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolHeaderElementDirective, "[fdbToolHeaderElement]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ToolHeaderGroupDirective {
|
|
4
|
+
/** @hidden */
|
|
5
|
+
center: BooleanInput;
|
|
6
|
+
/** @hidden */
|
|
7
|
+
actions: BooleanInput;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolHeaderGroupDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolHeaderGroupDirective, "[fdbToolHeaderGroup]", never, { "center": { "alias": "center"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
static ngAcceptInputType_center: any;
|
|
11
|
+
static ngAcceptInputType_actions: any;
|
|
12
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ToolHeaderLogoDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolHeaderLogoDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolHeaderLogoDirective, "[fdbToolHeaderLogo]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ToolHeaderUserDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolHeaderUserDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolHeaderUserDirective, "[fdbToolHeaderUser]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './components/tool-header-product-switch.component';
|
|
2
|
+
export * from './components/tool-header/tool-header.component';
|
|
3
|
+
export * from './directives/tool-header-action.directive';
|
|
4
|
+
export * from './directives/tool-header-actions.directive';
|
|
5
|
+
export * from './directives/tool-header-auto-mode.directive';
|
|
6
|
+
export * from './directives/tool-header-button.directive';
|
|
7
|
+
export * from './directives/tool-header-logo.directive';
|
|
8
|
+
export * from './directives/tool-header-user.directive';
|
|
9
|
+
export * from './tool-header-action-button.type';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
export interface FdbToolHeaderActionButton {
|
|
3
|
+
templateRef?: TemplateRef<void>;
|
|
4
|
+
glyph: string;
|
|
5
|
+
label: string;
|
|
6
|
+
forceVisibility?: boolean;
|
|
7
|
+
clickCallback: () => void;
|
|
8
|
+
hasBadge?: boolean;
|
|
9
|
+
hasSeparator?: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SearchFieldComponent } from '@fundamental-ngx/btp/search-field';
|
|
2
|
+
import { FdbViewMode } from '@fundamental-ngx/btp/shared';
|
|
3
|
+
import { FdbToolHeaderState } from './tool-header-state.type';
|
|
4
|
+
export declare abstract class ToolHeaderComponentClass {
|
|
5
|
+
/** Mode signal */
|
|
6
|
+
mode: import("@angular/core").WritableSignal<FdbViewMode>;
|
|
7
|
+
/** @hidden */
|
|
8
|
+
orientation: import("@angular/core").WritableSignal<"landscape" | "portrait">;
|
|
9
|
+
/** @hidden */
|
|
10
|
+
protected fdbToolHeaderState: import("@angular/core").Signal<FdbToolHeaderState>;
|
|
11
|
+
/** Search field signal */
|
|
12
|
+
protected searchField: import("@angular/core").WritableSignal<SearchFieldComponent | null>;
|
|
13
|
+
/** @hidden */
|
|
14
|
+
protected searchFieldExpanded: import("@angular/core").WritableSignal<boolean>;
|
|
15
|
+
/**
|
|
16
|
+
* RTL signal
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
protected _rtl: import("@angular/core").Signal<boolean | undefined>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface FdbToolHeaderState {
|
|
2
|
+
backButtonVisible: boolean;
|
|
3
|
+
menuButtonVisible: boolean;
|
|
4
|
+
logoVisible: boolean;
|
|
5
|
+
productNameVisible: boolean;
|
|
6
|
+
secondTitleVisible: boolean;
|
|
7
|
+
searchFieldVisible: boolean;
|
|
8
|
+
searchFieldToggleActionVisible: boolean;
|
|
9
|
+
providedActionsVisible: boolean;
|
|
10
|
+
userAvatarVisible: boolean;
|
|
11
|
+
productSwitchVisible: boolean;
|
|
12
|
+
voiceInputVisible: boolean;
|
|
13
|
+
separatorsBetweenActionsVisible: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ToolLayoutContainerDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolLayoutContainerDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolLayoutContainerDirective, "[fdbToolLayoutContainer]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ElementRef, OnChanges, OnInit } from '@angular/core';
|
|
2
|
+
import { CssClassBuilder, HasElementRef } from '@fundamental-ngx/cdk/utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export type ToolLayoutContentContainerBackground = '' | 'transparent' | 'list';
|
|
5
|
+
export declare class ToolLayoutContentContainerDirective implements OnChanges, OnInit, CssClassBuilder, HasElementRef {
|
|
6
|
+
/** user's custom classes */
|
|
7
|
+
class: string;
|
|
8
|
+
/**
|
|
9
|
+
* the background of the Content Container
|
|
10
|
+
* Available options: '' | 'transparent' | 'list'
|
|
11
|
+
* Default background has the color var(--sapBackgroundColor)
|
|
12
|
+
* List background will apply var(--sapGroup_ContentBackground) background to the content area
|
|
13
|
+
*/
|
|
14
|
+
background: ToolLayoutContentContainerBackground;
|
|
15
|
+
/** @hidden */
|
|
16
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
17
|
+
/** @hidden
|
|
18
|
+
* CssClassBuilder interface implementation
|
|
19
|
+
* function must return single string
|
|
20
|
+
* function is responsible for order which css classes are applied
|
|
21
|
+
*/
|
|
22
|
+
buildComponentCssClass(): string[];
|
|
23
|
+
/** @hidden */
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
/** @hidden */
|
|
26
|
+
ngOnChanges(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolLayoutContentContainerDirective, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolLayoutContentContainerDirective, "[fdbToolLayoutContentContainer]", never, { "class": { "alias": "class"; "required": false; }; "background": { "alias": "background"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ToolLayoutHeaderContainerDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolLayoutHeaderContainerDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolLayoutHeaderContainerDirective, "[fdbToolLayoutHeaderContainer]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ToolLayoutNavigationContainerDirective {
|
|
3
|
+
/**
|
|
4
|
+
* whether the navigation is a popup
|
|
5
|
+
*/
|
|
6
|
+
popup: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* whether the navigation is horizontal
|
|
9
|
+
*/
|
|
10
|
+
horizontal: boolean;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolLayoutNavigationContainerDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolLayoutNavigationContainerDirective, "[fdbToolLayoutNavigationContainer]", never, { "popup": { "alias": "popup"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './directives/tool-layout-container.directive';
|
|
2
|
+
export * from './directives/tool-layout-content-container.directive';
|
|
3
|
+
export * from './directives/tool-layout-header-container.directive';
|
|
4
|
+
export * from './directives/tool-layout-navigation-container.directive';
|
|
5
|
+
export * from './tool-layout.component';
|
|
6
|
+
export * from './tool-layout.module';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElementRef, OnChanges, OnInit } from '@angular/core';
|
|
2
|
+
import { FdbViewMode } from '@fundamental-ngx/btp/shared';
|
|
3
|
+
import { CssClassBuilder, HasElementRef, Nullable } from '@fundamental-ngx/cdk/utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ToolLayoutComponent implements OnChanges, OnInit, CssClassBuilder, HasElementRef {
|
|
6
|
+
/** user's custom classes */
|
|
7
|
+
class: string;
|
|
8
|
+
/** Whether the Tool Layout is in Desktop, Tablet or Mobile/Phone mode
|
|
9
|
+
* Types available: '' | 'tablet' | 'phone'
|
|
10
|
+
* The default (not specified) mode is desktop.
|
|
11
|
+
*/
|
|
12
|
+
mode: Nullable<FdbViewMode>;
|
|
13
|
+
/** @hidden */
|
|
14
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
15
|
+
/** @hidden
|
|
16
|
+
* CssClassBuilder interface implementation
|
|
17
|
+
* function must return single string
|
|
18
|
+
* function is responsible for order which css classes are applied
|
|
19
|
+
*/
|
|
20
|
+
buildComponentCssClass(): string[];
|
|
21
|
+
/** @hidden */
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
/** @hidden */
|
|
24
|
+
ngOnChanges(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolLayoutComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolLayoutComponent, "[fdbToolLayout]", never, { "class": { "alias": "class"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tool-layout.component";
|
|
3
|
+
import * as i2 from "./directives/tool-layout-container.directive";
|
|
4
|
+
import * as i3 from "./directives/tool-layout-content-container.directive";
|
|
5
|
+
import * as i4 from "./directives/tool-layout-header-container.directive";
|
|
6
|
+
import * as i5 from "./directives/tool-layout-navigation-container.directive";
|
|
7
|
+
export declare class ToolLayoutModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolLayoutModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ToolLayoutModule, never, [typeof i1.ToolLayoutComponent, typeof i2.ToolLayoutContainerDirective, typeof i3.ToolLayoutContentContainerDirective, typeof i4.ToolLayoutHeaderContainerDirective, typeof i5.ToolLayoutNavigationContainerDirective], [typeof i1.ToolLayoutComponent, typeof i2.ToolLayoutContainerDirective, typeof i3.ToolLayoutContentContainerDirective, typeof i4.ToolLayoutHeaderContainerDirective, typeof i5.ToolLayoutNavigationContainerDirective]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ToolLayoutModule>;
|
|
11
|
+
}
|