@design-factory/design-factory 19.1.3 → 20.0.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/design-factory-initial-branding.css +1 -1
- package/design-factory.css +2 -2
- package/fesm2022/design-factory.mjs +511 -389
- package/fesm2022/design-factory.mjs.map +1 -1
- package/index.d.ts +1801 -2
- package/package.json +14 -16
- package/schematics/migrations/20_0_0/navbar-toggler-logo-svg/index.d.ts +7 -0
- package/schematics/migrations/20_0_0/navbar-toggler-logo-svg/index.js +47 -0
- package/schematics/migrations/migration.json +6 -0
- package/styles/scss/_common.scss +1 -1
- package/styles/scss/_common.variables.scss +4 -2
- package/styles/scss/_variables.scss +1 -0
- package/styles/scss/agnosui/_variables.scss +2 -2
- package/styles/scss/bootstrap/_variables.scss +13 -6
- package/styles/scss/components/accordion/_accordion.scss +12 -1
- package/styles/scss/components/alert/_alert.scss +15 -7
- package/styles/scss/components/badge/_badge.mixins.scss +12 -0
- package/styles/scss/components/badge/_badge.scss +263 -75
- package/styles/scss/components/badge/_badge.variables.scss +8 -0
- package/styles/scss/components/brand-color/_brand-color.mixins.scss +2 -2
- package/styles/scss/components/breadcrumbs/_breadcrumbs.scss +12 -9
- package/styles/scss/components/breadcrumbs/_breadcrumbs.variables.scss +3 -3
- package/styles/scss/components/button/_button.scss +384 -59
- package/styles/scss/components/button/_button.variables.scss +1 -3
- package/styles/scss/components/card/_card.scss +14 -0
- package/styles/scss/components/card/_card.variables.scss +2 -0
- package/styles/scss/components/carousel/_carousel.scss +2 -2
- package/styles/scss/components/checkbox/_checkbox.scss +11 -4
- package/styles/scss/components/datepicker/_datepicker.scss +1 -1
- package/styles/scss/components/dropdown/_dropdown.scss +4 -2
- package/styles/scss/components/dropdown/_dropdown.variables.scss +1 -0
- package/styles/scss/components/fieldset/_fieldset.scss +2 -2
- package/styles/scss/components/fieldset/_fieldset.variables.scss +1 -1
- package/styles/scss/components/fonts/_fonts-family.scss +8 -8
- package/styles/scss/components/fonts/multi-lang/_arabic.mixins.scss +5 -1
- package/styles/scss/components/fonts/multi-lang/_chinese.mixins.scss +13 -4
- package/styles/scss/components/fonts/multi-lang/_georgian.mixins.scss +5 -1
- package/styles/scss/components/fonts/multi-lang/_hebrew.mixins.scss +5 -1
- package/styles/scss/components/fonts/multi-lang/_japanese.mixins.scss +15 -5
- package/styles/scss/components/fonts/multi-lang/_korean.mixins.scss +12 -4
- package/styles/scss/components/footer/_footer.mixins.scss +36 -0
- package/styles/scss/components/footer/_footer.scss +49 -15
- package/styles/scss/components/footer/_footer.variables.scss +0 -1
- package/styles/scss/components/form/_form.scss +31 -1
- package/styles/scss/components/icon/_amadeus-icon.scss +2 -2
- package/styles/scss/components/inputs/_inputs.mixin.scss +2 -2
- package/styles/scss/components/inputs/_inputs.scss +3 -3
- package/styles/scss/components/link/_link.mixins.scss +72 -75
- package/styles/scss/components/link/_link.scss +26 -32
- package/styles/scss/components/link/_link.variables.scss +3 -0
- package/styles/scss/components/list-group/_list-group.scss +30 -5
- package/styles/scss/components/list-group/_list-group.variables.scss +6 -2
- package/styles/scss/components/media/_media.scss +8 -1
- package/styles/scss/components/media/_media.variables.scss +2 -0
- package/styles/scss/components/modal/_modal.scss +17 -4
- package/styles/scss/components/modal/_modal.variables.scss +1 -0
- package/styles/scss/components/navbar/_navbar.mixins.scss +55 -0
- package/styles/scss/components/navbar/_navbar.scss +180 -71
- package/styles/scss/components/navbar/_navbar.variables.scss +42 -13
- package/styles/scss/components/pagination/_pagination.scss +51 -2
- package/styles/scss/components/pagination/_pagination.variables.scss +3 -0
- package/styles/scss/components/popover/_popover.mixin.scss +1 -1
- package/styles/scss/components/popover/_popover.scss +1 -1
- package/styles/scss/components/popover/_popover.variables.scss +4 -0
- package/styles/scss/components/progressbar/_progressbar.scss +11 -0
- package/styles/scss/components/progressbar/_progressbar.variables.scss +5 -0
- package/styles/scss/components/radio/_radio.scss +11 -4
- package/styles/scss/components/radio/_radio.variables.scss +1 -0
- package/styles/scss/components/rating/_rating.scss +21 -3
- package/styles/scss/components/scrollspy/_scrollspy.scss +8 -1
- package/styles/scss/components/select/_select.mixin.scss +34 -0
- package/styles/scss/components/select/_select.scss +5 -19
- package/styles/scss/components/select/_select.variables.scss +2 -0
- package/styles/scss/components/sidenav/_sidenav.scss +2 -2
- package/styles/scss/components/speechbubble/_speechbubble.scss +19 -0
- package/styles/scss/components/speechbubble/_speechbubble.variables.scss +6 -0
- package/styles/scss/components/spinner/_spinner.scss +19 -0
- package/styles/scss/components/spinner/_spinner.variables.scss +6 -0
- package/styles/scss/components/stepper/_stepper.scss +29 -3
- package/styles/scss/components/stepper/_stepper.variables.scss +13 -4
- package/styles/scss/components/table/_advancedtables.scss +9 -5
- package/styles/scss/components/table/_table.scss +6 -0
- package/styles/scss/components/table/_table.variables.scss +3 -0
- package/styles/scss/components/tabs/_tabs.scss +12 -1
- package/styles/scss/components/timepicker/_timepicker.scss +5 -0
- package/styles/scss/components/timepicker/_timepicker.variables.scss +1 -0
- package/styles/scss/components/toast/_toast.scss +31 -9
- package/styles/scss/components/toggle/_toggle.scss +2 -1
- package/styles/scss/components/toggle/_toggle.variables.scss +1 -0
- package/styles/scss/components/tooltip/_tooltip.scss +12 -0
- package/styles/scss/components/tooltip/_tooltip.variables.scss +4 -0
- package/styles/scss/df-styles.scss +1 -0
- package/styles/scss/themes/brand2023/_variables.scss +477 -457
- package/styles/scss/themes/brand2023/tokens/_figma.gen.scss +3028 -0
- package/styles/scss/themes/brand2023/tokens/_mapping.gen.scss +898 -0
- package/styles/scss/utilities/_common.utilities.scss +49 -1
- package/environment.d.ts +0 -4
- package/lib/angular/accessibility/accessibility.module.d.ts +0 -10
- package/lib/angular/accessibility/components/skip-links-container/skip-links-container.component.d.ts +0 -7
- package/lib/angular/accessibility/directives/skip-link.directive.d.ts +0 -9
- package/lib/angular/alert/alert.module.d.ts +0 -8
- package/lib/angular/animation/ngbTransition.d.ts +0 -16
- package/lib/angular/animation/util.d.ts +0 -14
- package/lib/angular/card/card-advanced.module.d.ts +0 -8
- package/lib/angular/card/manage-card-selection.directive.d.ts +0 -13
- package/lib/angular/datepicker/datepicker-keyboard-nav.service.d.ts +0 -7
- package/lib/angular/datepicker/datepicker-range.directive.d.ts +0 -30
- package/lib/angular/datepicker/datepicker-range.service.d.ts +0 -32
- package/lib/angular/datepicker/datepicker.module.d.ts +0 -10
- package/lib/angular/df.module.d.ts +0 -26
- package/lib/angular/footer/footer.module.d.ts +0 -8
- package/lib/angular/icon/amadeus-icon.d.ts +0 -5
- package/lib/angular/icon/icon.module.d.ts +0 -8
- package/lib/angular/icon/insert/insert-icon.directive.d.ts +0 -12
- package/lib/angular/icon/insert/insert-icon.module.d.ts +0 -8
- package/lib/angular/inputs/click/trigger-click.directive.d.ts +0 -9
- package/lib/angular/inputs/icon/inputicon.directive.d.ts +0 -29
- package/lib/angular/inputs/input-advanced.module.d.ts +0 -10
- package/lib/angular/mediaqueries/ifMedia.directive.d.ts +0 -25
- package/lib/angular/mediaqueries/media.module.d.ts +0 -8
- package/lib/angular/mediaqueries/media.service.d.ts +0 -24
- package/lib/angular/mediaqueries/mediaUtils.service.d.ts +0 -75
- package/lib/angular/modal/modal.service.d.ts +0 -17
- package/lib/angular/popover/config/popover.config.d.ts +0 -7
- package/lib/angular/popover/popover.module.d.ts +0 -7
- package/lib/angular/progressbar/progressbar.component.d.ts +0 -61
- package/lib/angular/progressbar/progressbar.module.d.ts +0 -9
- package/lib/angular/progressindicator/default/default-spinner.component.d.ts +0 -8
- package/lib/angular/progressindicator/progressindicator-backdrop.component.d.ts +0 -8
- package/lib/angular/progressindicator/progressindicator-config.d.ts +0 -54
- package/lib/angular/progressindicator/progressindicator-container.component.d.ts +0 -11
- package/lib/angular/progressindicator/progressindicator-ref.d.ts +0 -9
- package/lib/angular/progressindicator/progressindicator.directive.d.ts +0 -16
- package/lib/angular/progressindicator/progressindicator.module.d.ts +0 -15
- package/lib/angular/progressindicator/progressindicator.service.d.ts +0 -33
- package/lib/angular/right-to-left/directionDetection.service.d.ts +0 -12
- package/lib/angular/selects/events/manage-badge-events.directive.d.ts +0 -15
- package/lib/angular/selects/nav/manage-nav-select.directive.d.ts +0 -20
- package/lib/angular/selects/option-highlight.directive.d.ts +0 -14
- package/lib/angular/selects/select.model.d.ts +0 -1
- package/lib/angular/selects/select.module.d.ts +0 -13
- package/lib/angular/sidenav/dfSideNavAnimation.d.ts +0 -7
- package/lib/angular/sidenav/dfSideNavCollapse.d.ts +0 -46
- package/lib/angular/sidenav/dfSideNavCollapse.module.d.ts +0 -9
- package/lib/angular/sidenav/dfSideNavCollapse.service.d.ts +0 -24
- package/lib/angular/sidenav/dfSideNavCollapseConfig.d.ts +0 -17
- package/lib/angular/sidenav/excludeTrap.directive.d.ts +0 -30
- package/lib/angular/sidenav/manage-sidenav.directive.d.ts +0 -10
- package/lib/angular/sidenav/sidenav-config.d.ts +0 -17
- package/lib/angular/sidenav/sidenav.component.d.ts +0 -43
- package/lib/angular/sidenav/sidenav.module.d.ts +0 -14
- package/lib/angular/sidenav/sidenav.service.d.ts +0 -180
- package/lib/angular/sidenav/sidenavlist.component.d.ts +0 -25
- package/lib/angular/slider/direction/sliderdirection.directive.d.ts +0 -13
- package/lib/angular/slider/lib/change-context.d.ts +0 -6
- package/lib/angular/slider/lib/compatibility-helper.d.ts +0 -7
- package/lib/angular/slider/lib/event-listener-helper.d.ts +0 -13
- package/lib/angular/slider/lib/event-listener.d.ts +0 -7
- package/lib/angular/slider/lib/math-helper.d.ts +0 -6
- package/lib/angular/slider/lib/options.d.ts +0 -241
- package/lib/angular/slider/lib/pointer-type.d.ts +0 -7
- package/lib/angular/slider/lib/slider-element.directive.d.ts +0 -51
- package/lib/angular/slider/lib/slider-handle.directive.d.ts +0 -22
- package/lib/angular/slider/lib/slider-label.directive.d.ts +0 -14
- package/lib/angular/slider/lib/slider.component.d.ts +0 -193
- package/lib/angular/slider/lib/tooltip-wrapper.component.d.ts +0 -13
- package/lib/angular/slider/lib/value-helper.d.ts +0 -13
- package/lib/angular/slider/slider.module.d.ts +0 -16
- package/lib/angular/stepper/stepper.component.d.ts +0 -30
- package/lib/angular/stepper/stepper.directive.d.ts +0 -37
- package/lib/angular/stepper/stepper.module.d.ts +0 -8
- package/lib/angular/stepper/stepper.service.d.ts +0 -132
- package/lib/angular/toast/toast.module.d.ts +0 -8
- package/lib/angular/tooltip/tooltip.module.d.ts +0 -9
- package/lib/angular/tooltip/truncate/tooltipTruncate.directive.d.ts +0 -19
- package/lib/angular/utils/html-element-helper.d.ts +0 -15
- package/lib/angular/utils/scrollbar.service.d.ts +0 -46
- package/lib/angular/utils/titleTruncate.directive.d.ts +0 -15
- package/lib/angular/waves-of-progress/waves.directive.d.ts +0 -36
- package/lib/angular/waves-of-progress/waves.module.d.ts +0 -7
- package/lib/index.d.ts +0 -70
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { signal, inject, ElementRef, Directive, contentChildren, computed, ChangeDetectionStrategy, Component, NgModule, HostListener, input, Renderer2, Injectable, PLATFORM_ID, InjectionToken,
|
|
3
|
-
import * as i1$1 from '@
|
|
4
|
-
import {
|
|
5
|
-
import * as i1 from '@
|
|
6
|
-
import {
|
|
2
|
+
import { signal, inject, ElementRef, DOCUMENT, Directive, contentChildren, computed, ChangeDetectionStrategy, Component, NgModule, HostListener, input, Renderer2, Injectable, PLATFORM_ID, InjectionToken, ViewContainerRef, TemplateRef, effect, RendererFactory2, booleanAttribute, numberAttribute, output, ViewEncapsulation, ApplicationRef, EnvironmentInjector, ComponentRef, createComponent, untracked, HostBinding, Input, forwardRef, EventEmitter, ContentChild, ViewChild, Output, NgZone, Injector, contentChild } from '@angular/core';
|
|
3
|
+
import * as i1$1 from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
+
import { NgbToastModule, NgbAlertModule, NgbDatepickerKeyboardService, NgbCalendar, NgbDateParserFormatter, NgbDate, NgbDatepickerModule, NgbDropdownModule, NgbAccordionModule, NgbModal, NgbPopoverConfig, NgbPopoverModule, NgbProgressbarModule, NgbConfig, NgbCollapseModule, NgbTooltip, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';
|
|
5
|
+
import * as i1 from '@angular/common';
|
|
6
|
+
import { isPlatformBrowser, isPlatformServer, NgTemplateOutlet, CommonModule, AsyncPipe } from '@angular/common';
|
|
7
7
|
import { take, map, switchMap, distinctUntilChanged, throttleTime, tap, filter, endWith, takeUntil } from 'rxjs/operators';
|
|
8
8
|
import { BehaviorSubject, fromEvent, Subscription, combineLatest, Subject, Observable, EMPTY, of, timer, race } from 'rxjs';
|
|
9
9
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
10
10
|
import * as i2 from '@angular/router';
|
|
11
11
|
import { RouterModule } from '@angular/router';
|
|
12
12
|
import { takeUntilDestroyed, toSignal } from '@angular/core/rxjs-interop';
|
|
13
|
-
import
|
|
14
|
-
import { NgSelectModule } from '@ng-select/ng-select';
|
|
13
|
+
import { NgSelectComponent, NgSelectModule } from '@ng-select/ng-select';
|
|
15
14
|
import { HttpClient } from '@angular/common/http';
|
|
16
15
|
|
|
17
16
|
class SkipLinkDirective {
|
|
@@ -38,10 +37,10 @@ class SkipLinkDirective {
|
|
|
38
37
|
}
|
|
39
38
|
});
|
|
40
39
|
}
|
|
41
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
42
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
40
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: SkipLinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
41
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.4", type: SkipLinkDirective, isStandalone: true, selector: "[dfSkipLink]", host: { listeners: { "focus": "inFocus.set(true)", "click": "focusOnTarget()", "blur": "inFocus.set(false)" }, classAttribute: "list-group-item list-group-item-action" }, ngImport: i0 }); }
|
|
43
42
|
}
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: SkipLinkDirective, decorators: [{
|
|
45
44
|
type: Directive,
|
|
46
45
|
args: [{
|
|
47
46
|
selector: '[dfSkipLink]',
|
|
@@ -59,20 +58,20 @@ class SkipLinksContainerComponent {
|
|
|
59
58
|
this.links = contentChildren(SkipLinkDirective);
|
|
60
59
|
this.inFocus = computed(() => this.links().some((link) => link.inFocus()));
|
|
61
60
|
}
|
|
62
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
63
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "
|
|
61
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: SkipLinksContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
62
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.0.4", type: SkipLinksContainerComponent, isStandalone: true, selector: "df-skip-links-container", queries: [{ propertyName: "links", predicate: SkipLinkDirective, isSignal: true }], ngImport: i0, template: "<section class=\"df-skip-links__section\">\n <div class=\"df-skip-links\">\n <div class=\"df-skip-links-wrap list-group\" [class.focus]=\"inFocus()\">\n <ng-content></ng-content>\n </div>\n </div>\n</section>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
64
63
|
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: SkipLinksContainerComponent, decorators: [{
|
|
66
65
|
type: Component,
|
|
67
66
|
args: [{ selector: 'df-skip-links-container', changeDetection: ChangeDetectionStrategy.OnPush, template: "<section class=\"df-skip-links__section\">\n <div class=\"df-skip-links\">\n <div class=\"df-skip-links-wrap list-group\" [class.focus]=\"inFocus()\">\n <ng-content></ng-content>\n </div>\n </div>\n</section>\n" }]
|
|
68
67
|
}] });
|
|
69
68
|
|
|
70
69
|
class DfAccessibilityModule {
|
|
71
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
72
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
73
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
70
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfAccessibilityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
71
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfAccessibilityModule, imports: [SkipLinkDirective, SkipLinksContainerComponent], exports: [SkipLinkDirective, SkipLinksContainerComponent] }); }
|
|
72
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfAccessibilityModule }); }
|
|
74
73
|
}
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfAccessibilityModule, decorators: [{
|
|
76
75
|
type: NgModule,
|
|
77
76
|
args: [{
|
|
78
77
|
imports: [SkipLinkDirective, SkipLinksContainerComponent],
|
|
@@ -81,7 +80,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
81
80
|
}] });
|
|
82
81
|
|
|
83
82
|
class DfInsertIconDirective {
|
|
84
|
-
constructor(
|
|
83
|
+
constructor(
|
|
84
|
+
// eslint-disable-next-line @angular-eslint/prefer-inject
|
|
85
|
+
el,
|
|
86
|
+
// eslint-disable-next-line @angular-eslint/prefer-inject
|
|
87
|
+
renderer) {
|
|
85
88
|
this.el = el;
|
|
86
89
|
this.renderer = renderer;
|
|
87
90
|
this.supportedCmps = ['alert', 'toast'];
|
|
@@ -114,10 +117,10 @@ class DfInsertIconDirective {
|
|
|
114
117
|
}
|
|
115
118
|
return 'fa-info-circle';
|
|
116
119
|
}
|
|
117
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
118
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
120
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfInsertIconDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
121
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.4", type: DfInsertIconDirective, isStandalone: true, selector: "ngb-alert[dfInsertAlertIcon],ngb-toast[dfInsertToastIcon]", host: { attributes: { "ngSkipHydration": "true" } }, ngImport: i0 }); }
|
|
119
122
|
}
|
|
120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfInsertIconDirective, decorators: [{
|
|
121
124
|
type: Directive,
|
|
122
125
|
args: [{
|
|
123
126
|
selector: 'ngb-alert[dfInsertAlertIcon],ngb-toast[dfInsertToastIcon]',
|
|
@@ -128,11 +131,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
128
131
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }] });
|
|
129
132
|
|
|
130
133
|
class DfInsertIconModule {
|
|
131
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
132
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
133
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
134
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfInsertIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
135
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfInsertIconModule, imports: [DfInsertIconDirective], exports: [DfInsertIconDirective] }); }
|
|
136
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfInsertIconModule }); }
|
|
134
137
|
}
|
|
135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfInsertIconModule, decorators: [{
|
|
136
139
|
type: NgModule,
|
|
137
140
|
args: [{
|
|
138
141
|
imports: [DfInsertIconDirective],
|
|
@@ -141,11 +144,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
141
144
|
}] });
|
|
142
145
|
|
|
143
146
|
class DfToastModule {
|
|
144
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
145
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
146
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
147
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
148
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfToastModule, imports: [DfInsertIconModule], exports: [NgbToastModule, DfInsertIconModule] }); }
|
|
149
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfToastModule, imports: [DfInsertIconModule, NgbToastModule, DfInsertIconModule] }); }
|
|
147
150
|
}
|
|
148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfToastModule, decorators: [{
|
|
149
152
|
type: NgModule,
|
|
150
153
|
args: [{
|
|
151
154
|
imports: [DfInsertIconModule],
|
|
@@ -154,11 +157,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
154
157
|
}] });
|
|
155
158
|
|
|
156
159
|
class DfAlertModule {
|
|
157
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
158
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
159
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
160
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
161
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfAlertModule, imports: [DfInsertIconModule], exports: [NgbAlertModule, DfInsertIconModule] }); }
|
|
162
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfAlertModule, imports: [DfInsertIconModule, NgbAlertModule, DfInsertIconModule] }); }
|
|
160
163
|
}
|
|
161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfAlertModule, decorators: [{
|
|
162
165
|
type: NgModule,
|
|
163
166
|
args: [{
|
|
164
167
|
imports: [DfInsertIconModule],
|
|
@@ -167,23 +170,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
167
170
|
}] });
|
|
168
171
|
|
|
169
172
|
class DfTriggerClickDirective {
|
|
170
|
-
constructor(
|
|
171
|
-
this.elementRef =
|
|
173
|
+
constructor() {
|
|
174
|
+
this.elementRef = inject(ElementRef);
|
|
172
175
|
}
|
|
173
176
|
triggerClick(event) {
|
|
174
177
|
event.stopPropagation();
|
|
175
178
|
event.preventDefault();
|
|
176
179
|
this.elementRef.nativeElement.click();
|
|
177
180
|
}
|
|
178
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
179
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
181
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfTriggerClickDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
182
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.4", type: DfTriggerClickDirective, isStandalone: true, selector: "[dfTriggerClick]", host: { listeners: { "keydown.enter": "triggerClick($event)", "keydown.space": "triggerClick($event)" } }, ngImport: i0 }); }
|
|
180
183
|
}
|
|
181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfTriggerClickDirective, decorators: [{
|
|
182
185
|
type: Directive,
|
|
183
186
|
args: [{
|
|
184
187
|
selector: '[dfTriggerClick]'
|
|
185
188
|
}]
|
|
186
|
-
}],
|
|
189
|
+
}], propDecorators: { triggerClick: [{
|
|
187
190
|
type: HostListener,
|
|
188
191
|
args: ['keydown.enter', ['$event']]
|
|
189
192
|
}, {
|
|
@@ -263,10 +266,10 @@ class DfInputIconDirective {
|
|
|
263
266
|
});
|
|
264
267
|
});
|
|
265
268
|
}
|
|
266
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
267
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
269
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfInputIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
270
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.4", type: DfInputIconDirective, isStandalone: true, selector: "[dfInputIcon]", inputs: { dfInputIcon: { classPropertyName: "dfInputIcon", publicName: "dfInputIcon", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "blur": "onBlur()", "focus": "onFocus()", "keydown.Tab": "onTab($event)" } }, exportAs: ["dfInputIcon"], ngImport: i0 }); }
|
|
268
271
|
}
|
|
269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfInputIconDirective, decorators: [{
|
|
270
273
|
type: Directive,
|
|
271
274
|
args: [{
|
|
272
275
|
exportAs: 'dfInputIcon',
|
|
@@ -280,11 +283,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
280
283
|
}] });
|
|
281
284
|
|
|
282
285
|
class DfAdvancedInputModule {
|
|
283
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
284
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
285
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
286
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfAdvancedInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
287
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfAdvancedInputModule, imports: [DfTriggerClickDirective, DfInputIconDirective], exports: [DfTriggerClickDirective, DfInputIconDirective] }); }
|
|
288
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfAdvancedInputModule }); }
|
|
286
289
|
}
|
|
287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfAdvancedInputModule, decorators: [{
|
|
288
291
|
type: NgModule,
|
|
289
292
|
args: [{
|
|
290
293
|
imports: [DfTriggerClickDirective, DfInputIconDirective],
|
|
@@ -321,10 +324,10 @@ class DfDatepickerKeyboardService extends NgbDatepickerKeyboardService {
|
|
|
321
324
|
event.preventDefault();
|
|
322
325
|
event.stopPropagation();
|
|
323
326
|
}
|
|
324
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
325
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
327
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfDatepickerKeyboardService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
328
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfDatepickerKeyboardService }); }
|
|
326
329
|
}
|
|
327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
330
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfDatepickerKeyboardService, decorators: [{
|
|
328
331
|
type: Injectable
|
|
329
332
|
}] });
|
|
330
333
|
|
|
@@ -348,10 +351,10 @@ class DfDirectionDetectionService {
|
|
|
348
351
|
}
|
|
349
352
|
return RightToLeftDirectionEnum.LeftToRight;
|
|
350
353
|
}
|
|
351
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
352
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
354
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfDirectionDetectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
355
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfDirectionDetectionService, providedIn: 'root' }); }
|
|
353
356
|
}
|
|
354
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfDirectionDetectionService, decorators: [{
|
|
355
358
|
type: Injectable,
|
|
356
359
|
args: [{
|
|
357
360
|
providedIn: 'root'
|
|
@@ -449,10 +452,10 @@ class DfDatepickerRangeDirective {
|
|
|
449
452
|
ngOnDestroy() {
|
|
450
453
|
this.removeListener.forEach((item) => item());
|
|
451
454
|
}
|
|
452
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
453
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
455
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfDatepickerRangeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
456
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.4", type: DfDatepickerRangeDirective, isStandalone: true, selector: "[dfDatepickerRange]", exportAs: ["dfDatepickerRange"], ngImport: i0 }); }
|
|
454
457
|
}
|
|
455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfDatepickerRangeDirective, decorators: [{
|
|
456
459
|
type: Directive,
|
|
457
460
|
args: [{
|
|
458
461
|
exportAs: 'dfDatepickerRange',
|
|
@@ -461,9 +464,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
461
464
|
}] });
|
|
462
465
|
|
|
463
466
|
class DfDatepickerRangeService {
|
|
464
|
-
constructor(
|
|
465
|
-
this.calendar = calendar;
|
|
466
|
-
this.formatter = formatter;
|
|
467
|
+
constructor() {
|
|
467
468
|
this.fromDate = null;
|
|
468
469
|
this.toDate = null;
|
|
469
470
|
this.hoveredDate = null;
|
|
@@ -473,6 +474,8 @@ class DfDatepickerRangeService {
|
|
|
473
474
|
this.getFocusBack = null;
|
|
474
475
|
this.isClosingOnToDate = true;
|
|
475
476
|
this.datepicker = null;
|
|
477
|
+
this.calendar = inject(NgbCalendar);
|
|
478
|
+
this.formatter = inject(NgbDateParserFormatter);
|
|
476
479
|
}
|
|
477
480
|
onDateSelection(date) {
|
|
478
481
|
if (!this.fromDate && !this.toDate) {
|
|
@@ -546,22 +549,22 @@ class DfDatepickerRangeService {
|
|
|
546
549
|
this.toDate = this.parseInput(this.toDate, typed);
|
|
547
550
|
this.toDateAsStr = this.formatter.format(this.toDate);
|
|
548
551
|
}
|
|
549
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
550
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
552
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfDatepickerRangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
553
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfDatepickerRangeService }); }
|
|
551
554
|
}
|
|
552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
555
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfDatepickerRangeService, decorators: [{
|
|
553
556
|
type: Injectable
|
|
554
|
-
}]
|
|
557
|
+
}] });
|
|
555
558
|
|
|
556
559
|
class DfDatePickerModule {
|
|
557
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
558
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
559
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
560
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfDatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
561
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfDatePickerModule, imports: [NgbDropdownModule, DfDatepickerRangeDirective], exports: [NgbDatepickerModule, DfAdvancedInputModule, DfDatepickerRangeDirective, NgbDropdownModule] }); }
|
|
562
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfDatePickerModule, providers: [
|
|
560
563
|
{ provide: NgbDatepickerKeyboardService, useClass: DfDatepickerKeyboardService },
|
|
561
564
|
DfDatepickerRangeService
|
|
562
565
|
], imports: [NgbDropdownModule, NgbDatepickerModule, DfAdvancedInputModule, NgbDropdownModule] }); }
|
|
563
566
|
}
|
|
564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
567
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfDatePickerModule, decorators: [{
|
|
565
568
|
type: NgModule,
|
|
566
569
|
args: [{
|
|
567
570
|
imports: [NgbDropdownModule, DfDatepickerRangeDirective],
|
|
@@ -590,10 +593,10 @@ const BREAKPOINTS_VARS = new InjectionToken('Bootstrap Breakpoints', {
|
|
|
590
593
|
}
|
|
591
594
|
});
|
|
592
595
|
class DfBreakpoints {
|
|
593
|
-
constructor(
|
|
594
|
-
this._breakPointsVar = _breakPointsVar;
|
|
595
|
-
this.platformID = platformID;
|
|
596
|
+
constructor() {
|
|
596
597
|
this._breakPoints$ = new BehaviorSubject(null);
|
|
598
|
+
this._breakPointsVar = inject(BREAKPOINTS_VARS);
|
|
599
|
+
this.platformID = inject(PLATFORM_ID);
|
|
597
600
|
this.initBreakpoints();
|
|
598
601
|
}
|
|
599
602
|
get breakPoints$() {
|
|
@@ -657,22 +660,16 @@ class DfBreakpoints {
|
|
|
657
660
|
}
|
|
658
661
|
return dict;
|
|
659
662
|
}
|
|
660
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
661
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
663
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfBreakpoints, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
664
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfBreakpoints, providedIn: 'root' }); }
|
|
662
665
|
}
|
|
663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
666
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfBreakpoints, decorators: [{
|
|
664
667
|
type: Injectable,
|
|
665
668
|
args: [{ providedIn: 'root' }]
|
|
666
|
-
}], ctorParameters: () => [
|
|
667
|
-
type: Inject,
|
|
668
|
-
args: [BREAKPOINTS_VARS]
|
|
669
|
-
}] }, { type: Object, decorators: [{
|
|
670
|
-
type: Inject,
|
|
671
|
-
args: [PLATFORM_ID]
|
|
672
|
-
}] }] });
|
|
669
|
+
}], ctorParameters: () => [] });
|
|
673
670
|
class DfMediaQuery {
|
|
674
|
-
constructor(
|
|
675
|
-
this._isBrowser = isPlatformBrowser(
|
|
671
|
+
constructor() {
|
|
672
|
+
this._isBrowser = isPlatformBrowser(inject(PLATFORM_ID));
|
|
676
673
|
}
|
|
677
674
|
notSupported(query) {
|
|
678
675
|
return { matches: false, media: query, addEventListener: () => { }, removeEventListener: () => { } };
|
|
@@ -685,21 +682,18 @@ class DfMediaQuery {
|
|
|
685
682
|
return this.notSupported(query);
|
|
686
683
|
}
|
|
687
684
|
}
|
|
688
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
689
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
685
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfMediaQuery, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
686
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfMediaQuery, providedIn: 'root' }); }
|
|
690
687
|
}
|
|
691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfMediaQuery, decorators: [{
|
|
692
689
|
type: Injectable,
|
|
693
690
|
args: [{ providedIn: 'root' }]
|
|
694
|
-
}]
|
|
695
|
-
type: Inject,
|
|
696
|
-
args: [PLATFORM_ID]
|
|
697
|
-
}] }] });
|
|
691
|
+
}] });
|
|
698
692
|
class DfMediaObserver {
|
|
699
|
-
constructor(
|
|
700
|
-
this._mediaQuery = _mediaQuery;
|
|
693
|
+
constructor() {
|
|
701
694
|
this._subscription = new Subscription();
|
|
702
695
|
this._queries = new Map();
|
|
696
|
+
this._mediaQuery = inject(DfMediaQuery);
|
|
703
697
|
}
|
|
704
698
|
/**
|
|
705
699
|
* Verifies if at least one of the provided media-queries is matching
|
|
@@ -707,7 +701,7 @@ class DfMediaObserver {
|
|
|
707
701
|
*/
|
|
708
702
|
matches(queries) {
|
|
709
703
|
queries = this._flattenQueries(Array.isArray(queries) ? queries : [queries]);
|
|
710
|
-
return queries.some(q => this._registerQuery(q).mediaQueryList.matches);
|
|
704
|
+
return queries.some((q) => this._registerQuery(q).mediaQueryList.matches);
|
|
711
705
|
}
|
|
712
706
|
/**
|
|
713
707
|
* Produces an observable for a set of media-queries that will emit
|
|
@@ -717,7 +711,7 @@ class DfMediaObserver {
|
|
|
717
711
|
*/
|
|
718
712
|
observe(queries) {
|
|
719
713
|
queries = this._flattenQueries(Array.isArray(queries) ? queries : [queries]);
|
|
720
|
-
return combineLatest(queries.map(q => this._registerQuery(q).mediaQueryList$)).pipe(map((events) => events.reduce((result, event) => {
|
|
714
|
+
return combineLatest(queries.map((q) => this._registerQuery(q).mediaQueryList$)).pipe(map((events) => events.reduce((result, event) => {
|
|
721
715
|
result.matches = result.matches || event.matches;
|
|
722
716
|
result.breakpoints[event.media] = event.matches;
|
|
723
717
|
return result;
|
|
@@ -727,7 +721,7 @@ class DfMediaObserver {
|
|
|
727
721
|
this._subscription.unsubscribe();
|
|
728
722
|
}
|
|
729
723
|
_flattenQueries(queries) {
|
|
730
|
-
return queries.map(q => q.split(',')).reduce((flat, a) => flat.concat(a));
|
|
724
|
+
return queries.map((q) => q.split(',')).reduce((flat, a) => flat.concat(a));
|
|
731
725
|
}
|
|
732
726
|
_registerQuery(query) {
|
|
733
727
|
if (this._queries.has(query)) {
|
|
@@ -745,22 +739,22 @@ class DfMediaObserver {
|
|
|
745
739
|
this._queries.set(query, meta);
|
|
746
740
|
return meta;
|
|
747
741
|
}
|
|
748
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
749
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
742
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfMediaObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
743
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfMediaObserver, providedIn: 'root' }); }
|
|
750
744
|
}
|
|
751
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
745
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfMediaObserver, decorators: [{
|
|
752
746
|
type: Injectable,
|
|
753
747
|
args: [{ providedIn: 'root' }]
|
|
754
|
-
}]
|
|
748
|
+
}] });
|
|
755
749
|
|
|
756
750
|
/**
|
|
757
751
|
* Services you can use to get indication about the current width screen of your application
|
|
758
752
|
* the matchMedia JS feature (https://developer.mozilla.org/fr/docs/Web/API/Window/matchMedia)
|
|
759
753
|
*/
|
|
760
754
|
class DfMedia {
|
|
761
|
-
constructor(
|
|
762
|
-
this.mediaObserver =
|
|
763
|
-
this._breakPointsService =
|
|
755
|
+
constructor() {
|
|
756
|
+
this.mediaObserver = inject(DfMediaObserver);
|
|
757
|
+
this._breakPointsService = inject(DfBreakpoints);
|
|
764
758
|
}
|
|
765
759
|
initQueries(mediaOrBreakpoints, breakPoints = {}) {
|
|
766
760
|
const queries = [];
|
|
@@ -781,19 +775,19 @@ class DfMedia {
|
|
|
781
775
|
* string/Array of string of the breakpoints name (sm...).
|
|
782
776
|
*/
|
|
783
777
|
getObservable(mediaOrBreakpoints) {
|
|
784
|
-
return this._breakPointsService.breakPoints$.pipe(map(breakpoints => {
|
|
778
|
+
return this._breakPointsService.breakPoints$.pipe(map((breakpoints) => {
|
|
785
779
|
return breakpoints ? this.initQueries(mediaOrBreakpoints, breakpoints) : this.initQueries(mediaOrBreakpoints);
|
|
786
|
-
}), switchMap(query => {
|
|
780
|
+
}), switchMap((query) => {
|
|
787
781
|
return this.mediaObserver.observe(query);
|
|
788
|
-
}), map(value => value.matches), distinctUntilChanged());
|
|
782
|
+
}), map((value) => value.matches), distinctUntilChanged());
|
|
789
783
|
}
|
|
790
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
791
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
784
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfMedia, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
785
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfMedia, providedIn: 'root' }); }
|
|
792
786
|
}
|
|
793
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfMedia, decorators: [{
|
|
794
788
|
type: Injectable,
|
|
795
789
|
args: [{ providedIn: 'root' }]
|
|
796
|
-
}]
|
|
790
|
+
}] });
|
|
797
791
|
|
|
798
792
|
/**
|
|
799
793
|
* Directive using the matchMedia JS feature (https://developer.mozilla.org/fr/docs/Web/API/Window/matchMedia)
|
|
@@ -835,20 +829,20 @@ class DfIfMediaDirective {
|
|
|
835
829
|
this._viewInstance = null;
|
|
836
830
|
}
|
|
837
831
|
}
|
|
838
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
839
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
832
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfIfMediaDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
833
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.4", type: DfIfMediaDirective, isStandalone: true, selector: "[dfIfMedia]", inputs: { dfIfMedia: { classPropertyName: "dfIfMedia", publicName: "dfIfMedia", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
840
834
|
}
|
|
841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
835
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfIfMediaDirective, decorators: [{
|
|
842
836
|
type: Directive,
|
|
843
837
|
args: [{ selector: '[dfIfMedia]' }]
|
|
844
838
|
}], ctorParameters: () => [] });
|
|
845
839
|
|
|
846
840
|
class DfMediaModule {
|
|
847
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
848
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
849
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
841
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfMediaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
842
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfMediaModule, imports: [DfIfMediaDirective], exports: [DfIfMediaDirective] }); }
|
|
843
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfMediaModule }); }
|
|
850
844
|
}
|
|
851
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfMediaModule, decorators: [{
|
|
852
846
|
type: NgModule,
|
|
853
847
|
args: [{
|
|
854
848
|
imports: [DfIfMediaDirective],
|
|
@@ -857,11 +851,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
857
851
|
}] });
|
|
858
852
|
|
|
859
853
|
class DfFooterModule {
|
|
860
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
861
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
862
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
854
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfFooterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
855
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfFooterModule, imports: [DfMediaModule, NgbAccordionModule], exports: [DfMediaModule, NgbAccordionModule] }); }
|
|
856
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfFooterModule, imports: [DfMediaModule, NgbAccordionModule, DfMediaModule, NgbAccordionModule] }); }
|
|
863
857
|
}
|
|
864
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
858
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfFooterModule, decorators: [{
|
|
865
859
|
type: NgModule,
|
|
866
860
|
args: [{
|
|
867
861
|
imports: [DfMediaModule, NgbAccordionModule],
|
|
@@ -870,8 +864,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
870
864
|
}] });
|
|
871
865
|
|
|
872
866
|
class DfAmadeusIconComponent {
|
|
873
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
874
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
867
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfAmadeusIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
868
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.4", type: DfAmadeusIconComponent, isStandalone: true, selector: "df-amadeus-icon", ngImport: i0, template: `
|
|
875
869
|
<svg
|
|
876
870
|
version="1.1"
|
|
877
871
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -907,7 +901,7 @@ class DfAmadeusIconComponent {
|
|
|
907
901
|
</svg>
|
|
908
902
|
`, isInline: true, styles: [":root{--df-navbar-height: 3.5rem}:host{min-width:60px}:host svg{margin:10%}:host.icon-primary{fill:var(--df-primary-500)}:host.icon-white{fill:#fff}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
909
903
|
}
|
|
910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfAmadeusIconComponent, decorators: [{
|
|
911
905
|
type: Component,
|
|
912
906
|
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'df-amadeus-icon', template: `
|
|
913
907
|
<svg
|
|
@@ -947,11 +941,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
947
941
|
}] });
|
|
948
942
|
|
|
949
943
|
class DfIconModule {
|
|
950
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
951
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
952
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
944
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
945
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfIconModule, imports: [DfAmadeusIconComponent], exports: [DfAmadeusIconComponent] }); }
|
|
946
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfIconModule }); }
|
|
953
947
|
}
|
|
954
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfIconModule, decorators: [{
|
|
955
949
|
type: NgModule,
|
|
956
950
|
args: [{
|
|
957
951
|
imports: [DfAmadeusIconComponent],
|
|
@@ -964,10 +958,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
964
958
|
* 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.
|
|
965
959
|
*/
|
|
966
960
|
class DfModalService {
|
|
967
|
-
constructor(
|
|
968
|
-
this.
|
|
969
|
-
this.
|
|
970
|
-
this.renderer = this.rendererFactory.createRenderer(null, null);
|
|
961
|
+
constructor() {
|
|
962
|
+
this.renderer = inject(RendererFactory2).createRenderer(null, null);
|
|
963
|
+
this.modalService = inject(NgbModal);
|
|
971
964
|
}
|
|
972
965
|
open(content, options) {
|
|
973
966
|
let modalRef;
|
|
@@ -986,34 +979,34 @@ class DfModalService {
|
|
|
986
979
|
});
|
|
987
980
|
return modalRef;
|
|
988
981
|
}
|
|
989
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
990
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
982
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
983
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfModalService, providedIn: 'root' }); }
|
|
991
984
|
}
|
|
992
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfModalService, decorators: [{
|
|
993
986
|
type: Injectable,
|
|
994
987
|
args: [{
|
|
995
988
|
providedIn: 'root'
|
|
996
989
|
}]
|
|
997
|
-
}]
|
|
990
|
+
}] });
|
|
998
991
|
|
|
999
992
|
class DfPopoverConfig extends NgbPopoverConfig {
|
|
1000
993
|
constructor() {
|
|
1001
994
|
super(...arguments);
|
|
1002
995
|
this.autoClose = 'outside';
|
|
1003
996
|
}
|
|
1004
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1005
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
997
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfPopoverConfig, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
998
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfPopoverConfig }); }
|
|
1006
999
|
}
|
|
1007
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfPopoverConfig, decorators: [{
|
|
1008
1001
|
type: Injectable
|
|
1009
1002
|
}] });
|
|
1010
1003
|
|
|
1011
1004
|
class DfPopoverModule {
|
|
1012
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1013
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1014
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1005
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1006
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfPopoverModule, exports: [NgbPopoverModule] }); }
|
|
1007
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfPopoverModule, providers: [{ provide: NgbPopoverConfig, useClass: DfPopoverConfig }], imports: [NgbPopoverModule] }); }
|
|
1015
1008
|
}
|
|
1016
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfPopoverModule, decorators: [{
|
|
1017
1010
|
type: NgModule,
|
|
1018
1011
|
args: [{
|
|
1019
1012
|
exports: [NgbPopoverModule],
|
|
@@ -1142,20 +1135,20 @@ class DfProgressbarComponent {
|
|
|
1142
1135
|
resetProgressBarValues() {
|
|
1143
1136
|
this.innerValue.set(0);
|
|
1144
1137
|
}
|
|
1145
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1146
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1138
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfProgressbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1139
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.4", type: DfProgressbarComponent, isStandalone: true, selector: "df-progressbar", inputs: { infiniteAnimation: { classPropertyName: "infiniteAnimation", publicName: "infiniteAnimation", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, maxValue: { classPropertyName: "maxValue", publicName: "maxValue", isSignal: true, isRequired: false, transformFunction: null }, start$: { classPropertyName: "start$", publicName: "start$", isSignal: true, isRequired: false, transformFunction: null }, end$: { classPropertyName: "end$", publicName: "end$", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { percentageValueChange: "percentageValueChange" }, ngImport: i0, template: "@if (displayProgressBar()) {\n @if (computedText(); as computedText) {\n <div class=\"progressbar-text mb-2\">{{ computedText }}</div>\n }\n @if (infiniteAnimation()) {\n <div\n class=\"progress\"\n role=\"progressbar\"\n aria-valuetext=\"indeterminate\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-label]=\"!ariaLabelledBy() && ariaLabel() ? ariaLabel() : null\"\n >\n <div class=\"progress-bar infinite-animation\"></div>\n </div>\n } @else {\n <div\n class=\"progress\"\n role=\"progressbar\"\n [attr.aria-valuenow]=\"innerValue()\"\n aria-valuemin=\"0\"\n [attr.aria-valuemax]=\"maxValue()\"\n [attr.aria-valuetext]=\"computedText() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-label]=\"!ariaLabelledBy() && ariaLabel() ? ariaLabel() : null\"\n >\n <div [style.width.%]=\"percentageValue()\" class=\"progress-bar\"></div>\n </div>\n }\n}\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1147
1140
|
}
|
|
1148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfProgressbarComponent, decorators: [{
|
|
1149
1142
|
type: Component,
|
|
1150
1143
|
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'df-progressbar', template: "@if (displayProgressBar()) {\n @if (computedText(); as computedText) {\n <div class=\"progressbar-text mb-2\">{{ computedText }}</div>\n }\n @if (infiniteAnimation()) {\n <div\n class=\"progress\"\n role=\"progressbar\"\n aria-valuetext=\"indeterminate\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-label]=\"!ariaLabelledBy() && ariaLabel() ? ariaLabel() : null\"\n >\n <div class=\"progress-bar infinite-animation\"></div>\n </div>\n } @else {\n <div\n class=\"progress\"\n role=\"progressbar\"\n [attr.aria-valuenow]=\"innerValue()\"\n aria-valuemin=\"0\"\n [attr.aria-valuemax]=\"maxValue()\"\n [attr.aria-valuetext]=\"computedText() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-label]=\"!ariaLabelledBy() && ariaLabel() ? ariaLabel() : null\"\n >\n <div [style.width.%]=\"percentageValue()\" class=\"progress-bar\"></div>\n </div>\n }\n}\n" }]
|
|
1151
1144
|
}], ctorParameters: () => [] });
|
|
1152
1145
|
|
|
1153
1146
|
class DfProgressbarModule {
|
|
1154
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1155
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1156
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1147
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfProgressbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1148
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfProgressbarModule, imports: [DfProgressbarComponent], exports: [DfProgressbarComponent, NgbProgressbarModule] }); }
|
|
1149
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfProgressbarModule, imports: [NgbProgressbarModule] }); }
|
|
1157
1150
|
}
|
|
1158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfProgressbarModule, decorators: [{
|
|
1159
1152
|
type: NgModule,
|
|
1160
1153
|
args: [{
|
|
1161
1154
|
imports: [DfProgressbarComponent],
|
|
@@ -1206,10 +1199,10 @@ class DfProgressIndicatorContainerComponent {
|
|
|
1206
1199
|
});
|
|
1207
1200
|
this.classes = computed(() => `df-progressindicator-container ${this.containerClass() || ''} ${this.positionClass()}`);
|
|
1208
1201
|
}
|
|
1209
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1210
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
1202
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfProgressIndicatorContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1203
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.4", type: DfProgressIndicatorContainerComponent, isStandalone: true, selector: "df-progressindicator-container", inputs: { containerClass: { classPropertyName: "containerClass", publicName: "containerClass", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()" } }, ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1211
1204
|
}
|
|
1212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfProgressIndicatorContainerComponent, decorators: [{
|
|
1213
1206
|
type: Component,
|
|
1214
1207
|
args: [{
|
|
1215
1208
|
selector: 'df-progressindicator-container',
|
|
@@ -1228,10 +1221,10 @@ class DfDefaultSpinnerComponent {
|
|
|
1228
1221
|
this.contentClass = input('spinner-border text-primary');
|
|
1229
1222
|
this.ariaLabel = input();
|
|
1230
1223
|
}
|
|
1231
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1232
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1224
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfDefaultSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1225
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.4", type: DfDefaultSpinnerComponent, isStandalone: true, selector: "df-default-spinner", inputs: { isGlobalSpinner: { classPropertyName: "isGlobalSpinner", publicName: "isGlobalSpinner", isSignal: true, isRequired: false, transformFunction: null }, contentClass: { classPropertyName: "contentClass", publicName: "contentClass", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"contentClass()\" [attr.role]=\"isGlobalSpinner() ? 'alert' : 'status'\">\n <span class=\"visually-hidden\">\n @if (ariaLabel(); as ariaLabel) {\n {{ ariaLabel }}\n } @else {\n <ng-container i18n=\"@@df.progressindicator.default.spinner.ariaLabel\">Loading...</ng-container>\n }\n </span>\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1233
1226
|
}
|
|
1234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfDefaultSpinnerComponent, decorators: [{
|
|
1235
1228
|
type: Component,
|
|
1236
1229
|
args: [{ selector: 'df-default-spinner', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"contentClass()\" [attr.role]=\"isGlobalSpinner() ? 'alert' : 'status'\">\n <span class=\"visually-hidden\">\n @if (ariaLabel(); as ariaLabel) {\n {{ ariaLabel }}\n } @else {\n <ng-container i18n=\"@@df.progressindicator.default.spinner.ariaLabel\">Loading...</ng-container>\n }\n </span>\n</div>\n" }]
|
|
1237
1230
|
}] });
|
|
@@ -1242,10 +1235,10 @@ class DfProgressIndicatorBackdropComponent {
|
|
|
1242
1235
|
this.isGlobalBackdrop = input(true);
|
|
1243
1236
|
this.classes = computed(() => `df-progressindicator-backdrop ${this.backdropClass() || ''} df-progressindicator-backdrop${this.isGlobalBackdrop() ? '-global' : '-contextual'}`);
|
|
1244
1237
|
}
|
|
1245
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1246
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
1238
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfProgressIndicatorBackdropComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1239
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.4", type: DfProgressIndicatorBackdropComponent, isStandalone: true, selector: "df-progressindicator-backdrop", inputs: { backdropClass: { classPropertyName: "backdropClass", publicName: "backdropClass", isSignal: true, isRequired: false, transformFunction: null }, isGlobalBackdrop: { classPropertyName: "isGlobalBackdrop", publicName: "isGlobalBackdrop", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1247
1240
|
}
|
|
1248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfProgressIndicatorBackdropComponent, decorators: [{
|
|
1249
1242
|
type: Component,
|
|
1250
1243
|
args: [{
|
|
1251
1244
|
selector: 'df-progressindicator-backdrop',
|
|
@@ -1275,8 +1268,8 @@ const noop$1 = () => { };
|
|
|
1275
1268
|
* It is a copy of https://github.com/ng-bootstrap/ng-bootstrap/blob/master/src/util/scrollbar.ts
|
|
1276
1269
|
*/
|
|
1277
1270
|
class ScrollBar {
|
|
1278
|
-
constructor(
|
|
1279
|
-
this._document =
|
|
1271
|
+
constructor() {
|
|
1272
|
+
this._document = inject(DOCUMENT);
|
|
1280
1273
|
}
|
|
1281
1274
|
/**
|
|
1282
1275
|
* To be called right before a potential vertical scrollbar would be removed:
|
|
@@ -1330,25 +1323,17 @@ class ScrollBar {
|
|
|
1330
1323
|
body.removeChild(measurer);
|
|
1331
1324
|
return width;
|
|
1332
1325
|
}
|
|
1333
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1334
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1326
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: ScrollBar, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1327
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: ScrollBar, providedIn: 'root' }); }
|
|
1335
1328
|
}
|
|
1336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: ScrollBar, decorators: [{
|
|
1337
1330
|
type: Injectable,
|
|
1338
1331
|
args: [{ providedIn: 'root' }]
|
|
1339
|
-
}]
|
|
1340
|
-
type: Inject,
|
|
1341
|
-
args: [DOCUMENT]
|
|
1342
|
-
}] }] });
|
|
1332
|
+
}] });
|
|
1343
1333
|
|
|
1344
1334
|
class DfProgressIndicatorService {
|
|
1345
|
-
constructor(
|
|
1346
|
-
this.
|
|
1347
|
-
this.rendererFactory = rendererFactory;
|
|
1348
|
-
this.componentFactoryResolver = componentFactoryResolver;
|
|
1349
|
-
this.appRef = appRef;
|
|
1350
|
-
this.injector = injector;
|
|
1351
|
-
this.scrollbar = scrollbar;
|
|
1335
|
+
constructor() {
|
|
1336
|
+
this.renderer = inject(RendererFactory2).createRenderer(null, null);
|
|
1352
1337
|
this.BODY_CLASS = 'df-progressindicator-open';
|
|
1353
1338
|
// TODO - Remove it when https://github.com/angular/angular/issues/22567
|
|
1354
1339
|
this.containerAttributes = ['containerClass', 'position'];
|
|
@@ -1356,7 +1341,10 @@ class DfProgressIndicatorService {
|
|
|
1356
1341
|
this.defaultSpinnerAttributes = ['contentClass', 'ariaLabel', 'isGlobalSpinner'];
|
|
1357
1342
|
this.defaultProgressBarAttributes = ['infiniteAnimation', 'ariaLabel'];
|
|
1358
1343
|
this.activeInstances = [];
|
|
1359
|
-
this.
|
|
1344
|
+
this.document = inject(DOCUMENT);
|
|
1345
|
+
this.appRef = inject(ApplicationRef);
|
|
1346
|
+
this.environmentInjector = inject(EnvironmentInjector);
|
|
1347
|
+
this.scrollbar = inject(ScrollBar);
|
|
1360
1348
|
}
|
|
1361
1349
|
open(content, options) {
|
|
1362
1350
|
const containerElt = this.getContainer(this.document, options);
|
|
@@ -1365,10 +1353,10 @@ class DfProgressIndicatorService {
|
|
|
1365
1353
|
}
|
|
1366
1354
|
// Create needed components
|
|
1367
1355
|
const backdropRef = options?.backdrop !== false
|
|
1368
|
-
? this.createComponent(DfProgressIndicatorBackdropComponent,
|
|
1356
|
+
? this.createComponent(DfProgressIndicatorBackdropComponent, undefined, containerElt)
|
|
1369
1357
|
: undefined;
|
|
1370
|
-
const contentRef = this.getContent(content,
|
|
1371
|
-
const containerCmpRef = this.createComponent(DfProgressIndicatorContainerComponent,
|
|
1358
|
+
const contentRef = this.getContent(content, containerElt);
|
|
1359
|
+
const containerCmpRef = this.createComponent(DfProgressIndicatorContainerComponent, contentRef, containerElt);
|
|
1372
1360
|
const onDestroyOperations = [];
|
|
1373
1361
|
// Add aria attributes on the container
|
|
1374
1362
|
this.renderer.setAttribute(containerElt, 'aria-busy', 'true');
|
|
@@ -1436,12 +1424,12 @@ class DfProgressIndicatorService {
|
|
|
1436
1424
|
}
|
|
1437
1425
|
return options?.container ? document.querySelector(options.container) : document.body;
|
|
1438
1426
|
}
|
|
1439
|
-
getContent(content,
|
|
1427
|
+
getContent(content, container) {
|
|
1440
1428
|
if (!content) {
|
|
1441
|
-
return this.createComponent(DfDefaultSpinnerComponent
|
|
1429
|
+
return this.createComponent(DfDefaultSpinnerComponent);
|
|
1442
1430
|
}
|
|
1443
1431
|
else if (content instanceof DfProgressIndicatorContentSpinner) {
|
|
1444
|
-
const cmpRef = this.createComponent(DfDefaultSpinnerComponent
|
|
1432
|
+
const cmpRef = this.createComponent(DfDefaultSpinnerComponent);
|
|
1445
1433
|
this.applyOptions(cmpRef, this.defaultSpinnerAttributes, {
|
|
1446
1434
|
...content.spinnerInput,
|
|
1447
1435
|
isGlobalSpinner: container === this.document.body
|
|
@@ -1449,7 +1437,7 @@ class DfProgressIndicatorService {
|
|
|
1449
1437
|
return cmpRef;
|
|
1450
1438
|
}
|
|
1451
1439
|
else if (content instanceof DfProgressIndicatorContentProgressBar) {
|
|
1452
|
-
const cmpRef = this.createComponent(DfProgressbarComponent
|
|
1440
|
+
const cmpRef = this.createComponent(DfProgressbarComponent);
|
|
1453
1441
|
this.applyOptions(cmpRef, this.defaultProgressBarAttributes, {
|
|
1454
1442
|
...content.progressBarInput,
|
|
1455
1443
|
infiniteAnimation: true
|
|
@@ -1462,22 +1450,29 @@ class DfProgressIndicatorService {
|
|
|
1462
1450
|
return viewRef;
|
|
1463
1451
|
}
|
|
1464
1452
|
else {
|
|
1465
|
-
return this.createComponent(content
|
|
1453
|
+
return this.createComponent(content);
|
|
1466
1454
|
}
|
|
1467
1455
|
}
|
|
1468
|
-
createComponent(cmpType,
|
|
1469
|
-
const cmpFactory = cfr.resolveComponentFactory(cmpType);
|
|
1456
|
+
createComponent(cmpType, childrenProjectables, container) {
|
|
1470
1457
|
let cmpRef;
|
|
1471
1458
|
if (childrenProjectables) {
|
|
1472
1459
|
if (childrenProjectables instanceof ComponentRef) {
|
|
1473
|
-
cmpRef =
|
|
1460
|
+
cmpRef = createComponent(cmpType, {
|
|
1461
|
+
environmentInjector: this.environmentInjector,
|
|
1462
|
+
projectableNodes: [[childrenProjectables.location.nativeElement]]
|
|
1463
|
+
});
|
|
1474
1464
|
}
|
|
1475
1465
|
else {
|
|
1476
|
-
cmpRef =
|
|
1466
|
+
cmpRef = createComponent(cmpType, {
|
|
1467
|
+
environmentInjector: this.environmentInjector,
|
|
1468
|
+
projectableNodes: [childrenProjectables.rootNodes]
|
|
1469
|
+
});
|
|
1477
1470
|
}
|
|
1478
1471
|
}
|
|
1479
1472
|
else {
|
|
1480
|
-
cmpRef =
|
|
1473
|
+
cmpRef = createComponent(cmpType, {
|
|
1474
|
+
environmentInjector: this.environmentInjector
|
|
1475
|
+
});
|
|
1481
1476
|
}
|
|
1482
1477
|
this.appRef.attachView(cmpRef.hostView);
|
|
1483
1478
|
if (container) {
|
|
@@ -1495,18 +1490,15 @@ class DfProgressIndicatorService {
|
|
|
1495
1490
|
});
|
|
1496
1491
|
}
|
|
1497
1492
|
}
|
|
1498
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1499
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1493
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfProgressIndicatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1494
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfProgressIndicatorService, providedIn: 'root' }); }
|
|
1500
1495
|
}
|
|
1501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfProgressIndicatorService, decorators: [{
|
|
1502
1497
|
type: Injectable,
|
|
1503
1498
|
args: [{
|
|
1504
1499
|
providedIn: 'root'
|
|
1505
1500
|
}]
|
|
1506
|
-
}]
|
|
1507
|
-
type: Inject,
|
|
1508
|
-
args: [DOCUMENT]
|
|
1509
|
-
}] }, { type: i0.RendererFactory2 }, { type: i0.ComponentFactoryResolver }, { type: i0.ApplicationRef }, { type: i0.Injector }, { type: ScrollBar }] });
|
|
1501
|
+
}] });
|
|
1510
1502
|
|
|
1511
1503
|
class DfProgressIndicatorDirective {
|
|
1512
1504
|
constructor() {
|
|
@@ -1529,10 +1521,10 @@ class DfProgressIndicatorDirective {
|
|
|
1529
1521
|
}
|
|
1530
1522
|
});
|
|
1531
1523
|
}
|
|
1532
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1533
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1524
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfProgressIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1525
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.4", type: DfProgressIndicatorDirective, isStandalone: true, selector: "[dfProgressIndicator]", inputs: { dfProgressIndicator: { classPropertyName: "dfProgressIndicator", publicName: "dfProgressIndicator", isSignal: true, isRequired: true, transformFunction: null }, dfProgressIndicatorConfig: { classPropertyName: "dfProgressIndicatorConfig", publicName: "dfProgressIndicatorConfig", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
1534
1526
|
}
|
|
1535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfProgressIndicatorDirective, decorators: [{
|
|
1536
1528
|
type: Directive,
|
|
1537
1529
|
args: [{
|
|
1538
1530
|
selector: '[dfProgressIndicator]'
|
|
@@ -1540,8 +1532,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
1540
1532
|
}], ctorParameters: () => [] });
|
|
1541
1533
|
|
|
1542
1534
|
class DfProgressIndicatorModule {
|
|
1543
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1544
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1535
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfProgressIndicatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1536
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfProgressIndicatorModule, imports: [DfDefaultSpinnerComponent,
|
|
1545
1537
|
DfProgressbarModule,
|
|
1546
1538
|
DfProgressIndicatorBackdropComponent,
|
|
1547
1539
|
DfProgressIndicatorContainerComponent,
|
|
@@ -1550,9 +1542,9 @@ class DfProgressIndicatorModule {
|
|
|
1550
1542
|
DfProgressIndicatorDirective,
|
|
1551
1543
|
DfProgressIndicatorBackdropComponent,
|
|
1552
1544
|
DfDefaultSpinnerComponent] }); }
|
|
1553
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1545
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfProgressIndicatorModule, imports: [DfProgressbarModule, DfProgressbarModule] }); }
|
|
1554
1546
|
}
|
|
1555
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1547
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfProgressIndicatorModule, decorators: [{
|
|
1556
1548
|
type: NgModule,
|
|
1557
1549
|
args: [{
|
|
1558
1550
|
imports: [
|
|
@@ -1590,10 +1582,10 @@ class DfSliderDirectionDirective {
|
|
|
1590
1582
|
}
|
|
1591
1583
|
}
|
|
1592
1584
|
}
|
|
1593
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1594
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1585
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSliderDirectionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1586
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.4", type: DfSliderDirectionDirective, isStandalone: true, selector: "[dfSliderDirection]", inputs: { dfSliderDirection: { classPropertyName: "dfSliderDirection", publicName: "dfSliderDirection", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
1595
1587
|
}
|
|
1596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSliderDirectionDirective, decorators: [{
|
|
1597
1589
|
type: Directive,
|
|
1598
1590
|
args: [{
|
|
1599
1591
|
selector: '[dfSliderDirection]'
|
|
@@ -1894,6 +1886,7 @@ class EventListenerHelper {
|
|
|
1894
1886
|
}
|
|
1895
1887
|
}
|
|
1896
1888
|
|
|
1889
|
+
/* eslint-disable @angular-eslint/prefer-inject */
|
|
1897
1890
|
/**
|
|
1898
1891
|
* @deprecated SliderElementDirective is deprecated. Use {@link https://design-factory.amadeus.net/components/slider/agnosui AgnosUI Slider} instead.
|
|
1899
1892
|
*/
|
|
@@ -2056,10 +2049,10 @@ class SliderElementDirective {
|
|
|
2056
2049
|
isRefDestroyed() {
|
|
2057
2050
|
return (ValueHelper.isNullOrUndefined(this.changeDetectionRef) || this.changeDetectionRef['destroyed']);
|
|
2058
2051
|
}
|
|
2059
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2060
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2052
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: SliderElementDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2053
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.4", type: SliderElementDirective, isStandalone: true, selector: "[ngxSliderElement]", host: { properties: { "style.opacity": "this.opacity", "style.visibility": "this.visibility", "style.left": "this.left", "style.bottom": "this.bottom", "style.height": "this.height", "style.width": "this.width", "style.transform": "this.transform" } }, ngImport: i0 }); }
|
|
2061
2054
|
}
|
|
2062
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2055
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: SliderElementDirective, decorators: [{
|
|
2063
2056
|
type: Directive,
|
|
2064
2057
|
args: [{
|
|
2065
2058
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2092,6 +2085,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
2092
2085
|
* @deprecated SliderHandleDirective is deprecated. Use {@link https://design-factory.amadeus.net/components/slider/agnosui AgnosUI Slider} instead.
|
|
2093
2086
|
*/
|
|
2094
2087
|
class SliderHandleDirective extends SliderElementDirective {
|
|
2088
|
+
// eslint-disable-next-line @angular-eslint/prefer-inject
|
|
2095
2089
|
constructor(elemRef, renderer, changeDetectionRef) {
|
|
2096
2090
|
super(elemRef, renderer, changeDetectionRef);
|
|
2097
2091
|
this.active = false;
|
|
@@ -2108,10 +2102,10 @@ class SliderHandleDirective extends SliderElementDirective {
|
|
|
2108
2102
|
focus() {
|
|
2109
2103
|
this.elemRef.nativeElement.focus();
|
|
2110
2104
|
}
|
|
2111
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2112
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2105
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: SliderHandleDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2106
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.4", type: SliderHandleDirective, isStandalone: true, selector: "[ngxSliderHandle]", host: { properties: { "class.ngx-slider-active": "this.active", "attr.role": "this.role", "attr.tabindex": "this.tabindex", "attr.aria-orientation": "this.ariaOrientation", "attr.aria-label": "this.ariaLabel", "attr.aria-labelledby": "this.ariaLabelledBy", "attr.aria-valuenow": "this.ariaValueNow", "attr.aria-valuetext": "this.ariaValueText", "attr.aria-valuemin": "this.ariaValueMin", "attr.aria-valuemax": "this.ariaValueMax" } }, usesInheritance: true, ngImport: i0 }); }
|
|
2113
2107
|
}
|
|
2114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: SliderHandleDirective, decorators: [{
|
|
2115
2109
|
type: Directive,
|
|
2116
2110
|
args: [{
|
|
2117
2111
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2156,6 +2150,7 @@ class SliderLabelDirective extends SliderElementDirective {
|
|
|
2156
2150
|
get value() {
|
|
2157
2151
|
return this._value || '';
|
|
2158
2152
|
}
|
|
2153
|
+
// eslint-disable-next-line @angular-eslint/prefer-inject
|
|
2159
2154
|
constructor(elemRef, renderer, changeDetectionRef) {
|
|
2160
2155
|
super(elemRef, renderer, changeDetectionRef);
|
|
2161
2156
|
}
|
|
@@ -2174,10 +2169,10 @@ class SliderLabelDirective extends SliderElementDirective {
|
|
|
2174
2169
|
this.calculateDimension();
|
|
2175
2170
|
}
|
|
2176
2171
|
}
|
|
2177
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2178
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2172
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: SliderLabelDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2173
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.4", type: SliderLabelDirective, isStandalone: true, selector: "[ngxSliderLabel]", usesInheritance: true, ngImport: i0 }); }
|
|
2179
2174
|
}
|
|
2180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: SliderLabelDirective, decorators: [{
|
|
2181
2176
|
type: Directive,
|
|
2182
2177
|
args: [{
|
|
2183
2178
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2190,10 +2185,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
2190
2185
|
* @deprecated TooltipWrapperComponent is deprecated. Use {@link https://design-factory.amadeus.net/components/slider/agnosui AgnosUI Slider} instead.
|
|
2191
2186
|
*/
|
|
2192
2187
|
class TooltipWrapperComponent {
|
|
2193
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2194
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2188
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: TooltipWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2189
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.4", type: TooltipWrapperComponent, isStandalone: true, selector: "ngx-slider-tooltip-wrapper", inputs: { template: "template", tooltip: "tooltip", placement: "placement", content: "content" }, ngImport: i0, template: "@if (template) {\n <ng-template\n *ngTemplateOutlet=\"template; context: { tooltip: tooltip, placement: placement, content: content }\"\n ></ng-template>\n} @else {\n <div class=\"ngx-slider-inner-tooltip\" [attr.title]=\"tooltip\" [attr.data-tooltip-placement]=\"placement\">\n {{ content }}\n </div>\n}\n", styles: [".ngx-slider-inner-tooltip{height:100%}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2195
2190
|
}
|
|
2196
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: TooltipWrapperComponent, decorators: [{
|
|
2197
2192
|
type: Component,
|
|
2198
2193
|
args: [{ selector: 'ngx-slider-tooltip-wrapper', changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet], template: "@if (template) {\n <ng-template\n *ngTemplateOutlet=\"template; context: { tooltip: tooltip, placement: placement, content: content }\"\n ></ng-template>\n} @else {\n <div class=\"ngx-slider-inner-tooltip\" [attr.title]=\"tooltip\" [attr.data-tooltip-placement]=\"placement\">\n {{ content }}\n </div>\n}\n", styles: [".ngx-slider-inner-tooltip{height:100%}\n"] }]
|
|
2199
2194
|
}], propDecorators: { template: [{
|
|
@@ -2206,6 +2201,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
2206
2201
|
type: Input
|
|
2207
2202
|
}] } });
|
|
2208
2203
|
|
|
2204
|
+
/* eslint-disable @angular-eslint/prefer-inject */
|
|
2209
2205
|
/* eslint-disable @angular-eslint/prefer-signals */
|
|
2210
2206
|
class Tick {
|
|
2211
2207
|
constructor() {
|
|
@@ -4100,10 +4096,10 @@ class SliderComponent {
|
|
|
4100
4096
|
}
|
|
4101
4097
|
return changeContext;
|
|
4102
4098
|
}
|
|
4103
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4104
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
4099
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: SliderComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4100
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.4", type: SliderComponent, isStandalone: true, selector: "ngx-slider", inputs: { value: "value", highValue: "highValue", options: "options", manualRefresh: "manualRefresh", triggerFocus: "triggerFocus" }, outputs: { valueChange: "valueChange", highValueChange: "highValueChange", userChangeStart: "userChangeStart", userChange: "userChange", userChangeEnd: "userChangeEnd" }, host: { listeners: { "window:resize": "onResize($event)" }, properties: { "class": "this.class", "class.vertical": "this.sliderElementVerticalClass", "class.animate": "this.sliderElementAnimateClass", "class.with-legend": "this.sliderElementWithLegendClass", "attr.disabled": "this.sliderElementDisabledAttr", "attr.aria-label": "this.sliderElementAriaLabel" } }, providers: [NGX_SLIDER_CONTROL_VALUE_ACCESSOR], queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], viewQueries: [{ propertyName: "leftOuterSelectionBarElement", first: true, predicate: ["leftOuterSelectionBar"], descendants: true, read: SliderElementDirective }, { propertyName: "rightOuterSelectionBarElement", first: true, predicate: ["rightOuterSelectionBar"], descendants: true, read: SliderElementDirective }, { propertyName: "fullBarElement", first: true, predicate: ["fullBar"], descendants: true, read: SliderElementDirective }, { propertyName: "selectionBarElement", first: true, predicate: ["selectionBar"], descendants: true, read: SliderElementDirective }, { propertyName: "minHandleElement", first: true, predicate: ["minHandle"], descendants: true, read: SliderHandleDirective }, { propertyName: "maxHandleElement", first: true, predicate: ["maxHandle"], descendants: true, read: SliderHandleDirective }, { propertyName: "floorLabelElement", first: true, predicate: ["floorLabel"], descendants: true, read: SliderLabelDirective }, { propertyName: "ceilLabelElement", first: true, predicate: ["ceilLabel"], descendants: true, read: SliderLabelDirective }, { propertyName: "minHandleLabelElement", first: true, predicate: ["minHandleLabel"], descendants: true, read: SliderLabelDirective }, { propertyName: "maxHandleLabelElement", first: true, predicate: ["maxHandleLabel"], descendants: true, read: SliderLabelDirective }, { propertyName: "combinedLabelElement", first: true, predicate: ["combinedLabel"], descendants: true, read: SliderLabelDirective }, { propertyName: "ticksElement", first: true, predicate: ["ticksElement"], descendants: true, read: SliderElementDirective }], usesOnChanges: true, ngImport: i0, template: "<!-- // 0 Left selection bar outside two handles -->\n<span\n ngxSliderElement\n #leftOuterSelectionBar\n class=\"ngx-slider-span ngx-slider-bar-wrapper ngx-slider-left-out-selection\"\n>\n <span class=\"ngx-slider-span ngx-slider-bar\"></span>\n</span>\n<!-- // 1 Right selection bar outside two handles -->\n<span\n ngxSliderElement\n #rightOuterSelectionBar\n class=\"ngx-slider-span ngx-slider-bar-wrapper ngx-slider-right-out-selection\"\n>\n <span class=\"ngx-slider-span ngx-slider-bar\"></span>\n</span>\n<!-- // 2 The whole slider bar -->\n<span\n ngxSliderElement\n #fullBar\n [class.ngx-slider-transparent]=\"fullBarTransparentClass\"\n class=\"ngx-slider-span ngx-slider-bar-wrapper ngx-slider-full-bar\"\n>\n <span class=\"ngx-slider-span ngx-slider-bar\"></span>\n</span>\n<!-- // 3 Selection bar between two handles -->\n<span\n ngxSliderElement\n #selectionBar\n [class.ngx-slider-draggable]=\"selectionBarDraggableClass\"\n class=\"ngx-slider-span ngx-slider-bar-wrapper ngx-slider-selection-bar\"\n>\n <span class=\"ngx-slider-span ngx-slider-bar ngx-slider-selection\" [ngStyle]=\"barStyle\"></span>\n</span>\n<!-- // 4 Low slider handle -->\n<span\n ngxSliderHandle\n #minHandle\n class=\"ngx-slider-span ngx-slider-pointer ngx-slider-pointer-min\"\n [ngStyle]=\"minPointerStyle\"\n></span>\n<!-- // 5 High slider handle -->\n<span\n ngxSliderHandle\n #maxHandle\n [style.display]=\"range ? 'inherit' : 'none'\"\n class=\"ngx-slider-span ngx-slider-pointer ngx-slider-pointer-max\"\n [ngStyle]=\"maxPointerStyle\"\n></span>\n<!-- // 6 Floor label -->\n<span ngxSliderLabel #floorLabel class=\"ngx-slider-span ngx-slider-bubble ngx-slider-limit ngx-slider-floor\"></span>\n<!-- // 7 Ceiling label -->\n<span ngxSliderLabel #ceilLabel class=\"ngx-slider-span ngx-slider-bubble ngx-slider-limit ngx-slider-ceil\"></span>\n<!-- // 8 Label above the low slider handle -->\n<span ngxSliderLabel #minHandleLabel class=\"ngx-slider-span ngx-slider-bubble ngx-slider-model-value\"></span>\n<!-- // 9 Label above the high slider handle -->\n<span ngxSliderLabel #maxHandleLabel class=\"ngx-slider-span ngx-slider-bubble ngx-slider-model-high\"></span>\n<!-- // 10 Combined range label when the slider handles are close ex. 15 - 17 -->\n<span ngxSliderLabel #combinedLabel class=\"ngx-slider-span ngx-slider-bubble ngx-slider-combined\"></span>\n<!-- // 11 The ticks -->\n<span\n ngxSliderElement\n #ticksElement\n [hidden]=\"!showTicks\"\n [class.ngx-slider-ticks-values-under]=\"ticksUnderValuesClass\"\n class=\"ngx-slider-ticks\"\n>\n @for (t of ticks; track t) {\n <span class=\"ngx-slider-tick\" [ngClass]=\"{ 'ngx-slider-selected': t.selected }\" [ngStyle]=\"t.style\">\n <ngx-slider-tooltip-wrapper\n [template]=\"tooltipTemplate\"\n [tooltip]=\"t.tooltip\"\n [placement]=\"t.tooltipPlacement\"\n ></ngx-slider-tooltip-wrapper>\n @if (t.value !== null) {\n <ngx-slider-tooltip-wrapper\n class=\"ngx-slider-span ngx-slider-tick-value\"\n [template]=\"tooltipTemplate\"\n [tooltip]=\"t.valueTooltip\"\n [placement]=\"t.valueTooltipPlacement\"\n [content]=\"t.value\"\n ></ngx-slider-tooltip-wrapper>\n }\n @if (t.legend !== null) {\n <span class=\"ngx-slider-span ngx-slider-tick-legend\" [innerHTML]=\"t.legend\"></span>\n }\n </span>\n }\n</span>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: TooltipWrapperComponent, selector: "ngx-slider-tooltip-wrapper", inputs: ["template", "tooltip", "placement", "content"] }, { kind: "directive", type: SliderLabelDirective, selector: "[ngxSliderLabel]" }, { kind: "directive", type: SliderHandleDirective, selector: "[ngxSliderHandle]" }, { kind: "directive", type: SliderElementDirective, selector: "[ngxSliderElement]" }] }); }
|
|
4105
4101
|
}
|
|
4106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: SliderComponent, decorators: [{
|
|
4107
4103
|
type: Component,
|
|
4108
4104
|
args: [{ selector: 'ngx-slider', providers: [NGX_SLIDER_CONTROL_VALUE_ACCESSOR], imports: [CommonModule, TooltipWrapperComponent, SliderLabelDirective, SliderHandleDirective, SliderElementDirective], template: "<!-- // 0 Left selection bar outside two handles -->\n<span\n ngxSliderElement\n #leftOuterSelectionBar\n class=\"ngx-slider-span ngx-slider-bar-wrapper ngx-slider-left-out-selection\"\n>\n <span class=\"ngx-slider-span ngx-slider-bar\"></span>\n</span>\n<!-- // 1 Right selection bar outside two handles -->\n<span\n ngxSliderElement\n #rightOuterSelectionBar\n class=\"ngx-slider-span ngx-slider-bar-wrapper ngx-slider-right-out-selection\"\n>\n <span class=\"ngx-slider-span ngx-slider-bar\"></span>\n</span>\n<!-- // 2 The whole slider bar -->\n<span\n ngxSliderElement\n #fullBar\n [class.ngx-slider-transparent]=\"fullBarTransparentClass\"\n class=\"ngx-slider-span ngx-slider-bar-wrapper ngx-slider-full-bar\"\n>\n <span class=\"ngx-slider-span ngx-slider-bar\"></span>\n</span>\n<!-- // 3 Selection bar between two handles -->\n<span\n ngxSliderElement\n #selectionBar\n [class.ngx-slider-draggable]=\"selectionBarDraggableClass\"\n class=\"ngx-slider-span ngx-slider-bar-wrapper ngx-slider-selection-bar\"\n>\n <span class=\"ngx-slider-span ngx-slider-bar ngx-slider-selection\" [ngStyle]=\"barStyle\"></span>\n</span>\n<!-- // 4 Low slider handle -->\n<span\n ngxSliderHandle\n #minHandle\n class=\"ngx-slider-span ngx-slider-pointer ngx-slider-pointer-min\"\n [ngStyle]=\"minPointerStyle\"\n></span>\n<!-- // 5 High slider handle -->\n<span\n ngxSliderHandle\n #maxHandle\n [style.display]=\"range ? 'inherit' : 'none'\"\n class=\"ngx-slider-span ngx-slider-pointer ngx-slider-pointer-max\"\n [ngStyle]=\"maxPointerStyle\"\n></span>\n<!-- // 6 Floor label -->\n<span ngxSliderLabel #floorLabel class=\"ngx-slider-span ngx-slider-bubble ngx-slider-limit ngx-slider-floor\"></span>\n<!-- // 7 Ceiling label -->\n<span ngxSliderLabel #ceilLabel class=\"ngx-slider-span ngx-slider-bubble ngx-slider-limit ngx-slider-ceil\"></span>\n<!-- // 8 Label above the low slider handle -->\n<span ngxSliderLabel #minHandleLabel class=\"ngx-slider-span ngx-slider-bubble ngx-slider-model-value\"></span>\n<!-- // 9 Label above the high slider handle -->\n<span ngxSliderLabel #maxHandleLabel class=\"ngx-slider-span ngx-slider-bubble ngx-slider-model-high\"></span>\n<!-- // 10 Combined range label when the slider handles are close ex. 15 - 17 -->\n<span ngxSliderLabel #combinedLabel class=\"ngx-slider-span ngx-slider-bubble ngx-slider-combined\"></span>\n<!-- // 11 The ticks -->\n<span\n ngxSliderElement\n #ticksElement\n [hidden]=\"!showTicks\"\n [class.ngx-slider-ticks-values-under]=\"ticksUnderValuesClass\"\n class=\"ngx-slider-ticks\"\n>\n @for (t of ticks; track t) {\n <span class=\"ngx-slider-tick\" [ngClass]=\"{ 'ngx-slider-selected': t.selected }\" [ngStyle]=\"t.style\">\n <ngx-slider-tooltip-wrapper\n [template]=\"tooltipTemplate\"\n [tooltip]=\"t.tooltip\"\n [placement]=\"t.tooltipPlacement\"\n ></ngx-slider-tooltip-wrapper>\n @if (t.value !== null) {\n <ngx-slider-tooltip-wrapper\n class=\"ngx-slider-span ngx-slider-tick-value\"\n [template]=\"tooltipTemplate\"\n [tooltip]=\"t.valueTooltip\"\n [placement]=\"t.valueTooltipPlacement\"\n [content]=\"t.value\"\n ></ngx-slider-tooltip-wrapper>\n }\n @if (t.legend !== null) {\n <span class=\"ngx-slider-span ngx-slider-tick-legend\" [innerHTML]=\"t.legend\"></span>\n }\n </span>\n }\n</span>\n" }]
|
|
4109
4105
|
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }], propDecorators: { class: [{
|
|
@@ -4193,16 +4189,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
4193
4189
|
* Use {@link https://design-factory.amadeus.net/components/slider/agnosui AgnosUI Slider} instead.
|
|
4194
4190
|
*/
|
|
4195
4191
|
class DfSliderModule {
|
|
4196
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4197
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4192
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4193
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfSliderModule, imports: [SliderComponent,
|
|
4198
4194
|
SliderElementDirective,
|
|
4199
4195
|
SliderHandleDirective,
|
|
4200
4196
|
SliderLabelDirective,
|
|
4201
4197
|
TooltipWrapperComponent,
|
|
4202
4198
|
DfSliderDirectionDirective], exports: [DfSliderDirectionDirective, SliderComponent] }); }
|
|
4203
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4199
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSliderModule, imports: [SliderComponent] }); }
|
|
4204
4200
|
}
|
|
4205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSliderModule, decorators: [{
|
|
4206
4202
|
type: NgModule,
|
|
4207
4203
|
args: [{
|
|
4208
4204
|
imports: [
|
|
@@ -4232,10 +4228,10 @@ class DfSideNavConfig {
|
|
|
4232
4228
|
this.isAppOverlay = false;
|
|
4233
4229
|
this.isAppOverlayMode = true;
|
|
4234
4230
|
}
|
|
4235
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4236
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4231
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4232
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavConfig, providedIn: 'root' }); }
|
|
4237
4233
|
}
|
|
4238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavConfig, decorators: [{
|
|
4239
4235
|
type: Injectable,
|
|
4240
4236
|
args: [{ providedIn: 'root' }]
|
|
4241
4237
|
}] });
|
|
@@ -4258,19 +4254,19 @@ var DfNavItemType;
|
|
|
4258
4254
|
* Creating a sidenav is straightforward: use [DfSideNavComponent](#/components/sidenav/api#DfSideNavComponent) component
|
|
4259
4255
|
*/
|
|
4260
4256
|
class DfSideNavService {
|
|
4261
|
-
constructor(
|
|
4262
|
-
this.config = config;
|
|
4257
|
+
constructor() {
|
|
4263
4258
|
this.type = DfNavItemType;
|
|
4264
|
-
this.
|
|
4265
|
-
this.subscription = new Subscription();
|
|
4259
|
+
this.config = inject(DfSideNavConfig);
|
|
4266
4260
|
this._sideNavItems$ = new BehaviorSubject([]);
|
|
4267
|
-
this._isMinmized$ = new BehaviorSubject(config.isMinmized);
|
|
4268
|
-
this._isCollapsed$ = new BehaviorSubject(config.isCollapsed);
|
|
4269
|
-
this._isPresent$ = new BehaviorSubject(config.isPresent);
|
|
4270
|
-
this._isInMenuOverlay$ = new BehaviorSubject(config.isInMenuOverlay);
|
|
4271
|
-
this._isAppOverlay$ = new BehaviorSubject(config.isAppOverlay);
|
|
4261
|
+
this._isMinmized$ = new BehaviorSubject(this.config.isMinmized);
|
|
4262
|
+
this._isCollapsed$ = new BehaviorSubject(this.config.isCollapsed);
|
|
4263
|
+
this._isPresent$ = new BehaviorSubject(this.config.isPresent);
|
|
4272
4264
|
this._activeItem$ = new BehaviorSubject(null);
|
|
4273
|
-
this.
|
|
4265
|
+
this._isInMenuOverlay$ = new BehaviorSubject(this.config.isInMenuOverlay);
|
|
4266
|
+
this._isAppOverlay$ = new BehaviorSubject(this.config.isAppOverlay);
|
|
4267
|
+
this._isAppOverlayMode = this.config.isAppOverlayMode;
|
|
4268
|
+
this._items = [];
|
|
4269
|
+
this.subscription = new Subscription();
|
|
4274
4270
|
this.subscription.add(this._isCollapsed$.subscribe(() => {
|
|
4275
4271
|
this.updateOverLay();
|
|
4276
4272
|
}));
|
|
@@ -4542,15 +4538,15 @@ class DfSideNavService {
|
|
|
4542
4538
|
updateOverLay() {
|
|
4543
4539
|
this._isAppOverlay$.next(this.isAppOverlayMode && this._isCollapsed$.value === false);
|
|
4544
4540
|
}
|
|
4545
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4546
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4541
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4542
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavService, providedIn: 'root' }); }
|
|
4547
4543
|
}
|
|
4548
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavService, decorators: [{
|
|
4549
4545
|
type: Injectable,
|
|
4550
4546
|
args: [{
|
|
4551
4547
|
providedIn: 'root'
|
|
4552
4548
|
}]
|
|
4553
|
-
}], ctorParameters: () => [
|
|
4549
|
+
}], ctorParameters: () => [] });
|
|
4554
4550
|
|
|
4555
4551
|
const environment = {
|
|
4556
4552
|
animation: true,
|
|
@@ -4665,8 +4661,8 @@ const ngbCompleteTransition = (element) => {
|
|
|
4665
4661
|
* to provide default values for the sideNav used in the application.
|
|
4666
4662
|
*/
|
|
4667
4663
|
class DfSideNavCollapseConfig {
|
|
4668
|
-
constructor(
|
|
4669
|
-
this._ngbConfig =
|
|
4664
|
+
constructor() {
|
|
4665
|
+
this._ngbConfig = inject(NgbConfig);
|
|
4670
4666
|
}
|
|
4671
4667
|
get animation() {
|
|
4672
4668
|
return this._animation === undefined ? this._ngbConfig.animation : this._animation;
|
|
@@ -4674,13 +4670,13 @@ class DfSideNavCollapseConfig {
|
|
|
4674
4670
|
set animation(animation) {
|
|
4675
4671
|
this._animation = animation;
|
|
4676
4672
|
}
|
|
4677
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4678
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4673
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavCollapseConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4674
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavCollapseConfig, providedIn: 'root' }); }
|
|
4679
4675
|
}
|
|
4680
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4676
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavCollapseConfig, decorators: [{
|
|
4681
4677
|
type: Injectable,
|
|
4682
4678
|
args: [{ providedIn: 'root' }]
|
|
4683
|
-
}]
|
|
4679
|
+
}] });
|
|
4684
4680
|
|
|
4685
4681
|
/**
|
|
4686
4682
|
* A service for managing the sidenav panel animation.
|
|
@@ -4689,9 +4685,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
4689
4685
|
* Creating a sidenav is straightforward: use [DfSideNavComponent](#/components/sidenav/api#DfSideNavComponent) component
|
|
4690
4686
|
*/
|
|
4691
4687
|
class DfSideNavCollapseService {
|
|
4692
|
-
constructor(
|
|
4693
|
-
this.
|
|
4694
|
-
this._sideNavAnimation$ = new BehaviorSubject(_config.animation);
|
|
4688
|
+
constructor() {
|
|
4689
|
+
this._sideNavAnimation$ = new BehaviorSubject(inject(DfSideNavCollapseConfig).animation);
|
|
4695
4690
|
}
|
|
4696
4691
|
get sideNavAnimation$() {
|
|
4697
4692
|
return this._sideNavAnimation$.asObservable();
|
|
@@ -4705,15 +4700,15 @@ class DfSideNavCollapseService {
|
|
|
4705
4700
|
setAnimation(on) {
|
|
4706
4701
|
this._sideNavAnimation$.next(on);
|
|
4707
4702
|
}
|
|
4708
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4709
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4703
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavCollapseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4704
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavCollapseService, providedIn: 'root' }); }
|
|
4710
4705
|
}
|
|
4711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavCollapseService, decorators: [{
|
|
4712
4707
|
type: Injectable,
|
|
4713
4708
|
args: [{
|
|
4714
4709
|
providedIn: 'root'
|
|
4715
4710
|
}]
|
|
4716
|
-
}]
|
|
4711
|
+
}] });
|
|
4717
4712
|
|
|
4718
4713
|
function measureCollapsingElementWidthPx(element) {
|
|
4719
4714
|
// SSR fix for without injecting the PlatformId
|
|
@@ -4868,20 +4863,20 @@ class DfSideNavCollapseDirective {
|
|
|
4868
4863
|
}
|
|
4869
4864
|
});
|
|
4870
4865
|
}
|
|
4871
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4872
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
4866
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavCollapseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4867
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.4", type: DfSideNavCollapseDirective, isStandalone: true, selector: "[dfSideNavCollapse]", inputs: { dfSideNavCollapse: { classPropertyName: "dfSideNavCollapse", publicName: "dfSideNavCollapse", isSignal: true, isRequired: true, transformFunction: null }, minimized: { classPropertyName: "minimized", publicName: "minimized", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dfSideNavCollapseChange: "dfSideNavCollapseChange", shown: "shown", hidden: "hidden" }, exportAs: ["dfSideNavCollapse"], ngImport: i0 }); }
|
|
4873
4868
|
}
|
|
4874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4869
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavCollapseDirective, decorators: [{
|
|
4875
4870
|
type: Directive,
|
|
4876
4871
|
args: [{ selector: '[dfSideNavCollapse]', exportAs: 'dfSideNavCollapse' }]
|
|
4877
4872
|
}], ctorParameters: () => [] });
|
|
4878
4873
|
|
|
4879
4874
|
class DfSideNavCollapseModule {
|
|
4880
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4881
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4882
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4875
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavCollapseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4876
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavCollapseModule, imports: [DfSideNavCollapseDirective], exports: [DfSideNavCollapseDirective] }); }
|
|
4877
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavCollapseModule }); }
|
|
4883
4878
|
}
|
|
4884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4879
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavCollapseModule, decorators: [{
|
|
4885
4880
|
type: NgModule,
|
|
4886
4881
|
args: [{
|
|
4887
4882
|
imports: [DfSideNavCollapseDirective],
|
|
@@ -4890,9 +4885,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
4890
4885
|
}] });
|
|
4891
4886
|
|
|
4892
4887
|
class DfManageSideNavDirective {
|
|
4893
|
-
constructor(
|
|
4894
|
-
this.element =
|
|
4895
|
-
this.renderer =
|
|
4888
|
+
constructor() {
|
|
4889
|
+
this.element = inject(ElementRef);
|
|
4890
|
+
this.renderer = inject(Renderer2);
|
|
4896
4891
|
}
|
|
4897
4892
|
ngAfterViewChecked() {
|
|
4898
4893
|
if (this.element.nativeElement.querySelector('.active')) {
|
|
@@ -4902,37 +4897,47 @@ class DfManageSideNavDirective {
|
|
|
4902
4897
|
this.renderer.removeClass(this.element.nativeElement, 'df-sidenav-list-withactivated');
|
|
4903
4898
|
}
|
|
4904
4899
|
}
|
|
4905
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4906
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4900
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfManageSideNavDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4901
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.4", type: DfManageSideNavDirective, isStandalone: true, selector: "[dfManageSideNav]", ngImport: i0 }); }
|
|
4907
4902
|
}
|
|
4908
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfManageSideNavDirective, decorators: [{
|
|
4909
4904
|
type: Directive,
|
|
4910
4905
|
args: [{
|
|
4911
4906
|
selector: '[dfManageSideNav]'
|
|
4912
4907
|
}]
|
|
4913
|
-
}]
|
|
4908
|
+
}] });
|
|
4914
4909
|
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4910
|
+
class DfOverflowService {
|
|
4911
|
+
/**
|
|
4912
|
+
* @param element the HTML element
|
|
4913
|
+
* @returns whether the element is overflowing
|
|
4914
|
+
*/
|
|
4915
|
+
hasOverflow(element) {
|
|
4916
|
+
return this.hasOverflowX(element) || this.hasOverflowY(element);
|
|
4917
|
+
}
|
|
4918
|
+
/**
|
|
4919
|
+
* @param element the HTML element
|
|
4920
|
+
* @returns whether the element is overflowing horizontally
|
|
4921
|
+
*/
|
|
4922
|
+
hasOverflowX(element) {
|
|
4923
|
+
return element.offsetWidth < element.scrollWidth;
|
|
4924
|
+
}
|
|
4925
|
+
/**
|
|
4926
|
+
* @param element the HTML element
|
|
4927
|
+
* @returns whether the element is overflowing vertically
|
|
4928
|
+
*/
|
|
4929
|
+
hasOverflowY(element) {
|
|
4930
|
+
return element.offsetHeight < element.scrollHeight;
|
|
4931
|
+
}
|
|
4932
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfOverflowService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4933
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfOverflowService, providedIn: 'root' }); }
|
|
4935
4934
|
}
|
|
4935
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfOverflowService, decorators: [{
|
|
4936
|
+
type: Injectable,
|
|
4937
|
+
args: [{
|
|
4938
|
+
providedIn: 'root'
|
|
4939
|
+
}]
|
|
4940
|
+
}] });
|
|
4936
4941
|
|
|
4937
4942
|
/**
|
|
4938
4943
|
* DfTitleTruncate directive
|
|
@@ -4943,6 +4948,7 @@ class DfTitleTruncateDirective {
|
|
|
4943
4948
|
constructor() {
|
|
4944
4949
|
this.elementRef = inject((ElementRef));
|
|
4945
4950
|
this.renderer = inject(Renderer2);
|
|
4951
|
+
this.overflowService = inject(DfOverflowService);
|
|
4946
4952
|
}
|
|
4947
4953
|
ngOnInit() {
|
|
4948
4954
|
this.renderer.addClass(this.elementRef.nativeElement, 'text-truncate');
|
|
@@ -4950,17 +4956,17 @@ class DfTitleTruncateDirective {
|
|
|
4950
4956
|
ngDoCheck() {
|
|
4951
4957
|
const { nativeElement } = this.elementRef;
|
|
4952
4958
|
const titleAttributeName = 'title';
|
|
4953
|
-
if (hasOverflow(nativeElement)) {
|
|
4959
|
+
if (this.overflowService.hasOverflow(nativeElement)) {
|
|
4954
4960
|
nativeElement.setAttribute(titleAttributeName, nativeElement.textContent);
|
|
4955
4961
|
}
|
|
4956
4962
|
else if (nativeElement.getAttribute(titleAttributeName)) {
|
|
4957
4963
|
nativeElement.removeAttribute(titleAttributeName);
|
|
4958
4964
|
}
|
|
4959
4965
|
}
|
|
4960
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4961
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4966
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfTitleTruncateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4967
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.4", type: DfTitleTruncateDirective, isStandalone: true, selector: "[dfTitleTruncate]", exportAs: ["dfTitleTruncate"], ngImport: i0 }); }
|
|
4962
4968
|
}
|
|
4963
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4969
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfTitleTruncateDirective, decorators: [{
|
|
4964
4970
|
type: Directive,
|
|
4965
4971
|
args: [{
|
|
4966
4972
|
exportAs: 'dfTitleTruncate',
|
|
@@ -4994,10 +5000,10 @@ class DfSideNavListComponent {
|
|
|
4994
5000
|
uniqueId++;
|
|
4995
5001
|
return `df-sidenav-id-${uniqueId};`;
|
|
4996
5002
|
}
|
|
4997
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4998
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5003
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5004
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.4", type: DfSideNavListComponent, isStandalone: true, selector: "df-sidenavlist", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: true, transformFunction: null }, tplIcon: { classPropertyName: "tplIcon", publicName: "tplIcon", isSignal: true, isRequired: false, transformFunction: null }, tplItem: { classPropertyName: "tplItem", publicName: "tplItem", isSignal: true, isRequired: false, transformFunction: null }, currentItem: { classPropertyName: "currentItem", publicName: "currentItem", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<ul class=\"df-sidenav-list\" [ngbCollapse]=\"currentItem()?.isCollapsed ?? false\" [attr.id]=\"id()\">\n @for (item of items(); track item; let i = $index) {\n <li [class]=\"item.class\" dfManageSideNav>\n <ng-template #dfSideNavItemContent>\n @let tIcon = tplIcon();\n @if (tIcon && item.icon) {\n <ng-template\n [ngTemplateOutlet]=\"tIcon.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n ></ng-template>\n } @else if (item.icon) {\n <span aria-hidden=\"true\" class=\"{{ item.icon }} df-sidenav-icon me-3\"></span>\n }\n <span class=\"flex-grow-1 text-nowrap\" dfTitleTruncate>{{ item.title }}</span>\n </ng-template>\n @switch (item.type) {\n @case (sideNavService.type.subMenus) {\n <ng-template #subMenus>\n <button\n class=\"df-sidenav-item d-flex align-items-center\"\n (click)=\"sideNavService.toggle(item)\"\n type=\"button\"\n [attr.aria-expanded]=\"!item.isCollapsed\"\n [attr.aria-controls]=\"'sidenavControl' + controlledUniqueId.toString() + '-' + i\"\n [class.df-sidenav-item-withicon]=\"item.icon\"\n >\n @let tIcon = tplIcon();\n @if (tIcon && item.icon) {\n <ng-template\n [ngTemplateOutlet]=\"tIcon.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n ></ng-template>\n } @else if (item.icon) {\n <span aria-hidden=\"true\" class=\"{{ item.icon }} df-sidenav-icon me-3\"></span>\n }\n <span class=\"flex-grow-1 text-nowrap\" dfTitleTruncate>{{ item.title }}</span>\n <span\n class=\"ms-3 df-sidenav-collapse-icon fa-light\"\n [class.fa-chevron-down]=\"item.isCollapsed\"\n [class.fa-chevron-up]=\"!item.isCollapsed\"\n ></span>\n <!-- put the chevron as icon directly in the menu -->\n <!-- todo the icon and the minimized -->\n </button>\n <!-- we don't pass the icons as they are not suppose to have ones ??-->\n <df-sidenavlist\n [items]=\"item.subMenus ?? []\"\n [tplItem]=\"tplItem()\"\n [currentItem]=\"item\"\n [id]=\"'sidenavControl' + controlledUniqueId.toString() + '-' + i\"\n ></df-sidenavlist>\n </ng-template>\n @if (!item.breakpoints) {\n <ng-container *ngTemplateOutlet=\"subMenus\"></ng-container>\n } @else {\n <ng-container *dfIfMedia=\"item.breakpoints!\">\n <ng-container *ngTemplateOutlet=\"subMenus\"></ng-container>\n </ng-container>\n }\n }\n @case (sideNavService.type.actionButton) {\n <ng-template #dfSideNavItemButton>\n <button\n class=\"df-sidenav-item d-flex align-items-center flex-nowrap\"\n (click)=\"sideNavService.activeItem(item)\"\n [class.active]=\"item.isActive\"\n >\n <ng-container *ngTemplateOutlet=\"dfSideNavItemContent\"></ng-container>\n </button>\n </ng-template>\n @if (!item.breakpoints) {\n <ng-container *ngTemplateOutlet=\"dfSideNavItemButton\"></ng-container>\n } @else {\n <ng-container *dfIfMedia=\"item.breakpoints!\">\n <ng-container *ngTemplateOutlet=\"dfSideNavItemButton\"></ng-container>\n </ng-container>\n }\n }\n @case (sideNavService.type.routerLink) {\n <ng-template #dfRouterTemplate>\n <a\n class=\"df-sidenav-item d-flex align-items-center flex-nowrap\"\n routerLinkActive=\"active\"\n routerLink=\"{{ item.value }}\"\n ariaCurrentWhenActive=\"page\"\n >\n <ng-container *ngTemplateOutlet=\"dfSideNavItemContent\"></ng-container>\n </a>\n </ng-template>\n @if (!item.breakpoints) {\n <ng-container *ngTemplateOutlet=\"dfRouterTemplate\"></ng-container>\n } @else {\n <ng-container *dfIfMedia=\"item.breakpoints!\">\n <ng-container *ngTemplateOutlet=\"dfRouterTemplate\"></ng-container>\n </ng-container>\n }\n }\n @case (sideNavService.type.separator) {\n <ng-template #dfSeparatorTmp>\n <hr class=\"spacing-01\" />\n </ng-template>\n @if (!item.breakpoints) {\n <ng-container *ngTemplateOutlet=\"dfSeparatorTmp\"></ng-container>\n } @else {\n <ng-container *dfIfMedia=\"item.breakpoints!\">\n <ng-container *ngTemplateOutlet=\"dfSeparatorTmp\"></ng-container>\n </ng-container>\n }\n }\n @case (sideNavService.type.template) {\n @let tItem = tplItem();\n @if (tItem) {\n <ng-template\n [ngTemplateOutlet]=\"tItem.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n ></ng-template>\n }\n }\n @case (sideNavService.type.title) {\n <ng-template #dfTitleTmp>\n <div class=\"df-sidenav-item df-sidenav-title d-flex align-items-center flex-grow-1\">\n <span class=\"text-nowrap text-uppercase text-muted\" dfTitleTruncate>{{ item.title }}</span>\n </div>\n </ng-template>\n @if (!item.breakpoints) {\n <ng-container *ngTemplateOutlet=\"dfTitleTmp\"></ng-container>\n } @else {\n <ng-container *dfIfMedia=\"item.breakpoints!\">\n <ng-container *ngTemplateOutlet=\"dfTitleTmp\"></ng-container>\n </ng-container>\n }\n }\n @default {\n <ng-template #dfLinkDefaultTmp>\n <a\n class=\"df-sidenav-item d-flex align-items-center flex-nowrap\"\n href=\"{{ item.value }}\"\n [class.active]=\"item.isActive && item.type === sideNavService.type.link\"\n [attr.target]=\"item.type === sideNavService.type.externalLink ? '_blank' : ''\"\n >\n <ng-container *ngTemplateOutlet=\"dfSideNavItemContent\"></ng-container>\n </a>\n </ng-template>\n @if (!item.breakpoints) {\n <ng-container *ngTemplateOutlet=\"dfLinkDefaultTmp\"></ng-container>\n } @else {\n <ng-container *dfIfMedia=\"item.breakpoints!\">\n <ng-container *ngTemplateOutlet=\"dfLinkDefaultTmp\"></ng-container>\n </ng-container>\n }\n }\n }\n </li>\n }\n</ul>\n", dependencies: [{ kind: "component", type: DfSideNavListComponent, selector: "df-sidenavlist", inputs: ["items", "tplIcon", "tplItem", "currentItem", "id"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: NgbCollapseModule }, { kind: "directive", type: i1$1.NgbCollapse, selector: "[ngbCollapse]", inputs: ["animation", "ngbCollapse", "horizontal"], outputs: ["ngbCollapseChange", "shown", "hidden"], exportAs: ["ngbCollapse"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "ngmodule", type: DfMediaModule }, { kind: "directive", type: DfIfMediaDirective, selector: "[dfIfMedia]", inputs: ["dfIfMedia"] }, { kind: "ngmodule", type: DfSideNavCollapseModule }, { kind: "directive", type: DfManageSideNavDirective, selector: "[dfManageSideNav]" }, { kind: "directive", type: DfTitleTruncateDirective, selector: "[dfTitleTruncate]", exportAs: ["dfTitleTruncate"] }] }); }
|
|
4999
5005
|
}
|
|
5000
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5006
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavListComponent, decorators: [{
|
|
5001
5007
|
type: Component,
|
|
5002
5008
|
args: [{ selector: 'df-sidenavlist', imports: [
|
|
5003
5009
|
NgTemplateOutlet,
|
|
@@ -5011,38 +5017,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
5011
5017
|
}] });
|
|
5012
5018
|
|
|
5013
5019
|
class DfSideNavHeaderDirective {
|
|
5014
|
-
constructor(
|
|
5015
|
-
this.templateRef =
|
|
5020
|
+
constructor() {
|
|
5021
|
+
this.templateRef = inject(TemplateRef);
|
|
5016
5022
|
}
|
|
5017
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5018
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5023
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5024
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.4", type: DfSideNavHeaderDirective, isStandalone: true, selector: "ng-template[dfSideNavHeader]", ngImport: i0 }); }
|
|
5019
5025
|
}
|
|
5020
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5026
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavHeaderDirective, decorators: [{
|
|
5021
5027
|
type: Directive,
|
|
5022
5028
|
args: [{ selector: 'ng-template[dfSideNavHeader]' }]
|
|
5023
|
-
}]
|
|
5029
|
+
}] });
|
|
5024
5030
|
class DfSideNavIconDirective {
|
|
5025
|
-
constructor(
|
|
5026
|
-
this.templateRef =
|
|
5031
|
+
constructor() {
|
|
5032
|
+
this.templateRef = inject(TemplateRef);
|
|
5027
5033
|
}
|
|
5028
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5029
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5034
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5035
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.4", type: DfSideNavIconDirective, isStandalone: true, selector: "ng-template[dfSideNavIcon]", ngImport: i0 }); }
|
|
5030
5036
|
}
|
|
5031
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavIconDirective, decorators: [{
|
|
5032
5038
|
type: Directive,
|
|
5033
5039
|
args: [{ selector: 'ng-template[dfSideNavIcon]' }]
|
|
5034
|
-
}]
|
|
5040
|
+
}] });
|
|
5035
5041
|
class DfSideNavItemDirective {
|
|
5036
|
-
constructor(
|
|
5037
|
-
this.templateRef =
|
|
5042
|
+
constructor() {
|
|
5043
|
+
this.templateRef = inject(TemplateRef);
|
|
5038
5044
|
}
|
|
5039
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5040
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5045
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5046
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.4", type: DfSideNavItemDirective, isStandalone: true, selector: "ng-template[dfSideNavItem]", ngImport: i0 }); }
|
|
5041
5047
|
}
|
|
5042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5048
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavItemDirective, decorators: [{
|
|
5043
5049
|
type: Directive,
|
|
5044
5050
|
args: [{ selector: 'ng-template[dfSideNavItem]' }]
|
|
5045
|
-
}]
|
|
5051
|
+
}] });
|
|
5046
5052
|
/**
|
|
5047
5053
|
* SideNav is a component to provide navigation feature with a panel on the side of your page
|
|
5048
5054
|
*
|
|
@@ -5072,10 +5078,10 @@ class DfSideNavComponent {
|
|
|
5072
5078
|
ngOnDestroy() {
|
|
5073
5079
|
this.sideNavService.removeSideBar();
|
|
5074
5080
|
}
|
|
5075
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5076
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5081
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5082
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.4", type: DfSideNavComponent, isStandalone: true, selector: "df-sidenav", host: { properties: { "class": "classes()" } }, queries: [{ propertyName: "tplHeader", first: true, predicate: DfSideNavHeaderDirective, descendants: true, isSignal: true }, { propertyName: "tplIcon", first: true, predicate: DfSideNavIconDirective, descendants: true, isSignal: true }, { propertyName: "tplItem", first: true, predicate: DfSideNavItemDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"df-scroll-content\">\n @if (tplHeader(); as tplHeader) {\n <ng-template [ngTemplateOutlet]=\"tplHeader.templateRef\"></ng-template>\n }\n <df-sidenavlist [items]=\"navItems()\" [tplIcon]=\"tplIcon()\" [tplItem]=\"tplItem()\" />\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DfSideNavListComponent, selector: "df-sidenavlist", inputs: ["items", "tplIcon", "tplItem", "currentItem", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5077
5083
|
}
|
|
5078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5084
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavComponent, decorators: [{
|
|
5079
5085
|
type: Component,
|
|
5080
5086
|
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'df-sidenav', imports: [CommonModule, DfSideNavListComponent], host: {
|
|
5081
5087
|
'[class]': 'classes()'
|
|
@@ -5085,7 +5091,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
5085
5091
|
/**
|
|
5086
5092
|
* The directive to catch focusin event and put the focus at a defined position in the page
|
|
5087
5093
|
*
|
|
5088
|
-
* @deprecated use {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inert inert} instead
|
|
5094
|
+
* @deprecated 19.1.0 use {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inert inert} instead
|
|
5089
5095
|
* @since 9.1.0
|
|
5090
5096
|
*/
|
|
5091
5097
|
class DfExcludeTrapDirective {
|
|
@@ -5130,10 +5136,10 @@ class DfExcludeTrapDirective {
|
|
|
5130
5136
|
this.subscriptionInput.unsubscribe();
|
|
5131
5137
|
}
|
|
5132
5138
|
}
|
|
5133
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5134
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
5139
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfExcludeTrapDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5140
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.4", type: DfExcludeTrapDirective, isStandalone: true, selector: "[dfExcludeTrap]", inputs: { dfExcludeTrapSelector: { classPropertyName: "dfExcludeTrapSelector", publicName: "dfExcludeTrapSelector", isSignal: true, isRequired: false, transformFunction: null }, dfExcludeTrap: { classPropertyName: "dfExcludeTrap", publicName: "dfExcludeTrap", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
5135
5141
|
}
|
|
5136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfExcludeTrapDirective, decorators: [{
|
|
5137
5143
|
type: Directive,
|
|
5138
5144
|
args: [{
|
|
5139
5145
|
selector: '[dfExcludeTrap]'
|
|
@@ -5143,11 +5149,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
5143
5149
|
const DF_SELECT_CLASS = 'df-ym';
|
|
5144
5150
|
|
|
5145
5151
|
class DfManageNavSelectDirective {
|
|
5146
|
-
constructor(
|
|
5147
|
-
this.select =
|
|
5148
|
-
this.element =
|
|
5149
|
-
this.rtlDirectionService =
|
|
5150
|
-
this.renderer =
|
|
5152
|
+
constructor() {
|
|
5153
|
+
this.select = inject(NgSelectComponent, { host: true });
|
|
5154
|
+
this.element = inject(ElementRef);
|
|
5155
|
+
this.rtlDirectionService = inject(DfDirectionDetectionService);
|
|
5156
|
+
this.renderer = inject(Renderer2);
|
|
5151
5157
|
}
|
|
5152
5158
|
ngOnInit() {
|
|
5153
5159
|
this.direction = this.rtlDirectionService.getPageDirection(this.element);
|
|
@@ -5222,17 +5228,15 @@ class DfManageNavSelectDirective {
|
|
|
5222
5228
|
(listBadge[currentPos - 1] || document.activeElement).focus();
|
|
5223
5229
|
}
|
|
5224
5230
|
}
|
|
5225
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5226
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5231
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfManageNavSelectDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5232
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.4", type: DfManageNavSelectDirective, isStandalone: true, selector: "[dfManageNavSelect]", host: { listeners: { "keydown.arrowLeft": "handleKeyDown($event)", "keydown.Backspace": "handleKeyDownBackspace($event)", "keydown.arrowRight": "handleKeyDownRight($event)" } }, ngImport: i0 }); }
|
|
5227
5233
|
}
|
|
5228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfManageNavSelectDirective, decorators: [{
|
|
5229
5235
|
type: Directive,
|
|
5230
5236
|
args: [{
|
|
5231
5237
|
selector: '[dfManageNavSelect]'
|
|
5232
5238
|
}]
|
|
5233
|
-
}],
|
|
5234
|
-
type: Host
|
|
5235
|
-
}] }, { type: i0.ElementRef }, { type: DfDirectionDetectionService }, { type: i0.Renderer2 }], propDecorators: { handleKeyDown: [{
|
|
5239
|
+
}], propDecorators: { handleKeyDown: [{
|
|
5236
5240
|
type: HostListener,
|
|
5237
5241
|
args: ['keydown.arrowLeft', ['$event']]
|
|
5238
5242
|
}], handleKeyDownBackspace: [{
|
|
@@ -5271,10 +5275,10 @@ class DfOptionHighlightDirective {
|
|
|
5271
5275
|
setInnerHtml(html) {
|
|
5272
5276
|
this.renderer.setProperty(this.elementRef.nativeElement, 'innerHTML', html);
|
|
5273
5277
|
}
|
|
5274
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5275
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
5278
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfOptionHighlightDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5279
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.4", type: DfOptionHighlightDirective, isStandalone: true, selector: "[dfOptionHighlight]", inputs: { dfOptionHighlight: { classPropertyName: "dfOptionHighlight", publicName: "dfOptionHighlight", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
5276
5280
|
}
|
|
5277
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfOptionHighlightDirective, decorators: [{
|
|
5278
5282
|
type: Directive,
|
|
5279
5283
|
args: [{
|
|
5280
5284
|
selector: '[dfOptionHighlight]'
|
|
@@ -5315,10 +5319,10 @@ class DfManageBadgeEventsDirective {
|
|
|
5315
5319
|
this.dfManageBadgeEventsSelect()[0](this.dfManageBadgeEventsSelect()[1]);
|
|
5316
5320
|
event.stopPropagation();
|
|
5317
5321
|
}
|
|
5318
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5319
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
5322
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfManageBadgeEventsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5323
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.4", type: DfManageBadgeEventsDirective, isStandalone: true, selector: "[dfManageBadgeEventsSelect]", inputs: { dfManageBadgeEventsSelect: { classPropertyName: "dfManageBadgeEventsSelect", publicName: "dfManageBadgeEventsSelect", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "tabindex": "-1" }, listeners: { "keydown.Backspace": "handleKeyDownBackspace($event)", "click": "handleClick($event)", "keydown.Enter": "handleKeyDownEnter($event)", "keydown.Delete": "handleKeyDownDelete($event)" } }, ngImport: i0 }); }
|
|
5320
5324
|
}
|
|
5321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfManageBadgeEventsDirective, decorators: [{
|
|
5322
5326
|
type: Directive,
|
|
5323
5327
|
args: [{
|
|
5324
5328
|
selector: '[dfManageBadgeEventsSelect]',
|
|
@@ -5333,11 +5337,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
5333
5337
|
}], ctorParameters: () => [] });
|
|
5334
5338
|
|
|
5335
5339
|
class DfSelectModule {
|
|
5336
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5337
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5338
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5340
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5341
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfSelectModule, imports: [DfManageNavSelectDirective, DfManageBadgeEventsDirective, DfOptionHighlightDirective], exports: [DfManageNavSelectDirective, DfManageBadgeEventsDirective, DfOptionHighlightDirective, NgSelectModule] }); }
|
|
5342
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSelectModule, imports: [NgSelectModule] }); }
|
|
5339
5343
|
}
|
|
5340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSelectModule, decorators: [{
|
|
5341
5345
|
type: NgModule,
|
|
5342
5346
|
args: [{
|
|
5343
5347
|
imports: [DfManageNavSelectDirective, DfManageBadgeEventsDirective, DfOptionHighlightDirective],
|
|
@@ -5556,10 +5560,10 @@ class DfStepperService {
|
|
|
5556
5560
|
this._state = this.normalizeState(this._state);
|
|
5557
5561
|
this.dispatchStepperState();
|
|
5558
5562
|
}
|
|
5559
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5560
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5563
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfStepperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5564
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfStepperService }); }
|
|
5561
5565
|
}
|
|
5562
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5566
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfStepperService, decorators: [{
|
|
5563
5567
|
type: Injectable
|
|
5564
5568
|
}] });
|
|
5565
5569
|
|
|
@@ -5591,10 +5595,10 @@ class DfStepperStepDirective {
|
|
|
5591
5595
|
ngOnDestroy() {
|
|
5592
5596
|
this.unlistener.forEach((ul) => ul());
|
|
5593
5597
|
}
|
|
5594
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5595
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5598
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfStepperStepDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5599
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.4", type: DfStepperStepDirective, isStandalone: true, selector: "[dfStepperStep]", exportAs: ["dfStepperStep"], ngImport: i0 }); }
|
|
5596
5600
|
}
|
|
5597
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfStepperStepDirective, decorators: [{
|
|
5598
5602
|
type: Directive,
|
|
5599
5603
|
args: [{
|
|
5600
5604
|
selector: '[dfStepperStep]',
|
|
@@ -5702,10 +5706,10 @@ class DfStepperDirective {
|
|
|
5702
5706
|
this.stepperService.resetFocus();
|
|
5703
5707
|
}
|
|
5704
5708
|
}
|
|
5705
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5706
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5709
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfStepperDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5710
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.4", type: DfStepperDirective, isStandalone: true, selector: "[dfStepperLogic]", host: { listeners: { "keydown.Enter": "handleEnterDown()", "keydown.Space": "handleSpaceDown()", "keydown.arrowRight": "handleKeyDownRight($event)", "keydown.arrowLeft": "handleKeyDown($event)", "keydown.arrowDown": "handleKeyDownUp($event)", "keydown.arrowUp": "handleKeyDownDown($event)" } }, exportAs: ["dfStepperLogic"], ngImport: i0 }); }
|
|
5707
5711
|
}
|
|
5708
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5712
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfStepperDirective, decorators: [{
|
|
5709
5713
|
type: Directive,
|
|
5710
5714
|
args: [{
|
|
5711
5715
|
selector: '[dfStepperLogic]',
|
|
@@ -5740,10 +5744,10 @@ class DfStepperStepContentDirective {
|
|
|
5740
5744
|
*/
|
|
5741
5745
|
this.dfStepperStepContent = input(-1, { transform: (value) => numberAttribute(value, -1) });
|
|
5742
5746
|
}
|
|
5743
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5744
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
5747
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfStepperStepContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5748
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.4", type: DfStepperStepContentDirective, isStandalone: true, selector: "ng-template[dfStepperStepContent]", inputs: { dfStepperStepContent: { classPropertyName: "dfStepperStepContent", publicName: "dfStepperStepContent", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
5745
5749
|
}
|
|
5746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfStepperStepContentDirective, decorators: [{
|
|
5747
5751
|
type: Directive,
|
|
5748
5752
|
args: [{ selector: 'ng-template[dfStepperStepContent]' }]
|
|
5749
5753
|
}] });
|
|
@@ -5770,10 +5774,10 @@ class DfStepperComponent {
|
|
|
5770
5774
|
}
|
|
5771
5775
|
});
|
|
5772
5776
|
}
|
|
5773
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5774
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5777
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfStepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5778
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.4", type: DfStepperComponent, isStandalone: true, selector: "[dfStepper]", host: { attributes: { "role": "tablist" }, properties: { "class.df-vertical-stepper": "state()?.isVertical", "attr.aria-label": "stepperService.stepperAriaLabel", "attr.aria-orientation": "state()?.isVertical ? \"vertical\": null" }, classAttribute: "df-stepper mb-2" }, queries: [{ propertyName: "tplStepsContent", predicate: DfStepperStepContentDirective, isSignal: true }], hostDirectives: [{ directive: DfStepperDirective }], ngImport: i0, template: "<ng-template #myStepperLine>\n <div class=\"df-stepper-line-wrapper\">\n <div class=\"df-stepper-line\">\n <div class=\"df-stepper-horizontal-line\"></div>\n </div>\n <div class=\"df-stepper-line d-none d-sm-flex\">\n <div class=\"flex-grow-1\"></div>\n </div>\n </div>\n</ng-template>\n@if (state(); as state) {\n @for (step of state.steps; track step; let i = $index) {\n <button\n #stepbasic\n class=\"btn btn-link df-stepper-step\"\n dfStepperStep\n [class.active]=\"i === state.active\"\n [class.flex-row]=\"state.isInline || state.isVertical\"\n [attr.tabIndex]=\"i === state.active ? 0 : -1\"\n [class.df-stepper-step-warning]=\"step.type === 'warning'\"\n [class.df-stepper-step-completed]=\"step.type === 'completed'\"\n [class.df-stepper-step-visited]=\"step.type === 'visited'\"\n [class.df-stepper-step-future]=\"step.type === 'future'\"\n [disabled]=\"\n state.isLinear &&\n (step.type === 'future' || step.type === 'completed' || (step.type === 'visited' && i !== state.active))\n \"\n role=\"tab\"\n [attr.aria-selected]=\"i === state.active ? 'true' : 'false'\"\n [attr.aria-posinset]=\"i + 1\"\n [attr.aria-setsize]=\"state.steps.length\"\n [attr.aria-controls]=\"step.ariaControl\"\n (click)=\"stepperService.selectWithFocus(i)\"\n >\n <div\n [class.df-stepper-outline-number-visited]=\"step.type === 'visited'\"\n [class.df-stepper-outline-icon]=\"step.type === 'warning'\"\n [class.fa-exclamation-triangle]=\"step.type === 'warning'\"\n [class.df-stepper-icon]=\"step.type === 'completed'\"\n [class.fa-check]=\"step.type === 'completed'\"\n [class.df-stepper-outline-number-future]=\"step.type === 'future'\"\n >\n <span aria-hidden=\"true\">{{ stepperService.getStepNumberLabel(i) }}</span>\n </div>\n <div\n class=\"flex-column\"\n [class.mt-1]=\"!state.isInline\"\n [class.d-none]=\"!state.isVertical\"\n [class.d-sm-flex]=\"!state.isVertical\"\n [class.d-flex]=\"state.isVertical\"\n >\n @if (step.type === 'warning') {\n <span class=\"visually-hidden\">{{ stepperService.warningLabel }}</span>\n }\n <span class=\"df-stepper-label\">{{ step.label }}</span>\n @if (step.optionalLabel) {\n <span class=\"df-stepper-optional-label\">{{ step.optionalLabel }}</span>\n }\n @if (step.completed) {\n <span class=\"visually-hidden\">{{ stepperService.completedLabel }}</span>\n }\n </div>\n </button>\n @if (!state.isVertical && i < state.steps.length - 1) {\n <ng-container [ngTemplateOutlet]=\"myStepperLine\"></ng-container>\n }\n @if (state.isVertical && i < state.steps.length) {\n <div\n [class.d-none]=\"state.steps.length - 1 === i\"\n role=\"tabpanel\"\n [id]=\"step.ariaControl\"\n class=\"df-vertical-stepper-panel df-vertical-stepper-line\"\n >\n @if (mapStepToContent.has(i) && state.active === i) {\n <ng-template\n [ngTemplateOutlet]=\"mapStepToContent.get(i) || null\"\n [ngTemplateOutletContext]=\"{ state, index: i, service: stepperService }\"\n ></ng-template>\n }\n </div>\n }\n }\n}\n@if (stepperService.stepperState$ | async; as state) {\n <div\n class=\"text-primary mb-2\"\n [class.d-block]=\"!state.isVertical\"\n [class.d-sm-none]=\"!state.isVertical\"\n [class.d-none]=\"state.isVertical\"\n >\n <span class=\"df-stepper-label\">{{ state.steps[state.active].label }}</span>\n </div>\n}\n", dependencies: [{ kind: "directive", type: DfStepperStepDirective, selector: "[dfStepperStep]", exportAs: ["dfStepperStep"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5775
5779
|
}
|
|
5776
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfStepperComponent, decorators: [{
|
|
5777
5781
|
type: Component,
|
|
5778
5782
|
args: [{ selector: '[dfStepper]', changeDetection: ChangeDetectionStrategy.OnPush, imports: [DfStepperStepDirective, NgTemplateOutlet, AsyncPipe], hostDirectives: [DfStepperDirective], host: {
|
|
5779
5783
|
role: 'tablist',
|
|
@@ -5785,11 +5789,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
5785
5789
|
}], ctorParameters: () => [] });
|
|
5786
5790
|
|
|
5787
5791
|
class DfStepperModule {
|
|
5788
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5789
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5790
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5792
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfStepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5793
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfStepperModule, imports: [DfStepperDirective, DfStepperStepDirective, DfStepperComponent, DfStepperStepContentDirective], exports: [DfStepperDirective, DfStepperStepDirective, DfStepperComponent, DfStepperStepContentDirective] }); }
|
|
5794
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfStepperModule }); }
|
|
5791
5795
|
}
|
|
5792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfStepperModule, decorators: [{
|
|
5793
5797
|
type: NgModule,
|
|
5794
5798
|
args: [{
|
|
5795
5799
|
imports: [DfStepperDirective, DfStepperStepDirective, DfStepperComponent, DfStepperStepContentDirective],
|
|
@@ -5797,6 +5801,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
5797
5801
|
}]
|
|
5798
5802
|
}] });
|
|
5799
5803
|
|
|
5804
|
+
/**
|
|
5805
|
+
* @param element the HTML element
|
|
5806
|
+
* @returns whether the element is overflowing
|
|
5807
|
+
*/
|
|
5808
|
+
function hasOverflow(element) {
|
|
5809
|
+
return hasOverflowX(element) || hasOverflowY(element);
|
|
5810
|
+
}
|
|
5811
|
+
/**
|
|
5812
|
+
* @param element the HTML element
|
|
5813
|
+
* @returns whether the element is overflowing horizontally
|
|
5814
|
+
*/
|
|
5815
|
+
function hasOverflowX(element) {
|
|
5816
|
+
return element.offsetWidth < element.scrollWidth;
|
|
5817
|
+
}
|
|
5818
|
+
/**
|
|
5819
|
+
* @param element the HTML element
|
|
5820
|
+
* @returns whether the element is overflowing vertically
|
|
5821
|
+
*/
|
|
5822
|
+
function hasOverflowY(element) {
|
|
5823
|
+
return element.offsetHeight < element.scrollHeight;
|
|
5824
|
+
}
|
|
5825
|
+
|
|
5800
5826
|
/**
|
|
5801
5827
|
* My dfTooltipTruncate directive
|
|
5802
5828
|
*/
|
|
@@ -5830,10 +5856,10 @@ class DfTooltipTruncateDirective {
|
|
|
5830
5856
|
this.tooltip.disableTooltip = disableToolTip;
|
|
5831
5857
|
this.renderer.setAttribute(this.elementRef.nativeElement, 'tabIndex', disableToolTip ? '-1' : '0');
|
|
5832
5858
|
}
|
|
5833
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5834
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
5859
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfTooltipTruncateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5860
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.4", type: DfTooltipTruncateDirective, isStandalone: true, selector: "[dfTooltipTruncate]", inputs: { dfTooltipTruncate: { classPropertyName: "dfTooltipTruncate", publicName: "dfTooltipTruncate", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["dfTooltipTruncate"], ngImport: i0 }); }
|
|
5835
5861
|
}
|
|
5836
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5862
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfTooltipTruncateDirective, decorators: [{
|
|
5837
5863
|
type: Directive,
|
|
5838
5864
|
args: [{
|
|
5839
5865
|
exportAs: 'dfTooltipTruncate',
|
|
@@ -5842,11 +5868,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
5842
5868
|
}] });
|
|
5843
5869
|
|
|
5844
5870
|
class DfTooltipModule {
|
|
5845
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5846
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5847
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5871
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5872
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfTooltipModule, imports: [DfTooltipTruncateDirective], exports: [DfTooltipTruncateDirective, NgbTooltipModule] }); }
|
|
5873
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfTooltipModule, imports: [NgbTooltipModule] }); }
|
|
5848
5874
|
}
|
|
5849
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfTooltipModule, decorators: [{
|
|
5850
5876
|
type: NgModule,
|
|
5851
5877
|
args: [{
|
|
5852
5878
|
imports: [DfTooltipTruncateDirective],
|
|
@@ -5855,8 +5881,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
5855
5881
|
}] });
|
|
5856
5882
|
|
|
5857
5883
|
class DfSideNavModule {
|
|
5858
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5859
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5884
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5885
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavModule, imports: [DfManageSideNavDirective,
|
|
5860
5886
|
DfSideNavComponent,
|
|
5861
5887
|
DfSideNavHeaderDirective,
|
|
5862
5888
|
DfExcludeTrapDirective,
|
|
@@ -5869,10 +5895,10 @@ class DfSideNavModule {
|
|
|
5869
5895
|
DfSideNavItemDirective,
|
|
5870
5896
|
DfSideNavCollapseModule,
|
|
5871
5897
|
DfMediaModule] }); }
|
|
5872
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5898
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavModule, imports: [DfSideNavComponent, DfSideNavCollapseModule,
|
|
5873
5899
|
DfMediaModule] }); }
|
|
5874
5900
|
}
|
|
5875
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfSideNavModule, decorators: [{
|
|
5876
5902
|
type: NgModule,
|
|
5877
5903
|
args: [{
|
|
5878
5904
|
imports: [
|
|
@@ -5926,25 +5952,38 @@ class DfManageCardSelectionDirective {
|
|
|
5926
5952
|
this.element.nativeElement.focus();
|
|
5927
5953
|
}
|
|
5928
5954
|
}
|
|
5929
|
-
|
|
5930
|
-
|
|
5955
|
+
keydown(event) {
|
|
5956
|
+
switch (event.key) {
|
|
5957
|
+
case 'Enter':
|
|
5958
|
+
case ' ':
|
|
5959
|
+
this.click(event);
|
|
5960
|
+
event.preventDefault();
|
|
5961
|
+
break;
|
|
5962
|
+
default:
|
|
5963
|
+
return;
|
|
5964
|
+
}
|
|
5965
|
+
}
|
|
5966
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfManageCardSelectionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5967
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.4", type: DfManageCardSelectionDirective, isStandalone: true, selector: "[dfManageCardSelected]", inputs: { dfManageCardSelected: { classPropertyName: "dfManageCardSelected", publicName: "dfManageCardSelected", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "click": "click($event)", "keydown": "keydown($event)" }, properties: { "attr.tabindex": "0" } }, ngImport: i0 }); }
|
|
5931
5968
|
}
|
|
5932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5969
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfManageCardSelectionDirective, decorators: [{
|
|
5933
5970
|
type: Directive,
|
|
5934
5971
|
args: [{
|
|
5935
5972
|
selector: '[dfManageCardSelected]',
|
|
5936
5973
|
host: {
|
|
5937
|
-
'(click)': 'click($event)'
|
|
5974
|
+
'(click)': 'click($event)',
|
|
5975
|
+
'(keydown)': 'keydown($event)',
|
|
5976
|
+
'[attr.tabindex]': '0'
|
|
5938
5977
|
}
|
|
5939
5978
|
}]
|
|
5940
5979
|
}], ctorParameters: () => [] });
|
|
5941
5980
|
|
|
5942
5981
|
class DfAdvancedCardModule {
|
|
5943
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5944
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5945
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5982
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfAdvancedCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5983
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfAdvancedCardModule, imports: [DfManageCardSelectionDirective], exports: [DfManageCardSelectionDirective] }); }
|
|
5984
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfAdvancedCardModule }); }
|
|
5946
5985
|
}
|
|
5947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5986
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfAdvancedCardModule, decorators: [{
|
|
5948
5987
|
type: NgModule,
|
|
5949
5988
|
args: [{
|
|
5950
5989
|
imports: [DfManageCardSelectionDirective],
|
|
@@ -5975,8 +6014,8 @@ const DF_MODULES = [
|
|
|
5975
6014
|
* @deprecated Import only the needed modules or use standalone components instead of DfModule
|
|
5976
6015
|
*/
|
|
5977
6016
|
class DfModule {
|
|
5978
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5979
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
6017
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6018
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfModule, imports: [DfAlertModule,
|
|
5980
6019
|
DfDatePickerModule,
|
|
5981
6020
|
DfSelectModule,
|
|
5982
6021
|
DfProgressbarModule,
|
|
@@ -6009,7 +6048,7 @@ class DfModule {
|
|
|
6009
6048
|
DfFooterModule,
|
|
6010
6049
|
DfToastModule,
|
|
6011
6050
|
DfStepperModule] }); }
|
|
6012
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6051
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfModule, imports: [DF_MODULES, DfAlertModule,
|
|
6013
6052
|
DfDatePickerModule,
|
|
6014
6053
|
DfSelectModule,
|
|
6015
6054
|
DfProgressbarModule,
|
|
@@ -6027,7 +6066,7 @@ class DfModule {
|
|
|
6027
6066
|
DfToastModule,
|
|
6028
6067
|
DfStepperModule] }); }
|
|
6029
6068
|
}
|
|
6030
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6069
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfModule, decorators: [{
|
|
6031
6070
|
type: NgModule,
|
|
6032
6071
|
args: [{
|
|
6033
6072
|
imports: DF_MODULES,
|
|
@@ -6105,10 +6144,10 @@ class DfWavesOfProgressDirective {
|
|
|
6105
6144
|
}
|
|
6106
6145
|
});
|
|
6107
6146
|
}
|
|
6108
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6109
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
6147
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfWavesOfProgressDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6148
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.4", type: DfWavesOfProgressDirective, isStandalone: true, selector: "[dfWavesOfProgress]", inputs: { dfWavesOfProgress: { classPropertyName: "dfWavesOfProgress", publicName: "dfWavesOfProgress", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "df-waves-of-progress-bg" }, exportAs: ["dfWavesOfProgress"], ngImport: i0 }); }
|
|
6110
6149
|
}
|
|
6111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfWavesOfProgressDirective, decorators: [{
|
|
6112
6151
|
type: Directive,
|
|
6113
6152
|
args: [{
|
|
6114
6153
|
selector: '[dfWavesOfProgress]',
|
|
@@ -6120,11 +6159,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
6120
6159
|
}], ctorParameters: () => [] });
|
|
6121
6160
|
|
|
6122
6161
|
class DfWavesOfProgressModule {
|
|
6123
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6124
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
6125
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6162
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfWavesOfProgressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6163
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: DfWavesOfProgressModule, imports: [DfWavesOfProgressDirective], exports: [DfWavesOfProgressDirective] }); }
|
|
6164
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfWavesOfProgressModule }); }
|
|
6126
6165
|
}
|
|
6127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfWavesOfProgressModule, decorators: [{
|
|
6128
6167
|
type: NgModule,
|
|
6129
6168
|
args: [{
|
|
6130
6169
|
imports: [DfWavesOfProgressDirective],
|
|
@@ -6132,6 +6171,89 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
6132
6171
|
}]
|
|
6133
6172
|
}] });
|
|
6134
6173
|
|
|
6174
|
+
class DfAmadeusLogoComponent {
|
|
6175
|
+
constructor() {
|
|
6176
|
+
/**
|
|
6177
|
+
* Class to apply to the SVG element. For example, you can use `df-logo-dim` to set proper dimensions inside footer and navbar.
|
|
6178
|
+
*/
|
|
6179
|
+
this.svgClass = input('');
|
|
6180
|
+
}
|
|
6181
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfAmadeusLogoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6182
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.4", type: DfAmadeusLogoComponent, isStandalone: true, selector: "df-amadeus-logo", inputs: { svgClass: { classPropertyName: "svgClass", publicName: "svgClass", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
6183
|
+
<svg [class]="svgClass()" viewBox="0 0 113 16" xmlns="http://www.w3.org/2000/svg">
|
|
6184
|
+
<path
|
|
6185
|
+
d="M107.272 6.62415C105.258 5.92656 104.367 5.46175 104.367 4.4161C104.367 3.75718 104.793 2.75021 106.807 2.75021C108.705 2.75021 110.72 3.60249 110.72 3.60249V0.696849C109.868 0.348052 108.357 0 106.652 0C103.746 0 100.958 1.54913 100.958 4.61021C100.958 7.67128 103.747 8.52282 105.646 9.14307C107.428 9.7239 108.629 10.3055 108.629 11.4671C108.629 12.4749 107.931 13.249 105.646 13.249C103.708 13.249 101.384 12.4749 101.384 12.4749V15.3798C101.384 15.3798 103.63 16 105.801 16C108.667 16 112.038 14.9923 112.038 11.2344C112.038 8.67751 109.946 7.55378 107.273 6.62415H107.272Z"
|
|
6186
|
+
fill="currentColor"
|
|
6187
|
+
/>
|
|
6188
|
+
<path
|
|
6189
|
+
d="M34.2475 15.8059V0H29.8701L25.57 11.7773L21.2692 0H16.8917V15.8059H19.8747V3.87394L24.2135 15.8052H26.7316L31.2645 3.87394V15.8052H34.2475V15.8059Z"
|
|
6190
|
+
fill="currentColor"
|
|
6191
|
+
/>
|
|
6192
|
+
<path
|
|
6193
|
+
d="M44.7062 0H38.9343V3.06033C41.6853 2.94432 42.4595 2.90564 43.6605 2.90564C45.5585 2.90564 46.6822 3.60249 46.6822 5.46249V6.66357H43.6605C38.5855 6.66357 37.0364 8.71693 37.0364 11.3898C37.0364 14.8376 39.5932 16 42.1501 16C44.7069 16 46.2568 14.7989 46.7603 14.4501V15.8059H50.0921V4.99693C50.0921 1.35502 48.1168 0 44.7069 0H44.7062ZM46.6822 12.4354C45.8299 12.7456 44.28 13.2877 42.8082 13.2877C41.4138 13.2877 40.2901 12.6682 40.2901 11.157C40.2901 9.8005 41.1424 9.10365 43.0016 9.02631L46.6822 8.87087V12.4354Z"
|
|
6194
|
+
fill="currentColor"
|
|
6195
|
+
/>
|
|
6196
|
+
<path
|
|
6197
|
+
d="M73.8005 2.71154H81.7804V0H70.3906V15.8059H81.7804V13.0944H73.8005V9.25834H80.5793V6.58548H73.8005V2.71154Z"
|
|
6198
|
+
fill="currentColor"
|
|
6199
|
+
/>
|
|
6200
|
+
<path
|
|
6201
|
+
d="M98.2073 15.8059V0H94.7209V12.048C93.8686 12.4354 92.6675 13.0557 90.9243 13.0557C88.7549 13.0557 88.0967 11.8546 88.0967 9.29776V0H84.6095V9.7239C84.6095 13.7919 85.9266 16 90.072 16C92.3968 16 93.5592 15.1477 94.7982 14.4501V15.8059H98.2073Z"
|
|
6202
|
+
fill="currentColor"
|
|
6203
|
+
/>
|
|
6204
|
+
<path
|
|
6205
|
+
d="M59.8152 0H53.5398V15.8059H59.8152C65.123 15.8059 67.7958 13.3651 67.7958 7.74863C67.7958 2.8283 64.8902 0.000743702 59.8152 0.000743702V0ZM59.6597 13.0549H57.0255V2.75021H59.6597C62.2947 2.75021 64.2313 4.02863 64.2313 7.74789C64.2313 11.4671 62.9528 13.0549 59.6597 13.0549Z"
|
|
6206
|
+
fill="currentColor"
|
|
6207
|
+
/>
|
|
6208
|
+
<path
|
|
6209
|
+
d="M7.67054 0H1.89867V3.06033C4.64888 2.94432 5.42382 2.90564 6.6249 2.90564C8.52282 2.90564 9.64656 3.60249 9.64656 5.46249V6.66357H6.6249C1.54987 6.66357 0 8.71693 0 11.3898C0 14.8376 2.55685 16 5.11369 16C7.67054 16 9.22041 14.7989 9.7239 14.4501V15.8059H13.0557V4.99693C13.0557 1.35577 11.0797 0 7.67054 0ZM9.64656 12.4354C8.79427 12.7456 7.2444 13.2877 5.77261 13.2877C4.37817 13.2877 3.25444 12.6682 3.25444 11.157C3.25444 9.8005 4.10672 9.10365 5.96598 9.02631L9.64656 8.87087V12.4354Z"
|
|
6210
|
+
fill="currentColor"
|
|
6211
|
+
/>
|
|
6212
|
+
</svg>
|
|
6213
|
+
<span class="visually-hidden">Amadeus</span>
|
|
6214
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6215
|
+
}
|
|
6216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: DfAmadeusLogoComponent, decorators: [{
|
|
6217
|
+
type: Component,
|
|
6218
|
+
args: [{
|
|
6219
|
+
selector: 'df-amadeus-logo',
|
|
6220
|
+
template: `
|
|
6221
|
+
<svg [class]="svgClass()" viewBox="0 0 113 16" xmlns="http://www.w3.org/2000/svg">
|
|
6222
|
+
<path
|
|
6223
|
+
d="M107.272 6.62415C105.258 5.92656 104.367 5.46175 104.367 4.4161C104.367 3.75718 104.793 2.75021 106.807 2.75021C108.705 2.75021 110.72 3.60249 110.72 3.60249V0.696849C109.868 0.348052 108.357 0 106.652 0C103.746 0 100.958 1.54913 100.958 4.61021C100.958 7.67128 103.747 8.52282 105.646 9.14307C107.428 9.7239 108.629 10.3055 108.629 11.4671C108.629 12.4749 107.931 13.249 105.646 13.249C103.708 13.249 101.384 12.4749 101.384 12.4749V15.3798C101.384 15.3798 103.63 16 105.801 16C108.667 16 112.038 14.9923 112.038 11.2344C112.038 8.67751 109.946 7.55378 107.273 6.62415H107.272Z"
|
|
6224
|
+
fill="currentColor"
|
|
6225
|
+
/>
|
|
6226
|
+
<path
|
|
6227
|
+
d="M34.2475 15.8059V0H29.8701L25.57 11.7773L21.2692 0H16.8917V15.8059H19.8747V3.87394L24.2135 15.8052H26.7316L31.2645 3.87394V15.8052H34.2475V15.8059Z"
|
|
6228
|
+
fill="currentColor"
|
|
6229
|
+
/>
|
|
6230
|
+
<path
|
|
6231
|
+
d="M44.7062 0H38.9343V3.06033C41.6853 2.94432 42.4595 2.90564 43.6605 2.90564C45.5585 2.90564 46.6822 3.60249 46.6822 5.46249V6.66357H43.6605C38.5855 6.66357 37.0364 8.71693 37.0364 11.3898C37.0364 14.8376 39.5932 16 42.1501 16C44.7069 16 46.2568 14.7989 46.7603 14.4501V15.8059H50.0921V4.99693C50.0921 1.35502 48.1168 0 44.7069 0H44.7062ZM46.6822 12.4354C45.8299 12.7456 44.28 13.2877 42.8082 13.2877C41.4138 13.2877 40.2901 12.6682 40.2901 11.157C40.2901 9.8005 41.1424 9.10365 43.0016 9.02631L46.6822 8.87087V12.4354Z"
|
|
6232
|
+
fill="currentColor"
|
|
6233
|
+
/>
|
|
6234
|
+
<path
|
|
6235
|
+
d="M73.8005 2.71154H81.7804V0H70.3906V15.8059H81.7804V13.0944H73.8005V9.25834H80.5793V6.58548H73.8005V2.71154Z"
|
|
6236
|
+
fill="currentColor"
|
|
6237
|
+
/>
|
|
6238
|
+
<path
|
|
6239
|
+
d="M98.2073 15.8059V0H94.7209V12.048C93.8686 12.4354 92.6675 13.0557 90.9243 13.0557C88.7549 13.0557 88.0967 11.8546 88.0967 9.29776V0H84.6095V9.7239C84.6095 13.7919 85.9266 16 90.072 16C92.3968 16 93.5592 15.1477 94.7982 14.4501V15.8059H98.2073Z"
|
|
6240
|
+
fill="currentColor"
|
|
6241
|
+
/>
|
|
6242
|
+
<path
|
|
6243
|
+
d="M59.8152 0H53.5398V15.8059H59.8152C65.123 15.8059 67.7958 13.3651 67.7958 7.74863C67.7958 2.8283 64.8902 0.000743702 59.8152 0.000743702V0ZM59.6597 13.0549H57.0255V2.75021H59.6597C62.2947 2.75021 64.2313 4.02863 64.2313 7.74789C64.2313 11.4671 62.9528 13.0549 59.6597 13.0549Z"
|
|
6244
|
+
fill="currentColor"
|
|
6245
|
+
/>
|
|
6246
|
+
<path
|
|
6247
|
+
d="M7.67054 0H1.89867V3.06033C4.64888 2.94432 5.42382 2.90564 6.6249 2.90564C8.52282 2.90564 9.64656 3.60249 9.64656 5.46249V6.66357H6.6249C1.54987 6.66357 0 8.71693 0 11.3898C0 14.8376 2.55685 16 5.11369 16C7.67054 16 9.22041 14.7989 9.7239 14.4501V15.8059H13.0557V4.99693C13.0557 1.35577 11.0797 0 7.67054 0ZM9.64656 12.4354C8.79427 12.7456 7.2444 13.2877 5.77261 13.2877C4.37817 13.2877 3.25444 12.6682 3.25444 11.157C3.25444 9.8005 4.10672 9.10365 5.96598 9.02631L9.64656 8.87087V12.4354Z"
|
|
6248
|
+
fill="currentColor"
|
|
6249
|
+
/>
|
|
6250
|
+
</svg>
|
|
6251
|
+
<span class="visually-hidden">Amadeus</span>
|
|
6252
|
+
`,
|
|
6253
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
6254
|
+
}]
|
|
6255
|
+
}] });
|
|
6256
|
+
|
|
6135
6257
|
// Accessibility
|
|
6136
6258
|
|
|
6137
6259
|
/**
|
|
@@ -6142,5 +6264,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
6142
6264
|
* Generated bundle index. Do not edit.
|
|
6143
6265
|
*/
|
|
6144
6266
|
|
|
6145
|
-
export { BREAKPOINTS_VARS, ChangeContext, DF_BREAKPOINTS_VAR_DEFAULT, DfAccessibilityModule, DfAdvancedCardModule, DfAdvancedInputModule, DfAlertModule, DfAmadeusIconComponent, 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 };
|
|
6267
|
+
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 };
|
|
6146
6268
|
//# sourceMappingURL=design-factory.mjs.map
|