@ascentgl/ads-ui 21.24.0 → 21.26.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/fesm2022/ascentgl-ads-ui.mjs +308 -14
- package/fesm2022/ascentgl-ads-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ascentgl-ads-ui.d.ts +141 -72
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Input, Component, NgModule, input, output, computed, ChangeDetectionStrategy, EventEmitter, signal, effect, ViewChild, Output, ElementRef, HostListener, Directive, InjectionToken, inject, DestroyRef, Pipe, contentChild, TemplateRef, Inject, Optional, ChangeDetectorRef, Injectable, Renderer2, viewChild, ViewChildren } from '@angular/core';
|
|
3
3
|
import * as i1 from '@ascentgl/ads-icons';
|
|
4
4
|
import { AdsIconModule, AdsIconRegistry } from '@ascentgl/ads-icons';
|
|
5
|
-
import { adsIconUserCircle, adsIconBell, adsIconChevronRight, adsIconCross, adsIconPlus, adsIconWarning, adsIconLock, adsIconPlusCircle, adsIconSearch, adsIconSortDescending, adsIconCheckCircleFilled, adsIconVisibilityEye, adsIconVisibilityEyeNone, adsIconStatusProcessing, adsIconInformation, adsIconChevronDown, adsIconLoading, adsIconDatepicker, adsIconTimepicker, adsIconCheck, adsIconChevronUp, adsIconFilter, adsIconArrowUpAndDown, adsIconMenuMoreInfo, adsIconHamburgerMenu } from '@ascentgl/ads-icons/icons';
|
|
5
|
+
import { adsIconUserCircle, adsIconBell, adsIconChevronRight, adsIconCross, adsIconPlus, adsIconWarning, adsIconLock, adsIconPlusCircle, adsIconSearch, adsIconSortDescending, adsIconCheckCircleFilled, adsIconVisibilityEye, adsIconVisibilityEyeNone, adsIconStatusProcessing, adsIconInformation, adsIconChevronDown, adsIconLoading, adsIconDatepicker, adsIconTimepicker, adsIconCheck, adsIconDropdownArrow, adsIconChevronUp, adsIconFilter, adsIconArrowUpAndDown, adsIconMenuMoreInfo, adsIconHamburgerMenu, adsIconStatusNew } from '@ascentgl/ads-icons/icons';
|
|
6
6
|
import * as i1$1 from '@angular/common';
|
|
7
7
|
import { CommonModule, NgOptimizedImage, NgTemplateOutlet, NgClass, NgStyle, DOCUMENT } from '@angular/common';
|
|
8
8
|
import * as i2 from '@angular/material/badge';
|
|
@@ -1877,7 +1877,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
|
|
|
1877
1877
|
class AdsScmsLogoComponent extends AbstractApplicationLogoComponent {
|
|
1878
1878
|
constructor() {
|
|
1879
1879
|
super(...arguments);
|
|
1880
|
-
this.label = '
|
|
1880
|
+
this.label = 'Ascent';
|
|
1881
1881
|
}
|
|
1882
1882
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AdsScmsLogoComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1883
1883
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: AdsScmsLogoComponent, isStandalone: false, selector: "ads-scms-logo", usesInheritance: true, ngImport: i0, template: "<div class=\"logo-container\">\n <ads-ascent-logo [isCollapsed]=\"true\" />\n <ads-ascent-logo class=\"inverted\" [isCollapsed]=\"true\" [invertTheme]=\"true\" />\n <span class=\"title text-4xl-semibold\">{{ label }}</span>\n</div>\n", styles: ["::-webkit-scrollbar{width:10px;height:10px;background-color:transparent}::-webkit-scrollbar-thumb{width:10px;background:var(--color-muted);border:1px solid var(--color-light);border-radius:100px}::-webkit-scrollbar-thumb:hover{background:var(--color-medium-30);border-color:var(--color-medium-30)}.text-xxs,text-xxs-semibold{font-size:.625rem;line-height:13px}.text-xxs.text-xxs-semibold,text-xxs-semibold.text-xxs-semibold{font-weight:600}.text-xs,.text-xs-semibold,.text-link-xs,.text-error-xs{font-size:.75rem;line-height:16px}.text-xs.text-xs-semibold,.text-xs-semibold.text-xs-semibold,.text-link-xs.text-xs-semibold,.text-error-xs.text-xs-semibold{font-weight:600}.text-sm,.text-sm-semibold,.text-link-sm{font-size:.875rem;line-height:18px}.text-sm.text-sm-semibold,.text-sm-semibold.text-sm-semibold,.text-link-sm.text-sm-semibold{font-weight:600}.text-base,.text-base-semibold,.text-link-base,.text-error-base{font-size:1rem;line-height:21px}.text-base.text-base-semibold,.text-base-semibold.text-base-semibold,.text-link-base.text-base-semibold,.text-error-base.text-base-semibold{font-weight:600}.text-lg,text-lg-semibold{font-size:1.125rem;line-height:23px}.text-lg.text-lg-semibold,text-lg-semibold.text-lg-semibold{font-weight:600}.text-xl,.text-xl-semibold{font-size:1.25rem;line-height:26px}.text-xl.text-xl-semibold,.text-xl-semibold.text-xl-semibold{font-weight:600}.text-2xl,.text-2xl-semibold{font-size:1.5rem;line-height:31px}.text-2xl.text-2xl-semibold,.text-2xl-semibold.text-2xl-semibold{font-weight:600}.text-3x,.text-3xl-semibold{font-size:1.875rem;line-height:39px}.text-3x.text-3xl-semibold,.text-3xl-semibold.text-3xl-semibold{font-weight:600}.text-4xl,.text-4xl-semibold{font-size:2.25rem;line-height:47px}.text-4xl.text-4xl-semibold,.text-4xl-semibold.text-4xl-semibold{font-weight:600}.text-5xl,.text-5xl-semibold{font-size:3rem;line-height:62px}.text-5xl.text-5xl-semibold,.text-5xl-semibold.text-5xl-semibold{font-weight:600}.text-6xl,.text-6xl-semibold{font-size:4rem;line-height:83px}.text-6xl.text-6xl-semibold,.text-6xl-semibold.text-6xl-semibold{font-weight:600}h1,h2,h3,h4,h5,h6{color:var(--color-dark);font-weight:600;font-style:normal;margin:0}h1{line-height:42px;font-size:32px}h2{line-height:31px;font-size:24px}h3{line-height:23px;font-size:18px}h4{line-height:24px;font-size:16px}h5{line-height:21px;font-size:14px}h6{line-height:16px;font-size:12px}p,.text-base,.text-base-semibold{font-style:normal;font-weight:400;margin:0;color:var(--color-medium)}.text-error-base,.text-error-xs{color:var(--color-error)}.text-link-base,.text-link-sm,.text-link-xs{color:var(--color-link);text-decoration-line:underline}html{--mat-form-field-filled-container-color: var(--color-white) !important;--mat-form-field-state-layer-color: var(--color-white) !important;--mat-form-field-container-vertical-padding: 0 !important;--mat-form-field-filled-with-label-container-padding-top: 0 !important;--mat-form-field-filled-with-label-container-padding-bottom: 4px !important;--mat-form-field-filled-error-hover-label-text-color: var(--color-error) !important;--mat-form-field-container-height: 48px !important;--mat-dialog-container-small-max-width: calc(100vw - 32px) !important;--mat-badge-container-shape: 50% !important}.mat-mdc-select-panel,.mat-mdc-autocomplete-panel{--mat-autocomplete-background-color: var(--color-white);--mat-select-panel-background-color: var(--color-white);--mat-option-label-text-color: var(--color-dark);max-height:287px!important}.mat-mdc-select-panel.ads-dropdown-panel,.mat-mdc-autocomplete-panel.ads-dropdown-panel{padding:0}.mat-mdc-select-panel.ads-dropdown-panel.fit-content,.mat-mdc-autocomplete-panel.ads-dropdown-panel.fit-content{min-width:fit-content}.mat-mdc-select-panel.ads-dropdown-panel:not(.clickable) mat-option,.mat-mdc-autocomplete-panel.ads-dropdown-panel:not(.clickable) mat-option{cursor:default}.mat-mdc-autocomplete-panel.loading{display:none}.no-results-hr{margin:0}.empty-container{height:22px}.mdc-snackbar.mat-mdc-snack-bar-container{margin:32px;width:100%}.mdc-snackbar.mat-mdc-snack-bar-container.error{--mat-snack-bar-container-color: var(--color-error)}.mdc-snackbar.mat-mdc-snack-bar-container.error>.button{color:var(--color-error)}.mdc-snackbar.mat-mdc-snack-bar-container.primary{--mat-snack-bar-container-color: var(--color-primary)}.mdc-snackbar.mat-mdc-snack-bar-container.success{--mat-snack-bar-container-color: var(--color-success)}.mdc-snackbar.mat-mdc-snack-bar-container.secondary{--mat-snack-bar-container-color: var(--color-secondary)}.mdc-snackbar.mat-mdc-snack-bar-container .mdc-snackbar__label{padding:16px 24px;--mat-snack-bar-supporting-text-size: 16px;--mat-snack-bar-supporting-text-weight: 400;--mat-snack-bar-supporting-text-line-height: 24px;--mat-snack-bar-supporting-text-color: var(--color-white)}.mdc-snackbar.mat-mdc-snack-bar-container .mdc-snackbar__surface{padding-right:0;min-width:200px;max-width:unset}mat-datetimepicker-content.ads-datetimepicker-calendar{border-radius:5px;background-color:var(--color-white);--mat-form-field-filled-label-text-color: var(--color-medium) !important}mat-datetimepicker-content.ads-datetimepicker-calendar.hidden{display:none}mat-datetimepicker-content.ads-datetimepicker-calendar .mat-datetimepicker-calendar-table-header{color:var(--color-medium)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar{height:auto;width:265px;margin:12px}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar.year .mat-datetimepicker-calendar-header .mat-datetimepicker-calendar-period-button{display:none}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar.year .mat-datetimepicker-calendar-header .header.line-1 .sub-line-1 .mat-datetimepicker-calendar-header-year:hover{opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar.month .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-date{pointer-events:none}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar:not(.month) .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-date:hover{opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar.clock .mat-datetimepicker-calendar-header .header.line-1 .sub-line-2{display:none}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar.clock .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-hours.active,mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar.clock .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-minutes.active{opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header{display:flex;flex-direction:column;padding:0}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header{color:var(--mat-form-field-filled-label-text-color);display:flex}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1{justify-content:space-between}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1 .sub-line-1{display:flex;gap:6px;align-items:center}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1 .sub-line-1 .mat-datetimepicker-calendar-header-year{opacity:1;font-weight:400;line-height:21px;display:flex;gap:4px}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1 .sub-line-1 .mat-datetimepicker-calendar-header-year:hover{opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1 .sub-line-1 .mat-datetimepicker-calendar-header-year .arrow-down{display:flex;align-items:center;margin:2px 0 0 15px}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1 .sub-line-1 .mat-datetimepicker-calendar-header-year .arrow-down svg{fill:var(--color-medium)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1 .sub-line-1 .mat-datetimepicker-calendar-header-year .month-shortcut{padding:0;text-transform:uppercase;height:auto;font-size:1rem;line-height:21px;font-weight:400}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1 .sub-line-2{display:flex}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1 .sub-line-2>div{width:auto;height:auto;padding:0;display:flex;align-items:center;opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1 .sub-line-2>div:hover{opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-2{justify-content:flex-end;gap:6px;font-size:inherit;line-height:inherit}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-date{opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-time{opacity:1;padding:0}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-time .mat-datetimepicker-calendar-header-hours,mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-time .mat-datetimepicker-calendar-header-minutes{cursor:pointer;opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-time .mat-datetimepicker-calendar-header-hours:hover,mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-time .mat-datetimepicker-calendar-header-minutes:hover{opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content{padding:0}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-month-content{display:none}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-table thead th{padding:16px 0 10px;color:var(--mat-form-field-filled-label-text-color);opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-table tbody .mat-datetimepicker-calendar-body-label{visibility:hidden}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-table tbody .mat-datetimepicker-calendar-body-cell>*{color:var(--color-dark)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-table tbody .mat-datetimepicker-calendar-body-cell:hover .mat-datetimepicker-calendar-body-cell-content{color:var(--color-white);background-color:var(--color-secondary-hover)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-table tbody .mat-datetimepicker-calendar-body-cell:focus .mat-datetimepicker-calendar-body-cell-content,mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-table tbody .mat-datetimepicker-calendar-body-cell:active .mat-datetimepicker-calendar-body-cell-content{color:var(--color-white);background-color:var(--color-secondary-pressed)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-table tbody .mat-datetimepicker-calendar-body-cell.mat-datetimepicker-calendar-body-active:not(:hover) .mat-datetimepicker-calendar-body-cell-content{background-color:var(--color-white);color:var(--color-secondary-hover)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-table tbody .mat-datetimepicker-calendar-body-cell.mat-datetimepicker-calendar-body-active .mat-datetimepicker-calendar-body-cell-content{border:solid 1.5px var(--color-secondary-hover)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-table tbody .mat-datetimepicker-calendar-body-cell-content{font-weight:400;font-size:16px;line-height:21px}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content mat-datetimepicker-clock{margin:0}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content mat-datetimepicker-clock .mat-datetimepicker-clock{background-color:var(--color-light-30)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content mat-datetimepicker-clock .mat-datetimepicker-clock .mat-datetimepicker-clock-cell{font-weight:400;font-size:1rem;line-height:21px;color:var(--color-dark)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content mat-datetimepicker-clock .mat-datetimepicker-clock .mat-datetimepicker-clock-cell.mat-datetimepicker-clock-cell-selected{border:solid 1.5px var(--color-select-hover)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content mat-datetimepicker-clock .mat-datetimepicker-clock .mat-datetimepicker-clock-cell:hover{color:var(--color-white);background-color:var(--color-secondary-hover)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content mat-datetimepicker-clock .mat-datetimepicker-clock .mat-datetimepicker-clock-cell:active{color:var(--color-white);background-color:var(--color-secondary-pressed)}.mat-mdc-tooltip-panel-above .mdc-tooltip:after,.mat-mdc-tooltip-panel-below .mdc-tooltip:after,.mat-mdc-tooltip-panel-left .mdc-tooltip:after,.mat-mdc-tooltip-panel-right .mdc-tooltip:after{content:\"\";position:absolute;width:0;height:0;border-style:solid}.mat-mdc-tooltip-panel-above .mdc-tooltip:after{bottom:-8px;left:50%;transform:translate(-50%);border-width:8px 8px 0 8px;border-color:var(--color-white) transparent transparent transparent}.mat-mdc-tooltip-panel-below .mdc-tooltip:after{top:-8px;left:50%;transform:translate(-50%);border-width:0 8px 8px 8px;border-color:transparent transparent var(--color-white) transparent}.mat-mdc-tooltip-panel-left .mdc-tooltip:after{top:50%;right:-8px;transform:translateY(-50%);border-width:8px 0 8px 8px;border-color:transparent transparent transparent var(--color-white)}.mat-mdc-tooltip-panel-right .mdc-tooltip:after{top:50%;left:-8px;transform:translateY(-50%);border-width:8px 8px 8px 0;border-color:transparent var(--color-white) transparent transparent}.mat-mdc-tooltip-panel .mdc-tooltip .mdc-tooltip__surface{background-color:var(--color-white);color:var(--color-dark);font-size:14px;line-height:21px;padding:8px;border-radius:5px;box-shadow:0 4px 50px 0 var(--color-medium-opacity-50);max-width:250px;position:relative}.mat-mdc-tooltip-panel .mdc-tooltip.big .mdc-tooltip__surface{font-size:16px;padding:24px;border-radius:10px}.cdk-overlay-pane.search-dropdown-modal .mat-mdc-dialog-container .mat-mdc-dialog-surface{padding:24px}.cdk-overlay-pane.search-dropdown-modal .mat-mdc-dialog-container .mat-mdc-dialog-title{font-size:18px;font-weight:600;font-family:Poppins,serif;--mat-dialog-headline-padding: 0;margin-bottom:24px}.cdk-overlay-pane.search-dropdown-modal .mat-mdc-dialog-container .mat-mdc-dialog-content{--mat-dialog-with-actions-content-padding: 0;margin-bottom:24px}.cdk-overlay-pane.search-dropdown-modal .mat-mdc-dialog-container .mat-mdc-dialog-content.full-width{width:calc(100% + 48px);position:relative;left:-24px}.cdk-overlay-pane.search-dropdown-modal .mat-mdc-dialog-container .mat-mdc-dialog-actions{--mat-dialog-actions-alignment: flex-end;--mat-dialog-actions-padding: 0}mat-list.ads-mat-list{display:flex;flex-direction:column;gap:8px;padding:0}mat-list.ads-mat-list.with-controls{gap:0}mat-list.ads-mat-list.with-controls.single-control mat-list-item .mat-mdc-list-item-unscoped-content{grid-template-columns:min-content minmax(260px,450px)}mat-list.ads-mat-list.with-controls mat-list-item .mat-mdc-list-item-unscoped-content{align-items:flex-start;grid-template-columns:min-content minmax(260px,450px) minmax(200px,400px)}mat-list.ads-mat-list mat-list-item{--mat-list-list-item-one-line-container-height: auto;min-height:54px}mat-list.ads-mat-list mat-list-item:hover .mat-mdc-list-item-unscoped-content{color:var(--color-medium)}mat-list.ads-mat-list mat-list-item .mat-mdc-list-item-unscoped-content{color:var(--color-medium);display:grid;grid-template-columns:min-content 1fr;white-space:normal;grid-column-gap:28px}.mat-mdc-menu-panel{--mat-menu-container-color: var(--color-white);max-width:unset!important}.mat-menu-content{min-width:161px}.cdk-overlay-pane .mat-menu-panel{max-width:none;margin-top:13px;border-radius:0}.peak-more-menu-panel{background-color:var(--color-white)!important}.cdk-overlay-pane .mat-menu-panel.peak-more-menu-panel{min-width:278px;margin-top:32px;margin-right:-12px}.mat-menu-content .mat-menu-item,.peak-menu-content .mat-menu-item{height:43px;color:var(--color-dark);font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px;font-weight:400}.mat-menu-content .mat-menu-item a,.peak-menu-content .mat-menu-item a{display:inline-block;width:100%;height:100%;color:var(--color-dark);text-decoration:none}.mat-menu-content .mat-menu-item:hover a,.peak-menu-content .mat-menu-item:hover a{color:var(--color-white);text-decoration:none}.mat-menu-panel .mat-menu-content:not(:empty){padding-top:0;padding-bottom:0}.peak-bottom-sheet-panel.mat-bottom-sheet-container .mat-menu-item{display:flex;align-items:center;padding-right:16px;padding-left:16px}.mat-menu-content .mat-menu-item:hover:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item-highlighted:not([disabled]),.peak-menu-content .mat-menu-item:hover:not([disabled]){background-color:var(--color-secondary);color:var(--color-white)}.mat-focus-indicator.mat-menu-trigger.mat-menu-item.mat-menu-item-submenu-trigger.mat-menu-item-highlighted{background-color:var(--color-secondary);color:var(--color-white)}.mat-menu-content .mat-menu-item-submenu-trigger:after,.peak-menu-content .mat-menu-item-submenu-trigger:after{display:none}.mat-menu-item.with-border{border-top:1px solid var(--color-light)}.peak-bottom-sheet-panel.mat-bottom-sheet-container{padding:0}.text-xxs{font-size:.625rem}.text-xs{font-size:.75rem}.text-sm{font-size:.875rem}.text-base{font-size:1rem}.text-lg{font-size:1.125rem}.text-xl{font-size:1.25rem}.text-2xl{font-size:1.5rem}.text-3xl{font-size:1.875rem}.text-4xl{font-size:2.25rem}.text-5xl{font-size:3rem}.text-6xl{font-size:4rem}.bg-primary{background-color:var(--color-primary)}.bg-success{background-color:var(--color-success)}.bg-warn{background-color:var(--color-error)}.bg-white{background-color:var(--color-white)}.bg-primary:hover,.bg-primary:focus{background-color:var(--color-secondary)}.bg-success:hover,.bg-success:focus{background-color:var(--color-success-hover)}.bg-warn:hover,.bg-warn:focus{background-color:var(--color-error-hover)}.primary{color:var(--color-primary)}.secondary{color:var(--color-secondary)}.dark{color:var(--color-dark)}.black{color:var(--color-black)}.warn{color:var(--color-error)}.medium{color:var(--color-medium)}.full-width{width:100%}.logo-container{width:172px;height:172px;display:flex;flex-direction:column;justify-content:center;align-items:center}@media screen and (max-width:480px){.logo-container{width:112px;height:112px}}\n", "::-webkit-scrollbar{width:10px;height:10px;background-color:transparent}::-webkit-scrollbar-thumb{width:10px;background:var(--color-muted);border:1px solid var(--color-light);border-radius:100px}::-webkit-scrollbar-thumb:hover{background:var(--color-medium-30);border-color:var(--color-medium-30)}.text-xxs,text-xxs-semibold{font-size:.625rem;line-height:13px}.text-xxs.text-xxs-semibold,text-xxs-semibold.text-xxs-semibold{font-weight:600}.text-xs,.text-xs-semibold,.text-link-xs,.text-error-xs{font-size:.75rem;line-height:16px}.text-xs.text-xs-semibold,.text-xs-semibold.text-xs-semibold,.text-link-xs.text-xs-semibold,.text-error-xs.text-xs-semibold{font-weight:600}.text-sm,.text-sm-semibold,.text-link-sm{font-size:.875rem;line-height:18px}.text-sm.text-sm-semibold,.text-sm-semibold.text-sm-semibold,.text-link-sm.text-sm-semibold{font-weight:600}.text-base,.text-base-semibold,.text-link-base,.text-error-base{font-size:1rem;line-height:21px}.text-base.text-base-semibold,.text-base-semibold.text-base-semibold,.text-link-base.text-base-semibold,.text-error-base.text-base-semibold{font-weight:600}.text-lg,text-lg-semibold{font-size:1.125rem;line-height:23px}.text-lg.text-lg-semibold,text-lg-semibold.text-lg-semibold{font-weight:600}.text-xl,.text-xl-semibold{font-size:1.25rem;line-height:26px}.text-xl.text-xl-semibold,.text-xl-semibold.text-xl-semibold{font-weight:600}.text-2xl,.text-2xl-semibold{font-size:1.5rem;line-height:31px}.text-2xl.text-2xl-semibold,.text-2xl-semibold.text-2xl-semibold{font-weight:600}.text-3x,.text-3xl-semibold{font-size:1.875rem;line-height:39px}.text-3x.text-3xl-semibold,.text-3xl-semibold.text-3xl-semibold{font-weight:600}.text-4xl,.text-4xl-semibold{font-size:2.25rem;line-height:47px}.text-4xl.text-4xl-semibold,.text-4xl-semibold.text-4xl-semibold{font-weight:600}.text-5xl,.text-5xl-semibold{font-size:3rem;line-height:62px}.text-5xl.text-5xl-semibold,.text-5xl-semibold.text-5xl-semibold{font-weight:600}.text-6xl,.text-6xl-semibold{font-size:4rem;line-height:83px}.text-6xl.text-6xl-semibold,.text-6xl-semibold.text-6xl-semibold{font-weight:600}h1,h2,h3,h4,h5,h6{color:var(--color-dark);font-weight:600;font-style:normal;margin:0}h1{line-height:42px;font-size:32px}h2{line-height:31px;font-size:24px}h3{line-height:23px;font-size:18px}h4{line-height:24px;font-size:16px}h5{line-height:21px;font-size:14px}h6{line-height:16px;font-size:12px}p,.text-base,.text-base-semibold{font-style:normal;font-weight:400;margin:0;color:var(--color-medium)}.text-error-base,.text-error-xs{color:var(--color-error)}.text-link-base,.text-link-sm,.text-link-xs{color:var(--color-link);text-decoration-line:underline}html{--mat-form-field-filled-container-color: var(--color-white) !important;--mat-form-field-state-layer-color: var(--color-white) !important;--mat-form-field-container-vertical-padding: 0 !important;--mat-form-field-filled-with-label-container-padding-top: 0 !important;--mat-form-field-filled-with-label-container-padding-bottom: 4px !important;--mat-form-field-filled-error-hover-label-text-color: var(--color-error) !important;--mat-form-field-container-height: 48px !important;--mat-dialog-container-small-max-width: calc(100vw - 32px) !important;--mat-badge-container-shape: 50% !important}.mat-mdc-select-panel,.mat-mdc-autocomplete-panel{--mat-autocomplete-background-color: var(--color-white);--mat-select-panel-background-color: var(--color-white);--mat-option-label-text-color: var(--color-dark);max-height:287px!important}.mat-mdc-select-panel.ads-dropdown-panel,.mat-mdc-autocomplete-panel.ads-dropdown-panel{padding:0}.mat-mdc-select-panel.ads-dropdown-panel.fit-content,.mat-mdc-autocomplete-panel.ads-dropdown-panel.fit-content{min-width:fit-content}.mat-mdc-select-panel.ads-dropdown-panel:not(.clickable) mat-option,.mat-mdc-autocomplete-panel.ads-dropdown-panel:not(.clickable) mat-option{cursor:default}.mat-mdc-autocomplete-panel.loading{display:none}.no-results-hr{margin:0}.empty-container{height:22px}.mdc-snackbar.mat-mdc-snack-bar-container{margin:32px;width:100%}.mdc-snackbar.mat-mdc-snack-bar-container.error{--mat-snack-bar-container-color: var(--color-error)}.mdc-snackbar.mat-mdc-snack-bar-container.error>.button{color:var(--color-error)}.mdc-snackbar.mat-mdc-snack-bar-container.primary{--mat-snack-bar-container-color: var(--color-primary)}.mdc-snackbar.mat-mdc-snack-bar-container.success{--mat-snack-bar-container-color: var(--color-success)}.mdc-snackbar.mat-mdc-snack-bar-container.secondary{--mat-snack-bar-container-color: var(--color-secondary)}.mdc-snackbar.mat-mdc-snack-bar-container .mdc-snackbar__label{padding:16px 24px;--mat-snack-bar-supporting-text-size: 16px;--mat-snack-bar-supporting-text-weight: 400;--mat-snack-bar-supporting-text-line-height: 24px;--mat-snack-bar-supporting-text-color: var(--color-white)}.mdc-snackbar.mat-mdc-snack-bar-container .mdc-snackbar__surface{padding-right:0;min-width:200px;max-width:unset}mat-datetimepicker-content.ads-datetimepicker-calendar{border-radius:5px;background-color:var(--color-white);--mat-form-field-filled-label-text-color: var(--color-medium) !important}mat-datetimepicker-content.ads-datetimepicker-calendar.hidden{display:none}mat-datetimepicker-content.ads-datetimepicker-calendar .mat-datetimepicker-calendar-table-header{color:var(--color-medium)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar{height:auto;width:265px;margin:12px}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar.year .mat-datetimepicker-calendar-header .mat-datetimepicker-calendar-period-button{display:none}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar.year .mat-datetimepicker-calendar-header .header.line-1 .sub-line-1 .mat-datetimepicker-calendar-header-year:hover{opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar.month .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-date{pointer-events:none}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar:not(.month) .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-date:hover{opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar.clock .mat-datetimepicker-calendar-header .header.line-1 .sub-line-2{display:none}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar.clock .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-hours.active,mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar.clock .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-minutes.active{opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header{display:flex;flex-direction:column;padding:0}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header{color:var(--mat-form-field-filled-label-text-color);display:flex}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1{justify-content:space-between}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1 .sub-line-1{display:flex;gap:6px;align-items:center}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1 .sub-line-1 .mat-datetimepicker-calendar-header-year{opacity:1;font-weight:400;line-height:21px;display:flex;gap:4px}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1 .sub-line-1 .mat-datetimepicker-calendar-header-year:hover{opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1 .sub-line-1 .mat-datetimepicker-calendar-header-year .arrow-down{display:flex;align-items:center;margin:2px 0 0 15px}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1 .sub-line-1 .mat-datetimepicker-calendar-header-year .arrow-down svg{fill:var(--color-medium)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1 .sub-line-1 .mat-datetimepicker-calendar-header-year .month-shortcut{padding:0;text-transform:uppercase;height:auto;font-size:1rem;line-height:21px;font-weight:400}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1 .sub-line-2{display:flex}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1 .sub-line-2>div{width:auto;height:auto;padding:0;display:flex;align-items:center;opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-1 .sub-line-2>div:hover{opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-2{justify-content:flex-end;gap:6px;font-size:inherit;line-height:inherit}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-date{opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-time{opacity:1;padding:0}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-time .mat-datetimepicker-calendar-header-hours,mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-time .mat-datetimepicker-calendar-header-minutes{cursor:pointer;opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-time .mat-datetimepicker-calendar-header-hours:hover,mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-header .header.line-2 .mat-datetimepicker-calendar-header-time .mat-datetimepicker-calendar-header-minutes:hover{opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content{padding:0}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-month-content{display:none}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-table thead th{padding:16px 0 10px;color:var(--mat-form-field-filled-label-text-color);opacity:1}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-table tbody .mat-datetimepicker-calendar-body-label{visibility:hidden}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-table tbody .mat-datetimepicker-calendar-body-cell>*{color:var(--color-dark)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-table tbody .mat-datetimepicker-calendar-body-cell:hover .mat-datetimepicker-calendar-body-cell-content{color:var(--color-white);background-color:var(--color-secondary-hover)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-table tbody .mat-datetimepicker-calendar-body-cell:focus .mat-datetimepicker-calendar-body-cell-content,mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-table tbody .mat-datetimepicker-calendar-body-cell:active .mat-datetimepicker-calendar-body-cell-content{color:var(--color-white);background-color:var(--color-secondary-pressed)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-table tbody .mat-datetimepicker-calendar-body-cell.mat-datetimepicker-calendar-body-active:not(:hover) .mat-datetimepicker-calendar-body-cell-content{background-color:var(--color-white);color:var(--color-secondary-hover)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-table tbody .mat-datetimepicker-calendar-body-cell.mat-datetimepicker-calendar-body-active .mat-datetimepicker-calendar-body-cell-content{border:solid 1.5px var(--color-secondary-hover)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-table tbody .mat-datetimepicker-calendar-body-cell-content{font-weight:400;font-size:16px;line-height:21px}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content mat-datetimepicker-clock{margin:0}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content mat-datetimepicker-clock .mat-datetimepicker-clock{background-color:var(--color-light-30)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content mat-datetimepicker-clock .mat-datetimepicker-clock .mat-datetimepicker-clock-cell{font-weight:400;font-size:1rem;line-height:21px;color:var(--color-dark)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content mat-datetimepicker-clock .mat-datetimepicker-clock .mat-datetimepicker-clock-cell.mat-datetimepicker-clock-cell-selected{border:solid 1.5px var(--color-select-hover)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content mat-datetimepicker-clock .mat-datetimepicker-clock .mat-datetimepicker-clock-cell:hover{color:var(--color-white);background-color:var(--color-secondary-hover)}mat-datetimepicker-content.ads-datetimepicker-calendar mat-datetimepicker-calendar .mat-datetimepicker-calendar-content mat-datetimepicker-clock .mat-datetimepicker-clock .mat-datetimepicker-clock-cell:active{color:var(--color-white);background-color:var(--color-secondary-pressed)}.mat-mdc-tooltip-panel-above .mdc-tooltip:after,.mat-mdc-tooltip-panel-below .mdc-tooltip:after,.mat-mdc-tooltip-panel-left .mdc-tooltip:after,.mat-mdc-tooltip-panel-right .mdc-tooltip:after{content:\"\";position:absolute;width:0;height:0;border-style:solid}.mat-mdc-tooltip-panel-above .mdc-tooltip:after{bottom:-8px;left:50%;transform:translate(-50%);border-width:8px 8px 0 8px;border-color:var(--color-white) transparent transparent transparent}.mat-mdc-tooltip-panel-below .mdc-tooltip:after{top:-8px;left:50%;transform:translate(-50%);border-width:0 8px 8px 8px;border-color:transparent transparent var(--color-white) transparent}.mat-mdc-tooltip-panel-left .mdc-tooltip:after{top:50%;right:-8px;transform:translateY(-50%);border-width:8px 0 8px 8px;border-color:transparent transparent transparent var(--color-white)}.mat-mdc-tooltip-panel-right .mdc-tooltip:after{top:50%;left:-8px;transform:translateY(-50%);border-width:8px 8px 8px 0;border-color:transparent var(--color-white) transparent transparent}.mat-mdc-tooltip-panel .mdc-tooltip .mdc-tooltip__surface{background-color:var(--color-white);color:var(--color-dark);font-size:14px;line-height:21px;padding:8px;border-radius:5px;box-shadow:0 4px 50px 0 var(--color-medium-opacity-50);max-width:250px;position:relative}.mat-mdc-tooltip-panel .mdc-tooltip.big .mdc-tooltip__surface{font-size:16px;padding:24px;border-radius:10px}.cdk-overlay-pane.search-dropdown-modal .mat-mdc-dialog-container .mat-mdc-dialog-surface{padding:24px}.cdk-overlay-pane.search-dropdown-modal .mat-mdc-dialog-container .mat-mdc-dialog-title{font-size:18px;font-weight:600;font-family:Poppins,serif;--mat-dialog-headline-padding: 0;margin-bottom:24px}.cdk-overlay-pane.search-dropdown-modal .mat-mdc-dialog-container .mat-mdc-dialog-content{--mat-dialog-with-actions-content-padding: 0;margin-bottom:24px}.cdk-overlay-pane.search-dropdown-modal .mat-mdc-dialog-container .mat-mdc-dialog-content.full-width{width:calc(100% + 48px);position:relative;left:-24px}.cdk-overlay-pane.search-dropdown-modal .mat-mdc-dialog-container .mat-mdc-dialog-actions{--mat-dialog-actions-alignment: flex-end;--mat-dialog-actions-padding: 0}mat-list.ads-mat-list{display:flex;flex-direction:column;gap:8px;padding:0}mat-list.ads-mat-list.with-controls{gap:0}mat-list.ads-mat-list.with-controls.single-control mat-list-item .mat-mdc-list-item-unscoped-content{grid-template-columns:min-content minmax(260px,450px)}mat-list.ads-mat-list.with-controls mat-list-item .mat-mdc-list-item-unscoped-content{align-items:flex-start;grid-template-columns:min-content minmax(260px,450px) minmax(200px,400px)}mat-list.ads-mat-list mat-list-item{--mat-list-list-item-one-line-container-height: auto;min-height:54px}mat-list.ads-mat-list mat-list-item:hover .mat-mdc-list-item-unscoped-content{color:var(--color-medium)}mat-list.ads-mat-list mat-list-item .mat-mdc-list-item-unscoped-content{color:var(--color-medium);display:grid;grid-template-columns:min-content 1fr;white-space:normal;grid-column-gap:28px}.mat-mdc-menu-panel{--mat-menu-container-color: var(--color-white);max-width:unset!important}.mat-menu-content{min-width:161px}.cdk-overlay-pane .mat-menu-panel{max-width:none;margin-top:13px;border-radius:0}.peak-more-menu-panel{background-color:var(--color-white)!important}.cdk-overlay-pane .mat-menu-panel.peak-more-menu-panel{min-width:278px;margin-top:32px;margin-right:-12px}.mat-menu-content .mat-menu-item,.peak-menu-content .mat-menu-item{height:43px;color:var(--color-dark);font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px;font-weight:400}.mat-menu-content .mat-menu-item a,.peak-menu-content .mat-menu-item a{display:inline-block;width:100%;height:100%;color:var(--color-dark);text-decoration:none}.mat-menu-content .mat-menu-item:hover a,.peak-menu-content .mat-menu-item:hover a{color:var(--color-white);text-decoration:none}.mat-menu-panel .mat-menu-content:not(:empty){padding-top:0;padding-bottom:0}.peak-bottom-sheet-panel.mat-bottom-sheet-container .mat-menu-item{display:flex;align-items:center;padding-right:16px;padding-left:16px}.mat-menu-content .mat-menu-item:hover:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item-highlighted:not([disabled]),.peak-menu-content .mat-menu-item:hover:not([disabled]){background-color:var(--color-secondary);color:var(--color-white)}.mat-focus-indicator.mat-menu-trigger.mat-menu-item.mat-menu-item-submenu-trigger.mat-menu-item-highlighted{background-color:var(--color-secondary);color:var(--color-white)}.mat-menu-content .mat-menu-item-submenu-trigger:after,.peak-menu-content .mat-menu-item-submenu-trigger:after{display:none}.mat-menu-item.with-border{border-top:1px solid var(--color-light)}.peak-bottom-sheet-panel.mat-bottom-sheet-container{padding:0}.text-xxs{font-size:.625rem}.text-xs{font-size:.75rem}.text-sm{font-size:.875rem}.text-base{font-size:1rem}.text-lg{font-size:1.125rem}.text-xl{font-size:1.25rem}.text-2xl{font-size:1.5rem}.text-3xl{font-size:1.875rem}.text-4xl{font-size:2.25rem}.text-5xl{font-size:3rem}.text-6xl{font-size:4rem}.bg-primary{background-color:var(--color-primary)}.bg-success{background-color:var(--color-success)}.bg-warn{background-color:var(--color-error)}.bg-white{background-color:var(--color-white)}.bg-primary:hover,.bg-primary:focus{background-color:var(--color-secondary)}.bg-success:hover,.bg-success:focus{background-color:var(--color-success-hover)}.bg-warn:hover,.bg-warn:focus{background-color:var(--color-error-hover)}.primary{color:var(--color-primary)}.secondary{color:var(--color-secondary)}.dark{color:var(--color-dark)}.black{color:var(--color-black)}.warn{color:var(--color-error)}.medium{color:var(--color-medium)}.full-width{width:100%}ads-ascent-logo{width:44%;height:40%}ads-ascent-logo.inverted{display:none}ads-ascent-logo::ng-deep svg.large{width:100%;height:100%}.title{font-size:2.5rem;line-height:2.5rem;color:var(--color-primary-hover);-webkit-user-select:none;user-select:none}@media screen and (max-width:480px){.title{font-size:1.25rem;line-height:1.25rem}}\n"], dependencies: [{ kind: "component", type: AdsAscentLogoComponent, selector: "ads-ascent-logo", inputs: ["invertTheme", "size"] }] }); }
|
|
@@ -5698,7 +5698,10 @@ class AdsDatepickerComponent extends AdsDatetimepickerComponent {
|
|
|
5698
5698
|
/** @ignore */
|
|
5699
5699
|
this.defaultErrorMessages = {
|
|
5700
5700
|
matDatepickerParse: 'Date must appear in this format: MM/DD/YYYY',
|
|
5701
|
+
invalidDate: 'Please enter a valid date',
|
|
5701
5702
|
};
|
|
5703
|
+
/** @ignore - Previous raw input value for tracking changes */
|
|
5704
|
+
this.previousRawValue = '';
|
|
5702
5705
|
/** @ignore */
|
|
5703
5706
|
this.elementRef = inject(ElementRef);
|
|
5704
5707
|
}
|
|
@@ -5747,6 +5750,216 @@ class AdsDatepickerComponent extends AdsDatetimepickerComponent {
|
|
|
5747
5750
|
}
|
|
5748
5751
|
this.setControlValue(this.displayControl, valueToApply);
|
|
5749
5752
|
}
|
|
5753
|
+
/** @ignore - Override to add date input formatting */
|
|
5754
|
+
onKeyDown(event) {
|
|
5755
|
+
if (!(event.target instanceof HTMLInputElement)) {
|
|
5756
|
+
return;
|
|
5757
|
+
}
|
|
5758
|
+
const input = event.target;
|
|
5759
|
+
const key = event.key;
|
|
5760
|
+
// Allow: Enter to blur and apply value
|
|
5761
|
+
if (key === 'Enter') {
|
|
5762
|
+
input.blur();
|
|
5763
|
+
return;
|
|
5764
|
+
}
|
|
5765
|
+
// Allow: Tab, Escape, navigation keys
|
|
5766
|
+
if (['Tab', 'Escape', 'ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Home', 'End'].includes(key)) {
|
|
5767
|
+
return;
|
|
5768
|
+
}
|
|
5769
|
+
// Allow: Backspace and Delete
|
|
5770
|
+
if (key === 'Backspace' || key === 'Delete') {
|
|
5771
|
+
// Let the default behavior happen, then format
|
|
5772
|
+
setTimeout(() => this.formatDateInput(input), 0);
|
|
5773
|
+
return;
|
|
5774
|
+
}
|
|
5775
|
+
// Allow: Ctrl/Cmd + A, C, V, X
|
|
5776
|
+
if ((event.ctrlKey || event.metaKey) && ['a', 'c', 'v', 'x'].includes(key.toLowerCase())) {
|
|
5777
|
+
if (key.toLowerCase() === 'v') {
|
|
5778
|
+
// Handle paste
|
|
5779
|
+
setTimeout(() => this.formatDateInput(input), 0);
|
|
5780
|
+
}
|
|
5781
|
+
return;
|
|
5782
|
+
}
|
|
5783
|
+
// Block non-numeric characters (except what we auto-insert)
|
|
5784
|
+
if (!/^\d$/.test(key)) {
|
|
5785
|
+
event.preventDefault();
|
|
5786
|
+
return;
|
|
5787
|
+
}
|
|
5788
|
+
// Get current value and cursor position
|
|
5789
|
+
const currentValue = input.value;
|
|
5790
|
+
const selectionStart = input.selectionStart ?? 0;
|
|
5791
|
+
const selectionEnd = input.selectionEnd ?? 0;
|
|
5792
|
+
// Check if we've reached max length (10 chars for MM/DD/YYYY)
|
|
5793
|
+
if (currentValue.length >= 10 && selectionStart === selectionEnd) {
|
|
5794
|
+
event.preventDefault();
|
|
5795
|
+
return;
|
|
5796
|
+
}
|
|
5797
|
+
// Prevent the default and handle formatting ourselves
|
|
5798
|
+
event.preventDefault();
|
|
5799
|
+
// Format and validate the new input
|
|
5800
|
+
this.handleDateInput(input, key, selectionStart, selectionEnd);
|
|
5801
|
+
}
|
|
5802
|
+
/** @ignore - Handle date input with auto-formatting */
|
|
5803
|
+
handleDateInput(input, key, selectionStart, selectionEnd) {
|
|
5804
|
+
const currentValue = input.value;
|
|
5805
|
+
const digitsOnly = currentValue.replace(/\D/g, '');
|
|
5806
|
+
// Calculate position in digits-only string
|
|
5807
|
+
let digitPosition = 0;
|
|
5808
|
+
for (let i = 0; i < selectionStart; i++) {
|
|
5809
|
+
if (/\d/.test(currentValue[i])) {
|
|
5810
|
+
digitPosition++;
|
|
5811
|
+
}
|
|
5812
|
+
}
|
|
5813
|
+
// If there's a selection, remove those digits first
|
|
5814
|
+
let newDigits = digitsOnly;
|
|
5815
|
+
if (selectionStart !== selectionEnd) {
|
|
5816
|
+
let startDigitPos = 0;
|
|
5817
|
+
let endDigitPos = 0;
|
|
5818
|
+
let count = 0;
|
|
5819
|
+
for (let i = 0; i < currentValue.length; i++) {
|
|
5820
|
+
if (/\d/.test(currentValue[i])) {
|
|
5821
|
+
if (i < selectionStart)
|
|
5822
|
+
startDigitPos = count + 1;
|
|
5823
|
+
if (i < selectionEnd)
|
|
5824
|
+
endDigitPos = count + 1;
|
|
5825
|
+
count++;
|
|
5826
|
+
}
|
|
5827
|
+
}
|
|
5828
|
+
newDigits = digitsOnly.substring(0, startDigitPos) + digitsOnly.substring(endDigitPos);
|
|
5829
|
+
digitPosition = startDigitPos;
|
|
5830
|
+
}
|
|
5831
|
+
// Insert the new digit
|
|
5832
|
+
newDigits = newDigits.substring(0, digitPosition) + key + newDigits.substring(digitPosition);
|
|
5833
|
+
// Validate and cap at 8 digits (MMDDYYYY)
|
|
5834
|
+
if (newDigits.length > 8) {
|
|
5835
|
+
newDigits = newDigits.substring(0, 8);
|
|
5836
|
+
}
|
|
5837
|
+
// Validate month and day as user types
|
|
5838
|
+
if (!this.validatePartialDate(newDigits)) {
|
|
5839
|
+
return; // Don't accept invalid input
|
|
5840
|
+
}
|
|
5841
|
+
// Format with slashes
|
|
5842
|
+
const formatted = this.formatWithSlashes(newDigits);
|
|
5843
|
+
// Update input value
|
|
5844
|
+
input.value = formatted;
|
|
5845
|
+
this.previousRawValue = formatted;
|
|
5846
|
+
// Calculate new cursor position
|
|
5847
|
+
let newCursorPos = 0;
|
|
5848
|
+
let digitCount = 0;
|
|
5849
|
+
const targetDigitPos = digitPosition + 1;
|
|
5850
|
+
for (let i = 0; i < formatted.length; i++) {
|
|
5851
|
+
if (/\d/.test(formatted[i])) {
|
|
5852
|
+
digitCount++;
|
|
5853
|
+
if (digitCount === targetDigitPos) {
|
|
5854
|
+
newCursorPos = i + 1;
|
|
5855
|
+
break;
|
|
5856
|
+
}
|
|
5857
|
+
}
|
|
5858
|
+
if (digitCount < targetDigitPos) {
|
|
5859
|
+
newCursorPos = i + 1;
|
|
5860
|
+
}
|
|
5861
|
+
}
|
|
5862
|
+
// If we just typed the 2nd or 4th digit, move past the slash
|
|
5863
|
+
if ((digitPosition + 1 === 2 || digitPosition + 1 === 4) && formatted.length > newCursorPos && formatted[newCursorPos] === '/') {
|
|
5864
|
+
newCursorPos++;
|
|
5865
|
+
}
|
|
5866
|
+
input.setSelectionRange(newCursorPos, newCursorPos);
|
|
5867
|
+
// Trigger change detection
|
|
5868
|
+
input.dispatchEvent(new Event('input', { bubbles: true }));
|
|
5869
|
+
}
|
|
5870
|
+
/** @ignore - Format date input after backspace/delete/paste */
|
|
5871
|
+
formatDateInput(input) {
|
|
5872
|
+
const digitsOnly = input.value.replace(/\D/g, '').substring(0, 8);
|
|
5873
|
+
if (!this.validatePartialDate(digitsOnly)) {
|
|
5874
|
+
// Revert to previous valid value
|
|
5875
|
+
input.value = this.previousRawValue;
|
|
5876
|
+
return;
|
|
5877
|
+
}
|
|
5878
|
+
const formatted = this.formatWithSlashes(digitsOnly);
|
|
5879
|
+
const cursorPos = input.selectionStart ?? formatted.length;
|
|
5880
|
+
input.value = formatted;
|
|
5881
|
+
this.previousRawValue = formatted;
|
|
5882
|
+
// Adjust cursor position
|
|
5883
|
+
const newCursorPos = Math.min(cursorPos, formatted.length);
|
|
5884
|
+
input.setSelectionRange(newCursorPos, newCursorPos);
|
|
5885
|
+
input.dispatchEvent(new Event('input', { bubbles: true }));
|
|
5886
|
+
}
|
|
5887
|
+
/** @ignore - Format digits with slashes (MM/DD/YYYY) */
|
|
5888
|
+
formatWithSlashes(digits) {
|
|
5889
|
+
let result = '';
|
|
5890
|
+
for (let i = 0; i < digits.length; i++) {
|
|
5891
|
+
if (i === 2 || i === 4) {
|
|
5892
|
+
result += '/';
|
|
5893
|
+
}
|
|
5894
|
+
result += digits[i];
|
|
5895
|
+
}
|
|
5896
|
+
return result;
|
|
5897
|
+
}
|
|
5898
|
+
/** @ignore - Validate partial date input */
|
|
5899
|
+
validatePartialDate(digits) {
|
|
5900
|
+
if (digits.length === 0)
|
|
5901
|
+
return true;
|
|
5902
|
+
// Validate month (first 1-2 digits)
|
|
5903
|
+
if (digits.length >= 1) {
|
|
5904
|
+
const firstDigit = parseInt(digits[0], 10);
|
|
5905
|
+
// First digit of month can only be 0 or 1
|
|
5906
|
+
if (firstDigit > 1)
|
|
5907
|
+
return false;
|
|
5908
|
+
}
|
|
5909
|
+
if (digits.length >= 2) {
|
|
5910
|
+
const month = parseInt(digits.substring(0, 2), 10);
|
|
5911
|
+
// Month must be 01-12
|
|
5912
|
+
if (month < 1 || month > 12)
|
|
5913
|
+
return false;
|
|
5914
|
+
}
|
|
5915
|
+
// Validate day (digits 3-4)
|
|
5916
|
+
if (digits.length >= 3) {
|
|
5917
|
+
const thirdDigit = parseInt(digits[2], 10);
|
|
5918
|
+
// First digit of day can only be 0, 1, 2, or 3
|
|
5919
|
+
if (thirdDigit > 3)
|
|
5920
|
+
return false;
|
|
5921
|
+
}
|
|
5922
|
+
if (digits.length >= 4) {
|
|
5923
|
+
const month = parseInt(digits.substring(0, 2), 10);
|
|
5924
|
+
const day = parseInt(digits.substring(2, 4), 10);
|
|
5925
|
+
// Day must be 01-31 (basic check)
|
|
5926
|
+
if (day < 1 || day > 31)
|
|
5927
|
+
return false;
|
|
5928
|
+
// More specific validation based on month
|
|
5929
|
+
const maxDays = this.getMaxDaysInMonth(month);
|
|
5930
|
+
if (day > maxDays)
|
|
5931
|
+
return false;
|
|
5932
|
+
}
|
|
5933
|
+
// Validate year (digits 5-8) - basic check, year must be reasonable
|
|
5934
|
+
if (digits.length === 8) {
|
|
5935
|
+
const year = parseInt(digits.substring(4, 8), 10);
|
|
5936
|
+
// Allow years from 1900 to 2100
|
|
5937
|
+
if (year < 1900 || year > 2100)
|
|
5938
|
+
return false;
|
|
5939
|
+
// Final validation: check if date is actually valid (e.g., Feb 29 on non-leap year)
|
|
5940
|
+
const month = parseInt(digits.substring(0, 2), 10);
|
|
5941
|
+
const day = parseInt(digits.substring(2, 4), 10);
|
|
5942
|
+
if (!this.isValidDate(month, day, year)) {
|
|
5943
|
+
return false;
|
|
5944
|
+
}
|
|
5945
|
+
}
|
|
5946
|
+
return true;
|
|
5947
|
+
}
|
|
5948
|
+
/** @ignore - Get maximum days in a month (without considering leap year for partial input) */
|
|
5949
|
+
getMaxDaysInMonth(month) {
|
|
5950
|
+
const daysInMonth = {
|
|
5951
|
+
1: 31, 2: 29, 3: 31, 4: 30, 5: 31, 6: 30,
|
|
5952
|
+
7: 31, 8: 31, 9: 30, 10: 31, 11: 30, 12: 31
|
|
5953
|
+
};
|
|
5954
|
+
return daysInMonth[month] || 31;
|
|
5955
|
+
}
|
|
5956
|
+
/** @ignore - Check if a complete date is valid */
|
|
5957
|
+
isValidDate(month, day, year) {
|
|
5958
|
+
const date = new Date(year, month - 1, day);
|
|
5959
|
+
return date.getFullYear() === year &&
|
|
5960
|
+
date.getMonth() === month - 1 &&
|
|
5961
|
+
date.getDate() === day;
|
|
5962
|
+
}
|
|
5750
5963
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AdsDatepickerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5751
5964
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: AdsDatepickerComponent, isStandalone: false, selector: "ads-datepicker", inputs: { customDisplayFormat: "customDisplayFormat", closeOnOutOfView: "closeOnOutOfView", outOfViewRootMargin: "outOfViewRootMargin" }, usesInheritance: true, ngImport: i0, template: "<div [ngStyle]=\"{ minWidth: width }\" class=\"ads-field-container\">\n <div [ngStyle]=\"{ width: width }\">\n <mat-form-field\n [ngClass]=\"{\n 'immediate-validation': immediateValidation,\n 'no-left-padding': !showExclamation,\n invalid: canShowError(),\n manual: allowManualInput,\n 'success-label': canShowSuccess(),\n 'x-small': smallSize,\n }\"\n [ngStyle]=\"{ width: width }\"\n >\n @if ((label || required) && !smallSize) {\n <mat-label>{{ label }}</mat-label>\n }\n <mat-datetimepicker\n #datetimePicker\n (viewChanged)=\"onViewChanged($event)\"\n (opened)=\"onOpened()\"\n (closed)=\"onClosed()\"\n [type]=\"type === 'datetime' ? (showTimePicker ? 'datetime' : 'date') : type\"\n [openOnFocus]=\"!allowManualInput\"\n [twelvehour]=\"twelveHour\"\n [timeInterval]=\"timeInterval\"\n [mode]=\"'portrait'\"\n />\n <input\n (dateChange)=\"onChanged($event)\"\n dateTimePickerFormat\n [overrideDisplayFormat]=\"overrideDisplayFormat || (type === 'datetime' ? !showTimePicker : false)\"\n [customDisplayFormat]=\"customDisplayFormatOverride\"\n #input\n matInput\n (keydown)=\"allowManualInput ? onKeyDown($event) : null\"\n (blur)=\"touchControls()\"\n [tabIndex]=\"allowManualInput ? 0 : -1\"\n [min]=\"minDate || null\"\n [readonly]=\"!allowManualInput\"\n [formControl]=\"displayControl\"\n [matDatetimepicker]=\"datetimePicker\"\n autocomplete=\"false\"\n [id]=\"id\"\n [required]=\"required\"\n [placeholder]=\"placeholder\"\n />\n\n @if (canClear) {\n <button matTextSuffix type=\"button\" mat-icon-button (click)=\"clear($event)\" class=\"action-icon\">\n <ads-icon class=\"cross-icon\" name=\"cross\" [size]=\"smallSize ? 'xxs' : 'xs'\" [theme]=\"'iconPrimary'\" />\n </button>\n }\n\n @if (type === 'time') {\n <button\n matTextSuffix\n type=\"button\"\n mat-icon-button\n (click)=\"toggle($event)\"\n [disabled]=\"!showTimePicker\"\n class=\"action-icon\"\n >\n <ads-icon class=\"picker\" name=\"timepicker\" [size]=\"smallSize ? 'xxs' : 'xs'\" [stroke]=\"'iconPrimary'\" />\n </button>\n } @else {\n <button matTextSuffix type=\"button\" mat-icon-button (click)=\"toggle($event)\" class=\"action-icon\">\n <ads-icon class=\"picker\" name=\"datepicker\" [size]=\"smallSize ? 'xxs' : 'xs'\" [stroke]=\"'iconPrimary'\" />\n @if (type === 'datetime') {\n <ads-icon\n class=\"sub-timepicker mat-mdc-button-persistent-ripple picker\"\n name=\"status_processing\"\n [size]=\"smallSize ? 'xxxxs' : 'xxxs'\"\n [stroke]=\"'iconPrimary'\"\n />\n }\n </button>\n }\n </mat-form-field>\n @if (showFooter) {\n <div class=\"footer-container\"\n [class.dynamic]=\"!isStaticFooter\"\n [class.has-content]=\"hasFooterContent()\">\n @if (canShowError()) {\n <ads-error [error]=\"displayFirstError()\" [ngStyle]=\"{ width: width }\" />\n } @else if (canShowSuccess()) {\n <ads-success [success]=\"successMessage!\" [ngStyle]=\"{ width: width }\" />\n } @else if (hint) {\n <ads-hint [hint]=\"hint\" [control]=\"valueControl\" [ngStyle]=\"{ width: width }\" />\n }\n </div>\n }\n </div>\n @if (tooltip) {\n <ads-input-tooltip [tooltip]=\"tooltip\" [href]=\"tooltipHref\" />\n }\n</div>\n", styles: [".ads-field-container{display:flex;gap:12px;align-items:flex-start}.ads-input-right-hint{position:absolute;right:40px;top:50%;transform:translateY(-50%);color:var(--color-light);font-size:.95em;pointer-events:none;z-index:2;background:transparent;white-space:nowrap}:host::ng-deep mat-form-field{--mat-form-field-filled-container-color: var(--color-white);--mat-form-field-filled-input-text-color: var(--color-medium);--mat-form-field-filled-error-label-text-color: var(--color-error);--mat-form-field-filled-error-hover-label-text-color: var(--color-error);--mat-form-field-filled-label-text-color: var(--color-medium);--mat-form-field-filled-focus-label-text-color: var(--color-medium);--mat-form-field-filled-hover-label-text-color: var(--color-medium);--mat-form-field-filled-disabled-label-text-color: var(--color-medium);--mat-form-field-filled-disabled-container-color: var(--color-muted) !important;--mat-form-field-filled-disabled-input-text-color: var(--color-medium) !important;--mat-form-field-filled-error-focus-label-text-color: var(--color-error);--mat-form-field-filled-label-text-size: 16px}:host::ng-deep mat-form-field .mdc-floating-label--float-above{--mat-form-field-filled-label-text-size: 12px}:host::ng-deep mat-form-field .mdc-icon-button:focus-visible,:host::ng-deep mat-form-field .mat-mdc-icon-button:focus-visible{background-color:var(--color-light-30)}:host::ng-deep mat-form-field .mdc-text-field{box-sizing:border-box;border-radius:5px;outline:1px solid var(--color-light);outline-offset:-1px;align-items:center;padding:0 12px;cursor:text;height:48px}:host::ng-deep mat-form-field .mdc-text-field .cross-icon{stroke:var(--color-medium)!important}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--no-label .mat-mdc-form-field-flex{height:100%}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--no-label .mat-mdc-form-field-flex .mat-mdc-form-field-infix{align-items:center}:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input::-webkit-outer-spin-button,:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input[type=number]{-moz-appearance:textfield}:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input{height:24px}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid{outline:2px solid var(--color-error);outline-offset:-2px}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .cross-icon,:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .visibility-eye,:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .picker{stroke:var(--color-error)!important}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .chevron-down,:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .search-icon{color:var(--color-error)!important}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex{align-items:center}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex .mat-mdc-form-field-infix{display:flex;align-items:flex-end;width:120px}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex .mat-mdc-form-field-infix label{width:100%}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex .mat-mdc-form-field-infix label .mat-mdc-form-field-required-marker{color:var(--mat-form-field-filled-error-label-text-color)}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-text-suffix{display:flex;align-items:center}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-text-suffix .mat-mdc-icon-button{display:flex;align-items:center;justify-content:center}:host::ng-deep mat-form-field .action-icon{padding:0;--mat-icon-button-state-layer-size: 35px}:host::ng-deep mat-form-field .action-icon .mat-mdc-button-touch-target{height:unset;width:unset}:host::ng-deep mat-form-field .time-picker-button{cursor:default}:host::ng-deep mat-form-field .time-picker-button .mdc-icon-button__ripple{display:none!important}:host::ng-deep mat-form-field.x-small .mdc-text-field{height:24px;padding:0 8px}:host::ng-deep mat-form-field.x-small .mdc-text-field .mat-mdc-form-field-input-control{font-size:12px;line-height:16px}:host::ng-deep mat-form-field.x-small .action-icon{--mat-icon-button-state-layer-size: 18px}:host::ng-deep mat-form-field.mat-form-field-disabled .mdc-text-field{background-color:var(--mat-form-field-filled-disabled-container-color);border:none}:host::ng-deep mat-form-field:not(.mat-form-field-disabled) .mdc-text-field:hover{background-color:var(--color-light-30);outline:2px solid var(--color-secondary-hover);outline-offset:-2px}:host::ng-deep mat-form-field:not(.mat-form-field-disabled) .mdc-text-field:hover .visibility-eye{fill:var(--color-light-30)!important}:host::ng-deep mat-form-field:not(.mat-form-field-disabled).mat-focused .mdc-text-field{outline:2px solid var(--color-medium);outline-offset:-2px;background-color:var(--color-muted)}:host::ng-deep mat-form-field:not(.mat-form-field-disabled).mat-focused .mdc-text-field .visibility-eye{fill:var(--color-muted)!important}:host::ng-deep mat-form-field.immediate-validation .mdc-text-field{outline:2px solid var(--color-medium);outline-offset:-2px}:host::ng-deep mat-form-field.immediate-validation .mdc-text-field.mdc-text-field--invalid{outline:2px solid var(--color-error);outline-offset:-2px}:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper{color:var(--mat-form-field-filled-label-text-color)}:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper:before{content:none}:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper .mat-mdc-form-field-error-wrapper,:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper .mat-mdc-form-field-hint-wrapper{position:relative;padding:0}:host::ng-deep mat-form-field .mdc-line-ripple{display:none}:host::ng-deep mat-form-field.success-label .mat-mdc-form-field-required-marker,:host::ng-deep mat-form-field.success-label mat-label{color:var(--color-success)!important}:host::ng-deep mat-form-field.success-label .mdc-text-field{outline:2px solid var(--color-success);outline-offset:-2px}:host::ng-deep mat-form-field.success-label .cross-icon,:host::ng-deep mat-form-field.success-label .visibility-eye,:host::ng-deep mat-form-field.success-label .picker{stroke:var(--color-success)!important}:host::ng-deep mat-form-field.success-label .chevron-down,:host::ng-deep mat-form-field.success-label .search-icon{color:var(--color-success)!important}:host::ng-deep mat-form-field.error-label mat-label{color:var(--color-error)}:host::ng-deep mat-hint{display:inline-block}:host::ng-deep .mat-mdc-form-field-hint-spacer{display:none}.info-tooltip{position:relative;top:12px}mat-error{display:flex;padding-top:2px}mat-error .error{display:flex;align-items:flex-start;gap:2px}mat-error .error ads-icon{position:relative;top:2px}:host ::ng-deep .mdc-text-field{position:relative}:host ::ng-deep input[type=number]::-webkit-outer-spin-button,:host ::ng-deep input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:host ::ng-deep input[type=number]{-moz-appearance:textfield}\n", "button .sub-timepicker{position:absolute;top:0;left:5%;background-color:var(--color-white);border-radius:50%}mat-form-field:not(.manual) ::ng-deep .mdc-text-field{cursor:pointer}mat-form-field:not(.manual) ::ng-deep .mdc-text-field input{cursor:pointer}::ng-deep .mdc-text-field:hover button .sub-timepicker{background-color:var(--color-light-30)}\n", ".footer-container{min-height:20px;overflow:hidden}.footer-container.dynamic{min-height:0;max-height:0;opacity:0;transition:max-height .3s ease-in-out,opacity .2s ease-in-out,min-height .3s ease-in-out}.footer-container.dynamic.has-content{min-height:20px;max-height:100px;opacity:1;transition:max-height .3s ease-in-out,opacity .3s ease-in-out .1s,min-height .3s ease-in-out}::ng-deep .mat-mdc-form-field{--mat-form-field-filled-input-text-placeholder-color: var(--color-medium) !important}::ng-deep .spinner{animation:spin 1s linear infinite;transform-origin:50% 50%}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2$2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2$2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i1.AdsIconComponent, selector: "ads-icon", inputs: ["size", "name", "color", "theme", "stroke"] }, { kind: "component", type: i6.MatDatetimepickerComponent, selector: "mat-datetimepicker", inputs: ["multiYearSelector", "twelvehour", "startView", "mode", "timeInterval", "ariaNextMonthLabel", "ariaPrevMonthLabel", "ariaNextYearLabel", "ariaPrevYearLabel", "preventSameDateTimeSelection", "panelClass", "startAt", "openOnFocus", "type", "touchUi", "disabled"], outputs: ["selectedChanged", "opened", "closed", "viewChanged"], exportAs: ["matDatetimepicker"] }, { kind: "directive", type: i6.MatDatetimepickerInputDirective, selector: "input[matDatetimepicker]", inputs: ["matDatetimepicker", "matDatepickerFilter", "value", "min", "max", "disabled"], outputs: ["dateChange", "dateInput"], exportAs: ["matDatepickerInput"] }, { kind: "directive", type: DateTimePickerFormatDirective, selector: "[dateTimePickerFormat]", inputs: ["customDisplayFormat", "overrideDisplayFormat"] }, { kind: "component", type: AdsInputTooltipComponent, selector: "ads-input-tooltip", inputs: ["tooltip", "smallSize", "href"] }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: AdsErrorComponent, selector: "ads-error", inputs: ["error"] }, { kind: "component", type: AdsHintComponent, selector: "ads-hint", inputs: ["control", "hint"] }, { kind: "component", type: AdsSuccessComponent, selector: "ads-success", inputs: ["success"] }] }); }
|
|
5752
5965
|
}
|
|
@@ -6495,8 +6708,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
|
|
|
6495
6708
|
}] });
|
|
6496
6709
|
|
|
6497
6710
|
class AdsChipComponent {
|
|
6498
|
-
constructor(registry) {
|
|
6711
|
+
constructor(registry, elementRef) {
|
|
6499
6712
|
this.registry = registry;
|
|
6713
|
+
this.elementRef = elementRef;
|
|
6500
6714
|
/** The unique id of the chip */
|
|
6501
6715
|
this.id = input.required(...(ngDevMode ? [{ debugName: "id" }] : []));
|
|
6502
6716
|
/** The text of the chip - optional when using ng-content */
|
|
@@ -6507,32 +6721,70 @@ class AdsChipComponent {
|
|
|
6507
6721
|
this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
6508
6722
|
/** Show delete icon before text */
|
|
6509
6723
|
this.deletable = input(false, ...(ngDevMode ? [{ debugName: "deletable" }] : []));
|
|
6724
|
+
/** Enable dropdown mode */
|
|
6725
|
+
this.dropdown = input(false, ...(ngDevMode ? [{ debugName: "dropdown" }] : []));
|
|
6726
|
+
/** Dropdown options when dropdown mode is enabled */
|
|
6727
|
+
this.dropdownOptions = input([], ...(ngDevMode ? [{ debugName: "dropdownOptions" }] : []));
|
|
6510
6728
|
/** Event emitted when the remove icon is clicked */
|
|
6511
6729
|
this.deleted = output();
|
|
6512
6730
|
/** Event emitted when a chip is selected */
|
|
6513
6731
|
this.selected = output();
|
|
6514
|
-
|
|
6732
|
+
/** Event emitted when a dropdown option is selected */
|
|
6733
|
+
this.optionSelected = output();
|
|
6734
|
+
/** @ignore */
|
|
6735
|
+
this.isDropdownOpen = false;
|
|
6736
|
+
this.registry.register([adsIconCross, adsIconCheck, adsIconDropdownArrow]);
|
|
6737
|
+
}
|
|
6738
|
+
/** @ignore */
|
|
6739
|
+
onDocumentClick(event) {
|
|
6740
|
+
if (!this.elementRef.nativeElement.contains(event.target)) {
|
|
6741
|
+
this.closeDropdown();
|
|
6742
|
+
}
|
|
6515
6743
|
}
|
|
6516
6744
|
/** @ignore */
|
|
6517
6745
|
onSelected() {
|
|
6518
|
-
this.
|
|
6519
|
-
|
|
6520
|
-
|
|
6521
|
-
|
|
6746
|
+
if (this.dropdown()) {
|
|
6747
|
+
this.toggleDropdown();
|
|
6748
|
+
}
|
|
6749
|
+
else {
|
|
6750
|
+
this.selected.emit({
|
|
6751
|
+
id: this.id(),
|
|
6752
|
+
title: this.title() || '',
|
|
6753
|
+
});
|
|
6754
|
+
}
|
|
6522
6755
|
}
|
|
6523
6756
|
/** @ignore */
|
|
6524
|
-
onDelete() {
|
|
6757
|
+
onDelete(event) {
|
|
6758
|
+
event.stopPropagation();
|
|
6525
6759
|
if (!this.disabled()) {
|
|
6526
6760
|
this.deleted.emit(this.id());
|
|
6527
6761
|
}
|
|
6528
6762
|
}
|
|
6529
|
-
|
|
6530
|
-
|
|
6763
|
+
/** @ignore */
|
|
6764
|
+
toggleDropdown() {
|
|
6765
|
+
if (!this.disabled()) {
|
|
6766
|
+
this.isDropdownOpen = !this.isDropdownOpen;
|
|
6767
|
+
}
|
|
6768
|
+
}
|
|
6769
|
+
/** @ignore */
|
|
6770
|
+
closeDropdown() {
|
|
6771
|
+
this.isDropdownOpen = false;
|
|
6772
|
+
}
|
|
6773
|
+
/** @ignore */
|
|
6774
|
+
selectOption(option) {
|
|
6775
|
+
this.optionSelected.emit(option);
|
|
6776
|
+
this.closeDropdown();
|
|
6777
|
+
}
|
|
6778
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AdsChipComponent, deps: [{ token: i1.AdsIconRegistry }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6779
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: AdsChipComponent, isStandalone: false, selector: "ads-chip", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: true, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, showCheckedIcon: { classPropertyName: "showCheckedIcon", publicName: "showCheckedIcon", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, deletable: { classPropertyName: "deletable", publicName: "deletable", isSignal: true, isRequired: false, transformFunction: null }, dropdown: { classPropertyName: "dropdown", publicName: "dropdown", isSignal: true, isRequired: false, transformFunction: null }, dropdownOptions: { classPropertyName: "dropdownOptions", publicName: "dropdownOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { deleted: "deleted", selected: "selected", optionSelected: "optionSelected" }, host: { listeners: { "document:click": "onDocumentClick($event)" } }, ngImport: i0, template: "<div\n class=\"chip\"\n [class.disabled]=\"disabled()\"\n [class.dropdown-chip]=\"dropdown()\"\n [class.dropdown-open]=\"isDropdownOpen\"\n tabindex=\"0\"\n [id]=\"id()\"\n (click)=\"onSelected()\"\n>\n @if (showCheckedIcon()) {\n <ads-icon name=\"check\" />\n }\n @if (title()) {\n <span>{{ title() }}</span>\n } @else {\n <span>\n <ng-content></ng-content>\n </span>\n }\n @if (dropdown()) {\n <ads-icon\n name=\"dropdown_arrow\"\n class=\"dropdown-arrow\"\n />\n @if (isDropdownOpen) {\n <div class=\"dropdown-menu\" (click)=\"$event.stopPropagation()\">\n @for (option of dropdownOptions(); track option.id) {\n <div class=\"dropdown-option\" (click)=\"selectOption(option)\">\n {{ option.label }}\n </div>\n }\n </div>\n }\n }\n @if (deletable()) {\n <ads-icon name=\"cross\" class=\"chip-delete\" (click)=\"onDelete($event)\" />\n }\n</div>\n", styles: [":host{display:flex;height:32px;position:relative}.chip{display:inline-flex;justify-content:space-between;align-items:center;padding:8px 16px;font-size:12px;line-height:16px;font-weight:400;color:var(--color-medium);background-color:var(--color-muted);border-radius:100px;gap:8px;position:relative}.chip ads-icon{width:10px!important;height:10px!important;stroke:var(--color-medium)}.chip .chip-delete{cursor:pointer}.chip .dropdown-arrow{cursor:pointer;transition:transform .2s ease;fill:var(--color-medium)}.chip span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;line-height:1.2;max-height:2.4em}.chip.dropdown-chip{cursor:pointer}.chip .dropdown-menu{position:absolute;top:100%;left:0;min-width:100%;background-color:var(--color-white);border-radius:0 0 5px 5px;box-shadow:0 2px 8px #00000026;z-index:1000;overflow:hidden}.chip .dropdown-menu .dropdown-option{padding:12px;font-size:16px;line-height:21px;color:var(--color-dark);cursor:pointer;white-space:nowrap}.chip .dropdown-menu .dropdown-option:hover{background-color:var(--color-secondary-hover);color:var(--color-white)}.chip .dropdown-menu .dropdown-option:active{color:var(--color-white);background-color:var(--color-secondary-pressed)}.chip.disabled{background-color:var(--color-light-30);color:var(--color-medium-50)}.chip.disabled .chip-delete,.chip.disabled .dropdown-arrow{cursor:default}.chip.disabled ads-icon{stroke:var(--color-medium-50)}.chip.disabled .dropdown-arrow{fill:var(--color-medium-50)}.chip:not(.disabled):not(.dropdown-open):hover{background-color:var(--color-primary-hover);color:var(--color-white)}.chip:not(.disabled):not(.dropdown-open):hover ads-icon{stroke:var(--color-white)}.chip:not(.disabled):not(.dropdown-open):hover .dropdown-arrow{fill:var(--color-white)}.chip:not(.disabled):not(.dropdown-open):focus:active{background-color:var(--color-primary-pressed);color:var(--color-white)}.chip:not(.disabled):not(.dropdown-open):focus:active ads-icon{stroke:var(--color-white)}.chip:not(.disabled):not(.dropdown-open):focus:active .dropdown-arrow{fill:var(--color-white)}\n"], dependencies: [{ kind: "component", type: i1.AdsIconComponent, selector: "ads-icon", inputs: ["size", "name", "color", "theme", "stroke"] }] }); }
|
|
6531
6780
|
}
|
|
6532
6781
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AdsChipComponent, decorators: [{
|
|
6533
6782
|
type: Component,
|
|
6534
|
-
args: [{ selector: 'ads-chip', standalone: false, template: "<div
|
|
6535
|
-
}], ctorParameters: () => [{ type: i1.AdsIconRegistry }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: true }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], showCheckedIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCheckedIcon", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], deletable: [{ type: i0.Input, args: [{ isSignal: true, alias: "deletable", required: false }] }], deleted: [{ type: i0.Output, args: ["deleted"] }], selected: [{ type: i0.Output, args: ["selected"] }] }
|
|
6783
|
+
args: [{ selector: 'ads-chip', standalone: false, template: "<div\n class=\"chip\"\n [class.disabled]=\"disabled()\"\n [class.dropdown-chip]=\"dropdown()\"\n [class.dropdown-open]=\"isDropdownOpen\"\n tabindex=\"0\"\n [id]=\"id()\"\n (click)=\"onSelected()\"\n>\n @if (showCheckedIcon()) {\n <ads-icon name=\"check\" />\n }\n @if (title()) {\n <span>{{ title() }}</span>\n } @else {\n <span>\n <ng-content></ng-content>\n </span>\n }\n @if (dropdown()) {\n <ads-icon\n name=\"dropdown_arrow\"\n class=\"dropdown-arrow\"\n />\n @if (isDropdownOpen) {\n <div class=\"dropdown-menu\" (click)=\"$event.stopPropagation()\">\n @for (option of dropdownOptions(); track option.id) {\n <div class=\"dropdown-option\" (click)=\"selectOption(option)\">\n {{ option.label }}\n </div>\n }\n </div>\n }\n }\n @if (deletable()) {\n <ads-icon name=\"cross\" class=\"chip-delete\" (click)=\"onDelete($event)\" />\n }\n</div>\n", styles: [":host{display:flex;height:32px;position:relative}.chip{display:inline-flex;justify-content:space-between;align-items:center;padding:8px 16px;font-size:12px;line-height:16px;font-weight:400;color:var(--color-medium);background-color:var(--color-muted);border-radius:100px;gap:8px;position:relative}.chip ads-icon{width:10px!important;height:10px!important;stroke:var(--color-medium)}.chip .chip-delete{cursor:pointer}.chip .dropdown-arrow{cursor:pointer;transition:transform .2s ease;fill:var(--color-medium)}.chip span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;line-height:1.2;max-height:2.4em}.chip.dropdown-chip{cursor:pointer}.chip .dropdown-menu{position:absolute;top:100%;left:0;min-width:100%;background-color:var(--color-white);border-radius:0 0 5px 5px;box-shadow:0 2px 8px #00000026;z-index:1000;overflow:hidden}.chip .dropdown-menu .dropdown-option{padding:12px;font-size:16px;line-height:21px;color:var(--color-dark);cursor:pointer;white-space:nowrap}.chip .dropdown-menu .dropdown-option:hover{background-color:var(--color-secondary-hover);color:var(--color-white)}.chip .dropdown-menu .dropdown-option:active{color:var(--color-white);background-color:var(--color-secondary-pressed)}.chip.disabled{background-color:var(--color-light-30);color:var(--color-medium-50)}.chip.disabled .chip-delete,.chip.disabled .dropdown-arrow{cursor:default}.chip.disabled ads-icon{stroke:var(--color-medium-50)}.chip.disabled .dropdown-arrow{fill:var(--color-medium-50)}.chip:not(.disabled):not(.dropdown-open):hover{background-color:var(--color-primary-hover);color:var(--color-white)}.chip:not(.disabled):not(.dropdown-open):hover ads-icon{stroke:var(--color-white)}.chip:not(.disabled):not(.dropdown-open):hover .dropdown-arrow{fill:var(--color-white)}.chip:not(.disabled):not(.dropdown-open):focus:active{background-color:var(--color-primary-pressed);color:var(--color-white)}.chip:not(.disabled):not(.dropdown-open):focus:active ads-icon{stroke:var(--color-white)}.chip:not(.disabled):not(.dropdown-open):focus:active .dropdown-arrow{fill:var(--color-white)}\n"] }]
|
|
6784
|
+
}], ctorParameters: () => [{ type: i1.AdsIconRegistry }, { type: i0.ElementRef }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: true }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], showCheckedIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCheckedIcon", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], deletable: [{ type: i0.Input, args: [{ isSignal: true, alias: "deletable", required: false }] }], dropdown: [{ type: i0.Input, args: [{ isSignal: true, alias: "dropdown", required: false }] }], dropdownOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "dropdownOptions", required: false }] }], deleted: [{ type: i0.Output, args: ["deleted"] }], selected: [{ type: i0.Output, args: ["selected"] }], optionSelected: [{ type: i0.Output, args: ["optionSelected"] }], onDocumentClick: [{
|
|
6785
|
+
type: HostListener,
|
|
6786
|
+
args: ['document:click', ['$event']]
|
|
6787
|
+
}] } });
|
|
6536
6788
|
|
|
6537
6789
|
class AdsChipModule {
|
|
6538
6790
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AdsChipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
@@ -8055,6 +8307,48 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
|
|
|
8055
8307
|
}]
|
|
8056
8308
|
}] });
|
|
8057
8309
|
|
|
8310
|
+
var HorizontalStepStatus;
|
|
8311
|
+
(function (HorizontalStepStatus) {
|
|
8312
|
+
HorizontalStepStatus["Planned"] = "planned";
|
|
8313
|
+
HorizontalStepStatus["InProgress"] = "in-progress";
|
|
8314
|
+
HorizontalStepStatus["Completed"] = "completed";
|
|
8315
|
+
})(HorizontalStepStatus || (HorizontalStepStatus = {}));
|
|
8316
|
+
class AdsHorizontalStepperComponent {
|
|
8317
|
+
/** @ignore */
|
|
8318
|
+
constructor(registry) {
|
|
8319
|
+
this.registry = registry;
|
|
8320
|
+
/** @ignore */
|
|
8321
|
+
this.HorizontalStepStatus = HorizontalStepStatus;
|
|
8322
|
+
/** The id of the Stepper */
|
|
8323
|
+
this.id = input('', ...(ngDevMode ? [{ debugName: "id" }] : []));
|
|
8324
|
+
/**
|
|
8325
|
+
* The steps to display
|
|
8326
|
+
*/
|
|
8327
|
+
this.steps = input.required(...(ngDevMode ? [{ debugName: "steps" }] : []));
|
|
8328
|
+
this.registry.register([adsIconStatusNew, adsIconCheckCircleFilled]);
|
|
8329
|
+
}
|
|
8330
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AdsHorizontalStepperComponent, deps: [{ token: i1.AdsIconRegistry }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8331
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: AdsHorizontalStepperComponent, isStandalone: false, selector: "ads-horizontal-stepper", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, steps: { classPropertyName: "steps", publicName: "steps", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div class=\"horizontal-stepper-container\" [id]=\"id()\">\n @for (step of steps(); track i; let i = $index; let last = $last) {\n <div class=\"step-item\">\n <div class=\"step-content\">\n @switch (step.status) {\n @case (HorizontalStepStatus.Planned) {\n <ads-icon name=\"status_new\" theme=\"light\" size=\"xxs\" />\n }\n @case (HorizontalStepStatus.InProgress) {\n <ads-icon name=\"status_new\" theme=\"secondary\" size=\"xxs\" />\n }\n @case (HorizontalStepStatus.Completed) {\n <ads-icon name=\"check_circle_filled\" size=\"xxs\" />\n }\n }\n <span class=\"step-title\">{{ step.title }}</span>\n </div>\n @if (!last) {\n <div class=\"step-line\" [ngClass]=\"step.status\"></div>\n }\n </div>\n }\n</div>\n\n", styles: [".horizontal-stepper-container{display:flex;flex-direction:row;align-items:center;width:100%;gap:4px}.horizontal-stepper-container .step-item{display:flex;flex-direction:row;align-items:center;flex:1;min-width:0}.horizontal-stepper-container .step-item:last-child{flex:0 0 auto}.horizontal-stepper-container .step-item .step-content{display:flex;flex-direction:row;align-items:center;gap:4px;flex-shrink:0}.horizontal-stepper-container .step-item .step-content ::ng-deep ads-icon{flex-shrink:0;width:16px!important;height:16px!important;display:block!important}.horizontal-stepper-container .step-item .step-content ::ng-deep ads-icon svg{width:16px!important;height:16px!important}.horizontal-stepper-container .step-item .step-content .step-title{color:var(--color-medium);font-size:14px;line-height:18px;white-space:nowrap}.horizontal-stepper-container .step-item .step-line{flex:1;height:2px;background-color:var(--color-light);border-radius:0 1px 1px 0;margin-left:4px;min-width:8px}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i1.AdsIconComponent, selector: "ads-icon", inputs: ["size", "name", "color", "theme", "stroke"] }] }); }
|
|
8332
|
+
}
|
|
8333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AdsHorizontalStepperComponent, decorators: [{
|
|
8334
|
+
type: Component,
|
|
8335
|
+
args: [{ selector: 'ads-horizontal-stepper', standalone: false, template: "<div class=\"horizontal-stepper-container\" [id]=\"id()\">\n @for (step of steps(); track i; let i = $index; let last = $last) {\n <div class=\"step-item\">\n <div class=\"step-content\">\n @switch (step.status) {\n @case (HorizontalStepStatus.Planned) {\n <ads-icon name=\"status_new\" theme=\"light\" size=\"xxs\" />\n }\n @case (HorizontalStepStatus.InProgress) {\n <ads-icon name=\"status_new\" theme=\"secondary\" size=\"xxs\" />\n }\n @case (HorizontalStepStatus.Completed) {\n <ads-icon name=\"check_circle_filled\" size=\"xxs\" />\n }\n }\n <span class=\"step-title\">{{ step.title }}</span>\n </div>\n @if (!last) {\n <div class=\"step-line\" [ngClass]=\"step.status\"></div>\n }\n </div>\n }\n</div>\n\n", styles: [".horizontal-stepper-container{display:flex;flex-direction:row;align-items:center;width:100%;gap:4px}.horizontal-stepper-container .step-item{display:flex;flex-direction:row;align-items:center;flex:1;min-width:0}.horizontal-stepper-container .step-item:last-child{flex:0 0 auto}.horizontal-stepper-container .step-item .step-content{display:flex;flex-direction:row;align-items:center;gap:4px;flex-shrink:0}.horizontal-stepper-container .step-item .step-content ::ng-deep ads-icon{flex-shrink:0;width:16px!important;height:16px!important;display:block!important}.horizontal-stepper-container .step-item .step-content ::ng-deep ads-icon svg{width:16px!important;height:16px!important}.horizontal-stepper-container .step-item .step-content .step-title{color:var(--color-medium);font-size:14px;line-height:18px;white-space:nowrap}.horizontal-stepper-container .step-item .step-line{flex:1;height:2px;background-color:var(--color-light);border-radius:0 1px 1px 0;margin-left:4px;min-width:8px}\n"] }]
|
|
8336
|
+
}], ctorParameters: () => [{ type: i1.AdsIconRegistry }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], steps: [{ type: i0.Input, args: [{ isSignal: true, alias: "steps", required: true }] }] } });
|
|
8337
|
+
|
|
8338
|
+
class AdsHorizontalStepperModule {
|
|
8339
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AdsHorizontalStepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8340
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: AdsHorizontalStepperModule, declarations: [AdsHorizontalStepperComponent], imports: [CommonModule, AdsIconModule], exports: [AdsHorizontalStepperComponent] }); }
|
|
8341
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AdsHorizontalStepperModule, imports: [CommonModule, AdsIconModule] }); }
|
|
8342
|
+
}
|
|
8343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AdsHorizontalStepperModule, decorators: [{
|
|
8344
|
+
type: NgModule,
|
|
8345
|
+
args: [{
|
|
8346
|
+
imports: [CommonModule, AdsIconModule],
|
|
8347
|
+
exports: [AdsHorizontalStepperComponent],
|
|
8348
|
+
declarations: [AdsHorizontalStepperComponent],
|
|
8349
|
+
}]
|
|
8350
|
+
}] });
|
|
8351
|
+
|
|
8058
8352
|
class AdsHorizontalNavBarComponent {
|
|
8059
8353
|
/** @ignore */
|
|
8060
8354
|
constructor(router) {
|
|
@@ -9138,5 +9432,5 @@ function provideAdsUi(config) {
|
|
|
9138
9432
|
* Generated bundle index. Do not edit.
|
|
9139
9433
|
*/
|
|
9140
9434
|
|
|
9141
|
-
export { AdsAscentLogoComponent, AdsAscentLogoModule, AdsAvatarComponent, AdsAvatarModule, AdsBreadcrumbComponent, AdsBreadcrumbModule, AdsBubbleComponent, AdsBubbleModule, AdsButtonComponent, AdsButtonContainerComponent, AdsButtonContainerModule, AdsButtonModule, AdsCardComponent, AdsCardModule, AdsCheckboxComponent, AdsCheckboxModule, AdsChipComponent, AdsChipModule, AdsCreateTagComponent, AdsCreateTagModule, AdsDatepickerComponent, AdsDatepickerModule, AdsDatetimepickerComponent, AdsDatetimepickerModule, AdsDividerModule, AdsDragAndDropListComponent, AdsDragAndDropListModule, AdsDropdownComponent, AdsDropdownModule, AdsErrorPageCodeComponent, AdsErrorPageCodeModule, AdsErrorPageComponent, AdsErrorPageModule, AdsExpansionPanelComponent, AdsExpansionPanelModule, AdsFooterComponent, AdsFooterContainerComponent, AdsFooterContainerModule, AdsFooterModule, AdsGenericLogoComponent, AdsGenericLogoModule, AdsHeaderComponent, AdsHeaderContainerComponent, AdsHeaderContainerModule, AdsHeaderModule, AdsHorizontalNavBarComponent, AdsHorizontalNavBarModule, AdsIconButtonComponent, AdsIconButtonModule, AdsIconHoverComponent, AdsIconHoverModule, AdsInputComponent, AdsInputDropdownComponent, AdsInputDropdownModule, AdsInputModule, AdsInternationalPhoneFieldComponent, AdsInternationalPhoneFieldModule, AdsLinkButtonComponent, AdsLinkButtonModule, AdsMainMenuComponent, AdsMainMenuModule, AdsModalComponent, AdsModalModule, AdsMultiSelectDropdownComponent, AdsMultiSelectDropdownModule, AdsNavMenuComponent, AdsNavMenuModule, AdsNavigationCollapseHandleComponent, AdsNavigationCollapseHandleModule, AdsNavigationComponent, AdsNavigationHeaderComponent, AdsNavigationHeaderModule, AdsNavigationItemComponent, AdsNavigationItemModule, AdsNavigationItemsContainerComponent, AdsNavigationItemsContainerModule, AdsNavigationModule, AdsNumericBadgeComponent, AdsNumericBadgeModule, AdsNumericStepperComponent, AdsNumericStepperModule, AdsOrgDisplayTextComponent, AdsOrgDisplayTextModule, AdsPeakEssentialsLogoComponent, AdsPeakEssentialsLogoModule, AdsPeakMarketplaceLogoComponent, AdsPeakMarketplaceLogoModule, AdsPeakOrderManagementLogoComponent, AdsPeakOrderManagementLogoModule, AdsPhoneFieldComponent, AdsPhoneFieldModule, AdsPilotPayLogoComponent, AdsPilotPayLogoModule, AdsPrimaryLogoComponent, AdsPrimaryLogoModule, AdsProgressBarComponent, AdsProgressBarModule, AdsProgressIndicatorSpinnerComponent, AdsProgressIndicatorSpinnerModule, AdsProgressSpinnerComponent, AdsProgressSpinnerModule, AdsProgressStepperComponent, AdsProgressStepperModule, AdsRadioButtonComponent, AdsRadioButtonModule, AdsScmsLogoComponent, AdsScmsLogoModule, AdsScmsSideNavBarComponent, AdsScmsSideNavBarModule, AdsSearchDropdownComponent, AdsSearchDropdownModule, AdsSearchInputComponent, AdsSearchInputModule, AdsShellLayoutModule, AdsSideNavBarComponent, AdsSideNavBarModule, AdsSlideToggle, AdsSlideToggleComponent, AdsSliderComponent, AdsSliderModule, AdsSnackbarComponent, AdsSnackbarModule, AdsSplashPageComponent, AdsSplashPageModule, AdsStepperComponent, AdsStepperModule, AdsTableComponent, AdsTableModule, AdsTabsComponent, AdsTabsModule, AdsTagComponent, AdsTagContainerComponent, AdsTagContainerModule, AdsTagModule, AdsTextareaComponent, AdsTextareaModule, AdsTimeFieldComponent, AdsTimeFieldModule, AdsTimepickerComponent, AdsTimepickerModule, AdsVerticalSideNavigationStepperComponent, AdsVerticalSideNavigationStepperModule, AdsWizardStepperComponent, AdsWizardStepperModule, AscentCardComponent, AscentCardModule, BadgeColor, Colors, CustomDatetimeAdapter, DividerComponent, ErrorPageDefault, MainMenuService, ModalActionType, ModalPanelClass, PanelClass, ShellLayoutComponent, SpinnerSize, StepStatus, TableBreakpoint, ViewportService, WindowService, WizardStepStatus, provideAdsUi };
|
|
9435
|
+
export { AdsAscentLogoComponent, AdsAscentLogoModule, AdsAvatarComponent, AdsAvatarModule, AdsBreadcrumbComponent, AdsBreadcrumbModule, AdsBubbleComponent, AdsBubbleModule, AdsButtonComponent, AdsButtonContainerComponent, AdsButtonContainerModule, AdsButtonModule, AdsCardComponent, AdsCardModule, AdsCheckboxComponent, AdsCheckboxModule, AdsChipComponent, AdsChipModule, AdsCreateTagComponent, AdsCreateTagModule, AdsDatepickerComponent, AdsDatepickerModule, AdsDatetimepickerComponent, AdsDatetimepickerModule, AdsDividerModule, AdsDragAndDropListComponent, AdsDragAndDropListModule, AdsDropdownComponent, AdsDropdownModule, AdsErrorPageCodeComponent, AdsErrorPageCodeModule, AdsErrorPageComponent, AdsErrorPageModule, AdsExpansionPanelComponent, AdsExpansionPanelModule, AdsFooterComponent, AdsFooterContainerComponent, AdsFooterContainerModule, AdsFooterModule, AdsGenericLogoComponent, AdsGenericLogoModule, AdsHeaderComponent, AdsHeaderContainerComponent, AdsHeaderContainerModule, AdsHeaderModule, AdsHorizontalNavBarComponent, AdsHorizontalNavBarModule, AdsHorizontalStepperComponent, AdsHorizontalStepperModule, AdsIconButtonComponent, AdsIconButtonModule, AdsIconHoverComponent, AdsIconHoverModule, AdsInputComponent, AdsInputDropdownComponent, AdsInputDropdownModule, AdsInputModule, AdsInternationalPhoneFieldComponent, AdsInternationalPhoneFieldModule, AdsLinkButtonComponent, AdsLinkButtonModule, AdsMainMenuComponent, AdsMainMenuModule, AdsModalComponent, AdsModalModule, AdsMultiSelectDropdownComponent, AdsMultiSelectDropdownModule, AdsNavMenuComponent, AdsNavMenuModule, AdsNavigationCollapseHandleComponent, AdsNavigationCollapseHandleModule, AdsNavigationComponent, AdsNavigationHeaderComponent, AdsNavigationHeaderModule, AdsNavigationItemComponent, AdsNavigationItemModule, AdsNavigationItemsContainerComponent, AdsNavigationItemsContainerModule, AdsNavigationModule, AdsNumericBadgeComponent, AdsNumericBadgeModule, AdsNumericStepperComponent, AdsNumericStepperModule, AdsOrgDisplayTextComponent, AdsOrgDisplayTextModule, AdsPeakEssentialsLogoComponent, AdsPeakEssentialsLogoModule, AdsPeakMarketplaceLogoComponent, AdsPeakMarketplaceLogoModule, AdsPeakOrderManagementLogoComponent, AdsPeakOrderManagementLogoModule, AdsPhoneFieldComponent, AdsPhoneFieldModule, AdsPilotPayLogoComponent, AdsPilotPayLogoModule, AdsPrimaryLogoComponent, AdsPrimaryLogoModule, AdsProgressBarComponent, AdsProgressBarModule, AdsProgressIndicatorSpinnerComponent, AdsProgressIndicatorSpinnerModule, AdsProgressSpinnerComponent, AdsProgressSpinnerModule, AdsProgressStepperComponent, AdsProgressStepperModule, AdsRadioButtonComponent, AdsRadioButtonModule, AdsScmsLogoComponent, AdsScmsLogoModule, AdsScmsSideNavBarComponent, AdsScmsSideNavBarModule, AdsSearchDropdownComponent, AdsSearchDropdownModule, AdsSearchInputComponent, AdsSearchInputModule, AdsShellLayoutModule, AdsSideNavBarComponent, AdsSideNavBarModule, AdsSlideToggle, AdsSlideToggleComponent, AdsSliderComponent, AdsSliderModule, AdsSnackbarComponent, AdsSnackbarModule, AdsSplashPageComponent, AdsSplashPageModule, AdsStepperComponent, AdsStepperModule, AdsTableComponent, AdsTableModule, AdsTabsComponent, AdsTabsModule, AdsTagComponent, AdsTagContainerComponent, AdsTagContainerModule, AdsTagModule, AdsTextareaComponent, AdsTextareaModule, AdsTimeFieldComponent, AdsTimeFieldModule, AdsTimepickerComponent, AdsTimepickerModule, AdsVerticalSideNavigationStepperComponent, AdsVerticalSideNavigationStepperModule, AdsWizardStepperComponent, AdsWizardStepperModule, AscentCardComponent, AscentCardModule, BadgeColor, Colors, CustomDatetimeAdapter, DividerComponent, ErrorPageDefault, HorizontalStepStatus, MainMenuService, ModalActionType, ModalPanelClass, PanelClass, ShellLayoutComponent, SpinnerSize, StepStatus, TableBreakpoint, ViewportService, WindowService, WizardStepStatus, provideAdsUi };
|
|
9142
9436
|
//# sourceMappingURL=ascentgl-ads-ui.mjs.map
|