@design-factory/design-factory 20.0.0-next.0 → 20.0.0-next.2
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-initial-branding.scss +1 -1
- package/design-factory.css +2 -2
- package/fesm2022/design-factory-design-factory-tokens-style-dictionary.mjs +358 -0
- package/fesm2022/design-factory-design-factory-tokens-style-dictionary.mjs.map +1 -0
- package/fesm2022/design-factory.mjs +433 -530
- package/fesm2022/design-factory.mjs.map +1 -1
- package/index.d.ts +46 -168
- package/package.json +14 -2
- package/schematics/migrations/15_0_0/remove-ngx-slider/index.js +11 -5
- package/schematics/migrations/16_0_0/revert-to-old-brand/index.js +2 -2
- package/schematics/migrations/20_0_0/colors-new-branding/index.d.ts +14 -0
- package/schematics/migrations/20_0_0/colors-new-branding/index.js +108 -0
- package/schematics/migrations/20_0_0/navbar-toggler-logo-svg/index.js +6 -5
- package/schematics/migrations/20_0_0/spinner-new-branding/index.d.ts +7 -0
- package/schematics/migrations/20_0_0/spinner-new-branding/index.js +41 -0
- package/schematics/migrations/helpers.js +1 -1
- package/schematics/migrations/migration.json +12 -0
- package/schematics/migrations/utils/component-resource-collector.js +2 -2
- package/schematics/migrations/utils/project_tsconfig_paths.js +4 -0
- package/schematics/migrations/utils/style-updater.js +3 -1
- package/schematics/migrations/utils/template-updater.js +3 -1
- package/schematics/migrations/utils/typescript/compiler_host.js +6 -4
- package/schematics/ng-add/index.js +3 -6
- package/styles/scss/_common.root.scss +20 -3
- package/styles/scss/_common.scss +1 -1
- package/styles/scss/_common.variables.scss +2 -1
- package/styles/scss/_variables.scss +1 -0
- package/styles/scss/agnosui/_variables.scss +1 -1
- package/styles/scss/bootstrap/_utilities-override.scss +14 -8
- package/styles/scss/bootstrap/_variables.scss +2 -2
- package/styles/scss/components/accordion/_accordion.scss +7 -0
- package/styles/scss/components/alert/_alert.scss +32 -17
- package/styles/scss/components/badge/_badge.mixins.scss +12 -4
- package/styles/scss/components/badge/_badge.scss +191 -71
- 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 +4 -1
- package/styles/scss/components/breadcrumbs/_breadcrumbs.variables.scss +3 -1
- package/styles/scss/components/button/_button.scss +389 -74
- package/styles/scss/components/button/_button.utils.scss +20 -1
- package/styles/scss/components/button/_button_container.scss +22 -5
- package/styles/scss/components/card/_card.scss +42 -10
- 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 +2 -1
- package/styles/scss/components/datepicker/_datepicker.scss +2 -1
- package/styles/scss/components/dropdown/_dropdown.scss +18 -1
- package/styles/scss/components/fonts/_font-faces.mixins.scss +108 -54
- 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.root.scss +1 -1
- package/styles/scss/components/inputs/_inputs.scss +10 -4
- package/styles/scss/components/link/_link.mixins.scss +7 -3
- package/styles/scss/components/link/_link.scss +6 -0
- package/styles/scss/components/media/_media.scss +4 -0
- package/styles/scss/components/media/_media.variables.scss +1 -0
- package/styles/scss/components/modal/_modal.scss +54 -14
- package/styles/scss/components/modal/_modal.variables.scss +1 -0
- package/styles/scss/components/navbar/_navbar.scss +12 -0
- package/styles/scss/components/pagination/_pagination.scss +5 -0
- package/styles/scss/components/pagination/_pagination_container.scss +1 -1
- package/styles/scss/components/progressbar/_progressbar.variables.scss +13 -4
- package/styles/scss/components/rating/_rating.scss +18 -2
- package/styles/scss/components/rating/_rating.variables.scss +1 -1
- package/styles/scss/components/scrollspy/_scrollspy.scss +1 -1
- package/styles/scss/components/select/_select.scss +14 -19
- package/styles/scss/components/separator/_separator.variables.scss +1 -1
- package/styles/scss/components/sidenav/_sidenav.scss +3 -3
- package/styles/scss/components/sidenav/_sidenav.variables.scss +6 -4
- package/styles/scss/components/spinner/_spinner.scss +14 -0
- package/styles/scss/components/spinner/_spinner.variables.scss +7 -4
- package/styles/scss/components/stepper/_stepper.variables.scss +3 -3
- package/styles/scss/components/tabs/_tabs.scss +8 -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 +21 -30
- 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 +5 -0
- package/styles/scss/components/tooltip/_tooltip.variables.scss +4 -0
- package/styles/scss/components/tooltip/_tooltip_container.scss +17 -13
- package/styles/scss/df-styles.scss +1 -0
- package/styles/scss/themes/brand2023/_variables.scss +161 -38
- package/styles/scss/themes/brand2023/tokens/_mapping.gen.scss +156 -186
- package/styles/scss/themes/brand2023/tokens/_root.gen.scss +1708 -0
- package/styles/scss/themes/brand2023/tokens/_sass-vars.gen.scss +1467 -0
- package/styles/scss/utilities/_common.utilities.scss +3 -10
- package/styles/scss/utilities/_rgb.scss +10 -0
- package/tokens/style-dictionary/index.d.ts +60 -0
- package/styles/scss/themes/brand2023/tokens/_figma.gen.scss +0 -3028
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { signal, inject, ElementRef, DOCUMENT, Directive, contentChildren, computed, ChangeDetectionStrategy, Component, NgModule, HostListener, input, Renderer2, Injectable, PLATFORM_ID, InjectionToken,
|
|
3
|
-
import * as i1 from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
-
import { NgbToastModule, NgbAlertModule, NgbDatepickerKeyboardService, NgbDate, NgbDatepickerModule, NgbDropdownModule, NgbAccordionModule, NgbPopoverConfig, NgbPopoverModule, NgbProgressbarModule, NgbCollapseModule, NgbTooltip, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';
|
|
5
|
-
import * as i1
|
|
2
|
+
import { signal, inject, ElementRef, DOCUMENT, Directive, contentChildren, computed, ChangeDetectionStrategy, Component, NgModule, HostListener, input, Renderer2, Injectable, PLATFORM_ID, InjectionToken, ViewContainerRef, TemplateRef, effect, booleanAttribute, numberAttribute, output, ViewEncapsulation, RendererFactory2, 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, NgbPopoverConfig, NgbPopoverModule, NgbProgressbarModule, NgbConfig, NgbCollapseModule, NgbTooltip, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';
|
|
5
|
+
import * as i1 from '@angular/common';
|
|
6
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';
|
|
@@ -10,13 +10,12 @@ 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 {
|
|
18
17
|
constructor() {
|
|
19
|
-
this.inFocus = signal(false);
|
|
18
|
+
this.inFocus = signal(false, ...(ngDevMode ? [{ debugName: "inFocus" }] : []));
|
|
20
19
|
this.element = inject(ElementRef);
|
|
21
20
|
this.document = inject(DOCUMENT);
|
|
22
21
|
}
|
|
@@ -38,10 +37,10 @@ class SkipLinkDirective {
|
|
|
38
37
|
}
|
|
39
38
|
});
|
|
40
39
|
}
|
|
41
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
42
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
40
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: SkipLinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
41
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", 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: "20.
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: SkipLinkDirective, decorators: [{
|
|
45
44
|
type: Directive,
|
|
46
45
|
args: [{
|
|
47
46
|
selector: '[dfSkipLink]',
|
|
@@ -56,23 +55,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
56
55
|
|
|
57
56
|
class SkipLinksContainerComponent {
|
|
58
57
|
constructor() {
|
|
59
|
-
this.links = contentChildren(SkipLinkDirective);
|
|
60
|
-
this.inFocus = computed(() => this.links().some((link) => link.inFocus()));
|
|
58
|
+
this.links = contentChildren(SkipLinkDirective, ...(ngDevMode ? [{ debugName: "links" }] : []));
|
|
59
|
+
this.inFocus = computed(() => this.links().some((link) => link.inFocus()), ...(ngDevMode ? [{ debugName: "inFocus" }] : []));
|
|
61
60
|
}
|
|
62
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
63
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.
|
|
61
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: SkipLinksContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
62
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.3", 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: "20.
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.
|
|
72
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
73
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
70
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfAccessibilityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
71
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfAccessibilityModule, imports: [SkipLinkDirective, SkipLinksContainerComponent], exports: [SkipLinkDirective, SkipLinksContainerComponent] }); }
|
|
72
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfAccessibilityModule }); }
|
|
74
73
|
}
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.0.2", 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: "20.
|
|
118
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
120
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", 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.1.3", 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: "20.
|
|
123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.0.2", 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: "20.
|
|
132
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
133
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
134
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfInsertIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
135
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfInsertIconModule, imports: [DfInsertIconDirective], exports: [DfInsertIconDirective] }); }
|
|
136
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfInsertIconModule }); }
|
|
134
137
|
}
|
|
135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.0.2", ngImpor
|
|
|
141
144
|
}] });
|
|
142
145
|
|
|
143
146
|
class DfToastModule {
|
|
144
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
145
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
146
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
147
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
148
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfToastModule, imports: [DfInsertIconModule], exports: [NgbToastModule, DfInsertIconModule] }); }
|
|
149
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfToastModule, imports: [DfInsertIconModule, NgbToastModule, DfInsertIconModule] }); }
|
|
147
150
|
}
|
|
148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.0.2", ngImpor
|
|
|
154
157
|
}] });
|
|
155
158
|
|
|
156
159
|
class DfAlertModule {
|
|
157
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
158
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
159
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
160
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
161
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfAlertModule, imports: [DfInsertIconModule], exports: [NgbAlertModule, DfInsertIconModule] }); }
|
|
162
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfAlertModule, imports: [DfInsertIconModule, NgbAlertModule, DfInsertIconModule] }); }
|
|
160
163
|
}
|
|
161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.0.2", 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: "20.
|
|
179
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
181
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfTriggerClickDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
182
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", 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: "20.
|
|
184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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
|
}, {
|
|
@@ -198,7 +201,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
198
201
|
*/
|
|
199
202
|
class DfInputIconDirective {
|
|
200
203
|
constructor() {
|
|
201
|
-
this.dfInputIcon = input.required();
|
|
204
|
+
this.dfInputIcon = input.required(...(ngDevMode ? [{ debugName: "dfInputIcon" }] : []));
|
|
202
205
|
this.isDisabled = false;
|
|
203
206
|
this.siblingsNode = [];
|
|
204
207
|
this.renderer = inject(Renderer2);
|
|
@@ -263,10 +266,10 @@ class DfInputIconDirective {
|
|
|
263
266
|
});
|
|
264
267
|
});
|
|
265
268
|
}
|
|
266
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
267
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.
|
|
269
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfInputIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
270
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.3", 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: "20.
|
|
272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.0.2", ngImpor
|
|
|
280
283
|
}] });
|
|
281
284
|
|
|
282
285
|
class DfAdvancedInputModule {
|
|
283
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
284
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
285
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
286
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfAdvancedInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
287
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfAdvancedInputModule, imports: [DfTriggerClickDirective, DfInputIconDirective], exports: [DfTriggerClickDirective, DfInputIconDirective] }); }
|
|
288
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfAdvancedInputModule }); }
|
|
286
289
|
}
|
|
287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.
|
|
325
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
327
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfDatepickerKeyboardService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
328
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfDatepickerKeyboardService }); }
|
|
326
329
|
}
|
|
327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
330
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.
|
|
352
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
354
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfDirectionDetectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
355
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfDirectionDetectionService, providedIn: 'root' }); }
|
|
353
356
|
}
|
|
354
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfDirectionDetectionService, decorators: [{
|
|
355
358
|
type: Injectable,
|
|
356
359
|
args: [{
|
|
357
360
|
providedIn: 'root'
|
|
@@ -431,7 +434,7 @@ class DfDatepickerRangeDirective {
|
|
|
431
434
|
}
|
|
432
435
|
}
|
|
433
436
|
}
|
|
434
|
-
|
|
437
|
+
ngAfterViewChecked() {
|
|
435
438
|
// Update this to support disabled
|
|
436
439
|
const currentStatus = this.inputsElements.reduce((prev, current) => prev || current.disabled, false);
|
|
437
440
|
if (this.isDisabled !== currentStatus) {
|
|
@@ -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: "20.
|
|
453
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
455
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfDatepickerRangeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
456
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", type: DfDatepickerRangeDirective, isStandalone: true, selector: "[dfDatepickerRange]", exportAs: ["dfDatepickerRange"], ngImport: i0 }); }
|
|
454
457
|
}
|
|
455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.0.2", 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: "20.
|
|
550
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
552
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfDatepickerRangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
553
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfDatepickerRangeService }); }
|
|
551
554
|
}
|
|
552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
555
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.
|
|
558
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
559
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
560
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfDatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
561
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfDatePickerModule, imports: [NgbDropdownModule, DfDatepickerRangeDirective], exports: [NgbDatepickerModule, DfAdvancedInputModule, DfDatepickerRangeDirective, NgbDropdownModule] }); }
|
|
562
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", 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: "20.
|
|
567
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.
|
|
661
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
663
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfBreakpoints, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
664
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfBreakpoints, providedIn: 'root' }); }
|
|
662
665
|
}
|
|
663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
666
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.
|
|
689
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
685
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfMediaQuery, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
686
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfMediaQuery, providedIn: 'root' }); }
|
|
690
687
|
}
|
|
691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.
|
|
749
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
742
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfMediaObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
743
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfMediaObserver, providedIn: 'root' }); }
|
|
750
744
|
}
|
|
751
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
745
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.
|
|
791
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
784
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfMedia, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
785
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfMedia, providedIn: 'root' }); }
|
|
792
786
|
}
|
|
793
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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)
|
|
@@ -808,7 +802,7 @@ class DfIfMediaDirective {
|
|
|
808
802
|
* @param mediaOrBreakpoints either media query string/Array of string or in case of BS usage a
|
|
809
803
|
* string/Array of string of the breakpoints name (sm...).
|
|
810
804
|
*/
|
|
811
|
-
this.dfIfMedia = input.required();
|
|
805
|
+
this.dfIfMedia = input.required(...(ngDevMode ? [{ debugName: "dfIfMedia" }] : []));
|
|
812
806
|
this._viewContainerRef = inject(ViewContainerRef);
|
|
813
807
|
this._template = inject(TemplateRef);
|
|
814
808
|
this._mediaService = inject(DfMedia);
|
|
@@ -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: "20.
|
|
839
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.
|
|
832
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfIfMediaDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
833
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.3", 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: "20.
|
|
835
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.
|
|
848
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
849
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
841
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfMediaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
842
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfMediaModule, imports: [DfIfMediaDirective], exports: [DfIfMediaDirective] }); }
|
|
843
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfMediaModule }); }
|
|
850
844
|
}
|
|
851
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.0.2", ngImpor
|
|
|
857
851
|
}] });
|
|
858
852
|
|
|
859
853
|
class DfFooterModule {
|
|
860
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
861
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
862
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
854
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfFooterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
855
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfFooterModule, imports: [DfMediaModule, NgbAccordionModule], exports: [DfMediaModule, NgbAccordionModule] }); }
|
|
856
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfFooterModule, imports: [DfMediaModule, NgbAccordionModule, DfMediaModule, NgbAccordionModule] }); }
|
|
863
857
|
}
|
|
864
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
858
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.0.2", ngImpor
|
|
|
870
864
|
}] });
|
|
871
865
|
|
|
872
866
|
class DfAmadeusIconComponent {
|
|
873
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
874
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.
|
|
867
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfAmadeusIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
868
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", 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: "20.
|
|
904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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: "20.0.2", ngImpor
|
|
|
947
941
|
}] });
|
|
948
942
|
|
|
949
943
|
class DfIconModule {
|
|
950
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
951
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
952
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
944
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
945
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfIconModule, imports: [DfAmadeusIconComponent], exports: [DfAmadeusIconComponent] }); }
|
|
946
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfIconModule }); }
|
|
953
947
|
}
|
|
954
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfIconModule, decorators: [{
|
|
955
949
|
type: NgModule,
|
|
956
950
|
args: [{
|
|
957
951
|
imports: [DfAmadeusIconComponent],
|
|
@@ -959,61 +953,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
959
953
|
}]
|
|
960
954
|
}] });
|
|
961
955
|
|
|
962
|
-
/**
|
|
963
|
-
* @deprecated `DfModalService` is deprecated, use `NgbModal` from ng-bootstrap instead.
|
|
964
|
-
* 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
|
-
*/
|
|
966
|
-
class DfModalService {
|
|
967
|
-
constructor(modalService, rendererFactory) {
|
|
968
|
-
this.modalService = modalService;
|
|
969
|
-
this.rendererFactory = rendererFactory;
|
|
970
|
-
this.renderer = this.rendererFactory.createRenderer(null, null);
|
|
971
|
-
}
|
|
972
|
-
open(content, options) {
|
|
973
|
-
let modalRef;
|
|
974
|
-
if (options && options.container) {
|
|
975
|
-
modalRef = this.modalService.open(content, options);
|
|
976
|
-
}
|
|
977
|
-
else {
|
|
978
|
-
modalRef = this.modalService.open(content, Object.assign({}, { container: 'body' }, options));
|
|
979
|
-
}
|
|
980
|
-
// we add the 'df-modal-open' class to the body when the modal is open. We remove it when the modal is closed/dismissed
|
|
981
|
-
this.renderer.addClass(document.body, 'df-modal-open');
|
|
982
|
-
modalRef.result.then(() => {
|
|
983
|
-
this.renderer.removeClass(document.body, 'df-modal-open');
|
|
984
|
-
}, () => {
|
|
985
|
-
this.renderer.removeClass(document.body, 'df-modal-open');
|
|
986
|
-
});
|
|
987
|
-
return modalRef;
|
|
988
|
-
}
|
|
989
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: DfModalService, deps: [{ token: i1.NgbModal }, { token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
990
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: DfModalService, providedIn: 'root' }); }
|
|
991
|
-
}
|
|
992
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: DfModalService, decorators: [{
|
|
993
|
-
type: Injectable,
|
|
994
|
-
args: [{
|
|
995
|
-
providedIn: 'root'
|
|
996
|
-
}]
|
|
997
|
-
}], ctorParameters: () => [{ type: i1.NgbModal }, { type: i0.RendererFactory2 }] });
|
|
998
|
-
|
|
999
956
|
class DfPopoverConfig extends NgbPopoverConfig {
|
|
1000
957
|
constructor() {
|
|
1001
958
|
super(...arguments);
|
|
1002
959
|
this.autoClose = 'outside';
|
|
1003
960
|
}
|
|
1004
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1005
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
961
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfPopoverConfig, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
962
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfPopoverConfig }); }
|
|
1006
963
|
}
|
|
1007
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
964
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfPopoverConfig, decorators: [{
|
|
1008
965
|
type: Injectable
|
|
1009
966
|
}] });
|
|
1010
967
|
|
|
1011
968
|
class DfPopoverModule {
|
|
1012
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1013
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
1014
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
969
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
970
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfPopoverModule, exports: [NgbPopoverModule] }); }
|
|
971
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfPopoverModule, providers: [{ provide: NgbPopoverConfig, useClass: DfPopoverConfig }], imports: [NgbPopoverModule] }); }
|
|
1015
972
|
}
|
|
1016
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
973
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfPopoverModule, decorators: [{
|
|
1017
974
|
type: NgModule,
|
|
1018
975
|
args: [{
|
|
1019
976
|
exports: [NgbPopoverModule],
|
|
@@ -1025,14 +982,14 @@ class DfProgressbarComponent {
|
|
|
1025
982
|
constructor() {
|
|
1026
983
|
this.PERCENTAGE_PLACEHOLDER = '%PERCENTAGE%';
|
|
1027
984
|
this.FADING_DELAY_MS = 1500; // if triggered by observables, number of milliseconds after progress bar disappears once stopped
|
|
1028
|
-
this.infiniteAnimation = input(false, { transform: booleanAttribute });
|
|
985
|
+
this.infiniteAnimation = input(false, ...(ngDevMode ? [{ debugName: "infiniteAnimation", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
1029
986
|
/**
|
|
1030
987
|
* Current value of the progressBar. If 'maxValue' is not defined, value represents a percentage. Otherwise, progress
|
|
1031
988
|
* bar percentage value will be computed based on the ratio of 'value/maxValue'
|
|
1032
989
|
*/
|
|
1033
|
-
this.value = input(0, { transform: numberAttribute });
|
|
1034
|
-
this.maxValue = input(100, { transform: numberAttribute });
|
|
1035
|
-
this.innerValue = signal(0);
|
|
990
|
+
this.value = input(0, ...(ngDevMode ? [{ debugName: "value", transform: numberAttribute }] : [{ transform: numberAttribute }]));
|
|
991
|
+
this.maxValue = input(100, ...(ngDevMode ? [{ debugName: "maxValue", transform: numberAttribute }] : [{ transform: numberAttribute }]));
|
|
992
|
+
this.innerValue = signal(0, ...(ngDevMode ? [{ debugName: "innerValue" }] : []));
|
|
1036
993
|
this.percentageValue = computed(() => {
|
|
1037
994
|
const val = this.innerValue();
|
|
1038
995
|
const maxVal = this.maxValue();
|
|
@@ -1042,28 +999,28 @@ class DfProgressbarComponent {
|
|
|
1042
999
|
else {
|
|
1043
1000
|
return Math.floor((val / maxVal) * 100);
|
|
1044
1001
|
}
|
|
1045
|
-
});
|
|
1002
|
+
}, ...(ngDevMode ? [{ debugName: "percentageValue" }] : []));
|
|
1046
1003
|
this.percentageValueChange = output();
|
|
1047
1004
|
/**
|
|
1048
1005
|
* Observable used to trigger the start of the loading.
|
|
1049
1006
|
* When emitting, progressbar will start to randomly increment toward 100%.
|
|
1050
1007
|
*/
|
|
1051
|
-
this.start$ = input();
|
|
1008
|
+
this.start$ = input(...(ngDevMode ? [undefined, { debugName: "start$" }] : []));
|
|
1052
1009
|
/**
|
|
1053
1010
|
* Observable used to trigger the end of the loading.
|
|
1054
1011
|
* When emitting, it forces the progressbar to reach 100%.
|
|
1055
1012
|
*/
|
|
1056
|
-
this.end$ = input();
|
|
1013
|
+
this.end$ = input(...(ngDevMode ? [undefined, { debugName: "end$" }] : []));
|
|
1057
1014
|
/**
|
|
1058
1015
|
* Id of the label used to describe the progress bar.
|
|
1059
1016
|
* It is used in priority compared to the ariaLabel.
|
|
1060
1017
|
*/
|
|
1061
|
-
this.ariaLabelledBy = input();
|
|
1018
|
+
this.ariaLabelledBy = input(...(ngDevMode ? [undefined, { debugName: "ariaLabelledBy" }] : []));
|
|
1062
1019
|
/**
|
|
1063
1020
|
* Aria label used to describe the progress bar if no ariaLabelledBy is specified.
|
|
1064
1021
|
*/
|
|
1065
|
-
this.ariaLabel = input();
|
|
1066
|
-
this.text = input('');
|
|
1022
|
+
this.ariaLabel = input(...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : []));
|
|
1023
|
+
this.text = input('', ...(ngDevMode ? [{ debugName: "text" }] : []));
|
|
1067
1024
|
this.computedText = computed(() => {
|
|
1068
1025
|
const text = this.text();
|
|
1069
1026
|
if (text.includes(this.PERCENTAGE_PLACEHOLDER)) {
|
|
@@ -1071,8 +1028,8 @@ class DfProgressbarComponent {
|
|
|
1071
1028
|
return text.replace(this.PERCENTAGE_PLACEHOLDER, advancementInPercents);
|
|
1072
1029
|
}
|
|
1073
1030
|
return text;
|
|
1074
|
-
});
|
|
1075
|
-
this.displayProgressBar = signal(false);
|
|
1031
|
+
}, ...(ngDevMode ? [{ debugName: "computedText" }] : []));
|
|
1032
|
+
this.displayProgressBar = signal(false, ...(ngDevMode ? [{ debugName: "displayProgressBar" }] : []));
|
|
1076
1033
|
this.animationOngoing = false;
|
|
1077
1034
|
effect(() => {
|
|
1078
1035
|
this.innerValue.set(this.value());
|
|
@@ -1086,14 +1043,14 @@ class DfProgressbarComponent {
|
|
|
1086
1043
|
const end$ = this.end$();
|
|
1087
1044
|
const isTriggeredByObservables = start$ && end$;
|
|
1088
1045
|
if (isTriggeredByObservables) {
|
|
1089
|
-
this.startSubscription = start$.subscribe((
|
|
1046
|
+
this.startSubscription = start$.subscribe(() => {
|
|
1090
1047
|
this.animationOngoing = true;
|
|
1091
1048
|
this.stopAutomaticIncrement();
|
|
1092
1049
|
this.resetProgressBarValues();
|
|
1093
1050
|
this.displayProgressBar.set(true);
|
|
1094
1051
|
this.startAutomaticIncrement();
|
|
1095
1052
|
});
|
|
1096
|
-
this.endSubscription = end$.subscribe((
|
|
1053
|
+
this.endSubscription = end$.subscribe(() => {
|
|
1097
1054
|
if (this.animationOngoing) {
|
|
1098
1055
|
this.animationOngoing = false;
|
|
1099
1056
|
this.stopAutomaticIncrement();
|
|
@@ -1142,20 +1099,20 @@ class DfProgressbarComponent {
|
|
|
1142
1099
|
resetProgressBarValues() {
|
|
1143
1100
|
this.innerValue.set(0);
|
|
1144
1101
|
}
|
|
1145
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1146
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
1102
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfProgressbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1103
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", 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-3\">{{ 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
1104
|
}
|
|
1148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfProgressbarComponent, decorators: [{
|
|
1149
1106
|
type: Component,
|
|
1150
|
-
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'df-progressbar', template: "@if (displayProgressBar()) {\n @if (computedText(); as computedText) {\n <div class=\"progressbar-text mb-
|
|
1107
|
+
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'df-progressbar', template: "@if (displayProgressBar()) {\n @if (computedText(); as computedText) {\n <div class=\"progressbar-text mb-3\">{{ 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
1108
|
}], ctorParameters: () => [] });
|
|
1152
1109
|
|
|
1153
1110
|
class DfProgressbarModule {
|
|
1154
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1155
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
1156
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
1111
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfProgressbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1112
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfProgressbarModule, imports: [DfProgressbarComponent], exports: [DfProgressbarComponent, NgbProgressbarModule] }); }
|
|
1113
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfProgressbarModule, imports: [NgbProgressbarModule] }); }
|
|
1157
1114
|
}
|
|
1158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfProgressbarModule, decorators: [{
|
|
1159
1116
|
type: NgModule,
|
|
1160
1117
|
args: [{
|
|
1161
1118
|
imports: [DfProgressbarComponent],
|
|
@@ -1191,8 +1148,8 @@ var DfProgressIndicatorContentPosition;
|
|
|
1191
1148
|
class DfProgressIndicatorContainerComponent {
|
|
1192
1149
|
constructor() {
|
|
1193
1150
|
this.DEFAULT_CLASS_POSITION = 'df-progressindicator-centered';
|
|
1194
|
-
this.containerClass = input();
|
|
1195
|
-
this.position = input();
|
|
1151
|
+
this.containerClass = input(...(ngDevMode ? [undefined, { debugName: "containerClass" }] : []));
|
|
1152
|
+
this.position = input(...(ngDevMode ? [undefined, { debugName: "position" }] : []));
|
|
1196
1153
|
this.positionClass = computed(() => {
|
|
1197
1154
|
const position = this.position();
|
|
1198
1155
|
switch (position) {
|
|
@@ -1203,13 +1160,13 @@ class DfProgressIndicatorContainerComponent {
|
|
|
1203
1160
|
default:
|
|
1204
1161
|
return this.DEFAULT_CLASS_POSITION;
|
|
1205
1162
|
}
|
|
1206
|
-
});
|
|
1207
|
-
this.classes = computed(() => `df-progressindicator-container ${this.containerClass() || ''} ${this.positionClass()}
|
|
1163
|
+
}, ...(ngDevMode ? [{ debugName: "positionClass" }] : []));
|
|
1164
|
+
this.classes = computed(() => `df-progressindicator-container ${this.containerClass() || ''} ${this.positionClass()}`, ...(ngDevMode ? [{ debugName: "classes" }] : []));
|
|
1208
1165
|
}
|
|
1209
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1210
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.
|
|
1166
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfProgressIndicatorContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1167
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.3", 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
1168
|
}
|
|
1212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfProgressIndicatorContainerComponent, decorators: [{
|
|
1213
1170
|
type: Component,
|
|
1214
1171
|
args: [{
|
|
1215
1172
|
selector: 'df-progressindicator-container',
|
|
@@ -1224,28 +1181,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
1224
1181
|
|
|
1225
1182
|
class DfDefaultSpinnerComponent {
|
|
1226
1183
|
constructor() {
|
|
1227
|
-
this.isGlobalSpinner = input(false, { transform: booleanAttribute });
|
|
1228
|
-
this.contentClass = input('spinner-border text-primary');
|
|
1229
|
-
this.ariaLabel = input();
|
|
1184
|
+
this.isGlobalSpinner = input(false, ...(ngDevMode ? [{ debugName: "isGlobalSpinner", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
1185
|
+
this.contentClass = input('spinner-border text-primary', ...(ngDevMode ? [{ debugName: "contentClass" }] : []));
|
|
1186
|
+
this.ariaLabel = input(...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : []));
|
|
1230
1187
|
}
|
|
1231
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1232
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
1188
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfDefaultSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1189
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", 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
1190
|
}
|
|
1234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfDefaultSpinnerComponent, decorators: [{
|
|
1235
1192
|
type: Component,
|
|
1236
1193
|
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
1194
|
}] });
|
|
1238
1195
|
|
|
1239
1196
|
class DfProgressIndicatorBackdropComponent {
|
|
1240
1197
|
constructor() {
|
|
1241
|
-
this.backdropClass = input();
|
|
1242
|
-
this.isGlobalBackdrop = input(true);
|
|
1243
|
-
this.classes = computed(() => `df-progressindicator-backdrop ${this.backdropClass() || ''} df-progressindicator-backdrop${this.isGlobalBackdrop() ? '-global' : '-contextual'}
|
|
1198
|
+
this.backdropClass = input(...(ngDevMode ? [undefined, { debugName: "backdropClass" }] : []));
|
|
1199
|
+
this.isGlobalBackdrop = input(true, ...(ngDevMode ? [{ debugName: "isGlobalBackdrop" }] : []));
|
|
1200
|
+
this.classes = computed(() => `df-progressindicator-backdrop ${this.backdropClass() || ''} df-progressindicator-backdrop${this.isGlobalBackdrop() ? '-global' : '-contextual'}`, ...(ngDevMode ? [{ debugName: "classes" }] : []));
|
|
1244
1201
|
}
|
|
1245
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1246
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.
|
|
1202
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfProgressIndicatorBackdropComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1203
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.3", 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
1204
|
}
|
|
1248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfProgressIndicatorBackdropComponent, decorators: [{
|
|
1249
1206
|
type: Component,
|
|
1250
1207
|
args: [{
|
|
1251
1208
|
selector: 'df-progressindicator-backdrop',
|
|
@@ -1275,8 +1232,8 @@ const noop$1 = () => { };
|
|
|
1275
1232
|
* It is a copy of https://github.com/ng-bootstrap/ng-bootstrap/blob/master/src/util/scrollbar.ts
|
|
1276
1233
|
*/
|
|
1277
1234
|
class ScrollBar {
|
|
1278
|
-
constructor(
|
|
1279
|
-
this._document =
|
|
1235
|
+
constructor() {
|
|
1236
|
+
this._document = inject(DOCUMENT);
|
|
1280
1237
|
}
|
|
1281
1238
|
/**
|
|
1282
1239
|
* To be called right before a potential vertical scrollbar would be removed:
|
|
@@ -1330,25 +1287,17 @@ class ScrollBar {
|
|
|
1330
1287
|
body.removeChild(measurer);
|
|
1331
1288
|
return width;
|
|
1332
1289
|
}
|
|
1333
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1334
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1290
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ScrollBar, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1291
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ScrollBar, providedIn: 'root' }); }
|
|
1335
1292
|
}
|
|
1336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ScrollBar, decorators: [{
|
|
1337
1294
|
type: Injectable,
|
|
1338
1295
|
args: [{ providedIn: 'root' }]
|
|
1339
|
-
}]
|
|
1340
|
-
type: Inject,
|
|
1341
|
-
args: [DOCUMENT]
|
|
1342
|
-
}] }] });
|
|
1296
|
+
}] });
|
|
1343
1297
|
|
|
1344
1298
|
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;
|
|
1299
|
+
constructor() {
|
|
1300
|
+
this.renderer = inject(RendererFactory2).createRenderer(null, null);
|
|
1352
1301
|
this.BODY_CLASS = 'df-progressindicator-open';
|
|
1353
1302
|
// TODO - Remove it when https://github.com/angular/angular/issues/22567
|
|
1354
1303
|
this.containerAttributes = ['containerClass', 'position'];
|
|
@@ -1356,19 +1305,24 @@ class DfProgressIndicatorService {
|
|
|
1356
1305
|
this.defaultSpinnerAttributes = ['contentClass', 'ariaLabel', 'isGlobalSpinner'];
|
|
1357
1306
|
this.defaultProgressBarAttributes = ['infiniteAnimation', 'ariaLabel'];
|
|
1358
1307
|
this.activeInstances = [];
|
|
1359
|
-
this.
|
|
1308
|
+
this.document = inject(DOCUMENT);
|
|
1309
|
+
this.appRef = inject(ApplicationRef);
|
|
1310
|
+
this.environmentInjector = inject(EnvironmentInjector);
|
|
1311
|
+
this.scrollbar = inject(ScrollBar);
|
|
1360
1312
|
}
|
|
1361
1313
|
open(content, options) {
|
|
1362
1314
|
const containerElt = this.getContainer(this.document, options);
|
|
1363
1315
|
if (!containerElt) {
|
|
1364
|
-
throw new Error(`[Design Factory] The specified progress indicator container "${
|
|
1316
|
+
throw new Error(`[Design Factory] The specified progress indicator container "${
|
|
1317
|
+
// eslint-disable-next-line @typescript-eslint/no-base-to-string, @typescript-eslint/restrict-template-expressions
|
|
1318
|
+
options?.container || 'body'}" was not found in the DOM.`);
|
|
1365
1319
|
}
|
|
1366
1320
|
// Create needed components
|
|
1367
1321
|
const backdropRef = options?.backdrop !== false
|
|
1368
|
-
? this.createComponent(DfProgressIndicatorBackdropComponent,
|
|
1322
|
+
? this.createComponent(DfProgressIndicatorBackdropComponent, undefined, containerElt)
|
|
1369
1323
|
: undefined;
|
|
1370
|
-
const contentRef = this.getContent(content,
|
|
1371
|
-
const containerCmpRef = this.createComponent(DfProgressIndicatorContainerComponent,
|
|
1324
|
+
const contentRef = this.getContent(content, containerElt);
|
|
1325
|
+
const containerCmpRef = this.createComponent(DfProgressIndicatorContainerComponent, contentRef, containerElt);
|
|
1372
1326
|
const onDestroyOperations = [];
|
|
1373
1327
|
// Add aria attributes on the container
|
|
1374
1328
|
this.renderer.setAttribute(containerElt, 'aria-busy', 'true');
|
|
@@ -1436,12 +1390,12 @@ class DfProgressIndicatorService {
|
|
|
1436
1390
|
}
|
|
1437
1391
|
return options?.container ? document.querySelector(options.container) : document.body;
|
|
1438
1392
|
}
|
|
1439
|
-
getContent(content,
|
|
1393
|
+
getContent(content, container) {
|
|
1440
1394
|
if (!content) {
|
|
1441
|
-
return this.createComponent(DfDefaultSpinnerComponent
|
|
1395
|
+
return this.createComponent(DfDefaultSpinnerComponent);
|
|
1442
1396
|
}
|
|
1443
1397
|
else if (content instanceof DfProgressIndicatorContentSpinner) {
|
|
1444
|
-
const cmpRef = this.createComponent(DfDefaultSpinnerComponent
|
|
1398
|
+
const cmpRef = this.createComponent(DfDefaultSpinnerComponent);
|
|
1445
1399
|
this.applyOptions(cmpRef, this.defaultSpinnerAttributes, {
|
|
1446
1400
|
...content.spinnerInput,
|
|
1447
1401
|
isGlobalSpinner: container === this.document.body
|
|
@@ -1449,7 +1403,7 @@ class DfProgressIndicatorService {
|
|
|
1449
1403
|
return cmpRef;
|
|
1450
1404
|
}
|
|
1451
1405
|
else if (content instanceof DfProgressIndicatorContentProgressBar) {
|
|
1452
|
-
const cmpRef = this.createComponent(DfProgressbarComponent
|
|
1406
|
+
const cmpRef = this.createComponent(DfProgressbarComponent);
|
|
1453
1407
|
this.applyOptions(cmpRef, this.defaultProgressBarAttributes, {
|
|
1454
1408
|
...content.progressBarInput,
|
|
1455
1409
|
infiniteAnimation: true
|
|
@@ -1462,22 +1416,29 @@ class DfProgressIndicatorService {
|
|
|
1462
1416
|
return viewRef;
|
|
1463
1417
|
}
|
|
1464
1418
|
else {
|
|
1465
|
-
return this.createComponent(content
|
|
1419
|
+
return this.createComponent(content);
|
|
1466
1420
|
}
|
|
1467
1421
|
}
|
|
1468
|
-
createComponent(cmpType,
|
|
1469
|
-
const cmpFactory = cfr.resolveComponentFactory(cmpType);
|
|
1422
|
+
createComponent(cmpType, childrenProjectables, container) {
|
|
1470
1423
|
let cmpRef;
|
|
1471
1424
|
if (childrenProjectables) {
|
|
1472
1425
|
if (childrenProjectables instanceof ComponentRef) {
|
|
1473
|
-
cmpRef =
|
|
1426
|
+
cmpRef = createComponent(cmpType, {
|
|
1427
|
+
environmentInjector: this.environmentInjector,
|
|
1428
|
+
projectableNodes: [[childrenProjectables.location.nativeElement]]
|
|
1429
|
+
});
|
|
1474
1430
|
}
|
|
1475
1431
|
else {
|
|
1476
|
-
cmpRef =
|
|
1432
|
+
cmpRef = createComponent(cmpType, {
|
|
1433
|
+
environmentInjector: this.environmentInjector,
|
|
1434
|
+
projectableNodes: [childrenProjectables.rootNodes]
|
|
1435
|
+
});
|
|
1477
1436
|
}
|
|
1478
1437
|
}
|
|
1479
1438
|
else {
|
|
1480
|
-
cmpRef =
|
|
1439
|
+
cmpRef = createComponent(cmpType, {
|
|
1440
|
+
environmentInjector: this.environmentInjector
|
|
1441
|
+
});
|
|
1481
1442
|
}
|
|
1482
1443
|
this.appRef.attachView(cmpRef.hostView);
|
|
1483
1444
|
if (container) {
|
|
@@ -1495,23 +1456,20 @@ class DfProgressIndicatorService {
|
|
|
1495
1456
|
});
|
|
1496
1457
|
}
|
|
1497
1458
|
}
|
|
1498
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1499
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1459
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfProgressIndicatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1460
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfProgressIndicatorService, providedIn: 'root' }); }
|
|
1500
1461
|
}
|
|
1501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfProgressIndicatorService, decorators: [{
|
|
1502
1463
|
type: Injectable,
|
|
1503
1464
|
args: [{
|
|
1504
1465
|
providedIn: 'root'
|
|
1505
1466
|
}]
|
|
1506
|
-
}]
|
|
1507
|
-
type: Inject,
|
|
1508
|
-
args: [DOCUMENT]
|
|
1509
|
-
}] }, { type: i0.RendererFactory2 }, { type: i0.ComponentFactoryResolver }, { type: i0.ApplicationRef }, { type: i0.Injector }, { type: ScrollBar }] });
|
|
1467
|
+
}] });
|
|
1510
1468
|
|
|
1511
1469
|
class DfProgressIndicatorDirective {
|
|
1512
1470
|
constructor() {
|
|
1513
|
-
this.dfProgressIndicator = input.required();
|
|
1514
|
-
this.dfProgressIndicatorConfig = input();
|
|
1471
|
+
this.dfProgressIndicator = input.required(...(ngDevMode ? [{ debugName: "dfProgressIndicator" }] : []));
|
|
1472
|
+
this.dfProgressIndicatorConfig = input(...(ngDevMode ? [undefined, { debugName: "dfProgressIndicatorConfig" }] : []));
|
|
1515
1473
|
this.elementRef = inject(ElementRef);
|
|
1516
1474
|
this.progressService = inject(DfProgressIndicatorService);
|
|
1517
1475
|
effect(() => {
|
|
@@ -1529,10 +1487,10 @@ class DfProgressIndicatorDirective {
|
|
|
1529
1487
|
}
|
|
1530
1488
|
});
|
|
1531
1489
|
}
|
|
1532
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1533
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.
|
|
1490
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfProgressIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1491
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.3", 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
1492
|
}
|
|
1535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfProgressIndicatorDirective, decorators: [{
|
|
1536
1494
|
type: Directive,
|
|
1537
1495
|
args: [{
|
|
1538
1496
|
selector: '[dfProgressIndicator]'
|
|
@@ -1540,8 +1498,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
1540
1498
|
}], ctorParameters: () => [] });
|
|
1541
1499
|
|
|
1542
1500
|
class DfProgressIndicatorModule {
|
|
1543
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1544
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
1501
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfProgressIndicatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1502
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfProgressIndicatorModule, imports: [DfDefaultSpinnerComponent,
|
|
1545
1503
|
DfProgressbarModule,
|
|
1546
1504
|
DfProgressIndicatorBackdropComponent,
|
|
1547
1505
|
DfProgressIndicatorContainerComponent,
|
|
@@ -1550,9 +1508,9 @@ class DfProgressIndicatorModule {
|
|
|
1550
1508
|
DfProgressIndicatorDirective,
|
|
1551
1509
|
DfProgressIndicatorBackdropComponent,
|
|
1552
1510
|
DfDefaultSpinnerComponent] }); }
|
|
1553
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
1511
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfProgressIndicatorModule, imports: [DfProgressbarModule, DfProgressbarModule] }); }
|
|
1554
1512
|
}
|
|
1555
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1513
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfProgressIndicatorModule, decorators: [{
|
|
1556
1514
|
type: NgModule,
|
|
1557
1515
|
args: [{
|
|
1558
1516
|
imports: [
|
|
@@ -1578,7 +1536,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
1578
1536
|
class DfSliderDirectionDirective {
|
|
1579
1537
|
constructor() {
|
|
1580
1538
|
// Workaround due to bad export on @angular-slider/ngx-slider and https://github.com/angular/angular/issues/8277
|
|
1581
|
-
this.dfSliderDirection = input.required();
|
|
1539
|
+
this.dfSliderDirection = input.required(...(ngDevMode ? [{ debugName: "dfSliderDirection" }] : []));
|
|
1582
1540
|
this.elementRef = inject(ElementRef);
|
|
1583
1541
|
this.rtlDirectionService = inject(DfDirectionDetectionService, { optional: true });
|
|
1584
1542
|
}
|
|
@@ -1590,10 +1548,10 @@ class DfSliderDirectionDirective {
|
|
|
1590
1548
|
}
|
|
1591
1549
|
}
|
|
1592
1550
|
}
|
|
1593
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1594
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.
|
|
1551
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSliderDirectionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1552
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.3", type: DfSliderDirectionDirective, isStandalone: true, selector: "[dfSliderDirection]", inputs: { dfSliderDirection: { classPropertyName: "dfSliderDirection", publicName: "dfSliderDirection", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
1595
1553
|
}
|
|
1596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSliderDirectionDirective, decorators: [{
|
|
1597
1555
|
type: Directive,
|
|
1598
1556
|
args: [{
|
|
1599
1557
|
selector: '[dfSliderDirection]'
|
|
@@ -1777,7 +1735,8 @@ class ValueHelper {
|
|
|
1777
1735
|
const differences = stepsArray.map((step) => Math.abs(modelValue - step.value));
|
|
1778
1736
|
let minDifferenceIndex = 0;
|
|
1779
1737
|
for (let index = 0; index < stepsArray.length; index++) {
|
|
1780
|
-
if (differences[index] !== differences[minDifferenceIndex] &&
|
|
1738
|
+
if (differences[index] !== differences[minDifferenceIndex] &&
|
|
1739
|
+
differences[index] < differences[minDifferenceIndex]) {
|
|
1781
1740
|
minDifferenceIndex = index;
|
|
1782
1741
|
}
|
|
1783
1742
|
}
|
|
@@ -1807,7 +1766,7 @@ class CompatibilityHelper {
|
|
|
1807
1766
|
class MathHelper {
|
|
1808
1767
|
/* Round numbers to a given number of significant digits */
|
|
1809
1768
|
static roundToPrecisionLimit(value, precisionLimit) {
|
|
1810
|
-
return +
|
|
1769
|
+
return +value.toPrecision(precisionLimit);
|
|
1811
1770
|
}
|
|
1812
1771
|
static isModuloWithinPrecisionLimit(value, modulo, precisionLimit) {
|
|
1813
1772
|
const limit = Math.pow(10, -precisionLimit);
|
|
@@ -1821,6 +1780,7 @@ class MathHelper {
|
|
|
1821
1780
|
class EventListener {
|
|
1822
1781
|
}
|
|
1823
1782
|
|
|
1783
|
+
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
|
|
1824
1784
|
const w = typeof window !== 'undefined' ? window : { screen: {}, navigator: {} };
|
|
1825
1785
|
let passiveOptionAccessed = false;
|
|
1826
1786
|
const options = {
|
|
@@ -1829,7 +1789,9 @@ const options = {
|
|
|
1829
1789
|
}
|
|
1830
1790
|
};
|
|
1831
1791
|
const noop = () => { };
|
|
1792
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
|
1832
1793
|
w.addEventListener && w.addEventListener('p', noop, options);
|
|
1794
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
|
1833
1795
|
w.removeEventListener && w.removeEventListener('p', noop, false);
|
|
1834
1796
|
const supportsPassiveEvents = passiveOptionAccessed;
|
|
1835
1797
|
/**
|
|
@@ -1856,7 +1818,7 @@ class EventListenerHelper {
|
|
|
1856
1818
|
nativeElement.removeEventListener(eventName, observerCallback, { passive: true, capture: false });
|
|
1857
1819
|
};
|
|
1858
1820
|
listener.eventsSubscription = listener.events
|
|
1859
|
-
.pipe(
|
|
1821
|
+
.pipe(!ValueHelper.isNullOrUndefined(throttleInterval)
|
|
1860
1822
|
? throttleTime(throttleInterval, undefined, { leading: true, trailing: true })
|
|
1861
1823
|
: tap(() => { }) // no-op
|
|
1862
1824
|
)
|
|
@@ -1885,15 +1847,18 @@ class EventListenerHelper {
|
|
|
1885
1847
|
};
|
|
1886
1848
|
listener.teardownCallback = this.renderer.listen(nativeElement, eventName, observerCallback);
|
|
1887
1849
|
listener.eventsSubscription = listener.events
|
|
1888
|
-
.pipe(
|
|
1850
|
+
.pipe(!ValueHelper.isNullOrUndefined(throttleInterval)
|
|
1889
1851
|
? throttleTime(throttleInterval, undefined, { leading: true, trailing: true })
|
|
1890
1852
|
: tap(() => { }) // no-op
|
|
1891
1853
|
)
|
|
1892
|
-
.subscribe((event) => {
|
|
1854
|
+
.subscribe((event) => {
|
|
1855
|
+
callback(event);
|
|
1856
|
+
});
|
|
1893
1857
|
return listener;
|
|
1894
1858
|
}
|
|
1895
1859
|
}
|
|
1896
1860
|
|
|
1861
|
+
/* eslint-disable @angular-eslint/prefer-inject */
|
|
1897
1862
|
/**
|
|
1898
1863
|
* @deprecated SliderElementDirective is deprecated. Use {@link https://design-factory.amadeus.net/components/slider/agnosui AgnosUI Slider} instead.
|
|
1899
1864
|
*/
|
|
@@ -2056,10 +2021,10 @@ class SliderElementDirective {
|
|
|
2056
2021
|
isRefDestroyed() {
|
|
2057
2022
|
return (ValueHelper.isNullOrUndefined(this.changeDetectionRef) || this.changeDetectionRef['destroyed']);
|
|
2058
2023
|
}
|
|
2059
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2060
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
2024
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: SliderElementDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2025
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", 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
2026
|
}
|
|
2062
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2027
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: SliderElementDirective, decorators: [{
|
|
2063
2028
|
type: Directive,
|
|
2064
2029
|
args: [{
|
|
2065
2030
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2092,6 +2057,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
2092
2057
|
* @deprecated SliderHandleDirective is deprecated. Use {@link https://design-factory.amadeus.net/components/slider/agnosui AgnosUI Slider} instead.
|
|
2093
2058
|
*/
|
|
2094
2059
|
class SliderHandleDirective extends SliderElementDirective {
|
|
2060
|
+
// eslint-disable-next-line @angular-eslint/prefer-inject
|
|
2095
2061
|
constructor(elemRef, renderer, changeDetectionRef) {
|
|
2096
2062
|
super(elemRef, renderer, changeDetectionRef);
|
|
2097
2063
|
this.active = false;
|
|
@@ -2108,10 +2074,10 @@ class SliderHandleDirective extends SliderElementDirective {
|
|
|
2108
2074
|
focus() {
|
|
2109
2075
|
this.elemRef.nativeElement.focus();
|
|
2110
2076
|
}
|
|
2111
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2112
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
2077
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: SliderHandleDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2078
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", 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
2079
|
}
|
|
2114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: SliderHandleDirective, decorators: [{
|
|
2115
2081
|
type: Directive,
|
|
2116
2082
|
args: [{
|
|
2117
2083
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2156,6 +2122,7 @@ class SliderLabelDirective extends SliderElementDirective {
|
|
|
2156
2122
|
get value() {
|
|
2157
2123
|
return this._value || '';
|
|
2158
2124
|
}
|
|
2125
|
+
// eslint-disable-next-line @angular-eslint/prefer-inject
|
|
2159
2126
|
constructor(elemRef, renderer, changeDetectionRef) {
|
|
2160
2127
|
super(elemRef, renderer, changeDetectionRef);
|
|
2161
2128
|
}
|
|
@@ -2174,10 +2141,10 @@ class SliderLabelDirective extends SliderElementDirective {
|
|
|
2174
2141
|
this.calculateDimension();
|
|
2175
2142
|
}
|
|
2176
2143
|
}
|
|
2177
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2178
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
2144
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: SliderLabelDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2145
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", type: SliderLabelDirective, isStandalone: true, selector: "[ngxSliderLabel]", usesInheritance: true, ngImport: i0 }); }
|
|
2179
2146
|
}
|
|
2180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: SliderLabelDirective, decorators: [{
|
|
2181
2148
|
type: Directive,
|
|
2182
2149
|
args: [{
|
|
2183
2150
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2190,10 +2157,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
2190
2157
|
* @deprecated TooltipWrapperComponent is deprecated. Use {@link https://design-factory.amadeus.net/components/slider/agnosui AgnosUI Slider} instead.
|
|
2191
2158
|
*/
|
|
2192
2159
|
class TooltipWrapperComponent {
|
|
2193
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2194
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
2160
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: TooltipWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2161
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", 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
2162
|
}
|
|
2196
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: TooltipWrapperComponent, decorators: [{
|
|
2197
2164
|
type: Component,
|
|
2198
2165
|
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
2166
|
}], propDecorators: { template: [{
|
|
@@ -2206,6 +2173,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
2206
2173
|
type: Input
|
|
2207
2174
|
}] } });
|
|
2208
2175
|
|
|
2176
|
+
/* eslint-disable @angular-eslint/prefer-inject */
|
|
2209
2177
|
/* eslint-disable @angular-eslint/prefer-signals */
|
|
2210
2178
|
class Tick {
|
|
2211
2179
|
constructor() {
|
|
@@ -2443,7 +2411,7 @@ class SliderComponent {
|
|
|
2443
2411
|
this.viewOptions.ariaLabel = ariaLabel;
|
|
2444
2412
|
this.updateAriaLabel();
|
|
2445
2413
|
}
|
|
2446
|
-
onResize(
|
|
2414
|
+
onResize() {
|
|
2447
2415
|
this.calculateViewDimensionsAndDetectChanges();
|
|
2448
2416
|
}
|
|
2449
2417
|
subscribeInputModelChangeSubject() {
|
|
@@ -4100,10 +4068,10 @@ class SliderComponent {
|
|
|
4100
4068
|
}
|
|
4101
4069
|
return changeContext;
|
|
4102
4070
|
}
|
|
4103
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4104
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
4071
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: SliderComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4072
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", 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
4073
|
}
|
|
4106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: SliderComponent, decorators: [{
|
|
4107
4075
|
type: Component,
|
|
4108
4076
|
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
4077
|
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }], propDecorators: { class: [{
|
|
@@ -4193,16 +4161,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
4193
4161
|
* Use {@link https://design-factory.amadeus.net/components/slider/agnosui AgnosUI Slider} instead.
|
|
4194
4162
|
*/
|
|
4195
4163
|
class DfSliderModule {
|
|
4196
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4197
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
4164
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4165
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfSliderModule, imports: [SliderComponent,
|
|
4198
4166
|
SliderElementDirective,
|
|
4199
4167
|
SliderHandleDirective,
|
|
4200
4168
|
SliderLabelDirective,
|
|
4201
4169
|
TooltipWrapperComponent,
|
|
4202
4170
|
DfSliderDirectionDirective], exports: [DfSliderDirectionDirective, SliderComponent] }); }
|
|
4203
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
4171
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSliderModule, imports: [SliderComponent] }); }
|
|
4204
4172
|
}
|
|
4205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSliderModule, decorators: [{
|
|
4206
4174
|
type: NgModule,
|
|
4207
4175
|
args: [{
|
|
4208
4176
|
imports: [
|
|
@@ -4232,10 +4200,10 @@ class DfSideNavConfig {
|
|
|
4232
4200
|
this.isAppOverlay = false;
|
|
4233
4201
|
this.isAppOverlayMode = true;
|
|
4234
4202
|
}
|
|
4235
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4236
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
4203
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4204
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavConfig, providedIn: 'root' }); }
|
|
4237
4205
|
}
|
|
4238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavConfig, decorators: [{
|
|
4239
4207
|
type: Injectable,
|
|
4240
4208
|
args: [{ providedIn: 'root' }]
|
|
4241
4209
|
}] });
|
|
@@ -4258,19 +4226,19 @@ var DfNavItemType;
|
|
|
4258
4226
|
* Creating a sidenav is straightforward: use [DfSideNavComponent](#/components/sidenav/api#DfSideNavComponent) component
|
|
4259
4227
|
*/
|
|
4260
4228
|
class DfSideNavService {
|
|
4261
|
-
constructor(
|
|
4262
|
-
this.config = config;
|
|
4229
|
+
constructor() {
|
|
4263
4230
|
this.type = DfNavItemType;
|
|
4264
|
-
this.
|
|
4265
|
-
this.subscription = new Subscription();
|
|
4231
|
+
this.config = inject(DfSideNavConfig);
|
|
4266
4232
|
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);
|
|
4233
|
+
this._isMinmized$ = new BehaviorSubject(this.config.isMinmized);
|
|
4234
|
+
this._isCollapsed$ = new BehaviorSubject(this.config.isCollapsed);
|
|
4235
|
+
this._isPresent$ = new BehaviorSubject(this.config.isPresent);
|
|
4272
4236
|
this._activeItem$ = new BehaviorSubject(null);
|
|
4273
|
-
this.
|
|
4237
|
+
this._isInMenuOverlay$ = new BehaviorSubject(this.config.isInMenuOverlay);
|
|
4238
|
+
this._isAppOverlay$ = new BehaviorSubject(this.config.isAppOverlay);
|
|
4239
|
+
this._isAppOverlayMode = this.config.isAppOverlayMode;
|
|
4240
|
+
this._items = [];
|
|
4241
|
+
this.subscription = new Subscription();
|
|
4274
4242
|
this.subscription.add(this._isCollapsed$.subscribe(() => {
|
|
4275
4243
|
this.updateOverLay();
|
|
4276
4244
|
}));
|
|
@@ -4542,15 +4510,15 @@ class DfSideNavService {
|
|
|
4542
4510
|
updateOverLay() {
|
|
4543
4511
|
this._isAppOverlay$.next(this.isAppOverlayMode && this._isCollapsed$.value === false);
|
|
4544
4512
|
}
|
|
4545
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4546
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
4513
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4514
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavService, providedIn: 'root' }); }
|
|
4547
4515
|
}
|
|
4548
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4516
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavService, decorators: [{
|
|
4549
4517
|
type: Injectable,
|
|
4550
4518
|
args: [{
|
|
4551
4519
|
providedIn: 'root'
|
|
4552
4520
|
}]
|
|
4553
|
-
}], ctorParameters: () => [
|
|
4521
|
+
}], ctorParameters: () => [] });
|
|
4554
4522
|
|
|
4555
4523
|
const environment = {
|
|
4556
4524
|
animation: true,
|
|
@@ -4563,8 +4531,8 @@ const environment = {
|
|
|
4563
4531
|
* @param zone Angular Zone element
|
|
4564
4532
|
*/
|
|
4565
4533
|
function runInZone(zone) {
|
|
4566
|
-
return source => {
|
|
4567
|
-
return new Observable(observer => {
|
|
4534
|
+
return (source) => {
|
|
4535
|
+
return new Observable((observer) => {
|
|
4568
4536
|
const onNext = (value) => zone.run(() => observer.next(value));
|
|
4569
4537
|
const onError = (e) => zone.run(() => observer.error(e));
|
|
4570
4538
|
const onComplete = () => zone.run(() => observer.complete());
|
|
@@ -4665,8 +4633,8 @@ const ngbCompleteTransition = (element) => {
|
|
|
4665
4633
|
* to provide default values for the sideNav used in the application.
|
|
4666
4634
|
*/
|
|
4667
4635
|
class DfSideNavCollapseConfig {
|
|
4668
|
-
constructor(
|
|
4669
|
-
this._ngbConfig =
|
|
4636
|
+
constructor() {
|
|
4637
|
+
this._ngbConfig = inject(NgbConfig);
|
|
4670
4638
|
}
|
|
4671
4639
|
get animation() {
|
|
4672
4640
|
return this._animation === undefined ? this._ngbConfig.animation : this._animation;
|
|
@@ -4674,13 +4642,13 @@ class DfSideNavCollapseConfig {
|
|
|
4674
4642
|
set animation(animation) {
|
|
4675
4643
|
this._animation = animation;
|
|
4676
4644
|
}
|
|
4677
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4678
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
4645
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4646
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseConfig, providedIn: 'root' }); }
|
|
4679
4647
|
}
|
|
4680
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseConfig, decorators: [{
|
|
4681
4649
|
type: Injectable,
|
|
4682
4650
|
args: [{ providedIn: 'root' }]
|
|
4683
|
-
}]
|
|
4651
|
+
}] });
|
|
4684
4652
|
|
|
4685
4653
|
/**
|
|
4686
4654
|
* A service for managing the sidenav panel animation.
|
|
@@ -4689,9 +4657,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
4689
4657
|
* Creating a sidenav is straightforward: use [DfSideNavComponent](#/components/sidenav/api#DfSideNavComponent) component
|
|
4690
4658
|
*/
|
|
4691
4659
|
class DfSideNavCollapseService {
|
|
4692
|
-
constructor(
|
|
4693
|
-
this.
|
|
4694
|
-
this._sideNavAnimation$ = new BehaviorSubject(_config.animation);
|
|
4660
|
+
constructor() {
|
|
4661
|
+
this._sideNavAnimation$ = new BehaviorSubject(inject(DfSideNavCollapseConfig).animation);
|
|
4695
4662
|
}
|
|
4696
4663
|
get sideNavAnimation$() {
|
|
4697
4664
|
return this._sideNavAnimation$.asObservable();
|
|
@@ -4705,15 +4672,15 @@ class DfSideNavCollapseService {
|
|
|
4705
4672
|
setAnimation(on) {
|
|
4706
4673
|
this._sideNavAnimation$.next(on);
|
|
4707
4674
|
}
|
|
4708
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4709
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
4675
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4676
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseService, providedIn: 'root' }); }
|
|
4710
4677
|
}
|
|
4711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseService, decorators: [{
|
|
4712
4679
|
type: Injectable,
|
|
4713
4680
|
args: [{
|
|
4714
4681
|
providedIn: 'root'
|
|
4715
4682
|
}]
|
|
4716
|
-
}]
|
|
4683
|
+
}] });
|
|
4717
4684
|
|
|
4718
4685
|
function measureCollapsingElementWidthPx(element) {
|
|
4719
4686
|
// SSR fix for without injecting the PlatformId
|
|
@@ -4795,9 +4762,9 @@ class DfSideNavCollapseDirective {
|
|
|
4795
4762
|
/**
|
|
4796
4763
|
* If `true`, will collapse the element or show it otherwise.
|
|
4797
4764
|
*/
|
|
4798
|
-
this.dfSideNavCollapse = input.required();
|
|
4799
|
-
this.collapsed = signal(false);
|
|
4800
|
-
this.minimized = input(false);
|
|
4765
|
+
this.dfSideNavCollapse = input.required(...(ngDevMode ? [{ debugName: "dfSideNavCollapse" }] : []));
|
|
4766
|
+
this.collapsed = signal(false, ...(ngDevMode ? [{ debugName: "collapsed" }] : []));
|
|
4767
|
+
this.minimized = input(false, ...(ngDevMode ? [{ debugName: "minimized" }] : []));
|
|
4801
4768
|
this.dfSideNavCollapseChange = output();
|
|
4802
4769
|
/**
|
|
4803
4770
|
* An event emitted when the collapse element is shown, after the transition. It has no payload.
|
|
@@ -4868,20 +4835,20 @@ class DfSideNavCollapseDirective {
|
|
|
4868
4835
|
}
|
|
4869
4836
|
});
|
|
4870
4837
|
}
|
|
4871
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4872
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.
|
|
4838
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4839
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.3", 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
4840
|
}
|
|
4874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseDirective, decorators: [{
|
|
4875
4842
|
type: Directive,
|
|
4876
4843
|
args: [{ selector: '[dfSideNavCollapse]', exportAs: 'dfSideNavCollapse' }]
|
|
4877
4844
|
}], ctorParameters: () => [] });
|
|
4878
4845
|
|
|
4879
4846
|
class DfSideNavCollapseModule {
|
|
4880
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4881
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
4882
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
4847
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4848
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseModule, imports: [DfSideNavCollapseDirective], exports: [DfSideNavCollapseDirective] }); }
|
|
4849
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseModule }); }
|
|
4883
4850
|
}
|
|
4884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4851
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseModule, decorators: [{
|
|
4885
4852
|
type: NgModule,
|
|
4886
4853
|
args: [{
|
|
4887
4854
|
imports: [DfSideNavCollapseDirective],
|
|
@@ -4890,9 +4857,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
4890
4857
|
}] });
|
|
4891
4858
|
|
|
4892
4859
|
class DfManageSideNavDirective {
|
|
4893
|
-
constructor(
|
|
4894
|
-
this.element =
|
|
4895
|
-
this.renderer =
|
|
4860
|
+
constructor() {
|
|
4861
|
+
this.element = inject(ElementRef);
|
|
4862
|
+
this.renderer = inject(Renderer2);
|
|
4896
4863
|
}
|
|
4897
4864
|
ngAfterViewChecked() {
|
|
4898
4865
|
if (this.element.nativeElement.querySelector('.active')) {
|
|
@@ -4902,15 +4869,15 @@ class DfManageSideNavDirective {
|
|
|
4902
4869
|
this.renderer.removeClass(this.element.nativeElement, 'df-sidenav-list-withactivated');
|
|
4903
4870
|
}
|
|
4904
4871
|
}
|
|
4905
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4906
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
4872
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfManageSideNavDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4873
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", type: DfManageSideNavDirective, isStandalone: true, selector: "[dfManageSideNav]", ngImport: i0 }); }
|
|
4907
4874
|
}
|
|
4908
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfManageSideNavDirective, decorators: [{
|
|
4909
4876
|
type: Directive,
|
|
4910
4877
|
args: [{
|
|
4911
4878
|
selector: '[dfManageSideNav]'
|
|
4912
4879
|
}]
|
|
4913
|
-
}]
|
|
4880
|
+
}] });
|
|
4914
4881
|
|
|
4915
4882
|
class DfOverflowService {
|
|
4916
4883
|
/**
|
|
@@ -4934,10 +4901,10 @@ class DfOverflowService {
|
|
|
4934
4901
|
hasOverflowY(element) {
|
|
4935
4902
|
return element.offsetHeight < element.scrollHeight;
|
|
4936
4903
|
}
|
|
4937
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4938
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
4904
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfOverflowService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4905
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfOverflowService, providedIn: 'root' }); }
|
|
4939
4906
|
}
|
|
4940
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfOverflowService, decorators: [{
|
|
4941
4908
|
type: Injectable,
|
|
4942
4909
|
args: [{
|
|
4943
4910
|
providedIn: 'root'
|
|
@@ -4968,10 +4935,10 @@ class DfTitleTruncateDirective {
|
|
|
4968
4935
|
nativeElement.removeAttribute(titleAttributeName);
|
|
4969
4936
|
}
|
|
4970
4937
|
}
|
|
4971
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4972
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
4938
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfTitleTruncateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4939
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", type: DfTitleTruncateDirective, isStandalone: true, selector: "[dfTitleTruncate]", exportAs: ["dfTitleTruncate"], ngImport: i0 }); }
|
|
4973
4940
|
}
|
|
4974
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfTitleTruncateDirective, decorators: [{
|
|
4975
4942
|
type: Directive,
|
|
4976
4943
|
args: [{
|
|
4977
4944
|
exportAs: 'dfTitleTruncate',
|
|
@@ -4993,11 +4960,11 @@ let uniqueId = 0;
|
|
|
4993
4960
|
// eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
|
|
4994
4961
|
class DfSideNavListComponent {
|
|
4995
4962
|
constructor() {
|
|
4996
|
-
this.items = input.required();
|
|
4997
|
-
this.tplIcon = input();
|
|
4998
|
-
this.tplItem = input();
|
|
4999
|
-
this.currentItem = input();
|
|
5000
|
-
this.id = input();
|
|
4963
|
+
this.items = input.required(...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
4964
|
+
this.tplIcon = input(...(ngDevMode ? [undefined, { debugName: "tplIcon" }] : []));
|
|
4965
|
+
this.tplItem = input(...(ngDevMode ? [undefined, { debugName: "tplItem" }] : []));
|
|
4966
|
+
this.currentItem = input(...(ngDevMode ? [undefined, { debugName: "currentItem" }] : []));
|
|
4967
|
+
this.id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
5001
4968
|
this.controlledUniqueId = this.getControlledUniqueId();
|
|
5002
4969
|
this.sideNavService = inject(DfSideNavService);
|
|
5003
4970
|
}
|
|
@@ -5005,10 +4972,10 @@ class DfSideNavListComponent {
|
|
|
5005
4972
|
uniqueId++;
|
|
5006
4973
|
return `df-sidenav-id-${uniqueId};`;
|
|
5007
4974
|
}
|
|
5008
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5009
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
4975
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4976
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", 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"] }] }); }
|
|
5010
4977
|
}
|
|
5011
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4978
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavListComponent, decorators: [{
|
|
5012
4979
|
type: Component,
|
|
5013
4980
|
args: [{ selector: 'df-sidenavlist', imports: [
|
|
5014
4981
|
NgTemplateOutlet,
|
|
@@ -5022,38 +4989,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
5022
4989
|
}] });
|
|
5023
4990
|
|
|
5024
4991
|
class DfSideNavHeaderDirective {
|
|
5025
|
-
constructor(
|
|
5026
|
-
this.templateRef =
|
|
4992
|
+
constructor() {
|
|
4993
|
+
this.templateRef = inject(TemplateRef);
|
|
5027
4994
|
}
|
|
5028
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5029
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
4995
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4996
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", type: DfSideNavHeaderDirective, isStandalone: true, selector: "ng-template[dfSideNavHeader]", ngImport: i0 }); }
|
|
5030
4997
|
}
|
|
5031
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4998
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavHeaderDirective, decorators: [{
|
|
5032
4999
|
type: Directive,
|
|
5033
5000
|
args: [{ selector: 'ng-template[dfSideNavHeader]' }]
|
|
5034
|
-
}]
|
|
5001
|
+
}] });
|
|
5035
5002
|
class DfSideNavIconDirective {
|
|
5036
|
-
constructor(
|
|
5037
|
-
this.templateRef =
|
|
5003
|
+
constructor() {
|
|
5004
|
+
this.templateRef = inject(TemplateRef);
|
|
5038
5005
|
}
|
|
5039
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5040
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
5006
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5007
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", type: DfSideNavIconDirective, isStandalone: true, selector: "ng-template[dfSideNavIcon]", ngImport: i0 }); }
|
|
5041
5008
|
}
|
|
5042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavIconDirective, decorators: [{
|
|
5043
5010
|
type: Directive,
|
|
5044
5011
|
args: [{ selector: 'ng-template[dfSideNavIcon]' }]
|
|
5045
|
-
}]
|
|
5012
|
+
}] });
|
|
5046
5013
|
class DfSideNavItemDirective {
|
|
5047
|
-
constructor(
|
|
5048
|
-
this.templateRef =
|
|
5014
|
+
constructor() {
|
|
5015
|
+
this.templateRef = inject(TemplateRef);
|
|
5049
5016
|
}
|
|
5050
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5051
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
5017
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5018
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", type: DfSideNavItemDirective, isStandalone: true, selector: "ng-template[dfSideNavItem]", ngImport: i0 }); }
|
|
5052
5019
|
}
|
|
5053
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5020
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavItemDirective, decorators: [{
|
|
5054
5021
|
type: Directive,
|
|
5055
5022
|
args: [{ selector: 'ng-template[dfSideNavItem]' }]
|
|
5056
|
-
}]
|
|
5023
|
+
}] });
|
|
5057
5024
|
/**
|
|
5058
5025
|
* SideNav is a component to provide navigation feature with a panel on the side of your page
|
|
5059
5026
|
*
|
|
@@ -5065,11 +5032,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
5065
5032
|
*/
|
|
5066
5033
|
class DfSideNavComponent {
|
|
5067
5034
|
constructor() {
|
|
5068
|
-
this.tplHeader = contentChild(DfSideNavHeaderDirective);
|
|
5069
|
-
this.tplIcon = contentChild(DfSideNavIconDirective);
|
|
5070
|
-
this.tplItem = contentChild(DfSideNavItemDirective);
|
|
5071
|
-
this.overlayClass = signal(false);
|
|
5072
|
-
this.classes = computed(() => `df-sidenav-light d-flex flex-column flex-shrink-0${this.overlayClass() ? ' df-sidenav-menu-overlay' : ''}
|
|
5035
|
+
this.tplHeader = contentChild(DfSideNavHeaderDirective, ...(ngDevMode ? [{ debugName: "tplHeader" }] : []));
|
|
5036
|
+
this.tplIcon = contentChild(DfSideNavIconDirective, ...(ngDevMode ? [{ debugName: "tplIcon" }] : []));
|
|
5037
|
+
this.tplItem = contentChild(DfSideNavItemDirective, ...(ngDevMode ? [{ debugName: "tplItem" }] : []));
|
|
5038
|
+
this.overlayClass = signal(false, ...(ngDevMode ? [{ debugName: "overlayClass" }] : []));
|
|
5039
|
+
this.classes = computed(() => `df-sidenav-light d-flex flex-column flex-shrink-0${this.overlayClass() ? ' df-sidenav-menu-overlay' : ''}`, ...(ngDevMode ? [{ debugName: "classes" }] : []));
|
|
5073
5040
|
this.sideNavService = inject(DfSideNavService);
|
|
5074
5041
|
this.navItems = toSignal(this.sideNavService.sideNavItems$, {
|
|
5075
5042
|
initialValue: [],
|
|
@@ -5083,82 +5050,24 @@ class DfSideNavComponent {
|
|
|
5083
5050
|
ngOnDestroy() {
|
|
5084
5051
|
this.sideNavService.removeSideBar();
|
|
5085
5052
|
}
|
|
5086
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5087
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
5053
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5054
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", 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 }); }
|
|
5088
5055
|
}
|
|
5089
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavComponent, decorators: [{
|
|
5090
5057
|
type: Component,
|
|
5091
5058
|
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'df-sidenav', imports: [CommonModule, DfSideNavListComponent], host: {
|
|
5092
5059
|
'[class]': 'classes()'
|
|
5093
5060
|
}, 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" }]
|
|
5094
5061
|
}], ctorParameters: () => [] });
|
|
5095
5062
|
|
|
5096
|
-
/**
|
|
5097
|
-
* The directive to catch focusin event and put the focus at a defined position in the page
|
|
5098
|
-
*
|
|
5099
|
-
* @deprecated 19.1.0 use {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inert inert} instead
|
|
5100
|
-
* @since 9.1.0
|
|
5101
|
-
*/
|
|
5102
|
-
class DfExcludeTrapDirective {
|
|
5103
|
-
constructor() {
|
|
5104
|
-
this.subscription = new Subscription();
|
|
5105
|
-
/**
|
|
5106
|
-
* The CSS selector used to get the element to put the focus when catched
|
|
5107
|
-
*
|
|
5108
|
-
*/
|
|
5109
|
-
this.dfExcludeTrapSelector = input('');
|
|
5110
|
-
/**
|
|
5111
|
-
* The Observable to enable or disable the ExcludeTrap
|
|
5112
|
-
* If `True` the excludeTrap will work
|
|
5113
|
-
*/
|
|
5114
|
-
this.dfExcludeTrap = input.required();
|
|
5115
|
-
this.zone = inject(NgZone);
|
|
5116
|
-
this.element = inject(ElementRef);
|
|
5117
|
-
}
|
|
5118
|
-
init() {
|
|
5119
|
-
this.subscription = fromEvent(this.element.nativeElement, 'focusin').subscribe(() => {
|
|
5120
|
-
const el = document.querySelector(this.dfExcludeTrapSelector());
|
|
5121
|
-
if (el) {
|
|
5122
|
-
el.focus();
|
|
5123
|
-
}
|
|
5124
|
-
});
|
|
5125
|
-
}
|
|
5126
|
-
ngOnInit() {
|
|
5127
|
-
this.zone.runOutsideAngular(() => {
|
|
5128
|
-
this.subscriptionInput = this.dfExcludeTrap().subscribe((isPresent) => {
|
|
5129
|
-
if (isPresent) {
|
|
5130
|
-
this.init();
|
|
5131
|
-
}
|
|
5132
|
-
else {
|
|
5133
|
-
this.subscription.unsubscribe();
|
|
5134
|
-
}
|
|
5135
|
-
});
|
|
5136
|
-
});
|
|
5137
|
-
}
|
|
5138
|
-
ngOnDestroy() {
|
|
5139
|
-
this.subscription.unsubscribe();
|
|
5140
|
-
if (this.subscriptionInput) {
|
|
5141
|
-
this.subscriptionInput.unsubscribe();
|
|
5142
|
-
}
|
|
5143
|
-
}
|
|
5144
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: DfExcludeTrapDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5145
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.2", 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 }); }
|
|
5146
|
-
}
|
|
5147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImport: i0, type: DfExcludeTrapDirective, decorators: [{
|
|
5148
|
-
type: Directive,
|
|
5149
|
-
args: [{
|
|
5150
|
-
selector: '[dfExcludeTrap]'
|
|
5151
|
-
}]
|
|
5152
|
-
}] });
|
|
5153
|
-
|
|
5154
5063
|
const DF_SELECT_CLASS = 'df-ym';
|
|
5155
5064
|
|
|
5156
5065
|
class DfManageNavSelectDirective {
|
|
5157
|
-
constructor(
|
|
5158
|
-
this.select =
|
|
5159
|
-
this.element =
|
|
5160
|
-
this.rtlDirectionService =
|
|
5161
|
-
this.renderer =
|
|
5066
|
+
constructor() {
|
|
5067
|
+
this.select = inject(NgSelectComponent, { host: true });
|
|
5068
|
+
this.element = inject(ElementRef);
|
|
5069
|
+
this.rtlDirectionService = inject(DfDirectionDetectionService);
|
|
5070
|
+
this.renderer = inject(Renderer2);
|
|
5162
5071
|
}
|
|
5163
5072
|
ngOnInit() {
|
|
5164
5073
|
this.direction = this.rtlDirectionService.getPageDirection(this.element);
|
|
@@ -5171,7 +5080,7 @@ class DfManageNavSelectDirective {
|
|
|
5171
5080
|
this.arrowRightInnerHandler(event);
|
|
5172
5081
|
}
|
|
5173
5082
|
}
|
|
5174
|
-
handleKeyDownBackspace(
|
|
5083
|
+
handleKeyDownBackspace() {
|
|
5175
5084
|
// Clear on backspace is already handled by ng select when clearable is true
|
|
5176
5085
|
if (!this.select.clearable && !this.select.searchTerm) {
|
|
5177
5086
|
const listBadge = this.element.nativeElement.querySelectorAll(`.${DF_SELECT_CLASS}`);
|
|
@@ -5233,17 +5142,15 @@ class DfManageNavSelectDirective {
|
|
|
5233
5142
|
(listBadge[currentPos - 1] || document.activeElement).focus();
|
|
5234
5143
|
}
|
|
5235
5144
|
}
|
|
5236
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5237
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
5145
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfManageNavSelectDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5146
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", type: DfManageNavSelectDirective, isStandalone: true, selector: "[dfManageNavSelect]", host: { listeners: { "keydown.arrowLeft": "handleKeyDown($event)", "keydown.Backspace": "handleKeyDownBackspace($event)", "keydown.arrowRight": "handleKeyDownRight($event)" } }, ngImport: i0 }); }
|
|
5238
5147
|
}
|
|
5239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfManageNavSelectDirective, decorators: [{
|
|
5240
5149
|
type: Directive,
|
|
5241
5150
|
args: [{
|
|
5242
5151
|
selector: '[dfManageNavSelect]'
|
|
5243
5152
|
}]
|
|
5244
|
-
}],
|
|
5245
|
-
type: Host
|
|
5246
|
-
}] }, { type: i0.ElementRef }, { type: DfDirectionDetectionService }, { type: i0.Renderer2 }], propDecorators: { handleKeyDown: [{
|
|
5153
|
+
}], propDecorators: { handleKeyDown: [{
|
|
5247
5154
|
type: HostListener,
|
|
5248
5155
|
args: ['keydown.arrowLeft', ['$event']]
|
|
5249
5156
|
}], handleKeyDownBackspace: [{
|
|
@@ -5257,18 +5164,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
5257
5164
|
// Copy of https://github.com/ng-select/ng-select/blob/master/src/ng-option-highlight/lib/ng-option-highlight.directive.ts
|
|
5258
5165
|
class DfOptionHighlightDirective {
|
|
5259
5166
|
constructor() {
|
|
5260
|
-
this.dfOptionHighlight = input.required();
|
|
5261
|
-
this.label = signal('');
|
|
5167
|
+
this.dfOptionHighlight = input.required(...(ngDevMode ? [{ debugName: "dfOptionHighlight" }] : []));
|
|
5168
|
+
this.label = signal('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
5262
5169
|
this.elementRef = inject(ElementRef);
|
|
5263
5170
|
this.renderer = inject(Renderer2);
|
|
5264
|
-
this.canHighlight = computed(() => !!this.dfOptionHighlight() && !!this.label());
|
|
5171
|
+
this.canHighlight = computed(() => !!this.dfOptionHighlight() && !!this.label(), ...(ngDevMode ? [{ debugName: "canHighlight" }] : []));
|
|
5265
5172
|
effect(() => {
|
|
5266
5173
|
if (this.canHighlight()) {
|
|
5267
5174
|
const alternationString = this.dfOptionHighlight()
|
|
5268
5175
|
.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')
|
|
5269
5176
|
.replace(' ', '|');
|
|
5270
5177
|
const termRegex = new RegExp(alternationString, 'gi');
|
|
5271
|
-
this.setInnerHtml(this.label().replace(termRegex, `<span class
|
|
5178
|
+
this.setInnerHtml(this.label().replace(termRegex, `<span class="highlighted">$&</span>`));
|
|
5272
5179
|
}
|
|
5273
5180
|
else if (this.label()) {
|
|
5274
5181
|
// unhighlight if there was some
|
|
@@ -5282,10 +5189,10 @@ class DfOptionHighlightDirective {
|
|
|
5282
5189
|
setInnerHtml(html) {
|
|
5283
5190
|
this.renderer.setProperty(this.elementRef.nativeElement, 'innerHTML', html);
|
|
5284
5191
|
}
|
|
5285
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5286
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.
|
|
5192
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfOptionHighlightDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5193
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.3", type: DfOptionHighlightDirective, isStandalone: true, selector: "[dfOptionHighlight]", inputs: { dfOptionHighlight: { classPropertyName: "dfOptionHighlight", publicName: "dfOptionHighlight", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
5287
5194
|
}
|
|
5288
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfOptionHighlightDirective, decorators: [{
|
|
5289
5196
|
type: Directive,
|
|
5290
5197
|
args: [{
|
|
5291
5198
|
selector: '[dfOptionHighlight]'
|
|
@@ -5297,7 +5204,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
5297
5204
|
const NG_SELECT_CLASS_IDENTIFIER = 'ng-value-icon';
|
|
5298
5205
|
class DfManageBadgeEventsDirective {
|
|
5299
5206
|
constructor() {
|
|
5300
|
-
this.dfManageBadgeEventsSelect = input.required();
|
|
5207
|
+
this.dfManageBadgeEventsSelect = input.required(...(ngDevMode ? [{ debugName: "dfManageBadgeEventsSelect" }] : []));
|
|
5301
5208
|
this.renderer = inject(Renderer2);
|
|
5302
5209
|
this.element = inject(ElementRef);
|
|
5303
5210
|
this.renderer.addClass(this.element.nativeElement, DF_SELECT_CLASS);
|
|
@@ -5326,10 +5233,10 @@ class DfManageBadgeEventsDirective {
|
|
|
5326
5233
|
this.dfManageBadgeEventsSelect()[0](this.dfManageBadgeEventsSelect()[1]);
|
|
5327
5234
|
event.stopPropagation();
|
|
5328
5235
|
}
|
|
5329
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5330
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.
|
|
5236
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfManageBadgeEventsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5237
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.3", 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 }); }
|
|
5331
5238
|
}
|
|
5332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfManageBadgeEventsDirective, decorators: [{
|
|
5333
5240
|
type: Directive,
|
|
5334
5241
|
args: [{
|
|
5335
5242
|
selector: '[dfManageBadgeEventsSelect]',
|
|
@@ -5344,11 +5251,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
5344
5251
|
}], ctorParameters: () => [] });
|
|
5345
5252
|
|
|
5346
5253
|
class DfSelectModule {
|
|
5347
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5348
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
5349
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
5254
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5255
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfSelectModule, imports: [DfManageNavSelectDirective, DfManageBadgeEventsDirective, DfOptionHighlightDirective], exports: [DfManageNavSelectDirective, DfManageBadgeEventsDirective, DfOptionHighlightDirective, NgSelectModule] }); }
|
|
5256
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSelectModule, imports: [NgSelectModule] }); }
|
|
5350
5257
|
}
|
|
5351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSelectModule, decorators: [{
|
|
5352
5259
|
type: NgModule,
|
|
5353
5260
|
args: [{
|
|
5354
5261
|
imports: [DfManageNavSelectDirective, DfManageBadgeEventsDirective, DfOptionHighlightDirective],
|
|
@@ -5567,10 +5474,10 @@ class DfStepperService {
|
|
|
5567
5474
|
this._state = this.normalizeState(this._state);
|
|
5568
5475
|
this.dispatchStepperState();
|
|
5569
5476
|
}
|
|
5570
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5571
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
5477
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfStepperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5478
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfStepperService }); }
|
|
5572
5479
|
}
|
|
5573
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfStepperService, decorators: [{
|
|
5574
5481
|
type: Injectable
|
|
5575
5482
|
}] });
|
|
5576
5483
|
|
|
@@ -5602,10 +5509,10 @@ class DfStepperStepDirective {
|
|
|
5602
5509
|
ngOnDestroy() {
|
|
5603
5510
|
this.unlistener.forEach((ul) => ul());
|
|
5604
5511
|
}
|
|
5605
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5606
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
5512
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfStepperStepDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5513
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", type: DfStepperStepDirective, isStandalone: true, selector: "[dfStepperStep]", exportAs: ["dfStepperStep"], ngImport: i0 }); }
|
|
5607
5514
|
}
|
|
5608
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5515
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfStepperStepDirective, decorators: [{
|
|
5609
5516
|
type: Directive,
|
|
5610
5517
|
args: [{
|
|
5611
5518
|
selector: '[dfStepperStep]',
|
|
@@ -5713,10 +5620,10 @@ class DfStepperDirective {
|
|
|
5713
5620
|
this.stepperService.resetFocus();
|
|
5714
5621
|
}
|
|
5715
5622
|
}
|
|
5716
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5717
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
5623
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfStepperDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5624
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", 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 }); }
|
|
5718
5625
|
}
|
|
5719
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5626
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfStepperDirective, decorators: [{
|
|
5720
5627
|
type: Directive,
|
|
5721
5628
|
args: [{
|
|
5722
5629
|
selector: '[dfStepperLogic]',
|
|
@@ -5749,12 +5656,12 @@ class DfStepperStepContentDirective {
|
|
|
5749
5656
|
* The step index
|
|
5750
5657
|
* -1 means that the input index is not set
|
|
5751
5658
|
*/
|
|
5752
|
-
this.dfStepperStepContent = input(-1, { transform: (value) => numberAttribute(value, -1) });
|
|
5659
|
+
this.dfStepperStepContent = input(-1, ...(ngDevMode ? [{ debugName: "dfStepperStepContent", transform: (value) => numberAttribute(value, -1) }] : [{ transform: (value) => numberAttribute(value, -1) }]));
|
|
5753
5660
|
}
|
|
5754
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5755
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.
|
|
5661
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfStepperStepContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5662
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.3", type: DfStepperStepContentDirective, isStandalone: true, selector: "ng-template[dfStepperStepContent]", inputs: { dfStepperStepContent: { classPropertyName: "dfStepperStepContent", publicName: "dfStepperStepContent", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
5756
5663
|
}
|
|
5757
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfStepperStepContentDirective, decorators: [{
|
|
5758
5665
|
type: Directive,
|
|
5759
5666
|
args: [{ selector: 'ng-template[dfStepperStepContent]' }]
|
|
5760
5667
|
}] });
|
|
@@ -5768,8 +5675,8 @@ class DfStepperComponent {
|
|
|
5768
5675
|
constructor() {
|
|
5769
5676
|
this.stepperService = inject(DfStepperService);
|
|
5770
5677
|
this.mapStepToContent = new Map();
|
|
5771
|
-
this.tplStepsContent = contentChildren(DfStepperStepContentDirective);
|
|
5772
|
-
this.state = signal(undefined);
|
|
5678
|
+
this.tplStepsContent = contentChildren(DfStepperStepContentDirective, ...(ngDevMode ? [{ debugName: "tplStepsContent" }] : []));
|
|
5679
|
+
this.state = signal(undefined, ...(ngDevMode ? [{ debugName: "state" }] : []));
|
|
5773
5680
|
this.stepperService.stepperState$.pipe(takeUntilDestroyed()).subscribe((state) => {
|
|
5774
5681
|
this.state.set(state);
|
|
5775
5682
|
});
|
|
@@ -5781,10 +5688,10 @@ class DfStepperComponent {
|
|
|
5781
5688
|
}
|
|
5782
5689
|
});
|
|
5783
5690
|
}
|
|
5784
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5785
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
5691
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfStepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5692
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", 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 }); }
|
|
5786
5693
|
}
|
|
5787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5694
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfStepperComponent, decorators: [{
|
|
5788
5695
|
type: Component,
|
|
5789
5696
|
args: [{ selector: '[dfStepper]', changeDetection: ChangeDetectionStrategy.OnPush, imports: [DfStepperStepDirective, NgTemplateOutlet, AsyncPipe], hostDirectives: [DfStepperDirective], host: {
|
|
5790
5697
|
role: 'tablist',
|
|
@@ -5796,11 +5703,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
5796
5703
|
}], ctorParameters: () => [] });
|
|
5797
5704
|
|
|
5798
5705
|
class DfStepperModule {
|
|
5799
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5800
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
5801
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
5706
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfStepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5707
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfStepperModule, imports: [DfStepperDirective, DfStepperStepDirective, DfStepperComponent, DfStepperStepContentDirective], exports: [DfStepperDirective, DfStepperStepDirective, DfStepperComponent, DfStepperStepContentDirective] }); }
|
|
5708
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfStepperModule }); }
|
|
5802
5709
|
}
|
|
5803
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5710
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfStepperModule, decorators: [{
|
|
5804
5711
|
type: NgModule,
|
|
5805
5712
|
args: [{
|
|
5806
5713
|
imports: [DfStepperDirective, DfStepperStepDirective, DfStepperComponent, DfStepperStepContentDirective],
|
|
@@ -5842,7 +5749,7 @@ class DfTooltipTruncateDirective {
|
|
|
5842
5749
|
* The direction considered when detecting overflow, can be 'x', 'y' or ''.
|
|
5843
5750
|
* @defaultValue ''
|
|
5844
5751
|
*/
|
|
5845
|
-
this.dfTooltipTruncate = input('');
|
|
5752
|
+
this.dfTooltipTruncate = input('', ...(ngDevMode ? [{ debugName: "dfTooltipTruncate" }] : []));
|
|
5846
5753
|
}
|
|
5847
5754
|
ngOnInit() {
|
|
5848
5755
|
this.renderer.addClass(this.elementRef.nativeElement, 'text-truncate');
|
|
@@ -5863,10 +5770,10 @@ class DfTooltipTruncateDirective {
|
|
|
5863
5770
|
this.tooltip.disableTooltip = disableToolTip;
|
|
5864
5771
|
this.renderer.setAttribute(this.elementRef.nativeElement, 'tabIndex', disableToolTip ? '-1' : '0');
|
|
5865
5772
|
}
|
|
5866
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5867
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.
|
|
5773
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfTooltipTruncateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5774
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.3", type: DfTooltipTruncateDirective, isStandalone: true, selector: "[dfTooltipTruncate]", inputs: { dfTooltipTruncate: { classPropertyName: "dfTooltipTruncate", publicName: "dfTooltipTruncate", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["dfTooltipTruncate"], ngImport: i0 }); }
|
|
5868
5775
|
}
|
|
5869
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5776
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfTooltipTruncateDirective, decorators: [{
|
|
5870
5777
|
type: Directive,
|
|
5871
5778
|
args: [{
|
|
5872
5779
|
exportAs: 'dfTooltipTruncate',
|
|
@@ -5875,11 +5782,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
5875
5782
|
}] });
|
|
5876
5783
|
|
|
5877
5784
|
class DfTooltipModule {
|
|
5878
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5879
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
5880
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
5785
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5786
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfTooltipModule, imports: [DfTooltipTruncateDirective], exports: [DfTooltipTruncateDirective, NgbTooltipModule] }); }
|
|
5787
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfTooltipModule, imports: [NgbTooltipModule] }); }
|
|
5881
5788
|
}
|
|
5882
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5789
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfTooltipModule, decorators: [{
|
|
5883
5790
|
type: NgModule,
|
|
5884
5791
|
args: [{
|
|
5885
5792
|
imports: [DfTooltipTruncateDirective],
|
|
@@ -5888,31 +5795,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
5888
5795
|
}] });
|
|
5889
5796
|
|
|
5890
5797
|
class DfSideNavModule {
|
|
5891
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5892
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
5798
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5799
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavModule, imports: [DfManageSideNavDirective,
|
|
5893
5800
|
DfSideNavComponent,
|
|
5894
5801
|
DfSideNavHeaderDirective,
|
|
5895
|
-
DfExcludeTrapDirective,
|
|
5896
5802
|
DfSideNavIconDirective,
|
|
5897
5803
|
DfSideNavItemDirective], exports: [DfManageSideNavDirective,
|
|
5898
5804
|
DfSideNavComponent,
|
|
5899
5805
|
DfSideNavHeaderDirective,
|
|
5900
|
-
DfExcludeTrapDirective,
|
|
5901
5806
|
DfSideNavIconDirective,
|
|
5902
5807
|
DfSideNavItemDirective,
|
|
5903
5808
|
DfSideNavCollapseModule,
|
|
5904
5809
|
DfMediaModule] }); }
|
|
5905
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
5810
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavModule, imports: [DfSideNavComponent, DfSideNavCollapseModule,
|
|
5906
5811
|
DfMediaModule] }); }
|
|
5907
5812
|
}
|
|
5908
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5813
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavModule, decorators: [{
|
|
5909
5814
|
type: NgModule,
|
|
5910
5815
|
args: [{
|
|
5911
5816
|
imports: [
|
|
5912
5817
|
DfManageSideNavDirective,
|
|
5913
5818
|
DfSideNavComponent,
|
|
5914
5819
|
DfSideNavHeaderDirective,
|
|
5915
|
-
DfExcludeTrapDirective,
|
|
5916
5820
|
DfSideNavIconDirective,
|
|
5917
5821
|
DfSideNavItemDirective
|
|
5918
5822
|
],
|
|
@@ -5920,7 +5824,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
5920
5824
|
DfManageSideNavDirective,
|
|
5921
5825
|
DfSideNavComponent,
|
|
5922
5826
|
DfSideNavHeaderDirective,
|
|
5923
|
-
DfExcludeTrapDirective,
|
|
5924
5827
|
DfSideNavIconDirective,
|
|
5925
5828
|
DfSideNavItemDirective,
|
|
5926
5829
|
DfSideNavCollapseModule,
|
|
@@ -5931,7 +5834,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
5931
5834
|
|
|
5932
5835
|
class DfManageCardSelectionDirective {
|
|
5933
5836
|
constructor() {
|
|
5934
|
-
this.dfManageCardSelected = input.required();
|
|
5837
|
+
this.dfManageCardSelected = input.required(...(ngDevMode ? [{ debugName: "dfManageCardSelected" }] : []));
|
|
5935
5838
|
this.element = inject(ElementRef);
|
|
5936
5839
|
this.renderer = inject(Renderer2);
|
|
5937
5840
|
effect(() => {
|
|
@@ -5970,10 +5873,10 @@ class DfManageCardSelectionDirective {
|
|
|
5970
5873
|
return;
|
|
5971
5874
|
}
|
|
5972
5875
|
}
|
|
5973
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5974
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.
|
|
5876
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfManageCardSelectionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5877
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.3", 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 }); }
|
|
5975
5878
|
}
|
|
5976
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5879
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfManageCardSelectionDirective, decorators: [{
|
|
5977
5880
|
type: Directive,
|
|
5978
5881
|
args: [{
|
|
5979
5882
|
selector: '[dfManageCardSelected]',
|
|
@@ -5986,11 +5889,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
5986
5889
|
}], ctorParameters: () => [] });
|
|
5987
5890
|
|
|
5988
5891
|
class DfAdvancedCardModule {
|
|
5989
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5990
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
5991
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
5892
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfAdvancedCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5893
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfAdvancedCardModule, imports: [DfManageCardSelectionDirective], exports: [DfManageCardSelectionDirective] }); }
|
|
5894
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfAdvancedCardModule }); }
|
|
5992
5895
|
}
|
|
5993
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfAdvancedCardModule, decorators: [{
|
|
5994
5897
|
type: NgModule,
|
|
5995
5898
|
args: [{
|
|
5996
5899
|
imports: [DfManageCardSelectionDirective],
|
|
@@ -6021,8 +5924,8 @@ const DF_MODULES = [
|
|
|
6021
5924
|
* @deprecated Import only the needed modules or use standalone components instead of DfModule
|
|
6022
5925
|
*/
|
|
6023
5926
|
class DfModule {
|
|
6024
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
6025
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
5927
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5928
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfModule, imports: [DfAlertModule,
|
|
6026
5929
|
DfDatePickerModule,
|
|
6027
5930
|
DfSelectModule,
|
|
6028
5931
|
DfProgressbarModule,
|
|
@@ -6055,7 +5958,7 @@ class DfModule {
|
|
|
6055
5958
|
DfFooterModule,
|
|
6056
5959
|
DfToastModule,
|
|
6057
5960
|
DfStepperModule] }); }
|
|
6058
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
5961
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfModule, imports: [DF_MODULES, DfAlertModule,
|
|
6059
5962
|
DfDatePickerModule,
|
|
6060
5963
|
DfSelectModule,
|
|
6061
5964
|
DfProgressbarModule,
|
|
@@ -6073,7 +5976,7 @@ class DfModule {
|
|
|
6073
5976
|
DfToastModule,
|
|
6074
5977
|
DfStepperModule] }); }
|
|
6075
5978
|
}
|
|
6076
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfModule, decorators: [{
|
|
6077
5980
|
type: NgModule,
|
|
6078
5981
|
args: [{
|
|
6079
5982
|
imports: DF_MODULES,
|
|
@@ -6089,8 +5992,8 @@ class DfWavesOfProgressDirective {
|
|
|
6089
5992
|
* @returns The prepared SVG string.
|
|
6090
5993
|
*/
|
|
6091
5994
|
prepareSvg(bgColor, lineColor) {
|
|
6092
|
-
let baseSvg = this.baseSvg.replace(/var\(
|
|
6093
|
-
baseSvg = baseSvg.replace(/var\(
|
|
5995
|
+
let baseSvg = this.baseSvg.replace(/var\(--df-waves-of-progress-bg-color\)/g, bgColor);
|
|
5996
|
+
baseSvg = baseSvg.replace(/var\(--df-waves-of-progress-line-color\)/g, lineColor);
|
|
6094
5997
|
baseSvg = baseSvg.replace(/#/g, '%23');
|
|
6095
5998
|
return `'data:image/svg+xml;utf8,${baseSvg}'`;
|
|
6096
5999
|
}
|
|
@@ -6123,7 +6026,7 @@ class DfWavesOfProgressDirective {
|
|
|
6123
6026
|
* },
|
|
6124
6027
|
* ...]
|
|
6125
6028
|
*/
|
|
6126
|
-
this.dfWavesOfProgress = input.required();
|
|
6029
|
+
this.dfWavesOfProgress = input.required(...(ngDevMode ? [{ debugName: "dfWavesOfProgress" }] : []));
|
|
6127
6030
|
this.http = inject(HttpClient, { optional: true });
|
|
6128
6031
|
this.elementRef = inject(ElementRef);
|
|
6129
6032
|
this.platformId = inject(PLATFORM_ID);
|
|
@@ -6151,10 +6054,10 @@ class DfWavesOfProgressDirective {
|
|
|
6151
6054
|
}
|
|
6152
6055
|
});
|
|
6153
6056
|
}
|
|
6154
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
6155
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.
|
|
6057
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfWavesOfProgressDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6058
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.3", 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 }); }
|
|
6156
6059
|
}
|
|
6157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
6060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfWavesOfProgressDirective, decorators: [{
|
|
6158
6061
|
type: Directive,
|
|
6159
6062
|
args: [{
|
|
6160
6063
|
selector: '[dfWavesOfProgress]',
|
|
@@ -6166,11 +6069,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
6166
6069
|
}], ctorParameters: () => [] });
|
|
6167
6070
|
|
|
6168
6071
|
class DfWavesOfProgressModule {
|
|
6169
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
6170
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
6171
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
6072
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfWavesOfProgressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6073
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfWavesOfProgressModule, imports: [DfWavesOfProgressDirective], exports: [DfWavesOfProgressDirective] }); }
|
|
6074
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfWavesOfProgressModule }); }
|
|
6172
6075
|
}
|
|
6173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
6076
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfWavesOfProgressModule, decorators: [{
|
|
6174
6077
|
type: NgModule,
|
|
6175
6078
|
args: [{
|
|
6176
6079
|
imports: [DfWavesOfProgressDirective],
|
|
@@ -6183,10 +6086,10 @@ class DfAmadeusLogoComponent {
|
|
|
6183
6086
|
/**
|
|
6184
6087
|
* Class to apply to the SVG element. For example, you can use `df-logo-dim` to set proper dimensions inside footer and navbar.
|
|
6185
6088
|
*/
|
|
6186
|
-
this.svgClass = input('');
|
|
6089
|
+
this.svgClass = input('', ...(ngDevMode ? [{ debugName: "svgClass" }] : []));
|
|
6187
6090
|
}
|
|
6188
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
6189
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.
|
|
6091
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfAmadeusLogoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6092
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.3", type: DfAmadeusLogoComponent, isStandalone: true, selector: "df-amadeus-logo", inputs: { svgClass: { classPropertyName: "svgClass", publicName: "svgClass", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
6190
6093
|
<svg [class]="svgClass()" viewBox="0 0 113 16" xmlns="http://www.w3.org/2000/svg">
|
|
6191
6094
|
<path
|
|
6192
6095
|
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"
|
|
@@ -6220,7 +6123,7 @@ class DfAmadeusLogoComponent {
|
|
|
6220
6123
|
<span class="visually-hidden">Amadeus</span>
|
|
6221
6124
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6222
6125
|
}
|
|
6223
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
6126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfAmadeusLogoComponent, decorators: [{
|
|
6224
6127
|
type: Component,
|
|
6225
6128
|
args: [{
|
|
6226
6129
|
selector: 'df-amadeus-logo',
|
|
@@ -6271,5 +6174,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.2", ngImpor
|
|
|
6271
6174
|
* Generated bundle index. Do not edit.
|
|
6272
6175
|
*/
|
|
6273
6176
|
|
|
6274
|
-
export { BREAKPOINTS_VARS, ChangeContext, DF_BREAKPOINTS_VAR_DEFAULT, DfAccessibilityModule, DfAdvancedCardModule, DfAdvancedInputModule, DfAlertModule, DfAmadeusIconComponent, DfAmadeusLogoComponent, DfBreakpoints, DfDatePickerModule, DfDatepickerRangeDirective, DfDatepickerRangeService, DfDefaultSpinnerComponent, DfDirectionDetectionService,
|
|
6177
|
+
export { BREAKPOINTS_VARS, ChangeContext, DF_BREAKPOINTS_VAR_DEFAULT, DfAccessibilityModule, DfAdvancedCardModule, DfAdvancedInputModule, DfAlertModule, DfAmadeusIconComponent, DfAmadeusLogoComponent, DfBreakpoints, DfDatePickerModule, DfDatepickerRangeDirective, DfDatepickerRangeService, DfDefaultSpinnerComponent, DfDirectionDetectionService, DfFooterModule, DfIconModule, DfIfMediaDirective, DfInputIconDirective, DfInsertIconDirective, DfInsertIconModule, DfManageBadgeEventsDirective, DfManageCardSelectionDirective, DfManageNavSelectDirective, DfManageSideNavDirective, DfMedia, DfMediaModule, DfMediaObserver, DfMediaQuery, 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 };
|
|
6275
6178
|
//# sourceMappingURL=design-factory.mjs.map
|