@design-factory/design-factory 17.0.2 → 18.0.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 +55 -4
- 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/waves_of_progress/arrowRight.svg +34 -0
- package/assets/waves_of_progress/arrowUp.svg +35 -0
- package/assets/waves_of_progress/circleDiagonal.svg +29 -0
- package/assets/waves_of_progress/circleUp.svg +24 -0
- package/design-factory-initial-branding.css +13 -1
- package/design-factory.css +13 -1
- package/design-factory.scss +3 -0
- package/esm2022/lib/angular/accessibility/accessibility.module.mjs +4 -4
- package/esm2022/lib/angular/accessibility/components/skip-links-container/skip-links-container.component.mjs +4 -4
- package/esm2022/lib/angular/accessibility/directives/skip-link.directive.mjs +4 -4
- package/esm2022/lib/angular/alert/alert.module.mjs +4 -4
- package/esm2022/lib/angular/animation/ngbTransition.mjs +1 -1
- package/esm2022/lib/angular/card/card-advanced.module.mjs +4 -4
- package/esm2022/lib/angular/card/manage-card-selection.directive.mjs +4 -4
- package/esm2022/lib/angular/datepicker/closedatepicker.directive.mjs +4 -4
- package/esm2022/lib/angular/datepicker/datepicker-keyboard-nav.service.mjs +4 -4
- package/esm2022/lib/angular/datepicker/datepicker-range.directive.mjs +12 -12
- package/esm2022/lib/angular/datepicker/datepicker-range.service.mjs +4 -4
- package/esm2022/lib/angular/datepicker/datepicker.module.mjs +4 -4
- package/esm2022/lib/angular/df.module.mjs +4 -4
- package/esm2022/lib/angular/footer/footer.module.mjs +4 -4
- package/esm2022/lib/angular/icon/amadeus-icon.mjs +3 -3
- package/esm2022/lib/angular/icon/icon.module.mjs +4 -4
- package/esm2022/lib/angular/icon/insert/insert-icon.directive.mjs +9 -9
- package/esm2022/lib/angular/icon/insert/insert-icon.module.mjs +4 -4
- package/esm2022/lib/angular/inputs/click/trigger-click.directive.mjs +3 -3
- package/esm2022/lib/angular/inputs/icon/inputicon.directive.mjs +4 -4
- package/esm2022/lib/angular/inputs/input-advanced.module.mjs +4 -4
- package/esm2022/lib/angular/mediaqueries/ifMedia.directive.mjs +4 -4
- package/esm2022/lib/angular/mediaqueries/media.module.mjs +4 -4
- package/esm2022/lib/angular/mediaqueries/media.service.mjs +4 -4
- package/esm2022/lib/angular/mediaqueries/mediaUtils.service.mjs +10 -10
- package/esm2022/lib/angular/modal/modal.service.mjs +4 -4
- package/esm2022/lib/angular/popover/config/popover.config.mjs +3 -3
- package/esm2022/lib/angular/popover/popover.module.mjs +4 -4
- package/esm2022/lib/angular/progressbar/progressbar.component.mjs +4 -4
- package/esm2022/lib/angular/progressbar/progressbar.module.mjs +4 -4
- package/esm2022/lib/angular/progressindicator/default/default-spinner.component.mjs +3 -3
- package/esm2022/lib/angular/progressindicator/progressindicator-backdrop.component.mjs +3 -3
- package/esm2022/lib/angular/progressindicator/progressindicator-container.component.mjs +4 -4
- package/esm2022/lib/angular/progressindicator/progressindicator.directive.mjs +4 -4
- package/esm2022/lib/angular/progressindicator/progressindicator.module.mjs +4 -4
- package/esm2022/lib/angular/progressindicator/progressindicator.service.mjs +4 -4
- package/esm2022/lib/angular/right-to-left/directionDetection.service.mjs +4 -4
- package/esm2022/lib/angular/selects/events/manage-badge-events.directive.mjs +3 -3
- package/esm2022/lib/angular/selects/nav/manage-nav-select.directive.mjs +4 -4
- package/esm2022/lib/angular/selects/option-highlight.directive.mjs +4 -4
- package/esm2022/lib/angular/selects/select.module.mjs +4 -4
- package/esm2022/lib/angular/sidenav/dfSideNavAnimation.mjs +1 -1
- package/esm2022/lib/angular/sidenav/dfSideNavCollapse.mjs +4 -4
- package/esm2022/lib/angular/sidenav/dfSideNavCollapse.module.mjs +4 -4
- package/esm2022/lib/angular/sidenav/dfSideNavCollapse.service.mjs +3 -3
- package/esm2022/lib/angular/sidenav/dfSideNavCollapseConfig.mjs +3 -3
- package/esm2022/lib/angular/sidenav/excludeTrap.directive.mjs +4 -4
- package/esm2022/lib/angular/sidenav/manage-sidenav.directive.mjs +4 -4
- package/esm2022/lib/angular/sidenav/sidenav-config.mjs +3 -3
- package/esm2022/lib/angular/sidenav/sidenav.component.mjs +12 -12
- package/esm2022/lib/angular/sidenav/sidenav.module.mjs +4 -4
- package/esm2022/lib/angular/sidenav/sidenav.service.mjs +10 -9
- package/esm2022/lib/angular/sidenav/sidenavlist.component.mjs +5 -5
- package/esm2022/lib/angular/slider/direction/sliderdirection.directive.mjs +7 -4
- package/esm2022/lib/angular/slider/lib/compatibility-helper.mjs +1 -1
- package/esm2022/lib/angular/slider/lib/event-listener-helper.mjs +1 -1
- package/esm2022/lib/angular/slider/lib/slider-element.directive.mjs +8 -5
- package/esm2022/lib/angular/slider/lib/slider-handle.directive.mjs +10 -7
- package/esm2022/lib/angular/slider/lib/slider-label.directive.mjs +7 -4
- package/esm2022/lib/angular/slider/lib/slider.component.mjs +103 -125
- package/esm2022/lib/angular/slider/lib/tooltip-wrapper.component.mjs +7 -4
- package/esm2022/lib/angular/slider/lib/value-helper.mjs +1 -1
- package/esm2022/lib/angular/slider/slider.module.mjs +16 -8
- package/esm2022/lib/angular/stepper/stepper.component.mjs +8 -8
- package/esm2022/lib/angular/stepper/stepper.directive.mjs +7 -7
- package/esm2022/lib/angular/stepper/stepper.module.mjs +4 -4
- package/esm2022/lib/angular/stepper/stepper.service.mjs +8 -8
- package/esm2022/lib/angular/toast/toast.module.mjs +4 -4
- package/esm2022/lib/angular/tooltip/tooltip.module.mjs +4 -4
- package/esm2022/lib/angular/tooltip/truncate/tooltipTruncate.directive.mjs +3 -3
- package/esm2022/lib/angular/utils/scrollbar.service.mjs +3 -3
- package/esm2022/lib/angular/utils/titleTruncate.directive.mjs +4 -4
- package/esm2022/lib/angular/waves-of-progress/waves.directive.mjs +88 -0
- package/esm2022/lib/angular/waves-of-progress/waves.module.mjs +16 -0
- package/esm2022/lib/index.mjs +4 -1
- package/fesm2022/design-factory.mjs +496 -395
- package/fesm2022/design-factory.mjs.map +1 -1
- package/lib/angular/sidenav/sidenav.service.d.ts +1 -0
- package/lib/angular/slider/direction/sliderdirection.directive.d.ts +3 -0
- package/lib/angular/slider/lib/slider-element.directive.d.ts +3 -0
- package/lib/angular/slider/lib/slider-handle.directive.d.ts +4 -1
- package/lib/angular/slider/lib/slider-label.directive.d.ts +3 -0
- package/lib/angular/slider/lib/slider.component.d.ts +3 -0
- package/lib/angular/slider/lib/tooltip-wrapper.component.d.ts +3 -0
- package/lib/angular/slider/slider.module.d.ts +4 -0
- package/lib/angular/stepper/stepper.service.d.ts +2 -1
- package/lib/angular/waves-of-progress/waves.directive.d.ts +35 -0
- package/lib/angular/waves-of-progress/waves.module.d.ts +7 -0
- package/lib/index.d.ts +2 -0
- package/package.json +11 -17
- package/schematics/migrations/15_0_0/remove-ngx-slider/index.js +3 -2
- package/schematics/migrations/16_0_0/navbar-logo-dark/index.js +1 -1
- package/schematics/migrations/16_0_0/revert-to-old-brand/index.js +1 -1
- package/schematics/migrations/16_0_0/scss-var/index.js +1 -1
- package/schematics/migrations/16_0_0/stepper-classes/index.js +1 -1
- package/schematics/migrations/18_0_0/font-awesome-6/index.d.ts +11 -0
- package/schematics/migrations/18_0_0/font-awesome-6/index.js +748 -0
- package/schematics/migrations/18_0_0/media-object-border-0/index.d.ts +6 -0
- package/schematics/migrations/18_0_0/media-object-border-0/index.js +40 -0
- package/schematics/migrations/18_0_0/stepper-classes-18.0.0/index.d.ts +13 -0
- package/schematics/migrations/18_0_0/stepper-classes-18.0.0/index.js +59 -0
- package/schematics/migrations/helpers.js +1 -2
- package/schematics/migrations/migration.json +15 -0
- package/schematics/migrations/utils/component-resource-collector.js +2 -1
- package/schematics/migrations/utils/project_tsconfig_paths.js +1 -2
- package/schematics/migrations/utils/style-updater.js +2 -1
- package/schematics/migrations/utils/template-updater.js +2 -1
- package/schematics/migrations/utils/typescript/compiler_host.js +5 -5
- package/schematics/migrations/utils/typescript/decorators.js +4 -4
- package/schematics/migrations/utils/typescript/functions.js +3 -3
- package/schematics/migrations/utils/typescript/imports.js +3 -3
- package/schematics/migrations/utils/typescript/line-mappings.js +2 -3
- package/schematics/migrations/utils/typescript/parse_tsconfig.js +4 -4
- package/schematics/migrations/utils/typescript/property-name.js +4 -4
- package/schematics/ng-add/index.js +5 -6
- package/styles/scss/_common.mixins.scss +12 -1
- package/styles/scss/_common.root.scss +1 -0
- package/styles/scss/_common.variables.scss +10 -6
- package/styles/scss/_variables.scss +2 -0
- package/styles/scss/agnosui/_variables.scss +18 -59
- package/styles/scss/bootstrap/_maps.scss +7 -6
- package/styles/scss/bootstrap/_rtl-styles-override.scss +6 -4
- package/styles/scss/bootstrap/_variables-dark.scss +86 -0
- package/styles/scss/bootstrap/_variables.scss +93 -29
- package/styles/scss/components/accordion/_accordion.scss +76 -11
- package/styles/scss/components/accordion/_accordion.variables.scss +9 -0
- package/styles/scss/components/alert/_alert.scss +8 -10
- package/styles/scss/components/alert/_alert.variables.scss +0 -3
- package/styles/scss/components/badge/_badge.mixins.scss +13 -0
- package/styles/scss/components/badge/_badge.scss +130 -78
- package/styles/scss/components/badge/_badge.variables.scss +3 -0
- package/styles/scss/components/brand-color/_brand-color.mixins.scss +14 -1
- package/styles/scss/components/brand-color/_brand-color.scss +4 -0
- package/styles/scss/components/breadcrumbs/_breadcrumbs.scss +38 -17
- package/styles/scss/components/breadcrumbs/_breadcrumbs.variables.scss +8 -2
- package/styles/scss/components/button/_button.scss +125 -7
- package/styles/scss/components/button/_button.variables.scss +6 -0
- package/styles/scss/components/card/_card.scss +102 -31
- package/styles/scss/components/card/_card.variables.scss +13 -4
- package/styles/scss/components/checkbox/_checkbox.scss +14 -4
- package/styles/scss/components/checkbox/_checkbox.variables.scss +2 -1
- package/styles/scss/components/collapse/_collapse.scss +0 -5
- package/styles/scss/components/datepicker/_datepicker.scss +84 -28
- package/styles/scss/components/datepicker/_datepicker.variables.scss +8 -3
- package/styles/scss/components/dropdown/_dropdown.mixins.scss +2 -20
- package/styles/scss/components/dropdown/_dropdown.scss +70 -18
- package/styles/scss/components/dropdown/_dropdown.variables.scss +7 -3
- package/styles/scss/components/fonts/_font-awesome-icons-brands.scss +1585 -0
- package/styles/scss/components/fonts/_font-awesome-icons.scss +12886 -0
- package/styles/scss/components/fonts/_fonts-family.scss +106 -50
- package/styles/scss/components/fonts/_fonts.root.scss +2 -1
- package/styles/scss/components/fonts/_fonts.scss +20 -1
- package/styles/scss/components/fonts/_fonts.variables.scss +2 -0
- package/styles/scss/components/fonts/_icon-font.scss +22 -5036
- package/styles/scss/components/footer/_footer.scss +3 -4
- package/styles/scss/components/form/_form.scss +4 -3
- package/styles/scss/components/inputs/_inputs.mixin.scss +7 -3
- package/styles/scss/components/inputs/_inputs.scss +9 -25
- package/styles/scss/components/inputs/_inputs.variables.scss +1 -4
- package/styles/scss/components/link/_link.mixins.scss +13 -6
- package/styles/scss/components/link/_link.scss +44 -28
- package/styles/scss/components/link/_link.variables.scss +7 -13
- package/styles/scss/components/list-group/_list-group.scss +26 -17
- package/styles/scss/components/media/_media.scss +52 -24
- package/styles/scss/components/media/_media.variables.scss +11 -3
- package/styles/scss/components/modal/_modal.scss +7 -3
- package/styles/scss/components/modal/_modal.variables.scss +6 -0
- package/styles/scss/components/navbar/_navbar.scss +22 -16
- package/styles/scss/components/pagination/_pagination.scss +26 -8
- package/styles/scss/components/pagination/_pagination.variables.scss +12 -5
- package/styles/scss/components/popover/_popover.mixin.scss +2 -0
- package/styles/scss/components/popover/_popover.scss +2 -0
- package/styles/scss/components/popover/_popover.variables.scss +3 -0
- package/styles/scss/components/radio/_radio.scss +15 -2
- package/styles/scss/components/scrollspy/_scrollspy.scss +68 -41
- package/styles/scss/components/scrollspy/_scrollspy.variables.scss +17 -6
- package/styles/scss/components/select/_select.scss +9 -7
- package/styles/scss/components/select/_select.variables.scss +5 -3
- package/styles/scss/components/sidenav/_sidenav.scss +93 -81
- package/styles/scss/components/sidenav/_sidenav.variables.scss +27 -11
- package/styles/scss/components/skip-links/_skip-links.scss +9 -8
- package/styles/scss/components/skip-links/_skip-links.variables.scss +2 -0
- package/styles/scss/components/slider/_slider.scss +15 -1
- package/styles/scss/components/stepper/_stepper.mixins.scss +40 -24
- package/styles/scss/components/stepper/_stepper.scss +15 -11
- package/styles/scss/components/stepper/_stepper.variables.scss +13 -3
- package/styles/scss/components/table/_advancedtables.scss +58 -10
- package/styles/scss/components/table/_table.scss +8 -2
- package/styles/scss/components/table/_table.variables.scss +9 -0
- package/styles/scss/components/tabs/_tabs.scss +78 -1
- package/styles/scss/components/tabs/_tabs.variables.scss +2 -0
- package/styles/scss/components/toast/_toast.scss +128 -58
- package/styles/scss/components/toast/_toast.variables.scss +7 -2
- package/styles/scss/components/toggle/_toggle.scss +23 -19
- package/styles/scss/components/toggle/_toggle.variables.scss +6 -4
- package/styles/scss/components/tooltip/_tooltip.scss +12 -0
- package/styles/scss/components/tooltip/_tooltip.variables.scss +2 -0
- package/styles/scss/components/typeahead/_typeahead.scss +5 -3
- package/styles/scss/components/typeahead/_typeahead.variables.scss +1 -0
- package/styles/scss/components/waves/_waves.scss +15 -0
- package/styles/scss/components/waves/_waves.variables.scss +86 -0
- package/styles/scss/df-styles-namespace.scss +1 -1
- package/styles/scss/df-styles.scss +4 -1
- package/styles/scss/themes/brand2023/_variables.scss +495 -75
- package/styles/scss/utilities/_common.utilities.scss +28 -14
- package/assets/fonts/amadeus-bold/amadeus-bold.svg +0 -5131
- package/assets/fonts/amadeus-bold/amadeus-bold.ttf +0 -0
- package/assets/fonts/amadeus-regular/amadeus-regular.svg +0 -5131
- package/assets/fonts/amadeus-regular/amadeus-regular.ttf +0 -0
- package/assets/fonts/amadeus-thin/amadeus-thin.svg +0 -5131
- package/assets/fonts/amadeus-thin/amadeus-thin.ttf +0 -0
- package/assets/fonts/icon-font/light/df-light-300.svg +0 -1709
- package/assets/fonts/icon-font/light/df-light-300.ttf +0 -0
- package/assets/fonts/icon-font/light/df-light-300.woff +0 -0
- package/assets/fonts/icon-font/light/df-light-300.woff2 +0 -0
- package/assets/fonts/icon-font/solid/df-solid-900.svg +0 -1709
- package/assets/fonts/icon-font/solid/df-solid-900.ttf +0 -0
- package/assets/fonts/icon-font/solid/df-solid-900.woff +0 -0
- package/assets/fonts/icon-font/solid/df-solid-900.woff2 +0 -0
- package/assets/fonts/source-sans-pro-bold/source-sans-pro-bold.svg +0 -19926
- package/assets/fonts/source-sans-pro-bold/source-sans-pro-bold.ttf +0 -0
- package/assets/fonts/source-sans-pro-light/source-sans-pro-light.svg +0 -19165
- package/assets/fonts/source-sans-pro-light/source-sans-pro-light.ttf +0 -0
- package/assets/fonts/source-sans-pro-regular/source-sans-pro-regular.svg +0 -20412
- package/assets/fonts/source-sans-pro-regular/source-sans-pro-regular.ttf +0 -0
- package/assets/fonts/source-sans-pro-semibold/source-sans-pro-semibold.svg +0 -20019
- package/assets/fonts/source-sans-pro-semibold/source-sans-pro-semibold.ttf +0 -0
|
@@ -11,6 +11,7 @@ import * as i3 from '@angular/router';
|
|
|
11
11
|
import { RouterModule } from '@angular/router';
|
|
12
12
|
import * as i1$2 from '@ng-select/ng-select';
|
|
13
13
|
import { NgSelectModule } from '@ng-select/ng-select';
|
|
14
|
+
import { HttpClient } from '@angular/common/http';
|
|
14
15
|
|
|
15
16
|
class SkipLinkDirective {
|
|
16
17
|
onFocus() {
|
|
@@ -46,10 +47,10 @@ class SkipLinkDirective {
|
|
|
46
47
|
}
|
|
47
48
|
});
|
|
48
49
|
}
|
|
49
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
50
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
50
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SkipLinkDirective, deps: [{ token: i0.ElementRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
51
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: SkipLinkDirective, isStandalone: true, selector: "[dfSkipLink]", outputs: { inFocus: "inFocus" }, host: { listeners: { "focus": "onFocus()", "click": "onClick()", "blur": "onBlur()" }, properties: { "class": "this.class" } }, ngImport: i0 }); }
|
|
51
52
|
}
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SkipLinkDirective, decorators: [{
|
|
53
54
|
type: Directive,
|
|
54
55
|
args: [{
|
|
55
56
|
selector: '[dfSkipLink]',
|
|
@@ -90,10 +91,10 @@ class SkipLinksContainerComponent {
|
|
|
90
91
|
ngOnDestroy() {
|
|
91
92
|
this.focusSubscription.unsubscribe();
|
|
92
93
|
}
|
|
93
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
94
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
94
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SkipLinksContainerComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
95
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: SkipLinksContainerComponent, isStandalone: true, selector: "df-skip-links-container", queries: [{ propertyName: "links", predicate: SkipLinkDirective }], ngImport: i0, template: "<section class=\"df-skip-links__section\">\n <div class=\"df-skip-links\">\n <div\n class=\"df-skip-links-wrap list-group\"\n [class.focus]=\"inFocus\"\n (blur)=\"inFocus=false\"\n >\n <ng-content></ng-content>\n </div>\n </div>\n</section>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
95
96
|
}
|
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SkipLinksContainerComponent, decorators: [{
|
|
97
98
|
type: Component,
|
|
98
99
|
args: [{ selector: 'df-skip-links-container', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<section class=\"df-skip-links__section\">\n <div class=\"df-skip-links\">\n <div\n class=\"df-skip-links-wrap list-group\"\n [class.focus]=\"inFocus\"\n (blur)=\"inFocus=false\"\n >\n <ng-content></ng-content>\n </div>\n </div>\n</section>\n" }]
|
|
99
100
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { links: [{
|
|
@@ -102,11 +103,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
102
103
|
}] } });
|
|
103
104
|
|
|
104
105
|
class DfAccessibilityModule {
|
|
105
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
106
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
107
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
106
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfAccessibilityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
107
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfAccessibilityModule, imports: [SkipLinkDirective, SkipLinksContainerComponent], exports: [SkipLinkDirective, SkipLinksContainerComponent] }); }
|
|
108
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfAccessibilityModule }); }
|
|
108
109
|
}
|
|
109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfAccessibilityModule, decorators: [{
|
|
110
111
|
type: NgModule,
|
|
111
112
|
args: [{
|
|
112
113
|
imports: [SkipLinkDirective, SkipLinksContainerComponent],
|
|
@@ -134,24 +135,24 @@ class DfInsertIconDirective {
|
|
|
134
135
|
const cmp = this.supportedCmps.find((cmp) => cssClasses.contains(cmp));
|
|
135
136
|
if (cmp) {
|
|
136
137
|
if (cssClasses.contains(`${cmp}-success`)) {
|
|
137
|
-
return '
|
|
138
|
+
return 'fa-check-circle';
|
|
138
139
|
}
|
|
139
140
|
if (cssClasses.contains(`${cmp}-warning`)) {
|
|
140
|
-
return '
|
|
141
|
+
return 'fa-exclamation-triangle';
|
|
141
142
|
}
|
|
142
143
|
if (cssClasses.contains(`${cmp}-danger`)) {
|
|
143
|
-
return '
|
|
144
|
+
return 'fa-minus-circle';
|
|
144
145
|
}
|
|
145
146
|
if (cssClasses.contains(`${cmp}-tip`)) {
|
|
146
|
-
return '
|
|
147
|
+
return 'fa-lightbulb';
|
|
147
148
|
}
|
|
148
149
|
}
|
|
149
|
-
return '
|
|
150
|
+
return 'fa-info-circle';
|
|
150
151
|
}
|
|
151
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
152
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
152
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfInsertIconDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
153
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfInsertIconDirective, isStandalone: true, selector: "ngb-alert[dfInsertAlertIcon],ngb-toast[dfInsertToastIcon]", ngImport: i0 }); }
|
|
153
154
|
}
|
|
154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfInsertIconDirective, decorators: [{
|
|
155
156
|
type: Directive,
|
|
156
157
|
args: [{
|
|
157
158
|
selector: 'ngb-alert[dfInsertAlertIcon],ngb-toast[dfInsertToastIcon]',
|
|
@@ -160,11 +161,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
160
161
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }] });
|
|
161
162
|
|
|
162
163
|
class DfInsertIconModule {
|
|
163
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
164
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
165
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
164
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfInsertIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
165
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfInsertIconModule, imports: [DfInsertIconDirective], exports: [DfInsertIconDirective] }); }
|
|
166
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfInsertIconModule }); }
|
|
166
167
|
}
|
|
167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfInsertIconModule, decorators: [{
|
|
168
169
|
type: NgModule,
|
|
169
170
|
args: [{
|
|
170
171
|
imports: [DfInsertIconDirective],
|
|
@@ -173,11 +174,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
173
174
|
}] });
|
|
174
175
|
|
|
175
176
|
class DfToastModule {
|
|
176
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
177
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
178
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
177
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
178
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfToastModule, imports: [DfInsertIconModule], exports: [NgbToastModule, DfInsertIconModule] }); }
|
|
179
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfToastModule, imports: [DfInsertIconModule, NgbToastModule, DfInsertIconModule] }); }
|
|
179
180
|
}
|
|
180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfToastModule, decorators: [{
|
|
181
182
|
type: NgModule,
|
|
182
183
|
args: [{
|
|
183
184
|
imports: [DfInsertIconModule],
|
|
@@ -186,11 +187,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
186
187
|
}] });
|
|
187
188
|
|
|
188
189
|
class DfAlertModule {
|
|
189
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
190
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
191
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
190
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
191
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfAlertModule, imports: [DfInsertIconModule], exports: [NgbAlertModule, DfInsertIconModule] }); }
|
|
192
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfAlertModule, imports: [DfInsertIconModule, NgbAlertModule, DfInsertIconModule] }); }
|
|
192
193
|
}
|
|
193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfAlertModule, decorators: [{
|
|
194
195
|
type: NgModule,
|
|
195
196
|
args: [{
|
|
196
197
|
imports: [DfInsertIconModule],
|
|
@@ -214,10 +215,10 @@ class CloseInputDatePickerDirective {
|
|
|
214
215
|
this.inputDatePicker.close();
|
|
215
216
|
}
|
|
216
217
|
}
|
|
217
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
218
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
218
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CloseInputDatePickerDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
219
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: CloseInputDatePickerDirective, isStandalone: true, selector: "[dfCloseInputDatePicker]", inputs: { inputDatePicker: ["dfCloseInputDatePicker", "inputDatePicker"] }, host: { listeners: { "document:click": "onClick($event.target)", "document:keyup": "onClick($event.target)" } }, ngImport: i0 }); }
|
|
219
220
|
}
|
|
220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CloseInputDatePickerDirective, decorators: [{
|
|
221
222
|
type: Directive,
|
|
222
223
|
args: [{
|
|
223
224
|
selector: '[dfCloseInputDatePicker]',
|
|
@@ -243,10 +244,10 @@ class DfTriggerClickDirective {
|
|
|
243
244
|
event.preventDefault();
|
|
244
245
|
this.elementRef.nativeElement.click();
|
|
245
246
|
}
|
|
246
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
247
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
247
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfTriggerClickDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
248
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfTriggerClickDirective, isStandalone: true, selector: "[dfTriggerClick]", host: { listeners: { "keydown.enter": "triggerClick($event)", "keydown.space": "triggerClick($event)" } }, ngImport: i0 }); }
|
|
248
249
|
}
|
|
249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfTriggerClickDirective, decorators: [{
|
|
250
251
|
type: Directive,
|
|
251
252
|
args: [{
|
|
252
253
|
selector: '[dfTriggerClick]',
|
|
@@ -330,10 +331,10 @@ class DfInputIconDirective {
|
|
|
330
331
|
});
|
|
331
332
|
});
|
|
332
333
|
}
|
|
333
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
334
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
334
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfInputIconDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
335
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfInputIconDirective, isStandalone: true, selector: "[dfInputIcon]", inputs: { dfInputIcon: "dfInputIcon" }, host: { listeners: { "blur": "onBlur($event)", "focus": "onFocus($event)", "keydown.Tab": "onTab($event)" } }, exportAs: ["dfInputIcon"], ngImport: i0 }); }
|
|
335
336
|
}
|
|
336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfInputIconDirective, decorators: [{
|
|
337
338
|
type: Directive,
|
|
338
339
|
args: [{
|
|
339
340
|
exportAs: 'dfInputIcon',
|
|
@@ -354,11 +355,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
354
355
|
}] } });
|
|
355
356
|
|
|
356
357
|
class DfAdvancedInputModule {
|
|
357
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
358
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
359
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
358
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfAdvancedInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
359
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfAdvancedInputModule, imports: [DfTriggerClickDirective, DfInputIconDirective], exports: [DfTriggerClickDirective, DfInputIconDirective] }); }
|
|
360
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfAdvancedInputModule }); }
|
|
360
361
|
}
|
|
361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfAdvancedInputModule, decorators: [{
|
|
362
363
|
type: NgModule,
|
|
363
364
|
args: [{
|
|
364
365
|
imports: [DfTriggerClickDirective, DfInputIconDirective],
|
|
@@ -395,10 +396,10 @@ class DfDatepickerKeyboardService extends NgbDatepickerKeyboardService {
|
|
|
395
396
|
event.preventDefault();
|
|
396
397
|
event.stopPropagation();
|
|
397
398
|
}
|
|
398
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
399
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
399
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfDatepickerKeyboardService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
400
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfDatepickerKeyboardService }); }
|
|
400
401
|
}
|
|
401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfDatepickerKeyboardService, decorators: [{
|
|
402
403
|
type: Injectable
|
|
403
404
|
}] });
|
|
404
405
|
|
|
@@ -422,10 +423,10 @@ class DfDirectionDetectionService {
|
|
|
422
423
|
}
|
|
423
424
|
return RightToLeftDirectionEnum.LeftToRight;
|
|
424
425
|
}
|
|
425
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
426
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
426
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfDirectionDetectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
427
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfDirectionDetectionService, providedIn: 'root' }); }
|
|
427
428
|
}
|
|
428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
429
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfDirectionDetectionService, decorators: [{
|
|
429
430
|
type: Injectable,
|
|
430
431
|
args: [{
|
|
431
432
|
providedIn: 'root'
|
|
@@ -485,16 +486,16 @@ class DfDatepickerRangeDirective {
|
|
|
485
486
|
const currentDirection = this.dfDirectionServ.getPageDirection(this.el);
|
|
486
487
|
if (this.direction !== currentDirection) {
|
|
487
488
|
this.direction = currentDirection;
|
|
488
|
-
const icon = this.el.nativeElement.querySelector('.
|
|
489
|
-
this.el.nativeElement.querySelector('.
|
|
489
|
+
const icon = this.el.nativeElement.querySelector('.fa-long-arrow-right') ||
|
|
490
|
+
this.el.nativeElement.querySelector('.fa-long-arrow-left');
|
|
490
491
|
if (icon) {
|
|
491
492
|
if (currentDirection === RightToLeftDirectionEnum.RightToLeft) {
|
|
492
|
-
this.renderer.removeClass(icon, '
|
|
493
|
-
this.renderer.addClass(icon, '
|
|
493
|
+
this.renderer.removeClass(icon, 'fa-long-arrow-right');
|
|
494
|
+
this.renderer.addClass(icon, 'fa-long-arrow-left');
|
|
494
495
|
}
|
|
495
496
|
else {
|
|
496
|
-
this.renderer.removeClass(icon, '
|
|
497
|
-
this.renderer.addClass(icon, '
|
|
497
|
+
this.renderer.removeClass(icon, 'fa-long-arrow-left');
|
|
498
|
+
this.renderer.addClass(icon, 'fa-long-arrow-right');
|
|
498
499
|
}
|
|
499
500
|
}
|
|
500
501
|
}
|
|
@@ -504,7 +505,7 @@ class DfDatepickerRangeDirective {
|
|
|
504
505
|
const currentStatus = this.inputsElements.reduce((prev, current) => prev || current.disabled, false);
|
|
505
506
|
if (this.isDisabled !== currentStatus) {
|
|
506
507
|
this.isDisabled = currentStatus;
|
|
507
|
-
this.siblingsNode.forEach(siblings => {
|
|
508
|
+
this.siblingsNode.forEach((siblings) => {
|
|
508
509
|
if (this.isDisabled) {
|
|
509
510
|
this.renderer.addClass(siblings, 'df-disabled');
|
|
510
511
|
}
|
|
@@ -515,12 +516,12 @@ class DfDatepickerRangeDirective {
|
|
|
515
516
|
}
|
|
516
517
|
}
|
|
517
518
|
ngOnDestroy() {
|
|
518
|
-
this.removeListener.forEach(item => item());
|
|
519
|
+
this.removeListener.forEach((item) => item());
|
|
519
520
|
}
|
|
520
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
521
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
521
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfDatepickerRangeDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: DfDirectionDetectionService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
522
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfDatepickerRangeDirective, isStandalone: true, selector: "[dfDatepickerRange]", exportAs: ["dfDatepickerRange"], ngImport: i0 }); }
|
|
522
523
|
}
|
|
523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfDatepickerRangeDirective, decorators: [{
|
|
524
525
|
type: Directive,
|
|
525
526
|
args: [{
|
|
526
527
|
exportAs: 'dfDatepickerRange',
|
|
@@ -615,28 +616,28 @@ class DfDatepickerRangeService {
|
|
|
615
616
|
this.toDate = this.toDate ? this.parseInput(this.toDate, typed) : null;
|
|
616
617
|
this.toDateAsStr = this.formatter.format(this.toDate);
|
|
617
618
|
}
|
|
618
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
619
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
619
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfDatepickerRangeService, deps: [{ token: i1.NgbCalendar }, { token: i1.NgbDateParserFormatter }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
620
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfDatepickerRangeService }); }
|
|
620
621
|
}
|
|
621
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfDatepickerRangeService, decorators: [{
|
|
622
623
|
type: Injectable
|
|
623
624
|
}], ctorParameters: () => [{ type: i1.NgbCalendar }, { type: i1.NgbDateParserFormatter }] });
|
|
624
625
|
|
|
625
626
|
class DfDatePickerModule {
|
|
626
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
627
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
627
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfDatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
628
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfDatePickerModule, imports: [NgbDropdownModule, CloseInputDatePickerDirective, DfDatepickerRangeDirective], exports: [CloseInputDatePickerDirective,
|
|
628
629
|
NgbDatepickerModule,
|
|
629
630
|
DfAdvancedInputModule,
|
|
630
631
|
DfDatepickerRangeDirective,
|
|
631
632
|
NgbDropdownModule] }); }
|
|
632
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
633
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfDatePickerModule, providers: [
|
|
633
634
|
{ provide: NgbDatepickerKeyboardService, useClass: DfDatepickerKeyboardService },
|
|
634
635
|
DfDatepickerRangeService
|
|
635
636
|
], imports: [NgbDropdownModule, NgbDatepickerModule,
|
|
636
637
|
DfAdvancedInputModule,
|
|
637
638
|
NgbDropdownModule] }); }
|
|
638
639
|
}
|
|
639
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
640
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfDatePickerModule, decorators: [{
|
|
640
641
|
type: NgModule,
|
|
641
642
|
args: [{
|
|
642
643
|
imports: [NgbDropdownModule, CloseInputDatePickerDirective, DfDatepickerRangeDirective],
|
|
@@ -738,10 +739,10 @@ class DfBreakpoints {
|
|
|
738
739
|
}
|
|
739
740
|
return dict;
|
|
740
741
|
}
|
|
741
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
742
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
742
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfBreakpoints, deps: [{ token: BREAKPOINTS_VARS }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
743
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfBreakpoints, providedIn: 'root' }); }
|
|
743
744
|
}
|
|
744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
745
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfBreakpoints, decorators: [{
|
|
745
746
|
type: Injectable,
|
|
746
747
|
args: [{ providedIn: 'root' }]
|
|
747
748
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -766,10 +767,10 @@ class DfMediaQuery {
|
|
|
766
767
|
return this.notSupported(query);
|
|
767
768
|
}
|
|
768
769
|
}
|
|
769
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
770
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
770
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfMediaQuery, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
771
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfMediaQuery, providedIn: 'root' }); }
|
|
771
772
|
}
|
|
772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfMediaQuery, decorators: [{
|
|
773
774
|
type: Injectable,
|
|
774
775
|
args: [{ providedIn: 'root' }]
|
|
775
776
|
}], ctorParameters: () => [{ type: Object, decorators: [{
|
|
@@ -826,10 +827,10 @@ class DfMediaObserver {
|
|
|
826
827
|
this._queries.set(query, meta);
|
|
827
828
|
return meta;
|
|
828
829
|
}
|
|
829
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
830
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
830
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfMediaObserver, deps: [{ token: DfMediaQuery }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
831
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfMediaObserver, providedIn: 'root' }); }
|
|
831
832
|
}
|
|
832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfMediaObserver, decorators: [{
|
|
833
834
|
type: Injectable,
|
|
834
835
|
args: [{ providedIn: 'root' }]
|
|
835
836
|
}], ctorParameters: () => [{ type: DfMediaQuery }] });
|
|
@@ -868,10 +869,10 @@ class DfMedia {
|
|
|
868
869
|
return this.mediaObserver.observe(query);
|
|
869
870
|
}), map(value => value.matches), distinctUntilChanged());
|
|
870
871
|
}
|
|
871
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
872
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
872
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfMedia, deps: [{ token: DfMediaObserver }, { token: DfBreakpoints }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
873
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfMedia, providedIn: 'root' }); }
|
|
873
874
|
}
|
|
874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfMedia, decorators: [{
|
|
875
876
|
type: Injectable,
|
|
876
877
|
args: [{ providedIn: 'root' }]
|
|
877
878
|
}], ctorParameters: () => [{ type: DfMediaObserver }, { type: DfBreakpoints }] });
|
|
@@ -914,10 +915,10 @@ class DfIfMediaDirective {
|
|
|
914
915
|
this._viewInstance = null;
|
|
915
916
|
}
|
|
916
917
|
}
|
|
917
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
918
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
918
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfIfMediaDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: DfMedia }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
919
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfIfMediaDirective, isStandalone: true, selector: "[dfIfMedia]", inputs: { dfIfMedia: "dfIfMedia" }, ngImport: i0 }); }
|
|
919
920
|
}
|
|
920
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
921
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfIfMediaDirective, decorators: [{
|
|
921
922
|
type: Directive,
|
|
922
923
|
args: [{ selector: '[dfIfMedia]', standalone: true }]
|
|
923
924
|
}], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: DfMedia }], propDecorators: { dfIfMedia: [{
|
|
@@ -925,11 +926,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
925
926
|
}] } });
|
|
926
927
|
|
|
927
928
|
class DfMediaModule {
|
|
928
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
929
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
930
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
929
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfMediaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
930
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfMediaModule, imports: [DfIfMediaDirective], exports: [DfIfMediaDirective] }); }
|
|
931
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfMediaModule }); }
|
|
931
932
|
}
|
|
932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfMediaModule, decorators: [{
|
|
933
934
|
type: NgModule,
|
|
934
935
|
args: [{
|
|
935
936
|
imports: [DfIfMediaDirective],
|
|
@@ -938,11 +939,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
938
939
|
}] });
|
|
939
940
|
|
|
940
941
|
class DfFooterModule {
|
|
941
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
942
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
943
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
942
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfFooterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
943
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfFooterModule, imports: [DfMediaModule, NgbAccordionModule], exports: [DfMediaModule, NgbAccordionModule] }); }
|
|
944
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfFooterModule, imports: [DfMediaModule, NgbAccordionModule, DfMediaModule, NgbAccordionModule] }); }
|
|
944
945
|
}
|
|
945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
946
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfFooterModule, decorators: [{
|
|
946
947
|
type: NgModule,
|
|
947
948
|
args: [{
|
|
948
949
|
imports: [DfMediaModule, NgbAccordionModule],
|
|
@@ -951,8 +952,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
951
952
|
}] });
|
|
952
953
|
|
|
953
954
|
class DfAmadeusIconComponent {
|
|
954
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
955
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
955
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfAmadeusIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
956
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: DfAmadeusIconComponent, isStandalone: true, selector: "df-amadeus-icon", ngImport: i0, template: `
|
|
956
957
|
<svg
|
|
957
958
|
version="1.1"
|
|
958
959
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -988,7 +989,7 @@ class DfAmadeusIconComponent {
|
|
|
988
989
|
</svg>
|
|
989
990
|
`, 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"] }); }
|
|
990
991
|
}
|
|
991
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
992
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfAmadeusIconComponent, decorators: [{
|
|
992
993
|
type: Component,
|
|
993
994
|
args: [{ selector: 'df-amadeus-icon', template: `
|
|
994
995
|
<svg
|
|
@@ -1028,11 +1029,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
1028
1029
|
}] });
|
|
1029
1030
|
|
|
1030
1031
|
class DfIconModule {
|
|
1031
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1032
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1033
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1032
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1033
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfIconModule, imports: [DfAmadeusIconComponent], exports: [DfAmadeusIconComponent] }); }
|
|
1034
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfIconModule }); }
|
|
1034
1035
|
}
|
|
1035
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfIconModule, decorators: [{
|
|
1036
1037
|
type: NgModule,
|
|
1037
1038
|
args: [{
|
|
1038
1039
|
imports: [DfAmadeusIconComponent],
|
|
@@ -1063,10 +1064,10 @@ class DfModalService {
|
|
|
1063
1064
|
});
|
|
1064
1065
|
return modalRef;
|
|
1065
1066
|
}
|
|
1066
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1067
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1067
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfModalService, deps: [{ token: i1.NgbModal }, { token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1068
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfModalService, providedIn: 'root' }); }
|
|
1068
1069
|
}
|
|
1069
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1070
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfModalService, decorators: [{
|
|
1070
1071
|
type: Injectable,
|
|
1071
1072
|
args: [{
|
|
1072
1073
|
providedIn: 'root'
|
|
@@ -1078,19 +1079,19 @@ class DfPopoverConfig extends NgbPopoverConfig {
|
|
|
1078
1079
|
super(...arguments);
|
|
1079
1080
|
this.autoClose = 'outside';
|
|
1080
1081
|
}
|
|
1081
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1082
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1082
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfPopoverConfig, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1083
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfPopoverConfig }); }
|
|
1083
1084
|
}
|
|
1084
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1085
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfPopoverConfig, decorators: [{
|
|
1085
1086
|
type: Injectable
|
|
1086
1087
|
}] });
|
|
1087
1088
|
|
|
1088
1089
|
class DfPopoverModule {
|
|
1089
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1090
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1091
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1090
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1091
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfPopoverModule, exports: [NgbPopoverModule] }); }
|
|
1092
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfPopoverModule, providers: [{ provide: NgbPopoverConfig, useClass: DfPopoverConfig }], imports: [NgbPopoverModule] }); }
|
|
1092
1093
|
}
|
|
1093
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1094
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfPopoverModule, decorators: [{
|
|
1094
1095
|
type: NgModule,
|
|
1095
1096
|
args: [{
|
|
1096
1097
|
exports: [NgbPopoverModule],
|
|
@@ -1226,10 +1227,10 @@ class DfProgressbarComponent {
|
|
|
1226
1227
|
this.value = 0;
|
|
1227
1228
|
this.maxValue = 100;
|
|
1228
1229
|
}
|
|
1229
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1230
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1230
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfProgressbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1231
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: DfProgressbarComponent, isStandalone: true, selector: "df-progressbar", inputs: { infiniteAnimation: "infiniteAnimation", value: "value", maxValue: "maxValue", text: "text", start$: "start$", end$: "end$", ariaLabelledBy: "ariaLabelledBy", ariaLabel: "ariaLabel" }, outputs: { percentageValueChange: "percentageValueChange" }, ngImport: i0, template: "@if (displayProgressBar) {\n @if (computedText) {\n <div class=\"progressbar-text mb-2\">{{ computedText }}</div>\n }\n @if (infiniteAnimation) {\n <div\n class=\"progress\"\n role=\"progressbar\"\n aria-valuetext=\"indeterminate\"\n [attr.aria-labelledby]=\"ariaLabelledBy || null\"\n [attr.aria-label]=\"!ariaLabelledBy && ariaLabel ? ariaLabel : null\"\n >\n <div class=\"progress-bar infinite-animation\"></div>\n </div>\n } @else {\n <div\n class=\"progress\"\n role=\"progressbar\"\n [attr.aria-valuenow]=\"value\"\n aria-valuemin=\"0\"\n [attr.aria-valuemax]=\"maxValue\"\n [attr.aria-valuetext]=\"computedText ? 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" }); }
|
|
1231
1232
|
}
|
|
1232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfProgressbarComponent, decorators: [{
|
|
1233
1234
|
type: Component,
|
|
1234
1235
|
args: [{ selector: 'df-progressbar', standalone: true, template: "@if (displayProgressBar) {\n @if (computedText) {\n <div class=\"progressbar-text mb-2\">{{ computedText }}</div>\n }\n @if (infiniteAnimation) {\n <div\n class=\"progress\"\n role=\"progressbar\"\n aria-valuetext=\"indeterminate\"\n [attr.aria-labelledby]=\"ariaLabelledBy || null\"\n [attr.aria-label]=\"!ariaLabelledBy && ariaLabel ? ariaLabel : null\"\n >\n <div class=\"progress-bar infinite-animation\"></div>\n </div>\n } @else {\n <div\n class=\"progress\"\n role=\"progressbar\"\n [attr.aria-valuenow]=\"value\"\n aria-valuemin=\"0\"\n [attr.aria-valuemax]=\"maxValue\"\n [attr.aria-valuetext]=\"computedText ? 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" }]
|
|
1235
1236
|
}], propDecorators: { infiniteAnimation: [{
|
|
@@ -1253,11 +1254,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
1253
1254
|
}] } });
|
|
1254
1255
|
|
|
1255
1256
|
class DfProgressbarModule {
|
|
1256
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1257
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1258
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1257
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfProgressbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1258
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfProgressbarModule, imports: [DfProgressbarComponent], exports: [DfProgressbarComponent, NgbProgressbarModule] }); }
|
|
1259
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfProgressbarModule, imports: [NgbProgressbarModule] }); }
|
|
1259
1260
|
}
|
|
1260
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfProgressbarModule, decorators: [{
|
|
1261
1262
|
type: NgModule,
|
|
1262
1263
|
args: [{
|
|
1263
1264
|
imports: [DfProgressbarComponent],
|
|
@@ -1314,12 +1315,12 @@ class DfProgressIndicatorContainerComponent {
|
|
|
1314
1315
|
get position() {
|
|
1315
1316
|
return this._position;
|
|
1316
1317
|
}
|
|
1317
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1318
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1318
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfProgressIndicatorContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1319
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: DfProgressIndicatorContainerComponent, isStandalone: true, selector: "df-progressindicator-container", inputs: { containerClass: "containerClass", position: "position" }, host: { properties: { "class": "this.classes" } }, ngImport: i0, template: `
|
|
1319
1320
|
<ng-content></ng-content>
|
|
1320
1321
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1321
1322
|
}
|
|
1322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1323
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfProgressIndicatorContainerComponent, decorators: [{
|
|
1323
1324
|
type: Component,
|
|
1324
1325
|
args: [{
|
|
1325
1326
|
selector: 'df-progressindicator-container',
|
|
@@ -1344,10 +1345,10 @@ class DfDefaultSpinnerComponent {
|
|
|
1344
1345
|
this.isGlobalSpinner = false;
|
|
1345
1346
|
this.contentClass = 'spinner-border text-primary';
|
|
1346
1347
|
}
|
|
1347
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1348
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1348
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfDefaultSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1349
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: DfDefaultSpinnerComponent, isStandalone: true, selector: "df-default-spinner", inputs: { isGlobalSpinner: "isGlobalSpinner", contentClass: "contentClass", ariaLabel: "ariaLabel" }, ngImport: i0, template: "<div [ngClass]=\"contentClass\" [attr.role]=\"isGlobalSpinner ? 'alert' : 'status'\">\n <span class=\"visually-hidden\">\n @if (ariaLabel) {\n {{ ariaLabel }}\n } @else {\n <ng-container i18n=\"@@df.progressindicator.default.spinner.ariaLabel\">Loading...</ng-container>\n }\n </span>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1349
1350
|
}
|
|
1350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfDefaultSpinnerComponent, decorators: [{
|
|
1351
1352
|
type: Component,
|
|
1352
1353
|
args: [{ selector: 'df-default-spinner', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule], template: "<div [ngClass]=\"contentClass\" [attr.role]=\"isGlobalSpinner ? 'alert' : 'status'\">\n <span class=\"visually-hidden\">\n @if (ariaLabel) {\n {{ ariaLabel }}\n } @else {\n <ng-container i18n=\"@@df.progressindicator.default.spinner.ariaLabel\">Loading...</ng-container>\n }\n </span>\n</div>\n" }]
|
|
1353
1354
|
}], propDecorators: { isGlobalSpinner: [{
|
|
@@ -1365,10 +1366,10 @@ class DfProgressIndicatorBackdropComponent {
|
|
|
1365
1366
|
get classes() {
|
|
1366
1367
|
return `df-progressindicator-backdrop ${this.backdropClass || ''} ${this.isGlobalBackdrop ? 'df-progressindicator-backdrop-global' : 'df-progressindicator-backdrop-contextual'}`;
|
|
1367
1368
|
}
|
|
1368
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1369
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1369
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfProgressIndicatorBackdropComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1370
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: DfProgressIndicatorBackdropComponent, isStandalone: true, selector: "df-progressindicator-backdrop", inputs: { backdropClass: "backdropClass", isGlobalBackdrop: "isGlobalBackdrop" }, host: { properties: { "class": "this.classes" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1370
1371
|
}
|
|
1371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfProgressIndicatorBackdropComponent, decorators: [{
|
|
1372
1373
|
type: Component,
|
|
1373
1374
|
args: [{
|
|
1374
1375
|
selector: 'df-progressindicator-backdrop',
|
|
@@ -1458,10 +1459,10 @@ class ScrollBar {
|
|
|
1458
1459
|
body.removeChild(measurer);
|
|
1459
1460
|
return width;
|
|
1460
1461
|
}
|
|
1461
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1462
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1462
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ScrollBar, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1463
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ScrollBar, providedIn: 'root' }); }
|
|
1463
1464
|
}
|
|
1464
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ScrollBar, decorators: [{
|
|
1465
1466
|
type: Injectable,
|
|
1466
1467
|
args: [{ providedIn: 'root' }]
|
|
1467
1468
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -1616,10 +1617,10 @@ class DfProgressIndicatorService {
|
|
|
1616
1617
|
});
|
|
1617
1618
|
}
|
|
1618
1619
|
}
|
|
1619
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1620
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1620
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfProgressIndicatorService, deps: [{ token: DOCUMENT }, { token: i0.RendererFactory2 }, { token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }, { token: ScrollBar }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1621
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfProgressIndicatorService, providedIn: 'root' }); }
|
|
1621
1622
|
}
|
|
1622
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1623
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfProgressIndicatorService, decorators: [{
|
|
1623
1624
|
type: Injectable,
|
|
1624
1625
|
args: [{
|
|
1625
1626
|
providedIn: 'root'
|
|
@@ -1650,10 +1651,10 @@ class DfProgressIndicatorDirective {
|
|
|
1650
1651
|
}
|
|
1651
1652
|
}
|
|
1652
1653
|
}
|
|
1653
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1654
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1654
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfProgressIndicatorDirective, deps: [{ token: i0.ElementRef }, { token: DfProgressIndicatorService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1655
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfProgressIndicatorDirective, isStandalone: true, selector: "[dfProgressIndicator]", inputs: { dfProgressIndicator: "dfProgressIndicator", dfProgressIndicatorConfig: "dfProgressIndicatorConfig" }, usesOnChanges: true, ngImport: i0 }); }
|
|
1655
1656
|
}
|
|
1656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1657
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfProgressIndicatorDirective, decorators: [{
|
|
1657
1658
|
type: Directive,
|
|
1658
1659
|
args: [{
|
|
1659
1660
|
selector: '[dfProgressIndicator]',
|
|
@@ -1666,8 +1667,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
1666
1667
|
}] } });
|
|
1667
1668
|
|
|
1668
1669
|
class DfProgressIndicatorModule {
|
|
1669
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1670
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1670
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfProgressIndicatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1671
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfProgressIndicatorModule, imports: [DfDefaultSpinnerComponent,
|
|
1671
1672
|
DfProgressbarModule,
|
|
1672
1673
|
DfProgressIndicatorBackdropComponent,
|
|
1673
1674
|
DfProgressIndicatorContainerComponent,
|
|
@@ -1676,10 +1677,10 @@ class DfProgressIndicatorModule {
|
|
|
1676
1677
|
DfProgressIndicatorDirective,
|
|
1677
1678
|
DfProgressIndicatorBackdropComponent,
|
|
1678
1679
|
DfDefaultSpinnerComponent] }); }
|
|
1679
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1680
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfProgressIndicatorModule, imports: [DfDefaultSpinnerComponent,
|
|
1680
1681
|
DfProgressbarModule, DfProgressbarModule] }); }
|
|
1681
1682
|
}
|
|
1682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfProgressIndicatorModule, decorators: [{
|
|
1683
1684
|
type: NgModule,
|
|
1684
1685
|
args: [{
|
|
1685
1686
|
imports: [
|
|
@@ -1699,6 +1700,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
1699
1700
|
}]
|
|
1700
1701
|
}] });
|
|
1701
1702
|
|
|
1703
|
+
/**
|
|
1704
|
+
* @deprecated DfSliderDirectionDirective is deprecated. Use {@link https://design-factory-int.app.net6.paas.westeurope.rnd.az.amadeus.net/#/components/slider/agnosui AgnosUI Slider} instead.
|
|
1705
|
+
*/
|
|
1702
1706
|
class DfSliderDirectionDirective {
|
|
1703
1707
|
constructor(elementRef, rtlDirectionService) {
|
|
1704
1708
|
this.elementRef = elementRef;
|
|
@@ -1712,10 +1716,10 @@ class DfSliderDirectionDirective {
|
|
|
1712
1716
|
}
|
|
1713
1717
|
}
|
|
1714
1718
|
}
|
|
1715
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1716
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1719
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSliderDirectionDirective, deps: [{ token: i0.ElementRef }, { token: DfDirectionDetectionService, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1720
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfSliderDirectionDirective, isStandalone: true, selector: "[dfSliderDirection]", inputs: { host: ["dfSliderDirection", "host"] }, ngImport: i0 }); }
|
|
1717
1721
|
}
|
|
1718
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1722
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSliderDirectionDirective, decorators: [{
|
|
1719
1723
|
type: Directive,
|
|
1720
1724
|
args: [{
|
|
1721
1725
|
selector: '[dfSliderDirection]',
|
|
@@ -2019,6 +2023,9 @@ class EventListenerHelper {
|
|
|
2019
2023
|
}
|
|
2020
2024
|
}
|
|
2021
2025
|
|
|
2026
|
+
/**
|
|
2027
|
+
* @deprecated SliderElementDirective is deprecated. Use {@link https://design-factory-int.app.net6.paas.westeurope.rnd.az.amadeus.net/#/components/slider/agnosui AgnosUI Slider} instead.
|
|
2028
|
+
*/
|
|
2022
2029
|
class SliderElementDirective {
|
|
2023
2030
|
get position() {
|
|
2024
2031
|
return this._position;
|
|
@@ -2167,12 +2174,12 @@ class SliderElementDirective {
|
|
|
2167
2174
|
this.eventListeners = listenersToKeep;
|
|
2168
2175
|
}
|
|
2169
2176
|
isRefDestroyed() {
|
|
2170
|
-
return ValueHelper.isNullOrUndefined(this.changeDetectionRef) || this.changeDetectionRef['destroyed'];
|
|
2177
|
+
return (ValueHelper.isNullOrUndefined(this.changeDetectionRef) || this.changeDetectionRef['destroyed']);
|
|
2171
2178
|
}
|
|
2172
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2173
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2179
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SliderElementDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2180
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", 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 }); }
|
|
2174
2181
|
}
|
|
2175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SliderElementDirective, decorators: [{
|
|
2176
2183
|
type: Directive,
|
|
2177
2184
|
args: [{
|
|
2178
2185
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2202,10 +2209,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
2202
2209
|
args: ['style.transform']
|
|
2203
2210
|
}] } });
|
|
2204
2211
|
|
|
2212
|
+
/**
|
|
2213
|
+
* @deprecated SliderHandleDirective is deprecated. Use {@link https://design-factory-int.app.net6.paas.westeurope.rnd.az.amadeus.net/#/components/slider/agnosui AgnosUI Slider} instead.
|
|
2214
|
+
*/
|
|
2205
2215
|
class SliderHandleDirective extends SliderElementDirective {
|
|
2206
|
-
focus() {
|
|
2207
|
-
this.elemRef.nativeElement.focus();
|
|
2208
|
-
}
|
|
2209
2216
|
constructor(elemRef, renderer, changeDetectionRef) {
|
|
2210
2217
|
super(elemRef, renderer, changeDetectionRef);
|
|
2211
2218
|
this.active = false;
|
|
@@ -2219,10 +2226,13 @@ class SliderHandleDirective extends SliderElementDirective {
|
|
|
2219
2226
|
this.ariaValueMin = '';
|
|
2220
2227
|
this.ariaValueMax = '';
|
|
2221
2228
|
}
|
|
2222
|
-
|
|
2223
|
-
|
|
2229
|
+
focus() {
|
|
2230
|
+
this.elemRef.nativeElement.focus();
|
|
2231
|
+
}
|
|
2232
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SliderHandleDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2233
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", 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 }); }
|
|
2224
2234
|
}
|
|
2225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SliderHandleDirective, decorators: [{
|
|
2226
2236
|
type: Directive,
|
|
2227
2237
|
args: [{
|
|
2228
2238
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2261,6 +2271,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
2261
2271
|
args: ['attr.aria-valuemax']
|
|
2262
2272
|
}] } });
|
|
2263
2273
|
|
|
2274
|
+
/**
|
|
2275
|
+
* @deprecated SliderLabelDirective is deprecated. Use {@link https://design-factory-int.app.net6.paas.westeurope.rnd.az.amadeus.net/#/components/slider/agnosui AgnosUI Slider} instead.
|
|
2276
|
+
*/
|
|
2264
2277
|
class SliderLabelDirective extends SliderElementDirective {
|
|
2265
2278
|
get value() {
|
|
2266
2279
|
return this._value || '';
|
|
@@ -2283,10 +2296,10 @@ class SliderLabelDirective extends SliderElementDirective {
|
|
|
2283
2296
|
this.calculateDimension();
|
|
2284
2297
|
}
|
|
2285
2298
|
}
|
|
2286
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2287
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2299
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SliderLabelDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2300
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: SliderLabelDirective, isStandalone: true, selector: "[ngxSliderLabel]", usesInheritance: true, ngImport: i0 }); }
|
|
2288
2301
|
}
|
|
2289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SliderLabelDirective, decorators: [{
|
|
2290
2303
|
type: Directive,
|
|
2291
2304
|
args: [{
|
|
2292
2305
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2295,11 +2308,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
2295
2308
|
}]
|
|
2296
2309
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }] });
|
|
2297
2310
|
|
|
2311
|
+
/**
|
|
2312
|
+
* @deprecated TooltipWrapperComponent is deprecated. Use {@link https://design-factory-int.app.net6.paas.westeurope.rnd.az.amadeus.net/#/components/slider/agnosui AgnosUI Slider} instead.
|
|
2313
|
+
*/
|
|
2298
2314
|
class TooltipWrapperComponent {
|
|
2299
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2300
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2315
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: TooltipWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2316
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", 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 }); }
|
|
2301
2317
|
}
|
|
2302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: TooltipWrapperComponent, decorators: [{
|
|
2303
2319
|
type: Component,
|
|
2304
2320
|
args: [{ selector: 'ngx-slider-tooltip-wrapper', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, 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"] }]
|
|
2305
2321
|
}], propDecorators: { template: [{
|
|
@@ -2347,9 +2363,7 @@ class ModelChange extends ModelValues {
|
|
|
2347
2363
|
if (ValueHelper.isNullOrUndefined(x) !== ValueHelper.isNullOrUndefined(y)) {
|
|
2348
2364
|
return false;
|
|
2349
2365
|
}
|
|
2350
|
-
return x.value === y.value &&
|
|
2351
|
-
x.highValue === y.highValue &&
|
|
2352
|
-
x.forceChange === y.forceChange;
|
|
2366
|
+
return x.value === y.value && x.highValue === y.highValue && x.forceChange === y.forceChange;
|
|
2353
2367
|
}
|
|
2354
2368
|
}
|
|
2355
2369
|
class InputModelChange extends ModelChange {
|
|
@@ -2362,6 +2376,9 @@ const NGX_SLIDER_CONTROL_VALUE_ACCESSOR = {
|
|
|
2362
2376
|
useExisting: forwardRef(() => SliderComponent),
|
|
2363
2377
|
multi: true
|
|
2364
2378
|
};
|
|
2379
|
+
/**
|
|
2380
|
+
* @deprecated SliderComponent is deprecated. Use {@link https://design-factory-int.app.net6.paas.westeurope.rnd.az.amadeus.net/#/components/slider/agnosui AgnosUI Slider} instead.
|
|
2381
|
+
*/
|
|
2365
2382
|
class SliderComponent {
|
|
2366
2383
|
// Input event that triggers slider refresh (re-positioning of slider elements)
|
|
2367
2384
|
set manualRefresh(manualRefresh) {
|
|
@@ -2494,8 +2511,7 @@ class SliderComponent {
|
|
|
2494
2511
|
this.onChangeOptions();
|
|
2495
2512
|
}
|
|
2496
2513
|
// Then value changes
|
|
2497
|
-
if (!ValueHelper.isNullOrUndefined(changes['value']) ||
|
|
2498
|
-
!ValueHelper.isNullOrUndefined(changes['highValue'])) {
|
|
2514
|
+
if (!ValueHelper.isNullOrUndefined(changes['value']) || !ValueHelper.isNullOrUndefined(changes['highValue'])) {
|
|
2499
2515
|
this.inputModelChangeSubject.next({
|
|
2500
2516
|
value: this.value,
|
|
2501
2517
|
highValue: this.highValue,
|
|
@@ -2646,7 +2662,7 @@ class SliderComponent {
|
|
|
2646
2662
|
}
|
|
2647
2663
|
getStepValue(sliderValue) {
|
|
2648
2664
|
const step = this.viewOptions.stepsArray[sliderValue];
|
|
2649
|
-
return
|
|
2665
|
+
return !ValueHelper.isNullOrUndefined(step) ? step.value : NaN;
|
|
2650
2666
|
}
|
|
2651
2667
|
applyViewChange() {
|
|
2652
2668
|
this.value = this.viewValueToModelValue(this.viewLowValue);
|
|
@@ -2737,7 +2753,9 @@ class SliderComponent {
|
|
|
2737
2753
|
else {
|
|
2738
2754
|
// But, if the change was initated by something else like a change in input bindings,
|
|
2739
2755
|
// we need to wait until next tick to emit the outputs to keep Angular change detection happy
|
|
2740
|
-
setTimeout(() => {
|
|
2756
|
+
setTimeout(() => {
|
|
2757
|
+
emitOutputs();
|
|
2758
|
+
});
|
|
2741
2759
|
}
|
|
2742
2760
|
}
|
|
2743
2761
|
normaliseModelValues(input) {
|
|
@@ -2831,16 +2849,19 @@ class SliderComponent {
|
|
|
2831
2849
|
if (this.viewOptions.draggableRangeOnly) {
|
|
2832
2850
|
this.viewOptions.draggableRange = true;
|
|
2833
2851
|
}
|
|
2834
|
-
this.viewOptions.showTicks =
|
|
2835
|
-
this.viewOptions.
|
|
2836
|
-
|
|
2852
|
+
this.viewOptions.showTicks =
|
|
2853
|
+
this.viewOptions.showTicks ||
|
|
2854
|
+
this.viewOptions.showTicksValues ||
|
|
2855
|
+
!ValueHelper.isNullOrUndefined(this.viewOptions.ticksArray);
|
|
2837
2856
|
if (this.viewOptions.showTicks &&
|
|
2838
|
-
(!ValueHelper.isNullOrUndefined(this.viewOptions.tickStep) ||
|
|
2857
|
+
(!ValueHelper.isNullOrUndefined(this.viewOptions.tickStep) ||
|
|
2858
|
+
!ValueHelper.isNullOrUndefined(this.viewOptions.ticksArray))) {
|
|
2839
2859
|
this.intermediateTicks = true;
|
|
2840
2860
|
}
|
|
2841
|
-
this.viewOptions.showSelectionBar =
|
|
2842
|
-
this.viewOptions.
|
|
2843
|
-
|
|
2861
|
+
this.viewOptions.showSelectionBar =
|
|
2862
|
+
this.viewOptions.showSelectionBar ||
|
|
2863
|
+
this.viewOptions.showSelectionBarEnd ||
|
|
2864
|
+
!ValueHelper.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue);
|
|
2844
2865
|
if (!ValueHelper.isNullOrUndefined(this.viewOptions.stepsArray)) {
|
|
2845
2866
|
this.applyStepsArrayOptions();
|
|
2846
2867
|
}
|
|
@@ -2853,7 +2874,7 @@ class SliderComponent {
|
|
|
2853
2874
|
};
|
|
2854
2875
|
}
|
|
2855
2876
|
if (this.viewOptions.logScale && this.viewOptions.floor === 0) {
|
|
2856
|
-
throw Error(
|
|
2877
|
+
throw Error("Can't use floor=0 with logarithmic scale");
|
|
2857
2878
|
}
|
|
2858
2879
|
}
|
|
2859
2880
|
applyStepsArrayOptions() {
|
|
@@ -2879,8 +2900,7 @@ class SliderComponent {
|
|
|
2879
2900
|
this.viewOptions.step = 1;
|
|
2880
2901
|
}
|
|
2881
2902
|
}
|
|
2882
|
-
if (ValueHelper.isNullOrUndefined(this.viewOptions.ceil) ||
|
|
2883
|
-
ValueHelper.isNullOrUndefined(this.viewOptions.floor)) {
|
|
2903
|
+
if (ValueHelper.isNullOrUndefined(this.viewOptions.ceil) || ValueHelper.isNullOrUndefined(this.viewOptions.floor)) {
|
|
2884
2904
|
throw Error('floor and ceil options must be supplied');
|
|
2885
2905
|
}
|
|
2886
2906
|
this.viewOptions.ceil = +this.viewOptions.ceil;
|
|
@@ -2944,12 +2964,16 @@ class SliderComponent {
|
|
|
2944
2964
|
// The above change in host component class will not be applied until the end of this cycle
|
|
2945
2965
|
// However, functions calculating the slider position expect the slider to be already styled as vertical
|
|
2946
2966
|
// So as a workaround, we need to reset the slider once again to compute the correct values
|
|
2947
|
-
setTimeout(() => {
|
|
2967
|
+
setTimeout(() => {
|
|
2968
|
+
this.resetSlider();
|
|
2969
|
+
});
|
|
2948
2970
|
}
|
|
2949
2971
|
// Changing animate class may interfere with slider reset/initialisation, so we should set it separately,
|
|
2950
2972
|
// after all is properly set up
|
|
2951
2973
|
if (this.sliderElementAnimateClass !== this.viewOptions.animate) {
|
|
2952
|
-
setTimeout(() => {
|
|
2974
|
+
setTimeout(() => {
|
|
2975
|
+
this.sliderElementAnimateClass = this.viewOptions.animate;
|
|
2976
|
+
});
|
|
2953
2977
|
}
|
|
2954
2978
|
this.updateRotate();
|
|
2955
2979
|
}
|
|
@@ -2991,7 +3015,8 @@ class SliderComponent {
|
|
|
2991
3015
|
}
|
|
2992
3016
|
}
|
|
2993
3017
|
getAllSliderElements() {
|
|
2994
|
-
return [
|
|
3018
|
+
return [
|
|
3019
|
+
this.leftOuterSelectionBarElement,
|
|
2995
3020
|
this.rightOuterSelectionBarElement,
|
|
2996
3021
|
this.fullBarElement,
|
|
2997
3022
|
this.selectionBarElement,
|
|
@@ -3026,14 +3051,14 @@ class SliderComponent {
|
|
|
3026
3051
|
addAccessibility() {
|
|
3027
3052
|
this.updateAriaAttributes();
|
|
3028
3053
|
this.minHandleElement.role = 'slider';
|
|
3029
|
-
if (this.viewOptions.keyboardSupport &&
|
|
3030
|
-
!(this.viewOptions.readOnly || this.viewOptions.disabled)) {
|
|
3054
|
+
if (this.viewOptions.keyboardSupport && !(this.viewOptions.readOnly || this.viewOptions.disabled)) {
|
|
3031
3055
|
this.minHandleElement.tabindex = '0';
|
|
3032
3056
|
}
|
|
3033
3057
|
else {
|
|
3034
3058
|
this.minHandleElement.tabindex = '';
|
|
3035
3059
|
}
|
|
3036
|
-
this.minHandleElement.ariaOrientation =
|
|
3060
|
+
this.minHandleElement.ariaOrientation =
|
|
3061
|
+
this.viewOptions.vertical || this.viewOptions.rotate !== 0 ? 'vertical' : 'horizontal';
|
|
3037
3062
|
if (!ValueHelper.isNullOrUndefined(this.viewOptions.ariaLabel)) {
|
|
3038
3063
|
this.minHandleElement.ariaLabel = this.viewOptions.ariaLabel;
|
|
3039
3064
|
}
|
|
@@ -3042,14 +3067,14 @@ class SliderComponent {
|
|
|
3042
3067
|
}
|
|
3043
3068
|
if (this.range) {
|
|
3044
3069
|
this.maxHandleElement.role = 'slider';
|
|
3045
|
-
if (this.viewOptions.keyboardSupport &&
|
|
3046
|
-
!(this.viewOptions.readOnly || this.viewOptions.disabled)) {
|
|
3070
|
+
if (this.viewOptions.keyboardSupport && !(this.viewOptions.readOnly || this.viewOptions.disabled)) {
|
|
3047
3071
|
this.maxHandleElement.tabindex = '0';
|
|
3048
3072
|
}
|
|
3049
3073
|
else {
|
|
3050
3074
|
this.maxHandleElement.tabindex = '';
|
|
3051
3075
|
}
|
|
3052
|
-
this.maxHandleElement.ariaOrientation =
|
|
3076
|
+
this.maxHandleElement.ariaOrientation =
|
|
3077
|
+
this.viewOptions.vertical || this.viewOptions.rotate !== 0 ? 'vertical' : 'horizontal';
|
|
3053
3078
|
if (!ValueHelper.isNullOrUndefined(this.viewOptions.ariaLabelHigh)) {
|
|
3054
3079
|
this.maxHandleElement.ariaLabel = this.viewOptions.ariaLabelHigh;
|
|
3055
3080
|
}
|
|
@@ -3111,7 +3136,9 @@ class SliderComponent {
|
|
|
3111
3136
|
// Update the ticks position
|
|
3112
3137
|
updateTicksScale() {
|
|
3113
3138
|
if (!this.viewOptions.showTicks) {
|
|
3114
|
-
setTimeout(() => {
|
|
3139
|
+
setTimeout(() => {
|
|
3140
|
+
this.sliderElementWithLegendClass = false;
|
|
3141
|
+
});
|
|
3115
3142
|
return;
|
|
3116
3143
|
}
|
|
3117
3144
|
const ticksArray = !ValueHelper.isNullOrUndefined(this.viewOptions.ticksArray)
|
|
@@ -3121,8 +3148,11 @@ class SliderComponent {
|
|
|
3121
3148
|
if (this.viewOptions.rightToLeft) {
|
|
3122
3149
|
ticksArray.reverse();
|
|
3123
3150
|
}
|
|
3124
|
-
const tickValueStep = !ValueHelper.isNullOrUndefined(this.viewOptions.tickValueStep)
|
|
3125
|
-
|
|
3151
|
+
const tickValueStep = !ValueHelper.isNullOrUndefined(this.viewOptions.tickValueStep)
|
|
3152
|
+
? this.viewOptions.tickValueStep
|
|
3153
|
+
: !ValueHelper.isNullOrUndefined(this.viewOptions.tickStep)
|
|
3154
|
+
? this.viewOptions.tickStep
|
|
3155
|
+
: this.viewOptions.step;
|
|
3126
3156
|
let hasAtLeastOneLegend = false;
|
|
3127
3157
|
const newTicks = ticksArray.map((value) => {
|
|
3128
3158
|
let position = this.valueToPosition(value);
|
|
@@ -3149,14 +3179,13 @@ class SliderComponent {
|
|
|
3149
3179
|
tick.tooltip = this.viewOptions.ticksTooltip(value);
|
|
3150
3180
|
tick.tooltipPlacement = this.viewOptions.vertical ? 'right' : 'top';
|
|
3151
3181
|
}
|
|
3152
|
-
if (this.viewOptions.showTicksValues &&
|
|
3182
|
+
if (this.viewOptions.showTicksValues &&
|
|
3183
|
+
!ValueHelper.isNullOrUndefined(tickValueStep) &&
|
|
3153
3184
|
MathHelper.isModuloWithinPrecisionLimit(value, tickValueStep, this.viewOptions.precisionLimit)) {
|
|
3154
3185
|
tick.value = this.getDisplayValue(value, LabelType.TickValue);
|
|
3155
3186
|
if (!ValueHelper.isNullOrUndefined(this.viewOptions.ticksValuesTooltip)) {
|
|
3156
3187
|
tick.valueTooltip = this.viewOptions.ticksValuesTooltip(value);
|
|
3157
|
-
tick.valueTooltipPlacement = this.viewOptions.vertical
|
|
3158
|
-
? 'right'
|
|
3159
|
-
: 'top';
|
|
3188
|
+
tick.valueTooltipPlacement = this.viewOptions.vertical ? 'right' : 'top';
|
|
3160
3189
|
}
|
|
3161
3190
|
}
|
|
3162
3191
|
let legend;
|
|
@@ -3178,7 +3207,9 @@ class SliderComponent {
|
|
|
3178
3207
|
}
|
|
3179
3208
|
return tick;
|
|
3180
3209
|
});
|
|
3181
|
-
setTimeout(() => {
|
|
3210
|
+
setTimeout(() => {
|
|
3211
|
+
this.sliderElementWithLegendClass = hasAtLeastOneLegend;
|
|
3212
|
+
});
|
|
3182
3213
|
// We should avoid re-creating the ticks array if possible
|
|
3183
3214
|
// This both improves performance and makes CSS animations work correctly
|
|
3184
3215
|
if (!ValueHelper.isNullOrUndefined(this.ticks) && this.ticks.length === newTicks.length) {
|
|
@@ -3194,9 +3225,12 @@ class SliderComponent {
|
|
|
3194
3225
|
}
|
|
3195
3226
|
}
|
|
3196
3227
|
getTicksArray() {
|
|
3197
|
-
const step =
|
|
3228
|
+
const step = !ValueHelper.isNullOrUndefined(this.viewOptions.tickStep)
|
|
3229
|
+
? this.viewOptions.tickStep
|
|
3230
|
+
: this.viewOptions.step;
|
|
3198
3231
|
const ticksArray = [];
|
|
3199
|
-
const numberOfValues = 1 +
|
|
3232
|
+
const numberOfValues = 1 +
|
|
3233
|
+
Math.floor(MathHelper.roundToPrecisionLimit(Math.abs(this.viewOptions.ceil - this.viewOptions.floor) / step, this.viewOptions.precisionLimit));
|
|
3200
3234
|
for (let index = 0; index < numberOfValues; ++index) {
|
|
3201
3235
|
ticksArray.push(MathHelper.roundToPrecisionLimit(this.viewOptions.floor + step * index, this.viewOptions.precisionLimit));
|
|
3202
3236
|
}
|
|
@@ -3206,14 +3240,10 @@ class SliderComponent {
|
|
|
3206
3240
|
if (!this.range) {
|
|
3207
3241
|
if (!ValueHelper.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)) {
|
|
3208
3242
|
const center = this.viewOptions.showSelectionBarFromValue;
|
|
3209
|
-
if (this.viewLowValue > center &&
|
|
3210
|
-
value >= center &&
|
|
3211
|
-
value <= this.viewLowValue) {
|
|
3243
|
+
if (this.viewLowValue > center && value >= center && value <= this.viewLowValue) {
|
|
3212
3244
|
return true;
|
|
3213
3245
|
}
|
|
3214
|
-
else if (this.viewLowValue < center &&
|
|
3215
|
-
value <= center &&
|
|
3216
|
-
value >= this.viewLowValue) {
|
|
3246
|
+
else if (this.viewLowValue < center && value <= center && value >= this.viewLowValue) {
|
|
3217
3247
|
return true;
|
|
3218
3248
|
}
|
|
3219
3249
|
}
|
|
@@ -3269,9 +3299,7 @@ class SliderComponent {
|
|
|
3269
3299
|
}
|
|
3270
3300
|
// Helper function to work out the position for handle labels depending on RTL or not
|
|
3271
3301
|
getHandleLabelPos(labelType, newPos) {
|
|
3272
|
-
const labelDimension =
|
|
3273
|
-
? this.minHandleLabelElement.dimension
|
|
3274
|
-
: this.maxHandleLabelElement.dimension;
|
|
3302
|
+
const labelDimension = labelType === PointerType.Min ? this.minHandleLabelElement.dimension : this.maxHandleLabelElement.dimension;
|
|
3275
3303
|
const nearHandlePos = newPos - labelDimension / 2 + this.handleHalfDimension;
|
|
3276
3304
|
const endOfBarPos = this.fullBarElement.dimension - labelDimension;
|
|
3277
3305
|
if (!this.viewOptions.boundPointerLabels) {
|
|
@@ -3365,18 +3393,14 @@ class SliderComponent {
|
|
|
3365
3393
|
const dim = label.dimension;
|
|
3366
3394
|
const floorPos = this.floorLabelElement.position;
|
|
3367
3395
|
const floorDim = this.floorLabelElement.dimension;
|
|
3368
|
-
return this.viewOptions.rightToLeft
|
|
3369
|
-
? pos + dim >= floorPos - 2
|
|
3370
|
-
: pos <= floorPos + floorDim + 2;
|
|
3396
|
+
return this.viewOptions.rightToLeft ? pos + dim >= floorPos - 2 : pos <= floorPos + floorDim + 2;
|
|
3371
3397
|
}
|
|
3372
3398
|
isLabelAboveCeilLabel(label) {
|
|
3373
3399
|
const pos = label.position;
|
|
3374
3400
|
const dim = label.dimension;
|
|
3375
3401
|
const ceilPos = this.ceilLabelElement.position;
|
|
3376
3402
|
const ceilDim = this.ceilLabelElement.dimension;
|
|
3377
|
-
return this.viewOptions.rightToLeft
|
|
3378
|
-
? pos <= ceilPos + ceilDim + 2
|
|
3379
|
-
: pos + dim >= ceilPos - 2;
|
|
3403
|
+
return this.viewOptions.rightToLeft ? pos <= ceilPos + ceilDim + 2 : pos + dim >= ceilPos - 2;
|
|
3380
3404
|
}
|
|
3381
3405
|
// Update slider selection bar, combined label and range label
|
|
3382
3406
|
updateSelectionBar() {
|
|
@@ -3442,13 +3466,11 @@ class SliderComponent {
|
|
|
3442
3466
|
};
|
|
3443
3467
|
}
|
|
3444
3468
|
else if (!ValueHelper.isNullOrUndefined(this.viewOptions.selectionBarGradient)) {
|
|
3445
|
-
const offset =
|
|
3469
|
+
const offset = !ValueHelper.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)
|
|
3446
3470
|
? this.valueToPosition(this.viewOptions.showSelectionBarFromValue)
|
|
3447
3471
|
: 0;
|
|
3448
3472
|
const reversed = (offset - position > 0 && !isSelectionBarFromRight) || (offset - position <= 0 && isSelectionBarFromRight);
|
|
3449
|
-
const direction = this.viewOptions.vertical
|
|
3450
|
-
? reversed ? 'bottom' : 'top'
|
|
3451
|
-
: reversed ? 'left' : 'right';
|
|
3473
|
+
const direction = this.viewOptions.vertical ? (reversed ? 'bottom' : 'top') : reversed ? 'left' : 'right';
|
|
3452
3474
|
this.barStyle = {
|
|
3453
3475
|
backgroundImage: 'linear-gradient(to ' +
|
|
3454
3476
|
direction +
|
|
@@ -3460,23 +3482,12 @@ class SliderComponent {
|
|
|
3460
3482
|
};
|
|
3461
3483
|
if (this.viewOptions.vertical) {
|
|
3462
3484
|
this.barStyle.backgroundPosition =
|
|
3463
|
-
'center ' +
|
|
3464
|
-
|
|
3465
|
-
dimension +
|
|
3466
|
-
position +
|
|
3467
|
-
(reversed ? -this.handleHalfDimension : 0)) +
|
|
3468
|
-
'px';
|
|
3469
|
-
this.barStyle.backgroundSize =
|
|
3470
|
-
'100% ' + (this.fullBarElement.dimension - this.handleHalfDimension) + 'px';
|
|
3485
|
+
'center ' + (offset + dimension + position + (reversed ? -this.handleHalfDimension : 0)) + 'px';
|
|
3486
|
+
this.barStyle.backgroundSize = '100% ' + (this.fullBarElement.dimension - this.handleHalfDimension) + 'px';
|
|
3471
3487
|
}
|
|
3472
3488
|
else {
|
|
3473
|
-
this.barStyle.backgroundPosition =
|
|
3474
|
-
|
|
3475
|
-
position +
|
|
3476
|
-
(reversed ? this.handleHalfDimension : 0) +
|
|
3477
|
-
'px center';
|
|
3478
|
-
this.barStyle.backgroundSize =
|
|
3479
|
-
this.fullBarElement.dimension - this.handleHalfDimension + 'px 100%';
|
|
3489
|
+
this.barStyle.backgroundPosition = offset - position + (reversed ? this.handleHalfDimension : 0) + 'px center';
|
|
3490
|
+
this.barStyle.backgroundSize = this.fullBarElement.dimension - this.handleHalfDimension + 'px 100%';
|
|
3480
3491
|
}
|
|
3481
3492
|
}
|
|
3482
3493
|
}
|
|
@@ -3503,11 +3514,13 @@ class SliderComponent {
|
|
|
3503
3514
|
let isLabelOverlap = false;
|
|
3504
3515
|
if (this.viewOptions.rightToLeft) {
|
|
3505
3516
|
isLabelOverlap =
|
|
3506
|
-
this.minHandleLabelElement.position - this.minHandleLabelElement.dimension - 10 <=
|
|
3517
|
+
this.minHandleLabelElement.position - this.minHandleLabelElement.dimension - 10 <=
|
|
3518
|
+
this.maxHandleLabelElement.position;
|
|
3507
3519
|
}
|
|
3508
3520
|
else {
|
|
3509
3521
|
isLabelOverlap =
|
|
3510
|
-
this.minHandleLabelElement.position + this.minHandleLabelElement.dimension + 10 >=
|
|
3522
|
+
this.minHandleLabelElement.position + this.minHandleLabelElement.dimension + 10 >=
|
|
3523
|
+
this.maxHandleLabelElement.position;
|
|
3511
3524
|
}
|
|
3512
3525
|
if (isLabelOverlap) {
|
|
3513
3526
|
const lowDisplayValue = this.getDisplayValue(this.viewLowValue, LabelType.Low);
|
|
@@ -3520,7 +3533,9 @@ class SliderComponent {
|
|
|
3520
3533
|
? Math.min(Math.max(this.selectionBarElement.position +
|
|
3521
3534
|
this.selectionBarElement.dimension / 2 -
|
|
3522
3535
|
this.combinedLabelElement.dimension / 2, 0), this.fullBarElement.dimension - this.combinedLabelElement.dimension)
|
|
3523
|
-
: this.selectionBarElement.position +
|
|
3536
|
+
: this.selectionBarElement.position +
|
|
3537
|
+
this.selectionBarElement.dimension / 2 -
|
|
3538
|
+
this.combinedLabelElement.dimension / 2;
|
|
3524
3539
|
this.combinedLabelElement.setPosition(pos);
|
|
3525
3540
|
this.minHandleLabelElement.hide();
|
|
3526
3541
|
this.maxHandleLabelElement.hide();
|
|
@@ -3589,7 +3604,7 @@ class SliderComponent {
|
|
|
3589
3604
|
// Get the X-coordinate or Y-coordinate of an event
|
|
3590
3605
|
getEventXY(event, targetTouchId) {
|
|
3591
3606
|
if (event instanceof MouseEvent) {
|
|
3592
|
-
return
|
|
3607
|
+
return this.viewOptions.vertical || this.viewOptions.rotate !== 0 ? event.clientY : event.clientX;
|
|
3593
3608
|
}
|
|
3594
3609
|
let touchIndex = 0;
|
|
3595
3610
|
const touches = event.touches;
|
|
@@ -3603,13 +3618,16 @@ class SliderComponent {
|
|
|
3603
3618
|
}
|
|
3604
3619
|
// Return the target touch or if the target touch was not found in the event
|
|
3605
3620
|
// returns the coordinates of the first touch
|
|
3606
|
-
return
|
|
3621
|
+
return this.viewOptions.vertical || this.viewOptions.rotate !== 0
|
|
3622
|
+
? touches[touchIndex].clientY
|
|
3623
|
+
: touches[touchIndex].clientX;
|
|
3607
3624
|
}
|
|
3608
3625
|
// Compute the event position depending on whether the slider is horizontal or vertical
|
|
3609
3626
|
getEventPosition(event, targetTouchId) {
|
|
3610
3627
|
const sliderElementBoundingRect = this.elementRef.nativeElement.getBoundingClientRect();
|
|
3611
|
-
const sliderPos =
|
|
3612
|
-
sliderElementBoundingRect.bottom
|
|
3628
|
+
const sliderPos = this.viewOptions.vertical || this.viewOptions.rotate !== 0
|
|
3629
|
+
? sliderElementBoundingRect.bottom
|
|
3630
|
+
: sliderElementBoundingRect.left;
|
|
3613
3631
|
let eventPos = 0;
|
|
3614
3632
|
if (this.viewOptions.vertical || this.viewOptions.rotate !== 0) {
|
|
3615
3633
|
eventPos = -this.getEventXY(event, targetTouchId) + sliderPos;
|
|
@@ -3753,7 +3771,8 @@ class SliderComponent {
|
|
|
3753
3771
|
}
|
|
3754
3772
|
}
|
|
3755
3773
|
this.userChangeStart.emit(this.getChangeContext());
|
|
3756
|
-
if (CompatibilityHelper.isTouchEvent(event) &&
|
|
3774
|
+
if (CompatibilityHelper.isTouchEvent(event) &&
|
|
3775
|
+
!ValueHelper.isNullOrUndefined(event.changedTouches)) {
|
|
3757
3776
|
// Store the touch identifier
|
|
3758
3777
|
if (ValueHelper.isNullOrUndefined(this.touchId)) {
|
|
3759
3778
|
this.touchId = event.changedTouches[0].identifier;
|
|
@@ -3794,9 +3813,7 @@ class SliderComponent {
|
|
|
3794
3813
|
? this.getEventPosition(event, touchForThisSlider.identifier)
|
|
3795
3814
|
: this.getEventPosition(event);
|
|
3796
3815
|
let newValue;
|
|
3797
|
-
const ceilValue = this.viewOptions.rightToLeft
|
|
3798
|
-
? this.viewOptions.floor
|
|
3799
|
-
: this.viewOptions.ceil;
|
|
3816
|
+
const ceilValue = this.viewOptions.rightToLeft ? this.viewOptions.floor : this.viewOptions.ceil;
|
|
3800
3817
|
const floorValue = this.viewOptions.rightToLeft ? this.viewOptions.ceil : this.viewOptions.floor;
|
|
3801
3818
|
if (newPos <= 0) {
|
|
3802
3819
|
newValue = floorValue;
|
|
@@ -3898,9 +3915,7 @@ class SliderComponent {
|
|
|
3898
3915
|
}
|
|
3899
3916
|
onKeyboardEvent(event) {
|
|
3900
3917
|
const currentValue = this.getCurrentTrackingValue();
|
|
3901
|
-
const keyCode = !ValueHelper.isNullOrUndefined(event.keyCode)
|
|
3902
|
-
? event.keyCode
|
|
3903
|
-
: event.which;
|
|
3918
|
+
const keyCode = !ValueHelper.isNullOrUndefined(event.keyCode) ? event.keyCode : event.which;
|
|
3904
3919
|
const keys = {
|
|
3905
3920
|
38: 'UP',
|
|
3906
3921
|
40: 'DOWN',
|
|
@@ -3971,14 +3986,10 @@ class SliderComponent {
|
|
|
3971
3986
|
let value;
|
|
3972
3987
|
if (outOfBounds) {
|
|
3973
3988
|
if (isAbove) {
|
|
3974
|
-
value = isRTL
|
|
3975
|
-
? this.viewOptions.floor
|
|
3976
|
-
: this.viewOptions.ceil - this.dragging.difference;
|
|
3989
|
+
value = isRTL ? this.viewOptions.floor : this.viewOptions.ceil - this.dragging.difference;
|
|
3977
3990
|
}
|
|
3978
3991
|
else {
|
|
3979
|
-
value = isRTL
|
|
3980
|
-
? this.viewOptions.ceil - this.dragging.difference
|
|
3981
|
-
: this.viewOptions.floor;
|
|
3992
|
+
value = isRTL ? this.viewOptions.ceil - this.dragging.difference : this.viewOptions.floor;
|
|
3982
3993
|
}
|
|
3983
3994
|
}
|
|
3984
3995
|
else {
|
|
@@ -3994,26 +4005,18 @@ class SliderComponent {
|
|
|
3994
4005
|
let value;
|
|
3995
4006
|
if (outOfBounds) {
|
|
3996
4007
|
if (isAbove) {
|
|
3997
|
-
value = isRTL
|
|
3998
|
-
? this.viewOptions.floor + this.dragging.difference
|
|
3999
|
-
: this.viewOptions.ceil;
|
|
4008
|
+
value = isRTL ? this.viewOptions.floor + this.dragging.difference : this.viewOptions.ceil;
|
|
4000
4009
|
}
|
|
4001
4010
|
else {
|
|
4002
|
-
value = isRTL
|
|
4003
|
-
? this.viewOptions.ceil
|
|
4004
|
-
: this.viewOptions.floor + this.dragging.difference;
|
|
4011
|
+
value = isRTL ? this.viewOptions.ceil : this.viewOptions.floor + this.dragging.difference;
|
|
4005
4012
|
}
|
|
4006
4013
|
}
|
|
4007
4014
|
else {
|
|
4008
4015
|
if (isRTL) {
|
|
4009
|
-
value =
|
|
4010
|
-
this.positionToValue(newPos + this.dragging.lowLimit) +
|
|
4011
|
-
this.dragging.difference;
|
|
4016
|
+
value = this.positionToValue(newPos + this.dragging.lowLimit) + this.dragging.difference;
|
|
4012
4017
|
}
|
|
4013
4018
|
else {
|
|
4014
|
-
value =
|
|
4015
|
-
this.positionToValue(newPos - this.dragging.lowLimit) +
|
|
4016
|
-
this.dragging.difference;
|
|
4019
|
+
value = this.positionToValue(newPos - this.dragging.lowLimit) + this.dragging.difference;
|
|
4017
4020
|
}
|
|
4018
4021
|
}
|
|
4019
4022
|
return this.roundStep(value);
|
|
@@ -4039,8 +4042,8 @@ class SliderComponent {
|
|
|
4039
4042
|
floorHandleElement = this.minHandleElement;
|
|
4040
4043
|
ceilHandleElement = this.maxHandleElement;
|
|
4041
4044
|
}
|
|
4042
|
-
const isUnderFloorLimit =
|
|
4043
|
-
const isOverCeilLimit =
|
|
4045
|
+
const isUnderFloorLimit = newPos <= floorLimit;
|
|
4046
|
+
const isOverCeilLimit = newPos >= this.maxHandlePosition - ceilLimit;
|
|
4044
4047
|
let newMinValue;
|
|
4045
4048
|
let newMaxValue;
|
|
4046
4049
|
if (isUnderFloorLimit) {
|
|
@@ -4065,13 +4068,11 @@ class SliderComponent {
|
|
|
4065
4068
|
}
|
|
4066
4069
|
// Set the new value and position for the entire bar
|
|
4067
4070
|
positionTrackingBar(newMinValue, newMaxValue) {
|
|
4068
|
-
if (!ValueHelper.isNullOrUndefined(this.viewOptions.minLimit) &&
|
|
4069
|
-
newMinValue < this.viewOptions.minLimit) {
|
|
4071
|
+
if (!ValueHelper.isNullOrUndefined(this.viewOptions.minLimit) && newMinValue < this.viewOptions.minLimit) {
|
|
4070
4072
|
newMinValue = this.viewOptions.minLimit;
|
|
4071
4073
|
newMaxValue = MathHelper.roundToPrecisionLimit(newMinValue + this.dragging.difference, this.viewOptions.precisionLimit);
|
|
4072
4074
|
}
|
|
4073
|
-
if (!ValueHelper.isNullOrUndefined(this.viewOptions.maxLimit) &&
|
|
4074
|
-
newMaxValue > this.viewOptions.maxLimit) {
|
|
4075
|
+
if (!ValueHelper.isNullOrUndefined(this.viewOptions.maxLimit) && newMaxValue > this.viewOptions.maxLimit) {
|
|
4075
4076
|
newMaxValue = this.viewOptions.maxLimit;
|
|
4076
4077
|
newMinValue = MathHelper.roundToPrecisionLimit(newMaxValue - this.dragging.difference, this.viewOptions.precisionLimit);
|
|
4077
4078
|
}
|
|
@@ -4090,12 +4091,10 @@ class SliderComponent {
|
|
|
4090
4091
|
}
|
|
4091
4092
|
else {
|
|
4092
4093
|
if (this.viewOptions.noSwitching) {
|
|
4093
|
-
if (this.currentTrackingPointer === PointerType.Min &&
|
|
4094
|
-
newValue > this.viewHighValue) {
|
|
4094
|
+
if (this.currentTrackingPointer === PointerType.Min && newValue > this.viewHighValue) {
|
|
4095
4095
|
newValue = this.applyMinMaxRange(this.viewHighValue);
|
|
4096
4096
|
}
|
|
4097
|
-
else if (this.currentTrackingPointer === PointerType.Max &&
|
|
4098
|
-
newValue < this.viewLowValue) {
|
|
4097
|
+
else if (this.currentTrackingPointer === PointerType.Max && newValue < this.viewLowValue) {
|
|
4099
4098
|
newValue = this.applyMinMaxRange(this.viewLowValue);
|
|
4100
4099
|
}
|
|
4101
4100
|
}
|
|
@@ -4113,8 +4112,7 @@ class SliderComponent {
|
|
|
4113
4112
|
this.maxHandleElement.focus();
|
|
4114
4113
|
}
|
|
4115
4114
|
}
|
|
4116
|
-
else if (this.currentTrackingPointer === PointerType.Max &&
|
|
4117
|
-
newValue < this.viewLowValue) {
|
|
4115
|
+
else if (this.currentTrackingPointer === PointerType.Max && newValue < this.viewLowValue) {
|
|
4118
4116
|
this.viewHighValue = this.viewLowValue;
|
|
4119
4117
|
this.applyViewChange();
|
|
4120
4118
|
this.updateHandles(PointerType.Max, this.minHandleElement.position);
|
|
@@ -4151,9 +4149,7 @@ class SliderComponent {
|
|
|
4151
4149
|
return newValue;
|
|
4152
4150
|
}
|
|
4153
4151
|
applyMinMaxRange(newValue) {
|
|
4154
|
-
const oppositeValue =
|
|
4155
|
-
? this.viewHighValue
|
|
4156
|
-
: this.viewLowValue;
|
|
4152
|
+
const oppositeValue = this.currentTrackingPointer === PointerType.Min ? this.viewHighValue : this.viewLowValue;
|
|
4157
4153
|
const difference = Math.abs(newValue - oppositeValue);
|
|
4158
4154
|
if (!ValueHelper.isNullOrUndefined(this.viewOptions.minRange)) {
|
|
4159
4155
|
if (difference < this.viewOptions.minRange) {
|
|
@@ -4178,10 +4174,8 @@ class SliderComponent {
|
|
|
4178
4174
|
return newValue;
|
|
4179
4175
|
}
|
|
4180
4176
|
applyPushRange(newValue) {
|
|
4181
|
-
const difference =
|
|
4182
|
-
|
|
4183
|
-
: newValue - this.viewLowValue;
|
|
4184
|
-
const minRange = (!ValueHelper.isNullOrUndefined(this.viewOptions.minRange))
|
|
4177
|
+
const difference = this.currentTrackingPointer === PointerType.Min ? this.viewHighValue - newValue : newValue - this.viewLowValue;
|
|
4178
|
+
const minRange = !ValueHelper.isNullOrUndefined(this.viewOptions.minRange)
|
|
4185
4179
|
? this.viewOptions.minRange
|
|
4186
4180
|
: this.viewOptions.step;
|
|
4187
4181
|
const maxRange = this.viewOptions.maxRange;
|
|
@@ -4226,10 +4220,10 @@ class SliderComponent {
|
|
|
4226
4220
|
}
|
|
4227
4221
|
return changeContext;
|
|
4228
4222
|
}
|
|
4229
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4230
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
4223
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SliderComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4224
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: SliderComponent, isStandalone: true, selector: "ngx-slider", inputs: { value: "value", highValue: "highValue", options: "options", manualRefresh: "manualRefresh", triggerFocus: "triggerFocus" }, outputs: { valueChange: "valueChange", highValueChange: "highValueChange", userChangeStart: "userChangeStart", userChange: "userChange", userChangeEnd: "userChangeEnd" }, host: { listeners: { "window:resize": "onResize($event)" }, properties: { "class": "this.class", "class.vertical": "this.sliderElementVerticalClass", "class.animate": "this.sliderElementAnimateClass", "class.with-legend": "this.sliderElementWithLegendClass", "attr.disabled": "this.sliderElementDisabledAttr", "attr.aria-label": "this.sliderElementAriaLabel" } }, providers: [NGX_SLIDER_CONTROL_VALUE_ACCESSOR], queries: [{ propertyName: "tooltipTemplate", first: true, predicate: ["tooltipTemplate"], descendants: true }], viewQueries: [{ propertyName: "leftOuterSelectionBarElement", first: true, predicate: ["leftOuterSelectionBar"], descendants: true, read: SliderElementDirective }, { propertyName: "rightOuterSelectionBarElement", first: true, predicate: ["rightOuterSelectionBar"], descendants: true, read: SliderElementDirective }, { propertyName: "fullBarElement", first: true, predicate: ["fullBar"], descendants: true, read: SliderElementDirective }, { propertyName: "selectionBarElement", first: true, predicate: ["selectionBar"], descendants: true, read: SliderElementDirective }, { propertyName: "minHandleElement", first: true, predicate: ["minHandle"], descendants: true, read: SliderHandleDirective }, { propertyName: "maxHandleElement", first: true, predicate: ["maxHandle"], descendants: true, read: SliderHandleDirective }, { propertyName: "floorLabelElement", first: true, predicate: ["floorLabel"], descendants: true, read: SliderLabelDirective }, { propertyName: "ceilLabelElement", first: true, predicate: ["ceilLabel"], descendants: true, read: SliderLabelDirective }, { propertyName: "minHandleLabelElement", first: true, predicate: ["minHandleLabel"], descendants: true, read: SliderLabelDirective }, { propertyName: "maxHandleLabelElement", first: true, predicate: ["maxHandleLabel"], descendants: true, read: SliderLabelDirective }, { propertyName: "combinedLabelElement", first: true, predicate: ["combinedLabel"], descendants: true, read: SliderLabelDirective }, { propertyName: "ticksElement", first: true, predicate: ["ticksElement"], descendants: true, read: SliderElementDirective }], usesOnChanges: true, ngImport: i0, template: "<!-- // 0 Left selection bar outside two handles -->\n<span\n ngxSliderElement\n #leftOuterSelectionBar\n class=\"ngx-slider-span ngx-slider-bar-wrapper ngx-slider-left-out-selection\"\n>\n <span class=\"ngx-slider-span ngx-slider-bar\"></span>\n</span>\n<!-- // 1 Right selection bar outside two handles -->\n<span\n ngxSliderElement\n #rightOuterSelectionBar\n class=\"ngx-slider-span ngx-slider-bar-wrapper ngx-slider-right-out-selection\"\n>\n <span class=\"ngx-slider-span ngx-slider-bar\"></span>\n</span>\n<!-- // 2 The whole slider bar -->\n<span\n ngxSliderElement\n #fullBar\n [class.ngx-slider-transparent]=\"fullBarTransparentClass\"\n class=\"ngx-slider-span ngx-slider-bar-wrapper ngx-slider-full-bar\"\n>\n <span class=\"ngx-slider-span ngx-slider-bar\"></span>\n</span>\n<!-- // 3 Selection bar between two handles -->\n<span\n ngxSliderElement\n #selectionBar\n [class.ngx-slider-draggable]=\"selectionBarDraggableClass\"\n class=\"ngx-slider-span ngx-slider-bar-wrapper ngx-slider-selection-bar\"\n>\n <span class=\"ngx-slider-span ngx-slider-bar ngx-slider-selection\" [ngStyle]=\"barStyle\"></span>\n</span>\n<!-- // 4 Low slider handle -->\n<span\n ngxSliderHandle\n #minHandle\n class=\"ngx-slider-span ngx-slider-pointer ngx-slider-pointer-min\"\n [ngStyle]=\"minPointerStyle\"\n></span>\n<!-- // 5 High slider handle -->\n<span\n ngxSliderHandle\n #maxHandle\n [style.display]=\"range ? 'inherit' : 'none'\"\n class=\"ngx-slider-span ngx-slider-pointer ngx-slider-pointer-max\"\n [ngStyle]=\"maxPointerStyle\"\n></span>\n<!-- // 6 Floor label -->\n<span ngxSliderLabel #floorLabel class=\"ngx-slider-span ngx-slider-bubble ngx-slider-limit ngx-slider-floor\"></span>\n<!-- // 7 Ceiling label -->\n<span ngxSliderLabel #ceilLabel class=\"ngx-slider-span ngx-slider-bubble ngx-slider-limit ngx-slider-ceil\"></span>\n<!-- // 8 Label above the low slider handle -->\n<span ngxSliderLabel #minHandleLabel class=\"ngx-slider-span ngx-slider-bubble ngx-slider-model-value\"></span>\n<!-- // 9 Label above the high slider handle -->\n<span ngxSliderLabel #maxHandleLabel class=\"ngx-slider-span ngx-slider-bubble ngx-slider-model-high\"></span>\n<!-- // 10 Combined range label when the slider handles are close ex. 15 - 17 -->\n<span ngxSliderLabel #combinedLabel class=\"ngx-slider-span ngx-slider-bubble ngx-slider-combined\"></span>\n<!-- // 11 The ticks -->\n<span\n ngxSliderElement\n #ticksElement\n [hidden]=\"!showTicks\"\n [class.ngx-slider-ticks-values-under]=\"ticksUnderValuesClass\"\n class=\"ngx-slider-ticks\"\n>\n @for (t of ticks; track t) {\n <span class=\"ngx-slider-tick\" [ngClass]=\"{ 'ngx-slider-selected': t.selected }\" [ngStyle]=\"t.style\">\n <ngx-slider-tooltip-wrapper\n [template]=\"tooltipTemplate\"\n [tooltip]=\"t.tooltip\"\n [placement]=\"t.tooltipPlacement\"\n ></ngx-slider-tooltip-wrapper>\n @if (t.value !== null) {\n <ngx-slider-tooltip-wrapper\n class=\"ngx-slider-span ngx-slider-tick-value\"\n [template]=\"tooltipTemplate\"\n [tooltip]=\"t.valueTooltip\"\n [placement]=\"t.valueTooltipPlacement\"\n [content]=\"t.value\"\n ></ngx-slider-tooltip-wrapper>\n }\n @if (t.legend !== null) {\n <span class=\"ngx-slider-span ngx-slider-tick-legend\" [innerHTML]=\"t.legend\"></span>\n }\n </span>\n }\n</span>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.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]" }] }); }
|
|
4231
4225
|
}
|
|
4232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SliderComponent, decorators: [{
|
|
4233
4227
|
type: Component,
|
|
4234
4228
|
args: [{ selector: 'ngx-slider', providers: [NGX_SLIDER_CONTROL_VALUE_ACCESSOR], standalone: true, 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" }]
|
|
4235
4229
|
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }], propDecorators: { class: [{
|
|
@@ -4314,23 +4308,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
4314
4308
|
args: ['window:resize', ['$event']]
|
|
4315
4309
|
}] } });
|
|
4316
4310
|
|
|
4311
|
+
/**
|
|
4312
|
+
* @deprecated DfSliderModule is deprecated.
|
|
4313
|
+
* Use {@link https://design-factory-int.app.net6.paas.westeurope.rnd.az.amadeus.net/#/components/slider/agnosui AgnosUI Slider} instead.
|
|
4314
|
+
*/
|
|
4317
4315
|
class DfSliderModule {
|
|
4318
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4319
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4316
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4317
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfSliderModule, imports: [SliderComponent,
|
|
4320
4318
|
SliderElementDirective,
|
|
4321
4319
|
SliderHandleDirective,
|
|
4322
4320
|
SliderLabelDirective,
|
|
4323
|
-
TooltipWrapperComponent,
|
|
4324
|
-
|
|
4321
|
+
TooltipWrapperComponent,
|
|
4322
|
+
DfSliderDirectionDirective], exports: [DfSliderDirectionDirective, SliderComponent] }); }
|
|
4323
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSliderModule, imports: [SliderComponent] }); }
|
|
4325
4324
|
}
|
|
4326
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSliderModule, decorators: [{
|
|
4327
4326
|
type: NgModule,
|
|
4328
4327
|
args: [{
|
|
4329
|
-
imports: [
|
|
4328
|
+
imports: [
|
|
4329
|
+
SliderComponent,
|
|
4330
4330
|
SliderElementDirective,
|
|
4331
4331
|
SliderHandleDirective,
|
|
4332
4332
|
SliderLabelDirective,
|
|
4333
|
-
TooltipWrapperComponent,
|
|
4333
|
+
TooltipWrapperComponent,
|
|
4334
|
+
DfSliderDirectionDirective
|
|
4335
|
+
],
|
|
4334
4336
|
exports: [DfSliderDirectionDirective, SliderComponent]
|
|
4335
4337
|
}]
|
|
4336
4338
|
}] });
|
|
@@ -4350,10 +4352,10 @@ class DfSideNavConfig {
|
|
|
4350
4352
|
this.isAppOverlay = false;
|
|
4351
4353
|
this.isAppOverlayMode = true;
|
|
4352
4354
|
}
|
|
4353
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4354
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4355
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4356
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavConfig, providedIn: 'root' }); }
|
|
4355
4357
|
}
|
|
4356
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavConfig, decorators: [{
|
|
4357
4359
|
type: Injectable,
|
|
4358
4360
|
args: [{ providedIn: 'root' }]
|
|
4359
4361
|
}] });
|
|
@@ -4377,6 +4379,7 @@ var DfNavItemType;
|
|
|
4377
4379
|
*/
|
|
4378
4380
|
class DfSideNavService {
|
|
4379
4381
|
constructor(config) {
|
|
4382
|
+
this.config = config;
|
|
4380
4383
|
this.type = DfNavItemType;
|
|
4381
4384
|
this._items = [];
|
|
4382
4385
|
this.subscription = new Subscription();
|
|
@@ -4414,7 +4417,7 @@ class DfSideNavService {
|
|
|
4414
4417
|
*
|
|
4415
4418
|
*/
|
|
4416
4419
|
inactiveItems(list) {
|
|
4417
|
-
list.forEach(item => {
|
|
4420
|
+
list.forEach((item) => {
|
|
4418
4421
|
item.isActive = false;
|
|
4419
4422
|
if (item.subMenus) {
|
|
4420
4423
|
this.inactiveItems(item.subMenus);
|
|
@@ -4555,7 +4558,7 @@ class DfSideNavService {
|
|
|
4555
4558
|
}
|
|
4556
4559
|
// internal usage from the SideNav. Call when component is destroy
|
|
4557
4560
|
removeSideBar() {
|
|
4558
|
-
this._isCollapsed$.next(
|
|
4561
|
+
this._isCollapsed$.next(this.config.isCollapsed);
|
|
4559
4562
|
this._isPresent$.next(false);
|
|
4560
4563
|
}
|
|
4561
4564
|
/**
|
|
@@ -4604,7 +4607,7 @@ class DfSideNavService {
|
|
|
4604
4607
|
* @param itemsList
|
|
4605
4608
|
*/
|
|
4606
4609
|
collapseAll(itemsList) {
|
|
4607
|
-
itemsList.forEach(item => {
|
|
4610
|
+
itemsList.forEach((item) => {
|
|
4608
4611
|
if (item.subMenus) {
|
|
4609
4612
|
item.isCollapsed = true;
|
|
4610
4613
|
this.collapseAll(item.subMenus);
|
|
@@ -4618,7 +4621,7 @@ class DfSideNavService {
|
|
|
4618
4621
|
// To avoid more than one active state visible
|
|
4619
4622
|
setActiveItem(items, foundAnActive = false) {
|
|
4620
4623
|
let foundActive = foundAnActive;
|
|
4621
|
-
items.forEach(item => {
|
|
4624
|
+
items.forEach((item) => {
|
|
4622
4625
|
if (item.isActive && foundAnActive) {
|
|
4623
4626
|
throw Error('DfSideNavService must be init with only one isActive item');
|
|
4624
4627
|
}
|
|
@@ -4633,7 +4636,7 @@ class DfSideNavService {
|
|
|
4633
4636
|
return foundActive;
|
|
4634
4637
|
}
|
|
4635
4638
|
addNavItemType(withRouter, items = this._items) {
|
|
4636
|
-
items.forEach(item => {
|
|
4639
|
+
items.forEach((item) => {
|
|
4637
4640
|
if (!item.type) {
|
|
4638
4641
|
if (item.subMenus) {
|
|
4639
4642
|
item.type = DfNavItemType.subMenus;
|
|
@@ -4659,10 +4662,10 @@ class DfSideNavService {
|
|
|
4659
4662
|
updateOverLay() {
|
|
4660
4663
|
this._isAppOverlay$.next(this.isAppOverlayMode && this._isCollapsed$.value === false);
|
|
4661
4664
|
}
|
|
4662
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4663
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4665
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavService, deps: [{ token: DfSideNavConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4666
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavService, providedIn: 'root' }); }
|
|
4664
4667
|
}
|
|
4665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavService, decorators: [{
|
|
4666
4669
|
type: Injectable,
|
|
4667
4670
|
args: [{
|
|
4668
4671
|
providedIn: 'root'
|
|
@@ -4863,10 +4866,10 @@ class DfSideNavCollapseConfig {
|
|
|
4863
4866
|
set animation(animation) {
|
|
4864
4867
|
this._animation = animation;
|
|
4865
4868
|
}
|
|
4866
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4867
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4869
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavCollapseConfig, deps: [{ token: i1.NgbConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4870
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavCollapseConfig, providedIn: 'root' }); }
|
|
4868
4871
|
}
|
|
4869
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavCollapseConfig, decorators: [{
|
|
4870
4873
|
type: Injectable,
|
|
4871
4874
|
args: [{ providedIn: 'root' }]
|
|
4872
4875
|
}], ctorParameters: () => [{ type: i1.NgbConfig }] });
|
|
@@ -4894,10 +4897,10 @@ class DfSideNavCollapseService {
|
|
|
4894
4897
|
setAnimation(on) {
|
|
4895
4898
|
this._sideNavAnimation$.next(on);
|
|
4896
4899
|
}
|
|
4897
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4898
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4900
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavCollapseService, deps: [{ token: DfSideNavCollapseConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4901
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavCollapseService, providedIn: 'root' }); }
|
|
4899
4902
|
}
|
|
4900
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavCollapseService, decorators: [{
|
|
4901
4904
|
type: Injectable,
|
|
4902
4905
|
args: [{
|
|
4903
4906
|
providedIn: 'root'
|
|
@@ -4973,10 +4976,10 @@ class DfSideNavCollapseDirective {
|
|
|
4973
4976
|
}
|
|
4974
4977
|
});
|
|
4975
4978
|
}
|
|
4976
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4977
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4979
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavCollapseDirective, deps: [{ token: i0.ElementRef }, { token: DfSideNavCollapseService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4980
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfSideNavCollapseDirective, isStandalone: true, selector: "[dfSideNavCollapse]", inputs: { collapsed: ["dfSideNavCollapse", "collapsed"], minimized: "minimized" }, outputs: { dfSideNavCollapseChange: "dfSideNavCollapseChange", shown: "shown", hidden: "hidden" }, exportAs: ["dfSideNavCollapse"], usesOnChanges: true, ngImport: i0 }); }
|
|
4978
4981
|
}
|
|
4979
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4982
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavCollapseDirective, decorators: [{
|
|
4980
4983
|
type: Directive,
|
|
4981
4984
|
args: [{ selector: '[dfSideNavCollapse]', exportAs: 'dfSideNavCollapse', standalone: true }]
|
|
4982
4985
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: DfSideNavCollapseService }, { type: i0.NgZone }], propDecorators: { collapsed: [{
|
|
@@ -4993,11 +4996,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
4993
4996
|
}] } });
|
|
4994
4997
|
|
|
4995
4998
|
class DfSideNavCollapseModule {
|
|
4996
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4997
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4998
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4999
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavCollapseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5000
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavCollapseModule, imports: [DfSideNavCollapseDirective], exports: [DfSideNavCollapseDirective] }); }
|
|
5001
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavCollapseModule }); }
|
|
4999
5002
|
}
|
|
5000
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5003
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavCollapseModule, decorators: [{
|
|
5001
5004
|
type: NgModule,
|
|
5002
5005
|
args: [{
|
|
5003
5006
|
imports: [DfSideNavCollapseDirective],
|
|
@@ -5018,10 +5021,10 @@ class DfManageSideNavDirective {
|
|
|
5018
5021
|
this.renderer.removeClass(this.element.nativeElement, 'df-sidenav-list-withactivated');
|
|
5019
5022
|
}
|
|
5020
5023
|
}
|
|
5021
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5022
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5024
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfManageSideNavDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5025
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfManageSideNavDirective, isStandalone: true, selector: "[dfManageSideNav]", ngImport: i0 }); }
|
|
5023
5026
|
}
|
|
5024
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5027
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfManageSideNavDirective, decorators: [{
|
|
5025
5028
|
type: Directive,
|
|
5026
5029
|
args: [{
|
|
5027
5030
|
selector: '[dfManageSideNav]',
|
|
@@ -5061,10 +5064,10 @@ class DfTitleTruncateDirective {
|
|
|
5061
5064
|
nativeElement.removeAttribute(titleAttributeName);
|
|
5062
5065
|
}
|
|
5063
5066
|
}
|
|
5064
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5065
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5067
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfTitleTruncateDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5068
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfTitleTruncateDirective, isStandalone: true, selector: "[dfTitleTruncate]", exportAs: ["dfTitleTruncate"], ngImport: i0 }); }
|
|
5066
5069
|
}
|
|
5067
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5070
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfTitleTruncateDirective, decorators: [{
|
|
5068
5071
|
type: Directive,
|
|
5069
5072
|
args: [{
|
|
5070
5073
|
exportAs: 'dfTitleTruncate',
|
|
@@ -5092,10 +5095,10 @@ class DfSideNavListComponent {
|
|
|
5092
5095
|
uniqueId++;
|
|
5093
5096
|
return `df-sidenav-id-${uniqueId};`;
|
|
5094
5097
|
}
|
|
5095
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5096
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5098
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5099
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: DfSideNavListComponent, isStandalone: true, selector: "df-sidenavlist", inputs: { items: "items", tplIcon: "tplIcon", tplItem: "tplItem", currentItem: "currentItem", id: "id" }, 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 dfManageSideNav>\n <ng-template #dfSideNavItemContent>\n @if (tplIcon && item.icon) {\n <ng-template\n [ngTemplateOutlet]=\"tplIcon.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 @if (tplIcon && item.icon) {\n <ng-template\n [ngTemplateOutlet]=\"tplIcon.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 @if (tplItem) {\n <ng-template\n [ngTemplateOutlet]=\"tplItem.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: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: NgbCollapseModule }, { kind: "directive", type: i1.NgbCollapse, selector: "[ngbCollapse]", inputs: ["animation", "ngbCollapse", "horizontal"], outputs: ["ngbCollapseChange", "shown", "hidden"], exportAs: ["ngbCollapse"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i3.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i3.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"] }] }); }
|
|
5097
5100
|
}
|
|
5098
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavListComponent, decorators: [{
|
|
5099
5102
|
type: Component,
|
|
5100
5103
|
args: [{ selector: 'df-sidenavlist', standalone: true, imports: [
|
|
5101
5104
|
CommonModule,
|
|
@@ -5105,7 +5108,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
5105
5108
|
DfSideNavCollapseModule,
|
|
5106
5109
|
DfManageSideNavDirective,
|
|
5107
5110
|
DfTitleTruncateDirective
|
|
5108
|
-
], 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 dfManageSideNav>\n <ng-template #dfSideNavItemContent>\n @if (tplIcon && item.icon) {\n <ng-template\n [ngTemplateOutlet]=\"tplIcon.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-
|
|
5111
|
+
], 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 dfManageSideNav>\n <ng-template #dfSideNavItemContent>\n @if (tplIcon && item.icon) {\n <ng-template\n [ngTemplateOutlet]=\"tplIcon.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 @if (tplIcon && item.icon) {\n <ng-template\n [ngTemplateOutlet]=\"tplIcon.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 @if (tplItem) {\n <ng-template\n [ngTemplateOutlet]=\"tplItem.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" }]
|
|
5109
5112
|
}], propDecorators: { items: [{
|
|
5110
5113
|
type: Input
|
|
5111
5114
|
}], tplIcon: [{
|
|
@@ -5122,10 +5125,10 @@ class DfSideNavHeaderDirective {
|
|
|
5122
5125
|
constructor(templateRef) {
|
|
5123
5126
|
this.templateRef = templateRef;
|
|
5124
5127
|
}
|
|
5125
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5126
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5128
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavHeaderDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5129
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfSideNavHeaderDirective, isStandalone: true, selector: "ng-template[dfSideNavHeader]", ngImport: i0 }); }
|
|
5127
5130
|
}
|
|
5128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavHeaderDirective, decorators: [{
|
|
5129
5132
|
type: Directive,
|
|
5130
5133
|
args: [{ selector: 'ng-template[dfSideNavHeader]', standalone: true }]
|
|
5131
5134
|
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
@@ -5133,10 +5136,10 @@ class DfSideNavIconDirective {
|
|
|
5133
5136
|
constructor(templateRef) {
|
|
5134
5137
|
this.templateRef = templateRef;
|
|
5135
5138
|
}
|
|
5136
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5137
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5139
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavIconDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5140
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfSideNavIconDirective, isStandalone: true, selector: "ng-template[dfSideNavIcon]", ngImport: i0 }); }
|
|
5138
5141
|
}
|
|
5139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavIconDirective, decorators: [{
|
|
5140
5143
|
type: Directive,
|
|
5141
5144
|
args: [{ selector: 'ng-template[dfSideNavIcon]', standalone: true }]
|
|
5142
5145
|
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
@@ -5144,10 +5147,10 @@ class DfSideNavItemDirective {
|
|
|
5144
5147
|
constructor(templateRef) {
|
|
5145
5148
|
this.templateRef = templateRef;
|
|
5146
5149
|
}
|
|
5147
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5148
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5150
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavItemDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5151
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfSideNavItemDirective, isStandalone: true, selector: "ng-template[dfSideNavItem]", ngImport: i0 }); }
|
|
5149
5152
|
}
|
|
5150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavItemDirective, decorators: [{
|
|
5151
5154
|
type: Directive,
|
|
5152
5155
|
args: [{ selector: 'ng-template[dfSideNavItem]', standalone: true }]
|
|
5153
5156
|
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
@@ -5174,10 +5177,10 @@ class DfSideNavComponent {
|
|
|
5174
5177
|
this.subscription.unsubscribe();
|
|
5175
5178
|
this.sideNavService.removeSideBar();
|
|
5176
5179
|
}
|
|
5177
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5178
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5180
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5181
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: DfSideNavComponent, isStandalone: true, selector: "df-sidenav", host: { properties: { "class.df-sidenav-menu-overlay": "this.overlayClass", "class": "this.elements" } }, queries: [{ propertyName: "tplHeader", first: true, predicate: DfSideNavHeaderDirective, descendants: true }, { propertyName: "tplIcon", first: true, predicate: DfSideNavIconDirective, descendants: true }, { propertyName: "tplItem", first: true, predicate: DfSideNavItemDirective, descendants: true }], ngImport: i0, template: "@if (tplHeader) {\n <ng-template [ngTemplateOutlet]=\"tplHeader.templateRef\"></ng-template>\n}\n<df-sidenavlist\n [items]=\"(sideNavService.sideNavItems$ | async) ?? []\"\n [tplIcon]=\"tplIcon\"\n [tplItem]=\"tplItem\"\n></df-sidenavlist>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "component", type: DfSideNavListComponent, selector: "df-sidenavlist", inputs: ["items", "tplIcon", "tplItem", "currentItem", "id"] }] }); }
|
|
5179
5182
|
}
|
|
5180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavComponent, decorators: [{
|
|
5181
5184
|
type: Component,
|
|
5182
5185
|
args: [{ selector: 'df-sidenav', standalone: true, imports: [CommonModule, DfSideNavListComponent], template: "@if (tplHeader) {\n <ng-template [ngTemplateOutlet]=\"tplHeader.templateRef\"></ng-template>\n}\n<df-sidenavlist\n [items]=\"(sideNavService.sideNavItems$ | async) ?? []\"\n [tplIcon]=\"tplIcon\"\n [tplItem]=\"tplItem\"\n></df-sidenavlist>\n" }]
|
|
5183
5186
|
}], ctorParameters: () => [], propDecorators: { tplHeader: [{
|
|
@@ -5234,10 +5237,10 @@ class DfExcludeTrapDirective {
|
|
|
5234
5237
|
this.subscriptionInput.unsubscribe();
|
|
5235
5238
|
}
|
|
5236
5239
|
}
|
|
5237
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5238
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5240
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfExcludeTrapDirective, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5241
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfExcludeTrapDirective, isStandalone: true, selector: "[dfExcludeTrap]", inputs: { dfExcludeTrapSelector: "dfExcludeTrapSelector", dfExcludeTrap: "dfExcludeTrap" }, ngImport: i0 }); }
|
|
5239
5242
|
}
|
|
5240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfExcludeTrapDirective, decorators: [{
|
|
5241
5244
|
type: Directive,
|
|
5242
5245
|
args: [{
|
|
5243
5246
|
selector: '[dfExcludeTrap]',
|
|
@@ -5331,10 +5334,10 @@ class DfManageNavSelectDirective {
|
|
|
5331
5334
|
(listBadge[currentPos - 1] || document.activeElement).focus();
|
|
5332
5335
|
}
|
|
5333
5336
|
}
|
|
5334
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5335
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5337
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfManageNavSelectDirective, deps: [{ token: i1$2.NgSelectComponent, host: true }, { token: i0.ElementRef }, { token: DfDirectionDetectionService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5338
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfManageNavSelectDirective, isStandalone: true, selector: "[dfManageNavSelect]", host: { listeners: { "keydown.arrowLeft": "handleKeyDown($event)", "keydown.Backspace": "handleKeyDownBackspace($event)", "keydown.arrowRight": "handleKeyDownRight($event)" } }, ngImport: i0 }); }
|
|
5336
5339
|
}
|
|
5337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfManageNavSelectDirective, decorators: [{
|
|
5338
5341
|
type: Directive,
|
|
5339
5342
|
args: [{
|
|
5340
5343
|
selector: '[dfManageNavSelect]',
|
|
@@ -5396,10 +5399,10 @@ class DfOptionHighlightDirective {
|
|
|
5396
5399
|
isDefined(value) {
|
|
5397
5400
|
return value !== undefined && value !== null;
|
|
5398
5401
|
}
|
|
5399
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5400
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5402
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfOptionHighlightDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5403
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfOptionHighlightDirective, isStandalone: true, selector: "[dfOptionHighlight]", inputs: { term: ["dfOptionHighlight", "term"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
5401
5404
|
}
|
|
5402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfOptionHighlightDirective, decorators: [{
|
|
5403
5406
|
type: Directive,
|
|
5404
5407
|
args: [{
|
|
5405
5408
|
selector: '[dfOptionHighlight]',
|
|
@@ -5444,10 +5447,10 @@ class DfManageBadgeEventsDirective {
|
|
|
5444
5447
|
this.dfManageBadgeEventsSelect[0](this.dfManageBadgeEventsSelect[1]);
|
|
5445
5448
|
event.stopPropagation();
|
|
5446
5449
|
}
|
|
5447
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5448
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5450
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfManageBadgeEventsDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5451
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfManageBadgeEventsDirective, isStandalone: true, selector: "[dfManageBadgeEventsSelect]", inputs: { dfManageBadgeEventsSelect: "dfManageBadgeEventsSelect" }, host: { listeners: { "keydown.Backspace": "handleKeyDownBackspace($event)", "click": "handleClick($event)", "keydown.Enter": "handleKeyDownEnter($event)", "keydown.Delete": "handleKeyDownDelete($event)" }, properties: { "attr.tabindex": "this.tabindex" } }, ngImport: i0 }); }
|
|
5449
5452
|
}
|
|
5450
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfManageBadgeEventsDirective, decorators: [{
|
|
5451
5454
|
type: Directive,
|
|
5452
5455
|
args: [{
|
|
5453
5456
|
selector: '[dfManageBadgeEventsSelect]',
|
|
@@ -5473,11 +5476,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
5473
5476
|
}] } });
|
|
5474
5477
|
|
|
5475
5478
|
class DfSelectModule {
|
|
5476
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5477
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5478
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5479
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5480
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfSelectModule, imports: [DfManageNavSelectDirective, DfManageBadgeEventsDirective, DfOptionHighlightDirective], exports: [DfManageNavSelectDirective, DfManageBadgeEventsDirective, DfOptionHighlightDirective, NgSelectModule] }); }
|
|
5481
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSelectModule, imports: [NgSelectModule] }); }
|
|
5479
5482
|
}
|
|
5480
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5483
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSelectModule, decorators: [{
|
|
5481
5484
|
type: NgModule,
|
|
5482
5485
|
args: [{
|
|
5483
5486
|
imports: [DfManageNavSelectDirective, DfManageBadgeEventsDirective, DfOptionHighlightDirective],
|
|
@@ -5542,14 +5545,14 @@ class DfStepperService {
|
|
|
5542
5545
|
if (state.steps[i].warning) {
|
|
5543
5546
|
stepsList.push({ ...state.steps[i], type: 'warning' });
|
|
5544
5547
|
}
|
|
5545
|
-
else if (i === state.active) {
|
|
5546
|
-
stepsList.push({ ...state.steps[i], type: 'current' });
|
|
5547
|
-
}
|
|
5548
5548
|
else if (state.steps[i].completed) {
|
|
5549
5549
|
stepsList.push({ ...state.steps[i], type: 'completed' });
|
|
5550
5550
|
}
|
|
5551
|
+
else if (i === state.active || state.steps[i].visited) {
|
|
5552
|
+
stepsList.push({ ...state.steps[i], type: 'visited', visited: true });
|
|
5553
|
+
}
|
|
5551
5554
|
else {
|
|
5552
|
-
stepsList.push({ ...state.steps[i], type: 'future' });
|
|
5555
|
+
stepsList.push({ ...state.steps[i], type: 'future', visited: false });
|
|
5553
5556
|
}
|
|
5554
5557
|
}
|
|
5555
5558
|
return { ...state, steps: stepsList };
|
|
@@ -5688,10 +5691,10 @@ class DfStepperService {
|
|
|
5688
5691
|
this._state.steps[index].warning = false;
|
|
5689
5692
|
this.updateStepperState();
|
|
5690
5693
|
}
|
|
5691
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5692
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5694
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfStepperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5695
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfStepperService }); }
|
|
5693
5696
|
}
|
|
5694
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5697
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfStepperService, decorators: [{
|
|
5695
5698
|
type: Injectable
|
|
5696
5699
|
}] });
|
|
5697
5700
|
|
|
@@ -5723,10 +5726,10 @@ class DfStepperStepDirective {
|
|
|
5723
5726
|
ngOnDestroy() {
|
|
5724
5727
|
this.unlistener.forEach((ul) => ul());
|
|
5725
5728
|
}
|
|
5726
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5727
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5729
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfStepperStepDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5730
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfStepperStepDirective, isStandalone: true, selector: "[dfStepperStep]", exportAs: ["dfStepperStep"], ngImport: i0 }); }
|
|
5728
5731
|
}
|
|
5729
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5732
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfStepperStepDirective, decorators: [{
|
|
5730
5733
|
type: Directive,
|
|
5731
5734
|
args: [{
|
|
5732
5735
|
selector: '[dfStepperStep]',
|
|
@@ -5835,10 +5838,10 @@ class DfStepperDirective {
|
|
|
5835
5838
|
this.stepperService.resetFocus();
|
|
5836
5839
|
}
|
|
5837
5840
|
}
|
|
5838
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5839
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5841
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfStepperDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5842
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", 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 }); }
|
|
5840
5843
|
}
|
|
5841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfStepperDirective, decorators: [{
|
|
5842
5845
|
type: Directive,
|
|
5843
5846
|
args: [{
|
|
5844
5847
|
selector: '[dfStepperLogic]',
|
|
@@ -5875,10 +5878,10 @@ class DfStepperStepContentDirective {
|
|
|
5875
5878
|
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
5876
5879
|
this.dfStepperStepContent = -1;
|
|
5877
5880
|
}
|
|
5878
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5879
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
5881
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfStepperStepContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5882
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.0", type: DfStepperStepContentDirective, isStandalone: true, selector: "ng-template[dfStepperStepContent]", inputs: { dfStepperStepContent: ["dfStepperStepContent", "dfStepperStepContent", (value) => numberAttribute(value, -1)] }, ngImport: i0 }); }
|
|
5880
5883
|
}
|
|
5881
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfStepperStepContentDirective, decorators: [{
|
|
5882
5885
|
type: Directive,
|
|
5883
5886
|
args: [{ selector: 'ng-template[dfStepperStepContent]', standalone: true }]
|
|
5884
5887
|
}], propDecorators: { dfStepperStepContent: [{
|
|
@@ -5906,10 +5909,10 @@ class DfStepperComponent {
|
|
|
5906
5909
|
}
|
|
5907
5910
|
});
|
|
5908
5911
|
}
|
|
5909
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5910
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5912
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfStepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5913
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: DfStepperComponent, isStandalone: true, selector: "[dfStepper]", host: { attributes: { "role": "tablist" }, properties: { "class.df-vertical-stepper": "state?.isVertical", "attr.aria-label": "stepperService.stepperAriaLabel", "attr.aria-orientation": "state?.isVertical ? \"vertical\": null" }, classAttribute: "df-stepper mb-2" }, queries: [{ propertyName: "tplStepsContent", predicate: DfStepperStepContentDirective }], hostDirectives: [{ directive: DfStepperDirective }], ngImport: i0, template: "<ng-template #myStepperLine>\n <div class=\"df-stepper-line-wrapper\">\n <div class=\"df-stepper-line\">\n <div class=\"df-stepper-horizontal-line\"></div>\n </div>\n <div class=\"df-stepper-line d-none d-sm-flex\">\n <div class=\"flex-grow-1\"></div>\n </div>\n </div>\n</ng-template>\n@if (state) {\n @for (step of state.steps; track step; let i = $index) {\n <button\n #stepbasic\n class=\"btn btn-link df-stepper-step\"\n dfStepperStep\n [class.active]=\"i === state.active\"\n [class.flex-row]=\"state.isInline\"\n [attr.tabIndex]=\"i === state.active ? 0 : -1\"\n [class.df-stepper-step-warning]=\"step.type === 'warning'\"\n [class.df-stepper-step-completed]=\"step.type === 'completed'\"\n [class.df-stepper-step-visited]=\"step.type === 'visited'\"\n [class.df-stepper-step-future]=\"step.type === 'future'\"\n [disabled]=\"\n state.isLinear &&\n (step.type === 'future' || step.type === 'completed' || (step.type === 'visited' && i !== state.active))\n \"\n role=\"tab\"\n [attr.aria-selected]=\"i === state.active ? 'true' : 'false'\"\n [attr.aria-posinset]=\"i + 1\"\n [attr.aria-setsize]=\"state.steps.length\"\n [attr.aria-controls]=\"step.ariaControl\"\n (click)=\"stepperService.selectWithFocus(i)\"\n >\n <div\n [class.df-stepper-outline-number-visited]=\"step.type === 'visited'\"\n [class.df-stepper-outline-icon]=\"step.type === 'warning'\"\n [class.fa-exclamation-triangle]=\"step.type === 'warning'\"\n [class.df-stepper-icon]=\"step.type === 'completed'\"\n [class.fa-check]=\"step.type === 'completed'\"\n [class.df-stepper-outline-number-future]=\"step.type === 'future'\"\n >\n <span aria-hidden=\"true\">{{ stepperService.getStepNumberLabel(i) }}</span>\n </div>\n <div\n class=\"flex-column\"\n [class.mt-1]=\"!state.isInline\"\n [class.d-none]=\"!state.isVertical\"\n [class.d-sm-flex]=\"!state.isVertical\"\n [class.d-flex]=\"state.isVertical\"\n >\n @if (step.type === 'warning') {\n <span class=\"visually-hidden\">{{ stepperService.warningLabel }}</span>\n }\n <span class=\"df-stepper-label\">{{ step.label }}</span>\n @if (step.optionalLabel) {\n <span class=\"df-stepper-optional-label\">{{ step.optionalLabel }}</span>\n }\n @if (step.completed) {\n <span class=\"visually-hidden\">{{ stepperService.completedLabel }}</span>\n }\n </div>\n </button>\n @if (!state.isVertical && i < state.steps.length - 1) {\n <ng-container [ngTemplateOutlet]=\"myStepperLine\"></ng-container>\n }\n @if (state.isVertical && i < state.steps.length) {\n <div\n [class.d-none]=\"state.steps.length - 1 === i\"\n role=\"tabpanel\"\n [id]=\"step.ariaControl\"\n class=\"df-vertical-stepper-panel df-vertical-stepper-line\"\n >\n @if (mapStepToContent.has(i) && state.active === i) {\n <ng-template\n [ngTemplateOutlet]=\"mapStepToContent.get(i) || null\"\n [ngTemplateOutletContext]=\"{ state, index: i, service: stepperService }\"\n ></ng-template>\n }\n </div>\n }\n }\n}\n@if (stepperService.stepperState$ | async; as state) {\n <div\n class=\"text-primary mb-2\"\n [class.d-block]=\"!state.isVertical\"\n [class.d-sm-none]=\"!state.isVertical\"\n [class.d-none]=\"state.isVertical\"\n >\n <span class=\"df-stepper-label\">{{ state.steps[state.active].label }}</span>\n </div>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "directive", type: DfStepperStepDirective, selector: "[dfStepperStep]", exportAs: ["dfStepperStep"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5911
5914
|
}
|
|
5912
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5915
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfStepperComponent, decorators: [{
|
|
5913
5916
|
type: Component,
|
|
5914
5917
|
args: [{ selector: '[dfStepper]', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, DfStepperDirective, DfStepperStepDirective], hostDirectives: [DfStepperDirective], host: {
|
|
5915
5918
|
role: 'tablist',
|
|
@@ -5917,18 +5920,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
5917
5920
|
'[class.df-vertical-stepper]': 'state?.isVertical',
|
|
5918
5921
|
'[attr.aria-label]': 'stepperService.stepperAriaLabel',
|
|
5919
5922
|
'[attr.aria-orientation]': 'state?.isVertical ? "vertical": null'
|
|
5920
|
-
}, template: "<ng-template #myStepperLine>\n <div class=\"df-stepper-line-wrapper\">\n <div class=\"df-stepper-line\">\n <div class=\"df-stepper-horizontal-line\"></div>\n </div>\n <div class=\"df-stepper-line d-none d-sm-flex\">\n <div class=\"flex-grow-1\"></div>\n </div>\n </div>\n</ng-template>\n@if (state) {\n @for (step of state.steps; track step; let i = $index) {\n <button\n #stepbasic\n class=\"btn btn-link df-stepper-step\"\n dfStepperStep\n [class.active]=\"i === state.active\"\n [class.flex-row]=\"state.isInline\"\n [attr.tabIndex]=\"i === state.active ? 0 : -1\"\n [class.df-stepper-step-warning]=\"step.type === 'warning'\"\n [class.df-stepper-step-completed]=\"step.type === 'completed'\"\n [class.df-stepper-step-
|
|
5923
|
+
}, template: "<ng-template #myStepperLine>\n <div class=\"df-stepper-line-wrapper\">\n <div class=\"df-stepper-line\">\n <div class=\"df-stepper-horizontal-line\"></div>\n </div>\n <div class=\"df-stepper-line d-none d-sm-flex\">\n <div class=\"flex-grow-1\"></div>\n </div>\n </div>\n</ng-template>\n@if (state) {\n @for (step of state.steps; track step; let i = $index) {\n <button\n #stepbasic\n class=\"btn btn-link df-stepper-step\"\n dfStepperStep\n [class.active]=\"i === state.active\"\n [class.flex-row]=\"state.isInline\"\n [attr.tabIndex]=\"i === state.active ? 0 : -1\"\n [class.df-stepper-step-warning]=\"step.type === 'warning'\"\n [class.df-stepper-step-completed]=\"step.type === 'completed'\"\n [class.df-stepper-step-visited]=\"step.type === 'visited'\"\n [class.df-stepper-step-future]=\"step.type === 'future'\"\n [disabled]=\"\n state.isLinear &&\n (step.type === 'future' || step.type === 'completed' || (step.type === 'visited' && i !== state.active))\n \"\n role=\"tab\"\n [attr.aria-selected]=\"i === state.active ? 'true' : 'false'\"\n [attr.aria-posinset]=\"i + 1\"\n [attr.aria-setsize]=\"state.steps.length\"\n [attr.aria-controls]=\"step.ariaControl\"\n (click)=\"stepperService.selectWithFocus(i)\"\n >\n <div\n [class.df-stepper-outline-number-visited]=\"step.type === 'visited'\"\n [class.df-stepper-outline-icon]=\"step.type === 'warning'\"\n [class.fa-exclamation-triangle]=\"step.type === 'warning'\"\n [class.df-stepper-icon]=\"step.type === 'completed'\"\n [class.fa-check]=\"step.type === 'completed'\"\n [class.df-stepper-outline-number-future]=\"step.type === 'future'\"\n >\n <span aria-hidden=\"true\">{{ stepperService.getStepNumberLabel(i) }}</span>\n </div>\n <div\n class=\"flex-column\"\n [class.mt-1]=\"!state.isInline\"\n [class.d-none]=\"!state.isVertical\"\n [class.d-sm-flex]=\"!state.isVertical\"\n [class.d-flex]=\"state.isVertical\"\n >\n @if (step.type === 'warning') {\n <span class=\"visually-hidden\">{{ stepperService.warningLabel }}</span>\n }\n <span class=\"df-stepper-label\">{{ step.label }}</span>\n @if (step.optionalLabel) {\n <span class=\"df-stepper-optional-label\">{{ step.optionalLabel }}</span>\n }\n @if (step.completed) {\n <span class=\"visually-hidden\">{{ stepperService.completedLabel }}</span>\n }\n </div>\n </button>\n @if (!state.isVertical && i < state.steps.length - 1) {\n <ng-container [ngTemplateOutlet]=\"myStepperLine\"></ng-container>\n }\n @if (state.isVertical && i < state.steps.length) {\n <div\n [class.d-none]=\"state.steps.length - 1 === i\"\n role=\"tabpanel\"\n [id]=\"step.ariaControl\"\n class=\"df-vertical-stepper-panel df-vertical-stepper-line\"\n >\n @if (mapStepToContent.has(i) && state.active === i) {\n <ng-template\n [ngTemplateOutlet]=\"mapStepToContent.get(i) || null\"\n [ngTemplateOutletContext]=\"{ state, index: i, service: stepperService }\"\n ></ng-template>\n }\n </div>\n }\n }\n}\n@if (stepperService.stepperState$ | async; as state) {\n <div\n class=\"text-primary mb-2\"\n [class.d-block]=\"!state.isVertical\"\n [class.d-sm-none]=\"!state.isVertical\"\n [class.d-none]=\"state.isVertical\"\n >\n <span class=\"df-stepper-label\">{{ state.steps[state.active].label }}</span>\n </div>\n}\n" }]
|
|
5921
5924
|
}], ctorParameters: () => [], propDecorators: { tplStepsContent: [{
|
|
5922
5925
|
type: ContentChildren,
|
|
5923
5926
|
args: [DfStepperStepContentDirective]
|
|
5924
5927
|
}] } });
|
|
5925
5928
|
|
|
5926
5929
|
class DfStepperModule {
|
|
5927
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5928
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5929
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5930
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfStepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5931
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfStepperModule, imports: [DfStepperDirective, DfStepperStepDirective, DfStepperComponent, DfStepperStepContentDirective], exports: [DfStepperDirective, DfStepperStepDirective, DfStepperComponent, DfStepperStepContentDirective] }); }
|
|
5932
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfStepperModule, imports: [DfStepperComponent] }); }
|
|
5930
5933
|
}
|
|
5931
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5934
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfStepperModule, decorators: [{
|
|
5932
5935
|
type: NgModule,
|
|
5933
5936
|
args: [{
|
|
5934
5937
|
imports: [DfStepperDirective, DfStepperStepDirective, DfStepperComponent, DfStepperStepContentDirective],
|
|
@@ -5951,10 +5954,10 @@ class DfTooltipTruncateDirective {
|
|
|
5951
5954
|
ngDoCheck() {
|
|
5952
5955
|
this.tooltip.disableTooltip = !hasOverflow(this.elementRef.nativeElement);
|
|
5953
5956
|
}
|
|
5954
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5955
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5957
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfTooltipTruncateDirective, deps: [{ token: i1.NgbTooltip }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5958
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfTooltipTruncateDirective, isStandalone: true, selector: "[dfTooltipTruncate]", exportAs: ["dfTooltipTruncate"], ngImport: i0 }); }
|
|
5956
5959
|
}
|
|
5957
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5960
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfTooltipTruncateDirective, decorators: [{
|
|
5958
5961
|
type: Directive,
|
|
5959
5962
|
args: [{
|
|
5960
5963
|
exportAs: 'dfTooltipTruncate',
|
|
@@ -5964,11 +5967,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
5964
5967
|
}], ctorParameters: () => [{ type: i1.NgbTooltip }, { type: i0.ElementRef }, { type: i0.Renderer2 }] });
|
|
5965
5968
|
|
|
5966
5969
|
class DfTooltipModule {
|
|
5967
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5968
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5969
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5970
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5971
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfTooltipModule, imports: [DfTooltipTruncateDirective], exports: [DfTooltipTruncateDirective, NgbTooltipModule] }); }
|
|
5972
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfTooltipModule, imports: [NgbTooltipModule] }); }
|
|
5970
5973
|
}
|
|
5971
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfTooltipModule, decorators: [{
|
|
5972
5975
|
type: NgModule,
|
|
5973
5976
|
args: [{
|
|
5974
5977
|
imports: [DfTooltipTruncateDirective],
|
|
@@ -5977,8 +5980,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
5977
5980
|
}] });
|
|
5978
5981
|
|
|
5979
5982
|
class DfSideNavModule {
|
|
5980
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5981
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5983
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5984
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavModule, imports: [DfManageSideNavDirective,
|
|
5982
5985
|
DfSideNavComponent,
|
|
5983
5986
|
DfSideNavHeaderDirective,
|
|
5984
5987
|
DfExcludeTrapDirective,
|
|
@@ -5991,10 +5994,10 @@ class DfSideNavModule {
|
|
|
5991
5994
|
DfSideNavItemDirective,
|
|
5992
5995
|
DfSideNavCollapseModule,
|
|
5993
5996
|
DfMediaModule] }); }
|
|
5994
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5997
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavModule, imports: [DfSideNavComponent, DfSideNavCollapseModule,
|
|
5995
5998
|
DfMediaModule] }); }
|
|
5996
5999
|
}
|
|
5997
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfSideNavModule, decorators: [{
|
|
5998
6001
|
type: NgModule,
|
|
5999
6002
|
args: [{
|
|
6000
6003
|
imports: [
|
|
@@ -6047,10 +6050,10 @@ class DfManageCardSelectionDirective {
|
|
|
6047
6050
|
this.element.nativeElement.focus();
|
|
6048
6051
|
}
|
|
6049
6052
|
}
|
|
6050
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6051
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6053
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfManageCardSelectionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6054
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfManageCardSelectionDirective, isStandalone: true, selector: "[dfManageCardSelected]", inputs: { dfManageCardSelected: "dfManageCardSelected" }, host: { listeners: { "click": "click($event)" } }, ngImport: i0 }); }
|
|
6052
6055
|
}
|
|
6053
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfManageCardSelectionDirective, decorators: [{
|
|
6054
6057
|
type: Directive,
|
|
6055
6058
|
args: [{
|
|
6056
6059
|
selector: '[dfManageCardSelected]',
|
|
@@ -6064,11 +6067,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
6064
6067
|
}] } });
|
|
6065
6068
|
|
|
6066
6069
|
class DfAdvancedCardModule {
|
|
6067
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6068
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
6069
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6070
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfAdvancedCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6071
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfAdvancedCardModule, imports: [DfManageCardSelectionDirective], exports: [DfManageCardSelectionDirective] }); }
|
|
6072
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfAdvancedCardModule }); }
|
|
6070
6073
|
}
|
|
6071
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfAdvancedCardModule, decorators: [{
|
|
6072
6075
|
type: NgModule,
|
|
6073
6076
|
args: [{
|
|
6074
6077
|
imports: [DfManageCardSelectionDirective],
|
|
@@ -6099,8 +6102,8 @@ const DF_MODULES = [
|
|
|
6099
6102
|
* @deprecated Import only the needed modules or use standalone components instead of DfModule
|
|
6100
6103
|
*/
|
|
6101
6104
|
class DfModule {
|
|
6102
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6103
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
6105
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6106
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfModule, imports: [DfAlertModule,
|
|
6104
6107
|
DfDatePickerModule,
|
|
6105
6108
|
DfSelectModule,
|
|
6106
6109
|
DfProgressbarModule,
|
|
@@ -6133,7 +6136,7 @@ class DfModule {
|
|
|
6133
6136
|
DfFooterModule,
|
|
6134
6137
|
DfToastModule,
|
|
6135
6138
|
DfStepperModule] }); }
|
|
6136
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6139
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfModule, imports: [DF_MODULES, DfAlertModule,
|
|
6137
6140
|
DfDatePickerModule,
|
|
6138
6141
|
DfSelectModule,
|
|
6139
6142
|
DfProgressbarModule,
|
|
@@ -6151,7 +6154,7 @@ class DfModule {
|
|
|
6151
6154
|
DfToastModule,
|
|
6152
6155
|
DfStepperModule] }); }
|
|
6153
6156
|
}
|
|
6154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfModule, decorators: [{
|
|
6155
6158
|
type: NgModule,
|
|
6156
6159
|
args: [{
|
|
6157
6160
|
imports: DF_MODULES,
|
|
@@ -6159,6 +6162,104 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
6159
6162
|
}]
|
|
6160
6163
|
}] });
|
|
6161
6164
|
|
|
6165
|
+
class DfWavesOfProgressDirective {
|
|
6166
|
+
constructor() {
|
|
6167
|
+
this.http = inject(HttpClient);
|
|
6168
|
+
this.waveClass = 'df-waves-of-progress-bg';
|
|
6169
|
+
this.elementRef = inject(ElementRef);
|
|
6170
|
+
this.baseSvg = '';
|
|
6171
|
+
}
|
|
6172
|
+
/**
|
|
6173
|
+
* The type of waves to display. In order to display the waves, the app using the directive must include the assets of Design Factory.
|
|
6174
|
+
* It is possible to do so by adding the following snippet to the `angular.json` file in the `assets` configuration:
|
|
6175
|
+
* @example
|
|
6176
|
+
* "assets": [
|
|
6177
|
+
* {
|
|
6178
|
+
* "glob": "** / *", //remove the spaces between the asterisks and the slash
|
|
6179
|
+
* "input": "node-modules/@design-factory/design-factory/assets/",
|
|
6180
|
+
* "output": "assets/"
|
|
6181
|
+
* },
|
|
6182
|
+
* ...]
|
|
6183
|
+
*/
|
|
6184
|
+
set wavesType(value) {
|
|
6185
|
+
this.getSvg(value);
|
|
6186
|
+
}
|
|
6187
|
+
/**
|
|
6188
|
+
* Prepares the SVG string by replacing color variables and encoding it.
|
|
6189
|
+
* @param bgColor - The background color.
|
|
6190
|
+
* @param lineColor - The line color.
|
|
6191
|
+
* @returns The prepared SVG string.
|
|
6192
|
+
*/
|
|
6193
|
+
prepareSvg(bgColor, lineColor) {
|
|
6194
|
+
let baseSvg = this.baseSvg.replace(/var\(\-\-df\-waves\-of\-progress\-bg\-color\)/g, bgColor);
|
|
6195
|
+
baseSvg = baseSvg.replace(/var\(\-\-df\-waves\-of\-progress\-line\-color\)/g, lineColor);
|
|
6196
|
+
baseSvg = baseSvg.replace(/#/g, '%23');
|
|
6197
|
+
return `'data:image/svg+xml;utf8,${baseSvg}'`;
|
|
6198
|
+
}
|
|
6199
|
+
/**
|
|
6200
|
+
* Updates the SVG background image based on the current element's styles.
|
|
6201
|
+
*/
|
|
6202
|
+
updateSvg() {
|
|
6203
|
+
const computedStyle = window.getComputedStyle(this.elementRef.nativeElement);
|
|
6204
|
+
const bgColor = computedStyle.getPropertyValue('--df-waves-of-progress-bg-color');
|
|
6205
|
+
const lineColor = computedStyle.getPropertyValue('--df-waves-of-progress-line-color');
|
|
6206
|
+
if (!bgColor || !lineColor) {
|
|
6207
|
+
this.elementRef.nativeElement.style.backgroundImage = null;
|
|
6208
|
+
}
|
|
6209
|
+
else {
|
|
6210
|
+
this.elementRef.nativeElement.style.backgroundImage = `url(${this.prepareSvg(bgColor, lineColor)})`;
|
|
6211
|
+
}
|
|
6212
|
+
}
|
|
6213
|
+
getSvg(wavesType) {
|
|
6214
|
+
if (!this.http) {
|
|
6215
|
+
throw Error('Could not find HttpClient provider for use with DF Waves of progress. ' +
|
|
6216
|
+
'Please include the HttpClientModule from @angular/common/http in your ' +
|
|
6217
|
+
'app imports.');
|
|
6218
|
+
}
|
|
6219
|
+
const url = `assets/waves_of_progress/${wavesType}.svg`;
|
|
6220
|
+
this.http.get(url, { responseType: 'text' }).subscribe({
|
|
6221
|
+
next: (svgString) => {
|
|
6222
|
+
this.baseSvg = svgString.replace(/\n|\r/g, '');
|
|
6223
|
+
this.updateSvg();
|
|
6224
|
+
},
|
|
6225
|
+
error: (error) => {
|
|
6226
|
+
throw Error('[Design Factory] (Waves of progress): ' + error.message);
|
|
6227
|
+
}
|
|
6228
|
+
});
|
|
6229
|
+
}
|
|
6230
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfWavesOfProgressDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6231
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: DfWavesOfProgressDirective, isStandalone: true, selector: "[dfWavesOfProgress]", inputs: { wavesType: ["dfWavesOfProgress", "wavesType"] }, host: { properties: { "class": "this.waveClass" } }, exportAs: ["dfWavesOfProgress"], ngImport: i0 }); }
|
|
6232
|
+
}
|
|
6233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfWavesOfProgressDirective, decorators: [{
|
|
6234
|
+
type: Directive,
|
|
6235
|
+
args: [{
|
|
6236
|
+
selector: '[dfWavesOfProgress]',
|
|
6237
|
+
standalone: true,
|
|
6238
|
+
exportAs: 'dfWavesOfProgress'
|
|
6239
|
+
}]
|
|
6240
|
+
}], propDecorators: { wavesType: [{
|
|
6241
|
+
type: Input,
|
|
6242
|
+
args: ['dfWavesOfProgress']
|
|
6243
|
+
}], http: [{
|
|
6244
|
+
type: Optional
|
|
6245
|
+
}], waveClass: [{
|
|
6246
|
+
type: HostBinding,
|
|
6247
|
+
args: ['class']
|
|
6248
|
+
}] } });
|
|
6249
|
+
|
|
6250
|
+
class DfWavesOfProgressModule {
|
|
6251
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfWavesOfProgressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6252
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: DfWavesOfProgressModule, imports: [DfWavesOfProgressDirective], exports: [DfWavesOfProgressDirective] }); }
|
|
6253
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfWavesOfProgressModule }); }
|
|
6254
|
+
}
|
|
6255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: DfWavesOfProgressModule, decorators: [{
|
|
6256
|
+
type: NgModule,
|
|
6257
|
+
args: [{
|
|
6258
|
+
imports: [DfWavesOfProgressDirective],
|
|
6259
|
+
exports: [DfWavesOfProgressDirective]
|
|
6260
|
+
}]
|
|
6261
|
+
}] });
|
|
6262
|
+
|
|
6162
6263
|
// Accessibility
|
|
6163
6264
|
|
|
6164
6265
|
/**
|
|
@@ -6169,5 +6270,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
6169
6270
|
* Generated bundle index. Do not edit.
|
|
6170
6271
|
*/
|
|
6171
6272
|
|
|
6172
|
-
export { BREAKPOINTS_VARS, ChangeContext, CloseInputDatePickerDirective, DF_BREAKPOINTS_VAR_DEFAULT, DfAccessibilityModule, DfAdvancedCardModule, DfAdvancedInputModule, DfAlertModule, DfAmadeusIconComponent, DfBreakpoints, DfDatePickerModule, DfDatepickerRangeDirective, DfDatepickerRangeService, DfDefaultSpinnerComponent, DfDirectionDetectionService, DfExcludeTrapDirective, DfFooterModule, DfIconModule, DfIfMediaDirective, DfInputIconDirective, DfInsertIconDirective, DfInsertIconModule, DfManageBadgeEventsDirective, DfManageCardSelectionDirective, DfManageNavSelectDirective, DfManageSideNavDirective, DfMedia, DfMediaModule, DfMediaObserver, DfMediaQuery, DfModalService, DfModule, DfNavItemType, DfOptionHighlightDirective, DfPopoverConfig, DfPopoverModule, DfProgressIndicatorBackdropComponent, DfProgressIndicatorContainerComponent, DfProgressIndicatorContentPosition, DfProgressIndicatorContentProgressBar, DfProgressIndicatorContentSpinner, DfProgressIndicatorContentType, DfProgressIndicatorDirective, DfProgressIndicatorModule, DfProgressIndicatorRef, DfProgressIndicatorService, DfProgressbarComponent, DfProgressbarModule, DfSelectModule, DfSideNavCollapseDirective, DfSideNavCollapseModule, DfSideNavCollapseService, DfSideNavComponent, DfSideNavConfig, DfSideNavHeaderDirective, DfSideNavIconDirective, DfSideNavItemDirective, DfSideNavModule, DfSideNavService, DfSliderDirectionDirective, DfSliderModule, DfStepperComponent, DfStepperDirective, DfStepperModule, DfStepperService, DfStepperStepContentDirective, DfStepperStepDirective, DfTitleTruncateDirective, DfToastModule, DfTooltipModule, DfTooltipTruncateDirective, DfTriggerClickDirective, LabelType, Options, PointerType, RightToLeftDirectionEnum, SkipLinkDirective, SkipLinksContainerComponent, SliderComponent };
|
|
6273
|
+
export { BREAKPOINTS_VARS, ChangeContext, CloseInputDatePickerDirective, DF_BREAKPOINTS_VAR_DEFAULT, DfAccessibilityModule, DfAdvancedCardModule, DfAdvancedInputModule, DfAlertModule, DfAmadeusIconComponent, DfBreakpoints, DfDatePickerModule, DfDatepickerRangeDirective, DfDatepickerRangeService, DfDefaultSpinnerComponent, DfDirectionDetectionService, DfExcludeTrapDirective, DfFooterModule, DfIconModule, DfIfMediaDirective, DfInputIconDirective, DfInsertIconDirective, DfInsertIconModule, DfManageBadgeEventsDirective, DfManageCardSelectionDirective, DfManageNavSelectDirective, DfManageSideNavDirective, DfMedia, DfMediaModule, DfMediaObserver, DfMediaQuery, DfModalService, DfModule, DfNavItemType, DfOptionHighlightDirective, DfPopoverConfig, DfPopoverModule, DfProgressIndicatorBackdropComponent, DfProgressIndicatorContainerComponent, DfProgressIndicatorContentPosition, DfProgressIndicatorContentProgressBar, DfProgressIndicatorContentSpinner, DfProgressIndicatorContentType, DfProgressIndicatorDirective, DfProgressIndicatorModule, DfProgressIndicatorRef, DfProgressIndicatorService, DfProgressbarComponent, DfProgressbarModule, DfSelectModule, DfSideNavCollapseDirective, DfSideNavCollapseModule, DfSideNavCollapseService, DfSideNavComponent, DfSideNavConfig, DfSideNavHeaderDirective, DfSideNavIconDirective, DfSideNavItemDirective, DfSideNavModule, DfSideNavService, DfSliderDirectionDirective, DfSliderModule, DfStepperComponent, DfStepperDirective, DfStepperModule, DfStepperService, DfStepperStepContentDirective, DfStepperStepDirective, DfTitleTruncateDirective, DfToastModule, DfTooltipModule, DfTooltipTruncateDirective, DfTriggerClickDirective, DfWavesOfProgressDirective, DfWavesOfProgressModule, LabelType, Options, PointerType, RightToLeftDirectionEnum, SkipLinkDirective, SkipLinksContainerComponent, SliderComponent };
|
|
6173
6274
|
//# sourceMappingURL=design-factory.mjs.map
|