@design-factory/design-factory 20.0.2 → 21.0.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -11
- package/fesm2022/design-factory.mjs +889 -1113
- package/fesm2022/design-factory.mjs.map +1 -1
- package/package.json +21 -48
- package/schematics/migrations/21_0_0/style-import-package/index.d.ts +7 -0
- package/schematics/migrations/21_0_0/style-import-package/index.js +64 -0
- package/schematics/migrations/migration.json +5 -0
- package/schematics/ng-add/index.js +10 -24
- package/{index.d.ts → types/design-factory.d.ts} +47 -71
- package/assets/.gitkeep +0 -0
- package/assets/fonts/amadeus-bold/amadeus-bold.woff +0 -0
- package/assets/fonts/amadeus-bold/amadeus-bold.woff2 +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-bold.woff +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-bold.woff2 +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-bolditalic.woff +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-bolditalic.woff2 +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-italic.woff +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-italic.woff2 +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-light.woff +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-light.woff2 +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-lightitalic.woff +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-lightitalic.woff2 +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-regular.woff +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-regular.woff2 +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-thin.woff +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-thin.woff2 +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-thinitalic.woff +0 -0
- package/assets/fonts/amadeus-full/amadeus-full-thinitalic.woff2 +0 -0
- package/assets/fonts/amadeus-neue/bold/AmadeusNeueWeb-Bold.woff +0 -0
- package/assets/fonts/amadeus-neue/bold/AmadeusNeueWeb-Bold.woff2 +0 -0
- package/assets/fonts/amadeus-neue/bold/AmadeusNeueWeb-BoldItalic.woff +0 -0
- package/assets/fonts/amadeus-neue/bold/AmadeusNeueWeb-BoldItalic.woff2 +0 -0
- package/assets/fonts/amadeus-neue/light/AmadeusNeueWeb-Light.woff +0 -0
- package/assets/fonts/amadeus-neue/light/AmadeusNeueWeb-Light.woff2 +0 -0
- package/assets/fonts/amadeus-neue/light/AmadeusNeueWeb-LightItalic.woff +0 -0
- package/assets/fonts/amadeus-neue/light/AmadeusNeueWeb-LightItalic.woff2 +0 -0
- package/assets/fonts/amadeus-neue/medium/AmadeusNeueWeb-Medium.woff +0 -0
- package/assets/fonts/amadeus-neue/medium/AmadeusNeueWeb-Medium.woff2 +0 -0
- package/assets/fonts/amadeus-neue/medium/AmadeusNeueWeb-MediumItalic.woff +0 -0
- package/assets/fonts/amadeus-neue/medium/AmadeusNeueWeb-MediumItalic.woff2 +0 -0
- package/assets/fonts/amadeus-neue/regular/AmadeusNeueWeb-Regular.woff +0 -0
- package/assets/fonts/amadeus-neue/regular/AmadeusNeueWeb-Regular.woff2 +0 -0
- package/assets/fonts/amadeus-neue/regular/AmadeusNeueWeb-RegularItalic.woff +0 -0
- package/assets/fonts/amadeus-neue/regular/AmadeusNeueWeb-RegularItalic.woff2 +0 -0
- package/assets/fonts/amadeus-regular/amadeus-regular.woff +0 -0
- package/assets/fonts/amadeus-regular/amadeus-regular.woff2 +0 -0
- package/assets/fonts/amadeus-thin/amadeus-thin.woff +0 -0
- package/assets/fonts/amadeus-thin/amadeus-thin.woff2 +0 -0
- package/assets/fonts/df-icons/df-icons-light.woff2 +0 -0
- package/assets/fonts/df-icons/df-icons-solid.woff2 +0 -0
- package/assets/fonts/font-awesome/fa-brands-400.woff2 +0 -0
- package/assets/fonts/font-awesome/fa-light-300.woff2 +0 -0
- package/assets/fonts/font-awesome/fa-solid-900.woff2 +0 -0
- package/assets/fonts/noto/notosans-bold.woff +0 -0
- package/assets/fonts/noto/notosans-bold.woff2 +0 -0
- package/assets/fonts/noto/notosans-bolditalic.woff +0 -0
- package/assets/fonts/noto/notosans-bolditalic.woff2 +0 -0
- package/assets/fonts/noto/notosans-italic.woff +0 -0
- package/assets/fonts/noto/notosans-italic.woff2 +0 -0
- package/assets/fonts/noto/notosans-light.woff +0 -0
- package/assets/fonts/noto/notosans-light.woff2 +0 -0
- package/assets/fonts/noto/notosans-lightitalic.woff +0 -0
- package/assets/fonts/noto/notosans-lightitalic.woff2 +0 -0
- package/assets/fonts/noto/notosans-regular.woff +0 -0
- package/assets/fonts/noto/notosans-regular.woff2 +0 -0
- package/assets/fonts/noto/notosans-thin.woff +0 -0
- package/assets/fonts/noto/notosans-thin.woff2 +0 -0
- package/assets/fonts/noto/notosans-thinitalic.woff +0 -0
- package/assets/fonts/noto/notosans-thinitalic.woff2 +0 -0
- package/assets/fonts/noto/notosansarabic-bold.woff +0 -0
- package/assets/fonts/noto/notosansarabic-bold.woff2 +0 -0
- package/assets/fonts/noto/notosansarabic-light.woff +0 -0
- package/assets/fonts/noto/notosansarabic-light.woff2 +0 -0
- package/assets/fonts/noto/notosansarabic-regular.woff +0 -0
- package/assets/fonts/noto/notosansarabic-regular.woff2 +0 -0
- package/assets/fonts/noto/notosansarabic-thin.woff +0 -0
- package/assets/fonts/noto/notosansarabic-thin.woff2 +0 -0
- package/assets/fonts/noto/notosansgeorgian-bold.woff +0 -0
- package/assets/fonts/noto/notosansgeorgian-bold.woff2 +0 -0
- package/assets/fonts/noto/notosansgeorgian-light.woff +0 -0
- package/assets/fonts/noto/notosansgeorgian-light.woff2 +0 -0
- package/assets/fonts/noto/notosansgeorgian-regular.woff +0 -0
- package/assets/fonts/noto/notosansgeorgian-regular.woff2 +0 -0
- package/assets/fonts/noto/notosansgeorgian-thin.woff +0 -0
- package/assets/fonts/noto/notosansgeorgian-thin.woff2 +0 -0
- package/assets/fonts/noto/notosanshebrew-bold.woff +0 -0
- package/assets/fonts/noto/notosanshebrew-bold.woff2 +0 -0
- package/assets/fonts/noto/notosanshebrew-light.woff +0 -0
- package/assets/fonts/noto/notosanshebrew-light.woff2 +0 -0
- package/assets/fonts/noto/notosanshebrew-regular.woff +0 -0
- package/assets/fonts/noto/notosanshebrew-regular.woff2 +0 -0
- package/assets/fonts/noto/notosanshebrew-thin.woff +0 -0
- package/assets/fonts/noto/notosanshebrew-thin.woff2 +0 -0
- package/assets/fonts/source-sans-pro-bold/source-sans-pro-bold.woff +0 -0
- package/assets/fonts/source-sans-pro-bold/source-sans-pro-bold.woff2 +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-bold.woff +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-bold.woff2 +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-bolditalic.woff +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-bolditalic.woff2 +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-italic.woff +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-italic.woff2 +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-light.woff +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-light.woff2 +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-lightitalic.woff +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-lightitalic.woff2 +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-regular.woff +0 -0
- package/assets/fonts/source-sans-pro-full/sourcesanspro-full-regular.woff2 +0 -0
- package/assets/fonts/source-sans-pro-light/source-sans-pro-light.woff +0 -0
- package/assets/fonts/source-sans-pro-light/source-sans-pro-light.woff2 +0 -0
- package/assets/fonts/source-sans-pro-regular/source-sans-pro-regular.woff +0 -0
- package/assets/fonts/source-sans-pro-regular/source-sans-pro-regular.woff2 +0 -0
- package/assets/fonts/source-sans-pro-semibold/source-sans-pro-semibold.woff +0 -0
- package/assets/fonts/source-sans-pro-semibold/source-sans-pro-semibold.woff2 +0 -0
- package/design-factory-initial-branding.css +0 -13
- package/design-factory-initial-branding.scss +0 -1
- package/design-factory-utilities.scss +0 -5
- package/design-factory.css +0 -13
- package/design-factory.scss +0 -3
- package/fesm2022/design-factory-design-factory-tokens-style-dictionary.mjs +0 -358
- package/fesm2022/design-factory-design-factory-tokens-style-dictionary.mjs.map +0 -1
- package/styles/scss/_common.mixins.scss +0 -30
- package/styles/scss/_common.root.scss +0 -70
- package/styles/scss/_common.scss +0 -51
- package/styles/scss/_common.variables.scss +0 -79
- package/styles/scss/_variables.scss +0 -61
- package/styles/scss/agnosui/_variables.scss +0 -28
- package/styles/scss/bootstrap/_maps.scss +0 -52
- package/styles/scss/bootstrap/_mixins-override.scss +0 -69
- package/styles/scss/bootstrap/_rtl-styles-override.scss +0 -127
- package/styles/scss/bootstrap/_utilities-override.scss +0 -25
- package/styles/scss/bootstrap/_variables-dark.scss +0 -86
- package/styles/scss/bootstrap/_variables.scss +0 -2622
- package/styles/scss/components/.gitkeep +0 -0
- package/styles/scss/components/accordion/_accordion.scss +0 -241
- package/styles/scss/components/accordion/_accordion.variables.scss +0 -19
- package/styles/scss/components/alert/_alert.scss +0 -236
- package/styles/scss/components/alert/_alert.variables.scss +0 -56
- package/styles/scss/components/badge/_badge.mixins.scss +0 -23
- package/styles/scss/components/badge/_badge.scss +0 -483
- package/styles/scss/components/badge/_badge.variables.scss +0 -28
- package/styles/scss/components/brand-color/_brand-color.mixins.scss +0 -42
- package/styles/scss/components/brand-color/_brand-color.scss +0 -20
- package/styles/scss/components/brand-color/_brand-color.variables.scss +0 -152
- package/styles/scss/components/brand-color/_brand-color_container.scss +0 -23
- package/styles/scss/components/breadcrumbs/_breadcrumbs.scss +0 -127
- package/styles/scss/components/breadcrumbs/_breadcrumbs.variables.scss +0 -21
- package/styles/scss/components/button/_button.scss +0 -1090
- package/styles/scss/components/button/_button.utils.scss +0 -35
- package/styles/scss/components/button/_button.variables.scss +0 -48
- package/styles/scss/components/button/_button_container.scss +0 -47
- package/styles/scss/components/card/_card.scss +0 -208
- package/styles/scss/components/card/_card.variables.scss +0 -33
- package/styles/scss/components/carousel/_carousel.scss +0 -51
- package/styles/scss/components/carousel/_carousel.variables.scss +0 -12
- package/styles/scss/components/checkbox/_checkbox.scss +0 -68
- package/styles/scss/components/checkbox/_checkbox.variables.scss +0 -7
- package/styles/scss/components/collapse/_collapse.scss +0 -99
- package/styles/scss/components/collapse/_collapse.variables.scss +0 -7
- package/styles/scss/components/datepicker/_datepicker.scss +0 -362
- package/styles/scss/components/datepicker/_datepicker.variables.scss +0 -64
- package/styles/scss/components/dropdown/_dropdown.mixins.scss +0 -8
- package/styles/scss/components/dropdown/_dropdown.scss +0 -178
- package/styles/scss/components/dropdown/_dropdown.variables.scss +0 -24
- package/styles/scss/components/fieldset/_fieldset.scss +0 -8
- package/styles/scss/components/fieldset/_fieldset.variables.scss +0 -2
- package/styles/scss/components/fonts/_font-awesome-icons-brands.scss +0 -1585
- package/styles/scss/components/fonts/_font-awesome-icons.scss +0 -12886
- package/styles/scss/components/fonts/_font-faces.mixins.scss +0 -579
- package/styles/scss/components/fonts/_fonts-family.scss +0 -229
- package/styles/scss/components/fonts/_fonts.root.scss +0 -28
- package/styles/scss/components/fonts/_fonts.scss +0 -101
- package/styles/scss/components/fonts/_fonts.variables.scss +0 -33
- package/styles/scss/components/fonts/_icon-font.scss +0 -94
- package/styles/scss/components/fonts/_icon-font.variables.scss +0 -14
- package/styles/scss/components/fonts/_multi-lang.mixins.scss +0 -8
- package/styles/scss/components/fonts/multi-lang/_arabic.mixins.scss +0 -12
- package/styles/scss/components/fonts/multi-lang/_chinese.mixins.scss +0 -21
- package/styles/scss/components/fonts/multi-lang/_cyrillic-extended.mixins.scss +0 -11
- package/styles/scss/components/fonts/multi-lang/_cyrillic.mixins.scss +0 -10
- package/styles/scss/components/fonts/multi-lang/_georgian.mixins.scss +0 -13
- package/styles/scss/components/fonts/multi-lang/_hebrew.mixins.scss +0 -13
- package/styles/scss/components/fonts/multi-lang/_japanese.mixins.scss +0 -33
- package/styles/scss/components/fonts/multi-lang/_korean.mixins.scss +0 -18
- package/styles/scss/components/footer/_footer.mixins.scss +0 -36
- package/styles/scss/components/footer/_footer.scss +0 -86
- package/styles/scss/components/footer/_footer.variables.scss +0 -14
- package/styles/scss/components/form/_form.scss +0 -206
- package/styles/scss/components/form/_form.variables.scss +0 -34
- package/styles/scss/components/icon/_amadeus-icon.scss +0 -39
- package/styles/scss/components/icon/_amadeus-icon.variables.scss +0 -4
- package/styles/scss/components/inputs/_inputs.mixin.scss +0 -125
- package/styles/scss/components/inputs/_inputs.root.scss +0 -8
- package/styles/scss/components/inputs/_inputs.scss +0 -292
- package/styles/scss/components/inputs/_inputs.variables.scss +0 -39
- package/styles/scss/components/link/_link.mixins.scss +0 -198
- package/styles/scss/components/link/_link.scss +0 -170
- package/styles/scss/components/link/_link.variables.scss +0 -55
- package/styles/scss/components/list/_list.scss +0 -20
- package/styles/scss/components/list/_list.variables.scss +0 -4
- package/styles/scss/components/list-group/_list-group.scss +0 -101
- package/styles/scss/components/list-group/_list-group.variables.scss +0 -10
- package/styles/scss/components/media/_media.scss +0 -89
- package/styles/scss/components/media/_media.variables.scss +0 -19
- package/styles/scss/components/modal/_modal.scss +0 -247
- package/styles/scss/components/modal/_modal.variables.scss +0 -29
- package/styles/scss/components/navbar/_navbar.mixins.scss +0 -55
- package/styles/scss/components/navbar/_navbar.scss +0 -563
- package/styles/scss/components/navbar/_navbar.variables.scss +0 -102
- package/styles/scss/components/pagination/_pagination.scss +0 -251
- package/styles/scss/components/pagination/_pagination.variables.scss +0 -35
- package/styles/scss/components/pagination/_pagination_container.scss +0 -17
- package/styles/scss/components/popover/_popover.mixin.scss +0 -46
- package/styles/scss/components/popover/_popover.scss +0 -45
- package/styles/scss/components/popover/_popover.variables.scss +0 -25
- package/styles/scss/components/popover/_popover_container.scss +0 -214
- package/styles/scss/components/progressbar/_progressbar.scss +0 -93
- package/styles/scss/components/progressbar/_progressbar.variables.scss +0 -28
- package/styles/scss/components/radio/_radio.scss +0 -50
- package/styles/scss/components/radio/_radio.variables.scss +0 -4
- package/styles/scss/components/rating/_rating.scss +0 -118
- package/styles/scss/components/rating/_rating.variables.scss +0 -20
- package/styles/scss/components/scrollspy/_scrollspy.scss +0 -88
- package/styles/scss/components/scrollspy/_scrollspy.variables.scss +0 -23
- package/styles/scss/components/select/_select.mixin.scss +0 -34
- package/styles/scss/components/select/_select.scss +0 -804
- package/styles/scss/components/select/_select.variables.scss +0 -89
- package/styles/scss/components/separator/_separator.scss +0 -9
- package/styles/scss/components/separator/_separator.variables.scss +0 -1
- package/styles/scss/components/sidenav/_sidenav.scss +0 -347
- package/styles/scss/components/sidenav/_sidenav.variables.scss +0 -104
- package/styles/scss/components/skip-links/_skip-links.scss +0 -40
- package/styles/scss/components/skip-links/_skip-links.variables.scss +0 -9
- package/styles/scss/components/slider/_slider.scss +0 -422
- package/styles/scss/components/slider/_slider.variables.scss +0 -59
- package/styles/scss/components/speechbubble/_speechbubble.scss +0 -166
- package/styles/scss/components/speechbubble/_speechbubble.variables.scss +0 -27
- package/styles/scss/components/spinner/_spinner.scss +0 -126
- package/styles/scss/components/spinner/_spinner.variables.scss +0 -30
- package/styles/scss/components/spinner/_spinner_container.scss +0 -43
- package/styles/scss/components/stepper/_stepper.mixins.scss +0 -176
- package/styles/scss/components/stepper/_stepper.scss +0 -254
- package/styles/scss/components/stepper/_stepper.variables.scss +0 -88
- package/styles/scss/components/table/_advancedtables.scss +0 -306
- package/styles/scss/components/table/_table.scss +0 -19
- package/styles/scss/components/table/_table.variables.scss +0 -37
- package/styles/scss/components/tabs/_tabs.scss +0 -277
- package/styles/scss/components/tabs/_tabs.variables.scss +0 -36
- package/styles/scss/components/timepicker/_timepicker.scss +0 -5
- package/styles/scss/components/timepicker/_timepicker.variables.scss +0 -1
- package/styles/scss/components/toast/_toast.scss +0 -354
- package/styles/scss/components/toast/_toast.variables.scss +0 -18
- package/styles/scss/components/toggle/_toggle.scss +0 -145
- package/styles/scss/components/toggle/_toggle.variables.scss +0 -22
- package/styles/scss/components/tooltip/_tooltip.scss +0 -24
- package/styles/scss/components/tooltip/_tooltip.variables.scss +0 -6
- package/styles/scss/components/tooltip/_tooltip_container.scss +0 -116
- package/styles/scss/components/typeahead/_typeahead.scss +0 -59
- package/styles/scss/components/typeahead/_typeahead.variables.scss +0 -11
- package/styles/scss/df-styles-namespace.scss +0 -165
- package/styles/scss/df-styles.scss +0 -117
- package/styles/scss/themes/brand2023/_variables.scss +0 -1140
- package/styles/scss/themes/brand2023/tokens/_mapping.gen.scss +0 -868
- package/styles/scss/themes/brand2023/tokens/_root.gen.scss +0 -1709
- package/styles/scss/themes/brand2023/tokens/_sass-vars.gen.scss +0 -1468
- package/styles/scss/utilities/_common.utilities.scss +0 -205
- package/styles/scss/utilities/_form.mixins.scss +0 -26
- package/styles/scss/utilities/_rgb.scss +0 -10
- package/tokens/style-dictionary/index.d.ts +0 -60
|
@@ -1,20 +1,36 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
2
|
+
import { ChangeDetectionStrategy, Component, inject, ElementRef, DOCUMENT, Directive, NgModule, HostListener, Injectable, Renderer2, PLATFORM_ID, InjectionToken, input, ViewContainerRef, TemplateRef, effect, booleanAttribute, numberAttribute, signal, computed, output, ViewEncapsulation, RendererFactory2, ApplicationRef, EnvironmentInjector, ComponentRef, createComponent, untracked, HostBinding, Input, forwardRef, EventEmitter, ContentChild, ViewChild, Output, contentChild, contentChildren, NgZone, Injector, provideAppInitializer } from '@angular/core';
|
|
3
|
+
import { NgbToastModule } from '@ng-bootstrap/ng-bootstrap/toast';
|
|
4
|
+
import { NgbAlertModule } from '@ng-bootstrap/ng-bootstrap/alert';
|
|
5
|
+
import { NgbDatepickerKeyboardService, NgbDatepickerModule, NgbCalendar, NgbDateParserFormatter, NgbDate } from '@ng-bootstrap/ng-bootstrap/datepicker';
|
|
6
|
+
import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap/dropdown';
|
|
5
7
|
import * as i1 from '@angular/common';
|
|
6
8
|
import { isPlatformBrowser, isPlatformServer, NgTemplateOutlet, CommonModule, AsyncPipe } from '@angular/common';
|
|
7
9
|
import { take, map, switchMap, distinctUntilChanged, throttleTime, tap, filter, endWith, takeUntil } from 'rxjs/operators';
|
|
8
10
|
import { BehaviorSubject, fromEvent, Subscription, combineLatest, Subject, Observable, EMPTY, of, timer, race } from 'rxjs';
|
|
11
|
+
import { NgbAccordionModule } from '@ng-bootstrap/ng-bootstrap/accordion';
|
|
12
|
+
import { NgbPopoverConfig, NgbPopoverModule } from '@ng-bootstrap/ng-bootstrap/popover';
|
|
13
|
+
import { NgbProgressbarModule } from '@ng-bootstrap/ng-bootstrap/progressbar';
|
|
9
14
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
15
|
+
import { NgbCollapse } from '@ng-bootstrap/ng-bootstrap/collapse';
|
|
16
|
+
import { RouterLink, RouterLinkActive } from '@angular/router';
|
|
17
|
+
import { toSignal, takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
13
18
|
import { NgSelectComponent, NgSelectModule } from '@ng-select/ng-select';
|
|
19
|
+
import { NgbTooltip, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap/tooltip';
|
|
20
|
+
import { NgbConfig } from '@ng-bootstrap/ng-bootstrap/config';
|
|
21
|
+
import { ModuleRegistry, AllCommunityModule, provideGlobalGridOptions } from 'ag-grid-community';
|
|
22
|
+
|
|
23
|
+
class SkipLinksContainerComponent {
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SkipLinksContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: SkipLinksContainerComponent, isStandalone: true, selector: "df-skip-links-container", ngImport: i0, template: "<section class=\"df-skip-links__section\">\n <div class=\"df-skip-links position-fixed\">\n <div class=\"df-skip-links-wrap list-group list-group-flush visually-hidden-focusable shadow rounded\">\n <ng-content></ng-content>\n </div>\n </div>\n</section>\n", styles: [".df-skip-links{top:1.25rem;inset-inline-start:.625rem;z-index:10000}.df-skip-links .df-skip-links-wrap{min-width:12.5rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
26
|
+
}
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SkipLinksContainerComponent, decorators: [{
|
|
28
|
+
type: Component,
|
|
29
|
+
args: [{ selector: 'df-skip-links-container', changeDetection: ChangeDetectionStrategy.OnPush, template: "<section class=\"df-skip-links__section\">\n <div class=\"df-skip-links position-fixed\">\n <div class=\"df-skip-links-wrap list-group list-group-flush visually-hidden-focusable shadow rounded\">\n <ng-content></ng-content>\n </div>\n </div>\n</section>\n", styles: [".df-skip-links{top:1.25rem;inset-inline-start:.625rem;z-index:10000}.df-skip-links .df-skip-links-wrap{min-width:12.5rem}\n"] }]
|
|
30
|
+
}] });
|
|
14
31
|
|
|
15
32
|
class SkipLinkDirective {
|
|
16
33
|
constructor() {
|
|
17
|
-
this.inFocus = signal(false, ...(ngDevMode ? [{ debugName: "inFocus" }] : []));
|
|
18
34
|
this.element = inject(ElementRef);
|
|
19
35
|
this.document = inject(DOCUMENT);
|
|
20
36
|
}
|
|
@@ -29,48 +45,29 @@ class SkipLinkDirective {
|
|
|
29
45
|
return;
|
|
30
46
|
}
|
|
31
47
|
setTimeout(() => {
|
|
32
|
-
|
|
33
|
-
if (target) {
|
|
34
|
-
target.focus();
|
|
35
|
-
this.inFocus.set(false);
|
|
36
|
-
}
|
|
48
|
+
this.document.getElementById(id)?.focus();
|
|
37
49
|
});
|
|
38
50
|
}
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
40
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
51
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SkipLinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
52
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: SkipLinkDirective, isStandalone: true, selector: "[dfSkipLink]", host: { listeners: { "click": "focusOnTarget()" }, classAttribute: "list-group-item list-group-item-action" }, ngImport: i0 }); }
|
|
41
53
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SkipLinkDirective, decorators: [{
|
|
43
55
|
type: Directive,
|
|
44
56
|
args: [{
|
|
45
57
|
selector: '[dfSkipLink]',
|
|
46
58
|
host: {
|
|
47
|
-
class: 'list-group-item list-group-item-action',
|
|
48
|
-
'(focus)': 'inFocus.set(true)',
|
|
49
59
|
'(click)': 'focusOnTarget()',
|
|
50
|
-
|
|
60
|
+
class: 'list-group-item list-group-item-action'
|
|
51
61
|
}
|
|
52
62
|
}]
|
|
53
63
|
}] });
|
|
54
64
|
|
|
55
|
-
class SkipLinksContainerComponent {
|
|
56
|
-
constructor() {
|
|
57
|
-
this.links = contentChildren(SkipLinkDirective, ...(ngDevMode ? [{ debugName: "links" }] : []));
|
|
58
|
-
this.inFocus = computed(() => this.links().some((link) => link.inFocus()), ...(ngDevMode ? [{ debugName: "inFocus" }] : []));
|
|
59
|
-
}
|
|
60
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: SkipLinksContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
61
|
-
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 }); }
|
|
62
|
-
}
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: SkipLinksContainerComponent, decorators: [{
|
|
64
|
-
type: Component,
|
|
65
|
-
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" }]
|
|
66
|
-
}] });
|
|
67
|
-
|
|
68
65
|
class DfAccessibilityModule {
|
|
69
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
70
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
71
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
66
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfAccessibilityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
67
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfAccessibilityModule, imports: [SkipLinkDirective, SkipLinksContainerComponent], exports: [SkipLinkDirective, SkipLinksContainerComponent] }); }
|
|
68
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfAccessibilityModule }); }
|
|
72
69
|
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfAccessibilityModule, decorators: [{
|
|
74
71
|
type: NgModule,
|
|
75
72
|
args: [{
|
|
76
73
|
imports: [SkipLinkDirective, SkipLinksContainerComponent],
|
|
@@ -93,6 +90,7 @@ class DfInsertIconDirective {
|
|
|
93
90
|
// we create the HTML icon element with the renderer
|
|
94
91
|
const iconEl = this.renderer.createElement('span');
|
|
95
92
|
this.renderer.addClass(iconEl, 'df-insert-icon');
|
|
93
|
+
this.renderer.addClass(iconEl, 'fa-solid');
|
|
96
94
|
this.renderer.addClass(iconEl, this.getIconClassFromClasses(cssClasses));
|
|
97
95
|
this.renderer.setAttribute(iconEl, 'aria-hidden', 'true');
|
|
98
96
|
// we insert the icon element inside the DOM of the alert element
|
|
@@ -116,10 +114,10 @@ class DfInsertIconDirective {
|
|
|
116
114
|
}
|
|
117
115
|
return 'fa-info-circle';
|
|
118
116
|
}
|
|
119
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
120
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
117
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfInsertIconDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
118
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: DfInsertIconDirective, isStandalone: true, selector: "ngb-alert[dfInsertAlertIcon],ngb-toast[dfInsertToastIcon]", host: { attributes: { "ngSkipHydration": "true" } }, ngImport: i0 }); }
|
|
121
119
|
}
|
|
122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfInsertIconDirective, decorators: [{
|
|
123
121
|
type: Directive,
|
|
124
122
|
args: [{
|
|
125
123
|
selector: 'ngb-alert[dfInsertAlertIcon],ngb-toast[dfInsertToastIcon]',
|
|
@@ -130,11 +128,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
130
128
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }] });
|
|
131
129
|
|
|
132
130
|
class DfInsertIconModule {
|
|
133
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
134
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
135
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
131
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfInsertIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
132
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfInsertIconModule, imports: [DfInsertIconDirective], exports: [DfInsertIconDirective] }); }
|
|
133
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfInsertIconModule }); }
|
|
136
134
|
}
|
|
137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfInsertIconModule, decorators: [{
|
|
138
136
|
type: NgModule,
|
|
139
137
|
args: [{
|
|
140
138
|
imports: [DfInsertIconDirective],
|
|
@@ -143,11 +141,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
143
141
|
}] });
|
|
144
142
|
|
|
145
143
|
class DfToastModule {
|
|
146
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
147
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
148
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
144
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
145
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfToastModule, imports: [DfInsertIconModule], exports: [NgbToastModule, DfInsertIconModule] }); }
|
|
146
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfToastModule, imports: [DfInsertIconModule, NgbToastModule, DfInsertIconModule] }); }
|
|
149
147
|
}
|
|
150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfToastModule, decorators: [{
|
|
151
149
|
type: NgModule,
|
|
152
150
|
args: [{
|
|
153
151
|
imports: [DfInsertIconModule],
|
|
@@ -156,11 +154,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
156
154
|
}] });
|
|
157
155
|
|
|
158
156
|
class DfAlertModule {
|
|
159
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
160
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
161
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
157
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
158
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfAlertModule, imports: [DfInsertIconModule], exports: [NgbAlertModule, DfInsertIconModule] }); }
|
|
159
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfAlertModule, imports: [DfInsertIconModule, NgbAlertModule, DfInsertIconModule] }); }
|
|
162
160
|
}
|
|
163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfAlertModule, decorators: [{
|
|
164
162
|
type: NgModule,
|
|
165
163
|
args: [{
|
|
166
164
|
imports: [DfInsertIconModule],
|
|
@@ -177,10 +175,10 @@ class DfTriggerClickDirective {
|
|
|
177
175
|
event.preventDefault();
|
|
178
176
|
this.elementRef.nativeElement.click();
|
|
179
177
|
}
|
|
180
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
181
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
178
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfTriggerClickDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
179
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: DfTriggerClickDirective, isStandalone: true, selector: "[dfTriggerClick]", host: { listeners: { "keydown.enter": "triggerClick($event)", "keydown.space": "triggerClick($event)" } }, ngImport: i0 }); }
|
|
182
180
|
}
|
|
183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfTriggerClickDirective, decorators: [{
|
|
184
182
|
type: Directive,
|
|
185
183
|
args: [{
|
|
186
184
|
selector: '[dfTriggerClick]'
|
|
@@ -193,104 +191,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
193
191
|
args: ['keydown.space', ['$event']]
|
|
194
192
|
}] } });
|
|
195
193
|
|
|
196
|
-
/**
|
|
197
|
-
* dfInputIcon directive
|
|
198
|
-
* @deprecated `DfInputIconDirective` is deprecated and will be removed in DF 21, in favor of pure css.
|
|
199
|
-
* To migrate and keep the same behavior, simply add the class `df-input-withicon` to the input element this directive was used on and remove the directive.
|
|
200
|
-
*/
|
|
201
|
-
class DfInputIconDirective {
|
|
202
|
-
constructor() {
|
|
203
|
-
this.dfInputIcon = input.required(...(ngDevMode ? [{ debugName: "dfInputIcon" }] : []));
|
|
204
|
-
this.isDisabled = false;
|
|
205
|
-
this.siblingsNode = [];
|
|
206
|
-
this.renderer = inject(Renderer2);
|
|
207
|
-
this.el = inject(ElementRef);
|
|
208
|
-
}
|
|
209
|
-
ngDoCheck() {
|
|
210
|
-
if (this.el.nativeElement.disabled !== this.isDisabled) {
|
|
211
|
-
this.isDisabled = this.el.nativeElement.disabled;
|
|
212
|
-
this.siblingsNode.forEach((siblings) => {
|
|
213
|
-
if (this.isDisabled) {
|
|
214
|
-
this.renderer.addClass(siblings, 'df-disabled');
|
|
215
|
-
}
|
|
216
|
-
else {
|
|
217
|
-
this.renderer.removeClass(siblings, 'df-disabled');
|
|
218
|
-
}
|
|
219
|
-
});
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
ngOnInit() {
|
|
223
|
-
this.renderer.addClass(this.el.nativeElement, 'df-input-withicon');
|
|
224
|
-
this.dfInputIcon().forEach((direction) => {
|
|
225
|
-
this.renderer.addClass(this.el.nativeElement, direction.toString());
|
|
226
|
-
this.renderer.addClass(this.el.nativeElement.parentNode, `df-input-${direction}`);
|
|
227
|
-
const sibling = this.el.nativeElement.parentNode.querySelector(`.input-group-${direction}`);
|
|
228
|
-
if (sibling) {
|
|
229
|
-
this.siblingsNode.push(sibling);
|
|
230
|
-
if (direction.toString() === 'prepend') {
|
|
231
|
-
this.button = sibling.querySelector('button');
|
|
232
|
-
if (this.button) {
|
|
233
|
-
this.initButtonHandler();
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
});
|
|
238
|
-
}
|
|
239
|
-
/**
|
|
240
|
-
* onBlur catch blur event to set the focused to false
|
|
241
|
-
*/
|
|
242
|
-
onBlur() {
|
|
243
|
-
this.renderer.removeClass(this.el.nativeElement.parentNode, 'df-focused');
|
|
244
|
-
}
|
|
245
|
-
onFocus() {
|
|
246
|
-
this.renderer.addClass(this.el.nativeElement.parentNode, 'df-focused');
|
|
247
|
-
}
|
|
248
|
-
onTab(e) {
|
|
249
|
-
if (this.button) {
|
|
250
|
-
e.preventDefault();
|
|
251
|
-
this.button.focus();
|
|
252
|
-
this.renderer.setAttribute(this.el.nativeElement, 'tabindex', '-1');
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
ngOnDestroy() {
|
|
256
|
-
if (this.removeListener) {
|
|
257
|
-
this.removeListener();
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
initButtonHandler() {
|
|
261
|
-
this.renderer.setAttribute(this.button, 'tabindex', '-1');
|
|
262
|
-
this.removeListener = this.renderer.listen(this.button, 'blur', () => {
|
|
263
|
-
setTimeout(() => {
|
|
264
|
-
this.renderer.removeAttribute(this.el.nativeElement, 'tabindex');
|
|
265
|
-
});
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfInputIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
269
|
-
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 }); }
|
|
270
|
-
}
|
|
271
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfInputIconDirective, decorators: [{
|
|
272
|
-
type: Directive,
|
|
273
|
-
args: [{
|
|
274
|
-
exportAs: 'dfInputIcon',
|
|
275
|
-
selector: '[dfInputIcon]',
|
|
276
|
-
host: {
|
|
277
|
-
'(blur)': 'onBlur()',
|
|
278
|
-
'(focus)': 'onFocus()',
|
|
279
|
-
'(keydown.Tab)': 'onTab($event)'
|
|
280
|
-
}
|
|
281
|
-
}]
|
|
282
|
-
}] });
|
|
283
|
-
|
|
284
194
|
class DfAdvancedInputModule {
|
|
285
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
286
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
287
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
195
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfAdvancedInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
196
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfAdvancedInputModule, imports: [DfTriggerClickDirective], exports: [DfTriggerClickDirective] }); }
|
|
197
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfAdvancedInputModule }); }
|
|
288
198
|
}
|
|
289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfAdvancedInputModule, decorators: [{
|
|
290
200
|
type: NgModule,
|
|
291
201
|
args: [{
|
|
292
|
-
imports: [DfTriggerClickDirective
|
|
293
|
-
exports: [DfTriggerClickDirective
|
|
202
|
+
imports: [DfTriggerClickDirective],
|
|
203
|
+
exports: [DfTriggerClickDirective]
|
|
294
204
|
}]
|
|
295
205
|
}] });
|
|
296
206
|
|
|
@@ -323,10 +233,10 @@ class DfDatepickerKeyboardService extends NgbDatepickerKeyboardService {
|
|
|
323
233
|
event.preventDefault();
|
|
324
234
|
event.stopPropagation();
|
|
325
235
|
}
|
|
326
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
327
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
236
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfDatepickerKeyboardService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
237
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfDatepickerKeyboardService }); }
|
|
328
238
|
}
|
|
329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfDatepickerKeyboardService, decorators: [{
|
|
330
240
|
type: Injectable
|
|
331
241
|
}] });
|
|
332
242
|
|
|
@@ -350,10 +260,10 @@ class DfDirectionDetectionService {
|
|
|
350
260
|
}
|
|
351
261
|
return RightToLeftDirectionEnum.LeftToRight;
|
|
352
262
|
}
|
|
353
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
354
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
263
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfDirectionDetectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
264
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfDirectionDetectionService, providedIn: 'root' }); }
|
|
355
265
|
}
|
|
356
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfDirectionDetectionService, decorators: [{
|
|
357
267
|
type: Injectable,
|
|
358
268
|
args: [{
|
|
359
269
|
providedIn: 'root'
|
|
@@ -451,10 +361,10 @@ class DfDatepickerRangeDirective {
|
|
|
451
361
|
ngOnDestroy() {
|
|
452
362
|
this.removeListener.forEach((item) => item());
|
|
453
363
|
}
|
|
454
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
455
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
364
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfDatepickerRangeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
365
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: DfDatepickerRangeDirective, isStandalone: true, selector: "[dfDatepickerRange]", exportAs: ["dfDatepickerRange"], ngImport: i0 }); }
|
|
456
366
|
}
|
|
457
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfDatepickerRangeDirective, decorators: [{
|
|
458
368
|
type: Directive,
|
|
459
369
|
args: [{
|
|
460
370
|
exportAs: 'dfDatepickerRange',
|
|
@@ -462,6 +372,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
462
372
|
}]
|
|
463
373
|
}] });
|
|
464
374
|
|
|
375
|
+
class DfDatePickerModule {
|
|
376
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfDatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
377
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfDatePickerModule, imports: [NgbDropdownModule, DfDatepickerRangeDirective], exports: [NgbDatepickerModule, DfAdvancedInputModule, DfDatepickerRangeDirective, NgbDropdownModule] }); }
|
|
378
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfDatePickerModule, providers: [{ provide: NgbDatepickerKeyboardService, useClass: DfDatepickerKeyboardService }], imports: [NgbDropdownModule, NgbDatepickerModule, DfAdvancedInputModule, NgbDropdownModule] }); }
|
|
379
|
+
}
|
|
380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfDatePickerModule, decorators: [{
|
|
381
|
+
type: NgModule,
|
|
382
|
+
args: [{
|
|
383
|
+
imports: [NgbDropdownModule, DfDatepickerRangeDirective],
|
|
384
|
+
exports: [NgbDatepickerModule, DfAdvancedInputModule, DfDatepickerRangeDirective, NgbDropdownModule],
|
|
385
|
+
providers: [{ provide: NgbDatepickerKeyboardService, useClass: DfDatepickerKeyboardService }]
|
|
386
|
+
}]
|
|
387
|
+
}] });
|
|
388
|
+
|
|
465
389
|
class DfDatepickerRangeService {
|
|
466
390
|
constructor() {
|
|
467
391
|
this.fromDate = null;
|
|
@@ -548,30 +472,13 @@ class DfDatepickerRangeService {
|
|
|
548
472
|
this.toDate = this.parseInput(this.toDate, typed);
|
|
549
473
|
this.toDateAsStr = this.formatter.format(this.toDate);
|
|
550
474
|
}
|
|
551
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
552
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
553
|
-
}
|
|
554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfDatepickerRangeService, decorators: [{
|
|
555
|
-
type: Injectable
|
|
556
|
-
}] });
|
|
557
|
-
|
|
558
|
-
class DfDatePickerModule {
|
|
559
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfDatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
560
|
-
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] }); }
|
|
561
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfDatePickerModule, providers: [
|
|
562
|
-
{ provide: NgbDatepickerKeyboardService, useClass: DfDatepickerKeyboardService },
|
|
563
|
-
DfDatepickerRangeService
|
|
564
|
-
], imports: [NgbDropdownModule, NgbDatepickerModule, DfAdvancedInputModule, NgbDropdownModule] }); }
|
|
475
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfDatepickerRangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
476
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfDatepickerRangeService, providedIn: 'root' }); }
|
|
565
477
|
}
|
|
566
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
567
|
-
type:
|
|
478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfDatepickerRangeService, decorators: [{
|
|
479
|
+
type: Injectable,
|
|
568
480
|
args: [{
|
|
569
|
-
|
|
570
|
-
exports: [NgbDatepickerModule, DfAdvancedInputModule, DfDatepickerRangeDirective, NgbDropdownModule],
|
|
571
|
-
providers: [
|
|
572
|
-
{ provide: NgbDatepickerKeyboardService, useClass: DfDatepickerKeyboardService },
|
|
573
|
-
DfDatepickerRangeService
|
|
574
|
-
]
|
|
481
|
+
providedIn: 'root'
|
|
575
482
|
}]
|
|
576
483
|
}] });
|
|
577
484
|
|
|
@@ -659,10 +566,10 @@ class DfBreakpoints {
|
|
|
659
566
|
}
|
|
660
567
|
return dict;
|
|
661
568
|
}
|
|
662
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
663
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
569
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfBreakpoints, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
570
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfBreakpoints, providedIn: 'root' }); }
|
|
664
571
|
}
|
|
665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
572
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfBreakpoints, decorators: [{
|
|
666
573
|
type: Injectable,
|
|
667
574
|
args: [{ providedIn: 'root' }]
|
|
668
575
|
}], ctorParameters: () => [] });
|
|
@@ -681,10 +588,10 @@ class DfMediaQuery {
|
|
|
681
588
|
return this.notSupported(query);
|
|
682
589
|
}
|
|
683
590
|
}
|
|
684
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
685
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
591
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfMediaQuery, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
592
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfMediaQuery, providedIn: 'root' }); }
|
|
686
593
|
}
|
|
687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
594
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfMediaQuery, decorators: [{
|
|
688
595
|
type: Injectable,
|
|
689
596
|
args: [{ providedIn: 'root' }]
|
|
690
597
|
}] });
|
|
@@ -738,10 +645,10 @@ class DfMediaObserver {
|
|
|
738
645
|
this._queries.set(query, meta);
|
|
739
646
|
return meta;
|
|
740
647
|
}
|
|
741
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
742
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
648
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfMediaObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
649
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfMediaObserver, providedIn: 'root' }); }
|
|
743
650
|
}
|
|
744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfMediaObserver, decorators: [{
|
|
745
652
|
type: Injectable,
|
|
746
653
|
args: [{ providedIn: 'root' }]
|
|
747
654
|
}] });
|
|
@@ -780,10 +687,10 @@ class DfMedia {
|
|
|
780
687
|
return this.mediaObserver.observe(query);
|
|
781
688
|
}), map((value) => value.matches), distinctUntilChanged());
|
|
782
689
|
}
|
|
783
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
784
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
690
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfMedia, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
691
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfMedia, providedIn: 'root' }); }
|
|
785
692
|
}
|
|
786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
693
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfMedia, decorators: [{
|
|
787
694
|
type: Injectable,
|
|
788
695
|
args: [{ providedIn: 'root' }]
|
|
789
696
|
}] });
|
|
@@ -828,20 +735,20 @@ class DfIfMediaDirective {
|
|
|
828
735
|
this._viewInstance = null;
|
|
829
736
|
}
|
|
830
737
|
}
|
|
831
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
832
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
738
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfIfMediaDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
739
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", type: DfIfMediaDirective, isStandalone: true, selector: "[dfIfMedia]", inputs: { dfIfMedia: { classPropertyName: "dfIfMedia", publicName: "dfIfMedia", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
833
740
|
}
|
|
834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
741
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfIfMediaDirective, decorators: [{
|
|
835
742
|
type: Directive,
|
|
836
743
|
args: [{ selector: '[dfIfMedia]' }]
|
|
837
|
-
}], ctorParameters: () => [] });
|
|
744
|
+
}], ctorParameters: () => [], propDecorators: { dfIfMedia: [{ type: i0.Input, args: [{ isSignal: true, alias: "dfIfMedia", required: true }] }] } });
|
|
838
745
|
|
|
839
746
|
class DfMediaModule {
|
|
840
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
841
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
842
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
747
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfMediaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
748
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfMediaModule, imports: [DfIfMediaDirective], exports: [DfIfMediaDirective] }); }
|
|
749
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfMediaModule }); }
|
|
843
750
|
}
|
|
844
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
751
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfMediaModule, decorators: [{
|
|
845
752
|
type: NgModule,
|
|
846
753
|
args: [{
|
|
847
754
|
imports: [DfIfMediaDirective],
|
|
@@ -850,11 +757,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
850
757
|
}] });
|
|
851
758
|
|
|
852
759
|
class DfFooterModule {
|
|
853
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
854
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
855
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
760
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfFooterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
761
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfFooterModule, imports: [DfMediaModule, NgbAccordionModule], exports: [DfMediaModule, NgbAccordionModule] }); }
|
|
762
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfFooterModule, imports: [DfMediaModule, NgbAccordionModule, DfMediaModule, NgbAccordionModule] }); }
|
|
856
763
|
}
|
|
857
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
764
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfFooterModule, decorators: [{
|
|
858
765
|
type: NgModule,
|
|
859
766
|
args: [{
|
|
860
767
|
imports: [DfMediaModule, NgbAccordionModule],
|
|
@@ -862,114 +769,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
862
769
|
}]
|
|
863
770
|
}] });
|
|
864
771
|
|
|
865
|
-
class DfAmadeusIconComponent {
|
|
866
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfAmadeusIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
867
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: DfAmadeusIconComponent, isStandalone: true, selector: "df-amadeus-icon", ngImport: i0, template: `
|
|
868
|
-
<svg
|
|
869
|
-
version="1.1"
|
|
870
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
871
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
872
|
-
x="0px"
|
|
873
|
-
y="0px"
|
|
874
|
-
viewBox="0 0 510.2 67.9"
|
|
875
|
-
style="enable-background:new 0 0 510.2 67.9;"
|
|
876
|
-
xml:space="preserve"
|
|
877
|
-
>
|
|
878
|
-
<g id="Layer_2"></g>
|
|
879
|
-
<g id="Layer_1">
|
|
880
|
-
<path
|
|
881
|
-
d="M269.7,0c-8.3,0-19.8,1.4-26.9,4v61.9c5.8,1.2,16.8,2,24.4,2c26,0,36.1-10.2,36.1-34.4C303.4,12.5,290.5,0,269.7,0
|
|
882
|
-
M257.5,12.6c2.4-0.5,7-1.1,11.6-1.1c10.6,0,18.8,5.9,18.8,22c0,15.5-4.1,22.9-20.2,22.9c-5.2,0-10.3-0.8-10.3-0.8V12.6z
|
|
883
|
-
M461.5,65.5c0,0,9,2.4,21.7,2.4c12,0,27-4.1,27-20.3c0-10.6-7.8-15.1-20.5-19.7c-6.9-2.5-12.7-4.8-12.7-9.5
|
|
884
|
-
c0-2.3,1.7-6.7,10.5-6.7c8.2,0,16.6,3.8,16.6,3.8l3.7-10.8C505.2,3.4,497.2,0,486.1,0c-12.1,0-23.8,6.4-23.8,19.3
|
|
885
|
-
c0,13.3,12.1,17.3,21.5,20.5c6.4,2.2,11.8,4.4,11.8,8.7c0,4.1-2.3,7.7-13.1,7.7c-8.9,0-18.3-2-18.3-2L461.5,65.5z M429.6,50.3
|
|
886
|
-
c-3.5,1.7-11,4.5-17.9,4.5c-10,0-11.7-4.5-11.7-14.9V0.6h-2.2c-3.3,0-10.6,0.6-12.4,0.9v40.3c0,17.6,4.3,26,22.2,26
|
|
887
|
-
c13.7,0,21.7-5.3,22.2-5.3c0.2,0,4.9,2.9,14.3,2.9v-64c-1-0.2-8.1-0.9-11.7-0.9h-2.9V50.3z M198.5,0c-13,0-23.2,3.2-27.1,5.2
|
|
888
|
-
l3.1,10.9c0,0,10-3.6,19.8-3.6c8.4,0,12.7,2.4,12.7,10.6v4.7h-12.7c-21.6,0-28,9.9-28,20.8c0,14.5,11.3,19.1,21.6,19.1
|
|
889
|
-
c12,0,18.9-5,19.8-5c0.7,0,3.1,2.6,14,2.6V19.3C221.7,5.5,213.1,0,198.5,0 M207.1,52.7c-3.1,1.2-10.7,3.7-16.2,3.7
|
|
890
|
-
c-6,0-10.6-2.1-10.6-8.7c0-5.7,3.1-9,11.4-9.3l15.4-0.6V52.7z M32.2,0C19.2,0,9,3.2,5.1,5.2l3.1,10.9c0,0,10-3.6,19.8-3.6
|
|
891
|
-
c8.4,0,12.7,2.4,12.7,10.6v4.7H28c-21.6,0-28,9.9-28,20.8c0,14.5,11.3,19.1,21.6,19.1c12,0,18.9-5,19.8-5c0.7,0,3.1,2.6,14,2.6
|
|
892
|
-
V19.3C55.4,5.5,46.8,0,32.2,0 M40.9,52.7c-3.1,1.2-10.7,3.7-16.2,3.7c-6,0-10.6-2.1-10.6-8.7c0-5.7,3.1-9,11.4-9.3l15.4-0.6V52.7z
|
|
893
|
-
M114,39c-0.4,0.9-0.8,2.7-1.1,3.8c-0.3-1-0.8-2.8-1.1-3.8L99,6.1C96.8,0.7,93.4,0,87.2,0c-2.2,0-6.6,0.3-6.6,0.3L74,66.9h14.6
|
|
894
|
-
l3.2-44.7l13.9,33.8c1,2.6,3.1,3.7,7.3,3.7c4.1,0,6.2-1,7.3-3.7L134,22.2l3.2,44.7h14.6l-6.6-66.6c0,0-4.4-0.3-6.6-0.3
|
|
895
|
-
c-6.2,0-9.6,0.7-11.8,6.1L114,39z M320.8,64.7c0,0,11.2,3.1,25.5,3.1c15.3,0,22.3-1.7,22.3-1.7V54.8c0,0-7.6,1.5-18.3,1.5
|
|
896
|
-
c-9.3,0-15.1-1.2-15.1-1.2v-16h28.9V27.8h-28.9V12.5c0,0,5.7-1,14.1-1c9.5,0,18.1,1.5,18.1,1.5V1.6c0,0-7.5-1.6-19.8-1.6
|
|
897
|
-
c-16.3,0-27,2.9-27,2.9V64.7z"
|
|
898
|
-
/>
|
|
899
|
-
</g>
|
|
900
|
-
</svg>
|
|
901
|
-
`, 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 }); }
|
|
902
|
-
}
|
|
903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfAmadeusIconComponent, decorators: [{
|
|
904
|
-
type: Component,
|
|
905
|
-
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'df-amadeus-icon', template: `
|
|
906
|
-
<svg
|
|
907
|
-
version="1.1"
|
|
908
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
909
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
910
|
-
x="0px"
|
|
911
|
-
y="0px"
|
|
912
|
-
viewBox="0 0 510.2 67.9"
|
|
913
|
-
style="enable-background:new 0 0 510.2 67.9;"
|
|
914
|
-
xml:space="preserve"
|
|
915
|
-
>
|
|
916
|
-
<g id="Layer_2"></g>
|
|
917
|
-
<g id="Layer_1">
|
|
918
|
-
<path
|
|
919
|
-
d="M269.7,0c-8.3,0-19.8,1.4-26.9,4v61.9c5.8,1.2,16.8,2,24.4,2c26,0,36.1-10.2,36.1-34.4C303.4,12.5,290.5,0,269.7,0
|
|
920
|
-
M257.5,12.6c2.4-0.5,7-1.1,11.6-1.1c10.6,0,18.8,5.9,18.8,22c0,15.5-4.1,22.9-20.2,22.9c-5.2,0-10.3-0.8-10.3-0.8V12.6z
|
|
921
|
-
M461.5,65.5c0,0,9,2.4,21.7,2.4c12,0,27-4.1,27-20.3c0-10.6-7.8-15.1-20.5-19.7c-6.9-2.5-12.7-4.8-12.7-9.5
|
|
922
|
-
c0-2.3,1.7-6.7,10.5-6.7c8.2,0,16.6,3.8,16.6,3.8l3.7-10.8C505.2,3.4,497.2,0,486.1,0c-12.1,0-23.8,6.4-23.8,19.3
|
|
923
|
-
c0,13.3,12.1,17.3,21.5,20.5c6.4,2.2,11.8,4.4,11.8,8.7c0,4.1-2.3,7.7-13.1,7.7c-8.9,0-18.3-2-18.3-2L461.5,65.5z M429.6,50.3
|
|
924
|
-
c-3.5,1.7-11,4.5-17.9,4.5c-10,0-11.7-4.5-11.7-14.9V0.6h-2.2c-3.3,0-10.6,0.6-12.4,0.9v40.3c0,17.6,4.3,26,22.2,26
|
|
925
|
-
c13.7,0,21.7-5.3,22.2-5.3c0.2,0,4.9,2.9,14.3,2.9v-64c-1-0.2-8.1-0.9-11.7-0.9h-2.9V50.3z M198.5,0c-13,0-23.2,3.2-27.1,5.2
|
|
926
|
-
l3.1,10.9c0,0,10-3.6,19.8-3.6c8.4,0,12.7,2.4,12.7,10.6v4.7h-12.7c-21.6,0-28,9.9-28,20.8c0,14.5,11.3,19.1,21.6,19.1
|
|
927
|
-
c12,0,18.9-5,19.8-5c0.7,0,3.1,2.6,14,2.6V19.3C221.7,5.5,213.1,0,198.5,0 M207.1,52.7c-3.1,1.2-10.7,3.7-16.2,3.7
|
|
928
|
-
c-6,0-10.6-2.1-10.6-8.7c0-5.7,3.1-9,11.4-9.3l15.4-0.6V52.7z M32.2,0C19.2,0,9,3.2,5.1,5.2l3.1,10.9c0,0,10-3.6,19.8-3.6
|
|
929
|
-
c8.4,0,12.7,2.4,12.7,10.6v4.7H28c-21.6,0-28,9.9-28,20.8c0,14.5,11.3,19.1,21.6,19.1c12,0,18.9-5,19.8-5c0.7,0,3.1,2.6,14,2.6
|
|
930
|
-
V19.3C55.4,5.5,46.8,0,32.2,0 M40.9,52.7c-3.1,1.2-10.7,3.7-16.2,3.7c-6,0-10.6-2.1-10.6-8.7c0-5.7,3.1-9,11.4-9.3l15.4-0.6V52.7z
|
|
931
|
-
M114,39c-0.4,0.9-0.8,2.7-1.1,3.8c-0.3-1-0.8-2.8-1.1-3.8L99,6.1C96.8,0.7,93.4,0,87.2,0c-2.2,0-6.6,0.3-6.6,0.3L74,66.9h14.6
|
|
932
|
-
l3.2-44.7l13.9,33.8c1,2.6,3.1,3.7,7.3,3.7c4.1,0,6.2-1,7.3-3.7L134,22.2l3.2,44.7h14.6l-6.6-66.6c0,0-4.4-0.3-6.6-0.3
|
|
933
|
-
c-6.2,0-9.6,0.7-11.8,6.1L114,39z M320.8,64.7c0,0,11.2,3.1,25.5,3.1c15.3,0,22.3-1.7,22.3-1.7V54.8c0,0-7.6,1.5-18.3,1.5
|
|
934
|
-
c-9.3,0-15.1-1.2-15.1-1.2v-16h28.9V27.8h-28.9V12.5c0,0,5.7-1,14.1-1c9.5,0,18.1,1.5,18.1,1.5V1.6c0,0-7.5-1.6-19.8-1.6
|
|
935
|
-
c-16.3,0-27,2.9-27,2.9V64.7z"
|
|
936
|
-
/>
|
|
937
|
-
</g>
|
|
938
|
-
</svg>
|
|
939
|
-
`, 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"] }]
|
|
940
|
-
}] });
|
|
941
|
-
|
|
942
|
-
class DfIconModule {
|
|
943
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
944
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfIconModule, imports: [DfAmadeusIconComponent], exports: [DfAmadeusIconComponent] }); }
|
|
945
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfIconModule }); }
|
|
946
|
-
}
|
|
947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfIconModule, decorators: [{
|
|
948
|
-
type: NgModule,
|
|
949
|
-
args: [{
|
|
950
|
-
imports: [DfAmadeusIconComponent],
|
|
951
|
-
exports: [DfAmadeusIconComponent]
|
|
952
|
-
}]
|
|
953
|
-
}] });
|
|
954
|
-
|
|
955
772
|
class DfPopoverConfig extends NgbPopoverConfig {
|
|
956
773
|
constructor() {
|
|
957
774
|
super(...arguments);
|
|
958
775
|
this.autoClose = 'outside';
|
|
959
776
|
}
|
|
960
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
961
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
777
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfPopoverConfig, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
778
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfPopoverConfig }); }
|
|
962
779
|
}
|
|
963
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfPopoverConfig, decorators: [{
|
|
964
781
|
type: Injectable
|
|
965
782
|
}] });
|
|
966
783
|
|
|
967
784
|
class DfPopoverModule {
|
|
968
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
969
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
970
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
785
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
786
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfPopoverModule, exports: [NgbPopoverModule] }); }
|
|
787
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfPopoverModule, providers: [{ provide: NgbPopoverConfig, useClass: DfPopoverConfig }], imports: [NgbPopoverModule] }); }
|
|
971
788
|
}
|
|
972
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
789
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfPopoverModule, decorators: [{
|
|
973
790
|
type: NgModule,
|
|
974
791
|
args: [{
|
|
975
792
|
exports: [NgbPopoverModule],
|
|
@@ -981,13 +798,13 @@ class DfProgressbarComponent {
|
|
|
981
798
|
constructor() {
|
|
982
799
|
this.PERCENTAGE_PLACEHOLDER = '%PERCENTAGE%';
|
|
983
800
|
this.FADING_DELAY_MS = 1500; // if triggered by observables, number of milliseconds after progress bar disappears once stopped
|
|
984
|
-
this.infiniteAnimation = input(false, ...(ngDevMode ?
|
|
801
|
+
this.infiniteAnimation = input(false, { ...(ngDevMode ? { debugName: "infiniteAnimation" } : {}), transform: booleanAttribute });
|
|
985
802
|
/**
|
|
986
803
|
* Current value of the progressBar. If 'maxValue' is not defined, value represents a percentage. Otherwise, progress
|
|
987
804
|
* bar percentage value will be computed based on the ratio of 'value/maxValue'
|
|
988
805
|
*/
|
|
989
|
-
this.value = input(0, ...(ngDevMode ?
|
|
990
|
-
this.maxValue = input(100, ...(ngDevMode ?
|
|
806
|
+
this.value = input(0, { ...(ngDevMode ? { debugName: "value" } : {}), transform: numberAttribute });
|
|
807
|
+
this.maxValue = input(100, { ...(ngDevMode ? { debugName: "maxValue" } : {}), transform: numberAttribute });
|
|
991
808
|
this.innerValue = signal(0, ...(ngDevMode ? [{ debugName: "innerValue" }] : []));
|
|
992
809
|
this.percentageValue = computed(() => {
|
|
993
810
|
const val = this.innerValue();
|
|
@@ -1098,20 +915,22 @@ class DfProgressbarComponent {
|
|
|
1098
915
|
resetProgressBarValues() {
|
|
1099
916
|
this.innerValue.set(0);
|
|
1100
917
|
}
|
|
1101
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1102
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
918
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfProgressbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
919
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", 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" }, host: { classAttribute: "d-block" }, 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 }); }
|
|
1103
920
|
}
|
|
1104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
921
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfProgressbarComponent, decorators: [{
|
|
1105
922
|
type: Component,
|
|
1106
|
-
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'df-progressbar',
|
|
1107
|
-
|
|
923
|
+
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'df-progressbar', host: {
|
|
924
|
+
class: 'd-block'
|
|
925
|
+
}, 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" }]
|
|
926
|
+
}], ctorParameters: () => [], propDecorators: { infiniteAnimation: [{ type: i0.Input, args: [{ isSignal: true, alias: "infiniteAnimation", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], maxValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxValue", required: false }] }], percentageValueChange: [{ type: i0.Output, args: ["percentageValueChange"] }], start$: [{ type: i0.Input, args: [{ isSignal: true, alias: "start$", required: false }] }], end$: [{ type: i0.Input, args: [{ isSignal: true, alias: "end$", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }] } });
|
|
1108
927
|
|
|
1109
928
|
class DfProgressbarModule {
|
|
1110
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1111
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1112
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
929
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfProgressbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
930
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfProgressbarModule, imports: [DfProgressbarComponent], exports: [DfProgressbarComponent, NgbProgressbarModule] }); }
|
|
931
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfProgressbarModule, imports: [NgbProgressbarModule] }); }
|
|
1113
932
|
}
|
|
1114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfProgressbarModule, decorators: [{
|
|
1115
934
|
type: NgModule,
|
|
1116
935
|
args: [{
|
|
1117
936
|
imports: [DfProgressbarComponent],
|
|
@@ -1146,26 +965,26 @@ var DfProgressIndicatorContentPosition;
|
|
|
1146
965
|
|
|
1147
966
|
class DfProgressIndicatorContainerComponent {
|
|
1148
967
|
constructor() {
|
|
1149
|
-
this.DEFAULT_CLASS_POSITION = '
|
|
968
|
+
this.DEFAULT_CLASS_POSITION = 'align-items-center justify-content-center';
|
|
1150
969
|
this.containerClass = input(...(ngDevMode ? [undefined, { debugName: "containerClass" }] : []));
|
|
1151
970
|
this.position = input(...(ngDevMode ? [undefined, { debugName: "position" }] : []));
|
|
1152
971
|
this.positionClass = computed(() => {
|
|
1153
972
|
const position = this.position();
|
|
1154
973
|
switch (position) {
|
|
1155
974
|
case DfProgressIndicatorContentPosition.TOP:
|
|
1156
|
-
return '
|
|
975
|
+
return 'align-items-start justify-content-center';
|
|
1157
976
|
case DfProgressIndicatorContentPosition.BOTTOM:
|
|
1158
|
-
return '
|
|
977
|
+
return 'align-items-end justify-content-center';
|
|
1159
978
|
default:
|
|
1160
979
|
return this.DEFAULT_CLASS_POSITION;
|
|
1161
980
|
}
|
|
1162
981
|
}, ...(ngDevMode ? [{ debugName: "positionClass" }] : []));
|
|
1163
|
-
this.classes = computed(() => `df-progressindicator-container ${this.containerClass() || ''} ${this.positionClass()}`, ...(ngDevMode ? [{ debugName: "classes" }] : []));
|
|
982
|
+
this.classes = computed(() => `df-progressindicator-container d-flex position-absolute start-0 end-0 top-0 bottom-0 ${this.containerClass() || ''} ${this.positionClass()}`, ...(ngDevMode ? [{ debugName: "classes" }] : []));
|
|
1164
983
|
}
|
|
1165
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1166
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
984
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfProgressIndicatorContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
985
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.6", 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 }); }
|
|
1167
986
|
}
|
|
1168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
987
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfProgressIndicatorContainerComponent, decorators: [{
|
|
1169
988
|
type: Component,
|
|
1170
989
|
args: [{
|
|
1171
990
|
selector: 'df-progressindicator-container',
|
|
@@ -1176,32 +995,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
1176
995
|
'[class]': 'classes()'
|
|
1177
996
|
}
|
|
1178
997
|
}]
|
|
1179
|
-
}] });
|
|
998
|
+
}], propDecorators: { containerClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "containerClass", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }] } });
|
|
1180
999
|
|
|
1181
1000
|
class DfDefaultSpinnerComponent {
|
|
1182
1001
|
constructor() {
|
|
1183
|
-
this.isGlobalSpinner = input(false, ...(ngDevMode ?
|
|
1002
|
+
this.isGlobalSpinner = input(false, { ...(ngDevMode ? { debugName: "isGlobalSpinner" } : {}), transform: booleanAttribute });
|
|
1184
1003
|
this.contentClass = input('spinner-border text-primary', ...(ngDevMode ? [{ debugName: "contentClass" }] : []));
|
|
1185
1004
|
this.ariaLabel = input(...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : []));
|
|
1186
1005
|
}
|
|
1187
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1188
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1006
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfDefaultSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1007
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", 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 }); }
|
|
1189
1008
|
}
|
|
1190
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfDefaultSpinnerComponent, decorators: [{
|
|
1191
1010
|
type: Component,
|
|
1192
1011
|
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" }]
|
|
1193
|
-
}] });
|
|
1012
|
+
}], propDecorators: { isGlobalSpinner: [{ type: i0.Input, args: [{ isSignal: true, alias: "isGlobalSpinner", required: false }] }], contentClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "contentClass", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }] } });
|
|
1194
1013
|
|
|
1195
1014
|
class DfProgressIndicatorBackdropComponent {
|
|
1196
1015
|
constructor() {
|
|
1197
1016
|
this.backdropClass = input(...(ngDevMode ? [undefined, { debugName: "backdropClass" }] : []));
|
|
1198
1017
|
this.isGlobalBackdrop = input(true, ...(ngDevMode ? [{ debugName: "isGlobalBackdrop" }] : []));
|
|
1199
|
-
this.classes = computed(() => `df-progressindicator-backdrop ${this.backdropClass() || ''} df-progressindicator-backdrop${this.isGlobalBackdrop() ? '-global' : '-contextual'}`, ...(ngDevMode ? [{ debugName: "classes" }] : []));
|
|
1018
|
+
this.classes = computed(() => `df-progressindicator-backdrop position-absolute start-0 end-0 top-0 bottom-0 opacity-50 ${this.backdropClass() || ''} df-progressindicator-backdrop${this.isGlobalBackdrop() ? '-global' : '-contextual'}`, ...(ngDevMode ? [{ debugName: "classes" }] : []));
|
|
1200
1019
|
}
|
|
1201
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1202
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
1020
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfProgressIndicatorBackdropComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1021
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.6", 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 }); }
|
|
1203
1022
|
}
|
|
1204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfProgressIndicatorBackdropComponent, decorators: [{
|
|
1205
1024
|
type: Component,
|
|
1206
1025
|
args: [{
|
|
1207
1026
|
selector: 'df-progressindicator-backdrop',
|
|
@@ -1211,7 +1030,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
1211
1030
|
'[class]': 'classes()'
|
|
1212
1031
|
}
|
|
1213
1032
|
}]
|
|
1214
|
-
}] });
|
|
1033
|
+
}], propDecorators: { backdropClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "backdropClass", required: false }] }], isGlobalBackdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "isGlobalBackdrop", required: false }] }] } });
|
|
1215
1034
|
|
|
1216
1035
|
class DfProgressIndicatorRef {
|
|
1217
1036
|
constructor(containerRef, contentRef, backdropRef) {
|
|
@@ -1286,10 +1105,10 @@ class ScrollBar {
|
|
|
1286
1105
|
body.removeChild(measurer);
|
|
1287
1106
|
return width;
|
|
1288
1107
|
}
|
|
1289
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1290
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1108
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ScrollBar, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1109
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ScrollBar, providedIn: 'root' }); }
|
|
1291
1110
|
}
|
|
1292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ScrollBar, decorators: [{
|
|
1293
1112
|
type: Injectable,
|
|
1294
1113
|
args: [{ providedIn: 'root' }]
|
|
1295
1114
|
}] });
|
|
@@ -1297,7 +1116,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
1297
1116
|
class DfProgressIndicatorService {
|
|
1298
1117
|
constructor() {
|
|
1299
1118
|
this.renderer = inject(RendererFactory2).createRenderer(null, null);
|
|
1300
|
-
this.BODY_CLASS = '
|
|
1119
|
+
this.BODY_CLASS = 'overflow-hidden';
|
|
1301
1120
|
// TODO - Remove it when https://github.com/angular/angular/issues/22567
|
|
1302
1121
|
this.containerAttributes = ['containerClass', 'position'];
|
|
1303
1122
|
this.backdropAttributes = ['backdropClass', 'isGlobalBackdrop'];
|
|
@@ -1455,10 +1274,10 @@ class DfProgressIndicatorService {
|
|
|
1455
1274
|
});
|
|
1456
1275
|
}
|
|
1457
1276
|
}
|
|
1458
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1459
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1277
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfProgressIndicatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1278
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfProgressIndicatorService, providedIn: 'root' }); }
|
|
1460
1279
|
}
|
|
1461
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfProgressIndicatorService, decorators: [{
|
|
1462
1281
|
type: Injectable,
|
|
1463
1282
|
args: [{
|
|
1464
1283
|
providedIn: 'root'
|
|
@@ -1486,19 +1305,19 @@ class DfProgressIndicatorDirective {
|
|
|
1486
1305
|
}
|
|
1487
1306
|
});
|
|
1488
1307
|
}
|
|
1489
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1490
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1308
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfProgressIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1309
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", 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 }); }
|
|
1491
1310
|
}
|
|
1492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfProgressIndicatorDirective, decorators: [{
|
|
1493
1312
|
type: Directive,
|
|
1494
1313
|
args: [{
|
|
1495
1314
|
selector: '[dfProgressIndicator]'
|
|
1496
1315
|
}]
|
|
1497
|
-
}], ctorParameters: () => [] });
|
|
1316
|
+
}], ctorParameters: () => [], propDecorators: { dfProgressIndicator: [{ type: i0.Input, args: [{ isSignal: true, alias: "dfProgressIndicator", required: true }] }], dfProgressIndicatorConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "dfProgressIndicatorConfig", required: false }] }] } });
|
|
1498
1317
|
|
|
1499
1318
|
class DfProgressIndicatorModule {
|
|
1500
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1501
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1319
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfProgressIndicatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1320
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfProgressIndicatorModule, imports: [DfDefaultSpinnerComponent,
|
|
1502
1321
|
DfProgressbarModule,
|
|
1503
1322
|
DfProgressIndicatorBackdropComponent,
|
|
1504
1323
|
DfProgressIndicatorContainerComponent,
|
|
@@ -1507,9 +1326,9 @@ class DfProgressIndicatorModule {
|
|
|
1507
1326
|
DfProgressIndicatorDirective,
|
|
1508
1327
|
DfProgressIndicatorBackdropComponent,
|
|
1509
1328
|
DfDefaultSpinnerComponent] }); }
|
|
1510
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1329
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfProgressIndicatorModule, imports: [DfProgressbarModule, DfProgressbarModule] }); }
|
|
1511
1330
|
}
|
|
1512
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1331
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfProgressIndicatorModule, decorators: [{
|
|
1513
1332
|
type: NgModule,
|
|
1514
1333
|
args: [{
|
|
1515
1334
|
imports: [
|
|
@@ -1547,15 +1366,15 @@ class DfSliderDirectionDirective {
|
|
|
1547
1366
|
}
|
|
1548
1367
|
}
|
|
1549
1368
|
}
|
|
1550
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1551
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1369
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSliderDirectionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1370
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", type: DfSliderDirectionDirective, isStandalone: true, selector: "[dfSliderDirection]", inputs: { dfSliderDirection: { classPropertyName: "dfSliderDirection", publicName: "dfSliderDirection", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
1552
1371
|
}
|
|
1553
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSliderDirectionDirective, decorators: [{
|
|
1554
1373
|
type: Directive,
|
|
1555
1374
|
args: [{
|
|
1556
1375
|
selector: '[dfSliderDirection]'
|
|
1557
1376
|
}]
|
|
1558
|
-
}] });
|
|
1377
|
+
}], propDecorators: { dfSliderDirection: [{ type: i0.Input, args: [{ isSignal: true, alias: "dfSliderDirection", required: true }] }] } });
|
|
1559
1378
|
|
|
1560
1379
|
/** Label type */
|
|
1561
1380
|
var LabelType;
|
|
@@ -2020,10 +1839,10 @@ class SliderElementDirective {
|
|
|
2020
1839
|
isRefDestroyed() {
|
|
2021
1840
|
return (ValueHelper.isNullOrUndefined(this.changeDetectionRef) || this.changeDetectionRef['destroyed']);
|
|
2022
1841
|
}
|
|
2023
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2024
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1842
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SliderElementDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1843
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", 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 }); }
|
|
2025
1844
|
}
|
|
2026
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SliderElementDirective, decorators: [{
|
|
2027
1846
|
type: Directive,
|
|
2028
1847
|
args: [{
|
|
2029
1848
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2073,10 +1892,10 @@ class SliderHandleDirective extends SliderElementDirective {
|
|
|
2073
1892
|
focus() {
|
|
2074
1893
|
this.elemRef.nativeElement.focus();
|
|
2075
1894
|
}
|
|
2076
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2077
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1895
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SliderHandleDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1896
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", 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 }); }
|
|
2078
1897
|
}
|
|
2079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SliderHandleDirective, decorators: [{
|
|
2080
1899
|
type: Directive,
|
|
2081
1900
|
args: [{
|
|
2082
1901
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2140,10 +1959,10 @@ class SliderLabelDirective extends SliderElementDirective {
|
|
|
2140
1959
|
this.calculateDimension();
|
|
2141
1960
|
}
|
|
2142
1961
|
}
|
|
2143
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2144
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1962
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SliderLabelDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1963
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: SliderLabelDirective, isStandalone: true, selector: "[ngxSliderLabel]", usesInheritance: true, ngImport: i0 }); }
|
|
2145
1964
|
}
|
|
2146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1965
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SliderLabelDirective, decorators: [{
|
|
2147
1966
|
type: Directive,
|
|
2148
1967
|
args: [{
|
|
2149
1968
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2156,10 +1975,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
2156
1975
|
* @deprecated TooltipWrapperComponent is deprecated. Use {@link https://design-factory.amadeus.net/components/slider/agnosui AgnosUI Slider} instead.
|
|
2157
1976
|
*/
|
|
2158
1977
|
class TooltipWrapperComponent {
|
|
2159
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2160
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1978
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: TooltipWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1979
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", 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 }); }
|
|
2161
1980
|
}
|
|
2162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1981
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: TooltipWrapperComponent, decorators: [{
|
|
2163
1982
|
type: Component,
|
|
2164
1983
|
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"] }]
|
|
2165
1984
|
}], propDecorators: { template: [{
|
|
@@ -4067,10 +3886,10 @@ class SliderComponent {
|
|
|
4067
3886
|
}
|
|
4068
3887
|
return changeContext;
|
|
4069
3888
|
}
|
|
4070
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4071
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3889
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SliderComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3890
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", 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()" }, 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]" }] }); }
|
|
4072
3891
|
}
|
|
4073
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3892
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SliderComponent, decorators: [{
|
|
4074
3893
|
type: Component,
|
|
4075
3894
|
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" }]
|
|
4076
3895
|
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }], propDecorators: { class: [{
|
|
@@ -4152,7 +3971,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
4152
3971
|
args: ['attr.aria-label']
|
|
4153
3972
|
}], onResize: [{
|
|
4154
3973
|
type: HostListener,
|
|
4155
|
-
args: ['window:resize'
|
|
3974
|
+
args: ['window:resize']
|
|
4156
3975
|
}] } });
|
|
4157
3976
|
|
|
4158
3977
|
/**
|
|
@@ -4160,16 +3979,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
4160
3979
|
* Use {@link https://design-factory.amadeus.net/components/slider/agnosui AgnosUI Slider} instead.
|
|
4161
3980
|
*/
|
|
4162
3981
|
class DfSliderModule {
|
|
4163
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4164
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3982
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3983
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfSliderModule, imports: [SliderComponent,
|
|
4165
3984
|
SliderElementDirective,
|
|
4166
3985
|
SliderHandleDirective,
|
|
4167
3986
|
SliderLabelDirective,
|
|
4168
3987
|
TooltipWrapperComponent,
|
|
4169
3988
|
DfSliderDirectionDirective], exports: [DfSliderDirectionDirective, SliderComponent] }); }
|
|
4170
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3989
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSliderModule, imports: [SliderComponent] }); }
|
|
4171
3990
|
}
|
|
4172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3991
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSliderModule, decorators: [{
|
|
4173
3992
|
type: NgModule,
|
|
4174
3993
|
args: [{
|
|
4175
3994
|
imports: [
|
|
@@ -4199,10 +4018,10 @@ class DfSideNavConfig {
|
|
|
4199
4018
|
this.isAppOverlay = false;
|
|
4200
4019
|
this.isAppOverlayMode = true;
|
|
4201
4020
|
}
|
|
4202
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4203
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4021
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4022
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavConfig, providedIn: 'root' }); }
|
|
4204
4023
|
}
|
|
4205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4024
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavConfig, decorators: [{
|
|
4206
4025
|
type: Injectable,
|
|
4207
4026
|
args: [{ providedIn: 'root' }]
|
|
4208
4027
|
}] });
|
|
@@ -4509,492 +4328,81 @@ class DfSideNavService {
|
|
|
4509
4328
|
updateOverLay() {
|
|
4510
4329
|
this._isAppOverlay$.next(this.isAppOverlayMode && this._isCollapsed$.value === false);
|
|
4511
4330
|
}
|
|
4512
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4513
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4331
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4332
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavService, providedIn: 'root' }); }
|
|
4514
4333
|
}
|
|
4515
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavService, decorators: [{
|
|
4516
4335
|
type: Injectable,
|
|
4517
4336
|
args: [{
|
|
4518
4337
|
providedIn: 'root'
|
|
4519
4338
|
}]
|
|
4520
4339
|
}], ctorParameters: () => [] });
|
|
4521
4340
|
|
|
4522
|
-
|
|
4523
|
-
animation: true,
|
|
4524
|
-
transitionTimerDelayMs: 5
|
|
4525
|
-
};
|
|
4526
|
-
|
|
4527
|
-
/**
|
|
4528
|
-
* Creates an observable where all callbacks are executed inside a given zone
|
|
4529
|
-
*
|
|
4530
|
-
* @param zone Angular Zone element
|
|
4531
|
-
*/
|
|
4532
|
-
function runInZone(zone) {
|
|
4533
|
-
return (source) => {
|
|
4534
|
-
return new Observable((observer) => {
|
|
4535
|
-
const onNext = (value) => zone.run(() => observer.next(value));
|
|
4536
|
-
const onError = (e) => zone.run(() => observer.error(e));
|
|
4537
|
-
const onComplete = () => zone.run(() => observer.complete());
|
|
4538
|
-
return source.subscribe(onNext, onError, onComplete);
|
|
4539
|
-
});
|
|
4540
|
-
};
|
|
4541
|
-
}
|
|
4542
|
-
function getTransitionDurationMs(element) {
|
|
4543
|
-
const { transitionDelay, transitionDuration } = window.getComputedStyle(element);
|
|
4544
|
-
const transitionDelaySec = parseFloat(transitionDelay);
|
|
4545
|
-
const transitionDurationSec = parseFloat(transitionDuration);
|
|
4546
|
-
return (transitionDelaySec + transitionDurationSec) * 1000;
|
|
4547
|
-
}
|
|
4548
|
-
/**
|
|
4549
|
-
* Force a browser reflow
|
|
4550
|
-
* @param element element where to apply the reflow
|
|
4551
|
-
*/
|
|
4552
|
-
function reflow(element) {
|
|
4553
|
-
return (element || document.body).getBoundingClientRect();
|
|
4554
|
-
}
|
|
4555
|
-
|
|
4556
|
-
const noopFn = () => { };
|
|
4557
|
-
const { transitionTimerDelayMs } = environment;
|
|
4558
|
-
const runningTransitions = new Map();
|
|
4559
|
-
const ngbRunTransition = (zone, element, startFn, options) => {
|
|
4560
|
-
// Getting initial context from options
|
|
4561
|
-
let context = options.context || {};
|
|
4562
|
-
// Checking if there are already running transitions on the given element.
|
|
4563
|
-
const running = runningTransitions.get(element);
|
|
4564
|
-
if (running) {
|
|
4565
|
-
switch (options.runningTransition) {
|
|
4566
|
-
// If there is one running and we want for it to 'continue' to run, we have to cancel the new one.
|
|
4567
|
-
// We're not emitting any values, but simply completing the observable (EMPTY).
|
|
4568
|
-
case 'continue':
|
|
4569
|
-
return EMPTY;
|
|
4570
|
-
// If there is one running and we want for it to 'stop', we have to complete the running one.
|
|
4571
|
-
// We're simply completing the running one and not emitting any values and merging newly provided context
|
|
4572
|
-
// with the one coming from currently running transition.
|
|
4573
|
-
case 'stop':
|
|
4574
|
-
zone.run(() => running.transition$.complete());
|
|
4575
|
-
context = Object.assign(running.context, context);
|
|
4576
|
-
runningTransitions.delete(element);
|
|
4577
|
-
}
|
|
4578
|
-
}
|
|
4579
|
-
// Running the start function
|
|
4580
|
-
const endFn = startFn(element, options.animation, context) || noopFn;
|
|
4581
|
-
// If 'prefer-reduced-motion' is enabled, the 'transition' will be set to 'none'.
|
|
4582
|
-
// If animations are disabled, we have to emit a value and complete the observable
|
|
4583
|
-
// In this case we have to call the end function, but can finish immediately by emitting a value,
|
|
4584
|
-
// completing the observable and executing end functions synchronously.
|
|
4585
|
-
if (!options.animation || window.getComputedStyle(element).transitionProperty === 'none') {
|
|
4586
|
-
zone.run(() => endFn());
|
|
4587
|
-
return of(undefined).pipe(runInZone(zone));
|
|
4588
|
-
}
|
|
4589
|
-
// Starting a new transition
|
|
4590
|
-
const transition$ = new Subject();
|
|
4591
|
-
const finishTransition$ = new Subject();
|
|
4592
|
-
const stop$ = transition$.pipe(endWith(true));
|
|
4593
|
-
runningTransitions.set(element, {
|
|
4594
|
-
transition$,
|
|
4595
|
-
complete: () => {
|
|
4596
|
-
finishTransition$.next({});
|
|
4597
|
-
finishTransition$.complete();
|
|
4598
|
-
},
|
|
4599
|
-
context
|
|
4600
|
-
});
|
|
4601
|
-
const transitionDurationMs = getTransitionDurationMs(element);
|
|
4602
|
-
// 1. We have to both listen for the 'transitionend' event and have a 'just-in-case' timer,
|
|
4603
|
-
// because 'transitionend' event might not be fired in some browsers, if the transitioning
|
|
4604
|
-
// element becomes invisible (ex. when scrolling, making browser tab inactive, etc.). The timer
|
|
4605
|
-
// guarantees, that we'll release the DOM element and complete 'ngbRunTransition'.
|
|
4606
|
-
// 2. We need to filter transition end events, because they might bubble from shorter transitions
|
|
4607
|
-
// on inner DOM elements. We're only interested in the transition on the 'element' itself.
|
|
4608
|
-
zone.runOutsideAngular(() => {
|
|
4609
|
-
const transitionEnd$ = fromEvent(element, 'transitionend').pipe(takeUntil(stop$), filter(({ target }) => target === element));
|
|
4610
|
-
const timer$ = timer(transitionDurationMs + transitionTimerDelayMs).pipe(takeUntil(stop$));
|
|
4611
|
-
race(timer$, transitionEnd$, finishTransition$)
|
|
4612
|
-
.pipe(takeUntil(stop$))
|
|
4613
|
-
.subscribe(() => {
|
|
4614
|
-
runningTransitions.delete(element);
|
|
4615
|
-
zone.run(() => {
|
|
4616
|
-
endFn();
|
|
4617
|
-
transition$.next({});
|
|
4618
|
-
transition$.complete();
|
|
4619
|
-
});
|
|
4620
|
-
});
|
|
4621
|
-
});
|
|
4622
|
-
return transition$.asObservable();
|
|
4623
|
-
};
|
|
4624
|
-
const ngbCompleteTransition = (element) => {
|
|
4625
|
-
runningTransitions.get(element)?.complete();
|
|
4626
|
-
};
|
|
4627
|
-
|
|
4628
|
-
/**
|
|
4629
|
-
* A configuration service for the [DfSideNavCollapseDirective](#/components/sidenav/api#DfSideNavCollapseDirective) component.
|
|
4630
|
-
*
|
|
4631
|
-
* You can inject this service, typically in your root component, and customize its properties
|
|
4632
|
-
* to provide default values for the sideNav used in the application.
|
|
4633
|
-
*/
|
|
4634
|
-
class DfSideNavCollapseConfig {
|
|
4341
|
+
class DfManageSideNavDirective {
|
|
4635
4342
|
constructor() {
|
|
4636
|
-
this.
|
|
4637
|
-
|
|
4638
|
-
get animation() {
|
|
4639
|
-
return this._animation === undefined ? this._ngbConfig.animation : this._animation;
|
|
4343
|
+
this.element = inject(ElementRef);
|
|
4344
|
+
this.renderer = inject(Renderer2);
|
|
4640
4345
|
}
|
|
4641
|
-
|
|
4642
|
-
this.
|
|
4346
|
+
ngAfterViewChecked() {
|
|
4347
|
+
if (this.element.nativeElement.querySelector('.active')) {
|
|
4348
|
+
this.renderer.addClass(this.element.nativeElement, 'df-sidenav-list-withactivated');
|
|
4349
|
+
}
|
|
4350
|
+
else {
|
|
4351
|
+
this.renderer.removeClass(this.element.nativeElement, 'df-sidenav-list-withactivated');
|
|
4352
|
+
}
|
|
4643
4353
|
}
|
|
4644
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4645
|
-
static { this.ɵ
|
|
4354
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfManageSideNavDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4355
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: DfManageSideNavDirective, isStandalone: true, selector: "[dfManageSideNav]", ngImport: i0 }); }
|
|
4646
4356
|
}
|
|
4647
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4648
|
-
type:
|
|
4649
|
-
args: [{
|
|
4357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfManageSideNavDirective, decorators: [{
|
|
4358
|
+
type: Directive,
|
|
4359
|
+
args: [{
|
|
4360
|
+
selector: '[dfManageSideNav]'
|
|
4361
|
+
}]
|
|
4650
4362
|
}] });
|
|
4651
4363
|
|
|
4364
|
+
let uniqueId = 0;
|
|
4652
4365
|
/**
|
|
4653
|
-
*
|
|
4654
|
-
* This service is included at root level
|
|
4366
|
+
* SideNav is a component to provide navigation feature with a panel on the side of your page
|
|
4655
4367
|
*
|
|
4656
|
-
*
|
|
4368
|
+
* It supports several options as:
|
|
4369
|
+
* - Being in an overlay menu or not
|
|
4370
|
+
* - Being collapsed or not
|
|
4371
|
+
* - Can be used with or without Angular Router
|
|
4372
|
+
* - Can be used with media queries to adjust behavior to different breakpoints (see media section)
|
|
4657
4373
|
*/
|
|
4658
|
-
|
|
4374
|
+
// TODO cannot set to OnPush without a refactor of DfSideNavService
|
|
4375
|
+
// eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
|
|
4376
|
+
class DfSideNavListComponent {
|
|
4659
4377
|
constructor() {
|
|
4660
|
-
this.
|
|
4378
|
+
this.items = input.required(...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
4379
|
+
this.tplIcon = input(...(ngDevMode ? [undefined, { debugName: "tplIcon" }] : []));
|
|
4380
|
+
this.tplItem = input(...(ngDevMode ? [undefined, { debugName: "tplItem" }] : []));
|
|
4381
|
+
this.currentItem = input(...(ngDevMode ? [undefined, { debugName: "currentItem" }] : []));
|
|
4382
|
+
this.id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
4383
|
+
this.controlledUniqueId = this.getControlledUniqueId();
|
|
4384
|
+
this.sideNavService = inject(DfSideNavService);
|
|
4661
4385
|
}
|
|
4662
|
-
|
|
4663
|
-
|
|
4386
|
+
getControlledUniqueId() {
|
|
4387
|
+
uniqueId++;
|
|
4388
|
+
return `df-sidenav-id-${uniqueId};`;
|
|
4664
4389
|
}
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
* If input is `True` it will activate the animation.
|
|
4668
|
-
* Default value for animation is set in by DfSideNavCollapseConfig
|
|
4669
|
-
*
|
|
4670
|
-
*/
|
|
4671
|
-
setAnimation(on) {
|
|
4672
|
-
this._sideNavAnimation$.next(on);
|
|
4673
|
-
}
|
|
4674
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4675
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseService, providedIn: 'root' }); }
|
|
4676
|
-
}
|
|
4677
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseService, decorators: [{
|
|
4678
|
-
type: Injectable,
|
|
4679
|
-
args: [{
|
|
4680
|
-
providedIn: 'root'
|
|
4681
|
-
}]
|
|
4682
|
-
}] });
|
|
4683
|
-
|
|
4684
|
-
function measureCollapsingElementWidthPx(element) {
|
|
4685
|
-
// SSR fix for without injecting the PlatformId
|
|
4686
|
-
if (typeof navigator === 'undefined') {
|
|
4687
|
-
return '0px';
|
|
4688
|
-
}
|
|
4689
|
-
const { classList } = element;
|
|
4690
|
-
const hasShownClass = classList.contains('df-show');
|
|
4691
|
-
if (!hasShownClass) {
|
|
4692
|
-
classList.add('df-show');
|
|
4693
|
-
}
|
|
4694
|
-
element.style.width = '';
|
|
4695
|
-
const width = `${element.getBoundingClientRect().width}px`;
|
|
4696
|
-
if (!hasShownClass) {
|
|
4697
|
-
classList.remove('df-show');
|
|
4698
|
-
}
|
|
4699
|
-
return width;
|
|
4700
|
-
}
|
|
4701
|
-
const DfCollapsingTransition = (element, animation, context) => {
|
|
4702
|
-
const { direction, minimized } = context;
|
|
4703
|
-
let { maxWidth } = context;
|
|
4704
|
-
const { classList } = element;
|
|
4705
|
-
const dfcollapsingClass = 'df-collapsing';
|
|
4706
|
-
const dfminimizingClass = 'df-minimizing';
|
|
4707
|
-
function setInitialClasses() {
|
|
4708
|
-
if (minimized) {
|
|
4709
|
-
classList.add('df-minimized');
|
|
4710
|
-
}
|
|
4711
|
-
else {
|
|
4712
|
-
classList.add('df-collapse');
|
|
4713
|
-
}
|
|
4714
|
-
if (direction === 'show') {
|
|
4715
|
-
classList.add('df-show');
|
|
4716
|
-
}
|
|
4717
|
-
else {
|
|
4718
|
-
classList.remove('df-show');
|
|
4719
|
-
}
|
|
4720
|
-
}
|
|
4721
|
-
// without animations we just need to set initial classes
|
|
4722
|
-
if (!animation) {
|
|
4723
|
-
setInitialClasses();
|
|
4724
|
-
return () => { };
|
|
4725
|
-
}
|
|
4726
|
-
// No maxWidth -> running the transition for the first time
|
|
4727
|
-
if (!maxWidth) {
|
|
4728
|
-
maxWidth = measureCollapsingElementWidthPx(element);
|
|
4729
|
-
context.maxWidth = maxWidth;
|
|
4730
|
-
// Fix the width before starting the animation
|
|
4731
|
-
element.style.width = direction !== 'show' ? maxWidth : minimized ? '50px' : '0px';
|
|
4732
|
-
classList.remove('df-collapse');
|
|
4733
|
-
classList.remove('df-minimized'); // add
|
|
4734
|
-
classList.remove(dfcollapsingClass);
|
|
4735
|
-
classList.remove(dfminimizingClass);
|
|
4736
|
-
classList.remove('df-show');
|
|
4737
|
-
reflow(element);
|
|
4738
|
-
// Start the animation
|
|
4739
|
-
if (minimized) {
|
|
4740
|
-
classList.add(dfminimizingClass);
|
|
4741
|
-
}
|
|
4742
|
-
else {
|
|
4743
|
-
classList.add(dfcollapsingClass);
|
|
4744
|
-
}
|
|
4745
|
-
}
|
|
4746
|
-
// Start or revert the animation
|
|
4747
|
-
element.style.width = direction === 'show' ? maxWidth : minimized ? '50px' : '0px';
|
|
4748
|
-
return () => {
|
|
4749
|
-
setInitialClasses();
|
|
4750
|
-
classList.remove(dfcollapsingClass);
|
|
4751
|
-
classList.remove(dfminimizingClass);
|
|
4752
|
-
element.style.width = '';
|
|
4753
|
-
};
|
|
4754
|
-
};
|
|
4755
|
-
|
|
4756
|
-
/**
|
|
4757
|
-
* A directive to provide a simple way of hiding and showing the sideNav on the page.
|
|
4758
|
-
*/
|
|
4759
|
-
class DfSideNavCollapseDirective {
|
|
4760
|
-
constructor() {
|
|
4761
|
-
/**
|
|
4762
|
-
* If `true`, will collapse the element or show it otherwise.
|
|
4763
|
-
*/
|
|
4764
|
-
this.dfSideNavCollapse = input.required(...(ngDevMode ? [{ debugName: "dfSideNavCollapse" }] : []));
|
|
4765
|
-
this.collapsed = signal(false, ...(ngDevMode ? [{ debugName: "collapsed" }] : []));
|
|
4766
|
-
this.minimized = input(false, ...(ngDevMode ? [{ debugName: "minimized" }] : []));
|
|
4767
|
-
this.dfSideNavCollapseChange = output();
|
|
4768
|
-
/**
|
|
4769
|
-
* An event emitted when the collapse element is shown, after the transition. It has no payload.
|
|
4770
|
-
*
|
|
4771
|
-
* @since 9.1.0
|
|
4772
|
-
*/
|
|
4773
|
-
this.shown = output();
|
|
4774
|
-
/**
|
|
4775
|
-
* An event emitted when the collapse element is hidden, after the transition. It has no payload.
|
|
4776
|
-
*
|
|
4777
|
-
* @since 9.1.0
|
|
4778
|
-
*/
|
|
4779
|
-
this.hidden = output();
|
|
4780
|
-
this.elementRef = inject(ElementRef);
|
|
4781
|
-
this.sideNavCollapseService = inject(DfSideNavCollapseService);
|
|
4782
|
-
this.zone = inject(NgZone);
|
|
4783
|
-
this.injector = inject(Injector);
|
|
4784
|
-
this.animation = false;
|
|
4785
|
-
effect(() => {
|
|
4786
|
-
this.collapsed.set(this.dfSideNavCollapse());
|
|
4787
|
-
});
|
|
4788
|
-
this.sideNavCollapseService.sideNavAnimation$.pipe(takeUntilDestroyed()).subscribe((value) => {
|
|
4789
|
-
this.animation = value;
|
|
4790
|
-
});
|
|
4791
|
-
}
|
|
4792
|
-
ngOnInit() {
|
|
4793
|
-
let firstRun = true;
|
|
4794
|
-
effect(() => {
|
|
4795
|
-
const collapsed = this.collapsed();
|
|
4796
|
-
// we only track the collapsed signal
|
|
4797
|
-
untracked(() => {
|
|
4798
|
-
// first time the effect is run, we run the transition without triggering event emitters
|
|
4799
|
-
if (firstRun) {
|
|
4800
|
-
this.runTransition(collapsed, this.animation, this.minimized());
|
|
4801
|
-
}
|
|
4802
|
-
else {
|
|
4803
|
-
this.runTransitionWithEvents(collapsed, this.animation, this.minimized());
|
|
4804
|
-
}
|
|
4805
|
-
firstRun = false;
|
|
4806
|
-
});
|
|
4807
|
-
}, { injector: this.injector });
|
|
4808
|
-
}
|
|
4809
|
-
/**
|
|
4810
|
-
* Triggers collapsing programmatically.
|
|
4811
|
-
*
|
|
4812
|
-
* If there is a collapsing transition running already, it will be reversed.
|
|
4813
|
-
* If the animations are turned off this happens synchronously.
|
|
4814
|
-
*
|
|
4815
|
-
* @since 9.1.0
|
|
4816
|
-
*/
|
|
4817
|
-
toggle(open = this.collapsed()) {
|
|
4818
|
-
this.collapsed.set(!open);
|
|
4819
|
-
}
|
|
4820
|
-
runTransition(collapsed, animation, minimizedInput) {
|
|
4821
|
-
return ngbRunTransition(this.zone, this.elementRef.nativeElement, DfCollapsingTransition, {
|
|
4822
|
-
animation,
|
|
4823
|
-
runningTransition: 'stop',
|
|
4824
|
-
context: { direction: collapsed ? 'hide' : 'show', minimized: minimizedInput }
|
|
4825
|
-
});
|
|
4826
|
-
}
|
|
4827
|
-
runTransitionWithEvents(collapsed, animation, minimized) {
|
|
4828
|
-
this.runTransition(collapsed, animation, minimized).subscribe(() => {
|
|
4829
|
-
if (collapsed) {
|
|
4830
|
-
this.hidden.emit();
|
|
4831
|
-
}
|
|
4832
|
-
else {
|
|
4833
|
-
this.shown.emit();
|
|
4834
|
-
}
|
|
4835
|
-
});
|
|
4836
|
-
}
|
|
4837
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4838
|
-
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 }); }
|
|
4839
|
-
}
|
|
4840
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseDirective, decorators: [{
|
|
4841
|
-
type: Directive,
|
|
4842
|
-
args: [{ selector: '[dfSideNavCollapse]', exportAs: 'dfSideNavCollapse' }]
|
|
4843
|
-
}], ctorParameters: () => [] });
|
|
4844
|
-
|
|
4845
|
-
class DfSideNavCollapseModule {
|
|
4846
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4847
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseModule, imports: [DfSideNavCollapseDirective], exports: [DfSideNavCollapseDirective] }); }
|
|
4848
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseModule }); }
|
|
4849
|
-
}
|
|
4850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavCollapseModule, decorators: [{
|
|
4851
|
-
type: NgModule,
|
|
4852
|
-
args: [{
|
|
4853
|
-
imports: [DfSideNavCollapseDirective],
|
|
4854
|
-
exports: [DfSideNavCollapseDirective]
|
|
4855
|
-
}]
|
|
4856
|
-
}] });
|
|
4857
|
-
|
|
4858
|
-
class DfManageSideNavDirective {
|
|
4859
|
-
constructor() {
|
|
4860
|
-
this.element = inject(ElementRef);
|
|
4861
|
-
this.renderer = inject(Renderer2);
|
|
4862
|
-
}
|
|
4863
|
-
ngAfterViewChecked() {
|
|
4864
|
-
if (this.element.nativeElement.querySelector('.active')) {
|
|
4865
|
-
this.renderer.addClass(this.element.nativeElement, 'df-sidenav-list-withactivated');
|
|
4866
|
-
}
|
|
4867
|
-
else {
|
|
4868
|
-
this.renderer.removeClass(this.element.nativeElement, 'df-sidenav-list-withactivated');
|
|
4869
|
-
}
|
|
4870
|
-
}
|
|
4871
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfManageSideNavDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4872
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", type: DfManageSideNavDirective, isStandalone: true, selector: "[dfManageSideNav]", ngImport: i0 }); }
|
|
4873
|
-
}
|
|
4874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfManageSideNavDirective, decorators: [{
|
|
4875
|
-
type: Directive,
|
|
4876
|
-
args: [{
|
|
4877
|
-
selector: '[dfManageSideNav]'
|
|
4878
|
-
}]
|
|
4879
|
-
}] });
|
|
4880
|
-
|
|
4881
|
-
class DfOverflowService {
|
|
4882
|
-
/**
|
|
4883
|
-
* @param element the HTML element
|
|
4884
|
-
* @returns whether the element is overflowing
|
|
4885
|
-
*/
|
|
4886
|
-
hasOverflow(element) {
|
|
4887
|
-
return this.hasOverflowX(element) || this.hasOverflowY(element);
|
|
4888
|
-
}
|
|
4889
|
-
/**
|
|
4890
|
-
* @param element the HTML element
|
|
4891
|
-
* @returns whether the element is overflowing horizontally
|
|
4892
|
-
*/
|
|
4893
|
-
hasOverflowX(element) {
|
|
4894
|
-
return element.offsetWidth < element.scrollWidth;
|
|
4895
|
-
}
|
|
4896
|
-
/**
|
|
4897
|
-
* @param element the HTML element
|
|
4898
|
-
* @returns whether the element is overflowing vertically
|
|
4899
|
-
*/
|
|
4900
|
-
hasOverflowY(element) {
|
|
4901
|
-
return element.offsetHeight < element.scrollHeight;
|
|
4902
|
-
}
|
|
4903
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfOverflowService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4904
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfOverflowService, providedIn: 'root' }); }
|
|
4905
|
-
}
|
|
4906
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfOverflowService, decorators: [{
|
|
4907
|
-
type: Injectable,
|
|
4908
|
-
args: [{
|
|
4909
|
-
providedIn: 'root'
|
|
4910
|
-
}]
|
|
4911
|
-
}] });
|
|
4912
|
-
|
|
4913
|
-
/**
|
|
4914
|
-
* DfTitleTruncate directive
|
|
4915
|
-
* It adds the title attribute with the element's textContent as value
|
|
4916
|
-
* when the element is truncated.
|
|
4917
|
-
*/
|
|
4918
|
-
class DfTitleTruncateDirective {
|
|
4919
|
-
constructor() {
|
|
4920
|
-
this.elementRef = inject((ElementRef));
|
|
4921
|
-
this.renderer = inject(Renderer2);
|
|
4922
|
-
this.overflowService = inject(DfOverflowService);
|
|
4923
|
-
}
|
|
4924
|
-
ngOnInit() {
|
|
4925
|
-
this.renderer.addClass(this.elementRef.nativeElement, 'text-truncate');
|
|
4926
|
-
}
|
|
4927
|
-
ngDoCheck() {
|
|
4928
|
-
const { nativeElement } = this.elementRef;
|
|
4929
|
-
const titleAttributeName = 'title';
|
|
4930
|
-
if (this.overflowService.hasOverflow(nativeElement)) {
|
|
4931
|
-
nativeElement.setAttribute(titleAttributeName, nativeElement.textContent);
|
|
4932
|
-
}
|
|
4933
|
-
else if (nativeElement.getAttribute(titleAttributeName)) {
|
|
4934
|
-
nativeElement.removeAttribute(titleAttributeName);
|
|
4935
|
-
}
|
|
4936
|
-
}
|
|
4937
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfTitleTruncateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4938
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", type: DfTitleTruncateDirective, isStandalone: true, selector: "[dfTitleTruncate]", exportAs: ["dfTitleTruncate"], ngImport: i0 }); }
|
|
4939
|
-
}
|
|
4940
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfTitleTruncateDirective, decorators: [{
|
|
4941
|
-
type: Directive,
|
|
4942
|
-
args: [{
|
|
4943
|
-
exportAs: 'dfTitleTruncate',
|
|
4944
|
-
selector: '[dfTitleTruncate]'
|
|
4945
|
-
}]
|
|
4946
|
-
}] });
|
|
4947
|
-
|
|
4948
|
-
let uniqueId = 0;
|
|
4949
|
-
/**
|
|
4950
|
-
* SideNav is a component to provide navigation feature with a panel on the side of your page
|
|
4951
|
-
*
|
|
4952
|
-
* It supports several options as:
|
|
4953
|
-
* - Being in an overlay menu or not
|
|
4954
|
-
* - Being collapsed or not
|
|
4955
|
-
* - Can be used with or without Angular Router
|
|
4956
|
-
* - Can be used with media queries to adjust behavior to different breakpoints (see media section)
|
|
4957
|
-
*/
|
|
4958
|
-
// TODO cannot set to OnPush without a refactor of DfSideNavService
|
|
4959
|
-
// eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
|
|
4960
|
-
class DfSideNavListComponent {
|
|
4961
|
-
constructor() {
|
|
4962
|
-
this.items = input.required(...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
4963
|
-
this.tplIcon = input(...(ngDevMode ? [undefined, { debugName: "tplIcon" }] : []));
|
|
4964
|
-
this.tplItem = input(...(ngDevMode ? [undefined, { debugName: "tplItem" }] : []));
|
|
4965
|
-
this.currentItem = input(...(ngDevMode ? [undefined, { debugName: "currentItem" }] : []));
|
|
4966
|
-
this.id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
4967
|
-
this.controlledUniqueId = this.getControlledUniqueId();
|
|
4968
|
-
this.sideNavService = inject(DfSideNavService);
|
|
4969
|
-
}
|
|
4970
|
-
getControlledUniqueId() {
|
|
4971
|
-
uniqueId++;
|
|
4972
|
-
return `df-sidenav-id-${uniqueId};`;
|
|
4973
|
-
}
|
|
4974
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DfSideNavListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4975
|
-
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"] }] }); }
|
|
4390
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4391
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", 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 text-truncate\">{{ 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 text-truncate\">{{ 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 text-truncate\">{{ 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: "directive", type: NgbCollapse, selector: "[ngbCollapse]", inputs: ["animation", "ngbCollapse", "horizontal"], outputs: ["ngbCollapseChange", "shown", "hidden"], exportAs: ["ngbCollapse"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: DfIfMediaDirective, selector: "[dfIfMedia]", inputs: ["dfIfMedia"] }, { kind: "directive", type: DfManageSideNavDirective, selector: "[dfManageSideNav]" }] }); }
|
|
4976
4392
|
}
|
|
4977
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4393
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavListComponent, decorators: [{
|
|
4978
4394
|
type: Component,
|
|
4979
|
-
args: [{ selector: 'df-sidenavlist', imports: [
|
|
4980
|
-
|
|
4981
|
-
NgbCollapseModule,
|
|
4982
|
-
RouterModule,
|
|
4983
|
-
DfMediaModule,
|
|
4984
|
-
DfSideNavCollapseModule,
|
|
4985
|
-
DfManageSideNavDirective,
|
|
4986
|
-
DfTitleTruncateDirective
|
|
4987
|
-
], 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" }]
|
|
4988
|
-
}] });
|
|
4395
|
+
args: [{ selector: 'df-sidenavlist', imports: [NgTemplateOutlet, NgbCollapse, RouterLink, RouterLinkActive, DfIfMediaDirective, DfManageSideNavDirective], 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 text-truncate\">{{ 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 text-truncate\">{{ 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 text-truncate\">{{ 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" }]
|
|
4396
|
+
}], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: true }] }], tplIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "tplIcon", required: false }] }], tplItem: [{ type: i0.Input, args: [{ isSignal: true, alias: "tplItem", required: false }] }], currentItem: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentItem", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
4989
4397
|
|
|
4990
4398
|
class DfSideNavHeaderDirective {
|
|
4991
4399
|
constructor() {
|
|
4992
4400
|
this.templateRef = inject(TemplateRef);
|
|
4993
4401
|
}
|
|
4994
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4995
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4402
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4403
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: DfSideNavHeaderDirective, isStandalone: true, selector: "ng-template[dfSideNavHeader]", ngImport: i0 }); }
|
|
4996
4404
|
}
|
|
4997
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavHeaderDirective, decorators: [{
|
|
4998
4406
|
type: Directive,
|
|
4999
4407
|
args: [{ selector: 'ng-template[dfSideNavHeader]' }]
|
|
5000
4408
|
}] });
|
|
@@ -5002,10 +4410,10 @@ class DfSideNavIconDirective {
|
|
|
5002
4410
|
constructor() {
|
|
5003
4411
|
this.templateRef = inject(TemplateRef);
|
|
5004
4412
|
}
|
|
5005
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5006
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4413
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4414
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: DfSideNavIconDirective, isStandalone: true, selector: "ng-template[dfSideNavIcon]", ngImport: i0 }); }
|
|
5007
4415
|
}
|
|
5008
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavIconDirective, decorators: [{
|
|
5009
4417
|
type: Directive,
|
|
5010
4418
|
args: [{ selector: 'ng-template[dfSideNavIcon]' }]
|
|
5011
4419
|
}] });
|
|
@@ -5013,10 +4421,10 @@ class DfSideNavItemDirective {
|
|
|
5013
4421
|
constructor() {
|
|
5014
4422
|
this.templateRef = inject(TemplateRef);
|
|
5015
4423
|
}
|
|
5016
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5017
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4424
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4425
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: DfSideNavItemDirective, isStandalone: true, selector: "ng-template[dfSideNavItem]", ngImport: i0 }); }
|
|
5018
4426
|
}
|
|
5019
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavItemDirective, decorators: [{
|
|
5020
4428
|
type: Directive,
|
|
5021
4429
|
args: [{ selector: 'ng-template[dfSideNavItem]' }]
|
|
5022
4430
|
}] });
|
|
@@ -5049,15 +4457,15 @@ class DfSideNavComponent {
|
|
|
5049
4457
|
ngOnDestroy() {
|
|
5050
4458
|
this.sideNavService.removeSideBar();
|
|
5051
4459
|
}
|
|
5052
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5053
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
4460
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4461
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", 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: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DfSideNavListComponent, selector: "df-sidenavlist", inputs: ["items", "tplIcon", "tplItem", "currentItem", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5054
4462
|
}
|
|
5055
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4463
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavComponent, decorators: [{
|
|
5056
4464
|
type: Component,
|
|
5057
|
-
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'df-sidenav', imports: [
|
|
4465
|
+
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'df-sidenav', imports: [NgTemplateOutlet, DfSideNavListComponent], host: {
|
|
5058
4466
|
'[class]': 'classes()'
|
|
5059
4467
|
}, 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" }]
|
|
5060
|
-
}], ctorParameters: () => [] });
|
|
4468
|
+
}], ctorParameters: () => [], propDecorators: { tplHeader: [{ type: i0.ContentChild, args: [i0.forwardRef(() => DfSideNavHeaderDirective), { isSignal: true }] }], tplIcon: [{ type: i0.ContentChild, args: [i0.forwardRef(() => DfSideNavIconDirective), { isSignal: true }] }], tplItem: [{ type: i0.ContentChild, args: [i0.forwardRef(() => DfSideNavItemDirective), { isSignal: true }] }] } });
|
|
5061
4469
|
|
|
5062
4470
|
const DF_SELECT_CLASS = 'df-ym';
|
|
5063
4471
|
|
|
@@ -5141,10 +4549,10 @@ class DfManageNavSelectDirective {
|
|
|
5141
4549
|
(listBadge[currentPos - 1] || document.activeElement).focus();
|
|
5142
4550
|
}
|
|
5143
4551
|
}
|
|
5144
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5145
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4552
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfManageNavSelectDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4553
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: DfManageNavSelectDirective, isStandalone: true, selector: "[dfManageNavSelect]", host: { listeners: { "keydown.arrowLeft": "handleKeyDown($event)", "keydown.Backspace": "handleKeyDownBackspace()", "keydown.arrowRight": "handleKeyDownRight($event)" } }, ngImport: i0 }); }
|
|
5146
4554
|
}
|
|
5147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4555
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfManageNavSelectDirective, decorators: [{
|
|
5148
4556
|
type: Directive,
|
|
5149
4557
|
args: [{
|
|
5150
4558
|
selector: '[dfManageNavSelect]'
|
|
@@ -5154,7 +4562,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
5154
4562
|
args: ['keydown.arrowLeft', ['$event']]
|
|
5155
4563
|
}], handleKeyDownBackspace: [{
|
|
5156
4564
|
type: HostListener,
|
|
5157
|
-
args: ['keydown.Backspace'
|
|
4565
|
+
args: ['keydown.Backspace']
|
|
5158
4566
|
}], handleKeyDownRight: [{
|
|
5159
4567
|
type: HostListener,
|
|
5160
4568
|
args: ['keydown.arrowRight', ['$event']]
|
|
@@ -5188,15 +4596,15 @@ class DfOptionHighlightDirective {
|
|
|
5188
4596
|
setInnerHtml(html) {
|
|
5189
4597
|
this.renderer.setProperty(this.elementRef.nativeElement, 'innerHTML', html);
|
|
5190
4598
|
}
|
|
5191
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5192
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
4599
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfOptionHighlightDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4600
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", type: DfOptionHighlightDirective, isStandalone: true, selector: "[dfOptionHighlight]", inputs: { dfOptionHighlight: { classPropertyName: "dfOptionHighlight", publicName: "dfOptionHighlight", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
5193
4601
|
}
|
|
5194
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfOptionHighlightDirective, decorators: [{
|
|
5195
4603
|
type: Directive,
|
|
5196
4604
|
args: [{
|
|
5197
4605
|
selector: '[dfOptionHighlight]'
|
|
5198
4606
|
}]
|
|
5199
|
-
}], ctorParameters: () => [] });
|
|
4607
|
+
}], ctorParameters: () => [], propDecorators: { dfOptionHighlight: [{ type: i0.Input, args: [{ isSignal: true, alias: "dfOptionHighlight", required: true }] }] } });
|
|
5200
4608
|
|
|
5201
4609
|
// Put to avoid opening of the select after removal. See why in file:
|
|
5202
4610
|
// https://github.com/ng-select/ng-select/blob/57c6671a972d23beddcca2b6acc9418544c17a2e/src/ng-select/ng-select.component.ts#L307
|
|
@@ -5232,10 +4640,10 @@ class DfManageBadgeEventsDirective {
|
|
|
5232
4640
|
this.dfManageBadgeEventsSelect()[0](this.dfManageBadgeEventsSelect()[1]);
|
|
5233
4641
|
event.stopPropagation();
|
|
5234
4642
|
}
|
|
5235
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5236
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
4643
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfManageBadgeEventsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4644
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", 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 }); }
|
|
5237
4645
|
}
|
|
5238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfManageBadgeEventsDirective, decorators: [{
|
|
5239
4647
|
type: Directive,
|
|
5240
4648
|
args: [{
|
|
5241
4649
|
selector: '[dfManageBadgeEventsSelect]',
|
|
@@ -5247,14 +4655,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
5247
4655
|
'(keydown.Delete)': 'handleKeyDownDelete($event)'
|
|
5248
4656
|
}
|
|
5249
4657
|
}]
|
|
5250
|
-
}], ctorParameters: () => [] });
|
|
4658
|
+
}], ctorParameters: () => [], propDecorators: { dfManageBadgeEventsSelect: [{ type: i0.Input, args: [{ isSignal: true, alias: "dfManageBadgeEventsSelect", required: true }] }] } });
|
|
5251
4659
|
|
|
5252
4660
|
class DfSelectModule {
|
|
5253
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5254
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5255
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4661
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4662
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfSelectModule, imports: [DfManageNavSelectDirective, DfManageBadgeEventsDirective, DfOptionHighlightDirective], exports: [DfManageNavSelectDirective, DfManageBadgeEventsDirective, DfOptionHighlightDirective, NgSelectModule] }); }
|
|
4663
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSelectModule, imports: [NgSelectModule] }); }
|
|
5256
4664
|
}
|
|
5257
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4665
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSelectModule, decorators: [{
|
|
5258
4666
|
type: NgModule,
|
|
5259
4667
|
args: [{
|
|
5260
4668
|
imports: [DfManageNavSelectDirective, DfManageBadgeEventsDirective, DfOptionHighlightDirective],
|
|
@@ -5473,10 +4881,10 @@ class DfStepperService {
|
|
|
5473
4881
|
this._state = this.normalizeState(this._state);
|
|
5474
4882
|
this.dispatchStepperState();
|
|
5475
4883
|
}
|
|
5476
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5477
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4884
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfStepperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4885
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfStepperService }); }
|
|
5478
4886
|
}
|
|
5479
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4887
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfStepperService, decorators: [{
|
|
5480
4888
|
type: Injectable
|
|
5481
4889
|
}] });
|
|
5482
4890
|
|
|
@@ -5508,10 +4916,10 @@ class DfStepperStepDirective {
|
|
|
5508
4916
|
ngOnDestroy() {
|
|
5509
4917
|
this.unlistener.forEach((ul) => ul());
|
|
5510
4918
|
}
|
|
5511
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5512
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4919
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfStepperStepDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4920
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: DfStepperStepDirective, isStandalone: true, selector: "[dfStepperStep]", exportAs: ["dfStepperStep"], ngImport: i0 }); }
|
|
5513
4921
|
}
|
|
5514
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4922
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfStepperStepDirective, decorators: [{
|
|
5515
4923
|
type: Directive,
|
|
5516
4924
|
args: [{
|
|
5517
4925
|
selector: '[dfStepperStep]',
|
|
@@ -5619,10 +5027,10 @@ class DfStepperDirective {
|
|
|
5619
5027
|
this.stepperService.resetFocus();
|
|
5620
5028
|
}
|
|
5621
5029
|
}
|
|
5622
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5623
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5030
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfStepperDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5031
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", 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 }); }
|
|
5624
5032
|
}
|
|
5625
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5033
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfStepperDirective, decorators: [{
|
|
5626
5034
|
type: Directive,
|
|
5627
5035
|
args: [{
|
|
5628
5036
|
selector: '[dfStepperLogic]',
|
|
@@ -5655,15 +5063,15 @@ class DfStepperStepContentDirective {
|
|
|
5655
5063
|
* The step index
|
|
5656
5064
|
* -1 means that the input index is not set
|
|
5657
5065
|
*/
|
|
5658
|
-
this.dfStepperStepContent = input(-1, ...(ngDevMode ?
|
|
5066
|
+
this.dfStepperStepContent = input(-1, { ...(ngDevMode ? { debugName: "dfStepperStepContent" } : {}), transform: (value) => numberAttribute(value, -1) });
|
|
5659
5067
|
}
|
|
5660
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5661
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
5068
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfStepperStepContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5069
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", type: DfStepperStepContentDirective, isStandalone: true, selector: "ng-template[dfStepperStepContent]", inputs: { dfStepperStepContent: { classPropertyName: "dfStepperStepContent", publicName: "dfStepperStepContent", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
5662
5070
|
}
|
|
5663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfStepperStepContentDirective, decorators: [{
|
|
5664
5072
|
type: Directive,
|
|
5665
5073
|
args: [{ selector: 'ng-template[dfStepperStepContent]' }]
|
|
5666
|
-
}] });
|
|
5074
|
+
}], propDecorators: { dfStepperStepContent: [{ type: i0.Input, args: [{ isSignal: true, alias: "dfStepperStepContent", required: false }] }] } });
|
|
5667
5075
|
/**
|
|
5668
5076
|
* Stepper component is a component to provide a step by step navigation
|
|
5669
5077
|
* You have two ways to navigate through the steps:
|
|
@@ -5676,6 +5084,7 @@ class DfStepperComponent {
|
|
|
5676
5084
|
this.mapStepToContent = new Map();
|
|
5677
5085
|
this.tplStepsContent = contentChildren(DfStepperStepContentDirective, ...(ngDevMode ? [{ debugName: "tplStepsContent" }] : []));
|
|
5678
5086
|
this.state = signal(undefined, ...(ngDevMode ? [{ debugName: "state" }] : []));
|
|
5087
|
+
this.stepperLabelClasses = 'd-block fw-medium text-truncate';
|
|
5679
5088
|
this.stepperService.stepperState$.pipe(takeUntilDestroyed()).subscribe((state) => {
|
|
5680
5089
|
this.state.set(state);
|
|
5681
5090
|
});
|
|
@@ -5687,26 +5096,27 @@ class DfStepperComponent {
|
|
|
5687
5096
|
}
|
|
5688
5097
|
});
|
|
5689
5098
|
}
|
|
5690
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5691
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5099
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfStepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5100
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: DfStepperComponent, isStandalone: true, selector: "[dfStepper]", host: { attributes: { "role": "tablist" }, properties: { "class.align-items-start": "state()?.isVertical", "class.flex-column": "state()?.isVertical", "attr.aria-label": "stepperService.stepperAriaLabel", "attr.aria-orientation": "state()?.isVertical ? \"vertical\": null" }, classAttribute: "df-stepper mb-2 d-flex" }, queries: [{ propertyName: "tplStepsContent", predicate: DfStepperStepContentDirective, isSignal: true }], hostDirectives: [{ directive: DfStepperDirective }], ngImport: i0, template: "<ng-template #myStepperLine let-inline>\n <div class=\"df-stepper-line-wrapper d-flex flex-column flex-grow-1\">\n <div class=\"df-stepper-line d-flex flex-grow-1 align-items-center\">\n <div class=\"df-stepper-horizontal-line flex-grow-1 border-top mt-1\"></div>\n </div>\n @if (!inline) {\n <div class=\"df-stepper-line d-none d-sm-flex flex-grow-1\">\n <div class=\"flex-grow-1\"></div>\n </div>\n }\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 df-stepper-step d-flex align-items-center h-auto\"\n dfStepperStep\n [class]=\"{\n active: i === state.active,\n 'flex-column': !state.isInline && !state.isVertical,\n 'df-stepper-step-warning': step.type === 'warning',\n 'df-stepper-step-completed': step.type === 'completed',\n 'df-stepper-step-visited': step.type === 'visited',\n 'df-stepper-step-future': step.type === 'future'\n }\"\n [attr.tabIndex]=\"i === state.active ? 0 : -1\"\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]=\"{\n 'df-stepper-step-circle': true,\n 'df-stepper-icon': step.type === 'completed',\n 'fa-check': step.type === 'completed',\n 'df-stepper-outline-number-future': step.type === 'future',\n 'df-stepper-outline-number-visited': step.type === 'visited',\n 'df-stepper-outline-number': step.type === 'future' || step.type === 'visited',\n 'fw-medium': step.type === 'visited',\n 'df-stepper-outline-icon': step.type === 'warning',\n 'fa-exclamation-triangle': step.type === 'warning',\n 'd-flex': step.type !== 'warning' && step.type !== 'completed',\n 'justify-content-center': step.type !== 'warning' && step.type !== 'completed',\n 'align-items-center': step.type !== 'warning' && step.type !== 'completed'\n }\"\n >\n @if (step.type !== 'warning' && step.type !== 'completed') {\n <span aria-hidden=\"true\">{{ stepperService.getStepNumberLabel(i) }}</span>\n }\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\n class=\"df-stepper-label\"\n [class]=\"stepperLabelClasses\"\n [class.ms-4]=\"state.isInline || state.isVertical\"\n >{{ step.label }}</span\n >\n @if (step.optionalLabel) {\n <span\n class=\"df-stepper-optional-label text-body fw-normal text-start fs-xs\"\n [class.ms-4]=\"state.isInline || state.isVertical\"\n >{{ step.optionalLabel }}</span\n >\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\n [ngTemplateOutlet]=\"myStepperLine\"\n [ngTemplateOutletContext]=\"{ $implicit: state.isInline }\"\n ></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 my-5 ps-5 position-relative\"\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\" [class]=\"stepperLabelClasses\">{{ 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 }); }
|
|
5692
5101
|
}
|
|
5693
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfStepperComponent, decorators: [{
|
|
5694
5103
|
type: Component,
|
|
5695
5104
|
args: [{ selector: '[dfStepper]', changeDetection: ChangeDetectionStrategy.OnPush, imports: [DfStepperStepDirective, NgTemplateOutlet, AsyncPipe], hostDirectives: [DfStepperDirective], host: {
|
|
5696
5105
|
role: 'tablist',
|
|
5697
|
-
class: 'df-stepper mb-2',
|
|
5698
|
-
'[class.
|
|
5106
|
+
class: 'df-stepper mb-2 d-flex',
|
|
5107
|
+
'[class.align-items-start]': 'state()?.isVertical',
|
|
5108
|
+
'[class.flex-column]': 'state()?.isVertical',
|
|
5699
5109
|
'[attr.aria-label]': 'stepperService.stepperAriaLabel',
|
|
5700
5110
|
'[attr.aria-orientation]': 'state()?.isVertical ? "vertical": null'
|
|
5701
|
-
}, 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
|
|
5702
|
-
}], ctorParameters: () => [] });
|
|
5111
|
+
}, template: "<ng-template #myStepperLine let-inline>\n <div class=\"df-stepper-line-wrapper d-flex flex-column flex-grow-1\">\n <div class=\"df-stepper-line d-flex flex-grow-1 align-items-center\">\n <div class=\"df-stepper-horizontal-line flex-grow-1 border-top mt-1\"></div>\n </div>\n @if (!inline) {\n <div class=\"df-stepper-line d-none d-sm-flex flex-grow-1\">\n <div class=\"flex-grow-1\"></div>\n </div>\n }\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 df-stepper-step d-flex align-items-center h-auto\"\n dfStepperStep\n [class]=\"{\n active: i === state.active,\n 'flex-column': !state.isInline && !state.isVertical,\n 'df-stepper-step-warning': step.type === 'warning',\n 'df-stepper-step-completed': step.type === 'completed',\n 'df-stepper-step-visited': step.type === 'visited',\n 'df-stepper-step-future': step.type === 'future'\n }\"\n [attr.tabIndex]=\"i === state.active ? 0 : -1\"\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]=\"{\n 'df-stepper-step-circle': true,\n 'df-stepper-icon': step.type === 'completed',\n 'fa-check': step.type === 'completed',\n 'df-stepper-outline-number-future': step.type === 'future',\n 'df-stepper-outline-number-visited': step.type === 'visited',\n 'df-stepper-outline-number': step.type === 'future' || step.type === 'visited',\n 'fw-medium': step.type === 'visited',\n 'df-stepper-outline-icon': step.type === 'warning',\n 'fa-exclamation-triangle': step.type === 'warning',\n 'd-flex': step.type !== 'warning' && step.type !== 'completed',\n 'justify-content-center': step.type !== 'warning' && step.type !== 'completed',\n 'align-items-center': step.type !== 'warning' && step.type !== 'completed'\n }\"\n >\n @if (step.type !== 'warning' && step.type !== 'completed') {\n <span aria-hidden=\"true\">{{ stepperService.getStepNumberLabel(i) }}</span>\n }\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\n class=\"df-stepper-label\"\n [class]=\"stepperLabelClasses\"\n [class.ms-4]=\"state.isInline || state.isVertical\"\n >{{ step.label }}</span\n >\n @if (step.optionalLabel) {\n <span\n class=\"df-stepper-optional-label text-body fw-normal text-start fs-xs\"\n [class.ms-4]=\"state.isInline || state.isVertical\"\n >{{ step.optionalLabel }}</span\n >\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\n [ngTemplateOutlet]=\"myStepperLine\"\n [ngTemplateOutletContext]=\"{ $implicit: state.isInline }\"\n ></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 my-5 ps-5 position-relative\"\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\" [class]=\"stepperLabelClasses\">{{ state.steps[state.active].label }}</span>\n </div>\n}\n" }]
|
|
5112
|
+
}], ctorParameters: () => [], propDecorators: { tplStepsContent: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => DfStepperStepContentDirective), { isSignal: true }] }] } });
|
|
5703
5113
|
|
|
5704
5114
|
class DfStepperModule {
|
|
5705
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5706
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5707
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5115
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfStepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5116
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfStepperModule, imports: [DfStepperDirective, DfStepperStepDirective, DfStepperComponent, DfStepperStepContentDirective], exports: [DfStepperDirective, DfStepperStepDirective, DfStepperComponent, DfStepperStepContentDirective] }); }
|
|
5117
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfStepperModule }); }
|
|
5708
5118
|
}
|
|
5709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfStepperModule, decorators: [{
|
|
5710
5120
|
type: NgModule,
|
|
5711
5121
|
args: [{
|
|
5712
5122
|
imports: [DfStepperDirective, DfStepperStepDirective, DfStepperComponent, DfStepperStepContentDirective],
|
|
@@ -5737,65 +5147,396 @@ function hasOverflowY(element) {
|
|
|
5737
5147
|
}
|
|
5738
5148
|
|
|
5739
5149
|
/**
|
|
5740
|
-
* My dfTooltipTruncate directive
|
|
5150
|
+
* My dfTooltipTruncate directive
|
|
5151
|
+
*/
|
|
5152
|
+
class DfTooltipTruncateDirective {
|
|
5153
|
+
constructor() {
|
|
5154
|
+
this.tooltip = inject(NgbTooltip);
|
|
5155
|
+
this.elementRef = inject(ElementRef);
|
|
5156
|
+
this.renderer = inject(Renderer2);
|
|
5157
|
+
/**
|
|
5158
|
+
* The direction considered when detecting overflow, can be 'x', 'y' or ''.
|
|
5159
|
+
* @defaultValue ''
|
|
5160
|
+
*/
|
|
5161
|
+
this.dfTooltipTruncate = input('', ...(ngDevMode ? [{ debugName: "dfTooltipTruncate" }] : []));
|
|
5162
|
+
}
|
|
5163
|
+
ngOnInit() {
|
|
5164
|
+
this.renderer.addClass(this.elementRef.nativeElement, 'text-truncate');
|
|
5165
|
+
}
|
|
5166
|
+
ngDoCheck() {
|
|
5167
|
+
let disableToolTip = false;
|
|
5168
|
+
switch (this.dfTooltipTruncate()) {
|
|
5169
|
+
case 'x':
|
|
5170
|
+
disableToolTip = !hasOverflowX(this.elementRef.nativeElement);
|
|
5171
|
+
break;
|
|
5172
|
+
case 'y':
|
|
5173
|
+
disableToolTip = !hasOverflowY(this.elementRef.nativeElement);
|
|
5174
|
+
break;
|
|
5175
|
+
case '':
|
|
5176
|
+
disableToolTip = !hasOverflow(this.elementRef.nativeElement);
|
|
5177
|
+
break;
|
|
5178
|
+
}
|
|
5179
|
+
this.tooltip.disableTooltip = disableToolTip;
|
|
5180
|
+
this.renderer.setAttribute(this.elementRef.nativeElement, 'tabIndex', disableToolTip ? '-1' : '0');
|
|
5181
|
+
}
|
|
5182
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfTooltipTruncateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5183
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", type: DfTooltipTruncateDirective, isStandalone: true, selector: "[dfTooltipTruncate]", inputs: { dfTooltipTruncate: { classPropertyName: "dfTooltipTruncate", publicName: "dfTooltipTruncate", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["dfTooltipTruncate"], ngImport: i0 }); }
|
|
5184
|
+
}
|
|
5185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfTooltipTruncateDirective, decorators: [{
|
|
5186
|
+
type: Directive,
|
|
5187
|
+
args: [{
|
|
5188
|
+
exportAs: 'dfTooltipTruncate',
|
|
5189
|
+
selector: '[dfTooltipTruncate]'
|
|
5190
|
+
}]
|
|
5191
|
+
}], propDecorators: { dfTooltipTruncate: [{ type: i0.Input, args: [{ isSignal: true, alias: "dfTooltipTruncate", required: false }] }] } });
|
|
5192
|
+
|
|
5193
|
+
class DfTooltipModule {
|
|
5194
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5195
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfTooltipModule, imports: [DfTooltipTruncateDirective], exports: [DfTooltipTruncateDirective, NgbTooltipModule] }); }
|
|
5196
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfTooltipModule, imports: [NgbTooltipModule] }); }
|
|
5197
|
+
}
|
|
5198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfTooltipModule, decorators: [{
|
|
5199
|
+
type: NgModule,
|
|
5200
|
+
args: [{
|
|
5201
|
+
imports: [DfTooltipTruncateDirective],
|
|
5202
|
+
exports: [DfTooltipTruncateDirective, NgbTooltipModule]
|
|
5203
|
+
}]
|
|
5204
|
+
}] });
|
|
5205
|
+
|
|
5206
|
+
/**
|
|
5207
|
+
* Creates an observable where all callbacks are executed inside a given zone
|
|
5208
|
+
*
|
|
5209
|
+
* @param zone Angular Zone element
|
|
5210
|
+
*/
|
|
5211
|
+
function runInZone(zone) {
|
|
5212
|
+
return (source) => {
|
|
5213
|
+
return new Observable((observer) => {
|
|
5214
|
+
const onNext = (value) => zone.run(() => observer.next(value));
|
|
5215
|
+
const onError = (e) => zone.run(() => observer.error(e));
|
|
5216
|
+
const onComplete = () => zone.run(() => observer.complete());
|
|
5217
|
+
return source.subscribe(onNext, onError, onComplete);
|
|
5218
|
+
});
|
|
5219
|
+
};
|
|
5220
|
+
}
|
|
5221
|
+
function getTransitionDurationMs(element) {
|
|
5222
|
+
const { transitionDelay, transitionDuration } = window.getComputedStyle(element);
|
|
5223
|
+
const transitionDelaySec = parseFloat(transitionDelay);
|
|
5224
|
+
const transitionDurationSec = parseFloat(transitionDuration);
|
|
5225
|
+
return (transitionDelaySec + transitionDurationSec) * 1000;
|
|
5226
|
+
}
|
|
5227
|
+
/**
|
|
5228
|
+
* Force a browser reflow
|
|
5229
|
+
* @param element element where to apply the reflow
|
|
5230
|
+
*/
|
|
5231
|
+
function reflow(element) {
|
|
5232
|
+
return (element || document.body).getBoundingClientRect();
|
|
5233
|
+
}
|
|
5234
|
+
|
|
5235
|
+
const TRANSITION_TIMER_DELAY = 5;
|
|
5236
|
+
const noopFn = () => { };
|
|
5237
|
+
const runningTransitions = new Map();
|
|
5238
|
+
const ngbRunTransition = (zone, element, startFn, options) => {
|
|
5239
|
+
// Getting initial context from options
|
|
5240
|
+
let context = options.context || {};
|
|
5241
|
+
// Checking if there are already running transitions on the given element.
|
|
5242
|
+
const running = runningTransitions.get(element);
|
|
5243
|
+
if (running) {
|
|
5244
|
+
switch (options.runningTransition) {
|
|
5245
|
+
// If there is one running and we want for it to 'continue' to run, we have to cancel the new one.
|
|
5246
|
+
// We're not emitting any values, but simply completing the observable (EMPTY).
|
|
5247
|
+
case 'continue':
|
|
5248
|
+
return EMPTY;
|
|
5249
|
+
// If there is one running and we want for it to 'stop', we have to complete the running one.
|
|
5250
|
+
// We're simply completing the running one and not emitting any values and merging newly provided context
|
|
5251
|
+
// with the one coming from currently running transition.
|
|
5252
|
+
case 'stop':
|
|
5253
|
+
zone.run(() => running.transition$.complete());
|
|
5254
|
+
context = Object.assign(running.context, context);
|
|
5255
|
+
runningTransitions.delete(element);
|
|
5256
|
+
}
|
|
5257
|
+
}
|
|
5258
|
+
// Running the start function
|
|
5259
|
+
const endFn = startFn(element, options.animation, context) || noopFn;
|
|
5260
|
+
// If 'prefer-reduced-motion' is enabled, the 'transition' will be set to 'none'.
|
|
5261
|
+
// If animations are disabled, we have to emit a value and complete the observable
|
|
5262
|
+
// In this case we have to call the end function, but can finish immediately by emitting a value,
|
|
5263
|
+
// completing the observable and executing end functions synchronously.
|
|
5264
|
+
if (!options.animation || window.getComputedStyle(element).transitionProperty === 'none') {
|
|
5265
|
+
zone.run(() => endFn());
|
|
5266
|
+
return of(undefined).pipe(runInZone(zone));
|
|
5267
|
+
}
|
|
5268
|
+
// Starting a new transition
|
|
5269
|
+
const transition$ = new Subject();
|
|
5270
|
+
const finishTransition$ = new Subject();
|
|
5271
|
+
const stop$ = transition$.pipe(endWith(true));
|
|
5272
|
+
runningTransitions.set(element, {
|
|
5273
|
+
transition$,
|
|
5274
|
+
complete: () => {
|
|
5275
|
+
finishTransition$.next({});
|
|
5276
|
+
finishTransition$.complete();
|
|
5277
|
+
},
|
|
5278
|
+
context
|
|
5279
|
+
});
|
|
5280
|
+
const transitionDurationMs = getTransitionDurationMs(element);
|
|
5281
|
+
// 1. We have to both listen for the 'transitionend' event and have a 'just-in-case' timer,
|
|
5282
|
+
// because 'transitionend' event might not be fired in some browsers, if the transitioning
|
|
5283
|
+
// element becomes invisible (ex. when scrolling, making browser tab inactive, etc.). The timer
|
|
5284
|
+
// guarantees, that we'll release the DOM element and complete 'ngbRunTransition'.
|
|
5285
|
+
// 2. We need to filter transition end events, because they might bubble from shorter transitions
|
|
5286
|
+
// on inner DOM elements. We're only interested in the transition on the 'element' itself.
|
|
5287
|
+
zone.runOutsideAngular(() => {
|
|
5288
|
+
const transitionEnd$ = fromEvent(element, 'transitionend').pipe(takeUntil(stop$), filter(({ target }) => target === element));
|
|
5289
|
+
const timer$ = timer(transitionDurationMs + TRANSITION_TIMER_DELAY).pipe(takeUntil(stop$));
|
|
5290
|
+
race(timer$, transitionEnd$, finishTransition$)
|
|
5291
|
+
.pipe(takeUntil(stop$))
|
|
5292
|
+
.subscribe(() => {
|
|
5293
|
+
runningTransitions.delete(element);
|
|
5294
|
+
zone.run(() => {
|
|
5295
|
+
endFn();
|
|
5296
|
+
transition$.next({});
|
|
5297
|
+
transition$.complete();
|
|
5298
|
+
});
|
|
5299
|
+
});
|
|
5300
|
+
});
|
|
5301
|
+
return transition$.asObservable();
|
|
5302
|
+
};
|
|
5303
|
+
const ngbCompleteTransition = (element) => {
|
|
5304
|
+
runningTransitions.get(element)?.complete();
|
|
5305
|
+
};
|
|
5306
|
+
|
|
5307
|
+
/**
|
|
5308
|
+
* A configuration service for the [DfSideNavCollapseDirective](#/components/sidenav/api#DfSideNavCollapseDirective) component.
|
|
5309
|
+
*
|
|
5310
|
+
* You can inject this service, typically in your root component, and customize its properties
|
|
5311
|
+
* to provide default values for the sideNav used in the application.
|
|
5312
|
+
*/
|
|
5313
|
+
class DfSideNavCollapseConfig {
|
|
5314
|
+
constructor() {
|
|
5315
|
+
this._ngbConfig = inject(NgbConfig);
|
|
5316
|
+
}
|
|
5317
|
+
get animation() {
|
|
5318
|
+
return this._animation === undefined ? this._ngbConfig.animation : this._animation;
|
|
5319
|
+
}
|
|
5320
|
+
set animation(animation) {
|
|
5321
|
+
this._animation = animation;
|
|
5322
|
+
}
|
|
5323
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavCollapseConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5324
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavCollapseConfig, providedIn: 'root' }); }
|
|
5325
|
+
}
|
|
5326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavCollapseConfig, decorators: [{
|
|
5327
|
+
type: Injectable,
|
|
5328
|
+
args: [{ providedIn: 'root' }]
|
|
5329
|
+
}] });
|
|
5330
|
+
|
|
5331
|
+
/**
|
|
5332
|
+
* A service for managing the sidenav panel animation.
|
|
5333
|
+
* This service is included at root level
|
|
5334
|
+
*
|
|
5335
|
+
* Creating a sidenav is straightforward: use [DfSideNavComponent](#/components/sidenav/api#DfSideNavComponent) component
|
|
5336
|
+
*/
|
|
5337
|
+
class DfSideNavCollapseService {
|
|
5338
|
+
constructor() {
|
|
5339
|
+
this._sideNavAnimation$ = new BehaviorSubject(inject(DfSideNavCollapseConfig).animation);
|
|
5340
|
+
}
|
|
5341
|
+
get sideNavAnimation$() {
|
|
5342
|
+
return this._sideNavAnimation$.asObservable();
|
|
5343
|
+
}
|
|
5344
|
+
/**
|
|
5345
|
+
* Use this to activate or desactivate the animation for the sideNav
|
|
5346
|
+
* If input is `True` it will activate the animation.
|
|
5347
|
+
* Default value for animation is set in by DfSideNavCollapseConfig
|
|
5348
|
+
*
|
|
5349
|
+
*/
|
|
5350
|
+
setAnimation(on) {
|
|
5351
|
+
this._sideNavAnimation$.next(on);
|
|
5352
|
+
}
|
|
5353
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavCollapseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5354
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavCollapseService, providedIn: 'root' }); }
|
|
5355
|
+
}
|
|
5356
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavCollapseService, decorators: [{
|
|
5357
|
+
type: Injectable,
|
|
5358
|
+
args: [{
|
|
5359
|
+
providedIn: 'root'
|
|
5360
|
+
}]
|
|
5361
|
+
}] });
|
|
5362
|
+
|
|
5363
|
+
function measureCollapsingElementWidthPx(element) {
|
|
5364
|
+
// SSR fix for without injecting the PlatformId
|
|
5365
|
+
if (typeof navigator === 'undefined') {
|
|
5366
|
+
return '0px';
|
|
5367
|
+
}
|
|
5368
|
+
const { classList } = element;
|
|
5369
|
+
const hasShownClass = classList.contains('df-show');
|
|
5370
|
+
if (!hasShownClass) {
|
|
5371
|
+
classList.add('df-show');
|
|
5372
|
+
}
|
|
5373
|
+
element.style.width = '';
|
|
5374
|
+
const width = `${element.getBoundingClientRect().width}px`;
|
|
5375
|
+
if (!hasShownClass) {
|
|
5376
|
+
classList.remove('df-show');
|
|
5377
|
+
}
|
|
5378
|
+
return width;
|
|
5379
|
+
}
|
|
5380
|
+
const DfCollapsingTransition = (element, animation, context) => {
|
|
5381
|
+
const { direction, minimized } = context;
|
|
5382
|
+
let { maxWidth } = context;
|
|
5383
|
+
const { classList } = element;
|
|
5384
|
+
const dfcollapsingClass = 'df-collapsing';
|
|
5385
|
+
const dfminimizingClass = 'df-minimizing';
|
|
5386
|
+
function setInitialClasses() {
|
|
5387
|
+
if (minimized) {
|
|
5388
|
+
classList.add('df-minimized');
|
|
5389
|
+
}
|
|
5390
|
+
else {
|
|
5391
|
+
classList.add('df-collapse');
|
|
5392
|
+
}
|
|
5393
|
+
if (direction === 'show') {
|
|
5394
|
+
classList.add('df-show');
|
|
5395
|
+
}
|
|
5396
|
+
else {
|
|
5397
|
+
classList.remove('df-show');
|
|
5398
|
+
}
|
|
5399
|
+
}
|
|
5400
|
+
// without animations we just need to set initial classes
|
|
5401
|
+
if (!animation) {
|
|
5402
|
+
setInitialClasses();
|
|
5403
|
+
return () => { };
|
|
5404
|
+
}
|
|
5405
|
+
// No maxWidth -> running the transition for the first time
|
|
5406
|
+
if (!maxWidth) {
|
|
5407
|
+
maxWidth = measureCollapsingElementWidthPx(element);
|
|
5408
|
+
context.maxWidth = maxWidth;
|
|
5409
|
+
// Fix the width before starting the animation
|
|
5410
|
+
element.style.width = direction !== 'show' ? maxWidth : minimized ? '50px' : '0px';
|
|
5411
|
+
classList.remove('df-collapse');
|
|
5412
|
+
classList.remove('df-minimized'); // add
|
|
5413
|
+
classList.remove(dfcollapsingClass);
|
|
5414
|
+
classList.remove(dfminimizingClass);
|
|
5415
|
+
classList.remove('df-show');
|
|
5416
|
+
reflow(element);
|
|
5417
|
+
// Start the animation
|
|
5418
|
+
if (minimized) {
|
|
5419
|
+
classList.add(dfminimizingClass);
|
|
5420
|
+
}
|
|
5421
|
+
else {
|
|
5422
|
+
classList.add(dfcollapsingClass);
|
|
5423
|
+
}
|
|
5424
|
+
}
|
|
5425
|
+
// Start or revert the animation
|
|
5426
|
+
element.style.width = direction === 'show' ? maxWidth : minimized ? '50px' : '0px';
|
|
5427
|
+
return () => {
|
|
5428
|
+
setInitialClasses();
|
|
5429
|
+
classList.remove(dfcollapsingClass);
|
|
5430
|
+
classList.remove(dfminimizingClass);
|
|
5431
|
+
element.style.width = '';
|
|
5432
|
+
};
|
|
5433
|
+
};
|
|
5434
|
+
|
|
5435
|
+
/**
|
|
5436
|
+
* A directive to provide a simple way of hiding and showing the sideNav on the page.
|
|
5741
5437
|
*/
|
|
5742
|
-
class
|
|
5438
|
+
class DfSideNavCollapseDirective {
|
|
5743
5439
|
constructor() {
|
|
5744
|
-
this.tooltip = inject(NgbTooltip);
|
|
5745
|
-
this.elementRef = inject(ElementRef);
|
|
5746
|
-
this.renderer = inject(Renderer2);
|
|
5747
5440
|
/**
|
|
5748
|
-
*
|
|
5749
|
-
* @defaultValue ''
|
|
5441
|
+
* If `true`, will collapse the element or show it otherwise.
|
|
5750
5442
|
*/
|
|
5751
|
-
this.
|
|
5443
|
+
this.dfSideNavCollapse = input.required(...(ngDevMode ? [{ debugName: "dfSideNavCollapse" }] : []));
|
|
5444
|
+
this.collapsed = signal(false, ...(ngDevMode ? [{ debugName: "collapsed" }] : []));
|
|
5445
|
+
this.minimized = input(false, ...(ngDevMode ? [{ debugName: "minimized" }] : []));
|
|
5446
|
+
this.dfSideNavCollapseChange = output();
|
|
5447
|
+
/**
|
|
5448
|
+
* An event emitted when the collapse element is shown, after the transition. It has no payload.
|
|
5449
|
+
*
|
|
5450
|
+
* @since 9.1.0
|
|
5451
|
+
*/
|
|
5452
|
+
this.shown = output();
|
|
5453
|
+
/**
|
|
5454
|
+
* An event emitted when the collapse element is hidden, after the transition. It has no payload.
|
|
5455
|
+
*
|
|
5456
|
+
* @since 9.1.0
|
|
5457
|
+
*/
|
|
5458
|
+
this.hidden = output();
|
|
5459
|
+
this.elementRef = inject(ElementRef);
|
|
5460
|
+
this.sideNavCollapseService = inject(DfSideNavCollapseService);
|
|
5461
|
+
this.zone = inject(NgZone);
|
|
5462
|
+
this.injector = inject(Injector);
|
|
5463
|
+
this.animation = false;
|
|
5464
|
+
effect(() => {
|
|
5465
|
+
this.collapsed.set(this.dfSideNavCollapse());
|
|
5466
|
+
});
|
|
5467
|
+
this.sideNavCollapseService.sideNavAnimation$.pipe(takeUntilDestroyed()).subscribe((value) => {
|
|
5468
|
+
this.animation = value;
|
|
5469
|
+
});
|
|
5752
5470
|
}
|
|
5753
5471
|
ngOnInit() {
|
|
5754
|
-
|
|
5472
|
+
let firstRun = true;
|
|
5473
|
+
effect(() => {
|
|
5474
|
+
const collapsed = this.collapsed();
|
|
5475
|
+
// we only track the collapsed signal
|
|
5476
|
+
untracked(() => {
|
|
5477
|
+
// first time the effect is run, we run the transition without triggering event emitters
|
|
5478
|
+
if (firstRun) {
|
|
5479
|
+
this.runTransition(collapsed, this.animation, this.minimized());
|
|
5480
|
+
}
|
|
5481
|
+
else {
|
|
5482
|
+
this.runTransitionWithEvents(collapsed, this.animation, this.minimized());
|
|
5483
|
+
}
|
|
5484
|
+
firstRun = false;
|
|
5485
|
+
});
|
|
5486
|
+
}, { injector: this.injector });
|
|
5755
5487
|
}
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5488
|
+
/**
|
|
5489
|
+
* Triggers collapsing programmatically.
|
|
5490
|
+
*
|
|
5491
|
+
* If there is a collapsing transition running already, it will be reversed.
|
|
5492
|
+
* If the animations are turned off this happens synchronously.
|
|
5493
|
+
*
|
|
5494
|
+
* @since 9.1.0
|
|
5495
|
+
*/
|
|
5496
|
+
toggle(open = this.collapsed()) {
|
|
5497
|
+
this.collapsed.set(!open);
|
|
5498
|
+
}
|
|
5499
|
+
runTransition(collapsed, animation, minimizedInput) {
|
|
5500
|
+
return ngbRunTransition(this.zone, this.elementRef.nativeElement, DfCollapsingTransition, {
|
|
5501
|
+
animation,
|
|
5502
|
+
runningTransition: 'stop',
|
|
5503
|
+
context: { direction: collapsed ? 'hide' : 'show', minimized: minimizedInput }
|
|
5504
|
+
});
|
|
5505
|
+
}
|
|
5506
|
+
runTransitionWithEvents(collapsed, animation, minimized) {
|
|
5507
|
+
this.runTransition(collapsed, animation, minimized).subscribe(() => {
|
|
5508
|
+
if (collapsed) {
|
|
5509
|
+
this.hidden.emit();
|
|
5510
|
+
}
|
|
5511
|
+
else {
|
|
5512
|
+
this.shown.emit();
|
|
5513
|
+
}
|
|
5514
|
+
});
|
|
5771
5515
|
}
|
|
5772
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5773
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
5516
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavCollapseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5517
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", 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 }); }
|
|
5774
5518
|
}
|
|
5775
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavCollapseDirective, decorators: [{
|
|
5776
5520
|
type: Directive,
|
|
5777
|
-
args: [{
|
|
5778
|
-
|
|
5779
|
-
selector: '[dfTooltipTruncate]'
|
|
5780
|
-
}]
|
|
5781
|
-
}] });
|
|
5521
|
+
args: [{ selector: '[dfSideNavCollapse]', exportAs: 'dfSideNavCollapse' }]
|
|
5522
|
+
}], ctorParameters: () => [], propDecorators: { dfSideNavCollapse: [{ type: i0.Input, args: [{ isSignal: true, alias: "dfSideNavCollapse", required: true }] }], minimized: [{ type: i0.Input, args: [{ isSignal: true, alias: "minimized", required: false }] }], dfSideNavCollapseChange: [{ type: i0.Output, args: ["dfSideNavCollapseChange"] }], shown: [{ type: i0.Output, args: ["shown"] }], hidden: [{ type: i0.Output, args: ["hidden"] }] } });
|
|
5782
5523
|
|
|
5783
|
-
class
|
|
5784
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5785
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5786
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5524
|
+
class DfSideNavCollapseModule {
|
|
5525
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavCollapseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5526
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavCollapseModule, imports: [DfSideNavCollapseDirective], exports: [DfSideNavCollapseDirective] }); }
|
|
5527
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavCollapseModule }); }
|
|
5787
5528
|
}
|
|
5788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavCollapseModule, decorators: [{
|
|
5789
5530
|
type: NgModule,
|
|
5790
5531
|
args: [{
|
|
5791
|
-
imports: [
|
|
5792
|
-
exports: [
|
|
5532
|
+
imports: [DfSideNavCollapseDirective],
|
|
5533
|
+
exports: [DfSideNavCollapseDirective]
|
|
5793
5534
|
}]
|
|
5794
5535
|
}] });
|
|
5795
5536
|
|
|
5796
5537
|
class DfSideNavModule {
|
|
5797
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5798
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5538
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5539
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavModule, imports: [DfManageSideNavDirective,
|
|
5799
5540
|
DfSideNavComponent,
|
|
5800
5541
|
DfSideNavHeaderDirective,
|
|
5801
5542
|
DfSideNavIconDirective,
|
|
@@ -5806,10 +5547,10 @@ class DfSideNavModule {
|
|
|
5806
5547
|
DfSideNavItemDirective,
|
|
5807
5548
|
DfSideNavCollapseModule,
|
|
5808
5549
|
DfMediaModule] }); }
|
|
5809
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5550
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavModule, imports: [DfSideNavCollapseModule,
|
|
5810
5551
|
DfMediaModule] }); }
|
|
5811
5552
|
}
|
|
5812
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5553
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfSideNavModule, decorators: [{
|
|
5813
5554
|
type: NgModule,
|
|
5814
5555
|
args: [{
|
|
5815
5556
|
imports: [
|
|
@@ -5872,10 +5613,10 @@ class DfManageCardSelectionDirective {
|
|
|
5872
5613
|
return;
|
|
5873
5614
|
}
|
|
5874
5615
|
}
|
|
5875
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5876
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
5616
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfManageCardSelectionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5617
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", 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 }); }
|
|
5877
5618
|
}
|
|
5878
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfManageCardSelectionDirective, decorators: [{
|
|
5879
5620
|
type: Directive,
|
|
5880
5621
|
args: [{
|
|
5881
5622
|
selector: '[dfManageCardSelected]',
|
|
@@ -5885,14 +5626,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
5885
5626
|
'[attr.tabindex]': '0'
|
|
5886
5627
|
}
|
|
5887
5628
|
}]
|
|
5888
|
-
}], ctorParameters: () => [] });
|
|
5629
|
+
}], ctorParameters: () => [], propDecorators: { dfManageCardSelected: [{ type: i0.Input, args: [{ isSignal: true, alias: "dfManageCardSelected", required: true }] }] } });
|
|
5889
5630
|
|
|
5890
5631
|
class DfAdvancedCardModule {
|
|
5891
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5892
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5893
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5632
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfAdvancedCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5633
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfAdvancedCardModule, imports: [DfManageCardSelectionDirective], exports: [DfManageCardSelectionDirective] }); }
|
|
5634
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfAdvancedCardModule }); }
|
|
5894
5635
|
}
|
|
5895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5636
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfAdvancedCardModule, decorators: [{
|
|
5896
5637
|
type: NgModule,
|
|
5897
5638
|
args: [{
|
|
5898
5639
|
imports: [DfManageCardSelectionDirective],
|
|
@@ -5910,7 +5651,6 @@ const DF_MODULES = [
|
|
|
5910
5651
|
DfAccessibilityModule,
|
|
5911
5652
|
DfSliderModule,
|
|
5912
5653
|
DfPopoverModule,
|
|
5913
|
-
DfIconModule,
|
|
5914
5654
|
DfTooltipModule,
|
|
5915
5655
|
DfSideNavModule,
|
|
5916
5656
|
DfSideNavCollapseModule,
|
|
@@ -5923,8 +5663,8 @@ const DF_MODULES = [
|
|
|
5923
5663
|
* @deprecated Import only the needed modules or use standalone components instead of DfModule
|
|
5924
5664
|
*/
|
|
5925
5665
|
class DfModule {
|
|
5926
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5927
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5666
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5667
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfModule, imports: [DfAlertModule,
|
|
5928
5668
|
DfDatePickerModule,
|
|
5929
5669
|
DfSelectModule,
|
|
5930
5670
|
DfProgressbarModule,
|
|
@@ -5933,7 +5673,6 @@ class DfModule {
|
|
|
5933
5673
|
DfAccessibilityModule,
|
|
5934
5674
|
DfSliderModule,
|
|
5935
5675
|
DfPopoverModule,
|
|
5936
|
-
DfIconModule,
|
|
5937
5676
|
DfTooltipModule,
|
|
5938
5677
|
DfSideNavModule,
|
|
5939
5678
|
DfSideNavCollapseModule,
|
|
@@ -5949,7 +5688,6 @@ class DfModule {
|
|
|
5949
5688
|
DfAccessibilityModule,
|
|
5950
5689
|
DfSliderModule,
|
|
5951
5690
|
DfPopoverModule,
|
|
5952
|
-
DfIconModule,
|
|
5953
5691
|
DfTooltipModule,
|
|
5954
5692
|
DfSideNavModule,
|
|
5955
5693
|
DfSideNavCollapseModule,
|
|
@@ -5957,7 +5695,7 @@ class DfModule {
|
|
|
5957
5695
|
DfFooterModule,
|
|
5958
5696
|
DfToastModule,
|
|
5959
5697
|
DfStepperModule] }); }
|
|
5960
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5698
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfModule, imports: [DF_MODULES, DfAlertModule,
|
|
5961
5699
|
DfDatePickerModule,
|
|
5962
5700
|
DfSelectModule,
|
|
5963
5701
|
DfProgressbarModule,
|
|
@@ -5966,7 +5704,6 @@ class DfModule {
|
|
|
5966
5704
|
DfAccessibilityModule,
|
|
5967
5705
|
DfSliderModule,
|
|
5968
5706
|
DfPopoverModule,
|
|
5969
|
-
DfIconModule,
|
|
5970
5707
|
DfTooltipModule,
|
|
5971
5708
|
DfSideNavModule,
|
|
5972
5709
|
DfSideNavCollapseModule,
|
|
@@ -5975,7 +5712,7 @@ class DfModule {
|
|
|
5975
5712
|
DfToastModule,
|
|
5976
5713
|
DfStepperModule] }); }
|
|
5977
5714
|
}
|
|
5978
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5715
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfModule, decorators: [{
|
|
5979
5716
|
type: NgModule,
|
|
5980
5717
|
args: [{
|
|
5981
5718
|
imports: DF_MODULES,
|
|
@@ -5983,153 +5720,187 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
5983
5720
|
}]
|
|
5984
5721
|
}] });
|
|
5985
5722
|
|
|
5723
|
+
class DfOverflowService {
|
|
5724
|
+
/**
|
|
5725
|
+
* @param element the HTML element
|
|
5726
|
+
* @returns whether the element is overflowing
|
|
5727
|
+
*/
|
|
5728
|
+
hasOverflow(element) {
|
|
5729
|
+
return this.hasOverflowX(element) || this.hasOverflowY(element);
|
|
5730
|
+
}
|
|
5731
|
+
/**
|
|
5732
|
+
* @param element the HTML element
|
|
5733
|
+
* @returns whether the element is overflowing horizontally
|
|
5734
|
+
*/
|
|
5735
|
+
hasOverflowX(element) {
|
|
5736
|
+
return element.offsetWidth < element.scrollWidth;
|
|
5737
|
+
}
|
|
5738
|
+
/**
|
|
5739
|
+
* @param element the HTML element
|
|
5740
|
+
* @returns whether the element is overflowing vertically
|
|
5741
|
+
*/
|
|
5742
|
+
hasOverflowY(element) {
|
|
5743
|
+
return element.offsetHeight < element.scrollHeight;
|
|
5744
|
+
}
|
|
5745
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfOverflowService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5746
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfOverflowService, providedIn: 'root' }); }
|
|
5747
|
+
}
|
|
5748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfOverflowService, decorators: [{
|
|
5749
|
+
type: Injectable,
|
|
5750
|
+
args: [{
|
|
5751
|
+
providedIn: 'root'
|
|
5752
|
+
}]
|
|
5753
|
+
}] });
|
|
5754
|
+
|
|
5755
|
+
/**
|
|
5756
|
+
* DfTitleTruncate directive
|
|
5757
|
+
* It adds the title attribute with the element's textContent as value
|
|
5758
|
+
* when the element is truncated.
|
|
5759
|
+
*
|
|
5760
|
+
* @deprecated Use the bootstrap class text-truncate or CSS property text-overflow: ellipsis instead
|
|
5761
|
+
*/
|
|
5762
|
+
class DfTitleTruncateDirective {
|
|
5763
|
+
constructor() {
|
|
5764
|
+
this.elementRef = inject((ElementRef));
|
|
5765
|
+
this.renderer = inject(Renderer2);
|
|
5766
|
+
this.overflowService = inject(DfOverflowService);
|
|
5767
|
+
}
|
|
5768
|
+
ngOnInit() {
|
|
5769
|
+
this.renderer.addClass(this.elementRef.nativeElement, 'text-truncate');
|
|
5770
|
+
}
|
|
5771
|
+
ngDoCheck() {
|
|
5772
|
+
const { nativeElement } = this.elementRef;
|
|
5773
|
+
const titleAttributeName = 'title';
|
|
5774
|
+
if (this.overflowService.hasOverflow(nativeElement)) {
|
|
5775
|
+
nativeElement.setAttribute(titleAttributeName, nativeElement.textContent);
|
|
5776
|
+
}
|
|
5777
|
+
else if (nativeElement.getAttribute(titleAttributeName)) {
|
|
5778
|
+
nativeElement.removeAttribute(titleAttributeName);
|
|
5779
|
+
}
|
|
5780
|
+
}
|
|
5781
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfTitleTruncateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5782
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: DfTitleTruncateDirective, isStandalone: true, selector: "[dfTitleTruncate]", exportAs: ["dfTitleTruncate"], ngImport: i0 }); }
|
|
5783
|
+
}
|
|
5784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfTitleTruncateDirective, decorators: [{
|
|
5785
|
+
type: Directive,
|
|
5786
|
+
args: [{
|
|
5787
|
+
exportAs: 'dfTitleTruncate',
|
|
5788
|
+
selector: '[dfTitleTruncate]'
|
|
5789
|
+
}]
|
|
5790
|
+
}] });
|
|
5791
|
+
|
|
5986
5792
|
const arrowRight = `<svg width="1440" height="810" viewBox="0 0 1440 810" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5987
|
-
<
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
<path d="
|
|
5991
|
-
|
|
5992
|
-
|
|
5993
|
-
<g opacity="0.5">
|
|
5994
|
-
<path
|
|
5995
|
-
d="M-194.045 87.9764C-178.381 87.9764 -163.118 90.9614 -148.685 96.8527C-133.733 102.95 -120.342 111.909 -108.875 123.478L108.614 342.909C120.014 354.41 128.842 367.798 134.845 382.693C140.647 397.085 143.59 412.288 143.59 427.876C143.59 443.465 140.65 458.668 134.845 473.06C128.842 487.955 120.014 501.343 108.614 512.844L-108.875 732.275C-120.342 743.844 -133.733 752.803 -148.685 758.9C-163.118 764.788 -178.381 767.776 -194.045 767.776C-209.708 767.776 -224.971 764.791 -239.405 758.9C-254.356 752.803 -267.747 743.844 -279.215 732.275L-496.703 512.844C-508.103 501.343 -516.931 487.955 -522.935 473.06C-528.736 458.668 -531.68 443.465 -531.68 427.876C-531.68 412.288 -528.74 397.085 -522.935 382.693C-516.931 367.798 -508.103 354.41 -496.703 342.909L-279.215 123.474C-267.747 111.905 -254.356 102.946 -239.405 96.8489C-224.971 90.9614 -209.708 87.9727 -194.045 87.9727M-194.045 86.4727C-225.286 86.4727 -256.527 98.4539 -280.28 122.416L-497.768 341.848C-544.981 389.48 -544.981 466.261 -497.768 513.898L-280.28 733.329C-256.527 757.291 -225.286 769.273 -194.045 769.273C-162.803 769.273 -131.562 757.291 -107.81 733.329L109.679 513.898C156.892 466.265 156.892 389.484 109.679 341.848L-107.81 122.42C-131.562 98.4577 -162.803 86.4764 -194.045 86.4764V86.4727Z"
|
|
5996
|
-
fill="var(--df-waves-of-progress-line-color)" />
|
|
5997
|
-
</g>
|
|
5998
|
-
<g opacity="0.5">
|
|
5999
|
-
<path
|
|
6000
|
-
d="M-189.938 -270.881C-167.412 -270.881 -145.463 -266.587 -124.703 -258.116C-103.204 -249.345 -83.9406 -236.463 -67.4518 -219.825L453.104 305.382C469.541 321.964 482.264 341.262 490.919 362.734C499.282 383.483 503.523 405.402 503.523 427.872C503.523 450.342 499.282 472.26 490.919 493.009C482.264 514.485 469.541 533.779 453.104 550.362L-67.4518 1075.58C-83.9406 1092.21 -103.204 1105.1 -124.703 1113.87C-145.463 1122.33 -167.412 1126.63 -189.938 1126.63C-212.464 1126.63 -234.413 1122.34 -255.173 1113.87C-276.672 1105.1 -295.936 1092.21 -312.424 1075.58L-832.981 550.365C-849.417 533.783 -862.141 514.485 -870.796 493.013C-879.158 472.264 -883.399 450.345 -883.399 427.875C-883.399 405.405 -879.158 383.487 -870.796 362.738C-862.141 341.262 -849.417 321.968 -832.981 305.385L-312.424 -219.825C-295.936 -236.463 -276.672 -249.345 -255.173 -258.116C-234.413 -266.583 -212.464 -270.881 -189.938 -270.881ZM-189.938 -272.381C-234.698 -272.381 -279.462 -255.213 -313.489 -220.882L-834.046 304.328C-901.849 372.739 -901.849 483.012 -834.046 551.423L-313.489 1076.63C-279.462 1110.96 -234.698 1128.13 -189.938 1128.13C-145.178 1128.13 -100.414 1110.96 -66.3868 1076.63L454.169 551.423C521.973 483.012 521.973 372.739 454.169 304.328L-66.3868 -220.882C-100.414 -255.213 -145.178 -272.381 -189.938 -272.381Z"
|
|
6001
|
-
fill="var(--df-waves-of-progress-line-color)" />
|
|
6002
|
-
</g>
|
|
6003
|
-
<g opacity="0.5">
|
|
6004
|
-
<path
|
|
6005
|
-
d="M-185.831 -629.736C-171.352 -629.736 -156.817 -628.334 -142.623 -625.574C-128.294 -622.784 -114.198 -618.584 -100.721 -613.086C-72.6708 -601.641 -47.5382 -584.834 -26.0245 -563.129L797.595 267.86C819.068 289.524 835.688 314.731 846.994 342.785C852.432 356.274 856.587 370.374 859.343 384.695C862.073 398.881 863.46 413.409 863.46 427.876C863.46 442.344 862.077 456.871 859.343 471.057C856.587 485.379 852.432 499.479 846.994 512.967C835.688 541.021 819.068 566.229 797.595 587.892L-26.0283 1418.88C-47.542 1440.58 -72.6744 1457.39 -100.724 1468.83C-114.202 1474.33 -128.298 1478.54 -142.627 1481.32C-156.817 1484.09 -171.356 1485.48 -185.834 1485.48C-200.313 1485.48 -214.848 1484.09 -229.042 1481.32C-243.371 1478.53 -257.467 1474.33 -270.944 1468.83C-298.994 1457.39 -324.127 1440.58 -345.641 1418.88L-1169.26 587.892C-1190.73 566.229 -1207.35 541.021 -1218.66 512.967C-1224.09 499.479 -1228.25 485.379 -1231 471.057C-1233.73 456.871 -1235.12 442.344 -1235.12 427.876C-1235.12 413.409 -1233.74 398.881 -1231 384.695C-1228.25 370.374 -1224.09 356.274 -1218.66 342.785C-1207.35 314.731 -1190.73 289.524 -1169.26 267.86L-345.633 -563.125C-324.12 -584.83 -298.991 -601.638 -270.937 -613.083C-257.459 -618.58 -243.363 -622.784 -229.034 -625.57C-214.844 -628.334 -200.306 -629.733 -185.827 -629.733M-185.827 -631.233C-244.109 -631.233 -302.388 -608.883 -346.694 -564.179L-1170.32 266.802C-1258.72 355.992 -1258.72 499.76 -1170.32 588.946L-346.698 1419.94C-302.392 1464.64 -244.109 1486.99 -185.831 1486.99C-127.552 1486.99 -69.2695 1464.64 -24.9633 1419.94L798.66 588.95C887.059 499.76 887.059 355.992 798.66 266.806L-24.9633 -564.183C-69.2695 -608.886 -127.552 -631.236 -185.831 -631.236L-185.827 -631.233Z"
|
|
6006
|
-
fill="var(--df-waves-of-progress-line-color)" />
|
|
6007
|
-
</g>
|
|
6008
|
-
<g opacity="0.5">
|
|
6009
|
-
<path
|
|
6010
|
-
d="M-181.725 -988.59C-163.868 -988.59 -145.935 -986.861 -128.43 -983.456C-110.757 -980.014 -93.3679 -974.831 -76.7441 -968.051C-42.1429 -953.936 -11.1416 -933.202 15.3934 -906.427L1142.08 230.336C1168.59 257.078 1189.11 288.199 1203.07 322.83C1209.78 339.484 1214.91 356.888 1218.31 374.569C1221.68 392.081 1223.39 410.017 1223.39 427.879C1223.39 445.74 1221.68 463.676 1218.31 481.189C1214.91 498.866 1209.78 516.274 1203.07 532.927C1189.11 567.559 1168.59 598.68 1142.08 625.421L15.3934 1762.18C-11.1453 1788.95 -42.1429 1809.69 -76.7441 1823.8C-93.3679 1830.58 -110.757 1835.77 -128.43 1839.21C-145.935 1842.61 -163.864 1844.34 -181.725 1844.34C-199.587 1844.34 -217.515 1842.61 -235.02 1839.21C-252.694 1835.77 -270.083 1830.58 -286.707 1823.8C-321.308 1809.69 -352.305 1788.95 -378.844 1762.18L-1505.54 625.414C-1532.04 598.672 -1552.56 567.551 -1566.52 532.92C-1573.23 516.266 -1578.36 498.862 -1581.76 481.181C-1585.13 463.669 -1586.84 445.733 -1586.84 427.871C-1586.84 410.01 -1585.13 392.074 -1581.76 374.561C-1578.36 356.884 -1573.23 339.476 -1566.52 322.823C-1552.56 288.191 -1532.04 257.07 -1505.54 230.329L-378.844 -906.427C-352.309 -933.202 -321.308 -953.936 -286.707 -968.051C-270.083 -974.831 -252.694 -980.018 -235.02 -983.456C-217.515 -986.865 -199.587 -988.59 -181.725 -988.59ZM-181.725 -990.09C-253.527 -990.09 -325.328 -962.554 -379.909 -907.481L-1506.6 229.279C-1615.59 339.244 -1615.59 516.506 -1506.6 626.471L-379.909 1763.23C-325.324 1818.31 -253.527 1845.84 -181.725 1845.84C-109.924 1845.84 -38.1229 1818.31 16.4584 1763.23L1143.15 626.471C1252.14 516.506 1252.14 339.244 1143.15 229.279L16.4584 -907.485C-38.1266 -962.557 -109.928 -990.094 -181.725 -990.094V-990.09Z"
|
|
6011
|
-
fill="var(--df-waves-of-progress-line-color)" />
|
|
6012
|
-
</g>
|
|
6013
|
-
<g opacity="0.5">
|
|
6014
|
-
<path
|
|
6015
|
-
d="M-177.619 -1347.45C-156.379 -1347.45 -135.053 -1345.39 -114.236 -1341.34C-93.2177 -1337.25 -72.5364 -1331.08 -52.7627 -1323.01C-32.6213 -1314.8 -13.2264 -1304.52 4.88977 -1292.48C23.4823 -1280.11 40.9536 -1265.73 56.8162 -1249.72L1486.57 192.811C1502.43 208.804 1516.67 226.377 1528.9 245.044C1540.83 263.24 1551.01 282.698 1559.14 302.877C1567.13 322.692 1573.23 343.407 1577.28 364.444C1581.3 385.283 1583.33 406.625 1583.33 427.88C1583.33 449.135 1581.3 470.476 1577.28 491.315C1573.23 512.352 1567.13 533.063 1559.14 552.882C1551.01 573.061 1540.84 592.516 1528.9 610.715C1516.67 629.382 1502.43 646.955 1486.57 662.948L56.8198 2105.48C40.9573 2121.48 23.4861 2135.87 4.89355 2148.23C-13.2227 2160.28 -32.6177 2170.55 -52.759 2178.77C-72.5289 2186.84 -93.2103 2193 -114.233 2197.09C-135.053 2201.15 -156.375 2203.2 -177.615 2203.2C-198.855 2203.2 -220.181 2201.15 -240.998 2197.09C-262.016 2193 -282.698 2186.84 -302.471 2178.77C-322.613 2170.55 -342.008 2160.28 -360.124 2148.23C-378.717 2135.87 -396.188 2121.48 -412.05 2105.48L-1841.81 662.941C-1857.66 646.947 -1871.9 629.375 -1884.14 610.707C-1896.07 592.512 -1906.24 573.053 -1914.38 552.875C-1922.36 533.059 -1928.47 512.345 -1932.52 491.307C-1936.53 470.468 -1938.57 449.127 -1938.57 427.872C-1938.57 406.617 -1936.53 385.276 -1932.52 364.437C-1928.47 343.399 -1922.36 322.688 -1914.38 302.87C-1906.24 282.691 -1896.07 263.236 -1884.14 245.037C-1871.9 226.37 -1857.66 208.797 -1841.81 192.803L-412.054 -1249.73C-396.192 -1265.73 -378.72 -1280.12 -360.128 -1292.48C-342.011 -1304.53 -322.617 -1314.8 -302.475 -1323.02C-282.705 -1331.08 -262.024 -1337.25 -241.001 -1341.34C-220.182 -1345.39 -198.859 -1347.45 -177.619 -1347.45M-177.619 -1348.95C-262.939 -1348.95 -348.259 -1316.23 -413.119 -1250.79L-1842.88 191.757C-1972.46 322.501 -1972.46 533.255 -1842.88 663.998L-413.119 2106.54C-348.259 2171.98 -262.939 2204.7 -177.619 2204.7C-92.299 2204.7 -6.979 2171.98 57.8811 2106.54L1487.64 663.995C1617.22 533.251 1617.22 322.497 1487.64 191.753L57.8848 -1250.78C-6.97534 -1316.22 -92.2953 -1348.95 -177.615 -1348.95L-177.619 -1348.95Z"
|
|
6016
|
-
fill="var(--df-waves-of-progress-line-color)" />
|
|
6017
|
-
</g>
|
|
5793
|
+
<g opacity="0.5" fill="black">
|
|
5794
|
+
<path d="M-194.045 87.9764C-178.381 87.9764 -163.118 90.9614 -148.685 96.8527C-133.733 102.95 -120.342 111.909 -108.875 123.478L108.614 342.909C120.014 354.41 128.842 367.798 134.845 382.693C140.647 397.085 143.59 412.288 143.59 427.876C143.59 443.465 140.65 458.668 134.845 473.06C128.842 487.955 120.014 501.343 108.614 512.844L-108.875 732.275C-120.342 743.844 -133.733 752.803 -148.685 758.9C-163.118 764.788 -178.381 767.776 -194.045 767.776C-209.708 767.776 -224.971 764.791 -239.405 758.9C-254.356 752.803 -267.747 743.844 -279.215 732.275L-496.703 512.844C-508.103 501.343 -516.931 487.955 -522.935 473.06C-528.736 458.668 -531.68 443.465 -531.68 427.876C-531.68 412.288 -528.74 397.085 -522.935 382.693C-516.931 367.798 -508.103 354.41 -496.703 342.909L-279.215 123.474C-267.747 111.905 -254.356 102.946 -239.405 96.8489C-224.971 90.9614 -209.708 87.9727 -194.045 87.9727M-194.045 86.4727C-225.286 86.4727 -256.527 98.4539 -280.28 122.416L-497.768 341.848C-544.981 389.48 -544.981 466.261 -497.768 513.898L-280.28 733.329C-256.527 757.291 -225.286 769.273 -194.045 769.273C-162.803 769.273 -131.562 757.291 -107.81 733.329L109.679 513.898C156.892 466.265 156.892 389.484 109.679 341.848L-107.81 122.42C-131.562 98.4577 -162.803 86.4764 -194.045 86.4764V86.4727Z"/>
|
|
5795
|
+
<path d="M-189.938 -270.881C-167.412 -270.881 -145.463 -266.587 -124.703 -258.116C-103.204 -249.345 -83.9406 -236.463 -67.4518 -219.825L453.104 305.382C469.541 321.964 482.264 341.262 490.919 362.734C499.282 383.483 503.523 405.402 503.523 427.872C503.523 450.342 499.282 472.26 490.919 493.009C482.264 514.485 469.541 533.779 453.104 550.362L-67.4518 1075.58C-83.9406 1092.21 -103.204 1105.1 -124.703 1113.87C-145.463 1122.33 -167.412 1126.63 -189.938 1126.63C-212.464 1126.63 -234.413 1122.34 -255.173 1113.87C-276.672 1105.1 -295.936 1092.21 -312.424 1075.58L-832.981 550.365C-849.417 533.783 -862.141 514.485 -870.796 493.013C-879.158 472.264 -883.399 450.345 -883.399 427.875C-883.399 405.405 -879.158 383.487 -870.796 362.738C-862.141 341.262 -849.417 321.968 -832.981 305.385L-312.424 -219.825C-295.936 -236.463 -276.672 -249.345 -255.173 -258.116C-234.413 -266.583 -212.464 -270.881 -189.938 -270.881ZM-189.938 -272.381C-234.698 -272.381 -279.462 -255.213 -313.489 -220.882L-834.046 304.328C-901.849 372.739 -901.849 483.012 -834.046 551.423L-313.489 1076.63C-279.462 1110.96 -234.698 1128.13 -189.938 1128.13C-145.178 1128.13 -100.414 1110.96 -66.3868 1076.63L454.169 551.423C521.973 483.012 521.973 372.739 454.169 304.328L-66.3868 -220.882C-100.414 -255.213 -145.178 -272.381 -189.938 -272.381Z"/>
|
|
5796
|
+
<path d="M-185.831 -629.736C-171.352 -629.736 -156.817 -628.334 -142.623 -625.574C-128.294 -622.784 -114.198 -618.584 -100.721 -613.086C-72.6708 -601.641 -47.5382 -584.834 -26.0245 -563.129L797.595 267.86C819.068 289.524 835.688 314.731 846.994 342.785C852.432 356.274 856.587 370.374 859.343 384.695C862.073 398.881 863.46 413.409 863.46 427.876C863.46 442.344 862.077 456.871 859.343 471.057C856.587 485.379 852.432 499.479 846.994 512.967C835.688 541.021 819.068 566.229 797.595 587.892L-26.0283 1418.88C-47.542 1440.58 -72.6744 1457.39 -100.724 1468.83C-114.202 1474.33 -128.298 1478.54 -142.627 1481.32C-156.817 1484.09 -171.356 1485.48 -185.834 1485.48C-200.313 1485.48 -214.848 1484.09 -229.042 1481.32C-243.371 1478.53 -257.467 1474.33 -270.944 1468.83C-298.994 1457.39 -324.127 1440.58 -345.641 1418.88L-1169.26 587.892C-1190.73 566.229 -1207.35 541.021 -1218.66 512.967C-1224.09 499.479 -1228.25 485.379 -1231 471.057C-1233.73 456.871 -1235.12 442.344 -1235.12 427.876C-1235.12 413.409 -1233.74 398.881 -1231 384.695C-1228.25 370.374 -1224.09 356.274 -1218.66 342.785C-1207.35 314.731 -1190.73 289.524 -1169.26 267.86L-345.633 -563.125C-324.12 -584.83 -298.991 -601.638 -270.937 -613.083C-257.459 -618.58 -243.363 -622.784 -229.034 -625.57C-214.844 -628.334 -200.306 -629.733 -185.827 -629.733M-185.827 -631.233C-244.109 -631.233 -302.388 -608.883 -346.694 -564.179L-1170.32 266.802C-1258.72 355.992 -1258.72 499.76 -1170.32 588.946L-346.698 1419.94C-302.392 1464.64 -244.109 1486.99 -185.831 1486.99C-127.552 1486.99 -69.2695 1464.64 -24.9633 1419.94L798.66 588.95C887.059 499.76 887.059 355.992 798.66 266.806L-24.9633 -564.183C-69.2695 -608.886 -127.552 -631.236 -185.831 -631.236L-185.827 -631.233Z"/>
|
|
5797
|
+
<path d="M-181.725 -988.59C-163.868 -988.59 -145.935 -986.861 -128.43 -983.456C-110.757 -980.014 -93.3679 -974.831 -76.7441 -968.051C-42.1429 -953.936 -11.1416 -933.202 15.3934 -906.427L1142.08 230.336C1168.59 257.078 1189.11 288.199 1203.07 322.83C1209.78 339.484 1214.91 356.888 1218.31 374.569C1221.68 392.081 1223.39 410.017 1223.39 427.879C1223.39 445.74 1221.68 463.676 1218.31 481.189C1214.91 498.866 1209.78 516.274 1203.07 532.927C1189.11 567.559 1168.59 598.68 1142.08 625.421L15.3934 1762.18C-11.1453 1788.95 -42.1429 1809.69 -76.7441 1823.8C-93.3679 1830.58 -110.757 1835.77 -128.43 1839.21C-145.935 1842.61 -163.864 1844.34 -181.725 1844.34C-199.587 1844.34 -217.515 1842.61 -235.02 1839.21C-252.694 1835.77 -270.083 1830.58 -286.707 1823.8C-321.308 1809.69 -352.305 1788.95 -378.844 1762.18L-1505.54 625.414C-1532.04 598.672 -1552.56 567.551 -1566.52 532.92C-1573.23 516.266 -1578.36 498.862 -1581.76 481.181C-1585.13 463.669 -1586.84 445.733 -1586.84 427.871C-1586.84 410.01 -1585.13 392.074 -1581.76 374.561C-1578.36 356.884 -1573.23 339.476 -1566.52 322.823C-1552.56 288.191 -1532.04 257.07 -1505.54 230.329L-378.844 -906.427C-352.309 -933.202 -321.308 -953.936 -286.707 -968.051C-270.083 -974.831 -252.694 -980.018 -235.02 -983.456C-217.515 -986.865 -199.587 -988.59 -181.725 -988.59ZM-181.725 -990.09C-253.527 -990.09 -325.328 -962.554 -379.909 -907.481L-1506.6 229.279C-1615.59 339.244 -1615.59 516.506 -1506.6 626.471L-379.909 1763.23C-325.324 1818.31 -253.527 1845.84 -181.725 1845.84C-109.924 1845.84 -38.1229 1818.31 16.4584 1763.23L1143.15 626.471C1252.14 516.506 1252.14 339.244 1143.15 229.279L16.4584 -907.485C-38.1266 -962.557 -109.928 -990.094 -181.725 -990.094V-990.09Z"/>
|
|
5798
|
+
<path d="M-177.619 -1347.45C-156.379 -1347.45 -135.053 -1345.39 -114.236 -1341.34C-93.2177 -1337.25 -72.5364 -1331.08 -52.7627 -1323.01C-32.6213 -1314.8 -13.2264 -1304.52 4.88977 -1292.48C23.4823 -1280.11 40.9536 -1265.73 56.8162 -1249.72L1486.57 192.811C1502.43 208.804 1516.67 226.377 1528.9 245.044C1540.83 263.24 1551.01 282.698 1559.14 302.877C1567.13 322.692 1573.23 343.407 1577.28 364.444C1581.3 385.283 1583.33 406.625 1583.33 427.88C1583.33 449.135 1581.3 470.476 1577.28 491.315C1573.23 512.352 1567.13 533.063 1559.14 552.882C1551.01 573.061 1540.84 592.516 1528.9 610.715C1516.67 629.382 1502.43 646.955 1486.57 662.948L56.8198 2105.48C40.9573 2121.48 23.4861 2135.87 4.89355 2148.23C-13.2227 2160.28 -32.6177 2170.55 -52.759 2178.77C-72.5289 2186.84 -93.2103 2193 -114.233 2197.09C-135.053 2201.15 -156.375 2203.2 -177.615 2203.2C-198.855 2203.2 -220.181 2201.15 -240.998 2197.09C-262.016 2193 -282.698 2186.84 -302.471 2178.77C-322.613 2170.55 -342.008 2160.28 -360.124 2148.23C-378.717 2135.87 -396.188 2121.48 -412.05 2105.48L-1841.81 662.941C-1857.66 646.947 -1871.9 629.375 -1884.14 610.707C-1896.07 592.512 -1906.24 573.053 -1914.38 552.875C-1922.36 533.059 -1928.47 512.345 -1932.52 491.307C-1936.53 470.468 -1938.57 449.127 -1938.57 427.872C-1938.57 406.617 -1936.53 385.276 -1932.52 364.437C-1928.47 343.399 -1922.36 322.688 -1914.38 302.87C-1906.24 282.691 -1896.07 263.236 -1884.14 245.037C-1871.9 226.37 -1857.66 208.797 -1841.81 192.803L-412.054 -1249.73C-396.192 -1265.73 -378.72 -1280.12 -360.128 -1292.48C-342.011 -1304.53 -322.617 -1314.8 -302.475 -1323.02C-282.705 -1331.08 -262.024 -1337.25 -241.001 -1341.34C-220.182 -1345.39 -198.859 -1347.45 -177.619 -1347.45M-177.619 -1348.95C-262.939 -1348.95 -348.259 -1316.23 -413.119 -1250.79L-1842.88 191.757C-1972.46 322.501 -1972.46 533.255 -1842.88 663.998L-413.119 2106.54C-348.259 2171.98 -262.939 2204.7 -177.619 2204.7C-92.299 2204.7 -6.979 2171.98 57.8811 2106.54L1487.64 663.995C1617.22 533.251 1617.22 322.497 1487.64 191.753L57.8848 -1250.78C-6.97534 -1316.22 -92.2953 -1348.95 -177.615 -1348.95L-177.619 -1348.95Z"/>
|
|
6018
5799
|
</g>
|
|
6019
5800
|
</svg>`;
|
|
6020
|
-
const arrowUp = `<svg width="1440" height="810" viewBox="0 0 1440 810" fill="none" xmlns="http://www.w3.org/2000/svg"
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
<path d="
|
|
6026
|
-
|
|
6027
|
-
<g mask="url(#mask0_3040_1593)">
|
|
6028
|
-
<g opacity="0.5">
|
|
6029
|
-
<path
|
|
6030
|
-
d="M719.999 657.957C734.969 657.957 749.039 663.785 759.626 674.371L894.078 808.823C904.661 819.41 910.492 833.48 910.492 848.45C910.492 863.42 904.664 877.49 894.078 888.076L759.626 1022.53C749.043 1033.11 734.969 1038.94 719.999 1038.94C705.029 1038.94 690.959 1033.11 680.373 1022.53L545.921 888.076C535.338 877.493 529.507 863.42 529.507 848.45C529.507 833.48 535.334 819.41 545.921 808.823L680.373 674.371C690.956 663.788 705.029 657.957 719.999 657.957ZM719.999 656.457C705.273 656.457 690.547 662.075 679.312 673.31L544.859 807.762C522.389 830.232 522.389 866.663 544.859 889.133L679.312 1023.59C690.547 1034.82 705.273 1040.44 719.999 1040.44C734.725 1040.44 749.452 1034.82 760.687 1023.59L895.139 889.133C917.609 866.663 917.609 830.232 895.139 807.762L760.687 673.31C749.452 662.075 734.725 656.457 719.999 656.457Z"
|
|
6031
|
-
fill="var(--df-waves-of-progress-line-color)" />
|
|
6032
|
-
</g>
|
|
6033
|
-
<g opacity="0.5">
|
|
6034
|
-
<path
|
|
6035
|
-
d="M720 373.762C732.367 373.762 744.423 376.109 755.831 380.733C767.643 385.522 778.241 392.56 787.331 401.65L1166.8 781.117C1175.89 790.207 1182.93 800.804 1187.71 812.617C1192.34 824.024 1194.69 836.08 1194.69 848.448C1194.69 860.815 1192.34 872.872 1187.71 884.279C1182.93 896.092 1175.89 906.689 1166.8 915.779L787.331 1295.25C778.241 1304.34 767.643 1311.37 755.831 1316.16C744.423 1320.79 732.367 1323.13 720 1323.13C707.632 1323.13 695.576 1320.79 684.168 1316.16C672.356 1311.37 661.758 1304.34 652.668 1295.25L273.202 915.779C264.112 906.689 257.073 896.092 252.285 884.279C247.657 872.872 245.313 860.815 245.313 848.448C245.313 836.08 247.661 824.024 252.285 812.617C257.073 800.804 264.112 790.207 273.202 781.117L652.668 401.65C661.758 392.56 672.356 385.522 684.168 380.733C695.576 376.105 707.632 373.762 720 373.762ZM720 372.262C695.246 372.262 670.492 381.704 651.607 400.589L272.141 780.055C234.367 817.829 234.367 879.07 272.141 916.84L651.607 1296.31C670.492 1315.19 695.246 1324.63 720 1324.63C744.753 1324.63 769.507 1315.19 788.392 1296.31L1167.86 916.84C1205.63 879.067 1205.63 817.825 1167.86 780.055L788.392 400.589C769.507 381.704 744.753 372.262 720 372.262Z"
|
|
6036
|
-
fill="var(--df-waves-of-progress-line-color)" />
|
|
6037
|
-
</g>
|
|
6038
|
-
<g opacity="0.5">
|
|
6039
|
-
<path
|
|
6040
|
-
d="M720 89.5645C737.456 89.5645 754.474 92.8757 770.576 99.4044C787.249 106.166 802.207 116.099 815.036 128.928L1439.52 753.408C1452.35 766.241 1462.28 781.199 1469.04 797.868C1475.57 813.971 1478.88 830.988 1478.88 848.444C1478.88 865.901 1475.57 882.918 1469.04 899.021C1462.28 915.693 1452.34 930.652 1439.52 943.481L815.036 1567.96C802.207 1580.79 787.245 1590.72 770.576 1597.48C754.474 1604.01 737.456 1607.32 720 1607.32C702.544 1607.32 685.526 1604.01 669.424 1597.48C652.751 1590.72 637.792 1580.79 624.964 1567.96L0.483578 943.481C-12.3489 930.648 -22.2789 915.689 -29.0402 899.021C-35.5689 882.918 -38.8802 865.901 -38.8802 848.444C-38.8802 830.988 -35.5689 813.971 -29.0402 797.868C-22.2789 781.196 -12.3452 766.237 0.483578 753.408L624.964 128.928C637.796 116.096 652.755 106.166 669.424 99.4044C685.526 92.8757 702.544 89.5645 720 89.5645ZM720 88.0645C685.219 88.0645 650.437 101.332 623.898 127.871L-0.581409 752.351C-53.6552 805.424 -53.6552 891.476 -0.581409 944.549L623.898 1569.03C650.437 1595.57 685.219 1608.84 720 1608.84C754.781 1608.84 789.562 1595.57 816.101 1569.03L1440.58 944.549C1493.65 891.476 1493.65 805.424 1440.58 752.351L816.101 127.871C789.562 101.332 754.781 88.0645 720 88.0645Z"
|
|
6041
|
-
fill="var(--df-waves-of-progress-line-color)" />
|
|
6042
|
-
</g>
|
|
6043
|
-
<g opacity="0.5">
|
|
6044
|
-
<path
|
|
6045
|
-
d="M719.999 -194.633C742.544 -194.633 764.523 -190.358 785.32 -181.92C806.853 -173.19 826.173 -160.358 842.744 -143.787L1712.24 725.707C1728.81 742.278 1741.64 761.598 1750.37 783.131C1758.81 803.928 1763.08 825.907 1763.08 848.452C1763.08 870.997 1758.81 892.976 1750.37 913.773C1741.64 935.306 1728.81 954.626 1712.24 971.197L842.744 1840.69C826.173 1857.26 806.853 1870.09 785.32 1878.82C764.523 1887.26 742.544 1891.53 719.999 1891.53C697.454 1891.53 675.475 1887.26 654.678 1878.82C633.145 1870.09 613.825 1857.26 597.254 1840.69L-272.24 971.197C-288.811 954.626 -301.64 935.306 -310.373 913.773C-318.807 892.976 -323.086 870.997 -323.086 848.452C-323.086 825.907 -318.811 803.928 -310.373 783.131C-301.643 761.598 -288.811 742.278 -272.24 725.707L597.254 -143.79C613.825 -160.362 633.145 -173.19 654.678 -181.924C675.475 -190.358 697.454 -194.637 719.999 -194.637M719.999 -196.137C675.19 -196.137 630.382 -179.044 596.193 -144.855L-273.301 724.642C-341.678 793.02 -341.678 903.877 -273.301 972.255L596.193 1841.75C630.382 1875.94 675.19 1893.03 719.999 1893.03C764.808 1893.03 809.617 1875.94 843.805 1841.75L1713.3 972.255C1781.68 903.877 1781.68 793.02 1713.3 724.642L843.809 -144.852C809.62 -179.04 764.812 -196.133 720.003 -196.133L719.999 -196.137Z"
|
|
6046
|
-
fill="var(--df-waves-of-progress-line-color)" />
|
|
6047
|
-
</g>
|
|
6048
|
-
<g opacity="0.5">
|
|
6049
|
-
<path
|
|
6050
|
-
d="M720 -478.83C733.616 -478.83 747.288 -477.521 760.638 -474.934C774.116 -472.324 787.38 -468.394 800.066 -463.249C826.458 -452.546 850.14 -436.819 870.45 -416.509L1984.96 697.999C2005.27 718.309 2020.99 741.99 2031.7 768.382C2036.84 781.069 2040.77 794.332 2043.38 807.81C2045.97 821.16 2047.28 834.832 2047.28 848.449C2047.28 862.065 2045.97 875.737 2043.38 889.087C2040.77 902.565 2036.84 915.829 2031.7 928.515C2020.99 954.907 2005.27 978.589 1984.96 998.902L870.45 2113.41C850.14 2133.72 826.458 2149.45 800.066 2160.15C787.38 2165.29 774.116 2169.22 760.638 2171.83C747.288 2174.42 733.616 2175.73 720 2175.73C706.383 2175.73 692.711 2174.42 679.361 2171.83C665.883 2169.22 652.62 2165.29 639.933 2160.15C613.541 2149.45 589.859 2133.72 569.546 2113.41L-544.962 998.902C-565.272 978.592 -580.999 954.911 -591.702 928.515C-596.847 915.829 -600.777 902.565 -603.387 889.087C-605.97 875.737 -607.283 862.065 -607.283 848.449C-607.283 834.832 -605.974 821.16 -603.387 807.81C-600.777 794.332 -596.847 781.069 -591.702 768.382C-580.999 741.99 -565.272 718.309 -544.962 697.999L569.55 -416.509C589.86 -436.819 613.541 -452.546 639.937 -463.249C652.623 -468.394 665.887 -472.324 679.365 -474.934C692.715 -477.518 706.387 -478.83 720.003 -478.83M720.003 -480.33C665.167 -480.33 610.331 -459.409 568.488 -417.57L-546.019 696.937C-629.697 780.615 -629.697 916.286 -546.019 999.964L568.488 2114.47C610.327 2156.31 665.163 2177.23 720.003 2177.23C774.843 2177.23 829.676 2156.31 871.518 2114.47L1986.03 999.964C2069.7 916.286 2069.7 780.615 1986.03 696.937L871.515 -417.57C829.676 -459.409 774.84 -480.33 720 -480.33H720.003Z"
|
|
6051
|
-
fill="var(--df-waves-of-progress-line-color)" />
|
|
6052
|
-
</g>
|
|
5801
|
+
const arrowUp = `<svg width="1440" height="810" viewBox="0 0 1440 810" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5802
|
+
<g opacity="0.5" fill="black">
|
|
5803
|
+
<path d="M719.999 657.957C734.969 657.957 749.039 663.785 759.626 674.371L894.078 808.823C904.661 819.41 910.492 833.48 910.492 848.45C910.492 863.42 904.664 877.49 894.078 888.076L759.626 1022.53C749.043 1033.11 734.969 1038.94 719.999 1038.94C705.029 1038.94 690.959 1033.11 680.373 1022.53L545.921 888.076C535.338 877.493 529.507 863.42 529.507 848.45C529.507 833.48 535.334 819.41 545.921 808.823L680.373 674.371C690.956 663.788 705.029 657.957 719.999 657.957ZM719.999 656.457C705.273 656.457 690.547 662.075 679.312 673.31L544.859 807.762C522.389 830.232 522.389 866.663 544.859 889.133L679.312 1023.59C690.547 1034.82 705.273 1040.44 719.999 1040.44C734.725 1040.44 749.452 1034.82 760.687 1023.59L895.139 889.133C917.609 866.663 917.609 830.232 895.139 807.762L760.687 673.31C749.452 662.075 734.725 656.457 719.999 656.457Z"/>
|
|
5804
|
+
<path d="M720 373.762C732.367 373.762 744.423 376.109 755.831 380.733C767.643 385.522 778.241 392.56 787.331 401.65L1166.8 781.117C1175.89 790.207 1182.93 800.804 1187.71 812.617C1192.34 824.024 1194.69 836.08 1194.69 848.448C1194.69 860.815 1192.34 872.872 1187.71 884.279C1182.93 896.092 1175.89 906.689 1166.8 915.779L787.331 1295.25C778.241 1304.34 767.643 1311.37 755.831 1316.16C744.423 1320.79 732.367 1323.13 720 1323.13C707.632 1323.13 695.576 1320.79 684.168 1316.16C672.356 1311.37 661.758 1304.34 652.668 1295.25L273.202 915.779C264.112 906.689 257.073 896.092 252.285 884.279C247.657 872.872 245.313 860.815 245.313 848.448C245.313 836.08 247.661 824.024 252.285 812.617C257.073 800.804 264.112 790.207 273.202 781.117L652.668 401.65C661.758 392.56 672.356 385.522 684.168 380.733C695.576 376.105 707.632 373.762 720 373.762ZM720 372.262C695.246 372.262 670.492 381.704 651.607 400.589L272.141 780.055C234.367 817.829 234.367 879.07 272.141 916.84L651.607 1296.31C670.492 1315.19 695.246 1324.63 720 1324.63C744.753 1324.63 769.507 1315.19 788.392 1296.31L1167.86 916.84C1205.63 879.067 1205.63 817.825 1167.86 780.055L788.392 400.589C769.507 381.704 744.753 372.262 720 372.262Z"/>
|
|
5805
|
+
<path d="M720 89.5645C737.456 89.5645 754.474 92.8757 770.576 99.4044C787.249 106.166 802.207 116.099 815.036 128.928L1439.52 753.408C1452.35 766.241 1462.28 781.199 1469.04 797.868C1475.57 813.971 1478.88 830.988 1478.88 848.444C1478.88 865.901 1475.57 882.918 1469.04 899.021C1462.28 915.693 1452.34 930.652 1439.52 943.481L815.036 1567.96C802.207 1580.79 787.245 1590.72 770.576 1597.48C754.474 1604.01 737.456 1607.32 720 1607.32C702.544 1607.32 685.526 1604.01 669.424 1597.48C652.751 1590.72 637.792 1580.79 624.964 1567.96L0.483578 943.481C-12.3489 930.648 -22.2789 915.689 -29.0402 899.021C-35.5689 882.918 -38.8802 865.901 -38.8802 848.444C-38.8802 830.988 -35.5689 813.971 -29.0402 797.868C-22.2789 781.196 -12.3452 766.237 0.483578 753.408L624.964 128.928C637.796 116.096 652.755 106.166 669.424 99.4044C685.526 92.8757 702.544 89.5645 720 89.5645ZM720 88.0645C685.219 88.0645 650.437 101.332 623.898 127.871L-0.581409 752.351C-53.6552 805.424 -53.6552 891.476 -0.581409 944.549L623.898 1569.03C650.437 1595.57 685.219 1608.84 720 1608.84C754.781 1608.84 789.562 1595.57 816.101 1569.03L1440.58 944.549C1493.65 891.476 1493.65 805.424 1440.58 752.351L816.101 127.871C789.562 101.332 754.781 88.0645 720 88.0645Z"/>
|
|
5806
|
+
<path d="M719.999 -194.633C742.544 -194.633 764.523 -190.358 785.32 -181.92C806.853 -173.19 826.173 -160.358 842.744 -143.787L1712.24 725.707C1728.81 742.278 1741.64 761.598 1750.37 783.131C1758.81 803.928 1763.08 825.907 1763.08 848.452C1763.08 870.997 1758.81 892.976 1750.37 913.773C1741.64 935.306 1728.81 954.626 1712.24 971.197L842.744 1840.69C826.173 1857.26 806.853 1870.09 785.32 1878.82C764.523 1887.26 742.544 1891.53 719.999 1891.53C697.454 1891.53 675.475 1887.26 654.678 1878.82C633.145 1870.09 613.825 1857.26 597.254 1840.69L-272.24 971.197C-288.811 954.626 -301.64 935.306 -310.373 913.773C-318.807 892.976 -323.086 870.997 -323.086 848.452C-323.086 825.907 -318.811 803.928 -310.373 783.131C-301.643 761.598 -288.811 742.278 -272.24 725.707L597.254 -143.79C613.825 -160.362 633.145 -173.19 654.678 -181.924C675.475 -190.358 697.454 -194.637 719.999 -194.637M719.999 -196.137C675.19 -196.137 630.382 -179.044 596.193 -144.855L-273.301 724.642C-341.678 793.02 -341.678 903.877 -273.301 972.255L596.193 1841.75C630.382 1875.94 675.19 1893.03 719.999 1893.03C764.808 1893.03 809.617 1875.94 843.805 1841.75L1713.3 972.255C1781.68 903.877 1781.68 793.02 1713.3 724.642L843.809 -144.852C809.62 -179.04 764.812 -196.133 720.003 -196.133L719.999 -196.137Z"/>
|
|
5807
|
+
<path d="M720 -478.83C733.616 -478.83 747.288 -477.521 760.638 -474.934C774.116 -472.324 787.38 -468.394 800.066 -463.249C826.458 -452.546 850.14 -436.819 870.45 -416.509L1984.96 697.999C2005.27 718.309 2020.99 741.99 2031.7 768.382C2036.84 781.069 2040.77 794.332 2043.38 807.81C2045.97 821.16 2047.28 834.832 2047.28 848.449C2047.28 862.065 2045.97 875.737 2043.38 889.087C2040.77 902.565 2036.84 915.829 2031.7 928.515C2020.99 954.907 2005.27 978.589 1984.96 998.902L870.45 2113.41C850.14 2133.72 826.458 2149.45 800.066 2160.15C787.38 2165.29 774.116 2169.22 760.638 2171.83C747.288 2174.42 733.616 2175.73 720 2175.73C706.383 2175.73 692.711 2174.42 679.361 2171.83C665.883 2169.22 652.62 2165.29 639.933 2160.15C613.541 2149.45 589.859 2133.72 569.546 2113.41L-544.962 998.902C-565.272 978.592 -580.999 954.911 -591.702 928.515C-596.847 915.829 -600.777 902.565 -603.387 889.087C-605.97 875.737 -607.283 862.065 -607.283 848.449C-607.283 834.832 -605.974 821.16 -603.387 807.81C-600.777 794.332 -596.847 781.069 -591.702 768.382C-580.999 741.99 -565.272 718.309 -544.962 697.999L569.55 -416.509C589.86 -436.819 613.541 -452.546 639.937 -463.249C652.623 -468.394 665.887 -472.324 679.365 -474.934C692.715 -477.518 706.387 -478.83 720.003 -478.83M720.003 -480.33C665.167 -480.33 610.331 -459.409 568.488 -417.57L-546.019 696.937C-629.697 780.615 -629.697 916.286 -546.019 999.964L568.488 2114.47C610.327 2156.31 665.163 2177.23 720.003 2177.23C774.843 2177.23 829.676 2156.31 871.518 2114.47L1986.03 999.964C2069.7 916.286 2069.7 780.615 1986.03 696.937L871.515 -417.57C829.676 -459.409 774.84 -480.33 720 -480.33H720.003Z"/>
|
|
6053
5808
|
</g>
|
|
6054
5809
|
</svg>`;
|
|
6055
5810
|
const circleDiagonal = `<svg width="1440" height="810" viewBox="0 0 1440 810" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
6056
|
-
<
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
<path d="
|
|
6060
|
-
|
|
6061
|
-
<g mask="url(#mask0_3174_5204)">
|
|
6062
|
-
<g opacity="0.5">
|
|
6063
|
-
<path
|
|
6064
|
-
d="M-11.2496 -175.631C11.4491 -175.631 33.4691 -171.187 54.1954 -162.42C74.2166 -153.952 92.1979 -141.828 107.64 -126.386C123.083 -110.943 135.207 -92.9621 143.674 -72.9408C152.442 -52.2146 156.885 -30.1946 156.885 -7.49585C156.885 15.2029 152.442 37.2229 143.674 57.9491C135.207 77.9704 123.083 95.9517 107.64 111.394C92.1979 126.837 74.2166 138.96 54.1954 147.428C33.4691 156.195 11.4491 160.639 -11.2496 160.639C-33.9484 160.639 -55.9684 156.195 -76.6946 147.428C-96.7159 138.96 -114.697 126.837 -130.14 111.394C-145.582 95.9517 -157.706 77.9704 -166.173 57.9491C-174.941 37.2229 -179.385 15.2029 -179.385 -7.49585C-179.385 -30.1946 -174.941 -52.2146 -166.173 -72.9408C-157.706 -92.9621 -145.582 -110.943 -130.14 -126.386C-114.697 -141.828 -96.7159 -153.952 -76.6946 -162.42C-55.9684 -171.187 -33.9484 -175.631 -11.2496 -175.631ZM-11.2496 -177.131C-104.936 -177.131 -180.881 -101.182 -180.881 -7.4996C-180.881 86.1829 -104.936 162.132 -11.2496 162.132C82.4366 162.132 158.382 86.1866 158.382 -7.4996C158.382 -101.186 82.4366 -177.131 -11.2496 -177.131Z"
|
|
6065
|
-
fill="var(--df-waves-of-progress-line-color)" />
|
|
6066
|
-
</g>
|
|
6067
|
-
<g opacity="0.5">
|
|
6068
|
-
<path
|
|
6069
|
-
d="M-33.7277 -324.273C3.13483 -324.273 39.9748 -321.236 75.7648 -315.243C110.644 -309.405 144.952 -300.69 177.735 -289.342C209.921 -278.205 240.96 -264.416 269.996 -248.366C298.751 -232.47 325.789 -214.218 350.359 -194.111C374.925 -174.011 397.226 -151.893 416.644 -128.377C436.241 -104.64 453.075 -79.2672 466.672 -52.9609C480.517 -26.1747 491.152 1.85281 498.277 30.3491C505.59 59.584 509.295 89.6703 509.295 119.779C509.295 149.888 505.586 179.974 498.277 209.209C491.152 237.702 480.517 265.733 466.672 292.519C453.075 318.825 436.241 344.198 416.644 367.935C397.226 391.452 374.925 413.569 350.359 433.669C325.789 453.773 298.747 472.028 269.996 487.924C240.96 503.974 209.921 517.759 177.735 528.9C144.952 540.248 110.644 548.959 75.7648 554.802C39.9711 560.794 3.13483 563.832 -33.7277 563.832C-70.5902 563.832 -107.43 560.794 -143.22 554.802C-178.099 548.963 -212.408 540.248 -245.19 528.9C-277.376 517.763 -308.415 503.978 -337.451 487.924C-366.206 472.028 -393.244 453.777 -417.814 433.669C-442.38 413.569 -464.681 391.452 -484.099 367.935C-503.696 344.198 -520.53 318.825 -534.128 292.519C-547.973 265.733 -558.608 237.705 -565.733 209.209C-573.045 179.974 -576.75 149.888 -576.75 119.779C-576.75 89.6703 -573.041 59.584 -565.733 30.3491C-558.608 1.85654 -547.973 -26.1747 -534.128 -52.9609C-520.53 -79.2672 -503.696 -104.64 -484.099 -128.377C-464.681 -151.893 -442.38 -174.011 -417.814 -194.111C-393.244 -214.215 -366.203 -232.47 -337.451 -248.366C-308.415 -264.416 -277.376 -278.201 -245.19 -289.342C-212.408 -300.69 -178.099 -309.401 -143.22 -315.243C-107.426 -321.236 -70.5902 -324.273 -33.7277 -324.273ZM-33.7277 -325.773C-334.463 -325.773 -578.254 -126.292 -578.254 119.779C-578.254 365.85 -334.463 565.328 -33.7277 565.328C267.007 565.328 510.799 365.847 510.799 119.775C510.799 -126.296 267.004 -325.773 -33.7277 -325.773Z"
|
|
6070
|
-
fill="var(--df-waves-of-progress-line-color)" />
|
|
6071
|
-
</g>
|
|
6072
|
-
<g opacity="0.5">
|
|
6073
|
-
<path
|
|
6074
|
-
d="M-56.2076 -472.916C6.09485 -472.916 68.3561 -467.992 128.851 -458.276C187.805 -448.811 245.791 -434.685 301.201 -416.295C355.602 -398.239 408.069 -375.892 457.149 -349.875C505.756 -324.109 551.461 -294.517 592.996 -261.922C634.524 -229.335 672.226 -193.477 705.053 -155.347C738.188 -116.861 766.647 -75.716 789.639 -33.0635C813.05 10.3727 831.031 55.8227 843.08 102.03C855.443 149.438 861.71 198.229 861.71 247.054C861.71 295.879 855.44 344.67 843.08 392.078C831.031 438.285 813.05 483.735 789.639 527.171C766.647 569.828 738.188 610.969 705.053 649.455C672.226 687.585 634.524 723.443 592.996 756.03C551.461 788.625 505.752 818.216 457.149 843.983C408.069 870 355.602 892.347 301.201 910.403C245.791 928.793 187.805 942.919 128.851 952.384C68.3561 962.096 6.09485 967.024 -56.2076 967.024C-118.51 967.024 -180.771 962.1 -241.266 952.384C-300.22 942.919 -358.206 928.793 -413.616 910.403C-468.018 892.347 -520.484 870 -569.564 843.983C-618.171 818.216 -663.876 788.625 -705.411 756.03C-746.939 723.443 -784.641 687.585 -817.469 649.455C-850.604 610.969 -879.063 569.824 -902.054 527.171C-925.465 483.735 -943.446 438.285 -955.495 392.078C-967.859 344.67 -974.125 295.879 -974.125 247.054C-974.125 198.229 -967.855 149.438 -955.495 102.03C-943.446 55.8227 -925.465 10.3727 -902.054 -33.0635C-879.063 -75.7198 -850.604 -116.861 -817.469 -155.347C-784.641 -193.477 -746.939 -229.335 -705.411 -261.922C-663.876 -294.514 -618.168 -324.109 -569.564 -349.875C-520.484 -375.892 -468.018 -398.239 -413.616 -416.295C-358.206 -434.685 -300.22 -448.811 -241.266 -458.276C-180.771 -467.989 -118.51 -472.916 -56.2076 -472.916ZM-56.2076 -474.416C-563.991 -474.416 -975.629 -151.402 -975.629 247.054C-975.629 645.51 -563.991 968.52 -56.2076 968.52C451.576 968.52 863.214 645.506 863.214 247.05C863.214 -151.406 451.576 -474.416 -56.2076 -474.416Z"
|
|
6075
|
-
fill="var(--df-waves-of-progress-line-color)" />
|
|
6076
|
-
</g>
|
|
6077
|
-
<g opacity="0.5">
|
|
6078
|
-
<path
|
|
6079
|
-
d="M-78.6857 -621.559C9.0531 -621.559 96.7394 -614.749 181.932 -601.312C264.957 -588.221 346.621 -568.687 424.658 -543.251C501.274 -518.28 575.168 -487.372 644.288 -451.387C712.748 -415.747 777.121 -374.82 835.621 -329.741C894.113 -284.666 947.217 -235.069 993.454 -182.329C1040.13 -129.09 1080.21 -72.1799 1112.6 -13.1736C1145.58 46.9127 1170.91 109.789 1187.88 173.708C1196.51 206.201 1203.1 239.456 1207.46 272.55C1211.88 306.131 1214.13 340.376 1214.13 374.333C1214.13 408.289 1211.89 442.534 1207.46 476.115C1203.1 509.209 1196.51 542.464 1187.88 574.958C1170.91 638.876 1145.58 701.756 1112.6 761.839C1080.22 820.841 1040.13 877.755 993.454 930.994C947.217 983.734 894.113 1033.33 835.621 1078.41C777.121 1123.49 712.748 1164.41 644.288 1200.05C575.168 1236.04 501.274 1266.95 424.658 1291.92C346.621 1317.35 264.957 1336.89 181.932 1349.98C96.7394 1363.41 9.05676 1370.22 -78.6857 1370.22C-166.428 1370.22 -254.111 1363.41 -339.303 1349.98C-422.328 1336.89 -503.992 1317.35 -582.029 1291.92C-658.646 1266.95 -732.539 1236.04 -801.659 1200.05C-870.119 1164.41 -934.492 1123.49 -992.992 1078.41C-1051.48 1033.33 -1104.59 983.734 -1150.83 930.994C-1197.5 877.755 -1237.59 820.845 -1269.97 761.839C-1302.96 701.753 -1328.28 638.876 -1345.26 574.958C-1353.88 542.464 -1360.47 509.209 -1364.83 476.115C-1369.26 442.534 -1371.5 408.289 -1371.5 374.333C-1371.5 340.376 -1369.26 306.131 -1364.83 272.55C-1360.47 239.456 -1353.88 206.201 -1345.26 173.708C-1328.28 109.789 -1302.95 46.9089 -1269.97 -13.1736C-1237.59 -72.1761 -1197.5 -129.09 -1150.83 -182.329C-1104.59 -235.069 -1051.48 -284.666 -992.992 -329.741C-934.492 -374.82 -870.119 -415.747 -801.659 -451.387C-732.539 -487.372 -658.646 -518.28 -582.029 -543.251C-503.992 -568.687 -422.328 -588.221 -339.303 -601.312C-254.111 -614.745 -166.428 -621.559 -78.6857 -621.559ZM-78.6857 -623.059C-793.518 -623.059 -1373 -176.512 -1373 374.329C-1373 925.17 -793.518 1371.72 -78.6857 1371.72C636.147 1371.72 1215.63 925.17 1215.63 374.329C1215.63 -176.512 636.143 -623.059 -78.6857 -623.059Z"
|
|
6080
|
-
fill="var(--df-waves-of-progress-line-color)" />
|
|
6081
|
-
</g>
|
|
5811
|
+
<g opacity="0.5" fill="black">
|
|
5812
|
+
<path d="M-11.2496 -175.631C11.4491 -175.631 33.4691 -171.187 54.1954 -162.42C74.2166 -153.952 92.1979 -141.828 107.64 -126.386C123.083 -110.943 135.207 -92.9621 143.674 -72.9408C152.442 -52.2146 156.885 -30.1946 156.885 -7.49585C156.885 15.2029 152.442 37.2229 143.674 57.9491C135.207 77.9704 123.083 95.9517 107.64 111.394C92.1979 126.837 74.2166 138.96 54.1954 147.428C33.4691 156.195 11.4491 160.639 -11.2496 160.639C-33.9484 160.639 -55.9684 156.195 -76.6946 147.428C-96.7159 138.96 -114.697 126.837 -130.14 111.394C-145.582 95.9517 -157.706 77.9704 -166.173 57.9491C-174.941 37.2229 -179.385 15.2029 -179.385 -7.49585C-179.385 -30.1946 -174.941 -52.2146 -166.173 -72.9408C-157.706 -92.9621 -145.582 -110.943 -130.14 -126.386C-114.697 -141.828 -96.7159 -153.952 -76.6946 -162.42C-55.9684 -171.187 -33.9484 -175.631 -11.2496 -175.631ZM-11.2496 -177.131C-104.936 -177.131 -180.881 -101.182 -180.881 -7.4996C-180.881 86.1829 -104.936 162.132 -11.2496 162.132C82.4366 162.132 158.382 86.1866 158.382 -7.4996C158.382 -101.186 82.4366 -177.131 -11.2496 -177.131Z"/>
|
|
5813
|
+
<path d="M-33.7277 -324.273C3.13483 -324.273 39.9748 -321.236 75.7648 -315.243C110.644 -309.405 144.952 -300.69 177.735 -289.342C209.921 -278.205 240.96 -264.416 269.996 -248.366C298.751 -232.47 325.789 -214.218 350.359 -194.111C374.925 -174.011 397.226 -151.893 416.644 -128.377C436.241 -104.64 453.075 -79.2672 466.672 -52.9609C480.517 -26.1747 491.152 1.85281 498.277 30.3491C505.59 59.584 509.295 89.6703 509.295 119.779C509.295 149.888 505.586 179.974 498.277 209.209C491.152 237.702 480.517 265.733 466.672 292.519C453.075 318.825 436.241 344.198 416.644 367.935C397.226 391.452 374.925 413.569 350.359 433.669C325.789 453.773 298.747 472.028 269.996 487.924C240.96 503.974 209.921 517.759 177.735 528.9C144.952 540.248 110.644 548.959 75.7648 554.802C39.9711 560.794 3.13483 563.832 -33.7277 563.832C-70.5902 563.832 -107.43 560.794 -143.22 554.802C-178.099 548.963 -212.408 540.248 -245.19 528.9C-277.376 517.763 -308.415 503.978 -337.451 487.924C-366.206 472.028 -393.244 453.777 -417.814 433.669C-442.38 413.569 -464.681 391.452 -484.099 367.935C-503.696 344.198 -520.53 318.825 -534.128 292.519C-547.973 265.733 -558.608 237.705 -565.733 209.209C-573.045 179.974 -576.75 149.888 -576.75 119.779C-576.75 89.6703 -573.041 59.584 -565.733 30.3491C-558.608 1.85654 -547.973 -26.1747 -534.128 -52.9609C-520.53 -79.2672 -503.696 -104.64 -484.099 -128.377C-464.681 -151.893 -442.38 -174.011 -417.814 -194.111C-393.244 -214.215 -366.203 -232.47 -337.451 -248.366C-308.415 -264.416 -277.376 -278.201 -245.19 -289.342C-212.408 -300.69 -178.099 -309.401 -143.22 -315.243C-107.426 -321.236 -70.5902 -324.273 -33.7277 -324.273ZM-33.7277 -325.773C-334.463 -325.773 -578.254 -126.292 -578.254 119.779C-578.254 365.85 -334.463 565.328 -33.7277 565.328C267.007 565.328 510.799 365.847 510.799 119.775C510.799 -126.296 267.004 -325.773 -33.7277 -325.773Z"/>
|
|
5814
|
+
<path d="M-56.2076 -472.916C6.09485 -472.916 68.3561 -467.992 128.851 -458.276C187.805 -448.811 245.791 -434.685 301.201 -416.295C355.602 -398.239 408.069 -375.892 457.149 -349.875C505.756 -324.109 551.461 -294.517 592.996 -261.922C634.524 -229.335 672.226 -193.477 705.053 -155.347C738.188 -116.861 766.647 -75.716 789.639 -33.0635C813.05 10.3727 831.031 55.8227 843.08 102.03C855.443 149.438 861.71 198.229 861.71 247.054C861.71 295.879 855.44 344.67 843.08 392.078C831.031 438.285 813.05 483.735 789.639 527.171C766.647 569.828 738.188 610.969 705.053 649.455C672.226 687.585 634.524 723.443 592.996 756.03C551.461 788.625 505.752 818.216 457.149 843.983C408.069 870 355.602 892.347 301.201 910.403C245.791 928.793 187.805 942.919 128.851 952.384C68.3561 962.096 6.09485 967.024 -56.2076 967.024C-118.51 967.024 -180.771 962.1 -241.266 952.384C-300.22 942.919 -358.206 928.793 -413.616 910.403C-468.018 892.347 -520.484 870 -569.564 843.983C-618.171 818.216 -663.876 788.625 -705.411 756.03C-746.939 723.443 -784.641 687.585 -817.469 649.455C-850.604 610.969 -879.063 569.824 -902.054 527.171C-925.465 483.735 -943.446 438.285 -955.495 392.078C-967.859 344.67 -974.125 295.879 -974.125 247.054C-974.125 198.229 -967.855 149.438 -955.495 102.03C-943.446 55.8227 -925.465 10.3727 -902.054 -33.0635C-879.063 -75.7198 -850.604 -116.861 -817.469 -155.347C-784.641 -193.477 -746.939 -229.335 -705.411 -261.922C-663.876 -294.514 -618.168 -324.109 -569.564 -349.875C-520.484 -375.892 -468.018 -398.239 -413.616 -416.295C-358.206 -434.685 -300.22 -448.811 -241.266 -458.276C-180.771 -467.989 -118.51 -472.916 -56.2076 -472.916ZM-56.2076 -474.416C-563.991 -474.416 -975.629 -151.402 -975.629 247.054C-975.629 645.51 -563.991 968.52 -56.2076 968.52C451.576 968.52 863.214 645.506 863.214 247.05C863.214 -151.406 451.576 -474.416 -56.2076 -474.416Z"/>
|
|
5815
|
+
<path d="M-78.6857 -621.559C9.0531 -621.559 96.7394 -614.749 181.932 -601.312C264.957 -588.221 346.621 -568.687 424.658 -543.251C501.274 -518.28 575.168 -487.372 644.288 -451.387C712.748 -415.747 777.121 -374.82 835.621 -329.741C894.113 -284.666 947.217 -235.069 993.454 -182.329C1040.13 -129.09 1080.21 -72.1799 1112.6 -13.1736C1145.58 46.9127 1170.91 109.789 1187.88 173.708C1196.51 206.201 1203.1 239.456 1207.46 272.55C1211.88 306.131 1214.13 340.376 1214.13 374.333C1214.13 408.289 1211.89 442.534 1207.46 476.115C1203.1 509.209 1196.51 542.464 1187.88 574.958C1170.91 638.876 1145.58 701.756 1112.6 761.839C1080.22 820.841 1040.13 877.755 993.454 930.994C947.217 983.734 894.113 1033.33 835.621 1078.41C777.121 1123.49 712.748 1164.41 644.288 1200.05C575.168 1236.04 501.274 1266.95 424.658 1291.92C346.621 1317.35 264.957 1336.89 181.932 1349.98C96.7394 1363.41 9.05676 1370.22 -78.6857 1370.22C-166.428 1370.22 -254.111 1363.41 -339.303 1349.98C-422.328 1336.89 -503.992 1317.35 -582.029 1291.92C-658.646 1266.95 -732.539 1236.04 -801.659 1200.05C-870.119 1164.41 -934.492 1123.49 -992.992 1078.41C-1051.48 1033.33 -1104.59 983.734 -1150.83 930.994C-1197.5 877.755 -1237.59 820.845 -1269.97 761.839C-1302.96 701.753 -1328.28 638.876 -1345.26 574.958C-1353.88 542.464 -1360.47 509.209 -1364.83 476.115C-1369.26 442.534 -1371.5 408.289 -1371.5 374.333C-1371.5 340.376 -1369.26 306.131 -1364.83 272.55C-1360.47 239.456 -1353.88 206.201 -1345.26 173.708C-1328.28 109.789 -1302.95 46.9089 -1269.97 -13.1736C-1237.59 -72.1761 -1197.5 -129.09 -1150.83 -182.329C-1104.59 -235.069 -1051.48 -284.666 -992.992 -329.741C-934.492 -374.82 -870.119 -415.747 -801.659 -451.387C-732.539 -487.372 -658.646 -518.28 -582.029 -543.251C-503.992 -568.687 -422.328 -588.221 -339.303 -601.312C-254.111 -614.745 -166.428 -621.559 -78.6857 -621.559ZM-78.6857 -623.059C-793.518 -623.059 -1373 -176.512 -1373 374.329C-1373 925.17 -793.518 1371.72 -78.6857 1371.72C636.147 1371.72 1215.63 925.17 1215.63 374.329C1215.63 -176.512 636.143 -623.059 -78.6857 -623.059Z"/>
|
|
6082
5816
|
</g>
|
|
6083
5817
|
</svg>`;
|
|
6084
5818
|
const circleUp = `<svg width="1440" height="810" viewBox="0 0 1440 810" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
6085
|
-
<
|
|
6086
|
-
|
|
6087
|
-
|
|
6088
|
-
<path d="
|
|
6089
|
-
</mask>
|
|
6090
|
-
<g mask="url(#mask0_3174_6806)">
|
|
6091
|
-
<g opacity="0.5">
|
|
6092
|
-
<path
|
|
6093
|
-
d="M420.319 594.342C446.929 594.342 473.524 597.154 499.362 602.697C524.543 608.101 549.311 616.163 572.981 626.663C596.224 636.972 618.638 649.733 639.608 664.591C660.379 679.309 679.913 696.211 697.665 714.826C715.418 733.444 731.535 753.931 745.571 775.718C759.743 797.716 771.912 821.232 781.744 845.611C791.76 870.443 799.452 896.431 804.608 922.853C809.899 949.962 812.58 977.866 812.58 1005.79C812.58 1033.71 809.899 1061.61 804.608 1088.72C799.452 1115.14 791.76 1141.13 781.744 1165.97C771.912 1190.35 759.739 1213.86 745.571 1235.86C731.535 1257.65 715.418 1278.13 697.665 1296.75C679.913 1315.37 660.379 1332.27 639.608 1346.99C618.638 1361.84 596.224 1374.6 572.981 1384.91C549.311 1395.41 524.543 1403.48 499.362 1408.88C473.524 1414.43 446.929 1417.23 420.319 1417.23C393.709 1417.23 367.114 1414.42 341.277 1408.88C316.095 1403.48 291.327 1395.41 267.657 1384.91C244.414 1374.6 222 1361.84 201.03 1346.99C180.259 1332.27 160.725 1315.37 142.973 1296.75C125.22 1278.13 109.103 1257.65 95.0665 1235.86C80.8953 1213.86 68.7265 1190.34 58.894 1165.97C48.8778 1141.13 41.1865 1115.15 36.0303 1088.72C30.739 1061.61 28.0578 1033.71 28.0578 1005.79C28.0578 977.866 30.739 949.962 36.0303 922.853C41.1865 896.434 48.8778 870.447 58.894 845.611C68.7265 821.228 80.899 797.712 95.0665 775.718C109.103 753.931 125.22 733.444 142.973 714.826C160.725 696.207 180.259 679.306 201.03 664.591C222 649.733 244.414 636.972 267.657 626.663C291.327 616.163 316.095 608.101 341.277 602.697C367.114 597.151 393.709 594.342 420.319 594.342ZM420.319 592.842C202.853 592.842 26.5615 777.724 26.5615 1005.79C26.5615 1233.85 202.853 1418.73 420.319 1418.73C637.785 1418.73 814.077 1233.85 814.077 1005.79C814.077 777.724 637.785 592.842 420.319 592.842Z"
|
|
6094
|
-
fill="var(--df-waves-of-progress-line-color)" />
|
|
6095
|
-
</g>
|
|
6096
|
-
<g opacity="0.5">
|
|
6097
|
-
<path
|
|
6098
|
-
d="M541.351 240.172C587.813 240.172 634.246 245.617 679.358 256.353C723.327 266.816 766.576 282.431 807.908 302.759C848.491 322.724 887.637 347.433 924.256 376.203C960.53 404.703 994.643 437.437 1025.64 473.493C1056.65 509.553 1084.8 549.232 1109.31 591.427C1134.06 634.031 1155.32 679.578 1172.5 726.802C1189.99 774.903 1203.43 825.239 1212.43 876.416C1221.67 928.927 1226.36 982.976 1226.36 1037.06C1226.36 1091.14 1221.67 1145.19 1212.43 1197.7C1203.43 1248.88 1189.99 1299.21 1172.5 1347.31C1155.32 1394.54 1134.06 1440.09 1109.31 1482.69C1084.8 1524.88 1056.65 1564.56 1025.64 1600.62C994.643 1636.68 960.53 1669.41 924.256 1697.91C887.637 1726.68 848.495 1751.4 807.908 1771.36C766.58 1791.69 723.327 1807.3 679.358 1817.76C634.246 1828.5 587.813 1833.94 541.351 1833.94C494.888 1833.94 448.456 1828.5 403.343 1817.76C359.375 1807.3 316.126 1791.69 274.793 1771.36C234.207 1751.39 195.065 1726.68 158.446 1697.91C122.172 1669.41 88.0583 1636.68 57.0571 1600.62C26.0521 1564.56 -2.09915 1524.88 -26.6129 1482.69C-51.3629 1440.09 -72.6216 1394.54 -89.7966 1347.31C-107.29 1299.21 -120.727 1248.88 -129.73 1197.7C-138.97 1145.19 -143.654 1091.14 -143.654 1037.06C-143.654 982.976 -138.97 928.927 -129.73 876.416C-120.727 825.239 -107.29 774.903 -89.7966 726.802C-72.6216 679.578 -51.3629 634.031 -26.6129 591.427C-2.09915 549.232 26.0483 509.553 57.0571 473.493C88.0583 437.437 122.172 404.707 158.446 376.203C195.065 347.433 234.207 322.721 274.793 302.759C316.122 282.431 359.375 266.816 403.343 256.353C448.456 245.617 494.888 240.172 541.351 240.172ZM541.351 238.672C162.207 238.672 -145.15 596.122 -145.15 1037.06C-145.15 1477.99 162.207 1835.44 541.351 1835.44C920.495 1835.44 1227.85 1477.99 1227.85 1037.06C1227.85 596.122 920.495 238.672 541.351 238.672Z"
|
|
6099
|
-
fill="var(--df-waves-of-progress-line-color)" />
|
|
6100
|
-
</g>
|
|
6101
|
-
<g opacity="0.5">
|
|
6102
|
-
<path
|
|
6103
|
-
d="M662.386 -113.996C728.704 -113.996 794.982 -105.919 859.377 -89.9886C922.137 -74.4636 983.873 -51.2961 1042.87 -21.1311C1100.8 8.49016 1156.67 45.1539 1208.94 87.8439C1260.72 130.133 1309.41 178.699 1353.66 232.193C1397.91 285.694 1438.1 344.565 1473.08 407.171C1508.4 470.381 1538.75 537.96 1563.26 608.025C1588.23 679.388 1607.4 754.069 1620.26 829.995C1633.44 907.901 1640.13 988.088 1640.13 1068.33C1640.13 1148.57 1633.44 1228.75 1620.26 1306.66C1607.4 1382.58 1588.23 1457.27 1563.26 1528.63C1538.75 1598.69 1508.4 1666.27 1473.08 1729.48C1438.09 1792.09 1397.91 1850.96 1353.66 1904.46C1309.41 1957.96 1260.72 2006.52 1208.94 2048.81C1156.67 2091.5 1100.8 2128.16 1042.87 2157.78C983.873 2187.95 922.137 2211.12 859.377 2226.64C794.982 2242.57 728.704 2250.65 662.386 2250.65C596.067 2250.65 529.789 2242.57 465.394 2226.64C402.634 2211.12 340.898 2187.95 281.903 2157.78C223.973 2128.16 168.098 2091.5 115.831 2048.81C64.0544 2006.52 15.3644 1957.95 -28.8894 1904.46C-73.1431 1850.96 -113.324 1792.09 -148.312 1729.48C-183.637 1666.27 -213.978 1598.69 -238.492 1528.63C-263.459 1457.27 -282.637 1382.58 -295.488 1306.66C-308.677 1228.75 -315.363 1148.57 -315.363 1068.33C-315.363 988.088 -308.677 907.901 -295.488 829.995C-282.637 754.069 -263.459 679.388 -238.492 608.025C-213.978 537.96 -183.637 470.381 -148.312 407.171C-113.324 344.565 -73.1469 285.694 -28.8894 232.193C15.3606 178.695 64.0506 130.129 115.831 87.8439C168.098 45.1539 223.973 8.49016 281.903 -21.1311C340.898 -51.2961 402.634 -74.4636 465.394 -89.9886C529.789 -105.919 596.067 -113.996 662.386 -113.996ZM662.386 -115.496C121.564 -115.496 -316.859 414.521 -316.859 1068.33C-316.859 1722.13 121.564 2252.15 662.386 2252.15C1203.21 2252.15 1641.63 1722.13 1641.63 1068.33C1641.63 414.521 1203.21 -115.496 662.386 -115.496Z"
|
|
6104
|
-
fill="var(--df-waves-of-progress-line-color)" />
|
|
6105
|
-
</g>
|
|
5819
|
+
<g opacity="0.5" fill="black">
|
|
5820
|
+
<path d="M420.319 594.342C446.929 594.342 473.524 597.154 499.362 602.697C524.543 608.101 549.311 616.163 572.981 626.663C596.224 636.972 618.638 649.733 639.608 664.591C660.379 679.309 679.913 696.211 697.665 714.826C715.418 733.444 731.535 753.931 745.571 775.718C759.743 797.716 771.912 821.232 781.744 845.611C791.76 870.443 799.452 896.431 804.608 922.853C809.899 949.962 812.58 977.866 812.58 1005.79C812.58 1033.71 809.899 1061.61 804.608 1088.72C799.452 1115.14 791.76 1141.13 781.744 1165.97C771.912 1190.35 759.739 1213.86 745.571 1235.86C731.535 1257.65 715.418 1278.13 697.665 1296.75C679.913 1315.37 660.379 1332.27 639.608 1346.99C618.638 1361.84 596.224 1374.6 572.981 1384.91C549.311 1395.41 524.543 1403.48 499.362 1408.88C473.524 1414.43 446.929 1417.23 420.319 1417.23C393.709 1417.23 367.114 1414.42 341.277 1408.88C316.095 1403.48 291.327 1395.41 267.657 1384.91C244.414 1374.6 222 1361.84 201.03 1346.99C180.259 1332.27 160.725 1315.37 142.973 1296.75C125.22 1278.13 109.103 1257.65 95.0665 1235.86C80.8953 1213.86 68.7265 1190.34 58.894 1165.97C48.8778 1141.13 41.1865 1115.15 36.0303 1088.72C30.739 1061.61 28.0578 1033.71 28.0578 1005.79C28.0578 977.866 30.739 949.962 36.0303 922.853C41.1865 896.434 48.8778 870.447 58.894 845.611C68.7265 821.228 80.899 797.712 95.0665 775.718C109.103 753.931 125.22 733.444 142.973 714.826C160.725 696.207 180.259 679.306 201.03 664.591C222 649.733 244.414 636.972 267.657 626.663C291.327 616.163 316.095 608.101 341.277 602.697C367.114 597.151 393.709 594.342 420.319 594.342ZM420.319 592.842C202.853 592.842 26.5615 777.724 26.5615 1005.79C26.5615 1233.85 202.853 1418.73 420.319 1418.73C637.785 1418.73 814.077 1233.85 814.077 1005.79C814.077 777.724 637.785 592.842 420.319 592.842Z"/>
|
|
5821
|
+
<path d="M541.351 240.172C587.813 240.172 634.246 245.617 679.358 256.353C723.327 266.816 766.576 282.431 807.908 302.759C848.491 322.724 887.637 347.433 924.256 376.203C960.53 404.703 994.643 437.437 1025.64 473.493C1056.65 509.553 1084.8 549.232 1109.31 591.427C1134.06 634.031 1155.32 679.578 1172.5 726.802C1189.99 774.903 1203.43 825.239 1212.43 876.416C1221.67 928.927 1226.36 982.976 1226.36 1037.06C1226.36 1091.14 1221.67 1145.19 1212.43 1197.7C1203.43 1248.88 1189.99 1299.21 1172.5 1347.31C1155.32 1394.54 1134.06 1440.09 1109.31 1482.69C1084.8 1524.88 1056.65 1564.56 1025.64 1600.62C994.643 1636.68 960.53 1669.41 924.256 1697.91C887.637 1726.68 848.495 1751.4 807.908 1771.36C766.58 1791.69 723.327 1807.3 679.358 1817.76C634.246 1828.5 587.813 1833.94 541.351 1833.94C494.888 1833.94 448.456 1828.5 403.343 1817.76C359.375 1807.3 316.126 1791.69 274.793 1771.36C234.207 1751.39 195.065 1726.68 158.446 1697.91C122.172 1669.41 88.0583 1636.68 57.0571 1600.62C26.0521 1564.56 -2.09915 1524.88 -26.6129 1482.69C-51.3629 1440.09 -72.6216 1394.54 -89.7966 1347.31C-107.29 1299.21 -120.727 1248.88 -129.73 1197.7C-138.97 1145.19 -143.654 1091.14 -143.654 1037.06C-143.654 982.976 -138.97 928.927 -129.73 876.416C-120.727 825.239 -107.29 774.903 -89.7966 726.802C-72.6216 679.578 -51.3629 634.031 -26.6129 591.427C-2.09915 549.232 26.0483 509.553 57.0571 473.493C88.0583 437.437 122.172 404.707 158.446 376.203C195.065 347.433 234.207 322.721 274.793 302.759C316.122 282.431 359.375 266.816 403.343 256.353C448.456 245.617 494.888 240.172 541.351 240.172ZM541.351 238.672C162.207 238.672 -145.15 596.122 -145.15 1037.06C-145.15 1477.99 162.207 1835.44 541.351 1835.44C920.495 1835.44 1227.85 1477.99 1227.85 1037.06C1227.85 596.122 920.495 238.672 541.351 238.672Z"/>
|
|
5822
|
+
<path d="M662.386 -113.996C728.704 -113.996 794.982 -105.919 859.377 -89.9886C922.137 -74.4636 983.873 -51.2961 1042.87 -21.1311C1100.8 8.49016 1156.67 45.1539 1208.94 87.8439C1260.72 130.133 1309.41 178.699 1353.66 232.193C1397.91 285.694 1438.1 344.565 1473.08 407.171C1508.4 470.381 1538.75 537.96 1563.26 608.025C1588.23 679.388 1607.4 754.069 1620.26 829.995C1633.44 907.901 1640.13 988.088 1640.13 1068.33C1640.13 1148.57 1633.44 1228.75 1620.26 1306.66C1607.4 1382.58 1588.23 1457.27 1563.26 1528.63C1538.75 1598.69 1508.4 1666.27 1473.08 1729.48C1438.09 1792.09 1397.91 1850.96 1353.66 1904.46C1309.41 1957.96 1260.72 2006.52 1208.94 2048.81C1156.67 2091.5 1100.8 2128.16 1042.87 2157.78C983.873 2187.95 922.137 2211.12 859.377 2226.64C794.982 2242.57 728.704 2250.65 662.386 2250.65C596.067 2250.65 529.789 2242.57 465.394 2226.64C402.634 2211.12 340.898 2187.95 281.903 2157.78C223.973 2128.16 168.098 2091.5 115.831 2048.81C64.0544 2006.52 15.3644 1957.95 -28.8894 1904.46C-73.1431 1850.96 -113.324 1792.09 -148.312 1729.48C-183.637 1666.27 -213.978 1598.69 -238.492 1528.63C-263.459 1457.27 -282.637 1382.58 -295.488 1306.66C-308.677 1228.75 -315.363 1148.57 -315.363 1068.33C-315.363 988.088 -308.677 907.901 -295.488 829.995C-282.637 754.069 -263.459 679.388 -238.492 608.025C-213.978 537.96 -183.637 470.381 -148.312 407.171C-113.324 344.565 -73.1469 285.694 -28.8894 232.193C15.3606 178.695 64.0506 130.129 115.831 87.8439C168.098 45.1539 223.973 8.49016 281.903 -21.1311C340.898 -51.2961 402.634 -74.4636 465.394 -89.9886C529.789 -105.919 596.067 -113.996 662.386 -113.996ZM662.386 -115.496C121.564 -115.496 -316.859 414.521 -316.859 1068.33C-316.859 1722.13 121.564 2252.15 662.386 2252.15C1203.21 2252.15 1641.63 1722.13 1641.63 1068.33C1641.63 414.521 1203.21 -115.496 662.386 -115.496Z"/>
|
|
6106
5823
|
</g>
|
|
6107
5824
|
</svg>`;
|
|
6108
5825
|
|
|
6109
5826
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
6110
5827
|
const colors = ['sky', 'crimson', 'pumpkin', 'forest', 'canary', 'fuchsia', 'violet'];
|
|
6111
5828
|
const colorsMap = {
|
|
6112
|
-
'dark-sky': ['
|
|
6113
|
-
'dark-crimson': [
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
'dark-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
'
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
'
|
|
6126
|
-
|
|
6127
|
-
|
|
6128
|
-
|
|
6129
|
-
'
|
|
6130
|
-
|
|
6131
|
-
|
|
6132
|
-
|
|
5829
|
+
'dark-sky': ['var(--df-color-wavesProgress-sky-dark-background)', 'var(--df-color-wavesProgress-sky-dark-border)'],
|
|
5830
|
+
'dark-crimson': [
|
|
5831
|
+
'var(--df-color-wavesProgress-crimson-dark-background)',
|
|
5832
|
+
'var(--df-color-wavesProgress-crimson-dark-border)'
|
|
5833
|
+
],
|
|
5834
|
+
'dark-pumpkin': [
|
|
5835
|
+
'var(--df-color-wavesProgress-pumpkin-dark-background)',
|
|
5836
|
+
'var(--df-color-wavesProgress-pumpkin-dark-border)'
|
|
5837
|
+
],
|
|
5838
|
+
'dark-forest': [
|
|
5839
|
+
'var(--df-color-wavesProgress-forest-dark-background)',
|
|
5840
|
+
'var(--df-color-wavesProgress-forest-dark-border)'
|
|
5841
|
+
],
|
|
5842
|
+
'dark-canary': [
|
|
5843
|
+
'var(--df-color-wavesProgress-canary-dark-background)',
|
|
5844
|
+
'var(--df-color-wavesProgress-canary-dark-border)'
|
|
5845
|
+
],
|
|
5846
|
+
'dark-fuchsia': [
|
|
5847
|
+
'var(--df-color-wavesProgress-fuchsia-dark-background)',
|
|
5848
|
+
'var(--df-color-wavesProgress-fuchsia-dark-border)'
|
|
5849
|
+
],
|
|
5850
|
+
'dark-violet': [
|
|
5851
|
+
'var(--df-color-wavesProgress-violet-dark-background)',
|
|
5852
|
+
'var(--df-color-wavesProgress-violet-dark-border)'
|
|
5853
|
+
],
|
|
5854
|
+
'vivid-sky': ['var(--df-color-wavesProgress-sky-vivid-background)', 'var(--df-color-wavesProgress-sky-vivid-border)'],
|
|
5855
|
+
'vivid-crimson': [
|
|
5856
|
+
'var(--df-color-wavesProgress-crimson-vivid-background)',
|
|
5857
|
+
'var(--df-color-wavesProgress-crimson-vivid-border)'
|
|
5858
|
+
],
|
|
5859
|
+
'vivid-pumpkin': [
|
|
5860
|
+
'var(--df-color-wavesProgress-pumpkin-vivid-background)',
|
|
5861
|
+
'var(--df-color-wavesProgress-pumpkin-vivid-border)'
|
|
5862
|
+
],
|
|
5863
|
+
'vivid-forest': [
|
|
5864
|
+
'var(--df-color-wavesProgress-forest-vivid-background)',
|
|
5865
|
+
'var(--df-color-wavesProgress-forest-vivid-border)'
|
|
5866
|
+
],
|
|
5867
|
+
'vivid-canary': [
|
|
5868
|
+
'var(--df-color-wavesProgress-canary-vivid-background)',
|
|
5869
|
+
'var(--df-color-wavesProgress-canary-vivid-border)'
|
|
5870
|
+
],
|
|
5871
|
+
'vivid-fuchsia': [
|
|
5872
|
+
'var(--df-color-wavesProgress-fuchsia-vivid-background)',
|
|
5873
|
+
'var(--df-color-wavesProgress-fuchsia-vivid-border)'
|
|
5874
|
+
],
|
|
5875
|
+
'vivid-violet': [
|
|
5876
|
+
'var(--df-color-wavesProgress-violet-vivid-background)',
|
|
5877
|
+
'var(--df-color-wavesProgress-violet-vivid-border)'
|
|
5878
|
+
],
|
|
5879
|
+
'light-sky': ['var(--df-color-wavesProgress-sky-light-background)', 'var(--df-color-wavesProgress-sky-light-border)'],
|
|
5880
|
+
'light-crimson': [
|
|
5881
|
+
'var(--df-color-wavesProgress-crimson-light-background)',
|
|
5882
|
+
'var(--df-color-wavesProgress-crimson-light-border)'
|
|
5883
|
+
],
|
|
5884
|
+
'light-pumpkin': [
|
|
5885
|
+
'var(--df-color-wavesProgress-pumpkin-light-background)',
|
|
5886
|
+
'var(--df-color-wavesProgress-pumpkin-light-border)'
|
|
5887
|
+
],
|
|
5888
|
+
'light-forest': [
|
|
5889
|
+
'var(--df-color-wavesProgress-forest-light-background)',
|
|
5890
|
+
'var(--df-color-wavesProgress-forest-light-border)'
|
|
5891
|
+
],
|
|
5892
|
+
'light-canary': [
|
|
5893
|
+
'var(--df-color-wavesProgress-canary-light-background)',
|
|
5894
|
+
'var(--df-color-wavesProgress-canary-light-border)'
|
|
5895
|
+
],
|
|
5896
|
+
'light-fuchsia': [
|
|
5897
|
+
'var(--df-color-wavesProgress-fuchsia-light-background)',
|
|
5898
|
+
'var(--df-color-wavesProgress-fuchsia-light-border)'
|
|
5899
|
+
],
|
|
5900
|
+
'light-violet': [
|
|
5901
|
+
'var(--df-color-wavesProgress-violet-light-background)',
|
|
5902
|
+
'var(--df-color-wavesProgress-violet-light-border)'
|
|
5903
|
+
]
|
|
6133
5904
|
};
|
|
6134
5905
|
class DfWavesOfProgressDirective {
|
|
6135
5906
|
constructor() {
|
|
@@ -6143,31 +5914,27 @@ class DfWavesOfProgressDirective {
|
|
|
6143
5914
|
* 'dark-sky', 'vivid-crimson', 'light-forest', ['#000835', '#3A8BFF']
|
|
6144
5915
|
*/
|
|
6145
5916
|
this.color = input('dark-sky', ...(ngDevMode ? [{ debugName: "color" }] : []));
|
|
6146
|
-
this.
|
|
6147
|
-
|
|
6148
|
-
let bgColor
|
|
5917
|
+
this.maskImage = computed(() => `url('data:image/svg+xml;utf8,${encodeURIComponent(this.getWavesAsString(this.dfWavesOfProgress()))}')`, ...(ngDevMode ? [{ debugName: "maskImage" }] : []));
|
|
5918
|
+
this.bgColor = computed(() => {
|
|
5919
|
+
let bgColor;
|
|
6149
5920
|
if (Array.isArray(this.color())) {
|
|
6150
|
-
[bgColor
|
|
5921
|
+
[bgColor] = this.color();
|
|
6151
5922
|
}
|
|
6152
5923
|
else {
|
|
6153
|
-
[bgColor
|
|
5924
|
+
[bgColor] = colorsMap[this.color()];
|
|
6154
5925
|
}
|
|
6155
|
-
return
|
|
6156
|
-
}, ...(ngDevMode ? [{ debugName: "
|
|
6157
|
-
|
|
6158
|
-
|
|
6159
|
-
|
|
6160
|
-
|
|
6161
|
-
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
const baseSvg = encodeURIComponent(svgAsString
|
|
6168
|
-
.replace(/var\(--df-waves-of-progress-bg-color\)/g, bgColor)
|
|
6169
|
-
.replace(/var\(--df-waves-of-progress-line-color\)/g, lineColor));
|
|
6170
|
-
return `'data:image/svg+xml;utf8,${baseSvg}'`;
|
|
5926
|
+
return bgColor;
|
|
5927
|
+
}, ...(ngDevMode ? [{ debugName: "bgColor" }] : []));
|
|
5928
|
+
this.lineColor = computed(() => {
|
|
5929
|
+
let lineColor;
|
|
5930
|
+
if (Array.isArray(this.color())) {
|
|
5931
|
+
[, lineColor] = this.color();
|
|
5932
|
+
}
|
|
5933
|
+
else {
|
|
5934
|
+
[, lineColor] = colorsMap[this.color()];
|
|
5935
|
+
}
|
|
5936
|
+
return lineColor;
|
|
5937
|
+
}, ...(ngDevMode ? [{ debugName: "lineColor" }] : []));
|
|
6171
5938
|
}
|
|
6172
5939
|
getWavesAsString(waves) {
|
|
6173
5940
|
switch (waves) {
|
|
@@ -6183,31 +5950,29 @@ class DfWavesOfProgressDirective {
|
|
|
6183
5950
|
return arrowRight;
|
|
6184
5951
|
}
|
|
6185
5952
|
}
|
|
6186
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6187
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
5953
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfWavesOfProgressDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5954
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", type: DfWavesOfProgressDirective, isStandalone: true, selector: "[dfWavesOfProgress]", inputs: { dfWavesOfProgress: { classPropertyName: "dfWavesOfProgress", publicName: "dfWavesOfProgress", isSignal: true, isRequired: true, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--df-waves-bg-color": "bgColor()", "style.--df-waves-line-color": "lineColor()", "style.--df-waves-mask-img": "maskImage()" }, classAttribute: "df-waves-of-progress" }, exportAs: ["dfWavesOfProgress"], ngImport: i0 }); }
|
|
6188
5955
|
}
|
|
6189
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5956
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfWavesOfProgressDirective, decorators: [{
|
|
6190
5957
|
type: Directive,
|
|
6191
5958
|
args: [{
|
|
6192
5959
|
selector: '[dfWavesOfProgress]',
|
|
6193
5960
|
exportAs: 'dfWavesOfProgress',
|
|
6194
5961
|
host: {
|
|
6195
|
-
style:
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
`,
|
|
6200
|
-
'[style.background-image]': 'backgroundImage()'
|
|
5962
|
+
'[style.--df-waves-bg-color]': 'bgColor()',
|
|
5963
|
+
'[style.--df-waves-line-color]': 'lineColor()',
|
|
5964
|
+
'[style.--df-waves-mask-img]': 'maskImage()',
|
|
5965
|
+
class: 'df-waves-of-progress'
|
|
6201
5966
|
}
|
|
6202
5967
|
}]
|
|
6203
|
-
}] });
|
|
5968
|
+
}], propDecorators: { dfWavesOfProgress: [{ type: i0.Input, args: [{ isSignal: true, alias: "dfWavesOfProgress", required: true }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
|
|
6204
5969
|
|
|
6205
5970
|
class DfWavesOfProgressModule {
|
|
6206
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6207
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
6208
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5971
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfWavesOfProgressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5972
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: DfWavesOfProgressModule, imports: [DfWavesOfProgressDirective], exports: [DfWavesOfProgressDirective] }); }
|
|
5973
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfWavesOfProgressModule }); }
|
|
6209
5974
|
}
|
|
6210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfWavesOfProgressModule, decorators: [{
|
|
6211
5976
|
type: NgModule,
|
|
6212
5977
|
args: [{
|
|
6213
5978
|
imports: [DfWavesOfProgressDirective],
|
|
@@ -6222,8 +5987,8 @@ class DfAmadeusLogoComponent {
|
|
|
6222
5987
|
*/
|
|
6223
5988
|
this.svgClass = input('', ...(ngDevMode ? [{ debugName: "svgClass" }] : []));
|
|
6224
5989
|
}
|
|
6225
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6226
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
5990
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfAmadeusLogoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5991
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.6", type: DfAmadeusLogoComponent, isStandalone: true, selector: "df-amadeus-logo", inputs: { svgClass: { classPropertyName: "svgClass", publicName: "svgClass", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
6227
5992
|
<svg [class]="svgClass()" viewBox="0 0 113 16" xmlns="http://www.w3.org/2000/svg">
|
|
6228
5993
|
<path
|
|
6229
5994
|
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"
|
|
@@ -6257,7 +6022,7 @@ class DfAmadeusLogoComponent {
|
|
|
6257
6022
|
<span class="visually-hidden">Amadeus</span>
|
|
6258
6023
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6259
6024
|
}
|
|
6260
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6025
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DfAmadeusLogoComponent, decorators: [{
|
|
6261
6026
|
type: Component,
|
|
6262
6027
|
args: [{
|
|
6263
6028
|
selector: 'df-amadeus-logo',
|
|
@@ -6296,7 +6061,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
6296
6061
|
`,
|
|
6297
6062
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
6298
6063
|
}]
|
|
6299
|
-
}] });
|
|
6064
|
+
}], propDecorators: { svgClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "svgClass", required: false }] }] } });
|
|
6065
|
+
|
|
6066
|
+
/**
|
|
6067
|
+
* Provides AG Grid configuration with all community modules and legacy theme support
|
|
6068
|
+
* @returns Environment providers for AG Grid setup
|
|
6069
|
+
*/
|
|
6070
|
+
const provideAgGrid = () => provideAppInitializer(() => {
|
|
6071
|
+
// Register all community features
|
|
6072
|
+
ModuleRegistry.registerModules([AllCommunityModule]);
|
|
6073
|
+
// Mark all grids as using legacy themes
|
|
6074
|
+
provideGlobalGridOptions({ theme: 'legacy' });
|
|
6075
|
+
});
|
|
6300
6076
|
|
|
6301
6077
|
// Accessibility
|
|
6302
6078
|
|
|
@@ -6308,5 +6084,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
6308
6084
|
* Generated bundle index. Do not edit.
|
|
6309
6085
|
*/
|
|
6310
6086
|
|
|
6311
|
-
export { BREAKPOINTS_VARS, ChangeContext, DF_BREAKPOINTS_VAR_DEFAULT, DfAccessibilityModule, DfAdvancedCardModule, DfAdvancedInputModule, DfAlertModule,
|
|
6087
|
+
export { BREAKPOINTS_VARS, ChangeContext, DF_BREAKPOINTS_VAR_DEFAULT, DfAccessibilityModule, DfAdvancedCardModule, DfAdvancedInputModule, DfAlertModule, DfAmadeusLogoComponent, DfBreakpoints, DfDatePickerModule, DfDatepickerKeyboardService, DfDatepickerRangeDirective, DfDatepickerRangeService, DfDefaultSpinnerComponent, DfDirectionDetectionService, DfFooterModule, DfIfMediaDirective, 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, provideAgGrid };
|
|
6312
6088
|
//# sourceMappingURL=design-factory.mjs.map
|