@design-factory/design-factory 19.1.2 → 20.0.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.
Files changed (162) hide show
  1. package/design-factory-initial-branding.css +1 -1
  2. package/design-factory.css +2 -2
  3. package/fesm2022/design-factory.mjs +402 -273
  4. package/fesm2022/design-factory.mjs.map +1 -1
  5. package/index.d.ts +1883 -2
  6. package/package.json +14 -16
  7. package/schematics/migrations/20_0_0/navbar-toggler-logo-svg/index.d.ts +7 -0
  8. package/schematics/migrations/20_0_0/navbar-toggler-logo-svg/index.js +47 -0
  9. package/schematics/migrations/migration.json +6 -0
  10. package/styles/scss/_common.scss +1 -1
  11. package/styles/scss/_common.variables.scss +2 -1
  12. package/styles/scss/agnosui/_variables.scss +1 -1
  13. package/styles/scss/bootstrap/_variables.scss +13 -6
  14. package/styles/scss/components/accordion/_accordion.scss +5 -1
  15. package/styles/scss/components/alert/_alert.scss +6 -1
  16. package/styles/scss/components/badge/_badge.mixins.scss +2 -0
  17. package/styles/scss/components/badge/_badge.scss +157 -25
  18. package/styles/scss/components/breadcrumbs/_breadcrumbs.scss +8 -8
  19. package/styles/scss/components/breadcrumbs/_breadcrumbs.variables.scss +0 -2
  20. package/styles/scss/components/button/_button.scss +376 -59
  21. package/styles/scss/components/button/_button.variables.scss +1 -3
  22. package/styles/scss/components/checkbox/_checkbox.scss +11 -4
  23. package/styles/scss/components/dropdown/_dropdown.scss +3 -1
  24. package/styles/scss/components/dropdown/_dropdown.variables.scss +1 -0
  25. package/styles/scss/components/fieldset/_fieldset.scss +2 -2
  26. package/styles/scss/components/fieldset/_fieldset.variables.scss +1 -1
  27. package/styles/scss/components/fonts/_fonts-family.scss +8 -8
  28. package/styles/scss/components/fonts/multi-lang/_arabic.mixins.scss +5 -1
  29. package/styles/scss/components/fonts/multi-lang/_chinese.mixins.scss +13 -4
  30. package/styles/scss/components/fonts/multi-lang/_georgian.mixins.scss +5 -1
  31. package/styles/scss/components/fonts/multi-lang/_hebrew.mixins.scss +5 -1
  32. package/styles/scss/components/fonts/multi-lang/_japanese.mixins.scss +15 -5
  33. package/styles/scss/components/fonts/multi-lang/_korean.mixins.scss +12 -4
  34. package/styles/scss/components/footer/_footer.mixins.scss +36 -0
  35. package/styles/scss/components/footer/_footer.scss +49 -15
  36. package/styles/scss/components/footer/_footer.variables.scss +0 -1
  37. package/styles/scss/components/form/_form.scss +31 -1
  38. package/styles/scss/components/link/_link.mixins.scss +72 -75
  39. package/styles/scss/components/link/_link.scss +26 -32
  40. package/styles/scss/components/link/_link.variables.scss +3 -0
  41. package/styles/scss/components/list-group/_list-group.scss +30 -5
  42. package/styles/scss/components/list-group/_list-group.variables.scss +6 -2
  43. package/styles/scss/components/media/_media.scss +8 -1
  44. package/styles/scss/components/media/_media.variables.scss +2 -0
  45. package/styles/scss/components/navbar/_navbar.mixins.scss +55 -0
  46. package/styles/scss/components/navbar/_navbar.scss +180 -71
  47. package/styles/scss/components/navbar/_navbar.variables.scss +42 -13
  48. package/styles/scss/components/pagination/_pagination.scss +46 -2
  49. package/styles/scss/components/pagination/_pagination.variables.scss +3 -0
  50. package/styles/scss/components/popover/_popover.mixin.scss +1 -1
  51. package/styles/scss/components/popover/_popover.scss +1 -1
  52. package/styles/scss/components/popover/_popover.variables.scss +4 -0
  53. package/styles/scss/components/progressbar/_progressbar.scss +11 -0
  54. package/styles/scss/components/progressbar/_progressbar.variables.scss +5 -0
  55. package/styles/scss/components/radio/_radio.scss +11 -4
  56. package/styles/scss/components/radio/_radio.variables.scss +1 -0
  57. package/styles/scss/components/rating/_rating.scss +3 -1
  58. package/styles/scss/components/scrollspy/_scrollspy.scss +7 -0
  59. package/styles/scss/components/select/_select.mixin.scss +34 -0
  60. package/styles/scss/components/select/_select.scss +5 -19
  61. package/styles/scss/components/select/_select.variables.scss +2 -0
  62. package/styles/scss/components/speechbubble/_speechbubble.scss +19 -0
  63. package/styles/scss/components/speechbubble/_speechbubble.variables.scss +6 -0
  64. package/styles/scss/components/spinner/_spinner.scss +19 -0
  65. package/styles/scss/components/spinner/_spinner.variables.scss +6 -0
  66. package/styles/scss/components/stepper/_stepper.scss +29 -3
  67. package/styles/scss/components/stepper/_stepper.variables.scss +10 -1
  68. package/styles/scss/components/table/_advancedtables.scss +9 -5
  69. package/styles/scss/components/table/_table.scss +6 -0
  70. package/styles/scss/components/table/_table.variables.scss +3 -0
  71. package/styles/scss/components/tabs/_tabs.scss +7 -0
  72. package/styles/scss/components/toast/_toast.scss +31 -9
  73. package/styles/scss/components/tooltip/_tooltip.scss +7 -0
  74. package/styles/scss/themes/brand2023/_variables.scss +368 -447
  75. package/styles/scss/themes/brand2023/tokens/_figma.gen.scss +3028 -0
  76. package/styles/scss/themes/brand2023/tokens/_mapping.gen.scss +898 -0
  77. package/styles/scss/utilities/_common.utilities.scss +49 -1
  78. package/environment.d.ts +0 -4
  79. package/lib/angular/accessibility/accessibility.module.d.ts +0 -10
  80. package/lib/angular/accessibility/components/skip-links-container/skip-links-container.component.d.ts +0 -7
  81. package/lib/angular/accessibility/directives/skip-link.directive.d.ts +0 -9
  82. package/lib/angular/alert/alert.module.d.ts +0 -8
  83. package/lib/angular/animation/ngbTransition.d.ts +0 -16
  84. package/lib/angular/animation/util.d.ts +0 -14
  85. package/lib/angular/card/card-advanced.module.d.ts +0 -8
  86. package/lib/angular/card/manage-card-selection.directive.d.ts +0 -13
  87. package/lib/angular/datepicker/datepicker-keyboard-nav.service.d.ts +0 -7
  88. package/lib/angular/datepicker/datepicker-range.directive.d.ts +0 -30
  89. package/lib/angular/datepicker/datepicker-range.service.d.ts +0 -32
  90. package/lib/angular/datepicker/datepicker.module.d.ts +0 -10
  91. package/lib/angular/df.module.d.ts +0 -26
  92. package/lib/angular/footer/footer.module.d.ts +0 -8
  93. package/lib/angular/icon/amadeus-icon.d.ts +0 -5
  94. package/lib/angular/icon/icon.module.d.ts +0 -8
  95. package/lib/angular/icon/insert/insert-icon.directive.d.ts +0 -12
  96. package/lib/angular/icon/insert/insert-icon.module.d.ts +0 -8
  97. package/lib/angular/inputs/click/trigger-click.directive.d.ts +0 -9
  98. package/lib/angular/inputs/icon/inputicon.directive.d.ts +0 -29
  99. package/lib/angular/inputs/input-advanced.module.d.ts +0 -10
  100. package/lib/angular/mediaqueries/ifMedia.directive.d.ts +0 -25
  101. package/lib/angular/mediaqueries/media.module.d.ts +0 -8
  102. package/lib/angular/mediaqueries/media.service.d.ts +0 -24
  103. package/lib/angular/mediaqueries/mediaUtils.service.d.ts +0 -75
  104. package/lib/angular/modal/modal.service.d.ts +0 -17
  105. package/lib/angular/popover/config/popover.config.d.ts +0 -7
  106. package/lib/angular/popover/popover.module.d.ts +0 -7
  107. package/lib/angular/progressbar/progressbar.component.d.ts +0 -61
  108. package/lib/angular/progressbar/progressbar.module.d.ts +0 -9
  109. package/lib/angular/progressindicator/default/default-spinner.component.d.ts +0 -8
  110. package/lib/angular/progressindicator/progressindicator-backdrop.component.d.ts +0 -8
  111. package/lib/angular/progressindicator/progressindicator-config.d.ts +0 -54
  112. package/lib/angular/progressindicator/progressindicator-container.component.d.ts +0 -11
  113. package/lib/angular/progressindicator/progressindicator-ref.d.ts +0 -9
  114. package/lib/angular/progressindicator/progressindicator.directive.d.ts +0 -16
  115. package/lib/angular/progressindicator/progressindicator.module.d.ts +0 -15
  116. package/lib/angular/progressindicator/progressindicator.service.d.ts +0 -33
  117. package/lib/angular/right-to-left/directionDetection.service.d.ts +0 -12
  118. package/lib/angular/selects/events/manage-badge-events.directive.d.ts +0 -15
  119. package/lib/angular/selects/nav/manage-nav-select.directive.d.ts +0 -20
  120. package/lib/angular/selects/option-highlight.directive.d.ts +0 -14
  121. package/lib/angular/selects/select.model.d.ts +0 -1
  122. package/lib/angular/selects/select.module.d.ts +0 -13
  123. package/lib/angular/sidenav/dfSideNavAnimation.d.ts +0 -7
  124. package/lib/angular/sidenav/dfSideNavCollapse.d.ts +0 -46
  125. package/lib/angular/sidenav/dfSideNavCollapse.module.d.ts +0 -9
  126. package/lib/angular/sidenav/dfSideNavCollapse.service.d.ts +0 -24
  127. package/lib/angular/sidenav/dfSideNavCollapseConfig.d.ts +0 -17
  128. package/lib/angular/sidenav/excludeTrap.directive.d.ts +0 -30
  129. package/lib/angular/sidenav/manage-sidenav.directive.d.ts +0 -10
  130. package/lib/angular/sidenav/sidenav-config.d.ts +0 -17
  131. package/lib/angular/sidenav/sidenav.component.d.ts +0 -43
  132. package/lib/angular/sidenav/sidenav.module.d.ts +0 -14
  133. package/lib/angular/sidenav/sidenav.service.d.ts +0 -180
  134. package/lib/angular/sidenav/sidenavlist.component.d.ts +0 -25
  135. package/lib/angular/slider/direction/sliderdirection.directive.d.ts +0 -13
  136. package/lib/angular/slider/lib/change-context.d.ts +0 -6
  137. package/lib/angular/slider/lib/compatibility-helper.d.ts +0 -7
  138. package/lib/angular/slider/lib/event-listener-helper.d.ts +0 -13
  139. package/lib/angular/slider/lib/event-listener.d.ts +0 -7
  140. package/lib/angular/slider/lib/math-helper.d.ts +0 -6
  141. package/lib/angular/slider/lib/options.d.ts +0 -241
  142. package/lib/angular/slider/lib/pointer-type.d.ts +0 -7
  143. package/lib/angular/slider/lib/slider-element.directive.d.ts +0 -51
  144. package/lib/angular/slider/lib/slider-handle.directive.d.ts +0 -22
  145. package/lib/angular/slider/lib/slider-label.directive.d.ts +0 -14
  146. package/lib/angular/slider/lib/slider.component.d.ts +0 -193
  147. package/lib/angular/slider/lib/tooltip-wrapper.component.d.ts +0 -13
  148. package/lib/angular/slider/lib/value-helper.d.ts +0 -13
  149. package/lib/angular/slider/slider.module.d.ts +0 -16
  150. package/lib/angular/stepper/stepper.component.d.ts +0 -30
  151. package/lib/angular/stepper/stepper.directive.d.ts +0 -37
  152. package/lib/angular/stepper/stepper.module.d.ts +0 -8
  153. package/lib/angular/stepper/stepper.service.d.ts +0 -132
  154. package/lib/angular/toast/toast.module.d.ts +0 -8
  155. package/lib/angular/tooltip/tooltip.module.d.ts +0 -9
  156. package/lib/angular/tooltip/truncate/tooltipTruncate.directive.d.ts +0 -19
  157. package/lib/angular/utils/html-element-helper.d.ts +0 -15
  158. package/lib/angular/utils/scrollbar.service.d.ts +0 -46
  159. package/lib/angular/utils/titleTruncate.directive.d.ts +0 -15
  160. package/lib/angular/waves-of-progress/waves.directive.d.ts +0 -36
  161. package/lib/angular/waves-of-progress/waves.module.d.ts +0 -7
  162. package/lib/index.d.ts +0 -70
package/index.d.ts CHANGED
@@ -1,4 +1,1885 @@
1
+ import * as i0 from '@angular/core';
2
+ import { AfterViewInit, ElementRef, Renderer2, OnInit, OnDestroy, DoCheck, RendererFactory2, ComponentRef, EmbeddedViewRef, TemplateRef, Type, ComponentFactoryResolver, ApplicationRef, Injector, OnChanges, EventEmitter, ChangeDetectorRef, NgZone, SimpleChanges, AfterViewChecked, AfterContentInit, InjectionToken } from '@angular/core';
3
+ import * as i2 from '@ng-bootstrap/ng-bootstrap';
4
+ import { NgbDate, NgbDropdown, NgbDatepicker, NgbCalendar, NgbDateParserFormatter, NgbModal, NgbModalOptions, NgbModalRef, NgbPopoverConfig, NgbConfig } from '@ng-bootstrap/ng-bootstrap';
5
+ import { Observable } from 'rxjs';
6
+ import { ControlValueAccessor } from '@angular/forms';
7
+ import * as i4 from '@ng-select/ng-select';
8
+ import { NgSelectComponent } from '@ng-select/ng-select';
9
+
10
+ declare class SkipLinkDirective {
11
+ readonly inFocus: i0.WritableSignal<boolean>;
12
+ private readonly element;
13
+ private readonly document;
14
+ focusOnTarget(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkipLinkDirective, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SkipLinkDirective, "[dfSkipLink]", never, {}, {}, never, never, true, never>;
17
+ }
18
+
19
+ declare class SkipLinksContainerComponent {
20
+ private readonly links;
21
+ readonly inFocus: i0.Signal<boolean>;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkipLinksContainerComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkipLinksContainerComponent, "df-skip-links-container", never, {}, {}, ["links"], ["*"], true, never>;
24
+ }
25
+
26
+ declare class DfAccessibilityModule {
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfAccessibilityModule, never>;
28
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfAccessibilityModule, never, [typeof SkipLinkDirective, typeof SkipLinksContainerComponent], [typeof SkipLinkDirective, typeof SkipLinksContainerComponent]>;
29
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfAccessibilityModule>;
30
+ }
31
+
32
+ declare class DfInsertIconDirective implements AfterViewInit {
33
+ private readonly el;
34
+ private readonly renderer;
35
+ private readonly supportedCmps;
36
+ constructor(el: ElementRef, renderer: Renderer2);
37
+ ngAfterViewInit(): void;
38
+ getIconClassFromClasses(cssClasses: DOMTokenList): string;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfInsertIconDirective, never>;
40
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfInsertIconDirective, "ngb-alert[dfInsertAlertIcon],ngb-toast[dfInsertToastIcon]", never, {}, {}, never, never, true, never>;
41
+ }
42
+
43
+ declare class DfInsertIconModule {
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfInsertIconModule, never>;
45
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfInsertIconModule, never, [typeof DfInsertIconDirective], [typeof DfInsertIconDirective]>;
46
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfInsertIconModule>;
47
+ }
48
+
49
+ declare class DfToastModule {
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfToastModule, never>;
51
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfToastModule, never, [typeof DfInsertIconModule], [typeof i2.NgbToastModule, typeof DfInsertIconModule]>;
52
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfToastModule>;
53
+ }
54
+
55
+ declare class DfAlertModule {
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfAlertModule, never>;
57
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfAlertModule, never, [typeof DfInsertIconModule], [typeof i2.NgbAlertModule, typeof DfInsertIconModule]>;
58
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfAlertModule>;
59
+ }
60
+
1
61
  /**
2
- * Public API Surface of design-factory
62
+ * My dfDatepickerRange directive
3
63
  */
4
- export * from './lib/index';
64
+ declare class DfDatepickerRangeDirective implements OnInit, OnDestroy, DoCheck, AfterViewInit {
65
+ private inputsElements;
66
+ private isDisabled;
67
+ private readonly siblingsNode;
68
+ private readonly removeListener;
69
+ private focusState;
70
+ private direction?;
71
+ private readonly renderer;
72
+ readonly el: ElementRef<any>;
73
+ private readonly dfDirectionServ;
74
+ private readonly platformId;
75
+ ngOnInit(): void;
76
+ initInput(el: HTMLInputElement, index: number): void;
77
+ removeFocus(): void;
78
+ ngAfterViewInit(): void;
79
+ /**
80
+ * You need to manually update the direction or update the icon
81
+ * if the direction (rtl / ltr) is changing dynamically
82
+ */
83
+ updateDirection(): void;
84
+ ngDoCheck(): void;
85
+ ngOnDestroy(): void;
86
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfDatepickerRangeDirective, never>;
87
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfDatepickerRangeDirective, "[dfDatepickerRange]", ["dfDatepickerRange"], {}, {}, never, never, true, never>;
88
+ }
89
+
90
+ declare class DfTriggerClickDirective {
91
+ private readonly elementRef;
92
+ constructor(elementRef: ElementRef);
93
+ triggerClick(event: KeyboardEvent | MouseEvent): void;
94
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfTriggerClickDirective, never>;
95
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfTriggerClickDirective, "[dfTriggerClick]", never, {}, {}, never, never, true, never>;
96
+ }
97
+
98
+ type DfDirection = 'append' | 'prepend';
99
+ /**
100
+ * dfInputIcon directive
101
+ * @deprecated `DfInputIconDirective` is deprecated and will be removed in DF 21, in favor of pure css.
102
+ * To migrate and keep the same behavior, simply add the class `df-input-withicon` to the input element this directive was used on and remove the directive.
103
+ */
104
+ declare class DfInputIconDirective implements OnInit, DoCheck, OnDestroy {
105
+ readonly dfInputIcon: i0.InputSignal<DfDirection[]>;
106
+ private button;
107
+ private removeListener?;
108
+ private isDisabled;
109
+ private readonly siblingsNode;
110
+ private readonly renderer;
111
+ private readonly el;
112
+ ngDoCheck(): void;
113
+ ngOnInit(): void;
114
+ /**
115
+ * onBlur catch blur event to set the focused to false
116
+ */
117
+ onBlur(): void;
118
+ onFocus(): void;
119
+ onTab(e: KeyboardEvent): void;
120
+ ngOnDestroy(): void;
121
+ private initButtonHandler;
122
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfInputIconDirective, never>;
123
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfInputIconDirective, "[dfInputIcon]", ["dfInputIcon"], { "dfInputIcon": { "alias": "dfInputIcon"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
124
+ }
125
+
126
+ declare class DfAdvancedInputModule {
127
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfAdvancedInputModule, never>;
128
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfAdvancedInputModule, never, [typeof DfTriggerClickDirective, typeof DfInputIconDirective], [typeof DfTriggerClickDirective, typeof DfInputIconDirective]>;
129
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfAdvancedInputModule>;
130
+ }
131
+
132
+ declare class DfDatePickerModule {
133
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfDatePickerModule, never>;
134
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfDatePickerModule, never, [typeof i2.NgbDropdownModule, typeof DfDatepickerRangeDirective], [typeof i2.NgbDatepickerModule, typeof DfAdvancedInputModule, typeof DfDatepickerRangeDirective, typeof i2.NgbDropdownModule]>;
135
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfDatePickerModule>;
136
+ }
137
+
138
+ declare class DfDatepickerRangeService {
139
+ private readonly calendar;
140
+ private readonly formatter;
141
+ fromDate: NgbDate | null;
142
+ toDate: NgbDate | null;
143
+ hoveredDate: NgbDate | null;
144
+ fromDateAsStr: string;
145
+ toDateAsStr: string;
146
+ startDate: NgbDate | null;
147
+ getFocusBack: HTMLInputElement | HTMLButtonElement | null;
148
+ dropDown?: NgbDropdown;
149
+ isClosingOnToDate: boolean;
150
+ datepicker: NgbDatepicker | null;
151
+ constructor(calendar: NgbCalendar, formatter: NgbDateParserFormatter);
152
+ onDateSelection(date: NgbDate): void;
153
+ setFocus(): void;
154
+ returnFocus(): void;
155
+ openChange(event: boolean): void;
156
+ toggle(dropDown: NgbDropdown, element?: HTMLInputElement | HTMLButtonElement | null, datepicker?: NgbDatepicker | null): void;
157
+ isSelected(date: NgbDate): boolean;
158
+ isFrom(date: NgbDate): boolean;
159
+ isTo(date: NgbDate): boolean;
160
+ isBetween(date: NgbDate): boolean;
161
+ effectiveToDate(): NgbDate | null | undefined;
162
+ parseInput(previous: NgbDate | null, typed: string): NgbDate | null;
163
+ updateFrom(typed: string): void;
164
+ updateTo(typed: string): void;
165
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfDatepickerRangeService, never>;
166
+ static ɵprov: i0.ɵɵInjectableDeclaration<DfDatepickerRangeService>;
167
+ }
168
+
169
+ /**
170
+ * Directive using the matchMedia JS feature (https://developer.mozilla.org/fr/docs/Web/API/Window/matchMedia)
171
+ * to be able to add or remove an element like ngIf is doing.
172
+ * Import DfMediaModule from DF to use all media elements provided
173
+ */
174
+ declare class DfIfMediaDirective implements OnDestroy {
175
+ private _viewInstance;
176
+ /**
177
+ * Input of the directive
178
+ * @param mediaOrBreakpoints either media query string/Array of string or in case of BS usage a
179
+ * string/Array of string of the breakpoints name (sm...).
180
+ */
181
+ readonly dfIfMedia: i0.InputSignal<string | string[]>;
182
+ private readonly _viewContainerRef;
183
+ private readonly _template;
184
+ private readonly _mediaService;
185
+ private _subscription;
186
+ constructor();
187
+ ngOnDestroy(): void;
188
+ private update;
189
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfIfMediaDirective, never>;
190
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfIfMediaDirective, "[dfIfMedia]", never, { "dfIfMedia": { "alias": "dfIfMedia"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
191
+ }
192
+
193
+ declare class DfMediaModule {
194
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfMediaModule, never>;
195
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfMediaModule, never, [typeof DfIfMediaDirective], [typeof DfIfMediaDirective]>;
196
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfMediaModule>;
197
+ }
198
+
199
+ declare class DfFooterModule {
200
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfFooterModule, never>;
201
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfFooterModule, never, [typeof DfMediaModule, typeof i2.NgbAccordionModule], [typeof DfMediaModule, typeof i2.NgbAccordionModule]>;
202
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfFooterModule>;
203
+ }
204
+
205
+ declare class DfAmadeusIconComponent {
206
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfAmadeusIconComponent, never>;
207
+ static ɵcmp: i0.ɵɵComponentDeclaration<DfAmadeusIconComponent, "df-amadeus-icon", never, {}, {}, never, never, true, never>;
208
+ }
209
+
210
+ declare class DfIconModule {
211
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfIconModule, never>;
212
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfIconModule, never, [typeof DfAmadeusIconComponent], [typeof DfAmadeusIconComponent]>;
213
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfIconModule>;
214
+ }
215
+
216
+ /**
217
+ * @deprecated `DfModalService` is deprecated, use `NgbModal` from ng-bootstrap instead.
218
+ * Please note that `NgbModal` adds 'modal-open' class to the body while DfModalService adds 'df-modal-open' class. Both classes include the same styles, but you may need to update your stylesheets if you were overriding 'df-modal-open' in your application.
219
+ */
220
+ declare class DfModalService {
221
+ private modalService;
222
+ private rendererFactory;
223
+ private renderer;
224
+ constructor(modalService: NgbModal, rendererFactory: RendererFactory2);
225
+ open(content: any, options?: NgbModalOptions): NgbModalRef;
226
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfModalService, never>;
227
+ static ɵprov: i0.ɵɵInjectableDeclaration<DfModalService>;
228
+ }
229
+
230
+ declare class DfPopoverModule {
231
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfPopoverModule, never>;
232
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfPopoverModule, never, never, [typeof i2.NgbPopoverModule]>;
233
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfPopoverModule>;
234
+ }
235
+
236
+ declare class DfPopoverConfig extends NgbPopoverConfig {
237
+ autoClose: "outside";
238
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfPopoverConfig, never>;
239
+ static ɵprov: i0.ɵɵInjectableDeclaration<DfPopoverConfig>;
240
+ }
241
+
242
+ declare class DfProgressbarComponent implements OnInit, OnDestroy {
243
+ readonly PERCENTAGE_PLACEHOLDER = "%PERCENTAGE%";
244
+ readonly FADING_DELAY_MS = 1500;
245
+ readonly infiniteAnimation: i0.InputSignalWithTransform<boolean, unknown>;
246
+ /**
247
+ * Current value of the progressBar. If 'maxValue' is not defined, value represents a percentage. Otherwise, progress
248
+ * bar percentage value will be computed based on the ratio of 'value/maxValue'
249
+ */
250
+ readonly value: i0.InputSignalWithTransform<number, unknown>;
251
+ readonly maxValue: i0.InputSignalWithTransform<number, unknown>;
252
+ readonly innerValue: i0.WritableSignal<number>;
253
+ readonly percentageValue: i0.Signal<number>;
254
+ readonly percentageValueChange: i0.OutputEmitterRef<number>;
255
+ /**
256
+ * Observable used to trigger the start of the loading.
257
+ * When emitting, progressbar will start to randomly increment toward 100%.
258
+ */
259
+ readonly start$: i0.InputSignal<Observable<any> | undefined>;
260
+ /**
261
+ * Observable used to trigger the end of the loading.
262
+ * When emitting, it forces the progressbar to reach 100%.
263
+ */
264
+ readonly end$: i0.InputSignal<Observable<any> | undefined>;
265
+ /**
266
+ * Id of the label used to describe the progress bar.
267
+ * It is used in priority compared to the ariaLabel.
268
+ */
269
+ readonly ariaLabelledBy: i0.InputSignal<string | undefined>;
270
+ /**
271
+ * Aria label used to describe the progress bar if no ariaLabelledBy is specified.
272
+ */
273
+ readonly ariaLabel: i0.InputSignal<string | undefined>;
274
+ readonly text: i0.InputSignal<string>;
275
+ readonly computedText: i0.Signal<string>;
276
+ readonly displayProgressBar: i0.WritableSignal<boolean>;
277
+ private startSubscription?;
278
+ private endSubscription?;
279
+ private intervalId;
280
+ private animationOngoing;
281
+ constructor();
282
+ ngOnInit(): void;
283
+ ngOnDestroy(): void;
284
+ /**
285
+ * Randomly increase the percentage but making sure that it can never reach 100%
286
+ */
287
+ private increasePercentage;
288
+ /**
289
+ * Clears the 'setInterval' function so that the automatic increase of the progressbar stops
290
+ */
291
+ private stopAutomaticIncrement;
292
+ /**
293
+ * Periodically calls a function which increments the value of the progressbar
294
+ */
295
+ private startAutomaticIncrement;
296
+ private resetProgressBarValues;
297
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfProgressbarComponent, never>;
298
+ static ɵcmp: i0.ɵɵComponentDeclaration<DfProgressbarComponent, "df-progressbar", never, { "infiniteAnimation": { "alias": "infiniteAnimation"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "start$": { "alias": "start$"; "required": false; "isSignal": true; }; "end$": { "alias": "end$"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "percentageValueChange": "percentageValueChange"; }, never, never, true, never>;
299
+ }
300
+
301
+ declare class DfProgressbarModule {
302
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfProgressbarModule, never>;
303
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfProgressbarModule, never, [typeof DfProgressbarComponent], [typeof DfProgressbarComponent, typeof i2.NgbProgressbarModule]>;
304
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfProgressbarModule>;
305
+ }
306
+
307
+ declare class DfDefaultSpinnerComponent {
308
+ readonly isGlobalSpinner: i0.InputSignalWithTransform<boolean, unknown>;
309
+ readonly contentClass: i0.InputSignal<string>;
310
+ readonly ariaLabel: i0.InputSignal<string | undefined>;
311
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfDefaultSpinnerComponent, never>;
312
+ static ɵcmp: i0.ɵɵComponentDeclaration<DfDefaultSpinnerComponent, "df-default-spinner", never, { "isGlobalSpinner": { "alias": "isGlobalSpinner"; "required": false; "isSignal": true; }; "contentClass": { "alias": "contentClass"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
313
+ }
314
+
315
+ declare class DfProgressIndicatorBackdropComponent {
316
+ readonly backdropClass: i0.InputSignal<string | undefined>;
317
+ readonly isGlobalBackdrop: i0.InputSignal<boolean>;
318
+ readonly classes: i0.Signal<string>;
319
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfProgressIndicatorBackdropComponent, never>;
320
+ static ɵcmp: i0.ɵɵComponentDeclaration<DfProgressIndicatorBackdropComponent, "df-progressindicator-backdrop", never, { "backdropClass": { "alias": "backdropClass"; "required": false; "isSignal": true; }; "isGlobalBackdrop": { "alias": "isGlobalBackdrop"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
321
+ }
322
+
323
+ interface DfProgressIndicatorOptions {
324
+ /**
325
+ * If `true`, the backdrop element will be created for a given progress indicator.
326
+ * Default value is `true`.
327
+ */
328
+ backdrop?: boolean;
329
+ /**
330
+ * A selector specifying the progress indicator elements should be appended to.
331
+ * If not specified, will be `body`.
332
+ */
333
+ container?: string | HTMLElement;
334
+ /**
335
+ * A custom class to append to the progress indicator container.
336
+ */
337
+ containerClass?: string;
338
+ /**
339
+ * Specify the position of the content in the container.
340
+ */
341
+ position?: DfProgressIndicatorContentPosition;
342
+ /**
343
+ * A custom class to append to the progress indicator backdrop.
344
+ */
345
+ backdropClass?: string;
346
+ }
347
+ declare enum DfProgressIndicatorContentType {
348
+ SPINNER = "spinner",
349
+ PROGRESSBAR = "progressbar"
350
+ }
351
+ declare class DfProgressIndicatorContentSpinner {
352
+ readonly type = DfProgressIndicatorContentType.SPINNER;
353
+ spinnerInput?: {
354
+ contentClass?: string;
355
+ ariaLabel?: string;
356
+ };
357
+ constructor(spinnerInput?: {
358
+ contentClass?: string;
359
+ ariaLabel?: string;
360
+ });
361
+ }
362
+ declare class DfProgressIndicatorContentProgressBar {
363
+ readonly type = DfProgressIndicatorContentType.PROGRESSBAR;
364
+ progressBarInput?: {
365
+ ariaLabel: string;
366
+ };
367
+ position: DfProgressIndicatorContentPosition;
368
+ constructor(progressBarInput?: {
369
+ ariaLabel: string;
370
+ }, position?: DfProgressIndicatorContentPosition);
371
+ }
372
+ declare enum DfProgressIndicatorContentPosition {
373
+ TOP = "top",
374
+ BOTTOM = "bottom",
375
+ CENTERED = "centered"
376
+ }
377
+
378
+ declare class DfProgressIndicatorContainerComponent {
379
+ private readonly DEFAULT_CLASS_POSITION;
380
+ readonly containerClass: i0.InputSignal<string | undefined>;
381
+ readonly position: i0.InputSignal<DfProgressIndicatorContentPosition | undefined>;
382
+ readonly positionClass: i0.Signal<"df-progressindicator-centered" | "df-progressindicator-top" | "df-progressindicator-bottom">;
383
+ readonly classes: i0.Signal<string>;
384
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfProgressIndicatorContainerComponent, never>;
385
+ static ɵcmp: i0.ɵɵComponentDeclaration<DfProgressIndicatorContainerComponent, "df-progressindicator-container", never, { "containerClass": { "alias": "containerClass"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
386
+ }
387
+
388
+ declare class DfProgressIndicatorRef {
389
+ containerRef: ComponentRef<DfProgressIndicatorContainerComponent>;
390
+ contentRef: ComponentRef<unknown> | EmbeddedViewRef<unknown>;
391
+ backdropRef?: ComponentRef<DfProgressIndicatorBackdropComponent> | undefined;
392
+ constructor(containerRef: ComponentRef<DfProgressIndicatorContainerComponent>, contentRef: ComponentRef<unknown> | EmbeddedViewRef<unknown>, backdropRef?: ComponentRef<DfProgressIndicatorBackdropComponent> | undefined);
393
+ }
394
+
395
+ /** Type for the callback used to revert the scrollbar compensation. */
396
+ type CompensationReverter = () => void;
397
+ /**
398
+ * Utility to handle the scrollbar.
399
+ *
400
+ * It allows to compensate the lack of a vertical scrollbar by adding an
401
+ * equivalent padding on the right of the body, and to remove this compensation.
402
+ *
403
+ * It is a copy of https://github.com/ng-bootstrap/ng-bootstrap/blob/master/src/util/scrollbar.ts
404
+ */
405
+ declare class ScrollBar {
406
+ private readonly _document;
407
+ constructor(_document: any);
408
+ /**
409
+ * To be called right before a potential vertical scrollbar would be removed:
410
+ *
411
+ * - if there was a scrollbar, adds some compensation padding to the body
412
+ * to keep the same layout as when the scrollbar is there
413
+ * - if there was none, there is nothing to do
414
+ *
415
+ * @return a callback used to revert the compensation (noop if there was none,
416
+ * otherwise a function removing the padding)
417
+ */
418
+ compensate(): CompensationReverter;
419
+ /**
420
+ * Adds a padding of the given width on the right of the body.
421
+ *
422
+ * @return a callback used to revert the padding to its previous value
423
+ */
424
+ private _adjustBody;
425
+ /**
426
+ * Tells whether a scrollbar is currently present on the body.
427
+ *
428
+ * @return true if scrollbar is present, false otherwise
429
+ */
430
+ private _isPresent;
431
+ /**
432
+ * Calculates and returns the width of a scrollbar.
433
+ *
434
+ * @return the width of a scrollbar on this page
435
+ */
436
+ private _getWidth;
437
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScrollBar, never>;
438
+ static ɵprov: i0.ɵɵInjectableDeclaration<ScrollBar>;
439
+ }
440
+
441
+ type DfProgressIndicatorContent<T> = undefined | TemplateRef<T> | Type<T> | DfProgressIndicatorContentSpinner | DfProgressIndicatorContentProgressBar;
442
+ declare class DfProgressIndicatorService {
443
+ private readonly document;
444
+ private readonly rendererFactory;
445
+ private readonly componentFactoryResolver;
446
+ private readonly appRef;
447
+ private readonly injector;
448
+ private readonly scrollbar;
449
+ private readonly renderer;
450
+ private readonly BODY_CLASS;
451
+ private readonly containerAttributes;
452
+ private readonly backdropAttributes;
453
+ private readonly defaultSpinnerAttributes;
454
+ private readonly defaultProgressBarAttributes;
455
+ private readonly activeInstances;
456
+ constructor(document: Document, rendererFactory: RendererFactory2, componentFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector, scrollbar: ScrollBar);
457
+ open<T>(content: DfProgressIndicatorContent<T>, options?: DfProgressIndicatorOptions): DfProgressIndicatorRef;
458
+ close(progressIndicatorRef: DfProgressIndicatorRef): void;
459
+ /**
460
+ * Retrieve container according to the desired options.
461
+ */
462
+ private getContainer;
463
+ private getContent;
464
+ private createComponent;
465
+ private applyOptions;
466
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfProgressIndicatorService, never>;
467
+ static ɵprov: i0.ɵɵInjectableDeclaration<DfProgressIndicatorService>;
468
+ }
469
+
470
+ declare class DfProgressIndicatorDirective {
471
+ readonly dfProgressIndicator: i0.InputSignal<boolean>;
472
+ readonly dfProgressIndicatorConfig: i0.InputSignal<{
473
+ content?: DfProgressIndicatorContent<unknown>;
474
+ options: DfProgressIndicatorOptions;
475
+ } | undefined>;
476
+ private readonly elementRef;
477
+ private readonly progressService;
478
+ private progressIndicatorRef;
479
+ constructor();
480
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfProgressIndicatorDirective, never>;
481
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfProgressIndicatorDirective, "[dfProgressIndicator]", never, { "dfProgressIndicator": { "alias": "dfProgressIndicator"; "required": true; "isSignal": true; }; "dfProgressIndicatorConfig": { "alias": "dfProgressIndicatorConfig"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
482
+ }
483
+
484
+ declare class DfProgressIndicatorModule {
485
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfProgressIndicatorModule, never>;
486
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfProgressIndicatorModule, never, [typeof DfDefaultSpinnerComponent, typeof DfProgressbarModule, typeof DfProgressIndicatorBackdropComponent, typeof DfProgressIndicatorContainerComponent, typeof DfProgressIndicatorDirective], [typeof DfProgressbarModule, typeof DfProgressIndicatorContainerComponent, typeof DfProgressIndicatorDirective, typeof DfProgressIndicatorBackdropComponent, typeof DfDefaultSpinnerComponent]>;
487
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfProgressIndicatorModule>;
488
+ }
489
+
490
+ declare enum RightToLeftDirectionEnum {
491
+ LeftToRight = "ltr",
492
+ RightToLeft = "rtl",
493
+ Auto = "auto"
494
+ }
495
+ declare class DfDirectionDetectionService {
496
+ getPageDirection(element: ElementRef): string;
497
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfDirectionDetectionService, never>;
498
+ static ɵprov: i0.ɵɵInjectableDeclaration<DfDirectionDetectionService>;
499
+ }
500
+
501
+ /** Pointer type */
502
+ declare enum PointerType {
503
+ /** Low pointer */
504
+ Min = 0,
505
+ /** High pointer */
506
+ Max = 1
507
+ }
508
+
509
+ /** Label type */
510
+ declare enum LabelType {
511
+ /** Label above low pointer */
512
+ Low = 0,
513
+ /** Label above high pointer */
514
+ High = 1,
515
+ /** Label for minimum slider value */
516
+ Floor = 2,
517
+ /** Label for maximum slider value */
518
+ Ceil = 3,
519
+ /** Label below legend tick */
520
+ TickValue = 4
521
+ }
522
+ /** Function to translate label value into text */
523
+ type TranslateFunction = (value: number, label: LabelType) => string;
524
+ /** Function to combind */
525
+ type CombineLabelsFunction = (minLabel: string, maxLabel: string) => string;
526
+ /** Function to provide legend */
527
+ type GetLegendFunction = (value: number) => string;
528
+ type GetStepLegendFunction = (step: CustomStepDefinition) => string;
529
+ /** Function converting slider value to slider position */
530
+ type ValueToPositionFunction = (val: number, minVal: number, maxVal: number) => number;
531
+ /** Function converting slider position to slider value */
532
+ type PositionToValueFunction = (percent: number, minVal: number, maxVal: number) => number;
533
+ /**
534
+ * Custom step definition
535
+ *
536
+ * This can be used to specify custom values and legend values for slider ticks
537
+ */
538
+ interface CustomStepDefinition {
539
+ /** Value */
540
+ value: number;
541
+ /** Legend (label for the value) */
542
+ legend?: string;
543
+ }
544
+ /** Slider options */
545
+ declare class Options {
546
+ /** Minimum value for a slider.
547
+ Not applicable when using stepsArray. */
548
+ floor?: number;
549
+ /** Maximum value for a slider.
550
+ Not applicable when using stepsArray. */
551
+ ceil?: number;
552
+ /** Step between each value.
553
+ Not applicable when using stepsArray. */
554
+ step?: number;
555
+ /** The minimum range authorized on the slider.
556
+ Applies to range slider only.
557
+ When using stepsArray, expressed as index into stepsArray. */
558
+ minRange?: number;
559
+ /** The maximum range authorized on the slider.
560
+ Applies to range slider only.
561
+ When using stepsArray, expressed as index into stepsArray. */
562
+ maxRange?: number;
563
+ /** Set to true to have a push behavior. When the min handle goes above the max,
564
+ the max is moved as well (and vice-versa). The range between min and max is
565
+ defined by the step option (defaults to 1) and can also be overriden by
566
+ the minRange option. Applies to range slider only. */
567
+ pushRange?: boolean;
568
+ /** The minimum value authorized on the slider.
569
+ When using stepsArray, expressed as index into stepsArray. */
570
+ minLimit?: number;
571
+ /** The maximum value authorized on the slider.
572
+ When using stepsArray, expressed as index into stepsArray. */
573
+ maxLimit?: number;
574
+ /** Custom translate function. Use this if you want to translate values displayed
575
+ on the slider. */
576
+ translate?: TranslateFunction;
577
+ /** Custom function for combining overlapping labels in range slider.
578
+ It takes the min and max values (already translated with translate fuction)
579
+ and should return how these two values should be combined.
580
+ If not provided, the default function will join the two values with
581
+ ' - ' as separator. */
582
+ combineLabels?: CombineLabelsFunction;
583
+ /** Use to display legend under ticks (thus, it needs to be used along with
584
+ showTicks or showTicksValues). The function will be called with each tick
585
+ value and returned content will be displayed under the tick as a legend.
586
+ If the returned value is null, then no legend is displayed under
587
+ the corresponding tick.You can also directly provide the legend values
588
+ in the stepsArray option. */
589
+ getLegend?: GetLegendFunction;
590
+ /** Use to display a custom legend of a stepItem from stepsArray.
591
+ It will be the same as getLegend but for stepsArray. */
592
+ getStepLegend?: GetStepLegendFunction;
593
+ /** If you want to display a slider with non linear/number steps.
594
+ Just pass an array with each slider value and that's it; the floor, ceil and step settings
595
+ of the slider will be computed automatically.
596
+ By default, the value model and valueHigh model values will be the value of the selected item
597
+ in the stepsArray.
598
+ They can also be bound to the index of the selected item by setting the bindIndexForStepsArray
599
+ option to true. */
600
+ stepsArray?: CustomStepDefinition[];
601
+ /** Set to true to bind the index of the selected item to value model and valueHigh model. */
602
+ bindIndexForStepsArray?: boolean;
603
+ /** When set to true and using a range slider, the range can be dragged by the selection bar.
604
+ Applies to range slider only. */
605
+ draggableRange?: boolean;
606
+ /** Same as draggableRange but the slider range can't be changed.
607
+ Applies to range slider only. */
608
+ draggableRangeOnly?: boolean;
609
+ /** Set to true to always show the selection bar before the slider handle. */
610
+ showSelectionBar?: boolean;
611
+ /** Set to true to always show the selection bar after the slider handle. */
612
+ showSelectionBarEnd?: boolean;
613
+ /** Set a number to draw the selection bar between this value and the slider handle.
614
+ When using stepsArray, expressed as index into stepsArray. */
615
+ showSelectionBarFromValue?: number;
616
+ /** Only for range slider. Set to true to visualize in different colour the areas
617
+ on the left/right (top/bottom for vertical range slider) of selection bar between the handles. */
618
+ showOuterSelectionBars?: boolean;
619
+ /** Set to true to hide pointer labels */
620
+ hidePointerLabels?: boolean;
621
+ /** Set to true to hide min / max labels */
622
+ hideLimitLabels?: boolean;
623
+ /** Set to false to disable the auto-hiding behavior of the limit labels. */
624
+ autoHideLimitLabels?: boolean;
625
+ /** Set to true to make the slider read-only. */
626
+ readOnly?: boolean;
627
+ /** Set to true to disable the slider. */
628
+ disabled?: boolean;
629
+ /** Set to true to display a tick for each step of the slider. */
630
+ showTicks?: boolean;
631
+ /** Set to true to display a tick and the step value for each step of the slider.. */
632
+ showTicksValues?: boolean;
633
+ tickStep?: number;
634
+ tickValueStep?: number;
635
+ /** Use to display ticks at specific positions.
636
+ The array contains the index of the ticks that should be displayed.
637
+ For example, [0, 1, 5] will display a tick for the first, second and sixth values. */
638
+ ticksArray?: number[];
639
+ /** Used to display a tooltip when a tick is hovered.
640
+ Set to a function that returns the tooltip content for a given value. */
641
+ ticksTooltip?: (value: number) => string;
642
+ /** Same as ticksTooltip but for ticks values. */
643
+ ticksValuesTooltip?: (value: number) => string;
644
+ /** Set to true to display the slider vertically.
645
+ The slider will take the full height of its parent.
646
+ Changing this value at runtime is not currently supported. */
647
+ vertical?: boolean;
648
+ /** Function that returns the current color of the selection bar.
649
+ If your color won't change, don't use this option but set it through CSS.
650
+ If the returned color depends on a model value (either value or valueHigh),
651
+ you should use the argument passed to the function.
652
+ Indeed, when the function is called, there is no certainty that the model
653
+ has already been updated.*/
654
+ getSelectionBarColor?: (minValue: number, maxValue?: number) => string;
655
+ /** Function that returns the color of a tick. showTicks must be enabled. */
656
+ getTickColor?: (value: number) => string;
657
+ /** Function that returns the current color of a pointer.
658
+ If your color won't change, don't use this option but set it through CSS.
659
+ If the returned color depends on a model value (either value or valueHigh),
660
+ you should use the argument passed to the function.
661
+ Indeed, when the function is called, there is no certainty that the model has already been updated.
662
+ To handle range slider pointers independently, you should evaluate pointerType within the given
663
+ function where "min" stands for value model and "max" for valueHigh model values. */
664
+ getPointerColor?: (value: number, pointerType: PointerType) => string;
665
+ /** Handles are focusable (on click or with tab) and can be modified using the following keyboard controls:
666
+ Left/bottom arrows: -1
667
+ Right/top arrows: +1
668
+ Page-down: -10%
669
+ Page-up: +10%
670
+ Home: minimum value
671
+ End: maximum value
672
+ */
673
+ keyboardSupport?: boolean;
674
+ /** If you display the slider in an element that uses transform: scale(0.5), set the scale value to 2
675
+ so that the slider is rendered properly and the events are handled correctly. */
676
+ scale?: number;
677
+ /** If you display the slider in an element that uses transform: rotate(90deg), set the rotate value to 90
678
+ so that the slider is rendered properly and the events are handled correctly. Value is in degrees. */
679
+ rotate?: number;
680
+ /** Set to true to force the value(s) to be rounded to the step, even when modified from the outside.
681
+ When set to false, if the model values are modified from outside the slider, they are not rounded
682
+ and can be between two steps. */
683
+ enforceStep?: boolean;
684
+ /** Set to true to force the value(s) to be normalised to allowed range (floor to ceil), even when modified from the outside.
685
+ When set to false, if the model values are modified from outside the slider, and they are outside allowed range,
686
+ the slider may be rendered incorrectly. However, setting this to false may be useful if you want to perform custom normalisation. */
687
+ enforceRange?: boolean;
688
+ /** Set to true to force the value(s) to be rounded to the nearest step value, even when modified from the outside.
689
+ When set to false, if the model values are modified from outside the slider, and they are outside allowed range,
690
+ the slider may be rendered incorrectly. However, setting this to false may be useful if you want to perform custom normalisation. */
691
+ enforceStepsArray?: boolean;
692
+ /** Set to true to prevent to user from switching the min and max handles. Applies to range slider only. */
693
+ noSwitching?: boolean;
694
+ /** Set to true to only bind events on slider handles. */
695
+ onlyBindHandles?: boolean;
696
+ /** Set to true to show graphs right to left.
697
+ If vertical is true it will be from top to bottom and left / right arrow functions reversed. */
698
+ rightToLeft?: boolean;
699
+ /** Set to true to reverse keyboard navigation:
700
+ Right/top arrows: -1
701
+ Left/bottom arrows: +1
702
+ Page-up: -10%
703
+ Page-down: +10%
704
+ End: minimum value
705
+ Home: maximum value
706
+ */
707
+ reversedControls?: boolean;
708
+ /** Set to true to keep the slider labels inside the slider bounds. */
709
+ boundPointerLabels?: boolean;
710
+ /** Set to true to use a logarithmic scale to display the slider. */
711
+ logScale?: boolean;
712
+ /** Function that returns the position on the slider for a given value.
713
+ The position must be a percentage between 0 and 1.
714
+ The function should be monotonically increasing or decreasing; otherwise the slider may behave incorrectly. */
715
+ customValueToPosition?: ValueToPositionFunction;
716
+ /** Function that returns the value for a given position on the slider.
717
+ The position is a percentage between 0 and 1.
718
+ The function should be monotonically increasing or decreasing; otherwise the slider may behave incorrectly. */
719
+ customPositionToValue?: PositionToValueFunction;
720
+ /** Precision limit for calculated values.
721
+ Values used in calculations will be rounded to this number of significant digits
722
+ to prevent accumulating small floating-point errors. */
723
+ precisionLimit?: number;
724
+ /** Use to display the selection bar as a gradient.
725
+ The given object must contain from and to properties which are colors. */
726
+ selectionBarGradient?: {
727
+ from: string;
728
+ to: string;
729
+ };
730
+ /** Use to add a label directly to the slider for accessibility. Adds the aria-label attribute. */
731
+ ariaLabel?: string;
732
+ /** Use instead of ariaLabel to reference the id of an element which will be used to label the slider.
733
+ Adds the aria-labelledby attribute. */
734
+ ariaLabelledBy?: string;
735
+ /** Use to add a label directly to the slider range for accessibility. Adds the aria-label attribute. */
736
+ ariaLabelHigh?: string;
737
+ /** Use instead of ariaLabelHigh to reference the id of an element which will be used to label the slider range.
738
+ Adds the aria-labelledby attribute. */
739
+ ariaLabelledByHigh?: string;
740
+ /** Use to increase rendering performance. If the value is not provided, the slider calculates the with/height of the handle */
741
+ handleDimension?: number;
742
+ /** Use to increase rendering performance. If the value is not provided, the slider calculates the with/height of the bar */
743
+ barDimension?: number;
744
+ /** Enable/disable CSS animations */
745
+ animate?: boolean;
746
+ /** Enable/disable CSS animations while moving the slider */
747
+ animateOnMove?: boolean;
748
+ }
749
+
750
+ declare class ChangeContext {
751
+ value?: number;
752
+ highValue?: number;
753
+ pointerType?: PointerType;
754
+ }
755
+
756
+ declare class Tick {
757
+ selected: boolean;
758
+ style: any;
759
+ tooltip?: string;
760
+ tooltipPlacement?: string;
761
+ value?: string;
762
+ valueTooltip?: string;
763
+ valueTooltipPlacement?: string;
764
+ legend?: string;
765
+ }
766
+ /**
767
+ * @deprecated SliderComponent is deprecated. Use {@link https://design-factory.amadeus.net/components/slider/agnosui AgnosUI Slider} instead.
768
+ */
769
+ declare class SliderComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy, ControlValueAccessor {
770
+ private renderer;
771
+ private elementRef;
772
+ private changeDetectionRef;
773
+ private zone;
774
+ class: string;
775
+ value?: number;
776
+ valueChange: EventEmitter<number>;
777
+ highValue?: number;
778
+ highValueChange: EventEmitter<number>;
779
+ options: Options;
780
+ userChangeStart: EventEmitter<ChangeContext>;
781
+ userChange: EventEmitter<ChangeContext>;
782
+ userChangeEnd: EventEmitter<ChangeContext>;
783
+ private manualRefreshSubscription;
784
+ set manualRefresh(manualRefresh: EventEmitter<void>);
785
+ private triggerFocusSubscription;
786
+ set triggerFocus(triggerFocus: EventEmitter<void>);
787
+ get range(): boolean;
788
+ private initHasRun;
789
+ private inputModelChangeSubject;
790
+ private inputModelChangeSubscription?;
791
+ private outputModelChangeSubject;
792
+ private outputModelChangeSubscription?;
793
+ private viewLowValue?;
794
+ private viewHighValue?;
795
+ private viewOptions;
796
+ private handleHalfDimension;
797
+ private maxHandlePosition;
798
+ private currentTrackingPointer?;
799
+ private currentFocusPointer?;
800
+ private firstKeyDown;
801
+ private touchId?;
802
+ private dragging;
803
+ private leftOuterSelectionBarElement?;
804
+ private rightOuterSelectionBarElement?;
805
+ private fullBarElement?;
806
+ private selectionBarElement?;
807
+ private minHandleElement?;
808
+ private maxHandleElement?;
809
+ private floorLabelElement?;
810
+ private ceilLabelElement?;
811
+ private minHandleLabelElement?;
812
+ private maxHandleLabelElement?;
813
+ private combinedLabelElement?;
814
+ private ticksElement?;
815
+ tooltipTemplate: TemplateRef<any>;
816
+ sliderElementVerticalClass: boolean;
817
+ sliderElementAnimateClass: boolean;
818
+ sliderElementWithLegendClass: boolean;
819
+ sliderElementDisabledAttr?: string;
820
+ sliderElementAriaLabel: string;
821
+ barStyle: any;
822
+ minPointerStyle: any;
823
+ maxPointerStyle: any;
824
+ fullBarTransparentClass: boolean;
825
+ selectionBarDraggableClass: boolean;
826
+ ticksUnderValuesClass: boolean;
827
+ get showTicks(): boolean;
828
+ private intermediateTicks;
829
+ ticks: Tick[];
830
+ private eventListenerHelper?;
831
+ private onMoveEventListener?;
832
+ private onEndEventListener?;
833
+ private moving;
834
+ private resizeObserver?;
835
+ private onTouchedCallback?;
836
+ private onChangeCallback?;
837
+ constructor(renderer: Renderer2, elementRef: ElementRef, changeDetectionRef: ChangeDetectorRef, zone: NgZone);
838
+ ngOnInit(): void;
839
+ ngAfterViewInit(): void;
840
+ ngOnChanges(changes: SimpleChanges): void;
841
+ ngOnDestroy(): void;
842
+ writeValue(obj: any): void;
843
+ registerOnChange(onChangeCallback: any): void;
844
+ registerOnTouched(onTouchedCallback: any): void;
845
+ setDisabledState(isDisabled: boolean): void;
846
+ setAriaLabel(ariaLabel: string): void;
847
+ onResize(event: any): void;
848
+ private subscribeInputModelChangeSubject;
849
+ private subscribeOutputModelChangeSubject;
850
+ private subscribeResizeObserver;
851
+ private unsubscribeResizeObserver;
852
+ private unsubscribeOnMove;
853
+ private unsubscribeOnEnd;
854
+ private unsubscribeInputModelChangeSubject;
855
+ private unsubscribeOutputModelChangeSubject;
856
+ private unsubscribeManualRefresh;
857
+ private unsubscribeTriggerFocus;
858
+ private getPointerElement;
859
+ private getCurrentTrackingValue;
860
+ private modelValueToViewValue;
861
+ private viewValueToModelValue;
862
+ private getStepValue;
863
+ private applyViewChange;
864
+ private applyInputModelChange;
865
+ private publishOutputModelChange;
866
+ private normaliseModelValues;
867
+ private renormaliseModelValues;
868
+ private onChangeOptions;
869
+ private applyOptions;
870
+ private applyStepsArrayOptions;
871
+ private applyFloorCeilOptions;
872
+ private resetSlider;
873
+ private focusPointer;
874
+ private refocusPointerIfNeeded;
875
+ private manageElementsStyle;
876
+ private manageEventsBindings;
877
+ private updateDisabledState;
878
+ private updateAriaLabel;
879
+ private updateVerticalState;
880
+ private updateScale;
881
+ private updateRotate;
882
+ private getAllSliderElements;
883
+ private initHandles;
884
+ private addAccessibility;
885
+ private updateAriaAttributes;
886
+ private calculateViewDimensions;
887
+ private calculateViewDimensionsAndDetectChanges;
888
+ /**
889
+ * If the slider reference is already destroyed
890
+ * @returns boolean - true if ref is destroyed
891
+ */
892
+ private isRefDestroyed;
893
+ private updateTicksScale;
894
+ private getTicksArray;
895
+ private isTickSelected;
896
+ private updateFloorLabel;
897
+ private updateCeilLabel;
898
+ private updateHandles;
899
+ private getHandleLabelPos;
900
+ private updateLowHandle;
901
+ private updateHighHandle;
902
+ private updateFloorAndCeilLabelsVisibility;
903
+ private isLabelBelowFloorLabel;
904
+ private isLabelAboveCeilLabel;
905
+ private updateSelectionBar;
906
+ private getSelectionBarColor;
907
+ private getPointerColor;
908
+ private getTickColor;
909
+ private updateCombinedLabel;
910
+ private getDisplayValue;
911
+ private roundStep;
912
+ private valueToPosition;
913
+ private positionToValue;
914
+ private getEventXY;
915
+ private getEventPosition;
916
+ private getNearestHandle;
917
+ private bindEvents;
918
+ private getOptionsInfluencingEventBindings;
919
+ private unbindEvents;
920
+ private onBarStart;
921
+ private onStart;
922
+ private onMove;
923
+ private onEnd;
924
+ private onPointerFocus;
925
+ private onKeyUp;
926
+ private onPointerBlur;
927
+ private getKeyActions;
928
+ private onKeyboardEvent;
929
+ private onDragStart;
930
+ /** Get min value depending on whether the newPos is outOfBounds above or below the bar and rightToLeft */
931
+ private getMinValue;
932
+ /** Get max value depending on whether the newPos is outOfBounds above or below the bar and rightToLeft */
933
+ private getMaxValue;
934
+ private onDragMove;
935
+ private positionTrackingBar;
936
+ private positionTrackingHandle;
937
+ private applyMinMaxLimit;
938
+ private applyMinMaxRange;
939
+ private applyPushRange;
940
+ private getChangeContext;
941
+ static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponent, never>;
942
+ static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "ngx-slider", never, { "value": { "alias": "value"; "required": false; }; "highValue": { "alias": "highValue"; "required": false; }; "options": { "alias": "options"; "required": false; }; "manualRefresh": { "alias": "manualRefresh"; "required": false; }; "triggerFocus": { "alias": "triggerFocus"; "required": false; }; }, { "valueChange": "valueChange"; "highValueChange": "highValueChange"; "userChangeStart": "userChangeStart"; "userChange": "userChange"; "userChangeEnd": "userChangeEnd"; }, ["tooltipTemplate"], never, true, never>;
943
+ }
944
+
945
+ /**
946
+ * @deprecated SliderElementDirective is deprecated. Use {@link https://design-factory.amadeus.net/components/slider/agnosui AgnosUI Slider} instead.
947
+ */
948
+ declare class SliderElementDirective {
949
+ protected elemRef: ElementRef;
950
+ protected renderer: Renderer2;
951
+ protected changeDetectionRef: ChangeDetectorRef;
952
+ private _position;
953
+ get position(): number;
954
+ private _dimension;
955
+ get dimension(): number;
956
+ private _alwaysHide;
957
+ get alwaysHide(): boolean;
958
+ private _vertical;
959
+ get vertical(): boolean;
960
+ private _scale;
961
+ get scale(): number;
962
+ private _rotate;
963
+ get rotate(): number;
964
+ opacity: number;
965
+ visibility: string;
966
+ left: string;
967
+ bottom: string;
968
+ height: string;
969
+ width: string;
970
+ transform: string;
971
+ private eventListenerHelper;
972
+ private eventListeners;
973
+ private readonly platformId;
974
+ constructor(elemRef: ElementRef, renderer: Renderer2, changeDetectionRef: ChangeDetectorRef);
975
+ setAlwaysHide(hide: boolean): void;
976
+ hide(): void;
977
+ show(): void;
978
+ isVisible(): boolean;
979
+ setVertical(vertical: boolean): void;
980
+ setScale(scale: number): void;
981
+ setRotate(rotate: number): void;
982
+ getRotate(): number;
983
+ setPosition(pos: number): void;
984
+ calculateDimension(): void;
985
+ setDimension(dim: number): void;
986
+ getBoundingClientRect(): ClientRect;
987
+ on(eventName: string, callback: (event: any) => void, debounceInterval?: number): void;
988
+ onPassive(eventName: string, callback: (event: any) => void, debounceInterval?: number): void;
989
+ off(eventName?: string): void;
990
+ private isRefDestroyed;
991
+ static ɵfac: i0.ɵɵFactoryDeclaration<SliderElementDirective, never>;
992
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SliderElementDirective, "[ngxSliderElement]", never, {}, {}, never, never, true, never>;
993
+ }
994
+
995
+ /**
996
+ * @deprecated SliderHandleDirective is deprecated. Use {@link https://design-factory.amadeus.net/components/slider/agnosui AgnosUI Slider} instead.
997
+ */
998
+ declare class SliderHandleDirective extends SliderElementDirective {
999
+ active: boolean;
1000
+ role: string;
1001
+ tabindex: string;
1002
+ ariaOrientation: string;
1003
+ ariaLabel: string;
1004
+ ariaLabelledBy: string;
1005
+ ariaValueNow: string;
1006
+ ariaValueText: string;
1007
+ ariaValueMin: string;
1008
+ ariaValueMax: string;
1009
+ constructor(elemRef: ElementRef, renderer: Renderer2, changeDetectionRef: ChangeDetectorRef);
1010
+ focus(): void;
1011
+ static ɵfac: i0.ɵɵFactoryDeclaration<SliderHandleDirective, never>;
1012
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SliderHandleDirective, "[ngxSliderHandle]", never, {}, {}, never, never, true, never>;
1013
+ }
1014
+
1015
+ /**
1016
+ * @deprecated SliderLabelDirective is deprecated. Use {@link https://design-factory.amadeus.net/components/slider/agnosui AgnosUI Slider} instead.
1017
+ */
1018
+ declare class SliderLabelDirective extends SliderElementDirective {
1019
+ private _value?;
1020
+ get value(): string;
1021
+ constructor(elemRef: ElementRef, renderer: Renderer2, changeDetectionRef: ChangeDetectorRef);
1022
+ setValue(value: string): void;
1023
+ static ɵfac: i0.ɵɵFactoryDeclaration<SliderLabelDirective, never>;
1024
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SliderLabelDirective, "[ngxSliderLabel]", never, {}, {}, never, never, true, never>;
1025
+ }
1026
+
1027
+ /**
1028
+ * @deprecated TooltipWrapperComponent is deprecated. Use {@link https://design-factory.amadeus.net/components/slider/agnosui AgnosUI Slider} instead.
1029
+ */
1030
+ declare class TooltipWrapperComponent {
1031
+ template?: TemplateRef<any>;
1032
+ tooltip?: string;
1033
+ placement?: string;
1034
+ content?: string;
1035
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipWrapperComponent, never>;
1036
+ static ɵcmp: i0.ɵɵComponentDeclaration<TooltipWrapperComponent, "ngx-slider-tooltip-wrapper", never, { "template": { "alias": "template"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "content": { "alias": "content"; "required": false; }; }, {}, never, never, true, never>;
1037
+ }
1038
+
1039
+ /**
1040
+ * @deprecated DfSliderDirectionDirective is deprecated. Use {@link https://design-factory.amadeus.net/components/slider/agnosui AgnosUI Slider} instead.
1041
+ */
1042
+ declare class DfSliderDirectionDirective implements OnInit {
1043
+ readonly dfSliderDirection: i0.InputSignal<any>;
1044
+ private readonly elementRef;
1045
+ private readonly rtlDirectionService;
1046
+ ngOnInit(): void;
1047
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfSliderDirectionDirective, never>;
1048
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfSliderDirectionDirective, "[dfSliderDirection]", never, { "dfSliderDirection": { "alias": "dfSliderDirection"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1049
+ }
1050
+
1051
+ /**
1052
+ * @deprecated DfSliderModule is deprecated.
1053
+ * Use {@link https://design-factory.amadeus.net/components/slider/agnosui AgnosUI Slider} instead.
1054
+ */
1055
+ declare class DfSliderModule {
1056
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfSliderModule, never>;
1057
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfSliderModule, never, [typeof SliderComponent, typeof SliderElementDirective, typeof SliderHandleDirective, typeof SliderLabelDirective, typeof TooltipWrapperComponent, typeof DfSliderDirectionDirective], [typeof DfSliderDirectionDirective, typeof SliderComponent]>;
1058
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfSliderModule>;
1059
+ }
1060
+
1061
+ /**
1062
+ * A configuration service for the [DfSideNavService](#/components/sidenav/api#DfSideNavComponent) component.
1063
+ *
1064
+ * You can inject this service, typically in your root component, and customize its properties
1065
+ * to provide default values for your sidenav used in the application.
1066
+ */
1067
+ declare class DfSideNavConfig {
1068
+ isMinmized: boolean;
1069
+ isCollapsed: boolean;
1070
+ isPresent: boolean;
1071
+ isInMenuOverlay: boolean;
1072
+ isAppOverlay: boolean;
1073
+ isAppOverlayMode: boolean;
1074
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfSideNavConfig, never>;
1075
+ static ɵprov: i0.ɵɵInjectableDeclaration<DfSideNavConfig>;
1076
+ }
1077
+
1078
+ interface DfSideNavItem {
1079
+ value: string;
1080
+ title?: string;
1081
+ icon?: string | TemplateRef<any>;
1082
+ isExternal?: boolean;
1083
+ isActive?: boolean;
1084
+ isCollapsed?: boolean;
1085
+ breakpoints?: string[];
1086
+ subMenus?: DfSideNavItem[];
1087
+ type?: DfNavItemType;
1088
+ class?: string;
1089
+ }
1090
+ declare enum DfNavItemType {
1091
+ subMenus = 0,
1092
+ actionButton = 1,
1093
+ routerLink = 2,
1094
+ link = 3,
1095
+ externalLink = 4,
1096
+ separator = 5,
1097
+ template = 6,
1098
+ title = 7
1099
+ }
1100
+ /**
1101
+ * A service for managing the sidenav panel.
1102
+ * This service is included at root level
1103
+ *
1104
+ * Creating a sidenav is straightforward: use [DfSideNavComponent](#/components/sidenav/api#DfSideNavComponent) component
1105
+ */
1106
+ declare class DfSideNavService implements OnDestroy {
1107
+ private readonly config;
1108
+ type: typeof DfNavItemType;
1109
+ private readonly _sideNavItems$;
1110
+ private readonly _isMinmized$;
1111
+ private readonly _isCollapsed$;
1112
+ private readonly _isPresent$;
1113
+ private readonly _activeItem$;
1114
+ private readonly _isInMenuOverlay$;
1115
+ private readonly _isAppOverlay$;
1116
+ private _isAppOverlayMode;
1117
+ private _items;
1118
+ private readonly subscription;
1119
+ constructor(config: DfSideNavConfig);
1120
+ ngOnDestroy(): void;
1121
+ /**
1122
+ * Use this to init the list of Elements from your sidenav
1123
+ *
1124
+ *
1125
+ * Second option withRouter is to be set to false if you are not passing link string for the angular Router
1126
+ * Here we are not deep copying the array --> the function will change it
1127
+ */
1128
+ initItems(items: DfSideNavItem[], withRouter?: boolean): void;
1129
+ /**
1130
+ * Use this to inactivate the list of Elements from your sidenav
1131
+ * isActive properties of all items will be set to false recursively
1132
+ *
1133
+ */
1134
+ inactiveItems(list: DfSideNavItem[]): void;
1135
+ /**
1136
+ * Use this to active the item pass as input
1137
+ * This function inactivate all the other items of the service
1138
+ * It will then dispatch the list of items of the sideNav to activeItem$
1139
+ *
1140
+ */
1141
+ activeItem(item: DfSideNavItem): void;
1142
+ /**
1143
+ * Getter to know when to put/remove the overlay.
1144
+ * `True` in case of overlay needed
1145
+ *
1146
+ */
1147
+ get isAppOverlay$(): Observable<boolean>;
1148
+ /**
1149
+ * Getter to know if the sidenav is in an overlay panel or not
1150
+ * `True` in case of overlay panel
1151
+ *
1152
+ */
1153
+ get isInMenuOverlay$(): Observable<boolean>;
1154
+ /**
1155
+ * Getter to know the current activeItem a user clicked on
1156
+ *
1157
+ */
1158
+ get activeItem$(): Observable<DfSideNavItem | null>;
1159
+ /**
1160
+ * Getter to know if the sideNav is present in the page
1161
+ * SideNav may be collapsed here or not
1162
+ *
1163
+ */
1164
+ get isPresent$(): Observable<boolean>;
1165
+ /**
1166
+ * Future Options
1167
+ */
1168
+ get isMinimized$(): Observable<boolean>;
1169
+ /**
1170
+ * Getter to know if the SideNav is collapsed or not
1171
+ * If `true` the SideNav is collapsed
1172
+ *
1173
+ */
1174
+ get isCollapsed$(): Observable<boolean>;
1175
+ /**
1176
+ * Getter of the SideNav Items after they have beens changed
1177
+ *
1178
+ */
1179
+ get sideNavItems$(): Observable<DfSideNavItem[]>;
1180
+ /**
1181
+ * Getter to know the mode Apply for the SideNav
1182
+ * If `true` the SideNav can be in overlay (but not necessary is).
1183
+ *
1184
+ */
1185
+ get isAppOverlayMode(): boolean;
1186
+ get items(): DfSideNavItem[];
1187
+ /**
1188
+ * Use this to toggle a SideNav Item (either from expand to collapse or the other way around).
1189
+ * isCollapsed attribute of the input item is changed.
1190
+ * All items are push again to the stream of items.
1191
+ * This is used internally by the SideNav in case of click and Enter on an Item with subMenus
1192
+ */
1193
+ toggle(itemInput: DfSideNavItem): void;
1194
+ /**
1195
+ *
1196
+ * @param itemInput
1197
+ */
1198
+ collapseItem(itemInput: DfSideNavItem): void;
1199
+ /**
1200
+ * Use this to collapseAll items
1201
+ */
1202
+ collapseAllItems(): void;
1203
+ /**
1204
+ * Use this to set/unset the SideNav in an Overlay Menu
1205
+ * If input is `True` then the SideNav will be in an Overlay Menu
1206
+ * (when not collapsed)
1207
+ *
1208
+ */
1209
+ setInMenuSideNav(on: boolean): void;
1210
+ /**
1211
+ * Use this to collapse the SideNav
1212
+ *
1213
+ */
1214
+ hideSideNav(): void;
1215
+ /**
1216
+ * Use this to make the SideNav visible (uncollapse)
1217
+ *
1218
+ */
1219
+ showSideNav(): void;
1220
+ /**
1221
+ * Use this to toggle the SideNav status collapse/visible
1222
+ *
1223
+ */
1224
+ toggleSideNav(): void;
1225
+ removeSideBar(): void;
1226
+ /**
1227
+ * Use this to set the App Overlay Mode
1228
+ * Input `True` if you want to set the AppOverlay
1229
+ * An event is send to isAppOverlay$ depending on your status
1230
+ * if Input = `True` and isCollapsed = `False` then isAppOverlay$
1231
+ * will be `True`
1232
+ *
1233
+ */
1234
+ setAppOverlayMode(on: boolean): void;
1235
+ setSideNav(): void;
1236
+ /**
1237
+ *
1238
+ * @param itemInput
1239
+ * @param itemsList
1240
+ */
1241
+ private collapse;
1242
+ /**
1243
+ *
1244
+ * @param itemsList
1245
+ */
1246
+ private collapseAll;
1247
+ private setActiveItem;
1248
+ private addNavItemType;
1249
+ private dispatchSideNavItems;
1250
+ private updateOverLay;
1251
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfSideNavService, never>;
1252
+ static ɵprov: i0.ɵɵInjectableDeclaration<DfSideNavService>;
1253
+ }
1254
+
1255
+ declare class DfSideNavHeaderDirective {
1256
+ templateRef: TemplateRef<any>;
1257
+ constructor(templateRef: TemplateRef<any>);
1258
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfSideNavHeaderDirective, never>;
1259
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfSideNavHeaderDirective, "ng-template[dfSideNavHeader]", never, {}, {}, never, never, true, never>;
1260
+ }
1261
+ declare class DfSideNavIconDirective {
1262
+ templateRef: TemplateRef<any>;
1263
+ constructor(templateRef: TemplateRef<any>);
1264
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfSideNavIconDirective, never>;
1265
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfSideNavIconDirective, "ng-template[dfSideNavIcon]", never, {}, {}, never, never, true, never>;
1266
+ }
1267
+ declare class DfSideNavItemDirective {
1268
+ templateRef: TemplateRef<any>;
1269
+ constructor(templateRef: TemplateRef<any>);
1270
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfSideNavItemDirective, never>;
1271
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfSideNavItemDirective, "ng-template[dfSideNavItem]", never, {}, {}, never, never, true, never>;
1272
+ }
1273
+ /**
1274
+ * SideNav is a component to provide navigation feature with a panel on the side of your page
1275
+ *
1276
+ * It supports several options as:
1277
+ * - Being in an overlay menu or not
1278
+ * - Being collapsed or not
1279
+ * - Can be used with or without Angular Router
1280
+ * - Can be used with media queries to adjust behavior to different breakpoints (see media section)
1281
+ */
1282
+ declare class DfSideNavComponent implements OnDestroy {
1283
+ readonly tplHeader: i0.Signal<DfSideNavHeaderDirective | undefined>;
1284
+ readonly tplIcon: i0.Signal<DfSideNavIconDirective | undefined>;
1285
+ readonly tplItem: i0.Signal<DfSideNavItemDirective | undefined>;
1286
+ readonly overlayClass: i0.WritableSignal<boolean>;
1287
+ readonly classes: i0.Signal<string>;
1288
+ private readonly sideNavService;
1289
+ readonly navItems: i0.Signal<DfSideNavItem[]>;
1290
+ constructor();
1291
+ ngOnDestroy(): void;
1292
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfSideNavComponent, never>;
1293
+ static ɵcmp: i0.ɵɵComponentDeclaration<DfSideNavComponent, "df-sidenav", never, {}, {}, ["tplHeader", "tplIcon", "tplItem"], never, true, never>;
1294
+ }
1295
+
1296
+ declare class DfManageSideNavDirective implements AfterViewChecked {
1297
+ private readonly element;
1298
+ private readonly renderer;
1299
+ constructor(element: ElementRef, renderer: Renderer2);
1300
+ ngAfterViewChecked(): void;
1301
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfManageSideNavDirective, never>;
1302
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfManageSideNavDirective, "[dfManageSideNav]", never, {}, {}, never, never, true, never>;
1303
+ }
1304
+
1305
+ /**
1306
+ * The directive to catch focusin event and put the focus at a defined position in the page
1307
+ *
1308
+ * @deprecated 19.1.0 use {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inert inert} instead
1309
+ * @since 9.1.0
1310
+ */
1311
+ declare class DfExcludeTrapDirective implements OnDestroy, OnInit {
1312
+ private subscription;
1313
+ private subscriptionInput?;
1314
+ /**
1315
+ * The CSS selector used to get the element to put the focus when catched
1316
+ *
1317
+ */
1318
+ readonly dfExcludeTrapSelector: i0.InputSignal<string>;
1319
+ /**
1320
+ * The Observable to enable or disable the ExcludeTrap
1321
+ * If `True` the excludeTrap will work
1322
+ */
1323
+ readonly dfExcludeTrap: i0.InputSignal<Observable<boolean>>;
1324
+ private readonly zone;
1325
+ private readonly element;
1326
+ init(): void;
1327
+ ngOnInit(): void;
1328
+ ngOnDestroy(): void;
1329
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfExcludeTrapDirective, never>;
1330
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfExcludeTrapDirective, "[dfExcludeTrap]", never, { "dfExcludeTrapSelector": { "alias": "dfExcludeTrapSelector"; "required": false; "isSignal": true; }; "dfExcludeTrap": { "alias": "dfExcludeTrap"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1331
+ }
1332
+
1333
+ declare class DfManageNavSelectDirective implements OnInit {
1334
+ private readonly select;
1335
+ private readonly element;
1336
+ private readonly rtlDirectionService;
1337
+ private readonly renderer;
1338
+ private direction;
1339
+ constructor(select: NgSelectComponent, element: ElementRef, rtlDirectionService: DfDirectionDetectionService, renderer: Renderer2);
1340
+ ngOnInit(): void;
1341
+ handleKeyDown(event: any): void;
1342
+ handleKeyDownBackspace(event: any): void;
1343
+ handleKeyDownRight(event: any): void;
1344
+ arrowRightInnerHandler(event: any): void;
1345
+ arrowLeftInnerHandler(event: any): void;
1346
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfManageNavSelectDirective, [{ host: true; }, null, null, null]>;
1347
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfManageNavSelectDirective, "[dfManageNavSelect]", never, {}, {}, never, never, true, never>;
1348
+ }
1349
+
1350
+ declare class DfOptionHighlightDirective implements AfterViewInit {
1351
+ readonly dfOptionHighlight: i0.InputSignal<string>;
1352
+ private readonly label;
1353
+ private readonly elementRef;
1354
+ private readonly renderer;
1355
+ private readonly canHighlight;
1356
+ constructor();
1357
+ ngAfterViewInit(): void;
1358
+ private setInnerHtml;
1359
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfOptionHighlightDirective, never>;
1360
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfOptionHighlightDirective, "[dfOptionHighlight]", never, { "dfOptionHighlight": { "alias": "dfOptionHighlight"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1361
+ }
1362
+
1363
+ declare class DfManageBadgeEventsDirective implements AfterViewInit {
1364
+ readonly dfManageBadgeEventsSelect: i0.InputSignal<[(arg: any) => void, any]>;
1365
+ private readonly renderer;
1366
+ private readonly element;
1367
+ constructor();
1368
+ ngAfterViewInit(): void;
1369
+ handleKeyDownBackspace(event: any): void;
1370
+ handleClick(event: any): void;
1371
+ handleKeyDownEnter(event: any): void;
1372
+ handleKeyDownDelete(event: any): void;
1373
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfManageBadgeEventsDirective, never>;
1374
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfManageBadgeEventsDirective, "[dfManageBadgeEventsSelect]", never, { "dfManageBadgeEventsSelect": { "alias": "dfManageBadgeEventsSelect"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1375
+ }
1376
+
1377
+ declare class DfSelectModule {
1378
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfSelectModule, never>;
1379
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfSelectModule, never, [typeof DfManageNavSelectDirective, typeof DfManageBadgeEventsDirective, typeof DfOptionHighlightDirective], [typeof DfManageNavSelectDirective, typeof DfManageBadgeEventsDirective, typeof DfOptionHighlightDirective, typeof i4.NgSelectModule]>;
1380
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfSelectModule>;
1381
+ }
1382
+
1383
+ interface DfStepperStep {
1384
+ warning: boolean;
1385
+ completed: boolean;
1386
+ visited?: boolean;
1387
+ label: string;
1388
+ ariaControl: string;
1389
+ warningLabel?: string;
1390
+ optionalLabel?: string;
1391
+ }
1392
+ type DfStepType = 'warning' | 'completed' | 'future' | 'visited';
1393
+ interface DfStepperNormalizedStep extends DfStepperStep {
1394
+ type: DfStepType;
1395
+ }
1396
+ interface DfStepperState {
1397
+ steps: DfStepperStep[];
1398
+ active: number;
1399
+ isLinear: boolean;
1400
+ isInline: boolean;
1401
+ isVertical: boolean;
1402
+ }
1403
+ interface DfStepperNormalizedState {
1404
+ steps: DfStepperNormalizedStep[];
1405
+ active: number;
1406
+ isLinear: boolean;
1407
+ isInline: boolean;
1408
+ isVertical: boolean;
1409
+ }
1410
+ declare class DfStepperService {
1411
+ setFocus: boolean;
1412
+ private readonly _stepperState$;
1413
+ private _state;
1414
+ get state(): DfStepperNormalizedState;
1415
+ private _completedLabel;
1416
+ /**
1417
+ * Internal to get the completed label in the template
1418
+ */
1419
+ get completedLabel(): string;
1420
+ /**
1421
+ * Use this to set the completed label (i18n)
1422
+ */
1423
+ set completedLabel(label: string);
1424
+ private _warningLabel;
1425
+ /**
1426
+ * Internal to get the waring label in the template
1427
+ */
1428
+ get warningLabel(): string;
1429
+ /**
1430
+ * Use this to set the warning label (i18n)
1431
+ */
1432
+ set warningLabel(label: string);
1433
+ private _stepperAriaLabel;
1434
+ /**
1435
+ * Internal to get the stepper aria label in the template
1436
+ */
1437
+ get stepperAriaLabel(): string;
1438
+ /**
1439
+ * Use this to set the stepper aria label (i18n)
1440
+ */
1441
+ set stepperAriaLabel(label: string);
1442
+ get stepperState$(): Observable<DfStepperNormalizedState>;
1443
+ /**
1444
+ * Use this to init the list of Elements from your stepper
1445
+ *
1446
+ * Here we are not deep copying the array --> the function will change it
1447
+ */
1448
+ initStepperState(state: DfStepperState): void;
1449
+ /**
1450
+ * Use this to normalize the state of the stepper (completed, warning, current, future)
1451
+ * @param state
1452
+ * @returns
1453
+ */
1454
+ normalizeState(state: DfStepperState): DfStepperNormalizedState;
1455
+ /**
1456
+ * TODO make it customizable
1457
+ * @param index - index of the step
1458
+ * @returns - string of the step number to display
1459
+ */
1460
+ getStepNumberLabel(index: number): string;
1461
+ resetFocus(): void;
1462
+ /**
1463
+ *
1464
+ * @param isLinear - true if the stepper is linear
1465
+ */
1466
+ setLinear(isLinear: boolean): void;
1467
+ /**
1468
+ * @param isInline - true if the stepper is inline
1469
+ */
1470
+ setInline(isInline: boolean): void;
1471
+ /**
1472
+ * @param isVertical - true if the stepper is vertical
1473
+ *
1474
+ * @since 19.1.0
1475
+ */
1476
+ setVertical(isVertical: boolean): void;
1477
+ /**
1478
+ *
1479
+ * @param index - index of the step to select start at 0
1480
+ */
1481
+ selectStep(index: number): void;
1482
+ /**
1483
+ * Same as selectStep but with focus on the step selected
1484
+ * @param index - index of the step to select start at 0
1485
+ */
1486
+ selectWithFocus(index: number): void;
1487
+ /**
1488
+ *
1489
+ * @param index - index of the step to complete start at 0
1490
+ */
1491
+ completeStep(index: number): void;
1492
+ /**
1493
+ *
1494
+ * @param index - index of the step to complete start at 0
1495
+ */
1496
+ completeStepAndGoNext(index: number): void;
1497
+ /**
1498
+ * Attention if the step was completed it will be uncompleted after.
1499
+ * @param index - index of the step to make Warning start at 0
1500
+ * @param warningLabel - label to display in the warning by default it will take the warningLabel if it exists or the label
1501
+ */
1502
+ makeWarning(index: number, warningLabel?: string): void;
1503
+ /**
1504
+ *
1505
+ * @param index - index of the step to remove Warning start at 0
1506
+ */
1507
+ removeWarning(index: number): void;
1508
+ private dispatchStepperState;
1509
+ private updateStepperState;
1510
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfStepperService, never>;
1511
+ static ɵprov: i0.ɵɵInjectableDeclaration<DfStepperService>;
1512
+ }
1513
+
1514
+ declare class DfStepperStepDirective implements OnInit, OnDestroy {
1515
+ private readonly unlistener;
1516
+ private readonly renderer2;
1517
+ private readonly element;
1518
+ ngOnInit(): void;
1519
+ handleFocusTabIndex(): void;
1520
+ handleBlurTabIndex(event: FocusEvent): void;
1521
+ ngOnDestroy(): void;
1522
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfStepperStepDirective, never>;
1523
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfStepperStepDirective, "[dfStepperStep]", ["dfStepperStep"], {}, {}, never, never, true, never>;
1524
+ }
1525
+ declare class DfStepperDirective implements OnInit, AfterViewChecked {
1526
+ private direction;
1527
+ stepperService: DfStepperService;
1528
+ private readonly element;
1529
+ private readonly rtlDirectionService;
1530
+ ngOnInit(): void;
1531
+ handleEnterDown(): void;
1532
+ handleSpaceDown(): void;
1533
+ private handleGoPrevious;
1534
+ private handleGoNext;
1535
+ handleKeyDownRight(event: KeyboardEvent): void;
1536
+ handleKeyDown(event: KeyboardEvent): void;
1537
+ handleKeyDownUp(event: KeyboardEvent): void;
1538
+ handleKeyDownDown(event: KeyboardEvent): void;
1539
+ getSteps(): HTMLButtonElement[];
1540
+ private handleSelect;
1541
+ private arrowRightInnerHandler;
1542
+ private arrowLeftInnerHandler;
1543
+ ngAfterViewChecked(): void;
1544
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfStepperDirective, never>;
1545
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfStepperDirective, "[dfStepperLogic]", ["dfStepperLogic"], {}, {}, never, never, true, never>;
1546
+ }
1547
+
1548
+ declare class DfStepperStepContentDirective {
1549
+ readonly templateRef: TemplateRef<any>;
1550
+ /**
1551
+ * The step index
1552
+ * -1 means that the input index is not set
1553
+ */
1554
+ readonly dfStepperStepContent: i0.InputSignalWithTransform<number, unknown>;
1555
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfStepperStepContentDirective, never>;
1556
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfStepperStepContentDirective, "ng-template[dfStepperStepContent]", never, { "dfStepperStepContent": { "alias": "dfStepperStepContent"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1557
+ }
1558
+ /**
1559
+ * Stepper component is a component to provide a step by step navigation
1560
+ * You have two ways to navigate through the steps:
1561
+ * - Using the linear navigation, where you can only go to the next step
1562
+ * - Using the non-linear navigation, where you can go to any step
1563
+ */
1564
+ declare class DfStepperComponent implements AfterContentInit {
1565
+ readonly stepperService: DfStepperService;
1566
+ mapStepToContent: Map<number, TemplateRef<any>>;
1567
+ readonly tplStepsContent: i0.Signal<readonly DfStepperStepContentDirective[]>;
1568
+ readonly state: i0.WritableSignal<DfStepperNormalizedState | undefined>;
1569
+ constructor();
1570
+ ngAfterContentInit(): void;
1571
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfStepperComponent, never>;
1572
+ static ɵcmp: i0.ɵɵComponentDeclaration<DfStepperComponent, "[dfStepper]", never, {}, {}, ["tplStepsContent"], never, true, [{ directive: typeof DfStepperDirective; inputs: {}; outputs: {}; }]>;
1573
+ }
1574
+
1575
+ declare class DfStepperModule {
1576
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfStepperModule, never>;
1577
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfStepperModule, never, [typeof DfStepperDirective, typeof DfStepperStepDirective, typeof DfStepperComponent, typeof DfStepperStepContentDirective], [typeof DfStepperDirective, typeof DfStepperStepDirective, typeof DfStepperComponent, typeof DfStepperStepContentDirective]>;
1578
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfStepperModule>;
1579
+ }
1580
+
1581
+ /**
1582
+ * My dfTooltipTruncate directive
1583
+ */
1584
+ declare class DfTooltipTruncateDirective implements OnInit, DoCheck {
1585
+ private readonly tooltip;
1586
+ private readonly elementRef;
1587
+ private readonly renderer;
1588
+ /**
1589
+ * The direction considered when detecting overflow, can be 'x', 'y' or ''.
1590
+ * @defaultValue ''
1591
+ */
1592
+ readonly dfTooltipTruncate: i0.InputSignal<"" | "x" | "y">;
1593
+ ngOnInit(): void;
1594
+ ngDoCheck(): void;
1595
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfTooltipTruncateDirective, never>;
1596
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfTooltipTruncateDirective, "[dfTooltipTruncate]", ["dfTooltipTruncate"], { "dfTooltipTruncate": { "alias": "dfTooltipTruncate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1597
+ }
1598
+
1599
+ declare class DfTooltipModule {
1600
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfTooltipModule, never>;
1601
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfTooltipModule, never, [typeof DfTooltipTruncateDirective], [typeof DfTooltipTruncateDirective, typeof i2.NgbTooltipModule]>;
1602
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfTooltipModule>;
1603
+ }
1604
+
1605
+ /**
1606
+ * A directive to provide a simple way of hiding and showing the sideNav on the page.
1607
+ */
1608
+ declare class DfSideNavCollapseDirective implements OnInit {
1609
+ /**
1610
+ * If `true`, will collapse the element or show it otherwise.
1611
+ */
1612
+ readonly dfSideNavCollapse: i0.InputSignal<boolean>;
1613
+ private readonly collapsed;
1614
+ readonly minimized: i0.InputSignal<boolean>;
1615
+ readonly dfSideNavCollapseChange: i0.OutputEmitterRef<boolean>;
1616
+ /**
1617
+ * An event emitted when the collapse element is shown, after the transition. It has no payload.
1618
+ *
1619
+ * @since 9.1.0
1620
+ */
1621
+ readonly shown: i0.OutputEmitterRef<void>;
1622
+ /**
1623
+ * An event emitted when the collapse element is hidden, after the transition. It has no payload.
1624
+ *
1625
+ * @since 9.1.0
1626
+ */
1627
+ readonly hidden: i0.OutputEmitterRef<void>;
1628
+ private readonly elementRef;
1629
+ private readonly sideNavCollapseService;
1630
+ private readonly zone;
1631
+ private readonly injector;
1632
+ private animation;
1633
+ constructor();
1634
+ ngOnInit(): void;
1635
+ /**
1636
+ * Triggers collapsing programmatically.
1637
+ *
1638
+ * If there is a collapsing transition running already, it will be reversed.
1639
+ * If the animations are turned off this happens synchronously.
1640
+ *
1641
+ * @since 9.1.0
1642
+ */
1643
+ toggle(open?: boolean): void;
1644
+ private runTransition;
1645
+ private runTransitionWithEvents;
1646
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfSideNavCollapseDirective, never>;
1647
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfSideNavCollapseDirective, "[dfSideNavCollapse]", ["dfSideNavCollapse"], { "dfSideNavCollapse": { "alias": "dfSideNavCollapse"; "required": true; "isSignal": true; }; "minimized": { "alias": "minimized"; "required": false; "isSignal": true; }; }, { "dfSideNavCollapseChange": "dfSideNavCollapseChange"; "shown": "shown"; "hidden": "hidden"; }, never, never, true, never>;
1648
+ }
1649
+
1650
+ /**
1651
+ * A configuration service for the [DfSideNavCollapseDirective](#/components/sidenav/api#DfSideNavCollapseDirective) component.
1652
+ *
1653
+ * You can inject this service, typically in your root component, and customize its properties
1654
+ * to provide default values for the sideNav used in the application.
1655
+ */
1656
+ declare class DfSideNavCollapseConfig {
1657
+ private readonly _ngbConfig;
1658
+ private _animation?;
1659
+ constructor(_ngbConfig: NgbConfig);
1660
+ get animation(): boolean;
1661
+ set animation(animation: boolean);
1662
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfSideNavCollapseConfig, never>;
1663
+ static ɵprov: i0.ɵɵInjectableDeclaration<DfSideNavCollapseConfig>;
1664
+ }
1665
+
1666
+ declare class DfSideNavCollapseModule {
1667
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfSideNavCollapseModule, never>;
1668
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfSideNavCollapseModule, never, [typeof DfSideNavCollapseDirective], [typeof DfSideNavCollapseDirective]>;
1669
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfSideNavCollapseModule>;
1670
+ }
1671
+
1672
+ declare class DfSideNavModule {
1673
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfSideNavModule, never>;
1674
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfSideNavModule, never, [typeof DfManageSideNavDirective, typeof DfSideNavComponent, typeof DfSideNavHeaderDirective, typeof DfExcludeTrapDirective, typeof DfSideNavIconDirective, typeof DfSideNavItemDirective], [typeof DfManageSideNavDirective, typeof DfSideNavComponent, typeof DfSideNavHeaderDirective, typeof DfExcludeTrapDirective, typeof DfSideNavIconDirective, typeof DfSideNavItemDirective, typeof DfSideNavCollapseModule, typeof DfMediaModule]>;
1675
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfSideNavModule>;
1676
+ }
1677
+
1678
+ /**
1679
+ * A service for managing the sidenav panel animation.
1680
+ * This service is included at root level
1681
+ *
1682
+ * Creating a sidenav is straightforward: use [DfSideNavComponent](#/components/sidenav/api#DfSideNavComponent) component
1683
+ */
1684
+ declare class DfSideNavCollapseService {
1685
+ private readonly _config;
1686
+ private readonly _sideNavAnimation$;
1687
+ constructor(_config: DfSideNavCollapseConfig);
1688
+ get sideNavAnimation$(): Observable<boolean>;
1689
+ /**
1690
+ * Use this to activate or desactivate the animation for the sideNav
1691
+ * If input is `True` it will activate the animation.
1692
+ * Default value for animation is set in by DfSideNavCollapseConfig
1693
+ *
1694
+ */
1695
+ setAnimation(on: boolean): void;
1696
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfSideNavCollapseService, never>;
1697
+ static ɵprov: i0.ɵɵInjectableDeclaration<DfSideNavCollapseService>;
1698
+ }
1699
+
1700
+ declare const DF_BREAKPOINTS_VAR_DEFAULT: {
1701
+ xs: string;
1702
+ sm: string;
1703
+ md: string;
1704
+ lg: string;
1705
+ xl: string;
1706
+ xxl: string;
1707
+ xxxl: string;
1708
+ };
1709
+ declare const BREAKPOINTS_VARS: InjectionToken<{
1710
+ xs: string;
1711
+ sm: string;
1712
+ md: string;
1713
+ lg: string;
1714
+ xl: string;
1715
+ xxl: string;
1716
+ xxxl: string;
1717
+ }>;
1718
+ declare class DfBreakpoints {
1719
+ private readonly _breakPointsVar;
1720
+ private readonly platformID;
1721
+ private readonly _breakPoints$;
1722
+ constructor(_breakPointsVar: {
1723
+ [breakpoint: string]: string;
1724
+ }, platformID: Object);
1725
+ get breakPoints$(): Observable<{} | null>;
1726
+ private initBreakpoints;
1727
+ generate(sizes: any[][]): {};
1728
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfBreakpoints, never>;
1729
+ static ɵprov: i0.ɵɵInjectableDeclaration<DfBreakpoints>;
1730
+ }
1731
+ interface MediaBreakpointsState {
1732
+ matches: boolean;
1733
+ breakpoints: {
1734
+ [key: string]: boolean;
1735
+ };
1736
+ }
1737
+ declare class DfMediaQuery {
1738
+ private readonly _isBrowser;
1739
+ constructor(platformId: Object);
1740
+ notSupported(query: string): Partial<MediaQueryList>;
1741
+ matchMedia(query: string): MediaQueryList;
1742
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfMediaQuery, never>;
1743
+ static ɵprov: i0.ɵɵInjectableDeclaration<DfMediaQuery>;
1744
+ }
1745
+ declare class DfMediaObserver implements OnDestroy {
1746
+ private readonly _mediaQuery;
1747
+ private readonly _subscription;
1748
+ private readonly _queries;
1749
+ constructor(_mediaQuery: DfMediaQuery);
1750
+ /**
1751
+ * Verifies if at least one of the provided media-queries is matching
1752
+ * the current viewport
1753
+ */
1754
+ matches(queries: string[] | string): boolean;
1755
+ /**
1756
+ * Produces an observable for a set of media-queries that will emit
1757
+ * meta information for any changes of the given queries.
1758
+ * @param value One or more media-queries to be observed.
1759
+ * @returns A stream of matches meta object for the given media-queries.
1760
+ */
1761
+ observe(queries: string | string[]): Observable<MediaBreakpointsState>;
1762
+ ngOnDestroy(): void;
1763
+ private _flattenQueries;
1764
+ private _registerQuery;
1765
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfMediaObserver, never>;
1766
+ static ɵprov: i0.ɵɵInjectableDeclaration<DfMediaObserver>;
1767
+ }
1768
+
1769
+ /**
1770
+ * Services you can use to get indication about the current width screen of your application
1771
+ * the matchMedia JS feature (https://developer.mozilla.org/fr/docs/Web/API/Window/matchMedia)
1772
+ */
1773
+ declare class DfMedia {
1774
+ private readonly mediaObserver;
1775
+ private readonly _breakPointsService;
1776
+ constructor(mediaObserver: DfMediaObserver, _breakPointsService: DfBreakpoints);
1777
+ initQueries(mediaOrBreakpoints: string | string[], breakPoints?: {
1778
+ [key: string]: string;
1779
+ }): string[];
1780
+ /**
1781
+ * Getter to have the observable indication if you are or not in the current scope of your queries
1782
+ * If one queries is matching result is `True` otherwise result is `False`
1783
+ * @param mediaOrBreakpoints either media query string/Array of string or/and in case of BS usage a
1784
+ * string/Array of string of the breakpoints name (sm...).
1785
+ */
1786
+ getObservable(mediaOrBreakpoints: string | string[]): Observable<boolean>;
1787
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfMedia, never>;
1788
+ static ɵprov: i0.ɵɵInjectableDeclaration<DfMedia>;
1789
+ }
1790
+
1791
+ declare class DfManageCardSelectionDirective implements AfterViewInit {
1792
+ private input;
1793
+ readonly dfManageCardSelected: i0.InputSignal<boolean>;
1794
+ private readonly element;
1795
+ private readonly renderer;
1796
+ constructor();
1797
+ ngAfterViewInit(): void;
1798
+ click(event: Event): void;
1799
+ keydown(event: KeyboardEvent): void;
1800
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfManageCardSelectionDirective, never>;
1801
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfManageCardSelectionDirective, "[dfManageCardSelected]", never, { "dfManageCardSelected": { "alias": "dfManageCardSelected"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1802
+ }
1803
+
1804
+ declare class DfAdvancedCardModule {
1805
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfAdvancedCardModule, never>;
1806
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfAdvancedCardModule, never, [typeof DfManageCardSelectionDirective], [typeof DfManageCardSelectionDirective]>;
1807
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfAdvancedCardModule>;
1808
+ }
1809
+
1810
+ /**
1811
+ * @deprecated Import only the needed modules or use standalone components instead of DfModule
1812
+ */
1813
+ declare class DfModule {
1814
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfModule, never>;
1815
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfModule, never, [typeof DfAlertModule, typeof DfDatePickerModule, typeof DfSelectModule, typeof DfProgressbarModule, typeof DfProgressIndicatorModule, typeof DfAdvancedInputModule, typeof DfAccessibilityModule, typeof DfSliderModule, typeof DfPopoverModule, typeof DfIconModule, typeof DfTooltipModule, typeof DfSideNavModule, typeof DfSideNavCollapseModule, typeof DfAdvancedCardModule, typeof DfFooterModule, typeof DfToastModule, typeof DfStepperModule], [typeof DfAlertModule, typeof DfDatePickerModule, typeof DfSelectModule, typeof DfProgressbarModule, typeof DfProgressIndicatorModule, typeof DfAdvancedInputModule, typeof DfAccessibilityModule, typeof DfSliderModule, typeof DfPopoverModule, typeof DfIconModule, typeof DfTooltipModule, typeof DfSideNavModule, typeof DfSideNavCollapseModule, typeof DfAdvancedCardModule, typeof DfFooterModule, typeof DfToastModule, typeof DfStepperModule]>;
1816
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfModule>;
1817
+ }
1818
+
1819
+ /**
1820
+ * DfTitleTruncate directive
1821
+ * It adds the title attribute with the element's textContent as value
1822
+ * when the element is truncated.
1823
+ */
1824
+ declare class DfTitleTruncateDirective implements OnInit, DoCheck {
1825
+ private readonly elementRef;
1826
+ private readonly renderer;
1827
+ private readonly overflowService;
1828
+ ngOnInit(): void;
1829
+ ngDoCheck(): void;
1830
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfTitleTruncateDirective, never>;
1831
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfTitleTruncateDirective, "[dfTitleTruncate]", ["dfTitleTruncate"], {}, {}, never, never, true, never>;
1832
+ }
1833
+
1834
+ declare class DfWavesOfProgressDirective {
1835
+ /**
1836
+ * The type of waves to display. In order to display the waves, the app using the directive must include the assets of Design Factory.
1837
+ * It is possible to do so by adding the following snippet to the `angular.json` file in the `assets` configuration:
1838
+ * @example
1839
+ * "assets": [
1840
+ * {
1841
+ * "glob": "** / *", //remove the spaces between the asterisks and the slash
1842
+ * "input": "node-modules/@design-factory/design-factory/assets/",
1843
+ * "output": "assets/"
1844
+ * },
1845
+ * ...]
1846
+ */
1847
+ readonly dfWavesOfProgress: i0.InputSignal<"arrowRight" | "circleDiagonal" | "circleUp" | "arrowUp">;
1848
+ private readonly http;
1849
+ elementRef: ElementRef<any>;
1850
+ private readonly platformId;
1851
+ private baseSvg;
1852
+ /**
1853
+ * Prepares the SVG string by replacing color variables and encoding it.
1854
+ * @param bgColor - The background color.
1855
+ * @param lineColor - The line color.
1856
+ * @returns The prepared SVG string.
1857
+ */
1858
+ prepareSvg(bgColor: string, lineColor: string): string;
1859
+ /**
1860
+ * Updates the SVG background image based on the current element's styles.
1861
+ */
1862
+ updateSvg(): void;
1863
+ constructor();
1864
+ private getSvg;
1865
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfWavesOfProgressDirective, never>;
1866
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DfWavesOfProgressDirective, "[dfWavesOfProgress]", ["dfWavesOfProgress"], { "dfWavesOfProgress": { "alias": "dfWavesOfProgress"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1867
+ }
1868
+
1869
+ declare class DfWavesOfProgressModule {
1870
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfWavesOfProgressModule, never>;
1871
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DfWavesOfProgressModule, never, [typeof DfWavesOfProgressDirective], [typeof DfWavesOfProgressDirective]>;
1872
+ static ɵinj: i0.ɵɵInjectorDeclaration<DfWavesOfProgressModule>;
1873
+ }
1874
+
1875
+ declare class DfAmadeusLogoComponent {
1876
+ /**
1877
+ * Class to apply to the SVG element. For example, you can use `df-logo-dim` to set proper dimensions inside footer and navbar.
1878
+ */
1879
+ readonly svgClass: i0.InputSignal<string>;
1880
+ static ɵfac: i0.ɵɵFactoryDeclaration<DfAmadeusLogoComponent, never>;
1881
+ static ɵcmp: i0.ɵɵComponentDeclaration<DfAmadeusLogoComponent, "df-amadeus-logo", never, { "svgClass": { "alias": "svgClass"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1882
+ }
1883
+
1884
+ export { BREAKPOINTS_VARS, ChangeContext, DF_BREAKPOINTS_VAR_DEFAULT, DfAccessibilityModule, DfAdvancedCardModule, DfAdvancedInputModule, DfAlertModule, DfAmadeusIconComponent, DfAmadeusLogoComponent, DfBreakpoints, DfDatePickerModule, DfDatepickerRangeDirective, DfDatepickerRangeService, DfDefaultSpinnerComponent, DfDirectionDetectionService, DfExcludeTrapDirective, DfFooterModule, DfIconModule, DfIfMediaDirective, DfInputIconDirective, DfInsertIconDirective, DfInsertIconModule, DfManageBadgeEventsDirective, DfManageCardSelectionDirective, DfManageNavSelectDirective, DfManageSideNavDirective, DfMedia, DfMediaModule, DfMediaObserver, DfMediaQuery, DfModalService, DfModule, DfNavItemType, DfOptionHighlightDirective, DfPopoverConfig, DfPopoverModule, DfProgressIndicatorBackdropComponent, DfProgressIndicatorContainerComponent, DfProgressIndicatorContentPosition, DfProgressIndicatorContentProgressBar, DfProgressIndicatorContentSpinner, DfProgressIndicatorContentType, DfProgressIndicatorDirective, DfProgressIndicatorModule, DfProgressIndicatorRef, DfProgressIndicatorService, DfProgressbarComponent, DfProgressbarModule, DfSelectModule, DfSideNavCollapseDirective, DfSideNavCollapseModule, DfSideNavCollapseService, DfSideNavComponent, DfSideNavConfig, DfSideNavHeaderDirective, DfSideNavIconDirective, DfSideNavItemDirective, DfSideNavModule, DfSideNavService, DfSliderDirectionDirective, DfSliderModule, DfStepperComponent, DfStepperDirective, DfStepperModule, DfStepperService, DfStepperStepContentDirective, DfStepperStepDirective, DfTitleTruncateDirective, DfToastModule, DfTooltipModule, DfTooltipTruncateDirective, DfTriggerClickDirective, DfWavesOfProgressDirective, DfWavesOfProgressModule, LabelType, Options, PointerType, RightToLeftDirectionEnum, SkipLinkDirective, SkipLinksContainerComponent, SliderComponent };
1885
+ export type { CombineLabelsFunction, CustomStepDefinition, DfDirection, DfProgressIndicatorContent, DfProgressIndicatorOptions, DfSideNavItem, DfStepType, DfStepperNormalizedState, DfStepperNormalizedStep, DfStepperState, DfStepperStep, GetLegendFunction, GetStepLegendFunction, PositionToValueFunction, TranslateFunction, ValueToPositionFunction };