@design-factory/angular 21.0.3 → 21.1.0-next.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/drawer/README.md +54 -0
- package/fesm2022/design-factory-angular-drawer.mjs +202 -67
- package/fesm2022/design-factory-angular-drawer.mjs.map +1 -1
- package/fesm2022/design-factory-angular-internals.mjs +439 -17
- package/fesm2022/design-factory-angular-internals.mjs.map +1 -1
- package/fesm2022/design-factory-angular-sidenav.mjs +223 -210
- package/fesm2022/design-factory-angular-sidenav.mjs.map +1 -1
- package/fesm2022/design-factory-angular-theme.mjs +198 -0
- package/fesm2022/design-factory-angular-theme.mjs.map +1 -0
- package/fesm2022/design-factory-angular-topnav.mjs +1538 -0
- package/fesm2022/design-factory-angular-topnav.mjs.map +1 -0
- package/node_modules/@agnos-ui/core/README.md +5 -0
- package/node_modules/@agnos-ui/core/accordion-BC_9xn23.cjs +314 -0
- package/node_modules/@agnos-ui/core/accordion-Ca_0T8Bc.js +315 -0
- package/node_modules/@agnos-ui/core/alert-AhaliJ17.cjs +9 -0
- package/node_modules/@agnos-ui/core/alert-Cb9FhbFQ.js +10 -0
- package/node_modules/@agnos-ui/core/collapse-COriZO7o.cjs +94 -0
- package/node_modules/@agnos-ui/core/collapse-CP79atna.js +95 -0
- package/node_modules/@agnos-ui/core/common-B5jS-Ih_.cjs +73 -0
- package/node_modules/@agnos-ui/core/common-DFyZvkII.js +74 -0
- package/node_modules/@agnos-ui/core/components/accordion/accordion.d.ts +333 -0
- package/node_modules/@agnos-ui/core/components/accordion/index.cjs +7 -0
- package/node_modules/@agnos-ui/core/components/accordion/index.d.ts +1 -0
- package/node_modules/@agnos-ui/core/components/accordion/index.js +7 -0
- package/node_modules/@agnos-ui/core/components/alert/alert.d.ts +37 -0
- package/node_modules/@agnos-ui/core/components/alert/common.d.ts +138 -0
- package/node_modules/@agnos-ui/core/components/alert/index.cjs +5 -0
- package/node_modules/@agnos-ui/core/components/alert/index.d.ts +1 -0
- package/node_modules/@agnos-ui/core/components/alert/index.js +5 -0
- package/node_modules/@agnos-ui/core/components/carousel/carousel.d.ts +247 -0
- package/node_modules/@agnos-ui/core/components/carousel/index.cjs +292 -0
- package/node_modules/@agnos-ui/core/components/carousel/index.d.ts +1 -0
- package/node_modules/@agnos-ui/core/components/carousel/index.js +292 -0
- package/node_modules/@agnos-ui/core/components/collapse/collapse.d.ts +135 -0
- package/node_modules/@agnos-ui/core/components/collapse/index.cjs +5 -0
- package/node_modules/@agnos-ui/core/components/collapse/index.d.ts +1 -0
- package/node_modules/@agnos-ui/core/components/collapse/index.js +5 -0
- package/node_modules/@agnos-ui/core/components/commonProps.d.ts +11 -0
- package/node_modules/@agnos-ui/core/components/drawer/drawer.d.ts +279 -0
- package/node_modules/@agnos-ui/core/components/drawer/index.cjs +5 -0
- package/node_modules/@agnos-ui/core/components/drawer/index.d.ts +1 -0
- package/node_modules/@agnos-ui/core/components/drawer/index.js +5 -0
- package/node_modules/@agnos-ui/core/components/modal/index.cjs +8 -0
- package/node_modules/@agnos-ui/core/components/modal/index.d.ts +1 -0
- package/node_modules/@agnos-ui/core/components/modal/index.js +8 -0
- package/node_modules/@agnos-ui/core/components/modal/modal.d.ts +245 -0
- package/node_modules/@agnos-ui/core/components/pagination/index.cjs +5 -0
- package/node_modules/@agnos-ui/core/components/pagination/index.d.ts +1 -0
- package/node_modules/@agnos-ui/core/components/pagination/index.js +5 -0
- package/node_modules/@agnos-ui/core/components/pagination/pagination.d.ts +313 -0
- package/node_modules/@agnos-ui/core/components/progressbar/index.cjs +5 -0
- package/node_modules/@agnos-ui/core/components/progressbar/index.d.ts +1 -0
- package/node_modules/@agnos-ui/core/components/progressbar/index.js +5 -0
- package/node_modules/@agnos-ui/core/components/progressbar/progressbar.d.ts +91 -0
- package/node_modules/@agnos-ui/core/components/rating/index.cjs +5 -0
- package/node_modules/@agnos-ui/core/components/rating/index.d.ts +1 -0
- package/node_modules/@agnos-ui/core/components/rating/index.js +5 -0
- package/node_modules/@agnos-ui/core/components/rating/rating.d.ts +191 -0
- package/node_modules/@agnos-ui/core/components/slider/index.cjs +5 -0
- package/node_modules/@agnos-ui/core/components/slider/index.d.ts +1 -0
- package/node_modules/@agnos-ui/core/components/slider/index.js +5 -0
- package/node_modules/@agnos-ui/core/components/slider/slider-utils.d.ts +25 -0
- package/node_modules/@agnos-ui/core/components/slider/slider.d.ts +383 -0
- package/node_modules/@agnos-ui/core/components/toast/index.cjs +7 -0
- package/node_modules/@agnos-ui/core/components/toast/index.d.ts +2 -0
- package/node_modules/@agnos-ui/core/components/toast/index.js +7 -0
- package/node_modules/@agnos-ui/core/components/toast/toast.d.ts +66 -0
- package/node_modules/@agnos-ui/core/components/toast/toaster.d.ts +128 -0
- package/node_modules/@agnos-ui/core/components/tree/index.cjs +5 -0
- package/node_modules/@agnos-ui/core/components/tree/index.d.ts +1 -0
- package/node_modules/@agnos-ui/core/components/tree/index.js +5 -0
- package/node_modules/@agnos-ui/core/components/tree/tree.d.ts +143 -0
- package/node_modules/@agnos-ui/core/config.cjs +36 -0
- package/node_modules/@agnos-ui/core/config.d.ts +117 -0
- package/node_modules/@agnos-ui/core/config.js +36 -0
- package/node_modules/@agnos-ui/core/directive-Bsreu2z1.js +523 -0
- package/node_modules/@agnos-ui/core/directive-DCaXmRe_.cjs +522 -0
- package/node_modules/@agnos-ui/core/drawer-BbFAHV07.cjs +328 -0
- package/node_modules/@agnos-ui/core/drawer-C6Qa0xEu.js +329 -0
- package/node_modules/@agnos-ui/core/index.cjs +134 -0
- package/node_modules/@agnos-ui/core/index.d.ts +29 -0
- package/node_modules/@agnos-ui/core/index.js +134 -0
- package/node_modules/@agnos-ui/core/isFocusable-Ckwus82R.js +32 -0
- package/node_modules/@agnos-ui/core/isFocusable-DfzDLeAN.cjs +31 -0
- package/node_modules/@agnos-ui/core/modal-BsNuHhT7.cjs +252 -0
- package/node_modules/@agnos-ui/core/modal-CgzY8ezz.js +253 -0
- package/node_modules/@agnos-ui/core/package.json +57 -0
- package/node_modules/@agnos-ui/core/pagination-ZxGaNWZz.js +255 -0
- package/node_modules/@agnos-ui/core/pagination-xbcOHnhd.cjs +254 -0
- package/node_modules/@agnos-ui/core/progressbar-CRbMKp4b.cjs +86 -0
- package/node_modules/@agnos-ui/core/progressbar-CSEIFnlD.js +87 -0
- package/node_modules/@agnos-ui/core/promise-CxCD3NYv.cjs +118 -0
- package/node_modules/@agnos-ui/core/promise-D-RZVPuv.js +119 -0
- package/node_modules/@agnos-ui/core/rating-BIdiiPUo.js +184 -0
- package/node_modules/@agnos-ui/core/rating-qx1xaBmz.cjs +183 -0
- package/node_modules/@agnos-ui/core/scrollbars-CT87iv_6.cjs +30 -0
- package/node_modules/@agnos-ui/core/scrollbars-CcxSrnCx.js +31 -0
- package/node_modules/@agnos-ui/core/services/extendWidget.cjs +41 -0
- package/node_modules/@agnos-ui/core/services/extendWidget.d.ts +31 -0
- package/node_modules/@agnos-ui/core/services/extendWidget.js +41 -0
- package/node_modules/@agnos-ui/core/services/floatingUI.cjs +111 -0
- package/node_modules/@agnos-ui/core/services/floatingUI.d.ts +76 -0
- package/node_modules/@agnos-ui/core/services/floatingUI.js +111 -0
- package/node_modules/@agnos-ui/core/services/focusElement.cjs +46 -0
- package/node_modules/@agnos-ui/core/services/focusElement.d.ts +9 -0
- package/node_modules/@agnos-ui/core/services/focusElement.js +46 -0
- package/node_modules/@agnos-ui/core/services/focustrack.cjs +47 -0
- package/node_modules/@agnos-ui/core/services/focustrack.d.ts +40 -0
- package/node_modules/@agnos-ui/core/services/focustrack.js +47 -0
- package/node_modules/@agnos-ui/core/services/hash.cjs +15 -0
- package/node_modules/@agnos-ui/core/services/hash.d.ts +3 -0
- package/node_modules/@agnos-ui/core/services/hash.js +15 -0
- package/node_modules/@agnos-ui/core/services/intersection.cjs +53 -0
- package/node_modules/@agnos-ui/core/services/intersection.d.ts +30 -0
- package/node_modules/@agnos-ui/core/services/intersection.js +53 -0
- package/node_modules/@agnos-ui/core/services/matchMedia.cjs +14 -0
- package/node_modules/@agnos-ui/core/services/matchMedia.d.ts +8 -0
- package/node_modules/@agnos-ui/core/services/matchMedia.js +14 -0
- package/node_modules/@agnos-ui/core/services/navManager.cjs +166 -0
- package/node_modules/@agnos-ui/core/services/navManager.d.ts +144 -0
- package/node_modules/@agnos-ui/core/services/navManager.js +166 -0
- package/node_modules/@agnos-ui/core/services/pointerdownPosition.cjs +60 -0
- package/node_modules/@agnos-ui/core/services/pointerdownPosition.d.ts +42 -0
- package/node_modules/@agnos-ui/core/services/pointerdownPosition.js +60 -0
- package/node_modules/@agnos-ui/core/services/portal.cjs +42 -0
- package/node_modules/@agnos-ui/core/services/portal.d.ts +16 -0
- package/node_modules/@agnos-ui/core/services/portal.js +42 -0
- package/node_modules/@agnos-ui/core/services/resizeObserver.cjs +54 -0
- package/node_modules/@agnos-ui/core/services/resizeObserver.d.ts +18 -0
- package/node_modules/@agnos-ui/core/services/resizeObserver.js +54 -0
- package/node_modules/@agnos-ui/core/services/siblingsInert.cjs +44 -0
- package/node_modules/@agnos-ui/core/services/siblingsInert.d.ts +16 -0
- package/node_modules/@agnos-ui/core/services/siblingsInert.js +44 -0
- package/node_modules/@agnos-ui/core/services/transitions/baseTransitions.cjs +186 -0
- package/node_modules/@agnos-ui/core/services/transitions/baseTransitions.d.ts +166 -0
- package/node_modules/@agnos-ui/core/services/transitions/baseTransitions.js +186 -0
- package/node_modules/@agnos-ui/core/services/transitions/collapse.cjs +40 -0
- package/node_modules/@agnos-ui/core/services/transitions/collapse.d.ts +49 -0
- package/node_modules/@agnos-ui/core/services/transitions/collapse.js +40 -0
- package/node_modules/@agnos-ui/core/services/transitions/cssTransitions.cjs +32 -0
- package/node_modules/@agnos-ui/core/services/transitions/cssTransitions.d.ts +25 -0
- package/node_modules/@agnos-ui/core/services/transitions/cssTransitions.js +32 -0
- package/node_modules/@agnos-ui/core/services/transitions/simpleClassTransition.cjs +37 -0
- package/node_modules/@agnos-ui/core/services/transitions/simpleClassTransition.d.ts +47 -0
- package/node_modules/@agnos-ui/core/services/transitions/simpleClassTransition.js +37 -0
- package/node_modules/@agnos-ui/core/slider-B93hE0ag.cjs +807 -0
- package/node_modules/@agnos-ui/core/slider-Cjiq9FgI.js +808 -0
- package/node_modules/@agnos-ui/core/textDirection-cNgt24LJ.js +4 -0
- package/node_modules/@agnos-ui/core/textDirection-zqcZ5-eK.cjs +3 -0
- package/node_modules/@agnos-ui/core/toaster-BQWqxYv-.cjs +190 -0
- package/node_modules/@agnos-ui/core/toaster-BzEkshT2.js +191 -0
- package/node_modules/@agnos-ui/core/tree-DY04XPPg.cjs +228 -0
- package/node_modules/@agnos-ui/core/tree-HwcvZ0_p.js +229 -0
- package/node_modules/@agnos-ui/core/types.cjs +6 -0
- package/node_modules/@agnos-ui/core/types.d.ts +246 -0
- package/node_modules/@agnos-ui/core/types.js +6 -0
- package/node_modules/@agnos-ui/core/utils/directive.cjs +28 -0
- package/node_modules/@agnos-ui/core/utils/directive.d.ts +352 -0
- package/node_modules/@agnos-ui/core/utils/directive.js +28 -0
- package/node_modules/@agnos-ui/core/utils/func.cjs +7 -0
- package/node_modules/@agnos-ui/core/utils/func.d.ts +11 -0
- package/node_modules/@agnos-ui/core/utils/func.js +7 -0
- package/node_modules/@agnos-ui/core/utils/id.cjs +5 -0
- package/node_modules/@agnos-ui/core/utils/id.d.ts +6 -0
- package/node_modules/@agnos-ui/core/utils/id.js +5 -0
- package/node_modules/@agnos-ui/core/utils/internal/assign.d.ts +10 -0
- package/node_modules/@agnos-ui/core/utils/internal/checks.d.ts +57 -0
- package/node_modules/@agnos-ui/core/utils/internal/dom.d.ts +75 -0
- package/node_modules/@agnos-ui/core/utils/internal/isFocusable.d.ts +9 -0
- package/node_modules/@agnos-ui/core/utils/internal/math.d.ts +5 -0
- package/node_modules/@agnos-ui/core/utils/internal/promise.d.ts +98 -0
- package/node_modules/@agnos-ui/core/utils/internal/scrollbars.d.ts +8 -0
- package/node_modules/@agnos-ui/core/utils/internal/sort.d.ts +16 -0
- package/node_modules/@agnos-ui/core/utils/internal/ssrHTMLElement.d.ts +17 -0
- package/node_modules/@agnos-ui/core/utils/internal/textDirection.d.ts +7 -0
- package/node_modules/@agnos-ui/core/utils/internal/traversal.d.ts +54 -0
- package/node_modules/@agnos-ui/core/utils/stores.cjs +172 -0
- package/node_modules/@agnos-ui/core/utils/stores.d.ts +224 -0
- package/node_modules/@agnos-ui/core/utils/stores.js +172 -0
- package/node_modules/@agnos-ui/core/utils/widget.cjs +8 -0
- package/node_modules/@agnos-ui/core/utils/widget.d.ts +11 -0
- package/node_modules/@agnos-ui/core/utils/widget.js +8 -0
- package/node_modules/@agnos-ui/core/utils/writables.cjs +16 -0
- package/node_modules/@agnos-ui/core/utils/writables.d.ts +95 -0
- package/node_modules/@agnos-ui/core/utils/writables.js +16 -0
- package/node_modules/@agnos-ui/core/writables-DYGjj5T3.js +103 -0
- package/node_modules/@agnos-ui/core/writables-Dt68gADJ.cjs +102 -0
- package/package.json +25 -6
- package/schematics/collection.json +1 -1
- package/types/design-factory-angular-drawer.d.ts +71 -13
- package/types/design-factory-angular-internals.d.ts +220 -31
- package/types/design-factory-angular-sidenav.d.ts +15 -7
- package/types/design-factory-angular-theme.d.ts +122 -0
- package/types/design-factory-angular-topnav.d.ts +435 -0
|
@@ -0,0 +1,435 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Signal, TemplateRef, AfterContentInit, ElementRef } from '@angular/core';
|
|
3
|
+
import { IsActiveMatchOptions } from '@angular/router';
|
|
4
|
+
import { DfSidenavComponent } from '@design-factory/angular/sidenav';
|
|
5
|
+
import { NgbPopover } from '@ng-bootstrap/ng-bootstrap/popover';
|
|
6
|
+
import { DfThemeService } from '@design-factory/angular/theme';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @internal
|
|
10
|
+
* Defines the structure of the navigation items used to build the sidenav menu when the TopNav is in "sidenav" mode. These types are used internally to map the navigation elements defined in the TopNavNavigation component to a structure that can be easily consumed by the sidenav component.
|
|
11
|
+
*/
|
|
12
|
+
type SideNavItem = {
|
|
13
|
+
label: Signal<string>;
|
|
14
|
+
children: Signal<(SideNavItem | SideNavLink)[]>;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
* Defines the structure of the navigation links used to build the sidenav menu when the TopNav is in "sidenav" mode. These types are used internally to map the navigation elements defined in the TopNavNavigation component to a structure that can be easily consumed by the sidenav component.
|
|
19
|
+
*/
|
|
20
|
+
type SideNavLink = {
|
|
21
|
+
label: Signal<string>;
|
|
22
|
+
href: Signal<string>;
|
|
23
|
+
routerLinkActiveOptions: Signal<IsActiveMatchOptions | {
|
|
24
|
+
exact: boolean;
|
|
25
|
+
}>;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* TopNav (Top Navigation Bar) provides consistent access to product-level navigation and global actions across Amadeus applications.
|
|
29
|
+
*
|
|
30
|
+
* It is recommended to be used with a {@link DfAppContainer} to ensure the correct layout and responsiveness, but it can also be used without it if needed.
|
|
31
|
+
*
|
|
32
|
+
* See {@link https://design-factory.amadeus.net/components/topnav|Design Factory documentation} for details and examples.
|
|
33
|
+
* @since 21.1
|
|
34
|
+
*/
|
|
35
|
+
declare class DfTopNav {
|
|
36
|
+
/**
|
|
37
|
+
* The style of the TopNav main nav, which determines the applied styles. Can be either "basic" or "mirror".
|
|
38
|
+
* When not provided, the applied mode will be determined based on the number of navigation links.
|
|
39
|
+
*/
|
|
40
|
+
readonly mainNavStyle: _angular_core.InputSignal<"basic" | "mirror" | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* The style of the TopNav secondary nav, which determines the applied styles. Can be either "basic" or "mirror".
|
|
43
|
+
* When not provided, the applied mode will be opposite to the main nav style.
|
|
44
|
+
*/
|
|
45
|
+
readonly secondaryNavStyle: _angular_core.InputSignal<"basic" | "mirror" | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* The mode of the TopNav, which determines the behavior of the navigation. Can be either "sidenav" or "dropdown".
|
|
48
|
+
*/
|
|
49
|
+
readonly mode: _angular_core.InputSignal<"sidenav" | "dropdown">;
|
|
50
|
+
/**
|
|
51
|
+
* Indicates whether the navigation menu is expanded or collapsed. This is used to control the visibility of the sidenav menu when the TopNav is in "sidenav" mode on smaller screens. When set to true, the sidenav menu will be visible, and when set to false, it will be hidden.
|
|
52
|
+
*/
|
|
53
|
+
readonly navExpanded: _angular_core.ModelSignal<boolean>;
|
|
54
|
+
/**
|
|
55
|
+
* When set to true, the superheader layout will be applied, which moves the navigation to a second line and applies the "mirror" style to it. When not provided, the superheader layout will be applied automatically when there are more than 5 navigation links and the screen size is large or bigger.
|
|
56
|
+
*/
|
|
57
|
+
readonly superheader: _angular_core.InputSignal<boolean | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* When set to true, the toggle button will be always shown. Useful when the TopNav is used without any navigation links but the toggle button is still needed to access other content.
|
|
60
|
+
* When not provided, the toggle button will be shown automatically when there are navigation links and the screen size is smaller than large.
|
|
61
|
+
*/
|
|
62
|
+
readonly showToggle: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
63
|
+
private readonly navigationContainer;
|
|
64
|
+
private readonly navElements;
|
|
65
|
+
private readonly navActions;
|
|
66
|
+
protected readonly inAppContainer: _angular_core.WritableSignal<boolean>;
|
|
67
|
+
/**
|
|
68
|
+
* Signal that indicates when the links need to be displayed in the topnav instead of the navbar.
|
|
69
|
+
*/
|
|
70
|
+
private readonly displayLinksInNav;
|
|
71
|
+
/**
|
|
72
|
+
* The content of the sidenav, which is derived from the TopNav navigation elements.
|
|
73
|
+
*/
|
|
74
|
+
protected readonly sidenavContent: Signal<(SideNavItem | SideNavLink)[]>;
|
|
75
|
+
protected readonly isLg: Signal<boolean>;
|
|
76
|
+
protected readonly isXl: Signal<boolean>;
|
|
77
|
+
protected readonly appliedSuperheader: Signal<boolean>;
|
|
78
|
+
protected readonly mainNavAppliedStyle: Signal<"basic" | "mirror">;
|
|
79
|
+
protected readonly secondaryNavAppliedStyle: Signal<"basic" | "mirror">;
|
|
80
|
+
constructor();
|
|
81
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DfTopNav, never>;
|
|
82
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DfTopNav, "df-topnav", never, { "mainNavStyle": { "alias": "mainNavStyle"; "required": false; "isSignal": true; }; "secondaryNavStyle": { "alias": "secondaryNavStyle"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "navExpanded": { "alias": "navExpanded"; "required": false; "isSignal": true; }; "superheader": { "alias": "superheader"; "required": false; "isSignal": true; }; "showToggle": { "alias": "showToggle"; "required": false; "isSignal": true; }; }, { "navExpanded": "navExpandedChange"; }, ["navigationContainer", "navActions"], ["df-topnav-navigation", "df-topnav-brand", "df-topnav-quick-actions"], true, never>;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* A directive to mark the company template in the {@link DfTopNavBrand} brand component.
|
|
87
|
+
*
|
|
88
|
+
* This is used to customize the display of the company logo and name in the {@link DfTopNavBrand} brand component.
|
|
89
|
+
* @since 21.1
|
|
90
|
+
*/
|
|
91
|
+
declare class DfTopNavBrandLinkContent {
|
|
92
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DfTopNavBrandLinkContent, never>;
|
|
93
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DfTopNavBrandLinkContent, "ng-template[dfTopNavBrandLinkContent]", never, {}, {}, never, never, true, never>;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* The TopNav brand component, used to display the company and product information.
|
|
97
|
+
*
|
|
98
|
+
* See {@link https://design-factory.amadeus.net/components/topnav/examples#brand|Design Factory example}
|
|
99
|
+
* @since 21.1
|
|
100
|
+
*/
|
|
101
|
+
declare class DfTopNavBrand {
|
|
102
|
+
/**
|
|
103
|
+
* The URL to navigate to when the brand is clicked. Defaults to "/".
|
|
104
|
+
*/
|
|
105
|
+
readonly href: _angular_core.InputSignal<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The product.
|
|
108
|
+
*/
|
|
109
|
+
readonly product: _angular_core.InputSignal<string | undefined>;
|
|
110
|
+
/**
|
|
111
|
+
* The module.
|
|
112
|
+
*/
|
|
113
|
+
readonly module: _angular_core.InputSignal<string | undefined>;
|
|
114
|
+
/**
|
|
115
|
+
* Whether to display the Amadeus logo as a vector graphic instead of text.
|
|
116
|
+
*/
|
|
117
|
+
readonly amaudeusLogoVector: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
118
|
+
protected readonly brandLinkContent: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
119
|
+
protected readonly isSm: _angular_core.Signal<boolean>;
|
|
120
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DfTopNavBrand, never>;
|
|
121
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DfTopNavBrand, "df-topnav-brand", never, { "href": { "alias": "href"; "required": false; "isSignal": true; }; "product": { "alias": "product"; "required": false; "isSignal": true; }; "module": { "alias": "module"; "required": false; "isSignal": true; }; "amaudeusLogoVector": { "alias": "amaudeusLogoVector"; "required": false; "isSignal": true; }; }, {}, ["brandLinkContent"], never, true, never>;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* AppContainer is a simple wrapper component that provides a consistent layout for applications using the {@link DfTopNav} component.
|
|
126
|
+
*
|
|
127
|
+
* It ensures that the content of the application is displayed correctly below the {@link DfTopNav} and can be used to apply common styles or layout properties to the entire application.
|
|
128
|
+
*
|
|
129
|
+
* See {@link https://design-factory.amadeus.net/components/topnav|Design Factory documentation} for details and examples.
|
|
130
|
+
* @since 21.1
|
|
131
|
+
*/
|
|
132
|
+
declare class DfAppContainer implements AfterContentInit {
|
|
133
|
+
protected readonly topnav: _angular_core.Signal<DfTopNav>;
|
|
134
|
+
protected readonly sidenav: _angular_core.Signal<DfSidenavComponent | undefined>;
|
|
135
|
+
protected readonly sidenavContent: _angular_core.Signal<(SideNavItem | SideNavLink)[]>;
|
|
136
|
+
protected readonly drawerContainerActions: _angular_core.Signal<ElementRef<HTMLElement>>;
|
|
137
|
+
protected isSideItem(item: SideNavItem | SideNavLink): item is SideNavItem;
|
|
138
|
+
constructor();
|
|
139
|
+
ngAfterContentInit(): void;
|
|
140
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DfAppContainer, never>;
|
|
141
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DfAppContainer, "df-app-container", never, {}, {}, ["topnav"], ["df-topnav", "df-env-banner", "main"], true, never>;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @internal
|
|
146
|
+
* An abstract class that defines the structure of a navigation element in the top navigation component.
|
|
147
|
+
* It includes an abstract property 'active' which is a Signal that indicates whether the navigation element is active or not.
|
|
148
|
+
*/
|
|
149
|
+
declare abstract class DfTopNavNavigationElement {
|
|
150
|
+
abstract readonly active: Signal<boolean>;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* The TopNav navigation component, used to display a list of navigation items in the TopNav.
|
|
155
|
+
* @since 21.1
|
|
156
|
+
*/
|
|
157
|
+
declare class DfTopNavNavigation {
|
|
158
|
+
protected readonly childrenElements: _angular_core.Signal<readonly DfTopNavNavigationElement[]>;
|
|
159
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DfTopNavNavigation, never>;
|
|
160
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DfTopNavNavigation, "df-topnav-navigation", never, {}, {}, ["childrenElements"], ["*"], true, never>;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* The TopNav navigation item component, used to display a navigation link in the TopNav.
|
|
165
|
+
*
|
|
166
|
+
* It should be used inside a {@link DfTopNavNavigation} component.
|
|
167
|
+
* @since 21.1
|
|
168
|
+
*/
|
|
169
|
+
declare class DfTopNavNavigationLink extends DfTopNavNavigationElement {
|
|
170
|
+
/**
|
|
171
|
+
* The label of the navigation link, which will be displayed as the link text.
|
|
172
|
+
*/
|
|
173
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
174
|
+
/**
|
|
175
|
+
* The href of the navigation link, which will be used as the link target. It can be either an internal route or an external URL.
|
|
176
|
+
*/
|
|
177
|
+
readonly href: _angular_core.InputSignal<string>;
|
|
178
|
+
/**
|
|
179
|
+
* The options to determine when the link is active based on the Router state. It can be either an object of type IsActiveMatchOptions or an object with an "exact" boolean property. When not provided, it defaults to { exact: false }.
|
|
180
|
+
*/
|
|
181
|
+
readonly routerLinkActiveOptions: _angular_core.InputSignal<IsActiveMatchOptions | {
|
|
182
|
+
exact: boolean;
|
|
183
|
+
}>;
|
|
184
|
+
protected readonly _active: _angular_core.WritableSignal<boolean>;
|
|
185
|
+
/**
|
|
186
|
+
* Indicates if the link is currently active based on the Router state.
|
|
187
|
+
*/
|
|
188
|
+
readonly active: _angular_core.Signal<boolean>;
|
|
189
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DfTopNavNavigationLink, never>;
|
|
190
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DfTopNavNavigationLink, "df-topnav-navigation-link", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "href": { "alias": "href"; "required": true; "isSignal": true; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* The TopNav navigation item component, used to display a navigation link in the TopNav which can have child navigation links.
|
|
195
|
+
*
|
|
196
|
+
* It should be used inside a {@link DfTopNavNavigation} component.
|
|
197
|
+
* @since 21.1
|
|
198
|
+
*/
|
|
199
|
+
declare class DfTopNavNavigationItem extends DfTopNavNavigationElement {
|
|
200
|
+
/**
|
|
201
|
+
* The label of the navigation item, which will be displayed as the link text.
|
|
202
|
+
*/
|
|
203
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
204
|
+
/**
|
|
205
|
+
* The href of the navigation item, which will be used as the link target. It can be either an internal route or an external URL.
|
|
206
|
+
*/
|
|
207
|
+
readonly href: _angular_core.InputSignal<string>;
|
|
208
|
+
protected readonly childElements: _angular_core.Signal<readonly DfTopNavNavigationElement[]>;
|
|
209
|
+
protected readonly deepChildLinks: _angular_core.Signal<readonly DfTopNavNavigationLink[]>;
|
|
210
|
+
protected readonly rootChildLinks: _angular_core.Signal<DfTopNavNavigationLink[]>;
|
|
211
|
+
private readonly topNav;
|
|
212
|
+
protected readonly dropdownMode: _angular_core.Signal<boolean>;
|
|
213
|
+
protected dropdownId: string;
|
|
214
|
+
/**
|
|
215
|
+
* Indicates if the navigation item is currently active based on the Router state of its child links.
|
|
216
|
+
*/
|
|
217
|
+
readonly active: _angular_core.Signal<boolean>;
|
|
218
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DfTopNavNavigationItem, never>;
|
|
219
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DfTopNavNavigationItem, "df-topnav-navigation-item", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "href": { "alias": "href"; "required": true; "isSignal": true; }; }, {}, ["childElements", "deepChildLinks"], never, true, never>;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* @internal
|
|
224
|
+
* An abstract class that defines the structure of a quick action element in the top navigation component.
|
|
225
|
+
*/
|
|
226
|
+
declare abstract class DfTopNavQuickActionElement {
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* The TopNav action content directive, used to provide the content of the popover or drawer associated to a {@link DfTopNavQuickActionButton}.
|
|
231
|
+
*
|
|
232
|
+
* It is showed in a popover in desktop and in a drawer on tablet and mobile when the associated quick action button is clicked.
|
|
233
|
+
* @since 21.1
|
|
234
|
+
*/
|
|
235
|
+
declare class DfTopNavQuickActionButtonContent {
|
|
236
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DfTopNavQuickActionButtonContent, never>;
|
|
237
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DfTopNavQuickActionButtonContent, "ng-template[dfTopNavQuickActionButtonContent]", never, {}, {}, never, never, true, never>;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* The TopNav action icon directive, used to provide a custom icon for the {@link DfTopNavQuickActionButton}.
|
|
241
|
+
*
|
|
242
|
+
* If not provided, the quick action button will use the default icon specified by the {@link DfTopNavQuickActionButton.icon} input.
|
|
243
|
+
* @since 21.1
|
|
244
|
+
*/
|
|
245
|
+
declare class DfTopNavQuickActionButtonIcon {
|
|
246
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DfTopNavQuickActionButtonIcon, never>;
|
|
247
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DfTopNavQuickActionButtonIcon, "ng-template[dfTopNavQuickActionButtonIcon]", never, {}, {}, never, never, true, never>;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* The TopNav quick action button component, used to display a quick action button in the TopNav.
|
|
251
|
+
*
|
|
252
|
+
* It should be used inside a {@link DfTopNavQuickActions} component.
|
|
253
|
+
*
|
|
254
|
+
* It can be associated with a popover content using the {@link DfTopNavQuickActionButtonContent} directive or be used alone with the {@link DfTopNavQuickActionButton.act} output.
|
|
255
|
+
*
|
|
256
|
+
* The icon can be set through the {@link DfTopNavQuickActionButton.icon} input or by using the {@link DfTopNavQuickActionButtonIcon} directive.
|
|
257
|
+
*
|
|
258
|
+
* See {@link https://design-factory.amadeus.net/components/topnav/examples#quick-actions|Design Factory example}
|
|
259
|
+
* @since 21.1
|
|
260
|
+
*/
|
|
261
|
+
declare class DfTopNavQuickActionButton extends DfTopNavQuickActionElement {
|
|
262
|
+
/**
|
|
263
|
+
* The appearance of the quick action button, which will determine its color. It can be either 'primary' or 'neutral'.
|
|
264
|
+
*/
|
|
265
|
+
readonly appearance: _angular_core.InputSignal<"primary" | "neutral">;
|
|
266
|
+
/**
|
|
267
|
+
* The label of the quick action button, which will be used as the aria-label attribute for accessibility on desktop and label in the drawer.
|
|
268
|
+
*/
|
|
269
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
270
|
+
/**
|
|
271
|
+
* The icon of the quick action button.
|
|
272
|
+
*/
|
|
273
|
+
readonly icon: _angular_core.InputSignal<string | undefined>;
|
|
274
|
+
/**
|
|
275
|
+
* Whether the quick action button is disabled or not.
|
|
276
|
+
*/
|
|
277
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
278
|
+
/**
|
|
279
|
+
* The event emitted when the quick action button is clicked. It can be used to perform an action instead of showing the associated popover or drawer content.
|
|
280
|
+
*/
|
|
281
|
+
readonly act: _angular_core.OutputEmitterRef<void>;
|
|
282
|
+
protected readonly actionContent: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
283
|
+
protected readonly actionIcon: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
284
|
+
protected readonly popover: _angular_core.Signal<NgbPopover>;
|
|
285
|
+
private readonly isLg;
|
|
286
|
+
constructor();
|
|
287
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DfTopNavQuickActionButton, never>;
|
|
288
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DfTopNavQuickActionButton, "df-topnav-quick-action-button", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "act": "act"; }, ["actionContent", "actionIcon"], never, true, never>;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* The TopNav action "in topnav" content directive.
|
|
293
|
+
*
|
|
294
|
+
* It drives the display of the {@link DfTopNavQuickAction} on larger screens, where the quick action is displayed in a topnav.
|
|
295
|
+
*
|
|
296
|
+
* @since 21.1
|
|
297
|
+
*/
|
|
298
|
+
declare class DfTopNavQuickActionInTopNav {
|
|
299
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DfTopNavQuickActionInTopNav, never>;
|
|
300
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DfTopNavQuickActionInTopNav, "ng-template[dfTopNavQuickActionInTopNav]", never, {}, {}, never, never, true, never>;
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* The TopNav action "in drawer" content directive.
|
|
304
|
+
*
|
|
305
|
+
* It drives the display of the {@link DfTopNavQuickAction} on smaller screens, where the quick action is displayed in a drawer.
|
|
306
|
+
*
|
|
307
|
+
* @since 21.1
|
|
308
|
+
*/
|
|
309
|
+
declare class DfTopNavQuickActionInDrawer {
|
|
310
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DfTopNavQuickActionInDrawer, never>;
|
|
311
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DfTopNavQuickActionInDrawer, "ng-template[dfTopNavQuickActionInDrawer]", never, {}, {}, never, never, true, never>;
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* The TopNav quick action component, used to display a quick action in the TopNav.
|
|
315
|
+
*
|
|
316
|
+
* Consider using the {@link DfTopNavQuickActionButton} component instead, which provides a button with the appropriate styling and behavior for quick actions in the TopNav.
|
|
317
|
+
*
|
|
318
|
+
* It should be used inside a {@link DfTopNavQuickActions} component.
|
|
319
|
+
* It requires a {@link DfTopNavQuickActionInTopNav} template to be provided as content, which will be displayed in desktop. An optional {@link DfTopNavQuickActionInDrawer} template can also be provided, which will be displayed in mobile and tablet instead of the topnav template.
|
|
320
|
+
*
|
|
321
|
+
* See {@link https://design-factory.amadeus.net/components/topnav/examples#quick-actions|Design Factory example}
|
|
322
|
+
* @since 21.1
|
|
323
|
+
*/
|
|
324
|
+
declare class DfTopNavQuickAction extends DfTopNavQuickActionElement {
|
|
325
|
+
protected readonly content: _angular_core.Signal<TemplateRef<any>>;
|
|
326
|
+
protected readonly drawerContent: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
327
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DfTopNavQuickAction, never>;
|
|
328
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DfTopNavQuickAction, "df-topnav-quick-action", never, {}, {}, ["content", "drawerContent"], never, true, never>;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* The TopNav quick action search input directive.
|
|
333
|
+
*
|
|
334
|
+
* It should be used inside a {@link DfTopNavQuickActionSearch} component.
|
|
335
|
+
* @since 21.1
|
|
336
|
+
*/
|
|
337
|
+
declare class DfTopNavQuickActionSearchInput {
|
|
338
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DfTopNavQuickActionSearchInput, never>;
|
|
339
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DfTopNavQuickActionSearchInput, "input[dfTopNavQuickActionSearchInput]", never, {}, {}, never, never, true, never>;
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* The TopNav quick action search component, used to display a search input in the TopNav quick actions.
|
|
343
|
+
*
|
|
344
|
+
* It should be used inside a {@link DfTopNavQuickActions} component and contain a ng-template with an input {@link DfTopNavQuickActionSearchInput}.
|
|
345
|
+
*
|
|
346
|
+
* See {@link https://design-factory.amadeus.net/components/topnav/examples#quick-actions|Design Factory example}
|
|
347
|
+
* @since 21.1
|
|
348
|
+
*/
|
|
349
|
+
declare class DfTopNavQuickActionSearch extends DfTopNavQuickActionElement {
|
|
350
|
+
protected readonly templateRef: _angular_core.Signal<TemplateRef<any>>;
|
|
351
|
+
/**
|
|
352
|
+
* The aria-label of the search.
|
|
353
|
+
*
|
|
354
|
+
* It is required to set it if you have more than one global search in your page, to allow assistive technologies to differentiate between them.
|
|
355
|
+
* See [ARIA guidelines](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/search_role) for more information.
|
|
356
|
+
*/
|
|
357
|
+
readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
358
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DfTopNavQuickActionSearch, never>;
|
|
359
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DfTopNavQuickActionSearch, "df-topnav-quick-action-search", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, ["templateRef"], never, true, never>;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* The TopNav quick actions component, used to display a list of quick action buttons in the TopNav. On large screens, the buttons are displayed inline, while on smaller screens, they are displayed in a drawer.
|
|
364
|
+
*
|
|
365
|
+
* See {@link https://design-factory.amadeus.net/components/topnav/examples#quick-actions|Design Factory example}
|
|
366
|
+
* @since 21.1
|
|
367
|
+
*/
|
|
368
|
+
declare class DfTopNavQuickActions {
|
|
369
|
+
/**
|
|
370
|
+
* When true, the quick action buttons will be displayed in reversed order in the drawer on smaller screens. This is useful when the quick actions are defined in the template in the same order as the navigation items, so that the first quick action is closest to the navigation on smaller screens. Defaults to true.
|
|
371
|
+
*/
|
|
372
|
+
readonly reversedVertical: _angular_core.InputSignal<boolean>;
|
|
373
|
+
/**
|
|
374
|
+
* The container element in which the drawer will be rendered on smaller screens. By default, it will try to render in the drawer container provided by the app container, and if not available, it will render in the body element. This input can be used to specify a different container element for the drawer.
|
|
375
|
+
*/
|
|
376
|
+
readonly tabletDrawerContainer: _angular_core.InputSignal<HTMLElement | undefined>;
|
|
377
|
+
private readonly appContainer;
|
|
378
|
+
private readonly _actionElements;
|
|
379
|
+
private readonly drawer;
|
|
380
|
+
private readonly document;
|
|
381
|
+
protected readonly isMd: _angular_core.Signal<boolean>;
|
|
382
|
+
protected readonly isLg: _angular_core.Signal<boolean>;
|
|
383
|
+
protected readonly drawerContainer: _angular_core.Signal<HTMLElement>;
|
|
384
|
+
protected readonly actionElements: _angular_core.Signal<(DfTopNavQuickActionButton | DfTopNavQuickAction)[]>;
|
|
385
|
+
protected readonly searchElement: _angular_core.Signal<DfTopNavQuickActionSearch | undefined>;
|
|
386
|
+
protected isButton(action: DfTopNavQuickActionButton | DfTopNavQuickAction): action is DfTopNavQuickActionButton;
|
|
387
|
+
protected isAction(action: DfTopNavQuickActionButton | DfTopNavQuickAction): action is DfTopNavQuickAction;
|
|
388
|
+
protected readonly menuExpanded: _angular_core.WritableSignal<boolean>;
|
|
389
|
+
protected readonly selectedQuickAction: _angular_core.WritableSignal<DfTopNavQuickActionButton | undefined>;
|
|
390
|
+
protected clickQuickAction(actionBtn: DfTopNavQuickActionButton): Promise<void>;
|
|
391
|
+
constructor();
|
|
392
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DfTopNavQuickActions, never>;
|
|
393
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DfTopNavQuickActions, "df-topnav-quick-actions", never, { "reversedVertical": { "alias": "reversedVertical"; "required": false; "isSignal": true; }; "tabletDrawerContainer": { "alias": "tabletDrawerContainer"; "required": false; "isSignal": true; }; }, {}, ["_actionElements"], ["*"], true, never>;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* DfTopNavQuickActionThemePicker is a topnav quick action dropdown component that allows users to select a theme mode for the application.
|
|
398
|
+
*
|
|
399
|
+
* It uses the {@link DfThemeService} to manage theme state and apply the selected theme. The component displays an icon and label corresponding to the current theme selection and provides options for users to change the theme.
|
|
400
|
+
* @since 21.1
|
|
401
|
+
*/
|
|
402
|
+
declare class DfTopNavQuickActionThemePicker extends DfTopNavQuickAction {
|
|
403
|
+
protected readonly themeService: DfThemeService<string>;
|
|
404
|
+
/**
|
|
405
|
+
* An array of theme options to display in the dropdown
|
|
406
|
+
*
|
|
407
|
+
* Each option includes a `themeMode` which corresponds to a theme mode in the DfThemeService, and an `icon` which is a FontAwesome class name for the icon to display next to the option.
|
|
408
|
+
*/
|
|
409
|
+
readonly themeOptions: _angular_core.InputSignal<{
|
|
410
|
+
themeMode: string;
|
|
411
|
+
icon: string;
|
|
412
|
+
}[]>;
|
|
413
|
+
/**
|
|
414
|
+
* The appearance of the TopNav button, which will determine its color. It can be either 'primary' or 'neutral'.
|
|
415
|
+
*/
|
|
416
|
+
readonly appearance: _angular_core.InputSignal<"primary" | "neutral">;
|
|
417
|
+
protected readonly mapThemeToIcon: _angular_core.Signal<Map<string, string>>;
|
|
418
|
+
protected readonly toggleId: string;
|
|
419
|
+
protected readonly content: _angular_core.Signal<TemplateRef<unknown>>;
|
|
420
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DfTopNavQuickActionThemePicker, never>;
|
|
421
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DfTopNavQuickActionThemePicker, "df-topnav-quick-action-theme-picker", never, { "themeOptions": { "alias": "themeOptions"; "required": true; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* The environment banner component, used to display a banner at the top of the page indicating the current environment (e.g., development, staging, production).
|
|
426
|
+
*
|
|
427
|
+
* See {@link https://design-factory.amadeus.net/components/topnav/examples#environment-banner|Design Factory example}
|
|
428
|
+
* @since 21.1
|
|
429
|
+
*/
|
|
430
|
+
declare class DfEnvBanner {
|
|
431
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DfEnvBanner, never>;
|
|
432
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DfEnvBanner, "df-env-banner", never, {}, {}, never, ["*"], true, never>;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
export { DfAppContainer, DfEnvBanner, DfTopNav, DfTopNavBrand, DfTopNavBrandLinkContent, DfTopNavNavigation, DfTopNavNavigationItem, DfTopNavNavigationLink, DfTopNavQuickAction, DfTopNavQuickActionButton, DfTopNavQuickActionButtonContent, DfTopNavQuickActionButtonIcon, DfTopNavQuickActionInDrawer, DfTopNavQuickActionInTopNav, DfTopNavQuickActionSearch, DfTopNavQuickActionSearchInput, DfTopNavQuickActionThemePicker, DfTopNavQuickActions };
|